/* EARNED & PAID — "THE MARKETING RECORD" (2026-09-30)
   Designed by ChatGPT Pro from Dave's brief; the full spec and the original prototype are in
   design/marketing-record/. This file is the prototype's CSS (tokens, masthead, controls, story cards, rail,
   section ledger, responsive and print rules) with the prototype-only dialog removed and the live site's
   extras added at the end: facets, the "+N more" outlet list, paywall locks, the Money Map teaser bars. */
/* EARNED & PAID — THE MARKETING RECORD
   Standalone, progressive-enhancement prototype. No framework or runtime CDN.
   Only the two Google Font families are external presentation dependencies.
   TOKEN SOURCE OF TRUTH: light below; dark immediately after. */
:root {
  color-scheme: light dark;
  --paper: #F7F4ED;
  --surface: #EDEEE5;
  --ink: #242A26;
  --body: #464D46;
  --muted: #646C62;
  --rule: #CDCEC2;
  --rule-strong: #39483E;
  --accent: #AF4028;
  --accent-soft: #F3E5DC;
  --data: #305B4C;
  --positive: #28634E;
  --negative: #AB3D34;
  --focus: #235F8E;
  --chart-muted: #858F7F;
  --chart-track: #D8DCD1;
  --font-editorial: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-utility: 'IBM Plex Sans', Arial, sans-serif;
  --text-xs: .6875rem;
  --text-sm: .8125rem;
  --text-base: .9375rem;
  --text-body: 1rem;
  --text-deck: 1.3125rem;
  --text-row: 1.4375rem;
  --text-card: 1.6875rem;
  --text-section: 1.9375rem;
  --text-lead: clamp(2.375rem, 4.05vw, 3.75rem);
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 20px; --s-6: 24px; --s-8: 32px; --s-9: 36px;
  --s-10: 40px; --s-12: 48px; --s-16: 64px;
  --page-max: 1280px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --rail-width: 292px;
  --touch: 44px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171D19; --surface: #222B24;
    --ink: #F0EEE6; --body: #CCD1C6; --muted: #A9B2A5;
    --rule: #424D42; --rule-strong: #B4C0AE;
    --accent: #F19B78; --accent-soft: #382A23;
    --data: #B0CEBB; --positive: #AAD3B9; --negative: #F0A098;
    --focus: #91C5EC; --chart-muted: #98A892; --chart-track: #3C4A3D;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-utility); font-size: var(--text-body); line-height: 1.5; -webkit-font-smoothing: antialiased; font-optical-sizing: auto; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; min-width: 44px; }
a { color: inherit; text-decoration: none; text-underline-offset: .17em; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; border-radius: 0; }
p, h1, h2, h3, h4, ol, ul, figure { margin: 0; }
button, summary { -webkit-tap-highlight-color: transparent; }
button { background: none; border: 0; }
svg { max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--paper); }
.wrap { width: min(calc(100% - var(--gutter) * 2), var(--page-max)); margin-inline: auto; }
.icon { width: 15px; height: 15px; display: inline-block; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.12em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 100; top: 8px; left: 20px; transform: translateY(-200%); padding: 12px 18px; background: var(--ink); color: var(--paper); }
.skip-link:focus { transform: none; }
.eyebrow, .kind { font-size: var(--text-xs); font-weight: 600; line-height: 1.35; letter-spacing: .09em; text-transform: uppercase; }
.numeric, time, .count { font-variant-numeric: tabular-nums lining-nums; }

