/* UNCLE SAM -- the page's one stylesheet (06-12-2026, ledger D39: Kunal 18:03 "apply all the cosmetic changes now. Save our template").
   Replaces web\prism.css (Prism's copy of 24-10-2026). Sources, read 06-12-2026:
     - colours, type, shapes: web\brand\kit_1.0\design-system\uncle-sam.css and tokens.json (Brand Kit 1.0), under our own variable names;
     - sizes and component shapes: _system\design\developer_handoff_06-12-2026\APPROVED_DESIGN_SPEC.md and approved-prototype.html.
   Brand red is in the logo files only; it is never a page colour. The signature is the double ink rule (it replaces Prism's rainbow).
   Fonts are self-hosted in web\fonts (SIL OFL 1.1, licence files beside them); the page asks no outside host for anything. */
@font-face { font-family:"Lato"; src:url("/fonts/Lato-Regular.ttf") format("truetype"); font-weight:400; font-style:normal; font-display:swap }
@font-face { font-family:"Lato"; src:url("/fonts/Lato-Bold.ttf") format("truetype"); font-weight:700; font-style:normal; font-display:swap }
@font-face { font-family:"Lato"; src:url("/fonts/Lato-Italic.ttf") format("truetype"); font-weight:400; font-style:italic; font-display:swap }
@font-face { font-family:"Noto Serif"; src:url("/fonts/NotoSerif-Bold.ttf") format("truetype"); font-weight:700; font-style:normal; font-display:swap }

/* ---- theme tokens (Brand Kit 1.0, exact) -------------------------------------------------------------------------------- */
:root, [data-theme="light"] {
  --page:#F2EFE7; --card:#FFFDF7; --sunken:#EDE9DF; --hair:#CCC5B6;
  --ink:#17283E; --ink-2:#35445A; --ink-3:#526074; --ink-4:#5A6470;
  --accent:#23486D; --accent-2:#15314F; --wash:#E2E9EE;
  --pos:#17633E; --pos-wash:#E4F1E7; --neg:#A32731; --neg-wash:#F8E6E5; --warn-wash:#F7EBD0;
  --s1:#245A91; --s2:#A56C00; --s3:#70479A; --s4:#007C8A; --s5:#AC4F86; --s6:#536C85; --s7:#8B572A; --s8:#58565D;
  --grid:#DAD4C8; --axis:#8D8D88; --zero:#5E6874; --axlbl:#526074;
  --amber:#A56C00;            /* the page's "watch" colour: the kit's ochre series colour (no separate amber in the kit) */
  color-scheme:light;
}
[data-theme="dark"] {
  --page:#101A29; --card:#192638; --sunken:#223147; --hair:#3D4B5E;
  --ink:#F6F1E7; --ink-2:#D8DFE6; --ink-3:#B8C5D3; --ink-4:#A5B3C2;
  --accent:#A9C7E5; --accent-2:#D3E4F3; --wash:#304660;
  --pos:#83D4A2; --pos-wash:#203D32; --neg:#FF9B9D; --neg-wash:#492C35; --warn-wash:#493B28;
  --s1:#85B9F2; --s2:#F2C76D; --s3:#C5A4F2; --s4:#64CED8; --s5:#E8A0D0; --s6:#A0B8D1; --s7:#E3A570; --s8:#D5D0D5;
  --grid:#354459; --axis:#78899D; --zero:#A5B3C2; --axlbl:#B8C5D3;
  --amber:#F2C76D;
  color-scheme:dark;
}
:root { --font-heading:"Noto Serif",Georgia,serif; --font-body:"Lato",Arial,sans-serif; --font-number:"Lato",Arial,sans-serif;
        --radius-card:4px; --radius-control:3px; --radius-tile:2px; --top:67px }

