/* 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:#8f5335}
.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:#855741}
.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:#855944}
.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 #e6c8b9;border-radius:9px;background:#fff;color:#98471e;font:700 14px/1.5 'Open Sans',sans-serif;cursor:pointer}
.regular-preview-launch:hover{border-color:#bc6439;background:#f5f0e7}
.regular-view-note{font-size:14px!important;line-height:1.6;color:#8c6755;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 #f3d7c9;border-radius:50%;background:#fff1ea;color:#b45424;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,#f5f0e7,#f5f0e7)}
.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:#683e29}
.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 #f2dbd0}
.regular-field-marker{display:inline-block;font-size:12px;font-weight:500;line-height:1.4;margin-left:7px;color:#917465}
.regular-required{color:#ba5625;font-size:16px;font-weight:750}
.regular-field-help{display:block;font-size:13px;color:#8e6856;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:#8c6958;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:#5f3825}
.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:#845e4c}.regular-order-summary dd{margin:0;font-weight:650;white-space:nowrap;color:#653c28}
.regular-order-summary .regular-order-total{border-top:1px solid #edd5c9;margin-top:8px;padding-top:13px}
.regular-order-total dt{font-size:16px;font-weight:700;color:#5e3623}
.regular-order-total dd{font-size:29px;line-height:1.2;letter-spacing:-.8px;color:#b65424}
.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:#89614d}
.regular-action-right small{font-size:12px;color:#916b59;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 #e5cabc;border-radius:17px;background:#f5f0e7;color:#563220;box-shadow:0 24px 80px #4b231040;overflow:hidden}
.regular-preview-dialog::backdrop{background:#502510b8}
.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 #eddbd2;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:#5f3724}
.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:#8e6b5a;margin:0}
.regular-preview-dialog button{min-width:44px;min-height:44px;border:1px solid #e4c8ba;border-radius:8px;background:#fff;color:#98471e;font:700 14px/1.4 'Open Sans',sans-serif;padding:9px 13px;cursor:pointer}
.regular-preview-dialog button:hover{background:#fdefe8}.regular-preview-dialog button:focus-visible,.regular-preview-launch:focus-visible{outline:3px solid #dd6c35;outline-offset:3px}
.regular-preview-tools{display:flex;align-items:center;justify-content:center;gap:9px;padding:12px 16px;background:#f5f0e7;border-bottom:1px solid #eddbd2;flex-shrink:0;flex-wrap:wrap}
.regular-preview-tools output{min-width:49px;text-align:center;font-size:14px;font-weight:700;color:#80523c}
.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 #63351f1a;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:#4e3325;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,#592c16 0%,#783c1e 65%,#914925 100%);border-color:#743c20;box-shadow:0 12px 30px #572c1710}
.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 #f3d2c230;border-radius:50%;box-shadow:0 0 0 45px #efc9b709,0 0 0 90px #efc9b707}
.classic-workspace .classic-builder-hero h1{color:#fff!important}
.classic-workspace .classic-builder-hero .eyebrow{color:#e3b6a0}
.classic-workspace .classic-builder-hero p{color:#f5e7e0}
.classic-workspace .classic-builder-tags{color:#eddad0}
.classic-workspace .classic-builder-hero aside{background:#fff;border-color:#eeddd5;box-shadow:0 8px 20px #4b251218}
.classic-workspace .classic-status:not(.error){background:#fff;border-color:#eedfd7;border-left:4px solid #9b4b23;color:#7f5642!important}
.classic-workspace .classic-status:not(.error)::before{content:'i';display:inline-grid;place-items:center;border:1px solid #aa7b64;color:#7b3e20;width:19px;height:19px;margin-right:9px;border-radius:50%;font:700 12px/1 Arial,sans-serif}
.classic-workspace .classic-mobile-tabs{background:#f5f0e7;border-color:#ebd9d0}
.classic-workspace .classic-mobile-tabs button[aria-pressed=true]{background:#be5826;color:#fff;box-shadow:0 3px 8px #b3532423}
.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,#693a23,#7d472c);color:#fff;border-color:#865238;font-weight:600;box-shadow:inset 0 1px 0 #ffffff1f,0 3px 8px #63341d12}
.classic-workspace .regular-preview-launch:hover{background:linear-gradient(120deg,#784228,#8b4f32);border-color:#a0674b;box-shadow:inset 0 1px 0 #ffffff26,0 4px 12px #63341d22}
.regular-preview-arrow{display:inline-grid;place-items:center;width:32px;height:32px;border:1px solid #ecd3c635;border-radius:8px;background:#eed5c917;font:400 22px/1 Arial,sans-serif;flex:none;color:#f2ddd2}
.classic-workspace .classic-mobile-group[data-editor-group="Order details"]{background:#fff;border-top-color:#be5826}
.classic-workspace .regular-deposit-option .classic-check{background:#f5f0e7;border-color:#dec9bf}
.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:#a55a35!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:#ba724e!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:#a55a35!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:#f5f0e7;border-color:#e9d4c9}
.classic-workspace .classic-preferences>summary{background:#f5f0e7;border-radius:14px}
.classic-workspace .classic-preferences[open]>summary{border-radius:14px 14px 0 0;border-bottom:1px solid #eedbd1;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:#f5f0e7;border:1px solid #eedcd3;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 #e2bcaa;border-radius:9px;background:#f5f0e7;color:#9e4920;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:#fbe8de;border-color:#cf8966}
.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 #dd6c35;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:#a44c211a}
@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:#f5f0e7;border:1px solid #eddbd2;border-radius:9px}
.classic-workspace .regular-worker-type legend{font-size:16px;font-weight:600;color:#683e29;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:#be5826;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 #efe0d8;color:#8a6858;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:#8b6654;background:#f5f0e7;padding:12px 15px;border-radius:9px}
.regular-ytd-setup{grid-column:1/-1;background:#f5f0e7;border:1px solid #eeded6;border-radius:11px;padding:20px;margin:0 0 22px}
.regular-ytd-setup h4{font-size:18px;color:#683e29;margin:0 0 6px}
.regular-ytd-help{font-size:14px!important;line-height:1.7;color:#8f6c5b;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 #dfcfc7!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:#f5f0e7;color:#703e25;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 #8b5b43;border-bottom:2px solid #8b5b43;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 #e6d9d2}
.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 #e7cec1;border-radius:8px;padding:10px 12px;color:#683e29;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:#8d6b5a}
.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:#683e29}
.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:#a34c21;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 #dd6c35;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 #f5f0e7;border-radius:11px;padding:8px}
.regular-pay-totals>div{position:relative;min-width:0;border-radius:8px;padding:9px 14px;background:#f5f0e7}
.regular-pay-totals>div:last-child{background:#fff7e9;box-shadow:inset 0 0 0 1px #f1e3ca}
.regular-pay-totals span{display:block;color:#866d60;font-size:13px;margin-bottom:4px}
.regular-pay-totals strong{display:block;font-size:21px;line-height:1.4;color:#653e2b;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:#957e73;pointer-events:none}
.classic-workspace .regular-total-pending{grid-column:1/-1;font-size:14px!important;color:#926f5e;margin:0!important;line-height:1.65}
.regular-shared-note{font-size:15px!important;font-weight:600;color:#854f34;background:#f5f0e7;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 #e9d4c9;border-radius:12px;background:linear-gradient(115deg,#f5f0e7,#f5f0e7);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:#643721}
.regular-pay-header .regular-section-number{width:40px;height:40px;border-radius:11px;background:#fff;border-color:#e9d0c4;color:#ad5023;font-size:17px;box-shadow:0 2px 6px #73391c0a}
.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 #ecdcd4;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:#97715e;margin-bottom:3px}
.regular-pay-meta>strong{display:block;font-size:14px;line-height:1.6;font-weight:650;color:#734731;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 #e9d0c4;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='%23c44d20' 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 #73391c0a}
.classic-workspace .regular-pay-toggle{display:inline-flex;align-items:center;justify-content:center;gap:12px;flex:none;min-height:42px;border:1px solid #e1c5b7;border-radius:9px;background:#fff;color:#83482b;padding:10px 13px;font:650 14px/1.5 'Open Sans',sans-serif;cursor:pointer}
.classic-workspace .regular-pay-toggle:hover{background:#f5f0e7;border-color:#bf8569}
.regular-pay-toggle:focus-visible{outline:3px solid #dd6c35;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 #dec6ba;border-radius:20px;background:#f5f0e7;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:#f5f0e7;border-left:3px solid #a55a35;border-radius:7px;color:#725242;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 #e9d5cb;border-radius:11px;padding:0;background:#f5f0e7}
.enhanced-workspace .enhanced-extra-earnings>summary{padding:17px 20px;margin:0;font-size:16px;line-height:1.6;color:#844a2e}
.enhanced-workspace .enhanced-extra-earnings[open]>summary{margin:0;border-bottom:1px solid #efdcd3}
.enhanced-workspace .enhanced-extra-earnings .enhanced-earning-help{padding:16px 20px 0;margin:0!important;font-size:14px!important;line-height:1.7;color:#8c6958}
.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:#f5f0e7!important;border:1px solid #edded6;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:#6e4835}
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:#c75c28}
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 #ebdad1;border-top:3px solid #aa5e39;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,#f5f0e7,#f5f0e7);padding:16px 20px;border-bottom:1px solid #eedfd8}
body.classic-workspace .paystub .ps_calculator .psStubBoxes .psStubBox .psStubBoxHead h3{font:700 21px/1.4 'Open Sans',sans-serif;color:#6f3f28;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:#6e4835;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 #e3cbbf;border-radius:8px;box-sizing:border-box;background:#fff;color:#683e29;font:400 16px/1.5 'Open Sans',sans-serif;box-shadow:0 1px 3px #61352004}
body.classic-workspace .paystub .ps_calculator .psStubBoxes .psStubBox .psStubFields input:focus-visible{outline:2px solid #e58f64;outline-offset:2px;border-color:#c75c28}

/* 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:#f5f0e7;font-size:17px;line-height:1.5;color:#75452e}
.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 #efded5}
.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 #ecddd5;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:#f5f0e7;border-bottom:1px solid #f5f0e7;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 #e58f64;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 #e4cbbf;border-radius:8px;font:650 14px/1.5 'Open Sans',sans-serif;color:#854b2e}
.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:#6a3e28;margin:0!important;flex:1}
.classic-workspace .classic-review-heading time{font-size:14px;color:#8f6957;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:#8b6c5d}
.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:#6c402b;margin:0 0 11px}
.classic-workspace .classic-review-table-scroll{overflow-x:auto;border:1px solid #f5f0e7;border-radius:9px}
.classic-workspace .classic-review-table-scroll:focus-visible{outline:2px solid #e58f64;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 #f5f0e7;text-align:right;vertical-align:top;font-variant-numeric:tabular-nums;color:#6d4735}
.classic-workspace .classic-review-table-scroll th{font-size:13px;line-height:1.6;font-weight:700;color:#815743;background:#f5f0e7}
.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:#f5f0e7;font-weight:700;color:#653e2b}
.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:#8b6c5d}
@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 #a88777;border-radius:50%;background:#fff;color:#764831;font:700 12px/1 Arial,sans-serif;vertical-align:middle;cursor:pointer}
.classic-workspace .classic-exemptions-help:hover{background:#f5f0e7}
.classic-workspace .classic-exemptions-help:focus-visible{outline:2px solid #c85d28;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 #e8d3c8;border-radius:16px;background:#fff;color:#643c29;box-shadow:0 20px 70px #4b231038}
.classic-exemptions-dialog::backdrop{background:#4c271580}
.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:#f5f0e7;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 #e6cfc3;border-radius:8px;background:#f5f0e7;color:#7a4024;font:600 14px/1.4 'Open Sans',sans-serif;cursor:pointer}
.classic-exemptions-dialog button:first-child{background:#783e21;border-color:#783e21;color:#fff}
.classic-exemptions-dialog button:focus-visible{outline:3px solid #df6e36;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:#f5f0e7}
.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:#e6d4cb;border-radius:9px;background:#fff;color:#764a35;font-weight:600;line-height:1;box-shadow:0 1px 2px #60382408}
.regular-preview-dialog .regular-preview-tools button:hover{background:#f5f0e7;border-color:#cea794}
.regular-preview-zoom{display:inline-flex;align-items:center;box-sizing:border-box;height:44px;padding:1px;border:1px solid #e6d4cb;border-radius:11px;background:#fff;box-shadow:0 1px 2px #60382408}
.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:#653924;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:#a27965}
.regular-preview-dialog .regular-preview-close{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;border:1px solid #e6d3ca;border-radius:9px;background:#f5f0e7;color:#6e4531;padding:10px 14px;font-weight:600}
.regular-preview-close::before{content:'×';font:400 22px/1 Arial,sans-serif;color:#997462}
.regular-preview-dialog .regular-preview-close:hover{background:#f5f0e7;border-color:#cfac9b}
@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 #ebdad2;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:#6e4835}
.classic-workspace .classic-extra-lines th,.classic-workspace .classic-extra-lines td{padding:12px 16px;border:0;border-bottom:1px solid #f5f0e7;text-align:right;vertical-align:middle;font-variant-numeric:tabular-nums}
.classic-workspace .classic-extra-lines th{background:#f5f0e7;font-size:13px;font-weight:700;color:#764a35}
.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:#4e3325}
.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:#e9d5cb}
#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 #e9d1c5;border-radius:8px;background:#fff;color:#5d3a29;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 #e9d5cb;border-radius:9px;background:#fff;min-width:0}
.classic-workspace #pp-ytd-inputs summary{cursor:pointer;font-size:14px;line-height:1.6;color:#7b472e;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:#927161}
#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:#724935}
#pp-ytd-inputs .pp-check{line-height:1.7}
#pp-ytd-inputs .pp-check input{margin-right:8px;accent-color:#c75c28}
#pp-ytd-inputs .hint,#pp-ytd-inputs .pp-auto{font-size:12px!important;line-height:1.7;color:#916e5d;margin:12px 0 0!important}
#pp-ytd-inputs .pp-ytd-note{margin-top:16px!important}
.pp-custom-history{border-top:1px solid #efe0d8;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:#724935}
#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 #eddcd3;border-radius:8px;background:#f5f0e7;color:#724935;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 #e9d5cb;border-radius:11px;background:#fff}
.regular-ytd-card h4{margin:0 0 8px;font:700 16px/1.5 'Open Sans',sans-serif;color:#683e29}
.classic-workspace .regular-ytd-summary{margin:0 0 15px!important;color:#8c6b5b;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 #e6cbbd;border-radius:8px;background:#f5f0e7;color:#864423;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:#fae9e1;border-color:#cf977b}
.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 #e6ccbf;border-radius:16px;background:#fff;color:#683e29;box-shadow:0 24px 80px #4b231040;overflow:hidden}
.regular-ytd-dialog::backdrop{background:#572c1780}
.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 #efe0d8;background:#f5f0e7;flex:none}
.regular-ytd-dialog h2{font:700 23px/1.4 'Open Sans',sans-serif!important;color:#683e29;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:#8d6b5a;margin:0!important}
.regular-ytd-dialog button{min-height:44px;border:1px solid #e5cbbe;border-radius:8px;padding:10px 16px;background:#fff;color:#82472a;font:700 14px/1.5 'Open Sans',sans-serif;cursor:pointer}
.regular-ytd-dialog button:hover{background:#f5f0e7}
.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 #efe0d8;flex:none;background:#f5f0e7}
.regular-ytd-dialog .regular-ytd-done{min-width:100px;background:#844424;border-color:#844424;color:#fff}
.regular-ytd-dialog .regular-ytd-done:hover{background:#70381c}
.regular-ytd-dialog button:focus-visible,.regular-ytd-launch:focus-visible{outline:3px solid #d77f54;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 #e9d5cb;border-radius:10px;background:#fff}
.enhanced-earning-pair legend{padding:0 7px;font:700 16px/1.5 'Open Sans',sans-serif;color:#75452d}
.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 #efe0d9;background:#fff;box-shadow:0 12px 28px #3c1c0c35;text-decoration:none;color:#763d21}
.classic-builder-sample>a:hover{box-shadow:0 14px 32px #3c1c0c55;border-color:#dea88e}
.classic-builder-sample>a:focus-visible{outline:3px solid #eebca3;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 #f5f0e7;background:#f5f0e7;font-size:15px;font-weight:700}
.classic-builder-sample figcaption{text-align:center;color:#f2dfd5;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 #e8d1c6;border-radius:16px;padding:0;background:#f5f0e7;color:#563220;overflow:hidden;box-shadow:0 20px 80px #50251055}
.classic-sample-dialog::backdrop{background:#502510b8}
.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 #eddbd2}
.classic-sample-dialog h2{font:700 23px/1.3 'Open Sans',sans-serif!important;color:#5f3724;margin:0 0 6px!important}
.classic-sample-dialog p{font:400 14px/1.6 'Open Sans',sans-serif;color:#8b6755;margin:0}
.classic-sample-dialog button{min-height:44px;min-width:44px;flex-shrink:0;border:1px solid #e5ccbf;border-radius:9px;padding:9px 13px;background:#fff;color:#7e4021;cursor:pointer;font:600 14px/1.4 'Open Sans',sans-serif}
.classic-sample-dialog button:hover{background:#fff0e8}
.classic-sample-dialog button:focus-visible,.classic-sample-scroll:focus-visible{outline:3px solid #dd6c35;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 #eddbd2;background:#f5f0e7}
.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 #4b291822}
.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 #e7d4cb;border-radius:4px}
 body.classic-workspace .classic-sheet-stage:focus-visible{outline:3px solid #dd6c35;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 #e58f64;outline-offset:1px}

@media(max-width:760px){
 body.classic-workspace .classic-sheet-stage .row1.col2{font-size:16px!important;font-weight:600!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:268px;padding:0;text-align:center}
.classic-workspace .regular-preview-paper .row1.col1{width:calc(100% - 268px)}
.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:#5b2d1699;cursor:pointer;color:#5f3723;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 #f5bea3;border-radius:20px;background:linear-gradient(145deg,#fff,#f5f0e7);box-shadow:0 14px 40px #4b251240;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:#5c2e17}
 .classic-live-intro-copy{font-size:16px;line-height:1.5;color:#835944}
 .classic-live-intro-foot{font-size:12px;line-height:1.5;color:#9d4b22;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 #c75c28;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:calc(100% - 268px);text-align:left}
body.classic-workspace .classic-sheet-stage .row1.col2{width:268px;padding:0;font-size:16px!important;font-weight:600!important;line-height:1.3;white-space:nowrap}
.classic-workspace .regular-preview-paper .row1.col2{font-size:16px!important;font-weight:600!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:#4e3325}
.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:#fbece5;border-color:#ca9479;color:#7a3b1c}

/* Required-field guidance stays accessible without changing the live document grid. */
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}
