/* ======================================================================
 * 02 · 面瘫自查 —— 「左右镜像对照台」临床表格风
 * 配色：深钴蓝 × 冷白 × 警示红；字体：无衬线 + 等宽编号，细线分隔
 * 布局：深蓝首屏横幅 / 中线镜像三栏 / 表格化结果
 * ====================================================================== */
.hc13.fpl {
    --hc-ink: #14233d; --hc-muted: #5e6f88; --hc-paper: #ffffff;
    --hc-soft: #eef3fb; --hc-line: #d9e2f0; --hc-accent: #1d4ed8;
    --hc-band: #0b2f6b; --hc-band-ink: #eaf1ff; --hc-warn: #c0392b;
    --hc-shadow: 0 12px 34px rgba(13, 47, 107, .10);
    background: #f7f9fd;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.78;
}
:root[data-theme="dark"] .hc13.fpl {
    --hc-ink: #e6edf9; --hc-muted: #9dafc9; --hc-paper: #141c2a;
    --hc-soft: #1a2436; --hc-line: #2b3a52; --hc-accent: #8fb4ff;
    --hc-band: #101c30; --hc-band-ink: #e6edf9; --hc-warn: #ff9d90;
    --hc-shadow: 0 12px 34px rgba(0, 0, 0, .44);
    background: #0e1521;
}
.fpl .hc-wrap { padding-bottom: 54px; }
.fpl .hc-crumb { padding: 16px 0 12px; }
.fpl strong, .fpl b { color: var(--hc-accent); }
.fpl .hc-kw { font-family: "SFMono-Regular", Consolas, monospace; letter-spacing: 2.4px; font-size: 11px; }
.fpl h1, .fpl h2, .fpl h3 { letter-spacing: -.4px; }

