/*
 * public/css/theme.css
 * ─────────────────────────────────────────────────────────────────────────
 * ÚNICO SITIO CON LOS COLORES DE LA WEB (web interna, portal de clientes y
 * app móvil). Ninguna otra hoja de estilos, página ni script escribe un
 * color directamente: todos usan estas variables.
 *
 *  - Bloque :root                     → modo claro (por defecto).
 *  - Bloque :root[data-theme="dark"]  → modo oscuro.
 *
 * Nombre de cada variable: --<uso>-<color>
 *    bg = fondos · tx = textos e iconos · bd = bordes · sh = sombras ·
 *    ot = colores de marca y de estado (botones, enlaces, semáforos...)
 *    <color> = nombre de la paleta (gray-500, red-600, bs-gray-600...) o su
 *    código hexadecimal; "-aNN" indica transparencia (NN %).
 *
 * Para cambiar un color en toda la web basta con cambiarlo aquí (en el
 * bloque claro, en el oscuro o en ambos).
 *
 * Los dibujos en <canvas> (Gantt y gráficos) leen estas mismas variables
 * con tpTheme.color('--nombre') (public/js/theme.js).
 *
 * Quedan fuera, a propósito, solo los colores que no son de la interfaz:
 * logotipos de terceros (Google, Microsoft…) e iconos de tipo de fichero
 * (PDF, Word, Excel…), los colores que elige el usuario (empresas,
 * categorías de gasto, tareas del Gantt), los avatares de cada persona y
 * los correos electrónicos y exportaciones (Excel/PDF), que se ven fuera
 * de la web y no admiten variables.
 * ─────────────────────────────────────────────────────────────────────────
 */

