/* 2026 year-end / OBBB toolkit: /w2-tips-overtime-2026/, /qualified-overtime-calculator/, /obbb-payroll-changes/.
   Builds on pay-2027.css and pay-audiences.css. Theme variables with light fallbacks, like the other pay-*.css files. */

/* Alerts and callouts */
.obbb-callout{border:1px solid var(--pay-color-warning-border,#9a622b);border-left-width:6px;background:var(--pay-color-warning-bg,#fff3e0);color:var(--pay-color-warning-text,#653a16);border-radius:7px;padding:20px 24px;margin:28px 0;overflow-wrap:anywhere}
.obbb-callout h2{margin:.15em 0 .45em;font:600 clamp(22px,2.6vw,28px)/1.25 Georgia,serif}
.obbb-callout .tech-eyebrow{color:inherit}
.obbb-callout a{color:inherit;font-weight:700}
.obbb-callout p:last-child{margin-bottom:0}
.obbb-inline{margin:14px 0;padding:12px 16px}
.tech-note .obbb-plain strong,.obbb-inline strong{font:inherit;font-weight:750}
.obbb-countdown{font-weight:750;padding:8px 12px;border-radius:6px;border:1px solid var(--pay-color-info-border,#3e789a);background:var(--pay-color-info-bg,#e9f1f7);color:var(--pay-color-info-text,#214f70)}
.obbb-countdown[hidden]{display:none}

/* Wide tables that become labeled cards on phones */
.obbb-stack caption,.obbb-w2 caption{text-align:left;padding-bottom:6px}
.obbb-stack .pay-ref-table{min-width:760px}
.obbb-stack tbody th{min-width:130px}
.obbb-log .pay-ref-table{min-width:0;font-size:14.5px}
.obbb-log thead th{white-space:normal}
.obbb-log tbody th{min-width:110px}
.obbb-log td:nth-child(2){min-width:90px}
.obbb-log td:last-child{min-width:120px}
.obbb-two{min-width:0}
.obbb-two tbody th{width:38%;overflow-wrap:normal;word-break:normal}

/* Fictional W-2 excerpt */
.obbb-facts{margin:10px 0 4px}
.obbb-w2{width:100%;border-collapse:collapse;margin:14px 0 8px;font-size:15px;border:2px solid var(--pay-color-text,#172d3c);background:var(--pay-color-surface,#fff)}
.obbb-w2 caption{font-size:14px;font-weight:650}
.obbb-w2 th,.obbb-w2 td{border:1px solid var(--pay-color-border,#b9c4c9);padding:9px 10px;text-align:left;vertical-align:top}
.obbb-w2 thead th{font-size:13px;letter-spacing:.04em;text-transform:uppercase}
.obbb-w2 tbody th{font-weight:650;width:36%}
.obbb-w2 .obbb-new th,.obbb-w2 .obbb-new td{background:var(--pay-color-info-bg,#e9f1f7)}
.obbb-box{display:inline-block;min-width:2.4em;box-sizing:border-box;margin-right:6px;padding:0 5px;border:1px solid var(--pay-color-text,#172d3c);border-radius:4px;font:700 12px/1.7 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;text-align:center}
.obbb-amt{font:600 16px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:nowrap}
.obbb-amt em{font-family:inherit;font-weight:500;font-size:14px;white-space:normal}
.obbb-amt.obbb-id{white-space:normal;min-width:9em}
.obbb-w2 th{overflow-wrap:normal;word-break:normal}
.obbb-blank{font:500 13px/1.4 system-ui,sans-serif;color:var(--pay-color-muted,#52626c)}
.obbb-tag{display:inline-block;margin-left:4px;padding:0 7px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;border:1px solid var(--pay-color-info-border,#3e789a);color:var(--pay-color-info-text,#214f70)}

/* Step list and employee questions */
.obbb-steps>li{scroll-margin-top:90px}
.obbb-steps h3{font-size:22px}
.obbb-qa{margin:12px 0;display:grid;grid-template-columns:minmax(180px,300px) minmax(0,1fr)}
.obbb-qa dt,.obbb-qa dd{margin:0;padding:11px 0;border-top:1px solid var(--pay-color-border,#d3dad8)}
.obbb-qa dt{font-weight:750;padding-right:18px}

/* Taxability matrix */
.obbb-yes,.obbb-no{display:inline-block;min-width:3em;margin-right:6px;padding:1px 8px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;text-align:center;border:1px solid}
.obbb-yes{border-color:var(--pay-color-success-border,#387951);background:var(--pay-color-success-bg,#edf5ef);color:var(--pay-color-success-text,#265d3c)}
.obbb-no{border-color:var(--pay-color-danger-border,#ad4a3f);background:var(--pay-color-danger-bg,#fff0ed);color:var(--pay-color-danger-text,#8d3029)}

/* Threshold tiles */
.obbb-pair{margin:28px 0}
.obbb-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}
.obbb-tile{margin:0;padding:12px 14px;border:1px solid var(--pay-color-border,#d3dad8);border-radius:8px;background:var(--pay-color-surface-2,#e9f0f3);color:var(--pay-color-text,#172d3c)}
.obbb-tile span{display:block;font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.obbb-tile strong{display:block;margin-top:4px;font:600 clamp(24px,2.4vw,30px)/1.2 Georgia,serif}

/* Printable checklist */
.obbb-checklist{list-style:none;padding:0;margin:14px 0}
.tech-card .obbb-checklist{padding-left:0}
.tech-card .obbb-checklist li+li{margin-top:0}
.obbb-checklist li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:4px 10px;padding:12px 0;border-top:1px solid var(--pay-color-border,#d3dad8);break-inside:avoid}
.obbb-checklist input{width:20px;height:20px;margin:3px 0 0;accent-color:var(--pay-color-accent,#935532);cursor:pointer}
.obbb-checklist label{cursor:pointer}
.obbb-checklist p{margin:4px 0 0;font-size:15px}
.obbb-when{display:inline-block;margin:0 6px 3px 0;padding:1px 8px;border-radius:4px;border:1px solid var(--pay-color-accent,#935532);font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap}
.obbb-print-foot{display:none}
#obbb-print[hidden]{display:none}

/* Calculator */
.qot-field{display:flex;flex-direction:column;gap:6px;max-width:360px;margin:6px 0 16px}
.qot-field label,.qot-paste label{font-weight:700;font-size:15px}
.qot-form input,.qot-form textarea{font:inherit;box-sizing:border-box;max-width:100%;padding:8px 10px;border-radius:6px;border:1px solid var(--pay-color-border,#8197a2);background:var(--pay-color-form-bg,#fff);color:var(--pay-color-text,#172d3c)}
.qot-form textarea{width:100%;max-width:560px;min-height:110px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px}
.qot-form input[aria-invalid="true"]{border:2px solid var(--pay-color-danger-border,#ad4a3f);background:var(--pay-color-danger-bg,#fff0ed)}
.qot-hint{margin:0;font-size:14px;color:var(--pay-color-muted,#52626c)}
.qot-weeks{border-collapse:collapse;margin:6px 0;font-size:15px;max-width:640px}
.qot-weeks th,.qot-weeks caption{overflow-wrap:normal;word-break:normal}
.qot-weeks caption{text-align:left;font-size:14px;color:var(--pay-color-muted,#52626c);padding-bottom:6px;caption-side:top}
.qot-weeks th,.qot-weeks td{padding:5px 8px 5px 0;text-align:left;vertical-align:middle}
.qot-weeks thead th{font-size:13px;letter-spacing:.03em;text-transform:uppercase;vertical-align:bottom}
.qot-weeks tbody th{font-weight:650;white-space:nowrap}
.qot-weeks input{width:7.5em}
.qot-opt{text-transform:none;letter-spacing:0;font-weight:500}
.qot-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.qot-remove{font:inherit;font-size:14px;padding:6px 10px;border-radius:6px;border:1px solid var(--pay-color-border,#8197a2);background:transparent;color:var(--pay-color-text,#172d3c);cursor:pointer}
.qot button{font:inherit;font-weight:650;cursor:pointer}
.qot button:disabled{opacity:.55;cursor:not-allowed}
.qot button:focus-visible,.qot input:focus-visible,.qot textarea:focus-visible,.qot summary:focus-visible,.obbb-checklist input:focus-visible{outline:3px solid var(--pay-color-focus,#b87942);outline-offset:2px}
.qot-paste{margin:14px 0;padding:10px 14px;border:1px solid var(--pay-color-border,#d3dad8);border-radius:7px}
.qot-paste summary{cursor:pointer;font-weight:700}
.qot-paste label{display:block;margin:10px 0 6px}
.qot-result{margin:20px 0 8px;padding:18px 20px;border-radius:8px;border:1px solid var(--pay-color-border,#d3dad8);border-left:6px solid var(--pay-color-accent,#935532);background:var(--pay-color-surface-2,#e9f0f3);color:var(--pay-color-text,#172d3c)}
.qot-label{margin:0;font-size:13px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.qot-total{margin:2px 0 6px;font:600 clamp(34px,4.6vw,48px)/1.15 Georgia,serif}
.qot-summary{margin:0}
.qot-result .aud-warning{margin:12px 0 0}
.qot-results-wrap[hidden],#qot-app[hidden]{display:none}
.qot-results{min-width:0;font-size:14px}
.qot-results thead th{white-space:normal;font-size:12px}
.qot-results th,.qot-results td,.obbb-stack thead th,.obbb-two th{overflow-wrap:normal;word-break:normal}
.qot-results tbody th{white-space:nowrap}
.qot-results td{white-space:nowrap}
.qot-results td:last-child{white-space:normal;min-width:200px}
.qot-results .qot-flag th,.qot-results .qot-flag td{background:var(--pay-color-warning-bg,#fff3e0);color:var(--pay-color-warning-text,#653a16)}
.qot-results .qot-total-row th,.qot-results .qot-total-row td{font-weight:750;border-top:2px solid var(--pay-color-text,#172d3c)}

@media(max-width:760px){
 .obbb-stack .pay-ref-table,.obbb-log .pay-ref-table{min-width:0}
 .obbb-stack .pay-ref-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 .obbb-stack .pay-ref-table tr,.obbb-stack .pay-ref-table th,.obbb-stack .pay-ref-table td{display:block;width:auto}
 .obbb-stack .pay-ref-table tr{border-top:2px solid var(--pay-color-accent,#935532);padding:6px 0 10px}
 .obbb-stack .pay-ref-table th,.obbb-stack .pay-ref-table td{border-bottom:0;padding:5px 0}
 .obbb-stack .pay-ref-table tbody th{font-size:1.08em;min-width:0}
 .obbb-stack .pay-ref-table td:before{content:attr(data-label);display:block;font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--pay-color-muted,#52626c)}
 .obbb-stack .pay-ref-wrap{overflow-x:visible}
 .obbb-log td:last-child{min-width:0}
 .obbb-qa{grid-template-columns:1fr}
 .obbb-qa dd{border-top:0;padding-top:0}
 .obbb-tiles{grid-template-columns:1fr}
 .obbb-w2 thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 .obbb-w2 tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;border-bottom:1px solid var(--pay-color-border,#b9c4c9)}
 .obbb-w2 tbody th,.obbb-w2 tbody td{display:block;border:0;width:auto;padding:8px 10px 2px}
 .obbb-w2 tbody td.obbb-amt{text-align:right}
 .obbb-w2 tbody td.obbb-amt.obbb-id{min-width:0;max-width:11em}
 .obbb-w2 tbody td:last-child{grid-column:1/-1;padding:2px 10px 10px;font-size:14px;color:var(--pay-color-muted,#52626c)}
 .obbb-w2 .obbb-new td:last-child{color:var(--pay-color-text,#172d3c)}
 .pay-ref-wrap:has(>.obbb-w2){overflow-x:visible}
 .obbb-two tbody th{width:42%}
 .qot-weeks-wrap{overflow-x:visible}
 .qot-weeks{width:100%}
 .qot-weeks thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 .qot-weeks tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 8px;padding:8px 0 10px;border-top:1px solid var(--pay-color-border,#d3dad8)}
 .qot-weeks tbody th{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;padding:0}
 .qot-weeks tbody td{display:block;padding:0;min-width:0}
 .qot-weeks tbody td[data-label]:before{content:attr(data-label);display:block;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--pay-color-muted,#52626c);margin-bottom:3px}
 .qot-weeks input{width:100%;padding:8px 7px}
 .qot-weeks tbody td:last-child{grid-column:1/-1;text-align:right}
 .qot-remove{padding:5px 10px;font-size:13px}
 .qot-results-wrap{overflow-x:visible}
 .qot-results thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 .qot-results tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 12px;padding:8px 0 10px;border-top:2px solid var(--pay-color-accent,#935532)}
 .qot-results tbody th,.qot-results tbody td{display:block;border:0;padding:3px 0;white-space:normal}
 .qot-results tbody th{grid-column:1/-1;font-size:1.05em}
 .qot-results tbody td:before{content:attr(data-label);display:block;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--pay-color-muted,#52626c)}
 .qot-results tbody td:last-child{grid-column:1/-1;min-width:0}
 .qot-results .qot-total-row th,.qot-results .qot-total-row td{border-top:0}
}

@media print{
 .pay-newsletter-signup,.obbb-noprint,.aud-actions,#qot-app button{display:none!important}
 .obbb-callout,.obbb-countdown{border-color:#777;background:#fff;color:#000}
 .obbb-checklist li{grid-template-columns:24px minmax(0,1fr)}
 .obbb-checklist input{appearance:none;-webkit-appearance:none;width:15px;height:15px;border:1.5px solid #000;border-radius:2px;margin-top:4px;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .obbb-checklist input:checked{background:#000}
 html.obbb-print-checklist main>*:not(#checklist){display:none!important}
 html.obbb-print-checklist #checklist{border:0;padding:0;margin:0}
 html.obbb-print-checklist .obbb-print-foot{display:block;font-size:11px;margin-top:14px}
 html.obbb-print-checklist .tech-header,html.obbb-print-checklist .tech-footer{display:none!important}
}
