/* Contestation — feuille de style unique. Aucune ressource externe (polices systeme). */
[hidden] { display: none !important; }
:root {
  --encre: #13203a;
  --texte: #2f3a4d;
  --doux: #667085;
  --bord: #e3e7ee;
  --bord-fort: #cdd4df;
  --fond: #f5f6f9;
  --carte: #ffffff;
  --primaire: #1c3d6e;
  --primaire-fonce: #132c52;
  --primaire-pale: #eaf0f8;
  --or: #a97a35;
  --or-pale: #f7efe2;
  --ok: #1d7348;
  --ok-pale: #e6f4ec;
  --alerte: #a15c00;
  --alerte-pale: #fdf3e2;
  --danger: #b42318;
  --danger-pale: #fdecea;
  --info-pale: #eef2f8;
  --rayon: 10px;
  --ombre: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);
  --ombre-haute: 0 12px 32px rgba(16, 24, 40, .12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 15px; line-height: 1.55; color: var(--texte); background: var(--fond); }
a { color: var(--primaire); }
h1, h2, h3 { color: var(--encre); line-height: 1.25; }
h1 { font-family: var(--serif); font-weight: 600; font-size: 1.85rem; margin: 0 0 .35rem; letter-spacing: -.01em; }
h2 { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; margin: 0 0 .8rem; }
h3 { font-size: .95rem; margin: 1.2rem 0 .45rem; }
p { margin: 0 0 .8rem; }
.cache { display: none !important; }
.doux { color: var(--doux); }
.petit { font-size: .85rem; }
.mono { font-family: var(--mono); font-size: .85em; }

/* ---- Bandeau de demonstration et en-tete -------------------------------------- */
.bandeau-poc { background: var(--or-pale); color: #6b4a17; font-size: .78rem; text-align: center; padding: .3rem 1rem; border-bottom: 1px solid #ecdcc0; }
.entete { background: var(--carte); border-bottom: 1px solid var(--bord); position: sticky; top: 0; z-index: 20; }
.entete-int { max-width: 1240px; margin: 0 auto; padding: 0 1.25rem; height: 62px; display: flex; align-items: center; gap: 1.5rem; }
.marque { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--encre); }
.marque svg { width: 30px; height: 30px; flex: none; }
.marque strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; letter-spacing: .01em; }
.marque span { display: block; font-size: .7rem; color: var(--doux); letter-spacing: .06em; text-transform: uppercase; margin-top: -2px; }
.nav { display: flex; gap: .25rem; flex: 1; }
.nav a { text-decoration: none; color: var(--doux); font-weight: 500; font-size: .9rem; padding: .45rem .75rem; border-radius: 7px; }
.nav a:hover { background: var(--fond); color: var(--encre); }
.nav a.actif { color: var(--primaire); background: var(--primaire-pale); }
.compte { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.compte .qui { text-align: right; line-height: 1.2; }
.compte .qui strong { display: block; font-size: .88rem; color: var(--encre); }
.compte .qui span { font-size: .74rem; color: var(--doux); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--primaire); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 600; flex: none; }

