@font-face { font-family: "Public Sans"; src: url(/fonts/PublicSans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(/fonts/PublicSans-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(/fonts/PublicSans-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }

/* On the record: Spectrum.
   White page, true black ink. Footnote blue is for sources and nothing else.
   The highlighter marks the words that back a sentence, and the words a correction changed.
   Motion answers the reader: the version switch rewrites text word by word, and a footnote opens its evidence. */
:root {
  --paper: #FFFFFF;
  --ink: #000000;
  --cite: #1F48B8;
  --quiet: #6B6B6B;
  --rail: #E9E9E6;
  --faint: #CFCFCA;
  --wash: #F4F4F1;
  --hl: #FFE45C;
  --sans: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  interpolate-size: allow-keywords;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--sans); }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--cite); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Masthead */
.mast .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.mast .id { display: flex; align-items: baseline; gap: 20px; }
.mast .logo img { height: 30px; width: auto; }
.mast .date { margin: 0; font-size: 14px; color: var(--quiet); }
.mast nav { display: flex; gap: 26px; font-size: 15px; font-weight: 600; }
.mast nav a { text-decoration: none; white-space: nowrap; }
.mast nav a:hover, .mast nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Footer */
.foot { background: var(--ink); color: var(--paper); padding: 56px 0 64px; font-size: 15px; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 48px; }
.foot img { width: 140px; margin-bottom: 24px; }
.foot p { margin: 0 0 12px; max-width: 52ch; }
.foot ul { list-style: none; margin: 0; padding: 0; line-height: 2; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot :focus-visible { outline-color: #8FA8FF; }
.foot .small { color: #A8A8A8; font-size: 13px; }
/* Our shop: one row under the footer links */
.foot .wear { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding-top: 24px; border-top: 1px solid #333; }
.foot .wear .k { border: 1px solid currentColor; border-radius: 3px; padding: 1px 7px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.foot .wear b { font-weight: 800; }
.foot .wear .t { color: #A8A8A8; }
.foot .wear .go { text-decoration: underline; }
.foot a.wear:hover { text-decoration: none; }
.foot .wear:hover .go { text-decoration-thickness: 2px; }

/* The outlet rail: every outlet we read, left to right. Tall ticks covered the story. */
.rail { display: block; position: relative; height: 26px; }
.rail i { position: absolute; bottom: 0; width: 2px; margin-left: -1px; height: 38%; background: var(--faint); }
.rail i.on { height: 100%; background: var(--ink); }
.rail.sm { height: 14px; }

/* The spectrum switch. A radio group: click, drag along the line, or use the arrow keys. */
.spectrum { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 14px; touch-action: none; user-select: none; -webkit-user-select: none; }
.spectrum::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--ink); }
.spectrum button { position: relative; appearance: none; border: 0; background: none; padding: 4px 0 0; font: 800 16px/1.1 var(--sans); color: var(--quiet); cursor: pointer; text-align: left; transition: color .2s; }
.spectrum button:nth-child(2) { text-align: center; }
.spectrum button:nth-child(3) { text-align: right; }
.spectrum button::before { content: ""; position: absolute; top: -12px; width: 8px; height: 8px; border: 2px solid var(--ink); background: var(--paper); border-radius: 50%; }
.spectrum button:nth-child(1)::before { left: 0; }
.spectrum button:nth-child(2)::before { left: calc(50% - 4px); }
.spectrum button:nth-child(3)::before { right: 0; }
.spectrum button[aria-checked="true"], .spectrum button:hover { color: var(--ink); }
.spectrum button:focus-visible { outline: none; }
.spectrum button:focus-visible span { outline: 3px solid var(--cite); outline-offset: 3px; }
.spectrum .handle { position: absolute; top: -2px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); pointer-events: none; transition: left .5s var(--ease); }
.spectrum[data-v="center"] .handle { left: calc(50% - 9px); }
.spectrum[data-v="right"] .handle { left: calc(100% - 18px); }
.spectrum.big { margin-top: 10px; padding-top: 22px; }
.spectrum.big::before { top: 10px; }
.spectrum.big button { padding-top: 6px; font-size: 22px; letter-spacing: -.02em; }
.spectrum.big button::before { top: -17px; width: 10px; height: 10px; }
.spectrum.big button:nth-child(2)::before { left: calc(50% - 5px); }
.spectrum.big .handle { width: 26px; height: 26px; }
.spectrum.big[data-v="center"] .handle { left: calc(50% - 13px); }
.spectrum.big[data-v="right"] .handle { left: calc(100% - 26px); }

/* Words: each one is its own box so it can move. */
.stage { position: relative; }
.w { display: inline-block; white-space: pre; }
.w-out { position: absolute; pointer-events: none; margin: 0; }
.nw { white-space: nowrap; }

/* The device: a sentence ends in a number, and the number opens the evidence. */
sup.c { display: inline-block; font-size: .6em; font-weight: 800; line-height: 1; vertical-align: .75em; letter-spacing: 0; white-space: nowrap; margin-left: .08em; }
sup.c a { color: var(--cite); text-decoration: none; padding: 1px 2px; border-radius: 2px; transition: background-color .2s; }
sup.c a:hover { text-decoration: underline; }
sup.c a.on { background: var(--hl); color: var(--ink); }

.btn { display: inline-block; appearance: none; border: 0; cursor: pointer; background: var(--ink); color: var(--paper); text-decoration: none; font: 800 16px/1.2 var(--sans); padding: 14px 22px; }
.btn:hover { background: var(--cite); }

/* ---------- Front page ---------- */
.hero { padding: 40px 0 72px; }
.cov { margin: 0 0 12px; font-size: 15px; color: var(--quiet); }
.cov b { color: var(--ink); font-weight: 800; }
.lead-h { perspective: 900px; margin: 56px 0 0; font-size: clamp(42px, 7.4vw, 112px); line-height: .96; letter-spacing: -.05em; font-weight: 800; max-width: 16.3ch; padding-right: .8em; }
.lead-h > a { text-decoration: none; }
.lead-h > a:hover .w { text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .1em; }
/* The footnote hangs into the right padding so it never wraps onto its own line. */
.lead-h sup.c { font-size: .3em; vertical-align: 1.35em; margin-right: -2.7em; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; margin-top: 36px; align-items: start; }
.dek { position: relative; margin: 0; font-size: 22px; line-height: 1.4; max-width: 46ch; min-height: 4.2em; }
.why { border-left: 5px solid var(--ink); padding-left: 20px; }
.why p { margin: 0 0 18px; font-size: 16px; max-width: 38ch; }

.today { padding: 0 0 96px; }
.today .wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 72px; }
.today h2 { margin: 0; font-size: 32px; line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.today .sub { margin: 6px 0 22px; color: var(--quiet); font-size: 16px; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 5px solid var(--ink); }
.rows > li { border-bottom: 1px solid var(--ink); }
.rows summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 168px 88px; gap: 24px; align-items: center; padding: 18px 0; cursor: pointer; }
.rows summary::-webkit-details-marker { display: none; }
.rows .t { font-size: 22px; line-height: 1.18; letter-spacing: -.02em; font-weight: 800; }
.rows summary:hover .t { text-decoration: underline; text-decoration-thickness: 2px; }
.rows .br { display: inline-block; vertical-align: .18em; margin-right: 10px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 800; letter-spacing: 0; padding: 2px 7px; }
.rows .n { font-size: 14px; color: var(--quiet); text-align: right; font-variant-numeric: tabular-nums; }
.rows .n b { color: var(--ink); font-weight: 800; }
details::details-content { block-size: 0; overflow: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
details[open]::details-content { block-size: auto; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 4px 0 22px; }
.three div { border-top: 2px solid var(--ink); padding-top: 10px; }
.three h3 { margin: 0 0 4px; font-size: 14px; font-weight: 800; }
.three p { margin: 0; font-size: 16px; line-height: 1.35; }
.three .o { display: block; margin-top: 6px; font-size: 14px; color: var(--cite); font-weight: 600; }
.three-foot { margin: -8px 0 22px; font-size: 15px; }
.three-foot a { font-weight: 800; }
.how h2 { font-size: 24px; }
.how ol { list-style: none; counter-reset: s; margin: 18px 0 0; padding: 0; }
.how li { counter-increment: s; position: relative; padding: 0 0 20px 40px; font-size: 16px; }
.how li::before { content: counter(s); position: absolute; left: 0; top: -2px; font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.how li b { display: block; font-weight: 800; }
.how .more { font-weight: 800; }

/* ---------- Article ---------- */
html:has(body.article-page) { scroll-padding-top: 96px; }
.vbar { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--ink); }
.vbar .wrap { display: grid; grid-template-columns: auto minmax(0, 520px) minmax(0, 1fr); align-items: center; gap: 28px; padding-top: 12px; padding-bottom: 14px; }
.vbar .lbl { margin: 0; font-size: 15px; font-weight: 600; }
.vbar .diff { margin: 0; font-size: 15px; color: var(--quiet); justify-self: end; text-align: right; max-width: 40ch; }

.a-head { padding: 48px 0 40px; }
.a-head h1 { perspective: 900px; margin: 0; font-size: clamp(38px, 6vw, 88px); line-height: .98; letter-spacing: -.048em; font-weight: 800; max-width: 17ch; }
.a-head .meta { margin: 24px 0 0; font-size: 15px; color: var(--quiet); max-width: 70ch; }
.a-head .meta b { color: var(--ink); font-weight: 600; }

.a-body { display: grid; grid-template-columns: minmax(0, 680px) 300px; justify-content: space-between; gap: 72px; padding-bottom: 72px; }
.prose { font-size: 19px; line-height: 1.6; overflow-anchor: none; }
.prose p { margin: 0 0 20px; }
.prose h2 { margin: 40px 0 12px; font-size: 28px; line-height: 1.1; letter-spacing: -.025em; font-weight: 800; }
.facts { border-top: 5px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 16px 0 18px; margin: 0 0 36px; }
.facts h2 { margin: 0 0 8px; font-size: 17px; line-height: 1.3; letter-spacing: 0; }
.facts ul { margin: 0; padding-left: 1.1em; font-size: 18px; line-height: 1.45; }
.facts li { margin: 0 0 6px; }
.prose blockquote { margin: 32px 0; padding: 0 0 0 20px; border-left: 5px solid var(--ink); }
.prose blockquote p { margin: 0 0 10px; font-size: 26px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; }
.prose blockquote footer { font-size: 15px; color: var(--quiet); }

/* Margin notes: which outlet said it, and the words they used. */
.notes { position: relative; }
.sn { position: absolute; left: 0; right: 0; top: 0; transform: translateY(var(--y, 0)); font-size: 14px; line-height: 1.45; color: var(--quiet); transition: color .3s, opacity .3s; }
.notes.ready .sn { transition: transform .56s var(--ease), color .3s, opacity .3s; }
.sn.off { opacity: 0; pointer-events: none; }
.sn-head { display: block; margin-bottom: 4px; color: var(--ink); }
.sn-n { color: var(--cite); font-weight: 800; margin-right: 6px; }
.sn-head b:not(.sn-n) { font-weight: 600; }
.sn-q { display: block; font-size: 15px; line-height: 1.42; text-decoration: none; }
.sn-q:hover { text-decoration: underline; }
.sn-when { display: block; margin-top: 4px; font-size: 12.5px; }
.sn.on { color: var(--ink); }
/* Resting notes show two lines; the one you open shows all of it, and the rest move aside. */
.sn:not(.on):not(.inline) .sn-q { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* The highlighter: one continuous stroke across every line of the phrase. */
.sn mark, .hl { color: inherit; padding: 0 1px; background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 85% / 0% 78%; transition: background-size .9s cubic-bezier(.65, 0, .25, 1); }
.sn.on mark, .hl.on { background-size: 100% 78%; }
.sn.inline { position: static; transform: none; display: block; margin: 10px 0 18px; padding: 10px 0 10px 14px; border-left: 3px solid var(--cite); color: var(--ink); }
li > .sn.inline { margin-bottom: 10px; }

.about-story { display: grid; grid-template-columns: minmax(0, 680px) 300px; justify-content: space-between; gap: 72px; padding-bottom: 72px; }
.about-story h2 { margin: 0 0 10px; font-size: 17px; font-weight: 800; }
.who .rail { height: 26px; margin: 4px 0 6px; }
.who .rail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); }
.who .rail i { height: 100%; background: var(--ink); }
.who .ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--quiet); }
.who ul { list-style: none; margin: 14px 0 0; padding: 0; font-size: 15px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; }
.who li { padding: 2px 0; }
.who li a { color: var(--cite); text-decoration: none; font-weight: 600; }
.who li a:hover { text-decoration: underline; }
.who .grp { display: block; font-weight: 800; margin-bottom: 4px; font-size: 14px; }
.checks dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; margin: 0; font-size: 15px; border-top: 2px solid var(--ink); padding-top: 10px; }
.checks dt { color: var(--quiet); }
.checks dd { margin: 0; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.checks .report { display: inline-block; margin-top: 18px; font-weight: 800; font-size: 15px; }

.sources { background: var(--wash); padding: 56px 0 72px; }
.sources h2 { margin: 0 0 6px; font-size: 32px; letter-spacing: -.03em; font-weight: 800; }
.sources .sub { margin: 0 0 24px; color: var(--quiet); font-size: 16px; max-width: 60ch; }
.sources ol { list-style: none; margin: 0; padding: 0; border-top: 5px solid var(--ink); }
.sources li { display: grid; grid-template-columns: 52px minmax(0, 1fr) 180px; gap: 4px 20px; padding: 16px 0; border-bottom: 1px solid var(--ink); }
.sources li:target { background: var(--paper); box-shadow: inset 4px 0 0 var(--cite); }
.sources li:target .n { padding-left: 12px; }
.sources .n { color: var(--cite); font-weight: 800; font-size: 20px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.sources .o { font-weight: 800; font-size: 17px; }
.sources .o span { font-weight: 400; color: var(--quiet); }
.sources .t { display: block; margin-top: 2px; font-size: 16px; }
.sources .t a { color: var(--cite); }
.sources .side { font-size: 14px; color: var(--quiet); text-align: right; }
.sources .side a { display: inline-block; margin-top: 4px; color: var(--ink); font-weight: 600; }

.flag { padding: 56px 0 80px; }
.flag .wrap { display: grid; grid-template-columns: minmax(0, 680px) 300px; justify-content: space-between; gap: 72px; }
.flag h2 { margin: 0 0 8px; font-size: 32px; letter-spacing: -.03em; line-height: 1.05; font-weight: 800; }
.flag p { margin: 0 0 20px; font-size: 17px; max-width: 54ch; }

/* ---------- Forms ---------- */
.form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.form label span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form label.grow { flex: 1 1 260px; }
.form input, .form textarea { width: 100%; font: 400 16px/1.4 var(--sans); padding: 12px; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); }
.form input.num { width: 84px; }
.form input:focus, .form textarea:focus { outline: 3px solid var(--cite); outline-offset: -1px; }
.form .done { flex-basis: 100%; margin: 4px 0 0; font-size: 15px; font-weight: 600; }

/* ---------- Plain pages: standards, corrections, about ---------- */
.p-head { padding: 56px 0 48px; }
.p-head h1 { margin: 0; font-size: clamp(44px, 7vw, 104px); line-height: .95; letter-spacing: -.05em; font-weight: 800; max-width: 14ch; }
.p-head .lede { margin: 28px 0 0; font-size: 22px; line-height: 1.4; max-width: 44ch; }
.p-body { display: grid; grid-template-columns: minmax(0, 720px) 260px; justify-content: space-between; gap: 72px; padding-bottom: 96px; }
.p-body section { border-top: 5px solid var(--ink); padding: 18px 0 48px; scroll-margin-top: 24px; }
.p-body h2 { margin: 0 0 16px; font-size: 32px; line-height: 1.08; letter-spacing: -.03em; font-weight: 800; max-width: 22ch; }
.p-body h3 { margin: 28px 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.p-body p, .p-body li { font-size: 18px; line-height: 1.6; max-width: 64ch; }
.p-body p { margin: 0 0 16px; }
.p-body ul, .p-body ol { margin: 0 0 16px; padding-left: 1.2em; }
.p-body li { margin-bottom: 8px; }
.p-body .todo { color: var(--quiet); }
.toc { position: sticky; top: 24px; align-self: start; font-size: 15px; }
.toc h2 { margin: 0 0 10px; font-size: 15px; font-weight: 800; letter-spacing: 0; }
.toc ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.toc li { border-bottom: 1px solid var(--rail); font-size: 15px; margin: 0; }
.toc a { display: block; padding: 8px 0; text-decoration: none; }
.toc a:hover, .toc a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }

/* A ruled list: one row per item, label on the left. */
.ruled { list-style: none; margin: 8px 0 20px; padding: 0; border-top: 2px solid var(--ink); }
.ruled > li { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--ink); margin: 0; max-width: none; }
.ruled > li > b { font-weight: 800; }
.ruled > li > span { font-size: 17px; }
.p-body .steps { list-style: none; counter-reset: s; padding: 0; margin: 8px 0 20px; }
.p-body .steps > li { counter-increment: s; position: relative; padding: 0 0 18px 52px; max-width: none; }
.p-body .steps > li::before { content: counter(s); position: absolute; left: 0; top: -6px; font-size: 32px; font-weight: 800; letter-spacing: -.04em; }
.p-body .steps b { display: block; font-weight: 800; }

