/* Ledger — the app-news "financial blueprint newspaper" look, ported from
   finance_db_api/app-news/app/globals.css and driven by the monitor's data. */
:root {
  --bg: #f4f1e8; --ink: #151812; --muted: #5d6358; --line: #c8c0ac;
  --paper: #fffaf0; --accent: #0f6b4f; --accent-2: #c14d2a; --blueprint: #16374a;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; overflow-x: hidden;   /* never scroll sideways on mobile */
  background:
    linear-gradient(90deg, rgba(22,55,74,.05) 1px, transparent 1px),
    linear-gradient(rgba(22,55,74,.04) 1px, transparent 1px), var(--bg);
  background-size: 24px 24px; color: var(--ink);
  -webkit-text-size-adjust: 100%;   /* stop iOS auto-inflating text */
  font-family: Georgia, 'Times New Roman', serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 50; }

.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center;
  justify-content: space-between; gap: 24px; padding: 16px clamp(18px,5vw,72px);
  border-bottom: 1px solid var(--line); background: rgba(244,241,232,.92); backdrop-filter: blur(14px); }
.brand, .site-header nav { display: flex; align-items: center; gap: 18px; }
.brand { font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 15px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .5px; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; color: #fffaf0;
  background: var(--ink); border: 2px solid var(--accent); }
.brand-mark svg { width: 22px; height: 22px; fill: var(--accent); }
.brand small { display: block; font-family: Georgia, serif; font-size: 11px; font-weight: 400;
  text-transform: none; letter-spacing: 0; color: var(--muted); }
