/* ======================================================================
 * 09 · 手麻自查 —— 「蓝图式手部区域图」
 * 配色：钢蓝 × 青蓝 × 图纸灰；字体：等宽标注 + 无衬线正文
 * 布局：首屏可点手部 SVG + 结果区复用分布图 + 神经分区对照表
 * ====================================================================== */
.hc13.hnd {
    --hc-ink: #17303c; --hc-muted: #627c88; --hc-paper: #ffffff;
    --hc-soft: #edf5f8; --hc-line: #d4e3e9; --hc-accent: #166b86;
    --hc-cyan: #0f9fb5; --hc-warn: #b3352b; --hc-shadow: 0 14px 36px rgba(15, 60, 78, .10);
    background-color: #f4f9fb;
    background-image: linear-gradient(rgba(22, 107, 134, .045) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(22, 107, 134, .045) 1px, transparent 1px);
    background-size: 26px 26px;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.8;
}
:root[data-theme="dark"] .hc13.hnd {
    --hc-ink: #e2f1f6; --hc-muted: #9db8c2; --hc-paper: #111d23;
    --hc-soft: #17282f; --hc-line: #29434d; --hc-accent: #7fcce3;
    --hc-cyan: #74dcec; --hc-warn: #ff9c90; --hc-shadow: 0 14px 36px rgba(0, 0, 0, .44);
    background-color: #0c1519;
    background-image: linear-gradient(rgba(127, 204, 227, .04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(127, 204, 227, .04) 1px, transparent 1px);
}
.hnd .hc-wrap { padding-bottom: 56px; }
.hnd .hc-crumb { padding: 16px 0 10px; }
.hnd strong, .hnd b { color: var(--hc-accent); }
.hnd .hc-kw, .hnd .hnd-map-label, .hnd .hnd-sec-head em, .hnd .hnd-console-head em,
.hnd .hnd-stats b { font-family: "SFMono-Regular", Consolas, monospace; }

/* ---- 首屏 ---- */
.hnd-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .72fr); gap: 36px; align-items: start; padding: 30px 0 28px; }
.hnd-hero .hc-kw { color: var(--hc-cyan); font-size: 11px; letter-spacing: 2.6px; }
.hnd-hero h1 { margin: 14px 0 16px; font-size: clamp(33px, 4vw, 48px); line-height: 1.24; font-weight: 850; }
.hnd-hero h1 i { font-style: normal; display: block; font-size: .46em; font-weight: 600; color: var(--hc-accent); margin-top: 12px; letter-spacing: 1px; }
.hnd-lede { margin: 0; max-width: 60ch; font-size: 15.5px; line-height: 1.94; }
.hnd-hero-ops { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 10px; }
.hnd-cta { padding: 11px 24px; border-radius: 4px; background: var(--hc-accent); color: #fff; font-size: 14.5px; font-weight: 750; }
.hnd-cta--ghost { background: transparent; color: var(--hc-accent); border: 1.5px solid var(--hc-accent); }
.hnd-hero-note { margin: 0; font-size: 12px; color: var(--hc-muted); }
.hnd-hero-map { padding: 18px 20px; background: var(--hc-paper); border: 1px solid var(--hc-line); border-radius: 8px; box-shadow: var(--hc-shadow); }
.hnd-map-label { display: block; font-size: 10px; letter-spacing: 2px; color: var(--hc-muted); margin-bottom: 8px; }
.hnd-map { display: block; width: 100%; max-width: 230px; margin: 0 auto; }
.hnd-zone rect { fill: var(--hc-soft); stroke: var(--hc-accent); stroke-width: 1.6; stroke-dasharray: 4 4; }
.hnd-zone text { fill: var(--hc-muted); font: 11px "SFMono-Regular", Consolas, monospace; text-anchor: middle; pointer-events: none; }
.hnd-zone { cursor: pointer; }
.hnd-zone:hover rect { fill: color-mix(in srgb, var(--hc-cyan) 14%, var(--hc-paper)); }
.hnd-zone.is-on rect { fill: color-mix(in srgb, var(--hc-cyan) 32%, var(--hc-paper)); stroke: var(--hc-cyan); stroke-width: 2.6; stroke-dasharray: none; }
.hnd-zone.is-on text { fill: var(--hc-accent); font-weight: 700; }
.hnd-partchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hnd-partchips input, .hnd-fieldset input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hnd-partchips label span, .hnd-fieldset label span { display: inline-block; padding: 6px 10px; border: 1px solid var(--hc-line); border-radius: 4px; font-size: 12px; cursor: pointer; }
.hnd-partchips input:checked + span, .hnd-fieldset input:checked + span { background: var(--hc-accent); border-color: var(--hc-accent); color: #fff; font-weight: 650; }
.hnd-partchips input:focus-visible + span, .hnd-fieldset input:focus-visible + span { outline: 3px solid var(--hc-cyan); outline-offset: 2px; }
.hnd-strip { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 28px; border-block: 1px dashed var(--hc-line); }
.hnd-strip span { padding: 9px 14px; font-size: 12px; color: var(--hc-muted); border-right: 1px dashed var(--hc-line); }
.hnd-strip span:first-child { color: var(--hc-accent); font-weight: 700; }

/* ---- 控制台 ---- */
.hnd-console { background: var(--hc-paper); border: 1px solid var(--hc-line); border-radius: 8px; overflow: hidden; }
.hnd-console-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: baseline; padding: 18px 24px; border-bottom: 1px solid var(--hc-line); }
.hnd-console-head h2 { margin: 0; font-size: 20px; }
.hnd-console-head em { font-style: normal; color: var(--hc-cyan); font-size: 12px; margin-right: 8px; }
.hnd-console-head p { margin: 0; font-size: 12.5px; color: var(--hc-muted); }
.hnd-grid { display: grid; grid-template-columns: 1fr 1fr; }
.hnd-col { padding: 22px 24px; }
.hnd-col:first-child { border-right: 1px solid var(--hc-line); background: var(--hc-soft); }
.hnd-fieldset { border: 0; padding: 0 0 14px; margin: 0 0 14px; border-bottom: 1px dashed var(--hc-line); display: flex; flex-wrap: wrap; gap: 7px; }
.hnd-fieldset legend { width: 100%; padding-bottom: 8px; font-size: 13.5px; font-weight: 700; }
.hnd-fieldset legend small { font-weight: 400; color: var(--hc-muted); }
.hnd-fieldset--alert { padding: 12px; border: 1px dashed color-mix(in srgb, var(--hc-warn) 45%, var(--hc-line)); border-radius: 6px; background: color-mix(in srgb, var(--hc-warn) 4%, transparent); }
.hnd-fieldset--alert input:checked + span { background: var(--hc-warn); border-color: var(--hc-warn); }
.hnd-min { display: block; font-size: 13px; font-weight: 700; }
.hnd-min small { font-weight: 400; color: var(--hc-muted); }
.hnd-min .hc-input { margin-top: 6px; }
.hnd-batch { border-top: 1px solid var(--hc-line); }
.hnd-batch summary { padding: 14px 24px; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--hc-accent); }
.hnd-batch summary span { font-size: 12px; font-weight: 400; color: var(--hc-muted); margin-left: 8px; }
.hnd-batch-in { padding: 0 24px 22px; }
.hnd-batch-in > label { display: block; font-size: 12.5px; color: var(--hc-muted); margin-bottom: 8px; }
.hnd-batch-in .hc-actions { margin: 12px 0; }