:root {
    color-scheme: light;

    /* ── Fondos ── */
    --bg-0d0e14-a45: rgba(13,14,20,0.45);
    --bg-0d0e14-a50: rgba(13,14,20,0.5);
    --bg-1f4fd8: #1f4fd8;
    --bg-4845e4: #4845e4;
    --bg-5865f2: #5865f2;
    --bg-5865f2-a12: rgba(88,101,242,0.12);
    --bg-5b5ef6: #5b5ef6;
    --bg-5b5ef6-a5: rgba(91,94,246,0.05);
    --bg-5b5ef6-a6: rgba(91,94,246,0.06);
    --bg-5b5ef6-a8: rgba(91,94,246,0.08);
    --bg-5b5ef6-a9: rgba(91,94,246,0.09);
    --bg-667eea: #667eea;
    --bg-764ba2: #764ba2;
    --bg-9b9ef8: #9b9ef8;
    --bg-amber-100: #fef3c7;
    --bg-amber-200: #fde68a;
    --bg-amber-50: #fffbeb;
    --bg-amber-500: #f59e0b;
    --bg-amber-600: #d97706;
    --bg-amber-700: #b45309;
    --bg-black-a10: rgba(0,0,0,0.1);
    --bg-black-a15: rgba(0,0,0,0.15);
    --bg-black-a2: rgba(0,0,0,0.018);
    --bg-black-a30: rgba(0,0,0,0.3);
    --bg-black-a35: rgba(0,0,0,0.35);
    --bg-black-a4: rgba(0,0,0,0.035);
    --bg-black-a40: rgba(0,0,0,0.4);
    --bg-black-a45: rgba(0,0,0,0.45);
    --bg-black-a5: rgba(0,0,0,0.05);
    --bg-black-a50: rgba(0,0,0,0.5);
    --bg-black-a52: rgba(0,0,0,0.52);
    --bg-black-a55: rgba(0,0,0,0.55);
    --bg-black-a6: rgba(0,0,0,0.06);
    --bg-black-a7: rgba(0,0,0,0.07);
    --bg-black-a8: rgba(0,0,0,0.08);
    --bg-blue-100: #dbeafe;
    --bg-blue-200: #bfdbfe;
    --bg-blue-300: #93c5fd;
    --bg-blue-50: #eff6ff;
    --bg-blue-500: #3b82f6;
    --bg-blue-600: #2563eb;
    --bg-blue-700: #1d4ed8;
    --bg-blue-800: #1e40af;
    --bg-bs-gray-100: #f8f9fa;
    --bg-bs-gray-200: #e9ecef;
    --bg-bs-gray-600: #6c757d;
    --bg-bs-green: #198754;
    --bg-bs-red: #dc3545;
    --bg-cce5ff: #cce5ff;
    --bg-cfe2ff: #cfe2ff;
    --bg-cyan-100: #cffafe;
    --bg-cyan-50: #ecfeff;
    --bg-cyan-600: #0891b2;
    --bg-cyan-700: #0e7490;
    --bg-d1e7dd: #d1e7dd;
    --bg-d4edda: #d4edda;
    --bg-dde0ff: #dde0ff;
    --bg-e2e3e5: #e2e3e5;
    --bg-e8e9f0: #e8e9f0;
    --bg-eafaf1: #eafaf1;
    --bg-ebebff: #ebebff;
    --bg-eef0fe: #eef0fe;
    --bg-emerald-100: #d1fae5;
    --bg-emerald-300: #6ee7b7;
    --bg-emerald-50: #ecfdf5;
    --bg-emerald-500: #10b981;
    --bg-emerald-600: #059669;
    --bg-f0f0f0: #f0f0f0;
    --bg-f0f1ff: #f0f1ff;
    --bg-f0f3ff: #f0f3ff;
    --bg-f0f4ff: #f0f4ff;
    --bg-f0f5ff: #f0f5ff;
    --bg-f0f7ff: #f0f7ff;
    --bg-f0fff4: #f0fff4;
    --bg-f1f3f5: #f1f3f5;
    --bg-f4f5fa: #f4f5fa;
    --bg-f5f0ff: #f5f0ff;
    --bg-f5f5f9: #f5f5f9;
    --bg-f5f8ff: #f5f8ff;
    --bg-f6f7fb: #f6f7fb;
    --bg-f8d7da: #f8d7da;
    --bg-f8f9ff: #f8f9ff;
    --bg-f8faff: #f8faff;
    --bg-f8fbff: #f8fbff;
    --bg-f9f9fc: #f9f9fc;
    --bg-fafbff: #fafbff;
    --bg-fce4e4: #fce4e4;
    --bg-fdecea: #fdecea;
    --bg-fff3cd: #fff3cd;
    --bg-fff5f5: #fff5f5;
    --bg-fff8e1: #fff8e1;
    --bg-fff8f8: #fff8f8;
    --bg-fff9f9: #fff9f9;
    --bg-gray-100: #f3f4f6;
    --bg-gray-200: #e5e7eb;
    --bg-gray-300: #d1d5db;
    --bg-gray-400: #9ca3af;
    --bg-gray-50: #f9fafb;
    --bg-gray-500: #6b7280;
    --bg-gray-900: #111827;
    --bg-gray-900-a45: rgba(17,24,39,0.45);
    --bg-green-100: #dcfce7;
    --bg-green-50: #f0fdf4;
    --bg-green-500: #22c55e;
    --bg-green-600: #16a34a;
    --bg-green-700: #15803d;
    --bg-green-800: #166534;
    --bg-indigo-100: #e0e7ff;
    --bg-indigo-200: #c7d2fe;
    --bg-indigo-300: #a5b4fc;
    --bg-indigo-400: #818cf8;
    --bg-indigo-50: #eef2ff;
    --bg-indigo-500: #6366f1;
    --bg-indigo-500-a7: rgba(99,102,241,0.07);
    --bg-indigo-600: #4f46e5;
    --bg-indigo-600-a4: rgba(79,70,229,0.04);
    --bg-indigo-700: #4338ca;
    --bg-indigo-800: #3730a3;
    --bg-neutral-100: #f5f5f5;
    --bg-orange-100: #ffedd5;
    --bg-orange-50: #fff7ed;
    --bg-orange-700: #c2410c;
    --bg-red-100: #fee2e2;
    --bg-red-200: #fecaca;
    --bg-red-50: #fef2f2;
    --bg-red-500: #ef4444;
    --bg-red-500-a15: rgba(239,68,68,0.15);
    --bg-amber-500-a14: rgba(245,158,11,0.14);
    --bg-red-500-a20: rgba(239,68,68,0.2);
    --bg-red-600: #dc2626;
    --bg-red-700: #b91c1c;
    --bg-rose-50: #fff1f2;
    --bg-sky-100: #e0f2fe;
    --bg-sky-200: #bae6fd;
    --bg-sky-50: #f0f9ff;
    --bg-slate-100: #f1f5f9;
    --bg-slate-200: #e2e8f0;
    --bg-slate-300: #cbd5e1;
    --bg-slate-50: #f8fafc;
    --bg-slate-800: #1e293b;
    --bg-slate-900: #0f172a;
    --bg-slate-900-a52: rgba(15,23,42,0.52);
    --bg-slate-900-a55: rgba(15,23,42,0.55);
    --bg-violet-100: #ede9fe;
    --bg-violet-50: #f5f3ff;
    --bg-violet-500: #8b5cf6;
    --bg-white: #ffffff;
    --bg-white-a10: rgba(255,255,255,0.1);
    --bg-white-a15: rgba(255,255,255,0.15);
    --bg-white-a20: rgba(255,255,255,0.2);
    --bg-white-a22: rgba(255,255,255,0.22);
    --bg-white-a25: rgba(255,255,255,0.25);
    --bg-white-a35: rgba(255,255,255,0.35);
    --bg-white-a8: rgba(255,255,255,0.08);
    --bg-white-a90: rgba(255,255,255,0.9);
    --bg-white-a95: rgba(255,255,255,0.95);
    --bg-white-a97: rgba(255,255,255,0.97);
    --bg-yellow-100: #fef9c3;
    --bg-yellow-200: #fef08a;
    --bg-yellow-50: #fefce8;
    --bg-yellow-700: #a16207;
    --bg-zinc-100: #f4f4f5;
    --bg-zinc-200: #e4e4e7;
    --bg-zinc-300: #d4d4d8;
    --bg-zinc-50: #fafafa;

    /* ── Textos e iconos ── */
    --tx-004085: #004085;
    --tx-007bff: #007bff;
    --tx-084298: #084298;
    --tx-0d0e14: #0d0e14;
    --tx-0f5132: #0f5132;
    --tx-111111: #111111;
    --tx-146c43: #146c43;
    --tx-155724: #155724;
    --tx-1a1a2e: #1a1a2e;
    --tx-1f4fd8: #1f4fd8;
    --tx-28a745: #28a745;
    --tx-2d2f6b: #2d2f6b;
    --tx-2d2f80: #2d2f80;
    --tx-3d1d8c: #3d1d8c;
    --tx-41464b: #41464b;
    --tx-4a4c62: #4a4c62;
    --tx-555555: #555555;
    --tx-5865f2: #5865f2;
    --tx-5b5ef6: #5b5ef6;
    --tx-666666: #666666;
    --tx-795548: #795548;
    --tx-842029: #842029;
    --tx-856404: #856404;
    --tx-888888: #888888;
    --tx-8b8fa8: #8b8fa8;
    --tx-999999: #999999;
    --tx-amber-500: #f59e0b;
    --tx-amber-600: #d97706;
    --tx-amber-700: #b45309;
    --tx-amber-800: #92400e;
    --tx-amber-900: #78350f;
    --tx-blue-500: #3b82f6;
    --tx-blue-600: #2563eb;
    --tx-blue-700: #1d4ed8;
    --tx-blue-800: #1e40af;
    --tx-blue-900: #1e3a8a;
    --tx-bs-blue: #0d6efd;
    --tx-bs-gray-400: #ced4da;
    --tx-bs-gray-500: #adb5bd;
    --tx-bs-gray-600: #6c757d;
    --tx-bs-gray-700: #495057;
    --tx-bs-gray-800: #343a40;
    --tx-bs-gray-900: #212529;
    --tx-bs-red: #dc3545;
    --tx-c0392b: #c0392b;
    --tx-c4c4c4: #c4c4c4;
    --tx-c4c6cf: #c4c6cf;
    --tx-cccccc: #cccccc;
    --tx-cfd3fc: #cfd3fc;
    --tx-cyan-600: #0891b2;
    --tx-cyan-700: #0e7490;
    --tx-emerald-500: #10b981;
    --tx-emerald-600: #059669;
    --tx-emerald-700: #047857;
    --tx-emerald-800: #065f46;
    --tx-ff0000: #ff0000;
    --tx-gray-300: #d1d5db;
    --tx-gray-400: #9ca3af;
    --tx-gray-500: #6b7280;
    --tx-gray-600: #4b5563;
    --tx-gray-700: #374151;
    --tx-gray-900: #111827;
    --tx-green-600: #16a34a;
    --tx-green-700: #15803d;
    --tx-green-800: #166534;
    --tx-indigo-500: #6366f1;
    --tx-indigo-600: #4f46e5;
    --tx-indigo-800: #3730a3;
    --tx-orange-700: #c2410c;
    --tx-orange-800: #9a3412;
    --tx-orange-950: #431407;
    --tx-red-300: #fca5a5;
    --tx-red-500: #ef4444;
    --tx-red-600: #dc2626;
    --tx-red-700: #b91c1c;
    --tx-red-800: #991b1b;
    --tx-red-900: #7f1d1d;
    --tx-rose-800: #9f1239;
    --tx-sky-700: #0369a1;
    --tx-sky-800: #075985;
    --tx-sky-900: #0c4a6e;
    --tx-slate-200: #e2e8f0;
    --tx-slate-300: #cbd5e1;
    --tx-slate-400: #94a3b8;
    --tx-slate-500: #64748b;
    --tx-slate-600: #475569;
    --tx-slate-800: #1e293b;
    --tx-violet-600: #7c3aed;
    --tx-violet-800: #5b21b6;
    --tx-white: #ffffff;
    --tx-white-a50: rgba(255,255,255,0.5);
    --tx-white-a60: rgba(255,255,255,0.6);
    --tx-white-a70: rgba(255,255,255,0.7);
    --tx-white-a90: rgba(255,255,255,0.9);
    --tx-yellow-600: #ca8a04;
    --tx-yellow-800: #854d0e;
    --tx-yellow-900: #713f12;
    --tx-zinc-400: #a1a1aa;
    --tx-zinc-500: #71717a;

    /* ── Bordes y contornos ── */
    --bd-0078d4: #0078d4;
    --bd-007bff: #007bff;
    --bd-1f4fd8: #1f4fd8;
    --bd-28a745: #28a745;
    --bd-5865f2: #5865f2;
    --bd-5b5ef6: #5b5ef6;
    --bd-5b5ef6-a15: rgba(91,94,246,0.15);
    --bd-5b5ef6-a18: rgba(91,94,246,0.18);
    --bd-5b5ef6-a20: rgba(91,94,246,0.2);
    --bd-5b5ef6-a25: rgba(91,94,246,0.25);
    --bd-5b5ef6-a30: rgba(91,94,246,0.3);
    --bd-amber-200: #fde68a;
    --bd-amber-300: #fcd34d;
    --bd-amber-400: #fbbf24;
    --bd-amber-500: #f59e0b;
    --bd-amber-700: #b45309;
    --bd-black-a12: rgba(0,0,0,0.12);
    --bd-black-a13: rgba(0,0,0,0.13);
    --bd-black-a22: rgba(0,0,0,0.22);
    --bd-black-a5: rgba(0,0,0,0.05);
    --bd-blue-100: #dbeafe;
    --bd-blue-200: #bfdbfe;
    --bd-blue-300: #93c5fd;
    --bd-blue-500: #3b82f6;
    --bd-blue-600: #2563eb;
    --bd-blue-700: #1d4ed8;
    --bd-bs-gray-200: #e9ecef;
    --bd-bs-gray-300: #dee2e6;
    --bd-bs-gray-400: #ced4da;
    --bd-bs-gray-500: #adb5bd;
    --bd-bs-gray-600: #6c757d;
    --bd-bs-purple: #6f42c1;
    --bd-bs-red: #dc3545;
    --bd-c7caff: #c7caff;
    --bd-c7d7fc: #c7d7fc;
    --bd-c8cad8: #c8cad8;
    --bd-cccccc: #cccccc;
    --bd-cyan-200: #a5f3fc;
    --bd-cyan-300: #67e8f9;
    --bd-d0d2df: #d0d2df;
    --bd-dddddd: #dddddd;
    --bd-e0e0e0: #e0e0e0;
    --bd-e8e8ec: #e8e8ec;
    --bd-e8e9f0: #e8e9f0;
    --bd-emerald-200: #a7f3d0;
    --bd-emerald-300: #6ee7b7;
    --bd-emerald-500: #10b981;
    --bd-emerald-600: #059669;
    --bd-f0f0f0: #f0f0f0;
    --bd-f0f0f5: #f0f0f5;
    --bd-f0f2f5: #f0f2f5;
    --bd-f44336: #f44336;
    --bd-f5c2c0: #f5c2c0;
    --bd-ffe082: #ffe082;
    --bd-gray-100: #f3f4f6;
    --bd-gray-200: #e5e7eb;
    --bd-gray-300: #d1d5db;
    --bd-gray-400: #9ca3af;
    --bd-gray-50: #f9fafb;
    --bd-gray-500: #6b7280;
    --bd-gray-600: #4b5563;
    --bd-gray-900: #111827;
    --bd-green-200: #bbf7d0;
    --bd-green-300: #86efac;
    --bd-green-500: #22c55e;
    --bd-green-600: #16a34a;
    --bd-indigo-100: #e0e7ff;
    --bd-indigo-200: #c7d2fe;
    --bd-indigo-300: #a5b4fc;
    --bd-indigo-500: #6366f1;
    --bd-indigo-600: #4f46e5;
    --bd-orange-200: #fed7aa;
    --bd-orange-500: #f97316;
    --bd-orange-700: #c2410c;
    --bd-red-200: #fecaca;
    --bd-red-300: #fca5a5;
    --bd-red-500: #ef4444;
    --bd-red-600: #dc2626;
    --bd-rose-200: #fecdd3;
    --bd-sky-200: #bae6fd;
    --bd-sky-300: #7dd3fc;
    --bd-slate-100: #f1f5f9;
    --bd-slate-200: #e2e8f0;
    --bd-slate-300: #cbd5e1;
    --bd-slate-400: #94a3b8;
    --bd-violet-200: #ddd6fe;
    --bd-white: #ffffff;
    --bd-white-a25: rgba(255,255,255,0.25);
    --bd-white-a35: rgba(255,255,255,0.35);
    --bd-white-a80: rgba(255,255,255,0.8);
    --bd-yellow-300: #fde047;
    --bd-yellow-500: #eab308;
    --bd-yellow-600: #ca8a04;
    --bd-zinc-200: #e4e4e7;

    /* ── Sombras ── */
    --sh-007bff-a15: rgba(0,123,255,0.15);
    --sh-0d0e14-a10: rgba(13,14,20,0.1);
    --sh-0d0e14-a4: rgba(13,14,20,0.04);
    --sh-0d0e14-a6: rgba(13,14,20,0.06);
    --sh-0d0e14-a7: rgba(13,14,20,0.07);
    --sh-0d0e14-a8: rgba(13,14,20,0.08);
    --sh-1f4fd8-a30: rgba(31,79,216,0.3);
    --sh-1f4fd8-a40: rgba(31,79,216,0.4);
    --sh-5865f2-a10: rgba(88,101,242,0.1);
    --sh-5865f2-a12: rgba(88,101,242,0.12);
    --sh-5865f2-a30: rgba(88,101,242,0.3);
    --sh-5b5ef6-a10: rgba(91,94,246,0.1);
    --sh-5b5ef6-a15: rgba(91,94,246,0.15);
    --sh-5b5ef6-a20: rgba(91,94,246,0.2);
    --sh-5b5ef6-a25: rgba(91,94,246,0.25);
    --sh-5b5ef6-a30: rgba(91,94,246,0.3);
    --sh-5b5ef6-a40: rgba(91,94,246,0.4);
    --sh-amber-500: #f59e0b;
    --sh-amber-500-a50: rgba(245,158,11,0.5);
    --sh-amber-500-a55: rgba(245,158,11,0.55);
    --sh-black-a10: rgba(0,0,0,0.1);
    --sh-black-a11: rgba(0,0,0,0.11);
    --sh-black-a12: rgba(0,0,0,0.12);
    --sh-black-a13: rgba(0,0,0,0.13);
    --sh-black-a14: rgba(0,0,0,0.14);
    --sh-black-a15: rgba(0,0,0,0.15);
    --sh-black-a18: rgba(0,0,0,0.18);
    --sh-black-a20: rgba(0,0,0,0.2);
    --sh-black-a22: rgba(0,0,0,0.22);
    --sh-black-a25: rgba(0,0,0,0.25);
    --sh-black-a26: rgba(0,0,0,0.26);
    --sh-black-a28: rgba(0,0,0,0.28);
    --sh-black-a3: rgba(0,0,0,0.03);
    --sh-black-a30: rgba(0,0,0,0.3);
    --sh-black-a4: rgba(0,0,0,0.04);
    --sh-black-a6: rgba(0,0,0,0.06);
    --sh-black-a7: rgba(0,0,0,0.07);
    --sh-black-a8: rgba(0,0,0,0.08);
    --sh-blue-500-a10: rgba(59,130,246,0.1);
    --sh-blue-500-a14: rgba(59,130,246,0.14);
    --sh-blue-500-a15: rgba(59,130,246,0.15);
    --sh-blue-500-a50: rgba(59,130,246,0.5);
    --sh-blue-600-a10: rgba(37,99,235,0.1);
    --sh-blue-600-a12: rgba(37,99,235,0.12);
    --sh-blue-600-a15: rgba(37,99,235,0.15);
    --sh-bs-purple-a15: rgba(111,66,193,0.15);
    --sh-e8e9f0: #e8e9f0;
    --sh-green-600-a18: rgba(22,163,74,0.18);
    --sh-indigo-500-a12: rgba(99,102,241,0.12);
    --sh-indigo-500-a13: rgba(99,102,241,0.13);
    --sh-indigo-500-a15: rgba(99,102,241,0.15);
    --sh-indigo-600: #4f46e5;
    --sh-indigo-600-a10: rgba(79,70,229,0.1);
    --sh-indigo-600-a12: rgba(79,70,229,0.12);
    --sh-indigo-600-a30: rgba(79,70,229,0.3);
    --sh-red-600: #dc2626;
    --sh-white-a10: rgba(255,255,255,0.1);
    --sh-white-a12: rgba(255,255,255,0.12);

    /* ── Colores de marca y de estado ── */
    --ot-1f1f2e: #1f1f2e;
    --ot-4752c4: #4752c4;
    --ot-4845e4: #4845e4;
    --ot-5865f2: #5865f2;
    --ot-5b5ef6: #5b5ef6;
    --ot-7779f8: #7779f8;
    --ot-amber-500: #f59e0b;
    --ot-amber-600: #d97706;
    --ot-b0b3c8: #b0b3c8;
    --ot-blue-500: #3b82f6;
    --ot-blue-600: #2563eb;
    --ot-blue-700: #1d4ed8;
    --ot-e8e9f0: #e8e9f0;
    --ot-gray-300: #d1d5db;
    --ot-gray-500: #6b7280;
    --ot-green-500: #22c55e;
    --ot-green-600: #16a34a;
    --ot-green-600-a70: rgba(22,163,74,0.7);
    --ot-green-600-a75: rgba(22,163,74,0.75);
    --ot-indigo-500: #6366f1;
    --ot-orange-600: #ea580c;
    --ot-red-500: #ef4444;
    --ot-red-500-a15: rgba(239,68,68,0.15);
    --ot-red-600: #dc2626;
    --ot-red-600-a70: rgba(220,38,38,0.7);
    --ot-red-600-a75: rgba(220,38,38,0.75);
    --ot-slate-400: #94a3b8;
    --ot-violet-600: #7c3aed;
    --ot-yellow-600: #ca8a04;
    /* Gráficos del banco de gráficos del Escritorio (DashboardCharts) */
    --chart-1: #2563eb;
    --chart-2: #16a34a;
    --chart-3: #7c3aed;
    --chart-4: #d97706;
    --chart-5: #0891b2;
    --chart-6: #db2777;
    --chart-7: #ea580c;
    --chart-8: #94a3b8;
    --chart-income: #16a34a;
    --chart-cost: #dc2626;
    --chart-margin: #2563eb;
    --chart-ref: #dc2626;
    --chart-grid: rgba(0, 0, 0, 0.06);
    --chart-text: #6b7280;
}