/* Every outlet we read, set on the spectrum */
.outlets { margin: 8px 0 24px; }
.outlets .rail { height: 34px; }
.outlets .rail i { height: 100%; background: var(--ink); }
.outlets .ends { display: flex; justify-content: space-between; margin: 6px 0 18px; font-size: 13px; color: var(--quiet); }
.outlets .cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; font-size: 15px; }
.outlets .cols h3 { margin: 0 0 6px; font-size: 14px; }
.outlets .cols ul { list-style: none; margin: 0; padding: 0; }
.outlets .cols li { font-size: 15px; line-height: 1.5; margin: 0; }
.outlets .cols .blocked { color: var(--quiet); }

/* A big number with what it counts, used only where the number is the point. */
.tally { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 8px 0 24px; }
.tally div { border-top: 2px solid var(--ink); padding-top: 10px; }
.tally b { display: block; font-size: 44px; line-height: 1; letter-spacing: -.04em; font-weight: 800; font-variant-numeric: tabular-nums; }
.tally span { display: block; margin-top: 6px; font-size: 15px; color: var(--quiet); }

/* Corrections: each fix can replay itself, old wording into new. */
.log { list-style: none; margin: 8px 0 20px; padding: 0; border-top: 2px solid var(--ink); }
.log > li { padding: 18px 0 20px; border-bottom: 1px solid var(--ink); margin: 0; max-width: none; }
.log .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; font-size: 15px; }
.log .no { color: var(--cite); font-weight: 800; font-variant-numeric: tabular-nums; margin-right: 10px; }
.log .story { font-weight: 800; }
.log .when { color: var(--quiet); }
.log .text { perspective: 900px; margin: 12px 0 10px; font-size: 22px; line-height: 1.35; letter-spacing: -.01em; }
.log .text .chg { background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 85% / 100% 78%; }
.log .why { border: 0; padding: 0; margin: 0 0 12px; font-size: 16px; color: var(--quiet); }
.log .replay { appearance: none; background: none; border: 1px solid var(--ink); font: 800 14px/1 var(--sans); padding: 9px 14px; cursor: pointer; color: var(--ink); }
.log .replay:hover { background: var(--ink); color: var(--paper); }
.caught { list-style: none; margin: 8px 0 20px; padding: 0; border-top: 2px solid var(--ink); }
.caught > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 24px; padding: 14px 0; border-bottom: 1px solid var(--ink); margin: 0; max-width: none; }
.caught s { color: var(--quiet); text-decoration-thickness: 2px; }
.caught .fix { font-size: 16px; }

