html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #090c1a; --card: #0f1226; --soft: #151935; --white: #0f1226; --bg-hover: #161b38;
  --line: #232a4d; --line-strong: #2f3863; --line2: #2f3863; --border: #232a4d; --border-strong: #2f3863;
  --text: #e6e9f5; --ink: #e6e9f5; --text-dark: #e6e9f5; --text-2: #c3c9de; --ink2: #c3c9de;
  --muted: #8e97b5; --mute: #8e97b5; --text-muted: #8e97b5; --faint: #6b7494;
  --accent: #818cf8; --pri: #818cf8; --primary: #818cf8; --brand: #818cf8;
  --accent-soft: #1e2350; --pri-soft: #1e2350; --primary-light: #1e2350;
  --ok-soft: #0d2a22; --okbg: #0d2a22; --ok-line: #1d5a45; --okline: #1d5a45;
  --err-soft: #3a1420; --badbg: #3a1420; --err-line: #6b2234; --badline: #6b2234; --bad: #fb7185;
  --warn-soft: #33260c; --warnbg: #33260c; --warn-line: #6b4f12; --warnline: #6b4f12; --warn: #fbbf24;
  --info-soft: #13244a; --infobg: #13244a; --info-line: #284a8a; --infoline: #284a8a; --info: #60a5fa;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 24px rgba(0, 0, 0, .35);
  --glass: rgba(15, 18, 38, .94);
  --c-f4f6fb: #090c1a;
  --c-f8f9fd: #151935;
  --c-fafaff: #151935;
  --c-fafbff: #151935;
  --c-f8fafc: #151935;
  --c-f1f5f9: #1a1f3d;
  --c-f3f4f6: #1a1f3d;
  --c-eceff6: #232a4d;
  --c-e5e8f1: #232a4d;
  --c-e2e8f0: #2a3256;
  --c-d3d8e6: #2f3863;
  --c-cbd5e1: #3a4370;
  --c-eef0ff: #1e2350;
  --c-e0e7ff: #262d63;
  --c-c7d2fe: #3a4380;
  --c-c7cdf5: #3a4380;
  --c-eef2ff: #1e2350;
  --c-ecfdf5: #0d2a22;
  --c-d1fae5: #12392d;
  --c-a7f3d0: #1d5a45;
  --c-047857: #34d399;
  --c-059669: #34d399;
  --c-065f46: #6ee7b7;
  --c-fff1f3: #3a1420;
  --c-ffe4e6: #4a1828;
  --c-fecdd3: #6b2234;
  --c-be123c: #fb7185;
  --c-9f1239: #fda4af;
  --c-fffbeb: #33260c;
  --c-fef3c7: #3d2e0d;
  --c-fde68a: #6b4f12;
  --c-b45309: #fbbf24;
  --c-d97706: #fbbf24;
  --c-92400e: #fcd34d;
  --c-eff6ff: #13244a;
  --c-dbeafe: #18306a;
  --c-bfdbfe: #284a8a;
  --c-2563eb: #60a5fa;
  --c-1d4ed8: #93c5fd;
  --c-f3e8ff: #2a1640;
  --c-e9d5ff: #4b2a70;
  --c-6b2fa3: #c084fc;
  --c-0f172a: #e6e9f5;
  --c-111827: #e6e9f5;
  --c-1e293b: #dbe0f0;
  --c-334155: #c3c9de;
  --c-475569: #a9b1cc;
  --c-64748b: #8e97b5;
  --c-94a3b8: #6b7494;
  --c-b6bdcc: #5a6283;
  --c-15803d: #4ade80;
  --c-064e3b: #6ee7b7;
  --c-78350f: #fcd34d;
  --c-111b21: #e6e9f5;
  --c-c7cdf9: #3a4380;
  --c-dcdfff: #262d63;
  --c-e0f2fe: #0f2a44;
  --c-dcfce7: #0f3324;
  --c-a5b4fc: #4b55a8;
  --c-fbfbfe: #12162e;
  --c-e2e5ef: #262d50;
  --c-f7f8ff: #151935;
  --c-cfd5e3: #2f3863;
  --c-fff1f2: #3a1420;
  --c-f5f3ff: #1e1a40;
  --c-f8f9ff: #151935;
  --c-e8e9ff: #232a5a;
  --c-dbe1ea: #2a3256;
  --c-e0e4ff: #262d63;
  --c-f3f5fa: #151935;
  --c-ddd6fe: #3b2f70;
  --c-a5abf5: #4b55a8;
  --c-f0fdf4: #0d2a1c;
  --c-bbf7d0: #1d5a40;
  --c-fafbfc: #12162e;
  --c-f0f2f4: #1a1f3d;
  --c-f1f3f5: #1a1f3d;
  --c-e4e7ea: #262d50;
  --c-efeae2: #12162e;
  --c-f0f2f5: #1a1f3d;
}
html[data-theme="dark"] body { background-color: var(--bg); color: var(--text); }
html[data-theme="dark"] input, html[data-theme="dark"] select, html[data-theme="dark"] textarea {
  background-color: var(--card); color: var(--text); border-color: var(--line-strong);
}
html[data-theme="dark"] input::placeholder, html[data-theme="dark"] textarea::placeholder { color: #5a6283; }
html[data-theme="dark"] input[type=file]::file-selector-button { background: var(--soft); color: var(--text); border: 1px solid var(--line-strong); }
html[data-theme="dark"] .brandimg { content: url("/static/brand/ashflyer-logo-dark.svg?v=3"); }
html[data-theme="dark"] ::-webkit-scrollbar { width: 10px; height: 10px; }
html[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #2f3863; border-radius: 10px; }
html[data-theme="dark"] ::-webkit-scrollbar-track { background: transparent; }
