@layer legacy {
/* Editorial report layer. The benchmark controls and saved evidence remain in the earlier stylesheets. */
:root {
  --paper: #fbfcfe;
  --cream: #eef3f8;
  --ink: #1a2332;
  --muted: #4b586b;
  --line: #ccd6e2;
  --teal: #1565c0;
  --teal-pale: #e8f1fb;
  --coral: #a34830;
  --coral-pale: #f7e9e3;
  --reader-accent: #a34830;
  --display: 'Archivo', Arial, sans-serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --quote: 'Newsreader', Georgia, serif;
}
html { scroll-padding-top: calc(var(--reader-header-height, 82px) + 18px); }
body { background: var(--surface); color: var(--ink); font-size: 15px; line-height: 1.62; }
a { text-decoration-thickness: 1px; text-underline-offset: .24em; }
button, input, select { font-family: var(--sans); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.section-intro h2, .feature h2, .method-columns h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; }
.eyebrow, .finding-label, .figure-kicker, .chart-title, .edition { font-family: var(--mono); font-size: 13px; font-weight: 600; line-height: 1.5; letter-spacing: 0; text-transform: none; color: var(--ink); }
.section { scroll-margin-top: calc(var(--reader-header-height, 82px) + 20px); }
.site-header { min-height: 78px; padding-inline: clamp(22px, 4.5vw, 72px); background: rgba(251,252,254,.96); border-bottom: 1px solid var(--line); box-shadow: none; backdrop-filter: blur(16px); }
.brand { font-size: 13px; line-height: 1.22; letter-spacing: 0; }
.brand-symbol { color: var(--muted); font: 800 clamp(36px, 3.4vw, 56px)/.8 var(--display); letter-spacing: -.11em; }
.brand-symbol span { color: var(--reader-accent); }
.main-nav { gap: clamp(13px, 1.7vw, 26px); }
.main-nav a { padding-block: 9px; font-size: 13px; font-weight: 600; white-space: nowrap; transition: color .18s ease; }
.main-nav a[aria-current="location"] { color: var(--teal); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.site-header .edition { max-width: none; white-space: nowrap; color: var(--muted); font-size: 13px; }

/* A field note, then a concrete comment. */
.reader-hero { position: relative; max-width: none; min-height: 0; padding: clamp(56px, 6.5vw, 106px) max(clamp(22px, 7vw, 114px), calc((100vw - 1372px) / 2)) clamp(55px, 6vw, 93px); grid-template-columns: minmax(0, 1.02fr) minmax(330px, .88fr); gap: clamp(45px, 7vw, 112px); align-items: start; background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); overflow: hidden; }
.reader-hero::before { display: none; }
.reader-hero::after { content: ''; position: absolute; top: 0; left: max(clamp(22px, 7vw, 114px), calc((100vw - 1372px) / 2)); width: 68px; height: 4px; background: var(--teal); }
.reader-hero .intro-copy, .reader-hero .hero-example { position: relative; z-index: 1; }
.reader-hero .eyebrow { color: var(--muted); margin-bottom: 22px; }
.reader-hero h1 { max-width: 13ch; margin: 0 0 28px; color: var(--ink); font: 800 clamp(52px, 5.7vw, 85px)/.99 var(--display); letter-spacing: -.055em; }
.reader-hero h1 em { color: var(--ink); font-style: normal; font-weight: 800; }
.reader-hero .lede { max-width: 53ch; margin: 0; color: var(--ink); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.57; }
.hero-thesis { max-width: 61ch; margin: 22px 0 0; padding: 0; border: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.reader-hero .intro-actions { display: flex; flex-wrap: wrap; gap: 23px; margin-top: 30px; }
.reader-hero .action { min-height: 48px; padding: 12px 18px; gap: 24px; background: var(--teal); border: 1px solid var(--teal); border-radius: 4px; color: white; box-shadow: none; font-size: 15px; }
.reader-hero .action:hover { background: var(--teal); transform: translateY(-2px); }
.reader-hero .quiet-link { color: var(--ink); font-size: 15px; }
.reader-hero .hero-boundary { max-width: 60ch; margin: 31px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.6; }
.reader-hero .hero-boundary strong, .reader-hero .hero-boundary a { color: var(--ink); }
.hero-example { align-self: start; margin: 0; padding: clamp(27px, 3.2vw, 45px); background: var(--teal-pale); border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 0; box-shadow: none; color: var(--ink); transform: none; }
.hero-example .eyebrow { margin-bottom: 14px; color: var(--muted); }
.hero-example blockquote { margin: 17px 0 20px; color: var(--ink); font: 400 20px/1.25 var(--quote); letter-spacing: -.025em; }
.hero-example .example-source { padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.example-decisions { border-top: 1px solid var(--line); }
.example-decisions > div { border-color: var(--line); font-size: 13px; }
.example-decisions strong { color: var(--ink); }
.example-note { color: var(--muted); font-size: 13px; }

/* The four-step explainer supplies just enough context to enter the report. */
.study-map { max-width: none; padding: 54px max(clamp(22px, 7vw, 114px), calc((100vw - 1372px) / 2)) 61px; background: var(--cream); border-block: 1px solid var(--line); }
.study-map-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0 6%; align-items: end; }
.study-map-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 9px; }
.study-map h2 { max-width: 21ch; margin: 0; font: 700 clamp(31px, 3.2vw, 47px)/1.08 var(--display); letter-spacing: -.04em; }
.study-map-heading > p:last-child { max-width: 45ch; margin: 0 0 4px; color: var(--muted); font-size: 15px; }
.study-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.study-steps button { display: grid; grid-template-columns: 36px 1fr; gap: 1px 9px; min-height: 91px; padding: 18px 14px; text-align: left; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--ink); transition: background .2s ease; }
.study-steps button:last-child { border-right: 0; }
.study-steps button > span { grid-row: 1 / 3; color: var(--teal); font: 600 13px/1.8 var(--mono); }
.study-steps button strong { font-size: 15px; line-height: 1.3; }
.study-steps button small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.study-steps button:hover, .study-steps button[aria-pressed="true"] { background: var(--teal-pale); }
.study-steps button::after { height: 3px; background: var(--teal); }
.study-explanation { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr); gap: 7%; min-height: 0; padding-top: 25px; }
.study-explanation h3 { max-width: 24ch; margin: 0; font: 600 20px/1.28 var(--display); }
.study-explanation p { max-width: 68ch; margin: 0; font-size: 15px; line-height: 1.62; }
.study-explanation a { grid-column: 2; font-size: 13px; font-weight: 600; }

