.theme-control{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;max-width:1180px;margin:12px auto;padding:0 24px;font:14px/1.5 system-ui;color:#193e2b}.theme-control label{font:600 14px system-ui;margin:0}.theme-control select{width:auto;max-width:100%;font:14px system-ui;border:1px solid #a8b9ad;border-radius:8px;background:#fff;color:#193e2b;padding:10px 12px;min-height:44px}select:focus-visible{outline:3px solid #82b597;outline-offset:3px}@media screen{html[data-theme=dark]{color-scheme:dark;--green:#95d2aa;--muted:#b9c9be;--line:#3d5044;background:#111b15;color:#edf5ef}html[data-theme=dark] body{background:#111b15;color:#edf5ef}html[data-theme=dark] :is(.card,.audience-group,.audience article,.tooltip,main:not(.wrap),.skip){background:#1c2921;border-color:#3d5044;color:#edf5ef}html[data-theme=dark] :is(.process-wrap,.sample,.ready,.badge,.step,.secondary,.confirmbox,.status,.template-option){background:#26392c;border-color:#476250;color:#edf5ef}html[data-theme=dark] :is(h1,h2,h3,label,.brand,.category,.money,.rowhead,.section-summary){color:#edf5ef}html[data-theme=dark] :is(.note,.progress,footer,.section-recap,.testing,.hero .intro,.sample>p,.ready p,.process p,.audience p,.faq details p){color:#b9c9be}html[data-theme=dark] a{color:#a4dfb7}html[data-theme=dark] :is(button,a.button,.step.active){background:#a4dfb7;color:#102318}html[data-theme=dark] button:disabled{background:#34463a;color:#a9b7ae}html[data-theme=dark] :is(input,select,.info-btn){background:#152219;color:#edf5ef;border-color:#66816f}html[data-theme=dark] .theme-control{color:#edf5ef}html[data-theme=dark] .coverage{background:#193e2b}html[data-theme=dark] :is(.warning,.review-alert){background:#403820;color:#fff0bd}html[data-theme=dark] :is(.series-table,.earnings-edit) :is(th,td){background:#1c2921;color:#edf5ef;border-color:#3d5044}html[data-theme=dark] :is(.series-table,.earnings-edit) th{background:#2b3d31}html[data-theme=dark] :is(.pay-template,.mini-template,.stub,.print-stub){color:#24272b;color-scheme:light;background:#fff}html[data-theme=dark] :is(.pay-template,.mini-template,.stub,.print-stub) :is(h1,h2,h3,p,span,strong,label){color:inherit}html[data-theme=dark] :is(.pay-template,.mini-template) .caption{color:#626870}html[data-theme=dark] .take-home{color:#fff}}
@media print{.theme-control{display:none!important}}
.theme-control{position:relative;display:block;flex:0 0 auto;max-width:none;margin:0;padding:0;color:inherit}.theme-trigger{display:grid;place-items:center;width:44px;height:44px;padding:10px;margin:0;border:0;border-radius:8px;background:transparent;color:#193e2b;cursor:pointer}.theme-menu{position:absolute;z-index:100;right:0;top:calc(100% + 8px);width:210px;max-width:calc(100vw - 32px);padding:6px;background:white;border:1px solid #dce6df;border-radius:12px;box-shadow:0 8px 24px #10201822}.theme-menu[hidden]{display:none!important}.theme-menu button{display:flex;align-items:center;gap:12px;width:100%;padding:12px;margin:0;background:transparent;color:#193e2b;border:0;border-radius:8px;font:16px system-ui;text-align:left;cursor:pointer;min-height:44px}.theme-menu button:hover,.theme-menu button[aria-pressed=true]{background:#e6f0e9}.theme-trigger:focus-visible,.theme-menu button:focus-visible{outline:3px solid #82b597;outline-offset:2px}.compact-page-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.header{flex-wrap:wrap}.header .theme-control{margin-left:auto}@media(max-width:760px){.header .brand{order:0}.header .theme-control{order:1}.header .navigation{order:2;width:100%}}@media screen{html[data-theme=dark] .theme-trigger{background:transparent;color:#edf5ef}html[data-theme=dark] .theme-menu{background:#1c2921;border-color:#476250}html[data-theme=dark] .theme-menu button{background:transparent;color:#edf5ef}html[data-theme=dark] .theme-menu button:hover,html[data-theme=dark] .theme-menu button[aria-pressed=true]{background:#344b3c}}
.header-tools{display:flex;align-items:center;gap:4px;margin-left:auto;flex:none}.language-control{position:relative}.language-trigger{display:grid;place-items:center;background:transparent;color:#193e2b;width:44px;height:44px;padding:10px;border:0;border-radius:8px;margin:0;cursor:pointer}.language-trigger:focus-visible{outline:3px solid #82b597;outline-offset:2px}.language-menu{right:0;width:190px}.header .header-tools{order:1}.language-note{font-size:12px;line-height:1.5;max-width:760px}@media screen{html[data-theme=dark] .language-trigger{background:transparent;color:#edf5ef}}@media print{.header-tools,.language-note{display:none!important}}

.language-trigger{display:flex;align-items:center;justify-content:center;gap:6px;width:auto;min-width:44px;padding:8px}.language-flag{font-size:20px;line-height:1;flex:none}.language-trigger svg{flex:none}
.site-menu{position:relative;flex:none}.menu-trigger{display:grid;place-items:center;width:44px;height:44px;padding:10px;margin:0;border:0;border-radius:8px;background:transparent;color:#193e2b;cursor:pointer}.site-navigation{width:240px}.site-navigation a{display:block;min-height:44px;padding:10px 12px;color:#193e2b;text-decoration:none;font:16px/1.5 system-ui;border-radius:8px}.site-navigation a:first-child{font-weight:750}.site-navigation a:hover{background:#e6f0e9}.menu-trigger:focus-visible,.site-navigation a:focus-visible{outline:3px solid #82b597;outline-offset:2px}#samples{scroll-margin-top:20px}html[data-theme=dark] .menu-trigger,html[data-theme=dark] .site-navigation a{color:#edf5ef}html[data-theme=dark] .site-navigation a:hover{background:#344b3c}@media print{.site-menu{display:none!important}}

.header-tools{margin-left:auto;justify-content:flex-end}.header-tools .language-control{order:0}.header-tools .theme-control{order:1;margin-left:0}.header-tools .site-menu{order:2;margin-left:4px}.header .header-tools{margin-left:auto}.speed-note{font-size:14px;font-weight:650;margin:10px 0 0;color:#3b6549}.highlights{gap:8px;padding-top:18px}.highlights span{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;background:#e6f0e9;border:1px solid #d4e3d8;border-radius:20px;font-size:13px;line-height:1.4}.highlights span:before{content:"✓";font-weight:750;color:#287044}html[data-theme=dark] .speed-note{color:#b1d7bd}html[data-theme=dark] .highlights span{background:#263c2e;border-color:#476250;color:#edf5ef}html[data-theme=dark] .highlights span:before{color:#a7d8b7}

.highlights{display:flex;flex-direction:column;align-items:flex-start;gap:10px;border-top:0;padding-top:12px}.highlights span{padding:0;background:transparent;border:0;border-radius:0;font-size:14px;gap:9px}.ready-action{text-align:center;flex:none}.ready-action .speed-note{margin:8px 0 0}html[data-theme=dark] .highlights span{background:transparent;border:0}@media(max-width:760px){.header .brand{font-size:20px}.header{gap:8px}.header-tools{gap:2px}}

.highlights{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:6px;padding-top:14px}.highlights span{display:inline-flex;justify-content:center;white-space:nowrap;padding:7px 9px;background:#e6f0e9;border:1px solid #d4e3d8;border-radius:20px;font-size:13px;line-height:1.4;gap:0}.highlights span:before{content:none}html[data-theme=dark] .highlights span{background:#263c2e;border:1px solid #476250;color:#edf5ef}#samples>.testing{margin:0 0 12px}@media(max-width:380px){.highlights{gap:4px}.highlights span{font-size:11px;padding:7px 6px}}

.highlights{max-width:100%;overflow-x:auto;padding-bottom:3px}.highlights span{flex:0 0 auto}

.language-trigger svg,.theme-trigger svg{width:18px;height:18px}.language-trigger .language-flag{font-size:16px}.language-trigger{gap:4px;padding:8px 6px;min-height:44px}.theme-trigger{padding:13px}

@media screen{html[data-theme=dark] details{background:#1c2921;color:#edf5ef;border-color:#3d5044}html[data-theme=dark] details :is(summary,p,li,strong){color:#edf5ef}html[data-theme=dark] details a{color:#a4dfb7}}

/* White badges and expandable controls for a stronger dark-mode contrast. */
@media screen{
html[data-theme=dark] .highlights span{background:#fff;border-color:#dce6df;color:#183e2b}
html[data-theme=dark] details{background:#fff;color:#183e2b;border-color:#dce6df}
html[data-theme=dark] details :is(summary,p,li,strong,h1,h2,h3,span,label){color:#183e2b}
html[data-theme=dark] details a{color:#245b3c}
html[data-theme=dark] :is(.theme-menu,.language-menu,.site-navigation){background:#fff;border-color:#dce6df;color:#183e2b}
html[data-theme=dark] :is(.theme-menu button,.site-navigation a){background:#fff;color:#183e2b}
html[data-theme=dark] :is(.theme-menu button:hover,.theme-menu button[aria-pressed=true],.site-navigation a:hover){background:#e6f0e9;color:#183e2b}
}

@media screen{html[data-theme=dark] :is(.language-trigger,.theme-trigger,.menu-trigger,select,select option){background:#fff;color:#183e2b;border-color:#dce6df}}

/* Compact controls while keeping comfortable tap targets. */
.theme-trigger,.menu-trigger{width:40px;height:40px;padding:11px}
.language-trigger{min-height:40px;padding:6px;gap:4px}
.theme-menu button,.site-navigation a{min-height:40px;padding:9px 12px;font-size:14px;line-height:1.4}
.site-navigation{width:220px}
.highlights span{font-size:12px;padding:5px 8px;line-height:1.35}

@media screen{html[data-theme=dark] .work-details>summary,html[data-theme=dark] .work-details>summary h2{color:#183e2b}html[data-theme=dark] details :is(h1,h2,h3,.section-summary,label){color:#183e2b}}

@media screen{html[data-theme=dark] .hero h1 span{color:#a4dfb7}}

/* Form panels and the white series review panel need separate text colors. */
@media screen{
html[data-theme=dark] .form-section{background:#1c2921;color:#edf5ef;border-color:#3d5044}
html[data-theme=dark] .form-section :is(label,legend,h2,h3,.section-summary,strong){color:#edf5ef}
html[data-theme=dark] .form-section :is(.note,p){color:#b9c9be}
html[data-theme=dark] #seriesControls{background:#fff;color:#183e2b;border-color:#dce5df}
html[data-theme=dark] #seriesControls :is(label,h2,h3,strong){color:#183e2b}
html[data-theme=dark] #seriesControls :is(.note,#seriesSummary){color:#526258}
html[data-theme=dark] #seriesControls :is(.series-table,.earnings-edit) :is(th,td){background:#fff;color:#183e2b;border-color:#dce5df}
html[data-theme=dark] #seriesControls :is(.series-table,.earnings-edit) th{background:#edf3ef;color:#183e2b}
html[data-theme=dark] #seriesControls .series-table .selected td{background:#e6f0e9}
html[data-theme=dark] #seriesControls :is(input,select){background:#fff;color:#183e2b;border-color:#a8b9ad;color-scheme:light}
}

/* Context-specific surfaces: keep text paired with its actual background. */
@media screen{
html[data-theme=dark] :is(select,select option,.theme-menu,.language-menu,.site-navigation){color-scheme:light}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#b9c9be;opacity:1}
html[data-theme=dark] #seriesControls :is(input,textarea)::placeholder{color:#526258}
html[data-theme=dark] details.audience-group{background:#fff;color:#183e2b;border-color:#dce6df}
html[data-theme=dark] details.audience-group :is(summary,span,h3,p,strong,.category){color:#183e2b}
html[data-theme=dark] .form-section a{color:#a4dfb7}
html[data-theme=dark] .form-section details:not(.form-section):not(.warning){background:#fff;color:#183e2b;border-color:#dce6df}
html[data-theme=dark] .form-section details:not(.form-section):not(.warning) :is(p,.note,h2,h3,label,strong,summary,span){color:#183e2b}
html[data-theme=dark] .form-section details:not(.form-section):not(.warning) a{color:#245b3c}
html[data-theme=dark] details.warning,html[data-theme=dark] .review-alert{background:#403820;color:#fff0bd;border-color:#8b783b}
html[data-theme=dark] details.warning :is(summary,p,strong,span){color:#fff0bd}
html[data-theme=dark] details.warning a{color:#ffe39a}
html[data-theme=dark] #partyAlert{color:#ffb8b8!important}
html[data-theme=dark] .faq details p{color:#183e2b}
html[data-theme=dark] .sample .pay-template,html[data-theme=dark] .card.stub,html[data-theme=dark] .print-stub.pay-template{background:#fff;color:#24272b;color-scheme:light}
html[data-theme=dark] .reviews-note{color:#b9c9be}
html[data-theme=dark] #status{color:#b9c9be}
html[data-theme=dark] #orderSavings{color:#a4dfb7}
}
@media screen{
html[data-theme=dark] .faq details:not(.form-section) p{color:#183e2b}
html[data-theme=dark] .card.stub :is(.note,.money,.rowhead){color:#24272b}
html[data-theme=dark] .sample .pay-template .template-tables h3,html[data-theme=dark] .card.stub .template-tables h3{color:#fff}
html[data-theme=dark] .card.stub .take-home :is(span,strong){color:#fff}
}

.address-hint{font-size:12px;line-height:1.4;margin:6px 0 2px}.address-credit{display:inline-block;font-size:11px;line-height:1.4;margin:0 0 8px;color:#526258;text-underline-offset:2px}html[data-theme=dark] .form-section a.address-credit{color:#b9c9be}

/* Pair suggestion text and surfaces explicitly, including pointer and keyboard states. */
@media screen{
.address-suggestions,.address-suggestions [role=option]{background:#fff;color:#16251d}
.address-suggestions [role=option]:hover,.address-suggestions [role=option][aria-selected=true]{background:#e3efe7;color:#16251d}
html[data-theme=dark] .address-suggestions,html[data-theme=dark] .address-suggestions [role=option]{background:#182b22;color:#eaf1ed;border-color:#66816f}
html[data-theme=dark] .address-suggestions [role=option]:hover,html[data-theme=dark] .address-suggestions [role=option][aria-selected=true]{background:#284235;color:#eaf1ed}
}

/* Leave room beneath the worker selector and its focus outline. */
#workerType{display:block}
#contractorHelp{margin-top:14px;line-height:1.6;overflow-wrap:anywhere}

.series-table .review-pay-date{width:138px;min-width:138px;padding:9px;font:inherit;background:#fff;color:#183e2b;border:1px solid #a8b9ad;border-radius:8px;color-scheme:light}
html[data-theme=dark] #seriesControls .series-table .review-pay-date{background:#fff;color:#183e2b;border-color:#a8b9ad}