.site-header nav a { font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
.site-header nav a:hover, .site-header nav a.on { color: var(--ink); }
.hdr-date { font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 12px; color: var(--muted); }

.market-strip { display: flex; overflow: hidden; border-bottom: 1px solid var(--line);
  background: var(--paper); white-space: nowrap; }
.market-strip-track { display: inline-flex; gap: 36px; padding: 9px 24px; animation: ticker-scroll 55s linear infinite; }
.market-strip:hover .market-strip-track { animation-play-state: paused; }
.market-tick { display: inline-flex; align-items: baseline; gap: 8px;
  font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 13.5px; }
.market-tick .sym { font-weight: 800; color: var(--ink); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.shell { max-width: 1180px; margin: 0 auto; padding: clamp(28px,5vw,64px) clamp(18px,5vw,72px); }

.hero { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(280px,.85fr);
  gap: clamp(28px,5vw,52px); align-items: start; padding-top: 8px; }
.hero .cat-chip { display: inline-block; margin-bottom: 14px; }
h1 { margin: 0; font-size: clamp(34px,4.6vw,60px); line-height: .96; letter-spacing: -.5px; }
.hero h1 { max-width: 820px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.hero h1 a { color: inherit; }
.lead { max-width: 680px; margin: 22px 0 0; color: var(--muted); font-size: clamp(17px,2vw,22px); line-height: 1.4; }
.hero-img { margin-top: 22px; border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--blueprint); }
.hero-img img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }

.brief-card { padding: 24px; border: 1px solid var(--ink); background: var(--paper); box-shadow: 10px 10px 0 var(--blueprint); }
.brief-card h2 { margin: 0 0 14px; font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.brief-stat { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0;
  border-top: 1px solid var(--line); font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 13px; }
.brief-stat a { display: block; }
.brief-stat .n { flex: none; color: var(--accent-2); font-weight: 800; }

.section-label { margin: 48px 0 18px; font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 12px;
  font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent-2);
  border-bottom: 2px solid var(--ink); padding-bottom: 7px; }

.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.story { display: flex; min-height: 300px; flex-direction: column; padding: 0;
  border: 1px solid var(--line); background: rgba(255,250,240,.72);
  transition: transform 160ms ease, border-color 160ms ease; overflow: hidden; }
.story:hover { transform: translateY(-4px); border-color: var(--accent); }
.story .th { display: block; aspect-ratio: 16/9; background: var(--blueprint); overflow: hidden; }
.story .th img { width: 100%; height: 100%; object-fit: cover; }
.story .body { display: flex; flex-direction: column; justify-content: space-between; flex: 1; padding: 18px 20px; }
.story h3 { margin: 0; font-size: clamp(20px,2vw,26px); line-height: 1.05; }
.story h3 a:hover { color: var(--accent); }
.story p { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin: 10px 0 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; color: var(--accent);
  font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.meta .dot { color: var(--line); }

/* ticker badge — monospace, ledger palette; price span optional (added when a quote source is wired) */
.tkr { display: inline-flex; align-items: baseline; gap: 5px; margin: 0 6px 6px 0; padding: 3px 9px;
  font-family: 'Consolas', 'SF Mono', ui-monospace, monospace; font-size: 12px; font-weight: 700;
  letter-spacing: .5px; color: var(--paper); background: var(--blueprint); border-radius: 3px;
  vertical-align: middle; }
.tkr .px { font-weight: 700; }
.tkr .px.up { color: #7fe0b7; } .tkr .px.down { color: #f0a58c; }
.hero .tkr, .article .tkr { font-size: 13px; padding: 4px 11px; }
.meta .tkr { margin-bottom: 0; padding: 2px 7px; font-size: 11px; }

/* Custom cream marquee: company logo + live price on one row, scrolling. On-brand. */
.lt-strip { background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.lt-track { display: inline-flex; align-items: center; gap: 30px; padding: 9px 24px; white-space: nowrap;
  animation: lt-scroll 72s linear infinite; }
.lt-strip:hover .lt-track { animation-play-state: paused; }
.lt-item { display: inline-flex; align-items: center; gap: 8px; }
.lt-sym { font-family: 'Consolas', ui-monospace, monospace; font-size: 11.5px; font-weight: 800;
  letter-spacing: .5px; color: var(--paper); background: var(--blueprint); border-radius: 3px;
  padding: 3px 7px; flex: none; }
.lt-px { font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 14px; font-weight: 800;
  color: var(--ink); letter-spacing: .2px; }
@keyframes lt-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── archive: the permanent path to every story ───────────────────────────── */
.arc-head { padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.arc-head .lead { margin-top: 10px; }
.arc-month { margin-bottom: 8px; }
.arc-list { list-style: none; margin: 0; padding: 0; }
.arc-list li { display: grid; grid-template-columns: 92px minmax(0,1fr) auto; gap: 14px;
  align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); }
.arc-list li:first-child { border-top: 0; }
.arc-list time { font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 12px; color: var(--muted); }
.arc-list a { font-size: 17px; line-height: 1.3; }
.arc-list a:hover { color: var(--accent); }
.arc-t { display: flex; gap: 4px; flex-wrap: wrap; }
.arc-t .tkr { margin: 0; padding: 2px 6px; font-size: 10px; }
.archive-cta { margin: 34px 0 0; font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 13px; font-weight: 700; }
.archive-cta a { color: var(--accent-2); }
@media (max-width: 560px) {
  .arc-list li { grid-template-columns: 1fr; gap: 4px; }
  .arc-list a { font-size: 16px; }
}

/* ── ticker chart page ─────────────────────────────────────────────────────
   Palette validated with the dataviz validator (not eyeballed): navy line vs rust
   markers = CVD ΔE 19.7 protan. The house green scored 4.9 against rust — a red-blind
   reader could not have told the price line from an event mark. */
.thead { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end;
  justify-content: space-between; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.thead-id { display: flex; align-items: center; gap: 14px; }
.tlogo { width: 44px; height: 44px; border-radius: 6px; border: 1px solid var(--line);
  background: #fff; padding: 2px; flex: none; }
.thead h1 { font-size: clamp(30px,4vw,46px); line-height: 1; }
.tsub { margin: 4px 0 0; color: var(--muted); font-size: 14px; font-style: italic; }
.tquote { display: flex; align-items: baseline; gap: 8px; margin-left: 4px; }
.tquote .px { font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 26px; font-weight: 800; }
.tquote .chg { font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 14px; font-weight: 700; }
.tstats { display: flex; gap: 26px; margin: 0; }
.tstats div { display: flex; flex-direction: column; gap: 2px; }
.tstats dt { font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 10px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted); }
.tstats dd { margin: 0; font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 19px; font-weight: 800; }
.tstats dd.up { color: var(--accent); } .tstats dd.down { color: var(--accent-2); }

.tfig { margin: 26px 0 0; }
.tfig figcaption { order: 2; margin-top: 10px; font-size: 12.5px; color: var(--muted); font-style: italic; }
.tchart-wrap { position: relative; border: 1px solid var(--ink); background: var(--paper);
  box-shadow: 10px 10px 0 var(--blueprint); padding: 6px 4px 0; }
.tchart { display: block; touch-action: pan-y; }
.tchart .g  { stroke: var(--line); stroke-width: 1; }                 /* recessive grid */
.tchart .yl { fill: var(--muted); font: 500 11px 'Trebuchet MS', Verdana, sans-serif; text-anchor: end; }
.tchart .xl { fill: var(--muted); font: 500 11px 'Trebuchet MS', Verdana, sans-serif; text-anchor: middle; }
.tchart .ln { fill: none; stroke: var(--blueprint); stroke-width: 2;                  /* 2px line */
  stroke-linejoin: round; stroke-linecap: round; }
.tchart .ar { fill: rgba(22,55,74,.07); }
.tchart .dot { fill: var(--accent-2); stroke: var(--paper); stroke-width: 2; }         /* 2px surface ring */
.tchart .hit { fill: transparent; cursor: pointer; }                                   /* >=24px hit area */
.tchart .evn { fill: var(--accent-2); font: 800 11px 'Trebuchet MS', Verdana, sans-serif; text-anchor: middle; }
.tchart .ev:hover .dot, .tchart .ev:focus .dot { r: 8; }
.tchart .cross { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; opacity: .45; pointer-events: none; }
.ttip { position: absolute; top: 8px; pointer-events: none; background: var(--ink); color: var(--paper);
  padding: 7px 10px; border-radius: 3px; font-family: 'Trebuchet MS', Verdana, sans-serif;
  display: flex; flex-direction: column; gap: 2px; max-width: 300px; z-index: 5; }
.ttip .tt-px { font-size: 16px; font-weight: 800; }        /* value leads */
.ttip .tt-d  { font-size: 11px; opacity: .75; }            /* label follows */
.ttip .tt-h  { font-size: 12px; margin-top: 3px; padding-top: 4px; border-top: 1px solid rgba(255,250,240,.25);
  color: #f3c98b; }

.tlist { list-style: none; margin: 0; padding: 0; }
.tlist li { display: flex; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); }
.tlist li:first-child { border-top: 0; }
.tn { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent-2); color: var(--paper);
  font: 800 12px 'Trebuchet MS', Verdana, sans-serif; }
.tlist a { font-size: 19px; line-height: 1.25; }
.tlist a:hover { color: var(--accent); }
.tmeta { margin-top: 4px; font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 11.5px;
  color: var(--muted); text-transform: uppercase; letter-spacing: .3px; }

@media (max-width: 560px) {
  .thead { align-items: flex-start; flex-direction: column; gap: 14px; }
  .tstats { gap: 18px; flex-wrap: wrap; }
  .tchart-wrap { box-shadow: 3px 3px 0 var(--blueprint); }
  .tlist a { font-size: 17px; }
}

/* article-page live quote — our own: live price (CNBC) + baked 3-month sparkline (Yahoo).
   No TradingView iframe, so no un-removable logo and no third-party script. */
.quote-box h2 { color: var(--accent-2); }
.quote-box .q { margin-bottom: 14px; padding: 12px 12px 8px; border: 1px solid var(--line);
  background: var(--paper); }
.quote-box .q:last-child { margin-bottom: 0; }
.q-head { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.q-sym { font-family: 'Consolas', ui-monospace, monospace; font-size: 12px; font-weight: 800;
  letter-spacing: .5px; color: var(--paper); background: var(--blueprint); border-radius: 3px; padding: 3px 8px; }
.q-head .px { font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 21px; font-weight: 800; color: var(--ink); }
.q-head .chg { font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 13px; font-weight: 700; }
.chg.up { color: var(--accent); } .chg.down { color: var(--accent-2); }
.spark { display: block; margin: 8px 0 2px; width: 100%; height: 58px; }
.q-foot { font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 10px; letter-spacing: .5px;
  text-transform: uppercase; color: var(--muted); }

.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 26px; }
.cat-chip { font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .4px;
  padding: 6px 14px; border-radius: 999px; text-transform: capitalize;
  border: 1px solid var(--line); background: var(--paper); color: var(--muted); transition: all .14s ease; }
.cat-chip:hover { border-color: var(--accent); color: var(--ink); }
.cat-chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* article */
.article-layout { display: grid; grid-template-columns: minmax(0,760px) 300px; gap: 54px; align-items: start; }
.crumb { font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .4px; margin-bottom: 18px; }
.crumb a:hover { color: var(--accent); }
.article h1 { font-size: clamp(34px,5vw,60px); line-height: 1; margin-bottom: 18px; }
.byline { margin: 0 0 22px; font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 13px; color: var(--muted); letter-spacing: .3px; }
.byline-name { color: var(--ink); font-weight: 700; }
.article-hero { margin: 0 0 28px; border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--blueprint); }
.article-hero img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.article-body { color: var(--ink); font-size: 20px; line-height: 1.75; }
.article-body p { margin: 0 0 24px; max-width: 38em; }
/* Section subheadings — humans scan, so break the article into signposted sections. Matches
   the ledger's serif headline stack + green accent. */
.article-body h2.sec { font-family: Georgia, "Times New Roman", serif; font-weight: 700;
  font-size: 26px; line-height: 1.3; color: var(--accent, #0f3d2e); margin: 44px 0 14px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border, #e0dccb); letter-spacing: -.01em; }
.article-body h2.sec:first-of-type { margin-top: 28px; }
.article-body p:first-of-type::first-letter { font-size: 62px; font-weight: 700; float: left; line-height: .8; margin: 6px 10px 0 0; color: var(--accent); font-family: Georgia, serif; }
.srcbox { margin-top: 30px; padding: 16px 18px; border: 1px solid var(--line); background: var(--paper);
  font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 13px; }
.srcbox a { color: var(--blueprint); font-weight: 700; text-decoration: underline; }
.share { display: flex; align-items: center; gap: 10px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line);
  font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
.share a { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper); }
.share a:hover { border-color: var(--accent); }
.share svg { width: 15px; height: 15px; fill: var(--ink); }
.aside { position: sticky; top: 92px; }
.aside .box { padding: 20px; border: 1px solid var(--line); background: rgba(255,250,240,.8); margin-bottom: 18px; }
.aside .box h2 { margin: 0 0 12px; font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-2); }
.aside .row { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.aside .row:first-of-type { border-top: 0; }
.aside .row img { width: 74px; height: 48px; object-fit: cover; flex: none; border: 1px solid var(--line); }
.aside .row a { font-size: 15px; line-height: 1.2; }
.aside .row a:hover { color: var(--accent); }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--paper); }
.foot .in { max-width: 1180px; margin: 0 auto; padding: 28px clamp(18px,5vw,72px);
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 12px; color: var(--muted); }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot a:hover { color: var(--accent); }

.empty { padding: 80px 0; text-align: center; color: var(--muted); }
.cookie { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: var(--ink); color: var(--paper);
  display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 12px 18px;
  font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 13px; }
.cookie a { color: #f3c98b; text-decoration: underline; }
.cookie button { background: var(--accent); color: var(--paper); border: 0; font-weight: 800; padding: 8px 18px; cursor: pointer; text-transform: uppercase; font-size: 12px; }

/* ── Mobile-first responsive ───────────────────────────────────────────── */
/* tablet: 2-up story grid before it collapses to 1 */
@media (max-width: 1000px) { .story-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 820px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero, .article-layout { grid-template-columns: 1fr; }
  .aside { position: static; }
  .article-layout { gap: 32px; }
  /* the 10px offset shadows extend past full-width blocks and cause horizontal scroll on
     phones — shrink them as the layout narrows */
  .brief-card, .hero-img, .article-hero { box-shadow: 5px 5px 0 var(--blueprint); }
}
@media (max-width: 560px) {
  .story-grid { grid-template-columns: 1fr; gap: 16px; }
  .shell { padding: 20px 16px 40px; }
  h1 { font-size: clamp(28px,7.5vw,40px); }
  .hero h1 { -webkit-line-clamp: 5; }
  .lead { font-size: 17px; margin-top: 16px; }
  .article-body { font-size: 18px; line-height: 1.78; }
  .article-body p { max-width: none; }
  .article-body p:first-of-type::first-letter { font-size: 48px; }
  .article-body h2.sec { font-size: 22px; margin: 34px 0 12px; }
  .brief-card { padding: 18px; }
  .brief-card, .hero-img, .article-hero { box-shadow: 3px 3px 0 var(--blueprint); }
  .lt-track { gap: 20px; padding: 8px 16px; }
  .section-label { margin-top: 34px; }
  /* larger touch targets on the numbered "most read" + chips */
  .brief-stat { padding: 13px 0; } .cat-chip { padding: 8px 14px; }
  .foot .in { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* branded 404 + buttons */
.nf { text-align: center; padding: clamp(40px,8vw,90px) 0; }
.nf-code { font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: clamp(70px,14vw,140px);
  font-weight: 800; line-height: 1; color: var(--accent-2); letter-spacing: -2px; }
.nf h1 { margin: 8px 0 0; font-size: clamp(24px,3.4vw,38px); }
.nf .lead { margin: 14px auto 0; max-width: 460px; }
.nf-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
/* 404 recovery index — the machine-readable half of the not-found page. Muted and narrow so
   it reads as a footnote under the two buttons, not as a second call to action. */
.nf-index { margin: 34px auto 0; max-width: 30rem; text-align: left; border-top: 1px solid var(--line); padding-top: 18px; }
.nf-index h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 0 10px; }
.nf-index ul { list-style: none; margin: 0; padding: 0; }
.nf-index li { font-size: .9rem; color: var(--muted); padding: 4px 0; }
.nf-index a { font-family: var(--mono, ui-monospace, monospace); color: var(--ink); text-decoration: underline; }
.btn { display: inline-block; padding: 11px 22px; border: 1px solid var(--ink); background: var(--ink);
  color: var(--paper); font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .5px; border-radius: 3px; }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--paper); color: var(--accent); border-color: var(--accent); }

/* legal / content pages */
.legal { max-width: 760px; }
.legal-updated { margin: 8px 0 0; font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 12px;
  letter-spacing: .4px; text-transform: uppercase; color: var(--muted); }
.legal-body { margin-top: 26px; }
.legal-body h2 { font-size: clamp(19px,2.2vw,24px); margin: 30px 0 8px; color: var(--blueprint); }
.legal-body p { font-size: 16.5px; line-height: 1.65; margin: 0 0 12px; }
.legal-body ul { margin: 0 0 14px; padding-left: 20px; }
.legal-body li { font-size: 16px; line-height: 1.6; margin-bottom: 7px; }
.legal-body a { color: var(--accent); text-decoration: underline; }

/* in-text company links (auto-linked to ticker pages) — editorial, not spammy */
.article-body .ent { color: var(--accent); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid rgba(15, 107, 79, .30); transition: border-color .15s, color .15s; }
.article-body .ent:hover { color: var(--accent-2); border-bottom-color: var(--accent-2); }

/* Tape label — so the site-wide market strip is never read as the article's own tickers */
.market-strip { display: flex; align-items: center; }
.lt-label {
  flex: none; align-self: stretch; display: flex; align-items: center;
  padding: 0 12px; margin-right: 10px;
  font: 700 10px/1 var(--font-mono, monospace); letter-spacing: .14em; text-transform: uppercase;
  color: #f4f1e8; background: #16374a;
}

/* ── Data trackers ─────────────────────────────────────────────────────────── */
.trk-kicker { display:flex; align-items:center; gap:10px; margin:0 0 10px; font-family:'Trebuchet MS',Verdana,sans-serif;
  font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--accent-2); }
.trk-kicker .live { display:inline-flex; align-items:center; gap:6px; color:var(--accent); }
.trk-kicker .live::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--accent); }
@keyframes trkpulse { 0%{box-shadow:0 0 0 0 rgba(15,107,79,.45)} 70%{box-shadow:0 0 0 8px rgba(15,107,79,0)} 100%{box-shadow:0 0 0 0 rgba(15,107,79,0)} }
@media (prefers-reduced-motion: reduce){ .trk-kicker .live::before{ animation:none } }
.trk-hero { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr)); gap:1px; margin:28px 0 8px;
  background:var(--line); border:1px solid var(--line); }
