/* Article 11 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; }
.noscript-note { margin: 10px 28px; font-size: var(--t-sm); color: var(--brick); }
.tool .unit-input input, .tool .btn { min-height: 44px; }
.results [hidden] { display: none !important; }
/* tables with more than three columns turn into labelled blocks on phones */
@media (max-width: 639px) {
  .stack-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stack-table, .stack-table tbody, .stack-table tr, .stack-table th, .stack-table td { display: block; width: 100%; }
  .stack-table tr { border: 1px solid var(--rule); margin: 0 0 12px; padding: 4px 0; background: var(--white); }
  .stack-table th[scope="row"] { border: 0; font-family: var(--f-display); font-size: 1.05rem; padding: 8px 12px 2px; text-align: left; }
  .stack-table td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 4px 12px; text-align: right; }
  .stack-table td::before { content: attr(data-label); color: var(--ink-soft); text-align: left; font-size: var(--t-xs); }
}
#tv-read, .tool .results .help { margin-top: 16px; }