/* ---- 结果 ---- */
.hnd-result { margin-top: 42px; }
.hnd-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 2px solid var(--hc-accent); }
.hnd-sec-head em { font-style: normal; color: var(--hc-cyan); font-size: 12px; }
.hnd-sec-head h2 { margin: 0; font-size: 22px; }
.hnd-sec-head small { margin-left: auto; color: var(--hc-muted); font-size: 12px; }
.hnd-empty { padding: 24px; border: 1px dashed var(--hc-line); border-radius: 8px; color: var(--hc-muted); background: var(--hc-paper); }
.hnd-verdict { padding: 16px 20px; margin-bottom: 16px; border-left: 5px solid var(--hc-accent); background: var(--hc-soft); font-size: 14.5px; line-height: 1.88; }
.hnd-verdict.is-urgent { background: color-mix(in srgb, var(--hc-warn) 9%, var(--hc-paper)); border-left-color: var(--hc-warn); color: var(--hc-warn); }
.hnd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.hnd-stats > div { padding: 14px; border: 1px solid var(--hc-line); border-radius: 6px; background: var(--hc-paper); }
.hnd-stats span { display: block; font-size: 11.5px; color: var(--hc-muted); }
.hnd-stats b { font-size: 22px; color: var(--hc-accent); }
.hnd-stats em { font-size: 11px; font-style: normal; color: var(--hc-muted); margin-left: 4px; }
.hnd-result-grid { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(0, 1.4fr); gap: 16px; }
.hnd-result-map { padding: 16px; border: 1px solid var(--hc-line); border-radius: 8px; background: var(--hc-soft); }
.hnd-nerve { padding: 16px 18px; border: 1px solid var(--hc-line); border-radius: 8px; background: var(--hc-paper); }
.hnd-nerve h3 { margin: 0 0 10px; font-size: 16px; }
.hnd-nerve h3 small { font-size: 12px; font-weight: 400; color: var(--hc-muted); }
.hnd-nerve-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.hnd-nerve-table th, .hnd-nerve-table td { padding: 9px 12px; border-bottom: 1px dashed var(--hc-line); text-align: left; }
.hnd-nerve-table th { color: var(--hc-muted); font-size: 11.5px; }
.hnd-nerve-table td:first-child { white-space: nowrap; font-weight: 700; }
.hnd-nerve-table tr.is-on { background: color-mix(in srgb, var(--hc-cyan) 12%, transparent); }
.hnd-nerve-table tr.is-on td:first-child { color: var(--hc-cyan); }
.hnd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.hnd-card { padding: 18px 20px; border: 1px solid var(--hc-line); border-radius: 8px; background: var(--hc-paper); }
.hnd-card h3 { margin: 0 0 10px; font-size: 16px; }
.hnd-card ol, .hnd-card ul { margin: 0; padding-left: 20px; }
.hnd-card li { margin-bottom: 7px; font-size: 13.5px; line-height: 1.85; }
.hnd-disclaim { margin: 18px 0 0; padding: 14px 18px; border-left: 3px solid var(--hc-line); color: var(--hc-muted); font-size: 13px; line-height: 1.88; }
.hnd-result .hc-actions { margin-top: 14px; }

/* ---- 阅读 ---- */
.hnd-reading { margin-top: 46px; }
.hnd-subh { margin: 22px 0 10px; font-size: 17px; }
.hnd-faq details { padding: 12px 0; border-bottom: 1px dashed var(--hc-line); }
.hnd-faq summary { cursor: pointer; font-size: 15px; font-weight: 700; }
.hnd-faq details > div { padding: 10px 0 4px; font-size: 14px; line-height: 1.9; }
.hnd-related { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--hc-line); font-size: 13px; }
.hnd-related > span { color: var(--hc-muted); }
.hnd-related a { padding: 6px 14px; border: 1px solid var(--hc-line); border-radius: 999px; color: var(--hc-accent); }

@media (max-width: 900px) {
    .hnd-hero, .hnd-grid, .hnd-result-grid, .hnd-cols { grid-template-columns: 1fr; }
    .hnd-col:first-child { border-right: 0; border-bottom: 1px solid var(--hc-line); }
}
@media (max-width: 640px) {
    .hnd-stats { grid-template-columns: repeat(2, 1fr); }
    .hnd-console-head, .hnd-col, .hnd-batch-in { padding-inline: 16px; }
}
