/* Final V2 (taste pass): market decision cards.
   Deal: palette charcoal-room-sage, type funnel (Funnel Display / Funnel Sans + DM Mono), radius soft. */
@font-face { font-family: "Funnel Display"; src: url("fonts/funnel-display-latin-wght-normal.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Funnel Sans"; src: url("fonts/funnel-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fonts/dm-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fonts/dm-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }

:root {
  /* dealt palette (start.mjs css, charcoal-room-sage) */
  --p-bg: #1c1c1c; --p-surface: #262626; --p-ink: #f1f1ef; --p-muted: #9a9b96; --p-accent: #8fa68e; --p-accent-ink: #1c1c1c;
  --surface-2: #2f2f2e;
  --ink-2: #cfcfca;
  --rule: rgba(241, 241, 239, 0.12);
  --rule-2: rgba(241, 241, 239, 0.07);
  /* data hues, validated on #262626 (dataviz, dark) */
  --up: #5aa2d6; --down: #d08a3a;
  --up-ink: #8cc2ea; --down-ink: #e6ac66;
  /* on-point marks: the live site's sage-deep / blush-deep */
  --ok: #5FD3A0; --no: #F08A90;
  --warn: #e3b866;
  --font-display: "Funnel Display", system-ui, sans-serif;
  --font-text: "Funnel Sans", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r-card: 18px; --r-tile: 12px; --r-ctl: 999px;
  --pad: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--p-bg); color: var(--p-ink);
  font: 400 16px/1.55 var(--font-text); min-height: 100dvh; overflow-x: clip;
}
a { color: var(--p-ink); text-decoration-color: var(--rule); text-underline-offset: 3px; transition: text-decoration-color 160ms var(--ease); }
a:hover { text-decoration-color: var(--p-accent); }
:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 3px; border-radius: 4px; }
code, .fig { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
code { font-size: 0.9em; color: var(--ink-2); }
.dim { color: var(--p-muted); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--p-surface); padding: 10px 14px; z-index: 30; border-radius: 10px; }
.skip:focus { left: 8px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: 1.625rem; line-height: 1.15; }
h3 { font-size: 1.125rem; line-height: 1.25; }
h4 { font: 500 0.875rem var(--font-text); color: var(--p-muted); margin: 18px 0 6px; letter-spacing: 0; }
p { margin: 0; }

/* ── notices from book.js ── */
.notice { padding: 10px var(--pad); background: var(--p-surface); border-bottom: 1px solid var(--rule); font-size: 0.9375rem; }
.notice-halt { border-bottom-color: var(--no); }

/* ── header + status ── */
.top { background: rgba(28, 28, 28, 0.94); border-bottom: 1px solid var(--rule-2); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 6px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; object-fit: cover; object-position: 50% 15%; border-radius: 50%; display: block; }
.brand-name { font: 500 1.125rem var(--font-display); letter-spacing: -0.01em; }
.jump { display: none; gap: 4px; }
.jump a { text-decoration: none; color: var(--ink-2); font-size: 0.9375rem; padding: 8px 12px; border-radius: var(--r-ctl); transition: background 160ms var(--ease), color 160ms var(--ease); }
.jump a:hover { background: var(--p-surface); color: var(--p-ink); }
.status { padding: 2px 0 10px; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 4px 12px; }
.status-phase { font-size: 0.875rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--ink-2); }
.status-phase::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--warn); flex: none; }
.status-phase[data-s="live"]::before { border-color: var(--ok); background: var(--ok); }
.status-fresh { font: 400 0.8125rem var(--font-mono); color: var(--p-muted); white-space: nowrap; flex: none; }
.status-fresh[data-s="stale"], .status-fresh[data-s="down"] { color: var(--warn); }
.status-detail { color: var(--ink-2); font-size: 0.875rem; margin-top: 4px; }
.status-line { color: var(--ink-2); }
.status-more { font-size: 0.875rem; color: var(--p-muted); }
.status-more summary { cursor: pointer; list-style: none; min-height: 32px; display: flex; align-items: center; }
.status-more summary::-webkit-details-marker { display: none; }
.status-more .status-detail { margin-top: 6px; }
.status-wide { display: none; }
.status-more p { margin-top: 4px; max-width: 75ch; }

/* ── sections ── */
.sec { padding: 28px 0 44px; }
.sec + .sec { border-top: 1px solid var(--rule-2); }
.sec-head { margin-bottom: 18px; max-width: 68ch; }
.lede { color: var(--ink-2); margin-top: 10px; font-size: 1rem; }
.lede b { color: var(--p-ink); font-weight: 500; }
.note { color: var(--p-muted); font-size: 0.9375rem; margin: 6px 0 12px; max-width: 72ch; }
.sub { margin: 32px 0 6px; font-size: 1.25rem; }
.empty { color: var(--p-muted); padding: 14px 0; }

/* ── strongest call ── */
.lead-card:empty { display: none; }
.lead-card { background: var(--p-surface); border-radius: var(--r-card); padding: 18px 18px 16px; margin-bottom: 18px; border: 1px solid var(--rule-2); }
.lead-l { font-size: 0.875rem; font-weight: 600; color: var(--p-accent); }
.lead-m { margin-top: 6px; font: 500 1.25rem var(--font-display); letter-spacing: -0.01em; }
.lead-m .dim { font-family: var(--font-text); font-size: 1rem; letter-spacing: 0; }
.lead-ans { margin-top: 6px; }
.lead-ans .call-w { font-size: 2.25rem; }
.lead-ans .call-p { font-size: 2.25rem; }
.lead-card .call-q { margin-top: 4px; }
.lead-card .trk { margin-top: 10px; }

