/* ==========================================================================
   MODE GELAP — aktif saat <html data-theme="dark"> (diatur _js/_theme.js).
   Mode terang = tampilan asli, tidak disentuh file ini.
   Cara kerja: memetakan ulang warna utilitas Tailwind yang dipakai halaman _*.php
   + komponen kaca (peta, fleet, dropdown, dialog) ke palet gelap.
   Palet: halaman #0b1220 · kartu #141c2b · kartu-2 #1a2435 · kartu-3 #1f2a3d
          teks #e6ebf3 · teks redup #94a2b8 · garis #26344d · aksen emas #d4af37
   ========================================================================== */
html[data-theme="dark"] {
    color-scheme: dark;
    --dk-page: #0b1220; --dk-card: #141c2b; --dk-card2: #1a2435; --dk-card3: #1f2a3d;
    --dk-text: #e6ebf3; --dk-text2: #b6c0d0; --dk-dim: #94a2b8; --dk-faint: #6b7a93;
    --dk-line: #26344d; --dk-line2: #33435f;
    --dk-glass: rgba(15, 23, 42, .62); --dk-glass2: rgba(30, 41, 59, .7);
}

/* ---------- kerangka: body, sidebar desktop, navigasi bawah mobile ---------- */
html[data-theme="dark"] body { background-color: var(--dk-page); color: var(--dk-text); }
html[data-theme="dark"] .sidebar { background: linear-gradient(to bottom, #131c2c 0%, #0a101c 100%) !important; border-right: 1px solid var(--dk-line); }
html[data-theme="dark"] .bottom-nav { background: linear-gradient(to bottom, #172133 0%, #0c1320 100%) !important; border-top-color: var(--dk-line) !important; box-shadow: 0 -10px 25px rgba(0,0,0,.45) !important; }
html[data-theme="dark"] .nav-item { color: var(--dk-dim) !important; }
html[data-theme="dark"] .nav-item.active { color: var(--gold-main, #d4af37) !important; }
html[data-theme="dark"] a:visited { color: inherit !important; }
html[data-theme="dark"] .page-content, html[data-theme="dark"] .main-content, html[data-theme="dark"] .framework7-root, html[data-theme="dark"] .page {color: var(--dk-text); }

/* ---------- latar (Tailwind) ---------- */
html[data-theme="dark"] .bg-white, html[data-theme="dark"] .bg-white\/95, html[data-theme="dark"] .bg-white\/80, html[data-theme="dark"] .focus\:bg-white:focus { background-color: var(--dk-card) !important; }
html[data-theme="dark"] .bg-white\/60 { background-color: rgba(20, 28, 43, .7) !important; }
html[data-theme="dark"] .bg-slate-50, html[data-theme="dark"] .bg-slate-0, html[data-theme="dark"] .bg-slate-50\/80, html[data-theme="dark"] .bg-slate-50\/70, html[data-theme="dark"] .bg-slate-50\/50, html[data-theme="dark"] .bg-\[\#eef2f6\] { background-color: var(--dk-card2) !important; }
html[data-theme="dark"] .bg-slate-100, html[data-theme="dark"] .bg-slate-150 { background-color: var(--dk-card3) !important; }
html[data-theme="dark"] .bg-slate-200, html[data-theme="dark"] .bg-slate-200\/70 { background-color: #2a3750 !important; }
html[data-theme="dark"] .bg-slate-300, html[data-theme="dark"] .bg-slate-300\/70 { background-color: #37476a !important; }
html[data-theme="dark"] .bg-slate-400 { background-color: #4b5d7e !important; }
html[data-theme="dark"] .bg-black\/5, html[data-theme="dark"] .bg-\[\#050b14\]\/5 { background-color: rgba(255, 255, 255, .06) !important; }
/* tombol utama biru-tua -> emas supaya tetap terlihat di latar gelap */
html[data-theme="dark"] .bg-\[\#050b14\] { background-color: #d4af37 !important; color: #050b14 !important; }
html[data-theme="dark"] .bg-\[\#050b14\].hover\:bg-slate-800:hover { background-color: #e3c25a !important; }
/* tombol utama berubah EMAS di mode gelap → aksen emas di dalamnya (ikon +, teks) wajib ikut gelap, jangan emas-di-atas-emas */
html[data-theme="dark"] .bg-\[\#050b14\] .text-\[\#d4af37\], html[data-theme="dark"] .bg-\[\#909090\] .text-\[\#d4af37\],
html[data-theme="dark"] .geo-btn-primary .text-\[\#d4af37\], html[data-theme="dark"] .poi-icon-btn-dark .text-\[\#d4af37\] { color: #050b14 !important; }
/* latar berwarna lembut (status / peringatan) */
html[data-theme="dark"] .bg-red-50, html[data-theme="dark"] .bg-red-50\/50, html[data-theme="dark"] .bg-rose-50, html[data-theme="dark"] .bg-rose-50\/80 { background-color: rgba(239, 68, 68, .13) !important; }
html[data-theme="dark"] .bg-red-100, html[data-theme="dark"] .bg-rose-100, html[data-theme="dark"] .bg-red-200\/60 { background-color: rgba(239, 68, 68, .22) !important; }
html[data-theme="dark"] .bg-blue-50, html[data-theme="dark"] .bg-blue-50\/80, html[data-theme="dark"] .bg-blue-50\/70, html[data-theme="dark"] .bg-blue-50\/20 { background-color: rgba(59, 130, 246, .14) !important; }
html[data-theme="dark"] .bg-blue-100 { background-color: rgba(59, 130, 246, .24) !important; }
html[data-theme="dark"] .bg-emerald-50, html[data-theme="dark"] .bg-emerald-50\/80, html[data-theme="dark"] .bg-emerald-50\/70, html[data-theme="dark"] .bg-green-50 { background-color: rgba(16, 185, 129, .13) !important; }
html[data-theme="dark"] .bg-emerald-100, html[data-theme="dark"] .bg-green-100 { background-color: rgba(16, 185, 129, .22) !important; }
html[data-theme="dark"] .bg-amber-50, html[data-theme="dark"] .bg-amber-50\/80 { background-color: rgba(245, 158, 11, .13) !important; }
html[data-theme="dark"] .bg-amber-100 { background-color: rgba(245, 158, 11, .22) !important; }
/* warna kartu ringkasan lain di laporan History (Geofence: teal, Stop Report: sky/orange, Notifikasi: indigo) — dulu tetap putih di mode gelap */
html[data-theme="dark"] .bg-teal-50, html[data-theme="dark"] .bg-teal-50\/80 { background-color: rgba(20, 184, 166, .13) !important; }
html[data-theme="dark"] .bg-sky-50, html[data-theme="dark"] .bg-sky-50\/80 { background-color: rgba(14, 165, 233, .13) !important; }
html[data-theme="dark"] .bg-orange-50, html[data-theme="dark"] .bg-orange-50\/80 { background-color: rgba(249, 115, 22, .13) !important; }
html[data-theme="dark"] .bg-indigo-50, html[data-theme="dark"] .bg-indigo-50\/80 { background-color: rgba(99, 102, 241, .14) !important; }
html[data-theme="dark"] .bg-indigo-100 { background-color: rgba(99, 102, 241, .24) !important; }
/* kotak ikon menu Feature (Dokumen/Servis: violet, Checklist: lime, dll.) — dulu tetap putih di mode gelap */
html[data-theme="dark"] .bg-violet-50, html[data-theme="dark"] .bg-purple-50 { background-color: rgba(139, 92, 246, .14) !important; }
html[data-theme="dark"] .bg-lime-50 { background-color: rgba(132, 204, 22, .13) !important; }
html[data-theme="dark"] .bg-cyan-50 { background-color: rgba(6, 182, 212, .13) !important; }
html[data-theme="dark"] .bg-pink-50 { background-color: rgba(236, 72, 153, .13) !important; }
html[data-theme="dark"] .bg-yellow-50 { background-color: rgba(234, 179, 8, .13) !important; }
/* hover */
html[data-theme="dark"] .hover\:bg-slate-200:hover, html[data-theme="dark"] .hover\:bg-slate-100\/80:hover, html[data-theme="dark"] .hover\:bg-slate-50\/80:hover { background-color: #33435f !important; }
html[data-theme="dark"] .hover\:bg-white\/50:hover { background-color: rgba(255, 255, 255, .08) !important; }
/* jaring pengaman: SEMUA varian hover abu-abu terang / putih Tailwind (bg-slate-50/60, bg-slate-100, bg-white, bg-gray-*, dst.)
   jangan pernah jadi latar terang di mode gelap (teks putih jadi tak terbaca). Baris tabel = sorotan halus. */
html[data-theme="dark"] [class*="hover:bg-slate-50"]:hover, html[data-theme="dark"] [class*="hover:bg-slate-100"]:hover,
html[data-theme="dark"] [class*="hover:bg-slate-200"]:hover, html[data-theme="dark"] [class*="hover:bg-gray-"]:hover,
html[data-theme="dark"] [class*=" hover:bg-white"]:hover, html[data-theme="dark"] [class^="hover:bg-white"]:hover { background-color: #33435f !important; }
@media (min-width: 768px) { /* desktop: baris tabel menyatu → sorot baris + selnya */
html[data-theme="dark"] tr[class*="hover:bg-"]:hover, html[data-theme="dark"] tr[class*="hover:bg-"]:hover td { background-color: rgba(255, 255, 255, .06) !important; }
}
/* HP (tabel jadi kartu .tcard): sorot kartu utuh saja, sel tetap transparan — lihat _icons.css bagian Table card */
@media (max-width: 767px) {
html[data-theme="dark"] table.tcard tbody tr td { background-color: transparent !important; }
html[data-theme="dark"] table.tcard tbody tr:hover { background-color: transparent !important; }
html[data-theme="dark"] table.tcard tbody tr:active { background-color: rgba(255, 255, 255, .035) !important; }
}
@media (max-width: 767px) and (hover: hover) and (pointer: fine) {
html[data-theme="dark"] table.tcard tbody tr:hover { background-color: rgba(255, 255, 255, .035) !important; }
}
html[data-theme="dark"] .hover\:bg-red-100:hover, html[data-theme="dark"] .hover\:bg-rose-50:hover { background-color: rgba(239, 68, 68, .24) !important; }
html[data-theme="dark"] .hover\:bg-amber-100:hover { background-color: rgba(245, 158, 11, .24) !important; }

/* ---------- teks ---------- */
html[data-theme="dark"] .text-black, html[data-theme="dark"] .text-slate-900, html[data-theme="dark"] .text-slate-800,
html[data-theme="dark"] .hover\:text-slate-900:hover, html[data-theme="dark"] .hover\:text-slate-800:hover { color: var(--dk-text) !important; }
html[data-theme="dark"] .text-slate-700 { color: #d3dae6 !important; }
html[data-theme="dark"] .text-slate-600 { color: var(--dk-text2) !important; }
html[data-theme="dark"] .text-slate-500 { color: var(--dk-dim) !important; }
html[data-theme="dark"] .text-slate-400 { color: #8593aa !important; }
html[data-theme="dark"] .text-slate-300 { color: var(--dk-faint) !important; }
html[data-theme="dark"] .text-red-600, html[data-theme="dark"] .text-red-700, html[data-theme="dark"] .hover\:text-red-700:hover { color: #f87171 !important; }
html[data-theme="dark"] .text-rose-600, html[data-theme="dark"] .text-rose-700 { color: #fb7185 !important; }
html[data-theme="dark"] .text-blue-600, html[data-theme="dark"] .text-blue-700 { color: #60a5fa !important; }
html[data-theme="dark"] .text-emerald-600, html[data-theme="dark"] .text-emerald-700, html[data-theme="dark"] .text-green-600, html[data-theme="dark"] .text-green-700 { color: #34d399 !important; }
html[data-theme="dark"] .text-amber-600, html[data-theme="dark"] .text-amber-700, html[data-theme="dark"] .hover\:text-amber-700:hover { color: #fbbf24 !important; }
html[data-theme="dark"] .text-\[\#0352ff\] { color: #4f8bff !important; } /* "TRACK" di logo: biru lebih terang supaya terbaca */

/* ---------- garis ---------- */
html[data-theme="dark"] .border-slate-50, html[data-theme="dark"] .border-slate-100, html[data-theme="dark"] .border-slate-100\/80,
html[data-theme="dark"] .border-white, html[data-theme="dark"] .border-black\/10 { border-color: var(--dk-line) !important; }
html[data-theme="dark"] .border-slate-200, html[data-theme="dark"] .border-slate-200\/60, html[data-theme="dark"] .border-slate-200\/40 { border-color: var(--dk-line2) !important; }
html[data-theme="dark"] .divide-slate-50 > * + *, html[data-theme="dark"] .divide-slate-100 > * + * { border-color: var(--dk-line) !important; }
html[data-theme="dark"] .border-red-100, html[data-theme="dark"] .border-red-100\/80, html[data-theme="dark"] .border-red-100\/70, html[data-theme="dark"] .border-rose-100 { border-color: rgba(239, 68, 68, .3) !important; }
html[data-theme="dark"] .border-blue-100, html[data-theme="dark"] .border-blue-100\/80 { border-color: rgba(59, 130, 246, .32) !important; }
html[data-theme="dark"] .border-emerald-100, html[data-theme="dark"] .border-emerald-100\/80, html[data-theme="dark"] .border-green-100 { border-color: rgba(16, 185, 129, .3) !important; }
/* violet (Tabel Perjalanan, _history_tabel.php): teks & bingkai violet dulu tetap gelap / putih di mode gelap */
html[data-theme="dark"] .text-violet-500, html[data-theme="dark"] .text-violet-600, html[data-theme="dark"] .text-violet-700 { color: #c4b5fd !important; }
html[data-theme="dark"] .border-violet-100 { border-color: transparent !important; }
html[data-theme="dark"] .border-amber-100 { border-color: rgba(245, 158, 11, .3) !important; }
html[data-theme="dark"] .shadow-sm, html[data-theme="dark"] .shadow, html[data-theme="dark"] .shadow-md, html[data-theme="dark"] .shadow-lg, html[data-theme="dark"] .shadow-xl { --tw-shadow-color: rgba(0,0,0,.5); box-shadow: 0 4px 14px rgba(0, 0, 0, .35) !important; }

/* ---------- isian form & tabel ---------- */
html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
html[data-theme="dark"] select, html[data-theme="dark"] textarea { background-color: var(--dk-card2); color: var(--dk-text); border-color: var(--dk-line2); }
html[data-theme="dark"] input::placeholder, html[data-theme="dark"] textarea::placeholder { color: var(--dk-faint) !important; }
html[data-theme="dark"] table.dataTable, html[data-theme="dark"] table.dataTable thead th, html[data-theme="dark"] table.dataTable tbody td { color: var(--dk-text); border-color: var(--dk-line) !important; }
html[data-theme="dark"] table.dataTable thead th { background-color: var(--dk-card3) !important; }
html[data-theme="dark"] table.dataTable tbody tr, html[data-theme="dark"] table.dataTable tr.odd, html[data-theme="dark"] table.dataTable tr.even,
html[data-theme="dark"] table.dataTable tr.odd td, html[data-theme="dark"] table.dataTable tr.even td { background-color: var(--dk-card) !important; }
html[data-theme="dark"] table.dataTable tbody tr:hover td { background-color: var(--dk-card2) !important; }
html[data-theme="dark"] .dataTables_wrapper, html[data-theme="dark"] .dataTables_info, html[data-theme="dark"] .dataTables_length, html[data-theme="dark"] .dataTables_filter,
html[data-theme="dark"] .dataTables_paginate a { color: var(--dk-dim) !important; }

/* ---------- komponen ikon / pil / dropdown (_icons.css) ---------- */
html[data-theme="dark"] .page-close { background: var(--dk-card3) !important; color: var(--dk-text2) !important; }
html[data-theme="dark"] .live-pill { background: var(--dk-card2); color: var(--dk-text); border-color: var(--dk-line2); }
html[data-theme="dark"] .lp-dialog { background: linear-gradient(160deg, rgba(23, 33, 51, .86), rgba(15, 23, 42, .78)) !important; color: var(--dk-text); box-shadow: 0 18px 44px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08) !important; }
html[data-theme="dark"] .lp-opt, html[data-theme="dark"] .lp-now { background: rgba(255, 255, 255, .06) !important; color: var(--dk-text) !important; border-color: var(--dk-line2) !important; }
html[data-theme="dark"] .lp-opt:hover, html[data-theme="dark"] .lp-now:hover { background: rgba(255, 255, 255, .12) !important; }
html[data-theme="dark"] .lp-opt.is-on { background: #d4af37 !important; color: #050b14 !important; border-color: #d4af37 !important; }
/* menu History per unit (MapCore.unitHistoryMenu): ikon tetap berwarna kategori, hover penuh warna */
html[data-theme="dark"] .um-ico.tone-blue, html[data-theme="dark"] .um-ico.tone-car { background: rgba(59, 130, 246, .16); color: #60a5fa; }
html[data-theme="dark"] .um-ico.tone-green   { background: rgba(34, 197, 94, .16); color: #4ade80; }
html[data-theme="dark"] .um-ico.tone-red     { background: rgba(239, 68, 68, .16); color: #f87171; }
html[data-theme="dark"] .um-ico.tone-emerald { background: rgba(16, 185, 129, .16); color: #34d399; }
html[data-theme="dark"] .um-ico.tone-amber { background: rgba(245, 158, 11, .16); color: #fbbf24; }
html[data-theme="dark"] .um-ico.tone-user { background: rgba(16, 185, 129, .16); color: #34d399; }
/* saklar global & kartu Notifikasi HP (_profile.php) */
html[data-theme="dark"] .gt-switch { background: #33435f; }
html[data-theme="dark"] .gt-switch:checked { background: #22c55e; }
html[data-theme="dark"] .ns-t { color: var(--dk-text); }
html[data-theme="dark"] .ns-t small, html[data-theme="dark"] .ns-field { color: var(--dk-dim); }
html[data-theme="dark"] .ns-in { background: rgba(255, 255, 255, .05); border-color: var(--dk-line2); }
/* kolom angka (Batas kecepatan / Kirim ulang tiap): input menyatu dengan kotaknya — aturan input gelap global memberi latar sendiri */
html[data-theme="dark"] .ns-in input { color: var(--dk-text) !important; background: transparent !important; border: 0 !important; box-shadow: none !important; padding-left: 0 !important; padding-right: 0 !important; }
html[data-theme="dark"] .ns-in em { color: var(--dk-dim); }
html[data-theme="dark"] .menu-divider, html[data-theme="dark"] .sidebar .sb-divider { background: rgba(255, 255, 255, .08); }
/* sidebar dropdown (desktop): submenu teks terang, hover/aktif bingkai emas (standar), latar tidak terang */
html[data-theme="dark"] .sidebar nav a.sb-item { color: var(--dk-text2) !important; background-color: transparent !important; border-color: transparent !important; }
html[data-theme="dark"] .sidebar nav a.sb-item:hover { color: var(--dk-text) !important; border-color: rgba(212, 175, 55, .85) !important; }
html[data-theme="dark"] .sidebar nav a.sb-item.is-current { color: #d4af37 !important; border-color: rgba(212, 175, 55, .85) !important; background-color: rgba(212, 175, 55, .1) !important; }
html[data-theme="dark"] .sidebar .sb-caret { color: var(--dk-dim); }
html[data-theme="dark"] .sidebar .sb-group.has-current > [data-sb-parent] { color: #d4af37 !important; }
html[data-theme="dark"] .vp-hist { background: rgba(255, 255, 255, .08); border-color: var(--dk-line2); color: var(--dk-text); box-shadow: none; }
html[data-theme="dark"] .vp-hist:hover { border-color: #d4af37; color: #d4af37; }
html[data-theme="dark"] .ssel-pop, html[data-theme="dark"] .ssel-pop.is-glass { background: rgba(17, 25, 40, .92) !important; color: var(--dk-text) !important; border-color: var(--dk-line2) !important; box-shadow: 0 16px 40px rgba(0,0,0,.55) !important; }
html[data-theme="dark"] .ssel-search input, html[data-theme="dark"] .ssel-pop.is-glass .ssel-search input { background: rgba(255, 255, 255, .06) !important; color: var(--dk-text) !important; border-color: var(--dk-line2) !important; }
html[data-theme="dark"] .ssel-opt { color: var(--dk-text) !important; }
html[data-theme="dark"] .ssel-btn .ssel-arrow { border-color: #94a3b8 !important; } /* panah dropdown: abu terang di latar gelap */
html[data-theme="dark"] .ssel-opt:hover, html[data-theme="dark"] .ssel-opt.is-active, html[data-theme="dark"] .ssel-pop.is-glass .ssel-opt.is-active { background: rgba(212, 175, 55, .16) !important; }
html[data-theme="dark"] .sbox-clear:hover { background: rgba(255, 255, 255, .1) !important; }
html[data-theme="dark"] .sbox > .sbox-ico, html[data-theme="dark"] .sbox-clear { color: #94a3b8 !important; } /* ikon cari & X: abu terang di latar gelap */
html[data-theme="dark"] .sbox-clear:hover { color: #e6ebf3 !important; }

/* ---------- peta: panel kaca terang -> kaca gelap ---------- */
html[data-theme="dark"] .mc-glass,
html[data-theme="dark"] .mc-map .mc-search-box,
html[data-theme="dark"] .mc-map .mc-ket-body, html[data-theme="dark"] .mc-map .mc-ket-tab {
    background: linear-gradient(160deg, rgba(23, 33, 51, .74), rgba(15, 23, 42, .6)) !important; color: var(--dk-text) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}
html[data-theme="dark"] .mc-map .mc-search-field input { background: rgba(255, 255, 255, .07) !important; color: var(--dk-text) !important; }
html[data-theme="dark"] .mc-map .mc-btn.mc-btn-close { background-color: rgba(30, 41, 59, .72) !important; color: #e2e8f0 !important; }
html[data-theme="dark"] .mc-map .mc-btn.mc-btn-close:hover { background-color: rgba(127, 29, 29, .8) !important; color: #fecaca !important; }
html[data-theme="dark"] .mc-map .ol-popup, html[data-theme="dark"] .mc-info, html[data-theme="dark"] .mc-vpopup.ol-popup {
    background: linear-gradient(160deg, rgba(23, 33, 51, .86), rgba(15, 23, 42, .76)) !important; color: var(--dk-text) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}
html[data-theme="dark"] .mc-map .ol-popup:after, html[data-theme="dark"] .mc-info:after { background: rgba(17, 25, 40, .86) !important; }
html[data-theme="dark"] .mc-map .ol-popup *, html[data-theme="dark"] .mc-info * { color: inherit; }
html[data-theme="dark"] .mc-map .ol-popup hr { border-color: var(--dk-line2) !important; }
html[data-theme="dark"] .mc-info-badge { background: rgba(59, 130, 246, .2) !important; color: #93c5fd !important; }
html[data-theme="dark"] .mc-info-badge.is-area { background: rgba(16, 185, 129, .2) !important; color: #6ee7b7 !important; }
html[data-theme="dark"] .mc-info-note { color: var(--dk-dim) !important; }
html[data-theme="dark"] .mc-map-gl .maplibregl-ctrl-attrib, html[data-theme="dark"] .ol-attribution ul { background: rgba(15, 23, 42, .6) !important; color: #cbd5e1 !important; }
html[data-theme="dark"] .mc-map-gl .maplibregl-ctrl-attrib a, html[data-theme="dark"] .ol-attribution a { color: #93c5fd !important; }

/* ---------- peta armada (_map-fleet.css) ---------- */
html[data-theme="dark"] .fl-chip, html[data-theme="dark"] .fl-card, html[data-theme="dark"] .fl-refresh, html[data-theme="dark"] .fl-toggle,
html[data-theme="dark"] .fl-tick, html[data-theme="dark"] .fl-tick-list, html[data-theme="dark"] .fl-search {
    background: linear-gradient(160deg, rgba(23, 33, 51, .74), rgba(15, 23, 42, .6)) !important; color: var(--dk-text) !important;
    border-color: rgba(255, 255, 255, .08) !important; box-shadow: 0 10px 26px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}
html[data-theme="dark"] .fl-search input { background: rgba(255, 255, 255, .07) !important; color: var(--dk-text) !important; }
html[data-theme="dark"] .fl-stat, html[data-theme="dark"] #fleet-panel .fl-stat { background: rgba(255, 255, 255, .06) !important; color: var(--dk-text) !important; }
html[data-theme="dark"] .fl-stat.is-click:hover, html[data-theme="dark"] .fl-unit:hover, html[data-theme="dark"] .fl-tick-item:hover { background: rgba(255, 255, 255, .1) !important; }
html[data-theme="dark"] .fl-filter-note { background: rgba(245, 158, 11, .14) !important; color: #fbbf24 !important; }
html[data-theme="dark"] .fl-card *, html[data-theme="dark"] .fl-tick-list * { border-color: rgba(255, 255, 255, .08); }

/* ---------- navigasi 3D (_rute_start.php) ---------- */
html[data-theme="dark"] .nav-bottom-glass, html[data-theme="dark"] .nav-recenter, html[data-theme="dark"] .nav-mode {
    background: linear-gradient(160deg, rgba(23, 33, 51, .76), rgba(15, 23, 42, .62)) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}
html[data-theme="dark"] .nav-bottom-glass::before { opacity: .12; }
html[data-theme="dark"] .nav-recenter { color: #8ab4f8 !important; }
html[data-theme="dark"] .nav-mode button { color: #cbd5e1; }
html[data-theme="dark"] .nav-bt-dur { color: #4ade80 !important; }
html[data-theme="dark"] .nav-bt-sub { color: var(--dk-dim) !important; }
html[data-theme="dark"] .nav-bt-row, html[data-theme="dark"] .nav-bt-sub b { color: var(--dk-text) !important; }
html[data-theme="dark"] .nav-bt-veh, html[data-theme="dark"] .nav-bt-hp { border-left-color: rgba(255, 255, 255, .12) !important; }

/* ---------- tombol pilihan tema (dekat logo & di halaman profil) ---------- */
.gt-theme { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(15, 23, 42, .07); }
.gt-theme button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; min-width: 34px; padding: 0 9px; margin: 0;
    border: 0; border-radius: 999px; background: transparent; color: #64748b; font: 800 11px/1 'Roboto', sans-serif; cursor: pointer;
    -webkit-tap-highlight-color: transparent; transition: background .15s, color .15s; width: auto; }
.gt-theme button svg { width: 16px; height: 16px; flex-shrink: 0; }
.gt-theme button:hover { color: #0f172a; }
.gt-theme button.is-on { background: #fff; color: #b45309; box-shadow: 0 1px 4px rgba(15, 23, 42, .18); }
.gt-theme.is-wide { display: flex; width: 100%; }
.gt-theme.is-wide button { flex: 1; height: 40px; font-size: 12px; }
html[data-theme="dark"] .gt-theme { background: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .gt-theme button { color: #94a2b8; }
html[data-theme="dark"] .gt-theme button:hover { color: #e6ebf3; }
html[data-theme="dark"] .gt-theme button.is-on { background: #d4af37; color: #050b14; box-shadow: 0 1px 6px rgba(0, 0, 0, .4); }

/* ---------- sisa komponen terang: isian "!bg-…", chip status, chip geofence ---------- */
html[data-theme="dark"] .\!bg-slate-50, html[data-theme="dark"] .\!bg-slate-100, html[data-theme="dark"] .\!bg-white { background-color: var(--dk-card2) !important; color: var(--dk-text) !important; }
html[data-theme="dark"] .status-tile.is-moving, html[data-theme="dark"] .status-tile.is-on { background: rgba(22, 163, 74, .18) !important; color: #4ade80 !important; }
html[data-theme="dark"] .status-tile.is-idle { background: rgba(37, 99, 235, .2) !important; color: #60a5fa !important; }
html[data-theme="dark"] .status-tile.is-off { background: rgba(225, 29, 72, .18) !important; color: #fb7185 !important; }
html[data-theme="dark"] .status-tile.is-mark { background: rgba(255, 255, 255, .06) !important; border-color: var(--dk-line) !important; }
html[data-theme="dark"] .geo-chip.is-in { background: rgba(22, 163, 74, .18) !important; color: #4ade80 !important; border-color: rgba(22, 163, 74, .4) !important; }
html[data-theme="dark"] .geo-chip.is-out { background: rgba(234, 88, 12, .18) !important; color: #fb923c !important; border-color: rgba(234, 88, 12, .4) !important; }
html[data-theme="dark"] .lst-chip { background: var(--dk-card2) !important; color: var(--dk-text2) !important; border-color: var(--dk-line2) !important; }
html[data-theme="dark"] .lst-chip[data-f="aktif"], html[data-theme="dark"] .fl-chip[data-f="aktif"] { color: #4ade80 !important; }
html[data-theme="dark"] .lst-chip[data-f="idle"], html[data-theme="dark"] .fl-chip[data-f="idle"] { color: #60a5fa !important; }
html[data-theme="dark"] .lst-chip[data-f="perbaikan"], html[data-theme="dark"] .fl-chip[data-f="perbaikan"] { color: #fb7185 !important; }
html[data-theme="dark"] .lst-chip.is-on, html[data-theme="dark"] .fl-chip.is-on { box-shadow: inset 0 0 0 1.5px currentColor !important; }
html[data-theme="dark"] .lst-chip[data-f="off"] { color: #fb7185 !important; }
html[data-theme="dark"] .lst-chip.is-active { border-color: currentColor !important; background: var(--dk-card3) !important; }
html[data-theme="dark"] .lst-chip[data-f="all"].is-active { border-color: #d4af37 !important; color: #d4af37 !important; }

/* ---------- teks gelap bawaan komponen -> terang di mode gelap ---------- */
html[data-theme="dark"] .fl-head-title, html[data-theme="dark"] .fl-stat-val, html[data-theme="dark"] .fl-unit-lic, html[data-theme="dark"] .fl-toggle,
html[data-theme="dark"] .fl-km-top, html[data-theme="dark"] .fl-km-top b, html[data-theme="dark"] .fl-chip[data-f="total"],
html[data-theme="dark"] .lp-title, html[data-theme="dark"] .ssel-u-lic, html[data-theme="dark"] .ssel-pop.is-sheet .ssel-head,
html[data-theme="dark"] .mc-info-title, html[data-theme="dark"] .mc-map .mc-sr-title,
html[data-theme="dark"] .geo-plate, html[data-theme="dark"] .geo-time b, html[data-theme="dark"] .geo-zone-txt b, html[data-theme="dark"] .geo-ev-txt b,
html[data-theme="dark"] .geo-title, html[data-theme="dark"] .geo-count, html[data-theme="dark"] .place-title, html[data-theme="dark"] .poi-view-note,
html[data-theme="dark"] .notif-footer-val, html[data-theme="dark"] .notif-popup-title-lic, html[data-theme="dark"] .notif-popup-address,
html[data-theme="dark"] .rt-val, html[data-theme="dark"] .rt-info-tb td, html[data-theme="dark"] .lst-search input { color: var(--dk-text) !important; }
html[data-theme="dark"] .geo-note, html[data-theme="dark"] .notif-footer-time, html[data-theme="dark"] .fl-head-ico, html[data-theme="dark"] .place-ico { color: var(--dk-dim) !important; }
html[data-theme="dark"] .fl-unit[data-s="aktif"] .fl-unit-badge, html[data-theme="dark"] .ssel-opt[data-s="aktif"] .ssel-u-badge { background: rgba(22, 163, 74, .2) !important; color: #4ade80 !important; }
html[data-theme="dark"] .fl-unit[data-s="idle"] .fl-unit-badge, html[data-theme="dark"] .ssel-opt[data-s="idle"] .ssel-u-badge { background: rgba(37, 99, 235, .22) !important; color: #60a5fa !important; }
html[data-theme="dark"] .ssel-opt.is-on, html[data-theme="dark"] .ssel-opt.is-on .ssel-u-lic { color: #d4af37 !important; }
/* opsi terpilih: latar emas transparan, bukan biru muda #eff6ff mode terang (dulu teks emas di atas putih, silau & tak terbaca) */
html[data-theme="dark"] .ssel-opt.is-on, html[data-theme="dark"] .ssel-pop.is-glass .ssel-opt.is-on { background: rgba(212, 175, 55, .12) !important; }
html[data-theme="dark"] .ssel-opt.is-on:hover, html[data-theme="dark"] .ssel-opt.is-on.is-active { background: rgba(212, 175, 55, .2) !important; }
html[data-theme="dark"] .geo-input, html[data-theme="dark"] .poi-field, html[data-theme="dark"] .geo-btn, html[data-theme="dark"] .geo-map-btn,
html[data-theme="dark"] .poi-radius-chips button, html[data-theme="dark"] .lst-act, html[data-theme="dark"] .unit-act { background-color: var(--dk-card2) !important; color: var(--dk-text) !important; border-color: var(--dk-line2) !important; }
html[data-theme="dark"] .poi-radius-chips button.is-on, html[data-theme="dark"] .poi-radius-chips button.active { background-color: #d4af37 !important; color: #050b14 !important; border-color: #d4af37 !important; }
html[data-theme="dark"] .mc-map .mc-sr-ico, html[data-theme="dark"] .geo-zone-ic { background-color: rgba(255, 255, 255, .08) !important; color: var(--dk-text2) !important; }
/* kotak ikon kategori: warna standar tetap dipakai di mode gelap, hanya latar dibuat transparan & ikon sedikit dicerahkan agar nyaman di mata */
html[data-theme="dark"] .ic-box-car    { background-color: rgba(59, 130, 246, .16) !important; color: #60a5fa !important; }
html[data-theme="dark"] .ic-box-device { background-color: rgba(217, 119, 6, .16) !important;  color: #fbbf24 !important; }
html[data-theme="dark"] .ic-box-user   { background-color: rgba(5, 150, 105, .18) !important;  color: #34d399 !important; }
html[data-theme="dark"] .group:hover .ic-box-car    { background-color: #3b82f6 !important; color: #fff !important; }
html[data-theme="dark"] .group:hover .ic-box-device { background-color: #d97706 !important; color: #fff !important; }
html[data-theme="dark"] .group:hover .ic-box-user   { background-color: #059669 !important; color: #fff !important; }
html[data-theme="dark"] .page-title-gold { background-image: linear-gradient(90deg, #f8fafc 0%, #d4af37 100%); color: #f8fafc !important; }
html[data-theme="dark"] .mc-vpopup.ol-popup, html[data-theme="dark"] .mc-vpopup.ol-popup td { color: var(--dk-text) !important; }

/* ==========================================================================
   TANPA GARIS TEPI di mode gelap: kartu & panel dibedakan dari warna latarnya saja.
   Tidak ada border putih / abu-abu, tidak ada garis kilap putih (inset) di tepi atas.
   Yang tetap bergaris: kartu terpilih (emas) dan garis status berwarna di tepi kiri kartu kendaraan.
   ========================================================================== */
html[data-theme="dark"] { --dk-line: transparent; --dk-line2: transparent; --dk-sep: rgba(255, 255, 255, .055); }
html[data-theme="dark"] .border-slate-50, html[data-theme="dark"] .border-slate-100, html[data-theme="dark"] .border-slate-100\/80,
html[data-theme="dark"] .border-slate-200, html[data-theme="dark"] .border-slate-200\/60, html[data-theme="dark"] .border-slate-200\/40,
html[data-theme="dark"] .border-white, html[data-theme="dark"] .border-white\/10, html[data-theme="dark"] .border-black\/10,
html[data-theme="dark"] .border-red-100, html[data-theme="dark"] .border-red-100\/80, html[data-theme="dark"] .border-red-100\/70, html[data-theme="dark"] .border-rose-100,
html[data-theme="dark"] .border-blue-100, html[data-theme="dark"] .border-blue-100\/80, html[data-theme="dark"] .border-emerald-100, html[data-theme="dark"] .border-emerald-100\/80,
html[data-theme="dark"] .border-green-100, html[data-theme="dark"] .border-amber-100,
html[data-theme="dark"] .border-teal-100, html[data-theme="dark"] .border-sky-100, html[data-theme="dark"] .border-orange-100, html[data-theme="dark"] .border-indigo-100 { border-color: transparent !important; }
/* pemisah baris dalam daftar: sangat halus, bukan garis terang */
html[data-theme="dark"] .divide-slate-50 > * + *, html[data-theme="dark"] .divide-slate-100 > * + *,
html[data-theme="dark"] .border-b.border-slate-100, html[data-theme="dark"] .border-t.border-slate-100,
html[data-theme="dark"] .border-b.border-slate-50, html[data-theme="dark"] .border-t.border-slate-50,
html[data-theme="dark"] .border-b.border-slate-200, html[data-theme="dark"] .border-t.border-slate-200 { border-color: var(--dk-sep) !important; }
/* kartu terpilih / hover emas tetap terlihat */
html[data-theme="dark"] .hover\:border-\[\#d4af37\]:hover, html[data-theme="dark"] .focus\:border-\[\#d4af37\]:focus, html[data-theme="dark"] .border-\[\#d4af37\] { border-color: #d4af37 !important; }
html[data-theme="dark"] .hover\:border-red-500:hover { border-color: #ef4444 !important; }
/* bayangan: tanpa garis kilap putih */
html[data-theme="dark"] .shadow-sm, html[data-theme="dark"] .shadow, html[data-theme="dark"] .shadow-md, html[data-theme="dark"] .shadow-lg, html[data-theme="dark"] .shadow-xl { box-shadow: 0 6px 18px rgba(0, 0, 0, .28) !important; }
html[data-theme="dark"] .sidebar { border-right: 0 !important; }
html[data-theme="dark"] .bottom-nav { border-top: 0 !important; }
html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
html[data-theme="dark"] select, html[data-theme="dark"] textarea { border-color: transparent; }
html[data-theme="dark"] table.dataTable, html[data-theme="dark"] table.dataTable thead th, html[data-theme="dark"] table.dataTable tbody td { border-color: var(--dk-sep) !important; }
/* beranda: kartu statistik */
html[data-theme="dark"] .stat-card { border-color: transparent !important; }
html[data-theme="dark"] .stat-card.active-filter { border-color: #d4af37 !important; background-color: #1d2536 !important; }
html[data-theme="dark"] #bd-stats.is-pinned { border-bottom-color: transparent !important; }
/* tombol tutup halaman, pil, dialog, dropdown */
html[data-theme="dark"] .page-close, html[data-theme="dark"] .live-pill, html[data-theme="dark"] .lp-opt, html[data-theme="dark"] .lp-now,
html[data-theme="dark"] .ssel-pop, html[data-theme="dark"] .ssel-pop.is-glass, html[data-theme="dark"] .ssel-search input,
html[data-theme="dark"] .ssel-pop.is-glass .ssel-search input, html[data-theme="dark"] .status-tile.is-mark,
html[data-theme="dark"] .lst-chip, html[data-theme="dark"] .geo-chip.is-in, html[data-theme="dark"] .geo-chip.is-out,
html[data-theme="dark"] .geo-input, html[data-theme="dark"] .poi-field, html[data-theme="dark"] .geo-btn, html[data-theme="dark"] .geo-map-btn,
html[data-theme="dark"] .poi-radius-chips button, html[data-theme="dark"] .lst-act, html[data-theme="dark"] .unit-act { border-color: transparent !important; }
html[data-theme="dark"] .unit-act:hover { border-color: rgba(212, 175, 55, .85) !important; color: #d4af37 !important; } /* tombol aksi kartu unit: hover bingkai emas (standar) */
html[data-theme="dark"] .lst-chip.is-active { border-color: currentColor !important; }
html[data-theme="dark"] .lst-chip.is-on, html[data-theme="dark"] .fl-chip.is-on { box-shadow: inset 0 0 0 1.5px currentColor !important; }
/* panel kaca (peta, armada, navigasi, dialog): bayangan saja, tanpa inset putih & tanpa border */
html[data-theme="dark"] .mc-glass, html[data-theme="dark"] .mc-map .mc-search-box, html[data-theme="dark"] .mc-map .mc-ket-body, html[data-theme="dark"] .mc-map .mc-ket-tab,
html[data-theme="dark"] .mc-map .ol-popup, html[data-theme="dark"] .mc-info, html[data-theme="dark"] .mc-vpopup.ol-popup,
html[data-theme="dark"] .fl-chip, html[data-theme="dark"] .fl-card, html[data-theme="dark"] .fl-refresh, html[data-theme="dark"] .fl-toggle,
html[data-theme="dark"] .fl-tick, html[data-theme="dark"] .fl-tick-list, html[data-theme="dark"] .fl-search,
html[data-theme="dark"] .nav-bottom-glass, html[data-theme="dark"] .nav-recenter, html[data-theme="dark"] .nav-mode, html[data-theme="dark"] .lp-dialog {
    border-color: transparent !important; box-shadow: 0 10px 28px rgba(0, 0, 0, .45) !important;
}
html[data-theme="dark"] .mc-map .mc-btn, html[data-theme="dark"] .mc-map .mc-search-btn, html[data-theme="dark"] .mc-map .layer-switcher > button,
html[data-theme="dark"] .mc-map .layer-switcher .panel { box-shadow: 0 6px 18px rgba(0, 0, 0, .35) !important; }
html[data-theme="dark"] .mc-map .mc-btn, html[data-theme="dark"] .mc-map .mc-search-btn { background-image: none !important; }
html[data-theme="dark"] .nav-bottom-glass::before, html[data-theme="dark"] .lp-dialog::before { display: none !important; }
html[data-theme="dark"] .fl-card *, html[data-theme="dark"] .fl-tick-list * { border-color: var(--dk-sep) !important; }
html[data-theme="dark"] .nav-bt-veh, html[data-theme="dark"] .nav-bt-hp { border-left-color: var(--dk-sep) !important; }
html[data-theme="dark"] .mc-map .ol-popup hr { border-color: var(--dk-sep) !important; }
/* halaman Rute: kartu info */
html[data-theme="dark"] .rt-card { background: rgba(255, 255, 255, .06) !important; box-shadow: none !important; }
html[data-theme="dark"] .rt-card-head { border-bottom-color: var(--dk-sep) !important; color: var(--dk-dim) !important; }
html[data-theme="dark"] .rt-foot { border-top-color: var(--dk-sep) !important; }
html[data-theme="dark"] .rt-foot .rt-val { color: var(--dk-dim) !important; }
/* garis status berwarna di tepi kiri kartu kendaraan tetap ada */
html[data-theme="dark"] .state-edge.is-aktif { border-left-color: #22c55e !important; }
html[data-theme="dark"] .state-edge.is-idle { border-left-color: #3b82f6 !important; }
html[data-theme="dark"] .state-edge.is-off { border-left-color: #ef4444 !important; }
/* sisa garis terang: chip terpilih ditandai latar (bukan cincin), pil refresh peta, tabel geofence */
html[data-theme="dark"] .fl-chip.is-on, html[data-theme="dark"] .lst-chip.is-on { box-shadow: 0 10px 28px rgba(0, 0, 0, .45) !important; background: rgba(51, 67, 95, .92) !important; }
html[data-theme="dark"] #fl-refresh.live-pill, html[data-theme="dark"] #poi-refresh-dock .live-pill, html[data-theme="dark"] #pb-refresh.live-pill,
html[data-theme="dark"] #rute-refresh.live-pill, html[data-theme="dark"] #nav-refresh.live-pill { box-shadow: 0 6px 18px rgba(0, 0, 0, .35) !important; border-color: transparent !important; }
html[data-theme="dark"] tr.geo-row, html[data-theme="dark"] tr.geo-row td { border-color: var(--dk-sep) !important; }
html[data-theme="dark"] .geo-ev-ic { box-shadow: none !important; }
/* ticker: tombol "+N" dan tutup */
html[data-theme="dark"] .fl-tick-more, html[data-theme="dark"] .fl-tick-x { background: rgba(255, 255, 255, .1) !important; color: var(--dk-text) !important; border-color: transparent !important; }
html[data-theme="dark"] .fl-tick-more:hover, html[data-theme="dark"] .fl-tick-x:hover { background: rgba(255, 255, 255, .18) !important; }
/* sidebar: menu menyatu dengan latar (tanpa pita per menu yang terlihat seperti garis pemisah); hover & aktif pakai sorotan halus */
html[data-theme="dark"] .sidebar .bg-slate-100 { background-color: transparent !important; }
/* (bentuk item sidebar = _css/_icons.css bagian "SIDEBAR DESKTOP — STANDAR"; di sini hanya warna, lihat akhir file) */

/* ---------- navigasi 3D: label ikon & popup di peta ---------- */
html[data-map-theme="dark"] .nav-vlabel, html[data-map-theme="dark"] .nav-glabel, html[data-map-theme="dark"] .nav-glabel.is-area { background: rgba(17, 25, 40, .9) !important; border-color: transparent !important; color: #e6ebf3 !important; }
html[data-map-theme="dark"] .nav-glabel { color: #a9c1f5 !important; }
html[data-map-theme="dark"] .nav-glabel.is-area { color: #e0bb8a !important; }
html[data-theme="dark"] .nav-pop .maplibregl-popup-content { background: linear-gradient(160deg, rgba(23, 33, 51, .9), rgba(15, 23, 42, .82)) !important; color: var(--dk-text) !important; box-shadow: 0 12px 30px rgba(0, 0, 0, .5) !important; }
html[data-theme="dark"] .nav-pop .maplibregl-popup-tip { background: rgba(17, 25, 40, .9) !important; }
html[data-theme="dark"] .nav-vp-title, html[data-theme="dark"] .nav-vp-tb, html[data-theme="dark"] .nav-pop .mc-info-title,
html[data-theme="dark"] .hpw-dirname, html[data-theme="dark"] .hpw-accv { color: var(--dk-text) !important; }
html[data-theme="dark"] .nav-vp-hr { border-top-color: var(--dk-sep) !important; }
html[data-theme="dark"] .hpw-card { background: rgba(255, 255, 255, .07) !important; }
html[data-theme="dark"] .hpw-age, html[data-theme="dark"] .hpw-deg { color: var(--dk-dim) !important; }
html[data-theme="dark"] .hpw-gauge svg > circle:first-child { fill: rgba(255, 255, 255, .06); }
html[data-theme="dark"] .hpw-gauge svg text[font-size="22"] { fill: #e6ebf3; }

/* ---------- ikon menu (navigasi bawah mobile & sidebar desktop) di mode gelap ----------
   Ikon berwarna tetap dipakai, hanya diredupkan sedikit supaya tidak "menyala" di latar gelap.
   Menu halaman yang sedang dibuka (class is-current, diatur gtMarkCurrentNav di _map.php) tampil penuh + teks emas. */
html[data-theme="dark"] .bottom-nav .nav-item img, html[data-theme="dark"] .sidebar nav a img { filter: saturate(.72) brightness(.8); opacity: .78; transition: filter .2s, opacity .2s; }
html[data-theme="dark"] .bottom-nav .nav-item.is-current img, html[data-theme="dark"] .sidebar nav a.is-current img,
html[data-theme="dark"] .bottom-nav .nav-item:active img, html[data-theme="dark"] .sidebar nav a:hover img { filter: none; opacity: 1; }
html[data-theme="dark"] .bottom-nav .nav-item.is-current, html[data-theme="dark"] .sidebar nav a.is-current { color: #d4af37 !important; }
html[data-theme="dark"] .bottom-nav .nav-item.active:not(.is-current) { color: var(--dk-dim) !important; }
/* tautan biasa tanpa class (mis. "Old Version" di login): biru terang supaya terbaca */
html[data-theme="dark"] a:not([class]), html[data-theme="dark"] a:not([class]):visited { color: #8ab4f8 !important; }
/* navigasi 3D: kartu dalam popup dasbor tanpa garis kilap; latar kontener peta gelap saat ubin belum termuat */
html[data-theme="dark"] .hpw-card { box-shadow: none !important; }
html[data-theme="dark"] .hpw-gauge svg > circle:first-child { stroke: none; }
html[data-map-theme="dark"] #maplibre-nav-3d { background: linear-gradient(180deg, #0b1220 0%, #111a2c 40%) !important; }
/* lencana status "perbaikan" di dropdown & daftar unit; tombol abu-abu */
html[data-theme="dark"] .ssel-opt[data-s="perbaikan"] .ssel-u-badge, html[data-theme="dark"] .fl-unit[data-s="perbaikan"] .fl-unit-badge,
html[data-theme="dark"] .ssel-opt[data-s="off"] .ssel-u-badge, html[data-theme="dark"] .fl-unit[data-s="off"] .fl-unit-badge { background: rgba(225, 29, 72, .2) !important; color: #fb7185 !important; }
/* dialog refresh: tombol tanpa garis kilap putih; ikon kepala panel armada; waktu di ticker */
html[data-theme="dark"] .lp-opt, html[data-theme="dark"] .lp-now, html[data-theme="dark"] .lp-save, html[data-theme="dark"] .lp-x { box-shadow: none !important; }
html[data-theme="dark"] .fl-head-ico { background: rgba(255, 255, 255, .08) !important; }
html[data-theme="dark"] .fl-tick-ago { color: #fca5a5 !important; }
/* fokus keyboard: cincin emas tipis, bukan garis putih tebal bawaan browser */
html[data-theme="dark"] button:focus-visible, html[data-theme="dark"] a:focus-visible, html[data-theme="dark"] input:focus-visible,
html[data-theme="dark"] select:focus-visible, html[data-theme="dark"] textarea:focus-visible { outline: 2px solid rgba(212, 175, 55, .7) !important; outline-offset: 1px; }
/* alamat di popup kendaraan = iframe modul lama (latar putih, teks hitam): dibalik jadi teks terang, latar putihnya dilebur ke popup */
html[data-theme="dark"] .ol-popup iframe, html[data-theme="dark"] .mc-vpopup iframe, html[data-theme="dark"] .nav-vp-addr,
html[data-theme="dark"] .rt-info-tb iframe, html[data-theme="dark"] .mc-info iframe { filter: invert(1) hue-rotate(180deg); mix-blend-mode: screen; background: transparent !important; }

/* ---------- logo di mode gelap: "GOLD" emas bergradasi lembut, "TRACK" biru terang, slogan merah lebih kalem ---------- */
html[data-theme="dark"] h1.text-\[\#EFB030\] { color: #e9c456 !important; background: linear-gradient(180deg, #f6dc8a 0%, #e2b93f 55%, #c99a22 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
html[data-theme="dark"] h1.text-\[\#EFB030\] .text-\[\#0352ff\] { color: #6aa5ff !important; -webkit-text-fill-color: #6aa5ff; }
html[data-theme="dark"] h1.text-\[\#EFB030\] + p.text-red-500 { color: #f08a8a !important; animation: none !important; opacity: .9; }

/* ---------- Playback: kontras tombol & isian di mode gelap ---------- */
/* tombol utama abu-abu (TAMPILKAN, Play) -> emas dengan teks biru-tua, supaya jelas terlihat sebagai tombol utama */
html[data-theme="dark"] .bg-\[\#909090\] { background-color: #d4af37 !important; color: #050b14 !important; box-shadow: 0 6px 16px rgba(0, 0, 0, .4) !important; }
html[data-theme="dark"] .bg-\[\#909090\].hover\:bg-slate-800:hover { background-color: #e6c65f !important; }
html[data-theme="dark"] .bg-\[\#909090\]:disabled { background-color: #3a4760 !important; color: #94a2b8 !important; }
/* isian dengan kelas "!…" (tanggal Mulai/Sampai): teks terang, latar sedikit lebih terang dari panel */
html[data-theme="dark"] .\!text-black, html[data-theme="dark"] .\!text-slate-800, html[data-theme="dark"] .\!text-slate-700 { color: var(--dk-text) !important; }
html[data-theme="dark"] .\!bg-black\/5, html[data-theme="dark"] .bg-black\/5 { background-color: rgba(255, 255, 255, .09) !important; }
html[data-theme="dark"] #pb-slider { background-color: rgba(255, 255, 255, .22) !important; }

/* ==========================================================================
   Sisa bagian terang (temuan dari HP): tarik-untuk-update, bilah tersemat, geofence,
   popup peta notifikasi, popup & lembar di halaman Lokasi
   ========================================================================== */
/* tarik untuk memperbarui (beranda, daftar unit) */
html[data-theme="dark"] #pull-indicator, html[data-theme="dark"] [id$="pull-indicator"], html[data-theme="dark"] [id^="pull-"] { background: var(--dk-page) !important; color: var(--dk-dim) !important; }
/* bilah statistik / pencarian yang menempel di atas saat digulir */
html[data-theme="dark"] #bd-stats.is-pinned::before, html[data-theme="dark"] #lst-tools.is-pinned::before, html[data-theme="dark"] .ph-bar.is-pinned::before {
    background: rgba(11, 18, 32, .94) !important; border-bottom-color: transparent !important; box-shadow: 0 6px 18px rgba(0, 0, 0, .4) !important; }
/* geofence: ikon kejadian masuk / keluar */
html[data-theme="dark"] .is-in .geo-ev-ic { background: rgba(16, 185, 129, .18) !important; color: #34d399 !important; box-shadow: none !important; }
html[data-theme="dark"] .is-out .geo-ev-ic { background: rgba(225, 29, 72, .18) !important; color: #fb7185 !important; box-shadow: none !important; }
/* popup: peta notifikasi & titik lokasi */
html[data-theme="dark"] .notif-popup-box, html[data-theme="dark"] .poi-popup-box, html[data-theme="dark"] .geo-sheet, html[data-theme="dark"] #pb-popup {
    background: linear-gradient(160deg, rgba(23, 33, 51, .92), rgba(15, 23, 42, .86)) !important; color: var(--dk-text) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .5) !important; border-color: transparent !important; }
html[data-theme="dark"] .notif-popup-arrow, html[data-theme="dark"] .poi-popup-arrow { background: rgba(17, 25, 40, .92) !important; box-shadow: none !important; }
html[data-theme="dark"] .geo-icon-btn {
    background: rgba(255, 255, 255, .1) !important; color: #e2e8f0 !important; box-shadow: none !important; }
html[data-theme="dark"] .geo-icon-btn:hover { background: rgba(255, 255, 255, .18) !important; color: #fff !important; }
html[data-theme="dark"] .notif-popup-footer, html[data-theme="dark"] .notif-popup-footer * { border-color: var(--dk-sep) !important; }
html[data-theme="dark"] .notif-popup-footer { color: var(--dk-dim) !important; }
/* halaman Lokasi: tombol, isian, lencana di popup & lembar area */
html[data-theme="dark"] .poi-icon-btn-gray, html[data-theme="dark"] .geo-btn { background: rgba(255, 255, 255, .09) !important; color: var(--dk-text) !important; }
html[data-theme="dark"] .poi-icon-btn-gray:hover, html[data-theme="dark"] .geo-btn:hover { background: rgba(255, 255, 255, .16) !important; }
html[data-theme="dark"] .poi-icon-btn-blue { background: rgba(59, 130, 246, .2) !important; color: #7fb0ff !important; }
html[data-theme="dark"] .poi-icon-btn-red, html[data-theme="dark"] .geo-btn-danger { background: rgba(225, 29, 72, .2) !important; color: #fb7185 !important; }
html[data-theme="dark"] .poi-icon-btn-dark, html[data-theme="dark"] .geo-btn-primary { background: #d4af37 !important; color: #050b14 !important; box-shadow: 0 4px 12px rgba(0, 0, 0, .4) !important; }
html[data-theme="dark"] .poi-icon-btn-dark:hover, html[data-theme="dark"] .geo-btn-primary:hover { background: #e6c65f !important; }
html[data-theme="dark"] .geo-btn.is-on { background: #f43f5e !important; color: #fff !important; }
html[data-theme="dark"] .poi-field, html[data-theme="dark"] .geo-input { background: rgba(255, 255, 255, .08) !important; color: var(--dk-text) !important; border-color: transparent !important; border-radius: 12px; }
html[data-theme="dark"] .poi-field:focus, html[data-theme="dark"] .geo-input:focus { outline: none !important; box-shadow: 0 0 0 2px rgba(212, 175, 55, .55) !important; }
html[data-theme="dark"] .poi-radius-chips button { background: rgba(255, 255, 255, .09) !important; }
html[data-theme="dark"] .poi-radius-chips button.is-on { background: #d4af37 !important; color: #050b14 !important; }
html[data-theme="dark"] .geo-badge { background: rgba(239, 68, 68, .2) !important; color: #fca5a5 !important; }
html[data-theme="dark"] .geo-badge-amber { background: rgba(245, 158, 11, .2) !important; color: #fcd34d !important; }
html[data-theme="dark"] .geo-count { background: rgba(255, 255, 255, .1) !important; color: var(--dk-text) !important; }
html[data-theme="dark"] .geo-hint, html[data-theme="dark"] .geo-label, html[data-theme="dark"] .place-sub { color: var(--dk-dim) !important; }
html[data-theme="dark"] .geo-meta { color: #fcd34d !important; }
html[data-theme="dark"] .place-item:hover, html[data-theme="dark"] .place-item.is-area:hover { background: rgba(255, 255, 255, .06) !important; }
html[data-theme="dark"] .place-item:active, html[data-theme="dark"] .place-item.is-area:active { background: rgba(255, 255, 255, .12) !important; }
html[data-theme="dark"] .place-ico { background: rgba(59, 130, 246, .18) !important; color: #7fb0ff !important; }
html[data-theme="dark"] .place-item.is-area .place-ico { background: rgba(245, 158, 11, .18) !important; color: #fcd34d !important; }
html[data-theme="dark"] #list-pull-ui { background: var(--dk-page) !important; color: var(--dk-dim) !important; }

/* ==========================================================================
   LOGIN (mode gelap): teks putih tebal, isian terisi-otomatis browser, tautan
   ========================================================================== */
html[data-theme="dark"] #login-form label { color: #fff !important; font-weight: 900; }
html[data-theme="dark"] #login-form + #old-version-link, html[data-theme="dark"] #old-version-link { color: #fff; font-weight: 700; }
html[data-theme="dark"] #old-version-link a { color: #8ab4f8 !important; }
html[data-theme="dark"] #app .text-slate-400 { color: #cbd5e1 !important; }
/* tombol tema: ikon yang tidak aktif putih & lebih tebal supaya jelas di latar gelap */
html[data-theme="dark"] .gt-theme button { color: #fff; }
html[data-theme="dark"] .gt-theme button svg { stroke-width: 2.6; }
html[data-theme="dark"] .gt-theme button.is-on { color: #050b14; }
/* Isian yang diisi otomatis oleh browser (Chrome / Opera / Edge) memakai warna bawaan browser dan tidak ikut
   berganti saat tema diganti. Warna latar dipaksa lewat bayangan-dalam, teks lewat -webkit-text-fill-color. */
html[data-theme="dark"] input:-webkit-autofill, html[data-theme="dark"] input:-webkit-autofill:hover,
html[data-theme="dark"] input:-webkit-autofill:focus, html[data-theme="dark"] input:-webkit-autofill:active,
html[data-theme="dark"] textarea:-webkit-autofill, html[data-theme="dark"] select:-webkit-autofill {
    -webkit-text-fill-color: #e6ebf3 !important; caret-color: #e6ebf3;
    -webkit-box-shadow: 0 0 0 1000px #1a2435 inset !important; box-shadow: 0 0 0 1000px #1a2435 inset !important;
    transition: background-color 99999s ease-in-out 0s;
}
html[data-theme="light"] input:-webkit-autofill, html[data-theme="light"] input:-webkit-autofill:hover,
html[data-theme="light"] input:-webkit-autofill:focus, html[data-theme="light"] input:-webkit-autofill:active {
    -webkit-text-fill-color: #0f172a !important; caret-color: #0f172a;
    -webkit-box-shadow: 0 0 0 1000px #f8fafc inset !important; box-shadow: 0 0 0 1000px #f8fafc inset !important;
}

/* ==========================================================================
   TICKER NOTIFIKASI PETA (mode gelap): teks terang, warna jenis kejadian hanya di ikon, lencana & baris waktu
   ========================================================================== */
html[data-theme="dark"] #fleet-ticker {
    --tk-1: #ef4444; --tk-bg: rgba(17, 25, 40, .86); --tk-soft: rgba(239, 68, 68, .22); --tk-txt: #e6ebf3; --tk-sub: #fca5a5;
    --tk-line: rgba(255, 255, 255, .06); --tk-shadow: rgba(0, 0, 0, .45);
}
html[data-theme="dark"] #fleet-ticker.tone-green  { --tk-1: #16a34a; --tk-soft: rgba(22, 163, 74, .24); --tk-sub: #86efac; }
html[data-theme="dark"] #fleet-ticker.tone-blue   { --tk-1: #2563eb; --tk-soft: rgba(37, 99, 235, .26); --tk-sub: #93c5fd; }
html[data-theme="dark"] #fleet-ticker.tone-orange { --tk-1: #ea580c; --tk-soft: rgba(234, 88, 12, .24); --tk-sub: #fdba74; }
html[data-theme="dark"] #fleet-ticker.tone-amber  { --tk-1: #d97706; --tk-soft: rgba(217, 119, 6, .24); --tk-sub: #fcd34d; }
html[data-theme="dark"] #fleet-ticker .fl-tick, html[data-theme="dark"] #fleet-ticker .fl-tick-list { background: var(--tk-bg) !important; color: var(--tk-txt) !important; }
html[data-theme="dark"] #fleet-ticker .fl-tick-item { color: var(--tk-txt) !important; border-bottom-color: var(--tk-line) !important; font-weight: 700; }
html[data-theme="dark"] #fleet-ticker .fl-tick-item span, html[data-theme="dark"] #fleet-ticker .fl-tick-ago { color: var(--tk-sub) !important; }
html[data-theme="dark"] #fleet-ticker .fl-tick-item:hover { background: rgba(255, 255, 255, .07) !important; }
html[data-theme="dark"] #fleet-ticker .fl-tick-tag { background: var(--tk-soft) !important; color: var(--tk-sub) !important; }
html[data-theme="dark"] #fleet-ticker .fl-tick-head { color: #94a2b8 !important; }
html[data-theme="dark"] #fleet-ticker .fl-tick-more, html[data-theme="dark"] #fleet-ticker .fl-tick-x { background: rgba(255, 255, 255, .12) !important; color: #fff !important; }

/* ---------- ticker gabungan & lonceng (mode gelap) ---------- */
html[data-theme="dark"] #fleet-ticker .fl-tick-item.tk-red    { --rsub: #fca5a5; }
html[data-theme="dark"] #fleet-ticker .fl-tick-item.tk-orange { --rsub: #fdba74; }
html[data-theme="dark"] #fleet-ticker .fl-tick-item.tk-amber  { --rsub: #fcd34d; }
html[data-theme="dark"] #fleet-ticker .fl-tick-item.tk-blue   { --rsub: #93c5fd; }
html[data-theme="dark"] #fleet-ticker .fl-tick-item.tk-green  { --rsub: #86efac; }
html[data-theme="dark"] #fleet-ticker .fl-tick-item.has-ico span { color: var(--rsub) !important; }
html[data-theme="dark"] .fl-tick-f { background: rgba(255, 255, 255, .1); color: #e6ebf3; }
html[data-theme="dark"] .fl-tick-f.tk-red    { background: rgba(239, 68, 68, .22); color: #fca5a5; }
html[data-theme="dark"] .fl-tick-f.tk-orange { background: rgba(234, 88, 12, .24); color: #fdba74; }
html[data-theme="dark"] .fl-tick-f.tk-amber  { background: rgba(217, 119, 6, .24); color: #fcd34d; }
html[data-theme="dark"] .fl-tick-f.tk-blue   { background: rgba(37, 99, 235, .26); color: #93c5fd; }
html[data-theme="dark"] .fl-tick-f.is-on { background: #d4af37; color: #050b14; }
html[data-theme="dark"] #fleet-ui .fl-tick-f { background: rgba(255, 255, 255, .1); color: #e6ebf3; }
html[data-theme="dark"] #fleet-ui .fl-tick-f.tk-red    { background: rgba(239, 68, 68, .22); color: #fca5a5; }
html[data-theme="dark"] #fleet-ui .fl-tick-f.tk-orange { background: rgba(234, 88, 12, .24); color: #fdba74; }
html[data-theme="dark"] #fleet-ui .fl-tick-f.tk-amber  { background: rgba(217, 119, 6, .24); color: #fcd34d; }
html[data-theme="dark"] #fleet-ui .fl-tick-f.tk-blue   { background: rgba(37, 99, 235, .26); color: #93c5fd; }
html[data-theme="dark"] #fleet-ui .fl-tick-f.is-on     { background: #d4af37; color: #050b14; }
/* skeleton kartu unit (_lib/_unit_skeleton_inc.php): batang abu terang transparan di mode gelap */
html[data-theme="dark"] .sk-bar { background: rgba(255, 255, 255, .08) !important; }
html[data-theme="dark"] .sk-card.state-edge { border-left-color: rgba(255, 255, 255, .08) !important; }
/* skeleton potret otomatis & peta (PgSkel): batang & grid gelap */
html[data-theme="dark"] .sk-auto .sk-tx { background: rgba(255, 255, 255, .08) !important; }
html[data-theme="dark"] .sk-auto .ic { background-color: rgba(255, 255, 255, .14) !important; }
html[data-theme="dark"] .sk-map, html[data-theme="dark"] .sk-auto .mc-map, html[data-theme="dark"] .sk-auto .ol-viewport {
    background-color: #111827 !important;
    background-image: linear-gradient(to right, rgba(148, 163, 184, .09) 1px, transparent 1px), linear-gradient(to bottom, rgba(148, 163, 184, .09) 1px, transparent 1px) !important;
}
/* garis antar-kartu tabel HP (table.tcard < 768px) & border berwarna level -200: jangan terang di mode gelap
   (dulu baris pertama Overspeed bergaris putih #f1f5f9, kartu "≥ 161 km/j" berbingkai merah muda terang) */
@media (max-width: 767px) { html[data-theme="dark"] table.tcard tbody tr { border-bottom-color: var(--dk-sep) !important; } }
html[data-theme="dark"] .border-rose-200, html[data-theme="dark"] .border-red-200 { border-color: rgba(244, 63, 94, .28) !important; }
html[data-theme="dark"] .border-amber-200, html[data-theme="dark"] .border-orange-200 { border-color: rgba(245, 158, 11, .28) !important; }
html[data-theme="dark"] .border-emerald-200, html[data-theme="dark"] .border-green-200 { border-color: rgba(16, 185, 129, .28) !important; }
html[data-theme="dark"] .border-blue-200, html[data-theme="dark"] .border-sky-200 { border-color: rgba(59, 130, 246, .28) !important; }
/* zoom foto (.img-zoom, _css/_icons.css): latar gelap di mode gelap */
html[data-theme="dark"] .img-zoom { background: rgba(2, 6, 23, .88) !important; }
html[data-theme="dark"] .img-zoom-img { box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
html[data-theme="dark"] .img-zoom-cap { color: #f8fafc !important; }
/* tabel standar .tcard: sorotan baris = bingkai outline di tr (_css/_icons.css), sel TIDAK diberi latar sendiri (cegah garis vertikal antar sel) */
html[data-theme="dark"] table.tcard tbody tr:hover td { background-color: transparent !important; box-shadow: none !important; }

/* ===== JARING PENGAMAN WARNA (standar global, 2026-11-28): di mode gelap TIDAK BOLEH ada latar terang. =====
   Latar lembut berwarna Tailwind bg-{warna}-50/100/200 (statis, /NN, hover:, group-hover:, focus:) -> rona warna transparan di atas latar gelap.
   Pencocokan kelas TEPAT (spasi / "/" / akhir atribut) supaya -50 tidak menangkap -500. Hover pekat -500 (mis. kotak ikon Feature) dipulihkan.
   Halaman baru tidak perlu aturan sendiri. Kasus awal: hasil Pencarian Global Feature hover:bg-amber-50 jadi krem terang. */
html[data-theme="dark"] .bg-red-50, html[data-theme="dark"] [class*=" bg-red-50/"], html[data-theme="dark"] [class^="bg-red-50/"] { background-color: rgba(239,68,68, .13) !important; }
html[data-theme="dark"] .bg-red-100, html[data-theme="dark"] .bg-red-200, html[data-theme="dark"] [class*=" bg-red-100/"], html[data-theme="dark"] [class*=" bg-red-200/"] { background-color: rgba(239,68,68, .22) !important; }
html[data-theme="dark"] [class*="hover:bg-red-50 "]:hover, html[data-theme="dark"] [class*="hover:bg-red-50/"]:hover, html[data-theme="dark"] [class$="hover:bg-red-50"]:hover, html[data-theme="dark"] [class*="hover:bg-red-100 "]:hover, html[data-theme="dark"] [class*="hover:bg-red-100/"]:hover, html[data-theme="dark"] [class$="hover:bg-red-100"]:hover, html[data-theme="dark"] [class*="hover:bg-red-200 "]:hover, html[data-theme="dark"] [class*="hover:bg-red-200/"]:hover, html[data-theme="dark"] [class$="hover:bg-red-200"]:hover { background-color: rgba(239,68,68, .2) !important; }
html[data-theme="dark"] .group:hover [class*="group-hover:bg-red-50 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-red-50/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-red-50"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-red-100 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-red-100/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-red-100"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-red-200 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-red-200/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-red-200"] { background-color: rgba(239,68,68, .2) !important; }
html[data-theme="dark"] [class*="hover:bg-red-500 "]:hover, html[data-theme="dark"] [class*="hover:bg-red-500/"]:hover, html[data-theme="dark"] [class$="hover:bg-red-500"]:hover, html[data-theme="dark"] .group:hover [class*="group-hover:bg-red-500 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-red-500/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-red-500"] { background-color: rgb(239,68,68) !important; }
html[data-theme="dark"] .bg-orange-50, html[data-theme="dark"] [class*=" bg-orange-50/"], html[data-theme="dark"] [class^="bg-orange-50/"] { background-color: rgba(249,115,22, .13) !important; }
html[data-theme="dark"] .bg-orange-100, html[data-theme="dark"] .bg-orange-200, html[data-theme="dark"] [class*=" bg-orange-100/"], html[data-theme="dark"] [class*=" bg-orange-200/"] { background-color: rgba(249,115,22, .22) !important; }
html[data-theme="dark"] [class*="hover:bg-orange-50 "]:hover, html[data-theme="dark"] [class*="hover:bg-orange-50/"]:hover, html[data-theme="dark"] [class$="hover:bg-orange-50"]:hover, html[data-theme="dark"] [class*="hover:bg-orange-100 "]:hover, html[data-theme="dark"] [class*="hover:bg-orange-100/"]:hover, html[data-theme="dark"] [class$="hover:bg-orange-100"]:hover, html[data-theme="dark"] [class*="hover:bg-orange-200 "]:hover, html[data-theme="dark"] [class*="hover:bg-orange-200/"]:hover, html[data-theme="dark"] [class$="hover:bg-orange-200"]:hover { background-color: rgba(249,115,22, .2) !important; }
html[data-theme="dark"] .group:hover [class*="group-hover:bg-orange-50 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-orange-50/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-orange-50"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-orange-100 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-orange-100/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-orange-100"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-orange-200 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-orange-200/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-orange-200"] { background-color: rgba(249,115,22, .2) !important; }
html[data-theme="dark"] [class*="hover:bg-orange-500 "]:hover, html[data-theme="dark"] [class*="hover:bg-orange-500/"]:hover, html[data-theme="dark"] [class$="hover:bg-orange-500"]:hover, html[data-theme="dark"] .group:hover [class*="group-hover:bg-orange-500 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-orange-500/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-orange-500"] { background-color: rgb(249,115,22) !important; }
html[data-theme="dark"] .bg-amber-50, html[data-theme="dark"] [class*=" bg-amber-50/"], html[data-theme="dark"] [class^="bg-amber-50/"] { background-color: rgba(245,158,11, .13) !important; }
html[data-theme="dark"] .bg-amber-100, html[data-theme="dark"] .bg-amber-200, html[data-theme="dark"] [class*=" bg-amber-100/"], html[data-theme="dark"] [class*=" bg-amber-200/"] { background-color: rgba(245,158,11, .22) !important; }
html[data-theme="dark"] [class*="hover:bg-amber-50 "]:hover, html[data-theme="dark"] [class*="hover:bg-amber-50/"]:hover, html[data-theme="dark"] [class$="hover:bg-amber-50"]:hover, html[data-theme="dark"] [class*="hover:bg-amber-100 "]:hover, html[data-theme="dark"] [class*="hover:bg-amber-100/"]:hover, html[data-theme="dark"] [class$="hover:bg-amber-100"]:hover, html[data-theme="dark"] [class*="hover:bg-amber-200 "]:hover, html[data-theme="dark"] [class*="hover:bg-amber-200/"]:hover, html[data-theme="dark"] [class$="hover:bg-amber-200"]:hover { background-color: rgba(245,158,11, .2) !important; }
html[data-theme="dark"] .group:hover [class*="group-hover:bg-amber-50 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-amber-50/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-amber-50"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-amber-100 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-amber-100/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-amber-100"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-amber-200 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-amber-200/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-amber-200"] { background-color: rgba(245,158,11, .2) !important; }
html[data-theme="dark"] [class*="hover:bg-amber-500 "]:hover, html[data-theme="dark"] [class*="hover:bg-amber-500/"]:hover, html[data-theme="dark"] [class$="hover:bg-amber-500"]:hover, html[data-theme="dark"] .group:hover [class*="group-hover:bg-amber-500 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-amber-500/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-amber-500"] { background-color: rgb(245,158,11) !important; }
html[data-theme="dark"] .bg-yellow-50, html[data-theme="dark"] [class*=" bg-yellow-50/"], html[data-theme="dark"] [class^="bg-yellow-50/"] { background-color: rgba(234,179,8, .13) !important; }
html[data-theme="dark"] .bg-yellow-100, html[data-theme="dark"] .bg-yellow-200, html[data-theme="dark"] [class*=" bg-yellow-100/"], html[data-theme="dark"] [class*=" bg-yellow-200/"] { background-color: rgba(234,179,8, .22) !important; }
html[data-theme="dark"] [class*="hover:bg-yellow-50 "]:hover, html[data-theme="dark"] [class*="hover:bg-yellow-50/"]:hover, html[data-theme="dark"] [class$="hover:bg-yellow-50"]:hover, html[data-theme="dark"] [class*="hover:bg-yellow-100 "]:hover, html[data-theme="dark"] [class*="hover:bg-yellow-100/"]:hover, html[data-theme="dark"] [class$="hover:bg-yellow-100"]:hover, html[data-theme="dark"] [class*="hover:bg-yellow-200 "]:hover, html[data-theme="dark"] [class*="hover:bg-yellow-200/"]:hover, html[data-theme="dark"] [class$="hover:bg-yellow-200"]:hover { background-color: rgba(234,179,8, .2) !important; }
html[data-theme="dark"] .group:hover [class*="group-hover:bg-yellow-50 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-yellow-50/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-yellow-50"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-yellow-100 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-yellow-100/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-yellow-100"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-yellow-200 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-yellow-200/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-yellow-200"] { background-color: rgba(234,179,8, .2) !important; }
html[data-theme="dark"] [class*="hover:bg-yellow-500 "]:hover, html[data-theme="dark"] [class*="hover:bg-yellow-500/"]:hover, html[data-theme="dark"] [class$="hover:bg-yellow-500"]:hover, html[data-theme="dark"] .group:hover [class*="group-hover:bg-yellow-500 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-yellow-500/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-yellow-500"] { background-color: rgb(234,179,8) !important; }
html[data-theme="dark"] .bg-lime-50, html[data-theme="dark"] [class*=" bg-lime-50/"], html[data-theme="dark"] [class^="bg-lime-50/"] { background-color: rgba(132,204,22, .13) !important; }
html[data-theme="dark"] .bg-lime-100, html[data-theme="dark"] .bg-lime-200, html[data-theme="dark"] [class*=" bg-lime-100/"], html[data-theme="dark"] [class*=" bg-lime-200/"] { background-color: rgba(132,204,22, .22) !important; }
html[data-theme="dark"] [class*="hover:bg-lime-50 "]:hover, html[data-theme="dark"] [class*="hover:bg-lime-50/"]:hover, html[data-theme="dark"] [class$="hover:bg-lime-50"]:hover, html[data-theme="dark"] [class*="hover:bg-lime-100 "]:hover, html[data-theme="dark"] [class*="hover:bg-lime-100/"]:hover, html[data-theme="dark"] [class$="hover:bg-lime-100"]:hover, html[data-theme="dark"] [class*="hover:bg-lime-200 "]:hover, html[data-theme="dark"] [class*="hover:bg-lime-200/"]:hover, html[data-theme="dark"] [class$="hover:bg-lime-200"]:hover { background-color: rgba(132,204,22, .2) !important; }
html[data-theme="dark"] .group:hover [class*="group-hover:bg-lime-50 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-lime-50/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-lime-50"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-lime-100 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-lime-100/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-lime-100"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-lime-200 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-lime-200/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-lime-200"] { background-color: rgba(132,204,22, .2) !important; }
html[data-theme="dark"] [class*="hover:bg-lime-500 "]:hover, html[data-theme="dark"] [class*="hover:bg-lime-500/"]:hover, html[data-theme="dark"] [class$="hover:bg-lime-500"]:hover, html[data-theme="dark"] .group:hover [class*="group-hover:bg-lime-500 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-lime-500/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-lime-500"] { background-color: rgb(132,204,22) !important; }
html[data-theme="dark"] .bg-green-50, html[data-theme="dark"] [class*=" bg-green-50/"], html[data-theme="dark"] [class^="bg-green-50/"] { background-color: rgba(34,197,94, .13) !important; }
html[data-theme="dark"] .bg-green-100, html[data-theme="dark"] .bg-green-200, html[data-theme="dark"] [class*=" bg-green-100/"], html[data-theme="dark"] [class*=" bg-green-200/"] { background-color: rgba(34,197,94, .22) !important; }
html[data-theme="dark"] [class*="hover:bg-green-50 "]:hover, html[data-theme="dark"] [class*="hover:bg-green-50/"]:hover, html[data-theme="dark"] [class$="hover:bg-green-50"]:hover, html[data-theme="dark"] [class*="hover:bg-green-100 "]:hover, html[data-theme="dark"] [class*="hover:bg-green-100/"]:hover, html[data-theme="dark"] [class$="hover:bg-green-100"]:hover, html[data-theme="dark"] [class*="hover:bg-green-200 "]:hover, html[data-theme="dark"] [class*="hover:bg-green-200/"]:hover, html[data-theme="dark"] [class$="hover:bg-green-200"]:hover { background-color: rgba(34,197,94, .2) !important; }
html[data-theme="dark"] .group:hover [class*="group-hover:bg-green-50 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-green-50/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-green-50"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-green-100 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-green-100/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-green-100"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-green-200 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-green-200/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-green-200"] { background-color: rgba(34,197,94, .2) !important; }
html[data-theme="dark"] [class*="hover:bg-green-500 "]:hover, html[data-theme="dark"] [class*="hover:bg-green-500/"]:hover, html[data-theme="dark"] [class$="hover:bg-green-500"]:hover, html[data-theme="dark"] .group:hover [class*="group-hover:bg-green-500 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-green-500/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-green-500"] { background-color: rgb(34,197,94) !important; }
html[data-theme="dark"] .bg-emerald-50, html[data-theme="dark"] [class*=" bg-emerald-50/"], html[data-theme="dark"] [class^="bg-emerald-50/"] { background-color: rgba(16,185,129, .13) !important; }
html[data-theme="dark"] .bg-emerald-100, html[data-theme="dark"] .bg-emerald-200, html[data-theme="dark"] [class*=" bg-emerald-100/"], html[data-theme="dark"] [class*=" bg-emerald-200/"] { background-color: rgba(16,185,129, .22) !important; }
html[data-theme="dark"] [class*="hover:bg-emerald-50 "]:hover, html[data-theme="dark"] [class*="hover:bg-emerald-50/"]:hover, html[data-theme="dark"] [class$="hover:bg-emerald-50"]:hover, html[data-theme="dark"] [class*="hover:bg-emerald-100 "]:hover, html[data-theme="dark"] [class*="hover:bg-emerald-100/"]:hover, html[data-theme="dark"] [class$="hover:bg-emerald-100"]:hover, html[data-theme="dark"] [class*="hover:bg-emerald-200 "]:hover, html[data-theme="dark"] [class*="hover:bg-emerald-200/"]:hover, html[data-theme="dark"] [class$="hover:bg-emerald-200"]:hover { background-color: rgba(16,185,129, .2) !important; }
html[data-theme="dark"] .group:hover [class*="group-hover:bg-emerald-50 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-emerald-50/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-emerald-50"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-emerald-100 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-emerald-100/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-emerald-100"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-emerald-200 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-emerald-200/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-emerald-200"] { background-color: rgba(16,185,129, .2) !important; }
html[data-theme="dark"] [class*="hover:bg-emerald-500 "]:hover, html[data-theme="dark"] [class*="hover:bg-emerald-500/"]:hover, html[data-theme="dark"] [class$="hover:bg-emerald-500"]:hover, html[data-theme="dark"] .group:hover [class*="group-hover:bg-emerald-500 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-emerald-500/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-emerald-500"] { background-color: rgb(16,185,129) !important; }
html[data-theme="dark"] .bg-teal-50, html[data-theme="dark"] [class*=" bg-teal-50/"], html[data-theme="dark"] [class^="bg-teal-50/"] { background-color: rgba(20,184,166, .13) !important; }
html[data-theme="dark"] .bg-teal-100, html[data-theme="dark"] .bg-teal-200, html[data-theme="dark"] [class*=" bg-teal-100/"], html[data-theme="dark"] [class*=" bg-teal-200/"] { background-color: rgba(20,184,166, .22) !important; }
html[data-theme="dark"] [class*="hover:bg-teal-50 "]:hover, html[data-theme="dark"] [class*="hover:bg-teal-50/"]:hover, html[data-theme="dark"] [class$="hover:bg-teal-50"]:hover, html[data-theme="dark"] [class*="hover:bg-teal-100 "]:hover, html[data-theme="dark"] [class*="hover:bg-teal-100/"]:hover, html[data-theme="dark"] [class$="hover:bg-teal-100"]:hover, html[data-theme="dark"] [class*="hover:bg-teal-200 "]:hover, html[data-theme="dark"] [class*="hover:bg-teal-200/"]:hover, html[data-theme="dark"] [class$="hover:bg-teal-200"]:hover { background-color: rgba(20,184,166, .2) !important; }
html[data-theme="dark"] .group:hover [class*="group-hover:bg-teal-50 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-teal-50/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-teal-50"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-teal-100 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-teal-100/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-teal-100"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-teal-200 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-teal-200/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-teal-200"] { background-color: rgba(20,184,166, .2) !important; }
html[data-theme="dark"] [class*="hover:bg-teal-500 "]:hover, html[data-theme="dark"] [class*="hover:bg-teal-500/"]:hover, html[data-theme="dark"] [class$="hover:bg-teal-500"]:hover, html[data-theme="dark"] .group:hover [class*="group-hover:bg-teal-500 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-teal-500/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-teal-500"] { background-color: rgb(20,184,166) !important; }
html[data-theme="dark"] .bg-cyan-50, html[data-theme="dark"] [class*=" bg-cyan-50/"], html[data-theme="dark"] [class^="bg-cyan-50/"] { background-color: rgba(6,182,212, .13) !important; }
html[data-theme="dark"] .bg-cyan-100, html[data-theme="dark"] .bg-cyan-200, html[data-theme="dark"] [class*=" bg-cyan-100/"], html[data-theme="dark"] [class*=" bg-cyan-200/"] { background-color: rgba(6,182,212, .22) !important; }
html[data-theme="dark"] [class*="hover:bg-cyan-50 "]:hover, html[data-theme="dark"] [class*="hover:bg-cyan-50/"]:hover, html[data-theme="dark"] [class$="hover:bg-cyan-50"]:hover, html[data-theme="dark"] [class*="hover:bg-cyan-100 "]:hover, html[data-theme="dark"] [class*="hover:bg-cyan-100/"]:hover, html[data-theme="dark"] [class$="hover:bg-cyan-100"]:hover, html[data-theme="dark"] [class*="hover:bg-cyan-200 "]:hover, html[data-theme="dark"] [class*="hover:bg-cyan-200/"]:hover, html[data-theme="dark"] [class$="hover:bg-cyan-200"]:hover { background-color: rgba(6,182,212, .2) !important; }
html[data-theme="dark"] .group:hover [class*="group-hover:bg-cyan-50 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-cyan-50/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-cyan-50"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-cyan-100 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-cyan-100/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-cyan-100"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-cyan-200 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-cyan-200/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-cyan-200"] { background-color: rgba(6,182,212, .2) !important; }
html[data-theme="dark"] [class*="hover:bg-cyan-500 "]:hover, html[data-theme="dark"] [class*="hover:bg-cyan-500/"]:hover, html[data-theme="dark"] [class$="hover:bg-cyan-500"]:hover, html[data-theme="dark"] .group:hover [class*="group-hover:bg-cyan-500 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-cyan-500/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-cyan-500"] { background-color: rgb(6,182,212) !important; }
html[data-theme="dark"] .bg-sky-50, html[data-theme="dark"] [class*=" bg-sky-50/"], html[data-theme="dark"] [class^="bg-sky-50/"] { background-color: rgba(14,165,233, .13) !important; }
html[data-theme="dark"] .bg-sky-100, html[data-theme="dark"] .bg-sky-200, html[data-theme="dark"] [class*=" bg-sky-100/"], html[data-theme="dark"] [class*=" bg-sky-200/"] { background-color: rgba(14,165,233, .22) !important; }
html[data-theme="dark"] [class*="hover:bg-sky-50 "]:hover, html[data-theme="dark"] [class*="hover:bg-sky-50/"]:hover, html[data-theme="dark"] [class$="hover:bg-sky-50"]:hover, html[data-theme="dark"] [class*="hover:bg-sky-100 "]:hover, html[data-theme="dark"] [class*="hover:bg-sky-100/"]:hover, html[data-theme="dark"] [class$="hover:bg-sky-100"]:hover, html[data-theme="dark"] [class*="hover:bg-sky-200 "]:hover, html[data-theme="dark"] [class*="hover:bg-sky-200/"]:hover, html[data-theme="dark"] [class$="hover:bg-sky-200"]:hover { background-color: rgba(14,165,233, .2) !important; }
html[data-theme="dark"] .group:hover [class*="group-hover:bg-sky-50 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-sky-50/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-sky-50"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-sky-100 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-sky-100/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-sky-100"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-sky-200 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-sky-200/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-sky-200"] { background-color: rgba(14,165,233, .2) !important; }
html[data-theme="dark"] [class*="hover:bg-sky-500 "]:hover, html[data-theme="dark"] [class*="hover:bg-sky-500/"]:hover, html[data-theme="dark"] [class$="hover:bg-sky-500"]:hover, html[data-theme="dark"] .group:hover [class*="group-hover:bg-sky-500 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-sky-500/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-sky-500"] { background-color: rgb(14,165,233) !important; }
html[data-theme="dark"] .bg-blue-50, html[data-theme="dark"] [class*=" bg-blue-50/"], html[data-theme="dark"] [class^="bg-blue-50/"] { background-color: rgba(59,130,246, .13) !important; }
html[data-theme="dark"] .bg-blue-100, html[data-theme="dark"] .bg-blue-200, html[data-theme="dark"] [class*=" bg-blue-100/"], html[data-theme="dark"] [class*=" bg-blue-200/"] { background-color: rgba(59,130,246, .22) !important; }
html[data-theme="dark"] [class*="hover:bg-blue-50 "]:hover, html[data-theme="dark"] [class*="hover:bg-blue-50/"]:hover, html[data-theme="dark"] [class$="hover:bg-blue-50"]:hover, html[data-theme="dark"] [class*="hover:bg-blue-100 "]:hover, html[data-theme="dark"] [class*="hover:bg-blue-100/"]:hover, html[data-theme="dark"] [class$="hover:bg-blue-100"]:hover, html[data-theme="dark"] [class*="hover:bg-blue-200 "]:hover, html[data-theme="dark"] [class*="hover:bg-blue-200/"]:hover, html[data-theme="dark"] [class$="hover:bg-blue-200"]:hover { background-color: rgba(59,130,246, .2) !important; }
html[data-theme="dark"] .group:hover [class*="group-hover:bg-blue-50 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-blue-50/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-blue-50"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-blue-100 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-blue-100/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-blue-100"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-blue-200 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-blue-200/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-blue-200"] { background-color: rgba(59,130,246, .2) !important; }
html[data-theme="dark"] [class*="hover:bg-blue-500 "]:hover, html[data-theme="dark"] [class*="hover:bg-blue-500/"]:hover, html[data-theme="dark"] [class$="hover:bg-blue-500"]:hover, html[data-theme="dark"] .group:hover [class*="group-hover:bg-blue-500 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-blue-500/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-blue-500"] { background-color: rgb(59,130,246) !important; }
html[data-theme="dark"] .bg-indigo-50, html[data-theme="dark"] [class*=" bg-indigo-50/"], html[data-theme="dark"] [class^="bg-indigo-50/"] { background-color: rgba(99,102,241, .13) !important; }
html[data-theme="dark"] .bg-indigo-100, html[data-theme="dark"] .bg-indigo-200, html[data-theme="dark"] [class*=" bg-indigo-100/"], html[data-theme="dark"] [class*=" bg-indigo-200/"] { background-color: rgba(99,102,241, .22) !important; }
html[data-theme="dark"] [class*="hover:bg-indigo-50 "]:hover, html[data-theme="dark"] [class*="hover:bg-indigo-50/"]:hover, html[data-theme="dark"] [class$="hover:bg-indigo-50"]:hover, html[data-theme="dark"] [class*="hover:bg-indigo-100 "]:hover, html[data-theme="dark"] [class*="hover:bg-indigo-100/"]:hover, html[data-theme="dark"] [class$="hover:bg-indigo-100"]:hover, html[data-theme="dark"] [class*="hover:bg-indigo-200 "]:hover, html[data-theme="dark"] [class*="hover:bg-indigo-200/"]:hover, html[data-theme="dark"] [class$="hover:bg-indigo-200"]:hover { background-color: rgba(99,102,241, .2) !important; }
html[data-theme="dark"] .group:hover [class*="group-hover:bg-indigo-50 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-indigo-50/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-indigo-50"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-indigo-100 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-indigo-100/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-indigo-100"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-indigo-200 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-indigo-200/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-indigo-200"] { background-color: rgba(99,102,241, .2) !important; }
html[data-theme="dark"] [class*="hover:bg-indigo-500 "]:hover, html[data-theme="dark"] [class*="hover:bg-indigo-500/"]:hover, html[data-theme="dark"] [class$="hover:bg-indigo-500"]:hover, html[data-theme="dark"] .group:hover [class*="group-hover:bg-indigo-500 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-indigo-500/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-indigo-500"] { background-color: rgb(99,102,241) !important; }
html[data-theme="dark"] .bg-violet-50, html[data-theme="dark"] [class*=" bg-violet-50/"], html[data-theme="dark"] [class^="bg-violet-50/"] { background-color: rgba(139,92,246, .13) !important; }
html[data-theme="dark"] .bg-violet-100, html[data-theme="dark"] .bg-violet-200, html[data-theme="dark"] [class*=" bg-violet-100/"], html[data-theme="dark"] [class*=" bg-violet-200/"] { background-color: rgba(139,92,246, .22) !important; }
html[data-theme="dark"] [class*="hover:bg-violet-50 "]:hover, html[data-theme="dark"] [class*="hover:bg-violet-50/"]:hover, html[data-theme="dark"] [class$="hover:bg-violet-50"]:hover, html[data-theme="dark"] [class*="hover:bg-violet-100 "]:hover, html[data-theme="dark"] [class*="hover:bg-violet-100/"]:hover, html[data-theme="dark"] [class$="hover:bg-violet-100"]:hover, html[data-theme="dark"] [class*="hover:bg-violet-200 "]:hover, html[data-theme="dark"] [class*="hover:bg-violet-200/"]:hover, html[data-theme="dark"] [class$="hover:bg-violet-200"]:hover { background-color: rgba(139,92,246, .2) !important; }
html[data-theme="dark"] .group:hover [class*="group-hover:bg-violet-50 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-violet-50/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-violet-50"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-violet-100 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-violet-100/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-violet-100"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-violet-200 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-violet-200/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-violet-200"] { background-color: rgba(139,92,246, .2) !important; }
html[data-theme="dark"] [class*="hover:bg-violet-500 "]:hover, html[data-theme="dark"] [class*="hover:bg-violet-500/"]:hover, html[data-theme="dark"] [class$="hover:bg-violet-500"]:hover, html[data-theme="dark"] .group:hover [class*="group-hover:bg-violet-500 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-violet-500/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-violet-500"] { background-color: rgb(139,92,246) !important; }
html[data-theme="dark"] .bg-purple-50, html[data-theme="dark"] [class*=" bg-purple-50/"], html[data-theme="dark"] [class^="bg-purple-50/"] { background-color: rgba(168,85,247, .13) !important; }
html[data-theme="dark"] .bg-purple-100, html[data-theme="dark"] .bg-purple-200, html[data-theme="dark"] [class*=" bg-purple-100/"], html[data-theme="dark"] [class*=" bg-purple-200/"] { background-color: rgba(168,85,247, .22) !important; }
html[data-theme="dark"] [class*="hover:bg-purple-50 "]:hover, html[data-theme="dark"] [class*="hover:bg-purple-50/"]:hover, html[data-theme="dark"] [class$="hover:bg-purple-50"]:hover, html[data-theme="dark"] [class*="hover:bg-purple-100 "]:hover, html[data-theme="dark"] [class*="hover:bg-purple-100/"]:hover, html[data-theme="dark"] [class$="hover:bg-purple-100"]:hover, html[data-theme="dark"] [class*="hover:bg-purple-200 "]:hover, html[data-theme="dark"] [class*="hover:bg-purple-200/"]:hover, html[data-theme="dark"] [class$="hover:bg-purple-200"]:hover { background-color: rgba(168,85,247, .2) !important; }
html[data-theme="dark"] .group:hover [class*="group-hover:bg-purple-50 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-purple-50/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-purple-50"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-purple-100 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-purple-100/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-purple-100"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-purple-200 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-purple-200/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-purple-200"] { background-color: rgba(168,85,247, .2) !important; }
html[data-theme="dark"] [class*="hover:bg-purple-500 "]:hover, html[data-theme="dark"] [class*="hover:bg-purple-500/"]:hover, html[data-theme="dark"] [class$="hover:bg-purple-500"]:hover, html[data-theme="dark"] .group:hover [class*="group-hover:bg-purple-500 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-purple-500/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-purple-500"] { background-color: rgb(168,85,247) !important; }
html[data-theme="dark"] .bg-fuchsia-50, html[data-theme="dark"] [class*=" bg-fuchsia-50/"], html[data-theme="dark"] [class^="bg-fuchsia-50/"] { background-color: rgba(217,70,239, .13) !important; }
html[data-theme="dark"] .bg-fuchsia-100, html[data-theme="dark"] .bg-fuchsia-200, html[data-theme="dark"] [class*=" bg-fuchsia-100/"], html[data-theme="dark"] [class*=" bg-fuchsia-200/"] { background-color: rgba(217,70,239, .22) !important; }
html[data-theme="dark"] [class*="hover:bg-fuchsia-50 "]:hover, html[data-theme="dark"] [class*="hover:bg-fuchsia-50/"]:hover, html[data-theme="dark"] [class$="hover:bg-fuchsia-50"]:hover, html[data-theme="dark"] [class*="hover:bg-fuchsia-100 "]:hover, html[data-theme="dark"] [class*="hover:bg-fuchsia-100/"]:hover, html[data-theme="dark"] [class$="hover:bg-fuchsia-100"]:hover, html[data-theme="dark"] [class*="hover:bg-fuchsia-200 "]:hover, html[data-theme="dark"] [class*="hover:bg-fuchsia-200/"]:hover, html[data-theme="dark"] [class$="hover:bg-fuchsia-200"]:hover { background-color: rgba(217,70,239, .2) !important; }
html[data-theme="dark"] .group:hover [class*="group-hover:bg-fuchsia-50 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-fuchsia-50/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-fuchsia-50"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-fuchsia-100 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-fuchsia-100/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-fuchsia-100"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-fuchsia-200 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-fuchsia-200/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-fuchsia-200"] { background-color: rgba(217,70,239, .2) !important; }
html[data-theme="dark"] [class*="hover:bg-fuchsia-500 "]:hover, html[data-theme="dark"] [class*="hover:bg-fuchsia-500/"]:hover, html[data-theme="dark"] [class$="hover:bg-fuchsia-500"]:hover, html[data-theme="dark"] .group:hover [class*="group-hover:bg-fuchsia-500 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-fuchsia-500/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-fuchsia-500"] { background-color: rgb(217,70,239) !important; }
html[data-theme="dark"] .bg-pink-50, html[data-theme="dark"] [class*=" bg-pink-50/"], html[data-theme="dark"] [class^="bg-pink-50/"] { background-color: rgba(236,72,153, .13) !important; }
html[data-theme="dark"] .bg-pink-100, html[data-theme="dark"] .bg-pink-200, html[data-theme="dark"] [class*=" bg-pink-100/"], html[data-theme="dark"] [class*=" bg-pink-200/"] { background-color: rgba(236,72,153, .22) !important; }
html[data-theme="dark"] [class*="hover:bg-pink-50 "]:hover, html[data-theme="dark"] [class*="hover:bg-pink-50/"]:hover, html[data-theme="dark"] [class$="hover:bg-pink-50"]:hover, html[data-theme="dark"] [class*="hover:bg-pink-100 "]:hover, html[data-theme="dark"] [class*="hover:bg-pink-100/"]:hover, html[data-theme="dark"] [class$="hover:bg-pink-100"]:hover, html[data-theme="dark"] [class*="hover:bg-pink-200 "]:hover, html[data-theme="dark"] [class*="hover:bg-pink-200/"]:hover, html[data-theme="dark"] [class$="hover:bg-pink-200"]:hover { background-color: rgba(236,72,153, .2) !important; }
html[data-theme="dark"] .group:hover [class*="group-hover:bg-pink-50 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-pink-50/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-pink-50"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-pink-100 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-pink-100/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-pink-100"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-pink-200 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-pink-200/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-pink-200"] { background-color: rgba(236,72,153, .2) !important; }
html[data-theme="dark"] [class*="hover:bg-pink-500 "]:hover, html[data-theme="dark"] [class*="hover:bg-pink-500/"]:hover, html[data-theme="dark"] [class$="hover:bg-pink-500"]:hover, html[data-theme="dark"] .group:hover [class*="group-hover:bg-pink-500 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-pink-500/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-pink-500"] { background-color: rgb(236,72,153) !important; }
html[data-theme="dark"] .bg-rose-50, html[data-theme="dark"] [class*=" bg-rose-50/"], html[data-theme="dark"] [class^="bg-rose-50/"] { background-color: rgba(244,63,94, .13) !important; }
html[data-theme="dark"] .bg-rose-100, html[data-theme="dark"] .bg-rose-200, html[data-theme="dark"] [class*=" bg-rose-100/"], html[data-theme="dark"] [class*=" bg-rose-200/"] { background-color: rgba(244,63,94, .22) !important; }
html[data-theme="dark"] [class*="hover:bg-rose-50 "]:hover, html[data-theme="dark"] [class*="hover:bg-rose-50/"]:hover, html[data-theme="dark"] [class$="hover:bg-rose-50"]:hover, html[data-theme="dark"] [class*="hover:bg-rose-100 "]:hover, html[data-theme="dark"] [class*="hover:bg-rose-100/"]:hover, html[data-theme="dark"] [class$="hover:bg-rose-100"]:hover, html[data-theme="dark"] [class*="hover:bg-rose-200 "]:hover, html[data-theme="dark"] [class*="hover:bg-rose-200/"]:hover, html[data-theme="dark"] [class$="hover:bg-rose-200"]:hover { background-color: rgba(244,63,94, .2) !important; }
html[data-theme="dark"] .group:hover [class*="group-hover:bg-rose-50 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-rose-50/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-rose-50"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-rose-100 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-rose-100/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-rose-100"], html[data-theme="dark"] .group:hover [class*="group-hover:bg-rose-200 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-rose-200/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-rose-200"] { background-color: rgba(244,63,94, .2) !important; }
html[data-theme="dark"] [class*="hover:bg-rose-500 "]:hover, html[data-theme="dark"] [class*="hover:bg-rose-500/"]:hover, html[data-theme="dark"] [class$="hover:bg-rose-500"]:hover, html[data-theme="dark"] .group:hover [class*="group-hover:bg-rose-500 "], html[data-theme="dark"] .group:hover [class*="group-hover:bg-rose-500/"], html[data-theme="dark"] .group:hover [class$="group-hover:bg-rose-500"] { background-color: rgb(244,63,94) !important; }

/* ===== WARNA TEKS/IKON SAAT HOVER (standar global, 2026-11-28) =====
   Aturan gelap text-{warna}-600 dll. memakai !important sehingga menimpa hover:text-* / group-hover:text-* Tailwind.
   Di sini warna hover dipulihkan (ikon .ic ikut karena memakai currentColor): kotak ikon menu yang jadi pekat saat hover
   -> garis ikon PUTIH; teks gelap (slate-700..900) -> terang; warna lain -> varian terang yang terbaca di latar gelap.
   Halaman baru cukup pakai kelas Tailwind hover biasa. */
html[data-theme="dark"] [class*="hover:text-white "]:hover,
html[data-theme="dark"] [class$="hover:text-white"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-white "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-white"] { color: #fff !important; }
html[data-theme="dark"] [class*="hover:text-[#d4af37] "]:hover,
html[data-theme="dark"] [class$="hover:text-[#d4af37]"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-[#d4af37] "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-[#d4af37]"] { color: #d4af37 !important; }
html[data-theme="dark"] [class*="hover:text-amber-400 "]:hover,
html[data-theme="dark"] [class$="hover:text-amber-400"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-amber-400 "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-amber-400"],
html[data-theme="dark"] [class*="hover:text-amber-500 "]:hover,
html[data-theme="dark"] [class$="hover:text-amber-500"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-amber-500 "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-amber-500"],
html[data-theme="dark"] [class*="hover:text-amber-600 "]:hover,
html[data-theme="dark"] [class$="hover:text-amber-600"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-amber-600 "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-amber-600"],
html[data-theme="dark"] [class*="hover:text-amber-700 "]:hover,
html[data-theme="dark"] [class$="hover:text-amber-700"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-amber-700 "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-amber-700"] { color: #fbbf24 !important; }
html[data-theme="dark"] [class*="hover:text-red-500 "]:hover,
html[data-theme="dark"] [class$="hover:text-red-500"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-red-500 "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-red-500"],
html[data-theme="dark"] [class*="hover:text-red-600 "]:hover,
html[data-theme="dark"] [class$="hover:text-red-600"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-red-600 "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-red-600"],
html[data-theme="dark"] [class*="hover:text-red-700 "]:hover,
html[data-theme="dark"] [class$="hover:text-red-700"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-red-700 "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-red-700"] { color: #f87171 !important; }
html[data-theme="dark"] [class*="hover:text-rose-500 "]:hover,
html[data-theme="dark"] [class$="hover:text-rose-500"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-rose-500 "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-rose-500"],
html[data-theme="dark"] [class*="hover:text-rose-600 "]:hover,
html[data-theme="dark"] [class$="hover:text-rose-600"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-rose-600 "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-rose-600"],
html[data-theme="dark"] [class*="hover:text-rose-700 "]:hover,
html[data-theme="dark"] [class$="hover:text-rose-700"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-rose-700 "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-rose-700"] { color: #fb7185 !important; }
html[data-theme="dark"] [class*="hover:text-emerald-500 "]:hover,
html[data-theme="dark"] [class$="hover:text-emerald-500"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-emerald-500 "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-emerald-500"],
html[data-theme="dark"] [class*="hover:text-emerald-600 "]:hover,
html[data-theme="dark"] [class$="hover:text-emerald-600"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-emerald-600 "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-emerald-600"],
html[data-theme="dark"] [class*="hover:text-green-600 "]:hover,
html[data-theme="dark"] [class$="hover:text-green-600"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-green-600 "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-green-600"] { color: #34d399 !important; }
html[data-theme="dark"] [class*="hover:text-blue-500 "]:hover,
html[data-theme="dark"] [class$="hover:text-blue-500"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-blue-500 "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-blue-500"],
html[data-theme="dark"] [class*="hover:text-blue-600 "]:hover,
html[data-theme="dark"] [class$="hover:text-blue-600"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-blue-600 "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-blue-600"],
html[data-theme="dark"] [class*="hover:text-blue-700 "]:hover,
html[data-theme="dark"] [class$="hover:text-blue-700"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-blue-700 "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-blue-700"] { color: #60a5fa !important; }
html[data-theme="dark"] [class*="hover:text-slate-700 "]:hover,
html[data-theme="dark"] [class$="hover:text-slate-700"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-slate-700 "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-slate-700"],
html[data-theme="dark"] [class*="hover:text-slate-800 "]:hover,
html[data-theme="dark"] [class$="hover:text-slate-800"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-slate-800 "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-slate-800"],
html[data-theme="dark"] [class*="hover:text-slate-900 "]:hover,
html[data-theme="dark"] [class$="hover:text-slate-900"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-slate-900 "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-slate-900"],
html[data-theme="dark"] [class*="hover:text-black "]:hover,
html[data-theme="dark"] [class$="hover:text-black"]:hover,
html[data-theme="dark"] .group:hover [class*="group-hover:text-black "],
html[data-theme="dark"] .group:hover [class$="group-hover:text-black"] { color: #e6ebf3 !important; }

/* kotak ikon menu .um-ico warna tambahan + hover kartu-link (.um-card) di mode gelap: ikon putih di kotak pekat */
html[data-theme="dark"] .um-ico.tone-indigo { background: rgba(99, 102, 241, .18); color: #a5b4fc; }
html[data-theme="dark"] .um-ico.tone-violet { background: rgba(139, 92, 246, .18); color: #c4b5fd; }
html[data-theme="dark"] .um-ico.tone-sky    { background: rgba(14, 165, 233, .16); color: #7dd3fc; }
html[data-theme="dark"] .um-card:hover .um-ico { color: #fff; }
html[data-theme="dark"] .um-card:hover .um-ico.tone-blue    { background: #3b82f6; }
html[data-theme="dark"] .um-card:hover .um-ico.tone-red     { background: #ef4444; }
html[data-theme="dark"] .um-card:hover .um-ico.tone-amber   { background: #d97706; }
html[data-theme="dark"] .um-card:hover .um-ico.tone-emerald { background: #10b981; }
html[data-theme="dark"] .um-card:hover .um-ico.tone-indigo  { background: #6366f1; }
html[data-theme="dark"] .um-card:hover .um-ico.tone-violet  { background: #8b5cf6; }
html[data-theme="dark"] .um-card:hover .um-ico.tone-sky     { background: #0ea5e9; }

/* bayangan berwarna terang (shadow-{warna}-100 di tombol utama, mis. Tampilkan Laporan) jadi pendar terang di mode gelap -> bayangan gelap netral */
html[data-theme="dark"] .shadow-red-50, html[data-theme="dark"] .shadow-red-100, html[data-theme="dark"] .shadow-red-200, html[data-theme="dark"] .shadow-orange-50, html[data-theme="dark"] .shadow-orange-100, html[data-theme="dark"] .shadow-orange-200, html[data-theme="dark"] .shadow-amber-50, html[data-theme="dark"] .shadow-amber-100, html[data-theme="dark"] .shadow-amber-200, html[data-theme="dark"] .shadow-yellow-50, html[data-theme="dark"] .shadow-yellow-100, html[data-theme="dark"] .shadow-yellow-200, html[data-theme="dark"] .shadow-lime-50, html[data-theme="dark"] .shadow-lime-100, html[data-theme="dark"] .shadow-lime-200, html[data-theme="dark"] .shadow-green-50, html[data-theme="dark"] .shadow-green-100, html[data-theme="dark"] .shadow-green-200, html[data-theme="dark"] .shadow-emerald-50, html[data-theme="dark"] .shadow-emerald-100, html[data-theme="dark"] .shadow-emerald-200, html[data-theme="dark"] .shadow-teal-50, html[data-theme="dark"] .shadow-teal-100, html[data-theme="dark"] .shadow-teal-200, html[data-theme="dark"] .shadow-cyan-50, html[data-theme="dark"] .shadow-cyan-100, html[data-theme="dark"] .shadow-cyan-200, html[data-theme="dark"] .shadow-sky-50, html[data-theme="dark"] .shadow-sky-100, html[data-theme="dark"] .shadow-sky-200, html[data-theme="dark"] .shadow-blue-50, html[data-theme="dark"] .shadow-blue-100, html[data-theme="dark"] .shadow-blue-200, html[data-theme="dark"] .shadow-indigo-50, html[data-theme="dark"] .shadow-indigo-100, html[data-theme="dark"] .shadow-indigo-200, html[data-theme="dark"] .shadow-violet-50, html[data-theme="dark"] .shadow-violet-100, html[data-theme="dark"] .shadow-violet-200, html[data-theme="dark"] .shadow-purple-50, html[data-theme="dark"] .shadow-purple-100, html[data-theme="dark"] .shadow-purple-200, html[data-theme="dark"] .shadow-fuchsia-50, html[data-theme="dark"] .shadow-fuchsia-100, html[data-theme="dark"] .shadow-fuchsia-200, html[data-theme="dark"] .shadow-pink-50, html[data-theme="dark"] .shadow-pink-100, html[data-theme="dark"] .shadow-pink-200, html[data-theme="dark"] .shadow-rose-50, html[data-theme="dark"] .shadow-rose-100, html[data-theme="dark"] .shadow-rose-200, html[data-theme="dark"] .shadow-slate-50, html[data-theme="dark"] .shadow-slate-100, html[data-theme="dark"] .shadow-slate-200, html[data-theme="dark"] .shadow-gray-50, html[data-theme="dark"] .shadow-gray-100, html[data-theme="dark"] .shadow-gray-200 { --tw-shadow-color: rgba(0, 0, 0, .45) !important; }
/* kartu daftar standar (.list-card, _css/_icons.css): sama dengan kartu log Notifikasi di mode gelap */
html[data-theme="dark"] .list-card { background: var(--dk-card); border-color: transparent; box-shadow: 0 6px 18px rgba(0, 0, 0, .28); }
html[data-theme="dark"] .list-card:hover, html[data-theme="dark"] .list-card:active { border-color: #d4af37; }
html[data-theme="dark"] .list-card.is-unread { background: rgba(59, 130, 246, .08); border-left-color: #3b82f6; }
html[data-theme="dark"] .list-card.sk-card:hover, html[data-theme="dark"] .list-card.sk-card:active { border-color: transparent; }

/* ===== SIDEBAR DESKTOP mode gelap: bentuk sama dengan mode terang (_css/_icons.css), hanya warna ===== */
html[data-theme="dark"] .sidebar .sb-head, html[data-theme="dark"] .sidebar .sb-foot { border-color: rgba(255, 255, 255, .07); }
html[data-theme="dark"] .sidebar .sb-head { background: #131c2c; }
html[data-theme="dark"] .sidebar.sb-compact .sb-head { box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .7); }
html[data-theme="dark"] .sidebar nav a.sb-parent { color: var(--dk-text2) !important; background-color: transparent !important; border-color: transparent !important; }
html[data-theme="dark"] .sidebar nav a.sb-parent:hover { color: var(--dk-text) !important; border-color: rgba(212, 175, 55, .85) !important; }
html[data-theme="dark"] .sidebar nav a.sb-parent.is-current, html[data-theme="dark"] .sidebar nav a.sb-item.is-current {
    color: #d4af37 !important; background-color: rgba(212, 175, 55, .12) !important; border-color: transparent !important; }
html[data-theme="dark"] .sidebar nav a.sb-parent.is-current:hover, html[data-theme="dark"] .sidebar nav a.sb-item.is-current:hover { border-color: rgba(212, 175, 55, .85) !important; }
html[data-theme="dark"] .sidebar .sb-group.has-current > a.sb-parent { color: #d4af37 !important; }
html[data-theme="dark"] .sidebar .sb-sub::before { background: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .um-ico.tone-gold { background: rgba(212, 175, 55, .18); color: #e6c65c; }
html[data-theme="dark"] .um-card:hover .um-ico.tone-gold { background: #d4af37; color: #fff; }
html[data-theme="dark"] .um-card:hover .um-ico.tone-user { background: #059669; }
html[data-theme="dark"] .um-card:hover .um-ico.tone-green { background: #22c55e; }
html[data-theme="dark"] .sidebar a.sb-logout { background: rgba(239, 68, 68, .12); color: #f87171 !important; }
html[data-theme="dark"] .sidebar a.sb-logout:hover { background: rgba(239, 68, 68, .2); border-color: rgba(239, 68, 68, .5); }

/* navbar bawah HP ikon baru + MAPS emas di mode gelap */
html[data-theme="dark"] .bottom-nav.nav-icons-new .nav-item.is-current .um-ico { color: #fff; }
html[data-theme="dark"] .bottom-nav.nav-icons-new .nav-item.is-current .um-ico.tone-blue   { background: #3b82f6; }
html[data-theme="dark"] .bottom-nav.nav-icons-new .nav-item.is-current .um-ico.tone-amber  { background: #d97706; }
html[data-theme="dark"] .bottom-nav.nav-icons-new .nav-item.is-current .um-ico.tone-indigo { background: #6366f1; }
html[data-theme="dark"] .bottom-nav.nav-icons-new .nav-item.is-current .um-ico.tone-violet { background: #8b5cf6; }
html[data-theme="dark"] .bottom-nav.nav-icons-new .nav-maps { color: #d4af37 !important; }
html[data-theme="dark"] .bottom-nav.nav-icons-new .maps-circle { box-shadow: 0 0 0 5px #121a29, 0 10px 20px rgba(0, 0, 0, .5); }
html[data-theme="dark"] .um-ico.tone-maps, html[data-theme="dark"] .um-card:hover .um-ico.tone-maps { color: #050b14; }
html[data-theme="dark"] .um-ico.tone-maps { background: linear-gradient(145deg, #f6dc7e 0%, #d4af37 55%, #b8860b 100%); box-shadow: 0 3px 10px rgba(0, 0, 0, .4); }
/* MAPS versi A (warna datar) di mode gelap: gambar tidak diredupkan, tombol bulat biru gelap */
html[data-theme="dark"] .bottom-nav .nav-item img.maps-flat, html[data-theme="dark"] .sidebar nav a img.maps-flat { filter: none; opacity: 1; }
html[data-theme="dark"] .um-ico.tone-mapsflat { background: rgba(16, 185, 129, .16); }
html[data-theme="dark"] .um-card:hover .um-ico.tone-mapsflat { background: rgba(16, 185, 129, .32); }
html[data-theme="dark"] .bottom-nav.nav-icons-new .nav-maps { color: #d4af37 !important; }
html[data-theme="dark"] .bottom-nav.nav-icons-new .maps-circle { background: #1c2740; box-shadow: 0 0 0 5px #121a29, 0 10px 20px rgba(0, 0, 0, .5); }

/* sidebar: subjudul submenu & gelembung keterangan di mode gelap */
html[data-theme="dark"] .sidebar .sb-item .sb-s { color: var(--dk-dim); }
html[data-theme="dark"] .sidebar .sb-item.is-current .sb-s { color: rgba(212, 175, 55, .8); }
html[data-theme="dark"] .sb-tip { background: #26334a; color: #e6ebf3; box-shadow: 0 8px 22px rgba(0, 0, 0, .5); }

/* navbar HP "kotak tegas + garis penanda" di mode gelap: bentuk sama, bilah gelap, kotak rona transparan, penanda sewarna terang */
html[data-theme="dark"] .bottom-nav.nav-icons-new { background: linear-gradient(to bottom, #172133 0%, #0c1320 100%) !important; }
html[data-theme="dark"] .bottom-nav.nav-icons-new .um-ico.tone-blue, html[data-theme="dark"] .bottom-nav.nav-icons-new .nav-item.is-current .um-ico.tone-blue { background: rgba(59, 130, 246, .18); color: #60a5fa; }
html[data-theme="dark"] .bottom-nav.nav-icons-new .um-ico.tone-amber, html[data-theme="dark"] .bottom-nav.nav-icons-new .nav-item.is-current .um-ico.tone-amber { background: rgba(245, 158, 11, .18); color: #fbbf24; }
html[data-theme="dark"] .bottom-nav.nav-icons-new .um-ico.tone-indigo, html[data-theme="dark"] .bottom-nav.nav-icons-new .nav-item.is-current .um-ico.tone-indigo { background: rgba(99, 102, 241, .18); color: #a5b4fc; }
html[data-theme="dark"] .bottom-nav.nav-icons-new .um-ico.tone-violet, html[data-theme="dark"] .bottom-nav.nav-icons-new .nav-item.is-current .um-ico.tone-violet { background: rgba(139, 92, 246, .18); color: #c4b5fd; }
html[data-theme="dark"] .bottom-nav.nav-icons-new .um-ico.tone-emerald, html[data-theme="dark"] .bottom-nav.nav-icons-new .nav-item.is-current .um-ico.tone-emerald { background: rgba(16, 185, 129, .18); color: #34d399; }
html[data-theme="dark"] .bottom-nav.nav-icons-new .nav-item[data-tone="blue"].is-current { color: #60a5fa !important; }
html[data-theme="dark"] .bottom-nav.nav-icons-new .nav-item[data-tone="amber"].is-current { color: #fbbf24 !important; }
html[data-theme="dark"] .bottom-nav.nav-icons-new .nav-item[data-tone="indigo"].is-current { color: #a5b4fc !important; }
html[data-theme="dark"] .bottom-nav.nav-icons-new .nav-item[data-tone="violet"].is-current { color: #c4b5fd !important; }
html[data-theme="dark"] .bottom-nav.nav-icons-new .nav-item[data-tone="emerald"].is-current { color: #34d399 !important; }
html[data-theme="dark"] .bottom-nav.nav-icons-new .nav-maps { color: #d4af37 !important; }
html[data-theme="dark"] .bottom-nav.nav-icons-new .maps-circle { background: #1c2740; border-color: #d4af37; box-shadow: 0 0 0 4px #121a29, 0 10px 20px rgba(0, 0, 0, .5); }
/* navbar HP final di mode gelap: mode 6 ikon rata (MAPS kotak hijau transparan, terpilih = garis + label hijau terang) */
html[data-theme="dark"] .bottom-nav.nav-icons-new.nav-even .nav-maps:not(.is-current) { color: #94a3b8 !important; }
html[data-theme="dark"] .bottom-nav.nav-icons-new.nav-even .nav-maps.is-current { color: #34d399 !important; }
html[data-theme="dark"] .bottom-nav.nav-icons-new.nav-even .maps-circle { background: rgba(16, 185, 129, .18); border: 0; box-shadow: none; }
/* tombol hapus foto: cincin sewarna kartu gelap */
html[data-theme="dark"] .ph-del { border-color: var(--dk-card); color: #fff !important; }

/* modal info umum (.gt-info) di mode gelap */
html[data-theme="dark"] .gt-info-card { background: var(--dk-card); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
html[data-theme="dark"] .gt-info-title { color: var(--dk-text); }
html[data-theme="dark"] .gt-info-body { color: var(--dk-text2); }
html[data-theme="dark"] .gt-info-kind { color: #d4af37; }
html[data-theme="dark"] .gt-info-btn { background: #d4af37; color: #050b14 !important; }
html[data-theme="dark"] .gt-info-close { background: rgba(255, 255, 255, .08); color: var(--dk-text2) !important; }
