/* Clean white + lavender. Borderless surfaces, quiet labels, one accent. */
:root{
  --bg:#F7F6FB; --surface:#FFFFFF; --sunk:#F3F1F9; --ink:#17142A; --ink-2:#4A4560; --muted:#8A85A0; --line:#EEEBF5;
  --brand:#4F49E5; --lav:#5F4FEA; --lav-ink:#FFFFFF; --lav-soft:#EEEBFF; --lav-mid:#C6BFFA;
  --good:#12936A; --good-soft:#E6F6EF; --warn:#C27A12; --warn-soft:#FDF3E3; --bad:#E0475E; --bad-soft:#FDECEF;
  --s1:#F08C6E; --s2:#3AB0A6; --s3:#D4A72C; --other:#C5C0D8;
  --shadow:0 1px 2px rgba(30,20,80,.04),0 4px 16px rgba(30,20,80,.04);
  --pop:0 12px 40px rgba(30,20,80,.14);
  --font:"Manrope","Avenir Next","Segoe UI",system-ui,sans-serif;
  --r:20px;
  --aur1:#DCD5FF; --aur2:#FFEDBF; --aur3:#D3E6FF; --aur-o:.55; --glow:rgba(95,79,234,.09);
  --spring:cubic-bezier(.34,1.56,.64,1); --smooth:cubic-bezier(.2,.8,.2,1);
  color-scheme:light;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --bg:#0F0E15; --surface:#18161F; --sunk:#201D2A; --ink:#F1EFF8; --ink-2:#C4BFD6; --muted:#8C87A3; --line:#26232F;
  --brand:#CFC9FF; --lav:#9D92FF; --lav-ink:#130F24; --lav-soft:#23203F; --lav-mid:#544B9E;
  --good:#4FD1A0; --good-soft:#15302A; --warn:#F0B055; --warn-soft:#352914; --bad:#FF7B8E; --bad-soft:#3A1C24;
  --s1:#F6A088; --s2:#62CFC5; --s3:#E8C452; --other:#4F4A63;
  --shadow:0 1px 2px rgba(0,0,0,.3); --pop:0 12px 40px rgba(0,0,0,.5);
  --aur1:#2A2366; --aur2:#3A2C10; --aur3:#102A4C; --aur-o:.6; --glow:rgba(157,146,255,.08);
  color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#0F0E15; --surface:#18161F; --sunk:#201D2A; --ink:#F1EFF8; --ink-2:#C4BFD6; --muted:#8C87A3; --line:#26232F;
  --brand:#CFC9FF; --lav:#9D92FF; --lav-ink:#130F24; --lav-soft:#23203F; --lav-mid:#544B9E;
  --good:#4FD1A0; --good-soft:#15302A; --warn:#F0B055; --warn-soft:#352914; --bad:#FF7B8E; --bad-soft:#3A1C24;
  --s1:#F6A088; --s2:#62CFC5; --s3:#E8C452; --other:#4F4A63;
  --shadow:0 1px 2px rgba(0,0,0,.3); --pop:0 12px 40px rgba(0,0,0,.5);
  --aur1:#2A2366; --aur2:#3A2C10; --aur3:#102A4C; --aur-o:.6; --glow:rgba(157,146,255,.08);
  color-scheme:dark}

*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);color:var(--ink);font-family:var(--font);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;font-feature-settings:"tnum" 0}
button,input,select{font:inherit;color:inherit}
[hidden]{display:none!important}
.num,td,.stat strong,.big{font-variant-numeric:tabular-nums}
:focus-visible{outline:2px solid var(--lav);outline-offset:2px;border-radius:8px}

