/* Operators Said. Phone first: one column, generous tap targets. Wider screens get more room, not a
   different layout. Claims are set in the serif; who said them, and everything else, in the sans. */
:root {
  --bg: #fffdfa;
  --surface: #ffffff;
  --text: #1b1716;
  --muted: #5e5653;
  --border: #dad6d2;
  --rule: #1b1716;
  --accent: #c8391a;
  --accent-text: #ffffff;
  --accent-soft: #fbe6df;
  --chip: #f4f0ec;
  --caution: #7a5200;
  --caution-soft: #fbf0d8;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141312;
    --surface: #1c1a19;
    --text: #f1eeea;
    --muted: #aca6a0;
    --border: #36322f;
    --rule: #f1eeea;
    --accent: #ff8f6b;
    --accent-text: #141312;
    --accent-soft: #5a2616;
    --chip: #262321;
    --caution: #f0b75a;
    --caution-soft: #3a2e14;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--sans); }
a { color: inherit; text-underline-offset: 2px; }
a:hover { color: var(--accent); }
main { max-width: 760px; margin: 0 auto; padding: 22px 20px 56px; display: flex; flex-direction: column; gap: 16px; }
section { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
h1 { font: 400 clamp(2.1rem, 6.2vw, 3.3rem)/1.06 var(--serif); letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h2 { font-size: 0.94rem; font-weight: 600; margin: 0; }
h3 { font-size: 1rem; margin: 0; }
p, ul, ol { margin: 0; }
ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.muted { color: var(--muted); font-size: 0.88rem; font-weight: 400; }
.lead { font-size: 1.12rem; line-height: 1.5; }
.caution { color: var(--caution); font-size: 0.9rem; }
.eyebrow { color: var(--muted); font-size: 0.86rem; }
.prose { display: flex; flex-direction: column; gap: 12px; max-width: 65ch; }
.prose h2 { margin-top: 16px; }
.select { user-select: all; }
/* The word the site is named for: set in the quoted voice wherever someone is credited. */
.said { font: italic 400 1.28em/1 var(--serif); color: var(--accent); }
/* The one figure in a point worth remembering. */
mark { background: var(--accent-soft); color: inherit; padding: 0 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Header: the name on the left, the four sections on the right, wrapping to two rows on a phone. */
header.site { border-bottom: 1px solid var(--rule); padding: 10px 20px 0; }
.site-row { max-width: 760px; width: 100%; margin: 0 auto; display: flex; align-items: baseline; gap: 0 22px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; color: var(--text); text-decoration: none; white-space: nowrap; margin-right: auto; padding: 4px 0; }
.brand:hover { color: var(--text); }
.brand .said { font-size: 1.32em; }
header.site nav { display: flex; gap: 0 20px; flex-wrap: wrap; font-size: 0.9rem; }
header.site nav a { color: var(--muted); text-decoration: none; padding: 12px 0; }
header.site nav a[aria-current] { color: var(--text); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.manage { position: relative; font-size: 0.9rem; }
.manage summary { cursor: pointer; color: var(--muted); list-style: none; padding: 12px 0; }
.manage summary::after { content: " ▾"; }
.manage .menu { position: absolute; right: 0; top: 100%; z-index: 2; background: var(--surface); border: 1px solid var(--rule); padding: 6px; display: flex; flex-direction: column; min-width: 170px; }
.manage .menu a { padding: 10px; text-decoration: none; color: var(--text); }
.manage .menu a:hover { background: var(--chip); }
footer.site { max-width: 760px; margin: 0 auto; padding: 16px 20px 44px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); }

.button { display: inline-block; padding: 11px 18px; border: 1px solid var(--text); border-radius: 0; background: var(--text); color: var(--bg); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.button:hover { color: var(--bg); opacity: 0.85; }
.button.quiet { background: transparent; color: var(--text); }
.button.quiet:hover { color: var(--text); background: var(--chip); opacity: 1; }
.button[disabled] { opacity: 0.4; cursor: default; }
button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }

/* Lists: hairlines between rows, a full rule above the first. No boxes. */
.rows { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.row { display: flex; flex-direction: column; gap: 3px; padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; }
.row:hover { color: var(--text); }
.row:hover strong { text-decoration: underline; text-decoration-color: var(--accent); }
.row-meta { color: var(--muted); font-size: 0.86rem; }
.row strong { font-weight: 600; line-height: 1.4; }
.row .takeaway { color: var(--muted); font-size: 0.94rem; }
.clamp, .clamp3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.clamp { -webkit-line-clamp: 2; line-clamp: 2; }
.clamp3 { -webkit-line-clamp: 3; line-clamp: 3; }
.intro { color: var(--muted); max-width: 60ch; font-size: 1rem; }

/* The weekly briefing: a headline, then who said what. */
.briefing { margin-top: 0; gap: 22px; }
.points { list-style: none; padding: 0; gap: 0; border-top: 1px solid var(--rule); }
.points li { padding: 20px 0 12px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.points li:last-child { border-bottom-color: var(--rule); }
.points .who { font-size: 0.94rem; }
.points .who span:not(.said) { color: var(--muted); }
.points .what { font-size: 1.16rem; line-height: 1.45; }
.points .under { display: flex; flex-wrap: wrap; gap: 0 18px; font-size: 0.84rem; color: var(--muted); align-items: baseline; }
.points .under > a { padding: 8px 0; }
.topic-link { font-size: 0.84rem; white-space: nowrap; }

/* Positions: the statement in the serif, then one dot for each independent voice behind it. */
.statement { font: 400 1.62rem/1.18 var(--serif); }
.support { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--muted); font-size: 0.84rem; }
.dots { display: inline-flex; gap: 5px; align-items: center; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); display: block; }
.dots.other i { background: var(--text); }
.rising { color: var(--accent); font-weight: 600; }
.brief ol { list-style: none; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.brief li { padding: 20px 0 14px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.brief li p { color: var(--muted); font-size: 0.96rem; }
/* First-hand accounts: who, then what they did, then their own words. */
.accounts { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.account { padding: 18px 0 16px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.account .who { font-size: 0.92rem; }
.account .who span:not(.said) { color: var(--muted); }
.account a.statement { font-size: 1.4rem; text-decoration: none; }
.account a.statement:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; }
.account blockquote { font-size: 1.1rem; }
.positions { list-style: none; padding: 0; gap: 0; margin-top: 10px; }
.positions li { border-top: 1px solid var(--border); padding: 16px 0 10px; display: flex; flex-direction: column; gap: 6px; }
.positions .statement { font-size: 1.35rem; }
.debate { border: 1px solid var(--rule); display: flex; flex-direction: column; }
.debate h3 { padding: 16px 20px 0; }
.debate > .muted { padding: 12px 20px; border-top: 1px solid var(--border); }
.sides { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.side { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.side + .side { background: var(--chip); }
.side .statement { font-size: 1.45rem; }
.sides > p { padding: 16px 20px; font-size: 0.95rem; }
.sides > p + p { background: var(--chip); }
.fold .debate { margin-top: 10px; }
h2 .muted { font-weight: 400; }

/* Topics: a plain list, each topic's name in the serif with its best-supported position beneath. */
.tiles { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; }
.tile strong { font: 400 1.7rem/1.1 var(--serif); }
.tile:hover { color: var(--text); }
.tile:hover strong { color: var(--accent); }
.tile-count { color: var(--muted); font-size: 0.8rem; }

/* An insight leads with who said it; opening it shows the detail and their words. */
.insight { border-bottom: 1px solid var(--border); }
.insight summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; padding: 13px 0; cursor: pointer; list-style: none; }
.insight summary::after { content: "+"; grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--muted); font-size: 1.2rem; line-height: 1; width: 1em; text-align: center; }
.insight[open] summary::after { content: "−"; }
.insight summary::-webkit-details-marker { display: none; }
.inferred { font-style: italic; }
.byline { color: var(--muted); font-size: 0.86rem; grid-column: 1; }
.byline strong { color: var(--text); font-weight: 600; font-size: 0.94rem; }
.claim { line-height: 1.45; grid-column: 1; }
.more { padding: 0 0 16px; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 0.95rem; }
blockquote { margin: 0; padding-left: 14px; box-shadow: inset 3px 0 0 var(--accent); color: var(--muted); font: italic 400 1.22rem/1.35 var(--serif); }
.links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 18px; font-size: 0.86rem; }
.links a { padding: 8px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0 16px; align-items: baseline; font-size: 0.86rem; }
.chip { color: var(--muted); text-decoration: none; white-space: nowrap; }
.chip.caution { color: var(--caution); }
.chip.pick { padding: 8px 0; text-decoration: underline; text-decoration-color: var(--border); }
.chip.pick[aria-current] { color: var(--text); font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 28px; }
.fold { border-top: 1px solid var(--border); padding-top: 12px; }
.fold summary { cursor: pointer; font-weight: 600; }
.fold ul, .fold p { margin-top: 10px; }
.editor { border-top: 2px dashed var(--border); padding-top: 18px; margin-top: 32px; }
.editor-action { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }

.notice { border: 1px solid var(--rule); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.notice.failed { border-color: var(--caution); }
p.notice { display: block; }
.empty { color: var(--muted); padding: 24px 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.error { color: var(--caution); }

form.stack { display: flex; flex-direction: column; gap: 14px; }
form.narrow { max-width: 360px; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 0.9rem; font-weight: 600; }
input[type="text"], input[type="url"], input[type="date"], input[type="search"], input[type="password"], input[type="number"], select, textarea {
  font: inherit; font-weight: 400; color: var(--text); background: var(--surface); border: 1px solid var(--muted); border-radius: 0; padding: 10px 12px; width: 100%;
}
form.filters { display: flex; flex-wrap: wrap; gap: 10px; }
form.filters input[type="search"] { flex: 999 1 260px; width: auto; font-size: 1.15rem; border-color: var(--rule); }
form.filters select { flex: 1 1 150px; width: auto; min-width: 0; max-width: 100%; font-size: 0.9rem; padding: 8px 10px; }
label.search-prompt { font: 400 clamp(1.8rem, 5vw, 2.6rem)/1.1 var(--serif); flex: 1 1 100%; display: block; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
form.inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
label.inline { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
label.inline input { width: 5em; }
label.inline input[type="date"] { width: 10em; }
label.inline input[type="checkbox"] { width: auto; }

table.feed { width: 100%; border-collapse: collapse; }
table.feed td { padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.feed td.date { white-space: nowrap; color: var(--muted); font-size: 0.9rem; }
table.feed td.action { text-align: right; white-space: nowrap; }
.transcript { white-space: pre-wrap; font: 0.85rem/1.5 ui-monospace, Menlo, monospace; color: var(--muted); }
form.danger { margin-top: 8px; }

/* Landing on a section from a filter link should not hide its heading under the top of the window. */
section[id] { scroll-margin-top: 12px; }
#evidence.loading { opacity: 0.5; }
.jump { display: flex; flex-wrap: wrap; gap: 0 18px; font-size: 0.88rem; color: var(--muted); border-bottom: 1px solid var(--border); }
.jump a { padding: 10px 0; }
.sources { font-size: 0.88rem; }
.sources > summary { cursor: pointer; color: var(--muted); text-decoration: underline; padding: 8px 0; list-style: none; display: inline-block; }
.sources > summary::-webkit-details-marker { display: none; }
.sources[open] { display: flex; flex-direction: column; margin-bottom: 8px; }
.sources[open] > summary { color: var(--text); }
.sources .insight:first-of-type { border-top: 1px solid var(--border); }
.draft { border: 1px dashed var(--muted); padding: 14px; }
.verdict { font-size: 0.88rem; color: var(--text); font-weight: 600; margin-bottom: 8px; }
.verdict.caution { color: var(--caution); }
.verdict.muted { color: var(--muted); font-weight: 400; }

/* Coverage: a week-by-show grid that scrolls sideways on a phone. */
.scroll { overflow-x: auto; }
table.grid { border-collapse: collapse; font-size: 0.88rem; min-width: 100%; }
table.grid th, table.grid td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.grid th { color: var(--muted); font-weight: 600; }
table.grid td.gap { color: var(--caution); font-weight: 600; }

/* Week pages: step to the week before or after from the top of the page. */
.weeknav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 10px; font-size: 0.86rem; color: var(--muted); }
.weeknav a { padding: 10px 0; }
.weeknav > :last-child { text-align: right; }
.weeknav strong { font-weight: 400; text-align: center; }
.week-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.week-heading a { font-size: 0.86rem; font-weight: 400; }
