/* Planning de la société : go.chauffapp.com (fleetplan.js, owner 2026-11-23). Brouillon B de design-lab/fleet-dashboard-3.html,
   dans le design Gold thread (or, noir, blanc ; Manrope ; peu de cadres). Préfixe .fp-. */
.fp-page { --fp-red: #c93b3b; --fp-amb: #9a6510; --fp-amb-soft: rgba(214, 150, 40, .13); --fp-hw: 76px; --fp-lw: 210px; max-width: 1480px; font-variant-numeric: tabular-nums; }
html:not([data-theme="light"]) .fp-page { --fp-red: #e56b6b; --fp-amb: #e0a948; --fp-amb-soft: rgba(224, 169, 72, .14); }
.fp-page svg:not(.leaflet-pane svg) { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fp-mute { color: var(--muted); font-size: 13px; }
.fp-gold { color: var(--gold); font-weight: 700; }
.fp-amb { color: var(--fp-amb) !important; font-weight: 600; }

/* Barre d'outils : date, recherche, filtre chauffeur */
.fp-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 0 20px; }
.fp-day { display: flex; align-items: center; gap: 6px; }
.fp-ib { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--text); display: grid; place-items: center; padding: 0; transition: background .3s, color .3s, border-color .3s; }
.fp-date { border: 0; background: none; color: var(--text); padding: 4px 6px; border-radius: 10px; text-align: start; transition: background .3s, color .3s; }
.fp-date h1 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.fp-date h1 small { font-size: 15px; color: var(--muted); font-weight: 500; margin-inline-start: 10px; letter-spacing: 0; }
.fp-search { margin-inline-start: auto; position: relative; display: block; }
.fp-search svg { position: absolute; inset-inline-start: 13px; top: 11px; color: var(--muted); pointer-events: none; }
.fp-search input { width: 280px; height: 40px; border: 1px solid var(--line); border-radius: 99px; background: var(--bg); color: var(--text); font: inherit; font-size: 14px; padding-block: 0; padding-inline: 38px 14px; margin: 0; }
.fp-filter { display: inline-flex; align-items: center; gap: 8px; }
@media (hover: hover) {
  .fp-ib:hover, .fp-date:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
  .fp-date:hover h1 small { color: var(--bg); opacity: .75; }
}

/* Ligne de temps : une ligne par chauffeur */
.fp-plan { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg); }
.fp-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.fp-scroll.dragging { cursor: grabbing; user-select: none; }
.fp-grid { display: grid; grid-template-columns: var(--fp-lw) calc(var(--fp-hw) * var(--fp-hours)); position: relative; min-width: max-content; }
.fp-corner { position: sticky; inset-inline-start: 0; z-index: 4; background: var(--panel-2); border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); padding: 10px 14px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.fp-hours { position: relative; height: 38px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.fp-hours span { position: absolute; top: 10px; font-size: 12px; color: var(--muted); font-weight: 600; transform: translateX(-50%); white-space: nowrap; }
.fp-hours span:first-child { transform: none; padding-inline-start: 6px; }
.fp-lane-l { position: sticky; inset-inline-start: 0; z-index: 3; background: var(--bg); border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); padding: 10px 14px; display: flex; gap: 10px; align-items: center; min-height: 66px; min-width: 0; }
.fp-lane-l > div { min-width: 0; }
.fp-lane-l b { display: block; font-size: 14px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-lane-l small { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-lane-l.offers b { color: var(--gold); }
.fp-lane { position: relative; border-bottom: 1px solid var(--line); min-height: 66px; background-image: linear-gradient(to right, var(--line) 1px, transparent 1px); background-size: var(--fp-hw) 100%; }
.fp-lane.offers { background-color: var(--gold-soft); }
.fp-av.drv-ava { width: 32px; height: 32px; font-size: 12px; flex: none; }
.fp-blk { position: absolute; top: 10px; bottom: 10px; min-width: 52px; border-radius: 10px; padding: 5px 8px; font: inherit; font-size: 12px; line-height: 1.25; overflow: hidden; border: 1px solid rgba(205, 165, 91, .45); background: var(--gold-soft); color: var(--text); text-align: start; text-decoration: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s, box-shadow .2s; }
.fp-blk b { display: block; font-size: 12.5px; }
.fp-blk span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.fp-blk.live { background: var(--gold); border-color: var(--gold); color: #fff; }
.fp-blk.live span { color: #fff; opacity: .9; }
.fp-blk.done { background: var(--panel-2); border-color: var(--line); color: var(--muted); }
.fp-blk.warn { border-color: var(--fp-amb); box-shadow: inset 0 0 0 1px var(--fp-amb); }
.fp-blk.offer { background: var(--bg); border: 1.5px dashed var(--gold); }
.fp-blk.sel { box-shadow: 0 0 0 2px var(--text); z-index: 2; }
@media (hover: hover) { .fp-blk:hover { background: var(--text); color: var(--bg); border-color: var(--text); } .fp-blk:hover span { color: var(--bg); } }
.fp-now { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--fp-red); z-index: 2; pointer-events: none; }
.fp-now::before { content: attr(data-t); position: absolute; top: 9px; left: 6px; font-size: 11px; font-weight: 700; color: #fff; background: var(--fp-red); border-radius: 6px; padding: 1px 5px; }
.fp-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 10px 14px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); background: var(--panel-2); }
.fp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.fp-legend i { width: 18px; height: 10px; border-radius: 3px; display: inline-block; }
.fp-legend .l-live { background: var(--gold); }
.fp-legend .l-next { background: var(--gold-soft); border: 1px solid rgba(205, 165, 91, .45); }
.fp-legend .l-warn { border: 1px solid var(--fp-amb); box-shadow: inset 0 0 0 1px var(--fp-amb); }
.fp-legend .l-offer { border: 1.5px dashed var(--gold); }
.fp-legend .l-done { background: var(--line); }

/* Tableau des courses */
.fp-tblwrap { margin-top: 28px; }
.fp-empty { color: var(--muted); padding: 24px 4px; }
.fp-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.fp-tbl th { text-align: start; font-size: 12.5px; color: var(--muted); font-weight: 600; padding: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.fp-tbl td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fp-tbl tr.fp-r { cursor: pointer; }
.fp-tbl tr.fp-r td { transition: background .2s; }
@media (hover: hover) { .fp-tbl tr.fp-r:hover td { background: var(--panel-2); } }
.fp-tbl tr.fp-r.sel td { background: var(--gold-soft); }
.fp-tbl tr.isdone td { color: var(--muted); }
.fp-tbl td.tm b { font-size: 17px; font-weight: 800; }
.fp-tbl tr.fp-dt > td { padding: 0 0 6px; }
.fp-st { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.fp-st i { width: 8px; height: 8px; border-radius: 50%; background: var(--text); flex: none; }
.fp-st.live { color: var(--gold); }
.fp-st.live i { background: var(--gold); animation: fpPing 2s cubic-bezier(.16, 1, .3, 1) infinite; }
.fp-st.done { color: var(--muted); }
.fp-st.done i { background: var(--muted); }
@keyframes fpPing { 0% { box-shadow: 0 0 0 0 rgba(205, 165, 91, .5); } 80%, 100% { box-shadow: 0 0 0 7px transparent; } }
@media (prefers-reduced-motion: reduce) { .fp-st.live i { animation: none; } }
.fp-route { font-weight: 700; font-size: 15px; line-height: 1.3; }
.fp-arr { color: var(--gold); margin: 0 5px; font-weight: 600; }
.fp-issue { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; font-weight: 600; margin-top: 5px; color: var(--fp-amb); }
.fp-issue svg { width: 15px; height: 15px; margin-top: 2px; }
.fp-fl { font-size: 13.5px; line-height: 1.35; }
.fp-fl b { font-weight: 700; display: block; }
.fp-fl span { display: block; font-size: 12.5px; color: var(--muted); }
.fp-fl span.late { color: var(--fp-amb); font-weight: 600; }
.fp-pax { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 13.5px; }
.fp-pax > span { display: inline-flex; align-items: center; gap: 4px; }
.fp-pax svg { width: 15px; height: 15px; color: var(--muted); }
.fp-xb { background: var(--gold); color: #fff !important; border-radius: 99px; padding: 1px 8px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.fp-cl { font-weight: 600; }
.fp-pay b { display: block; font-weight: 700; font-size: 15px; }
.fp-pay small { display: block; color: var(--muted); font-size: 12.5px; }
.fp-pay.cash small { color: var(--fp-amb); font-weight: 600; }

/* Boutons « Qui conduit ? » / « Quel véhicule ? » : ouvrent le menu de l'app (tFilterMenu) */
.fp-pw { position: relative; }
.fp-pick { display: flex; align-items: center; gap: 8px; width: 100%; min-width: 160px; min-height: 40px; padding-block: 4px; padding-inline: 6px 30px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text); font: inherit; font-size: 13.5px; text-align: start; position: relative; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.fp-pick::after { content: ""; position: absolute; inset-inline-end: 12px; top: 50%; width: 7px; height: 7px; border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor; transform: translateY(-70%) rotate(45deg); opacity: .55; }
.fp-pick.veh { padding-inline-start: 12px; }
.fp-pick.warn { border-color: var(--fp-amb); }
.fp-pick:disabled { cursor: default; opacity: .7; }
.fp-pick:disabled::after { display: none; }
.fp-nm { display: block; min-width: 0; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-nm small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
@media (hover: hover) {
  .fp-pick:not(:disabled):hover { background: var(--text); color: var(--bg); border-color: var(--text); }
  .fp-pick:not(:disabled):hover .fp-nm small { color: var(--bg); opacity: .75; }
}
/* Menu de l'app : ligne de détail sous le nom (libre, occupé, trop petit) */
.tf-opt .tf-sub { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-top: 1px; }
.tf-opt .tf-sub.bad { color: #b07a1c; font-weight: 600; }

/* Détail d'une course, ouvert sous sa ligne */
.fp-detail { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 28px; padding: 20px; background: var(--panel-2); border-radius: 16px; margin: 6px 0 10px; cursor: default; }
.fp-detail h4 { margin: 0 0 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.fp-detail h4.fp-gap { margin-top: 20px; }
.fp-thread { list-style: none; margin: 0; padding: 0; position: relative; }
.fp-thread::before { content: ""; position: absolute; inset-inline-start: 57px; top: 10px; bottom: 10px; width: 2px; background: var(--gold); }
.fp-thread li { display: grid; grid-template-columns: 46px 24px 1fr; padding-bottom: 14px; }
.fp-thread li:last-child { padding-bottom: 0; }
.fp-thread time { font-weight: 700; font-size: 14px; }
.fp-thread i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--gold); background: var(--panel-2); margin: 4px 0 0 6px; position: relative; z-index: 1; }
.fp-thread li.k i { background: var(--gold); }
.fp-thread b { display: block; font-size: 14px; }
.fp-thread small { display: block; color: var(--muted); font-size: 13px; }
.fp-note { margin: 0; background: var(--bg); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.fp-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; margin: 0; }
.fp-dl dt { color: var(--muted); }
.fp-dl dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.fp-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.fp-acts .btn { display: inline-flex; align-items: center; gap: 6px; }
.fp-acts .btn svg { width: 16px; height: 16px; }

/* Ordinateur moyen */
@media (max-width: 1280px) { .fp-tbl .c-cli { display: none; } }
@media (max-width: 1080px) {
  .fp-tbl .c-pax { display: none; }
  .fp-detail { grid-template-columns: 1fr 1fr; }
  .fp-detail > :first-child { grid-column: 1 / -1; }
}

/* Téléphone : ligne de temps défilante (noms collés à gauche), tableau en lignes empilées */
@media (max-width: 999px) {
  .fp-page { --fp-hw: 64px; --fp-lw: 118px; }
  .fp-tools { gap: 10px; padding-bottom: 14px; }
  .fp-date h1 { font-size: 20px; }
  .fp-date h1 small { display: none; }
  .fp-search { margin: 0; order: 3; flex: 1 1 100%; }
  .fp-search input { width: 100%; }
  .fp-filter { margin-inline-start: 0; }   /* boutons collés à gauche sur téléphone (owner, 2026-11-29) */
  .fp-lane-l { padding: 8px 10px; }
  .fp-lane-l .fp-av { display: none; }
  .fp-tbl, .fp-tbl tbody, .fp-tbl tr, .fp-tbl td { display: block; }
  .fp-tbl thead { display: none; }
  .fp-tbl tr.fp-r { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .fp-tbl tr.fp-r td { border: 0; padding: 0; grid-column: 2; min-width: 0; }
  .fp-tbl tr.fp-r td.tm { grid-column: 1; grid-row: 1 / span 8; }
  .fp-tbl tr.fp-r td.c-cli, .fp-tbl tr.fp-r td.c-pax { display: block; }
  .fp-tbl tr.fp-dt > td { padding: 0; border: 0; }
  .fp-pick { min-width: 0; }
  .fp-detail { grid-template-columns: 1fr; gap: 20px; padding: 16px; }
}

/* « ✓ Attribuée » : à gauche du bouton, par-dessus la page, sans rien déplacer ; au-dessus du bouton sur téléphone */
.fp-ok { position: absolute; inset-inline-end: calc(100% + 8px); top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; padding: 4px 10px; border-radius: 99px; background: var(--bg); box-shadow: 0 2px 10px rgba(0, 0, 0, .12); color: #1f8a4c; font-size: 13px; font-weight: 700; pointer-events: none; z-index: 5; animation: fpOkIn .25s ease-out; }
html:not([data-theme="light"]) .fp-ok { color: #4cc282; }
.fp-ok svg { width: 15px; height: 15px; stroke-width: 2.6; }
.fp-ok.out { opacity: 0; transition: opacity .4s; }
@keyframes fpOkIn { from { opacity: 0; } }
.fp-pick.empty { border-style: dashed; border-color: var(--gold); background: var(--gold-soft); color: var(--gold); font-weight: 700; }
@media (max-width: 999px) { .fp-ok { inset-inline-end: auto; inset-inline-start: 0; top: auto; bottom: calc(100% + 4px); transform: none; } }

/* Marges : rien ne touche le bord de l'écran ; place pour la bulle d'aide et la barre du bas */
.fp-page { padding-bottom: 110px; }
@media (max-width: 999px) {
  .fp-page > .fp-tools, .fp-page > #fpBody { padding-inline: 16px; }
  .fp-tbl tr.fp-r.sel { background: var(--gold-soft); border-radius: 12px; }
  .fp-tbl tr.fp-r.sel td, .fp-tbl tr.fp-r:hover td { background: none; }
  .fp-tbl tr.fp-r.sel { padding-inline: 8px; margin-inline: -8px; }
}

/* Date de largeur fixe (« Ven 27 Nov ») : les flèches restent au même endroit d'un jour à l'autre (owner, 2026-11-23) */
.fp-date h1 { width: 9.4em; text-align: center; overflow: hidden; text-overflow: ellipsis; }
.fp-day { flex-wrap: wrap; row-gap: 8px; }   /* téléphone : le bouton Aujourd'hui passe dessous, les flèches ne bougent pas */
@media (max-width: 999px) { .fp-date h1 { font-size: 18px; } }

/* Admin (onglet Planning) : véhicule du chauffeur affiché sans menu (owner, 2026-11-23). */
.fp-veh-ro { display: block; font-weight: 600; }
.fp-veh-ro small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }

/* ---------- Réglages › Mes véhicules, design B (fleetveh.js, owner 2026-11-23) ----------
   Lignes sans cadre séparées par un filet ; photo avant, « Année Marque Modèle », plaque, état ; interrupteur « Par défaut » à droite. */
html.dt :is(#fvSec, #fleetSec) .mfg, :is(#fvSec, #fleetSec) .mfg { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; overflow: visible; }
:is(#fvSec, #fleetSec) .mfg-list { gap: 0; }
#fvSec .veh-main { margin: 0; }
#fvSec .mf-top-veh { margin-bottom: 6px; }
.fvb-hint { margin: 0 0 14px; }
html.dt :is(#fvSec, #fleetSec) .mfg-head, :is(#fvSec, #fleetSec) .mfg-head { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto 24px; gap: 16px; align-items: center; padding: 14px 6px; border: 0; border-radius: 12px; }
html.dt :is(#fvSec, #fleetSec) .mfg[open] > .mfg-head, :is(#fvSec, #fleetSec) .mfg[open] > .mfg-head { border-bottom: 0; border-radius: 12px; }
:is(#fvSec, #fleetSec) .mfg-body { background: var(--panel-2); border-radius: 16px; padding: 18px; margin: 0 0 16px; }
.fvb-th { width: 84px; height: 60px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: var(--panel-2); color: var(--muted); }
.fvb-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fvb-th.none { border: 1.5px dashed var(--line); background: none; }
.fvb-th svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fvb-t { min-width: 0; }
.fvb-t > b { display: block; font-size: 16px; font-weight: 700; line-height: 1.25; }
.fvb-l2 { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 6px; font-size: 13px; color: var(--muted); }
.fvb-plate { display: inline-flex; align-items: stretch; border: 1.5px solid #1b1b1b; border-radius: 5px; overflow: hidden; font-weight: 800; font-size: 12.5px; letter-spacing: .04em; background: #fff; color: #111; line-height: 1; }
.fvb-plate i { background: #1f4aa8; color: #fff; font-style: normal; font-size: 9px; padding: 4px 3px; display: grid; place-items: end center; }
.fvb-plate b { padding: 4px 7px; }
.fvb-def { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; position: relative; }
.fvb-def.on { color: var(--gold); }
.fvb-def input.sw { cursor: pointer; margin: 0; }
.fvb-in { display: block; padding: 0; background: none; }
.fvb-kv { display: grid; grid-template-columns: max-content 1fr; gap: 7px 18px; margin: 0 0 12px; font-size: 14px; }
.fvb-kv dt { color: var(--muted); } .fvb-kv dd { margin: 0; font-weight: 600; }
.fvb-in .fv-acts { margin: 14px 0 0; }
@media (max-width: 640px) {
  html.dt :is(#fvSec, #fleetSec) .mfg-head, :is(#fvSec, #fleetSec) .mfg-head { grid-template-columns: 64px minmax(0, 1fr) 24px; grid-template-areas: "p t c" "s s s"; row-gap: 10px; }
  .fvb-th { width: 64px; height: 46px; grid-area: p; } .fvb-t { grid-area: t; } :is(#fvSec, #fleetSec) .mfg-head .mfg-chev { grid-area: c; } .fvb-def { grid-area: s; justify-self: end; }
  :is(#fvSec, #fleetSec) .mfg-body { padding: 16px; }
  .fvb-in .fv-acts { margin-inline-start: 0; }
}

/* Intérieur d'une ligne de véhicule, comme dessiné (design B) : fiche | documents, 3 photos, actions */
.fvb-view { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; }
.fvb-view h4 { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.fvb-view .fvb-kv { margin: 0; }
.fvb-kv dd.miss { color: var(--red); font-weight: 600; }
.fvb-docs { display: flex; flex-direction: column; gap: 6px; }
.fvb-doc { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg); color: var(--text); font-size: 14px; text-decoration: none; cursor: pointer; transition: background .3s, color .3s; }
.fvb-doc svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fvb-dn { flex: 1; min-width: 0; } .fvb-dn small { display: block; color: var(--muted); font-size: 12px; }
.fvb-ds { font-size: 13px; font-weight: 600; white-space: nowrap; }
/* Colonne « expire » (design 4, owner 2026-11-24) : pièce (lien ou envoi) à gauche, fin de validité à droite. */
.fvb-xr { display: flex; align-items: center; gap: 8px; }
.fvb-xr .fvb-doc { flex: 1; min-width: 0; }
.fvb-xr .fvb-dn small.fvb-ds { font-size: 12px; white-space: normal; margin-top: 1px; }
.fvb-x { flex: none; text-align: right; padding-right: 12px; font-variant-numeric: tabular-nums; }
.fvb-x-mut { color: var(--muted); font-size: 12px; font-weight: 500; }
.fvb-exp { display: block; text-align: right; border: 0; background: none; color: var(--text); font: inherit; padding: 6px 8px; margin-right: -8px; border-radius: 10px; cursor: pointer; transition: background .3s, color .3s; }
.fvb-exp b { display: block; font-size: 14px; font-weight: 700; }
.fvb-exp small { display: block; font-size: 12px; font-weight: 600; }
.fvb-exp small.ok { color: #1f8a4c; } html:not([data-theme="light"]) .fvb-exp small.ok { color: #4cc282; }
.fvb-exp small.wait { color: var(--gold); } .fvb-exp small.bad { color: var(--red); }
.fvb-addd { border: 1px dashed var(--red); background: none; color: var(--red); font: inherit; font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 99px; cursor: pointer; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
@media (hover: hover) {
  .fvb-exp:hover { background: var(--text); color: var(--bg); }
  .fvb-exp:hover small { color: var(--bg) !important; }
  .fvb-addd:hover { background: var(--red); border-color: var(--red); border-style: solid; color: #fff; }
}
.fvb-ds.ok { color: #1f8a4c; } html:not([data-theme="light"]) .fvb-ds.ok { color: #4cc282; }
.fvb-ds.wait { color: var(--gold); } .fvb-ds.bad { color: var(--red); } .fvb-ds.muted { color: var(--muted); }
.fvb-phs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 150px)); gap: 10px; }
.fvb-ph { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; display: grid; place-items: center; text-align: center; font-size: 12.5px; color: var(--muted); border: 1.5px dashed var(--line); background: var(--bg); cursor: pointer; text-decoration: none; transition: background .3s, color .3s, border-color .3s; }
.fvb-ph.has { border: 0; }
.fvb-ph.miss { color: var(--red); border-color: var(--red); font-weight: 600; }   /* photo obligatoire manquante, en rouge comme les autres pièces (owner, 2026-11-24) */
.fvb-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fvb-ph.has span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 6px; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); color: #fff; font-weight: 600; }
.fvb-ph.busy { opacity: .6; }
.fvb-note { grid-column: 1 / -1; margin: -10px 0 0; font-size: 13px; color: var(--red); }
.fvb-acts { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
@media (hover: hover) {
  .fvb-doc:hover, .fvb-ph:not(.has):hover { background: var(--text); color: var(--bg); border-color: var(--text); }
  .fvb-doc:hover .fvb-ds, .fvb-doc:hover .fvb-dn small { color: var(--bg); }
}
/* Véhicule du profil : fiche en lecture ; « Modifier » montre les champs et pièces du dossier VTC, « Terminé » revient à la fiche */
#vehBody .mfg-body:not(.fvb-editing) > :not(.fvb-view) { display: none !important; }
#vehBody .mfg-body.fvb-editing > .fvb-view { display: none; }
#vehBody .fvb-done { display: flex; justify-content: flex-end; }
@media (max-width: 640px) {
  .fvb-view { grid-template-columns: 1fr; gap: 22px; }
  .fvb-phs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Mes chauffeurs : photo de profil ronde dans la ligne */
.fvb-th.fl-th { width: 56px; height: 56px; border-radius: 50%; justify-self: center; background: var(--gold-soft); color: var(--gold); font-weight: 700; font-size: 16px; }
@media (max-width: 640px) { .fvb-th.fl-th { width: 46px; height: 46px; } }
.fvb-kv dd { min-width: 0; overflow-wrap: anywhere; }
.fvb-l2 .mfg-chip { white-space: normal; max-width: 100%; }
@media (max-width: 640px) { .fvb-kv { grid-template-columns: minmax(0, 44%) minmax(0, 1fr); gap: 8px 12px; } }

/* ---------- Carte de la flotte en direct (owner, 2026-11-27) : bascule Planning | Carte en direct, carte + liste des chauffeurs ---------- */
.fp-views { margin: 0; flex: none; width: auto; }
.fp-views button { flex: none; padding: 8px 16px; font: inherit; font-size: 14px; transition: background-color .3s, color .3s; }
@media (hover: hover) { .fp-views button:hover, .fp-views button:not(.on):hover { background: var(--text); color: var(--bg); } }
.fp-live { display: none; }
.fp-mapmode .fp-day, .fp-mapmode .fp-search, .fp-mapmode #fpDrv, .fp-mapmode #fpBody { display: none; }
.fp-mapmode .fp-live { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.fp-lmapw { position: relative; height: calc(100dvh - 210px - var(--tabbar-h, 0px)); min-height: 420px; border-radius: 16px; overflow: hidden; background: var(--panel-2); }
.fp-lmap { position: absolute; inset: 0; }
.fp-lempty { position: absolute; z-index: 500; top: 14px; left: 50%; transform: translateX(-50%); margin: 0; padding: 8px 16px; border-radius: 99px; background: var(--bg); color: var(--text); font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, .16); }
.fp-lhead b { display: block; font-size: 18px; font-weight: 700; }
.fp-lhead small { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.fp-ll { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 4px; }
.fp-li { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 0; border-radius: 12px; background: none; color: var(--text); font: inherit; text-align: start; cursor: pointer; transition: background-color .3s, color .3s; }
.fp-li:disabled { cursor: default; }
.fp-li.off { opacity: .62; }
.fp-li .fp-av { width: 36px; height: 36px; font-size: 13px; flex: none; }
.fp-li .fp-av.s-go { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--gold); }
.fp-li .fp-av.s-at { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--text); }
.fp-li .fp-av.s-on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--green); }
.fp-lt { min-width: 0; display: grid; }
.fp-lt b { font-size: 14px; font-weight: 700; }
.fp-lt small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.fp-lt small.st-go { color: var(--gold); font-weight: 600; }
.fp-lt small.st-on { color: var(--green); font-weight: 600; }
.fp-lt small.st-at { color: var(--text); font-weight: 600; }
@media (hover: hover) { .fp-li:not(:disabled):hover { background: var(--text); color: var(--bg); } .fp-li:not(:disabled):hover small { color: var(--bg); } }
/* Repère d'un chauffeur : sa photo (ou ses initiales) cerclée de la couleur de son étape, avec une onde douce */
.leaflet-div-icon.fp-mkw { background: none; border: 0; }
.fp-mk { --c: var(--gold); position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--c), 0 8px 18px rgba(0, 0, 0, .32); }
.fp-mk.s-at { --c: #0e0f11; } .fp-mk.s-on { --c: #1f9d55; }
.fp-mk .fp-av { width: 38px; height: 38px; font-size: 14px; }
.fp-mk::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; box-shadow: 0 0 0 0 var(--c); opacity: .5; animation: fpMk 2.4s cubic-bezier(.16, 1, .3, 1) infinite; pointer-events: none; }
.fp-mk.old { filter: grayscale(1); opacity: .65; }
.fp-mk.old::after { animation: none; }
@keyframes fpMk { to { box-shadow: 0 0 0 14px var(--c); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fp-mk::after { animation: none; } }
@media (max-width: 1080px) { .fp-mapmode .fp-live { grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; } }
@media (max-width: 999px) {
  .fp-mapmode .fp-live { grid-template-columns: 1fr; gap: 20px; padding-inline: 16px; }   /* la page n'a pas de marge sur téléphone : 16 px comme la barre d'outils */
  .fp-lmapw { height: 56vh; min-height: 320px; }
  .fp-lempty { white-space: normal; width: max-content; max-width: calc(100% - 32px); text-align: center; }
}

/* Chauffeur salarié : dossier VTC en lecture seule (fleet.js fleetEmpReadOnly, owner 2026-11-28) */
.mf-ro label:has(> input[type=file]), .mf-ro [data-rmid], .mf-ro [data-del], .mf-ro .mf-up, .mf-ro .mfd-pill, .mf-ro .mfd-add, .mf-ro .mfd-acts, .mf-ro .mfd-lk { display: none !important; }
.mf-ro input:disabled, .mf-ro textarea:disabled, .mf-ro .sel-btn:disabled { opacity: 1; color: var(--text); -webkit-text-fill-color: var(--text); cursor: default; }
.fl-ro-note { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--gold-soft); color: var(--text); font-size: 14px; line-height: 1.5; }

/* Résumé du jour en haut du Planning (fpSumHtml, owner 2026-11-28) */
.fp-sum { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.fp-sumb { padding: 7px 13px; border: 0; border-radius: 11px; background: var(--panel-2); color: var(--muted); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .3s, color .3s; font-variant-numeric: tabular-nums; }
.fp-sumb.live { color: var(--gold); }
.fp-sumb.warn { background: var(--red-soft); color: var(--red); }
.fp-sumb.on { background: var(--text); color: var(--bg); }
@media (hover: hover) { .fp-sumb:not(.on):hover { background: var(--text); color: var(--bg); } }

/* Documents des salariés : expiration sur la fiche fermée (fleet.js flExpHtml, owner 2026-11-28) */
.fl-exps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.fl-exp { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.fl-exp.gone { background: var(--red-soft); color: var(--red); }
.fl-exp.soon { background: var(--gold-soft); color: var(--text); }

/* Chiffres du mois (fsDraw, owner 2026-11-28) */
.fp-stats { display: none; }
.fp-statsmode .fp-day:not(.fs-head .fp-day), .fp-statsmode .fp-tools > .fp-day, .fp-statsmode .fp-search, .fp-statsmode #fpDrv, .fp-statsmode #fpBody, .fp-statsmode .fp-live { display: none; }
.fp-statsmode .fp-stats { display: block; }
.fs-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.fs-head .fp-day { display: flex; align-items: center; gap: 8px; }
.fs-month { margin: 0; min-width: 190px; text-align: center; font-size: 22px; }
.fs-tot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
.fs-tot > div { padding: 14px 16px; border-radius: 14px; background: var(--panel-2); }
.fs-tot span { display: block; font-size: 13px; color: var(--muted); }
.fs-tot b { display: block; margin-top: 4px; font-size: 22px; font-variant-numeric: tabular-nums; }
.fs-h { margin: 8px 0 10px; font-size: 16px; }
.fs-tbl { width: 100%; border-collapse: collapse; margin-bottom: 26px; font-size: 14px; font-variant-numeric: tabular-nums; }
.fs-tbl th { text-align: right; font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 0 10px 10px; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
.fs-tbl th:first-child, .fs-tbl td.nm { text-align: left; padding-left: 0; }
.fs-tbl td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.fs-tbl td.nm { white-space: normal; }
.fs-tbl td.warn { color: var(--red); font-weight: 700; }
.fs-who { display: inline-flex; align-items: center; gap: 10px; }
.fs-who b { font-weight: 700; }
.fs-note { margin-top: -10px; }
@media (max-width: 999px) {
  .fs-tot { grid-template-columns: 1fr; gap: 8px; }
  .fs-month { min-width: 0; font-size: 19px; }
  .fs-tbl thead { display: none; }
  .fs-tbl tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .fs-tbl td { padding: 0; border: 0; text-align: left; display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; }
  .fs-tbl td.nm { grid-column: 1 / -1; margin-bottom: 4px; }
  .fs-tbl td.n::before { content: attr(data-l); color: var(--muted); }
  .fp-statsmode .fp-stats { padding-inline: 16px; }
}

/* Disponibilités et congés (faOpen, owner 2026-11-28) */
.fp-lane.fp-absent { background: repeating-linear-gradient(135deg, transparent 0 8px, var(--panel-2) 8px 16px); }
.fp-absb, .fl-absb { display: inline-flex; align-items: center; gap: 8px; }
.fp-absb svg, .fl-absb svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fl-absb { margin-top: 14px; }
.fa-dialog { max-width: 520px; }
.fa-dialog h2 { margin: 0 0 4px; }
.fa-list { list-style: none; margin: 14px 0 18px; padding: 0; display: flex; flex-direction: column; }
.fa-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fa-list li.fa-empty { color: var(--muted); font-size: 14px; border: 0; }
.fa-k { flex: none; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--gold-soft); color: var(--text); }
.fa-k.malade { background: var(--red-soft); color: var(--red); }
.fa-k.indispo { background: var(--panel-2); color: var(--muted); }
.fa-tx { flex: 1; min-width: 0; }
.fa-tx b { display: block; font-size: 14.5px; }
.fa-tx small { display: block; color: var(--muted); font-size: 13px; }
.fa-form h3 { margin: 0 0 12px; font-size: 15px; }
.fa-form .f + .f, .fa-form .two + .f, .fa-form .f + .two { margin-top: 14px; }
.fa-form .btns { margin-top: 16px; display: flex; gap: 10px; justify-content: flex-end; }

/* Messages à l'équipe (viewTeamChat, owner 2026-11-28) */
.tc-page .chat-head { display: flex; align-items: center; gap: 10px; }
.tc-ico, .dc-team-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--gold); }
.tc-ico svg, .dc-team-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tc-hd { display: flex; flex-direction: column; min-width: 0; }
.tc-hd small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-who { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 700; color: var(--gold); }
.dc-team { margin-top: 10px; }

.clw .tc-ico { width: 40px; height: 40px; }
.clw .clw-big.tc-ico { width: 44px; height: 44px; }

/* Haut de page commun (phHtml, owner 2026-11-29) : date en titre + vues + icônes Absences / Tableau de la semaine ; ligne 2 : chauffeur + compteurs */
.fp-page > .fp-tools { display: block; padding-block: 0; }
.fp-tools .ph .fp-day { gap: 10px; }
.fp-tools .ph .fp-day .fp-ib { width: 40px; height: 40px; }
.fp-tools .ph .fp-date h1 { margin: 0; font-size: 24px; }
.fp-tools .ph .fp-views { height: 40px; }
.fp-ptitle { display: none; }
.fp-row2 .fp-filter { height: 40px; flex: none; display: inline-flex; align-items: center; gap: 8px; }
.fp-row2 .fp-sum { display: flex; gap: 10px; margin: 0; padding: 0; flex-wrap: nowrap; }
.fp-row2 .fp-sumb { height: 40px; }
.fp-row2 > .filters:empty { display: none; }
.fp-mapmode .fp-row2, .fp-statsmode .fp-row2 { display: none; }
@media (max-width: 999px) {   /* téléphone : « Planning » et ses icônes, puis les vues, puis la date, puis les filtres */
  .fp-tools .ph { flex-wrap: wrap; row-gap: 14px; }
  .fp-ptitle { display: block; flex: 1; }
  .fp-tools .ph > .fp-views { order: 2; flex-basis: 100%; display: flex; }
  .fp-tools .ph > .fp-views button { flex: 1; padding-inline: 6px; }
  .fp-tools .ph > .fp-day { order: 3; flex-basis: 100%; justify-content: space-between; }
  .fp-tools .ph > .ph-acts { order: 1; }
  .fp-row2 { overflow-x: auto; scrollbar-width: none; }
  /* flèches et date sur une seule ligne (owner, 2026-11-30) */
  .fp-tools .ph > .fp-day { flex-wrap: nowrap; gap: 8px; }
  .fp-tools .ph .fp-day > * { flex: none; }
  .fp-tools .ph .fp-day > .fp-date { flex: 1 1 0; min-width: 0; padding-inline: 0; }
  .fp-tools .ph .fp-date h1 { width: auto; font-size: 20px; }
  /* filtre chauffeur en haut, à gauche des icônes Absences / Tableau */
  .fp-tools .ph-acts .fp-filter { height: 40px; max-width: 150px; display: inline-flex; align-items: center; gap: 8px; margin: 0; }
  .fp-tools .ph-acts .fp-filter span { overflow: hidden; text-overflow: ellipsis; }
  .fp-row2:not(:has(.filters:not(:empty))) { display: none; }
}
.fp-row2 .fp-sumb { flex: none; white-space: nowrap; }
/* Carte en direct sur ordinateur (owner, 2026-11-30) : liste des chauffeurs à gauche, à 20 px de la colonne de gauche comme les autres
   pages, carte à droite jusqu'au bord de la fenêtre. SEULE page autorisée à dépasser les 1500 px (règle « écrans de 1500 px au plus »). */
@media (min-width: 1000px) {
  .fp-mapmode .fp-live { grid-template-columns: 300px minmax(0, 1fr); }
  .fp-mapmode .fp-lside { order: -1; }
}
@media (min-width: 1000px) and (max-width: 1080px) { .fp-mapmode .fp-live { grid-template-columns: 260px minmax(0, 1fr); } }
@media (min-width: 1000px) {
  #app:has(> .tabs.mode-tabs):has(.fp-mapmode) { max-width: none; }
  #app:has(> .tabs.mode-tabs) > .wrap.wide.fp-page.fp-mapmode { max-width: none; padding-inline-end: 0; }
  .fp-mapmode .fp-tools { padding-inline-end: 20px; }   /* icônes du haut au-dessus du bord droit de la carte */
  .fp-mapmode .fp-lmapw { border-start-end-radius: 0; border-end-end-radius: 0; }
  body:has(.fp-mapmode) { --edge-r: 28px; }   /* bulle des messages au bord de la fenêtre, sur la carte */
}

/* Planning, design 3 « Bande d'ajout » (owner, 2026-12-01, design-lab/planning-ajouter-chauffeur-3-designs.html) : bande dorée
   « Ajouter un chauffeur » sous le dernier chauffeur (admin), puis, un jour sans course, lignes vides blanc / gris très clair
   jusqu'en bas de la fenêtre (hauteur : fpFill), traits d'heure atténués, « Aucune course ce jour-là » au milieu. */
.fp-plan { position: relative; }
.fp-addrow { grid-column: 1 / -1; position: relative; z-index: 3; background: var(--gold-soft); border-bottom: 1px solid var(--line); min-height: 54px; display: flex; align-items: center; }
.fp-addbtn { position: sticky; inset-inline-start: 0; display: inline-flex; align-items: center; gap: 14px; padding: 8px 14px; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: start; }
.fp-addpl { display: inline-flex; align-items: center; gap: 8px; background: var(--text); color: var(--bg); border-radius: 99px; padding: 7px 14px 7px 11px; font-weight: 700; font-size: 13px; white-space: nowrap; transition: background .3s, color .3s, box-shadow .3s; }
.fp-addpl svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.fp-addbtn small { color: color-mix(in srgb, var(--gold) 55%, var(--text)); font-size: 12.5px; font-weight: 600; }
@media (hover: hover) { .fp-addbtn:hover .fp-addpl { background: var(--bg); color: var(--text); box-shadow: inset 0 0 0 1px var(--text); } }
.fp-addbtn:focus-visible { outline: none; } .fp-addbtn:focus-visible .fp-addpl { box-shadow: 0 0 0 2px var(--gold); }
.fp-fill-l, .fp-fill-r { height: 132px; background-image: repeating-linear-gradient(to bottom, var(--bg) 0 66px, color-mix(in srgb, var(--panel-2) 45%, var(--bg)) 66px 132px); }
.fp-fill-l { position: sticky; inset-inline-start: 0; z-index: 3; border-inline-end: 1px solid var(--line); }
.fp-fill-r { background-image: linear-gradient(to right, color-mix(in srgb, var(--line) 70%, transparent) 1px, transparent 1px), repeating-linear-gradient(to bottom, var(--bg) 0 66px, color-mix(in srgb, var(--panel-2) 45%, var(--bg)) 66px 132px); background-size: var(--fp-hw) 100%, 100% 100%; }
@media (max-width: 640px) { .fp-addbtn small { display: none; } }
@media (min-width: 1000px) { html body #app .wrap.fp-page:has(.fp-fill-r) { padding-bottom: 0; } }   /* lignes vides jusqu'en bas : plus de marge sous la page, pas de défilement pour rien (fpFill garde 16 px) */
/* Vue Planning (ligne de temps) jusqu'au bord de la fenêtre (owner, 2026-12-01 : « same for right side, stick to browser ») :
   3e exception à la règle « écrans de 1500 px au plus », après la carte et les écrans liste + fiche. La page commence à 20 px de
   la colonne de gauche et s'arrête à 20 px du bord de la fenêtre (gauche en arabe) ; bulle des messages et bandeaux du haut suivent. */
@media (min-width: 1000px) {
  #app:has(> .tabs.mode-tabs):has(> .wrap.fp-page:not(.fp-statsmode):not(.fp-mapmode) .fp-plan) { max-width: none; }
  #app:has(> .tabs.mode-tabs) > .wrap.wide.fp-page:not(.fp-statsmode):not(.fp-mapmode):has(.fp-plan) { max-width: none; }
  body:has(.fp-page:not(.fp-statsmode):not(.fp-mapmode) .fp-plan) { --edge-r: 28px; }
  html.dt body:has(.fp-page:not(.fp-statsmode):not(.fp-mapmode) .fp-plan):not(.fp-x) :is(.push-bar, .install-bar) { max-width: none; margin-inline-end: 20px; }
}
/* Clic sur une case vide = nouveau transfert à cette heure, avec ce chauffeur (fpSlotBind, owner 2026-12-01). */
.fp-lane[data-slot], .fp-fill-r[data-slot] { cursor: pointer; }
.fp-fill-r { position: relative; }
.fp-lane.fp-slot-no, .fp-fill-r.fp-slot-no { cursor: default; }
.fp-ghost { position: absolute; top: 6px; bottom: 6px; width: calc(var(--fp-hw) - 4px); z-index: 1; display: flex; align-items: center; justify-content: center; border: 1.5px dashed var(--gold); border-radius: 8px; background: var(--gold-soft); color: var(--gold); font-size: 12px; font-weight: 700; white-space: nowrap; pointer-events: none; }
.fp-ghost[hidden] { display: none; }
/* Viseur sous la souris : ligne du chauffeur + colonne du quart d heure, nom et heure en doré (fpCross, owner 2026-12-01). */
.fp-xrow, .fp-xcol { position: absolute; z-index: 2; pointer-events: none; background: color-mix(in srgb, var(--gold) 8%, transparent); }
.fp-xrow { left: 0; right: 0; }
.fp-xcol { top: 0; bottom: 0; width: calc(var(--fp-hw) / 4); border-inline-start: 1.5px solid color-mix(in srgb, var(--gold) 70%, transparent); }
.fp-xrow[hidden], .fp-xcol[hidden] { display: none; }
.fp-lane-l.fp-xon { background: color-mix(in srgb, var(--gold) 12%, var(--bg)); box-shadow: inset 3px 0 0 var(--gold); }
.fp-lane-l.fp-xon b { color: var(--gold); }
.fp-fill-l.fp-xon::after { content: ""; position: absolute; left: 0; right: 0; top: var(--fp-xr, 0); height: 66px; background: color-mix(in srgb, var(--gold) 12%, transparent); box-shadow: inset 3px 0 0 var(--gold); }
.fp-hours span.fp-xon { color: var(--gold); font-weight: 700; }
/* Détail d'une course du Planning : boutons en bas à gauche, sous le trajet (Modifier, Voir dans Transferts, Appeler ; owner 2026-12-01). */
.fp-detail > .fp-dacts { grid-column: 1 / -1; margin-top: 0; justify-content: flex-start; }
/* Carte du Planning : une couleur par chauffeur (contour de la photo, trajet), étiquette « il y a 10 s » au-dessus (owner, 2026-12-01). */
.fp-mk { background: #fff; box-shadow: 0 0 0 3px var(--c), 0 8px 18px rgba(0, 0, 0, .32); }
.fp-mk .fp-av:has(img) { background-color: #fff; }
.fp-li .fp-av.fp-ring { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--c); }
.leaflet-tooltip.fp-mk-tip { background: #fff; color: #0e0f11; border: 0; border-radius: 99px; padding: 2px 8px; font-size: 11px; font-weight: 600; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.leaflet-tooltip.fp-mk-tip::before { display: none; }
.fp-mk .fp-av img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }   /* Leaflet remettait l'image à sa taille (192 px) : rond blanc vide */
