/* Theme toggle and alternate palette for Hearth & Hall, Essential.
   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. */
.site-header{justify-content:flex-start}
.site-header>.brand{margin-right:auto}
.site-header>.header-phone{margin-left:auto}
.site-header>.theme-toggle{margin-left:-8px}
@media (max-width:900px){.site-header>.theme-toggle{margin-left:0}}
@media (max-width:600px){.site-header{gap:8px}}
@media (max-width:420px){.site-header{gap:6px}.site-header>.theme-toggle{width:36px;height:36px}}
@media (max-width:380px){.site-header{gap:4px}.site-header>.theme-toggle{width:32px;height:32px}}
/* Alternate palette. The designed palette stays the default. */
html[data-theme="dark"]{color-scheme:dark;--bg:#1A1619;--surface:#1A1619;--paper:#1A1619;--ink:#EEE8EB;--accent-ink:#EEE8EB;--muted:#B4AAAF;--line:#EEE8EB38;--accent:#C792B3}
html[data-theme="dark"] .form-status.error{color:#FF8A7A}
