/* Espace membres AFPDB — charte du site (bleu du logo, laiton en accent). */
.afpdb-em{--em-brand:#296F90;--em-deep:#174A63;--em-tint:#E6F0F4;--em-alt:#F2F6F8;--em-line:#D6E1E7;--em-ink:#14242D;--em-muted:#4A5A64;--em-accent:#D4932F;--em-accent-ink:#8A5A12;color:var(--em-ink);max-width:1100px;margin:0 auto}
.afpdb-em *{box-sizing:border-box}
.afpdb-em h2{font-size:1.5rem;margin:0 0 .75rem}
.afpdb-em h3{font-size:1.15rem;margin:0 0 .35rem}
.afpdb-em a{color:var(--em-brand)}
.afpdb-em a:hover{color:var(--em-deep)}
.afpdb-em :focus-visible{outline:2px solid var(--em-accent);outline-offset:2px}
.afpdb-em .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.afpdb-em-chapo{font-size:1.15rem;color:var(--em-muted);margin:0 0 1.5rem;max-width:720px}
.afpdb-em-aide,.afpdb-em-meta,.afpdb-em-facultatif{font-size:.88rem;color:var(--em-muted);font-weight:400}
.afpdb-em-vide{color:var(--em-muted);font-style:italic}
.afpdb-em-plus{margin:.75rem 0 0;font-weight:600}

/* Navigation de l'espace */
.afpdb-em-nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1.5rem;border-bottom:1px solid var(--em-line);margin:0 0 1.75rem}
.afpdb-em-nav ul{display:flex;flex-wrap:wrap;gap:0 .25rem;list-style:none;margin:0;padding:0}
.afpdb-em-nav li a{display:block;padding:.7rem .85rem;text-decoration:none;color:var(--em-ink);font-weight:600;border-bottom:3px solid transparent;margin-bottom:-1px}
.afpdb-em-nav li a:hover{color:var(--em-brand)}
.afpdb-em-nav li a[aria-current=page]{color:var(--em-brand);border-bottom-color:var(--em-accent)}
.afpdb-em-qui{margin:0;font-size:.9rem;color:var(--em-muted)}
.afpdb-em-qui span{margin-right:.5rem}
@media (max-width:700px){.afpdb-em-nav ul{overflow-x:auto;flex-wrap:nowrap;width:100%;-webkit-overflow-scrolling:touch}.afpdb-em-nav li a{white-space:nowrap;padding:.6rem .6rem}.afpdb-em-qui{padding-bottom:.6rem}}

