/* ============================================================================
   MONSIGNY EXPRESS — feuille de style applicative.
   Reprend la mecanique d'affichage du CRM Ma Doublure (coquille a menu de
   gauche, pipeline kanban, fiche a chronologie) avec la charte MONSIGNY :
   bleu nuit #102D47, bleu #0F75BD, orange #FCB040, fonds clairs.

   Aucune ressource externe : les polices sont des piles systeme. Pour poser la
   police d'affichage du canevas de design (Bricolage Grotesque), deposer le
   .woff2 dans interfaces/assets/, ajouter un @font-face ici et remplacer la
   premiere famille de --display.
   ============================================================================ */

:root {
  --navy-950: #0a1f33;
  --navy-900: #102d47;
  --navy-800: #17405f;
  --blue-600: #0b5e9c;
  --blue-500: #0f75bd;
  --blue-100: #e7f2fa;
  --orange-500: #fcb040;
  --orange-600: #e09427;
  --orange-100: #fff0d6;
  --orange-ink: #80520a;
  --vert: #2f8a63;
  --vert-fonce: #1f6647;
  --vert-100: #e5f1e7;
  --alerte: #97372c;
  --alerte-100: #fdece8;
  --paper: #f8f9f6;
  --blanc: #ffffff;
  --ivoire: #f3f6f8;
  --ink: #102d47;
  --muted: #526474;
  --line: rgba(16, 45, 71, .12);
  --line-fort: rgba(16, 45, 71, .2);

  --display: "Segoe UI Variable Display", "Segoe UI Semibold", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: Consolas, "SF Mono", Menlo, ui-monospace, monospace;

  --r: 12px;
  --r-sm: 9px;
  --ombre: 0 1px 2px rgba(16, 45, 71, .06);
  --ombre-lg: 0 12px 30px rgba(16, 45, 71, .12);
  --menu: 248px;
  --topbar: 76px;

  /* Profondeur. Une seule echelle pour tout : fond, colonnes, cartes, JEFF.
     Les surfaces sont translucides et floutees ; le repli opaque est plus bas,
     pour les navigateurs sans backdrop-filter. */
  --verre: rgba(255, 255, 255, .6);          /* colonnes : au-dessus du fond */
  --verre-fort: rgba(255, 255, 255, .93);    /* cartes : au-dessus des colonnes */
  --verre-flou: 14px;
  --bord-verre: rgba(255, 255, 255, .8);     /* lumiere interieure, 1 px en haut */
  --ombre-2: 0 6px 18px rgba(16, 45, 71, .08);
  --ombre-3: 0 22px 52px rgba(16, 45, 71, .26);

  /* Accents lumineux : reserves a JEFF, a la carte active et a la destination. */
  --lueur-cible: 0 0 0 1px var(--orange-500), 0 0 30px rgba(252, 176, 64, .34);

  /* Durees. Court pour un controle, plus long pour un dossier qui se deplace :
     un bouton doit repondre, un dossier doit se suivre des yeux. */
  --duree-controle: 160ms;
  --duree-panneau: 220ms;
  --duree-dossier: 560ms;
  --courbe: cubic-bezier(.22, 1, .36, 1);
}

/* Repli sans flou : on remonte l'opacite, sinon le texte deviendrait illisible
   par-dessus le fond. */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  :root { --verre: rgba(255, 255, 255, .92); --verre-fort: #fff; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink);
  font-family: var(--sans); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* Deux voiles tres pales, aux couleurs de la maison : c'est ce que les
     surfaces en verre floutent. Sans eux, un flou sur fond uni ne se voit pas. */
  background:
    radial-gradient(1100px 620px at 10% -12%, rgba(15, 117, 189, .1), transparent 62%),
    radial-gradient(900px 520px at 104% -4%, rgba(252, 176, 64, .12), transparent 58%),
    var(--paper);
  background-attachment: fixed;
}
a { color: var(--blue-600); }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
h1 { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.5px; line-height: 1.15; }
h2 { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -.2px; }
h3 { font-size: 14px; font-weight: 700; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }

.saut { position: absolute; left: -9999px; }
.saut:focus { left: 8px; top: 8px; z-index: 60; background: #fff; padding: 10px; }

.eyebrow {
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--orange-ink); display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--orange-500); }

/* ── Coquille : menu de gauche fixe + barre de titre ─────────────────────── */

