/* The Daily Model: newspaper layout. */
:root {
  --paper: #F3EFE4;
  --paper-light: #FBF9F3;
  --paper-dark: #E9E3D3;
  --ink: #161616;
  --ink-soft: #4F4A40;
  --rule-soft: #B9B2A2;
  --red: #9E1B1B;
  --green: #1F6B33;
  --head: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Source Serif 4", Georgia, serif;
  --ui: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --max: 1280px;
  --gutter: 32px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--paper) radial-gradient(ellipse 120% 60% at 50% 0%, rgba(255, 253, 246, .6), transparent 70%) no-repeat; scroll-padding-top: 80px; }
html.reading { overflow: hidden; }
body { margin: 0; color: var(--ink); font: 17px/1.55 var(--body); }
/* Paper grain: fine noise fixed behind the content. Sticky parts carry the same grain. */
:root { --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .24 0 0 0 0 .14 0 0 0 -1.1 .62'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23f)'/%3E%3C/svg%3E"); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grain); }
a { color: var(--ink); }
a:hover { color: var(--red); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter) 56px; }
.ui { font-family: var(--ui); }
.label { font-family: var(--ui); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.kicker { font-family: var(--ui); font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.red { color: var(--red); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Top line and masthead */
.topline { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; font: 600 14px/1.4 var(--ui); letter-spacing: .04em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 8px; }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2E9E44; }
.masthead { text-align: center; padding: 22px 0 10px; }
.masthead h1 { margin: 0; font: 900 clamp(46px, 7vw, 84px)/1 var(--head); letter-spacing: -.02em; }
.masthead h1 a { text-decoration: none; }
.tagline { margin: 10px 0 0; font-style: italic; font-size: 20px; }
.double-rule { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); height: 3px; }

/* Guide row */
.guide { display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--ink); }
.guide > * { padding: 14px 16px; border-right: 1px solid var(--rule-soft); }
.guide > :first-child { padding-left: 0; border-right-color: var(--ink); }
.guide > :last-child { border-right: 0; padding-right: 0; }
.guide p { margin: 4px 0 0; font-size: 16px; line-height: 1.45; }
.guide a { display: block; text-decoration: none; }
.guide .num { font: 900 28px/1 var(--head); }
.guide .what { font: 800 15px/1.2 var(--ui); text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; }
.guide .desc { font-size: 15px; line-height: 1.35; margin-top: 2px; }

