/* ============================================================
   大模型编年史 · LLM Chronicle — 设计系统
   编辑型编年史（Editorial Chronicle）：暖纸底 + 墨色 + 单一金调强调
   避免 AI-slop：不用纯黑纯白、不用青紫霓虹渐变、不用发光
   ============================================================ */

:root {
  --paper: #f4f1ea;
  --paper-2: #efe9dc;
  --surface: #fffdf8;
  --ink: #1c1b17;
  --ink-soft: #454037;
  --muted: #7c7568;
  --line: #e4ddcd;
  --line-strong: #d3c8b2;

  --accent: #8a5a00;          /* 金 */
  --accent-ink: #6b4600;
  --accent-soft: #f5ead0;

  --region-cn: #cf3a3a;       /* 中国 红 */
  --region-us: #2f6fb0;       /* 美国 蓝 */
  --region-eu: #2f9e6b;       /* 欧洲 绿 */
  --region-ot: #8b6fc4;       /* 其他 紫 */

  --prov-official: #0e7c86;   /* 官方 青 */
  --prov-third: #cf8a17;      /* 三方 琥珀 */
  --prov-guess: #c0607a;      /* 推测 玫瑰 */

  --q-a: #0e7c86;
  --q-b: #2f6fb0;
  --q-c: #cf8a17;
  --q-d: #c0607a;

  --shadow-sm: 0 1px 2px rgba(28, 27, 23, .05);
  --shadow: 0 1px 2px rgba(28, 27, 23, .05), 0 10px 30px -16px rgba(28, 27, 23, .22);
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.165, 0.84, 0.44, 1);

  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Archivo", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  font-size: 22px; color: var(--accent);
  transform: translateY(-1px);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-zh { font-family: var(--display); font-weight: 900; font-size: 21px; letter-spacing: .01em; }
.brand-en { font-size: 10px; letter-spacing: .32em; color: var(--muted); font-weight: 500; }
.header-meta { display: flex; align-items: center; gap: 18px; }
.legend { display: flex; gap: 14px; align-items: center; }
.legend .lg { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-soft); }
.legend .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot.official { background: var(--prov-official); }
.dot.third { background: var(--prov-third); }
.dot.guess { background: var(--prov-guess); }
.link-btn {
  background: none; border: none; color: var(--accent-ink);
  font-family: var(--sans); font-size: 14px; cursor: pointer; padding: 4px 2px;
  border-bottom: 1px solid transparent;
}
a.link-btn { display: inline-flex; align-items: center; }
.link-btn:hover { border-bottom-color: var(--accent); }
.utility-menu { position: relative; }
.utility-menu summary {
  list-style: none; cursor: pointer; user-select: none;
  padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--surface); color: var(--ink); font: 500 13px var(--sans);
}
.utility-menu summary::-webkit-details-marker { display: none; }
.utility-menu summary::after { content: " +"; color: var(--accent); }
.utility-menu[open] summary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.utility-menu[open] summary::after { content: " −"; }
.utility-popover {
  position: absolute; z-index: 70; right: 0; top: calc(100% + 10px); width: 176px;
  padding: 9px; display: flex; flex-direction: column; align-items: stretch; gap: 2px;
  border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow);
}
.utility-popover .link-btn { width: 100%; padding: 9px 10px; border: none; border-radius: 7px; color: var(--ink); text-align: left; }
.utility-popover .link-btn:hover { background: var(--accent-soft); text-decoration: none; }

/* ---------- Tabs ---------- */
.view-tabs { display: flex; gap: 4px; margin-top: 18px; border-bottom: 1px solid var(--line); }
.tab {
  appearance: none; background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  color: var(--muted); padding: 12px 18px 14px; position: relative;
  transition: color .25s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); }
.tab.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px;
  background: var(--accent); border-radius: 2px;
}

/* ---------- Filter bar ---------- */
.research-toolbar, .filter-panel-head, .filter-scrim { display: none; }
body.reading-mode .filter-bar, body.reading-mode .research-toolbar { display: none; }
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-top: 18px; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.search-box { flex: 1 1 280px; min-width: 220px; }
.search-box input {
  width: 100%; padding: 10px 14px; font-family: var(--sans); font-size: 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink); outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.search-box input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.filters { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.fgroup { display: flex; gap: 6px; align-items: center; }
.fgroup > .flabel { font-size: 11px; color: var(--muted); letter-spacing: .04em; margin-right: 2px; }
.chip {
  appearance: none; cursor: pointer; font-family: var(--sans); font-size: 13px;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--paper); color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 6px;
  transition: all .22s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip .swatch { width: 8px; height: 8px; border-radius: 50%; }
.chip.is-on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); font-weight: 500; }
.chip.is-on .swatch { box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 30%, transparent); }
.select-chip { height: 32px; max-width: 180px; }
.mini-input {
  width: 58px; height: 32px; padding: 5px 8px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--paper); color: var(--ink); font: 13px var(--mono);
}
.range-dash { color: var(--muted); font-size: 12px; }
.fgroup-tight { gap: 4px; }
.filter-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.ghost-btn {
  appearance: none; cursor: pointer; font-family: var(--sans); font-size: 13px;
  padding: 7px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink-soft); transition: all .2s var(--ease);
}
.ghost-btn:hover { border-color: var(--ink); color: var(--ink); }
a.ghost-btn { display: inline-flex; align-items: center; text-decoration: none; }
.solid-btn {
  appearance: none; cursor: pointer; font-family: var(--sans); font-size: 13px; font-weight: 600;
  padding: 9px 15px; border-radius: var(--radius-sm); border: 1px solid var(--accent);
  background: var(--accent); color: #fff; transition: transform .2s var(--ease), background .2s var(--ease);
}
.solid-btn:hover { transform: translateY(-1px); background: var(--accent-ink); }
.mini-btn {
  appearance: none; cursor: pointer; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--surface); color: var(--accent-ink); font: 12px var(--sans); padding: 4px 9px;
}
.mini-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.result-count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.filter-trigger {
  appearance: none; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--surface); color: var(--ink); padding: 8px 13px; font: 500 13px var(--sans);
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
}
.filter-trigger b {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--accent); color: #fff; font: 11px/20px var(--mono); text-align: center;
}

