:root {
  --navy: #0f172a;
  --navy2: #1e293b;
  --navy3: #334155;
  --blue: #3b82f6;
  --blue-light: #eff6ff;
  --blue-mid: #bfdbfe;
  --green: #22c55e;
  --green-light: #f0fdf4;
  --green-mid: #bbf7d0;
  --amber: #f59e0b;
  --amber-light: #fffbeb;
  --amber-mid: #fde68a;
  --red: #ef4444;
  --red-light: #fef2f2;
  --red-mid: #fecaca;
  --purple: #8b5cf6;
  --purple-light: #f5f3ff;
  --purple-mid: #ddd6fe;
  --rest: #64748b;
  --rest-light: #f1f5f9;
  --rest-mid: #cbd5e1;
  --text: #0f172a;
  --text2: #475569;
  --text3: #94a3b8;
  --bg: #f8fafc;
  --bg2: #ffffff;
  --border: #e2e8f0;
  --border2: #cbd5e1;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow2: 0 4px 16px rgba(0,0,0,.14);
}
body.dark {
  --navy: #0b1120;
  --navy2: #111827;
  --navy3: #1f2937;
  --blue-light: rgba(59,130,246,.14);
  --blue-mid: rgba(59,130,246,.30);
  --green-light: rgba(34,197,94,.10);
  --green-mid: rgba(34,197,94,.28);
  --amber-light: rgba(245,158,11,.10);
  --amber-mid: rgba(245,158,11,.30);
  --red-light: rgba(239,68,68,.10);
  --red-mid: rgba(239,68,68,.30);
  --purple-light: rgba(139,92,246,.12);
  --purple-mid: rgba(139,92,246,.32);
  --rest-light: rgba(100,116,139,.14);
  --rest-mid: rgba(100,116,139,.34);
  --text: #e2e8f0;
  --text2: #a3b1c6;
  --text3: #64748b;
  --bg: #0a0f1c;
  --bg2: #141b2d;
  --border: #263449;
  --border2: #334155;
  --shadow: 0 1px 3px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3);
  --shadow2: 0 4px 20px rgba(0,0,0,.5);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background .2s, color .2s;
}
html[dir="rtl"] body { font-family: 'Noto Sans Arabic', 'Inter', sans-serif; }

