:root {
  --bleu-moyen: #0082DE;
  --bleu-clair: #00ACE8;
  --bleu-fonce: #005499;
  --jaune: #F9CF00;
  --gris-bg: #F4F6FA;
  --gris-carte: #FFFFFF;
  --gris-bordure: #E3E8F0;
  --gris-texte: #2B3547;
  --gris-texte-2: #6B7A90;
  --vert: #2BB673;
  --rouge: #E24C4C;
  --orange: #F29820;
  --shadow-sm: 0 1px 2px rgba(0,84,153,.06), 0 2px 8px rgba(0,84,153,.04);
  --radius: 12px;
  --radius-sm: 8px;
  font-family: 'Avenir Next', 'Avenir', 'Cera Pro', -apple-system, BlinkMacSystemFont, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(0,172,232,.12), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(249,207,0,.10), transparent 55%),
    linear-gradient(180deg, #EEF3FA 0%, #DEE7F3 100%);
  display: flex; flex-direction: column; align-items: center;
  padding: 32px 16px 48px;
  font-family: 'Avenir Next', 'Avenir', 'Cera Pro', -apple-system, sans-serif;
  color: var(--gris-texte);
}
.page-title {
  margin: 0 0 20px; color: var(--bleu-fonce);
  font-size: 14px; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 600; opacity: .7;
}

/* ── Phone shell ── */
.phone {
  width: 380px; max-width: 100%; height: 820px;
  background: #111; border-radius: 44px; padding: 12px;
  box-shadow: 0 30px 60px rgba(0,40,80,.25), 0 10px 30px rgba(0,40,80,.15), inset 0 0 0 2px #2a2a2a;
  position: relative;
}
.phone::before {
  content: ''; position: absolute;
  top: 22px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px; background: #000;
  border-radius: 20px; z-index: 10;
}
.screen {
  width: 100%; height: 100%; background: var(--gris-bg);
  border-radius: 32px; overflow: hidden;
  position: relative; display: flex; flex-direction: column;
}

/* ── Status bar ── */
.status-bar {
  height: 44px; padding: 14px 28px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 600; color: var(--gris-texte);
  flex-shrink: 0;
}
.status-bar .right { display: flex; gap: 5px; align-items: center; }

/* ── Header ── */
.app-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--gris-bordure);
  flex-shrink: 0; position: relative;
  box-shadow: 0 1px 3px rgba(0,84,153,.07);
}
.app-header::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--bleu-fonce) 0%, var(--bleu-moyen) 55%, var(--bleu-clair) 100%);
  z-index: 1;
}
.header-main {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 16px 14px;
}
.header-brand { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.header-logo { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.header-sep { width: 1px; height: 28px; background: var(--gris-bordure); flex-shrink: 0; }
.header-text { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.header-title {
  font-size: 16px; font-weight: 700; color: var(--gris-texte);
  letter-spacing: -.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.25;
}
.header-subtitle-txt {
  font-size: 13px; color: var(--gris-texte-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.25;
}
.header-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bleu-fonce); color: white;
  font-size: 12px; font-weight: 700; letter-spacing: .3px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 2px 6px rgba(0,84,153,.28);
}
.back-btn {
  width: 38px; height: 38px; background: transparent;
  border: 1px solid var(--gris-bordure); border-radius: 10px;
  color: var(--gris-texte); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .12s, border-color .12s, color .12s;
}
.back-btn:hover { background: var(--gris-bg); border-color: var(--bleu-moyen); color: var(--bleu-moyen); }
.back-btn.hidden { display: none; }
.header-chips { display: flex; gap: 8px; padding: 0 16px 10px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--gris-bg); border: 1px solid var(--gris-bordure);
  padding: 6px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 600; color: var(--gris-texte);
}
.chip .dot { width: 6px; height: 6px; background: var(--bleu-moyen); border-radius: 50%; }

/* ── Content & Views ── */
.content { flex: 1; overflow-y: auto; padding: 16px; scrollbar-width: none; }
.content::-webkit-scrollbar { display: none; }
.view { display: none; animation: fadeIn .25s ease; }
.view.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ── Utility ── */
.hidden { display: none !important; }
.btn {
  width: 100%; padding: 13px; border: none; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: opacity .15s, background .15s; letter-spacing: .1px;
}
.btn:active { opacity: .88; }
.btn-primary { background: var(--bleu-moyen); color: white; box-shadow: 0 1px 3px rgba(0,84,153,.2); }
.btn-primary:hover { background: var(--bleu-fonce); }
.footer-actions {
  padding: 14px 16px; background: white;
  border-top: 1px solid var(--gris-bordure); flex-shrink: 0;
  box-shadow: 0 -4px 12px rgba(0,84,153,.04);
}
.section-title {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--gris-texte-2); font-weight: 700;
  margin: 8px 4px 10px;
  display: flex; justify-content: space-between; align-items: center;
}
.section-title .count {
  background: var(--bleu-moyen); color: white;
  padding: 2px 8px; border-radius: 10px; font-size: 10px;
}
.native-select {
  width: 100%; padding: 9px 12px;
  border: 1px solid var(--gris-bordure); border-radius: 8px;
  font-size: 13px; font-family: inherit;
  background: white; color: var(--gris-texte); outline: none;
  transition: border-color .12s;
}
.native-select:focus { border-color: var(--bleu-moyen); }