/* Section bar */
.sections { position: sticky; top: 0; z-index: 5; background: var(--grain), var(--paper); border-bottom: 2px solid var(--ink); padding: 10px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; font-family: var(--ui); }
.sections .label { margin-right: 8px; }
.tabs { display: contents; }
.filters { display: contents; }
.sheet-head, .filter-btn, .share-native, .dock, .sheet-shade { display: none; }
.phone-only { display: none !important; }
.can-share .share-native { display: inline; }
.mini-mast { display: none; font: 900 22px/1 var(--head); text-decoration: none; margin-right: 18px; white-space: nowrap; }
.sections.stuck .mini-mast { display: inline-block; animation: fadein .3s ease-out; }
.sections.stuck > .label { display: none; }
.sections.stuck .tab { padding: 0 9px; }
.sections.stuck .newpill { display: none; }
.sections.stuck .search { flex-basis: 120px; min-width: 110px; }
.sections.stuck .ss { display: none; }
.sections.stuck .mini-mast { font-size: 20px; margin-right: 12px; }
.sections.stuck .sep { margin: 0 6px; }
@keyframes fadein { from { opacity: 0; transform: translateY(-4px); } }
.tab { min-height: 40px; padding: 0 12px; border: 0; background: transparent; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; flex: none; }
.tab[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.tab[data-empty="true"] { color: #8C8577; }
.sep { width: 1px; height: 24px; background: var(--ink); margin: 0 10px; }
.newpill { font-size: 14px; font-weight: 800; color: var(--paper); background: var(--red); padding: 3px 8px; margin-left: 6px; }
.stack { position: relative; }
.stack summary { list-style: none; min-height: 40px; display: inline-flex; align-items: center; gap: 0; padding: 0 12px; border: 1px solid var(--ink); background: var(--paper-light); font-size: 15px; font-weight: 600; cursor: pointer; }
.stack summary::-webkit-details-marker { display: none; }
.stack-panel { position: absolute; top: calc(100% + 6px); left: 0; z-index: 10; width: 340px; background: var(--paper-light); border: 2px solid var(--ink); padding: 12px 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.stack-panel fieldset { border: 0; margin: 0 0 10px; padding: 0; }
.stack-panel legend { font: 800 14px/1 var(--ui); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.stack-panel label { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin-right: 12px; font-size: 15px; }
.stack-panel input { width: 17px; height: 17px; accent-color: var(--ink); }
.stack-actions { display: flex; justify-content: space-between; border-top: 1px solid var(--rule-soft); padding-top: 8px; }
.linkbtn { background: none; border: 0; padding: 4px 0; font: 700 14px/1 var(--ui); text-decoration: underline; cursor: pointer; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; margin-left: 10px; min-height: 40px; }
.toggle input { width: 18px; height: 18px; accent-color: var(--red); }
.search { margin-left: auto; min-height: 40px; flex: 1 1 140px; max-width: 220px; min-width: 120px; border: 1px solid var(--ink); background: var(--paper-light); padding: 0 12px; font-size: 15px; }
.filter-note { font: 600 15px/1.4 var(--ui); margin: 12px 0 0; }

/* Front page */
.front { display: grid; grid-template-columns: 270px minmax(0, 1fr) 290px; margin-top: 22px; }
.col-left { padding-right: 22px; border-right: 1px solid var(--ink); }
.col-main { padding: 0 26px; }
.col-right { padding-left: 22px; border-left: 1px solid var(--ink); display: flex; flex-direction: column; gap: 22px; }
.colhead { border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
.brief { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--rule-soft); padding: 14px 0; cursor: pointer; }
.brief:last-child { border-bottom: 0; }
.brief h3 { margin: 4px 0 0; font: 800 21px/1.2 var(--head); }
.brief p { margin: 6px 0 0; font-size: 16px; line-height: 1.45; }
.brief .more { margin-top: 6px; font: 700 14px/1 var(--ui); }
.brief:hover h3 { text-decoration: underline; }
.headlines { margin-top: 22px; }
.headline { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--rule-soft); padding: 10px 0; cursor: pointer; font: 700 17px/1.28 var(--head); }
.headline:last-child { border-bottom: 0; }
.headline .kicker { display: block; font-size: 12px; margin-bottom: 3px; color: var(--ink-soft); }
.headline:hover { text-decoration: underline; }
.newtag { color: var(--red); }
.empty { font-size: 17px; font-style: italic; padding: 14px 0; }

.lead h2 { margin: 10px 0 0; font: 900 clamp(34px, 4.2vw, 52px)/1.04 var(--head); letter-spacing: -.01em; }
.lead h2 button { all: unset; cursor: pointer; }
.lead h2 button:hover { text-decoration: underline; }
.lead h2 button:focus-visible { outline: 3px solid var(--red); }
.deck { margin: 14px 0 0; font: italic 22px/1.4 var(--head); }
.byline { margin-top: 14px; padding: 8px 0; border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); font: 600 14px/1.4 var(--ui); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.checked { color: var(--green); }
.lead-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; margin-top: 16px; }
.lead-body p { margin: 0 0 10px; }
.todo { border: 2px solid var(--ink); padding: 12px 14px; background: var(--paper-light); }
.todo p { margin: 4px 0 0; }
.linkrow { margin-top: 14px; font: 700 15px/1.4 var(--ui); display: flex; flex-wrap: wrap; gap: 8px 18px; }
.linkrow .push { margin-left: auto; display: inline-flex; gap: 14px; }
.read-btn { border: 0; cursor: pointer; min-height: 44px; }
.impact-badge { background: var(--ink); color: var(--paper); padding: 1px 6px; white-space: nowrap; }

.notices { border: 2px solid var(--red); padding: 14px; background: var(--paper-light); }
.notices .label { color: var(--red); border-bottom: 1px solid var(--red); padding-bottom: 6px; }
.notice { padding: 12px 0; border-bottom: 1px dotted var(--ink); }
.notice:last-of-type { border-bottom: 0; }
.notice .when { font: 800 15px/1.3 var(--ui); color: var(--red); }
.notice .when.nodate { color: var(--ink); }
.notice button { all: unset; cursor: pointer; display: block; font-size: 16px; line-height: 1.4; margin-top: 2px; }
.notice button:hover { text-decoration: underline; }
.decision { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--rule-soft); padding: 12px 0; cursor: pointer; }
.decision:last-child { border-bottom: 0; }
.decision strong { display: block; font: 800 19px/1.25 var(--head); }
.decision span { display: block; margin-top: 4px; font-size: 16px; line-height: 1.45; }
.decision[aria-pressed="true"] strong { color: var(--red); }
.takeaway { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.takeaway a { text-decoration: none; border: 1px solid var(--ink); padding: 8px 10px; font: 700 15px/1.3 var(--ui); }
.takeaway small { display: block; font-weight: 500; font-size: 14px; }
.corrections { background: var(--paper-dark); padding: 12px 14px; }
.corrections p, .corrections li { font-size: 16px; line-height: 1.45; }
.corrections ul { margin: 6px 0 0; padding-left: 18px; }

/* Under the lead: more stories, then the milestone watch */
.more-stories { margin-top: 30px; }
.more-stories .colhead { border-top: 3px double var(--ink); border-bottom: 1px solid var(--ink); padding: 8px 0 6px; }
.row4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row4 .brief { border-bottom: 1px solid var(--rule-soft); padding: 14px 0; }
.row4 .brief:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--rule-soft); }
.row4 .brief:nth-child(even) { padding-left: 20px; }
.row4 .brief:nth-last-child(-n+2):nth-child(odd), .row4 .brief:last-child { border-bottom: 0; }
.row4 .brief h3 { font-size: 22px; line-height: 1.18; }
.watchbox { margin-top: 30px; }
.watchbox .colhead { border-top: 3px double var(--ink); border-bottom: 1px solid var(--ink); padding: 8px 0 6px; }
.watch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 0; margin-top: 14px; }
.watch-main { padding-right: 20px; border-right: 1px solid var(--rule-soft); }
.watch-main h3 { margin: 6px 0 0; font: 800 24px/1.18 var(--head); }
.watch-main h3 button { all: unset; cursor: pointer; }
.watch-main h3 button:hover { text-decoration: underline; }
.tests { list-style: none; margin: 12px 0 0; padding: 0; }
.tests li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px dotted var(--ink); font-size: 15.5px; line-height: 1.45; }
.tests b { font: 800 12px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; padding: 5px 0; text-align: center; border: 1.5px solid currentColor; align-self: start; }
.tests .met b { color: var(--green); }
.tests .open b { color: var(--red); border-style: dashed; }
.tests strong { font-weight: 600; }
.watch-note { margin: 10px 0 0; font: 500 14px/1.5 var(--ui); color: var(--ink-soft); }
.watch-side { padding-left: 20px; }
.watch-side .big { font: 900 30px/1.05 var(--head); margin-top: 8px; }
.watch-side p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.4; }
.watch-side .meta { font: 600 13px/1.4 var(--ui); color: var(--ink-soft); }
.watch-side a { display: inline-block; margin-top: 10px; font: 700 14px/1.35 var(--ui); }
.all-stories { text-align: center; margin-top: 18px; }
.btn-outline { min-height: 44px; padding: 0 22px; border: 1px solid var(--ink); background: transparent; font: 800 15px/1 var(--ui); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.archive-list { margin-top: 18px; border-top: 2px solid var(--ink); }
.archive-list .brief { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; border-bottom: 1px solid var(--rule-soft); }
.archive-list .brief h3 { margin: 0; font-size: 20px; }
.archive-list .date { font: 700 14px/1.4 var(--ui); }

/* History */
.history { margin-top: 34px; border-top: 3px solid var(--ink); padding-top: 6px; }
.history-head { border-top: 1px solid var(--ink); padding-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 32px; align-items: end; }
.history-head h2 { margin: 4px 0 0; font: 900 42px/1.05 var(--head); }
.history-head p { margin: 8px 0 0; font-size: 18px; }
.howto { border: 1px solid var(--ink); padding: 12px 14px; background: var(--paper-light); }
.howto ol { margin: 6px 0 0; padding-left: 20px; font-size: 16px; line-height: 1.45; }
.timeline-scroll { margin-top: 18px; overflow-x: auto; }
.timeline { min-width: 1210px; display: grid; grid-template-columns: 220px 990px; }
.lanes { padding-top: 36px; }
.lane { height: 60px; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--rule-soft); }
.lane b { font: 800 15px/1.2 var(--ui); text-transform: uppercase; letter-spacing: .04em; }
.lane span { font-size: 14px; line-height: 1.3; color: var(--ink-soft); }
.plot { position: relative; height: 336px; }
.plot .year { position: absolute; top: 4px; font: 900 21px/1 var(--head); }
.plot .vline { position: absolute; top: 0; bottom: 0; border-left: 1px dotted #8C8577; }
.plot .hline { position: absolute; left: 0; right: 0; border-top: 1px solid var(--rule-soft); }
.dot { position: absolute; padding: 0; border-radius: 50%; cursor: pointer; background: var(--ink); border: 0; }
.dot.light { background: var(--paper); border: 2px solid var(--ink); }
.dot.watch { background: transparent; border: 2px dashed var(--ink); }
.dot[aria-pressed="true"] { box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px var(--red); }
.dot::after { content: ""; position: absolute; inset: -10px; }
.dlabel { position: absolute; font: 600 14px/1 var(--ui); white-space: nowrap; pointer-events: none; }
.dlabel.on { font-weight: 800; color: var(--red); }
.history-foot { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); margin-top: 18px; border-top: 1px solid var(--ink); }
.history-foot > :first-child { padding: 16px 26px 0 0; border-right: 1px solid var(--rule-soft); }
.history-foot > :last-child { padding: 16px 0 0 26px; }
.selected h3 { margin: 6px 0 0; font: 900 32px/1.12 var(--head); }
.selected p { margin: 10px 0 0; font-size: 18px; }
.selected .meta { font: 600 14px/1.5 var(--ui); }
.numbers { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 10px 12px; align-items: baseline; margin-top: 12px; }
.numbers b { font: 900 38px/1 var(--head); }
.numbers span { font-size: 16px; line-height: 1.35; }
.history-list { display: none; }
.phone-hint { display: none; margin: 14px 0 0; font-size: 16px; }
.history-list h3 { font: 900 22px/1.2 var(--head); margin: 14px 0 4px; }
.history-list button { display: flex; gap: 10px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--rule-soft); padding: 10px 0; cursor: pointer; }
.history-list .mk { flex: none; width: 12px; height: 12px; margin-top: 6px; border-radius: 50%; background: var(--ink); }
.history-list .mk.watch { background: transparent; border: 2px dashed var(--ink); }
.history-list small { display: block; font: 700 14px/1.3 var(--ui); }

