/* ═══════════════════════════════════════════════════════════
   CHART PANELS
═══════════════════════════════════════════════════════════ */
/* padding-bottom keeps the lowest panel (or the Modify-graphs toolbar
   when every panel is hidden) from sitting flush against the viewport
   edge. Same 14px feel as the toolbar's horizontal padding. */
/* Shell behind the chart stack matches the canvases' own #09090b fill —
   price, panes, gutters and seams read as ONE continuous surface
   (TradingView-style merged stack). No bottom padding: the last pane's
   date row sits flush with the page bottom. */
.charts{flex:1;display:flex;flex-direction:column;overflow:hidden;background:var(--chart-bg);padding-bottom:0;position:relative;margin-left:var(--chart-rail-w);margin-right:var(--dock-r);}
.charts.hidden{display:none!important;}
/* Drawing-tools column — sits between the sidebar edge and the charts.
   Absolute inside .main (same coordinate space as .top-cluster); .charts
   clears it with the margin above, mirroring the gtb-drawer push pattern.
   drawing.js appends its .draw-rail into it (see buildRail). */
#chart-rail{
  position:absolute;left:0;top:var(--header-h);bottom:0;width:var(--chart-rail-w);
  display:flex;flex-direction:column;align-items:center;
  padding-top:0.25rem;
  /* TradingView surface rule: the tools column shares the CHART's own
     background (not the sidebar's darker gradient — sandwiched between
     the bright watchlist cards and the bright canvas, that gradient read
     as a cast shadow in the light theme). Hairlines on both edges give
     it definition; inset shadows, not borders (headless smear gotcha +
     borders would add to the width). */
  background:var(--chart-bg);
  box-shadow:inset -1px 0 0 var(--border-default), inset 1px 0 0 var(--border-default);
  z-index:7;
}
/* TradingView-sized tools. REM so the glyphs ride the fluid root font
   (1.4rem = 22px laptop / 28px on a 27-inch); the CSS size overrides
   the svg() helper's px attributes.
   The button spans the column's full inner width (2.875rem rail minus the
   rail's 0.1875rem side padding) and reserves its right 0.5rem as the
   variant-chevron lane, so the glyph keeps its own centred column and the
   chevron never lands on it. Height stays 2.125rem: the vertical rhythm
   (and how many tools fit on a short viewport) is unchanged. Every rail
   button carries the same reservation — .draw-act ones included — so all
   glyph centres stay on one axis. */
#chart-rail .draw-tool{width:2.5rem;height:2.125rem;padding-right:0.5rem;}
#chart-rail .draw-tool svg{width:1.25rem;height:1.25rem;}
/* Separator rides the glyph column's centre line, not the rail's. */
#chart-rail .draw-rail-sep{margin-right:0.5rem;}
body.no-charts #chart-rail,
body.chart-zen #chart-rail,
body.mc-grid-active #chart-rail{display:none!important;}

/* Cursor modes (window.ChartCursor). Dot: a small accent dot rides the
   crosshair feed while LWC's lines + the pane hairlines are hidden.
   Arrow: nothing follows the cursor and the pointer is a plain arrow. */
.cursor-dot{
  position:absolute;left:0;top:0;width:7px;height:7px;
  margin:-3.5px 0 0 -3.5px;border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent);
  pointer-events:none;z-index:6;opacity:0;
}
.cursor-dot.on{opacity:1;}
#charts.cursor-dot-mode .sync-hairline,
#charts.cursor-arrow-mode .sync-hairline{display:none!important;}
/* TV cursor glyphs per mode: Cross swaps the OS arrow for the crosshair
   glyph, Dot hides the pointer entirely (the accent dot IS the cursor),
   Arrow forces the plain pointer, Eraser gets a real eraser glyph
   (class stamped by drawing.js while the eraser tool is active). */
#charts.cursor-cross-mode #cp-price,
#charts.cursor-cross-mode #cp-price canvas{cursor:crosshair!important;}
#charts.cursor-dot-mode #cp-price,
#charts.cursor-dot-mode #cp-price canvas{cursor:none!important;}
#charts.cursor-arrow-mode #cp-price,
#charts.cursor-arrow-mode #cp-price canvas{cursor:default!important;}
#charts.eraser-tool #cp-price,
#charts.eraser-tool #cp-price canvas{cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24'><path d='M9.2 16 4.4 11.2a1.8 1.8 0 0 1 0-2.6L11.6 1.4a1.8 1.8 0 0 1 2.6 0l4.8 4.8a1.8 1.8 0 0 1 0 2.6L11.8 16z' fill='white' stroke='black' stroke-width='1.4'/><line x1='6' y1='7' x2='11.4' y2='12.4' stroke='black' stroke-width='1.2'/><line x1='4' y1='20.6' x2='19' y2='20.6' stroke='black' stroke-width='2'/></svg>") 6 16, auto!important;}
/* The sub-pane cross (vertical .sync-hairline + horizontal .cross-hline)
   MATCHES the price chart's crosshair per mode — mismatched styles read
   as "the cross isn't synced across the graphs". !important beats the
   inline backgrounds _syncHairline/_syncCrossY set. */
#charts.cursor-crossdash-mode .sync-hairline{
  width:2px;
  background:repeating-linear-gradient(180deg,
    color-mix(in srgb, var(--text-secondary) 70%, transparent) 0 5px,
    transparent 5px 10px)!important;
}
#charts.cursor-crossdash-mode .cross-hline{
  height:2px;
  background:repeating-linear-gradient(90deg,
    color-mix(in srgb, var(--text-secondary) 70%, transparent) 0 5px,
    transparent 5px 10px)!important;
}
#charts.cursor-cross-mode:not(.cursor-crossdash-mode) .sync-hairline{
  width:2px;
  background:color-mix(in srgb, var(--accent) 45%, transparent)!important;
}
#charts.cursor-cross-mode:not(.cursor-crossdash-mode) .cross-hline{
  height:2px;
  background:color-mix(in srgb, var(--accent) 45%, transparent)!important;
}

/* ═══════════════════════════════════════════════════════════
   VIEW TOGGLE — IBM Carbon "Content Switcher" style
   Flat rectangular segmented control: solid fill on active,
   thin 1px divider between inactive segments, no gradients/blur.
   Position + size stay identical across both modes.
═══════════════════════════════════════════════════════════ */
/* Hidden until a stock is selected (welcome overlay gets `.hidden` class on pick). */
/* Trigger is magnetized to the header: flush right, flush top, full
   header height. No rounded corners. The single 1px border on the
   left is the only seam — it visually connects the button to the
   LIVE / stats area without floating above it. */
/* Self-contained floating command cluster, inset from the top-right
   corner so it works identically across all views:
     - Price / Signals: floats over the header glass
     - News Graph / Sources / Portfolio / AI Trader: floats over the canvas
   Two jewel-box controls side by side — the champagne "Graphs" trigger
   and the view dropdown — sharing one base so they read as a single
   instrument panel. Subtle rings + drop shadow give the cluster real
   presence even when there's nothing behind it. */
.top-cluster{
  position:absolute;top:0;right:0.875rem;z-index:50;
  /* WRAP, never underlap: the cluster is right-anchored inside .main and
     the toolbar's tightest JS compaction (tc-tight, ~910px budget) can
     still exceed .main when the expanded sidebar + trade ticket + Key
     Stats dock all take width. It used to overflow LEFT under the fixed
     sidebar — and since the sidebar's z-raise (48→56, persistent-drawer
     work) .main's container-type makes it a stacking context, so NO
     z-index in here can paint over the sidebar: the buried buttons fed
     their clicks to the sidebar brand (navigating the SPA to the home
     service). Allowing the flex rows to wrap keeps every control inside
     .main and clickable; at normal widths nothing wraps and the row
     renders exactly as before (min-height keeps the one-line box at
     --header-h so the vertical centring is unchanged). */
  height:auto;min-height:var(--header-h);
  display:flex;align-items:center;gap:0.5rem;
  flex-wrap:wrap;justify-content:flex-end;align-content:center;
  /* Control height scales with the viewport so the cluster breathes
     on big monitors and tightens on laptops. */
  --ctl-h:clamp(1.625rem, 1.3rem + 0.4vw, 1.875rem); /* thinner controls (2026-07-10) */
}
/* Multi-route world: app.html has no #welcome, so the legacy
   `body:has(#welcome.hidden)` display rule never matched and the
   cluster stayed hidden. Default is now visible; suppress it only on
   the command center and during the knight loading overlay. */
/* body.cc-on/.veil-on/.wallet-on/.no-charts/.no-hdr are synced by JS
   (syncBodyViewClasses in app.js, MutationObserver-fed). They replace
   body:has(...) selectors: a :has() argument mentioning .hidden made
   EVERY classList 'hidden' toggle anywhere re-match against the whole
   tree — traces showed 67-86ms style recalcs over 3,256 elements. */
/* A page load without a symbol, until app.js shows its first view
   (app.html stamps :root.boot-nochart before first paint; app.js
   syncBodyViewClasses drops it). Without it the chart buttons painted on
   a blank /chat or /watchlist for 120 to 200ms. */
:root.boot-nochart .top-cluster{display:none!important;}
body.cc-on .top-cluster{display:none!important;}
body.veil-on .top-cluster{display:none!important;}
/* Account-level Wallet page: no chart toolbar / view dropdown. Auto-shows
   again the moment #wallet-view is hidden (e.g. selecting a stock). */
body.wallet-on .top-cluster{display:none!important;}
/* Account-level Settings page: same deal — it's stockless, so the chart
   toolbar has nothing to act on. */
/* body.settings-on no longer hides .top-cluster (2026-11-22): Settings is a panel over the page, not a view. */
/* "Graphs" manages the panes under the price chart, so it only exists
   on the chart views — every other view hides the header and the
   trigger goes with it. The dropdown stays. */
.main.no-header-mode .hdr-graphs-btn{display:none!important;}
.view-toggle{position:relative;display:block;}

/* ── "Graphs" trigger — the warm half of the command cluster. Flat
   ink surface + crisp 2px champagne ring (inset box-shadow, NOT a
   border — 1px+ rounded borders bowtie in headless captures), and a
   full champagne invert on hover: bg fills warm, glyphs go ink.
   Same recipe as .view-trigger but speaking champagne. */
.hdr-graphs-btn{
  position:relative;
  display:inline-flex;align-items:center;gap:0.4375rem;
  height:var(--ctl-h, 2.125rem);padding:0 0.875rem;
  border:none;
  border-radius:0.5rem;
  background:var(--bg-primary);
  color:var(--champagne);
  font-family:var(--font-mono);
  /* Same clamp, same 9.46px trough at 1440, same sub-reference floor — this
     one also feeds .hdr-graphs-label, which inherits it. */
  font-size:max(clamp(0.65625rem, 0.59rem + 0.08vw, 0.71875rem), var(--fs-floor-sub));
  font-weight:700;
  letter-spacing:normal;text-transform:none;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--champagne) 35%, transparent),
    var(--shadow-pop);
  cursor:pointer;white-space:nowrap;
  transition:background .2s var(--ease-out),color .2s var(--ease-out),transform .15s var(--ease-out);
}
.hdr-graphs-btn:hover{
  background:var(--champagne);
  color:var(--bg-primary);
  transform:scale(1.01);
}
.hdr-graphs-btn:active{transform:scale(0.99);}
.hdr-graphs-btn:focus{outline:none;}
.hdr-graphs-btn:focus-visible{
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--champagne) 80%, transparent);
}
.hdr-graphs-icon{
  display:inline-flex;align-items:center;justify-content:center;
  flex-shrink:0;color:inherit;
}
.hdr-graphs-icon svg{display:block;}
/* "Key stats" rides the Indicators recipe above; its open state (the dock is
   showing) is the same champagne fill as hover. Filled, never a stripe. */
.hdr-graphs-btn.hdr-ks-btn.active{background:var(--champagne);color:var(--bg-primary);}

/* ── "Trade" trigger — the accent (money) member of the command cluster.
   Same recipe as .hdr-graphs-btn but speaking the accent green, so the
   one control that moves money reads apart from the chart controls.
   Pressed state rides body.trade-open — the state class the ticket
   already maintains (wallet/trade-ticket.js). Visibility rules live
   with the rest of the trade chrome in 12-trade-wallet.css. */
.hdr-trade-btn{
  position:relative;
  display:inline-flex;align-items:center;gap:0.4375rem;
  height:var(--ctl-h, 2.125rem);padding:0 0.875rem;
  border:none;
  border-radius:0.5rem;
  background:var(--bg-primary);
  color:var(--accent);
  font-family:var(--font-mono);
  font-size:clamp(0.65625rem, 0.59rem + 0.08vw, 0.71875rem);
  font-weight:700;
  letter-spacing:normal;text-transform:none;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent),
    var(--shadow-pop);
  cursor:pointer;white-space:nowrap;
  transition:background .2s var(--ease-out),color .2s var(--ease-out),transform .15s var(--ease-out);
}
.hdr-trade-btn:hover{
  background:var(--accent);
  color:var(--on-accent);
  transform:scale(1.01);
}
.hdr-trade-btn:active{transform:scale(0.99);}
.hdr-trade-btn:focus{outline:none;}
.hdr-trade-btn:focus-visible{
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 80%, transparent);
}
body.trade-open .hdr-trade-btn{background:var(--accent);color:var(--on-accent);}
.hdr-trade-icon{
  display:inline-flex;align-items:center;justify-content:center;
  flex-shrink:0;color:inherit;
}
.hdr-trade-icon svg{display:block;}

/* News-graph view controls, in the header cluster beside the dropdown.
   Flex siblings of the view trigger, so they inherit --ctl-h and sit in
   one row with it (never overlap — that was the iframe approach's bug).
   Champagne treatment mirrors the Graphs button. */
.ng-host{display:inline-flex;align-items:center;gap:0.5rem;}
.ng-host.hidden{display:none!important;}
.ng-host-btn{
  display:inline-flex;align-items:center;
  height:var(--ctl-h, 2.125rem);padding:0 0.875rem;
  border:none;border-radius:0.5rem;background:var(--bg-primary);color:var(--champagne);
  font-family:var(--font-mono);
  /* The clamp bottoms out at 9.46px around a 1440 viewport — under the 10px
     text floor. Sub-reference: the same clamp gives 15.4px at 3072. */
  font-size:max(clamp(0.65625rem, 0.59rem + 0.08vw, 0.71875rem), var(--fs-floor-sub));
  font-weight:700;letter-spacing:normal;text-transform:none;
  white-space:nowrap;cursor:pointer;
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--champagne) 35%, transparent),var(--shadow-pop);
  transition:background .2s var(--ease-out),color .2s var(--ease-out),transform .15s var(--ease-out);
}
.ng-host-btn:hover{background:var(--champagne);color:var(--bg-primary);transform:scale(1.01);}
.ng-host-btn:active{transform:scale(0.99);}
.ng-host-btn:focus{outline:none;}
.ng-host-btn:focus-visible{box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--champagne) 80%, transparent);}
.ng-host-btn.on{background:var(--champagne);color:var(--bg-primary);}
/* The Trade rail waits out the knight loading overlay too — it sits
   outside the veiled area, so without this it floats next to the
   loading screen before any chart exists. */
body.veil-on .trade-rail{display:none!important;}
/* Trigger — flat ink surface with a crisp 2px ivory ring (inset
   box-shadow, NOT a border — 1px+ rounded borders bowtie in headless
   captures). Label left, chevron right rotating 180° on open. Hover
   breathes (scale 1.01), press settles (0.99) — no color theatrics,
   the ring IS the design. */
.view-trigger{
  position:relative;
  display:flex;align-items:center;gap:0.5625rem;
  min-width:clamp(13.5rem, 9.5rem + 4.5vw, 16.25rem);
  height:var(--ctl-h, 2.125rem);
  padding:0 0.8125rem 0 0.875rem;
  border:none;
  border-radius:0.5rem;
  background:var(--bg-primary);
  color:var(--text-primary);
  font-family:var(--font-sans);
  font-size:clamp(0.75rem, 0.69rem + 0.07vw, 0.8125rem);
  font-weight:600;letter-spacing:.01em;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--text-primary) 35%, transparent),
    var(--shadow-pop);
  cursor:pointer;
  transition:background .2s var(--ease-out),color .2s var(--ease-out),box-shadow .2s var(--ease-out),transform .15s var(--ease-out);
}
/* Hover fills with the ring colour (ivory) instead of scaling, so it reads
   the same way as the Sort / Updates buttons beside it (which fill
   champagne). No size change on hover. */
.view-trigger:hover{background:var(--text-primary);color:var(--bg-primary);}
.view-trigger:active{transform:scale(0.99);}
.view-trigger:focus{outline:none;}
.view-trigger:focus-visible{
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--text-primary) 80%, transparent);
}
.view-trigger-icon{
  display:inline-flex;align-items:center;justify-content:center;
  flex-shrink:0;color:var(--text-secondary);
  transition:color .18s ease;
}
.view-trigger:hover .view-trigger-icon{color:var(--bg-primary);}
.view-trigger-icon svg{display:block;}
.view-trigger-label{flex:1;text-align:left;}
.view-trigger-caret{
  margin-left:2px;opacity:.7;
  transition:transform .3s var(--ease-out),opacity .18s ease;
}
.view-trigger[aria-expanded="true"] .view-trigger-caret{
  transform:rotate(180deg);opacity:1;
}

/* Menu — flat ink card matching the trigger's exact width and ring,
   dropping 0.5rem below it. Rows run edge to edge with hairline
   separators; no glass, no blur — the crisp ivory ring and deep
   shadow do all the lifting (ring is inset box-shadow per the
   bowtie trap). */
