/* ════════════════════════════════════════════════════════════════
   ESPACE BÉNÉVOLES
   Tout est préfixé .fdhb- pour ne rien casser ailleurs sur le site.
   ════════════════════════════════════════════════════════════════ */

.fdhb {
  --fdhb-encre: #111318;
  --fdhb-gris: #5b5f68;
  --fdhb-trait: rgba(17, 19, 24, 0.12);
  --fdhb-fond: #f7f6f4;
  --fdhb-carte: #ffffff;
  --fdhb-orange: #e8732a;
  --fdhb-orange-texte: #b4521a;
  --fdhb-orange-pale: #fdf0e6;
  --fdhb-rouge: #c62828;
  --fdhb-vert: #1d6b35;
  --fdhb-haut: 64px;
  font-family: 'Barlow', 'Inter', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--fdhb-encre);
  background: var(--fdhb-fond);
  min-height: calc(100vh - var(--fdhb-haut));
}
.admin-bar .fdhb { --fdhb-haut: 116px; }
/* Menu flottant du site : la page passe sous la barre (plus de bande sombre au-dessus) */
body:has(.fdhb) { padding-top: 0 !important; }
.fdhb { --fdhb-haut: 84px; padding-top: 84px; box-sizing: border-box; min-height: 100vh; }
.admin-bar .fdhb { --fdhb-haut: 84px; }
@media (max-width: 420px) { .fdhb { padding-top: 76px; --fdhb-haut: 76px; } }
.fdhb *, .fdhb *::before, .fdhb *::after { box-sizing: border-box; }
.fdhb [hidden] { display: none !important; }
.fdhb a { color: var(--fdhb-orange-texte); text-decoration: underline; text-underline-offset: 2px; }
.fdhb p { margin: 0 0 .75em; }
.fdhb ul, .fdhb ol { margin: 0; padding: 0; }

.fdhb-titre {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  line-height: 1;
  letter-spacing: .01em;
  margin: 0 0 .5rem;
  color: var(--fdhb-encre);
}
.fdhb-sous-titre { color: var(--fdhb-gris); max-width: 62ch; }
.fdhb-h2 { font-size: 1.25rem; font-weight: 700; margin: 2rem 0 .75rem; }
.fdhb-h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .5rem; display: flex; align-items: center; gap: .5rem; }
.fdhb-ico { width: 1.25em; height: 1.25em; flex: none; }
.fdhb-vide { color: var(--fdhb-gris); font-style: italic; }