/* ── filter ── */
.filter { display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--pad) 4px; margin: 0 calc(var(--pad) * -1) 8px; scrollbar-width: none; }
.filter::-webkit-scrollbar { display: none; }
.filter button {
  flex: none; font: 500 0.9375rem var(--font-text); color: var(--ink-2); background: var(--p-surface);
  border: 1px solid var(--rule-2); border-radius: var(--r-ctl); padding: 9px 14px; cursor: pointer; min-height: 44px;
  transition: background 160ms var(--ease), color 160ms var(--ease), transform 120ms var(--ease);
}
.filter button:hover { color: var(--p-ink); background: var(--surface-2); transform: translateY(-1px); }
.filter button:active { transform: translateY(0) scale(0.98); }
.filter button .n { font-size: 0.8125rem; color: var(--p-muted); margin-left: 2px; }
.filter button[aria-pressed="true"] { color: var(--p-accent-ink); background: var(--p-accent); border-color: var(--p-accent); }
.filter button[aria-pressed="true"] .n { color: #33402f; }

.howto { margin: 4px 0 18px; font-size: 0.9375rem; color: var(--ink-2); }
.howto summary { cursor: pointer; color: var(--p-ink); font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; list-style: none; }
.howto summary::-webkit-details-marker { display: none; }
.howto summary::before { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--p-muted); border-bottom: 1.5px solid var(--p-muted); transform: rotate(-45deg); transition: transform 200ms var(--ease); }
.howto[open] summary::before { transform: rotate(45deg); }
.howto p { max-width: 70ch; margin-top: 4px; line-height: 1.6; }

/* ── shared marks ── */
.tri { width: 0.62em; height: 0.62em; display: inline-block; flex: none; }
.tri-up { fill: var(--up); }
.tri-down { fill: var(--down); }
.okm { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; margin-right: 0.3em; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ok-y { stroke: var(--ok); }
.ok-n { stroke: var(--no); }
.money { display: inline-block; font: 600 0.75rem var(--font-text); color: var(--p-accent); border: 1px solid var(--p-accent); padding: 1px 8px; border-radius: var(--r-ctl); }

/* ── market groups + cards ── */
.grp { margin-top: 26px; }
.grp:first-child { margin-top: 6px; }
.grp-h { font-size: 1.5rem; margin-bottom: 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.grp-b { font: 400 0.9375rem var(--font-text); color: var(--p-muted); letter-spacing: 0; }
.mkt { background: var(--p-surface); border-radius: var(--r-card); padding: 18px var(--pad) 16px; margin-bottom: 14px; border: 1px solid var(--rule-2); }
.mkt-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mkt-id { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; min-width: 0; }
.mkt-t { font-size: 1.75rem; line-height: 1.1; letter-spacing: -0.02em; }
.mkt-n { color: var(--p-muted); font-size: 1rem; }
.mkt-px { display: flex; flex-direction: column; align-items: flex-end; text-align: right; min-width: 0; }
.mkt-v { font-size: 1.25rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; letter-spacing: -0.01em; }
.mkt-v[data-live] { color: var(--p-ink); }
.mkt-b { font-size: 0.8125rem; color: var(--p-muted); line-height: 1.35; margin-top: 2px; }
.mkt-b .fig { color: var(--ink-2); }
.mkt-b .st-closed { color: var(--ink-2); }
.mkt-b .st-down { color: var(--no); }
.calls { display: grid; gap: 10px; margin-top: 14px; }
.nocall { font-size: 0.875rem; color: var(--p-muted); margin-top: 10px; }

/* one call tile */
.call { background: var(--surface-2); border-radius: var(--r-tile); padding: 14px 14px 12px; min-width: 0; }
.call[data-best] { box-shadow: inset 0 0 0 1px rgba(143, 166, 142, 0.55); }
.call-top { display: flex; align-items: center; gap: 8px; }
.call-h { font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); }
.call-best { font-size: 0.75rem; font-weight: 600; color: var(--p-accent-ink); background: var(--p-accent); border-radius: var(--r-ctl); padding: 1px 8px; }
.call-cd { margin-left: auto; font-size: 0.875rem; color: var(--p-muted); white-space: nowrap; }
.call-ans { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; line-height: 1; }
.call-ans .tri { width: 0.5em; height: 0.5em; font-size: 1.75rem; }
.call-w { font: 500 1.75rem var(--font-display); letter-spacing: -0.01em; }
[data-dir="up"] .call-w, .lead-card .tri-up + .call-w { color: var(--up-ink); }
[data-dir="down"] .call-w, .lead-card .tri-down + .call-w { color: var(--down-ink); }
.call-p { font-size: 1.75rem; font-weight: 500; letter-spacing: -0.03em; margin-left: auto; }
.call-p .u { font-size: 0.55em; color: var(--p-muted); margin-left: 1px; }
.lead-ans .call-p { margin-left: 4px; }
.call-q { margin-top: 8px; font-size: 0.9375rem; color: var(--ink-2); line-height: 1.45; }
.call-q b { color: var(--p-ink); font-weight: 500; }

/* price axis */
.pax-wrap { margin-top: 12px; }
.rail { position: relative; height: 18px; }
.rail::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: rgba(241, 241, 239, 0.14); }
.pax .shade { position: absolute; top: 3px; bottom: 3px; width: 50%; border-radius: 6px; }
.pax .shade.up { left: 50%; background: linear-gradient(90deg, rgba(90, 162, 214, var(--alpha)), rgba(90, 162, 214, calc(var(--alpha) * 0.45))); }
.pax .shade.down { right: 50%; background: linear-gradient(270deg, rgba(208, 138, 58, var(--alpha)), rgba(208, 138, 58, calc(var(--alpha) * 0.45))); }
.pax .ctr { position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--p-ink); }
.pax .lp { position: absolute; left: var(--p); top: -3px; bottom: -3px; width: 4px; margin-left: -2px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 2px var(--surface-2); transition: left 420ms var(--ease); }
.pax .lp[data-out] { width: 5px; }
[data-past] .pax .lp { display: none; }
[data-past] .pax .shade { opacity: 0.5; }
.settle .pax .lp { animation: lp-in 900ms var(--ease) both; }
@keyframes lp-in { from { left: 50%; opacity: 0; } to { left: var(--p); opacity: 1; } }
.pax-scale { position: relative; height: 18px; margin-top: 4px; font-size: 0.75rem; line-height: 18px; color: var(--p-muted); }
.pax-scale > span { position: absolute; top: 0; white-space: nowrap; }
.pax-scale .s-l { left: 0; }
.pax-scale .s-c { left: 50%; transform: translateX(-50%); color: var(--p-ink); font-weight: 500; font-size: 0.8125rem; }
.pax-scale .s-r { right: 0; }
.pax-scale .s-px { display: none; }

