/* ═══════════════════════════════════════════════════════════════
   LE COMPTE RENDU DE VISITE, AU VISUEL DE L'APP INTERNE (29 sept 2026)
   Copie des styles du questionnaire de l'App interne (css/app.css :
   .fv-*, .fc-*, .fep-carte, .fep-apercu, .fp-* des parties repliables).
   ⚠️ FICHIER GÉNÉRÉ : pour le mettre à jour, reprendre les mêmes règles
   dans App interne V1/css/app.css. Ne pas l'éditer à la main.
   ═══════════════════════════════════════════════════════════════ */
/* ── Ajouts propres à l'App Entreprise (écrits à la main) ── */
/* Le compte rendu se lit : rien ne se grise, rien ne se clique. */
.cr-visuel fieldset{border:0;margin:0;padding:0;min-width:0}
.cr-visuel .fep-apercu{opacity:1}
/* Sur téléphone, le compte rendu est déjà dans une carte : on retire une
   épaisseur de marge, et les cinq étoiles tiennent sur la ligne. */
@media (max-width:640px){
  .cr-vue{padding:12px 10px}
  .cr-visuel .fep-carte{padding:0;border:0;background:transparent;box-shadow:none}
  .cr-visuel .fc-matiere{padding-left:10px;padding-right:10px}
  /* « Apprenti » / « Tuteur » au-dessus, les cinq étoiles alignées dessous. */
  .cr-visuel .fv-etoiles{gap:4px;flex-wrap:wrap}
  .cr-visuel .fv-etoiles[data-qui]::before{flex-basis:100%}
  .cr-visuel .fv-etoiles .fv-etoile{width:34px;height:34px;min-width:0}
}
/* ── Fin des ajouts ; la suite est la copie de l'App interne ── */
.fep .fep-carte h5 svg.ico,.fep .fep-onglets svg.ico,
.fep .fep-date-ligne svg.ico,.fep .btn svg.ico,
.fep .fep-bande svg.ico,.fep .fep-enquete svg.ico,
.fep .badge svg.ico{vertical-align:0}
.fc-groupe{display:block;font-size:.68rem;font-weight:800;letter-spacing:.5px;
  text-transform:uppercase;color:var(--ink-mute);margin:18px 0 10px;
  padding-bottom:5px;border-bottom:1px solid var(--border)}
.fc-groupe:first-child{margin-top:0}
.fv-repris{display:block;margin:-2px 0 6px;font-size:.72rem;font-weight:600;color:var(--ink-soft)}
.fc-aide{margin:10px 0 8px;font-size:.78rem;color:var(--ink-soft);line-height:1.5}
.fc-aide + .fc-ligne{border-top:0}
.fep-apercu{border:0;margin:0;padding:0;min-width:0;
  pointer-events:none;user-select:none;opacity:.72}
.fep-apercu .fep-carte{background:var(--surface)}
.fc-bande{display:block;font-size:.74rem;font-weight:800;letter-spacing:.4px;
  text-transform:uppercase;color:var(--ink);margin:22px 0 4px}
.fc-bande + .fc-groupe{margin-top:8px;border-bottom:0;padding-bottom:0}
.fc-matiere{border:1px solid var(--border);border-radius:var(--r-md);
  margin-bottom:12px;background:var(--surface);overflow:hidden}
.fc-nom{display:flex;align-items:center;gap:9px;font-size:.86rem;color:var(--ink);
  padding:12px 15px;background:var(--bg-2);border-bottom:1px solid var(--border)}
.fc-aide{margin:0;padding:11px 15px;font-size:.74rem;color:var(--ink-soft);
  border-bottom:1px solid var(--border)}
.fc-q{padding:12px 15px;border-bottom:1px solid var(--border)}
.fc-q:last-child{border-bottom:0}
.fc-matiere .fc-note > label{flex:1;min-width:150px;margin:0}
.fc-matiere label{display:block;font-size:.76rem;color:var(--ink-soft);margin-bottom:6px}
.fep-carte{background:var(--surface);border:1px solid var(--border);
  border-radius:var(--r-lg);padding:16px 18px;margin-bottom:14px;
  box-shadow:var(--sh-sm)}
