/* Article 16 only. Tokens come from vi.css. */
.tool .fs { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.tool .fs legend { padding: 0; margin: 0 0 4px; font-family: var(--f-display); font-size: 1.05rem; font-weight: 600; color: var(--ink-navy); }
.tool .fs + .fs { border-top: 1px solid var(--rule-cool); padding-top: 16px; }
.tool .fs-inner { border-top: 0 !important; padding-top: 0 !important; }
.tool .fs-inner:disabled { opacity: 0.45; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.results [hidden] { display: none !important; }
.noscript-note { margin: 10px 28px; font-size: var(--t-sm); color: var(--brick); }
.tool .unit-input select { min-width: 0; max-width: 100%; border: 0; padding: 8px 10px; font: 600 1rem/1.2 var(--f-figure); color: var(--ink); background: var(--white); }
.tool .field-row .unit-input { max-width: 100%; }
.results .table-wrap { background: var(--white); border-radius: var(--radius); padding: 4px 8px; }
.results .cs-table { color: var(--ink); font-size: var(--t-sm); }
.results .cs-table caption { font-size: 1rem; padding: 8px 0 4px; }
.results .cs-table th, .results .cs-table td { color: var(--ink); padding: 8px 6px; }
.results .cs-table thead th { color: var(--ink-soft); }
.results .cs-table td { white-space: nowrap; }
.results .cs-table .sub { display: block; font-size: var(--t-xs); color: var(--ink-soft); }
.results p.cs-note { font-size: var(--t-xs); }
.results details.as-table { color: var(--on-dark); }
.results details.as-table summary { color: var(--gold); }
.results .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 380px) { .results .kpis { grid-template-columns: minmax(0, 1fr); } .results .cs-table th, .results .cs-table td { padding: 8px 3px; } }
.results p#cs-read { margin: 0; padding-top: 6px; }
#c-s0 { width: 8.6em; }
.tool .controls, .tool .results { grid-template-columns: minmax(0, 1fr); }
.tool .results > *, .tool .controls > * { min-width: 0; }
.tool .fs { grid-template-columns: minmax(0, 1fr); }
.tool .unit-input select { width: 100%; }
@media (max-width: 520px) { .tool .field-row .unit-input { width: 100%; } .tool .unit-input input { flex: 1 1 auto; width: 100%; } .tool #c-s0 { width: 100%; } }
