:root {
    --bg: #08111f;
    --ink: #eaf2f8;
    --ink-soft: #93a6bd;
    --paper: #0f2036;
    --paper-2: #142a44;
    --sky: #08111f;
    --line: rgba(255, 255, 255, 0.10);
    --line-2: rgba(255, 255, 255, 0.06);
    --yellow: #7ff0d0;
    --orange: #5eead4;
    --pink: #38bdf8;
    --mint: #7ff0d0;
    --blue: #38bdf8;
    --violet: #7ff0d0;
    --on-accent: #04231d;
}

html, body {
    background-color: #08111f !important;
    background-image: radial-gradient(1200px 620px at 6% -5%, rgba(56, 189, 248, 0.10) 0, transparent 60%),
        radial-gradient(900px 520px at 96% 4%, rgba(126, 231, 209, 0.09) 0, transparent 55%),
        linear-gradient(180deg, #0a1a2c 0%, #08111f 55%, #060e19 100%) !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    color: var(--ink) !important;
    font-family: 'Rubik', system-ui, -apple-system, sans-serif !important;
}

html { background-color: #08111f !important; }

html body h1, html body h2, html body h3, html body h4, html body h5, html body h6 {
    color: #ffffff !important;
    font-family: 'Rubik', system-ui, -apple-system, sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.2px;
}

html body [class*="text-white"], html body [class*="text-gray-1"], html body [class*="text-gray-2"],
html body [class*="text-gray-3"], html body [class*="text-gray-8"], html body [class*="text-gray-9"],
html body [class*="text-slate-1"], html body [class*="text-slate-2"], html body [class*="text-slate-3"],
html body [class*="text-slate-8"], html body [class*="text-slate-9"],
html body [class*="text-zinc-1"], html body [class*="text-neutral-1"] {
    color: #eaf2f8 !important;
}
html body [class*="text-gray-4"], html body [class*="text-gray-5"], html body [class*="text-gray-6"],
html body [class*="text-gray-7"], html body [class*="text-slate-4"], html body [class*="text-slate-5"],
html body [class*="text-slate-6"], html body [class*="text-slate-7"], html body [class*="text-zinc-4"] {
    color: var(--ink-soft) !important;
}
html body [class*="text-[#6366f1]"], html body [class*="text-[#4f46e5]"], html body [class*="text-indigo-4"],
html body [class*="text-indigo-3"] { color: #7ff0d0 !important; }
html body [class*="text-[#db2777]"], html body [class*="text-[#ff5a5f]"], html body [class*="text-rose-4"] { color: #f7a8c4 !important; }
html body [class*="text-[#facc15]"], html body [class*="text-[#f59e0b]"], html body [class*="text-amber-4"] { color: #ffd08a !important; }
html body [class*="text-[#4ade80]"], html body [class*="text-green-4"] { color: #7ff0d0 !important; }
html body [class*="text-[#25D366]"] { color: #7ff0d0 !important; }
html body [class*="text-[#1877F2]"] { color: #8ec5ff !important; }
html body [class*="text-[#38bdf8]"], html body [class*="text-sky-4"] { color: #8ed9ff !important; }

html body [class*="bg-[#0f172a]"], html body [class*="bg-[#1e293b]"], html body [class*="bg-[#1e1b4b]"],
html body [class*="bg-[#151e2e]"], html body [class*="bg-[#111827]"], html body [class*="bg-[#0b1220]"],
html body [class*="bg-[#0b1120]"], html body [class*="bg-[#020617]"], html body [class*="bg-[#232d42]"],
html body [class*="bg-gray-7"], html body [class*="bg-gray-8"], html body [class*="bg-gray-9"],
html body [class*="bg-slate-7"], html body [class*="bg-slate-8"], html body [class*="bg-slate-9"],
html body [class*="bg-zinc-8"], html body [class*="bg-neutral-8"], html body [class*="bg-gray-1"],
html body [class*="bg-gray-2"], html body [class*="bg-slate-1"], html body [class*="bg-slate-2"] {
    background-color: var(--paper) !important;
    background-image: none !important;
    color: var(--ink) !important;
}
html body [class*="bg-white/9"], html body [class*="bg-white/8"] {
    background-color: rgba(11, 26, 44, 0.94) !important;
    background-image: none !important;
}
html body [class*="bg-white/5"], html body [class*="bg-white/10"], html body [class*="bg-white/20"],
html body [class*="bg-white/3"] {
    background-color: rgba(255, 255, 255, 0.06) !important;
    background-image: none !important;
}
html body [class*="bg-white"] {
    background-color: var(--paper) !important;
    background-image: none !important;
}
html body [class*="bg-black/"] {
    background-color: rgba(3, 8, 16, 0.72) !important;
    background-image: none !important;
}
html body [class*="bg-[#25D366]"], html body [class*="bg-green-5"], html body [class*="bg-green-6"],
html body [class*="bg-emerald-5"], html body [class*="bg-emerald-6"], html body [class*="bg-green-9"] {
    background-color: rgba(126, 231, 209, 0.16) !important;
    background-image: none !important;
    color: #9ff5dd !important;
}
html body [class*="bg-red-5"], html body [class*="bg-red-6"], html body [class*="bg-red-9"],
html body [class*="bg-rose-5"], html body [class*="bg-rose-6"] {
    background-color: rgba(255, 143, 143, 0.16) !important;
    background-image: none !important;
    color: #ffb3b3 !important;
}
html body [class*="bg-blue-5"], html body [class*="bg-blue-6"], html body [class*="bg-blue-9"],
html body [class*="bg-sky-5"], html body [class*="bg-sky-6"], html body [class*="bg-[#1877F2]/"] {
    background-color: rgba(56, 189, 248, 0.16) !important;
    background-image: none !important;
    color: #a5e4ff !important;
}
html body [class*="bg-indigo-5"], html body [class*="bg-indigo-6"], html body [class*="bg-indigo-9"],
html body [class*="bg-purple-5"], html body [class*="bg-purple-6"], html body [class*="bg-purple-9"],
html body [class*="bg-violet-5"], html body [class*="bg-violet-6"], html body [class*="bg-violet-9"],
html body [class*="bg-fuchsia-6"], html body [class*="bg-[#4f46e5]/"], html body [class*="bg-[#6366f1]/"] {
    background-color: rgba(126, 231, 209, 0.16) !important;
    background-image: none !important;
    color: #9ff5dd !important;
}
html body [class*="bg-yellow-5"], html body [class*="bg-yellow-6"], html body [class*="bg-amber-5"],
html body [class*="bg-amber-6"], html body [class*="bg-orange-5"], html body [class*="bg-orange-6"] {
    background-color: rgba(255, 208, 138, 0.16) !important;
    background-image: none !important;
    color: #ffd08a !important;
}
html body [class*="bg-pink-5"], html body [class*="bg-pink-6"], html body [class*="bg-[#db2777]/"] {
    background-color: rgba(247, 168, 196, 0.16) !important;
    background-image: none !important;
    color: #f7c3d8 !important;
}

html body [class*="bg-gradient-to"], html body [class*="from-[#6366f1]"], html body [class*="from-[#4f46e5]"],
html body [class*="from-[#0f172a]"], html body [class*="from-[#1e293b]"], html body [class*="from-gray-9"],
html body [class*="from-blue-9"], html body [class*="from-indigo-"], html body [class*="from-purple-"],
html body [class*="from-violet-"], html body [class*="from-pink-"], html body [class*="from-rose-"],
html body [class*="from-cyan-"], html body [class*="from-emerald-"], html body [class*="from-green-"],
html body [class*="from-orange-"], html body [class*="from-yellow-"], html body [class*="from-slate-"],
html body [class*="from-[#db2777]"] {
    background-image: linear-gradient(135deg, rgba(126, 231, 209, 0.18) 0%, rgba(56, 189, 248, 0.10) 100%) !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    color: var(--ink) !important;
}
html body button[class*="bg-gradient-to"], html body a[class*="bg-gradient-to"],
html body button[class*="from-"], html body a[class*="from-"] {
    background-image: linear-gradient(135deg, #7ff0d0 0%, #38bdf8 100%) !important;
    color: var(--on-accent) !important;
    border: none !important;
}
html body button[class*="bg-gradient-to"] *, html body a[class*="bg-gradient-to"] *,
html body button[class*="from-"] *, html body a[class*="from-"] * { color: var(--on-accent) !important; }

html body [class*="border-gray-1"], html body [class*="border-gray-2"], html body [class*="border-gray-6"],
html body [class*="border-gray-7"], html body [class*="border-gray-8"], html body [class*="border-slate-1"],
html body [class*="border-slate-6"], html body [class*="border-slate-7"], html body [class*="border-white/"],
html body [class*="border-[#1e293b]"], html body [class*="border-[#0f172a]"], html body [class*="border-indigo-2"],
html body [class*="border-gray-3"] {
    border-color: var(--line) !important;
}
html body [class*="border-blue-4"], html body [class*="border-blue-5"], html body [class*="border-indigo-4"],
html body [class*="border-indigo-5"], html body [class*="border-[#6366f1]"], html body [class*="border-blue-9"],
html body [class*="border-purple-9"], html body [class*="border-[#4f46e5]"] {
    border-color: rgba(126, 231, 209, 0.35) !important;
}
html body [class*="border-red-4"], html body [class*="border-red-5"], html body [class*="border-rose-5"] {
    border-color: rgba(255, 143, 143, 0.35) !important;
}
html body [class*="border-yellow-4"], html body [class*="border-amber-4"] {
    border-color: rgba(255, 208, 138, 0.35) !important;
}
html body [class*="divide-gray-"], html body [class*="divide-slate-"] { border-color: var(--line-2) !important; }
html body [class*="placeholder-gray-"], html body [class*="placeholder-slate-"] { color: #7d90a8 !important; }
html body ::placeholder { color: #7d90a8 !important; }

html body .glass-card, html body [class*="rounded-2xl"][class*="border"], html body [class*="rounded-3xl"][class*="border"],
html body .cartoon-sticker, html body [class*="rounded-xl"][class*="border"] {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--line) !important;
    border-radius: 18px !important;
    box-shadow: 0 26px 55px -34px rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(8px) !important;
}
html body .cartoon-hero {
    background-image: linear-gradient(135deg, rgba(126, 231, 209, 0.18) 0%, rgba(56, 189, 248, 0.10) 100%) !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(126, 231, 209, 0.30) !important;
    border-radius: 20px !important;
    box-shadow: 0 26px 55px -34px rgba(0, 0, 0, 0.9) !important;
    color: var(--ink) !important;
}
html body .cartoon-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(126, 231, 209, 0.12) !important;
    border: 1px solid rgba(126, 231, 209, 0.32) !important;
    border-radius: 999px !important;
    padding: 5px 14px !important;
    color: #9ff5dd !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    box-shadow: none !important;
}

#sidebar {
    background: rgba(9, 21, 36, 0.96) !important;
    border-right: 1px solid var(--line) !important;
    box-shadow: 10px 0 40px -30px rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px) !important;
}
#sidebar > div:first-child {
    background: rgba(255, 255, 255, 0.03) !important;
    border-bottom: 1px solid var(--line) !important;
}
#sidebar h1 { color: #ffffff !important; }
#sidebar nav > p {
    color: #6f849e !important;
    font-size: 10px !important;
    letter-spacing: 1.6px !important;
    font-weight: 700 !important;
}
#sidebar .nav-link {
    border-radius: 12px !important;
    border: 1px solid transparent !important;
    color: var(--ink-soft) !important;
    font-weight: 600 !important;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
#sidebar .nav-link:hover {
    background: rgba(126, 231, 209, 0.08) !important;
    border-color: rgba(126, 231, 209, 0.22) !important;
    color: #ffffff !important;
}
#sidebar .nav-link:hover span, #sidebar .nav-link:hover i { color: #ffffff !important; }
#sidebar .nav-link.bg-white\/10 {
    background: linear-gradient(135deg, #7ff0d0 0%, #38bdf8 100%) !important;
    border-color: transparent !important;
    color: var(--on-accent) !important;
}
#sidebar .nav-link.bg-white\/10 span, #sidebar .nav-link.bg-white\/10 i { color: var(--on-accent) !important; }
#sidebar nav > div { border-top: 1px solid var(--line) !important; }
#sidebar button[class*="px-"] {
    background: rgba(255, 143, 143, 0.14) !important;
    color: #ffb3b3 !important;
    border: 1px solid rgba(255, 143, 143, 0.30) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}
#sidebar button[class*="px-"]:hover { background: rgba(255, 143, 143, 0.22) !important; color: #ffffff !important; }
#sidebar-overlay { background: rgba(3, 8, 16, 0.75) !important; }

main > header, header[class*="sticky"], header[class*="fixed"] {
    background: rgba(9, 21, 36, 0.92) !important;
    border-bottom: 1px solid var(--line) !important;
    box-shadow: 0 10px 30px -24px rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px) !important;
}
header h2 { color: #ffffff !important; }

html body table { border-collapse: separate !important; border-spacing: 0 !important; width: 100%; }
html body table thead th {
    background: rgba(126, 231, 209, 0.10) !important;
    color: #9ff5dd !important;
    border: none !important;
    border-top: 1px solid var(--line) !important;
    border-bottom: 1px solid var(--line) !important;
    font-size: 11px !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase;
    padding: 12px 10px !important;
}
html body table thead th:first-child { border-left: 1px solid var(--line) !important; border-radius: 14px 0 0 14px !important; }
html body table thead th:last-child { border-right: 1px solid var(--line) !important; border-radius: 0 14px 14px 0 !important; }
html body table tbody tr { background: rgba(255, 255, 255, 0.03) !important; box-shadow: none !important; }
html body table tbody tr:hover { background: rgba(126, 231, 209, 0.07) !important; }
html body table tbody td {
    border: none !important;
    border-bottom: 1px solid var(--line-2) !important;
    color: var(--ink) !important;
    padding: 14px 10px !important;
    background: transparent !important;
}
html body table tbody td:first-child { border-left: 1px solid var(--line-2) !important; border-radius: 14px 0 0 14px !important; }
html body table tbody td:last-child { border-right: 1px solid var(--line-2) !important; border-radius: 0 14px 14px 0 !important; }

html body button[class*="px-"]:not(.swal2-styled):not(.swal2-close), html body a[class*="px-"][class*="rounded"] {
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    font-weight: 700 !important;
    transition: filter 0.15s ease, transform 0.12s ease, background 0.15s ease;
}
html body button[class*="px-"]:not(.swal2-styled):not(.swal2-close):hover, html body a[class*="px-"][class*="rounded"]:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}
html body button[class*="bg-[#6366f1]"], html body button[class*="bg-indigo-"], html body button[class*="bg-blue-6"],
html body a[class*="bg-[#6366f1]"] {
    background: linear-gradient(135deg, #7ff0d0 0%, #38bdf8 100%) !important;
    color: var(--on-accent) !important;
    border-color: transparent !important;
}
html body button[class*="bg-[#6366f1]"] *, html body button[class*="bg-indigo-"] * { color: var(--on-accent) !important; }
html body button[class*="bg-red-"], html body button[class*="bg-rose-"], html body a[class*="bg-red-"] {
    background: rgba(255, 143, 143, 0.16) !important;
    color: #ffb3b3 !important;
    border-color: rgba(255, 143, 143, 0.32) !important;
}

html body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),
html body select, html body textarea {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    color: var(--ink) !important;
    box-shadow: none !important;
    font-family: 'Rubik', system-ui, sans-serif !important;
}
html body input:focus, html body select:focus, html body textarea:focus {
    outline: none !important;
    border-color: rgba(126, 231, 209, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(126, 231, 209, 0.16) !important;
}
html body input::file-selector-button {
    background: rgba(126, 231, 209, 0.14) !important;
    color: #9ff5dd !important;
    border: 1px solid rgba(126, 231, 209, 0.30) !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    padding: 6px 12px !important;
    margin-right: 10px !important;
    cursor: pointer;
}
html body input[type="file"] { color: var(--ink-soft) !important; }
html body input[type="checkbox"], html body input[type="radio"] { accent-color: #7ff0d0; }
html body select option { background-color: #0f2036 !important; color: var(--ink) !important; }
html body label { color: var(--ink-soft) !important; font-weight: 600 !important; }
html body input[type="color"] { background: transparent !important; border: 1px solid var(--line) !important; border-radius: 10px !important; }
html body input[type="color"]::-webkit-color-swatch { border: 1px solid var(--line) !important; border-radius: 8px; }

html body .tab-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--ink-soft) !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}
html body .tab-btn:hover { background: rgba(126, 231, 209, 0.10) !important; color: #ffffff !important; border-color: rgba(126, 231, 209, 0.30) !important; }
html body .tab-btn.active {
    background: linear-gradient(135deg, #7ff0d0 0%, #38bdf8 100%) !important;
    color: var(--on-accent) !important;
    border-color: transparent !important;
    box-shadow: 0 12px 26px -14px rgba(126, 231, 209, 0.7) !important;
}

html body .chat-sidebar { background: rgba(255, 255, 255, 0.03) !important; border-right: 1px solid var(--line) !important; }
html body .visitor-item { border-bottom: 1px solid var(--line-2) !important; }
html body .visitor-item:hover, html body .visitor-item.active {
    background: rgba(126, 231, 209, 0.08) !important;
    border-left: 3px solid #7ff0d0 !important;
}
html body .v-name { color: #ffffff !important; }
html body .v-meta { color: var(--ink-soft) !important; }
html body .content-box { background: rgba(255, 255, 255, 0.03) !important; border-top: 1px solid var(--line) !important; }
html body .preview-box { background: rgba(255, 255, 255, 0.04) !important; border: 1px dashed rgba(126, 231, 209, 0.35) !important; }
html body .preview-box:hover { background: rgba(126, 231, 209, 0.08) !important; border-color: rgba(126, 231, 209, 0.55) !important; }
html body .table-img { background: rgba(255, 255, 255, 0.06) !important; border: 1px solid var(--line) !important; }

html body .modal, html body [class*="fixed"][class*="inset-0"][class*="z-"] { backdrop-filter: blur(4px); }
html body .modal > div, html body [class*="fixed"][class*="inset-0"] > div[class*="rounded"],
html body .modal-content {
    background: #0d1c30 !important;
    border: 1px solid var(--line) !important;
    border-radius: 18px !important;
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.95) !important;
    color: var(--ink) !important;
}
html body .swal2-popup {
    background: #0d1c30 !important;
    border: 1px solid var(--line) !important;
    border-radius: 18px !important;
    color: var(--ink) !important;
    font-family: 'Rubik', system-ui, sans-serif !important;
}
html body .swal2-title, html body .swal2-html-container { color: #ffffff !important; }
html body .swal2-confirm { background: linear-gradient(135deg, #7ff0d0, #38bdf8) !important; color: var(--on-accent) !important; }
html body .swal2-cancel { background: rgba(255, 255, 255, 0.08) !important; color: var(--ink) !important; }

html body nav[class*="bottom-0"] {
    background: rgba(9, 21, 36, 0.96) !important;
    border-top: 1px solid var(--line) !important;
    box-shadow: 0 -12px 30px -24px rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px) !important;
}
html body nav[class*="bottom-0"] a { color: var(--ink-soft) !important; }
html body nav[class*="bottom-0"] a[class*="rounded-full"] {
    background: linear-gradient(135deg, #7ff0d0, #38bdf8) !important;
    color: var(--on-accent) !important;
}
html body nav[class*="bottom-0"] a[class*="rounded-full"] i { color: var(--on-accent) !important; }

#digital-clock, #digital-date { color: #ffffff !important; font-family: 'Rubik', system-ui, sans-serif !important; }
html body #digital-date { color: var(--ink-soft) !important; }

html body .footer-dark-bg, html body footer { background-color: rgba(255, 255, 255, 0.02) !important; border-color: var(--line) !important; }
html body .footer-dark-bg *, html body footer * { color: inherit; }
html body [class*="bg-[#0b1220]"] { background-color: rgba(255, 255, 255, 0.02) !important; }

html body .text-gradient {
    background: linear-gradient(90deg, #7ff0d0, #38bdf8) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}
html body [class*="bg-clip-text"], html body [class*="text-transparent"] {
    background-image: linear-gradient(90deg, #7ff0d0, #38bdf8) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
html body [class*="text-shadow-glow"] { text-shadow: none !important; }

html body ::-webkit-scrollbar { width: 10px !important; height: 10px !important; }
html body ::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.03) !important; }
html body ::-webkit-scrollbar-thumb {
    background: rgba(126, 231, 209, 0.28) !important;
    border: 2px solid transparent !important;
    background-clip: padding-box !important;
    border-radius: 10px !important;
}
html body ::-webkit-scrollbar-thumb:hover { background: rgba(126, 231, 209, 0.45) !important; background-clip: padding-box !important; }

html body .custom-scrollbar { scrollbar-width: thin; scrollbar-color: rgba(126, 231, 209, 0.35) transparent; }
html body img[class*="rounded"] { background: rgba(255, 255, 255, 0.04); }
html body .chat-btn-float { border-radius: 9999px !important; }
html body hr, html body [class*="border-b"], html body [class*="border-t"] { border-color: var(--line); }
/* ==== Jaring pengaman keterbacaan: latar terang wajib berteks gelap ==== */

html body [class*="bg-white"]:not([class*="bg-white/"]),

html body [class*="bg-yellow-"]:not([class*="-800"]):not([class*="-900"]),

html body [class*="bg-amber-"]:not([class*="-800"]):not([class*="-900"]),

html body [class*="bg-lime-"]:not([class*="-800"]):not([class*="-900"]),

html body [class*="bg-green-"]:not([class*="-700"]):not([class*="-800"]):not([class*="-900"]),

html body [class*="bg-emerald-"]:not([class*="-700"]):not([class*="-800"]):not([class*="-900"]),

html body [class*="bg-teal-"]:not([class*="-700"]):not([class*="-800"]):not([class*="-900"]),

html body [class*="bg-cyan-"]:not([class*="-700"]):not([class*="-800"]):not([class*="-900"]),

html body [class*="bg-sky-3"], html body [class*="bg-sky-4"],

html body [class*="bg-[#facc15]"], html body [class*="bg-[#fde047]"], html body [class*="bg-[#fbbf24]"],

html body [class*="bg-[#22c55e]"], html body [class*="bg-[#25D366]"], html body [class*="bg-[#4ade80]"],

html body [class*="bg-[#7ff0d0]"], html body .badge-light, html body .chip-accent, html body .cartoon-sticker-light {

    background-color: rgba(127, 240, 208, 0.94) !important;

    background-image: none !important;

    color: #04231d !important;

    border-color: rgba(4, 35, 29, 0.22) !important;

}

html body [class*="bg-white"]:not([class*="bg-white/"]) *,

html body [class*="bg-yellow-"]:not([class*="-800"]):not([class*="-900"]) *,

html body [class*="bg-amber-"]:not([class*="-800"]):not([class*="-900"]) *,

html body [class*="bg-lime-"]:not([class*="-800"]):not([class*="-900"]) *,

html body [class*="bg-green-"]:not([class*="-700"]):not([class*="-800"]):not([class*="-900"]) *,

html body [class*="bg-emerald-"]:not([class*="-700"]):not([class*="-800"]):not([class*="-900"]) *,

html body [class*="bg-teal-"]:not([class*="-700"]):not([class*="-800"]):not([class*="-900"]) *,

html body [class*="bg-cyan-"]:not([class*="-700"]):not([class*="-800"]):not([class*="-900"]) *,

html body [class*="bg-sky-3"] *, html body [class*="bg-sky-4"] *,

html body [class*="bg-[#facc15]"] *, html body [class*="bg-[#22c55e]"] *, html body [class*="bg-[#25D366]"] *,

html body .badge-light *, html body .chip-accent * { color: #04231d !important; }

html body [class*="bg-gray-1"], html body [class*="bg-gray-2"], html body [class*="bg-gray-3"],

html body [class*="bg-slate-1"], html body [class*="bg-slate-2"], html body [class*="bg-slate-3"],

html body [class*="bg-zinc-1"], html body [class*="bg-zinc-2"], html body [class*="bg-neutral-1"],

html body [class*="bg-neutral-2"], html body [class*="bg-gray-5"], html body [class*="bg-gray-6"],

html body [class*="bg-slate-5"], html body [class*="bg-slate-6"] {

    background-color: rgba(255, 255, 255, 0.05) !important;

    background-image: none !important;

    color: var(--ink) !important;

    border-color: var(--line) !important;

}

/* tombol/lencana beraksen gelap -> gradien mint dengan teks gelap */

html body [class*="bg-[#4f46e5]"], html body [class*="bg-[#4338ca]"], html body [class*="bg-[#6366f1]"],

html body [class*="bg-[#7e22ce]"], html body [class*="bg-indigo-5"], html body [class*="bg-indigo-6"],

html body [class*="bg-violet-5"], html body [class*="bg-violet-6"], html body [class*="bg-purple-5"],

html body [class*="bg-purple-6"], html body [class*="bg-blue-5"], html body [class*="bg-blue-6"],

html body [class*="bg-sky-5"], html body [class*="bg-sky-6"] {

    background-image: linear-gradient(135deg, #7ff0d0 0%, #38bdf8 100%) !important;

    background-color: transparent !important;

    border-color: transparent !important;

    color: #04231d !important;

}

html body [class*="bg-[#4f46e5]"] *, html body [class*="bg-[#6366f1]"] *, html body [class*="bg-indigo-5"] *,

html body [class*="bg-indigo-6"] *, html body [class*="bg-violet-5"] *, html body [class*="bg-purple-6"] *,

html body [class*="bg-sky-5"] * { color: #04231d !important; }

html body ::placeholder { color: rgba(234, 242, 248, 0.55) !important; }
/* ==== Jaring pengaman latar aksen inline ==== */
html body [style*="background:#5eead4"],
html body [style*="background:#7ff0d0"],
html body [style*="background-color:#5eead4"],
html body [style*="background-color:#7ff0d0"],
html body [style*="background:var(--orange)"],
html body [style*="background:var(--pink)"],
html body [style*="background:var(--yellow)"],
html body [style*="background: var(--orange)"],
html body [style*="background: var(--pink)"],
html body [style*="background: var(--yellow)"] {
    color: #04231d !important;
}
html body [style*="background:#5eead4"] *,
html body [style*="background:#7ff0d0"] *,
html body [style*="background-color:#5eead4"] *,
html body [style*="background-color:#7ff0d0"] *,
html body [style*="background:var(--orange)"] *,
html body [style*="background:var(--pink)"] *,
html body [style*="background:var(--yellow)"] *,
html body [style*="background: var(--orange)"] *,
html body [style*="background: var(--pink)"] *,
html body [style*="background: var(--yellow)"] * {
    color: #04231d !important;
}
html body .status-indicator-box, html body .status-indicator-box * { color: #04231d !important; }
html body .backup-btn, html body .backup-btn * { color: #04231d !important; }
html body .backup-btn { border: 1px solid rgba(4,35,29,0.25) !important; }
