/* ======================================================================
 * 12 · 子宫肌瘤自查 —— 「报告文件夹式决策卡」
 * 配色：梅紫 × 暖象牙 × 淡铜；字体：衬线标题 + 表格化报告数字
 * 布局：首屏文件夹速录 + 结果区四张讨论卡
 * ====================================================================== */
.hc13.fib {
    --hc-ink: #362633; --hc-muted: #87707e; --hc-paper: #fffdfa;
    --hc-soft: #f9f0f3; --hc-line: #eadde3; --hc-accent: #7b3f62;
    --hc-copper: #b08355; --hc-warn: #a92e3f; --hc-shadow: 0 16px 38px rgba(94, 46, 74, .11);
    background: radial-gradient(900px 420px at 8% -6%, #f7e9ef 0%, transparent 62%), #fdf9f6;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.84;
}
:root[data-theme="dark"] .hc13.fib {
    --hc-ink: #f6e9f0; --hc-muted: #c0a4b3; --hc-paper: #1e141b;
    --hc-soft: #291b24; --hc-line: #40303a; --hc-accent: #e6a6c8;
    --hc-copper: #e0bd8c; --hc-warn: #ff9dab; --hc-shadow: 0 16px 38px rgba(0, 0, 0, .44);
    background: radial-gradient(900px 420px at 8% -6%, #33202b 0%, transparent 62%), #160f14;
}
.fib .hc-wrap { padding-bottom: 56px; }
.fib .hc-crumb { padding: 18px 0 8px; }
.fib strong, .fib b { color: var(--hc-accent); }
.fib h1, .fib h2, .fib h3, .fib .fib-folder-tab { font-family: "Songti SC", "Noto Serif CJK SC", "SimSun", serif; }
.fib .hc-kw, .fib .fib-sec-head i, .fib .fib-console-head i, .fib .fib-stats b { font-family: "SFMono-Regular", Consolas, monospace; }

/* ---- 首屏 ---- */
.fib-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .8fr); gap: 40px; align-items: start; padding: 32px 0 30px; }
.fib-hero .hc-kw { color: var(--hc-copper); font-size: 11px; letter-spacing: 2.8px; }
.fib-hero h1 { margin: 16px 0 18px; font-size: clamp(32px, 4vw, 48px); line-height: 1.26; font-weight: 800; }
.fib-hero h1 em { font-style: normal; display: block; font-size: .45em; font-weight: 500; color: var(--hc-accent); margin-top: 12px; letter-spacing: 1px; }
.fib-lede { margin: 0; max-width: 58ch; font-size: 15.5px; line-height: 1.96; }
.fib-hero-ops { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 10px; }
.fib-cta { padding: 12px 24px; border-radius: 3px; background: var(--hc-accent); color: #fff; font-size: 14.5px; font-weight: 700; }
.fib-cta--ghost { background: transparent; color: var(--hc-accent); border: 1px solid var(--hc-accent); }
.fib-hero-note { margin: 0; font-size: 12px; color: var(--hc-muted); }
.fib-folder { filter: drop-shadow(var(--hc-shadow)); }
.fib-folder-tab { display: inline-block; padding: 8px 20px; border-radius: 10px 10px 0 0; background: var(--hc-copper); color: #fff; font: 700 11px "SFMono-Regular", Consolas, monospace; letter-spacing: 1.6px; }
.fib-folder-body { padding: 22px 24px 18px; background: var(--hc-paper); border: 1px solid var(--hc-line); border-radius: 0 12px 12px 12px; }
.fib-folder-body label { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 700; }
.fib-folder-body label small { font-weight: 400; color: var(--hc-muted); }
.fib-folder-body .hc-input, .fib-folder-body .hc-select { margin-top: 6px; }
.fib-folder-note { margin: 4px 0 0; padding-top: 12px; border-top: 1px dashed var(--hc-line); font-size: 12px; line-height: 1.8; color: var(--hc-muted); }
.fib-strip { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 30px; border-block: 1px solid var(--hc-line); }
.fib-strip span { padding: 10px 15px; border-right: 1px solid var(--hc-line); font-size: 12.5px; color: var(--hc-muted); }
.fib-strip span:first-child { color: var(--hc-accent); font-weight: 700; }

/* ---- 控制台 ---- */
.fib-console { background: var(--hc-paper); border: 1px solid var(--hc-line); border-radius: 14px; overflow: hidden; }
.fib-console-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: baseline; padding: 18px 26px; border-bottom: 1px solid var(--hc-line); }
.fib-console-head h2 { margin: 0; font-size: 21px; }
.fib-console-head i { font-style: normal; color: var(--hc-copper); font-size: 12px; margin-right: 8px; }
.fib-console-head p { margin: 0; font-size: 12.5px; color: var(--hc-muted); }
.fib-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.fib-symptoms { padding: 22px 26px; border-right: 1px solid var(--hc-line); background: var(--hc-soft); }
.fib-plan { padding: 22px 26px 26px; }
.fib-fieldset { border: 0; padding: 0 0 16px; margin: 0 0 16px; border-bottom: 1px solid var(--hc-line); display: flex; flex-wrap: wrap; gap: 7px; }
.fib-fieldset legend { width: 100%; padding-bottom: 8px; font-size: 13.5px; font-weight: 700; }
.fib-fieldset input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fib-fieldset label span { display: inline-block; padding: 7px 12px; border: 1px solid var(--hc-line); border-radius: 6px; font-size: 12.5px; cursor: pointer; }
.fib-fieldset input:checked + span { background: var(--hc-accent); border-color: var(--hc-accent); color: #fff; font-weight: 650; }
.fib-fieldset input:focus-visible + span { outline: 3px solid var(--hc-copper); outline-offset: 2px; }
.fib-fieldset--alert { padding: 12px; border: 1px dashed color-mix(in srgb, var(--hc-warn) 45%, var(--hc-line)); border-radius: 10px; background: color-mix(in srgb, var(--hc-warn) 4%, transparent); }
.fib-fieldset--alert input:checked + span { background: var(--hc-warn); border-color: var(--hc-warn); }
.fib-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.fib-nums label { font-size: 13px; font-weight: 700; }
.fib-nums label small { font-weight: 400; color: var(--hc-muted); }
.fib-nums .hc-input { margin-top: 6px; }
.fib-batch { border-top: 1px solid var(--hc-line); }
.fib-batch summary { padding: 14px 26px; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--hc-accent); }
.fib-batch summary span { font-size: 12px; font-weight: 400; color: var(--hc-muted); margin-left: 8px; }
.fib-batch-in { padding: 0 26px 22px; }
.fib-batch-in > label { display: block; font-size: 12.5px; color: var(--hc-muted); margin-bottom: 8px; }
.fib-batch-in .hc-actions { margin: 12px 0; }

/* ---- 结果 ---- */
.fib-result { margin-top: 44px; }
.fib-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); }
.fib-sec-head i { font-style: normal; color: var(--hc-copper); font-size: 12px; }
.fib-sec-head h2 { margin: 0; font-size: 23px; }
.fib-sec-head small { margin-left: auto; color: var(--hc-muted); font-size: 12px; }
.fib-empty { padding: 26px; border: 1px dashed var(--hc-line); border-radius: 12px; color: var(--hc-muted); background: var(--hc-paper); }
.fib-verdict { padding: 16px 20px; margin-bottom: 16px; border-radius: 10px; background: var(--hc-soft); border-left: 5px solid var(--hc-accent); font-size: 14.5px; line-height: 1.9; }
.fib-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); }
.fib-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.fib-stats > div { padding: 16px; border: 1px solid var(--hc-line); border-radius: 10px; background: var(--hc-paper); }
.fib-stats span { display: block; font-size: 11.5px; color: var(--hc-muted); }
.fib-stats b { font-size: 23px; color: var(--hc-accent); }
.fib-stats em { font-size: 11px; font-style: normal; color: var(--hc-muted); margin-left: 4px; }
.fib-topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fib-topic { padding: 18px 20px; border: 1px solid var(--hc-line); border-top: 4px solid var(--hc-copper); background: var(--hc-paper); border-radius: 0 0 10px 10px; }
.fib-topic h3 { margin: 0 0 10px; font-size: 16px; }
.fib-topic ul { margin: 0; padding-left: 18px; }
.fib-topic li { margin-bottom: 7px; font-size: 13px; line-height: 1.8; }
.fib-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.fib-card { padding: 20px 22px; border: 1px solid var(--hc-line); border-radius: 10px; background: var(--hc-paper); }
.fib-card h3 { margin: 0 0 10px; font-size: 16px; }
.fib-card ol, .fib-card ul { margin: 0; padding-left: 20px; }
.fib-card li { margin-bottom: 8px; font-size: 13.5px; line-height: 1.85; }
.fib-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.9; }
.fib-result .hc-actions { margin-top: 14px; }

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

@media (max-width: 900px) {
    .fib-hero, .fib-grid, .fib-cols { grid-template-columns: 1fr; }
    .fib-symptoms { border-right: 0; border-bottom: 1px solid var(--hc-line); }
}
@media (max-width: 640px) {
    .fib-nums, .fib-stats, .fib-topics { grid-template-columns: 1fr 1fr; }
    .fib-topics { grid-template-columns: 1fr; }
    .fib-console-head, .fib-symptoms, .fib-plan, .fib-batch-in { padding-inline: 16px; }
}
