/* ═══════════════════════════════════════════════════════════════════════════
   FAULTLINE JOURNAL — reader site (white news design, 2026-10-29)
   Loaded only by reader pages (src/views/public/shell.ts). Admin keeps style.css.
   Ink #111 on white, hairlines #e5e5e5, brand green #1A4731, red #C8102E only for
   Breaking/Live. Headlines Source Serif 4, UI Inter, tabular numbers.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --ink: #111111;
  --ink-2: #2a2a2a;
  --muted: #555555;
  --muted-2: #767676;
  --rule: #e5e5e5;
  --rule-2: #d9d9d9;
  --rule-3: #c4c4c4;
  --bg: #ffffff;
  --bg-soft: #f6f6f3;
  --bg-soft-2: #ecebe6;
  --brand: #1a4731;
  --brand-2: #12331f;
  --brand-tint: #eaf2ed;
  --red: #c8102e;
  --amber: #7a4f00;
  --amber-fill: #d6a03c;
  --amber-tint: #fbf2df;
  --contested: #5a3589;
  --contested-fill: #7a56ab;
  --contested-tint: #f1ecf8;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1280px;
  --gutter: 16px;
  --sticky-h: 52px;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1200px) { :root { --gutter: 32px; } }

/* ── base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--sticky-h) + 12px); }
body.site {
  margin: 0; background: #fff; color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  font-variant-numeric: tabular-nums lining-nums;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
main:focus { outline: none; }
::selection { background: #d9e8de; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 8px; }
h1, h2, h3, h4 { margin: 0; }
.empty { color: var(--muted); font: 400 15px/1.5 var(--sans); margin: 8px 0 24px; }
.empty a, .note a { color: var(--brand); }
.note { font: 400 13.5px/1.55 var(--sans); color: var(--muted); margin: 20px 0 0; }
.dot { color: var(--rule-3); }

.container { width: 100%; max-width: var(--maxw); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container-narrow { max-width: calc(720px + 2 * var(--gutter)); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container.container-mid { max-width: calc(920px + 2 * var(--gutter)); margin-left: 0; }
@media (min-width: 1280px) { .container.container-mid { margin-left: calc((100% - var(--maxw)) / 2); } }

/* ── type ─────────────────────────────────────────────────────────────────── */
.hl { font-family: var(--serif); font-weight: 600; color: var(--ink); letter-spacing: -0.005em; font-optical-sizing: auto; }
.hl a { text-decoration: none; }
.hl a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hl-xxl { font-size: clamp(30px, 4.1vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -0.016em; }
.hl-xl { font-size: clamp(26px, 2.75vw, 36px); line-height: 1.1; font-weight: 700; letter-spacing: -0.012em; }
.hl-l { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; font-weight: 700; }
.hl-m { font-size: 20px; line-height: 1.22; }
.hl-s { font-size: 17px; line-height: 1.28; }
.kicker {
  margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px;
  font: 700 12px/1.35 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand);
}
.kicker a { color: inherit; text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.kicker-sub { color: var(--muted); font-weight: 600; }
.kicker-sub::before { content: "·"; margin-right: 8px; color: var(--rule-3); }
.kicker-live { color: var(--red); }
.kicker-live .pulse { margin-right: 2px; }
.dek { margin: 8px 0 0; font: 400 17px/1.45 var(--serif); color: #333; }
.dek-sm { font-size: 15.5px; line-height: 1.42; }
.standfirst { margin: 12px 0 0; font: 400 clamp(18px, 1.7vw, 21px)/1.45 var(--serif); color: #333; }
.standfirst a { color: var(--brand); }
.meta { font: 400 13px/1.4 var(--sans); color: var(--muted-2); margin: 6px 0 0; }
.receipts { margin: 8px 0 0; font: 500 13px/1.45 var(--sans); color: var(--muted); }
.via { margin: 6px 0 0; font: 600 13px/1.4 var(--sans); color: var(--ink-2); }
.via-type { margin-left: 4px; padding: 1px 7px; border: 1px solid var(--rule-2); border-radius: 999px; font-size: 11.5px; font-weight: 500; color: var(--muted); white-space: nowrap; }

/* ── buttons, chips, tags ─────────────────────────────────────────────────── */
.btn, .btn-ghost, .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 8px 16px; border-radius: 4px; border: 1px solid var(--brand);
  background: var(--brand); color: #fff; font: 600 14px/1.2 var(--sans); text-decoration: none; cursor: pointer;
}
.btn:hover, .btn-primary:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn-ghost, .btn.btn-ghost { background: #fff; color: var(--ink); border-color: var(--rule-3); }
.btn-ghost:hover, .btn.btn-ghost:hover { background: var(--bg-soft); border-color: var(--ink); }
.btn-sm { min-height: 30px; padding: 4px 12px; font-size: 13px; }
.btn:disabled { opacity: .6; cursor: default; }
.tag { display: inline-block; padding: 4px 10px; border: 1px solid var(--rule-3); border-radius: 999px; font: 500 13px/1.3 var(--sans); color: var(--ink-2); text-decoration: none; }
a.tag:hover { border-color: var(--ink); }
.ochip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border: 1px solid var(--rule-2); border-radius: 3px; background: #fff; font: 600 12px/1.6 var(--sans); color: var(--ink); white-space: nowrap; }
.ochip-type { font-weight: 500; color: var(--muted-2); }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: fj-pulse 1.6s ease-in-out infinite; flex: none; }
@keyframes fj-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.82); } }

