/* New financial feature scoped to avoid disturbing existing BRO screens. */
.tax-shell{box-sizing:border-box;max-width:1520px;margin:auto;padding:30px 24px 90px;color:#1d334d}
body.bro-modern-shell>main.tax-shell{width:auto;max-width:none!important;margin-left:calc(var(--bro-sidebar,218px) + 20px)!important;margin-right:20px!important;padding:calc(var(--bro-topbar,68px) + 20px) 0 80px!important}
.tax-shell[hidden],.tax-restricted[hidden],.tax-notice[hidden]{display:none!important}
.tax-head,.tax-section-head{display:flex;justify-content:space-between;gap:18px;align-items:center}
.tax-head{padding:0 2px 17px}.tax-kicker{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#547da2;font-weight:850}
.tax-head h1{color:#173c63;font-size:27px;margin:3px 0 4px;line-height:1.18}.tax-head p,.tax-section-head p{color:#61758c;font-size:13px;line-height:1.45;margin:5px 0 0}
.tax-head-actions,.tax-week-tools,.tax-filter-row{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.tax-shell .btn,.tax-restricted .btn,.tax-editor .btn{white-space:nowrap;font-weight:800;text-decoration:none;padding:9px 13px;cursor:pointer}
.tax-notice{border:1px solid #bad2e8;border-radius:11px;background:#f3f8ff;color:#204e7f;padding:12px 15px;margin-bottom:14px;font-size:13px;font-weight:700}
.tax-notice.error{border-color:#f5c7c7;background:#fff3f3;color:#a12a2a}
.tax-source-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 16px;border:1px solid #d6e2ee;border-radius:12px;background:#f7fafc;color:#435d75;font-size:12.5px;line-height:1.5;margin-bottom:15px}
.tax-source-banner strong{color:#224c72}.tax-source-banner a{flex:none;color:#1765ad;font-weight:800}
.tax-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:17px}
.tax-summary article{padding:16px 14px;background:#fff;border:1px solid #dce6f0;border-radius:14px;min-width:0;box-shadow:0 3px 12px rgba(31,66,102,.04)}
.tax-summary span{display:block;font-size:12px;font-weight:800;color:#5b718a}.tax-summary b{display:block;font-size:25px;color:#173d60;line-height:1.35;margin:3px 0}.tax-summary small{display:block;font-size:11px;color:#7b8997;line-height:1.35}
.tax-panel{background:#fff;border:1px solid #dce6ef;border-radius:15px;padding:19px;margin:0 0 16px;box-shadow:0 3px 15px rgba(28,67,105,.035)}
.tax-section-head{margin-bottom:14px;align-items:flex-start}.tax-section-head h2{margin:2px 0;font-size:19px;color:#183c60;line-height:1.2}
.tax-week-tools label,.tax-filter-row label{font-size:11px;font-weight:800;color:#506783;display:flex;align-items:center;gap:6px}
.tax-shell input,.tax-shell select,.tax-editor input,.tax-editor select,.tax-editor textarea{border:1px solid #bfcedd;color:#213b55;border-radius:8px;padding:8px;background:#fff;font:inherit;min-width:0}
.tax-week-tools input{max-width:141px}.tax-icon-btn{border:1px solid #c9d8e8;color:#22537d;background:white;border-radius:8px;min-height:36px;min-width:36px;font-weight:800;cursor:pointer;font-size:17px}
.tax-icon-btn:hover{background:#edf5ff}
.tax-week-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tax-card{border:1px solid #dce6f0;border-radius:13px;padding:16px;min-width:0;background:#fff;display:flex;flex-direction:column;gap:11px}
.tax-card[data-state=late]{border-color:#e9a3a3;background:#fff8f7}.tax-card[data-state=submitted]{border-color:#f1d597;background:#fffdf5}.tax-card[data-state=posted]{border-color:#a9dbc8;background:#f8fffa}
.tax-card-top,.tax-card-footer{display:flex;justify-content:space-between;align-items:start;gap:10px;flex-wrap:wrap}
.tax-card-title{font-size:17px;font-weight:850;color:#183c60}.tax-card-portal{font-size:12px;color:#688096;margin-top:3px}.tax-pill{border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;background:#eaf1f8;color:#375879}
.tax-pill[data-state=late]{background:#fde7e7;color:#9b2e2e}.tax-pill[data-state=submitted]{background:#fff0cf;color:#785613}.tax-pill[data-state=posted]{background:#dff7eb;color:#1b6b49}.tax-pill[data-state=needs]{background:#e8eefc;color:#355ea0}.tax-pill[data-state=today]{background:#ffecd4;color:#8d5515}
.tax-card-amount{font-size:26px;font-weight:900;color:#153a60}.tax-card-amount small{display:block;color:#698097;font-size:11px;font-weight:700;line-height:1.3}
.tax-card-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;font-size:12px}.tax-card-fields dt{color:#6c8297;font-size:11px;font-weight:650;margin-bottom:2px}.tax-card-fields dd{font-weight:800;margin:0;color:#2c4763;overflow-wrap:anywhere}
.tax-card-footer{align-items:center;border-top:1px solid #eaf0f5;padding-top:12px}.tax-card-footer a{font-size:12px;color:#185e9f;font-weight:800}.tax-card-footer .btn{font-size:12px}
.tax-muted,.tax-legend,.tax-result-count,.tax-footer{color:#6e8091;font-size:12px;line-height:1.5}.tax-legend{margin-top:13px}
.tax-settings{padding:0}.tax-settings>summary{padding:16px 19px;cursor:pointer;font-size:15px;font-weight:850;color:#1b4469;list-style:revert}.tax-settings>summary span{font-weight:550;margin-left:10px}
.tax-settings-body{padding:2px 19px 20px}.tax-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.tax-form-grid label{display:flex;flex-direction:column;gap:5px;color:#405f7e;font-size:12px;font-weight:780}
.tax-form-grid .tax-check-row{flex-direction:row;align-items:center;grid-column:1/-1}.tax-check-row input{width:17px;height:17px}
.tax-settings-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}.tax-settings-actions p{font-size:12px;color:#66798e;flex:1 1 290px;margin:0;line-height:1.4}
.tax-table-scroll{overflow-x:auto}.tax-history{width:100%;border-collapse:collapse;font-size:12.5px;min-width:800px}.tax-history th{color:#597089;text-align:left;font-weight:800;font-size:11px;background:#f5f8fb;white-space:nowrap;padding:11px 9px;border-bottom:1px solid #d9e4ed}
.tax-history td{padding:12px 9px;border-bottom:1px solid #edf1f5;color:#25435f;vertical-align:middle}.tax-history tr:last-child td{border-bottom:0}.tax-history td:nth-child(3),.tax-history td:nth-child(6){font-variant-numeric:tabular-nums;font-weight:750}.tax-history td button{font-size:11px;white-space:nowrap}.tax-history tr:hover td{background:#f9fbff}
.tax-history .tax-empty{text-align:center;color:#698195;padding:26px}.tax-subline{display:block;font-size:10.5px;color:#708296;font-weight:500;margin-top:3px}
.tax-filter-row select{max-width:160px}.tax-result-count{text-align:right;margin:12px 0 0}
.tax-restricted{margin:14vh auto;max-width:520px;background:#fff;border:1px solid #dce3ec;border-radius:16px;padding:30px}.tax-restricted h1{font-size:23px;color:#204b75}.tax-restricted p{color:#5e748b}
.tax-editor{border:0;border-radius:16px;box-shadow:0 18px 70px rgba(22,43,74,.24);width:min(700px,calc(100vw - 24px));max-height:92vh;padding:0;overflow:hidden;color:#264766}
.tax-editor::backdrop{background:rgba(15,35,56,.48)}.tax-editor form{display:flex;flex-direction:column;max-height:92vh}
.tax-dialog-head{padding:18px 20px;border-bottom:1px solid #e0e8ee;display:flex;align-items:start;justify-content:space-between;gap:12px;flex:none}.tax-dialog-head h2{font-size:21px;color:#173f64;margin:4px 0}.tax-dialog-head p{font-size:12px;color:#718398;margin:0}
.tax-dialog-body{padding:20px;overflow-y:auto;min-height:0}.tax-editor .tax-form-grid label{font-size:12px}.tax-editor textarea{resize:vertical;width:100%}.tax-full{grid-column:1/-1}
.tax-status-hint{color:#687d91;font-size:12px;margin:12px 0 0}.tax-form-error{padding:10px;border:1px solid #eab9b9;background:#fff2f2;color:#a22b2b;border-radius:9px;font-size:13px;margin-top:12px}
.tax-form-error[hidden]{display:none}.tax-dialog-actions{display:flex;justify-content:flex-end;gap:8px;padding:12px 20px;background:#fff;border-top:1px solid #dce5ee;flex:none;position:sticky;bottom:0}
.tax-shell button:disabled,.tax-editor button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:1180px){.tax-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.tax-week-grid{grid-template-columns:1fr}.tax-section-head{flex-direction:column;gap:12px}.tax-week-tools{width:100%}}
@media(max-width:760px){.tax-shell,body.bro-modern-shell>main.tax-shell{margin:0!important;width:100%!important;padding:80px 12px 94px!important}.tax-head{align-items:start}.tax-head h1{font-size:24px}.tax-head,.tax-source-banner{flex-direction:column;align-items:start}.tax-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tax-summary article{padding:11px}.tax-summary b{font-size:21px}.tax-panel{padding:14px}.tax-card{padding:13px}.tax-week-tools{gap:6px}.tax-week-tools label{flex:1}.tax-week-tools input{max-width:150px}.tax-week-tools #taxPrepareWeek{flex:1}.tax-form-grid{grid-template-columns:1fr}.tax-editor .tax-dialog-body{padding:14px}.tax-dialog-head{padding:14px}.tax-settings>summary{padding:14px}.tax-settings-body{padding:0 14px 15px}}
@media(max-width:400px){.tax-card-fields{grid-template-columns:1fr 1fr}.tax-filter-row{gap:5px}.tax-filter-row label{font-size:10px}.tax-head-actions{width:100%}}

/* EFTPS calculator: component totals with explicit QB check reconciliation. */
.tax-eftps-section{display:flex;flex-direction:column;gap:11px;border:1px solid #cadbea;border-radius:12px;background:#f7fbff;padding:15px;margin-top:2px}
.tax-eftps-section[hidden]{display:none!important}
.tax-eftps-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.tax-eftps-heading h3{margin:0 0 4px;color:#1c486c;font-size:17px}
.tax-eftps-heading p{margin:0;color:#5d7790;font-size:11px;line-height:1.45}
.tax-eftps-heading a{font-size:11px;white-space:nowrap;color:#1765a6;font-weight:800}
.tax-eftps-match{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:9px!important;background:white;border:1px solid #dbe7f2;border-radius:9px;padding:11px}
.tax-eftps-match input{width:18px;height:18px;margin:1px 0 0;flex:none}
.tax-eftps-match strong,.tax-eftps-match small{display:block}
.tax-eftps-match small{font-size:11px;color:#6b8197;font-weight:500;line-height:1.45;margin-top:3px}
.tax-eftps-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.tax-eftps-inputs label{display:flex;flex-direction:column;gap:5px;font-size:11.5px;color:#3c5b7a;font-weight:800}
.tax-eftps-inputs input:disabled{color:#4d6580;background:#edf2f8;opacity:.9}
.tax-eftps-results{border:1px solid #d8e4ee;border-radius:10px;background:white;overflow:hidden}
.tax-eftps-figure{display:flex;align-items:center;justify-content:space-between;gap:11px;padding:8px 11px;border-bottom:1px solid #edf2f7}
.tax-eftps-figure:last-child{border-bottom:0}
.tax-eftps-figure span{font-size:12px;font-weight:800;color:#315675}
.tax-eftps-figure .tax-number{display:flex;gap:7px;align-items:center}
.tax-eftps-figure b{font-size:17px;color:#163e60;font-variant-numeric:tabular-nums}
.tax-eftps-figure.total{background:#e8f3ff}.tax-eftps-figure.total b{font-size:22px}
.tax-eftps-figure button{border:1px solid #c7dbea;border-radius:6px;background:white;padding:4px 7px;color:#245c8a;font-size:11px;cursor:pointer}
.tax-eftps-reconciliation{padding:10px 11px;border-radius:8px;font-size:12px;font-weight:800;background:#fff6e8;color:#76501f}
.tax-eftps-reconciliation[data-state=matched]{background:#e8f7ee;color:#206947}
.tax-eftps-reconciliation[data-state=mismatch]{background:#ffeded;color:#a52a30}
.tax-eftps-help,.tax-field-help{font-size:11px!important;font-weight:500;color:#657c92;line-height:1.4}.tax-eftps-help{margin:0}
.tax-card-eftps{background:#f6faff;border:1px solid #d8e6f2;padding:9px 12px;border-radius:9px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.tax-card-eftps div{font-size:10px;color:#5b7690}
.tax-card-eftps b{display:block;font-size:14px;color:#214b74;white-space:nowrap;font-variant-numeric:tabular-nums}
.tax-card-eftps button{border:0;padding:0;background:transparent;color:#1865a5;text-decoration:underline;font-size:10px;cursor:pointer}
.tax-card-reconcile{font-size:11px;font-weight:800;color:#8b5515}
.tax-card-reconcile.matched{color:#267447}.tax-card-reconcile.mismatch{color:#a62b33}
@media(max-width:760px){.tax-eftps-inputs{grid-template-columns:1fr}.tax-card-eftps{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* QuickBooks check # / POL reference is separate from portal confirmation. */
.tax-card-references{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;font-size:12px;padding:9px 10px;border:1px solid #dbe8f3;background:#f8fbff;border-radius:8px}
.tax-card-references span{display:block;color:#647e98;font-size:10.5px;font-weight:700}
.tax-card-references strong{display:block;margin-top:2px;color:#173e60;font-size:12.5px;overflow-wrap:anywhere}
.tax-check-reference,.tax-confirm-reference{overflow-wrap:anywhere;max-width:190px;font-weight:750}
.tax-history{min-width:960px}
@media(max-width:450px){.tax-card-references{grid-template-columns:1fr}}

/* Bauer's Thursday-Wednesday payroll period and following-Wednesday tax-payment routine. */
.tax-week-routine{font-size:11.5px;color:#55738d;line-height:1.45;margin:5px 0 0;max-width:760px}
.tax-card-period{font-size:11.5px;color:#456b87;font-weight:700;margin:2px 0 8px}
.tax-schedule-guide{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;background:#f8fafc;border:1px solid #dfe7f0;border-radius:9px}
.tax-schedule-guide>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.tax-schedule-guide strong{color:#2e5578;font-size:12px}
.tax-schedule-guide small{font-size:11px;line-height:1.4;color:#526f88;font-weight:500}
.tax-schedule-guide .btn{white-space:nowrap;flex:none}
@media(max-width:480px){.tax-schedule-guide{align-items:stretch;flex-direction:column}.tax-schedule-guide .btn{width:100%}}

/* Payroll Summary CSV / Excel import: read-only preview until an explicit saved payment. */
.tax-qb-import .tax-settings-body{display:block}
.tax-import-guidance{font-size:12px;color:#47637b;line-height:1.65;margin:6px 0 14px}
.tax-import-guidance a{color:#145d98;font-weight:750}
.tax-qb-import-bar{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:12px 0}
.tax-qb-import-bar label{font-size:12px;font-weight:800;color:#385a79;display:flex;flex-direction:column;gap:5px;flex:1 1 240px}
.tax-qb-import-bar input{max-width:100%;min-height:39px}
.tax-qb-import-bar .btn{flex:none}
.tax-import-column-row{align-items:center}
.tax-import-column-row label{max-width:390px}
.tax-import-column-row p{flex:1 1 240px}
.tax-import-message{padding:10px 12px;border:1px solid #b6d4e8;background:#eef7ff;border-radius:8px;color:#235478;font-size:12px;font-weight:700;line-height:1.5}
.tax-import-message.error{background:#fff1f1;border-color:#eab9b9;color:#a22b2b}
.tax-import-message[hidden],#taxImportPreview[hidden]{display:none!important}
.tax-import-table{width:100%;border-collapse:collapse;font-size:12px;margin:10px 0 8px;min-width:520px}
.tax-import-table th,.tax-import-table td{padding:9px;border-bottom:1px solid #e0e8f0;text-align:left}
.tax-import-table thead th{background:#f5f8fb;color:#57718a}
.tax-import-table tbody th{color:#355673;font-weight:800;width:36%}
.tax-import-table select{font-size:12px;width:100%;padding:8px}
.tax-import-check{display:flex;align-items:flex-start;gap:8px;margin:12px 0;font-size:12px;color:#435e78;line-height:1.45}
.tax-import-check input{width:17px;height:17px;min-width:17px;margin:1px 0 0}
.tax-import-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:13px 0}
.tax-import-results div{border:1px solid #d2e3ee;padding:12px;background:#f7fbfe;border-radius:10px;font-size:12px;color:#4c6882}
.tax-import-results b{display:block;font-size:21px;color:#184b74;font-variant-numeric:tabular-nums;margin-top:3px}
.tax-import-warnings{font-size:12px;color:#7c572c;line-height:1.55;margin:8px 0;padding-left:20px}
.tax-import-date-confirm{padding:12px;background:#f4f7fb;border:1px solid #d8e4ef;border-radius:9px;color:#234968;font-weight:700}
.tax-qb-import button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:640px){.tax-qb-import-bar{flex-direction:column;align-items:stretch}.tax-qb-import-bar label{flex:auto}.tax-qb-import-bar .btn{width:100%}.tax-import-results{grid-template-columns:1fr}.tax-import-table{min-width:480px}}

/* Payroll QB v70 read-only diagnostic request UI, scoped to payroll page. */
.tax-qb-readback[hidden],.tax-qb-readback-diagnostics[hidden]{display:none!important}
.tax-qb-readback{padding:14px 16px;margin:0 0 16px;border:1px solid #c9d9e8;border-radius:13px;background:#fff;box-shadow:0 3px 13px rgba(32,69,100,.04)}
.tax-qb-readback-top{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap}
.tax-qb-readback-top>div:first-child{flex:1 1 370px;min-width:0}
.tax-qb-readback h2{font-size:16px;line-height:1.25;margin:0 0 4px;color:#174772}
.tax-qb-readback p{font-size:12px;line-height:1.5;color:#4b667e;margin:0}
.tax-qb-readback-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.tax-qb-readback-actions .btn{font-size:12px}
.tax-qb-readback-status{margin:10px 0 0!important;padding:9px 11px;background:#f0f5fa;border:1px solid #d6e3ef;border-radius:8px;font-weight:700;color:#274d71!important}
.tax-qb-readback-status.error{background:#fff1f1;border-color:#e4baba;color:#a12222!important}
.tax-qb-readback-diagnostics{margin:9px 0 0;padding:9px 11px;background:#f9fbfe;border:1px solid #e0e8ee;border-radius:8px;font-size:11px;line-height:1.7;color:#34536e;overflow-wrap:anywhere}
.tax-qb-readback-help{margin:8px 0 0!important;font-size:11px!important;color:#5c7287!important}
@media(max-width:760px){.tax-qb-readback-actions{width:100%}.tax-qb-readback-actions .btn{flex:1 1 170px;white-space:normal!important}}

/* Payroll readback review and explicit dual-payment approval. */
.tax-qb-approval[hidden],.tax-qb-approval-form[hidden],#taxQbApprovalForm[hidden]{display:none!important}
.tax-qb-approval{margin:13px 0 0;border:1px solid #d2dfe9;border-radius:10px;background:#fbfdff;padding:15px}
.tax-qb-approval h3{font-size:15px;color:#18436b;margin:0 0 5px}
.tax-qb-approval .tax-qb-approval-subtitle{font-size:12px;line-height:1.55;color:#486279;margin:0 0 12px}
.tax-qb-approval-lines{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:11px 0}
.tax-qb-approval-line{border:1px solid #dce6ee;background:white;border-radius:8px;padding:9px 10px;min-width:0}
.tax-qb-approval-line span{font-size:11px;font-weight:750;color:#57718a;display:block}
.tax-qb-approval-line strong{font-size:17px;font-variant-numeric:tabular-nums;color:#123f69;display:block;margin-top:4px}
.tax-qb-approval-line.total{border-color:#c4d6e6;background:#f1f6fc}
.tax-qb-approval-state{padding:8px 11px;background:#eef5fc;border:1px solid #d6e4f0;border-radius:8px;color:#245377!important;margin:9px 0!important;font-size:12px!important}
.tax-qb-approval-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:12px 0}
.tax-qb-approval-inputs label{font-size:12px;font-weight:750;color:#2e5275;display:flex;flex-direction:column;gap:6px}
.tax-qb-approval-attest{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.5;color:#395c79;margin:8px 0 10px;cursor:pointer}
.tax-qb-approval-attest input{flex:none;width:18px;height:18px;margin-top:1px}
.tax-qb-approval-validation{font-size:12px!important;margin:7px 0!important;color:#805a1a!important}
.tax-qb-approval-validation.ready{color:#126441!important}
.tax-qb-approval .tax-qb-approval-note{font-size:11px!important;margin:9px 0 0!important;color:#5c7289!important}
@media(max-width:920px){.tax-qb-approval-lines{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.tax-qb-approval-lines,.tax-qb-approval-inputs{grid-template-columns:1fr}.tax-qb-approval{padding:11px}}

/* BRO payroll — simplified step-by-step layout, Nov 2026. */
.tax-date-select{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 18px;margin-bottom:12px}
.tax-step-head{display:flex;align-items:center;gap:12px;min-width:0}
.tax-step-head>div{min-width:0}
.tax-step-number{width:32px;height:32px;display:flex;align-items:center;justify-content:center;flex:none;border-radius:50%;background:#e7f0fa;color:#1c4e7a;font-weight:900;font-size:15px}
.tax-step-head h2{font-size:17px;line-height:1.25;margin:0;color:#173f64}
.tax-step-head p{color:#647d94;margin:4px 0 0;font-size:12px;line-height:1.4}
.tax-date-select .tax-week-tools{margin-left:auto}
.tax-date-select .tax-week-tools label{font-size:12px}
.tax-date-select .tax-week-tools input{font-size:14px;font-weight:750;max-width:156px}
.tax-qb-readback{padding:17px 19px;background:white;border:1px solid #cadbe9}
.tax-qb-readback .tax-qb-readback-top>div:first-child{flex:1 1 320px}
.tax-qb-readback .tax-qb-readback-top{align-items:center}
.tax-qb-readback .tax-step-head{display:flex;align-items:center}
.tax-qb-readback .tax-step-head h2{font-size:17px}
.tax-qb-readback .tax-step-head p{margin:4px 0 0}
.tax-qb-readback-status{background:#f2f7fc!important;padding:11px 13px!important;font-size:12.5px!important;border-radius:9px!important;margin-top:14px!important}
.tax-qb-approval{background:#fff;border:0;border-top:1px solid #dde7f0;border-radius:0;margin-top:14px;padding:16px 0 0}
.tax-qb-approval h3{font-size:17px;margin:0 0 4px}
.tax-qb-approval .tax-qb-approval-subtitle{margin:0 0 13px;font-size:12px}
.tax-qb-approval-lines{display:block;margin:0}
.tax-review-columns{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(240px,1fr);gap:14px}
.tax-review-group{background:#fff;border:1px solid #d7e4ee;border-radius:12px;overflow:hidden;min-width:0}
.tax-review-group h4{padding:12px 15px;margin:0;font-size:14px;background:#f5f9fd;color:#204a70;border-bottom:1px solid #e0e8f0;display:flex;justify-content:space-between;gap:8px}
.tax-review-group h4 span{font-size:11px;color:#557896;font-weight:700}
.tax-review-group table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.tax-review-group th,.tax-review-group td{padding:11px 15px;border-bottom:1px solid #eff2f6;font-size:13px;line-height:1.3}
.tax-review-group th{text-align:left;font-weight:650;color:#415c75}
.tax-review-group td{text-align:right;font-weight:850;color:#153b60;white-space:nowrap;font-size:15px}
.tax-review-group tr:last-child th,.tax-review-group tr:last-child td{border-bottom:0}
.tax-review-group .tax-review-total th,.tax-review-group .tax-review-total td{background:#eaf3fd;color:#173f67;font-weight:900;font-size:15px}
.tax-review-group .tax-review-total td{font-size:21px}
.tax-review-hint{padding:14px;color:#61788e!important;font-size:12px!important;line-height:1.5!important}
.tax-review-grand-total{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#e9f2fd;border:1px solid #c9ddf2;border-radius:10px;margin-top:13px;padding:12px 15px}
.tax-review-grand-total span{color:#294f73;font-size:13px;font-weight:800}
.tax-review-grand-total strong{font-size:23px;color:#153e64;font-variant-numeric:tabular-nums}
.tax-qb-approval-state{margin:13px 0!important;font-size:12px!important}
.tax-confirm-heading{margin:15px 0 0}
.tax-confirm-heading h4{font-size:15px;color:#224a70;margin:0 0 3px}
.tax-confirm-heading p{font-size:12px!important;line-height:1.5!important}
.tax-qb-approval-inputs label{font-size:12.5px}
.tax-qb-approval-inputs input{font-size:16px;min-height:44px}
.tax-qb-approval-attest{font-size:12.5px;line-height:1.6}
.tax-qb-readback-help,.tax-qb-readback-diagnostics{display:block;border-top:1px solid #e7ecf2;margin-top:13px!important;padding:11px 0 0!important;background:transparent!important}
.tax-qb-readback-help summary,.tax-qb-readback-diagnostics summary{cursor:pointer;color:#355d7c;font-size:12px;font-weight:750}
.tax-qb-readback-help p{margin-top:9px!important}
.tax-qb-readback-diagnostics div{line-height:1.7;margin-top:8px;color:#667c90;font-size:11px}
.tax-qb-readback-diagnostics[hidden]{display:none!important}
.tax-overview-toggle,.tax-history-toggle{padding:0}
.tax-overview-toggle>summary,.tax-history-toggle>summary{font-size:14px;color:#254d70;font-weight:850;cursor:pointer;padding:15px 18px}
.tax-overview-inside,.tax-history-inside{padding:2px 18px 18px}
.tax-overview-inside .tax-summary{margin-bottom:0}
.tax-week-schedule{margin:0 0 12px}
.tax-week-schedule summary{color:#557690;font-size:12px;cursor:pointer;font-weight:700}
.tax-week-schedule .tax-week-routine{padding:8px 0}
.tax-payment-checklist .tax-section-head{margin-bottom:10px}
.tax-payment-checklist .tax-step-head p{font-size:12px}
.tax-qb-approval #taxQbApprove{min-height:43px;font-size:13px}
@media(max-width:1050px){.tax-date-select{align-items:flex-start}.tax-date-select .tax-week-tools{margin-left:0;width:100%}}
@media(max-width:780px){.tax-review-columns{grid-template-columns:1fr}.tax-date-select .tax-week-tools .btn{flex:1 1 auto}.tax-review-grand-total strong{font-size:21px}}
@media(max-width:520px){.tax-qb-readback{padding:14px}.tax-review-group td{font-size:14px}.tax-review-group th{font-size:12px}.tax-review-group th,.tax-review-group td{padding:10px}.tax-review-grand-total{align-items:flex-start}.tax-review-grand-total strong{font-size:20px}.tax-week-tools input{max-width:none}.tax-qb-readback-actions .btn{flex:1 1 100%;font-size:12px}.tax-qb-approval-inputs{grid-template-columns:1fr}}

/* BRO QuickBooks tax review: one-action approval; separate report not required. */
.tax-qb-approval-explanation{font-size:13px!important;line-height:1.6!important;color:#3e5e78!important;margin:14px 0 10px!important}
.tax-qb-approval #taxQbApprove{font-size:15px;min-height:48px;padding:12px 20px}
.tax-qb-approval-validation.ready{color:#236649!important}


/* BRO Payroll — calmer weekly workflow and EFTPS order; scoped only to this page. */
.tax-shell{max-width:1160px}
body.bro-modern-shell>main.tax-shell{max-width:1160px!important;margin-left:calc(var(--bro-sidebar,218px) + 22px)!important;margin-right:auto!important;padding-right:18px!important}
.tax-head{padding:0 0 9px}
.tax-head h1{font-size:25px;letter-spacing:-.02em}
.tax-head p{font-size:13px}
.tax-simple-note{margin:0 0 16px;color:#5a7287;font-size:12px;line-height:1.5}
.tax-simple-note strong{font-weight:750;color:#385e7f}
.tax-date-select{padding:15px 18px;gap:12px}
.tax-step-number{width:30px;height:30px;font-size:13px}
.tax-step-head h2{font-size:17px}
.tax-step-head p{font-size:12px}
.tax-date-select .tax-week-tools{gap:7px}
#taxPrepareWeek:disabled{display:none}
.tax-qb-readback{padding:16px 18px}
.tax-qb-readback-actions{align-items:center}
.tax-qb-readback-actions .btn{font-weight:750}
.tax-qb-readback-status{margin:9px 0 0!important;padding:8px 11px!important;color:#456783!important;font-weight:650;font-size:12px!important}
.tax-qb-approval{margin-top:9px;padding:13px 0 0}
.tax-qb-approval h3{font-size:16px}
.tax-qb-approval-subtitle{margin-bottom:11px!important}
.tax-review-columns{grid-template-columns:minmax(0,1.4fr) minmax(220px,.8fr);gap:12px}
.tax-review-group{border-color:#dbe6ee;background:#fff}
.tax-review-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f4f8fb;border-bottom:1px solid #dbe6ee;padding:12px 14px}
.tax-review-heading span{font-size:13px;color:#335d7b;font-weight:800}
.tax-review-heading strong{font-size:23px;color:#153e60;font-variant-numeric:tabular-nums}
.tax-review-entry{display:flex;justify-content:space-between;align-items:center;padding:11px 14px;border-bottom:1px solid #eef2f6;gap:10px}
.tax-review-entry:last-child{border-bottom:0}
.tax-review-entry strong{display:block;font-size:13px;color:#1f476b}
.tax-review-entry small{display:block;color:#74879a;font-size:11px;margin-top:3px}
.tax-review-entry b{color:#173f65;font-size:16px;white-space:nowrap;font-variant-numeric:tabular-nums}
.tax-review-sc-hint{padding:16px 14px 8px;font-size:12px!important}
.tax-review-combined{padding:10px 14px 14px;font-size:12px!important;line-height:1.6!important}
.tax-review-combined b{color:#173f65}
.tax-review-raw{margin-top:10px}
.tax-review-raw>summary,.tax-fine-print summary{font-size:12px;color:#385e7d;font-weight:700;cursor:pointer}
.tax-review-raw table{font-size:12px;width:100%;margin-top:9px;border-collapse:collapse}
.tax-review-raw th,.tax-review-raw td{border-bottom:1px solid #edf1f5;padding:8px 10px}
.tax-review-raw th{text-align:left;color:#546d84;font-weight:600}
.tax-review-raw td{text-align:right;font-weight:800;font-variant-numeric:tabular-nums;color:#214d70}
.tax-qb-approval-state{margin:10px 0!important;padding:7px 10px;font-size:12px!important}
.tax-qb-approval-explanation{margin:12px 0 7px!important;font-size:12px!important}
.tax-qb-approval-validation{margin:4px 0 8px!important}
.tax-qb-approval #taxQbApprove{font-size:15px;min-height:44px}
.tax-fine-print{margin:10px 0 0}
.tax-fine-print p{margin:7px 0 0!important;font-size:11px!important}
.tax-payment-checklist{padding:16px 18px}
.tax-week-grid{gap:13px}
.tax-card{gap:9px;padding:17px;border-color:#dce6ef}
.tax-card-title{font-size:18px}
.tax-card-portal{font-size:12px}
.tax-card-amount{font-size:29px;line-height:1.2}
.tax-card-amount small{margin-top:3px;font-size:11px}
.tax-card-keyline{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #eef2f6;padding:9px 0;color:#5e7790;font-size:12px}
.tax-card-keyline strong{color:#2c4b69;font-size:13px}
.tax-card-eftps{padding:7px 11px;border:1px solid #e0eaf3;border-radius:10px;background:#f7fafc;display:block}
.tax-card-eftps-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:7px 0;font-size:12px;color:#345977;border-bottom:1px solid #e8eef3}
.tax-card-eftps-line:last-child{border-bottom:0}
.tax-card-eftps-line strong{font-size:14px;color:#173f60;font-variant-numeric:tabular-nums}
.tax-card-eftps-line button{border:1px solid #c9dceb;background:#fff;border-radius:6px;padding:4px 7px;cursor:pointer;font-size:11px;font-weight:700;color:#315a7c}
.tax-card-alert{font-size:12px;color:#a12f29;background:#fff0ed;border:1px solid #efd4cb;border-radius:8px;padding:9px}
.tax-card-footer{padding-top:11px;justify-content:flex-start;align-items:center;gap:9px}
.tax-card-footer .btn{min-height:38px;font-size:12px}
.tax-card-footer a{margin-right:auto;font-size:12px}
.tax-card-footer .tax-secondary-action{background:#f0f4f7;color:#2c526f}
.tax-card-more{border-top:1px solid #edf1f5;padding-top:7px;color:#4f6c83;font-size:12px}
.tax-card-more summary{font-size:11px;color:#52748f;font-weight:650;cursor:pointer}
.tax-card-more p{margin:7px 0;color:#4e6b83;font-size:11.5px}
.tax-use-qb-prompt{border:0;background:transparent;color:#216aa7;padding:2px 0;text-align:left;text-decoration:underline;font-size:12px;font-weight:750;cursor:pointer}
.tax-simple-legend{margin:10px 0 0;color:#74879a;font-size:11.5px;line-height:1.5}
.tax-utility-toggle{padding:0}
.tax-utility-toggle>summary{padding:14px 18px;font-size:13px;color:#385f7c;font-weight:750;cursor:pointer}
.tax-utility-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:0 18px 16px;font-size:12px}
.tax-utility-actions a{font-weight:700;color:#286496}
.tax-overview-toggle>summary,.tax-history-toggle>summary{font-size:13px;font-weight:750}
.tax-eftps-section{gap:10px;padding:15px;background:#f8fbff}
.tax-eftps-heading h3{font-size:17px}
.tax-eftps-heading p{font-size:12px}
.tax-eftps-figure{padding:10px 12px}
.tax-eftps-figure span{font-size:13px;font-weight:750}
.tax-eftps-figure b{font-size:20px}
.tax-eftps-figure.total{background:#e8f2fc}
.tax-eftps-figure.total b{font-size:23px}
.tax-eftps-reconciliation{font-size:12px;line-height:1.5}
.tax-editor{width:min(660px,calc(100vw - 20px))}
.tax-dialog-body{padding:17px 20px 22px}
.tax-record-layout{display:flex;flex-direction:column;gap:17px}
.tax-record-main-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 15px}
.tax-record-main-fields label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#405e7d;font-weight:750}
.tax-record-main-fields input,.tax-record-main-fields select{min-height:40px}
.tax-record-main-fields .tax-record-wide{grid-column:1/-1}
.tax-record-payment-section{border-top:1px solid #e3eaf1;padding-top:15px}
.tax-record-payment-section h3{font-size:16px;color:#1a496e;margin:0 0 3px}
.tax-record-payment-section>p{margin:0 0 11px;font-size:11.5px;color:#71869a}
.tax-editor-more{border:1px solid #dde8f1;border-radius:9px;background:#fff;overflow:hidden}
.tax-editor-more>summary{padding:11px 12px;cursor:pointer;font-size:12.5px;font-weight:750;color:#2d5576}
.tax-editor-more>summary span{font-weight:500;color:#788ea1;font-size:11px}
.tax-editor-more>.tax-eftps-match,.tax-editor-more>.tax-eftps-inputs,.tax-editor-more>.tax-eftps-help,.tax-editor-more>.tax-record-main-fields{margin:0 12px 12px}
.tax-editor-more .tax-eftps-match{margin-top:2px}
.tax-record-main-fields .tax-schedule-guide{grid-column:1/-1}
.tax-record-main-fields textarea{max-width:100%;box-sizing:border-box}
.tax-dialog-actions{padding:12px 20px}
@media(max-width:1080px){body.bro-modern-shell>main.tax-shell{margin-right:14px!important}}
@media(max-width:820px){.tax-review-columns{grid-template-columns:1fr}.tax-review-sc-hint{padding:10px 14px}.tax-card-eftps-line{grid-template-columns:1fr auto auto}.tax-week-grid{grid-template-columns:1fr}}
@media(max-width:600px){.tax-date-select .tax-week-tools{gap:7px}.tax-record-main-fields{grid-template-columns:1fr}.tax-editor{width:calc(100vw - 14px);max-height:94vh}.tax-editor form{max-height:94vh}.tax-dialog-body{padding:13px}.tax-eftps-heading{flex-wrap:wrap}.tax-review-heading strong{font-size:20px}.tax-eftps-figure b{font-size:17px}.tax-card-eftps-line{grid-template-columns:minmax(0,1fr) auto auto;gap:5px}.tax-card-eftps-line strong{font-size:13px}}

.tax-review-disclosure>summary{padding:5px 2px 9px;color:#486b89;font-size:12px;font-weight:750;cursor:pointer}
.tax-review-disclosure:not([open]){border:1px solid #e0e8f0;border-radius:9px;margin:10px 0;background:#f8fbfe;padding:6px 10px}
.tax-review-disclosure:not([open])>summary{padding:6px 2px;font-size:12px}
/* Preserve BRO's mobile shell layout: no sidebar offset on narrow screens. */
@media(max-width:760px){
  body.bro-modern-shell>main.tax-shell{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding:80px 12px 94px!important;
  }
}
