/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body { font-family: ui-sans-serif, system-ui, -apple-system, sans-serif; line-height: 1.5; transition: background 0.2s, color 0.2s; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* ── Theme tokens ────────────────────────────────────────────────────────── */
:root {
  --bg:          #0a0f1a;
  --bg-2:        #0f1623;
  --bg-3:        #141d2e;
  --bg-4:        #1a2540;
  --border:      #1e2d47;
  --border-2:    #243351;
  --text:        #e8edf5;
  --text-2:      #94a3b8;
  --text-3:      #4f6280;
  --accent:      #10b981;
  --accent-dim:  rgba(16,185,129,.12);
  --accent-glow: rgba(16,185,129,.25);
  --danger:      #ef4444;
  --danger-dim:  rgba(239,68,68,.1);
  --warn:        #f59e0b;
  --warn-dim:    rgba(245,158,11,.1);
  --info:        #3b82f6;
  --info-dim:    rgba(59,130,246,.1);
  --sidebar-w:   240px;
  --radius:      10px;
  --radius-lg:   14px;
  --shadow:      0 4px 24px rgba(0,0,0,.4);
  --shadow-sm:   0 2px 8px rgba(0,0,0,.25);
}

[data-theme="light"] {
  --bg:          #f0f4f8;
  --bg-2:        #ffffff;
  --bg-3:        #f8fafc;
  --bg-4:        #edf2f7;
  --border:      #dde3ed;
  --border-2:    #c8d0de;
  --text:        #0f172a;
  --text-2:      #475569;
  --text-3:      #94a3b8;
  --accent:      #059669;
  --accent-dim:  rgba(5,150,105,.1);
  --accent-glow: rgba(5,150,105,.2);
  --danger:      #dc2626;
  --danger-dim:  rgba(220,38,38,.08);
  --warn:        #d97706;
  --warn-dim:    rgba(217,119,6,.08);
  --info:        #2563eb;
  --info-dim:    rgba(37,99,235,.08);
  --shadow:      0 4px 24px rgba(0,0,0,.08);
  --shadow-sm:   0 2px 8px rgba(0,0,0,.06);
}

/* ── Base ─────────────────────────────────────────────────────────────────── */
body { background: var(--bg); color: var(--text); }
