/* Planning de la société : fleet.vipazur.fr (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 { 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(177, 149, 64, .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(177, 149, 64, .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(177, 149, 64, .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: 760px) {
  .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: auto; }
  .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: 760px) { .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: 760px) {
  .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: 760px) { .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; }
.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 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; } }