/* tiers */
.tier { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font: 600 12px/1.5 var(--sans); white-space: nowrap; }
.tier::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.tier-confirmed { background: var(--brand-tint); color: var(--brand); }
.tier-single { background: var(--amber-tint); color: var(--amber); }
.tier-contested { background: var(--contested-tint); color: var(--contested); }
.tier-retracted { background: #efefef; color: #595959; text-decoration: line-through; }
.tier-neutral { background: #efefef; color: #474747; }
.tierbar { display: flex; gap: 2px; height: 4px; margin: 10px 0 0; }
.tierbar span { display: block; height: 100%; min-width: 4px; border-radius: 1px; }
.tierbar-empty { background: var(--rule); border-radius: 1px; }
.tb-confirmed { background: var(--brand); }
.tb-contested { background: var(--contested-fill); }
.tb-single { background: var(--amber-fill); }

/* ── shell: top bar ───────────────────────────────────────────────────────── */
.topbar { border-bottom: 1px solid var(--rule); font: 500 12.5px/1 var(--sans); color: var(--muted); }
.topbar-row { display: flex; align-items: center; gap: 18px; min-height: 38px; }
.topbar-live { display: inline-flex; align-items: center; gap: 7px; color: var(--red); font-weight: 700; text-decoration: none; }
.topbar-live:hover { text-decoration: underline; }
.topbar-gap { flex: 1; }
.topbar-link { color: var(--ink-2); text-decoration: none; }
.topbar-link:hover { text-decoration: underline; }
@media (max-width: 599px) {
  .topbar-date, .topbar-link { display: none; }
  .topbar-row { gap: 12px; }
}

/* ── shell: masthead ──────────────────────────────────────────────────────── */
.mast { background: #fff; border-bottom: 1px solid var(--ink); }
.mast-row { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; flex: none; }
.brand-mark { display: block; border-radius: 3px; }
.brand-word { font: 700 30px/1 var(--serif); letter-spacing: -0.022em; white-space: nowrap; }
.brand-sm .brand-word { font-size: 20px; letter-spacing: -0.015em; }
.nav { display: flex; align-items: center; margin-left: auto; }
.nav-link { padding: 10px 9px 8px; font: 600 14.5px/1 var(--sans); color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-link:hover { border-bottom-color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }
.mast-tools { display: flex; align-items: center; gap: 2px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; min-height: 40px; padding: 0 8px; border: 0; border-radius: 4px; background: none; color: var(--ink); font: 600 14px/1 var(--sans); text-decoration: none; cursor: pointer; }
.icon-btn:hover { background: var(--bg-soft); }
.navstrip { display: none; }
@media (max-width: 1199px) {
  .nav { display: none; }
  .mast-tools { margin-left: auto; }
  .navstrip { display: block; border-top: 1px solid var(--rule); }
  .navstrip-row { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; -webkit-overflow-scrolling: touch; }
  .navstrip-row::-webkit-scrollbar { display: none; }
  .navstrip-link { padding: 12px 10px 10px; font: 600 14px/1 var(--sans); color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
  .navstrip-link:first-child { padding-left: 0; }
  .navstrip-link[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }
}
@media (max-width: 599px) {
  .mast-row { min-height: 60px; gap: 10px; }
  .brand-word { font-size: 23px; }
  .brand-lg .brand-mark { width: 32px; height: 32px; }
  .menu-label { display: none; }
}

/* sticky compact header */
.stickyhead { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--ink); transform: translateY(-105%); transition: transform .18s ease; }
.stickyhead.is-on { transform: none; }
.stickyhead-row { display: flex; align-items: center; gap: 16px; min-height: var(--sticky-h); }
.stickyhead-ctx { flex: 1; min-width: 0; padding-left: 16px; border-left: 1px solid var(--rule-2); font: 600 15px/1.2 var(--serif); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stickyhead-ctx:empty { border-left: 0; }
.stickyhead-live { display: inline-flex; align-items: center; gap: 7px; color: var(--red); font: 700 13px/1 var(--sans); text-decoration: none; white-space: nowrap; }
@media (max-width: 599px) {
  .stickyhead .brand-word, .hide-sm { display: none; }
  .stickyhead-ctx { padding-left: 0; border-left: 0; font-size: 14px; }
}

/* menu panel */
.menu { position: fixed; inset: 0; z-index: 80; background: #fff; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 64px; border-bottom: 1px solid var(--ink); }
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; padding-top: 24px; padding-bottom: 48px; }
.menu-search { grid-column: 1 / -1; display: flex; gap: 8px; max-width: 640px; }
.menu-search input, .search-form input, .error-search input {
  flex: 1; min-width: 0; min-height: 46px; padding: 10px 14px; border: 1px solid #8a8a8a; border-radius: 4px; background: #fff; color: var(--ink); font: 400 17px/1.3 var(--sans);
}
.menu-h { font: 700 12px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; padding-top: 10px; border-top: 2px solid var(--ink); }
.menu-col ul { list-style: none; margin: 0; padding: 0; }
.menu-col a { display: flex; align-items: center; gap: 8px; padding: 8px 0; font: 600 17px/1.3 var(--serif); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.menu-col a:hover { text-decoration: underline; }
.menu-live { color: var(--red) !important; }
@media (max-width: 767px) { .menu-grid { grid-template-columns: 1fr; } }

/* footer */
.foot { margin-top: 56px; border-top: 3px solid var(--ink); background: var(--bg-soft); padding: 36px 0 24px; font: 400 14px/1.5 var(--sans); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-bottom: 22px; border-bottom: 1px solid var(--rule-2); }
.foot-tag { margin: 0; color: var(--muted); max-width: 620px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 24px 0; }
.foot-cols nav { display: flex; flex-direction: column; gap: 7px; }
.foot-h { font: 700 12px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin: 0 0 4px; }
.foot-cols a { color: var(--ink-2); text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-top: 16px; border-top: 1px solid var(--rule-2); color: var(--muted); font-size: 13px; }
.foot-bottom p { margin: 0; }
@media (max-width: 599px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-cols nav:last-child { grid-column: 1 / -1; } }

/* ── images ───────────────────────────────────────────────────────────────── */
.fig { position: relative; margin: 0; overflow: hidden; background: var(--bg-soft-2); }
.fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.r-16x9 { aspect-ratio: 16 / 9; }
.r-3x2 { aspect-ratio: 3 / 2; }
.r-4x3 { aspect-ratio: 4 / 3; }
.r-1x1 { aspect-ratio: 1 / 1; }
.fig.ph::after {
  content: attr(data-label); position: absolute; left: 10px; right: 10px; bottom: 9px;
  font: 700 10.5px/1.25 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #5c5c57;
}
.fig.ph .credit-ov { display: none; }
.credit-ov { position: absolute; right: 0; bottom: 0; z-index: 1; padding: 4px 6px; background: rgba(17, 17, 17, .64); color: #fff; font: 500 10.5px/1 var(--sans); letter-spacing: .01em; }
.credit { margin: 6px 0 0; font: 400 12px/1.4 var(--sans); color: var(--muted-2); }
.credit a { color: inherit; text-decoration: underline; position: relative; z-index: 2; }
.caption { margin: 4px 0 0; font: 400 13px/1.45 var(--sans); color: var(--muted); }

/* ── story cards ──────────────────────────────────────────────────────────── */
.story { position: relative; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.story a:not(.stretch) { position: relative; z-index: 2; }
.story-media { margin: 0 0 12px; }
.story-lead .dek { font-size: 18.5px; }
.story-sec .fig { margin: 0 0 10px; }
.story-row { padding: 12px 0; border-top: 1px solid var(--rule); }
.story-row .kicker { font-size: 11px; margin-bottom: 4px; }
.story-row .meta { margin-top: 4px; }
.story-card .fig { margin: 0 0 12px; }
.story-live .kicker { color: var(--red); }
.story-live { border-top: 3px solid var(--red); padding-top: 12px; }
.story-list { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.story-list .kicker { font-size: 11px; }
.story-thumb { width: 180px; }
.list { border-top: 1px solid var(--rule); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px 28px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1023px) { .cards-3, .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .story-sec { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; align-items: start; }
  .story-sec .fig { grid-column: 2; grid-row: 1; margin: 0; }
  .story-sec .story-body { grid-column: 1; grid-row: 1; }
  .story-sec .dek, .story-sec .tierbar { display: none; }
  .story-sec .hl-m { font-size: 18px; }
  .cards-3, .cards-4 { grid-template-columns: 1fr; gap: 0; }
  .cards-3 > .story, .cards-4 > .story { padding: 16px 0; border-top: 1px solid var(--rule); }
  .cards-grid { grid-template-columns: 1fr; gap: 28px; }
  .story-list { grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; }
  .story-thumb { width: 104px; }
  .story-list .dek { display: none; }
}

/* section heads */
.sh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 0 0 16px; padding-top: 10px; border-top: 2px solid var(--ink); }
.sh-title { font: 700 21px/1.2 var(--serif); letter-spacing: -0.005em; }
.sh-title a { text-decoration: none; }
.sh-title a:hover { text-decoration: underline; }
.sh-sub { order: 3; flex-basis: 100%; margin: 0; font: 400 14px/1.45 var(--sans); color: var(--muted); }
.sh-more { margin-left: auto; font: 600 13.5px/1.2 var(--sans); color: var(--brand); text-decoration: none; white-space: nowrap; }
.sh-more:hover { text-decoration: underline; }
.sh-sm .sh-title { font-size: 18px; }

/* ── home: breaking ───────────────────────────────────────────────────────── */
.breaking { background: var(--red); color: #fff; }
.breaking-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; min-height: 54px; padding-top: 10px; padding-bottom: 10px; }
.breaking-label { flex: none; padding: 6px 8px; border-radius: 2px; background: #fff; color: var(--red); font: 800 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.breaking-hl { flex: 1 1 420px; font: 700 19px/1.3 var(--serif); color: #fff; text-decoration: none; }
.breaking-hl:hover { text-decoration: underline; }
.breaking-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font: 500 13px/1.3 var(--sans); }
.breaking-chip { padding: 2px 9px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 999px; font-weight: 600; }
.breaking-more { opacity: .92; }

/* home: following rail */
.following { padding: 14px 0 0; }
.sh-rail { margin-bottom: 10px; padding-top: 8px; }
.sh-rail .sh-title { font-size: 18px; }
.rail-ctrl { display: none; gap: 6px; margin-left: auto; }
.js .rail-ctrl { display: flex; }
.js .sh-rail .sh-more { margin-left: 10px; }
.rail-btn { width: 30px; height: 30px; border: 1px solid var(--rule-3); border-radius: 50%; background: #fff; color: var(--ink); font: 600 17px/1 var(--sans); cursor: pointer; }
.rail-btn:hover { border-color: var(--ink); }
.rail { display: flex; gap: 12px; margin: 0; padding: 0 0 10px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--rule-3) transparent; }
.rail.rail-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); overflow: visible; }
.tile { flex: 0 0 300px; display: flex; scroll-snap-align: start; }
.tile-link { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 11px; width: 100%; padding: 10px; border: 1px solid var(--rule); border-top: 3px solid var(--ink); background: #fff; color: inherit; text-decoration: none; }
.tile-link:hover { border-color: var(--rule-3); border-top-color: var(--ink); }
.tile-link:hover .tile-title { text-decoration: underline; }
.tile-live .tile-link, .tile-live .tile-link:hover { border-top-color: var(--red); }
.tile-fig { width: 76px; height: 76px; }
.tile-live .fig.ph, .story-live .fig.ph { background: #fbe9ec; }
.tile-live .fig.ph::after, .story-live .fig.ph::after { color: var(--red); }
.tile-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tile-kicker { font: 700 11px/1.25 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.tile-kicker-live { display: inline-flex; align-items: center; gap: 6px; color: var(--red); }
.tile-kicker-live .pulse { width: 7px; height: 7px; }
.tile-title { font: 700 16px/1.2 var(--serif); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-text { font: 400 13px/1.35 var(--sans); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile .tierbar { margin: 5px 0 1px; }
.tile-meta { margin-top: auto; padding-top: 2px; font: 500 12px/1.3 var(--sans); color: var(--muted-2); }
@media (max-width: 599px) { .tile { flex-basis: 84%; } }
@media (max-width: 767px) { .js .rail-ctrl { display: none; } .js .sh-rail .sh-more { margin-left: auto; } }

/* home: top stories */
.top { padding: 18px 0 8px; }
.top-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 0 32px; }
.top-grid > * { position: relative; min-width: 0; }
.top-sec::before, .top-latest::before { content: ""; position: absolute; top: 0; bottom: 0; left: -16px; border-left: 1px solid var(--rule); }
.top-sec .story-sec + .story-sec { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rule); }
.top-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.top-row > * { position: relative; min-width: 0; }
.top-row > * + *::before { content: ""; position: absolute; top: 0; bottom: 0; left: -16px; border-left: 1px solid var(--rule); }
.top-row .hl-m { font-size: 18px; }
.latest { list-style: none; margin: 0; padding: 0; }
.latest-item { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid var(--rule); }
.latest-item:first-child { padding-top: 0; border-top: 0; }
.latest-time { font: 600 12px/1.3 var(--sans); color: var(--muted-2); }
.latest-link { font: 400 15px/1.38 var(--serif); color: var(--ink); text-decoration: none; }
.latest-link:hover .latest-text { text-decoration: underline; }
.latest-kicker { display: block; font: 700 11px/1.3 var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--brand); }
@media (min-width: 768px) and (max-width: 1099px) {
  .top-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .top-lead { grid-column: 1 / -1; margin-bottom: 26px; }
  .story-lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .story-lead .story-media { margin: 0; }
  .top-sec::before { display: none; }
  .top-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
  .top-row > *:nth-child(odd)::before { display: none; }
}
@media (max-width: 767px) {
  .top { padding-top: 14px; }
  .top-grid { display: block; }
  .story-lead .story-media { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .story-lead .credit { padding: 0 var(--gutter); }
  .top-sec, .top-latest { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); }
  .top-sec::before, .top-latest::before, .top-row > * + *::before { display: none; }
  .top-latest .sh { border-top: 0; padding-top: 0; }
  .top-row { display: block; margin-top: 0; padding-top: 0; border-top: 0; }
  .top-row > * { padding: 16px 0; border-top: 1px solid var(--rule); }
}

/* home: section blocks */
.secblocks { padding: 36px 0 8px; }
.secblocks-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.secblock { min-width: 0; }
.secblock > .story-sec { padding-bottom: 6px; }
.secblock .hl-m { font-size: 18px; }
@media (max-width: 1099px) { .secblocks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; } }
@media (max-width: 599px) { .secblocks-grid { grid-template-columns: 1fr; } }

/* home: how the world tells it */
.tellit { margin: 44px 0 0; padding: 34px 0 38px; background: var(--bg-soft); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.tellit-head { max-width: 780px; margin: 0 0 20px; }
.tellit-sub { margin: 8px 0 0; font: 400 15px/1.5 var(--sans); color: var(--muted); }
.tellit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tellit-grid.tellit-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tellit-foot { margin: 20px 0 0; font: 600 14px/1.3 var(--sans); }
.tellit-foot a { color: var(--brand); text-decoration: none; }
.tellit-foot a:hover { text-decoration: underline; }
@media (max-width: 899px) { .tellit-grid, .tellit-grid.tellit-2 { grid-template-columns: 1fr; } }
.bloc { min-width: 0; padding: 16px 18px; background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--ink); }
.bloc-label { font: 700 18px/1.2 var(--serif); margin: 0 0 8px; }
.bloc-outlets { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.bloc-summary { margin: 0 0 12px; font: 400 16px/1.5 var(--serif); color: var(--ink-2); }
.bloc-framings { margin: 0 0 12px; padding: 0; list-style: none; font: 400 15.5px/1.45 var(--serif); color: var(--ink-2); }
.bloc-framings li { padding: 7px 0; border-top: 1px solid var(--rule); }
.bloc-framings li:first-child { padding-top: 0; border-top: 0; }
.bloc-hls { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--rule); }
.bloc-hls li { display: flex; flex-direction: column; gap: 1px; padding: 5px 0; }
.bloc-hl { font: 600 14.5px/1.35 var(--sans); color: var(--ink); text-decoration: none; }
.bloc-hl:hover { text-decoration: underline; }
.bloc-hls .meta { margin: 0; font-size: 12px; }
.ext { margin-left: 4px; vertical-align: 0; opacity: .55; flex: none; }

/* home: wire */
.wire-mini { padding: 38px 0 0; }
.wire-list { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 40px; }
.wire-row { break-inside: avoid; display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 1px 12px; padding: 10px 0; border-top: 1px solid var(--rule); }
.wire-time { grid-row: 1 / 3; font: 500 12.5px/1.4 var(--sans); color: var(--muted-2); }
.wire-src { font: 700 11px/1.35 var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--brand); }
.wire-title { font: 400 15.5px/1.38 var(--serif); color: var(--ink); text-decoration: none; }
a.wire-title:hover { text-decoration: underline; }
@media (max-width: 767px) { .wire-list { columns: 1; } }

/* home: newsletter */
.nl-band { margin-top: 48px; padding: 30px 0; background: var(--brand-tint); }
.nl-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; align-items: center; }
.nl-h { font: 700 26px/1.15 var(--serif); }
.nl-sub { margin: 6px 0 0; color: var(--ink-2); }
.nl-form { display: flex; flex-wrap: wrap; gap: 8px; }
.nl-form input { flex: 1 1 220px; min-height: 44px; padding: 10px 12px; border: 1px solid #8a8a8a; border-radius: 4px; background: #fff; font: 400 16px/1.2 var(--sans); }
.nl-form .btn { min-height: 44px; }
.nl-msg { flex-basis: 100%; min-height: 1.2em; margin: 0; font: 500 13.5px/1.4 var(--sans); }
.nl-band + .foot { margin-top: 0; }
@media (max-width: 767px) { .nl-row { grid-template-columns: 1fr; } }

/* ── page heads, lists, pagination, tabs ──────────────────────────────────── */
.page-head { padding-top: 28px; margin-bottom: 26px; }
.page-head::after, .static-hero::after { content: ""; display: block; margin-top: 22px; border-bottom: 1px solid var(--rule); }
.page-head .standfirst { max-width: 780px; }
.stories-block { margin-bottom: 40px; }
.section-following, .section-lead { margin-bottom: 32px; }
.section-lead .story-lead { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.section-lead .story-media { margin: 0; }
@media (max-width: 767px) { .section-lead .story-lead { display: block; } .section-lead .story-media { margin-bottom: 14px; } }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 32px 0 0; padding-top: 16px; border-top: 1px solid var(--rule); }
.pager-info { font: 500 14px/1.2 var(--sans); color: var(--muted); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.tab { padding: 6px 12px; border: 1px solid var(--rule-3); border-radius: 999px; font: 600 13px/1.3 var(--sans); color: var(--ink); text-decoration: none; }
.tab:hover { border-color: var(--ink); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; font: 500 13px/1.3 var(--sans); color: var(--muted-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* wire desk */
.wire-full { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.wire-full-item { display: grid; grid-template-columns: 92px 170px minmax(0, 1fr); grid-template-areas: "time src title" "time cat title"; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.wire-full-item .wire-time { grid-area: time; }
.wire-full-item .wire-src { grid-area: src; }
.wire-full-item .wire-cat { grid-area: cat; font: 500 12px/1.3 var(--sans); color: var(--muted-2); }
.wire-full-item .wire-title { grid-area: title; font-size: 16.5px; }
@media (max-width: 699px) {
  .wire-full-item { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "src time" "title title"; }
  .wire-full-item .wire-cat { display: none; }
  .wire-full-item .wire-time { text-align: right; }
}

/* search, contributor, voices */
.search-form, .error-search { display: flex; gap: 8px; max-width: 640px; margin: 16px 0 0; }
.search-count { margin: 12px 0 0; font: 500 14px/1.3 var(--sans); color: var(--muted); }
.search-stories { margin-bottom: 32px; }
.profile { display: flex; gap: 24px; padding-top: 28px; padding-bottom: 8px; margin-bottom: 26px; }
.profile-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.profile-bio { max-width: 720px; margin-top: 14px; font: 400 17px/1.6 var(--serif); color: var(--ink-2); }
.profile-links { display: flex; flex-wrap: wrap; gap: 16px; font: 600 14px/1.3 var(--sans); }
.profile-links a { color: var(--brand); }
@media (max-width: 599px) { .profile { flex-direction: column; } }
.voices-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
.source-list { list-style: none; margin: 0; padding: 0; }
.source-list li { display: flex; flex-direction: column; padding: 10px 0; border-top: 1px solid var(--rule); }
.source-name { font: 700 15px/1.3 var(--sans); }
.source-list .meta { margin: 2px 0 0; }
@media (max-width: 1023px) { .voices-grid { grid-template-columns: 1fr; } }

/* ── situation page ───────────────────────────────────────────────────────── */
.sit-head { padding: 0 0 26px; margin: 0 0 28px; border-bottom: 1px solid var(--rule); }
.sit-head .hl-xxl { max-width: 900px; }
.sit-head .standfirst { max-width: 820px; }
.sit-updated { margin: 14px 0 0; font: 400 14px/1.5 var(--sans); color: var(--muted); }
.sit-updated strong { color: var(--ink); font-weight: 600; }
.top-report { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; max-width: 840px; margin: 16px 0 0; padding: 10px 14px; border-left: 3px solid var(--ink); background: var(--bg-soft); }
.top-report-label { font: 700 11px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.top-report-link { font: 600 16px/1.35 var(--serif); color: var(--ink); text-decoration: none; }
a.top-report-link:hover { text-decoration: underline; }
.top-report .meta { margin: 0; }
.sit-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.region-note { margin: 12px 0 0; font: 500 13.5px/1.4 var(--sans); color: var(--muted); }
.sit-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 22px; }
.sit-main { min-width: 0; }
.sit-hero { max-width: 760px; margin: 0 0 36px; }
.sit-sec { margin: 0 0 44px; }
.sit-end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 20px; border-top: 2px solid var(--ink); }
.sit-end .receipts { margin: 0; }
@media (max-width: 1023px) { .sit-grid { grid-template-columns: 1fr; gap: 8px; } }

.changes { margin: 0; padding: 0; list-style: none; }
.change { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); }
.change:first-child { border-top: 0; padding-top: 2px; }
.change-time { font: 700 13px/1.6 var(--sans); color: var(--ink); }
.change-body { font: 400 16px/1.45 var(--serif); color: var(--ink-2); }
.change-body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-3); text-underline-offset: 3px; }
.change-body a:hover { text-decoration-color: var(--ink); }
.change-body .meta { display: inline; margin: 0 0 0 6px; font-size: 12px; }
.change-kind { margin-right: 6px; font: 700 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.change-edit_detected .change-kind { color: var(--amber); }
.more-changes > summary { padding: 10px 0; font: 600 14px/1.3 var(--sans); color: var(--brand); cursor: pointer; border-top: 1px solid var(--rule); }

.blocs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 767px) { .blocs { grid-template-columns: 1fr; } }

.tiergroup { margin: 0 0 26px; }
.tiergroup-h { display: flex; align-items: center; gap: 8px; font: 700 17px/1.3 var(--sans); }
.count { padding: 1px 8px; border-radius: 999px; background: var(--bg-soft-2); font: 600 12px/1.5 var(--sans); color: var(--muted); }
.tiergroup-note { margin: 2px 0 10px; font: 400 13.5px/1.45 var(--sans); color: var(--muted-2); }
.claims { border-top: 1px solid var(--rule); }
.claim { border-bottom: 1px solid var(--rule); }
.claim > summary { position: relative; display: block; padding: 12px 30px 12px 0; list-style: none; cursor: pointer; }
.claim > summary::-webkit-details-marker { display: none; }
.claim > summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 500 20px/1 var(--sans); color: var(--muted); }
.claim[open] > summary::after { content: "−"; }
.claim > summary:hover .claim-text { text-decoration: underline; text-decoration-color: var(--rule-3); }
.claim-text { display: block; font: 600 16.5px/1.4 var(--serif); color: var(--ink); }
.claim-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 6px; font: 400 13px/1.4 var(--sans); color: var(--muted-2); }
.claim-anchor { color: var(--muted-2); text-decoration: none; }
.claim-anchor:hover { color: var(--ink); }
.claim:target > summary, .claim.is-target > summary { background: #fff8db; }
.claim-retracted .claim-text, .claim-superseded .claim-text { text-decoration: line-through; color: var(--muted); }
.quotes { margin: 0 0 14px; padding: 0 0 0 14px; list-style: none; border-left: 2px solid var(--rule-2); }
.quote { padding: 8px 0; }
.quote blockquote { margin: 0; font: italic 400 16px/1.5 var(--serif); color: var(--ink-2); }
.quote-src { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 6px 0 0; font: 500 13px/1.35 var(--sans); color: var(--muted); }
.quote-stance { font-weight: 600; color: var(--ink-2); }
.quote-link { color: var(--brand); }
.quote-src .meta { margin: 0; }
.quotes-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.quotes-h { margin: 4px 0 6px; font: 700 12px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) { .quotes-split { grid-template-columns: 1fr; } }

.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.video { margin: 0; }
.yt, .video-link { position: relative; overflow: hidden; background: #111; }
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt-play { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; }
.yt-play:hover svg rect { fill: var(--red); fill-opacity: 1; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-title { margin: 8px 0 0; font: 600 15.5px/1.35 var(--serif); }
.video-meta { margin: 2px 0 0; font: 400 12.5px/1.3 var(--sans); color: var(--muted-2); }
@media (max-width: 599px) { .videos { grid-template-columns: 1fr; } }

.edits { margin: 0; padding: 0; list-style: none; }
.edit { padding: 14px 0; border-top: 1px solid var(--rule); }
.edit:first-child { border-top: 0; padding-top: 2px; }
.edit-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; font: 500 13px/1.3 var(--sans); color: var(--muted-2); }
.edit-line { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; margin: 4px 0; font: 400 16px/1.45 var(--serif); }
.edit-label { font: 700 11px/1.9 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.edit-summary { margin: 8px 0 0; font: 500 14px/1.45 var(--sans); color: var(--ink-2); }
.edit-src { margin: 6px 0 0; font: 500 13px/1.3 var(--sans); }
.edit-src a { color: var(--brand); }
del { background: #ededed; color: #4f4f4f; text-decoration: line-through; text-decoration-thickness: 1px; }
ins { background: var(--brand-tint); color: var(--brand); text-decoration: none; border-bottom: 1px solid var(--brand); }

.outlets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.outlet { min-width: 0; padding-top: 10px; border-top: 2px solid var(--ink); }
.outlet-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 700 17px/1.3 var(--sans); }
.outlet-name .ochip-type { padding: 1px 8px; border: 1px solid var(--rule-3); border-radius: 999px; font: 600 11.5px/1.5 var(--sans); color: var(--muted); }
.outlet-facts { margin: 4px 0 8px; font: 400 13px/1.45 var(--sans); color: var(--muted); }
.outlet-items { margin: 0; padding: 0; list-style: none; }
.outlet-items li { display: flex; flex-direction: column; gap: 1px; padding: 7px 0; border-top: 1px solid var(--rule); font: 400 15px/1.38 var(--serif); }
.outlet-items a { color: var(--ink); text-decoration: none; }
.outlet-items a:hover { text-decoration: underline; }
.outlet-items .meta { margin: 0; font-size: 12px; }
.gaps { margin-top: 26px; padding: 14px 16px; background: var(--bg-soft); }
.gaps-h { margin: 0 0 8px; font: 700 12px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.gaps-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.gaps-note { margin: 8px 0 0; font: 400 13px/1.45 var(--sans); color: var(--muted); }
@media (max-width: 767px) { .outlets { grid-template-columns: 1fr; } }
.desk-list { margin: 0; padding: 0; list-style: none; }
.desk-list li { display: flex; flex-direction: column; padding: 9px 0; border-top: 1px solid var(--rule); font: 600 16px/1.35 var(--serif); }
.desk-list a { color: var(--ink); text-decoration: none; }
.desk-list a:hover { text-decoration: underline; }
.desk-list .meta { margin: 2px 0 0; font-weight: 400; }

.sit-rail { display: flex; flex-direction: column; gap: 30px; min-width: 0; padding-top: 36px; }
.rail-h { margin: 0 0 10px; font: 700 17px/1.3 var(--serif); }
.glance { padding-top: 10px; border-top: 2px solid var(--ink); }
.glance-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 0 0 12px; }
.glance-dl dt { font: 600 11.5px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.glance-dl dd { margin: 2px 0 0; font: 600 15px/1.3 var(--sans); }
.tier-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; padding: 0; list-style: none; font: 500 12.5px/1.4 var(--sans); color: var(--muted); }
.sw { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 2px; vertical-align: -1px; }
.sw-confirmed { background: var(--brand); }
.sw-contested { background: var(--contested-fill); }
.sw-single { background: var(--amber-fill); }
.explainer-cta { padding: 16px; border: 1px solid var(--rule); border-top: 3px solid var(--brand); }
.explainer-cta p:not(.kicker) { margin: 0 0 14px; font: 400 14.5px/1.5 var(--sans); color: var(--muted); }
.minis { margin: 0 0 10px; padding: 0; list-style: none; }
.mini-link { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); color: inherit; text-decoration: none; }
.mini-fig { width: 64px; height: 64px; }
.mini-fig.ph::after { font-size: 9px; left: 6px; right: 6px; bottom: 6px; }
.mini-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mini-kicker { font: 700 10.5px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.mini-title { font: 600 15px/1.25 var(--serif); }
.mini-meta { font: 400 12px/1.3 var(--sans); color: var(--muted-2); }
.mini-link:hover .mini-title { text-decoration: underline; }
@media (max-width: 1023px) { .sit-rail { padding-top: 0; } }

/* ── AI explainer ─────────────────────────────────────────────────────────── */
.explainer { padding-top: 22px; padding-bottom: 8px; }
.ai-label { margin: 22px 0 28px; padding: 14px 16px; border-left: 3px solid var(--brand); background: var(--brand-tint); font: 400 14.5px/1.55 var(--sans); color: var(--ink-2); }
.ai-label a { color: var(--brand); }
.ai-label .meta { display: block; margin: 6px 0 0; }
.prose { font: 400 19px/1.65 var(--serif); color: #1a1a1a; font-variant-numeric: normal; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { margin: 1.6em 0 .5em; font: 700 25px/1.25 var(--serif); letter-spacing: -0.005em; }
.prose h3 { margin: 1.4em 0 .45em; font: 700 21px/1.3 var(--serif); }
.prose h4 { margin: 1.2em 0 .4em; font: 700 18px/1.3 var(--sans); }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose blockquote { margin: 1.4em 0; padding: 0 0 0 18px; border-left: 3px solid var(--ink); font-style: italic; }
.prose img { display: block; margin: 1.2em 0; }
.prose table { width: 100%; border-collapse: collapse; font: 400 15px/1.45 var(--sans); }
.prose td, .prose th { padding: 6px 8px; border-bottom: 1px solid var(--rule); text-align: left; }
.cite a { padding: 0 1px; font: 700 11px/1 var(--sans); color: var(--brand); text-decoration: none; }
.cite a:hover { text-decoration: underline; }
.explainer-cites, .explainer-sources { margin-top: 36px; padding-top: 10px; border-top: 2px solid var(--ink); font: 400 15px/1.5 var(--sans); }
.explainer-cites h2, .explainer-sources h2 { margin: 0 0 10px; font: 700 18px/1.3 var(--serif); }
.explainer-cites li, .explainer-sources li { margin: 7px 0; }
.explainer-cites a, .explainer-sources a { color: var(--ink); }
.explainer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.opinion-box { margin: 2em 0 0; padding: 18px 20px 6px; border-top: 3px solid var(--ink); background: var(--bg-soft); }
.opinion-box h2 { margin-top: 0 !important; }
.opinion-box .kicker { color: var(--muted); }
.opinion-note { font: 400 13.5px/1.5 var(--sans) !important; color: var(--muted); }
.explainer-pending { padding-bottom: 32px; }
.gen-status { min-height: 1.4em; margin: 18px 0 0; font: 500 14.5px/1.5 var(--sans); color: var(--ink-2); }
.gen-status.is-busy::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--brand); animation: fj-pulse 1.2s ease-in-out infinite; vertical-align: 0; }

/* ── article ──────────────────────────────────────────────────────────────── */
.art-head { padding-top: 28px; }
.art-head .art-title { max-width: 900px; }
.art-head .standfirst { max-width: 780px; }
.art-byline-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; max-width: 900px; margin: 20px 0 0; padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.byline { display: flex; align-items: center; gap: 10px; }
.byline-photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.byline-name { display: block; font: 700 15px/1.3 var(--sans); color: var(--ink); text-decoration: none; }
a.byline-name:hover { text-decoration: underline; }
.byline-role { display: block; font: 400 13px/1.35 var(--sans); color: var(--muted-2); }
.art-dates { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font: 400 13px/1.4 var(--sans); color: var(--muted); }
.art-grid { display: grid; grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; gap: 48px; margin-top: 24px; }
.art-main { min-width: 0; }
.art-figure { margin: 0 0 20px; }
.art-attr { margin: 0 0 22px; padding: 0 0 12px; border-bottom: 1px solid var(--rule); font: italic 400 15px/1.5 var(--serif); color: var(--muted); }
.art-body .pull-quote { margin: 0 0 1.2em; padding-left: 18px; border-left: 4px solid var(--brand); font: 700 23px/1.3 var(--serif); font-style: normal; color: var(--ink); }
.art-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 28px 0 0; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.share-label { margin-right: 4px; font: 700 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.share-btn { padding: 6px 12px; border: 1px solid var(--rule-3); border-radius: 999px; background: #fff; color: var(--ink); font: 600 13px/1.2 var(--sans); cursor: pointer; }
.share-btn:hover { border-color: var(--ink); }
.about-piece { display: flex; gap: 16px; margin: 22px 0 0; padding: 18px; background: var(--bg-soft); }
.about-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.about-name { font: 700 19px/1.25 var(--serif); }
.about-name a { text-decoration: none; }
.about-role { margin: 2px 0 8px; font: 500 13px/1.4 var(--sans); color: var(--muted); }
.about-bio { margin: 0; font: 400 15px/1.55 var(--sans); color: var(--ink-2); }
.about-attr { margin: 10px 0 0; font: italic 400 14px/1.5 var(--serif); color: var(--muted); }
.art-rail { min-width: 0; }
.rail-box { padding-top: 10px; border-top: 2px solid var(--ink); }
.art-related { margin-top: 44px; }
@media (max-width: 1023px) { .art-grid { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 767px) { .art-figure { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); } .art-figure .credit, .art-figure .caption { padding: 0 var(--gutter); } .prose { font-size: 18px; } }

/* ── static pages (markup of src/views/public/static-pages.ts) ────────────── */
.page-static { padding-bottom: 8px; }
.static-hero { padding-top: 28px; margin-bottom: 28px; }
.static-title { font: 700 clamp(30px, 4.1vw, 48px)/1.08 var(--serif); letter-spacing: -0.016em; }
.static-hero-sub { max-width: 780px; margin: 12px 0 0; font: 400 clamp(18px, 1.7vw, 21px)/1.45 var(--serif); color: #333; }
.static-body { font: 400 18px/1.65 var(--serif); color: #1a1a1a; }
.static-body h2 { margin: 1.6em 0 .5em; font: 700 24px/1.25 var(--serif); }
.static-body h2:first-child { margin-top: 0; }
.static-body h3 { margin: 0 0 .4em; font: 700 19px/1.3 var(--serif); }
.static-body p { margin: 0 0 1em; }
.static-body ul { margin: 0 0 1em; padding-left: 1.3em; }
.static-body li { margin: .35em 0; }
.static-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; font-family: var(--sans); }
.text-link { color: var(--brand); text-decoration: underline; }
.callout-box { margin: 28px 0; padding: 16px 18px; border-left: 3px solid var(--brand); background: var(--bg-soft); font: 400 16px/1.6 var(--sans); }
.callout-note { font-size: 14px; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.contact-block { padding-top: 10px; border-top: 2px solid var(--ink); font: 400 15.5px/1.55 var(--sans); }
.contact-block p { margin: 6px 0; }
.contact-email { color: var(--brand); font-weight: 600; }
.contact-note { font-size: 14px; color: var(--muted); }
@media (max-width: 599px) { .contact-grid { grid-template-columns: 1fr; } }
.page-newsletter { padding-top: 30px; }
.newsletter-page-header { padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--rule); }
.newsletter-page-title { font: 700 clamp(30px, 4.1vw, 48px)/1.08 var(--serif); letter-spacing: -0.016em; }
.newsletter-page-sub { margin: 12px 0 0; font: 400 clamp(18px, 1.7vw, 21px)/1.45 var(--serif); color: #333; }
.newsletter-page-body { font: 400 18px/1.65 var(--serif); }
.newsletter-page-body h2 { margin: 1.4em 0 .5em; font: 700 24px/1.25 var(--serif); }
.newsletter-page-body h2:first-child { margin-top: 0; }
.newsletter-form-lg { display: flex; flex-direction: column; gap: 8px; max-width: 500px; padding: 20px; background: var(--brand-tint); font-family: var(--sans); }
.form-label { font: 600 14px/1.3 var(--sans); }
.form-input { min-height: 44px; padding: 10px 12px; border: 1px solid #8a8a8a; border-radius: 4px; background: #fff; font: 400 16px/1.2 var(--sans); }
.newsletter-form-lg .btn-primary { margin-top: 6px; min-height: 44px; }
.form-note { min-height: 1.2em; margin: 4px 0 0; font: 500 14px/1.4 var(--sans); }
.newsletter-privacy { margin-top: 20px; font: 400 14px/1.55 var(--sans); color: var(--muted); }
.newsletter-privacy a { color: var(--brand); }

/* ── errors ───────────────────────────────────────────────────────────────── */
.error-page { padding-top: 56px; padding-bottom: 40px; }
.error-page .hl-xxl, .error-page .standfirst { max-width: 760px; }
.error-search { margin-top: 26px; }
.error-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; font: 600 15px/1.4 var(--sans); }
.error-links a { color: var(--brand); }

/* ── live page (ids/classes used by src/views/public/live-scripts.ts) ─────── */
.live-hero { padding: 20px 0 24px; border-bottom: 1px solid var(--rule); }
.live-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; align-items: start; }
.live-hero-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.live-badge-active { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 2px; background: var(--red); color: #fff; font: 800 12px/1 var(--sans); letter-spacing: .1em; transition: background .3s, box-shadow .3s; }
.live-badge-active .live-pulse { background: #fff; }
.live-badge-day { padding: 5px 8px; border: 1px solid var(--red); border-radius: 2px; color: var(--red); font: 700 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.live-badge-breaking { padding: 5px 8px; border: 1px solid var(--rule-3); border-radius: 2px; color: var(--muted); font: 600 12px/1 var(--sans); }
.live-hero-title { font: 700 clamp(30px, 4.1vw, 48px)/1.08 var(--serif); letter-spacing: -0.016em; }
.live-hero-subtitle { max-width: 780px; margin: 10px 0 0; font: 400 clamp(17px, 1.6vw, 20px)/1.45 var(--serif); color: #333; }
.live-hero-stats { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 14px 0 0; font: 500 14px/1.4 var(--sans); color: var(--muted); }
.live-hero-stats strong { color: var(--ink); }
.live-stat-sep { color: var(--rule-3); }
.live-hero-sources, .live-hero-stories { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0; font: 600 12px/1.3 var(--sans); color: var(--muted); }
.live-hero-sources > span:first-child, .live-hero-stories > span:first-child { margin-right: 4px; letter-spacing: .06em; text-transform: uppercase; }
.live-src-badge { padding: 3px 8px; border: 1px solid var(--rule-3); border-radius: 3px; color: var(--ink); }
.live-hero-stories a { padding: 3px 9px; border-radius: 3px; background: var(--brand-tint); color: var(--brand); text-decoration: none; }
.live-hero-stories a:hover { text-decoration: underline; }
.live-pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: fj-pulse 1.6s ease-in-out infinite; }
.live-pulse-sm { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: fj-pulse 1.6s ease-in-out infinite; }
.live-ticker-bar { display: flex; align-items: stretch; overflow: hidden; border-bottom: 1px solid var(--rule); background: var(--bg-soft); }
.live-ticker-label { flex: none; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--red); color: #fff; font: 800 11px/1 var(--sans); letter-spacing: .1em; }
.live-ticker-label .live-pulse-sm { background: #fff; }
.live-ticker-track { flex: 1; min-width: 0; overflow: hidden; }
.live-ticker-content { display: flex; width: max-content; white-space: nowrap; animation: fj-ticker 110s linear infinite; }
.live-ticker-content:hover { animation-play-state: paused; }
.ticker-item { display: inline-block; padding: 11px 22px; border-right: 1px solid var(--rule-2); font: 500 13.5px/1.2 var(--sans); color: var(--ink-2); }
@keyframes fj-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.live-breaking-alert { background: var(--red); color: #fff; }
.live-breaking-alert-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; min-height: 52px; padding-top: 9px; padding-bottom: 9px; }
.live-breaking-alert-left { display: flex; align-items: center; gap: 12px; flex: 1 1 420px; min-width: 0; }
.live-breaking-stamp { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 2px; background: #fff; color: var(--red); font: 800 12px/1 var(--sans); letter-spacing: .1em; }
.live-breaking-stamp .live-pulse { background: var(--red); }
.live-breaking-headline { font: 700 17px/1.3 var(--serif); }
.live-breaking-alert-right { display: flex; align-items: center; gap: 12px; font: 500 13px/1.3 var(--sans); }
.live-breaking-jump { color: #fff; font-weight: 700; }
.live-breaking-dismiss { width: 28px; height: 28px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%; background: none; color: #fff; font: 400 17px/1 var(--sans); cursor: pointer; }
.live-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; padding-top: 24px; }
.live-main { min-width: 0; }
.oil-ticker-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--rule); }
.oil-ticker-label { display: flex; align-items: center; gap: 7px; font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.oil-ticker-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.oil-ticker-prices { flex: 1; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.oil-price-block { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 0 8px; }
.oil-price-name { grid-column: 1 / -1; font: 600 11px/1.3 var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); }
.oil-price-val { font: 700 18px/1.3 var(--sans); }
.oil-price-change { font: 600 12.5px/1.3 var(--sans); color: var(--muted); }
.oil-price-change.up { color: var(--brand); }
.oil-price-change.down { color: var(--ink-2); }
.oil-price-unit { display: none; }
.oil-ticker-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font: 500 11.5px/1.3 var(--sans); color: var(--muted-2); }
.live-filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 6px; padding: 10px 0; border-bottom: 1px solid var(--rule); background: #fff; }
.live-filter-bar-sticky { position: sticky; top: var(--sticky-h); z-index: 20; }
.live-filter-label { margin-right: 4px; font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.live-filter-btn { padding: 6px 12px; border: 1px solid var(--rule-3); border-radius: 999px; background: #fff; color: var(--ink); font: 600 13px/1.2 var(--sans); cursor: pointer; }
.live-filter-btn:hover { border-color: var(--ink); }
.live-filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.live-filter-count { margin-left: 2px; font-weight: 500; opacity: .75; }
.live-new-banner button { width: 100%; padding: 10px; border: 0; background: var(--red); color: #fff; font: 700 14px/1.2 var(--sans); cursor: pointer; }
.live-day-group { margin: 0 0 6px; }
.live-day-separator { display: flex; align-items: center; gap: 10px; margin: 0 0 2px; padding: 18px 0 8px; border-bottom: 2px solid var(--ink); }
.live-day-label-text { font: 700 17px/1.2 var(--serif); }
.live-day-separator-today .live-day-label-text { color: var(--red); }
.live-day-live-dot { display: inline-flex; }
.live-day-count { margin-left: auto; font: 500 12.5px/1.2 var(--sans); color: var(--muted-2); }
.live-event { display: grid; grid-template-columns: 96px 14px minmax(0, 1fr); gap: 0 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.live-event-time { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.live-event-clock { font: 700 13px/1.4 var(--sans); color: var(--ink); }
.live-event-new-badge { padding: 2px 5px; border-radius: 2px; background: var(--red); color: #fff; font: 800 10px/1.2 var(--sans); letter-spacing: .08em; }
.live-event-connector { display: flex; flex-direction: column; align-items: center; }
.live-event-dot { flex: none; width: 10px; height: 10px; margin-top: 4px; border: 2px solid var(--ink); border-radius: 50%; background: #fff; }
.live-event-dot-breaking { border-color: var(--red); background: var(--red); }
.live-event-line { flex: 1; width: 1px; margin-top: 4px; background: var(--rule-2); }
.live-event-content { min-width: 0; }
.live-event-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 5px; }
.live-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 6px; border-radius: 2px; background: var(--bg-soft-2); color: var(--ink-2); font: 700 10.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.live-tag-breaking { background: var(--red); color: #fff; }
.live-tag-breaking .live-pulse-sm { background: #fff; }
.live-tag-confirmed { background: var(--brand-tint); color: var(--brand); }
.live-tag-analysis { background: #edf0f5; color: #2b3b55; }
.live-tag-military { background: #f0eee8; color: #4a4232; }
.live-tag-diplomatic { background: #ecf3ef; color: #22513a; }
.live-event-source { font: 600 12.5px/1.2 var(--sans); color: var(--muted); }
.live-event-headline { margin: 0; font: 600 19px/1.32 var(--serif); }
.live-event-headline a { color: var(--ink); text-decoration: none; }
.live-event-headline a:hover { text-decoration: underline; }
.live-event-breaking .live-event-headline { font-weight: 700; }
.live-event-body { margin: 6px 0 0; font: 400 16px/1.55 var(--serif); color: #333; }
.live-event-footer { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; font: 500 12.5px/1.3 var(--sans); color: var(--muted-2); }
.live-event-source-link { color: var(--brand); }
.live-event-newest .live-event-content { padding-left: 10px; border-left: 3px solid var(--red); }
.live-end-strip { padding: 22px 0 0; text-align: center; }
.live-end-note { margin: 0; font: 500 13px/1.5 var(--sans); color: var(--muted-2); }
.live-sidebar { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.live-sidebar-refresh { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--rule); }
.live-refresh-ring { position: relative; flex: none; width: 40px; height: 40px; }
.live-refresh-svg { width: 40px; height: 40px; transform: rotate(-90deg); }
.live-refresh-track { fill: none; stroke: var(--rule); stroke-width: 3; }
.live-refresh-progress { fill: none; stroke-width: 3; stroke-linecap: round; transition: stroke-dasharray 1s linear; }
.live-refresh-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 700 12px/1 var(--sans); }
.live-refresh-info { display: flex; flex-direction: column; gap: 2px; }
.live-refresh-label { font: 700 13px/1.2 var(--sans); }
.live-refresh-status { font: 500 12.5px/1.3 var(--sans); color: var(--muted); }
.live-sidebar-title { margin: 0 0 8px; padding-top: 10px; border-top: 2px solid var(--ink); font: 700 17px/1.3 var(--serif); }
.live-breaking-item { display: flex; flex-direction: column; gap: 2px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.live-breaking-item-time { font: 700 11.5px/1.2 var(--sans); color: var(--red); }
.live-breaking-item-headline { font: 600 15px/1.32 var(--serif); color: var(--ink); text-decoration: none; }
.live-breaking-item-headline:hover { text-decoration: underline; }
.live-breaking-item-src { font: 500 12px/1.3 var(--sans); color: var(--muted-2); }
.live-related-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); color: inherit; text-decoration: none; }
.live-related-thumb { width: 64px; height: 64px; }
.live-related-thumb.ph::after { font-size: 9px; left: 6px; right: 6px; bottom: 6px; }
.live-related-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.live-related-section { font: 700 10.5px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.live-related-title { font: 600 14.5px/1.3 var(--serif); }
.live-related-item:hover .live-related-title { text-decoration: underline; }
.live-related-meta { font: 500 12px/1.3 var(--sans); color: var(--muted-2); }
.live-sources-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.live-source-chip { padding: 3px 8px; border: 1px solid var(--rule-3); border-radius: 3px; font: 600 12px/1.4 var(--sans); }
.live-glance { padding: 10px 0 0; border-top: 2px solid var(--ink); }
.live-glance-last { margin: 4px 0 0; padding-top: 10px; border-top: 1px solid var(--rule); font: 400 14.5px/1.45 var(--serif); color: var(--ink-2); }
@media (max-width: 1023px) {
  .live-layout { grid-template-columns: 1fr; gap: 28px; }
  .live-hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .live-hero-fig { display: none; }
  .live-glance { display: none; }
}
@media (max-width: 599px) {
  .live-event { grid-template-columns: 12px minmax(0, 1fr); gap: 0 10px; }
  .live-event-time { grid-column: 2; grid-row: 1; flex-direction: row; align-items: center; margin-bottom: 4px; }
  .live-event-connector { grid-column: 1; grid-row: 1 / 3; }
  .live-event-content { grid-column: 2; grid-row: 2; }
  .live-event-headline { font-size: 18px; }
  .oil-ticker-meta { align-items: flex-start; }
  .live-breaking-alert-left { flex-basis: 100%; }
}

/* ═══ v4 reading tools (src/views/public/reading.ts, entity.ts, browse.ts) ═══ */

/* nav: ten items fit the masthead row from 1200 px */
@media (min-width: 1200px) and (max-width: 1339px) { .nav-link { padding-left: 7px; padding-right: 7px; font-size: 14px; } .mast-row { gap: 14px; } }

/* cites by tier (AI summaries and answers) */
.cite-next::before { content: ","; padding-right: 1px; font: 700 11px/1 var(--sans); color: var(--muted-2); }
.cite-single a { color: var(--amber); }
.cite-contested a { color: var(--contested); }
.cite-retracted a, .cite-superseded a { color: var(--muted); text-decoration: line-through; }

/* "Read it your way" */
.ryw { padding: 14px 20px 12px; border: 1px solid var(--rule); border-top: 3px solid var(--brand); background: #fff; }
.ryw[hidden] { display: none; }
.ryw-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.ryw-h { font: 700 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.ryw-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ryw-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 4px 13px 4px 11px; border: 1px solid var(--rule-3); border-radius: 999px; background: #fff; color: var(--ink); font: 600 13.5px/1 var(--sans); cursor: pointer; }
.ryw-btn[hidden] { display: none; }
.ryw-btn:hover { border-color: var(--ink); }
.ryw-btn.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.ryw-btn svg { width: 16px; height: 16px; }
.ryw-lang { display: inline-flex; align-items: center; gap: 4px; min-height: 34px; margin: 0; padding: 0 2px 0 10px; border: 1px solid var(--rule-3); border-radius: 999px; background: #fff; }
.ryw-lang:focus-within { border-color: var(--ink); }
.ryw-lang label { display: inline-flex; color: var(--muted); cursor: pointer; }
.ryw-lang select {
  appearance: none; -webkit-appearance: none; min-height: 32px; margin: 0; padding: 4px 26px 4px 2px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23555' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center;
  font: 600 13.5px/1.2 var(--sans); color: var(--ink);
}
.ryw-lang select:focus-visible { outline: none; }
.ryw-tabrow { display: flex; align-items: flex-end; gap: 4px 16px; margin: 8px 0 0; border-bottom: 1px solid var(--rule); }
.ryw-tabs { display: flex; gap: 22px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ryw-tabs::-webkit-scrollbar { display: none; }
.ryw-tab { flex: none; margin-bottom: -1px; padding: 9px 0 10px; border-bottom: 2px solid transparent; font: 600 15px/1.2 var(--sans); color: var(--muted); text-decoration: none; white-space: nowrap; }
.ryw-tab:hover { color: var(--ink); }
.ryw-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.ryw-full { flex: none; margin-left: auto; padding: 9px 0 10px; font: 600 14px/1.2 var(--sans); color: var(--brand); text-decoration: none; white-space: nowrap; }
.ryw-full:hover { text-decoration: underline; }
.ryw-panel { min-height: 96px; padding: 16px 0 2px; }
.ryw-panel[aria-busy="true"] { min-height: 150px; }
/* scripts Source Serif does not cover: one family per script instead of glyph-by-glyph fallback */
.ryw-panel[dir="rtl"] :is(p, li, dd, dt, h3) { font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", "Noto Naskh Arabic", system-ui, sans-serif; line-height: 1.75; }
.ryw-panel[lang="zh"] :is(p, li, dd, dt, h3) { font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif; }
.ryw-panel[lang="hi"] :is(p, li, dd, dt, h3) { font-family: "Nirmala UI", "Noto Sans Devanagari", "Mangal", system-ui, sans-serif; line-height: 1.7; }
.ryw-panel[dir="rtl"] :is(.ryw-w dd, .ryw-points li, .ryw-simple p) { font-size: 18px; }
.ryw-panel[dir="rtl"] .ryw-brief li { font-size: 20px; }
.ryw-panel[dir="rtl"] .ryw-title { font-size: 21px; }
.ryw-title { margin: 0 0 12px; font: 700 20px/1.3 var(--serif); color: var(--ink); }
.ryw-panel[dir="rtl"] .ryw-title, .ryw-panel[lang="zh"] .ryw-title, .ryw-panel[lang="hi"] .ryw-title { font-family: inherit; }
.ryw-5w { display: grid; margin: 0; }
.ryw-w { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 9px 0; border-top: 1px solid var(--rule); }
.ryw-w:first-child { padding-top: 0; border-top: 0; }
.ryw-w dt { font: 700 11.5px/2 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.ryw-w dd { margin: 0; font: 400 17px/1.5 var(--serif); color: var(--ink-2); }
.ryw-sub { margin: 16px 0 4px; padding-top: 12px; border-top: 1px solid var(--rule); font: 700 11.5px/1.3 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.ryw-points { margin: 0; padding: 0; padding-inline-start: 1.15em; font: 400 17px/1.5 var(--serif); color: var(--ink-2); }
.ryw-points li { margin: 6px 0; }
.ryw-points li::marker { color: var(--brand); }
.ryw-brief { margin: 0; padding: 0; list-style: none; counter-reset: brief; }
.ryw-brief li { counter-increment: brief; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; padding: 11px 0; border-top: 1px solid var(--rule); font: 600 19px/1.4 var(--serif); color: var(--ink); }
.ryw-brief li:first-child { padding-top: 2px; border-top: 0; }
.ryw-brief li::before { content: counter(brief); font: 700 22px/1.25 var(--serif); color: var(--brand); }
.ryw-simple { font: 400 18px/1.62 var(--serif); color: #1f1f1f; }
.ryw-simple p { margin: 0 0 .8em; }
.ryw-simple p:last-child { margin-bottom: 0; }
.ryw-simple ul, .ryw-simple ol { margin: 0 0 .8em; padding: 0; padding-inline-start: 1.2em; }
.ryw-simple h3 { margin: .9em 0 .3em; font: 700 18px/1.3 var(--serif); }
.ryw-status { margin: 6px 0; font: 500 14px/1.5 var(--sans); color: var(--muted); }
.ryw-error { color: var(--ink-2); }
.ryw-panel .btn-sm { margin-top: 4px; }
.ryw-skel span { display: block; height: 12px; margin: 4px 0 14px; border-radius: 3px; background: linear-gradient(90deg, var(--bg-soft-2) 0%, #f7f7f4 50%, var(--bg-soft-2) 100%); background-size: 200% 100%; animation: fj-shimmer 1.3s linear infinite; }
.ryw-skel span:nth-child(2) { width: 94%; }
.ryw-skel span:nth-child(3) { width: 97%; }
.ryw-skel span:nth-child(4) { width: 58%; }
@keyframes fj-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.ryw-foot { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--rule); font: 400 12.5px/1.5 var(--sans); color: var(--muted-2); }
.ryw-gen time { color: inherit; }
.ryw + .sit-ents { margin-top: -22px; }
@media (max-width: 599px) {
  .ryw { padding: 12px 14px 10px; }
  .ryw-tabrow { flex-wrap: wrap; }
  .ryw-tabs { gap: 18px; width: 100%; }
  .ryw-tab { font-size: 14.5px; }
  .ryw-full { order: 2; margin-left: 0; padding-top: 10px; border-top: 0; }
  .ryw-w { grid-template-columns: 1fr; gap: 0; }
  .ryw-w dt { line-height: 1.6; }
  .ryw-brief li { font-size: 18px; }
}

/* Listen (story) */
.ryw-audio { margin: 12px 0 0; padding: 12px 14px; border-left: 3px solid var(--ink); background: var(--bg-soft); }
.ryw-audio[hidden] { display: none; }
.aud-el { display: block; width: 100%; height: 42px; }
.aud-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 8px 0 0; font: 500 13px/1.4 var(--sans); color: var(--muted); }
.aud-voice { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); font-weight: 600; }
.aud-voice select { min-height: 30px; padding: 3px 8px; border: 1px solid var(--rule-3); border-radius: 4px; background: #fff; font: 500 13px/1.2 var(--sans); color: var(--ink); }
.aud-script { margin: 10px 0 0; }
.aud-script summary { font: 600 13px/1.3 var(--sans); color: var(--brand); cursor: pointer; }
.aud-script div { margin-top: 6px; font: 400 15.5px/1.55 var(--serif); color: var(--ink-2); }
.aud-script p { margin: 0 0 .6em; }
.aud-msg { margin: 0; font: 500 14px/1.5 var(--sans); color: var(--ink-2); }
.aud-busy::before, .ask-wait::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--brand); animation: fj-pulse 1.2s ease-in-out infinite; vertical-align: 1px; }

/* people, places & organisations */
.ents-h { margin: 0 0 10px; font: 700 11.5px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ents { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ent { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 4px 15px 4px 4px; border: 1px solid var(--rule-2); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; }
.ent:hover { border-color: var(--ink); }
.ent:hover .ent-name { text-decoration: underline; text-underline-offset: 2px; }
.ent-pic, .pq-pic { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; overflow: hidden; border-radius: 50%; background: var(--bg-soft-2); color: var(--muted); }
.ent-pic.pic-org, .ent-pic.pic-place { border-radius: 8px; }
.ent-pic svg { width: 18px; height: 18px; }
.ent-pic img, .pq-pic img, .ecard-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--bg-soft-2); }
.pic-person img { object-position: 50% 22%; }
.ent-ini { font: 700 12px/1 var(--sans); letter-spacing: .02em; color: var(--ink-2); }
.ent-text { display: flex; flex-direction: column; min-width: 0; }
.ent-name { font: 600 14px/1.2 var(--sans); }
.ent-sub { margin-top: 1px; font: 500 11.5px/1.2 var(--sans); color: var(--muted-2); }

/* what to watch / coming up */
.wl { margin: 0; padding: 0; list-style: none; }
.wl-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 0; border-top: 1px solid var(--rule); }
.wl-item:first-child { padding-top: 2px; border-top: 0; }
.wl-date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60px; padding: 5px 2px; border: 1px solid var(--rule-2); border-top: 3px solid var(--ink); background: #fff; text-align: center; }
.wl-wd { font: 700 10px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wl-day { font: 700 22px/1.05 var(--serif); color: var(--ink); }
.wl-mon { font: 600 10.5px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.wl-date-tbc .wl-mon { letter-spacing: 0; text-transform: none; font-size: 11px; line-height: 1.25; }
.wl-body { min-width: 0; }
.wl-story { display: block; margin: 0 0 2px; font: 700 11px/1.3 var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--brand); text-decoration: none; }
.wl-story:hover { text-decoration: underline; }
.wl-title { margin: 0; font: 600 17px/1.35 var(--serif); color: var(--ink); }
.wl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 5px 0 0; font: 500 12.5px/1.3 var(--sans); color: var(--muted-2); }
.wl-conf { padding: 1px 8px; border-radius: 999px; font: 600 11.5px/1.5 var(--sans); }
.wl-hi { background: var(--brand-tint); color: var(--brand); }
.wl-mid { background: #edf0f5; color: #2b3b55; }
.wl-lo { background: #efefef; color: #474747; }
.wl-compact .wl-item { grid-template-columns: 46px minmax(0, 1fr); gap: 11px; padding: 10px 0; }
.wl-compact .wl-date { min-height: 50px; padding: 3px 2px; }
.wl-compact .wl-day { font-size: 18px; }
.wl-compact .wl-title { font-size: 15px; line-height: 1.32; }
.wl-compact .wl-meta { margin-top: 3px; }
.coming { margin-top: 22px; }
.coming .sh { margin-bottom: 8px; }

/* two sides */
.sides { border: 1px solid var(--rule); border-top: 3px solid var(--ink); background: #fff; }
.sides-gap { margin: 0; padding: 14px 18px 15px; border-bottom: 1px solid var(--rule); background: var(--bg-soft); font: 600 18px/1.42 var(--serif); color: var(--ink); }
.sides-gap-label { display: block; margin-bottom: 3px; font: 700 11.5px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sides-grid { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); }
.side { min-width: 0; padding: 16px 18px 14px; }
.side-label { margin: 0 0 8px; font: 700 18px/1.25 var(--serif); }
.side-summary { margin: 0 0 12px; font: 400 16px/1.52 var(--serif); color: var(--ink-2); }
.sides-vs { position: relative; background: var(--rule); font-size: 0; }
.sides-vs::after { content: "vs"; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); padding: 4px 7px; border: 1px solid var(--rule-2); border-radius: 999px; background: #fff; font: 700 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ochip-more { color: var(--muted); }
@media (max-width: 767px) {
  .sides-grid { grid-template-columns: 1fr; }
  .sides-vs { height: 1px; margin: 0 18px; }
  .sides-vs::after { top: 50%; transform: translate(-50%, -50%); }
}

/* in their words (pull-quotes) */
.pqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.pq { min-width: 0; margin: 0; }
.pq::before { content: "“"; display: block; height: 26px; font: 700 52px/1 var(--serif); color: var(--brand); }
.pq-lead { grid-column: 1 / -1; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.pq-lead::before { height: 34px; font-size: 68px; }
.pq-text { margin: 0; }
.pq-text p { margin: 0; font: italic 400 19px/1.48 var(--serif); color: var(--ink); }
.pq-lead .pq-text p { max-width: 820px; font: 600 clamp(22px, 2.3vw, 27px)/1.34 var(--serif); letter-spacing: -0.005em; }
.pq-cap { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; }
.pq-pic { width: 40px; height: 40px; }
.pq-pic.pic-org { border-radius: 8px; }
.pq-id { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pq-who { font: 700 14.5px/1.3 var(--sans); color: var(--ink); }
.pq-who a { color: inherit; text-decoration: none; }
.pq-who a:hover { text-decoration: underline; }
.pq-role { font: 400 13px/1.35 var(--sans); color: var(--muted); }
.pq-src { font: 500 12.5px/1.45 var(--sans); color: var(--muted-2); }
.pq-src a { color: var(--brand); }
@media (max-width: 767px) { .pqs { grid-template-columns: 1fr; gap: 22px; } .pq-text p { font-size: 18px; } }

/* ask about this story */
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.ask-chip { padding: 8px 14px; border: 1px solid var(--rule-3); border-radius: 999px; background: #fff; color: var(--ink); font: 500 14px/1.3 var(--sans); text-align: start; cursor: pointer; }
.ask-chip:hover { border-color: var(--brand); color: var(--brand); }
.ask-chip:disabled { opacity: .55; cursor: default; }
.ask-form { display: flex; gap: 8px; }
.ask-form input { flex: 1; min-width: 0; min-height: 46px; padding: 10px 14px; border: 1px solid #8a8a8a; border-radius: 4px; background: #fff; color: var(--ink); font: 400 16px/1.3 var(--sans); }
.ask-form .btn { min-height: 46px; padding: 8px 22px; }
html:not(.js) .ask-chips, html:not(.js) .ask-form, html:not(.js) .sit-ask-btn { display: none; }
.ask-out { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.ask-out:empty { display: none; }
.ask-ans { padding: 14px 16px; border: 1px solid var(--rule); border-left: 3px solid var(--brand); background: #fff; }
.ask-q { margin: 0 0 8px; font: 700 15px/1.4 var(--sans); color: var(--ink); }
.ask-q::before { content: "You asked"; display: block; margin-bottom: 2px; font: 700 11px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ask-wait { margin: 0; font: 500 14px/1.5 var(--sans); color: var(--muted); }
.ask-body { font: 400 17px/1.55 var(--serif); color: var(--ink-2); }
.ask-body p, .ask-body ul, .ask-body ol { margin: 0 0 .7em; }
.ask-body ul, .ask-body ol { padding: 0; padding-inline-start: 1.2em; }
.ask-body > :last-child { margin-bottom: 0; }
.ask-inf { margin: 12px 0 0; padding: 10px 12px; background: var(--bg-soft); font: 400 14px/1.5 var(--sans); color: var(--ink-2); }
.ask-inf-h { margin: 0 0 4px; font: 700 11px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ask-inf ul { margin: 0; padding: 0; padding-inline-start: 1.1em; }
.ask-check { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--rule); }
.ask-verdict { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.verdict { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; font: 700 12.5px/1.5 var(--sans); }
.verdict::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.verdict-ok { background: var(--brand-tint); color: var(--brand); }
.verdict-part { background: var(--amber-tint); color: var(--amber); }
.verdict-no { background: var(--ink); color: #fff; }
.verdict-note { font: 400 12.5px/1.45 var(--sans); color: var(--muted-2); }
.ask-issues { margin: 8px 0 0; padding: 0; list-style: none; }
.ask-issues[hidden] { display: none; }
.ask-issues li { display: flex; flex-direction: column; gap: 2px; padding: 7px 0; border-top: 1px solid var(--rule); font: 500 13.5px/1.45 var(--sans); color: var(--ink-2); }
.ask-issues q { font: italic 400 15px/1.45 var(--serif); color: var(--muted); }
.ask-note { margin: 10px 0 0; font: 500 14px/1.5 var(--sans); color: var(--muted); }
.ask-error { color: var(--ink-2); }
@media (max-width: 599px) { .ask-form .btn { padding: 8px 16px; } }

/* home: listen to the news + mini player */
.listen { margin: 30px 0 0; }
.listen[hidden] { display: none; }
.listen-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 0; border-top: 2px solid var(--ink); }
.listen-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; }
.listen-copy { flex: 1 1 260px; min-width: 0; }
.listen-h { font: 700 21px/1.2 var(--serif); }
.listen-sub { margin: 2px 0 0; font: 400 14px/1.4 var(--sans); color: var(--muted); }
.listen-all { flex: none; gap: 9px; }
.listen-tri { display: inline-block; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.listen-tri.is-pause { width: 9px; height: 11px; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.listen-list { display: flex; gap: 10px; margin: 0; padding: 0 0 8px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--rule-3) transparent; }
.listen-item { flex: 0 0 252px; scroll-snap-align: start; }
.listen-btn { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; align-items: center; width: 100%; height: 100%; padding: 8px; border: 1px solid var(--rule); background: #fff; color: var(--ink); text-align: start; cursor: pointer; }
.listen-btn:hover { border-color: var(--rule-3); }
.listen-btn:hover .listen-t { text-decoration: underline; }
.listen-btn.is-on { border-color: var(--brand); box-shadow: inset 3px 0 0 var(--brand); }
.listen-pic { position: relative; width: 54px; height: 54px; overflow: hidden; background: var(--bg-soft-2); }
.listen-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.listen-pic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: rgba(17, 17, 17, .7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='10' viewBox='0 0 8 10'%3E%3Cpath d='M0 0v10l8-5z' fill='%23fff'/%3E%3C/svg%3E") no-repeat 8px center; }
.listen-btn.is-on .listen-pic::after { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='10' viewBox='0 0 8 10'%3E%3Cpath d='M0 0h3v10H0zM5 0h3v10H5z' fill='%23fff'/%3E%3C/svg%3E") no-repeat center; }
.listen-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.listen-t { font: 600 14.5px/1.25 var(--serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listen-d { font: 500 12px/1.2 var(--sans); color: var(--muted-2); }
@media (max-width: 599px) { .listen-item { flex-basis: 78%; } .listen-all { width: 100%; } }
.mplayer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; border-top: 1px solid var(--ink); background: #fff; box-shadow: 0 -6px 24px rgba(0, 0, 0, .08); }
.mplayer[hidden] { display: none; }
.mp-progress { height: 3px; background: var(--rule); }
.mp-progress span { display: block; width: 0; height: 100%; background: var(--brand); transition: width .25s linear; }
.mp-row { display: flex; align-items: center; gap: 12px; min-height: 62px; }
.mp-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border: 1px solid var(--rule-3); border-radius: 50%; background: #fff; color: var(--ink); font: 500 16px/1 var(--sans); cursor: pointer; }
.mp-btn:hover { border-color: var(--ink); }
.mp-btn:disabled { opacity: .35; cursor: default; }
.mp-toggle { border-color: var(--brand); background: var(--brand); color: #fff; }
.mp-toggle:hover { border-color: var(--brand-2); background: var(--brand-2); }
.mp-close { border-color: transparent; }
.mp-info { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.mp-k { font: 700 11px/1.2 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--brand); }
.mp-title { overflow: hidden; font: 600 15.5px/1.25 var(--serif); color: var(--ink); text-decoration: none; white-space: nowrap; text-overflow: ellipsis; }
.mp-title:hover { text-decoration: underline; }
body.has-player { padding-bottom: 66px; }

/* /e/:slug */
.ent-head { padding-top: 28px; margin-bottom: 30px; }
.ent-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.ent-head-text { min-width: 0; }
.ent-stats { margin: 10px 0 0; font: 500 14px/1.4 var(--sans); color: var(--muted); }
.ent-summary { max-width: 760px; margin: 18px 0 0; font: 400 19px/1.6 var(--serif); color: #1f1f1f; }
.ent-summary p { margin: 0 0 .75em; }
.ent-attr { margin: 4px 0 0; font: 400 13px/1.5 var(--sans); color: var(--muted-2); }
.ent-attr a { color: var(--brand); }
.ent-photo { margin: 0; }
.ent-photo-none { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: var(--bg-soft); }
.ent-bigpic { position: relative; display: flex; align-items: center; justify-content: center; width: 128px; height: 128px; border-radius: 50%; background: var(--bg-soft-2); color: var(--muted); }
.ent-bigpic.pic-org, .ent-bigpic.pic-place { border-radius: 16px; }
.ent-bigpic .ent-ini { font: 700 42px/1 var(--serif); color: var(--ink-2); }
.ent-bigpic svg { width: 56px; height: 56px; }
.ents-wide .ent { padding-right: 18px; }
.ent-desk { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px 28px; margin: 0; padding: 0; list-style: none; }
.ent-desk-link { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: start; color: inherit; text-decoration: none; }
.ent-desk-fig { width: 96px; }
.ent-desk-fig.ph::after { font-size: 9px; left: 6px; right: 6px; bottom: 6px; }
.ent-desk-title { font: 600 16px/1.3 var(--serif); }
.ent-desk-link:hover .ent-desk-title { text-decoration: underline; }
@media (max-width: 899px) {
  .ent-head-grid { grid-template-columns: 1fr; gap: 18px; }
  .ent-photo { grid-row: 1; max-width: 220px; }
  .ent-photo-none { aspect-ratio: auto; justify-content: flex-start; background: none; }
  .ent-bigpic { width: 84px; height: 84px; }
  .ent-bigpic .ent-ini { font-size: 30px; }
  .ent-bigpic svg { width: 38px; height: 38px; }
  .ent-summary { font-size: 18px; }
}

/* /browse, /topics/:tag */
.browse-jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; }
.browse-jump a { padding: 6px 12px; border: 1px solid var(--rule-3); border-radius: 999px; font: 600 13px/1.3 var(--sans); color: var(--ink); text-decoration: none; }
.browse-jump a:hover { border-color: var(--ink); }
.browse-block { margin-bottom: 44px; }
.btiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 24px; margin: 0; padding: 0; list-style: none; }
.btiles-regions { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 24px 20px; }
.btiles-regions .btile-label { font-size: 18px; }
.btile { min-width: 0; }
.btile-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.btile-fig { margin: 0 0 10px; }
.btile-body { display: flex; flex-direction: column; gap: 2px; }
.btile-label { font: 700 19px/1.2 var(--serif); color: var(--ink); }
.btile-link:hover .btile-label { text-decoration: underline; text-underline-offset: 3px; }
.btile-count { font: 700 11.5px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.btile-top { margin-top: 4px; font: 400 14px/1.4 var(--sans); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.btopics-more { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--rule); }
.btopics-h { margin: 0 0 8px; font: 700 11.5px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.tag-n { margin-left: 3px; font-weight: 600; color: var(--muted-2); }
.erail { display: flex; gap: 10px; margin: 0; padding: 0 0 8px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--rule-3) transparent; }
.ecard { flex: 0 0 136px; scroll-snap-align: start; }
@media (min-width: 768px) { .erail { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; overflow: visible; padding-bottom: 0; } }
.ecard-link { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; padding: 14px 8px 12px; border: 1px solid var(--rule); color: inherit; text-align: center; text-decoration: none; }
.ecard-link:hover { border-color: var(--rule-3); }
.ecard-link:hover .ecard-name { text-decoration: underline; }
.ecard-pic { position: relative; display: flex; align-items: center; justify-content: center; flex: none; width: 84px; height: 84px; overflow: hidden; border-radius: 50%; background: var(--bg-soft-2); color: var(--muted); }
.ecard-pic.pic-org, .ecard-pic.pic-place { border-radius: 12px; }
.ecard-pic .ent-ini { font: 700 28px/1 var(--serif); }
.ecard-pic svg { width: 34px; height: 34px; }
.ecard-name { font: 600 15px/1.25 var(--serif); }
.ecard-sub { font: 500 12px/1.2 var(--sans); color: var(--muted-2); }
@media (max-width: 1023px) { .btiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .btiles, .btiles-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .btile-label { font-size: 17px; }
  .btile-top { display: none; }
  .ecard { flex-basis: 120px; }
}

/* ── motion & print ───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .mast, .stickyhead, .menu, .foot, .nl-band, .share, .sit-actions, .live-ticker-bar, .live-filter-bar, .live-sidebar, .ryw-tools, .ryw-audio, .ask, .listen, .mplayer { display: none !important; }
  body.site { font-size: 12pt; }
  a { text-decoration: none; }
}

/* ── contrast on tinted panels (≥ 4.5:1) ──────────────────────────────────── */
.top-report .meta, .ai-label .meta, .gaps .ochip-type, .tellit .meta, .opinion-box .meta, .about-piece .meta { color: var(--muted); }
