:root { --fond: #1f2a36; --clair: #f4f1ea; --accent: #e8a33d; --gris: #8a96a3; --rouge: #d9534f; --vert: #4caf72; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--clair); color: #1b1b1b; font: 16px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
header { background: var(--fond); color: #fff; padding: 14px 16px calc(14px) ; padding-top: max(14px, env(safe-area-inset-top)); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; }
header h1 { font-size: 18px; margin: 0; }
.etat { font-size: 13px; display: flex; align-items: center; gap: 6px; }
.etat::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gris); }
.etat.en-ligne::before { background: var(--vert); }
.etat.hors-ligne::before { background: var(--rouge); }
.page { padding: 16px; max-width: 640px; margin: 0 auto; }
.resume { color: #555; font-size: 14px; margin: 0 0 12px; }
ul.projets { list-style: none; margin: 0; padding: 0; }
ul.projets li { background: #fff; border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.ref { font-size: 12px; color: var(--gris); letter-spacing: .02em; }
.titre { font-weight: 600; margin: 2px 0; }
.tiers { font-size: 14px; color: #444; }
form { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
input { font-size: 17px; padding: 12px; border: 1px solid #c9c4b8; border-radius: 8px; background: #fff; }
button { font-size: 17px; padding: 13px; border: 0; border-radius: 8px; background: var(--fond); color: #fff; font-weight: 600; }
button.secondaire { background: transparent; color: var(--fond); border: 1px solid var(--fond); padding: 8px 12px; font-size: 14px; }
.erreur { color: var(--rouge); }
.ok { color: var(--vert); font-weight: 600; }
footer { text-align: center; color: var(--gris); font-size: 12px; padding: 20px 0 calc(20px + env(safe-area-inset-bottom)); }
ul.projets li { cursor: pointer; }
.brouillon { display: inline-block; font-size: 11px; color: #7a5a1c; background: #f6e3bd; border-radius: 4px; padding: 0 6px; margin-left: 4px; }
.site { font-size: 13px; color: #666; }
input[type=search] { width: 100%; margin-bottom: 10px; }
.projet-choisi { background: var(--fond); color: #fff; border-radius: 12px; padding: 14px; position: sticky; top: 60px; }
.projet-choisi .ref, .projet-choisi .site { color: #b9c3cd; }
.projet-choisi .tiers { color: #e6e6e6; }
.projet-choisi .secondaire { color: #fff; border-color: #fff; margin-top: 10px; }
.attente { text-align: center; color: #555; margin: 14px 0 6px; }
.attente.a-envoyer { color: #9a5b00; font-weight: 600; }
.messages { display: flex; flex-direction: column; gap: 10px; }
.alerte { background: #fbe9e7; border-left: 4px solid var(--rouge); padding: 10px 12px; border-radius: 6px; font-size: 14px; }
.question { background: #fff; border-left: 4px solid var(--accent); padding: 10px 12px; border-radius: 6px; display: flex; flex-direction: column; gap: 8px; }
.question p { margin: 0; font-size: 14px; }
.question button { font-size: 15px; padding: 11px; }
.probleme { text-align: center; color: var(--rouge); font-size: 13px; margin: 0 0 8px; }

.tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 8px; }
.tuile { aspect-ratio: 1 / 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; text-align: center;
  background: #fff; color: var(--fond); border: 2px solid var(--fond); border-radius: 14px; padding: 12px; font-weight: 400; }
.tuile b { font-size: 17px; line-height: 1.25; }
.tuile span { font-size: 13px; color: #555; }
.tuile:disabled { background: #ebe8e1; border-color: #d3cec3; color: #9a958b; }
.tuile:disabled span { color: #9a958b; font-style: italic; }
.voile { position: fixed; inset: 0; background: rgba(20, 26, 33, .55); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 10; }
.boite { background: #fff; border-radius: 14px; padding: 20px; max-width: 420px; width: 100%; overflow: hidden; }
.boite p { font-size: 18px; margin: 0 0 16px; }
.choix { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choix .secondaire { font-size: 17px; padding: 13px; }
.vignettes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; max-height: 40vh; overflow: auto; }
.vignettes img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; }
[hidden] { display: none !important; }

/* ---------- B2 : repère sur photo ---------- */
body.fige { overflow: hidden; }
#confirmation { z-index: 40; }
/* Trois tuiles qui restent dans la boîte, quelle que soit la taille du texte du téléphone (débordement vu par Michel en v0.4.1) */
.tuiles.trois { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
.tuiles.trois .tuile { aspect-ratio: auto; min-width: 0; min-height: 130px; padding: 10px 3px; gap: 6px; overflow-wrap: break-word; }
.tuiles.trois .tuile b { font-size: 14px; }
.tuiles.trois .tuile span { font-size: 12px; }
.secondaire.large { width: 100%; font-size: 16px; padding: 11px; }
.plein { position: fixed; inset: 0; background: var(--clair); z-index: 20; display: flex; flex-direction: column; }
.plein-haut { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; padding-top: max(10px, env(safe-area-inset-top)); background: var(--fond); color: #fff; font-size: 14px; }
.plein-haut .secondaire { color: #fff; border-color: #fff; }
.plein-haut button:not(.secondaire) { background: var(--accent); color: var(--fond); padding: 8px 16px; font-size: 16px; }
.plein-haut button:disabled { opacity: .45; }
.grille-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px; overflow: auto; }
.grille-photos button { padding: 0; background: #fff; color: #555; border-radius: 8px; overflow: hidden; font-weight: 400; display: flex; flex-direction: column; }
.grille-photos img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.grille-photos span { font-size: 11px; padding: 3px; }
.editeur { background: #11171e; }
.rep-projet { flex: 1; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rep-milieu { flex: 1; display: flex; min-height: 0; }
.rep-zone { flex: 1; position: relative; overflow: hidden; touch-action: none; }
.rep-scene { position: absolute; transform-origin: 0 0; }
.rep-scene img { width: 100%; height: 100%; display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; }
#rep-croix { position: absolute; inset: 0; }
.rep-cote { width: 64px; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 14px 4px; background: #1f2a36; touch-action: none; }
.rep-outil { width: 54px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; font-size: 11px; background: transparent; padding: 6px 0; border-radius: 8px; font-weight: 400; }
.rep-outil i { position: relative; width: 34px; height: 34px; }
#rep-nouvelle { border: 2px dashed var(--accent); }
.poubelle { font-size: 24px; border: 2px solid #c55; }
.poubelle:disabled { opacity: .3; }
.croix { position: absolute; width: 44px; height: 44px; transform: translate(-50%, -50%) scale(var(--inverse, 1)); }
.croix i, .rep-outil i { display: block; }
.croix i { position: absolute; inset: 6px; }
.croix i::before, .croix i::after, .rep-outil i::before, .rep-outil i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 120%; height: 4px; margin: -2px 0 0 -60%;
  background: #b8c0c8; box-shadow: 0 0 0 1.5px #1f2a36; border-radius: 2px; transform: rotate(45deg); }
.croix i::after, .rep-outil i::after { transform: rotate(-45deg); }
.rep-outil i::before, .rep-outil i::after, .croix.active i::before, .croix.active i::after, .fantome i::before, .fantome i::after { background: var(--accent); }
.croix b { position: absolute; left: 34px; top: -14px; font-size: 13px; background: #1f2a36; color: #b8c0c8; padding: 0 5px; border-radius: 4px; }
.croix.active b { color: var(--accent); }
.fantome { position: fixed; z-index: 50; pointer-events: none; transform: translate(-50%, -50%); }
.rep-bas { background: #fff; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
.rep-bas label { font-weight: 600; color: var(--fond); font-size: 14px; display: block; margin-bottom: 4px; }
.rep-bas textarea { width: 100%; font: inherit; font-size: 17px; padding: 10px; border: 1px solid #c9c4b8; border-radius: 8px; resize: none; }
.rep-bas textarea:disabled { background: #f1efe9; }
.poubelle span { font-size: 11px; }
#choix-repere .boite { padding: 18px 14px; }
.avis-photos { margin: 0; padding: 10px 12px; background: #fff4e0; border-left: 4px solid var(--accent); font-size: 14px; }
.chargement { grid-column: 1 / -1; text-align: center; color: #555; font-size: 14px; }
.grille-photos span i { color: #7a5a1c; font-style: normal; }
.grille-photos img:not([src]) { background: #ddd8cc; }

/* ---------- B3 : cote posée sur la photo ---------- */
.cot-calque { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.cot-aide { background: #1f2a36; color: #e6e6e6; text-align: center; font-size: 14px; line-height: 1.35; min-height: calc(2.7em + 18px); display: flex; align-items: center; justify-content: center; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); }
.cot-saisie { background: #fff; padding: 8px 12px calc(10px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 8px; }
.cot-valeur { display: flex; align-items: center; gap: 8px; }
.cot-valeur span { flex: 1; text-align: right; font-size: 30px; font-weight: 700; color: var(--fond); min-height: 40px; font-variant-numeric: tabular-nums; }
.cot-valeur i { font-style: normal; font-size: 18px; color: #555; margin-right: 6px; }
.cot-poubelle { background: transparent; color: #c55; border: 2px solid #c55; font-size: 20px; padding: 4px 10px; }
.cot-petit { background: transparent; color: var(--fond); border: 1px solid var(--fond); font-size: 14px; padding: 7px 10px; font-weight: 400; }
.cot-pave { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cot-pave button { background: #ebe8e1; color: #1b1b1b; font-size: 22px; padding: 9px 0; font-weight: 600; }
.cot-pave button:active { background: #d3cec3; }
.cot-qualif { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cot-qualif button { font-size: 19px; padding: 14px 0; }
#cot-mesuree { background: var(--fond); }
#cot-estimee { background: #fff; color: var(--fond); border: 2px dashed var(--fond); }
.cot-qualif button:disabled { opacity: .3; }
.cot-loupe { position: fixed; z-index: 60; width: 120px; height: 120px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,.6); pointer-events: none; background: #222; }
#cot-unite { z-index: 45; }
#cot-unite .choix button { font-size: 18px; padding: 16px 0; }
.cot-pave button:disabled { visibility: hidden; }
.cot-orient { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cot-orient button { font-size: 15px; padding: 9px 0; background: #fff; color: var(--fond); border: 1px solid #c9c4b8; font-weight: 400; }
.cot-orient button.choisi { background: var(--accent); border-color: var(--accent); color: var(--fond); font-weight: 700; }

/* Une couleur par tuile, toutes de même clarté et de même saturation (décidé, Michel, Survey 06) :
   la couleur fait reconnaître l'action avant même de lire ; le libellé reste écrit. Les tuiles « bientôt » restent grises. */
.tuiles > .tuile { --t: 210; background: hsl(var(--t) 62% 86%); border-color: hsl(var(--t) 45% 52%); color: hsl(var(--t) 55% 18%); }
.tuiles > .tuile span { color: hsl(var(--t) 30% 30%); }
#tuile-photo { --t: 36; }
#tuile-existantes { --t: 205; }
#tuile-note { --t: 275; }
#tuile-cote { --t: 140; }
#tuile-repere { --t: 352; }
#tuile-carte { --t: 55; }
#tuile-recap { --t: 235; }
.tuiles > .tuile:disabled { background: #ebe8e1; border-color: #d3cec3; color: #9a958b; }
.tuiles > .tuile:disabled span { color: #9a958b; }
.tuiles.trois .tuile { background: #fff; border-color: var(--fond); color: var(--fond); }
.tuiles.trois .tuile span { color: #555; }
.tuiles.trois .tuile:disabled { background: #ebe8e1; border-color: #d3cec3; color: #9a958b; }
.rep-ligne { display: flex; gap: 8px; align-items: stretch; }
.rep-ligne textarea { flex: 1; }
.rep-fini { background: var(--accent); color: var(--fond); padding: 0 12px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }

/* B4 — redresser et recadrer (contrat docs/contrats/B4-redresser-recadrer.md).
   Redresser est en bleu, forme et couleur à part de la cote (orange) : l'œil ne confond jamais les deux (décidé, Michel). */
.outils-photo { display: flex; gap: 8px; padding: 6px 10px; background: #1f2a36; }
.outils-photo button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; padding: 7px 8px; background: transparent; color: #fff; border: 1.5px solid #8a96a3; font-weight: 600; }
.outils-photo button span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.outils-photo button small { font-size: 10.5px; font-weight: 400; opacity: .8; display: none; }
.outils-photo .outil-redresser { color: #7db8ff; border-color: #2f8cff; }
.outils-photo .outil-redresser:disabled { color: #8a96a3; border-color: #4a5663; opacity: .8; }
.outils-photo .outil-redresser:disabled small { display: block; }
#cot-redr-fini { background: #2f8cff; color: #fff; }
#cot-redr-quitter { color: #fff; border-color: #fff; }
.outils-photo button:disabled { opacity: .45; }
.rec-cadre { position: absolute; border: 2px solid #fff; box-shadow: 0 0 0 9999px rgba(0,0,0,.6); }
.rec-scene-clip { overflow: hidden; }
.rec-cadre i { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border: 3px solid #fff; background: rgba(31,42,54,.6); border-radius: 4px; }
.rec-cadre i[data-h="nw"] { left: 0; top: 0; } .rec-cadre i[data-h="n"] { left: 50%; top: 0; } .rec-cadre i[data-h="ne"] { left: 100%; top: 0; }
.rec-cadre i[data-h="e"] { left: 100%; top: 50%; } .rec-cadre i[data-h="se"] { left: 100%; top: 100%; } .rec-cadre i[data-h="s"] { left: 50%; top: 100%; }
.rec-cadre i[data-h="sw"] { left: 0; top: 100%; } .rec-cadre i[data-h="w"] { left: 0; top: 50%; }
#rec-zone { overflow: hidden; }

/* ---------- B5 : la note ---------- */
.noteur { background: var(--clair); }
.note-corps { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px; min-height: 0; }
.note-ligne-titre { display: flex; align-items: center; gap: 10px; }
#note-titre { flex: 1; min-width: 0; font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; padding: 12px; }
#note-titre::placeholder { font-weight: 600; font-size: 17px; color: #a8a295; }
.pastille { flex: none; width: 34px; height: 34px; padding: 0; border-radius: 50%; background: #fff; color: hsl(275 45% 40%);
  border: 2px solid hsl(275 45% 52%); font: italic 700 18px/1 Georgia, serif; }
.note-aide-texte { margin: 0; background: hsl(275 62% 93%); border-left: 4px solid hsl(275 45% 52%); border-radius: 6px; padding: 10px 12px; font-size: 15px; color: hsl(275 55% 18%); }
#note-texte { flex: 1; min-height: 140px; resize: none; font: 17px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding: 12px; border: 1px solid #c9c4b8; border-radius: 8px; background: #fff; }

/* ---------- Relief (v0.7.4, Survey 09 — essai demandé par Michel, maquettes validées dans la conversation) ----------
   Le relief se déduit de la teinte de chaque tuile (--t) : fond clair, liseré et socle plus foncés, lumière sur l'arête
   du haut, ombre courte. Les boutons s'enfoncent au toucher ; la barre du haut et le cadre du projet, qui ne sont pas
   des boutons, ont un relief plus faible et ne bougent pas. Retour arrière : retirer ce bloc. */
header { z-index: 5; border-bottom: 5px solid #111820;
  box-shadow: inset 0 -8px 14px rgba(0,0,0,.30), inset 0 2px 0 #34475b, 0 6px 12px rgba(31,42,54,.40); }
.projet-choisi { border-radius: 16px; border: 1px solid #34475b; border-bottom: 6px solid #0f151c; padding-bottom: 16px;
  box-shadow: inset 0 3px 0 #405670, inset 0 -8px 14px rgba(0,0,0,.30), 0 7px 13px rgba(31,42,54,.42); }
.projet-choisi .secondaire { background: #34475b; color: #fff; border: 2px solid #5a7189; border-bottom: 5px solid #111820;
  border-radius: 14px; padding: 8px 16px; font-weight: 600;
  box-shadow: inset 0 2px 0 #6f87a0, 0 3px 7px rgba(0,0,0,.42); transition: transform 70ms ease-out, box-shadow 70ms, border-bottom-width 70ms, background-color 70ms; }
.projet-choisi .secondaire:active { transform: translateY(3px); border-bottom-width: 2px; background: #2b3b4c;
  box-shadow: inset 0 3px 6px rgba(0,0,0,.45), 0 1px 2px rgba(0,0,0,.4); }
.tuiles { gap: 14px; }
.tuile { -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
  transition: transform 70ms ease-out, box-shadow 70ms, border-bottom-width 70ms, background-color 70ms; }
.tuiles > .tuile { border-radius: 22px; border-width: 2px; border-bottom: 6px solid hsl(var(--t) 45% 38%);
  box-shadow: inset 0 3px 0 hsl(var(--t) 80% 94%), inset 0 -3px 7px hsl(var(--t) 45% 55% / .30), 0 4px 8px hsl(var(--t) 30% 25% / .26); }
.tuiles > .tuile:not(:disabled):active { transform: translateY(4px); border-bottom-width: 2px; background: hsl(var(--t) 58% 79%);
  box-shadow: inset 0 3px 7px hsl(var(--t) 40% 38% / .38), 0 1px 2px hsl(var(--t) 30% 25% / .25); }
.tuiles > .tuile:disabled { border-bottom-color: #bdb7aa; box-shadow: inset 0 3px 0 #f7f5f0, 0 4px 6px rgba(0,0,0,.12); }
/* Boîte à trois tuiles (repère, cote) : blanches, socle gris-bleu */
.tuiles.trois { gap: 10px; }
.tuiles.trois .tuile { border-radius: 16px; border-bottom: 5px solid #1f2a36;
  box-shadow: inset 0 3px 0 #ffffff, inset 0 -3px 6px rgba(31,42,54,.12), 0 3px 7px rgba(31,42,54,.25); }
.tuiles.trois .tuile:not(:disabled):active { transform: translateY(3px); border-bottom-width: 2px; background: #eef0f2;
  box-shadow: inset 0 3px 6px rgba(31,42,54,.25), 0 1px 2px rgba(31,42,54,.2); }
.tuiles.trois .tuile:disabled { border-bottom-color: #bdb7aa; }

/* ---------- B6 : photographier un document (contrat docs/contrats/B6-document.md) ---------- */
#doc-titre { flex: 1; min-width: 0; font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; padding: 12px; }
#doc-titre::placeholder { font-weight: 600; font-size: 17px; color: #a8a295; }
.doc-place { width: 64px; }
.doc-action { --t: 55; width: 100%; font-size: 18px; padding: 15px; border-radius: 14px; background: hsl(var(--t) 62% 86%); color: hsl(var(--t) 55% 18%);
  border: 2px solid hsl(var(--t) 45% 52%); border-bottom: 5px solid hsl(var(--t) 45% 38%); font-weight: 700;
  box-shadow: inset 0 3px 0 hsl(var(--t) 80% 94%), 0 3px 7px hsl(var(--t) 30% 25% / .26);
  transition: transform 70ms ease-out, box-shadow 70ms, border-bottom-width 70ms; -webkit-tap-highlight-color: transparent; }
.doc-action:not(:disabled):active { transform: translateY(3px); border-bottom-width: 2px; box-shadow: inset 0 3px 6px hsl(var(--t) 40% 38% / .38); }
.doc-action:disabled { background: #ebe8e1; color: #9a958b; border-color: #d3cec3; border-bottom-color: #bdb7aa; box-shadow: none; }
.doc-apres { display: flex; flex-direction: column; gap: 12px; min-height: 0; flex: 1; }
.doc-apres img { width: 100%; max-height: 45vh; object-fit: contain; background: #fff; border-radius: 12px; border: 1px solid #d3cec3;
  box-shadow: 0 4px 10px rgba(31,42,54,.18); }
.doc-legende { margin: 0; text-align: center; font-size: 18px; font-weight: 800; letter-spacing: .02em; color: var(--fond); }

/* ---------- B10a : viseur guidé, à l'essai (contrat docs/contrats/B10a-viseur-essai.md) ---------- */
.tuiles.trois.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vis-compte { min-width: 64px; text-align: right; font-size: 13px; color: #b9c3cd; }
.vis-zone { flex: 1; position: relative; overflow: hidden; background: #000; min-height: 0; }
.vis-zone video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.vis-guides { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.vis-repere { stroke: rgba(255,255,255,.55); stroke-width: .6; }
.vis-horizon { stroke: #e8a33d; stroke-width: 1.2; }
.vis-cible { fill: none; stroke: rgba(255,255,255,.75); stroke-width: .7; }
.vis-bulle { fill: rgba(232,163,61,.85); }
.vis-ok .vis-horizon { stroke: #4caf72; }
.vis-aplomb .vis-bulle { fill: rgba(76,175,114,.9); }
.vis-angles { position: absolute; left: 0; right: 0; bottom: 8px; margin: 0; text-align: center; color: #fff; font-size: 13px; text-shadow: 0 1px 2px #000; }
.vis-flash { position: absolute; inset: 0; background: #fff; opacity: .8; }
.vis-bas { display: flex; justify-content: center; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); background: #11171e; }
.vis-declencheur { width: 74px; height: 74px; border-radius: 50%; padding: 0; background: #fff; border: 5px solid #8a96a3; box-shadow: 0 0 0 3px #fff inset; }
.vis-declencheur:active { transform: scale(.94); }
/* v0.9.2 : confirmation de la photo du viseur, et l'annonce brève (« Départ photo confirmé ») */
.vis-confirme { position: absolute; inset: 0; background: rgba(17,23,30,.96); display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 16px; }
.vis-confirme img { width: 100%; max-height: 62vh; object-fit: contain; border-radius: 10px; }
.vis-confirme p { margin: 0; color: #fff; text-align: center; font-size: 18px; font-weight: 700; }
.vis-confirme .secondaire { color: #fff; border-color: #fff; font-size: 17px; padding: 13px; }
.annonce { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60;
  background: #1f2a36; color: #fff; font-size: 16px; font-weight: 600; padding: 12px 20px; border-radius: 14px;
  border-bottom: 4px solid #0f151c; box-shadow: 0 6px 14px rgba(0,0,0,.35); white-space: nowrap; }
.annonce::before { content: "✓ "; color: #4caf72; font-weight: 800; }
/* v0.9.3 : pendant la confirmation, ni angles ni guides par-dessus la photo (vu par Michel) */
.vis-confirme { z-index: 3; }
.vis-confirme:not([hidden]) ~ .vis-angles { display: none; }
