/* ======================================================================
 * 13 · 腺样体肥大自查 —— 「儿童呼吸观察卡」
 * 配色：晴空蓝 × 青柠绿；字体：圆润无衬线 + 大号友好数字
 * 布局：首屏观察卡 + 三栏观察项 + 结果区资料卡
 * ====================================================================== */
.hc13.ade {
    --hc-ink: #173446; --hc-muted: #66889a; --hc-paper: #ffffff;
    --hc-soft: #eef8fd; --hc-line: #d6e9f2; --hc-accent: #1d7fc3;
    --hc-lime: #7aa828; --hc-warn: #b23b2e; --hc-shadow: 0 16px 38px rgba(20, 90, 130, .11);
    background: linear-gradient(170deg, #f0f9ff 0%, #f7fcfa 60%, #f5fbe9 100%);
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.84;
}
:root[data-theme="dark"] .hc13.ade {
    --hc-ink: #e4f2ff; --hc-muted: #9fbecf; --hc-paper: #111e26;
    --hc-soft: #182b34; --hc-line: #2b4552; --hc-accent: #7dc8f5;
    --hc-lime: #c8e986; --hc-warn: #ff9d8f; --hc-shadow: 0 16px 38px rgba(0, 0, 0, .44);
    background: linear-gradient(170deg, #0c1920 0%, #0d1b1c 60%, #131b12 100%);
}
.ade .hc-wrap { padding-bottom: 56px; }
.ade .hc-crumb { padding: 16px 0 10px; }
.ade strong, .ade b { color: var(--hc-accent); }
.ade .hc-kw, .ade .ade-card-top span, .ade .ade-sec-head i, .ade .ade-console-head i,
.ade .ade-ai-head i, .ade .ade-stats b, .ade .ade-card-top b { font-family: "SFMono-Regular", Consolas, monospace; }

/* ---- 首屏 ---- */
.ade-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(310px, .85fr); gap: 36px; align-items: start; padding: 30px 0 28px; }
.ade-hero .hc-kw { color: var(--hc-lime); font-size: 11px; letter-spacing: 2.6px; }
.ade-hero h1 { margin: 14px 0 16px; font-size: clamp(32px, 4vw, 48px); line-height: 1.26; font-weight: 850; letter-spacing: -.5px; }
.ade-hero h1 em { font-style: normal; display: block; font-size: .46em; font-weight: 600; color: var(--hc-accent); margin-top: 12px; letter-spacing: 0; }
.ade-lede { margin: 0; max-width: 58ch; font-size: 15.5px; line-height: 1.95; }
.ade-hero-ops { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 10px; }
.ade-cta { padding: 12px 24px; border-radius: 16px; background: var(--hc-accent); color: #fff; font-size: 14.5px; font-weight: 750; }
.ade-cta--ghost { background: transparent; color: var(--hc-accent); border: 1.5px solid var(--hc-accent); }
.ade-hero-note { margin: 0; font-size: 12px; color: var(--hc-muted); }
.ade-card-hero { padding: 20px 22px 18px; background: var(--hc-paper); border: 1px solid var(--hc-line); border-radius: 24px; box-shadow: var(--hc-shadow); }
.ade-card-top { display: flex; align-items: baseline; gap: 8px; padding-bottom: 12px; border-bottom: 2px dashed var(--hc-line); }
.ade-card-top span { font-size: 10px; letter-spacing: 2px; color: var(--hc-muted); margin-right: auto; }
.ade-card-top b { font-size: 40px; color: var(--hc-lime); line-height: 1; }
.ade-card-top small { font-size: 12px; color: var(--hc-muted); }
.ade-range { display: block; margin: 14px 0; font-size: 13px; font-weight: 700; }
.ade-range small { font-weight: 400; color: var(--hc-muted); }
.ade-range input { display: block; width: 100%; margin-top: 8px; accent-color: var(--hc-lime); }
.ade-hero-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ade-hero-fields label { font-size: 12.5px; font-weight: 700; }
.ade-hero-fields .hc-select { margin-top: 6px; }
.ade-card-note { margin: 14px 0 0; font-size: 11.5px; line-height: 1.75; color: var(--hc-muted); }
.ade-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.ade-strip span { padding: 7px 14px; border-radius: 999px; background: var(--hc-paper); border: 1px solid var(--hc-line); font-size: 12px; color: var(--hc-muted); }
.ade-strip span:first-child { background: var(--hc-lime); border-color: var(--hc-lime); color: #fff; font-weight: 700; }

/* ---- 控制台 ---- */
.ade-console { background: var(--hc-paper); border: 1px solid var(--hc-line); border-radius: 20px; overflow: hidden; }
.ade-console-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: baseline; padding: 18px 24px; border-bottom: 1px solid var(--hc-line); background: var(--hc-soft); }
.ade-console-head h2 { margin: 0; font-size: 20px; }
.ade-console-head i { font-style: normal; color: var(--hc-lime); font-size: 12px; margin-right: 8px; }
.ade-console-head p { margin: 0; font-size: 12.5px; color: var(--hc-muted); }
.ade-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.ade-col { padding: 22px 20px; border-right: 1px solid var(--hc-line); }
.ade-col:last-child { border-right: 0; background: var(--hc-soft); }
.ade-col h3 { margin: 0 0 12px; font-size: 15px; }
.ade-col h3 small { font-size: 11.5px; font-weight: 400; color: var(--hc-muted); }
.ade-fieldset { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.ade-fieldset input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ade-fieldset label span { display: inline-block; padding: 7px 11px; border: 1px solid var(--hc-line); border-radius: 999px; font-size: 12.5px; cursor: pointer; }
.ade-fieldset input:checked + span { background: var(--hc-accent); border-color: var(--hc-accent); color: #fff; font-weight: 650; }
.ade-fieldset input:focus-visible + span { outline: 3px solid var(--hc-lime); outline-offset: 2px; }
.ade-fieldset--alert { padding: 12px; border: 1px dashed color-mix(in srgb, var(--hc-warn) 45%, var(--hc-line)); border-radius: 12px; background: color-mix(in srgb, var(--hc-warn) 4%, transparent); }
.ade-fieldset--alert input:checked + span { background: var(--hc-warn); border-color: var(--hc-warn); }
.ade-months { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 700; }
.ade-months small { font-weight: 400; color: var(--hc-muted); }
.ade-months .hc-input { margin-top: 6px; }
.ade-batch { border-top: 1px solid var(--hc-line); }
.ade-batch summary { padding: 14px 24px; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--hc-accent); }
.ade-batch summary span { font-size: 12px; font-weight: 400; color: var(--hc-muted); margin-left: 8px; }
.ade-batch-in { padding: 0 24px 22px; }
.ade-batch-in > label { display: block; font-size: 12.5px; color: var(--hc-muted); margin-bottom: 8px; }
.ade-batch-in .hc-actions { margin: 12px 0; }

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

/* ---- AI ---- */
.ade-ai { margin-top: 40px; padding: 24px 26px; border: 1px solid var(--hc-line); border-radius: 18px; background: var(--hc-paper); }
.ade-ai-head h2 { margin: 0 0 8px; font-size: 19px; }
.ade-ai-head i { font-style: normal; color: var(--hc-lime); font-size: 12px; margin-right: 8px; }
.ade-ai-head h2 small { font-size: 11.5px; font-weight: 400; color: var(--hc-muted); }
.ade-ai-head p { margin: 0 0 16px; font-size: 13px; line-height: 1.8; color: var(--hc-muted); }
.ade-ai-status { margin: 14px 0 0; font: 12.5px "SFMono-Regular", Consolas, monospace; color: var(--hc-muted); }
.ade-ai-out { margin-top: 12px; padding: 16px 18px; white-space: pre-wrap; font-size: 14px; line-height: 1.9; background: var(--hc-soft); border-radius: 12px; }

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

@media (max-width: 980px) {
    .ade-grid { grid-template-columns: 1fr 1fr; }
    .ade-col--flag { grid-column: 1 / -1; border-top: 1px solid var(--hc-line); }
}
@media (max-width: 900px) {
    .ade-hero, .ade-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .ade-grid, .ade-hero-fields, .ade-card, .ade-stats { grid-template-columns: 1fr 1fr; }
    .ade-card { grid-template-columns: 1fr; }
    .ade-console-head, .ade-col, .ade-batch-in, .ade-ai { padding-inline: 16px; }
}