.trk-stat { background:var(--paper); padding:20px 22px; }
.trk-stat .k { font-family:'Trebuchet MS',Verdana,sans-serif; font-size:11px; font-weight:700; letter-spacing:.1em;
  text-transform:uppercase; color:var(--muted); }
.trk-stat .v { font-size:clamp(28px,4.4vw,44px); font-weight:700; line-height:1.05; margin:8px 0 6px;
  font-variant-numeric:tabular-nums; letter-spacing:-.01em; }
.trk-stat .d { font-size:15px; color:var(--muted); line-height:1.4; }
.trk-stat .d b { color:var(--ink); }
.trk-big { font-size:clamp(40px,9vw,88px); font-weight:700; line-height:1; margin:18px 0 6px;
  font-variant-numeric:tabular-nums; letter-spacing:-.02em; color:var(--blueprint); }
.trk-table-wrap { overflow-x:auto; margin:0 0 28px; }
.trk-table { width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums; font-size:16px; }
.trk-table thead th { font-family:'Trebuchet MS',Verdana,sans-serif; font-size:11px; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; color:var(--muted); padding:12px 10px; border-bottom:1px solid var(--line); text-align:left; }
.trk-table td, .trk-table tbody th { padding:12px 10px; border-bottom:1px solid var(--line); text-align:left; white-space:nowrap; font-weight:400; }
.trk-table tbody tr:hover { background:rgba(22,55,74,.04); }
.trk-table .num { text-align:right; }
.trk-table tr.hl td, .trk-table tr.hl th { background:rgba(193,77,42,.07); }
.trk-name { display:inline-flex; align-items:center; gap:10px; font-weight:700; }
.trk-flag { width:22px; height:15px; border-radius:2px; box-shadow:0 0 0 1px rgba(0,0,0,.12); object-fit:cover; display:inline-block; }
.trk-mono { width:24px; height:24px; border-radius:6px; display:inline-grid; place-items:center; flex:none;
  font-family:'Trebuchet MS',Verdana,sans-serif; font-size:11px; font-weight:800; color:#fff; background:var(--blueprint); }
.trk-bar { height:8px; border-radius:2px; background:var(--blueprint); min-width:2px; }
.trk-bar.hl { background:var(--accent-2); }
.up { color:var(--accent); } .down { color:var(--accent-2); }
.trk-pill { display:inline-block; padding:2px 8px; border-radius:999px; font-family:'Trebuchet MS',Verdana,sans-serif;
  font-size:12px; font-weight:700; }
.trk-pill.up { background:rgba(15,107,79,.12); } .trk-pill.down { background:rgba(193,77,42,.12); }
.muted { color:var(--muted); } .small { font-size:14px; }
.trk-note { font-size:14px; color:var(--muted); line-height:1.55; max-width:72ch; margin:-8px 0 28px; }
.trk-nav { margin:56px 0 0; padding:28px 0 0; border-top:2px solid var(--ink); }
.trk-nav h2 { font-family:'Trebuchet MS',Verdana,sans-serif; font-size:12px; letter-spacing:.12em; text-transform:uppercase; margin:0 0 14px; }
.trk-nav ul { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:10px; }
.trk-nav a { display:flex; gap:12px; align-items:flex-start; padding:14px; background:var(--paper); border:1px solid var(--line);
  transition:border-color .15s, transform .15s; }
.trk-nav a:hover { border-color:var(--blueprint); transform:translateY(-1px); }
.trk-nav a[aria-current="page"] { border-color:var(--accent-2); }
.trk-nav svg { flex:none; width:20px; height:20px; color:var(--accent-2); margin-top:2px; }
.trk-nav b { display:block; font-size:15px; }
.trk-nav span { display:block; font-size:13px; color:var(--muted); margin-top:2px; line-height:1.35; }
.trk-cite { font-size:13px; color:var(--muted); margin:18px 0 0; }
@media (max-width:640px){ .trk-hero{ grid-template-columns:1fr 1fr } .trk-stat:last-child:nth-child(odd){ grid-column:1 / -1 }
  .trk-table td,.trk-table tbody th{ padding:10px 6px } .hide-m{ display:none } .trk-table{ font-size:15px } }
