/* ==========================================================================
   Fourth & Value — styles.css
   Zéro framework, zéro build, zéro webfont. Valeurs de tokens : DESIGN_SPEC.md
   (SPEC 07-b, fait foi). Anatomie/règles inviolables : SPECS/07-ui-design-system.md.
   5 blocs : 1) TOKENS  2) BASE  3) LAYOUT  4) COMPOSANTS  5) ÉTATS
   ========================================================================== */

/* --------------------------------------------------------------------------
   1) TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Neutres — clair, pointe verte froide */
  --bg: #f2f5f1;         --surface: #ffffff;    --surface-2: #e9efe8;
  --border: #d3dcd2;     --text: #16211a;       --text-2: #52645a;   --text-3: #85958c;

  /* Marque : vert gazon */
  --brand: #1d6b3c;      --brand-strong: #14522d;

  /* Paliers — une seule teinte, trois intensités de traitement */
  --safe-accent: #14522d;  --safe-tint: #1d6b3c;  --safe-edge: #1d6b3c;  --safe-ink: #ffffff;
  --med-accent:  #256c43;  --med-tint:  #e9f3ec;  --med-edge:  #b5d6c2;
  --aggr-accent: #3f5a4a;  --aggr-tint: transparent;  --aggr-edge: #d3dcd2;

  /* Bords gauches spécifiques par thème (mesures DESIGN_SPEC 07-b, distinctes des accents) */
  --med-left: var(--med-accent);
  --aggr-left: #5c7a68;

  /* Sémantique — rouge = alerte seulement */
  --danger: #b3261e;  --danger-tint: #fdecea;  --danger-edge: #f0b6b2;
  --ok: #1a8f4a;      --ok-tint: #e5f5ec;      --ok-edge: #b0dfc4;
  /* Avertissement neutre — mode dégradé, fraîcheur 6–24 h */
  --warn-accent: #3f5a4a;  --warn-tint: #eef1ec;  --warn-edge: #c2cdc4;

  /* Calibration (vue Saison) — barre "prédite" (la barre "réelle" utilise --safe-accent) */
  --calib-pred: #3a4c41;

  /* Séparateurs internes de carte — un cran plus doux que --border */
  --divider: #e4eae3;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: .75rem; --fs-sm: .8125rem; --fs-md: .9375rem; --fs-lg: 1.0625rem;
  --fs-xl: 1.375rem; --fs-2xl: 1.75rem;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px;
  --radius: 10px; --radius-sm: 6px;
}

/* « primetime » — gazon sous les projecteurs (auto, selon l'OS) */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0a100c;      --surface: #121a15;    --surface-2: #18221c;
  --border: #26332b;  --text: #e8ede9;       --text-2: #9aab9f;   --text-3: #6c7c72;
  --brand: #5cbc82;   --brand-strong: #7fd6a2;

  --safe-accent: #5cbc82;  --safe-tint: #5cbc82;  --safe-edge: #2b6b48;  --safe-ink: #05130a;
  --med-accent:  #7fc7a0;  --med-tint:  #132a1e;  --med-edge:  #1f4d36;
  --aggr-accent: #a8c4b3;  --aggr-tint: transparent;  --aggr-edge: #2b3a32;

  --med-left: #3f9b6a;
  --aggr-left: #7fa38c;

  --danger: #ff6f66;  --danger-tint: #3a1613;  --danger-edge: #6b241f;
  --ok: #4ecb7d;      --ok-tint: #10291a;      --ok-edge: #1f4a2c;
  --warn-accent: #c8d6cd;  --warn-tint: #1f2a24;  --warn-edge: #3a4c41;

  --calib-pred: #b9c5bb;

  --divider: #1b2620;
}}
/* Toggle forcé (localStorage) : recopie exacte du bloc dark ci-dessus */
:root[data-theme="dark"] {
  --bg: #0a100c;      --surface: #121a15;    --surface-2: #18221c;
  --border: #26332b;  --text: #e8ede9;       --text-2: #9aab9f;   --text-3: #6c7c72;
  --brand: #5cbc82;   --brand-strong: #7fd6a2;

  --safe-accent: #5cbc82;  --safe-tint: #5cbc82;  --safe-edge: #2b6b48;  --safe-ink: #05130a;
  --med-accent:  #7fc7a0;  --med-tint:  #132a1e;  --med-edge:  #1f4d36;
  --aggr-accent: #a8c4b3;  --aggr-tint: transparent;  --aggr-edge: #2b3a32;

  --med-left: #3f9b6a;
  --aggr-left: #7fa38c;

  --danger: #ff6f66;  --danger-tint: #3a1613;  --danger-edge: #6b241f;
  --ok: #4ecb7d;      --ok-tint: #10291a;      --ok-edge: #1f4a2c;
  --warn-accent: #c8d6cd;  --warn-tint: #1f2a24;  --warn-edge: #3a4c41;

  --calib-pred: #b9c5bb;

  --divider: #1b2620;
}

