:root{--bg-primary:#ffffff;--bg-secondary:#f8fafc;--bg-tertiary:#f1f5f9;--bg-card:#ffffff;--bg-card-hover:#ffffff;--bg-sidebar:#ffffff;--bg-sidebar-hover:#f1f5f9;--bg-sidebar-active:#ecfdf5;--bg-topbar:#ffffff;--bg-modal-overlay:rgba(15,23,42,0.5);--border-subtle:#e2e8f0;--border-muted:#cbd5e1;--border-hover:#10b981;--border-active:#059669;--border-sidebar:#f1f5f9;--text-primary:#0f172a;--text-secondary:#475569;--text-muted:#94a3b8;--text-inverse:#ffffff;--text-nav:#64748b;--text-nav-hover:#0f172a;--text-nav-active:#059669;--accent-green:#10b981;--accent-green-hover:#059669;--accent-green-active:#047857;--accent-green-light:#ecfdf5;--accent-green-subtle:rgba(16,185,129,0.08);--accent-green-glow:rgba(16,185,129,0.2);--color-blue:#3b82f6;--color-blue-light:#eff6ff;--color-blue-subtle:rgba(59,130,246,0.1);--color-indigo:#6366f1;--color-indigo-light:#eef2ff;--color-indigo-subtle:rgba(99,102,241,0.1);--color-purple:#a855f7;--color-purple-light:#faf5ff;--color-purple-subtle:rgba(168,85,247,0.1);--color-cyan:#06b6d4;--color-cyan-light:#ecfeff;--color-cyan-subtle:rgba(6,182,212,0.1);--color-amber:#f59e0b;--color-amber-light:#fffbeb;--color-amber-subtle:rgba(245,158,11,0.1);--color-rose:#f43f5e;--color-rose-light:#fff1f2;--color-rose-subtle:rgba(244,63,94,0.1);--color-orange:#f97316;--color-orange-light:#fff7ed;--color-orange-subtle:rgba(249,115,22,0.1);--color-success:#10b981;--color-success-light:#ecfdf5;--color-danger:#ef4444;--color-danger-light:#fef2f2;--color-warning:#f59e0b;--color-warning-light:#fffbeb;--color-info:#3b82f6;--color-info-light:#eff6ff;--radius-xs:6px;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:20px;--radius-full:9999px;--shadow-xs:0 1px 2px rgba(15,23,42,0.04);--shadow-sm:0 2px 6px rgba(15,23,42,0.04),0 1px 2px rgba(15,23,42,0.02);--shadow-md:0 6px 16px rgba(15,23,42,0.06),0 2px 4px rgba(15,23,42,0.02);--shadow-lg:0 12px 28px rgba(15,23,42,0.08),0 4px 8px rgba(15,23,42,0.03);--shadow-xl:0 20px 40px rgba(15,23,42,0.1),0 6px 12px rgba(15,23,42,0.04);--shadow-card-hover:0 10px 24px -3px rgba(16,185,129,0.12),0 4px 8px -2px rgba(16,185,129,0.06);--shadow-sidebar:2px 0 12px rgba(15,23,42,0.04);--transition-fast:0.15s cubic-bezier(0.4,0,0.2,1);--transition-normal:0.25s cubic-bezier(0.4,0,0.2,1);--transition-slow:0.4s cubic-bezier(0.4,0,0.2,1);--header-height:56px;--sidebar-width:260px;--sidebar-collapsed-width:68px;--container-max-width:1380px;--font-family:'Inter','Segoe UI',-apple-system,system-ui,sans-serif;--font-family-ar:'IBM Plex Sans Arabic','Noto Kufi Arabic','Inter',system-ui,sans-serif;--font-family-mono:'JetBrains Mono','Fira Code','Consolas',monospace;--z-dropdown:100;--z-sidebar:200;--z-header:300;--z-modal-backdrop:400;--z-modal:500;--z-toast:600;--z-tooltip:700}[data-theme="dark"]{--bg-primary:#0b0f17;--bg-secondary:#111827;--bg-tertiary:#1e293b;--bg-card:#151d2a;--bg-card-hover:#1c2637;--bg-sidebar:#0f1520;--bg-sidebar-hover:#1a2332;--bg-sidebar-active:rgba(16,185,129,0.1);--bg-topbar:rgba(11,15,23,0.85);--bg-modal-overlay:rgba(0,0,0,0.65);--border-subtle:#1e293b;--border-muted:#334155;--border-hover:#10b981;--border-active:#059669;--border-sidebar:#1a2332;--text-primary:#f1f5f9;--text-secondary:#94a3b8;--text-muted:#64748b;--text-inverse:#0f172a;--text-nav:#64748b;--text-nav-hover:#e2e8f0;--text-nav-active:#34d399;--accent-green-light:rgba(16,185,129,0.14);--accent-green-subtle:rgba(16,185,129,0.08);--accent-green-glow:rgba(16,185,129,0.25);--color-blue-light:rgba(59,130,246,0.14);--color-blue-subtle:rgba(59,130,246,0.08);--color-indigo-light:rgba(99,102,241,0.14);--color-indigo-subtle:rgba(99,102,241,0.08);--color-purple-light:rgba(168,85,247,0.14);--color-purple-subtle:rgba(168,85,247,0.08);--color-cyan-light:rgba(6,182,212,0.14);--color-cyan-subtle:rgba(6,182,212,0.08);--color-amber-light:rgba(245,158,11,0.14);--color-amber-subtle:rgba(245,158,11,0.08);--color-rose-light:rgba(244,63,94,0.14);--color-rose-subtle:rgba(244,63,94,0.08);--color-orange-light:rgba(249,115,22,0.14);--color-orange-subtle:rgba(249,115,22,0.08);--color-success-light:rgba(16,185,129,0.14);--color-danger-light:rgba(239,68,68,0.14);--color-warning-light:rgba(245,158,11,0.14);--color-info-light:rgba(59,130,246,0.14);--shadow-xs:0 1px 2px rgba(0,0,0,0.2);--shadow-sm:0 2px 6px rgba(0,0,0,0.3);--shadow-md:0 6px 16px rgba(0,0,0,0.4);--shadow-lg:0 12px 28px rgba(0,0,0,0.5);--shadow-xl:0 20px 40px rgba(0,0,0,0.5);--shadow-card-hover:0 10px 24px -3px rgba(16,185,129,0.2);--shadow-sidebar:2px 0 12px rgba(0,0,0,0.3)}
/* ============================================================
   [ThemeAccent 2026-11-14] Switchable accent dimension.
   The base (no data-accent) rendering is untouched: the legacy
   green family stays the default. Accent values come from the
   approved preview (theme-preview.html): each family's light
   values land in the plain [data-accent] block (this file's
   :root is the light context) and its dark values in the
   [data-theme="dark"][data-accent] block. Only accent-family
   tokens are remapped; semantic colors (--color-success etc.)
   never follow the accent. hover/active shades are derived
   from the family accent (preview accent2 in dark; HSL-deepened
   accent in light), nav-active uses the preview grad1 in dark.
   ============================================================ */
[data-accent="blue"]{--accent-green:#2F6BDE;--accent-green-hover:#1D51B5;--accent-green-active:#174192;--accent-green-light:#F3F6FB;--accent-green-subtle:rgba(47,107,222,.09);--accent-green-glow:rgba(47,107,222,.35);--border-hover:#2F6BDE;--border-active:#1D51B5;--bg-sidebar-active:#F3F6FB;--text-nav-active:#1D51B5;--shadow-card-hover:0 10px 24px -3px rgba(47,107,222,.12),0 4px 8px -2px rgba(47,107,222,.06)}
[data-accent="gold"]{--accent-green:#96690F;--accent-green-hover:#75520C;--accent-green-active:#5E4209;--accent-green-light:#FAF6EC;--accent-green-subtle:rgba(185,130,46,.10);--accent-green-glow:rgba(150,105,15,.30);--border-hover:#96690F;--border-active:#75520C;--bg-sidebar-active:#FAF6EC;--text-nav-active:#75520C;--shadow-card-hover:0 10px 24px -3px rgba(150,105,15,.12),0 4px 8px -2px rgba(150,105,15,.06)}
[data-accent="emerald"]{--accent-green:#0B7A5C;--accent-green-hover:#095F48;--accent-green-active:#074D3A;--accent-green-light:#F0F7F3;--accent-green-subtle:rgba(11,122,92,.09);--accent-green-glow:rgba(11,122,92,.30);--border-hover:#0B7A5C;--border-active:#095F48;--bg-sidebar-active:#F0F7F3;--text-nav-active:#095F48;--shadow-card-hover:0 10px 24px -3px rgba(11,122,92,.12),0 4px 8px -2px rgba(11,122,92,.06)}
[data-accent="violet"]{--accent-green:#5F3DC4;--accent-green-hover:#4A2F9A;--accent-green-active:#3C267C;--accent-green-light:#F5F2FC;--accent-green-subtle:rgba(95,61,196,.09);--accent-green-glow:rgba(95,61,196,.30);--border-hover:#5F3DC4;--border-active:#4A2F9A;--bg-sidebar-active:#F5F2FC;--text-nav-active:#4A2F9A;--shadow-card-hover:0 10px 24px -3px rgba(95,61,196,.12),0 4px 8px -2px rgba(95,61,196,.06)}
[data-theme="dark"][data-accent="blue"]{--accent-green:#6EA8FE;--accent-green-hover:#5B8DEF;--accent-green-active:#1F63E9;--accent-green-light:rgba(110,168,254,.14);--accent-green-subtle:rgba(110,168,254,.08);--accent-green-glow:rgba(91,141,239,.55);--border-hover:#6EA8FE;--border-active:#5B8DEF;--bg-sidebar-active:rgba(110,168,254,.1);--text-nav-active:#8AB6FF;--shadow-card-hover:0 10px 24px -3px rgba(110,168,254,.2)}
[data-theme="dark"][data-accent="gold"]{--accent-green:#D9A441;--accent-green-hover:#B9822E;--accent-green-active:#946825;--accent-green-light:rgba(217,164,65,.14);--accent-green-subtle:rgba(217,164,65,.08);--accent-green-glow:rgba(192,138,45,.5);--border-hover:#D9A441;--border-active:#B9822E;--bg-sidebar-active:rgba(217,164,65,.1);--text-nav-active:#EBC26B;--shadow-card-hover:0 10px 24px -3px rgba(217,164,65,.2)}
[data-theme="dark"][data-accent="emerald"]{--accent-green:#2BBF92;--accent-green-hover:#1FA37C;--accent-green-active:#198263;--accent-green-light:rgba(43,191,146,.14);--accent-green-subtle:rgba(43,191,146,.08);--accent-green-glow:rgba(31,163,124,.5);--border-hover:#2BBF92;--border-active:#1FA37C;--bg-sidebar-active:rgba(43,191,146,.1);--text-nav-active:#5FD9B6;--shadow-card-hover:0 10px 24px -3px rgba(43,191,146,.2)}
[data-theme="dark"][data-accent="violet"]{--accent-green:#9D7BFF;--accent-green-hover:#7A5CDB;--accent-green-active:#532DCC;--accent-green-light:rgba(157,123,255,.14);--accent-green-subtle:rgba(157,123,255,.08);--accent-green-glow:rgba(122,92,219,.55);--border-hover:#9D7BFF;--border-active:#7A5CDB;--bg-sidebar-active:rgba(157,123,255,.1);--text-nav-active:#B79CFF;--shadow-card-hover:0 10px 24px -3px rgba(157,123,255,.2)}
