/* VIPAZUR : liste des transferts du client en fil du temps + « Votre chauffeur pour cette course » (owner, 2026-11-22,
   design-lab/transfer-list-votre-chauffeur-4x2.html variation 1). Cartes .tcard.ctl construites par cltimeline.js. */

/* ---------- Carte : colonne date + contenu, fil vertical ---------- */
html .tcard.ctl:not(.tk):not(.inv-pick) { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; position: relative; border: 0; border-radius: 0; background: none; box-shadow: none; padding: 0; margin: 0; cursor: pointer; }
html .tcard.ctl:not(.tk):not(.inv-pick)::before { content: ""; position: absolute; inset-inline-start: 51px; top: 0; bottom: 0; width: 1px; background: var(--line); }
html .tcard.ctl:not(.tk):not(.inv-pick).fut::before { background: var(--gold); }
html .tcard.ctl:not(.tk):not(.inv-pick)::after { content: ""; position: absolute; inset-inline-start: 47px; top: 24px; width: 9px; height: 9px; border-radius: 50%; background: var(--line); box-shadow: 0 0 0 4px var(--bg); }
html .tcard.ctl:not(.tk):not(.inv-pick).fut::after { background: var(--gold); }
html .tcard.ctl:not(.tk):not(.inv-pick).live::after { background: var(--green, #1f8a4c); }
html .tcard.ctl:not(.tk):not(.inv-pick).cx::after { background: var(--red, #d93025); }
.ctl-day { text-align: center; padding-top: 14px; }
.ctl-day small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.ctl-day b { display: block; font-size: 22px; line-height: 1.1; font-weight: 700; }
.ctl-body { padding: 14px 10px 20px 18px; border-radius: 12px; min-width: 0; transition: background-color .3s; }
@media (hover: hover) { html .tcard.ctl:not(.tk):not(.inv-pick):hover .ctl-body { background: var(--panel-2); } }
html .tcard.ctl:not(.tk):not(.inv-pick).on .ctl-body { background: var(--gold-soft); }
.ctl-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ctl-when { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ctl-live { font-style: normal; color: var(--green, #1f8a4c); }
.ctl-price { font-size: 17px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ctl-route { font-size: 16px; font-weight: 700; margin: 2px 0 4px; text-wrap: balance; overflow-wrap: anywhere; }
.ctl-meta { font-size: 13px; color: var(--muted); }
.ctl-fl { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-top: 4px; }
.ctl-fl svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.ctl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
html .tcard.ctl:not(.tk):not(.inv-pick).past .ctl-route, html .tcard.ctl:not(.tk):not(.inv-pick).past .ctl-when { color: var(--muted); font-weight: 600; }
.ctl-past-drv { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.ctl-past-drv b { color: var(--text); font-weight: 600; }
.ctl-past-drv .drv-ava.xs { width: 26px; height: 26px; font-size: 10.5px; }

/* ---------- Repère « Aujourd'hui » ---------- */
.ctl-today { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 0; padding-inline-start: 40px; font-size: 12.5px; font-weight: 700; color: var(--gold-ink, #8a7230); }
.ctl-today i { width: 23px; height: 23px; border-radius: 50%; border: 2px solid var(--gold); background: var(--bg); display: grid; place-items: center; flex: none; position: relative; z-index: 1; }
.ctl-today i::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.ctl-today { color: var(--ctl-ink); }

/* ---------- Cadre « Votre chauffeur pour cette course » ---------- */
.ctl-zone { margin-top: 12px; border: 1px solid var(--gold); border-radius: 16px; padding: 12px 12px 14px; cursor: default; }
.ctl-zone:not(.on) { border: 1.5px dashed var(--line); }
.ctl-zone-l { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--gold); margin-bottom: 10px; }
.ctl-zone:not(.on) .ctl-zone-l { color: var(--muted); }
.ctl-zone-l svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ctl-who { display: flex; align-items: center; gap: 12px; }
.ctl-who > div { min-width: 0; }
.ctl-who b { display: block; font-size: 16px; line-height: 1.25; }
.ctl-who small { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.ctl-who .drv-ava.ctl-ava { width: 52px; height: 52px; font-size: 17px; }
.ctl-plate { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border: 1px solid var(--text); border-radius: 5px; color: var(--text); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.ctl-wait b { font-size: 15px; }
.ctl-wait span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.ctl-help { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.ctl-help a, .ctl-help .ctl-sup { color: var(--gold); font: inherit; font-weight: 700; text-decoration: none; white-space: nowrap; transition: color .3s; background: none; border: 0; padding: 0; cursor: pointer; }
@media (hover: hover) { .ctl-help a:hover, .ctl-help .ctl-sup:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; } }

/* Appeler / WhatsApp / Message : icône au-dessus du nom ; survol = couleurs inversées (règle vipazur.fr) */
.ctl-acts { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 6px; margin-top: 12px; }
.ctl-b { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 58px; padding: 0 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--text); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .3s, color .3s, border-color .3s; }
.ctl-b svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ctl-b svg.wa-logo, .ctl-b svg.wa-logo path { fill: #25D366; stroke: none; }
@media (hover: hover) {
  .ctl-b:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
  .ctl-b.wa:hover { background: #000; color: #fff; border-color: #000; }
}

/* ---------- Sablier doré animé : le sable s'écoule, puis il se retourne ---------- */
.ctl-wait-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-soft, rgba(177,149,64,.12)); display: grid; place-items: center; flex: none; }
.ctl-hg { width: 26px; height: 26px; overflow: visible; }
.ctl-hg-r { transform-box: view-box; transform-origin: 12px 12px; animation: ctlFlip 3s cubic-bezier(.65, 0, .35, 1) infinite; }
.ctl-hg-bar { fill: var(--gold); }
.ctl-hg-glass { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; }
.ctl-hg-top, .ctl-hg-bot { fill: var(--gold); transform-box: view-box; }
.ctl-hg-top { transform-origin: 12px 11.5px; animation: ctlTop 3s linear infinite; }
.ctl-hg-bot { transform-origin: 12px 19.4px; animation: ctlBot 3s linear infinite; }
.ctl-hg-sand { stroke: var(--gold); stroke-width: 1; stroke-linecap: round; stroke-dasharray: 1.2 1.4; animation: ctlSand 3s linear infinite; }
@keyframes ctlTop { 0% { transform: scale(1); } 75%, 100% { transform: scale(0); } }
@keyframes ctlBot { 0% { transform: scale(0); } 75%, 100% { transform: scale(1); } }
@keyframes ctlSand { 0% { opacity: 1; stroke-dashoffset: 0; } 72% { opacity: 1; stroke-dashoffset: -8; } 75%, 100% { opacity: 0; stroke-dashoffset: -8; } }
@keyframes ctlFlip { 0%, 76% { transform: rotate(0deg); } 100% { transform: rotate(180deg); } }
@media (prefers-reduced-motion: reduce) {
  .ctl-hg-r, .ctl-hg-top, .ctl-hg-bot, .ctl-hg-sand { animation: none; }
  .ctl-hg-top { transform: scale(.6); }
  .ctl-hg-bot { transform: scale(.5); }
}

/* Or lisible sur fond clair (contraste) ; or clair en thème sombre */
html { --ctl-ink: #d1b766; }
html[data-theme="light"] { --ctl-ink: #8a7230; }
.ctl-zone.on .ctl-zone-l, .ctl-help a, .ctl-help .ctl-sup { color: var(--ctl-ink); }

/* ---------- Bouton « N courses passées » posé sur le fil, caché jusqu'à ce que le client remonte ---------- */
.ctl-past { position: relative; padding: 6px 0 10px; padding-inline-start: 36px; }
.ctl-past::before { content: ""; position: absolute; inset-inline-start: 51px; top: 0; bottom: 0; border-inline-start: 1px dashed var(--muted); opacity: .6; }
.ctl-past-b { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; padding-inline-start: 8px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .5s cubic-bezier(.16, 1, .3, 1), transform .5s cubic-bezier(.16, 1, .3, 1), background-color .3s, color .3s, border-color .3s; }

.ctl-past-b.in { opacity: 1; transform: none; }
.ctl-past-b i { width: 22px; height: 22px; border-radius: 50%; background: var(--panel-2); display: grid; place-items: center; transition: background-color .3s; }
.ctl-past-b i svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .ctl-past-b:hover { background: var(--text); color: var(--bg); border-color: var(--text); } .ctl-past-b:hover i { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .ctl-past-b { transition: background-color .3s, color .3s, border-color .3s; transform: none; } }

/* ---------- En-tête client : « Bonjour, Prénom » + loupe + calendrier, fixe (sous la barre du logo), sans animation ---------- */
.ctl-head { position: sticky; top: var(--tl-top, 64px); z-index: 30; background: var(--bg); display: flex; align-items: flex-end; gap: 4px; padding: 4px 16px 10px; }
.tsplit-list .ctl-head { top: 0; padding-inline: 0; }
.ctl-head > .cl-hi { flex: 1; min-width: 0; padding: 0; }
.ctl-head > .cl-hi h1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctl-tools { display: flex; gap: 2px; flex: none; margin-bottom: 1px; order: 1; }
.ctl-head .ctl-tb, .ctl-head .ctl-tools .t-date { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background-color .3s, color .3s; }
.ctl-head .ctl-tools .t-date.on { background: var(--gold); color: #fff; }
.ctl-head .ctl-tb svg, .ctl-head .ctl-tools .t-date svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .ctl-head .ctl-tb:hover, .ctl-head .ctl-tools .t-date:hover { background: var(--text); color: var(--bg); } }
/* La ligne de recherche d'origine : cachée ; seule la plage de dates choisie reste visible, sous le bonjour */
.ctl-head > .tsearch-wrap { position: static; padding: 0; margin: 0; background: none; }
.ctl-head > .tsearch-wrap .tsearch-row { display: none; }
.ctl-head > .tsearch-wrap .t-new { display: none; }
.ctl-head { flex-wrap: wrap; }
.ctl-head > .tsearch-wrap { flex: 1 0 100%; order: 2; }
.ctl-head > .tsearch-wrap:not(:has(.t-range)) { display: none; }
/* Recherche ouverte : panneau sous la loupe, comme le calendrier (bord fin, coins 16 px, ombre douce) ; le bonjour reste visible */
.ctl-head.searching > .tsearch-wrap { display: block; position: absolute; top: calc(100% - 4px); inset-inline-end: 16px; width: min(360px, calc(100% - 32px)); z-index: 31; padding: 14px 16px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 40px rgba(0, 0, 0, .18); }
.tsplit-list .ctl-head.searching > .tsearch-wrap { inset-inline-end: 0; width: 100%; }
.ctl-head.searching > .tsearch-wrap .tsearch-row { display: flex; align-items: center; }
.ctl-head.searching .ts-box { flex: 1; min-width: 0; }
.ctl-sh { display: none; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ctl-head.searching .ctl-sh { display: flex; }
.ctl-sh b { font-size: 18px; font-weight: 700; }
.ctl-sx { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--text); display: grid; place-items: center; padding: 0; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.ctl-sx svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (hover: hover) { .ctl-sx:hover { background: var(--text); color: var(--bg); border-color: var(--text); } }
.ctl-head .ctl-tb.on { background: var(--gold); color: #fff; }
.ctl-head .ts-clear { display: none !important; }   /* une seule croix : celle du panneau */

/* Ouverture du panneau de recherche : exactement l'animation du calendrier (design-thread.css, html.dtm … .cal-dialog) :
   dtm-drop 0,18 s depuis le coin haut droit (haut gauche en arabe), fermeture immédiate ; mouvement réduit = simple fondu. */
html.dtm .ctl-head.searching > .tsearch-wrap { transform-origin: top right; animation: dtm-drop .18s var(--ease-out) both; }
html.dtm[dir="rtl"] .ctl-head.searching > .tsearch-wrap { transform-origin: top left; }
@media (prefers-reduced-motion: reduce) { html.dtm .ctl-head.searching > .tsearch-wrap { animation-name: dtm-fade !important; } }

/* Changement de thème en cercle (cltimeline.js) : l'ancien écran reste dessous, le nouveau grandit par-dessus */
html.ctl-theme-vt::view-transition-old(root), html.ctl-theme-vt::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.ctl-theme-vt::view-transition-old(root) { z-index: 1; }
html.ctl-theme-vt::view-transition-new(root) { z-index: 2; }

/* Fenêtre « Support » (bulle en bas à droite) : s'ouvre avec l'animation du calendrier (dtm-drop 0,18 s), depuis le coin de la
   bulle, en bas à droite (en bas à gauche en arabe) (owner, 2026-11-22 : « same animation as calendar »). La fermeture reste
   celle de ridechat.js (.out). */
html.dtm .rc-sup-panel:not(.out) { transform-origin: bottom right; animation: dtm-drop .18s var(--ease-out) both; }
html.dtm[dir="rtl"] .rc-sup-panel:not(.out) { transform-origin: bottom left; }
@media (prefers-reduced-motion: reduce) { html.dtm .rc-sup-panel:not(.out) { animation-name: dtm-fade !important; } }

/* ---------- Fin de liste : « Réserver à nouveau » + « Réserver maintenant » ---------- */
.ctl-book { margin: 18px 0 8px; padding-inline-start: 58px; }
.ctl-book h3 { font-size: 15px; font-weight: 700; margin: 0 0 8px; }
.ctl-book-l { display: flex; flex-direction: column; gap: 6px; }
.ctl-again, .ctl-booknow { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 12px; font: inherit; font-size: 14px; text-decoration: none; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.ctl-again { justify-content: space-between; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-weight: 600; text-align: start; }
.ctl-again span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ctl-again small { flex: none; color: var(--muted); font-size: 12px; font-weight: 500; }
.ctl-again.busy { opacity: .6; cursor: progress; }
.ctl-booknow { justify-content: center; border: 1px solid var(--gold); background: var(--gold); color: #fff; font-weight: 700; }
.ctl-booknow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (hover: hover) {
  .ctl-again:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
  .ctl-again:hover small { color: inherit; }
  .ctl-booknow:hover { background: #000; border-color: #000; color: #fff; }
}

/* ---------- Messages : ligne « Support VIPAZUR » épinglée en premier ---------- */
.ctl-sup-row { display: flex; align-items: center; gap: 12px; width: 100%; margin: 4px 0 22px; padding: 12px 14px; border: 0; border-radius: 16px; background: var(--panel-2); color: var(--text); font: inherit; text-align: start; cursor: pointer; transition: background-color .3s, color .3s; }
.ctl-sup-logo { width: 44px; height: 44px; border-radius: 50%; flex: none; object-fit: cover; }
.ctl-sup-t { flex: 1; min-width: 0; }
.ctl-sup-t b { display: block; font-size: 16px; }
.ctl-sup-t small { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; transition: color .3s; }
.ctl-sup-n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--gold); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.ctl-sup-n[hidden] { display: none; }
.ctl-sup-row > svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
@media (hover: hover) { .ctl-sup-row:hover { background: var(--text); color: var(--bg); } .ctl-sup-row:hover .ctl-sup-t small { color: inherit; opacity: .75; } }

/* ---------- Client : coin doré « Réserver » collé au bord droit de la barre du haut (toute sa hauteur), sur chaque écran ---------- */
html.ctl-client #app .top { position: sticky; }
html.ctl-client #app .top .ctl-reserve { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; display: flex; align-items: center; gap: 6px; padding: 0 18px 0 16px; padding-top: inherit; padding-bottom: inherit; background: var(--gold); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; border-end-start-radius: 20px; transition: background-color .3s, color .3s; }
html.ctl-client #app .top .ctl-reserve svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
@media (hover: hover) { html.ctl-client #app .top .ctl-reserve:hover { background: #000; color: #fff; } }
html.ctl-client body:has(.bk-page) #app .top .ctl-reserve { display: none; }   /* déjà sur le formulaire */
/* Onglet Réglages : la photo du client à la place de la roue */
.tabs.mode-tabs .tab-settings .drv-ava.ctl-tab-ava { width: 28px; height: 28px; font-size: 11px; box-shadow: 0 0 0 2px var(--bg); }
.tabs.mode-tabs .tab-settings.on .drv-ava.ctl-tab-ava { box-shadow: 0 0 0 2px #fff; }
@media (min-width: 1000px) { html.ctl-client #app .top .ctl-reserve { bottom: auto; height: 48px; padding-top: 0; padding-bottom: 0; z-index: 5; } }   /* ordinateur : barre du haut très fine, coin de 48 px */

/* ---------- Client, téléphone : barre du bas « bosse » (owner, 2026-11-22, design 1 de design-lab/client-bottombar-bump-4.html,
   inspirée de son exemple) : barre blanche aux coins arrondis en haut, qui se soulève au-dessus de l'onglet actif avec un petit
   anneau doré ; icône + nom sous chaque onglet, actif en or ; la photo du client pour « Compte ». La bosse et l'anneau sont
   placés par ctlBump() (cltimeline.js). */
@media (max-width: 999px) {
  html.ctl-bar .tabs.mode-tabs { background: var(--bg) !important; border-top: 0 !important; border-radius: 14px 14px 0 0; overflow: visible !important;
    filter: drop-shadow(0 -3px 12px rgba(0, 0, 0, .14)) drop-shadow(0 0 1px rgba(0, 0, 0, .2)); box-shadow: none !important;
    align-items: stretch; padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px)) !important; min-height: 64px; }
  html.ctl-bar .tabs.mode-tabs > button.tab-signout { display: none !important; }
  html.ctl-bar .tabs.mode-tabs > button { border: 0 !important; }   /* pas de trait vertical à gauche de « Compte » (owner, 2026-11-22) */
  html.ctl-bar .tabs.mode-tabs > button:not(.tab-signout) { flex: 1 1 0 !important; flex-direction: column !important; align-items: center; justify-content: center; gap: 3px; padding: 6px 0 2px !important; border-radius: 0 !important; background: none !important; color: var(--text); position: relative; z-index: 1; transition: color .3s; }
  html.ctl-bar .tabs.mode-tabs > button .tab-lbl { display: block !important; font-size: 11px; font-weight: 600; color: var(--muted); transition: color .3s; }
  html.ctl-bar .tabs.mode-tabs > button svg { width: 24px; height: 24px; stroke-width: 1.6; }
  html.ctl-bar .tabs.mode-tabs > button.on { background: none !important; color: var(--gold) !important; }
  html.ctl-bar .tabs.mode-tabs > button.on svg { stroke: currentColor; color: var(--gold); }
  html.ctl-bar .tabs.mode-tabs > button.on .tab-lbl { color: var(--ctl-ink) !important; font-weight: 800; }
  html.ctl-bar .tabs.mode-tabs > button.on .drv-ava.ctl-tab-ava { box-shadow: 0 0 0 1px var(--gold); }   /* anneau collé à la photo (owner, 2026-11-22) */
  html.ctl-bar .tabs.mode-tabs > button .drv-ava.ctl-tab-ava { width: 26px; height: 26px; }
  html.ctl-bar .tabs.mode-tabs .ctl-hump { position: absolute; top: -6px; width: 92px; height: 7px; margin-left: -46px; pointer-events: none; z-index: 0; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .25s ease-in; }   /* un peu plus petite (owner, 2026-11-22) */
  html.ctl-bar .tabs.mode-tabs .ctl-hump path { fill: var(--bg); }
  html.ctl-bar .tabs.mode-tabs .ctl-hump.up { transform: scaleY(1); transition: transform .4s cubic-bezier(.22, 1, .36, 1); }   /* plus discret, sans rebond (owner, 2026-11-22) */
  html.ctl-bar .tabs.mode-tabs .ctl-hump { display: none; }   /* plus de bosse : seule l'icône monte (owner, 2026-11-22) */
  html.ctl-bar .tabs.mode-tabs > button svg, html.ctl-bar .tabs.mode-tabs > button .drv-ava, html.ctl-bar .tabs.mode-tabs > button .tab-badge { transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
  html.ctl-bar .tabs.mode-tabs > button.on svg, html.ctl-bar .tabs.mode-tabs > button.on .drv-ava, html.ctl-bar .tabs.mode-tabs > button.on .tab-badge { transform: translateY(-3px); }
}
@media (min-width: 1000px) { .tabs.mode-tabs .ctl-hump { display: none; } }
@media (prefers-reduced-motion: reduce) { html.ctl-bar .tabs.mode-tabs .ctl-hump, html.ctl-bar .tabs.mode-tabs > button svg, html.ctl-bar .tabs.mode-tabs > button .drv-ava { transition: none !important; } }
@media (max-width: 999px) and (hover: hover) {
  html.ctl-bar .tabs.mode-tabs > button:not(.on):hover, html.ctl-bar .tabs.mode-tabs > button:not(.on):hover .tab-lbl { color: var(--ctl-ink) !important; }
}

/* ---------- Téléphone : la recherche s'ouvre tout en haut, par-dessus la barre du logo (owner, 2026-11-22 : « make the search open
   above, covers the logo ») — même panneau (titre, croix ronde, champ), collé en haut, coins arrondis en bas. */
@media (max-width: 999px) {
  .ctl-head.searching { z-index: 1250; }   /* le panneau passe devant la barre du logo */
  .ctl-head.searching > .tsearch-wrap { position: fixed; top: 0; left: 0; right: 0; inset-inline-end: 0; width: auto; z-index: 1200; border: 0; border-bottom: 1px solid var(--line); border-radius: 0 0 18px 18px; padding: max(16px, env(safe-area-inset-top, 0px)) 16px 16px; }
  html.dtm .ctl-head.searching > .tsearch-wrap, html.dtm[dir="rtl"] .ctl-head.searching > .tsearch-wrap { transform-origin: top center; }
}

/* ---------- Fin de liste (version retenue) : fil en pointillé → point doré « + », « Votre retour ? », « + Autre trajet » ---------- */
.ctl-book { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; position: relative; margin: 0; padding: 0 0 8px; }
.ctl-book::before { content: ""; position: absolute; inset-inline-start: 51px; top: 0; height: 24px; border-inline-start: 1px dashed var(--gold); }
.ctl-book::after { content: ""; position: absolute; inset-inline-start: 46px; top: 24px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); }
.ctl-bk-d { text-align: center; padding-top: 14px; color: var(--gold); font-size: 22px; line-height: 1; }
.ctl-bk-b { padding: 12px 0 0 18px; padding-inline-start: 18px; min-width: 0; display: grid; gap: 12px; }
.ctl-ret { padding: 16px; border-radius: 16px; border: 1.5px dashed var(--gold); background: var(--bg); }   /* plus de fond doré, bord en tirets (owner, 2026-11-22) */
.ctl-ret small { font-size: 12.5px; font-weight: 700; color: var(--ctl-ink); }
.ctl-ret b { display: block; font-size: 17px; line-height: 1.25; margin: 4px 0 14px; }
.ctl-ret p { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.ctl-ret-btn, .ctl-other { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 99px; border: 0; background: var(--gold); color: #fff; font: inherit; font-size: 14.5px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .3s, color .3s; }
.ctl-ret-btn.busy { opacity: .6; cursor: progress; }
.ctl-other { width: 100%; height: 48px; }
.ctl-ret-btn svg, .ctl-other svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .ctl-ret-btn:hover, .ctl-other:hover { background: #000; color: #fff; } }

/* Roue de chargement sur « Choisir la date » quand les lieux ne sont pas encore prêts */
.ctl-ret-btn.busy svg { display: none; }
.ctl-ret-btn.busy::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: ctlSpin .7s linear infinite; }
.ctl-ret-btn.busy { opacity: 1; }
@keyframes ctlSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ctl-ret-btn.busy::before { animation-duration: 1.6s; } }

/* Aucune course à venir : ligne discrète sous « Aujourd'hui », le fil continue vers la réservation */
.ctl-none { position: relative; margin: 0; padding: 6px 0 14px; padding-inline-start: 76px; font-size: 14px; color: var(--muted); }
.ctl-none::before { content: ""; position: absolute; inset-inline-start: 51px; top: 0; bottom: 0; border-inline-start: 1px dashed var(--gold); }
/* La bulle d'aide reste au-dessus de la bosse de la barre */
@media (max-width: 999px) { html.ctl-bar .rc-fab { bottom: calc(var(--tabbar-h, 64px) + 10px) !important; } }   /* client et chauffeur au même endroit (owner, 2026-11-23) */

/* ---------- Compte du client (téléphone) : profil en tête, lignes groupées (design 1) ---------- */
@media (max-width: 999px) {
  #sbody.ca-on > .set-nav, #sbody.ca-on > .set-main { display: none !important; }
  html.ctl-client .settings:has(#sbody.ca-on) > h1 { display: none; }
  .ca { padding-top: 6px; }
  .ca-who { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
  .ca-ava { flex: none; cursor: pointer; }
  .ca-ava .drv-ava { width: 64px; height: 64px; font-size: 22px; }
  .ca-name { min-width: 0; }
  .ca-name b { display: block; font-size: 19px; line-height: 1.2; }
  .ca-name small { display: block; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
  .ca-avb .av-btns { margin-top: 6px; }
  .ca-avb .av-btns .hint { display: none; }
  .ca-avb .btns { margin: 0; }
  .ca-grp { margin-bottom: 18px; }
  .ca-grp h3 { font-size: 12.5px; font-weight: 700; color: var(--muted); margin: 0 0 6px 2px; text-transform: none; letter-spacing: 0; }
  .ca-box { border-radius: 16px; background: var(--panel-2); overflow: hidden; }
  .ca-item + .ca-item { border-top: 1px solid var(--line); }
  .ca-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 14px; color: var(--text); text-align: start; transition: background-color .3s; }
  .ca-row[aria-expanded] { cursor: pointer; }
  .ca-ic { width: 32px; height: 32px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; flex: none; color: var(--ctl-ink); }
  .ca-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .ca-t { flex: 1; min-width: 0; }
  .ca-t b { display: block; font-size: 14.5px; font-weight: 600; }
  .ca-v { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ca-ch { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; transition: transform .25s; }
  .ca-row[aria-expanded="true"] .ca-ch { transform: rotate(90deg); }
  .ca-in { padding: 0 14px 14px 58px; }
  .ca-in .em-row, .ca-in .push-sw, .ca-in .pw-two { margin-top: 0; }
  .ca-item[data-ca="mails"] label.check { margin: 0; flex: none; }
  .ca-item[data-ca="mails"] label.check > span { display: none; }
}
@media (max-width: 999px) and (hover: hover) { .ca-row[aria-expanded]:hover { background: var(--bg); } }

/* Calendrier de la liste des transferts : rien sous le calendrier (owner, 2026-11-22 : « remove the stuff under the calendar »).
   Plus de date choisie, d'aide ni de boutons « Toutes les dates / Afficher » : la période s'applique toute seule (cltimeline.js). */
.overlay.cal-overlay.dt-drop .cal-sel, .overlay.cal-overlay.dt-drop .cal-hint, .overlay.cal-overlay.dt-drop .cal-dialog > .btns { display: none !important; }
.overlay.cal-overlay.dt-drop .cal-dialog { padding-bottom: 14px; }
html.dtm .overlay.cal-overlay.dt-drop.ctl-shown .cal-dialog { animation: none !important; }   /* ouverture animée une seule fois */

/* Texte « Chargement… » : invisible 0,7 s, puis fondu s'il dure */
html.ctl-client #app .ctl-ld { opacity: 0; animation: ctlLd .3s .7s forwards; }
@keyframes ctlLd { to { opacity: 1; } }
/* Page Compte (téléphone) : masquée tant que la présentation en lignes n'est pas prête */
@media (max-width: 999px) { html.ctl-client #sbody:not(.ca-ready) { visibility: hidden; } }
/* Barre redessinée : l'icône active part du bas, puis monte en douceur */
html.ctl-bar .tabs.mode-tabs.ctl-pre > button.on svg, html.ctl-bar .tabs.mode-tabs.ctl-pre > button.on .drv-ava, html.ctl-bar .tabs.mode-tabs.ctl-pre > button.on .tab-badge { transform: none !important; transition: none !important; }   /* départ en bas, sans animation de descente */

/* Photo du compte (Réglages, téléphone et ordinateur) : anneau doré avec un fin liseré blanc, comme l'avatar de la barre du bas (owner, 2026-11-22) */
/* Tous les comptes (client, chauffeur, admin), owner 2026-11-22 : « doesnt show in desktop ». */
.settings .av-edit .drv-ava, .ca-ava .drv-ava { box-shadow: 0 0 0 1.5px var(--gold); }   /* anneau collé à la photo, sans espace (owner, 2026-11-22) */

/* Messages › Vos chauffeurs : discussion pas encore ouverte = même sablier doré animé que « Votre chauffeur » (owner, 2026-11-22) */
.rc-lock.rc-hg, html.dt .rc-lock.rc-hg { border: 0; background: var(--gold-soft, rgba(177,149,64,.12)); }
.rc-lock.rc-hg svg.ctl-hg, html.dt .rc-lock.rc-hg svg.ctl-hg { width: 24px; height: 24px; fill: none; stroke: none; }

/* Photo du chauffeur côté client (« Votre chauffeur pour cette course » et carte du véhicule de la fiche) : anneau doré collé à la photo (owner, 2026-11-22) */
.ctl-who .drv-ava.ctl-ava, html.dt .rc-car2-who .drv-ava { border: 0; box-shadow: 0 0 0 1.5px var(--gold); }   /* plus fin (owner, 2026-11-22) */

/* Carte « Votre chauffeur », design 2 (owner, 2026-11-22) : la voiture à chercher en haut sur fond gris, puis le chauffeur */
.ctl-zone.ctl-v2 { padding: 0; overflow: hidden; }
.ctl-v2 .ctl-car { background: var(--panel-2); padding: 14px; }
.ctl-car-q { font-size: 12.5px; font-weight: 700; color: var(--ctl-ink); }
.ctl-car-m { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: 4px 0 10px; font-size: 18px; font-weight: 800; line-height: 1.25; }
.ctl-car-m em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--muted); }
.ctl-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.ctl-eu { display: inline-flex; align-items: stretch; border: 2px solid #111; border-radius: 7px; overflow: hidden; background: #fff; color: #111; font-weight: 800; font-size: 19px; letter-spacing: .08em; line-height: 1; }
.ctl-eu i { background: #1f4fbf; color: #fff; font-style: normal; font-size: 11px; display: grid; place-items: center; padding: 0 6px; letter-spacing: 0; }
.ctl-eu span { padding: 6px 12px; }
.ctl-v2 .ctl-car small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.ctl-v2 .ctl-who { padding: 14px 14px 0; }
.ctl-v2 .ctl-who small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.ctl-v2 .ctl-acts { padding: 0 14px 14px; }
/* Voiture sous le chauffeur, sur fond doré clair (owner, 2026-11-22) */
.ctl-v2 .ctl-car { background: var(--gold-soft, rgba(177,149,64,.12)); margin: 12px 14px 0; border-radius: 12px; }
.ctl-v2 .ctl-who { padding: 14px 14px 0; }
.ctl-v2 .ctl-acts { margin-top: 12px; }

/* Contact du chauffeur, design 1 (owner, 2026-11-22) : Message (doré) | SMS (texte) | ··· (WhatsApp ou appel) */
.ctl-acts2 { display: flex; gap: 8px; margin-top: 12px; padding: 0 14px 14px; }
.ctl-c { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--text); font: inherit; font-size: 14.5px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.ctl-c.gold { flex-grow: 1.35; background: var(--gold); border-color: var(--gold); color: #fff; }
.ctl-c.more { flex: 0 0 48px; padding: 0; }
.ctl-c svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ctl-c.more svg { fill: currentColor; stroke: none; }
.ctl-c.more[aria-expanded="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
@media (hover: hover) {
  .ctl-c:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
  .ctl-c.gold:hover { background: #000; border-color: #000; color: #fff; }
}
.ctl-more-menu { min-width: 240px; }
.ctl-mi { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; color: var(--text); text-decoration: none; transition: background-color .3s; }
.ctl-mi b { display: block; font-size: 14.5px; }
.ctl-mi small { display: block; font-size: 12px; color: var(--muted); }
.ctl-mic { width: 34px; height: 34px; border-radius: 50%; background: var(--panel-2); display: grid; place-items: center; flex: none; }
.ctl-mic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ctl-mic svg.wa-logo, .ctl-mic svg.wa-logo path { fill: #25D366; stroke: none; }
@media (hover: hover) { .ctl-mi:hover { background: var(--panel-2); } }

/* Carte du chauffeur, design 1 « pleine largeur » (owner, 2026-11-22) : sur téléphone elle passe sous la colonne des dates ;
   Message seul + « ··· » (SMS, WhatsApp, appel) ; couleur sur sa propre ligne. */
@media (max-width: 640px) { .tcard.ctl .ctl-zone.ctl-v2 { margin-left: -58px; position: relative; z-index: 1; background: var(--bg); } }
.ctl-v2 .ctl-car-m { margin-bottom: 4px; }
.ctl-car-c { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 13.5px; color: var(--muted); }
.ctl-car-c b { color: var(--text); font-weight: 700; }
.ctl-c.gold { flex: 1 1 auto; }
html[dir="rtl"] .tcard.ctl .ctl-zone.ctl-v2 { margin-left: 0; }
@media (max-width: 640px) { html[dir="rtl"] .tcard.ctl .ctl-zone.ctl-v2 { margin-right: -58px; } }

/* Carte du chauffeur avec la photo du véhicule (design 3, owner 2026-11-22) : photo en haut, plaque posée dessus */
.ctl-v3 .ctl-ph { position: relative; height: 180px; background: var(--panel-2); overflow: hidden; }
.ctl-v3 .ctl-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ctl-ph-tag { position: absolute; left: 12px; top: 12px; background: rgba(0,0,0,.62); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 99px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ctl-v3 .ctl-ph .ctl-eu { position: absolute; left: 12px; bottom: 12px; font-size: 17px; box-shadow: 0 4px 14px rgba(0,0,0,.28); }
.ctl-ph-info { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 10px 14px 0; }
.ctl-ph-info > b { font-size: 16px; font-weight: 800; }
.ctl-ph-info .ctl-car-c { margin: 0; }
.ctl-v3 .ctl-who { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
html[dir="rtl"] .ctl-ph-tag, html[dir="rtl"] .ctl-v3 .ctl-ph .ctl-eu { left: auto; right: 12px; }

/* ---------- Messages dans la bulle (client, owner 2026-11-22) : accueil design 1, conversation design C2 ---------- */
html.ctl-client .tabs.mode-tabs > button[data-hash="chat"] { display: none !important; }   /* plus d'onglet Messages */
.rc-sup-panel.clw { padding: 0; height: min(640px, calc(100dvh - var(--tabbar-h, 64px) - 130px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: var(--bg); }
@media (max-width: 999px) { .rc-sup-panel.clw { left: 12px; right: 12px; width: auto; } }
.clw-hd { flex: none; background: linear-gradient(160deg, #1d1b16 0%, #3a3222 100%); color: #fff; padding: 14px 14px 44px; }
.clw-bar { display: flex; align-items: center; justify-content: space-between; }
.clw-logo { font-family: Georgia, "Times New Roman", serif; font-size: 18px; letter-spacing: .02em; }
.clw-logo i { color: var(--gold); font-style: normal; }
.clw-rb { width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background-color .3s, color .3s; flex: none; }
.clw-rb svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .clw-rb:hover { background: #fff; color: #000; } }
.clw-hd h3 { margin: 16px 0 2px; font-size: 22px; font-weight: 700; color: #fff; }
.clw-hd p { margin: 0; font-size: 14px; color: rgba(255,255,255,.72); }
.clw-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin-top: -30px; padding: 0 12px 12px; }
.clw-card { background: var(--bg); border-radius: 14px; box-shadow: 0 4px 18px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.05); padding: 2px 12px; margin-bottom: 10px; }
.clw-sh { font-size: 12px; font-weight: 700; color: var(--muted); margin: 10px 0 0; }
.clw-row { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 0; border: 0; background: none; color: var(--text); text-align: start; font: inherit; text-decoration: none; cursor: pointer; }
.clw-row + .clw-row { border-top: 1px solid var(--line); }
.clw-t { flex: 1; min-width: 0; }
.clw-t b { display: block; font-size: 14.5px; font-weight: 700; }
.clw-t small { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clw-av, .drv-ava.clw-ava { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 1.5px var(--gold); font-size: 14px; }
.clw-av img { width: 100%; height: 100%; object-fit: cover; }
.clw-av.clw-wait { box-shadow: none; background: var(--gold-soft, rgba(177,149,64,.12)); }
.clw-av.clw-wait .ctl-hg { width: 22px; height: 22px; }
.clw-go { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; flex: none; }
.clw-go svg, .clw-chev svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.clw-chev { color: var(--muted); display: grid; place-items: center; flex: none; }
.clw-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; font-style: normal; display: grid; place-items: center; flex: none; }
.clw-live { color: #2e9d5b; font-weight: 700; }
.clw-live::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 5px; vertical-align: 1px; }
@media (hover: hover) { .clw-row:hover { background: var(--panel-2); border-radius: 10px; } }
/* Conversation : en-tête sombre centré, flèche retour à gauche, croix à droite, bande dorée claire (véhicule + plaque) */
.clw-ch { position: relative; text-align: center; padding: 12px 52px 14px; }
.clw-ch .clw-back, .clw-ch .clw-close { position: absolute; top: 12px; }
.clw-ch .clw-back { left: 12px; } .clw-ch .clw-close { right: 12px; }
html[dir="rtl"] .clw-ch .clw-back { left: auto; right: 12px; transform: scaleX(-1); } html[dir="rtl"] .clw-ch .clw-close { right: auto; left: 12px; }
.clw-ch .clw-big { width: 52px; height: 52px; margin: 2px auto 6px; font-size: 17px; }
.clw-ch b { display: block; font-size: 16px; color: #fff; }
.clw-ch small { display: block; font-size: 12px; color: rgba(255,255,255,.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clw-ch .clw-live { color: #6fd39a; }
.clw-strip { flex: none; display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: var(--gold-soft, rgba(177,149,64,.12)); border-bottom: 1px solid rgba(177,149,64,.25); font-size: 12.5px; }
.clw-strip-m { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clw-strip .ctl-eu.clw-eu { margin-left: auto; font-size: 12.5px; border-width: 1.5px; border-radius: 5px; flex: none; }
.clw-strip .ctl-eu.clw-eu span { padding: 3px 7px; }
.clw-strip .ctl-eu.clw-eu i { font-size: 8px; padding: 0 3px; }
html[dir="rtl"] .clw-strip .ctl-eu.clw-eu { margin-left: 0; margin-right: auto; }
.clw-conv { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.clw-conv .rc-win { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.clw-conv .rc-msgs { flex: 1; min-height: 0; max-height: none; overflow-y: auto; }
/* Pastille de messages non lus sur la bulle (ancien onglet Messages) */
.rc-fab[data-n]::after { content: attr(data-n); position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: #d32f2f; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }
.rc-fab.open[data-n]::after { display: none; }

/* Bulle de discussion des chauffeurs et du super admin (owner, 2026-11-22) : plus d'onglet Messages, la bulle sur toutes les pages */
html.clw-staff .tabs.mode-tabs > button[data-hash="chat"] { display: none !important; }
.rc-fab.clw-fab { position: fixed; right: 16px; bottom: calc(var(--tabbar-h, 64px) + 16px); z-index: 1100; }
@media (min-width: 1000px) { .rc-fab.clw-fab { right: 28px; bottom: 28px; } }
body:has(.overlay) .rc-fab.clw-fab { display: none; }
.clw-hd-s { padding-bottom: 14px; }
.clw-hd-s + .clw-body { margin-top: 10px; }
.clw-search { display: flex; align-items: center; gap: 8px; margin-top: 12px; height: 40px; padding: 0 12px; border-radius: 12px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.75); }
.clw-search svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex: none; }
.clw-search input { flex: 1; min-width: 0; border: 0; background: none; color: #fff; font: inherit; font-size: 14.5px; outline: none; padding: 0; }
.clw-search input::placeholder { color: rgba(255,255,255,.6); }
.clw-r { display: grid; justify-items: end; gap: 4px; flex: none; }
.clw-r time { font-size: 11.5px; color: var(--muted); }
.clw-row .pill.ch-client { font-size: 10.5px; padding: 1px 6px; vertical-align: 1px; }
.clw-ch .clw-call { color: var(--gold); font-weight: 700; text-decoration: none; }
.clw-tw .rc-form .clw-offer svg { width: 19px; height: 19px; }
.clw .msg-b.has-offer { max-width: 92%; }

/* Paiement sous le prix (owner, 2026-11-22) : « Espèces », « Carte à bord » ou « ✓ Prépayé » en vert */
.ctl-pr { display: grid; justify-items: end; flex: none; }
.ctl-pay { font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; margin-top: 1px; }
.ctl-pay.paid { display: inline-flex; align-items: center; gap: 3px; color: #2e7d4f; }
.ctl-pay.paid svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ctl-top { align-items: flex-start; }

/* Boîte de l'admin, design 3 (owner, 2026-11-22) : en course maintenant (couleur de l'étape + barre en 4 temps), prochaines courses, le reste */
.clw-st { font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.clw-st::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.clw-st.er { color: #2f6fd6; } .clw-st.ar { color: #c27a12; } .clw-st.ob { color: #2e9d5b; }
.clw-bar4 { display: flex; gap: 3px; margin-top: 5px; }
.clw-bar4 i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.clw-bar4.er i.on { background: #2f6fd6; } .clw-bar4.ar i.on { background: #c27a12; } .clw-bar4.ob i.on { background: #2e9d5b; }
.clw-sh { display: flex; align-items: center; gap: 6px; }
.clw-livedot { width: 8px; height: 8px; border-radius: 50%; background: #2e9d5b; animation: clwPulse 1.6s infinite; }
@keyframes clwPulse { 0% { box-shadow: 0 0 0 0 rgba(46,157,91,.5); } 100% { box-shadow: 0 0 0 8px rgba(46,157,91,0); } }
@media (prefers-reduced-motion: reduce) { .clw-livedot { animation: none; } }
.clw-n { background: var(--panel-2); color: var(--muted); border-radius: 99px; padding: 0 7px; font-size: 11px; }

/* Recherche, design 1 (owner, 2026-11-22) : sur téléphone le champ prend la place de la barre du logo, sans titre « Rechercher »,
   la croix ronde à sa droite ; le bonjour et la loupe (dorée) restent visibles juste dessous. */
@media (max-width: 999px) {
  .ctl-head.searching > .tsearch-wrap { display: flex !important; align-items: flex-end; gap: 8px; border: 0; border-radius: 0; box-shadow: 0 1px 0 var(--line); padding: 0 16px 12px; }
  .ctl-head.searching > .tsearch-wrap .tsearch-row { flex: 1; min-width: 0; order: 1; }
  .ctl-head.searching .ctl-sh { order: 2; margin: 0; flex: none; }
  .ctl-head.searching .ctl-sh b { display: none; }
  .ctl-head.searching .ctl-sx { width: 44px; height: 44px; }
  .ctl-head.searching > .tsearch-wrap .t-range { display: none; }
}

/* Survol des lignes de la bulle : toute la largeur de la carte, doré clair (owner, 2026-11-22 : « looks partial ») */
.clw-card { overflow: hidden; }
.clw-row { width: calc(100% + 24px); margin-inline: -12px; padding-inline: 12px; }
@media (hover: hover) { .clw-row:hover { background: var(--gold-soft, rgba(177,149,64,.12)); border-radius: 0; } }

/* Fin de liste : 100 px entre la dernière course et « Réserver votre retour ? » (owner, 2026-11-22) ; le fil en pointillé suit */
.ctl-book { margin-top: 68px; }
.ctl-book::before { top: -68px; height: 92px; }
/* « En course maintenant » : toute la carte sur fond doré clair, titre compris (owner, 2026-11-22) */
.clw-card.clw-live-card { background: #f6f1e2; }
html.dark .clw-card.clw-live-card, [data-theme="dark"] .clw-card.clw-live-card { background: rgba(177,149,64,.16); }
@media (hover: hover) { .clw-live-card .clw-row:hover { background: rgba(177,149,64,.2); } }

/* Étiquette « N nouveaux messages » à côté de la bulle fermée (owner, 2026-11-22) */
.clw-min { position: fixed; z-index: 1100; height: 34px; padding: 0 14px 0 10px; border-radius: 99px; border: 0; background: var(--bg); color: var(--text); font: inherit; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; box-shadow: 0 6px 20px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.05); cursor: pointer; white-space: nowrap; animation: clwMinIn .25s ease-out both; transition: background-color .3s, color .3s; }
.clw-min-dot { width: 8px; height: 8px; border-radius: 50%; background: #d32f2f; flex: none; }
@keyframes clwMinIn { from { opacity: 0; transform: translateX(8px); } }
@media (hover: hover) { .clw-min:hover { background: #000; color: #fff; } }
@media (prefers-reduced-motion: reduce) { .clw-min { animation: none; } }
/* « En course maintenant » : au survol, toute la carte (titre compris) prend le doré plus soutenu (owner, 2026-11-22) */
@media (hover: hover) {
  .clw-card.clw-live-card { transition: background-color .3s; }
  .clw-live-card .clw-row:hover { background: transparent; }
  .clw-card.clw-live-card:has(.clw-row:hover) { background: #eadfbf; }
}
/* Œil devant « Cherchez cette voiture » (owner, 2026-11-22) */
.ctl-ph-tag { display: inline-flex; align-items: center; gap: 6px; }
.ctl-ph-tag svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ctl-car-q { display: flex; align-items: center; gap: 6px; }
.ctl-car-q svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* En-tête de conversation admin, design H (owner, 2026-11-22) */
.clw-ch.clw-h8 { text-align: start; padding: 12px 12px 14px; }
.clw-h8 .h8-r1 { display: flex; align-items: center; gap: 10px; }
.clw-h8 .h8-r1 .clw-rb { position: static; }
.clw-h8 .h8-r1 .drv-ava.clw-ava { width: 44px; height: 44px; }
.clw-h8 .h8-t { flex: 1; min-width: 0; }
.clw-h8 .h8-t b { display: block; font-size: 15.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clw-h8 .h8-t small { display: block; font-size: 11.5px; color: rgba(255,255,255,.6); }
.clw-ics { display: flex; gap: 6px; flex: none; }
.clw-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; text-decoration: none; transition: background-color .3s, color .3s; }
.clw-ic.sm { width: 30px; height: 30px; }
.clw-ic svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.clw-ic svg.wa-logo, .clw-ic svg.wa-logo path { fill: #25D366; stroke: none; }
@media (hover: hover) { .clw-ic:hover { background: #fff; color: #000; } }
.clw-h8 .h8-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin: 16px 0 6px; font-size: 11.5px; font-weight: 700; color: #fff; }
.clw-h8 .h8-end { max-width: 90px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clw-h8 .h8-track { position: relative; height: 4px; border-radius: 2px; background: rgba(255,255,255,.18); }
.clw-h8 .h8-track > i { position: absolute; left: 0; top: 0; bottom: 0; background: #6f9cff; border-radius: 2px; transition: width .6s; }
.clw-h8 .h8-mk { position: absolute; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.45); transform: translate(-50%, -50%); }
.clw-h8 .h8-car { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.25); display: grid; place-items: center; transition: left .6s; }
.clw-h8 .h8-car.live { background: #6f9cff; box-shadow: 0 0 0 4px rgba(111,156,255,.25); }
.clw-h8 .h8-car svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.clw-h8 .h8-lbls { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; font-size: 10px; font-weight: 700; color: rgba(255,255,255,.45); margin: 0 0 8px; padding: 0 calc(90px * 0); }
.clw-h8 .h8-lbls .done { color: rgba(255,255,255,.75); } .clw-h8 .h8-lbls .cur { color: #fff; }
.clw-h8 .h8-line { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; color: rgba(255,255,255,.7); }
.clw-h8 .h8-line b { color: #fff; }
.clw-h8 .h8-ref { margin-left: auto; color: var(--gold); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
html[dir="rtl"] .clw-h8 .h8-ref { margin-left: 0; margin-right: auto; }
.clw-h8 .h8-cl { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); }
.clw-h8 .h8-cl .h8-t b { font-size: 13.5px; }
/* Progression en doré, pas en bleu (owner, 2026-11-22) */
.clw-h8 .h8-track > i { background: var(--gold); }
.clw-h8 .h8-car.live { background: var(--gold); box-shadow: 0 0 0 4px rgba(177,149,64,.3); }

/* Ordinateur : la liste du client plus large, la carte chauffeur ne s'écrase plus (owner, 2026-11-22). */
@media (min-width: 1000px) { html.ctl-client .tsplit { --tsplit-w: clamp(440px, 38vw, 540px); } }
/* Téléphone : la bulle dorée 20 px plus bas (owner, 2026-11-22). */
@media (max-width: 999px) { .rc-fab.clw-fab { bottom: calc(var(--tabbar-h, 64px) - 4px); } }
/* Une seule course en cours : le haut de la carte est cliquable, comme la ligne (owner, 2026-11-22). */
.clw-live-card.one { cursor: pointer; }
@media (hover: hover) { .clw-card.clw-live-card.one:hover { background: #eadfbf; } }
/* Fil du temps chauffeur et admin (owner, 2026-11-23) : lignes client / chauffeur sous le trajet, liste plus large sur ordinateur. */
.ctl-staff { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.ctl-staff .tk-who, .ctl-staff .tk-acts, .ctl-staff .tcard-disp { margin: 0; padding: 0; border: 0; }
@media (min-width: 1000px) { .tsplit:has(.tcard.ctl) { --tsplit-w: clamp(440px, 38vw, 540px); } }
/* Proposition de course, design 7 (owner, 2026-11-23) : « À la fin du délai : Je décide | Accepter auto » pendant les 20 s,
   puis, si un autre chauffeur l'a prise, ce qui s'est passé seconde par seconde. */
.of-auto { margin: 12px 0 10px; }
.of-auto-l { font-size: 12.5px; font-weight: 700; color: var(--muted); margin: 0 0 6px; font-variant-numeric: tabular-nums; }
.of-seg { display: grid; grid-template-columns: 1fr 1fr; background: color-mix(in srgb, var(--text) 6%, var(--panel, #fff)); border-radius: 99px; padding: 4px; }
.of-seg > button { min-height: 40px; border: 0; border-radius: 99px; background: none; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--muted); cursor: pointer; transition: background-color .3s, color .3s, box-shadow .3s; }
.of-seg > button.on { background: var(--panel, #fff); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
@media (hover: hover) { .of-seg > button:not(.on):hover { color: var(--text); } }
.btns.of-auto-on { display: grid !important; grid-template-columns: 1fr; }
.btns.of-auto-on .of-wait { display: none !important; }
.btns.of-auto-on [data-decline] { width: 100%; }
.of-tl { margin: 12px 0 4px; font-size: 13px; line-height: 1.45; }
.of-tl-ln { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.of-tl-ln:last-child { border-bottom: 0; }
.of-tl-ln .h { width: 64px; flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.of-tl-ln.me b { color: var(--gold); }
/* WhatsApp / SMS / Appel : fenêtre « discussion de l'app d'abord », design 4 (owner, 2026-11-23). Feuille en bas sur téléphone, carte au centre sur ordinateur. */
.ctl-nudge { position: fixed; inset: 0; z-index: 1400; background: rgba(10,10,10,0); display: flex; align-items: flex-end; justify-content: center; transition: background-color .25s; }
.ctl-nudge.in { background: rgba(10,10,10,.45); }
.ctl-nudge-s { width: 100%; max-width: 480px; background: var(--bg); color: var(--text); border-radius: 24px 24px 0 0; padding: 10px 20px calc(22px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.ctl-nudge.in .ctl-nudge-s { transform: none; }
.ctl-nudge-grab { width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 14px; }
.ctl-nudge-t { font-size: 20px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; margin: 0 0 14px; }
.ctl-nudge-c { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14px; }
.ctl-nudge-c th { font-size: 11.5px; font-weight: 800; color: var(--muted); text-align: center; padding: 0 0 8px; }
.ctl-nudge-c th.app { color: var(--gold); }
.ctl-nudge-c td { padding: 11px 0; border-top: 1px solid var(--line); }
.ctl-nudge-c td:not(:first-child) { text-align: center; font-weight: 800; padding-inline: 6px; }
.ctl-nudge-c th:not(:first-child) { white-space: nowrap; padding-inline: 6px; }
.ctl-nudge-c td.y { color: var(--gold); } .ctl-nudge-c td.x { color: var(--muted); opacity: .55; }
.ctl-nudge-go { width: 100%; min-height: 50px; justify-content: center; gap: 8px; font-size: 15px; }
.ctl-nudge-go svg { width: 20px; height: 20px; }
.ctl-nudge-alt { display: block; text-align: center; padding: 14px 0 2px; font-size: 13.5px; font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; transition: color .3s; }
@media (hover: hover) { .ctl-nudge-alt:hover { color: var(--text); } }
@media (min-width: 1000px) { .ctl-nudge { align-items: center; } .ctl-nudge-s { border-radius: 22px; padding: 22px 24px 20px; transform: translateY(16px); opacity: 0; transition: transform .3s, opacity .25s; } .ctl-nudge.in .ctl-nudge-s { opacity: 1; } .ctl-nudge-grab { display: none; } }
@media (prefers-reduced-motion: reduce) { .ctl-nudge, .ctl-nudge-s { transition: none; } }
/* Discussion avec le chauffeur (client) : « ··· » à gauche de la croix, menu au-dessus de la bulle (owner, 2026-11-23). */
.clw-ch .clw-more { position: absolute; top: 12px; right: 56px; }
.clw-ch .clw-more svg { width: 18px; height: 18px; fill: currentColor; }
html[dir="rtl"] .clw-ch .clw-more { right: auto; left: 56px; }
.ctl-more-menu { z-index: 1350; }

/* Bandeau vert « Chauffeur arrivé » en tête de la carte du chauffeur (design 2, owner 2026-11-23) */
.ctl-zone.ctl-zlive { border-color: var(--green, #1f8a4c); }
.ctl-band { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--green, #1f8a4c); color: #fff; }
.ctl-band b { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; }
.ctl-band small { display: block; font-size: 13px; opacity: .92; line-height: 1.35; margin-top: 1px; }
.ctl-pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #fff; flex: none; }
.ctl-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #fff; animation: ctlPing 1.8s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes ctlPing { from { transform: scale(1); opacity: .55; } to { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ctl-pulse::after { animation: none; } }
.ctl-zone.ctl-v2:not(.ctl-v3).ctl-zlive .ctl-band { margin-bottom: 4px; }

/* Course que le chauffeur vient d'accepter : cadre vert qui apparaît et disparaît en douceur, 5 s (owner, 2026-11-23, ctlHlStart) */
.tcard.ctl.ctl-hl .ctl-body { border-radius: 12px; outline: 2px solid transparent; outline-offset: -2px; animation: ctlHl 5s ease-in-out var(--hl-d, 0s) both; }   /* contour sur le bord de la carte (déjà rembourrée) : rien ne bouge */
@keyframes ctlHl {
  0%, 100% { outline-color: transparent; }
  15%, 38%, 62%, 85% { outline-color: var(--green, #1f8a4c); }
  27%, 50%, 74% { outline-color: color-mix(in srgb, var(--green, #1f8a4c) 25%, transparent); }
}
@media (prefers-reduced-motion: reduce) { .tcard.ctl.ctl-hl .ctl-body { animation: none; outline-color: var(--green, #1f8a4c); } }

/* Ordinateur, chauffeur et admin (liste sans fiche à côté) : le fil du temps reste vertical, une seule colonne comme chez le client,
   au lieu de la grille de cartes (owner, 2026-11-23 : « its horizontal instead of vertical »). */
@media (min-width: 1000px) { html .wrap:not(.tsplit-wrap) .list:has(> .tcard.ctl) { display: block; max-width: 640px; } }

/* Timeline du chauffeur : comme la liste du client, pas de ligne Statut / tri sous l'en-tête (owner, 2026-11-23) */
html.ctl-bar .tlist-wrap .list > .filters { display: none; }
@media (min-width: 1000px) { html.ctl-bar .wrap:not(.tsplit-wrap) > .ctl-head { max-width: 640px; padding-inline: 0; } }   /* ordinateur : en-tête aussi large que la liste */

/* Fiche du chauffeur : bloc de l'onglet Transferts dans la carte Chauffeur, sans cadre de carte (owner, 2026-11-23) */
#teamPanel > .hm-next.tp-hmst { margin: 16px 0 0; padding: 0; border: 0; background: none; box-shadow: none; }
#teamPanel > .hm-next.tp-hmst > .hm-body { padding: 0; }
/* Bouton à glisser flottant (comme l'ancienne barre), pleine largeur, laisse la place de la bulle de discussion à droite */
.tp-bar .tp-hmfloat { pointer-events: auto; width: 100%; max-width: 728px; }
.tp-bar .tp-hmfloat .slide-btn { width: 100%; margin: 0; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
@media (max-width: 999px) { html.ctl-bar .tp-bar:has(.tp-hmfloat) { padding: 0 84px 0 16px; bottom: calc(var(--tabbar-h, 64px) + 10px); } }
.wrap.tp-wrap:has(.tp-hmfloat) { padding-bottom: 110px; }   /* le bas de la fiche reste visible au-dessus du bouton */

/* Accueil du chauffeur : carte complète de la course dans le fil du temps (owner, 2026-11-23) */
.hm-tl .tcard.ctl.hm-open { cursor: default; }
.hm-tl .tcard.ctl.hm-open > .hm-tlbox { min-width: 0; padding: 6px 0 18px; }
.hm-tl .tcard.ctl.hm-open > .hm-tlbox > .hm-next { margin: 0; }
/* La carte ouverte prend toute la largeur de la page, téléphone et ordinateur (owner, 2026-11-23 : « the card needs to be full width ») ;
   sa date est déjà dans la carte, la colonne date et le point du fil s'effacent pour elle. */
html .hm-tl .tcard.ctl.hm-open > .ctl-day { display: none; }
html .hm-tl .tcard.ctl.hm-open > .hm-tlbox { grid-column: 1 / -1; margin-inline: calc(-1 * var(--hm-tl-pad, 0px)); padding-top: 10px; }   /* --hm-tl-pad = marge intérieure réelle de la liste (hmTlPad) */
html .hm-tl .tcard.ctl.hm-open::after { display: none; }
html .hm-tl .tcard.ctl.hm-open::before { z-index: -1; }
/* Course acceptée ouverte en grande carte sur l'Accueil : le cadre vert entoure la grande carte */
.tcard.ctl.ctl-hl.hm-open > .hm-tlbox > .hm-next { outline: 2px solid transparent; outline-offset: -2px; animation: ctlHl 5s ease-in-out var(--hl-d, 0s) both; }
@media (prefers-reduced-motion: reduce) { .tcard.ctl.ctl-hl.hm-open > .hm-tlbox > .hm-next { animation: none; outline-color: var(--green, #1f8a4c); } }

/* N° de réservation sous la grande heure de la carte du chauffeur (owner, 2026-11-23) */
.hm2-tl .hm2-ref { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 0 -6px; padding: 3px 6px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 13px; font-weight: 500; color: var(--muted); cursor: pointer; transition: background-color .3s, color .3s; }
.hm2-tl .hm2-ref i { display: inline-grid; width: 15px; height: 15px; }
.hm2-tl .hm2-ref svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hm2-tl .hm2-ref.ok i { color: var(--green, #1f8a4c); }
@media (hover: hover) { .hm2-tl .hm2-ref:hover { background: var(--text); color: var(--bg); } }

/* Carte de proposition, design 1 (owner, 2026-11-23) */
.tk.offer.ofk1 .ofk-mapw { position: relative; }
.tk.offer.ofk1 .ofk-map { height: 150px; margin: 0; border-radius: 0; }
.tk.offer.ofk1 .ofk-mapw.nomap { display: flex; justify-content: flex-end; padding: 12px 16px 0; }
.tk.offer.ofk1 .ofk-mapw.nomap .ofk-map { display: none; }
.tk.offer.ofk1 .ofk-pr { position: absolute; right: 12px; bottom: 12px; z-index: 500; background: var(--panel); border-radius: 14px; padding: 8px 12px; text-align: right; box-shadow: 0 4px 14px rgba(0, 0, 0, .14); white-space: nowrap; }
.tk.offer.ofk1 .ofk-mapw.nomap .ofk-pr { position: static; box-shadow: none; padding: 0; }
.tk.offer.ofk1 .ofk-pr b { display: block; font-size: 24px; font-weight: 800; line-height: 1; color: var(--text); }
.tk.offer.ofk1 .ofk-pr small { font-size: 11.5px; color: var(--muted); }
.tk.offer.ofk1 .ofk-body { gap: 10px; padding: 14px 16px 16px; }
.tk.offer.ofk1 .ofk-title { font-size: 21px; font-weight: 800; }
.tk.offer.ofk1 .ofk-sub { margin-top: -4px; }
.tk.offer.ofk1 .ofk-sub .of-rel { display: inline-block; margin: 0 4px 0 0; padding: 2px 10px; border-radius: 99px; background: var(--gold); color: #fff; font-size: 12px; font-weight: 700; }
.ofk-city { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--text); }
.ofk-city i { flex: none; width: 9px; height: 9px; border-radius: 50%; }
.ofk-city i.pick { background: #1faa6b; }
.ofk-city i.drop { background: #d64545; }
.tk.offer.ofk1 [data-accept] { display: none !important; }   /* le geste remplace le bouton ; le compte à rebours l'utilise encore */
.tk.offer.ofk1:has(.btns.of-auto-on) .ofk-slide { display: none; }   /* 20 s de vérification : compte à rebours à la place */
.tk.offer.ofk1 .ofk-slide { margin-top: 4px; }
.tk.offer.ofk1 .ofk-btns { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin: 0; }
.tk.offer.ofk1 .ofk-btns .of-wait { order: -1; width: 100%; }
.tk.offer.ofk1 .ofk-decl { align-self: center; background: none; border: 0; padding: 6px 10px; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: color .3s; }
@media (hover: hover) { .tk.offer.ofk1 .ofk-decl:hover { color: var(--red, #d64545); } }

/* Fenêtre « Accepter cette course ? » du chauffeur (owner, 2026-11-23) */
.dialog.ofc { max-width: 420px; }
.ofc-ride { display: grid; gap: 3px; margin: 2px 0 0; }
.ofc-ride b { font-size: 17px; }
.ofc-ride small { font-size: 13px; color: var(--muted); }
.ofc-p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.ofc-xh { margin: 18px 0 8px; font-size: 14px; font-weight: 700; }
.ofc-xs { display: grid; gap: 8px; }
.ofc-x { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; background: var(--panel-2); cursor: pointer; }
.ofc-x img, .ofc-noimg { flex: none; width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: #fff; }
.ofc-x .grow { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; }
.ofc-x input { flex: none; }
.ofc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.ofc-btns .btn { margin: 0; }
.ofc-btns .btn[disabled] { opacity: .45; cursor: not-allowed; }
.ofc-hint { margin: 10px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.tk.offer.ofk1 { cursor: default; }   /* la carte ne s'ouvre plus (owner, 2026-11-23) */

/* Paiement sur la carte de proposition, design 2 (owner, 2026-11-23) */
.ofk-pay { display: flex; align-items: center; gap: 10px; padding: 10px 16px; }
.ofk-pay svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ofk-pay b { display: block; font-size: 14px; font-weight: 700; }
.ofk-pay small { display: block; font-size: 12.5px; opacity: .9; margin-top: 1px; }
.ofk-pay.cash { background: #fbefd9; color: #8a5a12; }
.ofk-pay.acct { background: #e7f4ec; color: #1f8a4c; }
html[data-theme="dark"] .ofk-pay.cash { background: #3a2e17; color: #f1c98a; }
html[data-theme="dark"] .ofk-pay.acct { background: #183526; color: #8fd8ad; }

/* 20 s de vérification : équipements + barre « Auto » (owner, 2026-11-23, design 1) */
.tk.offer.ofk1 .of-auto { display: none !important; }   /* remplacé par .ofa */
.ofa { display: grid; gap: 8px; }
.ofa-need { font-size: 13px; font-weight: 700; color: var(--text); }
.ofa-x { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border: 0; border-radius: 14px; background: var(--panel-2); font: inherit; text-align: left; color: var(--text); cursor: pointer; transition: background-color .3s; }
.ofa-x img, .ofa-noimg { flex: none; width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: #fff; }
.ofa-xn { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; }
.ofa-tick { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; color: #fff; transition: background-color .25s; }
.ofa-x.on .ofa-tick { background: var(--gold); }
.ofa-tick svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .ofa-x:hover { background: var(--gold-soft); } }
.ofa-bar { position: relative; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 8px 0 18px; border-radius: 999px; background: var(--panel-2); overflow: hidden; }
.ofa-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--gold-soft); transition: width .25s linear; }
.ofa.on .ofa-fill { background: color-mix(in srgb, var(--gold) 30%, var(--panel)); }
.ofa-t { position: relative; flex: 1; min-width: 0; font-size: 14.5px; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ofa.on .ofa-t { color: var(--text); }
.ofa-sw { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 999px; background: var(--panel); font-size: 13px; font-weight: 700; color: var(--text); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); cursor: pointer; }
.ofa-sw input:disabled { opacity: .45; cursor: not-allowed; }
.ofa-hint { margin-top: -2px; text-align: center; font-size: 12px; color: var(--muted); }