/* Survey and footer */
.survey { margin-top: 34px; border: 2px dashed var(--ink); padding: 20px 26px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; align-items: center; }
.survey h2 { margin: 4px 0 0; font: 900 28px/1.15 var(--head); }
.survey p { margin: 8px 0 0; }
.btn-solid { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; background: var(--ink); color: var(--paper); text-decoration: none; font: 800 15px/1 var(--ui); letter-spacing: .04em; text-transform: uppercase; }
.btn-solid:hover { color: var(--paper); background: var(--red); }
footer.foot { margin-top: 34px; border-top: 3px solid var(--ink); padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px 32px; font: 600 14px/1.5 var(--ui); }
.foot-brand { max-width: 520px; }
.foot-brand p { margin: 8px 0 0; font: 500 14px/1.5 var(--ui); }
.rvl-lockup { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.rvl-lockup .rvl-mark { width: 22px; height: 23px; flex: none; }
.rvl-lockup span { font: 600 17px/1 "Archivo", var(--ui); letter-spacing: -.01em; text-transform: none; }
.topline .rvl-lockup span { font-size: 15px; }
.topline .rvl-lockup .rvl-mark { width: 18px; height: 19px; }
footer.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* Story reader */
dialog.reader { width: min(820px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain; border: 2px solid var(--ink); background: var(--grain), var(--paper); color: var(--ink); padding: 0; }
dialog.reader[open] { animation: rise .32s cubic-bezier(.2, .8, .2, 1); }
dialog.reader::backdrop { background: rgba(22, 22, 22, .55); animation: fadein .3s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
.reader-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 8px 30px; background: var(--grain), var(--paper); border-bottom: 1px solid var(--ink); }
.reader-close, .reader-share { min-height: 40px; padding: 0 14px; border: 1px solid var(--ink); background: var(--paper-light); font: 700 14px/1 var(--ui); cursor: pointer; white-space: nowrap; }
.reader-close { border: 0; background: none; padding-left: 0; }
.reader-close:hover, .reader-share:hover { color: var(--red); }
.reader-bar:not(.scrolled) .reader-where { opacity: 0; }
.reader-where { transition: opacity .2s; flex: 1; min-width: 0; text-align: center; font: 700 13px/1.2 var(--ui); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reader-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; }
.reader-inner { padding: 22px 30px 34px; }
.reader h2 { margin: 10px 0 0; font: 900 38px/1.08 var(--head); }
.reader h4 { margin: 18px 0 4px; font: 800 14px/1.2 var(--ui); letter-spacing: .06em; text-transform: uppercase; }
.reader p { margin: 0; }
.reader .deck { margin-top: 12px; }
.reader .ba { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.reader ul { margin: 6px 0 0; padding-left: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chips span { font: 600 14px/1 var(--ui); border: 1px solid var(--ink); padding: 5px 8px; }

/* Gentle reveal while scrolling. Only added by script, and never with reduced motion. */
.rv { opacity: 0; transform: translateY(12px); transition: opacity .55s ease-out, transform .55s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  dialog.reader[open], dialog.reader::backdrop, .sections.stuck .mini-mast { animation: none; }
}

/* Smaller screens */
@media (max-width: 1100px) {
  .front { grid-template-columns: minmax(0, 1fr) 290px; }
  .col-left { order: 3; grid-column: 1 / -1; border-right: 0; border-top: 2px solid var(--ink); margin-top: 22px; padding: 12px 0 0; }
  .col-main { padding-left: 0; }
  .guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide > * { border-bottom: 1px solid var(--rule-soft); }
  .guide > :first-child { grid-column: 1 / -1; border-right: 0; }
  .history-head { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  html { scroll-padding-top: 72px; }
  body { font-size: 17px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }

  /* Top of the page */
  .topline { display: grid; grid-template-columns: 1fr auto; align-items: center; font-size: 12px; row-gap: 4px; }
  .topline .live { grid-column: 1 / -1; order: 3; font-size: 11px; color: var(--ink-soft); }
  .masthead { padding: 18px 0 8px; }
  .masthead h1 { font-size: clamp(40px, 12vw, 52px); line-height: .98; }
  .tagline { font-size: 16px; margin-top: 8px; }
  .guide { display: block; border-bottom: 0; }
  .guide > a { display: none; }
  .guide > :first-child { padding: 10px 0 12px; border: 0; text-align: center; }
  .guide > :first-child .label { display: none; }
  .guide > :first-child p { font-size: 14px; font-family: var(--ui); color: var(--ink-soft); margin: 0; }

  /* Sticky section bar: tabs scroll sideways, filters live in a sheet */
  .sections { flex-wrap: nowrap; gap: 8px; margin: 0 -16px; padding: 8px 16px; border-top: 1px solid var(--ink); transition: transform .28s ease; }
  body.tuck .sections { transform: translateY(-110%); }
  .sections > .label, .sections .sep, .newpill, .sections.stuck .mini-mast { display: none; }
  .tabs { display: flex; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; gap: 2px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { min-height: 38px; padding: 0 11px; font-size: 15px; }
  .filter-btn { display: inline-flex; flex: none; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border: 1px solid var(--ink); background: var(--paper-light); font: 700 15px/1 var(--ui); cursor: pointer; }
  .filter-btn span { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--red); color: #fff; font-size: 12px; }
  .filters { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; max-height: 82vh; overflow-y: auto; background: var(--grain), var(--paper-light); border-top: 3px solid var(--ink); padding: 14px 16px calc(20px + env(safe-area-inset-bottom)); transform: translateY(105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); visibility: hidden; }
  body.sheet-open .filters { transform: none; visibility: visible; }
  body.sheet-open .sections { z-index: 46; transform: none; }
  .sheet-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--ink); }
  .sheet-head .linkbtn { font-size: 16px; padding: 8px 0; }
  .sheet-shade { display: block; position: fixed; inset: 0; z-index: 44; background: rgba(22, 22, 22, .45); animation: fadein .25s ease-out; }
  .filters .stack summary { display: none; }
  .filters .stack-panel { position: static; width: auto; border: 0; box-shadow: none; padding: 0; background: none; }
  .filters .stack-panel label { min-height: 40px; }
  .filters .toggle { display: flex; margin: 6px 0 0; padding-top: 8px; border-top: 1px solid var(--rule-soft); }
  .filters .search { display: block; width: 100%; margin: 10px 0 0; min-height: 46px; font-size: 16px; }
  .stack-actions { padding-top: 4px; }
  .filters [data-stack="done"] { display: none; }

  /* Bottom dock */
  .dock { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--grain), var(--paper); border-top: 2px solid var(--ink); padding-bottom: env(safe-area-inset-bottom); }
  .dock a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; text-decoration: none; color: var(--ink-soft); font: 700 11px/1 var(--ui); letter-spacing: .05em; text-transform: uppercase; }
  .dock a.on { color: var(--ink); }
  .dock a.on::before { content: ""; position: absolute; top: -2px; left: 22%; right: 22%; height: 3px; background: var(--ink); }
  .dock svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .dock-n { position: absolute; top: 6px; left: calc(50% + 8px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; line-height: 18px; text-align: center; letter-spacing: 0; }

  /* Front page as one column: lead, deadlines, briefs, decisions */
  .front { grid-template-columns: 1fr; margin-top: 16px; }
  .col-main { order: 1; padding: 0; }
  .col-right { display: contents; }
  .notices { order: 2; margin-top: 22px; }
  .col-left { order: 3; border: 0; border-top: 3px double var(--ink); margin-top: 26px; padding: 12px 0 0; }
  #decisions { order: 4; margin-top: 26px; }
  .col-right > section[aria-labelledby="takeHead"] { order: 5; margin-top: 26px; }
  .corrections { order: 6; margin-top: 22px; }
  .lead > .label { font-size: 12px; line-height: 1.7; }
  .lead h2 { font-size: 32px; line-height: 1.08; margin-top: 8px; }
  .deck { font-size: 19px; margin-top: 10px; }
  .byline { font-size: 13px; gap: 4px 12px; }
  .lead-body { display: block; margin-top: 14px; }
  .lb-changed, .lb-design { display: none; }
  .lead .linkrow { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 16px; }
  .lead .read-btn { grid-column: 1 / -1; justify-content: center; width: 100%; }
  .lead .linkrow .push { margin: 0; }
  .can-share .share-wide { display: none; }
  .phone-only { display: block !important; }
  .headlines { display: none; }
  .brief { padding: 14px 0; }
  .brief h3 { font-size: 21px; }
  .brief p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15.5px; }
  .more-btn { width: 100%; margin-top: 10px; }
  .more-stories, .watchbox, .all-stories { display: none; }
  .archive-list .brief { grid-template-columns: 1fr; gap: 4px; }

  /* History as a vertical rail with sticky years */
  .timeline-scroll, .howto { display: none; }
  .history { margin-top: 30px; }
  .history-head h2 { font-size: 34px; }
  .history-head p { font-size: 16px; }
  .phone-hint { display: block; font-size: 15px; }
  .history-list { display: block; margin-top: 8px; }
  .history-list summary { position: sticky; top: 0; z-index: 2; background: var(--grain), var(--paper); border-bottom: 1px solid var(--ink); font-family: var(--head) !important; font-weight: 900 !important; font-size: 24px !important; transition: top .28s ease; }
  body:not(.tuck) .history-list summary { top: 55px; }
  .history-list button { position: relative; border: 0; padding: 10px 0 10px 26px; }
  .history-list button::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; border-left: 1px solid var(--rule-soft); }
  .history-list .mk { position: absolute; left: 0; top: 16px; z-index: 1; margin: 0; box-shadow: 0 0 0 3px var(--paper); }
  .history-list .mk.watch { background: var(--paper); border-style: dotted; }
  .history-list button > span:last-child { font: 700 18px/1.28 var(--head); }
  .history-list small { font-family: var(--ui); font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 3px; }
  .history-foot { grid-template-columns: 1fr; }
  .history-foot > :first-child { display: none; }
  .history-foot > :last-child { padding-left: 0; }

  .survey { grid-template-columns: 1fr; }
  footer.foot { flex-direction: column; }

  /* Story reader fills the screen */
  dialog.reader { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border: 0; }
  dialog.reader[open] { animation: slideup .34s cubic-bezier(.2, .8, .2, 1); }
  @keyframes slideup { from { transform: translateY(100%); } }
  .reader-bar { padding: 6px 16px; padding-top: max(6px, env(safe-area-inset-top)); }
  .reader-close .wide { display: none; }
  .reader-close { font-size: 16px; }
  .reader-inner { padding: 18px 18px calc(40px + env(safe-area-inset-bottom)); }
  .reader h2 { font-size: 30px; }
  .reader .deck { font-size: 19px; }
  .reader .ba { grid-template-columns: 1fr; gap: 0; }
}
@media print {
  .sections, .survey, .takeaway, .linkrow .push, .dock { display: none; }
  body { background: #fff; }
  body::before { display: none; }
}
