/* CHAMPIONS V120 — finitions sobres du tableau de bord membre.
   Uniquement des composants de présentation : aucune règle métier / de paiement. */
:root {
  --ink: #202c3e;
  --muted: #647387;
  --soft: #f4f6f9;
  --line: #e2e8f0;
  --shadow: 0 2px 8px rgba(23, 45, 74, .035);
}

/* Profil, badge dessiné en SVG (aucun glyphe de validation générique). */
.dashboard-compact { gap: 15px; }
.dashboard-profile {
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(16, 47, 89, .09);
}
.dashboard-profile:not([style*="background-image"]) {
  background: linear-gradient(110deg, #102e5b 0%, #164f97 100%);
}
.dashboard-profile .dashboard-name-row { gap: 8px; align-items: center; }
.dashboard-profile .dashboard-name-row h1 { font-weight: 700; letter-spacing: -.026em; }
.dashboard-profile .dashboard-verified {
  display: inline-grid;
  place-items: center;
  align-self: center;
  line-height: 0;
  background: transparent;
  color: #fff;
  border-radius: 0;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 0 !important;
}
.dashboard-profile .dashboard-verified svg { display: block; width: 21px; height: 21px; flex: none; overflow: visible; }
.dashboard-profile .dashboard-verified .member-verification-edge { vector-effect: non-scaling-stroke; }
.dashboard-profile .dashboard-rank {
  border-radius: 7px;
  font-weight: 600;
  padding: 5px 9px;
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.25);
}