/* ---------- Home ---------- */
.chronicle-mast {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); gap: 44px;
  align-items: end; padding: 62px 0 42px; border-bottom: 1px solid var(--ink);
}
.chronicle-intro h1 {
  max-width: 10ch; margin: 0; text-wrap: balance;
  font: 900 clamp(58px, 8vw, 104px)/.86 var(--display); letter-spacing: -.045em;
}
.chronicle-intro > p:not(.eyebrow) { max-width: 58ch; margin: 24px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.chronicle-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.chronicle-actions .solid-btn, .chronicle-actions .ghost-btn { padding: 11px 17px; }
.chronicle-finder {
  padding: 24px; color: var(--paper); background: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow);
}
.chronicle-finder > div { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid rgba(244,241,234,.2); }
.chronicle-finder > div span { color: #afa696; font: 10px var(--mono); letter-spacing: .08em; }
.chronicle-finder > div b { font: 400 12px var(--mono); }
.chronicle-finder form { margin-top: 28px; }
.chronicle-finder label { display: block; margin-bottom: 8px; color: #d3b367; font: 10px var(--mono); letter-spacing: .08em; }
.chronicle-finder form > div { display: grid; grid-template-columns: 1fr auto; padding: 5px; background: rgba(244,241,234,.09); border: 1px solid rgba(244,241,234,.22); border-radius: 10px; }
.chronicle-finder input { min-width: 0; border: none; outline: none; padding: 9px 10px; background: transparent; color: var(--paper); font: 13px var(--sans); }
.chronicle-finder input::placeholder { color: #8f8779; }
.chronicle-finder form button { border: none; border-radius: 7px; padding: 8px 13px; background: #b77a11; color: #fff; font: 600 12px var(--sans); cursor: pointer; }
.chronicle-finder dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0 0; }
.chronicle-finder dl div { padding-top: 14px; border-top: 1px solid rgba(244,241,234,.16); }
.chronicle-finder dt { color: #9e9586; font-size: 10px; }
.chronicle-finder dd { margin: 4px 0 0; color: #fff; font: 600 23px var(--display); }

.chronicle-index {
  position: sticky; top: 64px; z-index: 24; display: grid; grid-template-columns: repeat(7, 1fr);
  margin: 0 -1px; padding: 0; background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom: 1px solid var(--line-strong); backdrop-filter: blur(10px);
}
.chronicle-index button {
  appearance: none; min-width: 0; padding: 13px 10px; cursor: pointer; text-align: left;
  border: none; border-right: 1px solid var(--line); background: transparent; color: var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.chronicle-index button:last-child { border-right: none; }
.chronicle-index button:hover { color: var(--accent-ink); background: var(--accent-soft); }
.chronicle-index b { display: block; font: 600 18px var(--display); }
.chronicle-index span { display: block; overflow: hidden; margin-top: 2px; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

.chronicle-heading {
  display: flex; justify-content: space-between; align-items: end; gap: 34px;
  padding: 76px 0 26px; border-bottom: 1px solid var(--line-strong);
}
.chronicle-heading h2 { max-width: 14ch; margin: 0; font: 700 clamp(38px, 5vw, 62px)/.93 var(--display); }
.chronicle-heading > p { max-width: 48ch; margin: 0; color: var(--muted); font-size: 13px; }

.chronicle-track { position: relative; }
.chronicle-track::before { content: ""; position: absolute; left: 257px; top: 0; bottom: 0; width: 1px; background: var(--line-strong); }
.chronicle-year {
  position: relative; display: grid; grid-template-columns: 220px 1fr; gap: 74px;
  padding: 54px 0 68px; border-bottom: 1px solid var(--line-strong); scroll-margin-top: 122px;
}
.chronicle-year::before {
  content: ""; position: absolute; left: 251px; top: 66px; z-index: 2;
  width: 11px; height: 11px; border: 2px solid var(--paper); border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.chronicle-year-head { position: sticky; top: 138px; align-self: start; }
.chronicle-year-head > span { display: block; color: var(--ink); font: 900 72px/.78 var(--display); letter-spacing: -.04em; }
.chronicle-year-head .eyebrow { margin-top: 16px; }
.chronicle-year-head h2 { margin: 0; font: 600 27px/1 var(--display); }
.chronicle-year-head > p:not(.eyebrow) { margin: 13px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.year-expand { margin-top: 17px; padding: 0; cursor: pointer; border: none; background: none; color: var(--accent-ink); font: 600 11px var(--sans); }
.chronicle-year-events { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.chronicle-event {
  appearance: none; min-width: 0; min-height: 138px; padding: 15px 16px; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; border: 1px solid var(--line); border-left: 3px solid var(--event-color);
  border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.chronicle-event:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.chronicle-event-date { color: var(--muted); font: 10px var(--mono); }
.chronicle-event-main { display: block; margin-top: 15px; }
.chronicle-event-main b { display: block; overflow: hidden; font: 600 21px/1.04 var(--display); text-overflow: ellipsis; white-space: nowrap; }
.chronicle-event-main em { display: block; margin-top: 5px; color: var(--muted); font: normal 10px var(--mono); }
.chronicle-event-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; color: var(--muted); font-size: 10px; }
.chronicle-region { color: var(--ink-soft); }
.chronicle-gap { grid-column: 1 / -1; padding: 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); color: var(--muted); background: color-mix(in srgb, var(--surface) 55%, transparent); }
.chronicle-gap b { color: var(--ink-soft); font: 600 20px var(--display); }
.chronicle-gap p { max-width: 58ch; margin: 8px 0 0; font-size: 12px; line-height: 1.6; }
.chronicle-end { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0 64px; }
.chronicle-end > span { color: var(--muted); font: 10px var(--mono); letter-spacing: .08em; }

.home-support-grid { display: grid; grid-template-columns: 1.15fr .95fr .9fr; gap: 12px; margin-top: 24px; }
.home-support-card {
  min-height: 290px; padding: 22px; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.home-support-card h2 { max-width: 15ch; margin: 18px 0 0; font: 600 29px/1.03 var(--display); }
.home-support-card > p:not(.eyebrow) { margin: 14px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.65; }
.observation-card > div { display: flex; gap: 14px; margin-top: auto; }
.evidence-card dl { margin: 22px 0; }
.evidence-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.evidence-card dt { color: var(--muted); font-size: 11px; }
.evidence-card dd { margin: 0; font: 600 15px var(--display); }
.evidence-card > button { align-self: flex-start; margin-top: auto; }
.inn-card { color: var(--paper); background: #3a3024; border-color: #3a3024; }
.inn-card .eyebrow { color: #d3b367; }
.inn-card > p:not(.eyebrow) { color: #d0c3ae; }
.inn-card > span { margin-top: auto; color: #d3b367; font: 10px var(--mono); letter-spacing: .08em; }

.focus-hero {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  margin-top: 28px; overflow: hidden; border: 1px solid #0e0e0c; border-radius: 18px;
  background: var(--ink); color: var(--paper); box-shadow: 0 30px 80px -52px rgba(28,27,23,.8);
}
.focus-copy { min-width: 0; padding: 42px 46px 38px; display: flex; flex-direction: column; }
.focus-kicker {
  display: flex; justify-content: space-between; gap: 20px; margin-bottom: 62px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(244,241,234,.2); color: #d1c7b5; font: 10px var(--mono); letter-spacing: .09em;
  text-transform: uppercase;
}
.focus-kicker b { color: var(--paper); font-weight: 400; white-space: nowrap; }
.focus-copy .eyebrow { color: #d3b367; margin-bottom: 13px; }
.focus-copy h1 {
  max-width: 11ch; margin: 0; text-wrap: balance;
  font: 900 clamp(48px, 5.4vw, 76px)/.94 var(--display); letter-spacing: -.025em;
}
.focus-dek { max-width: 58ch; margin: 22px 0 0; color: #d6cdbc; font-size: 16px; line-height: 1.7; }
.focus-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.focus-actions .solid-btn { background: #b77a11; border-color: #b77a11; padding: 11px 17px; }
.focus-actions .solid-btn:hover { background: #d09327; }
.focus-actions .ghost-btn { background: transparent; border-color: rgba(244,241,234,.35); color: var(--paper); padding: 11px 17px; }
.focus-actions .ghost-btn:hover { border-color: var(--paper); }
.focus-proof {
  display: flex; flex-wrap: wrap; gap: 11px 24px; margin-top: auto; padding-top: 46px;
  color: #aaa08f; font: 11px var(--mono);
}
.focus-proof span { display: inline-flex; align-items: baseline; gap: 6px; }
.focus-proof b { color: var(--paper); font: 600 18px var(--display); }
.brief-thread {
  position: relative; padding: 34px 36px 32px; border-left: 1px solid rgba(244,241,234,.2);
  background-color: #151512;
  background-image: linear-gradient(rgba(244,241,234,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(244,241,234,.055) 1px, transparent 1px);
  background-size: 32px 32px;
}
.brief-head { display: flex; justify-content: space-between; gap: 16px; color: #d3b367; font: 10px var(--mono); letter-spacing: .08em; }
.brief-head b { color: #8f8779; font-weight: 400; text-align: right; }
.brief-thread ol { list-style: none; margin: 32px 0 28px; padding: 0; }
.brief-thread li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 19px 0; border-top: 1px solid rgba(244,241,234,.18); }
.brief-thread li:last-child { border-bottom: 1px solid rgba(244,241,234,.18); }
.brief-step-index { color: #716959; font: 600 24px/1 var(--display); }
.brief-thread li em { display: block; color: #d3b367; font: normal 10px var(--mono); }
.brief-thread li b { display: block; margin-top: 7px; color: var(--paper); font: 600 21px/1.08 var(--display); }
.brief-thread li p { margin: 8px 0 0; color: #bcb3a3; font-size: 12px; line-height: 1.55; }
.brief-watch { padding: 15px 16px; background: rgba(244,241,234,.07); border: 1px solid rgba(244,241,234,.13); border-radius: 10px; }
.brief-watch span { color: #d3b367; font: 10px var(--mono); letter-spacing: .08em; }
.brief-watch p { margin: 7px 0 0; color: #d7cebd; font-size: 12px; line-height: 1.6; }
.brief-change {
  appearance: none; min-width: 0; padding: 0; cursor: pointer; text-align: left;
  border: 0; background: transparent; color: inherit; font: inherit;
}
.brief-change:hover b { color: #e3c16e; }

/* ---------- Change intelligence ---------- */
.change-radar { scroll-margin-top: 88px; }
.focus-section-heading h2 { max-width: 17ch; margin: 0; font: 700 clamp(36px, 4.4vw, 57px)/.96 var(--display); }
.window-switch { display: inline-flex; padding: 4px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); }
.window-switch button {
  min-width: 64px; padding: 7px 13px; cursor: pointer; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); font: 500 12px var(--sans);
}
.window-switch button.is-active { background: var(--ink); color: var(--paper); }
.change-summary-strip {
  display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 20px 0 14px; padding: 12px 0;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line-strong); color: var(--muted); font: 10px var(--mono);
}
.change-summary-strip span { display: inline-flex; align-items: baseline; gap: 5px; }
.change-summary-strip b { color: var(--ink); font: 600 17px var(--display); }
.change-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.change-card {
  position: relative; min-width: 0; min-height: 490px; padding: 19px; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: 0 0 var(--radius) var(--radius);
  background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.change-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.change-card.impact-high { border-top-color: #963f31; }
.change-card.impact-medium { border-top-color: var(--accent); }
.change-card.impact-watch { border-top-color: var(--prov-official); }
.change-card.is-linked { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 3px; animation: linkedPulse 1.1s var(--ease) 2; }
@keyframes linkedPulse { 50% { transform: translateY(-5px); box-shadow: 0 16px 42px -20px rgba(138,90,0,.65); } }
.change-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.change-card-head > div { display: flex; align-items: center; gap: 10px; }
.change-index { color: var(--line-strong); font: 600 24px/1 var(--display); }
.change-card time { color: var(--muted); font: 10px var(--mono); }
.impact-badge { padding: 4px 8px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-soft); font: 9px var(--mono); }
.impact-high .impact-badge { border-color: #cf978e; color: #7d2d22; background: #f8e5e1; }
.change-model { display: flex; align-items: center; gap: 7px; margin-top: 26px; color: var(--muted); font: 10px var(--mono); }
.change-model span::after { content: "/"; margin-left: 7px; color: var(--line-strong); }
.change-model button { padding: 0; cursor: pointer; border: 0; background: none; color: var(--accent-ink); font: 600 10px var(--mono); }
.change-model button:hover { text-decoration: underline; }
.change-card h3 { margin: 10px 0 0; font: 600 27px/1.04 var(--display); text-wrap: balance; }
.change-summary { margin: 15px 0 0; color: var(--ink-soft); font-size: 12.5px; line-height: 1.65; }
.why-block { margin: 18px 0 0; padding: 13px 14px; border-left: 2px solid var(--accent); background: var(--accent-soft); }
.why-block span { color: var(--accent-ink); font: 9px var(--mono); letter-spacing: .09em; }
.why-block p { margin: 7px 0 0; color: #55462f; font-size: 11.5px; line-height: 1.58; }
.affected-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 15px; }
.affected-list span { padding: 4px 7px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 9px; }
.evidence-note { margin-top: 13px; color: var(--muted); font-size: 10.5px; }
.evidence-note summary { width: max-content; cursor: pointer; color: var(--accent-ink); font: 10px var(--mono); }
.evidence-note p { margin: 7px 0 0; line-height: 1.55; }
.change-actions { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.change-actions a, .change-actions button { padding: 0; cursor: pointer; border: 0; background: none; color: var(--accent-ink); font: 600 10px var(--sans); }
.change-actions a:hover, .change-actions button:hover { text-decoration: underline; }

/* ---------- Generation Diff ---------- */
.diff-page { padding: 28px 0 10px; }
.diff-hero {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr); gap: 52px;
  align-items: end; padding: 45px 0 46px; border-bottom: 1px solid var(--ink);
}
.diff-hero h1 { max-width: 11ch; margin: 0; font: 900 clamp(55px, 7vw, 90px)/.88 var(--display); letter-spacing: -.04em; }
.diff-hero > div > p:not(.eyebrow) { max-width: 58ch; margin: 25px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.diff-controls { padding: 22px; border-radius: var(--radius); background: var(--ink); color: var(--paper); box-shadow: var(--shadow); }
.diff-controls label { display: block; }
.diff-controls label > span { display: block; margin-bottom: 7px; color: #d3b367; font: 9px var(--mono); letter-spacing: .08em; }
.diff-controls select { width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid rgba(244,241,234,.24); border-radius: 8px; background: #292824; color: var(--paper); font: 12px var(--sans); }
.diff-pair-controls { display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr); gap: 8px; align-items: end; margin-top: 16px; }
.diff-pair-controls button { height: 38px; cursor: pointer; border: 1px solid rgba(244,241,234,.24); border-radius: 8px; background: transparent; color: #d3b367; font-size: 18px; }
.diff-controls > p { margin: 17px 0 0; color: #aba292; font-size: 10.5px; line-height: 1.55; }
.featured-diffs { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; margin-top: 44px; }
.featured-diffs h2 { margin: 0; font: 600 27px/1.05 var(--display); }
.featured-diffs > div:last-child { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.featured-diff { min-width: 0; padding: 12px; cursor: pointer; text-align: left; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); }
.featured-diff:hover, .featured-diff.is-active { border-color: var(--accent); background: var(--accent-soft); }
.featured-diff span { display: block; color: var(--muted); font: 8px var(--mono); letter-spacing: .08em; }
.featured-diff b { display: block; overflow: hidden; margin-top: 6px; font: 600 14px var(--display); text-overflow: ellipsis; white-space: nowrap; }
.diff-result { margin-top: 52px; border-top: 3px solid var(--ink); }
.diff-result-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 25px 0; border-bottom: 1px solid var(--line-strong); }
.diff-model-pair { display: flex; align-items: center; gap: 14px; min-width: 0; }
.diff-model-pair button { min-width: 0; padding: 0; cursor: pointer; text-align: left; border: 0; background: none; color: var(--ink); }
.diff-model-pair button:hover b { color: var(--accent-ink); }
.diff-model-pair span { display: block; color: var(--muted); font: 9px var(--mono); }
.diff-model-pair b { display: block; overflow: hidden; max-width: 260px; margin-top: 4px; font: 600 25px/1 var(--display); text-overflow: ellipsis; white-space: nowrap; }
.diff-model-pair em { color: var(--accent); font: normal 30px var(--display); }
.diff-counts { display: flex; gap: 10px; }
.diff-counts span { min-width: 76px; padding: 8px 10px; border-left: 1px solid var(--line-strong); color: var(--muted); font-size: 10px; }
.diff-counts b { display: block; color: var(--ink); font: 600 22px/1 var(--display); }
.diff-thesis { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-strong); }
.diff-thesis span { color: var(--accent-ink); font: 9px var(--mono); letter-spacing: .08em; }
.diff-thesis p { max-width: 72ch; margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.diff-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 16px 0; color: var(--muted); font: 9px var(--mono); }
.diff-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--line-strong); }
.diff-legend .is-changed::before { background: var(--accent); }
.diff-legend .is-same::before { background: var(--prov-official); }
.diff-legend .is-unknown::before { background: var(--muted); }
.diff-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.diff-row { padding: 16px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); background: var(--surface); }
.diff-row.is-same { border-left-color: var(--prov-official); }
.diff-row.is-unknown { border-left-color: var(--muted); background: color-mix(in srgb, var(--paper-2) 65%, var(--surface)); }
.diff-row header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.diff-row header span { color: var(--muted); font: 9px var(--mono); letter-spacing: .07em; }
.diff-row header b { padding: 3px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font: 500 9px var(--mono); }
.diff-row.is-same header b { background: #e3f1eb; color: #176b42; }
.diff-row.is-unknown header b { background: var(--paper-2); color: var(--muted); }
.diff-values { display: grid; grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr); gap: 8px; align-items: center; margin-top: 14px; }
.diff-values > span { color: var(--line-strong); font-family: var(--display); text-align: center; }
.diff-values small { display: block; color: var(--muted); font: 8px var(--mono); }
.diff-values strong { display: block; margin-top: 4px; overflow-wrap: anywhere; font: 600 14px/1.35 var(--sans); }
.diff-row > p { margin: 14px 0 0; padding-top: 11px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.5; }
.diff-evidence { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; margin-top: 44px; padding: 27px; border-radius: var(--radius); background: var(--ink); color: var(--paper); }
.diff-evidence h2 { max-width: 13ch; margin: 0; font: 600 30px/1.02 var(--display); }
.diff-evidence > div:first-child > p:not(.eyebrow) { color: #b9b09f; font-size: 11px; }
.diff-source-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.diff-source-link { min-width: 0; padding: 14px; border: 1px solid rgba(244,241,234,.18); border-radius: 9px; color: var(--paper); }
.diff-source-link:hover { border-color: #d3b367; text-decoration: none; }
.diff-source-link span, .diff-source-link em { display: block; color: #a9a08f; font: normal 8px var(--mono); }
.diff-source-link b { display: block; overflow: hidden; margin: 8px 0 17px; font: 600 17px var(--display); text-overflow: ellipsis; white-space: nowrap; }
.diff-source-link em { color: #d3b367; }
.diff-actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.diff-actions .ghost-btn { background: transparent; border-color: rgba(244,241,234,.3); color: var(--paper); }
.site-toast {
  position: fixed; z-index: 120; left: 50%; bottom: 24px; min-width: 180px; padding: 10px 16px;
  transform: translate(-50%, 12px); opacity: 0; border: 1px solid rgba(244,241,234,.18); border-radius: 999px;
  background: var(--ink); color: var(--paper); box-shadow: 0 16px 50px rgba(0,0,0,.28); font-size: 12px; text-align: center;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.site-toast.show { opacity: 1; transform: translate(-50%, 0); }

.focus-section-heading { margin-top: 66px; }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.signal-card {
  appearance: none; min-width: 0; min-height: 260px; padding: 19px; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: 0 0 var(--radius) var(--radius);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.signal-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.signal-date { color: var(--accent-ink); font: 11px var(--mono); }
.signal-title { display: block; margin-top: 24px; }
.signal-title b { display: block; font: 600 27px/1.04 var(--display); }
.signal-title em { display: block; margin-top: 7px; color: var(--muted); font: normal 11px var(--mono); }
.signal-note { display: block; margin-top: 16px; color: var(--ink-soft); font-size: 12.5px; line-height: 1.6; }
.signal-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: auto; padding-top: 18px; }

.research-routes { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 12px; margin-top: 64px; }
.research-route {
  appearance: none; min-height: 230px; padding: 21px; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; color: var(--ink); background: transparent;
  border: 1px solid var(--line-strong); border-radius: var(--radius); transition: transform .25s var(--ease), background .25s var(--ease);
}
.research-route:hover { transform: translateY(-3px); background: var(--surface); }
.research-route > span { color: var(--accent-ink); font: 10px var(--mono); letter-spacing: .07em; }
.research-route > b { max-width: 13ch; margin-top: 30px; font: 600 30px/1.02 var(--display); }
.research-route > p { margin: 12px 0 0; color: var(--muted); font-size: 12.5px; }
.research-route > em { margin-top: auto; color: var(--accent-ink); font: normal 600 12px var(--sans); }
.route-timeline { color: var(--paper); background: var(--accent-ink); border-color: var(--accent-ink); }
.route-timeline:hover { background: #75500a; }
.route-timeline > span, .route-timeline > em { color: #ead19b; }
.route-timeline > p { color: #dfd2bb; }

.trust-ribbon {
  display: grid; grid-template-columns: minmax(240px, 1.2fr) minmax(320px, 1fr) auto;
  gap: 28px; align-items: center; margin-top: 56px; padding: 26px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line-strong);
}
.trust-ribbon h2 { max-width: 24ch; margin: 0; font: 600 24px/1.05 var(--display); }
.trust-ribbon dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; }
.trust-ribbon dl div { padding-left: 13px; border-left: 1px solid var(--line-strong); }
.trust-ribbon dt { color: var(--muted); font-size: 11px; }
.trust-ribbon dd { margin: 4px 0 0; color: var(--ink); font: 600 18px var(--display); }

.eyebrow {
  margin: 0 0 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  color: var(--accent-ink); text-transform: uppercase;
}
.home-hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 26px; align-items: stretch; padding: 30px 0 10px;
}
.home-copy {
  padding: 20px 0 18px;
}
.home-copy h1, .topics-head h1, .compare-head h1 {
  font-family: var(--display); font-weight: 900; font-size: clamp(34px, 6vw, 68px);
  line-height: .96; margin: 0 0 14px; max-width: 780px;
}
.lead {
  max-width: 64ch; color: var(--ink-soft); font-size: 16px; margin: 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.home-search { margin-top: 24px; max-width: 650px; }
.home-search > label {
  display: block; margin-bottom: 7px; color: var(--muted); font: 11px var(--mono);
  letter-spacing: .08em; text-transform: uppercase;
}
.home-search > div {
  display: grid; grid-template-columns: 1fr auto; padding: 5px; border: 1px solid var(--line-strong);
  border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-sm);
}
.home-search input {
  min-width: 0; border: none; outline: none; background: transparent; color: var(--ink);
  padding: 9px 11px; font: 14px var(--sans);
}
.home-search button {
  border: none; border-radius: 8px; background: var(--ink); color: var(--paper);
  padding: 9px 14px; font: 600 13px var(--sans); cursor: pointer;
}
.home-search p { margin: 7px 2px 0; color: var(--muted); font-size: 11px; }
.editorial-cover {
  position: relative; min-height: 370px; padding: 22px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--paper); background: var(--ink); border: 1px solid #0f0f0d;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.editorial-cover::before {
  content: ""; position: absolute; inset: 0; opacity: .16; pointer-events: none;
  background-image: linear-gradient(rgba(244,241,234,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(244,241,234,.2) 1px, transparent 1px);
  background-size: 34px 34px;
}
.editorial-cover::after {
  content: ""; position: absolute; width: 220px; height: 220px; border: 1px solid var(--accent-soft);
  border-radius: 50%; right: -88px; bottom: -88px; opacity: .3;
}
.cover-meta, .cover-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.cover-meta { color: #d9cfbc; font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.cover-meta b { color: var(--paper); font-weight: 400; letter-spacing: 0; }
.cover-number { position: absolute; right: 18px; top: 34px; color: rgba(244,241,234,.08); font: 900 168px/.9 var(--display); }
.editorial-cover > p { position: relative; z-index: 1; margin: auto 0 8px; color: #d3b367; font: 11px var(--mono); letter-spacing: .12em; }
.editorial-cover h2 { position: relative; z-index: 1; max-width: 12ch; margin: 0 0 30px; font: 600 36px/1.05 var(--display); }
.cover-foot { padding-top: 15px; border-top: 1px solid rgba(244,241,234,.2); color: #d9cfbc; font-size: 12px; }
.cover-foot span b { color: #fff; font: 600 23px var(--display); margin-right: 4px; }
.cover-link { border: none; background: none; color: #e1c37d; cursor: pointer; font: 600 12px var(--sans); }
.atlas-panel {
  position: relative; min-height: 260px; padding: 18px;
  background:
    linear-gradient(135deg, rgba(47,111,176,.08), transparent 42%),
    linear-gradient(35deg, rgba(207,58,58,.08), transparent 40%),
    var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.atlas-panel::before {
  content: ""; position: absolute; inset: 12px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px; opacity: .36; pointer-events: none;
}
.atlas-head, .atlas-foot { position: relative; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; }
.atlas-head b { color: var(--ink); font-family: var(--mono); font-weight: 500; }
.atlas-bars {
  position: relative; display: flex; align-items: end; gap: 8px; height: 178px; margin: 20px 0 12px;
  border-bottom: 1px solid var(--line-strong);
}
.atlas-bar {
  flex: 1; min-width: 22px; border: none; border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, var(--region-us), var(--accent));
  color: #fff; cursor: pointer; opacity: .88; transition: transform .2s var(--ease), opacity .2s var(--ease);
  display: flex; align-items: end; justify-content: center; padding-bottom: 5px;
}
.atlas-bar:nth-child(2n) { background: linear-gradient(180deg, var(--region-cn), var(--accent)); }
.atlas-bar:nth-child(3n) { background: linear-gradient(180deg, var(--region-eu), var(--accent)); }
.atlas-bar:hover { transform: translateY(-4px); opacity: 1; }
.atlas-bar span { font: 11px var(--mono); }
.home-stats {
  display: grid; grid-template-columns: repeat(6, minmax(120px, 1fr)); gap: 12px; margin: 14px 0 16px;
}
.home-proof { grid-template-columns: repeat(4, minmax(120px, 1fr)); margin-top: 20px; }
.home-proof .stat { border-top: 3px solid var(--ink); }
.stat .s-note { color: var(--muted); font-size: 11px; margin-top: 5px; }
.home-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 16px;
}
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.panel.span4 { grid-column: span 4; }
.panel.span5 { grid-column: span 5; }
.panel.span7 { grid-column: span 7; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.panel-title h2, .publish-panel h2 {
  font-family: var(--display); font-size: 22px; line-height: 1.1; margin: 0; font-weight: 700;
}
.section-heading {
  display: flex; justify-content: space-between; align-items: end; gap: 30px;
  margin: 54px 0 14px; padding-top: 20px; border-top: 1px solid var(--line-strong);
}
.section-heading h2 { margin: 0; font: 700 31px/1 var(--display); }
.section-heading > p { max-width: 52ch; margin: 0; color: var(--muted); font-size: 13px; }
.home-editorial-grid { margin-top: 0; }
.trust-note { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.topic-launch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.topic-launch {
  appearance: none; width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); padding: 18px; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: start;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.topic-launch:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.topic-index { color: var(--accent); font: 600 28px/1 var(--display); }
.topic-launch-copy { display: flex; flex-direction: column; }
.topic-launch-copy small { color: var(--muted); font: 10px var(--mono); letter-spacing: .08em; }
.topic-launch-copy b { margin-top: 8px; font: 600 21px/1.12 var(--display); }
.topic-launch-copy em { margin-top: 9px; color: var(--ink-soft); font: normal 12.5px/1.55 var(--sans); }
.topic-count { color: var(--accent-ink); font: 600 22px/1 var(--display); text-align: right; white-space: nowrap; }
.topic-count small { display: block; margin-top: 5px; color: var(--muted); font: 10px var(--sans); }
.update-list { display: flex; flex-direction: column; gap: 8px; }
.update-row {
  appearance: none; width: 100%; border: 1px solid var(--line); background: var(--paper);
  border-radius: var(--radius-sm); padding: 10px 12px; cursor: pointer;
  display: grid; grid-template-columns: 92px 1fr auto; gap: 12px; align-items: center; text-align: left;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.update-row:hover { background: var(--surface); border-color: var(--line-strong); transform: translateY(-1px); }
.u-date { font-family: var(--mono); color: var(--muted); font-size: 12px; }
.u-main b { display: block; font-size: 14px; color: var(--ink); }
.u-main em { font-style: normal; color: var(--muted); font-size: 12px; }
.u-tags { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.trust-meter { height: 10px; background: var(--paper-2); border-radius: 999px; overflow: hidden; margin: 8px 0 16px; }
.trust-meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--prov-official), var(--region-us)); border-radius: 999px; }
.trust-list { display: grid; grid-template-columns: 1fr auto; gap: 9px 14px; margin: 0; }
.trust-list dt { color: var(--muted); }
.trust-list dd { margin: 0; font-family: var(--mono); }
.route-card { cursor: pointer; transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease); }
.route-card h3 { font-family: var(--display); margin: 0 0 6px; font-size: 22px; }
.route-card p { margin: 0; color: var(--ink-soft); }
.route-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }

.quality {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; padding: 3px 8px; border-radius: 999px; border: 1px solid;
  white-space: nowrap; font-weight: 500;
}
.q-A { background: color-mix(in srgb, var(--q-a) 12%, #fff); color: var(--q-a); border-color: color-mix(in srgb, var(--q-a) 35%, #fff); }
.q-B { background: color-mix(in srgb, var(--q-b) 12%, #fff); color: var(--q-b); border-color: color-mix(in srgb, var(--q-b) 35%, #fff); }
.q-C { background: color-mix(in srgb, var(--q-c) 13%, #fff); color: #8f5b08; border-color: color-mix(in srgb, var(--q-c) 35%, #fff); }
.q-D { background: color-mix(in srgb, var(--q-d) 13%, #fff); color: var(--q-d); border-color: color-mix(in srgb, var(--q-d) 35%, #fff); }
.verification-stamp {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px;
  min-width: 116px; padding: 6px 9px; border: 1px solid currentColor; border-radius: 2px;
  font-family: var(--mono); line-height: 1.2; transform: rotate(-.35deg);
}
.verification-stamp b { font-size: 10px; letter-spacing: .06em; }
.verification-stamp small { font-size: 9px; color: var(--muted); }
.verification-stamp.is-current { color: #176b42; background: #edf7f1; }
.verification-stamp.is-due { color: #8a5b12; background: #fff7e4; }
.verification-stamp.is-stale { color: #9a382d; background: #fff0ed; }
.verification-stamp.is-unverified { color: #777064; background: var(--paper); border-style: dashed; transform: none; }

/* ---------- Hero (timeline top) ---------- */
.hero { padding: 26px 2px 8px; }
.hero h1 {
  font-family: var(--display); font-weight: 600; font-size: clamp(26px, 4vw, 40px);
  margin: 0 0 8px; letter-spacing: -.01em; line-height: 1.08;
}
.hero p { margin: 0; color: var(--ink-soft); max-width: 64ch; }
.hero .updated { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.hero .updated b { color: var(--accent-ink); font-weight: 500; }

/* ---------- Timeline ---------- */
/* ---------- Timeline（年 → 月，分层编年史） ---------- */
.timeline { position: relative; padding: 8px 0 10px; }
.timeline::before {
  content: ""; position: absolute; left: 116px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(var(--line-strong), var(--line) 12%, var(--line) 88%, var(--line-strong));
}
.tl-year { position: relative; padding-left: 150px; margin-top: 30px; }
.tl-year:first-child { margin-top: 8px; }
.tl-year-head { position: absolute; left: 0; top: -2px; width: 100px; text-align: right; }
.tl-year-num { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; color: var(--ink); }
.tl-era { font-size: 11px; color: var(--accent-ink); letter-spacing: .03em; margin-top: 4px; display: block; }
.tl-dot {
  position: absolute; left: 110px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--accent); z-index: 2;
}
.tl-month { position: relative; margin-top: 18px; }
.tl-month:first-of-type { margin-top: 4px; }
.tl-month-head { display: flex; align-items: baseline; gap: 4px; margin-bottom: 10px; position: relative; }
.tl-month-num { font-family: var(--mono); font-weight: 500; font-size: 16px; color: var(--ink); }
.tl-month-suf { font-size: 11px; color: var(--muted); }
.tl-month-dot {
  position: absolute; left: -40px; top: 5px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--line-strong); z-index: 2;
}
.tl-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 10px; }

.tl-legend { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 2px; }
.tl-legend-key { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.tl-legend-note { font-size: 12px; color: var(--muted); }

.tier-pill { font-size: 11px; padding: 2px 9px; border-radius: 999px; border: 1px solid; white-space: nowrap; font-weight: 500; display: inline-block; }
.t-announce { background: #fbf2dd; color: #9a6a12; border-color: #ecd9a8; }
.t-paper    { background: #e8f0f8; color: #2f5e8a; border-color: #d2e0ee; }
.t-release  { background: #e7f4ec; color: #2c6b46; border-color: #cfe6d4; }
.t-api      { background: #efe9f7; color: #5b4a86; border-color: #ddd2ee; }
.t-weights  { background: #edf4ef; color: #38624b; border-color: #d2e3d8; }
.t-update   { background: #fff0e6; color: #9a5320; border-color: #f0d1bb; }
.t-price    { background: #fff7db; color: #806016; border-color: #eadba5; }
.t-availability { background: #e6f4f4; color: #28686a; border-color: #c8e2e2; }
.t-deprecation { background: #f7e9e7; color: #963f38; border-color: #e8cbc7; }

.tl-event {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 13px 12px; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  border-left: 4px solid var(--line-strong);
}
.tl-event:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.tl-event .tl-date { font-family: var(--mono); font-size: 11.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.tl-event .tl-date::before { content: ""; width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.tl-event.t-announce .tl-date::before { background: #9a6a12; }
.tl-event.t-paper .tl-date::before { background: #2f5e8a; }
.tl-event.t-release .tl-date::before { background: #2c6b46; }
.tl-event.t-api .tl-date::before { background: #5b4a86; }
.tl-event.t-weights .tl-date::before { background: #38624b; }
.tl-event.t-update .tl-date::before { background: #b8662b; }
.tl-event.t-price .tl-date::before { background: #a57b1d; }
.tl-event.t-availability .tl-date::before { background: #347f82; }
.tl-event.t-deprecation .tl-date::before { background: #a84d45; }
.tl-event .name { font-weight: 600; font-size: 15px; margin: 6px 0 1px; }
.tl-event .vendor { font-size: 12.5px; color: var(--ink-soft); }
.tl-event-summary { margin: 7px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.tl-event .meta-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tl-event .bench { margin-top: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft); }
.tl-event .bench b { color: var(--accent-ink); }

/* 预告 / 论文：轻量化行，不占与正式发布同等空间 */
.tl-minor {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 9px; padding: 5px 11px; cursor: pointer;
  background: transparent; border: 1px dashed var(--line); border-radius: var(--radius-sm);
  font-size: 12.5px; color: var(--ink-soft);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.tl-minor:hover { background: var(--paper-2); border-color: var(--line-strong); }
.tl-minor .tl-date { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.tl-minor .tl-minor-name { font-weight: 500; color: var(--ink-soft); }
.tl-minor.t-announce { opacity: .92; }

.tag {
  font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--paper-2);
  color: var(--ink-soft); border: 1px solid var(--line); white-space: nowrap;
}
.tag.region { color: #fff; border: none; }
.tag.lic-open { background: #eef5ee; color: #2c6b46; border-color: #cfe6d4; }
.tag.lic-closed { background: #f3eef7; color: #5b4a86; border-color: #ddd2ee; }
.tag.multi { background: #eaf1f7; color: #2f5e8a; border-color: #d2e0ee; }
.tag.reason { background: #fbf0e6; color: #9a5320; border-color: #f0d8bf; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
table.cmp { border-collapse: collapse; width: 100%; min-width: 1180px; font-size: 13.5px; }
table.cmp thead th {
  position: sticky; top: 0; background: var(--paper-2); text-align: left;
  padding: 12px 14px; font-weight: 500; color: var(--ink-soft); cursor: pointer;
  border-bottom: 1px solid var(--line-strong); white-space: nowrap; user-select: none;
}
table.cmp thead th .arrow { color: var(--accent); font-size: 10px; margin-left: 4px; }
table.cmp thead th.num, table.cmp td.num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mono); }
table.cmp tbody td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.cmp tbody tr { cursor: pointer; transition: background .15s var(--ease); }
table.cmp tbody tr:hover { background: var(--paper); }
.m-name { font-weight: 600; display: flex; align-items: center; gap: 8px; max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-name-button { appearance: none; padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; cursor: pointer; text-align: left; }
.m-name-button:hover { color: var(--accent-ink); }
.m-name-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.m-name .rd { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.cell-ell { display: inline-block; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.m-bench { font-family: var(--mono); }
.m-bench .cell-ell { max-width: 150px; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.pcell { font-family: var(--mono); white-space: nowrap; }
.pcell .act { color: var(--muted); font-size: 11px; }
.table-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 14px;
}

/* ---------- Overview ---------- */
.ov-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 16px; }
.ov-stats { grid-column: span 12; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.stat .n { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; }
.stat .l { font-size: 12px; color: var(--muted); margin-top: 6px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.card h3 { font-family: var(--display); font-weight: 600; font-size: 17px; margin: 0 0 12px; }
.card.span4 { grid-column: span 4; }
.card.span6 { grid-column: span 6; }
.card.span12 { grid-column: span 12; }
@media (max-width: 760px) { .card.span4, .card.span6 { grid-column: span 12; } }

/* bar chart */
.bar-row { display: flex; align-items: center; gap: 10px; margin: 7px 0; font-size: 13px; }
.bar-row .bl { width: 46px; text-align: right; color: var(--ink-soft); font-family: var(--mono); }
.bar-track { flex: 1; height: 18px; background: var(--paper-2); border-radius: 6px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 6px; transition: width .6s var(--ease); }
.bar-row .bv { width: 34px; font-family: var(--mono); color: var(--muted); font-size: 12px; }

/* scatter */
.scatter-wrap { width: 100%; overflow-x: auto; }
.scatter { display: block; }
.scatter .pt { cursor: pointer; transition: r .2s var(--ease); }
.scatter .pt:hover { r: 7; }
.scatter .pt-label { font-size: 11px; font-weight: 600; paint-order: stroke; stroke: var(--surface); stroke-width: 3px; }
.legend-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.legend-row .lg { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-soft); }
.legend-row .lg-dot { width: 10px; height: 10px; border-radius: 50%; }
.axis-label { font-size: 11px; fill: var(--muted); font-family: var(--sans); }
.axis-line { stroke: var(--line-strong); }
.grid-line { stroke: var(--line); }

/* ---------- Compare ---------- */
.compare-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 18px; align-items: end; padding: 28px 0 8px;
}
.compare-head p { margin: 0; color: var(--ink-soft); max-width: 62ch; }
.compare-picker {
  display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px;
}
.compare-picker select, .compare-picker input {
  min-width: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--paper); padding: 9px 10px; font-family: var(--sans); color: var(--ink);
}
.compare-empty { grid-column: 1 / -1; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.compare-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 16px;
}
.compare-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 17px 18px 18px; box-shadow: var(--shadow-sm);
}
.compare-card h3 { font-family: var(--display); font-size: 22px; line-height: 1.1; margin: 0 28px 4px 0; }
.compare-card > p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.evidence-boundary { margin: 18px 0 28px; padding: 14px 18px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); border-left: 4px solid var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); display: flex; gap: 12px; align-items: baseline; }
.evidence-boundary b { font-family: var(--display); white-space: nowrap; }
.evidence-boundary span { color: var(--muted); font-size: 13px; }
.compare-evidence, .benchmark-comparability { margin: 38px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 16px; }
.section-heading h2 { margin: 2px 0 0; font-family: var(--display); font-size: clamp(24px, 3vw, 36px); }
.section-heading > p { max-width: 520px; color: var(--muted); font-size: 13px; text-align: right; }
.evidence-matrix-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
.evidence-matrix { width: 100%; min-width: 760px; border-collapse: collapse; }
.evidence-matrix th, .evidence-matrix td { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.evidence-matrix th:last-child, .evidence-matrix td:last-child { border-right: 0; }
.evidence-matrix tr:last-child th, .evidence-matrix tr:last-child td { border-bottom: 0; }
.evidence-matrix thead th { background: var(--surface-2); font-size: 12px; letter-spacing: .02em; }
.evidence-matrix tbody th { width: 130px; font-family: var(--display); }
.evidence-cell { display: grid; grid-template-columns: auto auto; align-items: center; justify-content: start; gap: 4px 7px; }
.evidence-cell small { grid-column: 1 / -1; color: var(--muted); line-height: 1.45; }
.evidence-mark { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: white; font-size: 12px; }
.evidence-empty { color: var(--muted); font-size: 12px; }
.benchmark-compare-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.benchmark-compare-card { padding: 18px; border: 1px solid var(--line); background: var(--surface); }
.benchmark-compare-card > div { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.benchmark-compare-card h3 { margin: 0; font-family: var(--display); }
.benchmark-compare-card ul { list-style: none; padding: 0; margin: 14px 0 0; }
.benchmark-compare-card li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); align-items: baseline; }
.benchmark-compare-card li small { color: var(--muted); }
.compare-status { padding: 3px 8px; border-radius: 999px; font-size: 11px; white-space: nowrap; }
.compare-status.is-comparable { color: #176b42; background: #dff5e8; }
.compare-status.is-limited { color: #8a5b12; background: #fff0cb; }
@media (max-width: 760px) {
  .evidence-boundary, .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading > p { text-align: left; }
  .benchmark-compare-list { grid-template-columns: 1fr; }
}
.compare-kv { display: grid; grid-template-columns: 80px 1fr; gap: 8px 12px; margin: 14px 0; font-size: 13px; }
.compare-kv dt { color: var(--muted); }
.compare-kv dd { margin: 0; font-family: var(--mono); word-break: break-word; }
.mini-x {
  position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--paper); color: var(--muted); cursor: pointer;
}
.mini-x:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Topics ---------- */
.topics-head { padding: 30px 0 14px; }
.topics-head p { max-width: 70ch; color: var(--ink-soft); margin: 0; }
.year-narratives {
  display: grid; grid-template-columns: repeat(7, minmax(130px, 1fr)); gap: 10px; margin-top: 12px;
}
.year-note {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px; min-height: 160px; display: flex; flex-direction: column; justify-content: space-between;
}
.year-note div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.year-note span { font-family: var(--display); font-size: 25px; font-weight: 900; }
.year-note b { font-family: var(--mono); color: var(--accent-ink); font-size: 12px; }
.year-note p { margin: 14px 0 0; color: var(--ink-soft); font-size: 12.5px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.topic-card {
  appearance: none; width: 100%; cursor: pointer; text-align: left; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.topic-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.topic-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.topic-card-top span { color: var(--accent); font: 600 30px/1 var(--display); }
.topic-card-top em { color: var(--muted); font: normal 10px var(--mono); letter-spacing: .08em; }
.topic-num { font-family: var(--mono); color: var(--accent-ink); font-size: 13px; margin-bottom: 8px; }
.topic-card h3 { font-family: var(--display); margin: 0 0 9px; font-size: 25px; line-height: 1.08; }
.topic-card p, .publish-panel p { margin: 0; color: var(--ink-soft); }
.topic-card > b { display: block; margin-top: 18px; color: var(--accent-ink); font-size: 12px; }
.year-note { appearance: none; cursor: pointer; text-align: left; color: var(--ink); }
.year-note em { color: var(--accent-ink); font: normal 10.5px var(--sans); margin-top: 12px; }
.year-note:hover { border-color: var(--accent); }
.publish-panel { margin-top: 16px; }
.chart-note { margin: -4px 0 10px; font-size: 12px; }

/* ---------- Topic detail ---------- */
.topic-detail-head { padding: 26px 0 10px; }
.topic-back { border: none; background: none; color: var(--accent-ink); padding: 0; cursor: pointer; font: 12px var(--sans); }
.topic-detail-title { display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: start; margin-top: 24px; }
.topic-detail-index { color: var(--accent); font: 600 92px/.8 var(--display); }
.topic-detail-title h1 { max-width: 18ch; margin: 0 0 14px; font: 900 clamp(38px, 6vw, 72px)/.95 var(--display); }
.topic-detail-title > div > p:last-child { max-width: 68ch; margin: 0; color: var(--ink-soft); font-size: 16px; }
.topic-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 0 134px; }
.topic-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 42px; }
.topic-reading-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr); gap: 28px; align-items: start; }
.topic-reading-grid .section-heading { margin-top: 0; }
.milestone-list { border-top: 1px solid var(--ink); }
.milestone { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line-strong); }
.milestone-year { color: var(--accent); font: 600 28px/1 var(--display); }
.milestone-copy h3 { margin: 0 0 8px; font: 600 25px/1.08 var(--display); }
.milestone-copy > p:not(.eyebrow) { margin: 0; color: var(--ink-soft); }
.model-refs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.model-ref {
  appearance: none; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
  padding: 8px 10px; text-align: left; cursor: pointer; color: var(--ink);
}
.model-ref b, .model-ref span { display: block; }
.model-ref b { font-size: 12px; }
.model-ref span { margin-top: 2px; color: var(--muted); font: 10px var(--mono); }
.topic-evidence { position: sticky; top: 86px; padding: 20px; background: var(--ink); color: var(--paper); border-radius: var(--radius); }
.topic-evidence h2 { margin: 0; font: 600 29px/1 var(--display); }
.topic-evidence > p:not(.eyebrow) { color: #cfc5b2; font-size: 12px; }
.evidence-list { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.evidence-model {
  appearance: none; border: 1px solid rgba(244,241,234,.2); border-radius: var(--radius-sm);
  background: rgba(244,241,234,.04); color: var(--paper); padding: 11px; text-align: left; cursor: pointer;
}
.evidence-model:hover { border-color: #d3b367; }
.evidence-date { color: #d3b367; font: 10px var(--mono); }
.evidence-model > b, .evidence-model > em { display: block; }
.evidence-model > b { margin-top: 5px; font: 600 15px var(--display); }
.evidence-model > em { color: #cfc5b2; font: normal 11px var(--sans); }
.evidence-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.topic-evidence .quality, .topic-evidence .prov-pill { background: rgba(244,241,234,.08); border-color: rgba(244,241,234,.25); color: var(--paper); }
.evidence-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(244,241,234,.2); }
.evidence-note b { color: #d3b367; font: 11px var(--mono); letter-spacing: .08em; }
.evidence-note p { color: #cfc5b2; font-size: 11px; }
.evidence-note span { color: #9f9788; font: 10px var(--mono); }

/* ---------- Drawer ---------- */
.drawer-scrim { position: fixed; inset: 0; background: rgba(28, 27, 23, .34); z-index: 50; opacity: 0; transition: opacity .3s var(--ease); }
.drawer-scrim.show { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(460px, 92vw); z-index: 60;
  background: var(--surface); border-left: 1px solid var(--line-strong);
  box-shadow: -16px 0 40px -20px rgba(28, 27, 23, .4);
  transform: translateX(100%); transition: transform .38s var(--ease);
  overflow-y: auto; padding: 22px 24px 40px;
}
.drawer.show { transform: translateX(0); }
.drawer .close { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 24px; line-height: 1; color: var(--muted); cursor: pointer; }
.drawer .close:hover { color: var(--ink); }
.d-title { font-family: var(--display); font-weight: 600; font-size: 25px; margin: 0 0 2px; padding-right: 30px; }
.d-vendor { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.d-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.trust-summary { margin: 4px 0 18px; padding: 14px; border: 1px solid var(--line-strong); background: var(--paper); box-shadow: inset 3px 0 0 var(--accent); }
.trust-summary > div { display: grid; grid-template-columns: 106px 1fr; gap: 12px; align-items: center; min-height: 33px; border-bottom: 1px solid var(--line); }
.trust-summary > div > span:first-child { color: var(--muted); font: 10px var(--mono); letter-spacing: .05em; }
.trust-summary > div:last-of-type { padding: 7px 0; border-bottom: 0; }
.trust-summary > p { margin: 10px 0 0; padding-top: 9px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10.5px; line-height: 1.55; }
.drawer-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 14px; }
.d-section { border-top: 1px solid var(--line); padding: 14px 0; }
.d-section h4 { font-size: 12px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; margin: 0 0 10px; }
.kv { display: grid; grid-template-columns: 96px 1fr; gap: 8px 12px; font-size: 13.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.kv dd.mono { font-family: var(--mono); }
.bench-list { display: flex; flex-direction: column; gap: 8px; }
.bench-item { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 8px 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.bench-item .bn { font-weight: 500; min-width: 92px; }
.bench-item .bs { font-family: var(--mono); font-weight: 500; margin-left: auto; }
.d-note { font-size: 12.5px; color: var(--ink-soft); background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 10px 12px; }
.d-source { margin-top: 14px; font-size: 13px; }
.d-source a { word-break: break-all; }
.prov-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-strong); }
.prov-pill .dot { width: 8px; height: 8px; border-radius: 50%; }

/* ---------- Modal ---------- */
.modal-scrim[hidden] { display: none; }
.modal[hidden] { display: none !important; }
.drawer-scrim[hidden] { display: none; }
.modal-scrim { position: fixed; inset: 0; background: rgba(28, 27, 23, .4); z-index: 70; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity .3s var(--ease); }
.modal-scrim.show { opacity: 1; }
.modal { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); max-width: 720px; width: 100%; max-height: 86vh; overflow-y: auto; padding: 30px 34px; position: relative; box-shadow: var(--shadow); transform: translateY(8px); transition: transform .3s var(--ease); }
.modal-scrim.show .modal { transform: translateY(0); }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 26px; color: var(--muted); cursor: pointer; line-height: 1; }
.modal h2 { font-family: var(--display); font-weight: 600; font-size: 26px; margin: 0 0 6px; }
.modal h3 { font-family: var(--display); font-weight: 600; font-size: 17px; margin: 22px 0 6px; }
.modal p, .modal li { color: var(--ink-soft); line-height: 1.65; }
.modal ul { padding-left: 20px; }
.modal .muted { color: var(--muted); font-size: 13px; }
.review-list { list-style: none; margin: 18px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.drawer-source-list, .drawer-revision-list, .revision-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.drawer-source-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 8px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.drawer-source-list a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer-source-list small { grid-column: 2; color: var(--muted); }
.source-health { padding: 3px 7px; border-radius: 999px; font-size: 10px; white-space: nowrap; background: var(--surface-2); }
.source-health.is-healthy { color: #176b42; background: #dff5e8; }
.source-health.is-redirected { color: #315b87; background: #e2eefb; }
.source-health.is-broken, .source-health.is-error { color: #9a382d; background: #fbe2dd; }
.drawer-revision-list li, .revision-item { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.drawer-revision-list small { grid-column: 2; color: var(--muted); }
.source-health-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0; }
.source-health-stats div { padding: 12px; border: 1px solid var(--line); background: var(--surface-2); }
.source-health-stats b { display: block; font-family: var(--display); font-size: 24px; }
.source-health-stats span { color: var(--muted); font-size: 11px; }
.verification-health { margin: 18px 0; padding: 16px; border: 1px solid var(--ink); background: var(--paper); }
.verification-health-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; }
.verification-health-head h3 { margin: 3px 0 0; }
.verification-health-head > p { max-width: 280px; margin: 0; color: var(--muted); font-size: 11px; text-align: right; }
.verification-health-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.verification-health-grid div { padding: 10px; border-top: 3px solid var(--line-strong); background: var(--surface); }
.verification-health-grid div:nth-child(1) { border-color: #176b42; }
.verification-health-grid div:nth-child(2) { border-color: #c48a22; }
.verification-health-grid div:nth-child(3) { border-color: #9a382d; }
.verification-health-grid b { display: block; font: 600 23px var(--display); }
.verification-health-grid span { color: var(--muted); font-size: 10px; }
.field-audit-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.field-audit-head h4 { margin: 0; }
.field-audit > p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.field-audit > ul { list-style: none; margin: 10px 0; padding: 0; }
.field-audit > ul li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.field-audit > ul div { display: flex; flex-direction: column; min-width: 0; }
.field-audit > ul div span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.field-audit > ul a { font-size: 11px; white-space: nowrap; }
.source-tier, .audit-verdict { padding: 3px 8px; border-radius: 999px; font-size: 10px; white-space: nowrap; }
.source-tier.tier-S1, .source-tier.tier-S2, .audit-verdict.is-verified { background: #dff5e8; color: #176b42; }
.source-tier.tier-S3 { background: #e2eefb; color: #315b87; }
.source-tier.tier-T1, .audit-verdict.is-partially_verified { background: #fff0cb; color: #8a5b12; }
.audit-verdict.is-corrected { background: #f2e7ff; color: #68419a; }
.recent-audit-summary { margin: 18px 0; padding: 16px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); display: grid; grid-template-columns: 1fr auto; gap: 18px; }
.recent-audit-summary h3 { margin: 3px 0; font-family: var(--display); }
.recent-audit-summary span { color: var(--muted); font-size: 12px; }
.recent-audit-summary dl { display: flex; gap: 16px; margin: 0; }
.recent-audit-summary dl div { min-width: 76px; }
.recent-audit-summary dt { color: var(--muted); font-size: 10px; }
.recent-audit-summary dd { margin: 2px 0 0; font-family: var(--display); font-size: 24px; }
@media (max-width: 620px) { .recent-audit-summary { grid-template-columns: 1fr; } .recent-audit-summary dl { flex-wrap: wrap; } .field-audit > ul li { grid-template-columns: auto 1fr; } .field-audit > ul a { grid-column: 2; } }
@media (max-width: 560px) { .source-health-stats, .verification-health-grid { grid-template-columns: repeat(2, 1fr); } .verification-health-head { align-items: start; flex-direction: column; } .verification-health-head > p { text-align: left; } }
.review-item { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.review-item b { font-size: 12.5px; }
.review-item p { margin: 4px 0 0; font-size: 11.5px; }
.review-priority { align-self: start; padding: 3px 7px; border-radius: 999px; text-align: center; font: 10px var(--mono); text-transform: uppercase; }
.review-priority.p-high { color: #8e2630; background: #f8e5e6; }
.review-priority.p-medium { color: var(--accent-ink); background: var(--accent-soft); }

/* ---------- Footer ---------- */
.site-footer { padding: 30px 22px 60px; color: var(--ink-soft); font-size: 12.5px; max-width: var(--maxw); margin: 30px auto 0; border-top: 1px solid var(--line); }
.site-footer .muted { color: var(--muted); }

/* ---------- Static SEO pages ---------- */
.static-page { min-height: 100vh; background: var(--paper); }
.static-mast {
  max-width: 1120px; margin: 0 auto; padding: 22px; border-bottom: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.static-mast a { color: var(--ink); font: 900 21px var(--display); }
.static-mast span { color: var(--muted); font: 10px var(--mono); letter-spacing: .11em; }
.static-main { max-width: 1120px; margin: 0 auto; padding: 72px 22px 48px; }
.static-main > h1 { max-width: 16ch; margin: 0 0 14px; font: 900 clamp(44px, 8vw, 92px)/.92 var(--display); }
.static-lead { max-width: 70ch; color: var(--ink-soft); font-size: 17px; }
.static-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.static-tags span { padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: 999px; font: 11px var(--mono); }
.static-trust-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; border: 1px solid var(--ink); background: var(--surface); }
.static-trust-summary > div { padding: 13px 16px; border-right: 1px solid var(--line); }
.static-trust-summary > div:last-child { border-right: 0; }
.static-trust-summary span { display: block; margin-bottom: 5px; color: var(--muted); font: 9px var(--mono); letter-spacing: .08em; }
.static-trust-summary b { font: 600 15px var(--display); }
.static-trust-summary small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.static-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; margin-top: 46px; }
.static-grid > * { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.static-grid h2, .static-milestone h2 { margin: 0 0 16px; font: 600 25px var(--display); }
.static-kv { display: grid; grid-template-columns: 110px 1fr; gap: 10px 18px; font-size: 13px; }
.static-kv dt { color: var(--muted); }
.static-kv dd { margin: 0; word-break: break-word; }
.static-source { display: inline-flex; margin-top: 18px; }
.static-bench { list-style: none; margin: 0; padding: 0; }
.static-bench li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.static-bench span { font-family: var(--mono); color: var(--accent-ink); }
.static-note { margin-top: 18px; color: var(--muted); font-size: 11.5px; }
.static-archive-section { margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--ink); }
.static-archive-section h2 { margin: 0; font: 600 30px var(--display); }
.static-archive-section > p:not(.eyebrow) { max-width: 70ch; color: var(--muted); }
.static-family-chain { display: flex; gap: 9px; margin-top: 22px; padding-bottom: 8px; overflow-x: auto; }
.static-family-chain a { flex: 0 0 160px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-size: 12px; }
.static-family-chain a span { display: block; margin-bottom: 5px; color: var(--muted); font: 9px var(--mono); }
.static-family-chain a.is-current { background: var(--accent); border-color: var(--accent); color: #fff; }
.static-family-chain a.is-current span { color: #f0dcae; }
.static-event-list { list-style: none; margin: 20px 0 0; padding: 0; }
.static-event-list li { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.static-event-list li span { color: var(--muted); }
.static-event-list li b { font: 500 12px var(--mono); }
.static-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.static-actions a { padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); font-size: 13px; }
.static-actions a:first-child { background: var(--accent); color: #fff; border-color: var(--accent); }
.static-footer { max-width: 1120px; margin: 30px auto 0; padding: 26px 22px 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.static-topic > h1 { max-width: 18ch; }
.static-milestones { margin-top: 54px; border-top: 1px solid var(--ink); }
.static-milestone { display: grid; grid-template-columns: 120px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line-strong); }
.static-milestone > span { color: var(--accent); font: 600 29px var(--display); }
.static-milestone p { color: var(--ink-soft); }
.static-milestone div div { display: flex; flex-wrap: wrap; gap: 8px; }
.static-milestone div div a { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 11px; }
.static-change { max-width: 980px; }
.static-change-meta { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.static-change-meta > span { color: var(--muted); font: 10px var(--mono); }
.static-change > h1 { max-width: 14ch; }
.static-change-why { margin-top: 52px; padding: 34px; border-radius: var(--radius); background: var(--ink); color: var(--paper); }
.static-change-why > span { color: #d3b367; font: 9px var(--mono); letter-spacing: .1em; }
.static-change-why h2 { margin: 12px 0 0; font: 600 32px var(--display); }
.static-change-why > p { max-width: 68ch; color: #d1c8b8; font-size: 15px; line-height: 1.75; }
.static-change-why > div { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 23px; }
.static-change-why > div span { padding: 5px 9px; border: 1px solid rgba(244,241,234,.22); border-radius: 999px; color: #e0c98f; font-size: 10px; }
.static-change-evidence { display: grid; grid-template-columns: 1fr .7fr; gap: 36px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--ink); }
.static-change-evidence h2 { margin: 0; font: 600 29px var(--display); }
.static-change-evidence p:not(.eyebrow) { color: var(--ink-soft); line-height: 1.65; }
.static-change-evidence dl { margin: 0; }
.static-change-evidence dl div { display: contents; }
.static-change-evidence dt, .static-change-evidence dd { padding: 8px 0; border-bottom: 1px solid var(--line); }
.static-change-evidence dt { color: var(--muted); font-size: 11px; }
.static-change-evidence dd { margin: 0; text-align: right; font: 11px var(--mono); }

/* ---------- Public correction desk ---------- */
.feedback-page { min-height: 100vh; background: var(--ink); color: var(--paper); }
.feedback-mast { border-color: rgba(244,241,234,.2); }
.feedback-mast a { color: var(--paper); }
.feedback-mast span { color: #b9b09f; }
.feedback-layout { max-width: 1120px; margin: 0 auto; padding: 66px 22px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 44px; }
.feedback-intro { position: sticky; top: 32px; align-self: start; }
.feedback-intro h1 { max-width: 10ch; margin: 0 0 20px; font: 900 clamp(44px, 6vw, 72px)/.92 var(--display); }
.feedback-intro > p:not(.eyebrow) { color: #cfc5b2; line-height: 1.75; }
.feedback-steps { margin-top: 34px; display: flex; flex-direction: column; gap: 8px; color: #d3b367; font: 11px var(--mono); }
.feedback-card { background: var(--surface); color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid label { display: flex; flex-direction: column; gap: 7px; }
.form-grid label > span { color: var(--muted); font: 11px var(--mono); }
.form-grid .span2 { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--paper);
  color: var(--ink); padding: 11px 12px; outline: none; font: 14px var(--sans); resize: vertical;
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-privacy { margin: 18px 0 0; padding: 12px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); color: var(--muted); font-size: 11.5px; }
.feedback-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.feedback-status { min-height: 20px; color: #2c6b46; font-size: 12px; }
.feedback-status.is-error { color: var(--region-cn); }
.feedback-preview { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.feedback-preview summary { cursor: pointer; color: var(--accent-ink); font-size: 12px; }
.feedback-preview pre { max-height: 320px; overflow: auto; padding: 14px; border-radius: var(--radius-sm); background: var(--ink); color: #e9dfcc; font: 11px/1.55 var(--mono); white-space: pre-wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .home-hero, .compare-head { grid-template-columns: 1fr; }
  .chronicle-mast { grid-template-columns: 1fr; gap: 30px; padding-top: 42px; }
  .chronicle-intro h1 { font-size: clamp(58px, 14vw, 82px); }
  .chronicle-index { display: flex; overflow-x: auto; top: 58px; scrollbar-width: none; }
  .chronicle-index::-webkit-scrollbar { display: none; }
  .chronicle-index button { flex: 0 0 112px; }
  .chronicle-heading { align-items: start; flex-direction: column; padding-top: 54px; }
  .chronicle-track::before { left: 9px; }
  .chronicle-year { grid-template-columns: 1fr; gap: 30px; padding-left: 32px; }
  .chronicle-year::before { left: 3px; top: 65px; }
  .chronicle-year-head { position: static; }
  .chronicle-year-events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-support-grid { grid-template-columns: 1fr; }
  .home-support-card { min-height: 250px; }
  .focus-hero { grid-template-columns: 1fr; margin-top: 18px; }
  .focus-copy { padding: 32px 28px 28px; }
  .focus-kicker { margin-bottom: 42px; }
  .focus-copy h1 { max-width: 12ch; font-size: clamp(44px, 11vw, 58px); }
  .focus-proof { padding-top: 34px; }
  .brief-thread { border-left: none; border-top: 1px solid rgba(244,241,234,.2); padding: 30px 28px; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-card { min-height: 220px; }
  .research-routes { grid-template-columns: 1fr; margin-top: 48px; }
  .research-route { min-height: 205px; }
  .trust-ribbon { grid-template-columns: 1fr; gap: 20px; }
  .editorial-cover { min-height: 300px; }
  .home-stats { grid-template-columns: repeat(2, 1fr); }
  .home-grid { grid-template-columns: 1fr; }
  .topic-launch-grid { grid-template-columns: 1fr; }
  .topic-launch { grid-template-columns: 42px 1fr auto; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; }
  .panel.span4, .panel.span5, .panel.span7 { grid-column: auto; }
  .update-row { grid-template-columns: 1fr; gap: 5px; }
  .u-tags { justify-content: flex-start; }
  .compare-picker { grid-template-columns: 1fr; }
  .year-narratives { grid-template-columns: 1fr 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-detail-title { grid-template-columns: 72px 1fr; gap: 16px; }
  .topic-detail-index { font-size: 64px; }
  .topic-actions { margin-left: 88px; }
  .topic-facts { grid-template-columns: 1fr 1fr; }
  .topic-reading-grid { grid-template-columns: 1fr; }
  .topic-evidence { position: static; }
  .milestone { grid-template-columns: 80px 1fr; gap: 16px; }
  .timeline::before { left: 8px; }
  .tl-year { padding-left: 30px; }
  .tl-year-head { position: static; width: auto; text-align: left; display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
  .tl-dot { left: 2px; top: 4px; }
  .tl-month-dot { left: -22px; top: 6px; }
  .tl-events { grid-template-columns: 1fr; }
  .tl-legend { align-items: stretch; flex-direction: column; }
  .tl-legend .ghost-btn { align-self: flex-start; }
  .header-meta .legend { display: none; }
  .hero h1 { font-size: 28px; }
  .static-grid, .feedback-layout { grid-template-columns: 1fr; }
  .feedback-intro { position: static; }
  .static-milestone { grid-template-columns: 90px 1fr; }

  body.research-mode .research-toolbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px;
  }
  body.research-mode .filter-bar {
    display: flex; position: fixed; z-index: 82; left: 12px; right: 12px; bottom: 12px;
    width: auto; max-width: none; max-height: min(78vh, 680px); margin: 0; padding: 18px;
    overflow-y: auto; align-content: flex-start; border-radius: 18px;
    transform: translateY(calc(100% + 28px)); opacity: 0; visibility: hidden;
    transition: transform .32s var(--ease), opacity .2s var(--ease), visibility .2s;
    box-shadow: 0 24px 70px rgba(28, 27, 23, .32);
  }
  body.filter-open { overflow: hidden; }
  body.filter-open .filter-bar { transform: translateY(0); opacity: 1; visibility: visible; }
  .filter-panel-head { display: flex; width: 100%; align-items: center; justify-content: space-between; }
  .filter-panel-head > div { display: flex; flex-direction: column; }
  .filter-panel-head span { color: var(--accent-ink); font: 10px var(--mono); letter-spacing: .1em; }
  .filter-panel-head b { font: 600 21px var(--display); }
  .filter-panel-head .mini-x { position: static; }
  .filter-scrim:not([hidden]) {
    display: block; position: fixed; inset: 0; z-index: 80; background: rgba(28, 27, 23, .42);
    backdrop-filter: blur(2px);
  }
  .filter-bar .search-box, .filter-bar .filters { width: 100%; flex-basis: 100%; }
  .filter-bar .filters { align-items: flex-start; }
  .filter-bar .fgroup { flex-wrap: wrap; }
  .filter-bar .filter-actions { width: 100%; margin-left: 0; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }
}

/* 详情抽屉 · 同系列跳转 */
.fam-list { display: flex; flex-wrap: wrap; gap: 8px; }
.archive-events { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.archive-event { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.archive-event div { display: flex; flex-direction: column; }
.archive-event b { font: 500 12px var(--mono); }
.archive-event em { color: var(--muted); font: normal 10px var(--sans); }
.archive-event a { color: var(--accent-ink); }
.archive-event-actions { display: flex; align-items: center; gap: 8px; }
.archive-event-actions a:first-child { padding: 3px 7px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 9px; }
.family-archive-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.family-archive-head h4 { margin-bottom: 5px; }
.family-archive-head p { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.family-archive-head > span { flex: 0 0 auto; padding: 4px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font: 10px var(--mono); }
.family-chain { position: relative; display: flex; gap: 8px; margin-top: 16px; padding: 0 0 10px; overflow-x: auto; }
.family-chain::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 1px; background: var(--line-strong); }
.family-chain .fam-link { position: relative; flex: 0 0 148px; padding: 26px 10px 9px; text-align: left; border-radius: 8px; }
.family-chain .fam-link::before { content: ""; position: absolute; top: 10px; left: 12px; width: 9px; height: 9px; border: 2px solid var(--surface); border-radius: 50%; background: var(--line-strong); box-shadow: 0 0 0 1px var(--line-strong); }
.family-chain .fam-link.is-current { background: var(--accent); color: #fff; border-color: var(--accent); }
.family-chain .fam-link.is-current::before { background: #fff; box-shadow: 0 0 0 1px var(--accent); }
.family-chain .fam-link span { display: block; margin-bottom: 4px; color: var(--muted); font: 9px var(--mono); }
.family-chain .fam-link.is-current span { color: #f0dcae; }
.fam-link {
  font: inherit; font-size: 12.5px; cursor: pointer;
  padding: 4px 11px; border-radius: 999px;
  background: var(--paper-2); color: var(--accent-ink);
  border: 1px solid var(--line-strong);
  transition: background .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}
.fam-link:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-1px); }
@media (max-width: 520px) {
  .brand-en { display: none; }
  .header-inner { height: 58px; padding-top: 0; padding-bottom: 0; align-items: center; }
  .brand { gap: 8px; }
  .brand-mark { font-size: 17px; }
  .brand-zh { font-size: 18px; }
  .header-meta { gap: 8px; flex-wrap: nowrap; justify-content: flex-end; }
  .utility-menu summary { padding: 6px 10px; }
  .utility-popover { position: fixed; top: 64px; right: 12px; width: 180px; }
  .filter-actions { margin-left: 0; width: 100%; justify-content: space-between; }
  .view-tabs { overflow-x: auto; padding-bottom: 0; scrollbar-width: none; }
  .view-tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; padding: 10px 15px 12px; font-size: 14px; }
  .chronicle-mast { padding: 34px 0 30px; }
  .chronicle-intro h1 { font-size: 51px; line-height: .9; }
  .chronicle-intro > p:not(.eyebrow) { margin-top: 18px; font-size: 14px; }
  .chronicle-actions { display: grid; grid-template-columns: 1fr; }
  .chronicle-actions button { width: 100%; justify-content: center; }
  .chronicle-finder { padding: 20px; }
  .chronicle-finder form > div { grid-template-columns: 1fr; }
  .chronicle-finder form button { margin-top: 4px; }
  .chronicle-index { margin: 0 -22px; padding-left: 12px; }
  .chronicle-heading { padding-top: 46px; }
  .chronicle-heading h2 { font-size: 40px; }
  .chronicle-year { padding-top: 44px; padding-bottom: 54px; }
  .chronicle-year::before { top: 54px; }
  .chronicle-year-head > span { font-size: 60px; }
  .chronicle-year-events { grid-template-columns: 1fr; }
  .chronicle-event { min-height: 126px; }
  .chronicle-end { align-items: stretch; flex-direction: column; }
  .chronicle-end button { width: 100%; }
  .home-support-card { min-height: 230px; padding: 20px; }
  .home-support-card h2 { font-size: 27px; }
  .focus-hero { border-radius: 13px; }
  .focus-copy { padding: 25px 20px 23px; }
  .focus-kicker { align-items: flex-start; flex-direction: column; gap: 5px; margin-bottom: 36px; padding-bottom: 12px; }
  .focus-copy h1 { max-width: none; font-size: 42px; line-height: .96; }
  .focus-dek { margin-top: 18px; font-size: 14px; line-height: 1.65; }
  .focus-actions { display: grid; grid-template-columns: 1fr; margin-top: 24px; }
  .focus-actions button { width: 100%; justify-content: center; }
  .focus-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 30px; }
  .focus-proof span { display: block; }
  .focus-proof b { display: block; margin-bottom: 2px; }
  .brief-thread { padding: 25px 20px; }
  .brief-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .brief-head b { text-align: left; }
  .brief-thread li { grid-template-columns: 32px 1fr; gap: 10px; }
  .brief-thread li b { font-size: 19px; }
  .focus-section-heading { margin-top: 48px; }
  .signal-card { min-height: 205px; padding: 17px; }
  .signal-title b { font-size: 25px; }
  .research-route { min-height: 190px; }
  .research-route > b { font-size: 27px; }
  .trust-ribbon dl { grid-template-columns: 1fr; gap: 10px; }
  .home-copy h1, .topics-head h1, .compare-head h1 { font-size: 36px; }
  .home-stats { grid-template-columns: 1fr; }
  .home-proof { grid-template-columns: 1fr 1fr; }
  .home-search > div { grid-template-columns: 1fr; }
  .home-search button { margin-top: 4px; }
  .editorial-cover h2 { font-size: 31px; }
  .topic-launch { grid-template-columns: 36px 1fr; }
  .topic-count { grid-column: 2; text-align: left; }
  .atlas-panel { min-height: 230px; }
  .year-narratives { grid-template-columns: 1fr; }
  .topic-detail-title { display: block; }
  .topic-detail-index { margin-bottom: 14px; }
  .topic-actions { margin-left: 0; }
  .topic-facts { grid-template-columns: 1fr 1fr; }
  .milestone { grid-template-columns: 1fr; }
  .milestone-year { font-size: 22px; }
  .static-mast { align-items: flex-start; flex-direction: column; }
  .static-main { padding-top: 48px; }
  .static-trust-summary { grid-template-columns: 1fr; }
  .static-trust-summary > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .static-trust-summary > div:last-child { border-bottom: 0; }
  .static-kv { grid-template-columns: 1fr; gap: 4px; }
  .static-kv dd { margin-bottom: 10px; }
  .static-milestone { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span2 { grid-column: auto; }
  .feedback-card { padding: 20px; }
}

@media (max-width: 1000px) {
  .change-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diff-hero { grid-template-columns: 1fr; gap: 30px; }
  .diff-controls { max-width: 720px; }
  .featured-diffs { grid-template-columns: 1fr; gap: 16px; }
  .diff-evidence { grid-template-columns: 1fr; }
  .diff-actions { grid-column: 1; }
}

@media (max-width: 720px) {
  .focus-section-heading { align-items: flex-start; }
  .focus-section-heading h2 { max-width: 13ch; }
  .change-summary-strip { gap: 8px 16px; }
  .change-grid { grid-template-columns: 1fr; }
  .change-card { min-height: 430px; }
  .diff-page { padding-top: 8px; }
  .diff-hero { padding-top: 34px; }
  .diff-hero h1 { font-size: clamp(49px, 13vw, 68px); }
  .diff-controls { padding: 18px; }
  .featured-diffs > div:last-child { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diff-result-head { align-items: flex-start; flex-direction: column; }
  .diff-model-pair { width: 100%; }
  .diff-model-pair button { flex: 1; }
  .diff-model-pair b { font-size: 21px; }
  .diff-counts { width: 100%; }
  .diff-counts span { flex: 1; }
  .diff-thesis { grid-template-columns: 1fr; gap: 8px; }
  .diff-grid { grid-template-columns: 1fr; }
  .diff-evidence { padding: 21px; }
  .diff-source-list { grid-template-columns: 1fr; }
  .static-change-meta { align-items: flex-start; flex-direction: column; gap: 5px; }
  .static-change-why { padding: 23px; }
  .static-change-evidence { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 440px) {
  .window-switch { width: 100%; }
  .window-switch button { flex: 1; }
  .featured-diffs > div:last-child { grid-template-columns: 1fr; }
  .diff-pair-controls { grid-template-columns: 1fr; }
  .diff-pair-controls button { width: 100%; }
  .diff-model-pair { gap: 8px; }
  .diff-model-pair b { font-size: 18px; white-space: normal; }
  .diff-counts { gap: 3px; }
  .diff-counts span { min-width: 0; padding: 7px; }
  .diff-values { grid-template-columns: 1fr; }
  .diff-values > span { transform: rotate(90deg); }
  .change-actions { gap: 9px 14px; }
}

/* ---------- motion: view fade ---------- */
.view-anim { animation: fadeUp .4s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.empty { text-align: center; color: var(--muted); padding: 60px 20px; font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
