/* SD ONE · lot 68 (24/10/2026) : plusieurs passagers et étapes dans la création de mission.
   Bleu nuit / bleu / argent, jamais doré. Fichier NOUVEAU, chargé après v2-lot66-ligne.css. */
:root { --sd68-nuit: #0b1b33; --sd68-bleu: #1e5aa8; --sd68-bleu2: #3b7dd8; --sd68-argent: #c9d1dc; --sd68-fond: #f5f8fc; --sd68-txt: #0b1b33; --sd68-doux: #5b6b80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --sd68-fond: #13294a; --sd68-txt: #eef3fa; --sd68-doux: #a9b6c6; } }
:root[data-theme="dark"] { --sd68-fond: #13294a; --sd68-txt: #eef3fa; --sd68-doux: #a9b6c6; }

.fen .g .sd68-bloc { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sd68-t { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.sd68-t > b { font-weight: 800; color: var(--sd68-txt); }
.sd68-pax { display: flex; flex-direction: column; width: 170px; max-width: 100%; }
.sd68-pax input { width: 100%; }
.sd68-liste { display: flex; flex-direction: column; gap: 8px; }
.sd68-liste:empty { display: none; }

/* une ligne par passager : 5 champs + retirer */
.sd68-pa { display: grid; grid-template-columns: 28px 90px repeat(4, minmax(0, 1fr)) 44px; gap: 8px; align-items: end;
  background: var(--sd68-fond); border: 1px solid var(--sd68-argent); border-radius: 12px; padding: 10px; }
.sd68-pa label { display: flex; flex-direction: column; min-width: 0; }
.sd68-pa .ch { width: 100%; min-width: 0; box-sizing: border-box; }

/* une ligne par étape : numéro, adresse, retirer */
.sd68-et { display: grid; grid-template-columns: 28px minmax(0, 1fr) 44px; gap: 8px; align-items: center; }
.sd68-et .ch { width: 100%; min-width: 0; box-sizing: border-box; }

.sd68-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800;
  color: #fff; background: var(--sd68-bleu); align-self: center; }
.sd68-x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--sd68-argent); background: transparent; color: var(--sd68-doux);
  font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.sd68-x:hover, .sd68-x:focus-visible { color: #fff; background: var(--sd68-nuit); border-color: var(--sd68-nuit); outline: none; }

/* boutons « + Ajouter » : quadrillage bleu nuit / argent, comme les boutons maison */
.sd68-plus { align-self: flex-start; min-height: 44px; padding: 0 18px; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px; color: #fff; border: 1px solid rgba(201, 209, 220, .6);
  background-color: var(--sd68-nuit);
  background-image: linear-gradient(rgba(201, 209, 220, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 209, 220, .12) 1px, transparent 1px),
    linear-gradient(180deg, var(--sd68-bleu) 0%, #163f78 50%, var(--sd68-nuit) 100%);
  background-size: 12px 12px, 12px 12px, 100% 100%;
  box-shadow: 0 4px 14px rgba(11, 27, 51, .25); transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.sd68-plus span { font-size: 18px; line-height: 1; }
.sd68-plus:hover, .sd68-plus:focus-visible { transform: translateY(-1px); filter: brightness(1.12); box-shadow: 0 6px 20px rgba(30, 90, 168, .4); outline: none; }
.sd68-plus:active { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .sd68-plus { transition: none; } .sd68-plus:hover { transform: none; } }

/* tablette et téléphone */
@media (max-width: 900px) {
  .sd68-pa { grid-template-columns: 28px 1fr 1fr 44px; grid-template-areas: "n c c x" "n a b x" "n t m x"; }
  .sd68-pa .sd68-n { grid-area: n; align-self: start; }
  .sd68-pa label:nth-of-type(1) { grid-area: c; } .sd68-pa label:nth-of-type(2) { grid-area: a; } .sd68-pa label:nth-of-type(3) { grid-area: b; }
  .sd68-pa label:nth-of-type(4) { grid-area: t; } .sd68-pa label:nth-of-type(5) { grid-area: m; }
  .sd68-pa .sd68-x { grid-area: x; align-self: start; }
}
@media (max-width: 560px) {
  .sd68-pa { grid-template-columns: 28px minmax(0, 1fr) 44px; grid-template-areas: "n c x" "n a x" "n b x" "n t x" "n m x"; }
  .sd68-pa .ch, .sd68-et .ch { min-height: 44px; font-size: 16px; }
  .sd68-plus { width: 100%; justify-content: center; }
  .sd68-pax { width: 100%; }
}
/* 24/10 14h45 : une autre feuille donne « grid-area: a » aux champs .sd48-eta ; la ligne d'étape reste sur une seule ligne */
.sd68-et > .sd68-n { grid-column: 1 !important; grid-row: 1 !important; grid-area: auto / 1 !important; }
.sd68-et > .sd68-eta { grid-area: 1 / 2 !important; width: 100% !important; max-width: none !important; }
.sd68-et > .sd68-x { grid-area: 1 / 3 !important; }
