/* Intellegix News — premium design system
   Brand: navy #0B1120, gold #DAA520. Display: Newsreader. UI: Inter. */
:root {
  --navy: #0B1120;
  --navy-soft: #131C31;
  --gold: #DAA520;
  --gold-soft: #F0CE7A;
  --ink: #181D27;
  --soft: #5B6472;
  --line: #E6E8EC;
  --paper: #FAFAF8;
  --card: #FFFFFF;
  --maxw: 1120px;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
a { color: inherit; text-decoration: none; }

/* Visually-hidden helper (for a11y headings + skip links) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -40px;
  background: var(--navy); color: var(--gold); padding: 8px 14px;
  border-radius: 6px; font-weight: 600; font-size: 13px; z-index: 200;
  transition: top .15s; }
.skip-link:focus { top: 8px; }

/* Universal focus-visible — keyboard users get a clear gold ring */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
.search input:focus-visible { outline-offset: 0; }
button:focus-visible, a:focus-visible,
.archive-trigger:focus-visible, .ask-ai-btn:focus-visible,
.archive-tab:focus-visible, .archive-month-btn:focus-visible,
.archive-show-card:focus-visible, .ask-example:focus-visible,
.ask-submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(218,165,32,0.40);
}

/* ── Masthead ─────────────────────────────────────────── */
.masthead { background: var(--navy); border-bottom: 3px solid var(--gold);
  position: sticky; top: 0; z-index: 50; }
.masthead .wrap { display: flex; align-items: center; gap: 28px;
  height: 64px; }
.brand { display: flex; align-items: baseline; gap: 8px; }
.brand-word { font-family: var(--serif); font-weight: 800; font-size: 21px;
  letter-spacing: 5px; color: var(--gold); }
