:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#20312e;background:#f5f7f4;font-size:15px;--green:#165d4c;--muted:#65736d;--border:#dce4de}*{box-sizing:border-box}body{margin:0}header{height:88px;padding:0 5vw;background:white;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:24px}.brand{text-decoration:none;color:#20312e;font-weight:700;display:flex;align-items:center;gap:14px;letter-spacing:-.3px}.brand-sub{display:block;font-size:10px;letter-spacing:2px;color:var(--muted);margin-top:5px}.mark{background:var(--green);color:white;padding:12px 10px;border-radius:10px}.badge{font-size:10px;letter-spacing:1.5px;border:1px solid #c7d9c6;color:#3a6242;background:#eef6eb;border-radius:5px;padding:7px 10px;margin-left:auto}main{max-width:1180px;margin:auto;padding:44px 28px 70px}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--green)}h1{font-size:40px;line-height:1.12;letter-spacing:-1.6px;margin:12px 0}h2{font-size:21px;letter-spacing:-.5px;margin:0 0 7px}p{color:var(--muted);line-height:1.6;margin:8px 0 18px}.card{background:white;border:1px solid var(--border);border-radius:14px;padding:28px;margin-bottom:22px;box-shadow:0 3px 10px #20312e03}.login{max-width:660px;margin:48px auto;padding:50px}.login h1{font-size:50px;margin:18px 0 25px}.login p{max-width:480px}.login button{margin:12px 0 25px}button{font:inherit;border:0;border-radius:7px;background:var(--green);color:white;padding:12px 19px;font-weight:600;cursor:pointer}button:hover{filter:brightness(.94)}button:disabled{opacity:.5;cursor:wait}button.secondary{background:white;color:var(--green);border:1px solid #bdcec3}button.quiet{background:transparent;color:var(--green)}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #79ab92;outline-offset:3px}.safety{display:flex;gap:12px;align-items:center;background:#e9f1eb;padding:16px 20px;border-radius:8px;font-size:13px}.safety span:last-child{color:#526c5b}.dot{width:7px;height:7px;border-radius:50%;background:#438c67}nav{display:flex;border-bottom:1px solid var(--border);gap:25px;margin:25px 0}.tab{background:none;color:var(--muted);border-radius:0;padding:15px 0}.tab.active{color:var(--green);border-bottom:3px solid var(--green)}.section-title{display:flex;gap:16px;margin-bottom:20px}.section-title p{margin:0}.step{background:#f0f4ef;border:1px solid var(--border);color:var(--green);border-radius:8px;padding:10px;height:40px;font-size:13px;font-weight:700}.grid2,.grid3{display:grid;gap:20px;grid-template-columns:repeat(2,minmax(0,1fr))}.grid3{grid-template-columns:repeat(3,minmax(0,1fr))}label{display:block;font-size:13px;font-weight:600;color:#42584e}input,select{font:inherit;color:#25382d;padding:10px;border:1px solid #cbd7cd;border-radius:6px;background:white;max-width:100%}label>input,label>select{display:block;width:100%;margin-top:8px}.upload{border:1px dashed #a8c2af;border-radius:8px;background:#fafcf9;padding:20px}.upload strong,.upload span{display:block}.upload span{color:var(--muted);font-weight:400;font-size:12px;margin:9px 0 16px}.upload input{border:0;padding:0;font-size:12px}.check{display:flex;align-items:flex-start;gap:10px;margin:22px 0;font-weight:400;line-height:1.6}.check input{width:auto;margin-top:4px}.small{font-size:12px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.5px;font-weight:600;background:#f7f9f5;padding:13px}td{border-bottom:1px solid #edf0eb;padding:13px;vertical-align:middle}td select{min-width:220px;width:100%}td strong{display:block}.sub{font-size:11px;color:var(--muted);margin-top:4px}.exception{border-left:3px solid #d6a642;padding:12px 18px;background:#fcf8ed;margin:12px 0}.exception input{width:100%;margin-top:10px}.actions{display:flex;gap:15px;align-items:center;justify-content:flex-end;margin:22px 0}.actions p{margin:0;margin-right:auto;max-width:650px;font-size:13px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:22px 0}.metric{padding:20px;background:#f3f7f2;border-radius:8px}.metric span{display:block;color:var(--muted);font-size:12px;margin-bottom:10px}.metric strong{font-size:26px;letter-spacing:-.8px}.pill{font-size:11px;padding:5px 8px;border-radius:4px;white-space:nowrap}.match{background:#e8f3e8;color:#326e39}.difference{background:#fff1d8;color:#795b17}.missing{background:#f4e9e6;color:#8b493b}.employee-button{background:none;color:var(--green);padding:0;text-align:left;font-weight:600}.earning{display:grid;grid-template-columns:2fr 1.2fr 1fr 2fr auto;gap:10px;margin:15px 0;align-items:end}.earning button{padding:10px}#notice:not(:empty){padding:16px 20px;border-radius:8px;background:#fff2d7;border:1px solid #ead6a5;margin-bottom:20px;line-height:1.5}dialog{border:1px solid var(--border);border-radius:15px;max-width:780px;width:95%;padding:30px}dialog::backdrop{background:#10291f55}dialog>.quiet{float:right}.history-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);gap:20px;padding:18px 0}footer{border-top:1px solid var(--border);padding:25px 5vw;color:var(--muted);font-size:12px;display:flex;justify-content:space-between}[hidden]{display:none!important}@media(max-width:760px){header{padding:0 18px;gap:10px}.badge{font-size:8px}main{padding:28px 16px}.heading{display:block}h1{font-size:32px}.card{padding:20px}.grid2,.grid3,.metrics{grid-template-columns:1fr}.safety{align-items:flex-start;flex-wrap:wrap}.earning{grid-template-columns:1fr}.actions{flex-wrap:wrap}.login{padding:30px}.login h1{font-size:38px}footer{gap:20px}}