/* ---- 首屏 ---- */
.fpl-hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(250px, .7fr); gap: 0; border-radius: 18px; overflow: hidden; background: var(--hc-band); color: var(--hc-band-ink); box-shadow: var(--hc-shadow); }
.fpl-hero-main { padding: 36px 38px 32px; }
.fpl-hero .hc-kw { color: #8fb4ff; }
.fpl-hero h1 { margin: 14px 0 16px; font-size: clamp(30px, 3.8vw, 45px); line-height: 1.25; font-weight: 800; }
.fpl-hero h1 span { display: block; font-size: .56em; font-weight: 500; color: #b9cdf5; letter-spacing: 0; margin-top: 8px; }
.fpl-lede { margin: 0; max-width: 64ch; font-size: 15.5px; line-height: 1.92; color: #dce7fb; }
.fpl-lede strong { color: #fff; }
.fpl-hero-ops { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 10px; }
.fpl-cta { display: inline-flex; align-items: center; padding: 11px 22px; border-radius: 6px; background: #fff; color: #0b2f6b; font-weight: 700; font-size: 14.5px; }
.fpl-cta--line { background: transparent; color: #eaf1ff; border: 1.5px solid rgba(255, 255, 255, .55); }
.fpl-hero-note { margin: 0; font-size: 12px; color: #a8bde2; }
.fpl-fast { padding: 30px 26px; background: rgba(255, 255, 255, .07); border-left: 1px solid rgba(255, 255, 255, .18); }
.fpl-fast-tag { display: inline-block; padding: 5px 10px; border-radius: 4px; background: var(--hc-warn); color: #fff; font: 700 11px "SFMono-Regular", Consolas, monospace; letter-spacing: 1px; }
.fpl-fast ol { list-style: none; margin: 18px 0 12px; padding: 0; }
.fpl-fast li { display: flex; gap: 12px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: 13px; }
.fpl-fast li b { font: 800 18px "SFMono-Regular", Consolas, monospace; color: #8fb4ff; }
.fpl-fast p { margin: 0; font-size: 12px; line-height: 1.7; color: #c8d8f4; }
.fpl-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 30px; }
.fpl-strip span { padding: 5px 12px; border: 1px solid var(--hc-line); border-radius: 4px; font-size: 12px; color: var(--hc-muted); background: var(--hc-paper); }
.fpl-strip span:first-child { color: var(--hc-accent); font-weight: 700; }

/* ---- 控制台 ---- */
.fpl-console { background: var(--hc-paper); border: 1px solid var(--hc-line); border-radius: 14px; overflow: hidden; }
.fpl-console-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 18px 24px; border-bottom: 1px solid var(--hc-line); }
.fpl-console-head h2 { margin: 0; font-size: 19px; }
.fpl-console-head i, .fpl-sec-head i { font: 700 12px "SFMono-Regular", Consolas, monospace; font-style: normal; color: var(--hc-accent); margin-right: 8px; }
.fpl-console-head p { margin: 0; font-size: 12.5px; color: var(--hc-muted); }
.fpl-console-grid { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.6fr); }
.fpl-figure { padding: 22px 20px; border-right: 1px solid var(--hc-line); background: var(--hc-soft); }
.fpl-fig-label { font: 10.5px "SFMono-Regular", Consolas, monospace; letter-spacing: 2px; color: var(--hc-muted); }
.fpl-face { display: block; width: 100%; max-width: 210px; margin: 12px auto; }
.fpl-face-base { fill: var(--hc-paper); stroke: var(--hc-line); stroke-width: 2; }
.fpl-half path:first-of-type { fill: transparent; transition: fill .2s ease; }
.fpl-half circle { fill: var(--hc-muted); opacity: .55; }
.fpl-half path:last-of-type { fill: none; stroke: var(--hc-muted); stroke-width: 3; stroke-linecap: round; }
.fpl-half.is-on path:first-of-type { fill: color-mix(in srgb, var(--hc-warn) 18%, transparent); }
.fpl-half.is-on circle { fill: var(--hc-warn); opacity: 1; }
.fpl-axis { stroke: var(--hc-accent); stroke-width: 1.5; stroke-dasharray: 4 5; }
.fpl-face text { fill: var(--hc-muted); font: 11px "SFMono-Regular", Consolas, monospace; }
.fpl-mirror { padding: 16px 22px 20px; }
.fpl-mirror-head, .fpl-mrow { display: grid; grid-template-columns: minmax(0, 1.6fr) 1fr 1fr; gap: 8px; align-items: center; }
.fpl-mirror-head { padding: 0 4px 8px; font: 11px "SFMono-Regular", Consolas, monospace; letter-spacing: 1px; color: var(--hc-muted); border-bottom: 2px solid var(--hc-line); }
.fpl-mrow { padding: 9px 4px; border-bottom: 1px solid var(--hc-line); }
.fpl-mrow b { font-size: 14px; font-weight: 650; }
.fpl-mrow label { display: flex; justify-content: center; }
.fpl-mrow input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fpl-mrow label span { display: inline-flex; align-items: center; justify-content: center; width: 74px; padding: 6px 0; border: 1px solid var(--hc-line); border-radius: 5px; font-size: 12px; color: var(--hc-muted); cursor: pointer; }
.fpl-mrow input:checked + span { background: var(--hc-warn); border-color: var(--hc-warn); color: #fff; font-weight: 700; }
.fpl-mrow input:focus-visible + span { outline: 3px solid var(--hc-accent); outline-offset: 2px; }
.fpl-form { padding: 20px 24px 24px; border-top: 1px solid var(--hc-line); display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.fpl-fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.fpl-fieldset legend { width: 100%; padding: 0 0 8px; font-size: 13.5px; font-weight: 700; }
.fpl-fieldset legend small { font-weight: 400; color: var(--hc-muted); }
.fpl-fieldset input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fpl-fieldset label span { display: inline-block; padding: 7px 12px; border: 1px solid var(--hc-line); border-radius: 5px; font-size: 12.5px; cursor: pointer; }
.fpl-fieldset input:checked + span { background: var(--hc-accent); border-color: var(--hc-accent); color: #fff; font-weight: 650; }
.fpl-fieldset input:focus-visible + span { outline: 3px solid var(--hc-accent); outline-offset: 2px; }
.fpl-fieldset--wide { grid-column: 1 / -1; padding: 14px; border: 1px dashed rgba(192, 57, 43, .45); border-radius: 8px; background: color-mix(in srgb, var(--hc-warn) 4%, transparent); }
.fpl-hours { font-size: 13.5px; font-weight: 700; }
.fpl-hours small { font-weight: 400; color: var(--hc-muted); }
.fpl-hours .hc-input { margin-top: 6px; }
.fpl-form .hc-err, .fpl-form .hc-actions { grid-column: 1 / -1; }
.fpl-batch { border-top: 1px solid var(--hc-line); }
.fpl-batch summary { padding: 14px 24px; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--hc-accent); }
.fpl-batch summary span { font-size: 12px; font-weight: 400; color: var(--hc-muted); margin-left: 8px; }
.fpl-batch-in { padding: 0 24px 22px; }
.fpl-batch-in > label { display: block; font-size: 12.5px; color: var(--hc-muted); margin-bottom: 8px; }
.fpl-batch-in .hc-actions { margin: 12px 0; }

/* ---- 结果 ---- */
.fpl-result { margin-top: 42px; }
.fpl-sec-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 2px solid var(--hc-ink); margin-bottom: 18px; }
.fpl-sec-head h2 { margin: 0; font-size: 22px; }
.fpl-sec-head small { margin-left: auto; color: var(--hc-muted); font-size: 12px; }
.fpl-empty { padding: 24px; border: 1px dashed var(--hc-line); background: var(--hc-paper); color: var(--hc-muted); border-radius: 10px; }
.fpl-verdict { padding: 16px 20px; border-radius: 8px; background: var(--hc-soft); border-left: 5px solid var(--hc-accent); font-size: 14.5px; line-height: 1.85; margin-bottom: 16px; }
.fpl-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); }
.fpl-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.fpl-stats > div { padding: 14px; background: var(--hc-paper); border: 1px solid var(--hc-line); border-radius: 8px; }
.fpl-stats span { display: block; font-size: 11.5px; color: var(--hc-muted); }
.fpl-stats b { font: 700 25px "SFMono-Regular", Consolas, monospace; color: var(--hc-accent); }
.fpl-stats em { font-size: 11px; font-style: normal; color: var(--hc-muted); }
.fpl-table-wrap { border: 1px solid var(--hc-line); border-radius: 8px; overflow: hidden; }
.fpl-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.fpl-table th, .fpl-table td { padding: 10px 14px; border-bottom: 1px solid var(--hc-line); text-align: left; }
.fpl-table th { background: var(--hc-soft); color: var(--hc-muted); font-size: 12px; }
.fpl-table td.is-bad { color: var(--hc-warn); font-weight: 700; }
.fpl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.fpl-card { padding: 18px 20px; border: 1px solid var(--hc-line); border-radius: 8px; background: var(--hc-paper); }
.fpl-card h3 { margin: 0 0 10px; font-size: 16px; }
.fpl-card ol, .fpl-card ul { margin: 0; padding-left: 20px; }
.fpl-card li { margin-bottom: 7px; font-size: 13.5px; line-height: 1.8; }
.fpl-card--warn { border-color: color-mix(in srgb, var(--hc-warn) 35%, var(--hc-line)); }
.fpl-disclaim { margin: 18px 0 0; padding: 14px 18px; font-size: 13px; line-height: 1.85; color: var(--hc-muted); border-left: 3px solid var(--hc-line); }
.fpl-result .hc-actions { margin-top: 14px; }

/* ---- 阅读 ---- */
.fpl-reading { margin-top: 46px; }
.fpl-subh { margin: 22px 0 10px; font-size: 17px; }
.fpl-faq details { border-bottom: 1px solid var(--hc-line); padding: 12px 0; }
.fpl-faq summary { cursor: pointer; font-size: 15px; font-weight: 700; }
.fpl-faq details > div { padding: 10px 0 4px; font-size: 14px; line-height: 1.9; }
.fpl-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; }
.fpl-related > span { color: var(--hc-muted); }
.fpl-related a { padding: 6px 14px; border: 1px solid var(--hc-line); border-radius: 999px; color: var(--hc-accent); }

@media (max-width: 900px) {
    .fpl-hero, .fpl-console-grid, .fpl-cols { grid-template-columns: 1fr; }
    .fpl-fast { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
    .fpl-figure { border-right: 0; border-bottom: 1px solid var(--hc-line); }
}
@media (max-width: 640px) {
    .fpl-form { grid-template-columns: 1fr; }
    .fpl-stats { grid-template-columns: repeat(2, 1fr); }
    .fpl-hero-main { padding: 26px 20px; }
    .fpl-console-head, .fpl-mirror, .fpl-form, .fpl-batch-in { padding-inline: 16px; }
    .fpl-mirror-head, .fpl-mrow { grid-template-columns: 1.25fr 1fr 1fr; }
    .fpl-mrow label span { width: 58px; }
}
