:root{--chart-label:#7d8585;--chart-grid:#e1e4dc;--chart-bar:#d58f74;--chart-hover:#bd7359;--chart-tooltip:#1c4f41}
.theme-options{display:flex;gap:12px;flex-wrap:wrap}
.theme-option{display:flex;align-items:center;gap:10px;min-width:135px;background:var(--paper)}
.theme-option[aria-pressed="true"]{border-color:var(--green);box-shadow:0 0 0 1px var(--green);color:var(--green)}
.theme-swatch{display:block;width:24px;height:24px;border:1px solid #a4ada4;border-radius:50%;background:#faf9f5}
.theme-swatch.dark{background:#151d1c;border-color:#65776e}
:root[data-theme="dark"]{color-scheme:dark;--page:#151d1c;--side:#111917;--paper:#1c2723;--ink:#e3ece5;--muted:#a5b5ac;--green:#89c9a9;--green-dark:#244f3e;--pale:#283d31;--line:#35463c;--orange:#df9d80;--danger:#f0a198;--chart-label:#a5b5ac;--chart-grid:#35463c;--chart-bar:#df9d80;--chart-hover:#efb69c;--chart-tooltip:#244f3e}
[data-theme="dark"] .sidebar{border-right-color:var(--line)}
[data-theme="dark"] .sidebar [data-page]:hover,[data-theme="dark"] button:hover,[data-theme="dark"] .task-row:hover{background:#26372e}
[data-theme="dark"] .sidebar [data-page].active,[data-theme="dark"] .tabs button.active,[data-theme="dark"] .presets button.active,[data-theme="dark"] .calendar-day.today{background:#2a4133;color:var(--green);border-color:#2a4133}
[data-theme="dark"] .composer,[data-theme="dark"] .period-button{background:var(--paper);border-color:var(--line)}
[data-theme="dark"] .composer-mark{border-right-color:var(--line)}
[data-theme="dark"] .composer textarea::placeholder{color:var(--muted)}
[data-theme="dark"] .primary{background:#386d52;border-color:#4b8868;color:#f2faf4}
[data-theme="dark"] .primary:hover{background:#467f62;border-color:#5d9c7a}
[data-theme="dark"] .choose-period,[data-theme="dark"] .view-modes,[data-theme="dark"] .board-column{background:#202e26}
[data-theme="dark"] .view-modes button.active{background:#334b3b;color:var(--ink)}
[data-theme="dark"] .meter,[data-theme="dark"] .mini-meter{background:#2b4032}
[data-theme="dark"] .quota.stale .meter>span{background:#8b9e91}
[data-theme="dark"] .quota-state.warning,[data-theme="dark"] .coverage{color:#e2b68b}
[data-theme="dark"] .quota.unknown .quota-value{color:var(--muted)}
[data-theme="dark"] .task-symbol,[data-theme="dark"] .task-symbol.running,[data-theme="dark"] .badge,[data-theme="dark"] .badge.running,[data-theme="dark"] .badge.queued,[data-theme="dark"] .badge.planned{background:#2a4133;color:var(--green)}
[data-theme="dark"] .badge.review{background:#493c26;color:#e6c38b}
[data-theme="dark"] .badge.failed,[data-theme="dark"] .badge.blocked{background:#4a302d;color:#f0b2a5}
[data-theme="dark"] .badge.cancelled{background:#343a34;color:#bac4b9}
[data-theme="dark"] .presets button{color:var(--muted)}
[data-theme="dark"] .board-card{border-color:var(--line)}
[data-theme="dark"] .calendar-event{background:#2a4133;color:var(--ink)}
[data-theme="dark"] .rich-text pre,[data-theme="dark"] .rich-text code{background:#25342b}
[data-theme="dark"] .rich-text pre code{background:transparent}
[data-theme="dark"] .rich-text blockquote{border-left-color:#6e9c7c}
[data-theme="dark"] .message.question{background:#3b3527}
[data-theme="dark"] .banner{background:#412e28;border-color:#795449}
[data-theme="dark"] .theme-option[aria-pressed="true"]{background:#2a4133}
[data-theme="dark"] .brand img,[data-theme="dark"] .login-copy img{filter:brightness(1.8) saturate(.75)}
[data-theme="dark"] .toast{background:#2c5d44}
