/* VIPAZUR : design « Gold thread » de l'espace client (owner, 2026-11-19, maquette design-lab/index.html#3).
   Or #B19540, noir, blanc ; Manrope ; peu de cadres ; le trajet dessiné comme un fil doré.
   Tout est sous html.dt (posé par design-thread.js : aperçu ?design=thread, comptes clients seulement). */

/* ---------- Couleurs : seulement or, noir, blanc (gris = teintes du noir) ---------- */
html.dt[data-theme="light"], html.dt:not([data-theme]) {
  --bg: #ffffff; --panel: #ffffff; --panel-2: #f4f4f4; --line: #e4e4e4;
  --text: #000000; --muted: #6b6b6b; --gold: #B19540; --gold-soft: rgba(177, 149, 64, .12);
}
/* Mode sombre doux (owner, 2026-11-19 : « too black, make it more gentle ») : anthracite plutôt que noir pur, blanc adouci */
html.dt:not([data-theme="light"]) {
  --bg: #1b1b1c; --panel: #1b1b1c; --panel-2: #252527; --line: #333336;
  --text: #ececea; --muted: #a2a29e; --gold: #B19540; --gold-soft: rgba(177, 149, 64, .18);
}

/* ---------- Typographie : Manrope, pas de capitales, pas d'espacement de lettres ---------- */
html.dt body { font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif; }
html.dt :is(.tp-h, .rc-h2, .td-sec h3, .dpanel-h, .tp-fl-top small, .inv-lines th, .inv-prev-tag, .bk-bar-total small, .bk-seat-qty > span, .td-price-top span, .day-title, .mt-h, .oi-sec h3) {
  text-transform: none; letter-spacing: 0;
}
html.dt :is(h1, h2, h3) { letter-spacing: -.01em; }