/* --------------------------------------------------------------------------
   2) BASE
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }
input { font: inherit; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* tout chiffre affiché : tabulaire, pour un alignement stable */
.tabular, .plaque-number, .combined-price, .leg-price, .si-number, .tier-weight,
.calib-n, .tr-w, .tr-l, .tr-p, .clv-figure, .roi-figure {
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--surface); color: var(--text); padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: var(--sp-2); top: var(--sp-2); }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--surface-2);
  padding: 0 4px;
  border-radius: 4px;
  font-size: .95em;
}

/* --------------------------------------------------------------------------
   3) LAYOUT
   -------------------------------------------------------------------------- */
.sticky-top {
  position: sticky; top: 0; z-index: 20;
}
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-3) var(--sp-4) 0;
}
.header-row1 {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-2);
}
.site-title {
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: .01em;
}
.site-title .amp { color: var(--brand); }

.tabs {
  display: flex; gap: var(--sp-4);
  overflow-x: auto;
}
.tab {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  text-decoration: none;
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: .02em;
  color: var(--text-2);
  padding: var(--sp-2) var(--sp-1) var(--sp-3);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  min-height: 44px;
  align-items: center;
}
.tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--brand); }
.tab-badge {
  font-size: var(--fs-xs); font-weight: 700;
  color: var(--text-3);
}

.view { padding: var(--sp-4); max-width: 720px; margin: 0 auto; }

#parlays { display: flex; flex-direction: column; gap: var(--sp-4); margin-bottom: var(--sp-5); }

.saison-block + .saison-block { margin-top: var(--sp-5); }
.section-title {
  font-size: var(--fs-md); font-weight: 800; margin-bottom: var(--sp-3);
}

/* Desktop — une seule media query du projet pour la mise en page */
@media (min-width: 900px) {
  .site-header {
    padding-left: var(--sp-6); padding-right: var(--sp-6);
    padding-top: var(--sp-3); padding-bottom: var(--sp-3);
    display: flex; flex-direction: row; align-items: center; flex-wrap: wrap;
    gap: var(--sp-4);
  }
  /* .header-row1 (titre + toggle, groupés pour le mobile) perd sa boîte propre en
     desktop : ses deux enfants deviennent des items flex directs de .site-header,
     ce qui permet de replacer le toggle à droite (order:1, après .freshness) SANS
     dupliquer le bouton ni le nicher dans #freshness-banner — ce bandeau se masque
     entièrement en cas d'échec de chargement (voir loadData()), et le toggle doit
     rester utilisable même dans cet état. */
  .header-row1 { display: contents; }
  .tabs { flex: 0 0 auto; }
  .freshness { margin-left: auto; }
  #theme-toggle { order: 1; }

  .view { max-width: 1100px; padding: var(--sp-5) var(--sp-6); }
  #parlays { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .legs-plaque { width: 52px; height: 52px; }
}

/* --------------------------------------------------------------------------
   4) COMPOSANTS
   -------------------------------------------------------------------------- */

