/* 补剂用量：白底“标签卡”版式，强调剂量数字与上限刻度，与跑鞋页的深色仪表盘形成对比 */

.sup-top {
    padding: 30px 0 0;
    background: var(--x2-surface);
}
.sup-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 18px; font-size: 12.5px; color: var(--x2-muted); }
.sup-crumb a { color: var(--x2-muted); }
.sup-crumb a:hover { color: var(--x2-accent); text-decoration: none; }
.sup-crumb i { font-style: normal; opacity: .5; }

.sup-head { max-width: 720px; }
.sup-h1 { font-size: clamp(30px, 4vw, 50px); line-height: 1.14; letter-spacing: -.03em; }
.sup-h1 span { display: block; margin-top: 4px; font-size: clamp(22px, 2.8vw, 34px); color: var(--x2-accent); letter-spacing: -.02em; }
.sup-lede { margin-top: 14px; max-width: 40em; font-size: 15.5px; line-height: 1.85; color: var(--x2-ink-2); }
.sup-lede strong { color: var(--x2-ink); font-weight: 600; }

/* ---------- 参数条 ---------- */
.sup-toolbar {
    display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 22px;
    margin-top: 24px; padding: 14px 18px 16px;
    border: 1px solid var(--x2-line-strong); border-bottom: 0;
    border-radius: 12px 12px 0 0;
    background: var(--x2-surface-2);
}
.sup-toolbar-k {
    align-self: center;
    font-family: var(--x2-mono); font-size: 10.5px; letter-spacing: .14em;
    color: var(--x2-muted); writing-mode: vertical-rl; text-orientation: mixed;
}
.sup-f { display: grid; gap: 5px; min-width: 132px; flex: 1 1 132px; }
.sup-f > span:first-child { font-size: 11px; font-weight: 600; color: var(--x2-muted); }
.sup-box {
    display: flex; align-items: center; gap: 6px;
    height: 36px; padding: 0 10px;
    border: 1px solid var(--x2-line-strong); border-radius: 8px;
    background: var(--x2-surface);
    transition: border-color .15s, box-shadow .15s;
}
.sup-box:focus-within { border-color: var(--x2-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--x2-accent) 12%, transparent); }
.sup-box input, .sup-box select {
    flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: none;
    background: transparent; color: var(--x2-ink);
    font-family: var(--x2-mono); font-size: 15px; font-variant-numeric: tabular-nums;
}
.sup-box select { font-family: var(--x2-font); font-size: 13.5px; }
.sup-box em { flex: none; font-style: normal; font-size: 11px; color: var(--x2-muted); white-space: nowrap; }
.sup-box.is-bad { border-color: var(--x2-err); }

.sup-toolbar-act { display: flex; gap: 8px; margin-left: auto; }
.sup-btn {
    height: 36px; padding: 0 14px; cursor: pointer;
    border: 1px solid var(--x2-ink); border-radius: 8px;
    background: var(--x2-ink); color: var(--x2-surface);
    font-size: 12.5px; font-weight: 600;
}
.sup-btn:hover { background: var(--x2-accent); border-color: var(--x2-accent); color: #fff; }
.sup-btn-ghost { background: transparent; color: var(--x2-ink-2); border-color: var(--x2-line-strong); font-weight: 500; }
.sup-btn-ghost:hover { background: transparent; color: var(--x2-err); border-color: var(--x2-err); }

.sup-presets {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    padding: 10px 18px; border: 1px solid var(--x2-line-strong); border-top: 0;
    border-radius: 0 0 12px 12px; background: var(--x2-surface);
}
.sup-presets > span { font-size: 10.5px; letter-spacing: .1em; color: var(--x2-muted); font-family: var(--x2-mono); }
.sup-preset {
    padding: 4px 10px; cursor: pointer;
    border: 1px solid var(--x2-line); border-radius: 99px;
    background: transparent; color: var(--x2-ink-2); font-size: 11.5px;
}
.sup-preset:hover { color: var(--x2-accent); border-color: var(--x2-accent); }

/* ---------- 三张剂量卡 ---------- */
.sup-main { padding-bottom: 40px; }
.sup-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.sup-card {
    display: flex; flex-direction: column;
    padding: 16px 18px 18px;
    border: 1px solid var(--x2-line); border-top: 3px solid var(--x2-ink);
    border-radius: 4px 4px 10px 10px;
    background: var(--x2-surface);
}
.sup-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sup-card-head h2 { font-size: 14px; letter-spacing: 0; }
.sup-tag {
    font-family: var(--x2-mono); font-size: 10px; letter-spacing: .06em;
    color: var(--x2-muted); border: 1px solid var(--x2-line); border-radius: 3px; padding: 1px 5px;
}
.sup-big {
    margin-top: 10px;
    font-family: var(--x2-mono); font-size: clamp(30px, 3.4vw, 40px); font-weight: 600;
    line-height: 1.1; letter-spacing: -.04em; color: var(--x2-ink);
    font-variant-numeric: tabular-nums;
}
.sup-big em { font-style: normal; font-size: 13px; font-weight: 400; color: var(--x2-muted); margin-left: 3px; }
.sup-big.is-flat { color: var(--x2-accent); }
.sup-big-k { margin-top: 2px; font-size: 11.5px; color: var(--x2-muted); }

.sup-facts { display: grid; gap: 0; margin: 14px 0 0; padding-top: 4px; border-top: 1px solid var(--x2-line); }
.sup-facts > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--x2-line); }
.sup-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.sup-facts dt { font-size: 11.5px; color: var(--x2-muted); }
.sup-facts dd { margin: 0; font-size: 12.5px; line-height: 1.65; color: var(--x2-ink-2); }
.sup-note { margin-top: 12px; font-size: 11.5px; line-height: 1.7; color: var(--x2-muted); }

