.tax-prep{--prep-border:#dee5ee;--prep-blue:#245dd8;color:#18263b}
.tax-prep .page-heading h1{font-size:28px}.tax-prep .page-heading{align-items:flex-start;gap:24px}
.prep-status{display:flex;flex-wrap:wrap;gap:16px 28px;border-block:1px solid var(--prep-border);padding:18px 0;margin-bottom:18px}.prep-status span{color:#526176}
.tax-prep .panel{box-shadow:none;margin-top:24px}.tax-prep td{padding-block:16px}.tax-prep td:nth-child(2){overflow-wrap:anywhere}
.prep-issues{border:1px solid #bd8b39;background:#fffaf0;padding:18px 24px;margin-block:24px}.prep-issues li{margin:10px 0;line-height:1.6}
.prep-details{padding:20px 24px}.prep-details summary{cursor:pointer;font-weight:600;min-height:32px}.prep-details p,.prep-details li{line-height:1.7;margin-top:12px}
.prep-editor{border:1px solid var(--prep-border);padding:24px;background:#fff;margin-block:24px}.prep-editor h3{margin-top:28px}.prep-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;margin-block:18px}
.prep-grid label{display:flex;flex-direction:column;gap:8px}.prep-editor input,.prep-editor select,.prep-editor textarea{width:100%;min-height:44px;border:1px solid #a9b5c6;border-radius:5px;padding:10px;font:inherit;background:white;color:#18263b}.prep-editor textarea{min-height:88px}
.prep-check{display:flex;align-items:flex-start;gap:10px;margin:20px 0;line-height:1.6}.prep-check input{width:20px;min-height:20px;margin-top:3px;flex-shrink:0}.prep-contract{border:1px solid var(--prep-border);padding:18px;margin-block:20px}.prep-contract legend{padding-inline:8px}
.tax-prep button,.tax-prep .button{min-height:44px}.tax-prep [role=alert]{color:#a62020}.tax-prep :focus-visible{outline:3px solid var(--prep-blue);outline-offset:3px}
.tax-prep a{color:#1d4eb1}.tax-prep [disabled]{cursor:not-allowed;opacity:.55}.tax-prep .report-note{line-height:1.7}
@media(max-width:700px){.prep-grid{grid-template-columns:1fr}.prep-editor,.prep-details,.prep-issues{padding:16px}.prep-status{flex-direction:column;gap:8px}.tax-prep .page-heading{flex-direction:column}.tax-prep .page-heading h1{font-size:24px}.tax-prep .table-scroll{max-width:100%;overflow-x:auto}}

@media(min-width:701px) and (max-width:1280px){.tax-prep .page-heading{flex-direction:column}.tax-prep .page-heading>.row{width:100%}}

/* Keep numeric comparisons readable; only the table scrolls on narrow screens. */
.levy-result table{min-width:650px}.levy-result th,.levy-result td{white-space:nowrap}.levy-result .table-scroll{max-width:100%;overflow-x:auto}