.validation-summary{border:2px solid #b54736;background:#fff4f0;border-radius:9px;padding:20px;margin:20px 0;color:#802a21}.validation-summary ul{padding-left:20px;margin-bottom:0}.validation-link{background:none;color:#802a21;padding:6px 0;text-align:left;text-decoration:underline;font-weight:500;line-height:1.5}.field-error{font-size:13px;color:#a12e22;margin:7px 0 12px;line-height:1.5}[aria-invalid="true"]{outline:2px solid #b54736!important;outline-offset:2px;background:#fff7f4!important}#sourceMode{margin-bottom:20px;justify-content:space-between}#sourceMode span{font-weight:600}button[aria-busy="true"]{cursor:progress}

#setupContent pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px} #setupNav{display:flex;gap:8px;flex-wrap:wrap} #setupView textarea{width:100%;max-width:100%;font:inherit} #setupContent .field-error{display:block} #setupContent input[aria-invalid="true"],#setupContent select[aria-invalid="true"]{border:2px solid #b54708;background:#fff8ed}

#taxesView details,#taxInputs details{margin:14px 0;padding:14px;border:1px solid var(--border);border-radius:8px}#taxesView summary,#taxInputs summary{cursor:pointer;font-weight:600}#taxesView input,#taxInputs input,#taxInputs select{width:100%}#taxesView input[type=checkbox],#taxInputs input[type=checkbox]{width:auto}#taxesView pre,#detailsBody pre{white-space:pre-wrap;overflow-wrap:anywhere}#taxesView .small{overflow-wrap:anywhere}#taxesView dl{display:grid;grid-template-columns:1fr 1fr;gap:8px}#taxesView dd{margin:0}#taxInputs details>.grid3{margin:18px 0}nav{flex-wrap:wrap}
/* Company and people workspace: existing actions retain their handlers. */
main{max-width:1380px;padding-top:28px}.heading{margin-bottom:18px}.heading h1{font-size:30px;letter-spacing:-.8px}.heading p{margin-bottom:0}header{height:76px}.badge{font-size:12px;letter-spacing:.3px;font-weight:700}nav[aria-label=Workspace]{gap:12px;margin:20px 0 28px;position:sticky;top:0;background:#f5f7f4;z-index:5;padding:6px 0}.tab{padding:13px 20px;border-radius:8px}.tab.active{background:#e5eee8;border-bottom:0}.form-group{border-top:1px solid var(--border);padding-top:22px;margin-top:26px}.form-group h3{margin:0 0 16px;font-size:17px}.form-group p{max-width:850px;font-size:14px}.form-group .grid3{gap:18px 24px}label{font-size:14px}input,select,textarea{min-height:44px}input[type=checkbox]{min-height:auto}textarea{font:inherit;width:100%;border:1px solid #cbd7cd;border-radius:6px;padding:12px}textarea:focus-visible,summary:focus-visible{outline:3px solid #79ab92;outline-offset:3px}summary{cursor:pointer;line-height:1.5;font-weight:600;padding:12px 0}#setupNav button{padding:11px 16px}#setupNav button[aria-current=step]{box-shadow:inset 0 -3px 0 #0b3d30}#setupView>.card:first-child{padding:24px}#setupView>.card:first-child>.actions{margin:12px 0}#setupView>.card:first-child>details{margin:12px 0;font-size:13px}#setupStatus{font-size:13px;margin-bottom:16px}#calendarPreview{margin-top:22px;border:1px solid var(--border);border-radius:10px;padding:18px;background:#f8faf8;overflow-x:auto}#calendarPreview p{margin-top:0}#calendarPreview th{font-size:12px}#setupContent>.card>h3{font-size:22px;margin-top:0}.onboarding-employee{border:1px solid var(--border);border-radius:12px;background:white;margin:12px 0;padding:6px 20px}.onboarding-employee>.card{border:0;box-shadow:none;margin:0;padding:15px 0}.employee-directory{margin:22px 0}.directory-list{max-height:340px;overflow:auto;margin-top:18px;border:1px solid var(--border);border-radius:9px}.directory-list th{position:sticky;top:0;background:#f0f5f1;z-index:1}.directory-list td{font-size:14px}.selected-row{background:#edf5ef}.employee-profile h3{font-size:24px;margin:0 0 12px}.profile-section{border-top:1px solid var(--border);padding:5px 0}.profile-section dl,#employeeChangeReview dl{display:grid;grid-template-columns:minmax(180px,1fr) 2fr;gap:12px 24px;margin:12px 0 22px}.profile-section dt{color:#52645b}.profile-section dd{margin:0;overflow-wrap:anywhere}.quick-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 24px}.employee-change>label{max-width:700px;margin:16px 0}.employee-change>.grid3{margin:20px 0}.small{font-size:13px;color:#52645b}#employeesView>section:last-child details{border-top:1px solid var(--border)}#employeesView>section:last-child dl{overflow-wrap:anywhere}button:disabled{cursor:not-allowed}button[aria-busy=true]{cursor:progress}@media(max-width:760px){nav[aria-label=Workspace]{position:static;gap:4px}.tab{padding:12px 10px}.profile-section dl{grid-template-columns:1fr;gap:5px}.profile-section dd{margin-bottom:14px}.heading h1{font-size:27px}.directory-list{max-height:360px}.card{padding:20px}.badge{font-size:11px}.form-group .grid3{grid-template-columns:1fr}}


#saveSetup{display:none}

.form-group label:has(#setup-business-0-name),.form-group label:has(#setup-business-0-address1){grid-column:span 2}#setupContent>h2{display:none}@media(max-width:760px){.form-group label:has(#setup-business-0-name),.form-group label:has(#setup-business-0-address1){grid-column:auto}}

/* Payroll preparation: one readable employee worksheet with fixed identity column. */
#payrollFlow .run-wide { max-width:none; }
#payrollFlow #runEntries { min-width:1500px; }
#payrollFlow #runEntries th:first-child, #payrollFlow #runEntries td:first-child { position:sticky;left:0;background:#fff;z-index:1;min-width:175px; }
#payrollFlow #runEntries th:first-child { background:#eef4f1; }
#payrollFlow #runEntries input { width:100%;min-width:85px;max-width:130px; }
#payrollFlow #runEntries td { vertical-align:top; }
#payrollFlow #runEntries td:nth-child(2) { min-width:155px; }
#payrollFlow #runEntries label { font-size:12px; }
#payrollFlow #runEntries [data-row-status] { display:block;margin-bottom:10px; }
#payrollFlow #runEntries tr[aria-invalid=true] td { background:#fff3e8; }
#payrollFlow .employee-picker { display:flex;flex-wrap:wrap;gap:12px 24px; }
#payrollFlow .employee-picker h3 { flex-basis:100%; }
#payrollFlow .employee-picker label { display:flex;align-items:center;gap:8px; }
#payrollFlow .employee-picker input { min-height:auto;width:auto; }
#runTimeRows input { min-width:190px; }
#runTimeRows table { font-size:13px; }
#payrollDetails { width:min(1100px,94vw);max-width:1100px;max-height:88vh;overflow:auto;padding:28px;border:1px solid #d8e3dd;border-radius:16px; }
#payrollDetails section,#payrollDetails details { margin:20px 0;padding:18px 0;border-top:1px solid #e0e8e3; }
#payrollDetails label { display:block;margin:12px 0; }
#payrollDetails input[type=checkbox] { width:auto;min-height:0;margin-left:12px; }
#payrollDetails pre { white-space:pre-wrap; }
#payrollOutput table { min-width:1800px; }
#payrollOutput .metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
@media(min-width:1500px){body:has(#newView:not([hidden])) main { max-width:1700px; }}
@media(max-width:700px){#payrollOutput .metrics { grid-template-columns:1fr 1fr; }}

.garnishment-notification{grid-column:1 / -1;background:#eef4f0;border:1px solid #bdcec3;border-left:4px solid var(--green);border-radius:8px;padding:16px 20px;margin:8px 0 18px}.garnishment-notification strong{color:#20312e}.garnishment-notification p{margin:6px 0 0;color:#42584e}

#accessView{overflow-wrap:anywhere}#accessView>details{margin-top:16px}#accessView table{table-layout:fixed;width:100%}#accessView th,#accessView td{white-space:normal;vertical-align:top}#accessView td button{margin-top:8px}#accessEditor fieldset{border:1px solid #d4dfd9;border-radius:10px;margin:20px 0;padding:16px}#accessEditor fieldset label{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 0}#accessEditor input[type=checkbox]{width:20px;min-height:20px;flex-shrink:0}#accessEditor button{margin-right:10px}#passwordLogin{max-width:500px}#passwordLogin label{margin:18px 0}#adminRecovery{margin-top:20px}

#businessContext{display:flex;gap:12px;align-items:center;flex-wrap:wrap}#businessContext label{margin:0;font-size:12px}#businessSelector{min-width:220px;max-width:420px;margin-top:3px}.business-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.business-card{border:1px solid var(--line,#dbe5df);padding:20px;border-radius:12px}.business-create{border-top:1px solid #dbe5df;margin-top:24px;padding-top:20px}.business-create input{max-width:540px}#switchBusinessDialog{max-width:540px;border:1px solid #dbe5df;border-radius:16px;padding:28px}#switchBusinessDialog button{margin:8px 8px 0 0}@media(max-width:700px){#businessContext{width:100%}#businessSelector{min-width:160px;max-width:100%}}

#onboardingView .business-card{margin:16px 0}#onboardingView button{margin:8px 10px 8px 0}#onboardingView input[type=checkbox]{width:20px;min-height:20px;margin-left:12px}#onboardingView dt{font-weight:600;margin-top:10px}#onboardingView dd{margin:2px 0 12px;overflow-wrap:anywhere}#onboardingView .grid3{margin:20px 0}

.withholding-form{max-width:1000px;margin-inline:auto}.withholding-form h3{margin-top:2rem}.withholding-form label{line-height:1.5}.signature-jurat{padding:1rem;background:#f1f5f2;border-left:4px solid #315c50;font-weight:600}

#supportDialog{max-height:90vh;overflow:auto}#supportDialog button{margin:8px 8px 8px 0}#supportDialog textarea{min-height:110px}#supportDialog details{border-top:1px solid var(--border);padding:16px 0}#supportDialog input[type=checkbox]{width:auto;margin-right:8px}#supportDialog p{overflow-wrap:anywhere}

.help-actions{display:flex;gap:10px;flex-wrap:wrap;flex-shrink:0}#helpDialog{max-width:900px;max-height:90vh;overflow:auto}.help-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.help-controls{display:grid;grid-template-columns:2fr 1fr;gap:18px}.help-controls input,.help-controls select{width:100%}#helpResults details{border-top:1px solid var(--border);padding:16px 0}#helpResults summary{font-weight:650;cursor:pointer;line-height:1.5}#helpResults p,#helpResults li{line-height:1.65;max-width:75ch}#helpResults li{margin:8px 0}.help-category{font-size:12px;color:var(--green);margin-top:12px}.help-footer{border-top:1px solid var(--border);padding-top:18px;margin-top:10px}#helpDialog button{margin-bottom:8px}#loginFaq{margin-left:12px}@media(max-width:650px){.help-controls{grid-template-columns:1fr;gap:0}.help-actions{margin-top:16px}#helpDialog{padding:20px}.help-heading h2{font-size:22px}}

.report-library{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:18px}.report-card{margin:0!important}.report-card h3{margin:0}.report-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.report-star{font-size:24px;padding:5px 12px}.report-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.report-scroll{overflow-x:auto;margin-top:20px}.report-scroll th{white-space:nowrap}.report-scroll td{vertical-align:top;min-width:100px}.report-scroll td .small{max-width:320px}.report-scroll td button{margin:4px 0}#reportDialog{width:min(960px,92vw);max-height:85vh;overflow:auto}#reportDialog form{display:grid;gap:16px}.report-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.report-columns label{display:flex;align-items:center;gap:8px}.report-columns input{width:auto}@media print{body:has(#reportOutput) header,body:has(#reportOutput) nav,body:has(#reportOutput) footer,body:has(#reportOutput) .heading,body:has(#reportOutput) #reportsView>form,body:has(#reportOutput) #reportsView>section:first-child,body:has(#reportOutput) button{display:none!important}.report-scroll{overflow:visible}.report-scroll table{font-size:9pt}.report-scroll td{min-width:0}.card{box-shadow:none;border:0}}

.government-payment-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin:1rem 0}.government-payment-summary section{padding:1rem;background:#f2f6f3;border-radius:8px}.government-payment-summary h3{font-size:.95rem;margin:0 0 .6rem}.government-payment-summary strong{font-size:1.6rem}

#reportDialog .delivery-consent-check{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:16px 0;line-height:1.5}#reportDialog .delivery-consent-check input[type=checkbox]{width:20px;height:20px;min-height:20px;margin:0}

/* Display the supplied logo without altering its original image. */
header{height:104px}.brand{flex-shrink:0}.brand-logo{display:block;width:240px;height:104px;object-fit:cover;object-position:center}
@media(max-width:600px){header{height:auto;min-height:88px;padding:0 12px;gap:8px;flex-wrap:wrap}.brand-logo{width:156px;height:72px}header .badge{letter-spacing:.5px;padding:6px 8px}header #signOut{padding:8px;font-size:13px}}

.report-brand{font-weight:700;color:#2f4552;letter-spacing:.2px;margin-bottom:8px}

/* Help remains inside an open dialog's focus boundary, without blocking its inputs. */
.worksheet-help-link{font-size:13px;padding:6px 10px;margin:0 0 12px}#worksheetHelp{position:fixed;inset:12px 12px 12px auto;width:370px;max-width:40vw;box-sizing:border-box;background:#fff;color:var(--ink,#23332f);border:1px solid var(--border,#ccd7d2);border-radius:12px;padding:20px;overflow:auto;z-index:1000;box-shadow:0 8px 30px #0002;text-align:left}#worksheetHelp h2{font-size:21px;margin:0}#worksheetHelp .help-heading{align-items:flex-start}#worksheetHelp input{width:100%;box-sizing:border-box}#worksheetHelp p,#worksheetHelp li{font-size:14px;line-height:1.6}#worksheetHelp details{border-top:1px solid var(--border,#ccd7d2);padding:14px 0}#worksheetHelp summary{cursor:pointer;font-weight:650}#worksheetHelp ol{padding-left:22px}body.with-worksheet-help{padding-right:400px}dialog.with-worksheet-help{margin-left:auto;margin-right:405px;max-width:calc(100vw - 440px)!important}#worksheetHelp button{white-space:nowrap}@media(max-width:850px){body.with-worksheet-help{padding-right:0;padding-top:42vh}dialog.with-worksheet-help{margin:43vh auto 10px;max-width:95vw!important;max-height:54vh}#worksheetHelp{inset:8px 8px auto;width:calc(100vw - 16px);max-width:none;height:39vh}#worksheetHelp .help-heading{position:sticky;top:-20px;background:white;padding:8px 0} }@media print{#worksheetHelp,.worksheet-help-link{display:none!important}body.with-worksheet-help{padding:0}}
@media(max-width:850px){#worksheetHelp{padding:12px}#worksheetHelp>.small{display:none}#worksheetHelp .help-heading{top:-12px;padding:0 0 8px}#worksheetHelp label{margin:8px 0}#worksheetHelp input{padding:8px}#worksheetHelp>p{margin:8px 0}#worksheetHelp details{padding:10px 0}}