/* Masthead: one identity, not a product header above a second identity. */
.site-header { border-top: 4px solid var(--accent); }
.edition-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 13px 10px; color: var(--muted); font-size: var(--text-xs); letter-spacing: .075em; text-transform: uppercase; }
.edition-line .edition-note { display: flex; align-items: center; gap: 10px; }
.edition-line .edition-note::before { content: ''; width: 5px; height: 5px; background: var(--accent); }
.masthead { padding-block: 10px 26px; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 13px; font-family: var(--font-editorial); font-size: clamp(2.5rem, 4.8vw, 4.625rem); line-height: .95; font-weight: 600; letter-spacing: -.055em; white-space: nowrap; }
.brand i { font-weight: 400; color: var(--accent); }
.brand-mark { width: 49px; height: 36px; color: var(--accent); flex: 0 0 auto; }
.brand-link:hover { color: var(--ink); }
.masthead-purpose { max-width: 310px; padding-bottom: 2px; }
.masthead-purpose p { font-family: var(--font-editorial); font-size: 21px; font-weight: 450; line-height: 1.2; text-wrap: balance; }
.masthead-purpose .eyebrow { color: var(--muted); font-size: 9px; letter-spacing: .085em; margin-top: 8px; display: block; }
.primary-nav { display: flex; justify-content: space-between; align-items: stretch; border-top: 1px solid var(--rule-strong); border-bottom: 3px double var(--rule-strong); gap: 16px; }
.primary-nav ul { display: flex; align-items: stretch; flex-wrap: wrap; gap: 28px; padding: 0; list-style: none; }
.primary-nav a, .primary-nav button { min-height: 48px; min-width: 44px; display: flex; align-items: center; padding: 0; position: relative; font-size: 13px; font-weight: 500; white-space: nowrap; }
.primary-nav [aria-current='page'] { color: var(--accent); font-weight: 600; }
.primary-nav [aria-current='page']::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 3px; background: var(--accent); }
.nav-tagline { display: flex; align-items: center; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .085em; }

/* Controls are underlined editorial indexes, not rounded app segments. */
.controls { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 18px 0 12px; }
.filter-groups { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; }
.filter-group { display: flex; align-items: center; gap: 18px; }
.filter-group + .filter-group { padding-left: 26px; border-left: 1px solid var(--rule); }
.filter-button { min-height: var(--touch); padding: 8px 0; color: var(--muted); font-size: 12px; border-bottom: 2px solid transparent; display: flex; align-items: center; gap: 5px; }
.filter-button[aria-pressed='true'] { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.filter-button:hover { color: var(--accent); }
.filter-count { color: var(--accent); font-variant-numeric: tabular-nums; }
.filter-status { color: var(--muted); font-size: var(--text-xs); white-space: nowrap; }
.method { margin-bottom: 26px; border-bottom: 1px solid var(--rule); padding-bottom: 13px; }
.method > summary { min-height: 44px; display: flex; align-items: center; gap: 7px; width: fit-content; list-style: none; cursor: pointer; color: var(--muted); font-size: 11px; }
summary::-webkit-details-marker { display: none; }
.method > summary .icon { width: 13px; height: 13px; }
.method[open] > summary { color: var(--accent); }
.method[open] .method-plus { transform: rotate(45deg); }
.method-copy { margin-top: 12px; padding: 22px 24px; background: var(--surface); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; font-size: 13px; color: var(--body); }
.method-copy h3 { color: var(--ink); font-size: 13px; margin-bottom: 7px; }
.noscript-note { border-left: 2px solid var(--accent); padding: 12px; font-size: 13px; margin-bottom: 16px; }

/* Main layout follows DOM order on mobile: news, record rail, more news. */
.front-layout { display: grid; grid-template-columns: minmax(0,1fr) var(--rail-width); grid-template-areas: 'news rail' 'sections rail'; gap: 40px 36px; align-items: start; }
.front-stories { grid-area: news; min-width: 0; }
.record-rail { grid-area: rail; min-width: 0; border-left: 1px solid var(--rule); padding-left: 27px; }
.section-stories { grid-area: sections; min-width: 0; }
.story { min-width: 0; }
.story-flags { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-bottom: 13px; }
.kind { display: inline-flex; align-items: center; gap: 6px; color: var(--data); font-size: 10px; letter-spacing: .06em; }
.kind .icon { width: 13px; height: 13px; }
.must-read { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; color: var(--accent); font-size: 11px; line-height: 1.4; }
.must-read .icon { width: 13px; height: 13px; margin-right: 1px; }
.must-label { text-transform: uppercase; font-size: 9px; font-weight: 600; letter-spacing: .06em; }
.must-dot { margin-inline: 1px; }
.country { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; color: var(--muted); border: 1px solid var(--rule); padding: 1px 5px; line-height: 1.5; }
.country .icon { width: 11px; height: 11px; }
.story-headline { font-family: var(--font-editorial); font-weight: 550; font-size: var(--text-card); letter-spacing: -.025em; line-height: 1.12; overflow-wrap: break-word; }
.story-headline a:hover, .headline-button:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.headline-button { display: inline; padding: 0; text-align: left; font: inherit; letter-spacing: inherit; }
.story-deck { color: var(--body); margin-top: 11px; font-size: 14px; line-height: 1.5; }
.story-meta { font-size: 11px; line-height: 1.65; color: var(--muted); padding-top: 16px; }
.meta-company { color: var(--ink); font-weight: 600; }
.meta-source { display: flex; flex-wrap: wrap; gap: 3px 7px; align-items: baseline; }
.source-link { text-decoration: underline; text-decoration-color: var(--rule-strong); text-decoration-thickness: .5px; }
.source-count { white-space: nowrap; }
.meta-source time { white-space: nowrap; }
.meta-source time::before { content: '·'; padding-right: 7px; }
.paywall .icon { width: 11px; height: 11px; }
.story--lead { padding-bottom: 28px; }
.story--lead .story-headline { font-size: var(--text-lead); font-weight: 500; line-height: 1.035; letter-spacing: -.037em; max-width: 900px; text-wrap: pretty; }
.story--lead .story-flags { margin-bottom: 18px; }
.story--lead .kind { font-size: 11px; }
.story--lead .must-read { margin-left: auto; }
.story--lead .story-deck { font-family: var(--font-editorial); font-size: var(--text-deck); line-height: 1.4; font-weight: 400; max-width: 770px; margin-top: 16px; }
.story--lead .story-meta { display: flex; flex-wrap: wrap; gap: 4px 13px; font-size: 12px; padding-top: 18px; }
.story--lead .meta-company::after { content: '/'; padding-left: 13px; font-weight: 400; color: var(--muted); }
.stories-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 2px solid var(--rule-strong); border-bottom: 1px solid var(--rule); padding: 11px 0; margin-bottom: 0; }
.stories-heading h2 { font-size: 10px; letter-spacing: .11em; text-transform: uppercase; font-weight: 600; }
.stories-heading .count { font-size: 11px; color: var(--muted); }
.top-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.story--top { position: relative; padding: 23px 20px 22px 0; display: flex; flex-direction: column; }
.story--top:nth-child(3n+2), .story--top:nth-child(3n+3) { padding-left: 20px; border-left: 1px solid var(--rule); }
.story--top:nth-child(3n) { padding-right: 0; }
.story--top:nth-child(n+4) { border-top: 1px solid var(--rule); }
.story--top .story-flags { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-height: 44px; }
.story--top .story-deck { font-size: 13px; line-height: 1.5; }
.story--top .story-meta { margin-top: auto; }
.account-move { font-size: 11px; line-height: 1.6; padding-block: 10px 0; color: var(--body); }
.move-flow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 7px; }
.move-arrow, .move-flow strong { color: var(--data); }
.move-brand { font-weight: 500; color: var(--ink); }
.discipline { color: var(--muted); }
.discipline::before { content: '·'; margin-right: 7px; }
.holding { color: var(--muted); }
.move-loser { display: block; color: var(--muted); margin-top: 3px; }
.move-loser del { text-decoration-thickness: 1px; }
.empty-state { padding: 30px 0; color: var(--body); }

