/* 遺產稅／贈與稅／應繼分特留分 三頁共用（其餘沿用 site.css 的 .calc 元件） */
.it-wan { display: block; color: var(--muted); font-weight: 400; font-size: .9rem; min-height: 0; }
.it-wan:empty { display: none; }
.it-row { display: flex; align-items: flex-end; gap: 8px; }
.it-row .it-grow { flex: 1 1 auto; min-width: 0; margin: 6px 0; }
.it-del { flex: none; min-height: 44px; margin-bottom: 6px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--bad); font: inherit; font-size: .95rem; cursor: pointer; }
.it-add { margin: 4px 0 8px; }
.it-check { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; padding: 10px 12px; border: 2px solid var(--line); border-radius: 10px; font-size: 1rem; cursor: pointer; }
.it-check:has(input:checked) { border-color: var(--brand); background: #eff4ff; }
.it-check input { width: 20px; height: 20px; margin: 4px 0 0; flex: none; }
.it-check small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.it-more { border: 1px solid var(--line); border-radius: 10px; padding: 4px 12px; margin: 10px 0; }
.it-more > summary { cursor: pointer; font-weight: 600; font-size: 1rem; padding: 8px 0; }
.it-giver { border: 1px solid var(--line); border-radius: 10px; padding: 4px 12px 8px; margin: 10px 0; background: var(--soft); }
.it-giver h3 { font-size: 1.05rem; margin: .6rem 0 .25rem; }
.calc .qr-field input[type=number] { font-variant-numeric: tabular-nums; }
.it-share td small { display: block; }
.it-share th, .it-share td { white-space: normal; }
.it-rates th, .it-rates td { white-space: nowrap; }
@media (max-width: 480px) {
  .it-rates th, .it-rates td { white-space: normal; }
}
