/* SD ONE · lot 66 (24/10/2026) : suggestions d'adresses, ligne vierge, boutons de la liste chauffeur.
   Bleu nuit / bleu / argent, jamais doré. Fichier NOUVEAU, chargé après les autres feuilles. */
:root { --sd66-nuit: #0b1b33; --sd66-bleu: #1e5aa8; --sd66-bleu2: #3b7dd8; --sd66-argent: #c9d1dc; --sd66-fond: #ffffff; --sd66-txt: #0b1b33; --sd66-doux: #5b6b80; --sd66-survol: #eef3fa; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --sd66-fond: #0f2340; --sd66-txt: #eef3fa; --sd66-doux: #a9b6c6; --sd66-survol: #17325a; } }
:root[data-theme="dark"] { --sd66-fond: #0f2340; --sd66-txt: #eef3fa; --sd66-doux: #a9b6c6; --sd66-survol: #17325a; }

/* 1) liste des suggestions (posée sur la page, au-dessus des fenêtres) */
.sd66-ac { position: fixed; z-index: 100000; max-height: min(52vh, 420px); overflow: auto; background: var(--sd66-fond); color: var(--sd66-txt);
  border: 1px solid var(--sd66-argent); border-radius: 12px; box-shadow: 0 14px 36px rgba(11, 27, 51, .28); padding: 4px; box-sizing: border-box; }
.sd66-op { display: block; width: 100%; text-align: left; background: none; border: 0; border-radius: 9px; padding: 10px 12px; min-height: 44px;
  cursor: pointer; color: inherit; font: inherit; line-height: 1.25; }
.sd66-op b { display: block; font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.sd66-op small { display: block; font-size: 12px; color: var(--sd66-doux); margin-top: 2px; }
.sd66-op:hover, .sd66-op.on { background: var(--sd66-survol); }
.sd66-op.sd66-tape { border-bottom: 1px dashed var(--sd66-argent); border-radius: 9px 9px 0 0; }
.sd66-op.sd66-tape small { color: var(--sd66-bleu); font-weight: 600; }
.sd66-op.sd66-carnet b::before, .sd66-op.sd66-deja b::before, .sd66-op.sd66-fav b::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sd66-bleu); margin-right: 8px; vertical-align: 1px; }
.sd66-ch { margin: 6px 12px; font-size: 12px; color: var(--sd66-doux); }

/* « Recherche de lieu » : les boutons Départ / Étape / Arrivée clignotent une fois */
@keyframes sd66-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(30, 90, 168, 0); } 40% { box-shadow: 0 0 0 4px rgba(59, 125, 216, .55); } }
.sd66-pulse { animation: sd66-pulse .9s ease-out 2; }
#e-etapes input.wy-adr[readonly] { cursor: text; }

/* 2) client du dossier : gardé, discret */
.sd66-cli .lib { color: var(--sd66-doux); }
.sd66-cli input.ch { background: transparent !important; border-style: dashed !important; border-color: var(--sd66-argent) !important; color: var(--sd66-doux) !important; }

/* 3) liste chauffeur : deux boutons en plus */
.sd66-plus { display: flex; gap: 8px; flex-wrap: wrap; padding: 8px 10px 0; }
.sd66-b { flex: 1 1 160px; min-height: 44px; padding: 10px 14px; border-radius: 10px; cursor: pointer; font: inherit; font-weight: 700; font-size: 14px;
  color: #fff; border: 1px solid rgba(201, 209, 220, .55);
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 10px),
    linear-gradient(135deg, var(--sd66-nuit), var(--sd66-bleu));
  background-size: 10px 10px, 10px 10px, 100% 100%; animation: sd66-grille 8s linear infinite;
  box-shadow: 0 4px 12px rgba(11, 27, 51, .25), inset 0 1px 0 rgba(255, 255, 255, .12); transition: transform .15s, box-shadow .15s; }
.sd66-b:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(11, 27, 51, .32), 0 0 0 2px rgba(201, 209, 220, .5); }
.sd66-b:focus-visible { outline: 2px solid var(--sd66-bleu2); outline-offset: 2px; }
@keyframes sd66-grille { to { background-position: 10px 10px, 10px 10px, 0 0; } }
@media (prefers-reduced-motion: reduce) { .sd66-b, .sd66-pulse { animation: none; } }

/* formulaires du lot */
.sd66-g { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.sd66-g label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sd66-g .ch { width: 100%; min-height: 44px; box-sizing: border-box; }
.sd66-l2 { grid-column: 1 / -1; }
.sd66-case { flex-direction: row !important; align-items: center; gap: 10px !important; min-height: 44px; font-weight: 600; }
.sd66-case input { width: 22px; height: 22px; accent-color: var(--sd66-bleu); }
@media (max-width: 600px) { .sd66-g { grid-template-columns: 1fr; } .sd66-plus { padding: 8px 8px 0; } .sd66-b { flex-basis: 100%; } }

/* 24/10 13h50 : pas de trace de Waynium, bouton « Enregistrement en cours » */
.sd66-cache-wy { display: none !important; }
.sd66-vraicli { min-height: 36px; display: flex; align-items: center; padding: 0 10px; border: 1px dashed var(--sd66-argent, #A8B0BA); border-radius: 8px; color: var(--sd66-doux, #5A6676); font-size: 14px; }
.sd66-env { opacity: .75; cursor: progress; }
