/* Calculators page only. */
.tools-pane{display:grid;gap:18px}
.tools-pane>h2{color:#fff}
.tools-pane{position:relative}
.tools-pane .hud .v.tools-big{font-size:clamp(52px,9vw,84px)}
.tools-hint{font-size:13.5px;color:var(--on-dark2)}
.tools-err{margin:0;font-size:13.5px;line-height:1.45;color:var(--amber)}
.tools-floor{margin:0}
.tools-fine{display:grid;gap:6px;max-width:78ch;font-size:13.5px;line-height:1.5;color:var(--on-dark2)}
.tools-fine p{margin:0}
.tools-pane input[aria-invalid="true"]{border-color:var(--amber);box-shadow:inset 0 0 0 1px var(--amber)}
.tools-pane .hud .k .pill{color:var(--citron)}
.tools-ranges div.on{background:rgba(200,241,105,.14)}
.tools-ranges div.on b,.tools-ranges div.on span{color:#fff}
/* BMI result on a half-circle gauge (audit item 23). The 4 arcs are the 4 ranges; the result's arc lights up and a marker
   rides the arc to the result. Only transform, opacity and the arc's color change. */
.tools-gauge{position:relative;max-width:300px;margin:14px auto 0}
.tools-gauge svg{display:block;width:100%;height:auto;overflow:visible}
.tools-gauge path{fill:none;stroke:rgba(255,255,255,.22);stroke-width:12}
.tools-gauge path.on{stroke:var(--citron)}
.tools-needle{transform:rotate(var(--a,0deg));transform-origin:110px 110px;opacity:0;transition:transform .9s cubic-bezier(.22,1,.36,1),opacity .3s}
.tools-gauge.has .tools-needle{opacity:1}
.tools-needle circle{fill:#fff;stroke:var(--ink);stroke-width:4}
.tools-pane .hud .tools-gauge .v.tools-big{position:absolute;left:0;right:0;bottom:-4px;margin:0;text-align:center;font-size:clamp(44px,7vw,60px);font-variant-numeric:tabular-nums}
.tools-gauge-s{display:flex;justify-content:space-between;max-width:300px;margin:8px auto 0;padding-inline:8px;font-family:var(--fm);font-size:13px;letter-spacing:.06em;color:var(--on-dark2)}
/* read by screen readers, not shown */
.tools-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
