/* ═══ Theme tokens — the ONE place the admin app's theme colours live (system appearance, «مظهر النظام»). ═══
   Every stylesheet and inline style uses var(--th-*) instead of hard-coded colours. The defaults below are the exact
   original colours (the «الحالي» theme). A chosen preset or custom theme overrides them with a <style id="theme-vars">
   generated server-side (ThemeGenerator) — same token names, same lightness, new hue/saturation per family.
   Status colours (green/red/amber/blue/cyan), white/black and categorical palettes are deliberately not themed. */
:root {
    --th-accent-50: #eef1ff; --th-accent-50-rgb: 238, 241, 255;
    --th-accent-300: #a5b4fc; --th-accent-300-rgb: 165, 180, 252;
    --th-accent-400: #818cf8; --th-accent-400-rgb: 129, 140, 248;
    --th-accent-500: #6366f1; --th-accent-500-rgb: 99, 102, 241;
    --th-accent-600: #4f46e5; --th-accent-600-rgb: 79, 70, 229;
    --th-accent2-200: #d8b4fe; --th-accent2-200-rgb: 216, 180, 254;
    --th-accent2-400: #c084fc; --th-accent2-400-rgb: 192, 132, 252;
    --th-accent2-500: #a855f7; --th-accent2-500-rgb: 168, 85, 247;
    --th-violet-400: #a78bfa; --th-violet-400-rgb: 167, 139, 250;
    --th-violet-500: #8b5cf6; --th-violet-500-rgb: 139, 92, 246;
    --th-violet-600: #7c3aed; --th-violet-600-rgb: 124, 58, 237;
    --th-n-50: #f8fafc; --th-n-50-rgb: 248, 250, 252;
    --th-n-100: #f1f5f9; --th-n-100-rgb: 241, 245, 249;
    --th-n-200: #e2e8f0; --th-n-200-rgb: 226, 232, 240;
    --th-n-300: #cbd5e1; --th-n-300-rgb: 203, 213, 225;
    --th-n-400: #94a3b8; --th-n-400-rgb: 148, 163, 184;
    --th-n-500: #64748b; --th-n-500-rgb: 100, 116, 139;
    --th-n-600: #475569; --th-n-600-rgb: 71, 85, 105;
    --th-n-700: #334155; --th-n-700-rgb: 51, 65, 85;
    --th-n-800: #1e293b; --th-n-800-rgb: 30, 41, 59;
    --th-n-900: #0f172a; --th-n-900-rgb: 15, 23, 42;
    --th-d-0: #03050a; --th-d-0-rgb: 3, 5, 10;
    --th-d-1: #070c19; --th-d-1-rgb: 7, 12, 25;
    --th-d-2: #080f24; --th-d-2-rgb: 8, 15, 36;
    --th-d-3: #0b1220; --th-d-3-rgb: 11, 18, 32;
    --th-d-4: #0d1223; --th-d-4-rgb: 13, 18, 35;
    --th-d-5: #0d1632; --th-d-5-rgb: 13, 22, 50;
    --th-d-6: #0d1730; --th-d-6-rgb: 13, 23, 48;
    --th-d-7: #050a19; --th-d-7-rgb: 5, 10, 25;
    --th-d-8: #0a0e1c; --th-d-8-rgb: 10, 14, 28;
    --th-d-9: #080c18; --th-d-9-rgb: 8, 12, 24;
    --th-l-0: #f0f4ff; --th-l-0-rgb: 240, 244, 255;
    --th-l-1: #edf1f7; --th-l-1-rgb: 237, 241, 247;
    --th-l-2: #eef2f7; --th-l-2-rgb: 238, 242, 247;
    --th-l-3: #f8faff; --th-l-3-rgb: 248, 250, 255;
    --th-l-4: #f4f7ff; --th-l-4-rgb: 244, 247, 255;
    --th-l-5: #fcfdff; --th-l-5-rgb: 252, 253, 255;
    --th-l-6: #eef2ff; --th-l-6-rgb: 238, 242, 255;
}
