/* PDFANIM : styles de l'espace client (mêmes couleurs et polices que la page d'accueil) */
@font-face { font-family: "Sora"; src: url("/fonts/sora.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
:root {
  --nuit: #14213D; --nuit-2: #1D2D52; --orange: #F2622E; --orange-fonce: #C9481A;
  --papier: #FFFFFF; --brume: #EDF0F6; --encre: #14213D; --gris: #55607A; --trait: #D5DBE7;
  --vert: #1E7A4C; --rouge: #B42318; --titre: "Sora", system-ui, sans-serif; --texte: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
/* La place de la barre de défilement est toujours réservée : quand une page devient plus longue ou plus courte
   (liste des vidéos, onglets de l'Admin), son contenu ne se décale plus de côté */
html { scrollbar-gutter: stable; }
body { margin: 0; font: 400 1rem/1.55 var(--texte); color: var(--encre); background: var(--brume); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--titre); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h2 { font-size: 1.25rem; }
h3 { font-size: 1rem; margin: 22px 0 8px; }
p { margin: 0; }
.cadre { width: min(1160px, 100% - 32px); margin-inline: auto; }
svg.i { width: 18px; height: 18px; flex: none; }

/* En-tête */
.entete { background: var(--nuit); color: #fff; }
.entete .cadre { display: flex; align-items: center; gap: 14px; padding-block: 14px; flex-wrap: wrap; }
.entete .logo img { height: 34px; width: auto; display: block; }
/* Sélecteur de langue */
.choix-langue { width: auto; min-height: 36px; padding: 4px 28px 4px 10px; font: 600 .85rem var(--texte); color: #fff; background-color: transparent; border: 1px solid rgba(255,255,255,.32); border-radius: 8px; cursor: pointer; }
.choix-langue:hover, .choix-langue:focus { border-color: #fff; }
.choix-langue option { color: #14213D; background: #fff; }
.marque { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 4px; line-height: 1; }
.marque > a:first-child { display: block; }
.marque .by { display: inline-flex; align-items: center; gap: .32em; font-size: 11px; font-weight: 500; letter-spacing: .04em; color: rgba(255,255,255,.8); text-decoration: none; white-space: nowrap; }
.marque .by:hover { color: #fff; }
.marque .by svg { width: 1.4em; height: 1.4em; display: block; flex: none; }
/* L'œil Créacodeal : il regarde vers la gauche puis cligne (même animation que sur creacodeal.com) */
.ccd-cligne { transform-box: fill-box; transform-origin: center; animation: ccd-cligne 5s ease-in-out infinite; }
.ccd-regard { animation: ccd-regard 7s ease-in-out infinite; }
@keyframes ccd-cligne { 0%, 86%, 100% { transform: scaleY(1); } 90% { transform: scaleY(.06); } 94% { transform: scaleY(1); } }
@keyframes ccd-regard { 0%, 28% { transform: translateX(0); } 36%, 58% { transform: translateX(-16px); } 66%, 100% { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .ccd-cligne, .ccd-regard { animation: none; } }

.entete nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.entete nav a, .entete nav button { display: inline-flex; align-items: center; gap: 7px; color: #fff; text-decoration: none; font: 500 .95rem var(--texte); padding: 8px 10px; border-radius: 8px; background: none; border: 0; cursor: pointer; opacity: .85; }
.entete nav a:hover, .entete nav button:hover { opacity: 1; background: rgba(255,255,255,.08); }
.entete nav a.actif { opacity: 1; background: rgba(255,255,255,.14); }
/* Le bouton Admin ressort du menu : pastille orange, toujours visible (administrateur seulement) */
.entete nav a.bouton-admin { opacity: 1; background: var(--orange); font-weight: 700; padding: 8px 16px; border-radius: 999px; margin: 0 4px; }
.entete nav a.bouton-admin:hover { background: var(--orange); filter: brightness(1.08); }
.entete nav a.bouton-admin[hidden] { display: none; }
.solde { display: inline-flex; align-items: center; gap: 7px; background: var(--orange); color: #fff; font-weight: 700; padding: 6px 12px; border-radius: 999px; text-decoration: none; white-space: nowrap; }

main { padding: 28px 0 64px; }
.bandeau { display: flex; gap: 10px; align-items: flex-start; background: #FFF4E5; border: 1px solid #F5C77E; color: #7A4B00; padding: 12px 14px; border-radius: 10px; margin-bottom: 18px; font-size: .95rem; }
.bandeau.ok { background: #E8F5EE; border-color: #9BD3B5; color: var(--vert); }
.tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.sous { color: var(--gris); margin-top: 6px; }
.carte { background: var(--papier); border: 1px solid var(--trait); border-radius: 14px; padding: 22px; }
.carte + .carte { margin-top: 16px; }
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 760px) { .deux { grid-template-columns: 1fr; } }

/* Formulaires */
label { display: block; font-weight: 600; margin: 16px 0 6px; }
label.coche { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-top: 12px; cursor: pointer; }
label.coche input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--orange); }
.aide { color: var(--gris); font-size: .9rem; margin-top: 4px; }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; font: inherit; color: inherit; background: #fff; border: 1px solid var(--trait); border-radius: 9px; padding: 10px 12px; }
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--nuit); outline: none; box-shadow: 0 0 0 3px rgba(20,33,61,.12); }
.champs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 14px; }
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; font: 700 .98rem var(--texte); text-decoration: none; border: 2px solid transparent; cursor: pointer; background: var(--orange); color: #fff; }
.bouton:hover:not(:disabled) { background: var(--orange-fonce); }
.bouton:disabled { opacity: .5; cursor: not-allowed; }
.bouton.second { background: #fff; color: var(--encre); border-color: var(--trait); }
.bouton.second:hover:not(:disabled) { border-color: var(--nuit); background: #fff; }
.bouton.large { width: 100%; margin-top: 20px; }
.lien { background: none; border: 0; padding: 0; color: var(--nuit); font: 600 .9rem var(--texte); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lien.danger { color: var(--rouge); }
.erreur { color: var(--rouge); font-weight: 600; min-height: 1.4em; margin-top: 10px; }
.icone { display: inline-flex; padding: 6px; border: 1px solid var(--trait); border-radius: 8px; background: #fff; color: var(--encre); cursor: pointer; }
.icone:hover:not(:disabled) { border-color: var(--nuit); }
.icone:disabled { opacity: .35; cursor: not-allowed; }

/* Dépôt du PDF */
.depot { border: 2px dashed var(--trait); border-radius: 12px; padding: 28px 16px; text-align: center; cursor: pointer; color: var(--gris); background: #FAFBFD; }
.depot:hover, .depot.survol { border-color: var(--orange); }
.depot.plein { border-style: solid; border-color: var(--nuit); color: var(--encre); }
.depot svg { width: 30px; height: 30px; margin: 0 auto 8px; display: block; color: var(--nuit); }

/* Vidéos */
.video { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.video + .video { border-top: 1px solid var(--trait); margin-top: 14px; padding-top: 14px; }
.video .vignette { width: 132px; aspect-ratio: 16/9; border-radius: 8px; background: var(--brume) center/cover no-repeat; display: grid; place-items: center; color: var(--gris); }
.video .nom { font-weight: 700; overflow-wrap: anywhere; }
.video .infos { color: var(--gris); font-size: .9rem; }
@media (max-width: 640px) { .video { grid-template-columns: 1fr; } .video .vignette { width: 100%; } }
/* Mes vidéos : recherche, filtre, tri, renommer et supprimer */
.outils-videos { display: grid; grid-template-columns: minmax(0, 1fr) 210px 170px 210px; gap: 10px; margin-bottom: 12px; }
@media (max-width: 980px) { .outils-videos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .outils-videos .champ-recherche { grid-column: 1 / -1; } }
.outils-videos select, .outils-videos input { margin: 0; background: #fff; }
.champ-recherche { position: relative; }
.champ-recherche .i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--gris); pointer-events: none; }
.champ-recherche input { padding-left: 38px; width: 100%; }
@media (max-width: 760px) { .outils-videos { grid-template-columns: minmax(0, 1fr); } }
.video .actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.icone-bouton { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--trait); background: #fff; color: var(--gris); cursor: pointer; }
.icone-bouton:hover { border-color: var(--nuit); color: var(--encre); }
.icone-bouton.danger:hover { border-color: var(--rouge); color: var(--rouge); }
.video .versions { margin-top: 4px; }
.gestion { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.gestion input[type=text] { flex: 1 1 220px; margin: 0; }
.gestion.alerte { background: #FDECEA; border-radius: 10px; padding: 10px 12px; color: var(--encre); }
.gestion.alerte span { flex: 1 1 240px; font-weight: 600; }
.bouton.danger { background: var(--rouge); border-color: var(--rouge); color: #fff; }
.bouton.danger:hover:not(:disabled) { background: var(--rouge); filter: brightness(.92); }
.gestion-video { margin-top: 8px; }
.gestion-video .liens { display: flex; gap: 16px; }
.etat { display: inline-block; font-size: .8rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--brume); color: var(--nuit); margin-left: 6px; }
.etat.termine { background: #E8F5EE; color: var(--vert); }
.etat.erreur { background: #FDECEA; color: var(--rouge); }
.etat.a_valider { background: #FFF1EA; color: var(--orange-fonce); }
.barre { height: 8px; background: var(--brume); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.barre div { height: 100%; background: var(--orange); width: 0; transition: width .4s; }
/* Pendant la fabrication : la barre défile et un rond tourne, pour montrer que le moteur travaille */
.barre.active { height: 10px; }
.barre.active div { min-width: 6%; background-image: linear-gradient(45deg, rgba(255,255,255,.35) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.35) 50%, rgba(255,255,255,.35) 75%, transparent 75%); background-size: 28px 28px; animation: barre-defile .9s linear infinite; }
@keyframes barre-defile { from { background-position: 0 0; } to { background-position: 28px 0; } }
.tourne { flex: none; width: 18px; height: 18px; border: 3px solid var(--brume); border-top-color: var(--orange); border-radius: 50%; animation: tourne .8s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .barre.active div, .tourne { animation: none; } }
video.lecteur { width: 100%; max-height: 72vh; background: #000; border-radius: 12px; display: block; margin: 0 auto; }
video.lecteur.c9-16 { max-width: 380px; }
video.lecteur.c1-1 { max-width: 560px; }

/* Relecture du scénario */
ol.plans { list-style: none; margin: 0; padding: 0; }
ol.plans li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--trait); }
ol.plans li:first-child { border-top: 0; }
ol.plans img { width: 96px; height: 72px; object-fit: cover; border-radius: 7px; background: var(--brume); display: block; }
ol.plans input { margin-top: 6px; padding: 8px 10px; }
ol.plans .num { font-size: .8rem; color: var(--gris); font-weight: 700; }
ol.plans .outils { display: flex; flex-direction: column; gap: 4px; }
/* Options après la relecture : une question par écran, de grandes réponses, puis le récapitulatif */
.options-video .etape { margin: 0 0 6px; font-size: .8rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--orange-fonce); }
.options-video h2 { margin: 0; font-size: 1.45rem; }
.options-video h3 { margin: 22px 0 4px; }
.options-video .actuel { display: inline-block; margin: 10px 0 0; padding: 4px 12px; border-radius: 999px; background: var(--brume); font-size: .9rem; font-weight: 600; }
.reponses { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.reponse { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; padding: 10px 14px; border: 2px solid var(--trait); border-radius: 12px; background: #fff; color: var(--encre); font: 700 1.02rem var(--texte); cursor: pointer; }
.reponse:hover { border-color: var(--orange); }
.reponse.choisie { border-color: var(--orange); background: #FFF3EE; }
.liste-choix { display: grid; gap: 8px; margin-top: 10px; }
.groupe-voix { margin-top: 14px; font-size: .8rem; font-weight: 700; color: var(--gris); }
.ligne-choix { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 12px; border: 2px solid var(--trait); border-radius: 12px; background: #fff; }
.ligne-choix.choisie { border-color: var(--orange); background: #FFF3EE; }
.ligne-choix .choisir { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0; border: 0; background: none; color: inherit; font: 600 1rem var(--texte); text-align: left; cursor: pointer; }
.ligne-choix .rond { flex: none; width: 20px; height: 20px; border: 2px solid var(--trait); border-radius: 50%; background: #fff; }
.ligne-choix.choisie .rond { border-color: var(--orange); background: radial-gradient(circle, var(--orange) 0 5px, #fff 6px); }
.ligne-choix .ecouter { flex: none; min-height: 38px; padding: 0 12px; font-size: .9rem; }
.options-video .bouton.large { margin-top: 18px; }
#voix-champs label { margin-top: 12px; font-size: .85rem; }
#voix-champs label span { font-weight: 400; color: var(--gris); }
#voix-champs input { font-style: italic; }
table.recap { width: 100%; margin-top: 14px; border-collapse: collapse; }
table.recap td { padding: 11px 0; border-top: 1px solid var(--trait); vertical-align: middle; }
table.recap td:nth-child(2) { padding: 0 12px; text-align: right; }
table.recap td.prix { width: 1%; text-align: right; white-space: nowrap; font-weight: 700; }
table.recap tfoot td { border-top: 2px solid var(--encre); font-size: 1.15rem; font-weight: 800; }
.options-video .retour { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; }
@media (max-width: 560px) { .reponses { grid-template-columns: 1fr; } }
.choix { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 6px; }
.choix button { padding: 0; background: none; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; }
.choix button:hover, .choix button.actuelle { border-color: var(--orange); }
.choix img { width: 100%; height: 60px; object-fit: cover; display: block; }
#relecture input[type=text] { margin-top: 6px; }

/* Crédits */
.pack { border: 1px solid var(--trait); border-radius: 12px; padding: 16px; background: #fff; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.pack:hover, .pack.choisi { border-color: var(--orange); box-shadow: 0 0 0 2px var(--orange) inset; }
.pack .n { font-family: var(--titre); font-size: 1.5rem; font-weight: 700; }
.pack .prix { font-weight: 700; margin-top: 6px; }
.pack .detail { color: var(--gris); font-size: .88rem; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--trait); vertical-align: top; }
th { color: var(--gris); font-weight: 600; font-size: .85rem; }
td.nombre, th.nombre { text-align: right; white-space: nowrap; }
.plus { color: var(--vert); font-weight: 700; }
.moins { color: var(--rouge); font-weight: 700; }
.logo-apercu { height: 54px; max-width: 200px; object-fit: contain; background: #fff; border: 1px solid var(--trait); border-radius: 8px; padding: 4px; }
.vide { text-align: center; color: var(--gris); padding: 30px 10px; }
.pied { color: var(--gris); font-size: .85rem; padding: 0 0 28px; }
.pied a { color: var(--gris); }

/* Dossiers : boutons de l'en-tête, bandeau du dossier choisi, étiquette sur chaque vidéo */
.boutons-tete { display: flex; gap: 10px; flex-wrap: wrap; }
.outils-videos.sans-dossiers { grid-template-columns: minmax(0, 1fr) 190px 220px; }
@media (max-width: 980px) { .outils-videos.sans-dossiers { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 760px) { .outils-videos.sans-dossiers { grid-template-columns: minmax(0, 1fr); } }
.bandeau-dossier { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; background: #fff; border: 1px solid var(--trait); border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; }
.bandeau-dossier .titre-dossier { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-right: auto; }
.bandeau-dossier .gestion { margin-top: 0; flex: 1 1 100%; }
.bandeau-dossier .liens { display: flex; gap: 16px; flex-wrap: wrap; }
.etiquette-dossier { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: #EEF1F8; color: var(--nuit); margin-left: 6px; vertical-align: 2px; }
.etiquette-dossier .i { width: 13px; height: 13px; }
.gestion select { flex: 1 1 200px; margin: 0; }

/* Vidéo terminée : des onglets pour la regarder, la modifier (textes, musique, voix off, signature) ou la traduire.
   L'onglet ouvert est orange, ceux qu'on a modifiés portent une pastille, le total reste visible en bas. */
.onglets { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; padding-bottom: 16px; border-bottom: 1px solid var(--trait); }
.onglet { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 15px; border: 2px solid var(--trait); border-radius: 999px; background: #fff; color: var(--encre); font: 700 .95rem var(--texte); cursor: pointer; }
.onglet:hover { border-color: var(--orange); }
.onglet[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.onglet .pastille { font-size: .72rem; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: #E3F4E8; color: #1E6B37; }
.onglet[aria-selected="true"] .pastille { background: #fff; color: var(--orange-fonce); }
@media (max-width: 640px) { .onglet { flex: 1 1 calc(50% - 8px); justify-content: center; } }
#og-textes > form.carte { border: 0; padding: 0; border-radius: 0; }
#og-textes h2, #og-modif .op h2 { font-size: 1.3rem; }
#og-attente { margin-bottom: 14px; }
.barre-total { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 24px -22px -22px; padding: 14px 22px; background: #FFF8F4; border-top: 2px solid var(--orange); border-radius: 0 0 14px 14px; }
.barre-total .resume { flex: 1 1 300px; }
.barre-total .resume p { margin: 0; }
.barre-total #og-lignes { font-weight: 700; }
.barre-total .boutons { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.barre-total .erreur { flex: 1 1 100%; margin: 0; }
.barre-total .erreur:empty, #e-modif:empty { display: none; }

/* Les versions d'une vidéo (originale, autres langues, versions modifiées) : une ligne chacune, avec ce qui change */
.v-titre { margin-top: 12px; font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--gris); }
.versions-liste { margin-top: 6px; border: 1px solid var(--trait); border-radius: 10px; overflow: hidden; }
.versions-liste .version { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 12px; align-items: center; padding: 9px 12px; background: #FAFBFD; }
.versions-liste .version + .version { border-top: 1px solid var(--trait); }
.versions-liste .version.ici { background: #FFF3EE; }
.versions-liste .etat { margin-left: 0; }
.v-nom { font-weight: 700; font-size: .93rem; }
.v-carac { color: var(--gris); font-size: .86rem; }
.v-ici { font-size: .85rem; font-weight: 700; color: var(--orange-fonce); }
.bouton.petit { min-height: 36px; padding: 0 12px; font-size: .9rem; gap: 6px; }
.versions-liste .v-actions { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.icone-bouton.petit { width: 36px; height: 36px; border-radius: 9px; }
.code-version { display: inline-block; font: 600 .78rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em;
  padding: 1px 8px; border-radius: 6px; background: #EEF1F8; color: var(--nuit); margin-left: 8px; vertical-align: 1px; cursor: help; }
.v-version { margin: 2px 0 0; overflow-wrap: anywhere; }
.versions-liste .version-gestion { padding: 0 12px 10px; background: #FAFBFD; }
.versions-liste .version-gestion .gestion { margin-top: 0; }
@media (max-width: 640px) { .versions-liste .version { grid-template-columns: minmax(0, 1fr) auto; } .versions-liste .version > :first-child { grid-column: 1 / -1; } }
.v-de { font-weight: 400; color: var(--gris); font-size: .86rem; }
/* Dans « Mes vidéos » : la liste des versions passe sous la ligne de la vidéo, sur toute la largeur du texte */
.video .versions-ligne { grid-column: 2 / -1; margin-top: -6px; }
.video .versions-ligne .v-titre { margin-top: 0; }
@media (max-width: 640px) { .video .versions-ligne { grid-column: 1 / -1; margin-top: 0; } }
/* Dans « Mes vidéos », les versions sont repliées : un clic sur leur titre les ouvre ou les ferme */
.replier { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; width: 100%; margin: 0; padding: 6px 0; border: 0; background: none;
  font-family: inherit; text-align: left; cursor: pointer; }
.replier:hover { color: var(--encre); }
.replier:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
.replier > svg.i { width: 16px; height: 16px; transition: transform .15s; }
.replier[aria-expanded="true"] > svg.i { transform: rotate(90deg); }
.replier .v-codes { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-left: 4px; }
.replier .code-version { margin-left: 0; cursor: pointer; text-transform: none; }
.replier + .versions-liste { margin-top: 2px; }
/* Sur téléphone, la barre du total ne reste pas collée en bas : elle cacherait trop d'écran */
@media (max-width: 640px) { .barre-total { position: static; } }
/* Onglet Voix off : rappel de la langue parlée, et lien vers l'onglet Autre langue */
.voix-langue { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--brume); font-size: .95rem; }
.voix-langue .i { color: var(--orange-fonce); }

/* Récapitulatif d'une modification : chaque élément, aujourd'hui et dans la nouvelle version */
table.recap-modif th { text-align: left; font-size: .8rem; color: var(--gris); padding: 8px 10px 8px 0; border-bottom: 1px solid var(--trait); }
table.recap-modif th.prix { text-align: right; }
table.recap-modif td { padding: 11px 10px 11px 0; text-align: left; vertical-align: top; }
table.recap-modif td:nth-child(2) { text-align: left; padding: 11px 10px 11px 0; color: var(--gris); }
table.recap-modif td .lien { font-weight: 700; white-space: nowrap; }
table.recap-modif tr.change td:nth-child(3) { font-weight: 700; color: var(--encre); }
table.recap-modif tr.change { background: #FFF8F4; }
table.recap-modif tr.pareil td { color: var(--gris); }
table.recap-modif tr.pareil td:nth-child(3) { font-style: italic; }
table.recap-modif tfoot td { padding-top: 12px; }
.boutons-recap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 14px; }
.boutons-recap .bouton.large { margin-top: 0; }
#e-recap:empty { display: none; }
@media (max-width: 640px) { table.recap-modif thead { display: none; } table.recap-modif td { display: block; padding: 2px 0; } table.recap-modif tr { display: block; padding: 10px 0; border-top: 1px solid var(--trait); } }
table.recap-modif tfoot td { color: var(--encre); }
.boutons-recap .lien { display: inline-flex; align-items: center; gap: 6px; }
