/* Vitrine d'essai O’Plan Location, direction « Lumière » : sable, vert forêt pour l'action, corail pour les accents.
   Bricolage Grotesque (titres) et Instrument Sans (texte), locales. Mobile d'abord. */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; src: url("/ui/fonts/bricolage-grotesque.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; src: url("/ui/fonts/instrument-sans.woff2") format("woff2"); }

:root {
  --foret: #0e3b2e;
  --foret-fonce: #07261d;
  --sable: #f5ecdd;
  --papier: #faf5ec;
  --corail: #ef6f55;
  /* corail foncé : grands titres et repères (3:1 sur sable) ; corail texte : petit texte (AA) */
  --corail-fonce: #d2563b;
  --corail-texte: #9a3a24;
  --laiton: #e2ae4a;
  --encre: #1e2a24;
  --gris: #5c6660;
  --ligne: #e6dccb;
  --fond-doux: #f2e8d6;
  --vert: #1d7a49;
  --whatsapp: #128c4a;
  --texte: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --titre: "Bricolage Grotesque", "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --douce: cubic-bezier(.2, .7, .2, 1);
  --hud-h: 64px;
  --carte-h: 300px;
  --panneau: 0px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--texte); color: var(--encre); background: #f2e3cb;
  overflow: hidden; -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.4;
}
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--corail-fonce); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- scène */
.scene-zone {
  position: fixed; left: 0; top: var(--hud-h); width: calc(100vw - var(--panneau));
  height: calc(100dvh - var(--hud-h) - var(--carte-h) + 22px);
  background: #efdfc4; overflow: hidden;
}
#scene { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: transparent; transition: filter .6s var(--douce); }
/* image fixe du parc tant que la 3D n'a pas rendu sa première image (ou si le téléphone perd la 3D) */
.apercu {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%;
  pointer-events: none; transition: opacity .5s var(--douce);
}
.apercu.masque { opacity: 0; }
.effets { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }

