:root{
  color-scheme:light;
  --primary:#2563eb;
  --primary-dark:#1d4ed8;
  --sidebar-top:#082a56;
  --sidebar-bottom:#0b356e;
  --canvas:#f3f7fc;
  --surface:#fff;
  --ink:#12213b;
  --muted:#66758e;
  --line:#dce5f1;
  --green:#15966b;
  --green-soft:#e8f7f1;
  --amber:#b96b07;
  --amber-soft:#fff3d9;
  --purple:#7655dc;
  --purple-soft:#f1edff;
  --shadow:0 14px 38px rgba(31,62,104,.08);
  --shadow-lg:0 18px 48px rgba(28,74,150,.16);
  font-family:"Roboto",Arial,sans-serif;
}
*{box-sizing:border-box}
[data-revenue-view][hidden]{display:none!important}
html{scroll-behavior:smooth}
body{margin:0;min-width:320px;min-height:100vh;color:var(--ink);background:var(--canvas)}
button,input,select{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid rgba(37,99,235,.2);outline-offset:2px}
a{color:inherit;text-decoration:none}
svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.is-loading .app-shell{visibility:hidden}
.loading-screen{position:fixed;inset:0;z-index:100;display:grid;place-content:center;justify-items:center;gap:8px;color:var(--muted);background:var(--canvas)}
body:not(.is-loading) .loading-screen{display:none}
.brand-fallback[hidden],.loading-screen img[hidden],.loader-mark[hidden]{display:none!important}
.loading-screen img{width:62px;height:62px;object-fit:contain;margin-bottom:4px}
.loading-screen strong{color:var(--ink);font-size:13px}
.loading-screen small{font-size:10px}
.loader-mark{width:52px;height:52px;display:grid;place-items:center;margin-bottom:4px;border-radius:16px;color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary-dark));box-shadow:0 12px 30px rgba(37,99,235,.2);font-size:15px;font-weight:900;animation:pulse 1.2s ease-in-out infinite}
@keyframes pulse{50%{transform:translateY(-3px)}}