.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--menu); z-index: 30;
  background: var(--navy-900); color: var(--ivoire);
  padding: 18px 14px 14px; display: flex; flex-direction: column; overflow-y: auto;
}
.sidebar .marque {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 8px 15px; border-bottom: 1px solid rgba(255, 255, 255, .09); margin-bottom: 10px;
}
.sidebar .marque .jeton {
  width: 34px; height: 34px; border-radius: var(--r-sm); background: var(--orange-500);
  display: grid; place-items: center; color: var(--navy-900);
  font-family: var(--display); font-weight: 700; font-size: 17px; flex: 0 0 auto;
}
.sidebar .marque b { display: block; font-family: var(--display); font-size: 16px; font-weight: 700; line-height: 1.1; }
.sidebar .marque small {
  display: block; font-size: 9.5px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--orange-500); margin-top: 2px;
}
.nav-sect {
  font-size: 9.5px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(243, 246, 248, .42); padding: 13px 12px 5px;
}
.nav-link {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: var(--r-sm);
  color: rgba(243, 246, 248, .78); font-weight: 500; font-size: 13.5px; text-decoration: none;
  border: 0; background: transparent; width: 100%; text-align: left; transition: background .12s, color .12s;
}
.nav-link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.nav-link[aria-current="page"] {
  background: rgba(252, 176, 64, .15); color: #fff; font-weight: 600;
  box-shadow: inset 2px 0 0 var(--orange-500);
}
.nav-link .ic { width: 17px; height: 17px; flex: 0 0 auto; }
.nav-link[aria-current="page"] .ic { color: var(--orange-500); }
.nav-link .compte {
  margin-left: auto; font-family: var(--mono); font-size: 10.5px;
  background: rgba(255, 255, 255, .12); border-radius: 20px; padding: 1px 7px;
}
.nav-link .compte.vif { background: var(--vert); color: #fff; }
.nav-link .compte.chaud { background: var(--alerte); color: #fff; }
.sidebar .pied { margin-top: auto; padding-top: 12px; }
.sidebar .objectif {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 11px; padding: 11px 12px; margin-bottom: 10px;
}
.sidebar .objectif .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--orange-500); }
.sidebar .objectif .v { font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1.1; margin-top: 3px; }
.sidebar .objectif .v small { font-size: 12px; font-weight: 500; color: rgba(243, 246, 248, .6); }
.sidebar .objectif .bar { height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .14); margin-top: 8px; overflow: hidden; }
.sidebar .objectif .bar i { display: block; height: 100%; background: var(--orange-500); }
.sidebar .objectif .s { font-size: 10.5px; color: rgba(243, 246, 248, .55); margin-top: 6px; }
.sidebar .compte-user {
  display: flex; align-items: center; gap: 9px; padding: 9px 10px;
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.sidebar .compte-user .av {
  width: 29px; height: 29px; border-radius: 50%; background: rgba(252, 176, 64, .2);
  color: var(--orange-500); display: grid; place-items: center; font-size: 11.5px; font-weight: 700; flex: 0 0 auto;
}
.sidebar .compte-user .qui { flex-grow: 1; min-width: 0; }
.sidebar .compte-user b { display: block; font-size: 12.5px; font-weight: 600; }
.sidebar .compte-user small { display: block; font-size: 10.5px; color: rgba(243, 246, 248, .55); }
.sidebar .compte-user .sortir {
  background: transparent; border: 0; color: rgba(243, 246, 248, .6); padding: 6px;
  border-radius: 7px; display: grid; place-items: center;
}
.sidebar .compte-user .sortir:hover { color: #fff; background: rgba(255, 255, 255, .08); }

/* Roue dentee du pied de menu : les reglages, ranges hors du chemin, ouverts
   au-dessus du nom. `details` porte l etat ; aucun script pour l afficher. */
.sidebar .compte-user { position: relative; }
.sidebar .reglages { position: static; flex: 0 0 auto; }
.sidebar .reglages > summary {
  list-style: none; cursor: pointer; color: rgba(243, 246, 248, .6);
  padding: 6px; border-radius: 7px; display: grid; place-items: center;
}
.sidebar .reglages > summary::-webkit-details-marker { display: none; }
.sidebar .reglages > summary:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.sidebar .reglages[open] > summary { color: #fff; background: rgba(255, 255, 255, .12); }
.sidebar .reglages[data-ici] > summary { color: var(--orange-500); }
.sidebar .reglages .liste {
  /* Ancree sur la ligne du compte, pas sur la roue : posee sur la roue elle
     sortait du menu par la gauche. Elle occupe la largeur du pied. */
  position: absolute; bottom: calc(100% + 8px); left: 0; right: 0; z-index: 40;
  background: var(--navy-900); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 11px; padding: 7px; box-shadow: 0 14px 34px rgba(0, 0, 0, .45);
}
.sidebar .reglages .liste .titre {
  font-size: 9.5px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(243, 246, 248, .42); padding: 5px 10px 6px;
}
.sidebar .reglages .liste .nav-link { font-size: 13px; padding: 8px 10px; }

.topbar {
  position: fixed; top: 0; left: var(--menu); right: 0; z-index: 25; min-height: var(--topbar);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 12px 26px; background: var(--blanc); border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.topbar h1 em { font-style: normal; color: var(--blue-500); }
.topbar .sous { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.topbar .outils { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.recherche {
  display: flex; align-items: center; gap: 8px; background: var(--blanc);
  border: 1px solid var(--line-fort); border-radius: var(--r-sm); padding: 0 12px;
}
.recherche:focus-within { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(15, 117, 189, .15); }
.recherche input { border: 0; outline: none; background: transparent; padding: 9px 0; width: 200px; font-size: 13.5px; }
.recherche input:focus { box-shadow: none; }

body.app-shell { padding-left: var(--menu); }

/* La barre de titre est `position: fixed` : elle ne pousse rien. On reserve sa
   hauteur ICI, une fois, par une cale dans #entete — et non par un
   padding-top sur <main>. L'ancienne version faisait les deux : le bandeau de
   demonstration poussait <main> vers le bas ET <main> compensait encore la
   barre, d'ou 75 px de vide sous la barre. Pire, le bandeau lui-meme se
   retrouvait DERRIERE la barre fixe, donc invisible sur grand ecran. */
body.app-shell #entete::before { content: ''; display: block; height: var(--topbar); }
body.app-shell main { padding: 16px 26px 60px; max-width: none; margin: 0; }
body.app-shell .avertissement { margin: 0 26px 12px; border-radius: var(--r-sm); border: 1px solid #f0d9a8; }

/* Sous 900 px la barre repasse dans le flux et --topbar vaut 0 : la cale
   disparait d'elle-meme, sans regle supplementaire. */

/* En-tete mobile (chauffeur) : pas de menu de gauche. */
.entete-mobile { background: var(--navy-900); color: var(--ivoire); padding: 13px 16px 15px; }
.entete-mobile .haut { display: flex; align-items: center; gap: 9px; }
.entete-mobile .jeton {
  width: 28px; height: 28px; border-radius: 8px; background: var(--orange-500);
  display: grid; place-items: center; color: var(--navy-900); font-family: var(--display); font-weight: 700; font-size: 14px;
}
.entete-mobile b.nom { flex-grow: 1; font-family: var(--display); font-size: 14px; font-weight: 700; }
.entete-mobile .qui { font-size: 11px; color: rgba(243, 246, 248, .7); }
.entete-mobile .sortir { background: transparent; border: 1px solid rgba(243, 246, 248, .28); color: var(--ivoire); font-size: 11.5px; font-weight: 600; padding: 6px 10px; border-radius: 7px; }
.entete-mobile h1 { margin-top: 12px; font-size: 21px; color: var(--ivoire); }
.entete-mobile .sous { font-size: 12px; color: rgba(243, 246, 248, .7); margin-top: 3px; }

.avertissement {
  background: var(--orange-100); color: var(--orange-ink); font-size: 12.5px;
  padding: 9px 16px; border-bottom: 1px solid #f0d9a8; text-align: center;
}
.avertissement strong { font-weight: 700; }

main { max-width: 1400px; margin-inline: auto; padding: 20px 16px 64px; }

/* ── Cartes, grilles, tableaux ───────────────────────────────────────────── */

/* Fiche et panneaux : meme famille de profondeur que les colonnes, sans flou —
   ils sont nombreux, et leur fond est deja opaque. */
.carte {
  background: var(--blanc); border: 1px solid var(--line); border-radius: var(--r);
  padding: 17px 19px; margin-bottom: 16px; min-width: 0;
  box-shadow: var(--ombre-2), inset 0 1px 0 var(--bord-verre);
}
.carte > h2, .carte > h3 { margin-bottom: 12px; }
.carte.navy { background: var(--navy-900); border-color: var(--navy-900); color: var(--ivoire); }
.carte.navy h2, .carte.navy h3 { color: var(--ivoire); }

.grille { display: grid; gap: 16px; }
.grille > * { min-width: 0; }
.grille.deux { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.grille.trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grille.principale { grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); align-items: start; }

th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 10px; text-transform: uppercase; letter-spacing: 1.1px; color: var(--muted); font-weight: 700; }
tbody tr:hover { background: #f4f8fa; }
td.action { white-space: nowrap; }
.tableau-defile { overflow-x: auto; max-width: 100%; }
.tableau-defile table { min-width: 560px; }
/* Petit tableau (4 colonnes courtes) : il tient dans un telephone, on ne lui
   impose pas les 560 px des listes. Le conteneur reste un defilement de
   securite — un libelle de ressource inhabituellement long ne doit pas
   pousser la page entiere hors de l'ecran. */
.tableau-defile.ajuste table { min-width: 0; }

/* ── Bandeau de statistiques ─────────────────────────────────────────────── */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(142px, 1fr)); gap: 10px; margin-bottom: 14px; }
.stat {
  background: var(--blanc); border: 1px solid var(--line); border-radius: 11px; padding: 10px 13px;
  display: flex; flex-direction: column; justify-content: center; text-align: left;
}
.stat .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.1px; text-transform: uppercase; color: var(--muted); }
.stat .v { font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1.15; margin-top: 2px; }
.stat .v.alerte { color: var(--alerte); }
.stat.navy { background: var(--navy-900); border-color: var(--navy-900); color: var(--ivoire); }
.stat.navy .k { color: var(--orange-500); }
button.stat { cursor: pointer; }
button.stat.flux { border-color: rgba(15, 117, 189, .35); }
button.stat.flux .k { color: var(--blue-600); display: flex; align-items: center; gap: 5px; }

/* ── Selecteur de suivi + bandeau live ───────────────────────────────────── */

.barre-suivi { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.segmente { display: inline-flex; background: rgba(16, 45, 71, .06); border-radius: var(--r-sm); padding: 3px; }
.segmente button {
  border: 0; background: transparent; color: var(--muted); font-size: 12.5px; font-weight: 600;
  padding: 7px 13px; border-radius: 7px; min-height: 38px;
}
.segmente button:hover { color: var(--blue-600); }
.segmente button[aria-pressed="true"] {
  background: var(--blanc); color: var(--ink); font-weight: 700; box-shadow: 0 1px 3px rgba(16, 45, 71, .14);
}
.live { display: flex; align-items: center; gap: 9px; }
.live i { width: 9px; height: 9px; border-radius: 50%; background: var(--vert); display: inline-block; animation: pulse 1.6s ease-out infinite; }
.live span { font-family: var(--mono); font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--vert-fonce); font-weight: 500; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 138, 99, .55); }
  70% { box-shadow: 0 0 0 7px rgba(47, 138, 99, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 138, 99, 0); }
}
.legende { display: flex; gap: 15px; font-size: 11.5px; color: var(--muted); align-items: center; flex-wrap: wrap; }
.legende i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.legende > span { display: inline-flex; align-items: center; gap: 6px; }

/* ── Kanban ──────────────────────────────────────────────────────────────── */

.kanban { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.kanban.quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kanban.six { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
/* Colonne : panneau de verre pose sur le fond. Le flou n'est mis QUE la — six
   colonnes se floutent sans peine, des dizaines de cartes non. */
.kcol {
  background: var(--verre); border: 1px solid var(--line); border-radius: var(--r);
  backdrop-filter: blur(var(--verre-flou)); -webkit-backdrop-filter: blur(var(--verre-flou));
  box-shadow: var(--ombre-2), inset 0 1px 0 var(--bord-verre);
  display: flex; flex-direction: column; min-height: 56vh;
  transition: box-shadow var(--duree-panneau) var(--courbe);
}
.kcol.survol { background: rgba(252, 176, 64, .12); border-color: var(--orange-500); box-shadow: inset 0 0 0 1px var(--orange-500); }
.kcol-tete { padding: 11px 13px 9px; border-bottom: 1px solid var(--line); }
.kcol-tete .t { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kcol-tete b { font-size: 13px; font-weight: 700; }
.kcol-tete .compte { font-family: var(--mono); font-size: 11px; background: var(--navy-900); color: var(--ivoire); border-radius: 20px; padding: 1px 8px; }
.kcol-tete .compte.vert { background: var(--vert); color: #fff; }
.kcol-tete .compte.rouge { background: var(--alerte); color: #fff; }
.kcol-tete .hint { font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.kcol-corps { padding: 9px; display: flex; flex-direction: column; gap: 8px; flex: 1; overflow-y: auto; }
.kcol-corps .vide { color: var(--muted); font-size: 12px; padding: 12px 4px; text-align: center; }

/* Carte : au-dessus de la colonne, donc plus opaque qu'elle. Pas de flou ici :
   elle repose deja sur une surface floutee, et le cout se paierait par dizaines. */
.kcard {
  background: var(--verre-fort); border: 1px solid var(--line); border-left: 3px solid var(--orange-500);
  border-radius: 10px; padding: 10px 11px; box-shadow: var(--ombre); text-align: left; width: 100%;
  display: block; color: var(--ink); text-decoration: none;
  transition: box-shadow var(--duree-controle) var(--courbe), transform var(--duree-controle) var(--courbe);
}
.kcard .ref, .kcard .nom, .kcard .meta { display: block; }
.kcard:hover { box-shadow: var(--ombre-lg); transform: translateY(-1px); }
.kcard[draggable="true"] { cursor: grab; }
.kcard[draggable="true"]:active { cursor: grabbing; }
.kcard.glisse { opacity: .45; }
/* Carte deposee, commande en vol : elle est deja au bon endroit et attend la
   confirmation du serveur. Un refus la remet exactement a sa place. */
.kcard.en-attente { opacity: .6; box-shadow: inset 0 0 0 1px var(--blue-500); }
[aria-busy="true"] { cursor: progress; }
#message { margin-bottom: 14px; }
#message .motif { margin-top: 0; }
.kcard .ref { font-family: var(--mono); font-size: 9.5px; color: var(--muted); letter-spacing: .4px; }
.kcard .nom { font-weight: 700; font-size: 13.5px; margin-top: 2px; }
.kcard .trajet { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); margin-top: 5px; flex-wrap: wrap; }
.kcard .trajet svg { color: var(--blue-500); flex: 0 0 auto; }
.kcard .meta { font-size: 11px; color: var(--muted); margin-top: 5px; }
.kcard .bar { height: 5px; border-radius: 4px; background: rgba(16, 45, 71, .1); margin-top: 8px; overflow: hidden; }
.kcard .bar i { display: block; height: 100%; background: var(--blue-500); }
.kcard.bleu { border-left-color: var(--blue-500); }
.kcard.vert { border-left-color: var(--vert); }
.kcard.rouge { border-left-color: var(--alerte); }
.kcard .drapeaux { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; align-items: center; }
.drapeau {
  display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700;
  font-family: var(--mono); padding: 2px 8px; border-radius: 7px;
}
.drapeau.rouge { background: rgba(181, 72, 59, .14); color: var(--alerte); }
.drapeau.vert { background: rgba(47, 138, 99, .15); color: var(--vert-fonce); }
.drapeau.orange { background: rgba(252, 176, 64, .22); color: var(--orange-ink); }
.drapeau.bleu { background: rgba(15, 117, 189, .12); color: var(--blue-600); }

.kcard.clignote-rouge { animation: clignRouge 1.15s ease-in-out infinite; }
@keyframes clignRouge {
  0%, 100% { box-shadow: var(--ombre); background: #fff; }
  50% { box-shadow: 0 0 0 3px rgba(181, 72, 59, .35), var(--ombre-lg); background: var(--alerte-100); }
}
.kcard.clignote-vert { animation: clignVert 1.15s ease-in-out infinite; }
@keyframes clignVert {
  0%, 100% { box-shadow: var(--ombre); background: #fff; }
  50% { box-shadow: 0 0 0 3px rgba(47, 138, 99, .32), var(--ombre-lg); background: var(--vert-100); }
}

/* ── Marque Jeff : ondes ─────────────────────────────────────────────────── */

.jeff { display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.jeff .onde { animation: ondeDefile 3.4s linear infinite; }
.jeff .onde.rapide { animation-duration: 2.3s; }
.jeff .onde.lente { animation-duration: 4.4s; }
.jeff .onde.serree { animation-name: ondeSerree; animation-duration: .9s; }
@keyframes ondeDefile { from { transform: translateX(0); } to { transform: translateX(-40px); } }
@keyframes ondeSerree { from { transform: translateX(0); } to { transform: translateX(-28px); } }
.jeff .halo { animation: halo 2.4s ease-in-out infinite; }
@keyframes halo { 0%, 100% { opacity: .35; } 50% { opacity: .7; } }

.jeff-ligne { display: flex; align-items: center; gap: 11px; }
.jeff-ligne .txt { min-width: 0; flex-grow: 1; }
.jeff-ligne b { display: block; font-size: 13px; }
.jeff-ligne small { display: block; font-size: 11px; color: var(--muted); }

/* ── Fiche ───────────────────────────────────────────────────────────────── */

.fiche-entete { background: var(--blanc); border: 1px solid var(--line); border-radius: var(--r); padding: 17px 20px 18px; margin-bottom: 16px; box-shadow: var(--ombre); }
.fiche-entete h1 { font-size: 28px; margin-top: 6px; }
.fiche-entete .pills { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; align-items: center; }
.fiche-entete .haut { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
/* Coordonnees du dossier, lues d un coup d oeil dans l entete : le bloc
   « Contact et client » n existe plus, tout est ici, modifiable au crayon. */
.fiche-entete .coordonnees { display: flex; align-items: center; gap: 7px 14px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; color: var(--muted); }
.fiche-entete .coordonnees b { color: var(--ink); font-weight: 600; }
.fiche-entete .coordonnees .mono { color: var(--ink); }
.btn-crayon { border: 0; background: none; padding: 3px 5px; margin-left: 6px; border-radius: 7px; cursor: pointer; color: var(--muted); line-height: 0; vertical-align: middle; }
.btn-crayon:hover { color: var(--blue-500); background: var(--ivoire); }
.edition-champ { margin-top: 12px; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--r); background: var(--ivoire); }
.edition-champ .barre-actions { margin-top: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px; border-radius: 20px;
  font-weight: 700; font-size: 12.5px; background: rgba(16, 45, 71, .07); color: var(--muted);
}
.pill i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: currentColor; }
.pill.bleu { background: rgba(15, 117, 189, .12); color: var(--blue-600); }
.pill.orange { background: rgba(252, 176, 64, .22); color: var(--orange-ink); }
.pill.vert { background: var(--vert-100); color: var(--vert-fonce); }
.pill.rouge { background: var(--alerte-100); color: var(--alerte); }
.tag { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: rgba(16, 45, 71, .07); color: var(--muted); }

.trajet-grille { display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); align-items: center; gap: 4px; }
.trajet-bloc { border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; }
.trajet-bloc .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.trajet-bloc b { display: block; font-size: 14px; margin-top: 4px; }
.trajet-bloc .acces { display: flex; align-items: center; gap: 6px; font-size: 12px; margin-top: 9px; background: rgba(16, 45, 71, .05); border-radius: 7px; padding: 6px 9px; }
.trajet-bloc .acces.attention { background: rgba(252, 176, 64, .16); color: var(--orange-ink); }
.trajet-fleche { display: grid; place-items: center; color: var(--orange-500); }

/* ── Etats, motifs, pieces, chronologie ──────────────────────────────────── */

.etat {
  display: inline-block; font-size: 11.5px; font-weight: 600; padding: 4px 8px;
  border-radius: 6px; background: #eef4f7; color: #3d5a6e; line-height: 1.3;
}
.etat.succes { background: var(--vert-100); color: var(--vert-fonce); }
.etat.attente { background: var(--orange-100); color: var(--orange-ink); }
.etat.alerte { background: var(--alerte-100); color: var(--alerte); }
.etat.info { background: var(--blue-100); color: var(--blue-600); }

.motif {
  font-size: 12.5px; color: var(--muted); background: rgba(15, 117, 189, .06);
  border-left: 3px solid var(--blue-500); padding: 9px 12px; border-radius: 0 6px 6px 0;
  margin-top: 10px; overflow-wrap: anywhere;
}
.motif.alerte { background: var(--alerte-100); border-left-color: var(--alerte); color: #6d2f18; }
.motif.succes { background: var(--vert-100); border-left-color: var(--vert); color: var(--vert-fonce); }
.motif ul { margin: 6px 0 0; padding-left: 18px; }

.muet { color: var(--muted); font-size: 13px; }
.petit { font-size: 12px; }
.mono { font-family: var(--mono); }

.piece {
  display: flex; align-items: center; gap: 12px; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: var(--blanc);
}
.piece.faite { background: rgba(47, 138, 99, .06); border-color: rgba(47, 138, 99, .35); }
.piece.reserve { background: rgba(252, 176, 64, .08); border-color: rgba(252, 176, 64, .5); }
.piece .coche {
  width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--line-fort);
  display: grid; place-items: center; flex: 0 0 auto; color: #fff;
}
.piece.faite .coche { background: var(--vert); border-color: var(--vert); }
.piece .pl { flex-grow: 1; min-width: 0; }
.piece .pl b { font-size: 13.5px; font-weight: 600; }
.piece .pl small { display: block; color: var(--muted); font-size: 12px; }

.chrono { list-style: none; padding: 0; margin: 0; }
.chrono li { position: relative; padding: 0 0 15px 22px; border-left: 2px solid var(--line); }
.chrono li:last-child { border-left-color: transparent; padding-bottom: 0; }
.chrono li::before {
  content: ""; position: absolute; left: -6px; top: 3px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--blue-500); border: 2px solid #fff;
}
.chrono li.orange::before { background: var(--orange-500); }
.chrono li.vert::before { background: var(--vert); }
.chrono li.rouge::before { background: var(--alerte); }
.chrono .quoi { font-size: 13px; font-weight: 600; }
.chrono .quand { font-size: 11px; color: var(--muted); font-family: var(--mono); }

dl.faits { margin: 0; font-size: 13.5px; }
dl.faits > div { padding: 9px 0; border-bottom: 1px solid var(--line); }
dl.faits > div:last-child { border-bottom: 0; }
dl.faits dt { color: var(--muted); font-size: 11.5px; margin-bottom: 2px; }
dl.faits dd { margin: 0; font-weight: 600; }

/* ── Formulaires et boutons ──────────────────────────────────────────────── */

label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
input, select, textarea {
  width: 100%; padding: 9px 11px; border: 1px solid var(--line-fort);
  border-radius: var(--r-sm); background: var(--blanc); min-height: 40px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(15, 117, 189, .15); }
/* Le contour clavier reste visible : il ne doit jamais etre supprime par le style de champ. */
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 1px; }
textarea { min-height: 80px; resize: vertical; }
input[type="checkbox"] { width: auto; min-height: 0; margin-right: 6px; }
.champ { margin-bottom: 12px; }
.champs { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.champs > * { min-width: 0; }
fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 13px; margin: 0 0 14px; }
legend { font-size: 12px; font-weight: 700; color: var(--muted); padding: 0 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--r-sm); padding: 10px 15px;
  font-size: 13.5px; font-weight: 700; min-height: 42px; background: var(--blue-600); color: #fff;
  transition: background .12s, border-color .12s;
}
.btn:hover:not(:disabled) { background: #083f6b; }
.btn.secondaire { background: var(--blanc); color: var(--ink); border-color: var(--line-fort); font-weight: 600; }
.btn.secondaire:hover:not(:disabled) { background: var(--blue-100); border-color: var(--blue-500); }
.btn.orange { background: var(--orange-500); color: var(--navy-900); border-color: var(--orange-500); }
.btn.orange:hover:not(:disabled) { background: var(--orange-600); }
.btn.danger { background: var(--blanc); color: var(--alerte); border-color: rgba(151, 55, 44, .4); }
.btn.danger:hover:not(:disabled) { background: var(--alerte-100); }
.btn.petit { padding: 6px 11px; min-height: 34px; font-size: 12.5px; }
.barre-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

.cloche { position: relative; width: 38px; height: 38px; border-radius: var(--r-sm); border: 1px solid var(--line-fort); background: #fff; display: grid; place-items: center; }
.cloche .n {
  position: absolute; top: -5px; right: -5px; background: var(--alerte); color: #fff;
  font-size: 9.5px; font-weight: 700; border-radius: 20px; padding: 1px 5px; font-family: var(--mono);
}

/* ── Conversation ────────────────────────────────────────────────────────── */

.fil { background: #eaece4; border-radius: 8px; padding: 13px 12px; max-height: 420px; overflow-y: auto; }
.bulle {
  font-size: 13px; line-height: 1.55; border-radius: 8px; margin-bottom: 9px; padding: 9px 12px;
  max-width: 86%; white-space: pre-wrap; box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}
.bulle.entrant { background: #fff; margin-right: auto; }
.bulle.sortant { background: #d5edc4; margin-left: auto; }
.bulle.interne { background: #e7eef2; color: var(--muted); font-style: italic; max-width: 100%; }
.bulle .quand { display: block; font-size: 9.5px; color: #647165; margin-top: 5px; font-family: var(--mono); }
.fil-tete {
  display: flex; align-items: center; gap: 11px; padding: 12px 15px;
  background: var(--navy-900); color: var(--ivoire);
}
.fil-tete b { display: block; font-size: 12.5px; }
.fil-tete small { display: block; font-size: 10.5px; color: rgba(243, 246, 248, .65); }
.carte.conversation { padding: 0; overflow: hidden; }
.carte.conversation .fil { border-radius: 0; max-height: 300px; }
.carte.conversation .composer { padding: 11px 14px; display: flex; gap: 8px; align-items: center; border-top: 1px solid var(--line); }
.liste-fils { display: flex; flex-direction: column; gap: 8px; }
.fil-item {
  width: 100%; text-align: left; border: 1px solid var(--line); background: var(--blanc);
  border-radius: 10px; padding: 11px 12px;
}
.fil-item[aria-pressed="true"] { border-color: rgba(15, 117, 189, .35); background: rgba(15, 117, 189, .06); }
.fil-item.pause { border-color: rgba(252, 176, 64, .5); background: rgba(252, 176, 64, .07); }

/* ── Connexion ───────────────────────────────────────────────────────────── */

.page-connexion { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.page-connexion .visuel {
  background: var(--navy-900); color: var(--ivoire); padding: 46px 44px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
}
.page-connexion .visuel h2 { font-size: 33px; color: var(--ivoire); line-height: 1.12; letter-spacing: -.8px; }
.page-connexion .visuel h2 em { font-style: normal; color: var(--orange-500); }
.page-connexion .visuel p { color: rgba(243, 246, 248, .75); font-size: 14px; margin-top: 14px; max-width: 430px; }
.page-connexion .visuel .etapes { display: flex; flex-direction: column; gap: 13px; }
.page-connexion .visuel .etapes div { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: rgba(243, 246, 248, .85); }
.page-connexion .visuel .etapes span {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(252, 176, 64, .5);
  color: var(--orange-500); display: grid; place-items: center; font-size: 11.5px; font-weight: 700; flex: 0 0 auto;
}
.page-connexion .boite { display: grid; place-items: center; padding: 40px 24px; }
.page-connexion .boite .interieur { width: min(400px, 100%); }
.marque-haut { display: flex; align-items: center; gap: 11px; }
.marque-haut .jeton {
  width: 40px; height: 40px; border-radius: 10px; background: var(--orange-500);
  display: grid; place-items: center; color: var(--navy-900); font-family: var(--display); font-weight: 700; font-size: 20px; flex: 0 0 auto;
}
.marque-haut b { font-family: var(--display); font-size: 19px; font-weight: 700; display: block; line-height: 1.1; }
.marque-haut small { font-size: 9.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--orange-ink); }

/* ── Chauffeur ───────────────────────────────────────────────────────────── */

.fiche-chauffeur { max-width: 620px; margin-inline: auto; padding: 14px 16px 30px; }
.etape {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: var(--blanc);
}
.etape.faite { background: var(--vert-100); border-color: rgba(47, 138, 99, .35); }
.pastille { width: 9px; height: 9px; border-radius: 50%; background: var(--line-fort); flex-shrink: 0; }
.etape.faite .pastille { background: var(--vert); }
.etape .lib { flex-grow: 1; font-size: 13.5px; font-weight: 600; min-width: 0; }
.hors-ligne {
  position: sticky; bottom: 0; background: var(--orange-100); color: var(--orange-ink);
  border-top: 1px solid rgba(252, 176, 64, .55); padding: 10px 14px;
  font-size: 12.5px; display: flex; align-items: center; gap: 10px; z-index: 10;
}
.hors-ligne .txt { flex-grow: 1; font-weight: 600; }
.ligne-adresses { display: flex; gap: 11px; }
.ligne-adresses .rail { display: flex; flex-direction: column; align-items: center; padding-top: 4px; }
.ligne-adresses .rail .p1 { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-500); }
.ligne-adresses .rail .p2 { width: 9px; height: 9px; border-radius: 50%; background: var(--orange-500); }
.ligne-adresses .rail .trait { width: 2px; flex-grow: 1; background: var(--line-fort); margin: 3px 0; min-height: 30px; }

/* ── Suivi client ────────────────────────────────────────────────────────── */

.suivi { max-width: 640px; margin-inline: auto; padding: 22px 18px 60px; }
.suivi .etapes { list-style: none; padding: 0; margin: 16px 0 0; }
.suivi .etapes li { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 16px; position: relative; padding-left: 22px; }
.suivi .etapes li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue-500); }
.suivi .etapes li::after { content: ""; position: absolute; left: 7px; top: 16px; bottom: 0; width: 1px; background: var(--line-fort); }
.suivi .etapes li:last-child::after { display: none; }

/* Avancement. La jauge ne bouge QUE si une etape est franchie : aucune
   animation ne doit laisser croire a une progression que le terrain n'a pas
   confirmee. La transition sert a la transition d'etat, pas a meubler. */
.suivi .avancement { margin-top: 18px; }
.suivi .jauge { height: 8px; border-radius: 999px; background: var(--line-fort); overflow: hidden; }
.suivi .jauge span { display: block; height: 100%; border-radius: 999px; transition: width .5s var(--courbe, ease); }
.suivi .jauge span.bleu { background: var(--blue-500); }
.suivi .jauge span.vert { background: var(--vert); }
.suivi .jauge span.alerte { background: var(--orange-600); }

.suivi .creneau { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 14.5px; }
.suivi .creneau svg { flex: none; color: var(--muted); }

.suivi .parcours { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 9px; }
.suivi .parcours li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.suivi .parcours li .puce {
  flex: none; width: 19px; height: 19px; border-radius: 50%;
  border: 1.5px solid var(--line-fort); display: grid; place-items: center; color: #fff;
}
.suivi .parcours li.faite { color: var(--ink); }
.suivi .parcours li.faite .puce { background: var(--vert); border-color: var(--vert); }
.suivi .parcours li.courante { color: var(--ink); font-weight: 600; }
.suivi .parcours li.courante .puce { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(15, 117, 189, .16); }

/* Case a cocher et son libelle sur une ligne : une liste de delegations se lit
   comme une liste, pas comme une pile de champs de formulaire. */
.champ.ligne { display: flex; align-items: flex-start; gap: 10px; grid-column: 1 / -1; margin-bottom: 4px; }
.champ.ligne input[type="checkbox"] { margin-top: 3px; flex: none; width: 16px; height: 16px; }
.champ.ligne span { font-weight: 400; font-size: 14px; color: var(--ink); line-height: 1.45; }
.champ.ligne input:disabled + span { color: var(--muted); }

/* Une colonne de montants se lit alignee a droite, chiffres de meme chasse. */
td.nombre, th.nombre { text-align: right; font-variant-numeric: tabular-nums; }

.journal-technique { font-family: var(--mono); font-size: 11.5px; white-space: pre-wrap; color: var(--muted); }

/* ── JEFF : orbe, bandeau, et le mouvement des dossiers ──────────────────── */
/* L'orbe est peint au canvas (interfaces/assets/jeff-vocal.js). Ce qui suit est
   la scene autour. UNE seule scene, DEUX places :
     - au centre, par-dessus tout, pour parler ;
     - en bandeau, dans le flux au-dessus du pipeline, pendant qu'il travaille —
       il faut voir les dossiers bouger.
   La scene demenage d'un hote a l'autre ; le canvas et sa boucle ne sont jamais
   dupliques. */

.jv[hidden] { display: none; }

/* --- Place 1 : au centre ------------------------------------------------- */
.jv-modal {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center; padding: 26px;
}
.jv-voile {
  position: absolute; inset: 0; border: 0; padding: 0; cursor: zoom-out;
  background: radial-gradient(120% 90% at 50% 38%, rgba(10, 31, 51, .72), rgba(10, 31, 51, .92));
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  animation: jvVoile var(--duree-panneau) var(--courbe);
}

/* --- Place 2 : en bandeau ------------------------------------------------ */
/* Colle sous la barre de titre : le pipeline defile, JEFF reste lisible. */
.jv-bandeau {
  position: sticky; top: calc(var(--topbar) + 10px); z-index: 40; margin-bottom: 16px;
}

/* --- La scene, commune aux deux places ----------------------------------- */
.jv-scene {
  position: relative; color: var(--ivoire);
  background: linear-gradient(155deg, rgba(23, 64, 95, .94), rgba(10, 31, 51, .96));
  border: 1px solid rgba(243, 246, 248, .14);
  box-shadow: var(--ombre-3), inset 0 1px 0 rgba(243, 246, 248, .12);
  backdrop-filter: blur(var(--verre-flou)); -webkit-backdrop-filter: blur(var(--verre-flou));
}

/* Au centre : une colonne, l'orbe en grand. */
.jv-scene[data-mode="centre"] {
  z-index: 1; width: min(560px, 100%); max-height: 100%; border-radius: 20px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 26px 26px 20px; text-align: center; overflow: auto;
  animation: jvEntree var(--duree-panneau) var(--courbe);
}
/* En bandeau : une ligne, l'orbe en pastille, la commande a droite. */
.jv-scene[data-mode="bandeau"] {
  border-radius: var(--r); padding: 11px 14px;
  display: grid; align-items: center; gap: 6px 14px;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-areas: "orbe dit cmd coin";
  animation: jvBandeau var(--duree-panneau) var(--courbe);
}

/* --- Coin : ranger, fermer ----------------------------------------------- */
/* z-index : au centre, le coin chevauche l'orbe sur un ecran etroit, et l'orbe
   venant apres dans le document, c'est lui qui recevait les clics. */
.jv-coin { position: absolute; display: flex; gap: 6px; z-index: 2; }
.jv-scene[data-mode="centre"] .jv-coin { top: 12px; right: 12px; }
/* En bandeau, le coin prend sa propre colonne : pose en absolu, il passait
   SOUS la barre de commandes et la croix devenait incliquable. */
.jv-scene[data-mode="bandeau"] .jv-coin { position: static; grid-area: coin; }
.jv-rond {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  color: var(--ivoire); border: 1px solid rgba(243, 246, 248, .26); background: rgba(243, 246, 248, .08);
  transition: background var(--duree-controle) var(--courbe), transform var(--duree-controle) var(--courbe);
}
.jv-rond:hover { background: rgba(243, 246, 248, .2); transform: scale(1.06); }
/* Le contour de focus general est bleu : sur le panneau bleu nuit de JEFF il se
   perdrait. Ici c'est l'orange qui marque le focus. */
.jv-scene :focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; }
.jv-scene[data-mode="bandeau"] .jv-rond { width: 24px; height: 24px; }

/* --- L'orbe --------------------------------------------------------------- */
.jv-orbe {
  grid-area: orbe; border: 0; background: none; padding: 0; position: relative;
  display: grid; place-items: center; border-radius: 50%;
  transition: transform var(--duree-controle) var(--courbe);
}
.jv-orbe:hover { transform: scale(1.04); }
.jv-orbe:active { transform: scale(.97); }
.jv-scene[data-mode="centre"] .jv-orbe { width: min(320px, 60vw); aspect-ratio: 1; }
.jv-scene[data-mode="bandeau"] .jv-orbe { width: 66px; height: 66px; }
.jv-toile { position: absolute; inset: 0; width: 100%; height: 100%; }

/* --- Ce que JEFF dit ------------------------------------------------------ */
.jv-dit { grid-area: dit; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.jv-scene[data-mode="bandeau"] .jv-dit { text-align: left; }

.jv-phase {
  display: flex; align-items: center; gap: 7px; justify-content: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(243, 246, 248, .58);
}
.jv-scene[data-mode="bandeau"] .jv-phase { justify-content: flex-start; }
.jv-point {
  width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto;
  background: var(--orange-500); box-shadow: 0 0 12px var(--orange-500); animation: pulse 1.8s infinite;
}
.jv[data-phase="ecoute"] .jv-point { background: #7ad6ff; box-shadow: 0 0 14px #7ad6ff; }
.jv[data-phase="travail"] .jv-point { background: #7cd8a8; box-shadow: 0 0 14px #7cd8a8; }
.jv[data-phase="attente"] .jv-point { background: var(--orange-600); box-shadow: 0 0 14px var(--orange-600); animation: none; }
.jv[data-phase="erreur"] .jv-point { background: #d67a68; box-shadow: 0 0 14px #d67a68; animation: none; }
.jv[data-phase="repos"] .jv-point { animation: none; opacity: .7; }

.jv-legende { font-family: var(--display); font-weight: 700; letter-spacing: -.3px; line-height: 1.28; }
.jv-scene[data-mode="centre"] .jv-legende { font-size: 19px; max-width: 34ch; }
.jv-scene[data-mode="bandeau"] .jv-legende { font-size: 15px; }
.jv-entendu { font-size: 12.5px; color: var(--orange-500); font-style: italic; max-height: 12vh; max-width: 100%; overflow: auto; overflow-wrap: anywhere; }
.jv-suite { font-size: 12px; color: rgba(243, 246, 248, .72); }

/* Attente INDETERMINEE : rien ne pretend connaitre l'avancement. */
.jv-jauge { height: 2px; border-radius: 2px; background: rgba(243, 246, 248, .14); overflow: hidden; margin: 5px 0 1px; }
.jv-jauge i { display: block; width: 34%; height: 100%; border-radius: 2px; background: var(--orange-500); animation: jvJauge 1.15s ease-in-out infinite; }

.jv-detail {
  font-family: var(--mono); font-size: 11.5px; line-height: 1.55; white-space: pre-wrap; text-align: left;
  color: rgba(243, 246, 248, .78); background: rgba(10, 31, 51, .5); border: 1px solid rgba(243, 246, 248, .12);
  border-radius: var(--r-sm); padding: 9px 11px; margin: 6px 0 0; overflow: auto; scrollbar-width: thin;
}
.jv-scene[data-mode="centre"] .jv-detail { width: 100%; max-height: 26vh; }
.jv-scene[data-mode="bandeau"] .jv-detail { max-height: 76px; }

/* Zone de statut : le RESULTAT pour les lecteurs d'ecran, jamais l'animation. */
.jv-statut { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* --- Commandes ------------------------------------------------------------ */
.jv-cmd { grid-area: cmd; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.jv-scene[data-mode="centre"] .jv-cmd { width: 100%; align-items: center; margin-top: 10px; }
.jv-scene[data-mode="bandeau"] .jv-cmd { width: min(340px, 42vw); }

.jv-barre { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.jv-b {
  border: 1px solid rgba(243, 246, 248, .26); background: rgba(243, 246, 248, .07); color: var(--ivoire);
  border-radius: 999px; padding: 8px 15px; font-size: 13px; font-weight: 600;
  transition: background var(--duree-controle) var(--courbe), border-color var(--duree-controle) var(--courbe);
}
.jv-b:hover:not(:disabled) { background: rgba(243, 246, 248, .17); }
.jv-b.actif { background: var(--orange-500); border-color: var(--orange-500); color: var(--navy-900); }
.jv-b:disabled { opacity: .45; }
.jv-scene[data-mode="bandeau"] .jv-b { padding: 6px 11px; font-size: 11.5px; }
.jv-scene[data-mode="bandeau"] .jv-barre { justify-content: flex-end; }

.jv-saisie { display: flex; gap: 7px; width: 100%; }
.jv-saisie input {
  flex: 1; min-width: 0; border-radius: 999px; padding: 9px 15px; font-size: 13.5px;
  border: 1px solid rgba(243, 246, 248, .26); background: rgba(10, 31, 51, .55); color: var(--ivoire);
}
.jv-saisie input::placeholder { color: rgba(243, 246, 248, .45); }
.jv-saisie input:focus { outline: 2px solid var(--orange-500); outline-offset: 1px; }
.jv-scene[data-mode="bandeau"] .jv-saisie input { padding: 6px 12px; font-size: 12px; }

.jv-note { display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: rgba(243, 246, 248, .5); text-align: center; }
.jv-scene[data-mode="bandeau"] .jv-note { display: none; }

/* Rappel : une fois la croix cliquee, JEFF reste joignable d'un geste. */
.jv-rappel {
  position: fixed; right: 18px; bottom: 18px; z-index: 460;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-fort); background: var(--navy-900);
  box-shadow: 0 12px 30px rgba(16, 45, 71, .34);
  transition: transform var(--duree-controle) var(--courbe), box-shadow var(--duree-controle) var(--courbe);
}
.jv-rappel[hidden] { display: none; }
.jv-rappel:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 16px 36px rgba(16, 45, 71, .44); }
.jv-rappel svg { width: 34px; height: 34px; }

@keyframes jvVoile { from { opacity: 0; } to { opacity: 1; } }
@keyframes jvEntree { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes jvBandeau { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes jvJauge { 0% { transform: translateX(-110%); } 100% { transform: translateX(310%); } }

/* --- Le dossier qui avance ----------------------------------------------- */
/* Une carte clonee traverse l'ecran, suivie d'un sillage, et la colonne
   d'arrivee s'allume. Le clone est en position fixe parce qu'une colonne
   defile : une carte animee sur place serait rognee. */
.kcard-vol {
  position: fixed; z-index: 640; margin: 0; pointer-events: none; will-change: transform;
  border-radius: 10px; background: var(--blanc); color: var(--ink);
  box-shadow: 0 24px 52px rgba(15, 117, 189, .4), 0 0 0 2px var(--blue-500);
}
.kcard-sillage {
  position: fixed; z-index: 639; pointer-events: none; border-radius: 50%; will-change: transform, opacity;
  background: radial-gradient(circle, rgba(252, 176, 64, .75), rgba(252, 176, 64, 0) 68%);
}
/* Arrivee, ou simple mise en evidence quand le dossier n'a pas change d'etape. */
.kcard-arrive { animation: jvArrive 1s var(--courbe); }
.kcol.jv-cible { animation: jvCible 1.15s var(--courbe); }
@keyframes jvArrive {
  0% { transform: scale(1.05); box-shadow: 0 0 0 3px var(--orange-500), 0 14px 30px rgba(252, 176, 64, .45); }
  100% { transform: none; box-shadow: var(--ombre); }
}
@keyframes jvCible {
  0%, 100% { box-shadow: var(--ombre-2), inset 0 1px 0 var(--bord-verre); }
  32% { box-shadow: var(--lueur-cible), var(--ombre-2); }
}

@media (max-width: 900px) {
  /* En bandeau sur petit ecran : deux lignes, rien ne deborde, aucun bouton
     masque. Le collage est retire, la barre de titre n'etant plus fixe. */
  .jv-bandeau { position: static; }
  .jv-scene[data-mode="bandeau"] {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "orbe dit coin" "cmd cmd cmd";
  }
  .jv-scene[data-mode="bandeau"] .jv-cmd { width: 100%; }
  .jv-scene[data-mode="bandeau"] .jv-barre { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .jv-modal { padding: 12px; }
  /* De la place au-dessus de l'orbe pour ranger et fermer : sous 620 px, ils se
     chevauchaient. */
  .jv-scene[data-mode="centre"] { padding: 52px 16px 16px; }
  .jv-scene[data-mode="centre"] .jv-legende { font-size: 16.5px; }
  .jv-scene[data-mode="centre"] .jv-orbe { width: min(230px, 62vw); }
  .jv-scene[data-mode="centre"] .jv-detail { max-height: 20vh; }
  .jv-scene[data-mode="bandeau"] .jv-orbe { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .kcard-sillage { display: none; }
  .jv-jauge i { animation: none; width: 100%; opacity: .5; }
}

/* ── Adaptations ─────────────────────────────────────────────────────────── */

@media (max-width: 1240px) {
  .kanban { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kanban.quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kanban.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kcol { min-height: 300px; }
}
@media (max-width: 1000px) {
  .grille.principale, .grille.deux, .grille.trois { grid-template-columns: minmax(0, 1fr); }
  .trajet-grille { grid-template-columns: minmax(0, 1fr); }
  .trajet-fleche { transform: rotate(90deg); padding: 4px 0; }
  .page-connexion { grid-template-columns: minmax(0, 1fr); }
  .page-connexion .visuel { padding: 26px 22px; }
  .page-connexion .visuel .etapes { display: none; }
}
@media (max-width: 900px) {
  /* Hauteur DECLAREE de la bande de menu : le panneau des reglages s'ancre
     dessus en `position: fixed`, et une valeur calculee par le navigateur ne
     circule pas jusqu'au CSS. On la fixe donc, et le contenu s'y plie. */
  :root { --menu: 0px; --topbar: 0px; --barre-mobile: 56px; }
  /* La bande de menu est FIXE, donc la page lui reserve sa hauteur. `sticky`
     ne conviendrait pas : le menu vit dans #entete, haut de deux cents pixels,
     et la barre se serait decollee au bout d'un demi-ecran. */
  body.app-shell { padding-left: 0; padding-top: var(--barre-mobile); }
  body.app-shell main { padding: 16px 14px 60px; }
  .sidebar {
    /* Toujours en haut de l'ecran : sur un telephone, un pipeline fait
       plusieurs milliers de pixels ; avec une barre dans le flux, changer
       d'ecran obligeait a remonter toute la page. */
    position: fixed; inset: 0 0 auto 0; width: auto;
    height: var(--barre-mobile); flex-direction: row; align-items: center;
    gap: 4px; overflow-x: auto; overflow-y: hidden; padding: 0 12px;
  }
  .sidebar .marque { border-bottom: 0; margin: 0 8px 0 0; padding: 0; flex: 0 0 auto; }
  .sidebar .marque .txt { display: none; }
  .nav-sect, .sidebar .objectif { display: none; }
  .nav-link { width: auto; white-space: nowrap; flex: 0 0 auto; padding: 8px 11px; }
  .nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange-500); }
  /* Le pied ne suit PAS le defilement de la bande : compte, reglages et sortie
     restent sous le pouce, a droite. Avec `margin-left: auto` ils partaient au
     bout d'une bande de 1 400 px, donc hors d'atteinte sans un long balayage
     qui faisait par ailleurs disparaitre les onglets. */
  .sidebar .pied {
    position: sticky; right: 0; z-index: 2; margin: 0 0 0 auto;
    padding: 0 0 0 10px; flex: 0 0 auto; align-self: stretch;
    display: flex; align-items: center; background: var(--navy-900);
    box-shadow: -14px 0 14px -7px var(--navy-900);
  }
  .sidebar .compte-user { border-top: 0; padding: 0; }
  .sidebar .compte-user .qui { display: none; }
  /* Le panneau des reglages quitte la bande. En `position: absolute` il etait
     rogne par son `overflow-x: auto` : ouvert, il tombait 178 px sous une bande
     haute de 56 px et l'ecran n'en montrait rien — c'est le defaut « les
     parametres ne s'affichent pas ». En `fixed`, aucun ancetre ne le decoupe. */
  .sidebar .reglages .liste {
    position: fixed; top: calc(var(--barre-mobile) + 6px); right: 10px;
    bottom: auto; left: auto; z-index: 60;
    width: min(290px, calc(100vw - 20px));
    max-height: calc(100vh - var(--barre-mobile) - 20px); overflow-y: auto;
  }
  .sidebar .reglages .liste .nav-link { width: 100%; min-height: 40px; }
  /* Cibles tactiles : 29 px et 28 px de cote passaient sous le seuil du doigt. */
  .sidebar .reglages > summary,
  .sidebar .compte-user .sortir { width: 40px; height: 40px; padding: 0; }
  .topbar { position: static; padding: 12px 14px; }
  .kanban, .kanban.quatre, .kanban.six { grid-template-columns: minmax(0, 1fr); }
  .kcol { min-height: 0; }
  .kcol-corps { max-height: 340px; }
  /* Sous 16 px, iOS zoome la page des qu'un champ prend le focus — et ne la
     degroupe jamais seul : la suite de la saisie se fait alors dans une page
     plus large que l'ecran. Tous les champs passent donc a 16 px sur mobile. */
  input, select, textarea { font-size: 16px; }
  .recherche input { font-size: 16px; }
  .jv-saisie input,
  .jv-scene[data-mode="bandeau"] .jv-saisie input { font-size: 16px; }
  /* Boutons secondaires et cases a cocher au doigt : 34 px et 13 px de cote se
     ratent une fois sur trois. Les ecrans de reglage en sont couverts. */
  .btn.petit { min-height: 40px; padding: 8px 12px; }
  input[type="checkbox"], input[type="radio"],
  .champ.ligne input[type="checkbox"] { width: 20px; height: 20px; }
  /* Interface chauffeur : elle n'a pas de menu de gauche, donc pas de bloc
     ci-dessus — et c'est pourtant la seule qui soit tenue a bout de bras. */
  .entete-mobile .sortir { min-height: 40px; padding: 8px 12px; font-size: 13px; }
  /* Les replis du contenu (« Modifier le dossier », « Detail du calcul ») font
     18 px de haut : assez larges, trop plats pour un pouce. */
  main summary { padding: 9px 0; }
  .btn-crayon { padding: 8px; }
}
@media (max-width: 620px) {
  body { font-size: 14.5px; }
  h1 { font-size: 20px; }
  .carte { padding: 13px; }
  .champs { grid-template-columns: minmax(0, 1fr); }
  .recherche input { width: 110px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  th, td { padding: 8px 7px; }
  .fiche-entete h1 { font-size: 22px; }
  .fiche-entete .haut { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .kcard.clignote-rouge { box-shadow: 0 0 0 2px rgba(181, 72, 59, .5), var(--ombre); }
  .kcard.clignote-vert { box-shadow: 0 0 0 2px rgba(47, 138, 99, .5), var(--ombre); }
}


/* ============================================================================
   Planning d'exploitation — une piste par ressource, le temps en abscisse.
   Les blocs sont positionnes en pourcentage de la journee affichee
   (PLANNING.heureDebut a PLANNING.heureFin dans bureau.js) : aucune unite de
   pixel ne circule entre le calcul et le rendu, la grille suit la largeur.
   ============================================================================ */

.planning { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 14px; align-items: start; }

/* Date et navigation vivent dans la barre de titre : toujours visibles, et
   elles ne prennent aucune hauteur au planning lui-meme. */
.planning-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.planning-date {
  font-family: var(--display); font-weight: 700; font-size: 14.5px; color: var(--ink);
  margin-right: 4px; white-space: nowrap;
}
.planning-date.aujourdhui { color: var(--orange-ink); }

.planning-file h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.planning-file .compte {
  background: var(--orange-100); color: var(--orange-ink); border-radius: 999px;
  padding: 1px 8px; font-size: 12px; font-weight: 700;
}
.pcard {
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--blanc);
  padding: 9px 10px; margin-bottom: 9px; cursor: grab; box-shadow: var(--ombre);
}
.pcard:active { cursor: grabbing; }
.pcard b { display: block; font-size: 13.5px; }
.pcard .btn { margin-top: 7px; width: 100%; }
.pcard.glisse, .pg-bloc.glisse { opacity: .45; }
.pcard.en-attente, .pg-bloc.en-attente { opacity: .6; outline: 2px dashed var(--blue-500); }

.planning-grille { overflow-x: auto; }
.pg-entete { display: flex; align-items: flex-end; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.pg-heures { position: relative; flex: 1 1 auto; height: 18px; min-width: 640px; }
.pg-heure {
  position: absolute; top: 0; transform: translateX(-50%);
  font-size: 11px; color: var(--muted); white-space: nowrap;
}
.pg-groupe { margin-top: 12px; }
.pg-groupe h3 { color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: 11px; margin-bottom: 6px; }
.pg-ligne { display: flex; align-items: stretch; gap: 10px; margin-bottom: 6px; }
.pg-nom { flex: 0 0 138px; display: flex; flex-direction: column; justify-content: center; font-size: 13px; }
.pg-nom span { line-height: 1.25; }

.pg-piste {
  position: relative; flex: 1 1 auto; min-width: 640px; height: 68px;
  background: var(--ivoire); border: 1px solid var(--line); border-radius: var(--r-sm);
  /* Graduation horaire. `--pas-heure` est pose en ligne par bureau.js : la
     fenetre du planning n'est plus figee a 6 h - 20 h, elle suit les horaires
     d'exploitation saisis et les creneaux deja poses. Une valeur en dur ici
     desalignait la trame des heures des que la fenetre changeait. Pas de
     background-size : le motif se repete deja sur la largeur de la piste, en
     ajouter un le repliait sur lui-meme. */
  background-image: repeating-linear-gradient(to right,
    var(--line-fort) 0 1px, transparent 1px var(--pas-heure, 7.142857%));
}
.pg-piste.survol { border-color: var(--blue-500); box-shadow: inset 0 0 0 1px var(--blue-500); }

.pg-bloc {
  position: absolute; top: 5px; bottom: 5px;
  text-decoration: none; color: inherit;
  background: var(--blue-100); border: 1px solid var(--blue-500); border-left: 3px solid var(--blue-600);
  border-radius: var(--r-sm); padding: 4px 11px 4px 5px; overflow: hidden;
  cursor: grab; box-shadow: var(--ombre);
}
.pg-bloc:active { cursor: grabbing; }
.pg-bloc.deborde { border-style: dashed; background: var(--orange-100); border-color: var(--orange-600); }
.pg-bloc.redimensionne { outline: 2px solid var(--orange-500); }

/* ETAT D'EXPLOITATION SUR LE BLOC.
   Tous les creneaux se ressemblaient : a planifier comme en cours de
   livraison. L'exploitant ne voyait pas ce qui etait fige avant d'y poser la
   main, et un verrou qui ne se voit pas est un verrou qu'on decouvre en le
   heurtant. Trois niveaux, trois lectures immediates. */
.pg-bloc.verrou-derogation {
  background: var(--orange-100); border-color: var(--orange-600); border-left-color: var(--orange-600);
  cursor: not-allowed;
}
.pg-bloc.verrou-fige {
  background: var(--vert-100, #e7f4ec); border-color: var(--vert-600, #1f7a46);
  border-left-color: var(--vert-600, #1f7a46); border-left-width: 5px; cursor: not-allowed;
}
.pg-bloc.verrou-clos { opacity: .62; cursor: default; filter: grayscale(.35); }
.pg-bloc.verrou-fige .pg-poignee,
.pg-bloc.verrou-derogation .pg-poignee,
.pg-bloc.verrou-clos .pg-poignee { display: none; }
.pg-cadenas {
  position: absolute; top: 3px; right: 4px; font-size: 10px; line-height: 1;
  opacity: .8; pointer-events: none;
}
.pg-retard {
  display: inline-block; margin-left: 4px; padding: 0 4px; border-radius: 3px;
  background: var(--orange-600); color: #fff; font-size: 9px; font-weight: 700;
}
/* Meme contenu qu'une carte du pipeline : reference en petit, nom du client,
   trajet. Un creneau court est etroit : chaque ligne se coupe proprement et
   l'infobulle porte le detail complet (horaires, duree, communes). */
.pg-bloc .ref, .pg-bloc .nom, .pg-bloc .trajet {
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pg-bloc .ref { font-family: var(--mono); font-size: 9.5px; color: var(--muted); letter-spacing: .3px; }
.pg-bloc .nom { font-weight: 700; font-size: 12px; line-height: 1.25; margin-top: 1px; }
.pg-bloc .trajet {
  display: flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--muted); margin-top: 2px;
}
.pg-bloc .trajet svg { color: var(--blue-500); flex: 0 0 auto; }
.pg-poignee {
  position: absolute; top: 0; right: 0; width: 10px; height: 100%;
  cursor: ew-resize; background: linear-gradient(to right, transparent, rgba(16, 45, 71, .16));
  touch-action: none;
}
.pg-poignee:hover { background: linear-gradient(to right, transparent, rgba(15, 117, 189, .45)); }

@media (max-width: 1100px) {
  .planning { grid-template-columns: minmax(0, 1fr); }
  .planning-file { order: 2; }
}
@media (max-width: 620px) {
  .pg-nom { flex-basis: 108px; font-size: 12px; }
}


/* --- Horaires de travail et badgeuse -------------------------------------- */

.planning-cote { display: flex; flex-direction: column; gap: 14px; }

/* Zone ou la ressource ne travaille pas. Elle est DERRIERE les blocs : un
   creneau pose la reste lisible, il est simplement pose sur du gris. */
.pg-hors {
  position: absolute; top: 0; bottom: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(135deg,
    rgba(16, 45, 71, .07) 0 6px, rgba(16, 45, 71, .02) 6px 12px);
}
.pg-bloc { z-index: 1; }

.pg-badge {
  display: inline-block; margin-top: 3px; padding: 1px 7px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; line-height: 1.5; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.pg-badge.oui { background: var(--vert-100); color: var(--vert-fonce); }
.pg-badge.non { background: var(--ivoire); color: var(--muted); }

.planning-presence h3 { margin-bottom: 10px; }
.pres { display: flex; align-items: flex-start; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.pres:first-of-type { border-top: 0; }
.pres-pastille { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; }
.pres-pastille.oui { background: var(--vert); }
.pres-pastille.non { background: var(--line-fort); }
.pres-txt { flex: 1 1 auto; min-width: 0; }
.pres-txt b { display: block; font-size: 13px; }
.pres-txt small { display: block; font-size: 11px; line-height: 1.35; }
.pres .btn { flex: 0 0 auto; align-self: center; }

/* Badgeuse du chauffeur : un seul bouton, pleine largeur, lisible au soleil. */
.badgeuse { border-left: 3px solid var(--line-fort); }
.badgeuse.en-service { border-left-color: var(--vert); background: var(--vert-100); }

/* Semaine de travail : une ligne par jour, saisie en clair. */
.semaine { display: grid; gap: 8px; }
.semaine-jour { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: center; }
.semaine-jour label { font-weight: 700; font-size: 13px; }
.semaine-jour input { width: 100%; }
@media (max-width: 620px) {
  .semaine-jour { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* Feu vert de Jeff : aperçu de la file, une ligne par action. */
.liste-simple { list-style: none; padding: 0; margin: 8px 0 0; }
.liste-simple li { padding: 8px 0; border-top: 1px solid var(--line); }
.liste-simple li:first-child { border-top: 0; }
