/* =====================================================================
 * 35 · 体温计类型与误差对照 —— 独立皮肤「温度尺」
 * 配色：珊瑚红 / 冷灰 / 白；布局：横向偏差尺 + 大号读数条 + 五列类型卡；
 * 字体层级：56px 细体温度数字 + 11px 全大写刻度 + 700 标题 + 300 细体说明。
 * ===================================================================== */

.hg4-p35 {
    --p35-bg: #eef1f4;
    --p35-surface: #ffffff;
    --p35-surface2: #f6f8fa;
    --p35-ink: #232a30;
    --p35-sub: #58636d;
    --p35-muted: #8d98a2;
    --p35-line: #dde3e8;
    --p35-accent: #d64533;
    --p35-accent2: #2f7f95;
    --p35-okbg: rgba(47, 127, 149, .12);
    --p35-badbg: rgba(214, 69, 51, .11);
    --p35-soft: rgba(214, 69, 51, .09);
    --p35-on: #ffffff;
    --p35-shadow: 0 12px 34px rgba(35, 42, 48, .08);
    --p35-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
    --p35-sans: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    background: var(--p35-bg); color: var(--p35-ink);
    font-family: var(--p35-sans); font-size: 15px; line-height: 1.84;
    min-height: 60vh; padding: 0 0 72px; -webkit-font-smoothing: antialiased;
}
:root[data-theme="dark"] .hg4-p35 {
    --p35-bg: #11161a; --p35-surface: #192127; --p35-surface2: #202a31;
    --p35-ink: #edf2f5; --p35-sub: #b3c0c9; --p35-muted: #7e8d98;
    --p35-line: #2c3840; --p35-accent: #f0806d; --p35-accent2: #6ec0d6;
    --p35-okbg: rgba(110, 192, 214, .14); --p35-badbg: rgba(240, 128, 109, .14);
    --p35-soft: rgba(240, 128, 109, .13);
    --p35-on: #161c20; --p35-shadow: 0 12px 34px rgba(0, 0, 0, .36);
}
.hg4-p35 *, .hg4-p35 *::before, .hg4-p35 *::after { box-sizing: border-box; }
.hg4-p35 h1, .hg4-p35 h2, .hg4-p35 h3 { margin: 0; font-weight: 750; letter-spacing: -.012em; line-height: 1.38; }
.hg4-p35 p { margin: 0 0 12px; }
.hg4-p35 strong, .hg4-p35 b { font-weight: 750; color: var(--p35-ink); }
.hg4-p35 a { color: var(--p35-accent); text-decoration: none; }
.hg4-p35 a:hover { text-decoration: underline; }
.hg4-p35 button { cursor: pointer; font-family: inherit; }
.hg4-p35 [hidden] { display: none !important; }
.hg4-p35 img { max-width: 100%; height: auto; }
.p35-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.p35-wrap { max-width: 1220px; margin: 0 auto; padding: 0 24px; }

