/* Le dossier de réparation guidé (dossier.js) : un déroulé vertical, un trait qui relie les étapes, l'étape suivante
   mise en avant par un liseré d'accent. Pas de gélule : l'état est un mot coloré (règle d'interface du 06/11). */
.dossier { margin: 4px 0 6px; padding: 14px 16px 10px; background: var(--surface-2); border: 1px solid var(--bordure); border-radius: var(--r-lg); }
.dos-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.dos-etapes { list-style: none; margin: 0; padding: 0; }
.dos-etape { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 7px 0 7px; }
.dos-etape:not(:last-child)::before { content: ""; position: absolute; left: 12px; top: 30px; bottom: -6px; width: 2px; background: var(--bordure); }
.dos-etape.e-fait:not(:last-child)::before { background: color-mix(in srgb, var(--c-vert) 55%, var(--bordure)); }
.dos-coche { width: 26px; height: 26px; display: grid; place-items: center; color: var(--texte-tres-doux); font-weight: 700; }
.dos-coche svg { width: 22px; height: 22px; }
.dos-coche.e-fait { color: var(--c-vert); }
.dos-coche.e-encours { color: var(--c-orange); }
.dos-coche.e-refuse { color: var(--c-rouge); font-size: 18px; }
.dos-coche.e-sans { color: var(--texte-tres-doux); }
.dos-nom { font-weight: 650; line-height: 26px; }
.dos-etape.e-a_faire .dos-nom, .dos-etape.e-sans_objet .dos-nom { color: var(--texte-doux); font-weight: 550; }
.dos-mot { font-size: 12.5px; font-weight: 600; margin-left: 6px; }
.dos-mot.e-fait { color: var(--c-vert); } .dos-mot.e-en_cours { color: var(--c-orange); } .dos-mot.e-refuse { color: var(--c-rouge); }
.dos-mot.e-a_faire, .dos-mot.e-sans_objet { color: var(--texte-tres-doux); }
.dos-etape.actif .dos-corps { border-left: 3px solid var(--accent); padding-left: 10px; margin-left: -13px; }
.dos-etape.actif .dos-nom { color: var(--texte); font-weight: 700; }
.dos-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.dos-actions .bouton.large { width: auto; min-width: 0; flex: 1 1 100%; }
.dos-petit { margin-top: 4px; }
.dos-piece-saisie { padding: 4px 0 12px; border-bottom: 1px solid var(--bordure); }
.dos-attente { padding: 10px 0; }
@media (max-width: 820px) {
  .dossier { margin: 8px 0; padding: 12px 12px 8px; }
  .dos-actions .bouton { flex: 1 1 100%; }
}
/* La frise courte d'une réparation (reparations.js) : un trait par étape, vert = noté, gris clair = sans objet. */
.rep-frise { display: inline-flex; gap: 3px; vertical-align: middle; }
.rep-frise i { display: block; width: 12px; height: 5px; border-radius: 2px; background: var(--bordure); }
.rep-frise i.f { background: var(--c-vert); }
.rep-frise i.s { background: color-mix(in srgb, var(--texte-tres-doux) 40%, transparent); }