/* Messages */
.afpdb-em-msg{padding:.8rem 1rem;border-radius:4px;margin:0 0 1.25rem;max-width:720px}
.afpdb-em-msg.succes{background:var(--em-tint);border-left:4px solid var(--em-brand)}
.afpdb-em-msg.info{background:var(--em-tint);border-left:4px solid var(--em-accent)}
.afpdb-em-msg.alerte{background:#fbf1e3;border-left:4px solid var(--em-accent-ink)}

/* Formulaires */
.afpdb-em label,.afpdb-em .afpdb-em-label,.afpdb-em legend{display:block;font-weight:600;margin:.9rem 0 .3rem;font-size:.95rem;padding:0}
.afpdb-em input[type=text],.afpdb-em input[type=email],.afpdb-em input[type=password],.afpdb-em input[type=tel],.afpdb-em input[type=url],.afpdb-em input[type=search],.afpdb-em input:not([type]),.afpdb-em select,.afpdb-em textarea{width:100%;padding:.65rem .75rem;border:1px solid #9fb7c3;border-radius:4px;font:inherit;font-size:1rem;background:#fff;color:var(--em-ink)}
.afpdb-em select{appearance:none;-webkit-appearance:none;padding-right:2.5rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23296F90' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .9rem center}
.afpdb-em textarea{resize:vertical;line-height:1.5}
.afpdb-em input:focus,.afpdb-em select:focus,.afpdb-em textarea:focus{outline:2px solid var(--em-accent);outline-offset:1px;border-color:var(--em-brand)}
.afpdb-em button,.afpdb-em-bouton{display:inline-block;margin-top:1.1rem;padding:.75rem 1.2rem;border:1px solid var(--em-brand);border-radius:4px;background:var(--em-brand);color:#fff!important;font:inherit;font-weight:600;font-size:1rem;cursor:pointer;text-decoration:none;line-height:1.3}
.afpdb-em button:hover,.afpdb-em-bouton:hover{background:var(--em-deep);border-color:var(--em-deep)}
.afpdb-em .afpdb-em-bouton--contour,.afpdb-em button.afpdb-em-bouton--contour{background:#fff;color:var(--em-brand)!important}
.afpdb-em .afpdb-em-bouton--contour:hover{background:var(--em-tint);color:var(--em-deep)!important}
.afpdb-em button.afpdb-em-lien{background:none;border:0;padding:0;margin:0;color:var(--em-brand)!important;font-weight:400;text-decoration:underline;font-size:.95rem}
.afpdb-em button.afpdb-em-lien:hover{color:var(--em-deep)!important;background:none}
.afpdb-em .afpdb-em-case{display:flex;gap:.5rem;align-items:flex-start;font-weight:400;font-size:.95rem}
.afpdb-em .afpdb-em-case input{margin-top:.3rem;flex:none}
.afpdb-em-code{font-size:1.5rem!important;letter-spacing:.3em;text-align:center;max-width:14rem;font-variant-numeric:tabular-nums}

/* Carte de connexion */
.afpdb-em-carte{max-width:520px;margin:0 auto;padding:1.75rem;border:1px solid #d5e3ea;border-top:4px solid var(--em-accent);border-radius:6px;background:#fff}
.afpdb-em-carte h2{margin:0 0 .75rem}
.afpdb-em-carte button[type=submit]:not(.afpdb-em-lien){width:100%}
.afpdb-em-liens{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin-top:1rem;font-size:.95rem}
.afpdb-em-liens form{margin:0}
.afpdb-em-securite{margin:1.25rem 0 0;padding-top:1rem;border-top:1px solid var(--em-line)}
@media (max-width:600px){.afpdb-em-carte{padding:1.25rem 1rem}}

/* Accueil */
.afpdb-em-deux{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
@media (max-width:800px){.afpdb-em-deux{grid-template-columns:1fr}}
.afpdb-em-bloc{border:1px solid var(--em-line);border-radius:6px;padding:1.25rem 1.25rem 1rem;background:#fff}
.afpdb-em-bloc h2{font-size:1.2rem;padding-bottom:.6rem;border-bottom:2px solid var(--em-accent);display:inline-block}
.afpdb-em-liste{list-style:none;margin:0;padding:0}
.afpdb-em-liste>li{display:flex;gap:.85rem;align-items:flex-start;padding:.7rem 0;border-bottom:1px solid var(--em-line)}
.afpdb-em-liste>li:last-child{border-bottom:0}
.afpdb-em-liste a{font-weight:600;text-decoration:none}
.afpdb-em-liste a:hover{text-decoration:underline}
.afpdb-em-date{flex:none;align-self:flex-start;width:3.4rem;text-align:center;background:var(--em-tint);border-radius:4px;padding:.3rem 0;font-size:.78rem;text-transform:uppercase;color:var(--em-deep);line-height:1.2}
.afpdb-em-date b{display:block;font-size:1.35rem;font-family:'Source Serif 4',Georgia,serif;text-transform:none}
.afpdb-em-ext{display:inline-block;flex:none;min-width:2.8rem;padding:.15rem .3rem;margin-right:.45rem;border-radius:3px;background:var(--em-deep);color:#fff;font-size:.7rem;font-weight:600;letter-spacing:.04em;text-align:center;vertical-align:.1em}
.afpdb-em-liste .afpdb-em-ext{margin-top:.2rem}
.annule a,.annule h3{text-decoration:line-through;color:var(--em-muted)}
.afpdb-em-raccourcis{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:1.5rem}
.afpdb-em-raccourcis a{display:block;padding:1rem 1.1rem;border:1px solid var(--em-line);border-left:4px solid var(--em-brand);border-radius:4px;text-decoration:none;color:var(--em-ink);background:#fff}
.afpdb-em-raccourcis a:hover{background:var(--em-tint)}
.afpdb-em-raccourcis strong{display:block;color:var(--em-brand)}
.afpdb-em-raccourcis span{font-size:.88rem;color:var(--em-muted)}
@media (max-width:900px){.afpdb-em-raccourcis{grid-template-columns:1fr 1fr}}
@media (max-width:480px){.afpdb-em-raccourcis{grid-template-columns:1fr}}

/* Filtres */
.afpdb-em-filtres{display:flex;flex-wrap:wrap;gap:.6rem;margin:0 0 .5rem}
.afpdb-em-filtres label{margin:0;flex:1 1 12rem;font-weight:400}
.afpdb-em-filtres .afpdb-em-recherche{flex:2 1 18rem}
.afpdb-em-compte{font-size:.9rem;color:var(--em-muted);margin:.25rem 0 1rem}

/* Annuaire */
.afpdb-em-annuaire{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
@media (max-width:1000px){.afpdb-em-annuaire{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.afpdb-em-annuaire{grid-template-columns:1fr}}
.afpdb-em-fiche{border:1px solid var(--em-line);border-radius:6px;padding:1.1rem;background:#fff;display:flex;flex-direction:column;gap:.5rem;min-width:0}
.afpdb-em-fiche[hidden]{display:none}
.afpdb-em-fiche-tete{display:flex;gap:.8rem;align-items:flex-start}
.afpdb-em-fiche-tete p{margin:0;font-size:.92rem;color:var(--em-muted)}
.afpdb-em-fiche-tete strong{color:var(--em-ink)}
.afpdb-em-initiales{flex:none;width:3rem;height:3rem;border-radius:50%;background:var(--em-tint);color:var(--em-deep);display:flex;align-items:center;justify-content:center;font-weight:600;font-family:'Source Serif 4',Georgia,serif;font-size:1.1rem;border:2px solid var(--em-brand)}
.afpdb-em-pastilles{display:flex;flex-wrap:wrap;gap:.3rem;margin:0}
.afpdb-em-pastilles span{font-size:.75rem;padding:.15rem .5rem;border-radius:999px;background:var(--em-tint);color:var(--em-deep);font-weight:600}
.afpdb-em-coord{list-style:none;margin:0;padding:0;font-size:.92rem;overflow-wrap:anywhere}
.afpdb-em-coord li{margin:.15rem 0}
.afpdb-em-expertises,.afpdb-em-presentation{margin:0;font-size:.9rem}
.afpdb-em-fiche-pied{margin:auto 0 0;padding-top:.6rem;border-top:1px solid var(--em-line);font-size:.88rem}

/* Documents */
.afpdb-em-docs{list-style:none;margin:0;padding:0;max-width:880px}
.afpdb-em-doc{padding:1.1rem 0 1.1rem 1rem;border-bottom:1px solid var(--em-line);border-left:3px solid transparent}
.afpdb-em-doc:hover{border-left-color:var(--em-accent)}
.afpdb-em-doc[hidden]{display:none}
.afpdb-em-doc h3{margin:.25rem 0}
.afpdb-em-doc p{margin:.25rem 0}
.afpdb-em-doc-tete{display:flex;flex-wrap:wrap;gap:.25rem .75rem;align-items:center}
.afpdb-em-type{font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--em-accent-ink)}
.afpdb-em-neuf{font-size:.72rem;font-weight:600;padding:.1rem .45rem;border-radius:999px;background:var(--em-accent);color:#14242D}
.afpdb-em-fichiers{list-style:none;margin:.5rem 0;padding:0}
.afpdb-em-fichiers li{margin:.3rem 0;overflow-wrap:anywhere}
.afpdb-em-fichiers a{font-weight:600;text-decoration:none}
.afpdb-em-fichiers a:hover{text-decoration:underline}

/* Agenda */
.afpdb-em-agenda{list-style:none;margin:0 0 1.5rem;padding:0;max-width:880px}
.afpdb-em-rdv{display:flex;gap:1.1rem;padding:1.2rem 0;border-bottom:1px solid var(--em-line);scroll-margin-top:120px}
.afpdb-em-rdv:target{background:var(--em-tint);padding-left:.75rem;border-radius:4px}
.afpdb-em-date--grand{width:4.4rem;padding:.5rem 0;font-size:.8rem}
.afpdb-em-date--grand b{font-size:1.8rem}
.afpdb-em-rdv-corps{flex:1;min-width:0}
.afpdb-em-rdv-corps p{margin:.2rem 0}
.afpdb-em-lieu{font-weight:600}
.afpdb-em-odj{font-size:.95rem;margin:.5rem 0;padding:.6rem .9rem;background:var(--em-alt);border-radius:4px}
.afpdb-em-odj p{margin:.3rem 0}
.afpdb-em-annule{color:var(--em-accent-ink)}
.afpdb-em-actions{display:flex;flex-wrap:wrap;gap:.6rem}
.afpdb-em-actions .afpdb-em-bouton{margin-top:.5rem;font-size:.95rem;padding:.6rem 1rem}
.afpdb-em-passes summary{cursor:pointer;font-weight:600;color:var(--em-brand);padding:.5rem 0}
@media (max-width:520px){.afpdb-em-rdv{gap:.75rem}.afpdb-em-date--grand{width:3.6rem}.afpdb-em-date--grand b{font-size:1.4rem}}

/* Mon compte */
.afpdb-em-section{max-width:820px;padding:1.5rem 0 2rem;border-bottom:1px solid var(--em-line);scroll-margin-top:120px}
.afpdb-em-section:last-child{border-bottom:0}
.afpdb-em-section h3{margin-top:1.5rem}
.afpdb-em-grille{display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}
.afpdb-em-grille .afpdb-em-plein{grid-column:1/-1}
@media (max-width:600px){.afpdb-em-grille{grid-template-columns:1fr}}
.afpdb-em-fixe{margin:0;padding:.55rem 0}
.afpdb-em fieldset{border:0;margin:0;padding:0}
.afpdb-em-cases{display:grid;grid-template-columns:repeat(3,1fr);gap:.2rem 1rem}
.afpdb-em-cases label{display:flex;gap:.45rem;align-items:flex-start;font-weight:400;margin:.2rem 0;font-size:.95rem}
.afpdb-em-cases input{margin-top:.3rem}
@media (max-width:700px){.afpdb-em-cases{grid-template-columns:1fr 1fr}}
@media (max-width:420px){.afpdb-em-cases{grid-template-columns:1fr}}
.afpdb-em-details{margin:.5rem 0}
.afpdb-em-details summary{cursor:pointer;color:var(--em-brand);font-weight:600}
.afpdb-em-details form{max-width:420px}
.afpdb-em-totp{padding:1rem 1.25rem;background:var(--em-alt);border-radius:6px;max-width:560px}
.afpdb-em-totp ol{margin:0;padding-left:1.25rem}
.afpdb-em-totp li{margin:.4rem 0}
.afpdb-em-qr{width:200px;height:200px;margin:.6rem 0;background:#fff;padding:8px;border:1px solid var(--em-line)}
.afpdb-em-qr svg{width:100%;height:100%;display:block}
.afpdb-em-cle{font-size:.95rem;word-break:break-all}
.afpdb-em-codes{padding:1rem 1.25rem;border:1px solid var(--em-accent);border-radius:6px;background:#fffaf2;max-width:560px;margin:1rem 0}
.afpdb-em-codes ul{display:grid;grid-template-columns:1fr 1fr;gap:.3rem 1rem;list-style:none;padding:0;margin:.5rem 0}
.afpdb-em-codes code{font-size:1.05rem}
.afpdb-em-actions-ligne{display:flex;flex-wrap:wrap;gap:.75rem}
.afpdb-em-flux{display:flex;gap:.5rem;max-width:720px}
.afpdb-em-flux input{flex:1;min-width:0;font-size:.85rem!important}
.afpdb-em-flux button{margin-top:0;flex:none}
@media (max-width:520px){.afpdb-em-flux{flex-direction:column}}

/* Photo de la fiche */
img.afpdb-em-initiales{object-fit:cover;padding:0;background:var(--em-tint)}
.afpdb-em-photo-zone{display:flex;gap:1.25rem;align-items:center;margin:0 0 .5rem}
.afpdb-em-photo-zone .afpdb-em-label{margin-top:0}
.afpdb-em-photo-grande{width:6.5rem!important;height:6.5rem!important;font-size:2rem!important;border-width:3px!important}
.afpdb-em .afpdb-em-fichier{position:relative;margin:.2rem 0 0;cursor:pointer;font-size:.95rem;padding:.55rem 1rem}
.afpdb-em .afpdb-em-fichier input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.afpdb-em .afpdb-em-fichier:focus-within{outline:2px solid var(--em-accent);outline-offset:2px}
.afpdb-em .afpdb-em-retirer{display:inline-flex;margin:.5rem 0 0 .75rem}
.afpdb-em-photo-zone .afpdb-em-aide{margin:.5rem 0 0;max-width:34rem}
@media (max-width:520px){.afpdb-em-photo-zone{flex-direction:column;align-items:flex-start}.afpdb-em .afpdb-em-retirer{margin-left:0}}

/* Recherche : documents membres / tout le site */
.afpdb-em .afpdb-em-portee{display:block;flex:1 1 100%;margin:.1rem 0 0;font-weight:600}
.afpdb-em .afpdb-em-portee input{margin:0 .45rem 0 0;vertical-align:-2px}
.afpdb-em-reserve,.afpdb-em-public{display:inline-flex;align-items:center;gap:.3em;font-size:.72rem;font-weight:600;padding:.12rem .5rem;border-radius:999px;background:var(--em-deep);color:#fff;letter-spacing:.02em}
.afpdb-em-reserve::before{content:"";width:.65em;height:.72em;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M3 6V4a3 3 0 0 1 6 0v2h1a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1zm1.5 0h3V4a1.5 1.5 0 0 0-3 0z'/%3E%3C/svg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M3 6V4a3 3 0 0 1 6 0v2h1a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1zm1.5 0h3V4a1.5 1.5 0 0 0-3 0z'/%3E%3C/svg%3E") no-repeat center/contain}
.afpdb-em-public{background:var(--em-tint);color:var(--em-deep)}
.afpdb-em-site{margin-top:2rem;max-width:880px}
.afpdb-em-site h2{font-size:1.2rem;padding-bottom:.4rem;border-bottom:2px solid var(--em-accent);display:inline-block}
.afpdb-em-doc--public h3 a{text-decoration:none}
.afpdb-em-doc--public h3 a:hover{text-decoration:underline}
.afpdb-em-cible{background:var(--em-tint);border-left-color:var(--em-accent)!important;border-radius:4px}
/* Période (Documents) */
.afpdb-em-periode{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;flex:1 1 100%}
.afpdb-em-filtres .afpdb-em-periode label{flex:1 1 10rem;display:flex;align-items:center;gap:.5rem}
.afpdb-em-periode label span{color:var(--em-muted);white-space:nowrap;min-width:1.6rem}
.afpdb-em .afpdb-em-periode .afpdb-em-effacer{margin:0;padding:.55rem .9rem;background:#fff;color:var(--em-brand)!important;font-weight:500}

/* Annuaire : bascule cartes / liste, fiche complète (21 oct.) */
.afpdb-em-annuaire-barre{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1rem;margin:.25rem 0 1rem}
.afpdb-em-annuaire-barre .afpdb-em-compte{margin:0}
.afpdb-em-vues{display:inline-flex;border:1px solid var(--em-line);border-radius:6px;overflow:hidden;background:#fff}
.afpdb-em .afpdb-em-vues button{margin:0;padding:.45rem .8rem;border:0;border-radius:0;background:#fff;color:var(--em-muted)!important;font-size:.9rem;font-weight:600;display:inline-flex;align-items:center;gap:.4rem;line-height:1.2}
.afpdb-em .afpdb-em-vues button+button{border-left:1px solid var(--em-line)}
.afpdb-em .afpdb-em-vues button:hover{background:var(--em-alt);color:var(--em-deep)!important}
.afpdb-em .afpdb-em-vues button[aria-pressed=true]{background:var(--em-tint);color:var(--em-deep)!important}
.afpdb-em-vues svg{fill:currentColor;flex:none}
.afpdb-em-nr{color:var(--em-muted);font-style:italic;font-size:.88rem}
.afpdb-em-coord .afpdb-em-meta{display:inline-block;min-width:3.6rem}
.afpdb-em-fiche-detail{display:flex;flex-direction:column;gap:.5rem}
.afpdb-em-fiche-id{min-width:0}
.afpdb-em-fiche-id h3{overflow-wrap:anywhere}
/* Cartes : résumé (expertises 2 lignes, présentation 3 lignes) */
.afpdb-em-annuaire:not(.est-liste) .afpdb-em-expertises{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.afpdb-em-annuaire:not(.est-liste) .afpdb-em-presentation{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.afpdb-em-fiche-pied{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.4rem .8rem}
.afpdb-em .afpdb-em-voir{margin:0;padding:.4rem .8rem;font-size:.88rem;background:#fff;color:var(--em-brand)!important;border:1px solid var(--em-brand)}
.afpdb-em .afpdb-em-voir:hover{background:var(--em-tint);color:var(--em-deep)!important}
.afpdb-em-voir-court{display:none}
/* Liste : une ligne par membre */
.afpdb-em-annuaire.est-liste{display:block;border-top:1px solid var(--em-line)}
.afpdb-em-annuaire.est-liste .afpdb-em-fiche{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1.4fr) auto;align-items:center;gap:.4rem 1.25rem;border:0;border-bottom:1px solid var(--em-line);border-radius:0;padding:.7rem .5rem;background:#fff}
.afpdb-em-annuaire.est-liste .afpdb-em-fiche:nth-child(even){background:var(--em-alt)}
.afpdb-em-annuaire.est-liste .afpdb-em-fiche[hidden]{display:none}
.afpdb-em-annuaire.est-liste .afpdb-em-fiche-tete{align-items:center;gap:.65rem}
.afpdb-em-annuaire.est-liste .afpdb-em-fiche-tete .afpdb-em-initiales,.afpdb-em-annuaire.est-liste .afpdb-em-fiche-tete img{width:2.4rem;height:2.4rem;font-size:.9rem}
.afpdb-em-annuaire.est-liste h3{font-size:1rem;margin:0}
.afpdb-em-annuaire.est-liste .afpdb-em-fiche-tete p{font-size:.86rem;line-height:1.35}
.afpdb-em-annuaire.est-liste .afpdb-em-coord{font-size:.88rem;display:flex;flex-wrap:wrap;gap:.1rem 1rem}
.afpdb-em-annuaire.est-liste .afpdb-em-coord li{margin:0}
.afpdb-em-annuaire.est-liste .afpdb-em-coord-vide,.afpdb-em-annuaire.est-liste .afpdb-em-fiche-detail,.afpdb-em-annuaire.est-liste .afpdb-em-fiche-liens{display:none}
.afpdb-em-annuaire.est-liste .afpdb-em-coord-mail{flex-basis:100%}
.afpdb-em-annuaire.est-liste .afpdb-em-fiche-pied{border:0;padding:0;margin:0;justify-content:flex-end}
@media (max-width:760px){
	.afpdb-em-annuaire.est-liste .afpdb-em-fiche{grid-template-columns:minmax(0,1fr) auto;padding:.7rem .25rem}
	.afpdb-em-annuaire.est-liste .afpdb-em-coord{grid-column:1/-1;grid-row:2;padding-left:3.05rem}
	.afpdb-em-annuaire.est-liste .afpdb-em-fiche-pied{grid-column:2;grid-row:1}
	.afpdb-em-annuaire.est-liste .afpdb-em-voir .afpdb-em-voir-txt{display:none}
	.afpdb-em-annuaire.est-liste .afpdb-em-voir .afpdb-em-voir-court{display:inline}
}
/* Fiche complète (fenêtre) */
.afpdb-em-dialog{border:0;border-radius:8px;padding:0;width:min(620px,calc(100vw - 2rem));max-height:calc(100vh - 2rem);color:var(--em-ink);box-shadow:0 18px 50px rgba(20,36,45,.28)}
.afpdb-em-dialog::backdrop{background:rgba(20,36,45,.55)}
.afpdb-em-dialog-corps{position:relative;padding:1.5rem 1.5rem 1.25rem}
.afpdb-em .afpdb-em-dialog-fermer{position:absolute;top:.6rem;right:.6rem;margin:0;padding:0;width:2.25rem;height:2.25rem;border-radius:50%;border:0;background:var(--em-alt);color:var(--em-ink)!important;font-size:1.5rem;line-height:1}
.afpdb-em .afpdb-em-dialog-fermer:hover{background:var(--em-tint)}
.afpdb-em-dialog .afpdb-em-fiche-tete{padding-right:2.5rem;margin-bottom:1rem}
.afpdb-em-dialog .afpdb-em-fiche-tete .afpdb-em-initiales,.afpdb-em-dialog .afpdb-em-fiche-tete img{width:4.5rem;height:4.5rem;font-size:1.5rem}
.afpdb-em-dialog h3{font-size:1.35rem;margin:.2rem 0 .3rem}
.afpdb-em-dialog .afpdb-em-coord{font-size:1rem;border-top:1px solid var(--em-line);border-bottom:1px solid var(--em-line);padding:.6rem 0;margin:0 0 1rem}
.afpdb-em-dialog .afpdb-em-coord li{margin:.3rem 0}
.afpdb-em-dialog .afpdb-em-coord .afpdb-em-meta{min-width:4.5rem}
.afpdb-em-dialog .afpdb-em-fiche-detail{gap:.75rem}
.afpdb-em-dialog .afpdb-em-presentation{white-space:pre-line;font-size:.97rem;line-height:1.55}
.afpdb-em-dialog .afpdb-em-fiche-pied{margin-top:1.1rem;padding-top:.8rem;border-top:1px solid var(--em-line)}
.afpdb-em-dialog .afpdb-em-voir{display:none}
@media (max-width:640px){
	.afpdb-em-dialog{width:100vw;max-width:100vw;max-height:92vh;margin:auto 0 0;border-radius:12px 12px 0 0}
	.afpdb-em-dialog-corps{padding:1.25rem 1rem 1rem}
}
/* Fiche : tous les champs (22 oct.) */
.afpdb-em-champ{display:flex;flex-direction:column;gap:.25rem;min-width:0}
.afpdb-em-champ p{margin:0}
.afpdb-em-champ-lib{font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;font-weight:600}
.afpdb-em-coord-li a{overflow-wrap:anywhere}
/* Cartes : champs vides et libellés masqués (résumé) */
.afpdb-em-annuaire .afpdb-em-champ.est-vide{display:none}
.afpdb-em-annuaire .afpdb-em-champ-groupes .afpdb-em-champ-lib,.afpdb-em-annuaire .afpdb-em-champ-lib{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.afpdb-em-annuaire .afpdb-em-expertises::before{content:'Expertises : ';color:var(--em-muted)}
.afpdb-em-annuaire.est-liste .afpdb-em-coord-li{display:none}
/* Fenêtre : tout afficher, avec libellés */
.afpdb-em-dialog .afpdb-em-fiche-detail{gap:1rem}
.afpdb-em-dialog .afpdb-em-expertises,.afpdb-em-dialog .afpdb-em-presentation{display:block;-webkit-line-clamp:unset;overflow:visible;font-size:.97rem}
/* Tri de l'annuaire (22 oct.) */
.afpdb-em-annuaire-outils{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .9rem}
.afpdb-em-tri{display:inline-flex;align-items:center;gap:.45rem;margin:0;font-weight:400;font-size:.9rem;color:var(--em-muted)}
.afpdb-em .afpdb-em-tri select{width:auto;margin:0;padding:.4rem 2rem .4rem .6rem;font-size:.9rem;min-height:0}
.afpdb-em .afpdb-em-tri span{font-weight:400}

/* Événements de l'association : inscription en un clic (espace-membres-evenements.php) */
.afpdb-em-evts{margin:0 0 2rem}
.afpdb-em-evts h2{font-size:1.2rem;padding-bottom:.6rem;border-bottom:2px solid var(--em-accent);display:inline-block}
.afpdb-em-evt .afpdb-em-msg{margin:.25rem 0 .75rem}
.afpdb-em-evt.est-inscrit .afpdb-em-date{background:var(--em-brand);color:#fff}
.afpdb-em-evt-statut{margin:.6rem 0 0!important}
.afpdb-em-evt-ok{display:inline-block;font-weight:600;color:var(--em-deep);background:var(--em-tint);border-left:4px solid var(--em-brand);padding:.25rem .6rem;border-radius:3px;margin-right:.35rem}
.afpdb-em-evt-qui{margin:.6rem 0 0!important;font-size:.95rem;max-width:640px}
.afpdb-em-evt-form{margin:0}
.afpdb-em-evt-form .afpdb-em-bouton{margin-top:.5rem;font-size:.95rem;padding:.6rem 1.1rem}
.afpdb-em-evt-champs{display:grid;grid-template-columns:auto 1fr;gap:.4rem .75rem;align-items:center;max-width:480px;margin:.25rem 0}
.afpdb-em-evt-champs label{font-weight:600;font-size:.92rem}
.afpdb-em-evt-champs input{width:100%;padding:.55rem .7rem;border:1px solid #9fb7c3;border-radius:4px;font:inherit}
@media (max-width:520px){.afpdb-em-evt-champs{grid-template-columns:1fr}}
/* Page publique de l'événement, membre connecté */
.afpdb-insc.afpdb-em-evt-public .afpdb-em-rdv{border-bottom:0;padding:.5rem 0 0}
.afpdb-insc.afpdb-em-evt-public .afpdb-em-aide{margin:0 0 .5rem}
.afpdb-insc.afpdb-em-evt-public button{width:auto}
.afpdb-insc.afpdb-em-evt-public details summary{cursor:pointer;color:var(--em-brand)}

/* Bandeau de l'espace : toujours visible sous l'en-tête du site, plus étroit (22 oct.) — liseré de la rubrique active inchangé */
.afpdb-em{--em-haut:97px}
.afpdb-em-nav{position:sticky;top:var(--em-haut);z-index:90;background:#fff;box-shadow:0 0 0 100vmax #fff;clip-path:inset(0 -100vmax);flex-wrap:nowrap;margin-bottom:1.5rem}
.afpdb-em-nav li a{padding:.45rem .8rem;font-size:.95rem}
.afpdb-em-qui{font-size:.85rem;white-space:nowrap}
.afpdb-em-rdv,.afpdb-em-section{scroll-margin-top:calc(var(--em-haut) + 4rem)}
@media (max-width:781px){
	.afpdb-em{--em-haut:57px}
	.afpdb-em-nav{gap:0 .5rem}
	.afpdb-em-nav ul{flex:1 1 auto;min-width:0;width:auto;overflow-x:auto;scrollbar-width:none}
	.afpdb-em-nav ul::-webkit-scrollbar{display:none}
	.afpdb-em-nav li a{padding:.45rem .55rem;font-size:.9rem}
	.afpdb-em-qui{padding-bottom:0}
	.afpdb-em-qui span{display:none}
}

/* Bandeau « Espace membres » : même titre sur toutes les rubriques, hauteur réduite au minimum (22 oct.) */
body.afpdb-em-page main>.wp-block-group.alignfull.has-background:first-child{padding-top:.3rem!important;padding-bottom:.3rem!important;min-height:0!important}
body.afpdb-em-page main>.wp-block-group.alignfull.has-background:first-child h1.wp-block-post-title{font-size:1rem!important;line-height:1.4;margin:0!important;font-family:inherit;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#174A63}
body.afpdb-em-page main>.wp-block-group.alignfull.has-background:first-child+*{margin-block-start:0!important;padding-top:0!important}
body.afpdb-em-page .afpdb-em{padding-top:.25rem}

/* Mon compte : onglets (22 oct. 2026) */
.afpdb-em-onglets{display:flex;gap:.25rem;border-bottom:1px solid var(--em-line);margin:0 0 .5rem;max-width:820px;overflow-x:auto}
.afpdb-em .afpdb-em-onglets button{margin:0 0 -1px;padding:.7rem 1rem;border:0;border-bottom:3px solid transparent;border-radius:0;background:none;color:var(--em-muted)!important;font-weight:600;font-size:1rem;white-space:nowrap;line-height:1.3}
.afpdb-em .afpdb-em-onglets button:hover{background:none;border-color:transparent;border-bottom-color:var(--em-line);color:var(--em-deep)!important}
.afpdb-em .afpdb-em-onglets button[aria-selected=true]{border-bottom-color:#D4932F;color:var(--em-brand)!important}
.afpdb-em .afpdb-em-onglets button:focus-visible{outline:2px solid #D4932F;outline-offset:-2px}
.afpdb-em-a-onglets .afpdb-em-section{border-bottom:0;padding-top:1rem}
.afpdb-em-cases--principales{padding-bottom:.4rem;margin-bottom:.4rem;border-bottom:1px solid var(--em-line)}
.afpdb-em-cases--principales label{font-weight:600}
@media (max-width:420px){.afpdb-em .afpdb-em-onglets button{padding:.6rem .6rem;font-size:.95rem}}
.afpdb-em-anniv-champs{display:flex;gap:.6rem;flex-wrap:wrap}
.afpdb-em-anniv-champs select{width:auto;min-width:6.5rem}
/* Anniversaire : petit, avec gâteau */
.afpdb-em-anniv-txt{display:inline-flex;align-items:center;gap:.35rem;font-size:.85rem;color:var(--em-muted)}
.afpdb-em-gateau{flex:none;color:#D4932F}
.afpdb-em-dialog .afpdb-em-anniv-txt{font-size:.97rem}


/* Annuaire : lien LinkedIn en icône (22 oct. 2026) */
.afpdb-em-li-lien{display:inline-flex;align-items:center;gap:.4rem;text-decoration:none}
.afpdb-em-li-lien:hover span,.afpdb-em-li-lien:focus-visible span{text-decoration:underline}
.afpdb-em-li-ico{color:#0A66C2;flex:none}
@media (prefers-color-scheme:dark){.afpdb-em-li-ico{color:#71B7FB}}
.afpdb-em-x-ico{color:#000;flex:none}
@media (prefers-color-scheme:dark){.afpdb-em-x-ico{color:#fff}}