/* ---------- Boutons : or plein = action principale ; contour or pour le reste ; survol noir (règle vipazur.fr) ---------- */
html.dt .btn { border-radius: 99px; }
html.dt .btn.primary { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ---------- Liste des transferts : des lignes, pas des cartes ---------- */
html.dt .day-title { color: var(--muted); font-weight: 500; font-size: 13px; margin: 26px 0 4px; text-transform: none; }
html.dt .tcard.tk { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; padding: 14px 4px 14px 14px; margin: 0; border-left: 3px solid transparent; }
html.dt .tcard.tk.on { border-left-color: var(--gold); }
html.dt .tcard.tk.on .tk-when { color: var(--gold); }
html.dt .tk-when { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
html.dt .tk-route { font-size: 15px; margin-top: 2px; }
html.dt .tk-meta { color: var(--muted); font-size: 13px; margin-top: 3px; }
html.dt .tk-price { font-weight: 600; }
html.dt .tcard-extras { color: var(--muted); }
/* Liste : le vol sur sa ligne (texte normal, sans vert) ; étiquettes des sièges en or (owner, feedback 2026-11-19). */
html.dt .dt-fl { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: var(--text); }
html.dt .dt-fl svg { width: 15px; height: 15px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html.dt .tcard-extras .xbadge { background: var(--gold) !important; border-color: var(--gold) !important; color: #fff !important; }   /* fond doré, texte blanc (feedback 2026-11-19) */
@media (hover: hover) { html.dt .tcard.tk:not(.on):hover { background: var(--panel-2); } }
html.dt .tsplit-list { border-right: 1px solid var(--line); }
html.dt .cbook .btn.primary { background: var(--gold); color: #fff; border: 1px solid var(--gold); font-weight: 600; }   /* doré au repos (feedback 2026-11-19) */
@media (hover: hover) { html.dt .cbook .btn.primary:hover { background: var(--text); border-color: var(--text); color: var(--bg); } }

/* ---------- Fiche transfert ---------- */
html.dt .tp-head { align-items: flex-start; border-bottom: 0; padding-bottom: 0; }
html.dt .dt-route { margin: 0; font-size: 32px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
html.dt .dt-when { margin: 6px 0 0; color: var(--muted); font-size: 16px; }
html.dt .dt-when::first-letter { text-transform: uppercase; }
/* Bulle du Support : sans « Besoin d'aide ? » sur la fiche ; avec la phrase sur Messages (feedback 2026-11-19). */
html.dt .rc-fab:not(.rc-fab-msg) .rc-fab-l { display: none; }
html.dt .rc-fab-msg .rc-fab-l { max-width: min(360px, calc(100vw - 120px)); white-space: normal; text-align: end; line-height: 1.3; }
html.dt .wrap.rc-page { padding-bottom: 110px; }
.rc-wa svg.wa-logo { fill: currentColor; stroke: none; }
html.dt .dt-ref-top { color: var(--text); font-weight: 600; margin-inline-end: 12px; font-variant-numeric: tabular-nums; }
html.dt .tp-total { color: var(--gold); font-size: 30px; font-weight: 700; }
/* Repris ailleurs sans rien perdre : date/heure du haut (ligne de date + fil), référence/statut (ligne de date + bas),
   liste départ/arrivée (le fil, avec les mêmes liens). Étiquettes, carte du vol et chauffeur restent affichés. */
html.dt .tp-meta, html.dt .tp-when, html.dt .tp-stops { display: none; }
html.dt .tp-tags { margin-top: 12px; }
html.dt .tp-tags .td-tag { background: none; border: 1px solid var(--line); color: var(--muted); }

/* Le fil doré : un trajet est une suite (atterrissage, prise en charge, arrivée), d'où une seule ligne dorée */
html.dt .dt-thread { list-style: none; margin: 36px 0 32px; padding: 0; position: relative; }
html.dt .dt-thread::before { content: ""; position: absolute; inset-inline-start: 75px; top: 12px; bottom: 12px; width: 2px; background: var(--gold); }
html.dt .dt-thread li { display: grid; grid-template-columns: 56px 40px 1fr; align-items: start; padding-bottom: 28px; }
html.dt .dt-thread li:last-child { padding-bottom: 0; }
html.dt .dt-thread time { font-weight: 700; font-size: 16px; padding-top: 17px; font-variant-numeric: tabular-nums; }
html.dt .dt-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); margin: 20px 0 0 13px; position: relative; z-index: 1; }
html.dt .dt-thread li.key .dt-dot { background: var(--gold); }
/* Repères du fil (owner, feedback 2026-11-19) : avion qui atterrit, flèche de départ (fond doré, symbole blanc), épingle d'arrivée. */
html.dt .dt-ic { width: 44px; height: 44px; margin: 0 0 0 2px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); color: var(--gold); display: grid; place-items: center; position: relative; z-index: 1; box-sizing: border-box; }
html.dt .dt-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
html.dt li.key .dt-ic { background: var(--gold); color: #fff; }
html.dt li.ic-go .dt-ic svg { width: 32px; height: 32px; stroke-width: 1.6; }   /* volant plus grand dans son rond (owner, 2026-11-19) */
html.dt li.ic-pin .dt-ic { border: 0; background: var(--bg); border-radius: 0; }
html.dt li.ic-pin .dt-ic svg { width: 40px; height: 40px; stroke: none; }
html.dt li.ic-pin .dt-ic svg .f { fill: var(--gold); }
html.dt li.ic-pin .dt-ic svg circle { fill: #fff; }
/* Repères 44 px (60 px trop grands, owner 2026-11-19) : colonne du fil de 48 px, ligne et points recentrés. */
html.dt .dt-thread li { grid-template-columns: 56px 48px 1fr; align-items: center; }
html.dt .dt-thread li > div { padding-inline-start: 18px; }   /* espace entre les repères et le texte (owner, 2026-11-19) */
html.dt .dt-thread::before { inset-inline-start: 79px; top: 22px; bottom: 22px; }
html.dt .dt-thread time { padding-top: 0; }
html.dt .dt-dot { margin: 0 0 0 17px; }
html.dt[dir="rtl"] .dt-dot { margin: 0 17px 0 0; }
html.dt[dir="rtl"] .dt-ic { margin: 0 2px 0 0; }
@media (max-width: 640px) {
  html.dt .dt-thread li { grid-template-columns: 48px 48px 1fr; }
  html.dt .dt-thread::before { inset-inline-start: 71px; }
}
/* L'épingle à côté de l'adresse n'est plus utile : le repère est sur le fil (le lien de navigation reste). */
html.dt .dt-place svg { display: none; }
html.dt .dt-thread small { display: block; color: var(--muted); font-size: 13px; }
html.dt .dt-place { display: block; font-size: 18px; font-weight: 600; line-height: 1.3; }
html.dt .dt-place :is(a, b) { font: inherit; color: var(--text); text-decoration: none; }
html.dt .dt-place .addr-row { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font: inherit; }
@media (hover: hover) { html.dt .dt-place a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; } }
html.dt .dt-thread span:not(.dt-dot):not(.dt-ic) { display: block; color: var(--muted); font-size: 14.5px; margin-top: 2px; }
[dir="rtl"] html.dt .dt-dot, html.dt[dir="rtl"] .dt-dot { margin: 20px 13px 0 0; }

/* Sections suivantes : titres simples, sans icône, séparées par l'espace plutôt que par des cadres */
html.dt .tp-sec { border-bottom: 0; padding: 22px 0 6px; }
html.dt .tp-h { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
html.dt .tp-h svg { display: none; }
html.dt .tp-route { margin-top: 8px; }
html.dt .dt-ref { margin: 36px 0 0; color: var(--muted); font-size: 13px; }

/* Panneau « Votre chauffeur » du client : ligne simple */
html.dt .drv-pending { background: none; border: 0; padding: 0; }
html.dt .dpanel { border-color: var(--line); }

/* Téléphone */
@media (max-width: 640px) {
  html.dt .dt-route { font-size: 26px; }
  html.dt .tp-total { font-size: 24px; }
  html.dt .dt-thread::before { inset-inline-start: 71px; }   /* repères 44 px sur téléphone aussi (owner, 2026-11-19 : icône mal placée) */
  html.dt .dt-thread li { grid-template-columns: 48px 48px 1fr; }
}

/* Sièges enfant : texte simple, plus de pastilles de couleur (or, noir, blanc seulement) */
html.dt .xbadge { animation: none; background: none !important; border: 1px solid var(--line) !important; color: var(--text) !important; text-transform: none; letter-spacing: 0; font-weight: 500; }
/* Transfert choisi dans la liste : seulement le trait doré à gauche (pas de cadre) */
html.dt .tsplit-list .tcard.tk.on, html.dt .tcard.tk.on { border-top-color: transparent; border-right-color: transparent; border-bottom-color: var(--line); border-left-color: var(--gold); box-shadow: none; outline: 0; background: none; }

/* Calendrier des dates de la liste : menu sous le bouton, sans voile (owner, 2026-11-19) ; positions posées par design-thread.js */
html.dt .overlay.cal-overlay.dt-drop { background: transparent; display: block; }
html.dt .overlay.dt-drop .cal-dialog { position: fixed; top: var(--dd-top); left: var(--dd-left); width: var(--dd-w); margin: 0; max-height: calc(100dvh - var(--dd-top) - 16px); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 40px rgba(0, 0, 0, .18); }

/* ---------- Réglages (owner, 2026-11-19 : « make it look clean and minimalist ») ---------- */
/* Menu de gauche : plus de bloc doré ; la rubrique ouverte est en noir avec un trait doré, comme la liste des transferts */
@media (min-width: 1000px) {
  html.dt .set-nav button { border-radius: 0; padding: 12px 16px; color: var(--muted); font-weight: 500; box-shadow: inset 2px 0 0 transparent; transition: color .3s, box-shadow .3s; }
  html.dt .set-nav button.on { background: none; color: var(--text); font-weight: 700; box-shadow: inset 2px 0 0 var(--gold); }
  html.dt .set-nav button.on .set-ico { color: var(--gold); }
  html.dt .set-nav button:not(.on):hover { background: none; color: var(--text); }
  html.dt .set-nav button:not(.on):hover .set-ico { color: var(--text); }
  html.dt .set-panel { border: 0; border-left: 1px solid var(--line); border-radius: 0; background: none; padding: 4px 0 28px 40px; }
}
/* Choix (application de navigation…) : des lignes simples, chaque choix a son interrupteur à droite ; un seul allumé */
html.dt .nav-opts { gap: 0; border-top: 1px solid var(--line); }
html.dt .nav-opt { position: relative; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 14px 4px; background: none; }
html.dt .nav-opt:has(input:checked) { font-weight: 700; }
html.dt .nav-opt input[type="radio"] { order: 99; margin-inline-start: auto; }
@media (hover: hover) { html.dt .nav-opt:hover { background: var(--panel-2); } }

/* INTERRUPTEUR VIPAZUR : le style par défaut de tout choix oui/non ou un-parmi-plusieurs (owner, 2026-11-19).
   Gris éteint, doré allumé, rond blanc qui glisse. Toute nouvelle case à cocher ou bouton radio de l'espace client le prend. */
html.dt .check { align-items: center; }
html.dt :is(.check input[type="checkbox"], .nav-opt input[type="radio"], input.sw) {
  -webkit-appearance: none; appearance: none; width: 40px; height: 24px; margin: 0; border: 0; border-radius: 99px; background: var(--line);
  position: relative; cursor: pointer; transition: background-color .25s; flex: none; accent-color: auto;
}
html.dt :is(.check input[type="checkbox"], .nav-opt input[type="radio"], input.sw)::before {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .25s;
}
html.dt :is(.check input[type="checkbox"], .nav-opt input[type="radio"], input.sw):checked { background: var(--gold); }
html.dt :is(.check input[type="checkbox"], .nav-opt input[type="radio"], input.sw):checked::before { transform: translateX(16px); }
html.dt :is(.check input[type="checkbox"], .nav-opt input[type="radio"], input.sw):focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
html.dt[dir="rtl"] :is(.check input[type="checkbox"], .nav-opt input[type="radio"], input.sw)::before { left: auto; right: 3px; }
html.dt[dir="rtl"] :is(.check input[type="checkbox"], .nav-opt input[type="radio"], input.sw):checked::before { transform: translateX(-16px); }
@media (prefers-reduced-motion: reduce) { html.dt :is(.check input, .nav-opt input, input.sw), html.dt :is(.check input, .nav-opt input, input.sw)::before { transition: none; } }
html.dt .nav-opt input[type="radio"] { margin-inline-start: auto; }   /* interrupteur aligné à droite de la ligne */
html.dt .set-nav button small { display: none; }   /* menu des Réglages : le titre seul, sans sous-titre (owner, 2026-11-19) */

/* Réglages → Mon compte : plus d'air (owner, 2026-11-19 : « everything is cramped, need more padding »).
   Chaque groupe (photo, notifications, e-mails d'alerte, adresse e-mail, mot de passe) est séparé par de l'espace et un trait fin. */
html.dt details.sec:has(#myMail) > div { padding-top: 8px; }
html.dt details.sec:has(#myMail) > div > * + * { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
html.dt details.sec:has(#myMail) > div > .two + .btns { margin-top: 16px; padding-top: 0; border-top: 0; }
html.dt details.sec:has(#myMail) > div > :is(.check, #emChange, .em-row) { margin-top: 26px; }
html.dt details.sec:has(#myMail) .em-row, html.dt details.sec:has(#myMail) .em-form { margin-top: 0; }
html.dt details.sec:has(#myMail) .push-sw .hint { margin-top: 8px; line-height: 1.5; }
html.dt details.sec:has(#myMail) .push-sw .push-try { margin-top: 12px; }
html.dt details.sec:has(#myMail) .two { gap: 20px; }
html.dt details.sec:has(#myMail) .av-edit { gap: 20px; }
/* Sans traits entre les groupes, l'espace suffit ; menu des Réglages collé à son contenu (owner, 2026-11-19 : « those lines and this gap is not wanted ») */
html.dt details.sec:has(#myMail) > div > * + * { border-top: 0; padding-top: 0; margin-top: 32px; }
html.dt details.sec:has(#myMail) > div > .two + .btns { margin-top: 16px; }
@media (min-width: 1000px) {
  html.dt #sbody.set-layout { grid-template-columns: max-content minmax(0, 1fr); column-gap: 0; }
  html.dt .set-nav button { padding-inline-end: 56px; }   /* un peu plus d'air entre le menu et son contenu (owner, 2026-11-19) */
}

/* ---------- Mêmes principes partout dans l'espace client (owner, 2026-11-19 : « use those design principles everywhere ») ----------
   De l'espace plutôt que des traits ou des cadres ; l'interrupteur VIPAZUR pour tout choix ; pas de flèche dans les boutons. */
/* Réglages → Navigation : plus de traits entre les choix */
html.dt .nav-opts { border-top: 0; gap: 4px; margin-top: 16px; }
html.dt .nav-opt { border-bottom: 0; padding: 12px 4px; border-radius: 10px; }

/* Factures : des lignes aérées, pas des cartes ; l'interrupteur à la place de la case à cocher */
html.dt .inv-page .inv-sec + .inv-sec { margin-top: 44px; }
html.dt .inv-grid { gap: 6px; margin-top: 16px; }
html.dt .inv-grid .tcard.inv-pick { border: 0; border-radius: 10px; background: none; box-shadow: none; padding: 16px 8px; }
html.dt .inv-pick.on { background: var(--gold-soft); }
html.dt .inv-box { order: 99; margin-inline-start: auto; align-self: center; width: 40px; height: 24px; border: 0; border-radius: 99px; background: var(--line); position: relative; display: block; transition: background-color .25s; }
html.dt .inv-box::before { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .25s; }
html.dt .inv-pick.on .inv-box { background: var(--gold); border: 0; }
html.dt .inv-pick.on .inv-box::before { transform: translateX(16px); }
html.dt .inv-pick.on .inv-box::after { content: none; display: none; }
html.dt[dir="rtl"] .inv-box::before { left: auto; right: 3px; }
html.dt[dir="rtl"] .inv-pick.on .inv-box::before { transform: translateX(-16px); }
html.dt .inv-pick:has(input:focus-visible) .inv-box { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (hover: hover) { html.dt .inv-grid .tcard.inv-pick:not(.on):hover { background: var(--panel-2); } }

/* Réserver : le formulaire sans cadre ni ombre ; aller-retour en ligne simple avec son interrupteur ; bouton sans flèche */
html.dt .bk-card { border: 0; box-shadow: none; background: none; padding-inline: 0; }
html.dt .bk-rt { border: 0; background: none; padding: 14px 4px; }
html.dt .bk-switch { width: 40px; height: 24px; background: var(--line); }
html.dt .bk-switch::after { width: 18px; height: 18px; }
html.dt .bk-rt input:checked + .bk-switch::after { transform: translateX(16px); }
html.dt[dir="rtl"] .bk-rt input:checked + .bk-switch::after { transform: translateX(-16px); }
html.dt .bk-go svg { display: none; }
html.dt .bk-go { margin-top: 28px; }
html.dt .bk-dt { margin-top: 20px; }
html.dt .inv-grid { grid-template-columns: minmax(0, 1fr); }
html.dt .inv-grid .tcard.inv-pick.on { background: var(--gold-soft); }
/* Fiche transfert : plus de traits (carte, vol, lignes du total et des informations) ; l'espace sépare, le total reste en gras */
html.dt .tp .tp-route, html.dt .tp .tp-fl-top, html.dt .tp .tp-row, html.dt .tp .trow { border-top: 0; border-bottom: 0; }
html.dt .tp .tp-flight { border: 0; background: none; padding: 0; box-shadow: none; }
html.dt .tp .tp-row, html.dt .tp .trow { padding-block: 7px; }
html.dt .tp .tp-row.tp-sum { margin-top: 10px; font-weight: 700; }
html.dt .tp .tp-row.tp-sum b { color: var(--gold); font-size: 18px; }
html.dt .tp .tp-sec { padding-top: 32px; }
/* Liste des transferts : plus de trait entre les lignes, de l'espace et le trait doré du transfert choisi */
html.dt .tcard.tk, html.dt .tsplit-list .tcard.tk.on, html.dt .tcard.tk.on { border-bottom-color: transparent; }
html.dt .tcard.tk { padding-block: 16px; border-radius: 0 10px 10px 0; }
/* Un trait fin sous le titre de chaque section, pour mieux lire (owner, 2026-11-19 : « a line under each section ») */
html.dt .tp .tp-h, html.dt .inv-sec-h { padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }

/* ===================== MOUVEMENT (revue emil-design-eng + choreograph, 2026-11-19) =====================
   Actif avec le design Gold thread (classe html.dtm posée par design-thread.js). ?motion=off l'enlève sur cet appareil
   pour comparer avec l'avant, ?motion=on le remet. Règles : courbes ease-out fortes, rien au-dessus de 250 ms sauf la
   fenêtre du support, pas d'animation sur ce qu'on voit des dizaines de fois par jour (changement de page, listes, barre
   du bas), entrées plus lentes que les sorties. Le survol 0,3 s façon vipazur.fr (CLAUDE.md) n'est pas touché. */
html.dtm { --ease-out: cubic-bezier(.23, 1, .32, 1); --ease-in-out: cubic-bezier(.77, 0, .175, 1); }

/* 1. Appui : le bouton répond sous le doigt (scale), en plus du changement de couleur au survol. */
html.dtm :is(.btn, .tp-see, .chat-send, .icon-btn, .rc-fab-b, .rc-wa, .text-link) {
  transition: background-color .3s, color .3s, border-color .3s, stroke .3s, fill .3s, transform .16s var(--ease-out);
}
html.dtm :is(.btn, .tp-see, .chat-send, .icon-btn, .rc-wa):active:not(:disabled) { transform: scale(.97); }
html.dtm .rc-fab:active .rc-fab-b { transform: scale(.94); }
html.dtm :is(.tcard.tk, .rc-toggle, .rc-pend-toggle, .rc-sup-toggle, .nav-opt) { transition: background-color .3s, transform .16s var(--ease-out); }
html.dtm :is(.tcard.tk, .rc-toggle, .rc-pend-toggle, .rc-sup-toggle, .nav-opt):active { transform: scale(.99); }

/* 2. Interrupteur : le rond glisse sur une courbe franche et s'étire pendant l'appui (comme iOS). */
html.dtm :is(.check input[type="checkbox"], .nav-opt input[type="radio"], input.sw) { transition: background-color .2s var(--ease-out); }
html.dtm :is(.check input[type="checkbox"], .nav-opt input[type="radio"], input.sw)::before { transition: transform .2s var(--ease-out), width .16s var(--ease-out); }
html.dtm :is(.check input[type="checkbox"], .nav-opt input[type="radio"], input.sw):active::before { width: 22px; }
html.dtm :is(.check input[type="checkbox"], .nav-opt input[type="radio"], input.sw):checked:active::before { transform: translateX(12px); }
html.dtm[dir="rtl"] :is(.check input[type="checkbox"], .nav-opt input[type="radio"], input.sw):checked:active::before { transform: translateX(-12px); }
html.dtm .inv-box { transition: background-color .2s var(--ease-out); }
html.dtm .inv-box::before { transition: transform .2s var(--ease-out); }

/* 3. Calendrier sous le bouton : sort du bouton (coin haut droit), 180 ms. */
html.dtm .overlay.dt-drop .cal-dialog { transform-origin: top right; animation: dtm-drop .18s var(--ease-out) both; }
html.dtm[dir="rtl"] .overlay.dt-drop .cal-dialog { transform-origin: top left; }
@keyframes dtm-drop { from { opacity: 0; transform: scale(.96) translateY(-4px); } }

/* 4. Fenêtres (choix de l'app de navigation, langue, etc.) : le voile et la fenêtre arrivent ensemble, la fenêtre un peu plus longue. */
html.dtm .overlay:not(.dt-drop):not(.lang-full) { animation: dtm-fade .18s ease-out both; }
html.dtm .overlay:not(.dt-drop):not(.lang-full) > .dialog { animation: dtm-rise .24s var(--ease-out) both; }
@keyframes dtm-fade { from { opacity: 0; } }
@keyframes dtm-rise { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* 5. Support VIPAZUR (bulle) : la fenêtre sort de la bulle, la croix tourne en même temps ; à la fermeture elle rentre plus vite. */
html.dtm .rc-sup-panel { animation: dtm-pop .24s var(--ease-out) both; }
html.dtm .rc-sup-panel.out { animation: dtm-pop-out .15s ease-in both; pointer-events: none; }
@keyframes dtm-pop { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@keyframes dtm-pop-out { to { opacity: 0; transform: translateY(8px) scale(.97); } }
html.dtm .rc-fab.open .rc-fab-x, html.dtm .rc-fab.back .rc-fab-chat { animation: dtm-ico .24s var(--ease-out) both; }
@keyframes dtm-ico { from { opacity: 0; transform: rotate(-60deg) scale(.7); } }

/* 6. Messages : un fil qui s'ouvre glisse doucement, la flèche tourne sur la même durée (un seul geste). */
html.dtm :is(.rc-body, .rc-pend-list):not([hidden]) { animation: dtm-open .22s var(--ease-out) both; }
@keyframes dtm-open { from { opacity: 0; transform: translateY(-4px); } }
html.dtm .rc-chev { transition: transform .22s var(--ease-in-out); }

/* 7. « Enregistré ✓ » : le texte apparaît, puis la coche se dessine (enchaînement) ; disparaît lentement. */
html.dtm .saved-tick { transform: translateX(-4px); transition: opacity .5s ease, transform .2s var(--ease-out); }
html.dtm .saved-tick.show { transform: none; transition: opacity .16s ease-out, transform .2s var(--ease-out); }
html.dtm .saved-tick.show svg path { stroke-dasharray: 20; animation: dtm-draw .3s var(--ease-out) .08s both; }
@keyframes dtm-draw { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }
html.dtm[dir="rtl"] .saved-tick { transform: translateX(4px); }

/* 8. « Voir le chauffeur » : 3 pulsations pour attirer l'œil, puis immobile (au lieu d'une pulsation sans fin). */
html.dtm .tp-see { animation-iteration-count: 3; }

/* Mouvement réduit : rien ne bouge ni ne grandit, seules les opacités restent (courtes). */
@media (prefers-reduced-motion: reduce) {
  html.dtm :is(.btn, .tp-see, .chat-send, .icon-btn, .rc-wa, .tcard.tk, .rc-toggle, .rc-pend-toggle, .rc-sup-toggle, .nav-opt):active, html.dtm .rc-fab:active .rc-fab-b { transform: none; }
  html.dtm .saved-tick { transform: none; }
  html.dtm .rc-sup-panel, html.dtm .overlay > .dialog, html.dtm .overlay.dt-drop .cal-dialog, html.dtm :is(.rc-body, .rc-pend-list) { animation-name: dtm-fade !important; }
  html.dtm .saved-tick.show svg path, html.dtm .rc-fab-x, html.dtm .rc-fab-chat, html.dtm .tp-see { animation: none !important; }
}

/* dt-gap-egal : même espace entre l'heure et le repère qu'entre le repère et le texte (owner, 2026-11-19). */
html.dt .dt-thread li { grid-template-columns: 56px 44px 1fr; column-gap: 20px; }
html.dt .dt-thread time { text-align: end; }
html.dt .dt-thread li > div { padding-inline-start: 0; }
html.dt .dt-ic, html.dt[dir="rtl"] .dt-ic { margin: 0; }
html.dt .dt-dot, html.dt[dir="rtl"] .dt-dot { margin: 0; justify-self: center; }
html.dt .dt-thread::before { inset-inline-start: 97px; }
@media (max-width: 640px) {
  html.dt .dt-thread li { grid-template-columns: 48px 44px 1fr; }
  html.dt .dt-thread::before { inset-inline-start: 89px; }
}

/* Messages, design 8 (owner, 2026-11-19) : « Vos chauffeurs » avec cadenas, barre dorée du Support VIPAZUR collée en bas. */
html.dt .wrap.rc-page { padding-bottom: 110px; }   /* place pour la bulle (la barre du bas a été retirée, owner 2026-11-19) */
html.dt .rc-page #rcUpH { color: var(--text); font-size: 18px; font-weight: 700; margin: 8px 0 4px; }
html.dt .rc-lock-row { display: flex; gap: 14px; align-items: center; padding: 12px 0; color: var(--text); text-decoration: none; }
html.dt .rc-lock { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1.5px dashed var(--gold); color: var(--gold); display: grid; place-items: center; }
html.dt .rc-lock svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html.dt .rc-lock-row b { display: block; font-size: 16px; font-weight: 600; }
html.dt .rc-lock-row small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
html.dt .rc-lock-row small.rc-lock-route { font-size: 13px; }
/* Survol comme la liste des transferts (owner, 2026-11-19) : fond gris clair, coins arrondis, sans soulignement. */
html.dt .rc-lock-row { padding: 12px 14px; margin-inline: -14px; border-radius: 10px; transition: background-color .3s; }
@media (hover: hover) { html.dt .rc-lock-row:hover { background: var(--panel-2); } }
html.dt .rc-sup-bar { margin-top: auto; position: sticky; bottom: calc(var(--tabbar-h, 0px) + 12px); z-index: 5; display: flex; gap: 12px; align-items: center; width: 100%; text-align: start;
  background: var(--gold); color: #fff; border: 0; border-radius: 14px; padding: 14px 16px; font: inherit; cursor: pointer; transition: background-color .3s, color .3s; }
html.dt .rc-sup-bar-i svg { width: 26px; height: 26px; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html.dt .rc-sup-bar b { display: block; font-size: 16px; font-weight: 600; }
html.dt .rc-sup-bar small { display: block; font-size: 13.5px; color: inherit; margin-top: 2px; }
@media (hover: hover) { html.dt .rc-sup-bar:hover { background: var(--text); color: var(--bg); } }
@media (max-width: 999px) { html.dt body:has(.rc-sup-bar) .rc-sup-panel { bottom: calc(var(--tabbar-h, 64px) + 96px); height: min(520px, calc(100dvh - var(--tabbar-h, 64px) - 170px)); } }   /* au-dessus de la barre du Support, pas collée */
/* Messages sur téléphone : même marge de 16 px que le titre (owner, 2026-11-19 : « missing padding »). */
@media (max-width: 999px) { html.dt .wrap.rc-page > :is(#rcNow, .rc-h2, #rcUpH, #rcRides, #rcOldH, #rcOld) { margin-inline: 16px; } }
/* Transfert affiché dans la liste : fond doré pâle, sans aucun trait (owner, 2026-11-19). */
html.dt .tsplit-list .tcard.tk.on, html.dt .tcard.tk.on { background: var(--gold-soft); border-color: transparent; border-radius: 10px; }
/* Liste seule (panneau de détail désactivé) : cartes de 380 px au plus, le prix reste près du trajet (owner, 2026-11-19). */
@media (min-width: 1000px) { html.dt .wrap:not(.tsplit-wrap) .list { grid-template-columns: repeat(auto-fill, minmax(300px, 380px)); column-gap: 32px; } }
/* « N réservation(s) · Dernière vérification » : pied de page, tout en bas (owner, 2026-11-19). */
html.dt .list > p.hint:last-child { grid-column: 1 / -1; margin: 48px 0 0; padding: 16px 0 8px; border-top: 1px solid var(--line); text-align: center; font-size: 12.5px; color: var(--muted); }
html.dt .wrap:not(.tsplit-wrap):has(> .list > p.hint:last-child) { display: flex; flex-direction: column; min-height: calc(100dvh - var(--tabbar-h, 0px) - 48px); }
html.dt .wrap:not(.tsplit-wrap) > .list:has(> p.hint:last-child) { flex: 1; align-content: start; position: relative; padding-bottom: 72px; }
html.dt .wrap:not(.tsplit-wrap) > .list > p.hint:last-child { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; }
/* Fiche seule (panneau liste désactivé) : collée à gauche contre le menu, sans vide (owner, 2026-11-19). */
@media (min-width: 1000px) { html.dt .wrap.tp-wrap:not(.tsplit-wrap) > article.tp { align-self: flex-start; margin-inline: 0; justify-self: start; } }
/* Cartes de la liste : même marge à droite qu’à gauche (owner, 2026-11-19). */
html.dt .tcard.tk { padding-inline: 14px 17px; }   /* 3 px de bordure gauche invisible + 14 px = 17 px à droite */
/* Aller-retour : l’interrupteur juste à côté du texte (owner, 2026-11-19). */
html.dt .bk-rt { width: fit-content; max-width: 100%; }
html.dt .bk-rt .bk-rt-txt { flex: none; }
html.dt .bk-rt .bk-switch { margin-inline-start: 14px; }
/* Colonne de gauche (owner, 2026-11-19) : survol doré, texte et icône blancs ; Se déconnecter reste rouge. */
@media (hover: hover) {
  html.dt .tabs.mode-tabs button:not(.on):not(.tab-signout):hover { background: var(--gold); color: #fff; }
  html.dt .tabs.mode-tabs button:not(.on):not(.tab-signout):hover svg { color: #fff; stroke: #fff; }
}
/* Factures : même marge intérieure que les cartes de la liste des transferts (16 px / 17 px), au survol aussi (owner, 2026-11-19). */
html.dt .inv-grid .tcard.inv-pick { padding: 16px 17px; }
/* Survol d’une carte de la liste : pas de fin trait doré en bas (owner, 2026-11-19). */
@media (hover: hover) { html.dt .tcard.tk:hover, html.dt .tsplit-list .tcard.tk:not(.on):hover { border-bottom-color: transparent; } }
/* Factures : lignes de 520 px au plus, le prix et l’interrupteur restent près du transfert (owner, 2026-11-19). */
html.dt .inv-grid { max-width: 520px; }
/* Factures : l’interrupteur sous le prix, aligné à droite comme lui (owner, 2026-11-19). */
html.dt .inv-grid .inv-pick .inv-box { position: absolute; top: 50px; right: 17px; margin: 0; }
html.dt[dir="rtl"] .inv-grid .inv-pick .inv-box { right: auto; left: 17px; }

/* Liste des transferts : la carte choisie (active) a un contour doré tout autour (owner, 2026-11-21). */
html.dt .tsplit-list .tcard.tk.on, html.dt .tcard.tk.on, html.dt .tsplit-list .tcard.tk.dropped.on, html.dt .tcard.tk.dropped.on { border: 1px solid var(--gold); box-shadow: 0 0 0 1px var(--gold); }

/* Factures : une coche ronde au lieu de l'interrupteur (owner, 2026-11-21 : « the toggle should be a checkmark »). */
html.dt .inv-box { width: 24px; height: 24px; border: 2px solid var(--line); border-radius: 50%; background: transparent; display: grid; place-items: center; }
html.dt .inv-box::before { content: none; display: none; }
html.dt .inv-pick.on .inv-box { background: var(--gold); border: 2px solid var(--gold); }
html.dt .inv-pick.on .inv-box::after { content: ''; display: block; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
@media (hover: hover) { html.dt .inv-pick:not(.on):hover .inv-box { border-color: var(--gold); } }
html.dt .inv-grid .inv-pick .inv-box { top: 52px; }

/* Fiche du transfert du client, design A (owner, 2026-11-21) : bandeau doré, heure sur la carte, trajet en carte blanche, étapes en
   barre dorée. ridechat.js clHero. */
html.dt .tp.clh-on .tp-head, html.dt .tp.clh-on .tp-stages-top, html.dt .tp.clh-on .dt-thread { display: none; }
html.dt .tp.clh-on .tp-route { margin: 0; padding: 0; min-height: 0; border: 0; }
html.dt .clh { margin: 6px 0 4px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg); }
html.dt .clh-strip { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: var(--gold); color: #fff; font-size: 14px; font-weight: 600; }
html.dt .clh-strip span { display: flex; align-items: center; gap: 8px; min-width: 0; }
html.dt .clh-strip i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
html.dt .clh-strip b { flex: none; font-size: 16px; font-weight: 700; }
html.cl-area .clh-strip b { font-size: 14px; font-weight: 600; }
html.dt .clh-strip > span { gap: 8px; }
html.dt .clh-copy { flex: none; width: 30px; height: 30px; margin: -5px 0 -5px -2px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .3s, color .3s; }
html.dt .clh-copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { html.dt .clh-copy:hover { background: #101010; color: #fff; } }
html.dt .clh-body { position: relative; padding: 14px 12px 12px; }
html.dt .clh-body > .tmap { position: absolute !important; inset: 0; width: auto; height: auto !important; min-height: 0; margin: 0; border: 0; border-radius: 0; z-index: 0; }
html.dt .clh-body > .tmap { opacity: 0; transition: opacity .3s; }
html.dt .clh.clh-ready .clh-body > .tmap { opacity: 1; }
html.dt .clh-veil, html.dt .clh-fade { position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
html.dt .clh-veil { top: 0; height: 110px; background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 82%, transparent), color-mix(in srgb, var(--bg) 0%, transparent)); }
html.dt .clh-fade { bottom: 0; height: 50%; background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 0%, transparent), var(--bg)); }
html.dt .clh-when, html.dt .clh-gap { position: relative; z-index: 2; pointer-events: none; }
html.dt .clh-when { padding: 0 4px; }
html.dt .clh-when small { display: block; color: var(--muted); font-size: 14px; }
html.dt .clh-when b { display: block; font-size: 44px; line-height: 1.05; font-weight: 700; letter-spacing: -.5px; }
html.dt .clh-gap { height: 170px; }
html.dt .clh-stops { position: relative; z-index: 2; padding: 2px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
html.dt .clh-stop { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; }
html.dt .clh-stop + .clh-stop, html.dt .clh-sum { border-top: 1px solid var(--line); }
html.dt .clh-dot { flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--gold); }
html.dt .clh-dot.g { background: #2e8b57; } html.dt .clh-dot.r { background: #c0392b; }
html.dt .clh-stop-b { flex: 1; min-width: 0; }
html.dt .clh-stop-b > small { display: block; color: var(--muted); font-size: 13px; }
html.dt .clh-stop-b .dt-place { font-size: 15.5px; font-weight: 600; }
html.dt .clh-stop-b > span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
html.dt .clh-stop > time { flex: none; font-size: 14px; font-weight: 600; margin-top: 2px; }
html.dt .clh-sum { padding: 9px 0; text-align: center; color: var(--muted); font-size: 13px; }
html.dt .clh-prog-w { padding: 0 14px 12px; }
html.dt .clh-prog-w[hidden] { display: none; }
html.dt .clh-prog { display: flex; gap: 5px; }
html.dt .clh-prog span { flex: 1; height: 5px; border-radius: 3px; background: var(--line); transition: background-color .3s; }
html.dt .clh-prog span.on { background: var(--gold); }
html.dt .clh-prog-l { display: block; margin-top: 6px; color: var(--gold); font-size: 13.5px; font-weight: 600; }
html.dt .clh-prog-l:empty { display: none; }
@media (min-width: 1000px) { html.dt .clh { max-width: 640px; } html.dt .clh-gap { height: 210px; } }

/* Bas de la fiche du client, design 2 (owner, 2026-11-21) : cartes comme le bloc du haut, photo du véhicule fondue. ridechat.js clLower. */
html.dt .tp.clh-on > section.tp-sec { margin: 12px 0 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
html.dt .tp.clh-on > section.tp-sec[hidden], html.dt .tp.clh-on .tp-row[hidden] { display: none; }
html.dt .tp.clh-on > section.tp-sec > .tp-h { margin: 0 0 8px; padding: 0; border: 0; }
html.dt .tp.clh-on > section.tp-sec.clh-drv { padding: 0; overflow: hidden; }
html.dt .tp.clh-on > section.tp-sec.clh-drv > .tp-h { display: none; }
html.dt .tp.clh-on .clh-drv .dpanel { margin: 0; padding: 0 14px 14px; border: 0; background: none; box-shadow: none; }
html.dt .tp.clh-on .clh-drv .rc-share { margin: 0; padding: 0 14px 14px; }
html.dt .rc-car2-pic { position: relative; height: 210px; margin: 0 -14px; background: var(--panel-2); }
html.dt .rc-car2-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
html.dt .rc-car2-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 0%, transparent), var(--bg)); pointer-events: none; }
html.dt .rc-car2-who { position: absolute; left: 14px; right: 14px; bottom: 6px; display: flex; align-items: center; gap: 10px; }
html.dt .rc-car2-who .drv-ava { flex: none; width: 46px; height: 46px; font-size: 16px; border: 2px solid var(--bg); }
html.dt .rc-car2-who b { display: block; font-size: 18px; font-weight: 700; line-height: 1.2; }
html.dt .rc-car2-who small { display: block; color: var(--muted); font-size: 13px; }
html.dt .rc-car2-rows { padding: 6px 0 2px; }
html.dt .rc-car2-rows .tp-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border: 0; font-size: 14.5px; }
html.dt .rc-car2-rows .tp-row span { color: var(--muted); }
html.dt .rc-car2-rows .tp-row b { font-weight: 600; text-align: end; }
html.dt .tp.clh-on .clh-drv .contact-btns { margin-top: 10px; }
html.dt .tp.clh-on > section.tp-sec.clh-one > .tp-h { display: none; }
html.dt .tp.clh-on > section.tp-sec.clh-one .tp-sum { margin: 0; padding: 0; border: 0; }
html.dt .tp.clh-on > section.tp-sec.clh-one .tp-sum span { color: var(--muted); font-weight: 500; }
@media (min-width: 1000px) { html.dt .tp.clh-on > section.tp-sec { max-width: 640px; } }

/* ===================== ADMIN + CHAUFFEUR (owner, 2026-11-19 : « make the admin and chauffeur look like the new minimalist
   client site », Gold thread par défaut pour tout le monde). Mêmes principes que l'espace client : or, noir, blanc ; peu de
   cadres, l'espace sépare ; interrupteur VIPAZUR doré ; ligne choisie = fond doré pâle sans cadre ; titres sans capitales. ===================== */

/* Cartes (utilisateurs, partenaires, groupes, courses du chauffeur, factures, tarifs…) : sans cadre, fond gris très léger. */
html.dt :is(.ucard, .odb, .grp-card, .pr-card, .ftr-card, .plan-item, .ea-bal, .dos-doc) { border-color: transparent; background: var(--panel-2); box-shadow: none; }
html.dt .tcard:not(.tk):not(.inv-pick) { border-color: transparent; background: var(--panel-2); box-shadow: none; }
html.dt .ucard.pending { border-color: var(--gold); }
html.dt .odb .odb-figs { background: var(--bg); }
html.dt .grp-card.add { background: none; border: 1px dashed var(--line); }

/* Listes en bloc (règles de tarifs, modèles d'e-mails) : plus de cadre ni de traits, des lignes aérées au survol gris. */
html.dt :is(.pr-rlist, .mt-list) { border: 0; background: none; border-radius: 0; overflow: visible; }
html.dt :is(.pr-r, .mt-r) { border-top: 0; border-radius: 10px; }
@media (hover: hover) { html.dt :is(.pr-r, .mt-r):hover { background: var(--panel-2); } }

/* Interrupteur des tarifs : l'interrupteur VIPAZUR (gris éteint, doré allumé, rond blanc). */
html.dt .pr-switch { width: 40px; height: 24px; border: 0; background: var(--line); }
html.dt .pr-switch i { top: 3px; inset-inline-start: 3px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
html.dt .pr-switch.on { background: var(--gold); border: 0; }
html.dt .pr-switch.on i { transform: translateX(16px); }
html.dt[dir="rtl"] .pr-switch.on i { transform: translateX(-16px); }
@media (hover: hover) { html.dt .pr-switch:not(.on):hover { background: var(--muted); } }

/* Messagerie (admin, chauffeur) : plus de traits entre les conversations ; la conversation ouverte = fond doré pâle. */
html.dt .thread { border-bottom-color: transparent; border-radius: 10px; padding-inline: 12px; }
html.dt .chs-list .thread, html.dt .chs-list .thread.on { border-color: transparent; }
html.dt .chs-list .thread.on { background: var(--gold-soft); }
@media (hover: hover) { html.dt .thread:not(.on):hover, html.dt .chs-list .thread:not(.on):hover { background: var(--panel-2); } }

/* Fiche transfert (admin, chauffeur) : la carte du trajet sur toute la largeur, comme chez le client. */
html.dt .tp .tp-route .tp-map { flex: 1 1 100%; width: 100%; height: 240px; }
@media (max-width: 640px) { html.dt .tp .tp-route .tp-map { height: 200px; } }

/* Titres de section des pages (courses du chauffeur, paiements, groupes) : texte noir, gras, sans capitales. */
html.dt :is(.list.pr > .day-title, .ea-h, .us-groups-title) { color: var(--text); font-size: 18px; font-weight: 700; margin: 28px 0 10px; text-transform: none; letter-spacing: 0; }
html.dt .list.pr > .day-title:first-child { margin-top: 4px; }

/* Chauffeur : liste « prêt à recevoir des courses » sans cadre rouge (le fond pâle suffit) ; accueil sans capitales. */
html.dt .ready { border-color: transparent; }
html.dt .ready-list li { background: var(--bg); }
html.dt .hm-band .hm-lbl { text-transform: none; letter-spacing: 0; font-size: 13px; }

/* Petites étiquettes en capitales (accueil chauffeur, note de VIPAZUR, panneaux) : en minuscules comme chez le client. */
html.dt :is(.ring span, .day-pick small, .dp-note small, .bl-kicker, .dos-h, .hm-lbl, .hm-h, .rc-head .rc-date small, .mt-h, .dpanel-h) { text-transform: none; letter-spacing: 0; }

/* Accueil chauffeur : carte de la prochaine course sans cadre ; boutons appel / message / navigation en pilules blanches. */
html.dt .hm-next { border-color: transparent; background: var(--panel-2); }
html.dt .hm-next .hm-ico { background: var(--bg); border: 1px solid var(--line); border-radius: 99px; transition: background-color .3s, color .3s, border-color .3s; }
@media (hover: hover) { html.dt .hm-next .hm-ico:hover { background: var(--text); color: var(--bg); border-color: var(--text); } }

/* Paiements (chauffeur et admin) : chiffres et lignes sans cadre ni traits, comme les factures du client. */
html.dt .ea-tile { border-color: transparent; background: var(--panel-2); }
html.dt .ea-list { border: 0; border-radius: 0; overflow: visible; gap: 2px; }
html.dt .ea-line { border-top: 0; border-radius: 10px; padding: 12px 14px; }
html.dt .ea-pay { background: var(--gold-soft); }
@media (hover: hover) { html.dt a.ea-line:hover { background: var(--panel-2); } }

/* Dossier VTC du chauffeur : groupes repliables sans cadre (fond gris léger), comme les cartes. */
html.dt .mfg { border-color: transparent; background: var(--panel-2); }

/* Vérification des documents (admin) : liste des chauffeurs en lignes (choisi = fond doré pâle), groupes sans cadre. */
html.dt .dr-card { border-color: transparent; background: none; box-shadow: none; border-radius: 10px; }
html.dt .dr-card.on { border-color: transparent; box-shadow: none; background: var(--gold-soft); }
@media (hover: hover) { html.dt .dr-card:not(.on):hover { background: var(--panel-2); } }
html.dt .drg { border-color: transparent; background: var(--panel-2); }
html.dt .dr-file { border-color: transparent; background: var(--bg); }
html.dt .dr-file.rejected { box-shadow: inset 3px 0 0 var(--red); }
html.dt .dr-file.approved { box-shadow: inset 3px 0 0 var(--green); }

/* Fiche transfert : ronds de contact (message, WhatsApp, discussion, appel) de 44 px, comme les repères du fil (owner, 2026-11-19). */
html.dt .tp-ico { width: 44px; height: 44px; }
html.dt .tp-ico svg { width: 20px; height: 20px; }
html.dt .tp-ico.wa svg.wa-logo { width: 22px; height: 22px; }

/* Fiche transfert : cadres dorés comme le bouton Appel | SMS (owner, 2026-11-19) : initiales du client, ronds de contact,
   trait entre Appel et SMS, vignette des suppléments (siège enfant…). */
html.dt .tp :is(.tp-ava:not(.none), .tp-ico, .tp-plate) { border-color: var(--gold); }
html.dt .tp .tp-callsms a + a { border-inline-start-color: var(--gold); }

/* Listes (transferts, vols, courses) : un trait fin sous chaque date, comme sous les titres de la fiche (owner, 2026-11-19). */
html.dt .day-title { padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }

/* Liste des transferts (admin) : sans l'étiquette « À attribuer », DISPATCH et « Moi » restent à gauche (owner, 2026-11-19). */
html.dt .tk-acts .tk-offer { margin-inline-start: 0; }

/* Titres de jour des listes (transferts, vols, planning) : la date dans une pastille dorée centrée entre deux traits fins
   (owner, 2026-11-19, design 4 : « i want to easily see the grouping per day »). */
html.dt .day-title.day-pill { display: flex; align-items: center; gap: 10px; border-bottom: 0; padding-bottom: 0; margin: 24px 0 10px; text-transform: none; }
html.dt .day-title.day-pill::before, html.dt .day-title.day-pill::after { content: ""; flex: 1; height: 1px; background: var(--line); }
/* Pastille pleine : fond doré, texte blanc (owner, 2026-11-19 : « make the background gold and text white »). */
html.dt .day-title.day-pill > span { flex: none; border: 1px solid var(--gold); border-radius: 99px; padding: 4px 14px; background: var(--gold); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
html.dt .list > .day-title.day-pill:first-child, html.dt .tsplit-list .day-title.day-pill:first-of-type { margin-top: 8px; }

/* Liste des vols (ordinateur) : plus de trait gris sous chaque vol, la pastille du jour suffit à séparer (owner, 2026-11-19 : « remove line »). */
html.dt .list .row { border-bottom: 0; }

/* Menu des Réglages (admin, chauffeur, client) : même survol que les onglets de la colonne de gauche, fond doré, texte et
   icône blancs, coins 10 px, fondu 0,3 s (owner, 2026-11-20). La rubrique ouverte garde son trait doré. */
@media (hover: hover) and (min-width: 1000px) {
  html.dt .set-nav button { border-radius: 10px; transition: background-color .3s, color .3s, box-shadow .3s; }   /* coins gardés pendant le fondu de sortie (owner, 2026-11-22) */
  html.dt .set-nav button:not(.on):hover { background: var(--gold); color: #fff; border-radius: 10px; }
  html.dt .set-nav button:not(.on):hover .set-ico, html.dt .set-nav button:not(.on):hover svg { color: #fff; stroke: #fff; }
}
/* Rubrique ouverte du menu des Réglages : dorée comme l'onglet actif de la colonne de gauche (fond doré, texte et icône blancs,
   coins 10 px), plus de trait doré à gauche (owner, 2026-11-20). */
@media (min-width: 1000px) {
  html.dt .set-nav button.on { background: var(--gold); color: #fff; font-weight: 600; border-radius: 10px; box-shadow: none; }
  html.dt .set-nav button.on .set-ico, html.dt .set-nav button.on svg { color: #fff; stroke: #fff; }
}

/* Fiche transfert : n° VIP, date, puis ville → ville (design-thread.js), owner 2026-11-21. */
html.dt .dt-ref-line { margin: 0; font-size: 16px; }
html.dt .dt-ref-top { margin-inline-end: 0; }
html.dt .dt-ref-line + .dt-when { margin: 2px 0 8px; }

/* Fiche transfert : espaces resserrés sous la date et le prix, étiquettes sur toute la largeur (owner, 2026-11-21). */
html.dt .dt-ref-line + .dt-when { margin: 0 0 2px; }
html.dt .tp-head-r .tp-total { line-height: 1.05; }
html.dt .tp-head-r small { margin-top: 0; }
@media (max-width: 999px) { html.dt .tp-head-l .tp-tags { width: max-content; max-width: calc(100vw - 28px); } }