.brand-news { font-family: var(--sans); font-weight: 600; font-size: 12px;
  letter-spacing: 4px; color: #B9C2D0; }
.shows-nav { display: flex; gap: 20px; flex: 1; }
.shows-nav a { color: #C6CEDB; font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.3px; padding: 6px 2px; border-bottom: 2px solid transparent; }
.shows-nav a:hover { color: var(--gold-soft); border-bottom-color: var(--gold); }
.shows-nav .shows-nav-weekly { color: var(--gold-soft); font-weight: 700;
  border-left: 1px solid #273351; padding-left: 16px; margin-left: 6px; }
.search input { background: var(--navy-soft); border: 1px solid #273351;
  color: #E7EBF2; border-radius: 18px; padding: 7px 16px; font-size: 13px;
  width: 210px; outline: none; }
.search input::placeholder { color: #6B7790; }
.search input:focus { border-color: var(--gold); }

/* ── Hero grid ────────────────────────────────────────── */
.hero-grid { display: grid; grid-template-columns: 2fr 1fr;
  grid-auto-rows: minmax(150px, auto); gap: 18px; margin: 30px 0 38px; }
.hero-card { background: var(--navy); color: #EAEFF7; border-radius: 18px;
  padding: 30px 32px; display: flex; flex-direction: column; gap: 10px;
  position: relative; overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease; }
.hero-card:hover { transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(11,17,32,.25); }
.hero-lead { grid-row: span 2; justify-content: flex-end; min-height: 380px;
  background: linear-gradient(160deg, #0B1120 0%, #15203A 70%, #1B2C50 100%); }
.hero-card .kicker { color: var(--gold-soft); }
.hero-card h2 { font-family: var(--serif); font-weight: 800; margin: 0;
  font-size: 24px; line-height: 1.18; }
.hero-lead h2 { font-size: 38px; }
.hero-card .lede { color: #B9C2D0; font-size: 15px; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; }
.read-cta { color: var(--gold); font-size: 13px; font-weight: 600; }

/* Vertical AI reel on a story page */
.story-reel { margin: 22px auto 26px; max-width: 340px; text-align: center; }
.story-reel-video { width: 100%; aspect-ratio: 9 / 16; border-radius: 16px;
  background: #0b1120; display: block; box-shadow: 0 12px 34px rgba(11,17,32,.28); }
.story-reel figcaption { margin-top: 8px; font-size: 12px; color: var(--ink-soft, #6b7280);
  letter-spacing: .2px; }

/* Share control on hero cards — floats top-right, above the cover image */
.hero-share-btn { position: absolute; top: 14px; right: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  padding: 7px 12px 7px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .2px; line-height: 1;
  color: #EAEFF7; background: rgba(11,17,32,.55);
  border: 1px solid rgba(234,239,247,.28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .15s ease, border-color .15s ease,
              color .15s ease, transform .15s ease; }
.hero-share-btn svg { flex: none; }
.hero-share-btn:hover { background: var(--gold); border-color: var(--gold);
  color: var(--navy); transform: translateY(-1px); }
.hero-share-btn:focus-visible { outline: 2px solid var(--gold);
  outline-offset: 2px; }
.hero-share-btn.is-copied { background: #0f7b6c; border-color: #0f7b6c;
  color: #fff; }
@media (max-width: 620px) {
  .hero-share-btn .hero-share-label { display: none; }
  .hero-share-btn { padding: 8px; }
}

/* ── Kickers, labels ──────────────────────────────────── */
.kicker { font-size: 11.5px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--soft); }
.kicker a:hover { color: var(--gold); }
.kicker-meta { color: var(--soft); margin-left: 4px; font-weight: 600;
  text-transform: none; letter-spacing: 0; }
.rail-label { font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--soft); border-bottom: 2px solid var(--navy);
  padding-bottom: 8px; margin: 0 0 4px; }

/* ── Stream + rail ────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 300px; gap: 44px;
  margin-bottom: 70px; }
.stream { display: flex; flex-direction: column; }
.stream-item { display: grid; grid-template-columns: auto auto 1fr;
  align-items: baseline; gap: 14px; padding: 15px 4px;
  border-bottom: 1px solid var(--line); }
.stream-item:hover .stream-head { color: var(--gold); }
.stream-show { font-size: 10.5px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 3px 9px; border-radius: 10px; }
.badge-main { background: #16233F; color: var(--gold-soft); }
.badge-hn { background: #2E1D0A; color: #F2A35C; }
.badge-sd { background: #11301F; color: #7BD9A3; }
.stream-date { font-size: 12.5px; color: var(--soft); white-space: nowrap; }
.stream-head { font-family: var(--serif); font-weight: 600; font-size: 17px;
  line-height: 1.3; }
.search-hit { grid-template-columns: auto auto 1fr; grid-auto-flow: row; }
.snippet { grid-column: 1 / -1; font-size: 13.5px; color: var(--soft); }
.snippet mark { background: var(--gold-soft); padding: 0 2px; border-radius: 2px; }
/* ── Story stream (homepage section-level cards) ───────── */
.story-item { display: flex; gap: 18px; align-items: stretch;
  padding: 18px 4px 20px; border-bottom: 1px solid var(--line);
  transition: background .12s; }
.story-item:hover { background: rgba(218,165,32,0.03); }
.story-item:hover .story-head { color: var(--gold); }
.story-thumb { width: 180px; height: 120px; object-fit: cover;
  border-radius: 8px; background: var(--line); flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.story-text { flex: 1; display: flex; flex-direction: column; gap: 6px;
  min-width: 0; }
.story-meta { display: flex; align-items: center; gap: 10px; }
.story-show { font-size: 10.5px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; padding: 3px 9px;
  border-radius: 10px; }
.story-date { font-size: 12.5px; color: var(--soft); }
.story-head { font-family: var(--serif); font-weight: 700;
  font-size: 21px; line-height: 1.22; color: var(--ink);
  margin: 0; letter-spacing: -0.2px;
  transition: color .12s; }
.story-snip { font-size: 14.5px; line-height: 1.5;
  color: var(--soft); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; }
.story-cta { display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--gold);
  letter-spacing: 0.3px; margin-top: auto; }
.story-audio-mark { font-size: 13px; color: var(--gold-soft);
  border-left: 1px solid var(--gold-soft); padding-left: 8px;
  font-style: italic; }

/* Section hero image inside article pages */
.section-hero { margin: 0 0 22px; }
.section-hero img { width: 100%; height: auto; aspect-ratio: 16/9;
  object-fit: cover; border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.10); }
.section-hero figcaption { font-size: 11.5px; color: var(--soft);
  font-style: italic; padding: 6px 4px 0; letter-spacing: 0.2px; }
.section-hero figcaption a { color: var(--soft);
  text-decoration: underline; text-decoration-color: var(--line); }
.section-hero figcaption a:hover { color: var(--gold);
  text-decoration-color: var(--gold); }

/* Section map figure (SD locator) */
.section-map { margin: 0 0 22px; max-width: 380px; }
.section-map img { width: 100%; height: auto; aspect-ratio: 16/9;
  object-fit: cover; border-radius: 10px;
  border: 1px solid var(--line); }
.section-map figcaption { font-size: 11.5px; color: var(--soft);
  padding: 6px 4px 0; letter-spacing: 0.2px; }
.section-map figcaption a { color: var(--soft);
  text-decoration: underline; text-decoration-color: var(--line); }
.section-map figcaption a:hover { color: var(--gold);
  text-decoration-color: var(--gold); }
.story-more { display: block; text-align: center;
  margin: 28px auto 0; padding: 12px 22px;
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--gold-soft); border-radius: 22px;
  max-width: 320px;
  transition: background .15s, color .15s; }
.story-more:hover { background: var(--gold); color: var(--card); }

.rail { display: flex; flex-direction: column; gap: 10px; }
.thread-chip { background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 16px; display: flex;
  justify-content: space-between; align-items: center; gap: 10px;
  transition: border-color .15s; }
.thread-chip:hover { border-color: var(--gold); }
.thread-label { font-weight: 600; font-size: 13.5px; }
.thread-count { font-size: 11px; color: var(--soft); white-space: nowrap; }

/* ── Article ──────────────────────────────────────────── */
.article { max-width: 760px; margin: 42px auto 80px; }
.article h1 { font-family: var(--serif); font-weight: 800; font-size: 42px;
  line-height: 1.12; margin: 12px 0 18px; letter-spacing: -0.5px; }
.article-lede { font-family: var(--serif); font-size: 21px; line-height: 1.45;
  color: #3A4150; font-style: italic; margin: 0 0 22px; }
.article-pullquote { margin: 18px 0 26px; padding: 14px 22px 14px 28px;
  border-left: 4px solid var(--gold);
  background: linear-gradient(90deg, rgba(218,165,32,0.06), transparent 80%); }
.article-pullquote p { font-family: var(--serif); font-weight: 600;
  font-size: 22px; line-height: 1.35; color: var(--ink);
  margin: 0; letter-spacing: -0.2px; }

/* Intra-day update banner — top of article */
.article-update { background: #FFF8E6; border: 1px solid var(--gold-soft);
  border-radius: 12px; padding: 16px 20px; margin: 0 0 22px; }
.article-update-head { display: flex; align-items: center; gap: 12px;
  margin-bottom: 8px; font-size: 11.5px; }
.article-update-tag { background: var(--navy); color: var(--gold);
  padding: 3px 10px; border-radius: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; }
.article-update-time { color: var(--soft); font-style: italic; }
.article-update-head-line { font-family: var(--serif); font-weight: 800;
  font-size: 20px; line-height: 1.25; margin: 0 0 10px;
  color: var(--ink); }
.article-update p { font-family: var(--serif); font-size: 16px;
  line-height: 1.55; margin: 0 0 10px; color: #2A2F3A; }
.article-update p:last-child { margin: 0; }
.article-update-sources { font-size: 11.5px !important;
  font-family: var(--sans) !important; color: var(--soft); font-style: italic;
  margin-top: 8px !important; }
.article-update-sources a { color: var(--soft); text-decoration: underline;
  text-decoration-color: var(--gold-soft); }
.article-update-sources a:hover { color: var(--gold); }
.article-meta { display: flex; align-items: center; gap: 16px;
  padding: 14px 0; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.ai-label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--soft); }
.fidelity-badge { font-size: 11px; font-weight: 700; letter-spacing: 0.4px;
  padding: 3px 9px; border-radius: 10px; }
.fidelity-tight { background: #E8F4EC; color: #1a6332; }
.fidelity-mostly { background: #F0F4E8; color: #4a6b1a; }
.fidelity-partial { background: #FFF3CD; color: #7A5D00; }
.fidelity-drift { background: #FCE6E6; color: #8b1d24; }
.spotify-btn { background: #1DB954; color: #fff; font-size: 12.5px;
  font-weight: 700; padding: 8px 18px; border-radius: 18px; }
.spotify-btn:hover { background: #1AA64B; }
.badge-transcript { background: #FFF3CD; color: #7A5D00; font-size: 10.5px;
  font-weight: 700; padding: 3px 10px; border-radius: 10px; margin-left: 8px;
  letter-spacing: 0.6px; }
.article-section { margin-bottom: 44px; scroll-margin-top: 84px; }
.article-section:target h2 { color: var(--gold); }
.article-section h2 { font-family: var(--serif); font-weight: 700;
  font-size: 27px; line-height: 1.2; margin: 0 0 18px; letter-spacing: -0.3px; }
.article-section p { font-size: 17.5px; line-height: 1.75; margin: 0 0 16px;
  font-family: var(--serif); }
.transcript-line { color: #2A2F3A; }
.clip { background: var(--navy); border-radius: 14px; padding: 14px 18px;
  display: flex; align-items: center; gap: 16px; margin: 18px 0 6px; }
.clip-label { color: var(--gold-soft); font-size: 12px; font-weight: 700;
  letter-spacing: 0.6px; white-space: nowrap; }
.clip audio { flex: 1; height: 36px; min-width: 0; }
.clip-error { color: var(--gold-soft); font-size: 13px; line-height: 1.5;
  font-style: italic; flex: 1; }
.clip-download { color: var(--gold-soft); font-size: 16px; line-height: 1;
  padding: 4px 8px; border-radius: 6px; opacity: 0.6;
  transition: opacity .15s, background .15s; text-decoration: none; }
.clip-download:hover { opacity: 1; background: rgba(218,165,32,0.12);
  color: var(--gold); }
.clip-source { display: inline-block; margin: 6px 0 0; font-size: 12px;
  color: var(--soft); font-style: italic; }
.clip-source:hover { color: var(--gold); text-decoration: underline; }

/* Lazy-gen: button placeholder shown for older articles whose TTS hasn't
   been pre-rendered. Click triggers on-demand synthesis (~10-30s, ~$0.06). */
.clip.clip-lazy { padding: 0; background: transparent; border: 1px dashed #2A3753;
  border-radius: 14px; transition: border-color .15s; }
.clip.clip-lazy:hover { border-color: var(--gold); }
.clip-generate { width: 100%; background: transparent; color: var(--gold-soft);
  border: none; padding: 14px 18px; cursor: pointer; font-family: var(--sans);
  display: flex; align-items: center; gap: 12px; text-align: left;
  border-radius: 14px; transition: background .15s, color .15s; }
.clip-generate:hover { background: rgba(218,165,32,0.06); color: var(--gold); }
.clip-generate-icon { font-size: 18px; line-height: 1; }
.clip-generate-label { font-size: 13px; font-weight: 700; letter-spacing: 0.6px;
  flex: 1; }
.clip-generate-hint { font-size: 11px; color: var(--soft); font-style: italic;
  white-space: nowrap; }
.clip-generate.is-loading { cursor: progress; pointer-events: none; }
.clip-generate.is-loading .clip-generate-icon {
  animation: clipPulse 1.2s ease-in-out infinite;
}
@keyframes clipPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.thread-link { display: inline-block; margin-top: 10px; font-size: 13px;
  font-weight: 600; color: var(--gold); }
.thread-link:hover { text-decoration: underline; }

/* Cross-show "Also covered in" footer per section */
.cross-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 12px 0 0; padding: 8px 0 0; border-top: 1px dashed var(--line);
  font-size: 12px; }
.cross-links-label { color: var(--soft); font-weight: 600;
  letter-spacing: 0.3px; }
.cross-link { padding: 3px 9px; border-radius: 10px; font-size: 10.5px;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  transition: opacity .12s; }
.cross-link:hover { opacity: 0.82; }

/* ── Report-an-error inline form ─────────────────────── */
.article-report { margin: 36px 0 8px;
  border-top: 1px solid var(--line); padding-top: 18px; }
.article-report-summary { cursor: pointer; font-size: 13px;
  font-weight: 600; color: var(--soft); list-style: none;
  padding: 6px 0; transition: color .15s; }
.article-report-summary:hover { color: var(--gold); }
.article-report-summary::-webkit-details-marker { display: none; }
.article-report[open] .article-report-summary { color: var(--gold); }
.article-report-form { display: flex; flex-direction: column; gap: 10px;
  margin-top: 14px; padding: 16px; background: var(--card);
  border: 1px solid var(--line); border-radius: 10px; }
.article-report-field { display: flex; flex-direction: column; gap: 4px;
  font-size: 12px; font-weight: 600; color: var(--soft); letter-spacing: 0.3px; }
.article-report-field input, .article-report-field select,
.article-report-field textarea { font-family: var(--sans); font-size: 14px;
  font-weight: 400; color: var(--ink); padding: 7px 9px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.article-report-field textarea { resize: vertical; min-height: 70px; }
.article-report-submit { background: var(--navy); color: var(--gold);
  border: none; padding: 9px 16px; border-radius: 6px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.6px;
  text-transform: uppercase; cursor: pointer; align-self: flex-start;
  transition: background .15s; }
.article-report-submit:hover { background: #15203A; }
.article-report-result { font-size: 13px; padding: 8px 10px; border-radius: 6px; }
.article-report-result.is-pending { color: var(--soft); }
.article-report-result.is-ok { color: #1a6332; background: #e8f4ec; }
.article-report-result.is-error { color: #8b1d24; background: #fce6e6; }

/* ── Corrections public list ─────────────────────────── */
.corrections-list { list-style: none; padding: 0; margin: 0;
  max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.correction-item { padding: 14px 16px; background: var(--card);
  border: 1px solid var(--line); border-radius: 8px; }
.correction-meta { display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px; }
.correction-date { font-size: 11.5px; color: var(--soft); }
.correction-link { font-size: 12px; color: var(--gold);
  font-weight: 600; margin-left: auto; }
.correction-summary { font-family: var(--serif); font-size: 15.5px;
  line-height: 1.5; margin: 0; color: var(--ink); }

/* ── Weekly brief specific ───────────────────────────── */
.weekly-section-title { font-family: var(--serif); font-weight: 800;
  font-size: 26px; margin: 36px 0 8px; padding-top: 18px;
  border-top: 2px solid var(--navy); letter-spacing: -0.3px; }
.weekly-brief .article-section h3 { font-family: var(--serif);
  font-weight: 700; font-size: 22px; line-height: 1.22; margin: 0 0 12px; }

/* ── Article sources (credibility block at the bottom) ── */
.article-sources { margin: 56px 0 24px; padding: 28px 0 0;
  border-top: 2px solid var(--navy); }
.article-sources-title { font-family: var(--serif); font-weight: 800;
  font-size: 22px; letter-spacing: -0.2px; margin: 0 0 6px; }
.article-sources-intro { font-size: 13px; color: var(--soft);
  font-style: italic; margin: 0 0 18px; }
.article-sources-list { list-style: none; counter-reset: src; padding: 0;
  margin: 0; display: flex; flex-direction: column; gap: 12px; }
.article-source { counter-increment: src; position: relative;
  padding: 12px 14px 12px 38px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--card);
  transition: border-color .12s; }
.article-source::before { content: counter(src);
  position: absolute; left: 12px; top: 14px;
  font-family: var(--serif); font-weight: 700; font-size: 13px;
  color: var(--gold); }
.article-source:hover { border-color: var(--gold); }
.article-source > a { display: flex; flex-direction: column; gap: 3px; }
.article-source-outlet { font-size: 10.5px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold);
  display: inline-block; }
.article-source-title { font-family: var(--serif); font-weight: 600;
  font-size: 15px; line-height: 1.3; color: var(--ink); }
.article-source:hover .article-source-title { color: var(--gold); }
.article-source-desc { font-size: 12.5px; color: var(--soft);
  line-height: 1.4; margin: 6px 0 0; }

/* ── Show / topic headers ─────────────────────────────── */
.show-header { margin: 44px 0 26px; }
.show-header h1 { font-family: var(--serif); font-weight: 800; font-size: 36px;
  margin: 8px 0 14px; }
.topic-section { max-width: 760px; }
.empty { color: var(--soft); padding: 30px 0; }

/* ── Footer ───────────────────────────────────────────── */
.site-footer { background: var(--navy); color: #8E99AC; margin-top: 60px;
  padding: 36px 0 44px; font-size: 13px; }
.foot-brand { font-family: var(--serif); color: var(--gold);
  letter-spacing: 5px; font-weight: 700; margin-bottom: 8px; }

/* ── Archive drawer ───────────────────────────────────── */
.archive-trigger { display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid #2A3753; color: var(--gold-soft);
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase; padding: 7px 14px 7px 11px;
  border-radius: 18px; cursor: pointer; transition: border-color .15s, color .15s; }
.archive-trigger:hover { border-color: var(--gold); color: var(--gold); }
.archive-icon { width: 13px; height: 13px; border: 1.5px solid currentColor;
  border-radius: 2px; position: relative; }
.archive-icon::before { content: ""; position: absolute; left: -1.5px; right: -1.5px;
  top: 2.5px; height: 1.5px; background: currentColor; }
.archive-icon::after { content: ""; position: absolute; left: 50%; top: 5.5px;
  width: 3px; height: 1.5px; background: currentColor; transform: translateX(-50%); }
.archive-label { line-height: 1; }

.archive-backdrop { position: fixed; inset: 0; background: rgba(7, 12, 24, 0.55);
  z-index: 90; opacity: 0; transition: opacity .28s ease;
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.archive-backdrop.is-open { opacity: 1; }

.archive-panel { position: fixed; top: 0; right: 0; height: 100dvh;
  width: min(440px, 100vw); background: #0D1627; color: #E7EBF2;
  border-left: 3px solid var(--gold); z-index: 100;
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column; outline: none;
  box-shadow: -20px 0 60px rgba(0,0,0,0.4); }
.archive-panel.is-open { transform: translateX(0); }

.archive-head { padding: 28px 28px 18px; border-bottom: 1px solid #1E2A44; }
.archive-title-row { display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px; }
.archive-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2.4px;
  text-transform: uppercase; color: var(--gold); }
.archive-close { background: transparent; border: none; color: #8E99AC;
  font-size: 28px; line-height: 1; cursor: pointer; padding: 4px 8px;
  border-radius: 50%; transition: color .15s, background .15s; }
.archive-close:hover { color: var(--gold); background: rgba(218,165,32,0.08); }
#archiveTitle { font-family: var(--serif); font-weight: 800; font-size: 24px;
  line-height: 1.18; margin: 0; color: #F4F6FA; }

.archive-tabs { display: flex; gap: 4px; padding: 0 20px;
  border-bottom: 1px solid #1E2A44; background: #0B1322; }
.archive-tab { flex: 1; background: transparent; border: none; color: #8E99AC;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.6px; padding: 14px 8px; cursor: pointer;
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.archive-tab:hover { color: #C6CEDB; }
.archive-tab.is-active { color: var(--gold); border-bottom-color: var(--gold); }

.archive-body { flex: 1; overflow-y: auto; padding: 22px 24px 40px;
  scrollbar-width: thin; scrollbar-color: #2A3753 transparent; }
.archive-body::-webkit-scrollbar { width: 6px; }
.archive-body::-webkit-scrollbar-thumb { background: #2A3753; border-radius: 3px; }
.archive-loading { color: #8E99AC; font-size: 13.5px; padding: 30px 0;
  text-align: center; font-style: italic; }

.archive-filter-row { padding: 4px 2px 16px; border-bottom: 1px solid #1A2236;
  margin-bottom: 14px; }
.filter-label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.8px;
  color: #8E99AC; text-transform: uppercase; }

.archive-years { display: flex; flex-direction: column; gap: 2px; }
.archive-year { border-bottom: 1px solid #1A2236; }
.archive-year > summary { list-style: none; cursor: pointer;
  padding: 14px 2px; display: flex; align-items: baseline;
  justify-content: space-between; gap: 12px;
  transition: color .15s; }
.archive-year > summary::-webkit-details-marker { display: none; }
.archive-year > summary::before { content: "▸"; color: var(--gold);
  font-size: 10px; margin-right: 10px; transition: transform .2s;
  display: inline-block; }
.archive-year[open] > summary::before { transform: rotate(90deg); }
.archive-year > summary:hover { color: var(--gold-soft); }
.archive-year-num { font-family: var(--serif); font-weight: 700; font-size: 19px;
  color: #F4F6FA; flex: 1; }
.archive-year-count { font-size: 11.5px; color: #8E99AC; font-weight: 600; }

.archive-months { list-style: none; padding: 0 0 12px 18px; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.archive-month-btn { width: 100%; background: transparent; border: 1px solid #1E2A44;
  color: #C6CEDB; font-family: var(--sans); font-size: 13px; font-weight: 500;
  padding: 10px 12px; text-align: left; cursor: pointer; border-radius: 8px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  transition: border-color .15s, color .15s, background .15s; }
.archive-month-btn:hover { border-color: var(--gold);
  background: rgba(218,165,32,0.06); color: var(--gold-soft); }
.archive-month.is-current .archive-month-btn { border-color: var(--gold);
  color: var(--gold); }
.archive-month-name { font-weight: 600; }
.archive-month-count { font-size: 11px; color: #6B7790; }
.archive-month-btn:hover .archive-month-count { color: var(--gold-soft); }

.archive-back-row { display: flex; align-items: center; gap: 14px;
  padding: 4px 0 16px; border-bottom: 1px solid #1A2236; margin-bottom: 14px; }
.archive-back { background: transparent; border: 1px solid #2A3753;
  color: #C6CEDB; font-family: var(--sans); font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: 14px; cursor: pointer;
  transition: border-color .15s, color .15s; }
.archive-back:hover { border-color: var(--gold); color: var(--gold); }
.archive-month-title { font-family: var(--serif); font-weight: 700; font-size: 16px;
  color: #F4F6FA; }

.archive-episodes { list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px; }
.archive-ep a { display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 4px; border-bottom: 1px solid #161E2F;
  transition: background .15s; }
.archive-ep a:hover { background: rgba(218,165,32,0.04); }
.archive-ep-day { font-family: var(--serif); font-weight: 700; font-size: 22px;
  color: var(--gold); min-width: 32px; line-height: 1; padding-top: 2px; }
.archive-ep-body { flex: 1; display: flex; flex-direction: column; gap: 6px;
  min-width: 0; }
.archive-ep-show { font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 2px 8px; border-radius: 10px;
  align-self: flex-start; }
.archive-ep-head { font-family: var(--serif); font-weight: 600; font-size: 14.5px;
  line-height: 1.35; color: #E7EBF2; }
.archive-ep a:hover .archive-ep-head { color: var(--gold-soft); }

.archive-shows-list { display: flex; flex-direction: column; gap: 10px; }
.archive-show-card { background: transparent; border: 1px solid #1E2A44;
  color: #E7EBF2; font-family: var(--sans); text-align: left; cursor: pointer;
  padding: 16px 18px; border-radius: 12px;
  display: flex; flex-direction: column; gap: 4px;
  transition: border-color .15s, background .15s; }
.archive-show-card:hover { border-color: var(--gold);
  background: rgba(218,165,32,0.05); }
.archive-show-card.is-active { border-color: var(--gold);
  background: rgba(218,165,32,0.08); }
.archive-show-name { font-family: var(--serif); font-weight: 700; font-size: 17px;
  color: #F4F6FA; }
.archive-show-card.is-active .archive-show-name { color: var(--gold); }
.archive-show-hint { font-size: 12.5px; color: #8E99AC; font-style: italic; }

.archive-topic-cloud { display: flex; flex-wrap: wrap; gap: 8px 10px;
  padding: 4px 0; line-height: 1.5; }
.archive-topic-chip { display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.04); color: #E7EBF2; padding: 6px 12px;
  border-radius: 14px; border: 1px solid #1E2A44;
  font-family: var(--sans); font-weight: 500;
  transition: border-color .15s, color .15s, background .15s; }
.archive-topic-chip:hover { border-color: var(--gold); color: var(--gold);
  background: rgba(218,165,32,0.08); }
.topic-count { font-size: 10.5px; color: #6B7790; font-weight: 600;
  padding: 1px 6px; background: rgba(255,255,255,0.06); border-radius: 8px; }
.archive-topic-chip:hover .topic-count { color: var(--gold-soft); }

/* ── Ask AI (Perplexity-style RAG) ────────────────────── */
.search { display: flex; align-items: center; gap: 8px; }
.ask-ai-btn { background: transparent; color: var(--gold);
  border: 1px solid var(--gold); border-radius: 18px;
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.8px; padding: 7px 14px; cursor: pointer;
  transition: background .15s, color .15s; }
.ask-ai-btn:hover { background: var(--gold); color: var(--navy); }

.ask-page { max-width: 820px; margin: 40px auto 80px; }
.ask-header { margin-bottom: 28px; }
.ask-title { font-family: var(--serif); font-weight: 800; font-size: 36px;
  line-height: 1.12; letter-spacing: -0.5px; margin: 8px 0 12px; }
.ask-sub { font-size: 15px; line-height: 1.55; color: var(--soft);
  margin: 0 0 22px; max-width: 640px; }
.ask-form { display: flex; gap: 6px; align-items: stretch;
  background: var(--card); border: 2px solid var(--line); border-radius: 14px;
  padding: 6px; transition: border-color .15s; }
.ask-mic { background: transparent; border: none; color: var(--soft);
  border-radius: 10px; padding: 8px 10px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .15s, background .15s; }
.ask-mic:hover { color: var(--gold); background: rgba(218,165,32,0.08); }
.ask-mic.is-recording { color: #b81d1d; background: rgba(184,29,29,0.10);
  animation: askMicPulse 1.2s ease-in-out infinite; }
@keyframes askMicPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184,29,29,0.30); }
  50% { box-shadow: 0 0 0 8px rgba(184,29,29,0); }
}
.ask-mic-hint { margin-top: 8px; padding: 6px 12px; border-radius: 8px;
  font-size: 12.5px; font-style: italic; color: var(--soft); }
.ask-mic-hint[data-kind="error"] { color: #8b1d24; background: #fce6e6; }
.ask-mic-hint[data-kind="recording"] { color: #b81d1d; }
.ask-mic-hint[data-kind="busy"] { color: var(--gold); }
.ask-form:focus-within { border-color: var(--gold); }
.ask-input { flex: 1; border: none; outline: none; background: transparent;
  font-family: var(--serif); font-size: 18px; padding: 12px 14px; color: var(--ink); }
.ask-input::placeholder { color: #8E99AC; font-style: italic; }
.ask-submit { background: var(--navy); color: var(--gold);
  border: none; border-radius: 10px; padding: 10px 22px;
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; cursor: pointer;
  transition: background .15s; }
.ask-submit:hover { background: #15203A; }

.ask-empty { margin-top: 30px; }
.ask-empty-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--soft); margin: 0 0 14px; }
.ask-examples { display: flex; flex-direction: column; gap: 10px; }
.ask-example { background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 20px; font-family: var(--serif);
  font-size: 17px; color: var(--ink); transition: border-color .15s, color .15s; }
.ask-example:hover { border-color: var(--gold); color: var(--gold); }

.ask-result { margin-top: 24px; }
.ask-thinking { display: flex; align-items: center; gap: 12px;
  color: var(--soft); font-size: 14px; font-style: italic; padding: 16px 0; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold); animation: askPulse 1.4s ease-in-out infinite; }
@keyframes askPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.ask-answer { background: var(--card); border: 1px solid var(--line);
  border-left: 4px solid var(--gold); border-radius: 12px;
  padding: 28px 32px; margin-bottom: 32px; }
.ask-answer p { font-family: var(--serif); font-size: 18px; line-height: 1.7;
  color: var(--ink); margin: 0 0 18px; }
.ask-answer p:last-child { margin-bottom: 0; }
.ask-citation { font-family: var(--sans); font-size: 10.5px; font-weight: 700;
  margin: 0 1px 0 2px; vertical-align: super; line-height: 1; }
.ask-citation a { display: inline-block; background: var(--gold-soft);
  color: var(--navy); padding: 1px 6px; border-radius: 8px;
  min-width: 16px; text-align: center; transition: background .15s; }
.ask-citation a:hover { background: var(--gold); color: var(--card); }

.ask-abstain { background: #FFF8E6; border: 1px solid var(--gold-soft);
  border-radius: 12px; padding: 24px 28px; margin-bottom: 32px; }
.ask-abstain-msg { font-family: var(--serif); font-size: 17px;
  line-height: 1.5; color: #5A4A14; margin: 0 0 14px; font-style: italic; }
.ask-related-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-related-chip { background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 6px 12px; font-size: 13px; font-weight: 500;
  color: var(--ink); transition: border-color .15s, color .15s; }
.ask-related-chip:hover { border-color: var(--gold); color: var(--gold); }
.ask-related-count { font-size: 11px; color: var(--soft); margin-left: 4px;
  font-weight: 600; }

.ask-sources { margin-top: 8px; }
.ask-sources-title { font-family: var(--serif); font-weight: 700; font-size: 22px;
  margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--navy); }
.ask-sources-list { list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 16px; }
.ask-src { display: flex; gap: 18px; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px;
  scroll-margin-top: 84px; transition: border-color .15s; }
.ask-src:target { border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(218,165,32,0.15); }
.ask-src-num { font-family: var(--serif); font-weight: 800; font-size: 22px;
  color: var(--gold); min-width: 26px; line-height: 1; padding-top: 4px; }
.ask-src-body { flex: 1; display: flex; flex-direction: column; gap: 8px;
  min-width: 0; }
.ask-src-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ask-src-show { font-size: 10.5px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 3px 9px; border-radius: 10px; }
.ask-src-date { font-size: 12.5px; color: var(--soft); }
.ask-src-headline { font-family: var(--serif); font-weight: 700; font-size: 17px;
  line-height: 1.3; color: var(--ink); }
.ask-src-headline:hover { color: var(--gold); }
.ask-src-snip { font-size: 13.5px; line-height: 1.55; color: var(--soft);
  margin: 0; }
.ask-src-clip { background: var(--navy); border-radius: 10px; padding: 8px 12px; }
.ask-src-clip audio { width: 100%; height: 32px; }
.ask-src-link { font-size: 12.5px; font-weight: 600; color: var(--gold);
  align-self: flex-start; }
.ask-src-link:hover { text-decoration: underline; }

/* Search→Ask bridge banner */
.ask-bridge { display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(90deg, rgba(218,165,32,0.10), rgba(218,165,32,0.02));
  border: 1px solid var(--gold-soft); color: var(--ink);
  border-radius: 12px; padding: 10px 16px; margin-bottom: 18px;
  font-size: 14px; font-weight: 500; transition: border-color .15s; }
.ask-bridge:hover { border-color: var(--gold); }
.ask-bridge em { color: var(--gold); font-style: italic; }
.ask-bridge-icon { color: var(--gold); font-size: 14px; }

/* ── Reduced-motion: respect the user's OS preference ─── */
@media (prefers-reduced-motion: reduce) {
  .archive-panel { transition: none; }
  .archive-backdrop { transition: none; }
  .pulse-dot { animation: none; opacity: 0.6; }
  * { animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important; }
}

/* ── Mobile ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .archive-panel { width: 100vw; border-left: none; }
}
@media (max-width: 900px) {
  .masthead .wrap { flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 10px; }
  .search { width: 100%; flex-wrap: wrap; }
  .search input { width: 100%; }
  .ask-ai-btn { width: 100%; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-lead { min-height: 270px; }
  .hero-lead h2 { font-size: 28px; }
  .two-col { grid-template-columns: 1fr; }
  .article h1 { font-size: 31px; }
  .stream-item { grid-template-columns: 1fr; gap: 4px; }
  .ask-title { font-size: 28px; }
  .ask-form { flex-direction: column; padding: 8px; }
  .ask-input { font-size: 16px; }
  .ask-submit { width: 100%; padding: 12px; }
  .ask-answer { padding: 22px 20px; }
  .ask-answer p { font-size: 16.5px; }
  .ask-src { flex-direction: column; gap: 12px; padding: 16px; }
  .ask-src-num { padding-top: 0; }
  .story-item { flex-direction: column; gap: 12px; }
  .story-thumb { width: 100%; height: 200px; }
  .section-hero img { border-radius: 10px; }
}

/* ── /news/admin/health dashboard ─────────────────────────────────────────── */
.admin-health { padding: 32px 22px 80px; font-family: var(--sans); }
.admin-title { font-family: var(--serif); font-size: 32px; font-weight: 800;
  color: var(--navy); margin: 0 0 18px; letter-spacing: -0.5px; }
.admin-banner { padding: 14px 18px; border-radius: 8px; margin-bottom: 26px;
  font-size: 14px; font-weight: 500; }
.admin-banner-ok { background: #E8F4EA; color: #1B5E20; border-left: 4px solid #2E7D32; }
.admin-banner-warn { background: #FFF4E5; color: #7A4F00; border-left: 4px solid #DAA520; }
.admin-banner-fail { background: #FBE9E7; color: #8B1414; border-left: 4px solid #C62828; }
.admin-banner code { background: rgba(0,0,0,.06); padding: 1px 6px; border-radius: 4px;
  font-size: 12px; }
.admin-section { margin-bottom: 36px; }
.admin-section h2 { font-family: var(--serif); font-size: 22px; font-weight: 700;
  color: var(--navy); margin: 0 0 12px; }
.admin-section h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--soft); margin: 22px 0 8px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px;
  background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.admin-table th { background: var(--navy); color: white; text-align: left;
  padding: 10px 12px; font-weight: 600; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.04em; }
.admin-table td { padding: 9px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.admin-table code { background: rgba(11,17,32,.06); padding: 2px 6px; border-radius: 3px;
  font-size: 12px; font-family: ui-monospace, "SF Mono", Consolas, monospace; }
.admin-table .error-cell { color: #8B1414; font-size: 12px; max-width: 260px;
  overflow: hidden; text-overflow: ellipsis; }
.row-ok td { background: var(--card); }
.row-fail td { background: #FBE9E7; }
.row-missing td { background: #FFF7DC; color: var(--soft); }
.badge { display: inline-block; padding: 2px 8px; border-radius: 10px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.badge-ok { background: #2E7D32; color: white; }
.badge-fail { background: #C62828; color: white; }
.badge-missing { background: #DAA520; color: var(--navy); }
.admin-cost-header { display: flex; gap: 32px; align-items: baseline;
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  padding: 18px 22px; margin-bottom: 12px; }
.cost-today, .cost-rolling { display: flex; gap: 10px; align-items: baseline; }
.cost-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--soft); font-weight: 600; }
.cost-value { font-family: var(--serif); font-size: 28px; font-weight: 700;
  color: var(--navy); }
.cost-cap { color: var(--soft); font-size: 13px; }
.cost-over .cost-value { color: #C62828; }
.admin-trend td:last-child { width: 50%; }
.trend-bar-cell { padding: 6px 12px; }
.trend-bar { height: 8px; background: var(--gold); border-radius: 4px; min-width: 1px; }
.muted { color: var(--soft); }
.small { font-size: 12px; }


/* ─── Per-section soft-fail (unverified) + Compare-with-broadcast toggle ─── */
.article-section.is-flagged { }
.unverified-notice {
  margin: 0 0 1rem;
  padding: .7rem .9rem;
  border-left: 4px solid #c77d00;
  background: #fff7e6;
  border-radius: 4px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .9rem;
  line-height: 1.45;
  color: #5a4300;
}
.unverified-notice strong { color: #8a5c00; }
.verify-source {
  margin: .6rem 0 1.1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .88rem;
}
.verify-source > summary {
  cursor: pointer;
  color: #6b5a2e;
  font-weight: 600;
  padding: .35rem 0;
  user-select: none;
}
.verify-source > summary:hover { color: #8a5c00; }
.verify-source-body {
  margin-top: .5rem;
  padding: .75rem .9rem;
  background: #faf7f0;
  border: 1px solid #ece3d0;
  border-radius: 6px;
}
.verify-source-body .transcript-line {
  margin: 0 0 .55rem;
  color: #444;
  font-size: .92rem;
  line-height: 1.5;
}

/* ─── Share / copy-link + story permalink ─── */
.story-share {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin: 1rem 0 .25rem;
}
.story-share-top { margin: .35rem 0 1.25rem; }
.share-btn {
  appearance: none;
  border: 1px solid #d5d9e0;
  background: #fff;
  color: #1a2b4a;
  font: 600 .85rem 'Inter', system-ui, sans-serif;
  padding: .4rem .8rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.share-btn:hover { background: #f2f5fa; border-color: #b9c2d0; }
.share-btn.is-copied { background: #10633a; border-color: #10633a; color: #fff; }
.story-permalink {
  font: 600 .85rem 'Inter', system-ui, sans-serif;
  color: #1a5fb4;
  text-decoration: none;
}
.story-permalink:hover { text-decoration: underline; }

/* ─── Standalone story page ─── */
.story-page { max-width: 720px; }
.story-more {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e6e6e6;
}
.story-more-edition {
  font: 600 .95rem 'Inter', system-ui, sans-serif;
  color: #1a5fb4;
  text-decoration: none;
}
.story-more-edition:hover { text-decoration: underline; }

/* ─── "Ask about this article with Perplexity" deep-link button ─── */
.ask-pplx-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font: 600 .85rem 'Inter', system-ui, sans-serif;
  color: #20808d;                 /* Perplexity teal */
  background: #f0f8f9;
  border: 1px solid #bfe0e4;
  border-radius: 999px;
  padding: .4rem .85rem;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.ask-pplx-btn:hover {
  background: #20808d;
  border-color: #20808d;
  color: #fff;
}
.ask-pplx-icon { font-size: 1rem; line-height: 1; }

/* Toast shown on mobile after the full article is copied for pasting into Perplexity */
.pplx-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  max-width: 90vw;
  background: #20808d;
  color: #fff;
  font: 600 .9rem 'Inter', system-ui, sans-serif;
  line-height: 1.35;
  padding: .75rem 1.05rem;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .28);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.pplx-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── Verification Card — the "Verified AI" trust signal ──────────────────
   Renders the pipeline's own audit trail (status, sources, fact-check) that
   already lives in the article JSON. The one thing legacy outlets can't show. */
.verify-card {
  margin: 26px 0 6px;
  border: 1px solid #dfe6e4;
  border-radius: 12px;
  background: #fbfcfc;
  overflow: hidden;
}
.verify-card > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-user-select: none;
  user-select: none;
}
.verify-card > summary::-webkit-details-marker { display: none; }
.vc-shield { font-size: 1.05rem; line-height: 1; }
.vc-title { font-weight: 700; font-size: .9rem; color: #16211d; letter-spacing: .01em; }
.vc-tag {
  font: 600 .62rem/1 'Inter', system-ui, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #0f7b6c;
  background: #e4f5f1;
  border: 1px solid #bfe6de;
  padding: 4px 8px;
  border-radius: 999px;
}
.vc-chev {
  margin-left: auto;
  margin-right: 4px;
  width: 8px; height: 8px;
  flex: none;
  border-right: 2px solid #90a0a0;
  border-bottom: 2px solid #90a0a0;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.verify-card[open] > summary .vc-chev { transform: rotate(-135deg); }
.vc-body { padding: 2px 16px 18px; border-top: 1px solid #eef2f1; }
.vc-intro {
  font-size: .86rem;
  line-height: 1.5;
  color: #5a6660;
  margin: 14px 0 16px;
  max-width: 62ch;
}
.vc-rows {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid #eef2f1;
  background: #eef2f1;
}
.vc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 11px 14px;
  font-size: .88rem;
}
.vc-k {
  flex: none;
  width: 104px;
  font: 600 .64rem/1.2 'Inter', system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8a9691;
}
.vc-v { color: #3a4642; line-height: 1.4; }
.vc-badge {
  margin-left: auto;
  flex: none;
  white-space: nowrap;
  font: 600 .64rem/1 'Inter', system-ui, sans-serif;
  letter-spacing: .05em;
  padding: 5px 9px;
  border-radius: 6px;
  color: #5a6660;
  background: #f0f3f2;
  border: 1px solid #e3e8e6;
}
.vc-badge.ok { color: #0f7b6c; background: #e4f5f1; border-color: #bfe6de; }
.vc-badge.warn { color: #8a5a00; background: #fcf3e0; border-color: #f0dcae; }
@media (max-width: 560px) {
  .vc-row { flex-wrap: wrap; }
  .vc-k { width: 100%; }
  .vc-badge { margin-left: 0; }
}

/* ── AI editorial covers (Replicate FLUX) ──────────────────────────────── */
.edition-hero { margin: 26px 0 10px; }
.edition-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
  background: #0b1120;
}
.edition-hero figcaption {
  font: italic .78rem/1.4 Georgia, 'Times New Roman', serif;
  color: #9a938a;
  margin-top: 8px;
  text-align: right;
}
.hero-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
  background: #05070d;
}
.hero-lead .hero-card-img { aspect-ratio: 16 / 10; }
