/* Shared theme control and semantic dark surfaces, never an image inversion. */
:root{color-scheme:light;--on-dark:#f4f3ef;--action-bg:var(--accent);--action-text:#fff;--media-label-bg:#294653}
.theme-toggle{width:64px;height:44px;flex:0 0 64px;position:relative;display:inline-flex;align-items:center;justify-content:space-between;padding:9px;border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--muted);isolation:isolate;touch-action:manipulation}
.theme-toggle .theme-thumb{position:absolute;z-index:-1;width:26px;height:26px;left:5px;top:8px;border-radius:50%;background:var(--paper);box-shadow:0 1px 4px #0002;transition:transform 240ms var(--ease)}
.theme-toggle svg{width:18px;height:18px;display:block;flex-shrink:0}
.theme-toggle[aria-checked=false] .theme-sun,.theme-toggle[aria-checked=true] .theme-moon{color:var(--ink)}
.theme-toggle[aria-checked=true] .theme-thumb{transform:translateX(26px)}
.theme-toggle:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
@media(max-width:1280px){.header .header-inquiry{display:none}}
@media(max-width:360px){.header .header-inner{gap:8px}.header .brand-logo{width:110px}}
:root[data-theme=dark]{color-scheme:dark;--paper:#151c1f;--surface:#1e292d;--surface-deep:#29363a;--ink:#edf0e9;--muted:#b8c3bd;--accent:#8dc6d5;--accent-dark:#b3ddea;--accent-soft:#263d44;--line:#3c484b;--dark:#101719;--tertiary:#e2a68a;--tertiary-deep:#f0c4ac;--tertiary-soft:#352924;--tertiary-line:#785b4b;--action-text:#11272e}
.evidence-videos{color:var(--on-dark)}
html[data-theme=dark] .button.primary,html[data-theme=dark] .inquiry-panel .inquiry-submit{background:var(--action-bg);color:var(--action-text)}
html[data-theme=dark] .estimate,html[data-theme=dark] .sibling-business{--muted:#c2beb4}
html[data-theme=dark] .evidence-photo .round-arrow{color:var(--action-text)}
html[data-theme=dark] .inquiry-field input,html[data-theme=dark] .inquiry-field textarea,html[data-theme=dark] .inquiry-field select,html[data-theme=dark] .phone-country-trigger,html[data-theme=dark] .country-search-wrap input,html[data-theme=dark] .field input,html[data-theme=dark] .field select{background-color:var(--surface);border-color:var(--line);color:var(--ink)}
html[data-theme=dark] .inquiry-field input::placeholder,html[data-theme=dark] .inquiry-field textarea::placeholder{color:var(--muted)}
html[data-theme=dark] .inquiry-field select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23bac3bd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
html[data-theme=dark] .inquiry-field [aria-invalid=true]{background-color:#3c2525;border-color:#cb8278}
html[data-theme=dark] .inquiry-field-error,html[data-theme=dark] .field-error{color:#ffb3a8}
html[data-theme=dark] .inquiry-panel .inquiry-error{color:#ffd2cb;background:#3c2525;border-color:#a76b62}
html[data-theme=dark] .locality-panel li.active{background:var(--accent-soft);color:var(--ink);outline-color:var(--accent)}
html[data-theme=dark] .privacy-dialog{color:var(--ink)}
html[data-theme=dark] .field-valid input,html[data-theme=dark] .field-valid textarea,html[data-theme=dark] .field-valid select{border-color:#8fa998}
html[data-theme=dark] tbody tr:last-child td,html[data-theme=dark] tbody tr:last-child th{border-bottom-color:var(--line)}
html[data-theme=dark] ::selection{background:#4d6b76;color:#f4f3ef}
@media(hover:hover) and (pointer:fine){.theme-toggle:hover{border-color:var(--accent)}html[data-theme=dark] .button.primary:hover,html[data-theme=dark] .inquiry-panel .inquiry-submit:hover{background:var(--accent-dark)}html[data-theme=dark] .locality-panel li:hover{background:var(--accent-soft)}}
@media(prefers-reduced-motion:reduce){.theme-toggle .theme-thumb{transition:none}}
@media print{.theme-toggle{display:none!important}:root[data-theme=dark]{color-scheme:light;--paper:#fff;--surface:#eeece5;--surface-deep:#eae7de;--ink:#202c2b;--muted:#59635e;--accent:#076985;--line:#dcd8ce}}

.cinematic-hero{color:var(--on-dark)}

html[data-theme=dark] .skip-link{background:var(--accent);color:var(--action-text)}

.long-videos .video-info h3{color:var(--on-dark)}
