:root{color-scheme:light}
.brand .logo-on-dark{display:none}
.theme-control{position:fixed;right:20px;bottom:18px;z-index:6;display:flex;align-items:center;gap:9px;padding:7px 10px;background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:0 3px 16px #19251e12;color:var(--ink);font-size:11px}
.theme-control svg{width:16px;height:16px;color:#788078}
.theme-control select{border:0;background:transparent;color:inherit;font-size:11px;cursor:pointer;max-width:90px;padding:4px 2px}
.theme-control option{background:var(--paper);color:var(--ink)}
body{padding-bottom:46px}
:root[data-theme="dark"]{color-scheme:dark;--ink:#ecf2e7;--muted:#acb8a5;--line:#334136;--paper:#111a15;--green:#9aca74;--red:#ed8981;--amber:#dfb566}
[data-theme="dark"] .brand .logo-on-light{display:none}
[data-theme="dark"] .brand .logo-on-dark{display:block}
[data-theme="dark"] :is(.stats-row,.service-group,.empty-state,.incident-card,.admin-sidebar,.metric,.table-wrap,.panel,dialog,.auth-layout,.theme-control){background:#19241d}
[data-theme="dark"] :is(.group-title,thead,.workspace-label){background:#1e2b22}
[data-theme="dark"] .admin-topbar{background:#152019}
[data-theme="dark"] :is(.service-row,td,.setting-row,.timeline,.admin-profile){border-color:var(--line)}
[data-theme="dark"] .header-divider{background:var(--line)}
[data-theme="dark"] :is(.eyebrow,.header-label,.back-link,.stat>span:first-child,.stat-foot,.group-title>span,.service-heading p,.bar-caption,.legend,.fine-print,.aside-section p,.aside-note,.empty-state p,.incident-card time,.timeline p,.schedule,.admin-page-heading p,.metric>span:first-child,.metric p,td small,thead,.field-hint,.checkbox,.auth-note,.admin-topbar span,.sidebar-bottom>a,.sidebar-bottom>button,.admin-sidebar nav button,.nav-caption,.workspace-label small,.admin-profile small,.topbar-live,footer){color:#a7b6a0}
[data-theme="dark"] :is(.bar-caption span:nth-child(2),.monitor-summary,.inline-link,.stat strong small.stat-note){color:#b6cf9e}
[data-theme="dark"] :is(.group-title .icon,.stat .icon,.aside-section .icon,.admin-profile>.icon,.theme-control svg){color:#a4b794}
[data-theme="dark"] :is(.segmented,.tags span,.admin-profile>span){background:#26352a;color:#b8c7ae}
[data-theme="dark"] .segmented button{color:#b4c1aa}
[data-theme="dark"] .segmented button.selected{background:#3b4f30;color:#eff8e9;box-shadow:none}
[data-theme="dark"] .filter{color:#aebca4}
[data-theme="dark"] .filter.selected{background:#283824;border-color:#475f38;color:#e8f7db}
[data-theme="dark"] .empty{background:#354236}
[data-theme="dark"] .good{background:#91bd6b}
[data-theme="dark"] .partial{background:#ff8b38}[data-theme="dark"] .bar.partial{box-shadow:inset 0 0 0 1px #ffb278}
[data-theme="dark"] .bad{background:#db756e}
[data-theme="dark"] .badge{background:#29352b;border-color:#42513f;color:#bfccba}
[data-theme="dark"] :is(.badge.operational,.badge.up,.badge.resolved,.badge.completed){background:#263922;border-color:#405837;color:#b4d990}
[data-theme="dark"] :is(.badge.outage,.badge.down){background:#422923;border-color:#684238;color:#ffb4a8}
[data-theme="dark"] :is(.badge.degraded,.badge.investigating,.badge.identified){background:#3a3221;border-color:#645333;color:#efcb85}
[data-theme="dark"] :is(.badge.maintenance,.badge.scheduled,.badge.in_progress,.badge.monitoring){background:#253141;border-color:#3b506c;color:#b4cff2}
[data-theme="dark"] .btn{background:#243329;border-color:#3a4c3d;color:#e5edde}
[data-theme="dark"] .btn:hover{background:#334736}
[data-theme="dark"] .btn.primary{background:var(--lime);border-color:var(--lime);color:#1b2914}
[data-theme="dark"] .btn.primary:hover{background:#c5ed00}
[data-theme="dark"] .btn.dark{background:#e7f1dc;border-color:#e7f1dc;color:#1c2d23}
[data-theme="dark"] .btn.dark:hover{background:#d4e5c5}
[data-theme="dark"] .btn.text{background:transparent}
[data-theme="dark"] :is(.aside-icon,.empty-icon,.workspace-avatar){background:#2c3d25;border-color:#465b38;color:#c3df9a}
[data-theme="dark"] :is(.onboarding,.info-banner,.subscribe-card){background:#263620;border-color:#425634;color:#c0d6aa}
[data-theme="dark"] :is(.onboarding p,.subscribe-card p,.aside-links){color:#b1c49c}
[data-theme="dark"] .warning{background:#3d3420;border-color:#675632;color:#edca82}
[data-theme="dark"] .admin-sidebar nav button:hover{background:#273629}
[data-theme="dark"] .admin-sidebar nav button.active{background:#344829;color:#daf2b5}
[data-theme="dark"] .nav-count{background:#536c38;color:#f1ffde}
[data-theme="dark"] :is(.field input,.field select,.field textarea){background:#131e17;border-color:#40513c;color:#e4eddb}
[data-theme="dark"] :is(.field input,.field textarea)::placeholder{color:#91a085}
[data-theme="dark"] .timeline>div:before{border-color:#19241d}
[data-theme="dark"] .danger{color:#ffafa1!important}
[data-theme="dark"] .form-error{color:#ffafa1}
[data-theme="dark"] details{color:#bbd39f}
[data-theme="dark"] .hero{color:#fff;border:1px solid #334b37}
[data-theme="dark"] .auth-story{color:#fff}
[data-theme="dark"] .auth-story>.eyebrow{color:var(--lime)}
[data-theme="dark"] .theme-control{box-shadow:0 3px 16px #0003}
@media(max-width:540px){.theme-control{right:12px;bottom:10px;padding:5px 8px}.theme-control select{min-height:30px}body{padding-bottom:48px}}
