:root {
  color-scheme: dark;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --bg: #0b0e14;
  --surface: #111620;
  --surface-2: #171d29;
  --surface-3: #1d2432;
  --surface-soft: rgba(255,255,255,.035);
  --text: #f5f7fb;
  --text-2: #b9c1d1;
  --text-3: #798398;
  --border: rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.13);
  --brand: #5b8cff;
  --brand-2: #7c5cff;
  --green: #21c58b;
  --amber: #f6a723;
  --red: #ff5f72;
  --blue: #5b8cff;
  --purple: #8c70ff;
  --gray: #8c96a8;
  --sidebar-width: 252px;
  --topbar-height: 76px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 18px 48px rgba(0,0,0,.28);
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f5f9;
  --surface: #ffffff;
  --surface-2: #f7f8fb;
  --surface-3: #eef1f6;
  --surface-soft: rgba(14,23,38,.035);
  --text: #141923;
  --text-2: #526078;
  --text-3: #8a95a8;
  --border: rgba(16,24,40,.09);
  --border-strong: rgba(16,24,40,.14);
  --shadow: 0 18px 48px rgba(30,45,70,.12);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); }
body { overflow-x: hidden; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
svg { display: block; }