/* ---- base ------------------------------------------------------------------------------------------------------------------ */
* { box-sizing:border-box }
html { scroll-padding-top:140px }
html, body { margin:0 }
body { background:var(--page); color:var(--ink); font:400 15px/1.65 var(--font-body); -webkit-font-smoothing:antialiased; min-height:100vh }
h1, h2, h3 { margin:0; font-family:var(--font-heading); font-weight:700; line-height:1.25; color:var(--ink) }
h2 { font-size:24px } h3 { font-size:18px } p { margin:0 0 10px }
a { color:var(--accent); text-decoration:underline; text-underline-offset:3px }
button, input, select { font:inherit; color:var(--ink); border:1px solid var(--hair); border-radius:var(--radius-control); background:var(--card) }
button { cursor:pointer; line-height:1.35; padding:8px 12px } button:hover { border-color:var(--accent) }
:focus-visible { outline:2px solid var(--accent); outline-offset:3px }
.muted { color:var(--ink-3) } .small { font-size:13px } .nowrap { white-space:nowrap }
.pos { color:var(--pos) } .neg { color:var(--neg) }
[hidden] { display:none !important }
.number, td, .share-price, .metric-value { font-variant-numeric:tabular-nums lining-nums; font-feature-settings:"tnum" 1, "lnum" 1 }

/* ---- the top bar: 67px, sticky, the logo 220px, search, theme and help, the double ink rule --------------------------------- */
.topbar { position:sticky; top:0; z-index:50; height:var(--top); background:var(--card); border-bottom:3px double var(--accent);
          display:grid; grid-template-columns:1fr minmax(260px,480px) 1fr; align-items:center; gap:20px; padding:0 28px }
.brand { display:block; width:220px; max-width:100%; line-height:0 } .brand img { width:220px; max-width:100%; height:auto; display:block }
.logo-dark, [data-theme="dark"] .logo-light { display:none !important } [data-theme="dark"] .logo-dark { display:block !important }
.search { position:relative } .search input { width:100%; height:37px; padding:6px 12px; background:var(--page); font-size:15px }
.search input::placeholder { color:var(--ink-3) }
.top-actions { display:flex; justify-content:flex-end; gap:8px } .top-actions button { padding:8px 12px; font-size:15px }

/* ---- the shell ------------------------------------------------------------------------------------------------------------- */
main { max-width:1600px; margin:0 auto; padding:20px 28px 30px } .loading { padding:60px; text-align:center; color:var(--ink-3) }
.foot { max-width:1600px; margin:0 auto; padding:0 28px 24px } .foot div { border-top:3px double var(--accent); padding:16px 0 4px; color:var(--ink-3); font-size:12px; text-align:center }
.asof { font-size:13px; color:var(--ink-3); margin:4px 0 0 }

/* ---- the company header card ------------------------------------------------------------------------------------------------ */
.hero.company { position:relative; background:var(--card); border:1px solid var(--hair); border-top:3px double var(--accent); border-radius:var(--radius-card); padding:24px; margin-bottom:16px }
.company .eyebrow { font-size:13px; color:var(--ink-3) }
.company h1 { margin-top:4px; font-size:34px; max-width:80% }
.company-mark { position:absolute; right:26px; top:24px; width:105px; height:auto; opacity:.75 }
.price-line { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin:18px 0 }
.share-price { font-size:46px; font-weight:700; line-height:1.1 }
.perf { display:inline-flex; align-items:center; border-radius:3px; padding:3px 8px; font-size:13px; font-weight:700; white-space:nowrap }
.perf.pos { color:var(--pos); background:var(--pos-wash) } .perf.neg { color:var(--neg); background:var(--neg-wash) }
.company .meta { font-size:14px; color:var(--ink-3) } .company .market { font-weight:700; color:var(--ink); font-size:15px }
.metrics { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:8px }
.metric { position:relative; min-height:93px; padding:10px 12px; background:var(--sunken); border:1px solid var(--hair); border-radius:var(--radius-tile);
          display:flex; flex-direction:column; justify-content:space-between }
.metric-label { font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); line-height:1.35; padding-right:12px }
.metric-value { font-size:22px; font-weight:700; line-height:1.35 } .metric-value .unit { font-size:14px } .metric.na .metric-value { font-size:13px; font-weight:400; color:var(--ink-3); line-height:1.4 }
.metric-period { font-size:12px; color:var(--ink-3); min-height:18px; padding-right:22px }
.info { position:absolute; right:7px; bottom:7px; width:20px; height:20px; padding:0; border-radius:50%; font-size:12px; font-weight:700; line-height:18px; text-align:center; color:var(--accent); background:var(--card); border:1px solid var(--hair) }
.header-note { margin-top:12px; font-size:13px; color:var(--ink-3) }

