:root {
  --ink: #10233f;
  --ink-2: #334762;
  --muted: #68758a;
  --paper: #f7f4ed;
  --paper-2: #fffdf8;
  --white: #ffffff;
  --line: #dce2e6;
  --line-dark: #bfcad2;
  --teal: #097b78;
  --teal-dark: #055b59;
  --teal-light: #d7efeb;
  --coral: #e2604b;
  --coral-dark: #a63a2d;
  --coral-light: #fbe3dc;
  --gold: #cc9418;
  --blue: #2d66b1;
  --blue-light: #e0ecfa;
  --green: #2b7a4b;
  --red: #b33b36;
  --shadow: 0 18px 55px rgba(16, 35, 63, 0.10);
  --radius: 20px;
  --content: 1440px;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid #f0a33a; outline-offset: 3px; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto minmax(130px, 1fr);
  align-items: center;
  min-height: 76px;
  padding: 10px max(24px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid rgba(188, 201, 210, .78);
  background: rgba(247, 244, 237, .94);
  backdrop-filter: blur(16px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 13px 4px 13px 4px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand-mark span { color: #6ee0d0; }
.brand strong { display: block; font-size: 17px; line-height: 1.3; }
.brand small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.site-header nav { display: flex; gap: 28px; }
.site-header nav a {
  position: relative;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width .2s ease;
}
.site-header nav a:hover::after { width: 100%; }
.header-download {
  justify-self: end;
  padding: 9px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.header-download:hover { background: var(--ink); color: white; }

main section { padding: 90px max(24px, calc((100vw - var(--content)) / 2)); }
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 92px;
  padding-bottom: 104px;
  background:
    radial-gradient(circle at 82% 12%, rgba(9,123,120,.12), transparent 28%),
    radial-gradient(circle at 14% 86%, rgba(226,96,75,.10), transparent 24%),
    var(--paper);
}
.hero::before {
  content: "";
  position: absolute;
  right: 5%;
  top: 3%;
  width: 330px;
  height: 330px;
  opacity: .25;
  background-image: radial-gradient(var(--teal) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  mask-image: radial-gradient(circle, #000, transparent 70%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, .72fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.4;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, strong { font-family: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif; }
h1 {
  max-width: 920px;
  margin-bottom: 30px;
  font-size: clamp(48px, 6.2vw, 92px);
  line-height: 1.04;
  letter-spacing: -.055em;
  font-weight: 800;
}
h1 span { color: var(--coral); }
.hero-lead {
  max-width: 800px;
  margin-bottom: 34px;
  color: var(--ink-2);
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(16,35,63,.13); }
.button.primary { border-color: var(--ink); background: var(--ink); color: white; }
.button.primary:hover { background: #1a355a; }
.button.ghost { background: rgba(255,255,255,.45); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.hero-proof span {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}
.hero-proof b { color: var(--ink); font-size: 19px; }

.decision-card {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(16,35,63,.13);
  border-radius: 26px 7px 26px 7px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}
.decision-card::before {
  content: "";
  position: absolute;
  inset: 11px -11px -11px 11px;
  z-index: -1;
  border: 1px solid rgba(226,96,75,.45);
  border-radius: 26px 7px 26px 7px;
}
.decision-label { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; font-weight: 700; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; }
.status-dot.closed { background: var(--red); box-shadow: 0 0 0 5px rgba(179,59,54,.12); }
.decision-value { margin: 4px 0 8px; color: var(--red); font-size: 62px; line-height: 1.2; font-weight: 800; }
.decision-card > p { color: var(--ink-2); font-size: 16px; }
.decision-divider { height: 1px; margin: 24px 0; background: var(--line); }
.decision-card dl { display: grid; gap: 12px; margin: 0 0 25px; }
.decision-card dl div { display: flex; justify-content: space-between; gap: 18px; }
.decision-card dt { color: var(--muted); font-size: 14px; }
.decision-card dd { margin: 0; font-size: 15px; font-weight: 800; text-align: right; }
.negative { color: var(--red); }
.text-link { color: var(--teal-dark); font-size: 14px; font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.entity-section { background: var(--ink); color: white; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 38px;
  margin-bottom: 40px;
}
.section-heading.compact { margin-bottom: 30px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.16; letter-spacing: -.035em; }
.section-heading > p { max-width: 590px; margin-bottom: 3px; color: var(--muted); font-size: 16px; }
.entity-section .section-heading > p { color: #b8c7d8; }
.entity-section .eyebrow { color: #7de0d4; }
.lens-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid #53657e;
  border-radius: 15px;
  background: #53657e;
}
.lens-switch button {
  min-height: 68px;
  padding: 12px 20px;
  border: 0;
  background: #162b49;
  color: #c7d2df;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
}
.lens-switch button span { margin-right: 12px; color: #75869d; font-size: 13px; }
.lens-switch button:hover { background: #1c3558; }
.lens-switch button.active { background: var(--paper-2); color: var(--ink); }
.lens-switch button.active span { color: var(--coral); }
.lens-explainer {
  min-height: 46px;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 4px solid var(--coral);
  color: #d4dce6;
  font-size: 16px;
}
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric-card {
  min-height: 180px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 15px;
  background: rgba(255,255,255,.055);
}
.metric-card.accent { background: #fffdf8; color: var(--ink); }
.metric-card .metric-label { min-height: 47px; color: #b8c7d8; font-size: 14px; font-weight: 700; line-height: 1.5; }
.metric-card.accent .metric-label { color: var(--muted); }
.metric-card strong { display: block; margin: 11px 0 5px; font-size: clamp(28px, 3vw, 44px); line-height: 1.15; letter-spacing: -.04em; }
.metric-card small { display: block; color: #aebed0; font-size: 13.5px; line-height: 1.5; }
.metric-card.accent small { color: var(--muted); }
.metric-footnote { margin: 20px 0 0; color: #b7c5d5; font-size: 14px; }
.text-link.light { color: #8fe7dc; }
.shihe-fact-panel { margin-top: 34px; padding: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(255,255,255,.045); }
.shihe-fact-panel .card-heading h3 { color: white; }
.shihe-fact-panel .card-heading p { color: #9fb0c5; }
.shihe-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.shihe-fact { position: relative; min-height: 155px; padding: 19px; border-top: 3px solid var(--teal); border-radius: 6px 6px 11px 11px; background: #182f50; }
.shihe-fact:nth-child(2) { border-color: var(--coral); }
.shihe-fact:nth-child(3) { border-color: var(--gold); }
.shihe-fact:nth-child(4) { border-color: #79a9e7; }
.shihe-fact time { color: #85d9cf; font-size: 13.5px; font-weight: 800; }
.shihe-fact strong { display: block; margin: 6px 0; font-size: 17px; line-height: 1.45; }
.shihe-fact p { margin: 0 0 8px; color: #c7d2df; font-size: 14px; line-height: 1.6; }
.shihe-fact a { color: #8fe7dc; font-size: 13.5px; font-weight: 800; }

.funnel-section { background: var(--paper-2); }
.funnel-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 50px; align-items: center; }
.funnel { display: grid; gap: 11px; }
.funnel-step {
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  min-height: 76px;
  overflow: hidden;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.funnel-step::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  width: var(--funnel-width, 100%);
  background: var(--fill, var(--teal-light));
  opacity: .8;
}
.funnel-step > * { position: relative; z-index: 1; }
.funnel-step span { font-size: 14px; font-weight: 800; }
.funnel-step p { margin: 0; color: var(--muted); font-size: 14px; }
.funnel-step strong { font-size: 26px; }
.funnel-notes { display: grid; gap: 16px; }
.funnel-notes article { padding: 20px 22px; border-left: 3px solid var(--teal); background: #f3f0e8; }
.funnel-notes article:nth-child(2) { border-color: var(--gold); }
.funnel-notes article:nth-child(3) { border-color: var(--coral); }
.funnel-notes span { color: var(--muted); font-size: 13.5px; font-weight: 800; letter-spacing: .08em; }
.funnel-notes h3 { margin: 2px 0 5px; font-size: 19px; }
.funnel-notes p { margin: 0; color: var(--ink-2); font-size: 14px; }

.evidence-strip {
  display: grid;
  grid-template-columns: repeat(3, 150px) 1fr;
  gap: 28px;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 32px;
  background: var(--coral-light);
}
.evidence-strip div { display: flex; align-items: baseline; gap: 8px; }
.evidence-strip b { color: var(--coral-dark); font-size: 36px; }
.evidence-strip span { color: #6f4b45; font-size: 14px; line-height: 1.4; }
.evidence-strip p { margin: 0; color: #623c37; font-size: 14px; }

.explorer-section { background: var(--paper); }
.control-panel {
  display: grid;
  grid-template-columns: minmax(250px, 1.7fr) repeat(5, minmax(132px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-2);
}
.control-panel label { display: flex; flex-direction: column; gap: 6px; }
.control-panel label > span { color: var(--muted); font-size: 13.5px; font-weight: 800; }
.control-panel input, .control-panel select, .source-toolbar input {
  width: 100%;
  min-height: 45px;
  padding: 8px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  background: white;
  color: var(--ink);
  font-size: 14px;
}
.view-toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 20px 0;
}
.scenario-switch, .metric-switch { display: inline-flex; border: 1px solid var(--line-dark); border-radius: 9px; background: white; padding: 3px; }
.scenario-switch button, .metric-switch button {
  min-height: 36px;
  padding: 5px 13px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.scenario-switch button.active, .metric-switch button.active { background: var(--ink); color: white; }
#result-count { margin: 0 0 0 auto; color: var(--muted); font-size: 14px; }
.explorer-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, .7fr); gap: 16px; margin-bottom: 16px; }
.map-card, .spotlight-card, .hospital-table-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
  box-shadow: 0 7px 25px rgba(16,35,63,.045);
}
.map-card, .spotlight-card { padding: 22px; }
.card-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.card-heading h3 { margin-bottom: 2px; font-size: 20px; }
.card-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.small-button {
  min-height: 36px;
  padding: 5px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
}
.small-button:hover { border-color: var(--ink); }
.china-map { min-height: 520px; margin-top: 8px; }
.china-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.map-province { stroke: #fffdf8; stroke-width: 1.1; cursor: pointer; transition: opacity .15s ease, stroke .15s ease; }
.map-province:hover, .map-province.active { opacity: .78; stroke: var(--ink); stroke-width: 1.7; }
.map-label { fill: #334762; font-size: 9px; pointer-events: none; text-anchor: middle; }
.map-legend { display: flex; justify-content: center; align-items: center; gap: 5px; color: var(--muted); font-size: 13.5px; }
.map-legend i { width: 28px; height: 8px; background: #e7efed; }
.map-legend i:nth-of-type(2) { background: #badbd4; }
.map-legend i:nth-of-type(3) { background: #75bdb2; }
.map-legend i:nth-of-type(4) { background: #2a958d; }
.map-legend i:nth-of-type(5) { background: #096d69; }
.map-note { margin: 10px 0 0; color: var(--muted); font-size: 13.5px; text-align: center; }
.spotlight-card { min-height: 585px; }
#spotlight-list { display: grid; gap: 11px; margin-top: 18px; }
.spotlight-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  cursor: pointer;
  text-align: left;
}
.spotlight-item:hover { border-color: var(--teal); }
.prob-ring {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: conic-gradient(var(--teal) calc(var(--p) * 1%), #e4e9e9 0);
  font-size: 12px;
  font-weight: 800;
}
.prob-ring::before { content: attr(data-label); display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: white; }
.spotlight-item strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.spotlight-item small { display: block; color: var(--muted); font-size: 13.5px; }
.spotlight-item > b { color: var(--ink); font-size: 14px; white-space: nowrap; }

.hospital-table-card { overflow: hidden; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
thead { background: #eef2f1; }
th { padding: 15px 16px; color: var(--muted); font-size: 14px; text-align: left; white-space: nowrap; }
td { padding: 16px; border-top: 1px solid var(--line); vertical-align: middle; }
tbody tr { cursor: pointer; transition: background .14s ease; }
tbody tr:hover { background: #f4f7f4; }
.hospital-cell strong { display: block; max-width: 340px; font-size: 15px; line-height: 1.45; }
.hospital-cell small { color: var(--muted); font-size: 13.5px; }
.range-value strong { display: block; font-size: 15px; }
.range-value small { color: var(--muted); font-size: 13.5px; }
.tier-pill, .confidence-pill, .kind-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.tier-pill.core { background: #d5eee7; color: #075d52; }
.tier-pill.high { background: #e1ebfa; color: #245b9d; }
.tier-pill.selective { background: #f7e9c7; color: #7c5909; }
.tier-pill.evidence { background: #eceff1; color: #586676; }
.confidence-pill { min-width: 28px; justify-content: center; padding: 3px 8px; background: var(--ink); color: white; }
.confidence-pill.C, .confidence-pill.D { background: #e1e5e8; color: #536171; }
.path-cell { max-width: 280px; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.path-cell small { display: block; color: var(--muted); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 15px; border-top: 1px solid var(--line); }
.pagination button { padding: 7px 14px; border: 1px solid var(--line-dark); border-radius: 7px; background: white; cursor: pointer; font-size: 14px; }
.pagination button:disabled { opacity: .4; cursor: default; }
.pagination span { color: var(--muted); font-size: 13.5px; }

.sensitivity-section { background: #e7f1ee; }
.sensitivity-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 22px; }
.slider-panel, .sensitivity-result { padding: 30px; border: 1px solid #bfd3ce; border-radius: 18px; background: rgba(255,255,255,.72); }
.selected-hospital-label { margin: 0; color: var(--teal-dark); font-size: 13.5px; font-weight: 800; }
.slider-panel h3 { margin-bottom: 24px; font-size: 24px; }
.slider-panel label { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin-bottom: 18px; color: var(--ink-2); font-size: 14px; font-weight: 700; }
.slider-panel output { color: var(--teal-dark); font-weight: 800; }
.slider-panel input { grid-column: 1 / -1; width: 100%; accent-color: var(--teal); }
.sensitivity-result { display: flex; flex-direction: column; justify-content: center; }
.sensitivity-result > p { margin-bottom: 7px; color: var(--muted); font-size: 14px; }
.sensitivity-result > strong { font-size: clamp(38px, 5vw, 62px); line-height: 1.2; letter-spacing: -.045em; }
.sensitivity-result > span { color: var(--teal-dark); font-size: 14px; font-weight: 800; }
.comparison-track { position: relative; height: 20px; margin: 28px 0 16px; border-radius: 999px; background: #d2dfdc; }
.comparison-track i { position: absolute; inset: 0 auto 0 0; width: 50%; border-radius: inherit; background: var(--teal); transition: width .2s ease; }
.comparison-track b { position: absolute; left: 50%; top: -5px; width: 2px; height: 30px; background: var(--ink); }
.sensitivity-result small { color: var(--muted); font-size: 13.5px; }

.method-section { background: var(--paper-2); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 32px; }
.method-card { position: relative; min-height: 245px; padding: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; }
.method-card .method-number { position: absolute; right: 13px; top: -16px; color: #edf1ef; font-size: 88px; font-weight: 800; line-height: 1; }
.method-card h3 { position: relative; margin: 34px 0 10px; font-size: 20px; }
.method-card code { display: block; margin-bottom: 12px; color: var(--teal-dark); font-family: inherit; font-size: 14px; font-weight: 800; }
.method-card p { color: var(--ink-2); font-size: 14px; }
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.download-grid a { display: grid; grid-template-columns: 48px 1fr; gap: 3px 13px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #f7f5ef; text-decoration: none; }
.download-grid a:hover { border-color: var(--teal); }
.download-grid span { grid-row: 1 / 3; display: grid; place-items: center; width: 45px; height: 45px; border-radius: 9px; background: var(--ink); color: white; font-size: 13px; font-weight: 800; }
.download-grid strong { font-size: 14px; }
.download-grid small { color: var(--muted); font-size: 13.5px; }

.sources-section { background: #eef1ee; }
.source-toolbar { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.source-toolbar input { max-width: 560px; }
.source-toolbar span { color: var(--muted); font-size: 14px; }
.source-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.source-item { padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.source-item-top { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.source-id { color: var(--teal-dark); font-size: 13.5px; font-weight: 800; }
.trust-grade { padding: 3px 8px; border-radius: 999px; background: var(--ink); color: white; font-size: 13px; font-weight: 800; }
.trust-grade.B { background: var(--teal); }
.trust-grade.C { background: #798695; }
.source-item h3 { margin-bottom: 6px; font-size: 15px; line-height: 1.55; }
.source-item h3 a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.source-item dl { display: grid; grid-template-columns: 100px 1fr; gap: 4px 10px; margin: 0 0 9px; color: var(--muted); font-size: 13.5px; }
.source-item dt { font-weight: 800; }
.source-item dd { margin: 0; }
.source-item p { margin: 0; color: var(--ink-2); font-size: 14px; }

footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 52px max(24px, calc((100vw - var(--content)) / 2));
  background: #0b192d;
  color: white;
}
footer strong { font-size: 17px; }
footer p { margin: 5px 0 0; color: #b6c2d2; font-size: 14px; }
footer > p { text-align: right; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(8,18,33,.55); backdrop-filter: blur(2px); }
.hospital-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: min(760px, 94vw);
  height: 100vh;
  overflow-y: auto;
  transform: translateX(105%);
  padding: 34px;
  background: var(--paper-2);
  box-shadow: -20px 0 55px rgba(0,0,0,.22);
  transition: transform .25s ease;
}
.hospital-drawer.open { transform: translateX(0); }
.drawer-close { position: fixed; top: 16px; right: 16px; z-index: 110; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 50%; background: white; cursor: pointer; font-size: 26px; line-height: 1; box-shadow: 0 5px 18px rgba(16,35,63,.15); }
.drawer-eyebrow { margin: 8px 55px 8px 0; color: var(--teal-dark); font-size: 13.5px; font-weight: 800; letter-spacing: .08em; }
.drawer-title { margin: 0 60px 7px 0; font-size: 34px; line-height: 1.3; letter-spacing: -.03em; }
.drawer-subtitle { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }
.drawer-alert { margin: 22px 0; padding: 17px 19px; border-left: 4px solid var(--coral); background: var(--coral-light); }
.drawer-alert strong { display: block; font-size: 14px; }
.drawer-alert p { margin: 4px 0 0; color: #694943; font-size: 14px; }
.drawer-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0; }
.drawer-metric { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.drawer-metric span { display: block; min-height: 39px; color: var(--muted); font-size: 13.5px; font-weight: 700; }
.drawer-metric strong { display: block; margin: 4px 0; font-size: 27px; }
.drawer-metric small { color: var(--muted); font-size: 13.5px; }
.drawer-section { margin-top: 30px; }
.drawer-section h3 { margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 18px; }
.drawer-section > p { color: var(--ink-2); font-size: 14px; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.capability-item { padding: 11px; border-radius: 9px; background: #edf2f0; }
.capability-item span { display: block; color: var(--muted); font-size: 13.5px; }
.capability-dots { display: flex; gap: 4px; margin-top: 7px; }
.capability-dots i { width: 18px; height: 5px; border-radius: 4px; background: #ccd5d3; }
.capability-dots i.on { background: var(--teal); }
.channel-list { display: grid; gap: 10px; }
.channel-item { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(140px, 1fr) 78px; gap: 10px; align-items: center; font-size: 13.5px; }
.channel-track { height: 8px; border-radius: 99px; background: #e5e9e8; }
.channel-track i { display: block; height: 100%; border-radius: inherit; background: var(--teal); }
.channel-item strong { text-align: right; font-size: 13.5px; }
.fact-table { width: 100%; font-size: 13.5px; }
.fact-table th, .fact-table td { padding: 10px 8px; vertical-align: top; }
.fact-table tbody tr { cursor: default; }
.source-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.source-chip { padding: 5px 8px; border: 1px solid var(--line-dark); border-radius: 7px; background: white; font-size: 13.5px; font-weight: 800; text-decoration: none; }
.drawer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.tooltip { position: fixed; z-index: 200; max-width: 280px; padding: 10px 12px; border-radius: 8px; background: var(--ink); color: white; pointer-events: none; font-size: 13.5px; box-shadow: var(--shadow); }
.noscript { padding: 20px; background: #ffd7d0; color: #5c241c; text-align: center; }
.loading, .error-state { padding: 40px; color: var(--muted); text-align: center; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .control-panel { grid-template-columns: repeat(3, 1fr); }
  .search-control { grid-column: span 2; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .shihe-timeline { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  body { font-size: 17px; }
  main section { padding-top: 68px; padding-bottom: 68px; }
  .hero-grid, .funnel-layout, .explorer-grid, .sensitivity-grid { grid-template-columns: 1fr; }
  .decision-card { max-width: 620px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .section-heading > p { max-width: 760px; }
  .evidence-strip { grid-template-columns: repeat(3, 1fr); }
  .evidence-strip p { grid-column: 1 / -1; }
  .spotlight-card { min-height: auto; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .source-list { grid-template-columns: 1fr; }
  .china-map { min-height: 410px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.68; }
  .site-header { min-height: 68px; padding: 9px 16px; }
  .brand small, .header-download { display: none; }
  .brand strong { font-size: 15px; }
  main section { padding-left: 17px; padding-right: 17px; }
  .hero { padding-top: 58px; }
  h1 { font-size: clamp(44px, 14vw, 68px); }
  .hero-lead { font-size: 18px; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr; }
  .decision-card { padding: 25px; }
  .decision-value { font-size: 52px; }
  .lens-switch { grid-template-columns: 1fr; }
  .lens-switch button { min-height: 55px; }
  .metric-grid, .method-grid, .download-grid, .drawer-metrics { grid-template-columns: 1fr; }
  .shihe-timeline { grid-template-columns: 1fr; }
  .metric-card { min-height: 150px; }
  .evidence-strip { grid-template-columns: 1fr; gap: 10px; }
  .evidence-strip p { grid-column: auto; margin-top: 12px; }
  .control-panel { grid-template-columns: 1fr 1fr; }
  .search-control { grid-column: 1 / -1; }
  .view-toolbar { align-items: flex-start; flex-wrap: wrap; }
  #result-count { width: 100%; margin-left: 0; }
  .china-map { min-height: 300px; }
  .map-label { display: none; }
  .hospital-table-card table { min-width: 860px; }
  .source-toolbar { align-items: flex-start; flex-direction: column; }
  footer { grid-template-columns: 1fr; gap: 20px; padding: 40px 18px; }
  footer > p { text-align: left; }
  .hospital-drawer { width: 100vw; padding: 22px 17px; }
  .drawer-title { font-size: 27px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .channel-item { grid-template-columns: 1fr 70px; }
  .channel-track { grid-column: 1 / -1; grid-row: 2; }
}

/* Readability contract: body copy and operational labels never shrink below
   16px. The province names inside the SVG map are the sole compact exception;
   they are hidden on mobile and duplicated by accessible tooltips. */
.brand small,
.site-header nav a,
.header-download,
.eyebrow,
.hero-proof span,
.decision-label,
.decision-card dt,
.decision-card dd,
.text-link,
.section-heading > p,
.lens-switch button,
.lens-switch button span,
.metric-card .metric-label,
.metric-card small,
.metric-footnote,
.shihe-fact time,
.shihe-fact p,
.shihe-fact a,
.funnel-step span,
.funnel-step p,
.funnel-notes span,
.funnel-notes p,
.evidence-strip span,
.evidence-strip p,
.control-panel label > span,
.control-panel input,
.control-panel select,
.source-toolbar input,
.scenario-switch button,
.metric-switch button,
#result-count,
.card-heading p,
.small-button,
.map-legend,
.map-note,
.spotlight-item strong,
.spotlight-item small,
.spotlight-item > b,
table,
th,
.hospital-cell strong,
.hospital-cell small,
.range-value strong,
.range-value small,
.path-cell,
.pagination button,
.pagination span,
.selected-hospital-label,
.slider-panel label,
.sensitivity-result > p,
.sensitivity-result > span,
.sensitivity-result small,
.method-card code,
.method-card p,
.download-grid span,
.download-grid strong,
.download-grid small,
.source-toolbar span,
.source-id,
.trust-grade,
.source-item h3,
.source-item dl,
.source-item p,
footer p,
.drawer-eyebrow,
.drawer-alert strong,
.drawer-alert p,
.drawer-metric span,
.drawer-metric small,
.drawer-section > p,
.capability-item span,
.channel-item,
.channel-item strong,
.fact-table,
.source-chip,
.tooltip,
.tier-pill,
.confidence-pill,
.kind-pill {
  font-size: 16px;
}

.prob-ring { font-size: 14px; }

@media (max-width: 640px) {
  .brand strong { font-size: 16px; }
  .prob-ring { font-size: 15px; }
}

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