/* ==========================================================================
   IT370 Meeting Notes — console de gestion
   Identité reprise du site expertit370.com : Fira Sans, bleu marine et bleu ciel
   du logo, boutons en pilule. Le fond sombre est réservé à l'écran de salle.
   ========================================================================== */

@font-face { font-family: "Fira Sans"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/fira-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fira Sans"; font-weight: 400; font-style: italic; font-display: swap;
  src: url("../fonts/fira-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/fira-sans-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fira Sans"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/fira-sans-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fira Sans"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/fira-sans-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fira Sans"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/fira-sans-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fira Sans"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/fira-sans-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fira Sans"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/fira-sans-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fira Sans"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/fira-sans-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --nuit: #0b0e2a;
  --encre: #101130;
  --marine: #225496;
  --marine-fonce: #1a4379;
  --ciel: #47baf0;
  --ciel-pale: #e3f4fd;
  --brume: #eff4fa;
  --papier: #ffffff;
  --ligne: #d7dfec;
  --ligne-douce: #e6ecf5;
  --texte: #1c2140;
  --texte-doux: #56607c;
  --signal: #d93a40;
  --signal-pale: #fdecec;
  --vert: #17875e;
  --vert-pale: #e4f5ee;
  --ambre: #a86400;
  --ambre-pale: #fdf3df;
  --rayon: 10px;
  --ombre-feuille: 0 1px 2px rgba(16, 17, 48, .06), 0 12px 32px -12px rgba(16, 17, 48, .18);
  --police: "Fira Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --largeur: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--police); font-size: 16px; line-height: 1.5;
  color: var(--texte); background: var(--brume);
  font-feature-settings: "ss01" 0, "kern" 1; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--marine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--marine-fonce); }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ciel); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.chiffres { font-variant-numeric: tabular-nums; }
