:root{--bg:#f1efe9;--surface:#fff;--surface-soft:#f8f7f3;--ink:#0e3b40;--text:#1a1a1a;--muted:#9a9a9b;--line:#e4e1d8;--line-soft:#f1efe9;--teal:#3bc1ca;--teal-dark:#1f8389;--green:#2e9f6e;--red:#d14b4b;--orange:#ff6b4a;--shadow:0 2px 6px #0e3b400f, 0 1px 2px #0e3b400a;--shadow-strong:0 18px 48px #0e3b4029}*{box-sizing:border-box}html,body{background:var(--bg);min-height:100%;color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-family:Hanken Grotesk,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select{font:inherit}button{color:inherit}.app-shell{background:var(--bg);min-height:100vh}.topbar{z-index:60;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f6f4efe0;align-items:center;gap:18px;min-height:73px;padding:13px 28px;display:flex;position:sticky;top:0}.brand{cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0;display:flex}.brand img{width:30px;height:30px}.brand span,.pill-button span,.menu-row span,.period-row span{text-align:left;flex-direction:column;line-height:1.15;display:flex}.brand strong{color:var(--ink);font-family:Montserrat,Inter,sans-serif;font-size:16px;font-weight:800}.brand small{color:var(--muted);text-transform:uppercase;letter-spacing:.14em;font-size:9.5px;font-weight:600}.divider{background:var(--line);width:1px;height:30px}.topbar-spacer{flex:1}.switcher{position:relative}.pill-button{background:var(--surface);border:1px solid var(--line);cursor:pointer;border-radius:999px;align-items:center;gap:10px;min-height:40px;padding:7px 13px 7px 8px;display:flex;box-shadow:0 1px 2px #0e3b400d}.pill-button strong{white-space:nowrap;font-size:13.5px;font-weight:750}.pill-button small{color:var(--muted);white-space:nowrap;font-size:10.5px}.avatar,.brand-mark,.title-avatar{color:#fff;border-radius:50%;flex:none;justify-content:center;align-items:center;width:30px;height:30px;font-family:Montserrat,Inter,sans-serif;font-weight:800;display:inline-flex}.avatar.rounded{border-radius:10px;width:34px;height:34px}.popover{z-index:80;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-strong);border-radius:18px;padding:8px;animation:.18s cubic-bezier(.16,1,.3,1) fadeUp;position:absolute;top:52px}.client-menu{width:330px;left:0}.period-menu{width:320px;padding:0;right:0;overflow:hidden}.period-menu-custom{width:min(720px,100vw - 32px)}.period-layout{grid-template-columns:272px minmax(0,1fr);display:grid}.period-menu:not(.period-menu-custom) .period-layout{grid-template-columns:1fr}.period-sidebar{border-right:1px solid var(--line-soft);background:#fbfaf7;flex-direction:column;min-width:0;padding:8px;display:flex}.period-menu:not(.period-menu-custom) .period-sidebar{border-right:0}.period-option-list,.compare-options{flex-direction:column;gap:2px;display:flex}.period-row.active{background:#e8f7f8}.period-row.compact{padding:8px 10px}.compare-box{border-top:1px solid var(--line-soft);margin-top:8px;padding-top:8px}.compare-toggle-row{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;width:100%;padding:10px;display:flex}.compare-toggle-row:hover{background:#f2fafb}.compare-toggle-row>span:first-child{flex-direction:column;gap:2px;display:flex}.compare-toggle-row strong{color:var(--text);font-size:13.5px}.compare-toggle-row small{color:var(--muted);font-size:11px}.toggle-switch{background:#d9d6ce;border-radius:999px;flex:none;align-items:center;width:38px;height:22px;padding:3px;transition:background .18s;display:inline-flex}.toggle-switch span{background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .18s;box-shadow:0 1px 3px #0e3b4038}.toggle-switch.active{background:var(--teal)}.toggle-switch.active span{transform:translate(16px)}.period-actions{justify-content:flex-end;gap:8px;margin-top:auto;padding:10px 2px 2px;display:flex}.ghost-action,.apply-action{cursor:pointer;border-radius:999px;min-height:34px;padding:7px 13px;font-size:13px;font-weight:800}.ghost-action{border:1px solid var(--line);background:var(--surface);color:#4c4c4d}.apply-action{background:var(--teal);color:#fff;border:0;box-shadow:0 8px 18px #38c1ca3d}.custom-period-panel{background:var(--surface);padding:14px 16px 16px}.custom-date-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.date-field{flex-direction:column;gap:5px;min-width:0;display:flex}.date-field span,.calendar-subtitle{color:var(--muted);font-size:11px;font-weight:750}.date-field input{border:1px solid var(--line);background:var(--surface);width:100%;height:38px;color:var(--text);border-radius:10px;padding:0 10px}.calendar-subtitle{margin:12px 0 7px}.calendar-head{justify-content:space-between;align-items:center;margin:14px 0 10px;display:flex}.calendar-head strong{color:var(--ink);font-family:Montserrat,Inter,sans-serif;font-size:14px}.calendar-head button{color:#4f585a;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.calendar-head button:hover{border-color:var(--line);background:var(--surface-soft)}.calendar-weekdays,.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.calendar-weekdays{margin-bottom:5px}.calendar-weekdays span{text-align:center;color:var(--muted);font-size:10.5px;font-weight:750}.calendar-grid{gap:3px}.calendar-grid button{color:#3d4547;cursor:pointer;background:0 0;border:0;border-radius:10px;height:32px;font-size:12px}.calendar-grid button:hover{background:#f2fafb}.calendar-grid button.muted{color:#b6b2a9}.calendar-grid button.in-range{background:#e5f6f7}.calendar-grid button.range-start,.calendar-grid button.range-end{background:var(--teal-dark);color:#fff;font-weight:850}.search-box{color:var(--muted);align-items:center;gap:8px;padding:8px 10px 9px;display:flex}.search-box input{width:100%;color:var(--text);background:0 0;border:0;outline:0;font-size:14px}.menu-label,.panel-kicker,.eyebrow{color:var(--muted);letter-spacing:.12em;text-transform:uppercase;margin:0;font-size:11px;font-weight:650}.menu-label{padding:8px 10px 5px}.menu-scroll{max-height:300px;overflow:auto}.menu-row,.period-row{cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:11px;width:100%;padding:9px 10px;display:flex}.menu-row:hover,.period-row:hover{background:#f2fafb}.menu-row strong,.period-row strong{font-size:13.5px;font-weight:650}.menu-row small,.period-row small{color:var(--muted);font-size:11px}.menu-row em,.mover-row em,.share-row em{margin-left:auto;font-size:12px;font-style:normal;font-weight:800}.menu-icon{width:30px;height:30px;color:var(--teal);background:var(--ink);border-radius:9px;justify-content:center;align-items:center;display:inline-flex}.check{color:var(--teal-dark);margin-left:auto;font-weight:900}.round-button{border:1px solid var(--line);background:var(--surface);width:38px;height:38px;color:var(--teal-dark);cursor:pointer;border-radius:50%;justify-content:center;align-items:center;display:inline-flex;box-shadow:0 1px 2px #0e3b400d}.export-button,.primary-action{background:var(--teal);color:#fff;cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:10px 18px;font-size:13.5px;font-weight:800;text-decoration:none;display:inline-flex;box-shadow:0 8px 22px #38c1ca57}.export-button:disabled{opacity:.65}.click-catcher{z-index:55;background:0 0;border:0;position:fixed;inset:0}.page{max-width:1280px;margin:0 auto;padding:30px 28px 64px}.title-block{margin-bottom:24px}h1,h2{color:var(--ink);letter-spacing:0;margin:0;font-family:Montserrat,Inter,sans-serif}h1{font-size:34px;font-weight:850;line-height:1.1}h2{font-size:18px;font-weight:780}.overview-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px;display:grid}.overview-kpi,.panel,.kpi-card{background:var(--surface);box-shadow:var(--shadow);border-radius:22px}.overview-kpi{flex-direction:column;gap:11px;min-height:160px;padding:22px 24px;display:flex}.overview-kpi.dark{background:var(--ink)}.overview-kpi div{color:var(--muted);justify-content:space-between;align-items:center;display:flex}.overview-kpi.dark div,.overview-kpi.dark small{color:#9ee1e5}.overview-kpi span{text-transform:uppercase;letter-spacing:.1em;font-size:11.5px;font-weight:700}.overview-kpi strong{color:var(--ink);font-family:Montserrat,Inter,sans-serif;font-size:30px;font-weight:850;line-height:1.05}.overview-kpi.dark strong{color:#fff}.overview-kpi small{color:var(--muted);align-items:center;gap:8px;font-size:12px;display:flex}.positive{color:var(--green)!important}.negative{color:var(--red)!important}.overview-grid,.detail-grid,.bottom-grid{gap:18px;display:grid}.overview-grid{grid-template-columns:1.95fr 1fr}.detail-grid{grid-template-columns:1.85fr 1fr;margin-bottom:18px}.bottom-grid{grid-template-columns:1.55fr 1fr}.panel{padding:22px 24px}.panel-head{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.panel-head span{color:var(--muted);font-size:12px}.client-table-head,.client-row,.product-head,.product-row{align-items:center;gap:0 14px;display:grid}.client-table-head,.client-row{grid-template-columns:1.6fr .9fr .65fr .8fr 30px}.client-table-head,.product-head{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;border-bottom:1px solid var(--line-soft);padding-bottom:10px;font-size:11px;font-weight:700}.client-row{cursor:pointer;text-align:left;background:0 0;border:0;border-bottom:1px solid #f7f6f2;width:100%;padding:13px 0}.client-row:hover{background:linear-gradient(90deg,#f2fafbcc,#0000)}.client-cell{align-items:center;gap:11px;min-width:0;display:flex}.client-cell strong,.client-row>strong{color:var(--ink);font-family:Montserrat,Inter,sans-serif;font-size:14px}.client-cell span{flex-direction:column;min-width:0;line-height:1.2;display:flex}.client-cell small{text-overflow:ellipsis;color:var(--muted);white-space:nowrap;font-size:11.5px;overflow:hidden}.sparkline{width:80px;height:20px;margin-top:3px;display:block}.side-stack{flex-direction:column;gap:18px;display:flex}.dark-panel{background:var(--ink);color:#fff;box-shadow:0 8px 24px #0e3b402e}.dark-panel .panel-kicker{color:#6bd0d6;margin-bottom:16px}.mover-row{color:#fff;cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:12px;width:100%;padding:6px 0;display:flex}.mover-row span:not(.avatar){flex-direction:column;flex:1;min-width:0;line-height:1.25;display:flex}.mover-row small{color:#9ee1e5}.share-bar{border-radius:999px;height:14px;margin:12px 0 16px;display:flex;overflow:hidden}.share-row{align-items:center;gap:9px;margin-top:9px;font-size:13px;display:flex}.share-row>span{border-radius:3px;width:9px;height:9px}.share-row strong{flex:1;font-weight:500}.detail-title-row{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px;display:flex}.detail-title-row h1{align-items:center;gap:13px;display:flex}.title-avatar{border-radius:12px;width:42px;height:42px;font-size:18px}.filters{align-items:flex-end;gap:10px;display:flex}.filters label{flex-direction:column;gap:4px;display:flex}.filters label>span{color:var(--muted);font-size:11px;font-weight:700}.status-filter{z-index:35;position:relative}.filter-select-button{border:1px solid var(--line);background:var(--surface);color:#3a3a3b;cursor:pointer;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;min-width:126px;height:36px;padding:0 10px 0 13px;display:inline-flex;box-shadow:0 1px 2px #0e3b400a}.filter-select-button span{color:#3a3a3b;font-weight:650}.filter-select-button:hover,.filter-select-button[aria-expanded=true]{border-color:#cfd8d8;box-shadow:0 4px 12px #0e3b4014}.filter-menu{z-index:80;border:1px solid var(--line);min-width:160px;box-shadow:var(--shadow-strong);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff5;border-radius:14px;padding:6px;animation:.16s cubic-bezier(.16,1,.3,1) fadeUp;position:absolute;top:calc(100% + 7px);left:0}.filter-menu-row{color:#3a3a3b;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:36px;padding:8px 10px;font-weight:650;display:flex}.filter-menu-row:hover,.filter-menu-row.active{color:var(--ink);background:#e8f7f8}.local-click-catcher{z-index:70;background:0 0;border:0;position:fixed;inset:0}.segmented{border:1px solid var(--line);background:var(--surface);border-radius:10px;height:36px;display:flex;overflow:hidden}.segmented button{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0 12px;font-weight:700}.segmented .active{color:var(--teal-dark);background:#e6f7f8}.kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-bottom:18px;display:grid}.kpi-card{flex-direction:column;gap:9px;min-height:188px;padding:17px 18px 14px;display:flex}.kpi-top{color:var(--muted);justify-content:space-between;align-items:center;display:flex}.delta-pill{background:#e8f5ee;border-radius:999px;padding:3px 7px;font-size:11.5px;font-weight:800;display:inline-flex}.delta-pill.negative{background:#fbeaea}.kpi-card>span{color:#6e6e6f;font-size:11px;font-weight:700}.kpi-card strong{color:var(--ink);font-family:Montserrat,Inter,sans-serif;font-size:22px;line-height:1.1}.kpi-card small{color:var(--muted);font-size:11px}.kpi-card small b{color:#6e6e6f}.chart-panel h2{margin-top:6px;font-size:26px}.legend{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.legend span{color:#3a3a3b;align-items:center;gap:7px;font-size:12px;font-weight:650;display:inline-flex}.legend i{border-radius:2px;width:18px;height:3px}.legend .current{background:var(--teal)}.legend .previous{border-top:2px dashed #c5c1b6;height:0}.revenue-chart{width:100%;height:auto;display:block}.quality-panel{flex-direction:column;gap:16px;display:flex}.quality-meter{--quality:0%;background:radial-gradient(circle at center, #fff 54%, transparent 55%), conic-gradient(var(--teal) var(--quality), #f1efe9 0);border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:132px;height:132px;margin:4px auto;display:flex}.quality-meter strong{color:var(--ink);font-family:Montserrat,Inter,sans-serif;font-size:22px}.quality-meter span{color:var(--muted);font-size:11px}.state-note,.small-note,.error-note{border-top:1px solid var(--line-soft);color:#3a3a3b;margin:0;padding-top:13px;font-size:12.5px;line-height:1.4}.state-note.success{color:var(--green)}.state-note.warning,.error-note{color:var(--red)}.status-text,.muted-cell{color:var(--muted);font-size:12px;font-weight:700}.status-badge{border:1px solid var(--line);min-height:24px;color:var(--ink);background:#fff;border-radius:999px;align-items:center;padding:0 9px;font-size:11px;font-weight:800;display:inline-flex}.status-badge.fresh{color:var(--green);border-color:#2e9f6e52}.status-badge.stale,.status-badge.running{color:#9b6a10;border-color:#e0a23a61}.status-badge.failed,.status-badge.missing{color:var(--red);border-color:#9e2b1547}.product-head,.product-row{grid-template-columns:26px 1fr auto auto 64px}.product-row{border-bottom:1px solid #f7f6f2;min-height:43px;font-size:13px}.product-row strong{max-width:340px;color:var(--text);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.product-row span:first-child{color:var(--teal-dark);font-family:Montserrat,Inter,sans-serif;font-weight:800}.product-row span:nth-child(3){color:var(--ink);font-weight:800}.product-row em{text-align:right;font-style:normal;font-weight:800}.category-bars{flex-direction:column;gap:17px;display:flex}.category-row>div:first-child{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:6px;display:flex}.category-row strong{color:var(--text);font-size:13.5px}.category-row span{color:var(--ink);font-size:13px;font-weight:800}.category-row em{margin-left:8px;font-size:11.5px;font-style:normal}.bar-track{background:var(--line-soft);border-radius:999px;height:9px;overflow:hidden}.bar-track span{border-radius:999px;height:100%;display:block}.empty-state{min-height:170px;color:var(--muted);border:1px dashed var(--line);border-radius:16px;flex-direction:column;justify-content:center;gap:8px;padding:18px;display:flex}.empty-state strong{color:var(--ink)}.login-screen{place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{background:var(--surface);width:min(430px,100%);box-shadow:var(--shadow);border-radius:24px;padding:34px}.brand-mark{background:var(--teal-dark);width:46px;height:46px;margin-bottom:18px}.muted{color:var(--muted)}@keyframes fadeUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media (max-width:1050px){.overview-kpis,.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-grid,.detail-grid,.bottom-grid{grid-template-columns:1fr}}@media (max-width:760px){.topbar{flex-wrap:wrap;align-items:flex-start;gap:10px;padding:10px 14px}.divider,.round-button{display:none}.topbar-spacer{flex-basis:100%;order:2;height:0}.brand{flex:134px;min-width:0}.switcher{min-width:0}.switcher:first-of-type{flex:186px}.pill-button{max-width:100%}.period-switcher{flex:184px;order:3}.export-button{flex:none;order:4}.page{padding:22px 14px 48px}h1{overflow-wrap:anywhere;font-size:28px}.overview-kpis,.kpi-grid{grid-template-columns:1fr;overflow:visible}.overview-kpi,.kpi-card{width:100%;min-width:0}.detail-title-row,.filters{flex-direction:column;align-items:stretch}.filter-select-button{width:100%}.filter-menu{z-index:80;background:#fff;width:100%;min-width:0;margin-top:6px;position:relative;top:auto;left:auto}.client-table-head{display:none}.client-row{grid-template-columns:1fr auto;gap:8px}.client-row>span:nth-child(3),.client-row>span:nth-child(4),.product-head{display:none}.product-row{grid-template-columns:24px 1fr auto}.product-row span:nth-child(4),.product-row em{display:none}.client-menu,.period-menu{width:auto;max-height:calc(100vh - 92px);position:fixed;top:76px;left:12px;right:12px;overflow:auto}.period-layout{grid-template-columns:1fr}.period-sidebar{border-right:0;border-bottom:1px solid var(--line-soft)}.custom-date-grid{grid-template-columns:1fr}.period-actions{margin-top:8px}}