/* ---- tooltips: the "i" tooltip (click / keyboard, Escape closes) and the chart hover tip, one look --------------------------- */
.tip, .infotip { position:fixed; z-index:100; width:max-content; max-width:min(300px,90vw); padding:12px 14px; background:var(--card); color:var(--ink);
                 border:1px solid var(--accent); box-shadow:0 5px 20px #0002; font-size:13px; line-height:1.45 }
.tip { pointer-events:none; display:none; white-space:pre-line }
.infotip strong { display:block; font-size:14px; margin-bottom:4px } .infotip p { margin:0 0 6px } .infotip p:last-child { margin:0 } .infotip .muted { font-size:12px }

/* ---- the one report menu: sticky at 67px, 220px section column, the selected section reversed --------------------------------- */
.pick { position:sticky; top:var(--top); z-index:40; display:flex; background:var(--page); padding:9px 0 10px; margin:-6px 0 12px }
.pick > button { display:flex; align-items:center; gap:12px; padding:10px 14px; border:1px solid var(--accent); background:var(--card); font-weight:700; font-size:15px; min-width:260px; text-align:left; border-radius:var(--radius-control) }
.pick .pk-g { font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); padding-right:12px; border-right:1px solid var(--hair) }
.pick > button b { font-weight:700 } .pick .pk-c { margin-left:auto; padding-left:14px; font-size:12px }
.pick .dot { display:none }
.pk-menu { position:absolute; top:56px; left:0; right:0; display:grid; grid-template-columns:220px 1fr; background:var(--card); border:1px solid var(--hair); box-shadow:0 8px 20px #0002; max-height:min(65vh,590px); overflow:auto }
.pk-secs { background:var(--sunken); padding:12px; border-right:1px solid var(--hair) }
.pk-secs button { display:flex; justify-content:space-between; align-items:center; width:100%; border:0; background:transparent; font-weight:700; text-align:left; padding:12px; margin-bottom:4px; font-size:15px; color:var(--ink) }
.pk-secs button:hover { background:var(--wash) }
.pk-secs button.hov, .pk-secs button.hov:hover { background:var(--ink); color:var(--card) }
.pk-secs button.on:not(.hov) { box-shadow:inset 3px 0 0 var(--accent) }
.pk-pane { padding:16px 20px; min-width:0 }
.pk-ph { display:flex; align-items:baseline; gap:12px; border-bottom:1px solid var(--hair); padding-bottom:8px; margin-bottom:8px; font-family:var(--font-heading); font-weight:700; font-size:19px }
.pk-ph span { font-family:var(--font-body); font-weight:400; font-size:13px; color:var(--ink-3) }
.pk-cols { display:flex; flex-wrap:wrap; align-items:flex-start; gap:4px 24px }
.pk-col { width:230px } .pk-col.wide { width:480px } .pk-col.wide .pk-items { columns:2; column-gap:12px } .pk-col.long { width:100% }
.pk-h { font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); padding:8px 10px 4px }
.pk-items > button { display:block; width:100%; padding:8px 10px; border:0; border-radius:0; background:transparent; color:var(--ink); text-align:left; font-weight:700; font-size:15px; break-inside:avoid }
.pk-items > button:hover { background:var(--wash) } .pk-items > button.on { background:var(--wash); color:var(--accent-2) }
.pk-jump:not(:empty) { border-left:1px solid var(--hair); margin:5px 0 3px 16px; padding-left:12px; display:flex; flex-direction:column; align-items:flex-start; gap:2px }
.pk-jump button { background:none; border:0; padding:5px 8px; color:var(--ink-3); font-size:14px; text-align:left }
.pk-jump button:hover { color:var(--accent); text-decoration:underline }
.pk-wait { color:var(--ink-3); padding:8px 10px; margin:0 }