/* --- Bandeau fraîcheur (dans .sticky-top avec le header, 3 âges) --- */
.freshness {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  font-size: var(--fs-xs);
  background: var(--surface-2);
  padding: var(--sp-2) var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.badge-link {
  font-size: var(--fs-xs); font-weight: 700;
  color: var(--text-2);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px var(--sp-2);
}
.freshness.age-warn {
  background: var(--warn-tint);
  border-bottom: 1px solid var(--warn-edge);
}
.freshness.age-stale {
  background: var(--danger-tint);
  font-weight: 700;
  padding-top: var(--sp-3); padding-bottom: var(--sp-3); /* hauteur double */
}
.btn-refresh {
  min-height: 44px; padding: 0 var(--sp-3);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); cursor: pointer;
  font-weight: 700; font-size: var(--fs-xs);
  flex-shrink: 0;
}
.freshness.age-stale .btn-refresh { border-color: var(--danger-edge); }

.banner {
  font-size: var(--fs-xs);
  padding: var(--sp-2) var(--sp-4);
}
.banner-warn {
  background: var(--warn-tint);
  color: var(--warn-accent);
  border-bottom: 1px solid var(--warn-edge);
}

/* --- Chips créneau --- */
.chips { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-4); flex-wrap: wrap; }
.chip {
  height: 32px; padding: 0 var(--sp-3);
  border-radius: 16px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text-2);
  font-size: var(--fs-sm); font-weight: 700;
  cursor: pointer;
}
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* --- Carte de parley --- */
.parlay-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left-width: 4px;
  border-radius: var(--radius);
  overflow: hidden;
}
.parlay-card.tier-safe    { border-color: var(--safe-edge); border-left-color: var(--safe-accent); }
.parlay-card.tier-medium  { border-color: var(--med-edge); border-left-color: var(--med-left); }
.parlay-card.tier-aggressive { border-color: var(--aggr-edge); border-left-color: var(--aggr-left); }

.parlay-header {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 12px 14px;
  cursor: default;
}
.tier-safe .parlay-header {
  background: var(--safe-tint);
  color: var(--safe-ink);
}
.tier-medium .parlay-header {
  background: var(--med-tint);
  color: var(--med-accent);
}
.tier-aggressive .parlay-header {
  background: var(--surface);
  color: var(--aggr-accent);
  border-bottom: 1px dashed var(--aggr-edge);
}

.tier-label {
  font-size: 13px; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase;
}

.legs-plaque {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px;
}
.tier-safe .legs-plaque { background: var(--surface); }
.tier-safe .legs-plaque .plaque-number { color: var(--safe-accent); }
.tier-safe .legs-plaque .plaque-label { color: var(--safe-accent); }

.tier-medium .legs-plaque { background: var(--surface); border: 1px solid var(--med-edge); }
.tier-medium .legs-plaque .plaque-number { color: var(--med-accent); }
.tier-medium .legs-plaque .plaque-label { color: var(--med-accent); }

.tier-aggressive .legs-plaque { background: transparent; border: 1px dashed var(--aggr-edge); }
.tier-aggressive .legs-plaque .plaque-number { color: var(--aggr-accent); }
.tier-aggressive .legs-plaque .plaque-label { color: var(--aggr-accent); }

.plaque-number { font-size: 30px; font-weight: 800; line-height: 1; }
.plaque-label { font-size: 9px; font-weight: 700; letter-spacing: .14em; }

.tier-weight { font-size: var(--fs-sm); font-weight: 700; opacity: .9; margin-left: auto; }
.combined-price { font-size: var(--fs-xl); font-weight: 800; }

.parlay-header[role="button"] { cursor: pointer; }
.parlay-header[role="button"]::after {
  content: "";
  width: 10px; height: 10px;
  margin-left: var(--sp-1);
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .15s ease;
  flex-shrink: 0;
}
.parlay-card.collapsed .parlay-header[role="button"]::after { transform: rotate(-45deg); }

.card-body { padding: var(--sp-3) 14px 14px; }
.parlay-card.collapsed .card-body { display: none; }

.odds-reminder {
  font-size: var(--fs-xs); color: var(--text-3);
  margin-bottom: var(--sp-3);
}

