/* Fenêtre de lecture des documents, commune à toutes les pages. Couleurs de la charte Fluidpilot. */
.fpv { width: min(1120px, calc(100vw - 32px)); height: calc(100vh - 32px); height: calc(100dvh - 32px); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #E4EAF0; color: #00345E; font-family: 'Montserrat', Arial, Helvetica, sans-serif; box-shadow: 0 18px 60px rgba(0, 37, 63, .4); }
.fpv[open] { display: flex; flex-direction: column; }
/* Petit message sous un bouton, sur la page comme dans la fenêtre de lecture */
.fpv-bulle { position: fixed; z-index: 50; width: max-content; max-width: min(380px, calc(100vw - 32px)); padding: 12px 16px; border-radius: 12px; background: #00345E; color: #FFFFFF; font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 600; line-height: 1.45; box-shadow: 0 12px 32px rgba(0, 52, 94, .35); border-left: 4px solid #FFD166; }
.fpv::backdrop { background: rgba(0, 37, 63, .62); }
/* Bandeau : toujours deux lignes, avec ou sans classement (Thomas, 03/11/2026). Titre et repères en haut ; lecture, avis et actions en bas */
.fpv__tete { position: relative; flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 12px 16px 15px; background: radial-gradient(640px 150px at 88% -30%, rgba(0, 167, 255, .38), transparent 70%), linear-gradient(115deg, #00345E 0%, #00345E 55%, #0B4A7D 100%); color: #FFFFFF; }
/* Filet bleu : un seul passage de lumière à l'ouverture, rien ne bouge pendant la lecture */
.fpv__tete::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, #00A7FF 0%, #BDE6FF 50%, #00A7FF 100%); background-size: 200% 100%; animation: fpv-filet 1.1s ease-out 1; }
@keyframes fpv-filet { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.fpv__logo { flex: none; width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 4px 14px rgba(0, 167, 255, .35); }
/* Volet à côté du document : échanges ou signalement, l'un ou l'autre. La fenêtre s'élargit pour laisser au document sa largeur si l'écran le permet */
.fpv--avec-volet { width: min(1520px, calc(100vw - 32px)); }
.fpv__corps { flex: 1 1 auto; min-height: 0; display: flex; }
.fpv__corps .fpv__zone { flex: 1 1 0; min-width: 0; }
.fpv__volet { flex: none; width: 380px; max-width: 100%; display: flex; flex-direction: column; min-height: 0; border-left: 1px solid #BDE6FF; background: #F2FAFF; }
.fpv__volet-tete { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 8px 14px; border-bottom: 1px solid #BDE6FF; background: #FFFFFF; }
.fpv__volet-titre { font-size: 14px; font-weight: 800; }
.fpv__volet-fermer { min-width: 34px; min-height: 34px; border: 1px solid #5C87A8; border-radius: 8px; background: #FFFFFF; color: #00345E; font: inherit; font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer; }
.fpv__volet-fermer:focus-visible { outline: 3px solid #00A7FF; outline-offset: 2px; }
@media (max-width: 900px) {
  /* Écran étroit : le volet couvre le document le temps de l'utiliser, la lecture reste entière une fois refermé */
  .fpv__corps { position: relative; }
  .fpv__volet { position: absolute; inset: 0; width: 100%; border-left: 0; }
}
.fpv__signal { flex: 1 1 auto; min-height: 0; overflow-y: auto; align-content: start; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px 14px; background: #FFF1DC; }
.fpv__signal .fpv__bouton--vif { justify-self: stretch; min-height: 46px; }
.fpv__signal-label { grid-column: 1 / -1; font-size: 13px; font-weight: 700; }
/* Motifs : même longueur et même épaisseur, l'un sous l'autre, cases alignées quel que soit le nombre de lignes du libellé */
.fpv__motifs { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; gap: 8px; }
.fpv__motif { box-sizing: border-box; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 14px; border: 1.5px solid #5C87A8; border-radius: 8px; background: #FFFFFF; color: #00345E; font-size: 14px; font-weight: 600; line-height: 1.3; cursor: pointer; }
.fpv__motif:hover { border-color: #00345E; background: #E6F6FF; }
.fpv__motif:has(input:checked) { border-color: #00345E; color: #FFFFFF; background: #00345E; }
.fpv__motif:has(input:focus-visible) { outline: 3px solid #00A7FF; outline-offset: 2px; }
.fpv__motif input { flex: none; width: 18px; height: 18px; accent-color: #00A7FF; margin: 0; }
.fpv__signal-texte { box-sizing: border-box; width: 100%; padding: 10px 14px; border: 1.5px solid #5C87A8; border-radius: 8px; background: #FFFFFF; color: #00345E; font: inherit; font-size: 14px; resize: vertical; transition: border-color .15s ease, box-shadow .15s ease; }
.fpv__signal-texte:focus-visible { outline: none; border-color: #00A7FF; box-shadow: 0 0 0 3px rgba(0, 167, 255, .28); }
.fpv__reserve { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; line-height: 1.3; cursor: pointer; }
.fpv__reserve input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: #00345E; }
.fpv__reserve:has(input:focus-visible) { outline: 3px solid #00A7FF; outline-offset: 2px; border-radius: 4px; }
.fpv__signal .fpv__bouton--vif { background: #00345E; border-color: #00345E; color: #FFFFFF; }
.fpv__signal .fpv__bouton--vif:hover:not(:disabled) { background: #0B4677; }
.fpv__signal-retour:empty { display: none; }
.fpv__signal-retour { grid-column: 1 / -1; margin: 0; font-size: 13px; font-weight: 700; }
.fpv__titre { flex: 1 1 240px; min-width: 0; margin: 0; color: #FFFFFF; font-size: 16px; font-weight: 800; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fpv__pages { flex: none; padding: 2px 10px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; color: #CFE8F8; }
.fpv__pages:empty { display: none; }
.fpv__outils { flex: 1 1 100%; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.fpv__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; margin-left: auto; }
.fpv__groupe { display: flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; background: rgba(255, 255, 255, .06); }
.fpv__groupe:not(:has(> :not(.cache):not(:empty))) { display: none; }
.fpv__groupe--avis { gap: 4px; }
.fpv__niveau { min-width: 46px; text-align: center; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fpv__niveau:empty { display: none; }
.fpv__bouton { min-width: 38px; min-height: 38px; padding: 0 10px; border: 1px solid #5C87A8; border-radius: 8px; background: transparent; color: #FFFFFF; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.fpv__bouton:hover:not(:disabled) { background: #0B4677; }
.fpv__bouton:disabled { opacity: .45; cursor: default; }
.fpv__bouton:focus-visible { outline: 3px solid #00A7FF; outline-offset: 2px; }
.fpv__bouton--texte { font-size: 13px; }
/* Le lien vers l'original : un bouton comme les autres, avec son pictogramme de dossier (Thomas, 04/11/2026) */
.fpv__bouton--lien { display: inline-flex; align-items: center; gap: 7px; color: #FFFFFF; text-decoration: none; }
.fpv__bouton--lien:hover { color: #FFFFFF; }
.fpv__bouton--lien svg { flex: none; }
/* Le logo WorkDrive sur le bandeau marine : posé sur un fond blanc, sinon il ne se voit pas (Thomas, 08/11/2026) */
.wd-logo .fpv__bouton--lien.wd::before { margin-right: .3em; border-radius: 3px; background-color: #FFFFFF; box-shadow: 0 0 0 2px #FFFFFF; }
/* Boutons du bandeau : verre léger, réaction courte au survol. Le bouton du volet ouvert reste allumé */
.fpv__tete .fpv__bouton { border-color: rgba(255, 255, 255, .24); border-radius: 10px; background: rgba(255, 255, 255, .07); transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.fpv__tete .fpv__bouton:hover:not(:disabled) { border-color: #00A7FF; background: rgba(0, 167, 255, .25); box-shadow: 0 6px 16px rgba(0, 167, 255, .25); transform: translateY(-1px); }
.fpv__tete .fpv__bouton:active:not(:disabled) { transform: translateY(0); }
.fpv__tete .fpv__bouton[aria-expanded="true"] { border-color: #00A7FF; background: #00A7FF; color: #00345E; }
.fpv__groupe .fpv__bouton { min-width: 34px; min-height: 34px; border-color: transparent; background: transparent; }
.fpv__tete .fpv__bouton--vif { border-color: #FFFFFF; background: #FFFFFF; color: #00345E; }
.fpv__tete .fpv__bouton--vif:hover:not(:disabled) { border-color: #FFFFFF; background: #E6F6FF; box-shadow: 0 6px 16px rgba(255, 255, 255, .25); }
.fpv__tete .fpv__bouton--valider { border-color: #00D274; background: #00D274; color: #00345E; }
.fpv__tete .fpv__bouton--valider:hover:not(:disabled) { border-color: #00D274; background: #00D274; box-shadow: 0 6px 16px rgba(0, 210, 116, .3); }
.fpv__tete .fpv__bouton--valider:disabled { border-color: rgba(255, 255, 255, .24); background: transparent; color: #FFFFFF; }
/* Favori : doré même vide pour être repéré, plein une fois choisi */
.fpv__tete .fpv__bouton--favori { min-width: 40px; border: 1.5px solid #FFD166; background: rgba(255, 209, 102, .12); color: #FFD166; font-size: 22px; line-height: 1; }
.fpv__tete .fpv__bouton--favori:hover:not(:disabled) { border-color: #FFD166; background: rgba(255, 209, 102, .3); box-shadow: 0 0 14px rgba(255, 209, 102, .45); transform: scale(1.08); }
.fpv__tete .fpv__bouton--favori[aria-pressed="true"], .fpv__tete .fpv__bouton--favori[aria-pressed="true"]:hover:not(:disabled) { border-color: #FFD166; background: #FFD166; color: #00345E; box-shadow: 0 0 14px rgba(255, 209, 102, .5); }
@media (prefers-reduced-motion: reduce) {
  .fpv__tete::after { animation: none; }
  .fpv__tete .fpv__bouton { transition: none; }
  .fpv__tete .fpv__bouton:hover:not(:disabled) { transform: none; }
}
/* Téléphone et petite tablette (Thomas, 03/11/2026 : « garder une fenêtre de lecture ») : une seule ligne fine, titre, outils repliés et fermer. Valider reste visible, le reste s'ouvre à la demande */
.fpv__tete .fpv__plus { display: none; }
@media (max-width: 900px) {
  .fpv__tete { gap: 6px; padding: 6px 10px 8px; }
  .fpv__logo { display: none; }
  .fpv__titre { flex: 1 1 0; order: 1; font-size: 14px; }
  .fpv__pages { order: 2; font-size: 11.5px; white-space: nowrap; }
  .fpv__outils, .fpv__actions { display: contents; }
  .fpv__tete .fpv__plus { display: inline-flex; order: 3; min-width: 36px; min-height: 34px; padding: 0 8px; align-items: center; justify-content: center; font-size: 16px; }
  .fpv__tete .fpv__bouton--vif { order: 4; min-height: 34px; padding: 4px 10px; font-size: 13px; }
  .fpv__tete .fpv__bouton--valider { order: 5; flex: 1 0 100%; min-height: 32px; padding: 3px 10px; font-size: 13px; }
  .fpv__macaron, .fpv__mention, .fpv__groupe, .fpv__actions > .fpv__bouton:not(.fpv__bouton--vif):not(.fpv__bouton--valider) { order: 6; }
  .fpv:not(.fpv--outils-ouverts) .fpv__macaron, .fpv:not(.fpv--outils-ouverts) .fpv__mention, .fpv:not(.fpv--outils-ouverts) .fpv__groupe, .fpv:not(.fpv--outils-ouverts) .fpv__actions > .fpv__bouton:not(.fpv__bouton--vif):not(.fpv__bouton--valider) { display: none; }
}
.fpv__tete .fpv__importance { min-height: 34px; border-color: transparent; border-radius: 9px; background: transparent; transition: background-color .15s ease; }
.fpv__tete .fpv__importance:hover { background: rgba(0, 167, 255, .25); }
.fpv__tete .fpv__importance option { background: #FFFFFF; color: #00345E; }
.fpv__importance { min-height: 38px; padding: 0 8px; border: 1px solid #5C87A8; border-radius: 8px; background: #00345E; color: #FFFFFF; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.fpv__importance--clair { background: #FFFFFF; color: #00345E; }
.fpv__importance:focus-visible { outline: 3px solid #00A7FF; outline-offset: 2px; }
.fpv__notes { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 8px; padding: 10px 14px; }
.fpv__notes.cache { display: none; }
/* Clôture d'une erreur signalée : côté cabinet, à côté du document concerné */
.fpv__cloture { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: grid; align-content: start; gap: 10px; padding: 12px 14px; }
.fpv__cloture-carte { display: grid; gap: 8px; padding: 12px; border-left: 4px solid #E08A00; border-radius: 8px; background: #FFFFFF; }
.fpv__cloture-gestes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fpv__cloture-lien { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; min-height: 40px; border: 1.5px solid #5C87A8; border-radius: 8px; color: #00345E; font-size: 13px; font-weight: 700; text-decoration: none; }
.fpv__cloture-lien:hover { border-color: #00A7FF; background: #E6F6FF; }
.fpv__cloture-geste { min-height: 40px; padding: 0 10px; border: 1.5px solid #00345E; border-radius: 8px; background: #FFFFFF; color: #00345E; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.fpv__cloture-geste--corrige { background: #00345E; color: #FFFFFF; }
.fpv__cloture-geste:hover:not(:disabled) { border-color: #0B4677; background: #0B4677; color: #FFFFFF; }
.fpv__cloture-geste:disabled { opacity: .55; cursor: default; }
.fpv__cloture-geste:focus-visible, .fpv__cloture-lien:focus-visible { outline: 3px solid #00A7FF; outline-offset: 2px; }
.fpv__cloture-fini { margin: 0; color: #006B3C; font-size: 14px; font-weight: 700; }
/* Regard critique de Mistral sur un document du client : forces et faiblesses, de la méthode comme des constats */
.fpv__regard { flex: 1 1 auto; min-height: 0; overflow-y: auto; align-content: start; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px 14px; }
.fpv__parallele-citation { margin: 0; padding: 10px 12px; border-left: 4px solid #00A7FF; border-radius: 8px; background: #FFFFFF; color: #00345E; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.fpv__parallele-citation mark { background: #FFE066; color: inherit; font-weight: 700; }
.fpv__parallele-origine { margin: 0; color: #00345E; font-size: 13px; font-weight: 700; }
.fpv__regard-bref { margin: 0; color: #00345E; font-size: 14px; font-weight: 700; line-height: 1.45; }
.fpv__regard-section { display: grid; gap: 6px; }
.fpv__regard-titre { margin: 0; color: #00345E; font-size: 13px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.fpv__regard-genre { margin: 4px 0 0; color: #00345E; font-size: 12.5px; font-weight: 800; }
.fpv__regard-liste { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.fpv__regard-point { display: grid; gap: 3px; padding: 7px 10px; border-left: 4px solid #5C87A8; border-radius: 8px; background: #FFFFFF; color: #00345E; font-size: 13px; line-height: 1.4; }
.fpv__regard-liste--forces .fpv__regard-point { border-left-color: #00D274; }
.fpv__regard-liste--faiblesses .fpv__regard-point { border-left-color: #FF6A6E; }
/* Bilan SSE au regard de l'axe 5 : les positions de Fipa et chaque exigence (Thomas, 10/11/2026) */
.fpv__bilan-position { display: grid; gap: 2px; padding: 8px 10px; border-left: 4px solid #5C87A8; border-radius: 8px; background: #FFFFFF; color: #00345E; font-size: 13px; line-height: 1.4; }
.fpv__bilan-position--oui { border-left-color: #00D274; }
.fpv__bilan-position--partiellement { border-left-color: #00A7FF; }
.fpv__bilan-position--non { border-left-color: #FF6A6E; }
/* Le regard de Fipa sur un rapport ou un diaporama, dans le volet : le bloc de la carte, sans sa marge haute */
.fpv__volet .fipa-livrable { margin: 0; }
/* Le document d'un audit examiné : le périmètre couvert (Thomas, 10/11/2026) */
.fpv__examen-perimetre { display: grid; gap: 2px; margin: 0 0 8px; padding: 8px 10px; border-left: 4px solid #5C87A8; border-radius: 8px; background: #FFFFFF; color: #00345E; font-size: 13px; line-height: 1.4; }
.fpv__examen-perimetre--conforme { border-left-color: #00D274; }
.fpv__examen-perimetre--plus_large, .fpv__examen-perimetre--doute { border-left-color: #E8892B; }
.fpv__examen-perimetre--different { border-left-color: #FF6A6E; }
/* Le numéro de l'écart dans sa pastille, de la couleur de sa gravité (Thomas, 10/11/2026) */
.fpv__ecart-nom { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.fpv__ecart-badge { padding: 1px 8px; border-radius: 6px; color: #00253F; font-size: 12px; font-weight: 800; }
.fpv__ecart-badge--majeur { background: #FF6A6E; }
.fpv__ecart-badge--mineur { background: #00A7FF; }
.fpv__plan-point.fpv__bilan-exigence--traitee { border-left-color: #00D274; }
.fpv__plan-point.fpv__bilan-exigence--partielle { border-left-color: #00A7FF; }
.fpv__plan-point.fpv__bilan-exigence--absente { border-left-color: #FF6A6E; }
/* Régénérer le plan depuis le CRM ou le transmettre, en tête du contrôle (Thomas, 10/11/2026) */
.fpv__plan-crm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px 12px; border: 1.5px solid #B9D3E8; border-radius: 12px; background: #F3F9FE; }
.fpv__plan-crm--corriger { border-color: #FF6A6E; background: #FFF5F5; }
.fpv__plan-crm-texte { grid-column: 1 / -1; margin: 0; color: #00345E; font-size: 12.5px; font-weight: 600; line-height: 1.4; }
.fpv__plan-crm-fait { grid-column: 1 / -1; margin: 0; color: #006B3F; font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.fpv__plan-crm-bouton { min-height: 38px; padding: 0 10px; border: 1.5px solid #00345E; border-radius: 9px; background: #FFFFFF; color: #00345E; font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; }
.fpv__plan-crm-bouton:hover:not(:disabled) { background: #E6F6FF; }
.fpv__plan-crm-bouton--vif { border-color: #E5484D; background: #E5484D; color: #FFFFFF; }
.fpv__plan-crm-bouton--vif:hover:not(:disabled) { background: #C8363B; }
/* Plan juste (Thomas, 10/11/2026) : transmettre s'il reste à le faire, et un lien discret pour le refaire ; les points de concordance restent affichés */
.fpv__plan-crm--juste { grid-template-columns: minmax(0, 1fr); background: #F2FBF7; border-color: #9BE5C2; }
.fpv__plan-crm--juste .fpv__plan-crm-bouton--vif { border-color: #00D274; background: #00D274; color: #00345E; }
.fpv__plan-crm--juste .fpv__plan-crm-bouton--vif:hover:not(:disabled) { background: #33E596; }
.fpv__plan-crm-refaire { justify-self: start; padding: 0; border: 0; background: none; color: #00345E; font: inherit; font-size: 12px; font-weight: 600; text-decoration: underline; text-decoration-color: #00A7FF; text-underline-offset: 3px; cursor: pointer; }
.fpv__plan-crm-refaire:disabled { opacity: .6; cursor: progress; }
.fpv__plan-crm-bouton:disabled { opacity: .55; cursor: not-allowed; }
.fpv__plan-crm-bouton:focus-visible { outline: 3px solid #00A7FF; outline-offset: 2px; }
/* Le point de vue de l'auditeur d'un rapport : maturité du système de management (Thomas, 10/11/2026) */
.fpv__maturite-bref { margin: 0; color: #00345E; font-size: 13px; font-weight: 600; line-height: 1.45; }
.fpv__regard-point.fpv__maturite { border-left-color: #00A7FF; }
.fpv__maturite-axe { color: #00345E; font-size: 11.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
/* Cohérence avec le dossier : l'autre pièce et ce qu'elle dit (Thomas, 10/11/2026) */
.fpv__regard-autre { color: #4A5A6A; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.fpv__regard-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fpv__regard-chapitre { color: #4A5A6A; font-size: 12px; font-weight: 700; }
.fpv__regard-voir { padding: 0; border: 0; background: none; color: #0B6FB8; font: inherit; font-size: 12px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.fpv__regard-voir:disabled { color: #4A5A6A; text-decoration: none; cursor: default; }
.fpv__regard-voir:focus-visible { outline: 3px solid #00A7FF; outline-offset: 2px; }
/* Écarts d'une fiche d'écart reçue du client, lus par Fipa (Thomas, 10/11/2026) */
.fpv__ecart-point { display: grid; gap: 4px; padding: 8px 10px; border-left: 4px solid #00A7FF; border-radius: 8px; background: #FFFFFF; color: #00345E; font-size: 13px; line-height: 1.4; }
.fpv__ecart-point--majeur { border-left-color: #FF6A6E; }
.fpv__ecart-ligne { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.fpv__ecart-libelle { font-weight: 600; }
.fpv__ecart-statut { font-weight: 700; }
.fpv__ecart-statut--acceptee { color: #006B3C; }
.fpv__ecart-statut--reserve { color: #7A5600; }
.fpv__ecart-statut--desaccord { color: #8F1C21; }
.fpv__ecart-reprise { color: #4A5A6A; font-weight: 700; }
/* Contrôle du plan d'audit par Fipa : chaque sujet, ce que dit le plan, ce que disent l'ordre de mission et le CRM (Thomas, 10/11/2026) */
/* Macaron du verdict, en tête du panneau : vert, orange ou rouge (Thomas, 10/11/2026) */
.fpv__verdict { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border: 1.5px solid #00D274; border-radius: 999px; background: #E6FBF1; color: #00345E; }
.fpv__verdict-pastille { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #00D274; color: #FFFFFF; box-shadow: 0 0 0 4px rgba(0, 210, 116, .22); }
.fpv__verdict-mots { display: grid; gap: 1px; min-width: 0; }
.fpv__verdict-titre { color: #006B3C; font-size: 15px; font-weight: 800; line-height: 1.2; }
.fpv__verdict-compte { color: #4A5A6A; font-size: 12px; font-weight: 700; }
.fpv__verdict--absent { border-color: #E08A00; background: #FFF4E0; }
.fpv__verdict--absent .fpv__verdict-pastille { background: #E08A00; box-shadow: 0 0 0 4px rgba(224, 138, 0, .22); }
.fpv__verdict--absent .fpv__verdict-titre { color: #7A4A00; }
.fpv__verdict--ecart { border-color: #FF6A6E; background: #FFEDEE; }
.fpv__verdict--ecart .fpv__verdict-pastille { background: #E5484D; box-shadow: 0 0 0 4px rgba(255, 106, 110, .25); }
.fpv__verdict--ecart .fpv__verdict-titre { color: #8F1C21; }
.fpv__plan-point { display: grid; gap: 4px; padding: 8px 10px; border-left: 4px solid #5C87A8; border-radius: 8px; background: #FFFFFF; color: #00345E; font-size: 13px; line-height: 1.4; }
.fpv__plan-point--ok { border-left-color: #00D274; }
.fpv__plan-point--ecart { border-left-color: #FF6A6E; background: #FFF8E0; }
.fpv__plan-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px; font-weight: 800; }
.fpv__plan-etat { color: #4A5A6A; font-size: 12px; font-weight: 700; }
.fpv__plan-point--ecart .fpv__plan-etat { color: #8F1C21; }
.fpv__plan-point--ok .fpv__plan-etat { color: #006B3C; }
.fpv__plan-valeurs { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 2px 10px; margin: 0; }
.fpv__plan-valeurs dt { color: #4A5A6A; font-size: 12px; font-weight: 700; }
.fpv__plan-valeurs dd { margin: 0; overflow-wrap: anywhere; }
.fpv__plan-point--ecart .fpv__plan-valeurs dd.fpv__plan-du-plan { background: #FFE066; }
/* L'ordre de mission resté à l'ancienne date, pour information (report confirmé par e-mail, Thomas 10/11/2026) */
.fpv__plan-note { margin: 4px 0 0; color: #4A5A6A; font-size: 12px; line-height: 1.4; }
.fpv__notes-liste { flex: 1 1 auto; min-height: 0; overflow-y: auto; align-content: start; }
.fpv__notes-intro { margin: 0; color: #4A5A6A; font-size: 12.5px; font-weight: 600; }
.fpv__notes-liste { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fpv__note { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 8px 10px; border-left: 4px solid #5C87A8; border-radius: 8px; background: #FFFFFF; }
.fpv__note--question { border-left-color: #E08A00; }
.fpv__note-tete { color: #4A5A6A; font-size: 12px; font-weight: 700; }
.fpv__note-texte { grid-column: 1; margin: 0; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-wrap; }
.fpv__note-retirer { grid-column: 2; grid-row: 1 / span 2; align-self: start; min-height: 30px; padding: 2px 10px; border: 1px solid #5C87A8; border-radius: 7px; background: #FFFFFF; color: #00345E; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.fpv__note-vide { color: #4A5A6A; font-size: 13px; }
.fpv__note--reponse { margin-left: 22px; border-left-color: #00D274; }
.fpv__note-gestes { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-end; gap: 4px; }
.fpv__note-gestes:empty { display: none; }
.fpv__note-gestes .fpv__note-retirer { grid-column: auto; grid-row: auto; }
.fpv__note-repondre { border-color: #00345E; background: #00345E; color: #FFFFFF; }
.fpv__notes-cible { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 700; }
.fpv__notes-cible .fpv__note-retirer { grid-column: auto; grid-row: auto; }
.fpv__macaron { padding: 2px 10px; border-radius: 999px; background: #D9F8E8; color: #006B3C; font-size: 12px; font-weight: 800; white-space: nowrap; cursor: help; }
.fpv__mention { display: flex; flex-wrap: wrap; gap: 4px; }
.fpv__pastille { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.fpv__pastille--haute { color: #8F1C21; background: #FFE9EA; }
.fpv__pastille--moyenne { color: #8A4B00; background: #FFF1DC; }
.fpv__pastille--faible { color: #4A5A6A; background: #EEF2F5; }
/* Même présentation que le signalement : tout à la même longueur, le bouton d'envoi compris */
.fpv__notes-form { flex: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 10px; border-top: 1px solid #BDE6FF; }
.fpv__notes-form .fpv__importance { min-height: 46px; padding: 0 12px; border: 1.5px solid #5C87A8; font-size: 14px; }
.fpv__notes-form .fpv__bouton--vif { min-height: 46px; background: #00345E; border-color: #00345E; color: #FFFFFF; }
.fpv__notes-form .fpv__bouton--vif:hover:not(:disabled) { background: #0B4677; }
.fpv__bouton--vif { border-color: #FFFFFF; background: #FFFFFF; color: #00345E; font-size: 13px; }
.fpv__bouton--vif:hover:not(:disabled) { background: #E6F6FF; }
.fpv__zone { flex: 1 1 auto; min-height: 0; overflow: auto; scrollbar-gutter: stable; padding: 16px; display: flex; flex-direction: column; align-items: safe center; gap: 14px; outline: none; }
.fpv__message:empty { display: none; }
.fpv__message { margin: 24px auto; font-size: 14px; font-weight: 600; text-align: center; }
.fpv__feuille { flex: none; max-width: none; background: #FFFFFF; box-shadow: 0 2px 10px rgba(0, 52, 94, .22); }
.fpv__feuille canvas { display: block; width: 100%; height: auto; }
.fpv__marque { color: inherit; background: #FFE066; }
.fpv__feuille--image { background: transparent; box-shadow: none; }
@media (max-width: 620px) {
  .fpv { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; }
  .fpv__zone { padding: 8px; }
}

/* Aperçu Word, Excel, PowerPoint */
.fpv__feuille--office { width: min(100%, 1040px); background: transparent; box-shadow: none; }
.fpv__bouton--valider { border-color: #00D274; background: #00D274; color: #00345E; }
.fpv__bouton--valider:disabled { border-color: #5C87A8; background: transparent; color: #FFFFFF; cursor: default; }
/* Grands écrans : plus de confort de lecture. Un PC portable garde la largeur habituelle */
@media (min-width: 1600px) {
  .fpv { width: min(1560px, calc(100vw - 64px)); }
  .fpv__feuille--office { width: min(100%, 1320px); }
}
/* Word : de vraies pages, aux couleurs et polices du document. Les tailles viennent du fichier ; la fenêtre ajuste par zoom */
.fpv__feuille--word, .fpv__feuille--excel { width: 100%; max-width: none; }
.fpw { display: grid; gap: 18px; justify-items: center; }
.fpw__page { box-sizing: border-box; max-width: none; color: #000000; background: #FFFFFF; box-shadow: 0 2px 12px rgba(0, 52, 94, .24); font-size: 10pt; line-height: 1.17; overflow-wrap: break-word; }
.fpw__p { min-height: 1em; white-space: pre-wrap; tab-size: 36px; }
.fpw__droite { float: right; }
.fpw__num { white-space: pre; }
.fpw__image { max-width: 100%; height: auto; vertical-align: bottom; }
.fpw__image--bloc { display: block; margin: 4px auto; }
.fpw__boite { display: block; margin: 4px 0; white-space: normal; }
.fpw__table { max-width: 100%; margin: 2px 0; border-collapse: collapse; table-layout: fixed; }
.fpw__table td { padding: 0 6px; vertical-align: top; overflow-wrap: break-word; }
/* Excel : largeurs, fusions et couleurs du classeur, en-têtes A B C et numéros de ligne, onglets en bas */
.fpx { display: flex; flex-direction: column; color: #000000; background: #FFFFFF; box-shadow: 0 2px 12px rgba(0, 52, 94, .24); }
.fpx__contenu { min-height: 240px; }
.fpx__cadre { overflow: auto; max-height: calc(100vh - 190px); }
.fpx__scene { position: relative; }
.fpx__table { border-collapse: collapse; table-layout: fixed; font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif; font-size: 11pt; line-height: 1.15; }
.fpx__table td { padding: 0 3px; border: 1px solid #E3E7EB; overflow: hidden; vertical-align: bottom; white-space: pre; }
.fpx__table--sans-grille td { border-color: transparent; }
.fpx__table td.fpx__pleine { border-color: transparent; }
.fpx__table td.fpx__deborde { overflow: visible; }
.fpx__texte { overflow: hidden; }
.fpx__table td.fpx__retour { white-space: pre-wrap; overflow-wrap: anywhere; }
.fpx__table th { position: sticky; z-index: 2; padding: 0 2px; border: 1px solid #D5DBE1; color: #4A5A6A; background: #F1F4F7; font-family: Montserrat, Arial, sans-serif; font-size: 10.5px; font-weight: 600; text-align: center; }
.fpx__lettre, .fpx__coin { top: 0; height: 20px; }
.fpx__numero, .fpx__coin { left: 0; }
.fpx__coin { z-index: 3 !important; }
.fpx__table tr.fpx__masquee { display: none; }
.fpx__table td.fpx__masquee, .fpx__table th.fpx__masquee { padding: 0; border: 0; font-size: 0; }
.fpx__objet { position: absolute; z-index: 1; }
.fpx__image { display: block; width: 100%; height: 100%; object-fit: contain; }
.fpx__graphique { display: block; width: 100%; height: 100%; font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif; }
.fpx__graphique-fond { fill: #FFFFFF; stroke: #D5DBE1; }
.fpx__graphique-titre { fill: #404040; font-size: 13px; font-weight: 700; }
.fpx__graphique-axe { fill: #595959; font-size: 10px; }
.fpx__graphique-legende { fill: #404040; font-size: 10.5px; }
.fpx__graphique-grille { stroke: #E4E7EB; stroke-width: 1; }
.fpx__onglets { display: flex; gap: 2px; padding: 6px 8px 0; overflow-x: auto; border-top: 1px solid #D5DBE1; background: #F1F4F7; }
.fpx__onglet { flex: none; padding: 6px 13px; border: 1px solid transparent; border-bottom: 0; border-radius: 7px 7px 0 0; color: #00345E; background: transparent; font: inherit; font-size: 12.5px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.fpx__onglet:hover { background: #E4EAF0; }
.fpx__onglet[aria-pressed="true"] { border-color: #D5DBE1; font-weight: 800; background: #FFFFFF; box-shadow: inset 0 -2px 0 #00D274; }
.fpx__note { margin: 14px; color: #4A5A6A; font-size: 12.5px; }
.fpo__avis { margin: 0 0 10px; padding: 8px 12px; border-radius: 8px; font-size: 12.5px; color: #4A5A6A; background: #FFFFFF; }
.fpo__page { padding: 26px 30px; color: #00345E; background: #FFFFFF; box-shadow: 0 2px 10px rgba(0, 52, 94, .22); font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.fpo__page--excel { padding: 0; }
.fpo__titre { margin: 18px 0 8px; font-weight: 800; line-height: 1.25; }
.fpo__titre:first-child { margin-top: 0; }
.fpo__titre--1 { font-size: 20px; }
.fpo__titre--2 { font-size: 17px; }
.fpo__titre--3 { font-size: 15px; }
.fpo__para { margin: 0 0 8px; white-space: pre-wrap; }
.fpo__puce { position: relative; margin: 0 0 5px; padding-left: 18px; white-space: pre-wrap; }
.fpo__puce::before { content: ""; position: absolute; left: 4px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: #00A7FF; }
.fpo__image { display: block; max-width: 100%; height: auto; margin: 8px auto; }
.fpo__cadre { max-width: 100%; overflow: auto; margin: 8px 0 12px; }
.fpo__contenu .fpo__cadre { max-height: 70vh; margin: 0; }
.fpo__table { border-collapse: collapse; font-size: 13px; }
.fpo__table td { min-width: 40px; padding: 5px 8px; border: 1px solid #DDE5EC; vertical-align: top; }
.fpo__table td > :last-child { margin-bottom: 0; }
.fpo__table--excel { font-size: 12.5px; white-space: nowrap; }
.fpo__table--excel td { max-width: 420px; overflow: hidden; text-overflow: ellipsis; }
.fpo__onglets { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 10px; border-bottom: 1px solid #DDE5EC; background: #F4F7FA; }
.fpo__onglet { padding: 5px 11px; border: 1px solid #DDE5EC; border-radius: 999px; font: inherit; font-size: 12.5px; font-weight: 700; color: #00345E; background: #FFFFFF; cursor: pointer; }
.fpo__onglet[aria-pressed="true"] { color: #FFFFFF; background: #00345E; border-color: #00345E; }
.fpo__note { margin: 8px 10px; color: #4A5A6A; font-size: 12.5px; }
.fpo__diapos { display: grid; gap: 14px; }
.fpo__diapo { padding: 22px 28px; color: #00345E; background: #FFFFFF; box-shadow: 0 2px 10px rgba(0, 52, 94, .22); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.fpo__numero { margin: 0 0 10px; color: #4A5A6A; font-size: 11.5px; font-weight: 700; }