/* ---- cards: 24px padding, 16px apart, 4px radius, 1px hairline, no shadow; the SECTION / NN label over a 24px serif heading ---- */
.card, .stage { background:var(--card); border:1px solid var(--hair); border-radius:var(--radius-card); padding:24px; margin:0 0 16px; min-width:0 }
.split { display:block } .stage { min-height:300px }
.stage .card { border:0; padding:0; margin:24px 0 0 }
.head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin:0 0 14px; border-bottom:1px solid var(--hair); padding-bottom:12px }
.stage .head ~ .head, .card .head ~ .head { margin-top:28px }
.head .hl { min-width:0 } .head .kick { font-size:11px; font-weight:700; letter-spacing:.13em; color:var(--ink-3); text-transform:uppercase; margin-bottom:4px }
.head h2 { font-size:24px } .head .hsub { font-size:14px; color:var(--ink-3); text-align:right; max-width:50%; line-height:1.45 }
.head .hsub-l { font-size:14px; color:var(--ink-3); margin:4px 0 0; max-width:110ch; line-height:1.5 }
.stage h3, .card h3 { font-size:18px; margin:22px 0 8px }
.lead { font-size:16px; line-height:1.6; color:var(--ink) }
.fold-card > summary { cursor:pointer; list-style:none } .fold-card > summary::-webkit-details-marker { display:none }
.fold-card > summary .head { margin-bottom:0 } .fold-card[open] > summary .head { margin-bottom:14px }
.fold-card > summary .head h2::before { content:"\25B8  "; color:var(--ink-3); font-size:.75em } .fold-card[open] > summary .head h2::before { content:"\25BE  " }
.grid { display:grid; gap:16px } .g2 { grid-template-columns:minmax(0,1fr) minmax(0,1fr) } .g3 { grid-template-columns:repeat(3,minmax(0,1fr)) }
.g4 { grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px }
.grid > * { min-width:0 }

/* ---- notes: quiet (information not available, waiting), caution, breach ------------------------------------------------------ */
.wait, .state { background:var(--sunken); border-left:3px solid var(--hair); padding:12px 14px; margin:12px 0; font-size:14px; color:var(--ink-2) }
.wait b { display:block; color:var(--ink); font-weight:700; margin-bottom:2px } .wait.nb { border-left-style:dashed; font-size:13px; color:var(--ink-3) }
.state.err { background:var(--neg-wash); border-left-color:var(--neg) } .caution { background:var(--warn-wash); border-left:3px solid var(--zero); padding:12px 14px; margin:12px 0; font-size:14px }
.breach { background:var(--neg-wash); border-left:3px solid var(--neg); padding:10px 14px; margin:10px 0; font-size:14px } .breach ul { margin:4px 0 0 18px; padding:0 }
.defs { margin-top:12px; padding-top:10px; border-top:1px solid var(--hair); font-size:13px; line-height:1.55; color:var(--ink-3) }
.defs > b { display:block; font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); margin-bottom:4px }
.rc { display:flex; gap:8px; flex-wrap:wrap; align-items:center; font-size:14px; color:var(--ink-3); margin:10px 0 } .rc b { color:var(--ink) }

/* ---- chips and tags --------------------------------------------------------------------------------------------------------- */
.chips { display:flex; gap:6px; flex-wrap:wrap; margin:8px 0 12px }
.chip { padding:5px 10px; border:1px solid var(--hair); border-radius:var(--radius-control); background:var(--card); font-size:13px; color:var(--ink-2) }
button.chip:hover { border-color:var(--accent) } .chip.on { background:var(--wash); border-color:var(--accent); color:var(--accent-2); font-weight:700 }
.tag, .cite { display:inline-block; font:700 11px/1.4 var(--font-body); letter-spacing:.03em; border:1px solid var(--hair); background:var(--sunken); color:var(--ink-2); padding:1px 5px; border-radius:2px; white-space:nowrap; vertical-align:baseline }
.cite { cursor:pointer; margin-left:3px } .cite:hover { border-color:var(--accent) }
.tag.pos { background:var(--pos-wash); color:var(--pos); border-color:transparent } .tag.neg { background:var(--neg-wash); color:var(--neg); border-color:transparent }
.tag.amb { background:var(--warn-wash); color:var(--ink); border-color:transparent } .tag.acc { background:var(--wash); color:var(--accent-2); border-color:transparent }