/* how it's going */
.trk { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 10px; font-size: 0.9375rem; }
.vd { display: inline-flex; align-items: center; font-weight: 600; }
.trk[data-side="with"] .tw { color: var(--ok); }
.trk[data-side="against"] .tw { color: var(--no); }
.nw { font: 400 0.8125rem var(--font-mono); color: var(--p-muted); }
.nw b { color: var(--ink-2); font-weight: 500; }
.pend { color: var(--p-muted); font-size: 0.875rem; }

/* should I trust it */
.trust { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--rule-2); display: grid; gap: 6px; }
.trust div { display: grid; grid-template-columns: 7.6rem minmax(0, 1fr); gap: 8px; align-items: baseline; }
.trust dt { font-size: 0.8125rem; color: var(--p-muted); }
.trust dd { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }
.trust dd b { color: var(--p-ink); font-weight: 500; }
.trust dd .fig.dim { font-size: 0.8125rem; }

/* market context, once per card */
.ctx-grid { display: grid; gap: 10px; margin-top: 12px; }
.ctx-blk { padding: 12px 14px; border-radius: var(--r-tile); border: 1px solid var(--rule-2); }
.ctx-h { font-size: 0.8125rem; color: var(--p-muted); margin-bottom: 6px; }
.mos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.mo dt { font: 400 0.75rem var(--font-mono); color: var(--p-muted); }
.mo dd { margin: 2px 0 0; font-size: 1rem; }
.mo[data-d="up"] dd b { color: var(--up-ink); }
.mo[data-d="down"] dd b { color: var(--down-ink); }
.mo dd b { font-weight: 500; }
.rec { font-size: 0.9375rem; color: var(--ink-2); }
.rec + .rec { margin-top: 2px; }
.rec b { color: var(--p-ink); font-weight: 500; }
.bv[data-ok="0"] { color: var(--warn); }
.bv[data-ok="1"] { color: var(--ok); }

/* simple chart, last in the card */
.chart-wrap { margin-top: 14px; }
.chart-h { font-size: 0.8125rem; color: var(--ink-2); margin-bottom: 6px; }
.chart { position: relative; height: 76px; margin-right: 2.2rem; cursor: crosshair; touch-action: pan-y; border-bottom: 1px solid var(--rule-2); }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart .pl { fill: none; stroke: var(--p-ink); stroke-opacity: 0.85; stroke-width: 1.75; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.chart .rl { stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; stroke-opacity: 0.8; }
.chart .rl.up { stroke: var(--up); }
.chart .rl.down { stroke: var(--down); }
.chart .dot { position: absolute; right: -5px; top: var(--y); width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--p-surface); transition: top 400ms var(--ease); }
.chart .tg { position: absolute; left: calc(100% + 8px); top: var(--y); transform: translateY(-50%); font: 400 0.75rem/1 var(--font-mono); color: var(--p-muted); }
.chart .cx { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--p-muted); pointer-events: none; }
.chart .cr { position: absolute; left: 4px; top: 2px; font: 400 0.75rem var(--font-mono); color: var(--p-ink); background: rgba(38, 38, 38, 0.92); padding: 2px 6px; border-radius: 6px; pointer-events: none; }
.chart-empty { font-size: 0.875rem; color: var(--p-muted); padding: 6px 0; }

