/* 土地增值稅試算（其餘沿用 site.css 的 .calc 元件） */
.rt-frac { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0 8px; align-items: end; }
.rt-frac > span { padding-bottom: 18px; font-weight: 600; }
.rt-frac .qr-field { margin: 6px 0; }
.rt-box { border: 1px solid var(--line); border-radius: 10px; padding: 4px 12px 8px; margin: 10px 0; background: var(--soft); }
.rt-cpi { color: var(--muted); font-size: .95rem; margin: .25rem 0 .5rem; min-height: 1.2em; }
.rt-cpi:empty { display: none; }
.calc .qr-field input[type=text] { font-variant-numeric: tabular-nums; }
.rt-rates th, .rt-rates td { white-space: nowrap; }
@media (max-width: 480px) {
  .rt-rates th, .rt-rates td { white-space: normal; }
}
.calc-table td small { display: block; }