:root[data-theme="dark"] {
    color-scheme: dark;

    /* ── Fondos ── */
    --bg-0d0e14-a45: rgba(13,14,20,0.45);
    --bg-0d0e14-a50: rgba(13,14,20,0.5);
    --bg-1f4fd8: #1f4fd8;
    --bg-4845e4: #4845e4;
    --bg-5865f2: #212a86;
    --bg-5865f2-a12: rgba(88,101,242,0.12);
    --bg-5b5ef6: #212385;
    --bg-5b5ef6-a5: rgba(91,94,246,0.05);
    --bg-5b5ef6-a6: rgba(91,94,246,0.06);
    --bg-5b5ef6-a8: rgba(91,94,246,0.08);
    --bg-5b5ef6-a9: rgba(91,94,246,0.09);
    --bg-667eea: #213385;
    --bg-764ba2: #764ba2;
    --bg-9b9ef8: #1e2177;
    --bg-amber-100: #4f4417;
    --bg-amber-200: #7a671e;
    --bg-amber-50: #453b14;
    --bg-amber-500: #f59e0b;
    --bg-amber-600: #d97706;
    --bg-amber-700: #b45309;
    --bg-black-a10: rgba(0,0,0,0.1);
    --bg-black-a15: rgba(0,0,0,0.15);
    --bg-black-a2: rgba(255,255,255,0.018);
    --bg-black-a30: rgba(0,0,0,0.3);
    --bg-black-a35: rgba(0,0,0,0.35);
    --bg-black-a4: rgba(255,255,255,0.035);
    --bg-black-a40: rgba(0,0,0,0.4);
    --bg-black-a45: rgba(0,0,0,0.45);
    --bg-black-a5: rgba(0,0,0,0.05);
    --bg-black-a50: rgba(0,0,0,0.5);
    --bg-black-a52: rgba(0,0,0,0.52);
    --bg-black-a55: rgba(0,0,0,0.55);
    --bg-black-a6: rgba(0,0,0,0.06);
    --bg-black-a7: rgba(0,0,0,0.07);
    --bg-black-a8: rgba(0,0,0,0.08);
    --bg-blue-100: #152c49;
    --bg-blue-200: #173151;
    --bg-blue-300: #1e4878;
    --bg-blue-50: #21222a;
    --bg-blue-500: #3b82f6;
    --bg-blue-600: #2563eb;
    --bg-blue-700: #1d4ed8;
    --bg-blue-800: #1e40af;
    --bg-bs-gray-100: #1e202b;
    --bg-bs-gray-200: #252835;
    --bg-bs-gray-600: #6c757d;
    --bg-bs-green: #198754;
    --bg-bs-red: #dc3545;
    --bg-cce5ff: #16314d;
    --bg-cfe2ff: #162c4c;
    --bg-cyan-100: #16484d;
    --bg-cyan-50: #144244;
    --bg-cyan-600: #0891b2;
    --bg-cyan-700: #0e7490;
    --bg-d1e7dd: #244637;
    --bg-d4edda: #1e4929;
    --bg-dde0ff: #151a48;
    --bg-e2e3e5: #2a2c36;
    --bg-e8e9f0: #262731;
    --bg-eafaf1: #23242d;
    --bg-ebebff: #141445;
    --bg-eef0fe: #22222b;
    --bg-emerald-100: #164d31;
    --bg-emerald-300: #21845d;
    --bg-emerald-50: #22232c;
    --bg-emerald-500: #10b981;
    --bg-emerald-600: #059669;
    --bg-f0f0f0: #24252e;
    --bg-f0f1ff: #21222a;
    --bg-f0f3ff: #21222a;
    --bg-f0f4ff: #21222a;
    --bg-f0f5ff: #21222a;
    --bg-f0f7ff: #21222a;
    --bg-f0fff4: #21222a;
    --bg-f1f3f5: #23242d;
    --bg-f4f5fa: #0f1117;
    --bg-f5f0ff: #21222a;
    --bg-f5f5f9: #21222a;
    --bg-f5f8ff: #202028;
    --bg-f6f7fb: #0f1117;
    --bg-f8d7da: #4c161b;
    --bg-f8f9ff: #1f2027;
    --bg-f8faff: #1f2027;
    --bg-f8fbff: #1f2027;
    --bg-f9f9fc: #1e202b;
    --bg-fafbff: #1e1f27;
    --bg-fce4e4: #471515;
    --bg-fdecea: #451914;
    --bg-fff3cd: #4d4016;
    --bg-fff5f5: #202028;
    --bg-fff8e1: #473c15;
    --bg-fff8f8: #1f2027;
    --bg-fff9f9: #1f1f27;
    --bg-gray-100: #252835;
    --bg-gray-200: #2d3040;
    --bg-gray-300: #373b4d;
    --bg-gray-400: #484a5c;
    --bg-gray-50: #1e202b;
    --bg-gray-500: #6b7280;
    --bg-gray-900: #111827;
    --bg-gray-900-a45: rgba(17,24,39,0.45);
    --bg-green-100: #154a27;
    --bg-green-50: #21222a;
    --bg-green-500: #22c55e;
    --bg-green-600: #16a34a;
    --bg-green-700: #15803d;
    --bg-green-800: #166534;
    --bg-indigo-100: #152048;
    --bg-indigo-200: #17224f;
    --bg-indigo-300: #1d2c75;
    --bg-indigo-400: #1f287d;
    --bg-indigo-50: #21222a;
    --bg-indigo-500: #212384;
    --bg-indigo-500-a7: rgba(99,102,241,0.07);
    --bg-indigo-600: #4f46e5;
    --bg-indigo-600-a4: rgba(79,70,229,0.04);
    --bg-indigo-700: #4338ca;
    --bg-indigo-800: #3730a3;
    --bg-neutral-100: #22232b;
    --bg-orange-100: #4b3416;
    --bg-orange-50: #442f14;
    --bg-orange-700: #c2410c;
    --bg-red-100: #471515;
    --bg-red-200: #4e1717;
    --bg-red-50: #212129;
    --bg-red-500: #ef4444;
    --bg-red-500-a15: rgba(239,68,68,0.15);
    --bg-amber-500-a14: rgba(245,158,11,0.16);
    --bg-red-500-a20: rgba(239,68,68,0.2);
    --bg-red-600: #dc2626;
    --bg-red-700: #b91c1c;
    --bg-rose-50: #212129;
    --bg-sky-100: #153448;
    --bg-sky-200: #183e52;
    --bg-sky-50: #21222a;
    --bg-slate-100: #252835;
    --bg-slate-200: #2d3040;
    --bg-slate-300: #373b4d;
    --bg-slate-50: #1e202b;
    --bg-slate-800: #1e293b;
    --bg-slate-900: #0f172a;
    --bg-slate-900-a52: rgba(15,23,42,0.52);
    --bg-slate-900-a55: rgba(15,23,42,0.55);
    --bg-violet-100: #1e1445;
    --bg-violet-50: #202129;
    --bg-violet-500: #3f2184;
    --bg-white: #191b24;
    --bg-white-a10: rgba(25,27,36,0.1);
    --bg-white-a15: rgba(25,27,36,0.15);
    --bg-white-a20: rgba(25,27,36,0.2);
    --bg-white-a22: rgba(25,27,36,0.22);
    --bg-white-a25: rgba(25,27,36,0.25);
    --bg-white-a35: rgba(25,27,36,0.35);
    --bg-white-a8: rgba(25,27,36,0.08);
    --bg-white-a90: rgba(25,27,36,0.9);
    --bg-white-a95: rgba(25,27,36,0.95);
    --bg-white-a97: rgba(25,27,36,0.97);
    --bg-yellow-100: #504b17;
    --bg-yellow-200: #7a6f1e;
    --bg-yellow-50: #464114;
    --bg-yellow-700: #a16207;
    --bg-zinc-100: #22232c;
    --bg-zinc-200: #2a2b35;
    --bg-zinc-300: #31323e;
    --bg-zinc-50: #202028;

    /* ── Textos e iconos ── */
    --tx-004085: #8fc2f9;
    --tx-007bff: #77b5f8;
    --tx-084298: #89b6f9;
    --tx-0d0e14: #e8e9f0;
    --tx-0f5132: #a1eeca;
    --tx-111111: #e4e5e8;
    --tx-146c43: #9cedc7;
    --tx-155724: #a4e9b3;
    --tx-1a1a2e: #bbbbd9;
    --tx-1f4fd8: #849fed;
    --tx-28a745: #94e5a6;
    --tx-2d2f6b: #a9abdb;
    --tx-2d2f80: #a1a3de;
    --tx-3d1d8c: #af97e9;
    --tx-41464b: #bcbdc6;
    --tx-4a4c62: #b4b7c9;
    --tx-555555: #b1b2bd;
    --tx-5865f2: #5865f2;
    --tx-5b5ef6: #5b5ef6;
    --tx-666666: #a4a5b2;
    --tx-795548: #ceb6ad;
    --tx-842029: #e79ba2;
    --tx-856404: #f9de8e;
    --tx-888888: #8a8c9c;
    --tx-8b8fa8: #8a8ea6;
    --tx-999999: #75778a;
    --tx-amber-500: #f8c877;
    --tx-amber-600: #f8bf7d;
    --tx-amber-700: #f9b684;
    --tx-amber-800: #f4b58e;
    --tx-amber-900: #f2b795;
    --tx-blue-500: #6ea2f7;
    --tx-blue-600: #799ff3;
    --tx-blue-700: #839fee;
    --tx-blue-800: #8ea4ec;
    --tx-blue-900: #98ade9;
    --tx-bs-blue: #75aaf8;
    --tx-bs-gray-400: #ced4da;
    --tx-bs-gray-500: #868e96;
    --tx-bs-gray-600: #a3aab3;
    --tx-bs-gray-700: #c4cad0;
    --tx-bs-gray-800: #e2e5e9;
    --tx-bs-gray-900: #e9ecef;
    --tx-bs-red: #e9828c;
    --tx-c0392b: #e6968e;
    --tx-c4c4c4: #c4c4c4;
    --tx-c4c6cf: #c4c6cf;
    --tx-cccccc: #cccccc;
    --tx-cfd3fc: #cfd3fc;
    --tx-cyan-600: #84e2f9;
    --tx-cyan-700: #8fdef4;
    --tx-emerald-500: #86f4d0;
    --tx-emerald-600: #8af9d7;
    --tx-emerald-700: #90f9db;
    --tx-emerald-800: #96f8dd;
    --tx-ff0000: #f87777;
    --tx-gray-300: #d1d5db;
    --tx-gray-400: #7c8392;
    --tx-gray-500: #9ca3af;
    --tx-gray-600: #b6bcc6;
    --tx-gray-700: #d1d5db;
    --tx-gray-900: #f1f2f6;
    --tx-green-600: #8ef0b2;
    --tx-green-700: #97eeb7;
    --tx-green-800: #9feabc;
    --tx-indigo-500: #6366f1;
    --tx-indigo-600: #817aec;
    --tx-indigo-800: #9c97e1;
    --tx-orange-700: #f7a482;
    --tx-orange-800: #f2a78e;
    --tx-orange-950: #f5b19e;
    --tx-red-300: #fca5a5;
    --tx-red-500: #ef4444;
    --tx-red-600: #eb8484;
    --tx-red-700: #ed8a8a;
    --tx-red-800: #ec9292;
    --tx-red-900: #e89b9b;
    --tx-rose-800: #f28da9;
    --tx-sky-700: #89d1f9;
    --tx-sky-800: #8dd3f9;
    --tx-sky-900: #96d1f4;
    --tx-slate-200: #e2e8f0;
    --tx-slate-300: #cbd5e1;
    --tx-slate-400: #7b8799;
    --tx-slate-500: #94a3b8;
    --tx-slate-600: #aab4c3;
    --tx-slate-800: #e2e8f0;
    --tx-violet-600: #a375f2;
    --tx-violet-800: #b18dea;
    --tx-white: #ffffff;
    --tx-white-a50: rgba(255,255,255,0.5);
    --tx-white-a60: rgba(255,255,255,0.6);
    --tx-white-a70: rgba(255,255,255,0.7);
    --tx-white-a90: rgba(255,255,255,0.9);
    --tx-yellow-600: #f8d281;
    --tx-yellow-800: #f3c591;
    --tx-yellow-900: #efc299;
    --tx-zinc-400: #838595;
    --tx-zinc-500: #989aa8;

    /* ── Bordes y contornos ── */
    --bd-0078d4: #0078d4;
    --bd-007bff: #007bff;
    --bd-1f4fd8: #1f4fd8;
    --bd-28a745: #28a745;
    --bd-5865f2: #5865f2;
    --bd-5b5ef6: #5b5ef6;
    --bd-5b5ef6-a15: rgba(91,94,246,0.15);
    --bd-5b5ef6-a18: rgba(91,94,246,0.18);
    --bd-5b5ef6-a20: rgba(91,94,246,0.2);
    --bd-5b5ef6-a25: rgba(91,94,246,0.25);
    --bd-5b5ef6-a30: rgba(91,94,246,0.3);
    --bd-amber-200: #736326;
    --bd-amber-300: #fcd34d;
    --bd-amber-400: #fbbf24;
    --bd-amber-500: #f59e0b;
    --bd-amber-700: #b45309;
    --bd-black-a12: rgba(0,0,0,0.12);
    --bd-black-a13: rgba(0,0,0,0.13);
    --bd-black-a22: rgba(0,0,0,0.22);
    --bd-black-a5: rgba(255,255,255,0.05);
    --bd-blue-100: #264773;
    --bd-blue-200: #264873;
    --bd-blue-300: #264a73;
    --bd-blue-500: #3b82f6;
    --bd-blue-600: #2563eb;
    --bd-blue-700: #1d4ed8;
    --bd-bs-gray-200: #2c2f3d;
    --bd-bs-gray-300: #30344a;
    --bd-bs-gray-400: #3a3e50;
    --bd-bs-gray-500: #4c4d5c;
    --bd-bs-gray-600: #6c757d;
    --bd-bs-purple: #6f42c1;
    --bd-bs-red: #dc3545;
    --bd-c7caff: #262a73;
    --bd-c7d7fc: #263d73;
    --bd-c8cad8: #3e404c;
    --bd-cccccc: #40424f;
    --bd-cyan-200: #266b73;
    --bd-cyan-300: #67e8f9;
    --bd-d0d2df: #3a3e50;
    --bd-dddddd: #383944;
    --bd-e0e0e0: #363842;
    --bd-e8e8ec: #31333c;
    --bd-e8e9f0: #2a2d3a;
    --bd-emerald-200: #267350;
    --bd-emerald-300: #6ee7b7;
    --bd-emerald-500: #10b981;
    --bd-emerald-600: #059669;
    --bd-f0f0f0: #2e2f39;
    --bd-f0f0f5: #2d2e37;
    --bd-f0f2f5: #2d2e37;
    --bd-f44336: #f44336;
    --bd-f5c2c0: #732926;
    --bd-ffe082: #736026;
    --bd-gray-100: #242734;
    --bd-gray-200: #2c2f3d;
    --bd-gray-300: #3a3e50;
    --bd-gray-400: #9ca3af;
    --bd-gray-50: #292a33;
    --bd-gray-500: #6b7280;
    --bd-gray-600: #4b5563;
    --bd-gray-900: #111827;
    --bd-green-200: #267341;
    --bd-green-300: #86efac;
    --bd-green-500: #22c55e;
    --bd-green-600: #16a34a;
    --bd-indigo-100: #263873;
    --bd-indigo-200: #263673;
    --bd-indigo-300: #263373;
    --bd-indigo-500: #6366f1;
    --bd-indigo-600: #4f46e5;
    --bd-orange-200: #734f26;
    --bd-orange-500: #f97316;
    --bd-orange-700: #c2410c;
    --bd-red-200: #732626;
    --bd-red-300: #732626;
    --bd-red-500: #ef4444;
    --bd-red-600: #dc2626;
    --bd-rose-200: #732630;
    --bd-sky-200: #265873;
    --bd-sky-300: #7dd3fc;
    --bd-slate-100: #242734;
    --bd-slate-200: #2c2f3d;
    --bd-slate-300: #3a3e50;
    --bd-slate-400: #94a3b8;
    --bd-violet-200: #342673;
    --bd-white: #2c2f3d;
    --bd-white-a25: rgba(44,47,61,0.25);
    --bd-white-a35: rgba(44,47,61,0.35);
    --bd-white-a80: rgba(44,47,61,0.8);
    --bd-yellow-300: #fde047;
    --bd-yellow-500: #eab308;
    --bd-yellow-600: #ca8a04;
    --bd-zinc-200: #34353f;

    /* ── Sombras ── */
    --sh-007bff-a15: rgba(0,123,255,0.15);
    --sh-0d0e14-a10: rgba(13,14,20,0.1);
    --sh-0d0e14-a4: rgba(13,14,20,0.04);
    --sh-0d0e14-a6: rgba(13,14,20,0.06);
    --sh-0d0e14-a7: rgba(13,14,20,0.07);
    --sh-0d0e14-a8: rgba(13,14,20,0.08);
    --sh-1f4fd8-a30: rgba(31,79,216,0.3);
    --sh-1f4fd8-a40: rgba(31,79,216,0.4);
    --sh-5865f2-a10: rgba(88,101,242,0.1);
    --sh-5865f2-a12: rgba(88,101,242,0.12);
    --sh-5865f2-a30: rgba(88,101,242,0.3);
    --sh-5b5ef6-a10: rgba(91,94,246,0.1);
    --sh-5b5ef6-a15: rgba(91,94,246,0.15);
    --sh-5b5ef6-a20: rgba(91,94,246,0.2);
    --sh-5b5ef6-a25: rgba(91,94,246,0.25);
    --sh-5b5ef6-a30: rgba(91,94,246,0.3);
    --sh-5b5ef6-a40: rgba(91,94,246,0.4);
    --sh-amber-500: #f59e0b;
    --sh-amber-500-a50: rgba(245,158,11,0.5);
    --sh-amber-500-a55: rgba(245,158,11,0.55);
    --sh-black-a10: rgba(0,0,0,0.1);
    --sh-black-a11: rgba(0,0,0,0.11);
    --sh-black-a12: rgba(0,0,0,0.12);
    --sh-black-a13: rgba(0,0,0,0.13);
    --sh-black-a14: rgba(0,0,0,0.14);
    --sh-black-a15: rgba(0,0,0,0.15);
    --sh-black-a18: rgba(0,0,0,0.18);
    --sh-black-a20: rgba(0,0,0,0.2);
    --sh-black-a22: rgba(0,0,0,0.22);
    --sh-black-a25: rgba(0,0,0,0.25);
    --sh-black-a26: rgba(0,0,0,0.26);
    --sh-black-a28: rgba(0,0,0,0.28);
    --sh-black-a3: rgba(0,0,0,0.03);
    --sh-black-a30: rgba(0,0,0,0.3);
    --sh-black-a4: rgba(0,0,0,0.04);
    --sh-black-a6: rgba(0,0,0,0.06);
    --sh-black-a7: rgba(0,0,0,0.07);
    --sh-black-a8: rgba(0,0,0,0.08);
    --sh-blue-500-a10: rgba(59,130,246,0.1);
    --sh-blue-500-a14: rgba(59,130,246,0.14);
    --sh-blue-500-a15: rgba(59,130,246,0.15);
    --sh-blue-500-a50: rgba(59,130,246,0.5);
    --sh-blue-600-a10: rgba(37,99,235,0.1);
    --sh-blue-600-a12: rgba(37,99,235,0.12);
    --sh-blue-600-a15: rgba(37,99,235,0.15);
    --sh-bs-purple-a15: rgba(111,66,193,0.15);
    --sh-e8e9f0: #e8e9f0;
    --sh-green-600-a18: rgba(22,163,74,0.18);
    --sh-indigo-500-a12: rgba(99,102,241,0.12);
    --sh-indigo-500-a13: rgba(99,102,241,0.13);
    --sh-indigo-500-a15: rgba(99,102,241,0.15);
    --sh-indigo-600: #4f46e5;
    --sh-indigo-600-a10: rgba(79,70,229,0.1);
    --sh-indigo-600-a12: rgba(79,70,229,0.12);
    --sh-indigo-600-a30: rgba(79,70,229,0.3);
    --sh-red-600: #dc2626;
    --sh-white-a10: rgba(255,255,255,0.1);
    --sh-white-a12: rgba(255,255,255,0.12);

    /* ── Colores de marca y de estado ── */
    --ot-1f1f2e: #1f1f2e;
    --ot-4752c4: #4752c4;
    --ot-4845e4: #4845e4;
    --ot-5865f2: #5865f2;
    --ot-5b5ef6: #5b5ef6;
    --ot-7779f8: #7779f8;
    --ot-amber-500: #f59e0b;
    --ot-amber-600: #d97706;
    --ot-b0b3c8: #b0b3c8;
    --ot-blue-500: #3b82f6;
    --ot-blue-600: #2563eb;
    --ot-blue-700: #1d4ed8;
    --ot-e8e9f0: #e8e9f0;
    --ot-gray-300: #d1d5db;
    --ot-gray-500: #6b7280;
    --ot-green-500: #22c55e;
    --ot-green-600: #16a34a;
    --ot-green-600-a70: rgba(22,163,74,0.7);
    --ot-green-600-a75: rgba(22,163,74,0.75);
    --ot-indigo-500: #6366f1;
    --ot-orange-600: #ea580c;
    --ot-red-500: #ef4444;
    --ot-red-500-a15: rgba(239,68,68,0.15);
    --ot-red-600: #dc2626;
    --ot-red-600-a70: rgba(220,38,38,0.7);
    --ot-red-600-a75: rgba(220,38,38,0.75);
    --ot-slate-400: #94a3b8;
    --ot-violet-600: #7c3aed;
    --ot-yellow-600: #ca8a04;
    /* Gráficos del banco de gráficos del Escritorio (DashboardCharts) */
    --chart-1: #60a5fa;
    --chart-2: #4ade80;
    --chart-3: #a78bfa;
    --chart-4: #fbbf24;
    --chart-5: #22d3ee;
    --chart-6: #f472b6;
    --chart-7: #fb923c;
    --chart-8: #64748b;
    --chart-income: #4ade80;
    --chart-cost: #f87171;
    --chart-margin: #60a5fa;
    --chart-ref: #f87171;
    --chart-grid: rgba(255, 255, 255, 0.08);
    --chart-text: #9ca3af;
}