/* ---------------------------------------------------------------- bandeau du haut et progression */
.hud {
  position: fixed; left: 0; top: 0; width: calc(100vw - var(--panneau)); z-index: 20;
  min-height: 56px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: var(--sable); color: var(--foret); border-bottom: 1px solid var(--ligne);
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(30, 42, 36, .08);
}
.hud-logo { height: 40px; width: auto; display: block; }
.hud-agence { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-width: 0; }
.hud-agence b {
  font-family: var(--titre); font-weight: 700; font-size: 16px; letter-spacing: .02em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.hud-progression { flex: none; color: var(--gris); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hud-droite { display: flex; align-items: center; gap: 4px; flex: none; }
.son {
  display: grid; place-items: center; width: 44px; height: 44px; margin: -8px -10px -8px 0; border: 0; border-radius: 10px;
  background: none; color: var(--gris); cursor: pointer;
}
.son:hover { color: var(--foret); background: rgba(14, 59, 46, .06); }
.son svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.son[aria-pressed="false"] .son-on, .son[aria-pressed="true"] .son-off { display: none; }
body:not([data-etape="accueil"]):not([data-etape="inscription"]) .hud-logo { display: none; }
.pas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; font-stretch: 85%; }
.pas li { position: relative; display: grid; gap: 5px; min-width: 0; color: var(--gris); font-size: 12px; font-weight: 600; }
.pas li::before {
  content: ""; height: 4px; border-radius: 4px; background: var(--ligne);
  transition: background-color .5s var(--douce);
}
.pas li[data-etat="fait"]::before { background: var(--corail); }
.pas li[data-etat="actuel"]::before { background: var(--foret); }
.pas li[data-etat="verrou"]::before { background: repeating-linear-gradient(90deg, rgba(14, 59, 46, .35) 0 4px, transparent 4px 7px); }
.pas li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pas li[data-etat="actuel"] { color: var(--foret); }
.pas li[data-etat="verrou"] span::before {
  content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 4px; vertical-align: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='11' width='14' height='10' rx='2' fill='%230e3b2e'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3' fill='none' stroke='%230e3b2e' stroke-width='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 1279px) {
  /* téléphone et petit écran : seul le nom de l'étape en cours est écrit sous les segments, aligné à droite pour les deux dernières */
  .hud-mise { display: none; }
  .pas { padding-bottom: 17px; }
  .pas li span { position: absolute; left: 0; top: 9px; overflow: visible; visibility: hidden; }
  .pas li:nth-child(n+4) span { left: auto; right: 0; }
  .pas li[data-etat="actuel"] span, .pas li[data-etat="verrou"] span { visibility: visible; }
}

/* ---------------------------------------------------------------- carte du bas (téléphone) / panneau (ordinateur) */
.carte {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
  max-height: calc(100dvh - var(--hud-h) - 120px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--papier); border-radius: 22px 22px 0 0;
  padding: 22px 18px calc(18px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 28px rgba(30, 42, 36, .14);
}
.etape { display: grid; gap: 12px; }
.etape [data-phase] { display: grid; gap: 12px; }
.etape.entre { animation: entre .35s var(--douce) both; }
@keyframes entre { from { opacity: 0; transform: translateY(8px); } }
h1 {
  margin: 0; font-family: var(--titre); font-weight: 700; font-stretch: 88%; font-size: 26px; line-height: 1.1;
  color: var(--foret); letter-spacing: -.01em;
}
h1:focus { outline: none; }
.surtitre { margin: 0; font-size: 12.5px; font-weight: 700; color: var(--corail-texte); text-transform: uppercase; letter-spacing: .08em; }
.chapo { margin: 0; color: var(--gris); font-size: 16px; }
.mini { margin: 0; text-align: center; font-size: 13px; color: var(--gris); }
.invitation { margin: 0; padding: 8px 12px; border-radius: 10px; background: var(--fond-doux); color: var(--foret); font-size: 14px; font-weight: 600; }
.etape-accueil h1 { font-size: 30px; }

.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  min-height: 52px; padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--titre); font-weight: 600; font-size: 18px; letter-spacing: 0; text-decoration: none;
  transition: background-color .15s, box-shadow .15s, opacity .2s;
}
.bouton.principal { background: var(--foret); color: var(--sable); box-shadow: 0 4px 12px rgba(14, 59, 46, .18); }
.bouton.principal:hover:not(:disabled) { background: var(--foret-fonce); }
.bouton.secondaire { background: transparent; color: var(--foret); border: 1.5px solid var(--foret); }
.bouton.whatsapp { background: var(--whatsapp); color: #fff; }
.bouton.whatsapp.secondaire { background: #fff; color: var(--whatsapp); border-color: var(--whatsapp); }
.bouton svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.bouton:disabled { opacity: .45; cursor: default; box-shadow: none; }
.lien {
  background: none; border: 0; color: var(--foret); font-weight: 600; text-decoration: underline; cursor: pointer;
  min-height: 44px; min-width: 44px; padding: 10px 14px; justify-self: center;
}

/* formulaires */
.champs { display: grid; grid-template-columns: 1fr; gap: 10px; }
.champs label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--gris); }
.champs label small { font-weight: 500; }
.champs input {
  width: 100%; min-height: 48px; border: 1.5px solid var(--ligne); border-radius: 10px; padding: 10px 12px;
  font-size: 16px; color: var(--encre); background: #fff;
}
.champs input:focus { border-color: var(--foret); outline: 3px solid rgba(14, 59, 46, .2); outline-offset: 0; background: #fff; }
.champs input[aria-invalid="true"] { border-color: #c4342b; background: #fdf3f2; }
.consentement { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--gris); min-height: 44px; cursor: pointer; }
.consentement input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--foret); }
.erreur { margin: 0; color: #a3261e; font-weight: 600; font-size: 14px; }
.etape h1 [data-champ="agence"] { color: var(--corail-fonce); }

/* flotte */
.champs-flotte { grid-template-columns: 1fr 1fr; }
.champs-flotte:has(> label[hidden]) { grid-template-columns: 1fr; }
.compteur { margin: 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-weight: 600; color: var(--gris); }
.compteur b { font-family: var(--titre); font-size: 28px; font-weight: 700; color: var(--foret); line-height: 1; font-variant-numeric: tabular-nums; }
.compteur small { width: 100%; font-size: 13px; font-weight: 500; }
.modeles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.modele {
  display: grid; justify-items: center; gap: 1px; min-height: 64px; padding: 7px 4px 6px; border-radius: 10px; cursor: pointer;
  border: 1.5px solid var(--ligne); background: #fff; font-weight: 700; font-size: 14px; color: var(--foret);
  transition: border-color .15s, background-color .15s;
}
.modele:hover { border-color: var(--foret); }
.modele svg { width: 50px; height: 23px; }
.modele small { font-size: 11.5px; font-weight: 500; color: var(--gris); }
.modele .nb { min-height: 14px; font-size: 11.5px; color: var(--vert); font-weight: 700; }
.modele.top { background: var(--fond-doux); }
.modele:disabled { opacity: .4; cursor: default; }

/* premier client */
.notif {
  display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px;
  background: var(--foret); color: var(--sable);
  animation: glisse .45s var(--douce) both;
}
.notif > span:last-child { display: grid; font-size: 14px; color: #cfdcd3; }
.notif b { color: var(--sable); font-size: 15px; }
.notif-icone { flex: none; width: 38px; height: 38px; border-radius: 50%; background: rgba(245, 236, 221, .12); display: grid; place-items: center; }
.notif-icone svg { width: 20px; height: 20px; fill: none; stroke: var(--laiton); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes glisse { from { opacity: 0; transform: translateY(-8px); } }
.liste-ok { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.liste-ok li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.liste-ok li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--vert)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.argent { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.argent b { font-family: var(--titre); font-weight: 700; font-size: 40px; line-height: 1; color: var(--vert); font-variant-numeric: tabular-nums; }
.argent small { font-size: 13px; font-weight: 600; color: var(--gris); }

/* retour */
.constat { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.constat caption { text-align: left; font-size: 12.5px; color: var(--gris); padding-bottom: 6px; }
.constat th, .constat td { padding: 7px 6px; border-bottom: 1px solid var(--ligne); text-align: left; }
.constat thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--gris); }
.constat tbody th { font-weight: 600; color: var(--gris); }
.constat td { font-weight: 700; }
.constat td.ok { color: var(--vert); }
.caution { margin: 0; padding: 12px 14px; border-radius: 10px; background: #e7f3ec; color: #155c37; animation: glisse .35s var(--douce) both; }

/* automatisme */
.statut {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--ligne); background: var(--fond-doux);
}
.statut-voiture { font-weight: 700; color: var(--foret); }
.statut-valeur {
  font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: #ece3d2; color: var(--gris);
  transition: background-color .4s var(--douce), color .4s var(--douce);
}
.statut.change .statut-valeur { background: #fdf0d9; color: #8a5300; }

/* ---------------------------------------------------------------- phase libre : tableau de l'agence */
.etape-libre { gap: 10px; }
.libre-tete { display: grid; gap: 2px; }
.etape-libre h1 { font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.etape-libre h1 [data-champ="agence"] { color: var(--foret); }
.consigne { margin: 0; color: var(--gris); font-size: 14px; }
.date { margin: 0; font-size: 13px; font-weight: 700; color: var(--corail-texte); }
.date::first-letter { text-transform: uppercase; }
.compteurs { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.compteurs div { padding: 7px 9px; border-radius: 10px; background: var(--fond-doux); border: 1px solid var(--ligne); min-width: 0; }
.compteurs dt { font-size: 11.5px; font-weight: 600; color: var(--gris); line-height: 1.2; }
.compteurs dt small { font-weight: 500; }
.compteurs dd { margin: 2px 0 0; font-family: var(--titre); font-weight: 700; font-size: 20px; color: var(--foret); font-variant-numeric: tabular-nums; white-space: nowrap; }
.compteurs .monte { animation: monte .9s var(--douce); }
.compteurs .monte dd { color: var(--vert); }
@keyframes monte { 30% { background: #e7f3ec; border-color: #9fd0b2; } }
.taches { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.taches:empty { display: none; }
.tache {
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 12px;
  background: var(--foret); color: #cfdcd3; font-size: 13px;
}
.tache.nouvelle { animation: glisse .45s var(--douce) both; }
.tache-texte { display: grid; flex: 1; min-width: 0; }
.tache-texte b { color: var(--sable); font-size: 14.5px; }
.bouton.petit { width: auto; flex: none; min-height: 44px; padding: 8px 12px; font-size: 15px; }
/* sur les tâches vert forêt, l'action passe en sable pour rester visible */
.tache .bouton.principal { background: var(--sable); color: var(--foret); box-shadow: none; }
.tache .bouton.principal:hover:not(:disabled) { background: #fff; }
.vues { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.vue {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 6px 8px;
  border: 1.5px solid var(--foret); border-radius: 999px; background: transparent; color: var(--foret); font-weight: 700; font-size: 14.5px; cursor: pointer;
}
.vue:hover { background: var(--fond-doux); }
.vue svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* démo personnalisée : besoins cités par le prospect, chacun ouvre la vue qui y répond */
.besoins { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.besoin {
  width: 100%; min-height: 44px; display: grid; gap: 2px; text-align: left; padding: 8px 12px; cursor: pointer;
  border: 1.5px solid var(--laiton); border-radius: 12px; background: #fbf0d8; color: var(--encre);
}
.besoin b { font-weight: 700; }
.besoin span { color: var(--foret); font-size: 13.5px; font-weight: 600; }
.besoin:hover { background: #f7e5bd; }
.reserve { display: grid; gap: 4px; }
.reserve-titre { margin: 0; font-size: 12px; font-weight: 700; color: var(--gris); text-transform: uppercase; letter-spacing: .06em; }
/* deux colonnes sur téléphone, le lien de réservation sur toute la largeur : rien n'est coupé à 390 px */
.reserve-liste { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.reserve-liste [data-fonction="lien_reservation"] { grid-column: 1 / -1; }
.verrou {
  display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 44px; padding: 6px 10px;
  border: 1px dashed #c9b99c; border-radius: 10px; background: var(--fond-doux); color: var(--foret); font-size: 13.5px; font-weight: 600; cursor: pointer;
  text-align: left; line-height: 1.2;
}
.verrou::before, .motif::before {
  content: ""; flex: none; width: 13px; height: 13px; opacity: .75;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='11' width='14' height='10' rx='2' fill='%230e3b2e'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3' fill='none' stroke='%230e3b2e' stroke-width='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.motif { margin: 0; display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--foret); }

/* ---------------------------------------------------------------- volet : fiche du véhicule, planning, caisse, factures */
.volet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 18;
  max-height: min(56dvh, calc(100dvh - var(--hud-h) - 150px)); overflow-y: auto; overscroll-behavior: contain;
  background: var(--papier); border-radius: 22px 22px 0 0; padding: 0 18px calc(18px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 30px rgba(30, 42, 36, .2);
}
.volet.glisse { animation: volet-bas .38s var(--douce) both; }
/* téléphone : le volet ouvert prend la place de la carte du bas */
@media (max-width: 899px) {
  body.volet-ouvert .carte { visibility: hidden; }
  /* constat : le volet monte plus haut, la voiture reste visible au-dessus */
  .volet.large { max-height: calc(100dvh - var(--hud-h) - 96px); }
}
@keyframes volet-bas { from { transform: translateY(40%); opacity: 0; } }
.volet-tete {
  position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin: 0 -18px 4px; padding: 12px 10px 8px 18px; background: var(--papier); border-bottom: 1px solid var(--ligne);
}
.volet-tete h2 { margin: 0; font-family: var(--titre); font-weight: 700; font-stretch: 88%; font-size: 21px; color: var(--foret); line-height: 1.15; }
.volet-tete h2:focus { outline: none; }
.fermer { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--fond-doux); color: var(--foret); cursor: pointer; }
.fermer svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.volet-corps { display: grid; gap: 10px; padding-top: 8px; }
.volet-corps h3 { margin: 4px 0 0; font-size: 13px; font-weight: 700; color: var(--corail-texte); text-transform: uppercase; letter-spacing: .06em; }
.volet-corps .bouton { min-height: 48px; }
.note { margin: 0; font-size: 13px; color: var(--gris); }
.qui { margin: 0; font-size: 15px; }
.qui b { color: var(--foret); }
.puce { justify-self: start; margin: 0; padding: 4px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: #e7f3ec; color: #155c37; }
.puce.attention { background: #fdf0d9; color: #8a5300; }
.puce.location { background: #e3ebe3; color: var(--foret); }
.puce.lavage { background: #e3eefb; color: #1f4f8a; animation: glisse .4s var(--douce) both; }
.auto { margin: 0; padding: 10px 12px; border-radius: 10px; background: #e3eefb; color: #1f4f8a; font-weight: 600; font-size: 14px; }
.infos { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.infos dt { font-size: 12px; color: var(--gris); font-weight: 600; }
.infos dd { margin: 0; font-weight: 700; color: var(--encre); font-variant-numeric: tabular-nums; }
.actions { display: grid; gap: 8px; }
.retour { display: grid; gap: 10px; }
.segments { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.segments legend { padding: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--gris); }
.segments label { position: relative; }
.segments input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segments span {
  display: grid; place-items: center; min-height: 44px; border-radius: 10px; border: 1.5px solid var(--ligne); background: var(--fond-doux);
  font-weight: 700; color: var(--foret); cursor: pointer;
}
.segments input:checked + span { background: var(--foret); border-color: var(--foret); color: var(--sable); }
.segments input:focus-visible + span { outline: 3px solid var(--corail-fonce); outline-offset: 2px; }
.case { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: 14px; color: var(--encre); cursor: pointer; }
.case input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--foret); }
.recap { display: grid; gap: 4px; padding: 10px 12px; border-radius: 10px; background: var(--fond-doux); font-size: 14px; }
.recap p { margin: 0; display: flex; justify-content: space-between; gap: 10px; }
.recap p.total { color: var(--vert); font-weight: 600; }
.planning { display: grid; gap: 4px; font-size: 12.5px; }
.pl-ligne { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 6px; align-items: center; }
.pl-jours { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; color: var(--gris); }
.pl-jours span { display: grid; line-height: 1.15; text-transform: capitalize; }
.pl-jours b { color: var(--encre); font-size: 14px; }
.pl-jours .aujourdhui { color: var(--corail-texte); font-weight: 700; }
.pl-jours .aujourdhui b { color: var(--corail-texte); }
.pl-voiture {
  display: grid; justify-items: start; min-height: 44px; padding: 3px 4px; border: 0; border-radius: 8px; background: none; cursor: pointer;
  font-weight: 700; color: var(--foret); text-align: left; line-height: 1.15;
}
.pl-voiture small { font-weight: 500; font-size: 11px; color: var(--gris); }
.pl-voiture:hover { background: var(--fond-doux); }
.pl-piste {
  position: relative; height: 36px; border-radius: 8px;
  background: repeating-linear-gradient(90deg, var(--fond-doux) 0 calc(100% / 7 - 2px), #fff calc(100% / 7 - 2px) calc(100% / 7));
}
/* repère du jour simulé : trait vertical au milieu de la colonne */
.pl-piste::after {
  content: ""; position: absolute; top: -2px; bottom: -2px; width: 2px; border-radius: 2px; background: var(--corail-fonce); opacity: .7;
  left: calc(100% / 7 * (var(--aujourdhui) + .5) - 1px);
}
.barre {
  display: inline-flex; align-items: center; padding: 0 6px; border-radius: 6px; font-weight: 700; font-size: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--foret); color: var(--sable);
}
.pl-piste .barre {
  position: absolute; top: 4px; bottom: 4px; left: calc(100% / 7 * var(--debut)); width: calc(100% / 7 * var(--duree) - 2px);
  animation: barre .5s var(--douce) both; transform-origin: left;
}
@keyframes barre { from { transform: scaleX(.2); opacity: 0; } }
.barre.prete { background: #e8a33b; color: #3d2600; }
.barre.fini { background: #b9cfc2; color: #1f3d2d; }
.barre.attente { background: #fff; color: #8a5300; border: 1.5px dashed #e8a33b; }
.pl-attente .pl-voiture { cursor: default; color: #8a5300; }
.legende { margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.legende .barre { padding: 3px 8px; }
.simple { margin: 0; padding-left: 18px; }
.lignes { list-style: none; margin: 0; padding: 0; display: grid; }
.lignes li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--ligne); font-size: 14px; }
.lignes li span { display: grid; }
.lignes small { color: var(--gris); font-size: 12px; }
.lignes b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.facture { display: grid; gap: 6px; padding: 14px; border: 1px solid var(--ligne); border-radius: 10px; font-size: 14px; background: #fff; box-shadow: 0 2px 10px rgba(30, 42, 36, .06); }
.facture header { display: grid; gap: 1px; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 2px solid var(--laiton); }
.facture header b { font-family: var(--titre); font-size: 20px; color: var(--foret); text-transform: uppercase; letter-spacing: .02em; }
.facture header span { color: var(--gris); font-size: 13px; }
.facture .facture-num { color: var(--encre); font-weight: 600; }
.facture > p { margin: 0; display: flex; justify-content: space-between; gap: 10px; }
.facture > p span { color: var(--gris); }
.facture > p b { text-align: right; }
.facture table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.facture td, .facture th { padding: 6px 0; border-bottom: 1px solid var(--ligne); text-align: left; }
.facture td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.facture tfoot th, .facture tfoot td { border-bottom: 0; font-size: 16px; color: var(--foret); }
.facture .regle { display: block; color: var(--gris); font-size: 13px; }
.facture .note { display: block; }

/* ---------------------------------------------------------------- constats de départ et de retour */
.constat-carte { display: grid; gap: 10px; }
.constat-carte h3 { margin: 4px 0 0; font-size: 13px; font-weight: 700; color: var(--corail-texte); text-transform: uppercase; letter-spacing: .06em; }
.constat-carte:empty { display: none; }
.schemas { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.schema { margin: 0; display: grid; gap: 2px; justify-items: center; min-width: 0; }
.schema.dessus, .schemas.saisie .schema, .schemas.saisie .cotes { grid-column: 1 / -1; }
.schema figcaption { font-size: 12px; color: var(--gris); }
.schema-svg { display: block; width: 100%; height: auto; max-width: 380px; overflow: visible; }
.schema-svg .z { fill: #efe6d6; stroke: #fff; stroke-width: 1.4; transition: fill .2s; }
.schema-svg .z.vitre { fill: #cddcde; }
.schema-svg [data-zone^="retro"] { stroke: var(--foret); stroke-width: 1.2; }
.schema-svg [data-zone^="jante"] { fill: #c9cfcc; stroke: #2a332e; stroke-width: 1.5; }
.schema-svg .z.existant { fill: #d4d1ca; }
.schema-svg .z.nouveau { fill: #f8c4b6; }
.schema-svg .z.choisie { fill: #fbd98f; stroke: var(--foret); stroke-width: 2; }
.schema-svg[data-interactif] .z { cursor: pointer; }
.schema-svg[data-interactif] .z:hover { fill: #f6dcae; }
.schema-svg .z:focus { outline: none; }
.schema-svg .z:focus-visible { stroke: var(--corail-fonce); stroke-width: 3; }
.schema-svg .contour { fill: none; stroke: var(--foret); stroke-width: 1.6; pointer-events: none; }
.schema-svg .pneu { fill: #2a332e; }
.pastille { pointer-events: none; }
.pastille circle { stroke: #fff; stroke-width: 1.5; }
.pastille.existant circle { fill: #737b76; }
.pastille.nouveau circle { fill: var(--corail-fonce); }
.pastille path { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.photos-faces { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.photo-face { margin: 0; position: relative; min-width: 0; border-radius: 8px; overflow: hidden; background: #ead9c0; }
.photo-svg { display: block; width: 100%; height: auto; }
.photo-svg .verre { fill: #b9ccd0; }
.photo-svg .releve { fill: none; stroke-width: 1.8; }
.photo-svg .releve.existant { stroke: #5f6762; stroke-dasharray: 3 2; }
.photo-svg .releve.nouveau { stroke: var(--corail-fonce); stroke-width: 2.2; }
.photo-face figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 6px; font-size: 11.5px; font-weight: 600; color: #fff; background: rgba(30, 42, 36, .64); }
.face-tete { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; }
.fleche {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--foret);
  background: #fff; color: var(--foret); cursor: pointer;
}
.fleche:hover { background: var(--fond-doux); }
.fleche svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.face-nom { margin: 0; display: grid; justify-items: center; line-height: 1.2; }
.face-nom b { font-family: var(--titre); font-size: 17px; color: var(--foret); }
.face-nom span { font-size: 12px; color: var(--gris); }
.comparaison { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.comparaison .photo-face + .photo-face { box-shadow: inset 0 0 0 2px var(--foret); }
.cotes, .choix { display: flex; flex-wrap: wrap; gap: 6px; }
.cotes { justify-content: center; }
.puce-choix {
  min-height: 44px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--ligne); background: var(--fond-doux);
  color: var(--foret); font-weight: 700; font-size: 14px; cursor: pointer;
}
.puce-choix[aria-pressed="true"] { background: var(--foret); border-color: var(--foret); color: var(--sable); }
.choix-zone { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--gris); }
.choix-zone select {
  min-height: 44px; padding: 8px 10px; border: 1.5px solid var(--ligne); border-radius: 10px; background: #fff;
  font: inherit; font-size: 16px; color: var(--encre);
}
.panneau-zone { display: grid; gap: 8px; padding: 12px; border-radius: 12px; border: 1.5px solid var(--foret); background: #fff; }
.panneau-zone.existant { border-color: #b8b5ad; background: #f3f1ec; }
.panneau-zone.nouveau { border-color: var(--corail-fonce); background: #fdf1ed; }
.panneau-zone p { margin: 0; font-size: 14px; }
.panneau-zone .panneau-titre { font-family: var(--titre); font-weight: 700; font-size: 17px; color: var(--foret); }
.panneau-zone .choix-titre { font-size: 12px; font-weight: 700; color: var(--gris); text-transform: uppercase; letter-spacing: .05em; }
.gros-plan-ligne { display: flex; align-items: center; gap: 10px; }
.gros-plan { flex: none; width: 96px; height: 64px; border-radius: 8px; border: 1px solid var(--ligne); }
.gros-plan-ligne p { display: grid; gap: 1px; font-size: 13px; color: var(--gris); }
.gros-plan-ligne b { font-size: 14.5px; color: var(--encre); }
.actions-zone { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.volet-corps .actions-zone .bouton { font-size: 16px; padding: 10px 12px; }
.degats { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.degats li { display: grid; gap: 2px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--ligne); background: var(--fond-doux); font-size: 14px; }
.degats small { font-size: 12.5px; color: var(--gris); }
.degats .etiquette {
  justify-self: start; padding: 1px 8px; border-radius: 999px; background: #dedbd4; color: #4c524e;
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.degats li.existant b { color: #4c524e; }
.degats li.nouveau { border: 1.5px solid var(--corail); background: #fdf1ed; }
.degats li.nouveau .etiquette { background: var(--corail-fonce); color: #fff; }
.degats li.nouveau b, .degats li.nouveau small:first-of-type { color: var(--corail-texte); }
.degats li.nouveau small:first-of-type { font-weight: 700; }
.degats li.aucun { color: var(--gris); }
.frais-ligne { display: flex; align-items: flex-end; gap: 8px; margin-top: 4px; }
.frais-ligne label { flex: 1; display: grid; gap: 2px; font-size: 12.5px; font-weight: 600; color: var(--gris); }
.montant { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; color: var(--encre); }
.montant input { width: 100%; max-width: 140px; min-height: 44px; padding: 8px 10px; border: 1.5px solid var(--ligne); border-radius: 10px; background: #fff; font-size: 16px; }
.non-facture { flex: 1; display: flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--gris); }
.ecart { margin: -4px 0 0; display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--gris); }
.ecart b { color: var(--foret); text-align: right; }
.recap p.retenue { color: var(--corail-texte); font-weight: 600; }
.recap p.reste { color: #8a5300; font-weight: 600; }
.signature { display: grid; gap: 2px; min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1.5px dashed #c9b99c; background: #fff; }
.signature.signee { border-style: solid; border-color: var(--ligne); }
.signature p { margin: 0; font-size: 13px; color: var(--gris); }
.signature-svg { width: 160px; max-width: 100%; height: 40px; }
.signature-svg path { fill: none; stroke: #1f3a5c; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; animation: trace 1.1s var(--douce) both; }
@keyframes trace { from { stroke-dashoffset: 600; } }
.constat-doc { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--ligne); border-radius: 10px; background: #fff; font-size: 14px; box-shadow: 0 2px 10px rgba(30, 42, 36, .06); }
.constat-doc header { display: grid; gap: 1px; padding-bottom: 8px; border-bottom: 2px solid var(--laiton); }
.constat-doc header b { font-family: var(--titre); font-size: 20px; color: var(--foret); text-transform: uppercase; letter-spacing: .02em; }
.constat-doc header span { font-size: 13px; color: var(--gris); }
.constat-doc header .doc-titre { font-family: var(--titre); font-size: 16px; font-weight: 700; color: var(--corail-texte); }
.constat-doc > p { margin: 0; display: flex; justify-content: space-between; gap: 10px; }
.constat-doc > p span { color: var(--gris); }
.constat-doc > p.note { display: block; }
.doc-releves { width: 100%; border-collapse: collapse; font-size: 13px; }
.doc-releves th, .doc-releves td { padding: 6px 4px; border-bottom: 1px solid var(--ligne); text-align: left; vertical-align: top; }
.doc-releves thead th { font-size: 11px; color: var(--gris); text-transform: uppercase; letter-spacing: .04em; }
.doc-releves td small { display: block; color: var(--gris); }
.doc-releves tr.existant td { color: #4c524e; }
.doc-releves tr.nouveau th, .doc-releves tr.nouveau td { background: #fdf1ed; color: var(--corail-texte); font-weight: 700; }
.doc-legende { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px !important; color: var(--gris); justify-content: flex-start !important; }
.pastille-legende { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.pastille-legende.existant { background: #737b76; }
.pastille-legende.nouveau { background: var(--corail-fonce); margin-left: 8px; }
.doc-photos { display: grid; gap: 8px; }
.doc-face { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.doc-face > p { grid-column: 1 / -1; margin: 0; font-size: 12.5px; font-weight: 700; color: var(--foret); }
.doc-signatures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.doc-signatures > div > p { margin: 0 0 4px; font-size: 12px; font-weight: 700; color: var(--gris); }
.doc-signatures .signature { padding: 6px; }
.doc-signatures .signature p { font-size: 11.5px; }

/* ---------------------------------------------------------------- blocage */
body[data-etape="blocage"] #scene { filter: saturate(.55) brightness(.92); pointer-events: none; }
.voile {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: end center; padding-bottom: 36px;
  background: rgba(30, 42, 36, .12); animation: fondu .6s var(--douce) both;
}
@keyframes fondu { from { opacity: 0; } }
.voile-texte {
  margin: 0; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #fff; background: rgba(30, 42, 36, .78); padding: 6px 12px; border-radius: 999px;
}
.voile-texte svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.etape-blocage { gap: 11px; }
.etape-blocage h1 { font-size: 24px; }
.verrous { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.verrous li {
  position: relative; display: grid; gap: 2px; padding: 9px 10px 9px 32px; border-radius: 10px;
  background: var(--fond-doux); border: 1px solid var(--ligne); font-size: 12.5px; color: var(--gris);
}
.verrous li b { font-size: 14px; color: var(--foret); }
.verrous li::before {
  content: ""; position: absolute; left: 10px; top: 11px; width: 14px; height: 14px; opacity: .7;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='11' width='14' height='10' rx='2' fill='%230e3b2e'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3' fill='none' stroke='%230e3b2e' stroke-width='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bandeau-promo { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--laiton); color: var(--foret-fonce); font-size: 14.5px; line-height: 1.35; }
.formules { display: grid; gap: 10px; }
.formule {
  display: grid; gap: 6px; padding: 14px; border-radius: 14px;
  background: #fff; border: 1px solid var(--ligne); color: var(--gris); font-size: 14.5px; line-height: 1.4;
}
.formule h2 { margin: 0; font-family: var(--titre); font-weight: 700; font-stretch: 88%; font-size: 19px; line-height: 1.15; color: var(--foret); }
.formule p { margin: 0; }
.formule-prix { color: var(--encre); }
.formule-prix b { font-family: var(--titre); font-weight: 700; font-size: 24px; color: var(--foret); }
.formule-prix b, .formule-detail span { white-space: nowrap; }
.formule .bouton { min-height: 48px; padding: 10px 18px; font-size: 16.5px; gap: .3em; }
.formule .bouton:first-of-type { margin-top: 4px; }
.formule.recommandee { background: var(--foret); border-color: var(--foret); color: #e4ddd0; box-shadow: 0 8px 22px rgba(14, 59, 46, .22); }
.recommandee h2, .recommandee .formule-prix { color: #fff; }
.recommandee .formule-prix b { color: var(--laiton); }
.formule-badge {
  justify-self: start; padding: 3px 10px; border-radius: 999px; background: var(--laiton); color: var(--foret-fonce);
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.formule-plus { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.formule-plus li { position: relative; padding-left: 22px; }
.formule-plus li.offert { margin-top: 4px; padding: 8px 10px 8px 32px; border-radius: 8px; background: rgba(226, 174, 74, .16); color: #fff; font-weight: 600; }
.formule-plus li.offert::before { left: 12px; top: 13px; }
.formule-plus li::before {
  content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px;
  border-left: 2.4px solid var(--laiton); border-bottom: 2.4px solid var(--laiton); transform: rotate(-45deg);
}
.recommandee .bouton.principal { background: var(--sable); color: var(--foret); box-shadow: none; }
.recommandee .bouton.principal:hover { background: #fff; }
.recommandee .bouton.secondaire { color: var(--sable); border-color: rgba(245, 236, 221, .7); }
.options { display: grid; }
.options-titre { margin: 0 0 2px; font-size: 12.5px; font-weight: 700; color: var(--gris); text-transform: uppercase; letter-spacing: .08em; }
.option {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center;
  min-height: 44px; padding: 7px 2px; border-top: 1px solid var(--ligne); text-decoration: none; font-size: 14px; line-height: 1.3;
}
.option b { font-weight: 600; color: var(--foret); }
.option span { grid-column: 1; font-size: 12.5px; color: var(--gris); }
.option em { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-weight: 700; color: var(--foret); white-space: nowrap; }
@media (hover: hover) { .option:hover b { text-decoration: underline; } }
body.replie .carte .etape-blocage > :not(.bouton):not(.lien):not(h1) { display: none; }
body.replie .etape-blocage h1 { font-size: 19px; }

.annonce { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* anneau posé sur la voiture à toucher (suit la projection écran de la scène) ; seul le halo pulse, la consigne reste nette */
.cible {
  position: absolute; left: 0; top: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  border: 3px solid var(--corail); box-shadow: 0 0 0 3px rgba(30, 42, 36, .3);
  will-change: translate;
}
.cible::before {
  content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--corail);
  animation: cible 1.6s ease-out infinite;
}
.cible::after {
  content: "Touche"; position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-50%);
  background: var(--foret); color: var(--sable); font-weight: 700; font-size: 13px; border-radius: 999px; padding: 3px 11px;
}
@keyframes cible { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }

/* ---------------------------------------------------------------- ordinateur : panneau à droite */
@media (min-width: 900px) {
  :root { --panneau: 420px; }
  .scene-zone { height: calc(100dvh - var(--hud-h)); }
  .hud { padding: 12px 24px; }
  .carte {
    left: auto; top: 0; width: var(--panneau); max-height: none; height: 100dvh; border-radius: 0;
    padding: 32px 30px; display: flex; flex-direction: column; justify-content: center;
    box-shadow: -8px 0 28px rgba(30, 42, 36, .1);
  }
  h1 { font-size: 32px; }
  .etape-accueil h1 { font-size: 40px; }
  .etape-blocage h1 { font-size: 28px; }
  .etape { gap: 16px; }
  .chapo { font-size: 17px; }
  .carte:has(.etape-libre) { justify-content: flex-start; }
  .carte:has(.etape-blocage) { justify-content: flex-start; }
  .etape-libre { gap: 14px; }
  .etape-libre h1 { font-size: 26px; }
  .compteurs dd { font-size: 22px; }
  .reserve-liste { grid-template-columns: 1fr; }
  .volet {
    left: auto; right: calc(var(--panneau) + 16px); bottom: auto; top: calc(var(--hud-h) + 16px);
    width: min(420px, calc(100vw - var(--panneau) - 32px)); max-height: calc(100dvh - var(--hud-h) - 32px);
    border-radius: 18px; padding: 0 20px 20px; box-shadow: 0 16px 40px rgba(30, 42, 36, .22);
  }
  .volet[data-type="planning"], .volet[data-type="caisse"], .volet[data-type="facture"] { width: min(620px, calc(100vw - var(--panneau) - 32px)); }
  .volet.large { width: min(660px, calc(100vw - var(--panneau) - 32px)); }
  .volet.large .photos-faces { grid-template-columns: repeat(4, 1fr); }
  .volet.large .doc-photos { grid-template-columns: 1fr 1fr; }
  .volet-tete { margin: 0 -20px 4px; padding: 14px 12px 10px 20px; }
  .volet.glisse { animation-name: volet-cote; }
  @keyframes volet-cote { from { transform: translateX(24px); opacity: 0; } }
  .pl-ligne { grid-template-columns: 96px minmax(0, 1fr); }
}
@media (min-width: 1280px) {
  .hud { grid-template-columns: auto minmax(0, 1fr) 560px; gap: 22px; min-height: 72px; }
  .hud-agence { display: grid; gap: 2px; }
  .pas { column-gap: 10px; }
  body:not([data-etape="accueil"]):not([data-etape="inscription"]) .hud-logo { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* impression du constat contradictoire : le document seul, sur papier blanc */
@media print {
  @page { margin: 12mm; }
  html, body { height: auto; overflow: visible; background: #fff; }
  body > :not(#volet), .volet-tete, .volet-corps > :not(.constat-doc) { display: none !important; }
  .volet { position: static !important; width: auto !important; max-height: none !important; overflow: visible !important; padding: 0 !important; box-shadow: none !important; animation: none !important; }
  .constat-doc { border: 0; box-shadow: none; padding: 0; }
  .doc-photos { grid-template-columns: 1fr 1fr; }
  .constat-doc, .doc-face, .doc-signatures, .doc-releves tr { break-inside: avoid; }
  .signature-svg path { animation: none; }
}
