/* V202 — Dossiers clients : liste, tableau de saisie ligne par ligne, calendrier du mois, tiroir de la ligne. */
:root {
  /* Palette du fichier : couleurs écrites en dur remplacées par ces variables (mêmes valeurs). */
  --c-amber-27: #8a5a00;
  --c-amber-92-h40: #fff1d6;
  --c-blue-48: #1d4ed8;
  --c-gray-14: #1f2328;
  --c-gray-40: #5b6470;
  --c-gray-64: #9aa3ae;
  --c-gray-85: #d5d9df;
  --c-gray-94-eef0f3: #eef0f3;
  --c-gray-95: #eef2f8;
  --c-gray-95-f1f3f6: #f1f3f6;
  --c-gray-97: #f7f8fa;
  --c-orange-37: #b45309;
  --c-red-40: #b42318;
  --c-white: #fff;
}
.fg-board {
  max-width: none;
}
/* ----- calendrier du mois (jours avec course entourés) ----- */
.fc {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 10px;
  width: 100%;
  max-width: 280px;
}
.fc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.fc-nav strong {
  text-transform: capitalize;
  font-size: 15px;
}
.fc-nav button {
  border: 0;
  background: var(--c-gray-95-f1f3f6);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  font-size: 18px;
  cursor: pointer;
}
.fc-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}
.fc-wd {
  font-size: 11px;
  font-weight: 600;
  color: var(--c-muted);
  padding: 2px 0;
}
.fc-day {
  border: 0;
  background: none;
  padding: 2px 0;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--c-gray-14);
}
.fc-day span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid transparent;
}
.fc-day.has span {
  border-color: var(--c-navy);
  font-weight: 700;
}
.fc-day.today span {
  background: #fdf3dc;
}
.fc-day.sel span {
  background: var(--c-navy);
  color: var(--c-white);
}
.fc-day:hover span {
  background: #eef1f5;
}
.fc-day.sel:hover span {
  background: var(--c-navy);
}
.fc-clear {
  margin-top: 6px;
  width: 100%;
  border: 1px solid var(--c-line);
  background: var(--c-white);
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
}
/* ----- écran du dossier ----- */
.fg {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.fg-main {
  min-width: 0;
}
.fg-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 8px;
}
.fg-sum {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 12px;
  font-size: 14px;
}
.fg-sum > div {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
}
.fg-sum p {
  margin: 8px 0 0;
  font-size: 13px;
}
.fg-warn,
.fl-warn {
  color: #9a5b00;
}
.fg-head {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.fg-head label,
.fg-client label,
.fg-num span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--c-muted);
}
.fg-num {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fg-num b {
  height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--c-navy);
  color: var(--c-white);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.fg-head input,
.fg-head select {
  height: 44px;
  border: 1px solid var(--c-gray-85);
  border-radius: 10px;
  padding: 0 12px;
  font: inherit;
  font-size: 15px;
  color: var(--c-gray-14);
  background: var(--c-white);
}
.fg-client {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fg-client input {
  width: 280px;
}
.fg-name input {
  width: 300px;
}
.fg-sugg {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  box-shadow: 0 10px 30px #0002;
  min-width: 100%;
  max-height: 320px;
  overflow: auto;
}
.fg-sugg button,
.fg-drop button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 9px 12px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.fg-sugg button:hover,
.fg-sugg button:focus,
.fg-drop button.on,
.fg-drop button:hover {
  background: var(--c-gray-95);
  outline: none;
}
.fg-sugg small,
.fg-drop small {
  color: var(--c-muted);
}
.fg-sugg p {
  margin: 0;
  padding: 10px 12px;
}
.fg-grow {
  flex: 1;
}
.fg-save {
  font-size: 13px;
  color: var(--c-success);
  align-self: center;
}
.fg-accept {
  height: 44px;
  border: 0;
  border-radius: 10px;
  padding: 0 18px;
  background: var(--c-navy);
  color: var(--c-white);
  font-weight: 600;
  cursor: pointer;
}
.fg-msg {
  color: var(--c-danger);
  margin: 4px 0 8px;
  min-height: 0;
}
.fg-msg:empty {
  display: none;
}
/* ----- tableau ----- */
.fg-scroll {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  overflow-x: auto;
}
.fg-table {
  min-width: 1280px;
}
.fg-row {
  display: grid;
  grid-template-columns: 72px 140px 108px 70px 70px 132px minmax(250px, 1fr) 176px 100px 96px 44px;
  align-items: stretch;
  min-height: 46px;
  background: var(--c-white);
  border-bottom: 1px solid #e6e9ee;
}
.fg-row.odd {
  background: #f1f3f5;
}
.fg-row > * {
  border-right: 1px solid var(--c-gray-64);
  padding: 4px 6px;
  display: flex;
  align-items: center;
  min-width: 0;
}
.fg-row > *:last-child {
  border-right: 0;
}
.fg-headrow {
  min-height: 38px;
  background: var(--c-gray-97) !important;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-gray-40);
  position: sticky;
  top: 0;
  z-index: 2;
}
.fg-ref b {
  font-variant-numeric: tabular-nums;
}
.fg-in,
.fg-type {
  width: 100%;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  padding: 0 6px;
  font: inherit;
  font-size: 14px;
  color: inherit;
  font-variant-numeric: tabular-nums;
}
.fg-in:hover:not(:disabled) {
  border-color: var(--c-gray-85);
}
.fg-in:focus,
.fg-type:focus {
  outline: 2px solid var(--c-blue-bright);
  outline-offset: -1px;
  background: var(--c-white);
}
.fg-in.bad {
  border-color: var(--c-danger);
  background: #fff3f2;
}
.fg-type {
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  padding: 0 10px;
  cursor: pointer;
}
.fg-type:disabled,
.fg-in:disabled {
  opacity: 1;
  cursor: default;
}
.fg-route {
  gap: 2px;
  flex-wrap: nowrap;
}
.fg-route .fg-place {
  flex: 1 1 0;
  min-width: 60px;
  text-overflow: ellipsis;
}
.fg-route .fg-place:focus {
  flex-grow: 3;
}
.fg-arrow {
  color: var(--c-muted);
}
.fg-addstep {
  border: 1px dashed #b7bfca;
  background: none;
  border-radius: 6px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  color: var(--c-muted);
}
.fg-car {
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fg-muted {
  color: #8a94a3;
}
.fg-drv {
  font-size: 13px;
  white-space: nowrap;
}
.fg-drv a {
  font-weight: 600;
}
.fg-rst {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--c-gray-94-eef0f3);
  white-space: nowrap;
}
.rst-draft {
  background: var(--c-gray-94-eef0f3);
  color: #4b5563;
}
.rst-pending_dispatch {
  background: var(--c-amber-92-h40);
  color: var(--c-amber-27);
}
.rst-available,
.rst-assigned {
  background: #e3edff;
  color: var(--c-blue-48);
}
.rst-in_progress {
  background: #e7f6ec;
  color: #1f7a45;
}
.rst-completed {
  background: #dff3e6;
  color: #166534;
}
.rst-cancelled {
  background: #fde8e7;
  color: var(--c-red-40);
}
.fg-err {
  margin-left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-danger);
  color: var(--c-white);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fg-open {
  width: 34px;
  height: 34px;
  border: 1px solid var(--c-gray-85);
  border-radius: 8px;
  background: var(--c-white);
  font-size: 20px;
  cursor: pointer;
}
.fg-row.is-off {
  opacity: 0.35;
}
.fg-row.is-ro .fg-in,
.fg-row.is-ro .fg-type {
  pointer-events: none;
}
.fg-foot {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}
.fg-add {
  height: 40px;
  border: 1px dashed var(--c-gray-64);
  background: var(--c-white);
  border-radius: 10px;
  padding: 0 16px;
  font-weight: 600;
  cursor: pointer;
}
.fg-keys {
  font-size: 13px;
}
/* ----- listes flottantes ----- */
.fg-drop {
  position: fixed;
  z-index: 60;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  box-shadow: 0 10px 30px #0002;
  max-height: 300px;
  overflow: auto;
  max-width: 560px;
}
.fg-pop {
  position: fixed;
  z-index: 61;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  box-shadow: 0 16px 40px #0003;
  display: flex;
  flex-direction: column;
  max-height: 420px;
}
.fp-crumbs {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px;
  border-bottom: 1px solid var(--c-line);
  flex-wrap: wrap;
  font-size: 13px;
}
.fp-crumbs button {
  border: 0;
  background: none;
  padding: 4px 6px;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
}
.fp-crumbs button.on {
  background: var(--c-navy);
  color: var(--c-white);
}
.fp-crumbs span {
  color: var(--c-muted);
}
.fp-body {
  padding: 8px;
  overflow: auto;
  flex: 1;
}
.fp-filter,
.fp-reg input {
  width: 100%;
  height: 38px;
  border: 1px solid var(--c-gray-85);
  border-radius: 8px;
  padding: 0 10px;
  font: inherit;
  margin-bottom: 6px;
}
.fp-list {
  display: flex;
  flex-direction: column;
}
.fp-list button,
.fp-skip {
  text-align: left;
  border: 0;
  background: none;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}
.fp-list button:hover,
.fp-list button:focus,
.fp-list button.on {
  background: var(--c-gray-95);
  outline: none;
}
.fp-list small {
  color: var(--c-muted);
}
.fp-skip {
  color: var(--c-muted);
  margin-top: 4px;
}
.fp-h {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-muted);
  margin: 2px 0 4px;
}
.fp-reg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  margin-top: 8px;
}
.fp-foot {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-top: 1px solid var(--c-line);
}
.fp-foot span {
  flex: 1;
}
.fp-foot button {
  height: 36px;
  border-radius: 8px;
  padding: 0 14px;
  border: 1px solid var(--c-gray-85);
  background: var(--c-white);
  cursor: pointer;
}
.fp-foot .fp-ok {
  background: var(--c-navy);
  color: var(--c-white);
  border-color: var(--c-navy);
}
/* ----- tiroir de la ligne ----- */
.fg-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--c-white);
  box-shadow: -12px 0 40px #0003;
  z-index: 70;
  padding: 18px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fg-drawer[hidden] {
  display: none;
}
.fd-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fd-ref {
  font-size: 20px;
  font-weight: 700;
  margin-right: 8px;
}
.fd-type {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.fd-close {
  border: 0;
  background: var(--c-gray-95-f1f3f6);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  font-size: 20px;
  cursor: pointer;
}
.fd-when {
  margin: 0;
  color: var(--c-muted);
}
.fg-drawer section {
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fg-drawer h4 {
  margin: 0;
}
.fd-amount {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.fd-amount small {
  font-size: 12px;
  font-weight: 400;
  color: var(--c-muted);
}
.fg-drawer label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--c-muted);
}
.fg-drawer input,
.fg-drawer textarea {
  border: 1px solid var(--c-gray-85);
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  color: var(--c-gray-14);
}
.fd-manual {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.fd-manual label {
  flex: 1;
}
.fg-drawer button:not(.fd-close) {
  height: 38px;
  border-radius: 8px;
  padding: 0 14px;
  border: 1px solid var(--c-gray-85);
  background: var(--c-white);
  cursor: pointer;
  font-weight: 600;
}
.fg-drawer button.fd-calc {
  background: var(--c-navy);
  color: var(--c-white);
  border-color: var(--c-navy);
}
.fd-dup {
  flex-direction: row !important;
  align-items: center;
  gap: 6px !important;
}
.fd-dupn {
  width: 64px;
}
.fd-del {
  color: var(--c-danger) !important;
}
/* ----- liste des dossiers ----- */
.fl-top {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.fl-q {
  flex: 1 1 260px;
}
.fl-top input,
.fl-top select {
  height: 42px;
  border: 1px solid var(--c-gray-85);
  border-radius: 10px;
  padding: 0 12px;
  font: inherit;
}
.fl-new {
  height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--c-navy);
  color: var(--c-white);
  font-weight: 600;
  text-decoration: none;
}
.fl-list {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  overflow: hidden;
}
.fl-row {
  display: grid;
  grid-template-columns: 80px 1.3fr 1.3fr 1.2fr 80px 140px 120px;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #eceff3;
  color: inherit;
  text-decoration: none;
  align-items: center;
}
.fl-row:nth-child(even) {
  background: #f6f7f9;
}
.fl-row:hover {
  background: var(--c-gray-95);
}
.fl-head {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--c-muted);
  background: var(--c-gray-97) !important;
}
.fst {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  justify-self: start;
  background: var(--c-gray-94-eef0f3);
}
.fst-quote {
  background: var(--c-amber-92-h40);
  color: var(--c-amber-27);
}
.fst-active {
  background: #e3edff;
  color: var(--c-blue-48);
}
.fst-done {
  background: #dff3e6;
  color: #166534;
}
.fst-invoiced {
  background: #ece7fb;
  color: #5b21b6;
}
.fst-refused {
  background: #fde8e7;
  color: var(--c-red-40);
}
.fl-settings {
  margin-top: 16px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 12px 14px;
}
.fl-settings summary {
  font-weight: 600;
  cursor: pointer;
}
.fl-num-form {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-top: 10px;
}
.fl-num-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}
.fl-num-form p {
  flex-basis: 100%;
  margin: 0;
}
.fl-type {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.fl-type input[type='text'] {
  flex: 1 1 200px;
}
.fl-type input[type='color'] {
  width: 44px;
  height: 36px;
  padding: 2px;
}
.fl-settings input,
.fl-settings select,
.fl-settings button {
  height: 38px;
  border: 1px solid var(--c-gray-85);
  border-radius: 8px;
  padding: 0 10px;
  font: inherit;
  background: var(--c-white);
}
.fl-act {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}
.fl-act input {
  height: auto;
}
/* ----- dossiers dans la fiche client et calendrier des réservations ----- */
.cf-folders .fl-row {
  grid-template-columns: 80px 1.4fr 1.2fr 70px 120px 110px;
}
.rr-cal {
  margin-bottom: 10px;
}
@media (max-width: 1000px) {
  .fg {
    grid-template-columns: minmax(0, 1fr);
  }
  .fg-side {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .fg-client input,
  .fg-name input {
    width: min(100%, 300px);
  }
  .fl-row {
    grid-template-columns: 70px 1fr 110px;
  }
  .fl-row > :nth-child(3),
  .fl-row > :nth-child(4),
  .fl-row > :nth-child(5) {
    display: none;
  }
}
/* ----- bouton « Nouveau dossier » de l'en-tête, à côté de « Nouvelle réservation » ----- */
header #new-folder-top {
  margin-right: auto;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 10px;
  border: 1px solid var(--theme-accent, #b68b28);
  background: var(--theme-surface, #fff);
  color: var(--theme-text, var(--c-navy));
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
header #new-folder-top[hidden] {
  display: none;
}
header #new-booking-top:has(+ #new-folder-top:not([hidden])),
html[data-skin='corporate'] header #new-booking-top:has(+ #new-folder-top:not([hidden])) {
  margin-right: 8px;
}
html[data-skin='corporate'] header #new-folder-top {
  border-radius: 12px;
  border-color: var(--theme-accent);
}
@media (max-width: 520px) {
  header #new-booking-top:not([hidden]),
  header #new-folder-top:not([hidden]),
  html[data-skin='corporate'] header #new-booking-top:not([hidden]),
  html[data-skin='corporate'] header #new-folder-top:not([hidden]) {
    padding: 4px 8px;
    font-size: 0.78rem;
    line-height: 1.15;
    white-space: normal;
    max-width: 96px;
    min-height: 36px;
  }
}
/* Cases du tableau : compactes quel que soit l'habillage (le thème « corporate » agrandit tous les champs). */
.fg-table .fg-in,
.fg-table .fg-type {
  min-height: 34px !important;
  height: 34px;
  border-radius: 8px !important;
  padding: 0 6px !important;
  font-size: 14px !important;
}
.fg-table .fg-type {
  border-radius: 999px !important;
  padding: 0 8px !important;
  font-size: 13px !important;
}
.fg-ref b {
  white-space: nowrap;
  font-size: 15px;
}
.cf-folders {
  margin-top: 14px;
}
.cf-folders-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cf-folders-top button {
  border: 1px solid var(--c-gray-85);
  background: var(--c-white);
  border-radius: 8px;
  padding: 6px 12px;
  font-weight: 600;
  cursor: pointer;
}
.cf-folders .fl-row {
  padding: 8px 10px;
  font-size: 14px;
}
/* Calendrier : boutons neutres, quel que soit l'habillage de la page qui l'accueille (Réservations, thème « corporate »). */
.fc button {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
  height: auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 2px 0 !important;
  border-radius: 0 !important;
  color: var(--c-gray-14) !important;
  font: inherit !important;
  font-size: 13px !important;
}
.fc .fc-nav button {
  background: var(--c-gray-95-f1f3f6) !important;
  border-radius: 8px !important;
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  font-size: 18px !important;
}
.fc .fc-clear {
  border: 1px solid var(--c-line) !important;
  background: var(--c-white) !important;
  border-radius: 8px !important;
  padding: 6px !important;
  width: 100% !important;
  margin-top: 6px !important;
}
.fc .fc-day.sel span {
  color: var(--c-white);
}
/* Réservations : le calendrier se place en haut à gauche, la barre d'outils et la recherche à sa droite. */
@media (min-width: 900px) {
  .reservation-list-panel > .rr-cal {
    float: left;
    width: 280px;
    margin: 0 20px 12px 0;
  }
  .reservation-list-panel > .rr-cal ~ #sel-bar,
  .reservation-list-panel > .rr-cal ~ #sel-result,
  .reservation-list-panel > .rr-cal ~ #booking-list {
    clear: both;
  }
}
.fg-sugg .fg-newclient {
  border-top: 1px solid var(--c-line);
  font-weight: 600;
  color: var(--c-navy);
}
/* Types de service : chaque type dans sa couleur, ajout sur place */
.fg-table button.fg-type {
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 0 !important;
}
.ft-list button {
  padding: 4px 6px !important;
}
.ft-chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.ft-list button[aria-selected='true'] {
  background: var(--c-gray-95);
}
.ft-new {
  width: 100%;
  border-top: 1px solid var(--c-line) !important;
  font-weight: 600;
  color: var(--c-navy) !important;
}
.ft-add {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 6px;
  margin-top: 8px;
  border-top: 1px solid var(--c-line);
  padding-top: 8px;
}
.ft-add input,
.ft-add select,
.ft-add button {
  height: 36px;
  border: 1px solid var(--c-gray-85);
  border-radius: 8px;
  padding: 0 8px;
  font: inherit;
  font-size: 14px;
}
.ft-add input[type='color'] {
  padding: 2px;
}
.ft-add select,
.ft-add button,
.ft-add p {
  grid-column: 1 / -1;
}
.ft-add button {
  background: var(--c-navy);
  color: var(--c-white);
  font-weight: 600;
  cursor: pointer;
}
.ft-add p {
  margin: 0;
  color: var(--c-danger);
  font-size: 13px;
}
.ft-row {
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 8px;
}
.ft-row > [data-type] {
  flex: 1;
  text-align: left;
}
.ft-row.is-edit {
  background: #fdf3dc;
}
.ft-edit {
  border: 0 !important;
  background: none !important;
  width: 30px !important;
  height: 30px !important;
  min-height: 0 !important;
  border-radius: 6px !important;
  color: var(--c-muted) !important;
  cursor: pointer;
  opacity: 0.6;
}
.ft-row:hover .ft-edit,
.ft-edit:focus {
  opacity: 1;
  background: var(--c-gray-95) !important;
}
.ft-hint {
  margin: 4px 6px 0;
  font-size: 12px;
  color: var(--c-muted);
}
.ft-add .ft-cancel {
  background: var(--c-white);
  color: inherit;
}
/* Carnet de passagers dans la case Client / passager */
.fg-paxc {
  gap: 2px;
}
.fg-paxc .fg-paxn {
  flex: 1;
  min-width: 0;
}
.fg-book {
  border: 0 !important;
  background: none !important;
  width: 26px !important;
  min-height: 0 !important;
  height: 26px !important;
  padding: 0 !important;
  font-size: 14px;
  cursor: pointer;
  opacity: 0.55;
}
.fg-book:hover {
  opacity: 1;
}
.fg-drop .fg-paxadd {
  border-top: 1px solid var(--c-line);
  font-weight: 600;
  color: var(--c-navy);
}
/* Devis du dossier */
.fg-send {
  height: 44px;
  border: 0;
  border-radius: 10px;
  padding: 0 18px;
  background: var(--c-gold-dark);
  color: var(--c-white);
  font-weight: 700;
  cursor: pointer;
}
.fg-send.is-stale {
  background: var(--c-orange-37);
}
.fg-quote {
  align-self: center;
  font-size: 13px;
  color: var(--c-muted);
}
.fg-quote b {
  color: var(--c-orange-37);
}
.fg-head .fg-accept {
  background: var(--c-white);
  color: var(--c-navy);
  border: 1px solid var(--c-gray-85);
}