/* Indicateurs : typographie proportionnée, bordures précises, pas de gros effets. */
.dashboard-kpis { gap: 11px; }
.dashboard-kpis .kpi-mini {
  background: #fff;
  border-color: #e1e7ee;
  border-radius: 13px;
  padding: 15px 17px;
  box-shadow: 0 2px 8px rgba(28,46,72,.025);
}
.dashboard-kpis .kpi-mini span {
  font-weight: 550;
  color: #637285;
  font-size: 12px;
  line-height: 1.45;
  white-space: normal;
}
.dashboard-kpis .kpi-mini strong {
  font-size: clamp(19px,2.1vw,24px);
  line-height: 1.24;
  font-weight: 690;
  letter-spacing: -.025em;
  color: #202b3b !important;
  margin-top: 7px;
}
.dashboard-kpis .kpi-mini small { font-size: 10px; color: #8995a4; font-weight: 600; letter-spacing: 0; }

/* Etat validé : reste compréhensible sans coche emoji ni bloc vert massif. */
.maintenance-qualified {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  background: #f6faf7 !important;
  border: 1px solid #d7e9dd !important;
  border-left: 3px solid #368760 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  min-width: 0;
  color: #27583e;
  cursor: pointer;
}
.maintenance-qualified:hover { background: #f0f8f3 !important; }
.maintenance-qualified-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 9px;
  background: #e5f2e9;
  border: 1px solid #d3e6da;
  color: #25704b;
  font-size: unset;
}
.maintenance-qualified-icon svg { width: 19px; height: 19px; display: block; }
.maintenance-qualified > div { flex: 1; min-width: 0; }
.maintenance-qualified strong {
  color: #23583d !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: -.01em;
  line-height: 1.35;
}
.maintenance-qualified div > span {
  margin-top: 3px;
  font-size: 12.5px;
  color: #547362 !important;
  line-height: 1.4;
}
.maintenance-qualified-badge {
  font-weight: 650;
  font-size: 10.5px;
  color: #317451;
  background: #e6f3e9;
  border: 1px solid #d9eadc;
  padding: 6px 9px;
}

/* Etat à traiter : toujours visible selon décision du serveur, jamais caché au retour. */
.maintenance-alert,.maintenance-alert.maintenance-inactive {
  background: #fff !important;
  border: 1px solid #e6e9ed !important;
  border-left: 3px solid #bb7548 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(25, 37, 55, .025) !important;
  padding: 17px 18px !important;
  gap: 13px !important;
}
.maintenance-alert.maintenance-inactive { border-left-color: #bf4d57 !important; }
.maintenance-alert strong {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #2a3546 !important;
  line-height: 1.35;
}
.maintenance-alert p {
  margin: 7px 0 0 !important;
  color: #59687a !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
}
.maintenance-info { flex: 0 0 36px; width: 36px; }
.maintenance-info summary {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  color: #98613d;
  background: #fbf6f1;
  border: 1px solid #eee1d5;
  font-size: 17px;
  font-weight: 600;
}
.maintenance-open, .maintenance-alert .btn.maintenance-open {
  border-radius: 8px !important;
  border: 1px solid #254e82 !important;
  background: #254e82 !important;
  color: #fff !important;
  font-size: 12.5px !important;
  font-weight: 650 !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 39px !important;
  padding: 10px 15px !important;
  margin-top: 12px !important;
  box-shadow: none !important;
}
.maintenance-open:not(:disabled):hover { background: #183f73 !important; border-color: #183f73 !important; }

/* Performance : cartes denses, choix de mois discret, respirations cohérentes. */
.team-performance-card {
  border: 1px solid #e1e7ee;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(23,45,74,.025);
  padding: 19px;
}
.team-performance-head { gap: 12px; margin-bottom: 16px; }
.team-performance-head h2 { font-size: 17px; font-weight: 700; line-height: 1.35; color: #243247; }
.team-performance-head select {
  border-radius: 8px;
  border-color: #dfe7f0;
  background: #f5f7fa;
  color: #334257;
  font-size: 12px;
  font-weight: 600;
  height: 39px;
  padding: 0 10px;
}
.team-volume { background: #f2f6fb; padding: 14px 16px; border-radius: 10px; }
.team-volume span { font-weight: 650; color: #617188; font-size: 12px; }
.team-volume strong { font-size: 25px; font-weight: 700; color: #174d90 !important; }
.team-volume small { font-size: 11px; font-weight: 500; color: #78899b; }
.performance-empty { color: #718095; font-size: 12.5px; padding: 22px 12px; }

/* Boutons de navigation consistants et peu décoratifs. */
.mobile-nav { box-shadow: 0 -2px 12px rgba(22,40,67,.025); }
.mobile-nav button.active { color: #1b5696; }
.account-switch-trigger { box-shadow: none !important; }

@media (max-width: 760px) {
  .dashboard-compact { gap: 12px; }
  .dashboard-profile { border-radius: 14px; }
  .dashboard-kpis { gap: 9px; }
  .dashboard-kpis .kpi-mini { padding: 15px 13px; }
  .dashboard-kpis .kpi-mini strong { font-size: 20px; }
  .team-performance-card { padding: 16px; }
}
@media (max-width: 420px) {
  .dashboard-kpis .kpi-mini strong { font-size: 19px; }
  .maintenance-qualified { gap: 10px; padding: 13px 12px; }
  .maintenance-qualified-icon { width: 30px; height: 30px; flex-basis: 30px; }
  .maintenance-qualified-icon svg { width: 18px; height: 18px; }
  .maintenance-qualified strong { font-size: 14px !important; }
  .maintenance-qualified div > span { font-size: 11.5px; }
  .maintenance-qualified-badge { font-size: 10px; padding: 5px 7px; }
  .maintenance-alert,.maintenance-alert.maintenance-inactive { padding: 15px 13px !important; gap: 10px !important; }
  .maintenance-open,.maintenance-alert .btn.maintenance-open { width: auto !important; }
  .team-performance-head select { max-width: 135px; font-size: 11px; }
  .team-performance-head h2 { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .maintenance-qualified, .maintenance-qualified-icon { transition: none !important; }
}

/* V119 — une seule retouche : badge de vérification proportionné à la taille du nom.
   La forme du SVG, sa coche et ses couleurs sont inchangées. */
.dashboard-profile .dashboard-verified {
  width: 22px; height: 22px; flex: 0 0 22px;
}
.dashboard-profile .dashboard-verified svg { width: 100%; height: 100%; }
.dashboard-profile .dashboard-name-row h1.dashboard-name-medium + .dashboard-verified {
  width: 20px; height: 20px; flex-basis: 20px;
}
.dashboard-profile .dashboard-name-row h1.dashboard-name-long + .dashboard-verified {
  width: 18px; height: 18px; flex-basis: 18px;
}
@media (max-width: 760px) {
  .dashboard-profile .dashboard-verified { width: 19px; height: 19px; flex-basis: 19px; }
  .dashboard-profile .dashboard-name-row h1.dashboard-name-medium + .dashboard-verified { width: 18px; height: 18px; flex-basis: 18px; }
  .dashboard-profile .dashboard-name-row h1.dashboard-name-long + .dashboard-verified { width: 17px; height: 17px; flex-basis: 17px; }
}
@media (max-width: 560px) {
  .dashboard-profile .dashboard-verified { width: 17px; height: 17px; flex-basis: 17px; }
  .dashboard-profile .dashboard-name-row h1.dashboard-name-medium + .dashboard-verified { width: 16px; height: 16px; flex-basis: 16px; }
  .dashboard-profile .dashboard-name-row h1.dashboard-name-long + .dashboard-verified { width: 15px; height: 15px; flex-basis: 15px; }
}

/* V122 (base V120) — alignement optique du badge avec la hauteur visible des lettres.
   Translation uniquement, sans changement de dimensions, SVG ou mise en page. */
.dashboard-profile .dashboard-name-row { align-items: center; }
.dashboard-profile .dashboard-verified { transform: translateY(-1.5px); }