/* ═══════════════════════════════════════
   VUE 1 — ACCUEIL
═══════════════════════════════════════ */
.search-area { display: flex; gap: 8px; margin-bottom: 12px; align-items: center; }
.search-box {
  flex: 1; min-width: 0; background: white;
  border: 1px solid var(--gris-bordure); border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: flex; align-items: center; gap: 8px;
  transition: border-color .12s;
}
.search-box:focus-within { border-color: var(--bleu-moyen); }
.search-box svg { color: var(--gris-texte-2); flex-shrink: 0; }
.search-box input {
  flex: 1; border: none; outline: none;
  font-size: 13px; background: transparent; font-family: inherit;
  color: var(--gris-texte); min-width: 0;
}
.search-clear {
  background: none; border: none; cursor: pointer;
  color: var(--gris-texte-2); font-size: 16px; line-height: 1;
  padding: 0 2px; flex-shrink: 0; transition: color .12s;
}
.search-clear:hover { color: var(--rouge); }
.no-results {
  text-align: center; font-size: 13px;
  color: var(--gris-texte-2); font-style: italic;
  padding: 20px 0; margin: 0;
}

.recent-card {
  background: white; border: 1px solid var(--gris-bordure);
  border-radius: var(--radius-sm);
  padding: 12px 14px; margin-bottom: 8px;
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.recent-card:hover { border-color: var(--bleu-moyen); box-shadow: 0 0 0 3px rgba(0,130,222,.07); }
.recent-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: #EBF4FF;
  display: flex; align-items: center; justify-content: center;
  color: var(--bleu-moyen); flex-shrink: 0;
}
.recent-icon.has-issues { background: rgba(226,76,76,.08); color: var(--rouge); }
.recent-info { flex: 1; min-width: 0; }
.recent-plate { font-weight: 700; font-size: 14px; letter-spacing: .3px; }
.recent-meta { font-size: 11px; color: var(--gris-texte-2); margin-top: 2px; }
.recent-meta strong { color: var(--gris-texte); }
.recent-right {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 4px; flex-shrink: 0;
}
.score-badge {
  display: inline-flex; align-items: center;
  padding: 2px 7px; border-radius: 6px;
  font-size: 10px; font-weight: 700;
}
.score-badge.ok  { background: rgba(43,182,115,.12); color: var(--vert); }
.score-badge.ko  { background: rgba(226,76,76,.12); color: var(--rouge); }
.score-badge.neu { background: var(--gris-bg); color: var(--gris-texte-2); border: 1px solid var(--gris-bordure); }
.recent-date { font-size: 10px; color: var(--gris-texte-2); font-weight: 500; }
.recent-chevron { color: var(--gris-texte-2); }