/* ---- Mise en page ------------------------------------------------------------- */
main { max-width: 1240px; margin: 0 auto; padding: 2rem 1.25rem 4rem; min-height: calc(100vh - 160px); }
main.etroit { max-width: 880px; }
.pied { border-top: 1px solid var(--bord); background: var(--carte); color: var(--doux); font-size: .8rem; }
.pied-int { max-width: 1240px; margin: 0 auto; padding: 1.2rem 1.25rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; }
.titre-page { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.titre-page p { margin: 0; color: var(--doux); }
.fil { font-size: .82rem; margin-bottom: .6rem; }
.fil a { text-decoration: none; color: var(--doux); }
.fil a:hover { color: var(--primaire); }
.grille-2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.grille-lat { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.25rem; align-items: start; }
@media (max-width: 980px) { .grille-2, .grille-lat { grid-template-columns: 1fr; } }

.carte { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 1.35rem 1.5rem; margin-bottom: 1.25rem; }
.carte > h2:first-child, .carte > h3:first-child { margin-top: 0; }
.carte-entete { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.carte-entete h2 { margin: 0; }
.carte.plate { box-shadow: none; }

/* ---- Boutons et formulaires --------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font: inherit; font-size: .9rem; font-weight: 600; padding: .6rem 1.1rem; border-radius: 8px; border: 1px solid var(--bord-fort); background: var(--carte); color: var(--encre); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .12s, border-color .12s; }
.btn:hover { background: var(--fond); }
.btn.primaire { background: var(--primaire); border-color: var(--primaire); color: #fff; }
.btn.primaire:hover { background: var(--primaire-fonce); }
.btn.danger { color: var(--danger); border-color: #f1c5c0; }
.btn.danger:hover { background: var(--danger-pale); }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.lien { border-color: transparent; background: none; color: var(--primaire); padding-left: .3rem; padding-right: .3rem; }
.btn.petit { padding: .35rem .7rem; font-size: .82rem; }
.btn.grand { padding: .8rem 1.5rem; font-size: 1rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.champ-form { margin-bottom: 1rem; }
.champ-form label { display: block; font-weight: 600; font-size: .85rem; color: var(--encre); margin-bottom: .3rem; }
.champ-form .aide { font-size: .78rem; color: var(--doux); margin-top: .25rem; }
input[type=text], input[type=email], input[type=password], input[type=date], select, textarea {
  width: 100%; font: inherit; font-size: .92rem; padding: .58rem .7rem; border: 1px solid var(--bord-fort); border-radius: 8px; background: #fff; color: var(--encre);
}
input:focus, select:focus, textarea:focus, .btn:focus-visible { outline: 3px solid rgba(28, 61, 110, .18); border-color: var(--primaire); outline-offset: 0; }
textarea { resize: vertical; line-height: 1.5; }
.rangee { display: flex; gap: .9rem; flex-wrap: wrap; }
.rangee > * { flex: 1 1 200px; }
.case { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.case input { margin-top: .25rem; flex: none; width: 16px; height: 16px; accent-color: var(--primaire); }

/* ---- Messages ----------------------------------------------------------------- */
.message { border-radius: 8px; padding: .75rem 1rem; font-size: .88rem; margin-bottom: 1rem; border: 1px solid transparent; }
.message.info { background: var(--info-pale); border-color: #d6e0ee; color: var(--primaire-fonce); }
.message.ok { background: var(--ok-pale); border-color: #c6e6d3; color: #135234; }
.message.alerte { background: var(--alerte-pale); border-color: #f0d8ae; color: #6e3f00; }
.message.erreur { background: var(--danger-pale); border-color: #f5c6c1; color: #8a1a12; }
.message strong { color: inherit; }
.message:empty { display: none; }
.toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); background: var(--encre); color: #fff; padding: .7rem 1.2rem; border-radius: 8px; box-shadow: var(--ombre-haute); font-size: .88rem; z-index: 100; max-width: calc(100vw - 2rem); }

/* ---- Pastilles ---------------------------------------------------------------- */
.pastille { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 600; padding: .18rem .6rem; border-radius: 999px; background: var(--fond); color: var(--doux); white-space: nowrap; border: 1px solid transparent; }
.pastille::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.pastille.sans-point::before { display: none; }
.pastille.Ouvert { background: #f2f4f7; color: #475467; }
.pastille.ARelire { background: var(--alerte-pale); color: var(--alerte); }
.pastille.EnAttente { background: var(--or-pale); color: #855d22; }
.pastille.EnTraitement { background: var(--primaire-pale); color: var(--primaire); }
.pastille.PlaidoyerValide { background: var(--ok-pale); color: var(--ok); }
.pastille.danger { background: var(--danger-pale); color: var(--danger); }
.pastille.alerte { background: var(--alerte-pale); color: var(--alerte); }
.pastille.ok { background: var(--ok-pale); color: var(--ok); }
.pastille.info { background: var(--primaire-pale); color: var(--primaire); }
.role { font-size: .72rem; font-weight: 600; padding: .12rem .5rem; border-radius: 5px; background: var(--fond); color: var(--doux); text-transform: uppercase; letter-spacing: .04em; }
.role.Avocat { background: var(--primaire-pale); color: var(--primaire); }
.role.Admin { background: var(--or-pale); color: #855d22; }

/* ---- Tableaux ----------------------------------------------------------------- */
.table-zone { overflow-x: auto; margin: 0 -1.5rem; padding: 0 1.5rem; }
table.liste { width: 100%; border-collapse: collapse; font-size: .88rem; }
table.liste th { text-align: left; font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--doux); padding: .55rem .75rem; border-bottom: 1px solid var(--bord); white-space: nowrap; }
table.liste td { padding: .8rem .75rem; border-bottom: 1px solid var(--bord); vertical-align: middle; }
table.liste tr:last-child td { border-bottom: 0; }
table.liste tr.cliquable { cursor: pointer; }
table.liste tr.cliquable:hover td { background: #fafbfc; }
table.liste td.ref { font-weight: 600; color: var(--encre); font-family: var(--mono); font-size: .84rem; white-space: nowrap; }
table.liste td.fin { text-align: right; white-space: nowrap; }
.vide { text-align: center; padding: 2.2rem 1rem; color: var(--doux); }
.vide strong { display: block; color: var(--encre); margin-bottom: .2rem; font-size: .95rem; }

/* ---- Indicateurs -------------------------------------------------------------- */
.indicateurs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.indicateur { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1rem 1.15rem; box-shadow: var(--ombre); }
.indicateur .val { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--encre); line-height: 1.1; }
.indicateur .lib { font-size: .8rem; color: var(--doux); margin-top: .2rem; }
.indicateur.accent { border-top: 3px solid var(--primaire); }
.indicateur.danger .val { color: var(--danger); }
.indicateur.alerte .val { color: var(--alerte); }
.indicateur.ok .val { color: var(--ok); }
.entonnoir { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
@media (max-width: 760px) { .entonnoir { grid-template-columns: repeat(2, 1fr); } }
.entonnoir .etage { padding: .9rem; border-radius: 8px; background: var(--fond); border: 1px solid var(--bord); }
.entonnoir .etage .val { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--encre); }
.entonnoir .etage .lib { font-size: .78rem; color: var(--doux); }

/* ---- Etapes (parcours du dossier) --------------------------------------------- */
.etapes { display: flex; list-style: none; margin: 0 0 1.5rem; padding: 0; counter-reset: etape; }
.etapes li { flex: 1; position: relative; padding-top: 2.3rem; text-align: center; font-size: .8rem; color: var(--doux); counter-increment: etape; }
.etapes li::before { content: counter(etape); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--bord-fort); background: var(--carte); display: grid; place-items: center; font-weight: 600; font-size: .82rem; color: var(--doux); z-index: 1; }
.etapes li::after { content: ""; position: absolute; top: 14px; left: calc(-50% + 15px); right: calc(50% + 15px); height: 2px; background: var(--bord-fort); }
.etapes li:first-child::after { display: none; }
.etapes li.fait { color: var(--encre); }
.etapes li.fait::before { content: "✓"; background: var(--ok); border-color: var(--ok); color: #fff; }
.etapes li.fait::after, .etapes li.courant::after { background: var(--ok); }
.etapes li.courant { color: var(--primaire); font-weight: 600; }
.etapes li.courant::before { border-color: var(--primaire); color: var(--primaire); box-shadow: 0 0 0 4px var(--primaire-pale); }

/* ---- Historique ------------------------------------------------------------- */
.historique { list-style: none; margin: 0; padding: 0; }
.historique li { position: relative; padding: 0 0 1rem 1.4rem; font-size: .86rem; }
.historique li::before { content: ""; position: absolute; left: 0; top: .42rem; width: 9px; height: 9px; border-radius: 50%; background: var(--bord-fort); }
.historique li::after { content: ""; position: absolute; left: 4px; top: 1.1rem; bottom: .1rem; width: 1px; background: var(--bord); }
.historique li:last-child::after { display: none; }
.historique li.ok::before { background: var(--ok); }
.historique li.warn::before { background: var(--alerte); }
.historique li.info::before { background: var(--primaire); }
.historique time { display: block; font-size: .76rem; color: var(--doux); }

/* ---- Accueil ------------------------------------------------------------------ */
.heros { background: linear-gradient(160deg, var(--primaire-fonce) 0%, var(--primaire) 70%); color: #e8eef7; border-radius: 16px; padding: 3.5rem 3rem; margin-bottom: 2rem; position: relative; overflow: hidden; }
.heros::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .05); }
.heros h1 { color: #fff; font-size: 2.5rem; max-width: 640px; margin-bottom: 1rem; }
.heros p { font-size: 1.1rem; max-width: 600px; color: #cdd8e8; margin-bottom: 1.8rem; }
.heros .btn.primaire { background: #fff; color: var(--primaire-fonce); border-color: #fff; }
.heros .btn.primaire:hover { background: #eef2f8; }
.heros .btn.contour { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.heros .btn.contour:hover { background: rgba(255, 255, 255, .08); }
@media (max-width: 700px) { .heros { padding: 2.2rem 1.4rem; } .heros h1 { font-size: 1.8rem; } }
.trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
@media (max-width: 820px) { .trois { grid-template-columns: 1fr; } }
.etape-accueil { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1.4rem; }
.etape-accueil .num { width: 34px; height: 34px; border-radius: 50%; background: var(--or-pale); color: #855d22; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; margin-bottom: .8rem; }
.etape-accueil h3 { margin: 0 0 .4rem; font-size: 1rem; }
.etape-accueil p { margin: 0; font-size: .9rem; color: var(--doux); }
.garanties { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem 2rem; }
.garanties div { display: flex; gap: .7rem; font-size: .9rem; }
.garanties svg { width: 20px; height: 20px; flex: none; color: var(--ok); margin-top: .1rem; }

/* ---- Connexion ---------------------------------------------------------------- */
.boite-auth { max-width: 440px; margin: 2rem auto; }
.boite-auth .carte { padding: 2rem; }
.separateur { text-align: center; font-size: .82rem; color: var(--doux); margin: 1.2rem 0; }
.comptes-demo { font-size: .82rem; }
.comptes-demo button { margin: .2rem .3rem .2rem 0; }

/* ---- Depot : assistant -------------------------------------------------------- */
.depot { border: 2px dashed var(--bord-fort); border-radius: 12px; padding: 2.5rem 1.5rem; text-align: center; background: #fbfcfd; cursor: pointer; transition: border-color .15s, background .15s; }
.depot:hover, .depot.survol { border-color: var(--primaire); background: var(--primaire-pale); }
.depot svg { width: 44px; height: 44px; color: var(--primaire); margin-bottom: .6rem; }
.depot strong { display: block; color: var(--encre); font-size: 1rem; margin-bottom: .2rem; }
.apercu-fichier { display: flex; gap: 1rem; align-items: center; padding: .9rem; border: 1px solid var(--bord); border-radius: 10px; background: #fbfcfd; }
.apercu-fichier img { width: 84px; height: 84px; object-fit: cover; border-radius: 6px; border: 1px solid var(--bord); background: #fff; }
.apercu-fichier .icone-pdf { width: 84px; height: 84px; border-radius: 6px; background: var(--danger-pale); color: var(--danger); display: grid; place-items: center; font-weight: 700; }
.conseils { margin: 1rem 0 0; padding-left: 1.1rem; font-size: .86rem; color: var(--doux); }
.chargement { text-align: center; padding: 3rem 1rem; }
.rouet { width: 42px; height: 42px; border-radius: 50%; border: 4px solid var(--primaire-pale); border-top-color: var(--primaire); animation: tourne 1s linear infinite; margin: 0 auto 1rem; }
.rouet.petit { width: 16px; height: 16px; border-width: 2px; margin: 0; display: inline-block; vertical-align: -3px; }
@keyframes tourne { to { transform: rotate(360deg); } }
.consentement { background: var(--fond); border: 1px solid var(--bord); border-radius: 8px; padding: .9rem 1rem; font-size: .84rem; }
.confirmation { text-align: center; padding: 1.5rem 1rem; }
.confirmation .coche { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-pale); color: var(--ok); display: grid; place-items: center; margin: 0 auto 1rem; }
.confirmation .coche svg { width: 32px; height: 32px; }

/* ---- Relecture cote a cote ---------------------------------------------------- */
.revue { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
@media (max-width: 980px) { .revue { grid-template-columns: 1fr; } }
.visionneuse-bloc { position: sticky; top: 76px; }
.outils { display: flex; gap: .35rem; align-items: center; margin-bottom: .45rem; flex-wrap: wrap; }
.outils .btn { padding: .3rem .6rem; font-size: .8rem; }
.visionneuse { height: calc(100vh - 160px); min-height: 420px; overflow: auto; background: #1b2434; border-radius: 10px; }
.visionneuse.compacte { height: 520px; }
.visionneuse img { display: block; transform-origin: top left; max-width: none; }
.visionneuse iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.ligne-champ { display: grid; grid-template-columns: 150px 1fr 82px; gap: .6rem; align-items: center; margin-bottom: .5rem; font-size: .88rem; }
.ligne-champ .lib { font-size: .82rem; font-weight: 600; color: var(--encre); }
.ligne-champ input { padding: .45rem .6rem; font-size: .88rem; }
.ligne-champ input.modifie { border-color: #3b6fb6; background: #f1f6fd; }
.ligne-champ.meme-jour { grid-template-columns: 150px 1fr; }
.ligne-champ .pastille { justify-self: start; }
@media (max-width: 560px) { .ligne-champ { grid-template-columns: 1fr 72px; } .ligne-champ .lib { grid-column: 1 / -1; } .ligne-champ.meme-jour { grid-template-columns: 1fr; } }
.attestation { border-top: 1px solid var(--bord); margin-top: 1.25rem; padding-top: 1.25rem; }
dl.champs-lus { display: grid; grid-template-columns: 160px 1fr; gap: .35rem 1rem; margin: 0; font-size: .88rem; }
dl.champs-lus dt { color: var(--doux); }
dl.champs-lus dd { margin: 0; color: var(--encre); font-weight: 500; word-break: break-word; }

/* ---- Espace avocat ------------------------------------------------------------ */
.onglets { display: flex; gap: .2rem; border-bottom: 1px solid var(--bord); margin-bottom: 1.2rem; overflow-x: auto; }
.onglets button { font: inherit; font-size: .9rem; font-weight: 600; color: var(--doux); background: none; border: 0; border-bottom: 2px solid transparent; padding: .65rem .9rem; cursor: pointer; white-space: nowrap; }
.onglets button.actif { color: var(--primaire); border-bottom-color: var(--primaire); }
.onglets button .compte-onglet { font-size: .72rem; background: var(--fond); color: var(--doux); border-radius: 999px; padding: .05rem .45rem; margin-left: .3rem; }
.motif { display: flex; gap: .65rem; align-items: flex-start; padding: .6rem .7rem; border: 1px solid var(--bord); border-radius: 8px; margin-bottom: .45rem; cursor: pointer; font-size: .88rem; }
.motif:hover { border-color: var(--bord-fort); }
.motif input { margin-top: .25rem; accent-color: var(--primaire); }
.motif.propose { border-color: #c9d6ea; background: #f7f9fd; }
.motif .raison { display: block; font-size: .8rem; color: var(--doux); margin-top: .15rem; }
.note-section { margin-bottom: 1.1rem; }
.note-section h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--doux); margin: 0 0 .4rem; }
.note-section ul { margin: 0; padding-left: 1.1rem; }
.note-section li { margin-bottom: .35rem; }
.moyen { border-left: 3px solid var(--or); padding: .1rem 0 .1rem .8rem; margin-bottom: .8rem; }
.moyen strong { color: var(--encre); }
.apercu-plaidoyer { width: 100%; height: 620px; border: 1px solid var(--bord); border-radius: 8px; background: #fff; }
.decision { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1rem; }
@media (max-width: 600px) { .decision { grid-template-columns: 1fr; } }
.decision label { border: 1px solid var(--bord-fort); border-radius: 8px; padding: .75rem .85rem; cursor: pointer; font-size: .86rem; }
.decision label strong { display: block; color: var(--encre); font-size: .9rem; }
.decision input { display: none; }
.decision label:has(input:checked) { border-color: var(--primaire); background: var(--primaire-pale); box-shadow: 0 0 0 1px var(--primaire); }
.paragraphe-edit { margin-bottom: .6rem; }
.verrou { display: flex; gap: .7rem; align-items: center; padding: .8rem 1rem; background: var(--primaire-pale); border-radius: 8px; font-size: .86rem; color: var(--primaire-fonce); margin-bottom: 1.25rem; }
.verrou svg { width: 18px; height: 18px; flex: none; }
.verrou .btn { margin-left: auto; }

/* ---- Fenetre modale ----------------------------------------------------------- */
dialog { border: 0; border-radius: 12px; padding: 0; box-shadow: var(--ombre-haute); width: min(480px, calc(100vw - 2rem)); }
dialog::backdrop { background: rgba(19, 32, 58, .45); }
dialog form { padding: 1.5rem; }
dialog h2 { margin-bottom: 1rem; }

@media print {
  .entete, .bandeau-poc, .pied, .actions, .onglets { display: none !important; }
  body { background: #fff; }
}
.revue.empilee { grid-template-columns: minmax(0, 1fr); }
.revue.empilee .visionneuse-bloc { position: static; }
