/* ATD UI lot 2 école : couleurs lisibles (choix du 26/09/2026), MODE CLAIR UNIQUEMENT.
   Le reste (gris produits par PHP ou JS, couleurs natives) est traité par lot2.js,
   qui vérifie la couleur affichée et celle du fond. */

/* 1. Variables des modules */
html:not(.dark), html:not(.dark) body {
  --jp-text-muted: #5F6673; --ap-text-light: #5F6673; --ap-text-muted: #5F6673; --assess-text-muted: #5F6673; --text-muted: #5F6673;
}

/* 2. Étiquettes des leçons (jurible-course-badges) : même principe que les encadrés */
html:not(.dark) .jb-badge--blue { color: #1D4ED8 !important; }
html:not(.dark) .jb-badge--qcm { color: #047857 !important; }
html:not(.dark) .jb-badge--flashcards { color: #B45309 !important; }

/* 3. Titres des encadrés */
html:not(.dark) .jurible-infobox-retenir .jurible-infobox-title   { color: #B45309; }
html:not(.dark) .jurible-infobox-astuce .jurible-infobox-title    { color: #047857; }
html:not(.dark) .jurible-infobox-important .jurible-infobox-title { color: #1D4ED8; }
html:not(.dark) .jurible-infobox-attention .jurible-infobox-title { color: #B91C1C; }

/* 4. Boutons natifs de FluentCommunity (Element Plus) */
html:not(.dark) .el-button--danger { --el-button-bg-color: #B91C1C; --el-button-border-color: #B91C1C; --el-button-hover-bg-color: #991B1B; --el-button-hover-border-color: #991B1B; }
html:not(.dark) .fcom_card_button_progress { color: #B45309 !important; }

/* 5. Règles où le gris est écrit en dur (générées depuis les mu-plugins et plugins jurible) */
/* atd-fr-checkout.php */
html:not(.dark) .atd-cofoot__legal { color: #5F6673 !important; }
/* atd-minos-signup.php */
html:not(.dark) .fcom_spaced_divider { color: #5F6673 !important; }
/* jurible-course-badges.php */
html:not(.dark) .jb-badge--annexe { color: #5F6673 !important; }
/* index.css */
html:not(.dark) .wp-block-jurible-citation .jurible-citation .jurible-citation-source { color: #5F6673 !important; }
/* index.css */
html:not(.dark) .jurible-sommaire-info { color: #5F6673 !important; }