/* ---- the plain table (records, peers, holders, filings): right-aligned figures, first column frozen, subtle alternate rows ---- */
.tbl-wrap { overflow:auto; max-height:650px; max-width:100%; min-width:0; border:1px solid var(--hair) }
table.t { border-collapse:separate; border-spacing:0; width:100%; font-size:14px; line-height:1.4 }
table.t th, table.t td { padding:9px 12px; height:36px; border-bottom:1px solid var(--hair); text-align:right; white-space:nowrap }
table.t th { position:sticky; top:0; z-index:2; background:var(--sunken); font-weight:700; color:var(--ink) }
table.t td.name, table.t th.name, table.t td.left, table.t th.left { text-align:left }
table.t td.name, table.t th.name { position:sticky; left:0; z-index:1; background:var(--card) } table.t th.name { z-index:3; background:var(--sunken) }
table.t tbody tr:nth-child(even) > td { background:var(--page) } table.t tbody tr:hover > td { background:var(--wash) }
table.t td.wrap, table.t th.wrap { white-space:normal; max-width:420px; text-align:left } table.t td.name { white-space:normal; min-width:160px }
table.t.nodl td, table.t.nodl th { text-align:left; vertical-align:top; white-space:normal } table.t.nodl th { position:static }

/* ---- the financial table: 14px / 36px rows; frozen 220px label column; sticky years; on the statements Full / Compact (D43) -- */
.table-controls { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:0 0 10px }
.table-controls .push { margin-left:auto; font-size:14px; color:var(--ink-3) }
.table-controls button { font-size:13px; padding:7px 10px }
.table-controls button[aria-pressed="true"] { background:var(--wash); border-color:var(--accent); color:var(--accent-2); font-weight:700 }
.table-wrap { max-height:650px; overflow:auto; border:1px solid var(--hair); position:relative; scrollbar-color:var(--hair) var(--card) }
.financial { border-collapse:separate; border-spacing:0; min-width:1160px; table-layout:fixed; width:100%; font-size:14px; line-height:1.35 }
.financial col.labelcol { width:220px }
.financial th, .financial td { height:36px; padding:8px 10px; white-space:nowrap; border-bottom:1px solid var(--hair); text-align:right; font-variant-numeric:tabular-nums lining-nums; font-feature-settings:"tnum" 1, "lnum" 1 }
.financial thead th { position:sticky; top:0; z-index:3; background:var(--sunken); font-size:13px; font-weight:700; border-bottom:2px solid var(--zero) }
.financial th:first-child, .financial tbody th { position:sticky; left:0; text-align:left; z-index:2; background:var(--card); border-right:1px solid var(--hair); font-weight:400; white-space:normal }
.financial thead th:first-child { z-index:4; background:var(--sunken); font-weight:700 }
.financial tbody tr:nth-child(even) > * { background:var(--page) } .financial tbody tr:hover > * { background:var(--wash) }
.financial .subtotal > * { font-weight:700 !important; border-top:1px solid var(--zero); background:var(--sunken) !important }
.financial .calculated, .financial td.der { font-style:italic } .financial .negative-number { color:var(--neg) }
.financial .na-cell { color:var(--ink-3) }
.financial .head-row > * { font-weight:700 !important; color:var(--ink); letter-spacing:.02em; border-top:1px solid var(--hair) }
.financial.filed tbody th { overflow-wrap:anywhere }
.table-controls.stmt-mode .chip { padding:7px 12px }
.table-note { font-size:13px; color:var(--ink-3); margin-top:10px }