.view-menu{
  position:absolute;top:calc(100% + 0.5rem);right:0;
  /* t10 polish (2026-10-24): wide enough that no description is cut;
     right anchored, so at 1280 it grows left and stays on screen. */
  width:100%;min-width:19.5rem;max-width:calc(100vw - 2rem);
  /* 1px ivory ring via inset box-shadow (1px rounded BORDERS bowtie
     in headless captures) + 1px padding so the edge-to-edge rows sit
     inside the ring — children paint OVER inset shadows and would
     otherwise swallow it. */
  padding:1px;
  border:none;
  border-radius:0.5rem;
  background:var(--bg-primary);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--text-primary) 35%, transparent),
    var(--shadow-rail),
    var(--shadow-modal);
  overflow:hidden;
  opacity:0;
  transform:translateY(-10px);
  transform-origin:top right;
  pointer-events:none;
  transition:
    opacity .2s var(--ease-out),
    transform .2s var(--ease-out);
}
.view-menu[hidden]{display:none;}  /* honored only at first paint */
.view-toggle.open .view-menu{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
/* Items slide in from the left — fade + 12px x-travel, ~40ms apart,
   mirroring the reference's framer-motion stagger. Sections and
   separators ride the same cascade so the column settles as one. */
.view-toggle.open .view-menu > *{
  animation:vm-item-in .2s var(--ease-out) both;
}
.view-toggle.open .view-menu > :nth-child(1){animation-delay:0ms;}
.view-toggle.open .view-menu > :nth-child(2){animation-delay:40ms;}
.view-toggle.open .view-menu > :nth-child(3){animation-delay:80ms;}
.view-toggle.open .view-menu > :nth-child(4){animation-delay:120ms;}
.view-toggle.open .view-menu > :nth-child(5){animation-delay:160ms;}
.view-toggle.open .view-menu > :nth-child(6){animation-delay:200ms;}
.view-toggle.open .view-menu > :nth-child(7){animation-delay:240ms;}
.view-toggle.open .view-menu > :nth-child(8){animation-delay:280ms;}
.view-toggle.open .view-menu > :nth-child(9){animation-delay:320ms;}
.view-toggle.open .view-menu > :nth-child(10){animation-delay:360ms;}
.view-toggle.open .view-menu > :nth-child(n+11){animation-delay:400ms;}
@keyframes vm-item-in{
  from{opacity:0;transform:translateX(-12px);}
  to{opacity:1;transform:translateX(0);}
}
@media (prefers-reduced-motion: reduce){
  .view-menu{transition:opacity .12s ease;transform:none;}
  .view-toggle.open .view-menu > *{animation:none;}
}
/* Option rows — edge-to-edge, hairline-separated, with the
   reference's signature move: hovering a row INVERTS it (ivory fill,
   ink text). Title over muted description, plain stroke icon left,
   champagne check on the selected row. Rows are square-cornered
   (the menu's overflow:hidden rounds the stack), so plain borders
   are safe here — no bowtie. */
.view-opt{
  position:relative;
  display:flex;align-items:center;gap:0.75rem;width:100%;
  padding:0.625rem 1rem;
  border:0;border-radius:0;
  background:transparent;color:var(--text-secondary);
  font-family:var(--font-sans);text-align:left;
  cursor:pointer;
  transition:background .18s var(--ease-out);
}
/* Round the stack's outer corners to sit flush inside the ring. */
.view-menu > :first-child{border-radius:0.4375rem 0.4375rem 0 0;}
.view-menu > :last-child{border-radius:0 0 0.4375rem 0.4375rem;}
.view-opt + .view-opt{border-top:1px solid color-mix(in srgb, var(--text-primary) 8%, transparent);}
/* Grouping: flush small-caps champagne eyebrows over a hairline. */
.view-menu-section{
  padding:0.5rem 1rem 0.25rem;
  font-size:max(0.625rem, var(--fs-floor));font-weight:700;letter-spacing:normal;
  text-transform:none;color:color-mix(in srgb, var(--champagne) 55%, transparent);
  pointer-events:none;
}
.view-menu-sep{
  height:1px;margin:0;
  background:color-mix(in srgb, var(--text-primary) 8%, transparent);
}
.view-opt-chip{
  display:inline-flex;align-items:center;justify-content:center;
  flex-shrink:0;
  color:inherit;
}
.view-opt-chip svg{display:block;}
.view-opt-text{
  display:flex;flex-direction:column;gap:0.125rem;
  flex:1;min-width:0;
}
.view-opt-title{
  font-size:0.8125rem;font-weight:600;letter-spacing:var(--tr-body);
  color:var(--text-primary);line-height:1.2;
  transition:color .18s ease;
}
.view-opt-desc{
  font-size:max(0.6875rem, var(--fs-floor));font-weight:450;letter-spacing:0;
  color:var(--text-muted);line-height:1.35;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  transition:color .18s ease;
}
.view-opt-check{
  flex-shrink:0;margin-left:0.25rem;
  color:var(--champagne);
  opacity:0;transform:scale(0);
  /* spring-ish overshoot on the way in */
  transition:opacity .12s ease,transform .3s cubic-bezier(.34,1.56,.64,1);
}
/* The invert: ivory fill, every glyph flips to ink. */
.view-opt:hover{background:var(--text-primary);color:var(--text-xmuted);}
.view-opt:hover .view-opt-title{color:var(--bg-primary);}
.view-opt:hover .view-opt-desc{color:var(--menu-invert-desc);}
.view-opt:hover .view-opt-check{color:var(--bg-primary);}

/* Active option: the check is the whole statement — no wash, no rail,
   per the reference. _syncViewTrigger() stamps aria-current on the
   live option. */
.view-opt[aria-current="true"] .view-opt-check{opacity:1;transform:scale(1);}

/* Reserve room for the floating command cluster — Graphs trigger
   (~6rem) + gap + fluid dropdown (≤16.25rem) + inset + breathing room. */
.hdr{padding-right:25rem;}

/* In graph/map modes: full-canvas content, header + toolbar + sentiment bar gone */
.main.no-header-mode .hdr{display:none!important;}
.main.no-header-mode .time-controls{display:none!important;}
.main.no-header-mode .sent-bar{display:none!important;}
.main.no-header-mode .grok-badge{display:none!important;}
.main.no-header-mode .advisor-badge{display:none!important;}
.main.no-header-mode .squeeze-badge{display:none!important;}

/* Chartless views (command center, wallet, settings, research) must drop the
   same chart chrome — the symbol/price header especially, or the LAST viewed
   ticker + price lingers at the top of the watchlist. Keyed on body.no-charts
   (JS-synced from #charts visibility) rather than a per-view teardown, so no
   single view-switch path can forget it — the Watchlist-label handler did,
   which is exactly how the stale header leaked. */
body.no-charts .hdr{display:none!important;}
body.no-charts .time-controls{display:none!important;}
body.no-charts .sent-bar{display:none!important;}
body.no-charts .grok-badge{display:none!important;}
body.no-charts .advisor-badge{display:none!important;}
body.no-charts .squeeze-badge{display:none!important;}
/* The trade ticket is the chart-page slide-in — it lingers on the watchlist
   when trade-open isn't torn down on the view switch. Hide it on chartless
   views, EXCEPT the wallet, which legitimately opens the same #trade-overlay. */
body.no-charts:not(.wallet-on) .trade-overlay{display:none!important;}

/* Partner graph view (iframes demo.html with ?ticker=...) */
.graph-view{flex:1;display:flex;flex-direction:column;position:relative;background:var(--bg-primary);overflow:hidden;}
.graph-view.hidden{display:none!important;}
.graph-view iframe{flex:1;width:100%;height:100%;border:0;background:var(--bg-primary);}
.graph-overlay{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:color-mix(in srgb, var(--bg-primary) 88%, transparent);backdrop-filter:blur(4px);z-index:10;
}
.graph-overlay.hidden{display:none!important;}
.graph-overlay-card{
  padding:1.75rem 2.25rem;border:1px solid var(--border-default);border-radius:var(--radius-md);
  background:var(--bg-elevated);text-align:center;max-width:25rem;
}
.graph-overlay-spinner{
  width:2.25rem;height:2.25rem;margin:0 auto 0.875rem;
  border:3px solid color-mix(in srgb, var(--accent) 15%, transparent);border-top-color:var(--accent);
  border-radius:50%;animation:spin 0.9s linear infinite;
}
.graph-overlay-spinner.hidden{display:none;}
@keyframes spin{to{transform:rotate(360deg);}}
.graph-overlay-title{font-size:1rem;font-weight:700;color:var(--text-primary);margin-bottom:0.375rem;}
.graph-overlay-sub{font-size:0.8125rem;color:var(--text-secondary);line-height:1.5;margin-bottom:1rem;}
/* ═══════════════════════════════════════════════════════════════════════════
   RESEARCH VIEW  (.rsx-*)  — terminal board, rebuilt 2026-07-28
   ---------------------------------------------------------------------------
   WHAT CHANGED AND WHY

   v1 (2026-07-27) gave Research a command bar with Overview / Supply chain /
   Screener tabs over a single card of rows. The owner cut the bar: the
   sidebar's Research section already navigates those four surfaces, so the bar
   was a second nav competing with it for the same clicks. What replaces it is
   a BOARD, not a header — a command line over a grid of function panels.

   THE REFERENCE. Bloomberg's Terminal, plus Koyfin, Finviz Elite and
   TradingView's screener for density calibration. What actually carries over:

     • You type where you want to go. The command line resolves a function
       code (SPLC / SCRN / PICK / PAPR) or a ticker, and a ticker opens the
       supply chain graph for that name. Not decoration — it is the fastest
       path on the page.
     • Panels, not marketing cards. Every panel is identity (code + name +
       service state), one line of what it is, then label/value pairs on
       hairline rules, then one action. No hero art, no oversized radii, no
       whitespace as a design element.
     • Monospace numerics, uppercase micro-labels, colour ONLY where it means
       something: accent = the action, green/red = service state. Everything
       else is the three text greys.

   THE DIALECT IS OURS. Every metric here is lifted from 07-command-center.css
   rather than invented: opaque --bg-tertiary cards with ONE hairline inset
   ring (never a 1px border — rounded borders bowtie in headless screenshots),
   --radius-lg, an in-card header shelf, the 60px page grid on the scrolling
   content layer, .cc-section-title type for kickers, .cc-btab type for chips,
   and the cc-rise / cc-row-in entrance cascade driven by --i. Every colour
   resolves through tokens.css, so both themes follow for free.

   LAYERING inside #research-view: the view is now nothing but .rsx-stage, and
   the stage shows exactly one of #rsx-index / #research-iframe /
   .research-panel.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Stage ─────────────────────────────────────────────────────────────────
   One positioned box; every layer below fills it absolutely. min-height:0 so
   it can actually shrink inside the flex column (the classic flex overflow
   trap). It is now the view's only child, so it simply takes the whole view. */
.rsx-stage{position:relative;flex:1 1 auto;min-width:0;min-height:0;}
/* Beats `.graph-view iframe{flex:1}` on id specificity. */
#research-iframe{
  position:absolute;inset:0;width:100%;height:100%;border:0;
  background:var(--bg-primary);
}

/* ── Board scroller ────────────────────────────────────────────────────────
   Shown for the 'all' target, i.e. /watchlist/research. Native markup, so it
   renders the same whether Eva is up or down — which is most of the "handle
   Eva being down gracefully" story. */
#rsx-index{
  position:absolute;inset:0;display:none;
  overflow-y:auto;overflow-x:hidden;
  background:var(--bg-primary);
  scrollbar-width:thin;
  scrollbar-color:color-mix(in srgb, var(--accent) 22%, transparent) transparent;
}
#rsx-index::-webkit-scrollbar{width:0.375rem;height:0.375rem;}
#rsx-index::-webkit-scrollbar-track{background:transparent;}
#rsx-index::-webkit-scrollbar-thumb{background:var(--border-default);border-radius:0.25rem;}
#rsx-index:hover::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--accent) 28%, transparent);}
/* Mode switch. research.js puts .rsx-mode-index on #research-view for the
   overview; the tool targets drop it. The panel override is deliberate: the
   board needs neither Eva nor a plan, so a stale soon/down panel must never
   cover it. */
#research-view.rsx-mode-index #rsx-index{display:block;}
#research-view.rsx-mode-index #research-iframe{display:none;}
#research-view.rsx-mode-index .research-panel{display:none!important;}
/* The native feed surfaces are the same idea one step further: research.js
   stamps data-rsx-mode with the target, so exactly one .rf-surface is shown
   and the eva frame + its two state cards are out of the way. */
#research-view.rsx-mode-feed #research-iframe{display:none;}
#research-view.rsx-mode-feed .research-panel{display:none!important;}
#research-view[data-rsx-mode="filings"] #rsx-filings{display:flex;}

/* Content layer: carries the page grid AND scrolls as one composited texture
   with the cards on top of it (see .cc-canvas in 07-command-center.css for
   why the grid does not live on the scroller). Full bleed, so the grid always
   reaches both walls; the board INSIDE it is what gets width-capped. */
.rsx-index-inner{
  display:flex;flex-direction:column;gap:0.875rem;
  padding:0.875rem;min-height:100%;
  background-image:
    linear-gradient(color-mix(in srgb, var(--text-primary) 3.5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--text-primary) 3.5%, transparent) 1px, transparent 1px);
  background-size:60px 60px;   /* matches the command center + home's hero grid */
  will-change:transform;
}
/* One measure for the whole catalogue. --rsx-n (the old PANEL COUNT, stamped
   by app.html) is gone with the hand-written panels: the catalogue always
   lists every tool, so the count no longer varies by tier and a per-tier cap
   would only make a Squire's page a different shape for no reason. 126rem is
   three 42rem cards, the width the three-column breakpoint is tuned for. */
.rsx-cmd,
.rsx-cat{max-width:126rem;}

/* ═══ Command line ═════════════════════════════════════════════════════════
   The board's masthead and its fastest control at the same time. Card chrome
   is .cc-section's, so it sits in the same family as the panels under it. */
.rsx-cmd{
  position:relative;z-index:5;   /* the results sheet overlays the panels */
  display:flex;flex-direction:column;min-width:0;
  background:var(--bg-tertiary);
  box-shadow:inset 0 0 0 1px var(--border-default);
  border-radius:var(--radius-lg);
  animation:cc-rise 480ms var(--ease-out) 60ms backwards;
}
/* In-card header shelf, exactly like .cc-layout .cc-section-head. */
.rsx-cmd-head{
  flex:none;display:flex;align-items:center;gap:0.75rem;
  padding:0.5rem 0.75rem 0.4375rem 0.875rem;
  border-bottom:1px solid var(--border-subtle);   /* straight edge — no bowtie */
}
.rsx-cmd-kicker{
  font-family:var(--font-sans);font-size:max(0.6875rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-secondary);
}
.rsx-cmd-head .rsx-svc{margin-left:auto;}

/* The input row. The caret is a real terminal prompt, not an icon. */
.rsx-cmd-bar{
  display:flex;align-items:center;gap:0.625rem;
  padding:0 0.875rem;height:2.75rem;min-width:0;
}
.rsx-cmd-caret{
  flex:none;
  font-family:var(--font-mono);font-size:0.875rem;font-weight:700;
  color:var(--accent);line-height:1;
  transition:opacity .18s var(--ease-out);
}
.rsx-cmd.on .rsx-cmd-caret{animation:rsx-blink 1.1s steps(1,end) infinite;}
@keyframes rsx-blink{0%,55%{opacity:1;}56%,100%{opacity:0.25;}}
.rsx-cmd-input{
  flex:1 1 auto;min-width:0;
  /* The input's own line box is 15px at a 1440 root, so the thing you click to
     focus the command line was under the 24px pointer floor while the 2.75rem
     bar around it was not. Stretching the box to the bar is the fix that costs
     nothing: the input is transparent and borderless, and a single-line input
     centres its text in its box, so this moves the TARGET without moving a
     single rendered pixel at any width — including the reference. */
  align-self:stretch;height:auto;
  background:transparent;border:none;outline:none;padding:0;
  font-family:var(--font-mono);font-size:0.8125rem;font-weight:500;
  letter-spacing:var(--tr-mono);
  color:var(--text-primary);caret-color:var(--accent);
}
.rsx-cmd-input::placeholder{color:var(--text-xmuted);}
.rsx-cmd-input:focus{outline:none;}
/* Terminal casing, display only — the value keeps whatever was typed and the
   handlers uppercase it themselves. Scoped off :placeholder-shown so the
   sentence-case placeholder is left alone. */
.rsx-cmd-input:not(:placeholder-shown){text-transform:uppercase;}
/* Focus reads on the CARD (a ring on a bare input inside a card is noise). */
.rsx-cmd:focus-within{
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 38%, transparent);
}
/* Key legend. First thing to go when the row gets tight — it is a hint, and
   the keys work whether or not it is on screen. */
.rsx-cmd-keys{
  flex:none;display:flex;align-items:center;gap:0.3125rem;
  font-family:var(--font-sans);font-size:max(0.5625rem, var(--fs-floor));font-weight:600;
  text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-xmuted);white-space:nowrap;
}
.rsx-cmd-keys kbd{
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  color:var(--text-muted);background:transparent;
  padding:0.0625rem 0.25rem;border-radius:var(--radius-sm);
  box-shadow:inset 0 0 0 1px var(--border-default);
}
.rsx-cmd-keys kbd + span{margin-right:0.25rem;}

/* ── Results sheet ─────────────────────────────────────────────────────────
   Overlays the panels rather than pushing them: the board must not jump on
   every keystroke. --bg-elevated + the pop shadow is the app's own popover
   recipe (see the Add Stock panel). */
