/* Comète — feuille de style commune (repris des maquettes V1 du 20/11/2026). Polices hébergées sur le serveur. */
@font-face { font-family: Inter; src: url(fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Archivo; src: url(fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url(fonts/open-sans.woff2) format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(fonts/plex-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(fonts/plex-mono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Garet; src: url(fonts/garet-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --violet: #3715D4; --violet-fonce: #24108F; --lavande: #EEEBFD; --lavande-2: #F1EEFF; --violet-clair: #9C8CFF;
  --encre: #14151F; --encre-k: #12132B; --gris: #6B6F80; --gris-2: #4A4E63; --gris-k: #555A7A; --gris-k2: #3A3F5C;
  --bord: #8E93A9; --bord-k: #8D92B5; --bord-doux: #DCDEE8; --fond-doux: #F4F5F9; --fond-k: #F4F5FA; --ligne-k: #E3E6F3;
  --nuit: #11132E; --houston: #0B1036; --ambre: #FFF4DC; --ambre-texte: #4A3200; --or: #F2B544; --vert: #1E6B45;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; }
a { color: var(--violet); }
a:hover { color: var(--violet-fonce); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
/* Fonds sombres (en-têtes de Kourou et Houston) : anneau violet clair */
.entete-k :focus-visible, .entete-h :focus-visible, .houston-connexion > :focus-visible { outline-color: var(--violet-clair); outline-offset: 3px; }
/* Lien d'évitement, visible au focus */
.evitement { position: absolute; left: 12px; top: -100px; z-index: 50; padding: 10px 16px; border-radius: 8px; background: #FFFFFF; color: var(--violet); font: 700 15px "Open Sans", system-ui, sans-serif; text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.evitement:focus { top: 12px; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); }

/* ───────────── Contributeur (téléphone) */
.mobile { background: #FFFFFF; color: var(--encre); font-family: Inter, system-ui, sans-serif; }
.ecran { width: 100%; max-width: 480px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; display: flex; flex-direction: column; }
.ecran main { padding: 28px 24px 0; display: flex; flex-direction: column; gap: 22px; flex-grow: 1; }
.ecran .bas { padding: 16px 24px 20px; display: flex; flex-direction: column; gap: 14px; }
.entete-ville { flex-shrink: 0; padding: 40px 24px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.entete-ville img { width: 88px; height: 88px; object-fit: contain; }
.entete-ville.grand { padding-top: 56px; gap: 16px; }
.entete-ville.grand img { width: 128px; height: 128px; }
.entete-ville .nom { font-size: 17px; font-weight: 700; line-height: 1.2; }
.entete-ville.grand .nom { font-size: 18px; }
.entete-ville .service { font-size: 14px; color: #4F5370; }
.entete-ville .noms { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.filet-court { flex-shrink: 0; width: 40px; height: 2px; margin: 26px auto 0; border-radius: 1px; background: var(--violet); }
.barre-ville { padding: 20px 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.barre-ville .ville { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.barre-ville .ville img { width: 36px; height: 36px; object-fit: contain; }
.barre-ville .discret { font-size: 13px; font-weight: 600; color: var(--gris); }
.retour { width: 40px; height: 40px; border-radius: 20px; background: var(--fond-doux); display: flex; align-items: center; justify-content: center; color: var(--encre); }
.titre-m { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.titre-m.xl { font-size: 28px; line-height: 1.15; }
.texte-m { margin: 0; font-size: 15px; line-height: 1.5; color: var(--gris); text-wrap: balance; }
.centre { text-align: center; }
.pile { display: flex; flex-direction: column; gap: 10px; }
.pile-8 { display: flex; flex-direction: column; gap: 8px; }
.etiquette { font-size: 14px; font-weight: 600; }
.champ { width: 100%; height: 52px; border: 1px solid var(--bord); border-radius: 12px; padding: 0 16px; font: 16px Inter, system-ui, sans-serif; color: var(--encre); background: #FFFFFF; }
.champ:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet); }
.champ[aria-invalid="true"] { border-color: #B42318; box-shadow: 0 0 0 1px #B42318; }
.champ[readonly] { border-color: var(--bord-doux); background: var(--fond-doux); color: #3A3D4F; }
textarea.champ { height: auto; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.centre .champ, .champ.centre { text-align: center; }
.btn { height: 52px; width: 100%; border: 0; border-radius: 12px; background: var(--violet); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font: 600 16px Inter, system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--violet-fonce); color: #FFFFFF; }
.btn-contour { height: 48px; width: 100%; border: 1px solid #C9CDE3; border-radius: 12px; background: #FFFFFF; color: var(--encre); display: flex; align-items: center; justify-content: center; font: 600 15px Inter, system-ui, sans-serif; cursor: pointer; text-decoration: none; }
.btn-lien { height: 44px; border: 0; background: none; display: flex; align-items: center; justify-content: center; font: 600 15px Inter, system-ui, sans-serif; color: var(--violet); text-decoration: none; cursor: pointer; width: 100%; }
.note { margin: 0; text-align: center; font-size: 13px; line-height: 1.45; color: var(--gris); text-wrap: balance; }
.encadre { border-radius: 14px; background: var(--lavande-2); padding: 16px; font-size: 14px; line-height: 1.55; color: var(--violet-fonce); }
.alerte { border-radius: 12px; background: var(--ambre); padding: 12px 14px; font-size: 14px; line-height: 1.5; color: var(--ambre-texte); }
.erreur { border-radius: 12px; background: #FDECEC; padding: 12px 14px; font-size: 14px; line-height: 1.5; color: #8A1C1C; }
.carte-personne { border-radius: 14px; background: var(--fond-doux); padding: 16px; display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; flex-shrink: 0; border-radius: 21px; background: var(--violet); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.pied-m { display: flex; align-items: center; justify-content: space-between; padding-top: 6px; border-top: 1px solid #ECEDF3; font-family: var(--mono); font-size: 12px; color: var(--gris); }
.pied-m svg { color: var(--violet); }
.choix { min-height: 56px; width: 100%; border: 1px solid var(--bord); border-radius: 12px; background: #FFFFFF; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.choix input { position: absolute; opacity: 0; }
.choix .t { display: flex; flex-direction: column; gap: 2px; }
.choix .t b { font-size: 15px; font-weight: 600; color: var(--encre); }
.choix .t span { font-size: 13px; color: var(--gris); }
.choix:has(input:checked) { border-color: var(--violet); background: var(--lavande); box-shadow: inset 0 0 0 1px var(--violet); }
.choix:has(input:checked) .t span { color: var(--gris-2); }
.choix:has(input:focus-visible) { outline: 3px solid var(--violet); outline-offset: 2px; }
.case { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--gris-2); }
.case input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--violet); }
.deux-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.deux-col > * { min-width: 0; }
/* Safari iOS : les champs date et heure gardent une largeur propre et débordent de la grille */
.champ { min-width: 0; max-width: 100%; }
input.champ[type="date"], input.champ[type="time"] { -webkit-appearance: none; appearance: none; display: block; line-height: 50px; text-align: left; }
input.champ::-webkit-date-and-time-value { text-align: left; }
.progression { height: 6px; border-radius: 3px; background: #E6E8F0; }
.progression > div { height: 6px; border-radius: 3px; background: var(--violet); }
.obligatoire { font-size: 12px; font-weight: 600; color: var(--violet); background: var(--lavande); border-radius: 6px; padding: 2px 8px; }
.pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.pastille input { position: absolute; opacity: 0; }
.pastille span { height: 40px; padding: 0 14px; border: 1px solid var(--bord); border-radius: 20px; background: #FFFFFF; color: var(--encre); font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.pastille input:checked + span { border-color: var(--violet); background: var(--lavande); color: var(--violet-fonce); font-weight: 600; box-shadow: inset 0 0 0 1px var(--violet); }
.pastille input:checked + span::before { content: "✓"; font-weight: 700; }
.pastille input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.rond { width: 96px; height: 96px; border-radius: 48px; background: var(--lavande-2); display: flex; align-items: center; justify-content: center; align-self: center; }
.rond > div { width: 60px; height: 60px; border-radius: 30px; background: var(--violet); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }

/* ───────────── Kourou (ordinateur) */
.kourou { background: var(--fond-k); color: var(--encre-k); font-family: "Open Sans", system-ui, sans-serif; min-height: 100vh; }
.kourou h1, .kourou h2, .kourou h3, .houston h1, .houston h2 { font-family: Archivo, system-ui, sans-serif; }
.entete-k { background: var(--nuit); color: #ECEEFF; font-family: Archivo, system-ui, sans-serif; padding: 0 clamp(20px, 5vw, 72px); }
.entete-k > div { max-width: 1216px; margin: 0 auto; min-height: 76px; display: flex; flex-wrap: nowrap; align-items: center; gap: 28px; white-space: nowrap; }
.entete-k .marque, .entete-h .marque { display: flex; flex-direction: column; align-items: flex-start; flex-shrink: 0; color: #ECEEFF; text-decoration: none; }
.entete-k .marque span, .entete-h .marque span { margin-top: -1px; font-family: var(--mono); font-size: 9.5px; line-height: 1; letter-spacing: .16em; text-transform: uppercase; color: #B4B8DD; }
.entete-k nav { display: flex; flex-wrap: wrap; gap: 18px 24px; flex-grow: 1; align-items: center; min-width: 0; }
.entete-k nav a { position: relative; white-space: nowrap; font-size: 15px; font-weight: 600; color: #B4B8DD; text-decoration: none; }
.entete-k nav a[aria-current="page"] { color: #FFFFFF; }
.entete-k nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% + 9px); height: 3px; background: var(--violet-clair); }
.entete-k .droite { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.entete-k .equipe { display: flex; align-items: center; gap: 10px; color: #B4B8DD; font-size: 15px; font-weight: 600; text-decoration: none; }
.entete-k .equipe i { width: 34px; height: 34px; border-radius: 17px; background: #5B3FF0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; font-style: normal; color: #FFFFFF; }
.sortir { width: 38px; height: 38px; border: 0; border-radius: 19px; background: transparent; color: #B4B8DD; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.sortir:hover { background: rgba(255,255,255,.08); color: #FFFFFF; }
.entete-k .premium { height: 38px; padding: 0 16px; border: 1.5px solid var(--violet-clair); border-radius: 19px; color: #C4BAFF; display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; text-decoration: none; }
.page-k { max-width: 1360px; margin: 0 auto; padding: 48px clamp(20px, 5vw, 72px) 96px; display: flex; flex-direction: column; gap: 28px; }
.surtitre { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gris-k); }
.titre-k { margin: 0; font-size: 44px; line-height: 1.08; font-weight: 800; letter-spacing: -0.015em; }
.carte-k { background: #FFFFFF; border-radius: 16px; padding: 28px 30px; }
.liste-infos { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.liste-infos li { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--ligne-k); }
.liste-infos a.titre { font-family: Archivo, system-ui, sans-serif; font-size: 18px; font-weight: 700; color: var(--encre-k); text-decoration: none; }
.liste-infos .meta { font-size: 14px; color: var(--gris-k); }
.vide { padding: 28px; border-radius: 12px; background: var(--fond-k); color: var(--gris-k2); font-size: 15px; line-height: 1.55; }
.btn-k { height: 52px; padding: 0 24px; border: 0; border-radius: 12px; background: var(--violet); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; font: 700 16px Archivo, system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.btn-k:hover { background: var(--violet-fonce); color: #FFFFFF; }
.btn-k.or { background: var(--or); color: #1A1300; }
.btn-k.contour { background: #FFFFFF; color: var(--encre-k); border: 1.5px solid #C9CDE3; }
.champ-k { width: 100%; height: 52px; border: 1.5px solid var(--bord-k); border-radius: 10px; padding: 0 14px; background: #FFFFFF; color: var(--encre-k); font: 16px "Open Sans", system-ui, sans-serif; }
.champ-k:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet); }
.champ-k[aria-invalid="true"] { border-color: #B42318; }
.etiquette-k { font-size: 14px; font-weight: 600; color: var(--gris-k2); }
.connexion-k { min-height: 100vh; }
.connexion-k header { padding: 0 clamp(20px, 5vw, 72px); background: #FFFFFF; border-bottom: 1px solid var(--ligne-k); }
.connexion-k header > div { max-width: 1216px; margin: 0 auto; min-height: 76px; display: flex; align-items: center; gap: 14px; }
.connexion-k header svg { color: var(--violet); }
.connexion-k main { max-width: 1360px; margin: 0 auto; padding: 72px clamp(20px, 5vw, 72px) 96px; display: flex; justify-content: center; }
.boite-k { width: 560px; max-width: 100%; background: #FFFFFF; border-radius: 18px; padding: 44px 48px; box-shadow: 0 1px 2px rgba(18,19,43,.06), 0 16px 40px rgba(18,19,43,.08); display: flex; flex-direction: column; gap: 22px; }
.boite-k h1 { margin: 0; font-size: 32px; line-height: 1.12; font-weight: 800; letter-spacing: -0.015em; }
.boite-k p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--gris-k2); }
.boite-k .info { padding: 14px 16px; border-radius: 10px; background: var(--fond-k); font-size: 14px; line-height: 1.55; color: var(--gris-k2); }
.test { margin-top: 6px; padding: 18px; border: 1.5px dashed #C9CDE3; border-radius: 12px; display: flex; flex-direction: column; gap: 12px; }
.test summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--gris-k2); }
.mobile .test summary { color: var(--gris-2); }

/* ───────────── Houston */
.houston { background: var(--fond-k); color: var(--encre-k); font-family: "Open Sans", system-ui, sans-serif; min-height: 100vh; }
.houston-connexion { min-height: 100vh; background: radial-gradient(1000px 600px at 70% 0%, #1B1F6B 0%, var(--houston) 60%); display: flex; align-items: center; justify-content: center; padding: 48px 20px; }
.houston-connexion section { width: 460px; max-width: 100%; background: #FFFFFF; border-radius: 18px; padding: 44px 44px 40px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.houston-connexion h1 { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
.houston-connexion p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--gris-k); }
.entete-h { background: var(--houston); color: #ECEEFF; padding: 0 clamp(20px, 5vw, 72px); font-family: Archivo, system-ui, sans-serif; }
.entete-h > div { max-width: 1216px; margin: 0 auto; min-height: 72px; display: flex; align-items: center; gap: 28px; }
.entete-h nav { display: flex; flex-wrap: wrap; gap: 18px 24px; flex-grow: 1; min-width: 0; }
.entete-h nav a { color: #B4B8DD; font-size: 15px; font-weight: 600; text-decoration: none; }
.entete-h nav a { position: relative; white-space: nowrap; }
.entete-h nav a[aria-current="page"] { color: #FFFFFF; }
.entete-h nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% + 9px); height: 3px; background: var(--violet-clair); }
.tableau { width: 100%; border-collapse: collapse; font-size: 15px; }
.tableau th { text-align: left; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gris-k); padding: 0 12px 12px 0; border-bottom: 1px solid var(--ligne-k); }
.tableau td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--ligne-k); vertical-align: top; }
.etat { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 13px; font-weight: 600; background: var(--fond-k); }
.etat.vert { background: #E3F4EA; color: var(--vert); }
.etat.ambre { background: var(--ambre); color: var(--ambre-texte); }
select.etat { border: 0; padding: 5px 28px 5px 12px; font: 600 13px "Open Sans", system-ui, sans-serif; color: inherit; cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
select.etat:not(.vert):not(.ambre) { background-color: #FDECEC; color: #8A1C1C; }
select.etat.vert { background-color: #E3F4EA; }
select.etat.ambre { background-color: var(--ambre); }

/* ───────────── Pages simples (erreurs) */
.simple { background: var(--fond-k); color: var(--encre-k); font-family: Inter, system-ui, sans-serif; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
.simple section { max-width: 520px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.simple h1 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.simple p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--gris); }
.simple svg { color: var(--violet); }

@media (max-width: 720px) {
  .entete-k > div, .entete-h > div { flex-wrap: wrap; gap: 14px 16px; padding: 14px 0 18px; }
  .entete-k nav, .entete-h nav { order: 3; flex-basis: 100%; gap: 18px 20px; }
  .entete-k .droite { margin-left: auto; }
  .entete-h > div > form { margin-left: auto; }
  .boite-k { padding: 32px 24px; }
  .titre-k { font-size: 34px; }
}

/* ───────────── Envoi d'une info (étapes et fichiers) */
.etape { display: flex; flex-direction: column; flex-grow: 1; }
.etape > .corps-etape { padding: 28px 24px 0; display: flex; flex-direction: column; gap: 22px; flex-grow: 1; }
/* Un seul main autour du formulaire ; sur téléphone, il garde la colonne de l'écran */
.ecran main.info-grille { padding: 0; gap: 0; }
@media (max-width: 899.98px) { .seul-bureau { display: none !important; } }
@media (min-width: 900px) { .seul-mobile { display: none !important; } .depots #photo { display: none; } }
.section-num { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 21px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.section-num span { width: 30px; height: 30px; flex-shrink: 0; border-radius: 15px; background: var(--violet); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.js .etape:not(.active) { display: none; }
html:not(.js) .js-seulement { display: none !important; }
html:not(.js) .etape + .etape { border-top: 8px solid var(--fond-doux); }
.depot { height: 96px; border-radius: 14px; background: var(--lavande-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--violet-fonce); text-align: center; }
.depot svg { color: var(--violet); }
.depot:has(+ input:focus-visible) { outline: 3px solid var(--violet); outline-offset: 2px; }
.depot.survol { outline: 2px dashed var(--violet); outline-offset: -6px; background: #E4DEFD; }
.depot u { text-underline-offset: 3px; }
.vignettes { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.vignettes:empty { display: none; }
.vignettes li { position: relative; width: 88px; height: 66px; border-radius: 10px; background: #E6E8F0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.vignettes img { width: 100%; height: 100%; object-fit: cover; }
.vignettes .nom-fichier { padding: 0 8px; font-size: 11px; font-weight: 600; color: var(--gris-2); overflow-wrap: anywhere; text-align: center; }
.vignettes .retirer { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border: 0; border-radius: 12px; background: rgba(20,21,31,.75); color: #FFFFFF; font-size: 16px; line-height: 1; cursor: pointer; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ───────────── Contributeur sur ordinateur (repris de la maquette « Formulaire-bureau ») */
@media (min-width: 900px) {
  body.mobile { background: #F7F8FC; }
  .ecran { max-width: 760px; min-height: 0; margin: 56px auto; background: #FFFFFF; border-radius: 20px; padding: 20px 32px 12px; box-shadow: 0 1px 2px rgba(18,19,43,.06), 0 16px 40px rgba(18,19,43,.08); }
  .ecran .titre-m { font-size: 32px; }
  .ecran .titre-m.xl { font-size: 32px; }
  .js .etape:not(.active) { display: flex; }
  .etape .progression, .etape .discret { display: none; }
  .etape[data-etape="2"] .barre-ville, .etape[data-etape="3"] .barre-ville { display: none; }
  .etape[data-etape="1"] .bas, .etape[data-etape="2"] .bas { display: none; }
  .etape + .etape { margin-top: 36px; padding-top: 8px; border-top: 1px solid #ECEDF3; }
  .depot { height: 120px; }
}

/* Envoi d'une info : en-tête et colonne de droite sur ordinateur (maquette « Formulaire-bureau ») */
.entete-bureau, .aside-info { display: none; }
.ecran main.info-grille, .form-info { display: flex; flex-direction: column; flex-grow: 1; }
@media (min-width: 900px) {
  .ecran.ecran-info { max-width: none; margin: 0; padding: 0; background: transparent; box-shadow: none; border-radius: 0; }
  .entete-bureau { display: block; background: #FFFFFF; border-bottom: 1px solid #E6E8F0; padding: 0 clamp(20px, 5vw, 72px); }
  .entete-bureau > div { max-width: 1200px; margin: 0 auto; min-height: 132px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
  .qui-ville, .qui-moi { display: flex; align-items: center; gap: 20px; }
  .qui-moi { gap: 12px; }
  .qui-ville img { width: 96px; height: 96px; object-fit: contain; }
  .qui-ville > div, .qui-moi > div { display: flex; flex-direction: column; gap: 2px; }
  .qui-ville .nom { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
  .qui-ville .sous { font-size: 15px; color: var(--gris-2); }
  .nom-moi { font-size: 14px; font-weight: 600; }
  .lien-sortir { border: 0; background: none; padding: 0; font: 600 13px Inter, system-ui, sans-serif; color: var(--violet); cursor: pointer; text-align: left; }
  .ecran main.info-grille { flex-direction: row; flex-wrap: wrap; gap: 40px; align-items: flex-start; width: 100%; max-width: 1344px; margin: 0 auto; padding: 56px clamp(20px, 5vw, 72px) 80px; }
  .depots { grid-template-columns: 1fr; }
  .depot { padding: 0 24px; font-weight: 500; }
  .form-info { flex: 999 1 620px; flex-grow: 999; min-width: 0; background: #FFFFFF; border-radius: 20px; padding: 24px 32px 32px; }
  .ecran-info .etape .barre-ville { display: none; }
  .aside-info { display: flex; flex: 1 1 300px; min-width: 0; flex-direction: column; gap: 20px; }
  .carte-appel { border-radius: 20px; background: var(--violet); color: #FFFFFF; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
  .carte-appel span { font-size: 13px; font-weight: 600; color: #D9D2FB; }
  .carte-appel h2 { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 700; }
  .carte-appel p { margin: 0; font-size: 14px; line-height: 1.5; color: #ECE8FD; }
  .carte-aside { border-radius: 20px; background: #FFFFFF; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
  .carte-aside h2 { margin: 0; font-size: 17px; font-weight: 700; }
  .aides { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.45; color: #3A3D4F; }
  .aides li { display: flex; gap: 10px; }
  .aides svg { flex-shrink: 0; margin-top: 2px; }
  .mes-infos { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
  .mes-infos li { padding: 10px 0; border-bottom: 1px solid #ECEDF3; display: flex; flex-direction: column; gap: 2px; }
  .mes-infos li:last-child { border-bottom: 0; }
  .mes-infos li span:first-child { font-size: 14px; font-weight: 600; }
  .mes-infos li span:last-child { font-size: 13px; color: var(--gris); }
  .propose-par { display: flex; align-items: center; gap: 6px; padding: 0 4px; font-size: 12px; color: var(--gris); }
  .bas-mobile { display: none !important; }
}

/* Conférence de rédaction */
.odj { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ligne-k); }
.odj li { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--ligne-k); }
.odj .num { font-family: var(--mono); font-size: 15px; font-weight: 500; color: var(--violet); padding-top: 3px; }
.supports { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.supports form { display: contents; }
.supports button { height: 34px; padding: 0 12px; border-radius: 17px; border: 1.5px solid #C9CDE3; background: #FFFFFF; color: var(--gris-k2); font: 600 13px Archivo, system-ui, sans-serif; cursor: pointer; }
.supports button[aria-pressed="true"] { border-color: var(--violet); background: #ECE8FD; color: var(--violet-fonce); }
.supports button.reporter[aria-pressed="true"] { border-color: #B07A00; background: var(--ambre); color: #8A5A00; }
@media print {
  .entete-k, .sans-impression { display: none !important; }
  .kourou { background: #FFFFFF; }
  .page-k { padding: 0; }
  .carte-k { padding: 0 !important; }
  .supports button[aria-pressed="false"] { display: none; }
  .supports button { border: 0; background: none; padding: 0 6px; }
}

.choix-cat { border: 1.5px solid #C9CDE3; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.choix-cat:has(input:checked) { border-color: var(--violet); background: #F7F5FF; }
/* Pages légales */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; font-family: "Open Sans", system-ui, sans-serif; color: var(--encre-k); line-height: 1.65; font-size: 16px; }
.legal h1 { font-family: Archivo, system-ui, sans-serif; font-size: 38px; line-height: 1.1; letter-spacing: -0.015em; margin: 8px 0 24px; }
.legal h2 { font-family: Archivo, system-ui, sans-serif; font-size: 22px; margin: 36px 0 10px; }
.legal ul { padding-left: 22px; }
.legal .brouillon { display: inline-block; margin: 0; padding: 6px 12px; border-radius: 8px; background: var(--ambre); color: var(--ambre-texte); font-size: 13px; font-weight: 600; }
/* Barre violette du menu qui glisse (assets/menu.js) */
.entete-k > div, .entete-h > div { position: relative; }
.barre-menu { position: absolute; left: 0; top: 0; height: 3px; width: 0; border-radius: 2px; background: var(--violet-clair); opacity: 0; pointer-events: none;
  transition: transform .38s cubic-bezier(.22, .8, .3, 1), width .38s cubic-bezier(.22, .8, .3, 1), opacity .2s ease; }
.barre-menu-active .entete-k nav a[aria-current="page"]::after,
.barre-menu-active .entete-h nav a[aria-current="page"]::after { display: none; }
.entete-k .equipe[aria-current="page"] { color: #FFFFFF; }
@media (prefers-reduced-motion: reduce) { .barre-menu { transition: none; } }
/* Lecture seule depuis Houston : aucun bouton d'action (le serveur refuse de toute façon) */
.lecture main form[method="post"], .lecture main form[method="POST"] { display: none !important; }
@media print { footer { display: none !important; } }
/* Tableaux qui défilent : les textes masqués (position absolue) restent dans la zone de défilement au lieu d'élargir la page */
[style*="overflow-x:auto"], [style*="overflow-x: auto"] { position: relative; }
/* Pied bleu : anneau de focus blanc */
footer :focus-visible { outline-color: #FFFFFF; }

/* ───────────── V2 de la conférence de rédaction (21/11/2026) */
/* Bouton « Appel à infos », dernier du menu */
.entete-k nav a.appel-k { height: 40px; padding: 0 18px 0 14px; border: 2px solid #5B3FF0; border-radius: 10px; background: #5B3FF0; color: #FFFFFF; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-left: 4px; }
.entete-k nav a.appel-k:hover { background: #4A30D8; border-color: #4A30D8; color: #FFFFFF; }
.entete-k nav a.appel-k[aria-current="page"] { border-color: #FFFFFF; }
.entete-k nav a.appel-k::after { display: none !important; }
/* Pastilles à choix unique (boutons radio), sans JavaScript */
.choix-k { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; }
.choix-k label { position: relative; }
.choix-k input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix-k span { min-height: 46px; padding: 8px 18px; border-radius: 23px; border: 1.5px solid #4A4F8A; background: #1F2352; color: #ECEEFF; display: inline-flex; align-items: center; gap: 8px; font: 700 16px Archivo, system-ui, sans-serif; cursor: pointer; }
.choix-k input:checked + span { background: #9C8CFF; border-color: #9C8CFF; color: #0E1030; }
.choix-k input:checked + span::before { content: ""; width: 12px; height: 6px; border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(-45deg) translate(1px, -2px); }
.choix-k input:focus-visible + span { outline: 3px solid #C4BAFF; outline-offset: 3px; }
.choix-k.clair span { min-height: 40px; padding: 0 14px; border-color: #C9CDE3; background: #FFFFFF; color: var(--gris-k2); font-size: 14px; }
.choix-k.clair input:checked + span { background: var(--violet); border-color: var(--violet); color: #FFFFFF; }
.choix-k.clair input:focus-visible + span { outline-color: var(--violet); }
/* Conférence en direct : plein écran sombre, à projeter */
.direct { background: #0E1030; color: #ECEEFF; font-family: "Open Sans", system-ui, sans-serif; min-height: 100vh; }
.direct :focus-visible { outline-color: #C4BAFF; outline-offset: 3px; }
.direct h1, .direct h2 { font-family: Archivo, system-ui, sans-serif; }
.direct a { color: #C4BAFF; }
.champ-d { width: 100%; height: 48px; border: 1.5px solid #4A4F8A; border-radius: 10px; padding: 0 14px; background: #0E1030; color: #FFFFFF; font: 17px "Open Sans", system-ui, sans-serif; color-scheme: dark; }
textarea.champ-d { height: auto; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.champ-d:focus { outline: none; border-color: #9C8CFF; box-shadow: 0 0 0 1px #9C8CFF; }
.carte-d { background: #171A42; border-radius: 18px; padding: 26px 30px; }
.ligne-d { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 24px; padding: 18px 0; border-top: 1px solid #2E3266; }
.ligne-d > .lib { flex: 0 0 200px; padding-top: 10px; font: 700 18px Archivo, system-ui, sans-serif; color: #FFFFFF; }
.ligne-d > .val { flex: 1 1 440px; min-width: 0; }
.etiq-d { display: flex; align-items: baseline; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #C4BAFF; }
.etiq-d i { font-style: normal; color: #8D92B5; }
.aide-d { font-size: 14px; line-height: 1.5; color: #B4B8DD; }
.btn-d { min-height: 50px; padding: 0 20px; border-radius: 10px; border: 1.5px solid #4A4F8A; background: transparent; color: #ECEEFF; display: inline-flex; align-items: center; gap: 8px; font: 700 15px Archivo, system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.btn-d:hover { border-color: #9C8CFF; color: #FFFFFF; }
.btn-d.plein { border: 0; background: #5B3FF0; color: #FFFFFF; }
.btn-d.plein:hover { background: #4A30D8; }
.btn-d.grand { min-height: 56px; padding: 0 26px; font-size: 17px; font-weight: 800; }
.btn-d.ambre { border-color: #F2B544; color: #F7CF7E; }
.btn-d.lavande { border: 0; background: #9C8CFF; color: #0E1030; }
.btn-d.discret { border-color: transparent; color: #B4B8DD; }
.rail-d { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.rail-d button { width: 100%; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #2E3266; background: transparent; color: #ECEEFF; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font: inherit; }
.rail-d button:hover { border-color: #4A4F8A; }
.rail-d button[aria-current="step"] { border-color: #9C8CFF; background: #262A5C; }
.rail-d .num { font: 14px var(--mono); color: #B4B8DD; padding-top: 1px; }
.rail-d .etat { display: inline; padding: 0; border-radius: 0; background: none; font: 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
/* Rétroplanning du numéro : en tête de la colonne du direct, en ambre, distinct des sujets */
.retro-d { width: 100%; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1.5px solid #F2B544; background: #2E2614; color: #FFF4DC; display: flex; align-items: center; gap: 14px; cursor: pointer; font: inherit; }
.retro-d:hover { background: #3A3019; }
.retro-d .ico { flex: 0 0 40px; height: 40px; border-radius: 10px; background: #F2B544; color: #2E2614; display: inline-flex; align-items: center; justify-content: center; }
.retro-d .sous { font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #F7CF7E; }
.retro-d[aria-current="step"] { background: #F2B544; color: #1E1808; }
.retro-d[aria-current="step"] .ico { background: #1E1808; color: #F2B544; }
.retro-d[aria-current="step"] .sous { color: #3A2A0A; }
.contact-d { display: inline-flex; align-items: center; gap: 10px; padding: 10px 6px 10px 16px; border-radius: 14px; background: #262A5C; }
.contact-d button { width: 36px; height: 36px; border: 0; border-radius: 18px; background: transparent; color: #B4B8DD; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
/* Chemin de fer : pages et doubles pages collées, jusqu'à six éléments par page */
.cdf { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 22px 16px; }
.cdf > li.double { display: flex; box-shadow: 0 1px 3px rgba(18,19,43,.08); border-radius: 5px; }
.cdf > li.panneau { flex: 1 1 100%; }
.cdf .pg { width: 136px; height: 192px; padding: 7px; border: 1.5px solid #C9CDE3; background: #FFFFFF; display: flex; flex-direction: column; gap: 6px; border-radius: 5px; }
.cdf .double .pg:first-child:not(:last-child) { border-radius: 5px 0 0 5px; }
.cdf .double .pg + .pg { border-radius: 0 5px 5px 0; border-left: 1px solid #DDE0EE; }
.cdf .pg.speciale { background: var(--fond-k); }
.pg .tete { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; min-width: 0; }
.pg .tete b { font: 500 12px var(--mono); }
.pg .tete span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 9.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gris-k); }
.pg .corps { flex: 1 1 auto; min-height: 0; display: grid; grid-auto-rows: minmax(0, 1fr); gap: 3px; }
.pg .el { min-height: 0; overflow: hidden; border-radius: 3px; padding: 3px 5px; border: 1px solid var(--violet); background: #ECE8FD; color: var(--violet-fonce); font: 700 10.5px/1.22 Archivo, system-ui, sans-serif; display: -webkit-box; -webkit-box-orient: vertical; }
.pg .el.libre { border-style: dashed; border-color: var(--bord-k); background: #FFFFFF; color: var(--gris-k); }
.pg a.spe, .pg a.def { flex: 1 1 auto; min-height: 0; border-radius: 3px; text-decoration: none; display: flex; flex-direction: column; overflow: hidden; }
.pg a.spe { border: 1px solid #C9CDE3; background: #E6E9F4; padding: 7px; gap: 4px; color: var(--encre-k); }
.pg a.spe b { font: 800 12px Archivo, system-ui, sans-serif; }
.pg a.spe span { font-size: 10.5px; line-height: 1.3; color: var(--gris-k2); }
.pg a.def { border: 1.5px dashed var(--bord-k); background: #FFFFFF; color: var(--violet); align-items: center; justify-content: center; gap: 6px; font: 700 11px Archivo, system-ui, sans-serif; }
.pg a.def:hover, .pg a.spe:hover { border-color: var(--violet); }
@media print { .cdf .pg a.def svg { display: none; } .cdf > li.panneau { display: none; } }
/* Fenêtre (page spéciale du chemin de fer…) : modale avec JavaScript, posée au centre sans */
.dlg-k { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; padding: 0; border: 0; border-radius: 18px; background: #FFFFFF; color: var(--encre-k); box-shadow: 0 24px 60px rgba(18,19,43,.28); }
.dlg-k::backdrop { background: rgba(18,19,43,.55); }
.dlg-k[open]:not(:modal) { position: fixed; inset: 0; margin: auto; z-index: 50; height: fit-content; }
@media print { .dlg-k { display: none; } }
/* « Qui rédige » : le champ du nom n'apparaît que si « Autre » est coché (toujours visible sans :has) */
@supports selector(:has(*)) { .redaction-autre { display: none !important; } .val:has(input[value="Autre"]:checked) .redaction-autre { display: flex !important; } }
/* Conférence : choix de la page, par planches (doubles pages collées) ; grisées : pages spéciales ; point : déjà un article */
.pages-d { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.pages-d .planche { display: inline-flex; gap: 2px; }
.pages-d label { position: relative; }
.pages-d input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pages-d label > span { box-sizing: border-box; min-width: 44px; height: 46px; padding: 0 6px; border: 1.5px solid #4A4F8A; background: #1F2352; color: #ECEEFF; display: inline-flex; align-items: center; justify-content: center; font: 500 17px var(--mono); cursor: pointer; }
.pages-d .planche label:first-child > span { border-radius: 10px 0 0 10px; }
.pages-d .planche label:last-child > span { border-radius: 0 10px 10px 0; }
.pages-d .planche label:only-child > span { border-radius: 10px; }
.pages-d label.def > span { padding: 0 18px; border-radius: 23px; font: 700 16px Archivo, system-ui, sans-serif; }
.pages-d label:hover > span { border-color: #9C8CFF; }
.pages-d label.pris > span::after { content: ""; position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: #F2B544; }
.pages-d label.spe > span { border-style: dashed; border-color: #3A3F75; background: transparent; color: #6E7399; cursor: not-allowed; }
.pages-d input:checked + span { background: #9C8CFF; border-color: #9C8CFF; color: #0E1030; }
.pages-d input:focus-visible + span { outline: 3px solid #C4BAFF; outline-offset: 3px; }
/* Double page : on coche la planche entière ; la 1 et la dernière page seule ne peuvent pas en recevoir */
.pages-d[data-mode="double"] .planche:has(label + label):hover label:not(.spe) > span { border-color: #9C8CFF; }
.pages-d[data-mode="double"] .planche label:only-child > span { opacity: .4; cursor: not-allowed; }
/* Les trois modes d'une conférence : Préparation · Conférence · Chemin de fer */
.modes-k { display: inline-flex; flex-wrap: wrap; padding: 4px; border-radius: 12px; background: #E3E6F3; gap: 4px; }
.modes-k a, .modes-k button, .modes-k span { min-height: 42px; padding: 0 18px; border: 0; border-radius: 9px; background: transparent; color: var(--gris-k2); font: 700 15px Archivo, system-ui, sans-serif; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer; }
.modes-k a:hover, .modes-k button:hover { background: #FFFFFF; color: var(--encre-k); }
.modes-k [aria-current="page"] { background: var(--violet); color: #FFFFFF; cursor: default; }
.modes-k .point { width: 8px; height: 8px; border-radius: 4px; background: #FF5A65; }
.modes-k.sombre { background: #1F2352; }
.modes-k.sombre a, .modes-k.sombre button { color: #DADDF5; }
.modes-k.sombre a:hover, .modes-k.sombre button:hover { background: #2E3266; color: #FFFFFF; }
.modes-k.sombre [aria-current="page"] { background: #9C8CFF; color: #0E1030; }
@media print { .modes-k { display: none; } }
/* Le sélecteur des modes, fixé en bas au centre : au même endroit dans les trois modes */
.modes-k.dock { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 40; max-width: calc(100vw - 24px); padding: 6px; gap: 6px; border-radius: 16px; background: #11132E; box-shadow: 0 10px 30px rgba(10, 12, 40, .35), 0 0 0 1px rgba(156, 140, 255, .25); flex-wrap: nowrap; }
.modes-k.dock a, .modes-k.dock button, .modes-k.dock span { min-height: 46px; padding: 0 20px; color: #DADDF5; white-space: nowrap; }
.modes-k.dock a:hover, .modes-k.dock button:hover { background: #2E3266; color: #FFFFFF; }
.modes-k.dock [aria-current="page"] { background: #9C8CFF; color: #0E1030; }
.modes-k.dock :focus-visible { outline: 3px solid #C4BAFF; outline-offset: 2px; }
.modes-espace { height: 96px; }
@media (max-width: 480px) { .modes-k.dock a, .modes-k.dock button, .modes-k.dock span { padding: 0 12px; font-size: 14px; } }
@media print { .modes-espace { display: none; } }
/* Paniers de sujets, « Au sommaire » et « En réserve » (préparation, Mes sujets) : glisser-déposer avec paniers.js */
.liste-panier { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; min-height: 64px; }
.liste-panier[data-panier="odj"] { counter-reset: odj; }
.liste-panier.vide:has(.fantome-panier)::after { display: none; }
.liste-panier.vide::after { content: "Glissez un sujet ici"; display: flex; align-items: center; justify-content: center; min-height: 64px; border: 2px dashed #D5D8E8; border-radius: 14px; color: #555A7A; font-size: 14px; }
.carte-panier { position: relative; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 12px; padding: 16px 16px 16px 10px; border: 1.5px solid #E3E6F3; border-radius: 14px; background: #FFFFFF; }
.liste-panier[data-panier="odj"] > .carte-panier { counter-increment: odj; }
.carte-panier .num-odj { flex: 0 0 28px; padding-top: 2px; font: 500 18px var(--mono); color: #555A7A; }
.liste-panier[data-panier="odj"] .num-odj::before { content: counter(odj, decimal-leading-zero); }
.liste-panier[data-panier="reserve"] .num-odj, .liste-panier[data-panier="reserve"] .infos-carte, .liste-panier[data-panier="reserve"] .etat-carte { display: none; }
.liste-panier[data-panier="reserve"] .si-odj, .liste-panier[data-panier="odj"] .si-reserve { display: none; }
.liste-panier[data-panier="reserve"] > .carte-panier { background: #FFFCF5; border-color: #F1E2BF; }
.carte-panier .infos-carte { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.carte-panier .actions-carte { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-left: auto; }
.poignee { flex: 0 0 auto; width: 28px; height: 40px; margin: -4px 0 0; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #8D92B5; display: inline-flex; align-items: center; justify-content: center; cursor: grab; touch-action: none; }
.poignee[hidden] { display: none; }
.poignee:hover { background: #F0F1F8; color: var(--violet); }
.poignee:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.carte-panier.porte { border-color: var(--violet); box-shadow: 0 0 0 3px #CFC6FB; }
.carte-panier.porte .poignee { background: var(--violet); color: #FFFFFF; }
.carte-panier.en-vol { position: fixed; z-index: 60; margin: 0; pointer-events: none; border-color: var(--violet); box-shadow: 0 18px 40px rgba(18,19,43,.22); transform: rotate(1deg); }
.fantome-panier { list-style: none; border: 2px dashed #9C8CFF; border-radius: 14px; background: #F4F2FF; }
body.glisse, body.glisse * { cursor: grabbing !important; -webkit-user-select: none; user-select: none; }
.paniers.erreur-ordre .liste-panier { opacity: .6; }
/* Mes sujets : la carte ouvre la fenêtre du sujet (fenetres.js) */
.ouvrir-sujet { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 4px; color: #12132B; text-decoration: none; border-radius: 8px; }
.ouvrir-sujet:hover span:first-child { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.ouvrir-sujet:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; }
.ouvrir-sujet .angle-carte { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.dlg-k.large { width: min(760px, calc(100vw - 32px)); }
.fermer-dlg { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; color: #3A3F5C; display: inline-flex; align-items: center; justify-content: center; }
.fermer-dlg:hover { background: #F0F1F8; color: #12132B; }
@media (prefers-reduced-motion: reduce) { .carte-panier.en-vol { transform: none; } }
@media print { .poignee, .actions-carte, .fantome-panier { display: none !important; } .liste-panier.vide::after { content: none; } }
/* Mes sujets : la page d'un sujet, une fenêtre en pleine page (barre fixe, bloc éditorial, colonne de côté) */
html:has(dialog.plein[open]) { overflow: hidden; }
.dlg-k.plein, .dlg-k.plein:modal { inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border-radius: 0; box-shadow: none; background: var(--fond-k); overflow: auto; overscroll-behavior: contain; }
.dlg-k.plein[open]:not(:modal) { position: fixed; height: 100%; z-index: 70; }
.dlg-k.plein[open] { animation: monte-k .18s ease-out; }
@keyframes monte-k { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.barre-sujet { position: sticky; top: 0; z-index: 2; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--ligne-k); backdrop-filter: blur(6px); }
.barre-sujet .interieur { max-width: 1180px; margin: 0 auto; padding: 12px clamp(16px, 4vw, 40px); display: flex; align-items: center; gap: 12px 20px; }
.retour-sujet { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 10px; border-radius: 10px; color: var(--encre-k); font: 700 15px Archivo, system-ui, sans-serif; text-decoration: none; }
.retour-sujet:hover { background: var(--fond-k); color: var(--violet); }
.etat-sujet { margin-left: auto; font: 13px var(--mono); letter-spacing: .06em; color: #8A5A00; }
.corps-sujet { max-width: 1180px; margin: 0 auto; padding: 28px clamp(16px, 4vw, 40px) 64px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.col-sujet { flex: 999 1 560px; min-width: 0; }
.col-cote { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 92px; }
.bloc-redac { padding: 32px clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 28px; }
.champ-redac { display: flex; flex-direction: column; gap: 8px; }
.etiq-k { display: flex; align-items: baseline; gap: 10px; font: 13px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.etiq-k i { font-style: normal; color: #8D92B5; }
.titre-redac { width: 100%; box-sizing: border-box; border: 0; border-bottom: 2px solid #D5D8E8; padding: 4px 0 12px; background: transparent; color: var(--encre-k); font: 800 clamp(26px, 3.2vw, 36px)/1.2 Archivo, system-ui, sans-serif; letter-spacing: -.01em; }
.titre-redac:focus { outline: none; border-bottom-color: var(--violet); }
.zone-redac { width: 100%; box-sizing: border-box; border: 1.5px solid #D5D8E8; border-radius: 12px; padding: 14px 16px; background: #FBFBFE; color: var(--encre-k); font: 17px/1.55 "Open Sans", system-ui, sans-serif; resize: vertical; }
.zone-redac:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet); background: #FFFFFF; }
.aide-k { font-size: 13px; line-height: 1.5; color: #555A7A; }
.bloc-cote { padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.bloc-cote h3 { margin: 0; font: 700 15px Archivo, system-ui, sans-serif; color: var(--encre-k); }
.contact-k { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--fond-k); }
.contact-k button { flex: 0 0 auto; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #3A3F5C; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.contact-k button:hover { background: #E3E6F3; color: #B42318; }
.supprimer-sujet { align-self: flex-start; height: 36px; padding: 0 4px; border: 0; background: transparent; color: #B42318; font: 700 14px Archivo, system-ui, sans-serif; cursor: pointer; }
@media (max-width: 900px) { .col-cote { position: static; } }
@media (prefers-reduced-motion: reduce) { .dlg-k.plein[open] { animation: none; } }
.ajout-sujet { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; background: var(--violet); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(55,21,212,.28); transition: transform .12s, background .12s; }
.ajout-sujet:hover { background: var(--violet-fonce); color: #FFFFFF; transform: scale(1.06); }
.ajout-sujet:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ajout-sujet { transition: none; } .ajout-sujet:hover { transform: none; } }
.nouveau-sujet { padding: 4px 12px; border-radius: 12px; background: #ECE8FD; color: #24108F; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.bloc-cote .choix-k span { border-radius: 12px; line-height: 1.3; }
/* Contributions : le bandeau Contributeurs en tête, et « Archiver » seulement dans « À traiter » */
.bandeau-contrib { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 18px 24px; border-radius: 16px; background: #FFFFFF; border-left: 5px solid #F2B544; }
.liste-panier[data-panier="retenues"] .si-a-traiter { display: none; }
