/* Shared classic builders: readable forms and a full-size worksheet viewer. */
.classic-workspace .classic-builder-hero{padding:25px 29px;gap:30px;margin-bottom:22px}
.classic-workspace .classic-builder-hero h1{font-size:38px!important;margin:8px 0 12px!important}
.classic-workspace .classic-builder-hero .eyebrow{font-size:12px;letter-spacing:1.1px;color:#356d8f}
.classic-workspace .classic-builder-hero p{line-height:1.65;max-width:650px}
.classic-workspace .classic-builder-tags{font-size:12px;margin-top:14px;gap:8px 16px;color:#416b85}
.classic-workspace .classic-builder-hero aside{padding:16px 19px;gap:5px}
.classic-workspace .classic-builder-hero aside>p,.classic-workspace .classic-builder-hero aside>span:last-child{font-size:13px!important;color:#446c85}
.classic-workspace .classic-builder-icon{width:29px;height:29px;top:13px;right:13px}
.classic-workspace .classic-status{margin:16px 0 20px!important;padding:12px 16px;line-height:1.6}
.regular-view-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 8px}
.regular-view-bar .classic-mobile-tabs{margin:0;flex:1;max-width:560px}
.regular-view-bar .classic-mobile-tabs button{font-size:15px;min-height:46px;padding:11px 16px}
.regular-preview-launch{min-height:46px;padding:11px 17px;border:1px solid #b9d5e6;border-radius:9px;background:#fff;color:#176b98;font:700 14px/1.5 'Open Sans',sans-serif;cursor:pointer}
.regular-preview-launch:hover{border-color:#398ebc;background:#eef8ff}
.regular-view-note{font-size:14px!important;line-height:1.6;color:#55768c;margin:8px 0 20px!important}
.classic-workspace .classic-mobile-group h3{display:flex;align-items:center;gap:12px;font-size:23px!important;margin-bottom:22px!important}
.regular-section-number{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border:1px solid #c9e3f3;border-radius:50%;background:#eaf6ff;color:#0074b4;font-size:15px;font-weight:750}
.classic-workspace .classic-mobile-group[data-editor-group="Order details"]{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 18px;padding:24px 26px;background:linear-gradient(115deg,#edf7ff,#fbfdff)}
.classic-workspace .classic-mobile-group[data-editor-group="Order details"] label{margin-bottom:0}
.classic-workspace .classic-mobile-group[data-editor-group="Order details"]>[data-order-field]{grid-column:span 1}
.classic-workspace .classic-mobile-group[data-editor-group="Order details"]>[data-order-field="email_address"]{grid-column:span 2}
.regular-deposit-option{min-width:0;display:flex;flex-direction:column}
.regular-deposit-title{display:block;font-size:16px;line-height:inherit;font-weight:600;color:#294f68}
.classic-workspace .regular-deposit-option .classic-check{flex:1;min-height:50px;margin-top:9px!important;padding:10px 13px;box-sizing:border-box;line-height:1.5}
@media(min-width:761px) and (max-width:1100px){
 .classic-workspace .classic-mobile-group[data-editor-group="Order details"]{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.classic-workspace .classic-mobile-group:not([data-editor-group="Order details"]){border-top:3px solid #d0e5f2}
.regular-field-marker{display:inline-block;font-size:12px;font-weight:500;line-height:1.4;margin-left:7px;color:#657f91}
.regular-required{color:#0076ba;font-size:16px;font-weight:750}
.regular-field-help{display:block;font-size:13px;color:#56778e;font-weight:400;line-height:1.55;margin-top:7px}
.classic-workspace .classic-preferences{margin:24px 0}
.classic-workspace .classic-preferences>summary{font-size:16px;padding:19px 22px}
.classic-workspace .classic-preferences>summary>span{font-size:13px}
.regular-empty-note{font-size:15px;line-height:1.7;color:#58778c;padding:12px 0;margin:0}
.classic-workspace .classic-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.8fr);align-items:center;gap:35px;padding:25px 28px}
.regular-order-summary h3{font-size:20px!important;margin:0 0 12px!important;color:#25495f}
.regular-order-summary dl{margin:0}
.regular-order-summary dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:20px;font-size:14px;line-height:1.6;padding:6px 0}
.regular-order-summary dt{color:#4c6d84}.regular-order-summary dd{margin:0;font-weight:650;white-space:nowrap;color:#284d65}
.regular-order-summary .regular-order-total{border-top:1px solid #c9dfeD;margin-top:8px;padding-top:13px}
.regular-order-total dt{font-size:16px;font-weight:700;color:#23485e}
.regular-order-total dd{font-size:29px;line-height:1.2;letter-spacing:-.8px;color:#0074b6}
.regular-action-right{display:flex;flex-direction:column;gap:12px;align-items:stretch}
.regular-action-right p{font-size:14px!important;line-height:1.65;margin:0!important;color:#4d7189}
.regular-action-right small{font-size:12px;color:#597b91;text-align:center}
.classic-workspace .classic-actions .button{width:100%;justify-content:center}
.classic-workspace .classic-mobile-editor [hidden]{display:none!important}
.classic-workspace .paystub .tap-hint,.classic-workspace .paystub .scroll-hint{display:none!important}
.regular-preview-dialog{width:min(1180px,calc(100vw - 40px));height:calc(100dvh - 40px);max-width:none;max-height:none;padding:0;border:1px solid #bcd6e5;border-radius:17px;background:#edf4f9;color:#203f56;box-shadow:0 24px 80px #102d4b40;overflow:hidden}
.regular-preview-dialog::backdrop{background:#102f50b8}
.regular-preview-dialog[open]{display:flex;flex-direction:column}
.regular-preview-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 25px;background:#fff;border-bottom:1px solid #d2e3ed;flex-shrink:0}
.regular-preview-dialog h2{font:750 23px/1.3 'Open Sans',sans-serif!important;font-style:normal!important;margin:0 0 5px!important;padding:0!important;border:0!important;text-decoration:none;color:#24485f}
.regular-preview-dialog h2::before,.regular-preview-dialog h2::after{content:none!important}
.regular-preview-dialog p{font-size:14px;line-height:1.6;color:#5a798e;margin:0}
.regular-preview-dialog button{min-width:44px;min-height:44px;border:1px solid #bad3e4;border-radius:8px;background:#fff;color:#176a98;font:700 14px/1.4 'Open Sans',sans-serif;padding:9px 13px;cursor:pointer}
.regular-preview-dialog button:hover{background:#e8f5fd}.regular-preview-dialog button:focus-visible,.regular-preview-launch:focus-visible{outline:3px solid #359bdd;outline-offset:3px}
.regular-preview-tools{display:flex;align-items:center;justify-content:center;gap:9px;padding:12px 16px;background:#f8fbfe;border-bottom:1px solid #d2e3ed;flex-shrink:0;flex-wrap:wrap}
.regular-preview-tools output{min-width:49px;text-align:center;font-size:14px;font-weight:700;color:#3c6580}
.regular-preview-scroll{flex:1;overflow:auto;overscroll-behavior:contain;padding:20px 16px;min-height:0;touch-action:pan-x pan-y pinch-zoom}
.regular-preview-stage{position:relative;margin:0 auto}
.classic-workspace .regular-preview-paper.paystub{display:block!important;position:absolute;top:0;left:0;width:900px!important;max-width:none!important;padding:28px!important;margin:0!important;border:0!important;border-radius:0;overflow:visible!important;box-sizing:border-box;background:#fff;box-shadow:0 4px 22px #1f47631a;transform-origin:top left}
.classic-workspace .regular-preview-paper .ps_calculator{float:none!important;width:100%!important;max-width:none!important;margin:0!important;overflow:visible!important}
.regular-preview-paper::after{content:'';position:absolute;inset:0;pointer-events:none;z-index:2;background:url(/images/preview-pattern.svg) repeat-y center top}
.classic-workspace .regular-preview-paper :is(.ps_calculator_regular,.ps_calculator_enhanced){float:none!important;width:100%!important;max-width:none!important;height:auto!important;transform:none!important;margin:0!important;overflow:visible!important}
.regular-preview-paper table{width:100%!important;table-layout:auto;border-collapse:collapse;font-family:'Open Sans',sans-serif}
.regular-preview-paper :is(.ps_calculator_regular,.ps_calculator_enhanced)>table{border:1px solid #969d9f}
.regular-preview-value{display:inline-block;max-width:100%;white-space:normal;overflow-wrap:anywhere;font:400 13px/1.5 'Open Sans',sans-serif;color:#253d4e;padding:4px}
body.regular-preview-open{overflow:hidden}
@media(max-width:760px){
 .classic-workspace .classic-builder-hero{padding:21px 20px;display:block;margin-bottom:18px}
 .classic-workspace .classic-builder-hero h1{font-size:31px!important;letter-spacing:-.8px;margin:6px 0 10px!important}
 .classic-workspace .classic-builder-hero p{font-size:16px!important;line-height:1.65}
 .classic-workspace .classic-builder-tags{font-size:12px;margin-top:13px;gap:6px 13px}
 .classic-workspace .classic-builder-hero aside{display:flex;align-items:center;flex-wrap:wrap;gap:3px 10px;padding:11px 13px;margin-top:17px;border-radius:10px}
 .classic-workspace .classic-builder-hero aside>strong{font-size:27px;line-height:1.3}
 .classic-workspace .classic-builder-hero aside>p{font-size:12px!important;flex:1;min-width:110px}
 .classic-workspace .classic-builder-hero aside>span:last-child{width:100%;font-size:12px!important}
 .classic-workspace .classic-builder-icon{display:none}
 .regular-view-bar{display:block}.regular-view-bar .classic-mobile-tabs{max-width:none}
 .regular-view-bar .classic-mobile-tabs button{font-size:14px;padding:11px 8px}
 .regular-preview-launch{width:100%;margin-top:10px;min-height:44px}
 .regular-view-note{font-size:13px!important;margin-bottom:15px!important}
 .classic-workspace .classic-mobile-group[data-editor-group="Order details"]{grid-template-columns:1fr;padding:22px 20px;gap:22px}
 .classic-workspace .classic-mobile-group[data-editor-group="Order details"]>[data-order-field="email_address"]{grid-column:span 1}
 .classic-workspace .classic-mobile-group[data-editor-group="Order details"] h3{margin-bottom:4px!important}
 .classic-workspace .classic-mobile-group h3{font-size:21px!important;gap:10px}
 .regular-section-number{width:29px;height:29px;font-size:14px}
 .classic-workspace .classic-preferences>summary{padding:18px 17px;font-size:15px;gap:10px}
 .classic-workspace .classic-preferences>summary>span{font-size:12px}
 .classic-workspace .classic-actions{grid-template-columns:1fr;gap:23px;padding:23px 20px}
 .regular-preview-dialog{width:100vw;height:100dvh;margin:0;border:0;border-radius:0}
 .regular-preview-dialog>header{padding:15px 16px;gap:12px}
 .regular-preview-dialog h2{font-size:20px!important}
 .regular-preview-dialog p{font-size:13px}
 .regular-preview-dialog .regular-preview-close{font-size:13px;padding:9px 10px;max-width:90px}
 .regular-preview-tools{padding:9px;gap:7px}
 .regular-preview-dialog .regular-preview-tools button{padding:8px 10px;font-size:13px}
 .regular-preview-scroll{padding-top:16px}
}

/* A stronger visual hierarchy, with calm white surfaces for data entry. */
.classic-workspace .classic-builder-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(115deg,#163c59 0%,#1e5c78 65%,#258e91 100%);border-color:#205874;box-shadow:0 12px 30px #173f5710}
.classic-workspace .classic-builder-hero::after{content:'';position:absolute;z-index:-1;pointer-events:none;width:430px;height:430px;right:-145px;top:-210px;border:1px solid #c2f3ef30;border-radius:50%;box-shadow:0 0 0 45px #b7efec09,0 0 0 90px #b7efec07}
.classic-workspace .classic-builder-hero h1{color:#fff!important}
.classic-workspace .classic-builder-hero .eyebrow{color:#a0e3e1}
.classic-workspace .classic-builder-hero p{color:#e0edf5}
.classic-workspace .classic-builder-tags{color:#d0e9ed}
.classic-workspace .classic-builder-hero aside{background:#fff;border-color:#d5e6ee;box-shadow:0 8px 20px #12324b18}
.classic-workspace .classic-status:not(.error){background:#fff;border-color:#d7e5ee;border-left:4px solid #239b99;color:#42677f!important}
.classic-workspace .classic-status:not(.error)::before{content:'i';display:inline-grid;place-items:center;border:1px solid #64aaa9;color:#207b7b;width:19px;height:19px;margin-right:9px;border-radius:50%;font:700 12px/1 Arial,sans-serif}
.classic-workspace .classic-mobile-tabs{background:#edf2f6;border-color:#d0e0eb}
.classic-workspace .classic-mobile-tabs button[aria-pressed=true]{background:#007cbe;color:#fff;box-shadow:0 3px 8px #0074b323}
.classic-workspace .regular-preview-launch{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;min-height:50px;padding:8px 10px 8px 17px;border-radius:11px;background:linear-gradient(120deg,#234e69,#2c657d);color:#fff;border-color:#386e86;font-weight:600;box-shadow:inset 0 1px 0 #ffffff1f,0 3px 8px #1d486312}
.classic-workspace .regular-preview-launch:hover{background:linear-gradient(120deg,#285c78,#32758b);border-color:#4b8aa0;box-shadow:inset 0 1px 0 #ffffff26,0 4px 12px #1d486322}
.regular-preview-arrow{display:inline-grid;place-items:center;width:32px;height:32px;border:1px solid #c6ecec35;border-radius:8px;background:#c9eeee17;font:400 22px/1 Arial,sans-serif;flex:none;color:#d2f2ee}
.classic-workspace .classic-mobile-group[data-editor-group="Order details"]{background:#fff;border-top-color:#007cbe}
.classic-workspace .regular-deposit-option .classic-check{background:#f1f9f8;border-color:#bfdedb}
.classic-workspace .classic-edit-mode .classic-mobile-editor{align-items:stretch}
.classic-workspace .regular-company-group{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;background:#fff;border-top-color:#35a5a0!important}
.classic-workspace .regular-company-group h3{grid-column:1/-1}
.classic-workspace .regular-company-group label{margin-bottom:0}
.classic-workspace .regular-employee-group{border-top-color:#4e98ba!important}
.classic-workspace .regular-pay-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;align-content:start;border-top-color:#35a5a0!important}
.classic-workspace .regular-pay-group h3{grid-column:1/-1}
.classic-workspace .regular-employee-group label,.classic-workspace .regular-pay-group label{font-size:16px;line-height:1.6}
.classic-workspace .regular-pay-group label:last-child{margin-bottom:0}
.classic-workspace .regular-pay-group label:has(input[hidden]){display:none}
.classic-workspace .regular-pay-group .regular-field-marker:not(.regular-required){font-size:13px}
.classic-workspace .classic-preferences{background:#f5f9fc;border-color:#c9dfe9}
.classic-workspace .classic-preferences>summary{background:#eaf4fa;border-radius:14px}
.classic-workspace .classic-preferences[open]>summary{border-radius:14px 14px 0 0;border-bottom:1px solid #d1e3ee;margin-bottom:22px}
.classic-workspace .classic-preferences .pp-grid{gap:22px;align-items:start}
.classic-workspace .classic-preferences .pp-field{margin-bottom:0}
.classic-workspace .classic-preferences .pp-field label,.classic-workspace .classic-preferences .classic-grid label{font-size:16px;line-height:1.55}
.classic-workspace .classic-preferences .pp-field input:not([type=checkbox]),.classic-workspace .classic-preferences .pp-field select{font-size:16px;min-height:48px}
.classic-workspace .classic-preferences .pp-field small,.classic-workspace .classic-preferences .hint,.classic-workspace .classic-preferences .pp-prior-hint{font-size:14px!important;line-height:1.7}
.classic-workspace .classic-preferences .pp-allocation legend{font-size:14px;font-weight:600}
.classic-workspace .classic-preferences .pp-optional{font-size:13px}
.classic-workspace .classic-preferences .pp-setting-summary{font-size:14px}
.classic-workspace [data-pp-open="shared:federal"] .pp-grid>[data-pp-control=checkbox],.classic-workspace [data-pp-open="shared:federal"] .pp-grid>.pp-add{grid-column:1/-1}
.classic-workspace [data-pp-open="shared:federal"] .pp-check{font-size:16px!important;align-items:center!important;background:#f2f8fb;border:1px solid #d3e4ee;border-radius:9px;padding:13px 15px}
.classic-workspace [data-pp-open="shared:federal"] .pp-check input[type=checkbox]{margin:0!important}
.classic-workspace :is(.classic-preferences,.regular-pay-adjustments) button.pp-add{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 16px;border:1px solid #aacde2;border-radius:9px;background:#edf7fe;color:#146c9e;font:650 15px/1.5 'Open Sans',sans-serif;cursor:pointer;text-decoration:none;white-space:normal;height:auto;box-sizing:border-box}
.classic-workspace :is(.classic-preferences,.regular-pay-adjustments) button.pp-add-item::before{content:'+';font:400 23px/1 Arial,sans-serif}
.classic-workspace :is(.classic-preferences,.regular-pay-adjustments) button.pp-add:hover{background:#deeffb;border-color:#66a9cf}
.classic-workspace :is(.classic-preferences,.regular-pay-adjustments) button.pp-add.pp-remove{background:#fff5f6;border-color:#ecc7cd;color:#b1344c;font-size:14px;padding:10px 13px}
.classic-workspace :is(.classic-preferences,.regular-pay-adjustments) button.pp-add.pp-remove:hover{background:#fce8ec;border-color:#d88b9a}
.classic-workspace :is(.classic-preferences,.regular-pay-adjustments) button.pp-add:focus-visible{outline:3px solid #359bdd;outline-offset:3px}
.classic-workspace .pp-row-fields{gap:14px;align-items:end}
.classic-workspace .pp-row-fields>.pp-add{min-height:48px}
.classic-workspace .pp-row-fields>.pp-field label{margin-bottom:8px}
.classic-workspace .paystub .row1.col2{background-size:100% 100%;background-position:right center}
.classic-workspace .regular-preview-paper .row1.col2{width:29%;min-width:0;padding:0 10px 0 28px;font-size:16px;white-space:nowrap;background:#fff url('/images/stub_head.jpg') right center/100% 100% no-repeat}
.classic-workspace .regular-preview-paper .row1.col1{width:71%}
.regular-sample-paper::after{content:'SAMPLE';color:#217ba41a}
@media(max-width:1100px){
 .classic-workspace .classic-edit-mode .classic-mobile-editor{grid-template-columns:1fr}
 .classic-workspace .regular-employee-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;align-content:start}
 .classic-workspace .regular-employee-group h3,.classic-workspace .regular-employee-group label:has(#mobile-full_name),.classic-workspace .regular-employee-group label:has(#mobile-full_address),.classic-workspace .regular-employee-group label:has(#mobile-mStatus){grid-column:1/-1}
}
@media(max-width:760px){
 .classic-workspace .regular-company-group{grid-template-columns:1fr;gap:0}
 .classic-workspace .regular-company-group label{margin-bottom:22px}
 .classic-workspace .regular-company-group label:last-child{margin-bottom:0}
 .classic-workspace .regular-pay-group{grid-template-columns:repeat(2,minmax(0,1fr))}
 .classic-workspace .regular-preview-launch{display:flex;justify-content:center}
 .classic-workspace .classic-preferences .pp-grid{grid-template-columns:1fr}
 .classic-workspace .classic-preferences .pp-row-fields{grid-template-columns:1fr}
 .classic-workspace .classic-preferences .pp-row-fields>.pp-add{justify-self:start}
}
@media(max-width:480px){
 .classic-workspace .regular-pay-group,.classic-workspace .regular-employee-group{grid-template-columns:1fr}
}

/* Keep each paycheck's inputs, deductions and totals in one clearly bounded card. */
.classic-workspace .regular-employee-group{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 22px;align-content:start}
.classic-workspace .regular-employee-group h3{grid-column:1/-1}
.classic-workspace .regular-employee-group label:has(#mobile-full_name),.classic-workspace .regular-employee-group label:has(#mobile-mStatus),.regular-worker-type{grid-column:span 2}
.classic-workspace .regular-employee-group label:has(#mobile-full_address){grid-column:1/-1}
.classic-workspace .regular-employee-group label:last-child{margin-bottom:0}
.classic-workspace .regular-worker-type{display:flex;align-items:center;gap:24px;margin:0 0 22px;padding:9px 15px 13px;min-width:0;background:#f3f9fc;border:1px solid #d2e3ed;border-radius:9px}
.classic-workspace .regular-worker-type legend{font-size:16px;font-weight:600;color:#294f68;padding:0 5px;line-height:1.6}
.classic-workspace .regular-worker-type label{display:flex;align-items:center;gap:8px;margin:0;font-size:16px;font-weight:500;cursor:pointer}
.classic-workspace .regular-worker-type input[type=radio]{display:inline-block;width:18px;height:18px;min-height:0;margin:0;padding:0;appearance:auto;accent-color:#007cbe;box-shadow:none;flex:none}
.classic-workspace .regular-pay-group,.classic-workspace #classic-mobile-more>.classic-mobile-group{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 18px;align-content:start;overflow:hidden}
.classic-workspace #classic-mobile-more{grid-template-columns:1fr;gap:24px}
.classic-workspace .regular-pay-group>h3,.classic-workspace #classic-mobile-more>.classic-mobile-group>h3{grid-column:1/-1;margin-bottom:8px!important}
.classic-workspace .regular-pay-group>label,.classic-workspace #classic-mobile-more>.classic-mobile-group>label{margin-bottom:22px!important}
.classic-workspace #classic-mobile-more .classic-range-pair{grid-column:span 2;gap:18px;order:0}
.classic-workspace #classic-mobile-more .classic-range-pair label{margin-bottom:22px!important;font-size:16px}
.classic-workspace #classic-mobile-more .regular-extra-pay-amount{grid-column:span 2}
.regular-pay-caption{grid-column:1/-1;margin:0 0 24px!important;padding-bottom:17px;border-bottom:1px solid #d8e8ef;color:#58758a;font-size:14px!important;line-height:1.7;overflow-wrap:anywhere}
.regular-inherited-pay{grid-column:span 2;align-self:center;font-size:14px!important;line-height:1.7;margin:0 0 22px!important;color:#54758b;background:#f2f8fb;padding:12px 15px;border-radius:9px}
.regular-ytd-setup{grid-column:1/-1;background:#f2f8fb;border:1px solid #d6e6ee;border-radius:11px;padding:20px;margin:0 0 22px}
.regular-ytd-setup h4{font-size:18px;color:#294f68;margin:0 0 6px}
.regular-ytd-help{font-size:14px!important;line-height:1.7;color:#5b7b8f;margin:0 0 17px!important}
.regular-ytd-fields{display:grid;grid-template-columns:1fr;gap:18px;align-items:start}
.classic-workspace .regular-ytd-fields>label{margin-bottom:0;font-size:16px}
.classic-workspace .regular-ytd-setup .classic-grid{margin:20px 0 0;gap:18px}
.classic-workspace .regular-ytd-setup .classic-grid label{font-size:15px;margin-bottom:0}
.classic-workspace .regular-ytd-setup [hidden]{display:none!important}
.classic-workspace .regular-pay-adjustments{grid-column:1/-1;border:1px solid #c7dedf!important;border-radius:11px;background:#fff;padding:0!important;margin:0 0 18px!important;min-width:0;overflow:hidden}
.classic-workspace .regular-pay-adjustments>summary{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:17px 19px;background:#eef8f6;color:#256a70;font-size:16px!important;font-weight:700;list-style:none;cursor:pointer;line-height:1.5}
.classic-workspace .regular-pay-adjustments>summary::-webkit-details-marker{display:none}
.classic-workspace .regular-pay-adjustments>summary::after{content:'';width:8px;height:8px;flex:none;margin-right:3px;border-right:2px solid #43878b;border-bottom:2px solid #43878b;transform:rotate(45deg)}
.classic-workspace .regular-pay-adjustments[open]>summary::after{transform:rotate(225deg)}
.classic-workspace .regular-pay-adjustments[open]>summary{border-bottom:1px solid #d2e6e5}
.classic-workspace .regular-pay-adjustments .period-body{padding:20px;min-width:0}
.classic-workspace .regular-pay-adjustments .pp-period-settings{border:0;margin:0;padding:0;min-width:0}
.classic-workspace .regular-pay-adjustments .pp-period-total{display:none}
.classic-workspace .regular-pay-adjustments .pp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.classic-workspace .regular-pay-adjustments .pp-field label{font-size:16px;font-weight:500;margin:0 0 8px;line-height:1.6}
.classic-workspace .regular-pay-adjustments .pp-field{margin-bottom:18px}
.classic-workspace .regular-pay-adjustments .pp-grid>.pp-field,.classic-workspace .regular-pay-adjustments .pp-row-fields>.pp-field{margin-bottom:0}
.classic-workspace .regular-pay-adjustments .pp-field input:not([type=checkbox]),.classic-workspace .regular-pay-adjustments .pp-field select{font-size:16px;width:100%;height:auto;min-height:48px;box-sizing:border-box;margin:0;border:1px solid #c1d9e7;border-radius:8px;padding:10px 12px;color:#294f68;background-color:#fff}
.classic-workspace .regular-pay-adjustments .hint,.classic-workspace .regular-pay-adjustments .pp-field small,.classic-workspace .regular-pay-adjustments .pp-prior-hint{font-size:14px!important;line-height:1.7;color:#5a788d}
.classic-workspace .regular-pay-adjustments .pp-allocation legend{font-size:14px;font-weight:600}
.classic-workspace .regular-pay-adjustments .pp-programs h3{font-size:18px!important;margin:17px 0 12px!important}
.classic-workspace .regular-pay-adjustments .pp-check{font-size:15px!important}
.classic-workspace .regular-pay-adjustments .pp-group summary{font-size:16px!important}
.classic-workspace .regular-pay-adjustments .classic-grid>h4{font-size:18px!important;margin:0 0 4px!important;color:#294f68}
.classic-workspace .regular-pay-adjustments .classic-grid{margin:0 0 20px}
.classic-workspace .regular-pay-adjustments .classic-grid label{font-size:16px;margin:0}
.classic-workspace .regular-advanced-toggle{border:0;background:transparent;color:#197aa3;font:600 14px/1.6 'Open Sans',sans-serif;text-decoration:underline;text-underline-offset:3px;padding:8px 0;cursor:pointer;margin:0 0 4px}
.regular-advanced-toggle:focus-visible{outline:2px solid #359bdd;outline-offset:4px;border-radius:3px}
.regular-pay-totals{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr);gap:22px;background:#fff;border:1px solid #dee5eb;border-radius:11px;padding:8px}
.regular-pay-totals>div{position:relative;min-width:0;border-radius:8px;padding:9px 14px;background:#f5f7f9}
.regular-pay-totals>div:last-child{background:#fff7e9;box-shadow:inset 0 0 0 1px #f1e3ca}
.regular-pay-totals span{display:block;color:#607486;font-size:13px;margin-bottom:4px}
.regular-pay-totals strong{display:block;font-size:21px;line-height:1.4;color:#2b4d65;overflow-wrap:anywhere}
.regular-pay-totals>div:last-child span{color:#826339}
.regular-pay-totals>div:last-child strong{color:#78532d;font-size:27px;line-height:1.15}
.regular-total-operator{position:absolute;left:-17px;top:50%;transform:translateY(-50%);font:500 18px/1 'Open Sans',sans-serif;color:#738795;pointer-events:none}
.classic-workspace .regular-total-pending{grid-column:1/-1;font-size:14px!important;color:#5e7e92;margin:0!important;line-height:1.65}
.regular-shared-note{font-size:15px!important;font-weight:600;color:#346c85;background:#eaf5fb;border-radius:9px;padding:13px 16px;margin:0 0 22px!important;line-height:1.7}
@media(max-width:1100px){
 .classic-workspace .regular-employee-group{grid-template-columns:repeat(2,minmax(0,1fr))}
 .classic-workspace .regular-employee-group label:has(#mobile-full_name),.classic-workspace .regular-employee-group label:has(#mobile-mStatus),.regular-worker-type{grid-column:span 1}
 .classic-workspace .regular-pay-group,.classic-workspace #classic-mobile-more>.classic-mobile-group{grid-template-columns:repeat(2,minmax(0,1fr))}
 .classic-workspace #classic-mobile-more .classic-range-pair{grid-column:1/-1}
 .classic-workspace #classic-mobile-more .regular-extra-pay-amount,.regular-inherited-pay{grid-column:span 1}
}
@media(max-width:760px){
 .classic-workspace .regular-employee-group{grid-template-columns:1fr}
 .classic-workspace .regular-employee-group label:has(#mobile-full_name),.classic-workspace .regular-employee-group label:has(#mobile-mStatus),.regular-worker-type{grid-column:1/-1}
 .classic-workspace .regular-pay-adjustments .period-body{padding:16px}
 .classic-workspace .regular-pay-adjustments .pp-grid{grid-template-columns:1fr}
 .classic-workspace .regular-pay-adjustments .pp-row-fields{grid-template-columns:1fr}
 .regular-ytd-fields{grid-template-columns:1fr}
 .regular-ytd-setup{padding:16px}
 .classic-workspace .regular-ytd-setup .classic-grid{grid-template-columns:1fr}
 .classic-workspace .regular-pay-adjustments .pp-row-fields>.pp-add{justify-self:start}
 .regular-pay-totals{padding:8px;gap:8px 22px}
 .regular-pay-totals>div{padding:9px 10px}
 .regular-pay-totals strong{font-size:19px}
 .regular-pay-totals>div:last-child strong{font-size:24px}
 .regular-pay-totals span{font-size:12px}
}
@media(max-width:480px){
 .classic-workspace .regular-pay-group,.classic-workspace #classic-mobile-more>.classic-mobile-group{grid-template-columns:1fr}
 .classic-workspace #classic-mobile-more .classic-range-pair{grid-template-columns:1fr;gap:0}
 .classic-workspace #classic-mobile-more .regular-extra-pay-amount,.regular-inherited-pay{grid-column:1/-1}
 .regular-pay-caption{font-size:13px!important}
 .regular-pay-totals{grid-template-columns:repeat(2,minmax(0,1fr))}
 .regular-pay-totals>div:last-child{grid-column:1/-1;display:flex;align-items:center;gap:8px}
 .regular-pay-totals>div:last-child span{margin:0 auto 0 0}
 .regular-pay-totals>div:last-child .regular-total-operator{position:static;transform:none;color:#826339;font-size:16px;flex:none}
}

@media(min-width:761px){.regular-ytd-fields:has(>label:nth-child(2):not([hidden]),>label:nth-child(3):not([hidden])){grid-template-columns:repeat(2,minmax(0,1fr))}}

/* A recognizable document header, with dates presented as separate metadata. */
.regular-pay-header{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:24px;padding:18px 20px;border:1px solid #c9e3e9;border-radius:12px;background:linear-gradient(115deg,#eaf6fc,#eff9f6);min-width:0}
.classic-workspace .regular-pay-header h3{display:flex;align-items:center;gap:12px;font-size:25px!important;line-height:1.35;margin:0!important;white-space:nowrap;color:#214b64}
.regular-pay-header .regular-section-number{width:40px;height:40px;border-radius:11px;background:#fff;border-color:#c4e0e9;color:#0878ad;font-size:17px;box-shadow:0 2px 6px #1c66730a}
.classic-workspace .regular-pay-header .regular-pay-caption{display:flex;flex-wrap:wrap;gap:10px;padding:0;border:0;margin:0!important;justify-content:flex-end;min-width:0}
.regular-pay-meta{display:block;padding:9px 13px;background:#ffffffcf;border:1px solid #d4e7ec;border-radius:9px;min-width:130px}
.regular-pay-meta>span{display:block;font-size:11px;line-height:1.5;font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:#5e8397;margin-bottom:3px}
.regular-pay-meta>strong{display:block;font-size:14px;line-height:1.6;font-weight:650;color:#315b73;overflow-wrap:anywhere}
@media(max-width:900px){
 .regular-pay-header{align-items:flex-start;flex-direction:column;gap:15px}
 .classic-workspace .regular-pay-header .regular-pay-caption{justify-content:flex-start;width:100%}
 .regular-pay-meta{flex:1}
}
@media(max-width:480px){
 .regular-pay-header{padding:16px;gap:14px}
 .classic-workspace .regular-pay-header h3{font-size:23px!important}
 .classic-workspace .regular-pay-header .regular-pay-caption{display:grid;grid-template-columns:1fr}
 .regular-pay-meta{padding:8px 11px;min-width:0}
 .regular-pay-meta>strong{font-size:14px}
}

.regular-stub-icon{display:block;flex:none;width:40px;height:40px;border:1px solid #c4e0e9;border-radius:11px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23247d9d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6zM14 3v5h4M9 12h6M9 16h6'/%3E%3C/svg%3E") center/24px no-repeat;box-shadow:0 2px 6px #1c66730a}
.classic-workspace .regular-pay-toggle{display:inline-flex;align-items:center;justify-content:center;gap:12px;flex:none;min-height:42px;border:1px solid #b7d6e1;border-radius:9px;background:#fff;color:#2b6883;padding:10px 13px;font:650 14px/1.5 'Open Sans',sans-serif;cursor:pointer}
.classic-workspace .regular-pay-toggle:hover{background:#f4fbff;border-color:#69a7bf}
.regular-pay-toggle:focus-visible{outline:3px solid #359bdd;outline-offset:3px}
.regular-toggle-chevron{display:block;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(225deg);margin-top:4px}
.regular-pay-toggle[aria-expanded=false] .regular-toggle-chevron{transform:rotate(45deg);margin-top:-4px}
.classic-workspace .regular-pay-collapsed>:not(.regular-pay-header):not(.regular-pay-totals){display:none!important}
.classic-workspace .regular-pay-collapsed .regular-pay-header{margin-bottom:16px}
.classic-workspace .regular-hours-help{font-size:12px;line-height:1.6;margin-top:7px}
@media(max-width:900px){
 .regular-pay-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px}
 .classic-workspace .regular-pay-header h3{grid-column:1;grid-row:1;white-space:normal;font-size:23px!important;min-width:0}
 .classic-workspace .regular-pay-header .regular-pay-caption{grid-column:1/-1;grid-row:2}
 .regular-pay-toggle{grid-column:2;grid-row:1}
}
@media(max-width:480px){
 .classic-workspace .regular-pay-header h3{font-size:21px!important;gap:9px}
 .regular-stub-icon{width:32px;height:36px;background-size:21px;border-radius:8px}
 .classic-workspace .regular-pay-toggle{font-size:12px;padding:9px 10px;gap:9px}
}
.regular-adjustments-flag{align-self:center;border:1px solid #baded2;border-radius:20px;background:#e4f5ec;color:#32765c;font-size:11px;font-weight:650;line-height:1.5;padding:6px 10px}
.regular-adjustments-flag[hidden],.regular-pay-totals[hidden]{display:none!important}

/* Enhanced earnings stay with their paycheck; rates remain shared. */
.enhanced-workspace .enhanced-shared-pay-note{margin:0 0 22px!important;align-self:center;padding:13px 15px;background:#edf7f5;border-left:3px solid #35a59d;border-radius:7px;color:#426d72;font-size:14px!important;line-height:1.7}
.enhanced-workspace .enhanced-extra-earnings{grid-column:1/-1;min-width:0;margin:0 0 22px;border:1px solid #cbdfe9;border-radius:11px;padding:0;background:#f7fbfd}
.enhanced-workspace .enhanced-extra-earnings>summary{padding:17px 20px;margin:0;font-size:16px;line-height:1.6;color:#2e6384}
.enhanced-workspace .enhanced-extra-earnings[open]>summary{margin:0;border-bottom:1px solid #d3e4ef}
.enhanced-workspace .enhanced-extra-earnings .enhanced-earning-help{padding:16px 20px 0;margin:0!important;font-size:14px!important;line-height:1.7;color:#58788c}
.enhanced-workspace .enhanced-extra-earnings .classic-earnings-grid{padding:19px 20px 20px;margin:0!important;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 18px}
.enhanced-workspace .enhanced-extra-earnings .classic-earnings-grid>label{margin:0;font-size:16px;line-height:1.6;min-width:0}
.enhanced-workspace #classic-mobile-more .enhanced-extra-earnings .classic-earnings-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.enhanced-workspace .enhanced-rate-note{font-size:12px;line-height:1.6;margin-top:7px}

/* Classic worksheet: a fixed, intentional gutter and consistent extra checks. */
body.classic-workspace form:not(.classic-edit-mode)>.paystub{display:grid!important;grid-template-columns:250px minmax(0,771px);gap:28px;align-items:start;justify-content:center;overflow:hidden}
body.classic-workspace form:not(.classic-edit-mode)>.paystub>.ps_controls{padding:0;background:transparent;min-width:0}
body.classic-workspace .paystub .ps_controls{background:#f4f8fb!important;border:1px solid #d6e4ed;border-radius:12px;padding:16px!important;box-sizing:border-box}
body.classic-workspace .paystub .ps_controls .inp_title{font-size:15px!important;line-height:1.5;color:#35576e}
body.classic-workspace .paystub .ps_controls input:not([type=checkbox]),body.classic-workspace .paystub .ps_controls select{min-height:48px;height:48px;font-size:16px!important;box-sizing:border-box}
body.classic-workspace .paystub .ps_controls input[type=checkbox]{width:20px;height:20px;min-height:20px;padding:0!important;accent-color:#007bc7}
body.classic-workspace form:not(.classic-edit-mode)>.paystub>.ps_calculator{width:100%!important;max-width:771px!important;min-width:0;float:none;flex:none;justify-self:center}
.classic-workspace .classic-sheet-stage{width:100%;min-width:0;max-width:100%;overflow:auto;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom}
.classic-workspace .paystub .ps_calculator .mobHide{display:none!important}
body.classic-workspace .paystub .ps_calculator .psStubBoxes{grid-template-columns:minmax(0,1fr);gap:20px;overflow:visible;margin-top:22px}
body.classic-workspace .paystub .ps_calculator .psStubBoxes .psStubBox{width:auto!important;float:none;margin:0;border:1px solid #d1e2eb;border-top:3px solid #39a4aa;border-radius:13px;background:#fff!important;padding:0;overflow:hidden;min-width:0}
body.classic-workspace .paystub .ps_calculator .psStubBoxes .psStubBox .psStubBoxHead{background:linear-gradient(110deg,#edf7fb,#f2f9f6);padding:16px 20px;border-bottom:1px solid #d8e8ee}
body.classic-workspace .paystub .ps_calculator .psStubBoxes .psStubBox .psStubBoxHead h3{font:700 21px/1.4 'Open Sans',sans-serif;color:#28566f;margin:0!important}
body.classic-workspace .paystub .ps_calculator .psStubBoxes .psStubBox .psStubFields{padding:20px}
body.classic-workspace .paystub .ps_calculator .psStubBoxes .psStubBox .psStubFields ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;overflow:visible;margin:0;padding:0;width:100%}
body.classic-workspace .paystub .ps_calculator .psStubBoxesEn .psStubBox .psStubFields ul{grid-template-columns:repeat(3,minmax(0,1fr))}
body.classic-workspace .paystub .ps_calculator .psStubBoxes .psStubBox .psStubFields li{float:none;width:auto;padding:0;margin:0;min-width:0;list-style:none}
body.classic-workspace .paystub .ps_calculator .psStubBoxes .psStubBox .psStubFields .psStubField{min-height:0;position:static}
body.classic-workspace .paystub .ps_calculator .psStubBoxes .psStubBox .psStubFields .psStubTitle{position:static;display:block;top:auto;left:auto;background:transparent;padding:0;margin:0 0 8px;font:600 15px/1.5 'Open Sans',sans-serif;color:#35576e;text-transform:none}
body.classic-workspace .paystub .ps_calculator .psStubBoxes .psStubBox .psStubFields li>.psStubField .psStubField{margin:0}
body.classic-workspace .paystub .ps_calculator .psStubBoxes .psStubBox .psStubFields input[type=text]{display:block;width:100%;max-width:100%;height:48px;min-height:48px;margin:0;padding:10px 12px;border:1px solid #bfd5e3;border-radius:8px;box-sizing:border-box;background:#fff;color:#294f68;font:400 16px/1.5 'Open Sans',sans-serif;box-shadow:0 1px 3px #20456104}
body.classic-workspace .paystub .ps_calculator .psStubBoxes .psStubBox .psStubFields input:focus-visible{outline:2px solid #64b6e5;outline-offset:2px;border-color:#007bc7}

/* The calculation review uses readable tables and the same totals hierarchy. */
.classic-workspace .classic-calculation-review{padding:0;border-radius:14px;overflow:hidden}
.classic-workspace .classic-calculation-review>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 22px;background:#edf4f9;font-size:17px;line-height:1.5;color:#2e5a75}
.classic-workspace .classic-calculation-review>summary::-webkit-details-marker{display:none}
.classic-workspace .classic-calculation-review>summary::after{content:'';width:8px;height:8px;flex:none;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-right:4px}
.classic-workspace .classic-calculation-review[open]>summary{border-bottom:1px solid #d5e4ef}
.classic-workspace .classic-calculation-review[open]>summary::after{transform:rotate(225deg)}
.classic-workspace .classic-calculation-review #pp-results{padding:22px;margin:0;overflow:visible}
.classic-workspace .classic-calculation-review #pp-results>h3{font-size:24px!important;line-height:1.4;margin:0 0 20px!important}
.classic-workspace .classic-calculation-review .classic-review-card{background:#fff;padding:0;border:1px solid #d5e3ec;border-radius:12px;margin:0 0 22px;overflow:hidden}
.classic-workspace .classic-review-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px;background:#f3f7fa;border-bottom:1px solid #dbe6ee;list-style:none;cursor:pointer}
.classic-workspace .classic-review-heading::-webkit-details-marker{display:none}
.classic-workspace .classic-review-card:not([open])>.classic-review-heading{border-bottom:0}
.classic-workspace .classic-review-heading:focus-visible{outline:2px solid #64b6e5;outline-offset:-3px}
.classic-workspace .classic-review-toggle{display:inline-flex;align-items:center;justify-content:center;gap:11px;flex:none;padding:9px 12px;background:#fff;border:1px solid #bfd8e4;border-radius:8px;font:650 14px/1.5 'Open Sans',sans-serif;color:#2e6885}
.classic-workspace .classic-review-toggle::after{content:'';width:7px;height:7px;border-bottom:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg);margin-top:-3px}
.classic-workspace .classic-review-card[open] .classic-review-toggle::after{transform:rotate(225deg);margin-top:4px}
.classic-workspace .classic-review-heading h4{font:700 21px/1.4 'Open Sans',sans-serif;color:#28516a;margin:0!important;flex:1}
.classic-workspace .classic-review-heading time{font-size:14px;color:#57798f;white-space:nowrap}
.classic-workspace .classic-calculation-review .classic-review-context{padding:16px 20px 0;margin:0!important;font-size:14px!important;line-height:1.75;color:#5d788b}
.classic-workspace .classic-review-tables{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px;padding:20px}
.classic-workspace .classic-review-ledger{min-width:0}
.classic-workspace .classic-review-ledger h5{font:700 17px/1.5 'Open Sans',sans-serif;color:#2b556c;margin:0 0 11px}
.classic-workspace .classic-review-table-scroll{overflow-x:auto;border:1px solid #dbe6ed;border-radius:9px}
.classic-workspace .classic-review-table-scroll:focus-visible{outline:2px solid #64b6e5;outline-offset:2px}
.classic-workspace .classic-review-table-scroll table{font-size:15px;line-height:1.65;table-layout:auto;margin:0;min-width:340px}
.classic-workspace .classic-review-ledger:first-child table{min-width:460px}
.classic-workspace .classic-review-table-scroll th,.classic-workspace .classic-review-table-scroll td{padding:11px 12px;border-bottom:1px solid #e0e8ee;text-align:right;vertical-align:top;font-variant-numeric:tabular-nums;color:#35566d}
.classic-workspace .classic-review-table-scroll th{font-size:13px;line-height:1.6;font-weight:700;color:#436a81;background:#f0f5f8}
.classic-workspace .classic-review-table-scroll td:first-child,.classic-workspace .classic-review-table-scroll th:first-child{text-align:left}
.classic-workspace .classic-review-table-scroll td:not(:first-child),.classic-workspace .classic-review-table-scroll th:not(:first-child){white-space:nowrap;overflow-wrap:normal}
.classic-workspace .classic-review-table-scroll tr:last-child td{border-bottom:0}
.classic-workspace .classic-review-table-scroll .pp-ledger-total td{background:#f5f7f9;font-weight:700;color:#2b4d65}
.classic-workspace .classic-review-card .classic-review-totals{margin:0 20px 20px}
.classic-workspace .classic-calculation-review .pp-note{font-size:14px;line-height:1.75;margin:0;color:#5d788b}
@media(max-width:1100px){
 body.classic-workspace form:not(.classic-edit-mode)>.paystub{grid-template-columns:minmax(0,1fr)}
 body.classic-workspace .paystub .ps_calculator .psStubBoxesEn .psStubBox .psStubFields ul{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.classic-workspace .paystub .ps_calculator .psStubBoxesEn .psStubBox .psStubFields li:nth-child(3){grid-column:1/-1}
 .classic-workspace .classic-review-tables{grid-template-columns:1fr}
}
@media(max-width:760px){
 body.classic-workspace .paystub .ps_calculator .psStubBoxes .psStubBox .psStubFields ul{grid-template-columns:1fr}
 body.classic-workspace .paystub .ps_calculator .psStubBoxes .psStubBox .psStubFields{padding:17px}
 .classic-workspace .classic-calculation-review>summary{font-size:16px;padding:17px}
 .classic-workspace .classic-calculation-review #pp-results{padding:16px}
 .classic-workspace .classic-calculation-review #pp-results>h3{font-size:22px!important}
 .classic-workspace .classic-review-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:15px 16px;gap:4px 12px}
 .classic-workspace .classic-review-heading h4{font-size:20px;grid-column:1;grid-row:1}
 .classic-workspace .classic-review-heading time{font-size:13px;grid-column:1;grid-row:2}
 .classic-workspace .classic-review-toggle{grid-column:2;grid-row:1/3;font-size:13px;padding:9px 10px}
 .classic-workspace .classic-calculation-review .classic-review-context{padding:15px 16px 0;font-size:14px!important}
 .classic-workspace .classic-review-tables{padding:16px;gap:20px}
 .classic-workspace .classic-review-card .classic-review-totals{margin:0 16px 16px}
}
@media(max-width:1100px){
 .enhanced-workspace .enhanced-extra-earnings .classic-earnings-grid,.enhanced-workspace #classic-mobile-more .enhanced-extra-earnings .classic-earnings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
 .enhanced-workspace .enhanced-extra-earnings .classic-earnings-grid,.enhanced-workspace #classic-mobile-more .enhanced-extra-earnings .classic-earnings-grid{grid-template-columns:1fr;padding:16px;gap:17px}
 .enhanced-workspace .enhanced-extra-earnings>summary{padding:16px}
 .enhanced-workspace .enhanced-extra-earnings .enhanced-earning-help{padding:15px 16px 0}
}

/* Keep worksheet headings compact; editor help is excluded from document previews. */
.classic-workspace .classic-current-total-heading{white-space:nowrap!important;font-size:12px!important;letter-spacing:-.2px}
.classic-workspace .classic-exemptions-help{display:inline-grid;place-items:center;width:18px;height:18px;min-width:0;min-height:0;padding:0;margin:0 0 0 4px;border:1px solid #7795a8;border-radius:50%;background:#fff;color:#315d76;font:700 12px/1 Arial,sans-serif;vertical-align:middle;cursor:pointer}
.classic-workspace .classic-exemptions-help:hover{background:#e9f5fc}
.classic-workspace .classic-exemptions-help:focus-visible{outline:2px solid #0085c8;outline-offset:2px}
.classic-exemptions-dialog{box-sizing:border-box;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:25px;border:1px solid #c8dce8;border-radius:16px;background:#fff;color:#294d64;box-shadow:0 20px 70px #102d4b38}
.classic-exemptions-dialog::backdrop{background:#15364c80}
.classic-exemptions-dialog h2{font:700 22px/1.4 'Open Sans',sans-serif!important;margin:0 0 14px!important}
.classic-exemptions-dialog p{font:400 15px/1.75 'Open Sans',sans-serif;margin:0 0 20px}
.classic-exemptions-dialog .classic-exemptions-mode-note{padding:10px 12px;border-radius:8px;background:#f1f6fa;font-size:14px}
.classic-exemptions-dialog>div{display:flex;gap:10px;flex-wrap:wrap}
.classic-exemptions-dialog button{min-height:44px;padding:10px 14px;border:1px solid #c3d9e6;border-radius:8px;background:#f5f9fc;color:#245b7a;font:600 14px/1.4 'Open Sans',sans-serif;cursor:pointer}
.classic-exemptions-dialog button:first-child{background:#215b78;border-color:#215b78;color:#fff}
.classic-exemptions-dialog button:focus-visible{outline:3px solid #36a4df;outline-offset:3px}

.classic-workspace .enhanced-extra-earnings>summary{display:flex;justify-content:space-between;align-items:center;gap:15px;list-style:none;cursor:pointer;line-height:1.5}
.classic-workspace .enhanced-extra-earnings>summary::-webkit-details-marker{display:none}
.classic-workspace .enhanced-extra-earnings>summary::after{content:'';width:8px;height:8px;flex:none;margin-right:3px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.classic-workspace .enhanced-extra-earnings[open]>summary::after{transform:rotate(225deg)}

/* Extra Classic worksheet paychecks have independent, accessible toggles. */
body.classic-workspace .psStubBoxHead{display:flex;align-items:center;justify-content:space-between;gap:16px}
body.classic-workspace .psStubBox.classic-worksheet-collapsed .psStubBoxHead{border-bottom:0!important}
body.classic-workspace .psStubFields[hidden]{display:none!important}
@media(max-width:480px){body.classic-workspace .psStubBoxHead{gap:10px;padding:14px 16px!important}body.classic-workspace .psStubBoxHead .classic-worksheet-toggle{font-size:13px;gap:8px;padding:9px 11px}}

/* Preview controls share a compact toolbar and clear interaction states. */
.regular-preview-tools{gap:10px;padding:12px 16px;background:#f2f6f9}
.regular-preview-dialog .regular-preview-tools button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:44px;padding:9px 14px;border-color:#cbdce6;border-radius:9px;background:#fff;color:#355e76;font-weight:600;line-height:1;box-shadow:0 1px 2px #24496008}
.regular-preview-dialog .regular-preview-tools button:hover{background:#e9f3f8;border-color:#94bace}
.regular-preview-zoom{display:inline-flex;align-items:center;box-sizing:border-box;height:44px;padding:1px;border:1px solid #cbdce6;border-radius:11px;background:#fff;box-shadow:0 1px 2px #24496008}
.regular-preview-dialog .regular-preview-zoom button{border:0;background:transparent;border-radius:8px;padding:6px;min-width:40px;width:40px;height:40px;min-height:40px;font-size:23px;font-weight:400;box-shadow:none}
.regular-preview-zoom output{display:inline-flex;align-items:center;justify-content:center;height:40px;min-width:50px;padding:0 4px;font-variant-numeric:tabular-nums;color:#244c65;font-size:14px;line-height:1}
.regular-preview-dialog .regular-preview-fit{display:inline-flex;align-items:center;gap:8px}
.regular-preview-tools svg{display:block;flex:none}
.regular-preview-fit svg{color:#658ca2}
.regular-preview-dialog .regular-preview-close{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;border:1px solid #cadce6;border-radius:9px;background:#f3f7fa;color:#31576e;padding:10px 14px;font-weight:600}
.regular-preview-close::before{content:'×';font:400 22px/1 Arial,sans-serif;color:#628399}
.regular-preview-dialog .regular-preview-close:hover{background:#e8f1f7;border-color:#9bbbcf}
@media(max-width:760px){.regular-preview-tools{gap:7px;padding:10px}.regular-preview-dialog .regular-preview-tools>button{padding:9px 10px}.regular-preview-dialog .regular-preview-close{padding:9px 11px;gap:6px}}
.regular-preview-dialog .regular-preview-close{max-width:none;white-space:nowrap}
.regular-preview-dialog>header>div{min-width:0}
.classic-workspace .regular-preview-dialog .regular-preview-tools>button{font-size:14px!important}

.classic-workspace .regular-preview-paper :is(td,th){font-family:'Open Sans',sans-serif!important}
/* Supplementary deductions follow the worksheet width and numeric alignment. */
.classic-workspace .classic-extra-lines:empty{display:none}
.classic-workspace .classic-extra-lines:not(:empty){margin:18px 0 0;padding:0;border:1px solid #d2e2eb;border-radius:10px;overflow:hidden;background:#fff}
.classic-workspace .classic-extra-lines table{width:100%;margin:0;border-collapse:collapse;table-layout:fixed;font:400 14px/1.6 'Open Sans',sans-serif;color:#35566e}
.classic-workspace .classic-extra-lines th,.classic-workspace .classic-extra-lines td{padding:12px 16px;border:0;border-bottom:1px solid #e0eaf0;text-align:right;vertical-align:middle;font-variant-numeric:tabular-nums}
.classic-workspace .classic-extra-lines th{background:#edf5f9;font-size:13px;font-weight:700;color:#355e76}
.classic-workspace .classic-extra-lines th:first-child,.classic-workspace .classic-extra-lines td:first-child{text-align:left;width:58%;overflow-wrap:anywhere}
.classic-workspace .classic-extra-lines td:not(:first-child){white-space:nowrap;font-weight:600}
.classic-workspace .classic-extra-lines tbody tr:last-child td{border-bottom:0}
@media(max-width:480px){.classic-workspace .classic-extra-lines th,.classic-workspace .classic-extra-lines td{padding:10px 9px;font-size:12px}.classic-workspace .classic-extra-lines th:first-child,.classic-workspace .classic-extra-lines td:first-child{width:50%}}

.classic-workspace .classic-inline-deduction-label{white-space:normal!important;overflow-wrap:anywhere;line-height:1.4;padding-top:5px!important;padding-bottom:5px!important}
.classic-workspace .classic-inline-deduction-amount{text-align:right!important;white-space:nowrap;font-variant-numeric:tabular-nums}

/* A shared inset aligns every deduction amount, including added plain-text rows. */
.classic-workspace .regular-preview-paper :is(.regular-preview-deduction-label,.regular-preview-deduction-amount){height:auto!important;padding:3px 10px!important;vertical-align:top!important;line-height:20px!important}
.regular-preview-deduction-value{display:block;padding:0;margin:0;font:400 13px/20px 'Open Sans',sans-serif;color:#253d4e}
.regular-preview-deduction-amount .regular-preview-deduction-value{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.classic-workspace .regular-preview-paper .regular-preview-deduction-table>tbody>tr:not(:first-child)>td:not(.regular-preview-deduction-label):not(.regular-preview-deduction-amount):not(.regular-preview-earning-cell){height:auto!important;padding-top:0!important;padding-bottom:0!important}
.regular-preview-deduction-table .regular-preview-value{padding-top:0;padding-bottom:0;line-height:20px}

/* One YTD setup follows the selected builder, so both views edit the same values. */
#classic-ytd-home{grid-column:1/-1;min-width:0}
#classic-ytd-live{margin-top:22px;min-width:0}
#classic-ytd-live .regular-ytd-setup{padding:15px;margin:0;background:#fff;border-color:#cbdfe9}
#classic-ytd-live .regular-ytd-setup h4{font-size:16px;line-height:1.5}
#classic-ytd-live .regular-ytd-help{font-size:12px!important;line-height:1.65}
#classic-ytd-live .regular-ytd-fields,#classic-ytd-live .classic-grid,#classic-ytd-live .pp-grid{grid-template-columns:minmax(0,1fr)}
.classic-workspace .regular-ytd-setup input:not([type=checkbox]),.classic-workspace .regular-ytd-setup select{display:block;width:100%;min-height:46px;padding:10px 12px;box-sizing:border-box;border:1px solid #c5dce9;border-radius:8px;background:#fff;color:#29475d;font:400 15px/1.5 'Open Sans',sans-serif;margin-top:7px}
.classic-workspace #pp-ytd-inputs .pp-group{padding:15px;margin:18px 0 0;border:1px solid #cbdfe9;border-radius:9px;background:#fff;min-width:0}
.classic-workspace #pp-ytd-inputs summary{cursor:pointer;font-size:14px;line-height:1.6;color:#2e607b;font-weight:700}
#pp-ytd-inputs .pp-optional{display:none}
#pp-ytd-inputs .pp-setting-summary{display:block;font-size:12px;font-weight:400;line-height:1.6;margin:5px 0;color:#617f92}
#pp-ytd-inputs .pp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
#pp-ytd-inputs .pp-field{min-width:0}
#pp-ytd-inputs .pp-field label{display:block;font-size:14px;font-weight:600;margin-bottom:0;color:#355b72}
#pp-ytd-inputs .pp-check{line-height:1.7}
#pp-ytd-inputs .pp-check input{margin-right:8px;accent-color:#007bc7}
#pp-ytd-inputs .hint,#pp-ytd-inputs .pp-auto{font-size:12px!important;line-height:1.7;color:#5d7d91;margin:12px 0 0!important}
#pp-ytd-inputs .pp-ytd-note{margin-top:16px!important}
.pp-custom-history{border-top:1px solid #d8e7ef;margin-top:20px;padding-top:18px;display:grid;gap:16px}
.pp-custom-history h4,.pp-custom-history>p{margin:0!important}
.classic-workspace .classic-action-error{font-size:14px!important;line-height:1.65;color:#a82740;background:#fff5f6;border:1px solid #edbdc6;border-radius:8px;padding:12px 14px;margin:0 0 12px!important;text-align:left}
.classic-action-error[hidden]{display:none!important}
.classic-workspace input[aria-invalid=true],.classic-workspace select[aria-invalid=true]{border:1px solid #be3f51!important;background:#fffafb!important;box-shadow:0 0 0 1px #be3f5122!important}
.classic-workspace .pp-field>.pp-inline-error{padding:0;margin:7px 0 0!important;border:0;background:transparent;font-size:12px!important;line-height:1.6;color:#ae2d43}
@media(max-width:760px){#pp-ytd-inputs .pp-grid{grid-template-columns:minmax(0,1fr)}}

.classic-workspace .regular-ytd-setup h4{font-weight:700}
#pp-ytd-inputs .pp-inline-error{border-left-color:#bd4053;background:#fff4f6;color:#a52c42}
@media(max-width:1100px){
 body.classic-workspace form:not(.classic-edit-mode)>.paystub>.ps_controls{display:block!important;width:100%!important;float:none;margin:0!important}
}
/* Error text sits below its input without shifting the other fields. */
.classic-workspace .regular-pay-adjustments .pp-row-fields{align-items:start}
.classic-workspace .regular-pay-adjustments .pp-row-fields>.pp-add{align-self:start;margin-top:34px;min-height:48px}
@media(max-width:700px){.classic-workspace .regular-pay-adjustments .pp-row-fields>.pp-add{margin-top:0}}

/* Estimated history uses the same label and control alignment as editable fields. */
#pp-ytd-inputs .pp-grid{align-items:start}
#pp-ytd-inputs .pp-history-estimate{margin:0 0 16px!important;padding:0;background:transparent;border:0;border-radius:0}
#pp-ytd-inputs .pp-estimate-label{display:block;font:600 14px/1.6 'Open Sans',sans-serif;color:#355b72}
#pp-ytd-inputs .pp-estimate-value{display:flex;align-items:center;min-width:0;min-height:48px;box-sizing:border-box;margin-top:7px;padding:10px 12px;border:1px solid #d3e3ed;border-radius:8px;background:#f2f7fb;color:#355b72;font:600 15px/1.5 'Open Sans',sans-serif;overflow-wrap:anywhere}
#pp-ytd-inputs select{height:48px;min-height:48px}

/* Live Builder keeps a compact summary; the shared inputs open in a roomy dialog. */
.regular-ytd-card{padding:16px;border:1px solid #cbdfe9;border-radius:11px;background:#fff}
.regular-ytd-card h4{margin:0 0 8px;font:700 16px/1.5 'Open Sans',sans-serif;color:#294f68}
.classic-workspace .regular-ytd-summary{margin:0 0 15px!important;color:#5b788c;font:400 14px/1.6 'Open Sans',sans-serif}
.regular-ytd-launch{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:44px;padding:10px 12px;border:1px solid #bdd7e6;border-radius:8px;background:#edf7fc;color:#236386;font:700 14px/1.5 'Open Sans',sans-serif;cursor:pointer}
.regular-ytd-launch::after{content:'↗';font-size:19px;line-height:1}
.regular-ytd-launch:hover{background:#e1f1fa;border-color:#7bb2cf}
.regular-ytd-dialog{box-sizing:border-box;width:min(860px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid #bfd8e6;border-radius:16px;background:#fff;color:#294f68;box-shadow:0 24px 80px #102d4b40;overflow:hidden}
.regular-ytd-dialog::backdrop{background:#173c5780}
.regular-ytd-dialog[open]{display:flex;flex-direction:column}
.regular-ytd-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;border-bottom:1px solid #d8e7ef;background:#f3f8fc;flex:none}
.regular-ytd-dialog h2{font:700 23px/1.4 'Open Sans',sans-serif!important;color:#294f68;margin:0 0 5px!important;padding:0!important}
.regular-ytd-dialog h2::before,.regular-ytd-dialog h2::after{content:none!important}
.regular-ytd-dialog>header p{font:400 14px/1.6 'Open Sans',sans-serif;color:#5a798d;margin:0!important}
.regular-ytd-dialog button{min-height:44px;border:1px solid #bed7e5;border-radius:8px;padding:10px 16px;background:#fff;color:#2a6482;font:700 14px/1.5 'Open Sans',sans-serif;cursor:pointer}
.regular-ytd-dialog button:hover{background:#eaf5fb}
.regular-ytd-dialog .regular-ytd-close{width:44px;flex:none;padding:0;font-size:26px;font-weight:400;line-height:1}
.regular-ytd-dialog-body{min-height:0;overflow:auto;padding:22px 24px;overscroll-behavior:contain}
.regular-ytd-dialog .regular-ytd-setup{margin:0;padding:0;border:0;background:transparent}
.regular-ytd-dialog .regular-ytd-setup>h4{display:none}
.regular-ytd-dialog>footer{display:flex;justify-content:flex-end;padding:15px 24px;border-top:1px solid #d8e7ef;flex:none;background:#f8fbfd}
.regular-ytd-dialog .regular-ytd-done{min-width:100px;background:#246684;border-color:#246684;color:#fff}
.regular-ytd-dialog .regular-ytd-done:hover{background:#1c5470}
.regular-ytd-dialog button:focus-visible,.regular-ytd-launch:focus-visible{outline:3px solid #54a8d7;outline-offset:3px}
body:has(#classic-ytd-dialog[open]){overflow:hidden}
@media(max-width:760px){
 .regular-ytd-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:12px}
 .regular-ytd-dialog>header{padding:16px;gap:12px}
 .regular-ytd-dialog h2{font-size:20px!important}
 .regular-ytd-dialog>header p{font-size:13px}
 .regular-ytd-dialog-body{padding:18px 16px}
 .regular-ytd-dialog>footer{padding:12px 16px}
}

.regular-ytd-dialog h2{border:0!important;text-decoration:none!important;font-style:normal!important;letter-spacing:normal!important}
.classic-workspace .regular-ytd-launch{font:700 14px/1.5 'Open Sans',sans-serif!important;box-sizing:border-box;white-space:nowrap}
.classic-workspace .regular-ytd-dialog button{font:700 14px/1.5 'Open Sans',sans-serif!important}
.classic-workspace .regular-ytd-dialog .regular-ytd-close{font-size:26px!important;font-weight:400!important;line-height:1!important}

/* Keep added deductions on the same row rhythm as Medicare and the core taxes. */
.classic-workspace .classic-sheet-stage :is(.classic-source-deduction-cell,[data-inline-deduction-cell]){padding-top:0!important;padding-bottom:0!important}

/* Live Builder validation highlights controls without changing the document layout. */
.classic-workspace .classic-sheet-stage .classic-field-error{display:none!important}
.regular-adjustments-dialog .regular-pay-adjustments{border:0!important;margin:0!important;padding:0!important;background:#fff}
.regular-adjustments-dialog .regular-pay-adjustments>summary{display:none!important}
.regular-adjustments-dialog .regular-pay-adjustments>.period-body{padding:0!important}
.regular-adjustments-dialog .regular-pay-adjustments .pp-programs>h3{display:block;font-size:18px!important;margin:16px 0 12px!important}
.regular-adjustments-dialog .regular-pay-adjustments .pp-allocation{margin-bottom:18px}
body:has(#classic-adjustments-dialog[open]){overflow:hidden}

/* Keep each earning's rate and hours together in one named group. */
.enhanced-workspace .enhanced-extra-earnings .classic-earnings-grid.enhanced-paired-grid,
.enhanced-workspace #classic-mobile-more .enhanced-extra-earnings .classic-earnings-grid.enhanced-paired-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}
.enhanced-earning-pair{min-width:0;margin:0;padding:14px 16px 17px;border:1px solid #cbdfe9;border-radius:10px;background:#fff}
.enhanced-earning-pair legend{padding:0 7px;font:700 16px/1.5 'Open Sans',sans-serif;color:#2d5b75}
.enhanced-pair-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.enhanced-workspace .enhanced-pair-fields>label{margin:0;font-size:14px;line-height:1.6;min-width:0}
.enhanced-workspace .enhanced-pair-fields input{font-size:16px}
.enhanced-earning-inherited .enhanced-pair-fields{grid-template-columns:minmax(0,1fr)}
.enhanced-workspace .enhanced-pair-fields .enhanced-rate-note{margin-top:9px;font-size:12px;line-height:1.6}
@media(max-width:760px){
 .enhanced-workspace .enhanced-extra-earnings .classic-earnings-grid.enhanced-paired-grid,
 .enhanced-workspace #classic-mobile-more .enhanced-extra-earnings .classic-earnings-grid.enhanced-paired-grid{grid-template-columns:minmax(0,1fr);padding:16px;gap:16px}
 .enhanced-earning-pair{padding:12px 13px 15px}
 .enhanced-pair-fields{gap:12px}
}
.classic-workspace form:not(.classic-edit-mode)>#classic-status.error{position:sticky;top:12px;z-index:5;box-shadow:0 4px 18px #57313b14}

/* Show the actual document before entering payroll details. */
.classic-workspace .classic-builder-with-sample{grid-template-columns:minmax(0,1.15fr) minmax(0,.95fr);gap:32px;padding:30px}
.classic-builder-copy{min-width:0}
.classic-workspace .classic-builder-copy h1{font-size:36px!important;letter-spacing:-.8px}
.classic-workspace .classic-builder-copy aside{display:flex;flex-wrap:wrap;align-items:center;gap:5px 12px;margin-top:22px;padding:15px 18px}
.classic-workspace .classic-builder-copy aside>strong{font-size:30px;white-space:nowrap}
.classic-workspace .classic-builder-copy aside>p{flex:1;min-width:150px;font-size:13px!important;line-height:1.5}
.classic-workspace .classic-builder-copy aside>span:last-child{width:100%;font-size:13px!important}
.classic-builder-copy .classic-builder-icon{display:none}
.classic-builder-sample{min-width:0;margin:0;align-self:center}
.classic-builder-sample>a{display:block;border-radius:12px;overflow:hidden;border:1px solid #d9e7ef;background:#fff;box-shadow:0 12px 28px #0b273c35;text-decoration:none;color:#215b76}
.classic-builder-sample>a:hover{box-shadow:0 14px 32px #0b273c55;border-color:#8ed7de}
.classic-builder-sample>a:focus-visible{outline:3px solid #a3eeeb;outline-offset:5px}
.classic-builder-sample img{display:block;width:100%;height:auto}
.classic-sample-cta{display:flex;align-items:center;justify-content:center;gap:10px;padding:13px 15px;border-top:1px solid #e0eaf0;background:#f2f8fc;font-size:15px;font-weight:700}
.classic-builder-sample figcaption{text-align:center;color:#d5eaf2;font-size:12px;line-height:1.5;margin-top:12px}
.classic-sample-mobile{display:none}
body.classic-sample-open{overflow:hidden}
.classic-sample-dialog{width:min(1100px,calc(100vw - 40px));height:calc(100dvh - 40px);max-width:none;max-height:none;border:1px solid #c6dce8;border-radius:16px;padding:0;background:#edf4f8;color:#203e56;overflow:hidden;box-shadow:0 20px 80px #102f5055}
.classic-sample-dialog::backdrop{background:#102f50b8}
.classic-sample-dialog[open]{display:flex;flex-direction:column}
.classic-sample-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;background:#fff;border-bottom:1px solid #d2e3ed}
.classic-sample-dialog h2{font:700 23px/1.3 'Open Sans',sans-serif!important;color:#24485f;margin:0 0 6px!important}
.classic-sample-dialog p{font:400 14px/1.6 'Open Sans',sans-serif;color:#55758b;margin:0}
.classic-sample-dialog button{min-height:44px;min-width:44px;flex-shrink:0;border:1px solid #bfd7e5;border-radius:9px;padding:9px 13px;background:#fff;color:#215e7e;cursor:pointer;font:600 14px/1.4 'Open Sans',sans-serif}
.classic-sample-dialog button:hover{background:#e8f6ff}
.classic-sample-dialog button:focus-visible,.classic-sample-scroll:focus-visible{outline:3px solid #359bdd;outline-offset:-3px}
.classic-sample-tools{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;padding:10px 16px;border-bottom:1px solid #d2e3ed;background:#f8fbfe}
.classic-sample-tools output{min-width:48px;text-align:center;font:600 14px 'Open Sans',sans-serif}
.classic-sample-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom;padding:16px}
.classic-sample-stage{position:relative;margin:0 auto;box-shadow:0 3px 20px #18394b22}
.classic-sample-stage img{position:absolute;left:0;top:0;max-width:none!important;height:auto;transform-origin:top left}
@media(max-width:1000px) and (min-width:761px){.classic-workspace .classic-builder-with-sample{gap:24px;padding:24px}.classic-workspace .classic-builder-copy h1{font-size:31px!important}.classic-workspace .classic-builder-copy p{font-size:16px!important}}
@media(max-width:760px){
 .classic-workspace .classic-builder-with-sample{display:block;padding:23px 20px}
 .classic-workspace .classic-builder-copy h1{font-size:30px!important}
 .classic-workspace .classic-builder-copy aside{margin-top:18px;padding:13px 15px}
 .classic-workspace .classic-builder-copy aside>p{min-width:110px}
 .classic-builder-sample{margin:24px auto 0;max-width:460px}
 .classic-sample-desktop{display:none}.classic-sample-mobile{display:inline}
 .classic-sample-dialog{width:100vw;height:100dvh;margin:0;border:0;border-radius:0}
 .classic-sample-dialog>header{padding:16px;gap:12px;align-items:start}
 .classic-sample-dialog h2{font-size:19px!important}
 .classic-sample-dialog p{font-size:12px}
 .classic-sample-dialog .classic-sample-close{max-width:90px;font-size:13px}
 body.classic-workspace .classic-sheet-stage{overflow:auto;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom;max-width:100%;border:1px solid #cbdde7;border-radius:4px}
 body.classic-workspace .classic-sheet-stage:focus-visible{outline:3px solid #359bdd;outline-offset:3px}
 body.classic-workspace form:not(.classic-edit-mode)>.paystub .template-scroll-hint{display:block!important}
}

/* Identity fields use the same visible input boundary as the rest of Live Builder. */
body.classic-workspace .classic-sheet-stage input:is(#company_name,#company_address,#full_name,#full_address){border:1px solid #ccc;width:calc(100% - 4px)}
body.classic-workspace .classic-sheet-stage input:is(#company_name,#company_address,#full_name,#full_address):hover{border-color:#969d9f}
body.classic-workspace .classic-sheet-stage input:is(#company_name,#company_address,#full_name,#full_address):focus{border-color:var(--theme-color);outline:2px solid #64b6e5;outline-offset:1px}

@media(max-width:760px){
 body.classic-workspace .classic-sheet-stage .row1.col2{font-size:16px!important;line-height:1.3;white-space:nowrap}
}

/* Center the preview title within the dark area at the bottom of its diagonal banner. */
.classic-workspace .regular-preview-paper .row1.col2{width:36%;padding:0;text-align:center}
.classic-workspace .regular-preview-paper .row1.col1{width:64%}
.classic-statement-title{display:block;box-sizing:border-box;width:80.81632653%;margin-left:19.18367347%;padding:0 12px;text-align:center;white-space:nowrap}

/* A dismissible, once-per-browser introduction for the phone worksheet. */
.classic-sheet-frame{position:relative;width:100%;min-width:0}
.classic-live-intro{display:none}
.classic-live-intro[hidden]{display:none!important}
@media(max-width:760px){
 body.classic-workspace .classic-live-intro{position:absolute;inset:0;z-index:5;display:flex;justify-content:center;align-items:flex-start;width:100%;height:100%;margin:0;padding:30px 15px;border:0;border-radius:5px;background:#163d5b99;cursor:pointer;color:#23465f;font-family:'Open Sans',sans-serif;text-align:center;box-sizing:border-box;touch-action:pan-y}
 .classic-live-intro-card{display:flex;align-items:center;flex-direction:column;gap:12px;width:100%;max-width:340px;padding:22px 18px 20px;border:2px solid #a3d9f5;border-radius:20px;background:linear-gradient(145deg,#fff,#f2f9fd);box-shadow:0 14px 40px #12364b40;box-sizing:border-box}
 .classic-live-intro-graphic{display:block;width:200px;max-width:100%;line-height:0}
 .classic-live-intro-graphic svg{width:100%;height:auto}
 .classic-live-intro-card strong{font-size:24px;line-height:1.2;letter-spacing:-.5px;color:#173e5c}
 .classic-live-intro-copy{font-size:16px;line-height:1.5;color:#446b83}
 .classic-live-intro-foot{font-size:12px;line-height:1.5;color:#22739d;padding-top:6px}
 .classic-live-intro-swipe{animation:classic-intro-swipe 2.5s ease-in-out infinite}
 .classic-live-intro:focus-visible{outline:3px solid #007bc7;outline-offset:-4px}
}
@keyframes classic-intro-swipe{0%,100%{transform:translateX(-5px)}50%{transform:translateX(5px)}}
@media(prefers-reduced-motion:reduce){.classic-live-intro-swipe{animation:none}}
@media(max-width:760px){body.classic-workspace .classic-live-intro-graphic svg{display:block;width:200px!important;max-width:100%;height:118px!important}}

/* One 16px statement heading across worksheet and full-screen preview. */
body.classic-workspace .classic-sheet-stage .row1.col1{width:61%;text-align:left}
body.classic-workspace .classic-sheet-stage .row1.col2{width:39%;padding:0;font-size:16px!important;line-height:1.3;white-space:nowrap}
.classic-workspace .regular-preview-paper .row1.col2{font-size:16px!important;line-height:1.3}

/* Check numbers are identifiers and stay left aligned in both live worksheets. */
body.classic-workspace .classic-sheet-stage input:is(#chkNo,[id^="chkNos"]),body.classic-workspace .classic-sheet-stage input:is(#chkNo,[id^="chkNos"])::placeholder{text-align:left!important}

/* Match the desktop worksheet on every screen; smaller viewports scroll the same canvas. */
body.classic-workspace .classic-sheet-stage>:is(.ps_calculator_regular,.ps_calculator_enhanced){width:769px!important;min-width:769px!important;max-width:none!important;float:none!important;overflow:visible!important;transform:none!important}
body.classic-workspace .classic-sheet-stage table{width:100%!important}
.classic-workspace .regular-preview-paper .regular-preview-earning-cell{height:auto!important;padding-top:3px!important;padding-bottom:3px!important;vertical-align:top!important;line-height:20px!important}
.classic-workspace .regular-preview-paper .regular-preview-earning-label{display:block;font:400 13px/20px 'Open Sans',sans-serif!important;color:#253d4e}
.classic-workspace .regular-preview-paper .ps_calculator_regular .regular-preview-earning-label{line-height:16px!important}
.regular-preview-dialog .regular-preview-tools button[aria-pressed=true]{background:#e5f3fb;border-color:#79aeca;color:#1c587a}

/* Empty required fields keep accessible guidance without stretching the live worksheet.
   Simple Form and explanations for invalid, nonempty values remain visible. */
body.classic-workspace form:not(.classic-edit-mode) .classic-sheet-stage .classic-field-error.classic-required-error{
 display:block!important;position:absolute!important;width:1px!important;height:1px!important;
 padding:0!important;margin:-1px!important;overflow:hidden!important;
 clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;
}

/* Halve the blank space on each side of the statement title. */
body.classic-workspace .classic-sheet-stage .row1.col1{width:auto}
body.classic-workspace .classic-sheet-stage .row1.col2{width:269px}
.classic-workspace .regular-preview-paper .row1.col1{width:auto}
.classic-workspace .regular-preview-paper .row1.col2{width:269px}