.rsx-cmd-out{
  position:absolute;top:calc(100% + 0.25rem);left:0;right:0;
  max-height:19rem;overflow-y:auto;overflow-x:hidden;
  padding:0.25rem 0;
  background:var(--bg-elevated);
  border-radius:var(--radius-lg);
  box-shadow:inset 0 0 0 1px var(--border-strong), var(--shadow-pop);
  scrollbar-width:thin;
  scrollbar-color:color-mix(in srgb, var(--accent) 22%, transparent) transparent;
}
.rsx-cmd-out.hidden{display:none;}
.rsx-cmd-out::-webkit-scrollbar{width:0.375rem;}
.rsx-cmd-out::-webkit-scrollbar-track{background:transparent;}
.rsx-cmd-out::-webkit-scrollbar-thumb{background:var(--border-default);border-radius:0.25rem;}
.rsx-og{
  padding:0.4375rem 0.875rem 0.25rem;
  font-family:var(--font-sans);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-xmuted);
}
.rsx-og + .rsx-or{border-top:none;}
/* One result. Same 3-track discipline as a board row: key · label · meta. */
.rsx-or{
  display:grid;grid-template-columns:4.25rem minmax(0,1fr) auto;
  align-items:center;gap:0.75rem;
  height:2rem;padding:0 0.875rem;cursor:pointer;
  transition:background 120ms var(--ease-out);
}
.rsx-or-k{
  font-family:var(--font-mono);font-size:max(0.6875rem, var(--fs-floor));font-weight:700;
  letter-spacing:var(--tr-mono);color:var(--text-primary);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.rsx-or-n{
  font-family:var(--font-sans);font-size:max(0.6875rem, var(--fs-floor));font-weight:500;
  color:var(--text-secondary);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.rsx-or-m{
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-xmuted);white-space:nowrap;
}
.rsx-or:hover,
.rsx-or.on{background:color-mix(in srgb, var(--accent) 12%, transparent);}
.rsx-or.on .rsx-or-k{color:var(--accent);}
.rsx-or-empty{
  padding:0.625rem 0.875rem;
  font-family:var(--font-sans);font-size:max(0.6875rem, var(--fs-floor));font-weight:500;
  color:var(--text-muted);
}

/* ═══ Bands ════════════════════════════════════════════════════════════════
   Three of them (Live / Context / Evidence), and they are what turns a wall of
   cards into a catalogue: every tool answers a question, but not the same KIND
   of question, and the band header says which kind. Header is a label shelf on
   a hairline, exactly like an .rf-shelf — not a section hero. */
.rsx-cat{display:flex;flex-direction:column;gap:1.125rem;min-width:0;}
.rsx-band{display:flex;flex-direction:column;gap:0.625rem;min-width:0;}
.rsx-band-h{
  display:flex;align-items:baseline;gap:0.625rem;min-width:0;
  padding:0 0.125rem 0.4375rem;
  border-bottom:1px solid var(--border-subtle);   /* straight edge — no bowtie */
  animation:cc-rise 480ms var(--ease-out) 90ms backwards;
}
.rsx-band-n{
  flex:none;margin:0;
  font-family:var(--font-display);font-size:max(0.75rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-primary);line-height:1.1;
}
/* What kind of answer everything under this band gives. The one place on the
   catalogue where a sentence earns its room, because it is the band's whole
   claim — the CARDS below carry no prose at all. */
.rsx-band-d{
  min-width:0;
  font-family:var(--font-sans);font-size:max(0.6875rem, var(--fs-floor));font-weight:500;
  color:var(--text-muted);line-height:1.3;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.rsx-band-c{
  flex:none;margin-left:auto;
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-xmuted);white-space:nowrap;
}

/* ONE track template for every band, so the three bands stack into a single
   visual grid and a card is the same size wherever it sits. Two columns from
   ~56rem, three from ~88rem, one below that.

   Deliberate column counts rather than auto-fit, and the bands are deliberately
   NOT width-capped to their own card count. Both were tried against the real
   2 / 5 / 2 split on 2026-08-01: per-band capping does fill the short bands'
   rows, but it gives each band a different right edge, and a catalogue whose
   sections do not line up reads as broken layout rather than as structure. A
   trailing empty CELL in a shared grid reads as a grid. */
.rsx-band-g{
  display:grid;gap:0.875rem;
  grid-template-columns:minmax(0,1fr);
  align-items:stretch;
}
@media (min-width:56rem){ .rsx-band-g{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (min-width:88rem){ .rsx-band-g{grid-template-columns:repeat(3,minmax(0,1fr));} }
/* A fourth track from 2400px. Media-query rem is the INITIAL 16px, not the
   fluid root, so these breakpoints are 896 / 1408 / 2400 CSS px. Without this
   one a card measures 28rem at 1440 but 37rem at 2560 and 42rem at 3072 — the
   same card gets airier the bigger the monitor, which is the opposite of what
   a dense catalogue should do. Measured on the real page: four tracks hold the
   card at 28-30rem across all three widths. */
@media (min-width:150rem){ .rsx-band-g{grid-template-columns:repeat(4,minmax(0,1fr));} }

/* ═══ Catalogue card ═══════════════════════════════════════════════════════
   Chrome is unchanged from the v2 function panel — this is the same card in
   the same family as .cc-section and .rf-card. What changed is the CONTENT
   order: question, then tool name, then one live reading. */
.rsx-card{
  position:relative;                  /* containing block for the stretched go link */
  display:flex;flex-direction:column;min-width:0;
  background:var(--bg-tertiary);
  box-shadow:inset 0 0 0 1px var(--border-default);
  border-radius:var(--radius-lg);
  /* Entry via a FROM-keyframe + BACKWARDS fill (the .cc-row recipe): a
     forwards fill would pin transform forever and kill the hover lift. */
  animation:cc-row-in 600ms var(--ease-out) calc(150ms + var(--i, 0) * 70ms) backwards;
  transition:box-shadow 140ms var(--ease-out), transform 140ms var(--ease-out);
}
.rsx-card:hover{
  transform:translateY(-1px);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
}
/* Keyboard parity: tabbing to the footer link lights the card it belongs to. */
.rsx-card:focus-within{
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent);
}
/* A tool whose backend is not wired yet. Recessed, not decorated: no hover
   lift, no accent mnemonic, and the meaning is carried by the "Not wired" chip
   as TEXT so it survives greyscale and a screen reader. */
.rsx-card.is-soon{background:transparent;}
.rsx-card.is-soon:hover{transform:none;box-shadow:inset 0 0 0 1px var(--border-default);}
.rsx-card.is-soon .rsx-p-code{
  color:var(--text-muted);background:transparent;
  box-shadow:inset 0 0 0 1px var(--border-default);
}
.rsx-card.is-soon .rsx-c-q{color:var(--text-secondary);}

/* Header shelf: function code · source or service state · state mark · open
   in a new tab. */
.rsx-c-head{
  flex:none;display:flex;align-items:center;gap:0.5rem;
  padding:0.5rem 0.75rem 0.4375rem 0.875rem;
  border-bottom:1px solid var(--border-subtle);
}
/* The source noun and the Eva chip both sit right; the state mark follows it. */
.rsx-c-head .rsx-p-src,
.rsx-c-head .rsx-svc{margin-left:auto;}
.rsx-c-head .rsx-p-src ~ .rsx-c-mark,
.rsx-c-head .rsx-svc ~ .rsx-c-mark{margin-left:0;}

/* State mark. Two of them, and neither relies on colour: "Not wired" and the
   plan name are words, and the padlock is a shape. */
.rsx-c-mark{
  flex:none;display:inline-flex;align-items:center;gap:0.25rem;
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);
  white-space:nowrap;padding:0.0625rem 0.3125rem;border-radius:var(--radius-sm);
}
.rsx-c-mark.soon{
  color:var(--text-xmuted);
  box-shadow:inset 0 0 0 1px var(--border-default);
}
.rsx-c-mark.lock{
  color:var(--accent);background:var(--accent-dim);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent);
}

/* THE TITLE: the question the tool answers. Display face, two lines max — a
   question that needs three lines is two questions. */
.rsx-c-q{
  margin:0;padding:0.6875rem 0.875rem 0;
  font-family:var(--font-display);font-size:0.9375rem;font-weight:700;
  letter-spacing:var(--tr-heading);color:var(--text-primary);line-height:1.25;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
}
/* THE SUBTITLE: what the tool is called. Deliberately the quieter of the two
   — you look for the answer you want, then learn the name of the thing that
   gives it. */
.rsx-c-tool{
  padding:0.25rem 0.875rem 0.625rem;
  font-family:var(--font-mono);font-size:max(0.625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-muted);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}

/* ── Proof of life ─────────────────────────────────────────────────────────
   The card's last line, and the reason it is a product page rather than a
   brochure. Value, what the value counts, and how fresh the data behind it is
   — on a hairline, so every card in a row ends on the same rule. */
.rsx-c-life{
  display:flex;align-items:baseline;gap:0.4375rem;min-width:0;
  margin:0 0.875rem;padding:0.4375rem 0 0.5rem;
  border-top:1px solid var(--border-subtle);
}
.rsx-l-v{
  flex:none;
  font-family:var(--font-mono);font-size:0.9375rem;font-weight:700;
  letter-spacing:var(--tr-mono);color:var(--text-primary);
  font-variant-numeric:tabular-nums;line-height:1.1;
}
/* A reading that has not landed yet, and one that could not be taken, are the
   SAME muted treatment on purpose: neither is data. */
.rsx-c-life:not(.is-live) .rsx-l-v,
.rsx-l-v.none{color:var(--text-xmuted);font-size:max(0.6875rem, var(--fs-floor));font-weight:600;}
.rsx-l-k{
  min-width:0;
  font-family:var(--font-sans);font-size:max(0.625rem, var(--fs-floor));font-weight:600;
  color:var(--text-muted);line-height:1.3;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.rsx-l-f{margin-left:auto;flex:none;}
/* Same shelf position, for a card that has no reading to give: not wired yet,
   or not on this plan. Never a number. */
.rsx-c-soon{
  margin:0 0.875rem;padding:0.4375rem 0 0.5rem;
  border-top:1px solid var(--border-subtle);
  font-family:var(--font-sans);font-size:max(0.6875rem, var(--fs-floor));font-weight:500;
  line-height:1.4;color:var(--text-muted);
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
}
/* The mnemonic. Terminal function codes are the one place a mono chip earns
   accent colour on this board. */
.rsx-p-code{
  flex:none;
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  letter-spacing:var(--tr-caps);
  color:var(--accent);background:var(--accent-dim);
  padding:0.125rem 0.3125rem;border-radius:var(--radius-sm);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent);
  transition:background 140ms var(--ease-out), box-shadow 140ms var(--ease-out);
}
.rsx-card:hover .rsx-p-code{
  background:color-mix(in srgb, var(--accent) 16%, transparent);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent);
}
/* Which service serves this card, for the tools that are not Eva-backed. */
.rsx-p-src{
  flex:none;margin-left:auto;
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-muted);white-space:nowrap;
  padding:0.0625rem 0.3125rem;border-radius:var(--radius-sm);
  box-shadow:inset 0 0 0 1px var(--border-default);
}
/* Open in a new tab. This is where the deleted bar's single #rsx-ext chip
   went: per panel, so it names the tool it opens. z-index keeps it above the
   footer link's stretched hit area — without it the card would swallow the
   click. research.js sets the href and unhides it, per Eva product tier. */
.rsx-p-ext{
  position:relative;z-index:2;flex:none;
  display:inline-flex;align-items:center;justify-content:center;
  width:1.25rem;height:1.25rem;min-width:var(--ctl-floor);min-height:var(--ctl-floor);border-radius:var(--radius-sm);
  color:var(--text-xmuted);text-decoration:none;
  box-shadow:inset 0 0 0 1px var(--border-default);
  transition:color 140ms var(--ease-out), box-shadow 140ms var(--ease-out);
}
.rsx-p-ext:hover{
  color:var(--accent);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 38%, transparent);
}
.rsx-p-ext.hidden{display:none;}

/* ── Mini list ─────────────────────────────────────────────────────────────
   The strongest open calls inside the PICK panel. A ranking, so the bar is a
   plain accent-tinted rule at the model's own probability, never green/red —
   colour here would read as a return. */
.rsx-p-list{display:flex;flex-direction:column;padding:0.4375rem 0.875rem 0;}
.rsx-p-list.hidden{display:none;}
/* Left packed rather than justified: a probability bar stretched across a
   1000px panel stops reading as a quantity. */
.rsx-lrow{
  display:grid;grid-template-columns:3.25rem minmax(3rem,14rem) 2.5rem;
  justify-content:start;
  align-items:center;gap:0.625rem;height:1.375rem;
}
.rsx-lsym{
  font-family:var(--font-mono);font-size:max(0.625rem, var(--fs-floor));font-weight:700;
  letter-spacing:var(--tr-mono);color:var(--text-primary);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.rsx-lbar{
  position:relative;height:0.1875rem;border-radius:1px;
  background:color-mix(in srgb, var(--text-primary) 7%, transparent);
}
.rsx-lbar::after{
  content:'';position:absolute;inset:0 auto 0 0;width:var(--w, 0%);
  border-radius:1px;background:color-mix(in srgb, var(--accent) 62%, transparent);
}
.rsx-lval{
  font-family:var(--font-mono);font-size:max(0.625rem, var(--fs-floor));font-weight:600;
  color:var(--text-secondary);text-decoration:none;text-align:right;
  font-variant-numeric:tabular-nums;
}

/* Quick launch chips — your own watchlist, straight into its graph. Fed from
   ApiCache.watchlist(), the snapshot the sidebar already polls, so the board
   costs no extra request for them. z-index above the stretched link. */
.rsx-quick{
  position:relative;z-index:2;
  display:flex;align-items:center;gap:0.5rem;
  padding:0.5rem 0.875rem 0;min-width:0;
}
.rsx-quick.hidden{display:none;}
.rsx-quick-k{
  flex:none;
  font-family:var(--font-sans);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-muted);
}
.rsx-quick-list{display:flex;align-items:center;gap:0.25rem;min-width:0;flex-wrap:wrap;}
.rsx-chip{
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  letter-spacing:var(--tr-mono);
  color:var(--text-secondary);background:transparent;border:none;
  /* min-height was already floored; the WIDTH was not, and a two-letter ticker
     (GS, MA, BB) lands at 21px. Sub-reference because a one-letter ticker
     (F, T, X) is genuinely under 24px at 3072 too, and the reference may not
     move for it. */
  height:1.125rem;min-height:var(--ctl-floor);min-width:var(--ctl-floor-sub);
  padding:0 0.3125rem;border-radius:var(--radius-sm);cursor:pointer;
  box-shadow:inset 0 0 0 1px var(--border-default);
  transition:color 140ms var(--ease-out), box-shadow 140ms var(--ease-out),
             background 140ms var(--ease-out);
}
.rsx-chip:hover{
  color:var(--accent);background:var(--accent-dim);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
}

/* The action. margin-top:auto pins every footer to the bottom, so footers line
   up across a row however tall the panels above them run. ::after stretches
   the link over the whole card: one click target, and middle click / open in
   a new tab keep working because it really is an <a href>. */
.rsx-p-go{
  margin-top:auto;
  display:inline-flex;align-items:center;gap:0.3125rem;align-self:flex-start;
  margin-left:0.875rem;margin-bottom:0.75rem;margin-right:0.875rem;
  height:1.5rem;min-height:var(--ctl-floor);padding:0 0.5rem;border-radius:var(--radius-sm);
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-secondary);text-decoration:none;white-space:nowrap;
  box-shadow:inset 0 0 0 1px var(--border-default);
  transition:color 140ms var(--ease-out), background 140ms var(--ease-out),
             box-shadow 140ms var(--ease-out);
}
/* Scoped to the ANCHOR: a not-wired card renders the same footer as a <span>,
   and stretching a dead hit area over a whole card would make it look
   clickable to the pointer while doing nothing. */
a.rsx-p-go::after{content:'';position:absolute;inset:0;border-radius:inherit;}
.rsx-p-go svg{transition:transform 140ms var(--ease-out);}
/* Not wired yet. Still a footer, still on the shelf, but inert: no stretch, no
   hover, and the cursor says so. */
.rsx-p-go.is-off{
  color:var(--text-xmuted);cursor:default;
  box-shadow:inset 0 0 0 1px var(--border-subtle);
}
.rsx-card:hover .rsx-p-go.is-off{color:var(--text-xmuted);background:transparent;}
.rsx-card:hover .rsx-p-go.is-off svg{transform:none;}
.rsx-card:hover .rsx-p-go{
  color:var(--accent);background:var(--accent-dim);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
}
.rsx-card:hover .rsx-p-go svg{transform:translateX(2px);}
.rsx-p-go:focus-visible,
.rsx-p-ext:focus-visible,
.rsx-chip:focus-visible,
.research-retry-btn:focus-visible{
  outline:1px solid var(--accent);outline-offset:-1px;
}

/* ── Service state chip ────────────────────────────────────────────────────
   Eva liveness. data-state is written by research.js: wait | up | down, on
   EVERY .rsx-eva at once (the command card's head and each Eva card's head).
   This is where the deleted bar's #rsx-status pill went: an outage is still
   visible, but as a property of the cards it affects instead of a global
   badge over surfaces that do not need Eva at all. */
.rsx-svc{
  flex:none;display:inline-flex;align-items:center;gap:0.375rem;
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-muted);white-space:nowrap;
}
.rsx-svc-dot{
  width:0.375rem;height:0.375rem;border-radius:50%;flex:none;
  background:var(--text-xmuted);
  transition:background .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.rsx-svc[data-state="up"]{color:var(--text-secondary);}
.rsx-svc[data-state="up"] .rsx-svc-dot{
  background:var(--status-ok);
  box-shadow:0 0 0 2px color-mix(in srgb, var(--status-ok) 22%, transparent);
}
.rsx-svc[data-state="down"]{color:var(--red);}
.rsx-svc[data-state="down"] .rsx-svc-dot{
  background:var(--red);
  box-shadow:0 0 0 2px color-mix(in srgb, var(--red) 22%, transparent);
}

/* ── Narrow ────────────────────────────────────────────────────────────────
   The key legend goes first (a hint, not a control), then the command card
   tightens. The panels are already single column by then. */
@media (max-width:1200px){
  .rsx-cmd-keys{display:none;}
}
@media (max-width:640px){
  .rsx-index-inner{padding:0.625rem;gap:0.625rem;}
  .rsx-cmd-bar{padding:0 0.625rem;gap:0.5rem;}
  .rsx-cmd-head{padding-left:0.625rem;}
  .rsx-c-head,.rsx-c-q,.rsx-c-tool,.rsx-quick{padding-left:0.625rem;padding-right:0.625rem;}
  .rsx-c-life,.rsx-c-soon{margin-left:0.625rem;margin-right:0.625rem;}
  .rsx-p-go{margin-left:0.625rem;margin-right:0.625rem;}
  .rsx-or{grid-template-columns:3.5rem minmax(0,1fr);padding:0 0.625rem;}
  .rsx-or-m{display:none;}
  /* The band blurb is the first thing to go: the band NAME still names the
     kind of answer, and the cards under it are the content. */
  .rsx-band-d{display:none;}
}
@media (max-width:420px){
  .rsx-cmd-kicker{display:none;}
  .rsx-cmd-k-t{display:none;}
}

@media (prefers-reduced-motion:reduce){
  .rsx-cmd,.rsx-card,.rsx-band-h{animation:none;}
  .rsx-card:hover{transform:none;}
  .rsx-card:hover .rsx-p-go svg{transform:none;}
  .rsx-cmd.on .rsx-cmd-caret{animation:none;}
  .rsx-pal-card{animation:none;}
}

/* ═══ ⌘K command palette ═══════════════════════════════════════════════════
   Global (it opens from the chart and the wallet too), so it is a fixed
   overlay rather than part of the board. Same result-row grammar as the
   command line — .rsx-og / .rsx-or / .rsx-or-k|n|m are shared verbatim, which
   is the point: two ways in, one vocabulary.

   Sits above everything, including the trade drawer's 10002 and the alert
   dialog's 10001. */
.rsx-cmd-k{
  flex:none;display:inline-flex;align-items:center;gap:0.375rem;
  height:1.375rem;min-height:var(--ctl-floor);padding:0 0.375rem;
  background:transparent;border:none;border-radius:var(--radius-sm);cursor:pointer;
  font-family:var(--font-sans);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-muted);white-space:nowrap;
  box-shadow:inset 0 0 0 1px var(--border-default);
  transition:color 140ms var(--ease-out), box-shadow 140ms var(--ease-out);
}
.rsx-cmd-k:hover{
  color:var(--accent);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 34%, transparent);
}
.rsx-cmd-k:focus-visible{outline:1px solid var(--accent);outline-offset:-1px;}
.rsx-cmd-k kbd{
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  color:var(--text-secondary);
  padding:0.0625rem 0.25rem;border-radius:var(--radius-sm);
  box-shadow:inset 0 0 0 1px var(--border-default);
}

.rsx-pal{position:fixed;inset:0;z-index:10050;}
.rsx-pal.hidden{display:none;}
.rsx-pal-scrim{
  position:absolute;inset:0;
  background:color-mix(in srgb, var(--bg-primary) 62%, transparent);
  backdrop-filter:none;   /* deliberately flat — no glass */
}
/* Anchored high rather than centred: the results grow downward and the card
   must not jump as they do. 12vh is the same placement every terminal palette
   lands on. */
.rsx-pal-card{
  position:absolute;left:50%;top:12vh;transform:translateX(-50%);
  width:min(46rem, calc(100vw - 2rem));
  display:flex;flex-direction:column;min-width:0;
  background:var(--bg-elevated);
  border-radius:var(--radius-lg);
  box-shadow:inset 0 0 0 1px var(--border-strong), var(--shadow-pop);
  animation:cc-rise 200ms var(--ease-out) backwards;
}
.rsx-pal-bar{
  display:flex;align-items:center;gap:0.625rem;
  padding:0 0.75rem;height:2.75rem;min-width:0;
  border-bottom:1px solid var(--border-subtle);
}
.rsx-pal-input{
  flex:1 1 auto;min-width:0;height:2.75rem;
  background:transparent;border:none;outline:none;padding:0;
  font-family:var(--font-sans);font-size:0.8125rem;font-weight:500;
  color:var(--text-primary);caret-color:var(--accent);
}
.rsx-pal-input::placeholder{color:var(--text-xmuted);}
.rsx-pal-esc{
  flex:none;height:1.375rem;min-height:var(--ctl-floor);min-width:var(--ctl-floor);
  padding:0 0.375rem;border:none;border-radius:var(--radius-sm);
  background:transparent;cursor:pointer;
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);color:var(--text-muted);
  box-shadow:inset 0 0 0 1px var(--border-default);
}
.rsx-pal-esc:hover{color:var(--text-primary);}
.rsx-pal-esc:focus-visible{outline:1px solid var(--accent);outline-offset:-1px;}
.rsx-pal-out{
  max-height:min(26rem, 56vh);overflow-y:auto;overflow-x:hidden;
  padding:0.25rem 0;
  scrollbar-width:thin;
  scrollbar-color:color-mix(in srgb, var(--accent) 22%, transparent) transparent;
}
.rsx-pal-out::-webkit-scrollbar{width:0.375rem;}
.rsx-pal-out::-webkit-scrollbar-track{background:transparent;}
.rsx-pal-out::-webkit-scrollbar-thumb{background:var(--border-default);border-radius:0.25rem;}
/* Four tracks here, not three: the palette carries a state flag the command
   line has no room for. */