/* ---- charts: the kit's series colours, flat marks, solid / patterned bars, dashed lines with markers, labelled axes ------------ */
svg.chart { width:100%; height:auto; display:block; font-family:var(--font-body); overflow:visible }
svg.chart text { fill:var(--ink-2); font-size:13px; font-variant-numeric:tabular-nums } svg.chart .axl { fill:var(--axlbl); font-size:12px }
svg.chart .axt { fill:var(--axlbl); font-size:13px }
svg.chart .grid { stroke:var(--grid) } svg.chart .zero { stroke:var(--zero); stroke-width:1.2 } svg.chart .vlab { font-size:12px; fill:var(--ink-2); font-weight:700 }
svg.chart .hit { fill:transparent; pointer-events:all } svg.chart .hit:hover { fill:var(--wash); fill-opacity:.35 } svg.chart .mark:hover { opacity:.82 }
svg.chart .trow .rowbg { fill:transparent; pointer-events:all } svg.chart .trow:hover .rowbg { fill:var(--wash) } svg.chart .trow .hitline { stroke:transparent; pointer-events:stroke } svg.chart .trow text { pointer-events:none }
.legend { display:flex; gap:8px 18px; flex-wrap:wrap; align-items:center; margin:10px 0; font-size:14px; color:var(--ink-2) }
.legend .lg { display:inline-flex; align-items:center; gap:8px }
.legend .sw { width:21px; height:12px; border:1px solid var(--c); background:var(--c); flex:none }
.legend .sw.p1 { background:repeating-linear-gradient(45deg,var(--c) 0 2px,transparent 2px 5px) }
.legend .sw.p2 { background:radial-gradient(var(--c) 1.2px,transparent 1.4px) 0 0/4px 4px }
.legend .sw.p3 { background:repeating-linear-gradient(0deg,var(--c) 0 1.5px,transparent 1.5px 4px) }
.legend .sw.p4 { background:repeating-linear-gradient(45deg,var(--c) 0 1px,transparent 1px 4px),repeating-linear-gradient(-45deg,var(--c) 0 1px,transparent 1px 4px) }
.legend .sw.p5 { background:repeating-linear-gradient(90deg,var(--c) 0 1.5px,transparent 1.5px 4px) }
.legend .sw.p6 { background:repeating-linear-gradient(-45deg,var(--c) 0 2px,transparent 2px 5px) }
.legend .sw.p7 { background:repeating-linear-gradient(0deg,var(--c) 0 1px,transparent 1px 4px),repeating-linear-gradient(90deg,var(--c) 0 1px,transparent 1px 4px) }
.legend .ln { width:27px; height:0; border-top:3px solid var(--c); flex:none } .legend .ln.d1 { border-top-style:dashed } .legend .ln.d2 { border-top-style:dotted }
.legend .dt { width:11px; height:11px; border-radius:50%; background:var(--c); flex:none }
@media (prefers-reduced-motion:no-preference) {
  svg.chart .an-h { transform-box:fill-box; transform-origin:left center; animation:growx .7s cubic-bezier(.2,.8,.2,1) both } svg.chart .an-h.neg { transform-origin:right center }
  svg.chart .an-v { transform-box:fill-box; transform-origin:center bottom; animation:growy .7s cubic-bezier(.2,.8,.2,1) both } svg.chart .an-v.neg { transform-origin:center top }
  svg.chart .an-draw { stroke-dasharray:1; stroke-dashoffset:1; animation:draw 1.2s cubic-bezier(.4,0,.2,1) forwards }
  svg.chart .an-pop { transform-box:fill-box; transform-origin:center; animation:pop .45s ease-out both }
  svg.chart .an-grow { transform-box:fill-box; transform-origin:center; animation:pop .8s ease-out both }
  svg.chart .an-fade { animation:fade .6s ease-out both }
}
@keyframes fade { from { opacity:0 } } @keyframes growx { from { transform:scaleX(0) } } @keyframes growy { from { transform:scaleY(0) } }
@keyframes draw { to { stroke-dashoffset:0 } } @keyframes pop { from { transform:scale(0); opacity:0 } }

/* ---- tiles (the Valuation figures) in the metric tile's shape ---------------------------------------------------------------- */
.tile { background:var(--sunken); border:1px solid var(--hair); border-radius:var(--radius-tile); padding:10px 12px; min-height:93px; display:flex; flex-direction:column; justify-content:space-between }
.tile .l { font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3) }
.tile .v { font-size:22px; font-weight:700; line-height:1.35; font-variant-numeric:tabular-nums } .tile .f { font-size:12px; color:var(--ink-3); line-height:1.4 }