/* ═══════════════════════════════════════
   VUE 1.5 — RAPPORT LECTURE SEULE
═══════════════════════════════════════ */
.report-summary-card {
  background: white; border: 1px solid var(--gris-bordure);
  border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 12px;
}
.report-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 6px 0; border-bottom: 1px solid var(--gris-bg);
  font-size: 12px;
}
.report-row:last-child { border-bottom: none; }
.report-lbl {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; color: var(--gris-texte-2);
}
.report-val { font-weight: 700; color: var(--gris-texte); }
.report-score-row {
  display: flex; gap: 6px; flex-wrap: wrap;
  padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--gris-bordure);
}
.report-score-pill {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 700;
}
.pill-ok   { background: rgba(43,182,115,.12); color: var(--vert); }
.pill-ko   { background: rgba(226,76,76,.12); color: var(--rouge); }
.pill-warn { background: rgba(242,152,32,.12); color: var(--orange); }

.report-section-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--gris-texte-2);
  margin: 12px 4px 6px; padding-bottom: 6px;
  border-bottom: 1px solid var(--gris-bordure);
  display: flex; align-items: center; gap: 6px;
}
.report-field-row {
  background: white; border: 1px solid var(--gris-bordure);
  border-left: 3px solid var(--gris-bordure);
  padding: 9px 12px; margin-bottom: 4px;
  border-radius: 0 6px 6px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px;
}
.report-field-row.ok   { border-left-color: var(--vert); }
.report-field-row.ko   { border-left-color: var(--rouge); }
.report-field-row.warn { border-left-color: var(--orange); }
.report-field-lbl { color: var(--gris-texte-2); font-weight: 500; flex: 1; }
.report-field-val { font-weight: 700; color: var(--gris-texte); text-align: right; max-width: 55%; }
.report-ans-badge {
  display: inline-flex; align-items: center;
  padding: 3px 8px; border-radius: 5px;
  font-size: 10px; font-weight: 700;
}
.badge-ok   { background: rgba(43,182,115,.12); color: var(--vert); }
.badge-ko   { background: rgba(226,76,76,.12); color: var(--rouge); }
.badge-warn { background: rgba(242,152,32,.12); color: var(--orange); }

/* ═══════════════════════════════════════
   VUE 2 — IDENTIFICATION
═══════════════════════════════════════ */
.form-card {
  background: white; border: 1px solid var(--gris-bordure);
  border-radius: var(--radius-sm); padding: 16px; margin-bottom: 10px;
}
.form-section-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: var(--gris-texte-2); margin-bottom: 14px;
  padding-bottom: 8px; border-bottom: 1px solid var(--gris-bordure);
}
.form-group { margin-bottom: 12px; }
.form-group-last { margin-bottom: 0; }
.form-label {
  display: block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  color: var(--gris-texte-2); margin-bottom: 5px;
}
.form-label .req { color: var(--rouge); font-size: 13px; line-height: 1; }
.form-input {
  width: 100%; padding: 9px 12px;
  border: 1px solid var(--gris-bordure); border-radius: 8px;
  font-size: 14px; font-family: inherit;
  color: var(--gris-texte); outline: none; background: white;
  transition: border-color .12s, box-shadow .12s;
}
.form-input:focus {
  border-color: var(--bleu-moyen);
  box-shadow: 0 0 0 3px rgba(0,130,222,.1);
}

