
	/* ============================================================================
           MOUSEPLAYER CMS LIGHT MODE ADAPTER (Stripe / Linear Slate Design System)
           ============================================================================ */
        /* 1. Główny kontener artykułu i tło podstron w page.php */
        html.light body,
        html.light .mp-legal-wrapper,
        html.light .mp-abuse-wrapper,
        html.light .mp-support-wrapper,
        html.light .mp-docs-wrapper,
        html.light .mp-features-wrapper,
        html.light .mp-uc-wrapper,
        html.light .mp-hw-wrapper {
            background-color: #F8FAFC !important;
            color: #0F172A !important;
        }
        /* Die Fassungsangabe der Rechtsseiten: im hellen Thema traegt der
           alte Ton (4,83:1 auf weiss), im dunklen nicht - siehe die
           Grundregel oben. */
        html.light .effective-date { color: #6b7280; }

        html.light article.bg-corporate-800\/40 {
            background-color: #FFFFFF !important;
            border-color: #E2E8F0 !important; /* slate-200 */
            color: #0F172A !important;
            box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05) !important;
        }

        /* 2. NAPRAWA NAGŁÓWKÓW HERO & BANNERS (Brak czarno-szarych gradientów) */
        html.light .header-banner h1,
        html.light .hero h1,
        html.light .mp-hero h1,
        html.light .mp-uc-hero h1,
        html.light .mp-support-hero h1,
        html.light .mp-hw-hero h1,
        html.light .mp-abuse-header h1,
        html.light .mp-legal-header h1,
        html.light .mp-highlight-content h3 {
            background: none !important;
            -webkit-background-clip: border-box !important;
            -webkit-text-fill-color: #0F172A !important;
            color: #0F172A !important; /* slate-900 */
        }
        html.light .header-banner p,
        html.light .hero p,
        html.light .mp-hero p,
        html.light .mp-uc-hero p,
        html.light .mp-support-hero p,
        html.light .mp-hw-hero p,
        html.light .mp-abuse-header p,
        html.light .mp-legal-header p {
            color: #475569 !important; /* slate-600 */
        }
        html.light .header-banner,
        html.light .hero,
        html.light .mp-hero,
        html.light .mp-uc-hero,
        html.light .mp-support-hero,
        html.light .mp-hw-hero,
        html.light .mp-abuse-header,
        html.light .mp-legal-header {
            background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.08) 0%, transparent 70%) !important;
            border-color: #E2E8F0 !important;
            box-shadow: none !important;
        }

        /* 3. NAPRAWA WSZYSTKICH KART I BLOKÓW W TREŚCIACH CMS */
        html.light .card,
        html.light .mp-doc-card,
        html.light .mp-feature-card,
        html.light .mp-uc-card,
        html.light .mp-support-card,
        html.light .mp-hw-card,
        html.light .mp-contact-card,
        html.light .mp-faq-list,
        html.light .legal-section,
        html.light .step-content,
        html.light .deep-dive {
            background-color: #FFFFFF !important;
            border: 1px solid #E2E8F0 !important; /* slate-200 */
            color: #0F172A !important;
            box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05), 0 1px 2px -1px rgb(0 0 0 / 0.05) !important;
        }
        html.light .card:hover,
        html.light .mp-doc-card:hover,
        html.light .mp-feature-card:hover,
        html.light .mp-uc-card:hover,
        html.light .mp-support-card:hover,
        html.light .mp-hw-card:hover {
            border-color: #06B6D4 !important; /* cyan-500 */
            box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.1) !important;
            background-color: #FFFFFF !important;
        }

        /* 4. Karty wewnętrzne i pod-karty (Sub-cards, FAQ items, kroki) */
        html.light .mp-uc-subcard,
        html.light .mp-hw-subcard,
        html.light .mp-faq-item,
        html.light .contact-item {
            background-color: #F8FAFC !important; /* slate-50 */
            border-color: #E2E8F0 !important;
        }
        html.light .step-number {
            background-color: #FFFFFF !important;
            border-color: #0891B2 !important; /* cyan-600 */
            color: #0891B2 !important;
            box-shadow: 0 0 10px rgba(8, 145, 178, 0.15) !important;
        }
        html.light .step-container::before {
            background-color: #CBD5E1 !important; /* slate-300 */
        }

        /* Beschreibung einer Uebersichtskachel. Sie trug text-gray-400,
           und im hellen Thema bringt der Adapter das auf #64748B - auf
           der Kachel (slate-100) sind das 4,34:1 bei 14px, AA verlangt
           4,5. Eine Regel HIER haette nicht geholfen: der Adapter steht
           im Body und gewinnt gegen jede Regel dieser Datei bei gleicher
           Spezifitaet. Deshalb eine eigene Klasse, die er nicht kennt -
           dunkel #9CA3AF wie zuvor, hell slate-600 mit 6,92:1. */
        .mp-kachel-text { color: #9CA3AF; }
        html.light .mp-kachel-text { color: #475569 !important; }

        /* 5. Karta wyróżniona "Hybrid Architecture & CAPI" (mp-feature-highlight) */
        html.light .mp-feature-highlight {
            background: linear-gradient(145deg, #F8FAFC 0%, #F1F5F9 100%) !important;
            border-color: #0891B2 !important; /* cyan-600 */
        }

        /* 6. Hierarchia typograficzna wewnątrz stron CMS (Light Mode) */
        html.light .mp-docs-wrapper h1, html.light .mp-docs-wrapper h2, html.light .mp-docs-wrapper h3, html.light .mp-docs-wrapper h4,
        html.light .mp-features-wrapper h1, html.light .mp-features-wrapper h2, html.light .mp-features-wrapper h3, html.light .mp-features-wrapper h4,
        html.light .mp-uc-wrapper h1, html.light .mp-uc-wrapper h2, html.light .mp-uc-wrapper h3, html.light .mp-uc-wrapper h4,
        html.light .mp-support-wrapper h1, html.light .mp-support-wrapper h2, html.light .mp-support-wrapper h3, html.light .mp-support-wrapper h4,
        html.light .mp-legal-wrapper h1, html.light .mp-legal-wrapper h2, html.light .mp-legal-wrapper h3, html.light .mp-legal-wrapper h4,
        html.light .mp-hw-wrapper h1, html.light .mp-hw-wrapper h2, html.light .mp-hw-wrapper h3, html.light .mp-hw-wrapper h4,
        html.light .mp-abuse-wrapper h1, html.light .mp-abuse-wrapper h2, html.light .mp-abuse-wrapper h3, html.light .mp-abuse-wrapper h4,
        html.light .card h3, html.light .step-content h2, html.light .legal-section h2, html.light .legal-section h3,
        html.light .deep-dive h2, html.light .deep-dive strong, html.light .mp-faq-item h4, html.light .mp-contact-item h4 {
            color: #0F172A !important; /* slate-900 */
        }

        html.light .mp-docs-wrapper p, html.light .mp-docs-wrapper li,
        html.light .mp-features-wrapper p, html.light .mp-features-wrapper li,
        html.light .mp-uc-wrapper p, html.light .mp-uc-wrapper li,
        html.light .mp-support-wrapper p, html.light .mp-support-wrapper li,
        html.light .mp-legal-wrapper p, html.light .mp-legal-wrapper li,
        html.light .mp-hw-wrapper p, html.light .mp-hw-wrapper li,
        html.light .mp-abuse-wrapper p, html.light .mp-abuse-wrapper li,
        html.light .card p, html.light .step-content p, html.light .legal-section p,
        html.light .deep-dive p, html.light .mp-faq-item p, html.light .mp-contact-item p {
            color: #334155 !important; /* slate-700 */
        }

        /* Akcenty i odznaki na stronach dokumentacji */
        html.light .mp-highlight,
        html.light .mp-uc-card h3,
        html.light .mp-hw-card h3,
        html.light .mp-doc-card h3,
        html.light .pro-tip h4,
        html.light .legal-section h2 {
            /* cyan-700 statt cyan-600: gemessen 3,52:1 auf #F8FAFC, noetig
               sind 4,5:1 fuer Text dieser Groesse. cyan-700 bringt 5,1:1. */
            color: #0E7490 !important; /* cyan-700 */
        }
        html.light .mp-badge,
        html.light .badge {
            background-color: #ECFEFF !important; /* cyan-50 */
            border-color: #06B6D4 !important; /* cyan-500 */
            /* cyan-700 statt cyan-600, aus demselben Grund wie bei den
               Ueberschriften darueber - nur gegen einen anderen Grund:
               das Abzeichen steht auf cyan-50 und nicht auf slate-50.
               Gemessen #0891B2 auf #ECFEFF 3,54:1 bei 12px, cyan-700
               bringt 5,15:1. */
            color: #0E7490 !important; /* cyan-700 */
        }

        /* 7. Bloki informacyjne (Info-boxes, Callouts, Porady) */
        html.light .mp-info-box,
        html.light .highlight-box,
        html.light .pro-tip,
        html.light .mp-legal-box,
        html.light .mp-abuse-box-info {
            background-color: #F8FAFC !important; /* slate-50 */
            border-left-color: #0891B2 !important; /* cyan-600 */
            color: #1E293B !important;
        }
        html.light .mp-info-box p,
        html.light .highlight-box p,
        html.light .pro-tip p,
        html.light .mp-legal-box p,
        html.light .mp-abuse-box-info p {
            color: #1E293B !important;
        }
        html.light .mp-abuse-box {
            background-color: #FEF2F2 !important; /* red-50 */
            border-left-color: #DC2626 !important; /* red-600 */
            color: #7F1D1D !important;
        }

        /* 8. NAPRAWA TABEL W DOKUMENTACJI (.mp-table) DLA OBU MOTYWÓW */
        html.light .mp-table {
            border: 1px solid #E2E8F0 !important;
            border-radius: 8px !important;
            overflow: hidden !important;
        }
        html.light .mp-table th {
            background-color: #F1F5F9 !important; /* slate-100 */
            color: #0F172A !important;
            border-bottom: 2px solid #CBD5E1 !important;
        }
        html.light .mp-table td {
            color: #334155 !important;
            border-bottom: 1px solid #E2E8F0 !important;
        }

        /* 9. BLOKI KODU (Pozostają ciemne dla najlepszego kontrastu!) */
        html.light .mp-code-container,
        html.light .mp-visual-block,
        html.light .mp-code-block,
        html.light .code-block {
            background-color: #0F172A !important; /* slate-900 */
            border-color: #334155 !important; /* slate-700 */
            color: #E2E8F0 !important;
        }
        html.light .mp-copy-btn {
            background-color: rgba(255, 255, 255, 0.15) !important;
            color: #FFFFFF !important;
            border: 1px solid rgba(255, 255, 255, 0.2) !important;
        }
        html.light .mp-copy-btn:hover {
            background-color: rgba(255, 255, 255, 0.25) !important;
        }

        /* 10. SPIS TREŚCI (Karty podstron na dole page.php) */
        html.light a.group.bg-corporate-900\/60 {
            background-color: #FFFFFF !important;
            border-color: #E2E8F0 !important;
            box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05), 0 1px 2px -1px rgb(0 0 0 / 0.05) !important;
        }
        html.light a.group.bg-corporate-900\/60:hover {
            background-color: #F8FAFC !important;
            border-color: #06B6D4 !important;
            box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.08) !important;
        }
        html.light a.group.bg-corporate-900\/60 h3 {
            color: #0F172A !important;
        }
        html.light a.group.bg-corporate-900\/60:hover h3 {
            color: #0891B2 !important; /* cyan-600 */
        }
        html.light a.group.bg-corporate-900\/60 p {
            color: #64748B !important;
        }
        html.light a.group.bg-corporate-900\/60 .w-10.h-10 {
            background-color: #ECFEFF !important;
            border-color: #CFFAFE !important;
            color: #0891B2 !important;
        }

        /* 11. Przyciski akcji na stronach CMS */
        /* Bei einer gefuellten Cyan-Flaeche geht der Kontrast ueber den
           GRUND, nicht ueber die Schrift - weiss auf cyan-600 misst 3,68:1
           und faellt unter AA. Dieselbe Leiter wie bei .mp-btn-mega weiter
           unten und wie in der Oberflaeche seit dem 15.08.2026: cyan-700
           traegt weiss mit 5,36:1, der Hover cyan-800 mit 7,27:1.
           Nachgezogen wurde damals die Oberflaeche, diese Regel nicht. */
        html.light .mp-btn-primary {
            background-color: #0E7490 !important; /* cyan-700 */
            color: #FFFFFF !important;
            box-shadow: 0 4px 12px rgba(14, 116, 144, 0.25) !important;
        }
        html.light .mp-btn-primary:hover {
            background-color: #155E75 !important; /* cyan-800 */
            color: #FFFFFF !important;
        }
        html.light .mp-btn-secondary {
            background-color: #FFFFFF !important;
            color: #0F172A !important;
            border: 1px solid #CBD5E1 !important;
        }
        html.light .mp-btn-secondary:hover {
            background-color: #F1F5F9 !important;
        }
        
        /* ============================================================================
           NAPRAWA CTA BOXA ("READY TO SEE THE UNSEEN?") W LIGHT MODE
           ============================================================================ */
        html.light .mp-cta-section {
            background: linear-gradient(135deg, #FFFFFF 0%, #F0F9FF 100%) !important;
            border: 1px solid #CFFAFE !important; /* cyan-100 */
            box-shadow: 0 20px 25px -5px rgba(6, 182, 212, 0.08), 0 8px 10px -6px rgba(6, 182, 212, 0.04) !important;
        }
        html.light .mp-cta-section h2 {
            color: #0F172A !important;
            background: none !important;
            -webkit-text-fill-color: #0F172A !important;
        }
        html.light .mp-cta-section p {
            color: #475569 !important;
        }
		/* #0E7490 statt #1a908f: auf weiss misst der alte Ton 3,87:1 bei
		   20px, der neue 5,36:1. */
		html.light .intro-text {
			color:#0E7490 !important;
		}
		/* DER GRUND GEHOERT MIT DAZU. Hier stand nur die Schriftfarbe, und
		   der Knopf holte sich im hellen Thema einen fast weissen Grund aus
		   dem CMS-Inhalt: gemessen 1,05:1 auf /unternehmen/support - weisse
		   Schrift auf #F8FAFC, der Knopf war praktisch unsichtbar.
		   Genau die Falle aus CLAUDE.md: bei einer gefuellten Flaeche geht
		   der Kontrast ueber den GRUND, nicht ueber die Schrift. Wer hier
		   eine Farbe setzt, muss beide setzen. cyan-700 traegt weiss mit
		   5,36:1, der Hover cyan-800 mit 7,27:1 - dieselbe Leiter wie in
		   der Oberflaeche und in den Mail-Huellen. */
		html.light .mp-btn-mega {
			background:#0E7490 !important;
			background-image:none !important;
			border-color:#0E7490 !important;
			color:#FFF !important;
		}
		html.light .mp-btn-mega:hover {
			background:#155E75 !important;
			border-color:#155E75 !important;
		}
		html.light .mp-support-card a:hover {
			color: #0e98ad;
		}
		html.light table.mp-table {
			font-size: 0.9rem;
		}
		/* ============================================================================
           RESPONSYWNA NAPRAWA TABEL W DOKUMENTACJI (.mp-table)
           ============================================================================ */
        .mp-table {
            width: 100%;
            max-width: 100%;
            overflow-x: auto;
            display: block;
            border-collapse: collapse;
            word-break: normal;
        }
        
        /* Kontener zapobiegający rozjeżdżaniu się layoutu */
        .mp-doc-card, .mp-hw-card, .legal-section {
            overflow: hidden;
        }

        /* Styl komórek i elastyczne łamanie długich metod JS (np. window.LiveChatWidget.call...) */
        .mp-table th, 
        .mp-table td {
            padding: 12px 16px;
            text-align: left;
            vertical-align: top;
            word-break: break-word; /* Zapobiega rozpychaniu kolumn przez długie ciągi znaków */
        }
        
        .mp-table td code {
            white-space: pre-wrap;
            word-break: break-all;
        }

        @media (min-width: 768px) {
            .mp-table {
                display: table;
            }
        }

        /* ============================================================================
           HELLES THEMA: harte Dunkelfarben aus den CMS-Inhalten
           ----------------------------------------------------------------------------
           Die Rechtstexte bringen einen eigenen <style> mit, der fuers dunkle
           Thema gebaut ist. Zwei Farben ueberstehen die Umschaltung und werden
           dabei unlesbar: das weisse <strong> und das helle Cyan der Verweise.
           Im dunklen Thema faellt das nie auf - dort ist es richtig.

           !important ist Pflicht: die Regel aus dem Inhalt (.mp-legal-box strong)
           steht frueher im Dokument, schlaegt aber bei gleicher Spezifitaet.
           ============================================================================ */
        html.light .mp-legal-wrapper strong,
        html.light .mp-legal-box strong,
        html.light .mp-abuse-wrapper strong,
        html.light .mp-support-wrapper strong,
        html.light .mp-docs-wrapper strong,
        html.light .mp-features-wrapper strong,
        html.light .mp-uc-wrapper strong,
        html.light .mp-hw-wrapper strong,
        html.light .legal-section strong,
        html.light .contact-item strong {
            color: #0F172A !important; /* slate-900 */
        }
        /* Ausnahme: Codebloecke bleiben absichtlich dunkel (Abschnitt 9 oben).
           Ein <strong> darin muss hell bleiben, sonst dunkel auf dunkel. */
        html.light .mp-code-container strong,
        html.light .mp-code-block strong,
        html.light .code-block strong,
        html.light .mp-visual-block strong {
            color: #E2E8F0 !important;
        }

        /* Verweise und Akzente: #22d3ee (cyan-400) auf #F8FAFC ergibt rund
           2,2:1 - zu wenig fuer Text. cyan-700 bringt es ueber 4,5:1. */
        html.light .mp-legal-wrapper a,
        html.light .legal-section a,
        html.light .mp-legal-section h2,
        html.light .mp-legal-wrapper ul li::before {
            color: #0E7490 !important; /* cyan-700 */
        }
        html.light .mp-legal-section h2::before {
            background: #0E7490 !important;
        }
        html.light .mp-legal-box {
            border-color: #E2E8F0 !important;
            border-left-color: #0891B2 !important;
        }
        /* Codeauszeichnung im Fliesstext: ihr Hintergrund ist weiss auf weiss. */
        html.light .mp-legal-wrapper code {
            background: #F1F5F9 !important; /* slate-100 */
            border: 1px solid #E2E8F0 !important;
            color: #0F172A !important;
        }
        /* Dasselbe fuer die uebrigen Rubriken: JEDE hat ihren eigenen
           Wrapper, und eine Regel, die nur zwei davon nennt, laesst die
           anderen stehen.
           Am 19.08.2026 stand hier nur .mp-docs-wrapper - gemessen 1,81:1
           (#22D3EE auf weisser Karte) gegen 13,35:1 danach, 517
           code-Elemente auf 30 Seiten. Am 28.08.2026 mass derselbe Wert
           WIEDER 1,81:1, und zwar auf /funktionen/anwendungsfaelle
           (.mp-uc-wrapper) und /anleitungen-ressourcen/wie-mouseplayer-
           funktioniert (.mp-hw-wrapper): zwei Rubriken, die die Liste nicht
           kannte. Wer eine Rubrik ergaenzt, traegt ihren Wrapper hier ein -
           oder bindet die Regel gar nicht an den Wrapper. */
        html.light .mp-docs-wrapper code,
        html.light .mp-uc-wrapper code,
        html.light .mp-hw-wrapper code,
        html.light .mp-features-wrapper code,
        html.light .mp-abuse-wrapper code,
        html.light .mp-support-wrapper code {
            background: #F1F5F9 !important; /* slate-100 */
            border: 1px solid #E2E8F0 !important;
            color: #0F172A !important;
        }
        /* Ruecknahme fuer den Fall, dass ein code IM Codeblock steht: der
           bleibt im hellen Thema dunkel (#0F172A), dunkler Text darauf
           waere unlesbar. Heute gibt es null solche Faelle - gezaehlt
           ueber alle 30 Doku-Seiten -, die Regel haelt sie kuenftig frei. */
        html.light .mp-code-block code,
        html.light .mp-code-container code {
            background: transparent !important;
            border-color: #334155 !important;
            color: #E2E8F0 !important;
        }
        html.light .mp-legal-table th {
            color: #0E7490 !important;
            border-bottom-color: #67E8F9 !important; /* cyan-300 */
        }
        html.light .mp-legal-table td {
            color: #334155 !important;
            border-bottom-color: #E2E8F0 !important;
        }
        html.light .mp-legal-table tr:hover td {
            background: #F1F5F9 !important;
        }
        /* Klassenlose Verweise in den CMS-Karten: #22d3ee auf Weiss ergibt
           1,81:1 (gemessen auf /company/support). Nur klassenlose - jeder als
           Schaltflaeche gestaltete Link traegt eine Klasse und behaelt damit
           seine weisse Schrift auf farbigem Grund. */
        html.light .mp-support-wrapper a:not([class]),
        html.light .mp-docs-wrapper a:not([class]),
        html.light .mp-features-wrapper a:not([class]),
        html.light .mp-uc-wrapper a:not([class]),
        html.light .mp-hw-wrapper a:not([class]),
        html.light .mp-abuse-wrapper a:not([class]) {
            color: #0E7490 !important; /* cyan-700 */
        }

        /* Offene Platzhalter sollen auffallen - auch auf hellem Grund. */
        html.light .mp-todo {
            background: #FEF3C7 !important;  /* amber-100 */
            border-color: #B45309 !important; /* amber-700 */
            color: #92400E !important;        /* amber-800 */
        }
	