/* Findings come before the workbench. The rail and figures reward scrolling and clicking. */
.reader-story { max-width: none; padding: 85px max(clamp(22px, 7vw, 114px), calc((100vw - 1372px) / 2)) 0; border: 0; background: var(--surface); }
.story-heading { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(260px, .7fr); gap: 14px 7%; align-items: end; }
.story-heading .eyebrow { grid-column: 1 / -1; margin: 0; }
.story-heading h2 { max-width: 15ch; margin: 0; font: 800 clamp(48px, 5.1vw, 75px)/1.02 var(--display); letter-spacing: -.055em; }
.story-heading > p:not(.eyebrow) { margin: 0 0 3px; color: var(--muted); font-size: 17px; line-height: 1.56; }
.story-heading .story-key { grid-column: 1 / -1; max-width: 90ch; margin-top: 23px; padding: 17px 0 0; border-top: 1px solid var(--line); color: var(--muted); background: none; font-size: 13px !important; }
.story-key strong { color: var(--ink); }
.story-nav { position: sticky; top: var(--reader-header-height, 78px); z-index: 11; display: flex; gap: 0; margin-top: 28px; padding: 0; border: 1px solid var(--line); background: rgba(251,252,254,.97); box-shadow: none; backdrop-filter: blur(14px); }
.story-nav a { display: flex; min-height: 66px; flex: 1; align-items: center; gap: 14px; padding: 13px 18px; border-right: 1px solid var(--line); border-radius: 0; color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.3; transition: background .2s ease, color .2s ease; }
.story-nav a:last-of-type { border-right: 0; }
.story-nav a span { color: var(--teal); font: 600 13px/1 var(--mono); }
.story-nav a:hover, .story-nav a[aria-current], .story-nav a:focus-visible { background: var(--teal-pale); color: var(--ink); }
.story-nav-track { bottom: 0; height: 3px; background: var(--teal-pale); }
.story-nav-track > span { background: var(--teal); }
.story-chapter { position: relative; display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); gap: clamp(45px, 7vw, 104px); min-height: 0; padding: clamp(70px, 7vw, 108px) 0; align-items: start; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--reader-header-height, 78px) + 83px); }
.story-chapter::before { width: 42px; height: 3px; background: var(--teal); }
.chapter-copy { padding-top: 20px; }
.chapter-copy .eyebrow { margin-bottom: 13px; font-size: 13px; }
.chapter-copy h3 { max-width: 16ch; margin: 0 0 26px; font: 700 clamp(34px, 3.55vw, 53px)/1.08 var(--display); letter-spacing: -.04em; }
.chapter-copy p { max-width: 54ch; margin-bottom: 18px; font-size: 15px; line-height: 1.7; }
.chapter-implication, .story-chapter:nth-of-type(even) .chapter-implication { margin: 26px 0; padding: 16px 19px; border: 0; border-left: 3px solid var(--teal); background: var(--teal-pale); color: var(--ink); }
.chapter-implication strong { display: block; }
.reader-story .quiet-link { font-size: 13px; font-weight: 700; }
.chapter-next { max-width: 45ch; margin-top: 35px; border-color: var(--line); color: var(--muted); font-size: 13px; }
.chapter-next span:first-child { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; }
.story-figure, .story-chapter:nth-of-type(even) .story-figure { position: sticky; top: calc(var(--reader-header-height, 78px) + 91px); margin: 0; padding: clamp(26px, 3vw, 43px); border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 0; background: var(--teal-pale); box-shadow: none; }
.figure-kicker, .chart-title { color: var(--ink); }
.story-number { gap: 16px; padding-bottom: 21px; border-color: var(--line); }
.story-number > strong { color: var(--ink); font: 700 clamp(72px, 8vw, 128px)/.9 var(--display); letter-spacing: -.075em; }
.story-number > span { padding-bottom: 8px; color: var(--muted); font-size: 15px; }
.comment-grid { gap: clamp(6px, .65vw, 9px); margin: 26px 0; }
.comment-grid i, .comment-grid a { background: var(--teal-mid); border-radius: 4px; }
.comment-grid i.changed, .comment-grid a.changed { background: var(--reader-accent); border-radius: 50%; }
.comment-grid a.changed:hover, .comment-grid a.changed:focus-visible { transform: scale(1.15); box-shadow: 0 0 0 3px var(--line), 0 0 0 5px var(--teal); }
.legend-mark { background: var(--teal-mid); }
.legend-mark.contrast { background: var(--reader-accent); }
.story-figure figcaption, .chart-limit { color: var(--muted); font-size: 13px; line-height: 1.65; }
.story-figure > a { font-size: 13px; font-weight: 700; }
.chart-limit { border-color: var(--line); }
.prompt-story-controls button { padding: 8px 11px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--ink); font-size: 13px; }
.prompt-story-controls button:hover:not([aria-pressed="true"]) { background: var(--teal-pale); }
.prompt-story-controls button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: white; }
.story-bar-row > div { background: var(--teal-pale); }
.story-bar-row i { background: var(--teal); }
.story-bar-row.tie i { background: var(--teal); }
.story-bar-row.loss i { background: var(--reader-accent); }
.story-prompt-change { padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.repeat-comparison { border-color: var(--line); }
.repeat-comparison strong { color: var(--ink); font: 700 clamp(72px, 8vw, 128px)/1 var(--display); }
.story-case { border-color: var(--line); }
.story-case blockquote { font-family: var(--quote); }

/* A deliberate hand-off from narrative to the tools. */
.reader-takeaways { max-width: none; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 9%; padding: 73px max(clamp(22px, 7vw, 114px), calc((100vw - 1372px) / 2)) 79px; border: 0; background: var(--ink); color: var(--line); }
.reader-takeaways .eyebrow { color: var(--teal-mid); }
.reader-takeaways h2 { max-width: 16ch; margin: 12px 0 18px; font: 700 clamp(36px, 3.8vw, 54px)/1.08 var(--display); letter-spacing: -.04em; }
.reader-takeaways > div > p { max-width: 46ch; color: var(--line); font-size: 15px; }
.audience-notes article { padding: 18px 0 21px 48px; border-color: var(--teal); }
.audience-notes article:first-child { border-top-color: var(--line); }
.audience-notes article::before { top: 21px; color: var(--teal-mid); font: 600 13px/1.5 var(--mono); }
.audience-notes h3 { color: white; font-size: 17px; }
.audience-notes p { color: var(--line); font-size: 15px; line-height: 1.62; }
.audience-notes a { color: var(--line); }

/* Reading key and ranked runs. */
.framing { padding-block: 55px 38px; border-bottom: 0; }
.framing .section-intro { display: grid; grid-template-columns: .75fr 1.25fr; gap: 5%; align-items: end; max-width: none; margin-bottom: 23px; }
.framing .section-intro .eyebrow { grid-column: 1 / -1; margin: 0; }
.framing .section-intro h2 { margin: 0; font: 700 clamp(30px, 3.1vw, 43px)/1.1 var(--display); letter-spacing: -.035em; }
.framing .section-intro > p:last-child { max-width: 64ch; margin: 0; font-size: 15px; }
.measure-strip { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.measure-strip article { padding: 21px 25px; border-color: var(--line); }
.measure-strip article:first-child { padding-left: 0; }
.measure-strip span { display: block; font: 600 13px/1 var(--mono); color: var(--muted); }
.measure-strip h3 { margin: 11px 0 7px; font: 600 20px/1.2 var(--display); }
.measure-strip p { color: var(--muted); font-size: 13px; }
.rank-section { padding-block: 29px 70px; border-bottom: 1px solid var(--line); background: var(--surface); }
.rank-section .section-intro h2 { max-width: 24ch; font: 700 clamp(36px, 3.75vw, 54px)/1.08 var(--display); letter-spacing: -.04em; }
.rank-section .section-intro > p:last-child { max-width: 68ch; font-size: 15px; }
.overview-rank { margin-top: 19px; padding: 0; border: 0; border-top: 1px solid var(--ink); border-radius: 0; background: transparent; }
.overview-rank-head { gap: 20px; padding-top: 16px; margin-bottom: 12px; }
.overview-rank-head .eyebrow { margin-bottom: 7px; }
.overview-rank-head p:last-child { color: var(--muted); font-size: 13px; }
.overview-rank-controls select { border-color: var(--line); border-radius: 4px; background: white; }
.overview-rows { gap: 0; border-top: 1px solid var(--line); }
.overview-row { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; transition: background .18s ease; }
.overview-row:hover, .overview-row:focus-visible { transform: none; background: var(--teal-pale); }
.overview-row.selected, .overview-row.is-jev { border-color: var(--teal); background: var(--teal-pale); }
.overview-row-track { background: var(--teal-pale); }
.overview-row-track span { background: var(--teal); }
.overview-row-score { font-weight: 700; }
.overview-caution, .overview-rank-count { color: var(--muted); font-size: 13px; line-height: 1.6; }
.overview-toggle { min-height: 44px; color: var(--muted); font-weight: 600; }

/* The technical evidence retains its full source links and readable detail. */
.reference-review { padding-block: 34px; background: var(--teal-pale); border-block: 1px solid var(--line); }
.reference-review h2 { font: 700 27px/1.15 var(--display); letter-spacing: -.025em; }
.reference-review p { font-size: 15px; }
.reference-review a { color: var(--teal); font-weight: 600; }
.analysis-library { display: block; border-bottom: 1px solid var(--line); background: var(--teal-pale); }
.analysis-library > summary { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr); gap: 10px 7%; align-items: end; padding: 43px max(clamp(22px, 7vw, 114px), calc((100vw - 1372px) / 2)) 46px; border-top: 4px solid var(--teal); list-style: none; cursor: pointer; transition: background .18s ease; }
.analysis-library > summary::-webkit-details-marker { display: none; }
.analysis-library > summary:hover { background: var(--teal-pale); }
.analysis-library-kicker { grid-column: 1 / -1; color: var(--muted); font: 600 13px/1.5 var(--mono); letter-spacing: 0; text-transform: none; }
.analysis-library > summary strong { grid-column: 1; display: block; max-width: 20ch; color: var(--ink); font: 700 clamp(20px, 1.6vw, 24px)/1.1 var(--display); letter-spacing: -.04em; }
.analysis-library > summary > span:nth-child(3) { grid-column: 2; align-self: start; max-width: 42ch; color: var(--muted); font-size: 15px; line-height: 1.6; }
.analysis-library-action { grid-column: 2; display: inline-flex; justify-content: space-between; gap: 20px; width: fit-content; min-width: 210px; padding: 8px 0 4px; border-bottom: 1px solid var(--teal); color: var(--muted); font-size: 13px; font-weight: 700; }
.analysis-library-action span { transition: transform .2s ease; }
.analysis-library[open] .analysis-library-action span { transform: rotate(180deg); }
.analysis-library[open] > summary { border-bottom: 1px solid var(--line); }
.analysis-chapter { background: var(--surface); }
.analysis-section { padding-block: 66px; border-color: var(--line); }
.analysis-section:nth-child(even) { background: var(--teal-pale); }
.analysis-intro h2 { max-width: 18ch; font: 700 clamp(35px, 3.9vw, 56px)/1.08 var(--display); letter-spacing: -.04em; }
.analysis-intro .analysis-question { border-color: var(--teal); font: 500 clamp(17px, 2vw, 25px)/1.25 var(--quote); }
.analysis-intro p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.analysis-body thead th { color: var(--muted); }
.analysis-body tbody tr:hover { background: var(--teal-pale); }
.analysis-caveat, .chart-foot { color: var(--muted); font-size: 15px; line-height: 1.65; }
.repeat-howto { border-color: var(--teal); background: var(--teal-pale); font-size: 15px; }
.category-explainer { max-width: 75ch; margin: 12px 0 16px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.category-explainer a { color: var(--teal); font-weight: 600; }
.category-selected { width: fit-content; margin: 16px 0 8px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); background: var(--teal-pale); font-size: 13px; font-weight: 600; line-height: 1.45; }
.note-group > summary:hover, .note-group > summary:focus-visible { background: var(--teal-pale); }
.note-group-title strong { font-family: var(--display); font-weight: 600; }
.note-items .analysis-caveat { max-width: 76ch; }
.feature { padding-block: 35px; background: var(--teal-pale); border-color: var(--line); }
.feature h2 { font-weight: 700; }
.feature-score strong { color: var(--ink); }
.control-panel { background: var(--teal-pale); }
.condition-card[aria-pressed="true"], .detail-badge { background: var(--teal-pale); }
.condition-track { background: var(--teal-pale); }
.condition-track > span { background: var(--teal); }
.usage, .method { background: var(--teal-pale); }
.section-run-picker { display: grid; gap: 7px; max-width: 780px; margin: 0 0 28px; color: var(--muted); font-size: 13px; font-weight: 700; }
.section-run-picker select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--ink); font-size: 15px; font-weight: 400; }
.usage > .section-run-picker { max-width: 1372px; margin-inline: auto; }
.condition-related-link { display: block; margin-top: 8px; color: var(--teal); font-size: 13px; font-weight: 700; text-underline-offset: 4px; }
.method-columns p { color: var(--muted); }
footer { background: var(--ink); color: white; }
@media (prefers-reduced-motion: no-preference) {
  .prompt-figure .story-bar-row i { animation: none !important; transition: transform .65s cubic-bezier(.22,1,.36,1); }
  .story-chapter.is-visible .comment-grid > * { animation: cell-arrive .55s cubic-bezier(.22,1,.36,1) backwards; animation-delay: calc(var(--cell-order,0)*7ms); }
  @keyframes cell-arrive { from { opacity: .2; transform: translateY(8px) scale(.7); } to { opacity: 1; transform: translateY(0) scale(1); } }
}
@media (max-width: 1100px) {
  .reader-hero { grid-template-columns: 1fr 1fr; gap: 40px; }
  .reader-hero h1 { font-size: clamp(49px, 5.5vw, 68px); }
  .story-chapter { gap: 5%; }
  .chapter-copy h3 { font-size: clamp(34px, 3.7vw, 46px); }
}
@media (max-width: 760px) {
  .site-header { gap: 10px; padding: 12px 20px 7px; }
  .main-nav { gap: 21px; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
  .main-nav a { font-size: 13px; }
  .reader-hero { grid-template-columns: 1fr; gap: 34px; padding: 51px 22px 55px; }
  .reader-hero::after { left: 22px; }
  .reader-hero h1 { max-width: 13ch; font-size: clamp(46px, 10vw, 65px); }
  .reader-hero .lede { font-size: 17px; }
  .hero-example { margin: 0; padding: 0; }
  .hero-example-details > summary { display: list-item; min-height: 58px; padding: 17px 20px; cursor: pointer; color: var(--ink); font-size: 15px; font-weight: 600; }
  .hero-example-details[open] > summary { border-bottom: 1px solid var(--line); }
  .hero-example-details[open] > *:not(summary) { margin-inline: 20px; }
  .hero-example-details[open] > .example-decisions { margin-inline: 20px; }
  .hero-example-details[open] > .example-note { padding-bottom: 18px; }
  .study-map { padding: 42px 22px 49px; }
  .study-map-heading { display: block; }
  .study-map h2 { font-size: 35px; }
  .study-map-heading > p:last-child { margin-top: 16px; }
  .study-steps { grid-template-columns: 1fr 1fr; }
  .study-steps button { min-height: 83px; padding: 14px 10px; grid-template-columns: 28px 1fr; }
  .study-steps button:nth-child(2) { border-right: 0; }
  .study-steps button:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .study-explanation { grid-template-columns: 1fr; gap: 12px; padding-top: 23px; }
  .study-explanation a { grid-column: 1; }
  .reader-story { padding: 59px 22px 0; }
  .story-heading { display: block; }
  .story-heading h2 { margin: 12px 0 17px; font-size: clamp(43px, 9vw, 61px); }
  .story-heading .story-key { margin-top: 20px; }
  .story-nav { top: var(--reader-header-height, 125px); margin-inline: -22px; padding: 0 22px 3px; overflow-x: auto; }
  .story-nav a { flex: 0 0 auto; min-width: 146px; min-height: 62px; padding: 9px 10px; font-size: 13px; }
  .story-nav-track { left: 22px; right: 22px; }
  .story-chapter { grid-template-columns: 1fr; gap: 30px; padding-block: 62px; scroll-margin-top: calc(var(--reader-header-height, 125px) + 75px); }
  .chapter-copy { padding-top: 0; }
  .chapter-copy h3 { font-size: clamp(36px, 8vw, 49px); }
  .story-figure, .story-chapter:nth-of-type(even) .story-figure { position: static; padding: 23px; }
  .story-number > strong { font-size: clamp(72px, 8vw, 128px); }
  .reader-takeaways { grid-template-columns: 1fr; padding: 59px 22px 65px; }
  .framing .section-intro { display: block; }
  .framing .section-intro h2 { margin: 9px 0 12px; }
  .measure-strip { grid-template-columns: 1fr; }
  .measure-strip article { padding: 17px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .rank-section { padding-top: 28px; }
  .overview-rank-head { display: grid; gap: 16px; }
  .overview-row { padding: .8rem .2rem; }
  .analysis-library > summary { display: block; padding: 34px 22px 38px; }
  .analysis-library > summary strong { margin: 10px 0 14px; }
  .analysis-library-action { margin-top: 18px; }
  .analysis-section { padding-block: 50px; }
}
@media (max-width: 520px) {
  .reader-hero h1 { font-size: 44px; }
  .study-steps button strong { font-size: 13px; }
  .story-nav a { min-width: 137px; }
  .comment-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .story-bar-row { grid-template-columns: 92px minmax(0, 1fr) 28px; gap: 8px; font-size: 13px; }
  .repeat-comparison { gap: 10px; }
  .repeat-comparison strong { font-size: clamp(36px, 3.4vw, 56px); }
  .audience-notes article { padding-left: 37px; }
  .inspect .detail-top h3 { font-size: clamp(28px, 8vw, 36px); overflow-wrap: anywhere; }
  .inspect .detail-stat strong { overflow-wrap: anywhere; }
  .inspect .detail-stat:last-child strong { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reader-hero .action:hover, .comment-grid a.changed:hover, .comment-grid a.changed:focus-visible { transform: none; }
}

/* Updated analysis: retain a readable table at narrow widths. */
.analysis-refresh table {width:100%; border-collapse:collapse; min-width:760px;}
.analysis-refresh th,.analysis-refresh td {padding:1rem; text-align:left; border-bottom:1px solid var(--line); vertical-align:top;}
.analysis-refresh td small {display:block; margin-top:.4rem; color:var(--muted); font-size:13px;}
.analysis-refresh caption {text-align:left; margin-bottom:1rem; font-weight:600;}
.analysis-refresh > p {max-width:85ch; line-height:1.65;}
.analysis-refresh details {margin:1.5rem 0;}

/* Comparison sections and compact filter navigation. */
.report-section-nav{display:flex;flex-wrap:wrap;gap:.7rem;padding:1.2rem 0;border-bottom:1px solid var(--line)}
.report-section-nav a{padding:.65rem .9rem;border:1px solid var(--line);border-radius:4px;font-size:15px;text-decoration:none;color:inherit}
.report-section-nav a:hover,.report-section-nav a:focus-visible{background:var(--teal-pale);border-color:currentColor}
#clear-run-filters{margin:.8rem 0;padding:.6rem 1rem;border:1px solid var(--line);background:transparent;cursor:pointer}

/* Find the relevant study without reading every historical checkpoint. */
.analysis-refresh .findings-group {margin:0;border-top:1px solid var(--line);}
.analysis-refresh .findings-group:last-child {border-bottom:1px solid var(--line);}
.findings-group summary {padding:1.25rem .5rem;cursor:pointer;}
.findings-group summary span {font-size:20px;font-weight:650;}
.findings-group summary small {display:block;margin:.35rem 0 0 1.2rem;color:var(--teal);font-size:15px;font-weight:400;line-height:1.5;}
.findings-group summary:focus-visible {outline:3px solid var(--teal);outline-offset:3px;}
.findings-group[open] summary {background:var(--teal-pale);}
.findings-group ul {max-width:74ch;margin:1.5rem auto;padding:0 1.5rem 0 2.5rem;}
.findings-group li {margin:0 0 1.5rem;line-height:1.75;overflow-wrap:anywhere;}

/* Keep the hosted decision comparison readable inside the findings column. */
.decision-hosted-table table { min-width: 640px; width: 100%; }
.decision-hosted-table:focus-visible { outline: 2px solid var(--accent, var(--teal)); outline-offset: 3px; }
}