/* Type selector VP / VU */
.type-selector { display: flex; gap: 8px; }
.type-btn {
  flex: 1; padding: 10px 8px;
  background: white; border: 1.5px solid var(--gris-bordure);
  border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 600; font-family: inherit;
  color: var(--gris-texte-2);
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: all .15s;
}
.type-btn:hover { border-color: var(--bleu-moyen); color: var(--bleu-moyen); }
.type-btn.active {
  background: var(--bleu-moyen); color: white;
  border-color: var(--bleu-moyen);
  box-shadow: 0 2px 8px rgba(0,130,222,.25);
}
.type-btn svg { opacity: .8; }
.type-btn.active svg { opacity: 1; }

.current-user-display {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px; background: var(--gris-bg);
  border: 1px solid var(--gris-bordure); border-radius: 8px;
}
.current-user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bleu-fonce); color: white;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.current-user-info { display: flex; flex-direction: column; gap: 3px; }
.current-user-name { font-size: 13px; font-weight: 700; color: var(--gris-texte); }
.current-user-badge {
  display: inline-block;
  background: rgba(0,130,222,.10); color: var(--bleu-fonce);
  font-size: 9px; font-weight: 700;
  padding: 1px 6px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .5px; align-self: flex-start;
}
.ident-info {
  display: flex; align-items: flex-start; gap: 8px;
  background: rgba(0,130,222,.06); border: 1px solid rgba(0,130,222,.15);
  border-radius: 8px; padding: 10px 12px;
  font-size: 12px; color: var(--bleu-fonce);
  line-height: 1.55; margin-bottom: 4px;
}
.ident-info svg { flex-shrink: 0; margin-top: 1px; color: var(--bleu-moyen); }

/* ═══════════════════════════════════════
   VUE 3 — FORMULAIRE
═══════════════════════════════════════ */

/* Bandeau récap identif */
.form-ident-banner {
  background: var(--bleu-fonce); color: white;
  border-radius: var(--radius-sm); padding: 10px 12px;
  margin-bottom: 12px; display: flex; flex-direction: column; gap: 4px;
}
.ident-banner-row {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
}
.ident-banner-row svg { opacity: .7; flex-shrink: 0; }
.ident-banner-row strong { letter-spacing: .3px; }
.ident-sep { opacity: .4; }

