/* Orthizen dashboard. Tokens, layout and the shared components come first; the Ads Manager, funnel and Users blocks follow.
   The sidebar is the Command Center look from the System Project: deep green with a soft top light, a darkening bottom, fine diagonal lines and grain. */
:root{--bg:#f4f1e8;--surface:#ffffff;--ink:#1c2420;--muted:#66706a;--line:#e6e2d8;--green:#1f4d3a;--primary:#1f4d3a;--primary-hover:#173d2e;--on-primary:#ffffff;--amber:#F5A623;--amber-dark:#E8940A;--amber-ink:#10201A;--tint:#eef3ec;--warn:#fbf1d9;--negative:#c0392b;--shadow:0 1px 2px rgba(20,30,25,.05),0 6px 20px rgba(20,30,25,.05);--sidebar:#0B3B2E;--cream:#F2EBD9;--sidebar-w:248px;color-scheme:light}
body.dark{--bg:#111a16;--surface:#182620;--ink:#eef1ea;--muted:#a4b0a8;--line:#2b3a32;--green:#85bfa1;--tint:#213229;--warn:#3d3624;--negative:#ff7b6b;--shadow:none;--primary:#1f4d3a;--primary-hover:#25604a;color-scheme:dark}
:root{--positive:#1f7a4d}body.dark{--positive:#6fd39a}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;line-height:1.45}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer;border:1px solid var(--line);border-radius:7px;background:var(--surface);padding:9px 13px}
button:hover{border-color:var(--green);background:var(--tint)}
button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--amber);outline-offset:3px}
button:disabled{opacity:.6;cursor:wait}
input,select{background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:9px;min-width:0;max-width:100%;color:var(--ink)}
h1{font-size:26px;font-weight:800;letter-spacing:-.5px;margin:0}
h2{font-size:19px;font-weight:800;letter-spacing:-.3px;margin:0}
h2[title],.cost-note[title],th[title]{cursor:help}.metric{cursor:pointer}
p{color:var(--muted);line-height:1.6;margin:7px 0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
[hidden]{display:none!important}

/* Sign-in */
.login{max-width:440px;margin:12vh auto;padding:35px;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}
.login .brand{font-size:28px;font-weight:800;letter-spacing:-.8px;color:var(--green)}
.login .brand b{color:var(--amber)}
.login .brand span{display:block;margin-top:8px;font-size:9.5px;font-weight:600;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted)}
.login h1{margin-top:42px;font-size:34px;letter-spacing:-1px}
.login label{display:block;margin:20px 0;font-size:12px}
.login input{width:100%;margin-top:8px}
.login p[role=alert]{color:#bd4c2e;font-size:12px}
.google-btn{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:24px;padding:11px 20px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font-weight:600;text-decoration:none}
.google-btn:hover{border-color:var(--green);background:var(--tint)}
.google-btn:focus-visible{outline:3px solid var(--amber);outline-offset:3px}
.google-btn svg{width:18px;height:18px;flex:none}
.login-or{display:flex;align-items:center;gap:12px;margin:22px 0 0;color:var(--muted);font-size:11px;letter-spacing:1.2px;text-transform:uppercase}
.login-or::before,.login-or::after{content:'';flex:1;border-top:1px solid var(--line)}
.primary{background:var(--primary);color:var(--on-primary);border:0;border-radius:999px;padding:12px 20px;font-weight:700;width:100%;margin-top:12px}
.primary:hover{background:var(--primary-hover);color:var(--on-primary)}
body.dark .login .brand{color:var(--ink)}

/* Sidebar */
.app-layout{display:flex;min-height:100vh}
.sidebar{position:sticky;top:0;align-self:flex-start;height:100vh;width:var(--sidebar-w);flex:0 0 var(--sidebar-w);display:flex;flex-direction:column;gap:8px;padding:24px 16px 16px;overflow-y:auto;overscroll-behavior:contain;color:var(--cream);background-color:var(--sidebar);background-image:radial-gradient(120% 90% at 50% 0%,rgba(255,255,255,.06) 0%,rgba(0,0,0,0) 45%,rgba(0,0,0,.28) 100%),repeating-linear-gradient(135deg,rgba(242,235,217,.028) 0 1px,transparent 1px 9px),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E")}
.side-brand{padding:4px 10px 18px;border-bottom:1px solid rgba(242,235,217,.12);margin-bottom:12px}
.brand-word{font-weight:800;font-size:24px;letter-spacing:-.5px;line-height:1.15;color:var(--cream)}
.brand-word b{color:var(--amber)}
.brand-tag{margin-top:6px;font-size:8.5px;font-weight:600;letter-spacing:.19em;color:rgba(242,235,217,.55);text-transform:uppercase}
.nav{display:flex;flex-direction:column;gap:18px}
.nav-group{display:flex;flex-direction:column;gap:3px}
.nav-label{margin:0;padding:0 14px 5px;font-size:10px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:rgba(242,235,217,.68)}
.sidebar-menu{display:none}
.nav button{display:flex;align-items:center;gap:11px;width:100%;padding:10px 14px;border:0;border-radius:999px;background:none;text-align:left;font-weight:500;font-size:13.5px;color:rgba(242,235,217,.66);transition:background .15s ease,color .15s ease}
.nav button svg,.side-status svg{width:17px;height:17px;flex:0 0 17px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.nav button:hover{background:rgba(242,235,217,.09);color:var(--cream)}
.nav button.selected{background:var(--amber);color:var(--amber-ink);font-weight:700}
.nav button:focus-visible,.side-status:focus-visible{outline:2px solid var(--amber);outline-offset:2px}
.marketing-nav{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 18px;padding:5px;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.marketing-nav button{padding:8px 12px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:13px;font-weight:600}
.marketing-nav button:hover,.marketing-nav button.selected{background:var(--tint);color:var(--ink)}
.marketing-nav button:focus-visible{outline:2px solid var(--primary);outline-offset:1px}
.side-foot{margin-top:auto;padding-top:12px}
.side-status{display:flex;align-items:center;gap:9px;width:100%;padding:12px 14px;border:1px solid rgba(242,235,217,.13);border-radius:14px;background:rgba(0,0,0,.22);color:var(--cream);font-size:11.5px;font-weight:600;text-align:left}
.side-status:hover{background:rgba(0,0,0,.32);border-color:rgba(242,235,217,.25);color:var(--cream)}
.side-status span{flex:1}
.dot{position:relative;flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#3DD97E}
.dot::after{content:'';position:absolute;inset:-4px;border-radius:50%;background:rgba(61,217,126,.35);animation:pulse 2s ease-out infinite}
.dot.warn{background:var(--amber)}.dot.warn::after{background:rgba(245,166,35,.35)}
.dot.bad{background:#ff6b5b}.dot.bad::after{background:rgba(255,107,91,.35)}
@keyframes pulse{0%{transform:scale(.4);opacity:.9}70%{transform:scale(1.4);opacity:0}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){.dot::after{animation:none}}

/* Page header and date controls */
main{flex:1;min-width:0;padding:28px 32px 56px}
.topbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}
.topbar .sub{margin-top:3px;font-size:13px;color:var(--muted)}
.controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.presets{display:flex;flex-wrap:wrap;padding:3px;border:1px solid var(--line);border-radius:999px;background:var(--surface);box-shadow:var(--shadow)}
.presets button{border:0;border-radius:999px;background:none;padding:8px 14px;font-size:12.5px;font-weight:600;color:var(--ink)}
.presets button:hover{background:var(--tint)}
.presets .selected{background:var(--amber);color:var(--amber-ink)}
#range-form{display:flex;align-items:center;gap:6px}
#range-form input{width:128px;padding:8px 12px;border-radius:999px;font-size:12px}
#range-form span{color:var(--muted)}
#range-form button{padding:8px 14px;border-radius:999px;font-size:12px}
.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:var(--primary);color:var(--on-primary)}
.icon-btn:hover{background:var(--primary-hover);color:var(--on-primary)}
.icon-btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#notice,#error,#marketing-status{margin-bottom:18px;padding:12px 16px;border-radius:10px;background:var(--warn);font-size:12.5px;line-height:1.6}
#notice:empty,#marketing-status:empty{display:none}
#notice div+div,#marketing-status div+div{margin-top:4px}
#error{color:#a43827}

/* Cards: one look on every page. A muted label, the figure, then the detail at the foot, so a row of cards lines up.
   Six-card rows sit in one line on wide screens and in two rows of three below that. */
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}
.overview-metrics,.metrics-6{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(min-width:1680px){.overview-metrics,.metrics-6{grid-template-columns:repeat(6,minmax(0,1fr))}}
.metric{display:flex;flex-direction:column;min-width:0;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--shadow);text-align:left;transition:border-color .15s ease}
button.metric:hover{border-color:var(--green);background:var(--surface)}
.metric span{display:block;font-size:12.5px;font-weight:600;line-height:1.3;color:var(--muted)}
.metric strong{display:block;margin-top:6px;font-size:clamp(22px,1.7vw,30px);font-weight:750;letter-spacing:-.6px;line-height:1.15;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.metric strong.negative{color:var(--negative)}.metric strong.positive{color:var(--positive)}
/* Daily: gross profit reads red below zero and green above it */
.daily td.neg{color:var(--negative);font-weight:600}.daily td.pos{color:var(--positive);font-weight:600}
.metric small{margin-top:auto;padding-top:10px;font-size:12px;line-height:1.4;color:var(--muted);font-variant-numeric:tabular-nums}
.metric small:empty{display:none}

/* Panels, chart, profit bridge and tables */
.analysis{display:grid;grid-template-columns:1.9fr 1fr;gap:20px;margin-bottom:22px}
.panel{min-width:0;padding:24px 26px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--shadow)}
.products,.daily,.refunds{margin-bottom:22px} .hours td.pos{color:var(--positive);font-weight:600} .pill-dispute{display:inline-block;padding:3px 7px;margin-right:6px;border-radius:20px;background:var(--warn);color:var(--negative);font-size:10px;font-weight:600} tr.secondary td{color:var(--muted)}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.section-head p{margin:4px 0 0;font-size:12px}
.legend{display:flex;gap:14px;font-size:11px;white-space:nowrap;color:var(--muted)}
.legend span::before{content:'';display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:var(--green)}
.legend .ads-dot::before{background:var(--amber)}
#chart{width:100%;min-height:244px} #hours-chart{width:100%;min-height:200px} #hours-chart svg{display:block;width:100%;height:auto} #hours-chart text{fill:var(--muted);font-size:10px} .hours table{font-size:12px} .hours td,.hours th{padding:9px 8px}
#chart svg{display:block;width:100%;height:auto}
#chart text{fill:var(--muted);font-size:10px}
.bridge h2{margin-bottom:12px}
dl{margin:0}
dl>div{display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-bottom:1px solid var(--line);font-size:12.5px}
dl>div.total{font-weight:700}
dl>div.excluded{color:var(--muted)}
/* Profit calculation: label, amount, then the share of total sales */
#bridge dt{flex:1}#bridge dd{font-variant-numeric:tabular-nums}#bridge dd.pct{min-width:58px;text-align:right;color:var(--muted)}#bridge div.total dd.pct{color:var(--ink)}#bridge dd.pct:empty{min-width:58px}
dd{margin:0;font-variant-numeric:tabular-nums}
.cost-note{margin-top:14px;font-size:11.5px;color:var(--muted)}
.cost-note:empty{display:none}
.table-wrap{overflow-x:auto}
table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12.5px;font-variant-numeric:tabular-nums}
th{padding:10px;border-bottom:1px solid var(--line);text-align:right;font-size:10px;font-weight:600;letter-spacing:.8px;text-transform:uppercase;color:var(--muted)}
td{padding:13px 10px;border-bottom:1px solid var(--line);text-align:right}
th:first-child,td:first-child{text-align:left}
td:first-child{max-width:350px;overflow:hidden;text-overflow:ellipsis}
tbody tr:last-child td{border-bottom:0}
tfoot td{font-weight:700;border-top:1px solid var(--line);border-bottom:0}
td button{padding:0;border:0;background:none;text-decoration:underline;text-underline-offset:4px}
td .secondary{display:block;max-width:280px;margin-top:4px;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:var(--muted)}
td.low{background:#fff1dc;color:#8a5200;font-weight:600}

/* Fulfillment triage */
#fulfillment-content{--f-blocked-bg:#fdf0ee;--f-blocked-ink:#972b23;--f-review-bg:#fff1d7;--f-review-ink:#714500}
body.dark #fulfillment-content{--f-blocked-bg:#392721;--f-blocked-ink:#ffa196;--f-review-bg:#3a3020;--f-review-ink:#ffd088}
#fulfillment-content > .panel{margin-bottom:20px}
.f-alerts:empty{display:none}
.f-alert{margin:0 0 10px;padding:10px 14px;border-radius:9px;background:var(--f-blocked-bg);color:var(--f-blocked-ink);font-weight:600}
.f-snapshot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.f-freshness{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;margin:0;font-size:12px;color:var(--muted)}
.f-freshness time small{display:inline;margin-left:5px}
.f-issues th,.f-issues td,.f-pipeline th,.f-pipeline td,#f-notice-rows td{text-align:left;vertical-align:top}
.f-issues td:first-child{border-left:3px solid transparent;white-space:nowrap}
.f-issues .f-row-blocked td:first-child{border-left-color:var(--f-blocked-ink)}
.f-issues .f-row-blocked td{background:var(--f-blocked-bg)}
.f-issues .f-row-review td:first-child{border-left-color:var(--f-review-ink)}
.f-pill{display:inline-block;border-radius:6px;padding:3px 8px;font-size:11px;font-weight:700;white-space:nowrap}
.f-pill.f-blocked{background:var(--f-blocked-bg);color:var(--f-blocked-ink)}
.f-pill.f-review{background:var(--f-review-bg);color:var(--f-review-ink)}
.f-pill.f-note{background:var(--tint);color:var(--muted)}
.f-description{min-width:240px;max-width:620px}
.f-description p{margin:4px 0 0;line-height:1.5;overflow-wrap:anywhere}
.f-next,.f-original,.f-muted,.f-when span,.f-when small{font-size:12px;color:var(--muted)}
.f-original{margin-top:6px}
.f-original summary{cursor:pointer;width:max-content;max-width:100%;color:var(--green)}
.f-muted,.f-when span,.f-when small{display:block;margin-top:4px}
.f-when{margin-top:6px;white-space:nowrap}
.f-when:first-child{margin-top:0}
.f-when time,.f-age-flag{font-weight:600}
.f-age-flag{color:var(--f-review-ink)}
.f-when time small{margin-top:1px;font-weight:400}
@media(max-width:700px){
 .f-issues th,.f-issues td,.f-pipeline th,.f-pipeline td{padding:9px 8px}
 .f-description{min-width:185px}
}
#reports-content .table-wrap{max-height:650px;overflow:auto}
#reports-content thead{position:sticky;top:0;background:var(--surface)}
#reports-content .section-head{flex-wrap:wrap}
.status-pill{display:inline-block;padding:5px 8px;border-radius:20px;background:var(--tint);font-size:10px}
.status-pill.evidence-consistent{background:#e3f6ea;color:#15693a}.status-pill.evidence-meta_higher,.status-pill.evidence-meta_lower{background:#fff1dc;color:#8a5200}.status-pill.evidence-click_sources_differ{background:#fde3e3;color:#9b1c1c}.status-pill.evidence-insufficient{background:#eef0f3;color:#5a6270}
.status-pill.verdict-positive{background:#e3f6ea;color:#15693a}.status-pill.verdict-negative{background:#fde3e3;color:#9b1c1c}.status-pill.verdict-mixed{background:#fff1dc;color:#8a5200}.status-pill.verdict-cost_unknown,.status-pill.verdict-too_few,.status-pill.verdict-immature{background:#eef0f3;color:#5a6270}
.footnote{margin:12px 0 0;font-size:11.5px;line-height:1.7;color:var(--muted)}
.footnote:empty{display:none}
.marketing-note.alert{margin:0 0 12px;padding:10px 14px;border-radius:8px;background:#fde3e3;color:#9b1c1c;font-size:12px}

/* Dialogs: details, and the Settings panel that sits above the sidebar's Settings button */
dialog{width:min(680px,calc(100% - 28px));max-height:85vh;padding:26px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);box-shadow:0 20px 60px rgba(0,0,0,.25)}
dialog::backdrop{background:#0e251caf;backdrop-filter:blur(3px)}
dialog.wide{width:min(1100px,calc(100% - 28px))}
.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
#detail-body{line-height:1.7;overflow-wrap:anywhere}
#detail-body p{font-size:13px}
/* Paid orders: one row per order on a wide screen; on a phone the number, time and total sit above the items. */
.ord-list{margin-top:8px;border-top:1px solid var(--line);line-height:1.45}
.ord{display:grid;grid-template-columns:62px 150px minmax(0,1fr) auto 88px;grid-template-areas:"num time items status total";align-items:baseline;gap:4px 14px;padding:11px 2px;border-bottom:1px solid var(--line);font-size:13px}
.ord-num{grid-area:num}
.ord-time{grid-area:time;color:var(--muted);white-space:nowrap}
.ord-items{grid-area:items;min-width:0}
.ord-sku{color:var(--muted);font-size:12px}
.ord-ret{color:var(--negative);font-size:12px;white-space:nowrap}
.ord-status{grid-area:status;padding:1px 8px;border-radius:999px;background:var(--warn);font-size:11.5px;font-weight:600;white-space:nowrap}
.ord-total{grid-area:total;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:700px){.ord{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"num time total" "items items status";gap:3px 10px}.ord-time{font-size:12px}}
#detail-body label{display:block;margin:15px 0}
#detail-body input{display:block;width:100%;margin-top:7px}
#settings{position:fixed;inset:auto auto 16px 16px;width:340px;max-height:calc(100vh - 32px);margin:0;padding:0;overflow:auto}
#settings::backdrop{background:rgba(12,22,17,.18);backdrop-filter:none}
#settings .dialog-head{margin:0;padding:18px 20px 12px;border-bottom:1px solid var(--line)}
.settings-body{padding:6px 20px 18px}
.settings-body h3{margin:16px 0 4px;font-size:10.5px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}
.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}
.settings-row b{font-weight:600;font-variant-numeric:tabular-nums}
.switch{position:relative;width:40px;height:22px;padding:0;border:0;border-radius:999px;background:#c9d0cb}
.switch:hover{background:#b8c1bb}
.switch[aria-checked=true],.switch[aria-checked=true]:hover{background:var(--primary)}
.switch i{position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:transform .15s ease}
.switch[aria-checked=true] i{transform:translateX(18px)}
body.dark .switch{background:#3a4a42}
body.dark .switch:hover{background:#4a5c53}
body.dark .switch[aria-checked=true],body.dark .switch[aria-checked=true]:hover{background:#2e9e5b}
.settings-sources{margin:0;padding:0;list-style:none}
.settings-sources li{display:flex;align-items:center;gap:9px;padding:6px 0;font-size:12.5px}
.settings-sources li span{flex:1}
.settings-sources li small{color:var(--muted);font-variant-numeric:tabular-nums;cursor:help}
.settings-sources .dot{flex-basis:7px;width:7px;height:7px}
.settings-sources .dot::after{display:none}
.settings-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.settings-actions button{flex:1;font-size:12.5px}

/* Narrow screens use a menu disclosure and keep Settings reachable at the top. */
@media(max-width:1100px){.overview-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){main{padding:24px 18px 48px}.analysis{grid-template-columns:1fr}}
@media(max-width:900px){
 .app-layout{display:block}
 .sidebar{position:static;height:auto;width:100%;flex:none;flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 14px;overflow:visible}
 .side-brand{margin:0 auto 0 0;padding:0 4px;border:0}
 .brand-word{font-size:20px}
 .brand-tag{display:none}
 .sidebar-menu{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid rgba(242,235,217,.2);border-radius:10px;background:transparent;color:var(--cream);font-size:13px}
 .sidebar-menu svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
 .sidebar-menu:focus-visible{outline:2px solid var(--amber);outline-offset:2px}
 .sidebar .nav{display:none;order:3;flex:1 1 100%;gap:12px;padding:14px 0 4px;border-top:1px solid rgba(242,235,217,.15);max-height:60vh;overflow-y:auto}
 .sidebar .nav.is-open{display:flex}
 .nav button{padding:9px 14px}
 .side-foot{margin:0;padding:0}
 .side-status{width:auto;padding:8px 10px}
 .side-status span{display:none}
}
@media(max-width:700px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{padding:14px}.metric strong{font-size:22px}.panel{padding:18px 14px}.section-head{flex-wrap:wrap}.presets{width:100%}.presets button{flex:1;padding:8px 6px;font-size:12px}#range-form{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}#range-form input{width:100%}#range-form button{grid-column:1/-1}.login{margin:4vh auto;padding:25px}#settings{inset:0;width:min(360px,calc(100% - 28px));max-height:85vh;margin:auto}}

/* Ads Manager */
:root{--meta:#2c5fc4;--meta-tint:#edf2fc;--tw:#6a43c2;--tw-tint:#f2eefb;--shop:#0b7552;--shop-tint:#e8f4ee;--bar:#cfd8d0}
body.dark{--meta:#8fb0ff;--meta-tint:#1c2638;--tw:#c3a7ff;--tw-tint:#282238;--shop:#72d3a9;--shop-tint:#17302a;--bar:#3a4d43}
.am .section-head{align-items:flex-start;gap:16px}
.am-levels{display:flex;gap:2px;border-bottom:1px solid var(--line);margin:4px 0 14px;overflow-x:auto}
.am-levels button{background:none;border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 16px;font-weight:600;color:var(--muted);white-space:nowrap}
.am-levels button.selected{color:var(--ink);border-bottom-color:var(--ink)}
.am-count{display:inline-block;min-width:22px;margin-left:8px;padding:1px 7px;border-radius:10px;background:var(--tint);font-size:11px;font-weight:600;color:var(--muted);text-align:center}
.am-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:12px}
.am-toolbar input[type=search]{flex:1 1 220px;max-width:340px;min-width:180px}
.am-check{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer;user-select:none}
.am-check input{width:15px;height:15px;margin:0;padding:0;accent-color:var(--meta);cursor:pointer}
.am-toolbar select:disabled{opacity:.5;cursor:not-allowed}
.am-selection{display:flex;flex-wrap:wrap;gap:6px}
.am-chip{display:inline-flex;align-items:center;gap:4px;max-width:340px;padding:4px 4px 4px 10px;border-radius:14px;background:var(--meta-tint);color:var(--ink);font-size:12px;font-weight:600}
.am-chip button{border:0;background:none;padding:0 6px;cursor:pointer;color:var(--muted);font-size:12px}
.am-table-wrap{overflow:auto;max-height:min(72vh,780px);border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.am-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:13px}
.am-table th,.am-table td{padding:9px 12px;border-bottom:1px solid var(--line);white-space:nowrap;background:var(--surface);vertical-align:middle}
.am-table thead th{position:sticky;top:0;z-index:2;font-size:11.5px;font-weight:600;text-transform:none;letter-spacing:0;color:var(--muted);text-align:right}
.am-table thead tr.am-groups th{height:28px;padding:4px 12px;font-size:10px;text-transform:uppercase;letter-spacing:.7px;text-align:center}
.am-table thead tr:nth-child(2) th{top:28px}
.am-table thead th button{all:unset;cursor:pointer;border-radius:4px}
.am-table thead th button:focus-visible,.am-name:focus-visible,.am-details:focus-visible,.am-thumb-btn:focus-visible,.am-link:focus-visible{outline:2px solid var(--meta);outline-offset:2px}
.am-table th.am-text,.am-table td.am-text{text-align:left}
.am-num{text-align:right;font-variant-numeric:tabular-nums}
.am-sticky{position:sticky;z-index:1}
.am-table thead .am-sticky{z-index:4}
.am-sel-col{left:0;width:52px;min-width:52px;padding-right:4px!important}
.am-name-col{left:52px;min-width:300px;max-width:380px;white-space:normal!important;box-shadow:inset -1px 0 0 var(--line)}
.am-table thead th.am-g-meta{background:var(--meta-tint);color:var(--meta)}
.am-table thead th.am-g-tw{background:var(--tw-tint);color:var(--tw)}
.am-table thead th.am-g-shop{background:var(--shop-tint);color:var(--shop)}
.am-table thead tr.am-groups th.am-g-meta{box-shadow:inset 0 3px 0 var(--meta)}
.am-table thead tr.am-groups th.am-g-tw{box-shadow:inset 0 3px 0 var(--tw)}
.am-table thead tr.am-groups th.am-g-shop{box-shadow:inset 0 3px 0 var(--shop)}
.am-table tbody tr:hover td{background:var(--tint)}
.am-table tbody tr.am-selected td{background:var(--meta-tint)}
.am-table tbody tr[aria-current] td{background:var(--meta-tint);box-shadow:inset 0 -1px 0 var(--meta)}
.am-table tfoot td{position:sticky;bottom:0;z-index:2;background:var(--tint);font-weight:700;border-top:1px solid var(--line);border-bottom:0}
.am-table tfoot .am-sticky{z-index:3}
.am-table input[type=checkbox]{width:15px;height:15px;margin:0 6px 0 0;vertical-align:middle;accent-color:var(--meta)}
.am-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#aeb6b0;vertical-align:middle}
.am-dot.on{background:#2e9e5b}.am-dot.warn{background:var(--amber)}.am-dot.gone{background:transparent;border:1px solid var(--muted)}
.am-status{font-weight:600}.am-status-on{color:#1f8a4c}.am-status-warn{color:#a86a00}.am-status-off,.am-status-gone{color:var(--muted)}
body.dark .am-status-on{color:#6fd39a}
.am-name-cell{display:flex;align-items:center;gap:10px}
.am-name-text{min-width:0;flex:1}
.am-name{all:unset;cursor:pointer;font-weight:600;color:var(--ink);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}
.am-name:hover{text-decoration:underline}
.am-sub{display:block;margin-top:2px;font-size:11.5px;font-weight:400;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:320px}
.am-thumb-btn{all:unset;cursor:pointer;flex:none;border-radius:6px}
.am-thumb{position:relative;display:block;width:46px;height:46px;border-radius:6px;overflow:hidden;background:var(--tint)}
.am-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.am-play{position:absolute;right:3px;bottom:3px;padding:1px 4px;border-radius:3px;background:rgba(0,0,0,.65);color:#fff;font-size:9px;line-height:1.3}
.am-details{all:unset;cursor:pointer;flex:none;padding:3px 8px;border:1px solid var(--line);border-radius:6px;font-size:11.5px;color:var(--muted)}
.am-details:hover{color:var(--ink);background:var(--surface)}
.am-clamp{display:-webkit-box;max-width:340px;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.am-empty{padding:32px!important;text-align:center!important;color:var(--muted)}
.am-warn{color:var(--negative);font-weight:600}
.am-muted{color:var(--muted);font-size:12px;margin:6px 0}
.am-link{all:unset;cursor:pointer;font-weight:600;color:var(--ink)}
.am-link:hover{text-decoration:underline}
.am-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;word-break:break-all}
body.am-drawer-open{overflow:hidden}
.am-scrim{position:fixed;inset:0;z-index:60;background:rgba(12,22,17,.32)}
.am-drawer{position:fixed;top:0;right:0;bottom:0;z-index:61;display:flex;flex-direction:column;width:min(660px,100vw);background:var(--surface);color:var(--ink);box-shadow:-16px 0 44px rgba(0,0,0,.2);animation:am-in .18s ease-out}
.am-drawer[hidden],.am-scrim[hidden]{display:none}
@keyframes am-in{from{transform:translateX(28px);opacity:.5}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.am-drawer{animation:none}}
.am-d-head{display:flex;gap:12px;align-items:flex-start;padding:18px 22px 14px;border-bottom:1px solid var(--line)}
.am-d-heading{flex:1;min-width:0}
.am-d-kind{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.8px;color:var(--muted)}
#am-d-title{margin:4px 0 8px;font-size:19px;line-height:1.3;word-break:break-word}
.am-d-sub{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;font-size:12px;color:var(--muted)}
.am-d-sub a{color:var(--meta);font-weight:600;text-decoration:none}
.am-d-sub a:hover{text-decoration:underline}
.am-d-nav{display:flex;gap:6px}
.am-d-nav button{width:34px;height:34px;padding:0;border-radius:8px}
.am-d-nav button:disabled{opacity:.4;cursor:default}
.am-d-body{flex:1;overflow-y:auto;padding:0 22px 28px;overscroll-behavior:contain}
.am-media{margin:16px 0 2px;border-radius:12px;overflow:hidden;background:#0e110f;display:flex;flex-direction:column;align-items:center}
.am-media a{display:block}
.am-media img,.am-media video{display:block;max-width:100%;max-height:64vh;width:auto;height:auto}
.am-media video{width:100%;background:#000}
.am-video-poster{position:relative}
.am-play-link{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);padding:11px 18px;border-radius:24px;background:rgba(0,0,0,.74);color:#fff;font-weight:700;text-decoration:none}
.am-play-link:hover{background:#000}
.am-media figcaption{width:100%;padding:9px 12px;background:#0e110f;color:#d2d9d4;font-size:12px;line-height:1.45}
.am-media-empty{min-height:120px;justify-content:center;background:var(--tint)}
.am-media-empty p{color:var(--muted);font-size:12.5px;padding:0 16px}
.am-sec{padding:18px 0 8px;border-bottom:1px solid var(--line)}
.am-sec h3{margin:0 0 12px;font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;color:var(--muted)}
.am-sec h4{margin:12px 0 6px;font-size:12.5px}
.am-sec ol{margin:0 0 8px;padding-left:20px;font-size:12.5px;line-height:1.5}
.am-sec ol li{margin-bottom:6px;white-space:pre-wrap}
.am-srcs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.am-src{padding:12px;border:1px solid var(--line);border-top:3px solid var(--line);border-radius:10px}
.am-src-meta{border-top-color:var(--meta)}.am-src-tw{border-top-color:var(--tw)}.am-src-shop{border-top-color:var(--shop)}
.am-src h4{margin:0;font-size:13px}.am-src-meta h4{color:var(--meta)}.am-src-tw h4{color:var(--tw)}.am-src-shop h4{color:var(--shop)}
.am-src-sub{margin:2px 0 10px;font-size:11px;color:var(--muted)}
.am-src dl,.am-kv{display:grid;gap:7px;margin:0}
.am-src dl div,.am-kv div{display:flex;justify-content:space-between;gap:10px;font-size:12.5px}
.am-src dt,.am-kv dt{color:var(--muted)}
.am-src dd,.am-kv dd{margin:0;font-weight:600;text-align:right;font-variant-numeric:tabular-nums}
.am-kv{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:26px}
.am-evidence{margin:10px 0 4px;font-size:12px;color:var(--muted)}
.am-chart{display:block;width:100%;height:auto}
.am-bar{fill:var(--bar)}.am-grid{stroke:var(--line);stroke-width:1}.am-axis{fill:var(--muted);font-size:10px}
.am-line{fill:none;stroke-width:2;stroke-linejoin:round}
.am-line-meta{stroke:var(--meta)}.am-line-tw{stroke:var(--tw)}.am-line-shop{stroke:var(--shop)}
.am-pt-meta{fill:var(--meta)}.am-pt-tw{fill:var(--tw)}.am-pt-shop{fill:var(--shop)}
.am-legend{display:flex;flex-wrap:wrap;gap:6px 14px;margin:6px 0 8px;font-size:11.5px;color:var(--muted)}
.am-legend i{display:inline-block;width:10px;height:10px;margin-right:5px;border-radius:2px;vertical-align:-1px}
.am-legend .spend{background:var(--bar)}.am-legend .meta{background:var(--meta)}.am-legend .tw{background:var(--tw)}.am-legend .shop{background:var(--shop)}
.am-sec details{margin:4px 0 8px}
.am-sec summary{cursor:pointer;font-size:12.5px;font-weight:600;color:var(--ink)}
.am-mini{width:100%;margin-top:8px;border-collapse:collapse;font-size:12px}
.am-mini th,.am-mini td{padding:6px 8px;border-bottom:1px solid var(--line);text-align:right;font-variant-numeric:tabular-nums}
.am-mini th{font-size:10.5px;text-transform:uppercase;letter-spacing:.5px;color:var(--muted)}
.am-mini th:first-child,.am-mini td:first-child{text-align:left}
.am-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(104px,1fr));gap:8px;margin-bottom:10px}
.am-step{padding:9px 10px;border:1px solid var(--line);border-radius:8px}
.am-step small{display:block;font-size:11px;color:var(--muted)}
.am-step b{display:block;margin:2px 0;font-size:16px;font-variant-numeric:tabular-nums}
.am-copy-text{margin:0 0 14px;font-size:13.5px;line-height:1.55;white-space:pre-wrap}
.am-dest{display:flex;gap:12px;align-items:flex-start;margin-bottom:12px;font-size:12.5px}
.am-dest img{width:74px;height:124px;object-fit:cover;object-position:top;border:1px solid var(--line);border-radius:8px}
.am-copy-id{margin-left:6px;padding:2px 8px;font-size:11px;border-radius:6px}
.am-footnote{margin:16px 0 0;font-size:11.5px;color:var(--muted)}
@media(max-width:700px){.am-drawer{width:100vw}.am-d-head{padding:14px 16px 12px}.am-d-body{padding:0 16px 24px}.am-srcs,.am-kv{grid-template-columns:1fr}.am-name-col{min-width:210px}.am-table{font-size:12px}.am-sub{max-width:200px}}
.am .section-head #am-export{white-space:nowrap;flex:none}
.am-table th.am-name-col,.am-table td.am-name-col{text-align:left}
.am-table thead tr:nth-child(2) th{white-space:normal;min-width:64px;max-width:104px;line-height:1.25;vertical-align:bottom}
.am-table thead tr:nth-child(2) th.am-text{max-width:150px}
.am-table td{padding:8px 11px}
.am-sel-col{max-width:52px}
@media(max-width:700px){.am-sel-col{width:36px;min-width:36px;max-width:36px;padding-left:8px!important;padding-right:2px!important}.am-name-col{left:36px;min-width:170px;max-width:190px}.am-thumb{width:36px;height:36px}.am-name-cell{gap:8px}.am-details{padding:2px 6px;font-size:11px}.am-table input[type=checkbox]{margin-right:4px}.am-levels button{padding:10px 12px}}
/* Ads Manager panel beside the table on wide screens: the page keeps its full height and stays clickable. */
@media(min-width:1200px){body.am-split{padding-right:clamp(420px,36vw,560px)}body.am-split .am-drawer{width:clamp(420px,36vw,560px);box-shadow:-1px 0 0 var(--line),-10px 0 24px rgba(0,0,0,.06)}}
/* Ads Manager drill-down path and clickable rows */
.am-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-height:24px;margin:0 0 6px;font-size:13px}
.am-crumb{all:unset;max-width:340px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:4px;font-weight:600;color:var(--ink)}
button.am-crumb{cursor:pointer;color:var(--meta)}
button.am-crumb:hover{text-decoration:underline}
button.am-crumb:focus-visible,.am-crumb-many button:focus-visible{outline:2px solid var(--meta);outline-offset:2px}
.am-crumb-sep{color:var(--muted)}
.am-crumb-many{display:inline-flex;align-items:center;gap:2px;padding:2px 2px 2px 10px;border-radius:12px;background:var(--meta-tint);font-weight:600}
.am-crumb-many button{all:unset;cursor:pointer;padding:0 7px;color:var(--muted)}
.am-table tbody tr[data-row-id]{cursor:pointer}
/* Marketing tab header: sync chips, then one card per source */
.am-status-row{display:flex;flex-wrap:wrap;gap:6px 8px;margin:0 0 14px}
.am-status-row:empty{display:none}
.am-sync{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border:1px solid var(--line);border-radius:14px;background:var(--surface);font-size:12px;color:var(--muted)}
.am-sync::before{content:'';flex:none;width:7px;height:7px;border-radius:50%;background:#2e9e5b}
.am-sync-warn::before{background:var(--amber)}
.am-sync-info::before{background:var(--meta)}
.am-sync-bad{border-color:var(--negative);color:var(--negative);font-weight:600}
.am-sync-bad::before{background:var(--negative)}
.am-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 18px}
@media(min-width:1680px){.am-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}}
.am-kpis:empty{display:none}
/* Each source keeps its colour as a small dot before the label; the card itself stays plain. */
.am-kpi{display:flex;flex-direction:column;min-width:0;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--shadow)}
.am-kpi-label{display:flex;align-items:flex-start;gap:7px;font-size:12.5px;font-weight:600;line-height:1.3;color:var(--muted)}
.am-kpi-label::before{content:'';flex:none;width:7px;height:7px;margin-top:4.5px;border-radius:50%;background:var(--kpi-dot,var(--muted))}
.am-kpi-spend{--kpi-dot:var(--ink)}.am-kpi-store{--kpi-dot:#b6beb8}.am-kpi-tw{--kpi-dot:var(--tw)}.am-kpi-shop{--kpi-dot:var(--shop)}.am-kpi-meta{--kpi-dot:var(--meta)}.am-kpi-live{--kpi-dot:#2e9e5b}
.am-kpi strong{margin:6px 0 14px;font-size:clamp(22px,1.7vw,30px);font-weight:750;letter-spacing:-.6px;line-height:1.15;font-variant-numeric:tabular-nums;white-space:nowrap}
.am-kpi-lines{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;margin-top:auto;padding-top:10px;border-top:1px solid var(--line)}
.am-kpi-line{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted)}
.am-kpi-line span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.am-kpi-line b{flex:none;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
@media(max-width:700px){.am-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.am-kpi{padding:14px}.am-kpi strong{font-size:22px}.am-kpi-line{font-size:11.5px}.am-kpi-line span{white-space:normal;line-height:1.3}}
/* Ads Manager panel: position, pinned key numbers and the section jump bar */
.am-d-pos{align-self:center;margin-right:4px;font-size:12px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.am-d-keys{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;background:var(--line);border-bottom:1px solid var(--line)}
.am-d-keys:empty{display:none}
.am-key{display:flex;flex-direction:column;gap:2px;min-width:0;padding:8px 10px;background:var(--surface)}
.am-key span{overflow:hidden;font-size:10.5px;color:var(--muted);white-space:nowrap;text-overflow:ellipsis}
.am-key b{font-size:15px;font-variant-numeric:tabular-nums}
.am-key-tw span{color:var(--tw)}.am-key-shop span{color:var(--shop)}.am-key-meta span{color:var(--meta)}
.am-d-jump{display:flex;gap:6px;padding:8px 22px;overflow-x:auto;border-bottom:1px solid var(--line);scrollbar-width:none}
.am-d-jump::-webkit-scrollbar{display:none}
.am-d-jump:empty{display:none}
.am-d-jump button{flex:none;padding:4px 11px;border:1px solid var(--line);border-radius:14px;background:var(--surface);font-size:12px;color:var(--muted)}
.am-d-jump button:hover{color:var(--ink)}
.am-d-jump button[aria-current="location"]{border-color:var(--ink);background:var(--ink);color:var(--surface)}
@media(max-width:700px){.am-d-keys{grid-template-columns:repeat(3,minmax(0,1fr))}.am-d-jump{padding:8px 16px}}
.am-key{justify-content:space-between}.am-key span{white-space:normal;line-height:1.2}
/* Ads Manager table polish: dimmed zeros and blanks, and a shadow on the frozen name column once the table scrolls sideways */
.am-table td.am-zero{color:var(--muted);opacity:.75}
.am-table-wrap.am-scrolled-x .am-name-col{box-shadow:inset -1px 0 0 var(--line),10px 0 12px -10px rgba(0,0,0,.35)}
body.dark .am-table-wrap.am-scrolled-x .am-name-col{box-shadow:inset -1px 0 0 var(--line),10px 0 12px -10px rgba(0,0,0,.8)}
.am-table thead th[title],.am-table thead th button[title]{cursor:help}
.am-table thead th button[data-sort]{cursor:pointer}
/* Store orders card: share of paid orders Triple Whale credits to Meta ads versus everything else */
svg.am-split{display:block;width:100%;height:4px;margin:0 0 4px;border-radius:2px;overflow:hidden;background:var(--tint)}
.am-kpi-split{padding-top:0;border-top:0}
.am-split-meta{fill:var(--meta)}.am-split-other{fill:#b6beb8}
body.dark .am-split-other{fill:#52635a}
.am-kpi-note{margin-top:2px;font-size:11px;line-height:1.35;color:var(--muted)}

/* Landing pages: funnel view (reuses the Ads Manager table, chart and panel styles) */
.fv .section-head{align-items:flex-start;gap:16px}
.fv-table .am-name-col{left:0;min-width:280px}
.fv-table tbody tr[data-path]{cursor:pointer}
.fv-thumb{width:36px;height:58px}
.fv-thumb img{object-position:top}
.fv-weak{font-weight:600}.fv-weak-high{color:var(--negative)}.fv-weak-mid{color:#a86a00}.fv-weak-low{color:var(--muted)}
body.dark .fv-weak-mid{color:var(--amber)}
.fv-none{color:var(--muted);font-size:12px}
.fv-compare{margin-top:24px}
.fv-pick{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.fv-pick select{max-width:300px}
.fv-pick span{font-size:12px;color:var(--muted)}
/* Compare two pages: one grid, label | first page | second page. Every value is a share of the page's own base, bars are
   scaled to the larger value in the row, and ▲ marks a lead that is unlikely to be chance. */
.fv-cmp{--fv-cols:minmax(120px,.6fr) minmax(0,1fr) minmax(0,1fr);--lead:#2e9e5b;display:grid;gap:4px 0}
body.dark .fv-cmp{--lead:#6fd39a}
.fv-c-pages,.fv-c-block{display:grid;grid-template-columns:var(--fv-cols);gap:8px 18px;align-items:end}
.fv-c-page{display:flex;gap:10px;align-items:center;min-width:0}
.fv-c-page .am-name{font-size:14px;font-weight:700;text-align:left}
.fv-c-page>div{min-width:0}
.fv-c-page .am-sub{max-width:none}
.fv-c-head,.fv-c-row{display:contents}
.fv-c-head h4{margin:14px 0 0;font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.7px;color:var(--muted)}
.fv-c-head h4 small{margin-left:6px;font-weight:500;text-transform:none;letter-spacing:0}
.fv-c-base{margin-top:14px;font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.fv-c-label{align-self:center;font-size:12.5px}
.fv-c-final .fv-c-label{font-weight:700}
.fv-c-cell{min-width:0;font-variant-numeric:tabular-nums}
.fv-c-cell b{font-size:17px;font-weight:600;color:var(--ink)}
.fv-c-lose b{color:var(--muted)}
.fv-c-lose .fv-bar-meta,.fv-c-lose .fv-bar-shop{opacity:.4}
.fv-c-lift{margin-left:6px;font-size:11.5px;color:var(--muted);white-space:nowrap}
.fv-c-sure{font-weight:700;color:var(--lead)}
.fv-c-cell .fv-bar{margin-top:3px}
.fv-weak-line{display:block;margin-top:6px;font-size:12px;color:var(--muted)}
.fv-block h4{margin:16px 0 8px;font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.7px;color:var(--muted)}
.fv-block h4 small{margin-left:6px;font-weight:500;text-transform:none;letter-spacing:0}
.fv-funnel{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.fv-step{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;align-items:baseline}
.fv-step-label{font-size:12.5px}
.fv-step b{font-size:15px;font-variant-numeric:tabular-nums}
.fv-bar{grid-column:1/-1;display:block;width:100%;height:8px;border-radius:4px}
.fv-bar-bg{fill:var(--tint)}.fv-bar-meta{fill:var(--meta)}.fv-bar-shop{fill:var(--shop)}
.fv-step small{grid-column:1/-1;font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.fv-shot{display:block;max-height:520px;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--tint)}
.fv-shot img{display:block;width:100%;max-width:390px;margin:0 auto}
.fv-line-cart{stroke:var(--amber)}.fv-line-shop{stroke:var(--shop)}.fv-pt-cart{fill:var(--amber)}.fv-pt-shop{fill:var(--shop)}
.am-legend .sessions{background:var(--bar)}.am-legend .cart{background:var(--amber)}
.fv-scroll{overflow-x:auto}
.fv-ads td small{display:block;font-size:10.5px;color:var(--muted)}
.fv-ads td:first-child{min-width:150px;max-width:210px;white-space:normal;overflow-wrap:anywhere}
.fv-ads td:first-child small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv-idle{margin:8px 0 0;padding:0;list-style:none;font-size:12px;line-height:1.9}
#fv-d-title{margin:4px 0 8px;font-size:19px;line-height:1.3;word-break:break-word}
body.fv-drawer-open{overflow:hidden}
@media(min-width:1200px){body.fv-split{padding-right:clamp(420px,36vw,560px)}body.fv-split .fv-drawer{width:clamp(420px,36vw,560px);box-shadow:-1px 0 0 var(--line),-10px 0 24px rgba(0,0,0,.06)}}
@media(max-width:700px){.fv-cmp{--fv-cols:minmax(0,1fr) minmax(0,1fr)}.fv-c-pages>span:first-child{display:none}.fv-c-label,.fv-c-head h4{grid-column:1/-1}.fv-c-label{margin-top:6px}.fv-c-head h4{margin-bottom:-4px}.fv-c-cell b{font-size:15px}}
@media(max-width:700px){.fv-table .am-name-col{min-width:180px;max-width:200px}.fv-thumb{width:30px;height:48px}}

/* Users: owner-only sign-in management. No date range, notices or source status on this page. */
main.u-mode .controls,main.u-mode .topbar .sub,main.u-mode #notice,main.u-mode #error{display:none}
.u-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}
.u-table th,.u-table td{text-align:left}
.u-table td{padding:14px 12px 14px 0;vertical-align:middle}
.u-table td:first-child{max-width:none}
.u-table td.u-actions{text-align:right;padding-right:0}
.u-actions button{font-size:12px}
.u-actions button+button{margin-left:18px}
.u-chip{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;background:var(--tint);color:var(--green);font-size:10px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;vertical-align:1px}
body.dark .u-chip{color:var(--ink)}
.u-state{display:inline-flex;align-items:center;gap:7px;font-weight:600}
.u-state::before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor}
.u-state.on{color:var(--green)}
body.dark .u-state.on{color:#85bfa1}
.u-state.off,tr.u-off td{color:var(--muted)}
.u-danger{color:var(--negative)}
.u-muted{color:var(--muted);font-size:12px;line-height:1.6}
.u-note{font-size:12px;margin:14px 0 0}
.u-note:empty,.u-error:empty{display:none}
.u-error{color:var(--negative);font-size:12px;margin:0 0 10px}
.u-add h2{margin:0 0 4px}
.u-add>.u-muted{margin:0 0 18px}
.u-form label{display:block;margin:0 0 16px;font-size:12px;font-weight:600}
.u-form input,.u-form select{display:block;width:100%;margin-top:7px;font-weight:400}
.u-pass{display:flex;gap:8px;margin-top:7px}
.u-form .u-pass input,#detail-body .u-pass input{flex:1;margin-top:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.3px}
.u-pass button{flex:none}
.u-form .primary,.u-dialog .primary{background:var(--primary);color:var(--on-primary);border:0;border-radius:999px;padding:12px 20px;font-weight:700}
.u-form .primary:hover,.u-dialog .primary:hover{background:var(--primary-hover);color:var(--on-primary)}
.u-form .primary{margin-top:4px}
.u-dialog .primary.u-danger,.u-dialog .primary.u-danger:hover{background:var(--negative);color:var(--surface)}
.u-dialog .primary.u-danger:hover{filter:brightness(.92)}
.u-share{margin:4px 0 8px;padding:16px;border-radius:12px;background:var(--tint)}
.u-share pre{margin:0 0 12px;font:13px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
.u-share-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.u-share .u-muted{margin:10px 0 0}
.u-share-actions .u-muted{margin:0}
.u-state.wait{color:var(--ink)}.u-state.wait::before{background:var(--amber)}
.u-email{margin-top:3px;white-space:normal;overflow-wrap:break-word}
.u-email .u-link{text-align:left}
.u-link{padding:0;border:0;border-radius:0;background:none;color:var(--muted);font-size:12px;text-decoration:underline dotted;text-underline-offset:3px}
.u-link:hover{border:0;background:none;color:var(--ink)}
.u-mail{border:1px solid var(--line);border-radius:7px;padding:9px 13px;background:var(--surface);color:var(--ink);text-decoration:none}
.u-mail:hover{border-color:var(--green);background:var(--tint)}
.u-password-add{margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}
.u-password-add summary{cursor:pointer;font-size:12px;font-weight:600;color:var(--muted)}
.u-password-add[open] summary{margin-bottom:16px}
@media(max-width:1100px){.u-layout{grid-template-columns:1fr}}
@media(max-width:700px){.u-table thead{display:none}.u-table,.u-table tbody,.u-table tr,.u-table td{display:block;width:100%}.u-table tr{padding:12px 0;border-bottom:1px solid var(--line)}.u-table td{border:0;padding:3px 0;white-space:normal}.u-table td[data-label]::before{content:attr(data-label);display:inline-block;min-width:104px;color:var(--muted);font-size:10px;letter-spacing:.8px;text-transform:uppercase}.u-table td.u-actions{text-align:left;padding-top:10px}}
/* Spend by hour of day, rebuilt from the old command centre */
.sh{margin-bottom:22px}
.sh-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px 20px}
.sh-head h2{margin:0}
.sh-sub{margin:5px 0 0;font-size:12.5px;color:var(--muted)}
.sh-key{display:inline-block;width:10px;height:10px;margin:0 2px;vertical-align:-1px}
.sh-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}
.sh-toggle{display:inline-flex;gap:2px;padding:3px;border:1px solid var(--line);border-radius:999px;background:var(--tint)}
.sh-toggle button{border:0;border-radius:999px;background:transparent;padding:6px 15px;font-size:12px;font-weight:700;color:var(--muted)}
.sh-toggle button[aria-pressed="true"]{background:var(--primary);color:var(--on-primary)}
.sh-range{display:inline-flex;align-items:center;gap:6px;padding:3px 4px 3px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface)}
.sh-range label{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--muted)}
.sh-range input{padding:4px 6px;border:1px solid var(--line);border-radius:8px;background:var(--tint);font:inherit;font-size:12px;color:var(--ink)}
.sh-range button{border:0;border-radius:999px;background:var(--primary);padding:6px 15px;font-size:12px;font-weight:700;color:var(--on-primary)}
.sh-range button:hover,.sh-toggle button:hover{filter:brightness(1.08)}
.sh-err{min-height:15px;margin-top:4px;text-align:right;font-size:11.5px;font-weight:600;color:var(--negative)}
.sh-legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px 16px;margin:4px 0 6px;font-size:12px;color:var(--muted)}
.sh-leg{display:inline-flex;align-items:center;gap:6px}
.sh-leg svg{width:22px;height:10px}
.sh-chart{width:100%;min-height:230px}
.sh-svg{display:block;width:100%;height:auto}
.sh-grid{stroke:var(--line);stroke-width:1}
.sh-tick{fill:var(--muted);font-size:10.5px}
.sh-axis{fill:var(--muted);font-size:11px}
.sh-cap{font-size:10px;font-weight:700}
.sh-dot{fill:#E8940A;stroke:#fff;stroke-width:1.8}
.sh-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-top:14px;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--line)}
.sh-tile{padding:12px 16px;background:var(--surface)}
.sh-tile .t{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.sh-tile .t span{letter-spacing:0}
.sh-tile .v{margin-top:4px;font-size:17px;font-weight:700;color:var(--ink)}
.sh-tile .v.best{color:var(--positive)}
.sh-tile .s{margin-top:3px;font-size:12px;color:var(--muted)}
.sh-note{margin:12px 0 0;font-size:12px;line-height:1.6;color:var(--muted)}
.sh-bad{color:var(--negative)}
@media(max-width:640px){.sh-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.sh-controls{justify-content:flex-start}.sh-err{text-align:left}.sh-legend{justify-content:flex-start}.sh-head>div{width:100%}.sh-range{flex-wrap:wrap;width:100%;padding:8px 10px;border-radius:14px}.sh-range label{flex:1 1 40%;min-width:0}.sh-range input{min-width:0;width:100%}.sh-range button{flex:1 1 100%}}
@media(max-width:400px){.sh-range label{flex-basis:100%}}
/* Chart hover on every chart: a guide (lines) or band (bars), markers and a tooltip that follows the pointer */
svg[data-ch]{cursor:crosshair;touch-action:pan-y}
.ch-guide{stroke:var(--muted);stroke-width:1;stroke-dasharray:3 3;pointer-events:none}
.ch-band{fill:var(--ink);opacity:.07;pointer-events:none}
.ch-mark{fill:var(--surface);stroke-width:2;pointer-events:none}
.ch-pt{stroke:#fff;stroke-width:1.5;pointer-events:none}
.ch-dot{fill:#E8940A;stroke:#fff;stroke-width:2;pointer-events:none}
.ch-tip{position:fixed;z-index:1000;max-width:340px;padding:10px 12px;border-radius:10px;background:#0B3B2E;color:#F2EBD9;font-size:12.5px;line-height:1.6;box-shadow:0 10px 28px rgba(0,0,0,.28);pointer-events:none}
.ch-tip::before{content:'';position:absolute;top:50%;margin-top:-6px;border:6px solid transparent}
.ch-tip[data-side="right"]::before{left:-12px;border-right-color:#0B3B2E}
.ch-tip[data-side="left"]::before{right:-12px;border-left-color:#0B3B2E}
.ch-tip-title{margin-bottom:3px;font-weight:700}
.ch-tip-row{display:flex;align-items:center;gap:7px;white-space:nowrap}
.ch-tip-row.hit{color:#F5A623}
.ch-tip-row.dim{opacity:.75}
.ch-sw{flex:none;width:11px;height:11px}
.ch-sw rect{stroke:#fff;stroke-width:1.2}
.ch-sw-gap{flex:none;width:11px}
.ch-sw .sw-sales{fill:var(--green)}.ch-sw .sw-ads{fill:var(--amber)}.ch-sw .sw-bar{fill:var(--bar)}.ch-sw .sw-meta{fill:var(--meta)}.ch-sw .sw-tw{fill:var(--tw)}.ch-sw .sw-shop{fill:var(--shop)}.ch-sw .sw-cart{fill:var(--amber)}
.ch-mark.mk-meta{stroke:var(--meta)}.ch-mark.mk-tw{stroke:var(--tw)}.ch-mark.mk-shop{stroke:var(--shop)}.ch-mark.mk-cart{stroke:var(--amber)}
/* Cumulative gross profit and daily ROAS vs break-even, over the Daily window */
.dcharts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:22px}
.dc .section-head{align-items:flex-start;margin-bottom:8px}
.dc h2{margin:0}
.dc-sub{margin:4px 0 0;font-size:12px;color:var(--muted)}
.dc-last{font-size:18px;font-weight:700;white-space:nowrap;color:var(--ink)}
.dc-last.neg{color:var(--negative)}.dc-last.pos{color:var(--positive)}
.dc-chart{width:100%;min-height:200px}
.dc-note{margin:10px 0 0;font-size:12px;line-height:1.6;color:var(--muted)}
.dc-sel{fill:var(--tint)}
.dc-zero{stroke:var(--muted);stroke-width:1}
.dc-line,.dc-roas{fill:none;stroke:var(--green);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.dc-pos{fill:var(--positive);opacity:.16}
.dc-neg{fill:var(--negative);opacity:.14}
.dc-be{stroke:var(--negative);stroke-width:1.5;stroke-dasharray:6 4}
.dc-be-label{fill:var(--negative);font-size:11px;font-weight:700;paint-order:stroke;stroke:var(--surface);stroke-width:4px;stroke-linejoin:round}
.dc-pt-good{fill:var(--positive);stroke:var(--surface);stroke-width:1.5}
.dc-pt-bad{fill:var(--negative);stroke:var(--surface);stroke-width:1.5}
.dc-off{font-size:10px;font-weight:700;fill:var(--green)}
.ch-sw .sw-good{fill:var(--positive)}.ch-sw .sw-bad{fill:var(--negative)}.ch-sw .sw-cum{fill:var(--green)}
.ch-tip-row.good{color:#7BE0A8}.ch-tip-row.bad{color:#FF9B8F}
.daily-note{margin:-8px 0 12px;font-size:12px;color:var(--muted)}
.daily tr.sel td{background:var(--tint)}
@media(max-width:900px){.dcharts{grid-template-columns:minmax(0,1fr)}}
/* Launch calendar: US occasions over a rolling 12 months (no date range, notices or source status on this page: main.u-mode) */
.cal-intro{margin:0 0 16px;font-size:13px;color:var(--muted)}
.cal-next{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.cal-nx{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;align-items:center;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.cal-nx .in{grid-row:span 2;min-width:64px;font-size:28px;font-weight:800;line-height:1;text-align:center;color:var(--ink)}
.cal-nx .in small{display:block;margin-top:5px;font-size:10.5px;font-weight:600;color:var(--muted)}
.cal-nx .nm{font-size:14px;font-weight:700}
.cal-nx .lb{font-size:12px;color:var(--muted)}
.cal-nx .lb.late{color:var(--negative)}
.cal-legend{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:14px;font-size:12px;color:var(--muted)}
.ctag{display:inline-block;margin-left:7px;padding:2px 8px;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;vertical-align:1px}
.cal-legend .ctag{margin:0 6px 0 0}
.ctag.holiday{background:#ecebe6;color:#595e59}.ctag.retail{background:#e3f1e8;color:#1f6b45}.ctag.audience{background:#e8ecfb;color:#2c4fb0}.ctag.gift{background:#fbe8f0;color:#a4336b}.ctag.warn{background:#fbe6e2;color:#b3321f}
body.dark .ctag.holiday{background:#2c3430;color:#c3cbc5}body.dark .ctag.retail{background:#1f3a2c;color:#8fd8b0}body.dark .ctag.audience{background:#232c45;color:#a9bcff}body.dark .ctag.gift{background:#3d2431;color:#f3a6c9}body.dark .ctag.warn{background:#40241f;color:#ff9b8f}
.cal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}
.cal-month{padding:18px 18px 8px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--shadow)}
.cal-month.now{border-color:var(--green);box-shadow:0 0 0 1px var(--green),var(--shadow)}
.cal-month h3{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 8px;font-size:15px}
.cal-month h3 span{font-size:11.5px;font-weight:500;color:var(--muted)}
.cal-ev{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;padding:10px 0;border-top:1px solid var(--line)}
.cal-ev.empty{grid-template-columns:minmax(0,1fr)}
.cal-ev .d{font-size:20px;font-weight:800;line-height:1;text-align:center;color:var(--ink)}
.cal-ev .d small{display:block;margin-top:3px;font-size:10px;font-weight:600;text-transform:uppercase;color:var(--muted)}
.cal-ev .n{font-size:13px;font-weight:700}
.cal-ev .why{margin-top:3px;font-size:12px;line-height:1.5;color:var(--muted)}
.cal-ev .lb{margin-top:4px;font-size:11.5px;font-weight:600;color:var(--green)}
.cal-ev.past{opacity:.45}
@media(max-width:1100px){.cal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cal-next{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){.cal-grid{grid-template-columns:minmax(0,1fr)}}
.me{margin:0 0 18px}
.me-tools{display:flex;align-items:center;gap:14px;flex:none}
.me .section-head #me-export{white-space:nowrap}
.me-wrap{position:relative;max-height:min(64vh,640px)}
.am-table.me-table .am-name-col{left:0}
.me-table tbody tr[data-me-id]{cursor:pointer}
.me-table .am-sub .am-dot{width:7px;height:7px;margin:-2px 3px 0 0}
.me-up{color:var(--positive)}.me-down{color:var(--negative)}
.am-table.me-table td.am-name-col{max-width:380px}
@media(max-width:700px){.me-table .am-sub{max-width:130px}.am-table.me-table td.am-name-col{max-width:190px}}

/* Collaborator dashboard selection */
.u-dashboard-picker{border:1px solid var(--line);border-radius:10px;padding:14px;margin:6px 0 12px;min-width:0}
.u-dashboard-picker legend{font-size:12px;font-weight:650;padding:0 5px}
.u-dashboard-choices{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
.u-dashboard-choices label{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.4;color:var(--ink)}
.u-dashboard-choices input{width:16px;height:16px;flex:0 0 16px;margin:0;accent-color:var(--green)}
.u-dashboard-shortcuts{display:flex;gap:8px;margin-top:14px}.u-dashboard-shortcuts button{font-size:11px;padding:5px 8px}
.u-admin-note{font-size:12px;color:var(--muted);margin:0;line-height:1.5}
.u-dashboard-summary{font-size:11px;line-height:1.5;color:var(--muted);white-space:normal;max-width:280px;margin-top:5px}
.u-add .u-dashboard-choices{grid-template-columns:1fr}.u-actions{white-space:normal}.u-actions button{margin:2px}
@media(max-width:420px){.u-dashboard-choices{grid-template-columns:1fr}}
#detail-body .u-dashboard-choices label,.u-form .u-dashboard-choices label{display:flex;align-items:center;gap:8px;margin:0;font-weight:400}
#detail-body .u-dashboard-choices input,.u-form .u-dashboard-choices input{display:inline-block;width:16px;height:16px;margin:0;flex:0 0 16px}
#detail-body .u-dialog>label>select{display:block;width:100%;margin-top:7px}

/* Shared signed-in identity, visible even when mobile navigation is closed. */
.signed-in{display:flex;align-items:center;gap:10px;padding:0 10px 14px;min-width:0}
.signed-in-avatar{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:rgba(242,235,217,.14);color:var(--cream);font-size:12px;font-weight:700}
.signed-in>div{min-width:0}
.signed-in-label{display:block;font-size:10px;color:rgba(242,235,217,.65);margin-bottom:3px}
#signed-in-name{display:block;font-size:13px;line-height:1.4;color:var(--cream);overflow-wrap:anywhere}
@media(max-width:900px){.signed-in{order:2;flex:1 1 100%;padding:6px 4px 0;border-top:1px solid rgba(242,235,217,.12)}.signed-in-avatar{flex-basis:30px;height:30px}.signed-in-label{display:inline;margin-right:7px}#signed-in-name{display:inline}}

.person-avatar{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;margin-right:8px;vertical-align:middle;background:var(--tint);color:var(--ink);font-size:11px;font-weight:700;border-radius:50%}
.person-avatar,.signed-in-avatar,.wk-avatar{position:relative;overflow:hidden}
.profile-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}

/* Overview metrics and selectable daily series. */
:root{--chart-cpa:#7a5eb0}body.dark{--chart-cpa:#b49be8}
.overview-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.overview-chart-controls{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:12px;color:var(--muted)}
.overview-chart-controls label{display:inline-flex;align-items:center;gap:5px;cursor:pointer;margin:0;font-weight:500}
.overview-chart-controls input{width:15px;height:15px;margin:0;accent-color:var(--green)}
.overview-chart-controls i{display:inline-block;width:8px;height:8px;border-radius:50%}
.series-sales{background:var(--green)}.series-ads{background:var(--negative)}.series-cpa{background:var(--chart-cpa)}
.ch-sw .sw-ads{fill:var(--negative)}.ch-sw .sw-cpa{fill:var(--chart-cpa)}
.trend .section-head{flex-wrap:wrap;gap:12px}.chart-empty{padding:24px;color:var(--muted);text-align:center}
.product-chart{margin:12px 0 22px}.product-chart h3{font-size:12px;color:var(--muted);font-weight:600;margin:0 0 14px}
.product-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;margin:0 0 12px;font-size:12px}
.product-bar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-bar strong{font-variant-numeric:tabular-nums}
.product-bar meter{grid-column:1/-1;width:100%;height:10px;background:var(--line);border:0;border-radius:5px}
.product-bar meter::-webkit-meter-bar{background:var(--line);border:0}.product-bar meter::-webkit-meter-optimum-value{background:var(--green)}.product-bar meter::-moz-meter-bar{background:var(--green)}
@media(max-width:1100px){.overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