/* ---------- 首屏 ---------- */
.p35-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 34px; align-items: center; padding: 38px 0 30px; border-bottom: 1px solid var(--p35-line); }
.p35-kicker { display: inline-block; font: 700 10.5px/1.4 var(--p35-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--p35-accent); border-bottom: 2px solid var(--p35-accent); padding-bottom: 6px; }
.p35-hero h1 { font-size: clamp(29px, 3.4vw, 44px); line-height: 1.24; letter-spacing: -.026em; margin: 16px 0 13px; color: var(--p35-ink); background: none; -webkit-text-fill-color: currentColor; }
.p35-lede { font-size: 15.5px; line-height: 1.95; color: var(--p35-sub); max-width: 58ch; margin: 0 0 16px; }
.p35-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; }
.p35-points li { font-size: 12.5px; font-weight: 300; color: var(--p35-sub); background: var(--p35-surface); border: 1px solid var(--p35-line); border-radius: 4px; padding: 4px 11px; }
.p35-hero-note { font-size: 12.5px; font-weight: 300; color: var(--p35-muted); margin: 0; }
.p35-console { background: var(--p35-surface); border: 1px solid var(--p35-line); border-radius: 14px; box-shadow: var(--p35-shadow); padding: 19px 21px 21px; }
.p35-console-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 15px; }
.p35-console-head b { font: 700 11px/1.4 var(--p35-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--p35-accent); }
.p35-console-head span { font-size: 11px; font-weight: 300; color: var(--p35-muted); }
.p35-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.p35-field { display: block; font-size: 12.5px; font-weight: 700; color: var(--p35-ink); }
.p35-field > span { display: block; margin-bottom: 5px; }
.p35-field i { font-style: normal; font-weight: 300; font-size: 11px; color: var(--p35-muted); margin-left: 4px; }
.p35-input { width: 100%; font-family: inherit; font-size: 14px; color: var(--p35-ink); background: var(--p35-surface2); border: 1px solid var(--p35-line); border-radius: 7px; padding: 9px 11px; outline: none; }
.p35-input:focus { border-color: var(--p35-accent); box-shadow: 0 0 0 3px var(--p35-soft); }
.p35-textarea { resize: vertical; min-height: 106px; line-height: 1.7; }
.p35-console-btns, .p35-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 15px; }
.p35-btn { appearance: none; border: 1px solid var(--p35-line); background: var(--p35-surface2); color: var(--p35-ink); font-size: 13.5px; font-weight: 700; border-radius: 7px; padding: 9px 16px; transition: transform .14s, filter .14s; }
.p35-btn:hover { transform: translateY(-1px); border-color: var(--p35-accent); }
.p35-btn--main { background: var(--p35-accent); color: var(--p35-on); border-color: var(--p35-accent); }
:root[data-theme="dark"] .p35-btn--main { color: #161c20; }
.hg4-err.p35-err { font-size: 12.5px; color: var(--p35-accent); min-height: 0; margin: 8px 0 0; }
.hg4-err.p35-err:empty { display: none; }
.p35-scope { margin: 20px 0 0; padding: 13px 16px; border-left: 3px solid var(--p35-accent2); background: var(--p35-surface); border-radius: 0 8px 8px 0; font-size: 13px; font-weight: 300; line-height: 1.92; color: var(--p35-sub); }

/* ---------- 偏差尺 ---------- */
.p35-ruler { padding: 26px 0 28px; border-bottom: 1px solid var(--p35-line); }
.p35-ruler h2 { font-size: 19px; }
.p35-ruler h2 small { display: block; font-size: 11.5px; font-weight: 300; color: var(--p35-muted); margin-top: 4px; }
.p35-ruler-axis { display: grid; grid-template-columns: repeat(7, 1fr); font: 700 10px/1.5 var(--p35-mono); letter-spacing: .06em; color: var(--p35-muted); margin: 18px 0 6px; padding-left: 62px; }
.p35-ruler-axis span { position: relative; }
.p35-ruler-axis span::before { content: ""; position: absolute; left: 0; top: 100%; width: 1px; height: 8px; background: var(--p35-line); }
.p35-ruler-rows { display: flex; flex-direction: column; gap: 7px; }
.p35-ruler-row { display: grid; grid-template-columns: 62px minmax(0, 1fr) 178px; gap: 12px; align-items: center; }
.p35-ruler-row > b { font-size: 13px; }
.p35-ruler-row > small { font-size: 11.5px; font-weight: 300; color: var(--p35-muted); }
.p35-track { position: relative; display: block; height: 14px; background: var(--p35-surface2); border: 1px solid var(--p35-line); border-radius: 99px; }
.p35-track i { position: absolute; top: 2px; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--p35-accent2), #8ecbd8); }
.p35-track em { position: absolute; top: -4px; width: 2px; height: 20px; background: var(--p35-accent); }
.p35-ruler-row.is-on .p35-track { border-color: var(--p35-accent); box-shadow: 0 0 0 2px var(--p35-soft); }
.p35-ruler-mark { margin-top: 12px; font: 700 11px/1.5 var(--p35-mono); color: var(--p35-accent); }

/* ---------- 结果 ---------- */
.p35-result, .p35-extra, .p35-content { padding: 28px 0; border-bottom: 1px solid var(--p35-line); }
.p35-sec-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.p35-sec-no { font: 700 10px/1 var(--p35-mono); letter-spacing: .16em; color: var(--p35-accent); border: 1px solid var(--p35-accent); border-radius: 4px; padding: 5px 7px; }
.p35-sec-head h2 { font-size: 21px; }
.p35-sec-head small { font-size: 12px; color: var(--p35-muted); font-weight: 300; }
.p35-empty { display: flex; align-items: center; gap: 16px; background: var(--p35-surface); border: 1px dashed var(--p35-line); border-radius: 12px; padding: 26px 22px; color: var(--p35-muted); font-size: 14px; }
.p35-empty b { font-size: 34px; font-weight: 400; }
.p35-out-hero { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px; }
.p35-big { background: var(--p35-surface); border: 1px solid var(--p35-line); border-top: 4px solid var(--p35-accent); border-radius: 12px; padding: 18px 20px; }
.p35-big small, .p35-verdict small { display: block; font: 700 10px/1.5 var(--p35-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--p35-muted); }
.p35-big b { display: block; font: 300 56px/1.25 var(--p35-mono); color: var(--p35-ink); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.p35-big em { font: 300 14px/1.5 var(--p35-mono); font-style: normal; color: var(--p35-accent); }
.p35-verdict { background: var(--p35-ink); color: var(--p35-surface); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; }
:root[data-theme="dark"] .p35-verdict { background: #202a31; border: 1px solid var(--p35-line); }
.p35-verdict small { color: inherit; opacity: .65; }
.p35-verdict strong { font-size: 21px; font-weight: 750; margin: 5px 0 7px; color: inherit; }
.p35-verdict p { font-size: 13px; font-weight: 300; line-height: 1.85; opacity: .85; margin: 0; }
.p35-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0; }
.p35-kpi { background: var(--p35-surface); border: 1px solid var(--p35-line); border-radius: 10px; padding: 12px 13px; }
.p35-kpi span { display: block; font: 700 10px/1.5 var(--p35-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--p35-muted); }
.p35-kpi b { display: block; font: 700 16px/1.55 var(--p35-mono); color: var(--p35-ink); margin-top: 5px; }
.p35-two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; }
.p35-panel { background: var(--p35-surface); border: 1px solid var(--p35-line); border-radius: 11px; padding: 16px 18px; }
.p35-panel h3 { font-size: 15.5px; margin-bottom: 10px; }
.p35-panel h3 small { display: block; font-size: 11.5px; font-weight: 300; color: var(--p35-muted); margin-top: 3px; }
.p35-list { list-style: none; margin: 0; padding: 0; }
.p35-list li { position: relative; padding: 7px 0 7px 20px; font-size: 13.5px; font-weight: 300; line-height: 1.88; color: var(--p35-sub); border-bottom: 1px solid var(--p35-line); }
.p35-list li:last-child { border-bottom: 0; }
.p35-list li::before { content: "·"; position: absolute; left: 4px; color: var(--p35-accent); font-weight: 700; }
.p35-list strong { color: var(--p35-ink); font-weight: 700; }
.p35-conv { display: flex; align-items: center; justify-content: space-around; gap: 10px; background: var(--p35-surface2); border-radius: 9px; padding: 16px 10px; }
.p35-conv b { font: 300 26px/1.3 var(--p35-mono); color: var(--p35-accent); }
.p35-conv span { font-size: 18px; color: var(--p35-muted); }
.p35-conv-note { font-size: 12.5px; font-weight: 300; color: var(--p35-muted); line-height: 1.82; margin: 10px 0 0; }
.p35-types { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 16px; }
.p35-type { background: var(--p35-surface); border: 1px solid var(--p35-line); border-radius: 10px; padding: 13px 13px 14px; }
.p35-type.is-on { border-color: var(--p35-accent); box-shadow: 0 0 0 2px var(--p35-soft); }
.p35-type h4 { margin: 0 0 8px; font-size: 14px; }
.p35-type dl { margin: 0; }
.p35-type dt { font: 700 9.5px/1.6 var(--p35-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--p35-muted); margin-top: 7px; }
.p35-type dd { margin: 1px 0 0; font-size: 12.5px; font-weight: 300; line-height: 1.7; color: var(--p35-sub); }
.p35-subh { font-size: 16px; margin: 22px 0 10px; display: flex; align-items: baseline; gap: 9px; }
.p35-chip { font: 700 11px/1.5 var(--p35-mono); background: var(--p35-soft); color: var(--p35-accent); border-radius: 4px; padding: 3px 9px; }
.p35-table-scroll { overflow-x: auto; border: 1px solid var(--p35-line); border-radius: 9px; }
.p35-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 720px; }
.p35-table th, .p35-table td { padding: 9px 11px; text-align: left; border-bottom: 1px solid var(--p35-line); }
.p35-table th { background: var(--p35-surface2); font-size: 12px; color: var(--p35-sub); font-weight: 700; white-space: nowrap; }
.p35-table tr:last-child td { border-bottom: 0; }
.p35-disclaimer { margin: 20px 0 0; padding: 13px 16px; border-left: 3px solid var(--p35-accent); background: var(--p35-surface2); border-radius: 0 9px 9px 0; font-size: 13px; font-weight: 300; line-height: 1.9; color: var(--p35-sub); }

