/* HC14 · ideal-weight-calc「体重标尺」：湖蓝 + 奶油 + 刻度尺 */
.hc14--iw {
    --bg: #f6f8f6; --surface: #ffffff; --surface-2: #eef4f3;
    --ink: #1c2c30; --sub: #4b666b; --muted: #849a9e; --line: #dce8e7; --line-strong: #b7cdcb;
    --c1: #1f7d92; --c2: #c49852; --tint: #e2f1f4; --on-c1: #ffffff;
    --warn: #9c7014; --warn-tint: #fbf1d9; --danger: #b23f3f; --danger-tint: #fae7e7;
    --shadow: 0 14px 32px rgba(20,70,80,.08);
    background: linear-gradient(180deg, rgba(31,125,146,.06), transparent 45%), var(--bg);
}
html[data-theme="dark"] .hc14--iw {
    --bg: #10191b; --surface: #182729; --surface-2: #1f3235; --ink: #edf7f7; --sub: #b3c9ca; --muted: #81999c;
    --line: #2b4144; --line-strong: #3d5a5e; --c1: #64c4d8; --c2: #e0bb7b; --tint: #17383f; --on-c1: #0a2328;
    --danger-tint: #3a2222; --warn-tint: #352b12; --shadow: 0 16px 36px rgba(0,0,0,.34);
}
.iw-hero h1 em { font-style:normal; color:var(--c1); }
.iw-hero .hc14-sub b { color:var(--c2); }
.iw-console { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(200px,.7fr); gap:18px; }
.iw-form { padding:24px; border-radius:16px; background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow); }
.iw-tag { font-family:var(--mono); font-size:11px; letter-spacing:.14em; color:var(--c2); font-weight:700; margin-bottom:14px; }
.iw-form .hc14-input { font-family:var(--mono); background:var(--surface-2); }
.iw-sex { display:flex; gap:8px; margin-bottom:16px; }
.iw-sex label { position:relative; cursor:pointer; }
.iw-sex input { position:absolute; opacity:0; pointer-events:none; }
.iw-sex span { display:inline-block; padding:7px 20px; border:1.5px solid var(--line-strong); border-radius:999px; font-size:13px; font-weight:700; color:var(--sub); }
.iw-sex input:checked + span { background:var(--c1); color:var(--on-c1); border-color:var(--c1); }
.iw-ruler { border-radius:16px; background:var(--surface); border:1px solid var(--line); padding:22px 16px; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.iw-ruler-num { font-family:var(--mono); font-size:44px; font-weight:800; color:var(--c1); line-height:1; }
.iw-ruler-scale { display:flex; width:100%; justify-content:space-between; margin:14px 0 4px; padding-top:6px; border-top:2px solid var(--c1); }
.iw-ruler-scale i { display:block; width:1.5px; height:14px; background:var(--c2); }
.iw-ruler-scale i:nth-child(5n+1) { height:22px; background:var(--c1); }
.iw-ruler > span { font-size:11px; color:var(--muted); }
.iw-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:14px; }
.iw-cell { padding:20px; border:1px solid var(--line); border-radius:14px; background:var(--surface); border-bottom:4px solid var(--c1); }
.iw-cell .lab { font-size:12px; color:var(--muted); }
.iw-cell strong { display:block; font-family:var(--mono); font-size:30px; color:var(--c1); margin:6px 0 2px; }
.iw-cell small { color:var(--sub); }
.iw-band { margin-top:18px; padding:18px; border-radius:14px; background:var(--tint); }
.iw-band-bar { height:18px; border-radius:999px; background:linear-gradient(90deg,#d9eef0,var(--c1),#d9eef0); position:relative; }
.iw-band-bar i { position:absolute; top:-5px; width:3px; height:28px; background:var(--c2); border-radius:2px; }
.iw-band-labels { display:flex; justify-content:space-between; font-size:11px; color:var(--muted); margin-top:8px; }
@media (max-width: 860px) { .iw-console { grid-template-columns:1fr; } }