/* ── record ── */
.score .hz-grid { display: grid; gap: 12px; }
.hz { background: var(--p-surface); border-radius: var(--r-card); padding: 16px; border: 1px solid var(--rule-2); }
.hz-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 8px; }
.hz-h h3 { font-size: 1.25rem; }
.hz-h .fig { font-size: 0.8125rem; }
.gate-chip { margin-left: auto; font-size: 0.75rem; font-weight: 600; color: var(--warn); border: 1px solid rgba(227, 184, 102, 0.5); border-radius: var(--r-ctl); padding: 1px 9px; }
.gate-chip[data-s="live"] { color: var(--ok); border-color: rgba(95, 211, 160, 0.5); }
.metric { margin-top: 12px; }
.m-l { font-size: 0.9375rem; color: var(--ink-2); }
.m-l b { color: var(--p-ink); font-weight: 500; }
.metric .rail { margin-top: 4px; }
.rail .ctr { position: absolute; left: 50%; top: 2px; bottom: 2px; width: 1px; background: var(--p-muted); }
.mk { position: absolute; left: var(--p); top: 1px; bottom: 1px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--p-ink); }
.mk.vic { background: var(--p-ink); }
.mk.mkt { width: 2px; top: 25%; bottom: 25%; background: var(--p-muted); }
.mk.up { background: var(--up); }
.mk.down { background: var(--down); }
.rail-brier .gate { position: absolute; left: var(--p); top: -2px; bottom: -2px; width: 2px; margin-left: -1px; background: var(--warn); }
.scale { position: relative; height: 18px; font: 400 0.75rem var(--font-mono); color: var(--p-muted); }
.scale span { position: absolute; top: 0; white-space: nowrap; }
.scale span:first-child { left: 0; }
.scale span:last-child { right: 0; }
.scale span[style] { transform: translateX(-50%); color: var(--warn); }
.rail-hit + .scale span[style] { color: var(--p-muted); }
.checks { list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--rule-2); display: grid; gap: 5px; font-size: 0.9375rem; color: var(--ink-2); }
.checks li { display: grid; grid-template-columns: 4.8rem 1fr; }
.checks .ck { font-size: 0.8125rem; font-weight: 600; color: var(--p-muted); padding-top: 1px; }
.checks li[data-ok="1"] .ck { color: var(--ok); }
.checks li[data-ok="0"] .ck { color: var(--warn); }

.cal-rows { display: grid; gap: 4px; margin-top: 10px; }
.cal-row { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr) 3rem; column-gap: 12px; align-items: center; padding: 2px 0; border-radius: 6px; }
.cal-row:hover, .cal-row:focus-visible { background: var(--p-surface); }
.cal-l { font-size: 0.8125rem; color: var(--ink-2); }
.cal-n { font-size: 0.8125rem; text-align: right; }
.rail-cal .gap, .rail-ci .gap { position: absolute; left: var(--a); width: calc(var(--b) - var(--a)); top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: rgba(154, 155, 150, 0.6); }
.mk.pred { width: 2px; margin-left: -1px; background: var(--p-muted); top: 3px; bottom: 3px; }
.mk.act { width: 4px; margin-left: -2px; background: var(--p-ink); }
.mk.act.thin { top: 5px; bottom: 5px; opacity: 0.75; }
.rail-ci .gap.ci { background: rgba(241, 241, 239, 0.25); height: 6px; margin-top: -3px; }
.key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.875rem; color: var(--p-muted); margin-top: 12px; }
.key .k { display: inline-flex; align-items: center; gap: 6px; }
.kl { display: inline-block; width: 3px; height: 14px; border-radius: 2px; background: var(--ink-2); }
.kl-pred { width: 2px; background: var(--p-muted); }
.kl-act { width: 4px; background: var(--p-ink); }
.kl-thin { width: 4px; height: 7px; background: var(--p-ink); opacity: 0.75; }

.by-asset { margin-top: 6px; }
.ba-row { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr) 3rem 3.4rem 2.8rem; column-gap: 10px; align-items: center; font-size: 0.875rem; padding: 3px 0; }
.ba-row .tick { font-weight: 600; font-size: 0.875rem; }
.ba-row .fig { text-align: right; }
.ba-b[data-ok="1"] { color: var(--ok); }
.ba-b[data-ok="0"] { color: var(--ink-2); }
.ba-head { font-size: 0.8125rem; color: var(--p-muted); border-bottom: 1px solid var(--rule-2); padding-bottom: 4px; margin-bottom: 4px; }
.ba-grp h4 { margin-top: 16px; }
.rail-mini { height: 14px; }
.rail-mini .mk.vic { width: 2px; margin-left: -1px; }

.disc { margin-top: 20px; border-top: 1px solid var(--rule-2); }
.disc > summary { cursor: pointer; padding: 12px 0; font-weight: 600; list-style: none; display: flex; gap: 10px; align-items: center; min-height: 48px; }
.disc > summary::-webkit-details-marker { display: none; }
.disc > summary::before { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--p-muted); border-bottom: 1.5px solid var(--p-muted); transform: rotate(-45deg); transition: transform 200ms var(--ease); flex: none; }
.disc[open] > summary::before { transform: rotate(45deg); }
.disc > summary .dim { font-weight: 400; font-size: 0.875rem; }
.disc-prose > summary h2 { font-size: 1.25rem; }
.sizing { padding-bottom: 8px; }
.sz-head { font-size: 1rem; }