.legs { display: flex; flex-direction: column; }
.leg-row {
  display: grid; grid-template-columns: 22px 1fr auto;
  align-items: center; gap: var(--sp-2);
  min-height: 44px;
  padding: var(--sp-2) 0;
  border-top: 1px solid var(--divider);
  cursor: pointer;
}
.leg-row:first-child { border-top: none; }
.leg-row.is-checked { opacity: .55; }
.leg-row.is-checked .leg-selection { text-decoration: line-through; }

.leg-check { display: flex; align-items: center; justify-content: center; }
.leg-checkbox { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check-box {
  width: 18px; height: 18px; border-radius: 5px;
  border: 1.5px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
}
.leg-checkbox:checked + .check-box { background: var(--brand); border-color: var(--brand); }
.leg-checkbox:checked + .check-box::after {
  content: ""; width: 9px; height: 5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.leg-checkbox:focus-visible + .check-box { outline: 2px solid var(--brand); outline-offset: 2px; }

.leg-main { min-width: 0; }
.leg-selection { font-size: 15px; font-weight: 700; }
.leg-market { font-size: 11px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leg-keynote { color: var(--text-3); }

.leg-side { display: flex; align-items: center; gap: var(--sp-2); }
.leg-price { font-size: 15px; font-weight: 700; }
.leg-copy {
  width: 28px; height: 28px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.leg-copy.is-copying { background: var(--safe-tint); color: var(--safe-ink); border-color: var(--safe-tint); }

/* --- Avertissement corrélation --- */
.corr-warning {
  background: var(--danger-tint);
  border: 1px solid var(--danger-edge);
  border-radius: var(--radius-sm);
  padding: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--text);
  margin-top: var(--sp-3);
}
.corr-warning strong { color: var(--danger); }
.corr-warning + .corr-warning { margin-top: var(--sp-2); }

/* --- Pied SI --- */
.si-block { margin-top: var(--sp-4); }
.si-value { display: flex; align-items: baseline; gap: var(--sp-2); }
.si-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--text-3); }
.si-number { font-size: 24px; font-weight: 800; }
.tier-safe .si-number { color: var(--safe-accent); }
.tier-medium .si-number { color: var(--med-accent); }
.tier-aggressive .si-number { color: var(--aggr-accent); }

.si-details { margin-top: var(--sp-2); }
.si-details summary {
  font-size: var(--fs-xs); font-weight: 700; color: var(--text-2);
  cursor: pointer;
  min-height: 44px; display: flex; align-items: center;
}
.si-formula {
  font-size: var(--fs-xs); color: var(--text-2);
  font-variant-numeric: tabular-nums;
  padding: var(--sp-2) 0;
}

.parlay-footer-id {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  margin-top: var(--sp-3); padding-top: var(--sp-3);
  border-top: 1px solid var(--divider);
}
.parlay-id { font-size: var(--fs-xs); color: var(--text-3); word-break: break-all; }
.btn-copy-id {
  min-height: 32px; padding: 0 var(--sp-3);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); cursor: pointer;
  font-size: var(--fs-xs); font-weight: 700;
  flex-shrink: 0;
}

/* --- Carte masquée par le filtre équipes ---
   Spécificité égale aux règles .tier-* (2 classes), placée après dans la feuille :
   un palier masqué reste neutre, jamais coloré comme une carte normale. */
.parlay-card.hidden-card { border-style: dashed; border-color: var(--aggr-edge); }
.parlay-card.hidden-card .hidden-card-header {
  background: var(--surface-2);
  color: var(--text);
  flex-wrap: wrap;
}
.parlay-card.hidden-card .tier-label { color: var(--text-2); }
.hidden-card-flag {
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .1em;
  color: var(--text-2);
}
.hidden-card-reason { font-size: var(--fs-sm); color: var(--text-2); margin-bottom: var(--sp-3); }
.hidden-card-actions, .hidden-card-relight { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.hidden-card-relight { margin-top: var(--sp-2); }
.btn-secondary {
  min-height: 44px; padding: 0 var(--sp-3);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); cursor: pointer;
  font-size: var(--fs-sm); font-weight: 700;
}

