/* /return-preview/ and /2026-tax-return-calculator/ — on top of
 * year-end-tax-moves.css (its tokens, form, tables, offer). Readable at 320px;
 * the printable copy is the only thing printed. */
.rp-page .rp-small { font-size: 0.84rem; }
.rp-page .rp-kpi.refund .v { color: var(--yem-ok); }
.rp-page .rp-kpi.owe .v { color: var(--yem-danger); }
.rp-page .rp-warn { border-left: 4px solid var(--yem-warn); background: var(--yem-warn-surface); padding: 8px 12px; border-radius: 8px; font-size: 0.88rem; }
.rp-page .rp-error { border-left: 4px solid var(--yem-danger); background: var(--yem-danger-surface); padding: 8px 12px; border-radius: 8px; font-size: 0.9rem; }
.rp-page .rp-error[hidden], .rp-page [hidden] { display: none; }
.rp-page .rp-lines { table-layout: fixed; }
.rp-page .rp-lines th:first-child, .rp-page .rp-lines td.rp-ln { width: 6.5rem; white-space: normal; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; color: var(--yem-muted); }
.rp-page .rp-lines th.num, .rp-page .rp-lines td.num { width: 7.5rem; }
.rp-page .rp-lines td { overflow-wrap: anywhere; }
.rp-page .rp-rule { font-size: 0.75rem; margin-left: 4px; }
.rp-page .rp-result td { border-top: 2px solid var(--yem-ink); }
.rp-page .rp-pay, .rp-page .rp-state { table-layout: fixed; }
.rp-page .rp-pay td.num, .rp-page .rp-state td.num { width: 7.5rem; }
.rp-page .rp-pay td, .rp-page .rp-state td { overflow-wrap: anywhere; }
.rp-page .rp-chain { border: 1px solid var(--yem-accent); border-radius: 10px; padding: 10px 14px; margin: 10px 0; background: var(--yem-accent-surface); }
.rp-page #rp-state-not-modelled { margin: 10px 0; }
.rp-page #rp-state-not-modelled summary { cursor: pointer; font-weight: 600; }
.rp-page #rp-state-not-modelled li { font-size: 0.86rem; }
.rp-page .rp-printable { display: none; }
@media (max-width: 480px) {
    .rp-page .rp-lines th:first-child, .rp-page .rp-lines td.rp-ln { width: 4.6rem; font-size: 0.72rem; }
    .rp-page .rp-lines th.num, .rp-page .rp-lines td.num,
    .rp-page .rp-pay td.num, .rp-page .rp-state td.num { width: 5.6rem; }
}
@media print {
    .rp-page header, .rp-page footer, .rp-page .page-container > *:not(.rp-printable) { display: none !important; }
    .rp-page .rp-printable { display: block; color: #000; background: #fff; }
    .rp-page .rp-printable table { width: 100%; border-collapse: collapse; font-size: 9pt; }
    .rp-page .rp-printable th, .rp-page .rp-printable td { border-bottom: 1px solid #999; padding: 3px 4px; color: #000; background: #fff; }
    .rp-page .rp-printable .rp-rule { display: none; }
    body.rp-page { background: #fff; }
}
