/* Theme toggle and alternate palette for Brightwater Plumbing, Premium.
   Generated by _design-system/builder/gallery_theme/apply.py; edit themes.py there, not this file. */
/* Theme toggle button. It inherits the header's text colour, so it reads correctly over
   footage and on solid bars alike. Hidden until the head script has set a theme (no-JS visitors
   keep the designed palette and never see a dead control). */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;margin:0;padding:0;border:1px solid color-mix(in srgb,currentColor 28%,transparent);border-radius:50%;background:transparent;color:inherit;line-height:0;cursor:pointer;transition:border-color .2s,background-color .2s}
.theme-toggle:hover{border-color:currentColor;background:color-mix(in srgb,currentColor 8%,transparent)}
.theme-toggle:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.theme-toggle .theme-toggle__icon{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle .theme-toggle__sun{display:none}
html[data-theme="dark"] .theme-toggle .theme-toggle__sun{display:block}
html[data-theme="dark"] .theme-toggle .theme-toggle__moon{display:none}
html:not([data-theme]) .theme-toggle{display:none}
@media (prefers-reduced-motion:reduce){.theme-toggle{transition:none}}
/* Toggle placement in this header. */
.topbar{justify-content:flex-start}
.topbar>.brand{margin-right:auto}
.topbar>.topbar__right{margin-left:auto}
.topbar>.theme-toggle{margin-left:-10px}
@media (max-width:1040px){.topbar>.topbar__right{margin-left:0}.topbar>.theme-toggle{margin-left:0}}
@media (max-width:1040px){.topbar .nav{display:none;position:absolute;left:0;right:0;top:100%;z-index:40;flex-direction:column;gap:0;background:var(--bg);border-bottom:1px solid var(--line);padding:8px var(--gutter) 16px}.topbar .nav.is-open{display:flex}.topbar .nav a{font-size:18px;padding:14px 0;border-bottom:1px solid var(--line);color:var(--ink)}.topbar .nav-toggle{display:inline-flex}}
/* Alternate palette. The designed palette stays the default. */
html[data-theme="dark"]{color-scheme:dark;--bg:#0B1B21;--surface:#11262E;--deep:#06141A;--ink:#E3EEF1;--muted:#93AAB3;--line:rgba(227,238,241,.14);--line-strong:rgba(227,238,241,.3);--accent:#2FA3C2;--accent-hover:#47B4D1;--accent-soft:rgba(47,163,194,.14);--accent-ink:#06141A;--drain:#8FA7B1;--paper:#0B1B21}
html[data-theme="dark"] .house-soil{fill:#12313B}
html[data-theme="dark"] .pipe-shell{stroke:#2A4651}
html[data-theme="dark"] .field :is(input,select,textarea){background:var(--surface);color:var(--ink)}
@media (max-width:767px){html[data-theme="dark"] .callbar{background:color-mix(in srgb,var(--bg) 94%,transparent)}}