.fep-carte:last-child{margin-bottom:0}
.fep-carte h5{display:flex;align-items:center;gap:8px;font-size:.82rem;
  font-weight:800;margin:0 0 10px}
.fep-carte h5 svg{width:15px;height:15px;color:var(--brand-700);flex:none}
.fv-tete{background:var(--fa-beige-clair);border:1px solid var(--fa-beige);
  border-left:4px solid var(--brand-700);
  border-radius:var(--r-md);padding:16px 18px;margin-bottom:16px}
.fv-jalon{display:block;font-size:.66rem;font-weight:800;text-transform:uppercase;
  letter-spacing:.09em;color:var(--brand-700);margin-bottom:6px}
.fv-tete b{display:block;font-size:1.18rem;font-weight:800;color:var(--ink);
  line-height:1.3;text-wrap:balance}
.fv-tete p{margin:8px 0 0;font-size:.84rem;color:var(--ink-soft);line-height:1.6;
  max-width:62ch}
.fv-ouinon{display:flex;gap:8px;margin-top:6px}
.fv-radio{display:inline-flex;align-items:center;gap:7px;cursor:pointer;
  padding:7px 15px;border:1.5px solid var(--border-2);border-radius:999px;
  font-size:.83rem;font-weight:700;color:var(--ink-2);
  transition:border-color .12s,background .12s,color .12s}
.fv-radio input{position:absolute;opacity:0;width:0;height:0}
.fv-radio:hover{border-color:var(--ink-mute)}
.fv-radio.on{background:var(--brand-50);border-color:var(--brand);color:var(--brand-700)}
.fv-si{display:none;margin-top:10px;padding-left:13px;
  border-left:2px solid var(--fa-beige)}
.fv-si.on{display:block}
.fv-cases{display:flex;flex-direction:column;gap:8px;margin-top:7px}
.fv-case{display:flex;align-items:flex-start;gap:9px;cursor:pointer;
  font-size:.84rem;color:var(--ink-2);line-height:1.45}
.fv-case input{margin-top:2px;flex:none;width:16px;height:16px;accent-color:var(--brand)}
.fv-sur20{display:flex;align-items:center;gap:9px;margin-top:6px}
.fv-sur20 .input{width:92px}
.fv-sur20 em{font-style:normal;font-size:.82rem;font-weight:700;color:var(--ink-soft)}
.fv-grille{margin-top:10px}
.fv-g-tetes{display:grid;grid-template-columns:minmax(0,1fr) 122px 122px;gap:12px;
  padding:0 0 7px;font-size:.63rem;font-weight:800;text-transform:uppercase;
  letter-spacing:.05em;color:var(--ink-mute);border-bottom:1px solid var(--border)}
.fv-g-tetes span:not(:first-child){text-align:center}
.fv-g-l{display:grid;grid-template-columns:minmax(0,1fr) 122px 122px;gap:12px;
  align-items:center;padding:9px 0;border-bottom:1px solid var(--border);font-size:.84rem}
.fv-g-l:last-child{border-bottom:0}
.fv-grille-seule .fv-g-l{grid-template-columns:minmax(0,1fr) 122px}
.fv-etoiles{display:flex;gap:7px;justify-content:center}
.fv-etoile{position:relative;border:0;background:none;padding:0;cursor:pointer;
  line-height:0;width:48px;height:48px;flex:none;
  color:var(--border-2);transition:color .1s,transform .1s}
.fv-etoile svg{width:100%;height:100%;fill:currentColor;stroke:none}
.fv-etoile i{position:absolute;inset:0;display:flex;align-items:center;
  justify-content:center;padding-top:13%;font-style:normal;font-weight:800;
  font-size:.84rem;color:var(--ink-soft);pointer-events:none;line-height:1;
  font-variant-numeric:tabular-nums}
