/*
 * IMMGO — Écrans de la vente sur plan (équipe) : tranches et garde-fous, liste des programmes, courbe prévu / réel
 * (préfixe vsp-)
 * Auteur : Jacks Ngalangala
 */
/* ---------- Plans de paiement : tranches et garde-fous ---------- */
.vsp-tranches {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.vsp-tranche {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: var(--e-3);
  align-items: center;
  padding: var(--e-3) 0;
  border-top: 1px solid var(--trait);
}
.vsp-tranche:first-child {
  border-top: 0;
}
.vsp-tranche-pct {
  font-size: var(--taille-grand);
  font-weight: var(--graisse-titre);
}
.vsp-garde-fous {
  list-style: none;
  margin: 0;
  padding: var(--e-3) var(--e-4);
  display: flex;
  flex-direction: column;
  gap: var(--e-2);
  border-radius: var(--r-moyen);
  background: var(--surface-douce);
  font-size: var(--taille-petit);
}
.vsp-garde-fous li {
  display: flex;
  gap: var(--e-2);
  align-items: flex-start;
}
.vsp-garde-fous svg {
  flex: none;
  width: 18px;
  height: 18px;
}
.vsp-garde-fous li[data-ok='true'] svg {
  color: var(--succes);
}
.vsp-garde-fous li[data-ok='false'] {
  color: var(--attention);
}
.vsp-avancement-ligne {
  display: flex;
  align-items: center;
  gap: var(--e-3);
  min-width: 140px;
}
.vsp-avancement-ligne .jauge {
  flex: 1;
}

/* ---------- 10 : courbe prévu / réel ---------- */
.vsp-courbe-cadre {
  margin: 0;
}
.vsp-courbe {
  display: block;
  width: 100%;
  height: auto;
}
.vsp-courbe text {
  font-family: inherit;
  font-size: 13px;
  fill: var(--texte-faible);
}
.vsp-courbe-grille {
  stroke: var(--trait);
}
.vsp-courbe-prevu {
  fill: none;
  stroke: var(--vsp-neutre-trait);
  stroke-width: 3;
  stroke-dasharray: 10 8;
}
.vsp-courbe-reel {
  fill: none;
  stroke: var(--or);
  stroke-width: 4;
  stroke-linejoin: round;
}
.vsp-courbe-surface {
  fill: var(--or-pale);
  opacity: 0.7;
}
.vsp-courbe-point {
  fill: var(--surface);
  stroke: var(--or);
  stroke-width: 3;
}
.vsp-courbe-jour {
  stroke: var(--texte);
  stroke-dasharray: 3 4;
}
.vsp-courbe .vsp-courbe-jour-texte {
  fill: var(--texte);
  font-weight: var(--graisse-forte);
}
.vsp-cellule-preuve {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--texte-second);
}
.vsp-cellule-preuve svg {
  width: 18px;
  height: 18px;
}
ol.vsp-jalons {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