@media (max-width: 1099px) {
  .a-body, .about-story, .flag .wrap { grid-template-columns: minmax(0, 680px); gap: 48px; }
  .notes { display: none; }
  .vbar .wrap { grid-template-columns: auto minmax(0, 1fr); }
  .vbar .diff { display: none; }
  .p-body { grid-template-columns: minmax(0, 720px); gap: 0; }
  .toc { display: none; }
}
@media (max-width: 960px) {
  .mast .wrap { flex-wrap: wrap; }
  .hero-foot, .today .wrap, .foot .wrap { grid-template-columns: 1fr; gap: 36px; }
  .outlets .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .mast .wrap { padding-top: 16px; padding-bottom: 14px; gap: 10px; }
  .mast .logo img { height: 24px; }
  .mast .date { display: none; }
  .mast nav { gap: 18px; font-size: 14px; overflow-x: auto; max-width: 100%; padding-bottom: 4px; }
  .article-page .mast nav { display: none; }
  .hero { padding: 20px 0 56px; }
  .spectrum.big button { font-size: 18px; }
  .lead-h { margin-top: 36px; }
  .dek { font-size: 19px; min-height: 0; }
  .rows summary { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
  .rows .t { grid-column: 1 / -1; font-size: 19px; }
  .three { grid-template-columns: 1fr; gap: 14px; }
  .vbar .wrap { gap: 16px; }
  .vbar .lbl { font-size: 14px; }
  .a-head { padding: 32px 0 28px; }
  .prose { font-size: 18px; }
  .facts ul { font-size: 17px; }
  .prose blockquote p { font-size: 22px; }
  sup.c a { padding: 3px 3px; }
  .sources li { grid-template-columns: 36px minmax(0, 1fr); }
  .sources .side { grid-column: 2; text-align: left; }
  .p-head { padding: 32px 0 32px; }
  .p-head .lede { font-size: 19px; }
  .p-body h2 { font-size: 26px; }
  .p-body p, .p-body li { font-size: 17px; }
  .ruled > li, .caught > li { grid-template-columns: 1fr; }
  .outlets .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tally { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tally b { font-size: 36px; }
  .log .text { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, details::details-content, .sn mark, .hl { transition: none !important; animation: none !important; }
}

/* Ruled lists set their own spacing; the plain list indent doesn't apply to them. */
.p-body .ruled, .p-body .log, .p-body .caught { padding-left: 0; }
/* Changed words read as one highlighter stroke: each word's mark reaches into the spaces around it. */
.log .text .chg { padding: 0 .15em; margin: 0 -.15em; }

/* ---------- Section pages ---------- */
.p-head.sec { padding-bottom: 8px; }
.sec-lead { padding: 32px 0 72px; }
.said { margin: 48px 0 0; font-size: 16px; color: var(--quiet); }
.said b { color: var(--ink); font-weight: 800; }
.lead-h.sm { margin-top: 10px; padding-right: 0; font-size: clamp(34px, 5vw, 72px); line-height: 1; letter-spacing: -.04em; max-width: 20ch; }
.sec-lead .dek { min-height: 0; }
.sec-lead .dek b { font-weight: 800; }
.secs { list-style: none; margin: 14px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.secs li { border-bottom: 1px solid var(--rail); }
.secs a { display: block; padding: 8px 0; font-weight: 600; text-decoration: none; }
.secs a:hover { text-decoration: underline; }

/* ---------- Company and people pages ---------- */
.co-head, .pe-head { padding-bottom: 40px; }
.co-kicker { margin: 0 0 6px; font-size: 16px; font-weight: 800; letter-spacing: 0; }
.co-head h1, .pe-head h1 { max-width: 18ch; }
.updated { margin: 14px 0 0; font-size: 14px; color: var(--quiet); }
.pe-head .wrap { display: flex; gap: 32px; align-items: flex-end; }
.pe-head .ph { width: 160px; height: 160px; object-fit: cover; background: var(--rail); flex: none; }

/* Live price line under a company name */
.px { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 22px 0 0; }
.px-v { font-size: 36px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.px-ch { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.px-ch.up { color: #0B6B2E; }
.px-ch.down { color: #B00020; }
.px-t { flex-basis: 100%; font-size: 14px; color: var(--quiet); }

/* Share price chart */
.chart { margin: 8px 0 24px; }
.chart svg { display: block; width: 100%; height: 140px; border-bottom: 1px solid var(--ink); }
.chart path { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart figcaption { display: flex; justify-content: space-between; margin-top: 6px; font-size: 13px; color: var(--quiet); }

.ruled > li > span .when, .events .when { color: var(--quiet); }
.ruled > li > span .when { margin-left: 6px; font-size: 15px; }
.story-text p { margin: 0 0 14px; }
.credit { font-size: 14px; color: var(--quiet); }
.credit a { color: inherit; }

/* Leadership timeline: one row per role, one bar per person */
.tl { margin: 20px 0 24px; }
.tl-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 40px; border-top: 1px solid var(--rail); }
.tl-k { font-size: 14px; font-weight: 800; }
.tl-track { position: relative; height: 30px; }
.tl .seg { position: absolute; top: 3px; bottom: 3px; left: var(--l); width: var(--w); background: var(--ink); color: var(--paper); text-decoration: none; overflow: hidden; border-left: 2px solid var(--paper); }
.tl .seg span { display: block; padding: 4px 6px; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl .seg:hover, .tl .seg:focus-visible { background: var(--cite); }
.tl-axis { position: relative; margin-left: 162px; height: 22px; border-top: 2px solid var(--ink); }
.tl-axis span { position: absolute; left: var(--l); top: 4px; transform: translateX(-50%); font-size: 12px; color: var(--quiet); font-variant-numeric: tabular-nums; }

/* Financials */
.fin-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 8px 0 20px; }
.fin-charts h3 { margin: 0 0 8px; font-size: 15px; }
.bars ul { list-style: none; display: flex; align-items: flex-end; gap: 6px; height: 120px; margin: 0; padding: 0; border-bottom: 1px solid var(--ink); }
.bars li { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; max-width: none; margin: 0; position: relative; }
.bars .bar { display: block; width: 100%; height: var(--h); background: var(--ink); }
.bars .bar.neg { background: #B00020; }
.bars .y { position: absolute; bottom: -20px; font-size: 12px; color: var(--quiet); }
.bars { padding-bottom: 22px; }
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
table.fin { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
table.fin th, table.fin td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--rail); text-align: right; white-space: nowrap; }
table.fin thead th { border-bottom: 2px solid var(--ink); font-weight: 800; }
table.fin th[scope="row"], table.fin thead th:first-child { text-align: left; font-weight: 600; white-space: normal; }
table.fin sup.c { font-size: .7em; }

/* Timelines of events and filings */
.events { list-style: none; margin: 8px 0 16px; padding: 0; border-top: 2px solid var(--ink); }
.p-body .events { padding-left: 0; }
.events li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 20px; padding: 11px 0; border-bottom: 1px solid var(--rail); margin: 0; max-width: none; font-size: 16px; }
.events .when { font-size: 14px; padding-top: 2px; font-variant-numeric: tabular-nums; }
.events a { text-decoration: none; }
.events a:hover { text-decoration: underline; }
.events .doc { color: var(--quiet); }

/* Stories about a company or person */
.stories { list-style: none; margin: 8px 0 16px; padding: 0; border-top: 2px solid var(--ink); }
.p-body .stories { padding-left: 0; }
.stories li { padding: 12px 0; border-bottom: 1px solid var(--rail); margin: 0; max-width: none; }
.stories a { text-decoration: none; font-size: 18px; }
.stories a:hover { text-decoration: underline; }
.stories .by { display: block; font-size: 14px; color: var(--quiet); margin-top: 2px; }
.stories .sum { display: block; font-size: 15px; margin-top: 4px; }

/* Planes and yachts */
.notice { border-left: 4px solid var(--hl); padding: 4px 0 4px 12px; font-size: 16px; }
.assets { list-style: none; margin: 12px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.p-body .assets { padding-left: 0; }
.asset { border-top: 2px solid var(--ink); padding: 12px 0 18px; margin: 0; max-width: none; }
.asset .a-kind { margin: 0; font-size: 14px; font-weight: 800; color: var(--quiet); }
.asset h3 { margin: 2px 0 6px; font-size: 22px; letter-spacing: -.02em; }
.asset p { font-size: 15px; margin: 0 0 6px; }
.asset .a-grade { color: var(--quiet); }
.asset .live { font-weight: 600; }
.asset .live.stale { color: var(--quiet); }

/* Markets home */
.search { position: relative; margin: 28px 0 0; max-width: 640px; }
.search input { width: 100%; font: 400 19px/1.3 var(--sans); padding: 14px 16px; border: 2px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); }
.search input:focus { outline: 3px solid var(--cite); outline-offset: 0; }
.q-results { position: absolute; z-index: 6; left: 0; right: 0; top: 100%; list-style: none; margin: 0; padding: 0; background: var(--paper); border: 2px solid var(--ink); border-top: 0; }
.q-results:empty { display: none; }
.q-results a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 16px; text-decoration: none; border-top: 1px solid var(--rail); }
.q-results a:hover, .q-results [aria-selected="true"] a { background: var(--wash); }
.q-results span { color: var(--quiet); font-size: 14px; }
.biz { padding-bottom: 64px; }
.movers { border-top: 5px solid var(--ink); padding: 18px 0 40px; }
.movers h2, .biz-cols h2 { margin: 0 0 6px; font-size: 32px; letter-spacing: -.03em; font-weight: 800; }
.movers .sub, .biz-cols .sub { margin: 0 0 18px; color: var(--quiet); font-size: 15px; }
.mv-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.mv-cols h3 { margin: 0 0 6px; font-size: 16px; }
.mv { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.mv li { display: grid; grid-template-columns: minmax(0, 1fr) auto 90px; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--rail); }
.mv a { text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mv a:hover b { text-decoration: underline; }
.mv .nm { color: var(--quiet); font-size: 15px; }
.mv .px-v { font-size: 16px; }
.mv .px-ch { font-size: 15px; text-align: right; }
.biz-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.biz-cols section { border-top: 5px solid var(--ink); padding-top: 18px; }

/* A to Z indexes */
.az-jump { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 24px 0 0; font-weight: 800; font-size: 17px; }
.az-jump a { text-decoration: none; }
.az-jump a:hover { text-decoration: underline; }
.az { columns: 3 260px; column-gap: 48px; padding-bottom: 96px; }
.az-g { break-inside: avoid; border-top: 5px solid var(--ink); padding: 10px 0 24px; scroll-margin-top: 16px; }
.az-g h2 { margin: 0 0 8px; font-size: 28px; font-weight: 800; }
.az-g ul { list-style: none; margin: 0; padding: 0; }
.az-g li { padding: 3px 0; font-size: 16px; }
.az-g a { text-decoration: none; }
.az-g a:hover { text-decoration: underline; }
.az-g .tk { color: var(--quiet); font-size: 13px; font-weight: 600; }

@media (max-width: 860px) {
  .tl { display: none; }   /* the role list below shows the same thing */
  .fin-charts, .assets, .mv-cols, .biz-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pe-head .wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pe-head .ph { width: 112px; height: 112px; }
  .px-v { font-size: 30px; }
  .events li { grid-template-columns: 1fr; gap: 2px; }
  .mv li { grid-template-columns: minmax(0, 1fr) auto; }
  .mv .px-v { display: none; }
  .movers h2, .biz-cols h2 { font-size: 26px; }
}
.p-body .tally b { font-size: clamp(26px, 2.6vw, 36px); overflow-wrap: anywhere; }
.how .secs li { padding-left: 0; }
.how .secs li::before { content: none; }
.mv li { grid-template-columns: minmax(0, 1fr) auto 112px; }
@media (max-width: 640px) { .mv li { grid-template-columns: minmax(0, 1fr) auto; } }
.more-roles { margin: 0 0 16px; }
.more-roles summary { cursor: pointer; font-weight: 800; padding: 12px 0; border-bottom: 1px solid var(--ink); }
.more-roles summary:hover { text-decoration: underline; }
.more-roles .ruled { margin-top: 0; border-top: 0; }

/* ---------- Company images ---------- */
/* Logos sit on a quiet tile so any logo reads; white logos get a black tile. */
.co-logo { display: inline-grid; place-items: center; flex: none; width: var(--s, 72px); height: var(--s, 72px); background: var(--wash); border: 1px solid var(--rail); }
.co-logo img { width: 78%; height: 78%; object-fit: contain; }
.co-logo.dark { background: var(--ink); border-color: var(--ink); }
.co-logo.none { background: transparent; border-color: transparent; }
.co-id { display: flex; align-items: center; gap: 20px; }
.co-id h1 { min-width: 0; }
.logo-credit { margin: 8px 0 0; font-size: 12.5px; color: var(--quiet); }
.logo-credit a { color: inherit; }
.co-photo { margin: 24px 0; }
.co-photo img { display: block; width: 100%; max-width: 640px; height: auto; background: var(--wash); }
.co-photo figcaption { margin-top: 8px; max-width: 640px; font-size: 13px; color: var(--quiet); }
.co-photo figcaption a { color: inherit; }
.mv a .co-logo, .events a .co-logo, .az-g a .co-logo { vertical-align: middle; margin-right: 10px; }
.events a .co-logo { margin-right: 8px; }
@media (max-width: 640px) {
  .co-id { gap: 14px; }
  .co-id .co-logo { --s: 52px !important; }
}

/* ---------- Photo frames and logo tiles ----------
   Photos are mounted like prints: a thin ink border with a white margin inside.
   Logos sit on a white tile with a quiet border; white logos keep their ink tile;
   companies without a logo get their initial so rows line up. */
.pe-head .ph { box-sizing: border-box; width: 172px; height: 172px; padding: 6px; background: var(--paper); border: 1px solid var(--ink); }
.co-photo img, main .story-text img, main .prose img, main figure > img {
  box-sizing: border-box; padding: 6px; background: var(--paper); border: 1px solid var(--ink);
}
.co-photo img { max-width: 652px; }
.co-logo { box-sizing: border-box; background: var(--paper); border: 1px solid var(--faint); }
.co-logo img { width: 86%; height: 70%; }   /* wide wordmarks get the width they need */
.co-logo.dark { background: var(--ink); border-color: var(--ink); }
.co-logo.mono { font: 800 calc(var(--s, 72px) * .44)/1 var(--sans); color: var(--quiet); background: var(--wash); letter-spacing: -.02em; }
.mv a .co-logo, .events a .co-logo { vertical-align: middle; margin-right: 12px; }
.mv a b { margin-right: 6px; }
.co-logo.broken { background: var(--wash); border-color: var(--faint); }
.co-logo.broken::after { content: attr(data-l); font: 800 calc(var(--s, 72px) * .44)/1 var(--sans); color: var(--quiet); }
@media (max-width: 640px) {
  .pe-head .ph { width: 124px; height: 124px; padding: 4px; }
  .co-photo img { padding: 4px; }
}

/* ---------- Leadership timeline (one row per person) ----------
   The name and years always show in full in the left column; the bar marks the
   tenure on a shared time axis. Current holders end in an open marker. */
.tl2 { margin: 20px 0 28px; }
.tl2 .tl-group { border-top: 2px solid var(--ink); padding-top: 10px; margin-top: 18px; }
.tl2 .tl-group:first-child { margin-top: 0; }
.tl2 h3 { margin: 0 0 6px; font-size: 15px; font-weight: 800; }
.tl2 ol { list-style: none; margin: 0; padding: 0; }
.tl2 .tl-line { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: center; gap: 14px; min-height: 40px; border-bottom: 1px solid var(--rail); }
.tl2 .tl-who { display: flex; flex-direction: column; text-decoration: none; padding: 4px 0; }
.tl2 .tl-who b { font-size: 15px; font-weight: 600; line-height: 1.25; }
.tl2 .tl-who:hover b, .tl2 .tl-who:focus-visible b { text-decoration: underline; text-decoration-thickness: 2px; }
.tl2 .tl-who span { font-size: 13px; color: var(--quiet); font-variant-numeric: tabular-nums; }
.tl2 .tl-track { position: relative; display: block; height: 16px; }
.tl2 .tl-track i { position: absolute; top: -12px; bottom: -12px; left: var(--l); width: 1px; background: var(--rail); }
.tl2 .tl-bar { position: absolute; top: 3px; height: 10px; left: var(--l); width: var(--w); background: var(--ink); }
.tl2 .now .tl-bar::after { content: ""; position: absolute; right: -6px; top: -3px; width: 12px; height: 12px; border: 2px solid var(--ink); background: var(--hl); border-radius: 50%; box-sizing: border-box; }
.tl2 .tl-line:hover .tl-bar { background: var(--cite); }
.tl2-axis { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 14px; border-top: 2px solid var(--ink); margin-top: 6px; }
.tl2-ticks { position: relative; height: 24px; }
.tl2-ticks span { position: absolute; left: var(--l); top: 5px; transform: translateX(-50%); font-size: 12px; color: var(--quiet); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .tl2 .tl-line, .tl2-axis { grid-template-columns: 128px minmax(0, 1fr); gap: 10px; }
  .tl2 .tl-who b { font-size: 14px; }
  .tl2-ticks span:nth-child(even) { display: none; }
}
.tl2 .tl-track { margin-right: 8px; }

/* ---------- Site search (search.js) ---------- */
.srch-btn { display: inline-flex; align-items: center; gap: 6px; appearance: none; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font: 600 14px/1 var(--sans); padding: 7px 10px; cursor: pointer; margin-left: 18px; flex: none; }
.srch-btn:hover, .srch-btn[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
.srch-panel { border-top: 1px solid var(--rail); border-bottom: 2px solid var(--ink); background: var(--paper); padding: 16px 0 18px; }
.srch-panel input { width: 100%; max-width: 720px; font: 400 20px/1.3 var(--sans); padding: 12px 14px; border: 2px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); }
.srch-panel input:focus { outline: 3px solid var(--cite); outline-offset: 1px; }
.srch-filter { display: flex; gap: 4px; margin: 10px 0 4px; }
.srch-filter button { appearance: none; border: 0; background: none; font: 600 14px/1 var(--sans); color: var(--quiet); padding: 6px 8px; cursor: pointer; }
.srch-filter button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.srch-list { list-style: none; margin: 6px 0 0; padding: 0; max-width: 720px; max-height: 60vh; overflow-y: auto; }
.srch-list li { border-bottom: 1px solid var(--rail); }
.srch-list a { display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; text-decoration: none; }
.srch-list a b { font-size: 17px; font-weight: 600; }
.srch-list a span { font-size: 14px; color: var(--quiet); }
.srch-list li[aria-selected="true"] a, .srch-list a:hover { background: var(--wash); }
.srch-list li[aria-selected="true"] a b { text-decoration: underline; }
.srch-none { padding: 12px 8px; color: var(--quiet); }
.srch-hint { margin: 8px 0 0; font-size: 13px; color: var(--quiet); }
@media (max-width: 640px) {
  .srch-btn { margin-left: 0; padding: 6px 8px; }
  .srch-btn span { display: none; }
  .mast .wrap { flex-wrap: wrap; }
}

/* ---------- Compare ---------- */
/* "Compare with" line under the stock chart on company pages (the compare page has compare.css). */
.pc-compare { margin: 10px 0 0; font-size: 14px; color: var(--quiet); }
.pc-compare a { font-weight: 600; color: var(--ink); }

/* ---------- Financial statements ---------- */
.fin-section h3 { margin: 32px 0 10px; font-size: 22px; letter-spacing: -.02em; }
.fin-section h4 { margin: 18px 0 8px; font-size: 17px; }
.fin-note { font-size: 14px; color: var(--quiet); margin: 0 0 12px; }
.fin-tally { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fin-tally b { font-size: 30px; }
/* What sells: ranked bars */
.hbars { list-style: none; margin: 0 0 8px; padding: 0; border-top: 2px solid var(--ink); }
.hbars li { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) auto 3.2rem; gap: 4px 14px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--rail); margin: 0; max-width: none; font-size: 15px; }
.hbars .nm { font-weight: 600; }
.hbars .track { height: 14px; background: var(--wash); }
.hbars .fill { display: block; height: 100%; background: var(--ink); }
.hbars li:first-child .fill { background: linear-gradient(var(--ink), var(--ink)); box-shadow: inset 0 -4px 0 var(--hl); }
.hbars .val { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.hbars .pct { color: var(--quiet); font-variant-numeric: tabular-nums; text-align: right; }
.hbars .chg { grid-column: 2 / -1; font-size: 13px; color: var(--quiet); }
.hbars .chg:empty { display: none; }
.lede-s { margin: 0 0 10px; font-size: 16px; }
.sells { margin-bottom: 18px; }
details.trend summary { cursor: pointer; font-weight: 600; font-size: 14px; margin: 6px 0; }
/* Where each dollar goes */
.dollar { margin: 0 0 22px; }
.dbar { display: flex; height: 40px; border: 1px solid var(--ink); }
.dbar .seg { display: flex; align-items: center; padding: 0 8px; font-size: 12.5px; font-weight: 600; color: var(--paper); white-space: nowrap; overflow: hidden; }
.seg.c1, .sw.c1 { background: #000; }
.seg.c2, .sw.c2 { background: #3A3A3A; }
.seg.c3, .sw.c3 { background: #5E5E5E; }
.seg.c4, .sw.c4 { background: #8A8A86; }
.seg.c5, .sw.c5 { background: #A9A9A4; color: var(--ink); }
.seg.c6, .sw.c6 { background: #CFCFCA; color: var(--ink); }
.seg.rest, .sw.rest { background: var(--wash); color: var(--ink); }
.seg.profit, .sw.profit { background: var(--hl); color: var(--ink); }
.dlegend { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 4px 20px; }
.dlegend li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto auto; gap: 8px; align-items: center; font-size: 14px; margin: 0; max-width: none; }
.dlegend .sw { width: 14px; height: 14px; border: 1px solid var(--ink); }
.dlegend b { font-variant-numeric: tabular-nums; }
.dlegend .amt { color: var(--quiet); font-size: 13px; font-variant-numeric: tabular-nums; }
.dnote { font-size: 13px; color: var(--quiet); margin: 8px 0 0; }
/* Statements: tabs, period switch, charts */
.fin-controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; border-bottom: 1px solid var(--ink); margin-bottom: 14px; }
.ftabs, .fperiod { display: flex; gap: 2px; }
.ftabs button, .fperiod button { appearance: none; border: 0; background: none; padding: 8px 10px; font: 600 15px/1 var(--sans); color: var(--quiet); cursor: pointer; }
.ftabs button[aria-selected="true"], .fperiod button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.ftabs button:focus-visible, .fperiod button:focus-visible { outline: 3px solid var(--cite); outline-offset: 1px; }
.fperiod[hidden] { display: none; }
.fcharts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin-bottom: 16px; }
.fchart { margin: 0; }
.fchart figcaption { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.fchart svg { display: block; width: 100%; height: auto; overflow: visible; }
.fchart rect.pos { fill: var(--ink); }
.fchart rect.neg { fill: #B00020; }
.fchart .base { stroke: var(--ink); stroke-width: 1; }
.fchart text { font: 400 11px var(--sans); fill: var(--quiet); font-variant-numeric: tabular-nums; }
.fchart text.v { fill: var(--ink); font-weight: 600; }
table.fin.full td, table.fin.full th { font-size: 14px; }
table.fin.full tbody th { font-weight: 400; max-width: 22rem; }
@media (max-width: 640px) {
  .fin-tally { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fcharts { grid-template-columns: 1fr; }
  .hbars li { grid-template-columns: minmax(0, 1fr) auto 2.8rem; }
  .hbars .track { grid-column: 1 / -1; grid-row: 2; }
  .hbars .chg { grid-column: 1 / -1; }
}

/* ---------- Filing pages ---------- */
.fl-head .fl-kicker { margin: 0 0 18px; }
.fl-co { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 17px; text-decoration: none; }
.fl-co:hover span { text-decoration: underline; }
.fl-head h1 { max-width: 20ch; font-size: clamp(36px, 5.2vw, 72px); }
.fl-quote { margin: 0 0 24px; padding: 4px 0 4px 20px; border-left: 5px solid var(--ink); }
.fl-quote p { margin: 0 0 12px; }
.fl-hl { font-size: 24px; line-height: 1.25; font-weight: 800; letter-spacing: -.015em; }
.fl-nums strong { font-weight: 800; font-variant-numeric: tabular-nums; }
.fl-chg { font-size: 15px; font-weight: 600; margin-left: 8px; }
.fl-chg.up { color: #0B6B2E; }
.fl-chg.down { color: #A3121F; }
.fl-prior { font-size: 15px; color: var(--quiet); }
.fl-people { display: flex; flex-wrap: wrap; gap: 24px; }
.fl-person { margin: 0; width: 140px; }
.fl-person img, .fl-noph { box-sizing: border-box; display: block; width: 132px; height: 132px; padding: 6px; object-fit: cover; background: var(--paper); border: 1px solid var(--ink); }
.fl-noph { display: grid; place-items: center; font: 800 48px/1 var(--sans); color: var(--quiet); background: var(--wash); }
.fl-person figcaption { margin-top: 8px; font-size: 15px; font-weight: 800; }
.fl-person figcaption span { display: block; font-weight: 400; color: var(--quiet); font-size: 14px; }
.fl-txns { margin: 0 0 16px; padding-left: 1.2em; }
.fl-txns li { font-variant-numeric: tabular-nums; }
.fl-sources ol { padding-left: 1.4em; }
.fl-sources li { font-size: 16px; margin-bottom: 6px; scroll-margin-top: 24px; }
.fl-sources li:target { background: var(--hl); }
.fl-side .fl-facts > li { grid-template-columns: 110px minmax(0, 1fr); font-size: 15px; }
.fl-side .fl-facts > li > span { font-size: 15px; overflow-wrap: anywhere; }
.fl-photo { margin-top: 24px; }
.fl-photo img { max-width: 100%; }
.fl-filter { margin: 0 0 16px; flex-wrap: wrap; }
.fl-all li a b { margin-right: 6px; }
@media (max-width: 640px) {
  .fl-hl { font-size: 20px; }
  .fl-person { width: 112px; }
  .fl-person img, .fl-noph { width: 108px; height: 108px; padding: 4px; }
}
.fl-side { position: sticky; top: 24px; align-self: start; font-size: 15px; }
.fl-side h2 { margin: 0 0 10px; font-size: 15px; font-weight: 800; letter-spacing: 0; }
@media (max-width: 1099px) { .fl-side { position: static; margin-top: 8px; } }
.fcharts[hidden], .fpane[hidden] { display: none; }
.fchart text { font-size: 10.5px; }

/* ---------- Leaderboards ---------- */
.lb-head { padding-bottom: 20px; }
.lb-crumb { margin: 0 0 12px; font-size: 14px; color: var(--quiet); }
.lb-crumb a { color: inherit; }
.lb-tabs { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--ink); font-size: 15px; font-weight: 600; }
.lb-tabs a { text-decoration: none; color: var(--quiet); }
.lb-tabs a:hover, .lb-tabs a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.lb-body { padding-bottom: 72px; }
.lb-sec { margin-top: 40px; }
.lb-sec h2 { margin: 0 0 6px; font-size: 28px; letter-spacing: -.025em; font-weight: 800; }
.lb-sub, .lb-note, .lb-empty { font-size: 15px; color: var(--quiet); max-width: 70ch; }
.lb-note { margin-top: 28px; border-top: 1px solid var(--rail); padding-top: 14px; }
.lb-jump { display: flex; gap: 18px; margin-top: 24px; font-weight: 600; }
.lb-table { width: 100%; border-collapse: collapse; margin-top: 12px; border-top: 2px solid var(--ink); font-size: 16px; }
.lb-table th { text-align: left; font-size: 13px; font-weight: 600; color: var(--quiet); padding: 8px 12px 8px 0; border-bottom: 1px solid var(--ink); }
.lb-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rail); vertical-align: middle; }
.lb-table .rk { width: 44px; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.lb-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lb-table td.num b { font-weight: 800; font-size: 17px; }
.lb-table small { display: block; font-size: 13px; color: var(--quiet); }
.lb-table .when { color: var(--quiet); font-size: 14px; white-space: nowrap; }
.lb-table .sp { width: 130px; }
.lb-bar { display: block; height: 6px; margin-top: 6px; background: var(--rail); min-width: 90px; }
.lb-bar i { display: block; height: 100%; margin-left: auto; background: var(--ink); }
.lb-bar.neg i { background: var(--quiet); }
.lb-spark path { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.lb-spark.down path { stroke: var(--quiet); }
.lb-who { display: flex; align-items: center; gap: 12px; }
.lb-who b { font-weight: 600; }
.lb-who small { display: block; font-size: 13px; color: var(--quiet); font-weight: 400; }
.lb-ph { flex: none; box-sizing: border-box; width: 46px; height: 46px; padding: 3px; object-fit: cover; background: var(--paper); border: 1px solid var(--ink); }
.lb-ph.none { display: inline-grid; place-items: center; font-weight: 800; color: var(--quiet); background: var(--wash); border-color: var(--faint); }
.lb-co { display: inline-flex; align-items: center; gap: 10px; }
.lb-co .tk { font-size: 13px; color: var(--quiet); }
.lb-hub { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.lb-hub > li { border-top: 5px solid var(--ink); padding: 16px 0 28px; }
.lb-hub a { text-decoration: none; display: block; }
.lb-hub h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -.025em; font-weight: 800; }
.lb-hub a:hover h2 { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.lb-hub p { margin: 0 0 12px; font-size: 15px; color: var(--quiet); }
.lb-hub ol { margin: 0; padding-left: 1.2em; font-size: 15px; }
.lb-hub ol span { color: var(--quiet); }
.lb-link { margin: 18px 0 0; font-weight: 600; }
.lb-hold, .lb-tx { list-style: none; margin: 8px 0 12px; padding: 0; border-top: 2px solid var(--ink); }
.lb-hold li { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rail); font-size: 15px; }
.lb-hold .sp { grid-column: 1 / -1; }
.lb-hold .sp svg { width: 100%; max-width: 420px; height: 36px; }
.lb-hold .num small { display: block; font-size: 13px; color: var(--quiet); }
.lb-hold .when { color: var(--quiet); font-size: 13px; }
.lb-tx li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--rail); font-size: 15px; }
.lb-tx .when { color: var(--quiet); font-size: 14px; }
@media (max-width: 960px) {
  .lb-hub { grid-template-columns: 1fr; }
  .lb-hold li { grid-template-columns: minmax(0, 1fr) auto; }
  .lb-hold .when { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .lb-table { font-size: 14px; }
  .lb-table .when, .lb-table th.when, .lb-table .sp, .lb-table th.sp { display: none; }
  .lb-table .rk { width: 30px; font-size: 15px; }
  .lb-who small { display: none; }
  .lb-bar { min-width: 0; }
  .lb-table .sh, .lb-table th.sh { display: none; }
  .lb-table td { padding-right: 8px; }
  .lb-co { flex-wrap: wrap; gap: 6px 8px; }
  .lb-co .co-logo { --s: 26px !important; }
  .lb-ph { width: 36px; height: 36px; }
  .lb-tx li { grid-template-columns: 1fr; }
}

/* ---------- In the news (person mentions) ---------- */
.mentions .sum mark { background: var(--hl); color: var(--ink); padding: 0 2px; }
.mentions .by { color: var(--quiet); }
.more-mentions summary { cursor: pointer; font-weight: 600; margin: 10px 0; }

/* ---------- Business page: headlines first, markets on the side ---------- */
.bz { display: grid; grid-template-columns: minmax(0, 8fr) minmax(300px, 4fr); gap: 56px; padding-top: 8px; padding-bottom: 72px; align-items: start; }
.bz-main > section, .bz-main > .biz-cols { margin-bottom: 56px; }
.heads { border-top: 5px solid var(--ink); padding-top: 16px; }
.heads-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.heads h2, .bz-stories h2, .bz-side h2 { margin: 0; font-size: 32px; line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.hl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.hl-grid li { min-width: 0; }
.hl-grid a { display: block; color: inherit; text-decoration: none; }
.hl-grid a:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hl-grid img, .hl-noimg { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 10px; border: 1px solid var(--ink); background: var(--wash); box-sizing: border-box; }
.hl-grid .hl > a:has(img) { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 14px; }
.hl-grid .hl.hl-ph { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 14px; }
.hl-grid .hl img, .hl-grid .hl .hl-noimg { grid-row: span 2; margin: 0; aspect-ratio: 1; }
.hl-grid .hl { border-top: 1px solid var(--rail); padding-top: 14px; }
.hl-grid .k { display: block; font-size: 13px; color: var(--quiet); margin-bottom: 4px; }
.hl-grid b { display: block; font-size: 18px; line-height: 1.2; letter-spacing: -.015em; font-weight: 700; }
.hl-grid .hl-lead { grid-column: 1 / -1; }
.hl-grid .hl-lead b { font-size: 34px; line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
.hl-grid .hl-lead .m { display: block; margin-top: 8px; font-size: 17px; color: var(--quiet); max-width: 62ch; }
.hl-grid .hl-lead img, .hl-grid .hl-lead .hl-noimg { aspect-ratio: 16 / 7; }
.hl-ph b, .hl-ph .k { color: var(--faint); }
.hl-ph .hl-noimg { border-style: dashed; border-color: var(--faint); background: repeating-linear-gradient(-45deg, var(--paper) 0 10px, var(--wash) 10px 20px); }
.heads .more { margin: 22px 0 0; }
.bz-stories { border-top: 5px solid var(--ink); padding-top: 16px; }
.bz-stories .sub { margin: 6px 0 18px; color: var(--quiet); }

.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--ink); }
.seg button { font: inherit; font-size: 14px; font-weight: 600; padding: 6px 11px; background: var(--paper); color: var(--ink); border: 0; border-right: 1px solid var(--ink); cursor: pointer; }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pick { display: grid; gap: 3px; font-size: 13px; color: var(--quiet); }
.pick select { font: inherit; font-size: 15px; color: var(--ink); padding: 6px 8px; border: 1px solid var(--ink); background: var(--paper); border-radius: 0; min-width: 0; }

.bz-side { display: grid; gap: 36px; }
.cur-row { border: 1px solid var(--ink); padding: 12px 14px; }
.cur-note { margin: 6px 0 0; font-size: 13px; color: var(--quiet); }
.cur-note:empty { display: none; }
.ix, .mvx { border-top: 5px solid var(--ink); padding-top: 14px; }
.ix h2, .mvx h2 { font-size: 26px; margin-bottom: 12px; }
.ix-list, .mvx-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); font-variant-numeric: tabular-nums; }
.ix-list li, .mvx-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto 76px; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--rail); }
.mvx-list a { display: block; min-width: 0; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mvx-list a:hover b { text-decoration: underline; }
.mvx-list .nm { margin-left: 8px; color: var(--quiet); font-size: 14px; }
.ix-list .nm { font-weight: 600; }
.ix-list .px-v, .mvx-list .px-v { font-size: 15px; text-align: right; }
.pct { justify-self: end; font-size: 14px; font-weight: 800; padding: 2px 6px; font-variant-numeric: tabular-nums; }
.pct.up { color: #0B6B2E; background: #E3F4E8; }
.pct.down { color: #B00020; background: #FBE5E8; }
.mvx .seg { margin: 0 0 10px; }
.mvx .seg button { padding: 5px 9px; font-size: 13px; }
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 4px 0 16px; }
.mvx-none { display: block !important; color: var(--quiet); }
.mvx-note { font-size: 13px; color: var(--quiet); margin: 10px 0 0; }
.px-conv { font-size: 15px; color: var(--quiet); }
@media (max-width: 960px) {
  .bz { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .hl-grid { grid-template-columns: 1fr; }
  .hl-grid .hl-lead b { font-size: 26px; }
  .heads h2, .bz-stories h2 { font-size: 26px; }
}

/* ===== Person deep profile (backend/otr_backend/build/person_deep.py) =====
   Header short description + Wikipedia lead, and the life / career / awards / net worth / links
   sections. Wikipedia credits use --cite for the link, as every other source link does. */
.pe-desc { margin: 6px 0 0; font-size: 18px; font-weight: 600; }
.pe-head .pe-lead { margin-top: 10px; max-width: 60ch; }
.wp-credit { margin: 8px 0 0; font-size: 14px; color: var(--quiet); }
.wp-credit a { color: var(--cite); }
section.pd h3 { margin: 22px 0 8px; font-size: 19px; font-weight: 800; }
section.pd .story-text { max-width: 68ch; }
section.pd .ruled { margin-top: 4px; }
.pd-list > li, .pd-facts > li { grid-template-columns: 140px minmax(0, 1fr); padding: 10px 0; }
.pd-list > li > b { font-weight: 700; font-variant-numeric: tabular-nums; }
.pd-list .nodate { color: var(--quiet); font-weight: 400; font-size: 15px; }
.pd-occ { margin: 4px 0 16px; font-size: 17px; }
.pd-more { margin: 4px 0 14px; }
.pd-more > summary { cursor: pointer; font-weight: 700; padding: 6px 0; list-style-position: inside; }
.pd-more > summary:hover { text-decoration: underline; }
.pd-more[open] > summary { margin-bottom: 8px; }
.pd-more .ruled { border-top: 0; margin-top: 0; }
.pd-links, .p-body .pd-links { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.pd-links li { margin: 0; font-size: 17px; }
.pd-links a { color: var(--ink); font-weight: 700; }
.pd-links .when { color: var(--quiet); margin-left: 4px; font-size: 15px; }
@media (max-width: 640px) {
  .pd-list > li, .pd-facts > li { grid-template-columns: 1fr; gap: 2px; }
}
/* ===== end person deep profile ===== */

/* ===== company deep profile (build/company_deep.py) ===== */
.co-short { margin: 14px 0 0; font-size: 17px; font-weight: 600; }
.p-head .lede .credit-inline { font-size: 14px; color: var(--cite); white-space: nowrap; }
.credit-inline a, .co-deep-credit a { color: var(--cite); }
#story .credit, #products .credit, #acquisitions .credit, #legal .credit { color: var(--cite); }
.founders { font-size: 18px; margin: 0 0 18px; }
.story-text h3 { font-size: 18px; margin: 26px 0 8px; }
.more-story { margin: 8px 0 12px; }
.more-story summary { cursor: pointer; font-weight: 800; padding: 10px 0; border-bottom: 1px solid var(--ink); }
.more-story summary:hover { text-decoration: underline; }
.chips { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--ink); padding: 4px 10px; font-size: 15px; }
.src-note { font-size: 14px; color: var(--quiet); margin: 6px 0 16px; }
#ownership h3, #revenue h3 { font-size: 18px; margin: 22px 0 6px; }
.ruled.plain > li { display: block; }
.ruled.plain .when { color: var(--quiet); margin-left: 6px; font-size: 15px; }
.more-list summary { cursor: pointer; font-weight: 800; padding: 10px 0; }
/* ===== end company deep profile ===== */

/* ---------- Financial charts, with color ----------
   One palette for every chart: navy for history, the highlighter for the latest period, a set of
   distinct hues for parts of a whole, green and red only for up and down. */
:root {
  --k0: #1D3557; --k1: #2A9D8F; --k2: #E9A23B; --k3: #6D597A; --k4: #4A90C2; --k5: #E76F51; --k6: #9AA5B1;
  --up: #0B6B2E; --up-bg: #E3F4E8; --down: #B00020; --down-bg: #FBE5E8;
}
.fcharts { gap: 20px; }
.fchart { border: 1px solid var(--ink); padding: 14px 16px 10px; background: var(--paper); }
.fchart figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 8px; }
.fchart .fc-t { font-size: 14px; font-weight: 700; }
.fchart .fc-now { font-size: 13px; color: var(--quiet); font-weight: 400; }
.fchart .fc-now b { font-size: 20px; color: var(--ink); font-weight: 800; letter-spacing: -.02em; margin-right: 2px; }
.fc-trend { margin-left: 8px; padding: 1px 6px; font-weight: 700; }
.fc-trend.up { color: var(--up); background: var(--up-bg); }
.fc-trend.down { color: var(--down); background: var(--down-bg); }
.fchart path.pos { fill: var(--k0); }
.fchart path.last { fill: var(--hl); stroke: var(--ink); stroke-width: 1.2; }
.fchart path.neg { fill: var(--down); }
.fchart .col:hover path.pos { fill: var(--k4); }
.fchart .grid { stroke: var(--rail); stroke-width: 1; }
.fchart .base { stroke: var(--ink); stroke-width: 1.2; }
.fchart text.ax { fill: var(--quiet); font-size: 10px; }
.fchart text.v { fill: var(--ink); font-weight: 600; font-size: 10.5px; }
.fchart text.vl { font-weight: 800; font-size: 11.5px; }
.fchart text.l { fill: var(--ink); font-size: 11px; }
.fchart text.g { font-size: 10px; font-weight: 700; }
.fchart text.g.up { fill: var(--up); }
.fchart text.g.down { fill: var(--down); }

.hbars .track { height: 18px; background: var(--wash); border-radius: 2px; overflow: hidden; }
.hbars .fill { border-radius: 0 3px 3px 0; transition: width .6s var(--ease); }
.hbars li:first-child .fill { box-shadow: none; }
.hbars li.k0 .fill { background: var(--k0); } .hbars li.k1 .fill { background: var(--k1); }
.hbars li.k2 .fill { background: var(--k2); } .hbars li.k3 .fill { background: var(--k3); }
.hbars li.k4 .fill { background: var(--k4); } .hbars li.k5 .fill { background: var(--k5); }
.hbars li.k6 .fill { background: var(--k6); }
.hbars .chg.up { color: var(--up); } .hbars .chg.down { color: var(--down); }

.dbar { height: 48px; border-radius: 3px; overflow: hidden; }
.dbar .seg { border-right: 2px solid var(--paper); }
.seg.c1, .sw.c1 { background: var(--k0); }
.seg.c2, .sw.c2 { background: var(--k1); }
.seg.c3, .sw.c3 { background: var(--k3); }
.seg.c4, .sw.c4 { background: var(--k4); }
.seg.c5, .sw.c5 { background: var(--k2); color: var(--ink); }
.seg.c6, .sw.c6 { background: var(--k5); color: var(--paper); }
.seg.profit, .sw.profit { background: var(--hl); color: var(--ink); }
.fin-tally div { border-top-width: 4px; }
.fin-tally div:nth-child(4n+1) { border-top-color: var(--k0); }
.fin-tally div:nth-child(4n+2) { border-top-color: var(--k1); }
.fin-tally div:nth-child(4n+3) { border-top-color: var(--k2); }
.fin-tally div:nth-child(4n+4) { border-top-color: var(--k3); }
@media (prefers-reduced-motion: reduce) { .hbars .fill { transition: none; } }

/* ---------- Page outline (pagemap.js turns "On this page" into it) ---------- */
.toc.pmap { max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 4px; }
.toc.pmap li { border-bottom: 0; }
.toc.pmap a { position: relative; display: grid; grid-template-columns: 14px minmax(0, 1fr); column-gap: 10px; padding: 7px 0; color: var(--quiet); }
.toc.pmap a > small { grid-column: 2; font-size: 12.5px; color: var(--quiet); font-weight: 400; }
.toc.pmap .pm-seg { grid-row: span 2; align-self: stretch; justify-self: center; width: 4px; background: var(--rail); position: relative; }
.toc.pmap .pm-seg::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: var(--w, 30%); transform: translateY(-50%); background: var(--faint); }
.toc.pmap a[aria-current] { color: var(--ink); font-weight: 700; text-decoration: none; }
.toc.pmap a[aria-current] .pm-seg { background: var(--ink); width: 6px; }
.toc.pmap a[aria-current] .pm-seg::after { background: var(--hl); }
.toc.pmap a:hover { color: var(--ink); }

/* Market index pages, and index rows that link to them */
.ix-list a.nm { text-decoration: none; }
.ix-list a.nm:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.ix-stats b.up { color: var(--up); } .ix-stats b.down { color: var(--down); }
.ix-stats b { font-size: clamp(20px, 2vw, 28px) !important; }
.ix-others { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ix-others a { display: inline-block; padding: 6px 12px; border: 1px solid var(--ink); text-decoration: none; font-weight: 600; }
.ix-others a[aria-current] { background: var(--ink); color: var(--paper); }

/* Business headlines: photos framed like the news page (3:2) */
.hl-grid .hl-lead img, .hl-grid .hl-lead .hl-noimg { aspect-ratio: 3 / 2; }
.hl-grid .hl > a:has(img), .hl-grid .hl.hl-ph { grid-template-columns: 150px minmax(0, 1fr); }
.hl-grid .hl img, .hl-grid .hl .hl-noimg { aspect-ratio: 3 / 2; align-self: start; }
.hl-grid img { border-radius: 4px; }
@media (min-width: 961px) {
  .hl-grid .hl-lead a:has(img) { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 24px; align-items: start; }
  .hl-grid .hl-lead a:has(img) img { grid-row: span 3; margin: 0; }
}

/* ---------- Business page lookup ---------- */
.bz { grid-template-areas: "lookup lookup" "main side"; }
.bz > .lookup { grid-area: lookup; }
.bz > .bz-main { grid-area: main; }
.bz > .bz-side { grid-area: side; }
.lookup { border: 2px solid var(--ink); padding: 18px 20px 20px; background: var(--paper); position: relative; }
.lk-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; margin-bottom: 12px; }
.lookup h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; font-weight: 800; }
.lookup input { width: 100%; box-sizing: border-box; font: inherit; font-size: 20px; padding: 14px 16px; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); }
.lookup input:focus { outline: 3px solid var(--hl); outline-offset: 0; }
.lk-results { list-style: none; margin: 0; padding: 0; position: absolute; left: 20px; right: 20px; z-index: 30; background: var(--paper); border: 1px solid var(--ink); border-top: 0; box-shadow: 0 10px 0 -6px var(--ink); max-height: 460px; overflow-y: auto; }
.lk-results li { margin: 0; border-bottom: 1px solid var(--rail); }
.lk-results a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 14px; text-decoration: none; color: var(--ink); }
.lk-results a:hover, .lk-results li[aria-selected="true"] a { background: var(--wash); }
.lk-av { display: grid; place-items: center; width: 40px; height: 40px; font-weight: 800; font-size: 14px; letter-spacing: -.02em; border: 1px solid var(--ink); }
.lk-av.co { background: var(--paper); }
.lk-av.pe { background: var(--hl); border-radius: 50%; }
.lk-tx { min-width: 0; }
.lk-tx b { font-size: 16px; }
.lk-tk { font-size: 12px; font-weight: 700; padding: 1px 5px; border: 1px solid var(--ink); margin-left: 4px; vertical-align: 2px; }
.lk-d { display: block; font-size: 13.5px; color: var(--quiet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-head { padding: 8px 14px; font-size: 13px; color: var(--quiet); background: var(--wash); }
.lk-none { padding: 14px; color: var(--quiet); }
@media (max-width: 960px) {
  .bz { grid-template-areas: "lookup" "main" "side"; }
  .lookup input { font-size: 17px; }
}

/* Tapping a footnote sweeps the highlighter across the words it backs (article template). */
.prose .w.claim { background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 88% / 0% 80%;
  padding-right: .27em; margin-right: -.27em; transition: background-size .28s cubic-bezier(.65, 0, .25, 1); }
.prose .w.claim.on { background-size: 100% 80%; }

/* ===== logo tiles, final (build/pages.py logo_tile/monogram) =====
   Every logo is contained inside its tile: fixed box, even padding, centered, never spilling.
   Wordmarks get a wider tile; lists use the wide shape for every row so names line up.
   No logo, or one that fails to load: the company's initials, set in ink like a small masthead. */
.co-logo { display: inline-flex; align-items: center; justify-content: center; flex: none; box-sizing: border-box;
  width: var(--s, 72px); height: var(--s, 72px); padding: calc(var(--s, 72px) * .12); overflow: hidden;
  background: var(--paper); border: 1px solid var(--faint); vertical-align: middle; position: relative; }
.co-logo img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; }
.co-logo.wide { width: calc(var(--s, 72px) * 1.75); padding: calc(var(--s, 72px) * .1); }
.co-logo.xwide { padding: 2px 3px; }   /* long wordmarks (3.5:1 and wider) use the whole tile */
.co-logo.wide.xwide { width: calc(var(--s, 72px) * 2.2); }
.ev-co > .co-logo.wide.xwide { width: calc(var(--s, 72px) * 1.75); }
.co-logo.dark { background: var(--ink); border-color: var(--ink); }
.co-logo.mono, .co-logo.broken { padding: 0; background: var(--paper); border: 1.5px solid var(--ink); color: var(--ink);
  font: 800 calc(var(--s, 72px) * .42)/1 var(--sans, "Public Sans", sans-serif); letter-spacing: -.04em; }
.co-logo.mono.wide, .co-logo.broken.wide { font-size: calc(var(--s, 72px) * .44); }
.co-logo.broken::after { content: attr(data-l); font: inherit; color: var(--ink); }
.co-logo.broken.dark { background: var(--paper); }
/* Logo beside text in lists: the tile in its own column, the text wrapping in the next. */
.ev-co { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.ev-co > .co-logo { margin: 0 !important; }
.ev-co > span:last-child { min-width: 0; padding-top: 2px; }
.mv a, .az-g a { display: inline-flex; align-items: center; gap: 10px; }
.mv a .co-logo, .az-g a .co-logo, .events a .co-logo { margin-right: 0; }
.fl-co { display: inline-flex; align-items: center; gap: 10px; }
/* ===== end logo tiles ===== */

/* Phones: the page never slides sideways. The menu scrolls inside its own row (min-width: 0 lets
   the flex item shrink so its overflow can scroll), and a drag across a chart reads the bars
   instead of panning the page. */
html, body { overflow-x: clip; }
.mast .wrap > * { min-width: 0; }
.mast nav { scrollbar-width: none; }
.mast nav::-webkit-scrollbar { display: none; }
.pchart svg, .fchart svg { touch-action: pan-y; }
.table-wrap { max-width: 100%; overflow-x: auto; }
