:root {color-scheme:light}
.bar-tools,.appearance {display:flex;align-items:center;gap:.5rem}
.bar-tools {gap:1rem}
.appearance {position:relative;padding-left:.65rem;border:1px solid var(--line);border-radius:.6rem;background:var(--surface);color:var(--ink)}
.appearance select {appearance:none;color:inherit;background:transparent;border:0;border-radius:.6rem;padding:.5rem 1.55rem .5rem 1.9rem;margin-left:-1.9rem;min-height:42px;font-size:.9rem;cursor:pointer}
.appearance::after {content:'';position:absolute;right:.65rem;width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-2px) rotate(45deg);pointer-events:none}
.appearance>span {pointer-events:none}
@media(max-width:440px){.bar-tools{gap:.35rem}.help{font-size:0;min-width:38px;min-height:42px;justify-content:center;padding:0;gap:0}}
:root[data-theme=dark] {
 color-scheme:dark;--bg:#191c1b;--surface:#232725;--ink:#f5f1e8;--line:#515953;--muted:#c2c6bb;--field:#1d211f;
}
[data-theme=dark] header,[data-theme=dark] .ed-card,[data-theme=dark] .poll-panel {background:var(--surface)}
[data-theme=dark] .ed-heading {background:transparent}
[data-theme=dark] .hero {background-color:#2e3329;border-color:#4e5748;background-image:radial-gradient(#525b48 .8px,transparent .9px)}
[data-theme=dark] .hero::before {background:linear-gradient(100deg,#30352a 32%,transparent 82%)}
[data-theme=dark] .intro em {color:#ffac93}
[data-theme=dark] :is(.intro p,.panel p,.ed-card .ed-subtitle,.ed-map-preview,.ed-whole,.poll-muted,.poll-choice small,.poll-result small) {color:var(--muted)}
[data-theme=dark] .art {color:#28312b}
[data-theme=dark] .spark {color:#f1a186}
[data-theme=dark] .dark,[data-theme=dark] .ed-submit,[data-theme=dark] .poll-wrap .poll-primary {background:var(--ink);color:var(--bg)}
[data-theme=dark] #join input,[data-theme=dark] .overlap-editor input:not([type=checkbox]),[data-theme=dark] .overlap-editor select,[data-theme=dark] .ed-time,[data-theme=dark] .poll-wrap input:is([type=text],[type=password]) {background:var(--field);color:var(--ink);border-color:#768076}
[data-theme=dark] .ed-quiet,[data-theme=dark] .ed-secondary,[data-theme=dark] .poll-wrap button:not(.poll-primary),[data-theme=dark] .poll-button {color:var(--ink);background:var(--surface)}
[data-theme=dark] .ed-quiet:hover,[data-theme=dark] .ed-day,[data-theme=dark] .poll-track {background:#363d37}
[data-theme=dark] .poll-head,[data-theme=dark] .poll-notice {background:#34312b}
[data-theme=dark] .poll-choice {border-color:#687066}
[data-theme=dark] .poll-choice:has(input:checked) {background:#49332c;border-color:#ef997a}
[data-theme=dark] .ed-error {color:#ffa99a}
[data-theme=dark] :focus-visible {outline-color:#b6a9fc}
