/* The continuous story uses the collection's paper, blue and orange palette. */
body[data-reader-view="story"] {
  --reader-paper: #fcf8f2;
  --reader-blue: #002A60;
  --reader-pale: #e3f1fb;
  --reader-income: #cce5f7;
  --reader-muted: #48617b;
  --reader-rule: #bdccda;
  background: var(--reader-paper);
  color: #172f44;
}
html:has(body[data-reader-view="story"]) { scroll-padding-top: 0; }
body[data-reader-view="story"] .dashboard-topbar {
  background: #fff; color: var(--reader-blue); box-shadow: none; backdrop-filter: none;
  border-bottom: 1px solid #dce5ef; padding-block: 12px; flex-direction: row; align-items: center;
}
body[data-reader-view="story"] .dashboard-topbar .brand-logo { width: clamp(205px, 23vw, 320px); max-height: 54px; }
body[data-reader-view="story"] .dashboard-topbar nav { width: auto; padding-bottom: 0; }
body[data-reader-view="story"] .mobile-menu summary { color: var(--reader-blue); border-color: #afc0d0; }
body[data-reader-view="story"] .private-preview-banner { top: var(--reader-header-height, 80px); }
body[data-reader-view="story"] #storyPageRoot { overflow-wrap: anywhere; }
body[data-reader-view="story"] #storyPageRoot [id] { scroll-margin-top: calc(var(--reader-chrome-height, 80px) + var(--reader-nav-height, 60px) + 24px); }
body[data-reader-view="story"] #storyPageRoot :is(a, button, summary):focus-visible { outline: 3px solid #0864aa; outline-offset: 4px; }
body[data-reader-view="story"] #storyPageRoot [tabindex="-1"]:focus { outline: none; }
body[data-reader-view="story"] #storyPageRoot :is(.editorial-narrative-copy p, .editorial-timeline-item, .editorial-context-note):target { box-shadow: -5px 0 0 #E04E04; }
body[data-reader-view="story"] #storyPageRoot :is(h1, h2, h3) { color: var(--reader-blue); text-wrap: pretty; }

/* A compact magazine opening: navy cover, original photograph, ivory context. */
body[data-reader-view="story"] .editorial-story-hero { display: block; padding: 0; min-height: 0; background: var(--reader-blue); }
.reader-cover-main { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: center; gap: 48px; width: min(100% - 2 * clamp(22px, 4.2vw, 64px), 1180px); margin: 0 auto; padding: 28px 0; }
body[data-reader-view="story"] .editorial-story-hero .story-hero-content { display: block; padding: 0; }
body[data-reader-view="story"] .editorial-story-hero .story-breadcrumbs { margin: 0 0 20px; gap: 10px; font: 400 13px/1.4 "Inter", sans-serif; color: #c3d7e9; }
body[data-reader-view="story"] .editorial-story-hero .story-crumb { color: #d9e8f5; text-transform: none; letter-spacing: 0; font: inherit; }
body[data-reader-view="story"] .editorial-story-hero .story-crumb:hover { color: white; }
body[data-reader-view="story"] #storyPageRoot .editorial-story-hero h1 { color: #fff; margin: 0 0 12px; font-size: clamp(44px, 5vw, 68px); line-height: 1.05; letter-spacing: normal; }
body[data-reader-view="story"] .editorial-story-hero .editorial-standfirst { color: #f0f5fa; max-width: 740px; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.6; margin: 0; }
body[data-reader-view="story"] .editorial-story-hero .story-portrait-frame { min-height: 0; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
body[data-reader-view="story"] .editorial-story-hero .story-gallery { display: block; margin: 0; }
body[data-reader-view="story"] .editorial-story-hero .story-gallery-lead { display: block; width: 100%; height: 250px; min-height: 0; border: 0; border-bottom: 4px solid #ee975a; border-radius: 3px 3px 0 0; background-color: #174d7e; }
body[data-reader-view="story"] .editorial-story-hero .story-gallery-caption { margin: 0; padding: 8px 0 0; color: #c3d7e9; background: transparent; font: 400 11px/1.5 "Inter", sans-serif; }
body[data-reader-view="story"] .editorial-story-hero .story-gallery-caption:empty { display: none; }
body[data-reader-view="story"] .editorial-story-hero .story-gallery-thumbs { padding: 8px 0 0; }
body[data-reader-view="story"] .editorial-story-hero .gallery-thumb { width: 40px; height: 40px; border-radius: 3px; }
body[data-reader-view="story"] .editorial-story-hero .gallery-thumb.is-active { border-color: #ee975a; }
.reader-cover-footer { background: var(--reader-paper); }
body[data-reader-view="story"] .editorial-story-hero .story-hero-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; width: min(100% - 2 * clamp(22px, 4.2vw, 64px), 1180px); margin: 0 auto; padding: 17px 0; border: 0; }
body[data-reader-view="story"] .editorial-story-hero .story-hero-meta span { border: 0; border-radius: 0; background: transparent; padding: 0; color: var(--reader-muted); font: 400 13px/1.5 "Inter", sans-serif; }
body[data-reader-view="story"] .editorial-story-hero .story-hero-meta span:last-child { flex: 1 1 250px; }
body[data-reader-view="story"] .editorial-story-hero .review-draft-badge { display: inline-block; margin-bottom: 16px; }
body[data-reader-view="story"] .editorial-story-hero :is(a, button):focus-visible { outline-color: #ffbb8c !important; }

/* The page remains an article; the bar only jumps to sections. */
.reader-section-nav { position: sticky; top: var(--reader-chrome-height, 80px); z-index: 20; background: var(--reader-blue); color: #fff; }
.reader-section-nav > div { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.reader-nav-name { font: 650 20px/1.2 "Overpass", sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reader-section-links { display: flex; flex-shrink: 0; gap: 24px; }
.reader-section-links a { display: flex; align-items: center; position: relative; min-height: 60px; padding: 12px 4px; color: #fff; text-decoration: none; font: 550 14px/1.4 "Inter", sans-serif; }
.reader-section-links a::after { content: ""; position: absolute; inset: auto 4px 0; height: 4px; background: transparent; }
.reader-section-links a[aria-current]::after { background: #ff9854; }
.reader-section-links a:hover { color: #ffcfaf; }
body[data-reader-view="story"] .reader-section-nav a:focus-visible { outline-color: #ffbb8c; outline-offset: -5px; }

/* Paper and generous reading margins replace nested floating cards. */
body[data-reader-view="story"] .editorial-story-page { background: var(--reader-paper); padding: 64px clamp(22px, 4.2vw, 64px) 72px; }
body[data-reader-view="story"] .editorial-reading-shell { gap: 64px; }
body[data-reader-view="story"] :is(.editorial-narrative, .editorial-life-now, .editorial-life-path, .editorial-other-stories) { border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 0; }
body[data-reader-view="story"] .editorial-narrative { max-width: 740px; }
body[data-reader-view="story"] .editorial-narrative-copy { margin-top: 32px; }
body[data-reader-view="story"] .editorial-narrative-copy p { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.85; }
body[data-reader-view="story"] .editorial-narrative-copy p:last-child { margin-bottom: 0; }
body[data-reader-view="story"] .editorial-context-note { max-width: 740px; padding: 24px 30px; background: #f3ecdf; border-left: 3px solid #E04E04; border-radius: 0; color: #172f44; }
body[data-reader-view="story"] :is(.editorial-life-now, .editorial-life-path, .editorial-other-stories) { border-top: 3px solid var(--reader-blue); padding-top: 32px; }
body[data-reader-view="story"] :is(.editorial-life-now, .editorial-life-path, .editorial-other-stories) h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; }
body[data-reader-view="story"] .editorial-section-heading { align-items: start; margin-bottom: 28px; }
body[data-reader-view="story"] .editorial-section-heading > p { font-size: 13px; max-width: 290px; }

/* A compact, linked duration plot. Source titles remain accessible in full. */
.reader-path-overview { --path-label: 35%; padding: 24px 28px; margin: 0 0 42px; border-radius: 5px; background: var(--reader-pale); }
.reader-path-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; color: var(--reader-blue); font: 700 19px/1.35 "Overpass", sans-serif; }
.reader-path-hint, .reader-path-method { font: 400 12px/1.5 "Inter", sans-serif; color: var(--reader-muted); }
.reader-path-axis { display: flex; justify-content: space-between; margin: 0 28px 8px var(--path-label); font: 600 12px/1.4 "Inter", sans-serif; color: var(--reader-muted); }
.reader-path-overview ol { list-style: none; margin: 0; padding: 0; }
.reader-path-overview li { margin: 0; }
.reader-path-overview li a { display: grid; grid-template-columns: var(--path-label) minmax(0, 1fr) 28px; align-items: center; gap: 0; min-height: 53px; padding: 8px 0; border-top: 1px solid #bfd5e6; text-decoration: none; color: var(--reader-blue); }
.reader-path-label { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: baseline; gap: 12px; padding-right: 20px; font-size: 12px; line-height: 1.45; }
.reader-path-label > span { color: #a8420c; font-weight: 600; }
.reader-path-label strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-weight: 600; }
.reader-path-range { height: 30px; position: relative; background: linear-gradient(90deg, #bdd1e1 1px, transparent 1px) 0 0 / 50% 100%; }
.reader-path-range::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: #bdd1e1; }
.reader-path-range i { display: block; position: absolute; left: var(--stage-start); width: var(--stage-duration); top: 8px; height: 14px; background: #316995; border-radius: 2px; }
.reader-path-range i.is-point { width: 8px; height: 8px; top: 11px; border-radius: 50%; transform: translateX(-50%); }
.reader-path-overview .is-current .reader-path-range i { background: #E04E04; }
.reader-path-arrow { text-align: right; font-size: 20px; }
.reader-path-overview a:hover .reader-path-label strong { text-decoration: underline; text-underline-offset: 3px; }
.reader-path-overview a:hover .reader-path-range i { background: var(--reader-blue); }
.reader-path-method { display: block; margin-top: 12px; }
.reader-path-mobile-method { display: none; }
.reader-path-overview.is-sequence li a { grid-template-columns: 1fr 28px; }
.reader-path-overview.is-sequence .reader-path-label { grid-template-columns: minmax(100px, .4fr) minmax(0, 1fr); }

/* A single detailed chronology, with dates linked by a quiet vertical rule. */
body[data-reader-view="story"] .editorial-timeline { border: 0; }
body[data-reader-view="story"] .editorial-timeline-item { position: relative; grid-template-columns: 145px minmax(0, 1fr) 230px; gap: 28px; padding: 32px 0 40px; border-color: var(--reader-rule); }
body[data-reader-view="story"] .editorial-timeline-item::before { content: ""; position: absolute; left: 159px; top: 0; bottom: 0; width: 1px; background: #afc4d6; }
body[data-reader-view="story"] .editorial-timeline-item::after { content: ""; position: absolute; left: 155px; top: 38px; width: 9px; height: 9px; border-radius: 50%; background: var(--reader-blue); }
body[data-reader-view="story"] .editorial-timeline-item.is-current { margin-inline: 0; padding-inline: 0; border-radius: 0; background: transparent; }
body[data-reader-view="story"] .editorial-timeline-item.is-current::after { background: #E04E04; }
body[data-reader-view="story"] .editorial-timeline-period strong { color: #a8420c; font-size: 17px; line-height: 1.5; }
body[data-reader-view="story"] .editorial-timeline-period span { font-size: 13px; line-height: 1.6; }
body[data-reader-view="story"] .editorial-timeline-copy h3 { font-size: clamp(22px, 2vw, 27px); line-height: 1.25; }
body[data-reader-view="story"] .editorial-timeline-copy h3 + p { font-size: 18px; line-height: 1.8; margin-top: 16px; }
body[data-reader-view="story"] .editorial-timeline-copy > p:first-child { font: 400 13px/1.55 "Inter", sans-serif; color: #48617b; letter-spacing: 0; text-transform: none; }
body[data-reader-view="story"] .editorial-timeline-copy small { font: 550 13px/1.65 "Inter", sans-serif; margin-top: 20px; }

/* Figures have a consistent prominence without implying a common money scale. */
body[data-reader-view="story"] :is(.editorial-income-card, .editorial-timeline-income) { align-self: start; min-width: 0; border-radius: 5px; background: var(--reader-income); color: var(--reader-blue); padding: 22px; }
body[data-reader-view="story"] .editorial-timeline-income { gap: 12px; grid-column: auto; }
body[data-reader-view="story"] .editorial-timeline-income > small { font: 500 11px/1.4 "Inter", sans-serif; color: #48617b; text-transform: none; letter-spacing: 0; }
body[data-reader-view="story"] .reader-amount { display: block; color: var(--reader-blue); font: 750 clamp(26px, 2.5vw, 36px)/1.2 "Overpass", sans-serif; font-variant-numeric: tabular-nums; letter-spacing: normal; overflow-wrap: anywhere; }
body[data-reader-view="story"] .reader-amount.is-text { font-size: 23px; letter-spacing: 0; }
.reader-amount-period { display: block; font: 500 14px/1.5 "Inter", sans-serif; letter-spacing: 0; }
.reader-amount-period { margin-top: 5px; }
body[data-reader-view="story"] .editorial-income-card { padding: 30px; gap: 18px; }
body[data-reader-view="story"] .editorial-income-card > .reader-income-label { color: var(--reader-muted); font: 400 13px/1.5 "Inter", sans-serif; margin: 0; }
body[data-reader-view="story"] .editorial-income-card > p:not(.reader-income-label) { color: #243e58; font-size: 15px; line-height: 1.65; }
body[data-reader-view="story"] .editorial-income-card > small { color: var(--reader-muted); font: 400 12px/1.6 "Inter", sans-serif; }
body[data-reader-view="story"] .editorial-income-card .pension-pill { color: var(--reader-blue); background: #e3f1fb; border: 1px solid #94b8d5; font-size: 12px; }
.reader-pension-detail, .reader-pension-amount { border-top: 1px solid #9ebed6; padding-top: 16px; }
.reader-pension-detail summary { cursor: pointer; padding: 5px 0; font-size: 14px; min-height: 36px; }
.reader-pension-detail .reader-amount { margin-top: 14px; }
.reader-pension-amount > p { margin: 0 0 10px; font-size: 14px; }
body[data-reader-view="story"] .editorial-current-facts span { border-radius: 0; border-top: 1px solid var(--reader-rule); padding: 12px 0; background: transparent; }
body[data-reader-view="story"] .editorial-current-facts { gap: 16px 24px; }
body[data-reader-view="story"] .editorial-life-now > header > .editorial-current-title { margin-top: 14px; color: var(--reader-blue); font: 600 21px/1.5 "Overpass", sans-serif; }
body[data-reader-view="story"] .editorial-current-facts small { font: 400 12px/1.5 "Inter", sans-serif; letter-spacing: 0; text-transform: none; }
body[data-reader-view="story"] .editorial-current-copy > p { font-size: 18px; line-height: 1.8; }
body[data-reader-view="story"] .editorial-source-note { font-size: 12px; color: var(--reader-muted); }
body[data-reader-view="story"] .editorial-other-stories .story-page-nav a { border: 0; border-top: 1px solid var(--reader-rule); border-radius: 0; background: transparent; box-shadow: none; padding: 20px 0; }
body[data-reader-view="story"] .editorial-other-stories .story-page-nav a:hover { background: #e3f1fb; }

@media (max-width: 1050px) {
  body[data-reader-view="story"] .editorial-timeline-item { grid-template-columns: 120px minmax(0, 1fr) 200px; gap: 24px; }
  body[data-reader-view="story"] .editorial-timeline-item::before { left: 131px; }
  body[data-reader-view="story"] .editorial-timeline-item::after { left: 127px; }
  .reader-path-overview { --path-label: 47%; }
}
@media (max-width: 760px) {
  .reader-cover-main { grid-template-columns: minmax(0, 1fr) 112px; grid-template-areas: "crumb crumb" "title photo" "intro intro"; gap: 18px; padding: 22px 0; align-items: center; }
  body[data-reader-view="story"] .editorial-story-hero .story-hero-content { display: contents; }
  body[data-reader-view="story"] .editorial-story-hero .story-breadcrumbs { grid-area: crumb; margin: 0; font-size: 12px; }
  body[data-reader-view="story"] #storyPageRoot .editorial-story-hero h1 { grid-area: title; font-size: 38px; line-height: 1.06; margin: 0; }
  body[data-reader-view="story"] .editorial-story-hero .editorial-standfirst { grid-area: intro; font-size: 18px; line-height: 1.6; }
  body[data-reader-view="story"] .editorial-story-hero .story-portrait-frame { grid-area: photo; }
  body[data-reader-view="story"] .editorial-story-hero .story-gallery-lead { height: 112px; min-height: 0; border-bottom-width: 3px; }
  body[data-reader-view="story"] .editorial-story-hero .story-gallery-caption { font-size: 12px; }
  body[data-reader-view="story"] .editorial-story-hero .story-gallery-thumbs { display: flex; gap: 6px; }
  body[data-reader-view="story"] .editorial-story-hero .gallery-thumb { width: 40px; height: 40px; }
  body[data-reader-view="story"] .editorial-story-hero .story-hero-meta { gap: 6px 16px; padding-block: 14px; }
  body[data-reader-view="story"] .editorial-story-hero .story-hero-meta span { font-size: 12px; }
  .reader-cover-main:has(.is-private-preview) { grid-template-areas: "crumb crumb" "badge badge" "title photo" "intro intro"; }
  body[data-reader-view="story"] .editorial-story-hero .review-draft-badge { grid-area: badge; margin: 0; }
  .reader-section-nav > div { justify-content: center; padding-inline: 18px; }
  .reader-nav-name { display: none; }
  .reader-section-links { width: 100%; justify-content: space-around; gap: 12px; }
  .reader-section-links a { min-height: 54px; font-size: 13px; }
  body[data-reader-view="story"] .editorial-story-page { padding-top: 40px; }
  body[data-reader-view="story"] .editorial-reading-shell { gap: 44px; }
  body[data-reader-view="story"] .editorial-context-note { padding: 20px; }
  .reader-path-overview { padding: 20px; margin-bottom: 24px; }
  .reader-path-heading { display: block; }
  .reader-path-hint { display: block; margin-top: 4px; }
  .reader-path-overview li a, .reader-path-overview.is-sequence li a { position: relative; grid-template-columns: minmax(0, 1fr) 24px; margin-left: 4px; padding: 12px 0 12px 18px; border-top: 0; border-left: 1px solid #96b5cf; }
  .reader-path-overview li a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #316995; position: absolute; left: -4px; top: 19px; }
  .reader-path-overview .is-current a::before { background: #E04E04; }
  .reader-path-label, .reader-path-overview.is-sequence .reader-path-label { grid-template-columns: 1fr; gap: 2px; padding: 0; font-size: 13px; }
  .reader-path-axis, .reader-path-range, .reader-path-desktop-method { display: none; }
  .reader-path-mobile-method { display: inline; }
  body[data-reader-view="story"] .editorial-timeline-item { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 24px 0 32px 22px; }
  body[data-reader-view="story"] .editorial-timeline-item.is-current { padding-left: 22px; }
  body[data-reader-view="story"] .editorial-timeline-item::before { left: 2px; }
  body[data-reader-view="story"] .editorial-timeline-item::after { left: -2px; top: 31px; }
  body[data-reader-view="story"] .editorial-timeline-period { gap: 3px; }
  body[data-reader-view="story"] .editorial-timeline-income { grid-column: 1; padding: 18px 20px; width: 100%; gap: 8px; }
  body[data-reader-view="story"] .editorial-timeline-copy h3 + p { margin-top: 12px; font-size: 17px; }
  body[data-reader-view="story"] .reader-amount { font-size: 30px; }
  body[data-reader-view="story"] .editorial-income-card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-reader-view="story"] * { scroll-behavior: auto !important; }
}
@media print {
  body[data-reader-view="story"] :is(.dashboard-topbar, .reader-section-nav, .reader-path-overview, .editorial-other-stories) { display: none; }
  body[data-reader-view="story"] .editorial-story-page { padding: 20px 0; }
  body[data-reader-view="story"] .editorial-timeline-item { break-inside: avoid; }
  body[data-reader-view="story"] .reader-pension-detail > * { display: block; }
}
