:root{--bg-canvas:#FFFFFF;--bg-alt:#F5F7FA;--bg-card:#FFFFFF;--bg-input:#FFFFFF;--theme-border:#E2E8F0;--theme-text:#0F1419;--theme-muted:#48545D;--theme-accent:#29B6F6;--theme-link:#075F7B;--theme-holiday:#F59E0B;--theme-tint:#E0F2FE;--theme-success:#166534;--theme-error:#991B1B;--theme-solid-text:#0B0F14;color-scheme:light; background:var(--bg-canvas)}
:root[data-theme="light"]{color-scheme:light}
.theme-picker{display:inline-flex;align-items:center;gap:8px;font-size:.78rem;font-weight:600;white-space:nowrap;color:inherit;max-width:100%}
.theme-picker select{font:inherit;width:auto;min-width:82px;min-height:40px;padding:7px 24px 7px 9px;border:1px solid var(--theme-border);border-radius:8px;background:var(--bg-input);color:var(--theme-text)}
.footer .theme-picker,.workspace-theme .theme-picker{color:#c7d0d6}
.footer .theme-picker select,.workspace-theme .theme-picker select{background:#182028;color:#f1f5f9;border-color:#46515b}
.private-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.private-title-row h1{min-width:0}
.workspace-theme{border-top:1px solid #3a454e;padding:12px 6px 0;margin-top:8px}
.tech-theme-row{display:flex;justify-content:flex-end}
.water-wave{background:var(--bg-canvas);display:block;margin-top:-1px}
.wave-accent{fill:var(--theme-accent)}
@media(max-width:780px){.workspace-theme{grid-column:1/-1}.theme-picker select{min-height:44px}.private-title-row .theme-picker{margin-bottom:8px}}
html[data-theme="dark"]{--bg-canvas:#0B0F14;--bg-alt:#10161D;--bg-card:#161F29;--bg-input:#1E2936;--theme-border:#273444;--theme-text:#F1F5F9;--theme-muted:#94A3B8;--theme-accent:#38BDF8;--theme-link:#7DD3FC;--theme-holiday:#FBBF24;--theme-tint:#163449;--theme-success:#86EFAC;--theme-error:#FCA5A5;color-scheme:dark;background:var(--bg-canvas)}
html[data-theme="dark"] body{background:var(--bg-canvas);color:var(--theme-text)}
html[data-theme="dark"] .marketing-site,html[data-theme="dark"] .customer-workspace{--navy:var(--theme-text);--blue:var(--theme-link);--paper:var(--bg-alt);--line:var(--theme-border);--muted:var(--theme-muted);--green:var(--theme-success);--acr-border:var(--theme-border);--acr-accent:var(--theme-accent);--acr-tint:var(--theme-tint);background:var(--bg-canvas);color:var(--theme-text)}
html[data-theme="dark"] a{color:var(--theme-link)}
html[data-theme="dark"] .marketing-site .header{background:rgb(16 22 29/.94);border-color:var(--theme-border)}
html[data-theme="dark"] .marketing-site .header nav a,html[data-theme="dark"] .marketing-site .header-actions>a:not(.btn),html[data-theme="dark"] .coverage-grid a,html[data-theme="dark"] .marketing-site .mobile-contact a,html[data-theme="dark"] .private-brand{color:var(--theme-text)}
html[data-theme="dark"] .header nav a:hover{background:var(--theme-tint)}
html[data-theme="dark"] .brand-mark,html[data-theme="dark"] .acr-logo-img,html[data-theme="dark"] .workspace-nav-brand img,html[data-theme="dark"] .footer-brand{background:#FFFFFF;border-radius:8px;object-fit:contain}
html[data-theme="dark"] .brand-mark{padding:3px}
html[data-theme="dark"] .marketing-site .divisions,html[data-theme="dark"] .marketing-site .coverage,html[data-theme="dark"] .clay-section,html[data-theme="dark"] .section.white{background:var(--bg-canvas);border-color:var(--theme-border)}
html[data-theme="dark"] .estimator-section,html[data-theme="dark"] .quote-section,html[data-theme="dark"] .process{background:var(--bg-alt)}
html[data-theme="dark"] .division-card,html[data-theme="dark"] .estimator-layout,html[data-theme="dark"] .form,html[data-theme="dark"] .card,html[data-theme="dark"] .drainage-figure,html[data-theme="dark"] .customer-workspace .private-heading,html[data-theme="dark"] .document-scope,html[data-theme="dark"] .portal-section,html[data-theme="dark"] #portal-detail,html[data-theme="dark"] #doc-content{background:var(--bg-card);border-color:var(--theme-border);color:var(--theme-text);box-shadow:none}
html[data-theme="dark"] .customer-document #doc-content,html[data-theme="dark"] .customer-portal #portal-content{background:transparent;border:0}
html[data-theme="dark"] .marketing-site .eyebrow,html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .text-link,html[data-theme="dark"] .service-icon,html[data-theme="dark"] .quote-form .selection-summary,html[data-theme="dark"] .step-progress{color:var(--theme-link)!important}
html[data-theme="dark"] .marketing-site .holiday-eyebrow,html[data-theme="dark"] .marketing-site .holiday-badge{color:var(--theme-holiday)!important}
html[data-theme="dark"] .promo{background:#3B2D16;color:var(--theme-holiday);border:1px solid #72511F}
html[data-theme="dark"] .marketing-site .section p,html[data-theme="dark"] .range-endpoints,html[data-theme="dark"] .range-field small,html[data-theme="dark"] .quote-form small,html[data-theme="dark"] .drainage-figure figcaption,html[data-theme="dark"] .document-disclosure,html[data-theme="dark"] .proposal-progress p{color:var(--theme-muted)}
html[data-theme="dark"] .coverage-grid a,html[data-theme="dark"] .direct-contact,html[data-theme="dark"] .document td,html[data-theme="dark"] .document th,html[data-theme="dark"] .proposal-progress{border-color:var(--theme-border)}
html[data-theme="dark"] :is(input,select,textarea):not([type=range]):not([type=checkbox]):not([type=radio]):not([type=hidden]){background:var(--bg-input);color:var(--theme-text);border-color:var(--theme-border)}
html[data-theme="dark"] :is(input,textarea)::placeholder{color:var(--theme-muted);opacity:1}
html[data-theme="dark"] input[type=checkbox],html[data-theme="dark"] input[type=radio],html[data-theme="dark"] input[type=range]{accent-color:var(--theme-accent)}
html[data-theme="dark"] .marketing-site .btn:not(.secondary),html[data-theme="dark"] .marketing-site #quote-next,html[data-theme="dark"] .marketing-site button[type=submit],html[data-theme="dark"] .marketing-site #lighting-request,html[data-theme="dark"] .document-summary #approve,html[data-theme="dark"] .document button:not(#print):not(#approve){background:var(--theme-accent);color:var(--theme-solid-text);border-color:var(--theme-accent)}
html[data-theme="dark"] .marketing-site .btn:not(.secondary):hover,html[data-theme="dark"] .marketing-site #quote-next:hover,html[data-theme="dark"] .marketing-site button[type=submit]:hover,html[data-theme="dark"] .marketing-site #lighting-request:hover{background:#7DD3FC;color:var(--theme-solid-text)}
html[data-theme="dark"] .marketing-site .btn.secondary,html[data-theme="dark"] .marketing-site .secondary-control{color:var(--theme-text);border-color:#64748B}
html[data-theme="dark"] .marketing-site .service-picks button,html[data-theme="dark"] .marketing-site .city-picks button,html[data-theme="dark"] .marketing-site .drainage-features button{background:var(--bg-card);color:var(--theme-text);border-color:var(--theme-border)}
html[data-theme="dark"] .marketing-site .service-picks button[aria-pressed=true],html[data-theme="dark"] .marketing-site .city-picks button[aria-pressed=true],html[data-theme="dark"] .marketing-site .drainage-features button[aria-pressed=true],html[data-theme="dark"] .colors label:has(input:checked){background:var(--theme-tint);color:var(--theme-text);border-color:var(--theme-accent)}
html[data-theme="dark"] .colors label,html[data-theme="dark"] .marketing-site .mobile-contact{border-color:var(--theme-border)}
html[data-theme="dark"] .mobile-actions{background:var(--bg-alt);border-color:var(--theme-border)}
html[data-theme="dark"] .marketing-site .estimate-summary,html[data-theme="dark"] .document-summary{background:var(--bg-alt);border:1px solid var(--theme-border)}
html[data-theme="dark"] .marketing-site .estimate-summary p,html[data-theme="dark"] .marketing-site .estimate-summary small{color:var(--theme-muted)}
html[data-theme="dark"] .water-wave{background:var(--bg-canvas)}
html[data-theme="dark"] .drainage-figure .diagram-badge{fill:var(--bg-alt);stroke:var(--theme-accent);stroke-width:2}
html[data-theme="dark"] .drainage-figure [data-diagram-marker] text{fill:var(--theme-text)}
html[data-theme="dark"] .drainage-figure .diagram-active circle{fill:var(--theme-accent);stroke:var(--bg-alt)}
html[data-theme="dark"] .drainage-figure .diagram-active text{fill:var(--theme-solid-text)}
html[data-theme="dark"] .document-state,html[data-theme="dark"] .proposal-progress .progress-done span{background:var(--theme-tint);color:var(--theme-link);border-color:var(--theme-border)}
html[data-theme="dark"] .proposal-progress li,html[data-theme="dark"] .document-action-note{color:var(--theme-muted)}
html[data-theme="dark"] .proposal-progress li span{background:var(--bg-input);border-color:var(--theme-border)}
html[data-theme="dark"] .proposal-progress .progress-current{color:var(--theme-link)}
html[data-theme="dark"] .proposal-progress .progress-current span{background:var(--theme-accent);color:var(--theme-solid-text)}
html[data-theme="dark"] .document #portal-documents button{background:var(--theme-tint);border-color:var(--theme-border);color:var(--theme-link)}
html[data-theme="dark"] .document #portal-documents button:hover{background:var(--bg-input)}
html[data-theme="dark"] .status{color:var(--theme-success)}
html[data-theme="dark"] .status.error{color:var(--theme-error)}
html[data-theme="dark"] .staff-site{--acr-border:var(--theme-border);--acr-aqua:var(--theme-accent);--acr-action:var(--theme-link);background:var(--bg-canvas);color:var(--theme-text)}
html[data-theme="dark"] .staff-site :is(.bg-white,.bg-white\/95){background-color:var(--bg-card)}
html[data-theme="dark"] .staff-site :is(.bg-brand-slate,.bg-slate-50){background-color:var(--bg-alt)}
html[data-theme="dark"] .staff-site :is(.bg-slate-100,.bg-slate-100\/90,.bg-slate-200){background-color:var(--bg-input)}
html[data-theme="dark"] .staff-site :is(.text-brand-navy,.text-slate-800,.text-slate-700){color:var(--theme-text)}
html[data-theme="dark"] .staff-site :is(.text-slate-600,.text-slate-500,.text-slate-400){color:var(--theme-muted)}
html[data-theme="dark"] .staff-site :is(.text-brand-cyan,.text-brand-cyanDark){color:var(--theme-link)}
html[data-theme="dark"] .staff-site :is(.text-brand-green){color:var(--theme-success)}
html[data-theme="dark"] .staff-site :is(.text-brand-red,.text-red-700){color:var(--theme-error)}
html[data-theme="dark"] .staff-site :is(.border-slate-100,.border-slate-200,.border-slate-200\/80,.border-slate-300,.divide-slate-100>*+*){border-color:var(--theme-border)}
html[data-theme="dark"] .staff-site :is(.bg-sky-50,.bg-sky-50\/70,.bg-sky-50\/80,.bg-sky-100,.bg-blue-100){background-color:var(--theme-tint)}
html[data-theme="dark"] .staff-site :is(.bg-emerald-50,.bg-emerald-50\/70,.bg-emerald-100){background-color:#153727}
html[data-theme="dark"] .staff-site :is(.bg-red-50,.bg-rose-100){background-color:#42252C}
html[data-theme="dark"] .staff-site :is(.bg-amber-50,.bg-amber-100){background-color:#3B2D16}
html[data-theme="dark"] .staff-site .bg-purple-100{background-color:#30264A}
html[data-theme="dark"] .staff-site :is(.text-amber-800,.text-amber-900,.text-amber-950){color:#FCD34D}
html[data-theme="dark"] .staff-site .text-blue-900{color:#BFDBFE}
html[data-theme="dark"] .staff-site .text-purple-900{color:#DDD6FE}
html[data-theme="dark"] .staff-site :is(.border-sky-200,.border-sky-300,.border-blue-300){border-color:#28516A}
html[data-theme="dark"] .staff-site :is(.border-emerald-200,.border-emerald-200\/80,.border-emerald-300){border-color:#28563B}
html[data-theme="dark"] .staff-site :is(.border-amber-200,.border-amber-300){border-color:#72511F}
html[data-theme="dark"] .staff-site :is(.border-red-200,.border-rose-300){border-color:#713E47}
html[data-theme="dark"] .staff-site .border-purple-300{border-color:#51416D}
html[data-theme="dark"] .staff-site .bg-brand-cyan:not(.bg-brand-cyan\/10):not(.bg-brand-cyan\/20){background-color:var(--theme-accent);color:var(--theme-solid-text)}
html[data-theme="dark"] .staff-site .bg-brand-cyan:hover{background-color:#7DD3FC;color:var(--theme-solid-text)}
html[data-theme="dark"] .staff-site :is(.bg-brand-navy,.bg-brand-cyanDark){background-color:#182028;color:var(--theme-text)}
html[data-theme="dark"] .staff-site :is(.hover\:bg-slate-50,.hover\:bg-slate-100,.hover\:bg-slate-200,.hover\:bg-slate-300,.hover\:bg-sky-50,.hover\:bg-sky-100):hover{background-color:var(--bg-input)}
html[data-theme="dark"] .staff-site :is(.hover\:bg-red-50,.hover\:bg-red-100):hover{background-color:#42252C}
html[data-theme="dark"] .staff-site .hover\:bg-emerald-100:hover{background-color:#153727}
html[data-theme="dark"] .staff-site #page-admin,html[data-theme="dark"] .staff-site #page-tech{background:var(--bg-canvas)}
html[data-theme="dark"] .staff-site :is(#office-work-queue,.workspace-draft-card,#owner-overview>div){background:var(--bg-card);border-color:var(--theme-border)}
html[data-theme="dark"] .staff-site :is(#admin-dashboard-view .admin-panel,#admin-panel-builder>div,#tech-jobs-container>div){border-color:var(--theme-border)}
html[data-theme="dark"] .staff-site :is(.workspace-drafts,.workspace-section-title p,.workspace-draft-table th){color:var(--theme-muted)}
html[data-theme="dark"] .staff-site .workspace-draft-table{color:var(--theme-text)}
html[data-theme="dark"] .staff-site .workspace-draft-table :is(th,td),html[data-theme="dark"] .staff-site .workspace-draft-table tr{border-color:var(--theme-border)}
html[data-theme="dark"] .staff-site .workspace-secondary{background:var(--bg-input);color:var(--theme-link);border-color:var(--theme-border)}
html[data-theme="dark"] .staff-site .workspace-secondary:hover{background:var(--theme-tint)}
html[data-theme="dark"] .staff-site #proposal-quick-drawer,html[data-theme="dark"] .staff-site #field-report-dialog{background:var(--bg-alt);color:var(--theme-text)}
html[data-theme="dark"] .staff-site .quick-drawer-header{background:var(--bg-card);border-color:var(--theme-border)}
html[data-theme="dark"] .staff-site .quick-drawer-header p{color:var(--theme-link)}
html[data-theme="dark"] .staff-site #quick-drawer-status:not([hidden]){background:var(--theme-tint);color:var(--theme-link);border-color:var(--theme-border)}
html[data-theme="dark"] .staff-site .suburb-pill{background:var(--theme-tint);color:#7DD3FC;border-color:#28516A}
html[data-theme="dark"] .staff-site .suburb-dublin{background:#153727;color:#86EFAC;border-color:#28563B}
html[data-theme="dark"] .staff-site .suburb-powell{background:#30264A;color:#DDD6FE;border-color:#51416D}
html[data-theme="dark"] .staff-site .suburb-westerville{background:#123A3B;color:#99F6E4;border-color:#28565A}
html[data-theme="dark"] .staff-site .suburb-worthington{background:#42253B;color:#FBCFE8;border-color:#713E65}
html[data-theme="dark"] .staff-site .suburb-gahanna{background:#292F51;color:#C7D2FE;border-color:#404D75}
html[data-theme="dark"] .staff-site .suburb-columbus{background:var(--bg-input);color:#CBD5E1;border-color:var(--theme-border)}
html[data-theme="dark"] .staff-site.workspace-route>header{background:var(--bg-card)}
html[data-theme="dark"] .staff-site :is(#admin-dashboard-view,#tech-dashboard-view) :is(input,textarea,select){border-color:var(--theme-border)}
html[data-theme="dark"] .staff-site #tech-dashboard-view button[data-next-status="In Progress"]{background:var(--theme-accent);color:var(--theme-solid-text)}

@media(prefers-color-scheme:dark){
html:not([data-theme]){--bg-canvas:#0B0F14;--bg-alt:#10161D;--bg-card:#161F29;--bg-input:#1E2936;--theme-border:#273444;--theme-text:#F1F5F9;--theme-muted:#94A3B8;--theme-accent:#38BDF8;--theme-link:#7DD3FC;--theme-holiday:#FBBF24;--theme-tint:#163449;--theme-success:#86EFAC;--theme-error:#FCA5A5;color-scheme:dark;background:var(--bg-canvas)}
html:not([data-theme]) body{background:var(--bg-canvas);color:var(--theme-text)}
html:not([data-theme]) .marketing-site,html:not([data-theme]) .customer-workspace{--navy:var(--theme-text);--blue:var(--theme-link);--paper:var(--bg-alt);--line:var(--theme-border);--muted:var(--theme-muted);--green:var(--theme-success);--acr-border:var(--theme-border);--acr-accent:var(--theme-accent);--acr-tint:var(--theme-tint);background:var(--bg-canvas);color:var(--theme-text)}
html:not([data-theme]) a{color:var(--theme-link)}
html:not([data-theme]) .marketing-site .header{background:rgb(16 22 29/.94);border-color:var(--theme-border)}
html:not([data-theme]) .marketing-site .header nav a,html:not([data-theme]) .marketing-site .header-actions>a:not(.btn),html:not([data-theme]) .coverage-grid a,html:not([data-theme]) .marketing-site .mobile-contact a,html:not([data-theme]) .private-brand{color:var(--theme-text)}
html:not([data-theme]) .header nav a:hover{background:var(--theme-tint)}
html:not([data-theme]) .brand-mark,html:not([data-theme]) .acr-logo-img,html:not([data-theme]) .workspace-nav-brand img,html:not([data-theme]) .footer-brand{background:#FFFFFF;border-radius:8px;object-fit:contain}
html:not([data-theme]) .brand-mark{padding:3px}
html:not([data-theme]) .marketing-site .divisions,html:not([data-theme]) .marketing-site .coverage,html:not([data-theme]) .clay-section,html:not([data-theme]) .section.white{background:var(--bg-canvas);border-color:var(--theme-border)}
html:not([data-theme]) .estimator-section,html:not([data-theme]) .quote-section,html:not([data-theme]) .process{background:var(--bg-alt)}
html:not([data-theme]) .division-card,html:not([data-theme]) .estimator-layout,html:not([data-theme]) .form,html:not([data-theme]) .card,html:not([data-theme]) .drainage-figure,html:not([data-theme]) .customer-workspace .private-heading,html:not([data-theme]) .document-scope,html:not([data-theme]) .portal-section,html:not([data-theme]) #portal-detail,html:not([data-theme]) #doc-content{background:var(--bg-card);border-color:var(--theme-border);color:var(--theme-text);box-shadow:none}
html:not([data-theme]) .customer-document #doc-content,html:not([data-theme]) .customer-portal #portal-content{background:transparent;border:0}
html:not([data-theme]) .marketing-site .eyebrow,html:not([data-theme]) .eyebrow,html:not([data-theme]) .text-link,html:not([data-theme]) .service-icon,html:not([data-theme]) .quote-form .selection-summary,html:not([data-theme]) .step-progress{color:var(--theme-link)!important}
html:not([data-theme]) .marketing-site .holiday-eyebrow,html:not([data-theme]) .marketing-site .holiday-badge{color:var(--theme-holiday)!important}
html:not([data-theme]) .promo{background:#3B2D16;color:var(--theme-holiday);border:1px solid #72511F}
html:not([data-theme]) .marketing-site .section p,html:not([data-theme]) .range-endpoints,html:not([data-theme]) .range-field small,html:not([data-theme]) .quote-form small,html:not([data-theme]) .drainage-figure figcaption,html:not([data-theme]) .document-disclosure,html:not([data-theme]) .proposal-progress p{color:var(--theme-muted)}
html:not([data-theme]) .coverage-grid a,html:not([data-theme]) .direct-contact,html:not([data-theme]) .document td,html:not([data-theme]) .document th,html:not([data-theme]) .proposal-progress{border-color:var(--theme-border)}
html:not([data-theme]) :is(input,select,textarea):not([type=range]):not([type=checkbox]):not([type=radio]):not([type=hidden]){background:var(--bg-input);color:var(--theme-text);border-color:var(--theme-border)}
html:not([data-theme]) :is(input,textarea)::placeholder{color:var(--theme-muted);opacity:1}
html:not([data-theme]) input[type=checkbox],html:not([data-theme]) input[type=radio],html:not([data-theme]) input[type=range]{accent-color:var(--theme-accent)}
html:not([data-theme]) .marketing-site .btn:not(.secondary),html:not([data-theme]) .marketing-site #quote-next,html:not([data-theme]) .marketing-site button[type=submit],html:not([data-theme]) .marketing-site #lighting-request,html:not([data-theme]) .document-summary #approve,html:not([data-theme]) .document button:not(#print):not(#approve){background:var(--theme-accent);color:var(--theme-solid-text);border-color:var(--theme-accent)}
html:not([data-theme]) .marketing-site .btn:not(.secondary):hover,html:not([data-theme]) .marketing-site #quote-next:hover,html:not([data-theme]) .marketing-site button[type=submit]:hover,html:not([data-theme]) .marketing-site #lighting-request:hover{background:#7DD3FC;color:var(--theme-solid-text)}
html:not([data-theme]) .marketing-site .btn.secondary,html:not([data-theme]) .marketing-site .secondary-control{color:var(--theme-text);border-color:#64748B}
html:not([data-theme]) .marketing-site .service-picks button,html:not([data-theme]) .marketing-site .city-picks button,html:not([data-theme]) .marketing-site .drainage-features button{background:var(--bg-card);color:var(--theme-text);border-color:var(--theme-border)}
html:not([data-theme]) .marketing-site .service-picks button[aria-pressed=true],html:not([data-theme]) .marketing-site .city-picks button[aria-pressed=true],html:not([data-theme]) .marketing-site .drainage-features button[aria-pressed=true],html:not([data-theme]) .colors label:has(input:checked){background:var(--theme-tint);color:var(--theme-text);border-color:var(--theme-accent)}
html:not([data-theme]) .colors label,html:not([data-theme]) .marketing-site .mobile-contact{border-color:var(--theme-border)}
html:not([data-theme]) .mobile-actions{background:var(--bg-alt);border-color:var(--theme-border)}
html:not([data-theme]) .marketing-site .estimate-summary,html:not([data-theme]) .document-summary{background:var(--bg-alt);border:1px solid var(--theme-border)}
html:not([data-theme]) .marketing-site .estimate-summary p,html:not([data-theme]) .marketing-site .estimate-summary small{color:var(--theme-muted)}
html:not([data-theme]) .water-wave{background:var(--bg-canvas)}
html:not([data-theme]) .drainage-figure .diagram-badge{fill:var(--bg-alt);stroke:var(--theme-accent);stroke-width:2}
html:not([data-theme]) .drainage-figure [data-diagram-marker] text{fill:var(--theme-text)}
html:not([data-theme]) .drainage-figure .diagram-active circle{fill:var(--theme-accent);stroke:var(--bg-alt)}
html:not([data-theme]) .drainage-figure .diagram-active text{fill:var(--theme-solid-text)}
html:not([data-theme]) .document-state,html:not([data-theme]) .proposal-progress .progress-done span{background:var(--theme-tint);color:var(--theme-link);border-color:var(--theme-border)}
html:not([data-theme]) .proposal-progress li,html:not([data-theme]) .document-action-note{color:var(--theme-muted)}
html:not([data-theme]) .proposal-progress li span{background:var(--bg-input);border-color:var(--theme-border)}
html:not([data-theme]) .proposal-progress .progress-current{color:var(--theme-link)}
html:not([data-theme]) .proposal-progress .progress-current span{background:var(--theme-accent);color:var(--theme-solid-text)}
html:not([data-theme]) .document #portal-documents button{background:var(--theme-tint);border-color:var(--theme-border);color:var(--theme-link)}
html:not([data-theme]) .document #portal-documents button:hover{background:var(--bg-input)}
html:not([data-theme]) .status{color:var(--theme-success)}
html:not([data-theme]) .status.error{color:var(--theme-error)}
html:not([data-theme]) .staff-site{--acr-border:var(--theme-border);--acr-aqua:var(--theme-accent);--acr-action:var(--theme-link);background:var(--bg-canvas);color:var(--theme-text)}
html:not([data-theme]) .staff-site :is(.bg-white,.bg-white\/95){background-color:var(--bg-card)}
html:not([data-theme]) .staff-site :is(.bg-brand-slate,.bg-slate-50){background-color:var(--bg-alt)}
html:not([data-theme]) .staff-site :is(.bg-slate-100,.bg-slate-100\/90,.bg-slate-200){background-color:var(--bg-input)}
html:not([data-theme]) .staff-site :is(.text-brand-navy,.text-slate-800,.text-slate-700){color:var(--theme-text)}
html:not([data-theme]) .staff-site :is(.text-slate-600,.text-slate-500,.text-slate-400){color:var(--theme-muted)}
html:not([data-theme]) .staff-site :is(.text-brand-cyan,.text-brand-cyanDark){color:var(--theme-link)}
html:not([data-theme]) .staff-site :is(.text-brand-green){color:var(--theme-success)}
html:not([data-theme]) .staff-site :is(.text-brand-red,.text-red-700){color:var(--theme-error)}
html:not([data-theme]) .staff-site :is(.border-slate-100,.border-slate-200,.border-slate-200\/80,.border-slate-300,.divide-slate-100>*+*){border-color:var(--theme-border)}
html:not([data-theme]) .staff-site :is(.bg-sky-50,.bg-sky-50\/70,.bg-sky-50\/80,.bg-sky-100,.bg-blue-100){background-color:var(--theme-tint)}
html:not([data-theme]) .staff-site :is(.bg-emerald-50,.bg-emerald-50\/70,.bg-emerald-100){background-color:#153727}
html:not([data-theme]) .staff-site :is(.bg-red-50,.bg-rose-100){background-color:#42252C}
html:not([data-theme]) .staff-site :is(.bg-amber-50,.bg-amber-100){background-color:#3B2D16}
html:not([data-theme]) .staff-site .bg-purple-100{background-color:#30264A}
html:not([data-theme]) .staff-site :is(.text-amber-800,.text-amber-900,.text-amber-950){color:#FCD34D}
html:not([data-theme]) .staff-site .text-blue-900{color:#BFDBFE}
html:not([data-theme]) .staff-site .text-purple-900{color:#DDD6FE}
html:not([data-theme]) .staff-site :is(.border-sky-200,.border-sky-300,.border-blue-300){border-color:#28516A}
html:not([data-theme]) .staff-site :is(.border-emerald-200,.border-emerald-200\/80,.border-emerald-300){border-color:#28563B}
html:not([data-theme]) .staff-site :is(.border-amber-200,.border-amber-300){border-color:#72511F}
html:not([data-theme]) .staff-site :is(.border-red-200,.border-rose-300){border-color:#713E47}
html:not([data-theme]) .staff-site .border-purple-300{border-color:#51416D}
html:not([data-theme]) .staff-site .bg-brand-cyan:not(.bg-brand-cyan\/10):not(.bg-brand-cyan\/20){background-color:var(--theme-accent);color:var(--theme-solid-text)}
html:not([data-theme]) .staff-site .bg-brand-cyan:hover{background-color:#7DD3FC;color:var(--theme-solid-text)}
html:not([data-theme]) .staff-site :is(.bg-brand-navy,.bg-brand-cyanDark){background-color:#182028;color:var(--theme-text)}
html:not([data-theme]) .staff-site :is(.hover\:bg-slate-50,.hover\:bg-slate-100,.hover\:bg-slate-200,.hover\:bg-slate-300,.hover\:bg-sky-50,.hover\:bg-sky-100):hover{background-color:var(--bg-input)}
html:not([data-theme]) .staff-site :is(.hover\:bg-red-50,.hover\:bg-red-100):hover{background-color:#42252C}
html:not([data-theme]) .staff-site .hover\:bg-emerald-100:hover{background-color:#153727}
html:not([data-theme]) .staff-site #page-admin,html:not([data-theme]) .staff-site #page-tech{background:var(--bg-canvas)}
html:not([data-theme]) .staff-site :is(#office-work-queue,.workspace-draft-card,#owner-overview>div){background:var(--bg-card);border-color:var(--theme-border)}
html:not([data-theme]) .staff-site :is(#admin-dashboard-view .admin-panel,#admin-panel-builder>div,#tech-jobs-container>div){border-color:var(--theme-border)}
html:not([data-theme]) .staff-site :is(.workspace-drafts,.workspace-section-title p,.workspace-draft-table th){color:var(--theme-muted)}
html:not([data-theme]) .staff-site .workspace-draft-table{color:var(--theme-text)}
html:not([data-theme]) .staff-site .workspace-draft-table :is(th,td),html:not([data-theme]) .staff-site .workspace-draft-table tr{border-color:var(--theme-border)}
html:not([data-theme]) .staff-site .workspace-secondary{background:var(--bg-input);color:var(--theme-link);border-color:var(--theme-border)}
html:not([data-theme]) .staff-site .workspace-secondary:hover{background:var(--theme-tint)}
html:not([data-theme]) .staff-site #proposal-quick-drawer,html:not([data-theme]) .staff-site #field-report-dialog{background:var(--bg-alt);color:var(--theme-text)}
html:not([data-theme]) .staff-site .quick-drawer-header{background:var(--bg-card);border-color:var(--theme-border)}
html:not([data-theme]) .staff-site .quick-drawer-header p{color:var(--theme-link)}
html:not([data-theme]) .staff-site #quick-drawer-status:not([hidden]){background:var(--theme-tint);color:var(--theme-link);border-color:var(--theme-border)}
html:not([data-theme]) .staff-site .suburb-pill{background:var(--theme-tint);color:#7DD3FC;border-color:#28516A}
html:not([data-theme]) .staff-site .suburb-dublin{background:#153727;color:#86EFAC;border-color:#28563B}
html:not([data-theme]) .staff-site .suburb-powell{background:#30264A;color:#DDD6FE;border-color:#51416D}
html:not([data-theme]) .staff-site .suburb-westerville{background:#123A3B;color:#99F6E4;border-color:#28565A}
html:not([data-theme]) .staff-site .suburb-worthington{background:#42253B;color:#FBCFE8;border-color:#713E65}
html:not([data-theme]) .staff-site .suburb-gahanna{background:#292F51;color:#C7D2FE;border-color:#404D75}
html:not([data-theme]) .staff-site .suburb-columbus{background:var(--bg-input);color:#CBD5E1;border-color:var(--theme-border)}
html:not([data-theme]) .staff-site.workspace-route>header{background:var(--bg-card)}
html:not([data-theme]) .staff-site :is(#admin-dashboard-view,#tech-dashboard-view) :is(input,textarea,select){border-color:var(--theme-border)}
html:not([data-theme]) .staff-site #tech-dashboard-view button[data-next-status="In Progress"]{background:var(--theme-accent);color:var(--theme-solid-text)}

}

/* Preserve contrast of controls with nested white text on bright blue surfaces. */
html[data-theme="dark"] .staff-site .bg-brand-cyan :is(.text-white,svg){color:var(--theme-solid-text)}
html[data-theme="dark"] .staff-site .workspace-draft-table td[data-label]::before{color:var(--theme-muted)}
html[data-theme="dark"] .staff-site .tech-theme-row select{min-height:48px}
@media print{
html,html[data-theme="dark"],html[data-theme="light"]{color-scheme:light!important;background:white!important}
html .customer-workspace,html .customer-workspace .document,html .customer-workspace .document-layout,html .customer-workspace .document-scope,html .customer-workspace .document-summary,html .customer-workspace #doc-content,html .staff-site #page-doc,html .staff-site #page-doc *{background:white!important;color:#111827!important;box-shadow:none!important;border-color:#cbd5e1!important}
html .customer-workspace #doc-content *,html .customer-workspace .document-summary .totals,html .customer-document .document-summary #total,html .customer-document .document-summary #balance{color:#111827!important;background:transparent!important;border-color:#cbd5e1!important}
html .customer-workspace #doc-content :is(.document-scope,.document-summary){background:white!important}
html .customer-workspace #doc-content .brand-mark{background:white!important}
.theme-picker,.document-actions,.proposal-progress{display:none!important}
}

/* Final responsive workspace shell; no provider or application state changes. */
.staff-site.workspace-route:has(#page-admin:not(.hidden) #admin-dashboard-view:not(.hidden),#page-tech:not(.hidden) #tech-dashboard-view:not(.hidden))>header,
.staff-site.workspace-route:has(#page-admin:not(.hidden) #admin-dashboard-view:not(.hidden),#page-tech:not(.hidden) #tech-dashboard-view:not(.hidden))>footer,
.staff-site.workspace-route:has(#page-admin:not(.hidden) #admin-dashboard-view:not(.hidden),#page-tech:not(.hidden) #tech-dashboard-view:not(.hidden)) .mobile-actions{display:none!important}
.owner-mobile-bar,.workspace-mobile-logout{display:none}
.workspace-public-link,.tech-public-link{font-size:12px;font-weight:600;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;gap:4px}
#office-navigation .workspace-public-link{color:#b9cbd8;margin:6px 8px 0}
.tech-public-link{color:var(--theme-link)}
.tech-theme-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
#tech-light-mode{min-height:48px}
.owner-secondary-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.owner-secondary-metrics>div{background:var(--bg-card)!important;border-color:var(--theme-border)!important;min-width:0}
.owner-secondary-metrics strong{display:block;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#owner-overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#owner-overview>div:nth-child(n){grid-column:auto;min-width:0}
#owner-menu-dialog{position:fixed;inset:0 auto 0 0;margin:0;width:min(288px,100%);height:100%;height:100dvh;max-height:100dvh;max-width:100%;background:#0f1419;color:#f1f5f9;border:0;padding:0;overflow-y:auto;overscroll-behavior:contain}
#owner-menu-dialog:not([open]){display:none}
#owner-menu-dialog::backdrop{background:rgb(11 15 20/.58)}
.owner-menu-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;background:#182028;border-bottom:1px solid #364553}
.owner-menu-head h2{font-size:15px;font-weight:700}
.owner-menu-head button{min-height:44px;padding:8px 12px;border:1px solid #64748b;border-radius:8px;font-weight:600}
#owner-menu-dialog[open]{animation:owner-menu-in .2s ease-out}
@keyframes owner-menu-in{from{transform:translateX(-100%)}to{transform:translateX(0)}}
.tech-stop-card{display:flex;flex-direction:column;gap:12px;background:var(--bg-card)!important;border-color:var(--theme-border)!important;color:var(--theme-text);min-width:0;box-shadow:none}
.tech-stop-meta{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}
.tech-stop-time{display:flex;flex-direction:column;gap:2px;min-width:0;font-variant-numeric:tabular-nums}
.tech-stop-time strong{font-size:14px;font-weight:700}
.tech-stop-time span{font-size:12px;color:var(--theme-muted)}
.tech-stop-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px;max-width:55%}
.tech-stop-badges .suburb-pill{margin:0}
.tech-status-badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:700;line-height:1.5}
.tech-stop-title h3,.tech-stop-title p{font-size:18px;font-weight:600;line-height:1.35;margin:0;overflow-wrap:anywhere}
.tech-stop-title p{font-size:18px;color:var(--theme-muted)}
.tech-stop-address{display:flex;align-items:center;gap:8px;min-height:48px;background:var(--bg-alt);border:1px solid var(--theme-border);border-radius:10px;color:var(--theme-link);padding:8px 10px;font-weight:600;font-size:14px}
.tech-stop-address span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}
.tech-stop-address svg{flex:none}
.tech-stop-notes{padding:10px 12px;background:var(--bg-alt);border-radius:10px;color:var(--theme-text);font-size:14px;min-width:0}
.tech-stop-notes summary{display:block;cursor:pointer;list-style:none}
.tech-stop-notes summary::-webkit-details-marker{display:none}
.tech-note-copy{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:pre-line;overflow-wrap:anywhere}
.tech-stop-notes[open] .tech-note-copy{display:block;overflow:visible}
.tech-note-expand{display:block;color:var(--theme-link);font-weight:600;min-height:36px;padding-top:8px}
.tech-stop-notes:not([open]) .note-less,.tech-stop-notes[open] .note-more{display:none}
.tech-stop-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border-top:1px solid var(--theme-border);padding-top:12px}
.tech-stop-actions button{min-height:48px;grid-column:auto!important;padding:9px;font-size:14px;border-radius:10px}
.tech-stop-actions button:only-child{grid-column:1/-1!important}
.tech-stop-actions:empty,.tech-stop-secondary:empty{display:none}
.tech-stop-actions .job-report-btn{background:var(--bg-input);border:1px solid var(--theme-border);color:var(--theme-text)}
.tech-stop-actions [data-next-status="In Progress"]{background:var(--theme-accent)!important;color:var(--theme-solid-text)!important}
.tech-stop-actions [data-next-status="Completed"]{background:#166534!important;color:white!important}
.tech-stop-secondary{display:flex;flex-wrap:wrap;gap:8px}
.tech-stop-secondary>*{min-height:44px;display:inline-flex;align-items:center;color:var(--theme-link);font-size:12px;font-weight:600;padding:6px 8px}
@media(max-width:1023px){
 .staff-site #admin-dashboard-view:not(.hidden){display:flex;flex-direction:column;align-items:stretch;gap:12px}
 .staff-site #admin-dashboard-view #owner-desktop-header{display:none}
 .staff-site #admin-dashboard-view .owner-mobile-bar{display:flex;position:sticky;top:0;z-index:30;height:56px;min-height:56px;align-items:center;gap:8px;justify-content:space-between;background:var(--bg-card);color:var(--theme-text);border:1px solid var(--theme-border);border-radius:12px;padding:0 8px}
 .owner-mobile-bar h1{font-size:15px;line-height:1.15;font-weight:750;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .owner-mobile-bar button{display:flex;align-items:center;justify-content:center;gap:4px;min-height:44px;padding:6px 8px;font-size:12px;font-weight:700;border-radius:9px;white-space:nowrap}
 #owner-menu-toggle{background:var(--bg-alt);border:1px solid var(--theme-border);color:var(--theme-text)}
 #owner-new-estimate{background:var(--theme-accent);color:var(--theme-solid-text)}
 #admin-dashboard-view>#office-navigation{display:none}
 #owner-menu-dialog #office-navigation.workspace-sidebar{display:flex;position:static;max-height:none;overflow:visible;border-radius:0;padding:10px 12px 20px}
 #owner-menu-dialog .workspace-nav-brand{display:flex}
 #owner-menu-dialog .workspace-mobile-logout{display:block;min-height:44px;padding:8px 10px;text-align:left;color:#f1f5f9;border:1px solid #46515b;border-radius:8px;margin-top:10px}
 .staff-site #page-admin:has(#admin-dashboard-view:not(.hidden)){padding-block:8px}
 #admin-panel-overview>.workspace-section-title{display:none}
 #owner-overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 #owner-overview>div:nth-child(n){grid-column:auto;min-height:0;padding:12px;margin:0}
 #owner-overview p{font-size:11px;line-height:1.2}
 #owner-overview strong{font-size:23px;margin-top:4px}
 #admin-dashboard-view .workspace-overview:not(.hidden){gap:10px;padding:0!important}
 #office-work-queue,.workspace-draft-card{padding:14px}
 #office-queue-rows>li>button{padding:10px}
}
@media(max-width:767px){
 .marketing-site .section{padding-block:44px}
 .marketing-site .division-card,.marketing-site .quote-form,.marketing-site .estimator-controls,.marketing-site .estimate-summary,.marketing-site .service-feature{padding:16px}
 .marketing-site .water-wave{height:clamp(40px,8vw,48px)}
 .marketing-site input,.marketing-site select,.marketing-site textarea{font-size:16px}
 .marketing-site .footer{padding-bottom:calc(120px + env(safe-area-inset-bottom))}
 .marketing-site .mobile-actions{padding-bottom:calc(10px + env(safe-area-inset-bottom))}
 #tech-dashboard-view .tech-stop-card{padding:16px}
 .tech-theme-row{justify-content:flex-start}
 .tech-public-link{margin-left:auto}
 .owner-secondary-metrics>div{padding:12px}
 .owner-secondary-metrics strong{font-size:18px}
}
@media(prefers-reduced-motion:reduce){#owner-menu-dialog[open]{animation:none}}

.hero-home.has-hero-photo{position:relative;isolation:isolate;overflow:hidden}
.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.hero-home.has-hero-photo::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgb(11 15 20/.92),rgb(11 15 20/.76));z-index:-1}
.division-photo{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:10px;margin-bottom:8px}