.rsx-pal-row{grid-template-columns:4.25rem minmax(0,1fr) auto auto;height:2.25rem;}
.rsx-or-flag{flex:none;display:inline-flex;align-items:center;}
.rsx-or-soon,
.rsx-or-lock{
  display:inline-flex;align-items:center;gap:0.25rem;font-style:normal;
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);
  padding:0.0625rem 0.3125rem;border-radius:var(--radius-sm);white-space:nowrap;
}
.rsx-or-soon{color:var(--text-xmuted);box-shadow:inset 0 0 0 1px var(--border-default);}
.rsx-or-lock{
  color:var(--accent);background:var(--accent-dim);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent);
}
.rsx-pal-foot{
  display:flex;align-items:center;gap:0.875rem;
  padding:0.4375rem 0.875rem;
  border-top:1px solid var(--border-subtle);
  font-family:var(--font-sans);font-size:max(0.5625rem, var(--fs-floor));font-weight:600;
  text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-xmuted);
}
.rsx-pal-foot span{display:inline-flex;align-items:center;gap:0.3125rem;}
.rsx-pal-foot kbd{
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  color:var(--text-muted);
  padding:0.0625rem 0.25rem;border-radius:var(--radius-sm);
  box-shadow:inset 0 0 0 1px var(--border-default);
}
@media (max-width:640px){
  .rsx-pal-card{top:6vh;width:calc(100vw - 1rem);}
  .rsx-pal-row{grid-template-columns:3.5rem minmax(0,1fr) auto;}
  .rsx-pal-row .rsx-or-m{display:none;}
  .rsx-pal-foot{display:none;}
}

/* ── State panels ──────────────────────────────────────────────────────────
   "Not on your plan" (below the surface's own gate) and "Eva is offline". Same card
   primitive as everything above, at a readable centered width — no longer a
   generic elevated sheet. Ids/classes unchanged: app.js drives them. */
.research-panel{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:var(--bg-primary);z-index:10;padding:1.75rem;
}
.research-panel.hidden{display:none!important;}
.research-panel-card{
  max-width:27rem;text-align:center;
  padding:1.5rem 1.75rem 1.625rem;
  background:var(--bg-tertiary);
  box-shadow:inset 0 0 0 1px var(--border-default);
  border-radius:var(--radius-lg);
}
.research-panel-title{
  font-family:var(--font-sans);font-size:max(0.6875rem, var(--fs-floor));font-weight:700;
  letter-spacing:var(--tr-caps);text-transform:uppercase;
  color:var(--accent);margin-bottom:0.5rem;
}
.research-panel-sub{font-size:0.8125rem;color:var(--text-secondary);line-height:1.6;}
.research-retry-btn{
  display:inline-flex;align-items:center;justify-content:center;
  margin-top:1.125rem;height:1.875rem;padding:0 0.875rem;
  border:none;border-radius:var(--radius-sm);
  box-shadow:inset 0 0 0 1px var(--border-default);
  background:transparent;color:var(--text-primary);text-decoration:none;
  font-family:var(--font-sans);font-size:0.75rem;font-weight:600;cursor:pointer;
  transition:color .14s var(--ease-out), background .14s var(--ease-out),
             box-shadow .14s var(--ease-out);
}
.research-retry-btn:hover{
  color:var(--accent);background:var(--accent-dim);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 34%, transparent);
}
/* Eva going down must not read as "Research is down": name what still works. */
.research-panel-alt{
  margin-top:1.125rem;padding-top:0.875rem;
  border-top:1px solid var(--border-subtle);
  font-family:var(--font-mono);font-size:max(0.625rem, var(--fs-floor));letter-spacing:0.03em;
  text-transform:uppercase;color:var(--text-muted);
}
.research-panel-alt a{color:var(--accent);text-decoration:none;}
.research-panel-alt a:hover{text-decoration:underline;}
.graph-progress-wrap{
  display:none;height:0.25rem;width:100%;background:color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius:2px;overflow:hidden;margin-top:0.375rem;
}
.graph-progress-wrap.active{display:block;}
.graph-progress-bar{
  height:100%;width:32%;background:linear-gradient(90deg,transparent,var(--accent) 40%,var(--accent) 60%,transparent);
  border-radius:2px;animation:progress-slide 1.6s ease-in-out infinite;
}
@keyframes progress-slide{
  0%{transform:translateX(-100%);}
  100%{transform:translateX(310%);}
}
.graph-progress-meta{
  margin-top:0.625rem;font-size:0.75rem;font-family:var(--font-mono);
  color:var(--text-muted);letter-spacing:.03em;text-transform:uppercase;
  min-height:0.875rem;
}

/* Containment: each pane's layout/paint/style invalidations stay inside
   the pane instead of escaping to the document (all pane chrome is
   absolutely positioned inside; floating tips append to <body>). */
.cp{position:relative;overflow:hidden;contain:layout paint style;}
/* Price panel is the sole flex-grower in .charts — it absorbs ALL space
   not taken by the toolbar + the (content-sized) lower-panels wrapper. So
   as graphs are unchecked in the Modify-graphs modal, the wrapper shrinks
   and the price stretches to fill; with zero graphs it's the whole area.
   min-height keeps it from collapsing if every dot panel is expanded on a
   short viewport (the wrapper then shrinks + scrolls instead). */
/* Price panel never shrinks below 40% of the viewport — when the
   lower panels need more room they scroll inside .charts-scroll
   instead of squeezing the price chart. */
.cp.price{flex:1 1 auto;min-height:47.2vh;} /* 40vh +18%: taller price floor, vh-proportional on every screen */
/* Each lower graph pane is now its own card (see `.charts-scroll > .cp`
   below), so the old hairline separators are gone — the card gap + ring
   does the visual separation instead. */
.cp.sent{flex:1.7;}
.cp.dots{flex:1.7;}
.cp.sent-blend{flex:1.7;}
.cp.dots-blend{flex:1.7;}
.cp.newsent{flex:1.7;}
.cp.news{flex:1.7;}
.cp.tape{flex:1.7;}
/* Lower-panels scroll wrapper — content-sized (flex:0 1 auto), so removing
   a graph via the modal shrinks it and the price panel grows to fill. This
   is the natural split (price at its 47.2vh floor when every graph fits).
   Dragging the divider switches to .charts.price-sized (08-chart-chrome.css),
   where the price takes an explicit height and the wrapper the rest. */
.charts-scroll{
  flex:0 1 auto;display:flex;flex-direction:column;overflow-y:auto;
  /* The price pane and every pane under it are ONE panel (owner
     2026-10-17, TradingView): no gap between panes and none over the first
     one; each pane's top hairline (below) is the only seam, and the price
     divider's line (.chart-resizer::after) sits on the first one. NO
     horizontal padding either: the panes must keep the price panel's plot
     bounds so the crosshair + time axis stay aligned across the stack. */
  gap:0;padding-top:0;
  /* Always reserve 8px for the scrollbar so panes inside .charts-scroll
     keep a stable width regardless of whether the scrollbar is visible.
     The #cp-price margin below mirrors that gutter so the price panel's
     outer width matches the panes' container width and plot areas align. */
  scrollbar-gutter:stable;
}
/* margin-right (not padding) so the *outer* width drops by 8px — that's
   what LightweightCharts reads when sizing its widget. */
.cp.price{ margin-right:0.5rem; }
/* Each lower panel's height rides the viewport HEIGHT (20.5vh ≈ the old
   13.575rem at the 27-inch reference, where the fluid root font was
   20.24px) so the price:graphs ratio stays put on smaller screens —
   graph panels still never resize at a given window size; the drag
   handle only changes how many fit before the wrapper scrolls. */
.charts-scroll > .cp{
  flex:0 0 max(6.25rem, 20.5vh);min-height:5rem;
  /* Pane surface, flush with its neighbours (one entity with the price
     pane, owner 2026-10-17): no card radius, ring or drop shadow. The seam
     is a 1px top hairline (::after below: the pane's canvases cover its
     own box, so an inset shadow would never show; not a border, which
     would add to the height). */
  background:var(--graph-card-bg);
  border-radius:0;
  box-shadow:none;
}
.charts-scroll > .cp::after{
  content:'';position:absolute;left:0;right:0;top:0;height:1px;
  background:var(--border-default);z-index:3;pointer-events:none;
}
/* Keep the 8px stable gutter, but theme the bar like the rest of the
   app: transparent track, soft padded pill thumb (the old border-subtle
   block was near-invisible on the ink and Firefox got the default bar). */
.charts-scroll{scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent;}
.charts-scroll::-webkit-scrollbar{width:0.5rem;}
.charts-scroll::-webkit-scrollbar-track{background:transparent;}
.charts-scroll::-webkit-scrollbar-thumb{
  background:var(--border-default);border-radius:99px;
  border:2px solid var(--bg-primary);background-clip:padding-box;
}
.charts-scroll::-webkit-scrollbar-thumb:hover{
  background:var(--text-xmuted);
  border:2px solid var(--bg-primary);background-clip:padding-box;
}

/* Label floats directly on the chart — no strip background/box. The
   soft shadow keeps it legible over grid + phase dots. */
.cp-label{
  position:absolute;top:0;left:0;right:0;height:1.75rem;z-index:4;
  display:flex;align-items:center;
  font-family:var(--font-sans);
  font-size:max(0.625rem, var(--fs-floor));font-weight:700;color:var(--text-secondary);
  text-transform:none;letter-spacing:normal;
  pointer-events:none;
  /* Left pad clears Compare's left "%" axis when active (--cp-left-inset, set
     on .charts by _syncPriceAxisW; 0 otherwise) so the header never overlaps
     the axis numbers. */
  padding:0 0 0 calc(0.75rem + var(--cp-left-inset, 0px));
  border-radius:0;
  text-shadow:var(--chart-label-halo);
}

/* Currency + price state after the price pane's label (2026-10-15,
   app.js _paintPriceMeta): plain grey text, amber when the price is old or
   missing; it alone takes the pointer so its hover (venue, time) works. */
.cp-pmeta{ margin-left:.5rem; font-weight:400; color:var(--text-muted); pointer-events:auto; cursor:default; }
.cp-pmeta[hidden]{ display:none; }
.cp-pmeta.is-old, .cp-pmeta.is-unavailable{ color:var(--amber); }

/* Source-mode chip beside a panel label (e.g. tape pressure candles/live). */
.cp-mode{
  display:inline-block;margin-left:0.5rem;padding:2px 0.4375rem;
  font-size:max(0.5625rem, var(--fs-floor));font-weight:600;letter-spacing:.08em;
  color:var(--text-muted);
  background:color-mix(in srgb, var(--text-primary) 4%, transparent);
  border:1px solid color-mix(in srgb, var(--text-primary) 6%, transparent);
  border-radius:0.5rem;
  vertical-align:1px;
}
.cp-mode.live{color:var(--green);border-color:color-mix(in srgb, var(--green) 25%, transparent);background:color-mix(in srgb, var(--green) 8%, transparent);}
/* Right-aligned current-value badge in a panel header. Updated by the
   render functions after each frame; sits in the same row as cp-label
   so the panel header reads "TITLE         +0.34 ↑". */
.cp-value{
  position:absolute;top:0;right:calc(9.375rem + var(--pane-axis-w,0px) + 6px);z-index:4;
  height:1.75rem;
  display:inline-flex;align-items:center;gap:0.3125rem;
  font-family:var(--font-mono);font-size:max(0.625rem, var(--fs-floor));font-weight:600;
  letter-spacing:.02em;color:var(--text-muted);
  padding:0 0.625rem;border-radius:0;
  background:transparent;
  border:none;border-left:1px solid color-mix(in srgb, var(--text-primary) 6%, transparent);
  opacity:0;transition:opacity .25s ease, color .2s;
  pointer-events:none;
}
.cp-value.shown{opacity:.9;}
.cp-value.pos{color:var(--green);}
.cp-value.neg{color:var(--red);}

/* Interval-mismatch hint inside tweet/news expansion panels. Tweet
   + news dots are 5-minute-scale; at higher TFs they show as a thin
   streak on the right edge. We surface a low-key hint so the user
   knows what to do, without nagging. Hidden by default, shown by
   JS when the panel is open AND INT_SEC > 1800. */
.cp-iv-hint{
  position:absolute;top:50%;left:50%;
  transform:translate(-50%,-50%);
  z-index:5;
  display:none;
  padding:0.375rem 0.75rem;border-radius:0.25rem;
  font-size:max(0.7rem, var(--fs-floor));font-weight:600;color:var(--accent-warm,var(--warm-hint));
  letter-spacing:.04em;
  background:color-mix(in srgb, var(--bg-primary) 78%, transparent);
  border:1px solid color-mix(in srgb, var(--warm-hint) 35%, transparent);
  -webkit-backdrop-filter:blur(6px);
          backdrop-filter:blur(6px);
  pointer-events:none;
  white-space:nowrap;
}
.cp-iv-hint.show{display:block;}

/* At >30m intervals the sentiment / tweet / news panels hide
   entirely. The sentiment lines aggregate to a handful of points
   at those timeframes (≈260 at most) and the tweet/news dot panels
   only cover ~7 days, so they'd just sit blank under a multi-month
   price chart. The JS toggles `.coarse-interval` on #charts-scroll
   to opt those cp-panels out.

   Order Flow (.cp.tape) is deliberately NOT in this list. It was
   added here in May 2026, when tape pressure was a fixed 5-minute
   server grid that squished into mush at hourly+ zoom. Order flow
   was rewritten three weeks later to be derived client side from
   the candles on screen (`_buildOrderFlow` in app.js), so it now
   buckets to whatever interval is loaded and stays readable at
   every zoom. Leaving the pane in this rule made the GRAPHS
   drawer's Order Flow checkbox a dead control above 30m: ticking it
   removed `.cp-modal-hidden` exactly as intended, and this
   `display:none !important` kept the pane off screen anyway. */
.charts-scroll.coarse-interval .cp.sent,
.charts-scroll.coarse-interval .cp.dots,
.charts-scroll.coarse-interval .cp.sent-blend,
.charts-scroll.coarse-interval .cp.dots-blend,
.charts-scroll.coarse-interval .cp.newsent,
.charts-scroll.coarse-interval .cp.news {
  display:none !important;
}

/* ── Collapsible dot panels — minimal expand/collapse ─────────
   One gesture, executed precisely. No traveling light, no glow
   trails, no multi-element choreography.
     1. Panel folds open
     2. The 1px top seam pulses very faintly in warm gold while
        data loads — the seam IS the loader
     3. Content fades in over ~500ms once data is ready
   That's the whole thing.
*/
.cp.dots, .cp.dots-blend, .cp.news{
  transition:
    flex-grow .34s cubic-bezier(.22,.61,.36,1),
    flex-basis .34s cubic-bezier(.22,.61,.36,1),
    opacity .26s ease .06s;
}
.cp.cp-collapsed{
  flex-grow:0!important;
  flex-basis:0!important;
  min-height:0!important;
  opacity:0;
  pointer-events:none;
  transition:
    flex-grow .28s cubic-bezier(.5,0,.75,0),
    flex-basis .28s cubic-bezier(.5,0,.75,0),
    opacity .2s ease;
}

/* Simple opacity fade for content reveal — no clip-path, no mask. */
.cp.dots .cp-reveal,
.cp.dots-blend .cp-reveal,
.cp.news .cp-reveal{
  clip-path:none !important;
  opacity:0;
}
.cp.dots .cp-reveal.revealed,
.cp.dots-blend .cp-reveal.revealed,
.cp.news .cp-reveal.revealed{
  opacity:1;
  transition:opacity .55s ease;
}

/* The top seam itself is the loader. While .cp-loading is on the
   panel, this 1px line breathes in warm gold; once the content
   reveals, it settles to a low static opacity. */
.cp.dots::before, .cp.dots-blend::before, .cp.news::before{
  content:'';position:absolute;
  top:-1px;left:0;right:0;height:1px;
  background:var(--accent-warm);
  opacity:0;pointer-events:none;z-index:5;
  transition:opacity .4s ease;
}
.cp.cp-loading::before{
  opacity:.55;
  animation:cpSeamBreathe 1.6s cubic-bezier(.4,0,.6,1) infinite;
}
@keyframes cpSeamBreathe{
  0%, 100% {opacity:.18;}
  50%      {opacity:.6;}
}

/* Toggle button — color shift only, no click effect. */
.cp-toggle{
  /* right shifted left by the pane's axis-column width (set per-render in
     paneAxis) so the toggle's right edge lands flush ON the right-axis
     separator line — the button reads as connected to it, and the line
     still runs full-height to the top of the pane like the price chart's. */
  position:absolute;top:0;right:var(--pane-axis-w,0px);z-index:6;
  height:1.75rem;
  display:flex;align-items:center;gap:0.3125rem;
  font-family:inherit;font-size:max(0.5rem, var(--fs-floor));font-weight:700;
  text-transform:none;letter-spacing:normal;
  color:var(--text-muted);
  background:transparent;
  border:none;border-left:1px solid color-mix(in srgb, var(--text-primary) 8%, transparent);
  border-radius:0;padding:0 0.75rem;cursor:pointer;
  transition:color .18s ease,background .18s ease;
}
.cp-toggle:hover{color:var(--accent);background:color-mix(in srgb, var(--accent) 5%, transparent);}
.cp-toggle.open{color:var(--accent);background:color-mix(in srgb, var(--green) 8%, transparent);}
.cp-tg-caret{display:inline-block;font-size:max(0.6rem, var(--fs-floor));transition:transform .32s cubic-bezier(.22,.61,.36,1);}
.cp-toggle.open .cp-tg-caret{transform:rotate(180deg);}

/* Hidden — kept as no-ops so the existing HTML/JS still works. */
.cp-loader,.cp-loader-label{display:none;}

/* Interval-switch fade-through: syncInterval() dims the whole pane stack
   while the new interval's data swaps in, then lifts it on the next frame
   after the repaint. Opacity only — no layout, stays compositor-friendly. */
#charts-scroll{transition:opacity .14s ease;}
#charts-scroll.iv-fading{opacity:.35;}

@media (prefers-reduced-motion: reduce){
  .cp.dots, .cp.dots-blend, .cp.news,
  .cp.cp-collapsed,
  .cp.dots .cp-reveal,
  .cp.dots-blend .cp-reveal,
  .cp.news .cp-reveal{transition:none!important;}
  .cp.cp-loading::before{animation:none!important;}
  #charts-scroll{transition:none!important;}
}

