*,*::before,*::after{box-sizing:border-box}html,body{margin:0;padding:0;font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;background:#f4f5fb;color:#1f2330;font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}a{color:#6366f1;text-decoration:none}a:hover{color:#4f46e5}h1,h2,h3,h4{margin:0;font-weight:600;color:#1f2330}h1{font-size:1.5rem}h2{font-size:1.125rem}h3{font-size:1rem}p{margin:0}table{width:100%;border-collapse:collapse}button{font-family:inherit;cursor:pointer;border:none;background:none}.text-right{text-align:right}.text-center{text-align:center}.topbar{display:flex;justify-content:space-between;align-items:center;padding:0 1.5rem;height:64px;background:#fff;border-bottom:1px solid #e4e7ee;box-shadow:0 1px 2px rgba(15,23,42,.04);position:sticky;top:0;z-index:10}.topbar__brand{display:flex;align-items:center;gap:.625rem;color:#1f2330}.topbar__brand strong{font-size:.9375rem}.topbar__logo{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;background:#6366f1;color:#fff;border-radius:6px;font-weight:700;font-size:.75rem;letter-spacing:.05em}.topbar__nav{display:flex;align-items:center;gap:1rem}.topbar__user{font-size:.875rem;color:#6b7280}.topbar__logout{margin:0}.layout{max-width:1200px;margin:0 auto;padding:2rem 1.5rem 4rem}.page-header{margin-bottom:1.75rem;display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;flex-wrap:wrap}.page-header__subtitle{color:#6b7280;font-size:.875rem;margin-top:.25rem}.month-picker{display:flex;align-items:center;gap:.625rem;background:#fff;border:1px solid #e4e7ee;border-radius:6px;padding:.375rem .75rem;box-shadow:0 1px 2px rgba(15,23,42,.04)}.month-picker__label{font-size:.8125rem;color:#6b7280;font-weight:500}.month-picker input[type=month]{border:none;background:rgba(0,0,0,0);font-family:inherit;font-size:.875rem;color:#1f2330;padding:.25rem 0}.month-picker input[type=month]:focus{outline:none}.grid{display:grid;gap:1.5rem}.grid--2{grid-template-columns:1fr 1fr}@media(max-width: 900px){.grid--2{grid-template-columns:1fr}}.grid--3{grid-template-columns:repeat(3, 1fr)}@media(max-width: 1024px){.grid--3{grid-template-columns:repeat(2, 1fr)}}@media(max-width: 720px){.grid--3{grid-template-columns:1fr}}.grid--sales{margin-bottom:1.5rem}.btn{display:inline-flex;align-items:center;justify-content:center;padding:.625rem 1.125rem;border-radius:6px;font-weight:500;font-size:.875rem;transition:background .15s ease,color .15s ease,box-shadow .15s ease}.btn--primary{background:#6366f1;color:#fff}.btn--primary:hover{background:#4f46e5}.btn--ghost{background:rgba(0,0,0,0);color:#6b7280}.btn--ghost:hover{background:rgba(15,23,42,.04);color:#1f2330}.btn--block{width:100%}.form{display:flex;flex-direction:column;gap:1rem}.form__field{display:flex;flex-direction:column;gap:.375rem}.form__label{font-size:.8125rem;color:#6b7280;font-weight:500}.form input[type=email],.form input[type=password],.form input[type=text]{padding:.625rem .875rem;border:1px solid #e4e7ee;border-radius:6px;font-size:.9375rem;font-family:inherit;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.form input[type=email]:focus,.form input[type=password]:focus,.form input[type=text]:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px rgba(99,102,241,.1)}.alert{padding:.75rem 1rem;border-radius:6px;font-size:.875rem}.alert--error{background:rgba(220,38,38,.12);color:#dc2626}.alert--success{background:rgba(22,163,74,.12);color:#16a34a}.card{background:#fff;border-radius:12px;box-shadow:0 1px 2px rgba(15,23,42,.04);border:1px solid #e4e7ee;margin-bottom:1.5rem}.card__header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid #e4e7ee}.card__header h2{font-size:1rem}.card__hint{color:#9ca3af;font-size:.8125rem}.card__body{padding:1.5rem}.table th,.table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid #e4e7ee;font-size:.875rem}.table th{background:#fbfbfd;font-weight:600;color:#6b7280;text-transform:uppercase;font-size:.75rem;letter-spacing:.05em}.table tbody tr:last-child td{border-bottom:none}.table tbody tr:hover{background:rgba(99,102,241,.03)}.cell-primary{font-weight:500;color:#1f2330}.cell-secondary{font-size:.75rem;color:#9ca3af;margin-top:2px}.empty{color:#6b7280;text-align:center;padding:1.5rem 0;font-size:.875rem}.page-login{background:linear-gradient(135deg, #eef2ff 0%, #f4f5fb 60%, #fff7ed 100%);min-height:100vh}.page-login .layout{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem 1.5rem;max-width:none}.login{width:100%;max-width:420px}.login__card{background:#fff;border-radius:16px;padding:2.5rem;box-shadow:0 12px 32px rgba(15,23,42,.08);border:1px solid #e4e7ee}.login__brand{text-align:center;margin-bottom:1.75rem}.login__brand h1{margin:1rem 0 .5rem;font-size:1.375rem}.login__brand p{color:#6b7280;font-size:.875rem}.login__logo{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;background:#6366f1;color:#fff;border-radius:12px;font-weight:700;letter-spacing:.05em;font-size:1rem}.page-error .layout{min-height:calc(100vh - 0px);display:flex;align-items:center;justify-content:center}.error-page{text-align:center}.error-page h1{font-size:4rem;color:#9ca3af;margin-bottom:.5rem}.error-page p{margin-bottom:1.5rem;color:#6b7280}.section{margin-bottom:1.75rem}.section__header{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:.875rem}.section__header h2{font-size:1rem}.section__hint{color:#9ca3af;font-size:.8125rem}.section__hint code{background:#fbfbfd;border:1px solid #e4e7ee;border-radius:4px;padding:.05rem .375rem;font-size:.75rem;color:#6b7280}.kpis{display:grid;grid-template-columns:repeat(4, 1fr);gap:1rem}@media(max-width: 1024px){.kpis{grid-template-columns:repeat(2, 1fr)}}@media(max-width: 600px){.kpis{grid-template-columns:1fr}}.kpi{background:#fff;border:1px solid #e4e7ee;border-radius:12px;padding:1.25rem 1.375rem;box-shadow:0 1px 2px rgba(15,23,42,.04);display:flex;flex-direction:column;gap:.5rem}.kpi__label{font-size:.8125rem;color:#6b7280;font-weight:500}.kpi__value{font-size:1.375rem;font-weight:600;color:#1f2330}.kpi__hint{font-size:.75rem;color:#9ca3af}.kpi__delta{display:inline-flex;align-items:center;gap:.25rem;font-size:.75rem;font-weight:500;padding:.125rem .5rem;border-radius:999px;align-self:flex-start}.kpi__delta--up{background:rgba(22,163,74,.12);color:#16a34a}.kpi__delta--down{background:rgba(220,38,38,.12);color:#dc2626}.kpi__delta--neutral{background:rgba(0,0,0,.04);color:#6b7280}.sales-card{display:flex;flex-direction:column}.sales-card__body{display:flex;flex-direction:column;gap:1rem;flex:1}.sales-card__kpi{display:flex;flex-direction:column;gap:.375rem}.sales-card__value{font-size:1.5rem;font-weight:600}.sales-card__hint{font-size:.75rem;color:#9ca3af}.sales-card__chart{position:relative;height:180px}.sales-card__chart--donut{height:200px}.sales-legend{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.375rem}.sales-legend--row{flex-direction:row;flex-wrap:wrap;gap:.75rem 1.25rem}.sales-legend li{display:flex;align-items:center;gap:.5rem;font-size:.8125rem;color:#6b7280}.sales-legend__swatch{width:10px;height:10px;border-radius:2px;flex-shrink:0}.sales-legend__label{font-weight:500;color:#1f2330}.sales-legend__value{margin-left:auto;color:#6b7280;font-variant-numeric:tabular-nums}.sync-list{list-style:none;margin:0;padding:0}.sync-list--grid{display:grid;grid-template-columns:repeat(2, 1fr);gap:0 1.5rem}@media(max-width: 768px){.sync-list--grid{grid-template-columns:1fr}}.sync-list__item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;border-bottom:1px solid #e4e7ee;gap:.75rem}.sync-list__item:last-child{border-bottom:none}.sync-list__state{font-size:.75rem;font-weight:500;padding:.25rem .625rem;border-radius:999px}.sync-list__state--ok{background:rgba(22,163,74,.12);color:#16a34a}.sync-list__state--warn{background:rgba(217,119,6,.12);color:#d97706}.sync-list__state--bad{background:rgba(220,38,38,.12);color:#dc2626}.sync-list__state--unknown{background:rgba(0,0,0,.04);color:#6b7280}
