/* Leadzloop · contrastherstel licht/donker (8 nov 2026) · laatste stylesheet, na lz-kaart-dk.css
   Uitkomst van een controle op "licht op licht" en "donker op donker" in de hele app. Alleen tekst- en vlakkleuren,
   alleen in de stand waarin het misging; opbouw, maten en gedrag blijven gelijk.
   Donker = data-theme="dark" óf html.lzx-dk (ook bij Automatisch met een donker toestel). Licht = het omgekeerde.
   Terugdraaien: de link-regel van lz-contrast.css uit index.html halen. */

/* ===================== DONKERE STAND ===================== */

/* Berichten: melding "Ongedaan maken" onderaan (werd wit met witte tekst) */
:is(html[data-theme="dark"],html.lzx-dk) .mx-undo{background:linear-gradient(135deg,#16306B,#0E214D)!important;color:#fff!important;border:1px solid rgba(130,170,255,.35)}

/* WhatsApp: sjabloon kiezen en bijlagelabels (wit vlak, lichte tekst) */
:is(html[data-theme="dark"],html.lzx-dk) .lzwc-tl button{background:#202C33!important;color:#E9EDEF!important;border-color:rgba(233,237,239,.14)!important}
:is(html[data-theme="dark"],html.lzx-dk) .lzwc-fl span{background:#2A3942!important;color:#E9EDEF!important}

/* Meldingen: lege lijst ("Nog geen meldingen") stond donker op donker */
:is(html[data-theme="dark"],html.lzx-dk) .mldp-e b{color:#E8EEFA!important}

/* Dealvenster: stappenblok was een wit vlak in een donker venster */
:is(html[data-theme="dark"],html.lzx-dk) .pdw .lzdf{background:var(--lzx-card,#0D1830)!important;border-color:rgba(130,165,255,.18)!important}

/* Offerte: "herstel", netto totaal, rekentool-antwoorden */
:is(html[data-theme="dark"],html.lzx-dk) #orbox .or-rst{color:#5EC4E6!important}
:is(html[data-theme="dark"],html.lzx-dk) #qf #tots .ln-net{color:#3FD1C6!important}

/* Leads-kanban: label "te laat" */
:is(html[data-theme="dark"],html.lzx-dk) .lfkb-card em.late{color:#FCA5A5!important}

/* Klantdossier › Documenten en Berichten (lz-vkdoc.css): witte regels, bruin "open", groen "ok" */
:is(html[data-theme="dark"],html.lzx-dk) .vkdb-it{background:var(--lzx-soft,#13213D)!important;color:#E8EEFA!important;border-color:rgba(130,165,255,.16)!important}
:is(html[data-theme="dark"],html.lzx-dk) .vkdw-l li.on{background:var(--lzx-soft,#13213D)!important;color:#E8EEFA!important}
:is(html[data-theme="dark"],html.lzx-dk) .vkdb-open{color:#F3C27A!important}
:is(html[data-theme="dark"],html.lzx-dk) .vkdb-ok{color:#5CCB7E!important}

/* Mijn werk: "Klant wil niet" (rood op donkerblauw) en teller Open/Gedaan */
:is(html[data-theme="dark"],html.lzx-dk) .mjw-panel .mjw-pfx .mjw-fno{color:#FFB4C2!important}
:is(html[data-theme="dark"],html.lzx-dk) .mjw-tbi button b{color:#8DB4FF!important}

/* Bedragen in werkkaarten: blauw verloop werd onleesbaar op donker (ook bij Automatisch) */
html.lzx-dk .lzh .lzh-vkf strong{background:none!important;-webkit-text-fill-color:currentColor!important;color:#fff!important}

/* Automatiseringen, checklist werkbon/schouw: bruinoranje op donker */
:is(html[data-theme="dark"],html.lzx-dk) :is(.br-miss li,.br-cap,.br-mi){color:#FCD34D!important}
:is(html[data-theme="dark"],html.lzx-dk) .wkchk li{color:#FBBF24!important}

/* Bedrijf: links bij ontbrekende gegevens, mailstatus "ok" */
:is(html[data-theme="dark"],html.lzx-dk) #bz .bz-mmiss li a{color:#8DB4FF!important}
html.lzx-dk .mv-cst.ok{color:#4ADE80!important}

/* Klantportaal (Voltvisie): donkergroene tekst en lichte vlakken zonder donkere variant */
html.kpv[data-kpt="dark"] .kp :is(.kp-bnav a:not(.on),.kp-bnav a:not(.on) span,.kp-quick button,.kp-oh-cta,.kp-oh-go,.kp-sc-rows h4){color:#BEF264!important}
html.kpv[data-kpt="dark"] .kp .kpc-intro{background:rgba(132,204,22,.14)!important}
html.kpv[data-kpt="dark"] :is(.kp-trust,.kp-li){background:rgba(132,204,22,.08)!important;border-color:rgba(190,242,100,.18)!important}
html.kpv[data-kpt="dark"] .kp-li-img{background:rgba(255,255,255,.06)!important}

/* Afspraak plannen (afspraak.js): gekozen tijd was blauw op donkerblauw, gekozen duur wit op bijna-wit.
   Nu allebei zoals de gekozen dag: gevuld blauw met witte tekst. Bezet-tijd leesbaar amber. */
:is(html[data-theme="dark"],html.lzx-dk) .lzaf-sl.on{background:#2A63F0!important;border-color:#2A63F0!important;color:#fff!important;box-shadow:0 8px 18px -10px rgba(76,132,255,.9)}
:is(html[data-theme="dark"],html.lzx-dk) .lzaf-dc.on{background:#2A63F0!important;border-color:#2A63F0!important;color:#fff!important}
:is(html[data-theme="dark"],html.lzx-dk) .lzaf-sl.bz:not(.on){color:#FCD34D!important}

/* --- ronde 2 (8 nov, 16:15) --- */
/* Mijn werk: blok "Nog open", planningscontrole, blauwe tekst op donkere tint, grijze toelichting */
:is(html[data-theme="dark"],html.lzx-dk) .mjw-open{color:#BFD3FF!important}
:is(html[data-theme="dark"],html.lzx-dk) .mjw-chk.bad{color:#FCD34D!important}
:is(html[data-theme="dark"],html.lzx-dk) .mjw-chk.ok{color:#5EEAD4!important}
:is(html[data-theme="dark"],html.lzx-dk) :is(.mjw-seg button.on,.mjw-tag,.mjw-chips.sm button.on,.mjw-out label:has(input:checked),.mjw-agi b,.mjw-c,.mjw-golink,.mjw-clear){color:#8DB4FF!important}
:is(html[data-theme="dark"],html.lzx-dk) .mjw-revr em:not(.warn){color:#9AA8C2!important}
/* Producten/Voorraad: groot getal op de kaart */
:is(html[data-theme="dark"],html.lzx-dk) body .lzst table.lzc td.lzc-big{color:#8DB4FF!important}
/* Afspraak plannen: foutmelding onderaan */
:is(html[data-theme="dark"],html.lzx-dk) .lzaf-ft .err{color:#FCA5A5!important}
/* Offertes: teller in de filterknopjes */
:is(html[data-theme="dark"],html.lzx-dk) .wrap #fc .chip small{color:#8DB4FF!important;background:rgba(76,132,255,.18)!important}
/* Schouw: ontbrekende onderdelen bij starten */
:is(html[data-theme="dark"],html.lzx-dk) .sn-start :is(.sn-smiss,.sn-sverk li small){color:#FBBF24!important}
/* Projecten & service: waarschuwing (deze pagina wordt alleen donker bij de keuze Donker) */
:root[data-theme="dark"] .psx-z .psxs-cta.warn b{color:#FDBA74!important}
/* Klantportaal donker: link "Wissen" bij ondertekenen, tekstvak tijdens slepen van een bestand */
html[data-kpt="dark"] .kp .kp-sg-h .kp-link{color:#7DD3FC!important}
html[data-kpt="dark"] .kp-cmp.drag textarea{background:var(--km2)!important}

/* ===================== LICHTE STAND ===================== */

/* Stappen (Mijn werk, schouw, offerte): huidige stap was een wit rondje met witte tekst */
:is(html[data-theme="light"],html.lzx-l:not(.lzx-dk)) .lz-steps li.cur .lz-sd{background:#0a5cff!important;border-color:#0a5cff!important;color:#fff!important}

/* Mijn werk-paneel: knoppen Openen en Ga naar (lichtblauw/wit op een bleek vlak) */
:is(html[data-theme="light"],html.lzx-l:not(.lzx-dk)) .mjw-panel.lzx .mjw-open{color:#0a7cc0!important}
:is(html[data-theme="light"],html.lzx-l:not(.lzx-dk)) .mjw-panel.lzx .mjw-go{color:#0B3FA8!important}

/* Berichten: richting "uit" in de lijst */
:is(html[data-theme="light"],html.lzx-l:not(.lzx-dk)) .mx-kdir.uit{color:#1F5BFF!important}

/* ===================== BEIDE STANDEN (vaste kleurparen) ===================== */

/* Suggestiekaart in de berekening is altijd blauw: uitleg en label licht houden */
.lzf-sug small{color:rgba(225,234,255,.86)!important}
.lzf-sug .lz-tag{color:#fff!important}

/* Offerte op volledig scherm en vergroot voorbeeld staan altijd op lichtgrijs: donkere tekst */
.ob-full,.ob-full .ob-fl,.ob-pv.ob-max .ob-msg{color:#0B1530!important}
/* fotovak zonder foto (wit): icoon zichtbaar */
#qf .ob-ph,.lzo-ph{color:#0B1530!important}

/* KPI-tegels in Marketing & Rapportage en Mijn overzicht zijn altijd donkerblauw: cijfer wit */
html.lzx.lzx-l :is(#pd-ps,#pc-schouwen,#pc-installaties,#pc-werkbonnen,#pc-onderhoud,#fwp,.lzh.fwx,#lzh,#lzaf,#ipz) .fw-sum .lzh-s b{color:#fff!important;-webkit-text-fill-color:currentColor}

/* Offerte/factuurregels: kruisje op een productfoto (was wit op bijna-wit in donker) */
.lines-ed .ln-img button{background:#0B1220!important;color:#fff!important}
/* Mijn werk: zoekveld in de blauwe filterkaart is altijd wit: donkere tekst */
.mjw .mjw-fcard>.mjw-search input{color:#0B1B33!important}
.mjw .mjw-fcard>.mjw-search input::placeholder{color:#5B6B82!important}
/* Afspraak plannen: label "Werkt niet" op lichtgrijs, vraagteken-avatar bij "Nog niemand" */
.lzaf-tag.none{color:#5E6A82!important}
.lzaf-pp[data-u=""] .lzaf-pa{background:#64748B!important}
/* Productfoto: lege fotolijst is altijd wit */
.pf-prev{color:#6B7280!important}
/* Projecten: uitgeschakelde knop (wit op lichtgrijs) */
.psx-b[disabled]{color:#5F6B85!important}

/* WhatsApp: teller ongelezen (wit op felgroen was te zwak) */
.lzwc-n{color:#0B141A!important}