/* --- Budget local --- */
#budget-block { margin-top: var(--sp-2); }
#budget-block label { display: block; font-size: var(--fs-sm); font-weight: 700; margin-bottom: var(--sp-2); }
#budget-input {
  min-height: 44px; width: 100%; max-width: 200px;
  padding: 0 var(--sp-3);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text);
}
.budget-hint { font-size: var(--fs-xs); color: var(--text-3); margin-top: var(--sp-2); }

/* --- Toggle thème --- */
.btn-ghost {
  min-height: 44px; padding: 0 var(--sp-3);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); cursor: pointer;
  font-size: var(--fs-sm); font-weight: 700;
}

/* --- Toast de copie --- */
.toast {
  position: fixed; left: 50%; bottom: var(--sp-4);
  transform: translateX(-50%);
  background: var(--safe-tint); color: var(--safe-ink);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4);
  min-width: 220px; max-width: calc(100vw - 32px);
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  z-index: 50;
}
.toast #toast-main { font-weight: 700; font-size: var(--fs-sm); }
.toast #toast-sub { font-size: var(--fs-xs); opacity: .85; margin-top: 2px; }

/* --- Vue Saison --- */
.clv-figure { font-size: 56px; font-weight: 800; color: var(--safe-accent); line-height: 1; }
.clv-figure.is-negative { color: var(--danger); }
.clv-meta { font-size: var(--fs-xs); color: var(--text-3); margin-top: var(--sp-1); }

.record-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.record-table th, .record-table td { text-align: left; padding: var(--sp-2) var(--sp-2); border-bottom: 1px solid var(--divider); }
.record-table th { font-weight: 700; color: var(--text-3); font-size: var(--fs-xs); letter-spacing: .04em; }

.roi-figure { font-size: 32px; font-weight: 800; }
.roi-figure.is-negative { color: var(--danger); }

.calib-row { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2) 0; }
.calib-label { width: 76px; flex-shrink: 0; font-size: var(--fs-xs); color: var(--text-2); font-variant-numeric: tabular-nums; }
.calib-bars { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.calib-bar { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.calib-bar span { display: block; height: 100%; border-radius: 4px; }
.calib-bar-pred span { background: var(--calib-pred); }
.calib-bar-actual span { background: var(--safe-accent); }
.calib-n { width: 44px; flex-shrink: 0; text-align: right; font-size: var(--fs-xs); color: var(--text-3); }

/* --- Vue Équipes --- */
.equipes-header {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-4);
  font-size: var(--fs-sm); font-weight: 700;
}
.teams-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-bottom: var(--sp-4);
}
.team-tile {
  min-height: 66px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--med-edge);
  background: var(--med-tint);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-1);
  cursor: pointer;
  position: relative;
}
.team-tile .team-logo { width: 28px; height: 28px; object-fit: contain; }
.team-tile .team-abbr { font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--text); }

.team-tile.is-off {
  background: var(--surface-2);
  border: 1px dashed var(--aggr-edge);
}
:root:not([data-theme="light"]) .team-tile.is-off { background: #0d1310; }
:root[data-theme="dark"] .team-tile.is-off { background: #0d1310; }
.team-tile.is-off .team-abbr { color: var(--text-3); }
.team-tile.is-off .team-logo { filter: grayscale(1) brightness(.45); opacity: .55; }
.team-tile.is-off::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top right, transparent calc(50% - 1px), #3a4c41 50%, transparent calc(50% + 1px));
  pointer-events: none;
  border-radius: var(--radius-sm);
}

.team-tile.is-fav { border-color: var(--safe-accent); }
.team-tile.is-fav .team-abbr { color: var(--safe-accent); }
.team-fav-dot {
  position: absolute; top: 6px; right: 6px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--safe-accent);
}

.teams-reminder { border-radius: var(--radius-sm); padding: var(--sp-3); display: flex; flex-direction: column; gap: var(--sp-2); align-items: flex-start; }
.teams-reminder p { font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   5) ÉTATS
   -------------------------------------------------------------------------- */
.state-block {
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
  color: var(--text-2);
  font-size: var(--fs-sm);
}
.state-error { color: var(--text); font-weight: 700; }
.state-dashed {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: var(--sp-4);
}

[hidden] { display: none !important; }
