/* Lot B9 (22/10) : achats et entrée d'une voiture, en ligne (jetons du recadrage du 21/10, aucune taille en dur
   hors grille de 4 px). Simulateur : « Frais et marge visée », note et rotation ; factures d'achat ; ajout ;
   « Créer la fiche stock » d'une reprise. */
.s15-frais { background: hsl(var(--ap-carte)); border: 1px solid hsl(var(--ap-trait)); border-radius: var(--ap-r-m); padding: var(--ap-e2) var(--ap-e3); }
.s15-frais summary { font-size: var(--ap-t-m); font-weight: var(--ap-g-titre); }
.s15-note { margin: 0; }
.fa-filtre { margin: var(--ap-e2) 0; }
.fa-cherche { height: var(--ap-h-ctrl); width: min(100%, 360px); padding: 0 var(--ap-e2); border: 1px solid hsl(var(--ap-trait)); border-radius: var(--ap-r-s); font: inherit; font-size: var(--ap-t-m); }
.fa-prix { display: inline-flex; align-items: center; gap: var(--ap-e1); }
.fa-prix input { width: 120px; height: var(--ap-h-ctrl); text-align: right; padding: 0 var(--ap-e2); border: 1px solid hsl(var(--ap-trait)); border-radius: var(--ap-r-s); font: inherit; font-size: var(--ap-t-m); font-variant-numeric: tabular-nums; }
[data-factures-achat] input[type="date"] { height: var(--ap-h-ctrl); padding: 0 var(--ap-e1); border: 1px solid hsl(var(--ap-trait)); border-radius: var(--ap-r-s); font: inherit; font-size: var(--ap-t-m); }
.aj-succes { margin: var(--ap-e2) 0; }
.rpv-fiche-stock { display: flex; flex-direction: column; gap: var(--ap-e1); align-items: flex-start; }
@media (max-width: 767px) {
  .fa-prix input { width: 96px; }
  /* Téléphone : une voiture par bloc (date et prix visibles sans défiler de côté). */
  [data-factures-achat], [data-factures-achat] tbody { display: block; }
  [data-factures-achat] thead { display: none; }
  [data-factures-achat] tr { display: grid; grid-template-columns: 1fr auto; gap: var(--ap-e1) var(--ap-e2); align-items: center; padding: var(--ap-e2); border-bottom: 1px solid hsl(var(--ap-trait)); }
  [data-factures-achat] td { display: block; padding: 0; border: 0; white-space: normal; }
  [data-factures-achat] td:first-child { grid-column: 1 / -1; }
}