/* ── Sentiment window slider ──────��──────────────────── */
.sent-slider-wrap{
  /* Header-bar aligned. Sits left of the value badge (right:130px) with
     a separator border. right:225px keeps it clear of both value and toggle. */
  position:absolute;top:0;right:calc(14.0625rem + var(--pane-axis-w,0px) + 6px);z-index:6;
  height:1.75rem;
  display:flex;align-items:center;gap:0.5rem;
  pointer-events:auto;
  padding:0 0.75rem;border-radius:0;
  background:transparent;
  border-left:1px solid color-mix(in srgb, var(--text-primary) 8%, transparent);
}
.sent-slider-label{
  font-family:var(--font-mono);font-size:0.75rem;font-weight:700;
  color:var(--text-muted);letter-spacing:.03em;
  min-width:2.25rem;text-align:right;
  transition:color .15s;
}
.sent-slider-label.active{color:var(--accent);}
.sent-slider{
  -webkit-appearance:none;appearance:none;
  width:7.5rem;height:0.1875rem;
  background:var(--border-default);
  border-radius:2px;outline:none;cursor:pointer;
  transition:background .15s;
}
.sent-slider:hover{background:var(--border-default);}
/* Thumb rests muted so it doesn't read as a neon dot on the pane
   header; the accent returns on hover/drag as the interaction cue. */
.sent-slider::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;
  width:0.875rem;height:0.875rem;border-radius:50%;
  background:var(--text-muted);border:2px solid var(--bg-primary);
  cursor:pointer;transition:transform .15s, box-shadow .15s, background .15s;
  box-shadow:0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent);
}
.sent-slider::-webkit-slider-thumb:hover{
  transform:scale(1.2);background:var(--accent);
  box-shadow:0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent);
}
.sent-slider:active::-webkit-slider-thumb{
  transform:scale(1.1);background:var(--accent);
  box-shadow:0 0 0 6px color-mix(in srgb, var(--accent) 15%, transparent);
}
.sent-slider::-moz-range-thumb{
  width:0.875rem;height:0.875rem;border-radius:50%;
  background:var(--text-muted);border:2px solid var(--bg-primary);
  cursor:pointer;
}
.sent-slider::-moz-range-thumb:hover,
.sent-slider:active::-moz-range-thumb{background:var(--accent);}

/* ── Loading skeleton ─────────────────────────────────── */
.cp-skeleton{
  position:absolute;inset:0;z-index:10;
  background:var(--bg-primary);
  display:flex;align-items:center;justify-content:center;
  /* Asymmetric, same rule as .stock-loading: re-covering a pane on a stock
     switch must land in the SAME frame showSkeletons() runs (a fade-in left
     the previous symbol's canvas readable underneath for .4s), while dropping
     the skeleton still fades so revealPanels' stagger reads as a reveal. */
  transition:opacity 0s;
}
.cp-skeleton.hide{opacity:0;pointer-events:none;transition:opacity .4s ease;}
/* hidden ≠ gone: without this, the infinite sweep keeps the compositor
   redrawing every frame forever and drags chart panning below 60fps. */
.cp-skeleton.hide .skel-bar::after{animation:none;}
.cp-skeleton .skel-bar{
  width:60%;height:1px;
  background:linear-gradient(90deg,transparent,var(--border-default),transparent);
  position:relative;overflow:hidden;
}
.cp-skeleton .skel-bar::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(90deg,transparent 0%,color-mix(in srgb, var(--accent) 20%, transparent) 50%,transparent 100%);
  animation:skelSweep 1.8s ease-in-out infinite;
}
@keyframes skelSweep{
  0%{transform:translateX(-100%);}
  100%{transform:translateX(100%);}
}

/* ── Backfill placeholder — sentiment panes ─────────────
   Shown while the ticker's initial backfill runs and the pane has no
   data yet (BackfillWatch in app.js). Sits above the canvas (z-3) but
   under the pane header chrome: .cp-label shares z-4 and follows in the
   DOM (so it wins), .cp-toggle is z-6. hidden = display:none so the
   pulse animation fully stops (compositor rule). */
.cp-backfill{
  position:absolute;inset:0;z-index:4;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:0.55rem;background:var(--bg-primary);
  pointer-events:none;
}
.cp-backfill.hidden{display:none;}
.cp-backfill .bf-msg{
  font-family:var(--font-sans);font-size:max(0.7rem, var(--fs-floor));font-weight:700;
  letter-spacing:normal;text-transform:none;
  color:var(--text-muted);
  animation:bfPulse 2.4s ease-in-out infinite;
}
.cp-backfill .bf-bar{
  width:min(38%,22rem);height:3px;border-radius:2px;
  background:color-mix(in srgb, var(--neut) 25%, transparent);overflow:hidden;
}
.cp-backfill .bf-fill{
  height:100%;width:0;border-radius:2px;
  background:var(--accent);
  transition:width .5s ease;
}
.cp-backfill .bf-detail{
  font-family:var(--font-mono);font-size:max(0.65rem, var(--fs-floor));
  color:var(--text-muted);min-height:1em;
}
@keyframes bfPulse{0%,100%{opacity:.55}50%{opacity:1}}

/* ── Quiet pane note — news pane (NewsPaneNote in app.js) ──
   One muted line over the canvas, never a cover: no background, no
   pointer events. z-4 sits above the canvas (z-3) yet under the header
   chrome (.cp-label z-4 follows in the DOM, .cp-toggle z-6). Lifted above
   the zero line so the text never sits on it. Empty state = "No news in
   the last N days"; otherwise a short status line while the per stock
   sentiment line is missing. */
.cp-note{
  position:absolute;left:0;right:0;top:50%;transform:translateY(-160%);z-index:4;
  text-align:center;padding:0 1rem;pointer-events:none;
  font-family:var(--font-sans);font-size:max(0.7rem, var(--fs-floor));font-weight:500;
  letter-spacing:normal;text-transform:none;
  color:var(--text-muted);
}
.cp-note.cp-note-empty{font-size:max(0.75rem, var(--fs-floor));}
.cp-note.hidden{display:none;}

/* ── Left-to-right reveal wipe ────────────────────────── */
.cp-reveal{
  clip-path:inset(0 100% 0 0);
}
.cp-reveal.revealed{
  clip-path:inset(0 0% 0 0);
  transition:clip-path .9s cubic-bezier(.25,.46,.45,.94);
}
/* Labels fade in instead of wipe */
.cp-label.cp-reveal{
  clip-path:none;
  opacity:0;
  transition:opacity .5s ease;
}
.cp-label.cp-reveal.revealed{
  clip-path:none;
  opacity:1;
}
.dots-cv{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:3;}
.price-bg-cv{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:0;}

/* Chart bg transparent so price-bg-cv shows through.
   A companion `.chart-panel a{display:none!important}` rule used to sit here
   to hide the lightweight-charts attribution link. It is gone: `.chart-panel`
   matched NOTHING in this DOM (the price panel is `.cp.price#cp-price`, 0
   matches verified in the browser), and the library no longer emits the link
   at all — `attributionLogo` is false in mkChart and mkCellChart, and the
   attribution now lives in Account menu -> Legal -> Third party licences.
   Nothing here hides it, so nothing here has to make an exception for it. */
.cp.price .tv-lightweight-charts{background:transparent!important;}


/* ═══════════════════════════════════════════════════════════════════════════
   RESEARCH EVENT FEED  (.rf-*)  added 2026-07-31, on the shared table layout
   since 2026-10-08
   ---------------------------------------------------------------------------
   ONE row grammar, TWO surfaces: Time & sales (#rsx-tape, trading halts) and
   SEC filings (#rsx-filings, insider clusters / Form 144 / SCHEDULE 13D-G /
   SEC suspensions). static/js/research-feed.js builds both from the same
   component, so this block is written once and never forked.

   The page chrome is the shared table layout (66-table.css, .mpt-*): one
   36px bar (title, the stream tabs with counts, the window, the reason
   filter; the proportion, the feed state and Refresh on the right), then the
   list flush under it with a sticky 24px head, 24px zebra rows and one grey
   line when empty. This block keeps only what is the feed's own: the grid
   tracks, the expandable detail, the unread divider and the outcome glyphs.

   Rules kept from the original contract, unchanged in meaning:
   1. The type is stated as TEXT at a fixed column position (the code the
      exchange or SEC uses), the last track dropped as the row narrows.
   2. Direction never rides on hue alone: every --green / --red outcome
      carries an .mp-arrow glyph and an explicit sign.
   3. An ungraded outcome is a dot, never a zero (.rf-out.none, the only
      --text-xmuted value here).
   One family (--font-sans, tabular figures), sentence case, no uppercase
   micro labels, no accent lines, tokens.css colours only.
   ═══════════════════════════════════════════════════════════════════════════ */

.rf-surface{
  position:absolute;inset:0;display:none;flex-direction:column;
  min-width:0;min-height:0;background:var(--bg-primary);
}
.rf-surface [hidden]{display:none!important;}

/* The window control is disabled (not hidden) on a tab no window applies to
   (Open halts): muted, not allowed cursor, the selection kept. */
.rf-win-b:disabled{opacity:.4;cursor:not-allowed;}
.rf-win-b:disabled:hover{color:var(--text-muted);}
.rf-badge:empty{display:none;}

/* The one proportion, in the bar: label, point estimate, n and interval as
   one element (a screenshot can never crop the qualifier away). */
.rf-readouts{display:inline-flex;align-items:baseline;gap:6px;}
.rf-ro-stat{display:inline-flex;align-items:baseline;gap:6px;white-space:nowrap;}
.rf-sl{color:var(--text-muted);}
.rf-stat{display:inline-flex;align-items:baseline;gap:6px;}
.rf-stat b,.rf-frac{font-weight:400;color:var(--text-primary);}
.rf-stat.wide b{color:var(--text-secondary);}
.rf-stat .rf-n,.rf-stat .rf-ci{font-style:normal;color:var(--text-muted);}
/* Feed state: a word (Live, Lagging 4m, Stale 2h), colour only reinforces. */
.rf-state[data-state="wait"]{color:var(--amber);}
.rf-state[data-state="down"]{color:var(--red);}
.rf-state .rsx-svc-txt{font-weight:400;}

/* Warm refresh and stale data dim THE LIST, never the bar that carries the
   controls a user reacts with. */
.rf-card.busy .rf-list{opacity:0.45;}
.rf-list{transition:opacity 160ms var(--ease-out);}
.rf-board .rf-list{overflow-x:hidden;}

/* ── The list ──────────────────────────────────────────────────────────────
   ONE grid template drives the head and every row, so the columns never
   drift apart: time · ticker · type · magnitude · event · company · outcome
   · chevron (company only from 88rem, see the foot). TIME keeps its 78px
   floor (measured: the floor-clamped text outgrows a pure rem track below
   ~1300px). */
