/* Optional night palette. Classic is preserved in the original theme styles. */
#night-text-toggle{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;white-space:nowrap;min-height:36px;padding:.4rem .6rem;border:1px solid var(--atlas-tool-edge);border-radius:6px;color:var(--atlas-tool-heading)}
[data-theme=light] #night-text-toggle{display:none}
[data-theme=dark][data-night-text=white]{--muted:#fff;--atlas-tool-heading:#fff;--atlas-tool-copy:#fff}
[data-theme=dark][data-night-text=white] body :where(*):not(svg):not(svg *){color:#fff!important}
[data-theme=dark][data-night-text=white] svg text{fill:#fff!important}
[data-theme=dark][data-night-text=white] input::placeholder,[data-theme=dark][data-night-text=white] textarea::placeholder{color:#fff;opacity:.75}
/* White labels need dark selected surfaces, including controls in Options Lab. */
[data-theme=dark][data-night-text=white] :is(button.selected,button.active,button.primary,button[aria-pressed=true],#send,#run,.olab-segmented button.active,.olab-modes button.active){background:#294b65!important}
[data-theme=dark][data-night-text=white] :is(.olab-expiry-day.selected,.olab-date.selected){background:#294b65!important}
@media(max-width:760px){#night-text-toggle{min-height:44px;min-width:44px;padding:.4rem}.night-text-label{display:none}}