/* ---- the valuation verdict box and the fair-value band (low / base / high and today's price) ---------------------------------- */
.vbox { border-left:3px solid var(--accent); padding:12px 16px; background:var(--sunken); margin:12px 0 }
.vbox .mini, .mini-heading { font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:var(--ink-3); margin-bottom:6px }
.vbox strong { font-size:23px; display:block; line-height:1.3 } .vbox p { margin:4px 0 0; font-size:15px }
.valuation-top { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; flex-wrap:wrap }
.valuation-top strong { font-size:25px; letter-spacing:.035em; display:block } .valuation-top .gapnum { font-size:25px; font-weight:700; text-align:right }
.valscale { position:relative; height:160px; margin:24px 30px 0 }
.valscale .scale-line { position:absolute; left:0; right:0; top:71px; height:12px; background:var(--sunken); border:1px solid var(--hair) }
.valscale .scale-band { position:absolute; top:71px; height:12px; background:var(--s1); opacity:.65 }
.valscale .valpoint { position:absolute; top:63px; height:28px; width:2px; margin-left:-1px; background:var(--ink) }
.valscale .valpoint span { position:absolute; top:34px; left:50%; transform:translateX(-50%); white-space:nowrap; text-align:center; font-size:13px; color:var(--ink-3) }
.valscale .valpoint b { display:block; font-size:17px; color:var(--ink); font-variant-numeric:tabular-nums }
.valscale .valpoint.current-price { top:39px; height:48px; width:3px; margin-left:-1.5px }
.valscale .valpoint.current-price span { top:-48px; font-weight:700; color:var(--ink) }
.vstrip { margin:16px 0 4px; padding:12px 16px; background:var(--sunken); border:1px solid var(--hair) } .vstrip .plabel { font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); margin-bottom:6px }
.plabel { font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3) }
.rating-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px }
.summary-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); gap:24px; align-items:start }

/* ---- the range gauges (Ratios vs history): today's figure on its own low-high range ------------------------------------------- */
.gauges { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px }
.gauge { border:1px solid var(--hair); padding:12px } .gauge .g-l { font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3) }
.gauge .g-v { font-size:18px; font-weight:700; margin-top:6px; font-variant-numeric:tabular-nums } .gauge .g-f { font-size:13px; color:var(--ink-3); font-variant-numeric:tabular-nums }
.gauge-line { position:relative; height:7px; background:var(--sunken); margin:14px 0 12px }
.gauge-line .g-band { position:absolute; top:0; height:7px; background:var(--s1); opacity:.4 }
.gauge-line .g-now { position:absolute; top:-4px; width:3px; height:15px; margin-left:-1.5px; background:var(--ink) }

/* ---- the written report's parts (drawn when the report is held) -------------------------------------------------------------- */
.verdict { font-size:19px; line-height:1.45; font-weight:700; color:var(--ink); margin:4px 0 8px }
.vband { display:grid; grid-template-columns:minmax(300px,46%) 1fr; gap:18px; align-items:center } .vband .vhex svg.chart { max-width:520px; margin:0 auto }
.axrows { display:flex; flex-direction:column; gap:8px } .axblock { margin:0 0 8px }
.axrow { display:grid; grid-template-columns:10px 180px auto; align-items:baseline; gap:10px; padding:8px 10px; background:var(--sunken); border:1px solid var(--hair) }
.axrow .dot { width:10px; height:10px; border-radius:50%; background:var(--ink-4); align-self:center } .axrow .dot.green { background:var(--pos) } .axrow .dot.amber { background:var(--amber) } .axrow .dot.red { background:var(--neg) }
.axrow b { font-size:14px } .axwhy { font-size:14px; color:var(--ink-2); line-height:1.6; margin:5px 0 0 22px }
.bbgrid { margin-top:16px } .bbgrid .bull, .bbgrid .bear { padding:12px 16px; border:1px solid var(--hair) } .bbgrid .bull { background:var(--pos-wash) } .bbgrid .bear { background:var(--neg-wash) }
.bbgrid h3 { margin:0 0 8px; font-size:16px } ul.bb { margin:4px 0 0 18px; padding:0 } ul.bb li { margin:0 0 6px; line-height:1.6 }
.items { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:12px; margin:10px 0 }
.item { border:1px solid var(--hair); padding:12px 14px; background:var(--card); font-size:14px; line-height:1.55 } .item b.t { display:block; font-size:15px; margin-bottom:3px }
.item .meta { display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin-top:6px; font-size:12px; color:var(--ink-3) } .item.hot { border-left:3px solid var(--neg) }
.moves .mv-top { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:6px } .moves .mv-date { font-size:13px; color:var(--ink-3); font-variant-numeric:tabular-nums }
.moves .mv-pct { margin-left:auto; font-size:18px; font-weight:700; font-variant-numeric:tabular-nums } .moves .mv-pct small { font-size:11px; font-weight:400; color:var(--ink-3); margin-left:4px }
.moves .mv-read { font-size:14px; color:var(--ink-2); background:var(--sunken); padding:6px 10px }
.quote { border-left:3px solid var(--accent); padding:8px 12px; margin:8px 0; background:var(--sunken); font-size:14px } .quote .src { display:block; font-size:12px; color:var(--ink-3); margin-top:4px }
.jrow { display:grid; grid-template-columns:200px 1fr; gap:14px; padding:10px 12px; background:var(--sunken); border:1px solid var(--hair); margin:0 0 8px; align-items:start }
.jrow b { font-size:14px; line-height:1.4 } .jrow .why { font-size:14px; color:var(--ink-2); line-height:1.6 } .jrow .vals { display:block; color:var(--ink-3); font-size:13px; margin-bottom:4px }
.prose-p { max-width:95ch; font-size:16px; line-height:1.75; margin:0 0 12px }