.rf-list{
  --rf-grid:max(5.375rem, 78px) 4.75rem 4rem 6rem minmax(0,1fr) 4rem 1.25rem;
}
.rf-head,.rf-row{
  display:grid;grid-template-columns:var(--rf-grid);align-items:center;
  gap:0 max(12px, 0.8525rem);padding:0 var(--mpt-padx);
}
.rf-h{
  font-weight:400;color:var(--text-muted);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.rf-h-r{text-align:right;}
.rf-h-chev{display:block;}

.rf-row{min-height:var(--mpt-row);}
.rf-row:focus-visible{outline:1px solid var(--accent);outline-offset:-1px;}
.rf-row.open{background:var(--bg-elevated);}
.rf-row.unread .rf-reason{color:var(--text-primary);}
.rf-time{color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
/* Reserved for five characters: warrants and units reach KWMWW. */
.rf-sym{font-weight:600;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
/* THE TYPE as plain text: the exchange's own code (T12, LUDP) or the form. */
.rf-chip{color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.rf-mag{justify-self:end;text-align:right;color:var(--text-primary);white-space:nowrap;}
.rf-mag .rf-u{font-style:normal;margin-left:3px;color:var(--text-muted);}
/* A live state is a WORD (Ongoing); the colour reinforces it. */
.rf-mag.live{color:var(--amber);}
.rf-reason{min-width:0;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
/* Company name: only from 88rem (the ticker is the identity). */
.rf-co{display:none;min-width:0;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.rf-h-co{display:none;}

/* Outcome. Glyph + explicit sign carry direction; hue is the third channel. */
.rf-out{justify-self:end;display:inline-flex;align-items:center;gap:3px;white-space:nowrap;}
.rf-out.up{color:var(--green);}
.rf-out.dn{color:var(--red);}
.rf-out.flat{color:var(--text-secondary);}
.rf-out.none{color:var(--text-xmuted);cursor:help;}
.rf-out .mp-arrow{width:0.7em;height:0.7em;}

.rf-chev{position:relative;display:inline-flex;align-items:center;justify-content:center;color:var(--text-xmuted);}
.rf-chev svg{width:0.75rem;height:0.75rem;transition:transform 160ms var(--ease-out);}
.rf-row.open .rf-chev svg{transform:rotate(90deg);}
.rf-row:hover .rf-chev{color:var(--text-secondary);}
/* Unread: a small filled dot on the chevron (a point, never a line). */
.rf-udot{
  position:absolute;top:0.125rem;right:-0.0625rem;
  width:0.3125rem;height:0.3125rem;border-radius:50%;background:var(--accent);
}

/* ── The unread boundary: a group row (tertiary, a grey count), sticky under
   the head. The watermark advances only on Mark read, a tab switch, or
   leaving the surface, never on scroll. */
.rf-div{
  position:sticky;top:var(--mpt-colhead);z-index:1;
  display:flex;align-items:center;gap:0;height:var(--mpt-row);padding:0 4px 0 var(--mpt-padx);
  background:var(--bg-tertiary);
}
.rf-div-l{font-weight:600;color:var(--text-secondary);}
.rf-div .rf-inline{margin-left:auto;}

/* "N new" pill: a zero height sticky rail, so it never displaces a row. */
.rf-newrail{
  position:sticky;top:var(--mpt-colhead);z-index:3;height:0;
  display:flex;justify-content:center;pointer-events:none;
}
.rf-newrail[hidden]{display:none;}
.rf-newpill{pointer-events:auto;transform:translateY(4px);box-shadow:var(--shadow-menu);}

/* ── Expanded row: a definition list, one row open at a time. ─────────── */
.rf-detail{
  padding:6px var(--mpt-padx) 10px;
  background:var(--bg-secondary);
  box-shadow:inset 0 -1px 0 var(--border-subtle);
}
.rf-dl{
  display:grid;grid-template-columns:repeat(auto-fit, minmax(13rem, 1fr));
  gap:0 1.25rem;max-width:64rem;margin:0;
}
.rf-d{
  display:flex;align-items:baseline;gap:0.75rem;padding:4px 0;
  box-shadow:inset 0 1px 0 var(--border-subtle);min-width:0;
}
.rf-d dt{flex:none;color:var(--text-muted);}
.rf-d dd{
  margin:0 0 0 auto;min-width:0;text-align:right;color:var(--text-primary);
  overflow-wrap:anywhere;
}
/* A long value spans the panel and stacks instead of wrapping a narrow track. */
.rf-d.wide{grid-column:1 / -1;flex-direction:column;align-items:flex-start;gap:3px;}
.rf-d.wide dd{margin:0;text-align:left;max-width:100%;line-height:1.5;color:var(--text-secondary);}
.rf-fwd{display:inline-flex;align-items:baseline;gap:5px;}
.rf-fwd i{font-style:normal;color:var(--text-muted);}
.rf-fwd .rf-out{justify-self:auto;margin-right:6px;}
.rf-src{
  display:inline-flex;align-items:center;gap:5px;margin-top:8px;
  height:var(--mpt-ctl);padding:0 8px;border-radius:var(--radius);
  color:var(--text-secondary);text-decoration:none;
  box-shadow:inset 0 0 0 1px var(--border-default);
}
.rf-src:hover{color:var(--text-primary);background:var(--bg-hover);}
.rf-src:focus-visible{outline:1px solid var(--accent);outline-offset:-1px;}
.rf-src svg{width:0.6875rem;height:0.6875rem;}

/* ── Loading / empty / error: skeletons at the exact row geometry; empty
   and error are the one grey line at the list's own indent. */
.rf-skel{cursor:default;pointer-events:none;}
.rf-sk{
  height:0.5rem;border-radius:2px;
  background:linear-gradient(90deg,
    color-mix(in srgb, var(--text-primary) 6%, transparent) 25%,
    color-mix(in srgb, var(--text-primary) 11%, transparent) 37%,
    color-mix(in srgb, var(--text-primary) 6%, transparent) 63%);
  background-size:400% 100%;
  animation:rf-shimmer 1.4s ease-in-out infinite;
}
@keyframes rf-shimmer{0%{background-position:100% 0;}100%{background-position:0 0;}}
@media (prefers-reduced-motion:reduce){
  .rf-sk{animation:none;}
  .rf-chev svg{transition:none;}
}
.rf-state-row{
  min-height:var(--mpt-row);display:flex;align-items:center;gap:8px;padding:0 var(--mpt-padx);
  color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.rf-state-row b{font-weight:400;color:var(--text-secondary);}
.rf-state-row.err b{color:var(--red);}

/* Gated: one line, the plan word and the plans link. */
.rf-locked{display:flex;align-items:center;gap:8px;min-height:var(--mpt-row);padding:6px var(--mpt-padx);}
.rf-locked-t{color:var(--text-primary);font-weight:600;}
.rf-locked-s{color:var(--text-muted);}

/* Show more (filings page by keyset): one quiet row under the list. */
.rf-foot{flex:none;display:flex;align-items:center;height:var(--mpt-head);padding:0 var(--mpt-padx);box-shadow:inset 0 1px 0 var(--border-default);}

/* ── Wide: from 88rem (1408 CSS px; rem in a media query is the INITIAL 16px)
   the company name gets its own track rather than stretching the event. */
@media (min-width:88rem){
  .rf-list{--rf-grid:max(5.375rem, 78px) 4.75rem 4rem 6rem minmax(0,1fr) minmax(0,0.55fr) 4rem 1.25rem;}
  .rf-co,.rf-h-co{display:block;}
}
/* ── Narrow: drop by CLASS, company first (never below 88rem), then the
   outcome, then the magnitude; the type survives all three. */
@media (max-width:80rem){
  .rf-list{--rf-grid:max(5.375rem, 78px) 4rem 3.75rem 5.5rem minmax(0,1fr) 1.25rem;}
  .rf-h-out,
  .rf-row > .rf-out{display:none;}
}
@media (max-width:64rem){
  .rf-list{--rf-grid:max(5.375rem, 78px) 3.75rem 3.75rem minmax(0,1fr) 1.25rem;}
  .rf-h-mag,
  .rf-row > .rf-mag{display:none;}
}

/* ════════════════════════════════════════════════════════════════════════════
   Corporate events (Ticket 6, 2026-10-20): .cev-* = the parts every
   Corporate events tool shares (static/js/lib/corp-events.js: status chip
   with its hover, state pill, money flag, amendment badge, expanded row,
   footer); .fil-* = Filings (FILE, static/js/filings.js) only. Board:
   t6-board Option B. tokens.css colours, no accent lines, no glow.
   ════════════════════════════════════════════════════════════════════════════ */
.fil-surface{position:absolute;inset:0;display:none;flex-direction:column;min-width:0;min-height:0;background:var(--bg-primary);}
.fil-surface [hidden]{display:none!important;}
#research-view[data-rsx-mode="filings"] .fil-surface{display:flex;}
#research-view[data-rsx-mode="filings"] #research-iframe,
#research-view[data-rsx-mode="filings"] .rf-surface{display:none!important;}
#research-view[data-rsx-mode="filings"] .research-panel{display:none!important;}

.cev-code{font-family:var(--font-sans);letter-spacing:normal;color:var(--text-muted);font-weight:600;margin-right:6px;font-variant-numeric:tabular-nums;}
.cev-ptitle{flex:none;font-weight:600;color:var(--text-primary);white-space:nowrap;}
.cev-na{color:var(--text-xmuted);}
.cev-mu{color:var(--text-muted);}

/* Status chip: one short word; every stream's line in the hover only. */
.cev-status{position:relative;flex:none;display:inline-flex;align-items:center;gap:6px;height:var(--mpt-ctl, 24px);
  padding:0 6px;border-radius:4px;color:var(--text-secondary);white-space:nowrap;cursor:default;outline:none;
  font-variant-numeric:tabular-nums;}
.cev-status:hover,.cev-status:focus-visible{background:var(--bg-tertiary);color:var(--text-primary);}
.cev-dot{width:6px;height:6px;border-radius:50%;background:var(--text-xmuted);}
.cev-ok .cev-dot{background:var(--status-ok);}
.cev-warn .cev-dot{background:var(--status-warn);}
.cev-pop{display:none;position:absolute;top:calc(100% + 4px);right:0;z-index:40;min-width:220px;padding:6px 0;
  background:var(--bg-elevated);border-radius:6px;box-shadow:var(--shadow-pop),inset 0 0 0 1px var(--border-default);}
.cev-status:hover .cev-pop,.cev-status:focus-visible .cev-pop{display:block;}
.cev-pr{display:flex;justify-content:space-between;gap:16px;padding:3px 10px;color:var(--text-secondary);}
.cev-pr > span:first-child{color:var(--text-primary);}

/* State pill: ONE quiet system for all five tools (FILE, FINC, INSD,
   HALT, STRU): a dim tint and the tone's text, never a ring or stripe;
   blank when the state does not apply. */
.cev-st{display:inline-flex;align-items:center;height:18px;padding:0 6px;border-radius:var(--radius-sm, 3px);
  line-height:1;background:var(--bg-tertiary);color:var(--text-secondary);white-space:nowrap;}
.cev-st.cev-done{background:transparent;color:var(--green);padding:0;}
.cev-st.cev-ann{background:transparent;color:var(--champagne);padding:0;}
.cev-st.cev-px{background:transparent;color:var(--text-primary);padding:0;}
.cev-st.cev-open{background:transparent;color:var(--red);padding:0;font-weight:600;}
.cev-st.cev-am{background:transparent;color:var(--text-secondary);padding:0;}
.mpt-pane .cev-st{height:16px;padding:0 5px;}
.mpt-pane .cev-st.cev-am,.mpt-pane .cev-st.cev-done,.mpt-pane .cev-st.cev-ann,.mpt-pane .cev-st.cev-px,.mpt-pane .cev-st.cev-open{padding:0;}
.cev-flag{color:var(--champagne);font-weight:600;}
.cev-amd{margin-left:8px;color:var(--text-muted);}
.cev-doc{color:var(--text-muted);text-decoration:none;display:inline-flex;align-items:center;gap:4px;}
.cev-doc:hover{color:var(--text-primary);}
.cev-ext{width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:1.2;flex:none;}
.mpt-t td.cev-time{font-variant-numeric:tabular-nums;}

/* The right side detail panel (pages): its own strip as tall as the column
   head (label + close), symbol + name, the event line, then sections. */
.mpt.cev-board > .mpt-body > .mpt-side{padding-top:0;}
.mpt.cev-board > .mpt-body > .mpt-side::before{content:none!important;display:none!important;}
.cev-sh{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:8px;height:var(--mpt-colhead, 28px);
  box-sizing:border-box;margin:0 calc(-1 * var(--mpt-side-pad, 12px)) var(--mpt-side-pad, 12px);padding:0 4px 0 var(--mpt-padx, 12px);
  background:var(--bg-secondary);color:var(--text-muted);
  box-shadow:inset 1px 0 0 var(--border-default), inset 0 -1px 0 var(--border-default);}
.cev-sh-t{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.cev-close{flex:none;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;
  border:0;border-radius:var(--radius-sm, 3px);background:transparent;color:var(--text-muted);cursor:pointer;}
.cev-close:hover{background:var(--bg-tertiary);color:var(--text-primary);}
.cev-close:focus-visible{outline:none;box-shadow:inset 0 0 0 1px var(--border-strong);}
.cev-xi{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;}
.cev-sid{font-family:var(--font-sans);letter-spacing:normal;display:flex;align-items:baseline;gap:8px;min-width:0;}
.cev-sid-s{flex:none;}
.cev-sid-n{min-width:0;font-weight:400;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.cev-stl{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.cev-stl-t{color:var(--text-primary);}
.cev-ssub{margin:4px 0 14px;color:var(--text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.cev-smsg{margin:0;color:var(--text-muted);}
.cev-sec{padding:10px 0;box-shadow:inset 0 1px 0 var(--border-subtle);}
.cev-sec:first-of-type{box-shadow:none;padding-top:0;}
.cev-xh{margin:0 0 6px;font-size:inherit;font-weight:400;color:var(--text-muted);}
.cev-kv{display:grid;grid-template-columns:minmax(0,max-content) minmax(0,1fr);gap:4px 16px;font-variant-numeric:tabular-nums;}
.cev-kv > span{min-width:0;overflow-wrap:anywhere;}
.cev-kv > span:nth-child(odd){color:var(--text-muted);}
.cev-kv > span:nth-child(even){color:var(--text-primary);}
.cev-calc > span:nth-child(even){text-align:right;}
.cev-tot{font-weight:600;}
.cev-sp{display:inline-block;width:10px;}
.cev-quote{margin:0 0 8px;color:var(--text-primary);line-height:1.45;}
.cev-more{margin:6px 0 0;color:var(--text-muted);}
.cev-hist{display:grid;grid-template-columns:max-content minmax(0,1fr) max-content max-content;gap:4px 10px;align-items:center;font-variant-numeric:tabular-nums;}
.cev-hist > span{color:var(--text-secondary);min-width:0;white-space:nowrap;}
.cev-hist > span:nth-child(4n+2){white-space:normal;overflow-wrap:anywhere;}
.cev-hist > .cev-cur{color:var(--text-primary);}
.cev-lines{display:grid;grid-template-columns:repeat(4, max-content);gap:4px 14px;font-variant-numeric:tabular-nums;color:var(--text-primary);}
.cev-lines > .cev-n{text-align:right;}
.cev-lines > .cev-lh{color:var(--text-muted);}

/* Footer: plain counts · range · Load more. */
.cev-foot{flex:none;display:flex;align-items:center;gap:16px;height:var(--mpt-row, 24px);padding:0 var(--mpt-padx, 12px);
  color:var(--text-muted);font-variant-numeric:tabular-nums;white-space:nowrap;}
.cev-foot .mpt-btn{height:20px;}
.mpt-pane .cev-foot{height:20px;padding:0 8px;font-size:11px;overflow:hidden;position:sticky;left:0;}
.mpt-pane .cev-pop{min-width:200px;}

/* Filings columns. */
.fil-t td.fil-ev{color:var(--text-primary);}

/* Pane detail (Ticket 6 DoD, 2026-10-21): a pane has no side panel, so the
   selected row opens its sections in one compact row under it (lib/
   corp-events.js inlineRow). Sections sit side by side while the pane is
   wide, one under another when narrow; the row is not a data row (no hover,
   no stripe), its cells wrap. */
.mpt-pane .mpt-t tr.cev-xrow > td{padding:6px 8px 8px;white-space:normal;overflow:visible;max-width:none;
  background:var(--bg-secondary);box-shadow:inset 0 -1px 0 var(--border-subtle);cursor:default;}
.mpt-pane .mpt-t tr.cev-xrow:hover > td{background:var(--bg-secondary);}
.cev-x{display:grid;grid-template-columns:repeat(auto-fit, minmax(190px, 1fr));gap:6px 18px;font-size:11px;line-height:1.35;}
/* The detail never sizes the columns: it takes the row's width, so a
   table keeps its column widths with a row open. */
.mpt-pane .mpt-t tr.cev-xrow .cev-x{width:0;min-width:100%;box-sizing:border-box;}
.cev-x .cev-sec,.cev-x .cev-sec:first-of-type{padding:0;box-shadow:none;min-width:0;}
.cev-x .cev-xh{margin:0 0 3px;}
.cev-x .cev-kv{gap:2px 12px;}
.cev-x .cev-quote{margin:0 0 4px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;}
.cev-x .cev-hist{gap:2px 8px;}
/* Pane bar (Ticket 6 DoD): the shared .mpt-* part (search gives way first,
   CSV never shrinks) lives in 66-table.css; the status keeps its dot below. */
@container mptpane (max-width:640px){
  .mpt-pane .cev-status .cev-sw,.mpt-pane .fin-status .cev-sw,.mpt-pane .ins-status .cev-sw{display:none;}
}
/* A page beside the open sidebar at 1440 (about 1244px of board): the
   segments and search tighten a step earlier so CSV is never clipped. */
@container mptpage (max-width:1320px){
  .cev-board .mpt-seg-b{padding:0 6px;}
  .cev-board .mpt-search{width:max(104px, 7.39rem);}
}
/* STRU pane: the shelf line keeps the gap between its label and value. */
.stru-pane .stru-caps .stru-c{gap:6px;padding:0 0 0 12px;}

/* The one bar never clips (polish 3, lib/corp-events.js fitBar): a bar
   whose controls overflow drops the status words first (the dot stays,
   the words in its hover), then tightens segments, menus and search. */
.mpt-bar.cev-tight .cev-status .cev-sw{display:none;}
.mpt-bar.cev-tighter{gap:4px;}
.mpt-bar.cev-tighter .mpt-seg-b{padding:0 4px;}
.mpt-bar.cev-tighter .mpt-dd-btn,.mpt-bar.cev-tighter > .mpt-btn,.mpt-bar.cev-tighter > .mpt-dd > .mpt-btn{padding:0 4px;}
.mpt-bar.cev-tighter > .mpt-search{min-width:36px;padding:0 6px;}
.mpt-bar.cev-tighter > .mpt-search .mpt-i{display:none;}
.mpt-bar.cev-tighter .cev-status{padding:0 3px;}

/* Narrow Corporate events pages: the one bar never wraps or clips; the
   segments tighten first, then the status keeps its dot (words in hover). */
@container mptpage (max-width:1240px){
  .cev-board .mpt-seg-b{padding:0 6px;}
  .cev-board .mpt-search{width:max(104px, 7.39rem);}
}
@container mptpage (max-width:1000px){
  .cev-board .cev-status .cev-sw{display:none;}
}

/* ════════════════════════════════════════════════════════════════════════════
   Insider transactions (INSD, static/js/insiders.js) and Trading halts (HALT,
   static/js/halts.js), Ticket 6. Both draw on the shared table (66-table.css
   .mpt-*) and the Corporate events parts above (.cev-*: status chip, state
   pill, side panel, footer); these blocks own only the page surface switch
   and a few cells (.ins-*, .hlt-*). Rebuilt 2026-10-21 (polish).
   ════════════════════════════════════════════════════════════════════════════ */
.ins-surface,.hlt-surface{position:absolute;inset:0;display:none;flex-direction:column;min-width:0;min-height:0;background:var(--bg-primary);}
.ins-surface [hidden],.hlt-surface [hidden]{display:none!important;}
#research-view[data-rsx-mode="insiders"] .ins-surface{display:flex;}
#research-view[data-rsx-mode="insiders"] #research-iframe{display:none;}
#research-view[data-rsx-mode="insiders"] .research-panel{display:none!important;}
#research-view[data-rsx-mode="insiders"] .rf-surface{display:none;}
.ins-surface > .mpt{flex:1 1 auto;}
.ins-table td.ins-who{color:var(--text-primary);}
.ins-amd{margin-left:6px;color:var(--text-muted);}
/* A narrow page (1100 with the plan chip): the code stays, the title words
   leave so Columns and CSV stay on screen (round 3, 2026-11-17). */
.ins-board .mpt-bar.cev-tighter .ins-tt{display:none;}
/* Row detail lines + footnotes (2026-11-17): one block per filed line, a
   top hairline between blocks (no side stripes), amounts right aligned. */
/* One label column for every section of the side panel, so values line up
   across Document, Details and each line. */
.ins-board .mpt-side .cev-kv{grid-template-columns:minmax(0,11em) minmax(0,1fr);}
.ins-ln{padding:6px 0;}
.ins-ln + .ins-ln{box-shadow:inset 0 1px 0 var(--border-subtle);}
.ins-lh{display:flex;justify-content:space-between;gap:12px;margin:0 0 4px;color:var(--text-primary);font-variant-numeric:tabular-nums;}
.ins-lh > .ins-n{text-align:right;white-space:nowrap;}
.ins-ln-old .ins-lh{color:var(--text-muted);}
.ins-fn{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:0 10px;margin:0 0 6px;line-height:1.45;color:var(--text-primary);overflow-wrap:anywhere;}
.ins-fn-id{color:var(--text-muted);}
.ins-txt{margin:0;white-space:pre-line;line-height:1.45;color:var(--text-primary);overflow-wrap:anywhere;}
#research-view[data-rsx-mode="tape"] .hlt-surface{display:flex;}
#research-view[data-rsx-mode="tape"] #research-iframe{display:none;}
#research-view[data-rsx-mode="tape"] .research-panel{display:none!important;}
#research-view[data-rsx-mode="tape"] .rf-surface{display:none;}
.hlt .mpt-scroll{flex:1 1 auto;}
/* The venue's reason code: its own small chip before the words (polish 3);
   a fixed minimum width keeps the words of every row on one edge. */
/* 2026-11-17: one label column for every section of the halt panel
   (Document, Evidence, SEC order), so their values start at one edge. */
/* Same on Filings and Financings (review pass 2026-11-17): Document and
   Evidence values started at two different edges. The size test's own
   label / number table (.cev-calc) keeps its layout. */
.hlt-surface .cev-kv,.fil-surface .cev-kv:not(.cev-calc),.fin-surface .cev-kv:not(.cev-calc){grid-template-columns:8.4em minmax(0,1fr);}
.hlt-code{display:inline-block;min-width:3.4em;box-sizing:border-box;margin-right:6px;padding:0 4px;border-radius:var(--radius-sm, 3px);
  background:var(--bg-tertiary);color:var(--text-secondary);text-align:center;line-height:16px;font-variant-numeric:tabular-nums;}
.hlt-rw{color:var(--text-secondary);}
.mpt-pane .hlt-code{min-width:3em;line-height:14px;margin-right:4px;}
/* A pane's Reason column is capped so State stays on screen; a long reason
   ("Improper dissemination of news") wraps to a second line, never cut
   (T10 presets 2026-10-24, Canada at 1440). */
.mpt-pane .mpt-t td.hlt-rs{white-space:normal;line-height:15px;padding-top:3px;padding-bottom:3px;}

/* T9 feel: the previous symbol's candles, dimmed, holding the price pane
   while the next symbol loads (app.js _ghostPrice). Under the pane label
   (z4) and the live chips, over the empty new chart. No motion. */
.cp-ghost{position:absolute;left:0;top:0;z-index:3;pointer-events:none;}

/* ════════════════════════════════════════════════════════════════════════════
   t10_ Ticket 10 tools (UI scaffold, 2026-10-23): static/js/t10/*.js.
   Shared part first (the page surface switch and the side panel inside a
   pane), then ONE marked block per tool, each owning ONE class namespace:
     finl .fnl-   peer .peer-   hldr .hld-   fda .fda-   est .est-
     tran .trn-   bbck .bbk-    lock .lck-   guid .gud-
   (checked 2026-10-23 against every file in css/app, templates and js: no
   prior use). A builder edits ONLY inside its own block and only its own
   namespace. CASCADE: this file loads BEFORE 66-table.css, so a rule that
   must beat an .mpt-* rule has to out-specify it (start from the tool's root
   class, e.g. .fnl-board .mpt-t td), never rely on order.
   ════════════════════════════════════════════════════════════════════════════ */
.t10-surface{position:absolute;inset:0;display:none;flex-direction:column;min-width:0;min-height:0;background:var(--bg-primary);}
.t10-surface [hidden]{display:none!important;}
.t10-surface > .mpt{flex:1 1 auto;}
#research-view[data-rsx-mode="financials"] .t10-surface[data-t10="financials"]{display:flex;}
#research-view[data-rsx-mode="comparison"] .t10-surface[data-t10="comparison"]{display:flex;}
#research-view[data-rsx-mode="ownership"] .t10-surface[data-t10="ownership"]{display:flex;}
#research-view[data-rsx-mode="fdadates"] .t10-surface[data-t10="fdadates"]{display:flex;}
#research-view[data-rsx-mode="estimates"] .t10-surface[data-t10="estimates"]{display:flex;}
#research-view[data-rsx-mode="transcripts"] .t10-surface[data-t10="transcripts"]{display:flex;}
#research-view[data-rsx-mode="buybacks"] .t10-surface[data-t10="buybacks"]{display:flex;}
#research-view[data-rsx-mode="lockups"] .t10-surface[data-t10="lockups"]{display:flex;}
#research-view[data-rsx-mode="guidance"] .t10-surface[data-t10="guidance"]{display:flex;}
#research-view[data-rsx-mode="financials"] #research-iframe,
#research-view[data-rsx-mode="comparison"] #research-iframe,
#research-view[data-rsx-mode="ownership"] #research-iframe,
#research-view[data-rsx-mode="fdadates"] #research-iframe,
#research-view[data-rsx-mode="estimates"] #research-iframe,
#research-view[data-rsx-mode="transcripts"] #research-iframe,
#research-view[data-rsx-mode="buybacks"] #research-iframe,
#research-view[data-rsx-mode="lockups"] #research-iframe,
#research-view[data-rsx-mode="guidance"] #research-iframe{display:none;}
#research-view[data-rsx-mode="financials"] .research-panel,
#research-view[data-rsx-mode="comparison"] .research-panel,
#research-view[data-rsx-mode="ownership"] .research-panel,
#research-view[data-rsx-mode="fdadates"] .research-panel,
#research-view[data-rsx-mode="estimates"] .research-panel,
#research-view[data-rsx-mode="transcripts"] .research-panel,
#research-view[data-rsx-mode="buybacks"] .research-panel,
#research-view[data-rsx-mode="lockups"] .research-panel,
#research-view[data-rsx-mode="guidance"] .research-panel{display:none!important;}
#research-view[data-rsx-mode="financials"] .rf-surface,
#research-view[data-rsx-mode="comparison"] .rf-surface,
#research-view[data-rsx-mode="ownership"] .rf-surface,
#research-view[data-rsx-mode="fdadates"] .rf-surface,
#research-view[data-rsx-mode="estimates"] .rf-surface,
#research-view[data-rsx-mode="transcripts"] .rf-surface,
#research-view[data-rsx-mode="buybacks"] .rf-surface,
#research-view[data-rsx-mode="lockups"] .rf-surface,
#research-view[data-rsx-mode="guidance"] .rf-surface{display:none;}
/* The right side panel inside a workspace pane (MPT10.shell adds .t10-pside
   and the aside; 66-table.css hides .mpt-pane .mpt-side for every other
   tool, hence the higher specificity). Board mockups: 236px in a 620x400 pane. */
.mpt.mpt-pane.t10-pside > .mpt-body > .mpt-side:not([hidden]){display:block!important;width:236px;padding:0 8px 8px;font-size:11px;}
.mpt.mpt-pane.t10-pside > .mpt-body > .mpt-side .cev-sh{margin:0 -8px 6px;padding:0 8px;height:20px;}
.mpt.mpt-pane.t10-pside > .mpt-body > .mpt-side .cev-sec{margin-top:8px;}
.mpt.mpt-pane.t10-pside > .mpt-body > .mpt-side .cev-kv{gap:2px 10px;}
.mpt.mpt-pane.t10-pside > .mpt-body > .mpt-side .cev-xh{margin-bottom:3px;}
/* A narrow pane never squeezes its grid (T10 fix 3c, 2026-10-24): below 640px
   of body width (a 3x2 workspace at 1280 or 1440) the panel lies over the
   grid's right edge as a sheet, so the grid keeps its full width. Close (x)
   or Esc puts the grid back. */
.mpt.mpt-pane.t10-pside > .mpt-body{container:t10pbody / inline-size;}
@container t10pbody (max-width:639px){
  .mpt.mpt-pane.t10-pside > .mpt-body > .mpt-side:not([hidden]){position:absolute;top:0;right:0;bottom:0;z-index:3;
    width:min(236px, 86%);box-shadow:inset 1px 0 0 var(--border-default), var(--shadow-sheet);}
}
/* t10:finl start */
/* FINL Financials (layout B): the top band (six figures, the headline bars)
   between the bar and the grid; the grid's ratio sub rows and totals. */
.fnl-board .fnl-co{flex:0 1 auto;min-width:0;max-width:16rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-secondary);}
.fnl-board .fnl-co:empty{display:none;}
.fnl-board .mpt-search.fnl-symbox{width:max(84px, 5.97rem);min-width:max(84px, 5.97rem);}
.fnl-board .fnl-symq{text-transform:uppercase;font-weight:600;}
.fnl-board .fnl-symq::placeholder{text-transform:none;font-weight:400;}
.fnl-top{flex:none;display:grid;grid-template-columns:minmax(max(290px, 20.6rem), max(360px, 25.6rem)) minmax(0, 1fr);
  height:max(168px, 11.93rem);box-shadow:inset 0 1px 0 var(--border-default);background:var(--bg-primary);}
.fnl-figs{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:1fr;padding:6px 0;box-shadow:inset -1px 0 0 var(--border-default);}
.fnl-fig{display:flex;flex-direction:column;justify-content:center;gap:1px;min-width:0;overflow:hidden;padding:0 var(--mpt-padx, 12px);line-height:1.25;}
.fnl-fig:nth-child(odd){box-shadow:inset -1px 0 0 var(--border-subtle);}
.fnl-fl{color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fnl-fv{color:var(--text-primary);font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fnl-fw{color:var(--text-muted);font-weight:400;font-size:0.88em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fnl-fv.mpt-up{color:var(--green);}
.fnl-fv.mpt-dn{color:var(--red);}
.fnl-chart{position:relative;min-width:0;display:flex;flex-direction:column;padding:6px var(--mpt-padx, 12px) 4px;overflow:hidden;}
.fnl-chh{flex:none;display:flex;align-items:center;gap:14px;min-width:0;height:20px;white-space:nowrap;}
.fnl-cht{color:var(--text-primary);font-weight:600;overflow:hidden;text-overflow:ellipsis;}
.fnl-key{display:inline-flex;align-items:center;gap:6px;color:var(--text-muted);}
.fnl-key i{display:inline-block;width:8px;height:8px;border-radius:2px;}
.fnl-key i.fnl-b1{background:var(--text-muted);}
.fnl-key i.fnl-b2{background:var(--text-primary);}
.fnl-svg{display:block;margin-top:4px;overflow:visible;}
.fnl-svg .fnl-g{stroke:var(--border-subtle);stroke-width:1;}
.fnl-svg .fnl-g0{stroke:var(--border-strong);}
.fnl-svg .fnl-ax{fill:var(--text-muted);font-size:11px;font-family:var(--font-sans);font-variant-numeric:tabular-nums;}
.fnl-svg .fnl-axm{text-anchor:middle;}
.fnl-svg rect.fnl-b1{fill:var(--text-muted);}
.fnl-svg rect.fnl-b2{fill:var(--text-primary);}
.fnl-svg rect.fnl-b1.fnl-bhi{fill:var(--text-primary);}
.fnl-chna{padding-top:8px;}
.fnl-board .fnl-na{color:var(--text-muted);}
.fnl-board .mpt-t.fnl-t td.mpt-up{color:var(--green);}
.fnl-board .mpt-t.fnl-t td.mpt-dn{color:var(--red);}
.fnl-board .mpt-t.fnl-t td.fnl-na{color:var(--text-muted);}
.fnl-board .mpt-t.fnl-t tr.fnl-tot > td{font-weight:600;color:var(--text-primary);}
.fnl-board .mpt-t.fnl-t tr.fnl-sub > td{color:var(--text-secondary);font-size:0.92em;}
.fnl-board .mpt-t.fnl-t tr.fnl-sub > td.fnl-l{padding-left:calc(var(--mpt-padx, 12px) + 12px);color:var(--text-muted);}
.fnl-board .mpt-t.fnl-t th.fnl-lh{color:var(--text-muted);}
.fnl-board .mpt-t.fnl-t td.fnl-ttm,.fnl-board .mpt-t.fnl-t th.fnl-ttm{background-image:linear-gradient(color-mix(in srgb, var(--text-primary) 3%, transparent), color-mix(in srgb, var(--text-primary) 3%, transparent));}
.fnl-board .mpt-t.fnl-t .mpt-x{display:none;}
.fnl-sidechart{padding:2px 0 0;}
.fnl-sidechart .fnl-svg{margin-top:0;}
.mpt-pane.fnl-board .mpt-t.fnl-t tr.fnl-sub > td.fnl-l{padding-left:18px;}
.mpt-pane.fnl-board .fnl-svg .fnl-ax{font-size:10px;}
/* t10:finl end */
/* t10:peer start */
/* PEER Comparison (layout A): median row pinned on top, the subject under
   it; B's premium to median range strips in the side panel only. */
.peer-board .peer-co{flex:0 1 auto;min-width:0;max-width:14rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-secondary);}
.peer-board .peer-co:empty{display:none;}
.peer-board .mpt-search.peer-symbox{width:max(84px, 5.97rem);min-width:max(84px, 5.97rem);}
.peer-board .peer-symq{text-transform:uppercase;font-weight:600;}
.peer-board .peer-symq::placeholder{text-transform:none;font-weight:400;}
.peer-board .peer-edit-a{position:relative;flex:none;display:inline-flex;align-items:center;gap:2px;}
.peer-board .mpt-t.peer-t td.peer-sym{font-weight:600;color:var(--text-primary);}
/* Add symbol (Ali 2026-10-25): the toolbar box that turns the peers into a
   chosen set, plus a remove button on every peer row (hover, selection or
   keyboard focus). */
.peer-board .mpt-search.peer-addq{width:max(116px, 8.24rem);min-width:max(96px, 6.82rem);}
.mpt-pane.peer-board .mpt-search.peer-addq{width:max(92px, 6.54rem);min-width:72px;}
.peer-board .peer-addi{text-transform:uppercase;}
.peer-board .peer-addi::placeholder{text-transform:none;}
.peer-board .mpt-t.peer-t td.peer-sym{position:relative;}
.peer-board .peer-del{position:absolute;top:50%;right:2px;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;
  width:18px;height:18px;padding:0;border:0;border-radius:var(--radius-sm, 3px);background:transparent;color:var(--text-muted);cursor:pointer;opacity:0;}
.peer-board tr.mpt-r:hover .peer-del,.peer-board tr.mpt-sel .peer-del,.peer-board .peer-del:focus-visible{opacity:1;}
.peer-board .peer-del:hover{background:var(--bg-hover);color:var(--text-primary);}
.peer-board .peer-del:focus-visible{outline:1px solid var(--accent);outline-offset:-1px;}
.peer-board .mpt-t.peer-t td.peer-nm{color:var(--text-secondary);}
.peer-board .mpt-t.peer-t col.peer-cnm{width:auto;}
.peer-board .mpt-t.peer-t td.peer-na{color:var(--text-muted);}
.peer-board .mpt-t.peer-t > tbody > tr.peer-med > td{position:sticky;top:var(--mpt-colhead, 24px);z-index:1;font-weight:600;color:var(--text-primary);
  background:var(--bg-tertiary);box-shadow:inset 0 -1px 0 var(--border-default);}
.peer-board .mpt-t.peer-t > tbody > tr.peer-med > td.peer-na{color:var(--text-muted);font-weight:400;}
.peer-board .mpt-t.peer-t > tbody > tr.peer-me:not(.mpt-sel) > td{background:var(--bg-stripe);}
.peer-board .mpt-t.peer-t > tbody > tr.peer-me:not(.mpt-sel):hover > td{background:var(--bg-row-hover);}
.peer-board .mpt-t.peer-t .mpt-x{display:none;}
.peer-ed-pop.mpt-pop{min-width:260px;padding:8px;gap:8px;}
.peer-ed{display:flex;flex-direction:column;gap:8px;}
.peer-ed .mpt-search.peer-ed-q{width:100%;}
.peer-ed-q .mpt-q{text-transform:uppercase;}
.peer-ed-q .mpt-q::placeholder{text-transform:none;}
.peer-ed-l{display:flex;flex-wrap:wrap;gap:4px;max-width:260px;}
.peer-ed-i{display:inline-flex;align-items:center;gap:2px;height:22px;padding:0 2px 0 8px;border-radius:var(--radius-sm, 3px);
  background:var(--bg-tertiary);color:var(--text-primary);font-weight:600;}
.peer-ed-x{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;border:0;border-radius:var(--radius-sm, 3px);
  background:transparent;color:var(--text-muted);cursor:pointer;}
.peer-ed-x:hover{background:var(--bg-hover);color:var(--text-primary);}
.peer-ed-none{color:var(--text-muted);}
.peer-ed-f{display:flex;align-items:center;gap:6px;}
.peer-ed-n{flex:1 1 auto;color:var(--text-muted);}
.peer-prem{display:flex;flex-direction:column;gap:8px;font-variant-numeric:tabular-nums;}
.peer-pm{display:grid;grid-template-columns:minmax(0,1fr) max-content max-content;gap:3px 10px;align-items:center;}
.peer-pl{color:var(--text-muted);min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.peer-pv{color:var(--text-primary);text-align:right;white-space:nowrap;}
.peer-pr{text-align:right;white-space:nowrap;color:var(--text-secondary);}
.peer-pr.mpt-up{color:var(--green);}
.peer-pr.mpt-dn{color:var(--red);}
.peer-ps{grid-column:1 / -1;display:flex;min-width:0;}
.peer-rsvg{display:block;overflow:visible;}
.peer-rsvg .peer-rl{stroke:var(--border-strong);stroke-width:2;stroke-linecap:round;}
.peer-rsvg .peer-rp{fill:var(--bg-secondary);stroke:var(--text-muted);stroke-width:1.2;}
.peer-rsvg .peer-rm{stroke:var(--text-secondary);stroke-width:1.5;}
.peer-rsvg .peer-rs{fill:var(--text-primary);}
.peer-key{display:flex;gap:12px;margin-top:8px;color:var(--text-muted);font-size:0.92em;}
.peer-key > span{display:inline-flex;align-items:center;gap:5px;}
.peer-key i{display:inline-block;flex:none;}
.peer-key .peer-ks{width:8px;height:8px;border-radius:50%;background:var(--text-primary);}
.peer-key .peer-kp{width:6px;height:6px;border-radius:50%;box-shadow:inset 0 0 0 1.2px var(--text-muted);}
.peer-key .peer-km{width:1.5px;height:10px;background:var(--text-secondary);}
.mpt-pane .peer-prem{gap:6px;}
.mpt-pane .peer-pm{gap:2px 8px;}
/* t10:peer end */
/* t10:hldr start */
/* Fund ownership (HLDR, static/js/t10/hldr.js). Layout B: the summary band
   (six figures + "Change in shares, top 10" bars) between the bar and the
   table, page only. 05 loads before 66-table.css: out-specify from .mpt.hld-board. */
.mpt.hld-board .hld-symq{width:max(116px, 8.2rem);}
.mpt.hld-board .hld-symq .mpt-q{font-weight:600;text-transform:uppercase;}
/* The stock's logo before its symbol (lib/table-ux.js slot); the field's
   own 6px gap is the space, so the slot keeps no margin of its own. */
.mpt.hld-board .hld-symq .hld-symlg{display:inline-flex;flex:none;}
.mpt.hld-board .hld-symq .hld-symlg:empty{display:none;}
.mpt.hld-board .hld-symq .hld-symlg .tux-lg{margin-right:0;top:0;}
.mpt.hld-board .hld-hctl{display:inline-flex;align-items:center;gap:var(--mpt-gap);flex:none;}
.mpt.hld-board .hld-sum{flex:none;display:flex;min-width:0;background:var(--bg-primary);box-shadow:inset 0 1px 0 var(--border-default);}
.mpt.hld-board .hld-kpis{flex:none;display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));width:max(284px, 20.2rem);
  box-shadow:inset -1px 0 0 var(--border-default);}
.mpt.hld-board .hld-kpi{display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;padding:7px var(--mpt-padx);
  box-shadow:inset 0 -1px 0 var(--border-subtle);}
.mpt.hld-board .hld-kpi:nth-child(odd){box-shadow:inset 0 -1px 0 var(--border-subtle), inset -1px 0 0 var(--border-subtle);}
.mpt.hld-board .hld-kpi:nth-last-child(-n+2){box-shadow:none;}
.mpt.hld-board .hld-kpi:nth-last-child(2){box-shadow:inset -1px 0 0 var(--border-subtle);}
.mpt.hld-board .hld-kl{color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mpt.hld-board .hld-kh{display:flex;align-items:center;gap:2px;min-width:0;}
.mpt.hld-board .hld-kh .mpt-info{width:16px;height:16px;margin:-2px 0;}
.mpt.hld-board .hld-kv{font-weight:600;color:var(--text-primary);font-variant-numeric:tabular-nums;white-space:nowrap;}
.mpt.hld-board .hld-kv.mpt-up{color:var(--green);}
.mpt.hld-board .hld-kv.mpt-dn{color:var(--red);}
.mpt.hld-board .hld-chg{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;padding:6px var(--mpt-padx) 8px;}
.mpt.hld-board .hld-chg-h{display:flex;align-items:center;gap:12px;min-width:0;height:20px;margin-bottom:4px;white-space:nowrap;}
.mpt.hld-board .hld-chg-t{font-weight:600;color:var(--text-primary);}
.mpt.hld-board .hld-lg{display:inline-flex;align-items:center;gap:5px;color:var(--text-muted);}
.mpt.hld-board .hld-sw{display:inline-block;width:8px;height:8px;border-radius:2px;}
.mpt.hld-board .hld-sw + .hld-sw,.mpt.hld-board .hld-lg .hld-sw:not(:first-child){margin-left:8px;}
.mpt.hld-board .hld-chg-p{color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;}
.mpt.hld-board .hld-bars{display:flex;flex-direction:column;gap:1px;min-width:0;font-size:11px;line-height:12px;}
.mpt.hld-board .hld-bars.hld-none{min-height:24px;justify-content:center;align-items:center;}
.mpt.hld-board .hld-br{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);height:13px;cursor:pointer;border-radius:2px;}
.mpt.hld-board .hld-br:hover{background:var(--bg-row-hover);}
.mpt.hld-board .hld-bl,.mpt.hld-board .hld-bri{display:flex;align-items:center;gap:5px;min-width:0;}
.mpt.hld-board .hld-bl{justify-content:flex-end;}
.mpt.hld-board .hld-bri{justify-content:flex-start;}
.mpt.hld-board .hld-bar{flex:none;height:9px;min-width:2px;}
.mpt.hld-board .hld-up{background:var(--green);}
.mpt.hld-board .hld-dn{background:var(--red);}
.mpt.hld-board .hld-bn{min-width:0;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mpt.hld-board .hld-bl .hld-bn{text-align:right;margin-right:5px;}
.mpt.hld-board .hld-bri .hld-bn{margin-left:5px;}
.mpt.hld-board .hld-bv{flex:none;color:var(--text-muted);font-variant-numeric:tabular-nums;white-space:nowrap;}
.mpt.hld-board .mpt-t td.hld-nm{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mpt.hld-board .mpt-t > tbody > tr.hld-tot > td{font-weight:600;color:var(--text-primary);background:var(--bg-secondary);}
.mpt.hld-board .mpt-side .cev-sid-n{color:var(--text-primary);white-space:normal;}
.mpt.hld-board .hld-ph{display:grid;grid-template-columns:minmax(0,1fr) max-content max-content;gap:3px 16px;margin-top:8px;font-variant-numeric:tabular-nums;}
.mpt.hld-board .hld-ph-h{color:var(--text-muted);font-size:.857em;}
.mpt.hld-board .hld-ph-w{min-width:4.2em;}
/* 2026-11-17: one label column for every section of the holder panel, so the
   values of Position, Document and Portfolio start at one edge. */
.mpt.hld-board .cev-kv{grid-template-columns:9.2em minmax(0,1fr);}
.mpt.hld-board .hld-kd{margin-left:.5em;font-size:.857em;font-weight:500;}
/* 2026-11-19 (F13 page fix): a PARTIAL quarter's notice, directly above the
   table: one slim row on the band's own seam and the page's type scale, its
   text starting at the table's text edge (--mpt-padx); the status chip's
   warn dot, no card, no stripe. "so far" / "not final" beside a figure. */
.mpt.hld-board .hld-note{flex:none;display:flex;align-items:flex-start;gap:8px;min-width:0;padding:5px var(--mpt-padx);
  line-height:16px;color:var(--text-secondary);background:var(--bg-primary);box-shadow:inset 0 1px 0 var(--border-default);}
.mpt.hld-board .hld-nd{flex:none;width:6px;height:6px;margin-top:5px;border-radius:50%;background:var(--status-warn);}
.mpt.hld-board .hld-nt{min-width:0;}
.mpt.hld-board .hld-nt b{font-weight:600;color:var(--text-primary);}
.mpt.hld-board .hld-sf{margin-left:.5em;font-size:.857em;font-weight:500;color:var(--text-muted);}
.mpt.mpt-pane.hld-board .hld-note{padding:3px 8px;font-size:11px;line-height:14px;}
.mpt.mpt-pane.hld-board .hld-nd{margin-top:4px;}
.mpt.hld-board .hld-ph > .cev-n{text-align:right;}
.mpt.hld-board .hld-ph-s{min-width:0;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mpt.hld-board .hld-foot{position:sticky;left:0;}
/* 2026-11-19 page fix 4: a flagged Shares / Value cell. The short label
   fits the column at 1100 px and may wrap to a second line ("as written"),
   never clipped; the full reason is the cell's hover and the row panel. */
.mpt.hld-board .mpt-t > tbody > tr > td.hld-flag{white-space:normal;overflow:visible;text-overflow:clip;
  line-height:1.25;color:var(--text-secondary);}
.mpt.hld-board .mpt-t td.hld-flag .hld-flt{white-space:nowrap;}
.mpt.hld-board .mpt-t td.hld-flag .hld-fls{display:block;font-size:.857em;color:var(--text-muted);white-space:nowrap;}
/* The start list (2026-11-22): no company chosen, one table of the most
   widely held companies under the bar's Symbol box. The bar keeps its
   place; the controls of a company view step aside. */
.mpt.hld-board.hld-start [data-hld="view"],.mpt.hld-board.hld-start .hld-hctl,
.mpt.hld-board.hld-start .mpt-search:not(.hld-symq),.mpt.hld-board.hld-start [data-dd="cols"],
.mpt.hld-board.hld-start .hld-csv{display:none;}
.mpt.hld-board .hld-startq{color:var(--text-muted);white-space:nowrap;}
.mpt.hld-board .hld-srow{cursor:pointer;}
.mpt.hld-board .mpt-t td.hld-co{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mpt.hld-board .hld-cos{font-weight:600;color:var(--text-primary);}
.mpt.hld-board .hld-con{margin-left:0.6em;color:var(--text-secondary);}
.mpt.hld-board .hld-sk{display:inline-block;width:3.5em;height:0.7em;border-radius:3px;vertical-align:middle;
  background:linear-gradient(90deg,var(--bg-secondary) 25%,var(--bg-hover) 50%,var(--bg-secondary) 75%);background-size:200% 100%;
  animation:hld-sk 1.4s var(--ease-out) infinite;}
.mpt.hld-board .hld-sk.hld-sk-w{width:min(14em,70%);}
@keyframes hld-sk{0%{background-position:100% 0;}100%{background-position:-100% 0;}}
@media (prefers-reduced-motion:reduce){.mpt.hld-board .hld-sk{animation:none;}}
.sfw-funds-locked .hld-note,.sfw-funds-locked .hld-sum{display:none!important;}
/* t10:hldr end */
/* t10:fda start */
/* FDA dates (FDA), static/js/t10/fda.js. Layout B: the month calendar strip
   (one block per month of the window, scrolls sideways, slim bar) over the
   dated list grouped by month. Marked days are filled, never outlined. */
.fda-board .fda-cal{position:relative;display:flex;gap:22px;padding:10px 12px 12px;box-shadow:inset 0 -1px 0 var(--border-subtle);overflow:hidden;
  font-variant-numeric:tabular-nums;}
.fda-board .fda-nav{position:absolute;top:6px;right:8px;display:flex;gap:2px;z-index:1;}
.fda-board .fda-cal.fda-paged{padding-right:68px;}
.fda-board .fda-pg[disabled]{opacity:.35;cursor:default;}
.fda-board .fda-mo{flex:0 0 auto;width:168px;}
.fda-board .fda-mh{display:flex;justify-content:space-between;align-items:baseline;margin:0 0 6px;font-size:12px;font-weight:600;color:var(--text-primary);}
.fda-board .fda-wk,.fda-board .fda-grid{display:grid;grid-template-columns:repeat(7,24px);justify-content:space-between;}
.fda-board .fda-wk span{font-size:10px;color:var(--text-muted);text-align:center;line-height:16px;}
.fda-board .fda-d{display:block;height:20px;line-height:20px;margin:1px 0;border:0;padding:0;background:none;font:inherit;font-size:11.5px;
  text-align:center;color:var(--text-secondary);border-radius:var(--radius-sm, 3px);}
.fda-board .fda-d.fda-now{color:var(--text-primary);font-weight:600;}
.fda-board button.fda-d.fda-ev{background:var(--bg-tertiary);color:var(--text-primary);font-weight:600;cursor:pointer;}
.fda-board button.fda-d.fda-ev:hover{background:var(--bg-row-hover);}
.fda-board .fda-d.fda-dsel,.fda-board button.fda-d.fda-ev.fda-dsel{background:var(--bg-row-sel);color:var(--text-bright, var(--text-primary));}
.fda-board .fda-list{margin-top:6px;display:flex;flex-direction:column;gap:1px;}
.fda-board .fda-li{display:grid;grid-template-columns:18px auto minmax(0,1fr);gap:6px;align-items:baseline;border:0;padding:1px 3px;margin:0 -3px;background:none;
  font:inherit;font-size:11.5px;text-align:left;color:var(--text-secondary);cursor:pointer;border-radius:var(--radius-sm, 3px);}
.fda-board .fda-li:hover{background:var(--bg-row-hover);}
.fda-board .fda-li.fda-lion{background:var(--bg-row-sel);}
.fda-board .fda-ls{font-weight:600;color:var(--text-primary);white-space:nowrap;}
.fda-board .fda-ld{color:var(--text-muted);text-align:right;font-variant-numeric:tabular-nums;}
.fda-board .fda-lp{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.fda-board .fda-more{font-size:11px;color:var(--text-muted);padding-left:0;}
.fda-board .fda-mu{color:var(--text-muted);}
.mpt.fda-board .fda-t td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.mpt.fda-board .fda-t td.fda-co{color:var(--text-secondary);}
.fda-board .fda-pt{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.fda-board .fda-docs{display:grid;grid-template-columns:auto auto auto 1fr;gap:3px 10px;align-items:baseline;font-variant-numeric:tabular-nums;}
.fda-board .fda-dk{color:var(--text-primary);}
.mpt-pane.fda-board .fda-docs{grid-template-columns:auto auto 1fr;}
.mpt-pane.fda-board .fda-docs > span:nth-child(4n+3){display:none;}
/* t10:fda end */
/* t10:est start */
/* Analyst estimates (EST), static/js/t10/est.js. Layout A: the consensus
   grid (label column + four period columns that share the rest, so the last
   column is never cut at 1280 with the side panel open), B's one line
   summary above it, the Surprises table. */
.est-board .est-id{display:inline-flex;align-items:baseline;gap:6px;min-width:0;flex:0 1 auto;overflow:hidden;white-space:nowrap;}
.est-board .est-sym{font-weight:600;color:var(--text-primary);}
.est-board .est-co{color:var(--text-secondary);overflow:hidden;text-overflow:ellipsis;min-width:0;}
.est-board .est-nc{color:var(--text-muted);}
.est-board .mpt-search{width:112px;flex:none;}
.est-board .est-sum{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 28px;padding:9px 12px 9px;box-shadow:inset 0 -1px 0 var(--border-subtle);
  font-size:var(--mpt-fs, 13px);font-variant-numeric:tabular-nums;}
.est-board .est-si{display:inline-flex;align-items:baseline;gap:8px;white-space:nowrap;}
.est-board .est-sl{color:var(--text-muted);}
.est-board .est-sv{color:var(--text-primary);font-weight:600;}
.est-board .est-sv.mpt-up{color:var(--green);}
.est-board .est-sv.mpt-dn{color:var(--red);}
/* "estimated" next to Next report: plain muted words, not a chip (3c). */
.est-board .est-dn{margin-left:6px;color:var(--text-muted);font-weight:400;}
.est-board .est-mu,.est-board td.est-na{color:var(--text-muted);}
.mpt.est-board .est-t col.est-lc{width:30%;}
.mpt.est-board .est-t.est-sx col.est-lc{width:auto;}
.mpt.est-board .est-t td.est-l,.mpt.est-board .est-t th.est-lh{color:var(--text-secondary);text-align:left;}
.mpt.est-board .est-t th.est-on{background:var(--bg-tertiary);color:var(--text-primary);}
.mpt.est-board .est-t > tbody > tr.mpt-r > td.est-cur{color:var(--text-primary);font-weight:600;}
.mpt.est-board .est-t td,.mpt.est-board .est-t th{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.est-board .est-res{display:inline-block;padding:0 6px;border-radius:var(--radius-sm, 3px);line-height:17px;font-size:.92em;}
.est-board .est-beat{background:var(--green-dim);color:var(--green);}
.est-board .est-miss{background:var(--red-dim);color:var(--red);}
.est-board .est-inl,.est-board .est-up{background:var(--bg-tertiary);color:var(--text-secondary);}
.est-board .est-pt{display:flex;align-items:center;gap:8px;}
.est-board .est-chart{display:block;width:100%;max-width:300px;height:auto;margin:2px 0 0;overflow:visible;}
.est-board .est-line{fill:none;stroke:var(--text-secondary);stroke-width:1.4;}
.est-board .est-dot{fill:var(--text-primary);}
.est-board .est-gl{stroke:var(--border-subtle);stroke-width:1;}
.est-board .est-ax{fill:var(--text-muted);font-size:10px;font-variant-numeric:tabular-nums;}
/* Pane: a 28px bar, the summary on one tight line, 11px cells. */
.mpt-pane.est-board .est-sum{gap:2px 14px;padding:5px 8px;font-size:11px;}
.mpt-pane.est-board .est-si{gap:5px;min-width:0;max-width:100%;white-space:normal;}
.mpt-pane.est-board .est-sl{white-space:nowrap;}
.mpt.mpt-pane.est-board .est-t{width:100%;}
.mpt.mpt-pane.est-board .est-t col.est-lc{width:auto;}
.mpt.mpt-pane.est-board .est-t td.est-l{max-width:110px;}
/* t10:est end */
/* t10:tran start */
/* Call transcripts (TRAN, static/js/t10/tran.js): layout B, the three column
   reader. Page: call list | the text (wide centre) | Find + Contents +
   participants. Pane: the call list + the right side panel (.t10-pside).
   Only .trn-* classes; MPTable rules are out specified with .mpt.trn-board. */
.mpt.trn-board .trn-co{flex:0 1 auto;min-width:0;max-width:14rem;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mpt.trn-board .mpt-bar > [data-trn="sym"]{flex:0 0 auto;width:max(96px, 6.82rem);}
.mpt.trn-board .mpt-bar > [data-trn="q"]{flex:0 1 auto;width:max(176px, 12.5rem);min-width:96px;}
.mpt.trn-board .trn-status{display:inline-flex;flex:none;}
.mpt.trn-board .trn-status[hidden]{display:none;}
.trn-reader{flex:1 1 auto;display:grid;grid-template-columns:max(var(--trn-l, 232px), min(21%, max(300px, 21.3rem))) minmax(0, 1fr) clamp(max(232px, 16.5rem), 21%, max(288px, 20.5rem));min-height:0;box-shadow:inset 0 1px 0 var(--border-subtle);}
.trn-reader > *{min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent;}
.trn-reader > *::-webkit-scrollbar{width:6px;height:6px;}
.trn-reader > *::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:3px;}
.trn-reader > *::-webkit-scrollbar-track{background:transparent;}
.trn-reader > .trn-col-l{outline:none;scrollbar-gutter:stable;}
/* The list never runs under the reader: --trn-l (tran.js listNeed) is the
   width its columns need; a wider list scrolls, it never overflows. */
.trn-reader > .trn-col-l > .trn-list{min-width:100%;}
.trn-reader > .trn-col-m{padding:12px 24px 24px;box-shadow:inset 1px 0 0 var(--border-default), inset -1px 0 0 var(--border-default);outline:none;}
.trn-reader > .trn-col-r{padding:10px var(--mpt-padx, 12px) 16px;background:var(--bg-secondary);}
.mpt.trn-board .trn-list{table-layout:fixed;width:100%;}
.mpt.trn-board .trn-list td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mpt.trn-board .trn-list .trn-sym{font-weight:600;}
.mpt.trn-board .trn-mu,.mpt.trn-board .trn-none td{color:var(--text-muted);}
.mpt.trn-board .trn-list.trn-hits > tbody > tr.mpt-r > td.trn-hit-c{white-space:normal;height:auto;padding-top:5px;padding-bottom:6px;}
.trn-hit-h{display:flex;align-items:baseline;gap:8px;min-width:0;color:var(--text-secondary);}
.trn-hit-h > span{flex:none;white-space:nowrap;}
.trn-hit-h > .trn-sym{color:var(--text-primary);}
.trn-hit-h > .trn-hit-w{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;color:var(--text-muted);}
.trn-hit-f{margin-top:2px;color:var(--text-muted);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;}
.trn-foot{padding:8px var(--mpt-padx, 12px);}
.trn-doc-h{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin:0 0 12px;}
.trn-doc-h h3{margin:0;font-size:var(--mpt-title, 14px);font-weight:600;color:var(--text-primary);}
.trn-doc-h span{color:var(--text-muted);white-space:nowrap;}
.trn-msg{margin:0;color:var(--text-muted);}
.trn-sec{margin:16px 0 10px;font-size:inherit;font-weight:600;color:var(--text-secondary);}
.trn-doc-h + .trn-sec{margin-top:0;}
.trn-turn{margin:0 0 14px;max-width:72rem;}
.trn-spk{display:flex;align-items:baseline;gap:8px;min-width:0;margin:0 0 3px;}
.trn-n{flex:none;font-weight:600;color:var(--text-primary);}
.trn-r{min-width:0;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.trn-turn p{margin:0 0 6px;color:var(--text-secondary);line-height:1.6;}
.trn-turn.trn-op .trn-n{font-weight:400;color:var(--text-muted);}
.trn-turn.trn-op p{color:var(--text-muted);}
.trn-mk{background:color-mix(in srgb, var(--amber) 30%, transparent);color:var(--text-primary);border-radius:2px;padding:0 1px;}
.trn-mk.trn-mk-on{background:color-mix(in srgb, var(--amber) 62%, transparent);}
.trn-find{display:flex;align-items:center;gap:4px;margin:0 0 10px;}
.mpt.trn-board .trn-find > .mpt-search{flex:1 1 auto;min-width:0;width:auto;}
.trn-cnt{flex:none;min-width:3.2em;text-align:right;color:var(--text-muted);font-size:11px;white-space:nowrap;margin-right:2px;}
.mpt.trn-board .trn-nav{flex:none;width:var(--mpt-ctl, 24px);padding:0;justify-content:center;}
.trn-sec-r{padding:10px 0;box-shadow:inset 0 1px 0 var(--border-subtle);}
.trn-sec-r:first-child{padding-top:0;box-shadow:none;}
.trn-xh{margin:0 0 6px;font-size:inherit;font-weight:400;color:var(--text-muted);}
.trn-toc{display:flex;flex-direction:column;gap:1px;}
.trn-toc-b{all:unset;box-sizing:border-box;display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0;padding:3px 8px;border-radius:4px;color:var(--text-secondary);cursor:pointer;}
.trn-toc-b:hover{background:var(--bg-row-hover);}
.trn-toc-b[aria-pressed="true"]{background:var(--bg-row-sel);color:var(--text-primary);}
.trn-toc-b:focus-visible{box-shadow:inset 0 0 0 1px var(--border-strong);}
.trn-toc-b.trn-qa_head{margin-top:4px;font-weight:600;color:var(--text-primary);}
.trn-toc-b.trn-qa{padding-left:16px;}
.trn-toc-b.trn-dim{color:var(--text-muted);}
.trn-lab{flex:1 1 auto;min-width:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere;}
.trn-sub,.trn-k{flex:0 1 auto;max-width:38%;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums;}
.trn-k{color:var(--text-primary);}
.trn-k.trn-k0{color:var(--text-xmuted);}
.trn-ppl{display:grid;grid-template-columns:minmax(0, auto) minmax(0, 1fr);gap:3px 12px;}
/* Names come first (3c): a long name or firm wraps to two lines rather
   than ending in an ellipsis at 1280; the full text is the title. */
.trn-ppl > span{min-width:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere;line-height:1.35;}
.trn-ppl > span:nth-child(odd){color:var(--text-primary);max-width:13rem;}
.trn-ppl > span:nth-child(even){color:var(--text-muted);}
/* Pane: the side panel's Contents and its Open reader button. */
.mpt.mpt-pane.trn-board .trn-toc-b{padding:2px 6px;}
.mpt.mpt-pane.trn-board .trn-toc-b.trn-qa{padding-left:12px;}
.trn-side-act{padding:8px 0 2px;}
.mpt.trn-board .trn-openb{width:100%;justify-content:center;}
/* Pane (Ali 2026-10-25): the side panel sits BESIDE the call list at every
   pane width, never over it (the 3c sheet rule covers the other T10 grids);
   MPTable.fitPane then drops Company, then Quarter (Words in a company
   list) so Date and Symbol always show whole. */
@container t10pbody (max-width:639px){
  .mpt.mpt-pane.t10-pside.trn-board > .mpt-body > .mpt-side:not([hidden]){position:relative;flex:none;
    width:clamp(150px, 46%, 236px);box-shadow:inset 1px 0 0 var(--border-default);}
  .mpt.mpt-pane.t10-pside.trn-board > .mpt-body > .mpt-side .cev-ssub{white-space:normal;overflow:visible;}
}
/* t10:tran end */
/* t10:bbck start */
/* t10:bbck end */
/* t10:lock start */
/* t10:lock end */
/* t10:guid start */
/* t10:guid end */
/* t10:stockview start */
/* t10_views (2026-10-24): the Ticket 10 tools as per stock views. One host
   per tool inside #t10-stock-view (static/js/t10/stockview.js), holding the
   tool's own page board. The stock page names the symbol, so each tool's own
   symbol box (and the Transcripts Company / All companies switch) is hidden:
   the board is locked to the stock on screen. */
#t10-stock-view [hidden]{display:none!important;}
.t10v-host{position:absolute;inset:0;display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--bg-primary);}
.t10v-host > .mpt{flex:1 1 auto;min-height:0;}
/* The stock page's view menu floats over the top right corner (no header
   in a per stock view): the tool's bar keeps clear of it, as Capital
   structure's does (15-structure.css .stru-page .mpt-bar). */
.t10v-host .mpt-bar[data-mpt="bar"]{padding-right:calc(var(--t10v-menu, 11rem) + 1.5rem);}
.t10v-host .fnl-symbox,
.t10v-host .peer-symbox,
.t10v-host .hld-symq,
.t10v-host .mpt-search:has(> [data-ai="estimates.symbol"]),
.t10v-host [data-ai="estimates.symbol"],
.t10v-host [data-ai="transcripts.symbol"],
.t10v-host [data-trn="scope"],
.t10v-host [data-ai="fdadates.symbol"]{display:none!important;}
/* The menu grew a Fundamentals group: it scrolls inside the window on a short
   screen instead of running past the bottom edge. */
.view-menu{max-height:calc(100dvh - 7.5rem);overflow-y:auto;scrollbar-width:thin;
  scrollbar-color:color-mix(in srgb, var(--text-primary) 18%, transparent) transparent;}
.view-opt[hidden]{display:none;}
/* Which stock: bold symbol + company name after the tool title, as
   Capital structure shows it (.stru-sym / .stru-nm); the tools' own name
   labels stay hidden in a view so the stock reads once. */
.t10v-host .fnl-co,.t10v-host .peer-co,.t10v-host .trn-co,.t10v-host .est-id{display:none!important;}
.t10v-id{display:inline-flex;align-items:baseline;min-width:0;flex:0 1 auto;white-space:nowrap;overflow:hidden;font-family:var(--font-sans);letter-spacing:normal;}
.t10v-sym{flex-shrink:0;font-weight:600;color:var(--text-primary);}
.t10v-nm{margin-left:8px;font-weight:400;color:var(--text-secondary);overflow:hidden;text-overflow:ellipsis;max-width:22rem;min-width:2.5rem;}
.t10v-nm[hidden]{display:none;}
/* t10:stockview end */