/* Primary sources have their own date-led record grammar. */
.rail-section { margin-bottom: 28px; }
.rail-section .rail-overline { color: var(--data); font-size: 9px; margin-bottom: 8px; letter-spacing: .09em; }
.rail-title { font-family: var(--font-editorial); font-size: 27px; letter-spacing: -.025em; font-weight: 600; line-height: 1.1; }
.rail-intro { font-size: 12px; line-height: 1.5; color: var(--muted); margin: 9px 0 8px; }
.rail-disclosure { border-top: 2px solid var(--rule-strong); }
.rail-disclosure > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; padding: 13px 0 1px; min-height: var(--touch); }
.rail-disclosure > summary .chevron { width: 13px; height: 13px; color: var(--muted); }
.rail-disclosure[open] .chevron { transform: rotate(180deg); }
.filings-list { list-style: none; padding: 0; }
.filings-list li + li { border-top: 1px solid var(--rule); }
.filing-link { display: grid; grid-template-columns: 33px minmax(0,1fr) 13px; gap: 11px; align-items: start; padding: 15px 0; width: 100%; text-align: left; }
.filing-link:hover .filing-company { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.filing-date { color: var(--muted); font-size: 9px; text-transform: uppercase; line-height: 1.1; padding-top: 2px; }
.filing-date strong { display: block; font-family: var(--font-editorial); color: var(--ink); font-size: 25px; line-height: 1.1; font-weight: 450; margin-top: 3px; }
.filing-company { display: block; font-family: var(--font-editorial); font-size: 20px; font-weight: 550; line-height: 1.2; }
.filing-type { display: block; color: var(--body); font-size: 11px; margin-top: 4px; }
.filing-form { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; font-variant-numeric: tabular-nums; }
.filing-link > .icon { color: var(--muted); width: 12px; height: 12px; margin-top: 5px; }
.rail-source-note { font-size: 10px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 10px; }
.mentions-head { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; padding: 13px 0 6px; }
.mentions-list { padding: 0; list-style: none; }
.mentions-list li { border-top: 1px solid var(--rule); }
.mentions-list a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 48px; }
.mentions-company { font-size: 13px; }
.mentions-count { font-family: var(--font-editorial); font-weight: 450; font-size: 27px; font-variant-numeric: tabular-nums lining-nums; line-height: 1; }
.mentions-note { font-size: 10px; color: var(--muted); margin-top: 8px; }
.money-map { background: var(--surface); border-top: 3px solid var(--data); padding: 19px 18px 17px; }
.money-map .eyebrow { font-size: 10px; color: var(--data); display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.money-map h2 { font-family: var(--font-editorial); font-weight: 500; font-size: 28px; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; margin-bottom: 15px; }
.map-stat { padding: 12px 0; border-top: 1px solid var(--rule); }
.map-stat-line { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.map-stat-name { font-size: 12px; }
.map-stat-number { font-family: var(--font-editorial); font-size: 29px; line-height: 1; font-variant-numeric: lining-nums tabular-nums; font-weight: 500; }
.map-stat--platform .map-stat-number { color: var(--accent); }
.map-bar { height: 3px; margin-top: 12px; width: 100%; background: var(--chart-track); position: relative; }
.map-bar span { display: block; height: 100%; background: var(--data); position: relative; }
.map-stat--platform .map-bar span { background: var(--accent); }
.map-bar span::after { content: ''; width: 6px; height: 6px; position: absolute; right: -3px; top: -1.5px; background: var(--paper); border: 1.5px solid var(--data); border-radius: 50%; }
.map-stat--platform .map-bar span::after { background: var(--accent); border-color: var(--accent); }
.map-note { color: var(--muted); font-size: 10px; line-height: 1.5; margin: 7px 0 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; min-height: var(--touch); text-decoration: underline; text-underline-offset: 4px; }

/* Modular section ledger; publish up to five real rows per section. */
.section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; border-top: 2px solid var(--rule-strong); padding-top: 13px; padding-bottom: 13px; }
.section-heading h2 { font-family: var(--font-editorial); font-size: var(--text-section); line-height: 1.08; font-weight: 550; letter-spacing: -.025em; }
.section-index { color: var(--accent); font-family: var(--font-utility); font-size: 10px; font-weight: 500; letter-spacing: 0; margin-right: 10px; vertical-align: .15em; }
.section-heading a { font-size: 11px; color: var(--muted); min-height: 30px; display: inline-flex; align-items: center; gap: 6px; }
.news-section + .news-section { margin-top: 32px; }
.story--row { border-top: 1px solid var(--rule); padding: 20px 0; }
.story--row .story-flags { margin-bottom: 9px; }
.story--row .story-headline { font-size: var(--text-row); line-height: 1.2; max-width: 780px; }
.story--row .story-deck { max-width: 720px; font-size: 13px; margin-top: 8px; }
.story--row .story-meta { padding-top: 9px; display: flex; flex-wrap: wrap; gap: 3px 12px; }
.story--row .meta-company::after { content: '/'; padding-left: 12px; color: var(--muted); font-weight: 400; }
.more-coverage { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--rule); }
.more-coverage > .eyebrow { font-size: 10px; color: var(--muted); margin-bottom: 9px; }
.coverage-index { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 26px; list-style: none; padding: 0; }
.coverage-index button { display: flex; width: 100%; min-height: 44px; justify-content: space-between; align-items: center; gap: 15px; text-align: left; border-bottom: 1px solid var(--rule); padding: 9px 0; font-size: 12px; }
.coverage-index button:hover { color: var(--accent); }
.coverage-index .icon { width: 13px; height: 13px; }
.site-footer { margin-top: 60px; padding-bottom: 30px; }
.footer-top { border-top: 3px double var(--rule-strong); padding-top: 26px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.brand--small { font-size: 30px; gap: 8px; }
.brand--small .brand-mark { width: 26px; height: 21px; }
.footer-purpose { color: var(--body); max-width: 360px; font-family: var(--font-editorial); font-size: 18px; line-height: 1.4; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: 23px; color: var(--muted); font-size: 10px; }
.footer-bottom a { min-height: 36px; display: inline-flex; align-items: center; gap: 5px; }

@media (max-width: 1190px) and (min-width: 961px) {
  :root { --rail-width: 258px; }
  .front-layout { gap: 36px 25px; }
  .record-rail { padding-left: 20px; }
  .top-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .story--top:nth-child(n) { padding: 22px 18px 22px 0; border-left: 0; border-top: 0; }
  .story--top:nth-child(even) { padding-left: 18px; padding-right: 0; border-left: 1px solid var(--rule); }
  .story--top:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .story--lead .story-headline { font-size: 48px; }
  .story--lead .must-read { margin-left: 0; }
}
@media (max-width: 960px) {
  :root { --gutter: 28px; }
  .front-layout { display: block; }
  .record-rail { margin: 34px 0; padding: 0; border: 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 28px; }
  .money-map { grid-column: 1/-1; margin-top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .money-map .eyebrow, .money-map h2, .money-map .map-note, .money-map .text-link { grid-column: 1/-1; }
  .money-map h2 { text-wrap: initial; }
  .story--lead .story-headline { font-size: 56px; max-width: 800px; }
  .masthead-purpose { max-width: 250px; }
  .masthead-purpose p { font-size: 18px; }
  .masthead-purpose .eyebrow { font-size: 8px; }
  .nav-tagline { display: none; }
  .primary-nav ul { justify-content: space-between; flex: 1; }
  .top-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .story--top:nth-child(n) { padding: 22px 20px 22px 0; border-left: 0; border-top: 0; }
  .story--top:nth-child(even) { padding-left: 20px; padding-right: 0; border-left: 1px solid var(--rule); }
  .story--top:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .method-copy { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .edition-line { font-size: 9px; letter-spacing: .04em; padding-top: 12px; }
  .edition-note span { display: none; }
  .edition-line .edition-note { gap: 6px; }
  .masthead { display: block; padding-top: 14px; padding-bottom: 22px; }
  .brand { font-size: clamp(34px, 10.1vw, 53px); gap: 9px; }
  .brand-mark { width: 34px; height: 26px; }
  .masthead-purpose { max-width: 100%; margin-top: 15px; }
  .masthead-purpose p { font-family: var(--font-utility); font-size: 12px; line-height: 1.5; max-width: 320px; text-wrap: initial; color: var(--body); }
  .masthead-purpose .eyebrow { display: none; }
  .primary-nav ul { gap: 0 15px; justify-content: flex-start; }
  .primary-nav a, .primary-nav button { min-height: 46px; font-size: 11px; }
  .primary-nav { gap: 0; }
  .controls { display: block; padding-top: 13px; padding-bottom: 6px; }
  .filter-groups { gap: 3px; display: flex; justify-content: space-between; }
  .filter-group { gap: 15px; }
  .filter-group + .filter-group { padding-left: 0; border-left: 0; gap: 13px; }
  .filter-button { font-size: 11px; }
  .filter-status { display: none; }
  .method { margin-bottom: 24px; padding-bottom: 10px; }
  .method > summary { min-height: 44px; font-size: 11px; }
  .method-copy { padding: 18px; }
  .story--lead { padding-bottom: 25px; }
  .story--lead .story-flags { gap: 9px; margin-bottom: 16px; align-items: flex-start; flex-direction: column; }
  .story--lead .must-read { margin-left: 0; }
  .story--lead .story-headline { font-size: clamp(35px, 9.6vw, 48px); line-height: 1.06; letter-spacing: -.028em; text-wrap: initial; }
  .story--lead .story-deck { font-size: 19px; line-height: 1.42; margin-top: 15px; }
  .story--lead .story-meta { font-size: 11px; row-gap: 0; }
  .top-grid { grid-template-columns: minmax(0,1fr); }
  .story--top:nth-child(n) { padding: 23px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .story--top:first-child { border-top: 0; }
  .story--top .story-flags { min-height: 0; flex-direction: row; align-items: center; gap: 8px 15px; }
  .story--top .story-headline { font-size: 27px; line-height: 1.12; }
  .story--top .story-deck { font-size: 14px; line-height: 1.5; }
  .story--top .story-meta { display: flex; flex-wrap: wrap; gap: 3px 10px; padding-top: 12px; }
  .story--top .meta-company::after { content: '/'; padding-left: 10px; color: var(--muted); font-weight: 400; }
  .record-rail { display: block; margin: 12px 0 36px; }
  .rail-title { font-size: 28px; }
  .rail-section { margin-bottom: 23px; }
  .filing-link { padding-block: 14px; grid-template-columns: 38px minmax(0,1fr) 14px; }
  .filing-company { font-size: 22px; }
  .filing-type { font-size: 12px; }
  .filing-form { font-size: 11px; }
  .money-map { display: block; padding: 20px; }
  .money-map h2 { font-size: 32px; max-width: 320px; }
  .map-stat-number { font-size: 32px; }
  .section-heading h2 { font-size: 29px; }
  .section-heading a { min-height: 32px; }
  .story--row .story-headline { font-size: 25px; }
  .story--row .story-deck { font-size: 14px; }
  .coverage-index { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .brand--small { font-size: 29px; }
  .brand--small .brand-mark { width: 25px; }
  .site-footer { margin-top: 40px; }
  .footer-purpose { font-size: 18px; }
  .footer-bottom { align-items: flex-start; font-size: 10px; }
  /* Wide data pages use a three-column summary + explicit row details.
     Do not use overflow-x:auto or simply shrink a six-column table. */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  :root { color-scheme: light; --paper: #fff; --ink: #111; --body: #333; --muted: #555; --rule: #ccc; --rule-strong: #222; --accent: #111; --data: #111; --surface: #f5f5f5; }
  .controls, .method, .primary-nav, .skip-link, .money-map, .footer-bottom { display: none !important; }
  .wrap { width: 100%; }
  .front-layout { display: block; }
  .record-rail { border: 0; padding: 0; margin: 24px 0; }
  .story, .rail-section { break-inside: avoid; }
  .site-footer { margin-top: 20px; }
}

/* ---------------------------------------------------------------- live-site additions */
svg.defs { position: absolute; overflow: hidden; }
.mark-earned { fill: var(--paper); }
.loading { padding: 40px 0; color: var(--muted); }
.facet { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facet.up { color: var(--positive); } .facet.down { color: var(--negative); }
.paywall { display: inline-flex; align-items: center; gap: 3px; color: var(--muted); }
.paywall .icon { width: 11px; height: 11px; }
.more-outlets { display: inline; }
.more-outlets > summary { display: inline; list-style: none; cursor: pointer; white-space: nowrap; text-decoration: underline dotted; text-underline-offset: 3px; }
.more-outlets > summary::-webkit-details-marker { display: none; }
.more-outlets[open] > summary { color: var(--accent); }
.outlet-list { display: flex; flex-wrap: wrap; gap: 2px 12px; padding: 6px 0 2px; flex-basis: 100%; }
.outlet-list a { text-decoration: underline; text-decoration-color: var(--rule-strong); text-decoration-thickness: .5px; }
.meta-company a + a::before { content: ', '; color: var(--muted); font-weight: 400; }
.story-headline a { color: inherit; }
.filing-link { color: inherit; }
.map-bars { display: block; width: 100%; height: 8px; margin-top: 10px; overflow: visible; }
.map-bars .track { fill: var(--chart-track); } .map-bars .val { fill: var(--data); } .map-bars .knob { fill: var(--paper); stroke: var(--data); stroke-width: 1.5; }
.map-stat--platform .map-bars .val { fill: var(--accent); } .map-stat--platform .map-bars .knob { fill: var(--accent); stroke: var(--accent); }
.section-heading .all-link { font-size: 11px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }

/* compact masthead (company pages, the Money Map, Everything, Industry): the same identity, smaller */
.site-header--compact .masthead { padding-block: 16px 14px; align-items: center; }
.site-header--compact .masthead-purpose p { font-size: 16px; }
.site-header--compact .brand--small { font-size: 32px; }
@media (max-width: 960px) { .site-header--compact .masthead-purpose { display: none; } }
@media (max-width: 760px) { .site-header--compact .brand--small { font-size: 28px; } }
