/* These tables have seven and two columns, not the shared three-column layout. */
.fi-paycheck-results .fi-result-table{table-layout:auto}
.fi-paycheck-results .fi-result-table th{width:auto}
.fi-paycheck-results .fi-paycheck-calendar{min-width:62rem}
.fi-paycheck-results .fi-paycheck-calendar th,.fi-paycheck-results .fi-paycheck-calendar td{text-align:right}
.fi-paycheck-results .fi-paycheck-calendar th:first-child,.fi-paycheck-results .fi-paycheck-calendar td:first-child{text-align:left}
.fi-paycheck-results .fi-paycheck-calendar td{white-space:nowrap}
.fi-paycheck-results .fi-paycheck-comparison-table{min-width:48rem}
.fi-paycheck-results .fi-paycheck-comparison-table th,.fi-paycheck-results .fi-paycheck-comparison-table td{text-align:right}
.fi-paycheck-results .fi-paycheck-comparison-table th:first-child{text-align:left}
.fi-paycheck-results .fi-paycheck-comparison-table td{white-space:nowrap}

.paycheck-schedule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0 24px}
.paycheck-schedule-card{min-width:0;padding:18px;border:1px solid var(--line);border-radius:12px;background:#fff}
.paycheck-schedule-card.is-selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.paycheck-schedule-card h4{margin:0 0 14px;font-size:1rem}
.paycheck-schedule-card h4 span{color:var(--muted);font-weight:500}
.paycheck-schedule-card dl{display:grid;gap:14px;margin:0}
.paycheck-schedule-card dl>div{display:grid;gap:7px}
.paycheck-schedule-card dt{font-size:.8rem;font-weight:750;color:var(--muted)}
.paycheck-schedule-card dd{margin:0}
.paycheck-month-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(5.25rem,1fr));gap:7px}
.paycheck-month{padding:7px 8px;border-radius:8px;background:var(--accent-soft);text-align:center;font-size:.88rem;font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:700px){.paycheck-schedule-grid{grid-template-columns:1fr}.paycheck-month-grid{grid-template-columns:repeat(auto-fit,minmax(5.75rem,1fr))}}


/* The saved reserve chart keeps readable month labels on narrow screens. */
.paycheck-chart-scroll{max-width:100%;overflow-x:auto;border-radius:8px}
.paycheck-chart-scroll:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.paycheck-chart-scroll img{display:block;width:100%;min-width:640px;height:auto}
.paycheck-chart-legend{color:#202b45;font-size:.9rem;line-height:1.6}
.paycheck-chart-caution{border-left:3px solid #805d18;padding-left:12px}
@media print{.paycheck-chart-scroll{overflow:visible}.paycheck-chart-scroll img{min-width:0}.paycheck-chart-scroll-help{display:none}.paycheck-chart-graphic{break-inside:avoid}}

/* One source at a time, with native disclosures as the no-JavaScript fallback. */
.paycheck-source{border-block-start:1px solid var(--line);padding:12px 0}
.paycheck-source summary{padding:12px 0;min-height:44px;cursor:pointer;font-weight:600;overflow-wrap:anywhere}
.paycheck-source summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.paycheck-source__fields{padding:12px 0 20px}
.paycheck-source__fields .guided-form__fields{margin-bottom:20px}
.paycheck-source[hidden],[data-source-add][hidden],[data-source-done][hidden],[data-source-limit][hidden]{display:none}
.paycheck-preview{margin:32px 0;padding:24px 0;border-block:1px solid var(--line)}
.paycheck-preview ol{padding-left:24px;display:grid;gap:20px}
.paycheck-preview li>span{display:block;margin-top:4px}
.paycheck-result-summary{max-width:72ch;margin:24px 0}
.paycheck-result-summary h2{font-size:var(--tool-section-size,1.5rem)}

/* Decision-first summary and portable household discussion. */
.paycheck-routine{margin-block:24px;padding-block:16px;border-block:1px solid var(--line)}
.paycheck-routine p,.paycheck-verification p,.paycheck-decisions p{max-width:72ch}
.paycheck-decisions details{border-block-start:1px solid var(--line);padding-block:12px}
.paycheck-decisions summary{padding-block:12px;min-height:44px;cursor:pointer;font-weight:650}
.paycheck-decisions summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.paycheck-differences{display:grid;gap:16px;margin-block:20px}
.paycheck-differences>div{display:grid;grid-template-columns:minmax(10rem,1fr) 2fr;gap:12px}
.paycheck-differences dt{font-weight:650}.paycheck-differences dd{margin:0;font-variant-numeric:tabular-nums}
.paycheck-verification{margin-block:28px}.paycheck-verification li{margin-block:20px;max-width:72ch;overflow-wrap:anywhere}
.paycheck-verification li a{display:block;margin-top:6px}
.paycheck-private-brief{max-width:800px}.paycheck-private-brief article{margin-block:32px;overflow-wrap:anywhere}
.paycheck-private-brief article h2{margin-top:32px}.paycheck-private-brief li{margin-bottom:14px}
.paycheck-brief-options{display:grid;gap:12px;max-width:36rem;margin-block:24px}
.paycheck-brief-options label{font-weight:650}.paycheck-brief-options select{width:100%;min-width:0;min-height:48px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text);font:inherit}
.paycheck-brief-options .button{justify-self:start}
@media(max-width:560px){.paycheck-differences>div{grid-template-columns:1fr;gap:4px}.paycheck-private-brief .button{white-space:normal}}
