/* 韩启德 · 体温单：病历夹里的一页页记录。纸是暖白，格子是体温单的玫瑰红，体温记录用蓝黑墨水，37 度那条线是红的；
   桌面从冷的蓝灰慢慢暖成灯下的米黄。 */
.c-han-qide {
  --bg: #d9e2e8; --paper: #fffdf8; --ink: #1f2328; --ink-2: #474d55; --ink-3: #555c64; --rule: rgba(31, 35, 40, .15);
  --acc: #9b2335; --acc-ink: #fffdf8; --red: #c0392b; --blue: #23408e; --grid: rgba(201, 84, 84, .2); --grid-2: rgba(201, 84, 84, .42);
  --head: "Noto Serif SC", "Songti SC", serif; --body: "Noto Serif SC", "Songti SC", serif; --sans: "Noto Sans SC", "PingFang SC", sans-serif;
  --hand: "Long Cang", "Noto Serif SC", cursive; --mono: "IBM Plex Mono", ui-monospace, monospace;
  --bar-bg: rgba(255, 253, 248, .86); --chip-bg: rgba(255, 253, 248, .94); --chip-ring: #fffdf8;
  background-color: var(--bg); transition: background-color 1.4s ease;
}
.c-han-qide[data-cur="receptor"] { --bg: #dbe2e4; }
.c-han-qide[data-cur="medicine"] { --bg: #e0e1dd; }
.c-han-qide[data-cur="screening"] { --bg: #e5e0d8; }
.c-han-qide[data-cur="tcm"] { --bg: #e9ded1; }
.c-han-qide[data-cur="history"] { --bg: #ecdbca; }
.c-han-qide[data-cur="culture"] { --bg: #efd7c1; }
.c-han-qide[data-cur="end"] { --bg: #f0d5bc; }
.c-han-qide .dlg { --dlg-bg: #eef0f1; --dlg-paper: #fffdf8; --dlg-me: #23408e; --dlg-me-ink: #fffdf8; --dlg-acc: #9b2335; }
.c-han-qide .c3bar { font-family: var(--sans); }
.c-han-qide .c3bar__t a { letter-spacing: .08em; }
.c-han-qide :focus-visible { outline-color: var(--blue); }
.hq-mk { margin: 0 0 8px; font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .16em; color: var(--acc); }

/* 顶上的水银柱：35 度到 37 度 */
.c-han-qide .c3bar__prog { height: 4px; bottom: -2px; background: linear-gradient(90deg, #7d1a26, var(--red)); border-radius: 0 3px 3px 0; }
.hq-thermo { position: fixed; z-index: 880; left: 0; right: 0; top: var(--bar); height: 13px; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(31, 35, 40, .35) 0 1px, transparent 1px 5%) 0 0 / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, rgba(31, 35, 40, .5) 0 1px, transparent 1px 50%) 0 0 / 100% 8px no-repeat; }
.hq-thermo span { position: absolute; top: 3px; padding: 0 3px; font: 500 9.5px/1 var(--mono); color: var(--ink-3); white-space: nowrap; }
.hq-thermo span:first-child { left: 2px !important; }
.hq-thermo span:nth-child(2) { left: calc(50% + 2px) !important; }
.hq-thermo .is-37 { left: auto !important; right: 3px; color: var(--red); }

/* 右侧目录：一列体温记录点 */
.c-han-qide .c3toc ol { gap: 4px; }
.c-han-qide .c3toc a { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.c-han-qide .c3toc a b { font-weight: 500; }
.c-han-qide .c3toc a span { font-family: var(--sans); font-size: 12px; }
.c-han-qide .c3toc a::after { width: 9px; height: 9px; border: 1.5px solid rgba(35, 64, 142, .55); background: transparent; }
.c-han-qide .c3toc a.is-seen::after { background: var(--blue); border-color: var(--blue); }
.c-han-qide .c3toc a[aria-current="true"] { color: var(--red); }
.c-han-qide .c3toc a[aria-current="true"]::after { width: 11px; height: 11px; background: var(--paper); border: 3px solid var(--red); }

/* ---------- 病历夹里的一页 ---------- */
.hq-sheet { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 clamp(18px, 3.4vw, 48px) 34px clamp(34px, 5vw, 72px); background: var(--paper);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 22px 48px -26px rgba(31, 35, 40, .5); }
.hq-sheet::before { content: ""; position: absolute; left: clamp(18px, 2.8vw, 40px); top: 0; bottom: 0; width: 4px; border-left: 1px solid var(--grid-2); border-right: 1px solid var(--grid-2); }
.hq-holes { position: absolute; left: 50%; top: 10px; width: 120px; height: 12px; transform: translateX(-50%);
  background: radial-gradient(circle at 6px 6px, var(--bg) 5px, rgba(0, 0, 0, .12) 5.6px, transparent 6.4px) 0 0 / 12px 12px no-repeat,
    radial-gradient(circle at 6px 6px, var(--bg) 5px, rgba(0, 0, 0, .12) 5.6px, transparent 6.4px) 108px 0 / 12px 12px no-repeat; }
.hq-clip { position: absolute; left: 50%; top: -22px; width: 190px; height: 46px; transform: translateX(-50%); z-index: 3; border-radius: 10px 10px 6px 6px;
  background: linear-gradient(180deg, #f3f5f6, #b9c0c6 45%, #8e979f 52%, #c9cfd4 70%, #a7afb6); box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .35), inset 0 1px 0 #fff; }
.hq-clip::before { content: ""; position: absolute; left: 50%; top: 8px; width: 44px; height: 12px; margin-left: -22px; border-radius: 8px; background: var(--bg); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .35); }
.hq-form { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 12px; padding: 30px 0 9px; margin-bottom: 26px;
  border-bottom: 2px solid var(--ink); box-shadow: 0 3px 0 -1px var(--paper), 0 4px 0 -1px var(--grid-2); font-family: var(--sans); }
.hq-form p { margin: 0; }
.hq-form__l { font-size: 13px; color: var(--ink-2); letter-spacing: .1em; }
.hq-form__l b { display: inline-block; padding: 2px 10px; border: 1.5px solid var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .3em; text-indent: .3em; color: var(--ink); }
.hq-form__t { font-size: 13px; letter-spacing: .2em; color: var(--ink-3); text-align: center; }
.hq-form__r { font-size: 13px; color: var(--ink-3); text-align: right; letter-spacing: .1em; }

/* ---------- 首屏：体温单 ---------- */
.c-han-qide .c3hero { padding: calc(var(--bar) + 40px) clamp(14px, 3vw, 48px) 40px; }
.hq-sheet--hero .hq-form { padding-top: 34px; }
.hq-sheet--hero .hq-form__t { font-size: 22px; font-weight: 700; letter-spacing: .9em; text-indent: .9em; color: var(--ink); }
.hq-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.25fr) minmax(0, .8fr); grid-template-areas: "n rel att" "n bk att" "chart chart chart" "go go go";
  column-gap: 30px; align-items: start; }
.hq-id__n { grid-area: n; } .hq-f--rel { grid-area: rel; } .hq-f--bk { grid-area: bk; } .hq-att { grid-area: att; } .hq-hero > .hq-chart { grid-area: chart; } .hq-hero > .hq-go { grid-area: go; }
.hq-id__n h1 { margin: 0; font-family: var(--head); font-weight: 900; font-size: clamp(72px, 7.2vw, 106px); line-height: 1; letter-spacing: .03em; white-space: nowrap; }
.hq-en { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 12px 0 14px; font-family: var(--mono); font-size: 13.5px; letter-spacing: .08em; color: var(--ink-2); }
.hq-en span:first-child { text-transform: uppercase; letter-spacing: .2em; color: var(--blue); font-weight: 500; }
.hq-en .hq-en__b { font-family: var(--sans); letter-spacing: .04em; }
.hq-who { margin: 0 0 6px; font-size: 18px; font-weight: 700; line-height: 1.55; }
.hq-now { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.hq-f { margin: 0; }
.hq-f > div { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--grid-2); }
.hq-f--rel > div { border-top: 1px dashed var(--grid-2); }
.hq-f dt { font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; color: var(--acc); padding-top: 3px; }
.hq-f dd { margin: 0; font-size: 14.5px; line-height: 1.8; }
.hq-books { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 16px; }
.hq-books li { display: inline-flex; gap: 6px; align-items: baseline; }
.hq-books a { text-decoration: none; }
.hq-books a:hover { text-decoration: underline; text-decoration-color: var(--acc); }
.hq-books span { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.hq-att { position: relative; margin: 6px 0 0; padding: 10px 10px 8px; background: #fbf8f1; box-shadow: 0 2px 6px rgba(0, 0, 0, .14); transform: rotate(1.4deg); }
.hq-att::before { content: ""; position: absolute; left: 22px; top: -14px; width: 16px; height: 46px; border: 3px solid #9aa3ab; border-radius: 10px; border-bottom-color: transparent; }
.hq-att img { display: block; width: 100%; height: auto; }
.hq-att figcaption { margin-top: 6px; font-size: 12px; line-height: 1.6; color: var(--ink-2); }

/* 体温单的下半张：六格日期就是六个问题 */
.hq-chart { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr); margin: 30px 0 0; border: 1.5px solid var(--ink); }
.hq-chart__ax { display: grid; grid-template-rows: 32px 74px 72px; border-right: 1.5px solid var(--ink); font-family: var(--sans); font-size: 12px; color: var(--ink-2); letter-spacing: .1em; }
.hq-chart__ax > span { display: grid; place-items: center; border-bottom: 1px solid var(--grid-2); }
.hq-ax__r3 { position: relative; border-bottom: 0 !important; }
.hq-ax__r3 b { position: absolute; left: 6px; top: 2px; font-weight: 500; font-size: 11px; }
.hq-ax__r3 i { position: absolute; right: 6px; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--blue); transform: translateY(-50%); }
.hq-ax__r3 i:nth-of-type(1) { top: 12px; } .hq-ax__r3 i:nth-of-type(2) { top: 36px; } .hq-ax__r3 i:nth-of-type(3) { top: 60px; }
.hq-ax__r3 i.is-37 { color: var(--red); font-weight: 500; }
.hq-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hq-days li { min-width: 0; border-right: 1px solid var(--grid-2); }
.hq-days li:last-child { border-right: 0; }
.hq-days a { display: grid; grid-template-rows: 32px 74px 72px; height: 100%; text-decoration: none; color: var(--ink); transition: background .2s; }
.hq-days a:hover, .hq-days a:focus-visible { background: rgba(35, 64, 142, .06); }
.hq-day__y { display: grid; place-items: center; border-bottom: 1px solid var(--grid-2); font-family: var(--hand); font-size: 22px; line-height: 1; color: var(--blue); }
.hq-day__q { display: flex; align-items: center; padding: 4px 10px; border-bottom: 1px solid var(--grid-2); font-size: 14px; line-height: 1.5; word-break: keep-all; }
.hq-days a:hover .hq-day__q { text-decoration: underline; text-decoration-color: var(--acc); }
.hq-day__p { position: relative; background:
    linear-gradient(transparent 35px, var(--red) 35px 37px, transparent 37px),
    repeating-linear-gradient(transparent 0 11.5px, var(--grid-2) 11.5px 12.5px, transparent 12.5px 24px),
    repeating-linear-gradient(var(--grid) 0 1px, transparent 1px 4.8px); }
.hq-day__p i { position: absolute; left: 50%; top: 36px; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--blue); transform: scale(0); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.hq-days li.is-seen .hq-day__p i { transform: scale(1); }
.hq-days li.is-seen + li.is-seen .hq-day__p::before { content: ""; position: absolute; left: -50%; right: 50%; top: 35px; height: 2px; background: var(--blue); }
.hq-chart__n { position: absolute; right: 10px; bottom: -26px; margin: 0; font-family: var(--hand); font-size: 17px; color: var(--blue); }
.hq-go { margin: 40px 0 0; }
.c-han-qide .c3-btn { border-radius: 2px; font-family: var(--sans); font-size: 14px; }
.c-han-qide .c3-btn--go { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.c-han-qide .c3-btn--deep { background: transparent; color: var(--ink); border-color: var(--ink); }

/* 首屏下方：生平、成就、著作、链接 */
.hq-band { max-width: 1240px; margin: 34px auto 0; display: grid; grid-template-columns: 1.25fr 1fr 1.2fr .9fr; gap: 26px; }
.hq-band .hq-mk { padding-bottom: 6px; border-bottom: 1.5px solid var(--ink); color: var(--ink); letter-spacing: .24em; }
.hq-facts { margin: 0; font-size: 14px; line-height: 1.85; color: var(--ink-2); }
.c-han-qide .c3-feats { margin: 0; padding: 0; list-style: none; counter-reset: f; }
.c-han-qide .c3-feats li { counter-increment: f; position: relative; padding: 5px 0 5px 28px; font-size: 14px; line-height: 1.65; border-bottom: 1px dashed var(--grid-2); }
.c-han-qide .c3-feats li::before { content: counter(f); position: absolute; left: 0; top: 3px; font-family: var(--hand); font-size: 19px; color: var(--blue); }
.c-han-qide .c3-books li, .c-han-qide .c3-links li { font-size: 14px; border-bottom-color: var(--grid-2); }
.c-han-qide .c3-books small, .c-han-qide .c3-links small { font-size: 12px; color: var(--ink-3); }

/* ---------- 每一问 ---------- */
.c-han-qide .c3q { display: block; padding: calc(var(--bar) + 40px) clamp(14px, 3vw, 48px) 60px; }
.hq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); grid-template-rows: auto 1fr; grid-template-areas: "a art" "b art"; column-gap: clamp(26px, 4vw, 56px); align-items: start; }
.c-han-qide .c3q:nth-of-type(even) .hq-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); grid-template-areas: "art a" "art b"; }
.hq-a { grid-area: a; } .hq-b { grid-area: b; } .hq-art { grid-area: art; min-width: 0; }
.c-han-qide .c3q__when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; font-family: var(--sans); font-size: 13.5px; color: var(--ink-2); }
.c-han-qide .c3q__when b { font-family: var(--hand); font-weight: 400; font-size: clamp(46px, 4.6vw, 60px); line-height: 1; color: var(--blue); }
.c-han-qide .c3q__q { margin: 8px 0 16px; font-family: var(--head); font-weight: 900; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.3; letter-spacing: .01em; word-break: keep-all; }
.c-han-qide .c3q__lede { font-size: 16.5px; line-height: 1.95; text-align: justify; }
.c-han-qide .c3-quote { position: relative; margin: 22px 0; padding: 14px 16px 12px 20px; border-left: 0; background: #fdf9f0;
  box-shadow: inset 4px 0 0 var(--blue), 0 0 0 1px var(--grid); }
.c-han-qide .c3-quote blockquote p { font-size: 18px; font-weight: 600; line-height: 1.8; }
.c-han-qide .c3-quote figcaption { font-family: var(--sans); font-size: 12px; color: var(--ink-3); }
.c-han-qide .c3-tags li { border-radius: 2px; border-color: var(--grid-2); color: var(--ink-2); font-family: var(--sans); font-size: 12.5px; background: var(--paper); }
.c-han-qide .c3-works .mk, .c-han-qide .c3-talk .mk { font-family: var(--sans); letter-spacing: .16em; color: var(--acc); }
.c-han-qide .c3-works li { font-size: 14.5px; }
.c-han-qide .talk { border-radius: 4px; border-color: rgba(35, 64, 142, .35); background: #f6f8fc; }
.c-han-qide .c3-ask { border-radius: 4px; border-color: var(--grid-2); }
.c-han-qide .c3-deeplink { color: var(--acc); }

/* 配图：别针别在纸上 */
.hq-fig { margin: 0; }
.hq-photo { position: relative; padding: 10px; background: #fbf8f1; box-shadow: 0 2px 8px rgba(0, 0, 0, .16); }
.hq-photo::before { content: ""; position: absolute; z-index: 2; left: 24px; top: -15px; width: 15px; height: 46px; border: 3px solid #9aa3ab; border-radius: 10px; border-bottom-color: transparent; }
.hq-photo img { display: block; width: 100%; height: auto; max-height: 74vh; object-fit: contain; }
.hq-fig figcaption { margin-top: 10px; font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.hq-fig--inset { max-width: 330px; margin-top: 26px; }
.hq-fig--inset img { max-height: 44vh; }
.hq-fig--tall { max-width: 520px; }
.hq-fig--tall img { max-height: 78vh; }

/* 机关的共同样子：一块贴在病历上的小表 */
.hq-lab, .hq-scr, .hq-doc, .hq-th { position: relative; margin: 0; padding: 14px 16px 14px; background: var(--paper); border: 1.5px solid var(--ink); }
.hq-lab__ctl, .hq-scr__ctl, .hq-doc__ctl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hq-lab__ctl button, .hq-scr__ctl button, .hq-doc__ctl button { min-height: 40px; padding: 5px 12px; border: 1.5px solid var(--ink); border-radius: 2px; background: var(--paper); color: var(--ink);
  font: 14px/1.3 var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.hq-lab__ctl button[aria-pressed="true"], .hq-scr__ctl button[aria-pressed="true"], .hq-doc__ctl button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.hq-lab__ctl .hq-lab__ca[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); }
.hq-lab__ctl button:hover, .hq-scr__ctl button:hover, .hq-doc__ctl button:hover { border-color: var(--blue); }
.hq-lab__out, .hq-scr__out, .hq-doc__out { min-height: 5.2em; margin: 10px 0 0; padding-left: 12px; border-left: 3px solid var(--blue); font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }

/* 实验：两条钙路 */
.hq-lab { background-color: #fbfcfd; background-image: linear-gradient(rgba(35, 64, 142, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(35, 64, 142, .07) 1px, transparent 1px); background-size: 14px 14px; }
.hq-lab__svg { display: block; width: 100%; height: auto; font-family: var(--sans); font-size: 13px; }
.hq-lab__svg text { fill: var(--ink-2); }
.hq-lab__z { font-size: 12px; letter-spacing: .2em; fill: var(--ink-3) !important; }
.hq-mem { fill: #f3e2cc; }
.hq-mem__l { stroke: #b59a7a; stroke-width: 1.4; }
.hq-r rect { fill: #e7ecf5; stroke: var(--blue); stroke-width: 1.6; transition: fill .3s; }
.hq-r text { font-size: 13px; fill: var(--blue) !important; }
[data-r="1"] .hq-r--1 rect, [data-r="2"] .hq-r--2 rect { fill: var(--blue); }
.hq-p1, .hq-p2 { opacity: .16; transition: opacity .4s; }
[data-r="1"] .hq-p1, [data-r="2"] .hq-p2 { opacity: 1; }
.hq-arw { fill: none; stroke: var(--blue); stroke-width: 2; marker-end: none; }
.hq-ip { fill: #fff; stroke: var(--blue); stroke-width: 1.4; }
.hq-ip__t { font-size: 13px; fill: var(--blue) !important; }
.hq-store { fill: #f0d9cf; stroke: #b06a5a; stroke-width: 1.4; }
.hq-store__t { font-size: 12px; }
.hq-ch rect { fill: #dfe4e9; stroke: var(--ink-2); stroke-width: 1.2; transition: transform .4s; transform-box: fill-box; }
.hq-ch text { font-size: 11.5px; }
[data-r="2"] .hq-ch__a { transform: translateX(-5px); }
[data-r="2"] .hq-ch__b { transform: translateX(5px); }
.hq-ion { fill: #d98a2b; stroke: #a35f12; stroke-width: 1; }
.hq-ion--out { transition: opacity .5s; }
[data-ca="0"] .hq-ion--out { opacity: 0; }
.hq-ion--flow, .hq-ion--rel { opacity: 0; }
[data-r="2"][data-ca="1"] .hq-ion--flow { animation: hq-flow 1.8s linear var(--d) infinite; }
[data-r="1"] .hq-ion--rel { animation: hq-rel 1.6s ease-out var(--d) infinite; }
@media (prefers-reduced-motion: reduce) {
  [data-r="2"][data-ca="1"] .hq-ion--flow { animation: none; opacity: 1; }
  [data-r="2"][data-ca="1"] .hq-ion--flow:nth-of-type(2) { transform: translateY(46px); }
  [data-r="2"][data-ca="1"] .hq-ion--flow:nth-of-type(3) { transform: translateY(92px); }
  [data-r="2"][data-ca="1"] .hq-ion--flow:nth-of-type(4) { transform: translateY(138px); }
  [data-r="1"] .hq-ion--rel { animation: none; opacity: 1; transform: translate(var(--tx), var(--ty)); }
}
@keyframes hq-flow { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(170px); } }
@keyframes hq-rel { 0% { opacity: 0; transform: none; } 20% { opacity: 1; } 80% { opacity: .9; } 100% { opacity: 0; transform: translate(var(--tx), var(--ty)); } }
.hq-fib { transform-box: fill-box; transform-origin: 50% 50%; transition: transform .9s cubic-bezier(.4, 1.4, .5, 1); }
.hq-fib path { fill: #efc3b8; stroke: var(--acc); stroke-width: 1.6; }
.hq-fib text { font-size: 13px; fill: var(--acc) !important; letter-spacing: .3em; }
[data-r="1"] .hq-fib, [data-r="2"][data-ca="1"] .hq-fib { transform: scale(.74, 1.35); }

/* 医嘱：在画里找三句话 */
.hq-doc { background: #1a140f; border-color: #1a140f; color: #f3e6cf; }
.hq-doc .hq-mk { color: #e8b38a; }
.hq-doc__frame { position: relative; overflow: hidden; aspect-ratio: 2000 / 1326; background: #140f0b; }
.hq-doc__img { display: block; width: 100%; height: auto; transform-origin: 50% 50%; transition: transform 1.3s cubic-bezier(.4, .1, .2, 1); }
.hq-doc[data-z="1"] .hq-doc__img { transform: translate(60%, 11%) scale(2.2); }
.hq-doc[data-z="2"] .hq-doc__img { transform: translate(24.7%, 0%) scale(1.9); }
.hq-doc[data-z="3"] .hq-doc__img { transform: translate(-13.8%, -23%) scale(2.3); }
.hq-doc__ctl button { background: transparent; color: #f3e6cf; border-color: rgba(243, 230, 207, .55); }
.hq-doc__ctl button b { margin-right: 4px; font-family: var(--hand); font-weight: 400; font-size: 19px; color: #f0c48c; }
.hq-doc__ctl button[aria-pressed="true"] { background: #f3e6cf; color: #1a140f; border-color: #f3e6cf; }
.hq-doc__ctl button[aria-pressed="true"] b { color: var(--acc); }
.hq-doc__out { color: #e9dcc4; border-left-color: #f0c48c; }
.hq-doc figcaption { margin-top: 8px; font-size: 12.5px; line-height: 1.6; color: #c9b9a0; }

/* 检验报告：筛查的账 */
.hq-scr__board { margin-top: 12px; padding: 10px; background-color: #fffdf8;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 12px 12px; border: 1px solid var(--grid-2); }
.hq-scr__board svg { display: block; width: 100%; height: auto; }
.hq-scr[data-mode="psa"] .hq-scr__bp, .hq-scr[data-mode="bp"] .hq-scr__psa, .hq-scr[data-mode="psa"] .hq-scr__key--bp, .hq-scr[data-mode="bp"] .hq-scr__key--psa { display: none; }
.hq-d, .hq-h { fill: transparent; stroke: #9aa4b0; stroke-width: 1.2; transition: fill .5s, stroke .5s, transform .5s; transform-box: fill-box; transform-origin: center; }
.hq-h { stroke-width: 2; }
.hq-scr[data-st="1"] .hq-d--o, .hq-scr[data-st="1"] .hq-d--s { fill: var(--blue); stroke: var(--blue); }
.hq-scr[data-st="2"] .hq-d--o { fill: rgba(35, 64, 142, .55); stroke: var(--blue); }
.hq-scr[data-st="2"] .hq-d--s { fill: var(--red); stroke: var(--red); transform: scale(1.7); }
.hq-scr[data-st="2"] .hq-d:not(.hq-d--o):not(.hq-d--s) { stroke: #c4cbd3; }
.hq-scr[data-st="1"] .hq-h--g, .hq-scr[data-st="2"] .hq-h--g { fill: var(--red); stroke: var(--red); }
.hq-scr[data-st="1"] .hq-h--m, .hq-scr[data-st="2"] .hq-h--m { fill: rgba(192, 57, 43, .35); stroke: var(--red); stroke-dasharray: 4 3; }
.hq-scr__key { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0 0; padding: 0; font-family: var(--sans); font-size: 12.5px; color: var(--ink-2); }
.hq-scr__key li { display: inline-flex; align-items: center; gap: 6px; }
.hq-scr__key i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid #9aa4b0; }
.hq-scr__key .k-s { background: var(--red); border-color: var(--red); }
.hq-scr__key .k-o { background: rgba(35, 64, 142, .55); border-color: var(--blue); }
.hq-scr__key .k-g { background: var(--red); border-color: var(--red); }
.hq-scr__go { background: var(--ink) !important; color: var(--paper) !important; border-color: var(--ink) !important; }

/* 37 度 */
.hq-th { margin-bottom: 4px; background: #fffaf2; border-color: var(--acc); }
.hq-th__svg { display: block; width: 100%; height: auto; font-family: var(--mono); font-size: 11px; }
.hq-th__sc text { fill: var(--ink-3); }
.hq-th__sc text.is-37 { fill: var(--red); font-weight: 500; }
.hq-th__sc line { stroke: var(--ink-3); stroke-width: 1; }
.hq-th__tube { fill: #f4f6f7; stroke: #9aa3ab; stroke-width: 1.4; }
.hq-th__bulb { fill: var(--red); stroke: #7d1a26; stroke-width: 1.4; }
.hq-th__hg { fill: var(--red); transform-box: fill-box; transform-origin: 0 50%; transition: transform 2.6s cubic-bezier(.3, .1, .3, 1) .3s; }
.hq-js .hq-th__hg { transform: scaleX(.02); }
.hq-js .is-in .hq-th__hg { transform: none; }
.hq-th__37 { stroke: var(--red); stroke-width: 2; stroke-dasharray: 3 2; }
.hq-th__r { margin: 8px 0 0; font-size: 15.5px; line-height: 1.8; font-weight: 600; }
.hq-th__r b { margin-right: 10px; font-family: var(--hand); font-weight: 400; font-size: 34px; line-height: 1; color: var(--red); vertical-align: -4px; }
.hq-th__r small { display: block; margin-top: 4px; font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--ink-3); }

/* ---------- 结尾 ---------- */
.c-han-qide .c3end { padding: calc(var(--bar) + 40px) clamp(14px, 3vw, 48px) 60px; }
.hq-sheet--end h2 { margin: 0 0 18px; font-family: var(--head); font-weight: 900; font-size: clamp(30px, 3.6vw, 44px); }
.c-han-qide .c3end h3 { font-family: var(--sans); font-size: 16px; letter-spacing: .14em; color: var(--acc); }
.c-han-qide .c3-lin li { border-radius: 2px; background: #fffdf8; border-color: var(--grid-2); }
.c-han-qide .c3-lin .rel { white-space: nowrap; }

/* ---------- 响应式 ---------- */
@media (max-width: 1320px) {
  .c-han-qide .c3toc a b { display: none; }
}
@media (max-width: 1180px) {
  .hq-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); grid-template-areas: "n rel" "n bk" "chart chart" "go att"; }
  .hq-att { max-width: 340px; justify-self: end; margin-top: 30px; transform: rotate(1deg); }
  .hq-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hq-day__q { font-size: 13px; padding: 4px 7px; }
}
@media (max-width: 960px) {
  .hq-grid, .c-han-qide .c3q:nth-of-type(even) .hq-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "a" "art" "b"; }
  .hq-art { margin: 6px 0 20px; }
  .hq-photo img { max-height: 64vh; }
  .hq-hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "n" "rel" "chart" "bk" "go" "att"; row-gap: 14px; }
  .hq-att { justify-self: center; max-width: 420px; margin-top: 18px; }
  .hq-go { margin-top: 24px; }
  .hq-hero > .hq-chart { margin-top: 10px; }
  .hq-fig--tall { max-width: 420px; }
}
@media (max-width: 760px) {
  .hq-sheet { padding: 0 16px 26px 30px; }
  .c-han-qide .c3q, .c-han-qide .c3end { padding-top: calc(var(--bar) + 26px); }
  .c-han-qide .c3hero { padding-top: calc(var(--bar) + 34px); }
  .hq-sheet::before { left: 14px; }
  .hq-form { grid-template-columns: auto 1fr; padding-top: 28px; margin-bottom: 18px; }
  .hq-form__t { display: none; }
  .hq-sheet--hero .hq-form__t { display: block; grid-column: 1 / -1; grid-row: 1; font-size: 19px; }
  .hq-clip { width: 150px; }
  .hq-id__n h1 { font-size: 72px; }
  .hq-chart { grid-template-columns: minmax(0, 1fr); margin-top: 22px; }
  .hq-chart__ax { display: none; }
  .hq-days { grid-template-columns: minmax(0, 1fr); }
  .hq-days li { border-right: 0; border-bottom: 1px solid var(--grid-2); }
  .hq-days li:last-child { border-bottom: 0; }
  .hq-days a { grid-template-rows: none; grid-template-columns: 52px minmax(0, 1fr) 40px; min-height: 52px; }
  .hq-day__y { border-bottom: 0; border-right: 1px solid var(--grid-2); font-size: 19px; }
  .hq-day__q { border-bottom: 0; padding: 8px 10px; font-size: 14.5px; }
  .hq-day__p { border-left: 1px solid var(--grid-2); background:
      linear-gradient(transparent calc(50% - 1px), var(--red) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
      repeating-linear-gradient(var(--grid) 0 1px, transparent 1px 5px); }
  .hq-day__p i { top: 50%; }
  .hq-days li.is-seen + li.is-seen .hq-day__p::before { display: none; }
  .hq-chart__n { position: static; padding: 6px 10px; border-top: 1px solid var(--grid-2); font-size: 16px; }
  .hq-band { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hq-th__r { font-size: 14.5px; }
}
@media (max-width: 560px) {
  .c-han-qide .c3q__lede { text-align: left; }
  .hq-lab, .hq-scr, .hq-doc, .hq-th { padding: 12px 10px; }
  .hq-lab__ctl button, .hq-scr__ctl button { flex: 1 1 auto; }
  .hq-fig--inset { max-width: none; }
  .hq-f > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