.app-shell{min-height:100vh}
.sidebar{position:fixed;inset:0 auto 0 0;z-index:40;width:252px;padding:22px 16px;display:flex;flex-direction:column;justify-content:space-between;color:#fff;background:radial-gradient(circle at 20% 8%,rgba(65,142,255,.27),transparent 28%),linear-gradient(180deg,var(--sidebar-top),var(--sidebar-bottom));box-shadow:12px 0 36px rgba(12,42,78,.08);transition:transform .22s ease}
.brand{height:80px;padding:0 8px 21px;overflow:hidden;display:flex;align-items:center;border-bottom:1px solid rgba(255,255,255,.13)}
.brand img{display:block;width:100%;max-width:190px;height:58px;object-fit:contain;object-position:left center}
.brand-fallback{display:flex;align-items:center;gap:10px}
.brand-fallback strong{font-size:25px;letter-spacing:-.04em}
.brand-symbol{width:44px;height:44px;display:grid;place-items:center}
.brand-symbol svg{width:40px;height:40px;stroke-width:1.5}
.workspace-label{margin:24px 12px 8px;color:#91afd6;font-size:10px;font-weight:800;letter-spacing:.12em}
.side-nav{display:grid;gap:5px}
.nav-item{min-height:45px;padding:10px 12px;display:flex;align-items:center;gap:11px;border-radius:11px;color:#d7e8ff;font-size:13px;font-weight:650;transition:.16s ease}
.nav-item:hover{background:rgba(255,255,255,.08)}
.nav-item.is-active{color:#fff;background:linear-gradient(90deg,var(--primary-dark),var(--primary));box-shadow:0 8px 18px rgba(5,26,55,.2)}
.nav-icon{width:24px;height:24px;display:grid;place-items:center;flex:0 0 auto;border:1px solid rgba(255,255,255,.22);border-radius:7px}
.nav-icon svg{width:14px;height:14px}
.sidebar-footer{display:grid;gap:14px;padding:14px;border:1px solid rgba(255,255,255,.13);border-radius:14px;background:rgba(255,255,255,.06)}
.sidebar-footer a{font-size:11px;font-weight:700}
.sidebar-footer p{margin:0;color:#a9c6ec;font-size:9px;line-height:1.5}
.sidebar-footer p span{display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:#54e2a4;box-shadow:0 0 0 5px rgba(84,226,164,.14)}

.main-column{margin-left:252px;min-width:0}
.topbar{position:sticky;top:0;z-index:30;height:76px;padding:0 30px;display:flex;align-items:center;border-bottom:1px solid rgba(220,229,241,.92);background:rgba(255,255,255,.92);backdrop-filter:blur(16px)}
.breadcrumb{display:flex;gap:9px;color:#8b99ad;font-size:11px}
.breadcrumb span::after{content:'/';margin-left:9px;color:#bcc7d6}
.breadcrumb strong{color:var(--ink)}
.topbar-actions{margin-left:auto;display:flex;align-items:center;gap:10px}
.avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:#fff;background:linear-gradient(135deg,var(--sidebar-top),#3475d4);font-size:12px;font-weight:800}
.user-copy{min-width:130px}
.user-copy strong,.user-copy small{display:block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.user-copy strong{font-size:12px}
.user-copy small{margin-top:3px;color:var(--muted);font-size:10px}
.text-button{border:0;color:var(--primary);background:transparent;font-size:10px;font-weight:800;cursor:pointer}
.icon-button{display:none;width:42px;height:42px;border:1px solid var(--line);border-radius:11px;color:var(--ink);background:#fff;cursor:pointer}
.icon-button svg{width:19px;height:19px}

main{width:min(1500px,100%);margin:0 auto;padding:30px 30px 64px}
.hero{position:relative;min-height:220px;padding:34px 38px;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:30px;border-radius:24px;color:#fff;background:radial-gradient(circle at 88% 12%,rgba(71,157,255,.4),transparent 27%),linear-gradient(112deg,var(--sidebar-top),var(--sidebar-bottom) 62%,var(--primary) 120%);box-shadow:var(--shadow-lg)}
.hero::after{content:'';position:absolute;width:260px;height:260px;right:-78px;bottom:-160px;border:1px solid rgba(255,255,255,.2);border-radius:50%;box-shadow:0 0 0 40px rgba(255,255,255,.04),0 0 0 80px rgba(255,255,255,.025)}
.hero>*{position:relative;z-index:1}
.hero-copy{max-width:780px}
.eyebrow{margin:0 0 9px;color:#9fc8ff;font-size:10px;font-weight:850;letter-spacing:.13em}
.eyebrow.dark{color:var(--primary)}
.hero h1{margin:0;font-size:clamp(34px,4vw,48px);line-height:1.04;letter-spacing:-.045em}
.hero-copy>p:last-child{max-width:760px;margin:14px 0 0;color:#d9e8ff;font-size:13px;line-height:1.7}
.hero-side{width:280px;display:grid;gap:10px;flex:0 0 auto}
.hero-status,.hero-action{border:1px solid rgba(255,255,255,.2);border-radius:16px;background:rgba(255,255,255,.1);backdrop-filter:blur(8px)}
.hero-status{padding:14px 15px;display:flex;align-items:center;gap:10px}
.status-dot{width:10px;height:10px;flex:0 0 auto;border-radius:50%;background:#62e9aa;box-shadow:0 0 0 5px rgba(98,233,170,.13)}
.hero-status strong,.hero-status small{display:block}
.hero-status strong{font-size:11px}
.hero-status small{margin-top:4px;color:#cfe1f8;font-size:8.5px}
.hero-action{min-height:66px;padding:10px 12px;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;color:#fff;text-align:left;cursor:pointer;transition:.16s ease}
.hero-action:hover{transform:translateY(-2px);background:rgba(255,255,255,.16)}
.hero-action>span{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;color:#8ff0c5;background:rgba(255,255,255,.12)}
.hero-action svg{width:20px;height:20px}
.hero-action strong,.hero-action small{display:block}
.hero-action strong{font-size:11px}
.hero-action small{margin-top:4px;color:#cfe1f8;font-size:8px}
.hero-action b{font-size:15px}

.workspace-heading{margin-top:24px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.report-period-context{font-variant-numeric:tabular-nums;color:var(--muted);font-size:11px;line-height:1.6}
.workspace-heading h2{margin:0;font-size:24px;letter-spacing:-.03em}
.workspace-heading>div:first-child>p:last-child{margin:7px 0 0;color:var(--muted);font-size:10px}
.filters{display:flex;gap:9px}
.filter-control{min-height:50px;display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(37,65,101,.04)}
.filter-select{min-width:260px;padding:0 12px}
.period-control{min-width:165px;padding:0 13px}
.filter-icon{width:30px;height:30px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px;color:var(--primary);background:#edf3ff}
.filter-icon svg{width:15px;height:15px}
.filter-copy{min-width:0;display:grid;gap:2px;flex:1}
.filter-copy small{color:#8997aa;font-size:7.5px;font-weight:750;text-transform:uppercase;letter-spacing:.04em}
.filter-copy strong{font-size:9.5px}
.filter-copy select{width:100%;border:0;outline:0;color:#344967;background:transparent;font-size:9.5px;font-weight:750;appearance:none;cursor:pointer}
.filter-chevron{color:#8493a8;font-size:12px}
.date-range-filter{position:relative;min-width:210px}
.date-range-trigger{width:100%;min-height:50px;padding:6px 12px;display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:12px;color:#354965;background:#fff;box-shadow:0 4px 14px rgba(37,65,101,.04);cursor:pointer;text-align:left}
.date-range-trigger:hover,.date-range-trigger[aria-expanded="true"]{border-color:#b8c9df;box-shadow:0 0 0 2px rgba(37,99,235,.06)}
.date-range-copy{min-width:0;display:grid;gap:2px;flex:1}
.date-range-copy small{color:#8997aa;font-size:7.5px;font-weight:750;text-transform:uppercase;letter-spacing:.04em}
.date-range-copy strong{overflow:hidden;color:#344967;font-size:9.5px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}
.date-range-popover{position:absolute;z-index:90;top:calc(100% + 8px);right:0;width:min(760px,calc(100vw - 40px));display:grid;grid-template-columns:150px minmax(0,1fr);overflow:hidden;border:1px solid #d8dee8;border-radius:14px;background:#fff;box-shadow:0 18px 48px rgba(31,62,104,.18)}
.date-range-popover[hidden]{display:none}
.date-range-popover.opens-up{top:auto;bottom:calc(100% + 8px)}
.date-range-presets{padding:10px;display:grid;align-content:start;gap:3px;border-right:1px solid #e4e8ee;background:#fff}
.date-range-presets button{padding:11px 12px;border:0;border-radius:10px;color:#44556d;background:transparent;text-align:left;font-size:10px;font-weight:750;cursor:pointer}
.date-range-presets button:hover,.date-range-presets button.is-active{color:#182335;background:#edf0f4}
.date-range-custom{min-width:0;display:grid;grid-template-rows:auto 1fr auto;background:#fff}
.date-range-inputs{padding:14px 14px 10px;display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr) 34px;align-items:center;gap:8px;border-bottom:1px solid #edf0f4}
.date-range-inputs input{width:100%;height:40px;padding:0 13px;border:1px solid #d6dbe3;border-radius:11px;color:#202b3a;background:#fff;font-size:10px;font-weight:600;box-shadow:0 1px 2px rgba(16,24,40,.03)}
.date-range-inputs>b{color:#707e91;text-align:center;font-size:15px;font-weight:500}
.date-range-clock{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#f1f2f4}
.date-range-clock svg{width:17px;height:17px}
.date-calendar-wrap{position:relative;padding:6px 16px 18px;display:grid;grid-template-columns:1fr 1fr;gap:22px;min-height:300px}
.date-calendar-month{min-width:0}
.date-calendar-title{height:38px;display:flex;align-items:center;justify-content:center;color:#161c26;font-size:12px;font-weight:800;text-transform:capitalize}
.date-calendar-weekdays,.date-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr)}
.date-calendar-weekdays{margin-bottom:4px}
.date-calendar-weekdays span{height:28px;display:grid;place-items:center;color:#667085;font-size:9px;font-weight:600}
.date-calendar-grid{row-gap:2px}
.date-calendar-blank{height:34px}
.date-calendar-day{position:relative;height:34px;padding:0;border:0;color:#172033;background:transparent;font-size:10px;font-weight:650;cursor:pointer}
.date-calendar-day>span{position:relative;z-index:2;width:31px;height:31px;margin:auto;display:grid;place-items:center;border-radius:9px}
.date-calendar-day:hover:not(:disabled)>span{background:#eef1f5}
.date-calendar-day.is-in-range,.date-calendar-day.is-start,.date-calendar-day.is-end{background:#f1f1f1}
.date-calendar-day.is-start>span,.date-calendar-day.is-end>span{color:#fff;background:#161616;font-weight:850}
.date-calendar-day.is-start{border-radius:9px 0 0 9px}
.date-calendar-day.is-end{border-radius:0 9px 9px 0}
.date-calendar-day.is-start.is-end{border-radius:9px}
.date-calendar-day.is-disabled{color:#b7bcc4;background:transparent;cursor:default}
.date-calendar-nav{position:absolute;z-index:3;top:10px;width:30px;height:30px;border:0;border-radius:8px;color:#4f5d70;background:#fff;font-size:23px;line-height:1;cursor:pointer}
.date-calendar-nav:hover{background:#f2f4f7}
.date-calendar-nav.is-prev{left:12px}
.date-calendar-nav.is-next{right:12px}
.date-range-actions{padding:12px 14px;display:flex;justify-content:flex-end;gap:9px;border-top:1px solid #e8ebf0}
.date-range-cancel,.date-range-apply{min-width:76px;height:36px;padding:0 14px;border-radius:18px;font-size:9px;font-weight:800;cursor:pointer}
.date-range-cancel{border:0;color:#333b48;background:#ededed}
.date-range-apply{border:0;color:#fff;background:var(--primary)}
.date-range-apply:disabled{color:#a8adb5;background:#e5e7eb;cursor:not-allowed}

.kpi-grid{margin-top:14px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.kpi-card{min-height:108px;padding:17px 18px 15px;border:1px solid #dfe6ef;border-radius:16px;background:#fff;box-shadow:0 4px 16px rgba(31,62,104,.045)}
.kpi-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.kpi-card-head>span:first-child{color:#58677c;font-size:9px;font-weight:750}
.kpi-card>strong{display:block;margin:10px 0 6px;color:#101828;font-size:27px;line-height:1;letter-spacing:-.035em}
.kpi-card>small{display:block;overflow:hidden;color:#8a98aa;font-size:8px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}
.kpi-change{min-width:44px;padding:4px 7px;border-radius:8px;text-align:center;font-size:8px;font-weight:850;white-space:nowrap}
.kpi-change.is-positive{color:#0c8a5f;background:#e8f7f1}
.kpi-change.is-negative{color:#c63f4d;background:#fff0f2}
.kpi-change.is-neutral{color:#718096;background:#f1f4f8}

.content-grid{display:block;margin-top:14px}
.panel{border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--shadow)}
.chart-panel{overflow:hidden}
.panel-heading{padding:18px 20px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid #edf1f6}
.panel-heading h2{margin:0;font-size:17px;letter-spacing:-.02em}
.panel-heading p:last-child{margin:5px 0 0;color:var(--muted);font-size:9px;line-height:1.5}
.panel-heading .eyebrow{margin-bottom:5px}
.chart-heading{min-height:76px;align-items:center;padding:16px 18px;border-bottom:0}
.chart-controls{display:flex;align-items:center;gap:8px}
.chart-control{height:36px;min-width:132px;padding:0 10px;display:flex;align-items:center;gap:7px;border:1px solid #dce4ef;border-radius:10px;background:#fff;box-shadow:0 2px 7px rgba(31,62,104,.035)}
.chart-control.is-period{min-width:112px}
.chart-control-icon{width:22px;height:22px;display:grid;place-items:center;flex:0 0 auto;border-radius:7px;color:var(--primary);background:#edf3ff}
.chart-control-icon svg{width:13px;height:13px}
.chart-control select{min-width:0;flex:1;border:0;outline:0;color:#344967;background:transparent;font-size:8.5px;font-weight:800;appearance:none;cursor:pointer}
.chart-control-chevron{color:#8290a3;font-size:11px}

.chart-empty{position:relative;height:258px;overflow:hidden;padding:0;background:#fff}
.chart-empty svg{position:absolute;inset:2px 14px 38px;width:calc(100% - 28px);height:calc(100% - 40px);opacity:1;touch-action:none}
.chart-grid-line{stroke:#e4eaf2;stroke-width:1;stroke-dasharray:3 4;vector-effect:non-scaling-stroke}
.chart-axis-line{stroke:#cfd8e4;stroke-width:1;vector-effect:non-scaling-stroke}
.chart-y-label,.chart-x-label,.chart-axis-title{fill:#758399;stroke:none;font-family:"Roboto",Arial,sans-serif}
.chart-y-label{font-size:8px}
.chart-x-label{font-size:7.5px}
.chart-axis-title{font-size:7.8px;font-weight:700}
.chart-axis-title-right{font-weight:700}
.store-line{fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
.store-revenue-line{stroke-width:1.05}
.store-orders-line{stroke-width:.72;stroke-dasharray:3 4;opacity:.20}
.chart-hover-line{stroke:#8f9bab;stroke-width:1;vector-effect:non-scaling-stroke}
.chart-hover-line[hidden]{display:none}

.chart-store-legend{position:absolute;right:18px;bottom:7px;left:18px;z-index:3;min-height:25px;display:flex;align-items:center;justify-content:center;gap:14px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
.chart-store-legend::-webkit-scrollbar{display:none}
.chart-store-legend-item{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;color:#758399;font-size:7px;font-weight:650}
.chart-store-legend-item i{width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--store-color)}

.chart-tooltip{position:absolute;z-index:7;max-height:205px;overflow:auto;padding:10px 11px;border-radius:7px;color:#fff;background:#202124;box-shadow:0 12px 28px rgba(0,0,0,.22);pointer-events:none;font-size:7.6px}
.chart-tooltip[hidden]{display:none}
.chart-tooltip>strong{display:block;margin-bottom:7px;font-size:9px}
.chart-tooltip>small{display:block;color:#c9ced5;font-size:7px}
.chart-tooltip-store{padding:4px 0}
.chart-tooltip-name{display:flex;align-items:center;gap:5px;color:#f6f7f9;font-size:7.5px;font-weight:650}
.chart-tooltip-name i{width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--store-color)}
.chart-tooltip-value{display:block;margin-top:2px;padding-left:11px;color:#fff;font-size:7.6px;font-weight:750}
.chart-tooltip-value em{color:#d0d5dc;font-style:normal;font-weight:550}

.empty-copy{position:relative;z-index:2;display:grid;width:fit-content;min-width:220px;gap:4px;margin:76px auto 0;padding:11px 16px;border:1px solid #dfe7f2;border-radius:12px;text-align:center;background:rgba(255,255,255,.95);box-shadow:0 8px 22px rgba(31,62,104,.06)}
.empty-icon{width:34px;height:34px;display:grid;place-items:center;margin:0 auto 3px;border-radius:10px;color:var(--primary);background:#eaf1ff}
.empty-icon svg{width:18px;height:18px}
.empty-copy strong{font-size:10px}
.empty-copy>span:last-child{color:var(--muted);font-size:8px}
.chart-empty.has-data .empty-copy{display:none}

.lower-grid{display:block;margin-top:14px}
.table-panel{scroll-margin-top:94px}
.link-button{padding:0;border:0;color:var(--primary);background:transparent;font-size:8px;font-weight:800;cursor:pointer}
.table-empty{display:grid;min-height:210px;place-content:center;justify-items:center;color:var(--muted);text-align:center}
.table-empty>span{width:42px;height:42px;display:grid;place-items:center;margin-bottom:10px;border-radius:12px;color:var(--primary);background:#eaf1ff}
.table-empty>span svg{width:19px;height:19px}
.table-empty strong{color:#42556f;font-size:10px}
.table-empty p{margin:5px 0 0;font-size:8px}
.store-performance{padding:4px 20px 16px}
.store-performance-row{display:grid;grid-template-columns:minmax(180px,1.4fr) repeat(4,minmax(100px,.7fr));gap:12px;align-items:center;padding:14px 2px;border-bottom:1px solid #edf1f6}
.store-performance-row:last-child{border-bottom:0}
.store-performance-store strong,.store-performance-store small{display:block}
.store-performance-store strong{color:#263a57;font-size:10px}
.store-performance-store small{margin-top:4px;color:#8291a6;font-size:8px}
.store-performance-metric small,.store-performance-metric strong{display:block}
.store-performance-metric small{color:#8b99ac;font-size:7px;text-transform:uppercase;letter-spacing:.04em}
.store-performance-metric strong{margin-top:4px;color:#31445f;font-size:10px}

.reports-panel{scroll-margin-top:94px;margin-top:14px;padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.reports-copy{display:flex;align-items:center;gap:14px}
.reports-icon{width:46px;height:46px;display:grid;place-items:center;flex:0 0 auto;border-radius:13px;color:var(--primary);background:#eaf1ff}
.reports-icon svg{width:22px;height:22px}
.reports-copy h2{margin:0;font-size:15px}
.reports-copy p:last-child{margin:5px 0 0;color:var(--muted);font-size:9px;line-height:1.5}
.report-status{padding:7px 9px;border-radius:999px;color:#60718a;background:#eef2f7;font-size:8px;font-weight:800;white-space:nowrap}

.access-error{position:fixed;inset:0;z-index:120;display:grid;place-content:center;justify-items:center;padding:28px;text-align:center;background:var(--canvas)}
.access-error[hidden]{display:none}
.access-mark{width:50px;height:50px;display:grid;place-items:center;border-radius:15px;color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary-dark));font-weight:900}
.access-error h1{margin:20px 0 7px;font-size:24px}
.access-error p{margin:0;color:var(--muted);font-size:11px}
.access-error a{margin-top:20px;padding:11px 16px;border-radius:10px;color:#fff;background:var(--primary);font-size:9px;font-weight:800}
.toast{position:fixed;right:24px;bottom:24px;z-index:80;max-width:min(390px,calc(100vw - 32px));padding:13px 16px;border-radius:12px;color:#fff;background:#162944;box-shadow:0 18px 45px rgba(6,31,60,.24);opacity:0;transform:translateY(12px);pointer-events:none;transition:180ms ease;font-size:10px}
.toast.is-visible{opacity:1;transform:translateY(0)}

@media(max-width:1280px){
  .kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hero{align-items:flex-start}
  .hero-side{width:250px}
  .chart-empty{height:258px}
}
@media(max-width:900px){
  .sidebar{transform:translateX(-100%);box-shadow:25px 0 70px rgba(8,42,86,.22)}
  .sidebar.is-open{transform:translateX(0)}
  .main-column{margin-left:0}
  .menu-button{display:grid;margin-right:12px}
  .topbar{padding:0 18px}
  .breadcrumb{display:none}
  main{padding:22px 18px 50px}
  .hero{min-height:auto;padding:28px;flex-direction:column}
  .hero-side{width:100%;grid-template-columns:1fr 1fr}
  .workspace-heading{align-items:flex-start;flex-direction:column}
  .filters{width:100%}
  .filter-select,.period-control{flex:1}
}
@media(max-width:680px){
  .topbar-actions{gap:6px}
  .user-copy{display:none}
  .text-button{padding:8px 4px}
  .hero-side{grid-template-columns:1fr}
  .hero h1{font-size:32px}
  .kpi-grid{grid-template-columns:1fr}
  .filters{flex-direction:column}
  .filter-select,.period-control{width:100%;min-width:0}
  .panel-heading{align-items:flex-start;flex-direction:column}
  .chart-controls{width:100%;justify-content:flex-end}
  .chart-store-legend{justify-content:flex-start}
  .reports-panel{align-items:flex-start;flex-direction:column}
  .report-status{white-space:normal}
}

@media(max-width:900px){
  .date-range-filter{flex:1;min-width:210px}
  .date-range-popover{right:auto;left:0;width:min(700px,calc(100vw - 36px))}
  .store-performance-row{grid-template-columns:1.2fr 1fr 1fr}
  .store-performance-row .store-performance-metric:nth-last-child(-n+2){display:none}
}
@media(max-width:620px){
  .date-range-filter{width:100%;min-width:0}
  .date-range-popover{grid-template-columns:1fr;width:min(640px,calc(100vw - 36px))}
  .date-range-presets{grid-template-columns:1fr 1fr;border-right:0;border-bottom:1px solid #e6edf6}
  .date-calendar-wrap{grid-template-columns:1fr;gap:8px}
  .date-calendar-month:last-of-type{display:none}
  .date-range-inputs{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr)}
  .date-range-clock{display:none}
  .store-performance-row{grid-template-columns:1fr 1fr}
  .store-performance-store{grid-column:1/-1}
}


