:root {
  color-scheme: dark;
  --bg: #0d1218;
  --bg-raise: #141b24;
  --card: #18212c;
  --card-2: #10171f;
  --line: #2d3c4e;
  --text: #eef3f8;
  --muted: #a9b8c9;
  --green: #3dd68c;
  --amber: #f0c14d;
  --red: #ff8b84;
  --blue: #9ecbff;
  font-family: "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(1200px 420px at 10% -10%, rgba(158, 203, 255, 0.08), transparent 55%), var(--bg);
  color: var(--text);
  font-size: 15px;
}
button, input, select { font: inherit; color: inherit; }
button, input, select { min-height: 40px; }
button { background: var(--blue); color: #07131f; border: 0; border-radius: 10px; padding: 0 14px; font-weight: 700; cursor: pointer; }
button.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
button.small { min-height: 30px; padding: 0 8px; font-size: 12px; }
input, select { width: 100%; background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
label { display: block; margin: 0 0 6px; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
h1 { margin: 2px 0 0; font-size: 2rem; letter-spacing: -0.03em; white-space: nowrap; }
.eyebrow { margin: 0; color: var(--amber); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.topbar, .wrap { width: min(1440px, calc(100% - 32px)); margin: 0 auto; }
.topbar { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 18px 0 10px; }
.nav { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--text); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.nav a.on { background: var(--blue); color: #07131f; border-color: transparent; }
.login-body { min-height: 100vh; display: grid; place-items: center; }
.login-card { width: min(420px, calc(100% - 32px)); background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; }
.login-card button { width: 100%; margin-top: 16px; }
.login-card label { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--text); margin-top: 12px; }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 8px 0; }
.switch { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.switch input { width: auto; min-height: 0; }
.table-block, .card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.table-block { overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 8px 8px; border-bottom: 1px solid #243140; vertical-align: middle; text-align: left; }
th { color: var(--muted); font-size: 11px; letter-spacing: 0.03em; text-transform: uppercase; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.profile td { font-weight: 750; background: #141c27; }
.good { color: #8ee0b4; }
.bad { color: #ffb0aa; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.dot.on { background: #b7f0c4; }
.dot.off { background: #ffe7a3; }
.id { color: var(--blue); font-weight: 750; }
.sug { display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.editor, .wizard { padding: 16px; display: grid; gap: 12px; }
.choices { display: flex; gap: 8px; flex-wrap: wrap; }
.choice { border: 1px solid var(--line); background: var(--card-2); border-radius: 12px; padding: 10px 12px; font-weight: 700; }
.stack { display: grid; gap: 12px; margin-top: 8px; }
.actions { display: flex; justify-content: space-between; }
.err { color: var(--red); margin: 0; }