/* ---- the help dialog -------------------------------------------------------------------------------------------------------- */
.help-dialog { position:fixed; inset:0; z-index:120; background:#0006; display:grid; place-items:center; padding:20px }
.help-dialog .card { width:min(680px,100%); max-height:85vh; overflow:auto; margin:0; box-shadow:0 10px 35px #0003 }
.help-dialog .card p, .help-dialog .card li { font-size:15px; line-height:1.7 } .help-dialog ul { padding-left:20px; margin:8px 0 }
.help-dialog .close { float:right }

/* ---- narrower screens ------------------------------------------------------------------------------------------------------- */
@media (max-width:1100px) {
  .metrics { grid-template-columns:repeat(4,minmax(0,1fr)) } .topbar { grid-template-columns:200px 1fr auto } .brand, .brand img { width:200px }
  main { padding:16px } .summary-grid, .vband { grid-template-columns:1fr } .gauges { grid-template-columns:repeat(2,minmax(0,1fr)) }
}
@media (max-width:860px) { .g2, .g3 { grid-template-columns:1fr } .g4 { grid-template-columns:repeat(2,minmax(0,1fr)) } .head { flex-direction:column; align-items:flex-start } .head .hsub { text-align:left; max-width:none } }
@media (max-width:650px) {
  .topbar { padding:0 10px; gap:8px; grid-template-columns:125px 1fr auto } .brand, .brand img { width:125px } .top-actions button { padding:6px 8px; font-size:13px }
  .metrics { grid-template-columns:repeat(2,minmax(0,1fr)) } .company-mark { display:none } .company h1 { max-width:none; font-size:28px }
  main { padding:10px } .card, .stage { padding:16px } .pk-menu { grid-template-columns:125px 1fr } .gauges, .rating-grid { grid-template-columns:1fr } .valscale { margin-inline:10px }
}
/* the written report (06-12-2026, the page draws the whole report): source chips name the document; a part the model left out is said once */
.cite.src { font-weight:700; letter-spacing:.02em; color:var(--accent); border-color:var(--accent); background:transparent; text-transform:none }
.wait.nw { border-left-color:var(--amber); font-size:13px; color:var(--ink-3) }
.tile.rating .rwhy { font-size:13px; line-height:1.5; color:var(--ink-2); margin-top:6px; text-transform:none; letter-spacing:0 }
.vread { margin:6px 0 14px } .vread p { max-width:78ch } .written-topic p { max-width:82ch }
.prods .item { border:1px solid var(--hair); padding:10px 12px } .wline { margin:12px 0 0 }
.call-reading .mv-top { display:flex; gap:12px; align-items:baseline; flex-wrap:wrap }