/* 上限警告 */
.sup-cap {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
    margin-top: 14px; padding: 11px 15px;
    border-left: 3px solid var(--x2-err); background: var(--x2-err-soft);
    border-radius: 0 8px 8px 0;
    font-size: 13px; line-height: 1.75; color: var(--x2-ink-2);
}
.sup-cap b { color: var(--x2-err); font-size: 12px; }

/* ---------- 上限刻度 ---------- */
.sup-bar-sec {
    margin-top: 16px; padding: 16px 18px 14px;
    border: 1px solid var(--x2-line); border-radius: 10px;
    background: var(--x2-surface);
}
.sup-bar-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.sup-bar-head h2 { font-size: 14px; }
.sup-bar-head span { font-size: 11.5px; color: var(--x2-muted); }
.sup-bar { position: relative; height: 12px; margin-top: 14px; border-radius: 6px; background: var(--x2-line); overflow: hidden; }
.sup-bar-fill {
    position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 6px;
    background: linear-gradient(90deg, #7c3aed, #c026d3);
    transition: width .2s ease;
}
.sup-bar-cap { position: absolute; left: 80%; top: -3px; bottom: -3px; width: 2px; background: var(--x2-err); }
.sup-bar-scale { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--x2-mono); font-size: 10.5px; color: var(--x2-muted); }
.sup-bar-note { margin-top: 8px; font-size: 12px; line-height: 1.7; color: var(--x2-ink-2); }

/* ---------- 内容 ---------- */
.sup-sec { padding: 34px 0; border-top: 1px solid var(--x2-line); }
.sup-sec-head { display: flex; align-items: baseline; gap: 11px; margin-bottom: 14px; }
.sup-k { flex: none; font-family: var(--x2-mono); font-size: 11px; color: var(--x2-accent); }
.sup-sec-head h2 { font-size: clamp(19px, 2.1vw, 23px); letter-spacing: -.015em; }

.sup-prose { max-width: 68ch; }
.sup-prose p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.95; color: var(--x2-ink-2); }
.sup-prose p:first-child { margin-top: 0; }
.sup-prose strong { color: var(--x2-ink); font-weight: 600; }

.sup-tablewrap { margin-top: 16px; overflow-x: auto; }
.sup-table { width: 100%; font-size: 13.5px; }
.sup-table th {
    padding: 8px 12px; text-align: left; white-space: nowrap;
    background: var(--x2-ink); color: var(--x2-surface);
    font-size: 11.5px; font-weight: 600;
}
.sup-table th:first-child { border-radius: 6px 0 0 0; }
.sup-table th:last-child { border-radius: 0 6px 0 0; }
.sup-table td { padding: 11px 12px; border-bottom: 1px solid var(--x2-line); color: var(--x2-ink-2); vertical-align: top; }
.sup-table td:first-child { color: var(--x2-ink); font-weight: 600; white-space: nowrap; }
.sup-table .num { font-family: var(--x2-mono); color: var(--x2-ink); white-space: nowrap; }

/* 时间线 */
.sup-line { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--x2-line-strong); }
.sup-line li { position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; padding: 0 0 18px 20px; }
.sup-line li:last-child { padding-bottom: 0; }
.sup-line li::before {
    content: ""; position: absolute; left: -6px; top: 6px;
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--x2-surface); border: 2px solid var(--x2-accent);
}
.sup-time { font-family: var(--x2-mono); font-size: 11.5px; line-height: 1.6; color: var(--x2-accent); padding-top: 2px; }
.sup-line b { display: block; font-size: 13.5px; color: var(--x2-ink); margin-bottom: 2px; }
.sup-line p { font-size: 13px; line-height: 1.8; color: var(--x2-ink-2); }

.sup-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sup-box-card { padding: 15px 17px; border: 1px solid var(--x2-line); border-radius: 10px; background: var(--x2-surface); }
.sup-box-card h3 { font-size: 14px; margin-bottom: 8px; }
.sup-box-card ul { margin: 0; padding-left: 17px; }
.sup-box-card li { font-size: 13px; line-height: 1.85; color: var(--x2-ink-2); }
.sup-box-card b { color: var(--x2-ink); }

.sup-cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sup-mis { padding-top: 12px; border-top: 1px solid var(--x2-line-strong); }
.sup-mis h3 { font-size: 13.5px; margin-bottom: 5px; }
.sup-mis p { font-size: 13px; line-height: 1.85; color: var(--x2-ink-2); }

.sup-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sup-links a { display: block; padding: 12px 14px; border: 1px solid var(--x2-line); border-radius: 9px; color: var(--x2-ink); }
.sup-links a:hover { border-color: var(--x2-accent); text-decoration: none; }
.sup-links b { display: block; font-size: 13.5px; }
.sup-links span { display: block; margin-top: 2px; font-size: 12px; color: var(--x2-muted); }

@media (max-width: 980px) {
    .sup-cards { grid-template-columns: 1fr; }
    .sup-cols, .sup-cols-3, .sup-links { grid-template-columns: 1fr; }
    .sup-toolbar-k { display: none; }
    .sup-f { flex: 1 1 44%; }
    .sup-toolbar-act { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
    .sup-top { padding-top: 22px; }
    .sup-f { flex: 1 1 100%; }
    .sup-line li { grid-template-columns: 1fr; gap: 4px; }
    .sup-facts > div { grid-template-columns: 68px minmax(0, 1fr); }
    .sup-big { font-size: 32px; }
}