/* Sections */
.check-section { margin-bottom: 12px; }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  background: white; border: 1px solid var(--gris-bordure);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  padding: 10px 12px; border-bottom: none;
}
.section-header-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.section-icon {
  width: 30px; height: 30px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.section-name { font-size: 12px; font-weight: 700; color: var(--gris-texte); line-height: 1.3; }
.section-count-badge { font-size: 11px; font-weight: 700; color: var(--gris-texte-2); white-space: nowrap; flex-shrink: 0; }
.section-count-badge.complete { color: var(--vert); }
.section-count-badge.ko { color: var(--rouge); }

/* Field items */
.field-item {
  background: white; border: 1px solid var(--gris-bordure);
  border-left: 3px solid transparent;
  border-top: none; padding: 10px 12px;
  transition: border-left-color .15s;
}
.field-item:last-child { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.field-item.filled { border-left-color: var(--vert); }
.field-item.issue  { border-left-color: var(--rouge); }
.field-item.warn   { border-left-color: var(--orange); }

.field-item-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.field-item-inner.field-vert { flex-direction: column; align-items: stretch; }

.field-lbl {
  font-size: 12px; font-weight: 600; color: var(--gris-texte);
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.field-hint {
  display: block; font-size: 10px; font-weight: 500;
  color: var(--gris-texte-2); margin-top: 2px;
}
.field-hint2 {
  font-size: 10px; font-weight: 500; color: var(--gris-texte-2);
}
.field-label-row { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.field-sublabel {
  display: block; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  color: var(--gris-texte-2); margin-bottom: 4px;
}

/* Tags inline */
.vu-tag {
  display: inline-block;
  background: rgba(242,152,32,.12); color: var(--orange);
  font-size: 9px; font-weight: 700;
  padding: 1px 5px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .5px;
}
.cond-tag {
  display: inline-block;
  background: rgba(0,130,222,.08); color: var(--bleu-fonce);
  font-size: 9px; font-weight: 700;
  padding: 1px 5px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .5px;
}
.all-tag {
  display: inline-block;
  background: rgba(43,182,115,.10); color: var(--vert);
  font-size: 9px; font-weight: 700;
  padding: 1px 5px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .5px;
  margin-left: 4px;
}

/* Presence buttons */
.pp-wrap {
  display: flex; gap: 5px; flex-wrap: wrap;
}
.pp-wrap.pp-2 .pp-btn { flex: 1; }
.pp-wrap.pp-3 .pp-btn { flex: 1; font-size: 11px; }
.pp-btn {
  padding: 7px 8px; border-radius: 7px; min-height: 36px;
  font-size: 12px; font-weight: 700; font-family: inherit;
  cursor: pointer; border: 1.5px solid var(--gris-bordure);
  background: white; color: var(--gris-texte-2);
  transition: all .15s; text-align: center; line-height: 1.2;
  flex-shrink: 0;
}
.pp-btn:active { opacity: .85; }
/* OK (présent / valide) */
.pp-btn.pp-ok:not(.active):hover { border-color: var(--vert); color: var(--vert); background: rgba(43,182,115,.05); }
.pp-btn.pp-ok.active { background: var(--vert); color: white; border-color: var(--vert); box-shadow: 0 2px 8px rgba(43,182,115,.3); }
/* KO (absent / périmé) */
.pp-btn.pp-ko:not(.active):hover { border-color: var(--rouge); color: var(--rouge); background: rgba(226,76,76,.05); }
.pp-btn.pp-ko.active { background: var(--rouge); color: white; border-color: var(--rouge); box-shadow: 0 2px 8px rgba(226,76,76,.3); }
/* Warn (périmé avec nuance) */
.pp-btn.pp-warn:not(.active):hover { border-color: var(--orange); color: var(--orange); background: rgba(242,152,32,.05); }
.pp-btn.pp-warn.active { background: var(--orange); color: white; border-color: var(--orange); box-shadow: 0 2px 8px rgba(242,152,32,.3); }
/* Neutral (sans logo) */
.pp-btn.pp-neutral:not(.active):hover { border-color: var(--gris-texte-2); color: var(--gris-texte); }
.pp-btn.pp-neutral.active { background: var(--gris-texte-2); color: white; border-color: var(--gris-texte-2); }

/* Date reveal */
.date-reveal {
  margin-top: 8px;
  padding: 8px; background: var(--gris-bg);
  border: 1px solid var(--gris-bordure);
  border-radius: 8px;
  animation: slideDown .2s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Textarea & inputs */
.field-textarea {
  width: 100%; padding: 8px 10px;
  border: 1px solid var(--gris-bordure); border-radius: 8px;
  font-size: 12px; font-family: inherit;
  color: var(--gris-texte); outline: none; background: white;
  resize: vertical; min-height: 46px;
  transition: border-color .12s, box-shadow .12s;
}
.field-textarea:focus {
  border-color: var(--bleu-moyen);
  box-shadow: 0 0 0 3px rgba(0,130,222,.1);
}

/* Row-of-2 sub-fields */
.field-row-2 { display: flex; gap: 8px; }
.field-mini { flex: 1; min-width: 0; }
.field-input-sm {
  width: 100%; padding: 7px 10px;
  border: 1px solid var(--gris-bordure); border-radius: 8px;
  font-size: 13px; font-family: inherit;
  color: var(--gris-texte); outline: none; background: white;
  transition: border-color .12s, box-shadow .12s;
}
.field-input-sm:focus {
  border-color: var(--bleu-moyen);
  box-shadow: 0 0 0 3px rgba(0,130,222,.1);
}
.field-with-suffix { position: relative; }
.field-with-suffix .form-input,
.field-with-suffix .field-input-sm { padding-right: 36px; }
.suffix {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-size: 12px; font-weight: 700; color: var(--gris-texte-2);
  pointer-events: none;
}
.suffix-sm {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 11px; font-weight: 700; color: var(--gris-texte-2);
  pointer-events: none;
}

/* Full-width button group */
.pp-wrap.pp-full { width: 100%; }
.pp-wrap.pp-full .pp-btn { flex: 1; }

/* Sub-item (cric / manivelle sous roue de secours) */
.sub-item {
  background: var(--gris-bg) !important;
  border-left-width: 3px !important;
  padding-left: 18px !important;
}
.sub-item.filled { border-left-color: var(--vert) !important; }
.sub-item.issue  { border-left-color: var(--rouge) !important; }

/* Sub-field block (étiquetage groups) */
.subfield-block { margin-top: 8px; }

/* Zone dropdown (carrosserie multi-select) */
.zone-dropdown { position: relative; }
.zone-trigger {
  width: 100%; padding: 8px 10px;
  border: 1px solid var(--gris-bordure); border-radius: 8px;
  background: white; color: var(--gris-texte);
  font-size: 12px; font-weight: 600; font-family: inherit;
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  text-align: left;
  transition: border-color .12s, box-shadow .12s;
}
.zone-trigger:hover { border-color: var(--bleu-moyen); }
.zone-trigger svg { flex-shrink: 0; color: var(--orange); }
.zone-trigger span { flex: 1; color: var(--gris-texte-2); }
.zone-chevron { flex-shrink: 0; color: var(--gris-texte-2); transition: transform .2s; }

.zone-panel {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 20;
  background: white; border: 1px solid var(--gris-bordure);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0,40,80,.12);
  max-height: 220px; overflow-y: auto;
  padding: 6px 0;
  animation: slideDown .15s ease;
}
.zone-panel-group { padding: 4px 0; }
.zone-panel-group + .zone-panel-group { border-top: 1px solid var(--gris-bordure); }
.zone-panel-group-lbl {
  font-size: 9px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; color: var(--gris-texte-2);
  padding: 6px 12px 4px;
}
.zone-check-item {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 12px; cursor: pointer;
  font-size: 12px; font-weight: 500; color: var(--gris-texte);
  transition: background .1s;
}
.zone-check-item:hover { background: var(--gris-bg); }
.zone-check-item input[type="checkbox"] { width: 14px; height: 14px; accent-color: var(--rouge); flex-shrink: 0; }
.zone-check-item span { flex: 1; }

/* Actions à mener */
.action-item {
  background: white; border: 1px solid var(--gris-bordure);
  border-left: 3px solid var(--rouge);
  border-top: none; padding: 10px 12px;
}
.action-item:last-child { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.action-item-label {
  font-size: 12px; font-weight: 700; color: var(--gris-texte);
  margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between;
}
.action-del-btn {
  background: none; border: none; cursor: pointer;
  color: var(--rouge); font-size: 18px; line-height: 1; padding: 0;
}
.action-item-fields { display: flex; gap: 6px; }
.action-field { flex: 1; }
.action-field-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; color: var(--gris-texte-2); margin-bottom: 3px;
}
.action-field input, .action-field select {
  width: 100%; padding: 6px 8px;
  border: 1px solid var(--gris-bordure); border-radius: 6px;
  font-size: 12px; font-family: inherit;
  background: var(--gris-bg); color: var(--gris-texte); outline: none;
}
.action-field input:focus, .action-field select:focus { border-color: var(--bleu-moyen); background: white; }

.actions-add-row {
  padding: 10px 12px;
  border: 1px solid var(--gris-bordure);
  border-top: none; background: white;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.add-action-btn {
  width: 100%; padding: 8px;
  background: transparent; border: 1.5px dashed rgba(226,76,76,.4);
  border-radius: var(--radius-sm); color: var(--rouge);
  font-size: 12px; font-weight: 600; font-family: inherit;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: all .15s;
}
.add-action-btn:hover { background: rgba(226,76,76,.06); border-color: var(--rouge); }

/* Signatures */
.sig-block {
  display: flex; gap: 10px; margin: 12px 0;
}
.sig-col { flex: 1; }
.sig-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; color: var(--gris-texte-2); margin-bottom: 5px;
}
.sig-pad {
  background: white; border: 1.5px dashed var(--gris-bordure);
  border-radius: var(--radius-sm); height: 70px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; cursor: pointer; transition: all .15s;
  color: var(--gris-texte-2); font-size: 10px; font-weight: 600;
  text-align: center;
}
.sig-pad:hover { border-color: var(--bleu-moyen); color: var(--bleu-moyen); }
.sig-pad.signed {
  background: rgba(43,182,115,.05); border: 1.5px solid rgba(43,182,115,.4);
  color: var(--vert);
}
.sig-pad.signed svg { stroke: var(--vert); }

.submit-note {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 11px; color: var(--gris-texte-2);
  line-height: 1.5; margin: 4px 4px 4px;
}
.submit-note svg { flex-shrink: 0; margin-top: 1px; }

/* ═══════════════════════════════════════
   VUE 4 — CONFIRMATION
═══════════════════════════════════════ */
.confirm-hero {
  background: white; border: 1px solid var(--gris-bordure);
  border-radius: var(--radius-sm); padding: 28px 20px 24px;
  text-align: center; margin-bottom: 10px;
}
.confirm-icon-wrap {
  width: 72px; height: 72px; border-radius: 50%;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
}
.confirm-icon-wrap.done {
  background: rgba(43,182,115,.1); color: var(--vert);
  border: 2px solid rgba(43,182,115,.25);
}
.confirm-title {
  margin: 0 0 10px; font-size: 19px; font-weight: 800;
  color: var(--gris-texte); letter-spacing: -.3px; line-height: 1.25;
}
.confirm-thanks {
  margin: 0; font-size: 12px; color: var(--bleu-fonce);
  font-style: italic; line-height: 1.55;
}
.confirm-details-card {
  background: white; border: 1px solid var(--gris-bordure);
  border-radius: var(--radius-sm); padding: 4px 0;
  margin-bottom: 8px; overflow: hidden;
}
.confirm-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; font-size: 12px; font-weight: 600;
  color: var(--gris-texte-2);
  border-bottom: 1px solid var(--gris-bordure);
}
.confirm-row:last-child { border-bottom: none; }
.confirm-row svg { flex-shrink: 0; color: var(--bleu-moyen); }
.confirm-row.saved { color: var(--vert); }
.confirm-row.saved svg { color: var(--vert); }
.confirm-row strong { color: var(--gris-texte); }

.confirm-score-card {
  background: white; border: 1px solid var(--gris-bordure);
  border-radius: var(--radius-sm);
  padding: 14px; margin-bottom: 10px;
  display: flex; gap: 8px; align-items: center; justify-content: space-around;
}
.score-item { text-align: center; flex: 1; }
.score-num { font-size: 22px; font-weight: 800; line-height: 1; }
.score-num.green { color: var(--vert); }
.score-num.red   { color: var(--rouge); }
.score-num.orange { color: var(--orange); }
.score-num.gray  { color: var(--gris-texte-2); }
.score-txt { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--gris-texte-2); margin-top: 3px; }
.score-sep { width: 1px; background: var(--gris-bordure); align-self: stretch; }

.confirm-alert-card {
  background: white; border: 1px solid rgba(226,76,76,.2);
  border-left: 3px solid var(--rouge);
  border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 6px;
  font-size: 12px;
}
.confirm-alert-label { font-weight: 700; color: var(--gris-texte); }
.confirm-alert-detail { color: var(--rouge); font-weight: 600; font-size: 11px; margin-top: 2px; }
.confirm-cta { margin-top: 4px; }