/* top bar */
.top{position:sticky;top:env(safe-area-inset-top,0px);z-index:10;background:color-mix(in oklab,var(--bg) 82%,transparent);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--line)}
.top-inner{max-width:1200px;margin:0 auto;padding-inline:24px;height:60px;display:flex;align-items:center;gap:24px}
.brand{display:flex;align-items:center;gap:8px;flex:none;text-decoration:none;border-radius:8px}
.brand-icon{width:28px;height:28px;display:block;border-radius:7px}
/* wordmark drawn as a mask so it can take a theme colour */
.wordmark{display:block;width:86px;height:24px;background:var(--brand);-webkit-mask:url("../assets/buyhatke-wordmark.png") left center/contain no-repeat;mask:url("../assets/buyhatke-wordmark.png") left center/contain no-repeat}
.tabs{display:flex;gap:2px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none;position:relative;padding:4px;margin:-4px}
.tabs::-webkit-scrollbar{display:none}
.tabs button{border:0;background:none;cursor:pointer;padding:7px 13px;border-radius:999px;color:var(--muted);font-weight:600;font-size:13.5px;white-space:nowrap;display:flex;align-items:center;gap:6px;transition:color .15s,background .15s}
.tabs button:hover{color:var(--ink)}
.tabs button[aria-selected="true"]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}
.badge{background:var(--bad);color:#fff;font-size:10.5px;font-weight:700;border-radius:999px;padding:0 6px;line-height:16px}
.top-actions{display:flex;gap:4px;align-items:center;flex:none}
.live{display:flex;align-items:center;gap:7px;font-size:12.5px;font-weight:600;color:var(--ink-2);background:none;border:0;padding:6px 10px;border-radius:999px;cursor:pointer}
.live:hover{background:var(--sunk)}
.live #refreshed{color:var(--muted);font-weight:500}
.live i{width:6px;height:6px;border-radius:50%;background:var(--good);box-shadow:0 0 0 3px var(--good-soft)}
.live[aria-pressed="false"] i{background:var(--muted);box-shadow:none}
.icon-btn{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;border:0;background:none;cursor:pointer;color:var(--muted)}
.icon-btn:hover{color:var(--ink);background:var(--sunk)}
.icon-btn svg{width:17px;height:17px}
.icon-btn.spin svg{animation:spin .6s ease}
@keyframes spin{to{transform:rotate(360deg)}}

.wrap{max-width:1200px;margin:0 auto;padding-inline:24px;padding-block:22px 40px;display:flex;flex-direction:column;gap:22px}

/* filters */
.filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
select{appearance:none;cursor:pointer;background-color:var(--surface);border:0;box-shadow:var(--shadow);border-radius:999px;padding:7px 30px 7px 14px;font-size:13px;font-weight:600;color:var(--ink);min-width:0;max-width:100%;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238A85A0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
select:hover{box-shadow:0 0 0 1px var(--lav-mid)}
input[type="search"]{background:var(--sunk);border:0;border-radius:999px;padding:7px 14px;font-size:13px;width:200px;min-width:0}
input[type="search"]::placeholder{color:var(--muted)}
.seg{display:inline-flex;background:var(--sunk);border-radius:999px;padding:3px;gap:2px;flex-wrap:wrap;position:relative}
.filters .seg{margin-left:auto;background:var(--surface);box-shadow:var(--shadow)}
.seg button{border:0;background:none;padding:4px 11px;border-radius:999px;font-size:12.5px;font-weight:600;color:var(--muted);cursor:pointer;white-space:nowrap;transition:background .15s,color .15s}
.seg button:hover{color:var(--ink)}
.seg button[aria-checked="true"]{background:var(--lav);color:var(--lav-ink)}
.panel>.seg{align-self:flex-start}
.seg .count{font-weight:500;opacity:.7;margin-left:5px}

/* view */
.view{display:flex;flex-direction:column;gap:20px}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
h1{font-weight:700;font-size:clamp(22px,2.6vw,28px);line-height:1.15;letter-spacing:-.03em;margin:0;text-wrap:balance}
.ctx{color:var(--muted);margin:4px 0 0;font-size:13.5px}
.head-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center}

.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.stat{background:var(--surface);border-radius:16px;box-shadow:var(--shadow);padding:16px 18px;display:flex;flex-direction:column;gap:2px;min-width:0}
.stat label{font-size:12.5px;color:var(--muted);font-weight:500}
.stat strong{font-weight:600;font-size:26px;letter-spacing:-.03em;line-height:1.2}
.tag{font-size:12px;font-weight:600;color:var(--muted)}
.tag.good{color:var(--good)} .tag.warn{color:var(--warn)} .tag.bad{color:var(--bad)}

.main{display:grid;grid-template-columns:1.7fr 1fr;gap:16px}
.main.even{grid-template-columns:1fr 1fr}
.panel{background:var(--surface);border-radius:var(--r);box-shadow:var(--shadow);padding:20px 22px;display:flex;flex-direction:column;gap:16px;min-width:0}
.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.panel h2{font-size:15px;font-weight:700;margin:0;letter-spacing:-.01em}
.panel .sub{font-size:12.5px;color:var(--muted);margin:2px 0 0}
.panel-head>.sub{margin:0}
.big-inline{font-size:22px;font-weight:700;letter-spacing:-.02em;text-align:right}
.chart-box{min-height:120px;width:100%}
svg.chart{width:100%;height:auto;display:block;overflow:visible}
.ax{fill:var(--muted);font-size:11px;font-family:var(--font)}
.gridline{stroke:var(--line)}
.band{fill:var(--lav-soft);opacity:.6}
.band-label{fill:var(--lav);font-weight:600}
.cross{stroke:var(--lav-mid)}
.row-label{fill:var(--ink-2);font:600 12.5px var(--font)}
.dot-label{fill:var(--ink);font:700 11px var(--font)}
.quad{fill:var(--bad-soft);opacity:.7}
.quad-label{fill:var(--bad);font:700 11.5px var(--font)}
.split-line{stroke:var(--muted);stroke-dasharray:3 4;opacity:.5}
.pt{cursor:pointer;transition:r .12s}
.pt:hover{r:8}
.spark{width:72px;height:20px;display:block}

/* lists */
.list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.list button{all:unset;box-sizing:border-box;width:100%;cursor:pointer;display:flex;gap:14px;align-items:center;padding:10px 12px;border-radius:12px;transition:background .15s}
.list button:hover{background:var(--sunk)}
.list button:focus-visible{outline:2px solid var(--lav)}
.list button[aria-pressed="true"]{background:var(--lav-soft)}
.list .big{font-size:22px;font-weight:700;min-width:58px;letter-spacing:-.03em}
.list p{margin:0;font-size:13.5px;font-weight:600}
.list p em{display:block;font-style:normal;color:var(--muted);font-size:12px;font-weight:500}
.list.fill{flex:1;gap:8px}
.list.fill li{flex:1;display:flex;min-height:64px}
.list.fill button{background:var(--sunk);padding:12px 16px;gap:12px;border-radius:14px}
.list.fill button:hover{background:var(--lav-soft)}
.list.fill button[aria-pressed="true"]{background:var(--lav-soft);box-shadow:inset 0 0 0 1.5px var(--lav-mid)}
.list .body{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.list .go{color:var(--muted);font-size:15px;transition:transform .15s,color .15s}
.list button:hover .go{transform:translateX(3px);color:var(--ink)}
.mbar{display:block;height:4px;border-radius:9px;background:color-mix(in oklab,currentColor 14%,transparent);overflow:hidden}
.mbar i{display:block;height:100%;border-radius:9px;background:currentColor}
.c-good{color:var(--good)} .c-warn{color:var(--warn)} .c-bad{color:var(--bad)} .c-lav{color:var(--lav)} .c-muted{color:var(--muted)}

/* table */
.toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between}
.toolbar .left,.toolbar .right{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.tbl{overflow-x:auto;margin-inline:-6px}
table{width:100%;border-collapse:separate;border-spacing:0;font-size:13.5px;min-width:600px}
.main.even table{min-width:440px}
th{text-align:left;font-size:12px;font-weight:600;color:var(--muted);padding:0 10px 8px;white-space:nowrap;user-select:none;border-bottom:1px solid var(--line)}
th.sortable{cursor:pointer}
th.sortable:hover{color:var(--ink)}
th .arrow{margin-left:3px;color:var(--lav)}
td{padding:11px 10px;vertical-align:middle;border-bottom:1px solid var(--line)}
tbody tr:last-child td{border-bottom:0}
td.r,th.r{text-align:right}
td small{display:block;color:var(--muted);font-size:12px}
tr.clickable{cursor:pointer}
tr.clickable td{transition:background .12s}
tr.clickable:hover td{background:var(--sunk)}
tr.sel td{background:var(--lav-soft)}
tr td:first-child{border-radius:10px 0 0 10px} tr td:last-child{border-radius:0 10px 10px 0}
.empty{padding:28px;text-align:center;color:var(--muted)}
.more{align-self:center}

/* status: dot + text */
.pill{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;white-space:nowrap;color:var(--muted)}
.pill::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}
.pill.good{color:var(--good)} .pill.warn{color:var(--warn)} .pill.bad{color:var(--bad)} .pill.lav{color:var(--lav)}
.pill.new{font-size:11px;padding:1px 7px;border-radius:999px;background:var(--lav-soft);color:var(--lav);margin-left:6px}
.pill.new::before{display:none}

.btn{border:0;background:var(--sunk);border-radius:999px;padding:7px 14px;font-size:12.5px;font-weight:600;cursor:pointer;white-space:nowrap;color:var(--ink-2);transition:background .15s}
.btn:hover{background:var(--lav-soft);color:var(--lav)}
.btn.primary{background:var(--lav);color:var(--lav-ink)}
.btn.primary:hover{filter:brightness(1.06)}
.btn.small{padding:4px 11px;font-size:12px}
.btn.on{background:var(--lav-soft);color:var(--lav)}
.btn.ghost{background:none;color:var(--muted)}
.btn.ghost:hover{background:var(--sunk);color:var(--ink)}
.chip-x{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;padding:3px 4px 3px 10px;border-radius:999px;background:var(--lav-soft);color:var(--lav)}
.chip-x button{border:0;background:none;cursor:pointer;color:inherit;font-size:14px;line-height:1;padding:0 4px}
.range{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--muted);font-weight:500}
.range input{accent-color:var(--lav);width:100px}
.range b{color:var(--ink);font-variant-numeric:tabular-nums}
.check{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;cursor:pointer;color:var(--muted);font-weight:500}
.check input{accent-color:var(--lav);width:15px;height:15px;margin:0}

