/* Couleurs personnalisables par organisme (marque blanche) */
:root {
  --couleur: #1f5f8b;
  --couleur-fonce: #164766;
  --couleur-pale: #e8f1f7;
  --texte: #1d2430;
  --texte-doux: #5a6474;
  --fond: #f6f7f9;
  --carte: #ffffff;
  --bord: #d9dee5;
  --vert: #1d7a46;
  --vert-pale: #e6f4ec;
  --rouge: #b42318;
  --rouge-pale: #fdecea;
  --rayon: 10px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--texte);
  background: var(--fond);
  line-height: 1.5;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; }
h1 { font-size: 1.5rem; margin: 0 0 1rem; }
h2 { font-size: 1.2rem; }
a { color: var(--couleur); }
:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
.invisible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.evitement { position: absolute; left: -999px; }
.evitement:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem; z-index: 10; }

.bandeau { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: .75rem 1.5rem;
           background: var(--couleur); color: #fff; }
.marque { font-weight: 700; }
#navigation { display: flex; align-items: center; gap: 1rem; flex: 1; flex-wrap: wrap; justify-content: flex-end; }
#navigation a { color: #fff; text-decoration: none; padding: .25rem .5rem; border-radius: 6px; }
#navigation a[aria-current="page"] { background: rgba(255,255,255,.2); font-weight: 600; }
#navigation .utilisateur { margin-left: auto; font-size: .9rem; }
#navigation .lien { color: #fff; }
main { max-width: 1200px; margin: 0 auto; padding: 1.5rem; width: 100%; min-width: 0; }
.mise-en-page { display: block; }
body.avec-menu .mise-en-page { display: grid; grid-template-columns: 230px 1fr; min-height: calc(100vh - 56px); }
#menu { background: #fff; border-right: 1px solid var(--bord); padding: 1rem .75rem; }
#menu:empty { display: none; }
body:not(.avec-menu) #menu { display: none; }
#menu ul { list-style: none; padding: 0; margin: 0 0 .75rem; }
#menu a { display: block; padding: .5rem .75rem; border-radius: 8px; color: var(--texte); text-decoration: none; }
#menu a:hover { background: var(--fond); }
#menu a[aria-current="page"] { background: var(--couleur-pale); color: var(--couleur-fonce); font-weight: 600; }
.groupe-menu { margin: .5rem .75rem .25rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--texte-doux); font-weight: 700; }

