/* ======================================================================
 * 04 · 跟腱炎自查 —— 「训练负荷台」
 * 配色：跑道橘 × 墨黑 × 沙色；字体：斜体粗标题 + 等宽跑量数字
 * 布局：首屏右侧就是四周跑量输入与实时曲线，控制台双栏定位图
 * ====================================================================== */
.hc13.ach {
    --hc-ink: #1a1c1f; --hc-muted: #6d7075; --hc-paper: #ffffff;
    --hc-soft: #f6f1e9; --hc-line: #e5ddd0; --hc-accent: #d94f18;
    --hc-accent-2: #f2a33c; --hc-warn: #b3271c; --hc-shadow: 0 16px 36px rgba(90, 42, 12, .12);
    background: linear-gradient(115deg, #fff9f1 0%, #f7f4ee 58%, #f2ece2 100%);
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.8;
}
:root[data-theme="dark"] .hc13.ach {
    --hc-ink: #f0ece5; --hc-muted: #b0aaa0; --hc-paper: #1b1c1e;
    --hc-soft: #242527; --hc-line: #36383b; --hc-accent: #ff945c;
    --hc-accent-2: #ffc078; --hc-warn: #ff9c8e; --hc-shadow: 0 16px 36px rgba(0, 0, 0, .44);
    background: linear-gradient(115deg, #171819 0%, #141517 58%, #101112 100%);
}
.ach .hc-wrap { padding-bottom: 54px; }
.ach .hc-crumb { padding: 16px 0 10px; }
.ach strong, .ach b { color: var(--hc-accent); }
.ach .hc-kw, .ach .ach-load-label, .ach .ach-sec-head em, .ach .ach-console-head em,
.ach .ach-stats b, .ach .ach-weeks span { font-family: "SFMono-Regular", Consolas, monospace; }
.ach h1 { font-style: italic; letter-spacing: -1px; }

/* ---- 首屏 ---- */
.ach-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 1fr); gap: 36px; padding: 30px 0 28px; align-items: start; }
.ach-hero .hc-kw { color: var(--hc-accent); font-size: 11px; letter-spacing: 2.6px; font-style: normal; }
.ach-hero h1 { margin: 14px 0 16px; font-size: clamp(31px, 3.9vw, 47px); font-weight: 900; line-height: 1.22; }
.ach-hero h1 i { display: block; font-style: italic; font-size: .46em; font-weight: 650; color: var(--hc-accent); margin-top: 12px; letter-spacing: 0; }
.ach-lede { margin: 0; max-width: 58ch; font-size: 15.5px; line-height: 1.92; }
.ach-hero-ops { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 10px; }
.ach-cta { padding: 12px 24px; border-radius: 4px; background: var(--hc-accent); color: #fff; font-size: 14.5px; font-weight: 800; letter-spacing: .3px; }
.ach-cta--ghost { background: transparent; color: var(--hc-accent); border: 1.5px solid var(--hc-accent); }
.ach-hero-note { margin: 0; font-size: 12px; color: var(--hc-muted); }
.ach-load { padding: 20px 22px 16px; background: var(--hc-paper); border: 1px solid var(--hc-line); border-top: 5px solid var(--hc-accent); border-radius: 6px 6px 16px 16px; box-shadow: var(--hc-shadow); }
.ach-load-label { display: block; font-size: 10.5px; letter-spacing: 2px; color: var(--hc-muted); }
.ach-weeks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0 14px; }
.ach-weeks label { display: block; }
.ach-weeks span { display: block; font-size: 11px; color: var(--hc-muted); margin-bottom: 5px; letter-spacing: 1px; }
.ach-weeks .hc-input { padding: 8px 9px; font-family: "SFMono-Regular", Consolas, monospace; }
.ach-chart { border-top: 1px dashed var(--hc-line); padding-top: 10px; }
.ach-chart svg { display: block; width: 100%; height: auto; }
.ach-gridline { stroke: var(--hc-line); stroke-width: 1; stroke-dasharray: 4 6; }
.ach-line { fill: none; stroke: var(--hc-accent); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.ach-chart circle { fill: var(--hc-paper); stroke: var(--hc-accent); stroke-width: 3; }
.ach-chart text { fill: var(--hc-muted); font: 11px "SFMono-Regular", Consolas, monospace; text-anchor: middle; }
.ach-chart-note { margin: 4px 0 0; font-size: 11.5px; color: var(--hc-muted); }
.ach-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.ach-strip span { padding: 6px 12px; border: 1px solid var(--hc-line); border-radius: 3px; background: var(--hc-paper); font-size: 12px; color: var(--hc-muted); }
.ach-strip span:first-child { color: #fff; background: var(--hc-accent); border-color: var(--hc-accent); font-weight: 700; }

/* ---- 控制台 ---- */
.ach-console { border: 1px solid var(--hc-line); border-radius: 14px; background: var(--hc-paper); overflow: hidden; }
.ach-console-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: baseline; padding: 18px 24px; border-bottom: 1px solid var(--hc-line); }
.ach-console-head h2 { margin: 0; font-size: 20px; }
.ach-console-head em { font-style: normal; color: var(--hc-accent); font-size: 12px; }
.ach-console-head p { margin: 0; font-size: 12.5px; color: var(--hc-muted); }
.ach-grid { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.5fr); }
.ach-figure { padding: 22px; border-right: 1px solid var(--hc-line); background: var(--hc-soft); }
.ach-figure h3 { margin: 0 0 8px; font-size: 15px; font-style: normal; }
.ach-ankle { display: block; width: 100%; max-width: 200px; margin: 6px auto 12px; }
.ach-leg { fill: color-mix(in srgb, var(--hc-accent-2) 14%, var(--hc-paper)); stroke: var(--hc-line); stroke-width: 2; }
.ach-heel { fill: var(--hc-paper); stroke: var(--hc-line); stroke-width: 2; }
.ach-zone { cursor: pointer; }
.ach-zone rect { fill: transparent; stroke: color-mix(in srgb, var(--hc-accent) 40%, transparent); stroke-width: 1.5; stroke-dasharray: 4 4; }
.ach-zone text { fill: var(--hc-muted); font-size: 11px; text-anchor: middle; pointer-events: none; }
.ach-zone.is-on rect { fill: color-mix(in srgb, var(--hc-accent) 22%, transparent); stroke: var(--hc-accent); stroke-width: 2.5; stroke-dasharray: none; }
.ach-zone.is-on text { fill: var(--hc-accent); font-weight: 700; }
.ach-zone-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ach-zone-chips input, .ach-fieldset input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ach-zone-chips label span, .ach-fieldset label span { display: inline-block; padding: 6px 11px; border: 1px solid var(--hc-line); border-radius: 4px; font-size: 12px; cursor: pointer; }
.ach-zone-chips input:checked + span, .ach-fieldset input:checked + span { background: var(--hc-accent); border-color: var(--hc-accent); color: #fff; font-weight: 700; }
.ach-zone-chips input:focus-visible + span, .ach-fieldset input:focus-visible + span { outline: 3px solid var(--hc-accent-2); outline-offset: 2px; }
.ach-form { padding: 22px 24px 24px; }
.ach-fieldset { border: 0; border-bottom: 1px solid var(--hc-line); padding: 0 0 14px; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.ach-fieldset legend { width: 100%; padding-bottom: 8px; font-size: 13.5px; font-weight: 700; }
.ach-fieldset legend small { font-weight: 400; color: var(--hc-muted); }
.ach-fieldset--alert { padding: 12px; border: 1px dashed color-mix(in srgb, var(--hc-warn) 50%, var(--hc-line)); border-radius: 8px; background: color-mix(in srgb, var(--hc-warn) 4%, transparent); }
.ach-fieldset--alert input:checked + span { background: var(--hc-warn); border-color: var(--hc-warn); }
.ach-fields { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; align-items: start; }
.ach-fields > label { font-size: 13px; font-weight: 700; }
.ach-fields > label small { font-weight: 400; color: var(--hc-muted); }
.ach-fields .hc-input { margin-top: 6px; }
.ach-fieldset--row { border: 0; margin: 0; padding: 0; }
.ach-batch { border-top: 1px solid var(--hc-line); }
.ach-batch summary { padding: 14px 24px; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--hc-accent); }
.ach-batch summary span { font-size: 12px; font-weight: 400; color: var(--hc-muted); margin-left: 8px; }
.ach-batch-in { padding: 0 24px 22px; }
.ach-batch-in > label { display: block; font-size: 12.5px; color: var(--hc-muted); margin-bottom: 8px; }
.ach-batch-in .hc-actions { margin: 12px 0; }

/* ---- 结果 ---- */
.ach-result { margin-top: 42px; }
.ach-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 3px solid var(--hc-ink); }
.ach-sec-head em { font-style: normal; color: var(--hc-accent); font-size: 12px; }
.ach-sec-head h2 { margin: 0; font-size: 22px; }
.ach-sec-head small { margin-left: auto; color: var(--hc-muted); font-size: 12px; }
.ach-empty { padding: 24px; border: 1px dashed var(--hc-line); border-radius: 8px; color: var(--hc-muted); background: var(--hc-paper); }
.ach-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.85; }
.ach-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); }
.ach-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.ach-stats > div { padding: 14px; border: 1px solid var(--hc-line); border-radius: 8px; background: var(--hc-paper); }
.ach-stats span { display: block; font-size: 11.5px; color: var(--hc-muted); }
.ach-stats b { font-size: 24px; color: var(--hc-accent); }
.ach-stats em { font-size: 11px; font-style: normal; color: var(--hc-muted); margin-left: 4px; }
.ach-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ach-card { padding: 18px 20px; border: 1px solid var(--hc-line); border-radius: 8px; background: var(--hc-paper); }
.ach-card h3 { margin: 0 0 10px; font-size: 16px; font-style: normal; }
.ach-card ol, .ach-card ul { margin: 0; padding-left: 20px; }
.ach-card li { margin-bottom: 7px; font-size: 13.5px; line-height: 1.8; }
.ach-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.85; }
.ach-result .hc-actions { margin-top: 14px; }

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

@media (max-width: 900px) {
    .ach-hero, .ach-grid, .ach-cols { grid-template-columns: 1fr; }
    .ach-figure { border-right: 0; border-bottom: 1px solid var(--hc-line); }
}
@media (max-width: 640px) {
    .ach-fields, .ach-stats { grid-template-columns: 1fr 1fr; }
    .ach-weeks { gap: 6px; }
    .ach-console-head, .ach-figure, .ach-form, .ach-batch-in { padding-inline: 16px; }
}
