:root{--bg:#0a0a0a;--surface:#111;--surface-2:#0d0d0d;--text:#f7f5f2;--muted:#9da3aa;--border:#2d2d2d;--accent:#f26b5e;--accent-text:#0a0a0a}html[data-theme="light"]{color-scheme:light;--bg:#f7f5f2;--surface:#fff;--surface-2:#f0ece7;--text:#171717;--muted:#60656b;--border:#d8d2cb;--accent:#f26b5e;--accent-text:#111}html[data-theme="light"] body,html[data-theme="light"] .sidebar,html[data-theme="light"] .panel,html[data-theme="light"] .metric,html[data-theme="light"] .health-card,html[data-theme="light"] .chip,html[data-theme="light"] .pipeline span,html[data-theme="light"] input,html[data-theme="light"] select,html[data-theme="light"] textarea,html[data-theme="light"] dialog{background:var(--surface);color:var(--text);border-color:var(--border)}html[data-theme="light"] body{background:var(--bg)}html[data-theme="light"] .sidebar{background:#f1ede8}html[data-theme="light"] .nav-btn{color:#50555b}html[data-theme="light"] .nav-btn:hover,html[data-theme="light"] .nav-btn.active{background:#fff;color:#111;border-color:var(--border)}html[data-theme="light"] .page-head,html[data-theme="light"] .sidebar,html[data-theme="light"] th,html[data-theme="light"] td,html[data-theme="light"] .audit>div{border-color:var(--border)}html[data-theme="light"] .page-head p:not(.eyebrow),html[data-theme="light"] .muted,html[data-theme="light"] small,html[data-theme="light"] .metric span{color:var(--muted)}.segmented{display:flex;gap:8px;flex-wrap:wrap}.settings-select{display:grid;gap:8px;max-width:360px;margin-bottom:18px}.permission-table{min-width:920px}.permission-table td:not(:first-child),.permission-table th:not(:first-child){text-align:center}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0}.settings-grid>div{border:1px solid var(--border);border-radius:10px;padding:14px}.settings-grid span,.settings-grid strong{display:block}.security-note{border-left:3px solid var(--accent);padding:10px 12px;background:color-mix(in srgb,var(--accent) 8%,transparent)}.legal-links{display:flex;gap:10px;flex-wrap:wrap}.legal-links a{color:var(--text);border:1px solid var(--border);padding:9px 12px;border-radius:9px;text-decoration:none}.legal-links a:hover{border-color:var(--accent)}button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:760px){.settings-grid{grid-template-columns:1fr}}