:root{color-scheme:light}
:root[data-theme="dark"]{
  color-scheme:dark;
  --paper:#171e19;--ink:#e5ebdf;--muted:#aebaa5;--line:#394438;
  --green:#354a2e;--orange:#614330;--white:#202a23;
  --theme-surface:#202a23;--theme-inset:#253026;--theme-selected:#31412c;
  --theme-hover:#2d392d;--theme-border:#44513f;--theme-outline:#86a66d;
  --theme-muted:#b4c0aa;--theme-subtle:#a1af96;--theme-on-strong:#172218;
  --theme-success:#b3d28c;--theme-positive:#2c412c;--theme-danger:#efb398;
  --theme-negative:#442e25;--theme-danger-border:#b78068;--theme-warm:#dfb28b;
  --theme-purple:#c2addf;--theme-purple-surface:#393246;--theme-warm-surface:#44382b;
  --theme-accent:#aacb83;--theme-button-hover:#cadbb9;--theme-backdrop:#050807cc;
}
.topbar-actions{display:flex;align-items:center;gap:10px}
.theme-picker{position:relative;flex-shrink:0}
.theme-button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:9px 12px;border:1px solid var(--line);border-radius:99px;background:transparent;color:var(--ink);font-size:11px}
.theme-button:hover,.theme-option:hover{background:var(--theme-hover,#efefe7)}
.theme-button svg{width:17px;height:17px}
.theme-moon{display:none}
[data-theme="dark"] .theme-sun{display:none}
[data-theme="dark"] .theme-moon{display:block}
.theme-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:50;width:190px;padding:7px;border:1px solid var(--line);border-radius:14px;background:var(--theme-surface,#fcfcf8);box-shadow:0 12px 35px #0002}
.theme-option{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:11px 12px;border:0;border-radius:8px;background:transparent;color:var(--ink);font-size:12px;text-align:left}
.theme-option[aria-pressed="true"]{background:var(--theme-selected,#ecf1e2);font-weight:600}
.theme-option[aria-pressed="true"]::after{content:'✓';margin-left:12px}
@media(max-width:650px){.topbar-actions{gap:7px}.theme-label{display:none}.theme-button{padding:10px}.topbar>div:first-child{min-width:0}.account-button{max-width:140px}}
