/* ==========================================================================
   Faevent — espace organisateur, administration et pages du compte (refonte UI, lot 0)
   --------------------------------------------------------------------------
   Les composants MudBlazor prennent leurs couleurs, leur typographie et leurs rayons dans FaeventTheme.cs.
   Ce fichier ne contient que la coquille (barre du haut, menu latéral, contenu) et ce que le thème ne sait
   pas exprimer. Rien n'est global : tout est sous .fe-espace, la classe posée par EspaceShell.
   Le site public garde sa propre couche (faevent.css, sous .fe-site).
   Sections : 1. Tokens · 2. Base · 3. Barre du haut · 4. Menu latéral · 5. Sélecteur d'événement ·
   6. Rail d'icônes · 7. Mobile · 8. États (StatePanel) · 9. Messages (toasts) · 10-12. Erreurs et reconnexion ·
   13. Page et en-tête (PageHeader) · 14. Mes événements · 15. Dialogues (DialogueConfirmation) ·
   16. Création d'un événement · 17. Liste de contrôle et écran « événement créé » · 18. Squelettes de chargement ·
   19. Tableau de bord · 20. Statistiques · 21. Formulaire en sections (Informations)
   ========================================================================== */

/* ---------- 1. Tokens (mêmes valeurs que .fe-site) ---------- */
.fe-espace {
  --brand: var(--mud-palette-primary, #83000e);
  --brand-hover: var(--mud-palette-primary-darken, #6a000b);
  --brand-text: #83000e;
  --brand-tint: #fbeaec;
  --on-brand: #ffffff;
  --accent: var(--mud-palette-secondary, #f49616);
  --accent-text: #a35c00;
  --accent-tint: #fef3e2;
  --ink: #0b0b0d;
  --ink-muted: #6b7280;
  --ink-subtle: #5b616e;
  --surface: #ffffff;
  --surface-alt: #f5f5f7;
  --night: #0b0b0d;
  --line: #e5e7eb;
  --line-strong: #8a909c;
  --success: #0f7b4f;
  --error: #b42318;
  --overlay: rgba(11, 11, 13, .55);
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --entete-hauteur: 60px;
  --menu-largeur: 264px;
  --rail-largeur: 72px;
}

/* ---------- 2. Base ---------- */
.fe-espace {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--surface-alt);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

.fe-espace :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.fe-espace .mud-input-slot:focus-visible { outline: none; }
.fe-espace :is(h1, h2, h3, .fe-espace__contenu):focus,
.fe-espace :is(h1, h2, h3, .fe-espace__contenu):focus-visible { outline: none; }

.fe-espace__corps { flex: 1 1 auto; display: flex; align-items: stretch; min-height: 0; }
.fe-espace__contenu { flex: 1 1 auto; min-width: 0; }

.fe-espace__icone-bouton {
  width: 40px; height: 40px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 10px; background: transparent; color: inherit; cursor: pointer;
}
.fe-espace__icone-bouton:hover { background: rgba(255, 255, 255, .14); }

/* ---------- 3. Barre du haut ---------- */
.fe-espace__entete {
  position: sticky; top: 0; z-index: 1100; /* sous les menus déroulants MudBlazor (1200) */
  height: var(--entete-hauteur); flex: none;
  display: flex; align-items: center; gap: 12px;
  padding: 0 16px 0 8px; box-sizing: border-box;
  background: var(--brand); color: var(--on-brand);
}
.fe-espace--admin .fe-espace__entete { background: var(--night); }
.fe-espace--compte .fe-espace__entete { padding-left: 20px; }

.fe-espace__logo { display: inline-flex; align-items: center; }
.fe-espace__logo img { height: 28px; width: auto; display: block; }

.fe-espace__etiquette {
  padding: 2px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); color: #ffffff;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.fe-espace--admin .fe-espace__etiquette { background: #ff5a66; color: var(--night); font-weight: 800; }

.fe-espace__espace { flex: 1 1 auto; }

.fe-espace__compte {
  height: 44px; padding: 0 8px 0 4px;
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #ffffff;
  font: 700 14px var(--font-body);
}
.fe-espace__avatar {
  width: 34px; height: 34px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: #ffffff; color: var(--brand-text);
  font-size: 13px; font-weight: 800;
}
.fe-espace--admin .fe-espace__avatar { color: var(--night); }
.fe-espace__compte-nom { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.fe-espace__deconnexion { margin: 0; }
.fe-espace__deconnexion button {
  width: 100%; border: 0; background: transparent; cursor: pointer;
  display: flex; align-items: center; gap: 12px; text-align: left;
  font: inherit; color: inherit;
}

/* ---------- 4. Menu latéral ---------- */
.fe-espace__menu {
  position: sticky; top: var(--entete-hauteur);
  height: calc(100vh - var(--entete-hauteur));
  height: calc(100dvh - var(--entete-hauteur));
  width: var(--menu-largeur); flex: none;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); border-right: 1px solid var(--line);
  box-sizing: border-box;
  transition: width 200ms cubic-bezier(.2, .8, .2, 1);
}
.fe-espace__menu-tete { display: none; }
.fe-espace__voile { display: none; }

.fe-menu {
  display: flex; flex-direction: column; gap: 2px;
  min-height: 100%; box-sizing: border-box;
  padding: 12px 12px 16px;
  font-size: 14px; font-weight: 600;
}

.fe-menu__retour,
.fe-menu__lien {
  display: flex; align-items: center; gap: 10px;
  min-height: 40px; padding: 8px 10px; box-sizing: border-box;
  border-radius: 10px; color: var(--ink); text-decoration: none;
}
.fe-menu__retour { color: var(--ink-subtle); font-size: 13px; font-weight: 700; min-height: 36px; }
.fe-menu__retour:hover,
.fe-menu__lien:hover { background: var(--surface-alt); }
.fe-menu__lien.is-actif { background: var(--brand-tint); color: var(--brand-text); font-weight: 800; }
.fe-menu__lien .mud-icon-root { flex: none; }

.fe-menu__libelle { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.fe-menu__section {
  padding: 14px 10px 4px;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-muted);
}

.fe-menu__compteur {
  flex: none; padding: 1px 8px; border-radius: 999px;
  background: var(--surface-alt); color: var(--ink);
  font-size: 12px; font-weight: 800;
}
.fe-menu__compteur.is-urgent { background: var(--brand); color: var(--on-brand); }

.fe-menu__pied { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }

/* ---------- 5. Sélecteur d'événement ---------- */
.fe-selecteur { width: 100%; margin: 6px 0 4px; }
.fe-selecteur__bouton {
  width: 100%; min-height: 56px; padding: 8px 10px; box-sizing: border-box;
  display: flex; align-items: center; gap: 10px; text-align: left;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  color: var(--ink); cursor: pointer; font: inherit;
}
.fe-selecteur__bouton:hover { border-color: var(--line-strong); }
.fe-selecteur__pastille {
  width: 36px; height: 36px; flex: none; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--night); color: #ffffff;
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
}
.fe-selecteur__texte { display: flex; flex-direction: column; gap: 2px; }
.fe-selecteur__nom { font-size: 14px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fe-selecteur__meta { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-muted); white-space: nowrap; }
.fe-selecteur__point { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-muted); flex: none; }
.fe-selecteur__point.is-publie { background: var(--success); }
.fe-selecteur__point.is-brouillon { background: var(--accent); }
.fe-selecteur__ligne { display: flex; flex-direction: column; gap: 2px; }
.fe-selecteur__ligne-nom { font-weight: 700; }
.fe-selecteur__ligne-meta { font-size: 12px; color: var(--ink-muted); }

/* ---------- 6. Rail d'icônes (ordinateur, menu réduit) ---------- */
@media (min-width: 960px) {
  .fe-espace.is-reduit .fe-espace__menu { width: var(--rail-largeur); }
  .fe-espace.is-reduit .fe-menu { padding: 12px 10px 16px; align-items: stretch; }
  .fe-espace.is-reduit .fe-menu__libelle,
  .fe-espace.is-reduit .fe-menu__compteur { display: none; }
  .fe-espace.is-reduit .fe-menu__retour,
  .fe-espace.is-reduit .fe-menu__lien { justify-content: center; padding: 8px 0; }
  .fe-espace.is-reduit .fe-menu__section { height: 1px; padding: 0; margin: 10px 6px; background: var(--line); font-size: 0; }
  .fe-espace.is-reduit .fe-selecteur__bouton { justify-content: center; padding: 8px 0; border-color: transparent; }

  .fe-espace__seulement-mobile { display: none !important; }
}

/* ---------- 7. Mobile : menu en tiroir ---------- */
@media (max-width: 959.98px) {
  .fe-espace__seulement-ordinateur { display: none !important; }
  .fe-espace__entete { gap: 8px; padding-right: 12px; }

  .fe-espace__menu {
    position: fixed; top: 0; left: 0; z-index: 1150; /* sous les menus déroulants (1200), au-dessus du voile */
    height: 100vh; height: 100dvh;
    width: min(300px, 86vw);
    transform: translateX(-100%);
    transition: transform 200ms cubic-bezier(.2, .8, .2, 1);
    box-shadow: 0 20px 48px rgba(11, 11, 13, .18);
  }
  .fe-espace.is-menu-ouvert .fe-espace__menu { transform: none; }

  .fe-espace__menu-tete {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 12px 0 22px;
  }
  .fe-espace__menu-titre { font-family: var(--font-display); font-size: 18px; font-weight: 800; }
  .fe-espace__menu-tete .fe-espace__icone-bouton:hover { background: var(--surface-alt); }

  .fe-espace.is-menu-ouvert .fe-espace__voile {
    display: block; position: fixed; inset: 0; z-index: 1140; background: var(--overlay);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fe-espace__menu { transition: none; }
}

/* ---------- 8. États : message à la place d'un contenu (composant StatePanel) ---------- */
.fe-espace .fe-state {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 56px 24px; border: 1.5px dashed #c9ccd3; border-radius: var(--radius-xl);
  text-align: center; background: var(--surface);
}
.fe-espace .fe-state__icon {
  display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 8px;
  border-radius: 50%; background: var(--brand-tint); color: var(--brand-text);
}
.fe-espace .fe-state--error .fe-state__icon { background: #fdecea; color: var(--error); }
.fe-espace .fe-state__text.mud-typography { max-width: 440px; font-size: 15px; line-height: 24px; color: var(--ink-subtle); }
.fe-espace .fe-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.fe-espace__erreur { max-width: 760px; margin: 0 auto; padding: 40px 16px; }

/* ---------- 9. Messages (toasts) : fond sombre, couleur portée par l'icône ---------- */
.fe-espace .mud-snackbar {
  background-color: var(--night) !important;
  color: #ffffff !important;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  box-shadow: 0 14px 32px rgba(11, 11, 13, .24);
}
.fe-espace .mud-snackbar .mud-snackbar-icon { color: #ffffff; }
.fe-espace .mud-snackbar.mud-alert-filled-success .mud-snackbar-icon { color: #34d399; }
.fe-espace .mud-snackbar.mud-alert-filled-warning .mud-snackbar-icon { color: var(--accent); }
.fe-espace .mud-snackbar.mud-alert-filled-error .mud-snackbar-icon { color: #f97066; }
.fe-espace .mud-snackbar.mud-alert-filled-info .mud-snackbar-icon { color: #93c5fd; }
.fe-espace .mud-snackbar .mud-button-root { color: #ffffff; }

/* ---------- 10. Barre d'erreur de la session Blazor (affichée par Blazor) ---------- */
.fe-espace #blazor-error-ui {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 3000;
  padding: 14px 56px 14px 20px;
  background: var(--accent-tint); color: #5c3500;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  box-shadow: 0 -8px 24px rgba(11, 11, 13, .10);
}
.fe-espace #blazor-error-ui .reload { margin-left: 8px; color: var(--brand-text); font-weight: 800; }
.fe-espace #blazor-error-ui .dismiss { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); cursor: pointer; }

/* ==========================================================================
   Pages système (introuvable, erreur) — SystemeLayout, rendu sans interactivité.
   Mêmes tokens que l'espace, sous .fe-systeme.
   ========================================================================== */
.fe-systeme {
  --brand: #83000e; --brand-text: #83000e; --brand-tint: #fbeaec; --night: #0b0b0d;
  --ink: #0b0b0d; --ink-subtle: #5b616e; --ink-muted: #6b7280; --line: #e5e7eb; --surface-alt: #f5f5f7;
  --font-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  background: #ffffff; color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased;
}
.fe-systeme--organisateur, .fe-systeme--admin { background: var(--surface-alt); }
.fe-systeme :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.fe-systeme :is(h1, h2, h3, main):focus,
.fe-systeme :is(h1, h2, h3, main):focus-visible { outline: none; }
.fe-systeme a { color: inherit; }

.fe-systeme__entete {
  height: 68px; flex: none; display: flex; align-items: center; gap: 24px;
  padding: 0 40px; box-sizing: border-box; background: #ffffff; border-bottom: 1px solid var(--line);
}
.fe-systeme__entete--espace { height: 60px; gap: 12px; padding: 0 16px 0 20px; border: 0; background: var(--brand); color: #ffffff; }
.fe-systeme--admin .fe-systeme__entete--espace { background: var(--night); }
.fe-systeme__logo img { height: 28px; width: auto; display: block; }
.fe-systeme__nav { display: flex; gap: 22px; font-size: 15px; font-weight: 700; color: #3f4450; }
.fe-systeme__nav a { text-decoration: none; }
.fe-systeme__espace { flex: 1 1 auto; }
.fe-systeme__lien-discret { color: var(--brand-text) !important; font-size: 14px; font-weight: 700; text-decoration: none; }
.fe-systeme__etiquette { padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 12px; font-weight: 700; }
.fe-systeme--admin .fe-systeme__etiquette { background: #ff5a66; color: var(--night); font-weight: 800; }
.fe-systeme__compte { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.fe-systeme__avatar { width: 34px; height: 34px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: #ffffff; color: var(--brand-text); font-size: 13px; font-weight: 800; }
.fe-systeme--admin .fe-systeme__avatar { color: var(--night); }
.fe-systeme__compte-nom { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.fe-systeme__contenu { flex: 1 1 auto; display: flex; justify-content: center; padding: 72px 40px 96px; box-sizing: border-box; outline: none; }

.fe-systeme__etat {
  width: 100%; max-width: 760px; box-sizing: border-box; align-self: flex-start;
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  padding: 72px 24px; border: 1.5px dashed #c9ccd3; border-radius: 24px; background: #ffffff;
}
.fe-systeme__icone { width: 72px; height: 72px; margin-bottom: 8px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-text); }
.fe-systeme__icone--erreur { background: #fdecea; color: #b42318; }
.fe-systeme__code { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.fe-systeme__titre { margin: 0; font-family: var(--font-display); font-size: 34px; line-height: 1.15; font-weight: 800; }
.fe-systeme__texte { margin: 0; max-width: 440px; font-size: 15px; line-height: 24px; font-weight: 500; color: var(--ink-subtle); }
.fe-systeme__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }

.fe-systeme__bouton,
.fe-systeme__bouton-petit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 20px; box-sizing: border-box; border-radius: 12px;
  background: var(--brand); color: #ffffff !important; border: 1px solid var(--brand);
  font: 700 15px var(--font-body); text-decoration: none; cursor: pointer;
}
.fe-systeme__bouton:hover { background: #6a000b; }
.fe-systeme__bouton--secondaire { background: #ffffff; color: var(--ink) !important; border-color: #8a909c; }
.fe-systeme__bouton--secondaire:hover { background: var(--surface-alt); }
.fe-systeme__bouton-petit { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.fe-systeme__bouton-petit--clair { background: #ffffff; color: var(--ink) !important; border-color: #8a909c; }

.fe-systeme__details { width: 100%; max-width: 480px; margin-top: 20px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.fe-systeme__encart { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--surface-alt); font-size: 14px; line-height: 21px; font-weight: 600; }
.fe-systeme__incident { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding: 10px 14px; border-radius: 12px; background: var(--surface-alt); font-size: 13px; font-weight: 600; color: var(--ink-subtle); }
.fe-systeme--organisateur .fe-systeme__incident,
.fe-systeme--admin .fe-systeme__incident { background: #ffffff; border: 1px solid var(--line); }
.fe-systeme__incident code { font: 700 13px ui-monospace, Menlo, monospace; color: var(--ink); word-break: break-all; }
.fe-systeme__aide { margin: 0; font-size: 13px; font-weight: 500; color: var(--ink-muted); }

.fe-systeme__pied {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  padding: 28px 40px; background: var(--night); color: #a1a1aa; font-size: 14px; font-weight: 600;
}
.fe-systeme__pied-logo { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: #ffffff; }
.fe-systeme__pied-liens { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fe-systeme__pied-liens a { color: #e4e4e7; text-decoration: none; }

@media (max-width: 959.98px) {
  .fe-systeme__entete { padding: 0 16px; gap: 12px; }
  .fe-systeme__nav, .fe-systeme__compte-nom { display: none; }
  .fe-systeme__contenu { padding: 40px 16px 56px; }
  .fe-systeme__etat { padding: 40px 16px; }
  .fe-systeme__titre { font-size: 26px; }
  .fe-systeme__pied { padding: 28px 16px; }
}

/* ==========================================================================
   Fenêtre de connexion perdue (#components-reconnect-modal, App.razor), sur tout le site.
   Blazor ajoute la classe components-reconnect-show (reconnexion en cours), -failed (échec)
   ou -rejected (session expirée, par exemple après une mise à jour).
   ========================================================================== */
#components-reconnect-modal.fe-reconnexion {
  display: none; position: fixed; inset: 0; z-index: 4000;
  align-items: center; justify-content: center; padding: 16px; box-sizing: border-box;
  background: rgba(11, 11, 13, .55);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; color: #0b0b0d;
}
#components-reconnect-modal.components-reconnect-show,
#components-reconnect-modal.components-reconnect-failed,
#components-reconnect-modal.components-reconnect-rejected { display: flex; }

.fe-reconnexion__carte {
  width: 100%; max-width: 440px; box-sizing: border-box; padding: 24px; border-radius: 20px; background: #ffffff;
  text-align: center; box-shadow: 0 20px 48px rgba(11, 11, 13, .18);
}
.fe-reconnexion__etat { display: none; flex-direction: column; align-items: center; gap: 12px; }
.components-reconnect-show .fe-reconnexion__etat--attente,
.components-reconnect-failed .fe-reconnexion__etat--echec,
.components-reconnect-rejected .fe-reconnexion__etat--expiree { display: flex; }

.fe-reconnexion__icone { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; }
.fe-reconnexion__icone::before { content: ""; width: 26px; height: 26px; background: currentColor; -webkit-mask: var(--icone) center / contain no-repeat; mask: var(--icone) center / contain no-repeat; }
.fe-reconnexion__icone--attente { background: #fef3e2; color: #a35c00; --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 8.5a15 15 0 0 1 20 0M5 12a10 10 0 0 1 14 0M8.5 15.5a5 5 0 0 1 7 0M12 19h.01M3 3l18 18'/%3E%3C/svg%3E"); }
.fe-reconnexion__icone--echec { background: #fdecea; color: #b42318; --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 8.5a15 15 0 0 1 20 0M5 12a10 10 0 0 1 14 0M8.5 15.5a5 5 0 0 1 7 0M12 19h.01M3 3l18 18'/%3E%3C/svg%3E"); }
.fe-reconnexion__icone--expiree { background: #f5f5f7; color: #0b0b0d; --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }

.fe-reconnexion__titre { margin: 0; font-family: "Bricolage Grotesque", "Manrope", system-ui, sans-serif; font-size: 22px; line-height: 28px; font-weight: 800; }
.fe-reconnexion__texte { margin: 0; font-size: 15px; line-height: 23px; font-weight: 500; color: #5b616e; }
.fe-reconnexion__aide { margin: 0; font-size: 13px; font-weight: 500; color: #6b7280; }
.fe-reconnexion__tentative { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.fe-reconnexion__roue { width: 20px; height: 20px; border-radius: 50%; border: 3px solid #fbeaec; border-top-color: #83000e; animation: fe-reconnexion-rotation 900ms linear infinite; }
@keyframes fe-reconnexion-rotation { to { transform: rotate(360deg); } }

.fe-reconnexion__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; margin-top: 4px; }
.fe-reconnexion__bouton {
  height: 48px; padding: 0 20px; border-radius: 12px; border: 1px solid #83000e; background: #83000e; color: #ffffff;
  font: 700 15px "Manrope", system-ui, sans-serif; cursor: pointer;
}
.fe-reconnexion__bouton--secondaire { background: #ffffff; color: #0b0b0d; border-color: #8a909c; }

@media (max-width: 599.98px) {
  #components-reconnect-modal.fe-reconnexion { align-items: flex-end; padding: 0; }
  .fe-reconnexion__carte { max-width: none; border-radius: 20px 20px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .fe-reconnexion__roue { animation: none; }
}

/* ==========================================================================
   13. Page et en-tête de page (composant PageHeader) — refonte, lot 0
   ========================================================================== */
.fe-espace .fe-page { max-width: 1200px; margin: 0 auto; padding: 32px 24px 72px; box-sizing: border-box; }
.fe-espace .fe-page-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.fe-espace .fe-page-tete__textes { min-width: 0; }
.fe-espace .fe-page-tete__surtitre { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: var(--ink-subtle); }
.fe-espace .fe-page-tete__titre { margin: 0; font-family: var(--font-display); font-size: 32px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.fe-espace .fe-page-tete__description { margin: 6px 0 0; max-width: 640px; font-size: 15px; line-height: 22px; color: var(--ink-subtle); }
.fe-espace .fe-page-tete__complement { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fe-espace .fe-page-tete__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fe-espace .fe-page-tete__actions .mud-button-root { height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 800; }

.fe-espace .fe-chargement { display: flex; justify-content: center; padding: 72px 0; }

/* Lien d'action en ligne (« Retirer », « Ajouter ») */
.fe-espace .fe-lien-action {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: 800 14px var(--font-body); color: var(--brand-text); text-decoration: none; white-space: nowrap;
}
.fe-espace .fe-lien-action:hover { text-decoration: underline; }

/* Pastille de statut : Publié (point plein vert), Brouillon (point creux), Clôturé (gris) */
.fe-espace .fe-pastille {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; box-sizing: border-box;
  border-radius: 999px; background: #ffffff; color: var(--ink); font-size: 12px; font-weight: 800; white-space: nowrap;
}
.fe-espace .fe-pastille::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-muted); flex: none; }
.fe-espace .fe-pastille--publie { background: #e7f5ee; color: var(--success); }
.fe-espace .fe-pastille--publie::before { background: var(--success); }
.fe-espace .fe-pastille--brouillon::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.fe-espace .fe-pastille--clos { background: #eceef2; color: var(--ink-subtle); }

/* ==========================================================================
   14. Mes événements — refonte, lot 2
   ========================================================================== */
.fe-espace .fe-resume { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.fe-espace .fe-resume__tuile {
  display: flex; flex-direction: column; gap: 6px; padding: 20px 16px 20px 18px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.fe-espace .fe-resume__libelle { font-size: 14px; font-weight: 600; color: var(--ink-subtle); }
.fe-espace .fe-resume__valeur { font-family: var(--font-display); font-size: 28px; line-height: 1.1; font-weight: 800; white-space: nowrap; }
.fe-espace .fe-resume__ligne { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fe-espace .fe-menu-retrait { display: flex; justify-content: space-between; gap: 24px; width: 100%; min-width: 260px; }

.fe-espace .fe-liste-barre { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.fe-espace .fe-liste-barre__recherche { flex: 0 1 320px; margin: 0 !important; background: var(--surface); border-radius: 12px; }
.fe-espace .fe-liste-barre__recherche .mud-input-outlined-border { border-radius: 12px; }

.fe-espace .fe-onglets { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: #e9eaee; }
.fe-espace .fe-onglets__onglet {
  height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; cursor: pointer;
  font: 700 14px var(--font-body); color: var(--ink-subtle);
}
.fe-espace .fe-onglets__onglet:hover { color: var(--ink); }
.fe-espace .fe-onglets__onglet.is-actif { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(11, 11, 13, .10); }

.fe-espace .fe-liste-vide {
  margin: 0; padding: 40px 24px; text-align: center; font-size: 15px; color: var(--ink-subtle);
  border: 1.5px dashed #c9ccd3; border-radius: var(--radius-lg); background: var(--surface);
}

.fe-espace .fe-cartes-evt { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.fe-espace .fe-carte-evt {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.fe-espace .fe-carte-evt__media { position: relative; height: 150px; background: var(--night); }
.fe-espace .fe-carte-evt__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fe-espace .fe-carte-evt__media.is-vide {
  display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, #f1f2f4 0 12px, #e7e8ec 12px 24px);
}
.fe-espace .fe-carte-evt__sans-affiche { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink-subtle); }
.fe-espace .fe-carte-evt__media .fe-pastille { position: absolute; top: 12px; left: 12px; }
.fe-espace .fe-carte-evt__rebours {
  position: absolute; top: 12px; right: 12px; height: 24px; padding: 0 9px; display: inline-flex; align-items: center;
  border-radius: 999px; background: #ffffff; color: var(--ink); font-size: 12px; font-weight: 800;
}
.fe-espace .fe-carte-evt__corps { display: flex; flex-direction: column; gap: 6px; padding: 16px; flex: 1 1 auto; }
.fe-espace .fe-carte-evt__titre { margin: 0; font-family: var(--font-display); font-size: 19px; line-height: 1.25; font-weight: 800; overflow-wrap: anywhere; }
.fe-espace .fe-carte-evt__meta { margin: 0 0 6px; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.fe-espace .fe-carte-evt__ligne { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 700; margin-top: auto; }
.fe-espace .fe-carte-evt__actions { display: flex; gap: 8px; margin-top: 12px; }
.fe-espace .fe-carte-evt__actions > .mud-button-root { height: 44px; border-radius: 12px; font-weight: 800; border-color: var(--line-strong); }
.fe-espace .fe-carte-evt__plus .mud-icon-button { width: 44px; height: 44px; border-radius: 12px; border-color: var(--line); }

.fe-espace .fe-jauge { height: 6px; border-radius: 999px; background: #eceef2; overflow: hidden; }
.fe-espace .fe-jauge > span { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.fe-espace .fe-etapes { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.fe-espace .fe-etapes > span { height: 6px; border-radius: 999px; background: #e5e7eb; }
.fe-espace .fe-etapes > span.is-faite { background: var(--success); }

.fe-espace .fe-menu-danger { color: var(--error); }
.fe-espace .fe-menu-indisponible { display: flex; flex-direction: column; line-height: 1.3; }
.fe-espace .fe-menu-indisponible small { font-size: 12px; }

@media (max-width: 959.98px) {
  .fe-espace .fe-page { padding: 20px 16px 56px; }
  .fe-espace .fe-page-tete__titre { font-size: 26px; }
  .fe-espace .fe-resume { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .fe-espace .fe-resume__tuile { flex-direction: row; align-items: center; justify-content: space-between; padding: 14px 16px; }
  .fe-espace .fe-resume__tuile:last-child { flex-direction: column; align-items: stretch; }
  .fe-espace .fe-resume__valeur { font-size: 22px; }
  .fe-espace .fe-liste-barre__recherche { flex-basis: 100%; }
}
@media (max-width: 599.98px) {
  .fe-espace .fe-page-tete__actions, .fe-espace .fe-page-tete__actions .mud-button-root { width: 100%; }
  .fe-espace .fe-cartes-evt { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   15. Dialogues (composant DialogueConfirmation) — panneau du bas sur mobile
   ========================================================================== */
.fe-espace .mud-dialog.fe-dialogue { border-radius: 20px; box-shadow: 0 24px 64px rgba(11, 11, 13, .28); }
.fe-espace .fe-dialogue .fe-dialogue__tete-mud { padding: 24px 24px 0; }
.fe-espace .fe-dialogue__tete { display: flex; align-items: flex-start; gap: 14px; }
.fe-espace .fe-dialogue__icone {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px;
  background: var(--brand-tint); color: var(--brand-text);
}
.fe-espace .fe-dialogue__icone--pause { background: var(--accent-tint); color: var(--accent-text); }
.fe-espace .fe-dialogue__icone--danger { background: #fdecea; color: var(--error); }
.fe-espace .fe-dialogue__titres { min-width: 0; }
.fe-espace .fe-dialogue__titre { margin: 4px 0 0; font-family: var(--font-display); font-size: 22px; line-height: 1.25; font-weight: 800; overflow-wrap: anywhere; }
.fe-espace .fe-dialogue__texte { margin: 8px 0 0; font-size: 14px; line-height: 22px; color: var(--ink-subtle); }
.fe-espace .fe-dialogue .fe-dialogue__contenu { padding: 16px 24px 4px; }
.fe-espace .fe-dialogue .fe-dialogue__actions { padding: 12px 24px 24px; gap: 8px; }
.fe-espace .fe-dialogue .fe-dialogue__actions .mud-button-root { height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 800; }
.fe-espace .fe-dialogue .fe-dialogue__actions .mud-button-filled.mud-button-filled-dark { background: var(--night); color: #ffffff; }
.fe-espace .fe-dialogue__chargement { display: flex; justify-content: center; padding: 16px 0; }

.fe-espace .fe-dialogue__evenement {
  display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px;
}
.fe-espace .fe-dialogue__evenement > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fe-espace .fe-dialogue__evenement strong { font-size: 15px; font-weight: 800; }
.fe-espace .fe-dialogue__evenement span { font-size: 13px; color: var(--ink-muted); }
.fe-espace .fe-dialogue__vignette { width: 48px; height: 48px; flex: none; border-radius: 10px; background: var(--night); object-fit: cover; }

.fe-espace .fe-dialogue__points { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fe-espace .fe-dialogue__points li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.fe-espace .fe-dialogue__points li > span { flex: 1 1 auto; }
.fe-espace .fe-dialogue__points li.is-ok .mud-icon-root { color: var(--success); }
.fe-espace .fe-dialogue__points li.is-attention .mud-icon-root { color: var(--accent-text); }
.fe-espace .fe-dialogue__note { margin: 14px 0 0; font-size: 13px; line-height: 20px; color: var(--ink-subtle); }
.fe-espace .fe-dialogue__encadre { margin: 0; padding: 14px; border-radius: 12px; background: var(--surface-alt); font-size: 13px; line-height: 20px; font-weight: 600; }
.fe-espace .fe-dialogue__case {
  display: flex; align-items: center; gap: 4px; padding: 6px 12px 6px 4px; border: 1px solid var(--line); border-radius: 12px;
  font-size: 14px; font-weight: 700; cursor: pointer;
}
.fe-espace .fe-dialogue__libelle { margin: 0 0 8px; font-size: 14px; font-weight: 600; }

@media (max-width: 599.98px) {
  .fe-espace .mud-dialog-container:has(> .mud-dialog.fe-dialogue) { align-items: flex-end; }
  .fe-espace .mud-dialog.fe-dialogue {
    width: 100% !important; max-width: 100% !important; margin: 0 !important; max-height: 92dvh;
    border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom);
  }
  .fe-espace .fe-dialogue .fe-dialogue__actions { flex-direction: column-reverse; align-items: stretch; }
  .fe-espace .fe-dialogue .fe-dialogue__actions .mud-button-root { width: 100%; margin: 0 !important; }
}

/* ==========================================================================
   16. Création d'un événement (CreationLayout, NouvelEvenement) — refonte, lot 2
   ========================================================================== */
.fe-espace--creation { background: var(--surface-alt); }
.fe-espace .fe-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.fe-creation__entete {
  position: sticky; top: 0; z-index: 1100; height: 64px; flex: none; display: flex; align-items: center; gap: 16px;
  padding: 0 24px; background: var(--surface); border-bottom: 1px solid var(--line);
}
.fe-creation__logo { height: 26px; width: auto; display: block; }
.fe-creation__titre { padding-left: 16px; border-left: 1px solid var(--line); font-size: 16px; font-weight: 800; }
.fe-creation__quitter {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px;
  border: 0; border-radius: 10px; background: transparent; cursor: pointer; font: 800 15px var(--font-body); color: var(--ink);
}
.fe-creation__quitter:hover { background: var(--surface-alt); }

.fe-creation__etapes { background: var(--surface); border-bottom: 1px solid var(--line); }
.fe-creation__etapes ol { list-style: none; margin: 0 auto; padding: 14px 24px 16px; max-width: 924px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fe-creation__etape button {
  width: 100%; display: flex; align-items: center; gap: 8px; padding: 12px 0 0; border: 0; border-top: 4px solid #e5e7eb;
  background: none; cursor: pointer; font: 700 14px var(--font-body); color: var(--ink-subtle); text-align: left;
}
.fe-creation__etape button:disabled { cursor: default; }
.fe-creation__etape.is-faite button, .fe-creation__etape.is-courante button { border-top-color: var(--brand); color: var(--ink); }
.fe-creation__etape.is-courante button { font-weight: 800; }
.fe-creation__repere {
  width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: #eceef2; color: var(--ink-subtle); font-size: 12px; font-weight: 800;
}
.fe-creation__etape.is-courante .fe-creation__repere { background: var(--night); color: #ffffff; }
.fe-creation__etape.is-faite .fe-creation__repere { background: var(--brand); color: #ffffff; }

.fe-creation__corps {
  flex: 1 0 auto; width: 100%; max-width: 1148px; margin: 0 auto; padding: 32px 24px 120px; box-sizing: border-box;
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start;
}
.fe-creation__carte { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); }
.fe-creation__compteur { display: none; margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--ink-muted); }
.fe-creation__h1 { margin: 0; font-family: var(--font-display); font-size: 28px; line-height: 1.2; font-weight: 800; outline: none; }
.fe-creation__intro { margin: 6px 0 24px; font-size: 15px; color: var(--ink-subtle); }
.fe-creation__champs { display: flex; flex-direction: column; gap: 20px; }
.fe-creation__champs .mud-input-control { margin: 0; }
.fe-creation__duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.fe-creation__libelle { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.fe-creation__libelle span { font-weight: 500; color: var(--ink-muted); }
.fe-creation__erreur { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--error); }
.fe-creation__bascule {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 6px 10px 14px;
  border-radius: 12px; background: var(--surface-alt); cursor: pointer;
}
.fe-creation__bascule > span { display: flex; flex-direction: column; gap: 2px; }
.fe-creation__bascule strong { font-size: 15px; }
.fe-creation__bascule > span > span { font-size: 13px; color: var(--ink-subtle); }
.fe-creation__suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fe-espace .fe-suggestion {
  height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font: 700 13px var(--font-body); color: var(--ink); cursor: pointer;
}
.fe-espace .fe-suggestion:hover { border-color: var(--line-strong); }
.fe-espace .fe-suggestion.is-active { border-color: var(--ink); background: var(--ink); color: #ffffff; }

/* Dépôt de l'affiche : le champ fichier couvre toute la zone (clic et glisser-déposer) */
.fe-espace .fe-depot-zone { position: relative; }
.fe-espace .fe-depot__input { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 10; cursor: pointer; }
.fe-espace .fe-depot {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 20px; text-align: center;
  border: 1.5px dashed #c9ccd3; border-radius: 16px; background: var(--surface-alt); color: var(--ink-subtle); font-size: 13px;
}
.fe-espace .fe-depot strong { font-size: 15px; color: var(--ink); }
.fe-espace .fe-depot .mud-icon-root { color: var(--ink-subtle); }
.fe-espace .fe-depot.is-erreur { border-color: var(--error); }
.fe-espace .fe-depot__bouton {
  margin-top: 8px; height: 36px; padding: 0 14px; display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); font-weight: 800; color: var(--ink);
}
.fe-espace .fe-depot-zone:hover .fe-depot { border-color: var(--line-strong); }
.fe-espace .fe-depot--rempli { flex-direction: row; align-items: center; text-align: left; padding: 12px; gap: 14px; border-style: solid; background: var(--surface); }
.fe-espace .fe-depot--rempli img { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; flex: none; }
.fe-espace .fe-depot__infos { display: flex; flex-direction: column; gap: 2px; min-width: 0; align-items: flex-start; }
.fe-espace .fe-depot__infos strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

.fe-creation__apercu { position: sticky; top: 88px; }
.fe-creation__apercu-titre { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-subtle); }
.fe-espace .fe-apercu { pointer-events: none; user-select: none; }
.fe-creation__apercu-note { margin: 12px 0 0; font-size: 12px; line-height: 18px; color: var(--ink-subtle); }

.fe-creation__pied { position: sticky; bottom: 0; z-index: 1000; margin-top: auto; background: var(--surface); border-top: 1px solid var(--line); }
.fe-creation__pied-contenu { max-width: 1148px; margin: 0 auto; padding: 12px 24px; box-sizing: border-box; display: flex; align-items: center; gap: 12px; }
.fe-creation__pied-espace { flex: 1 1 auto; }
.fe-creation__pied .mud-button-root { height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 800; }

@media (max-width: 959.98px) {
  .fe-creation__corps { grid-template-columns: minmax(0, 1fr); padding: 20px 16px 120px; gap: 24px; }
  .fe-creation__apercu { position: static; max-width: 340px; }
  .fe-creation__carte { padding: 20px; border-radius: var(--radius-lg); }
}
@media (max-width: 599.98px) {
  .fe-creation__entete { padding: 0 8px 0 16px; }
  .fe-creation__titre { display: none; }
  .fe-creation__etapes ol { padding: 10px 16px 12px; gap: 4px; }
  .fe-creation__etape button { padding-top: 0; border-top-width: 4px; }
  .fe-creation__etape-libelle, .fe-creation__repere { display: none; }
  .fe-creation__compteur { display: block; }
  .fe-creation__h1 { font-size: 24px; }
  .fe-creation__duo { grid-template-columns: minmax(0, 1fr); }
  .fe-creation__pied-contenu { padding: 10px 16px; }
  .fe-creation__pied .mud-button-root { padding: 0 16px; }
  .fe-creation__pied-espace { display: none; }
  .fe-creation__pied-contenu > .mud-button-filled { flex: 1 1 auto; }
}

/* ==========================================================================
   17. Liste de contrôle (ListeControlePublication) et écran « événement créé » — refonte, lot 2
   ========================================================================== */
.fe-espace .fe-retour { display: inline-flex; align-items: center; gap: 2px; margin-bottom: 16px; font-size: 14px; font-weight: 700; color: var(--ink-subtle); text-decoration: none; }
.fe-espace .fe-retour:hover { color: var(--ink); }

.fe-espace .fe-cree__tete { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.fe-espace .fe-cree__icone { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px; background: #e7f5ee; color: var(--success); }
.fe-espace .fe-cree__grille { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.fe-espace .fe-cree__cote { display: flex; flex-direction: column; gap: 16px; }

.fe-espace .fe-controle { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); }
.fe-espace .fe-controle__tete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.fe-espace .fe-controle__titre { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.fe-espace .fe-controle__compte { font-size: 14px; font-weight: 800; }
.fe-espace .fe-etapes--large > span { height: 7px; }
.fe-espace .fe-controle__liste { list-style: none; margin: 16px 0 0; padding: 0; }
.fe-espace .fe-controle__ligne { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fe-espace .fe-controle__ligne:last-child { border-bottom: 0; padding-bottom: 0; }
.fe-espace .fe-controle__repere {
  width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%;
  border: 2px dashed #b8bcc6; box-sizing: border-box;
}
.fe-espace .fe-controle__ligne.is-faite .fe-controle__repere { border: 0; background: var(--success); color: #ffffff; }
.fe-espace .fe-controle__textes { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fe-espace .fe-controle__libelle { font-size: 15px; font-weight: 800; }
.fe-espace .fe-controle__detail { font-size: 13px; color: var(--ink-subtle); }
.fe-espace .fe-controle .fe-controle__bouton { flex: none; height: 38px; border-radius: 10px; font-weight: 800; border-color: var(--line-strong); }
.fe-espace .fe-controle__note { margin: 16px 0 0; font-size: 13px; color: var(--ink-subtle); }
.fe-espace .fe-etiquette-importante {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; vertical-align: 2px;
  background: var(--accent-tint); color: var(--accent-text); font-size: 11px; font-weight: 800;
}

.fe-espace .fe-encart { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); }
.fe-espace .fe-encart__titre { margin: 0; font-family: var(--font-display); font-size: 20px; line-height: 1.25; font-weight: 800; }
.fe-espace .fe-encart__texte { margin: 10px 0 16px; font-size: 14px; line-height: 21px; color: var(--ink-subtle); }
.fe-espace .fe-encart .mud-button-root { height: 46px; border-radius: 12px; font-weight: 800; }
.fe-espace .fe-encart--ia { background: var(--night); border-color: var(--night); color: #ffffff; }
.fe-espace .fe-encart--ia .fe-encart__texte { color: #c9ccd3; }
.fe-espace .fe-encart__surtitre { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.fe-espace .fe-encart--ia .fe-bouton-blanc { background: #ffffff; color: var(--ink); }

@media (max-width: 959.98px) {
  .fe-espace .fe-cree__grille { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599.98px) {
  .fe-espace .fe-controle { padding: 18px 16px; }
  .fe-espace .fe-controle__ligne { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; row-gap: 8px; align-items: start; }
  .fe-espace .fe-controle__ligne > .fe-lien-action, .fe-espace .fe-controle__ligne > .fe-controle__bouton { grid-column: 2; justify-self: start; }
}

/* ==========================================================================
   18. Squelettes de chargement (MudSkeleton) : mêmes blocs que la page chargée
   ========================================================================== */
.fe-espace .fe-squelette .mud-skeleton { background-color: #e9eaee; }
.fe-espace .fe-squelette__arrondi.mud-skeleton { border-radius: 12px; }
.fe-espace .fe-squelette__encart.mud-skeleton { border-radius: var(--radius-xl); }
.fe-espace .fe-squelette__plein { flex: 1 1 auto; min-width: 0; }
.fe-espace .fe-squelette .fe-carte-evt .mud-skeleton:first-child { border-radius: 0; }
@media (prefers-reduced-motion: reduce) {
  .fe-espace .fe-squelette .mud-skeleton::after { animation: none; }
}

/* ==========================================================================
   19. Tableau de bord d'un événement — refonte, lot 3
   ========================================================================== */
.fe-espace .fe-page--large { max-width: 1240px; }
.fe-espace .fe-pastille-etat, .fe-espace .fe-pastille-date {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; box-sizing: border-box;
  font-size: 13px; font-weight: 800; white-space: nowrap;
}
.fe-espace .fe-pastille-etat--publie { background: #e7f5ee; color: var(--success); }
.fe-espace .fe-pastille-etat--brouillon { background: #eceef2; color: var(--ink-subtle); }
.fe-espace .fe-pastille-etat--jour-j { background: var(--accent); color: var(--ink); }
.fe-espace .fe-pastille-etat--cloture { background: var(--night); color: #ffffff; }
.fe-espace .fe-pastille-date { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.fe-espace .fe-tdb__plus .mud-icon-button { width: 48px; height: 48px; border-radius: 12px; }

.fe-espace .fe-tdb__fin {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-bottom: 20px; padding: 20px 24px; border-radius: var(--radius-lg); background: var(--night); color: #ffffff;
}
.fe-espace .fe-tdb__fin-titre { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 800; }
.fe-espace .fe-tdb__fin-texte { margin: 4px 0 0; font-size: 14px; color: #c9ccd3; }
.fe-espace .fe-tdb__fin-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fe-espace .fe-tdb__fin-actions .mud-button-root { height: 44px; border-radius: 12px; font-weight: 800; }
.fe-espace .fe-bouton-blanc.mud-button-root { background: #ffffff; color: var(--ink); }
.fe-espace .fe-bouton-contour-clair.mud-button-root { color: #ffffff; border-color: rgba(255, 255, 255, .55); }

.fe-espace .fe-tdb__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.fe-espace .fe-tuile {
  display: flex; flex-direction: column; gap: 8px; padding: 20px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.fe-espace .fe-tuile__libelle { font-size: 14px; font-weight: 600; color: var(--ink-subtle); }
.fe-espace .fe-tuile__valeur { margin: 0; font-family: var(--font-display); font-size: 32px; line-height: 1.1; font-weight: 800; }
.fe-espace .fe-tuile__valeur small { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--ink-subtle); }
.fe-espace .fe-tuile__detail { margin: 0; font-size: 13px; line-height: 18px; color: var(--ink-subtle); }
.fe-espace .fe-encart .fe-tuile__valeur { margin: 4px 0 6px; font-size: 28px; }
.fe-espace .fe-jauge--succes > span { background: var(--success); }
.fe-espace .fe-jauge--neutre > span { background: #3f4450; }

.fe-espace .fe-tdb__ligne { display: grid; gap: 16px; margin-bottom: 20px; align-items: stretch; }
.fe-espace .fe-tdb__ligne--2-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.fe-espace .fe-tdb__ligne--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fe-espace .fe-tdb__ligne--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.fe-espace .fe-bloc {
  display: flex; flex-direction: column; gap: 12px; padding: 20px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.fe-espace .fe-bloc__tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.fe-espace .fe-bloc__titre { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.fe-espace .fe-bloc__sous-titre { margin: 2px 0 0; font-size: 13px; color: var(--ink-subtle); }
.fe-espace .fe-bloc__pied { margin: auto 0 0; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--ink-subtle); }
.fe-espace .fe-bloc__lien-bas { margin-top: auto; }

/* Graphique en barres : 14 jours, les 7 derniers en rouge plein */
.fe-espace .fe-graphe { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; height: 200px; margin-top: 8px; }
.fe-espace .fe-graphe__axe { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 22px; font-size: 11px; color: var(--ink-muted); text-align: right; }
.fe-espace .fe-graphe__zone {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; align-items: end;
  background: repeating-linear-gradient(to top, transparent 0, transparent calc((100% - 22px) / 3 - 1px), #eceef2 calc((100% - 22px) / 3 - 1px), #eceef2 calc((100% - 22px) / 3)) 0 0 / 100% calc(100% - 22px) no-repeat;
  border-bottom: 0;
}
.fe-espace .fe-graphe__colonne { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-width: 0; }
.fe-espace .fe-graphe__barre { display: block; width: 100%; max-width: 28px; min-height: 2px; border-radius: 4px 4px 0 0; background: #e5a9b0; }
.fe-espace .fe-graphe__barre.is-recent { background: var(--brand); }
.fe-espace .fe-graphe__colonne { padding-bottom: 22px; position: relative; box-sizing: border-box; }
.fe-espace .fe-graphe__date { position: absolute; bottom: 0; font-size: 11px; color: var(--ink-muted); white-space: nowrap; }
.fe-espace .fe-graphe__legende { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--ink-subtle); }
.fe-espace .fe-graphe__legende span { display: inline-flex; align-items: center; gap: 6px; }
.fe-espace .fe-graphe__cle { width: 10px; height: 10px; border-radius: 2px; background: #e5a9b0; display: inline-block; }
.fe-espace .fe-graphe__cle.is-recent { background: var(--brand); }

.fe-espace .fe-tdb__tarifs, .fe-espace .fe-tdb__barres { display: flex; flex-direction: column; gap: 14px; }
.fe-espace .fe-tdb__barres .fe-jauge { margin-top: 6px; }
.fe-espace .fe-tdb__tarif { display: flex; flex-direction: column; gap: 6px; }
.fe-espace .fe-tdb__tarif-ligne { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.fe-espace .fe-tdb__tarif .fe-etiquette-importante { margin-left: 6px; }
.fe-espace .fe-tdb__entrees { margin-top: 4px; }
.fe-espace .fe-tdb__liste { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.fe-espace .fe-tdb__liste li { display: flex; justify-content: space-between; }
.fe-espace .fe-tdb__sources { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fe-espace .fe-tdb__sources li { display: grid; grid-template-columns: minmax(0, 1fr) 90px 36px; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.fe-espace .fe-tdb__sources li > strong { text-align: right; }

.fe-espace .fe-alertes { list-style: none; margin: 0; padding: 0; }
.fe-espace .fe-alerte { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fe-espace .fe-alerte:last-child { border-bottom: 0; }
.fe-espace .fe-alerte > div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.fe-espace .fe-alerte .fe-lien-action { font-size: 13px; white-space: normal; }
.fe-espace .fe-alerte__icone { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; }
.fe-espace .fe-alerte__icone--attention { background: var(--accent-tint); color: var(--accent-text); }
.fe-espace .fe-alerte__icone--marque { background: var(--brand-tint); color: var(--brand-text); }
.fe-espace .fe-alerte__icone--neutre { background: #eceef2; color: var(--ink); }
.fe-espace .fe-alerte__icone--succes { background: #e7f5ee; color: var(--success); }

.fe-espace .fe-tableau-defile { overflow-x: auto; min-width: 0; max-width: 100%; }
.fe-espace .fe-tableau { width: 100%; border-collapse: collapse; font-size: 14px; }
.fe-espace .fe-tableau th { padding: 10px 8px; text-align: left; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-subtle); border-bottom: 1px solid var(--line); white-space: nowrap; }
.fe-espace .fe-tableau td { padding: 12px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.fe-espace .fe-tableau tr:last-child td { border-bottom: 0; }
.fe-espace .fe-tableau .is-nombre { text-align: right; }
.fe-espace .fe-tableau__discret { color: var(--ink-subtle); }

@media (max-width: 1199.98px) {
  .fe-espace .fe-tdb__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fe-espace .fe-tdb__ligne--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 959.98px) {
  .fe-espace .fe-tdb__ligne--2-1, .fe-espace .fe-tdb__ligne--3, .fe-espace .fe-tdb__ligne--2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599.98px) {
  .fe-espace .fe-tdb__kpis { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .fe-espace .fe-tuile__valeur { font-size: 26px; }
  .fe-espace .fe-graphe__zone { gap: 3px; }
  .fe-espace .fe-tdb__fin { padding: 18px; }
  .fe-espace .fe-tdb__fin-actions, .fe-espace .fe-tdb__fin-actions .mud-button-root { width: 100%; }
}

/* ==========================================================================
   20. Statistiques détaillées — refonte, lot 3
   ========================================================================== */
.fe-espace .fe-stats__periodes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fe-espace .fe-stats__periodes .fe-suggestion { height: 38px; padding: 0 14px; font-size: 14px; }
.fe-espace .fe-stats__periodes .fe-suggestion:disabled { opacity: .6; cursor: default; }
.fe-espace .fe-stats__plage { max-width: 280px; margin: 0 !important; }
.fe-espace .fe-stats__periode-texte { margin: 8px 0 20px; font-size: 13px; color: var(--ink-subtle); }
.fe-espace .fe-stats__bloc { margin-bottom: 20px; }

/* Ventes cumulées : courbe SVG étirée, étiquettes en HTML pour garder des textes nets */
.fe-espace .fe-courbe__cadre { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; margin: 12px 8px 30px 0; }
.fe-espace .fe-courbe__axe-y { position: relative; height: 280px; font-size: 12px; color: var(--ink-muted); }
.fe-espace .fe-courbe__axe-y span { position: absolute; right: 0; transform: translateY(-50%); }
.fe-espace .fe-courbe__zone { position: relative; height: 280px; }
.fe-espace .fe-courbe { display: block; width: 100%; height: 280px; overflow: visible; }
.fe-espace .fe-courbe__grille { stroke: #eceef2; stroke-width: 1; }
.fe-espace .fe-courbe__capacite { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 8 6; }
.fe-espace .fe-courbe__ligne { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.fe-espace .fe-courbe__point { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--brand); }
.fe-espace .fe-courbe__etiquette { position: absolute; right: 0; transform: translateY(-130%); font-size: 13px; font-weight: 800; background: var(--surface); padding: 0 4px; }
.fe-espace .fe-courbe__etiquette--fin { right: 14px; transform: translateY(-160%); }
.fe-espace .fe-courbe__axe-x { position: absolute; left: 0; right: 0; top: calc(100% + 8px); height: 20px; font-size: 12px; color: var(--ink-muted); }
.fe-espace .fe-courbe__axe-x span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.fe-espace .fe-courbe__axe-x span:first-child { transform: none; }

.fe-espace .fe-stats__libelle-barre { display: block; font-weight: 600; }
.fe-espace .fe-stats__mini-jauge { display: block; width: 100%; max-width: 200px; height: 5px; margin-top: 6px; }

/* Moments d'achat : 24 barres */
.fe-espace .fe-stats__heures { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 4px; align-items: end; height: 150px; border-bottom: 1px solid var(--line); }
.fe-espace .fe-stats__heure { height: 100%; display: flex; align-items: flex-end; }
.fe-espace .fe-stats__heure .fe-graphe__barre { max-width: none; }
.fe-espace .fe-graphe__barre.is-neutre { background: #3f4450; }
.fe-espace .fe-stats__heures-axe { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-muted); }
.fe-espace .fe-stats__constat { margin: 4px 0 0; font-size: 14px; font-weight: 700; }

/* Paiements : barre empilée */
.fe-espace .fe-stats__empile { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: #eceef2; gap: 2px; }
.fe-espace .fe-stats__empile span { display: block; height: 100%; }
.fe-espace .fe-stats__empile .is-payee, .fe-espace .fe-stats__cle.is-payee { background: var(--success); }
.fe-espace .fe-stats__empile .is-attente, .fe-espace .fe-stats__cle.is-attente { background: var(--accent); }
.fe-espace .fe-stats__empile .is-echec, .fe-espace .fe-stats__cle.is-echec { background: #c9ccd3; }
.fe-espace .fe-stats__cle { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

@media (max-width: 599.98px) {
  .fe-espace .fe-courbe__cadre { grid-template-columns: 34px minmax(0, 1fr); gap: 6px; }
  .fe-espace .fe-courbe__axe-y, .fe-espace .fe-courbe { height: 200px; }
  .fe-espace .fe-courbe__zone { height: 200px; }
  .fe-espace .fe-courbe__axe-x span:nth-child(even) { display: none; }
  .fe-espace .fe-stats__heures { gap: 2px; height: 120px; }
  .fe-espace .fe-stats__plage { max-width: none; flex-basis: 100%; }
}

/* ==========================================================================
   21. Formulaire en sections : sommaire, sections, barre d'enregistrement — refonte, lots 0 et 4
   ========================================================================== */
.fe-espace .fe-form-sections { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; }
.fe-espace .fe-form-sections__contenu { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.fe-espace .fe-sommaire { position: sticky; top: calc(var(--entete-hauteur) + 24px); }
.fe-espace .fe-sommaire ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.fe-espace .fe-sommaire__lien {
  display: flex; align-items: center; justify-content: flex-start; gap: 8px; width: 100%; margin-left: -2px; padding: 8px 12px; border: 0; border-left: 2px solid transparent;
  background: none; text-align: left; cursor: pointer; font: 700 14px var(--font-body); color: var(--ink-subtle);
}
.fe-espace .fe-sommaire__lien:hover { color: var(--ink); }
.fe-espace .fe-sommaire__lien.is-actif { border-left-color: var(--brand); color: var(--brand-text); }
.fe-espace .fe-sommaire__erreur { width: 7px; height: 7px; border-radius: 50%; background: var(--error); }

.fe-espace .fe-section-form {
  scroll-margin-top: calc(var(--entete-hauteur) + 20px);
  padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.fe-espace .fe-section-form__tete { margin-bottom: 16px; }
.fe-espace .fe-section-form__titre { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 800; outline: none; }
.fe-espace .fe-section-form__description { margin: 4px 0 0; font-size: 13px; color: var(--ink-subtle); }
.fe-espace .fe-section-form__corps { display: flex; flex-direction: column; gap: 18px; }
.fe-espace .fe-section-form__corps .mud-input-control { margin: 0; }
.fe-espace .fe-champ-aide { margin: -8px 0 0; font-size: 12px; color: var(--ink-subtle); }

.fe-espace .fe-barre-enreg__espace { height: 88px; }
.fe-espace .fe-barre-enreg {
  position: fixed; left: var(--menu-largeur); right: 0; bottom: 0; z-index: 1000; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11, 11, 13, .06);
}
.fe-espace.is-reduit .fe-barre-enreg { left: var(--rail-largeur); }
.fe-espace--compte .fe-barre-enreg, .fe-espace--creation .fe-barre-enreg { left: 0; }
.fe-espace .fe-barre-enreg__etat { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.fe-espace .fe-barre-enreg__point { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.fe-espace .fe-barre-enreg__actions { display: flex; gap: 8px; }
.fe-espace .fe-barre-enreg .mud-button-root { height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 800; }

/* Visuel : affiche actuelle et dépôt d'une nouvelle */
.fe-espace .fe-visuel { display: flex; gap: 16px; align-items: stretch; }
.fe-espace .fe-visuel__actuel { margin: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; flex: none; }
.fe-espace .fe-visuel__actuel img { width: 136px; height: 170px; object-fit: cover; border-radius: 12px; background: var(--night); }
.fe-espace .fe-visuel__depot { flex: 1 1 auto; }
.fe-espace .fe-visuel__depot .fe-depot { height: 100%; justify-content: center; box-sizing: border-box; }
.fe-espace .fe-lien-action--danger { color: var(--error); }

/* Description : zone de texte avec barre Gras / Lien */
.fe-espace .fe-editeur { border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: var(--surface); }
.fe-espace .fe-editeur:focus-within { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.fe-espace .fe-editeur__outils { display: flex; gap: 4px; padding: 6px 8px; background: var(--surface-alt); border-bottom: 1px solid var(--line); }
.fe-espace .fe-editeur__outil {
  width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none;
  cursor: pointer; font: 800 15px var(--font-body); color: var(--ink);
}
.fe-espace .fe-editeur__outil:hover { background: #e9eaee; }
.fe-espace .fe-editeur__zone {
  display: block; width: 100%; min-height: 160px; box-sizing: border-box; padding: 12px 14px; border: 0; outline: none; resize: vertical;
  font: 500 15px/1.6 var(--font-body); color: var(--ink); background: transparent;
}

/* Infos pratiques */
.fe-espace .fe-info-pratique {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px;
}
.fe-espace .fe-info-pratique > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; }
.fe-espace .fe-info-pratique span { color: var(--ink-subtle); font-size: 13px; overflow-wrap: anywhere; }
.fe-espace .fe-ajout {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px;
  border: 1.5px dashed var(--line-strong); border-radius: 10px; background: none; cursor: pointer; font: 800 14px var(--font-body); color: var(--ink);
}
.fe-espace .fe-ajout:hover { background: var(--surface-alt); }

@media (max-width: 959.98px) {
  .fe-espace .fe-form-sections { grid-template-columns: minmax(0, 1fr); }
  .fe-espace .fe-sommaire { display: none; }
  .fe-espace .fe-barre-enreg, .fe-espace.is-reduit .fe-barre-enreg { left: 0; padding: 10px 16px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
}
@media (max-width: 599.98px) {
  .fe-espace .fe-section-form { padding: 18px 16px; }
  .fe-espace .fe-visuel { flex-direction: column; }
  .fe-espace .fe-barre-enreg__actions { width: 100%; }
  .fe-espace .fe-barre-enreg__actions .mud-button-root { flex: 1 1 auto; }
}

/* ==========================================================================
   22. Tarifs et mise en vente, formulaire d'un tarif — refonte, lot 4
   ========================================================================== */
.fe-espace .fe-tarifs__resume { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.fe-espace .fe-tarifs__reglage {
  display: flex; align-items: center; gap: 14px; min-width: 0; padding: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.fe-espace .fe-tarifs__reglage-icone { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--surface-alt); color: var(--ink); }
.fe-espace .fe-tarifs__reglage-textes { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fe-espace .fe-tarifs__reglage-libelle { font-size: 13px; font-weight: 600; color: var(--ink-subtle); }
.fe-espace .fe-tarifs__reglage-valeur { font-size: 17px; line-height: 1.3; font-weight: 800; }
.fe-espace .fe-tarifs__reglage .mud-button-root { flex: none; height: 40px; border-radius: 10px; font-weight: 800; border-color: var(--line-strong); }

.fe-espace .fe-tarifs__liste { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.fe-espace .fe-tarifs__squelette-ligne { display: flex; gap: 24px; align-items: center; padding: 18px 16px; border-bottom: 1px solid var(--line); }
.fe-espace .fe-tarifs__squelette-ligne:last-child { border-bottom: 0; }
.fe-espace .fe-tarifs__tableau th { padding: 14px 16px; background: var(--surface-alt); }
.fe-espace .fe-tarifs__tableau td { padding: 14px 16px; vertical-align: middle; }
.fe-espace .fe-tarifs__nom { white-space: normal !important; min-width: 180px; }
.fe-espace .fe-tarifs__nom a { display: block; font-size: 15px; font-weight: 800; color: var(--ink); text-decoration: none; }
.fe-espace .fe-tarifs__nom a:hover { text-decoration: underline; }
.fe-espace .fe-tarifs__nom span { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-subtle); }
.fe-espace .fe-tarifs__prix { font-weight: 800; }
.fe-espace .fe-tarifs__ventes { width: 220px; }
.fe-espace .fe-tarifs__ventes-nombre { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 800; }
.fe-espace .fe-tarifs__mise-en-vente { white-space: normal !important; min-width: 180px; }
.fe-espace .fe-tarifs__actions { width: 48px; text-align: right; }
.fe-espace .fe-tarifs__menu .mud-icon-button { border-radius: 10px; }

.fe-espace .fe-tarifs__cartes { display: none; list-style: none; margin: 0; padding: 0; flex-direction: column; gap: 12px; }
.fe-espace .fe-tarifs__carte {
  display: flex; flex-direction: column; gap: 10px; padding: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.fe-espace .fe-tarifs__carte-tete { display: flex; align-items: center; gap: 8px; }
.fe-espace .fe-tarifs__carte-nom { flex: 1 1 auto; min-width: 0; font-size: 16px; font-weight: 800; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.fe-espace .fe-tarifs__carte-tete .fe-tarifs__menu { margin: -8px -8px -8px 0; }
.fe-espace .fe-tarifs__carte-ligne { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.fe-espace .fe-tarifs__carte-note { font-size: 13px; color: var(--ink-subtle); }

/* Statut d'un tarif */
.fe-espace .fe-statut-tarif {
  display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; box-sizing: border-box;
  border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; background: #eceef2; color: var(--ink-subtle);
}
.fe-espace .fe-statut-tarif .mud-icon-root { font-size: 15px; }
.fe-espace .fe-statut-tarif--en-vente { background: #e7f5ee; color: var(--success); }
.fe-espace .fe-statut-tarif--en-vente::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.fe-espace .fe-statut-tarif--programme { background: var(--accent-tint); color: var(--accent-text); }
.fe-espace .fe-statut-tarif--epuise { background: var(--night); color: #ffffff; }
.fe-espace .fe-statut-tarif--brouillon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }

/* Dialogues Capacité totale et Période de vente */
.fe-espace .fe-dialogue__champs { display: flex; flex-direction: column; gap: 16px; }
.fe-espace .fe-dialogue__champs .mud-input-control { margin: 0; }
.fe-espace .fe-dialogue__champs .fe-dialogue__note { margin: 0; }

/* Formulaire d'un tarif */
.fe-espace .fe-retour {
  display: inline-flex; align-items: center; gap: 2px; margin: 0 0 6px -4px;
  font-size: 14px; font-weight: 800; color: var(--brand-text); text-decoration: none;
}
.fe-espace .fe-retour:hover { text-decoration: underline; }
.fe-espace .fe-tarif-form { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.fe-espace .fe-tarif-form__sections { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.fe-espace .fe-tarif-form__apercu { position: sticky; top: calc(var(--entete-hauteur) + 24px); display: flex; flex-direction: column; gap: 16px; }
.fe-espace .fe-tarif-form__panier.fe-co__body { padding: 0; gap: 12px; }
.fe-espace .fe-tarif-form__panier { display: flex; flex-direction: column; gap: 12px; }
.fe-espace .fe-tarif-form__chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px 20px; }
.fe-espace .fe-tarif-form__chiffres span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-subtle); }
.fe-espace .fe-tarif-form__chiffres strong { font-family: var(--font-display); font-size: 22px; font-weight: 800; }
.fe-espace .fe-tarif-form__groupe .fe-creation__libelle { margin-bottom: 8px; }
.fe-espace .fe-tarif-form__prix { max-width: 280px; }
.fe-espace .fe-tarif-form__suppression { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fe-espace .fe-tarif-form__suppression-titre { margin: 0; font-size: 16px; font-weight: 800; }
.fe-espace .fe-tarif-form__suppression-texte { margin: 4px 0 0; font-size: 13px; line-height: 20px; color: var(--ink-subtle); }
.fe-espace .fe-tarif-form__suppression .mud-button-root { flex: none; height: 44px; border-radius: 12px; font-weight: 800; }
.fe-espace .fe-note-succes { margin: 0; padding: 12px 14px; border-radius: 12px; background: #e7f5ee; color: var(--success); font-size: 14px; font-weight: 600; line-height: 20px; }

/* Choix en segments (Payant / Gratuit) */
.fe-espace .fe-segment { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-alt); }
.fe-espace .fe-segment__option {
  height: 38px; padding: 0 18px; border: 0; border-radius: 9px; background: transparent; cursor: pointer;
  font: 700 14px var(--font-body); color: var(--ink-subtle);
}
.fe-espace .fe-segment__option.is-actif { background: var(--surface); color: var(--ink); font-weight: 800; box-shadow: 0 1px 2px rgba(11, 11, 13, .12); }
.fe-espace .fe-segment__option:disabled { cursor: default; }

/* Choix en cartes (période de vente) */
.fe-espace .fe-choix { display: flex; flex-direction: column; gap: 8px; }
.fe-espace .fe-choix__option {
  display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 13px 15px; box-sizing: border-box; text-align: left;
  border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); cursor: pointer; font-family: var(--font-body); color: var(--ink);
}
.fe-espace .fe-choix__option.is-actif { padding: 12px 14px; border: 2px solid var(--brand); background: var(--brand-tint); }
.fe-espace .fe-choix__option:disabled { cursor: default; }
.fe-espace .fe-choix__point { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--line-strong); box-sizing: border-box; background: var(--surface); }
.fe-espace .fe-choix__option.is-actif .fe-choix__point { border: 6px solid var(--brand); }
.fe-espace .fe-choix__textes { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fe-espace .fe-choix__textes strong { font-size: 15px; font-weight: 800; }
.fe-espace .fe-choix__textes span { font-size: 13px; color: var(--ink-subtle); }

@media (max-width: 959.98px) {
  .fe-espace .fe-tarifs__resume { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .fe-espace .fe-tarifs__liste--tableau { display: none; }
  .fe-espace .fe-tarifs__cartes { display: flex; }
  .fe-espace .fe-tarif-form { grid-template-columns: minmax(0, 1fr); }
  .fe-espace .fe-tarif-form__apercu { position: static; }
}
@media (max-width: 599.98px) {
  .fe-espace .fe-tarifs__reglage-valeur { font-size: 16px; }
  .fe-espace .fe-tarif-form__suppression { flex-direction: column; align-items: stretch; }
  .fe-espace .fe-tarif-form__prix { max-width: none; }
}

/* ==========================================================================
   23. Visuel des billets, Paiement et billets — refonte, lot 4
   ========================================================================== */
.fe-espace .fe-page--moyenne { max-width: 908px; }

/* Billet à l'échelle de BilletReport.rdlc (14,9 × 6 cm) : positions du rapport, en pourcentage */
.fe-espace .fe-billet {
  position: relative; container-type: inline-size; width: 100%; aspect-ratio: 563 / 227; overflow: hidden; box-sizing: border-box;
  background: #ffffff; border: 1px solid var(--line); border-radius: 4px; font-family: "Century Gothic", "Manrope", sans-serif; color: #000000;
}
.fe-espace .fe-billet__fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left top; }
.fe-espace .fe-billet__numero {
  position: absolute; left: 79.4%; top: 6.9%; width: 17.8%; height: 11.1%; display: grid; place-items: center;
  background: #ffffff; font-size: 2.4cqw; line-height: 1; white-space: nowrap; overflow: hidden;
}
.fe-espace .fe-billet__qr { position: absolute; left: 79.4%; top: 42.1%; width: 17.8%; height: 43.8%; object-fit: contain; background: #ffffff; }
.fe-espace .fe-billet__site {
  position: absolute; left: 79.4%; top: 85.9%; width: 17.8%; height: 7.2%; display: grid; place-items: center;
  background: #ffffff; font-size: 1.9cqw; line-height: 1; white-space: nowrap;
}
.fe-espace .fe-billet--squelette { border: 0; background: #e9eaee; }
.fe-espace .fe-billet--chargement { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-body); font-size: 14px; color: var(--ink-subtle); }

.fe-espace .fe-visuels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.fe-espace .fe-visuel-carte {
  display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.fe-espace .fe-visuel-carte__pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fe-espace .fe-visuel-carte__textes { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fe-espace .fe-visuel-carte__textes strong { font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }
.fe-espace .fe-visuel-carte__etat { font-size: 13px; font-weight: 700; }
.fe-espace .fe-visuel-carte__etat.is-ok { color: var(--success); }
.fe-espace .fe-visuel-carte__etat.is-attention { color: var(--accent-text); }
.fe-espace .fe-visuel-carte .mud-button-root { flex: none; height: 40px; border-radius: 10px; font-weight: 800; border-color: var(--line-strong); }

.fe-espace .mud-dialog.fe-visuel-dialogue { max-width: 660px; }
.fe-espace .fe-visuel-dialogue .fe-dialogue__tete { justify-content: space-between; }
.fe-espace .fe-dialogue__fermer.mud-icon-button { margin: -6px -8px 0 0; border-radius: 10px; background: var(--surface-alt); }
.fe-espace .fe-visuel-dialogue__cadre { max-width: 563px; margin: 0 auto; }
.fe-espace .fe-visuel-dialogue__actions { flex-wrap: wrap; }
.fe-espace .fe-visuel-dialogue__formats { flex: 1 1 auto; font-size: 13px; font-weight: 600; color: var(--ink-subtle); }

/* Moyens de paiement */
.fe-espace .fe-moyens { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.fe-espace .fe-moyen { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fe-espace .fe-moyens .fe-moyen:last-child { border-bottom: 0; }
.fe-espace .fe-section-form > .fe-moyen:last-child { border-bottom: 0; }
.fe-espace .fe-moyen__logo { width: 44px; height: 44px; flex: none; box-sizing: border-box; border-radius: 10px; object-fit: contain; padding: 4px; background: #ffffff; border: 1px solid var(--line); }
.fe-espace .fe-moyen__logo--texte { background: var(--surface-alt); border-color: transparent; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--ink); }
.fe-espace .fe-moyen__textes { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fe-espace .fe-moyen__textes strong { font-size: 15px; font-weight: 800; }
.fe-espace .fe-moyen__textes span { font-size: 13px; color: var(--ink-subtle); }
.fe-espace .fe-moyen__textes .fe-moyen__note { color: var(--accent-text); font-weight: 600; }
.fe-espace .fe-moyens__autres { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; }
.fe-espace .fe-moyens__pays { margin: 4px 0 -8px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-subtle); }

/* Numéro des billets : deux choix côte à côte */
.fe-espace .fe-choix--duo { flex-direction: row; }
.fe-espace .fe-choix--duo .fe-choix__option { flex: 1 1 0; }
.fe-espace .fe-choix__textes .fe-choix__exemple { font-weight: 700; letter-spacing: .02em; }
.fe-espace .fe-champ-aide--apres { margin-top: -6px; }

/* Encart avec lien (« Où arrive l'argent ? ») */
.fe-espace .fe-encart-lien { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.fe-espace .fe-encart-lien__icone { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--surface-alt); }
.fe-espace .fe-encart-lien__textes { flex: 1 1 auto; min-width: 0; }
.fe-espace .fe-encart-lien__textes h2 { margin: 0; font-size: 15px; font-weight: 800; }
.fe-espace .fe-encart-lien__textes p { margin: 2px 0 0; font-size: 13px; color: var(--ink-subtle); }

@media (max-width: 599.98px) {
  .fe-espace .fe-visuels { grid-template-columns: minmax(0, 1fr); }
  .fe-espace .fe-choix--duo { flex-direction: column; }
  .fe-espace .fe-encart-lien { flex-wrap: wrap; }
  .fe-espace .fe-visuel-dialogue__formats { flex-basis: 100%; }
}

/* ==========================================================================
   24. Administration : réseaux de paiement et leurs logos
   ========================================================================== */
.fe-espace .fe-reseau { display: flex; align-items: center; gap: 12px; min-width: 200px; }
.fe-espace .fe-reseau__textes { display: flex; flex-direction: column; gap: 2px; }
.fe-espace .fe-reseau__textes strong { font-size: 15px; font-weight: 800; }
.fe-espace .fe-reseaux__operateurs { white-space: normal !important; min-width: 220px; }
.fe-espace .fe-reseaux__tableau .mud-button-root { height: 40px; border-radius: 10px; font-weight: 800; border-color: var(--line-strong); white-space: nowrap; }

.fe-espace .fe-logo-apercus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fe-espace .fe-logo-apercu {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 128px; padding: 16px 16px 34px;
  border: 1px solid var(--line); border-radius: 14px; background: #ffffff;
}
.fe-espace .fe-logo-apercu--sombre { background: var(--night); border-color: var(--night); }
.fe-espace .fe-logo-apercu__grand { width: 64px; height: 64px; object-fit: contain; }
.fe-espace .fe-logo-apercu__petit { width: 28px; height: 28px; object-fit: contain; }
.fe-espace .fe-logo-apercu__vide { font-size: 14px; font-weight: 800; color: var(--ink-subtle); }
.fe-espace .fe-logo-apercu--sombre .fe-logo-apercu__vide { color: #c9ccd3; }
.fe-espace .fe-logo-apercu__legende { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: 11px; font-weight: 700; color: var(--ink-subtle); }
.fe-espace .fe-logo-apercu--sombre .fe-logo-apercu__legende { color: #a1a1aa; }
.fe-espace .fe-logo-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.fe-espace .fe-logo-actions .mud-button-root { height: 40px; border-radius: 10px; font-weight: 800; }

@media (max-width: 599.98px) {
  .fe-espace .fe-logo-apercus { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   25. Page de vente et visibilité — refonte, lot 4
   ========================================================================== */
/* Adresse : préfixe du domaine, saisie, état de la vérification */
.fe-espace .fe-adresse {
  display: flex; align-items: stretch; min-height: 48px; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface);
}
.fe-espace .fe-adresse:focus-within { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.fe-espace .fe-adresse.is-erreur { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.fe-espace .fe-adresse__prefixe {
  display: flex; align-items: center; padding: 0 12px; flex: none; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background: var(--surface-alt); border-right: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--ink-subtle);
}
.fe-espace .fe-adresse__champ {
  flex: 1 1 auto; min-width: 0; padding: 0 12px; border: 0; outline: none; background: transparent;
  font: 700 15px var(--font-body); color: var(--ink);
}
.fe-espace .fe-adresse__etat { display: inline-flex; align-items: center; gap: 4px; padding: 0 12px; flex: none; font-size: 13px; font-weight: 800; color: var(--success); }
.fe-espace .fe-adresse__etat .mud-icon-root { font-size: 16px; }

/* Partager */
.fe-espace .fe-partage__lien {
  display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 14px;
  border: 1px solid var(--line-strong); border-radius: 12px;
}
.fe-espace .fe-partage__adresse { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 700; }
.fe-espace .fe-partage__lien .mud-button-root { flex: none; height: 40px; border-radius: 10px; font-weight: 800; background: var(--night); color: #ffffff; }
.fe-espace .fe-partage__boutons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fe-espace .fe-partage__boutons .mud-button-root { height: 46px; border-radius: 12px; font-weight: 800; border-color: var(--line-strong); text-decoration: none; }
.fe-espace .fe-partage__qr { display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }

/* Aperçu du partage (carte WhatsApp / Facebook) */
.fe-espace .fe-partage-apercu { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.fe-espace .fe-partage-apercu__image { aspect-ratio: 1.91 / 1; background: var(--night); }
.fe-espace .fe-partage-apercu__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fe-espace .fe-partage-apercu__image.is-vide {
  display: flex; align-items: flex-end; padding: 14px; box-sizing: border-box;
  background: linear-gradient(135deg, #83000e 0%, #3a0006 45%, #a35c00 100%);
  font-family: var(--font-display); font-size: 22px; font-weight: 800; color: #ffffff; text-transform: uppercase;
}
.fe-espace .fe-partage-apercu__textes { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; background: var(--surface-alt); }
.fe-espace .fe-partage-apercu__textes strong { font-size: 14px; font-weight: 800; line-height: 1.3; }
.fe-espace .fe-partage-apercu__textes span { font-size: 13px; color: var(--ink-subtle); }
.fe-espace .fe-partage-apercu__textes .fe-partage-apercu__site { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--ink-muted); }

@media (max-width: 599.98px) {
  .fe-espace .fe-partage__boutons { grid-template-columns: minmax(0, 1fr); }
  .fe-espace .fe-adresse__prefixe { font-size: 14px; padding: 0 8px; }
}

/* ==========================================================================
   26. Vendre : WhatsApp, impression de stock, invitations — refonte, lot 5
   ========================================================================== */
.fe-espace .fe-info {
  display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; padding: 12px 16px;
  border-radius: 14px; background: var(--accent-tint); color: var(--ink); font-size: 14px; font-weight: 700; line-height: 21px;
}
.fe-espace .fe-info .mud-icon-root { flex: none; margin-top: 1px; color: var(--ink); }

.fe-espace .fe-choix--grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.fe-espace .fe-choix--grille .fe-choix__option:disabled { opacity: .55; background: var(--surface-alt); }

.fe-espace .fe-recap { display: flex; flex-direction: column; gap: 10px; }
.fe-espace .fe-recap__titre { margin: 0 0 4px; font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.fe-espace .fe-recap__ligne { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.fe-espace .fe-recap__ligne span { color: var(--ink-subtle); }
.fe-espace .fe-recap__total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 6px 0 6px; padding-top: 14px;
  border-top: 1.5px dashed var(--line); font-size: 15px; font-weight: 800;
}
.fe-espace .fe-recap__total strong { font-family: var(--font-display); font-size: 26px; }
.fe-espace .fe-recap .mud-button-root { height: 48px; border-radius: 12px; font-weight: 800; }

.fe-espace .fe-impressions { margin-top: 24px; }
.fe-espace .fe-impressions__tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 16px 12px; }
.fe-espace .fe-impressions__tete h2 { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.fe-espace .fe-impressions__tete span { font-size: 13px; color: var(--ink-subtle); }
.fe-espace .fe-impressions__etat { min-width: 200px; }
.fe-espace .fe-impressions .mud-button-root { height: 40px; border-radius: 10px; font-weight: 800; border-color: var(--line-strong); }
.fe-espace .fe-statut-tarif--erreur { background: #fdecea; color: var(--error); }

.fe-espace .fe-section-form__tete--action { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fe-espace .fe-section-form__tete--action .mud-button-root { height: 40px; border-radius: 10px; font-weight: 800; border-color: var(--line-strong); }

/* Vente sur WhatsApp */
.fe-espace .fe-etapes-liste { list-style: none; margin: 0; padding: 0; counter-reset: etape; display: flex; flex-direction: column; gap: 16px; }
.fe-espace .fe-etapes-liste li { position: relative; padding-left: 42px; display: flex; flex-direction: column; gap: 2px; counter-increment: etape; }
.fe-espace .fe-etapes-liste li::before {
  content: counter(etape); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--night); color: #ffffff; font-size: 13px; font-weight: 800;
}
.fe-espace .fe-etapes-liste strong { font-size: 15px; font-weight: 800; }
.fe-espace .fe-etapes-liste span { font-size: 14px; color: var(--ink-subtle); }

.fe-espace .fe-conversation { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 14px; background: #efeae2; }
.fe-espace .fe-conversation__bulle {
  margin: 0; max-width: 88%; padding: 10px 12px; border-radius: 10px; background: #ffffff;
  font-size: 14px; line-height: 21px; overflow-wrap: anywhere; box-shadow: 0 1px 1px rgba(11, 11, 13, .08);
}
.fe-espace .fe-conversation__bulle--envoyee { align-self: flex-end; background: #d9fdd3; }
.fe-espace .fe-qr-test { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fe-espace .fe-qr-test img { width: 160px; height: 160px; }
.fe-espace .fe-qr-test strong { font-size: 14px; font-weight: 800; }

/* ==========================================================================
   27. Codes de réduction — refonte, lot 5
   ========================================================================== */
.fe-espace .fe-codes__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.fe-espace .fe-codes__discret { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-subtle); }
.fe-espace .fe-codes__utilisation { display: flex; flex-direction: column; gap: 6px; min-width: 120px; font-size: 14px; font-weight: 700; }

.fe-espace .fe-code-puce {
  display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; padding: 0 2px 0 10px; height: 30px;
  border: 1px dashed var(--line-strong); border-radius: 8px; background: var(--surface-alt);
}
.fe-espace .fe-code-puce code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--ink); }
.fe-espace .fe-code-puce .mud-icon-button { padding: 4px; }
.fe-espace .fe-tarifs__carte .fe-code-puce { margin-top: 0; }

.fe-espace .fe-codes__saisie { display: flex; align-items: flex-start; gap: 12px; }
.fe-espace .fe-codes__saisie .mud-input-control { flex: 1 1 auto; margin: 0; }
.fe-espace .fe-codes__saisie > .mud-button-root { flex: none; height: 56px; border-radius: 12px; font-weight: 800; border-color: var(--line-strong); }
.fe-espace .fe-input--upper input { text-transform: uppercase; }

.fe-espace .fe-codes__tarifs { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.fe-espace .fe-codes__tarif { display: flex; flex-direction: column; line-height: 1.3; }
.fe-espace .fe-codes__tarif strong { font-size: 15px; font-weight: 800; }
.fe-espace .fe-codes__tarif span { font-size: 13px; color: var(--ink-subtle); }

@media (max-width: 959.98px) {
  .fe-espace .fe-codes__kpis { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599.98px) {
  .fe-espace .fe-codes__saisie { flex-direction: column; align-items: stretch; }
  .fe-espace .fe-codes__saisie > .mud-button-root { height: 44px; }
}

/* ==========================================================================
   28. Badge « J'y serai » — refonte, lot 5
   ========================================================================== */
.fe-espace .fe-jysp { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; align-items: start; }
.fe-espace .fe-jysp__fichier img {
  width: 64px; height: 64px; object-fit: contain; border-radius: 10px; border: 1px solid var(--line);
  background: repeating-conic-gradient(#eceef2 0 25%, #ffffff 0 50%) 0 0 / 16px 16px;
}
.fe-espace .fe-jysp__fichier .fe-depot__infos { flex: 1 1 auto; }
.fe-espace .fe-jysp__fichier .fe-depot__infos span { font-size: 12px; color: var(--ink-subtle); }
.fe-espace .fe-jysp__fichier-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.fe-espace .fe-jysp__fichier-actions .mud-button-root { height: 38px; border-radius: 10px; font-weight: 800; }
.fe-espace .fe-jysp__fichier-actions .mud-button-outlined { border-color: var(--line-strong); }

.fe-espace .fe-jysp__controles { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fe-espace .fe-jysp__controles li { display: flex; align-items: flex-start; gap: 10px; }
.fe-espace .fe-jysp__pastille {
  flex: none; width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center;
  background: var(--surface-alt); color: #8a909c;
}
.fe-espace .fe-jysp__pastille .mud-icon-root { font-size: 16px; }
.fe-espace .fe-jysp__pastille--ok { background: #e7f5ee; color: var(--success); }
.fe-espace .fe-jysp__pastille--ko { background: #fdecea; color: var(--error); }
.fe-espace .fe-jysp__pastille--attention { background: var(--accent-tint); color: var(--accent-text); }
.fe-espace .fe-jysp__controle { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 20px; }
.fe-espace .fe-jysp__controle strong { font-weight: 700; }
.fe-espace .fe-jysp__controle span { font-size: 12px; line-height: 17px; color: var(--ink-subtle); }

.fe-espace .fe-jysp__apercu { position: sticky; top: calc(var(--entete-hauteur) + 24px); display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.fe-espace .fe-jysp__apercu .fe-creation__apercu-titre { margin: 0; }
.fe-espace .fe-jysp__panneau { background: transparent; }
/* « Retour à mes billets » n'a pas de sens dans l'espace organisateur. */
.fe-espace .fe-jysp__panneau .fe-co__center { display: none; }
.fe-espace .fe-jysp__vide {
  aspect-ratio: 1; max-width: 340px; width: 100%; align-self: center; box-sizing: border-box; padding: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  border-radius: 16px; background: var(--surface-alt); color: var(--ink-subtle); font-size: 13px; font-weight: 700;
}

@media (max-width: 959.98px) {
  .fe-espace .fe-jysp { grid-template-columns: minmax(0, 1fr); }
  .fe-espace .fe-jysp__apercu { position: static; }
}
@media (max-width: 599.98px) {
  .fe-espace .fe-jysp__fichier { flex-wrap: wrap; }
  .fe-espace .fe-jysp__fichier-actions { width: 100%; justify-content: flex-end; }
}

/* ==========================================================================
   29. Affiliation : programmes, ambassadeurs, Mes affiliations — refonte, lot 5
   ========================================================================== */
.fe-espace .fe-lien-copiable {
  display: inline-flex; align-items: center; gap: 4px; max-width: 100%; min-width: 0; height: 36px; box-sizing: border-box;
  padding: 0 2px 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-alt);
}
.fe-espace .fe-lien-copiable__texte { flex: 1 1 auto; min-width: 0; max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 700; }
.fe-espace .fe-lien-copiable--large { display: flex; height: 44px; padding: 4px 4px 4px 12px; border-color: var(--line-strong); background: var(--surface); }
.fe-espace .fe-lien-copiable--large .fe-lien-copiable__texte { max-width: none; }
.fe-espace .fe-lien-copiable--large .mud-button-root { flex: none; height: 34px; border-radius: 8px; font-weight: 800; }

.fe-espace .fe-ambassadeurs__actions { white-space: nowrap; text-align: right; }
.fe-espace .fe-ambassadeurs__actions .mud-button-root { height: 34px; border-radius: 10px; font-weight: 800; }
.fe-espace .fe-ambassadeurs__actions .mud-button-outlined { border-color: var(--line-strong); }
.fe-espace .fe-ambassadeurs__code { display: block; font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.fe-espace .fe-ambassadeurs__chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fe-espace .fe-ambassadeurs__chiffres > span { display: flex; flex-direction: column; gap: 2px; }
.fe-espace .fe-ambassadeurs__chiffres > span > span { font-size: 12px; font-weight: 600; color: var(--ink-subtle); }
.fe-espace .fe-ambassadeurs__chiffres strong { font-size: 15px; font-weight: 800; }
.fe-espace .fe-tarifs__carte > .mud-button-root { height: 44px; border-radius: 12px; font-weight: 800; border-color: var(--line-strong); }
.fe-espace .fe-tarifs__carte .fe-lien-copiable { width: 100%; }
.fe-espace .fe-tarifs__carte .fe-lien-copiable__texte { max-width: none; }

.fe-espace .fe-versement { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--surface-alt); display: flex; flex-direction: column; gap: 8px; }
.fe-espace .fe-versement > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.fe-espace .fe-versement dt { color: var(--ink-subtle); font-weight: 600; }
.fe-espace .fe-versement dd { margin: 0; font-weight: 800; text-align: right; overflow-wrap: anywhere; }

.fe-espace .fe-affiliations { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: 16px; }
.fe-espace .fe-affiliation { display: flex; flex-direction: column; gap: 14px; padding: 18px; min-width: 0; }
.fe-espace .fe-affiliation__tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.fe-espace .fe-affiliation__titres { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fe-espace .fe-affiliation__titre { margin: 0; font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 800; overflow-wrap: anywhere; }
.fe-espace .fe-affiliation__meta { font-size: 12px; line-height: 17px; color: var(--ink-subtle); }
.fe-espace .fe-affiliation__lien { display: flex; flex-direction: column; gap: 6px; }
.fe-espace .fe-affiliation__lien .fe-creation__libelle { margin: 0; }
.fe-espace .fe-affiliation__partage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fe-espace .fe-affiliation__partage .mud-button-root { height: 46px; border-radius: 12px; font-weight: 800; border-color: var(--line-strong); }
.fe-espace .fe-affiliation__chiffres {
  margin: 0; padding-top: 12px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; font-size: 13px;
}
.fe-espace .fe-affiliation__chiffres > div { display: flex; flex-direction: column; gap: 2px; }
.fe-espace .fe-affiliation__chiffres dt { color: var(--ink-subtle); font-weight: 600; }
.fe-espace .fe-affiliation__chiffres dd { margin: 0; font-size: 16px; font-weight: 800; }
.fe-espace .fe-affiliation__chiffres dd.is-attente { color: var(--accent-text); }
.fe-espace .fe-affiliations__vide-titre { margin: 0 0 6px; font-size: 18px; font-weight: 800; color: var(--ink); }

/* ==========================================================================
   30. Commandes et ajout de participant — refonte, lot 6
   ========================================================================== */
.fe-espace .fe-filtres { display: flex; flex-wrap: wrap; gap: 10px; margin: -8px 0 16px; }
.fe-espace .fe-filtres__champ { flex: 0 1 200px; margin: 0 !important; background: var(--surface); border-radius: 12px; }
.fe-espace .fe-filtres__champ .mud-input-outlined-border { border-radius: 12px; }

.fe-espace .fe-commandes__tableau td { vertical-align: middle; }
.fe-espace .fe-commandes__numero { white-space: nowrap; }
.fe-espace .fe-commandes__numero span { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-subtle); }
.fe-espace .fe-commandes__lien {
  padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
  font: 800 14px var(--font-body); color: var(--ink); letter-spacing: .02em;
}
.fe-espace .fe-commandes__lien:hover { text-decoration: underline; }
.fe-espace .fe-commandes__lien:focus-visible { outline: 2px solid var(--focus, var(--brand)); outline-offset: 2px; border-radius: 4px; }
.fe-espace .fe-commandes__client { display: block; font-size: 15px; font-weight: 800; }
.fe-espace .fe-tarifs__carte .fe-commandes__lien { font-size: 16px; letter-spacing: 0; }
.fe-espace .fe-tarifs__carte > .mud-button-root { align-self: flex-start; }
.fe-espace .fe-commandes__pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--ink-subtle); }
.fe-espace .fe-commandes__pied .mud-button-root { height: 40px; border-radius: 10px; font-weight: 800; border-color: var(--line-strong); }

/* Panneau de détail d'une commande */
.fe-espace .fe-commande__surtitre { display: block; font-size: 12px; font-weight: 700; color: var(--ink-subtle); }
.fe-espace .fe-commande__statut { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; font-size: 13px; font-weight: 700; color: var(--ink-subtle); }
.fe-espace .fe-commande__titre { margin: 18px 0 8px; font-size: 14px; font-weight: 800; }
.fe-espace .fe-commande__billets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; }
.fe-espace .fe-commande__billets li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.fe-espace .fe-commande__billets li:last-child { border-bottom: 0; }
.fe-espace .fe-commande__billet { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fe-espace .fe-commande__billet strong { font-size: 14px; font-weight: 800; }
.fe-espace .fe-commande__billet span { font-size: 12px; color: var(--ink-subtle); }
.fe-espace .fe-commande__resume { margin: 0; font-size: 14px; font-weight: 700; }
.fe-espace .fe-commande__renvoi { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--surface-alt); }
.fe-espace .fe-commande__renvoi .mud-input-control { margin: 0; background: var(--surface); }
.fe-espace .fe-commande__renvoi-actions { display: flex; justify-content: flex-end; gap: 8px; }
.fe-espace .fe-commande__note { flex: 1 1 100%; font-size: 12px; line-height: 17px; color: var(--ink-subtle); }
.fe-espace .fe-commande .fe-dialogue__actions { flex-wrap: wrap; }

@media (max-width: 599.98px) {
  .fe-espace .fe-filtres__champ { flex: 1 1 140px; }
}

/* ==========================================================================
   31. Participants — refonte, lot 6
   ========================================================================== */
.fe-espace .fe-participants__numero { font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.fe-espace .fe-tarifs__nom .fe-commandes__lien { display: block; }

/* ==========================================================================
   32. Contrôle d'accès et page de scan web — refonte, lot 6
   ========================================================================== */
.fe-espace .fe-acces { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.fe-espace .fe-acces__principal { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.fe-espace .fe-acces__code { display: flex; align-items: center; gap: 8px; }
.fe-espace .fe-acces__code strong { font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: .12em; }
.fe-espace .fe-acces__appli { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.fe-espace .fe-acces__appli-icone {
  flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand); color: #ffffff; font-family: var(--font-display); font-size: 26px; font-weight: 800;
}
.fe-espace .fe-acces__appli-textes { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; }
.fe-espace .fe-acces__appli-textes strong { font-size: 16px; font-weight: 800; }
.fe-espace .fe-acces__appli-textes span { font-size: 12px; color: var(--ink-subtle); }
.fe-espace .fe-acces__appli .mud-button-root,
.fe-espace .fe-acces .fe-section-form__corps > div > .mud-button-root { height: 44px; border-radius: 12px; font-weight: 800; }
.fe-espace .fe-acces .mud-button-outlined { border-color: var(--line-strong); }
.fe-espace .fe-acces__reponses { position: sticky; top: calc(var(--entete-hauteur) + 24px); display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.fe-espace .fe-acces__titre { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.fe-espace .fe-acces__reponse { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; font-size: 13px; color: var(--ink-subtle); }
.fe-espace .fe-acces__reponse > span:first-child { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #ffffff; }
.fe-espace .fe-acces__reponse strong { display: block; font-size: 14px; }
.fe-espace .fe-acces__reponse--valide { background: #e7f5ee; }
.fe-espace .fe-acces__reponse--valide > span:first-child { background: var(--success); }
.fe-espace .fe-acces__reponse--valide strong { color: var(--success); }
.fe-espace .fe-acces__reponse--deja { background: #fef3e2; }
.fe-espace .fe-acces__reponse--deja > span:first-child { background: #a35c00; }
.fe-espace .fe-acces__reponse--deja strong { color: #a35c00; }
.fe-espace .fe-acces__reponse--invalide { background: #fdecea; }
.fe-espace .fe-acces__reponse--invalide > span:first-child { background: var(--error); }
.fe-espace .fe-acces__reponse--invalide strong { color: var(--error); }

@media (max-width: 959.98px) {
  .fe-espace .fe-acces { grid-template-columns: minmax(0, 1fr); }
  .fe-espace .fe-acces__reponses { position: static; }
}

/* Page de scan web (ScanLayout, rendu sans interactivité) : mêmes tokens, sous .fe-scan-page. */
.fe-scan-page {
  --brand: #83000e; --ink: #0b0b0d; --ink-subtle: #5b616e; --line: #e5e7eb; --line-strong: #8a909c; --surface-alt: #f5f5f7;
  --succes: #0f7b4f; --attention: #a35c00; --erreur: #b42318;
  --font-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--surface-alt); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased;
}
.fe-scan-page__entete { height: 60px; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; background: var(--brand); color: #ffffff; }
.fe-scan-page__etiquette { padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 12px; font-weight: 700; }
.fe-scan-page__contenu { flex: 1 1 auto; padding: 16px 12px 32px; outline: none; }

.fe-scan { max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.fe-scan__tete { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.fe-scan__surtitre { font-size: 13px; font-weight: 700; color: var(--ink-subtle); }
.fe-scan__titre { margin: 0; font-family: var(--font-display); font-size: 26px; line-height: 32px; font-weight: 800; overflow-wrap: anywhere; }
.fe-scan__meta { font-size: 13px; color: var(--ink-subtle); }
.fe-scan__carte { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #ffffff; }
.fe-scan__carte--centre { align-items: center; text-align: center; }
.fe-scan__texte { margin: 0; font-size: 14px; line-height: 21px; color: var(--ink-subtle); }
.fe-scan__texte-fort { font-size: 14px; font-weight: 700; }
.fe-scan__libelle { font-size: 14px; font-weight: 700; }
.fe-scan__aide { font-size: 12px; line-height: 17px; color: var(--ink-subtle); }
.fe-scan__champ {
  height: 50px; padding: 0 14px; box-sizing: border-box; width: 100%; border: 1px solid var(--line-strong); border-radius: 12px;
  font: 600 17px var(--font-body); color: var(--ink); background: #ffffff;
}
.fe-scan__champ:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.fe-scan__champ--code { text-transform: uppercase; letter-spacing: .12em; font-weight: 800; text-align: center; }
.fe-scan__erreur { margin: 0; font-size: 13px; font-weight: 700; color: var(--erreur); }
.fe-scan__bouton {
  height: 52px; border: 0; border-radius: 12px; background: var(--brand); color: #ffffff; width: 100%;
  font: 800 16px var(--font-body); cursor: pointer;
}
.fe-scan__bouton:disabled { opacity: .6; cursor: progress; }
.fe-scan__bouton:focus-visible { outline: 3px solid #f49616; outline-offset: 2px; }
.fe-scan__bouton--grand { height: 56px; font-size: 17px; }
.fe-scan__bouton--noir { height: 60px; background: var(--ink); font-size: 17px; }
.fe-scan__bouton--contour { background: #ffffff; color: var(--ink); border: 1px solid var(--line-strong); }
.fe-scan__camera {
  position: relative; width: 100%; max-width: 300px; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--ink);
  display: grid; place-items: center; color: #a1a1aa; font-size: 13px; font-weight: 700;
}
.fe-scan__camera video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.fe-scan__camera.is-active video { opacity: 1; }
.fe-scan__viseur { position: absolute; inset: 14%; border: 3px solid #ffffff; border-radius: 14px; opacity: .9; pointer-events: none; }
.fe-scan__viseur::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #f49616; }
.fe-scan__camera-texte { position: relative; }
.fe-scan__controle { display: flex; flex-direction: column; gap: 16px; }
.fe-scan__reponse-zone { display: flex; flex-direction: column; gap: 16px; }
.fe-scan__reponse {
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 32px 20px; border-radius: 24px; text-align: center; color: #ffffff;
  background: var(--erreur);
}
.fe-scan__reponse.is-valide { background: var(--succes); }
.fe-scan__reponse.is-deja { background: var(--attention); }
.fe-scan__reponse-icone { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); font-size: 52px; font-weight: 800; }
.fe-scan__reponse-titre { font-family: var(--font-display); font-size: 30px; line-height: 36px; font-weight: 800; }
.fe-scan__reponse-detail { font-size: 16px; line-height: 23px; font-weight: 600; overflow-wrap: anywhere; }
.fe-scan__pied { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: var(--ink-subtle); }
.fe-scan__lien { padding: 8px 0; border: 0; background: none; font: inherit; color: var(--brand); cursor: pointer; text-decoration: underline; }
[hidden].fe-scan__carte, .fe-scan [hidden] { display: none !important; }

/* ==========================================================================
   33. Croissance IA : en-tête à onglets, Stratégie, Contenus — refonte, lot 7
   ========================================================================== */
.fe-espace .fe-cia-onglets { display: flex; overflow-x: auto; margin: -8px 0 20px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.fe-espace .fe-cia-onglets::-webkit-scrollbar { display: none; }
.fe-espace .fe-cia-onglets__onglet {
  flex: none; height: 44px; margin-right: 20px; padding: 0 4px; display: inline-flex; align-items: center;
  border-bottom: 3px solid transparent; font-size: 15px; font-weight: 700; color: var(--ink-subtle); text-decoration: none; white-space: nowrap;
}
.fe-espace .fe-cia-onglets__onglet:hover { color: var(--ink); }
.fe-espace .fe-cia-onglets__onglet.is-actif { border-bottom-color: var(--brand); font-weight: 800; color: var(--ink); }
.fe-espace .fe-cia-onglets__onglet:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.fe-espace .fe-cia { display: flex; flex-direction: column; gap: 16px; }
.fe-espace .fe-cia__colonnes { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.fe-espace .fe-cia__colonnes > :first-child { flex: 1 1 520px; min-width: 0; }
.fe-espace .fe-cia__colonnes > :last-child { flex: 1 1 380px; min-width: 0; }

.fe-espace .fe-cia-carte {
  display: flex; flex-direction: column; gap: 14px; min-width: 0; box-sizing: border-box;
  padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.fe-espace .fe-cia-carte__titre { margin: 0; font-size: 18px; line-height: 24px; font-weight: 800; }
.fe-espace .fe-cia-carte--liste { gap: 0; }
.fe-espace .fe-cia-carte--liste > .fe-cia-carte__titre { margin-bottom: 10px; }
.fe-espace .fe-cia-carte__pied { margin: 0; padding-top: 10px; }
.fe-espace .fe-cia-carte:focus { outline: none; }
.fe-espace .fe-cia-ligne { margin: 0; padding: 14px 0; border-top: 1px solid var(--line); }
.fe-espace .fe-cia-note { margin: 0; font-size: 12px; line-height: 17px; font-weight: 500; color: var(--ink-muted); }
.fe-espace .fe-cia-note a, .fe-espace .fe-cia-bandeau a { color: var(--brand-text); font-weight: 700; }

.fe-espace .fe-cia-bandeau {
  display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 14px 16px; border-radius: 14px;
  background: var(--surface-alt); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink);
}
.fe-espace .fe-cia-bandeau > .mud-icon-root, .fe-espace .fe-cia-bandeau > .mud-progress-circular { flex: none; margin-top: 1px; }
.fe-espace .fe-cia-bandeau--attention { background: var(--accent-tint); color: #5c3500; }

/* États : pas de stratégie, génération en cours */
.fe-espace .fe-cia-etat { align-items: center; padding: 48px 20px; text-align: center; }
.fe-espace .fe-cia-etat__icone { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--brand-tint); color: var(--brand); }
.fe-espace .fe-cia-etat__titre { margin: 0; font-size: 18px; line-height: 24px; font-weight: 800; }
.fe-espace .fe-cia-etat__texte { margin: 0; max-width: 520px; font-size: 14px; line-height: 21px; font-weight: 500; color: var(--ink-subtle); }
.fe-espace .fe-cia-etat__erreur { margin: 0; font-size: 14px; font-weight: 700; color: var(--error); }
.fe-espace .fe-cia-etat .mud-button-root { height: 46px; padding: 0 18px; border-radius: 12px; font-weight: 800; }

/* Résumé et confiance */
.fe-espace .fe-cia-resume { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 16px; }
.fe-espace .fe-cia-resume__icone { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-tint); color: var(--brand); }
.fe-espace .fe-cia-resume__textes { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.fe-espace .fe-cia-resume__tete { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fe-espace .fe-cia-resume__texte { margin: 0; font-size: 14px; line-height: 21px; font-weight: 500; color: var(--ink-subtle); white-space: pre-line; }
.fe-espace .fe-cia-confiance { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--surface-alt); color: var(--ink-subtle); }
.fe-espace .fe-cia-confiance--eleve { background: #e6f4ee; color: var(--success); }
.fe-espace .fe-cia-confiance--moyen { background: var(--accent-tint); color: var(--accent-text); }

/* Vos 3 prochaines actions */
.fe-espace .fe-cia-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.fe-espace .fe-cia-action {
  height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 6px; padding: 14px;
  border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none;
}
.fe-espace .fe-cia-action:hover { border-color: var(--line-strong); }
.fe-espace .fe-cia-action:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.fe-espace .fe-cia-action__surtitre { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-text); }
.fe-espace .fe-cia-action__titre { font-size: 15px; line-height: 21px; font-weight: 800; }
.fe-espace .fe-cia-action__texte { font-size: 12px; line-height: 17px; font-weight: 500; color: var(--ink-muted); }
.fe-espace .fe-cia-action.is-faite { background: var(--surface-alt); border-color: transparent; }
.fe-espace .fe-cia-action.is-faite .fe-cia-action__surtitre { color: var(--success); }

/* Canaux recommandés */
.fe-espace .fe-cia-canal { display: flex; flex-direction: column; gap: 6px; }
.fe-espace .fe-cia-canal__tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.fe-espace .fe-cia-canal__nom { font-size: 15px; font-weight: 800; }
.fe-espace .fe-cia-canal__jauge { height: 8px; border-radius: 999px; background: var(--surface-alt); overflow: hidden; }
.fe-espace .fe-cia-canal__jauge > span { display: block; height: 100%; border-radius: 999px; background: var(--brand); }
.fe-espace .fe-cia-canal__texte { margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-subtle); }

/* Ambassadeurs recommandés */
.fe-espace .fe-cia-ambassadeur { display: flex; gap: 12px; align-items: flex-start; }
.fe-espace .fe-cia-ambassadeur__avatar {
  flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 999px;
  background: var(--accent); color: var(--ink); font-weight: 800;
}
.fe-espace .fe-cia-ambassadeur__textes { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fe-espace .fe-cia-ambassadeur__nom { font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }
.fe-espace .fe-cia-ambassadeur__raison { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-subtle); }
.fe-espace .fe-cia-ambassadeur__fait { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 38px; font-size: 13px; font-weight: 800; color: var(--success); }
.fe-espace .fe-cia-bouton-petit.mud-button-root { flex: none; height: 38px; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.fe-espace .fe-cia-bouton-petit.mud-button-outlined { border-color: var(--line-strong); }

/* Contenus */
.fe-espace .fe-cia-contenus__barre { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.fe-espace .fe-cia-contenus__barre .fe-onglets { max-width: 100%; overflow-x: auto; }
.fe-espace .fe-cia-contenus__barre .fe-onglets__onglet { flex: none; white-space: nowrap; }
.fe-espace .fe-cia-compte { margin-left: 4px; font-size: 12px; opacity: .75; }
.fe-espace .fe-cia-contenus { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 12px; }
.fe-espace .fe-cia-contenu {
  display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px;
}
.fe-espace .fe-cia-contenu__texte { flex: 1 1 auto; margin: 0; font-size: 14px; line-height: 21px; font-weight: 500; white-space: pre-line; overflow-wrap: anywhere; }
.fe-espace .fe-cia-contenu__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

/* Onglets Séquence et Liens provisoires (lot 7a) : cartes existantes dans le nouvel en-tête */
.fe-espace .fe-cia-provisoire > .mud-card { border-radius: var(--radius-lg); }

@media (max-width: 599.98px) {
  .fe-espace .fe-cia-carte { padding: 18px 16px; }
  .fe-espace .fe-cia-etat { padding: 36px 16px; }
  .fe-espace .fe-cia-ambassadeur { flex-wrap: wrap; }
  .fe-espace .fe-cia-ambassadeur__textes { flex-basis: calc(100% - 48px); }
  .fe-espace .fe-cia-ambassadeur > .fe-cia-bouton-petit, .fe-espace .fe-cia-ambassadeur__fait { margin-left: 48px; }
  .fe-espace .fe-cia-contenu__actions > .mud-button-root { flex: 1 1 auto; }
}

/* ==========================================================================
   34. Croissance IA : séquence WhatsApp, Programmer la séquence, envoi ponctuel — refonte, lot 7
   ========================================================================== */
.fe-espace .fe-bulle-wa {
  margin: 0; padding: 10px 12px; border-radius: 12px 12px 4px 12px; background: #d9fdd3; color: var(--ink);
  font-size: 14px; line-height: 20px; font-weight: 500; white-space: pre-wrap; overflow-wrap: anywhere;
}
.fe-espace .fe-bulle-wa--apercu { max-width: 420px; }

/* Audience (AudienceSelecteur, CiblageIASelecteur) */
.fe-espace .fe-audience__detail { display: flex; flex-direction: column; gap: 8px; padding: 2px 0 6px 30px; }
.fe-espace .fe-audience__champ { max-width: 420px; }
.fe-espace .fe-audience__texte { margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-subtle); }
.fe-espace .fe-audience__texte strong { color: var(--ink); font-weight: 800; }
.fe-espace .fe-audience__texte--attention { color: var(--error); font-weight: 600; }
.fe-espace .fe-audience__texte a { color: var(--brand-text); font-weight: 700; }
.fe-espace .fe-audience__note { margin: 0; font-size: 12px; line-height: 17px; font-weight: 500; color: var(--ink-muted); }

/* Onglet Séquence : frise */
.fe-espace .fe-seq__tete { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; }
.fe-espace .fe-seq__titre { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fe-espace .fe-seq__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fe-espace .fe-seq-statut {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; white-space: nowrap;
  background: var(--surface-alt); color: var(--ink-subtle); font-size: 12px; font-weight: 800;
}
.fe-espace .fe-seq-statut--ok { background: #e6f4ee; color: var(--success); }
.fe-espace .fe-seq-statut--attente { background: var(--accent-tint); color: var(--accent-text); }
.fe-espace .fe-seq__frise { margin: 0; padding: 6px 0 0; list-style: none; }
.fe-espace .fe-seq__etape { position: relative; display: flex; gap: 14px; padding-bottom: 20px; }
.fe-espace .fe-seq__etape:last-child { padding-bottom: 0; }
.fe-espace .fe-seq__etape:not(:last-child)::before { content: ""; position: absolute; left: 11px; top: 28px; bottom: 6px; width: 2px; background: var(--line); }
.fe-espace .fe-seq__point {
  flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 999px; box-sizing: border-box;
  border: 4px solid var(--surface); background: var(--line-strong); box-shadow: 0 0 0 1px var(--line-strong);
}
.fe-espace .fe-seq__etape--envoyee .fe-seq__point { background: var(--success); box-shadow: 0 0 0 1px var(--success); }
.fe-espace .fe-seq__etape--planifiee .fe-seq__point { background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.fe-espace .fe-seq__etape--inactive .fe-seq__corps { opacity: .7; }
.fe-espace .fe-seq__corps { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.fe-espace .fe-seq__ligne { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; }
.fe-espace .fe-seq__libelle { font-size: 15px; font-weight: 800; }
.fe-espace .fe-seq__infos { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fe-espace .fe-seq__message { display: flex; gap: 8px; align-items: flex-start; }
.fe-espace .fe-seq__message > .fe-bulle-wa { flex: 1 1 auto; }
.fe-espace .fe-seq__edition { display: flex; justify-content: flex-end; gap: 8px; }
.fe-espace .fe-seq__motif { margin: 0; font-size: 12px; line-height: 17px; font-weight: 600; color: var(--accent-text); }

.fe-espace .fe-seq-ponctuel { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.fe-espace .fe-seq-ponctuel__textes { flex: 1 1 320px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fe-espace .fe-seq-ponctuel__bouton.mud-button-root, .fe-espace .fe-seq-vide .mud-button-root, .fe-espace .fe-cia-etat .fe-seq-ponctuel__bouton {
  height: 46px; padding: 0 18px; border-radius: 12px; font-weight: 800;
}
.fe-espace .fe-seq-ponctuel__bouton.mud-button-outlined { border-color: var(--line-strong); }
.fe-espace .fe-seq-calendrier { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.fe-espace .fe-seq-calendrier li { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.fe-espace .fe-seq-calendrier strong { font-size: 14px; font-weight: 800; }
.fe-espace .fe-seq-calendrier span { font-size: 13px; color: var(--ink-subtle); }
.fe-espace .fe-seq-calendrier li.is-impossible { background: var(--surface-alt); border-color: transparent; }

/* Page Programmer la séquence */
.fe-espace .fe-progseq { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.fe-espace .fe-progseq__principal { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.fe-espace .fe-progseq__cote { position: sticky; top: calc(var(--entete-hauteur, 60px) + 24px); }
.fe-espace .fe-section-form__tete--action .mud-button-text { white-space: nowrap; }
.fe-espace .fe-progseq__etape { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.fe-espace .fe-progseq__etape.is-impossible { background: var(--surface-alt); border-color: transparent; }
.fe-espace .fe-progseq__etape-tete { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; }
.fe-espace .fe-progseq__etape-tete strong { font-size: 15px; font-weight: 800; }
.fe-espace .fe-progseq__option { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding-top: 6px; }
.fe-espace .fe-progseq__option .fe-choix__textes strong { font-size: 14px; }
.fe-espace .fe-progseq__couts { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.fe-espace .fe-progseq__couts > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.fe-espace .fe-progseq__couts dt { color: var(--ink-subtle); font-weight: 600; }
.fe-espace .fe-progseq__couts dd { margin: 0; font-weight: 800; white-space: nowrap; }
.fe-espace .fe-progseq__total { padding-top: 10px; border-top: 1px solid var(--line); }
.fe-espace .fe-progseq__total dt { color: var(--ink); font-weight: 800; }
.fe-espace .fe-progseq__total dd { font-family: var(--font-display); font-size: 18px; }
.fe-espace .fe-progseq__couts .is-insuffisant dd { color: var(--error); }
.fe-espace .fe-progseq__boutons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding-top: 4px; }
.fe-espace .fe-progseq__boutons .mud-button-root { height: 46px; padding: 0 18px; border-radius: 12px; font-weight: 800; }

/* Dialogue Envoi ponctuel */
.fe-espace .fe-envoi { display: flex; flex-direction: column; gap: 14px; }
.fe-espace .fe-envoi__bloc { display: flex; flex-direction: column; gap: 0; }
.fe-espace .fe-envoi__cout {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px;
  padding: 12px 14px; border-radius: 12px; background: var(--surface-alt); font-size: 14px; font-weight: 600; color: var(--ink-subtle);
}
.fe-espace .fe-envoi__cout strong { color: var(--ink); font-weight: 800; }
.fe-espace .fe-envoi__cout strong.is-insuffisant { color: var(--error); }

@media (max-width: 959.98px) {
  .fe-espace .fe-progseq { grid-template-columns: minmax(0, 1fr); }
  .fe-espace .fe-progseq__cote { position: static; }
}
@media (max-width: 599.98px) {
  .fe-espace .fe-seq__message { flex-direction: column; align-items: stretch; }
  .fe-espace .fe-seq__message > .mud-button-root { align-self: flex-end; }
  .fe-espace .fe-seq-ponctuel__bouton.mud-button-root { width: 100%; }
  .fe-espace .fe-progseq__boutons { flex-direction: column-reverse; align-items: stretch; }
  .fe-espace .fe-audience__detail { padding-left: 0; }
}

/* ==========================================================================
   35. Croissance IA : liens traçables, rapport post-événement, performance — refonte, lot 7
   ========================================================================== */
.fe-espace .fe-cia-etat__icone--neutre { background: var(--surface-alt); color: var(--ink); }

/* Liens traçables */
.fe-espace .fe-liens__creation { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.fe-espace .fe-liens__champ { flex: 1 1 280px; max-width: 420px; }
.fe-espace .fe-liens__creation .mud-input-control { margin: 0; }
.fe-espace .fe-liens__creation > .mud-button-root { height: 56px; padding: 0 18px; border-radius: 12px; font-weight: 800; }
.fe-espace .fe-liens__nom { display: block; font-size: 15px; font-weight: 800; }
.fe-espace .fe-liens__taux { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--ink-muted); }
.fe-espace .fe-tableau tr.is-inactif td:not(:last-child) { opacity: .55; }
.fe-espace .fe-tarifs__carte.is-inactif > :not(.fe-tarifs__carte-tete) { opacity: .55; }
.fe-espace .fe-liens__chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; }
.fe-espace .fe-liens__chiffres > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fe-espace .fe-liens__chiffres dt { font-size: 12px; font-weight: 600; color: var(--ink-muted); }
.fe-espace .fe-liens__chiffres dd { margin: 0; font-size: 14px; font-weight: 800; overflow-wrap: anywhere; }

/* Rapport post-événement */
.fe-espace .fe-rapport__canal { font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
.fe-espace .fe-rapport__entete, .fe-espace .fe-rapport__ligne {
  display: grid; grid-template-columns: minmax(0, 1.6fr) 90px 140px minmax(160px, 1fr); gap: 12px; align-items: center;
}
.fe-espace .fe-rapport__entete {
  padding: 10px 0; border-top: 1px solid var(--line); font-size: 12px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-subtle);
}
.fe-espace .fe-rapport__liste { margin: 0; padding: 0; list-style: none; }
.fe-espace .fe-rapport__ligne { padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; }
.fe-espace .fe-rapport__nom { font-weight: 700; overflow-wrap: anywhere; }
.fe-espace .fe-rapport__entete .is-nombre, .fe-espace .fe-rapport__chiffre.is-nombre { text-align: right; }
.fe-espace .fe-rapport__chiffre.is-fort { font-weight: 800; white-space: nowrap; }
.fe-espace .fe-rapport__etiquette { display: none; }
.fe-espace .fe-rapport__part { display: flex; gap: 8px; align-items: center; }
.fe-espace .fe-rapport__part > .fe-cia-canal__jauge { flex: 1 1 auto; }
.fe-espace .fe-rapport__part > strong { flex: none; width: 44px; text-align: right; font-weight: 700; }

/* Performance Croissance IA */
.fe-espace .fe-perf__barres { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.fe-espace .fe-perf__barre { display: grid; grid-template-columns: minmax(120px, 220px) minmax(0, 1fr) 48px; gap: 12px; align-items: center; font-size: 14px; }
.fe-espace .fe-perf__nom { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fe-espace .fe-perf__barre > strong { text-align: right; }
.fe-espace .fe-perf__barre .fe-cia-canal__jauge { height: 12px; }
.fe-espace .fe-perf__tableau { border-top: 1px solid var(--line); }
.fe-espace .fe-perf__oui-non { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--ink-muted); }
.fe-espace .fe-perf__oui-non.is-oui { color: var(--success); }
.fe-espace .fe-perf__cartes { display: none; margin: 0; padding: 0; list-style: none; }
.fe-espace .fe-perf__carte-tete { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; font-size: 15px; }
.fe-espace .fe-perf__carte-tete span { flex: none; font-size: 13px; color: var(--ink-subtle); }

@media (max-width: 959.98px) {
  .fe-espace .fe-perf__tableau { display: none; }
  .fe-espace .fe-perf__cartes { display: block; }
}
@media (max-width: 599.98px) {
  .fe-espace .fe-liens__champ { max-width: none; }
  .fe-espace .fe-liens__creation > .mud-button-root { width: 100%; }
  .fe-espace .fe-liens__chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fe-espace .fe-rapport__entete { display: none; }
  .fe-espace .fe-rapport__ligne { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 12px; }
  .fe-espace .fe-rapport__nom, .fe-espace .fe-rapport__part { grid-column: 1 / -1; }
  .fe-espace .fe-rapport__etiquette { display: block; font-size: 12px; font-weight: 600; color: var(--ink-muted); }
  .fe-espace .fe-rapport__chiffre.is-nombre { text-align: left; }
  .fe-espace .fe-perf__barre { grid-template-columns: minmax(0, 1fr) 48px; gap: 4px 12px; }
  .fe-espace .fe-perf__nom { grid-column: 1 / -1; }
}

/* ==========================================================================
   36. Retraits de l'événement et fenêtres de retrait — refonte, lot 8
   ========================================================================== */
.fe-espace .fe-retraits__operateur { display: grid; grid-template-columns: minmax(0, 1fr) auto 150px; gap: 12px 16px; align-items: center; }
.fe-espace .fe-retraits__identite { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fe-espace .fe-retraits__textes { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fe-espace .fe-retraits__textes strong { font-size: 15px; font-weight: 800; }
.fe-espace .fe-retraits__textes span { font-size: 13px; color: var(--ink-subtle); overflow-wrap: anywhere; }
.fe-espace .fe-retraits__solde { font-family: var(--font-display); font-size: 20px; font-weight: 800; white-space: nowrap; text-align: right; }
.fe-espace .fe-retraits__solde.is-vide { color: var(--ink-muted); }
.fe-espace .fe-retraits__bouton.mud-button-root { height: 40px; border-radius: 10px; font-weight: 800; }
.fe-espace .fe-retraits__bouton.mud-button-outlined { border-color: var(--line); }
.fe-espace .fe-retraits__titre { margin-bottom: 12px; }

/* Fenêtre de retrait */
.fe-espace .fe-retrait { display: flex; flex-direction: column; gap: 12px; }
.fe-espace .fe-retrait__recap { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 14px; border-radius: 12px; background: var(--surface-alt); }
.fe-espace .fe-retrait__recap > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.fe-espace .fe-retrait__recap dt { flex: none; color: var(--ink-subtle); font-weight: 600; white-space: nowrap; }
.fe-espace .fe-retrait__recap dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.fe-espace .fe-retrait__recap dd.is-fort { font-family: var(--font-display); font-size: 18px; font-weight: 800; }
.fe-espace .fe-retrait__montant { display: flex; gap: 8px; align-items: flex-start; }
.fe-espace .fe-retrait__montant .mud-input-control { flex: 1 1 auto; margin: 0; }
.fe-espace .fe-retrait__montant > .mud-button-root { flex: none; height: 56px; border-radius: 12px; font-weight: 800; border-color: var(--line-strong); }
.fe-espace .fe-retrait__changer { align-self: flex-start; }

@media (max-width: 599.98px) {
  .fe-espace .fe-retraits__operateur { grid-template-columns: minmax(0, 1fr) auto; }
  .fe-espace .fe-retraits__bouton.mud-button-root { grid-column: 1 / -1; width: 100%; }
}

/* ==========================================================================
   37. Mes crédits — refonte, lot 8
   ========================================================================== */
.fe-espace .fe-credits { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: start; margin-bottom: 24px; }
.fe-espace .fe-credits__solde { gap: 10px; }
.fe-espace .fe-credits__solde > .fe-tuile__libelle { margin: 0; }
.fe-espace .fe-credits__montant-solde { margin: 0; font-family: var(--font-display); font-size: 40px; line-height: 1.1; font-weight: 800; color: var(--brand-text); }
.fe-espace .fe-credits__montant-solde small { font-family: var(--font-body); font-size: 16px; font-weight: 700; color: var(--ink-subtle); }
.fe-espace .fe-credits__tarifs { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.fe-espace .fe-credits__sous-titre { margin: 0 0 8px; font-size: 15px; font-weight: 800; }
.fe-espace .fe-credits__tarifs dl { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.fe-espace .fe-credits__tarifs dl > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.fe-espace .fe-credits__tarifs dt { color: var(--ink-subtle); font-weight: 600; }
.fe-espace .fe-credits__tarifs dd { margin: 0; font-weight: 800; }

.fe-espace .fe-credits__formulaire { display: flex; flex-direction: column; gap: 16px; }
.fe-espace .fe-credits__formulaire .mud-input-control { margin: 0; }
.fe-espace .fe-credits__montants { display: flex; flex-wrap: wrap; gap: 8px; }
.fe-espace .fe-credits__puce {
  height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface);
  font: 700 14px var(--font-body); color: var(--ink); cursor: pointer;
}
.fe-espace .fe-credits__puce.is-actif { padding: 0 13px; border: 2px solid var(--brand); background: var(--brand-tint); color: var(--brand-text); font-weight: 800; }
.fe-espace .fe-credits__puce:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.fe-espace .fe-credits__payer.mud-button-root { height: 48px; border-radius: 12px; font-weight: 800; }
.fe-espace .fe-credits__attente { display: flex; gap: 16px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--surface-alt); }
.fe-espace .fe-credits__attente > div { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.fe-espace .fe-credits__attente strong { font-size: 15px; font-weight: 800; }
.fe-espace .fe-credits__attente .mud-button-root { height: 44px; border-radius: 12px; font-weight: 800; }

.fe-espace .fe-credits__detail { white-space: normal !important; min-width: 220px; color: var(--ink-subtle); }
.fe-espace .fe-credits__mouvement { font-weight: 800; white-space: nowrap; }
.fe-espace .fe-credits__mouvement.is-positif { color: var(--success); }

@media (max-width: 959.98px) {
  .fe-espace .fe-credits { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   38. Paramètres du compte : onglets, Profil, E-mail — refonte, lot 9
   Les champs reprennent .fe-champ de faevent-compte.css (pages rendues sans interactivité).
   ========================================================================== */
.fe-espace { --success-tint: #e6f4ee; --error-tint: #fdecea; }

/* Menu du compte en HTML simple (pages sans interactivité) */
.fe-espace__compte-statique { position: relative; }
.fe-espace__compte-statique > summary { list-style: none; }
.fe-espace__compte-statique > summary::-webkit-details-marker { display: none; }
.fe-espace__compte-statique > summary:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
.fe-espace__compte-liste {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 1300; min-width: 240px; padding: 6px 0;
  display: flex; flex-direction: column; border-radius: 12px; background: var(--surface); color: var(--ink);
  box-shadow: 0 8px 24px rgba(11, 11, 13, .18);
}
.fe-espace__compte-liste a,
.fe-espace__compte-liste .fe-espace__deconnexion button {
  min-height: 44px; padding: 0 16px; display: flex; align-items: center; gap: 12px;
  font: 600 14px var(--font-body); color: var(--ink); text-decoration: none;
}
.fe-espace__compte-liste a:hover,
.fe-espace__compte-liste .fe-espace__deconnexion button:hover { background: var(--surface-alt); }
.fe-espace__compte-liste .mud-icon-root { color: var(--ink-subtle); }
.fe-espace__compte-liste hr { margin: 6px 0; border: 0; border-top: 1px solid var(--line); }

/* Coquille à onglets */
.fe-espace .fe-page.fe-parametres { max-width: 948px; }
.fe-espace .fe-parametres .fe-page-tete { margin-bottom: 16px; }
.fe-espace .fe-parametres__onglets { margin: 0 0 16px; }
.fe-espace .fe-parametres a:not(.fe-cia-onglets__onglet):not(.fe-lien-action):not(.fe-parametres__bouton) { color: var(--brand-text); font-weight: 700; }

.fe-espace .fe-parametres__formulaire { display: flex; flex-direction: column; gap: 16px; }
.fe-espace .fe-parametres__sous-formulaire { display: flex; flex-direction: column; gap: 14px; }
.fe-espace .fe-parametres__carte {
  min-width: 0; padding: 20px; display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
}
.fe-espace .fe-parametres__titre { margin: 0; font-size: 18px; line-height: 24px; font-weight: 800; }
.fe-espace .fe-parametres__grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.fe-espace .fe-parametres__champ-etroit { max-width: 480px; }
.fe-espace .fe-parametres .validation-message { font-size: 13px; font-weight: 600; color: var(--error); }

/* Profil */
.fe-espace .fe-parametres__identite { flex-direction: row; align-items: center; gap: 16px; }
.fe-espace .fe-parametres__avatar {
  width: 64px; height: 64px; flex: none; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  background: var(--brand); color: #ffffff; font: 800 24px var(--font-display);
}
.fe-espace .fe-parametres__identite-textes { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fe-espace .fe-parametres__identite-nom { font-size: 18px; font-weight: 800; overflow-wrap: anywhere; }
.fe-espace .fe-parametres__identite .fe-champ__aide { overflow-wrap: anywhere; }
.fe-espace .fe-parametres__telephone { display: flex; gap: 8px; min-width: 0; }
.fe-espace .fe-parametres__telephone > input { flex: 1 1 auto; min-width: 0; }
.fe-espace .fe-parametres__indicatif { flex: 0 0 auto; width: auto; max-width: 150px; padding-right: 8px; font-weight: 700; color: var(--ink-subtle); }

/* Barre d'enregistrement collée en bas */
.fe-espace .fe-parametres__barre {
  position: sticky; bottom: 0; z-index: 2; margin: 0 -24px; padding: 12px 24px;
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px;
  border-top: 1px solid var(--line); background: var(--surface);
}

.fe-espace .fe-parametres__bouton {
  height: 46px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--brand); border-radius: 12px; background: var(--brand); color: #ffffff;
  font: 700 14px var(--font-body); white-space: nowrap; cursor: pointer;
}
.fe-espace .fe-parametres__bouton:hover { background: var(--brand-hover); }
.fe-espace .fe-parametres__bouton:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.fe-espace .fe-parametres__bouton--secondaire { height: 38px; padding: 0 12px; border-color: var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); font-size: 13px; }
.fe-espace .fe-parametres__bouton--secondaire:hover { background: var(--surface-alt); }

/* E-mail */
.fe-espace .fe-parametres__ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.fe-espace .fe-parametres__adresse { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.fe-espace .fe-parametres__puce { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.fe-espace .fe-parametres__puce--ok { background: var(--success-tint); color: var(--success); }
.fe-espace .fe-parametres__puce--attente { background: var(--accent-tint); color: var(--accent-text); }
.fe-espace .fe-parametres__attention {
  display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px;
  background: var(--accent-tint); color: var(--accent-text); font-size: 14px; line-height: 20px; font-weight: 600;
}
.fe-espace .fe-parametres__attention .mud-icon-root { flex: none; margin-top: 1px; }

@media (max-width: 599.98px) {
  .fe-espace .fe-parametres__carte { padding: 16px; }
  .fe-espace .fe-parametres__barre { margin: 0 -16px; padding: 12px 16px; }
  .fe-espace .fe-parametres__barre .fe-parametres__bouton { width: 100%; }
}

/* ==========================================================================
   39. Paramètres du compte : Sécurité — refonte, lot 9
   ========================================================================== */
.fe-espace .fe-parametres__grille--trois { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.fe-espace .fe-parametres__texte { margin: 0; font-size: 14px; line-height: 21px; color: var(--ink-subtle); }
.fe-espace .fe-parametres__actions { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fe-espace .fe-parametres__bouton:disabled { border-color: var(--line); background: var(--line); color: var(--ink-subtle); cursor: not-allowed; }
.fe-espace .fe-parametres__puce--neutre { background: var(--surface-alt); color: var(--ink-subtle); }
/* Messages des formulaires du compte : .fe-alerte sert aussi aux lignes « À faire » du tableau de bord (section 12),
   d'où le rétablissement du cadre ici. */
.fe-espace .fe-parametres .fe-alerte { padding: 12px 16px; border-bottom: 0; border-radius: 12px; }
.fe-espace .fe-parametres .fe-alerte:last-child { border-bottom: 0; }
.fe-espace .fe-parametres .fe-alerte ul { margin: 6px 0 0; padding-left: 18px; }

.fe-espace .fe-parametres__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.fe-espace .fe-parametres__element {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.fe-espace .fe-parametres__element:first-child { padding-top: 0; border-top: 0; }
.fe-espace .fe-parametres__element form { margin: 0; }
.fe-espace .fe-parametres__fournisseur { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fe-espace .fe-parametres__fournisseur-logo {
  width: 40px; height: 40px; flex: none; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: var(--surface); font-weight: 800;
}
.fe-espace .fe-parametres__element-textes { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fe-espace .fe-parametres__element-titre { font-size: 15px; font-weight: 800; }

/* ==========================================================================
   40. Paramètres du compte : Numéros de retrait, Données personnelles — refonte, lot 9
   ========================================================================== */
.fe-espace .fe-parametres__numero { align-items: flex-start; }
.fe-espace .fe-parametres__numero .fe-parametres__fournisseur { padding-top: 2px; }
.fe-espace .fe-parametres__numero-champ { flex: 0 1 320px; min-width: 0; }
.fe-espace .fe-parametres__prefixe {
  height: 48px; padding: 0 0 0 14px; display: flex; align-items: center; gap: 8px; box-sizing: border-box;
  border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface);
}
.fe-espace .fe-parametres__prefixe b { flex: none; font-weight: 700; color: var(--ink-subtle); }
.fe-espace .fe-parametres__prefixe input {
  flex: 1 1 auto; min-width: 0; height: 100%; padding: 0 14px 0 0; border: 0; border-radius: 12px; background: transparent;
  font: 500 16px var(--font-body); color: var(--ink);
}
.fe-espace .fe-parametres__prefixe input:focus { outline: none; }
.fe-espace .fe-parametres__prefixe:focus-within { border: 2px solid var(--ink); padding-left: 13px; }
.fe-espace .fe-parametres__prefixe.is-invalide { border-color: var(--error); }

.fe-espace .fe-parametres__bouton { text-decoration: none; }
.fe-espace .fe-parametres__bouton--danger { border-color: var(--error); background: var(--error); color: #ffffff; }
.fe-espace .fe-parametres__bouton--danger:hover { background: #8f1c13; }
.fe-espace a.fe-parametres__bouton--secondaire { color: var(--ink); }
.fe-espace .fe-parametres__bouton--grand { height: 46px; padding: 0 18px; border-radius: 12px; font-size: 14px; }
.fe-espace .fe-parametres__carte--danger { border-color: #f3c4bf; }

.fe-espace .fe-parametres__blocages {
  display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 14px;
  background: var(--accent-tint); color: var(--accent-text); font-size: 14px; font-weight: 600;
}
.fe-espace .fe-parametres__blocage { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; color: var(--ink); }
.fe-espace .fe-parametres__blocage .fe-lien-action { white-space: nowrap; }

@media (max-width: 599.98px) {
  .fe-espace .fe-parametres__numero-champ { flex: 1 1 100%; }
}

/* ==========================================================================
   41. Administration : accueil et virements — refonte, lot 10
   ========================================================================== */
.fe-espace .fe-adm-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; margin-bottom: 16px; }
.fe-espace .fe-adm-apercu { gap: 0; }
.fe-espace .fe-adm-apercu__tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.fe-espace .fe-adm-apercu__ligne { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.fe-espace .fe-adm-apercu__textes { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fe-espace .fe-adm-apercu__textes strong { font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }
.fe-espace .fe-adm-apercu__textes span { font-size: 12px; line-height: 17px; color: var(--ink-muted); overflow-wrap: anywhere; }
.fe-espace .fe-adm-apercu__droite { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.fe-espace .fe-adm-apercu__date { flex: none; font-size: 12px; color: var(--ink-muted); white-space: nowrap; }

.fe-espace .fe-adm-surveiller { gap: 10px; }
.fe-espace .fe-adm-alerte {
  display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px;
  background: var(--surface-alt); color: var(--ink); font-size: 14px; line-height: 20px; font-weight: 600;
}
.fe-espace .fe-adm-alerte .mud-icon-root { flex: none; margin-top: 1px; }
.fe-espace .fe-adm-alerte--attention { background: var(--accent-tint); color: var(--accent-text); }

.fe-espace .fe-adm-delai { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.fe-espace .fe-adm-delai--neutre { background: var(--surface-alt); color: var(--ink-subtle); }
.fe-espace .fe-adm-delai--attente { background: var(--accent-tint); color: var(--accent-text); }
.fe-espace .fe-adm-delai--retard { background: #fdecea; color: var(--error); }

.fe-espace .fe-adm-onglet__compte { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--brand); color: #ffffff; font-size: 12px; font-weight: 800; }
.fe-espace .fe-adm-kpis--trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fe-espace .fe-adm-retard { color: var(--error); font-weight: 700; }

.fe-espace .fe-adm-cellule { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.fe-espace .fe-adm-cellule > span:not(.fe-adm-delai) { font-size: 13px; color: var(--ink-subtle); }
.fe-espace .fe-adm-cellule > span:first-child:not(.fe-adm-delai) { font-size: 14px; color: var(--ink); }
.fe-espace .fe-adm-cellule strong { font-weight: 800; }
.fe-espace .fe-tableau td.is-action { text-align: right; }
.fe-espace .fe-adm-carte-pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
/* Colonnes de texte libre (événement, organisateur, référence) : retour à la ligne au lieu de faire déborder le tableau. */
.fe-espace .fe-tableau td.fe-adm-texte { white-space: normal; overflow-wrap: anywhere; min-width: 140px; max-width: 260px; }
.fe-espace .fe-tableau td.fe-adm-reference { min-width: 110px; max-width: 180px; }
.fe-espace .fe-adm-reference { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }

.fe-espace .fe-adm-filtres { margin: 0 0 12px; }
.fe-espace .fe-adm-filtres__recherche { flex: 1 1 320px; max-width: 420px; }
.fe-espace .fe-adm-total { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--ink-subtle); }

.fe-espace .fe-adm-controle { margin: 0; font-size: 13px; line-height: 19px; color: var(--ink-subtle); }
.fe-espace .fe-adm-controle strong { color: var(--success); font-weight: 800; }
.fe-espace .fe-adm-controle strong.is-depasse { color: var(--error); }

.fe-espace .fe-retraits__reference { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-subtle); }

@media (max-width: 959.98px) {
  .fe-espace .fe-adm-duo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599.98px) {
  .fe-espace .fe-adm-kpis--trois { grid-template-columns: minmax(0, 1fr); }
  .fe-espace .fe-adm-filtres__recherche { max-width: none; }
}

/* ==========================================================================
   42. Administration : soldes des événements et crédits des organisateurs — refonte, lot 10
   ========================================================================== */
.fe-espace .fe-adm-cellule--droite { align-items: flex-end; }
.fe-espace .fe-adm-cellule--droite > span:not(.fe-adm-delai) { font-size: 12px; }
.fe-espace .fe-adm-du { color: var(--brand-text); font-weight: 800; }
.fe-espace button.fe-adm-cellule { letter-spacing: 0; }
.fe-espace button.fe-adm-cellule strong { font-size: 15px; }
.fe-espace button.fe-adm-cellule span { font-weight: 500; }

.fe-espace .fe-adm-credits { display: flex; flex-direction: column; gap: 10px; }
.fe-espace .fe-adm-credits__solde {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: 14px; background: var(--surface-alt);
}
.fe-espace .fe-adm-credits__solde > span { display: flex; flex-direction: column; gap: 2px; }
.fe-espace .fe-adm-credits__solde strong { font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.fe-espace .fe-adm-credits__solde .mud-button-root { height: 44px; border-radius: 12px; font-weight: 800; }
.fe-espace .fe-adm-credits .fe-commande__titre { margin: 8px 0 0; }
.fe-espace .fe-adm-credits__montant { flex: none; font-weight: 800; white-space: nowrap; }
.fe-espace .fe-adm-credits__montant.is-positif { color: var(--success); }
.fe-espace .fe-adm-sens { align-self: flex-start; }

/* ==========================================================================
   43. Administration : tickets WhatsApp, effacement de données, types d'événement — refonte, lot 10
   ========================================================================== */
.fe-espace .fe-page.fe-adm-etroit { max-width: 1008px; }

.fe-espace .fe-adm-tickets { display: flex; flex-direction: column; gap: 12px; }
.fe-espace .fe-adm-ticket { gap: 10px; padding: 16px; }
.fe-espace .fe-adm-ticket__tete,
.fe-espace .fe-adm-ticket__pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.fe-espace .fe-adm-ticket__titre { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fe-espace .fe-adm-ticket__motif {
  display: inline-flex; padding: 3px 10px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-text);
  font-size: 12px; font-weight: 800;
}
.fe-espace .fe-adm-ticket__resume { margin: 0; font-size: 14px; line-height: 21px; font-weight: 500; white-space: pre-wrap; overflow-wrap: anywhere; }
.fe-espace .fe-adm-ticket__telephone { font-size: 14px; font-weight: 700; }
.fe-espace .fe-adm-ticket__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fe-espace .fe-adm-ticket__actions .mud-button-root { border-radius: 10px; font-weight: 700; }
.fe-espace .fe-adm-actions-droite { justify-content: flex-end; }

.fe-espace .fe-adm-alerte--danger { background: #fdecea; color: var(--error); }
.fe-espace .fe-adm-alerte--succes { background: #e6f4ee; color: var(--success); }

.fe-espace .fe-adm-effacement { max-width: 640px; }
.fe-espace .fe-adm-effacement__numero { display: flex; gap: 10px; align-items: flex-start; }
.fe-espace .fe-adm-effacement__numero .mud-input-control { margin: 0; }
.fe-espace .fe-adm-effacement__indicatif { flex: 0 0 190px; }
.fe-espace .fe-adm-effacement .mud-button-root { height: 46px; border-radius: 12px; font-weight: 800; }

.fe-espace .fe-adm-note { margin: 12px 0 0; }

@media (max-width: 599.98px) {
  .fe-espace .fe-adm-effacement__numero { flex-direction: column; align-items: stretch; }
  .fe-espace .fe-adm-effacement__indicatif { flex: none; }
}

/* ==========================================================================
   44. Administration : campagnes WhatsApp et performances — refonte, lot 10
   ========================================================================== */
.fe-espace .fe-adm-campagne { gap: 12px; margin-bottom: 20px; }
.fe-espace .fe-adm-campagne__texte { max-width: 760px; }
.fe-espace .fe-adm-campagne .mud-button-root { height: 44px; border-radius: 12px; font-weight: 800; }
.fe-espace .fe-adm-campagne__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.fe-espace .fe-adm-alerte--attention { background: var(--accent-tint); color: var(--accent-text); }

.fe-espace .fe-adm-faits { list-style: none; margin: 0; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; border-radius: 12px; background: var(--surface-alt); font-size: 14px; }
.fe-espace .fe-adm-faits li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

.fe-espace .fe-adm-statut { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--surface-alt); color: var(--ink-subtle); font-size: 12px; font-weight: 800; white-space: nowrap; }
.fe-espace .fe-adm-statut--ok { background: #e6f4ee; color: var(--success); }
.fe-espace .fe-adm-statut--attente { background: var(--accent-tint); color: var(--accent-text); }
.fe-espace .fe-adm-statut--refus { background: #fdecea; color: var(--error); }

.fe-espace .fe-adm-fichier { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.fe-espace .fe-adm-fichier__nom { font-size: 14px; font-weight: 600; color: var(--ink-subtle); overflow-wrap: anywhere; }
.fe-espace .fe-adm-format { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--surface-alt); }
.fe-espace .fe-adm-format code { font-size: 13px; }

.fe-espace .fe-adm-section { margin-top: 8px; }
.fe-espace .fe-adm-section__tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.fe-espace .fe-adm-section__tete .mud-button-root { height: 44px; border-radius: 12px; font-weight: 800; }

.fe-espace .fe-adm-modele__ligne { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fe-espace .fe-adm-modele .mud-input-control { margin: 0; }
.fe-espace .fe-adm-modele__variables { display: flex; flex-direction: column; gap: 8px; }
.fe-espace .fe-adm-modele__liste { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.fe-espace .fe-adm-modele__liste li { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fe-espace .fe-adm-modele__ajout { display: flex; align-items: center; gap: 8px; }

.fe-espace .fe-tableau td.fe-adm-accroche { max-width: 360px; font-weight: 600; }
.fe-espace .fe-tarifs__carte .fe-adm-accroche { font-weight: 700; overflow-wrap: anywhere; }

@media (max-width: 599.98px) {
  .fe-espace .fe-adm-modele__ligne { grid-template-columns: minmax(0, 1fr); }
}