/* ── Boutons ── */
.fdhb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.5rem;
  background: var(--fdhb-encre); color: #fff !important; text-decoration: none !important;
  border: 2px solid var(--fdhb-encre); border-radius: 8px;
  font: 600 1rem/1.2 'Barlow', Arial, sans-serif; cursor: pointer;
}
.fdhb-btn:hover { background: #2a2d35; }
.fdhb-btn-2 { background: transparent; color: var(--fdhb-encre) !important; }
.fdhb-btn-2:hover { background: rgba(17, 19, 24, .06); }
.fdhb-btn[disabled] { opacity: .55; cursor: progress; }
.fdhb-btn-lien {
  display: inline-flex; align-items: center; gap: .35rem;
  background: none; border: 0; padding: .25rem 0; cursor: pointer;
  font: 600 .95rem/1.3 'Barlow', Arial, sans-serif;
  color: var(--fdhb-orange-texte); text-decoration: underline; text-underline-offset: 2px;
}
.fdhb-liens { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1rem; }
.fdhb-msg:empty { display: none; }
.fdhb-msg { margin-top: 1rem; padding: .75rem 1rem; border-radius: 8px; background: #fdecea; color: #8e1c1c; font-weight: 600; }
.fdhb-msg.fdhb-ok { background: #e5f5ea; color: var(--fdhb-vert); }
.fdhb-msg-global { margin: 0 0 1rem; }

/* ════════ Écrans d'entrée : connexion et choix de la personne ════════ */
.fdhb-porte {
  max-width: 1040px; margin: 0 auto; padding: clamp(2rem, 6vw, 5rem) 1.25rem;
  display: grid; gap: 2.5rem; align-items: start;
}
@media (min-width: 860px) { .fdhb-porte { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.fdhb-porte-edition { font-weight: 600; color: var(--fdhb-orange-texte); margin-bottom: .75rem; }
.fdhb-porte .fdhb-titre { font-size: clamp(3.25rem, 9vw, 5.5rem); }
.fdhb-porte-intro > p:last-child { font-size: 1.2rem; color: var(--fdhb-gris); max-width: 34ch; }
.fdhb-porte-form {
  background: var(--fdhb-carte); border: 1px solid var(--fdhb-trait); border-radius: 12px;
  padding: clamp(1.25rem, 4vw, 2rem);
}
.fdhb-porte-form label { display: block; font-weight: 700; margin-bottom: .4rem; }
.fdhb-porte-form input { width: 100%; margin-bottom: 1rem; }
.fdhb-porte-form .fdhb-btn { width: 100%; }
.fdhb-aide { font-size: .95rem; color: var(--fdhb-gris); margin-top: .75rem; }
.fdhb input, .fdhb select, .fdhb textarea {
  font: 1.0625rem/1.4 'Barlow', Arial, sans-serif; color: var(--fdhb-encre);
  background: #fff; border: 1.5px solid rgba(17, 19, 24, .25); border-radius: 8px;
  padding: .7rem .85rem; min-height: 48px; width: 100%;
}
.fdhb input:focus, .fdhb select:focus, .fdhb textarea:focus { outline: 2px solid var(--fdhb-orange); outline-offset: 1px; border-color: var(--fdhb-encre); }
.fdhb input:disabled { background: var(--fdhb-fond); color: var(--fdhb-gris); }
.fdhb-code { font-family: 'Bebas Neue', Impact, sans-serif !important; font-size: 2.5rem !important; letter-spacing: .5em; text-align: center; padding: .4rem !important; }

.fdhb-choix { list-style: none; display: grid; gap: .6rem; }
.fdhb-choix button, .fdhb-compte summary {
  display: flex; align-items: center; gap: .85rem; width: 100%; text-align: left;
  font: inherit; color: inherit; cursor: pointer;
}
.fdhb-choix button { padding: .85rem 1rem; background: #fff; border: 1.5px solid var(--fdhb-trait); border-radius: 10px; }
.fdhb-choix button:hover { border-color: var(--fdhb-encre); }
.fdhb-choix small, .fdhb-compte small { display: block; color: var(--fdhb-gris); font-size: .9rem; }
.fdhb-choix-ajout { border-style: dashed !important; }
.fdhb-initiales {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--fdhb-encre); color: #fff;
  font: 400 1.25rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .04em;
}

/* ════════ Application : navigation + contenu ════════ */
.fdhb-app { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 2.5rem; padding: 2rem 1.5rem 4rem; }
.fdhb-nav { position: sticky; top: calc(var(--fdhb-haut) + 1.5rem); align-self: start; display: flex; flex-direction: column; gap: .25rem; }
.fdhb-nav-titre { font: 400 1.5rem/1 'Bebas Neue', Impact, sans-serif; margin: 0 0 1rem .75rem; }
.fdhb-nav a {
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem .75rem; border-radius: 8px;
  color: var(--fdhb-encre); text-decoration: none; font-weight: 600;
}
.fdhb-nav a:hover { background: rgba(17, 19, 24, .06); }
.fdhb-nav a[aria-current="page"] { background: var(--fdhb-encre); color: #fff; }

.fdhb-main { min-width: 0; }
.fdhb-barre { display: flex; justify-content: flex-end; margin-bottom: 1.5rem; }
.fdhb-compte { position: relative; }
.fdhb-compte summary { list-style: none; padding: .35rem .75rem .35rem .35rem; border: 1px solid var(--fdhb-trait); border-radius: 999px; background: #fff; max-width: 340px; }
.fdhb-compte summary::-webkit-details-marker { display: none; }
.fdhb-compte summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: .25rem; flex: none; }
.fdhb-compte .fdhb-initiales { width: 36px; height: 36px; font-size: 1.05rem; }
.fdhb-compte-txt { min-width: 0; line-height: 1.25; }
.fdhb-compte-txt strong, .fdhb-compte-txt small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fdhb-compte-menu {
  position: absolute; right: 0; top: calc(100% + .5rem); z-index: 50; min-width: 260px;
  background: #fff; border: 1px solid var(--fdhb-trait); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(17, 19, 24, .14); padding: .4rem;
}
.fdhb-compte-menu button { display: block; width: 100%; text-align: left; padding: .7rem .8rem; border-radius: 6px; font: 600 .98rem/1.3 'Barlow', Arial, sans-serif; color: var(--fdhb-encre); background: none; border: 0; cursor: pointer; }
.fdhb-compte-menu button:hover { background: var(--fdhb-fond); }

.fdhb-onglet { max-width: 820px; }

/* Mobile : barre d'onglets en bas de l'écran */
@media (max-width: 899px) {
  .fdhb-app { display: block; padding: 1.25rem 1rem calc(88px + env(safe-area-inset-bottom, 0px)); }
  .fdhb-nav {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 9000;
    flex-direction: row; gap: 0;
    background: #fff; border-top: 1px solid var(--fdhb-trait);
    padding: .3rem .25rem calc(.3rem + env(safe-area-inset-bottom, 0px));
  }
  .fdhb-nav-titre { display: none; }
  .fdhb-nav a { flex: 1; flex-direction: column; gap: .15rem; padding: .45rem 0; font-size: .7rem; text-align: center; min-width: 0; }
  .fdhb-nav a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .fdhb-nav a[aria-current="page"] { background: transparent; color: var(--fdhb-orange-texte); }
  .fdhb-nav a[aria-current="page"] .fdhb-ico { stroke-width: 2.4; }
  .fdhb-barre { margin-bottom: 1rem; }
  .fdhb-compte-menu { position: fixed; left: 1rem; right: 1rem; top: auto; }
}

/* ════════ Accueil ════════ */
.fdhb-annonce {
  border-left: 4px solid var(--fdhb-orange); background: var(--fdhb-orange-pale);
  padding: 1rem 1.25rem; border-radius: 0 8px 8px 0; margin: 1.25rem 0; font-weight: 600;
}
.fdhb-encart { background: #fff; border: 1px solid var(--fdhb-trait); border-radius: 12px; padding: 1.5rem; margin: 1.5rem 0; }
.fdhb-encart h2 { font-size: 1.3rem; margin: 0 0 .5rem; }

/* Le dossard : la carte de mission du bénévole */
.fdhb-dossards { display: grid; gap: 1.25rem; }
.fdhb-dossard {
  position: relative; background: #fff; border: 2px solid var(--fdhb-encre); border-radius: 6px;
  padding: 0 1.5rem 1.25rem; overflow: hidden;
}
.fdhb-dossard-haut {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin: 0 -1.5rem 1rem !important; padding: .7rem 2.75rem;
  background: var(--fdhb-orange); color: var(--fdhb-encre); font-weight: 700; font-size: .95rem;
}
/* trous d'épingle */
.fdhb-dossard::before, .fdhb-dossard::after {
  content: ""; position: absolute; top: .9rem; width: 12px; height: 12px; border-radius: 50%;
  background: var(--fdhb-fond); border: 2px solid var(--fdhb-encre);
}
.fdhb-dossard::before { left: .9rem; }
.fdhb-dossard::after { right: .9rem; }
.fdhb-dossard-num {
  font: 400 clamp(3.5rem, 12vw, 5rem)/.9 'Bebas Neue', Impact, sans-serif;
  letter-spacing: .02em; margin: 0 0 .35rem !important; overflow-wrap: anywhere;
}
.fdhb-dossard-nom { font-size: 1.15rem; font-weight: 700; }
.fdhb-dossard-quand { font-size: 1.1rem; font-weight: 600; color: var(--fdhb-orange-texte); }
.fdhb-dossard-detail { color: var(--fdhb-gris); }
.fdhb-equipe { border-top: 2px dashed var(--fdhb-trait); margin-top: 1rem; padding-top: 1rem; }
.fdhb-equipe-titre { font-weight: 700; }
.fdhb-equipe ul { list-style: none; display: grid; gap: .5rem; }
.fdhb-equipe li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .6rem .8rem; background: var(--fdhb-fond); border-radius: 8px; font-weight: 600; }
.fdhb-tel { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none !important; color: var(--fdhb-encre) !important; background: #fff; border: 1.5px solid var(--fdhb-encre); border-radius: 999px; padding: .35rem .85rem; }
.fdhb-dossard-actions { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1rem 0 0 !important; }

.fdhb-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 2rem; }
.fdhb-mini {
  display: flex; flex-direction: column; gap: .15rem; padding: 1.1rem 1.25rem;
  background: #fff; border: 1px solid var(--fdhb-trait); border-radius: 12px;
  color: var(--fdhb-encre) !important; text-decoration: none !important;
}
.fdhb-mini:hover { border-color: var(--fdhb-encre); }
.fdhb-mini strong { font-size: 1.2rem; }
.fdhb-mini span:last-child { color: var(--fdhb-gris); }
.fdhb-mini-label { font-size: .9rem; font-weight: 600; color: var(--fdhb-gris); }
.fdhb-mini-urgence { border-color: var(--fdhb-rouge); }
.fdhb-mini-urgence strong { color: var(--fdhb-rouge); font-size: 1.5rem; }

/* ════════ Planning ════════ */
.fdhb-liste-creneaux { list-style: none; display: grid; gap: .5rem; }
.fdhb-liste-creneaux li { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .85rem 1rem; background: #fff; border: 1px solid var(--fdhb-trait); border-radius: 10px; }
.fdhb-lc-quand { font-weight: 700; color: var(--fdhb-orange-texte); }
@media (max-width: 520px) { .fdhb-liste-creneaux li { grid-template-columns: 1fr; gap: .25rem; } }

.fdhb-frise { list-style: none; position: relative; padding-left: 1.75rem !important; }
.fdhb-frise::before { content: ""; position: absolute; left: .45rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--fdhb-trait); }
.fdhb-frise li { position: relative; padding: 0 0 1.75rem; }
.fdhb-frise li::before {
  content: ""; position: absolute; left: -1.75rem; top: .3rem; width: 16px; height: 16px; border-radius: 50%;
  background: var(--fdhb-fond); border: 3px solid var(--fdhb-encre);
}
.fdhb-frise h3 { font-size: 1.2rem; margin: .1rem 0 .25rem; }
.fdhb-frise-date { font-weight: 700; color: var(--fdhb-orange-texte); margin: 0 !important; }
.fdhb-frise-lieu { color: var(--fdhb-gris); margin-bottom: .25rem !important; }
.fdhb-frise .fdhb-passee { opacity: .5; }
.fdhb-frise .fdhb-prochaine::before { background: var(--fdhb-orange); border-color: var(--fdhb-orange); box-shadow: 0 0 0 4px var(--fdhb-orange-pale); }

/* ════════ Postes ════════ */
.fdhb-types { display: grid; gap: .6rem; margin-top: 1.25rem; }
.fdhb-type { background: #fff; border: 1px solid var(--fdhb-trait); border-radius: 12px; }
.fdhb-type[open] { border-color: var(--fdhb-encre); }
.fdhb-type > summary { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.25rem; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.1rem; }
.fdhb-type > summary::-webkit-details-marker { display: none; }
.fdhb-type > summary::after { content: "+"; margin-left: auto; font: 400 1.75rem/1 'Barlow', Arial, sans-serif; color: var(--fdhb-gris); }
.fdhb-type[open] > summary::after { content: "−"; }
.fdhb-type-ico { font-size: 1.5rem; width: 2rem; text-align: center; }
.fdhb-type-mien { border-left: 5px solid var(--fdhb-orange); }
.fdhb-pastille { font-style: normal; font-size: .8rem; font-weight: 700; background: var(--fdhb-orange-pale); color: var(--fdhb-orange-texte); padding: .15rem .55rem; border-radius: 999px; margin-left: .35rem; vertical-align: middle; }
.fdhb-type-corps { padding: 0 1.25rem 1.25rem 4.1rem; }
.fdhb-type-corps h3 { font-size: .95rem; margin: 1rem 0 .3rem; }
.fdhb-type-corps ul { padding-left: 1.2rem; }
.fdhb-sous-liste { margin-top: .75rem; border-top: 1px solid var(--fdhb-trait); padding-top: .6rem; }
.fdhb-sous-liste summary { cursor: pointer; font-weight: 600; }
.fdhb-sous-liste ul { list-style: none; padding: .5rem 0 0 !important; columns: 2 16rem; column-gap: 1.5rem; }
.fdhb-sous-liste li { break-inside: avoid; padding: .2rem 0; font-size: .95rem; }
@media (max-width: 600px) { .fdhb-type-corps { padding-left: 1.25rem; } }

/* ════════ Sécurité ════════ */
.fdhb-urgences { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; margin: 1.25rem 0 2rem; }
.fdhb-urgence {
  display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.1rem; border-radius: 10px;
  background: #fff; border: 1.5px solid var(--fdhb-trait); color: var(--fdhb-encre) !important; text-decoration: none !important;
}
.fdhb-urgence span { font-size: .92rem; font-weight: 600; color: var(--fdhb-gris); }
.fdhb-urgence strong { font: 400 2.25rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .03em; }
.fdhb-urgence-pc { grid-column: 1 / -1; background: var(--fdhb-rouge); border-color: var(--fdhb-rouge); color: #fff !important; }
.fdhb-urgence-pc span { color: rgba(255, 255, 255, .85); }
.fdhb-urgence-pc strong { font-size: 3rem; }

.fdhb-texte { max-width: 68ch; }
.fdhb-texte h3 { font-size: 1.2rem; margin: 1.75rem 0 .5rem; }
.fdhb-texte ul, .fdhb-texte ol { padding-left: 1.3rem; margin-bottom: 1rem; }
.fdhb-texte li { margin-bottom: .4rem; }

/* ════════ Infos pratiques ════════ */
.fdhb-carte { height: 380px; border-radius: 12px; border: 1px solid var(--fdhb-trait); margin: 1.25rem 0; z-index: 1; }
@media (max-width: 600px) { .fdhb-carte { height: 300px; } }
.fdhb-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.fdhb-points ul { list-style: none; display: grid; gap: .6rem; }
.fdhb-points li { display: flex; flex-direction: column; align-items: flex-start; }
.fdhb-points small { color: var(--fdhb-gris); font-size: .9rem; }
.fdhb-point { background: none; border: 0; padding: 0; cursor: pointer; font: 700 1rem/1.3 'Barlow', Arial, sans-serif; color: var(--fdhb-encre); text-align: left; }
.fdhb-point:hover { text-decoration: underline; }
.fdhb-puce { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--fdhb-encre); }
.fdhb-puce-parking, .fdhb-marq-parking { background: #2563eb; }
.fdhb-puce-dossard, .fdhb-marq-dossard { background: var(--fdhb-orange); }
.fdhb-puce-depart, .fdhb-marq-depart { background: var(--fdhb-encre); }
.fdhb-puce-secours, .fdhb-marq-secours { background: var(--fdhb-rouge); }
.fdhb-puce-autre, .fdhb-marq-autre { background: #6b7280; }
.fdhb-marq { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
.fdhb-contact { list-style: none; display: grid; gap: .35rem; font-weight: 600; }

/* ════════ Candidature ════════ */
.fdhb-etapes { background: #fff; border: 1px solid var(--fdhb-trait); border-radius: 12px; padding: clamp(1.25rem, 4vw, 2rem); margin-top: 1rem; }
.fdhb-etapes-fil { list-style: none; display: flex; gap: .4rem; margin-bottom: 1.5rem !important; counter-reset: e; }
.fdhb-etapes-fil li { flex: 1; font-size: .85rem; font-weight: 600; color: var(--fdhb-gris); padding-top: .55rem; border-top: 4px solid var(--fdhb-trait); counter-increment: e; }
.fdhb-etapes-fil li::before { content: counter(e) ". "; }
.fdhb-etapes-fil li.fdhb-fait { border-color: var(--fdhb-encre); color: var(--fdhb-encre); }
.fdhb-etapes-fil li.fdhb-actif { border-color: var(--fdhb-orange); color: var(--fdhb-encre); }
@media (max-width: 520px) { .fdhb-etapes-fil li { font-size: 0; } .fdhb-etapes-fil li::before { font-size: .85rem; content: counter(e); } }
.fdhb-etapes fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fdhb-etapes legend { font: 400 2rem/1 'Bebas Neue', Impact, sans-serif; margin-bottom: 1rem; padding: 0; }
.fdhb-champs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 1.25rem; }
.fdhb-champs label, .fdhb-etapes > fieldset > p > label { display: block; font-weight: 700; margin-bottom: .35rem; }
.fdhb-champs small { display: block; color: var(--fdhb-gris); font-size: .88rem; margin-top: .35rem; }
.fdhb-cases { display: grid; gap: .6rem; }
.fdhb-case { display: flex; align-items: flex-start; gap: .75rem; padding: .9rem 1rem; border: 1.5px solid var(--fdhb-trait); border-radius: 10px; cursor: pointer; font-weight: 600; }
.fdhb-case:has(input:checked) { border-color: var(--fdhb-encre); background: var(--fdhb-orange-pale); }
.fdhb-case input { width: 22px; height: 22px; min-height: 0; margin: .1rem 0 0; flex: none; accent-color: var(--fdhb-encre); padding: 0; }
.fdhb-case-seule { margin-top: 1rem; font-weight: 500; }
.fdhb-etapes-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; }
.fdhb-etapes-nav [data-suivant], .fdhb-etapes-nav [data-envoyer] { margin-left: auto; }
.fdhb-invalide { border-color: var(--fdhb-rouge) !important; }

.fdhb-recap { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.25rem; margin: 0 0 1.25rem; padding: 1rem 1.25rem; background: var(--fdhb-fond); border-radius: 10px; }
.fdhb-recap dt { font-weight: 700; }
.fdhb-recap dd { margin: 0; }
@media (max-width: 520px) { .fdhb-recap { grid-template-columns: 1fr; gap: 0; } .fdhb-recap dd { margin-bottom: .6rem; } }

/* ════════ Formulaire de candidature (questions Oui/Non, créneaux, secteurs) ════════ */
.fdhb .fdhb-q { display: block; font-weight: 700; margin: 1.5rem 0 .5rem; }
.fdhb-req { color: var(--fdhb-rouge); font-weight: 700; }
.fdhb-cases-ligne { grid-template-columns: repeat(auto-fit, minmax(130px, 200px)); }
.fdhb-periode { border: 1.5px solid var(--fdhb-trait); border-radius: 12px; padding: 1rem 1.25rem 1.1rem; margin-bottom: 1rem; }
.fdhb .fdhb-periode > .fdhb-q:first-child { margin-top: 0; }
.fdhb-sous { margin-top: 1rem; padding-left: 1rem; border-left: 4px solid var(--fdhb-orange-pale); }
.fdhb .fdhb-sous > .fdhb-q:first-child, .fdhb .fdhb-sous > p:first-child > .fdhb-q { margin-top: 0; }
.fdhb-total-dvd { display: block; margin-top: .5rem; font-weight: 700; color: var(--fdhb-orange-texte); }
.fdhb-etapes textarea { width: 100%; min-height: 6.5rem; resize: vertical; }

@media (prefers-reduced-motion: no-preference) {
  .fdhb-onglet:not([hidden]) { animation: fdhb-entree .25s ease-out; }
  @keyframes fdhb-entree { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* Étape « code » de la connexion (comptes administrateurs) */
.fdhb-lien { background: none; border: 0; padding: 0; font: inherit; color: var(--fdhb-orange-texte); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
#fdhb-f-code input { letter-spacing: .35em; font-size: 1.4rem; text-align: center; max-width: 12rem; }

/* ── Onglet Gestion (administrateurs) ── */
.fdhb-g-jours { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 .75rem; }
.fdhb .fdhb-g-jour { display: flex; flex-direction: column; align-items: center; min-width: 4.6rem; padding: .5rem .75rem; border: 1px solid var(--fdhb-trait); border-radius: 10px; background: #fff; color: var(--fdhb-encre); cursor: pointer; font: inherit; }
.fdhb .fdhb-g-jour:hover { border-color: var(--fdhb-orange); }
.fdhb .fdhb-g-jour.fdhb-actif { background: var(--fdhb-encre); color: #fff; border-color: var(--fdhb-encre); }
.fdhb-g-jour-nom { font-weight: 600; font-size: .9rem; }
.fdhb-g-jour-nb { font-size: .8rem; opacity: .75; min-height: 1em; }
.fdhb-g-moments { display: flex; gap: .4rem; margin: 0 0 1rem; flex-wrap: wrap; }
.fdhb .fdhb-g-moment { padding: .4rem .9rem; border: 1px solid var(--fdhb-trait); border-radius: 999px; background: #fff; color: var(--fdhb-encre); cursor: pointer; font: inherit; font-size: .9rem; }
.fdhb .fdhb-g-moment.fdhb-actif { background: var(--fdhb-orange-pale); border-color: var(--fdhb-orange); color: var(--fdhb-orange-texte); font-weight: 600; }
.fdhb-g-liste { display: grid; gap: .75rem; }
.fdhb-g-carte { background: #fff; border: 1px solid var(--fdhb-trait); border-radius: 12px; padding: 1rem; }
.fdhb-g-tete { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-bottom: .5rem; }
.fdhb-g-nom { font-size: 1.05rem; margin-right: auto; }
.fdhb-g-statut, .fdhb-g-choix { padding: .45rem .5rem; border: 1px solid var(--fdhb-trait); border-radius: 8px; font: inherit; background: #fff; max-width: 100%; }
.fdhb .fdhb-g-btn-mini { padding: .4rem .7rem; border: 1px solid var(--fdhb-trait); border-radius: 8px; background: #fff; cursor: pointer; font: inherit; font-size: .85rem; }
.fdhb .fdhb-g-btn-mini:hover { border-color: var(--fdhb-orange); }
.fdhb p.fdhb-g-ligne { margin: 0 0 .25rem; font-size: .92rem; }
.fdhb-g-etiq { color: var(--fdhb-gris); }
.fdhb p.fdhb-g-info { margin: .25rem 0; font-size: .9rem; color: var(--fdhb-gris); font-style: italic; }
.fdhb-g-affs { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0; padding: 0; }
.fdhb-g-affs .fdhb-chip { display: inline-flex; align-items: center; gap: .4rem; background: var(--fdhb-orange-pale); border-radius: 999px; padding: .25rem .4rem .25rem .75rem; font-size: .88rem; }
.fdhb .fdhb-g-x { width: 1.5rem; height: 1.5rem; border: 0; border-radius: 50%; background: rgba(17,19,24,.1); cursor: pointer; line-height: 1; font-size: 1rem; }
.fdhb .fdhb-g-x:hover { background: var(--fdhb-rouge); color: #fff; }
.fdhb-g-attrib { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.fdhb-g-choix { flex: 1 1 14rem; }
.fdhb-g-ajout { margin-top: 1.5rem; background: #fff; border: 1px solid var(--fdhb-trait); border-radius: 12px; padding: .75rem 1rem; }
.fdhb-g-ajout summary { cursor: pointer; font-weight: 600; }
.fdhb-g-ajout label { display: block; margin: .6rem 0 .2rem; font-size: .9rem; }
.fdhb-g-ajout input, .fdhb-g-ajout select { padding: .45rem .5rem; border: 1px solid var(--fdhb-trait); border-radius: 8px; font: inherit; max-width: 100%; }
@media (max-width: 600px) { .fdhb .fdhb-g-jour { min-width: 3.8rem; padding: .4rem .5rem; } }
.fdhb .fdhb-perso.fdhb-invalide { outline: 2px solid var(--fdhb-rouge); outline-offset: 4px; border-radius: 6px; }

/* Semaine avant : chaque jour affiche ses créneaux juste en dessous */
.fdhb-jours { display: grid; gap: .5rem; margin-bottom: .75rem; }
.fdhb-jour .fdhb-jour-creneaux { margin: .5rem 0 .25rem 1.6rem; padding-left: .9rem; border-left: 3px solid var(--fdhb-orange); }
.fdhb .fdhb-jour .fdhb-jour-creneaux .fdhb-q { font-size: .9rem; margin-bottom: .4rem; }
.fdhb-case[hidden] { display: none !important; }
.fdhb-jour-taches { margin-top: .6rem; }

/* ── Étape « Vérifie et envoie » : cartes lisibles ── */
.fdhb .fdhb-verif { display: grid; gap: .75rem; margin: 0 0 1.25rem; }
.fdhb .fdhb-v { background: #fff; border: 1px solid var(--fdhb-trait); border-radius: 12px; padding: .9rem 1rem 1rem; }
.fdhb .fdhb-v-tete { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .5rem; padding-bottom: .5rem; border-bottom: 1px solid var(--fdhb-trait); }
.fdhb .fdhb-v-titre { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 1.35rem; letter-spacing: .02em; margin: 0; color: var(--fdhb-orange-texte); }
.fdhb .fdhb-v .fdhb-lien { background: none; border: 0; padding: .3rem .5rem; font: inherit; font-size: .9rem; cursor: pointer; text-decoration: underline; color: var(--fdhb-orange-texte); }
.fdhb .fdhb-v-ligne { display: grid; grid-template-columns: 7.5rem 1fr; gap: .25rem .9rem; padding: .35rem 0; align-items: baseline; }
.fdhb .fdhb-v-etiq { font-size: .85rem; color: var(--fdhb-gris); }
.fdhb .fdhb-v-val { font-size: 1.02rem; font-weight: 600; overflow-wrap: anywhere; }
.fdhb .fdhb-v-pastilles { display: flex; flex-wrap: wrap; gap: .4rem; }
.fdhb .fdhb-pastille { background: var(--fdhb-orange-pale); color: var(--fdhb-orange-texte); border-radius: 999px; padding: .25rem .7rem; font-size: .9rem; font-weight: 600; }
.fdhb .fdhb-v-aucune { color: var(--fdhb-gris); font-style: italic; }
.fdhb p.fdhb-v-non, .fdhb p.fdhb-v-oui { margin: 0; color: var(--fdhb-gris); }
.fdhb p.fdhb-v-oui { color: var(--fdhb-vert); font-weight: 600; }
@media (max-width: 480px) { .fdhb .fdhb-v-ligne { grid-template-columns: 1fr; } }

/* Gestion : sous-onglets et éditeur du formulaire */
.fdhb-g-vues { display: flex; gap: .4rem; margin: .5rem 0 1rem; flex-wrap: wrap; }
.fdhb .fdhb-g-vue { padding: .5rem 1rem; border: 1px solid var(--fdhb-trait); border-radius: 999px; background: #fff; color: var(--fdhb-encre); cursor: pointer; font: inherit; font-weight: 600; }
.fdhb .fdhb-g-vue.fdhb-actif { background: var(--fdhb-encre); color: #fff; border-color: var(--fdhb-encre); }
[data-g-formulaire] input:not([type=checkbox]), [data-g-formulaire] select, [data-g-formulaire] textarea { width: 100%; max-width: 100%; padding: .55rem .65rem; border: 1px solid var(--fdhb-trait); border-radius: 8px; font: inherit; background: #fff; box-sizing: border-box; }
.fdhb-ed-etape { border: 1px solid var(--fdhb-trait); border-radius: 12px; padding: 1rem 1.1rem 1.1rem; margin: 0 0 1.1rem; background: #fff; min-width: 0; }
.fdhb-ed-etape > legend { font-weight: 800; padding: 0 .4rem; font-size: 1.05rem; }
.fdhb-etiq { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #7a7a7a; margin: .2rem 0 .25rem; }
.fdhb-ft { margin: .6rem 0; }
.fdhb-fixe { font-size: .85rem; color: #7a7a7a; margin: .5rem 0; padding: .4rem .6rem; background: #f6f6f4; border-radius: 8px; }
.fdhb-ed-bloc { border: 1px dashed var(--fdhb-trait); border-radius: 10px; padding: .75rem .9rem; margin: .8rem 0; }
.fdhb-ed-tete { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; }
.fdhb-bascule { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; font-size: .9rem; font-weight: 600; }
.fdhb-bascule input { width: 1.2rem; height: 1.2rem; accent-color: var(--fdhb-rose, #e0368c); }
.fdhb-ed-off { background: #f3f3f1; }
.fdhb-ed-off .fdhb-ed-corps { opacity: .45; pointer-events: none; }
.fdhb-tache { border: 1px solid var(--fdhb-trait); border-radius: 10px; padding: .55rem .65rem; margin: .45rem 0; background: #fcfcfb; }
.fdhb-tache-ligne { display: flex; gap: .4rem; align-items: center; }
.fdhb-tache-ligne .fdhb-tache-nom { flex: 1; min-width: 0; }
.fdhb-tache-regle { display: flex; flex-wrap: wrap; gap: .35rem .5rem; align-items: center; margin-top: .45rem; }
.fdhb-tache-regle .fdhb-etiq { margin: 0 .2rem 0 0; }
.fdhb-opt { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border: 1px solid var(--fdhb-trait); border-radius: 999px; font-size: .85rem; cursor: pointer; background: #fff; }
.fdhb-opt input { accent-color: var(--fdhb-rose, #e0368c); }
.fdhb-fq-zone { margin-top: .9rem; }
.fdhb-fq { border: 1px solid var(--fdhb-trait); border-left: 4px solid var(--fdhb-rose, #e0368c); border-radius: 10px; padding: .7rem .9rem; margin: .7rem 0; background: #fcfcfb; }
.fdhb-fq .fdhb-fq-titre { font-weight: 700; font-size: 1.05rem; }
.fdhb-fq label { font-size: .85rem; font-weight: 600; }
.fdhb-fq-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .5rem; }
.fdhb .fdhb-fq-suppr { color: var(--fdhb-rouge, #c0392b); }
.fdhb .fdhb-fq-plus { margin-top: .4rem; }
.fdhb-ed-barre { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--fdhb-trait); padding: .75rem 0; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; z-index: 5; }
.fdhb-opt input, .fdhb-bascule input, .fdhb-fq .fdhb-case input { width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; flex: none; }

/* Étape 1 : identité déjà connue, présentée comme une information et non comme un champ à remplir */
.fdhb-identite { background: #f4f9f4; border: 1px solid #cfe5cf; border-radius: 12px; padding: 1rem 1.1rem; margin: .5rem 0 1rem; }
.fdhb-identite-msg { margin: 0 0 .75rem; font-size: 1.02rem; }
.fdhb-identite-msg span { display: inline-flex; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #2e7d32; color: #fff; align-items: center; justify-content: center; font-size: .9rem; margin-right: .35rem; }
.fdhb-identite-liste { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.25rem; margin: 0; }
.fdhb-identite-liste dt { color: #6b6b6b; }
.fdhb-identite-liste dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }

.fdhb-corr-form { background: #fff; border: 1px solid var(--fdhb-trait); border-radius: 12px; padding: .9rem 1rem; margin: .5rem 0 1rem; }
.fdhb-corr .fdhb-lien { font: inherit; }

.fdhb-prein { margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid var(--fdhb-trait); }
.fdhb-prein .fdhb-lien { font: inherit; font-weight: 700; }
.fdhb-prein-form { margin-top: .6rem; }
.fdhb-piege { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.fdhb-g-pastille { display: inline-block; min-width: 1.3rem; padding: 0 .35rem; border-radius: 999px; background: var(--fdhb-rose, #e0368c); color: #fff; font-size: .78rem; text-align: center; }
.fdhb-dem { border: 1px solid var(--fdhb-trait); border-radius: 12px; padding: .8rem 1rem; margin: .75rem 0; background: #fff; }
.fdhb-dem p { margin: .15rem 0; }
.fdhb-dem-infos { color: #6b6b6b; }
.fdhb-dem-msg { font-style: italic; }

/* Carte : bouton « Ma position » (façon Google Maps) + point bleu */
.fdhb-maposition{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:0;padding:0;background:#fff;border:0;border-radius:50%;box-shadow:0 2px 6px rgba(0,0,0,.35);cursor:pointer;color:#5f6368}
.fdhb-maposition:hover{background:#f1f3f4}
.fdhb-maposition-charge{color:#1a73e8;animation:fdhbPulse 1s infinite}
.fdhb .fdhb-maposition.fdhb-maposition-on,.fdhb .fdhb-maposition.fdhb-maposition-charge{color:#1a73e8}
.fdhb .fdhb-maposition.fdhb-maposition-err{color:#c5221f}
@keyframes fdhbPulse{50%{opacity:.4}}
.fdhb-marq-moi{position:relative;width:22px;height:22px;border-radius:50%;background:#1a73e8;border:3px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.5);box-sizing:border-box}
.fdhb-marq-moi::after{content:"";position:absolute;inset:-9px;border-radius:50%;background:rgba(26,115,232,.3);animation:fdhbOnde 2s ease-out infinite;z-index:-1}
@keyframes fdhbOnde{0%{transform:scale(.5);opacity:1}100%{transform:scale(1.4);opacity:0}}

/* Notifications admin (pastille rouge) */
.fdhb-pastille{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;margin-left:6px;border-radius:10px;background:#d93025;color:#fff;font:700 12px/1 inherit;box-sizing:border-box}
.fdhb-notif-admin{margin:0 0 16px}
.fdhb-notif-admin a{display:flex;align-items:center;gap:8px;padding:12px 14px;border:1px solid #f1b9b4;background:#fdecea;border-radius:10px;color:#8c1d18;font-weight:600;text-decoration:none}
.fdhb-notif-admin .fdhb-pastille{margin:0}
.fdhb-g-mdp{max-width:380px}
.fdhb-g-mdp input{width:100%}

.fdhb-p-ligne{margin:8px 0;padding:10px;border:1px dashed #cfcfcf;border-radius:8px}
.fdhb-p-attente{padding:12px 14px;border-radius:10px;background:#eaf6ec}

/* Fenêtre « pas l'inscription aux courses » */
.fdhb-modale{position:fixed;inset:0;margin:auto;height:fit-content;max-width:440px;width:calc(100% - 32px);padding:22px;border:0;border-radius:14px;box-shadow:0 10px 40px rgba(0,0,0,.35)}
.fdhb-modale::backdrop{background:rgba(0,0,0,.55)}
.fdhb-modale h2{margin:0 0 .6rem;font-size:1.25rem;line-height:1.25}
.fdhb-modale p{margin:.5rem 0}
.fdhb-modale-actions{display:flex;flex-direction:column;gap:10px;margin-top:1rem}
.fdhb-modale-actions .fdhb-btn{text-align:center;text-decoration:none}

/* ═══════════════════════════════════════════════════════════════
   HABILLAGE « SITE » : même univers que le reste du site
   (bandeau photo, titres Bebas, cartes blanches arrondies,
    boutons orange en pilule, cartes sombres façon « Les départs »)
   ═══════════════════════════════════════════════════════════════ */
.fdh-home .fdhb {
  --fdhb-fond: #f7f6f4;
  --fdhb-orange-texte: #b4501a;
  --fdhb-radius: 18px;
  --fdhb-ombre: 0 8px 26px rgba(30, 33, 28, .07);
  --fdhb-schiste: #1e211c;
  background: transparent;
  padding-top: 0 !important;
  min-height: 0;
}
.fdh-home { background: #f7f6f4; }

/* Boutons : pilule orange, comme « S'inscrire » */
.fdhb-btn {
  background: var(--fdhb-orange); border-color: var(--fdhb-orange); border-radius: 999px;
  font-weight: 700; padding: .8rem 1.6rem; box-shadow: 0 6px 18px rgba(232, 115, 42, .28);
}
.fdhb-btn:hover { background: #d4631f; border-color: #d4631f; }
.fdhb-btn-2 { background: #fff; border: 1.5px solid rgba(30, 33, 28, .18); color: var(--fdhb-schiste) !important; box-shadow: none; }
.fdhb-btn-2:hover { background: #fff; border-color: var(--fdhb-orange); }
.fdhb input, .fdhb select, .fdhb textarea { border-radius: 12px; border: 1.5px solid rgba(30, 33, 28, .16); }
.fdhb input:focus, .fdhb select:focus, .fdhb textarea:focus { outline: 0; border-color: var(--fdhb-orange); box-shadow: 0 0 0 4px rgba(232, 115, 42, .18); }

/* Titres : Bebas, comme « LES COURSES » */
.fdhb-titre { font-size: clamp(2.2rem, 5vw, 3rem); color: var(--fdhb-schiste); letter-spacing: .01em; text-transform: uppercase; }
.fdhb-h2 { font: 400 1.9rem/1.05 'Bebas Neue', Impact, sans-serif; letter-spacing: .01em; text-transform: uppercase; margin: 2.25rem 0 .9rem; color: var(--fdhb-schiste); }

/* Écrans d'entrée : la carte remonte sur le bandeau */
.fdhb-porte { display: block; max-width: 540px; margin: -3.2rem auto 0; padding: 0 1rem 4.5rem; position: relative; z-index: 3; }
.fdhb-porte-intro { display: none; }
.fdhb-porte-form {
  border-radius: 24px; border: 1px solid rgba(30, 33, 28, .06); box-shadow: 0 20px 54px rgba(30, 33, 28, .18);
  padding: clamp(1.4rem, 4vw, 2.2rem);
}
.fdhb-aide { color: #5b6056; }
.fdhb-choix button { border-radius: 16px; border: 1.5px solid rgba(30, 33, 28, .1); box-shadow: var(--fdhb-ombre); }
.fdhb-choix button:hover { border-color: var(--fdhb-orange); }
.fdhb-initiales { background: var(--fdhb-schiste); color: #f2a35c; }

/* Application : onglets en pilules sous le bandeau (plus de colonne latérale) */
.fdhb-app { display: block; max-width: 1100px; margin: 0 auto; padding: 0 1.25rem 4.5rem; }
.fdhb-nav {
  position: sticky; top: 74px; z-index: 30; flex-direction: row; flex-wrap: wrap; gap: .5rem;
  margin: 0 -1.25rem 1.25rem; padding: .9rem 1.25rem;
  background: rgba(247, 246, 244, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.fdhb-nav-titre { display: none; }
.fdhb-nav a {
  padding: .55rem 1.05rem; border-radius: 999px; background: #fff; border: 1.5px solid rgba(30, 33, 28, .1);
  box-shadow: 0 2px 8px rgba(30, 33, 28, .04); font-weight: 600; font-size: .98rem; color: var(--fdhb-schiste);
}
.fdhb-nav a:hover { background: #fff; border-color: var(--fdhb-orange); }
.fdhb-nav a[aria-current="page"] { background: var(--fdhb-schiste); border-color: var(--fdhb-schiste); color: #fff; }
.fdhb-nav a[aria-current="page"] .fdhb-ico { color: #f2a35c; }
.fdhb-barre { margin-bottom: 1rem; }
.fdhb-compte summary { border-radius: 999px; box-shadow: var(--fdhb-ombre); border-color: rgba(30, 33, 28, .08); }
.fdhb-compte-menu { border-radius: 16px; }
.fdhb-onglet { max-width: 920px; }

/* Mobile : barre d'onglets sombre en bas, comme le menu du site */
@media (max-width: 899px) {
  .fdhb-app { padding: 0 1rem calc(92px + env(safe-area-inset-bottom, 0px)); }
  .fdhb-nav {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); top: auto; margin: 0; padding: .35rem;
    flex-wrap: nowrap; gap: 0; border-radius: 22px; background: rgba(30, 33, 28, .96); box-shadow: 0 10px 34px rgba(0, 0, 0, .35); border: 0;
  }
  .fdhb-nav a { background: transparent; border: 0; box-shadow: none; color: rgba(255, 255, 255, .78); border-radius: 16px; padding: .5rem 0; }
  .fdhb-nav a:hover { background: transparent; }
  .fdhb-nav a[aria-current="page"] { background: rgba(255, 255, 255, .1); color: #f2a35c; border: 0; }
  .fdhb-nav a[aria-current="page"] .fdhb-ico { color: #f2a35c; }
  .fdhb-barre { justify-content: center; margin-top: 1rem; }
  .fdhb-barre .fdhb-compte { width: 100%; }
}

/* Cartes blanches arrondies */
.fdhb-annonce { border: 0; border-left: 5px solid var(--fdhb-orange); border-radius: 16px; background: #fff4ea; box-shadow: var(--fdhb-ombre); }
.fdhb-encart, .fdhb-etapes, .fdhb-type, .fdhb-mini, .fdhb-urgence, .fdhb-g-carte, .fdhb-dem, .fdhb-corr-form, .fdhb .fdhb-v, .fdhb-liste-creneaux li {
  border-radius: var(--fdhb-radius); border: 1px solid rgba(30, 33, 28, .06); box-shadow: var(--fdhb-ombre);
}
.fdhb-encart h2 { font: 400 1.7rem/1.05 'Bebas Neue', Impact, sans-serif; text-transform: uppercase; }
.fdhb-mini:hover, .fdhb-urgence:hover { border-color: var(--fdhb-orange); transform: translateY(-2px); }
.fdhb-mini, .fdhb-urgence { transition: transform .15s, border-color .15s; }
.fdhb-mini-urgence { border-color: rgba(198, 40, 40, .45); }
.fdhb-urgence-pc { background: #b3261e; }
.fdhb-carte { border-radius: var(--fdhb-radius); box-shadow: var(--fdhb-ombre); }
.fdhb-type[open] { border-color: rgba(232, 115, 42, .55); }
.fdhb-type-mien { border-left-color: var(--fdhb-orange); }
.fdhb-pastille { background: #fff1e3; color: var(--fdhb-orange-texte); }
.fdhb-case { border-radius: 14px; }
.fdhb-case:has(input:checked) { border-color: var(--fdhb-orange); background: #fff4ea; }
.fdhb-case input { accent-color: var(--fdhb-orange); }
.fdhb-etapes-fil li.fdhb-fait { border-color: var(--fdhb-schiste); }
.fdhb-frise li::before { border-color: var(--fdhb-schiste); }
.fdhb-recap, .fdhb-identite { border-radius: 14px; }
.fdhb-modale { border-radius: 22px; }

/* Missions : cartes sombres, comme « Les départs » de la page Jour J */
.fdhb-dossards { gap: 1.1rem; }
.fdhb-dossard {
  background: var(--fdhb-schiste); color: #fff; border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px; padding: 0 1.6rem 1.5rem; box-shadow: 0 16px 44px rgba(30, 33, 28, .2);
}
.fdhb-dossard::before, .fdhb-dossard::after { display: none; }
.fdhb-dossard-haut {
  background: transparent; color: #f2a35c; margin: 0 -1.6rem 1.1rem !important; padding: 1.05rem 1.6rem .85rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1); font: 700 .78rem/1.2 'Barlow', sans-serif; letter-spacing: .12em; text-transform: uppercase;
}
.fdhb-dossard-num { color: var(--fdhb-orange); }
.fdhb-dossard-nom { color: #fff; }
.fdhb-dossard-quand { color: #f2a35c; }
.fdhb-dossard-detail { color: rgba(255, 255, 255, .75); }
.fdhb-dossard-detail strong { color: #fff; }
.fdhb-equipe { border-top: 1px solid rgba(255, 255, 255, .12); }
.fdhb-equipe-titre { color: #fff; }
.fdhb-equipe li { background: rgba(255, 255, 255, .06); color: #fff; border-radius: 12px; }
.fdhb-dossard .fdhb-tel { background: var(--fdhb-orange); color: #fff !important; border-color: var(--fdhb-orange); }
.fdhb-dossard .fdhb-btn-lien, .fdhb-dossard a { color: #f2a35c; }
.fdhb-dossard .fdhb-btn-lien:hover { color: #fff; }
.fdhb-dossard .fdhb-ico { color: #f2a35c; }
@media (max-width: 899px) { .fdhb-nav a { font-size: .72rem; gap: .15rem; min-width: 0; } .fdhb-nav a span { overflow: hidden; text-overflow: ellipsis; } .fdhb-porte { margin-top: -2.4rem; } }

/* Corrections d'affichage (téléphone) */
.fdh-home .fdh-hero:has(+ .fdhb[data-vue="connexion"]), .fdh-home .fdh-hero:has(+ .fdhb[data-vue="lien"]), .fdh-home .fdh-hero:has(+ .fdhb[data-vue="attente"]), .fdh-home .fdh-hero:has(+ .fdhb[data-vue="choix"]) { padding-bottom: 6rem !important; }
.fdhb-porte { padding-bottom: 2.5rem; }
@media (max-width: 899px) {
  .fdhb-barre { display: block; }
  .fdhb-compte, .fdhb-compte summary { width: 100%; box-sizing: border-box; }
  .fdhb-compte summary { justify-content: space-between; }
  .fdhb-compte-menu { left: 0; right: 0; }
}

/* ───── Fiche bénévole : jours, kilomètres, radio/gilet, impression ───── */
.fdhb-jour-titre { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 1.6rem; letter-spacing: .04em; margin: .75rem 0 -.25rem; color: #1e211c; }
.fdhb-jour-titre:first-child { margin-top: 0; }
.fdhb-poste-n { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin: 0 0 .15rem; }
.fdhb-pastilles { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 0; }
.fdhb-pastilles span { border: 1px solid currentColor; border-radius: 999px; padding: .15rem .65rem; font-size: .85rem; font-weight: 600; }
.fdhb-km { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem .75rem; margin: .8rem 0 0; padding: .7rem .8rem; border-radius: 10px; background: rgba(232,115,42,.10); }
.fdhb-km div { min-width: 0; }
.fdhb-km dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; opacity: .75; }
.fdhb-km dd { margin: 0; font-weight: 700; font-size: 1.05rem; }
@media (min-width: 640px) { .fdhb-km { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fdhb-impr-bouton { margin: 0 0 1rem; }
.fdhb-impr-entete { display: none; }
@media print {
  body * { visibility: hidden; }
  .fdhb-onglet[data-panneau="accueil"], .fdhb-onglet[data-panneau="accueil"] * { visibility: visible; }
  .fdhb-onglet[data-panneau="accueil"] { position: absolute; left: 0; top: 0; width: 100%; }
  .fdhb-onglet[data-panneau="accueil"] > :not(h2):not(.fdhb-impr-entete):not(.fdhb-dossards):not(.fdhb-jour-titre) { display: none !important; }
  .fdhb-onglet[data-panneau="accueil"] .fdhb-titre, .fdhb-impr-bouton, .fdhb-dossard-actions, .fdhb-duo, .fdhb-tel svg { display: none !important; }
  .fdhb-impr-entete { display: block !important; }
  .fdhb-impr-titre { font-size: 22pt; font-weight: 700; margin: 0 0 12pt; color: #000; }
  .fdhb-dossard { break-inside: avoid; box-shadow: none !important; background: #fff !important; color: #000 !important; border: 1.5pt solid #000 !important; margin-bottom: 10pt; }
  .fdhb-dossard * { color: #000 !important; }
  .fdhb-dossard::before, .fdhb-dossard::after { display: none; }
}

.fdhb-poste-mien { background: var(--fdhb-orange-pale); border-left: 4px solid var(--fdhb-orange); padding: .3rem .5rem; border-radius: 4px; list-style-position: inside; }

/* ── Accueil : bandeau d'en-tête ── */
.fdhb-hero { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.2rem; align-items: center; margin: 0 0 1.2rem; padding: 1.2rem 1.3rem; border-radius: 22px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, #f5944d 0%, #e8732a 40%, #a84a14 100%); box-shadow: 0 16px 36px rgba(232,115,42,.30); }
.fdhb-hero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.10); }
.fdhb-hero-gauche { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-right: 1.2rem; border-right: 1px solid rgba(255,255,255,.35); line-height: 1.05; position: relative; z-index: 1; }
.fdhb-hero-j { font: 400 3.2rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .02em; }
.fdhb-hero-gauche span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; opacity: .9; text-align: center; }
.fdhb-hero-stats { list-style: none; display: flex; gap: .4rem 1.6rem; margin: 0; padding: 0; position: relative; z-index: 1; }
.fdhb-hero-stats li { display: flex; flex-direction: column; line-height: 1.1; }
.fdhb-hero-stats b { font-size: 1.9rem; font-weight: 800; }
.fdhb-hero-stats span { font-size: .78rem; opacity: .92; }
.fdhb-hero-premier { grid-column: 1 / -1; margin: .2rem 0 0 !important; padding: .6rem .85rem; border-radius: 14px; background: rgba(255,255,255,.2); font-size: .92rem; position: relative; z-index: 1; backdrop-filter: blur(4px); }
.fdhb-hero-premier strong { font-weight: 800; }
@media (max-width: 420px) { .fdhb-hero { grid-template-columns: 1fr; } .fdhb-hero-gauche { flex-direction: row; gap: .6rem; border-right: 0; padding: 0; justify-content: flex-start; } }

/* ── Fiche bénévole : frise du week-end ── */
.fdhb-jour-titre { display: inline-flex; align-items: center; font-family: 'Barlow', sans-serif; font-weight: 800; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--fdhb-schiste); border-radius: 999px; padding: .35rem .95rem; margin: 1.3rem 0 .7rem; width: fit-content; }
.fdhb-jour-titre:first-child { margin-top: 0; }
.fdhb-dossards { display: flex; flex-direction: column; gap: 0; position: relative; }
.fdhb-dossard.fdhb-ev { display: grid; grid-template-columns: 4.3rem 1fr; gap: 0 .9rem; background: transparent; border: 0; box-shadow: none; padding: 0 0 1rem; overflow: visible; border-radius: 0; color: var(--fdhb-encre); position: relative; }
.fdhb-dossard.fdhb-ev::before { content: ""; position: absolute; left: 4.3rem; top: .3rem; bottom: -.3rem; width: 2px; background: var(--fdhb-trait); display: block; transform: translateX(.45rem); }
.fdhb-dossard.fdhb-ev::after { content: ""; position: absolute; left: calc(4.3rem + .45rem - 6px); top: .5rem; width: 14px; height: 14px; border-radius: 50%; background: var(--fdhb-orange); border: 3px solid var(--fdhb-fond); box-shadow: 0 0 0 2px var(--fdhb-orange); display: block; }
.fdhb-ev-temps { display: flex; flex-direction: column; align-items: flex-end; text-align: right; line-height: 1.15; padding-top: .1rem; }
.fdhb-ev-temps b { white-space: nowrap; font: 400 1.7rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .02em; color: var(--fdhb-encre); }
.fdhb-ev-temps span { font-size: .82rem; color: var(--fdhb-gris); }
.fdhb-ev-temps em { font-style: normal; font-size: .7rem; font-weight: 700; margin-top: .35rem; padding: .1rem .5rem; border-radius: 999px; background: var(--fdhb-orange-pale); color: var(--fdhb-orange-texte); }
.fdhb-ev-carte { margin-left: 1.1rem; background: #fff; border-radius: 20px; padding: 1rem 1.1rem 1rem; box-shadow: 0 6px 22px rgba(30,33,28,.09); border: 1px solid var(--fdhb-trait); position: relative; overflow: hidden; min-width: 0; }
.fdhb-ev-carte::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: linear-gradient(90deg, #f5944d, #e8732a); }
.fdhb-dossard.fdhb-ev .fdhb-poste-n { display: none; }
.fdhb-ev-entete { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: .2rem; }
.fdhb-ev-ico { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: var(--fdhb-orange-pale); font-size: 1rem; }
.fdhb-ev-type { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fdhb-gris); flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fdhb-ev-badge { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; background: var(--fdhb-schiste); color: #fff; }
.fdhb-ev-badge-live { background: #1d9a4a; animation: fdhb-pouls 1.8s infinite; }
.fdhb-ev-badge-fin { background: #e6e6e3; color: var(--fdhb-gris); }
@keyframes fdhb-pouls { 0%,100% { box-shadow: 0 0 0 0 rgba(29,154,74,.5); } 50% { box-shadow: 0 0 0 6px rgba(29,154,74,0); } }
.fdhb-ev-titre { margin: .55rem 0 0 !important; font-size: 1.25rem; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.fdhb-ev-code { display: inline-block; font: 400 1.6rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .03em; color: #fff; background: var(--fdhb-orange); padding: .12rem .55rem .05rem; border-radius: 8px; margin-right: .25rem; vertical-align: .05em; }
.fdhb-ev-lieu { display: flex; align-items: center; gap: .35rem; margin: .45rem 0 0 !important; font-size: .92rem; color: var(--fdhb-gris); }
.fdhb-ev-lieu svg { color: var(--fdhb-orange); flex: 0 0 auto; }
.fdhb-dossard.fdhb-ev .fdhb-pastilles { margin: .6rem 0 0; }
.fdhb-dossard.fdhb-ev .fdhb-pastilles span { font-size: .78rem; padding: .15rem .65rem; background: var(--fdhb-orange-pale); border-color: transparent; color: var(--fdhb-orange-texte); }
.fdhb-piste { margin-top: .9rem; padding: .8rem .9rem .7rem; border-radius: 14px; background: var(--fdhb-fond); }
.fdhb-piste-barre { position: relative; height: 8px; border-radius: 999px; background: linear-gradient(90deg, #e9e6e0, #dcd8d0); }
.fdhb-piste-barre i { position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--fdhb-orange); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(232,115,42,.55); transform: translate(-50%, -50%); }
.fdhb-piste-legende { display: flex; justify-content: space-between; font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--fdhb-gris); margin-top: .35rem; }
.fdhb-dossard.fdhb-ev ul.fdhb-km { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; margin: .65rem 0 0; padding: 0; background: none; }
.fdhb-km li { display: flex; flex-direction: column; line-height: 1.15; }
.fdhb-km b { font-size: 1rem; font-weight: 800; color: var(--fdhb-orange-texte); }
.fdhb-km span { font-size: .66rem; text-transform: uppercase; letter-spacing: .04em; color: var(--fdhb-gris); }
.fdhb-ev-consignes { margin: .8rem 0 0; font-size: .9rem; color: var(--fdhb-gris); padding-left: .7rem; border-left: 3px solid var(--fdhb-orange-pale); }
.fdhb-dossard.fdhb-ev .fdhb-equipe { border: 0; margin: .85rem 0 0; padding: 0; }
.fdhb-equipe .fdhb-avatars { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.fdhb-equipe .fdhb-avatars li { display: inline-flex; justify-content: flex-start; align-items: center; gap: .4rem; padding: .2rem .7rem .2rem .25rem; background: var(--fdhb-fond); color: var(--fdhb-encre); border-radius: 999px; font-size: .85rem; font-weight: 600; }
.fdhb-avatars i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .62rem; font-weight: 800; background: var(--fdhb-schiste); color: #fff; }
.fdhb-dossard.fdhb-ev .fdhb-equipe-titre { margin: 0; font-size: .85rem; font-weight: 600; color: var(--fdhb-gris); }
.fdhb-dossard.fdhb-ev .fdhb-dossard-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0 0 !important; }
.fdhb-dossard.fdhb-ev .fdhb-dossard-actions a, .fdhb-dossard.fdhb-ev .fdhb-dossard-actions button { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .95rem; border-radius: 999px; background: var(--fdhb-schiste); color: #fff !important; font-size: .85rem; font-weight: 700; text-decoration: none; border: 0; }
.fdhb-dossard.fdhb-ev .fdhb-dossard-actions .fdhb-ico { color: #f2a35c; }
.fdhb-dossard.fdhb-ev.est-passe .fdhb-ev-carte { opacity: .6; }
.fdhb-dossard.fdhb-ev.est-passe::after { background: #bdbdb8; box-shadow: 0 0 0 2px #bdbdb8; }
.fdhb-dossard.fdhb-ev.est-prochain .fdhb-ev-carte, .fdhb-dossard.fdhb-ev.est-encours .fdhb-ev-carte { box-shadow: 0 10px 30px rgba(232,115,42,.25); border-color: rgba(232,115,42,.5); }
@media (max-width: 440px) {
  .fdhb-dossard.fdhb-ev { grid-template-columns: 3.6rem 1fr; }
  .fdhb-dossard.fdhb-ev::before { left: 3.6rem; } .fdhb-dossard.fdhb-ev::after { left: calc(3.6rem + .45rem - 6px); }
  .fdhb-ev-temps b { font-size: 1.1rem; } .fdhb-ev-carte { margin-left: .9rem; padding: .9rem; }
  .fdhb-dossard.fdhb-ev ul.fdhb-km { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print {
  .fdhb-hero { display: none !important; }
  .fdhb-dossard.fdhb-ev { display: block; padding: 0; }
  .fdhb-dossard.fdhb-ev::before, .fdhb-dossard.fdhb-ev::after { display: none !important; }
  .fdhb-ev-carte { margin: 0 0 8pt; border: 1.5pt solid #000 !important; box-shadow: none !important; opacity: 1 !important; }
  .fdhb-ev-carte::before { display: none; }
  .fdhb-ev-temps { flex-direction: row; gap: 6pt; align-items: baseline; text-align: left; }
  .fdhb-ev-temps b::after { content: " →"; }
  .fdhb-ev-code { background: none !important; border: 1pt solid #000; }
  .fdhb-dossard.fdhb-ev .fdhb-poste-n { display: block; }
  .fdhb-piste-barre, .fdhb-ev-badge, .fdhb-avatars i { display: none !important; }
}

/* ═══════════ Refonte visuelle des onglets (Planning, Postes, Sécurité, Infos…) ═══════════ */
.fdhb-onglet > .fdhb-titre { position: relative; padding-bottom: .7rem; margin-bottom: 1rem; }
.fdhb-onglet > .fdhb-titre::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 5px; border-radius: 99px; background: linear-gradient(90deg, #f5944d, #e8732a); }
.fdhb-h2 { display: flex; align-items: center; gap: .6rem; }
.fdhb-h2::before { content: ""; width: 6px; height: 1.3em; border-radius: 99px; background: var(--fdhb-orange); flex: 0 0 auto; }

/* Accueil : petits blocs du bas */
.fdhb-duo { gap: .8rem; }
.fdhb .fdhb-mini { border: 0; border-radius: 20px; padding: 1.1rem 1.25rem; background: linear-gradient(135deg, #2a2e27, #1e211c); color: #fff; box-shadow: 0 12px 28px rgba(30,33,28,.22); position: relative; overflow: hidden; }
.fdhb .fdhb-mini::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(232,115,42,.25); }
.fdhb .fdhb-mini-label { color: #f2a35c; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 800; }
.fdhb .fdhb-mini strong { color: #fff; font-size: 1.25rem; position: relative; z-index: 1; }
.fdhb .fdhb-mini span:last-child { color: rgba(255,255,255,.75); position: relative; z-index: 1; }
.fdhb .fdhb-mini-urgence { background: linear-gradient(135deg, #d6382e, #a8231b); }
.fdhb .fdhb-mini-urgence::after { background: rgba(255,255,255,.15); }
.fdhb .fdhb-mini-urgence .fdhb-mini-label { color: rgba(255,255,255,.85); }
.fdhb .fdhb-mini-urgence strong { color: #fff; font: 400 2.2rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .03em; }

/* Planning : mes créneaux */
.fdhb-liste-creneaux { gap: .7rem; }
.fdhb .fdhb-liste-creneaux li { display: flex; align-items: center; gap: .9rem; padding: .75rem .9rem; border: 1px solid var(--fdhb-trait); border-radius: 18px; box-shadow: 0 4px 16px rgba(30,33,28,.06); background: #fff; }
.fdhb-lc-date { flex: 0 0 auto; width: 54px; padding: .35rem 0 .3rem; border-radius: 14px; text-align: center; color: #fff; background: linear-gradient(160deg, #f5944d, #d4631f); line-height: 1; box-shadow: 0 6px 14px rgba(232,115,42,.35); }
.fdhb-lc-date b { display: block; font: 400 1.7rem/1 'Bebas Neue', Impact, sans-serif; }
.fdhb-lc-date i { font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .95; }
.fdhb-lc-corps { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.fdhb-lc-corps small { color: var(--fdhb-gris); font-size: .85rem; }
.fdhb .fdhb-lc-quand { flex: 0 0 auto; text-align: right; display: flex; flex-direction: column; font: 400 1.5rem/1 'Bebas Neue', Impact, sans-serif; color: var(--fdhb-schiste); }
.fdhb-lc-quand em { font: 600 .8rem/1.2 'Barlow', Arial, sans-serif; font-style: normal; color: var(--fdhb-gris); }

/* Planning : dates clés */
.fdhb-frise { padding-left: 2.2rem !important; }
.fdhb-frise::before { left: .8rem; width: 3px; border-radius: 99px; background: linear-gradient(#e8732a, var(--fdhb-trait)); }
.fdhb .fdhb-frise li { padding: 1rem 1.1rem; margin-bottom: .8rem; background: #fff; border-radius: 18px; border: 1px solid var(--fdhb-trait); box-shadow: 0 4px 16px rgba(30,33,28,.06); }
.fdhb .fdhb-frise li::before { left: -1.9rem; top: 1.25rem; width: 16px; height: 16px; border-width: 3px; background: #fff; border-color: var(--fdhb-orange); }
.fdhb-frise .fdhb-prochaine { border-color: rgba(232,115,42,.6) !important; box-shadow: 0 10px 28px rgba(232,115,42,.22) !important; }
.fdhb-frise .fdhb-prochaine::after { content: "Prochain"; position: absolute; right: 1rem; top: 1rem; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--fdhb-schiste); color: #fff; padding: .2rem .65rem; border-radius: 99px; }
.fdhb-frise .fdhb-passee { opacity: .55; }
.fdhb-frise-date { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }

/* Postes */
.fdhb-types { gap: .7rem; }
.fdhb .fdhb-type { border-radius: 20px; overflow: hidden; box-shadow: 0 4px 16px rgba(30,33,28,.06); }
.fdhb-type > summary { padding: 1rem 1.1rem; }
.fdhb-type-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--fdhb-orange-pale); font-size: 1.45rem; flex: 0 0 auto; }
.fdhb-type-nom { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; line-height: 1.2; }
.fdhb-type > summary::after { content: ""; width: 10px; height: 10px; margin-left: auto; border-right: 2.5px solid var(--fdhb-gris); border-bottom: 2.5px solid var(--fdhb-gris); transform: rotate(45deg); transition: transform .2s; flex: 0 0 auto; margin-right: .3rem; }
.fdhb-type[open] > summary::after { content: ""; transform: rotate(-135deg); }
.fdhb .fdhb-type-mien { border-left: 0; background: linear-gradient(135deg, #fff, #fff6ee); border: 1px solid rgba(232,115,42,.45); }
.fdhb-type-corps { padding: 0 1.2rem 1.2rem; }
.fdhb-type-corps h3 { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; color: var(--fdhb-orange-texte); }
.fdhb-type-corps > ul { list-style: none; padding: 0; display: grid; gap: .35rem; }
.fdhb-type-corps > ul li { position: relative; padding-left: 1.7rem; }
.fdhb-type-corps > ul li::before { content: "✓"; position: absolute; left: 0; top: .05rem; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 800; background: var(--fdhb-orange); color: #fff; }
.fdhb-sous-liste summary { color: var(--fdhb-orange-texte); }

/* Sécurité */
.fdhb-urgences { gap: .8rem; }
.fdhb .fdhb-urgence { border: 0; border-radius: 20px; background: #fff; box-shadow: 0 6px 20px rgba(30,33,28,.09); padding: 1.1rem 1.2rem; align-items: flex-start; }
.fdhb .fdhb-urgence-pc { background: linear-gradient(135deg, #e0412f, #a8231b); box-shadow: 0 14px 34px rgba(198,40,40,.35); }
.fdhb-urgence-pc strong { font-size: clamp(2.2rem, 9vw, 3.4rem); white-space: nowrap; }
.fdhb-urgence-pc span { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem !important; font-weight: 800 !important; }
.fdhb .fdhb-texte { background: #fff; border-radius: 20px; padding: 1.2rem 1.4rem; box-shadow: 0 4px 16px rgba(30,33,28,.06); border: 1px solid var(--fdhb-trait); max-width: none; }
.fdhb-texte h3 { color: var(--fdhb-orange-texte); text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; }
.fdhb-texte ul { list-style: none; padding-left: 0 !important; }
.fdhb-texte ul li { position: relative; padding-left: 1.4rem; }
.fdhb-texte ul li::before { content: ""; position: absolute; left: .1rem; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--fdhb-orange); }

/* Infos pratiques */
.fdhb .fdhb-carte { border: 0; border-radius: 22px; box-shadow: 0 14px 34px rgba(30,33,28,.16); }
.fdhb-points { gap: .9rem; }
.fdhb-points > div { background: #fff; border-radius: 20px; padding: 1rem 1.1rem; box-shadow: 0 4px 16px rgba(30,33,28,.06); border: 1px solid var(--fdhb-trait); }
.fdhb-points .fdhb-h3, .fdhb-points h2 { display: flex; align-items: center; gap: .5rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--fdhb-gris); margin: 0 0 .6rem; }
.fdhb-points li { padding: .55rem 0; border-top: 1px solid var(--fdhb-trait); }
.fdhb-points li:first-child { border-top: 0; }
.fdhb-point { color: var(--fdhb-schiste); }
.fdhb .fdhb-contact { background: #fff; border-radius: 20px; padding: 1rem 1.2rem; box-shadow: 0 4px 16px rgba(30,33,28,.06); border: 1px solid var(--fdhb-trait); }

/* Encarts (candidature, attente…) */
.fdhb .fdhb-encart { border: 0; border-radius: 22px; box-shadow: 0 10px 30px rgba(30,33,28,.10); background: linear-gradient(135deg, #fff, #fff6ee); border-left: 6px solid var(--fdhb-orange); }
.fdhb-annonce { border-radius: 18px; }
@media print { .fdhb-onglet > .fdhb-titre::after, .fdhb-h2::before { display: none; } }

/* ═══════════ Alertes / flashs ═══════════ */
.fdhb-flashs { display: grid; gap: .7rem; margin: 0 0 1.2rem; }
.fdhb-flash { display: flex; align-items: flex-start; gap: .85rem; padding: .9rem 1rem; border-radius: 18px; color: #fff; position: relative; overflow: hidden; box-shadow: 0 12px 28px rgba(30,33,28,.2); background: linear-gradient(135deg, #2a2e27, #1e211c); animation: fdhb-flash-in .45s ease both; }
.fdhb-flash[hidden] { display: none; }
.fdhb-flash::after { content: ""; position: absolute; right: -28px; top: -28px; width: 100px; height: 100px; border-radius: 50%; background: rgba(255,255,255,.1); pointer-events: none; }
.fdhb-flash-important { background: linear-gradient(135deg, #f5944d, #d4631f); }
.fdhb-flash-urgent { background: linear-gradient(135deg, #e0412f, #a8231b); }
.fdhb-flash-urgent .fdhb-flash-ico { animation: fdhb-flash-pouls 1.6s infinite; }
.fdhb-flash-ico { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.2); font-size: 1.3rem; }
.fdhb-flash-corps { flex: 1 1 auto; min-width: 0; position: relative; z-index: 1; }
.fdhb-flash-corps p { margin: 0; }
.fdhb-flash-etiq { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.fdhb-flash-corps strong { display: block; font-size: 1.1rem; line-height: 1.25; margin: .1rem 0 .15rem; }
.fdhb-flash-corps p:not(.fdhb-flash-etiq) { font-size: .95rem; line-height: 1.4; opacity: .95; overflow-wrap: anywhere; }
.fdhb-flash-corps a { color: #fff; text-decoration: underline; }
.fdhb-flash-x { flex: 0 0 auto; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; position: relative; z-index: 1; }
.fdhb-flash-x:hover { background: rgba(255,255,255,.32); }
@keyframes fdhb-flash-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes fdhb-flash-pouls { 0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,.5); } 50% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } }
@media print { .fdhb-flashs { display: none !important; } }

/* Pop-up des alertes */
.fdhb-flash-modale { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 1rem; background: rgba(12,14,18,.7); backdrop-filter: blur(6px); animation: fdhb-flash-in .25s ease both; }
.fdhb-flash-modale[hidden] { display: none; }
.fdhb-fm-boite { --fm1: #3a3f37; --fm2: #1e211c; width: min(440px, 100%); max-height: 92vh; overflow: auto; background: #fff; border-radius: 30px; box-shadow: 0 40px 100px rgba(0,0,0,.55); }
.fdhb-fm-boite.anim { animation: fdhb-fm-pop .45s cubic-bezier(.2,1.2,.3,1) both; }
.fdhb-fm-important { --fm1: #f7a05c; --fm2: #cf5c18; }
.fdhb-fm-urgent { --fm1: #ee5a47; --fm2: #98201a; }
.fdhb-fm-tete { position: relative; height: 170px; display: grid; place-items: center; background: radial-gradient(120% 130% at 20% 0%, var(--fm1), var(--fm2)); overflow: hidden; border-radius: 30px 30px 0 0; }
.fdhb-fm-tete::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 14px, transparent 14px 28px); }
.fdhb-fm-anneaux i { position: absolute; left: 50%; top: 50%; width: 90px; height: 90px; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); transform: translate(-50%,-50%); animation: fdhb-fm-onde 2.4s ease-out infinite; }
.fdhb-fm-anneaux i + i { animation-delay: 1.2s; }
.fdhb-fm-ico { position: relative; width: 92px; height: 92px; display: grid; place-items: center; border-radius: 28px; background: rgba(255,255,255,.95); font-size: 3rem; box-shadow: 0 14px 30px rgba(0,0,0,.28); transform: rotate(-6deg); }
.fdhb-fm-urgent .fdhb-fm-ico { animation: fdhb-fm-secoue 1.6s ease-in-out infinite; }
.fdhb-fm-compteur { position: absolute; right: 16px; top: 14px; padding: .2rem .7rem; border-radius: 99px; background: rgba(0,0,0,.25); color: #fff; font-size: .78rem; font-weight: 800; }
.fdhb-fm-compteur:empty { display: none; }
.fdhb-fm-corps { padding: 1.3rem 1.5rem .4rem; text-align: center; }
.fdhb-fm-etiq { display: inline-block; margin: 0 0 .5rem; padding: .22rem .8rem; border-radius: 99px; background: var(--fm2); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fdhb-fm-titre { margin: 0 0 .5rem; font: 400 2.1rem/1.02 'Bebas Neue', Impact, sans-serif; letter-spacing: .01em; text-transform: uppercase; color: #1e211c; }
.fdhb-fm-texte p { margin: 0 0 .5rem; font-size: 1.02rem; line-height: 1.5; color: #3b3f46; overflow-wrap: anywhere; }
.fdhb-fm-texte a { color: var(--fm2); font-weight: 700; }
.fdhb-fm-pied { padding: .9rem 1.5rem 1.4rem; display: grid; gap: .8rem; justify-items: center; }
.fdhb-fm-points { display: flex; gap: .4rem; }
.fdhb-fm-points:empty { display: none; }
.fdhb-fm-points b { width: 8px; height: 8px; border-radius: 50%; background: #d9d6cf; }
.fdhb-fm-points b.on { width: 24px; border-radius: 99px; background: var(--fm2); }
.fdhb-fm-ok { width: 100%; padding: .95rem 1rem; border: 0; border-radius: 99px; background: linear-gradient(135deg, var(--fm1), var(--fm2)); color: #fff; font: 800 1.05rem/1 'Barlow', Arial, sans-serif; letter-spacing: .02em; cursor: pointer; box-shadow: 0 12px 26px rgba(0,0,0,.25); transition: transform .12s; }
.fdhb-fm-ok:hover { transform: translateY(-1px); } .fdhb-fm-ok:active { transform: scale(.98); }
@keyframes fdhb-fm-pop { from { opacity: 0; transform: translateY(40px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes fdhb-fm-onde { from { width: 90px; height: 90px; opacity: .9; } to { width: 280px; height: 280px; opacity: 0; } }
@keyframes fdhb-fm-secoue { 0%,100% { transform: rotate(-6deg); } 10%,30%,50% { transform: rotate(-14deg); } 20%,40% { transform: rotate(4deg); } 60% { transform: rotate(-6deg); } }
@media (max-width: 520px) { .fdhb-flash-modale { align-items: end; padding: 0; } .fdhb-fm-boite { width: 100%; border-radius: 30px 30px 0 0; } .fdhb-fm-tete { height: 150px; } }
@media (prefers-reduced-motion: reduce) { .fdhb-fm-boite, .fdhb-fm-anneaux i, .fdhb-fm-ico { animation: none !important; } }
@media print { .fdhb-flash-modale { display: none !important; } }

/* Les alertes ne s'affichent plus en bandeau : pop-up + bouton « Alertes » à côté du titre pour les rouvrir */
.fdhb-flashs { display: none !important; }
.fdhb-titre-ligne { display: flex; align-items: center; justify-content: flex-start; gap: .9rem; flex-wrap: nowrap; margin-bottom: 1rem; }
.fdhb-titre-ligne > .fdhb-titre { flex: 0 1 auto; min-width: 0; }
#fdhb-cloche-slot { flex: 0 0 auto; padding-bottom: .7rem; }
.fdhb-titre-ligne > .fdhb-titre { position: relative; padding-bottom: .7rem; margin-bottom: 0 !important; }
.fdhb-titre-ligne > .fdhb-titre::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 5px; border-radius: 99px; background: linear-gradient(90deg, #f5944d, #e8732a); }
.fdhb-cloche { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: .6rem; padding: .32rem 1.15rem .32rem .32rem; border: 0; border-radius: 99px; background: linear-gradient(135deg, #f0523f 0%, #d6342a 55%, #a8231b 100%); color: #fff; font: 800 .92rem/1 'Barlow', Arial, sans-serif; letter-spacing: .03em; cursor: pointer; box-shadow: 0 10px 26px rgba(198,40,40,.42), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .15s, box-shadow .15s; }
.fdhb-cloche[hidden] { display: none; }
.fdhb-cloche:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(198,40,40,.5), inset 0 1px 0 rgba(255,255,255,.35); }
.fdhb-cloche-ico { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.fdhb-cloche-txt { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.fdhb-cloche b { position: absolute; right: -5px; top: -5px; min-width: 21px; height: 21px; padding: 0 5px; display: grid; place-items: center; border-radius: 99px; background: #fff; color: #b3261e; font-size: .74rem; font-weight: 800; box-sizing: border-box; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.fdhb-cloche b:empty { display: none; }
/* Pas encore lu : halo qui pulse, cloche qui sonne, reflet qui passe */
.fdhb-cloche.neuf { animation: fdhb-cloche-halo 2s infinite; }
.fdhb-cloche.neuf::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); animation: fdhb-cloche-reflet 3.2s ease-in-out infinite; pointer-events: none; }
.fdhb-cloche.neuf svg { animation: fdhb-cloche-sonne 2.4s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes fdhb-cloche-reflet { 0%,55% { left: -60%; } 100% { left: 130%; } }
.fdhb-cloche:not(.en-ligne) { position: fixed; right: 1rem; bottom: 5.4rem; z-index: 9000; }
@keyframes fdhb-cloche-halo { 0%,100% { box-shadow: 0 10px 26px rgba(198,40,40,.45), 0 0 0 0 rgba(238,90,71,.55); } 60% { box-shadow: 0 10px 26px rgba(198,40,40,.45), 0 0 0 12px rgba(238,90,71,0); } }
@keyframes fdhb-cloche-sonne { 0%,60%,100% { transform: rotate(0); } 65% { transform: rotate(14deg); } 70% { transform: rotate(-12deg); } 75% { transform: rotate(8deg); } 80% { transform: rotate(-6deg); } 85% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .fdhb-cloche, .fdhb-cloche svg { animation: none !important; } }
@media print { .fdhb-cloche, .fdhb-titre-ligne #fdhb-cloche-slot { display: none !important; } }

/* Pop-up : navigation précédent / suivant, lecture obligatoire */
.fdhb-fm-btns { display: flex; gap: .6rem; width: 100%; }
.fdhb-fm-btns .fdhb-fm-ok { flex: 1 1 auto; }
.fdhb-fm-prec { flex: 0 0 auto; padding: .95rem 1.1rem; border: 2px solid rgba(30,33,28,.15); border-radius: 99px; background: #fff; color: #1e211c; font: 700 .95rem/1 'Barlow', Arial, sans-serif; cursor: pointer; }
.fdhb-fm-prec[hidden], .fdhb-fm-x[hidden] { display: none; }
.fdhb-fm-prec:hover { border-color: var(--fm2); color: var(--fm2); }
.fdhb-fm-x { position: absolute; left: 14px; top: 12px; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(0,0,0,.28); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }

/* Bouton « Infos importantes » : plus petit, aligné sur le titre ; cloche seule sur téléphone */
.fdhb-cloche { gap: .5rem; padding: .2rem .85rem .2rem .2rem; font-size: .8rem; }
.fdhb-cloche-ico { width: 30px; height: 30px; }
.fdhb-cloche-ico svg { width: 17px; height: 17px; }
.fdhb-cloche-txt { font-size: .66rem; letter-spacing: .09em; white-space: nowrap; }
.fdhb-cloche b { min-width: 17px; height: 17px; right: -2px; top: -2px; font-size: .64rem; padding: 0 4px; }
@media (max-width: 560px) {
  .fdhb-cloche.en-ligne { padding: .2rem; gap: 0; }
  .fdhb-cloche.en-ligne .fdhb-cloche-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fdhb-cloche.en-ligne .fdhb-cloche-ico { width: 38px; height: 38px; }
  .fdhb-cloche.en-ligne b { right: 0; top: 0; }
}

/* ═══════════ Missions (référents) ═══════════ */
.fdhb-m-carte { background: #fff; border-radius: 22px; box-shadow: 0 8px 26px rgba(30,33,28,.09); border: 1px solid var(--fdhb-trait); margin: 1.1rem 0; overflow: hidden; }
.fdhb-m-tete { display: flex; flex-wrap: wrap; gap: .8rem 1rem; justify-content: space-between; align-items: flex-start; padding: 1.1rem 1.25rem; background: linear-gradient(135deg, #2a2e27, #1e211c); color: #fff; }
.fdhb-m-tete h2 { margin: 0 0 .35rem; font: 400 1.9rem/1.05 'Bebas Neue', Impact, sans-serif; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.fdhb-m-qui { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin: 0; font-size: .9rem; color: rgba(255,255,255,.85); }
.fdhb-m-qui b { color: #f2a35c; text-transform: uppercase; font-size: .68rem; letter-spacing: .08em; margin-right: .3rem; }
.fdhb-m-manque { color: #ffb4a8; font-weight: 700; }
.fdhb-m-actions, .fdhb-m-barre { display: flex; flex-wrap: wrap; gap: .5rem; }
.fdhb-m-btn { display: inline-flex; align-items: center; justify-content: center; padding: .55rem 1.1rem; border-radius: 99px; border: 2px solid rgba(30,33,28,.18); background: #fff; color: var(--fdhb-encre); font: 700 .9rem/1 'Barlow', Arial, sans-serif; cursor: pointer; text-decoration: none; }
.fdhb-m-tete .fdhb-m-btn { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; }
.fdhb-m-btn-plein, .fdhb-m-tete .fdhb-m-btn-plein { background: var(--fdhb-orange); border-color: var(--fdhb-orange); color: #fff !important; }
.fdhb-m-lecture, .fdhb-m-edition { padding: 1.1rem 1.25rem 1.3rem; }
.fdhb-m-lecture[hidden], .fdhb-m-edition[hidden] { display: none; }
.fdhb-m-vide { color: var(--fdhb-gris); font-style: italic; }
.fdhb-m-resume { font-size: 1.05rem; margin: 0 0 .4rem; }
.fdhb-m-h3 { margin: 1.3rem 0 .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--fdhb-orange-texte); }
.fdhb-m-phase { margin: .6rem 0 .25rem; font-weight: 700; }
.fdhb-m-etapes, .fdhb-m-contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.fdhb-m-etapes li { display: grid; grid-template-columns: 8.5rem 1fr; gap: .7rem; padding: .5rem .75rem; background: var(--fdhb-fond); border-radius: 12px; }
.fdhb-m-etapes b { color: var(--fdhb-orange-texte); }
.fdhb-m-etapes em { color: var(--fdhb-gris); font-style: normal; }
.fdhb-m-defil { overflow-x: auto; border-radius: 12px; border: 1px solid var(--fdhb-trait); }
.fdhb-m-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.fdhb-m-table th { text-align: left; padding: .55rem .7rem; background: var(--fdhb-fond); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--fdhb-gris); }
.fdhb-m-table td { padding: .55rem .7rem; border-top: 1px solid var(--fdhb-trait); vertical-align: top; }
.fdhb-m-contacts li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; padding: .5rem .75rem; background: var(--fdhb-fond); border-radius: 12px; }
.fdhb-m-contacts em { color: var(--fdhb-gris); font-style: normal; } .fdhb-m-contacts small { flex-basis: 100%; color: var(--fdhb-gris); }
.fdhb-m-notes { white-space: normal; background: #fffaf4; border-left: 4px solid var(--fdhb-orange); padding: .8rem 1rem; border-radius: 0 12px 12px 0; }
.fdhb-m-maj { margin: 1.2rem 0 0; font-size: .8rem; color: var(--fdhb-gris); }
/* Formulaire d'édition */
.fdhb-m-form .fdhb-m-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .2rem 1rem; }
.fdhb-m-champ { margin: .4rem 0 !important; } .fdhb-m-champ.large { grid-column: 1 / -1; }
.fdhb-m-form label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: .2rem; } .fdhb-m-form label small { font-weight: 400; color: var(--fdhb-gris); }
.fdhb-m-form input[type=text], .fdhb-m-form input[type=email], .fdhb-m-form textarea, .fdhb-m-form select { width: 100%; font-size: 16px; padding: .55rem .7rem; border: 1.5px solid rgba(30,33,28,.2); border-radius: 10px; background: #fff; box-sizing: border-box; font-family: inherit; }
.fdhb-m-form [readonly] { background: var(--fdhb-fond); color: var(--fdhb-gris); }
.fdhb-m-ligne { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; padding: .5rem; margin: .4rem 0; border-radius: 14px; background: var(--fdhb-fond); }
.fdhb-m-ligne input, .fdhb-m-ligne select { flex: 1 1 140px; width: auto !important; min-width: 0; } .fdhb-m-ligne .large { flex: 2 1 220px; } .fdhb-m-ligne .court { flex: 0 1 80px; }
.fdhb-m-suppr { flex: 0 0 auto; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f6e0dd; color: #b3261e; font-size: 1.2rem; line-height: 1; cursor: pointer; }
.fdhb-m-ajout { border: 2px dashed rgba(30,33,28,.3); background: transparent; border-radius: 99px; padding: .5rem 1rem; font: 700 .85rem 'Barlow', Arial, sans-serif; cursor: pointer; color: var(--fdhb-encre); }
.fdhb-m-msg { min-height: 1.2em; margin: .6rem 0 .2rem; font-weight: 600; color: var(--fdhb-orange-texte); }
@media (max-width: 560px) { .fdhb-m-etapes li { grid-template-columns: 1fr; gap: .1rem; } .fdhb-m-tete h2 { font-size: 1.6rem; } }
@media print {
  .fdhb-m-mode-print .fdhb-app * { visibility: hidden !important; }
  .fdhb-m-mode-print .fdhb-m-imprime, .fdhb-m-mode-print .fdhb-m-imprime * { visibility: visible !important; }
  .fdhb-m-mode-print .fdhb-m-imprime { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; border: 0; }
  .fdhb-m-mode-print .fdhb-m-tete { background: #fff !important; color: #000 !important; border-bottom: 2pt solid #000; }
  .fdhb-m-mode-print .fdhb-m-tete *, .fdhb-m-mode-print .fdhb-m-tete h2 { color: #000 !important; }
  .fdhb-m-mode-print .fdhb-m-actions, .fdhb-m-mode-print .fdhb-m-edition { display: none !important; }
  .fdhb-m-mode-print .fdhb-m-lecture[hidden] { display: block !important; }
}

.fdhb-m-c { display: flex; flex-direction: column; flex: 1 1 140px; min-width: 0; margin: 0 !important; font-weight: 400 !important; }
.fdhb-m-c small { font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--fdhb-gris); margin: 0 0 .15rem .2rem; font-weight: 700; }
.fdhb-m-c.large { flex: 2 1 220px; } .fdhb-m-c.court { flex: 0 1 80px; }
.fdhb-m-ligne input, .fdhb-m-ligne select { flex: none; width: 100% !important; }

/* Pré-placement d'après l'an dernier (Attribuer les postes) */
.fdhb-g-bandeau{display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-wrap:wrap;margin:.2rem 0 .9rem;padding:.8rem 1rem;border-radius:16px;background:linear-gradient(135deg,#fff4e8,#ffe9d4);border:1px solid #f2c9a0;font-weight:600;color:#7a3d0e}
.fdhb-g-propose{display:flex;align-items:center;justify-content:space-between;gap:.7rem;flex-wrap:wrap;margin:.5rem 0;padding:.6rem .8rem;border-radius:12px;background:#fff4e8;border:1px dashed #e8732a}
.fdhb-g-propose-t{font-weight:600;color:#7a3d0e}
.fdhb-g-propose-non{background:#f4f2ec;border-color:#cfc9ba}.fdhb-g-propose-non .fdhb-g-propose-t{color:#555}.fdhb-g-propose-non em{font-size:.85rem;color:#777}
.fdhb-g-valider{min-height:42px;padding:.45rem 1rem}

/* Prévenir les bénévoles : planning visible seulement une fois envoyé */
.fdhb-g-prevenir{display:grid;gap:.5rem;margin:.3rem 0 1rem;padding:1rem 1.1rem;border-radius:18px;background:#1e211c;color:#fff;box-shadow:0 16px 30px -20px rgba(30,33,28,.7)}
.fdhb-g-prevenir strong{font:1.5rem/1 'Bebas Neue',Impact,sans-serif;letter-spacing:.03em}
.fdhb-g-prevenir-t{font-size:.88rem;color:rgba(255,255,255,.72)}
.fdhb-g-prevenir-b{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:.2rem}
.fdhb-g-prevenir .fdhb-btn-clair{background:#fff;color:#1e211c}
.fdhb-g-prevenir .fdhb-btn:disabled{opacity:.4;cursor:not-allowed}
.fdhb-g-sansmail{font-size:.88rem;color:rgba(255,255,255,.85);display:flex;align-items:center;gap:.4rem}
.fdhb-pub{display:inline-block;padding:.2rem .6rem;border-radius:999px;font-size:.78rem;font-weight:700}
.fdhb-pub-a{background:#fde8d6;color:#a24a12;border:1px solid #e8732a}
.fdhb-pub-ok{background:#e4f3ea;color:#25704f;border:1px solid #8cc9a8}
.fdhb-g-prevenir .fdhb-btn.fdhb-btn-clair{background:#fff!important;color:#1e211c!important;border-color:#fff}
.fdhb-g-prevenir .fdhb-g-sansmail input[type=checkbox]{width:22px!important;height:22px!important;min-height:0!important;padding:0!important;flex:0 0 auto;margin:0}
.fdhb-g-prevenir .fdhb-g-sansmail{gap:.6rem}
.fdhb-g-reprise{display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-wrap:wrap;margin:.2rem 0 .8rem;padding:.85rem 1rem;border-radius:16px;background:#fff;border:1.5px solid #e8732a;font-weight:600;color:#7a3d0e}
.fdhb-g-reprise span{flex:1 1 240px}

/* Recherche dans Attribuer les postes */
.fdhb-g-rech{position:sticky;top:0;z-index:5;display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin:.4rem 0 .9rem;padding:.7rem;border-radius:18px;background:rgba(255,255,255,.96);border:1px solid rgba(30,33,28,.08);box-shadow:0 10px 26px -16px rgba(30,33,28,.4);backdrop-filter:blur(8px)}
.fdhb-g-rech input[type=search]{flex:1 1 100%;min-height:46px;padding:0 1rem;border-radius:999px;border:1.5px solid rgba(30,33,28,.16);font:inherit;font-size:16px;background:#fff}
.fdhb-g-rech input[type=search]:focus{outline:3px solid rgba(232,115,42,.4);outline-offset:0;border-color:#e8732a}
.fdhb-g-puces{display:flex;gap:.4rem;flex-wrap:wrap}
.fdhb-g-puce{min-height:38px;padding:.3rem .85rem;border-radius:999px;border:1px solid #d9d3c4;background:#fff;font:600 .85rem inherit;font-family:inherit;cursor:pointer}
.fdhb-g-puce.fdhb-actif{background:#1e211c;border-color:#1e211c;color:#fff}
.fdhb-g-compte{margin-left:auto;font-size:.85rem;color:#6b6f66}

/* Arrivée depuis « Je deviens bénévole » (accueil) : seul le formulaire de candidature est montré, pas la connexion */
.fdhb-porte[data-devenir] form[id^="fdhb-f-"], .fdhb-porte[data-devenir] > .fdhb-porte-form > .fdhb-msg, .fdhb-porte[data-devenir] [data-p-ouvrir-bloc] { display: none !important; }
.fdhb-devenir-rappel { margin: 0 0 1rem; padding: .9rem 1.1rem; border-radius: 16px; background: #fff4e6; border: 1px solid #f2d3ad; }
.fdhb-devenir-rappel p { margin: 0 0 .35rem; }
.fdhb-devenir-rappel p:last-child { margin-bottom: 0; }