/* ── recent ── */
.rc-list { display: grid; }
.rc { display: grid; grid-template-columns: 4.8rem minmax(0, 1fr) 3.8rem 4rem; grid-template-areas: "t a c r" "rl rl m m"; column-gap: 10px; row-gap: 2px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule-2); font-size: 0.9375rem; }
.rc-t { grid-area: t; font-size: 0.8125rem; }
.rc-a { grid-area: a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-a .tick { font-weight: 600; }
.rc .rail { grid-area: rl; }
.rc-c { grid-area: c; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.rc-m { grid-area: m; font-size: 0.8125rem; color: var(--p-muted); text-align: right; }
.rc-r { grid-area: r; display: inline-flex; align-items: center; justify-content: flex-end; font-weight: 600; font-size: 0.875rem; }
.rc[data-won="1"] .rc-r { color: var(--ok); }
.rc[data-won="0"] .rc-r { color: var(--no); }
.went { position: absolute; left: var(--p); top: 50%; width: 10px; height: 2px; margin-left: -5px; border-radius: 1px; background: var(--p-ink); box-shadow: 0 -4px 0 var(--p-ink), 0 4px 0 var(--p-ink); }

/* ── prices ── */
.feed-status { margin-bottom: 10px; font-size: 0.9375rem; }
.fs b { font-weight: 600; }
.fs[data-s="stale"] b, .fs[data-s="down"] b { color: var(--warn); }
.pr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n v" "st t" "sub s"; column-gap: 12px; row-gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--rule-2); align-items: baseline; }
.pr-n { grid-area: n; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-n .tick { font-weight: 600; }
.pr-n .dim { font-size: 0.875rem; }
.pr-v { grid-area: v; text-align: right; }
.pr-s { grid-area: s; justify-self: end; }
.pr-t { grid-area: t; text-align: right; font-size: 0.8125rem; color: var(--ink-2); }
.pr-st { grid-area: st; font-size: 0.8125rem; color: var(--p-muted); display: inline-flex; align-items: center; gap: 6px; }
.pr-sub { grid-area: sub; font-size: 0.8125rem; }
.stl { display: inline-block; width: 12px; height: 2px; border-radius: 1px; background: var(--ink-2); }
.pr[data-state="closed"] .stl { background: var(--p-muted); width: 6px; }
.pr[data-state="down"] .pr-st { color: var(--no); }
.pr[data-state="down"] .stl { background: var(--no); }
.spk { width: 80px; height: 18px; display: block; }
.spk path { fill: none; stroke: var(--p-muted); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.thin { font-size: 0.75rem; color: var(--p-muted); border: 1px solid var(--rule); border-radius: var(--r-ctl); padding: 0 6px; }

/* ── proof ── */
.sig { display: flex; align-items: flex-end; gap: 4px; height: 72px; padding: 8px 0; max-width: 420px; }
.sig i { flex: 1; height: var(--h); background: var(--p-accent); max-width: 3px; min-width: 1px; border-radius: 2px; }
.sig i:nth-child(4n+1) { background: var(--p-ink); }
.head { font-size: 0.875rem; color: var(--ink-2); margin-top: 8px; overflow-wrap: anywhere; }
.ig-line { margin-top: 6px; }
.bad { color: var(--no); }
.verify { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 16px; }
.verify button {
  font: 600 0.9375rem var(--font-text); color: var(--p-accent-ink); background: var(--p-accent); border: 0; border-radius: var(--r-ctl);
  padding: 12px 20px; cursor: pointer; min-height: 48px; transition: transform 120ms var(--ease), background 160ms var(--ease);
}
.verify button:hover { background: #a1b6a0; transform: translateY(-1px); }
.verify button:active { transform: translateY(0) scale(0.98); }
.verify button:disabled { background: var(--p-muted); cursor: progress; transform: none; }
.verify a { font-size: 0.9375rem; min-height: 44px; display: inline-flex; align-items: center; }
.verify-out { margin-top: 12px; font-size: 0.9375rem; padding: 10px 14px; border-radius: var(--r-tile); background: var(--p-surface); max-width: 75ch; }
.verify-out[data-s="ok"] { color: var(--ok); }
.verify-out[data-s="bad"], .verify-out[data-s="err"] { color: var(--no); }
.mono-wrap { font-family: var(--font-mono); font-size: 0.8125rem; overflow-wrap: anywhere; }

/* ── trading book (book.js output) ── */
.book-head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; }
.book-head .lede { grid-column: 1 / -1; }
.pill { font: 500 0.8125rem var(--font-text); color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: var(--r-ctl); background: var(--p-surface); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.pill-stale::before { background: var(--warn); }
.pill-error::before { background: var(--no); }
.pill .dot { display: none; }
.kpi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kpi-grid[hidden] { display: none; }
.kpi-card { background: var(--p-surface); border-radius: var(--r-tile); padding: 14px; min-width: 0; border: 1px solid var(--rule-2); }
.kpi-label { font-size: 0.8125rem; color: var(--p-muted); font-weight: 500; }
.kpi-value { font: 500 1.25rem var(--font-mono); margin-top: 4px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; letter-spacing: -0.02em; }
.kpi-sub { font-size: 0.8125rem; color: var(--p-muted); margin-top: 4px; }
.kpi-positive .kpi-value { color: var(--ok); }
.kpi-negative .kpi-value { color: var(--no); }
.kpi-tag { font-size: 0.75rem; border: 1px solid var(--rule); border-radius: var(--r-ctl); padding: 0 6px; }
.kpi-spark { display: block; width: 100%; height: 24px; margin-top: 6px; }
.kpi-spark path, .kpi-spark polyline { fill: none; stroke: var(--p-muted); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.kpi-spark .spark-zero, .kpi-spark line { stroke: var(--rule); stroke-dasharray: 2 2; }
.kpi-spark [class*="area"], .kpi-spark .spark-area { fill: rgba(241, 241, 239, 0.05); stroke: none; }
.kpi-bar { height: 4px; border-radius: 2px; background: var(--surface-2); margin-top: 10px; overflow: hidden; }
.kpi-bar-fill { height: 100%; background: var(--p-accent); }
.kpi-bar-fill.over { background: var(--no); }
.skeleton .kpi-value { color: var(--p-muted); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.875rem; min-width: 520px; }
.tbl th, .tbl td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--rule-2); white-space: nowrap; }
.tbl th { font-weight: 500; color: var(--p-muted); font-size: 0.8125rem; }
.tbl .num, .tbl td.num { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.tbl .empty-row td, .tbl .skeleton td { color: var(--p-muted); white-space: normal; }
.tbl .num-positive { color: var(--ok); }
.tbl .num-negative { color: var(--no); }
.market-cell { white-space: normal !important; min-width: 180px; }
.market-title { display: block; }
.market-ticker { display: block; font: 400 0.75rem var(--font-mono); color: var(--p-muted); overflow-wrap: anywhere; }
.market-rationale { display: block; font-size: 0.8125rem; color: var(--p-muted); }
.family-chip, .side-chip { font: 500 0.75rem var(--font-mono); border: 1px solid var(--rule); border-radius: var(--r-ctl); padding: 1px 7px; text-transform: uppercase; }
.side-chip-no { border-style: dashed; }
.no-quote { color: var(--p-muted); font-size: 0.8125rem; }

/* ── method + footer ── */
.prose { max-width: 68ch; color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose strong { color: var(--p-ink); }
.foot { padding: 36px 0 56px; font-size: 0.9375rem; color: var(--ink-2); border-top: 1px solid var(--rule-2); }
.foot p + p { margin-top: 6px; }
.foot-name { font: 500 1.25rem var(--font-display); color: var(--p-ink); }
.foot-links { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.foot-links a { min-height: 44px; display: inline-flex; align-items: center; }

/* ── tooltip ── */
.tip { position: absolute; z-index: 40; width: 260px; transform: translateY(-100%); background: var(--surface-2); color: var(--p-ink);
  border: 1px solid var(--rule); border-radius: 10px; padding: 9px 12px; font-size: 0.8125rem; line-height: 1.45; pointer-events: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4); }

/* ── wider screens ── */
@media (min-width: 600px) {
  .ctx-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pax-scale .s-px { display: inline; }
  .pax-scale .s-pc { display: none; }
}
@media (min-width: 720px) {
  :root { --pad: 32px; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  .jump { display: flex; }
  .status-more .status-detail { display: none; }
  .status-wide { display: block; }
  .top { position: sticky; top: 0; z-index: 20; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .mkt { padding: 22px 24px 20px; }
  .mkt-t { font-size: 2rem; }
  .mkt-v { font-size: 1.5rem; }
  .lead-card { padding: 22px 24px 20px; }
  .lead-ans .call-w, .lead-ans .call-p { font-size: 2.75rem; }
  .chart { height: 96px; }
  .score .hz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #risk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rc { grid-template-columns: 6rem 7.5rem minmax(0, 1fr) 4.4rem 5rem 4rem; grid-template-areas: "t a rl c m r"; }
  .pr { grid-template-columns: minmax(0, 1.3fr) 8.5rem 90px 6.5rem 9rem; grid-template-areas: "n v s t st" "sub sub sub sub sub"; }
}
@media (min-width: 960px) {
  .calls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .call-w, .call-p { font-size: 1.625rem; }
  .pax-scale .s-px { display: none; }
  .pax-scale .s-pc { display: inline; }
  .by-asset { columns: 2; column-gap: 48px; }
  .ba-grp { break-inside: avoid; }
}
@media (min-width: 1140px) {
  .pax-scale .s-px { display: inline; }
  .pax-scale .s-pc { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── round 2: collapsible market cards, question-first tiles, priced chart ── */
:root { --m-in: 150ms; --m-out: 120ms; --m-press: 90ms; --m-panel: 200ms; --m-close: 120ms; --m-card-in: 180ms; }

/* board tools: class filter + expand all */
.board-tools { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.board-tools .filter { flex: 1 1 auto; min-width: 0; margin: 0; padding: 2px 0 4px; }
.tool-btn {
  flex: none; font: 500 0.9375rem var(--font-text); color: var(--p-ink); background: transparent;
  border: 1px solid var(--rule); border-radius: var(--r-ctl); padding: 9px 14px; min-height: 44px; cursor: pointer;
  transition: background var(--m-in) var(--ease), border-color var(--m-in) var(--ease), transform var(--m-in) var(--ease);
}
.tool-btn:active { transform: translateY(1px) scale(0.985); transition-duration: var(--m-press); }

/* the card: a summary you can open */
.grp-list { display: grid; gap: 12px; }
.mkt { padding: 0; margin: 0; transition: transform var(--m-out) var(--ease), border-color var(--m-out) var(--ease); }
.mkt-sum { padding: 14px var(--pad) 12px; cursor: pointer; }
.sm-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mkt-t { font-size: inherit; }
.mkt-tg {
  appearance: none; background: none; border: 0; padding: 0; margin: 0; color: inherit; cursor: pointer; text-align: left;
  display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; min-height: 44px; align-content: center;
}
.mkt-tk { font: 500 1.5rem var(--font-display); letter-spacing: -0.02em; line-height: 1.1; }
.mkt-tg .mkt-n { color: var(--p-muted); font: 400 0.9375rem var(--font-text); }
.chev { width: 14px; height: 14px; fill: none; stroke: var(--p-muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; align-self: center; transition: transform var(--m-panel) var(--ease); }
.mkt[data-open] .chev { transform: rotate(180deg); }
.sm-px { display: flex; flex-direction: column; align-items: flex-end; text-align: right; flex: none; }
.sm-v { font-size: 1.125rem; font-weight: 500; color: var(--ink-2); letter-spacing: -0.01em; white-space: nowrap; }
.sm-v[data-live] { color: var(--p-ink); }
.sm-mv { font-size: 0.8125rem; color: var(--p-muted); white-space: nowrap; }
.sm-mv[data-d="up"] .fig { color: var(--up-ink); }
.sm-mv[data-d="down"] .fig { color: var(--down-ink); }

/* one compact line per call */
.sls { list-style: none; margin: 8px 0 0; padding: 0; }
.sl { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto 1.25rem; column-gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--rule-2); }
.sl-h { font: 400 0.8125rem var(--font-mono); color: var(--p-muted); }
.sl-q { font-size: 0.8125rem; line-height: 1.3; color: var(--ink-2); }
.sl-q b { color: var(--p-ink); font-weight: 500; }
.sl-cd { color: var(--p-muted); margin-left: 2px; white-space: nowrap; }
.sl-a { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 0.9375rem; }
.sl-a .tri { width: 0.6em; height: 0.6em; }
.sl-w { font: 500 0.8125rem var(--font-text); letter-spacing: 0.04em; }
[data-dir="up"] .sl-w { color: var(--up-ink); }
[data-dir="down"] .sl-w { color: var(--down-ink); }
.sl-m { display: inline-flex; justify-content: flex-end; }
.sl-m .okm { margin: 0; width: 1.05em; height: 1.05em; }
.sl[data-past] .sl-m { grid-column: 3 / 5; grid-row: 2; justify-content: flex-end; }
.sl-pend { font-size: 0.75rem; color: var(--p-muted); white-space: nowrap; }
.sl-empty .sl-q { grid-column: 2 / -1; }

/* hover: a linked card lifts 2px and its border darkens a step (fine pointer only) */
@media (hover: hover) and (pointer: fine) {
  .mkt:not([data-open]):has(.mkt-sum:hover) { transform: translateY(-2px); border-color: rgba(241, 241, 239, 0.16); transition-duration: var(--m-card-in); }
  .mkt[data-open] .mkt-sum:hover .chev { stroke: var(--p-ink); }
  .tool-btn:hover { background: var(--p-surface); border-color: rgba(241, 241, 239, 0.2); transform: translateY(-1px); }
}
.mkt-tg:focus-visible { outline: none; }
.mkt:has(.mkt-tg:focus-visible) { outline: 2px solid var(--p-accent); outline-offset: 2px; }

/* the full sheet: layout switches at once; the content fades in with a 6px drop (no height animation) */
.mkt-body { padding: 0 var(--pad) 18px; }
.mkt-body[hidden] { display: none; }
.mkt-body.opening { animation: panel-in var(--m-panel) var(--ease) both; }
.mkt-body.closing { animation: panel-out var(--m-close) var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes panel-out { from { opacity: 1; } to { opacity: 0; transform: translateY(-4px); } }
.mkt-px-full { align-items: flex-start; text-align: left; padding-top: 10px; border-top: 1px solid var(--rule-2); }
.mkt-px-full .mkt-v { display: none; }

/* question first, then the answer as the punchline */
.call .call-q { margin-top: 8px; }
.call .call-ans { margin-top: 6px; }
.lead-card .call-q { margin-top: 6px; }
.lead-card .lead-ans { margin-top: 4px; }
.lead-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; min-height: 44px; color: var(--p-accent); font-weight: 600; text-decoration: none; }
.lead-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--m-out) var(--ease); }
@media (hover: hover) and (pointer: fine) { .lead-link:hover svg { transform: translateX(3px); transition-duration: var(--m-in); } }

/* priced chart: high and low at the left edge, live price at its dot, tagged call lines */
.chart { height: 80px; margin-right: 7.8rem; }
.hl-t { position: absolute; left: 4px; font: 400 0.75rem/1.2 var(--font-mono); color: var(--p-muted); background: rgba(38, 38, 38, 0.85); padding: 0 4px; border-radius: 4px; pointer-events: none; }
.hl-hi { top: 0; }
.hl-lo { bottom: 2px; }
.lv { position: absolute; right: 12px; top: var(--y); transform: translateY(calc(-100% - 5px)); font: 500 0.75rem/1.2 var(--font-mono); color: #fff; background: rgba(38, 38, 38, 0.92); padding: 1px 5px; border-radius: 4px; pointer-events: none; transition: top 400ms var(--ease); white-space: nowrap; }
.lv[data-below] { transform: translateY(6px); }
.tags { position: absolute; top: 0; bottom: 0; left: calc(100% + 8px); width: 7.4rem; pointer-events: none; }
.tg { position: absolute; left: 0; top: var(--y); transform: translateY(-50%); font: 400 0.75rem/15px var(--font-mono); white-space: nowrap; }
.tg span { display: block; }
.tg-up { color: var(--up-ink); }
.tg-down { color: var(--down-ink); }
.tg-mix { color: var(--ink-2); }
.chart .tg { left: 0; }

@media (min-width: 600px) {
  .sl { padding: 7px 0; }
  .sl-q { font-size: 0.875rem; }
}
@media (min-width: 720px) {
  .mkt-sum { padding: 16px 24px 14px; }
  .mkt-body { padding: 0 24px 22px; }
  .mkt-tk { font-size: 1.75rem; }
  .sm-v { font-size: 1.25rem; }
  .chart { height: 96px; }
}
@media (min-width: 960px) {
  .grp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .mkt[data-open] { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .mkt-body.opening, .mkt-body.closing { animation: none; }
  .mkt, .chev, .lv, .lead-link svg { transition: none; }
}

/* ── market-group tiles: a wrapping grid at every width (no sideways scroller) ── */
.gtiles {
  /* A wrapping grid, never a sideways scroller: iOS Safari counted the scroller's hidden
     tiles in the page width (959px on a 440px phone), which let the page zoom out and stay
     zoomed on reload. Every group is visible at once instead. */
  display: grid; grid-template-columns: repeat(auto-fill, minmax(8.75rem, 1fr)); gap: 8px;
  margin: 0 0 10px; padding: 0; min-width: 0;
}
.gt {
  appearance: none; text-align: left; cursor: pointer; color: var(--p-ink);
  font: inherit; background: var(--p-surface); border: 1px solid var(--rule-2); border-radius: 14px;
  padding: 12px 12px 10px; display: flex; flex-direction: column; gap: 8px; min-height: 44px; min-width: 0;
  transition: transform var(--m-out) var(--ease), border-color var(--m-out) var(--ease), background var(--m-out) var(--ease);
}
.gt-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.gt-ic { width: 20px; height: 20px; flex: none; color: var(--p-muted); }
.gt-name { font: 500 1rem var(--font-display); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt-count { margin-left: auto; font-size: 0.8125rem; color: var(--p-muted); }
.gt-stats { display: flex; flex-direction: column; gap: 4px; font-size: 0.8125rem; color: var(--ink-2); }
.gt-dir, .gt-ok { display: flex; gap: 12px; }
.gt-dir > span, .gt-ok > span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.gt-dir .tri { width: 0.65em; height: 0.65em; }
.gt-ok .okm { margin: 0; width: 1em; height: 1em; }
.gt b { font-weight: 500; color: var(--p-ink); }
.gt[aria-pressed="true"] { border-color: var(--p-accent); background: #2b302b; }
.gt[aria-pressed="true"] .gt-ic { color: var(--p-accent); }
.gt:active { transform: translateY(1px) scale(0.985); transition-duration: var(--m-press); }
@media (hover: hover) and (pointer: fine) {
  .gt:hover { transform: translateY(-2px); border-color: rgba(241, 241, 239, 0.18); transition-duration: var(--m-card-in); }
  .gt[aria-pressed="true"]:hover { border-color: var(--p-accent); }
}
.board-tools { justify-content: space-between; margin: 4px 0 12px; }
.board-scope { font-size: 0.9375rem; color: var(--ink-2); }
@media (min-width: 720px) {
  .gtiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .gt { transition: none; } }

/* Mobile zoom fix: nothing may widen the layout viewport. If anything overflows, phones let the
   reader zoom out past the fit and keep that zoom on reload. Clip at the root (clip, not hidden,
   so sticky headers keep working), and keep every absolutely placed label inside the card. */
html { overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
.tags { width: calc(7.8rem - 10px); overflow: hidden; }
.tip { max-width: calc(100vw - 16px); }

/* ── forward enrichment: Vic's forecast, confidence claim, next call ── */
.fc-l { margin-top: 10px; font-size: 0.8125rem; font-weight: 600; color: var(--p-accent); }
.call .fc-l + .call-ans { margin-top: 4px; }
.fc-m { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; min-width: 0; }
.conf { display: inline-flex; align-items: center; font-size: 0.8125rem; font-weight: 500; color: var(--p-ink); border: 1px solid var(--rule); border-radius: var(--r-ctl); padding: 2px 10px; white-space: nowrap; }
.conf[data-shadow] { border-style: dashed; border-color: rgba(227, 184, 102, 0.55); color: var(--warn); }
.conf-n { margin-top: 5px; font-size: 0.8125rem; color: var(--p-muted); overflow-wrap: anywhere; }
.mom { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--ink-2); white-space: nowrap; }
.mom-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.mom-bars i { width: 3px; border-radius: 1px; background: var(--rule); }
.mom-bars i:nth-child(1) { height: 5px; }
.mom-bars i:nth-child(2) { height: 8px; }
.mom-bars i:nth-child(3) { height: 12px; }
.mom-bars i.on { background: var(--ink-2); }
.agree { color: var(--p-muted); font-size: 0.875rem; }
.nac { font-weight: 400; color: var(--p-muted); }
.sm-mv { overflow-wrap: anywhere; }

/* next call: subordinate until the current call settles, then the main forward line */
.nx { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--rule); min-width: 0; }
.nx-l { font-size: 0.8125rem; color: var(--p-muted); }
.nx-l b { color: var(--ink-2); font-weight: 500; }
.nx-cd { margin-left: 4px; color: var(--p-muted); white-space: nowrap; }
.nx-i { margin-top: 3px; font-size: 0.8125rem; color: var(--p-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
.nx-i b { color: var(--ink-2); font-weight: 500; }
.nx-i .tri { width: 0.6em; height: 0.6em; }
.nx-s { font-style: italic; }
.call[data-past] .nx { border-top: 1px solid rgba(143, 166, 142, 0.5); }
.call[data-past] .nx-l { font-size: 0.9375rem; color: var(--p-ink); }
.call[data-past] .nx-l b { color: var(--p-ink); }
.call[data-past] .nx-i { font-size: 0.875rem; color: var(--ink-2); }

/* collapsed line: confidence initial */
.sl-cf { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.25rem; margin-left: 4px; padding: 0 3px; font-size: 0.75rem; font-weight: 600; color: var(--warn); border: 1px dashed rgba(227, 184, 102, 0.55); border-radius: 4px; }

@media (max-width: 479px) {
  .gt { padding: 10px 10px 9px; gap: 6px; border-radius: 12px; }
  .gt-name { font-size: 0.9375rem; }
  .gt-dir, .gt-ok { gap: 8px; }
  .gt-stats { font-size: 0.75rem; }
}