/* zip tiles */
.tiles{display:grid;grid-template-columns:repeat(8,1fr);gap:5px}
.tiles button{border:0;cursor:pointer;aspect-ratio:1.5;max-width:100%;border-radius:10px;display:grid;place-items:center;font-size:11px;font-weight:600;color:var(--ink-2);transition:transform .3s var(--spring),opacity .4s calc(var(--k,0)*22ms),background-color .55s calc(var(--k,0)*22ms) ease,color .3s calc(var(--k,0)*22ms)}
.tiles button:hover{transform:scale(1.12);z-index:1}
.tiles button.dark{color:#fff}
.tiles button[aria-pressed="true"]{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--ink)}
.tiles button.dim{opacity:.15}
.legend{display:flex;align-items:center;gap:10px;font-size:11.5px;color:var(--muted)}
.legend .ramp{flex:1;height:6px;border-radius:99px}
.legends{display:flex;gap:4px 14px;flex-wrap:wrap}
.lg{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:3px 0;border:0;background:none;cursor:pointer;color:var(--ink-2)}
.lg i{width:8px;height:8px;border-radius:50%}
.lg span{color:var(--muted);font-weight:500}
.lg[aria-pressed="false"]{opacity:.4}
.lg[aria-pressed="false"] i{background:transparent!important;box-shadow:inset 0 0 0 1.5px var(--muted)}
.key{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);font-weight:500}
.key i{width:8px;height:8px;border-radius:50%}

.eq{display:flex;flex-direction:column}
.eq div{display:flex;justify-content:space-between;padding:8px 0;font-size:13.5px;font-variant-numeric:tabular-nums}
.eq div span:first-child{color:var(--muted)}
.eq .total{font-weight:700;border-top:1px solid var(--line);margin-top:4px;padding-top:12px}
.eq .total span:first-child{color:var(--ink)}
.callout{border-radius:12px;padding:11px 14px;font-size:13px;font-weight:600;background:var(--lav-soft);color:var(--lav);line-height:1.45}
.callout.warn{background:var(--warn-soft);color:var(--warn)} .callout.good{background:var(--good-soft);color:var(--good)} .callout.bad{background:var(--bad-soft);color:var(--bad)}