/* Gestion */
.entete-vue { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: .5rem 0 1rem; }
.entete-vue h1, .entete-vue h2 { margin: 0; }
.barre-recherche { display: flex; align-items: end; gap: 1rem; margin-bottom: .75rem; flex-wrap: wrap; }
.recherche { flex: 1; max-width: 420px; }
.compte { color: var(--texte-doux); font-size: .9rem; font-weight: 400; }
.tableau-defilant { overflow-x: auto; background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); }
.tableau { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tableau th { text-align: left; background: var(--fond); font-weight: 600; padding: .6rem .75rem; border-bottom: 1px solid var(--bord); white-space: nowrap; }
.tableau td { padding: .55rem .75rem; border-bottom: 1px solid var(--bord); vertical-align: top; }
.tableau tr:last-child td { border-bottom: 0; }
.tableau .actions { white-space: nowrap; text-align: right; }
.tableau .lien { text-align: left; font-weight: 600; }
.lien.danger { color: var(--rouge); }
.fiche { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1.25rem; }
.groupe { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
.groupe legend { font-weight: 700; color: var(--couleur-fonce); font-size: 1.05rem; padding: 0; margin-bottom: .6rem; }
.requis { color: var(--rouge); }
.marque-v10 { display: inline-block; font-size: .7rem; padding: 0 .35rem; border-radius: 4px; background: #fff4d6; color: #7a5600; font-weight: 700; vertical-align: middle; }
label.case { flex-direction: row; align-items: center; gap: .5rem; }
label.case input { width: 1.2rem; height: 1.2rem; }
.complement { margin-top: 1.25rem; display: grid; gap: 1.25rem; }
.sous-liste .vide { margin: .25rem 0 .75rem; }
.sous-fiche { margin-top: .75rem; }
.encart { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1rem 1.25rem; }
.encart h2 { margin-top: 0; font-size: 1.1rem; }
.encart summary { cursor: pointer; font-weight: 600; }
.publication ul { margin: .25rem 0 .75rem; }
.indicateurs { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin: 0 0 1.5rem; }
.indicateurs li { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1rem; display: grid; gap: .2rem; color: var(--texte-doux); }
.indicateurs .valeur { font-size: 1.6rem; font-weight: 700; color: var(--texte); }
.deux-colonnes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.liste-simple { padding-left: 1.1rem; margin: 0; display: grid; gap: .4rem; }
.retard { color: var(--rouge); font-weight: 600; }
.kanban { display: grid; grid-template-columns: repeat(5, minmax(200px, 1fr)); gap: .75rem; overflow-x: auto; padding-bottom: .5rem; }
.colonne-kanban { background: #eef1f4; border-radius: var(--rayon); padding: .75rem; min-height: 200px; }
.colonne-kanban h2 { font-size: 1rem; margin: 0; display: flex; justify-content: space-between; }
.colonne-kanban .total { margin: .2rem 0 .6rem; font-size: .85rem; color: var(--texte-doux); }
.colonne-kanban ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.carte-opp { background: #fff; border: 1px solid var(--bord); border-radius: 8px; padding: .6rem .7rem; display: grid; gap: .2rem; }
.carte-opp .titre { font-weight: 600; text-align: left; }
.carte-opp .meta { font-size: .85rem; color: var(--texte-doux); }
.carte-opp .deplacer { display: flex; justify-content: flex-end; gap: .3rem; }

.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px;
          padding: .55rem 1rem; border: 2px solid var(--couleur); border-radius: 8px; background: var(--couleur);
          color: #fff; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.bouton:hover { background: var(--couleur-fonce); border-color: var(--couleur-fonce); }
.bouton.secondaire { background: #fff; color: var(--couleur); }
.bouton.secondaire:hover { background: var(--couleur-pale); }
.bouton.danger { background: #fff; color: var(--rouge); border-color: var(--rouge); }
.bouton.petit { min-height: 36px; padding: .3rem .75rem; font-size: .9rem; }
.bouton:disabled { opacity: .45; cursor: not-allowed; }
.bouton.fichier { cursor: pointer; }
.lien { background: none; border: 0; padding: 0; color: var(--couleur); text-decoration: underline; cursor: pointer; font: inherit; }
.icone { width: 36px; height: 36px; border: 1px solid var(--bord); background: #fff; border-radius: 6px; cursor: pointer; font-size: 1rem; }
.icone:disabled { opacity: .35; }
.pastille { display: inline-block; padding: .15rem .6rem; border-radius: 999px; background: var(--couleur-pale);
            color: var(--couleur-fonce); font-size: .8rem; font-weight: 600; }
.alerte { padding: 1rem; border-radius: var(--rayon); background: var(--rouge-pale); color: var(--rouge); }
.aide { display: block; font-size: .85rem; color: var(--texte-doux); font-weight: 400; }
.vide { color: var(--texte-doux); }
.message { color: var(--rouge); min-height: 1.5em; }

label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .95rem; }
input, textarea, select { font: inherit; padding: .55rem .7rem; border: 1px solid #aab3bf; border-radius: 8px;
                          background: #fff; color: var(--texte); font-weight: 400; }
textarea { resize: vertical; }

/* Connexion */
.connexion { max-width: 420px; margin: 3rem auto; display: grid; gap: 1rem; background: var(--carte);
             padding: 2rem; border-radius: var(--rayon); border: 1px solid var(--bord); }

/* Espace apprenant */
.cartes { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.carte { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1.25rem;
         display: flex; flex-direction: column; gap: .6rem; }
.carte h2 { margin: 0; font-size: 1.1rem; }
.carte .objectif { margin: 0; color: var(--texte-doux); }
.carte .meta { margin: 0; font-size: .9rem; color: var(--texte-doux); }
.carte .bouton { align-self: flex-start; margin-top: auto; }
.statut { font-weight: 600; }
.statut-reussi, .statut-termine { color: var(--vert); }
.statut-echoue { color: var(--rouge); }
.barre { height: 8px; background: #e3e7ec; border-radius: 999px; overflow: hidden; }
.barre span { display: block; height: 100%; background: var(--couleur); transition: width .3s; }

/* Lecteur */
.lecteur { max-width: 860px; margin: 0 auto; }
.lecteur-entete { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.lecteur-titre { margin: 0; font-size: 1.3rem; flex: 1; }
.lecteur-corps { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1.5rem; }
.progression-texte { margin: 0 0 .4rem; font-size: .9rem; color: var(--texte-doux); }
.ecran h2 { margin-top: 1.25rem; }
.texte-riche { font-size: 1.05rem; }
.situation { background: var(--couleur-pale); border-radius: 8px; padding: .75rem 1rem; }
.video { position: relative; aspect-ratio: 16 / 9; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; }
.video-fichier { width: 100%; border-radius: 8px; }
.question { border: 1px solid var(--bord); border-radius: 8px; padding: 1rem; margin: 1rem 0; }
.question legend { font-weight: 600; padding: 0 .3rem; }
.choix { flex-direction: row; align-items: center; gap: .6rem; font-weight: 400; padding: .5rem; border-radius: 6px; cursor: pointer; }
.choix:hover { background: var(--fond); }
.choix input { width: 1.2rem; height: 1.2rem; }
.choix.attendue { background: var(--vert-pale); }
.question.juste { border-color: var(--vert); }
.question.faux { border-color: var(--rouge); }
.retour:not(:empty) { margin-top: .75rem; padding: .75rem; border-radius: 6px; background: var(--fond); }
.option { display: block; width: 100%; text-align: left; margin: .5rem 0; padding: .75rem 1rem; min-height: 44px;
          border: 2px solid var(--bord); border-radius: 8px; background: #fff; font: inherit; cursor: pointer; }
.option:hover:not(:disabled) { border-color: var(--couleur); }
.option.attendue { border-color: var(--vert); background: var(--vert-pale); }
.option.choisie.faux { border-color: var(--rouge); background: var(--rouge-pale); }
.option:disabled { cursor: default; color: var(--texte); }
.navigation { display: flex; gap: .75rem; justify-content: flex-end; margin-top: 1.5rem; flex-wrap: wrap; }
.fin { text-align: center; }
.fin .navigation { justify-content: center; }
.score { font-size: 1.2rem; }
.cadre-scorm { width: 100%; height: 75vh; border: 0; border-radius: 8px; }
.calque-apercu { position: fixed; inset: 0; z-index: 20; background: var(--fond); overflow: auto; padding: 1.5rem; }

/* Atelier */
.message-atelier { padding: .75rem 1rem; border-radius: 8px; background: var(--vert-pale); color: var(--vert); margin: 0 0 1rem; }
.message-atelier.erreur { background: var(--rouge-pale); color: var(--rouge); }
.atelier { display: grid; grid-template-columns: 300px 1fr; gap: 1.5rem; align-items: start; }
.colonne-modules { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1rem; }
.actions-liste { display: grid; gap: .5rem; margin-bottom: 1rem; }
.liste-modules { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.element-module { width: 100%; text-align: left; padding: .6rem .75rem; border: 1px solid transparent; border-radius: 8px;
                  background: none; cursor: pointer; font: inherit; display: grid; }
.element-module:hover { background: var(--fond); }
.element-module.actif { background: var(--couleur-pale); border-color: var(--couleur); }
.element-module .nom { font-weight: 600; }
.element-module .meta { font-size: .85rem; color: var(--texte-doux); }
.editeur { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1.5rem; min-height: 300px; }
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.grille .large { grid-column: 1 / -1; }
.titre-section { margin: 1.5rem 0 .75rem; }
.liste-ecrans { padding: 0; list-style: none; display: grid; gap: 1rem; }
.ecran-edition { border: 1px solid var(--bord); border-left: 4px solid var(--couleur); border-radius: 8px; padding: 1rem; display: grid; gap: .75rem; }
.entete-ecran { display: flex; justify-content: space-between; align-items: center; }
.entete-ecran .type { font-weight: 700; color: var(--couleur-fonce); }
.outils-ecran { display: flex; gap: .3rem; }
.question-edition { border: 1px dashed var(--bord); border-radius: 8px; padding: .75rem; display: grid; gap: .6rem; }
.ajout-ecran { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.barre-actions { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-top: 1.5rem;
                 padding-top: 1rem; border-top: 1px solid var(--bord); }
.etat-enregistrement { color: var(--texte-doux); font-size: .9rem; }
.accueil-atelier { color: var(--texte-doux); max-width: 60ch; }

@media (max-width: 800px) {
  .atelier { grid-template-columns: 1fr; }
  body.avec-menu .mise-en-page { display: block; }
  #menu { border-right: 0; border-bottom: 1px solid var(--bord); display: flex; gap: .25rem; overflow-x: auto; padding: .5rem; }
  #menu ul { display: flex; margin: 0; }
  #menu a { white-space: nowrap; }
  .groupe-menu { display: none; }
  .bandeau { gap: .5rem 1rem; padding: .6rem 1rem; }
  #navigation .utilisateur { display: none; }
  main { padding: 1rem; }
  .lecteur-corps { padding: 1rem; }
}
.confirmation { border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1.5rem; max-width: 420px; }
.confirmation::backdrop { background: rgba(20, 30, 40, .45); }
.alerte-info { padding: 1rem; border-radius: var(--rayon); background: var(--couleur-pale); }

.champ { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.champ > label { font-weight: 600; font-size: .95rem; }
.obligatoire::after { content: " *" / ""; color: var(--rouge); }

/* =====================================================================
   Thème coloré : chaque partie de l'outil a sa couleur (contrastes AA)
   ===================================================================== */
:root { --violet: #6b3fa0; --violet-pale: #f1eafb; --bleu: #1f5f8b; --bleu-pale: #e6f0f8;
        --orange: #b0501a; --orange-pale: #fdeee4; --vert: #1d7a46; --vert-pale: #e3f3e9; --gris: #4a5568; --gris-pale: #eef1f4; }
.couleur-violet { --c: var(--violet); --c-pale: var(--violet-pale); }
.couleur-bleu   { --c: var(--bleu);   --c-pale: var(--bleu-pale); }
.couleur-orange { --c: var(--orange); --c-pale: var(--orange-pale); }
.couleur-vert   { --c: var(--vert);   --c-pale: var(--vert-pale); }
.couleur-gris   { --c: var(--gris);   --c-pale: var(--gris-pale); }
body[data-couleur="violet"] { --couleur: var(--violet); --couleur-fonce: #52307c; --couleur-pale: var(--violet-pale); }
body[data-couleur="orange"] { --couleur: var(--orange); --couleur-fonce: #8a3e14; --couleur-pale: var(--orange-pale); }
body[data-couleur="vert"]   { --couleur: var(--vert);   --couleur-fonce: #155c35; --couleur-pale: var(--vert-pale); }
body[data-couleur="gris"]   { --couleur: var(--gris);   --couleur-fonce: #2d3748; --couleur-pale: var(--gris-pale); }

.bandeau { background: linear-gradient(100deg, #1f5f8b 0%, #3b4fa0 55%, #6b3fa0 100%); }
.marque::before { content: "◆ "; color: #ffd166; }
#menu a { display: flex; align-items: center; gap: .6rem; border-left: 4px solid transparent; }
#menu a:hover { background: var(--c-pale); }
#menu a[aria-current="page"] { background: var(--c-pale); color: var(--c); border-left-color: var(--c); }
.icone-menu { font-size: 1.15rem; width: 1.5rem; text-align: center; }
.groupe-menu { color: var(--c); }
h1 { color: var(--couleur-fonce); }
.indicateurs li { border-top: 5px solid var(--c, var(--couleur)); }
.indicateurs .valeur { color: var(--c, var(--texte)); }
.encart { border-top: 4px solid var(--couleur-pale); }

/* Suivi des étapes de mise en place */
.barre.grande { height: 12px; margin: .25rem 0 1rem; }
.barre.grande span { background: linear-gradient(90deg, var(--bleu), var(--vert)); }
.etapes { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.etape { display: flex; gap: .6rem; align-items: flex-start; padding: .6rem; border-radius: 10px; background: var(--fond); border: 2px solid transparent; }
.etape.faite { background: var(--vert-pale); }
.etape.courante { border-color: var(--couleur); background: var(--couleur-pale); }
.pastille-etape { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 2px solid #8a94a3; background: #fff;
                  font: inherit; font-weight: 700; cursor: pointer; color: var(--texte); }
.etape.faite .pastille-etape { background: var(--vert); border-color: var(--vert); color: #fff; }
.etape.courante .pastille-etape { border-color: var(--couleur); color: var(--couleur); }
.pastille-etape:disabled { cursor: default; opacity: 1; }
.texte-etape { display: grid; gap: .1rem; font-size: .92rem; }
.prochaine { margin: 1rem 0 0; padding: .6rem .8rem; border-radius: 8px; background: var(--couleur-pale); }
.prochaine.termine { background: var(--vert-pale); color: var(--vert); font-weight: 600; }
.mini-etapes { display: grid; gap: .15rem; margin-top: .3rem; min-width: 140px; }
.mini-etapes .barre { height: 6px; }
.mini-etapes .barre span { background: linear-gradient(90deg, var(--bleu), var(--vert)); }

/* Rapports */
.filtres { display: flex; gap: 1rem; align-items: end; flex-wrap: wrap; margin-bottom: 1rem; }
.onglets { display: flex; gap: .25rem; background: #e6e9ee; padding: .25rem; border-radius: 10px; }
.onglets button { border: 0; background: none; padding: .5rem .9rem; border-radius: 8px; font: inherit; cursor: pointer; min-height: 40px; }
.onglets button[aria-selected="true"] { background: #fff; color: var(--couleur-fonce); font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.rapport th[scope="row"] { font-weight: 400; }
.note { display: inline-block; min-width: 2.4rem; text-align: center; padding: .1rem .35rem; border-radius: 6px; font-weight: 700; }
.note-excellente { background: #d3f0dd; color: #125c32; }
.note-bonne { background: #dcefe9; color: #1b5e52; }
.note-moyenne { background: #fdf0d2; color: #7a5400; }
.note-faible { background: #fbdcd9; color: #9b1c12; }
.jauge { display: block; height: 5px; background: #e3e7ec; border-radius: 4px; margin-top: .25rem; max-width: 90px; }
.jauge span { display: block; height: 100%; border-radius: 4px; background: var(--couleur); }
.commentaires { list-style: none; padding: 0; display: grid; gap: .5rem; }
.commentaires li { background: var(--fond); padding: .6rem .8rem; border-radius: 8px; }
.methode summary { color: var(--couleur-fonce); }

/* Confort de lecture */
.confort { position: relative; }
.bouton-confort { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.6); border-radius: 8px;
                  padding: .35rem .7rem; font: inherit; cursor: pointer; min-height: 40px; }
.bouton-confort span { font-weight: 700; margin-right: .2rem; }
.panneau-confort { position: absolute; right: 0; top: calc(100% + .4rem); z-index: 30; background: #fff; color: var(--texte);
                   border: 1px solid var(--bord); border-radius: 10px; padding: .9rem 1rem; width: 290px; box-shadow: 0 8px 24px rgba(0,0,0,.15); display: grid; gap: .5rem; }
.titre-panneau { margin: 0; font-weight: 700; }
html.confort-grand { font-size: 118%; }
html.confort-dys body { letter-spacing: .04em; word-spacing: .14em; line-height: 1.85; font-family: Verdana, Tahoma, "Segoe UI", sans-serif; }
html.confort-dys p, html.confort-dys li { max-width: 70ch; }
html.confort-contraste { --texte: #000; --texte-doux: #222; --bord: #555; --fond: #fff; --couleur-pale: #fff; }
html.confort-contraste .bandeau { background: #000; }
html.confort-contraste a, html.confort-contraste .lien { text-decoration: underline; }
html.confort-calme *, html.confort-calme *::before { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
[hidden] { display: none !important; }

/* ---------- Fonctions avancées ---------- */
.extensions-session .encart { margin-top: 1.2rem; }
.grille-docs { display: flex; flex-wrap: wrap; gap: .5rem; margin: .6rem 0; }
.tableau.emargement th, .tableau.emargement td { text-align: center; white-space: nowrap; }
.tableau.emargement th[scope="row"] { text-align: left; }
.case-presence input { width: 1.4rem; height: 1.4rem; accent-color: var(--vert); }
.codes { display: grid; gap: .6rem; margin: .8rem 0; }
.code-ouvert { border: 2px solid var(--vert); background: var(--vert-pale); border-radius: var(--rayon); padding: .6rem .8rem; display: grid; gap: .4rem; }
.code-ouvert.ferme { border-color: var(--bord); background: var(--carte); color: var(--texte-doux); }
.code { font-family: ui-monospace, monospace; font-size: 1.35rem; font-weight: 700; letter-spacing: .15em; background: #fff; padding: .05rem .45rem; border-radius: 6px; }
.qr { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; } .qr a { word-break: break-all; }
.statut-alerte { background: var(--orange-pale); color: var(--orange); }
.alerte-conflits { border-left: 6px solid var(--orange); background: var(--orange-pale); }
.calendrier { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); overflow: hidden; margin-bottom: 1rem; }
.ligne-jours, .grille-jours { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ligne-jours span { padding: .4rem; font-weight: 700; text-align: center; background: var(--couleur-pale); color: var(--couleur-fonce); }
.jour { min-height: 92px; border-top: 1px solid var(--bord); border-left: 1px solid var(--bord); padding: .25rem; display: flex; flex-direction: column; gap: .2rem; }
.jour .num { font-size: .85rem; color: var(--texte-doux); font-weight: 600; }
.jour.aujourdhui { background: #fff8e0; } .jour.aujourdhui .num { color: var(--texte); }
.vide-jour { background: var(--fond); }
.puce-session { display: block; background: var(--puce); color: #fff; border-radius: 5px; padding: .1rem .35rem; font-size: .75rem; text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.puce-session:hover { filter: brightness(1.15); }
.mois { min-width: 10rem; text-align: center; text-transform: capitalize; align-self: center; }
.tableau.qualiopi textarea { width: 100%; min-width: 14rem; font: inherit; }
.tableau.qualiopi .preuves { color: var(--texte-doux); font-size: .9rem; max-width: 18rem; }
tr.non-applicable { opacity: .55; }
.repondre { max-width: 640px; margin: 0 auto; }
.repondre .question { border: 1px solid var(--bord); border-radius: var(--rayon); padding: .8rem; margin: 0 0 1rem; background: var(--carte); }
.repondre legend { font-weight: 700; padding: 0 .3rem; }
.echelle { display: flex; gap: .5rem; flex-wrap: wrap; margin: .4rem 0; }
.note-choix { position: relative; }
.note-choix input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.note-choix span:not(.invisible) { display: grid; place-items: center; min-width: 3rem; height: 3rem; padding: 0 .8rem; border: 2px solid var(--couleur);
  border-radius: 999px; font-size: 1.2rem; font-weight: 700; color: var(--couleur); background: #fff; }
.note-choix input:checked + span { background: var(--couleur); color: #fff; }
.note-choix input:focus-visible + span { outline: 3px solid #f2b705; outline-offset: 2px; }
.repondre .choix { display: flex; gap: .5rem; align-items: flex-start; padding: .45rem .3rem; font-size: 1.05rem; }
.repondre .choix input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; }
.saisie-code { font-size: 1.6rem; letter-spacing: .25em; text-transform: uppercase; max-width: 14rem; font-family: ui-monospace, monospace; }
.bouton.grand { font-size: 1.1rem; padding: .8rem 1.6rem; }
.merci { text-align: center; } .merci h1 { font-size: 2rem; color: var(--vert); }
.intro { max-width: 60rem; }
.deroule h3 { margin-top: 1.2rem; }
.etapes-deroule li { margin-bottom: .8rem; } .etapes-deroule p { margin: .2rem 0; }
.etat-assistant { align-self: center; color: var(--texte-doux); }

/* ---------- Logos et mentions légales ---------- */
.marque { display: inline-flex; align-items: center; gap: .5rem; }
.logo-bandeau { height: 34px; max-width: 120px; object-fit: contain; background: #fff; border-radius: 6px; padding: 2px 4px; }
.marque:has(.logo-bandeau)::before { content: none; }
.logos { display: flex; flex-wrap: wrap; gap: 1rem; }
.bloc-logo { flex: 1 1 260px; border: 1px dashed var(--bord); border-radius: var(--rayon); padding: .8rem; background: var(--fond); }
.titre-logo { font-weight: 700; margin: 0 0 .5rem; }
.apercu-logo { min-height: 80px; display: grid; place-items: center start; background: #fff; border-radius: 8px; padding: .5rem; margin-bottom: .5rem; }
.apercu-logo img { max-height: 72px; max-width: 220px; }
.mentions { font-size: .8rem; color: var(--texte-doux); line-height: 1.4; } .mentions p { margin: .1rem 0; }
.apercu-mentions { border-top: 3px solid var(--couleur); }

/* ---------- Signature électronique ---------- */
.pad-signature canvas { width: 100%; max-width: 560px; height: auto; aspect-ratio: 560 / 180; border: 2px dashed var(--couleur); border-radius: var(--rayon); background: #fff; cursor: crosshair; display: block; }
.pad-signature .barre-actions { margin-top: .5rem; align-items: center; }
.champ-inline { display: inline-flex; gap: .5rem; align-items: center; } .champ-inline input { max-width: 16rem; }
.apercu-document { width: 100%; height: 60vh; min-height: 360px; border: 1px solid var(--bord); border-radius: var(--rayon); background: #fff; margin: .6rem 0 1rem; }
.signer { max-width: 900px; margin: 0 auto; }
.consentement { display: flex; gap: .6rem; align-items: flex-start; margin: 1rem 0; font-weight: 600; }
.consentement input { width: 1.3rem; height: 1.3rem; margin-top: .15rem; flex: none; }
.dialogue-signature { max-width: 560px; border: 0; border-radius: 14px; padding: 1.4rem; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.dialogue-signature::backdrop, dialog::backdrop { background: rgba(20, 30, 50, .45); }
.code-secret { font-family: ui-monospace, monospace; font-size: 1.8rem; font-weight: 700; letter-spacing: .2em; background: var(--vert-pale); color: var(--vert);
  padding: .4rem .8rem; border-radius: 8px; display: inline-block; margin: .4rem 0; }
.lien-signature { word-break: break-all; }
.verification { max-width: 760px; margin: 0 auto; }
.verdict { border-radius: var(--rayon); padding: 1rem; margin-top: 1rem; border: 2px solid; }
.verdict-ok { border-color: var(--vert); background: var(--vert-pale); } .verdict-ko { border-color: var(--rouge); background: var(--rouge-pale); }
.titre-verdict { font-size: 1.3rem; font-weight: 700; margin: 0 0 .5rem; }
.controles { list-style: none; padding: 0; } .controles li { padding: .2rem 0; } .controles .ok span { color: var(--vert); font-weight: 700; } .controles .ko span { color: var(--rouge); font-weight: 700; }
.dessin-signature { margin: .8rem 0; } .dessin-signature summary { cursor: pointer; font-weight: 600; color: var(--couleur); }

/* ---------- Recherche rapide : barre fine sur toute la largeur ---------- */
.recherche-globale { position: relative; margin: -.25rem 0 1rem; }
.barre-recherche-crm { position: relative; display: flex; align-items: center; gap: .5rem; width: 100%; background: var(--carte);
  border: 1px solid var(--bord); border-radius: 999px; padding: .15rem .4rem .15rem .9rem; }
.barre-recherche-crm:focus-within { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-pale); }
.barre-recherche-crm .loupe { opacity: .6; font-size: .95rem; }
#recherche-crm { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: .95rem; padding: .45rem 0; outline: none; }
#filtre-crm { border: 0; background: var(--fond); border-radius: 999px; font: inherit; font-size: .85rem; padding: .3rem .6rem; color: var(--texte-doux); }
.raccourci { color: var(--texte-doux); }
.resultats-recherche { position: absolute; z-index: 20; top: calc(100% + .35rem); left: 0; right: 0; list-style: none; padding: .35rem; margin: 0;
  max-height: 24rem; overflow: auto; background: var(--carte); border: 1px solid var(--bord); border-radius: 12px; box-shadow: 0 12px 32px rgba(20, 30, 50, .15); }
.resultats-recherche li[data-i] { display: grid; grid-template-columns: 1.8rem 6.5rem 1fr; gap: .1rem .5rem; padding: .45rem .6rem; border-radius: 8px; cursor: pointer; }
.resultats-recherche li[aria-selected="true"], .resultats-recherche li[data-i]:hover { background: var(--violet-pale); }
.resultats-recherche .vide { padding: .5rem .7rem; }
.icone-res { grid-row: span 2; font-size: 1.2rem; } .type-res { font-size: .8rem; color: var(--violet); font-weight: 700; grid-row: span 2; align-self: center; }
.titre-res { font-weight: 600; } .detail-res { font-size: .85rem; color: var(--texte-doux); grid-column: 3; }
@media (max-width: 640px) { .raccourci { display: none; } }
kbd { border: 1px solid var(--bord); border-bottom-width: 2px; border-radius: 4px; padding: 0 .3rem; font-size: .8rem; background: #fff; }

/* ---------- Inscriptions en ligne, espace stagiaire, rappels ---------- */
.inscriptions-attente { border-left: 6px solid var(--orange); }
.liste-attente { list-style: none; padding: 0; margin: 0; }
.liste-attente li { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .7rem 0; border-top: 1px solid var(--bord); }
.liste-attente select { font: inherit; }
.lien-inscription a { word-break: break-all; }
.inscription-publique, .espace-stagiaire { max-width: 820px; margin: 0 auto; }
.logo-public { max-height: 64px; max-width: 220px; display: block; margin-bottom: .6rem; }
.infos-session { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: 1.05rem; }
.entete-espace { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-radius: 14px; margin-bottom: 1rem;
  background: linear-gradient(100deg, var(--bleu-pale), var(--violet-pale)); }
.entete-espace h1 { margin: 0; }
.banniere-rappel { border-left: 6px solid var(--orange); background: var(--orange-pale); padding: .8rem 1rem; border-radius: 10px; margin-bottom: 1rem; }
.cartes-sessions { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .8rem; }
.carte-session { background: var(--carte); border: 1px solid var(--bord); border-top: 5px solid var(--bleu); border-radius: 12px; padding: .8rem 1rem; }
.carte-session h3 { margin: 0 0 .3rem; font-size: 1.05rem; } .carte-session p { margin: .2rem 0; }
.documents-espace { list-style: none; padding: 0; }
.documents-espace li { display: flex; gap: .8rem; align-items: center; padding: .7rem .8rem; background: var(--carte); border: 1px solid var(--bord); border-radius: 10px; margin-bottom: .5rem; }
.documents-espace li > div { flex: 1; } .documents-espace .icone-doc { font-size: 1.5rem; }
.documents-espace li.verrouille { opacity: .7; background: var(--fond); }
.rappel-envoye { opacity: .65; }
.texte-rappel { width: 100%; font: inherit; }

/* ---------- Entrée en formation, espace formateur ---------- */
.texte-reglement { max-height: 45vh; overflow: auto; border: 1px solid var(--bord); border-radius: 10px; padding: .8rem 1rem; background: #fff; margin: .5rem 0 1rem; }
.texte-reglement:focus-visible { outline: 3px solid #f2b705; }
.banniere-reglement { border-left-color: var(--bleu); background: var(--bleu-pale); }
.session-formateur { margin-bottom: 1rem; } .session-formateur .tableau { margin: .6rem 0; }
.identite { margin-bottom: 1rem; } .identite summary { cursor: pointer; font-weight: 700; }
.bloc-employeur[hidden] { display: none !important; }
.trois-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; font-size: .9rem; }
.trois-col ul { padding-left: 1.1rem; margin: .3rem 0; }

/* ---------- Veille Qualiopi, accompagnement handicap ---------- */
.carte-veille { background: var(--carte); border: 1px solid var(--bord); border-left: 6px solid var(--c, var(--couleur)); border-radius: 12px; padding: .9rem 1.1rem; margin-bottom: .9rem; }
.carte-veille header { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.carte-veille h2 { margin: .4rem 0; font-size: 1.1rem; }
.pastille-axe { background: var(--c-pale, var(--couleur-pale)); color: var(--c, var(--couleur)); font-weight: 700; border-radius: 999px; padding: .1rem .6rem; font-size: .85rem; }
.recos { border: 1px dashed var(--bord); border-radius: 8px; padding: .5rem .8rem; margin: .5rem 0; }
.recos legend { font-weight: 700; padding: 0 .3rem; }
.etapes-plan { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; counter-reset: e; }
.etapes-plan li { counter-increment: e; padding: .3rem .7rem; border-radius: 999px; background: var(--fond); border: 1px solid var(--bord); font-size: .9rem; }
.etapes-plan li::before { content: counter(e) ". "; font-weight: 700; }
.etapes-plan li.fait { background: var(--vert-pale); border-color: var(--vert); color: var(--vert); }
.equipe-veille { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .6rem; margin: 0 0 1rem; }
.equipe-veille li { display: flex; gap: .6rem; align-items: center; background: var(--carte); border: 1px solid var(--bord); border-radius: 12px; padding: .55rem .7rem; }
.equipe-veille .avatar { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--c, var(--couleur)); }

/* Recherche d'entreprise (CRM et annuaire officiel) */
.recherche-entreprise { background: var(--carte); border: 1px solid var(--bordure, #d9dee8); border-radius: 10px; padding: .75rem .9rem; margin: .5rem 0 1rem; }
.recherche-entreprise > label { font-weight: 600; display: block; margin-bottom: .35rem; }
.recherche-entreprise .ligne-recherche { display: flex; gap: .5rem; }
.recherche-entreprise .ligne-recherche input { flex: 1; min-width: 0; }
.resultats-entreprise .titre-res { font-weight: 600; margin: .6rem 0 .2rem; font-size: .9rem; }
.resultats-entreprise .liste-res { list-style: none; padding: 0; margin: 0; }
.resultats-entreprise .liste-res li { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; padding: .45rem 0; border-top: 1px solid var(--bordure, #e6e9f0); }
.resultats-entreprise .liste-res li .aide { flex-basis: 100%; margin: 0; }
.resultats-entreprise .liste-res li button { margin-left: auto; }

/* Disponibilités des intervenants */
.calendrier-dispo .titre-mois { min-width: 10rem; text-align: center; text-transform: capitalize; align-self: center; }
.calendrier-dispo .grille-jours { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .3rem; margin: .5rem 0; }
.calendrier-dispo .jsem { font-size: .8rem; font-weight: 600; text-align: center; color: var(--texte-doux, #5a6474); }
.calendrier-dispo .jour { border: 1px solid var(--bordure, #d9dee8); border-radius: 6px; padding: .2rem; display: flex; flex-direction: column; gap: .15rem; min-height: 3.4rem; }
.calendrier-dispo .jour label { font-weight: 600; font-size: .85rem; }
.calendrier-dispo .jour select { font-size: .78rem; padding: .1rem; width: 100%; }
.calendrier-dispo .jour.vide { border: 0; }
.calendrier-dispo .code-J { background: #e3f4ea; border-color: #2e8b57; }
.calendrier-dispo .code-M, .calendrier-dispo .code-A { background: #fff6dc; border-color: #c9a227; }
.calendrier-dispo .code-I { background: #fbe4e6; border-color: #b0303f; }
.tri-intervenants { margin-bottom: 1rem; }
.alerte-encart { border-left: 4px solid var(--violet, #6b3fa0); }
@media (max-width: 560px) { .calendrier-dispo .jour select { font-size: .7rem; } .calendrier-dispo .grille-jours { gap: .15rem; } }

/* Photos (intervenants, apprenants) et sommaire de fiche */
.champ-photo { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; }
.champ-photo .etiquette { flex-basis: 100%; font-weight: 600; }
.photo-cadre { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--fond-doux, #eef1f6); display: grid; place-items: center; border: 1px solid var(--bordure, #d9dee8); }
.photo-cadre img { width: 100%; height: 100%; object-fit: cover; }
.photo-vide { font-size: 2.6rem; opacity: .45; }
img.vignette { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; vertical-align: middle; margin-right: .4rem; }
img.vignette.grande { width: 64px; height: 64px; }
img.photo-espace { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.sommaire-fiche { display: flex; flex-wrap: wrap; gap: .35rem .5rem; margin: 0 0 1rem; position: sticky; top: 0; z-index: 2; background: var(--fond, #f6f7fb); padding: .5rem 0; }
.sommaire-fiche a { font-size: .85rem; padding: .25rem .6rem; border: 1px solid var(--bordure, #d9dee8); border-radius: 999px; text-decoration: none; background: var(--carte, #fff); }
.sommaire-fiche a:hover, .sommaire-fiche a:focus { border-color: var(--violet, #6b3fa0); }
.dialogue-email { width: min(760px, 96vw); }
.dialogue-email .tableau input { width: 100%; min-width: 12rem; }
pre.corps-email { white-space: pre-wrap; font-family: inherit; background: var(--fond-doux, #f3f5f9); padding: .8rem; border-radius: 8px; }
.liste-relances { list-style: none; padding: 0; margin: 0; }
.liste-relances li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem .8rem; padding: .6rem 0; border-top: 1px solid var(--bordure, #e3e7ef); }
.liste-relances li > div:first-child { display: flex; flex-direction: column; gap: .15rem; }
.cartes-indicateurs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .6rem; margin: .5rem 0 1rem; }
.cartes-indicateurs .indicateur { background: var(--fond-doux, #f3f5f9); border-radius: 10px; padding: .7rem .9rem; display: flex; flex-direction: column; gap: .2rem; }
.cartes-indicateurs .valeur { font-size: 1.6rem; font-weight: 700; color: var(--violet, #6b3fa0); }
table.bpf td.nombre, table.bpf th { text-align: right; } table.bpf td:first-child, table.bpf th:first-child { text-align: left; }
.echelle.echelle-large { flex-wrap: wrap; gap: .3rem; }
.echelle.echelle-large .note-choix { min-width: 2.6rem; }

/* ===== Studio de questionnaires ===== */
.galerie-q { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .8rem; margin: 1rem 0; }
.carte-q { display: flex; flex-direction: column; gap: .3rem; text-align: left; background: var(--carte, #fff); border: 2px solid var(--bordure, #e3e7ef); border-radius: 16px; padding: 1rem; cursor: pointer; font: inherit; color: inherit; transition: transform .15s, border-color .15s; }
.carte-q:hover, .carte-q:focus-visible { transform: translateY(-2px); border-color: #6c4bd8; }
.carte-q .ic { font-size: 2rem; }
.studio-q .barre-studio { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .8rem; }
.titre-studio { flex: 1; min-width: 14rem; font-size: 1.3rem; font-weight: 700; padding: .4rem .6rem; border-radius: 10px; border: 2px solid var(--bordure, #e3e7ef); }
.reglages-studio { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: flex-end; background: #f6f3ff; border-radius: 14px; padding: .6rem .9rem; margin-bottom: .8rem; }
.corps-studio { display: grid; grid-template-columns: minmax(220px, 290px) 1fr; gap: 1rem; }
@media (max-width: 760px) { .corps-studio { grid-template-columns: 1fr; } }
.pile-cartes ol { list-style: none; padding: 0; margin: 0 0 .6rem; display: flex; flex-direction: column; gap: .35rem; }
.pile-cartes li { background: #fff; border: 2px solid #ece8f5; border-radius: 12px; }
.pile-cartes li.active { border-color: #6c4bd8; box-shadow: 0 2px 8px rgba(108,75,216,.15); }
.vignette-carte { display: grid; grid-template-columns: 1.6rem 1.6rem 1fr auto; gap: .3rem; align-items: center; width: 100%; background: none; border: 0; padding: .45rem .5rem; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.vignette-carte .n { font-weight: 800; color: #8a83a3; } .vignette-carte .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
.outils-carte { display: flex; gap: .3rem; padding: 0 .5rem .4rem; justify-content: flex-end; }
.palette { display: grid; grid-template-columns: repeat(2, 1fr); gap: .35rem; margin-top: .5rem; }
.type-tuile { display: flex; align-items: center; gap: .4rem; background: #fff; border: 2px solid #ece8f5; border-radius: 10px; padding: .45rem; cursor: pointer; font: inherit; font-size: .85rem; text-align: left; }
.type-tuile span { font-size: 1.3rem; } .type-tuile:hover, .type-tuile:focus-visible { border-color: #6c4bd8; }
.zone-carte { background: #fff; border-radius: 18px; padding: 1rem 1.2rem; box-shadow: 0 2px 12px rgba(45,42,62,.07); }
.type-carte { font-weight: 800; margin: 0 0 .6rem; }
.tuiles-edit { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .5rem; margin: .5rem 0; }
.tuile-edit { display: flex; align-items: center; gap: .4rem; background: var(--coul); border-radius: 12px; padding: .5rem; color: #fff; }
.tuile-edit input[type=text], .tuile-edit input:not([type]) { flex: 1; min-width: 0; border: 0; border-radius: 8px; padding: .4rem; }
.tuile-edit .forme { font-size: 1.2rem; } .case-correct { font-size: .8rem; display: flex; align-items: center; gap: .2rem; white-space: nowrap; }
.ligne-edit { display: flex; gap: .4rem; align-items: center; margin: .3rem 0; } .ligne-edit input { flex: 1; min-width: 0; }
.ligne-image { display: flex; align-items: center; gap: .6rem; margin: .4rem 0 .8rem; } .image-q { max-height: 90px; border-radius: 10px; }
.petits-reglages { margin-top: .8rem; padding-top: .6rem; border-top: 1px dashed #e3dcef; }

/* ===== Joueur ===== */
.jeu { max-width: 860px; margin: 0 auto; padding: 1.2rem; text-align: center; position: relative; }
.accueil-jeu .logo-jeu { font-size: 4rem; } .accueil-jeu .champ { text-align: left; max-width: 420px; margin: .8rem auto; }
.options-jeu { display: flex; flex-direction: column; align-items: center; gap: .3rem; margin: .8rem 0; }
.bouton-jeu { background: linear-gradient(135deg, #6c4bd8, #e8508f); border: 0; font-size: 1.2rem; padding: .9rem 1.8rem; border-radius: 999px; }
.haut-jeu { display: flex; justify-content: space-between; align-items: center; font-weight: 800; margin-bottom: .5rem; }
.score-jeu { background: #2d2a3e; color: #fff; border-radius: 999px; padding: .2rem .8rem; } .serie { color: #e8508f; font-weight: 800; }
.chrono { height: 10px; background: #ece8f5; border-radius: 5px; overflow: hidden; margin-bottom: 1rem; }
.chrono span { display: block; height: 100%; background: linear-gradient(90deg, #13b5a6, #f7b733, #e21b3c); transform-origin: left; animation: chrono linear forwards; }
@keyframes chrono { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.question-jeu { font-size: clamp(1.3rem, 3.5vw, 2rem); background: #fff; border-radius: 18px; padding: 1rem; box-shadow: 0 3px 14px rgba(45,42,62,.08); }
.image-jeu { max-width: 100%; max-height: 240px; border-radius: 14px; margin: .5rem 0; }
.tuiles-jeu { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .6rem; margin: 1rem 0; } .tuiles-jeu.deux { grid-template-columns: 1fr 1fr; }
.tuile-jeu { background: var(--coul); color: #fff; border: 0; border-radius: 14px; min-height: 84px; font: 700 1.15rem/1.3 inherit; display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; text-align: left; cursor: pointer; box-shadow: 0 4px 0 rgba(0,0,0,.18); transition: transform .1s; }
.tuile-jeu:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.18); } .tuile-jeu:focus-visible { outline: 4px solid #2d2a3e; outline-offset: 2px; }
.tuile-jeu .forme { font-size: 1.6rem; } .tuile-jeu[aria-pressed="true"] { outline: 5px solid #2d2a3e; outline-offset: 2px; }
.cartes-jeu { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; margin: 1rem 0; perspective: 900px; }
.carte-cachee { position: relative; height: 150px; border: 0; background: none; cursor: pointer; transform-style: preserve-3d; transition: transform .6s; font: inherit; }
.carte-cachee .dos, .carte-cachee .face { position: absolute; inset: 0; border-radius: 14px; display: grid; place-items: center; backface-visibility: hidden; padding: .6rem; font-weight: 800; }
.carte-cachee .dos { background: repeating-linear-gradient(45deg, #6c4bd8 0 12px, #7d60e0 12px 24px); color: #fff; font-size: 3rem; }
.carte-cachee .face { background: #fff; border: 3px solid #6c4bd8; transform: rotateY(180deg); }
.carte-cachee.retournee { transform: rotateY(180deg); }
.carte-cachee:focus-visible { outline: 4px solid #2d2a3e; outline-offset: 3px; border-radius: 14px; }
.puzzle-jeu { list-style: none; counter-reset: p; padding: 0; max-width: 560px; margin: 1rem auto; text-align: left; }
.puzzle-jeu li { counter-increment: p; display: flex; justify-content: space-between; align-items: center; background: #fff; border: 2px solid #ece8f5; border-left: 8px solid #13b5a6; border-radius: 12px; padding: .6rem .8rem; margin: .35rem 0; font-weight: 700; }
.puzzle-jeu li::before { content: counter(p); font-weight: 900; color: #13b5a6; margin-right: .6rem; } .puzzle-jeu li span:first-of-type { flex: 1; }
.puzzle-jeu .fl button { font-size: 1.2rem; padding: .2rem .5rem; }
.assoc-jeu { max-width: 640px; margin: 1rem auto; } .ligne-assoc { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; align-items: center; margin: .4rem 0; }
.ligne-assoc .gauche { background: #f7b733; color: #2d2a3e; border-radius: 10px; padding: .6rem; font-weight: 800; } .ligne-assoc select { padding: .6rem; border-radius: 10px; }
.texte-trou { font-size: 1.25rem; line-height: 2.4; } .trou { width: 9rem; font-size: 1.1rem; border: 0; border-bottom: 3px solid #6c4bd8; text-align: center; background: #f6f3ff; border-radius: 6px 6px 0 0; }
.curseur-jeu { max-width: 560px; margin: 1.5rem auto; } .curseur-jeu input { width: 100%; accent-color: #6c4bd8; height: 2rem; }
.val-curseur { display: block; font-size: 2.5rem; font-weight: 900; color: #6c4bd8; } .curseur-jeu .bornes { display: flex; justify-content: space-between; color: #6b6585; }
.nuage-saisie { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1rem 0; } .nuage-saisie input { width: 11rem; font-size: 1.1rem; padding: .6rem; border-radius: 999px; border: 2px solid #ece8f5; text-align: center; }
.echelle-jeu { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin: 1rem 0; } .note-jeu { min-width: 3.2rem; min-height: 3.2rem; border-radius: 12px; border: 2px solid #ece8f5; background: #fff; font: 800 1.1rem inherit; cursor: pointer; }
.note-jeu:hover, .note-jeu:focus-visible { background: #6c4bd8; color: #fff; }
.retour-jeu .grand-ic { font-size: 5rem; } .retour-jeu.bon { background: radial-gradient(circle at top, #d9f5ef, transparent 70%); } .retour-jeu.faux { background: radial-gradient(circle at top, #ffe5dc, transparent 70%); }
.retour-jeu .gain { font-size: 2rem; font-weight: 900; color: #13b5a6; } .explication { background: #fff8e6; border-radius: 12px; padding: .7rem; }
.fin-jeu .gros-score { font-size: 3rem; font-weight: 900; background: linear-gradient(135deg, #6c4bd8, #e8508f); -webkit-background-clip: text; background-clip: text; color: transparent; margin: .2rem 0; }
.badge-jeu { display: inline-block; background: #fff3c4; border-radius: 999px; padding: .4rem 1rem; font-weight: 800; }
.podium ol { list-style: none; padding: 0; max-width: 380px; margin: .5rem auto; } .podium li { display: flex; gap: .6rem; align-items: center; background: #fff; border-radius: 12px; padding: .5rem .8rem; margin: .3rem 0; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
.podium li strong { margin-left: auto; } .podium .rang { font-size: 1.4rem; }
.confettis { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confettis i { position: absolute; top: -10px; left: calc(var(--x) * 1%); width: 10px; height: 16px; background: var(--c); border-radius: 2px; animation: tombe 2.4s var(--d) ease-in forwards; }
@keyframes tombe { to { transform: translateY(110vh) rotate(540deg); opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .chrono span, .confettis i, .carte-cachee { animation: none !important; transition: none !important; } }
.dialogue-jeu { width: min(1100px, 98vw); max-height: 96vh; border: 0; border-radius: 22px; padding: 1rem; background: #fffaf3; }
.dialogue-jeu .fermer-jeu { position: absolute; right: .8rem; top: .6rem; border: 0; background: #2d2a3e; color: #fff; border-radius: 50%; width: 2.2rem; height: 2.2rem; cursor: pointer; z-index: 3; }
.projection .proj { display: grid; grid-template-columns: 300px 1fr; gap: 1.2rem; } @media (max-width: 760px) { .projection .proj { grid-template-columns: 1fr; } }
.proj-gauche { background: #2d2a3e; color: #fff; border-radius: 18px; padding: 1rem; text-align: center; } .proj-gauche .aide { color: #cfc8e6; }
.code-geant { font: 900 3rem monospace; letter-spacing: .2em; margin: .2rem 0; color: #f7b733; } .lien-proj { font-size: .85rem; word-break: break-all; }
.qr-proj img, .qr-proj canvas { background: #fff; padding: 8px; border-radius: 10px; margin: .5rem auto; display: block; max-width: 200px; } .compteur { font-size: 1.3rem; font-weight: 800; }
.proj-gauche .podium li { color: #2d2a3e; }
.barres-direct .b { display: grid; grid-template-columns: minmax(120px, 1.2fr) 2fr 3rem; gap: .6rem; align-items: center; margin: .5rem 0; text-align: left; font-weight: 700; }
.barres-direct .piste { height: 28px; background: #ece8f5; border-radius: 8px; overflow: hidden; } .barres-direct .piste span { display: block; height: 100%; transition: width .5s; }
.nuage-direct { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .3rem .8rem; min-height: 180px; padding: 1rem; font-weight: 800; }
.gros-direct { font-size: 3.5rem; font-weight: 900; color: #6c4bd8; margin: .5rem 0; }
.curseur-direct { position: relative; height: 40px; background: linear-gradient(90deg, #ece8f5, #d9cff7); border-radius: 20px; margin: 1.5rem 0; }
.pt-d { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #6c4bd8; transform: translate(-50%, -50%); opacity: .7; } .pt-d.bon { background: #13b5a6; width: 24px; height: 24px; opacity: 1; border: 3px solid #fff; }
.bulles-direct .bulle { display: inline-block; background: #fff; border-radius: 14px 14px 14px 3px; padding: .4rem .8rem; margin: .3rem; box-shadow: 0 2px 6px rgba(0,0,0,.06); }

/* ===== Parcours automatisé ===== */
.parcours-auto h2 { margin-top: 0; }
.jauge-auto .barre { height: 14px; background: #ece8f5; border-radius: 7px; overflow: hidden; }
.jauge-auto .barre span { display: block; height: 100%; background: linear-gradient(90deg, #13b5a6, #6c4bd8); transition: width .6s; }
.frise-auto { list-style: none; padding: 0 0 0 1.2rem; margin: 1rem 0; position: relative; }
.frise-auto::before { content: ""; position: absolute; left: .45rem; top: 0; bottom: 0; width: 4px; border-radius: 2px; background: linear-gradient(#6c4bd8, #13b5a6); opacity: .35; }
.etape-auto { display: grid; grid-template-columns: 7.5rem 2.6rem 1fr; gap: .6rem; align-items: start; position: relative; background: #fff; border: 2px solid #ece8f5; border-radius: 14px; padding: .6rem .8rem; margin: .45rem 0; }
.etape-auto::before { content: ""; position: absolute; left: -1.05rem; top: 1.1rem; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid #b9aee0; }
.date-auto { display: flex; flex-direction: column; font-size: .9rem; } .date-auto span { color: #6b6585; font-size: .8rem; }
.pastille-auto { width: 2.4rem; height: 2.4rem; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: #f6f3ff; }
.titre-auto { font-weight: 800; margin: 0; } .ref-auto { background: #2d2a3e; color: #fff; border-radius: 6px; padding: 0 .4rem; font-size: .8rem; }
.corps-auto p { margin: .15rem 0; } .actions-auto { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .3rem; }
.statut-auto { display: inline-block; font-weight: 700; font-size: .85rem; border-radius: 999px; padding: .05rem .55rem; background: #f0eef6; }
.ind-auto { display: inline-block; font-size: .72rem; border: 1px solid #c9bff0; color: #4b3a99; border-radius: 6px; padding: 0 .35rem; margin-left: .25rem; }
.ind-auto.ok { background: #e3f7f2; border-color: #13b5a6; color: #0b6e64; } .ind-auto.ko { background: #fff4ec; border-color: #ffb48f; color: #8a3b14; }
.etape-auto.st-fait { border-color: #bfe9df; background: #f5fcfa; } .etape-auto.st-fait::before { background: #13b5a6; border-color: #13b5a6; }
.etape-auto.st-pret { border-color: #f7b733; box-shadow: 0 0 0 3px rgba(247,183,51,.25); } .etape-auto.st-pret::before { background: #f7b733; border-color: #f7b733; }
.etape-auto.st-bloque { border-color: #ffb48f; } .etape-auto.st-bloque::before { border-color: #ff7a59; }
.etape-auto.st-programme::before { border-color: #6c4bd8; background: #e8e2fb; }
.etape-auto.st-inactif, .etape-auto.st-ignore { opacity: .6; }
.aujourdhui-auto { position: relative; margin: .6rem 0 .6rem -1.2rem; border-top: 3px dashed #e8508f; }
.aujourdhui-auto span { position: relative; top: -.8rem; left: 1rem; background: #e8508f; color: #fff; font-weight: 800; font-size: .8rem; border-radius: 999px; padding: .1rem .6rem; }
.liste-auto { padding-left: 0; } .liste-auto::before { display: none; } .liste-auto .etape-auto::before { display: none; }
.ligne-financeur { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .6rem 0; } .ligne-financeur input { min-width: 16rem; }
@media (max-width: 640px) { .etape-auto { grid-template-columns: 1fr; } .pastille-auto { display: none; } }
.deux-auto { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } @media (max-width: 760px) { .deux-auto { grid-template-columns: 1fr; } }
.apercu-auto { background: #fffaf3; border: 1px dashed #e3d6bd; border-radius: 12px; padding: .6rem .8rem; } .apercu-auto pre { white-space: pre-wrap; font: inherit; margin: 0; }
.sujet-apercu { font-weight: 800; margin: .2rem 0 .5rem; }
.dialogue-auto { width: min(1000px, 96vw); }
.agenda-auto { display: grid; gap: .6rem; } .jour-auto { background: #fff; border-radius: 12px; padding: .5rem .9rem; border-left: 6px solid #6c4bd8; }
.jour-auto h3 { margin: .2rem 0; text-transform: capitalize; font-size: 1rem; } .jour-auto ul { margin: .2rem 0; padding-left: 1rem; }
.couverture-auto { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; margin: .6rem 0 1rem; } .couverture-auto .ind-auto { font-size: .8rem; padding: .15rem .45rem; margin: 0; }
.scenario-auto ol { list-style: none; padding: 0; } .etape-edit { background: #fff; border: 2px solid #ece8f5; border-radius: 14px; margin: .45rem 0; padding: .3rem .8rem; }
.etape-edit summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .3rem 0; } .etape-edit.eteinte { opacity: .65; }
.variables-auto { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; } .puce { border: 1px solid #c9bff0; background: #f6f3ff; border-radius: 999px; padding: .1rem .55rem; font: inherit; font-size: .8rem; cursor: pointer; }
.puce:hover, .puce:focus-visible { background: #6c4bd8; color: #fff; }
.alerte-auto { border-left: 6px solid #f7b733; }
.vivre-parcours h2 { margin-top: .2rem; } .telephone { width: min(380px, 100%); margin: .8rem auto; background: #2d2a3e; border-radius: 36px; padding: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.ecran-tel { background: #fff; border-radius: 24px; min-height: 420px; max-height: 64vh; overflow: auto; padding: .6rem; }
.entete-tel { font-weight: 800; text-align: center; margin: .2rem 0 .6rem; }
.mail-tel { border-bottom: 1px solid #eee; padding: .4rem .2rem; } .mail-tel summary { display: grid; grid-template-columns: 1.6rem 1fr auto; gap: .1rem .4rem; cursor: pointer; list-style: none; }
.mail-tel summary::-webkit-details-marker { display: none; }
.ic-tel { grid-row: span 2; font-size: 1.2rem; } .de-tel { font-weight: 800; } .date-tel { color: #6b6585; font-size: .8rem; } .sujet-tel { grid-column: 2 / 4; font-size: .9rem; }
.mail-tel:not(.lu) .de-tel::before { content: "● "; color: #1368ce; } .mail-tel pre { white-space: pre-wrap; font: inherit; font-size: .9rem; background: #f7f7fb; border-radius: 10px; padding: .5rem; }

/* ===== Contrôle de conformité ===== */
.synthese-conf { display: grid; grid-template-columns: 170px 1fr; gap: 1.2rem; align-items: center; } @media (max-width: 700px) { .synthese-conf { grid-template-columns: 1fr; } }
.anneau { width: 160px; height: 160px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), #ece8f5 0); position: relative; }
.anneau::before { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: #fff; }
.anneau span, .anneau small { position: relative; } .anneau span { font-size: 2.6rem; font-weight: 900; line-height: 1; } .anneau small { color: #6b6585; }
.filtres-conf { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0; } .puce.active { background: #6c4bd8; color: #fff; border-color: #6c4bd8; }
.pt-histo { font-weight: 800; }
.liste-controles { list-style: none; padding: 0; margin: 0; } .controle { border-bottom: 1px solid #eee; } .controle summary { cursor: pointer; padding: .55rem .2rem; display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.controle.ok summary { color: #2b6b55; } .ic-ctl { font-size: 1.1rem; }
.anomalies { list-style: none; padding: 0; margin: .3rem 0 .8rem; display: grid; gap: .5rem; }
.anomalie { background: #fff; border: 2px solid #ece8f5; border-left-width: 8px; border-radius: 12px; padding: .5rem .8rem; } .anomalie p { margin: .2rem 0; }
.anomalie.grav-majeure { border-left-color: #e21b3c; } .anomalie.grav-mineure { border-left-color: #ff7a59; } .anomalie.grav-vigilance { border-left-color: #f7b733; }
.anomalie .grav { font-weight: 800; font-size: .85rem; } .proposition-ia { background: #f6f3ff; border-radius: 10px; padding: .5rem .8rem; margin-top: .4rem; }
.conforme-ok { font-weight: 700; color: #2b6b55; }
/* ===== Amélioration continue ===== */
.kanban { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: .8rem; overflow-x: auto; } @media (max-width: 1000px) { .kanban { grid-template-columns: repeat(2, minmax(220px, 1fr)); } } @media (max-width: 560px) { .kanban { grid-template-columns: 1fr; } }
.col-kanban { background: #f6f3ff; border-radius: 16px; padding: .6rem; } .col-kanban h2 { font-size: 1rem; margin: .2rem .2rem .5rem; } .col-kanban ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.carte-kanban { background: #fff; border-radius: 12px; padding: .5rem .7rem; box-shadow: 0 2px 6px rgba(0,0,0,.05); } .carte-kanban p { margin: .2rem 0; } .carte-kanban.retard { border: 2px solid #ff7a59; }
.carte-kanban .grille { grid-template-columns: 1fr 1fr; gap: .4rem; } .public-reclamation { max-width: 760px; margin: 1rem auto; }
.kanban { grid-template-columns: repeat(4, minmax(0, 1fr)); } .col-kanban { min-width: 0; }
.carte-kanban { min-width: 0; overflow-wrap: anywhere; } .carte-kanban input { width: 100%; box-sizing: border-box; min-width: 0; } .carte-kanban .grille { grid-template-columns: 1fr; }
@media (max-width: 1100px) { .kanban { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 560px) { .kanban { grid-template-columns: 1fr; } }

/* =====================================================================
   Thème « Omniagogie » : nuit étoilée, or et lumière (CRM et extranet)
   ===================================================================== */
:root { --nuit: #0e1440; --nuit-2: #1d1a5a; --indigo: #2e2378; --or: #f5c96a; --or-fonce: #b8862b; --aurore: #3fd1c1; --parchemin: #f7f3ea;
  --couleur: #4b3aa8; --couleur-fonce: #2b1f6b; --couleur-pale: #eeeafb; --fond: var(--parchemin); --bord: #e2dccd; --rayon: 14px;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
h1, .marque, .ex-titre, .ex-marque { font-family: "Cinzel", Georgia, "Times New Roman", serif; letter-spacing: .02em; }
main h1 { color: var(--couleur-fonce); position: relative; padding-bottom: .35rem; }
main h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--or), transparent); }
.bandeau { background: radial-gradient(1px 1px at 12% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 38% 70%, #ffe9b0 50%, transparent 51%), radial-gradient(1.5px 1.5px at 67% 25%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 86% 60%, #cfe9ff 50%, transparent 51%), linear-gradient(100deg, var(--nuit) 0%, var(--indigo) 55%, #3b2a8c 100%); border-bottom: 2px solid rgba(245, 201, 106, .55); }
.marque { color: var(--or); font-size: 1.1rem; text-shadow: 0 0 12px rgba(245, 201, 106, .45); }
.marque::before { content: "✦ "; }
#menu { background: linear-gradient(180deg, var(--nuit) 0%, var(--nuit-2) 60%, #251b63 100%); border-right: 1px solid rgba(245, 201, 106, .35); color: #efeaff; padding: .8rem .6rem 2rem; }
#menu a { color: #ece7ff; display: flex; align-items: center; gap: .55rem; padding: .38rem .55rem; border-radius: 999px; font-weight: 600; font-size: .93rem; }
#menu a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
#menu a[aria-current="page"] { background: linear-gradient(90deg, rgba(245, 201, 106, .25), rgba(245, 201, 106, .05)); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(245, 201, 106, .7); font-weight: 800; }
#menu .icone-menu { width: 1.9rem; height: 1.9rem; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; background: radial-gradient(circle, rgba(245, 201, 106, .22), rgba(245, 201, 106, .04) 70%);
  box-shadow: 0 0 0 1.5px rgba(245, 201, 106, .55), 0 0 10px rgba(245, 201, 106, .25); }
#menu a[aria-current="page"] .icone-menu { background: radial-gradient(circle, rgba(245, 201, 106, .55), rgba(245, 201, 106, .1) 70%); }
.groupe-menu { color: var(--or); opacity: .95; margin: .9rem .5rem .3rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.groupe-menu button { all: unset; cursor: pointer; display: flex; width: 100%; justify-content: space-between; align-items: center; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; }
.groupe-menu button:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; border-radius: 4px; }
.groupe-menu .chevron { transition: transform .2s; } .groupe-menu.replie .chevron { transform: rotate(-90deg); }
.groupe-menu.replie + ul { display: none; }
.recherche-menu { width: 100%; margin: 0 0 .4rem; padding: .45rem .7rem; border-radius: 999px; border: 1px solid rgba(245, 201, 106, .45); background: rgba(255, 255, 255, .08); color: #fff; font: inherit; }
.recherche-menu::placeholder { color: #c9c2ea; }
.encart, .fiche, .zone-carte { border-radius: var(--rayon); box-shadow: 0 2px 14px rgba(30, 22, 80, .06); }
.bouton { border-radius: 999px; background: linear-gradient(135deg, #5a45c4, #3a2b96); border-color: transparent; box-shadow: 0 2px 8px rgba(58, 43, 150, .25); }
.bouton:hover { background: linear-gradient(135deg, #6a55d4, #4a3ba6); }
.bouton.secondaire { background: #fff; color: var(--couleur-fonce); border: 1.5px solid #cfc6f0; box-shadow: none; }
.bouton.secondaire:hover { border-color: var(--or-fonce); background: #fffaf0; }
.indicateurs li { border-radius: var(--rayon); }
@media (max-width: 900px) { #menu { background: var(--nuit); } }
html.confort-contraste #menu { background: #000; } html.confort-contraste .bandeau { background: #000; }
.choix-emargement { display: inline-flex; flex-direction: column; gap: .2rem; } .choix-emargement select { font-size: .85rem; }
.principe-extranet { border-left: 6px solid var(--or); } .grille-rubriques { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .5rem; }
.rubrique { align-items: flex-start; background: #fffaf0; border: 1px solid #efe3c4; border-radius: 12px; padding: .5rem .7rem; }
.moderation { list-style: none; padding: 0; display: grid; gap: .6rem; } .carte-moderation { display: grid; grid-template-columns: 120px 1fr; gap: .8rem; align-items: start; background: #fff; border: 1px solid var(--bord); border-radius: 12px; padding: .6rem; }
.carte-moderation img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; } .moderation.mini { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.ligne-apercu { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

/* ===== Extranet apprenant ===== */
body.extranet { margin: 0; min-height: 100vh; color: #241f3d; background: var(--parchemin); }
body.extranet[data-theme="cosmos"] { background: radial-gradient(1px 1px at 8% 12%, #fff 50%, transparent 51%) 0 0 / 220px 220px, radial-gradient(1.5px 1.5px at 60% 40%, #ffe7a3 50%, transparent 51%) 0 0 / 300px 300px,
  radial-gradient(1px 1px at 30% 80%, #cfe9ff 50%, transparent 51%) 0 0 / 260px 260px, radial-gradient(ellipse 900px 500px at 85% 0%, rgba(63, 209, 193, .22), transparent 60%) 0 0 / 100% 100% no-repeat,
  linear-gradient(180deg, #0b1036 0%, #1c1760 45%, #2f2275 100%) 0 0 / 100% 100% no-repeat; background-color: #2f2275; }
html:has(body.extranet[data-theme="cosmos"]) { background: #2f2275; }
#extranet { max-width: 1100px; margin: 0 auto; padding: 1rem 1rem 3rem; }
.ex-entete { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; padding: .6rem 0 1rem; }
.ex-logo { max-height: 56px; border-radius: 10px; background: #fff; padding: 4px; } .ex-marque { color: var(--or); font-size: 1.3rem; }
.ex-bonjour { margin: 0; font-size: 1.15rem; flex: 1; } body[data-theme="cosmos"] .ex-bonjour, body[data-theme="cosmos"] .ex-pied { color: #efeaff; }
.ex-confort { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.ex-btn-confort { min-width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1.5px solid rgba(245, 201, 106, .7); background: rgba(255, 255, 255, .1); color: inherit; font: 800 .95rem inherit; cursor: pointer; }
body[data-theme="cosmos"] .ex-btn-confort, body[data-theme="cosmos"] .ex-quitter { color: #fff; } .ex-btn-confort[aria-pressed="true"] { background: var(--or); color: #241f3d !important; }
.ex-nav ul { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: .5rem; }
.ex-nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .7rem .4rem; border-radius: 18px; text-decoration: none; font-weight: 700; font-size: .9rem; text-align: center;
  color: #241f3d; background: #fffaf0; border: 1.5px solid #efe3c4; transition: transform .15s; }
body[data-theme="cosmos"] .ex-nav a { color: #f4efff; background: rgba(255, 255, 255, .07); border-color: rgba(245, 201, 106, .45); }
.ex-nav a:hover { transform: translateY(-2px); } .ex-nav a[aria-current="page"] { background: linear-gradient(160deg, rgba(245, 201, 106, .95), #e7b552); color: #241f3d; border-color: var(--or); }
.ex-ic { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.35rem; background: radial-gradient(circle, rgba(245, 201, 106, .35), rgba(245, 201, 106, .05) 70%); box-shadow: 0 0 0 1.5px rgba(245, 201, 106, .7), 0 0 14px rgba(245, 201, 106, .35); }
.ex-pastille { position: absolute; top: .3rem; right: .5rem; background: #e8508f; color: #fff; border-radius: 999px; min-width: 1.4rem; font-size: .75rem; padding: .05rem .35rem; }
#ex-contenu { background: #fffdf7; border-radius: 24px; padding: 1.3rem 1.4rem 1.6rem; box-shadow: 0 10px 40px rgba(10, 8, 40, .35); outline: none; }
.ex-titre { color: #2b1f6b; margin-top: 0; } .ex-falc { display: none; background: #fff3c4; border-radius: 12px; padding: .5rem .8rem; font-weight: 700; } html.confort-falc .ex-falc { display: block; }
.ex-accueil { font-size: 1.1rem; } .ex-deux { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(260px, 1.2fr); gap: 1rem; } @media (max-width: 760px) { .ex-deux { grid-template-columns: 1fr; } }
.ex-colonne { display: grid; gap: 1rem; align-content: start; }
.ex-carte { background: #fff; border: 1.5px solid #efe6cf; border-radius: 18px; padding: .9rem 1.1rem; box-shadow: 0 3px 12px rgba(40, 30, 90, .06); list-style: none; }
.ex-carte h2 { font-size: 1.1rem; margin: .1rem 0 .4rem; color: #2b1f6b; }
.ex-arbre { background: radial-gradient(ellipse at 50% 35%, #2f2275, #12164a 75%); color: #f4efff; border-color: rgba(245, 201, 106, .5); text-align: center; } .ex-arbre h2 { color: var(--or); } .ex-arbre .aide { color: #d9d2f5; }
.arbre { width: 100%; max-width: 340px; } .niveau-arbre { font-weight: 800; color: var(--or); margin: .2rem 0; }
.arbre .feuille { animation: pousse .6s var(--d) both ease-out; transform-box: fill-box; transform-origin: center; } @keyframes pousse { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
html.confort-calme .arbre .feuille { animation: none; }
.ex-gros { font-size: 1.15rem; font-weight: 800; } .ex-compte h2 { font-size: 2rem; color: #e8508f; margin: 0; }
.ex-etapes { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; } .ex-etapes li { color: #8a83a3; } .ex-etapes li.fait { color: #1f6b4f; font-weight: 700; }
.ex-cartes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: .8rem; }
.ex-statut { display: inline-block; font-weight: 800; font-size: .85rem; border-radius: 999px; padding: .1rem .6rem; background: #efeafb; color: #3a2b96; }
.ex-avenir { background: #e3f2ff; color: #164e86; } .ex-encours { background: #fff1d6; color: #7a4c00; } .ex-terminee { background: #dff5ea; color: #1f6b4f; }
.ex-q.fait { opacity: .75; } .ex-docs .ex-carte { display: grid; grid-template-columns: 2.4rem 1fr; gap: .6rem; } .ex-docs .ex-carte .bouton { grid-column: 2; justify-self: start; }
.ex-ic-doc { font-size: 2rem; } .verrouille { opacity: .6; } .ex-vide { color: #6b6585; font-style: italic; }
.ex-depot { margin-bottom: 1.2rem; } .ex-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .5rem; margin-bottom: .8rem; }
.ex-type { display: flex; flex-direction: column; align-items: center; gap: .2rem; border: 2px solid #efe6cf; border-radius: 16px; padding: .6rem; cursor: pointer; font-weight: 700; }
.ex-type span { font-size: 1.8rem; } .ex-type:has(input:checked) { border-color: var(--or-fonce); background: #fff6dd; } .ex-type input { position: absolute; opacity: 0; } .ex-type:focus-within { outline: 3px solid var(--or); }
.ex-galerie { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .8rem; }
.ex-galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; } .ex-vignette { all: unset; cursor: pointer; display: block; } .ex-vignette:focus-visible { outline: 3px solid var(--or); border-radius: 12px; }
.ex-loupe { border: 0; border-radius: 18px; max-width: 94vw; } .ex-loupe img { max-width: 88vw; max-height: 76vh; display: block; border-radius: 12px; }
.ex-badges { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .8rem; }
.ex-badge { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .25rem; background: #f4f1fb; border-radius: 18px; padding: .9rem .6rem; opacity: .65; }
.ex-badge.gagne { opacity: 1; background: radial-gradient(circle at 50% 20%, #fff6d8, #fff 70%); border: 1.5px solid var(--or); box-shadow: 0 0 16px rgba(245, 201, 106, .35); }
.ex-medaille { font-size: 2.2rem; width: 3.6rem; height: 3.6rem; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(245, 201, 106, .4), transparent 70%); }
.ex-bravo { background: #dff5ea; color: #1f6b4f; font-weight: 800; border-radius: 12px; padding: .5rem .8rem; } .ex-rappel { margin-top: 1rem; border-color: #f7b733; }
.ex-pied { text-align: center; font-size: .85rem; margin-top: 1rem; }
.ex-connexion { max-width: 520px; margin: 4vh auto; text-align: center; background: rgba(14, 20, 64, .7); color: #f4efff; border: 1.5px solid rgba(245, 201, 106, .55); border-radius: 26px; padding: 1.4rem 1.6rem; box-shadow: 0 0 40px rgba(245, 201, 106, .15); }
.ex-connexion h1 { color: var(--or); } .ex-connexion form { text-align: left; } .ex-connexion .aide { color: #d9d2f5; } .ex-connexion input:not([type=checkbox]) { width: 100%; font-size: 1.2rem; letter-spacing: .12em; text-transform: uppercase; }
.ex-connexion .arbre { max-width: 220px; } .ex-connexion .niveau-arbre { display: none; } .ex-connexion .message { color: #ffd0d0; }
body.extranet .texte-reglement { max-height: 40vh; overflow: auto; background: #faf7ef; border-radius: 12px; padding: .6rem .9rem; }
html.confort-contraste body.extranet { background: #fff; } html.confort-contraste #ex-contenu, html.confort-contraste .ex-carte { box-shadow: none; border-color: #000; }
html.confort-contraste body[data-theme="cosmos"] .ex-nav a { background: #fff; color: #000; border-color: #000; } html.confort-contraste body[data-theme="cosmos"] .ex-bonjour, html.confort-contraste body[data-theme="cosmos"] .ex-btn-confort, html.confort-contraste body[data-theme="cosmos"] .ex-quitter { color: #000; }

/* ===== Éditeur de mise en forme ===== */
.editeur-riche { border: 1.5px solid var(--bord); border-radius: 12px; background: #fff; overflow: hidden; position: relative; }
.barre-riche { display: flex; flex-wrap: wrap; gap: 2px; padding: 4px; background: #f6f3ff; border-bottom: 1px solid var(--bord); position: sticky; top: 0; z-index: 2; }
.btn-riche { min-width: 2rem; height: 2rem; border: 1px solid transparent; background: transparent; border-radius: 6px; cursor: pointer; font: 600 .9rem inherit; color: #2b1f6b; padding: 0 .35rem; }
.btn-riche:hover, .btn-riche:focus-visible { background: #fff; border-color: #cfc6f0; } .sep-riche { width: 1px; background: #d8d0f0; margin: 3px 4px; }
.zone-riche { padding: .6rem .8rem; outline: none; overflow: auto; max-height: 60vh; } .zone-riche:focus { box-shadow: inset 0 0 0 2px #f5c96a; }
.zone-riche table, .texte-riche table { border-collapse: collapse; margin: .5rem 0; } .zone-riche td, .zone-riche th, .texte-riche td, .texte-riche th { border: 1px solid #cfc6f0; padding: .3rem .5rem; min-width: 3rem; }
.zone-riche blockquote, .texte-riche blockquote { border-left: 4px solid var(--or); margin: .5rem 0; padding: .3rem .8rem; background: #fffaf0; border-radius: 0 8px 8px 0; }
.pop-riche { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; padding: .5rem; background: #fffaf0; border-bottom: 1px solid var(--bord); }
.pop-riche label { display: flex; gap: .3rem; align-items: center; } .pop-riche input[type=number] { width: 4rem; } .pastille-couleur { width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #bbb; cursor: pointer; }
.pastille-couleur.choisi { box-shadow: 0 0 0 3px #2b1f6b; }
/* ===== Dossiers ===== */
.fil-dossiers { margin: .2rem 0 .8rem; font-weight: 700; } .nouveau-dossier { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .8rem; }
.grille-dossiers { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .6rem; margin: 0 0 1rem; } .grille-dossiers li { position: relative; }
.carte-dossier { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; background: #fffaf0; border: 1.5px solid #efe3c4; border-radius: 14px; padding: .7rem .8rem; cursor: pointer; font: inherit; text-align: left; }
.carte-dossier:hover, .carte-dossier:focus-visible { border-color: var(--or-fonce); } .ic-dossier { font-size: 2rem; } .outils-dossier { position: absolute; top: .3rem; right: .4rem; display: flex; gap: .2rem; }
.ex-dossier { font-size: 1.05rem; color: #2b1f6b; margin: 1rem 0 .4rem; }
/* ===== Nouvelles activités ===== */
.mur-saisie, .mur-direct { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin: 1rem 0; }
.postit { display: block; width: 12rem; min-height: 7rem; background: #fff3a8; padding: .6rem; box-shadow: 0 4px 10px rgba(0,0,0,.12); transform: rotate(var(--rot)); font-weight: 700; border-radius: 4px; }
.postit textarea { width: 100%; border: 0; background: transparent; font: inherit; resize: none; } .mur-direct .postit:nth-child(3n) { background: #c8f1e5; } .mur-direct .postit:nth-child(3n+1) { background: #ffd6e5; }
.image-cliquable { position: relative; display: inline-block; max-width: 100%; margin: .8rem auto; } .image-cliquable img, .zone-image-edit img { max-width: 100%; max-height: 60vh; display: block; border-radius: 12px; }
.zone-clic { all: unset; cursor: crosshair; display: block; } .zone-clic:focus-visible { outline: 3px solid #2b1f6b; border-radius: 12px; }
.pt-clic { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: #e8508f; border: 3px solid #fff; transform: translate(-50%, -50%); pointer-events: none; box-shadow: 0 0 0 2px #e8508f; }
.zone-image-edit { position: relative; display: inline-block; cursor: crosshair; } .cible-zone { position: absolute; aspect-ratio: 1; border-radius: 50%; border: 3px dashed #13b5a6; background: rgba(19,181,166,.18); transform: translate(-50%, -50%); pointer-events: none; }
.podium-classement { list-style: none; padding: 0; max-width: 520px; margin: 1rem auto; } .podium-classement li { background: #fff; border-radius: 12px; padding: .5rem .8rem; margin: .3rem 0; font-weight: 700; }
/* ===== Parcours et aventure ===== */
.carte-parcours, .ex-parcours { background: linear-gradient(160deg, var(--u1), var(--u2)) !important; color: #fff; border-color: rgba(245,201,106,.6) !important; }
.carte-parcours .aide, .ex-parcours .aide, .ex-parcours h2 { color: #f4efff !important; }
.av-monde, .av-creation, .av-niveau { background: linear-gradient(170deg, var(--u1), var(--u2)); color: #f4efff; border-radius: 22px; padding: 1rem 1.2rem; position: relative; overflow: hidden; }
.av-monde.classique { background: #fff; color: inherit; border: 1.5px solid #efe6cf; }
.av-haut { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: flex-start; } .av-haut h2 { margin: 0; color: var(--or); } .av-monde.classique .av-haut h2 { color: #2b1f6b; }
.av-desc { margin: .2rem 0 .5rem; } .av-monde .aide { color: inherit; opacity: .85; }
.av-progres, .av-xp { height: 10px; border-radius: 5px; background: rgba(255,255,255,.2); overflow: hidden; min-width: 220px; } .av-monde.classique .av-progres { background: #ece8f5; }
.av-progres span, .av-xp span { display: block; height: 100%; background: linear-gradient(90deg, var(--or), #fff1b8); }
.av-fiche { text-align: center; min-width: 200px; } .av-message { background: rgba(255,255,255,.92); color: #241f3d; border-radius: 12px; padding: .5rem .8rem; font-weight: 700; }
.av-corps { display: grid; grid-template-columns: 1fr 260px; gap: 1rem; margin-top: .8rem; } @media (max-width: 820px) { .av-corps { grid-template-columns: 1fr; } }
.av-carte-monde { position: relative; } .av-chemin { position: absolute; inset: 0; width: 100%; height: 100%; } .av-chemin path { fill: none; stroke: rgba(245,201,106,.65); stroke-width: 6; stroke-dasharray: 2 14; stroke-linecap: round; }
.deco { position: absolute; font-size: 1.8rem; opacity: .45; pointer-events: none; }
.av-etapes { list-style: none; padding: 0; margin: 0; position: relative; } .aventure .av-noeud { position: absolute; transform: translate(-50%, -50%); width: 46%; max-width: 260px; display: flex; justify-content: center; }
.classique .av-etapes { display: grid; gap: .5rem; } .av-noeud { position: relative; }
.av-noeud button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .25rem; width: 100%; padding: .3rem; border-radius: 14px; }
.classique .av-noeud button { flex-direction: row; text-align: left; background: #faf7ef; border: 1.5px solid #efe6cf; padding: .6rem .8rem; }
.av-noeud button:focus-visible { outline: 3px solid var(--or); } .av-noeud button[disabled] { cursor: default; }
.pastille-noeud { width: 3.4rem; height: 3.4rem; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; background: radial-gradient(circle, #fff7d6, #f5c96a); color: #241f3d; box-shadow: 0 0 0 4px rgba(255,255,255,.35), 0 0 18px rgba(245,201,106,.6); }
.titre-noeud { font-weight: 800; font-size: .92rem; text-shadow: 0 1px 2px rgba(0,0,0,.4); } .classique .titre-noeud { text-shadow: none; }
.av-noeud.fait .pastille-noeud { background: radial-gradient(circle, #d9fff2, #13b5a6); color: #fff; } .av-noeud.verrou .pastille-noeud, .av-noeud.cachee .pastille-noeud { background: rgba(255,255,255,.18); box-shadow: none; color: #fff; }
.av-noeud.cachee { opacity: .4; } .av-noeud.bonus .pastille-noeud { box-shadow: 0 0 0 4px #e8508f, 0 0 20px rgba(232,80,143,.6); }
.av-noeud.ouverte:not(.fait) .pastille-noeud { animation: pulse 1.8s ease-in-out infinite; } @keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255,255,255,.15), 0 0 30px rgba(245,201,106,.9); } }
html.confort-calme .av-noeud .pastille-noeud { animation: none !important; }
.av-jeton { position: absolute; left: 50%; top: -1.9rem; transform: translateX(-50%); font-size: 2rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.av-panneau { background: rgba(255,255,255,.1); border: 1px solid rgba(245,201,106,.45); border-radius: 16px; padding: .6rem .8rem; align-self: start; } .classique .av-panneau { background: #faf7ef; }
.av-panneau h3 { margin: .4rem 0; font-size: 1rem; color: var(--or); } .classique .av-panneau h3 { color: #2b1f6b; }
.av-comp { list-style: none; padding: 0; margin: 0; } .av-comp li { display: grid; grid-template-columns: 1fr 70px 2.2rem; gap: .4rem; align-items: center; font-size: .9rem; margin: .2rem 0; }
.av-comp .piste { height: 8px; background: rgba(255,255,255,.2); border-radius: 4px; overflow: hidden; } .av-comp .piste span { display: block; height: 100%; background: var(--aurore); }
.av-inventaire { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; } .av-inventaire li { background: rgba(255,255,255,.9); color: #241f3d; border-radius: 999px; padding: .15rem .6rem; font-weight: 700; font-size: .85rem; }
.avatar-av { position: relative; width: 4.2rem; height: 4.2rem; margin: 0 auto; display: grid; place-items: center; } .avatar-av.grand { width: 7.5rem; height: 7.5rem; }
.avatar-av .aura { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, var(--c) 0%, transparent 70%); opacity: calc(.35 + var(--n, 0) * .1); box-shadow: 0 0 0 3px var(--c); }
.avatar-av.niv-3 .aura, .avatar-av.niv-4 .aura { box-shadow: 0 0 0 3px var(--c), 0 0 18px var(--c); } .avatar-av.niv-5 .aura, .avatar-av.niv-6 .aura, .avatar-av.niv-7 .aura { box-shadow: 0 0 0 4px var(--or), 0 0 28px var(--c), 0 0 46px var(--or); }
.avatar-av .perso { position: relative; font-size: 2.3rem; } .avatar-av.grand .perso { font-size: 4rem; }
.avatar-av .acc i { position: absolute; font-style: normal; font-size: 1.1rem; left: 50%; top: 50%; transform: rotate(calc(var(--k) * 60deg - 90deg)) translate(2.3rem) rotate(calc(var(--k) * -60deg + 90deg)); } .avatar-av.grand .acc i { font-size: 1.6rem; transform: rotate(calc(var(--k) * 60deg - 90deg)) translate(4.2rem) rotate(calc(var(--k) * -60deg + 90deg)); margin: -.8rem; }
.avatar-av .niv { position: absolute; right: -.2rem; bottom: -.2rem; background: var(--or); color: #241f3d; border-radius: 50%; width: 1.5rem; height: 1.5rem; display: grid; place-items: center; font-weight: 900; font-size: .8rem; }
.titre-av { margin: .3rem 0 0; } .av-creation h2, .av-niveau h2 { color: var(--or); } .av-choix { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .5rem; margin: .8rem 0; }
.av-carte { display: flex; flex-direction: column; align-items: center; gap: .2rem; border: 2px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); color: #fff; border-radius: 16px; padding: .6rem; cursor: pointer; font: 700 .9rem inherit; }
.av-carte span { font-size: 2.4rem; } .av-carte.choisi { border-color: var(--or); background: rgba(245,201,106,.25); } .av-couleurs { display: flex; gap: .5rem; margin-bottom: .8rem; }
.av-creation label { color: #fff; } .av-apercu { margin: .8rem 0; } .av-niveau { text-align: center; }
.av-etape { background: #fff; border-radius: 18px; padding: 1rem 1.2rem; } .av-consigne { background: #fff3c4; border-radius: 12px; padding: .5rem .8rem; margin: .6rem 0; }
.choix-recit { display: block; width: 100%; margin: .5rem 0; text-align: left; } .av-salles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .6rem; }
.video-cadre { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #000; } .video-cadre iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; }
.av-minuteur strong { font-size: 1.4rem; color: #e8508f; }
.dialogue-classe { width: min(1300px, 98vw); } .classe-corps { display: grid; grid-template-columns: 1fr 280px; gap: .8rem; } @media (max-width: 900px) { .classe-corps { grid-template-columns: 1fr; } }
.cadre-visio iframe { width: 100%; height: 62vh; border: 0; border-radius: 14px; background: #111; }
.salle-edit, .choix-edit { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .4rem .8rem; border: 1px dashed #d8d0f0; border-radius: 12px; padding: .5rem .7rem; margin: .4rem 0; }
.dialogue-parcours { width: min(1150px, 98vw); }
.av-creneaux { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .5rem; }
.creneau { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; text-align: left; background: #f6f3ff; border: 2px solid #d8d0f0; border-radius: 14px; padding: .6rem .8rem; font: 700 .95rem inherit; cursor: pointer; text-transform: capitalize; }
.creneau:hover:not([disabled]), .creneau:focus-visible { border-color: var(--or-fonce); background: #fffaf0; } .creneau[disabled] { opacity: .5; cursor: default; } .creneau .aide { text-transform: none; }
.av-rdv-pris, .av-atelier { background: #f6f3ff; border-radius: 16px; padding: .8rem 1rem; } .av-rdv-pris .ex-gros, .av-atelier .ex-gros { text-transform: none; }
/* ===== Atelier en direct ===== */
.al-entrer { margin-top: .6rem; } .atelier-live { margin-top: .8rem; background: #f6f3ff; border-radius: 18px; padding: .7rem .9rem; }
.al-bandeau { border-radius: 12px; padding: .45rem .8rem; margin: .3rem 0; font-weight: 700; } .al-bandeau.annonce { background: #fff3c4; } .al-bandeau.rappel { background: #ffd6e5; } .al-bandeau.minuteur { background: #dff5ea; }
.al-bandeau.minuteur strong { font-size: 1.3rem; color: #1f6b4f; } .al-salles .onglet[disabled] { opacity: .45; }
.al-corps { display: grid; grid-template-columns: 1.4fr 1fr; gap: .8rem; margin-top: .6rem; } @media (max-width: 900px) { .al-corps { grid-template-columns: 1fr; } }
.al-visio iframe { width: 100%; height: 48vh; min-height: 280px; border: 0; border-radius: 14px; background: #111; display: block; margin-bottom: .4rem; }
.al-cote h3, .al-pilotage h3 { font-size: 1rem; margin: .7rem 0 .3rem; color: #2b1f6b; } .al-act { background: linear-gradient(135deg, #6c4bd8, #e8508f); color: #fff; border-radius: 14px; padding: .6rem .8rem; } .al-act h3 { color: #fff; margin-top: 0; }
.al-mur { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; }
.al-travail { background: #fff3a8; border-radius: 6px; padding: .5rem; box-shadow: 0 3px 8px rgba(0,0,0,.1); transform: rotate(var(--rot)); display: flex; flex-direction: column; gap: .2rem; font-size: .9rem; overflow-wrap: anywhere; }
.al-travail:nth-child(3n) { background: #c8f1e5; } .al-travail:nth-child(3n+1) { background: #ffd6e5; } .al-travail img { width: 100%; border-radius: 4px; } .al-travail p { margin: 0; }
.al-partage { background: #fff; border-radius: 12px; padding: .5rem .7rem; margin-top: .6rem; } .al-pilotage { max-height: 75vh; overflow: auto; }
.dialogue-atelier .cadre-visio iframe { height: 50vh; } .activites-atelier { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .2rem .8rem; margin: .6rem 0; }
/* ===== Modèles et tâches ===== */
.controle-mentions { list-style: none; padding: 0; } .controle-mentions li { padding: .25rem 0; } .controle-mentions li.ko { color: #8a3b14; font-weight: 700; }
.liste-modeles { list-style: none; padding: 0; } .liste-modeles li { border-bottom: 1px solid var(--bord); padding: .4rem 0; } .liste-taches-edit { border: 1px solid var(--bord); border-radius: 12px; padding: .6rem .8rem; margin: .6rem 0; background: #fff; }
.liste-taches { list-style: none; padding: 0; margin: 0 0 .6rem; } .liste-taches li { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .3rem 0; border-bottom: 1px dashed #eee; }
.liste-taches li .aide { margin-left: auto; } .liste-taches li.fait label { text-decoration: line-through; color: #6b6585; } .liste-taches li.retard label { color: #b42318; font-weight: 700; }
.ajout-tache { display: flex; flex-wrap: wrap; gap: .4rem; } .bloc-perso { margin: .4rem 0; }
.propositions-pdc { list-style: none; padding: 0; display: grid; gap: .5rem; } .propositions-pdc li { background: #fff; border: 1.5px solid var(--bord); border-left: 6px solid #f7b733; border-radius: 12px; padding: .5rem .8rem; }
.propositions-pdc li.prio-haute { border-left-color: #e21b3c; } .propositions-pdc li.prio-basse { border-left-color: #13b5a6; } .propositions-pdc p { margin: .15rem 0; }
/* ===== Rentabilité, catalogue public ===== */
.marge-bon .valeur { color: #1f6b4f; } .marge-moyen .valeur { color: #8a5a00; } .marge-faible .valeur { color: #b42318; } .ajout-cout { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0; }
#catalogue { max-width: 1150px; margin: 0 auto; padding: 1rem; } .cat-entete { display: flex; align-items: center; gap: 1rem; } .cat-entete h1 { margin: 0; color: #2b1f6b; }
.cat-filtres { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 1rem 0; } .cat-filtres input[type=search] { flex: 1; min-width: 14rem; padding: .6rem .9rem; border-radius: 999px; border: 1.5px solid #cfc6f0; font: inherit; }
.cat-liste { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; }
.cat-carte { background: #fff; border: 1.5px solid #efe6cf; border-radius: 18px; padding: 1rem 1.1rem; box-shadow: 0 3px 12px rgba(40,30,90,.06); display: flex; flex-direction: column; gap: .3rem; }
.cat-carte h2 { margin: 0; font-size: 1.15rem; color: #2b1f6b; } .cat-carte .bouton { align-self: flex-start; margin-top: auto; } .cat-theme { font-size: .8rem; font-weight: 800; color: #b8862b; text-transform: uppercase; letter-spacing: .05em; margin: 0; }
.cat-meta, .cat-dates { font-weight: 700; color: #4b3aa8; margin: 0; } .cat-fiche { width: min(1000px, 96vw); border: 0; border-radius: 22px; padding: 1.2rem 1.4rem; } .cat-fiche h2 { color: #2b1f6b; margin-top: .2rem; }
.cat-deux { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.2rem; } @media (max-width: 760px) { .cat-deux { grid-template-columns: 1fr; } } .cat-deux h3 { font-size: 1rem; color: #4b3aa8; margin: .8rem 0 .2rem; }
.cat-deux aside { background: #f6f3ff; border-radius: 16px; padding: .6rem .9rem; } .cat-cles, .cat-sessions { list-style: none; padding: 0; margin: 0; } .cat-cles li, .cat-sessions li { padding: .25rem 0; }
.cat-sessions li { border-bottom: 1px dashed #d8d0f0; padding: .5rem 0; } .cat-devis { background: #fffaf0; border-radius: 16px; padding: .6rem .9rem; margin-top: 1rem; }
/* ===== Agenda unifié ===== */
.filtres-agenda { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; margin: .6rem 0 1rem; } .filtres-agenda .calques { display: flex; flex-wrap: wrap; gap: .3rem .8rem; border: 0; padding: 0; margin: 0; }
.bascule { display: inline-flex; gap: 2px; } .bascule [aria-pressed="true"] { background: #4b3aa8; color: #fff; border-color: #4b3aa8; }
.puce-agenda, .grille-jours .puce-session, .jour-semaine .puce-session, .liste-agenda .puce-session { display: block; width: 100%; text-align: left; font: inherit; font-size: .78rem; line-height: 1.25; border-radius: 6px; padding: .12rem .35rem; margin: .12rem 0; cursor: pointer; border: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.liste-agenda .puce-session, .liste-agenda .puce-agenda { display: inline-block; width: auto; white-space: normal; font-size: .9rem; }
button.puce-session { background: var(--puce); color: #fff; } .puce-visio { background: #e3f2ff; color: #0b4a7a; border-left: 3px solid #1f78c8 !important; } .puce-evenement { background: #efe8ff; color: #3f2a8c; border-left: 3px solid #7a4fd0 !important; }
.puce-echeance { background: #fff4dc; color: #7a4a00; border-left: 3px solid #d69a1c !important; } .puce-indispo { background: repeating-linear-gradient(135deg, #f3f3f3 0 6px, #e6e6e6 6px 12px); color: #555; } .en-retard { background: #fde4e1 !important; color: #8f1d12 !important; border-left-color: #b42318 !important; }
.puce-agenda .h, .puce-session .h { font-weight: 800; } .jour { position: relative; } .jour.non-ouvre { background: #f7f5fb; } .ferie { display: block; font-size: .68rem; color: #a3214f; font-weight: 700; }
.ajout-jour { position: absolute; top: 2px; right: 2px; border: 0; background: transparent; color: #8a80b8; font-size: 1rem; line-height: 1; cursor: pointer; opacity: 0; border-radius: 50%; width: 1.4rem; height: 1.4rem; } .jour:hover .ajout-jour, .ajout-jour:focus { opacity: 1; background: #efeaff; }
.semaine-agenda { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .4rem; } @media (max-width: 900px) { .semaine-agenda { grid-template-columns: 1fr; } }
.jour-semaine { background: #fff; border: 1.5px solid #e6e0f5; border-radius: 12px; padding: .5rem; min-height: 9rem; } .jour-semaine h3 { font-size: .9rem; margin: 0 0 .3rem; text-transform: capitalize; color: #4b3aa8; } .jour-semaine.aujourdhui { border-color: #d69a1c; box-shadow: 0 0 0 2px #f5d58a; }
.liste-agenda { list-style: none; padding: 0; } .liste-agenda > li { border-left: 3px solid #cfc6f0; padding: .2rem 0 .4rem .8rem; margin-bottom: .4rem; } .liste-agenda h3 { font-size: .95rem; margin: 0 0 .2rem; text-transform: capitalize; } .liste-agenda ul { list-style: none; padding: 0; margin: 0; }
.barres { list-style: none; padding: 0; margin: 0; } .barres li { display: grid; grid-template-columns: 10rem 1fr 3.5rem; gap: .5rem; align-items: center; padding: .15rem 0; } .barre { background: #eee9fb; border-radius: 99px; height: .6rem; overflow: hidden; } .barre > span { display: block; height: 100%; background: linear-gradient(90deg, #6b3fa0, #d69a1c); }
.ligne-dl { display: flex; flex-wrap: wrap; gap: .4rem .7rem; align-items: center; } .ligne-dl input[type=number] { width: 4.5rem; } .detail-agenda { border-left: 4px solid #4b3aa8; } .dlg-evt { width: min(720px, 96vw); }
.en-retard-txt { color: #b42318; font-weight: 700; } .suivi-sig { font-size: .88rem; } .reglage-relances summary { cursor: pointer; font-weight: 700; }
/* ===== Pilotage ===== */
.indicateurs-pilotage li { display: flex; flex-direction: column; gap: .15rem; } .ecart { font-size: .8rem; font-weight: 800; } .ecart.hausse { color: #1d6b45; } .ecart.baisse { color: #a3261a; } .ecart.neutre { color: #6b6585; font-weight: 600; }
.deux-graphs { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 1rem; margin: 1rem 0; } .graph-pilotage { margin: 0; background: #fff; border: 1.5px solid #e6e0f5; border-radius: 16px; padding: .8rem 1rem; }
.graph-pilotage figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem; margin-bottom: .4rem; } .legende-graph { font-size: .82rem; color: #4a4560; display: inline-flex; align-items: center; gap: .35rem; }
.cle { display: inline-block; width: .9rem; height: .9rem; border-radius: 3px; } .cle-n { background: #4b3aa8; } .cle-n1 { background: #fff; border: 2px solid #d69a1c; border-radius: 50%; width: .7rem; height: .7rem; }
.graph-zone { position: relative; } .graph-zone svg { width: 100%; height: auto; display: block; } .grille-g { stroke: #ece8f6; stroke-width: 1; } .axe-g { font-size: 11px; fill: #6b6585; }
.barre-g { fill: #4b3aa8; } .ligne-n1 { fill: none; stroke: #d69a1c; stroke-width: 2; } .point-n1 { fill: #d69a1c; stroke: #fff; stroke-width: 2; } .cible-g { fill: transparent; cursor: crosshair; } .cible-g.actif { fill: rgba(75, 58, 168, .07); }
.info-g { position: absolute; top: .2rem; right: .4rem; background: #1d1640; color: #fff; font-size: .82rem; padding: .25rem .55rem; border-radius: 8px; pointer-events: none; } .donnees-g summary { cursor: pointer; font-size: .85rem; color: #4b3aa8; margin-top: .3rem; }
.decisions-rd { padding-left: 1.1rem; } .revue textarea { min-height: 8rem; }
/* ===== Illustrations des programmes ===== */
.champ-illustration .photo-cadre { width: 100%; max-width: 420px; aspect-ratio: 16 / 9; height: auto; border-radius: 12px; } .champ-illustration .photo-apercu { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.champ-illustration .photo-vide { font-size: 2.4rem; }
.cat-illus { width: calc(100% + 2.2rem); margin: -1rem -1.1rem .4rem; height: 150px; object-fit: cover; border-radius: 18px 18px 0 0; } .cat-illus-grande { width: 100%; max-height: 260px; object-fit: cover; border-radius: 14px; margin: .4rem 0; }
.illus-inscription { width: 100%; max-height: 220px; object-fit: cover; border-radius: 14px; margin: .5rem 0; } .ex-illus { width: calc(100% + 2.2rem); margin: -.9rem -1.1rem .5rem; height: 130px; object-fit: cover; border-radius: 16px 16px 0 0; display: block; }
.texte-riche > :first-child { margin-top: 0; } .texte-riche p { margin: .3rem 0; } .cat-fiche .texte-riche ul { padding-left: 1.2rem; }
/* ===== Placement des données sur une grille officielle ===== */
.place-outils { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; } .place-donnees { border: 1px solid #e3dcf7; border-radius: 12px; padding: .4rem .8rem; } .place-donnees .case { display: block; }
.place-reglages { display: flex; flex-wrap: wrap; gap: .4rem .7rem; align-items: center; } .place-page { position: relative; display: inline-block; margin: .8rem 0; box-shadow: 0 2px 14px rgba(30, 20, 80, .18); max-width: 100%; overflow: auto; }
.place-page canvas { display: block; cursor: crosshair; } .place-reperes { position: absolute; inset: 0; pointer-events: none; }
.repere { position: absolute; transform: translateY(-85%); pointer-events: auto; background: rgba(214, 154, 28, .2); border: 1px dashed #b0501a; color: #8a2a0a; font: 600 11px/1.1 Arial, sans-serif; padding: 0 .2rem; border-radius: 3px; white-space: nowrap; cursor: pointer; }
.repere.actif { background: rgba(75, 58, 168, .2); border: 2px solid #4b3aa8; color: #2b1f6b; }
/* ===== Grilles d'évaluation : bibliothèque et éditeur ===== */
.cartes-grilles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .9rem; margin-top: .8rem; }
.carte-grille { background: #fff; border: 1.5px solid #e6e0f5; border-radius: 16px; padding: .8rem 1rem; display: flex; flex-direction: column; gap: .3rem; } .carte-grille h2 { font-size: 1.05rem; margin: 0; color: #2b1f6b; }
.carte-grille .bouton { align-self: flex-start; margin-top: auto; } .carte-grille.archivee { opacity: .62; } .cg-type { margin: 0; font-size: .78rem; font-weight: 800; color: #b8862b; text-transform: uppercase; letter-spacing: .04em; }
.inrs-encart { border-left: 4px solid #1f8f4e; }
.ge-deux { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, 1fr); gap: 1rem; align-items: start; } @media (max-width: 1250px) { .ge-deux { grid-template-columns: 1fr; } }
.ge-apercu { position: sticky; top: .8rem; } .ge-apercu h2 { margin: .2rem 0 .4rem; font-size: 1rem; } .ge-frame { width: 100%; height: 86vh; border: 1px solid #d8d0f0; border-radius: 12px; background: #fff; }
.ge-edit input:not([type=checkbox]):not([type=radio]):not([type=file]) { padding: .38rem .55rem; border: 1px solid #cfc6f0; border-radius: 8px; font: inherit; background: #fff; min-width: 0; }
.ge-partie { border: 1.5px solid #e3dcf7; border-radius: 14px; padding: .6rem .9rem; margin: .8rem 0; background: #fff; } .ge-partie legend { font-weight: 800; color: #4b3aa8; padding: 0 .3rem; }
.ge-partie-tete { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; } .ge-ptitre { flex: 1 1 18rem; font-weight: 700; }
.ge-lignes, .ge-inds { list-style: none; padding: 0; margin: .4rem 0; }
.ge-comp { border-left: 4px solid #6b3fa0; background: #faf8ff; border-radius: 10px; padding: .5rem .7rem; margin: .55rem 0; }
.ge-comp-tete { display: flex; gap: .4rem; align-items: center; } .ge-code { width: 4.2rem; flex: 0 0 4.2rem; font-weight: 800; text-align: center; } .ge-lib { flex: 1; font-weight: 600; }
.ge-intro { width: 100%; margin: .35rem 0 0; font-style: italic; }
.ge-ind { display: flex; gap: .45rem; align-items: center; margin: .3rem 0 .3rem 1rem; } .ge-ind > input[data-v=ind] { flex: 1; } .ge-ind.incontournable > input[data-v=ind] { background: #ffff9e; border-color: #d6c100; }
.ge-ind .case { white-space: nowrap; font-size: .85rem; } .ge-mini { display: inline-flex; gap: .1rem; white-space: nowrap; } .ge-mini .lien { padding: .1rem .35rem; text-decoration: none; font-weight: 700; }
.ge-cond { margin: .3rem 0 0 1rem; } .ge-cond input { width: 100%; }
.ge-dom { background: #eef7f0; border-radius: 10px; padding: .45rem .7rem; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin: .5rem 0; } .ge-dom label { font-weight: 700; color: #1f6b4f; }
.ge-progs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .2rem .8rem; } .ge-texte { margin-top: 1rem; } .ge-texte textarea { width: 100%; font-family: ui-monospace, Menlo, monospace; font-size: .85rem; }
/* ===== Suivi formatif ===== */
.sf-consigne { background: #f6f3ff; border-radius: 12px; padding: .5rem .8rem; margin: .5rem 0; } .sf-moments { display: flex; flex-wrap: wrap; gap: .3rem; margin: .7rem 0; }
.sf-moments [role=tab] { border: 1.5px solid #cfc6f0; background: #fff; border-radius: 999px; padding: .35rem .8rem; font: inherit; cursor: pointer; } .sf-moments [aria-selected=true] { background: #4b3aa8; color: #fff; border-color: #4b3aa8; }
.sf-pct { font-weight: 800; } .sf-partie { color: #4b3aa8; margin: 1rem 0 .3rem; } .sf-comp { background: #fff; border: 1.5px solid #ece6fb; border-radius: 14px; padding: .5rem .8rem; margin: .5rem 0; }
.sf-comp h4 { margin: .1rem 0 .4rem; } .sf-code { display: inline-block; background: #4b3aa8; color: #fff; border-radius: 6px; padding: 0 .35rem; font-size: .85em; }
.sf-ind { border: 0; padding: .3rem 0; margin: 0; border-top: 1px dashed #e6e0f5; } .sf-ind legend { padding: 0; font-weight: 600; margin-bottom: .3rem; } .sf-cle { color: #d69a1c; }
.sf-echelle { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .3rem; } .sf-niv { position: relative; }
.sf-niv input { position: absolute; opacity: 0; } .sf-niv span { display: block; text-align: center; border: 1.5px solid #d8d0f0; border-radius: 10px; padding: .4rem .3rem; font-size: .88rem; cursor: pointer; background: #fff; }
.sf-niv input:focus-visible + span { outline: 3px solid #d69a1c; outline-offset: 2px; } .sf-niv input:checked + span { color: #fff; border-color: transparent; font-weight: 700; }
.sf-niv.niv-0 input:checked + span { background: #a3261a; } .sf-niv.niv-1 input:checked + span { background: #b0501a; } .sf-niv.niv-2 input:checked + span { background: #1f8f4e; } .sf-niv.niv-3 input:checked + span, .sf-niv.niv-4 input:checked + span { background: #1f5f9e; }
.sf-niv input:disabled + span { cursor: default; } .sf-prog, .sf-retour { background: #fff; border-radius: 14px; border: 1.5px solid #ece6fb; padding: .6rem .9rem; margin: .8rem 0; } .sf-retour { border-left: 4px solid #d69a1c; }
.sf-mini { list-style: none; padding: 0; margin: .3rem 0; font-size: .9rem; } .sf-detail { margin-top: 1rem; }
/* ===== Indicateurs de résultats ===== */
.tableau-resultats th[scope=row] { font-weight: 600; } .pastille-pub { font-size: .8rem; } .tableau-resultats details summary { cursor: pointer; color: #4b3aa8; font-size: .85rem; }
.cat-res { list-style: none; padding: 0; margin: .3rem 0; } .cat-res li { display: grid; grid-template-columns: 1fr auto; gap: 0 .6rem; padding: .3rem 0; border-bottom: 1px dashed #d8d0f0; }
.cat-res li .aide { grid-column: 1 / -1; font-size: .78rem; } .cat-res-lib { font-size: .9rem; } .cat-methode { font-size: .82rem; margin-top: .4rem; } .cat-methode summary { cursor: pointer; color: #4b3aa8; }
.cat-encart { max-width: 560px; margin: 0 auto; padding: .8rem 1rem; } .cat-encart h1 { font-size: 1.15rem; color: #2b1f6b; }

/* ---------- v28 : pages légales, notice RGPD, visio externe ---------- */
.pied-legal { text-align: center; font-size: .85rem; padding: 1.2rem 1rem 1.6rem; color: #5a6474; }
.pied-legal .lien { font-size: inherit; color: inherit; text-decoration: underline; }
dialog.page-legale { width: min(860px, 94vw); max-height: 90vh; padding: 0; border: 0; border-radius: 12px; }
.page-legale-tete { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 1.2rem; background: #fff; border-bottom: 1px solid #dde3ea; }
.page-legale-tete h1 { font-size: 1.25rem; margin: 0; }
.page-legale-corps { padding: .5rem 1.2rem 1.4rem; line-height: 1.55; }
.page-legale-corps h2 { font-size: 1.05rem; margin: 1.2rem 0 .35rem; }
.page-legale-corps .tableau th { font-weight: 600; }
.notice-rgpd { font-size: .85rem; color: #4a5462; background: #f4f6f9; border-left: 3px solid #8fa3b8; padding: .5rem .7rem; margin: .8rem 0; border-radius: 4px; }
.notice-rgpd .lien { font-size: inherit; text-decoration: underline; }
.visio-externe { display: grid; gap: .6rem; justify-items: start; padding: 1.2rem; background: #f4f6fb; border: 1px dashed #9fb0c9; border-radius: 10px; min-height: 160px; align-content: center; }
.z-durees .tableau input[type=number] { width: 5.5rem; }
.defile-x { overflow-x: auto; max-width: 100%; }
.z-durees { max-width: 100%; }
.z-durees .tableau th[scope=row] { min-width: 14rem; font-weight: 600; }
.z-durees .tableau td:last-child { min-width: 16rem; }
.z-durees label:not(.invisible) { display: block; margin-top: .7rem; font-weight: 600; }
.z-durees input:not([type=number]), .z-durees textarea { width: 100%; max-width: 44rem; }
.z-durees .tableau th, .z-durees .tableau td { white-space: normal; }
