/* Honey-bee v2 · Usage across the board. Every class is u- prefixed; colours come from kit tokens, plus --sc (the plan's own colour) set per card */
.u-sec{margin-top:8px}
.u-sec-plans{align-items:center;flex-wrap:wrap;row-gap:8px}
.u-sec-t{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;min-width:0}
.u-barkey{gap:16px}
.u-mk{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;flex:none;font-size:15px;font-weight:650;letter-spacing:-.02em}
.u-mk.sm{width:28px;height:28px;border-radius:9px;font-size:12.5px}
.u-mk svg{width:16px;height:16px}
.u-mk-n{background:var(--sunk);color:var(--ink-2)}
.u-st{height:24px;padding:0 9px;font-size:12.5px;gap:5px} .u-st .dot{width:6px;height:6px}

/* ---------- (1) the answer ---------- */
.u-ans{display:flex;flex-direction:column;gap:10px;padding:14px 2px 4px}
.u-h{font-size:30px;line-height:1.14;letter-spacing:-.035em;font-weight:600;max-width:38ch}
.u-p{font-size:17px;line-height:1.55;color:var(--ink-2);max-width:72ch;letter-spacing:-.01em}
.u-p b{color:var(--ink);font-weight:600}
.u-p a{color:var(--ink);font-weight:600;text-decoration:none;background:linear-gradient(var(--line-2),var(--line-2)) 0 100%/100% 1.5px no-repeat;transition:background-size var(--t2)}
.u-p a:hover{background-image:linear-gradient(var(--ink),var(--ink))}
.u-jumps{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px}
.u-jump{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 6px 0 11px;border-radius:11px;background:var(--sunk);font-size:13.5px;font-weight:550;color:var(--ink);transition:background var(--t2),transform var(--t1) var(--e-out)}
.u-jump:hover{background:var(--press)} .u-jump:active{transform:scale(.97)}
.u-jump>i{width:8px;height:8px;border-radius:3px;background:var(--sc)}
.u-jn{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.u-jl{flex:none;height:24px;display:inline-flex;align-items:center;padding:0 8px;border-radius:8px;font-size:12.5px;font-weight:600;font-variant-numeric:tabular-nums}
.u-jl.warn{background:var(--warn-soft);color:var(--warn)} .u-jl.bad{background:var(--bad-soft);color:var(--bad)}
.u-fresh{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted);margin-left:4px}
.u-fresh svg{width:15px;height:15px;color:var(--good)}