/* assortment */
.split{display:flex;height:44px;border-radius:12px;overflow:hidden;gap:3px}
.split button{border:0;cursor:pointer;display:flex;align-items:center;padding-inline:12px;font-weight:700;font-size:13px;font-variant-numeric:tabular-nums;min-width:24px;white-space:nowrap;overflow:hidden;transition:filter .15s,opacity .15s}
.split button:hover{filter:brightness(.97)}
.split button[aria-pressed="false"]{opacity:.55}
.split-keys{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.split-keys div{display:flex;flex-direction:column;font-size:12.5px;color:var(--muted);font-weight:500}
.split-keys strong{font-size:20px;color:var(--ink);font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.minis{display:grid;grid-template-columns:1fr 1fr;gap:18px 12px}
.mini strong{display:block;font-size:24px;font-weight:700;letter-spacing:-.03em;line-height:1.15;font-variant-numeric:tabular-nums}
.mini span{font-size:12.5px;color:var(--muted);font-weight:500}

.meters{display:flex;flex-direction:column;gap:16px}
.meter{display:grid;grid-template-columns:1fr auto;gap:7px 12px;align-items:center;font-size:13px;font-weight:500;color:var(--ink-2)}
.meter strong{color:var(--ink)}
.meter .bar{grid-column:1 / -1;height:6px;border-radius:99px;background:var(--sunk);overflow:hidden}
.meter .bar i{display:block;height:100%;border-radius:99px;background:var(--lav);transition:width .4s ease}
.meter .bar i.warn{background:var(--warn)}

/* alerts */
.alerts{list-style:none;margin:0 -6px;padding:0;display:flex;flex-direction:column;max-height:400px;overflow:auto}
.alerts li{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;padding:10px 6px;border-radius:10px;font-size:13px}
.alerts li:hover{background:var(--sunk)}
.alerts li.fresh{animation:slide-in .6s var(--spring),flash 2.4s ease}
@keyframes slide-in{from{opacity:0;transform:translateY(-14px) scale(.97)}}
.alerts li.ack{opacity:.4}
.alerts time{color:var(--muted);font-size:12px}
.alerts .txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.alerts .txt>span{font-weight:600;color:var(--ink)}
.alerts .txt small{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:12px}
.alerts .ackb{width:26px;height:26px;border-radius:50%;border:0;background:var(--sunk);cursor:pointer;color:var(--muted);font-size:12px}
.alerts .ackb:hover{background:var(--lav-soft);color:var(--lav)}
@keyframes flash{0%{background:var(--lav-soft)}100%{background:transparent}}

/* drawer */
.scrim{position:fixed;inset:0;background:rgba(15,10,35,.28);backdrop-filter:blur(2px);z-index:20}
.drawer{position:fixed;top:10px;right:10px;bottom:10px;width:min(540px,calc(100% - 20px));background:var(--surface);border-radius:22px;z-index:21;overflow:auto;padding:24px;display:flex;flex-direction:column;gap:18px;box-shadow:var(--pop);animation:drawer-in .6s cubic-bezier(.2,1.15,.3,1) both}
.drawer.closing{animation:drawer-out .26s cubic-bezier(.5,0,.75,0) both}
.scrim{animation:fade .35s ease both}
.scrim.closing{animation:fade .26s ease reverse both}
@keyframes drawer-in{from{transform:translateX(70px) scale(.96);opacity:0;filter:blur(6px)}}
@keyframes drawer-out{to{transform:translateX(60px) scale(.97);opacity:0}}
@keyframes fade{from{opacity:0}}
.drawer h2{font-size:22px;font-weight:700;margin:0;letter-spacing:-.03em}
.drawer .eyebrow{font-size:12px;font-weight:600;color:var(--lav)}
.drawer .ctx{margin-top:2px}
.drawer .panel{box-shadow:none;padding:0}
.drawer .close{position:absolute;top:18px;right:18px}
.drawer table{min-width:0}

/* toasts + tooltip */
.toasts{position:fixed;bottom:calc(18px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);display:flex;flex-direction:column;gap:8px;z-index:30;width:min(420px,calc(100% - 32px))}
.toast{background:var(--ink);color:var(--bg);padding:10px 16px;border-radius:12px;font-size:13px;font-weight:500;box-shadow:var(--pop);animation:toast-in .55s var(--spring) both}
.toast.out{animation:toast-out .3s ease both}
@keyframes toast-in{from{opacity:0;transform:translateY(24px) scale(.9)}}
@keyframes toast-out{to{opacity:0;transform:translateY(10px) scale(.95)}}
.tip{position:fixed;top:0;left:0;z-index:40;pointer-events:none;transition:transform .12s var(--smooth);animation:fade .18s ease;background:var(--surface);color:var(--ink);border-radius:12px;padding:10px 12px;font-size:12.5px;min-width:150px;max-width:280px;box-shadow:var(--pop);border:1px solid var(--line)}
.tip b{display:block;margin-bottom:4px;font-weight:700}
.tip-row{display:flex;align-items:center;gap:7px;color:var(--ink-2)}
.tip-row i{width:7px;height:7px;border-radius:50%}
.tip-row span{margin-left:auto;padding-left:14px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.tip-note{color:var(--muted);margin-top:4px}

.foot{color:var(--muted);font-size:12px;text-align:center}

@media (max-width:960px){.main,.main.even{grid-template-columns:1fr}}
@media (max-width:860px){
  .top-inner{height:auto;flex-wrap:wrap;padding-block:10px;gap:8px 16px}
  .tabs{order:3;flex:1 0 100%}
}
@media (max-width:640px){
  .top-inner,.wrap{padding-inline:16px}
  .live #refreshed{display:none}
  .stats{grid-template-columns:1fr 1fr;gap:8px}
  .tiles{grid-template-columns:repeat(6,1fr)}
  .filters .seg{margin-left:0}
  input[type="search"]{width:100%}
}

/* ================= motion ================= */
/* ambient light behind everything */
.aurora{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.aurora i{position:absolute;width:52vmax;height:52vmax;border-radius:50%;filter:blur(80px);opacity:var(--aur-o);will-change:transform}
.aurora i:nth-child(1){background:var(--aur1);left:-14vmax;top:-22vmax;animation:drift-a 26s ease-in-out infinite alternate}
.aurora i:nth-child(2){background:var(--aur2);right:-18vmax;top:10vh;width:40vmax;height:40vmax;opacity:calc(var(--aur-o)*.7);animation:drift-b 32s ease-in-out infinite alternate}
.aurora i:nth-child(3){background:var(--aur3);left:30vw;bottom:-30vmax;animation:drift-c 38s ease-in-out infinite alternate}
.aurora b{position:absolute;left:-300px;top:-300px;width:600px;height:600px;border-radius:50%;background:radial-gradient(closest-side,var(--glow),transparent);will-change:transform}
@keyframes drift-a{to{transform:translate(18vw,14vh) scale(1.15)}}
@keyframes drift-b{to{transform:translate(-22vw,26vh) scale(.85)}}
@keyframes drift-c{to{transform:translate(-20vw,-18vh) scale(1.2)}}
.wrap{position:relative;z-index:1}

/* entrance of the shell */
.top{animation:drop .8s var(--smooth) backwards}
@keyframes drop{from{transform:translateY(-100%);opacity:0}}
.brand-icon{transition:transform .5s var(--spring);animation:spin-in 1s .15s var(--spring) backwards}
.brand:hover .brand-icon{transform:rotate(-10deg) scale(1.1)}
@keyframes spin-in{from{transform:rotate(-120deg) scale(.2);opacity:0}}
.wordmark{animation:wipe .9s .35s var(--smooth) backwards}
@keyframes wipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
.filters>*{animation:rise .7s var(--smooth) backwards}
.filters>:nth-child(2){animation-delay:.06s} .filters>:nth-child(3){animation-delay:.12s} .filters>:nth-child(4){animation-delay:.18s}
@keyframes rise{from{opacity:0;transform:translateY(14px)}}

/* scroll progress along the top bar */
@supports (animation-timeline: scroll()){
  .top::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:linear-gradient(90deg,var(--lav),var(--brand),#F5B921);transform-origin:left;transform:scaleX(0);animation:progress linear both;animation-timeline:scroll(root)}
  @keyframes progress{to{transform:scaleX(1)}}
}

/* sliding thumbs */
.thumb{position:absolute;left:0;top:0;border-radius:999px;background:var(--lav);pointer-events:none;z-index:0;
  transition:transform .55s var(--spring),width .55s var(--spring),height .3s ease,opacity .2s}
.has-thumb>button{position:relative;z-index:1}
.seg.has-thumb button[aria-checked="true"]{background:none}
.tabs .thumb{background:var(--surface);box-shadow:var(--shadow),0 0 0 1px var(--line)}
.tabs.has-thumb button[aria-selected="true"]{background:none;box-shadow:none}

/* view switch: the old view slips away in the direction of travel */
.view.leave{opacity:0;transform:translateX(calc(var(--dir,0)*-40px)) scale(.985);filter:blur(8px);transition:opacity .19s ease,transform .19s ease,filter .19s ease}

/* scroll reveals */
.rv{opacity:0;transform:translate(calc(var(--dir,0)*40px),26px) scale(.97);filter:blur(10px)}
.rv.in{opacity:1;transform:none;filter:none;transition:opacity .7s ease var(--d),transform 1s var(--smooth) var(--d),filter .8s ease var(--d)}
.head .w{display:inline-block}
.head.rv h1 .w{opacity:0;transform:translateY(.6em) rotate(5deg);filter:blur(6px)}
.head.rv.in h1 .w{animation:word .8s var(--spring) both;animation-delay:calc(var(--d) + var(--w)*55ms)}
@keyframes word{from{opacity:0;transform:translateY(.6em) rotate(5deg);filter:blur(6px)}to{opacity:1;transform:none;filter:none}}

/* table rows cascade in (held until their panel is revealed) */
tbody tr.row-in{animation:row-in .55s var(--smooth) both;animation-delay:calc(var(--k)*30ms)}
.rv:not(.in) tbody tr.row-in{animation-play-state:paused}
@keyframes row-in{from{opacity:0;transform:translateY(12px)}}

/* svg pieces scale around their own box */
svg.chart circle,svg.chart rect,svg.chart text{transform-box:fill-box;transform-origin:center}
svg.chart .quad{transform-origin:top right}
.cross,.hoverdots circle{transition:transform .16s var(--smooth)}

/* cursor spotlight + glowing edge on cards */
.panel,.stat{position:relative;isolation:isolate}
.stat{transition:transform .35s var(--smooth),box-shadow .35s ease;will-change:transform}
.stat:hover{box-shadow:0 18px 40px -16px color-mix(in oklab,var(--lav) 45%,transparent)}
.panel::before,.stat::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;opacity:0;transition:opacity .4s;
  background:radial-gradient(520px circle at var(--mx,50%) var(--my,50%),color-mix(in oklab,var(--lav) 8%,transparent),transparent 45%)}
.panel::after,.stat::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;padding:1px;opacity:0;transition:opacity .4s;
  background:radial-gradient(260px circle at var(--mx,50%) var(--my,50%),color-mix(in oklab,var(--lav) 70%,transparent),transparent 70%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
.panel:hover::before,.stat:hover::before,.panel:hover::after,.stat:hover::after{opacity:1}
.drawer .panel::before,.drawer .panel::after{display:none}

/* tactile presses */
.btn,.icon-btn,.seg button,.tabs button,.lg,.split button,.list button{transition:transform .25s var(--spring),background .15s,color .15s,filter .15s,opacity .15s}
.btn:active,.icon-btn:active,.seg button:active,.tabs button:active,.lg:active,.list button:active{transform:scale(.94)}
.split button:active{transform:scaleY(.92)}
.list.fill button:hover{transform:translateX(3px)}
.list.fill button:active{transform:scale(.98)}
.icon-btn:hover svg{transform:rotate(-14deg);transition:transform .4s var(--spring)}

/* live heartbeat */
.live i{position:relative}
.live[aria-pressed="true"] i::after{content:"";position:absolute;inset:0;border-radius:50%;background:var(--good);animation:ping 1.8s cubic-bezier(0,0,.2,1) infinite}
@keyframes ping{75%,100%{transform:scale(3.2);opacity:0}}

.confetti{position:fixed;width:7px;height:7px;margin:-3.5px 0 0 -3.5px;border-radius:2px;pointer-events:none;z-index:50}

/* circular theme reveal */
html.vt-theme::view-transition-old(root),html.vt-theme::view-transition-new(root){animation:none;mix-blend-mode:normal}

@media (prefers-reduced-motion:reduce){.aurora i{animation:none}.rv{opacity:1;transform:none;filter:none}}

/* ================= hover focus: grow the hovered bar, dim its siblings, show a card ================= */
.tip-lead{margin:-2px 0 6px}
.tip-row.hl{color:var(--ink);font-weight:700}
.tip-row.hl span{color:var(--lav)}
.tip-bar{flex:1;min-width:40px;height:4px;border-radius:9px;background:var(--sunk);overflow:hidden;margin-left:10px}
.tip-bar i{display:block;height:100%;border-radius:9px;background:var(--lav)}
.tip-row:has(.tip-bar) span{padding-left:10px;margin-left:0}
.tip{min-width:210px}

.meter{padding:7px 10px;margin:-7px -10px;border-radius:12px;cursor:default;transition:opacity .25s,background .25s}
.meters:hover .meter:not(:hover){opacity:.4}
.meter:hover{background:var(--sunk)}
.meter strong{display:inline-block;transform-origin:right center;transition:transform .35s var(--spring),color .2s}
.meter:hover strong{transform:scale(1.18);color:var(--lav)}
.meter .bar{transition:height .35s var(--spring),background .25s}
.meter:hover .bar{height:10px;background:var(--surface)}
.meter .bar i{color:var(--lav);transition:width .4s ease,box-shadow .3s}
.meter .bar i.warn{color:var(--warn)}
.meter:hover .bar i{box-shadow:0 0 14px color-mix(in oklab,currentColor 70%,transparent)}
.meter:hover strong:has(+ .bar i.warn){color:var(--warn)}

.list.fill li{transition:opacity .25s}
.list.fill:hover li:not(:hover){opacity:.5}
.mbar{transition:height .35s var(--spring)}
.list.fill button:hover .mbar{height:8px}
.mbar i{transition:box-shadow .3s}
.list.fill button:hover .mbar i{box-shadow:0 0 12px color-mix(in oklab,currentColor 70%,transparent)}
.list.fill .big{display:inline-block;transition:transform .35s var(--spring)}
.list.fill button:hover .big{transform:scale(1.12)}

.split button{transition:transform .25s var(--spring),filter .2s,opacity .25s}
.split:hover button:not(:hover){opacity:.4}
.tiles button{transition-property:transform,opacity,background-color,color,filter}
.tiles:hover button:not(:hover){filter:saturate(.5) opacity(.6)}
.pt{transition:r .12s,opacity .3s}
.pt.faded{opacity:.1}
.dot-hit{transition:r .2s var(--spring)}
.dot-hit:hover{r:10}
.lg{transition:opacity .2s,transform .25s var(--spring)}

/* ================= revamp: KVIs, ZIP compare, price ladder, MAP, alerts ================= */
svg.chart .hbar.up{transform-origin:bottom center}
svg.chart .hbar.down{transform-origin:top center}
.hbar{transition:opacity .25s}
.hbar.faded{opacity:.15}
.bar-n{fill:var(--muted);font:600 10.5px var(--font)}
.landscape .ridge{transform-box:fill-box;transform-origin:center bottom}
.landscape .ridge.down{transform-origin:center top}
.landscape .bandbg{fill:transparent;transition:fill .25s}
.landscape .bandbg.on{fill:var(--sunk)}
.landscape .bandbg.sel{fill:var(--lav-soft)}
.landscape .bandhit{cursor:pointer;outline:none}
.landscape .guide{stroke-width:1.2;opacity:.55}
.landscape .guide-label{font:700 11px var(--font)}
.landscape .halo{paint-order:stroke;stroke:var(--surface);stroke-width:3px;stroke-linejoin:round}
.landscape .lrow{transition:opacity .3s}
.landscape .ridge-fill,.landscape .ridge-edge{transition:fill-opacity .3s,stroke-width .3s}
.landscape.has-hot .lrow:not(.hot){opacity:.28}
.landscape .lrow.hot .ridge-edge{stroke-width:3}
.landscape .lv text{font:600 10.5px var(--font);fill:var(--ink-2);opacity:0;transition:opacity .25s;paint-order:stroke;stroke:var(--surface);stroke-width:3px}
.landscape .lv .lv-avg{font-weight:700}
.landscape .lrow.hot .lv text,.landscape .lrow.me .lv .lv-avg{opacity:1}
.landscape.has-hot .lrow.me:not(.hot) .lv text{opacity:0}
.landscape .scan line{stroke:var(--ink-2);stroke-width:1;stroke-dasharray:2 3;opacity:.6}
.landscape .scan-pill{fill:var(--ink)}
.landscape .scan text{fill:var(--surface);font:700 10.5px var(--font)}
.tip-row.hl{font-weight:700;color:var(--ink)}
.tip-sep{height:1px;background:var(--line);margin:6px 0}
.row-label.me{fill:var(--lav);font-weight:700}
.hist-key{font-weight:600}
.band-chip:empty{display:none}

.eq.cmp div{display:grid;grid-template-columns:1fr 90px 100px;gap:8px}
.eq.cmp div span:not(:first-child){text-align:right}
.eq.cmp .eq-h span{font-size:12px;color:var(--muted);font-weight:600}
.eq.cmp .eq-h{padding-bottom:2px}

button.link{all:unset;cursor:pointer;font-weight:600;color:var(--ink);border-radius:4px;background-image:linear-gradient(currentColor,currentColor);background-size:0 1.5px;background-position:0 100%;background-repeat:no-repeat;transition:background-size .3s var(--smooth),color .2s}
button.link:hover{color:var(--lav);background-size:100% 1.5px}
button.link:focus-visible{outline:2px solid var(--lav)}
.row-acts{display:inline-flex;gap:6px;align-items:center;justify-content:flex-end;white-space:nowrap}
.btn[disabled]{opacity:.45;cursor:default;filter:none}
.map-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}
.link-row{display:flex;align-items:center;gap:10px;margin-top:10px}
.demo-note{font-size:11.5px;color:var(--muted)}
.drawer .minis{grid-template-columns:repeat(4,1fr)}
.drawer .mini strong{font-size:20px}
.composer{display:flex;flex-direction:column;gap:10px;background:var(--sunk);border-radius:16px;padding:16px}
.composer.open{box-shadow:inset 0 0 0 1.5px var(--lav-mid);animation:glow-in 1.2s ease}
@keyframes glow-in{from{box-shadow:inset 0 0 0 1.5px var(--lav),0 0 0 6px color-mix(in oklab,var(--lav) 25%,transparent)}}
.composer h3,.h3{margin:0;font-size:14px;font-weight:700}
.composer textarea{width:100%;resize:vertical;border:0;border-radius:12px;background:var(--surface);padding:12px 14px;font:inherit;font-size:13px;line-height:1.55;color:var(--ink)}
.composer textarea:focus{outline:2px solid var(--lav-mid)}
.composer-acts{display:flex;gap:8px;flex-wrap:wrap}
.timeline{list-style:none;margin:8px 0 0;padding:0 0 0 14px;border-left:2px solid var(--line);display:flex;flex-direction:column;gap:8px;font-size:13px}
.timeline li{position:relative}
.timeline li::before{content:"";position:absolute;left:-19px;top:6px;width:8px;height:8px;border-radius:50%;background:var(--lav)}
.timeline time{display:block;font-size:11.5px;color:var(--muted)}

.alerts.feed{max-height:none;overflow:visible;gap:2px}
.alerts.feed li{grid-template-columns:34px 1fr auto;padding:10px 8px}
.alerts.feed li.row-in{animation:row-in .5s var(--smooth) both;animation-delay:calc(var(--k)*25ms)}
.alerts .ico{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;font-weight:700;font-size:15px;color:var(--c);background:color-mix(in oklab,var(--c) 14%,transparent)}
.alerts.feed .txt small time{color:var(--muted)}
.alerts .acts{display:flex;gap:6px;align-items:center}
.alerts li .acts .btn{opacity:.75}
.alerts li:hover .acts .btn{opacity:1}
#feedMore{display:flex;justify-content:center}
#feedMore:empty{display:none}
@media (max-width:640px){
  .alerts.feed li{grid-template-columns:34px 1fr}
  .alerts .acts{grid-column:2}
  .drawer .minis{grid-template-columns:1fr 1fr}
  .eq.cmp div{grid-template-columns:1fr 70px 80px}
}

.pipeline{display:flex;align-items:stretch;gap:4px;margin-top:6px}
.pipeline>i{align-self:center;color:var(--muted);font-style:normal;font-size:13px}
.pipeline button{flex:1;border:0;background:var(--sunk);border-radius:14px;padding:12px 8px;display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer;transition:background .2s,transform .25s var(--spring)}
.pipeline button:hover{background:var(--lav-soft);transform:translateY(-2px)}
.pipeline button[aria-pressed="true"]{background:var(--lav-soft);box-shadow:inset 0 0 0 1.5px var(--lav-mid)}
.pipeline strong{font-size:22px;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.pipeline span{font-size:11.5px;color:var(--muted);font-weight:600;text-align:center}
.composer h3 .sub{font-weight:500;margin-left:6px}

/* ================= journeys mode ================= */
.mode-seg{flex:none;background:var(--sunk)}
.mode-seg button{padding:5px 12px;font-size:12.5px}
body.jn{--aur1:#CFF1EA;--aur2:#E3DCFF;--aur3:#FFE3D6}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) body.jn{--aur1:#0F3A35;--aur2:#2A2366;--aur3:#3A1E14}}
:root[data-theme="dark"] body.jn{--aur1:#0F3A35;--aur2:#2A2366;--aur3:#3A1E14}
.aurora i{transition:background 1.2s ease}
.tx-note{margin:0;font-size:12px;color:var(--muted);line-height:1.5}
.tx-note::before{content:"ⓘ ";color:var(--lav)}
.key i.hollow{background:var(--surface);box-shadow:inset 0 0 0 2px var(--muted)}
svg.chart .dot-hit.hollow{fill:var(--surface);stroke:var(--muted);stroke-width:2}
.pt-label{fill:var(--ink-2);font:600 11px var(--font);pointer-events:none;paint-order:stroke;stroke:var(--surface);stroke-width:3px}
.quad-label.muted{fill:var(--muted)}
tr.me td:first-child{box-shadow:inset 3px 0 0 var(--lav)}

/* diverging change bars */
.dlist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.dlist button{all:unset;box-sizing:border-box;width:100%;display:grid;grid-template-columns:minmax(120px,1.1fr) 1.3fr 76px;gap:12px;align-items:center;padding:8px 10px;border-radius:12px;cursor:default;transition:background .2s}
.dlist button[data-focus]{cursor:pointer}
.dlist button:hover,.dlist button[aria-pressed="true"]{background:var(--sunk)}
.dlist button:focus-visible{outline:2px solid var(--lav)}
.dl-label{display:flex;flex-direction:column;font-size:13px;font-weight:600;color:var(--ink);position:relative;padding-left:14px;min-width:0}
.dl-label i{position:absolute;left:0;top:6px;width:8px;height:8px;border-radius:50%}
.dl-label em{font-style:normal;font-weight:500;font-size:11.5px;color:var(--muted)}
.dlist .me .dl-label{color:var(--lav)}
.dl-track{position:relative;height:10px;border-radius:9px;background:linear-gradient(var(--line),var(--line)) center/1.5px 100% no-repeat}
.dl-track b{position:absolute;top:0;height:100%;border-radius:9px;transition:width .6s var(--spring),left .6s var(--spring)}
.dl-track b.pos{background:var(--good)} .dl-track b.neg{background:var(--bad)}
.dlist strong{text-align:right;font-size:13px;font-weight:700}

/* brand × marketplace heat table */
table.heat td.heat-cell{background:color-mix(in oklab,var(--c) var(--a),transparent);border-radius:8px}
table.heat td.heat-cell span{display:block;font-weight:600}
table.heat td.heat-cell em{font-style:normal;font-size:11.5px;font-weight:600}
table.heat{border-collapse:separate;border-spacing:3px}

/* discount make-up */
.stack-cmp{display:flex;flex-direction:column;gap:12px}
.stack-cmp>div>span{display:flex;justify-content:space-between;font-size:12.5px;font-weight:600;color:var(--ink-2);margin-bottom:5px}
.stack{display:flex;height:14px;border-radius:9px;background:var(--sunk);overflow:hidden;gap:2px}
.stack i{display:block;height:100%;transition:filter .2s}
.stack i:hover{filter:brightness(1.1) saturate(1.2)}

/* read-outs and to-dos */
.readout ul,.todo{margin:6px 0 0;padding-left:18px;display:flex;flex-direction:column;gap:8px;font-size:13px;color:var(--ink-2);line-height:1.5}
.todo{padding-left:0;list-style:none}
.todo li{padding:10px 12px;border-radius:12px;background:var(--sunk)}
.todo b{color:var(--ink)}
.readout b{color:var(--ink)}
.tops{list-style:none;margin:0;padding:0;counter-reset:t;display:flex;flex-direction:column;gap:2px}
.tops li{counter-increment:t;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 0;font-size:13px;font-weight:600;border-bottom:1px solid var(--line)}
.tops li:last-child{border-bottom:0}
.tops li>span:first-child{display:flex;flex-direction:column;min-width:0}
.tops li>span:first-child::before{content:counter(t) ". ";position:absolute;margin-left:-22px;color:var(--muted);font-weight:500}
.tops li{padding-left:22px;position:relative}
.tops small{font-weight:500;color:var(--muted);font-size:11.5px}
.tops li.miss{color:var(--ink-2)}
.cov{display:flex;align-items:center;gap:8px;font-variant-numeric:tabular-nums}
.cov .mbar{width:70px;flex:none}
@media (max-width:860px){.mode-seg{order:2;margin-left:auto}}
@media (max-width:640px){.dlist button{grid-template-columns:1fr 1fr 64px;gap:8px}}
.quad.lav{fill:var(--lav-soft);opacity:.85}
.quad-label.lav{fill:var(--lav)}

/* journeys: tags, findings, funnel, histogram, journey timeline */
.otag{font-size:11px;font-weight:700;padding:3px 9px;border-radius:999px;white-space:nowrap;background:var(--sunk);color:var(--muted)}
.otag.obs{background:var(--good-soft);color:var(--good)} .otag.der{background:var(--lav-soft);color:var(--lav)} .otag.assoc{background:var(--warn-soft);color:var(--warn)}
.insight{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow)}
.insight>div{background:var(--surface);padding:16px 18px;display:flex;flex-direction:column;gap:6px}
.insight>div span{font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.insight>div:nth-child(3) span{color:var(--lav)}
.insight.bad>div:first-child span{color:var(--bad)}
.insight p{margin:0;font-size:13.5px;line-height:1.5;color:var(--ink-2)}
.insight>div:nth-child(3) p{color:var(--ink);font-weight:600}
.insight em{grid-column:1/-1;background:var(--sunk);font-style:normal;font-size:12px;color:var(--muted);padding:8px 18px}
.drawer .insight{grid-template-columns:1fr}
.meter span small{display:block;font-size:11.5px;color:var(--muted);font-weight:500}
.meter .bar i.me{background:var(--lav)} .meter.is-me span{color:var(--lav);font-weight:700}
.meter .bar i{background:var(--other)} .meter .bar i.warn{background:var(--warn)}
.funnel{display:flex;flex-direction:column;gap:14px}
.fstep{display:grid;gap:5px;padding:8px 10px;border-radius:12px;transition:background .2s}
.fstep.weak{background:var(--bad-soft)}
.fhead{display:flex;justify-content:space-between;gap:10px;align-items:baseline;flex-wrap:wrap}
.fhead b{font-size:13.5px} .fhead span{font-size:12px;color:var(--muted)}
.fbar{height:18px;border-radius:7px;background:var(--sunk);overflow:hidden}
.fbar.cat{height:8px}
.fbar i{display:flex;align-items:center;justify-content:flex-end;height:100%;border-radius:7px;background:var(--other);transition:width .8s var(--spring)}
.fbar i.me{background:var(--lav)}
.fbar em{font-style:normal;font-size:11px;font-weight:700;color:var(--lav-ink);padding-right:7px}
.fbar.cat em{display:none}
.lead{margin:0;font-size:14px;color:var(--ink-2)}
.hist{display:flex;gap:10px;align-items:stretch;height:200px}
.hcol{flex:1;display:flex;flex-direction:column;gap:6px;min-width:0}
.hbars{flex:1;display:flex;align-items:flex-end;gap:3px;border-bottom:1.5px solid var(--line)}
.hbars i{flex:1;border-radius:6px 6px 0 0;background:var(--other);transition:height .8s var(--spring)}
.hbars i.me{background:var(--lav)}
.hcol span{font-size:11px;color:var(--muted);text-align:center;font-weight:600}
.hcol:hover .hbars i{filter:brightness(1.08)}
.shapes{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.shapes li{display:grid;grid-template-columns:10px 1fr auto 70px;gap:10px;align-items:center;padding:6px 0;border-bottom:1px solid var(--line)}
.shapes li:last-child{border-bottom:0}
.shapes li>i{width:10px;height:10px;border-radius:3px}
.shapes b{font-size:13px;display:block} .shapes small{font-size:11.5px;color:var(--muted)}
.shapes strong{font-size:13px} .shapes em{font-style:normal;font-size:12px;font-weight:600;text-align:right}
.jmini{list-style:none;margin:0;padding:0 0 0 14px;border-left:2px solid var(--line);display:flex;flex-direction:column;gap:8px;font-size:13px;color:var(--ink-2)}
.jmini b{display:inline-block;width:56px;color:var(--muted);font-weight:600;font-size:12px}
.jmini li{position:relative}
.jmini li::before{content:"";position:absolute;left:-20px;top:5px;width:8px;height:8px;border-radius:50%;background:var(--lav)}
.jmini li.s-explore::before{background:var(--s2)} .jmini li.s-buy::before{background:var(--good)} .jmini li.s-after::before{background:var(--s3)}
.jtl{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.jtl li{display:grid;grid-template-columns:56px 74px 1fr;gap:8px;align-items:baseline;padding:8px 0 8px 14px;border-left:3px solid var(--c);font-size:13px}
.jtl time{font-weight:700;color:var(--muted);font-size:12px}
.jtl .stg{font-size:11px;font-weight:700;color:var(--c);text-transform:uppercase;letter-spacing:.04em}
.jtl p{margin:0;color:var(--ink)}
.stars{color:var(--warn);letter-spacing:2px} .stars i{color:var(--line);font-style:normal}
.outcome{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;font-size:13px}
.outcome li{padding:8px 12px;border-radius:10px;background:var(--sunk);color:var(--ink-2)}
.outcome li.won{background:var(--good-soft);color:var(--good);font-weight:600} .outcome li.lost{background:var(--bad-soft);color:var(--bad);font-weight:600}
svg.flow .link{fill-opacity:.32;transition:fill-opacity .25s}
svg.flow .link:hover{fill-opacity:.62}
svg.flow .link.faded{fill-opacity:.07}
svg.radar .ring{stroke:var(--line)}
svg.radar .radar-ax{font-weight:600;fill:var(--ink-2)}
svg.radar .wedge{cursor:default}
@media (max-width:860px){.insight{grid-template-columns:1fr}}
svg.flow .link{transform-box:view-box;transform-origin:50% 50%}
svg.radar .ridge-shape{transform-box:view-box;transform-origin:50% 51%}
.compact table,.tbl.compact table{min-width:0}
svg.flow .flow-head{font-weight:700;text-transform:uppercase;letter-spacing:.05em;font-size:10.5px}
