.faec-directory{--faec-blue:#123c76;--faec-ink:#15365b;--faec-line:#d7e3f1;background:#f6f9fd;border:1px solid var(--faec-line);border-radius:16px;padding:24px;margin:18px 0 30px;font-family:inherit}
.faec-directory *{box-sizing:border-box}.faec-directory h2{margin:0 0 8px;font-size:1.5rem;color:var(--faec-ink)}.faec-lede{margin:0 0 20px;color:#38516b;line-height:1.55}
.faec-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(210px,1fr);gap:12px;margin-bottom:12px}.faec-field label{font-weight:700;display:block;margin:0 0 7px;color:var(--faec-ink);font-size:.9rem}
.faec-field input,.faec-field select{width:100%;min-height:48px;background:#fff;border:1px solid #9ab6d5;border-radius:9px;padding:10px 13px;font-size:1rem;line-height:1.4;color:#15365b}.faec-field input:focus,.faec-field select:focus{outline:3px solid #b9d8fb;outline-offset:1px}
.faec-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:12px 0 15px;color:#476079;font-size:.88rem}.faec-count{font-weight:700;color:var(--faec-blue)}.faec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.faec-center{background:#fff;border:1px solid var(--faec-line);border-radius:11px;padding:17px;min-width:0;display:flex;flex-direction:column;gap:8px}.faec-center h3{font-size:1.06rem!important;line-height:1.35;margin:0;color:var(--faec-ink);overflow-wrap:anywhere}.faec-center p{margin:0!important;line-height:1.55;color:#344d68;font-size:.94rem}.faec-brand{font-size:.75rem;color:#527091;font-weight:700;letter-spacing:.02em}
.faec-cta,.faec-show-more{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 13px;border-radius:8px;background:var(--faec-blue)!important;color:#fff!important;text-decoration:none!important;border:1px solid var(--faec-blue);font-weight:700;line-height:1.35;font-size:.9rem;transition:background .15s}.faec-cta{margin-top:auto}.faec-cta:hover,.faec-show-more:hover{background:#0756a8!important;color:#fff!important}.faec-show-wrap{text-align:center;margin-top:17px}.faec-show-more{cursor:pointer;min-width:220px}
.faec-empty{padding:18px;background:#fff;border:1px solid var(--faec-line);border-radius:10px;color:#23436a}.faec-note{margin:16px 0 0!important;color:#53687e;font-size:.83rem;line-height:1.55}[data-faec-hidden="1"]{display:none!important}@media(max-width:740px){.faec-directory{padding:16px}.faec-fields,.faec-grid{grid-template-columns:1fr}.faec-center{padding:15px}.faec-directory h2{font-size:1.3rem}}
.faec-hub-hero{background:linear-gradient(125deg,#103b76,#1c60a7);border-radius:14px;padding:25px 26px;color:#fff;margin:0 0 22px}.faec-hub-hero p{color:#fff!important;line-height:1.55;margin:0 0 14px!important}.faec-hub-hero strong{color:#fff}.faec-hub-actions{display:flex;gap:10px;flex-wrap:wrap}.faec-hub-actions a{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;border-radius:8px;background:#fff!important;color:#123c76!important;font-weight:700;text-decoration:none!important}.faec-hub-actions a.faec-secondary{background:#0c2d59!important;color:#fff!important;border:1px solid #9fc9ff}.faec-hub-actions a:hover{opacity:.9}.faec-external-note{background:#eef5fd;border-left:4px solid #19579c;padding:15px 17px;border-radius:0 9px 9px 0;margin:20px 0}.faec-external-note p{margin:0!important}.faec-hub-faq details{background:#fff;border:1px solid #d7e3f1;border-radius:10px;padding:13px 17px;margin-bottom:10px}.faec-hub-faq summary{cursor:pointer;font-weight:700;color:#15365b}.faec-hub-faq details p{margin:12px 0 0!important}@media(max-width:740px){.faec-hub-hero{padding:19px}.faec-hub-actions{display:grid;grid-template-columns:1fr}}.faec-directory [hidden]{display:none!important}

/* Carte interactive des centres — continuité avec le portail des préfectures */
.faec-map-section{margin:18px 0 24px;background:#fff;border:1px solid #cbdcec;border-radius:14px;padding:16px}
.faec-map-title h3{font-size:1.25rem!important;font-weight:800;color:#143e72;margin:0 0 6px}
.faec-map-title p{font-size:.95rem;line-height:1.55;color:#49627e;margin:0 0 15px!important}
.faec-map-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.faec-map-toolbar button,.faec-map-toolbar select{font:inherit;font-size:.9rem;min-height:40px;color:#164576!important;font-weight:700;border:1px solid #b4cde6!important;border-radius:8px;background:#f2f7fc!important;padding:7px 12px;cursor:pointer;line-height:1.2}
.faec-map-toolbar button:hover,.faec-map-toolbar select:hover{background:#dfedfc!important;border-color:#2773c4!important}
.faec-map-toolbar button:focus-visible,.faec-map-toolbar select:focus-visible{outline:3px solid #9ccbff;outline-offset:2px}
.faec-france-map{position:relative;width:100%;height:510px;background:#e8f1f9;border:1px solid #b8cde3;border-radius:10px;z-index:0;overflow:hidden}
.faec-france-map .leaflet-control-attribution{font-size:10px!important}
.faec-map-credit{font-size:.76rem;color:#526b84;line-height:1.45;margin:10px 0 0!important}
.faec-map-pin{background:none!important;border:0!important}
.faec-map-pin span{position:relative;display:block;width:23px;height:23px;background:#1457a3;border-radius:50% 50% 50% 0;transform:rotate(-45deg);border:3px solid white;box-shadow:0 1px 6px #103c7566}
.faec-map-pin span:after{content:"";position:absolute;top:6px;left:6px;width:5px;height:5px;border-radius:50%;background:#fff}
.faec-cluster{display:flex;justify-content:center;align-items:center;border-radius:50%;background:#154c8e;border:3px solid #fff;color:#fff;box-shadow:0 2px 8px #07356866;font-weight:800;min-width:37px;min-height:37px;line-height:1}
.faec-cluster span{display:block;line-height:30px;text-align:center;font-size:13px}
.faec-france-map .leaflet-popup-content-wrapper{border-radius:12px;box-shadow:0 5px 20px #122a4b40}
.faec-popup{min-width:195px;font-family:inherit}
.faec-popup strong{color:#123d74;font-size:1rem;line-height:1.4;display:block}
.faec-popup p{font-size:.9rem;line-height:1.45;color:#465c75;margin:8px 0 12px!important}
.faec-popup-actions{display:flex;gap:7px;align-items:stretch;flex-wrap:wrap}
.faec-popup-actions a,.faec-popup-actions button{background:#154e92!important;color:#fff!important;border:1px solid #154e92;border-radius:6px;padding:8px 10px;cursor:pointer;font-weight:700;text-decoration:none!important;font-size:.78rem;line-height:1.3}
.faec-popup-actions button{background:#f0f6fd!important;color:#154e92!important}
.faec-results-heading{font-size:1.15rem!important;color:#153e72;margin:16px 0 14px}
.faec-card-actions{display:flex;gap:8px;margin-top:auto;flex-wrap:wrap;align-items:stretch}
.faec-card-actions .faec-cta{margin-top:0;flex:1;min-width:145px;text-align:center}
.faec-locate{min-height:42px;background:#eef5fc!important;color:#134477!important;border:1px solid #acc7e5!important;border-radius:8px;padding:10px 11px;cursor:pointer;font-weight:700;font-size:.9rem}
.faec-locate:hover{background:#d9eafe!important}
.faec-selected{border-color:#1c64b0!important;box-shadow:0 0 0 2px #bcd9f6}
.faec-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:740px){.faec-map-section{padding:11px}.faec-france-map{height:420px}.faec-map-toolbar{gap:6px}.faec-map-toolbar button,.faec-map-toolbar select{font-size:.8rem;padding:7px 9px}.faec-card-actions{flex-direction:column}.faec-card-actions .faec-cta{min-width:0}}
@media(max-width:390px){.faec-france-map{height:360px}.faec-map-toolbar button,.faec-map-toolbar select{font-size:.76rem}}

/* V3 : contraste renforcé, sections plus nettes */
.faec-directory{background:#edf3fb!important;border:2px solid #9fbadd!important;padding:20px!important;box-shadow:0 5px 20px rgba(17,55,104,.08)}
.faec-search-panel{background:linear-gradient(135deg,#0c3164 0%,#15599c 100%)!important;color:#fff!important;border-radius:12px;padding:23px 23px 14px;box-shadow:0 4px 12px rgba(8,36,79,.17)}
.faec-directory .faec-search-panel h2{color:#fff!important;font-weight:800!important;margin:0 0 8px!important}
.faec-directory .faec-search-panel .faec-lede,.faec-directory .faec-search-panel .faec-meta,.faec-directory .faec-search-panel .faec-count,.faec-directory .faec-search-panel label{color:#fff!important}
.faec-directory .faec-search-panel .faec-lede{opacity:.94}
.faec-directory .faec-search-panel .faec-meta{border-top:1px solid rgba(255,255,255,.22);padding-top:12px;margin-top:13px}
.faec-directory .faec-search-panel input,.faec-directory .faec-search-panel select{background:#fff!important;color:#102f58!important;border:2px solid #9bc5f1!important;box-shadow:0 2px 5px rgba(4,24,60,.14)}
.faec-directory .faec-search-panel input::placeholder{color:#5b6e87!important;opacity:1}
.faec-directory .faec-map-section{background:#fff!important;border:2px solid #b5cce7!important;box-shadow:0 3px 14px rgba(20,55,94,.10);padding:18px!important}
.faec-directory .faec-map-title{background:#e7f0fc;border-left:5px solid #164f94;padding:13px 15px;margin:0 0 14px;border-radius:0 8px 8px 0}
.faec-directory .faec-map-title h3{color:#103869!important;margin-bottom:5px!important;font-weight:800}
.faec-directory .faec-map-title p{color:#29466c!important;margin:0!important;font-size:.93rem}
.faec-directory .faec-map-toolbar button,.faec-directory .faec-map-toolbar select{background:#164f94!important;border:1px solid #164f94!important;color:#fff!important;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.faec-directory .faec-map-toolbar button:hover,.faec-directory .faec-map-toolbar select:hover{background:#0b3266!important;color:#fff!important}
.faec-directory .faec-france-map{border:2px solid #8fb1d7!important}
.faec-directory .faec-results-heading{background:#153e76!important;color:#fff!important;padding:13px 17px!important;border-radius:9px;font-weight:800!important;font-size:1.1rem!important;margin:25px 0 14px!important}
.faec-directory .faec-center{border:1px solid #aec7e3!important;background:#fff!important;box-shadow:0 3px 9px rgba(12,50,96,.08)}
.faec-directory .faec-brand{color:#1b578f!important}
.faec-directory .faec-note{color:#244768!important;background:#fff;border-left:4px solid #1a5d9f;border-radius:0 8px 8px 0;padding:12px 14px}
@media(max-width:740px){.faec-directory{padding:11px!important}.faec-search-panel{padding:18px 14px 11px!important}.faec-directory .faec-map-section{padding:11px!important}.faec-directory .faec-results-heading{padding:12px!important}}

/* CCI + FEI : filtres de réseau et fiches différenciées */
.faec-directory .faec-network-filters{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 14px}
.faec-directory .faec-network-filters button{appearance:none;border:1px solid #a9c8e9!important;border-radius:8px;background:#ffffff14!important;color:#fff!important;padding:9px 13px;min-height:40px;cursor:pointer;font-weight:700;font-size:.91rem;line-height:1.3}
.faec-directory .faec-network-filters button:hover{background:#ffffff35!important}
.faec-directory .faec-network-filters button.is-active{background:#fff!important;color:#113c75!important;border-color:#fff!important}
.faec-directory .faec-network-filters button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.faec-directory .faec-brand[data-network="CCI"]{color:#155497!important}
.faec-directory .faec-brand[data-network="FEI"]{color:#0a6773!important}
.faec-directory .faec-brand[data-network="CCI + FEI"]{color:#104a82!important}
.faec-directory .faec-center .faec-fei-cta{background:#12758c!important;border-color:#12758c!important}
.faec-directory .faec-center .faec-fei-cta:hover{background:#07596a!important;color:#fff!important}
.faec-directory .faec-center-website{color:#175b9e!important;font-weight:700;text-decoration:underline!important;padding:6px 4px;display:inline-flex;justify-content:center;align-items:center;font-size:.88rem}
.faec-popup-network{font-size:.73rem;color:#175f8f;display:block;font-weight:800;text-transform:uppercase;letter-spacing:.03em;margin-bottom:5px}
.faec-directory .faec-search-panel .faec-meta{gap:8px}
.faec-directory .faec-search-panel .faec-meta span:last-child{opacity:.92}
@media(max-width:640px){.faec-directory .faec-network-filters button{flex:1;min-width:100px;font-size:.8rem;padding:9px 7px}}

/* Recherche locale — suggestion contextuelle après focus, sans demande automatique */
.faec-directory .faec-search-wrap{position:relative;z-index:4}
.faec-directory .faec-search-panel{position:relative;z-index:5}
.faec-directory .faec-search-field{min-width:0}
.faec-directory .faec-search-field input{position:relative}
.faec-directory .faec-geo-suggestion{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:45;padding:5px;background:#fff;border:2px solid #a9c6e6;border-radius:10px;box-shadow:0 10px 25px rgba(9,32,70,.23)}
.faec-directory .faec-geo-suggestion[hidden]{display:none!important}
.faec-directory .faec-geo-option{display:flex!important;align-items:center;gap:12px;width:100%;padding:13px!important;border:0!important;border-radius:8px!important;background:#fff!important;color:#143e72!important;text-align:left;cursor:pointer;line-height:1.3}
.faec-directory .faec-geo-option:hover,.faec-directory .faec-geo-option:focus-visible{background:#e6f0fc!important;outline:2px solid #8ab5e6;outline-offset:-2px}
.faec-directory .faec-geo-option:disabled{opacity:.65;cursor:progress}
.faec-directory .faec-geo-option strong{display:block;font-size:.96rem;color:#123f77}
.faec-directory .faec-geo-option small{display:block;margin-top:4px;font-size:.78rem;color:#4a6181}
.faec-directory .faec-geo-symbol{display:flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;border-radius:50%;border:1px solid #a4c7ee;color:#154f95;background:#e8f3ff;font-size:1.45rem;font-weight:700}
.faec-directory .faec-geo-feedback{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;margin-top:10px;padding:9px 11px;border:1px solid rgba(255,255,255,.42);border-radius:8px;color:#fff!important;background:rgba(255,255,255,.12);font-size:.85rem;line-height:1.4}
.faec-directory .faec-geo-feedback[hidden],.faec-directory .faec-geo-feedback button[hidden]{display:none!important}
.faec-directory .faec-geo-feedback button{padding:5px 9px;border-radius:6px;border:1px solid rgba(255,255,255,.7)!important;background:transparent!important;color:#fff!important;font-size:.81rem;font-weight:700;cursor:pointer}
.faec-directory .faec-geo-feedback button:hover{background:rgba(255,255,255,.18)!important}
.faec-directory .faec-proximity{color:#104e86;font-weight:700;font-size:.86rem;letter-spacing:0;margin:2px 0 5px}
.faec-directory .faec-proximity[hidden]{display:none!important}
.faec-directory .faec-proximity:before{content:"◎";font-size:1rem;margin-right:5px}
@media(max-width:740px){.faec-directory .faec-geo-option{padding:12px!important}.faec-directory .faec-geo-feedback{font-size:.79rem}}

.faec-directory .faec-detail-cta{display:inline-flex;justify-content:center;align-items:center;min-height:42px;padding:10px 12px;text-decoration:none!important;border-radius:8px;border:1px solid #1572ac!important;background:#e8f5fe!important;color:#0e4474!important;font-weight:800;font-size:.87rem;text-align:center}
.faec-directory .faec-detail-cta:hover{background:#d0e9fb!important;color:#0c3462!important}
.faec-france-map .faec-popup-actions .faec-detail-cta{border:1px solid #b4d4ea!important;background:#e3f1fb!important;color:#143d70!important}

/* CCI sessions vérifiées : statuts affichés pour la mention sélectionnée */
.faec-directory .faecs-status-line{margin:2px 0 10px}
.faec-directory .faecs-session-badge{display:inline-flex;align-items:center;gap:7px;border-radius:999px;border:1px solid #cbd4e6;padding:6px 11px;font-size:.8rem;font-weight:800;line-height:1.3;max-width:100%;letter-spacing:0}
.faec-directory .faecs-session-badge:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;flex:none;background:currentColor}
.faec-directory .faecs-session-badge.faecs-available{background:#e6f5ea;border-color:#b7dfc4;color:#176a3e}
.faec-directory .faecs-session-badge.faecs-on-request{background:#f1f4fb;border-color:#d3def0;color:#31527b}
.faec-directory .faecs-popup-status{display:inline-block;margin:5px 0 9px;padding:5px 8px;border-radius:7px;font-weight:700;font-size:.8rem}
.faec-directory .faecs-popup-status.faecs-available{background:#e6f5ea;color:#176a3e}
.faec-directory .faecs-popup-status.faecs-on-request{background:#eef3fa;color:#37587e}

/* V9 — deux actions uniquement par centre : carte + fiche FranceAccueil */
#recherche-centres-examen-civique .faec-center .faec-card-actions{
 display:grid!important;grid-template-columns:1fr 1fr;gap:10px!important;
 align-items:stretch;margin-top:auto;
}
#recherche-centres-examen-civique .faec-center .faec-card-actions>.faec-locate,
#recherche-centres-examen-civique .faec-center .faec-card-actions>.faec-cta{
 display:flex!important;align-items:center;justify-content:center;
 min-width:0;width:100%;min-height:46px!important;padding:10px 12px!important;
 border-radius:8px!important;font-weight:800!important;line-height:1.35!important;
 text-align:center;white-space:normal;
}
#recherche-centres-examen-civique .faec-center .faec-card-actions>.faec-locate{
 color:#164a85!important;background:#ebf4fc!important;border:1px solid #a3c5e9!important;
}
#recherche-centres-examen-civique .faec-center .faec-card-actions>.faec-locate:hover{
 color:#0b3665!important;background:#dbeaf8!important;border-color:#6a9dcc!important;
}
#recherche-centres-examen-civique .faec-center .faec-card-actions>.faec-cta,
#recherche-centres-examen-civique .faec-center .faec-card-actions>.faec-cta:visited{
 color:#fff!important;background:#164b88!important;border:1px solid #164b88!important;
 text-decoration:none!important;
}
#recherche-centres-examen-civique .faec-center .faec-card-actions>.faec-cta:hover{
 color:#fff!important;background:#0c3265!important;border-color:#0c3265!important;
}
@media(max-width:470px){#recherche-centres-examen-civique .faec-center .faec-card-actions{grid-template-columns:1fr}}

/* V10 — repère départemental sur les 445 cartes du HUB */
#recherche-centres-examen-civique .faec-center-heading {
  display:flex;
  align-items:flex-start;
  gap:13px;
  min-width:0;
  margin-bottom:2px;
}
#recherche-centres-examen-civique .faec-department-badge {
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 52px;
  width:52px;
  height:52px;
  padding:5px;
  background:#e6e9ff;
  border:1px solid #d6dcff;
  color:#113b81;
  border-radius:10px;
  font-size:1.12rem;
  font-weight:800;
  line-height:1;
  letter-spacing:0;
  font-variant-numeric:tabular-nums;
  text-align:center;
}
#recherche-centres-examen-civique .faec-center-identity{
  display:flex;
  flex-direction:column;
  gap:6px;
  flex:1 1 0;
  min-width:0;
}
#recherche-centres-examen-civique .faec-center-identity .faec-brand{
  display:block;
  margin:0;
}
#recherche-centres-examen-civique .faec-center-identity h3{
  margin:0!important;
}
#recherche-centres-examen-civique .faec-center-identity p{
  margin:0!important;
}
@media(max-width:450px){
  #recherche-centres-examen-civique .faec-center-heading{gap:10px}
  #recherche-centres-examen-civique .faec-department-badge{
    flex-basis:46px;width:46px;height:46px;font-size:1rem
  }
}