/* ---------- (2) coming up ---------- */
.u-cu{padding:18px 18px 10px}
.u-cu-h{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:0 4px 14px}
.u-cu-h h2{font-size:17px}
.u-legend{display:inline-flex;gap:14px;font-size:12.5px;color:var(--muted);font-weight:500}
.u-legend>span{display:inline-flex;align-items:center;gap:6px}
.u-g-r,.u-g-n,.u-g-o{display:inline-block;width:8px;height:8px;flex:none}
.u-g-r{border-radius:50%;background:var(--c)}
.u-g-n{border-radius:50%;box-shadow:inset 0 0 0 2px var(--c)}
.u-g-o{width:9px;height:8px;background:var(--warn);clip-path:polygon(50% 0,100% 100%,0 100%)}
.u-days{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:4px}
.u-day{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 2px 9px;border-radius:13px;transition:background var(--t2),transform var(--t1) var(--e-out)}
.u-day:hover{background:var(--hover)} .u-day:active{transform:scale(.95)}
.u-day .u-dw{font-size:12px;color:var(--muted);font-weight:550}
.u-day .u-dn{min-width:30px;height:30px;padding:0 6px;border-radius:15px;display:grid;place-items:center;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.u-day.empty .u-dn{color:var(--muted);font-weight:500}
.u-day.is-today .u-dw{color:var(--ink)} .u-day.is-today .u-dn{background:var(--ink);color:var(--bg)}
.u-day.on{background:var(--accent-soft)} .u-day.on .u-dw{color:var(--accent-text)}
.u-dots{display:flex;gap:3px;align-items:center;justify-content:center;min-height:9px;flex-wrap:wrap;max-width:44px}
.u-dots em{font-style:normal;font-size:10.5px;font-weight:600;color:var(--muted)}
.u-evs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(var(--rows,1),auto);grid-auto-flow:column;gap:2px 16px;margin-top:10px;padding-top:10px;box-shadow:inset 0 1px 0 var(--line)}
.u-ev{display:flex;align-items:center;gap:12px;padding:9px 8px;border-radius:12px;text-align:left;min-width:0;transition:background var(--t2)}
.u-ev:hover{background:var(--hover)}
.u-evt{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.u-evt b{font-size:14.5px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.u-evt>span{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:6px;min-width:0}
.u-evt>span>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.u-evt>span.u-evw{color:var(--warn);font-weight:550}
.u-evr{display:flex;flex-direction:column;align-items:flex-end;gap:1px;flex:none}
.u-evr b{font-size:13.5px;font-weight:600;white-space:nowrap} .u-evr span{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.u-more{display:block;margin:4px auto 2px;height:36px;padding:0 14px;border-radius:10px;font-size:13.5px;font-weight:600;color:var(--accent-text);transition:background var(--t2)}
.u-more:hover{background:var(--accent-soft)}
.u-none{padding:12px 8px}

/* ---------- (3) plan cards ---------- */
.u-cards{display:flex;flex-direction:column;gap:16px}
.u-card{overflow:hidden;scroll-margin-top:12px;position:relative;transition:box-shadow var(--t3)}
.u-card::before{content:"";position:absolute;inset:0 0 auto;height:88px;background:linear-gradient(180deg,color-mix(in srgb,var(--sc) 9%,transparent),transparent);pointer-events:none}
.u-card.u-flash{box-shadow:var(--sh-2),0 0 0 2px var(--sc);animation:uFlash 1.8s var(--e-out)}
@keyframes uFlash{0%,30%{box-shadow:var(--sh-2),0 0 0 2px var(--sc),0 0 0 8px color-mix(in srgb,var(--sc) 18%,transparent)}100%{box-shadow:var(--sh-2),0 0 0 0 transparent}}
.u-ch{position:relative;display:flex;align-items:center;gap:12px;padding:18px 18px 6px 20px}
.u-ct{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.u-ct h3{font-size:17px;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.u-ct>span{font-size:13.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.u-src{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);flex:none}
.u-sn{color:var(--ink-2);font-weight:500}
.u-off{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 8px 0 6px;border-radius:7px;background:var(--good-soft);color:var(--good);font-size:12px;font-weight:600}
.u-off.est{background:var(--warn-soft);color:var(--warn)} .u-off svg{width:13px;height:13px}
.u-ago{font-variant-numeric:tabular-nums;white-space:nowrap}
.u-ago [data-ago]{display:inline-block}
.u-ago .u-pop{animation:pop var(--t3) var(--e-spring)}
.u-rf svg{transition:transform var(--t3)} .u-rf.spinning svg,.u-topbtn.spinning svg{animation:spin .7s linear infinite}
.u-body{position:relative;display:flex;flex-direction:column;gap:12px;padding:6px 20px 18px}
.u-wins{display:flex;flex-direction:column;min-width:0}
.u-win{display:flex;flex-direction:column;gap:8px;padding:10px 0 12px}
.u-win+.u-win{box-shadow:inset 0 1px 0 var(--line)}
.u-w1{display:flex;align-items:center;gap:10px;min-width:0}
.u-wn{display:inline-flex;align-items:baseline;gap:8px;min-width:0;padding:2px 6px;margin:-2px -6px;border-radius:8px;text-align:left;transition:background var(--t2)}
.u-wn:hover{background:var(--hover)}
.u-wn b{font-size:15px;font-weight:600;white-space:nowrap}
.u-wn span{font-size:13.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.u-wn svg{width:15px;height:15px;color:var(--faint);align-self:center;flex:none;transition:color var(--t2)}
.u-wn[aria-expanded="true"] svg,.u-wn:hover svg{color:var(--ink-2)}
.u-left{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:-.01em}
.u-bar{position:relative;height:10px}
.u-track{position:absolute;inset:0;border-radius:999px;background:var(--sunk);overflow:hidden}
.u-used{position:absolute;left:0;top:0;bottom:0;border-radius:999px;background:var(--sc);transform-origin:left;animation:uGrow .7s var(--e-out) both;transition:width .6s var(--e-out)}
.u-proj{position:absolute;top:0;bottom:0;margin-left:2px;border-radius:0 999px 999px 0;background:repeating-linear-gradient(-45deg,color-mix(in srgb,var(--sc) 52%,transparent) 0 2px,transparent 2px 5px);animation:uFade .5s .45s both;transition:left .6s var(--e-out),width .6s var(--e-out)}
.u-proj.warn{background:repeating-linear-gradient(-45deg,color-mix(in srgb,var(--warn) 78%,transparent) 0 2px,transparent 2px 5px)}
.u-bar.out .u-used{background:var(--bad)}
.u-tick{position:absolute;top:-4px;bottom:-4px;width:2px;margin-left:-1px;border-radius:1px;background:var(--ink);box-shadow:0 0 0 2px var(--surface);animation:uFade .4s .55s both}
@keyframes uGrow{from{transform:scaleX(0)}}
@keyframes uFade{from{opacity:0}}
.u-w3{display:flex;align-items:baseline;justify-content:space-between;gap:6px 16px;flex-wrap:wrap;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.u-w3l{display:flex;flex-wrap:wrap;gap:0 6px} .u-un::after{content:"·";margin-left:6px}
.u-proj-t{font-weight:550;color:var(--ink-2)} .u-proj-t.warn{color:var(--warn)} .u-proj-t.bad{color:var(--bad)}
.u-note{font-size:13px;line-height:1.5;color:var(--muted);padding:10px 12px;border-radius:12px;background:var(--bg);animation:rise var(--t2) var(--e-out)}
.u-side{min-width:0}
.u-lim{margin:0;border-radius:16px;background:var(--bg);padding:14px 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.u-lr{display:flex;flex-direction:column;gap:3px;padding:0 16px;min-width:0}
.u-lr+.u-lr{box-shadow:inset 1px 0 0 var(--line)}
.u-lr dt{font-size:12.5px;color:var(--muted);font-weight:500}
.u-lr dd{margin:0;display:flex;flex-direction:column;gap:3px;min-width:0}
.u-lv{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--ink-2);font-variant-numeric:tabular-nums;min-height:28px}
.u-lv b{color:var(--ink);font-weight:600}
.u-lvt{min-width:0}
.u-has-use{position:relative}
.u-has-use .u-lv{padding-right:62px}
.u-use{position:absolute;right:0;top:0;height:28px;padding:0 14px;font-size:13px}
.u-ls{font-size:12.5px;color:var(--muted);line-height:1.4}
.u-mini{flex:1;min-width:30px;max-width:64px;height:5px;border-radius:3px;background:var(--line-2);overflow:hidden;margin-left:auto;position:relative}
.u-mini i{position:absolute;inset:0 auto 0 0;border-radius:inherit;background:var(--sc)}
.u-order{display:flex;gap:8px;align-items:flex-start;font-size:12.5px;line-height:1.45;color:var(--muted);padding:10px 4px 0}
.u-rf{flex:none}
.u-order svg{width:15px;height:15px;flex:none;margin-top:1px}
/* balance keys */
.u-bal{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:12px 36px;padding:8px 0 6px;align-items:end}
.u-bal-l{display:flex;flex-direction:column;gap:12px;min-width:0}
.u-bal-r{min-width:0}
.u-bal-h{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.u-bal-h .chip{align-self:center}
.u-big{font-size:32px;font-weight:600;letter-spacing:-.04em;line-height:1.05}
.u-spark{height:86px;margin:4px 0 0}
.u-svg .u-ax-w{fill:var(--warn);font-weight:600}
.u-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px 0 2px;box-shadow:inset 0 1px 0 var(--line)}
.u-kpis div{display:flex;flex-direction:column;gap:2px} .u-kpis span{font-size:12.5px;color:var(--muted)} .u-kpis b{font-size:15px;font-weight:600;letter-spacing:-.01em}

/* ---------- shared chart bits ---------- */
.u-chart{position:relative;width:100%}
.u-svg{display:block;touch-action:pan-y}
.u-svg .axis{font-size:11.5px}
.u-svg .u-ax-b{fill:var(--ink-2);font-weight:600}
.u-svg .u-lbl{fill:var(--ink);font-size:12.5px;font-weight:600;font-family:var(--font);font-variant-numeric:tabular-nums;paint-order:stroke;stroke:var(--surface);stroke-width:4px;stroke-linejoin:round}
.u-svg .u-lbl.dim{fill:var(--muted);font-weight:550}
.chart .u-line{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.chart .u-line.u-draw{stroke-dasharray:1;stroke-dashoffset:1;animation:uDraw .9s var(--e-out) .1s forwards}
@keyframes uDraw{to{stroke-dashoffset:0}}
.chart .u-proj-l{fill:none;stroke-width:2;stroke-dasharray:2 5;stroke-linecap:round;opacity:.75}
.chart .u-proj-l.warn{stroke:var(--warn);opacity:1}
.chart .u-pace-l{stroke:var(--faint);stroke-width:1.5;stroke-dasharray:5 5}
.chart .u-cap{stroke:var(--line-2);stroke-width:1}
.chart .u-lock{fill:var(--warn);opacity:.09}
.chart .u-lock-t{fill:var(--warn);font-size:12px;font-weight:600;font-family:var(--font)}
.chart .u-now-l{stroke:var(--line-2);stroke-width:1}
.chart .u-reset-l{stroke:var(--ink-2);stroke-width:1;opacity:.35}
.chart .u-dotc{stroke:var(--surface);stroke-width:2.5}
.chart .u-ro{fill:var(--warn);stroke:var(--surface);stroke-width:2.5}
.chart .u-pe{fill:var(--surface);stroke-width:2}
.chart .u-hl{stroke:var(--ink-2);stroke-width:1;opacity:.5}
.chart .u-hd{stroke:var(--surface);stroke-width:2.5}
.chart .u-hov{transition:opacity var(--t1)}
.u-key{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:12.5px;color:var(--muted);font-weight:500}
.u-key>span{display:inline-flex;align-items:center;gap:6px}
.u-key i{display:inline-block;flex:none}
.u-k-used{width:14px;height:2px;border-radius:1px;background:var(--sc)}
.u-k-pace{width:14px;height:0;border-top:1.5px dashed var(--faint)}
.u-k-proj{width:14px;height:0;border-top:2px dotted var(--sc)} .u-k-proj.warn{border-top-color:var(--warn)}
.u-k-sbar{width:8px;height:10px;border-radius:2px 2px 0 0;background:var(--ink-2);opacity:.25}
.u-k-today{width:8px;height:10px;border-radius:2px 2px 0 0;background:var(--accent)}
.u-k-fc{width:8px;height:10px;border-radius:2px 2px 0 0;background:repeating-linear-gradient(-45deg,var(--faint) 0 1.5px,transparent 1.5px 3.5px)}
/* the marks on every plan bar, explained once */
.u-k-bar{width:16px;height:8px;border-radius:4px;background:var(--ink-2);opacity:.55}
.u-k-hatch{width:16px;height:8px;border-radius:4px;background:repeating-linear-gradient(-45deg,var(--muted) 0 1.5px,transparent 1.5px 4px);box-shadow:inset 0 0 0 1px var(--line)}
.u-k-tick{width:2px;height:14px;border-radius:1px;background:var(--ink)}
.u-key-r{color:var(--ink);font-weight:600;font-size:13.5px;font-variant-numeric:tabular-nums}

/* ---------- (4) burn-down ---------- */
.u-burn{padding:18px 20px 16px;display:flex;flex-direction:column;gap:14px}
.u-bh{display:flex;align-items:center;gap:12px;padding-bottom:4px}
.u-pick-p{display:none}
.u-pick svg{width:16px;height:16px}
.u-verdict{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border-radius:14px;background:var(--bg)}
.u-verdict .chip{margin-top:1px}
.u-verdict>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.u-verdict p{font-size:16px;line-height:1.45;color:var(--ink-2)}
.u-verdict p b{color:var(--ink);font-weight:600}
.u-verdict p.u-vs{font-size:14px;color:var(--muted)}
.u-burn .u-chart{min-height:280px}
.u-burn .u-key{margin-top:2px}
.u-tools{display:flex;flex-wrap:wrap;gap:8px 20px;padding-top:12px;box-shadow:inset 0 1px 0 var(--line)}
.u-tool{display:inline-flex;align-items:center;gap:10px;font-size:14px;font-weight:500;color:var(--ink-2);padding:4px 8px 4px 2px;border-radius:12px;text-align:left;transition:background var(--t2)}
.u-tool:hover{background:var(--hover)} .u-tool:active .switch{transform:scale(.95)}

/* ---------- (5) money ---------- */
.u-spend{display:grid;grid-template-columns:280px minmax(0,1fr);gap:32px;padding:20px 20px 16px}
.u-stats{display:flex;flex-direction:column;gap:16px;padding-right:28px;box-shadow:inset -1px 0 0 var(--line)}
.u-stats .stat .v{font-variant-numeric:normal;font-size:28px}
.u-sk{font-size:13px;color:var(--muted)} .u-sk.bad{color:var(--bad);font-weight:550}
.u-capbar{position:relative;height:10px;margin-top:2px;--sc:var(--accent)}
.u-capbar .u-used{background:var(--accent)}
.u-daily{min-width:0;display:flex;flex-direction:column;gap:10px}
.u-dh{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.u-dh>b{font-size:15px;font-weight:600}
.u-daily .u-chart{min-height:224px}
.chart .u-b{transition:opacity var(--t2)}
.chart .u-b.past{fill:var(--ink-2);opacity:.2}
.chart .u-b.today{fill:var(--accent)}
.chart .u-b.fc{fill:url(#uHatch)}
.chart .u-b.hov{opacity:1}
.chart .u-b.past.hov{opacity:.42}
.chart .u-b.grow{transform-box:fill-box;transform-origin:bottom;animation:uRise .6s var(--e-out) both}
@keyframes uRise{from{transform:scaleY(0)}}
.chart .u-hatch-s{fill:var(--faint)}
.chart .u-base{stroke:var(--line-2);stroke-width:1}
.chart .u-avg{stroke:var(--ink-2);stroke-width:1;stroke-dasharray:4 4;opacity:.45}
.u-mgrid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:16px;align-items:start}
.u-mcol{display:flex;flex-direction:column;gap:16px;min-width:0}
.u-cardh{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}
.u-cardh h3{font-size:16px;letter-spacing:-.02em;white-space:nowrap}
.u-cardh>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.u-ledger,.u-value,.u-tok{padding:18px 20px}
.u-lg-g+.u-lg-g{margin-top:14px;padding-top:14px;box-shadow:inset 0 1px 0 var(--line)}
.u-lg-h{display:flex;align-items:baseline;gap:8px;padding:0 0 6px}
.u-lg-h b{font-size:14px;font-weight:600;white-space:nowrap} .u-lg-h span{font-size:13px;color:var(--muted);flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} .u-lg-h .num{font-variant-numeric:tabular-nums}
.u-lg-list{display:flex;flex-direction:column}
.u-lg-list .u-fold{display:none} .u-lg-list.open .u-fold{display:block;animation:rise var(--t2) var(--e-out)}
.u-lg-r{display:flex;align-items:center;gap:12px;padding:8px 0}
.u-lg-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.u-lg-t b{font-size:14.5px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.u-lg-t>span:not(.u-lg-b){font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.u-lg-b{display:block;height:4px;border-radius:2px;background:var(--sunk);margin-top:5px;position:relative;overflow:hidden}
.u-lg-b i{position:absolute;inset:0 auto 0 0;border-radius:inherit;animation:uGrow .7s var(--e-out) both;transform-origin:left}
.u-lg-a{width:78px;flex:none;text-align:right;font-size:14.5px;font-weight:600;white-space:nowrap;align-self:flex-start;padding-top:1px}
.u-lg-g .u-more{margin:2px 0 0 26px}
.u-vh{font-size:15px;line-height:1.5;color:var(--ink-2);margin:-4px 0 8px} .u-vh b{color:var(--ink);font-weight:600}
.u-vr{display:flex;align-items:center;gap:12px;padding:9px 0}
.u-vr+.u-vr{box-shadow:inset 0 1px 0 var(--line)}
.u-vt{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.u-vl{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.u-vl b{font-size:14.5px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} .u-vl span{font-size:13px;color:var(--muted);white-space:nowrap}
.u-vbar{position:relative;height:8px;border-radius:4px;background:var(--sunk)}
.u-vbar i{position:absolute;inset:0 auto 0 0;border-radius:inherit;background:var(--sc);animation:uGrow .7s var(--e-out) both;transform-origin:left}
.u-vbar em{position:absolute;top:-4px;bottom:-4px;width:2px;margin-left:-1px;border-radius:1px;background:var(--ink);box-shadow:0 0 0 2px var(--surface)}
.u-vlow{font-size:12.5px;color:var(--muted)}
.u-vx{font-size:17px;font-weight:600;letter-spacing:-.02em;min-width:46px;text-align:right}
.u-vx.low{color:var(--muted)}
.u-foot{display:flex;gap:8px;font-size:12.5px;line-height:1.45;color:var(--muted);margin-top:10px}
.u-foot svg{width:15px;height:15px;flex:none;margin-top:1px}
.u-tk{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:16px 40px;align-items:end}
.u-tbars{grid-column:1/-1}
.u-tk .stat .v{font-variant-numeric:normal}
.u-tbars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;height:88px;align-items:end}
.u-tb{display:flex;flex-direction:column;align-items:center;gap:5px;height:100%;justify-content:flex-end;cursor:default}
.u-tb i{display:block;width:100%;max-width:28px;border-radius:4px 4px 0 0;background:var(--ink-2);opacity:.22;transform-origin:bottom;animation:uRise .6s var(--e-out) both;transition:opacity var(--t2)}
.u-tb:hover i{opacity:.45} .u-tb.on i{background:var(--accent);opacity:1}
.u-tb em{font-style:normal;font-size:11px;color:var(--faint);font-weight:550;line-height:1} .u-tb.on em{color:var(--ink-2);font-weight:600}
.u-tb:nth-child(2) i{animation-delay:30ms}.u-tb:nth-child(3) i{animation-delay:60ms}.u-tb:nth-child(4) i{animation-delay:90ms}.u-tb:nth-child(5) i{animation-delay:120ms}.u-tb:nth-child(6) i{animation-delay:150ms}.u-tb:nth-child(7) i{animation-delay:180ms}
.u-addl,.u-pickl{border-radius:14px}
.u-pickl .li{gap:12px}
.u-pickl .li.u-on{background:var(--accent-soft)}

/* ---------- tablet ---------- */
@media (max-width:1100px){
  .u-lim{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:14px} .u-lr:nth-child(3){box-shadow:none}
  .u-spend{grid-template-columns:minmax(0,1fr);gap:20px} .u-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 0 18px;box-shadow:inset 0 -1px 0 var(--line)} .u-capbar{grid-column:1/-1}
  .u-mgrid{grid-template-columns:minmax(0,1fr)}
}
/* ---------- narrow panel (rail tablets): header facts on their own line, balance stacks, one list column ---------- */
@media (max-width:900px){
  .u-ch{flex-wrap:wrap;row-gap:6px}
  .u-ch .u-rf{order:2}
  .u-src{order:3;width:100%;padding-left:48px;min-width:0}
  .u-src .u-off{order:-1} .u-src .u-sn{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .u-bal{grid-template-columns:minmax(0,1fr);gap:10px}
  .u-evs{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-flow:row}
}
/* ---------- phone: one column, same content ---------- */
@media (max-width:760px){
  .u-ans{padding:8px 0 0;gap:8px}
  .u-h{font-size:24px;line-height:1.18}
  .u-p{font-size:15.5px}
  .u-jumps{gap:6px} .u-fresh{margin:4px 0 0;width:100%}
  .u-jump{width:100%;height:44px;padding:0 8px 0 14px} .u-jl{margin-left:auto}
  .u-cu{padding:16px 12px 8px}
  .u-cu-h{padding:0 4px 12px;gap:6px 12px} .u-cu-r{display:none}
  .u-legend{order:3;width:100%;gap:12px}
  .u-days{grid-template-columns:repeat(7,minmax(0,1fr));row-gap:6px}
  .u-day{padding:6px 0 7px} .u-day .u-dn{min-width:28px;height:28px;font-size:14.5px;padding:0 4px}
  .u-day .u-dw{font-size:11.5px}
  .u-evs{grid-template-columns:1fr;grid-template-rows:none;grid-auto-flow:row}
  .u-ev{padding:10px 4px;min-height:56px}
  .u-card::before{height:110px}
  .u-ch{flex-wrap:wrap;padding:16px 8px 4px 16px;gap:8px 12px}
  .u-ch .u-rf{order:2;width:40px;height:40px;align-self:flex-start;margin-top:-2px}
  .u-src{order:3;width:100%;flex-wrap:nowrap;gap:8px;padding:0 8px 0 48px;margin-top:-6px;font-size:12.5px;min-width:0}
  .u-src .u-off{order:-1;flex:none} .u-src .u-sn{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap} .u-src .u-ago{flex:none} .u-upd{display:none}
  .u-body{padding:6px 16px 16px}
  /* the four facts stay a 2 x 2 block on phones: same content, half the height of a list */
  .u-lim{padding:14px 0;row-gap:16px}
  .u-lr{padding:0 12px;gap:4px}
  .u-lv{flex-wrap:wrap;row-gap:6px;min-height:22px} .u-mini{flex-basis:100%;max-width:none;margin-left:0}
  .u-has-use .u-lv{padding-right:0}
  .u-use{position:static;align-self:flex-start;margin-top:6px;height:36px;padding:0 18px;font-size:13.5px}
  .u-bal{grid-template-columns:1fr;gap:10px}
  .u-evt>span>span{white-space:normal} .u-evt>span.warn{align-items:flex-start} .u-evt>span.warn .u-g-o{margin-top:5px}
  .u-bh .u-ct h3{white-space:normal;font-size:16px} .u-key .u-key-r{display:none}
  .u-vl{flex-direction:column;align-items:flex-start;gap:0}
  .u-sec{flex-wrap:wrap}
  .u-win{padding:12px 0 14px}
  .u-wn span{display:none} .u-wn{padding:8px;margin:-8px}
  .u-w3{flex-direction:column;gap:2px} .u-w3l{flex-direction:column} .u-un::after{content:none}
  .u-big{font-size:28px}
  .u-burn{padding:16px 14px 12px;gap:12px}
  .u-pick{display:none} .u-pick-p{display:inline-flex;width:100%;height:44px}
  .u-verdict{padding:12px;gap:10px}
  .u-verdict p{font-size:15px}
  .u-burn .u-chart{min-height:236px} .u-daily .u-chart{min-height:196px}
  .u-tools{flex-direction:column;gap:4px} .u-tool{min-height:44px}
  .u-spend{padding:16px 14px 12px}
  .u-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px} .u-stats .stat:first-child{grid-column:1/-1}
  .u-stats .stat .v{font-size:26px}
  .u-ledger,.u-value,.u-tok{padding:16px 14px}
  .u-tk{gap:14px 28px} .u-tbars{gap:6px}
  .u-topbtn{width:40px;height:40px;padding:0;border-radius:12px}
  .u-more{height:44px}
  .u-barkey{gap:12px;font-size:12px}
}