/* ---------- 批量 / 内容 ---------- */
.p35-extra-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 15px; }
.p35-card { background: var(--p35-surface); border: 1px solid var(--p35-line); border-radius: 11px; padding: 17px 19px; }
.p35-card h3 { font-size: 15.5px; margin-bottom: 10px; }
.p35-hint { font-size: 12.5px; font-weight: 300; color: var(--p35-muted); line-height: 1.8; margin: 8px 0 12px; }
.p35-card-text { font-size: 13.5px; font-weight: 300; line-height: 1.95; color: var(--p35-sub); }
.p35-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 17px; }
.p35-tab { border: 1px solid var(--p35-line); background: var(--p35-surface); color: var(--p35-sub); font-size: 13.5px; font-weight: 700; border-radius: 99px; padding: 8px 17px; }
.p35-tab.is-on { background: var(--p35-accent); color: var(--p35-on); border-color: var(--p35-accent); }
:root[data-theme="dark"] .p35-tab.is-on { color: #161c20; }
.p35-prose { max-width: 84ch; }
.p35-prose h3 { font-size: 17px; margin: 22px 0 9px; }
.p35-prose h3:first-child { margin-top: 0; }
.p35-prose p { font-size: 14.5px; font-weight: 300; line-height: 2.02; color: var(--p35-sub); margin: 0 0 15px; }
.p35-figure { display: block; width: 100%; max-width: 720px; border: 1px solid var(--p35-line); border-radius: 9px; margin: 6px 0 18px; }
.p35-faq details { border: 1px solid var(--p35-line); background: var(--p35-surface); border-radius: 8px; margin-bottom: 8px; }
.p35-faq summary { cursor: pointer; font-size: 14.5px; font-weight: 700; padding: 13px 16px; }
.p35-faq details > div { padding: 0 16px 15px; font-size: 14px; font-weight: 300; line-height: 2; color: var(--p35-sub); }
.p35-faq details > div strong { color: var(--p35-ink); font-weight: 700; }
.p35-boundary { margin: 24px 0 18px; padding: 14px 17px; border: 1px solid var(--p35-line); border-radius: 9px; background: var(--p35-surface2); font-size: 13px; font-weight: 300; line-height: 1.92; color: var(--p35-sub); }
.p35-related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.p35-related a { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--p35-surface); border: 1px solid var(--p35-line); border-radius: 8px; padding: 12px 14px; font-size: 13.5px; font-weight: 700; color: var(--p35-ink); }
.p35-related a:hover { border-color: var(--p35-accent); text-decoration: none; }
.p35-related a span { color: var(--p35-accent); }

@media (max-width: 1000px) { .p35-types { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
    .p35-hero, .p35-out-hero, .p35-two, .p35-extra-grid { grid-template-columns: 1fr; }
    .p35-kpis { grid-template-columns: repeat(2, 1fr); }
    .p35-related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .p35-wrap { padding: 0 16px; }
    .p35-fields { grid-template-columns: 1fr; }
    .p35-ruler-row { grid-template-columns: 48px minmax(0, 1fr); }
    .p35-ruler-row > small { display: none; }
    .p35-types { grid-template-columns: 1fr 1fr; }
    .p35-related { grid-template-columns: 1fr; }
    .p35-big b { font-size: 44px; }
}
