
        html:not(.portal-page) .inline-flex, html:not(.portal-page) .inline-flex *,
        html:not(.portal-page) a.inline-flex, html:not(.portal-page) a.inline-flex *,
        html:not(.portal-page) *[class*="hover:text"], html:not(.portal-page) *[class*="hover:text"] *,
        html:not(.portal-page) a[role="button"], html:not(.portal-page) a[role="button"] * {
            color: inherit !important;
        }

        html:not(.portal-page) .inline-flex:hover, html:not(.portal-page) .inline-flex:hover *,
        html:not(.portal-page) a.inline-flex:hover, html:not(.portal-page) a.inline-flex:hover * {
            color: inherit !important;
            text-decoration: none !important;
        }

        /* ══ LETZTER OVERRIDE: Farbige Buttons behalten weiße Schrift im Light-Mode ══
           Muss NACH dem color:inherit-Block stehen, damit er gewinnt.
           Abdeckung: alle Tailwind-Farb-Shades -500/-600/-700 auf a/button,
           plus custom Button-Klassen (home-btn-*, portal-btn-*).                      */
        /* Basis + Hover: Farbige Buttons behalten weiße Schrift.
           Beide Zustände müssen explizit aufgeführt werden, da :hover-Selektoren
           höhere Spezifität haben als Non-Hover-Selektoren mit gleicher Klassen-Anzahl. */
        html.theme-light a[class*="bg-blue-5"],         html.theme-light a[class*="bg-blue-5"]:hover,
        html.theme-light a[class*="bg-blue-5"] *,       html.theme-light a[class*="bg-blue-5"]:hover *,
        html.theme-light a[class*="bg-blue-6"],         html.theme-light a[class*="bg-blue-6"]:hover,
        html.theme-light a[class*="bg-blue-6"] *,       html.theme-light a[class*="bg-blue-6"]:hover *,
        html.theme-light a[class*="bg-blue-7"],         html.theme-light a[class*="bg-blue-7"]:hover,
        html.theme-light a[class*="bg-blue-7"] *,       html.theme-light a[class*="bg-blue-7"]:hover *,
        html.theme-light button[class*="bg-blue-5"],    html.theme-light button[class*="bg-blue-5"]:hover,
        html.theme-light button[class*="bg-blue-5"] *,  html.theme-light button[class*="bg-blue-5"]:hover *,
        html.theme-light button[class*="bg-blue-6"],    html.theme-light button[class*="bg-blue-6"]:hover,
        html.theme-light button[class*="bg-blue-6"] *,  html.theme-light button[class*="bg-blue-6"]:hover *,
        html.theme-light a[class*="bg-sky-5"],          html.theme-light a[class*="bg-sky-5"]:hover,
        html.theme-light a[class*="bg-sky-5"] *,        html.theme-light a[class*="bg-sky-5"]:hover *,
        html.theme-light a[class*="bg-sky-6"],          html.theme-light a[class*="bg-sky-6"]:hover,
        html.theme-light a[class*="bg-sky-6"] *,        html.theme-light a[class*="bg-sky-6"]:hover *,
        html.theme-light button[class*="bg-sky-5"],     html.theme-light button[class*="bg-sky-5"]:hover,
        html.theme-light button[class*="bg-sky-5"] *,   html.theme-light button[class*="bg-sky-5"]:hover *,
        html.theme-light button[class*="bg-sky-6"],     html.theme-light button[class*="bg-sky-6"]:hover,
        html.theme-light button[class*="bg-sky-6"] *,   html.theme-light button[class*="bg-sky-6"]:hover *,
        html.theme-light a[class*="bg-cyan-5"],         html.theme-light a[class*="bg-cyan-5"]:hover,
        html.theme-light a[class*="bg-cyan-5"] *,       html.theme-light a[class*="bg-cyan-5"]:hover *,
        html.theme-light a[class*="bg-cyan-6"],         html.theme-light a[class*="bg-cyan-6"]:hover,
        html.theme-light a[class*="bg-cyan-6"] *,       html.theme-light a[class*="bg-cyan-6"]:hover *,
        html.theme-light button[class*="bg-cyan-5"],    html.theme-light button[class*="bg-cyan-5"]:hover,
        html.theme-light button[class*="bg-cyan-5"] *,  html.theme-light button[class*="bg-cyan-5"]:hover *,
        html.theme-light button[class*="bg-cyan-6"],    html.theme-light button[class*="bg-cyan-6"]:hover,
        html.theme-light button[class*="bg-cyan-6"] *,  html.theme-light button[class*="bg-cyan-6"]:hover *,
        html.theme-light a[class*="bg-indigo-5"],       html.theme-light a[class*="bg-indigo-5"]:hover,
        html.theme-light a[class*="bg-indigo-5"] *,     html.theme-light a[class*="bg-indigo-5"]:hover *,
        html.theme-light a[class*="bg-indigo-6"],       html.theme-light a[class*="bg-indigo-6"]:hover,
        html.theme-light a[class*="bg-indigo-6"] *,     html.theme-light a[class*="bg-indigo-6"]:hover *,
        html.theme-light button[class*="bg-indigo-5"],  html.theme-light button[class*="bg-indigo-5"]:hover,
        html.theme-light button[class*="bg-indigo-5"] *,html.theme-light button[class*="bg-indigo-5"]:hover *,
        html.theme-light button[class*="bg-indigo-6"],  html.theme-light button[class*="bg-indigo-6"]:hover,
        html.theme-light button[class*="bg-indigo-6"] *,html.theme-light button[class*="bg-indigo-6"]:hover *,
        html.theme-light a[class*="bg-violet-5"],       html.theme-light a[class*="bg-violet-5"]:hover,
        html.theme-light a[class*="bg-violet-5"] *,     html.theme-light a[class*="bg-violet-5"]:hover *,
        html.theme-light a[class*="bg-violet-6"],       html.theme-light a[class*="bg-violet-6"]:hover,
        html.theme-light a[class*="bg-violet-6"] *,     html.theme-light a[class*="bg-violet-6"]:hover *,
        html.theme-light button[class*="bg-violet-5"],  html.theme-light button[class*="bg-violet-5"]:hover,
        html.theme-light button[class*="bg-violet-5"] *,html.theme-light button[class*="bg-violet-5"]:hover *,
        html.theme-light button[class*="bg-violet-6"],  html.theme-light button[class*="bg-violet-6"]:hover,
        html.theme-light button[class*="bg-violet-6"] *,html.theme-light button[class*="bg-violet-6"]:hover *,
        html.theme-light a[class*="bg-purple-5"],       html.theme-light a[class*="bg-purple-5"]:hover,
        html.theme-light a[class*="bg-purple-5"] *,     html.theme-light a[class*="bg-purple-5"]:hover *,
        html.theme-light a[class*="bg-purple-6"],       html.theme-light a[class*="bg-purple-6"]:hover,
        html.theme-light a[class*="bg-purple-6"] *,     html.theme-light a[class*="bg-purple-6"]:hover *,
        html.theme-light button[class*="bg-purple-5"],  html.theme-light button[class*="bg-purple-5"]:hover,
        html.theme-light button[class*="bg-purple-5"] *,html.theme-light button[class*="bg-purple-5"]:hover *,
        html.theme-light button[class*="bg-purple-6"],  html.theme-light button[class*="bg-purple-6"]:hover,
        html.theme-light button[class*="bg-purple-6"] *,html.theme-light button[class*="bg-purple-6"]:hover *,
        html.theme-light a[class*="bg-fuchsia-5"],      html.theme-light a[class*="bg-fuchsia-5"]:hover,
        html.theme-light a[class*="bg-fuchsia-5"] *,    html.theme-light a[class*="bg-fuchsia-5"]:hover *,
        html.theme-light a[class*="bg-fuchsia-6"],      html.theme-light a[class*="bg-fuchsia-6"]:hover,
        html.theme-light a[class*="bg-fuchsia-6"] *,    html.theme-light a[class*="bg-fuchsia-6"]:hover *,
        html.theme-light button[class*="bg-fuchsia-5"], html.theme-light button[class*="bg-fuchsia-5"]:hover,
        html.theme-light button[class*="bg-fuchsia-5"] *,html.theme-light button[class*="bg-fuchsia-5"]:hover *,
        html.theme-light button[class*="bg-fuchsia-6"], html.theme-light button[class*="bg-fuchsia-6"]:hover,
        html.theme-light button[class*="bg-fuchsia-6"] *,html.theme-light button[class*="bg-fuchsia-6"]:hover *,
        html.theme-light a[class*="bg-pink-5"],         html.theme-light a[class*="bg-pink-5"]:hover,
        html.theme-light a[class*="bg-pink-5"] *,       html.theme-light a[class*="bg-pink-5"]:hover *,
        html.theme-light a[class*="bg-pink-6"],         html.theme-light a[class*="bg-pink-6"]:hover,
        html.theme-light a[class*="bg-pink-6"] *,       html.theme-light a[class*="bg-pink-6"]:hover *,
        html.theme-light button[class*="bg-pink-5"],    html.theme-light button[class*="bg-pink-5"]:hover,
        html.theme-light button[class*="bg-pink-5"] *,  html.theme-light button[class*="bg-pink-5"]:hover *,
        html.theme-light button[class*="bg-pink-6"],    html.theme-light button[class*="bg-pink-6"]:hover,
        html.theme-light button[class*="bg-pink-6"] *,  html.theme-light button[class*="bg-pink-6"]:hover *,
        html.theme-light a[class*="bg-rose-5"],         html.theme-light a[class*="bg-rose-5"]:hover,
        html.theme-light a[class*="bg-rose-5"] *,       html.theme-light a[class*="bg-rose-5"]:hover *,
        html.theme-light a[class*="bg-rose-6"],         html.theme-light a[class*="bg-rose-6"]:hover,
        html.theme-light a[class*="bg-rose-6"] *,       html.theme-light a[class*="bg-rose-6"]:hover *,
        html.theme-light button[class*="bg-rose-5"],    html.theme-light button[class*="bg-rose-5"]:hover,
        html.theme-light button[class*="bg-rose-5"] *,  html.theme-light button[class*="bg-rose-5"]:hover *,
        html.theme-light button[class*="bg-rose-6"],    html.theme-light button[class*="bg-rose-6"]:hover,
        html.theme-light button[class*="bg-rose-6"] *,  html.theme-light button[class*="bg-rose-6"]:hover *,
        html.theme-light a[class*="bg-red-5"],          html.theme-light a[class*="bg-red-5"]:hover,
        html.theme-light a[class*="bg-red-5"] *,        html.theme-light a[class*="bg-red-5"]:hover *,
        html.theme-light a[class*="bg-red-6"],          html.theme-light a[class*="bg-red-6"]:hover,
        html.theme-light a[class*="bg-red-6"] *,        html.theme-light a[class*="bg-red-6"]:hover *,
        html.theme-light button[class*="bg-red-5"],     html.theme-light button[class*="bg-red-5"]:hover,
        html.theme-light button[class*="bg-red-5"] *,   html.theme-light button[class*="bg-red-5"]:hover *,
        html.theme-light button[class*="bg-red-6"],     html.theme-light button[class*="bg-red-6"]:hover,
        html.theme-light button[class*="bg-red-6"] *,   html.theme-light button[class*="bg-red-6"]:hover *,
        html.theme-light a[class*="bg-orange-5"],       html.theme-light a[class*="bg-orange-5"]:hover,
        html.theme-light a[class*="bg-orange-5"] *,     html.theme-light a[class*="bg-orange-5"]:hover *,
        html.theme-light a[class*="bg-orange-6"],       html.theme-light a[class*="bg-orange-6"]:hover,
        html.theme-light a[class*="bg-orange-6"] *,     html.theme-light a[class*="bg-orange-6"]:hover *,
        html.theme-light button[class*="bg-orange-5"],  html.theme-light button[class*="bg-orange-5"]:hover,
        html.theme-light button[class*="bg-orange-5"] *,html.theme-light button[class*="bg-orange-5"]:hover *,
        html.theme-light button[class*="bg-orange-6"],  html.theme-light button[class*="bg-orange-6"]:hover,
        html.theme-light button[class*="bg-orange-6"] *,html.theme-light button[class*="bg-orange-6"]:hover *,
        html.theme-light a[class*="bg-amber-5"],        html.theme-light a[class*="bg-amber-5"]:hover,
        html.theme-light a[class*="bg-amber-5"] *,      html.theme-light a[class*="bg-amber-5"]:hover *,
        html.theme-light a[class*="bg-amber-6"],        html.theme-light a[class*="bg-amber-6"]:hover,
        html.theme-light a[class*="bg-amber-6"] *,      html.theme-light a[class*="bg-amber-6"]:hover *,
        html.theme-light button[class*="bg-amber-5"],   html.theme-light button[class*="bg-amber-5"]:hover,
        html.theme-light button[class*="bg-amber-5"] *, html.theme-light button[class*="bg-amber-5"]:hover *,
        html.theme-light button[class*="bg-amber-6"],   html.theme-light button[class*="bg-amber-6"]:hover,
        html.theme-light button[class*="bg-amber-6"] *, html.theme-light button[class*="bg-amber-6"]:hover *,
        html.theme-light a[class*="bg-emerald-5"],      html.theme-light a[class*="bg-emerald-5"]:hover,
        html.theme-light a[class*="bg-emerald-5"] *,    html.theme-light a[class*="bg-emerald-5"]:hover *,
        html.theme-light a[class*="bg-emerald-6"],      html.theme-light a[class*="bg-emerald-6"]:hover,
        html.theme-light a[class*="bg-emerald-6"] *,    html.theme-light a[class*="bg-emerald-6"]:hover *,
        html.theme-light button[class*="bg-emerald-5"], html.theme-light button[class*="bg-emerald-5"]:hover,
        html.theme-light button[class*="bg-emerald-5"] *,html.theme-light button[class*="bg-emerald-5"]:hover *,
        html.theme-light button[class*="bg-emerald-6"], html.theme-light button[class*="bg-emerald-6"]:hover,
        html.theme-light button[class*="bg-emerald-6"] *,html.theme-light button[class*="bg-emerald-6"]:hover *,
        html.theme-light a[class*="bg-green-5"],        html.theme-light a[class*="bg-green-5"]:hover,
        html.theme-light a[class*="bg-green-5"] *,      html.theme-light a[class*="bg-green-5"]:hover *,
        html.theme-light a[class*="bg-green-6"],        html.theme-light a[class*="bg-green-6"]:hover,
        html.theme-light a[class*="bg-green-6"] *,      html.theme-light a[class*="bg-green-6"]:hover *,
        html.theme-light button[class*="bg-green-5"],   html.theme-light button[class*="bg-green-5"]:hover,
        html.theme-light button[class*="bg-green-5"] *, html.theme-light button[class*="bg-green-5"]:hover *,
        html.theme-light button[class*="bg-green-6"],   html.theme-light button[class*="bg-green-6"]:hover,
        html.theme-light button[class*="bg-green-6"] *, html.theme-light button[class*="bg-green-6"]:hover *,
        html.theme-light a[class*="bg-teal-5"],         html.theme-light a[class*="bg-teal-5"]:hover,
        html.theme-light a[class*="bg-teal-5"] *,       html.theme-light a[class*="bg-teal-5"]:hover *,
        html.theme-light a[class*="bg-teal-6"],         html.theme-light a[class*="bg-teal-6"]:hover,
        html.theme-light a[class*="bg-teal-6"] *,       html.theme-light a[class*="bg-teal-6"]:hover *,
        html.theme-light button[class*="bg-teal-5"],    html.theme-light button[class*="bg-teal-5"]:hover,
        html.theme-light button[class*="bg-teal-5"] *,  html.theme-light button[class*="bg-teal-5"]:hover *,
        html.theme-light button[class*="bg-teal-6"],    html.theme-light button[class*="bg-teal-6"]:hover,
        html.theme-light button[class*="bg-teal-6"] *,  html.theme-light button[class*="bg-teal-6"]:hover *,
        html.theme-light a[class*="bg-gradient-to-"],       html.theme-light a[class*="bg-gradient-to-"]:hover,
        html.theme-light a[class*="bg-gradient-to-"] *,     html.theme-light a[class*="bg-gradient-to-"]:hover *,
        html.theme-light button[class*="bg-gradient-to-"],  html.theme-light button[class*="bg-gradient-to-"]:hover,
        html.theme-light button[class*="bg-gradient-to-"] *,html.theme-light button[class*="bg-gradient-to-"]:hover *,
        html.theme-light a.bg-\[\#5865F2\],        html.theme-light a.bg-\[\#5865F2\]:hover,
        html.theme-light a.bg-\[\#5865F2\] *,      html.theme-light a.bg-\[\#5865F2\]:hover *,
        html.theme-light button.bg-\[\#5865F2\],   html.theme-light button.bg-\[\#5865F2\]:hover,
        html.theme-light button.bg-\[\#5865F2\] *, html.theme-light button.bg-\[\#5865F2\]:hover *,
        html.theme-light a.home-btn-primary,        html.theme-light a.home-btn-primary:hover,
        html.theme-light a.home-btn-primary *,      html.theme-light a.home-btn-primary:hover *,
        html.theme-light a.home-btn-secondary,      html.theme-light a.home-btn-secondary:hover,
        html.theme-light a.home-btn-secondary *,    html.theme-light a.home-btn-secondary:hover *,
        html.theme-light .portal-btn-primary,       html.theme-light .portal-btn-primary:hover,
        html.theme-light .portal-btn-primary *,     html.theme-light .portal-btn-primary:hover *,
        html.theme-light .portal-btn-success,       html.theme-light .portal-btn-success:hover,
        html.theme-light .portal-btn-success *,     html.theme-light .portal-btn-success:hover *,
        html.theme-light .portal-btn-danger,        html.theme-light .portal-btn-danger:hover,
        html.theme-light .portal-btn-danger *,      html.theme-light .portal-btn-danger:hover *,
        html.theme-light .portal-btn-warning,       html.theme-light .portal-btn-warning:hover,
        html.theme-light .portal-btn-warning *,     html.theme-light .portal-btn-warning:hover * {
            color: #ffffff !important;
        }
    