.discret { color: var(--texte-doux); }
.petit { font-size: 14px; }
.evitement { position: absolute; left: -999px; top: 8px; background: var(--encre); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 50; }
.evitement:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icone { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icone.plein { fill: currentColor; stroke: none; }

/* --- en-tête ---------------------------------------------------------------- */
.entete {
  position: sticky; top: 0; z-index: 20; background: var(--papier);
  border-bottom: 1px solid var(--ligne); display: flex; align-items: center; gap: 28px;
  padding: 0 max(20px, calc((100vw - var(--largeur)) / 2)); height: 68px;
}
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.marque img { height: 32px; width: auto; }
.marque-produit { font-weight: 600; font-size: 15px; color: var(--encre); padding-left: 12px; border-left: 1px solid var(--ligne); line-height: 1.2; white-space: nowrap; }
.nav { display: flex; gap: 4px; align-self: stretch; }
.nav a {
  display: flex; align-items: center; gap: 8px; padding: 0 12px; font-weight: 500; font-size: 15px;
  color: var(--encre); text-decoration: none; border-bottom: 3px solid transparent; border-top: 3px solid transparent;
}
.nav a:hover { color: var(--marine); }
.nav a[aria-current="page"] { border-bottom-color: var(--ciel); color: var(--marine); font-weight: 600; }
.compteur { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--ambre-pale); color: var(--ambre); font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.recherche { margin-left: auto; position: relative; flex: 0 1 300px; }
.recherche .icone { position: absolute; left: 13px; top: 50%; translate: 0 -50%; color: var(--texte-doux); width: 18px; height: 18px; pointer-events: none; }
.recherche input {
  width: 100%; height: 40px; border-radius: 20px; border: 1px solid var(--ligne); background: var(--brume);
  padding: 0 14px 0 40px; font-size: 15px;
}
.recherche input::placeholder { color: var(--texte-doux); }
.recherche input:focus { background: #fff; border-color: var(--ciel); outline: none; box-shadow: 0 0 0 3px var(--ciel-pale); }
.compte { position: relative; flex: none; }
.compte summary { list-style: none; cursor: pointer; width: 38px; height: 38px; border-radius: 50%; background: var(--marine); color: #fff; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.compte summary::-webkit-details-marker { display: none; }
.compte-menu { position: absolute; right: 0; top: 48px; width: 250px; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); box-shadow: var(--ombre-feuille); padding: 8px; }
.compte-qui { padding: 8px 10px 10px; border-bottom: 1px solid var(--ligne-douce); margin-bottom: 6px; }
.compte-qui strong { display: block; }
.compte-menu a, .compte-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 6px; border: 0; background: none; text-decoration: none; color: var(--texte); text-align: left; cursor: pointer; font-size: 15px; }
.compte-menu a:hover, .compte-menu button:hover { background: var(--brume); }

.bandeau-demo { background: var(--encre); color: #d9e6fb; font-size: 14px; padding: 8px max(20px, calc((100vw - var(--largeur)) / 2)); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bandeau-demo strong { color: #fff; font-weight: 600; }
.bandeau-demo a { color: var(--ciel); margin-left: auto; }

.contenu { max-width: var(--largeur); margin: 0 auto; padding: 36px 20px 96px; }

/* --- titres de page ---------------------------------------------------------- */
.page-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.page-tete h1 { font-size: 32px; line-height: 1.15; font-weight: 700; color: var(--encre); letter-spacing: -0.01em; }
.page-tete .sous-titre { color: var(--texte-doux); margin-top: 6px; max-width: 62ch; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.retour { display: inline-flex; align-items: center; gap: 4px; font-size: 14.5px; text-decoration: none; margin-bottom: 14px; color: var(--texte-doux); }
.retour:hover { color: var(--marine); }
.retour .icone { width: 16px; height: 16px; }

h2.section { font-size: 19px; font-weight: 600; color: var(--encre); margin: 0 0 12px; }

/* --- boutons ------------------------------------------------------------------ */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 20px;
  border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 15px; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .12s, border-color .12s, color .12s;
}
.bouton .icone { width: 18px; height: 18px; }
.bouton.principal { background: var(--marine); color: #fff; }
.bouton.principal:hover { background: var(--marine-fonce); color: #fff; }
.bouton.secondaire { background: #fff; border-color: var(--ligne); color: var(--encre); }
.bouton.secondaire:hover { border-color: var(--marine); color: var(--marine); }
.bouton.texte { background: none; color: var(--marine); padding: 0 10px; min-height: 36px; }
.bouton.texte:hover { background: var(--ciel-pale); }
.bouton.danger { background: #fff; border-color: #f0c4c6; color: var(--signal); }
.bouton.danger:hover { background: var(--signal-pale); }
.bouton.petit { min-height: 34px; padding: 0 14px; font-size: 14px; }
.bouton.large { min-height: 50px; padding: 0 28px; font-size: 16.5px; }
.bouton[disabled] { opacity: .5; cursor: not-allowed; }

/* --- onglets -------------------------------------------------------------------- */
.onglets { display: flex; gap: 22px; border-bottom: 1px solid var(--ligne); margin-bottom: 8px; }
.onglets a { padding: 10px 0; text-decoration: none; color: var(--texte-doux); font-weight: 500; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.onglets a[aria-current="page"] { color: var(--encre); border-bottom-color: var(--ciel); font-weight: 600; }
.onglets .nombre { color: var(--texte-doux); font-weight: 400; margin-left: 4px; }

/* --- agenda : les réunions jour par jour ------------------------------------------ */
.jour { display: grid; grid-template-columns: 172px 1fr; gap: 0 12px; padding-top: 22px; }
.jour-libelle { font-size: 21px; line-height: 1.2; font-weight: 600; color: var(--encre); padding-top: 15px; position: sticky; top: 84px; align-self: start; }
.jour-libelle small { display: block; font-weight: 400; color: var(--texte-doux); font-size: 13.5px; margin-top: 3px; }
.rdvs { border-top: 1px solid var(--ligne); }
.rdv {
  display: grid; grid-template-columns: 78px minmax(0, 1fr) minmax(110px, 170px) 150px; gap: 16px; align-items: center;
  padding: 14px 12px 14px 4px; border-bottom: 1px solid var(--ligne); text-decoration: none; color: inherit; position: relative;
}
.rdv:hover { background: var(--papier); }
.rdv:hover .rdv-titre { color: var(--marine); }
.rdv-heure { font-size: 17px; font-weight: 600; color: var(--encre); font-variant-numeric: tabular-nums; }
.rdv > span { min-width: 0; }
.rdv-titre { display: flex; align-items: baseline; gap: 8px; font-weight: 600; font-size: 16.5px; color: var(--encre); }
.rdv-titre > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rdv-titre .etiquette-exemple { flex: none; margin-left: 0; }
.rdv-meta { display: block; font-size: 14px; color: var(--texte-doux); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rdv-salle { font-size: 14.5px; color: var(--texte-doux); display: flex; align-items: center; gap: 6px; min-width: 0; }
.rdv-salle span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rdv-salle .icone { width: 16px; height: 16px; }
.etiquette-exemple { font-size: 12px; font-weight: 500; color: var(--texte-doux); border: 1px solid var(--ligne); border-radius: 4px; padding: 0 6px; margin-left: 8px; vertical-align: 2px; }

/* --- piste d'avancement : planifiée → enregistrée → PV rédigé → envoyé ------------- */
.piste { display: flex; flex-direction: column; gap: 5px; }
.piste-points { display: flex; align-items: center; }
.piste-points i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ligne); background: var(--papier); flex: none; }
.piste-points i + i { margin-left: 30px; position: relative; }
.piste-points i + i::before { content: ""; position: absolute; right: 100%; top: 50%; width: 30px; height: 2px; margin-right: 2px; translate: 0 -50%; background: var(--ligne); }
.piste-points i.fait { border-color: var(--marine); background: var(--marine); }
.piste-points i.fait::before { background: var(--marine); }
.piste-libelle { font-size: 13.5px; font-weight: 500; color: var(--texte-doux); }
.piste[data-statut="envoye"] .piste-points i.fait { border-color: var(--vert); background: var(--vert); }
.piste[data-statut="envoye"] .piste-points i.fait::before { background: var(--vert); }
.piste[data-statut="envoye"] .piste-libelle { color: var(--vert); }
.piste[data-statut="brouillon"] .piste-points i.courant { border-color: var(--ambre); background: #fff; box-shadow: 0 0 0 3px var(--ambre-pale); }
.piste[data-statut="brouillon"] .piste-libelle { color: var(--ambre); font-weight: 600; }
.piste[data-statut="en_cours"] .piste-points i.courant, .piste[data-statut="erreur"] .piste-points i.courant { border-color: var(--signal); background: var(--signal); }
.piste[data-statut="en_cours"] .piste-libelle, .piste[data-statut="erreur"] .piste-libelle { color: var(--signal); font-weight: 600; }
.piste[data-statut="traitement"] .piste-points i.courant { border-color: var(--ciel); background: var(--ciel); }
.piste[data-statut="traitement"] .piste-libelle { color: var(--marine); font-weight: 600; }
.piste[data-statut="en_cours"] .piste-points i.courant, .piste[data-statut="traitement"] .piste-points i.courant { animation: battement 1.6s ease-in-out infinite; }
@keyframes battement { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 0%, transparent); opacity: 1; } 50% { opacity: .45; } }
.piste.grande .piste-points i { width: 14px; height: 14px; }
.piste.grande .piste-points i + i { margin-left: 64px; }
.piste.grande .piste-points i + i::before { width: 64px; }
.piste-etapes { display: flex; font-size: 13px; color: var(--texte-doux); }
.piste-etapes span { width: 78px; margin-left: -32px; text-align: center; }
.piste-etapes span:first-child { margin-left: -32px; }
.piste-etapes span.fait { color: var(--encre); font-weight: 500; }

/* --- encart « à valider » ------------------------------------------------------------ */
.a-valider { background: var(--papier); border: 1px solid var(--ligne); border-left: 4px solid var(--ambre); border-radius: var(--rayon); padding: 6px 18px; margin: 20px 0 6px; }
.a-valider-titre { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--encre); padding: 10px 0 6px; }
.a-valider-titre .icone { color: var(--ambre); }
.a-valider li { display: flex; align-items: center; gap: 16px; padding: 11px 0; border-top: 1px solid var(--ligne-douce); }
.a-valider li > div { min-width: 0; flex: 1; }
.a-valider li strong { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* --- états vides ----------------------------------------------------------------------- */
.vide { text-align: center; padding: 64px 20px; color: var(--texte-doux); }
.vide h2 { font-size: 21px; color: var(--encre); font-weight: 600; margin-bottom: 8px; }
.vide p { max-width: 46ch; margin: 0 auto 20px; }
.vide .cadran-mini { margin: 0 auto 22px; }
.cadran-mini { width: 86px; height: 86px; border-radius: 50%; border: 2px solid var(--ligne); display: grid; place-items: center; }
.cadran-mini::before { content: ""; width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--ciel); }

/* --- formulaires ------------------------------------------------------------------------- */
.formulaire { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 28px; max-width: 780px; }
.formulaire.plein { max-width: none; }
.champ { margin-bottom: 20px; }
.champ:last-child { margin-bottom: 0; }
.champ > label, .champ > .libelle { display: block; font-weight: 600; font-size: 15px; color: var(--encre); margin-bottom: 6px; }
.champ .aide { font-size: 14px; color: var(--texte-doux); margin-top: 6px; }
.champ .facultatif { font-weight: 400; color: var(--texte-doux); }
.saisie, .champ input[type="text"], .champ input[type="email"], .champ input[type="password"], .champ input[type="date"], .champ input[type="time"], .champ input[type="number"], .champ select, .champ textarea {
  width: 100%; min-height: 44px; padding: 9px 13px; border: 1.5px solid var(--ligne); border-radius: 8px; background: #fff; font-size: 16px;
}
.champ textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.saisie:focus, .champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--ciel); outline: none; box-shadow: 0 0 0 3px var(--ciel-pale); }
.rangee { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.actions-formulaire { display: flex; gap: 10px; align-items: center; margin-top: 26px; flex-wrap: wrap; }
.erreur-formulaire { background: var(--signal-pale); color: #9b2226; border-radius: 8px; padding: 11px 14px; margin-bottom: 20px; font-weight: 500; display: flex; gap: 10px; align-items: center; }

input[type="file"] { font-size: 14.5px; color: var(--texte-doux); max-width: 100%; }
input[type="file"]::file-selector-button { font: inherit; font-weight: 600; font-size: 14px; color: var(--encre); background: #fff; border: 1.5px solid var(--ligne); border-radius: 999px; padding: 7px 16px; margin-right: 12px; cursor: pointer; }
input[type="file"]::file-selector-button:hover { border-color: var(--marine); color: var(--marine); }

/* puces d'adresses e-mail */
.puces { display: flex; flex-wrap: wrap; gap: 6px; min-height: 44px; padding: 6px 8px; border: 1.5px solid var(--ligne); border-radius: 8px; background: #fff; cursor: text; }
.puces:focus-within { border-color: var(--ciel); box-shadow: 0 0 0 3px var(--ciel-pale); }
.puce { display: inline-flex; align-items: center; gap: 4px; background: var(--ciel-pale); color: var(--marine-fonce); border-radius: 999px; padding: 3px 4px 3px 12px; font-size: 14.5px; max-width: 100%; }
.puce span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.puce button { width: 22px; height: 22px; border-radius: 50%; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--marine); font-size: 16px; line-height: 1; }
.puce button:hover { background: rgba(34, 84, 150, .16); }
.puces input[type="text"], .champ .puces input[type="text"] { flex: 1 1 180px; width: auto; min-width: 120px; border: 0; outline: 0; box-shadow: none; padding: 5px 4px; background: none; min-height: 30px; font-size: 15.5px; }
.puces.invalide { border-color: var(--signal); }

/* --- page d'une réunion ------------------------------------------------------------------- */
.reunion-tete { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: start; margin-bottom: 28px; }
.reunion-tete h1 { font-size: 32px; line-height: 1.15; font-weight: 700; color: var(--encre); letter-spacing: -0.01em; }
.reunion-quand { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px; color: var(--texte-doux); }
.reunion-quand span { display: inline-flex; align-items: center; gap: 7px; }
.reunion-quand .icone { width: 17px; height: 17px; }
.deux-colonnes { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.rail { position: sticky; top: 92px; }
.rail-bloc { padding: 18px 0; border-top: 1px solid var(--ligne); }
.rail-bloc:first-child { border-top: 0; padding-top: 0; }
.rail-bloc h2 { font-size: 15px; font-weight: 600; color: var(--encre); margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rail-liste li { padding: 5px 0; font-size: 14.5px; overflow-wrap: anywhere; display: flex; align-items: baseline; gap: 8px; }
.rail-liste .statut-envoi { margin-left: auto; font-size: 12.5px; flex: none; }
.statut-envoi.envoye { color: var(--vert); } .statut-envoi.simule { color: var(--texte-doux); } .statut-envoi.echec { color: var(--signal); }
.rail-fiche { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14.5px; }
.rail-fiche dt { color: var(--texte-doux); }
.rail-fiche dd { overflow-wrap: anywhere; }
.lien-partage { display: flex; gap: 6px; }
.lien-partage input { flex: 1; min-width: 0; height: 38px; border: 1.5px solid var(--ligne); border-radius: 8px; padding: 0 10px; font-size: 13.5px; background: var(--brume); color: var(--texte-doux); }
.actions-secondaires { display: flex; flex-wrap: wrap; gap: 4px 2px; margin-top: 10px; }

/* panneau d'état (avant le PV) */
.etat { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 34px 32px; }
.etat h2 { font-size: 22px; font-weight: 600; color: var(--encre); margin-bottom: 6px; }
.etat > p { color: var(--texte-doux); max-width: 60ch; }
.etat-choix { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 24px; }
.etat-exemple { display: flex; align-items: center; gap: 4px 10px; flex-wrap: wrap; margin-top: 16px; font-size: 14.5px; color: var(--texte-doux); }
.choix { border: 1.5px solid var(--ligne); border-radius: var(--rayon); padding: 18px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; background: #fff; text-align: left; }
.choix h3 { font-size: 16.5px; font-weight: 600; color: var(--encre); display: flex; gap: 8px; align-items: center; }
.choix h3 .icone { color: var(--marine); }
.choix p { font-size: 14.5px; color: var(--texte-doux); flex: 1; }
.choix .bouton, .choix form { margin-top: 10px; }
.etat.alerte { border-left: 4px solid var(--signal); }
.etat.alerte h2 { display: flex; gap: 10px; align-items: center; }
.etat.alerte h2 .icone { color: var(--signal); width: 24px; height: 24px; }

/* étapes du traitement */
.etapes { margin-top: 24px; display: grid; gap: 0; max-width: 460px; }
.etapes li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 9px 0; align-items: center; color: var(--texte-doux); }
.etapes li i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ligne); display: grid; place-items: center; }
.etapes li.fait { color: var(--encre); }
.etapes li.fait i { background: var(--marine); border-color: var(--marine); }
.etapes li.fait i::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; rotate: -45deg; translate: 0 -1px; }
.etapes li.courant { color: var(--encre); font-weight: 600; }
.etapes li.courant i { border-color: var(--ciel); border-top-color: transparent; animation: tourne .9s linear infinite; }
@keyframes tourne { to { rotate: 360deg; } }

/* enregistreur de la console */
.enregistreur { margin-top: 22px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 20px; border-radius: var(--rayon); background: var(--nuit); color: #fff; }
.enregistreur .temps { font-size: 40px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; min-width: 150px; }
.enregistreur .voyant { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: #c9d6f2; margin-top: 6px; }
.enregistreur .voyant::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); animation: battement 1.2s infinite; }
.enregistreur[data-etat="pause"] .voyant::before { background: #8fa0c4; animation: none; }
.jauge { flex: 1 1 160px; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.jauge i { display: block; height: 100%; width: calc(var(--niveau, 0) * 100%); background: var(--ciel); border-radius: 5px; transition: width .08s linear; }
.enregistreur .bouton.secondaire { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.enregistreur .bouton.secondaire:hover { border-color: #fff; color: #fff; }
.enregistreur .bouton.arret { background: var(--signal); color: #fff; }
.enregistreur .bouton.texte { color: #c9d6f2; }
.enregistreur .bouton.texte:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.enregistreur-message { width: 100%; font-size: 14.5px; color: #ffd9a0; }
.refus-micro { margin-top: 14px; font-size: 14.5px; color: var(--signal); }
.reprise { margin-top: 20px; padding: 16px 18px; border-radius: var(--rayon); background: var(--ambre-pale); border: 1px solid #f1d9a6; display: grid; gap: 12px; justify-items: start; }
.reprise p { color: #6f4200; font-size: 15px; max-width: 62ch; }
.reprise p strong { color: var(--encre); }

/* --- signalements « à vérifier » ------------------------------------------------------------ */
.verifier { background: var(--ambre-pale); border: 1px solid #f1d9a6; border-radius: var(--rayon); padding: 16px 20px 8px; margin-bottom: 20px; }
.verifier h2 { font-size: 16.5px; font-weight: 600; color: #6f4200; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.verifier > p { font-size: 14.5px; color: #6f4200; margin-bottom: 6px; }
.verifier li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 11px 0; border-top: 1px solid #f1d9a6; align-items: center; }
.verifier li strong { font-weight: 600; color: var(--encre); }
.verifier li small { display: block; color: #6f4200; font-size: 14px; }
.verifier .rep { font-variant-numeric: tabular-nums; font-size: 13.5px; border: 1px solid #e3c27f; background: #fff; border-radius: 6px; padding: 1px 7px; color: #6f4200; cursor: pointer; margin-right: 8px; }
.verifier li form { display: flex; gap: 6px; }

.barre-validation { position: sticky; bottom: 16px; z-index: 10; margin-top: 24px; padding: 12px 14px 12px 22px; background: var(--papier); border: 1px solid var(--ligne); border-radius: 999px; box-shadow: 0 10px 30px -10px rgba(16, 17, 48, .35); display: flex; align-items: center; gap: 10px; }
.barre-validation p { margin-right: auto; color: var(--texte-doux); font-size: 14.5px; min-width: 0; }
.barre-validation p strong { color: var(--encre); }

/* --- la feuille : le procès-verbal --------------------------------------------------------- */
.feuille { background: var(--papier); border-radius: 4px; box-shadow: var(--ombre-feuille); padding: 52px 56px 44px; position: relative; overflow: hidden; }
.feuille::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--ciel) 0 24%, var(--marine) 24%); }
.feuille-logo { height: 46px; width: auto; margin-bottom: 18px; }
.feuille-genre { color: var(--texte-doux); font-size: 15px; }
.feuille h1 { font-size: 34px; line-height: 1.14; font-weight: 700; color: var(--encre); letter-spacing: -0.012em; margin: 4px 0 22px; text-wrap: balance; }
.fiche { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1fr); gap: 16px 24px; padding-bottom: 6px; }
.fiche dt { font-size: 13.5px; color: var(--texte-doux); }
.fiche dd { font-weight: 500; color: var(--encre); }
.feuille h2 { font-size: 18.5px; font-weight: 700; color: var(--marine); margin: 34px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--ligne); }
.feuille p { max-width: 72ch; }
.feuille .participants { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.feuille .participants li { border: 1px solid var(--ligne); border-radius: 999px; padding: 4px 14px; font-size: 15px; }
.feuille .participants small { color: var(--texte-doux); font-size: 14px; }
.feuille ol.numerote { counter-reset: n; display: grid; gap: 7px; }
.feuille ol.numerote > li { counter-increment: n; display: grid; grid-template-columns: 28px 1fr; }
.feuille ol.numerote > li::before { content: counter(n) "."; font-weight: 700; color: var(--marine); font-variant-numeric: tabular-nums; }
.feuille ul.simple { display: grid; gap: 7px; }
.feuille ul.simple li { padding-left: 18px; position: relative; }
.feuille ul.simple li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--marine); }
.point { margin-bottom: 24px; }
.point:last-child { margin-bottom: 0; }
.point h3 { font-size: 17px; font-weight: 600; color: var(--encre); margin-bottom: 5px; }
.decision { margin-top: 10px; padding: 2px 0 2px 16px; border-left: 3px solid var(--ciel); max-width: 72ch; }
.decision strong { color: var(--marine); font-weight: 700; }
.tableau-actions { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.tableau-actions th { text-align: left; font-size: 13.5px; font-weight: 600; color: var(--texte-doux); padding: 8px 12px 8px 0; border-bottom: 1px solid var(--ligne); }
.tableau-actions td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--ligne-douce); vertical-align: top; }
.tableau-actions td:nth-child(2) { font-weight: 500; white-space: nowrap; }
.tableau-actions td:nth-child(3) { color: var(--texte-doux); }
.feuille-pied { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--ligne); font-size: 14px; color: var(--texte-doux); font-style: italic; }
.filigrane { position: absolute; top: 26px; right: 30px; font-size: 13px; font-weight: 600; color: var(--ambre); background: var(--ambre-pale); border-radius: 999px; padding: 3px 12px; }

/* --- transcription ----------------------------------------------------------------------------- */
.transcription { margin-top: 34px; background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); }
.transcription > summary { cursor: pointer; padding: 18px 24px; font-weight: 600; font-size: 17px; color: var(--encre); display: flex; align-items: center; gap: 10px; list-style: none; }
.transcription > summary::-webkit-details-marker { display: none; }
.transcription > summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--texte-doux); border-bottom: 2px solid var(--texte-doux); rotate: 45deg; transition: rotate .15s; }
.transcription[open] > summary::after { rotate: -135deg; }
.transcription-corps { padding: 0 24px 24px; }
.lecteur { position: sticky; top: 68px; z-index: 5; background: var(--papier); padding: 10px 0 14px; border-bottom: 1px solid var(--ligne-douce); margin-bottom: 8px; }
.lecteur audio { width: 100%; height: 40px; }
.intervenants { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: end; padding: 14px 0 18px; border-bottom: 1px solid var(--ligne-douce); margin-bottom: 10px; }
.intervenants label { font-size: 13.5px; color: var(--texte-doux); display: grid; gap: 4px; }
.intervenants input { height: 38px; border: 1.5px solid var(--ligne); border-radius: 8px; padding: 0 10px; width: 190px; font-size: 15px; }
.replique { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ligne-douce); }
.replique:last-child { border-bottom: 0; }
.replique.active { background: var(--ciel-pale); margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 6px; }
.replique button.rep { font-variant-numeric: tabular-nums; font-size: 13.5px; height: 26px; border: 1px solid var(--ligne); background: #fff; border-radius: 6px; color: var(--marine); cursor: pointer; align-self: start; margin-top: 1px; }
.replique button.rep:hover { border-color: var(--marine); }
.replique span.rep { font-variant-numeric: tabular-nums; font-size: 13.5px; color: var(--texte-doux); padding-top: 3px; }
.replique .qui { font-weight: 600; color: var(--encre); font-size: 15px; }
.replique p { color: var(--texte); }
.note-demo { font-size: 14px; color: var(--texte-doux); background: var(--brume); border-radius: 8px; padding: 9px 13px; margin: 6px 0 10px; }

/* --- édition du PV -------------------------------------------------------------------------------- */
.bloc-edition { border-top: 1px solid var(--ligne); padding-top: 22px; margin-top: 26px; }
.bloc-edition > h2 { font-size: 18px; font-weight: 600; color: var(--encre); margin-bottom: 4px; }
.bloc-edition > .aide { font-size: 14.5px; color: var(--texte-doux); margin-bottom: 14px; }
.ligne-edition { display: grid; gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px dashed var(--ligne); }
.ligne-edition.participant { grid-template-columns: 1fr 1fr 40px; }
.ligne-edition.action { grid-template-columns: minmax(0, 2.2fr) 1fr 1fr 40px; }
.ligne-edition.point-ed { grid-template-columns: 1fr 40px; }
.ligne-edition input, .ligne-edition textarea { width: 100%; min-height: 42px; padding: 8px 12px; border: 1.5px solid var(--ligne); border-radius: 8px; font-size: 15.5px; background: #fff; }
.ligne-edition textarea { min-height: 84px; resize: vertical; line-height: 1.5; }
.ligne-edition input:focus, .ligne-edition textarea:focus { border-color: var(--ciel); outline: none; box-shadow: 0 0 0 3px var(--ciel-pale); }
.ligne-edition .pile { display: grid; gap: 8px; }
.ligne-edition .pile label { font-size: 13.5px; color: var(--texte-doux); }
.ligne-edition .pile label textarea, .ligne-edition .pile label input { color: var(--texte); margin-top: 4px; }
.retirer { width: 40px; height: 42px; border-radius: 8px; border: 1.5px solid var(--ligne); background: #fff; color: var(--texte-doux); cursor: pointer; display: grid; place-items: center; }
.retirer:hover { color: var(--signal); border-color: #f0c4c6; }
.entetes-edition { display: grid; gap: 10px; font-size: 13.5px; color: var(--texte-doux); font-weight: 500; }
.entetes-edition.action { grid-template-columns: minmax(0, 2.2fr) 1fr 1fr 40px; }
.entetes-edition.participant { grid-template-columns: 1fr 1fr 40px; }

/* --- listes simples : PV, corbeille, recherche ------------------------------------------------------ */
.liste { border-top: 1px solid var(--ligne); }
.liste > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--ligne); }
.liste a.titre { font-weight: 600; font-size: 17px; color: var(--encre); text-decoration: none; }
.liste a.titre:hover { color: var(--marine); }
.liste .meta { font-size: 14.5px; color: var(--texte-doux); }
.liste .resume { color: var(--texte); font-size: 15px; margin-top: 4px; max-width: 78ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.liste .droite { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.groupe-titre { display: flex; align-items: baseline; gap: 10px; margin: 34px 0 10px; }
.groupe-titre:first-of-type { margin-top: 0; }
.groupe-titre h2 { font-size: 19px; font-weight: 600; color: var(--encre); }
.pastille { font-size: 13px; font-weight: 600; border-radius: 999px; padding: 2px 10px; }
.pastille.ambre { background: var(--ambre-pale); color: var(--ambre); }
.pastille.vert { background: var(--vert-pale); color: var(--vert); }
.pastille.rouge { background: var(--signal-pale); color: var(--signal); }
.pastille.bleu { background: var(--ciel-pale); color: var(--marine); }
mark { background: #fff1b8; color: inherit; border-radius: 2px; padding: 0 2px; }
.extrait { margin-top: 6px; font-size: 15px; color: var(--texte); max-width: 82ch; }
.extrait em { font-style: normal; color: var(--texte-doux); font-size: 13.5px; margin-right: 8px; }
.grande-recherche { display: flex; gap: 10px; margin-bottom: 26px; max-width: 720px; }
.grande-recherche input { flex: 1; min-width: 0; height: 52px; border-radius: 26px; border: 1.5px solid var(--ligne); padding: 0 22px; font-size: 17px; background: #fff; }
.grande-recherche input:focus { border-color: var(--ciel); outline: none; box-shadow: 0 0 0 3px var(--ciel-pale); }

/* --- salles ------------------------------------------------------------------------------------------ */
.salles { display: grid; gap: 20px; }
.salle-fiche { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 24px; display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 26px; }
.salle-qr { width: 148px; height: 148px; padding: 8px; border: 1px solid var(--ligne); border-radius: 8px; background: #fff; }
.salle-qr svg { width: 100%; height: 100%; }
.salle-fiche > div { min-width: 0; }
.salle-fiche h2 { font-size: 21px; font-weight: 600; color: var(--encre); display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; }
.salle-fiche .consigne { color: var(--texte-doux); font-size: 14.5px; margin: 4px 0 14px; max-width: 62ch; }
.salle-fiche details { margin-top: 14px; border-top: 1px solid var(--ligne-douce); padding-top: 12px; }
.salle-fiche details summary { cursor: pointer; font-weight: 500; color: var(--marine); font-size: 15px; }
.salle-fiche details form { margin-top: 14px; }

/* --- paramètres ---------------------------------------------------------------------------------------- */
.parametres { display: grid; gap: 28px; }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.service { border: 1.5px solid var(--ligne); border-radius: var(--rayon); padding: 16px 18px; background: #fff; }
.service h3 { font-size: 16px; font-weight: 600; color: var(--encre); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.service p { font-size: 14.5px; color: var(--texte-doux); margin-top: 4px; overflow-wrap: anywhere; }
.service code { font-size: 13px; background: var(--brume); padding: 1px 5px; border-radius: 4px; font-family: inherit; color: var(--encre); }
.membres li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ligne-douce); }
.membres .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--ciel-pale); color: var(--marine); font-weight: 600; font-size: 13px; display: grid; place-items: center; flex: none; }
.membres li > div { flex: 1; min-width: 0; }
.membres small { display: block; color: var(--texte-doux); overflow: hidden; text-overflow: ellipsis; }
.logo-actuel { height: 54px; width: auto; border: 1px solid var(--ligne); border-radius: 8px; padding: 6px; background: #fff; margin-bottom: 10px; }

/* --- messages, dialogues ---------------------------------------------------------------------------------- */
.toast { position: fixed; left: 50%; bottom: 28px; translate: -50% 0; z-index: 40; background: var(--encre); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 500; font-size: 15px; box-shadow: 0 10px 30px -8px rgba(16, 17, 48, .5); display: flex; align-items: center; gap: 10px; max-width: min(92vw, 640px); animation: monte .25s ease-out; }
.toast.erreur { background: #8f1f24; }
.toast .icone { color: var(--ciel); }
.toast.erreur .icone { color: #ffc9cb; }
@keyframes monte { from { opacity: 0; translate: -50% 12px; } }
dialog.confirmation { border: 0; border-radius: 14px; padding: 26px 28px 22px; max-width: 440px; width: calc(100vw - 40px); box-shadow: 0 24px 64px -16px rgba(16, 17, 48, .5); color: var(--texte); }
dialog.confirmation::backdrop { background: rgba(11, 14, 42, .5); }
dialog.confirmation h2 { font-size: 20px; font-weight: 600; color: var(--encre); margin-bottom: 8px; }
dialog.confirmation p { color: var(--texte-doux); }
dialog.confirmation .actions-formulaire { justify-content: flex-end; margin-top: 22px; }

/* --- connexion ----------------------------------------------------------------------------------------------- */
.page-connexion { background: var(--papier); }
.connexion { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.connexion-scene { background: var(--nuit); color: #fff; padding: 48px 56px; display: flex; flex-direction: column; gap: 24px; position: relative; overflow: hidden; }
.connexion-scene > img { height: 44px; width: auto; position: relative; align-self: flex-start; }
.connexion-scene h1 { font-size: clamp(34px, 3.6vw, 54px); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; max-width: 14ch; position: relative; }
.connexion-scene p { color: #b9c8e8; font-size: 18px; max-width: 40ch; margin-top: 18px; position: relative; }
.scene-cadran { flex: 1 1 0; min-height: 0; display: flex; align-items: center; justify-content: flex-end; position: relative; }
.scene-cadran::before { content: ""; position: absolute; width: 160%; aspect-ratio: 1; right: -58%; top: 50%; translate: 0 -50%; border-radius: 50%; background: radial-gradient(circle, rgba(71, 186, 240, .26) 0, rgba(34, 84, 150, .22) 34%, rgba(34, 84, 150, 0) 66%); pointer-events: none; }
.cadran-decor { position: relative; height: min(100%, 440px); aspect-ratio: 1; margin-right: -2%; border-radius: 50%; border: 1.5px solid rgba(71, 186, 240, .26); display: grid; place-items: center; }
.cadran-decor::before { content: ""; width: 80%; height: 80%; border-radius: 50%; border: 2px solid rgba(71, 186, 240, .5); grid-area: 1 / 1; }
.cadran-decor::after { content: ""; width: 56%; height: 56%; grid-area: 1 / 1; border-radius: 50%; border: 12px solid var(--ciel); background: radial-gradient(circle at 34% 28%, #25599e 0, #173a78 46%, #0f1f52 100%) padding-box; box-shadow: 0 0 80px rgba(71, 186, 240, .6), inset 0 0 0 10px var(--nuit), inset 0 0 44px rgba(71, 186, 240, .3); }
.connexion-form { display: grid; place-items: center; padding: 40px 28px; }
.connexion-form form { width: 100%; max-width: 380px; }
.connexion-form h2 { font-size: 28px; font-weight: 700; color: var(--encre); margin-bottom: 6px; }
.connexion-form .sous { color: var(--texte-doux); margin-bottom: 28px; }
.connexion-form .bouton { width: 100%; margin-top: 8px; }
.connexion-pied { margin-top: 30px; font-size: 13.5px; color: var(--texte-doux); }

/* --- page publique d'un PV -------------------------------------------------------------------------------------- */
.page-partage .barre-partage { background: var(--papier); border-bottom: 1px solid var(--ligne); padding: 12px max(20px, calc((100vw - 900px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.page-partage .barre-partage img { height: 28px; width: auto; }
.page-partage main { max-width: 900px; margin: 0 auto; padding: 36px 20px 64px; }
.page-partage .mention { text-align: center; margin-top: 28px; font-size: 14px; color: var(--texte-doux); }

/* --- erreur -------------------------------------------------------------------------------------------------------- */
.page-erreur { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.page-erreur .code { font-size: 15px; color: var(--texte-doux); }
.page-erreur h1 { font-size: 34px; color: var(--encre); margin: 6px 0 10px; }
.page-erreur p { color: var(--texte-doux); max-width: 48ch; margin: 0 auto 24px; }

/* --- navigation mobile ------------------------------------------------------------------------------------------------ */
.nav-mobile { display: none; }

@media (max-width: 980px) {
  .deux-colonnes { grid-template-columns: 1fr; }
  .rail { position: static; }
  .rdv { grid-template-columns: 70px minmax(0, 1fr) 190px; }
  .rdv-salle { display: none; }
  .jour { grid-template-columns: 1fr; }
  .jour-libelle { position: static; padding: 0 0 8px; }
  .recherche { flex-basis: 220px; }
  .marque-produit { display: none; }
}
@media (max-width: 760px) {
  .entete { height: 60px; gap: 12px; padding: 0 16px; }
  .entete .nav { display: none; }
  .marque img { height: 27px; }
  .recherche { flex: 1 1 auto; }
  .contenu { padding: 24px 16px 120px; }
  .page-tete h1, .reunion-tete h1 { font-size: 26px; }
  .reunion-tete { grid-template-columns: 1fr; }
  .rdv { grid-template-columns: 62px minmax(0, 1fr); gap: 4px 12px; padding: 12px 4px; }
  .rdv .piste { grid-column: 2; flex-direction: row; align-items: center; gap: 10px; }
  .rdv .piste-points i + i { margin-left: 14px; }
  .rdv .piste-points i + i::before { width: 14px; }
  .feuille { padding: 34px 22px 28px; }
  .feuille h1 { font-size: 26px; }
  .fiche { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tableau-actions thead { display: none; }
  .tableau-actions tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--ligne-douce); }
  .tableau-actions td { display: block; padding: 1px 0; border: 0; }
  .tableau-actions td:nth-child(2) { white-space: normal; }
  .etat { padding: 24px 20px; }
  .formulaire { padding: 20px; }
  .salle-fiche { grid-template-columns: 1fr; }
  .ligne-edition.action, .entetes-edition.action { grid-template-columns: 1fr 40px; }
  .ligne-edition.action input:nth-of-type(n+2) { grid-column: 1; }
  .entetes-edition { display: none; }
  .ligne-edition.participant { grid-template-columns: 1fr 40px; }
  .ligne-edition.participant input:nth-of-type(2) { grid-column: 1; }
  .liste > li { grid-template-columns: 1fr; }
  .liste .droite { justify-content: flex-start; }
  .barre-validation { bottom: 76px; border-radius: 16px; flex-wrap: wrap; padding: 12px 14px; }
  .barre-validation p { flex-basis: 100%; }
  .connexion { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .connexion-form { place-items: start center; padding-top: 36px; }
  .connexion-scene { padding: 24px 24px 28px; gap: 18px; }
  .connexion-scene > img { height: 36px; }
  .connexion-scene h1 { font-size: 28px; max-width: none; }
  .connexion-scene p { font-size: 16px; margin-top: 10px; }
  .scene-cadran { display: none; }
  .bandeau-demo { flex-wrap: nowrap; }
  .bandeau-demo .bandeau-detail { display: none; }
  .grande-recherche .bouton { padding: 0 18px; font-size: 0; gap: 0; }
  .grande-recherche .bouton .icone { width: 22px; height: 22px; }
  .salle-fiche .lien-partage { flex-wrap: wrap; }
  .salle-fiche .lien-partage input { flex: 1 1 100%; }
  .nav-mobile { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: var(--papier); border-top: 1px solid var(--ligne); padding-bottom: env(safe-area-inset-bottom); }
  .nav-mobile a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 8px; font-size: 12px; font-weight: 500; color: var(--texte-doux); text-decoration: none; position: relative; }
  .nav-mobile a[aria-current="page"] { color: var(--marine); }
  .nav-mobile .compteur { position: absolute; top: 4px; left: calc(50% + 6px); }
  .toast { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  body { background: #fff; }
  .entete, .bandeau-demo, .rail, .nav-mobile, .barre-validation, .transcription, .retour, .page-actions, .barre-partage, .verifier, .toast, .mention { display: none !important; }
  .contenu, .page-partage main { padding: 0; max-width: none; }
  .deux-colonnes { display: block; }
  .feuille { box-shadow: none; padding: 0; }
}