.fv-etoile:hover{transform:scale(1.1)}
.fv-etoile.on{color:var(--brand)}
.fv-etoile.on i{color:#fff}
.fv-trois{padding:12px 0;border-bottom:1px solid var(--border)}
.fv-trois:last-child{border-bottom:0}
.fv-trois > b{display:block;font-size:.86rem;color:var(--ink);margin-bottom:8px}
@media (max-width:640px){
  .fv-g-tetes{display:none}
  .fv-g-l,.fv-grille-seule .fv-g-l{grid-template-columns:1fr;gap:7px;padding:11px 0}
  .fv-etoiles{justify-content:flex-start}
  .fv-g-l .fv-etoiles::before{content:attr(data-qui);font-size:.68rem;
    font-weight:700;color:var(--ink-soft);margin-right:8px;align-self:center}
}
.fv-r-bloc{background:var(--fa-beige-clair);border-color:var(--fa-beige)}
.fv-rappel{list-style:none;margin:10px 0 0;padding:0;display:flex;
  flex-direction:column;gap:10px}
.fv-rappel li{display:flex;flex-direction:column;gap:2px;
  padding-left:12px;border-left:2px solid var(--brand)}
.fv-rappel b{font-size:.75rem;font-weight:800;color:var(--brand-700);
  text-transform:uppercase;letter-spacing:.03em;line-height:1.35}
.fv-rappel span{font-size:.87rem;color:var(--ink);line-height:1.55;
  white-space:pre-wrap}
.fv-r-source{display:flex;align-items:center;gap:6px;margin:12px 0 0;
  font-size:.74rem;color:var(--ink-soft)}
.fv-r-source svg.ico{width:13px;height:13px;flex:none}
.fv-r-vide{display:flex;align-items:flex-start;gap:7px;margin:8px 0 0;
  font-size:.82rem;color:var(--ink-soft);line-height:1.5}
.fv-r-vide svg.ico{width:15px;height:15px;flex:none;margin-top:2px}
.fep-lecture{opacity:1;user-select:text}
.fep-carte{counter-reset:partie}
.fc-matiere{border:1px solid var(--border);border-left:4px solid var(--brand);
  border-radius:var(--r-md);margin-bottom:14px;box-shadow:var(--sh-sm);
  overflow:hidden;overflow:clip}
.fc-matiere.fv-r-bloc{border-left-color:var(--brand-100)}
.fc-matiere:not(.fv-r-bloc){counter-increment:partie}
.fc-nom{font-size:.95rem;font-weight:800;line-height:1.3;gap:11px;padding:13px 16px;
  background:var(--brand-50);border-bottom:1px solid var(--brand-100)}
.fc-matiere:not(.fv-r-bloc) > .fc-nom::before{content:counter(partie);flex:none;
  width:26px;height:26px;border-radius:50%;background:var(--brand);color:#fff;
  display:inline-flex;align-items:center;justify-content:center;font-size:.76rem;font-weight:800}
.fc-matiere.fp-fini{border-left-color:var(--ok)}
.fc-matiere.fp-fini > .fc-nom::before{content:"✓";background:var(--ok)}
.fc-groupe{font-size:.74rem;color:var(--brand-700);letter-spacing:.06em;
  border-bottom:2px solid var(--brand-100);margin:22px 0 12px}
.fc-matiere > .fc-aide{background:var(--bg);font-style:italic}
.fc-matiere label:not(.fv-radio):not(.fv-case){font-size:.87rem;font-weight:700;
  color:var(--ink);line-height:1.45;margin-bottom:8px}
.fc-q{padding:15px 16px;transition:background .15s,box-shadow .15s}
.fc-q:focus-within{background:var(--brand-50);box-shadow:inset 3px 0 0 var(--brand)}
.fc-matiere .textarea{min-height:86px}
.fc-q.repondu > label:first-child::before,
.fv-trois > .field.repondu > label:first-child::before{content:"✓";display:inline-flex;
  align-items:center;justify-content:center;width:17px;height:17px;margin-right:7px;
  border-radius:50%;background:var(--ok-soft);color:var(--ok-ink);font-size:.64rem;
  font-weight:900;vertical-align:1px}
.fv-grille{margin:0;padding:4px 12px 10px}
.fv-g-tetes{position:sticky;top:var(--fp-haut,52px);z-index:2;background:var(--surface);
  grid-template-columns:minmax(0,1fr) 225px 225px;padding:10px 6px 9px;
  border-bottom:2px solid var(--border);font-size:.66rem}
.fep .fp-progres{top:calc(var(--fp-haut,52px) + 6px)}
.fp-questionnaire .fv-g-tetes{top:calc(var(--fp-haut,52px) + 60px)}
.fp-partie{scroll-margin-top:calc(var(--fp-haut,52px) + 66px)}
.fv-g-tetes span:nth-child(2),.fv-g-tetes span:nth-child(3){border-radius:999px;padding:4px 0}
.fv-g-tetes span:nth-child(2){background:var(--info-soft);color:var(--info-ink)}
.fv-g-tetes span:nth-child(3){background:var(--brand-50);color:var(--brand-800)}
.fv-g-l{grid-template-columns:minmax(0,1fr) 225px 225px;padding:9px 6px;border-radius:8px}
.fv-grille-seule .fv-g-l{grid-template-columns:minmax(0,1fr) 225px}
.fv-g-l{border-bottom:0}
.fv-g-coms{display:grid;grid-template-columns:minmax(0,1fr) 225px 225px;gap:12px;
  padding:0 6px 10px;border-bottom:1px solid var(--border)}
.fv-g-coms-seule{grid-template-columns:minmax(0,1fr) 225px}
.fv-grille .fv-g-coms:last-child{border-bottom:0}
.fv-g-com{font-size:.76rem;padding:5px 9px;min-height:0;border-style:dashed;
  background:transparent;color:var(--ink-soft)}
.fv-g-com::placeholder{color:var(--ink-mute);opacity:.85}
.fv-g-com:hover{border-style:solid}
.fv-g-com:focus{border-style:solid;background:var(--surface);color:var(--ink)}
.fv-g-com:not(:placeholder-shown){border-style:solid;background:var(--surface);
  color:var(--ink)}
@media (max-width:720px){
  .fv-g-coms,.fv-g-coms-seule{grid-template-columns:1fr;gap:6px}
  .fv-g-coms > span:empty{display:none}
}
.fv-g-l .fv-etoile{width:38px;height:38px}
.fv-g-l .fv-etoile i{font-size:.68rem}
.fv-g-l:nth-child(even){background:var(--bg)}
.fv-g-l:hover{background:var(--brand-50)}
.fv-g-l > span:first-child{font-weight:600;color:var(--ink);line-height:1.4}
.fv-g-l.repondu > span:first-child::after{content:" ✓";color:var(--ok);font-weight:900}
.fv-g-l .fv-etoiles{padding:5px 0;border-radius:999px;background:var(--brand-50)}
.fv-g-l .fv-etoiles[data-qui="Apprenti"]{background:var(--info-soft)}
.fv-etoiles[data-qui="Apprenti"] .fv-etoile.on{color:var(--info)}
.fp-progres{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:12px;
  padding:11px 14px;margin:0 0 14px;background:var(--surface);border:1px solid var(--border);
  border-radius:var(--r-md);box-shadow:var(--sh-sm)}
.fp-progres b{font-size:.82rem;color:var(--ink);white-space:nowrap}
.fp-progres small{font-size:.74rem;color:var(--ink-soft);white-space:nowrap}
.fp-barre{flex:1;min-width:80px;height:8px;border-radius:999px;background:var(--bg-2);overflow:hidden}
.fp-barre i{display:block;height:100%;width:0;border-radius:999px;background:var(--brand);
  transition:width .3s}
.fp-partie > .fc-nom{cursor:pointer;user-select:none}
.fp-partie > .fc-nom:hover{background:var(--brand-100)}
.fp-etat{margin-left:auto;flex:none;font-size:.7rem;font-weight:800;padding:3px 10px;
  border-radius:999px;background:var(--surface);color:var(--ink-soft);border:1px solid var(--border-2)}
.fp-etat:empty{display:none}
.fp-etat.fini{background:var(--ok-soft);color:var(--ok-ink);border-color:transparent}
.fc-code + .fp-etat{margin-left:8px}
.fp-chevron{flex:none;display:inline-flex;color:var(--ink-mute);transition:transform .2s}
.fp-chevron svg{width:16px;height:16px}
.fp-etat:empty + .fp-chevron{margin-left:auto}
.fp-ferme .fp-chevron{transform:rotate(-90deg)}
.fp-ferme > :not(.fc-nom){display:none !important}
.fp-ferme > .fc-nom{border-bottom:0}
.fp-suite{display:flex;justify-content:flex-end;padding:12px 16px;background:var(--bg);
  border-top:1px solid var(--border)}
@media (max-width:640px){
  .fv-g-tetes{display:none}
  .fv-g-l,.fv-grille-seule .fv-g-l{grid-template-columns:1fr;gap:7px;padding:11px 8px}
  .fv-g-l .fv-etoiles{justify-content:flex-start;padding:6px 10px}
  .fp-progres{flex-wrap:wrap}
}
.fv-cases{flex-direction:row;flex-wrap:wrap;gap:8px;margin-top:8px}
.fv-ouinon{flex-wrap:wrap;margin-top:8px}
.fc-matiere label.fv-case,label.fv-case,
.fc-matiere label.fv-radio,label.fv-radio{position:relative;display:inline-flex;align-items:center;
  gap:9px;margin:0;padding:9px 16px 9px 11px;border:1.5px solid var(--border-2);border-radius:999px;
  background:var(--surface);font-size:.85rem;font-weight:600;color:var(--ink-2);line-height:1.3;
  cursor:pointer;transition:border-color .12s,background .12s,color .12s}
label.fv-case input,label.fv-radio input{position:absolute;opacity:0;width:1px;height:1px;margin:0;
  pointer-events:none}
label.fv-case::before,label.fv-radio::before{content:"";flex:none;box-sizing:border-box;
  width:18px;height:18px;border:1.5px solid var(--border-2);background:var(--surface);
  display:inline-flex;align-items:center;justify-content:center;color:#fff;
  font-size:.7rem;font-weight:900;line-height:1}
label.fv-case::before{border-radius:6px}
label.fv-radio::before{border-radius:50%}
label.fv-case:hover,label.fv-radio:hover{border-color:var(--ink-mute)}
label.fv-case:has(input:checked),label.fv-radio:has(input:checked),label.fv-radio.on{background:var(--brand-50);border-color:var(--brand);color:var(--brand-800)}
label.fv-case:has(input:checked)::before{content:"✓";background:var(--brand);border-color:var(--brand)}
label.fv-radio:has(input:checked)::before,label.fv-radio.on::before{background:var(--surface);border:5px solid var(--brand)}
label.fv-case:has(input:focus-visible),label.fv-radio:has(input:focus-visible){outline:2px solid var(--brand);outline-offset:2px}
.fp-chevron{width:30px;height:30px;border-radius:50%;align-items:center;justify-content:center;
  background:var(--surface);border:1px solid var(--brand-100);color:var(--brand-700)}
.fp-chevron svg{width:17px;height:17px}
.fp-partie > .fc-nom:hover .fp-chevron{background:var(--brand);border-color:var(--brand);color:#fff}
.fep-apercu .fp-partie > .fc-nom{pointer-events:auto;cursor:pointer}
.fp-suite .btn + .btn{margin-left:8px}
.fep-lecture .textarea,.fep-lecture .input,.fep-lecture .select{background:var(--bg-2);border-color:transparent;color:var(--ink);
  cursor:default;opacity:1}
.fep-lecture .textarea{min-height:0;height:auto;overflow:visible}
.fep-lecture .textarea:placeholder-shown,
.fep-lecture .input:placeholder-shown{background:transparent;
  border:1px dashed var(--border)}
.fep-lecture .fv-radio{opacity:.45}
.fep-lecture .fv-radio.on{opacity:1}
.fep-lecture .fv-case input:not(:checked) + span{opacity:.45}
.fep-lecture .fv-etoile{cursor:default}
.fep-lecture .fv-etoile:hover{transform:none}
.fv-aide{display:block;margin:-2px 0 6px;font-size:.74rem;font-style:italic;
  color:var(--ink-soft);line-height:1.5}
.fv-consigne{margin:14px -18px -16px;padding:11px 18px;
  border-top:1px solid var(--fa-beige);background:rgba(255,255,255,.6);
  border-radius:0 0 var(--r-md) var(--r-md);
  display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.fv-tete .fv-consigne p{margin:0;font-size:.78rem;color:var(--ink-soft);line-height:1.5;
  max-width:none}
.fv-duree{flex:none;display:inline-flex;align-items:center;gap:7px;
  padding:5px 13px;border-radius:99px;background:var(--brand-700);color:#fff;
  font-size:.72rem;font-weight:800;letter-spacing:.02em;white-space:nowrap}
.fv-duree svg{width:13px;height:13px;flex:none}
.fv-rc{margin:2px 0 4px;padding:10px 12px;border-radius:10px;
  background:var(--fa-beige-clair);border:1px solid var(--fa-beige)}
.fv-rc-titre{display:block;font-size:.8rem;font-weight:800;color:var(--ink)}
.fv-rc > .fv-aide{margin:2px 0 0}
.fv-rc .fv-rappel{margin-top:8px}
.fv-rc .fv-r-vide{margin-top:6px}
.fc-matiere.fx-grise{opacity:.6;filter:grayscale(.4)}
.fc-matiere.fx-grise > .fc-nom{opacity:1}
.fc-q.fx-grise{opacity:.55;filter:grayscale(.4)}
.fx-note{margin:8px 0 2px;padding:8px 11px;border-radius:8px;
  background:var(--fa-beige-clair);border:1px dashed var(--fa-beige);
  font-size:.74rem;color:var(--ink-soft);line-height:1.5}
.fp-etat.nc{background:var(--fa-beige-clair);color:var(--ink-soft);
  border-color:transparent}
.fp-tout{flex:none;display:inline-flex;align-items:center;user-select:none;
  font:inherit;font-size:.72rem;font-weight:800;cursor:pointer;
  padding:5px 12px;border-radius:99px;border:1px solid var(--fa-beige);
  background:var(--fa-beige-clair);color:var(--brand-800,var(--brand-700))}
.fp-tout:hover{background:var(--fa-beige)}
.fp-tout:focus-visible{outline:2px solid var(--brand-700);outline-offset:2px}
.fv-docs{margin:0 0 16px;padding:13px 16px;border-radius:var(--r-md);
  background:var(--surface);border:1px solid var(--fa-beige)}
.fv-docs > b{display:flex;align-items:center;gap:8px;font-size:.84rem;color:var(--ink)}
.fv-docs > b svg{width:15px;height:15px;color:var(--brand-700)}
.fv-docs > p{margin:4px 0 10px;font-size:.76rem;color:var(--ink-soft)}
.fv-docs-liste{display:flex;gap:8px;flex-wrap:wrap}
.fv-docs-liste .btn{text-decoration:none}
.fv-note20{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;
  margin:2px 0 14px;padding:14px 18px;border-radius:12px;
  background:var(--brand-50,var(--fa-beige-clair));border:1px solid var(--fa-beige)}
.fv-n20-valeur{font-size:2rem;font-weight:800;color:var(--brand-700);
  font-variant-numeric:tabular-nums;line-height:1}
.fv-n20-sur{font-size:.95rem;font-weight:800;color:var(--ink-soft)}
.fv-n20-detail{flex-basis:100%;font-size:.72rem;color:var(--ink-soft)}
.fv-intertitre{margin:18px 0 2px; padding:0 0 5px;
  border-bottom:1px solid var(--fa-beige, #E4D8BE);
  font-size:.74rem; font-weight:700; letter-spacing:.07em;
  text-transform:uppercase; color:var(--brand-700, #A85E0B);}
.fc-q:first-child > .fv-intertitre{margin-top:2px}
.fv-destinataire{display:block; width:fit-content; max-width:100%;
  margin:0 0 5px; padding:2px 9px;
  border-radius:999px; border:1px solid transparent;
  font-size:.68rem; font-weight:800; letter-spacing:.06em;
  text-transform:uppercase; line-height:1.6;}
.fv-dest-apprenti{background:var(--cyan-soft, #E3F1FB); border-color:var(--cyan, #0E86C9);
  color:var(--cyan-ink, #085E8F);}
.fv-dest-tuteur{background:var(--fa-beige-clair, #FFF6E2); border-color:var(--fa-orange, #F69D00);
  color:#8A5300;}
.fv-dest-tous{background:var(--teal-soft, #E2F3F5); border-color:var(--teal, #0E8C99);
  color:var(--teal-ink, #0A6B75);}
.fv-dest-referent{background:var(--prune-soft, #F6E9F9); border-color:var(--prune, #A648B8);
  color:var(--prune-ink, #7B2E8A);}
