/* --- style.css --- */
:root{--blue:#0b3a66;--gold:#f7c948;--red:#c9252d;--ink:#152033;--muted:#667085;--bg:#f3f6fb;--card:#fff;--shadow:0 14px 40px rgba(16,24,40,.10)}
*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--ink);padding-bottom:58px}.site-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:14px;padding:10px 20px;background:linear-gradient(135deg,#062949,#0b3a66 60%,#124b80);color:#fff;box-shadow:var(--shadow)}.brand-block{flex:1;text-align:center}.brand-block strong{display:block;font-size:22px;letter-spacing:.5px;text-transform:uppercase}.brand-block span,.brand-block em{display:block;font-size:12px;opacity:.92}.logo-box{width:58px;height:58px;border:2px solid rgba(255,255,255,.75);border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--blue);font-weight:bold;overflow:hidden}.logo-box img{width:100%;height:100%;object-fit:cover}.flag-mini{width:70px;height:46px;border:2px solid #fff;border-radius:6px;background:#00a3e0;position:relative;overflow:hidden;box-shadow:0 4px 10px rgba(0,0,0,.25)}.flag-mini:before{content:"";position:absolute;width:120px;height:13px;background:#f7d618;left:-18px;top:21px;transform:rotate(-25deg)}.flag-mini:after{content:"";position:absolute;width:120px;height:6px;background:#ce1021;left:-18px;top:25px;transform:rotate(-25deg);box-shadow:-31px -19px 0 -1px #f7d618}.top-nav{display:flex;gap:8px;justify-content:center;position:sticky;top:78px;z-index:19;background:#fff;border-bottom:1px solid #d8e0ea;padding:8px}.top-nav a{padding:9px 14px;border-radius:999px;text-decoration:none;color:var(--blue);font-weight:700}.top-nav a:hover{background:#eaf1f9}.main-content{max-width:1180px;margin:auto;padding:22px}.fixed-footer{position:fixed;left:0;right:0;bottom:0;z-index:30;display:flex;gap:18px;justify-content:center;align-items:center;background:#071d33;color:#fff;padding:12px 16px;box-shadow:0 -10px 25px rgba(0,0,0,.16)}.fixed-footer a{color:#fff;text-decoration:none;font-weight:700}.hero{height:470px;border-radius:28px;overflow:hidden;position:relative;box-shadow:var(--shadow);margin-bottom:22px}.slides,.slide{position:absolute;inset:0}.slide{background-size:cover;background-position:center;opacity:0;animation:fadeSlides 24s infinite}.slide:nth-child(1){animation-delay:0s}.slide:nth-child(2){animation-delay:6s}.slide:nth-child(3){animation-delay:12s}.slide:nth-child(4){animation-delay:18s}.fallback{opacity:1!important;background:linear-gradient(135deg,#0b3a66,#1f7abb)}@keyframes fadeSlides{0%,20%{opacity:1}25%,100%{opacity:0}}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,18,34,.82),rgba(5,18,34,.35),rgba(5,18,34,.75));z-index:1}.hero-overlay{position:relative;z-index:2;color:#fff;padding:82px 45px;max-width:760px}.hero-overlay h1{font-size:48px;margin:0 0 10px;text-transform:uppercase;line-height:1.05}.hero-overlay p{font-size:21px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:11px 16px;border-radius:12px;background:#e8eef6;color:var(--blue);border:0;text-decoration:none;font-weight:800;cursor:pointer}.btn.primary{background:var(--gold);color:#172033}.btn.light{background:#fff;color:var(--blue)}.btn.danger{background:#ffe4e8;color:#9d1020}.btn.small{padding:7px 10px;border-radius:9px;font-size:12px}.card{background:var(--card);border-radius:24px;padding:24px;box-shadow:var(--shadow);margin-bottom:22px}.grid{display:grid;gap:22px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.large-text p{font-size:18px;line-height:1.7}.section-title{font-size:30px;text-align:center}.activity-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}.activity-card{border:1px solid #e5eaf2;border-radius:20px;padding:16px;background:#fff}.activity-card img{width:100%;height:150px;object-fit:cover;border-radius:16px}.activity-card h3{font-size:24px;color:var(--blue);margin:10px 0 5px}.video-grid{display:grid;gap:14px}.video-grid iframe,.activity-card iframe{width:100%;min-height:205px;border:0;border-radius:16px}.payment-box{border-left:8px solid var(--gold)}.steps li{margin:10px 0}.auth-card{max-width:560px;margin:28px auto}.form{display:grid;gap:14px}.form label{font-weight:800;color:#1d2939}.form input,.form select,.form textarea,.filters input,.filters select{width:100%;padding:12px;border:1px solid #cfd8e5;border-radius:12px;background:#fff;font:inherit;margin-top:6px}.full{grid-column:1/-1}.links-row{display:flex;justify-content:space-between;margin-top:16px}.flash-zone{display:grid;gap:8px;margin-bottom:14px}.flash{padding:12px 14px;border-radius:12px;background:#eef2ff;color:#233}.flash.success{background:#e8fff1}.flash.danger{background:#ffe8e8}.flash.warning{background:#fff6da}.dashboard-head{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:18px}.stat{background:#fff;border-radius:24px;padding:28px;text-align:center;box-shadow:var(--shadow);border-top:6px solid var(--gold)}.stat span{display:block;font-size:42px;font-weight:900;color:var(--blue)}.stat small{color:var(--muted);font-weight:800}.admin-menu{display:flex;gap:12px;flex-wrap:wrap}.list-item{border-bottom:1px solid #e6ebf2;padding:12px 0;display:flex;gap:12px;justify-content:space-between}.list-item strong{color:var(--blue)}.list-item span{color:var(--muted)}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;background:#fff}th,td{padding:12px;border-bottom:1px solid #edf1f7;text-align:left;vertical-align:top}th{background:#f0f5fb;color:var(--blue)}.inline{display:inline}.tabs{display:flex;gap:10px;margin:14px 0}.tabs a{padding:10px 14px;background:#eef3f8;border-radius:999px;text-decoration:none;color:var(--blue);font-weight:800}.tabs a.active{background:var(--blue);color:#fff}.filters{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:14px 0}.avatar{width:130px;height:130px;object-fit:cover;border-radius:50%;border:5px solid #fff;box-shadow:var(--shadow)}.member-card-view{text-align:center}
@media(max-width:800px){.grid.two,.dashboard-head,.filters{grid-template-columns:1fr}.brand-block strong{font-size:16px}.site-header{padding:8px}.flag-mini{width:52px;height:36px}.logo-box{width:46px;height:46px}.top-nav{top:66px;overflow:auto;justify-content:flex-start}.hero{height:420px}.hero-overlay{padding:58px 25px}.hero-overlay h1{font-size:34px}.main-content{padding:14px}.fixed-footer{font-size:12px;gap:8px;overflow:auto;justify-content:flex-start}}
@media print{.site-header,.top-nav,.fixed-footer,.filters,.btn,.flash-zone{display:none!important}body{background:white;padding:0}.main-content{max-width:none;padding:0}.card{box-shadow:none;border-radius:0}.printable table{font-size:11px}}
.center{text-align:center}.muted{color:var(--muted)}.light-btn{background:#fff;border:1px solid #cfd8e5}.adhesion-paper{border:1px solid #d7deea;background:linear-gradient(#fff,#fff)}.paper-head{display:grid;grid-template-columns:1fr 90px 100px;gap:18px;align-items:start;border-bottom:2px solid #e7edf5;padding-bottom:18px;margin-bottom:16px}.paper-head h2{margin:0;color:#303030;text-transform:uppercase;font-size:20px}.paper-head p{margin:6px 0;color:#555}.paper-head h3{margin:12px 0 0;text-align:center;text-decoration:underline}.paper-logo{width:76px;height:76px;border-radius:50%;border:1px solid #cdd6e4;display:grid;place-items:center;overflow:hidden;font-weight:900;color:var(--blue);margin:auto}.paper-logo img{width:100%;height:100%;object-fit:cover}.photo-preview{width:78px;height:96px;border:2px solid #777;border-radius:18px;display:grid;place-items:center;color:#555;font-weight:900}.form-title{text-align:center;text-decoration:underline;letter-spacing:.5px}.section-line{border-bottom:1px solid #d9e2ee;padding-bottom:8px;color:var(--blue);margin-top:18px}.checkbox-grid{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:10px;background:#f7f9fc;border:1px solid #e4ebf4;border-radius:16px;padding:14px}.checkbox-grid label{font-weight:700}.checkbox-grid input{width:auto;margin-right:6px}.declaration{background:#f8fafc;border-left:5px solid var(--gold);padding:12px;border-radius:12px;line-height:1.6}
@media(max-width:800px){.paper-head{grid-template-columns:1fr}.paper-logo,.photo-preview{margin:0 auto}.checkbox-grid{grid-template-columns:1fr 1fr}}

/* Correctifs nouvelle version */
.flag-mini{background:#00A3E0!important;position:relative;overflow:hidden;border-radius:6px}.flag-mini:before{content:"";position:absolute;left:6px;top:6px;width:10px;height:10px;border-radius:50%;background:#F7D618;box-shadow:none}.flag-mini:after{content:"";position:absolute;left:-8px;bottom:5px;width:95px;height:8px;background:#F7D618;transform:rotate(25deg);box-shadow:0 0 0 3px #CE1021 inset;border-top:0;border-bottom:0}.badge{display:inline-block;padding:5px 9px;border-radius:999px;font-weight:800;font-size:12px;background:#eef3f8;color:#0b3a66}.badge.active{background:#e8fff1;color:#067647}.badge.inactive{background:#fff4e5;color:#9a4f00}.badge.archived{background:#ffe8e8;color:#9d1020}.actions-cell{min-width:150px}.mini-form{display:grid;grid-template-columns:1fr;gap:5px;min-width:220px}.mini-form select,.mini-form input{padding:7px;border:1px solid #cfd8e5;border-radius:8px}.print-head .flag-mini{width:78px;height:52px}.site-header .flag-mini:after,.print-head .flag-mini:after{left:-12px;bottom:7px;width:112px;height:9px}
@media print{.actions-cell,.admin-menu,.top-nav,.site-header,.fixed-footer{display:none!important}.printable{overflow:visible}.printable table{font-size:10px}}

/* Version renforcée : vrai drapeau, filigrane, bande de communiqués et mises en page plus robustes */
body.has-watermark:before{content:"";position:fixed;inset:0;background-image:var(--watermark-url);background-repeat:no-repeat;background-position:center 52%;background-size:min(360px,55vw) auto;opacity:.045;pointer-events:none;z-index:-1}.site-header,.top-nav,.main-content,.fixed-footer,.communique-ticker{position:relative}.flag-real{width:92px;height:58px;border:2px solid rgba(255,255,255,.85);border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 4px 10px rgba(0,0,0,.22);flex:none}.flag-real img{width:100%;height:100%;object-fit:cover;display:block}.site-header .flag-mini{display:none}.communique-ticker{position:fixed;left:0;right:0;bottom:48px;z-index:29;display:flex;gap:12px;align-items:center;background:rgba(247,201,72,.94);color:#172033;border-top:1px solid rgba(0,0,0,.12);height:28px;padding:0 14px;overflow:hidden;font-size:13px}.communique-ticker strong{white-space:nowrap;text-transform:uppercase}.ticker-track{overflow:hidden;white-space:nowrap;flex:1}.ticker-track span{display:inline-block;padding-left:100%;animation:ticker 28s linear infinite}@keyframes ticker{0%{transform:translateX(0)}100%{transform:translateX(-100%)}}.fixed-footer{min-height:48px;padding:7px 16px}.footer-main{display:flex;flex-direction:column;align-items:flex-start;min-width:220px}.footer-main small{opacity:.78}.official-form-head{grid-template-columns:120px 1fr 90px 100px!important;align-items:center}.paper-flag img{width:118px;height:72px;object-fit:contain;border:1px solid #0B3A66;border-radius:8px;background:#fff}.paper-head h3{text-align:left}.form-signatures{display:grid;grid-template-columns:1fr 1fr;gap:28px;text-align:center;margin:18px 0 8px}.form-signatures div{border-top:1px solid #344054;padding-top:8px}.checkbox-grid.compact{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));margin-top:8px}.rubric-list{display:grid;gap:12px;margin-top:18px}.rubric-item{border:1px solid #e4ebf4;border-radius:16px;padding:14px;background:#f8fafc}.rubric-item .mini-form.grid.two{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}.activity-card img{height:210px;aspect-ratio:16/10;background:#eef3f8;object-position:center}.activity-card form{margin-top:10px}.activity-card{display:flex;flex-direction:column}.activity-card p{line-height:1.55}.activity-grid{align-items:stretch}.payment-box{background:linear-gradient(180deg,#fff,#fff9e7)}.paper-head .paper-logo{background:#fff}.print-flag img{display:block}
@media(max-width:800px){.flag-real{width:64px;height:42px}.communique-ticker{bottom:46px}.fixed-footer{overflow:auto;justify-content:flex-start}.footer-main{min-width:180px}.official-form-head{grid-template-columns:1fr!important;text-align:center}.paper-head h3{text-align:center}.rubric-item .mini-form.grid.two{grid-template-columns:1fr}.form-signatures{grid-template-columns:1fr}.paper-flag img{margin:auto}.activity-card img{height:180px}}
@media print{body.has-watermark:before,.communique-ticker{display:none!important}}
.site-header{position:sticky}.top-nav{position:sticky}.fixed-footer{position:fixed}.communique-ticker{position:fixed}body{padding-bottom:92px}
.flag-real img{object-fit:contain;background:#fff}

/* Version PLUS : loader, dashboard professionnel, footer amélioré, carrousel avec légende */
.page-loader{position:fixed;inset:0;background:linear-gradient(135deg,#071d33,#0b3a66);display:grid;place-items:center;z-index:9999;transition:opacity .35s ease,visibility .35s ease}.page-loader.hidden{opacity:0;visibility:hidden}.loader-card{width:min(360px,86vw);background:rgba(255,255,255,.96);border-radius:28px;padding:28px;text-align:center;box-shadow:0 25px 80px rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.7)}.loader-logo{width:92px;height:92px;margin:0 auto 12px;border-radius:50%;border:4px solid var(--gold);display:grid;place-items:center;background:#fff;overflow:hidden;color:var(--blue);font-weight:900}.loader-logo img{width:100%;height:100%;object-fit:cover}.loader-card strong{display:block;color:var(--blue);font-size:20px;text-transform:uppercase}.loader-card small{color:var(--muted)}.loader-progress{height:10px;background:#e7edf5;border-radius:999px;overflow:hidden;margin-top:18px}.loader-progress span{display:block;height:100%;width:45%;border-radius:999px;background:linear-gradient(90deg,var(--blue),var(--gold),var(--red));animation:loaderSlide 1.2s infinite ease-in-out}@keyframes loaderSlide{0%{transform:translateX(-120%)}100%{transform:translateX(260%)}}
.pro-footer{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;gap:18px;align-items:center;background:linear-gradient(90deg,#06192d,#0b3a66);border-top:3px solid var(--gold)}.footer-brand,.footer-contact{display:flex;flex-direction:column}.footer-brand strong{text-transform:uppercase}.footer-brand small,.footer-contact small{opacity:.78}.footer-links{display:flex;gap:10px;flex-wrap:wrap}.footer-links a{background:rgba(255,255,255,.10);padding:7px 10px;border-radius:999px}.dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;background:linear-gradient(135deg,rgba(11,58,102,.98),rgba(9,35,63,.96));color:white;overflow:hidden;position:relative}.dashboard-hero:after{content:"";position:absolute;right:-60px;top:-80px;width:220px;height:220px;border-radius:50%;background:rgba(247,201,72,.18)}.dashboard-hero h1{font-size:34px;margin:4px 0;text-transform:uppercase}.dashboard-hero p{font-size:16px;opacity:.92;max-width:720px}.eyebrow{letter-spacing:.15em;text-transform:uppercase;font-weight:900;color:var(--gold)}.dashboard-seal{width:118px;height:118px;border-radius:50%;border:5px solid rgba(247,201,72,.8);background:#fff;color:var(--blue);display:grid;place-items:center;overflow:hidden;font-weight:900;flex:none}.dashboard-seal img{width:100%;height:100%;object-fit:cover}.dashboard-head.enhanced{grid-template-columns:repeat(4,1fr)}.action-dock{border-left:7px solid var(--gold);background:linear-gradient(180deg,#fff,#f9fbff)}.scope{background:#fff6da;color:#9a4f00}.anniversary-card{border-left:7px solid #0b3a66}.slide{background-repeat:no-repeat;background-color:#0b3a66}.slide-message{position:absolute;right:28px;bottom:30px;max-width:520px;background:rgba(6,25,45,.78);color:#fff;border-left:5px solid var(--gold);border-radius:18px;padding:18px 22px;z-index:3;box-shadow:0 16px 45px rgba(0,0,0,.3)}.slide-message strong{display:block;font-size:24px;margin-bottom:4px}.slide-message span{display:block;font-size:15px;line-height:1.45}.public-info-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 0 22px}.public-info-strip div{background:#fff;border-radius:18px;padding:18px;box-shadow:var(--shadow);border-top:5px solid var(--gold)}.public-info-strip strong{display:block;color:var(--blue);font-size:18px}.public-info-strip span{color:var(--muted)}.actions-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.payments-filters{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.activity-card .badge{align-self:flex-start;margin-top:10px}.activity-card small{color:var(--muted)}
@media(max-width:900px){.pro-footer{grid-template-columns:1fr;position:fixed}.dashboard-head.enhanced,.public-info-strip{grid-template-columns:1fr 1fr}.dashboard-hero{flex-direction:column;align-items:flex-start}.slide-message{left:18px;right:18px;bottom:22px}.fixed-footer{max-height:120px;overflow:auto}body{padding-bottom:150px}.communique-ticker{bottom:118px}}
@media(max-width:600px){.dashboard-head.enhanced,.public-info-strip{grid-template-columns:1fr}.dashboard-seal{width:88px;height:88px}.dashboard-hero h1{font-size:26px}.slide-message strong{font-size:20px}.slide-message{padding:14px}.pro-footer{font-size:12px}}
@media print{.page-loader{display:none!important}.pro-footer{display:none!important}}
/* Carrousel jusqu'à 8 images avec message */
.slide{animation:fadeSlides8 48s infinite;opacity:0}.slide:nth-child(1){animation-delay:0s}.slide:nth-child(2){animation-delay:6s}.slide:nth-child(3){animation-delay:12s}.slide:nth-child(4){animation-delay:18s}.slide:nth-child(5){animation-delay:24s}.slide:nth-child(6){animation-delay:30s}.slide:nth-child(7){animation-delay:36s}.slide:nth-child(8){animation-delay:42s}@keyframes fadeSlides8{0%,10%{opacity:1}12.5%,100%{opacity:0}}

/* =========================================================
   VERSION INSPIREE DU MODELE FOURNI : SIDEBAR, DASHBOARD, FOOTER
   ========================================================= */
:root{--navy:#05365b;--navy2:#062845;--navy3:#0b4f86;--soft:#f4f8fd;--line:#dfe8f4;--card:#ffffff;--text:#172033;--muted:#68778d;--blue:#0b66c3;--gold:#ffd21e;--red:#e3212e;--green:#12a56a;--shadow2:0 14px 38px rgba(5,54,91,.12)}
body.admin-layout{background:linear-gradient(90deg,#05365b 0 280px,#f4f8fd 280px);padding-bottom:0;min-height:100vh;color:var(--text)}
body.public-layout{background:#f4f8fd;padding-bottom:64px}.app-shell{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:100vh}.side-dashboard{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,#073e6a,#052844);color:#fff;padding:22px 14px;display:flex;flex-direction:column;box-shadow:12px 0 35px rgba(4,40,68,.25);z-index:40}.side-dashboard:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 10% 0%,rgba(255,210,30,.18),transparent 28%),radial-gradient(circle at 90% 15%,rgba(11,102,195,.22),transparent 35%);pointer-events:none}.side-top,.side-menu,.side-user,.logout-btn{position:relative}.menu-round{width:44px;height:44px;border:0;border-radius:14px;background:rgba(255,255,255,.15);color:#fff;font-size:22px;cursor:pointer}.side-brand{display:flex;align-items:center;gap:12px;margin:18px 0 20px}.side-logo{width:56px;height:56px;border-radius:50%;background:#fff;border:4px solid rgba(255,255,255,.65);display:grid;place-items:center;overflow:hidden;color:var(--navy);font-weight:900}.side-logo img,.footer-logo img,.dashboard-seal img{width:100%;height:100%;object-fit:cover}.side-brand strong{display:block;font-size:17px;line-height:1.18;text-transform:uppercase}.side-brand small{display:block;opacity:.78;margin-top:4px}.side-menu{display:flex;flex-direction:column;gap:8px;overflow:auto;padding-right:5px;margin-bottom:14px}.side-menu::-webkit-scrollbar{width:7px}.side-menu::-webkit-scrollbar-thumb{background:rgba(255,255,255,.35);border-radius:20px}.side-menu a{display:grid;grid-template-columns:28px 1fr 18px;align-items:center;color:#eef7ff;text-decoration:none;padding:12px 12px;border-radius:14px;font-weight:800;transition:.18s ease;background:transparent}.side-menu a:hover,.side-menu a.active{background:linear-gradient(90deg,rgba(255,255,255,.18),rgba(255,255,255,.08));box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}.side-menu a.active span:first-child{filter:drop-shadow(0 0 6px rgba(255,210,30,.6))}.side-menu b{opacity:.6}.side-user{margin-top:auto;display:flex;align-items:center;gap:10px;padding:14px 8px;border-top:1px solid rgba(255,255,255,.18)}.avatar-letter{width:45px;height:45px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:#051c31;font-weight:900;font-size:20px}.side-user strong{display:block;max-width:172px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-user small{display:block;font-size:12px;opacity:.82}.logout-btn{display:block;margin:4px 8px 2px;background:#fff;color:#ad1e27!important;text-align:center;border-radius:14px;padding:12px 10px;font-weight:900;text-decoration:none;box-shadow:0 8px 18px rgba(0,0,0,.18)}.workspace{min-width:0;display:flex;flex-direction:column}.workspace-topbar{position:sticky;top:0;z-index:30;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 30px;background:rgba(244,248,253,.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.workspace-topbar strong{display:block;color:#0b2f52;font-size:18px}.workspace-topbar small{display:block;color:var(--muted);margin-top:4px}.top-actions{display:flex;align-items:center;gap:18px}.top-actions>a{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#123;text-decoration:none;box-shadow:var(--shadow2)}.top-date{border-left:1px solid #b8c6d8;padding-left:18px;text-align:right}.top-date span{display:block;color:#59687b;font-size:12px}.top-date strong{font-size:18px;color:#0b66c3}.workspace-content{padding:24px 30px 0;max-width:1600px;width:100%;box-sizing:border-box}.dashboard-welcome{position:relative;display:flex;justify-content:space-between;align-items:center;gap:22px;background:linear-gradient(135deg,#fff,#f8fbff);border:1px solid var(--line);border-radius:26px;padding:26px 30px;box-shadow:var(--shadow2);overflow:hidden;margin-bottom:18px}.dashboard-welcome:after{content:"";position:absolute;right:-120px;bottom:-140px;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(255,210,30,.22),rgba(11,102,195,.04) 55%,transparent 70%)}.dashboard-welcome h1{font-size:32px;margin:6px 0;color:#102b4a}.dashboard-welcome p{max-width:850px;color:#536276;line-height:1.55}.eyebrow{color:#0b66c3;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.large-seal{width:118px;height:118px;border:6px solid #fff;box-shadow:0 16px 38px rgba(5,54,91,.18);z-index:1}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:18px 0}.kpi-card{display:flex;align-items:center;gap:17px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:var(--shadow2)}.kpi-icon{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;font-size:28px;color:#fff;flex:none}.kpi-icon.blue{background:#0b66c3}.kpi-icon.yellow{background:#ffd21e;color:#0a2642}.kpi-icon.red{background:#e3212e}.kpi-card small{display:block;color:#59687b;font-weight:800}.kpi-card strong{display:block;font-size:27px;color:#0a2642;margin:3px 0}.kpi-card span{font-size:12px;color:#69788b}.dashboard-panels{display:grid;grid-template-columns:minmax(360px,1.35fr) minmax(300px,1fr) minmax(300px,.95fr);gap:18px;margin:18px 0}.dashboard-panels.two-columns{grid-template-columns:1fr 1fr}.panel-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:var(--shadow2)}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.panel-head h2{font-size:19px;margin:0;color:#112c4d}.panel-head a{color:#0b66c3;text-decoration:none;font-weight:800}.chart-line-demo{height:190px;display:flex;align-items:flex-end;gap:12px;padding:18px 14px;border-radius:18px;background:linear-gradient(180deg,#f8fbff,#eef6ff);border:1px solid #e6eef8}.chart-line-demo span{flex:1;min-width:12px;border-radius:999px 999px 4px 4px;background:linear-gradient(180deg,#0b66c3,#9cc8ff);box-shadow:0 7px 18px rgba(11,102,195,.2)}.quick-actions-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.dash-list{display:grid;grid-template-columns:34px 1fr auto;align-items:start;gap:10px;border-bottom:1px solid #eef2f7;padding:11px 0}.dash-list:last-child{border-bottom:0}.dash-list>span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#eef6ff}.dash-list strong{display:block;color:#22334a}.dash-list small{display:block;color:#718095;margin-top:3px}.dot{width:8px;height:8px;background:#e3212e;border-radius:50%;margin-top:12px}.admin-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:18px 0}.admin-shortcut{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;text-decoration:none;color:#15273d;box-shadow:var(--shadow2);transition:.18s}.admin-shortcut:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(5,54,91,.16)}.admin-shortcut span{font-size:28px}.admin-shortcut strong{display:block;margin:10px 0 4px}.admin-shortcut small{color:#6a788c}.admin-shortcut.primary{background:linear-gradient(135deg,#063b68,#0b66c3);color:#fff}.admin-shortcut.primary small{color:#d9eaff}.app-footer.dashboard-style-footer{position:relative!important;display:grid;grid-template-columns:1.15fr 1.35fr 1fr 1.15fr;gap:28px;background:linear-gradient(135deg,#073e6a,#0b4f86 60%,#07345a);color:#fff;margin:30px 30px 0;border-radius:24px 24px 0 0;padding:30px 34px 58px;box-shadow:0 -12px 38px rgba(5,54,91,.16);overflow:hidden}.app-footer.dashboard-style-footer:before{content:"";position:absolute;right:-40px;top:0;width:12px;height:100%;background:linear-gradient(180deg,#0b66c3 0 45%,#ffd21e 45% 68%,#e3212e 68% 100%)}.app-footer h3{margin:0 0 12px;color:#ffd21e;font-size:20px}.app-footer p{line-height:1.55;margin:7px 0}.app-footer a{display:block;color:#eef7ff;text-decoration:none;margin:8px 0}.footer-about{display:flex;flex-direction:column;gap:12px}.footer-logo{width:70px;height:70px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#0b3a66;overflow:hidden;border:4px solid rgba(255,255,255,.55);font-weight:900}.socials{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.socials a{display:grid!important;place-items:center;width:36px;height:36px;border-radius:50%;background:#fff;color:#0b4f86!important;font-weight:900;margin:0!important}.language-card{border:1px solid rgba(255,255,255,.25);border-radius:18px;padding:14px;margin-top:12px;background:rgba(255,255,255,.08)}.language-card strong,.language-card span,.language-card small{display:block}.language-card span{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);padding:10px 12px;border-radius:999px;margin:10px 0;font-weight:900}.language-card small{opacity:.82}.footer-bottom{position:absolute;left:0;right:0;bottom:0;text-align:center;padding:12px;background:rgba(4,28,50,.55);font-size:13px}.public-header{position:sticky;top:0;z-index:20}.public-nav{position:sticky;top:82px;z-index:19}.public-content{max-width:1200px}.public-footer{max-width:1200px;margin-left:auto!important;margin-right:auto!important}.enhanced-ticker{height:32px;bottom:0!important;background:#ffd21e;color:#071d33;z-index:60}.enhanced-ticker strong{background:#0b3a66;color:#fff;padding:6px 10px;border-radius:999px}.page-loader .loader-professional{padding:30px 28px}.loader-logo-ring{width:112px;height:112px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#0b66c3,#ffd21e,#e3212e,#0b66c3);animation:spinLogo 1.4s linear infinite}.loader-logo-ring .loader-logo{margin:0;width:94px;height:94px;border:5px solid #fff}.loader-card em{display:block;color:#66758a;font-style:normal;font-size:12px;margin-top:9px}@keyframes spinLogo{to{transform:rotate(360deg)}}
body.has-watermark:before{opacity:.035!important}.main-content{position:relative}.top-nav a,.btn{transition:.18s}.badge.scope{background:#fff3c4;color:#835400}.badge.active{background:#dff8eb;color:#0a7a45}
@media(max-width:1100px){body.admin-layout{background:#f4f8fd}.app-shell{grid-template-columns:1fr}.side-dashboard{position:relative;height:auto;border-radius:0 0 24px 24px}.side-menu{max-height:260px}.workspace-topbar{top:0}.kpi-grid,.admin-action-grid{grid-template-columns:repeat(2,1fr)}.dashboard-panels,.dashboard-panels.two-columns{grid-template-columns:1fr}.app-footer.dashboard-style-footer{grid-template-columns:1fr 1fr;margin:20px 16px 0}.workspace-content{padding:18px 16px 0}}
@media(max-width:700px){.workspace-topbar{flex-direction:column;align-items:flex-start}.top-actions{width:100%;justify-content:space-between}.kpi-grid,.admin-action-grid,.app-footer.dashboard-style-footer{grid-template-columns:1fr}.dashboard-welcome{flex-direction:column;align-items:flex-start}.large-seal{width:86px;height:86px}.dashboard-welcome h1{font-size:25px}.workspace-content{padding:14px 12px 0}.app-footer.dashboard-style-footer{padding:24px 20px 62px}.public-nav{top:70px}.side-dashboard{padding:18px 10px}.side-menu a{padding:10px}}
@media print{.side-dashboard,.workspace-topbar,.app-footer,.enhanced-ticker,.page-loader{display:none!important}.app-shell{display:block}.workspace-content{padding:0}.workspace{display:block}body.admin-layout{background:#fff}}

/* Stabilite, support et experience mobile */
.menu-badge{display:grid!important;place-items:center;min-width:22px;height:22px;border-radius:999px;background:#e3212e;color:#fff;font-size:11px;font-weight:900}.top-actions sup{position:absolute;margin-left:18px;margin-top:-12px;background:#e3212e;color:#fff;border-radius:999px;font-size:10px;min-width:18px;height:18px;display:inline-grid;place-items:center}.demo-banner{background:#fff6d6;border:1px solid #ffd21e;color:#593d00;border-radius:14px;padding:11px 14px;margin-bottom:14px;font-weight:800}.demo-banner a{color:#0b66c3}.floating-help{position:fixed;right:18px;bottom:54px;z-index:90;display:flex;align-items:center;gap:7px;background:linear-gradient(135deg,#0b66c3,#073e6a);color:#fff;text-decoration:none;border-radius:999px;padding:12px 16px;box-shadow:0 16px 34px rgba(5,54,91,.28);font-weight:900}.floating-help span{font-size:13px}.lead{font-size:18px;color:#536276}.legal-card{max-width:960px}.legal-text{background:#f8fbff;border:1px solid #e4edf7;border-radius:18px;padding:16px 18px;line-height:1.75}.stability-hero .large-seal{display:grid;place-items:center;background:#fff;font-size:48px}.wide-mobile{min-width:190px}.badge.new{background:#fff0d6;color:#9a6500}.badge.in_progress{background:#dcedff;color:#0b4f86}.badge.resolved{background:#e6faef;color:#08753e}.badge.closed{background:#eef1f5;color:#536276}.badge.high{background:#ffe2e6;color:#a41122}.demo-toggle-form{margin-top:12px;display:inline-block}.mobile-table table{min-width:820px}
@media(max-width:900px){body{padding-bottom:84px}.top-nav.public-nav{display:flex;overflow-x:auto;justify-content:flex-start;gap:6px;padding:8px 10px}.top-nav.public-nav a{white-space:nowrap;padding:12px 14px}.site-header.public-header{gap:8px}.brand-block strong{font-size:16px}.brand-block span,.brand-block em{font-size:11px}.workspace-topbar{padding:14px 16px}.side-dashboard{max-height:none}.side-menu{display:grid;grid-template-columns:1fr 1fr;max-height:none;overflow:visible}.side-menu a{font-size:14px}.mobile-card,.card{border-radius:20px;padding:18px}.mobile-form label,.form label{font-size:14px}.mobile-form input,.mobile-form select,.mobile-form textarea,.form input,.form select,.form textarea{min-height:48px;font-size:16px}.btn{min-height:46px;border-radius:14px}.btn.small{min-height:36px}.wide-mobile{width:100%;margin-top:8px}.filters.mobile-filters,.filters{grid-template-columns:1fr}.floating-help{right:14px;bottom:44px;padding:12px 15px}.enhanced-ticker{font-size:12px;height:34px}.app-footer.dashboard-style-footer{border-radius:22px 22px 0 0}.list-item{flex-direction:column;gap:4px}.quick-actions-row .btn{flex:1 1 190px}}

/* V67 — coordonnées officielles centrées, communes aux formulaires et à l'application. */
.official-contact-footer{grid-column:1/-1;text-align:center;margin-top:8px;color:#fff}.official-double-line{display:grid;gap:4px;margin:2px 0 17px}.official-double-line span:first-child{height:3px;background:#22b7dd}.official-double-line span:last-child{height:2px;background:#f3c72b}.official-contact-items{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 18px;font-size:14px;line-height:1.45}.official-contact-items>a{display:inline-flex!important;align-items:center;gap:7px;overflow-wrap:anywhere;color:#fff!important;text-decoration:none!important;margin:0!important;padding:6px 9px;border-radius:12px;background:rgba(255,255,255,.07)}.official-contact-items>a:hover{background:rgba(255,255,255,.16);transform:translateY(-1px)}.official-contact-items b{width:29px;height:29px;border-radius:50%;display:inline-grid;place-items:center;background:#fff;color:#06466f;font-size:12px;flex:none}.official-contact-items strong{color:#f8ce35}.preview-format-note{text-align:center}.preview-format-note p{margin:7px auto 0;max-width:850px;color:var(--muted)}
@media(max-width:700px){.official-contact-items{display:grid;grid-template-columns:1fr;text-align:left}.official-contact-items>a{justify-content:flex-start}.official-contact-footer{margin-bottom:10px}}
@media print{.official-contact-footer{break-inside:avoid;color:#06466f;background:#fff;padding:8mm 0 2mm}.official-contact-items{font-size:9pt}.official-contact-items b{background:#06466f;color:#fff}.official-contact-items strong{color:#06466f}.official-double-line span:first-child{background:#1aafd7!important}.official-double-line span:last-child{background:#f3c72b!important}}
@media(max-width:560px){.side-menu{grid-template-columns:1fr}.kpi-card{padding:16px}.kpi-icon{width:54px;height:54px}.dashboard-panels{gap:12px}.public-header .flag-real{display:none}.logo-box{width:44px;height:44px}.hero-overlay h1{font-size:27px}.hero-overlay p{font-size:16px}.hero{height:360px}.floating-help span{display:none}.floating-help{width:52px;height:52px;justify-content:center;padding:0}.site-header.public-header{position:sticky}.public-nav{top:62px!important}}

/* Production finale : sécurité, sauvegarde, mobile renforcé */
.badge.warning{background:#fff6d7;color:#855500}.security-card{border-top:7px solid var(--blue)}.production-welcome{background:linear-gradient(135deg,#082b4d,#0b3a66 72%,#f7c948);color:#fff}.production-welcome .eyebrow,.production-welcome p{color:#fff}.production-checks .kpi-card.ok{border-top-color:#12b76a}.production-checks .kpi-card.warning{border-top-color:#c9252d}.form-shortcut{border:0;text-align:left;cursor:default}.form-shortcut button{margin-top:8px;width:max-content}.admin-shortcut.form-shortcut:hover{transform:none}.top-actions a[href*="change-password"]{background:#f7c948;color:#172033}.table-wrap table td form{margin-top:5px}.password-hint{display:block;color:var(--muted);font-size:12px;margin-top:5px}.hardening-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.hardening-strip div{background:#fff;border:1px solid #e5eaf2;border-radius:16px;padding:14px;box-shadow:0 10px 24px rgba(16,24,40,.06)}
@media(max-width:700px){.production-checks{grid-template-columns:1fr}.admin-action-grid{grid-template-columns:1fr}.dashboard-panels.two-columns{grid-template-columns:1fr}.table-wrap table{min-width:760px}.security-card{margin:8px}.form input,.form select,.form textarea{font-size:16px;min-height:46px}.btn{min-height:44px}}
@media print{.floating-help,.communique-ticker,.page-loader,.workspace-topbar,.side-nav,.sidebar,.app-footer{display:none!important}}


/* --- Améliorations Fondation finale : mobile, recherche, langues, carrousel pleine largeur --- */
.global-search-form{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid #d8e2ef;border-radius:999px;padding:4px 6px;min-width:min(360px,42vw)}
.global-search-form input{border:0;outline:0;background:transparent;padding:8px 10px;width:100%}.global-search-form button{border:0;background:#0b3a66;color:#fff;border-radius:999px;padding:8px 12px;cursor:pointer}.language-select{border:1px solid #d8e2ef;border-radius:12px;padding:8px 10px;background:#fff;color:#0b3a66;font-weight:700}.public-language{margin-left:auto}.footer-language-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.footer-language-list a{background:rgba(255,255,255,.12);padding:4px 8px;border-radius:999px;color:#fff!important}.hero-fullwidth{width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);border-radius:0;min-height:72vh}.hero-fullwidth .slides,.hero-fullwidth .slide{border-radius:0}.rotating-watermark-logo{position:absolute;right:6vw;top:18%;width:220px;height:220px;border-radius:50%;display:grid;place-items:center;z-index:2;opacity:.16;animation:fondationSpin 42s linear infinite;pointer-events:none}.rotating-watermark-logo img{max-width:100%;max-height:100%;object-fit:contain}.rotating-watermark-logo span{font-size:54px;font-weight:900;color:#fff}@keyframes fondationSpin{from{transform:rotate(0)}to{transform:rotate(360deg)}}.intelligent-help-card{background:linear-gradient(135deg,#fff,#eef6ff)}.help-question-form textarea{font-size:1.05rem}.ai-answer{margin-top:18px;border-left:5px solid #0b3a66;background:#f3f8ff;padding:16px;border-radius:12px}.search-large{display:flex;gap:10px}.search-large input{font-size:1.05rem;padding:14px}.public-info-strip,.kpi-grid,.admin-action-grid{position:relative;z-index:3}@media(max-width:780px){.global-search-form{min-width:100%;order:5}.workspace-topbar{align-items:stretch}.top-actions{flex-wrap:wrap}.language-select{width:100%}.hero-fullwidth{min-height:62vh}.rotating-watermark-logo{width:150px;height:150px;right:3vw;top:20%}.hero-overlay h1{font-size:2rem}.btn,button,.admin-shortcut{min-height:46px}.form input,.form select,.form textarea{font-size:16px}.side-dashboard{width:86vw}.workspace{margin-left:0}.app-shell{display:block}.public-nav{gap:6px}.public-nav a,.public-nav select{flex:1 1 auto;text-align:center}}


/* Fiche d'adhésion professionnelle */
.phone-composite{display:grid;grid-template-columns:minmax(180px,1.25fr) minmax(150px,1fr);gap:8px}.country-code-select{min-width:0}.photo-capture-widget{border:1px solid #d9e2ec;border-radius:16px;padding:16px;background:#f8fbff}.camera-preview{width:150px;height:185px;border:2px dashed #0b5fa5;border-radius:12px;margin:10px 0;display:flex;align-items:center;justify-content:center;background:white;overflow:hidden}.camera-preview img{width:100%;height:100%;object-fit:cover;display:none}.camera-actions{display:flex;flex-wrap:wrap;gap:8px}.file-btn{position:relative;overflow:hidden}.file-btn input{position:absolute;inset:0;opacity:0;cursor:pointer}.camera-video{width:min(100%,480px);border-radius:12px;margin-top:12px}.adhesion-paper{background:linear-gradient(180deg,#fff 0%,#f9fcff 100%);box-shadow:0 20px 50px rgba(8,54,95,.12)}@media(max-width:700px){.phone-composite{grid-template-columns:1fr}.camera-actions .btn{width:100%}}

/* =========================================================
   HARMONISATION GLOBALE DES PAGES — VERSION DESIGN V2
   Unifie les largeurs, couleurs, espacements, en-têtes et pieds.
   ========================================================= */
:root{
  --page-max:1240px;
  --page-gutter:clamp(14px,2.4vw,32px);
  --radius-xs:10px;
  --radius-sm:14px;
  --radius-md:18px;
  --radius-lg:24px;
  --line:#dfe7f1;
  --surface:#ffffff;
  --surface-soft:#f7f9fc;
  --header-gradient:linear-gradient(135deg,#062949 0%,#0b3a66 62%,#124b80 100%);
  --footer-gradient:linear-gradient(135deg,#061b30 0%,#0b3154 100%);
}
html{min-height:100%;background:#f3f6fb;scroll-behavior:smooth}
body{min-height:100vh;display:flex;flex-direction:column;overflow-x:hidden;background:var(--bg);line-height:1.5}
img,video,iframe{max-width:100%}
button,input,select,textarea{font:inherit}

/* Même structure de haut en bas sur toutes les pages publiques */
.public-layout .site-header,
.public-layout .top-nav,
.public-layout .public-content,
.public-layout .public-footer{width:100%}
.site-header.public-header{min-height:78px;padding-left:var(--page-gutter);padding-right:var(--page-gutter);background:var(--header-gradient);border-radius:0}
.site-header.public-header>*{min-width:0}
.flag-real{flex:0 0 74px;height:48px;border-radius:8px;overflow:hidden;border:2px solid rgba(255,255,255,.9);background:#fff;box-shadow:0 5px 14px rgba(0,0,0,.2)}
.flag-real img{width:100%;height:100%;display:block;object-fit:cover}
.logo-box{flex:0 0 58px}
.top-nav.public-nav{min-height:54px;padding:8px var(--page-gutter);border-radius:0;box-shadow:0 5px 16px rgba(16,24,40,.05)}
.top-nav.public-nav a{min-height:38px;display:inline-flex;align-items:center;justify-content:center}
.public-content{width:min(100%,var(--page-max));min-height:calc(100vh - 300px);padding:24px var(--page-gutter) 36px}
.public-footer{margin-top:auto}

/* Même largeur utile et mêmes alignements dans l'administration */
.app-shell{width:100%;min-height:100vh}
.workspace{min-width:0;display:flex;flex-direction:column;min-height:100vh}
.workspace-topbar{width:100%;min-height:76px;padding:12px var(--page-gutter);border-radius:0}
.workspace-content{width:100%;max-width:var(--page-max);margin:0 auto;flex:1;padding:24px var(--page-gutter) 36px}
.dashboard-style-footer{width:100%;margin-top:auto;border-radius:0}
.side-dashboard{border-radius:0}

/* Cartes, formulaires et blocs : même forme partout */
.card,.mobile-card,.legal-text,.activity-card,.hardening-strip div,.kpi-card,.admin-shortcut,.dashboard-panel,.auth-card,.adhesion-paper{
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  background:var(--surface);
  box-shadow:0 12px 32px rgba(16,24,40,.08);
}
.card,.mobile-card,.adhesion-paper{padding:clamp(18px,2vw,26px)}
.card>h1:first-child,.card>h2:first-child,.card>h3:first-child,
.mobile-card>h1:first-child,.mobile-card>h2:first-child,.mobile-card>h3:first-child{margin-top:0}
.grid,.dashboard-panels,.kpi-grid,.admin-action-grid,.activity-grid{align-items:stretch}
.grid>* ,.dashboard-panels>* ,.kpi-grid>* ,.admin-action-grid>* ,.activity-grid>*{min-width:0}

/* Titres et bandeaux de section cohérents */
h1,h2,h3{line-height:1.2}
.section-title,.form-title{color:var(--blue);margin-top:0}
.section-line{margin:24px 0 14px;padding:0 0 9px;border-bottom:2px solid var(--line);color:var(--blue);font-size:1.05rem}
.dashboard-welcome,.production-welcome{border-radius:var(--radius-lg);overflow:hidden}

/* Champs de même hauteur et largeur */
.form,.mobile-form{gap:16px}
.form label,.mobile-form label{display:block;margin:0;color:#26364a}
.form input,.form select,.form textarea,
.mobile-form input,.mobile-form select,.mobile-form textarea,
.filters input,.filters select,.global-search-form input{
  width:100%;border:1px solid #cbd7e6;border-radius:var(--radius-sm);background:#fff;color:var(--ink);outline:none;transition:border-color .18s,box-shadow .18s,background .18s;
}
.form input,.form select,.mobile-form input,.mobile-form select{min-height:46px}
.form textarea,.mobile-form textarea{min-height:112px;resize:vertical}
.form input:focus,.form select:focus,.form textarea:focus,
.mobile-form input:focus,.mobile-form select:focus,.mobile-form textarea:focus,
.filters input:focus,.filters select:focus{border-color:#3b82c4;box-shadow:0 0 0 4px rgba(11,95,165,.12)}

/* Boutons et badges uniformisés */
.btn{min-height:42px;border-radius:var(--radius-sm);padding:10px 16px;line-height:1.2;box-shadow:none}
.btn:hover{transform:translateY(-1px);filter:brightness(.98)}
.btn.primary{background:var(--gold);color:#172033}
.btn.light,.light-btn{background:#fff;color:var(--blue);border:1px solid #cfd8e5}
.badge{line-height:1.25}

/* Tableaux toujours contenus dans leur carte */
.table-wrap,.mobile-table{width:100%;overflow:auto;border:1px solid var(--line);border-radius:var(--radius-md);background:#fff}
.table-wrap table,.mobile-table table{margin:0;border:0}
th{background:#edf4fb;color:var(--blue);white-space:nowrap}
tbody tr:last-child td{border-bottom:0}

/* Pied de page : même largeur, même fond et colonnes régulières */
.app-footer.dashboard-style-footer{position:relative;display:grid;grid-template-columns:1.15fr repeat(3,minmax(0,1fr));gap:26px;padding:34px var(--page-gutter) 74px;background:var(--footer-gradient);color:#fff;border-top:4px solid var(--gold);box-shadow:none}
.app-footer.dashboard-style-footer>div{min-width:0}
.app-footer.dashboard-style-footer h3{margin:0 0 12px;color:#fff}
.app-footer.dashboard-style-footer p{margin:7px 0;color:rgba(255,255,255,.84);overflow-wrap:anywhere}
.app-footer.dashboard-style-footer a{display:block;color:rgba(255,255,255,.9);text-decoration:none;margin:7px 0;overflow-wrap:anywhere}
.app-footer.dashboard-style-footer a:hover{color:#fff;text-decoration:underline}
.footer-about{align-self:start}
.footer-logo{background:#fff}
.footer-bottom{grid-column:1/-1;margin-top:4px;padding-top:18px;border-top:1px solid rgba(255,255,255,.18);text-align:center;color:rgba(255,255,255,.75)}
.socials{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.socials a{display:grid!important;place-items:center;width:34px;height:34px;margin:0!important;border-radius:50%;background:rgba(255,255,255,.12)}
.language-card{margin-top:14px}

/* La fiche d'adhésion reste centrée et équilibrée */
.adhesion-paper{width:100%;max-width:1040px;margin-left:auto;margin-right:auto}
.paper-head{grid-template-columns:minmax(0,1fr) 90px 104px;align-items:center}
.photo-preview,.camera-preview{background:#fff}
.phone-composite{align-items:end}
.checkbox-grid{border-radius:var(--radius-md)}

/* Éviter les couleurs qui débordent différemment d'une page à l'autre */
.main-content>.card:first-child,.workspace-content>.card:first-child{margin-top:0}
.main-content>:last-child,.workspace-content>:last-child{margin-bottom:0}
.hero-fullwidth{max-width:none}
.flash-zone,.demo-banner{width:100%;max-width:var(--page-max);margin-left:auto;margin-right:auto}

@media(max-width:1100px){
  .app-footer.dashboard-style-footer{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-bottom{grid-column:1/-1}
}
@media(max-width:780px){
  body{padding-bottom:70px}
  .site-header.public-header{min-height:66px;padding:8px 12px}
  .flag-real{flex-basis:54px;height:38px}
  .brand-block{text-align:left}
  .brand-block strong{font-size:15px}
  .logo-box{flex-basis:46px;width:46px;height:46px}
  .top-nav.public-nav{top:66px;padding:7px 10px}
  .public-content,.workspace-content{padding:16px 12px 28px}
  .workspace-topbar{padding:12px}
  .card,.mobile-card,.adhesion-paper{padding:17px;border-radius:20px}
  .paper-head{grid-template-columns:1fr;text-align:center}
  .paper-head .paper-logo,.paper-head .photo-preview{margin:0 auto}
  .app-footer.dashboard-style-footer{grid-template-columns:1fr;padding:28px 18px 72px}
  .footer-bottom{grid-column:1}
}
@media(max-width:520px){
  .brand-block span,.brand-block em{display:none}
  .site-header.public-header{gap:9px}
  .top-nav.public-nav a{padding:10px 12px}
  .section-title{font-size:24px}
  .checkbox-grid{grid-template-columns:1fr}
}
@media print{
  html,body{display:block;background:#fff!important;padding:0!important}
  .public-content,.workspace-content,.main-content{width:100%;max-width:none;padding:0!important;margin:0!important}
  .card,.adhesion-paper{border:0;box-shadow:none;border-radius:0;margin:0;padding:0}
}

/* ===== FOBAK Identité visuelle V3 ===== */
:root{
  --fobak-blue:#175f9d;
  --fobak-cyan:#1fb4ef;
  --fobak-yellow:#f3d51c;
  --fobak-red:#ec2e39;
  --fobak-green:#1a8a52;
  --page-gutter:clamp(14px,2.2vw,30px);
  --line:#d7e4f1;
  --navy:#0f3f69;
  --header-gradient:linear-gradient(135deg,#0d4f87 0%, #1176b8 55%, #18afe2 100%);
  --footer-gradient:linear-gradient(135deg,#0a2f4f 0%, #0f4f83 55%, #136ea9 100%);
  --soft-brand:linear-gradient(180deg,#f7fbff 0%, #eef7fd 100%);
  --shadow2:0 12px 30px rgba(15, 63, 105, .10);
}

body.public-layout,
body.admin-layout{background:linear-gradient(180deg,#f7fbff 0%,#edf5fb 100%)}

.site-header.public-header,
.side-dashboard,
.app-footer.dashboard-style-footer,
.enhanced-ticker strong,
.global-search-form button,
.ai-answer{background-image:none}

.site-header.public-header{
  background:var(--header-gradient)!important;
  border-bottom:3px solid rgba(243,213,28,.85);
  box-shadow:0 10px 28px rgba(15,63,105,.18);
}

.public-nav{
  background:#ffffff!important;
  border-bottom:1px solid var(--line);
}
.top-nav.public-nav a,
.top-nav.public-nav select,
.side-menu a,
.btn,
.tabs a{transition:all .18s ease}
.top-nav.public-nav a:hover,
.top-nav.public-nav a.active{
  background:rgba(31,180,239,.10);
  color:var(--fobak-blue);
}
.top-nav.public-nav a{
  color:#0f4979;
  font-weight:800;
}

.logo-box,
.side-logo,
.footer-logo,
.loader-logo{
  background:transparent!important;
  border:none!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible!important;
}
.logo-box{
  width:170px;
  height:58px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}
.logo-box img,
.side-logo img,
.footer-logo img,
.loader-logo img,
.paper-logo img{
  width:100%;
  height:100%;
  object-fit:contain!important;
  display:block;
}
.side-brand{align-items:center}
.side-logo{
  width:124px;
  height:48px;
  flex:none;
}
.side-brand strong{font-size:15px;letter-spacing:.04em}
.side-brand small{opacity:.92}
.footer-logo{
  width:190px;
  height:60px;
  display:flex;
  align-items:center;
}
.loader-logo{width:86px!important;height:86px!important}
.loader-logo-ring{
  background:conic-gradient(var(--fobak-blue),var(--fobak-cyan),var(--fobak-yellow),var(--fobak-green),var(--fobak-red),var(--fobak-blue))!important;
}

.brand-block strong{font-size:28px;letter-spacing:.03em}
.brand-block span{font-size:13px;font-weight:700}
.brand-block em{font-size:12px;opacity:.98;letter-spacing:.1em;text-transform:uppercase}

.contact-ribbon{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  padding:10px var(--page-gutter);
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,#ffffff 0%, #f4f9fe 100%);
}
.public-contact-ribbon{position:sticky;top:136px;z-index:18}
.admin-contact-ribbon{padding-top:0;padding-bottom:14px;background:transparent;border-bottom:0}
.contact-chip{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:40px;
  padding:9px 14px;
  border:1px solid #d8e7f4;
  border-radius:999px;
  background:#fff;
  box-shadow:var(--shadow2);
  color:#20425f;
  max-width:100%;
}
.contact-chip span{font-size:17px}
.contact-chip strong{color:var(--fobak-blue)}

.workspace-topbar{
  background:rgba(255,255,255,.88)!important;
  border-bottom:1px solid var(--line)!important;
  box-shadow:0 10px 24px rgba(15,63,105,.06);
}
.top-actions>a:hover{transform:translateY(-1px);background:#f0f8ff;color:var(--fobak-blue)}
.global-search-form{border:1px solid #cde0ef;box-shadow:var(--shadow2)}
.global-search-form button{background:linear-gradient(135deg,var(--fobak-blue),var(--fobak-cyan));}
.language-select{color:var(--fobak-blue)}

.card,
.panel-card,
.kpi-card,
.dashboard-welcome,
.mobile-card,
.auth-card,
.activity-card,
.stat,
.table-wrap,
table{
  border:1px solid #dde9f4;
  box-shadow:var(--shadow2)!important;
}
.card,
.panel-card,
.dashboard-welcome,
.kpi-card,
.activity-card,
.auth-card{background:var(--soft-brand)}
.section-title,
.panel-head h2,
.activity-card h3,
.workspace-topbar strong,
.dashboard-welcome h1,
.side-user strong,
.table-wrap th,
th,
.form label,
.list-item strong,
.paper-head h2,
.section-line{color:var(--fobak-blue)!important}

.btn.primary{
  background:linear-gradient(135deg,var(--fobak-yellow),#f7e866)!important;
  color:#163554!important;
}
.btn.light,
.btn{
  background:linear-gradient(135deg,#ffffff,#f2f8fd);
  color:var(--fobak-blue);
  border:1px solid #d8e7f4;
}
.btn:hover,
.tabs a:hover{transform:translateY(-1px)}
.tabs a.active{background:linear-gradient(135deg,var(--fobak-blue),var(--fobak-cyan));color:#fff}
.logout-btn{color:#fff!important;background:linear-gradient(135deg,var(--fobak-red),#c61f29)!important}
.avatar-letter{background:linear-gradient(135deg,var(--fobak-yellow),#ffe65a)!important;color:#17324f!important}
.badge.active{background:#e8fbf0;color:var(--fobak-green)}
.badge.inactive{background:#fff6d6;color:#8a6000}
.badge.archived{background:#ffe8ea;color:#b31625}

.side-dashboard{
  background:linear-gradient(180deg,#0f4f83 0%, #0b3f69 55%, #082c48 100%)!important;
}
.side-dashboard:before{
  background:
    radial-gradient(circle at 10% 0%,rgba(243,213,28,.20),transparent 28%),
    radial-gradient(circle at 88% 10%,rgba(31,180,239,.16),transparent 34%),
    radial-gradient(circle at 80% 70%,rgba(236,46,57,.10),transparent 25%);
}
.side-menu a:hover,
.side-menu a.active{
  background:linear-gradient(90deg,rgba(31,180,239,.24),rgba(243,213,28,.14))!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);
}
.menu-badge,
.top-actions sup{background:var(--fobak-red)!important}

.table-wrap table,
.printable table{border-radius:16px;overflow:hidden}
th{background:linear-gradient(180deg,#edf7ff,#e5f2fd)!important}
tr:nth-child(even) td{background:rgba(31,180,239,.03)}

.app-footer.dashboard-style-footer{
  background:var(--footer-gradient)!important;
  border-top:4px solid var(--fobak-yellow)!important;
}
.app-footer.dashboard-style-footer:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top right,rgba(31,180,239,.18),transparent 30%),
    radial-gradient(circle at left center,rgba(243,213,28,.10),transparent 24%);
  pointer-events:none;
}
.footer-about,
.app-footer.dashboard-style-footer > div{position:relative;z-index:1}
.footer-about p{line-height:1.65}
.socials a{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:50%;
  background:rgba(255,255,255,.14);
  margin-right:6px!important;
}

.official-form-head,
.adhesion-paper{background:#fff}
.adhesion-paper{
  border:1px solid #d7e4ef;
  box-shadow:0 18px 36px rgba(15,63,105,.08);
}
.paper-head{
  border-bottom:2px solid #d6e5f4;
}
.photo-preview{
  border:2px solid var(--fobak-blue);
  background:linear-gradient(180deg,#fff,#f7fbff);
}
.declaration{
  border-left:5px solid var(--fobak-yellow)!important;
  background:linear-gradient(180deg,#fffefa,#fff)!important;
}

.flag-real,
.paper-flag img{
  border:1px solid rgba(255,255,255,.55);
}

@media(max-width:1100px){
  .public-contact-ribbon{top:124px}
  .logo-box{width:140px;height:50px}
}
@media(max-width:900px){
  .contact-ribbon{gap:8px;padding:8px 12px}
  .contact-chip{width:100%;border-radius:14px;justify-content:flex-start}
  .public-contact-ribbon{position:relative;top:0}
  .admin-contact-ribbon{padding:6px 12px 10px}
  .side-logo{width:108px;height:42px}
  .footer-logo{width:160px;height:52px}
}
@media(max-width:560px){
  .logo-box{width:120px;height:42px}
  .brand-block strong{font-size:17px}
  .brand-block span,.brand-block em{font-size:10px}
}
@media print{
  .contact-ribbon{display:none!important}
  .logo-box,.side-logo,.footer-logo,.loader-logo{background:none!important}
}

/* ===== FOBAK V4 : formulaires, tableaux, accueil et impressions ===== */
.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin:0 0 18px;padding:22px 24px;border:1px solid #d9e8f4;border-left:6px solid var(--fobak-cyan);border-radius:22px;background:linear-gradient(135deg,#fff,#f0f8fe);box-shadow:var(--shadow2)}
.page-heading h1,.page-heading h2{margin:0;color:var(--fobak-blue);line-height:1.15}.page-heading p{margin:8px 0 0;color:#60758a;line-height:1.55}.page-heading-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.form.grid.two{gap:18px 20px}.form .section-line{position:relative;margin:18px 0 2px;padding:13px 16px;border:1px solid #d5e7f4;border-left:5px solid var(--fobak-cyan);border-radius:14px;background:linear-gradient(90deg,#edf8ff,#fff);font-size:19px;text-decoration:none}.form label{display:block}.form input,.form select,.form textarea,.filters input,.filters select{border:1px solid #c9dbea;background:#fff;box-shadow:inset 0 1px 2px rgba(15,63,105,.03)}.form input:focus,.form select:focus,.form textarea:focus,.filters input:focus,.filters select:focus{outline:0;border-color:var(--fobak-cyan);box-shadow:0 0 0 4px rgba(31,180,239,.13)}
.form small,.field-help{display:block;color:#6c7f91;margin-top:6px;line-height:1.4}.phone-composite{display:grid;grid-template-columns:minmax(190px,.9fr) minmax(180px,1.1fr);gap:9px}.camera-preview{width:150px;height:180px;border:2px dashed #91b8d5;border-radius:16px;background:linear-gradient(180deg,#fff,#eef8ff);display:grid;place-items:center;overflow:hidden;color:#66839a;font-weight:900}.camera-preview img{width:100%;height:100%;object-fit:cover;display:none}.camera-preview img[src]:not([src=""]){display:block}.camera-preview img[src]:not([src=""])+span{display:none}.photo-capture-widget{padding:18px;border:1px solid #d7e7f3;border-radius:18px;background:#f8fcff}.camera-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.file-btn input{display:none}.camera-video{width:min(100%,460px);border-radius:16px;background:#102f49;margin:10px 0}.checkbox-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;background:#f7fbfe!important;border-color:#d7e7f3!important}.checkbox-grid label{padding:8px 10px;border-radius:10px;background:#fff;border:1px solid #e1edf6}
.filters{padding:14px;border:1px solid #d9e7f2;border-radius:18px;background:#f8fbfe;align-items:end}.table-wrap{border-radius:18px!important;overflow:auto;background:#fff}.table-wrap table{min-width:860px}.table-wrap th{position:sticky;top:0;z-index:2;white-space:nowrap}.table-wrap td{vertical-align:middle}.actions-cell .btn{margin:2px}.list-item:hover{background:#f4f9fd}.empty-state{padding:30px;text-align:center;color:#6b7d90}.empty-state strong{display:block;color:var(--fobak-blue);font-size:20px;margin-bottom:6px}
.home-intro{display:grid;grid-template-columns:1.15fr .85fr;gap:20px;margin:24px 0}.home-intro-card{padding:26px;border-radius:24px;border:1px solid #d9e8f4;background:linear-gradient(135deg,#fff,#eff9ff);box-shadow:var(--shadow2)}.home-intro-card h2{margin-top:0;color:var(--fobak-blue)}.home-contact-card{background:linear-gradient(135deg,#0f5f99,#18aee0);color:#fff}.home-contact-card h2{color:#fff}.home-contact-list{display:grid;gap:13px;margin-top:16px}.home-contact-list div{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start;padding:12px;border-radius:14px;background:rgba(255,255,255,.12)}.home-contact-list strong{display:block}.home-contact-list span{opacity:.9;overflow-wrap:anywhere}.public-info-strip>div{border-top:4px solid var(--fobak-cyan)}.public-info-strip>div:nth-child(2){border-top-color:var(--fobak-yellow)}.public-info-strip>div:nth-child(3){border-top-color:var(--fobak-green)}.public-info-strip>div:nth-child(4){border-top-color:var(--fobak-red)}
.print-brand-logo{object-fit:contain!important;background:transparent!important;border:0!important}.print-contact-line{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;color:#294a65;font-size:11px}.print-footer-note{margin-top:14px;padding-top:8px;border-top:1px solid #9db7ca;text-align:center;font-size:11px;color:#354f63}
@media(max-width:800px){.page-heading{flex-direction:column;padding:18px}.page-heading-actions{justify-content:flex-start}.phone-composite{grid-template-columns:1fr}.home-intro{grid-template-columns:1fr}.form.grid.two{grid-template-columns:1fr}.camera-preview{width:130px;height:156px}.filters{padding:10px}}
@media print{.page-heading,.camera-actions,.photo-capture-widget small{box-shadow:none!important}.adhesion-paper{box-shadow:none!important;border:0!important}.form input,.form select,.form textarea{border-bottom:1px solid #333!important;border-radius:0!important;box-shadow:none!important}.print-brand-logo{object-fit:contain!important}}

/* FOBAK V5 — outils universels des listes et état de connexion */
.list-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap}.list-actions{display:flex;gap:9px;flex-wrap:wrap}.universal-filters{grid-template-columns:2fr repeat(3,1fr) auto auto!important;align-items:end}.universal-table-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:12px 0;padding:11px;border:1px solid #d8e7f4;border-radius:16px;background:#f7fbff}.universal-table-tools input{flex:1 1 260px;min-height:42px;padding:10px 13px;border:1px solid #cbddeb;border-radius:12px;background:#fff}.visible-row-count{font-weight:800;color:#175f9d;white-space:nowrap}.badge.online{background:#e7f9ef;color:#08753e;display:inline-flex;align-items:center;gap:6px}.badge.online i{width:8px;height:8px;border-radius:50%;background:#18a957;box-shadow:0 0 0 4px rgba(24,169,87,.12)}.badge.offline{background:#edf1f5;color:#59687b}.print-list-page{padding:10mm;font-family:Arial,sans-serif}.print-list-head{display:flex;align-items:center;gap:20px;border-bottom:3px solid #f3d51c;padding-bottom:12px;margin-bottom:16px}.print-list-logo{width:180px;height:64px}.print-list-logo img{width:100%;height:100%;object-fit:contain}.print-list-head h1{margin:0;color:#175f9d}.print-list-page table{width:100%;border-collapse:collapse;font-size:10px}.print-list-page th,.print-list-page td{border:1px solid #cddbe8;padding:6px}.print-list-page th{background:#eaf5fc}.print-list-page footer{text-align:center;margin-top:16px;color:#59687b}@media(max-width:900px){.universal-filters{grid-template-columns:1fr!important}.list-page-head{display:block}.list-actions{margin-top:10px}.universal-table-tools .btn{flex:1 1 160px}}@media print{.no-print,.universal-table-tools,.universal-filters,.list-actions{display:none!important}}

/* ===== FOBAK V6 - CORRECTIONS FINALES D'ALIGNEMENT ===== */
.contact-ribbon{display:none!important}
body{overflow-x:hidden}
.site-header.public-header{display:grid!important;grid-template-columns:190px 1fr 92px;align-items:center;gap:20px;padding:10px clamp(16px,3vw,38px)!important;min-height:92px!important}
.site-header.public-header .logo-box{width:190px!important;height:62px!important;justify-content:flex-start!important}
.site-header.public-header .logo-box img{max-width:100%;max-height:100%;object-fit:contain!important;object-position:left center}
.site-header.public-header .flag-real{justify-self:end;width:82px;height:54px}
.site-header.public-header .brand-block{text-align:center}
.site-header.public-header .brand-block strong{font-size:25px;line-height:1.1}
.site-header.public-header .brand-block span{margin-top:4px}
.top-nav.public-nav{top:92px!important;align-items:center;justify-content:center;flex-wrap:wrap}
.public-content{padding-top:22px!important}
.side-logo{width:150px!important;height:54px!important}
.side-logo img{object-position:left center}
.side-brand>div:last-child{min-width:0}
.side-brand strong{white-space:normal!important}
.workspace-topbar{min-height:88px;align-items:center}
.workspace-topbar>div:first-child{min-width:190px}
.workspace-content{padding-top:22px!important}

.hero-fullwidth{width:100%!important;margin:0!important;min-height:430px!important;height:430px!important;border-radius:26px!important}
.hero-fullwidth .slides,.hero-fullwidth .slide{border-radius:26px!important}
.brand-fallback{opacity:1!important;background:linear-gradient(135deg,#0b3f69 0%,#126aa8 52%,#1fb4ef 100%)!important}
.brand-fallback:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 82% 22%,rgba(243,213,28,.22),transparent 25%),radial-gradient(circle at 18% 80%,rgba(26,138,82,.14),transparent 28%)}
.fallback-brand-logo{position:absolute;right:7%;top:50%;transform:translateY(-50%);width:min(400px,38vw);height:180px;display:flex;align-items:center;justify-content:center;opacity:.23}
.fallback-brand-logo img{width:100%;height:100%;object-fit:contain}
.hero:before{background:linear-gradient(90deg,rgba(5,29,50,.86),rgba(5,29,50,.46),rgba(5,29,50,.20))!important}
.hero-overlay{padding:80px 44px!important;max-width:700px}
.hero-overlay h1{font-size:44px!important}
.rotating-watermark-logo{display:none!important}

.app-footer.dashboard-style-footer{width:100%!important;max-width:none!important;margin:24px 0 0!important;border-radius:0!important}
.public-footer{max-width:none!important}
.footer-logo{width:210px!important;height:66px!important;background:transparent!important}
.footer-logo img{object-fit:contain!important;object-position:left center}
.footer-about{max-width:310px}
.footer-bottom{left:0!important;right:0!important}

.paper-logo{width:150px!important;height:52px!important;border:0!important;border-radius:0!important;background:transparent!important}
.paper-logo img{object-fit:contain!important}
.official-form-head{grid-template-columns:150px 1fr 150px 105px!important;gap:16px!important;align-items:center!important}
.paper-flag img{width:120px!important;height:72px!important}
.photo-preview{width:88px!important;height:108px!important;border-radius:4px!important}
.adhesion-paper{max-width:1050px;margin-left:auto;margin-right:auto}

@media(max-width:900px){
  .site-header.public-header{grid-template-columns:130px 1fr 64px;gap:10px;min-height:78px!important;padding:8px 12px!important}
  .site-header.public-header .logo-box{width:130px!important;height:48px!important}
  .site-header.public-header .flag-real{width:58px;height:40px}
  .site-header.public-header .brand-block strong{font-size:18px}
  .site-header.public-header .brand-block span,.site-header.public-header .brand-block em{font-size:10px}
  .top-nav.public-nav{top:78px!important;justify-content:flex-start;flex-wrap:nowrap}
  .hero-fullwidth{height:390px!important;min-height:390px!important;border-radius:18px!important}
  .hero-fullwidth .slides,.hero-fullwidth .slide{border-radius:18px!important}
  .hero-overlay{padding:62px 24px!important}
  .hero-overlay h1{font-size:34px!important}
  .fallback-brand-logo{width:44vw;height:130px;right:3%}
  .official-form-head{grid-template-columns:1fr!important;text-align:center}
  .paper-logo,.photo-preview,.paper-flag img{margin-left:auto!important;margin-right:auto!important}
}
@media(max-width:560px){
  .site-header.public-header{grid-template-columns:105px 1fr;min-height:70px!important}
  .site-header.public-header .logo-box{width:105px!important;height:42px!important}
  .site-header.public-header .flag-real{display:none!important}
  .site-header.public-header .brand-block strong{font-size:15px}
  .top-nav.public-nav{top:70px!important}
  .hero-fullwidth{height:350px!important;min-height:350px!important}
  .hero-overlay h1{font-size:28px!important}
  .fallback-brand-logo{display:none}
}

/* ===== Corrections logo FOBAK V7 ===== */
:root{--fobak-logo-width:240px;--fobak-logo-height:76px}
.logo-box,
.side-logo,
.footer-logo,
.loader-logo,
.paper-logo,
.print-logo,
.print-list-logo,
.fallback-brand-logo{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  overflow:visible!important;
}
.logo-box{width:var(--fobak-logo-width)!important;height:var(--fobak-logo-height)!important;display:flex;align-items:center;justify-content:flex-start}
.side-logo{width:170px!important;height:58px!important;display:flex;align-items:center;justify-content:flex-start}
.footer-logo{width:240px!important;height:76px!important}
.loader-logo{width:104px!important;height:56px!important}
.paper-logo{width:180px!important;height:62px!important;display:flex;align-items:center;justify-content:flex-start}
.paper-head .paper-logo img,
.logo-box img,
.side-logo img,
.footer-logo img,
.loader-logo img,
.paper-logo img,
.print-logo img,
.print-list-logo img,
.fallback-brand-logo img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:left center!important;
  display:block;
}
.official-form-head{grid-template-columns:180px minmax(280px,1fr) 120px 100px!important}
.paper-flag{display:flex;align-items:center;justify-content:center}
.print-head{grid-template-columns:170px 1fr 120px!important}
.print-list-head{grid-template-columns:180px 1fr 120px!important}
.head{grid-template-columns:170px 1fr 120px!important}
.site-header.public-header{display:grid;grid-template-columns:var(--fobak-logo-width) 1fr 120px;align-items:center;gap:16px}
.brand-block{text-align:center}
.flag-real{justify-self:end}
.fallback-brand-logo{width:300px;height:95px;max-width:62vw}
@media(max-width:900px){
  .site-header.public-header{grid-template-columns:150px 1fr 78px!important;gap:10px}
  .logo-box{width:150px!important;height:52px!important}
  .side-logo{width:138px!important;height:50px!important}
  .footer-logo{width:180px!important;height:58px!important}
  .paper-logo{width:150px!important;height:54px!important}
  .official-form-head{grid-template-columns:1fr!important}
  .brand-block{text-align:left}
}
@media(max-width:560px){
  .site-header.public-header{grid-template-columns:1fr!important}
  .logo-box,.flag-real{justify-self:start}
  .brand-block{text-align:left}
}

body.has-watermark:before{display:none!important}


/* ===== Ajustement entête formulaire adhésion V10 ===== */
.form-top-heading{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:14px;
  padding:24px 28px;
}
.form-top-heading .heading-logo-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
}
.heading-form-logo{
  width:min(340px, 70vw);
  max-height:110px;
  object-fit:contain;
  object-position:center;
  display:block;
}
.form-top-heading .heading-copy{
  max-width:820px;
  margin:0 auto;
}
.form-top-heading h1{
  margin:0;
  font-size:clamp(30px, 3vw, 40px);
  line-height:1.15;
  text-align:center;
  color:var(--fobak-blue);
}
.form-top-heading p{
  margin:10px auto 0;
  text-align:center;
  max-width:760px;
  font-size:17px;
  color:#52687d;
}
@media (max-width:800px){
  .form-top-heading{padding:18px 16px;gap:10px}
  .heading-form-logo{width:min(260px, 78vw);max-height:82px}
  .form-top-heading p{font-size:15px}
}

/* ===== Nettoyage formulaire, recherche latérale et caméra V11 ===== */
.side-menu-search{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:24px minmax(0,1fr) 28px;
  align-items:center;
  gap:6px;
  margin:0 4px 14px;
  padding:7px 8px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:14px;
  background:rgba(255,255,255,.10);
  backdrop-filter:blur(6px);
}
.side-menu-search span{display:grid;place-items:center;font-size:14px}
.side-menu-search input{
  min-width:0;
  width:100%;
  border:0;
  outline:0;
  padding:7px 2px;
  background:transparent;
  color:#fff;
  font:inherit;
  font-size:13px;
}
.side-menu-search input::placeholder{color:rgba(255,255,255,.72)}
.side-menu-search button{
  width:27px;
  height:27px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.14);
  color:#fff;
  cursor:pointer;
  font-size:18px;
  line-height:1;
}
.side-menu-search button:hover{background:rgba(255,255,255,.25)}
.side-menu-search-empty{position:relative;z-index:2;display:block;margin:-5px 9px 12px;color:#ffe98a;font-size:12px}
.side-menu a[hidden]{display:none!important}

.adhesion-paper{
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
  padding:clamp(18px,3vw,32px)!important;
  border-radius:24px!important;
}
.adhesion-paper .form-title{
  margin:20px 0 4px;
  color:#123f68;
  font-size:clamp(28px,3vw,38px);
  text-decoration:none;
}
.adhesion-paper .form-title:after{
  content:"";
  display:block;
  width:94px;
  height:4px;
  margin:10px auto 0;
  border-radius:999px;
  background:linear-gradient(90deg,var(--fobak-blue),var(--fobak-cyan),var(--fobak-yellow));
}
.adhesion-paper .section-line{
  display:flex;
  align-items:center;
  gap:12px;
  margin:28px 0 6px;
  padding:12px 16px;
  border:0;
  border-left:5px solid var(--fobak-cyan);
  border-radius:12px;
  background:linear-gradient(90deg,#eef8ff,#f8fcff);
  font-size:19px;
}
.adhesion-paper .form.grid.two{gap:18px 20px}
.adhesion-paper .form label{display:block;color:#183b5a}
.adhesion-paper .form input,
.adhesion-paper .form select,
.adhesion-paper .form textarea{
  border:1px solid #cbddec;
  background:#fff;
  box-shadow:0 3px 10px rgba(15,63,105,.035);
}
.adhesion-paper .form input:focus,
.adhesion-paper .form select:focus,
.adhesion-paper .form textarea:focus{
  outline:0;
  border-color:var(--fobak-cyan);
  box-shadow:0 0 0 4px rgba(31,180,239,.13);
}
.photo-capture-widget{
  display:grid;
  grid-template-columns:160px minmax(0,1fr);
  gap:16px 22px;
  align-items:start;
  padding:18px;
  border:1px dashed #a9c8df;
  border-radius:18px;
  background:linear-gradient(135deg,#f9fcff,#eef8ff);
}
.photo-capture-widget>label{grid-column:1/-1;margin:0;font-size:16px}
.camera-preview{
  grid-column:1;
  grid-row:2 / span 4;
  width:150px;
  height:190px;
  border:2px solid #5f86a5;
  border-radius:16px;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:#fff;
}
.camera-preview img{width:100%;height:100%;object-fit:cover;display:none}
.camera-actions{grid-column:2;display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.camera-video{grid-column:2;width:min(100%,520px);max-height:360px;border-radius:16px;background:#102b43;object-fit:cover}
.take-snapshot{grid-column:2;width:max-content}
.camera-status{
  grid-column:2;
  min-height:22px;
  padding:8px 10px;
  border-radius:10px;
  color:#52687d;
  font-size:13px;
}
.camera-status.success{background:#e9f9ef;color:#08753e}
.camera-status.error{background:#fff0f1;color:#a31624}
.camera-status.info{background:#eef7ff;color:#145985}
.photo-capture-widget>small{grid-column:2;color:#60758a}
.file-btn input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}

@media(max-width:800px){
  .photo-capture-widget{grid-template-columns:1fr}
  .photo-capture-widget>label,.camera-preview,.camera-actions,.camera-video,.take-snapshot,.camera-status,.photo-capture-widget>small{grid-column:1;grid-row:auto}
  .camera-preview{margin:0 auto;width:150px;height:190px}
  .camera-actions{justify-content:center}
  .take-snapshot{width:100%}
}

/* Module cartes PVC V12 */
.card-actions-cell{min-width:230px}.card-actions-cell .btn,.card-actions-cell form{margin:3px 2px;display:inline-flex}.card-actions-cell form.inline{display:inline-block}.card-expired{background:#ffe8ea;color:#a41122}.card-soon{background:#fff6d6;color:#855500}

/* ===== Révision internationale et cohérence générale V13 ===== */
:root{--public-max:1280px;--public-gap:14px}
body.public-layout{background:#eef4fa;padding:14px 0 64px!important}
body.public-layout>.site-header,
body.public-layout>.top-nav,
body.public-layout>.main-content,
body.public-layout>.app-footer{
  width:min(calc(100% - 28px),var(--public-max))!important;
  max-width:var(--public-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.site-header.public-header{position:sticky;top:0;border-radius:18px 18px 0 0!important;overflow:hidden}
.top-nav.public-nav{top:92px;border-radius:0 0 16px 16px!important}
.public-content{padding:22px 0 34px!important;min-height:520px!important}
.public-footer{border-radius:22px 22px 0 0!important;margin-top:26px!important}

/* Toujours garder le vrai logo horizontal, jamais dans un rond. */
.logo-box,.side-logo,.footer-logo,.loader-logo,.dashboard-seal.logo-seal,
.dashboard-seal:has(img),.large-seal:has(img){
  border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;overflow:visible!important;
}
.logo-box img,.side-logo img,.footer-logo img,.loader-logo img,
.dashboard-seal img,.large-seal img{
  object-fit:contain!important;object-position:center!important;width:100%!important;height:100%!important;
}
.site-header.public-header .logo-box{width:230px!important;height:70px!important}
.side-logo{width:190px!important;height:60px!important}
.footer-logo{width:230px!important;height:72px!important}
.loader-logo-ring{width:180px!important;height:86px!important;border-radius:18px!important;background:#fff!important;animation:none!important;padding:10px!important}
.loader-logo-ring .loader-logo{width:100%!important;height:100%!important;border:0!important}
.dashboard-seal:has(img),.large-seal:has(img){width:240px!important;height:84px!important;flex:none!important}

.welcome-hero{
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:28px;align-items:center;
  min-height:420px;padding:clamp(30px,5vw,64px);border-radius:28px;
  background:linear-gradient(135deg,#073c69 0%,#0e68a8 58%,#24b9e7 100%);
  color:#fff;box-shadow:0 22px 55px rgba(8,58,99,.20);overflow:hidden;position:relative;
}
.welcome-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 88% 18%,rgba(255,216,30,.20),transparent 24%),radial-gradient(circle at 10% 100%,rgba(255,255,255,.12),transparent 34%);pointer-events:none}
.welcome-copy,.welcome-visual{position:relative;z-index:1}
.welcome-kicker{display:inline-block;padding:8px 13px;border-radius:999px;background:rgba(255,255,255,.13);font-weight:800;letter-spacing:.04em}
.welcome-hero h1{font-size:clamp(36px,4.5vw,62px);line-height:1.05;margin:18px 0 14px;max-width:850px}
.welcome-hero p{font-size:19px;line-height:1.65;max-width:760px;color:rgba(255,255,255,.9)}
.welcome-actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:24px}
.welcome-trust{display:flex;flex-wrap:wrap;gap:16px;margin-top:25px;color:#eaf7ff;font-size:14px;font-weight:700}
.welcome-visual{min-height:260px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:24px;border-radius:24px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(8px)}
.welcome-visual img{width:min(100%,360px);max-height:125px;object-fit:contain;filter:drop-shadow(0 10px 20px rgba(0,0,0,.16))}
.welcome-badge{text-align:center;margin-top:20px}.welcome-badge strong{display:block;font-size:30px}.welcome-badge small{font-size:15px;opacity:.9}
.public-carousel-compact{position:relative;height:310px;border-radius:24px;overflow:hidden;margin:22px 0;box-shadow:var(--shadow2)}
.public-carousel-compact .slides,.public-carousel-compact .slide{position:absolute;inset:0;border-radius:24px}

.home-intro{align-items:stretch}.home-intro-card{height:100%}
.home-contact-list a,.home-contact-list div{display:grid!important;grid-template-columns:34px 1fr;gap:10px;align-items:start;padding:12px;border-radius:14px;background:rgba(255,255,255,.12);color:inherit;text-decoration:none}
.home-contact-list a:hover{background:rgba(255,255,255,.20);transform:translateY(-1px)}
.contact-detail-list{display:grid;gap:12px;margin:18px 0}
.contact-detail-list>a,.contact-detail-list>div{display:flex;flex-direction:column;gap:5px;padding:15px;border-radius:14px;background:#f2f8fd;border:1px solid #d9e8f4;color:#173b5d;text-decoration:none}
.footer-map-link{display:inline!important;color:inherit!important;text-decoration:underline!important}

/* Alignement typographique et suppression des éléments inutiles. */
.home-contact-list strong{margin-right:6px}
.public-info-strip{margin-top:22px}
.public-info-strip>div{min-height:112px;display:flex;flex-direction:column;justify-content:center}
.app-footer.dashboard-style-footer{width:min(calc(100% - 28px),var(--public-max));box-sizing:border-box}
.app-footer.dashboard-style-footer .footer-bottom{border-radius:0 0 18px 18px}

@media(max-width:900px){
  body.public-layout{padding-top:8px!important}
  body.public-layout>.site-header,body.public-layout>.top-nav,body.public-layout>.main-content,body.public-layout>.app-footer{width:calc(100% - 16px)!important}
  .welcome-hero{grid-template-columns:1fr;min-height:auto;padding:30px 22px}
  .welcome-visual{min-height:180px}.welcome-visual img{max-height:95px}
  .site-header.public-header .logo-box{width:160px!important;height:52px!important}
  .top-nav.public-nav{top:78px}
}
@media(max-width:560px){
  .site-header.public-header{grid-template-columns:1fr 70px!important}
  .site-header.public-header .brand-block{display:none}
  .site-header.public-header .flag-real{display:block!important;width:62px!important;height:42px!important;justify-self:end!important}
  .site-header.public-header .logo-box{width:190px!important;height:54px!important}
  .welcome-hero h1{font-size:34px}.welcome-hero p{font-size:16px}
  .welcome-actions .btn{width:100%}.welcome-trust{display:grid;gap:8px}
  .public-carousel-compact{height:230px}
}

/* ===== Stabilisation commerciale et carrousel V14 ===== */
.public-carousel-compact .slide{opacity:0!important;animation:none!important;transition:opacity .65s ease;pointer-events:none}
.public-carousel-compact .slide.is-active{opacity:1!important;pointer-events:auto}
.carousel-control{position:absolute;top:50%;z-index:7;transform:translateY(-50%);width:46px;height:46px;border:1px solid rgba(255,255,255,.65);border-radius:50%;background:rgba(7,48,82,.72);color:#fff;font-size:31px;line-height:1;cursor:pointer;backdrop-filter:blur(5px)}
.carousel-control:hover{background:#0b66c3}.carousel-control.prev{left:16px}.carousel-control.next{right:16px}
.carousel-dots{position:absolute;z-index:8;left:50%;bottom:14px;transform:translateX(-50%);display:flex;gap:8px}
.carousel-dots button{width:10px;height:10px;border-radius:999px;border:1px solid #fff;background:rgba(255,255,255,.45);padding:0;cursor:pointer}
.carousel-dots button.is-active{width:28px;background:#ffd21e}
.carousel-fallback-slide{background:linear-gradient(135deg,#082f51 0%,#0b66a7 55%,#1eb5df 100%);display:flex;align-items:center;justify-content:center}
.carousel-fallback-slide:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 75% 30%,rgba(255,210,30,.23),transparent 26%),linear-gradient(120deg,transparent 48%,rgba(255,255,255,.08) 49%,transparent 51%)}
.carousel-fallback-logo{position:relative;z-index:2;width:min(470px,60vw);height:150px;display:flex;align-items:center;justify-content:center;opacity:.94}
.carousel-fallback-logo img{width:100%;height:100%;object-fit:contain}
.readiness-score{width:150px;height:150px;border-radius:50%;display:grid;place-content:center;text-align:center;background:#fff;color:#0b4f86;box-shadow:0 18px 44px rgba(0,0,0,.22);z-index:1}.readiness-score strong{font-size:38px}.readiness-score span{font-size:12px;font-weight:800}
.readiness-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin:18px 0}.readiness-item{display:flex;gap:14px;align-items:flex-start;padding:17px;border-radius:18px;background:#fff;border:1px solid #dce8f2;box-shadow:var(--shadow2)}.readiness-item>span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-weight:900;color:#fff;flex:none}.readiness-item.ready>span{background:#138a50}.readiness-item.todo>span{background:#d12231}.readiness-item strong,.readiness-item small{display:block}.readiness-item small{margin-top:5px;color:#63778b;overflow-wrap:anywhere}
@media(max-width:700px){.carousel-control{width:40px;height:40px}.carousel-fallback-logo{width:70vw;height:100px}.readiness-score{width:110px;height:110px}.readiness-score strong{font-size:29px}}


/* ===== Correctifs V15 : logo officiel horizontal et mots de passe ===== */
.logo-box,.side-logo,.footer-logo,.loader-logo,.paper-logo,.dashboard-seal.logo-seal,
.dashboard-seal:has(img),.large-seal:has(img),.print-logo,.print-list-logo{
  border-radius:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
  clip-path:none!important;
}
.logo-box img,.side-logo img,.footer-logo img,.loader-logo img,.paper-logo img,
.dashboard-seal img,.large-seal img,.print-logo img,.print-list-logo img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:0!important;
  clip-path:none!important;
  transform:none!important;
}
.side-brand{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:6px!important}
.side-logo{width:220px!important;height:74px!important;max-width:100%!important}
.side-brand>div:last-child{display:none!important}
.site-header.public-header .logo-box{width:250px!important;height:82px!important}
.footer-logo{width:250px!important;height:82px!important}
.loader-logo-ring{width:220px!important;height:100px!important;border-radius:16px!important;padding:10px!important}

.password-field-wrap{position:relative;display:block;width:100%}
.password-field-wrap>input{padding-right:48px!important;width:100%!important}
.password-toggle-btn{
  position:absolute;right:7px;top:50%;transform:translateY(-50%);z-index:3;
  width:36px;height:36px;border:0;border-radius:10px;background:#eef6fd;color:#0b4f86;
  display:grid;place-items:center;cursor:pointer;font-size:17px;line-height:1;
}
.password-toggle-btn:hover,.password-toggle-btn:focus-visible{background:#dceeff;outline:2px solid #7dbce8;outline-offset:1px}
@media(max-width:900px){
  .side-logo{width:190px!important;height:64px!important}
  .site-header.public-header .logo-box{width:200px!important;height:66px!important}
}


/* ===== Logo transparent officiel FOBAK V16 ===== */
.logo-box,.side-logo,.footer-logo,.loader-logo,.paper-logo,.print-logo,.print-list-logo,.fallback-brand-logo,.dashboard-seal{
  border-radius:0!important;
  overflow:visible!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.logo-box img,.side-logo img,.footer-logo img,.loader-logo img,.paper-logo img,.print-logo img,.print-list-logo img,.fallback-brand-logo img,.dashboard-seal img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:0!important;
  clip-path:none!important;
  mask:none!important;
  background:transparent!important;
}
.side-logo{width:190px!important;height:64px!important}
.logo-box{width:250px!important;height:82px!important}
.footer-logo{width:250px!important;height:84px!important}
.loader-logo{width:150px!important;height:60px!important}
@media(max-width:900px){.side-logo{width:155px!important;height:54px!important}.logo-box{width:170px!important;height:58px!important}.footer-logo{width:190px!important;height:65px!important}}


/* Installation sur ordinateur/téléphone */
.install-pwa-button{position:fixed;right:18px;bottom:108px;z-index:91;display:flex;align-items:center;gap:7px;border:0;background:linear-gradient(135deg,#159ad6,#0b5d94);color:#fff;border-radius:999px;padding:12px 16px;box-shadow:0 16px 34px rgba(5,54,91,.28);font:inherit;font-weight:900;cursor:pointer}
.install-pwa-button[hidden]{display:none!important}
@media(max-width:560px){.install-pwa-button{right:14px;bottom:104px;width:52px;height:52px;justify-content:center;padding:0}.install-pwa-button span{display:none}}

/* ===== Stratégie logo FOBAK V18 : visibilité professionnelle ===== */
:root{
  --logo-panel-bg: rgba(255,255,255,.98);
  --logo-panel-border: rgba(11,58,102,.12);
  --logo-panel-shadow: 0 10px 24px rgba(4,28,50,.18);
}

/* 1) Toujours préserver la forme horizontale complète du logo */
.logo-box,
.side-logo,
.footer-logo,
.loader-logo,
.paper-logo,
.print-logo,
.print-list-logo,
.dashboard-seal.logo-seal,
.carousel-fallback-logo,
.heading-form-logo{
  border-radius: 0 !important;
  overflow: visible !important;
}
.logo-box img,
.side-logo img,
.footer-logo img,
.loader-logo img,
.paper-logo img,
.print-logo img,
.print-list-logo img,
.dashboard-seal.logo-seal img,
.carousel-fallback-logo img,
.heading-form-logo{
  object-fit: contain !important;
  object-position: center !important;
  width: 100% !important;
  height: 100% !important;
  image-rendering: -webkit-optimize-contrast;
  filter: saturate(1.04) contrast(1.06);
}

/* 2) Sur fonds sombres, utiliser une plaque blanche légère pour rendre le logo bien visible */
.site-header.public-header .logo-box,
.side-logo,
.app-footer .footer-logo,
.loader-logo,
.fixed-footer .footer-logo{
  background: var(--logo-panel-bg) !important;
  border: 1px solid var(--logo-panel-border) !important;
  box-shadow: var(--logo-panel-shadow) !important;
  padding: 10px 14px !important;
}
.site-header.public-header .logo-box{width: 280px !important; height: 92px !important;}
.side-logo{width: 230px !important; height: 82px !important;}
.app-footer .footer-logo,
.fixed-footer .footer-logo{width: 260px !important; height: 88px !important;}
.loader-logo{width: 170px !important; height: 74px !important; padding: 10px 12px !important;}
.loader-logo-ring{
  width: 210px !important;
  height: 96px !important;
  border-radius: 20px !important;
  background: transparent !important;
  animation: none !important;
  box-shadow: none !important;
}
.loader-card{max-width: 420px !important;}

/* 3) Sur fonds clairs, laisser le logo respirer, sans l'affadir */
.paper-logo,
.print-logo,
.print-list-logo,
.carousel-fallback-logo,
.dashboard-seal.logo-seal{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.paper-logo{width: 200px !important; height: 72px !important;}
.print-logo{width: 190px !important; height: 68px !important;}
.print-list-logo{width: 200px !important; height: 70px !important;}
.carousel-fallback-logo{width: 320px; height: 120px; margin-bottom: 16px;}
.dashboard-seal.logo-seal{width: 320px !important; height: 120px !important; padding: 0 !important; display:flex; align-items:center; justify-content:center;}
.heading-form-logo{display:block; width:min(380px, 76vw) !important; max-height:120px !important; margin-inline:auto;}

/* 4) Éviter toute opacité involontaire sur les zones contenant le logo */
.logo-box,
.side-logo,
.footer-logo,
.loader-logo,
.paper-logo,
.print-logo,
.print-list-logo,
.dashboard-seal.logo-seal,
.carousel-fallback-logo{opacity:1 !important;}

/* 5) Ajustements responsives */
@media (max-width: 900px){
  .site-header.public-header .logo-box{width: 210px !important; height: 72px !important; padding: 8px 10px !important;}
  .side-logo{width: 180px !important; height: 64px !important;}
  .app-footer .footer-logo,
  .fixed-footer .footer-logo{width: 200px !important; height: 68px !important;}
  .loader-logo-ring{width: 180px !important; height: 86px !important;}
  .loader-logo{width: 145px !important; height: 62px !important;}
}
@media (max-width: 600px){
  .site-header.public-header .logo-box{width: 165px !important; height: 60px !important;}
  .heading-form-logo{width:min(290px, 84vw) !important; max-height:96px !important;}
}

/* ===== Logo FOBAK V19 : contraste professionnel multi-support ===== */
/* Aucun panneau blanc rectangulaire : le logo sombre possède son propre liseré discret. */
.site-header.public-header .logo-box,
.side-logo,
.app-footer .footer-logo,
.fixed-footer .footer-logo,
.loader-logo{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}

/* Le logo principal reste vif sur les fonds clairs. */
.paper-logo img,
.print-logo img,
.print-list-logo img,
.heading-form-logo,
.carousel-fallback-logo img,
.dashboard-seal.logo-seal img{
  filter:saturate(1.10) contrast(1.08) brightness(1.01)!important;
}

/* La variante fond sombre reçoit un halo intégré + une ombre très légère. */
.site-header.public-header .logo-box img,
.side-logo img,
.app-footer .footer-logo img,
.fixed-footer .footer-logo img,
.loader-logo img{
  filter:drop-shadow(0 2px 3px rgba(0,0,0,.24)) saturate(1.08) contrast(1.06)!important;
}

/* Dimensions équilibrées pour garantir lisibilité sans déformer l'en-tête. */
.site-header.public-header .logo-box{width:270px!important;height:82px!important}
.side-logo{width:220px!important;height:72px!important}
.app-footer .footer-logo,.fixed-footer .footer-logo{width:245px!important;height:78px!important}
.loader-logo{width:175px!important;height:62px!important}
.loader-logo-ring{width:205px!important;height:90px!important;padding:8px!important}

/* Filigrane séparé : discret uniquement dans le corps/document, jamais utilisé comme logo principal. */
body.has-watermark:before{
  display:block!important;
  opacity:.035!important;
  background-size:min(420px,48vw) auto!important;
  filter:none!important;
}

@media(max-width:900px){
  .site-header.public-header .logo-box{width:205px!important;height:64px!important}
  .side-logo{width:175px!important;height:60px!important}
  .app-footer .footer-logo,.fixed-footer .footer-logo{width:195px!important;height:64px!important}
  .loader-logo{width:150px!important;height:54px!important}
}
@media(max-width:560px){
  .site-header.public-header .logo-box{width:170px!important;height:56px!important}
}

/* ===== V20 : Visibilité frappante et contextuelle du logo FOBAK ===== */
:root{
  --fobak-logo-shadow: 0 10px 28px rgba(3, 35, 63, .22);
  --fobak-logo-light-panel: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,251,255,.97));
  --fobak-logo-dark-panel: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
}

/* Règles globales des images de logo */
.logo-box img,
.side-logo img,
.footer-logo img,
.loader-logo img,
.paper-logo img,
.print-logo img,
.print-list-logo img,
.dashboard-seal.logo-seal img,
.fallback-brand-logo img{
  object-fit: contain !important;
  object-position: center left !important;
  filter: saturate(1.18) contrast(1.14) drop-shadow(0 3px 12px rgba(8,58,101,.18));
}

/* Sur fond sombre : panneau d'appui discret + halo professionnel */
.site-header.public-header .logo-box,
.side-logo,
.app-footer .footer-logo,
.fixed-footer .footer-logo,
.loader-logo,
.dashboard-seal.logo-seal{
  background: var(--fobak-logo-dark-panel) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 18px !important;
  box-shadow: var(--fobak-logo-shadow), inset 0 0 0 1px rgba(255,255,255,.06) !important;
  padding: 8px 12px !important;
}
.site-header.public-header .logo-box img,
.side-logo img,
.app-footer .footer-logo img,
.fixed-footer .footer-logo img,
.loader-logo img,
.dashboard-seal.logo-seal img{
  filter: saturate(1.22) contrast(1.16) drop-shadow(0 0 12px rgba(255,255,255,.18)) drop-shadow(0 7px 16px rgba(0,0,0,.18));
}

/* Sur fond clair : logo fort, net et propre */
.paper-logo,
.print-logo,
.print-list-logo,
.fallback-brand-logo{
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.paper-logo img,
.print-logo img,
.print-list-logo img,
.fallback-brand-logo img{
  filter: saturate(1.16) contrast(1.15) drop-shadow(0 2px 6px rgba(8,58,101,.12));
}

/* Dimensions plus frappantes selon l'emplacement */
.site-header.public-header .logo-box{
  width: 310px !important;
  height: 102px !important;
}
.side-logo{
  width: 240px !important;
  height: 86px !important;
}
.app-footer .footer-logo,
.fixed-footer .footer-logo{
  width: 270px !important;
  height: 90px !important;
}
.loader-logo{
  width: 185px !important;
  height: 70px !important;
}
.loader-logo-ring{
  width: 230px !important;
  height: 112px !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.14) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  box-shadow: var(--fobak-logo-shadow) !important;
  animation: none !important;
}
.dashboard-seal.logo-seal{
  width: 340px !important;
  height: 126px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.paper-logo{width: 210px !important; height: 78px !important;}
.print-logo,.print-list-logo{width: 210px !important; height: 74px !important;}
.fallback-brand-logo{width: min(420px, 42vw) !important; height: 160px !important; opacity: .33 !important;}
body.has-watermark:before{opacity:.065 !important;background-size:min(420px, 58vw) auto !important;}

/* Petites optimisations de lisibilité du nom institutionnel près du logo */
.site-header.public-header .brand-block strong,
.side-brand strong{
  text-shadow: 0 2px 8px rgba(0,0,0,.18);
}

@media (max-width: 900px){
  .site-header.public-header .logo-box{width:240px !important;height:78px !important;padding:7px 10px !important;}
  .side-logo{width:190px !important;height:68px !important;}
  .app-footer .footer-logo,.fixed-footer .footer-logo{width:210px !important;height:72px !important;}
  .loader-logo-ring{width:190px !important;height:94px !important;}
  .loader-logo{width:150px !important;height:58px !important;}
  .dashboard-seal.logo-seal{width:260px !important;height:100px !important;}
  .paper-logo{width:170px !important;height:64px !important;}
}
@media (max-width: 560px){
  .site-header.public-header .logo-box{width:190px !important;height:62px !important;}
  .side-logo{width:160px !important;height:58px !important;}
  .app-footer .footer-logo,.fixed-footer .footer-logo{width:185px !important;height:62px !important;}
  .loader-logo{width:130px !important;height:50px !important;}
  .loader-logo-ring{width:165px !important;height:80px !important;}
}

/* ===== V21 : logo FOBAK exact, forme d'origine conservée ===== */
:root{
  --fobak-logo-bg-dark: rgba(255,255,255,.10);
  --fobak-logo-border-dark: rgba(255,255,255,.14);
}
/* Aucune présentation ronde pour le logo institutionnel */
.logo-box,
.side-logo,
.footer-logo,
.loader-logo,
.paper-logo,
.print-logo,
.print-list-logo,
.dashboard-seal.logo-seal,
.fallback-brand-logo{
  border-radius: 0 !important;
  overflow: visible !important;
}
/* Toujours respecter la forme horizontale originale */
.logo-box img,
.side-logo img,
.footer-logo img,
.loader-logo img,
.paper-logo img,
.print-logo img,
.print-list-logo img,
.dashboard-seal.logo-seal img,
.fallback-brand-logo img{
  width:100% !important;
  height:100% !important;
  object-fit: contain !important;
  object-position: center left !important;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
/* Emplacements sombres : appui discret, sans cercle */
.site-header.public-header .logo-box,
.side-logo,
.app-footer .footer-logo,
.fixed-footer .footer-logo,
.loader-logo,
.dashboard-seal.logo-seal{
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.08)) !important;
  border: 1px solid var(--fobak-logo-border-dark) !important;
  border-radius: 18px !important;
  padding: 8px 10px !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.18) !important;
}
/* Emplacements clairs : pas de fond inutile */
.paper-logo,
.print-logo,
.print-list-logo,
.fallback-brand-logo{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
/* Tailles hiérarchisées */
.site-header.public-header .logo-box{width:300px !important;height:92px !important;}
.side-logo{width:230px !important;height:78px !important;}
.app-footer .footer-logo,
.fixed-footer .footer-logo{width:250px !important;height:84px !important;}
.loader-logo{width:180px !important;height:62px !important;}
.loader-logo-ring{width:220px !important;height:102px !important;border-radius:22px !important;animation:none !important;background:rgba(255,255,255,.10) !important;border:1px solid rgba(255,255,255,.15) !important;}
.dashboard-seal.logo-seal{width:320px !important;height:110px !important;display:flex !important;align-items:center !important;justify-content:center !important;}
.paper-logo{width:190px !important;height:68px !important;}
.print-logo,.print-list-logo{width:190px !important;height:66px !important;}
.fallback-brand-logo{width:min(400px,40vw) !important;height:120px !important;opacity:.28 !important;}
body.has-watermark:before{background-image:none !important;}
@media(max-width:900px){
  .site-header.public-header .logo-box{width:230px !important;height:72px !important;}
  .side-logo{width:190px !important;height:64px !important;}
  .app-footer .footer-logo,.fixed-footer .footer-logo{width:205px !important;height:70px !important;}
  .dashboard-seal.logo-seal{width:250px !important;height:92px !important;}
}
@media(max-width:560px){
  .site-header.public-header .logo-box{width:180px !important;height:58px !important;}
  .side-logo{width:160px !important;height:56px !important;}
  .app-footer .footer-logo,.fixed-footer .footer-logo{width:180px !important;height:60px !important;}
}

/* ===== V22 : corrections menu, utilisateur et cartes ===== */
.side-menu-search-empty[hidden]{display:none!important}
.side-user{
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:18px!important;
  padding:12px 10px!important;
  margin:8px 4px 10px!important;
}
.side-user strong{
  color:#ffffff!important;
  text-shadow:0 2px 8px rgba(0,0,0,.35)!important;
  font-size:15px!important;
  font-weight:900!important;
}
.side-user small{
  color:#eaf7ff!important;
  opacity:1!important;
  font-weight:700!important;
}
.avatar-letter{
  box-shadow:0 7px 18px rgba(0,0,0,.25)!important;
  border:2px solid rgba(255,255,255,.6)!important;
}
.side-menu-search-empty{
  color:#ffe46b!important;
  font-weight:800!important;
  background:rgba(0,0,0,.18)!important;
  padding:8px 10px!important;
  border-radius:10px!important;
}

/* ===== V24 : Statuts et règlement intérieur ===== */
.statute-heading{align-items:center}
.official-document-summary{display:flex;justify-content:space-between;align-items:center;gap:22px;border-left:7px solid var(--fobak-blue)}
.document-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.document-meta span{background:#eef7ff;border:1px solid #d5e8f7;border-radius:999px;padding:8px 12px;color:#274964}
.document-icon{font-size:58px}
.statute-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:18px;margin:18px 0}
.statute-section{margin:0!important;border-top:5px solid var(--fobak-cyan)}
.statute-section h2{font-size:20px;margin-top:0;color:var(--fobak-blue)}
.statute-section p{line-height:1.65;white-space:pre-line}
.statute-edit-form{margin-top:14px;border-top:1px solid #dce8f2;padding-top:14px}
.statute-viewer iframe{width:100%;height:78vh;min-height:650px;border:1px solid #cadbea;border-radius:16px;background:#f5f7fa}
.admin-statute-tools{align-items:start}
@media(max-width:700px){.official-document-summary{align-items:flex-start}.document-icon{display:none}.statute-viewer iframe{height:65vh;min-height:480px}}
@media print{.statute-viewer,.admin-statute-tools,.statute-section details,.page-heading-actions{display:none!important}.statute-grid{grid-template-columns:1fr 1fr}.statute-section{break-inside:avoid;box-shadow:none!important}}

/* ===== V25 : logo horizontal propre, sans cartes blanches ni déformation ===== */
.logo-box,.side-logo,.footer-logo,.loader-logo,.paper-logo,.print-logo,.print-list-logo,.dashboard-seal.logo-seal,.fallback-brand-logo{
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;
}
.logo-box img,.side-logo img,.footer-logo img,.loader-logo img,.paper-logo img,.print-logo img,.print-list-logo img,.dashboard-seal.logo-seal img,.fallback-brand-logo img{
  width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;filter:none!important;display:block!important;
}
.site-header.public-header .logo-box{width:250px!important;height:74px!important;align-self:center!important;}
.side-logo{width:210px!important;height:62px!important;margin:0 auto!important;}
.side-brand{display:block!important;text-align:center!important;margin:12px 0 16px!important;}
.side-brand>div:last-child{display:none!important;}
.app-footer .footer-logo,.fixed-footer .footer-logo{width:215px!important;height:64px!important;}
.loader-logo{width:175px!important;height:54px!important;}
.loader-logo-ring{width:205px!important;height:78px!important;background:transparent!important;border:0!important;box-shadow:none!important;animation:none!important;}
.dashboard-seal.logo-seal{width:290px!important;height:88px!important;}
.fallback-brand-logo{width:min(360px,34vw)!important;height:110px!important;opacity:.18!important;}
.hero .dashboard-seal.logo-seal,.hero-brand-card .dashboard-seal.logo-seal{background:transparent!important;}
body.has-watermark:before{opacity:.025!important;background-size:min(380px,48vw) auto!important;}
@media(max-width:900px){.site-header.public-header .logo-box{width:190px!important;height:58px!important}.side-logo{width:180px!important;height:54px!important}.app-footer .footer-logo{width:185px!important;height:56px!important}}
@media(max-width:560px){.site-header.public-header .logo-box{width:160px!important;height:48px!important}.side-logo{width:160px!important;height:48px!important}}

/* En-tête et pied de page uniformes à l'impression */
@media print{
  body{background:#fff!important;color:#111!important}
  .no-print,.universal-table-tools,.floating-help,.install-pwa-button,.communique-ticker{display:none!important}
  table{page-break-inside:auto}tr{page-break-inside:avoid;page-break-after:auto}
  thead{display:table-header-group}tfoot{display:table-footer-group}
}

/* ===== V27 : téléchargement multi-appareils et état hors connexion ===== */
.download-app-section{
  margin:22px 0;
  padding:30px;
  border-radius:26px;
  background:linear-gradient(135deg,#073e6a,#0b66a8 58%,#16a9d6);
  color:#fff;
  box-shadow:0 18px 42px rgba(4,52,88,.20);
}
.download-app-copy{max-width:900px;margin:0 auto 22px;text-align:center}
.download-app-copy .eyebrow{color:#ffe057}
.download-app-copy h2{font-size:clamp(28px,3vw,40px);margin:8px 0}
.download-app-copy p{line-height:1.65;color:#e7f5ff}
.download-app-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.download-choice{display:flex;flex-direction:column;align-items:flex-start;min-height:265px;padding:20px;border:1px solid rgba(255,255,255,.24);border-radius:20px;background:rgba(255,255,255,.11);backdrop-filter:blur(8px)}
.download-choice h3{font-size:21px;margin:10px 0 6px;color:#fff}
.download-choice p{line-height:1.5;flex:1;color:#e7f5ff}
.download-choice small{display:block;margin-top:12px;color:#cfe9f8;line-height:1.4}
.download-icon{font-size:32px}
.connection-state{display:inline-flex;align-items:center;gap:9px;padding:9px 14px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.24)}
.connection-state span{width:10px;height:10px;border-radius:50%;background:#f2ce32;box-shadow:0 0 0 4px rgba(242,206,50,.18)}
.connection-state.is-online span{background:#38d67a;box-shadow:0 0 0 4px rgba(56,214,122,.18)}
.connection-state.is-offline span{background:#ff626e;box-shadow:0 0 0 4px rgba(255,98,110,.18)}
.offline-screen{max-width:760px;margin:60px auto;text-align:center;padding:42px}
.offline-symbol{font-size:64px}
.offline-screen h1{font-size:36px;color:#0b3a66}
.offline-screen p{font-size:17px;line-height:1.7;color:#52677c}
@media(max-width:1050px){.download-app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.download-app-section{padding:20px 14px}.download-app-grid{grid-template-columns:1fr}.download-choice{min-height:auto}}

/* V34 — Navigation mobile : menu latéral coulissant et liens réellement accessibles */
.mobile-menu-backdrop{display:none}
@media (max-width:780px){
  body.admin-layout{overflow-x:hidden}
  .app-shell{display:block!important}
  .side-dashboard{
    position:fixed!important;
    top:0;left:0;bottom:0;
    width:min(88vw,340px)!important;
    height:100dvh!important;
    max-height:100dvh!important;
    z-index:1000!important;
    overflow-y:auto!important;
    border-radius:0 24px 24px 0!important;
    transform:translateX(-105%);
    transition:transform .24s ease;
    box-shadow:18px 0 48px rgba(3,24,45,.30);
  }
  body.side-open .side-dashboard{transform:translateX(0)}
  .workspace{width:100%!important;margin-left:0!important;min-width:0}
  .workspace-topbar{position:sticky;top:0;z-index:60}
  .menu-round{position:relative;z-index:1002;touch-action:manipulation}
  .side-menu{display:grid!important;grid-template-columns:1fr!important;max-height:none!important;overflow:visible!important}
  .side-menu a{position:relative;z-index:1001;pointer-events:auto!important;touch-action:manipulation}
  .mobile-menu-backdrop{
    display:block;
    position:fixed;inset:0;
    z-index:999;
    background:rgba(3,24,45,.48);
    opacity:0;visibility:hidden;
    transition:opacity .24s ease,visibility .24s ease;
  }
  body.side-open .mobile-menu-backdrop{opacity:1;visibility:visible}
}
@media (min-width:781px){.mobile-menu-backdrop{display:none!important}}


/* ===== V35 — Mobile confortable, cartes lisibles et module santé ===== */
.health-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0}
.health-kpis a{display:flex;flex-direction:column;padding:22px;border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(7,58,102,.10);text-decoration:none;color:#0b3a66}
.health-kpis strong{font-size:clamp(30px,4vw,48px);line-height:1}.health-kpis span{font-size:17px;font-weight:700;margin-top:8px}
.health-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.health-links a{font-size:19px;font-weight:800;text-decoration:none;color:#0b3a66;min-height:95px;display:flex;align-items:center}
.responsive-card-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.data-card{padding:20px;border:1px solid #dbe8f2;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(8,49,81,.07)}.data-card strong{display:block;font-size:20px;color:#073e6a}.data-card span{display:block;font-size:15px;font-weight:700;margin:6px 0;color:#47657c}.data-card p{font-size:16px;line-height:1.55}
.permission-role{border:1px solid #d7e5ef;border-radius:18px;margin-bottom:14px;overflow:hidden}.permission-role summary{cursor:pointer;padding:16px 20px;background:#edf6fc;display:flex;justify-content:space-between;gap:15px}.permission-role summary strong{font-size:18px}.permission-role>div{padding:16px}.permission-matrix th,.permission-matrix td{text-align:center;min-width:86px}.permission-matrix th:first-child,.permission-matrix td:first-child{text-align:left;min-width:190px;position:sticky;left:0;background:#fff;z-index:2}.permission-matrix input[type=checkbox]{width:21px;height:21px}
@media(max-width:900px){.health-kpis{grid-template-columns:repeat(2,1fr)}.health-links{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){
  html{font-size:17px}body{font-size:17px}.workspace{padding:0!important}.workspace-main,.content-area,main{min-width:0!important;padding-left:12px!important;padding-right:12px!important}.workspace-topbar{padding:10px 12px!important;gap:8px;flex-wrap:wrap}.workspace-topbar>div:first-child{max-width:calc(100% - 58px)}.workspace-topbar strong{font-size:17px}.workspace-topbar small{font-size:13px}.global-search-form{order:3;width:100%;max-width:none!important}.global-search-form input{font-size:16px;min-height:44px}.menu-round{position:fixed!important;top:12px;left:12px;width:48px!important;height:48px!important;background:#0b5f9e!important;color:#fff!important;box-shadow:0 8px 22px rgba(0,0,0,.24)}.workspace-topbar{padding-left:72px!important}.side-top .menu-round{display:none!important}.side-dashboard{width:min(92vw,370px)!important}.side-menu a{min-height:51px!important;font-size:17px!important;padding:13px 16px!important}.side-menu a span{font-size:21px}.card{padding:16px!important;border-radius:18px!important}.dashboard-welcome{padding:18px!important;border-radius:20px!important}.dashboard-welcome h1{font-size:clamp(25px,8vw,34px)!important}.dashboard-welcome p{font-size:16px!important;line-height:1.55}.form-grid{grid-template-columns:1fr!important}.form-grid label.full{grid-column:1!important}input,select,textarea,button{font-size:16px!important}input,select,textarea{min-height:46px}.btn{min-height:46px;padding:12px 17px!important}.table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch;border-radius:14px}.table-wrap table{min-width:720px}.table-wrap th,.table-wrap td{font-size:15px!important;padding:12px 10px!important}.health-links{grid-template-columns:1fr}.health-links a{font-size:18px;min-height:75px}.responsive-card-list{grid-template-columns:1fr}.data-card strong{font-size:21px}.data-card span,.data-card p{font-size:16px}.app-footer{grid-template-columns:1fr!important;padding:24px 16px!important}.socials a{width:44px!important;height:44px!important;font-size:20px!important}.floating-help{bottom:14px!important;right:12px!important}.permission-role summary{padding:14px}.permission-matrix th:first-child,.permission-matrix td:first-child{min-width:160px}
}
@media(max-width:430px){.health-kpis{grid-template-columns:1fr 1fr;gap:10px}.health-kpis a{padding:16px}.health-kpis strong{font-size:31px}.health-kpis span{font-size:15px}.dashboard-seal{display:none!important}.top-actions{gap:4px!important}.top-actions a{width:38px!important;height:38px!important}}

/* V39 — consolidation mobile, notifications, services et formulaires */
.side-menu-group{margin:.2rem .45rem;border-radius:14px;overflow:hidden}.side-menu-group summary{display:flex;align-items:center;gap:.7rem;padding:.8rem .9rem;color:inherit;cursor:pointer;font-weight:700;list-style:none}.side-menu-group summary::-webkit-details-marker{display:none}.side-menu-group summary b{margin-left:auto}.side-submenu{display:grid;padding:0 .4rem .45rem}.side-submenu a{margin:.12rem 0;padding-left:1.35rem!important;font-size:.92rem}
.notification-layout{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(340px,1.15fr);gap:1rem}.notification-row{display:grid;grid-template-columns:30px 1fr 20px;gap:.7rem;align-items:center;padding:1rem;border-radius:14px;text-decoration:none;color:inherit;border:1px solid var(--border,#dbe4ee);margin:.55rem 0;background:#fff}.notification-row.is-unread{border-left:5px solid #0b66c3;background:#f5faff}.notification-row span:nth-child(2){display:grid;gap:.25rem}.notification-row small{line-height:1.45}.notification-row em{font-size:.78rem;opacity:.68}.notification-icon{font-weight:900;color:#0b66c3}.notification-detail{border-left:6px solid #0b66c3}
.login-experience{max-width:1050px;margin:3rem auto;display:grid;grid-template-columns:1.05fr .95fr;min-height:590px;border-radius:28px;overflow:hidden;box-shadow:0 24px 70px rgba(3,31,56,.18);background:#fff}.login-visual{padding:4rem;background:linear-gradient(145deg,#072e55,#0a5d91 60%,#0b7a76);color:#fff;display:flex;flex-direction:column;justify-content:center}.login-brand-mark img{width:140px;max-height:120px;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(0,0,0,.2))}.login-visual h1{font-size:clamp(2rem,4vw,3.4rem);line-height:1.05;margin:.8rem 0}.login-points{display:grid;gap:.7rem;margin-top:1.5rem}.login-panel{padding:3.7rem;display:flex;flex-direction:column;justify-content:center}.login-panel h2{font-size:2.1rem;margin:.8rem 0}.login-back{font-weight:700;text-decoration:none}.input-with-icon{display:grid;grid-template-columns:32px 1fr auto;align-items:center;border:1px solid #cdd9e6;border-radius:14px;padding:.15rem .55rem;background:#fff}.input-with-icon input{border:0!important;box-shadow:none!important}.password-toggle{border:0;background:transparent;cursor:pointer;font-size:1.1rem}.login-submit{width:100%;min-height:50px;font-size:1rem}.login-links{display:flex;justify-content:space-between;gap:1rem;margin:1.1rem 0}.login-security{display:block;padding:.8rem;border-radius:12px;background:#f3f7fb}
.adhesion-inspired-form{background:linear-gradient(180deg,#fbfdff,#f4f8fc);padding:1.15rem;border:1px solid #dce7f1;border-radius:18px;gap:1rem}.adhesion-inspired-form label{font-weight:750;color:#17334c}.adhesion-inspired-form input,.adhesion-inspired-form select,.adhesion-inspired-form textarea{margin-top:.38rem;min-height:46px;border-radius:12px;border:1px solid #bfcddd;background:#fff}.adhesion-inspired-form textarea{min-height:110px}.adhesion-inspired-form .full{grid-column:1/-1}
.dashboard-module-catalog{margin:1.4rem 0}.section-heading{margin-bottom:1rem}.module-groups{display:grid;gap:1rem}.module-group{background:#fff;border:1px solid #dfe8f1;border-radius:20px;padding:1.15rem;box-shadow:0 10px 30px rgba(15,49,78,.06)}.module-group h3{margin:.1rem 0 1rem}.module-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.75rem}.module-card-grid a{display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;gap:.1rem .65rem;padding:1rem;border:1px solid #e0e8f0;border-radius:15px;text-decoration:none;color:inherit;background:linear-gradient(180deg,#fff,#f8fbfd);transition:.2s}.module-card-grid a:hover{transform:translateY(-2px);border-color:#79a9d2;box-shadow:0 9px 20px rgba(20,70,110,.11)}.module-card-grid a>span{grid-row:1/3;font-size:1.65rem}.module-card-grid strong{font-size:1rem}.module-card-grid small{opacity:.72}.service-highlight{border-left:6px solid #0b7a76}
@media(max-width:820px){.notification-layout,.login-experience{grid-template-columns:1fr}.login-experience{margin:1rem;min-height:0}.login-visual{padding:2rem;min-height:280px}.login-panel{padding:2rem}.module-card-grid{grid-template-columns:1fr 1fr}.adhesion-inspired-form{padding:.85rem}.side-menu-group{margin:.1rem .25rem}}
@media(max-width:520px){.module-card-grid{grid-template-columns:1fr}.login-links{flex-direction:column}.notification-row{padding:.8rem}.login-visual h1{font-size:2rem}}

/* FOBAK V39 — Audit professionnel et espace membre */
.audit-kpis,.member-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0}.audit-kpis .metric-card,.member-stats article{background:#fff;border:1px solid #dbe5ef;border-radius:18px;padding:18px;box-shadow:0 8px 24px rgba(15,50,80,.07)}.audit-kpis span,.member-stats small{display:block;color:#64748b;margin-bottom:8px}.audit-kpis strong,.member-stats strong{font-size:1.45rem;color:#0b3a66}.audit-filters{display:grid;grid-template-columns:2fr 1.3fr 1fr auto auto;gap:12px;align-items:end;margin-bottom:16px}.audit-filters label{font-weight:700;color:#26445f}.audit-filters input,.audit-filters select{width:100%;margin-top:6px}.status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;font-size:.78rem;font-weight:800}.status-pill.success{background:#dcfce7;color:#166534}.status-pill.danger{background:#fee2e2;color:#991b1b}.member-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(135deg,#ffffff,#edf7ff)}.member-identity{display:flex;align-items:center;gap:18px}.member-avatar-large,.member-avatar-placeholder{width:112px;height:132px;border-radius:18px;object-fit:cover;border:4px solid #fff;box-shadow:0 8px 24px rgba(11,58,102,.18)}.member-avatar-placeholder{display:grid;place-items:center;background:#0b3a66;color:#fff;font-size:2rem;font-weight:900}.profile-progress{min-width:280px;max-width:390px}.profile-progress>div{height:11px;border-radius:999px;background:#dbe7f1;overflow:hidden;margin:8px 0}.profile-progress>div span{display:block;height:100%;background:linear-gradient(90deg,#0b5594,#18a0a8);border-radius:inherit}.member-stats article span{font-size:1.55rem;float:right}.member-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0}.member-quick-actions a{display:flex;flex-direction:column;gap:5px;padding:18px;border-radius:18px;background:#fff;border:1px solid #dbe5ef;text-decoration:none;color:#173b57;box-shadow:0 8px 20px rgba(15,50,80,.06);transition:.2s}.member-quick-actions a:hover{transform:translateY(-3px);border-color:#0b79b7}.member-quick-actions span{font-size:1.65rem}.member-quick-actions small{color:#64748b}.notification-row{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;text-decoration:none;color:inherit;padding:12px;border-radius:14px;border:1px solid #e2e8f0;margin:8px 0}.notification-row.is-unread{background:#eff8ff;border-color:#8fc8ea}.notification-row small,.notification-row em{display:block;color:#64748b;font-style:normal;margin-top:3px}
@media(max-width:900px){.audit-kpis,.member-stats,.member-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-filters{grid-template-columns:1fr 1fr}.member-hero{align-items:flex-start;flex-direction:column}.profile-progress{min-width:0;width:100%}}
@media(max-width:560px){.audit-kpis,.member-stats,.member-quick-actions,.audit-filters{grid-template-columns:1fr}.member-identity{align-items:flex-start}.member-avatar-large,.member-avatar-placeholder{width:86px;height:104px}.member-hero h1{font-size:1.35rem}.table-wrap table{min-width:900px}}

/* V40 rapports sanitaires, listes compactes et capture photo */
.health-report-kpis{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.danger-stat{border-color:#f1b7b7;background:#fff7f7}.health-report-form textarea{min-height:115px}.report-filter{align-items:end}.members-compact table{table-layout:auto}.members-compact td{vertical-align:top}.members-compact tr{height:auto}.camera-file-input{cursor:pointer}@media(max-width:760px){.health-report-kpis{grid-template-columns:1fr 1fr}.health-report-form{grid-template-columns:1fr}.report-filter>*{width:100%}}


/* V41 : fiches santé, en-têtes configurables et rognage photo passeport */
.health-form-card{padding:22px}.sheet-header-clean{display:grid;grid-template-columns:110px 1fr 110px;gap:16px;align-items:center;padding-bottom:16px;margin-bottom:18px;border-bottom:2px solid #dbe7f2}.sheet-logo-stack,.sheet-flag-stack{display:grid;place-items:center}.sheet-foundation-logo,.sheet-flag-stack img{max-width:100%;max-height:82px;object-fit:contain}.sheet-title-stack{text-align:center}.sheet-title-stack h2{margin:0 0 8px;color:#0b3a66;text-transform:uppercase;font-size:22px}.sheet-title-stack p{margin:0;color:#5b6f82;line-height:1.55}.sheet-center-placeholder{width:84px;height:84px;border:2px dashed #93b7d3;border-radius:18px;display:grid;place-items:center;color:#5d7c96;font-weight:800;background:#f8fcff}.clean-form-grid{row-gap:16px!important}.clean-form-grid textarea{min-height:95px;resize:vertical}.sheet-footer-clean{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px;padding-top:14px;border-top:1px solid #d9e6f0;color:#516678}.sheet-footer-clean>div{background:#f8fbfe;border:1px solid #e0ebf4;border-radius:12px;padding:12px 14px;line-height:1.55}.passport-cropper{display:none;margin-top:12px;border:1px solid #d8e6f3;border-radius:16px;background:#f8fcff;padding:14px}.passport-cropper.active{display:block}.passport-cropper-title{font-weight:800;color:#0b3a66;margin-bottom:10px}.passport-cropper-body{display:grid;grid-template-columns:190px 1fr;gap:16px;align-items:start}.passport-cropper-preview{width:180px;height:240px;border-radius:12px;border:2px solid #0b5fa5;background:#fff}.passport-cropper-controls label{display:block;font-weight:700;color:#36506a;margin-bottom:10px}.passport-cropper-controls input[type=range]{width:100%;margin-top:6px}.passport-cropper-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.passport-cropper small{display:block;color:#678097;margin-top:10px}.camera-preview{width:150px!important;height:200px!important;border-radius:10px!important}.camera-preview img{object-fit:cover!important}@media(max-width:860px){.sheet-header-clean{grid-template-columns:1fr;text-align:center}.sheet-footer-clean,.passport-cropper-body{grid-template-columns:1fr}.passport-cropper-preview{margin:0 auto}}

.security-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.login-alt{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.passkey-item{display:flex;justify-content:space-between;align-items:center;border:1px solid #dbe7f1;border-radius:12px;padding:10px;margin-top:10px}@media(max-width:760px){.security-grid,.login-alt{grid-template-columns:1fr}}

/* V46 — Connexion propre par mot de passe, PIN et biométrie */
.login-security-redesign{min-height:620px}.login-security-redesign .login-panel{justify-content:flex-start;padding:2.6rem 3rem}.login-heading{display:flex;align-items:center;gap:14px;margin:12px 0 18px}.login-heading h2{margin:0;font-size:2rem}.login-heading p{margin:4px 0 0;color:#65778a}.login-lock{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#eef6ff;font-size:22px}.auth-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:6px;background:#eef4fa;border:1px solid #d9e5f0;border-radius:18px;margin-bottom:18px}.auth-tab{border:0;border-radius:13px;background:transparent;color:#31506d;padding:11px 8px;font-weight:850;cursor:pointer;line-height:1.2}.auth-tab span{display:block;font-size:18px;margin-bottom:3px}.auth-tab.is-active{background:#fff;color:#0b4f86;box-shadow:0 7px 18px rgba(7,59,102,.12)}.auth-panels{min-height:292px}.auth-panel{animation:authFade .18s ease}.auth-panel[hidden]{display:none!important}.auth-method-form{display:grid;gap:14px}.auth-method-form label{margin:0}.auth-method-form label>span{display:block;margin:0 0 7px;font-weight:800;color:#163e65}.auth-method-form .input-with-icon{min-height:54px;background:#f9fbfe}.auth-method-form .input-with-icon input{background:transparent!important;padding:12px 6px!important}.auth-method-note{display:grid;gap:4px;background:#f3f8fd;border-left:4px solid #0b66c3;border-radius:12px;padding:12px 14px;margin-bottom:14px}.auth-method-note strong{color:#123f68}.auth-method-note span{font-size:13px;color:#63768a;line-height:1.45}.auth-status{min-height:22px;margin-top:10px;padding:0 2px;color:#a21c2b;font-weight:700}.login-security-redesign .password-field-wrap{width:100%}.login-security-redesign .password-toggle-btn{right:8px}.login-security-redesign .input-with-icon .password-field-wrap input{padding-right:44px!important}.login-security-redesign .login-links{border-top:1px solid #e3ebf3;padding-top:14px;margin-top:16px}.login-security-redesign .login-security{margin-top:4px}.login-security-redesign .btn.login-submit{border-radius:14px;background:linear-gradient(90deg,#0b5fa5,#087b8e);color:#fff;border:0;box-shadow:0 10px 22px rgba(11,95,165,.2)}@keyframes authFade{from{opacity:.3;transform:translateY(4px)}to{opacity:1;transform:none}}@media(max-width:820px){.login-security-redesign .login-panel{padding:1.5rem}.auth-tabs{grid-template-columns:1fr}.auth-tab span{display:inline;margin-right:6px}.auth-panels{min-height:0}.login-security-redesign .login-visual{min-height:220px}}@media(max-width:520px){.login-security-redesign{margin:.5rem}.login-security-redesign .login-panel{padding:1.2rem}.login-heading h2{font-size:1.65rem}.auth-tab{padding:10px}.login-links{gap:8px}}

.auth-method-form .remember-identifier{display:grid;grid-template-columns:22px 1fr;align-items:start;gap:10px;padding:11px 12px;border:1px solid #d9e5f0;border-radius:13px;background:#f7faff;cursor:pointer}.auth-method-form .remember-identifier input{width:18px;height:18px;margin:2px 0 0;accent-color:#0b66c3}.auth-method-form .remember-identifier>span{margin:0;font-weight:400}.remember-identifier strong{display:block;color:#163e65;font-size:.94rem}.remember-identifier small{display:block;margin-top:3px;color:#65778a;font-size:.78rem;line-height:1.4}


/* V47 — menu mobile permanent, masquable et déconnexion accessible */
.mobile-sidebar-toggle{display:none}
@media(max-width:780px){
  body.admin-layout{overflow-x:hidden}
  .mobile-sidebar-toggle{
    display:grid!important;place-items:center;position:fixed!important;
    top:max(10px,env(safe-area-inset-top));left:12px;z-index:1205;
    width:50px;height:50px;border:0;border-radius:15px;
    background:#075b96;color:#fff;font-size:26px;font-weight:900;
    box-shadow:0 10px 26px rgba(0,0,0,.28);cursor:pointer;
    touch-action:manipulation;-webkit-tap-highlight-color:transparent
  }
  body.side-open .mobile-sidebar-toggle{background:#b51e2a}
  .side-dashboard{
    display:flex!important;flex-direction:column!important;
    padding-top:72px!important;overflow:hidden!important;
    visibility:hidden;pointer-events:none
  }
  body.side-open .side-dashboard{visibility:visible;pointer-events:auto}
  .side-top{flex:0 0 auto}
  .side-top .sidebar-close-button{display:none!important}
  .side-menu-search,.side-menu-search-empty{flex:0 0 auto}
  .side-menu{
    display:flex!important;flex-direction:column!important;flex:1 1 auto!important;
    min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;
    padding-bottom:12px!important;-webkit-overflow-scrolling:touch
  }
  .side-user{flex:0 0 auto;margin-top:0!important;background:rgba(4,41,70,.96)}
  .logout-btn{
    flex:0 0 auto;display:block!important;position:sticky!important;bottom:0!important;
    z-index:4;margin:4px 8px max(10px,env(safe-area-inset-bottom))!important;
    min-height:48px;line-height:24px
  }
  .workspace-topbar{padding-left:76px!important;min-height:68px}
  body.side-open{overflow:hidden}
  body.side-open .mobile-menu-backdrop{display:block!important;opacity:1!important;visibility:visible!important}
}


/* V48 — stabilisation complète de l'interface téléphone */
html,body{max-width:100%;overflow-x:hidden}.image-load-failed{visibility:hidden!important}.ticker-close{border:0;background:rgba(255,255,255,.25);color:#102d47;width:30px;height:30px;border-radius:50%;font-size:20px;line-height:1;cursor:pointer;flex:0 0 auto}.communique-ticker[hidden]{display:none!important}
@media(max-width:780px){
  :root{--mobile-gutter:12px}
  body.admin-layout{padding-bottom:0!important;background:#f5f9fc}
  .app-shell,.workspace,.workspace-content,.main-content{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important}
  .workspace-content{padding:12px var(--mobile-gutter) 28px!important}
  .workspace-topbar{position:relative!important;top:auto!important;z-index:40!important;display:grid!important;grid-template-columns:1fr!important;padding:18px var(--mobile-gutter) 12px 82px!important;gap:12px!important;min-height:0!important;background:#fff!important}
  .workspace-topbar>div:first-child{max-width:100%!important;min-width:0!important}.workspace-topbar>div:first-child strong{display:block;font-size:24px!important;line-height:1.2;overflow-wrap:anywhere}.workspace-topbar>div:first-child small{display:block;font-size:15px!important;line-height:1.5}
  .language-select{width:100%!important;min-width:0!important;height:52px!important}.top-actions{width:100%!important;display:grid!important;grid-template-columns:repeat(4,48px) 1fr!important;align-items:center!important;gap:8px!important}.top-actions>a{width:48px!important;height:48px!important;display:grid!important;place-items:center!important;border-radius:50%!important}.top-date{min-width:0!important;text-align:right!important}.global-search-form{display:grid!important;grid-template-columns:1fr 52px!important;gap:8px!important;width:100%!important;min-width:0!important}.global-search-form input{width:100%!important;min-width:0!important}.global-search-form button{width:52px!important;height:52px!important;padding:0!important}
  .mobile-sidebar-toggle{top:calc(env(safe-area-inset-top) + 10px)!important;left:12px!important;width:56px!important;height:56px!important;border-radius:18px!important;font-size:30px!important;z-index:1400!important}
  .side-dashboard{position:fixed!important;inset:0 auto 0 0!important;width:min(88vw,360px)!important;height:100dvh!important;max-height:100dvh!important;transform:translateX(-105%)!important;transition:transform .24s ease!important;z-index:1390!important;padding:72px 0 0!important;visibility:visible!important;pointer-events:auto!important;overflow:hidden!important}
  body.side-open .side-dashboard{transform:translateX(0)!important}.side-menu{padding:8px 10px 16px!important}.side-user{padding:10px 12px!important}.logout-btn{position:relative!important;bottom:auto!important;margin:8px 12px max(12px,env(safe-area-inset-bottom))!important}
  .mobile-menu-backdrop{position:fixed!important;inset:0!important;background:rgba(3,20,35,.6)!important;z-index:1380!important;display:block!important;opacity:0!important;visibility:hidden!important;transition:.2s!important}.side-open .mobile-menu-backdrop{opacity:1!important;visibility:visible!important}
  .dashboard-welcome{display:flex!important;flex-direction:column!important;gap:16px!important;margin:0 0 14px!important;padding:22px 18px!important}.dashboard-welcome>div{width:100%!important;min-width:0!important}.dashboard-welcome h1{font-size:clamp(28px,8.5vw,38px)!important;line-height:1.15!important;overflow-wrap:anywhere}.dashboard-seal.logo-seal{width:100%!important;height:100px!important;max-width:100%!important}.dashboard-seal.logo-seal img{max-width:240px!important;max-height:90px!important}
  .kpi-grid,.dashboard-panels,.dashboard-panels.two-columns,.module-card-grid,.module-groups{grid-template-columns:1fr!important}.kpi-card,.panel-card,.module-group,.card{min-width:0!important;width:100%!important}.module-card-grid a{min-width:0!important}.dash-list{grid-template-columns:auto minmax(0,1fr)!important}.dash-list strong,.dash-list small{overflow-wrap:anywhere}
  .app-footer.dashboard-style-footer{display:grid!important;grid-template-columns:1fr!important;gap:18px!important;padding:24px 18px 54px!important;margin-top:16px!important}.app-footer .footer-logo{width:180px!important;height:58px!important;max-width:100%!important}.app-footer.dashboard-style-footer>div:nth-child(n+3):not(.footer-bottom){display:none!important}.footer-about p{font-size:15px!important;line-height:1.55!important}.footer-bottom{font-size:12px!important;padding:12px 0!important}
  .install-pwa-button{position:fixed!important;right:14px!important;bottom:92px!important;width:52px!important;height:52px!important;border-radius:50%!important;padding:0!important;z-index:65!important}.install-pwa-button span{display:none!important}.floating-help{position:fixed!important;right:14px!important;bottom:28px!important;width:52px!important;height:52px!important;border-radius:50%!important;padding:0!important;z-index:65!important}.floating-help span{display:none!important}
  .communique-ticker{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;height:auto!important;min-height:40px!important;display:grid!important;grid-template-columns:auto 1fr 34px!important;align-items:center!important;margin:0!important;padding:6px 8px!important;z-index:20!important}.communique-ticker strong{font-size:12px!important;padding:7px 10px!important}.ticker-track{min-width:0!important;overflow:hidden!important}.ticker-track span{font-size:13px!important;white-space:nowrap!important}.ticker-close{display:grid!important;place-items:center!important}
  .vision-grid,.info-grid,.public-info-strip{grid-template-columns:1fr!important}.vision-grid>*{min-width:0!important}.public-content,.public-layout .main-content{padding-left:10px!important;padding-right:10px!important}
}
@media(max-width:420px){.workspace-topbar{padding-left:76px!important}.top-actions{grid-template-columns:repeat(4,44px) 1fr!important}.top-actions>a{width:44px!important;height:44px!important}.workspace-topbar>div:first-child strong{font-size:21px!important}.dashboard-welcome{padding:18px 15px!important}.dashboard-welcome h1{font-size:30px!important}}

/* V49 reçus sanitaires */
.receipt-actions{min-width:210px}.receipt-actions .btn.small{padding:7px 9px;font-size:12px;margin:2px}.payment-details{margin-top:6px}.payment-details summary{cursor:pointer;font-weight:800;color:#0b5fa5}.inline-payment-form{display:grid;grid-template-columns:repeat(2,minmax(110px,1fr));gap:7px;margin-top:8px;padding:10px;border:1px solid #d8e6f2;border-radius:12px;background:#f8fcff}.inline-payment-form input,.inline-payment-form select{min-width:0}.receipt-verification .form-grid>div{padding:12px;border:1px solid #d9e5ef;border-radius:12px;background:#f9fcff}@media(max-width:760px){.receipt-actions{min-width:250px}.inline-payment-form{grid-template-columns:1fr}.health-two-col{grid-template-columns:1fr!important}}


/* V51 — navigation mobile compacte et accès connexion immédiat */
.public-mobile-bar,.public-menu-backdrop{display:none}
@media(max-width:820px){
  .public-layout{padding-top:62px!important;overflow-x:hidden}
  .public-mobile-bar{position:fixed;display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:10px;top:0;left:0;right:0;min-height:62px;padding:7px 10px calc(7px + env(safe-area-inset-top));background:#fff;border-bottom:1px solid #dbe6ef;box-shadow:0 7px 24px rgba(6,42,73,.13);z-index:1700}
  .public-menu-toggle{width:46px;height:46px;border:0;border-radius:14px;background:#0b5f9e;color:#fff;font-size:25px;font-weight:900;display:grid;place-items:center;cursor:pointer}
  .public-mobile-brand{font-weight:950;font-size:20px;color:#0b3a66;text-decoration:none;letter-spacing:.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .public-mobile-login{min-height:44px;display:flex;align-items:center;justify-content:center;padding:0 15px;border-radius:13px;background:linear-gradient(90deg,#0b5fa5,#087b8e);color:#fff!important;text-decoration:none;font-weight:900;box-shadow:0 8px 18px rgba(11,95,165,.22)}
  .public-header{display:grid!important;grid-template-columns:72px 1fr 54px!important;gap:10px!important;align-items:center!important;padding:14px 12px!important;min-height:0!important}
  .public-header .logo-box{width:68px!important;height:68px!important}.public-header .logo-box img{max-width:66px!important;max-height:66px!important}
  .public-header .brand-block strong{font-size:18px!important;line-height:1.2!important}.public-header .brand-block span,.public-header .brand-block em{font-size:12px!important;line-height:1.35!important}
  .public-header .flag-real img{max-width:50px!important}
  .public-nav{position:fixed!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;top:0!important;left:0!important;bottom:0!important;width:min(86vw,340px)!important;padding:76px 12px 18px!important;background:#fff!important;box-shadow:18px 0 45px rgba(3,24,43,.25)!important;transform:translateX(-105%)!important;transition:transform .22s ease!important;z-index:1695!important;overflow-y:auto!important;overscroll-behavior:contain}
  .public-nav.is-open{transform:translateX(0)!important}
  .public-nav a,.public-nav .language-select{width:100%!important;min-height:48px!important;display:flex!important;align-items:center!important;border-radius:12px!important;padding:11px 14px!important;font-size:16px!important;text-align:left!important;white-space:normal!important}
  .public-nav a{color:#173b5c!important;text-decoration:none!important;border:1px solid transparent!important}
  .public-nav a:hover,.public-nav a:focus{background:#eef7ff!important;border-color:#d5e8f6!important}
  .public-nav .public-login-link{background:#0b5fa5!important;color:#fff!important;font-weight:900!important;order:-1!important}
  .public-menu-backdrop{position:fixed;display:block;inset:0;background:rgba(2,18,32,.58);opacity:0;visibility:hidden;transition:.2s;z-index:1680}
  .public-menu-backdrop.is-open{opacity:1;visibility:visible}
  body.public-menu-open{overflow:hidden}
  .public-content{padding-left:12px!important;padding-right:12px!important}
  .login-experience{margin:12px auto!important;border-radius:20px!important;min-height:0!important}
  .login-visual{display:none!important}
  .login-panel{padding:18px 14px 24px!important}
  .login-heading{margin-top:0!important}
}
@media(max-width:480px){
  .public-mobile-bar{grid-template-columns:46px minmax(0,1fr) auto}.public-mobile-login{padding:0 11px;font-size:14px}.public-mobile-brand{font-size:18px}
  .public-header{grid-template-columns:62px 1fr!important}.public-header .flag-real{display:none!important}.public-header .logo-box{width:58px!important;height:58px!important}
}

/* FOBAK V52 — Navigation permanente, barre supérieure figée et formulaires santé harmonisés */
.workspace-topbar{
  position:sticky!important;
  top:0!important;
  z-index:85!important;
  display:grid!important;
  grid-template-columns:auto minmax(190px,1fr) minmax(220px,420px) auto auto!important;
  align-items:center!important;
  gap:12px!important;
  background:rgba(255,255,255,.97)!important;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid #d8e4ef!important;
  box-shadow:0 10px 28px rgba(9,52,91,.10)!important;
}
.workspace-welcome{min-width:0}.workspace-welcome strong,.workspace-welcome small{display:block}.workspace-welcome small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:420px}
.history-controls{display:flex;align-items:center;gap:7px;flex-wrap:nowrap}
.history-btn{min-height:40px;border:1px solid #cfdeeb;background:#fff;color:#0b4f86;border-radius:12px;padding:8px 11px;font-weight:800;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;box-shadow:0 4px 12px rgba(9,52,91,.07);transition:.18s ease;white-space:nowrap}
.history-btn:hover,.history-btn:focus-visible{background:#eaf4fb;border-color:#8eb6d4;transform:translateY(-1px)}
.history-btn:active{transform:translateY(0)}
.history-home{background:linear-gradient(135deg,#0b5f9e,#0b78c7);color:#fff;border-color:transparent}
.history-top{display:none}

.health-module .workspace-content{max-width:1500px!important;width:100%}
.health-module .dashboard-welcome{margin-bottom:18px!important;border:1px solid #d8e7f1!important;background:linear-gradient(135deg,#f9fcff,#edf6fc)!important;color:#17334c!important;box-shadow:0 12px 32px rgba(12,72,119,.09)!important}
.health-module .dashboard-welcome h1{color:#083b66!important}
.health-module .health-form-card,.health-module .card:has(> form){border:1px solid #d6e5ef!important;box-shadow:0 14px 36px rgba(9,58,97,.09)!important;overflow:visible!important}
.health-module form.form-grid,.health-module form.adhesion-inspired-form{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px 20px!important;
  padding:22px!important;
  background:linear-gradient(180deg,#fbfdff,#f4f8fc)!important;
  border:1px solid #d9e7f1!important;
  border-radius:20px!important;
  align-items:start!important;
}
.health-module form fieldset{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px 18px;
  margin:0;
  padding:20px;
  min-width:0;
  border:1px solid #cfdfea;
  border-radius:18px;
  background:#fff;
  box-shadow:0 6px 18px rgba(9,58,97,.05)
}
.health-module form fieldset legend{padding:0 10px;color:#0a568f;font-size:15px;font-weight:900;letter-spacing:.02em}
.health-module form label{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;margin:0!important;color:#17334c!important;font-weight:800!important;line-height:1.35!important}
.health-module form label.full,.health-module form .full{grid-column:1/-1!important}
.health-module form input,.health-module form select,.health-module form textarea{
  width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;
  border:1px solid #b9ccda!important;border-radius:12px!important;background:#fff!important;
  padding:12px 13px!important;color:#172c3d!important;box-shadow:inset 0 1px 2px rgba(0,0,0,.025)!important;
  transition:border-color .18s,box-shadow .18s,background .18s!important
}
.health-module form input:focus,.health-module form select:focus,.health-module form textarea:focus{outline:none!important;border-color:#1982c4!important;box-shadow:0 0 0 4px rgba(25,130,196,.13)!important;background:#fff!important}
.health-module form textarea{min-height:112px!important;resize:vertical!important}
.health-module form button[type=submit],.health-module form .form-submit-row{grid-column:1/-1!important;justify-self:start}
.health-module .health-section-note{grid-column:1/-1;margin:-4px 0 0;padding:11px 13px;border-radius:12px;background:#edf7ff;border-left:4px solid #1682c4;color:#38566c;font-size:13px;line-height:1.5}
.health-module .required-mark{color:#b42318;font-weight:900}
.health-module .sheet-header-clean{background:linear-gradient(135deg,#f6fbff,#fff);padding:18px;border:1px solid #d9e7f1;border-radius:18px;margin-bottom:20px}
.health-module .sheet-title-stack h2{font-size:clamp(20px,3vw,28px)!important;letter-spacing:.02em}
.health-module .sheet-footer-clean{margin-top:20px}
.health-module .table-wrap{border:1px solid #dce7ef;border-radius:16px;box-shadow:0 8px 22px rgba(9,58,97,.06)}
.health-module table thead th{position:sticky;top:0;z-index:3;background:#eaf4fb!important}

@media(max-width:1180px){
  .workspace-topbar{grid-template-columns:auto minmax(170px,1fr) minmax(180px,1fr) auto!important}
  .workspace-topbar .language-select{display:none}
  .history-btn span{display:none}
  .history-btn{width:42px;padding:8px}
}
@media(max-width:780px){
  .workspace-topbar{position:sticky!important;top:0!important;display:grid!important;grid-template-columns:1fr!important;padding:10px 12px 10px 72px!important;gap:9px!important}
  .history-controls{order:0;width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
  .history-btn{width:100%;height:42px;padding:7px 5px!important;font-size:20px;border-radius:11px}
  .history-btn span{display:none}
  .history-top{display:inline-flex}
  .workspace-welcome{order:1}.global-search-form{order:2}.top-actions{order:3}
  .workspace-welcome small{max-width:100%}
  .health-module form.form-grid,.health-module form.adhesion-inspired-form{grid-template-columns:1fr!important;padding:14px!important;gap:14px!important}
  .health-module form fieldset{grid-template-columns:1fr!important;padding:15px!important;gap:13px!important}
  .health-module .sheet-header-clean{padding:14px!important}
  .health-module .sheet-footer-clean{grid-template-columns:1fr!important}
}
@media print{
  .history-controls{display:none!important}
  .workspace-topbar{position:static!important;box-shadow:none!important}
}

/* FOBAK V54 — correction définitive des superpositions, barre fixe et menu pleine hauteur */
:root{--fobak-sidebar-width:280px;--fobak-topbar-gap:10px}

@media (min-width:781px){
  body.admin-layout{overflow-x:hidden!important}
  .app-shell{display:block!important;min-height:100vh!important}
  .side-dashboard{
    position:fixed!important;left:0!important;top:0!important;bottom:0!important;
    width:var(--fobak-sidebar-width)!important;height:100vh!important;min-height:100vh!important;
    max-height:100vh!important;overflow:hidden!important;z-index:100!important;
    display:flex!important;flex-direction:column!important;
    background:linear-gradient(180deg,#073e6a 0%,#052844 100%)!important;
  }
  .side-menu{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important}
  .side-user,.logout-btn{flex:0 0 auto!important}
  .workspace{margin-left:var(--fobak-sidebar-width)!important;width:calc(100% - var(--fobak-sidebar-width))!important;min-width:0!important}
  .workspace-topbar{
    position:sticky!important;top:0!important;z-index:90!important;width:100%!important;
    min-width:0!important;overflow:visible!important;
  }
  .workspace-content{min-width:0!important}
}

/* Écrans d'ordinateur moyens : deux lignes propres, sans chevauchement */
@media (min-width:781px) and (max-width:1280px){
  .workspace-topbar{
    display:grid!important;
    grid-template-columns:auto minmax(180px,1fr) auto!important;
    grid-template-areas:
      "history welcome actions"
      "search search language"!important;
    gap:9px 12px!important;padding:10px 14px!important;align-items:center!important;
  }
  .history-controls{grid-area:history!important;min-width:max-content!important}
  .workspace-welcome{grid-area:welcome!important;min-width:0!important}
  .workspace-welcome strong,.workspace-welcome small{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .global-search-form{grid-area:search!important;width:100%!important;max-width:none!important;min-width:0!important}
  .language-select{grid-area:language!important;display:block!important;width:132px!important;min-width:132px!important}
  .top-actions{grid-area:actions!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;min-width:max-content!important}
  .top-date{display:none!important}
  .history-btn{padding:8px 10px!important}
  .history-btn span{display:none!important}
}

/* Grands écrans : une ligne ordonnée */
@media (min-width:1281px){
  .workspace-topbar{
    display:grid!important;
    grid-template-columns:auto minmax(190px,1fr) minmax(250px,420px) 145px auto!important;
    gap:12px!important;padding:11px 18px!important;align-items:center!important;
  }
  .workspace-welcome,.global-search-form,.language-select,.top-actions,.history-controls{min-width:0!important}
  .top-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important}
}

/* Téléphones et tablettes : barre réellement fixe, menu sans espace blanc */
@media (max-width:780px){
  body.admin-layout{overflow-x:hidden!important}
  .app-shell{display:block!important;min-height:100dvh!important}
  .workspace{width:100%!important;min-width:0!important;margin:0!important}
  .workspace-topbar{
    position:sticky!important;top:0!important;z-index:850!important;
    display:grid!important;grid-template-columns:1fr!important;
    padding:10px 10px 10px 72px!important;gap:8px!important;
    background:rgba(255,255,255,.985)!important;
    border-bottom:1px solid #d8e4ef!important;
    box-shadow:0 8px 24px rgba(9,52,91,.12)!important;
    backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;
  }
  .history-controls{order:0!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;gap:6px!important}
  .history-btn{width:100%!important;min-width:0!important;height:40px!important;padding:5px!important;font-size:19px!important}
  .workspace-welcome{order:1!important;min-width:0!important}
  .workspace-welcome strong{font-size:18px!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere!important}
  .workspace-welcome small{font-size:13px!important;line-height:1.35!important;white-space:normal!important}
  .global-search-form{order:2!important;width:100%!important;min-width:0!important}
  .language-select{order:3!important;width:100%!important;display:block!important}
  .top-actions{order:4!important;width:100%!important;min-width:0!important}

  .side-dashboard{
    position:fixed!important;left:0!important;top:0!important;bottom:0!important;
    width:min(88vw,360px)!important;height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;
    display:flex!important;flex-direction:column!important;overflow:hidden!important;
    background:linear-gradient(180deg,#073e6a 0%,#052844 100%)!important;
    transform:translateX(-105%)!important;z-index:1390!important;
  }
  body.side-open .side-dashboard{transform:translateX(0)!important}
  .side-menu{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;background:transparent!important}
  .side-user,.logout-btn{flex:0 0 auto!important}
  .mobile-sidebar-toggle{position:fixed!important;z-index:1400!important}
  .workspace-content{padding-top:12px!important}
}

/* Empêche les anciens styles de désactiver le sticky */
@media screen{
  body.admin-layout .workspace-topbar{position:sticky!important;top:0!important}
}

/* FOBAK V55 — en-tête administratif fixe, sans superposition */
:root{
  --fobak-sidebar-width:280px;
  --fobak-topbar-height:126px;
}

@media screen and (min-width:781px){
  body.admin-layout{padding-top:0!important;overflow-x:hidden!important}
  body.admin-layout .workspace{
    margin-left:var(--fobak-sidebar-width)!important;
    width:calc(100% - var(--fobak-sidebar-width))!important;
    min-width:0!important;
  }
  body.admin-layout .workspace-topbar{
    position:fixed!important;
    top:0!important;
    left:var(--fobak-sidebar-width)!important;
    right:0!important;
    width:auto!important;
    min-height:var(--fobak-topbar-height)!important;
    z-index:1000!important;
    display:grid!important;
    grid-template-columns:minmax(250px,auto) minmax(220px,1fr) auto!important;
    grid-template-areas:
      "history welcome actions"
      "search search language"!important;
    align-items:center!important;
    gap:10px 14px!important;
    padding:12px 18px!important;
    overflow:visible!important;
    background:rgba(255,255,255,.98)!important;
    border-bottom:1px solid #d8e5ef!important;
    box-shadow:0 10px 28px rgba(5,48,84,.14)!important;
    backdrop-filter:blur(14px)!important;
    -webkit-backdrop-filter:blur(14px)!important;
  }
  body.admin-layout .workspace-content{
    padding-top:calc(var(--fobak-topbar-height) + 22px)!important;
  }
  body.admin-layout .history-controls{
    grid-area:history!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:8px!important;
    min-width:0!important;
  }
  body.admin-layout .history-btn{
    flex:0 0 auto!important;
    min-width:0!important;
    height:42px!important;
    padding:8px 12px!important;
    border-radius:12px!important;
    white-space:nowrap!important;
  }
  body.admin-layout .workspace-welcome{
    grid-area:welcome!important;
    min-width:0!important;
    text-align:left!important;
    padding:0!important;
  }
  body.admin-layout .workspace-welcome strong{
    display:block!important;
    font-size:18px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.admin-layout .workspace-welcome small{
    display:block!important;
    margin-top:3px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.admin-layout .global-search-form{
    grid-area:search!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
  }
  body.admin-layout .global-search-form input{
    min-width:0!important;
    height:46px!important;
  }
  body.admin-layout .language-select{
    grid-area:language!important;
    width:150px!important;
    min-width:150px!important;
    height:46px!important;
    margin:0!important;
  }
  body.admin-layout .top-actions{
    grid-area:actions!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
    gap:8px!important;
    min-width:max-content!important;
  }
  body.admin-layout .top-actions>a{
    flex:0 0 40px!important;
    width:40px!important;
    height:40px!important;
  }
  body.admin-layout .top-date{
    min-width:88px!important;
    padding-left:10px!important;
  }
}

/* Ordinateurs étroits : libellés réduits, mais aucun chevauchement */
@media screen and (min-width:781px) and (max-width:1180px){
  :root{--fobak-topbar-height:122px}
  body.admin-layout .workspace-topbar{
    grid-template-columns:auto minmax(180px,1fr) auto!important;
    padding:10px 12px!important;
    gap:8px 10px!important;
  }
  body.admin-layout .history-btn span{display:none!important}
  body.admin-layout .history-btn{width:42px!important;padding:0!important;justify-content:center!important;font-size:20px!important}
  body.admin-layout .top-date{display:none!important}
  body.admin-layout .language-select{width:128px!important;min-width:128px!important}
}

/* Téléphone/tablette : en-tête fixe et contenu automatiquement décalé */
@media screen and (max-width:780px){
  :root{--fobak-topbar-height:274px}
  body.admin-layout .workspace-topbar{
    position:fixed!important;
    top:0!important;left:0!important;right:0!important;width:100%!important;
    max-height:none!important;
    z-index:1350!important;
  }
  body.admin-layout .workspace-content{
    padding-top:calc(var(--fobak-topbar-height) + 12px)!important;
  }
  body.admin-layout .mobile-sidebar-toggle{z-index:1450!important}
}

/* FOBAK V56 — en-tête flottant bleu, harmonisé avec le menu latéral */
:root{
  --fobak-topbar-blue:#073e6a;
  --fobak-topbar-blue-dark:#052844;
  --fobak-topbar-border:rgba(255,255,255,.18);
  --fobak-topbar-text:#ffffff;
  --fobak-topbar-soft:#eaf6ff;
}

body.admin-layout .workspace-topbar{
  background:linear-gradient(135deg,rgba(7,62,106,.98) 0%,rgba(5,40,68,.98) 100%)!important;
  color:var(--fobak-topbar-text)!important;
  border:1px solid var(--fobak-topbar-border)!important;
  box-shadow:0 14px 34px rgba(3,31,55,.28),0 2px 8px rgba(3,31,55,.18)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
}

body.admin-layout .workspace-welcome strong,
body.admin-layout .workspace-welcome small{
  color:#fff!important;
}
body.admin-layout .workspace-welcome small{opacity:.82!important}

body.admin-layout .history-btn{
  color:#fff!important;
  background:rgba(255,255,255,.10)!important;
  border:1px solid rgba(255,255,255,.28)!important;
  box-shadow:0 5px 14px rgba(0,0,0,.14)!important;
}
body.admin-layout .history-btn:hover,
body.admin-layout .history-btn:focus-visible{
  color:#073e6a!important;
  background:#fff!important;
  border-color:#fff!important;
  transform:translateY(-1px)!important;
}
body.admin-layout .history-home{
  background:linear-gradient(135deg,#138bc8,#0b6aa7)!important;
  border-color:rgba(255,255,255,.42)!important;
}
body.admin-layout .history-top{
  background:rgba(255,214,46,.20)!important;
  border-color:rgba(255,224,104,.55)!important;
}

body.admin-layout .global-search-form{
  border-radius:16px!important;
  background:#fff!important;
  border:1px solid rgba(255,255,255,.72)!important;
  box-shadow:0 7px 18px rgba(0,0,0,.16)!important;
  overflow:hidden!important;
}
body.admin-layout .global-search-form input{
  color:#18354c!important;
  background:#fff!important;
  border:0!important;
}
body.admin-layout .global-search-form input::placeholder{color:#708195!important;opacity:1!important}
body.admin-layout .global-search-form button{
  color:#fff!important;
  background:linear-gradient(135deg,#1aa7df,#087db8)!important;
  border:0!important;
  min-width:48px!important;
}

body.admin-layout .language-select{
  color:#073e6a!important;
  background:#fff!important;
  border:1px solid rgba(255,255,255,.75)!important;
  box-shadow:0 7px 18px rgba(0,0,0,.14)!important;
  font-weight:800!important;
}

body.admin-layout .top-actions>a{
  color:#fff!important;
  background:rgba(255,255,255,.12)!important;
  border:1px solid rgba(255,255,255,.24)!important;
  box-shadow:0 5px 14px rgba(0,0,0,.13)!important;
}
body.admin-layout .top-actions>a:hover,
body.admin-layout .top-actions>a:focus-visible{
  background:#fff!important;
  color:#073e6a!important;
  transform:translateY(-1px)!important;
}
body.admin-layout .top-actions sup{
  color:#fff!important;
  background:#e51d35!important;
  border:2px solid #fff!important;
}
body.admin-layout .top-date{
  color:#fff!important;
  border-left-color:rgba(255,255,255,.28)!important;
}
body.admin-layout .top-date span,
body.admin-layout .top-date strong{color:#fff!important}

@media screen and (min-width:781px){
  body.admin-layout .workspace-topbar{
    top:10px!important;
    left:calc(var(--fobak-sidebar-width) + 12px)!important;
    right:12px!important;
    width:auto!important;
    border-radius:20px!important;
  }
  body.admin-layout .workspace-content{
    padding-top:calc(var(--fobak-topbar-height) + 32px)!important;
  }
}

@media screen and (max-width:780px){
  body.admin-layout .workspace-topbar{
    top:8px!important;
    left:8px!important;
    right:8px!important;
    width:calc(100% - 16px)!important;
    border-radius:18px!important;
    padding-left:72px!important;
  }
  body.admin-layout .workspace-content{
    padding-top:calc(var(--fobak-topbar-height) + 26px)!important;
  }
  body.admin-layout .history-controls{gap:6px!important}
  body.admin-layout .history-btn{
    min-height:42px!important;
    color:#fff!important;
    background:rgba(255,255,255,.12)!important;
  }
  body.admin-layout .top-actions{
    display:grid!important;
    grid-template-columns:repeat(4,44px) minmax(88px,1fr)!important;
    justify-content:start!important;
    gap:8px!important;
  }
  body.admin-layout .top-actions>a{
    width:44px!important;
    height:44px!important;
  }
  body.admin-layout .top-date{
    display:flex!important;
    min-width:0!important;
    padding-left:8px!important;
    border-left:1px solid rgba(255,255,255,.25)!important;
  }
}

@media screen and (max-width:460px){
  body.admin-layout .workspace-topbar{padding:9px 9px 9px 66px!important}
  body.admin-layout .history-btn span{display:none!important}
  body.admin-layout .history-btn{font-size:20px!important;padding:0!important}
  body.admin-layout .top-date{display:none!important}
  body.admin-layout .top-actions{grid-template-columns:repeat(4,44px)!important}
}

/* FOBAK V57 — en-tête collé en haut et au bord gauche du contenu */
@media screen and (min-width:781px){
  body.admin-layout .workspace-topbar{
    top:0!important;
    left:var(--fobak-sidebar-width)!important;
    right:0!important;
    width:auto!important;
    margin:0!important;
    border-top:0!important;
    border-left:0!important;
    border-right:0!important;
    border-radius:0 0 18px 18px!important;
    box-shadow:0 10px 26px rgba(3,31,55,.25)!important;
  }
  body.admin-layout .workspace-content{
    padding-top:calc(var(--fobak-topbar-height) + 18px)!important;
  }
}

@media screen and (max-width:780px){
  body.admin-layout .workspace-topbar{
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    margin:0!important;
    border-top:0!important;
    border-left:0!important;
    border-right:0!important;
    border-radius:0 0 16px 16px!important;
    box-shadow:0 9px 22px rgba(3,31,55,.24)!important;
  }
  body.admin-layout .workspace-content{
    padding-top:calc(var(--fobak-topbar-height) + 16px)!important;
  }
}

/* Préserve le contraste et la visibilité des commandes sur toutes les largeurs */
body.admin-layout .workspace-topbar button,
body.admin-layout .workspace-topbar a,
body.admin-layout .workspace-topbar select,
body.admin-layout .workspace-topbar input{
  position:relative!important;
  z-index:1!important;
}
body.admin-layout .history-controls,
body.admin-layout .workspace-welcome,
body.admin-layout .global-search-form,
body.admin-layout .language-select,
body.admin-layout .top-actions{
  min-width:0!important;
}

/* FOBAK V58 — bouton supérieur gauche fonctionnel : réduire/réafficher le menu latéral */
@media screen and (min-width:781px){
  body.admin-layout .side-dashboard{
    transition:transform .24s ease,visibility .24s ease,box-shadow .24s ease!important;
  }
  body.admin-layout.sidebar-collapsed .app-shell{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.admin-layout.sidebar-collapsed .side-dashboard{
    position:fixed!important;
    top:0!important;left:0!important;bottom:0!important;
    transform:translateX(-105%)!important;
    visibility:hidden!important;
    pointer-events:none!important;
    box-shadow:none!important;
  }
  body.admin-layout.sidebar-collapsed .workspace{
    width:100%!important;
    min-width:0!important;
    margin-left:0!important;
  }
  body.admin-layout.sidebar-collapsed .workspace-topbar{
    left:0!important;
    padding-left:78px!important;
  }
  body.admin-layout.sidebar-collapsed #mobile-sidebar-toggle{
    display:grid!important;
    place-items:center!important;
    position:fixed!important;
    top:12px!important;
    left:12px!important;
    z-index:1500!important;
    width:50px!important;
    height:50px!important;
    border:1px solid rgba(255,255,255,.35)!important;
    border-radius:15px!important;
    background:linear-gradient(135deg,#138bc8,#075b96)!important;
    color:#fff!important;
    font-size:27px!important;
    font-weight:900!important;
    box-shadow:0 10px 24px rgba(3,31,55,.30)!important;
    cursor:pointer!important;
  }
  body.admin-layout:not(.sidebar-collapsed) #mobile-sidebar-toggle{
    display:none!important;
  }
  body.admin-layout .sidebar-close-button{
    display:grid!important;
    place-items:center!important;
    transition:background .18s ease,transform .18s ease!important;
  }
  body.admin-layout .sidebar-close-button:hover,
  body.admin-layout .sidebar-close-button:focus-visible{
    background:#e3212e!important;
    transform:scale(1.04)!important;
    outline:3px solid rgba(255,255,255,.28)!important;
  }
}

/* FOBAK V60 — fermeture complète du menu sans vide blanc */
@media screen and (min-width:781px){
  body.admin-layout.sidebar-collapsed{
    --fobak-sidebar-width:0px!important;
  }
  body.admin-layout.sidebar-collapsed .app-shell{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }
  body.admin-layout.sidebar-collapsed .workspace{
    position:relative!important;
    left:0!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }
  body.admin-layout.sidebar-collapsed .workspace-topbar{
    top:0!important;
    left:0!important;
    right:0!important;
    width:100vw!important;
    max-width:100vw!important;
    margin:0!important;
    padding-left:78px!important;
    border-radius:0 0 18px 18px!important;
    box-sizing:border-box!important;
  }
  body.admin-layout.sidebar-collapsed .workspace-content,
  body.admin-layout.sidebar-collapsed .main-content{
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    box-sizing:border-box!important;
  }
  body.admin-layout.sidebar-collapsed #mobile-sidebar-toggle{
    top:10px!important;
    left:10px!important;
  }
}

/* V62 — photo réelle du profil dans le menu latéral */
.avatar-letter.avatar-photo{display:block!important;object-fit:cover!important;object-position:center!important;padding:0!important;border:3px solid rgba(255,255,255,.85)!important;background:#fff!important;color:transparent!important;box-shadow:0 5px 16px rgba(0,0,0,.22)!important}
.side-user .avatar-photo{width:46px!important;height:46px!important;min-width:46px!important;border-radius:50%!important}

/* V63 — tableau de bord épuré, statistiques enrichies et menus hiérarchiques */
.legacy-side-navigation{display:none!important}
.v63-side-navigation{display:grid;gap:4px}
.v63-side-navigation>.side-menu-group{border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.035)}
.v63-side-navigation>.side-menu-group[open]{background:rgba(255,255,255,.08)}
.v63-side-navigation .side-menu-group>summary{min-height:49px}
.v63-side-navigation .side-menu-group>summary b{transition:transform .18s ease}
.v63-side-navigation .side-menu-group[open]>summary b{transform:rotate(180deg)}
.side-menu-subgroup{margin:5px 0;border-radius:12px;background:rgba(2,37,67,.24);overflow:hidden}
.side-menu-subgroup>summary{display:flex;align-items:center;gap:9px;cursor:pointer;padding:11px 12px;list-style:none;font-weight:800;color:#fff}
.side-menu-subgroup>summary::-webkit-details-marker{display:none}
.side-menu-subgroup>summary b{margin-left:auto}
.side-menu-subgroup .health-submenu{padding:3px 7px 9px 15px;border-left:2px solid rgba(76,207,242,.55)}
.side-menu-subgroup .health-submenu a{min-height:40px!important;font-size:.86rem!important;padding:9px 11px!important}

/* FOBAK V70 — recherche avancée, guide de module et supervision des connexions */
.advanced-search-field{position:relative;min-width:0;width:100%}.advanced-search-form .advanced-search-field input{width:100%}
.advanced-search-results{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:1900;max-height:430px;overflow:auto;background:#fff;border:1px solid #c7d8e8;border-radius:16px;padding:7px;box-shadow:0 22px 55px rgba(3,37,66,.24);color:#102b4a}
.advanced-search-results[hidden]{display:none!important}.advanced-search-results a{display:grid!important;grid-template-columns:30px 1fr!important;gap:9px!important;align-items:center!important;padding:10px 11px!important;border-radius:11px!important;text-decoration:none!important;color:#12324f!important;background:#fff!important}
.advanced-search-results a:hover,.advanced-search-results a:focus{background:#edf6ff!important;outline:2px solid #8dc8f2}.advanced-search-results strong,.advanced-search-results small{display:block}.advanced-search-results small{margin-top:3px;color:#65768a;font-size:12px}.advanced-search-results .all-results{display:block!important;text-align:center!important;background:#073e6a!important;color:#fff!important;font-weight:900;margin-top:5px}
.side-search-results{position:relative;top:auto;margin:6px 4px 10px;flex:0 0 auto;max-height:300px}.side-search-results a{font-size:13px!important}.side-menu-search{position:relative}
.module-guide{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:18px;margin:0 0 20px;padding:18px 22px;background:linear-gradient(135deg,#eef8ff,#fffdf2);border:1px solid #bfdcef;border-left:6px solid #0b66c3;border-radius:19px;box-shadow:0 10px 26px rgba(5,54,91,.08)}
.module-guide-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:#073e6a;color:#fff;font-size:26px}.module-guide span{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:#0b66c3;font-weight:900}.module-guide h2{margin:3px 0 4px;font-size:21px;color:#102b4a}.module-guide p{margin:0;color:#536276;line-height:1.5}.module-guide ul{margin:0;padding:0;list-style:none;min-width:210px}.module-guide li{margin:6px 0;color:#17496e;font-weight:800}
.search-module-result{display:grid;grid-template-columns:40px 1fr;gap:10px;align-items:center;padding:12px;border-bottom:1px solid #e8eef5;text-decoration:none;color:#18344e}.search-module-result:hover{background:#f0f8ff;border-radius:12px}.search-module-result>span:first-child{font-size:25px}.search-module-result strong,.search-module-result small{display:block}.search-module-result small{color:#68798c;margin-top:3px}
.session-live-count{width:116px;height:116px;border-radius:50%;display:grid;place-content:center;text-align:center;background:#e8fff2;border:6px solid #fff;box-shadow:0 12px 35px rgba(16,137,78,.2);z-index:1}.session-live-count strong{font-size:35px;color:#10894e}.session-live-count span{color:#276546;font-weight:800}.connection-status{display:inline-block;padding:6px 9px;border-radius:999px;font-size:12px;font-weight:900;white-space:nowrap}.connection-status.online{background:#ddfbea;color:#087541}.connection-status.offline{background:#edf1f5;color:#697889}.cell-subtitle{display:block;margin-top:4px;color:#718095}.user-agent-cell{max-width:280px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:820px){.module-guide{grid-template-columns:48px 1fr;padding:15px}.module-guide ul{grid-column:1/-1;min-width:0}.session-live-count{width:90px;height:90px}.advanced-search-results{position:fixed;left:12px;right:12px;top:150px;max-height:55vh}}
.dashboard-welcome-v63{position:relative;overflow:hidden;background:linear-gradient(132deg,#073e6c 0%,#086b9e 62%,#0aa1b4 100%)!important;color:#fff!important;border:0!important;box-shadow:0 18px 42px rgba(6,70,111,.2)!important}
.dashboard-welcome-v63:after{content:"";position:absolute;width:360px;height:360px;border:70px solid rgba(255,255,255,.06);border-radius:50%;right:-160px;top:-190px;pointer-events:none}
.dashboard-welcome-v63 h1,.dashboard-welcome-v63 p,.dashboard-welcome-v63 .eyebrow{color:#fff!important}
.welcome-meta{display:flex;gap:9px;flex-wrap:wrap;margin:14px 0}
.welcome-meta span{display:inline-flex;align-items:center;min-height:34px;padding:6px 11px;border-radius:999px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);font-size:.86rem;font-weight:750}
.dashboard-stat-section,.communication-hub{margin:22px 0}
.dashboard-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:0 0 13px}
.dashboard-section-head h2{margin:3px 0 0;color:#0b3a66}
.dashboard-section-head>small{color:#62788c;text-align:right}
.kpi-grid-v63{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.kpi-link{text-decoration:none;color:inherit;position:relative;overflow:hidden;min-height:132px;border:1px solid #dce8f2!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.kpi-link:hover{transform:translateY(-4px);box-shadow:0 15px 35px rgba(9,70,112,.13);border-color:#7ebbdc!important}
.kpi-link>div:last-child{min-width:0;flex:1}
.kpi-link strong{font-size:clamp(1.45rem,2.5vw,2rem)!important;color:#0a466f!important;line-height:1.1}
.kpi-link span{display:block;margin-top:5px;color:#6d7f90}
.kpi-link i{display:block;position:relative;height:5px;background:#e6eef5;border-radius:99px;margin-top:13px;overflow:hidden}
.kpi-link i:after{content:"";display:block;width:var(--progress,0%);height:100%;border-radius:inherit;background:linear-gradient(90deg,#0878b6,#26b8cc)}
.kpi-icon.green{background:#def7e9;color:#087443}.kpi-icon.violet{background:#efe7ff;color:#6941c6}.kpi-icon.cyan{background:#dff8fb;color:#087f91}
.communication-counter{display:inline-flex;padding:8px 12px;border-radius:999px;background:#e8f5fc;color:#0b5d8b;font-weight:800;font-size:.82rem}
.dashboard-panels-v63{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.dashboard-panels-v63 .panel-card{margin:0;min-width:0;border-top:4px solid #1598bd}
.dashboard-panels-v63 .panel-head h3{margin:0;font-size:1.05rem;color:#0b3a66}
.empty-communication{display:grid;place-items:center;min-height:112px;text-align:center;color:#6b7e8e;background:#f6f9fb;border-radius:14px;padding:16px}
@media(max-width:1100px){.kpi-grid-v63,.dashboard-panels-v63{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-panels-v63 .panel-card:last-child{grid-column:1/-1}}
@media(max-width:680px){.kpi-grid-v63,.dashboard-panels-v63{grid-template-columns:1fr!important}.dashboard-panels-v63 .panel-card:last-child{grid-column:auto}.dashboard-section-head{align-items:flex-start;flex-direction:column}.dashboard-section-head>small{text-align:left}.kpi-link{min-height:116px}.welcome-meta{display:grid}.communication-counter{align-self:flex-start}}

/* V64 — modification membre et photo de carte entièrement visible */
.member-edit-photo{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;align-items:center;padding:16px;border:1px solid #d8e7f1;border-radius:18px;background:#f5fbfe}
.member-edit-photo img{grid-row:1/3;width:140px;height:175px;object-fit:contain;object-position:center;border:4px solid #1aa7d2;border-radius:14px;background:#fff}
.member-edit-photo small{color:#5d7182}
@media(max-width:680px){.member-edit-photo{grid-template-columns:1fr}.member-edit-photo img{grid-row:auto;margin:auto}}

/* FOBAK V75 — en-tête actif mais discret, sans recouvrir le contenu */
body.admin-layout .workspace-topbar{
  transition:none!important;
}
body.admin-layout .topbar-action-button{
  flex:0 0 auto;width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.28);
  border-radius:50%;background:rgba(255,255,255,.12);color:#fff;cursor:pointer;box-shadow:0 5px 14px rgba(0,0,0,.13);
}
body.admin-layout .topbar-action-button:hover,body.admin-layout .topbar-action-button:focus-visible{background:#fff;color:#073e6a;outline:3px solid rgba(255,210,30,.42)}
body.admin-layout .topbar-toggle-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
body.admin-layout:not(.topbar-compact) .topbar-search-expand{display:none!important}
body.admin-layout .workspace-content{padding-top:calc(var(--fobak-topbar-height) + 18px)!important}

body.admin-layout.topbar-compact .workspace-topbar{
  min-height:68px!important;height:auto!important;padding:8px 12px!important;
  grid-template-columns:auto minmax(170px,1fr) auto!important;
  grid-template-areas:"history welcome actions"!important;gap:8px 12px!important;overflow:visible!important;
}
body.admin-layout.topbar-compact .workspace-welcome small,
body.admin-layout.topbar-compact .global-search-form,
body.admin-layout.topbar-compact .language-select,
body.admin-layout.topbar-compact .top-date{display:none!important}
body.admin-layout.topbar-compact .workspace-welcome strong{font-size:16px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.admin-layout.topbar-compact .history-btn{width:40px!important;height:40px!important;padding:0!important;justify-content:center!important}
body.admin-layout.topbar-compact .history-btn span{display:none!important}
body.admin-layout.topbar-compact .top-actions{display:flex!important;width:auto!important;gap:6px!important;justify-content:flex-end!important}
body.admin-layout.topbar-compact .top-actions>a,
body.admin-layout.topbar-compact .topbar-action-button{width:40px!important;height:40px!important;min-height:40px!important}

.badge.spam{background:#ffe7e8;color:#9f1821}.badge.archived{background:#edf1f5;color:#536276}
.ticket-message-shell{padding:16px 18px;border:1px solid #d9e6f0;border-radius:18px;background:#f8fbff;overflow:hidden}
.ticket-message-shell.is-suspicious{border-color:#f2a4aa;background:#fff8f8}.spam-warning{margin:-16px -18px 14px;padding:11px 16px;background:#ffe7e8;color:#8f1720;font-weight:850}
.ticket-message-content{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.ticket-message-content.is-collapsed{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden;max-height:10em}
.ticket-message-content.is-expanded{display:block;max-height:none}.ticket-message-toggle{margin-top:12px}.ticket-quick-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.ticket-quick-actions form{margin:0}.btn.danger{background:#b4232d!important;color:#fff!important;border-color:#b4232d!important}
.ticket-history-item{display:grid!important;grid-template-columns:minmax(130px,220px) minmax(0,1fr) auto!important;gap:12px!important}.ticket-history-message,.ticket-title-clamp{overflow-wrap:anywhere}.ticket-title-clamp{display:inline-block;max-width:360px}.ticket-suspicious-row{background:#fff8f8}

@media screen and (max-width:1180px){
  body.admin-layout.topbar-compact .top-action-support,
  body.admin-layout.topbar-compact .top-action-security,
  body.admin-layout.topbar-compact .top-action-public{display:none!important}
}
@media screen and (max-width:780px){
  body.admin-layout.topbar-compact .workspace-topbar{
    min-height:66px!important;padding:8px 8px 8px 70px!important;
    grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"welcome actions"!important;border-radius:0 0 14px 14px!important;
  }
  body.admin-layout.topbar-compact .history-controls{display:none!important}
  body.admin-layout.topbar-compact .workspace-welcome{grid-area:welcome!important;align-self:center!important}
  body.admin-layout.topbar-compact .top-actions{grid-area:actions!important;display:flex!important;min-width:max-content!important}
  body.admin-layout.topbar-compact .top-actions>a,body.admin-layout.topbar-compact .topbar-action-button{width:42px!important;height:42px!important}
  body.admin-layout .workspace-content{padding-top:calc(var(--fobak-topbar-height) + 14px)!important}
  .ticket-history-item{grid-template-columns:1fr!important}.ticket-history-item small{color:#6b7c8c}
}
@media screen and (orientation:landscape) and (max-height:620px){
  body.admin-layout.topbar-compact .workspace-topbar{min-height:58px!important;padding-top:6px!important;padding-bottom:6px!important}
  body.admin-layout.topbar-compact .top-actions>a,body.admin-layout.topbar-compact .topbar-action-button{width:38px!important;height:38px!important;min-height:38px!important}
  body.admin-layout.topbar-compact .workspace-welcome strong{font-size:15px!important}
}

/* FOBAK V76 — protection visible et accessible des formulaires publics */
.human-verification{position:relative;margin:10px 0 4px;padding:17px 18px;border:2px solid #9bcce5;border-radius:17px;background:linear-gradient(135deg,#edf9ff,#fffdf2);overflow:hidden}
.human-verification legend{padding:0 9px;color:#073e6a;font-size:1rem;font-weight:900}.human-verification p{margin:0 0 12px;color:#4f6476}.human-verification .human-question{display:grid;grid-template-columns:minmax(190px,1fr) minmax(120px,220px);align-items:center;gap:14px;color:#143d5e;font-weight:850}.human-verification .human-question input{margin:0;background:#fff}.human-verification>small{display:block;margin-top:8px;color:#617588}.bot-trap{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.legal-consent{display:flex!important;align-items:flex-start!important;gap:13px;padding:17px 18px;border:2px solid #f0c94c;border-radius:17px;background:#fffbea;color:#223b50;font-weight:750;line-height:1.5}.legal-consent>input{flex:0 0 22px;width:22px!important;height:22px!important;min-height:22px!important;margin-top:2px;accent-color:#0878b6}.legal-consent a{color:#075c95;font-weight:900;text-decoration:underline}.legal-consent small{display:block;margin-top:5px;color:#66798a;font-weight:600}

/* FOBAK V79 — emblème rond officiel */
.official-emblem-mark img{width:168px!important;height:168px!important;max-height:none!important;object-fit:contain!important;filter:drop-shadow(0 12px 22px rgba(0,0,0,.24))}
.official-emblem-seal{width:124px!important;height:124px!important;min-width:124px!important;border-radius:50%!important;background:rgba(255,255,255,.96)!important;padding:5px!important}
.official-emblem-seal img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important}
.welcome-visual>img,.carousel-fallback-logo img{object-fit:contain!important}
@media(max-width:700px){.official-emblem-mark img{width:132px!important;height:132px!important}.official-emblem-seal{width:104px!important;height:104px!important;min-width:104px!important}}
@media(max-width:680px){.human-verification .human-question{grid-template-columns:1fr}.human-verification{padding:15px}.legal-consent{padding:15px}}

/* FOBAK V80 — chargement minimal et connexion lisible */
.page-loader .loader-minimal{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;text-align:center}
.loader-emblem-spin{display:block;width:156px;height:156px;object-fit:contain;animation:fobakEmblemSpin 2.35s linear infinite;filter:drop-shadow(0 14px 28px rgba(0,0,0,.32))}
.loader-minimal span{color:#fff;font-size:17px;font-weight:850;letter-spacing:.035em;text-shadow:0 2px 8px rgba(0,0,0,.35)}
@keyframes fobakEmblemSpin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.loader-emblem-spin{animation-duration:5s}}
.login-security-redesign .login-brand-mark.official-emblem-mark{display:flex!important;width:100%!important;align-items:center!important;justify-content:center!important;margin:0 auto 18px!important}
.login-security-redesign .login-visual>.eyebrow{align-self:center!important;color:#fff!important;opacity:1!important;background:rgba(2,33,58,.34)!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:999px!important;padding:8px 16px!important;text-shadow:0 1px 5px rgba(0,0,0,.35)!important}
@media(max-width:820px){
  .login-security-redesign .login-visual{display:flex!important;min-height:0!important;padding:24px 18px!important;align-items:center!important;text-align:center!important}
  .login-security-redesign .official-emblem-mark img{width:112px!important;height:112px!important}
  .login-security-redesign .login-visual h1{font-size:1.75rem!important;margin:.65rem 0!important}
  .login-security-redesign .login-visual p,.login-security-redesign .login-points{display:none!important}
}

/* V66 - aperçu des cartes avant téléchargement */
.card-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;border-left:7px solid #19a9d4}
.card-preview-toolbar strong,.card-preview-toolbar small{display:block}.card-preview-toolbar small{margin-top:6px;color:#617588}
.card-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.card-face-preview{display:flex;flex-direction:column;align-items:center;gap:16px;margin:0!important;background:linear-gradient(180deg,#fff,#f2f8fc)}
.card-face-preview>a:not(.btn){display:block;width:min(100%,720px);padding:12px;border-radius:20px;background:#dce7ee;box-shadow:inset 0 0 0 1px #c1d3df}
.card-face-preview img{display:block;width:100%;height:auto;border-radius:14px;box-shadow:0 14px 36px rgba(4,54,91,.2);transition:transform .2s ease}
.card-face-preview>a:hover img{transform:scale(1.015)}
.card-face-title{width:100%;display:flex;align-items:center;gap:12px;color:#073f6b}
.card-face-title>span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#07578d;color:#fff;font-weight:900}
.card-face-title strong,.card-face-title small{display:block}.card-face-title small{color:#65788a;margin-top:3px}
@media(max-width:900px){.card-preview-toolbar{align-items:flex-start;flex-direction:column}.card-preview-grid{grid-template-columns:1fr}.card-face-preview>a:not(.btn){width:min(100%,720px)}}

/* FOBAK V77 — répertoire provincial et dossier membre unifié */
.members-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}
.member-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 20px}
.member-stat-card{min-height:145px;padding:22px;border:1px solid #d5e5ef;border-radius:22px;background:linear-gradient(145deg,#fff,#f4f9fc);box-shadow:0 12px 30px rgba(6,70,111,.08);display:flex;flex-direction:column;gap:6px}
.member-stat-card.important{color:#fff;border-color:#075781;background:linear-gradient(145deg,#06466f,#087da6)}
.member-stat-card span{font-weight:750}.member-stat-card strong{font-size:2.5rem;line-height:1;color:#06466f}.member-stat-card.important strong{color:#ffd43b}.member-stat-card small{opacity:.76}
.section-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.section-title-row h2,.section-title-row p{margin-bottom:5px}
.province-current{padding:10px 15px;border-radius:999px;background:#e7f7fc;color:#06466f;font-weight:800}
.province-filter-form{display:grid;grid-template-columns:minmax(210px,1.5fr) minmax(150px,.8fr) 120px 120px auto;gap:12px;align-items:end}.province-filter-form label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.province-filter-form select,.province-filter-form input{width:100%;min-height:48px}
.province-chip-list{display:flex;gap:9px;overflow-x:auto;padding:16px 2px 3px;margin-top:10px;scrollbar-width:thin}.province-chip{display:flex;gap:12px;align-items:center;white-space:nowrap;padding:10px 13px;border:1px solid #cce1ed;border-radius:999px;background:#f8fcfe;color:#17465e;text-decoration:none}.province-chip strong{display:grid;place-items:center;min-width:27px;height:27px;border-radius:50%;background:#dff4fb;color:#06618d}.province-chip.selected{background:#06466f;color:#fff;border-color:#06466f}.province-chip.selected strong{background:#ffd43b;color:#06466f}
.directory-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.member-list{display:grid;gap:11px}.member-list-row{display:grid;grid-template-columns:68px 70px minmax(0,1fr) auto;gap:16px;align-items:center;padding:14px;border:1px solid #d8e6ee;border-radius:18px;background:#fff;transition:.18s ease}.member-list-row:hover{border-color:#1aafd7;box-shadow:0 10px 26px rgba(6,70,111,.1);transform:translateY(-1px)}.member-list-row.member-focus{outline:3px solid rgba(255,207,49,.75);background:#fffcf0}
.member-rank{display:flex;flex-direction:column;align-items:center;color:#5c7280}.member-rank span{font-size:.68rem;font-weight:800;text-transform:uppercase}.member-rank strong{font-size:1.35rem;color:#06466f}
.member-list-photo{width:64px;height:64px;border:3px solid #c8eaf5;border-radius:17px;overflow:hidden;background:#e8f6fb;display:grid;place-items:center;font-size:1.2rem;font-weight:900;color:#075781}.member-list-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}
.member-list-name{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.member-list-name h3{margin:0;color:#063e64}.member-list-main>p{margin:4px 0 8px}.member-list-meta{display:flex;flex-wrap:wrap;gap:8px 18px;color:#647786;font-size:.88rem}.member-list-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.directory-footer-actions{display:flex;flex-wrap:wrap;gap:18px;padding-top:18px;margin-top:18px;border-top:1px solid #d8e6ee}.directory-footer-actions a{font-weight:750}.empty-directory{text-align:center;padding:50px 20px;color:#617585}.empty-directory>span{font-size:2.5rem}
.member-profile-breadcrumb{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 14px;color:#657987}.member-profile-breadcrumb a{font-weight:700}.member-profile-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:26px;margin-bottom:14px;border-radius:26px;color:#fff;background:linear-gradient(135deg,#063e64,#087da6);box-shadow:0 18px 40px rgba(6,70,111,.2)}.member-profile-identity{display:flex;align-items:center;gap:20px}.member-profile-photo{width:126px;height:146px;border:4px solid #43c7e6;border-radius:22px;background:#fff;overflow:hidden;display:grid;place-items:center;color:#075781;font-size:2rem;font-weight:900;flex:none}.member-profile-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}.member-profile-hero h1{color:#fff;margin:4px 0}.member-profile-hero p{margin:0 0 12px;opacity:.9}.profile-badges{display:flex;flex-wrap:wrap;gap:8px}.profile-badges .badge{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.25)}.profile-badges .badge.active{background:#0a9d5a}.profile-badges .badge.executive{background:#ffd43b;color:#06466f}.member-profile-rank{min-width:180px;padding:20px;text-align:center;border-radius:20px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);display:flex;flex-direction:column}.member-profile-rank span{font-weight:700}.member-profile-rank strong{font-size:3rem;color:#ffd43b;line-height:1.1}.member-profile-rank small{opacity:.85}.member-profile-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px;padding:12px;border:1px solid #d7e7ef;border-radius:18px;background:#fff;position:sticky;top:8px;z-index:5;box-shadow:0 10px 25px rgba(6,70,111,.08)}
.member-profile-grid{align-items:start}.member-info-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0}.member-info-list>div{padding:13px 8px;border-bottom:1px solid #e1ebf0}.member-info-list dt{font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;color:#6a7e8b;font-weight:800}.member-info-list dd{margin:4px 0 0;color:#173d51;font-weight:700;overflow-wrap:anywhere}.contribution-total{font-size:1.5rem;color:#087da6}.profile-timeline-item{display:grid;grid-template-columns:12px 1fr;gap:11px;padding:11px 0;border-bottom:1px solid #e4edf2}.profile-timeline-item p,.profile-timeline-item small{margin:2px 0;color:#6a7c87}.timeline-dot{width:10px;height:10px;margin-top:6px;border-radius:50%;background:#1aafd7;box-shadow:0 0 0 4px #e3f7fc}.timeline-dot.success{background:#0a9d5a;box-shadow:0 0 0 4px #e1f7ec}.profile-empty{text-align:center;padding:28px;color:#6d808b}.profile-empty span{font-size:2rem}
.profile-card-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.profile-card-previews figure{margin:0;padding:12px;border-radius:20px;background:#edf4f8;border:1px solid #cfdee7}.profile-card-previews img{display:block;width:100%;height:auto;border-radius:14px;box-shadow:0 7px 20px rgba(0,0,0,.13)}.profile-card-previews figcaption{text-align:center;padding:10px 0 0;font-weight:800;color:#31566a}.profile-document-actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:16px}.profile-document-actions a{font-weight:750}.sensitive-actions summary{cursor:pointer;font-weight:800;color:#7c2733}.sensitive-actions>div{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}
@media(max-width:1050px){.member-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.province-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}.member-list-row{grid-template-columns:58px 64px minmax(0,1fr)}.member-list-actions{grid-column:2/-1;justify-content:flex-start}.member-profile-actions{position:static}}
@media(max-width:680px){.members-heading,.section-title-row,.member-profile-hero{align-items:stretch;flex-direction:column}.member-stat-grid{grid-template-columns:1fr 1fr;gap:9px}.member-stat-card{min-height:120px;padding:15px}.member-stat-card strong{font-size:2rem}.province-filter-form{grid-template-columns:1fr}.member-list-row{grid-template-columns:48px 54px minmax(0,1fr);padding:11px;gap:9px}.member-list-photo{width:52px;height:58px;border-radius:13px}.member-list-meta{display:grid;gap:4px}.member-list-actions{grid-column:1/-1}.member-list-actions .btn{flex:1}.member-profile-identity{align-items:flex-start}.member-profile-photo{width:92px;height:112px}.member-profile-rank{min-width:0}.member-profile-actions .btn{flex:1 1 45%}.member-info-list{grid-template-columns:1fr}.profile-card-previews{grid-template-columns:1fr}}

/* V81 — biographie publique du Président national */
.president-biography-public{margin:24px 0;padding:30px;border:1px solid #cfe2ec;border-radius:28px;background:linear-gradient(145deg,#fff,#f3f9fc);box-shadow:0 16px 38px rgba(6,70,111,.09)}
.president-biography-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.president-biography-heading h2{margin:4px 0 7px;color:#063f66}.president-biography-heading p{margin:0;color:#617783}
.president-biography-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:28px;align-items:start}.president-biography-profile{text-align:center;padding:20px;border-radius:23px;color:#fff;background:linear-gradient(145deg,#063f66,#087fa8)}
.president-biography-profile img,.president-biography-placeholder{width:180px;height:210px;margin:auto;border:5px solid #fff;border-radius:23px;object-fit:cover;object-position:center top;background:#e6f5fa}.president-biography-placeholder{display:grid;place-items:center;color:#075781;font-size:3rem;font-weight:900}
.president-biography-profile h3{color:#fff;margin:16px 0 5px}.president-biography-profile strong{color:#ffd43b}.biography-lead{font-size:1.06rem;line-height:1.75;margin-top:0}
.president-biography-content details{margin:11px 0;border:1px solid #d6e6ee;border-radius:16px;background:#fff;overflow:hidden}.president-biography-content summary{cursor:pointer;padding:15px 18px;font-weight:850;color:#06466f;background:#f5fafc}.president-biography-content details p{padding:0 18px 18px;line-height:1.72;white-space:pre-line}
.biography-admin-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
@media(max-width:800px){.president-biography-heading,.biography-admin-header{flex-direction:column}.president-biography-layout{grid-template-columns:1fr}.president-biography-profile img,.president-biography-placeholder{width:150px;height:175px}.president-biography-public{padding:20px}}

/* V82 — identité visuelle propre et responsables */
.site-header.public-header{grid-template-columns:112px minmax(0,1fr) 88px!important;gap:18px!important;padding:10px 22px!important;min-height:94px!important;border-radius:0!important;background:linear-gradient(110deg,#0a4f86 0%,#1284bb 68%,#20b7dc 100%)!important;border-bottom:4px solid #f6cf2e!important;box-shadow:0 8px 24px rgba(4,47,80,.16)!important;overflow:visible!important}
.site-header.public-header .logo-box{width:92px!important;height:72px!important;padding:5px!important;margin:0!important;border-radius:16px!important;background:#fff!important;border:1px solid rgba(255,255,255,.9)!important;box-shadow:0 5px 14px rgba(5,45,75,.18)!important;display:flex!important;align-items:center!important;justify-content:center!important}
.site-header.public-header .logo-box img{width:100%!important;height:100%!important;max-width:82px!important;max-height:64px!important;object-fit:contain!important;filter:none!important}
.site-header.public-header .brand-block{text-align:center!important;color:#fff!important}.site-header.public-header .brand-block strong{font-size:27px!important;line-height:1.15!important}.site-header.public-header .brand-block span{font-weight:700!important}.site-header.public-header .brand-block em{opacity:.95!important}
.site-header.public-header .flag-real{width:82px!important;height:56px!important;padding:3px!important;border-radius:10px!important;background:#fff!important;box-shadow:0 4px 12px rgba(5,45,75,.18)!important;display:flex!important;align-items:center!important;justify-content:center!important}.site-header.public-header .flag-real img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:7px!important}
.public-leaders-section{margin:34px 0;padding:28px;border-radius:26px;background:linear-gradient(180deg,#f8fcff,#eef7fc);border:1px solid #d8eaf4}.public-leaders-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:20px}.public-leader-card{display:grid;grid-template-columns:112px 1fr;gap:16px;padding:18px;background:#fff;border:1px solid #dceaf2;border-radius:20px;box-shadow:0 10px 24px rgba(8,58,94,.08)}.public-leader-card.is-featured{grid-column:span 2;border-color:#e8c645;background:linear-gradient(135deg,#fff,#fffdf2)}.public-leader-photo{width:112px;height:138px;border-radius:16px;overflow:hidden;background:linear-gradient(145deg,#0b5f96,#25b4db);display:flex;align-items:center;justify-content:center;color:#fff;font-size:44px;font-weight:800}.public-leader-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}.public-leader-body h3{margin:6px 0 2px}.public-leader-body strong{color:#0c679a}.public-leader-body p{font-size:14px;line-height:1.55;color:#526473}.leader-level{display:inline-block;padding:4px 9px;border-radius:999px;background:#e7f4fb;color:#0a668f;font-size:12px;font-weight:800}.leader-admin-thumb,.leader-admin-avatar{width:52px;height:58px;border-radius:10px;object-fit:cover;display:flex;align-items:center;justify-content:center;background:#0b6799;color:white;font-weight:800}.leaders-admin-list td small{display:block;color:#607484}.leader-editor-panel{max-width:1000px}.leader-checks{display:flex;gap:22px;align-items:center}.leader-checks label{display:flex;gap:8px;align-items:center}.inline-actions form{margin:0}
@media(max-width:700px){.site-header.public-header{grid-template-columns:72px 1fr 58px!important;gap:9px!important;padding:9px 10px!important;min-height:76px!important}.site-header.public-header .logo-box{width:64px!important;height:58px!important;border-radius:12px!important}.site-header.public-header .logo-box img{max-width:56px!important;max-height:50px!important}.site-header.public-header .brand-block strong{font-size:17px!important}.site-header.public-header .brand-block span,.site-header.public-header .brand-block em{font-size:10px!important}.site-header.public-header .flag-real{display:flex!important;width:56px!important;height:40px!important}.public-leader-card,.public-leader-card.is-featured{grid-column:span 1;grid-template-columns:88px 1fr}.public-leader-photo{width:88px;height:110px}.public-leaders-section{padding:18px}}

/* V83 - communication et chat */
.chat-list-item{display:flex;flex-direction:column;padding:14px;border:1px solid #dbe4ef;border-radius:12px;margin:8px 0;text-decoration:none}.chat-list-item small{opacity:.7}.chat-panel{max-width:1000px;margin:auto}.chat-messages{min-height:420px;max-height:65vh;overflow:auto;padding:12px;background:#f6f8fb;border-radius:14px}.chat-message{max-width:78%;background:white;border:1px solid #dde5ee;border-radius:14px;padding:10px 14px;margin:10px 0}.chat-message.mine{margin-left:auto;background:#e9f4ff}.chat-message header{display:flex;justify-content:space-between;gap:15px}.chat-message img,.chat-message video{max-width:100%;max-height:420px;border-radius:10px;margin-top:8px}.chat-compose{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:12px}.chat-compose textarea{grid-column:1/-1}@media(max-width:700px){.chat-message{max-width:95%}}
/* V84 - chat instantané professionnel */
.chat-home-grid{align-items:start}.chat-start-form{display:grid;gap:12px}.chat-list-row{display:flex;gap:8px;align-items:center}.chat-list-row .chat-list-item{flex:1}.chat-list-row form{margin:0}.btn.small{padding:8px 10px}.chat-panel{max-width:1100px}.chat-message{position:relative}.chat-message .delete-message{position:absolute;right:6px;bottom:4px;border:0;background:transparent;opacity:.55;cursor:pointer}.chat-message.mine .delete-message{display:block}.chat-sticker{font-size:3rem;line-height:1.2}.chat-compose{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}.chat-compose textarea{grid-column:auto;min-height:48px;resize:vertical}.chat-tools{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.chat-tools .file-btn input{display:none}.sticker-panel{padding:10px;border:1px solid #dbe4ef;border-radius:12px;background:#fff;margin-top:10px}.sticker-btn{font-size:1.8rem;border:0;background:transparent;padding:7px;cursor:pointer;border-radius:8px}.sticker-btn:hover{background:#edf5ff}@media(max-width:700px){.chat-compose{grid-template-columns:1fr}.chat-tools{justify-content:space-between}.chat-message{max-width:92%}}

/* V85 — Sons et notifications du chat */
.chat-header-actions{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}.chat-settings-modal{position:fixed;inset:0;background:rgba(3,20,38,.62);z-index:9999;display:grid;place-items:center;padding:1rem}.chat-settings-modal[hidden]{display:none}.chat-settings-card{width:min(560px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:20px;padding:1.25rem;box-shadow:0 24px 70px rgba(0,0,0,.3)}.chat-settings-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dce7f1;padding-bottom:.75rem;margin-bottom:.4rem}.chat-settings-head h2{margin:0}.icon-btn{border:0;background:#eef5fb;border-radius:50%;width:38px;height:38px;font-size:1.05rem;cursor:pointer}.setting-row{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.85rem .1rem;border-bottom:1px solid #edf2f7}.setting-row span{display:flex;flex-direction:column;gap:.2rem}.setting-row small{color:#5f7082}.setting-row input[type=checkbox]{width:22px;height:22px;accent-color:#0b74bd}.setting-row input[type=range]{width:min(220px,45vw)}.chat-settings-actions{display:flex;justify-content:flex-end;gap:.65rem;margin-top:1rem;flex-wrap:wrap}@media(max-width:600px){.setting-row{align-items:flex-start}.chat-header-actions{width:100%}.chat-header-actions .btn{flex:1}.chat-settings-actions .btn{flex:1}}
.chat-reply,.reply-preview{border-left:4px solid currentColor;padding:.45rem .7rem;margin:.35rem 0;background:rgba(127,127,127,.1);border-radius:.35rem}.reply-preview{display:flex;justify-content:space-between;gap:1rem}.chat-message .reply-message,.chat-message .edit-message{border:0;background:transparent;cursor:pointer}.chat-list-head{display:flex;justify-content:space-between;gap:1rem;align-items:center}.chat-list-row form{display:flex;gap:.25rem}

/* V87 - actions avancées du chat */
.message-actions{display:flex;gap:.28rem;flex-wrap:wrap;margin-top:.35rem;opacity:.78}.message-actions button{border:0;background:rgba(255,255,255,.75);border-radius:999px;padding:.25rem .42rem;cursor:pointer}.message-actions button:hover{transform:translateY(-1px);opacity:1}.reaction-summary{display:flex;gap:.3rem;flex-wrap:wrap;margin-top:.25rem}.reaction-summary span{background:rgba(0,0,0,.07);border-radius:999px;padding:.16rem .45rem;font-size:.82rem}.chat-message.mine .message-actions button{background:rgba(255,255,255,.9)}

/* V88 — widget anti-robot moderne */
.human-verification{border:1px solid #d9e5ef;border-radius:16px;padding:18px;background:#f8fbfd}
.recaptcha-wrap{display:flex;justify-content:flex-start;align-items:center;min-height:82px;margin:10px 0;overflow-x:auto}
.g-recaptcha{transform-origin:left top}
@media (max-width:380px){.g-recaptcha{transform:scale(.88);margin-bottom:-10px}}

/* V92 — Messagerie professionnelle et accès direct */
.chat-portal-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 30px;margin-bottom:18px;border-radius:24px;background:linear-gradient(135deg,#063e68,#0781b5);color:#fff;box-shadow:0 16px 40px rgba(5,66,111,.18)}
.chat-portal-hero h1{margin:4px 0 6px;font-size:clamp(28px,4vw,42px)}.chat-portal-hero p{margin:0;opacity:.9}.chat-portal-hero .eyebrow{color:#bdefff}.chat-portal-hero .btn{background:#fff;color:#07568e}
.chat-channel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px}.chat-channel-card{display:flex;align-items:center;gap:16px;padding:20px;border:1px solid #cfe3ef;border-radius:20px;background:#fff;text-decoration:none;color:#092f4d;box-shadow:0 10px 24px rgba(10,66,100,.08);transition:.2s}.chat-channel-card:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(10,66,100,.14)}.chat-channel-card.province{background:linear-gradient(135deg,#fff,#f0fbff)}.chat-channel-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:17px;background:#e4f5fc;font-size:27px}.chat-channel-card div{display:flex;flex-direction:column;gap:3px;flex:1}.chat-channel-card small{color:#517083}.chat-channel-card strong{font-size:18px}.chat-channel-card em{font-style:normal;font-size:13px;color:#668093}.chat-channel-card>b{font-size:28px;color:#0a7fb4}
.chat-layout-professional{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:18px}.chat-compose-panel,.chat-conversation-panel{border-radius:22px}.professional-form{display:grid;gap:12px}.professional-form label{display:grid;gap:7px;font-weight:700}.professional-form select,.professional-form input,.chat-search input{width:100%;min-height:46px;border:1px solid #c8dce8;border-radius:12px;padding:10px 12px;background:#fff}.professional-form select[multiple]{min-height:190px}.wide{width:100%;justify-content:center}.chat-divider{display:flex;align-items:center;gap:10px;margin:18px 0;color:#718797}.chat-divider:before,.chat-divider:after{content:"";height:1px;flex:1;background:#d9e6ed}.group-creator summary{cursor:pointer;font-weight:800;color:#07568e;padding:12px;border-radius:12px;background:#eef8fc}.group-creator[open] summary{margin-bottom:14px}.chat-list-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px}.chat-list-head h2{margin-bottom:2px}.chat-list-head small{color:#6a8292}.chat-search{display:flex;gap:8px;min-width:260px}.chat-list-professional{display:grid;gap:10px;margin-top:18px}.chat-list-row.professional{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #dbe8ef;border-radius:16px;background:#fbfdff}.chat-list-item{display:flex;align-items:center;gap:12px;flex:1;padding:8px;text-decoration:none;color:#092f4d}.chat-list-item>span:last-child{display:flex;flex-direction:column;gap:4px}.chat-avatar{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:#e7f5fb;font-size:22px}.unread-badge{display:inline-grid;place-items:center;min-width:22px;height:22px;margin-left:7px;padding:0 6px;border-radius:999px;background:#ef3d4d;color:#fff}.chat-row-actions{display:flex;gap:4px}.chat-row-actions form{display:flex}.icon-btn{border:0;background:#eef6fa;border-radius:9px;padding:8px;cursor:pointer}.icon-btn.danger{background:#fff0f1}.chat-empty{text-align:center;padding:45px 20px;color:#718797}.chat-empty span{font-size:42px;display:block}.chat-empty strong{display:block;color:#173f59;font-size:18px;margin:8px}
.dashboard-chat-widget{display:grid;grid-template-columns:1.4fr auto;gap:20px;margin:20px 0;padding:22px;border-radius:22px;background:linear-gradient(135deg,#072f50,#087ba9);color:#fff;box-shadow:0 16px 38px rgba(5,66,111,.18)}.dashboard-chat-main{display:flex;align-items:center;gap:16px}.chat-live-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:20px;background:rgba(255,255,255,.14);font-size:30px}.dashboard-chat-main h2{margin:2px 0 4px}.dashboard-chat-main p{margin:0;opacity:.88}.dashboard-chat-main .eyebrow{color:#aee9ff}.dashboard-chat-status{display:grid;grid-template-columns:auto auto;align-items:center;column-gap:9px;text-align:right}.dashboard-chat-status strong{font-size:30px}.dashboard-chat-status small{opacity:.8}.dashboard-chat-status .btn{grid-column:1/-1;margin-top:8px;background:#fff;color:#07568e}.dashboard-chat-recent{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.dashboard-chat-recent a{display:flex;align-items:center;gap:9px;padding:11px;border-radius:13px;background:rgba(255,255,255,.1);color:#fff;text-decoration:none}.dashboard-chat-recent a div{display:flex;flex-direction:column;min-width:0;flex:1}.dashboard-chat-recent a strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-chat-recent a small{opacity:.75}
@media(max-width:900px){.chat-layout-professional{grid-template-columns:1fr}.chat-channel-grid{grid-template-columns:1fr}.dashboard-chat-recent{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.chat-portal-hero{align-items:flex-start;flex-direction:column;padding:20px}.chat-list-head{align-items:stretch;flex-direction:column}.chat-search{min-width:0;width:100%}.dashboard-chat-widget{grid-template-columns:1fr}.dashboard-chat-status{text-align:left;grid-template-columns:auto 1fr}.dashboard-chat-recent{grid-template-columns:1fr}.chat-list-row.professional{align-items:flex-start}.chat-row-actions{flex-direction:column}.chat-channel-card{padding:15px}}
/* V93 — chat professionnel */
.chat-room-shell{max-width:1500px;margin:0 auto}.chat-room-header{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:18px 22px;margin-bottom:16px;border-radius:22px;background:linear-gradient(135deg,#073e70,#0b8fc2);color:#fff;box-shadow:0 16px 36px rgba(3,67,110,.18)}.chat-room-identity{display:flex;gap:15px;align-items:center}.chat-room-avatar{display:grid;place-items:center;width:62px;height:62px;border-radius:20px;background:rgba(255,255,255,.18);font-size:30px}.chat-room-header h1{margin:0;font-size:clamp(24px,3vw,38px);line-height:1.1;overflow-wrap:anywhere}.chat-room-header p,.chat-room-header small{display:block;margin:4px 0 0;color:#e7f7ff}.chat-room-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px}.chat-panel{min-height:680px;display:flex;flex-direction:column;padding:0;overflow:hidden;border-radius:24px}.chat-messages{flex:1;min-height:500px;max-height:68vh;overflow:auto;padding:26px;background:linear-gradient(#f7fbfe,#eef6fb)}.chat-message{max-width:76%;margin:0 0 16px;padding:13px 16px;border-radius:18px 18px 18px 5px;background:#fff;box-shadow:0 5px 18px rgba(6,63,99,.08);overflow-wrap:anywhere}.chat-message.mine{margin-left:auto;border-radius:18px 18px 5px 18px;background:#dff5ff}.chat-message header{display:flex;justify-content:space-between;gap:14px;margin-bottom:7px}.chat-message img,.chat-message video{max-width:100%;border-radius:14px;margin-top:8px}.chat-compose{position:sticky;bottom:0;padding:16px 18px;background:#fff;border-top:1px solid #dbe8ef}.chat-compose textarea{width:100%;min-height:78px;resize:vertical;border:1px solid #bcd4e2;border-radius:16px;padding:14px;font-size:16px}.chat-tools{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:10px}.chat-room-sidebar{display:grid;gap:18px;align-content:start}.chat-room-sidebar .card{border-radius:22px;padding:18px}.side-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.side-title h2{margin:0}.side-title span{background:#e5f4fb;border-radius:999px;padding:5px 10px;font-weight:800}.member-chip-list{display:grid;gap:9px;max-height:240px;overflow:auto;margin-bottom:15px}.member-chip{display:flex;gap:10px;align-items:center;padding:8px;border-radius:13px;background:#f4f9fc}.member-chip>span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#0c7faf;color:white;font-weight:800}.member-chip div{display:flex;flex-direction:column;min-width:0}.member-chip strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compact{gap:9px}.compact input,.compact select,.compact textarea{font-size:14px}.meeting-list{display:grid;gap:8px;margin-top:14px}.meeting-list article{padding:10px;border-left:4px solid #0b8fc2;background:#f3f9fc;border-radius:9px}.meeting-list small{display:block;color:#627b8b;margin-top:3px}.chat-empty-state{text-align:center;padding:90px 20px;color:#6b8190}.chat-empty-state span{font-size:50px}.chat-empty-state h3{color:#173f59}.message-actions{opacity:.65}.chat-message:hover .message-actions{opacity:1}
@media(max-width:1050px){.chat-room-grid{grid-template-columns:1fr}.chat-room-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-messages{max-height:60vh}}
@media(max-width:700px){.chat-room-header{align-items:flex-start;flex-direction:column}.chat-header-actions{width:100%;display:flex}.chat-header-actions>*{flex:1}.chat-room-sidebar{grid-template-columns:1fr}.chat-message{max-width:90%}.chat-messages{padding:14px}.chat-tools .btn{padding:10px 12px}.chat-panel{min-height:620px}}

/* V94 — espace membre complet */
.member-account-overview{margin:1rem 0}.member-account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.member-account-grid>div{padding:16px;border:1px solid #d7e6f4;border-radius:16px;background:linear-gradient(145deg,#fff,#f5faff);display:flex;flex-direction:column;gap:6px;min-width:0}.member-account-grid small{color:#60758a}.member-account-grid strong{overflow-wrap:anywhere;color:#0b3155}.member-meeting-list{display:grid;gap:10px}.member-meeting-list>a{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:14px;border:1px solid #d9e7f3;border-radius:15px;text-decoration:none;color:inherit;background:#fff}.member-meeting-list>a:hover{box-shadow:0 8px 24px rgba(8,62,105,.10);transform:translateY(-1px)}.member-meeting-list p{margin:4px 0 0;color:#5f7182}.member-quick-actions{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important}
@media(max-width:760px){.member-account-grid{grid-template-columns:1fr}.member-hero{padding:18px}.member-identity{align-items:flex-start}.member-stats{grid-template-columns:1fr 1fr}.member-quick-actions{grid-template-columns:1fr 1fr!important}.member-account-overview,.member-meetings-card{border-radius:18px}}
@media(max-width:480px){.member-stats,.member-quick-actions{grid-template-columns:1fr!important}}

/* V94 — espace membre complet */
.member-account-overview{margin:1rem 0}.member-account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.member-account-grid>div{padding:16px;border:1px solid #d7e6f4;border-radius:16px;background:linear-gradient(145deg,#fff,#f5faff);display:flex;flex-direction:column;gap:6px;min-width:0}.member-account-grid small{color:#60758a}.member-account-grid strong{overflow-wrap:anywhere;color:#0b3155}.member-meeting-list{display:grid;gap:10px}.member-meeting-list>a{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:14px;border:1px solid #d9e7f3;border-radius:15px;text-decoration:none;color:inherit;background:#fff}.member-meeting-list>a:hover{box-shadow:0 8px 24px rgba(8,62,105,.10);transform:translateY(-1px)}.member-meeting-list p{margin:4px 0 0;color:#5f7182}.member-quick-actions{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important}
@media(max-width:760px){.member-account-grid{grid-template-columns:1fr}.member-hero{padding:18px}.member-identity{align-items:flex-start}.member-stats{grid-template-columns:1fr 1fr}.member-quick-actions{grid-template-columns:1fr 1fr!important}.member-account-overview,.member-meetings-card{border-radius:18px}}
@media(max-width:480px){.member-stats,.member-quick-actions{grid-template-columns:1fr!important}}

/* V94 — espace membre complet */
.member-account-overview{margin:1rem 0}.member-account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.member-account-grid>div{padding:16px;border:1px solid #d7e6f4;border-radius:16px;background:linear-gradient(145deg,#fff,#f5faff);display:flex;flex-direction:column;gap:6px;min-width:0}.member-account-grid small{color:#60758a}.member-account-grid strong{overflow-wrap:anywhere;color:#0b3155}.member-meeting-list{display:grid;gap:10px}.member-meeting-list>a{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:14px;border:1px solid #d9e7f3;border-radius:15px;text-decoration:none;color:inherit;background:#fff}.member-meeting-list>a:hover{box-shadow:0 8px 24px rgba(8,62,105,.10);transform:translateY(-1px)}.member-meeting-list p{margin:4px 0 0;color:#5f7182}.member-quick-actions{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important}
@media(max-width:760px){.member-account-grid{grid-template-columns:1fr}.member-hero{padding:18px}.member-identity{align-items:flex-start}.member-stats{grid-template-columns:1fr 1fr}.member-quick-actions{grid-template-columns:1fr 1fr!important}.member-account-overview,.member-meetings-card{border-radius:18px}}
@media(max-width:480px){.member-stats,.member-quick-actions{grid-template-columns:1fr!important}}


/* V96 — Connexion institutionnelle et gestion professionnelle des numéros */
.auth-premium-shell{max-width:1180px;margin:34px auto;display:grid;grid-template-columns:1.08fr .92fr;min-height:680px;border-radius:30px;overflow:hidden;background:#fff;box-shadow:0 28px 80px rgba(4,35,62,.20);border:1px solid rgba(9,76,125,.12)}
.auth-premium-brand{position:relative;padding:58px 60px;color:#fff;background:radial-gradient(circle at 15% 8%,rgba(31,187,214,.30),transparent 32%),linear-gradient(145deg,#042b50 0%,#075b8e 58%,#087b78 100%);display:flex;flex-direction:column;justify-content:center;overflow:hidden}
.auth-premium-brand:after{content:"";position:absolute;right:-110px;bottom:-130px;width:360px;height:360px;border:1px solid rgba(255,255,255,.15);border-radius:50%;box-shadow:0 0 0 50px rgba(255,255,255,.04),0 0 0 100px rgba(255,255,255,.025)}
.auth-home-link{position:absolute;top:28px;left:34px;color:#fff;text-decoration:none;font-weight:750;opacity:.9;z-index:2}.auth-home-link:hover{opacity:1;text-decoration:underline}
.auth-emblem-wrap{width:150px;height:150px;border-radius:30px;background:rgba(255,255,255,.96);display:grid;place-items:center;padding:14px;box-shadow:0 18px 42px rgba(0,0,0,.22);margin-bottom:24px;z-index:1}.auth-emblem-wrap img{max-width:100%;max-height:100%;object-fit:contain}
.auth-kicker{display:inline-flex;align-self:flex-start;padding:8px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.25);background:rgba(0,25,50,.22);font-weight:800;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;z-index:1}
.auth-premium-brand h1{font-size:clamp(2.3rem,4vw,4rem);line-height:1.02;margin:16px 0 14px;max-width:650px;z-index:1}.auth-intro{font-size:1.08rem;line-height:1.7;max-width:600px;color:rgba(255,255,255,.9);z-index:1}
.auth-trust-grid{display:grid;gap:12px;margin:26px 0;z-index:1}.auth-trust-grid>div{display:flex;gap:13px;align-items:center;padding:13px 15px;border-radius:16px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.13)}.auth-trust-grid b{font-size:1.35rem}.auth-trust-grid span{display:grid}.auth-trust-grid strong{font-size:.98rem}.auth-trust-grid small{color:rgba(255,255,255,.75);margin-top:2px}.auth-official-note{font-size:.8rem;letter-spacing:.04em;color:rgba(255,255,255,.72);z-index:1}
.auth-premium-card{padding:62px 58px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(180deg,#fff,#f8fbfe)}.auth-card-heading{display:flex;gap:16px;align-items:flex-start;margin-bottom:28px}.auth-card-heading small{font-weight:850;text-transform:uppercase;letter-spacing:.1em;color:#08758c}.auth-card-heading h2{font-size:2.4rem;margin:3px 0 4px;color:#083a62}.auth-card-heading p{margin:0;color:#667b8f}.auth-shield{width:54px;height:54px;display:grid;place-items:center;border-radius:17px;background:linear-gradient(135deg,#e9f7ff,#def8ef);color:#087d6e;font-size:1.45rem;font-weight:900;box-shadow:inset 0 0 0 1px rgba(7,103,133,.12)}
.auth-premium-form{display:grid;gap:10px}.auth-premium-form>label:not(.auth-remember){font-weight:800;color:#183f61;margin-top:6px}.auth-input{min-height:58px;display:grid;grid-template-columns:38px 1fr auto;align-items:center;border:1px solid #cad9e6;border-radius:16px;background:#fff;padding:0 12px;box-shadow:0 5px 14px rgba(10,64,100,.04);transition:.2s}.auth-input:focus-within{border-color:#0b75a6;box-shadow:0 0 0 4px rgba(11,117,166,.11)}.auth-input input{border:0!important;background:transparent!important;box-shadow:none!important;min-width:0;padding:14px 4px!important}.auth-password-toggle{border:0;background:#eef6fb;color:#0a5a86;border-radius:10px;padding:8px 10px;font-weight:750;cursor:pointer}.auth-remember{display:flex!important;align-items:center;gap:9px;margin:5px 0 8px!important;color:#536b7f;font-size:.9rem}.auth-remember input{width:18px;height:18px}.auth-submit{min-height:56px;border-radius:15px!important;font-size:1rem;display:flex!important;justify-content:center;gap:12px;align-items:center;background:linear-gradient(90deg,#075e99,#078a82)!important;box-shadow:0 13px 28px rgba(6,101,137,.22)}
.auth-actions{display:flex;justify-content:space-between;gap:15px;padding:19px 0;border-bottom:1px solid #e0e9f0}.auth-actions a{font-weight:800;color:#075f96;text-decoration:none}.auth-actions a:hover{text-decoration:underline}.auth-security-line{display:flex;gap:11px;margin-top:18px;padding:14px;border-radius:14px;background:#eef6fb;color:#4c6579}.auth-security-line p{margin:0;font-size:.84rem;line-height:1.55}
.renumber-toolbar,.renumber-confirm{display:flex;justify-content:space-between;gap:24px;align-items:center}.renumber-toolbar label{font-weight:800}.renumber-toolbar select{min-width:320px}.renumber-rules{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.renumber-rules span{padding:7px 10px;border-radius:999px;background:#eef6fb;color:#315a75;font-size:.82rem}.number-pill{display:inline-block;min-width:72px;text-align:center;padding:7px 12px;border-radius:999px;background:#073f6c;color:#fff;letter-spacing:.08em}.renumber-confirm{border-left:5px solid #0b8d81}.renumber-confirm h2{margin:0 0 5px}.renumber-confirm p{margin:0;color:#5e7284;max-width:780px}
@media(max-width:900px){.auth-premium-shell{grid-template-columns:1fr;margin:14px;min-height:0}.auth-premium-brand{padding:80px 30px 34px}.auth-emblem-wrap{width:115px;height:115px}.auth-trust-grid{grid-template-columns:1fr}.auth-premium-card{padding:36px 28px}.renumber-toolbar,.renumber-confirm{align-items:stretch;flex-direction:column}.renumber-toolbar select{min-width:0;width:100%}}
@media(max-width:520px){.auth-premium-shell{margin:6px;border-radius:20px}.auth-premium-brand{padding:72px 20px 28px}.auth-premium-brand h1{font-size:2rem}.auth-intro{font-size:.96rem}.auth-trust-grid>div{padding:10px}.auth-premium-card{padding:28px 18px}.auth-card-heading h2{font-size:2rem}.auth-actions{flex-direction:column}.auth-home-link{left:20px;top:22px}}


/* ===== V101 — Accueil public épuré & préparation Centre de Santé ===== */
.public-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:10px clamp(12px,2vw,28px)!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 8px 24px rgba(15,63,105,.08);
}
.top-nav.public-nav a{
  padding:10px 13px;
  border-radius:12px;
  white-space:nowrap;
}
.top-nav.public-nav a.public-health-link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  background:linear-gradient(135deg,#0d7a56 0%,#16a06f 100%);
  color:#fff!important;
  box-shadow:0 8px 18px rgba(13,122,86,.20);
  border:1px solid rgba(255,255,255,.18);
}
.top-nav.public-nav a.public-health-link:hover{
  background:linear-gradient(135deg,#096747 0%,#12895f 100%);
  color:#fff!important;
  transform:translateY(-1px);
}
.top-nav.public-nav a.public-health-link span{
  width:22px;height:22px;border-radius:7px;display:inline-grid;place-items:center;
  background:rgba(255,255,255,.16);font-weight:900;
}
.top-nav.public-nav .public-login-link{
  background:#0f4f83;
  color:#fff!important;
  padding-inline:16px;
}
.top-nav.public-nav .public-login-link:hover{background:#0a3e69;color:#fff!important}
.public-language{min-width:112px}
.site-header.public-header{
  background:linear-gradient(120deg,#0c416f 0%,#106ca5 48%,#18a8c9 100%)!important;
}
.brand-block em{color:#fff3a6}
.public-footer .footer-map-link+br+small a{display:inline-block!important;margin-top:4px!important;color:#f4d94d!important;font-weight:800}
@media(max-width:1100px){
  .public-nav{justify-content:flex-start;overflow-x:auto;scrollbar-width:thin}
  .top-nav.public-nav a{flex:0 0 auto}
}
@media(max-width:780px){
  .public-nav{display:none!important}
  .public-nav.is-open{display:flex!important;flex-direction:column;align-items:stretch;overflow:visible;padding:12px!important}
  .top-nav.public-nav a,.top-nav.public-nav select{width:100%;text-align:left}
  .top-nav.public-nav a.public-health-link{justify-content:flex-start}
}

/* V102 — Porte d’entrée publique Centre de Santé */
.home-health-gateway{max-width:1180px;margin:26px auto;padding:24px 28px;border:1px solid #cfe5e1;border-radius:20px;background:linear-gradient(115deg,#eef9f7,#fff);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;box-shadow:0 10px 28px rgba(13,111,103,.08)}
.home-health-icon{width:58px;height:58px;border-radius:16px;background:#0d6f67;color:#fff;display:grid;place-items:center;font-size:34px}.home-health-copy h2{margin:.25rem 0 .35rem;color:#123d43}.home-health-copy p{margin:0;color:#667982;line-height:1.55}.home-health-copy .eyebrow{color:#0d6f67}@media(max-width:760px){.home-health-gateway{margin:18px 14px;grid-template-columns:auto 1fr;padding:20px}.home-health-gateway>.btn{grid-column:1/-1;width:100%}}
/* ===== V106 FOBAK CONNECT ===== */
.community-shell{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:calc(100vh - 180px);background:#f5f7fb;border:1px solid #dbe3ef;border-radius:26px;overflow:hidden;box-shadow:0 22px 55px rgba(20,43,77,.12)}
.community-rail{background:#182231;color:#dfe7f2;padding:22px 14px;display:flex;flex-direction:column;gap:22px}.community-brand{display:flex;gap:12px;align-items:center;padding:8px 10px}.community-brand>span{width:44px;height:44px;display:grid;place-items:center;background:#0b70c9;border-radius:14px;font-size:23px}.community-brand strong,.community-brand small{display:block}.community-brand small{color:#9cabbe}.community-rail nav{display:grid;gap:6px}.community-rail nav a{color:#cfd8e6;text-decoration:none;padding:11px 12px;border-radius:10px;display:flex;align-items:center;gap:9px;font-weight:700}.community-rail nav a:hover,.community-rail nav a.active{background:#2a3546;color:white}.community-rail nav a b{margin-left:auto;background:#ef4458;color:#fff;border-radius:20px;padding:2px 7px;font-size:.75rem}.community-rules{margin-top:auto;padding:14px;background:#222e3f;border-radius:13px}.community-rules strong,.community-rules small{display:block}.community-rules small{margin-top:6px;color:#9eacbf;line-height:1.5}.community-main{min-width:0}.community-topbar{padding:28px 30px 20px;background:white;border-bottom:1px solid #e6ebf2;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.community-topbar h1{font-size:clamp(1.65rem,3vw,2.35rem);margin:.2rem 0}.community-topbar p{margin:0;color:#617087}.community-search{display:flex;width:min(360px,100%);background:#f3f6fa;border:1px solid #dae3ef;border-radius:13px;overflow:hidden}.community-search input{border:0;background:transparent;padding:12px 14px;flex:1;min-width:0}.community-search button{border:0;background:#0b70c9;color:#fff;width:48px}.community-featured{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:20px 30px}.community-channel-card{background:white;border:1px solid #e0e7f0;border-radius:17px;padding:16px;display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;text-decoration:none;color:#14243b;box-shadow:0 8px 20px rgba(31,54,88,.06)}.community-channel-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(31,54,88,.11)}.channel-symbol{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#eef6ff;font-size:21px}.community-channel-card small,.community-channel-card strong,.community-channel-card em{display:block}.community-channel-card small{color:#7c8ba0;text-transform:uppercase;font-size:.68rem;font-weight:800}.community-channel-card strong{margin:3px 0;font-size:1rem}.community-channel-card em{font-style:normal;color:#718098;font-size:.8rem}.scope-announcements .channel-symbol{background:#fff3e4}.scope-province .channel-symbol{background:#eefbf4}.community-content-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;padding:0 30px 30px}.community-conversations,.compose-card{background:#fff;border:1px solid #e0e7f0;border-radius:18px;padding:20px}.section-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}.section-heading h2{margin:2px 0}.soft-pill{background:#edf3fa;color:#52657c;border-radius:99px;padding:6px 10px;font-size:.8rem}.community-list{display:grid;gap:8px}.community-row{display:flex;border:1px solid #edf0f5;border-radius:13px;padding:8px}.community-row>a{display:flex;align-items:center;gap:12px;flex:1;min-width:0;text-decoration:none;color:#18263b;padding:6px}.community-avatar{width:42px;height:42px;border-radius:50%;background:#eaf2fb;display:grid;place-items:center}.community-row strong,.community-row small{display:block}.community-row small{color:#7c899a}.row-tools button{border:0;background:transparent;padding:8px;cursor:pointer}.community-compose{display:grid;align-content:start;gap:14px}.compose-card form{display:grid;gap:12px}.compose-card label{display:grid;gap:6px;font-weight:700}.compose-card input,.compose-card select{width:100%;padding:11px;border:1px solid #d4deea;border-radius:10px;background:#fff}.compose-card select[multiple]{min-height:160px}.eyebrow{color:#0b70c9;font-size:.72rem;font-weight:900;letter-spacing:.11em}.community-empty{text-align:center;padding:44px 20px;color:#77869a}
.chat-room-shell.discord-inspired{background:#f4f6fa;border-radius:24px;padding:0;overflow:hidden;border:1px solid #dfe5ef}.chat-room-header.pro{margin:0;border-radius:0;background:#fff;border-bottom:1px solid #e3e8ef;padding:16px 20px}.chat-discord-grid{display:grid;grid-template-columns:235px minmax(0,1fr) 290px;min-height:680px}.chat-channel-sidebar{background:#202938;color:#d4deeb;padding:14px 9px;overflow:auto}.channel-sidebar-title{padding:10px 12px 15px;border-bottom:1px solid #344052}.channel-sidebar-title strong,.channel-sidebar-title small{display:block}.channel-sidebar-title small{color:#8fa0b6}.chat-channel-sidebar nav{display:grid;gap:4px;margin-top:10px}.chat-channel-sidebar nav a{color:#c7d0dc;text-decoration:none;border-radius:8px;padding:9px;display:grid;grid-template-columns:24px minmax(0,1fr);gap:7px;align-items:center}.chat-channel-sidebar nav a:hover,.chat-channel-sidebar nav a.active{background:#343f50;color:#fff}.chat-channel-sidebar nav strong,.chat-channel-sidebar nav small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-channel-sidebar nav small{font-size:.68rem;color:#8f9caf}.chat-discord-grid .chat-panel{border:0;border-radius:0;box-shadow:none;display:flex;flex-direction:column;min-width:0;background:#fff}.chat-discord-grid .chat-messages{flex:1;min-height:500px;max-height:none;padding:22px;overflow-y:auto}.chat-message{max-width:78%;border-radius:15px;padding:11px 13px;margin-bottom:12px;background:#f0f3f7}.chat-message.mine{margin-left:auto;background:#e4f1ff}.chat-message header{display:flex;gap:10px;justify-content:space-between}.chat-message p{margin:5px 0;line-height:1.5}.chat-message img,.chat-message video{max-width:min(480px,100%);border-radius:13px;margin-top:7px}.message-actions{opacity:.45}.chat-message:hover .message-actions{opacity:1}.chat-compose{position:sticky;bottom:0;background:#fff;border-top:1px solid #e3e8ef;padding:12px 16px}.chat-compose textarea{width:100%;border:1px solid #d9e1eb;border-radius:14px;padding:12px 14px;resize:none;background:#f7f9fc}.chat-tools{display:flex;gap:7px;align-items:center;margin-top:8px}.chat-room-sidebar{background:#f8fafc;border-left:1px solid #e3e8ef;padding:12px;overflow:auto}.member-chip-list{display:grid;gap:8px}.member-chip{display:flex;gap:9px;align-items:center}.member-chip>span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#dceaf8;font-weight:800}.member-chip strong,.member-chip small{display:block}.member-chip small{color:#7b8999}.reaction-summary span{display:inline-block;background:#fff;border:1px solid #d9e0e9;border-radius:99px;padding:2px 7px;margin:3px;font-size:.78rem}
@media(max-width:1050px){.community-featured{grid-template-columns:1fr}.community-content-grid{grid-template-columns:1fr}.chat-discord-grid{grid-template-columns:190px minmax(0,1fr)}.chat-room-sidebar{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px}.community-rail{display:none}.community-shell{grid-template-columns:1fr}}
@media(max-width:720px){.community-topbar{padding:20px;display:block}.community-search{margin-top:14px}.community-featured,.community-content-grid{padding-left:14px;padding-right:14px}.chat-discord-grid{display:block}.chat-channel-sidebar{max-height:175px}.chat-channel-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-room-sidebar{display:block}.chat-room-header.pro{display:block}.chat-header-actions{margin-top:10px}.chat-message{max-width:92%}.chat-tools{flex-wrap:wrap}}

/* V107 — Profils photo dans FOBAK Connect / Communication Santé */
.community-avatar.profile-avatar,
.quick-profile-card img,
.quick-profile-card span,
.message-profile-photo,
.member-chip-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 44px;
  border: 2px solid rgba(26, 116, 174, .18);
  background: #eef6fb;
}
.community-avatar.profile-avatar { overflow:hidden; display:inline-grid; place-items:center; }
.community-avatar.profile-avatar img { width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.message-profile-row { display:flex; align-items:flex-start; gap:10px; margin-bottom:7px; }
.message-profile-row header { display:flex; flex-direction:column; gap:2px; min-width:0; }
.message-profile-row header strong { line-height:1.2; }
.avatar-fallback { display:inline-grid; place-items:center; font-weight:800; color:#0d4f79; }
.member-chip-photo { width:38px; height:38px; flex-basis:38px; }
.quick-profile-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:10px 0 14px; }
.quick-profile-card { border:1px solid #d8e5ee; background:#fff; border-radius:14px; padding:8px 5px; display:flex; flex-direction:column; align-items:center; gap:6px; cursor:pointer; min-width:0; }
.quick-profile-card:hover { border-color:#1a8ac2; box-shadow:0 8px 22px rgba(13,79,121,.10); transform:translateY(-1px); }
.quick-profile-card img,.quick-profile-card span { width:48px; height:48px; flex-basis:48px; }
.quick-profile-card small { width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-align:center; font-weight:700; }
@media (max-width:720px){ .quick-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.message-profile-photo{width:38px;height:38px;flex-basis:38px;} }
.application-identity{display:flex;flex-direction:column;gap:2px;margin-bottom:5px}.application-identity strong{color:#073f67}.application-identity span{font-size:.93rem;color:#40586a}

/* V108 — navigation publique mieux classée, Connexion dans la même ligne */
@media(min-width:781px){.top-nav.public-nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;flex-wrap:nowrap!important;padding:7px 12px!important;overflow:visible!important}.top-nav.public-nav a,.top-nav.public-nav .language-select{flex:0 0 auto!important;min-height:38px!important;padding:8px 10px!important;font-size:13px!important;white-space:nowrap!important}.top-nav.public-nav .public-login-link{order:initial!important;margin-left:2px!important}.top-nav.public-nav .public-language{max-width:112px!important}}
@media(min-width:1100px){.top-nav.public-nav a,.top-nav.public-nav .language-select{font-size:14px!important;padding:8px 12px!important}}

/* ===== V111 — Navigation mobile centrée et identité FOBAK entièrement visible ===== */
@media (max-width:820px){
  /* La barre mobile reste fixe, mais l'en-tête institutionnel participe au flux.
     Cela évite que le logo / le drapeau soient cachés derrière la barre. */
  body.public-layout{padding-top:62px!important;}
  body.public-layout>.site-header.public-header{
    position:relative!important;
    top:auto!important;
    z-index:15!important;
    width:100%!important;
    margin:0!important;
    border-radius:0!important;
    overflow:visible!important;
  }
  .site-header.public-header{
    grid-template-columns:72px minmax(0,1fr) 58px!important;
    min-height:82px!important;
    padding:10px 12px!important;
    gap:10px!important;
  }
  .site-header.public-header .logo-box{
    width:66px!important;
    height:62px!important;
    padding:4px!important;
    margin:0!important;
    overflow:visible!important;
  }
  .site-header.public-header .logo-box img{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    display:block!important;
  }
  .site-header.public-header .brand-block{
    min-width:0!important;
    text-align:center!important;
    overflow:visible!important;
  }
  .site-header.public-header .brand-block strong{
    display:block!important;
    font-size:17px!important;
    line-height:1.15!important;
    white-space:normal!important;
  }
  .site-header.public-header .brand-block span,
  .site-header.public-header .brand-block em{
    display:block!important;
    font-size:10px!important;
    line-height:1.25!important;
    white-space:normal!important;
  }
  .site-header.public-header .flag-real{
    display:flex!important;
    width:54px!important;
    height:40px!important;
    overflow:hidden!important;
  }
  .site-header.public-header .flag-real img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }

  /* Drawer : tous les choix suivent le même axe visuel. */
  .public-nav.is-open{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:6px!important;
    padding:76px 12px 20px!important;
    overflow-y:auto!important;
  }
  .top-nav.public-nav a,
  .public-nav a{
    width:100%!important;
    min-height:50px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    padding:11px 14px!important;
    margin:0!important;
    border-radius:13px!important;
  }
  .top-nav.public-nav a.public-health-link{
    justify-content:center!important;
    text-align:center!important;
    width:100%!important;
  }
  .top-nav.public-nav a.public-health-link span{
    flex:0 0 26px!important;
  }
  .public-nav .public-login-link{
    order:initial!important;
  }
  .public-nav .language-select{
    width:100%!important;
    min-height:50px!important;
    text-align:center!important;
    text-align-last:center!important;
    margin:2px 0 0!important;
  }

  /* Le premier contenu commence après l'identité, jamais sous celle-ci. */
  .public-content{
    position:relative!important;
    z-index:1!important;
    padding-top:14px!important;
  }
  .hero,
  .hero-fullwidth,
  .public-carousel,
  .home-carousel{
    margin-top:0!important;
  }
}

@media (max-width:480px){
  .site-header.public-header{
    grid-template-columns:62px minmax(0,1fr) 48px!important;
    min-height:76px!important;
    padding:8px 9px!important;
  }
  .site-header.public-header .logo-box{
    width:58px!important;
    height:54px!important;
  }
  .site-header.public-header .flag-real{
    display:flex!important;
    width:46px!important;
    height:34px!important;
  }
  .site-header.public-header .brand-block strong{font-size:15px!important;}
  .site-header.public-header .brand-block span,
  .site-header.public-header .brand-block em{font-size:9px!important;}
}

/* ===== V113 — Finition graphique générale : login, footer, flottants, version ===== */
:root{
  --fobak-radius-card:20px;
  --fobak-radius-control:13px;
  --fobak-shadow-soft:0 12px 34px rgba(7,55,91,.10);
}

/* Footer : structure plus compacte et lisible */
.app-footer.dashboard-style-footer{
  gap:22px!important;
  padding:26px 30px 50px!important;
}
.app-footer .footer-about{gap:9px!important}
.app-footer .footer-about p{margin:0!important;max-width:38rem}
.app-footer .footer-logo{
  width:82px!important;height:82px!important;border-radius:18px!important;
  border:1px solid rgba(255,255,255,.34)!important;
  background:rgba(255,255,255,.10)!important;padding:6px!important;
}
.app-footer .footer-logo img{object-fit:contain!important;border-radius:12px!important}
.footer-contacts{display:flex;flex-direction:column;gap:10px}
.footer-contacts h3{margin-bottom:4px!important}
.footer-contact-row{display:grid;grid-template-columns:26px minmax(0,1fr);gap:9px;align-items:start}
.footer-contact-row>span{line-height:1.45;text-align:center}
.footer-contact-row a,.footer-contact-row .footer-address-text{display:block!important;margin:0!important;line-height:1.48!important;color:#eef7ff!important;text-decoration:none!important;overflow-wrap:anywhere}
.footer-action-link{color:#ffe35a!important;font-weight:800!important;margin-top:3px!important;text-decoration:none!important}
.footer-action-link:hover{text-decoration:underline!important}
.footer-site-link:after{content:"  ↗";font-weight:900}
.app-footer .socials{gap:8px!important;margin-top:4px!important}
.app-footer .socials a{
  width:38px!important;height:38px!important;background:rgba(255,255,255,.14)!important;
  color:#fff!important;border:1px solid rgba(255,255,255,.28)!important;
  box-shadow:none!important;font-size:15px!important;
}
.app-footer .socials a:hover{background:#fff!important;color:#0b4f86!important;transform:translateY(-1px)}
.app-footer .footer-bottom{padding:10px 14px!important;font-size:12px!important;line-height:1.35!important}

/* Contrôles flottants : ne couvrent plus le footer ni les champs */
.install-pwa-button,.floating-help{transition:opacity .18s ease,transform .18s ease,visibility .18s ease!important}
body.floating-controls-hidden .install-pwa-button,
body.floating-controls-hidden .floating-help,
body.floating-controls-input-active .install-pwa-button,
body.floating-controls-input-active .floating-help{
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(12px) scale(.94)!important;
}

/* Login : hiérarchie plus sobre et champs unifiés */
.auth-premium-shell{border-radius:24px!important;box-shadow:0 22px 60px rgba(4,35,62,.15)!important}
.auth-premium-brand{padding:46px 48px!important}
.auth-premium-brand h1{font-size:clamp(2rem,3.2vw,3.2rem)!important}
.auth-premium-card{padding:48px 46px!important}
.auth-card-heading{margin-bottom:20px!important}
.auth-card-heading h2{font-size:2.05rem!important}
.auth-input{
  min-height:54px!important;grid-template-columns:34px minmax(0,1fr) auto!important;
  border:1px solid #c8d8e5!important;border-radius:var(--fobak-radius-control)!important;
  padding:0 10px!important;background:#fff!important;overflow:hidden!important;
}
.auth-input>span{display:grid;place-items:center;font-size:19px}
.auth-input input{
  width:100%!important;min-width:0!important;min-height:52px!important;
  border:0!important;outline:0!important;box-shadow:none!important;
  background:transparent!important;padding:10px 8px!important;margin:0!important;
  font-size:16px!important;color:#163b5c!important;
}
.auth-input input::placeholder{color:#7b8793!important;opacity:1!important}
.auth-password-toggle{
  width:42px!important;height:42px!important;display:grid!important;place-items:center!important;
  padding:0!important;border-radius:10px!important;font-size:19px!important;line-height:1!important;
  background:#eef6fb!important;color:#0a5a86!important;
}
.auth-remember{align-items:flex-start!important;font-size:.92rem!important;line-height:1.35!important}
.auth-remember span{display:grid;gap:2px}
.auth-remember strong{font-size:.94rem;color:#27465f}
.auth-remember small{font-size:.78rem;color:#708193}
.auth-submit{min-height:50px!important;border-radius:13px!important;font-size:.98rem!important}
.auth-actions{gap:14px!important}
.auth-actions a{font-size:.9rem!important;font-weight:750!important}
.auth-security-line{font-size:.86rem!important}

/* Sur la page de connexion, l'action supérieure ne répète plus "Connexion" : base.html affiche Accueil. */
body.public-layout .public-content:has(.auth-premium-shell){padding-top:8px!important}

/* Mobile : formulaire d'abord, bloc institutionnel ensuite, pas de grand espace vide */
@media(max-width:900px){
  body.public-layout:has(.auth-premium-shell){background:#f3f7fb!important}
  body.public-layout .public-content:has(.auth-premium-shell){padding:8px 8px 22px!important;margin:0!important;min-height:0!important}
  .auth-premium-shell{display:flex!important;flex-direction:column!important;margin:6px auto!important;max-width:680px!important;border-radius:18px!important;min-height:0!important;overflow:hidden!important}
  .auth-premium-card{order:1!important;padding:24px 20px!important}
  .auth-premium-brand{order:2!important;padding:24px 20px!important;min-height:0!important;justify-content:flex-start!important}
  .auth-home-link{position:static!important;display:inline-flex!important;margin-bottom:14px!important;font-size:.9rem!important}
  .auth-emblem-wrap{width:84px!important;height:84px!important;margin:0 0 12px!important}
  .auth-premium-brand h1{font-size:1.75rem!important;margin:10px 0!important}
  .auth-intro{font-size:.94rem!important;line-height:1.5!important;margin-bottom:12px!important}
  .auth-trust-grid{grid-template-columns:1fr!important;gap:7px!important;margin-top:8px!important}
  .auth-trust-grid>div{padding:9px 10px!important;border-radius:12px!important}
  .auth-official-note{margin-top:12px!important;font-size:.77rem!important}
  .auth-card-heading{gap:12px!important;margin-bottom:18px!important}
  .auth-card-heading h2{font-size:1.75rem!important}
  .auth-card-heading p{font-size:.93rem!important;line-height:1.45!important}
  .auth-shield{width:46px!important;height:46px!important;border-radius:14px!important}
  .auth-premium-form{gap:8px!important}
  .auth-premium-form>label:not(.auth-remember){font-size:.93rem!important;margin-top:4px!important}
  .auth-actions{margin-top:12px!important;padding-top:12px!important;border-top:1px solid #e4ebf2!important}
}

@media(max-width:560px){
  /* Barre publique plus compacte */
  .public-mobile-bar{min-height:58px!important;padding:6px 10px!important;grid-template-columns:46px minmax(0,1fr) auto!important}
  body.public-layout{padding-top:58px!important}
  .public-menu-toggle{width:46px!important;height:46px!important;border-radius:14px!important}
  .public-mobile-brand{font-size:19px!important}
  .public-mobile-login{min-height:42px!important;padding:0 14px!important;border-radius:13px!important;font-size:14px!important}

  /* Footer public compact, sans effet "deuxième page" */
  .app-footer.dashboard-style-footer{
    width:100%!important;margin:18px 0 0!important;border-radius:20px 20px 0 0!important;
    padding:20px 16px 44px!important;gap:14px!important;
  }
  .app-footer.dashboard-style-footer:before{width:5px!important}
  .app-footer .footer-about{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;align-items:center!important;gap:12px!important}
  .app-footer .footer-logo{width:72px!important;height:72px!important;margin:0!important}
  .app-footer .footer-about p{font-size:13.5px!important;line-height:1.45!important;margin:0!important}
  .footer-contacts{gap:8px!important}
  .app-footer h3{font-size:17px!important;margin-bottom:3px!important}
  .footer-contact-row{grid-template-columns:22px minmax(0,1fr)!important;gap:7px!important;font-size:13.5px!important}
  .footer-contact-row a,.footer-contact-row .footer-address-text{font-size:13.5px!important;line-height:1.42!important}
  .footer-action-link{font-size:13px!important}
  .app-footer .socials{gap:7px!important;margin-top:2px!important}
  .app-footer .socials a{width:34px!important;height:34px!important;font-size:13px!important}
  .app-footer .footer-bottom{font-size:10.5px!important;padding:8px 10px!important;white-space:normal!important}

  /* Flottants plus petits et plus proches du bord, sans chevauchement */
  .install-pwa-button,.floating-help{right:10px!important;width:46px!important;height:46px!important}
  .install-pwa-button{bottom:66px!important}
  .floating-help{bottom:14px!important}

  /* Login mobile : priorité à l'action */
  .auth-premium-shell{margin:4px 0!important;border-radius:16px!important}
  .auth-premium-card{padding:20px 16px!important}
  .auth-premium-brand{padding:20px 16px!important}
  .auth-card-heading h2{font-size:1.55rem!important}
  .auth-card-heading small{font-size:.72rem!important}
  .auth-card-heading p{font-size:.88rem!important}
  .auth-shield{width:42px!important;height:42px!important}
  .auth-input{min-height:50px!important;grid-template-columns:30px minmax(0,1fr) auto!important;padding:0 8px!important}
  .auth-input input{min-height:48px!important;padding:8px 6px!important;font-size:16px!important}
  .auth-password-toggle{width:38px!important;height:38px!important;font-size:17px!important}
  .auth-submit{min-height:48px!important;padding:10px 12px!important;font-size:.92rem!important}
  .auth-actions{display:flex!important;flex-direction:row!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important}
  .auth-actions a{font-size:.84rem!important}
}

/* Ordinateur : proportions régulières */
@media(min-width:901px){
  .auth-premium-shell{max-width:1120px!important;grid-template-columns:minmax(0,1fr) minmax(430px,.85fr)!important;margin:28px auto!important}
  .app-footer.dashboard-style-footer{max-width:1500px}
}

/* V118 — état hors ligne commun */
.fobak-offline-banner{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:99999;background:#0b3a66;color:#fff;padding:10px 16px;border-radius:999px;box-shadow:0 8px 28px rgba(0,0,0,.22);font-weight:800;font-size:.9rem;max-width:90vw;text-align:center}.fobak-offline-banner[hidden]{display:none!important}@media(max-width:600px){.fobak-offline-banner{bottom:10px;font-size:.82rem;padding:9px 12px}}

/* ===== V119 — installation et copie locale complète ===== */
.offline-v119{max-width:1180px;margin:24px auto;padding:clamp(18px,3vw,34px)}
.offline-status-box{margin:18px 0;padding:16px 18px;border:1px solid rgba(11,58,102,.16);border-radius:16px;background:rgba(11,58,102,.05);line-height:1.55}
.offline-unlock-grid{display:grid;grid-template-columns:minmax(240px,420px) 1fr;gap:14px;align-items:end;margin:16px 0}
.offline-unlock-grid label,.offline-install-prep label{display:grid;gap:7px;font-weight:700}
.offline-unlock-grid input,.offline-install-prep input,.offline-search-label input{width:100%;min-height:46px;padding:10px 14px;border:1px solid #cbd7e2;border-radius:12px;background:#fff;color:#142f43}
.offline-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center!important;gap:10px!important;font-weight:600!important}
.offline-check input{width:18px!important;min-height:18px!important;height:18px;margin:0}
.offline-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
.offline-import-label{cursor:pointer}
.offline-local-browser{margin-top:22px;border-top:1px solid rgba(11,58,102,.12);padding-top:20px}
.offline-search-label{display:grid;gap:7px;max-width:760px;font-weight:700;margin:10px 0 18px}
.offline-tables-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.offline-table-card{border:1px solid #dbe5ec;border-radius:16px;padding:14px;background:#fff;min-width:0}
.offline-table-card h3{display:flex;justify-content:space-between;gap:10px;margin:0 0 10px;text-transform:capitalize}
.offline-table-card h3 span{font-size:.78em;background:#eef5f8;padding:3px 9px;border-radius:999px}
.offline-local-row{display:grid;grid-template-columns:auto 1fr;gap:9px;padding:9px 0;border-top:1px solid #edf2f5;min-width:0}
.offline-local-row span{overflow-wrap:anywhere;font-size:.92rem;line-height:1.35}
.offline-locked{padding:18px;border:1px dashed #a9bdca;border-radius:14px;background:#f8fbfc;grid-column:1/-1}
.offline-security-note{margin-top:18px;padding:14px 16px;border-left:4px solid #0b6fae;background:#f3f8fb;border-radius:10px;line-height:1.5}
.installer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}
.installer-card{position:relative;overflow:hidden}
.installer-icon{font-size:2.5rem;margin-bottom:8px}
.installer-card ol{padding-left:20px;line-height:1.55}
.offline-install-prep{display:grid;gap:10px;margin-top:14px;padding:14px;border-radius:14px;background:#f7fafb;border:1px solid #dde7ed}
@media(max-width:760px){
  .offline-unlock-grid,.installer-grid,.offline-tables-grid{grid-template-columns:1fr}
  .offline-actions .btn,.offline-import-label{width:100%;justify-content:center;text-align:center}
  .offline-v119{margin:10px 0;border-radius:16px}
}
@media print{.installer-hero,.offline-actions,.offline-unlock-grid,.offline-search-label{display:none!important}}


/* ===== V122 — connexion institutionnelle + pages publiques SEO ===== */
.auth-submit.is-loading{opacity:.78;cursor:wait}.auth-submit:disabled{pointer-events:none;filter:saturate(.78)}
.public-page-hero{margin:24px auto 18px;padding:clamp(24px,4vw,44px);border-radius:24px;background:linear-gradient(135deg,#073e6a,#0b6f82);color:#fff;box-shadow:0 18px 44px rgba(5,54,91,.16)}
.public-page-hero .eyebrow{color:#bcecff}.public-page-hero h1{font-size:clamp(2rem,5vw,3.6rem);line-height:1.06;margin:8px 0 12px}.public-page-hero p{max-width:820px;font-size:1.05rem;line-height:1.65;margin:0;color:#edf9ff}
.public-content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0}.public-prose{line-height:1.72}.public-prose p{white-space:pre-line}.public-feature{display:flex;align-items:center;justify-content:space-between;gap:22px}.public-list-card{padding:22px}
.activity-read-link,.text-link{display:inline-flex;align-items:center;gap:6px;margin-top:12px;color:#09699e;font-weight:850;text-decoration:none}.activity-read-link:hover,.text-link:hover{text-decoration:underline}
.public-breadcrumb{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:18px 0;color:#607689;font-size:.92rem}.public-breadcrumb a{color:#0b6fae;text-decoration:none;font-weight:750}
.public-detail-card{max-width:940px;margin:18px auto 28px;padding:clamp(20px,4vw,42px);background:#fff;border:1px solid #dce8f0;border-radius:26px;box-shadow:0 20px 56px rgba(5,54,91,.12)}.public-detail-card header h1{font-size:clamp(2rem,5vw,3.5rem);line-height:1.08;margin:12px 0}.public-detail-card .lead{font-size:1.15rem;line-height:1.6;color:#4f6679}.public-meta{display:flex;flex-wrap:wrap;gap:10px 18px;color:#6a7e8f;font-size:.92rem}.public-detail-media{margin:26px 0}.public-detail-media img{display:block;width:100%;max-height:620px;object-fit:contain;border-radius:20px;background:#f3f7fa}.public-article-body{font-size:1.05rem;white-space:pre-line}.public-event-box{display:grid;gap:7px;margin:20px 0;padding:16px 18px;border:1px solid #b9ddca;background:#f2fbf6;border-radius:16px}.public-video{position:relative;padding-top:56.25%;margin:24px 0;border-radius:18px;overflow:hidden;background:#071d33}.public-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.public-share{margin-top:28px;padding-top:20px;border-top:1px solid #e2eaf0}.public-share>div{display:flex;gap:9px;flex-wrap:wrap;margin-top:10px}.public-share a{padding:9px 13px;border-radius:999px;background:#eef6fb;color:#075b8e;text-decoration:none;font-weight:800}.biography-detail-head{display:flex;gap:24px;align-items:center}.biography-detail-head img{width:160px;height:190px;border-radius:20px;object-fit:cover;border:4px solid #fff;box-shadow:0 10px 28px rgba(5,54,91,.14)}
@media(max-width:760px){.public-content-grid{grid-template-columns:1fr}.public-feature{align-items:flex-start;flex-direction:column}.public-detail-card{border-radius:18px;padding:20px 16px}.biography-detail-head{align-items:flex-start;flex-direction:column}.biography-detail-head img{width:120px;height:145px}.public-page-hero{border-radius:18px;margin-top:10px}.public-nav{scrollbar-width:thin}}


/* ===== V123 — Design unifié FOBAK : connexion compacte + footer applicatif ===== */
:root{
  --v123-navy:#07395f;
  --v123-blue:#0d6ea6;
  --v123-cyan:#14a5c8;
  --v123-gold:#f3cf2e;
  --v123-surface:#ffffff;
  --v123-line:#d8e5ee;
  --v123-soft:#f4f8fb;
  --v123-shadow:0 20px 60px rgba(4,45,76,.14);
}
/* Header public : stable. Sur ordinateur, header + menu restent visibles sans saut de hauteur. */
@media(min-width:821px){
  body.public-layout>.site-header.public-header{position:sticky!important;top:0!important;z-index:90!important}
  body.public-layout>.top-nav.public-nav{position:sticky!important;top:94px!important;z-index:89!important}
}
/* Téléphone : une seule barre fixe, compacte, avec le vrai logo. */
.public-mobile-brand{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-width:0!important;text-decoration:none!important;color:#fff!important}
.public-mobile-brand img{width:36px!important;height:36px!important;border-radius:10px!important;background:#fff!important;padding:3px!important;object-fit:contain!important;box-shadow:0 4px 12px rgba(0,0,0,.13)!important}
.public-mobile-brand span{display:grid!important;min-width:0!important;text-align:left!important;line-height:1.08!important}.public-mobile-brand strong{font-size:12px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:130px!important}.public-mobile-brand small{font-size:9px!important;letter-spacing:.13em!important;opacity:.82!important}
@media(max-width:820px){
  body.public-layout{padding-top:62px!important}
  body.public-layout>.site-header.public-header{display:none!important}
  .public-mobile-bar{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:120!important;height:62px!important;min-height:62px!important;background:linear-gradient(105deg,#06385f,#0b689d 68%,#139bb7)!important;border-bottom:3px solid var(--v123-gold)!important;box-shadow:0 7px 24px rgba(4,44,74,.18)!important}
  .public-mobile-login{background:#fff!important;color:#0a5785!important;box-shadow:none!important;border:1px solid rgba(255,255,255,.9)!important}
  .public-menu-toggle{background:rgba(255,255,255,.13)!important;color:#fff!important;border:1px solid rgba(255,255,255,.22)!important}
  .top-nav.public-nav{top:62px!important}
}

/* Connexion FOBAK : petite carte, aucune colonne marketing, mêmes composants partout. */
body.public-layout:has(.auth-compact-shell){background:linear-gradient(180deg,#edf5fa 0%,#f8fbfd 52%,#eef5f8 100%)!important}
body.public-layout .public-content:has(.auth-compact-shell){width:100%!important;max-width:none!important;padding:clamp(22px,4vw,54px) 16px!important;min-height:calc(100vh - 260px)!important;display:grid!important;place-items:center!important}
.auth-compact-shell{width:min(100%,440px);margin:0 auto}
.auth-compact-card{position:relative;background:rgba(255,255,255,.97);border:1px solid rgba(8,87,132,.14);border-radius:24px;padding:30px;box-shadow:var(--v123-shadow);backdrop-filter:blur(10px)}
.auth-compact-logo{width:72px;height:72px;margin:-4px auto 17px;display:grid;place-items:center;border-radius:20px;background:#fff;border:1px solid #dce8ef;box-shadow:0 9px 25px rgba(5,68,106,.11);overflow:hidden;text-decoration:none}.auth-compact-logo img{width:100%;height:100%;padding:7px;object-fit:contain}.auth-compact-logo.health-logo{background:linear-gradient(145deg,#e9fbf5,#fff);color:#087e72;font-size:38px;font-weight:900}
.auth-compact-heading{text-align:center;margin-bottom:22px}.auth-compact-heading>span{display:inline-block;color:#0a7893;font-size:.71rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.auth-compact-heading h1{margin:5px 0 5px;color:#073e66;font-size:2rem;letter-spacing:-.02em}.auth-compact-heading p{margin:0;color:#6b7e8d;font-size:.93rem}
.auth-compact-form{display:grid;gap:9px}.auth-compact-form>label{margin-top:5px;color:#23435b;font-weight:800;font-size:.89rem}.auth-compact-input{min-height:52px;display:grid;grid-template-columns:32px minmax(0,1fr) 40px;align-items:center;border:1px solid #cbdbe6;border-radius:13px;background:#fff;padding:0 8px;transition:border-color .18s,box-shadow .18s,background .18s}.auth-compact-input:focus-within{border-color:#1684b3;box-shadow:0 0 0 4px rgba(20,133,178,.10);background:#fff}.auth-compact-input>span{display:grid;place-items:center;font-size:17px}.auth-compact-input input{width:100%!important;min-width:0!important;min-height:50px!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:9px 5px!important;font-size:16px!important;color:#18394f!important}.auth-compact-input input::placeholder{color:#91a0ac!important}.auth-compact-input:not(:has(.auth-eye)){grid-template-columns:32px minmax(0,1fr)}
.auth-eye{width:36px;height:36px;border:0;border-radius:10px;background:#eef6fa;color:#0a668f;display:grid;place-items:center;cursor:pointer;font-size:17px}.auth-eye:hover{background:#e1f1f8}.auth-compact-options{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:5px 0 4px;font-size:.81rem}.auth-compact-options a,.auth-compact-secondary,.auth-compact-bottom a{color:#09689c;text-decoration:none;font-weight:800}.auth-compact-options a:hover,.auth-compact-secondary:hover,.auth-compact-bottom a:hover{text-decoration:underline}.auth-compact-remember{display:flex!important;align-items:center!important;gap:7px!important;color:#566f81!important;font-weight:650!important}.auth-compact-remember input{width:17px!important;height:17px!important;margin:0!important}
.auth-compact-submit{min-height:51px;margin-top:4px;border:0;border-radius:13px;background:linear-gradient(100deg,#0a5e94,#0b8991);color:#fff;font-weight:900;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;box-shadow:0 10px 24px rgba(7,107,136,.18);transition:transform .15s,opacity .15s}.auth-compact-submit:hover{transform:translateY(-1px)}.auth-compact-submit:disabled{opacity:.68;cursor:wait;transform:none}.health-submit{background:linear-gradient(100deg,#087d70,#0a6f9b)}
.auth-compact-secondary{display:block;text-align:center;margin-top:17px;padding-top:15px;border-top:1px solid #e5edf2;font-size:.86rem}.auth-compact-bottom{display:flex;justify-content:space-between;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid #e5edf2;font-size:.82rem}
@media(max-width:520px){
  body.public-layout .public-content:has(.auth-compact-shell){padding:18px 12px 30px!important;display:block!important}
  .auth-compact-shell{width:100%!important}.auth-compact-card{padding:22px 17px;border-radius:19px}.auth-compact-logo{width:62px;height:62px;border-radius:17px;margin-bottom:14px}.auth-compact-heading{margin-bottom:17px}.auth-compact-heading h1{font-size:1.6rem}.auth-compact-options{font-size:.78rem}.auth-compact-bottom{flex-wrap:wrap}
}

/* Footer unique : le même composant FOBAK est utilisé partout. */
.fobak-unified-footer.app-footer.dashboard-style-footer{width:100%!important;max-width:none!important;margin:24px 0 0!important;padding:0!important;display:block!important;background:linear-gradient(112deg,#052b49 0%,#074b72 48%,#096c7a 100%)!important;border:0!important;border-top:4px solid var(--v123-gold)!important;border-radius:0!important;color:#fff!important;box-shadow:0 -8px 30px rgba(3,37,61,.08)!important;overflow:hidden!important}
.fobak-unified-footer.is-health{background:linear-gradient(112deg,#063e59 0%,#076875 52%,#087f75 100%)!important}
.fobak-footer-grid{width:min(100%,1420px);margin:0 auto;display:grid;grid-template-columns:1.25fr 1.6fr auto auto;gap:22px;align-items:center;padding:24px clamp(16px,3vw,42px) 20px;position:relative}.fobak-footer-grid:after{content:"";position:absolute;left:clamp(16px,3vw,42px);right:clamp(16px,3vw,42px);bottom:0;height:1px;background:rgba(255,255,255,.12)}
.fobak-footer-brand{display:flex;align-items:center;gap:12px;min-width:0}.fobak-footer-logo{width:58px;height:58px;flex:0 0 58px;display:grid!important;place-items:center;background:#fff;border-radius:15px;padding:5px;margin:0!important;box-shadow:0 8px 22px rgba(0,0,0,.14)}.fobak-footer-logo img{width:100%;height:100%;object-fit:contain}.fobak-footer-brand>div{display:grid;gap:3px;min-width:0}.fobak-footer-brand strong{font-size:.98rem;line-height:1.2;color:#fff;overflow-wrap:anywhere}.fobak-footer-brand span{font-size:.76rem;color:rgba(255,255,255,.74);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fobak-footer-contact{display:grid;gap:6px;min-width:0}.footer-info-chip{display:flex!important;align-items:center!important;gap:8px!important;margin:0!important;min-width:0;color:#fff!important;text-decoration:none!important;font-size:.79rem!important;line-height:1.3!important}.footer-info-chip b{width:27px;height:27px;flex:0 0 27px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.12);color:#ffe35b;font-size:.83rem}.footer-info-chip span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.88}.footer-info-chip:hover span{text-decoration:underline}
.fobak-footer-social h3,.fobak-footer-apps h3{margin:0 0 8px!important;font-size:.72rem!important;text-transform:uppercase;letter-spacing:.11em;color:rgba(255,255,255,.7)!important}.fobak-social-icons,.footer-app-icons{display:flex;gap:8px;align-items:center;flex-wrap:nowrap}.fobak-social-icons a{width:46px!important;height:46px!important;display:grid!important;place-items:center!important;margin:0!important;border-radius:14px!important;background:#fff!important;color:#07527a!important;border:1px solid rgba(255,255,255,.95)!important;box-shadow:0 7px 18px rgba(0,0,0,.13)!important;text-decoration:none!important;font-weight:950!important;font-size:17px!important;transition:transform .15s,box-shadow .15s}.fobak-social-icons a:hover{transform:translateY(-2px)!important;box-shadow:0 10px 24px rgba(0,0,0,.19)!important}.fobak-social-icons .social-whatsapp{color:#087a45!important}.fobak-social-icons .social-youtube{color:#b80d17!important}.fobak-social-icons .social-instagram{color:#8c2e83!important}.fobak-social-icons .social-x{color:#111!important}.fobak-social-icons .social-linkedin{color:#0a64a0!important}.fobak-social-icons .social-tiktok{color:#111!important}
.footer-app-icon{width:62px;height:58px;display:grid!important;grid-template-rows:28px auto;place-items:center!important;margin:0!important;padding:5px!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:14px!important;background:rgba(255,255,255,.10)!important;color:#fff!important;text-decoration:none!important;cursor:pointer!important;box-shadow:none!important}.footer-app-icon:hover{background:rgba(255,255,255,.18)!important;text-decoration:none!important}.footer-app-icon b{font-size:23px;line-height:1}.footer-app-icon small{font-size:9px;font-weight:850;letter-spacing:.03em;color:#fff}
.fobak-footer-nav{display:flex;justify-content:center;gap:8px;padding:12px 16px 14px;background:rgba(2,26,45,.28)}.fobak-footer-nav a{width:38px;height:38px;display:grid!important;place-items:center!important;margin:0!important;border-radius:11px;background:rgba(255,255,255,.11);color:#fff!important;text-decoration:none!important;font-weight:900}.fobak-footer-nav a:hover{background:#fff;color:#07547c!important;text-decoration:none!important}.fobak-unified-footer .footer-bottom,.fobak-unified-footer .official-contact-footer{display:none!important}
/* L’installateur flottant n’est plus affiché : les installations sont classées dans le footer. */
#install-pwa-button.footer-install-proxy{display:none!important}
@media(max-width:1100px){.fobak-footer-grid{grid-template-columns:1.2fr 1.5fr;align-items:start}.fobak-footer-social,.fobak-footer-apps{align-self:end}}
@media(max-width:700px){
 .fobak-unified-footer.app-footer.dashboard-style-footer{margin-top:18px!important}
 .fobak-footer-grid{grid-template-columns:1fr;gap:15px;padding:19px 15px 15px}.fobak-footer-brand{justify-content:flex-start}.fobak-footer-logo{width:52px!important;height:52px!important;flex-basis:52px!important}.fobak-footer-brand strong{font-size:.9rem}.fobak-footer-brand span{font-size:.72rem}
 .fobak-footer-contact{grid-template-columns:1fr;gap:6px}.footer-info-chip{font-size:.76rem!important}.footer-info-chip span{white-space:normal;overflow-wrap:anywhere}
 .fobak-footer-social h3,.fobak-footer-apps h3{text-align:left}.fobak-social-icons{gap:9px;flex-wrap:wrap}.fobak-social-icons a{width:48px!important;height:48px!important;border-radius:15px!important;font-size:18px!important}.footer-app-icons{gap:9px;flex-wrap:wrap}.footer-app-icon{width:68px;height:60px!important}
 .fobak-footer-nav{padding:11px 14px 13px}.fobak-footer-nav a{width:42px;height:42px}
}

/* Supprime les anciens blocs footer mobiles qui masquaient des colonnes. */
@media(max-width:820px){.fobak-unified-footer.dashboard-style-footer>div:nth-child(n){display:grid!important}.fobak-unified-footer .fobak-footer-social,.fobak-unified-footer .fobak-footer-apps{display:block!important}.fobak-unified-footer .fobak-footer-contact{display:grid!important}}


/* FOBAK V124 — Déconnexion applicative synchronisée (visuel + parole + fermeture réelle) */
body.fobak-logout-in-progress{overflow:hidden!important}
body.fobak-logout-in-progress .floating-help,
body.fobak-logout-in-progress .mobile-sidebar-toggle,
body.fobak-logout-in-progress .health-mobile-menu{pointer-events:none!important}
a.is-logging-out{pointer-events:none!important;opacity:.78}
.fobak-logout-overlay{--logout-progress:24%;position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:clamp(16px,4vw,34px);box-sizing:border-box;background:rgba(4,25,45,.78);backdrop-filter:blur(12px) saturate(120%);-webkit-backdrop-filter:blur(12px) saturate(120%);opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}
.fobak-logout-overlay.is-visible{opacity:1;visibility:visible}
.fobak-logout-card{width:min(440px,100%);box-sizing:border-box;text-align:center;background:linear-gradient(180deg,#fff 0%,#f7fbff 100%);color:#102b46;border-radius:26px;padding:28px 26px 24px;border:1px solid rgba(255,255,255,.8);box-shadow:0 28px 80px rgba(0,0,0,.28);outline:none;transform:translateY(10px) scale(.985);transition:transform .22s ease}
.fobak-logout-overlay.is-visible .fobak-logout-card{transform:none}
.fobak-logout-emblem{position:relative;width:82px;height:82px;margin:0 auto 15px;display:grid;place-items:center}
.fobak-logout-lock{position:relative;z-index:2;width:58px;height:58px;border-radius:19px;display:grid;place-items:center;font-size:29px;background:#fff;box-shadow:0 10px 28px rgba(6,61,104,.18);border:1px solid #dbe8f3}
.fobak-logout-ring{position:absolute;inset:0;border-radius:50%;border:4px solid rgba(11,102,195,.14);border-top-color:var(--fobak-blue,#0b66c3);border-right-color:var(--fobak-gold,#ffd21e);animation:fobakLogoutSpin 1s linear infinite}
.fobak-logout-kicker{margin:0 0 7px;color:#0b66c3;font-size:11px;font-weight:900;letter-spacing:.13em}
.fobak-logout-card h2{margin:0;color:#0b2f52;font-size:clamp(23px,5vw,29px);line-height:1.15}
.fobak-logout-card>p:not(.fobak-logout-kicker){margin:9px auto 17px;color:#5a6c80;font-size:14px;line-height:1.5;max-width:330px}
.fobak-logout-progress{height:7px;background:#e6edf5;border-radius:999px;overflow:hidden;margin:0 0 17px}
.fobak-logout-progress span{display:block;width:var(--logout-progress);height:100%;border-radius:inherit;background:linear-gradient(90deg,#0b66c3,#ffd21e);transition:width .35s ease}
.fobak-logout-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:0 0 15px}
.fobak-logout-steps span{min-width:0;padding:9px 5px;border-radius:12px;background:#edf3f8;color:#748296;font-size:10px;font-weight:800;line-height:1.25;transition:.2s ease}
.fobak-logout-steps span b{width:21px;height:21px;margin:0 auto 5px;border-radius:50%;display:grid;place-items:center;background:#d7e1eb;color:#5d6f82;font-size:10px}
.fobak-logout-steps span.is-active{background:#e7f2ff;color:#0b4f86}.fobak-logout-steps span.is-active b{background:#0b66c3;color:#fff}
.fobak-logout-steps span.is-done{background:#eef9f2;color:#277348}.fobak-logout-steps span.is-done b{background:#2f8f57;color:#fff}
#fobak-logout-note{display:block;color:#7a8796;font-size:11px;line-height:1.4}
@keyframes fobakLogoutSpin{to{transform:rotate(360deg)}}
@media(max-width:520px){.fobak-logout-overlay{padding:15px}.fobak-logout-card{border-radius:22px;padding:24px 17px 20px}.fobak-logout-emblem{width:72px;height:72px}.fobak-logout-lock{width:52px;height:52px;font-size:26px;border-radius:17px}.fobak-logout-steps{gap:5px}.fobak-logout-steps span{font-size:9px;padding:8px 3px}}
@media(prefers-reduced-motion:reduce){.fobak-logout-overlay,.fobak-logout-card,.fobak-logout-progress span{transition:none!important}.fobak-logout-ring{animation:none!important;border-color:#0b66c3 #ffd21e #e3212e #0b66c3}}


/* FOBAK V125 — Accueil institutionnel stabilisé */
:root{--v125-public-header-h:94px;--v125-public-nav-h:52px;--v125-ticker-h:44px}
@media(min-width:821px){body.public-layout{padding-top:calc(var(--v125-public-header-h) + var(--v125-public-nav-h))!important;padding-bottom:calc(var(--v125-ticker-h) + 8px)!important}body.public-layout>.site-header.public-header{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:1750!important;height:var(--v125-public-header-h)!important;min-height:var(--v125-public-header-h)!important;border-radius:0!important}body.public-layout>.top-nav.public-nav{position:fixed!important;top:var(--v125-public-header-h)!important;left:0!important;right:0!important;z-index:1740!important;min-height:var(--v125-public-nav-h)!important;height:var(--v125-public-nav-h)!important;border-radius:0!important;box-shadow:0 6px 18px rgba(5,57,91,.08)!important}body.public-layout>.top-nav.public-nav a,body.public-layout>.top-nav.public-nav select{min-height:36px!important}}
@media(max-width:820px){body.public-layout{padding-bottom:calc(var(--v125-ticker-h) + 10px)!important}}
.communique-ticker.enhanced-ticker{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:1800!important;width:100%!important;height:var(--v125-ticker-h)!important;min-height:var(--v125-ticker-h)!important;margin:0!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) 38px!important;align-items:center!important;gap:8px!important;padding:5px 8px!important;background:linear-gradient(90deg,#ffd52f,#ffe36b)!important;color:#142a3c!important;border-top:1px solid rgba(118,84,0,.18)!important;box-shadow:0 -5px 18px rgba(5,42,68,.12)!important}.communique-ticker.enhanced-ticker>strong{height:34px!important;display:flex!important;align-items:center!important;background:#064d7c!important;color:#fff!important;border-radius:999px!important;padding:0 13px!important;font-size:12px!important;letter-spacing:.02em!important}.communique-ticker .ticker-track{min-width:0!important;overflow:hidden!important;white-space:nowrap!important}.communique-ticker .ticker-track span{display:inline-block!important;padding-left:8%!important;font-size:13px!important;font-weight:700!important;animation:tickerV125 30s linear infinite!important}.communique-ticker:hover .ticker-track span{animation-play-state:paused!important}.communique-ticker .ticker-close{width:34px!important;height:34px!important;background:rgba(255,255,255,.48)!important;color:#17344a!important;font-weight:900!important}@keyframes tickerV125{from{transform:translateX(100%)}to{transform:translateX(-100%)}}
@media(max-width:520px){:root{--v125-ticker-h:48px}.communique-ticker.enhanced-ticker{grid-template-columns:auto minmax(0,1fr) 34px!important;gap:5px!important;padding:5px!important}.communique-ticker.enhanced-ticker>strong{height:34px!important;padding:0 9px!important;font-size:10px!important}.communique-ticker .ticker-track span{font-size:12px!important;font-weight:750!important;padding-left:4%!important}.communique-ticker .ticker-close{width:32px!important;height:32px!important}}@media(prefers-reduced-motion:reduce){.communique-ticker .ticker-track span{animation:none!important;padding-left:0!important}}
.fobak-unified-footer.app-footer.dashboard-style-footer{background:#074f70!important;border-top:3px solid #f1cf2f!important;box-shadow:0 -7px 22px rgba(5,47,72,.08)!important}.fobak-footer-grid.fobak-footer-grid-v125{grid-template-columns:minmax(300px,1.7fr) minmax(145px,.8fr) minmax(170px,.95fr) auto auto!important;gap:clamp(18px,2.1vw,32px)!important;align-items:start!important;padding:26px clamp(18px,3vw,46px) 27px!important}.fobak-footer-grid.fobak-footer-grid-v125:after{display:none!important}.fobak-footer-brand{align-items:flex-start!important}.fobak-footer-logo{width:62px!important;height:62px!important;flex-basis:62px!important;border-radius:16px!important}.footer-brand-copy{display:grid!important;gap:6px!important}.footer-brand-copy>strong{font-size:1rem!important}.footer-brand-copy>span{font-size:.75rem!important;color:rgba(255,255,255,.78)!important}.fobak-footer-contact{margin-top:4px!important;gap:5px!important}.footer-info-chip{font-size:.76rem!important}.footer-info-chip b{background:rgba(255,255,255,.12)!important;color:#ffe25b!important}.fobak-footer-links{display:grid;align-content:start;gap:7px}.fobak-footer-links h3,.fobak-footer-social h3,.fobak-footer-apps h3{margin:0 0 8px!important;color:#ffe25b!important;font-size:.78rem!important;text-transform:uppercase!important;letter-spacing:.08em!important}.fobak-footer-links a{display:inline-flex!important;align-items:center!important;width:max-content!important;max-width:100%!important;margin:0!important;color:#f4fbff!important;text-decoration:none!important;font-size:.8rem!important;line-height:1.35!important}.fobak-footer-links a:before{content:'›';margin-right:7px;color:#ffe25b;font-weight:900}.fobak-footer-links a:hover{text-decoration:underline!important}.fobak-social-icons{display:flex!important;gap:9px!important;flex-wrap:wrap!important}.fobak-social-icons a{width:48px!important;height:48px!important;border-radius:14px!important;border:0!important;box-shadow:none!important}.fobak-social-icons .social-whatsapp{position:relative!important;grid-template-rows:1fr auto!important;background:#18a957!important;color:#fff!important;padding:5px 4px 3px!important}.fobak-social-icons .social-whatsapp .wa-bubble{font-size:19px!important;line-height:1!important}.fobak-social-icons .social-whatsapp small{font-size:8px!important;line-height:1!important;color:#fff!important;font-weight:950!important}.fobak-footer-apps{min-width:210px}.footer-app-icons{flex-wrap:wrap!important}.footer-app-icon{width:64px!important;height:60px!important;background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.20)!important}.fobak-footer-nav{display:none!important}@media(max-width:1180px){.fobak-footer-grid.fobak-footer-grid-v125{grid-template-columns:1.4fr 1fr 1fr!important}.fobak-footer-social,.fobak-footer-apps{align-self:start!important}}@media(max-width:760px){.fobak-footer-grid.fobak-footer-grid-v125{grid-template-columns:1fr 1fr!important;gap:20px 15px!important;padding:22px 15px 24px!important}.fobak-footer-brand{grid-column:1/-1!important}.fobak-footer-social,.fobak-footer-apps{display:block!important}.fobak-footer-apps{min-width:0!important}.fobak-social-icons a{width:50px!important;height:50px!important}.footer-app-icon{width:70px!important;height:62px!important}.footer-info-chip span{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}}@media(max-width:480px){.fobak-footer-grid.fobak-footer-grid-v125{grid-template-columns:1fr!important}.fobak-footer-brand{grid-column:1!important}.fobak-footer-links a{font-size:.86rem!important}}
.download-app-section{display:none!important}
.president-home-feature{margin:24px 0;display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px;align-items:center;padding:26px;border:1px solid #d7e5ed;border-radius:24px;background:linear-gradient(120deg,#f8fcfe,#fff);box-shadow:0 12px 34px rgba(7,67,103,.08)}.president-home-photo{width:210px;height:240px;border-radius:20px;overflow:hidden;background:#e9f4f8;box-shadow:0 12px 30px rgba(5,55,88,.12)}.president-home-photo img,.president-home-photo .president-biography-placeholder{width:100%;height:100%;object-fit:cover;object-position:center top;border:0;border-radius:0;margin:0}.president-home-copy h2{margin:4px 0 4px;color:#064769;font-size:clamp(1.7rem,3vw,2.35rem)}.president-home-copy>strong{display:block;color:#147c91;margin-bottom:10px}.president-home-copy p{margin:0;color:#516c7d;line-height:1.7;max-width:820px}.president-home-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}@media(max-width:680px){.president-home-feature{grid-template-columns:96px minmax(0,1fr);gap:16px;padding:18px}.president-home-photo{width:96px;height:122px;border-radius:15px}.president-home-copy h2{font-size:1.35rem}.president-home-copy p{grid-column:1/-1;font-size:.9rem;line-height:1.55}.president-home-actions{grid-column:1/-1}.president-home-actions .btn{flex:1 1 150px}.president-home-copy{display:contents}.president-home-copy>.eyebrow,.president-home-copy>h2,.president-home-copy>strong{grid-column:2}.president-home-copy>p,.president-home-copy>.president-home-actions{grid-column:1/-1}}
.home-activities-section{overflow:hidden!important}.home-activities-heading{align-items:flex-end!important}.home-activities-heading .section-title{text-align:left!important;margin:2px 0!important}.home-activities-heading p{margin:4px 0 0;color:#667b8a}.activity-carousel-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.activity-carousel-tools>button{width:42px;height:42px;border:1px solid #d7e4ed;border-radius:12px;background:#fff;color:#07537a;font-size:24px;font-weight:900;cursor:pointer}.activity-carousel-tools>button:disabled{opacity:.35;cursor:default}.home-activity-carousel{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(290px,360px);gap:16px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:inline mandatory;padding:4px 2px 12px;scrollbar-width:thin}.home-activity-card{scroll-snap-align:start;padding:0!important;overflow:hidden!important;min-height:100%;box-shadow:none!important}.activity-card-media{height:190px;background:#eef5f8;overflow:hidden}.activity-card-media>img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important}.activity-brand-placeholder{width:100%;height:100%;display:grid;place-items:center;align-content:center;gap:8px;background:linear-gradient(145deg,#eaf5f8,#f8fcfd);color:#07537a;font-weight:900;text-align:center;padding:18px}.activity-brand-placeholder img{width:92px!important;height:92px!important;object-fit:contain!important;border-radius:16px!important;background:#fff!important;padding:7px!important}.activity-card-body{padding:16px;display:flex;flex-direction:column;gap:7px;height:calc(100% - 190px)}.activity-card-body h3{font-size:1.15rem!important;line-height:1.28!important;margin:2px 0!important}.activity-card-body p{font-size:.9rem!important;line-height:1.5!important;margin:2px 0!important;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.activity-card-body small{margin-top:auto;color:#758895}.activity-card-links{display:flex;flex-direction:column;gap:5px;margin-top:6px}.activity-source-link{color:#0a7788!important;text-decoration:none!important;font-weight:800!important;font-size:.8rem!important}.activity-source-link:hover{text-decoration:underline!important}.public-source-note{margin-top:20px;padding:12px 14px;border-left:4px solid #0a8091;background:#edf8f8;border-radius:10px}@media(max-width:620px){.home-activities-heading{align-items:flex-start!important;flex-direction:column!important}.activity-carousel-tools{width:100%}.activity-carousel-tools .btn{margin-left:auto}.home-activity-carousel{grid-auto-columns:minmax(265px,84vw)}.activity-card-media{height:165px}.activity-card-body{height:calc(100% - 165px)}}


/* V125 — la bulle d'aide ne doit jamais recouvrir la bande des communiqués. */
body:not(.ticker-is-hidden) .floating-help{
  bottom:calc(var(--v125-ticker-h) + 14px)!important;
  z-index:1700!important;
}
body.ticker-is-hidden .floating-help{bottom:18px!important}
@media(max-width:520px){
  body:not(.ticker-is-hidden) .floating-help{bottom:calc(var(--v125-ticker-h) + 10px)!important}
  body.ticker-is-hidden .floating-help{bottom:12px!important}
}

/* ===== FOBAK V127 — Finances intégrées, emblème rond et design unique ===== */
:root{--page-custom-accent:#0b66c3}
.finance-page-head{border-left:6px solid var(--page-custom-accent);padding-left:16px}
.card-title-row,.financial-report-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}
.card-title-row h2,.financial-report-head h2{margin:.2rem 0}
.finance-auto-ref{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:#edf7ff;color:#0b5b99;font-size:12px;font-weight:900}
.finance-entry-grid{align-items:start}.form-subgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-subgrid[hidden]{display:none!important}
.payer-kind-switch{display:flex;gap:10px;flex-wrap:wrap;padding:10px;background:#f5f9fc;border:1px solid #d8e6f1;border-radius:14px}.payer-kind-switch label{flex:1 1 180px;padding:10px 12px;background:#fff;border-radius:11px;cursor:pointer}.payer-kind-switch input{width:auto;margin:0 6px 0 0}
.finance-flow-hint{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;padding:11px;border-radius:14px;background:linear-gradient(90deg,#eef8ff,#fff9df)}.finance-flow-hint span{font-weight:900;color:#123e62}.finance-info-box{margin-top:14px;padding:12px;border-radius:14px;background:#f6f9fc;border-left:4px solid var(--page-custom-accent)}.finance-info-box p{margin:.35rem 0 0;line-height:1.5}.finance-kpi{border-top:5px solid var(--page-custom-accent)}
.finance-table td{vertical-align:top}.finance-actions{min-width:190px}.finance-row-edit{display:inline-block;vertical-align:top;margin:2px}.finance-row-edit>summary{list-style:none}.finance-row-edit>summary::-webkit-details-marker{display:none}.finance-row-edit[open]{display:block;padding:10px;margin:8px 0;border:1px solid #d5e2ed;border-radius:12px;background:#f8fbfe}.finance-row-edit .mini-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.finance-row-edit .mini-form textarea,.finance-row-edit .mini-form button{grid-column:1/-1}.danger-details[open]{border-color:#efb5bd;background:#fff7f8}
.financial-report-card{border-left:5px solid var(--page-custom-accent)}.report-status{padding:8px 11px;border-radius:999px;font-weight:900;font-size:12px;background:#edf1f5}.status-validated{background:#e6f8ed;color:#197343}.status-rejected{background:#ffe9ec;color:#a11c2b}.status-submitted,.status-received{background:#e9f4ff;color:#0c5c98}.status-correction_requested{background:#fff3d7;color:#8b5c00}.status-archived{background:#eef0f3;color:#5f6874}.financial-report-message{padding:12px;background:#f7fafc;border-radius:14px;margin:12px 0}.compact-grid{gap:10px}.report-thread{margin-top:12px;border-top:1px solid #dce5ed;padding-top:10px}.report-thread>summary{cursor:pointer;font-weight:900;color:#0b5b99}.report-thread-list{display:grid;gap:8px;margin:10px 0}.report-thread-item{padding:10px 12px;border-radius:12px;background:#f4f8fb}.report-thread-item small{display:block;color:#758598}.report-thread-item p{margin:.35rem 0}
.settings-subsection{margin-top:8px;padding:12px;border-radius:14px;background:#eef6fc;border-left:4px solid var(--page-custom-accent)}
/* L'emblème rond officiel devient la forme visuelle commune de l'application. */
.site-header.public-header .logo-box,.side-logo,.fobak-footer-logo,.public-mobile-brand>img,.auth-compact-logo img,.loader-emblem-spin{border-radius:50%!important;overflow:hidden!important;background:#fff!important;box-shadow:0 5px 16px rgba(5,38,68,.18)!important;aspect-ratio:1/1!important}
.site-header.public-header .logo-box{width:64px!important;height:64px!important;justify-self:start!important}.site-header.public-header{grid-template-columns:72px 1fr 120px!important}.side-logo{width:54px!important;height:54px!important;flex:0 0 54px!important}.side-logo img,.site-header.public-header .logo-box img,.fobak-footer-logo img,.public-mobile-brand>img,.auth-compact-logo img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important}.fobak-footer-logo{width:64px!important;height:64px!important;display:block!important}.public-mobile-brand>img{width:38px!important;height:38px!important;flex:0 0 38px!important}
@media(max-width:800px){.form-subgrid{grid-template-columns:1fr}.finance-entry-grid{grid-template-columns:1fr!important}.finance-row-edit .mini-form{grid-template-columns:1fr}.finance-flow-hint{justify-content:flex-start}.financial-report-head{display:block}.report-status{display:inline-block;margin-top:6px}.site-header.public-header .logo-box{width:48px!important;height:48px!important}.site-header.public-header{grid-template-columns:52px 1fr 58px!important}}
@media print{.finance-page-head{border:0;padding-left:0}.finance-actions,.report-thread form{display:none!important}}

/* V127 — emblème rond cohérent sur formulaires et fiches */
.heading-form-logo,.sheet-foundation-logo,.print-list-logo img,.print-logo img{
  border-radius:50%!important;aspect-ratio:1/1;object-fit:contain!important;background:#fff!important;
}
.finance-duplicate-confirm{display:flex!important;align-items:flex-start;gap:8px;padding:10px 12px;border:1px dashed #d6a515;border-radius:12px;background:#fff9df;font-size:.9rem}
.finance-duplicate-confirm input{width:auto!important;margin-top:3px}

/* V127 — signataires financiers */
.finance-signers-card .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.finance-signer-panel{border:1px solid #dbe5ef;border-radius:18px;padding:16px;background:#fbfdff}.finance-signer-panel h3{margin-top:0;color:#0b3a66}.signature-preview{min-height:80px;border:1px dashed #c5d4e3;border-radius:12px;padding:8px;display:flex;align-items:center;gap:12px;margin:8px 0}.signature-preview img{max-width:150px;max-height:70px;object-fit:contain;background:#fff}@media(max-width:760px){.finance-signers-card .form-grid{grid-template-columns:1fr}}


/* V128 — Portée National / Provincial unifiée */
.coordination-scope-box{border:1px solid rgba(11,102,195,.18);background:linear-gradient(135deg,rgba(11,102,195,.055),rgba(255,210,30,.05));padding:14px;border-radius:16px;margin:4px 0 8px}.coordination-permission-panel{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(150px,1fr));gap:10px;align-items:center;padding:14px;margin:10px 0 15px;border:1px solid #d8e4ef;border-radius:16px;background:#f8fbfe}.coordination-permission-panel h3{margin:2px 0 3px}.coordination-permission-panel p{margin:0;color:#647589;font-size:.82rem}.coordination-permission-panel label{display:flex;gap:8px;align-items:center;padding:10px;border-radius:12px;background:white;border:1px solid #e0e8ef;font-weight:700}.coordination-member-summary{display:flex;gap:8px;flex-wrap:wrap}.scope-national{background:#e8f2ff!important;color:#0b4f86!important}.scope-provincial{background:#eef9f2!important;color:#277348!important}@media(max-width:850px){.coordination-permission-panel{grid-template-columns:1fr}.coordination-permission-panel label{width:100%;box-sizing:border-box}}


/* ===== V129 — Centre SEO multi-moteurs ===== */
.seo-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(135deg,#fff,#f4f9ff)}
.seo-hero h1{margin:.25rem 0 .4rem}.seo-status-pill{min-width:180px;padding:14px 18px;border-radius:18px;display:flex;flex-direction:column;gap:3px;text-align:center}.seo-status-pill.ok{background:#eaf8ef;color:#1d6d3c}.seo-status-pill.warn{background:#fff6df;color:#865d00}.seo-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:14px 0}.seo-kpi-grid article{display:grid;gap:7px;align-content:start}.seo-kpi-grid article>span{font-size:24px}.seo-kpi-grid article>a{font-weight:800}.seo-actions-card .quick-actions-row{display:flex;gap:10px;flex-wrap:wrap}.seo-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.seo-check-grid>div{display:flex;gap:10px;align-items:flex-start;padding:14px;border-radius:14px;background:#f7f9fc}.seo-check-grid b{display:grid;place-items:center;min-width:27px;height:27px;border-radius:50%;background:#0b66c3;color:white}.seo-settings-shortcut{border-left:4px solid #0b66c3}@media(max-width:760px){.seo-hero{align-items:stretch;flex-direction:column}.seo-status-pill{min-width:0}.seo-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.seo-check-grid{grid-template-columns:1fr}}@media(max-width:430px){.seo-kpi-grid{grid-template-columns:1fr}.seo-actions-card .quick-actions-row{display:grid}.seo-actions-card .quick-actions-row form,.seo-actions-card .quick-actions-row button{width:100%}}

/* ===== FOBAK V129.3 — navigation, connexion et contenus publics ===== */
/* Le pied de la barre latérale reste toujours visible, même lorsque le menu est long. */
.side-dashboard{height:100dvh!important;max-height:100dvh!important;overflow:hidden!important}
.side-dashboard>.side-top,.side-dashboard>.side-menu-search,.side-dashboard>.side-menu-search-empty,.side-dashboard>.side-search-results,.side-dashboard>.side-user,.side-dashboard>.logout-btn{flex:0 0 auto}
.side-dashboard>.side-menu{flex:1 1 auto!important;min-height:0!important;margin-bottom:8px!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable}
.side-dashboard>.side-user{margin-top:0!important;padding-block:10px!important;background:linear-gradient(180deg,rgba(5,40,68,0),rgba(5,40,68,.96) 28%)}
.side-dashboard>.logout-btn{position:relative!important;bottom:auto!important;z-index:3!important;min-height:48px!important;margin:2px 6px 0!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;background:#fff!important;color:#9f1825!important;border:2px solid rgba(255,255,255,.72)!important;box-shadow:0 9px 22px rgba(0,0,0,.24)!important}
.side-dashboard>.logout-btn svg{width:21px;height:21px;fill:currentColor;flex:0 0 21px}
.side-dashboard>.logout-btn:hover{background:#fff2f3!important;color:#7f101b!important;transform:translateY(-1px)}

/* Une seule ligne sur grand écran; deux lignes propres sur les largeurs intermédiaires. */
@media(min-width:1500px){
  :root{--v125-public-nav-h:64px}
  body.public-layout>.top-nav.public-nav{display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;gap:clamp(2px,.38vw,7px)!important;padding:8px clamp(10px,1.1vw,22px)!important;overflow:hidden!important;box-sizing:border-box!important}
  body.public-layout>.top-nav.public-nav>a{flex:0 1 auto!important;min-width:0!important;max-width:max-content!important;padding:9px clamp(6px,.58vw,12px)!important;font-size:clamp(12px,.77vw,15px)!important;line-height:1.15!important;white-space:nowrap!important}
  body.public-layout>.top-nav.public-nav>.public-health-link{padding-inline:clamp(9px,.7vw,14px)!important}
  body.public-layout>.top-nav.public-nav>.public-language{flex:0 0 116px!important;width:116px!important;min-width:116px!important;max-width:116px!important;margin-left:2px!important;padding:8px 25px 8px 9px!important;font-size:13px!important;box-sizing:border-box!important}
}
@media(min-width:821px) and (max-width:1499px){
  :root{--v125-public-nav-h:104px}
  body.public-layout>.top-nav.public-nav{display:flex!important;align-content:center!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:5px 7px!important;padding:8px 14px!important;overflow:hidden!important;box-sizing:border-box!important}
  body.public-layout>.top-nav.public-nav>a{flex:0 0 auto!important;min-height:36px!important;max-height:39px!important;padding:8px 10px!important;font-size:13px!important;line-height:1.15!important;white-space:nowrap!important}
  body.public-layout>.top-nav.public-nav>.public-language{flex:0 0 118px!important;width:118px!important;min-width:118px!important;max-width:118px!important;margin:0!important;padding:7px 24px 7px 9px!important;font-size:13px!important;box-sizing:border-box!important}
}
@media(max-width:820px){
  .public-mobile-bar:has(.public-mobile-brand:last-child){grid-template-columns:46px minmax(0,1fr)!important}
  .public-mobile-bar:has(.public-mobile-brand:last-child) .public-mobile-brand{justify-self:start!important}
  body.public-layout>.top-nav.public-nav{max-width:min(88vw,360px)!important;overflow-x:hidden!important;overflow-y:auto!important}
  body.public-layout>.top-nav.public-nav>.public-language{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:5px 0 0!important;box-sizing:border-box!important}
}

/* Message de fin de session: aligné avec la carte de connexion et lisible. */
body.public-layout .public-content:has(.auth-compact-shell){display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:0!important}
.auth-flash-zone{width:min(100%,620px)!important;margin:0 auto 16px!important}
.auth-flash-zone .flash{position:relative;padding:14px 18px 14px 49px!important;border:1px solid #b8e3ca!important;border-radius:15px!important;background:#edfbf3!important;color:#175b37!important;font-weight:750!important;line-height:1.45!important;box-shadow:0 10px 28px rgba(7,91,57,.10)!important;text-align:left!important}
.auth-flash-zone .flash:before{content:'✓';position:absolute;left:15px;top:50%;translate:0 -50%;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#1f9b5b;color:#fff;font-size:14px;font-weight:950}
.auth-flash-zone .flash.danger{border-color:#efbcc2!important;background:#fff0f2!important;color:#821e2a!important}.auth-flash-zone .flash.danger:before{content:'×';background:#c52b3b}
.auth-flash-zone .flash.warning{border-color:#ead48d!important;background:#fff8df!important;color:#745500!important}.auth-flash-zone .flash.warning:before{content:'!';background:#c39100}
.auth-flash-zone .flash.info{border-color:#bdd9ef!important;background:#eef7ff!important;color:#174f78!important}.auth-flash-zone .flash.info:before{content:'i';background:#247db8}
.auth-back-home{display:inline-flex;align-items:center;gap:7px;margin:0 0 18px;padding:8px 11px;border-radius:10px;background:#eef6fa;color:#0a608b;text-decoration:none;font-size:.82rem;font-weight:850;transition:background .16s,color .16s}
.auth-back-home svg{width:18px;height:18px;fill:currentColor}
.auth-back-home:hover{background:#deeff7;color:#073e66}

/* Icônes vectorielles officielles et couleurs propres des réseaux sociaux. */
.fobak-social-icons a{display:grid!important;place-items:center!important;padding:0!important;overflow:hidden!important;color:#fff!important;transition:transform .18s ease,box-shadow .18s ease!important}
.fobak-social-icons a:before{display:none!important}
.fobak-social-icons a:hover{transform:translateY(-2px)!important;box-shadow:0 9px 20px rgba(0,0,0,.22)!important;text-decoration:none!important}
.fobak-social-icons a svg{width:25px;height:25px;display:block;fill:currentColor}
.fobak-social-icons .social-facebook{background:#1877f2!important;color:#fff!important}
.fobak-social-icons .social-whatsapp{display:grid!important;grid-template-rows:1fr!important;background:#25d366!important;color:#fff!important;padding:0!important}
.fobak-social-icons .social-whatsapp svg{width:29px;height:29px}
.fobak-social-icons .social-youtube{background:#ff0033!important;color:#fff!important}
.fobak-social-icons .social-instagram{background:radial-gradient(circle at 32% 100%,#ffd36b 0 18%,#f3426d 42%,#8b3ac8 72%,#405de6 100%)!important;color:#fff!important}
.fobak-social-icons .social-instagram .social-stroke-icon{fill:none!important;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fobak-social-icons .social-instagram .social-fill-dot{fill:currentColor!important;stroke:none!important}
.fobak-social-icons .social-tiktok{background:#111!important;color:#fff!important}
.fobak-social-icons .social-x{background:#050505!important;color:#fff!important}
.fobak-social-icons .social-linkedin{background:#0a66c2!important;color:#fff!important}
.fobak-footer-copyright{display:flex;align-items:center;justify-content:center;gap:8px 18px;flex-wrap:wrap;width:100%;padding:13px clamp(16px,3vw,46px);border-top:1px solid rgba(255,255,255,.16);background:rgba(2,31,49,.34);color:rgba(255,255,255,.88);font-size:.76rem;line-height:1.45;text-align:center;letter-spacing:.01em}
.fobak-footer-copyright span:last-child{color:#ffe25b;font-weight:800}
@media(max-width:520px){.fobak-footer-copyright{display:grid;gap:3px;padding:11px 14px;font-size:.71rem}}

/* Biographie: portrait institutionnel encadré et récit structuré, selon le modèle CEN. */
.president-home-feature{position:relative;grid-template-columns:250px minmax(0,1fr)!important;gap:clamp(26px,4vw,54px)!important;padding:clamp(24px,4vw,48px)!important;border:0!important;border-left:7px solid #0b6f65!important;border-radius:26px!important;background:linear-gradient(118deg,#f0faf7 0%,#fff 50%,#f8fbff 100%)!important;box-shadow:0 18px 48px rgba(7,62,88,.12)!important;overflow:hidden}
.president-home-feature:after{content:'';position:absolute;right:-90px;bottom:-120px;width:300px;height:300px;border-radius:50%;border:1px solid rgba(10,112,101,.12);box-shadow:0 0 0 45px rgba(10,112,101,.025),0 0 0 90px rgba(10,112,101,.018);pointer-events:none}
.president-home-portrait{position:relative;z-index:1;width:250px;padding:12px 12px 0;border-radius:24px 24px 18px 18px;background:#fff;box-shadow:0 16px 35px rgba(5,55,88,.14)}
.president-home-marker{position:absolute;z-index:2;left:24px;bottom:13px;padding:7px 11px;border-radius:999px;background:#0a6f65;color:#fff;font-size:.68rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 6px 14px rgba(5,67,61,.22)}
.president-home-photo{width:226px!important;height:276px!important;border-radius:17px 17px 13px 13px!important;box-shadow:none!important}
.president-home-copy{position:relative;z-index:1}.president-home-copy h2{font-size:clamp(2rem,3.6vw,3rem)!important;line-height:1.05!important;margin:8px 0 7px!important;letter-spacing:-.025em}.president-home-copy>strong{font-size:1.03rem;line-height:1.45;color:#0a776f!important}.president-home-copy p{max-width:850px!important;font-size:1rem;line-height:1.75!important;color:#486577!important}.president-home-actions .btn{min-height:45px}
.president-biography-page{max-width:1120px;margin:18px auto 34px;background:#fff;border:1px solid #d7e5ed;border-radius:30px;box-shadow:0 24px 65px rgba(4,48,78,.13);overflow:hidden}
.president-biography-hero{position:relative;display:grid;grid-template-columns:300px minmax(0,1fr);gap:clamp(30px,5vw,65px);align-items:center;padding:clamp(26px,5vw,58px);background:linear-gradient(120deg,#073e61 0%,#075e6f 62%,#0a7f79 100%);color:#fff;overflow:hidden}
.president-biography-hero:after{content:'';position:absolute;right:-160px;top:-170px;width:420px;height:420px;border-radius:50%;border:1px solid rgba(255,255,255,.13);box-shadow:0 0 0 60px rgba(255,255,255,.03),0 0 0 120px rgba(255,255,255,.02);pointer-events:none}
.president-biography-portrait{position:relative;z-index:1;padding:13px;border-radius:24px;background:#fff;box-shadow:0 18px 44px rgba(0,0,0,.24)}
.president-biography-portrait>span{position:absolute;z-index:2;left:28px;bottom:25px;padding:8px 12px;border-radius:999px;background:#f3d332;color:#183344;font-size:.72rem;font-weight:950;text-transform:uppercase;letter-spacing:.07em}
.president-biography-portrait img,.president-biography-portrait .president-biography-placeholder{display:block;width:100%;height:350px;object-fit:cover;object-position:center top;border-radius:16px;background:#e9f4f6}
.president-biography-intro{position:relative;z-index:1}.president-biography-intro .eyebrow{color:#ffe56a!important}.president-biography-intro h1{margin:10px 0 9px;font-size:clamp(2.35rem,5vw,4.5rem);line-height:.98;letter-spacing:-.035em;color:#fff}.president-biography-role{margin:0 0 22px;color:#b9f1e9;font-size:1.1rem;font-weight:850}.president-biography-lead{max-width:720px;margin:0;color:rgba(255,255,255,.91);font-size:1.03rem;line-height:1.75;white-space:pre-line}
.president-biography-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:clamp(24px,4vw,48px);background:#f6fafc}
.president-biography-section{display:grid;grid-template-columns:48px minmax(0,1fr);gap:16px;align-items:start;padding:23px;border:1px solid #dce8ef;border-radius:20px;background:#fff;box-shadow:0 8px 22px rgba(5,54,91,.055)}
.president-biography-number{width:45px;height:45px;display:grid;place-items:center;border-radius:14px;background:#e7f5f2;color:#08736b;font-size:.8rem;font-weight:950}.president-biography-section h2{margin:2px 0 10px;color:#073f63;font-size:1.22rem;line-height:1.25}.president-biography-section p{margin:0;color:#4e6678;line-height:1.7;white-space:pre-line}.president-biography-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:22px clamp(24px,4vw,48px);border-top:1px solid #dce8ef;background:#fff}

/* Activités d'accueil: vraies cartes éditoriales fixes, sans défilement horizontal. */
.home-activities-showcase{margin:28px 0;padding:clamp(24px,4vw,42px);border-radius:27px;background:linear-gradient(135deg,#073e61 0%,#075a70 66%,#08766f 100%);box-shadow:0 20px 54px rgba(5,54,83,.17)}
.home-activities-showcase .home-activities-heading{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:20px;margin-bottom:24px!important}.home-activities-showcase .eyebrow{color:#ffe263!important}.home-activities-showcase .section-title{margin:5px 0!important;color:#fff!important;font-size:clamp(1.8rem,3vw,2.65rem)!important}.home-activities-showcase .home-activities-heading p{margin:0!important;color:rgba(255,255,255,.78)!important}.home-activities-all{flex:0 0 auto;background:rgba(255,255,255,.12)!important;color:#fff!important;border:1px solid rgba(255,255,255,.28)!important}
.home-activities-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.home-news-card{min-width:0;display:flex;flex-direction:column;border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 12px 30px rgba(1,28,46,.18)}
.home-news-card.is-featured{grid-column:span 2;display:grid;grid-template-columns:minmax(260px,1.12fr) minmax(280px,.88fr)}
.home-news-media{position:relative;display:block;min-height:218px;background:#eaf4f6;overflow:hidden}.home-news-card.is-featured .home-news-media{min-height:100%}.home-news-media>img{display:block;width:100%;height:100%;min-height:218px;object-fit:cover;transition:transform .3s ease}.home-news-card:hover .home-news-media>img{transform:scale(1.025)}
.home-news-media>.activity-brand-placeholder{position:absolute;inset:0}.home-news-media>.activity-brand-placeholder img{width:90px!important;height:90px!important}.home-news-category{position:absolute;left:14px;top:14px;padding:7px 10px;border-radius:999px;background:#f1d433;color:#173342;font-size:.7rem;font-weight:950;text-transform:uppercase;letter-spacing:.05em;box-shadow:0 5px 12px rgba(0,0,0,.14)}
.home-news-body{display:flex;flex-direction:column;gap:8px;padding:20px}.home-news-meta{display:flex;gap:7px;flex-wrap:wrap;color:#728594;font-size:.77rem;font-weight:750}.home-news-body h3{margin:0;font-size:1.25rem;line-height:1.28}.home-news-card.is-featured .home-news-body h3{font-size:clamp(1.35rem,2vw,1.8rem)}.home-news-body h3 a{color:#073f63;text-decoration:none}.home-news-body h3 a:hover{color:#08736b}.home-news-subtitle{color:#0b7a73;font-size:.88rem;line-height:1.4}.home-news-body p{margin:0;color:#536c7d;font-size:.9rem;line-height:1.58;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}.home-news-links{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:6px}.home-news-links .activity-read-link{color:#075b84;text-decoration:none;font-weight:900;font-size:.84rem}.home-activities-empty{grid-column:1/-1;display:grid;gap:7px;text-align:center;padding:38px;border:1px dashed rgba(255,255,255,.35);border-radius:18px;color:#fff}.home-activities-empty span{color:rgba(255,255,255,.75)}

@media(max-width:900px){
  .president-home-feature{grid-template-columns:210px minmax(0,1fr)!important}.president-home-portrait{width:210px}.president-home-photo{width:186px!important;height:238px!important}
  .president-biography-hero{grid-template-columns:230px minmax(0,1fr)}.president-biography-portrait img,.president-biography-portrait .president-biography-placeholder{height:285px}.president-biography-sections{grid-template-columns:1fr}
  .home-activities-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-news-card.is-featured{grid-column:1/-1}
}
@media(max-width:680px){
  .auth-flash-zone{margin-bottom:12px!important}.auth-flash-zone .flash{font-size:.86rem!important;padding:12px 13px 12px 44px!important}
  .president-home-feature{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;gap:17px!important;padding:18px!important;border-left-width:5px!important}.president-home-portrait{width:112px!important;padding:7px 7px 0!important;border-radius:17px!important}.president-home-photo{width:98px!important;height:126px!important;border-radius:12px!important}.president-home-marker{display:none}.president-home-copy{display:contents!important}.president-home-copy>.eyebrow,.president-home-copy>h2,.president-home-copy>strong{grid-column:2!important}.president-home-copy>p,.president-home-copy>.president-home-actions{grid-column:1/-1!important}.president-home-copy h2{font-size:1.38rem!important;margin:4px 0!important}.president-home-copy>strong{font-size:.84rem}.president-home-copy p{font-size:.91rem!important;line-height:1.6!important}.president-home-actions .btn{flex:1 1 160px}
  .president-biography-page{border-radius:20px}.president-biography-hero{grid-template-columns:1fr;padding:23px 18px 27px}.president-biography-portrait{width:min(230px,80%);margin:auto}.president-biography-portrait img,.president-biography-portrait .president-biography-placeholder{height:270px}.president-biography-intro{text-align:center}.president-biography-intro h1{font-size:2.2rem}.president-biography-lead{text-align:left;font-size:.94rem;line-height:1.65}.president-biography-sections{padding:17px}.president-biography-section{grid-template-columns:40px minmax(0,1fr);gap:12px;padding:17px}.president-biography-number{width:38px;height:38px}.president-biography-footer{padding:17px}.president-biography-footer .btn{flex:1 1 180px}
  .home-activities-showcase{padding:21px 15px;border-radius:21px}.home-activities-showcase .home-activities-heading{align-items:flex-start!important;flex-direction:column!important}.home-activities-all{width:100%}.home-activities-grid{grid-template-columns:1fr}.home-news-card.is-featured{display:flex;grid-column:auto}.home-news-media,.home-news-card.is-featured .home-news-media{min-height:190px}.home-news-media>img{min-height:190px}.home-news-body{padding:17px}
}

/* ===== FOBAK V129.4 — reprise complète et prioritaire des 7 corrections ===== */
/* 1. Le compte et la déconnexion forment un pied de menu non défilant. */
.side-dashboard{display:flex!important;flex-direction:column!important;height:100vh!important;height:100dvh!important;max-height:100dvh!important;overflow:hidden!important;padding-bottom:max(12px,env(safe-area-inset-bottom))!important}
.side-dashboard>.side-top,.side-dashboard>.side-menu-search,.side-dashboard>.side-menu-search-empty,.side-dashboard>.side-search-results{flex:0 0 auto!important}
.side-dashboard>.side-menu{flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;margin:6px 0!important;padding-bottom:12px!important}
.side-account-footer{position:relative!important;z-index:10!important;flex:0 0 auto!important;margin-top:auto!important;padding:7px 0 0!important;border-top:1px solid rgba(255,255,255,.18)!important;background:#052d4c!important;box-shadow:0 -12px 24px rgba(3,29,49,.18)!important}
.side-account-footer .side-user{margin:0!important;padding:8px!important;border:0!important;min-height:56px!important}
.side-account-footer .logout-btn{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:calc(100% - 12px)!important;min-height:50px!important;margin:4px 6px 0!important;padding:12px 14px!important;border:2px solid #fff!important;border-radius:14px!important;background:#fff!important;color:#a01625!important;font-weight:950!important;text-decoration:none!important;visibility:visible!important;opacity:1!important;box-shadow:0 9px 22px rgba(0,0,0,.24)!important}
.side-account-footer .logout-btn svg{width:22px!important;height:22px!important;fill:currentColor!important;flex:0 0 22px!important}.side-account-footer .logout-btn:hover{background:#fff0f2!important;color:#7e101c!important}

/* 2. La page de connexion n'utilise plus :has(); le message précède toujours la carte. */
body.page-login .public-content{width:100%!important;max-width:none!important;min-height:calc(100vh - var(--v125-public-header-h) - var(--v125-public-nav-h) - var(--v125-ticker-h))!important;padding:clamp(20px,3vw,42px) 16px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important}
body.page-login .auth-flash-zone{order:0!important;width:min(100%,560px)!important;margin:0 auto 14px!important;flex:0 0 auto!important}
body.page-login .auth-compact-shell{order:1!important;width:min(100%,500px)!important;margin:0 auto!important}
body.page-login .auth-flash-zone .flash{margin:0!important;text-align:left!important}
body.page-login .auth-back-home{display:inline-flex!important;visibility:visible!important;opacity:1!important}

/* 3 et 5. Navigation structurée: menus flexibles, actions et langue toujours contenues. */
body.public-layout>.top-nav.public-nav{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;justify-content:stretch!important;column-gap:12px!important;width:100%!important;max-width:100vw!important;box-sizing:border-box!important;overflow:hidden!important}
.public-nav-links{min-width:0!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;flex-wrap:nowrap!important;overflow:hidden!important}
.public-nav-links>a{flex:0 1 auto!important;min-width:0!important;max-width:max-content!important;padding:9px clamp(6px,.55vw,11px)!important;font-size:clamp(12px,.78vw,15px)!important;line-height:1.15!important;white-space:nowrap!important;text-decoration:none!important}
.public-nav-links>a.active{background:#e9f3fb!important;color:#073e66!important}
.public-nav-actions{flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;min-width:0!important}
.public-nav-actions>.public-login-link{flex:0 0 auto!important;margin:0!important;padding:9px 15px!important;white-space:nowrap!important}
.public-language-wrap{flex:0 0 126px!important;width:126px!important;max-width:126px!important;min-width:126px!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:5px!important;margin:0!important;padding:4px 5px 4px 9px!important;border:1px solid #cddceb!important;border-radius:12px!important;background:#fff!important;color:#0b4e7b!important;box-sizing:border-box!important;overflow:hidden!important}
.public-language-wrap>span{font-size:10px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.03em!important}.public-language-wrap>.public-language{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:34px!important;margin:0!important;padding:4px 3px!important;border:0!important;background:#fff!important;font-size:12px!important;box-shadow:none!important;box-sizing:border-box!important;text-overflow:ellipsis!important}
@media(min-width:1500px){:root{--v125-public-nav-h:64px}body.public-layout>.top-nav.public-nav{height:var(--v125-public-nav-h)!important;min-height:var(--v125-public-nav-h)!important;padding:7px clamp(10px,1.2vw,24px)!important}}
@media(min-width:821px) and (max-width:1499px){
  :root{--v125-public-nav-h:104px}
  body.public-layout>.top-nav.public-nav{height:var(--v125-public-nav-h)!important;min-height:var(--v125-public-nav-h)!important;padding:8px 12px!important;column-gap:8px!important}
  .public-nav-links{align-content:center!important;flex-wrap:wrap!important;gap:3px!important;max-height:88px!important}
  .public-nav-links>a{padding:7px 8px!important;font-size:12px!important}
  .public-nav-actions{align-self:stretch!important;flex-direction:column!important;justify-content:center!important;gap:5px!important}
  .public-nav-actions>.public-login-link,.public-language-wrap{width:126px!important;min-width:126px!important;max-width:126px!important}
}
@media(max-width:820px){
  body.public-layout>.top-nav.public-nav{display:flex!important;grid-template-columns:none!important;align-items:stretch!important;justify-content:flex-start!important;max-width:min(88vw,360px)!important;width:min(88vw,360px)!important;padding:72px 12px 22px!important;overflow-y:auto!important;overflow-x:hidden!important}
  .public-nav-links,.public-nav-actions{display:flex!important;flex:0 0 auto!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;max-height:none!important;overflow:visible!important;gap:5px!important}
  .public-nav-links>a,.public-nav-actions>a{width:100%!important;max-width:none!important;min-height:44px!important;padding:11px 13px!important;text-align:left!important;box-sizing:border-box!important}
  .public-nav-actions{margin-top:6px!important;padding-top:8px!important;border-top:1px solid #dce6ee!important}
  .public-language-wrap{width:100%!important;min-width:0!important;max-width:100%!important;min-height:47px!important;grid-template-columns:58px minmax(0,1fr)!important}
  .public-language-wrap>.public-language{width:100%!important}
  body.page-login .public-content{min-height:0!important;padding:18px 12px 30px!important}
}

/* 4. Les icônes de marque restent nettes et WhatsApp est prioritaire. */
.fobak-social-icons{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}.fobak-social-icons>a{display:grid!important;place-items:center!important;width:48px!important;height:48px!important;min-width:48px!important;border-radius:14px!important;visibility:visible!important;opacity:1!important}.fobak-social-icons>a svg{display:block!important;width:26px!important;height:26px!important}.fobak-social-icons>.social-whatsapp{order:-1!important;background:#25d366!important}.fobak-social-icons>.social-whatsapp svg{width:30px!important;height:30px!important}

/* 6. Biographie institutionnelle, toujours cadrée et lisible. */
.president-biography-page,.president-home-feature{isolation:isolate}.president-biography-hero{min-height:440px!important}.president-biography-portrait{align-self:stretch!important;display:flex!important;align-items:stretch!important}.president-biography-portrait img,.president-biography-portrait .president-biography-placeholder{min-height:350px!important;height:100%!important}.president-biography-section{border-left:4px solid #0a7a70!important}.president-biography-section h2{overflow-wrap:anywhere!important}

/* 7. Activités: grille éditoriale sans carrousel ni débordement horizontal. */
.home-activities-showcase{display:block!important;overflow:hidden!important}.home-activities-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important;overflow:visible!important}.home-news-card{width:100%!important;max-width:100%!important;scroll-snap-align:none!important}.home-news-card.is-featured{grid-column:span 2!important}.home-news-media{overflow:hidden!important}.home-news-body{min-width:0!important}.home-news-body h3,.home-news-body p{overflow-wrap:anywhere!important}
@media(max-width:900px){.home-activities-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.home-news-card.is-featured{grid-column:1/-1!important}}
@media(max-width:620px){.home-activities-grid{grid-template-columns:1fr!important}.home-news-card.is-featured{grid-column:auto!important;display:flex!important}.president-biography-hero{min-height:0!important}.president-biography-portrait{align-self:auto!important}.president-biography-portrait img,.president-biography-portrait .president-biography-placeholder{height:270px!important;min-height:270px!important}}

/* ===== V129.6.4 — emblème circulaire dans les formulaires officiels ===== */
.form-circle-heading .heading-logo-wrap,
.form-brand-emblem-wrap{display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.form-circle-emblem,
.heading-form-logo.form-circle-emblem{
  width:92px!important;
  height:92px!important;
  max-width:92px!important;
  max-height:92px!important;
  aspect-ratio:1/1!important;
  border-radius:50%!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#fff!important;
  padding:3px!important;
  box-shadow:0 8px 22px rgba(11,58,102,.16)!important;
  filter:saturate(1.08) contrast(1.06)!important;
}
.form-brand-heading{display:flex!important;align-items:center!important;gap:18px!important}
.form-brand-heading>div:not(.form-brand-emblem-wrap){min-width:0}
.official-form-head .paper-logo{width:98px!important;height:98px!important;justify-content:center!important}
.official-form-head .paper-logo img{
  width:92px!important;height:92px!important;aspect-ratio:1/1!important;
  border-radius:50%!important;object-fit:contain!important;object-position:center!important;
}
.official-form-head{grid-template-columns:110px minmax(280px,1fr) 120px 100px!important}
@media(max-width:760px){
  .form-brand-heading{display:grid!important;grid-template-columns:1fr!important;text-align:center!important}
  .form-circle-emblem,.heading-form-logo.form-circle-emblem{width:78px!important;height:78px!important;max-width:78px!important;max-height:78px!important}
  .official-form-head{grid-template-columns:1fr!important}.official-form-head .paper-logo{margin-inline:auto!important}
}


/* ===== FOBAK V129.6.12 — recherche intelligente, dictionnaire et aide contextuelle ===== */
.smart-search-hero{display:grid;gap:16px;border-top:4px solid var(--fobak-cyan,#1aa6d9)}
.smart-search-hero h1,.smart-help-main h1{margin:.2rem 0 .45rem;color:#083b61}
.smart-correction-zone{display:grid;gap:9px;padding:13px 15px;border:1px solid #f1d16b;background:#fff9df;border-radius:14px}
.smart-correction-chips{display:flex;flex-wrap:wrap;gap:8px}.smart-correction-chips a{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border:1px solid #e6c758;border-radius:999px;background:#fff;color:#174565;text-decoration:none;font-weight:800}.smart-correction-chips a small{font-weight:500;color:#6e7880}.smart-correction-chips a:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(19,63,92,.09)}
.smart-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.smart-result-grid>.card{min-width:0}.smart-result-row{display:grid;gap:3px;padding:11px 2px;border-bottom:1px solid #e8eef2;color:#173f59;text-decoration:none}.smart-result-row:last-child{border-bottom:0}.smart-result-row span{font-size:.86rem;color:#6a7f8e}.smart-result-row:hover strong{color:#087baa}
.smart-empty-search{display:flex;align-items:center;gap:14px}.smart-empty-search>span{font-size:2rem}.smart-empty-search h2{margin:0 0 4px}
.dictionary-panel{border-top:4px solid #1b9361}.dictionary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dictionary-grid article{display:grid;grid-template-columns:42px 1fr;gap:11px;padding:13px;border:1px solid #dce8ed;border-radius:14px;background:#fbfdfe}.dictionary-grid article>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#edf7fa;font-size:20px}.dictionary-grid strong,.dictionary-grid small{display:block}.dictionary-grid small{margin:2px 0 5px;color:#138264;font-weight:800}.dictionary-grid p{margin:0;color:#526b7a;line-height:1.45;font-size:.9rem}
.search-suggestion-kind{display:inline-block;margin-top:4px;padding:2px 6px;border-radius:999px;background:#fff3c4;color:#6a5200;font-size:.68rem;font-style:normal;font-weight:800}.advanced-search-results a.is-correction{background:#fffaf0}.advanced-search-results button.inline-search-correction,.smart-help-live-results button{width:100%;display:grid;grid-template-columns:30px 1fr;gap:8px;text-align:left;border:0;border-bottom:1px solid #e5edf1;background:#fffaf0;padding:10px 12px;cursor:pointer;color:#173f59}.advanced-search-results button.inline-search-correction:hover,.smart-help-live-results button:hover{background:#fff4ce}.advanced-search-results button span:last-child,.smart-help-live-results button span:last-child{display:grid;gap:2px}.advanced-search-results button small,.smart-help-live-results button small{color:#6c808d}
.search-field-help,.member-smart-search small{display:block;margin-top:4px;color:#6c808d;font-size:.75rem}.member-smart-search{min-width:min(340px,100%)}.member-smart-search .advanced-search-field{margin-top:5px}.smart-module-search-form .advanced-search-field{position:relative;min-width:min(320px,100%)}
.table-typo-suggestions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0 0 10px;padding:10px 12px;background:#fff9df;border:1px solid #f1d16b;border-radius:12px}.table-typo-suggestions[hidden]{display:none!important}.table-typo-suggestions button{border:1px solid #dfc45c;background:#fff;border-radius:999px;padding:6px 10px;cursor:pointer;font-weight:700;color:#174565}
.smart-help-shell{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:16px;align-items:start}.smart-help-heading{display:flex;gap:15px;align-items:flex-start}.smart-help-bot{display:grid;place-items:center;flex:0 0 54px;width:54px;height:54px;border-radius:17px;background:linear-gradient(135deg,#e5f7ff,#fff5bf);font-size:27px}.context-help-banner{display:grid;grid-template-columns:36px 1fr;gap:10px;padding:12px 14px;border-radius:14px;background:#edf8fc;border:1px solid #cce8f0}.context-help-banner small,.context-help-banner strong{display:block}.context-help-banner strong{color:#07598a;margin:2px 0}.context-help-banner p{margin:0;color:#536f7d;font-size:.9rem}.smart-help-field{position:relative}.smart-help-live-results{position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:50;background:#fff;border:1px solid #cfdee6;border-radius:14px;box-shadow:0 15px 40px rgba(11,58,102,.16);max-height:390px;overflow:auto}.smart-help-live-results[hidden]{display:none!important}.smart-help-live-results a{display:grid;grid-template-columns:32px 1fr;gap:9px;padding:10px 12px;text-decoration:none;color:#173f59;border-bottom:1px solid #e8eff3}.smart-help-live-results a:last-child{border-bottom:0}.smart-help-live-results a span:last-child{display:grid;gap:2px}.smart-help-live-results small{color:#6b7f8b;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.help-form-actions{display:flex;gap:8px;flex-wrap:wrap}.smart-ai-answer{display:grid;grid-template-columns:1fr;gap:8px}.smart-ai-answer ol{margin:.6rem 0 0;padding-left:1.25rem}.smart-ai-answer li{margin:.35rem 0}.help-context-card{position:sticky;top:90px}.help-context-card h2{color:#0a527d;margin:.25rem 0}.help-context-card ul{padding-left:1.15rem}.help-context-card li{margin:.5rem 0}.help-topic-section{margin-top:16px}.help-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.help-topic-card{display:grid;grid-template-columns:48px 1fr;gap:12px;padding:15px;border:1px solid #dce7ed;border-radius:16px;background:#fff}.help-topic-card.is-contextual{border-color:#1aa6d9;background:#f3fbfe}.help-topic-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#edf6fa;font-size:23px}.help-topic-card small{color:#168063;font-weight:800}.help-topic-card h3{margin:2px 0 5px;color:#0b486d}.help-topic-card p{margin:0;color:#546d7b;line-height:1.45}.help-topic-card ol{margin:.65rem 0;padding-left:1.2rem;color:#425e6d;font-size:.9rem}.help-topic-actions{display:flex;gap:10px;flex-wrap:wrap}.help-topic-actions a{font-weight:800;color:#0878a5;text-decoration:none;font-size:.88rem}.module-guide-help-link{align-self:center;white-space:nowrap;padding:8px 11px;border:1px solid rgba(8,93,136,.22);border-radius:999px;background:#fff;color:#075b89;text-decoration:none;font-weight:800;font-size:.82rem}
@media(max-width:900px){.smart-help-shell{grid-template-columns:1fr}.help-context-card{position:static;order:-1}.smart-result-grid,.dictionary-grid,.help-topic-grid{grid-template-columns:1fr}.smart-search-hero .search-large{display:grid;grid-template-columns:1fr}.smart-search-hero .search-large .btn{width:100%}}
@media(max-width:620px){.smart-help-heading{display:grid;grid-template-columns:46px 1fr;gap:10px}.smart-help-bot{width:46px;height:46px}.help-topic-card{grid-template-columns:40px 1fr;padding:12px}.help-topic-icon{width:40px;height:40px}.smart-correction-chips{display:grid}.smart-correction-chips a{border-radius:11px}.module-guide-help-link{width:100%;text-align:center}.smart-module-search-form .advanced-search-field,.member-smart-search{min-width:100%;width:100%}}

/* V129.6.12 — compléments recherches tolérantes aux fautes */
.smart-search-notice{margin:.55rem 0;padding:.7rem .9rem;border-radius:12px;background:#eef8ff;border:1px solid #c7e6f8;color:#0a5279;font-weight:700}.smart-dictionary-mini{margin-top:1rem;padding:1rem;border-radius:14px;background:#f8fbfd;border:1px solid #d8e7ef;display:grid;gap:.45rem}.smart-dictionary-mini span{display:block;color:#496475}.health-search-page .advanced-search-field{flex:1;min-width:220px}.health-search-page .advanced-search-results{z-index:60}

/* ===== V129.6.18 : activités par domaine + filtres géographiques membres ===== */
.activity-domain-nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;margin:0 0 18px}
.activity-domain-chip{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:8px;padding:12px 13px;border:1px solid #d7e4ec;border-radius:14px;background:#fff;color:#174b69;text-decoration:none;box-shadow:0 7px 18px rgba(15,59,86,.06);transition:.18s ease}
.activity-domain-chip>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#eef7fa;font-size:17px}.activity-domain-chip strong{font-size:.9rem}.activity-domain-chip small{display:grid;place-items:center;min-width:25px;height:25px;border-radius:999px;background:#edf2f6;color:#526c7c;font-weight:800}.activity-domain-chip:hover,.activity-domain-chip.active{transform:translateY(-2px);border-color:#83bdce;background:#f4fbfd}.activity-domain-chip.active{box-shadow:inset 0 0 0 2px rgba(24,127,160,.12),0 8px 22px rgba(15,59,86,.09)}
.activity-card-taxonomy{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:10px 0}.activity-card-taxonomy .badge{margin:0}.domain-badge{text-decoration:none}.activity-domain-empty{grid-column:1/-1;text-align:center;padding:42px 20px;border:1px dashed #bdd1dd;border-radius:18px;background:#f8fbfd;color:#536c7c}.activity-domain-empty>span{font-size:2.2rem}.activity-domain-empty h3{color:#174b69}
.member-filter-panel .section-title-row{align-items:flex-start}.member-geo-filter-form{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}.member-geo-filter-form label{position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;display:grid;gap:5px;font-size:.82rem;font-weight:800;color:#244a61}.member-geo-filter-form label small{font-size:.72rem;color:#738694;font-weight:600}.member-geo-filter-form .member-smart-search{grid-column:span 2}.member-filter-separator{grid-column:1/-1;display:flex;align-items:center;gap:10px;margin:2px 0 -2px;color:#0b527c;font-size:.78rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.member-filter-separator:after{content:"";height:1px;background:#d9e5ec;flex:1}.member-geo-filter-form .btn{min-height:48px}.member-list-meta span:nth-child(2){flex-basis:100%;font-weight:650;color:#446273}.application-geo-filters{grid-template-columns:repeat(6,minmax(0,1fr));align-items:end}.application-geo-filters label{display:grid;gap:4px;font-weight:800}.application-geo-filters .btn{min-height:46px}
@media(max-width:1050px){.member-geo-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}.application-geo-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.activity-domain-nav{grid-template-columns:1fr 1fr}.activity-domain-chip{grid-template-columns:28px minmax(0,1fr) auto;padding:10px}.member-geo-filter-form,.application-geo-filters{grid-template-columns:1fr}.member-geo-filter-form .member-smart-search{grid-column:auto}.member-filter-separator{grid-column:auto}.member-filter-panel .section-title-row .btn{width:100%}}


/* --- fobak-v1295.css --- */
/*
 * FOBAK Manager Pro V129.5
 * Accueil institutionnel inspiré des présentations CEN V150 et FMS V2.0.3,
 * avec identité FOBAK, portraits non rognés et lecture mobile prioritaire.
 */

:root{
  --fobak-ink:#0a3553;
  --fobak-blue:#074b72;
  --fobak-blue-deep:#052f4d;
  --fobak-teal:#08766f;
  --fobak-gold:#f1d433;
  --fobak-line:#d7e5ed;
  --fobak-soft:#f3f8fb;
  --fobak-muted:#587183;
  --fobak-shadow:0 18px 48px rgba(5,54,83,.10);
}

body.page-index .public-content{
  width:100%;
  max-width:1380px;
  padding-inline:clamp(14px,2.5vw,34px);
}

body.page-index .welcome-hero,
body.page-index .home-health-gateway,
body.page-index .home-intro-card,
body.page-index .public-info-strip,
body.page-index .home-institution-grid>.card,
body.page-index .home-membership-grid>.card{
  border-color:var(--fobak-line)!important;
  box-shadow:var(--fobak-shadow)!important;
}

body.page-index .home-institution-grid>.card,
body.page-index .home-membership-grid>.card{
  position:relative;
  overflow:hidden;
}

body.page-index .home-institution-grid>.card:before,
body.page-index .home-membership-grid>.card:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:linear-gradient(180deg,var(--fobak-blue),var(--fobak-teal));
}

.home-section-title-lockup{
  display:flex;
  align-items:flex-start;
  gap:16px;
  min-width:0;
}

.home-section-number{
  flex:0 0 48px;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:var(--fobak-gold);
  color:#173342;
  font-size:.77rem;
  font-weight:950;
  letter-spacing:.08em;
  box-shadow:0 9px 22px rgba(151,126,4,.15);
}

/* Activités : section claire, cartes éditoriales fixes et images administrables. */
.home-activities-showcase{
  display:block!important;
  margin:34px 0!important;
  padding:clamp(24px,4vw,46px)!important;
  overflow:hidden!important;
  border:1px solid var(--fobak-line)!important;
  border-top:6px solid var(--fobak-gold)!important;
  border-radius:28px!important;
  background:
    radial-gradient(circle at 100% 0,rgba(8,118,111,.10),transparent 28%),
    linear-gradient(135deg,#fff 0%,#f7fbfd 100%)!important;
  box-shadow:0 22px 58px rgba(5,54,83,.12)!important;
}

.home-activities-showcase .home-activities-heading{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:24px!important;
  margin:0 0 27px!important;
  padding-bottom:21px;
  border-bottom:1px solid var(--fobak-line);
}

.home-activities-showcase .eyebrow{
  color:var(--fobak-teal)!important;
}

.home-activities-showcase .section-title{
  margin:4px 0 5px!important;
  color:var(--fobak-ink)!important;
  font-size:clamp(1.85rem,3vw,2.75rem)!important;
  line-height:1.05;
  text-align:left!important;
}

.home-activities-showcase .home-activities-heading p{
  max-width:760px;
  margin:0!important;
  color:var(--fobak-muted)!important;
  line-height:1.6;
}

.home-activities-all{
  flex:0 0 auto!important;
  min-height:46px;
  border:1px solid var(--fobak-blue)!important;
  background:var(--fobak-blue)!important;
  color:#fff!important;
  box-shadow:0 9px 22px rgba(7,75,114,.16);
}

.home-activities-all:hover{
  background:var(--fobak-teal)!important;
  border-color:var(--fobak-teal)!important;
}

.home-activities-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  gap:20px!important;
  overflow:visible!important;
}

.home-news-card{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  border:1px solid var(--fobak-line)!important;
  border-radius:21px!important;
  background:#fff!important;
  box-shadow:0 11px 28px rgba(5,54,83,.075)!important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.home-news-card:hover{
  transform:translateY(-4px);
  border-color:#aecbd9!important;
  box-shadow:0 17px 36px rgba(5,54,83,.13)!important;
}

.home-news-card.is-featured{
  grid-column:span 2!important;
  display:grid!important;
  grid-template-columns:minmax(300px,1.2fr) minmax(280px,.8fr)!important;
}

.home-news-media{
  position:relative!important;
  display:block!important;
  min-height:225px!important;
  overflow:hidden!important;
  background:linear-gradient(145deg,#e9f3f7,#dcebef)!important;
}

.home-news-card.is-featured .home-news-media{
  min-height:100%!important;
}

.home-news-media>img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:225px!important;
  object-position:center!important;
  transition:transform .35s ease!important;
}

.home-news-card:hover .home-news-media>img{
  transform:scale(1.02)!important;
}

.home-news-media:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(2,31,49,.03),rgba(2,31,49,.22));
}

.home-news-category,
.home-news-featured-label{
  position:absolute!important;
  z-index:2;
  top:14px!important;
  padding:7px 11px!important;
  border-radius:999px!important;
  font-size:.69rem!important;
  font-weight:950!important;
  text-transform:uppercase!important;
  letter-spacing:.055em!important;
  box-shadow:0 6px 15px rgba(0,0,0,.16)!important;
}

.home-news-category{
  left:14px!important;
  background:var(--fobak-gold)!important;
  color:#173342!important;
}

.home-news-featured-label{
  right:14px;
  background:var(--fobak-blue-deep);
  color:#fff;
}

.home-news-body{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:9px!important;
  padding:21px!important;
  border-top:1px solid #e3edf2;
}

.home-news-body h3,
.home-news-body p{
  overflow-wrap:anywhere!important;
}

.home-news-body h3{
  margin:0!important;
  font-size:1.22rem!important;
  line-height:1.3!important;
}

.home-news-card.is-featured .home-news-body h3{
  font-size:clamp(1.42rem,2vw,1.85rem)!important;
}

.home-news-body h3 a{
  color:var(--fobak-ink)!important;
}

.home-news-subtitle{
  color:var(--fobak-teal)!important;
}

.home-news-body p{
  color:var(--fobak-muted)!important;
  line-height:1.62!important;
}

.home-news-links .activity-read-link{
  color:var(--fobak-blue)!important;
}

.home-activities-empty{
  grid-column:1/-1!important;
  color:var(--fobak-ink)!important;
  border-color:#b9ceda!important;
  background:rgba(255,255,255,.75)!important;
}

.home-activities-empty span{
  color:var(--fobak-muted)!important;
}

/* Présidence : même logique éditoriale que CEN/FMS, avec portrait complet. */
.president-home-feature{
  position:relative!important;
  isolation:isolate!important;
  display:block!important;
  margin:34px 0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid var(--fobak-line)!important;
  border-left:0!important;
  border-radius:28px!important;
  background:#fff!important;
  box-shadow:0 22px 58px rgba(5,54,83,.12)!important;
}

.president-home-feature:after{
  content:""!important;
  position:absolute!important;
  z-index:-1;
  right:-110px!important;
  bottom:-150px!important;
  width:350px!important;
  height:350px!important;
  border:1px solid rgba(8,118,111,.10)!important;
  border-radius:50%!important;
  box-shadow:0 0 0 50px rgba(8,118,111,.025),0 0 0 100px rgba(8,118,111,.015)!important;
}

.president-home-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  padding:clamp(23px,3.5vw,38px);
  border-bottom:1px solid var(--fobak-line);
  background:
    linear-gradient(90deg,rgba(7,75,114,.075),rgba(8,118,111,.055)),
    #fff;
}

.president-home-heading h2{
  margin:4px 0 5px!important;
  color:var(--fobak-ink)!important;
  font-size:clamp(1.85rem,3vw,2.7rem)!important;
  line-height:1.08!important;
}

.president-home-heading p{
  max-width:760px;
  margin:0;
  color:var(--fobak-muted);
  line-height:1.6;
}

.president-home-layout{
  display:grid;
  grid-template-columns:minmax(285px,340px) minmax(0,1fr);
  gap:clamp(24px,4vw,46px);
  align-items:start;
  padding:clamp(24px,4vw,44px);
}

.president-home-portrait{
  position:sticky!important;
  top:92px!important;
  z-index:1!important;
  width:100%!important;
  max-width:340px!important;
  margin:0!important;
  padding:16px!important;
  overflow:hidden!important;
  border-radius:24px!important;
  background:linear-gradient(155deg,var(--fobak-blue-deep),var(--fobak-blue) 62%,var(--fobak-teal))!important;
  box-shadow:0 18px 40px rgba(5,47,77,.20)!important;
}

.president-home-photo{
  width:100%!important;
  height:auto!important;
  aspect-ratio:4/5!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  border:5px solid #fff!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,#f6fafc,#e5f0f4)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.20)!important;
}

.president-home-photo img,
.president-home-photo .president-biography-placeholder{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  object-fit:contain!important;
  object-position:center top!important;
  background:#eef5f7!important;
}

.president-home-marker{
  position:absolute!important;
  z-index:3!important;
  left:30px!important;
  top:30px!important;
  bottom:auto!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  background:var(--fobak-gold)!important;
  color:#173342!important;
  font-size:.69rem!important;
  font-weight:950!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
  box-shadow:0 7px 16px rgba(0,0,0,.18)!important;
}

.president-home-portrait figcaption{
  display:grid;
  gap:4px;
  padding:15px 5px 3px;
  text-align:center;
}

.president-home-portrait figcaption h3{
  margin:0;
  color:#fff!important;
  font-size:1.24rem;
  line-height:1.25;
}

.president-home-portrait figcaption strong{
  color:#ffe776!important;
  font-size:.86rem;
  line-height:1.45;
}

.president-home-copy{
  position:relative!important;
  z-index:1!important;
  display:block!important;
  min-width:0!important;
}

.president-home-lead{
  margin:0 0 19px!important;
  padding:0 0 0 18px;
  border-left:4px solid var(--fobak-gold);
  color:#38586d!important;
  font-size:1.02rem!important;
  line-height:1.78!important;
  white-space:pre-line;
}

.president-home-details{
  display:grid;
  gap:11px;
}

.president-home-details details{
  overflow:hidden;
  border:1px solid var(--fobak-line);
  border-radius:16px;
  background:#fff;
  box-shadow:0 7px 18px rgba(5,54,83,.045);
}

.president-home-details summary{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 17px;
  cursor:pointer;
  color:var(--fobak-ink);
  font-weight:900;
  list-style:none;
  background:#f7fafc;
}

.president-home-details summary::-webkit-details-marker{
  display:none;
}

.president-home-details summary:after{
  content:"+";
  margin-left:auto;
  color:var(--fobak-teal);
  font-size:1.2rem;
}

.president-home-details details[open] summary:after{
  content:"−";
}

.president-home-details summary span{
  flex:0 0 34px;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:#e4f3f1;
  color:var(--fobak-teal);
  font-size:.69rem;
}

.president-home-details details p{
  margin:0!important;
  padding:0 18px 18px!important;
  color:var(--fobak-muted)!important;
  line-height:1.7!important;
  white-space:pre-line;
}

.president-home-actions{
  display:flex!important;
  gap:11px!important;
  flex-wrap:wrap!important;
  margin-top:20px!important;
}

.president-home-actions .btn{
  min-height:46px!important;
}

/* Page de biographie : grand portrait entier, contenu hiérarchisé. */
.president-biography-page{
  max-width:1180px!important;
  border-color:var(--fobak-line)!important;
  box-shadow:0 24px 65px rgba(4,48,78,.13)!important;
}

.president-biography-hero{
  min-height:0!important;
  grid-template-columns:minmax(280px,340px) minmax(0,1fr)!important;
  gap:clamp(30px,5vw,68px)!important;
  align-items:center!important;
  background:
    radial-gradient(circle at 95% 8%,rgba(255,255,255,.12),transparent 28%),
    linear-gradient(120deg,var(--fobak-blue-deep) 0%,var(--fobak-blue) 57%,var(--fobak-teal) 100%)!important;
}

.president-biography-portrait{
  position:relative!important;
  z-index:1!important;
  align-self:start!important;
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:14px!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 18px 44px rgba(0,0,0,.24)!important;
}

.president-biography-portrait>span{
  left:28px!important;
  top:28px!important;
  bottom:auto!important;
}

.president-biography-portrait img,
.president-biography-portrait>.president-biography-placeholder{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:4/5!important;
  object-fit:contain!important;
  object-position:center top!important;
  border-radius:16px 16px 10px 10px!important;
  background:linear-gradient(145deg,#f5fafc,#e4eff3)!important;
}

.president-biography-portrait figcaption{
  display:grid;
  gap:3px;
  padding:13px 5px 2px;
  color:var(--fobak-ink);
  text-align:center;
}

.president-biography-portrait figcaption strong{
  font-size:1.05rem;
  line-height:1.3;
}

.president-biography-portrait figcaption small{
  color:var(--fobak-teal);
  font-weight:850;
  line-height:1.4;
}

.president-biography-section-heading{
  padding:clamp(25px,4vw,42px) clamp(24px,4vw,48px) 0;
  background:var(--fobak-soft);
}

.president-biography-section-heading h2{
  margin:5px 0 6px;
  color:var(--fobak-ink);
  font-size:clamp(1.55rem,2.5vw,2.2rem);
}

.president-biography-section-heading p{
  max-width:760px;
  margin:0;
  color:var(--fobak-muted);
  line-height:1.6;
}

.president-biography-sections{
  padding-top:24px!important;
}

.president-biography-section{
  border-left:4px solid var(--fobak-teal)!important;
  transition:transform .18s ease,box-shadow .18s ease;
}

.president-biography-section:hover{
  transform:translateY(-2px);
  box-shadow:0 13px 28px rgba(5,54,91,.09)!important;
}

/* Réseaux et copyright : logos SVG de marque et bande légale garantie. */
.fobak-unified-footer.app-footer.dashboard-style-footer{
  position:relative!important;
  z-index:2!important;
  display:block!important;
  overflow:visible!important;
  background:linear-gradient(135deg,#053a5a,#075b74 68%,#08766f)!important;
  border-top:4px solid var(--fobak-gold)!important;
}

.fobak-social-note{
  margin:-3px 0 11px!important;
  color:rgba(255,255,255,.72)!important;
  font-size:.73rem!important;
}

.fobak-social-icons{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}

.fobak-social-icons>a{
  display:grid!important;
  place-items:center!important;
  width:50px!important;
  height:50px!important;
  min-width:50px!important;
  padding:0!important;
  overflow:hidden!important;
  border:2px solid rgba(255,255,255,.88)!important;
  border-radius:50%!important;
  color:#fff!important;
  visibility:visible!important;
  opacity:1!important;
  box-shadow:0 8px 20px rgba(0,0,0,.18)!important;
}

.fobak-social-icons>a svg{
  display:block!important;
  width:25px!important;
  height:25px!important;
  fill:currentColor!important;
}

.fobak-social-icons>.social-whatsapp{
  order:-1!important;
  width:54px!important;
  height:54px!important;
  min-width:54px!important;
  background:#25d366!important;
}

.fobak-social-icons>.social-whatsapp svg{
  width:31px!important;
  height:31px!important;
}

.fobak-social-icons .social-facebook{background:#1877f2!important}
.fobak-social-icons .social-youtube{background:#ff0033!important}
.fobak-social-icons .social-instagram{background:radial-gradient(circle at 32% 100%,#ffd36b 0 18%,#f3426d 42%,#8b3ac8 72%,#405de6 100%)!important}
.fobak-social-icons .social-tiktok{background:#111!important}
.fobak-social-icons .social-x{background:#050505!important}
.fobak-social-icons .social-linkedin{background:#0a66c2!important}

.fobak-footer-copyright{
  position:relative!important;
  z-index:3!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px 12px!important;
  width:100%!important;
  min-height:48px!important;
  padding:13px clamp(16px,3vw,46px)!important;
  border-top:1px solid rgba(255,255,255,.22)!important;
  background:#032d47!important;
  color:#fff!important;
  font-size:.78rem!important;
  line-height:1.45!important;
  text-align:center!important;
  visibility:visible!important;
  opacity:1!important;
}

.fobak-footer-copyright strong{
  color:#fff!important;
}

.fobak-footer-copyright span:last-child{
  color:#ffe56a!important;
  font-weight:900!important;
}

@media(max-width:1000px){
  .home-activities-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .home-news-card.is-featured{grid-column:1/-1!important}
  .president-home-layout{grid-template-columns:minmax(245px,300px) minmax(0,1fr)}
  .president-biography-hero{grid-template-columns:minmax(240px,290px) minmax(0,1fr)!important}
}

@media(max-width:760px){
  .home-section-number{flex-basis:42px;width:42px;height:42px;border-radius:13px}
  .home-activities-showcase .home-activities-heading,
  .president-home-heading{align-items:flex-start!important;flex-direction:column!important}
  .home-activities-all{width:100%!important}
  .president-home-layout{grid-template-columns:1fr;padding:19px}
  .president-home-portrait{position:relative!important;top:auto!important;width:min(100%,330px)!important;margin:0 auto!important}
  .president-home-copy{display:block!important}
  .president-home-lead{font-size:.95rem!important;line-height:1.67!important}
  .president-biography-hero{grid-template-columns:1fr!important;padding:24px 18px 28px!important}
  .president-biography-portrait{width:min(100%,310px)!important;margin:0 auto!important}
  .president-biography-intro{text-align:center!important}
  .president-biography-lead{text-align:left!important}
  .president-biography-sections{grid-template-columns:1fr!important}
}

@media(max-width:620px){
  body.page-index .public-content{padding-inline:10px}
  .home-activities-showcase{padding:20px 14px!important;border-radius:21px!important}
  .home-activities-grid{grid-template-columns:1fr!important}
  .home-news-card.is-featured{grid-column:auto!important;display:flex!important}
  .home-news-media,.home-news-card.is-featured .home-news-media{min-height:195px!important}
  .home-news-media>img{min-height:195px!important}
  .president-home-feature{display:block!important;border-radius:21px!important}
  .president-home-heading{padding:20px 16px}
  .president-home-heading h2{font-size:1.65rem!important}
  .president-home-details summary{padding:12px 13px;font-size:.88rem}
  .president-home-details summary span{flex-basis:31px;width:31px;height:31px}
  .president-home-actions .btn{flex:1 1 180px!important}
  .president-biography-page{border-radius:19px!important}
  .president-biography-intro h1{font-size:2.05rem!important}
  .president-biography-section-heading{padding:22px 17px 0}
  .president-biography-sections{padding:18px!important}
  .fobak-footer-copyright{display:grid!important;gap:2px!important;font-size:.72rem!important}
}

@media(prefers-reduced-motion:reduce){
  .home-news-card,
  .home-news-media>img,
  .president-biography-section{
    transition:none!important;
  }
}

/* ===== V129.6.0 — signature en ligne, photo de profil assistée et reçus ===== */
.online-signature-widget{
  border:1px solid #bdd5e6;
  border-radius:20px;
  padding:20px;
  background:linear-gradient(145deg,#f8fcff 0%,#eef8fd 100%);
  box-shadow:0 12px 30px rgba(7,69,111,.08);
}
.signature-widget-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:4px}
.signature-widget-heading h3{margin:2px 0;color:#073e64;font-size:1.15rem}
.signature-required{padding:6px 10px;border-radius:999px;background:#fff1f2;color:#a31327;font-size:.76rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.online-signature-widget>p{margin:8px 0 14px;color:#405d73;line-height:1.55}
.signature-canvas-wrap{position:relative;border:2px dashed #719ab8;border-radius:16px;background:#fff;overflow:hidden}
.signature-canvas{display:block;width:100%;height:190px;cursor:crosshair;touch-action:none;outline:none}
.signature-canvas:focus{box-shadow:inset 0 0 0 4px rgba(31,180,239,.18)}
.signature-placeholder{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;color:#8298a8;font-size:1rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.signature-placeholder[hidden]{display:none}
.signature-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:12px}
.signature-thumb{min-height:50px;padding:12px 18px!important;border:2px solid #e5b900!important;background:linear-gradient(135deg,#ffe45c,#f3c600)!important;color:#082f49!important;font-size:.94rem!important;font-weight:950!important;box-shadow:0 8px 18px rgba(184,139,0,.18)}
.signature-thumb:hover{filter:brightness(.97);transform:translateY(-1px)}
.signature-status{color:#64798b;font-size:.86rem;font-weight:700}
.signature-status.success{color:#087743}
.signature-status.error{color:#b1182c}
.signature-privacy-note{display:block;margin-top:12px;padding:10px 12px;border-left:4px solid #20a7cc;background:#edf9fd;color:#35586e;line-height:1.5}
.existing-member-signature{display:flex;align-items:center;gap:14px;margin:12px 0;padding:10px 12px;border:1px solid #d6e4ee;border-radius:13px;background:#fff}
.existing-member-signature img{width:min(230px,48%);height:72px;object-fit:contain;border-right:1px solid #e2ebf2;padding-right:12px}
.existing-member-signature small{color:#3f5e73;font-weight:800;line-height:1.5}
.application-signature-preview{display:block;width:132px;height:48px;object-fit:contain;padding:4px;margin-bottom:7px;border:1px solid #d8e5ee;border-radius:9px;background:#fff}
.applications-table .application-signature-preview{max-width:100%}
.profile-photo-widget{margin-bottom:4px}
.profile-photo-widget .camera-preview{box-shadow:0 8px 20px rgba(7,69,111,.12)}
.member-receipt-link{display:inline-flex;margin-top:7px;padding:6px 9px;border-radius:9px;background:#e9f7ef;color:#08753e!important;font-size:.8rem;font-weight:900;text-decoration:none}
.member-receipt-link:hover{background:#d3f0df}
.campaign-attachment-choice{padding:14px;border:1px solid #d8e8f2;border-radius:15px;background:#f7fbfe}
.campaign-attachment-choice small{display:block;margin-top:7px;color:#587083;line-height:1.5}

@media(max-width:700px){
  .online-signature-widget{padding:15px}
  .signature-widget-heading{align-items:flex-start}
  .signature-canvas{height:160px}
  .signature-actions .btn{width:100%}
}

/* ===== V129.5.2 — footer d'accueil universel et bande passante lisible ===== */

/* Les mentions superposées à la photographie ne masquent plus le portrait. */
.president-home-marker,
.president-biography-portrait>span{
  display:none!important;
}

/* Le même footer public est conservé dans FOBAK, l'administration, le Centre
   de Santé et le portail patient, sans variante chromatique contextuelle. */
.fobak-unified-footer.app-footer.dashboard-style-footer,
.fobak-unified-footer.app-footer.dashboard-style-footer.is-health{
  width:100%!important;
  max-width:none!important;
  margin:28px 0 0!important;
  border-radius:0!important;
  background:linear-gradient(135deg,#053a5a,#075b74 68%,#08766f)!important;
  border-top:4px solid var(--fobak-gold)!important;
  color:#fff!important;
}

.health-main>.fobak-unified-footer,
.health-public>.fobak-unified-footer,
.patient-portal>.fobak-unified-footer{
  align-self:stretch!important;
  box-sizing:border-box!important;
}

/* La bande passante devient un véritable bandeau d'information : texte plus
   grand, graisse forte et contraste renforcé sur tous les écrans. */
:root{
  --v125-ticker-h:52px;
}

.communique-ticker.enhanced-ticker{
  min-height:var(--v125-ticker-h)!important;
  height:var(--v125-ticker-h)!important;
  padding:5px 10px!important;
  gap:11px!important;
  grid-template-columns:auto minmax(0,1fr) 40px!important;
  border-top:3px solid #064d7c!important;
  background:linear-gradient(90deg,#ffc928 0%,#ffe76b 52%,#ffd53d 100%)!important;
  box-shadow:0 -7px 24px rgba(4,42,69,.24)!important;
}

.communique-ticker.enhanced-ticker>strong{
  height:40px!important;
  padding:0 16px!important;
  border:1px solid rgba(255,255,255,.32)!important;
  background:#053f69!important;
  color:#fff!important;
  font-size:13.5px!important;
  font-weight:950!important;
  letter-spacing:.045em!important;
  text-shadow:0 1px 1px rgba(0,0,0,.24)!important;
  box-shadow:0 4px 12px rgba(3,43,73,.22)!important;
}

.communique-ticker.enhanced-ticker .ticker-track span{
  color:#062c49!important;
  font-size:16px!important;
  font-weight:900!important;
  line-height:1.25!important;
  letter-spacing:.012em!important;
  text-shadow:0 1px 0 rgba(255,255,255,.72)!important;
}

.communique-ticker.enhanced-ticker .ticker-close{
  width:38px!important;
  height:38px!important;
  border:1px solid rgba(5,63,105,.18)!important;
  background:rgba(255,255,255,.68)!important;
  color:#053f69!important;
  font-size:22px!important;
  font-weight:950!important;
}

body.health-app,
body.health-public,
body.patient-portal{
  padding-bottom:calc(var(--v125-ticker-h) + 10px)!important;
}

body.ticker-is-hidden.health-app,
body.ticker-is-hidden.health-public,
body.ticker-is-hidden.patient-portal{
  padding-bottom:10px!important;
}

@media(max-width:520px){
  :root{
    --v125-ticker-h:58px;
  }

  .communique-ticker.enhanced-ticker{
    grid-template-columns:auto minmax(0,1fr) 36px!important;
    gap:7px!important;
    padding:6px!important;
  }

  .communique-ticker.enhanced-ticker>strong{
    height:42px!important;
    padding:0 10px!important;
    font-size:11.5px!important;
  }

  .communique-ticker.enhanced-ticker .ticker-track span{
    font-size:14px!important;
    font-weight:900!important;
  }

  .communique-ticker.enhanced-ticker .ticker-close{
    width:34px!important;
    height:34px!important;
  }
}

/* ===== V129.5.1 — proportions institutionnelles et lisibilité ===== */

/* Le portrait suit désormais le ratio réel du fichier : aucune bande vide et
   aucun recadrage forcé, quelle que soit l'orientation de la photographie. */
.president-home-layout{
  grid-template-columns:minmax(310px,380px) minmax(0,1fr)!important;
}

.president-home-portrait{
  position:relative!important;
  top:auto!important;
  max-width:380px!important;
  align-self:start!important;
}

.president-home-photo{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:auto!important;
  line-height:0!important;
}

.president-home-photo img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
}

.president-home-photo>.president-biography-placeholder{
  width:100%!important;
  height:auto!important;
  min-height:310px!important;
  aspect-ratio:4/5!important;
}

.president-biography-hero{
  grid-template-columns:minmax(310px,380px) minmax(0,1fr)!important;
  align-items:start!important;
}

.president-biography-portrait{
  align-self:start!important;
  height:auto!important;
}

.president-biography-portrait img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
}

.president-biography-portrait>.president-biography-placeholder{
  width:100%!important;
  height:auto!important;
  min-height:340px!important;
  aspect-ratio:4/5!important;
}

/* En-tête public pleine largeur et mieux proportionné. */
@media(min-width:1200px){
  :root{
    --v125-public-header-h:106px;
    --v125-public-nav-h:62px;
  }

  body.public-layout>.site-header.public-header{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:12px clamp(30px,5vw,76px)!important;
    grid-template-columns:82px minmax(0,1fr) 104px!important;
    gap:26px!important;
  }

  body.public-layout>.site-header.public-header .logo-box{
    width:74px!important;
    height:74px!important;
  }

  body.public-layout>.site-header.public-header .flag-real{
    width:96px!important;
    height:64px!important;
  }

  body.public-layout>.site-header.public-header .brand-block strong{
    font-size:clamp(28px,2.35vw,36px)!important;
    letter-spacing:.01em!important;
  }

  body.public-layout>.site-header.public-header .brand-block span,
  body.public-layout>.site-header.public-header .brand-block em{
    font-size:13px!important;
  }

  body.public-layout>.top-nav.public-nav{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:16px!important;
    padding:8px clamp(22px,3vw,48px)!important;
    overflow:visible!important;
  }

  body.public-layout>.top-nav.public-nav .public-nav-links{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    min-width:0!important;
    flex-wrap:nowrap!important;
  }

  body.public-layout>.top-nav.public-nav .public-nav-actions{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    gap:8px!important;
  }

  body.public-layout>.top-nav.public-nav a,
  body.public-layout>.top-nav.public-nav .language-select{
    min-height:42px!important;
    padding:9px 11px!important;
    font-size:13px!important;
  }
}

/* Pied de page : quatre zones équilibrées, textes lisibles et coordonnées
   complètes. Réseaux sociaux et téléchargements forment un même bloc. */
.fobak-footer-grid.fobak-footer-grid-v125{
  grid-template-columns:minmax(320px,1.35fr) minmax(175px,.72fr) minmax(235px,1fr) minmax(255px,.92fr)!important;
  gap:clamp(25px,3vw,46px)!important;
  padding:38px clamp(24px,4vw,62px) 40px!important;
  align-items:start!important;
}

.fobak-footer-community{
  display:grid!important;
  align-content:start!important;
  gap:25px!important;
  min-width:0!important;
}

.footer-brand-copy{
  gap:9px!important;
}

.footer-brand-copy>strong{
  font-size:1.12rem!important;
  line-height:1.3!important;
}

.footer-brand-copy>span{
  font-size:.86rem!important;
  line-height:1.5!important;
}

.fobak-footer-contact{
  gap:8px!important;
  margin-top:7px!important;
}

.footer-info-chip{
  align-items:flex-start!important;
  font-size:.84rem!important;
  line-height:1.45!important;
}

.footer-info-chip span{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}

.fobak-footer-links{
  gap:9px!important;
}

.fobak-footer-links h3,
.fobak-footer-social h3,
.fobak-footer-apps h3{
  margin-bottom:10px!important;
  font-size:.88rem!important;
}

.fobak-footer-links a{
  font-size:.87rem!important;
  line-height:1.48!important;
}

.fobak-social-note{
  font-size:.8rem!important;
}

.fobak-footer-apps{
  min-width:0!important;
}

.footer-app-icons{
  gap:9px!important;
}

.footer-app-icon{
  width:72px!important;
  height:66px!important;
}

.fobak-footer-copyright{
  min-height:54px!important;
  padding-block:15px!important;
  font-size:.84rem!important;
}

@media(max-width:1199px){
  .president-home-layout{
    grid-template-columns:minmax(270px,330px) minmax(0,1fr)!important;
  }

  .president-biography-hero{
    grid-template-columns:minmax(270px,330px) minmax(0,1fr)!important;
  }

  .fobak-footer-grid.fobak-footer-grid-v125{
    grid-template-columns:minmax(290px,1.15fr) minmax(190px,.8fr) minmax(230px,1fr)!important;
  }

  .fobak-footer-community{
    grid-column:1/-1!important;
    grid-template-columns:minmax(230px,.7fr) minmax(270px,1fr)!important;
    align-items:start!important;
  }
}

@media(max-width:760px){
  .president-home-layout,
  .president-biography-hero{
    grid-template-columns:1fr!important;
  }

  .president-home-portrait{
    width:min(100%,380px)!important;
  }

  .fobak-footer-grid.fobak-footer-grid-v125{
    grid-template-columns:1fr!important;
    gap:27px!important;
  }

  .fobak-footer-brand{
    grid-column:auto!important;
  }

  .fobak-footer-community{
    grid-column:auto!important;
    grid-template-columns:1fr!important;
  }
}

/* ===== V129.6.5 — Déconnexion toujours visible au-dessus de la bande passante ===== */
/* Administration FOBAK : le menu latéral reste prioritaire sur le ticker. */
body.admin-layout .side-dashboard{
  z-index:1905!important;
}
body.admin-layout .side-account-footer{
  position:relative!important;
  z-index:1910!important;
  background:linear-gradient(180deg,#063553 0%,#05283f 100%)!important;
  padding:8px 6px max(10px,env(safe-area-inset-bottom))!important;
  box-shadow:0 -12px 28px rgba(2,24,40,.34)!important;
}
body.admin-layout .side-account-footer .logout-btn{
  position:relative!important;
  z-index:1912!important;
  width:100%!important;
  min-height:54px!important;
  margin:4px 0 0!important;
  padding:13px 16px!important;
  border:2px solid #fff!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#d92737,#b91527)!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:950!important;
  letter-spacing:.015em!important;
  text-shadow:0 1px 1px rgba(0,0,0,.22)!important;
  box-shadow:0 8px 20px rgba(91,7,19,.34)!important;
  visibility:visible!important;
  opacity:1!important;
}
body.admin-layout .side-account-footer .logout-btn svg{
  fill:#fff!important;
  width:23px!important;
  height:23px!important;
}
body.admin-layout .side-account-footer .logout-btn:hover,
body.admin-layout .side-account-footer .logout-btn:focus-visible{
  background:linear-gradient(135deg,#ef3a49,#c5182a)!important;
  color:#fff!important;
  outline:3px solid rgba(255,210,30,.55)!important;
  outline-offset:2px!important;
}

/* Sur grand écran, le bandeau commence après le menu : aucun chevauchement. */
@media (min-width:781px){
  body.admin-layout:not(.sidebar-collapsed) .communique-ticker.enhanced-ticker{
    left:var(--fobak-sidebar-width,280px)!important;
    right:0!important;
    width:calc(100% - var(--fobak-sidebar-width,280px))!important;
  }
  body.admin-layout.sidebar-collapsed .communique-ticker.enhanced-ticker{
    left:0!important;
    right:0!important;
    width:100%!important;
  }
}

/* Sur téléphone/tablette, le menu ouvert passe nettement devant le ticker. */
@media (max-width:780px){
  body.admin-layout .side-dashboard{
    z-index:1905!important;
  }
  body.admin-layout .mobile-menu-backdrop{
    z-index:1895!important;
  }
  body.admin-layout .side-account-footer{
    padding-bottom:max(12px,env(safe-area-inset-bottom))!important;
  }
  body.admin-layout .side-account-footer .logout-btn{
    min-height:56px!important;
    font-size:16px!important;
  }
}

/* Centre de Santé : même protection pour le bouton Déconnexion. */
body.health-app .health-sidebar{
  z-index:1905!important;
}
body.health-app .health-sidebar-footer{
  position:relative!important;
  z-index:1910!important;
  padding-bottom:max(10px,env(safe-area-inset-bottom))!important;
}
body.health-app .health-sidebar-footer a.logout-btn{
  min-height:50px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:2px solid #fff!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#d92737,#b91527)!important;
  color:#fff!important;
  font-weight:950!important;
  box-shadow:0 8px 18px rgba(91,7,19,.30)!important;
}
@media (min-width:1051px){
  body.health-app .communique-ticker.enhanced-ticker{
    left:286px!important;
    right:0!important;
    width:calc(100% - 286px)!important;
  }
}
@media (max-width:1050px){
  body.health-app .health-backdrop{z-index:1895!important;}
  body.health-app .health-sidebar{z-index:1905!important;}
}


/* --- home-v12968.css --- */
/* FOBAK V129.6.8 — accueil institutionnel inspiré des bonnes pratiques des fondations, identité FOBAK conservée. */
body.page-index{--home-navy:#073b63;--home-blue:#0b67a2;--home-cyan:#18a6cf;--home-gold:#f0c51a;--home-ink:#18364d;--home-muted:#667d8d;--home-line:#dbe7ee;--home-soft:#f3f8fb}
body.page-index .public-content{padding-top:0!important}
body.page-index .home-hero-carousel{height:clamp(400px,52vw,610px)!important;min-height:400px;margin:18px 0 0!important;border-radius:28px!important;background:#082f4c;box-shadow:0 24px 65px rgba(6,53,88,.20)!important;isolation:isolate}
body.page-index .home-hero-carousel .slides,body.page-index .home-hero-carousel .slide{border-radius:28px!important}
body.page-index .home-hero-carousel .slide{overflow:hidden;background:#082f4c}
body.page-index .home-hero-carousel .slide:before{content:"";position:absolute;inset:-22px;background-image:var(--slide-image);background-size:cover;background-position:center;filter:blur(22px) saturate(.82);transform:scale(1.08);opacity:.55;z-index:0}
body.page-index .home-hero-carousel .carousel-photo{position:absolute;inset:0;width:100%;height:100%;z-index:1;display:block;background:#0a3d60}
body.page-index .home-hero-carousel .fit-contain .carousel-photo{width:100%;height:100%;padding:0 clamp(0px,2vw,24px);background:rgba(6,42,67,.28)}
body.page-index .home-hero-carousel .carousel-photo-shade{position:absolute;z-index:2;inset:0;background:linear-gradient(90deg,rgba(3,29,48,.78) 0%,rgba(3,29,48,.50) 37%,rgba(3,29,48,.08) 72%,rgba(3,29,48,.18) 100%),linear-gradient(0deg,rgba(3,29,48,.55),transparent 47%)}
body.page-index .home-hero-carousel .slide-message{position:absolute!important;z-index:4!important;left:clamp(30px,6vw,84px)!important;right:auto!important;bottom:clamp(36px,7vw,84px)!important;top:auto!important;width:min(680px,70%)!important;max-width:680px!important;padding:0!important;background:none!important;box-shadow:none!important;color:#fff!important;text-align:left!important;display:grid!important;gap:10px!important}
body.page-index .home-hero-carousel .slide-kicker{display:inline-flex!important;width:max-content!important;max-width:100%;padding:7px 12px;border:1px solid rgba(255,255,255,.42);border-radius:999px;background:rgba(5,51,82,.45);backdrop-filter:blur(6px);font-size:.76rem!important;font-weight:850!important;letter-spacing:.09em;text-transform:uppercase;color:#fff!important}
body.page-index .home-hero-carousel .slide-message strong{font-size:clamp(2rem,4vw,4.35rem)!important;line-height:1.02!important;letter-spacing:-.035em;text-shadow:0 4px 25px rgba(0,0,0,.28);color:#fff!important}
body.page-index .home-hero-carousel .slide-message>span:last-child:not(.slide-kicker){font-size:clamp(.98rem,1.55vw,1.22rem)!important;line-height:1.6!important;color:rgba(255,255,255,.92)!important;max-width:630px}
body.page-index .home-hero-brand{position:absolute;z-index:4;right:clamp(28px,4vw,58px);top:clamp(24px,4vw,48px);width:clamp(78px,9vw,122px);height:clamp(78px,9vw,122px);border-radius:50%;padding:8px;background:rgba(255,255,255,.92);border:1px solid rgba(255,255,255,.75);box-shadow:0 12px 30px rgba(3,29,48,.22)}
body.page-index .home-hero-brand img{width:100%;height:100%;object-fit:contain}
body.page-index .home-hero-carousel .carousel-control{width:48px;height:48px;background:rgba(4,45,72,.62)!important;border-color:rgba(255,255,255,.52)!important;box-shadow:0 8px 20px rgba(0,0,0,.16)}
body.page-index .home-hero-carousel .carousel-control:hover{background:var(--home-blue)!important}
body.page-index .home-hero-carousel .carousel-dots{bottom:18px!important}
body.page-index .home-hero-carousel .carousel-dots button{height:9px!important;width:9px!important;border:0!important;background:rgba(255,255,255,.58)!important}
body.page-index .home-hero-carousel .carousel-dots button.is-active{width:34px!important;background:var(--home-gold)!important}

body.page-index .home-primary-actions{position:relative;z-index:12;margin:-18px clamp(16px,3vw,38px) 30px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid var(--home-line);border-radius:20px;box-shadow:0 16px 40px rgba(15,62,92,.14);overflow:hidden}
body.page-index .home-primary-actions>a{min-width:0;display:grid;grid-template-columns:46px minmax(0,1fr) 22px;align-items:center;gap:12px;padding:19px 18px;text-decoration:none;color:var(--home-ink);border-right:1px solid var(--home-line);transition:.2s ease;background:#fff}
body.page-index .home-primary-actions>a:last-child{border-right:0}
body.page-index .home-primary-actions>a:hover{background:#f4fafc;transform:translateY(-2px)}
body.page-index .home-action-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#e9f5fa;color:var(--home-blue);font-size:1.25rem;font-weight:900}
body.page-index .home-primary-actions>a>span:nth-child(2){display:grid;gap:2px;min-width:0}
body.page-index .home-primary-actions small{font-size:.69rem;color:#78909f;text-transform:uppercase;letter-spacing:.06em;font-weight:800}
body.page-index .home-primary-actions strong{font-size:1rem;color:#153c57}
body.page-index .home-primary-actions em{font-style:normal;font-size:.77rem;color:#728797;white-space:normal;line-height:1.35}
body.page-index .home-primary-actions>a>b{font-size:1.28rem;color:#95a9b6}

body.page-index .home-mission-hero{min-height:0!important;padding:clamp(30px,5vw,54px)!important;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr)!important;border-radius:26px!important;background:linear-gradient(132deg,#073b63 0%,#0a5f93 60%,#0c7999 100%)!important}
body.page-index .home-mission-hero h1{font-size:clamp(2.2rem,4vw,3.7rem)!important;max-width:840px}
body.page-index .home-mission-hero .welcome-actions .btn.light{background:rgba(255,255,255,.10)!important;color:#fff!important;border-color:rgba(255,255,255,.45)!important}
body.page-index .home-mission-aside{position:relative;z-index:2;align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:9px;padding:28px;border-radius:22px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(9px);color:#fff}
body.page-index .home-mission-seal{width:102px;height:102px;border-radius:50%;background:#fff;padding:8px;display:grid;place-items:center;box-shadow:0 10px 28px rgba(0,0,0,.16);margin-bottom:8px}
body.page-index .home-mission-seal img{width:100%;height:100%;object-fit:contain}
body.page-index .home-mission-aside>span{font-size:.72rem;text-transform:uppercase;letter-spacing:.11em;font-weight:850;color:#d6f1fb}
body.page-index .home-mission-aside>strong{font-size:1.2rem;line-height:1.4}
body.page-index .home-mission-aside>p{font-size:.9rem!important;line-height:1.6!important;margin:0!important;color:rgba(255,255,255,.82)!important}

body.page-index .home-contact-band{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr)!important;gap:20px!important;margin-top:22px!important}
body.page-index .home-contact-band .home-intro-card{border-radius:20px!important;border:1px solid var(--home-line)!important;box-shadow:0 8px 26px rgba(13,65,97,.07)!important}
body.page-index .home-about-brief{background:#fff!important;color:var(--home-ink)!important}
body.page-index .home-about-brief h2{font-size:clamp(1.55rem,2.4vw,2.25rem)!important;color:#123f5c!important}
body.page-index .home-about-brief p{color:#5d7484!important;line-height:1.7!important;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
body.page-index .home-contact-card{background:linear-gradient(145deg,#0a507a,#087c91)!important;color:#fff!important}
body.page-index .home-contact-card h2,body.page-index .home-contact-card .eyebrow{color:#fff!important}
body.page-index .home-contact-card .home-contact-list a,body.page-index .home-contact-card .home-contact-list div{background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.13)!important}

body.page-index .home-confidence-strip{border-radius:18px!important;overflow:hidden;border:1px solid var(--home-line)!important;background:#fff!important;box-shadow:none!important;margin:22px 0 34px!important}
body.page-index .home-confidence-strip>div{min-height:94px!important;background:#fff!important;border-right:1px solid var(--home-line)!important}
body.page-index .home-confidence-strip>div:last-child{border-right:0!important}
body.page-index .home-confidence-strip strong{color:#0b557e!important;font-size:1rem!important}
body.page-index .home-confidence-strip span{color:#718695!important}

body.page-index .home-activities-showcase,body.page-index .president-home-feature,body.page-index .home-institution-grid>.card,body.page-index .home-membership-grid>.card,body.page-index .public-leaders-section,body.page-index .grid.two>.card{border-radius:22px!important}
body.page-index .home-activities-showcase{margin-top:0!important}
body.page-index .home-section-title-lockup{align-items:flex-start!important}
body.page-index .home-section-number{background:#e9f4f9!important;color:#0a648f!important;border:1px solid #cfe6f0!important;box-shadow:none!important}
body.page-index .home-news-card{border-radius:18px!important;box-shadow:0 8px 24px rgba(7,52,83,.08)!important}
body.page-index .home-news-media{background:#eaf2f5!important}
body.page-index .home-news-media>img{object-position:center}
body.page-index .president-home-feature{box-shadow:0 14px 36px rgba(7,52,83,.08)!important}
body.page-index .public-leader-card{border-radius:18px!important;overflow:hidden!important}
body.page-index .video-grid iframe{border-radius:14px!important;overflow:hidden}

/* Administration : contrôle visuel du carrousel */
.carousel-admin-card{grid-column:1/-1}
.carousel-admin-form{margin-bottom:22px;padding-bottom:22px;border-bottom:1px solid #dfe9ef}
.carousel-admin-form small{display:block;margin-top:4px;color:#738897;font-weight:600}
.carousel-admin-list{display:grid;gap:14px;margin-top:18px}
.carousel-admin-item{display:grid;grid-template-columns:180px minmax(0,1fr) auto;gap:16px;align-items:stretch;padding:14px;border:1px solid #dbe7ee;border-radius:18px;background:#f9fcfd}
.carousel-admin-thumb{height:130px;border-radius:14px;overflow:hidden;background:#dfeaf0}
.carousel-admin-thumb img{width:100%;height:100%;display:block}
.carousel-admin-edit{display:grid;gap:8px;min-width:0}
.carousel-admin-edit input,.carousel-admin-edit textarea,.carousel-admin-edit select{width:100%;box-sizing:border-box}
.carousel-admin-status{display:flex;gap:10px;align-items:center;justify-content:space-between}
.carousel-admin-status strong{overflow-wrap:anywhere}
.carousel-admin-controls{display:grid;grid-template-columns:1fr 1fr 90px auto;gap:8px;align-items:end}
.carousel-admin-actions{align-content:center;justify-content:flex-end;flex-direction:column!important}

@media(max-width:1050px){
 body.page-index .home-primary-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.page-index .home-primary-actions>a:nth-child(2){border-right:0}
 body.page-index .home-primary-actions>a:nth-child(-n+2){border-bottom:1px solid var(--home-line)}
 body.page-index .home-mission-hero{grid-template-columns:1fr!important}
 body.page-index .home-mission-aside{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center}
 body.page-index .home-mission-seal{width:82px;height:82px;grid-row:1/4}
 body.page-index .home-mission-aside>p{grid-column:2}
 body.page-index .home-contact-band{grid-template-columns:1fr!important}
 .carousel-admin-item{grid-template-columns:150px minmax(0,1fr)}.carousel-admin-actions{grid-column:1/-1;flex-direction:row!important;justify-content:flex-end}
}
@media(max-width:700px){
 body.page-index .home-hero-carousel{height:480px!important;min-height:480px!important;margin-top:10px!important;border-radius:20px!important}
 body.page-index .home-hero-carousel .slides,body.page-index .home-hero-carousel .slide{border-radius:20px!important}
 body.page-index .home-hero-carousel .carousel-photo-shade{background:linear-gradient(0deg,rgba(3,29,48,.82) 0%,rgba(3,29,48,.38) 56%,rgba(3,29,48,.08) 100%)}
 body.page-index .home-hero-carousel .slide-message{left:22px!important;right:22px!important;bottom:48px!important;width:auto!important;max-width:none!important}
 body.page-index .home-hero-carousel .slide-message strong{font-size:2.25rem!important}
 body.page-index .home-hero-carousel .slide-message>span:last-child:not(.slide-kicker){font-size:.94rem!important;line-height:1.5!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
 body.page-index .home-hero-brand{width:70px;height:70px;right:18px;top:18px;padding:6px}
 body.page-index .home-hero-carousel .carousel-control{width:40px;height:40px;top:46%!important}.home-hero-carousel .carousel-control.prev{left:9px!important}.home-hero-carousel .carousel-control.next{right:9px!important}
 body.page-index .home-primary-actions{margin:-12px 10px 24px;grid-template-columns:1fr;border-radius:16px}
 body.page-index .home-primary-actions>a{border-right:0!important;border-bottom:1px solid var(--home-line)!important;padding:15px 14px;grid-template-columns:42px minmax(0,1fr) 20px}
 body.page-index .home-primary-actions>a:last-child{border-bottom:0!important}
 body.page-index .home-primary-actions em{font-size:.73rem}
 body.page-index .home-mission-hero{padding:26px 20px!important;border-radius:20px!important}
 body.page-index .home-mission-hero h1{font-size:2.25rem!important}
 body.page-index .home-mission-aside{grid-template-columns:70px minmax(0,1fr);padding:18px}.home-mission-seal{width:66px!important;height:66px!important}
 body.page-index .home-contact-band{gap:14px!important}.home-contact-band .home-intro-card{padding:20px!important}
 body.page-index .home-confidence-strip{grid-template-columns:repeat(2,1fr)!important}.home-confidence-strip>div{min-height:82px!important;border-bottom:1px solid var(--home-line)!important}.home-confidence-strip>div:nth-child(even){border-right:0!important}.home-confidence-strip>div:nth-last-child(-n+2){border-bottom:0!important}
 .carousel-admin-item{grid-template-columns:1fr}.carousel-admin-thumb{height:210px}.carousel-admin-controls{grid-template-columns:1fr 1fr}.carousel-admin-actions{grid-column:auto;justify-content:flex-start}.carousel-admin-actions form{flex:1}.carousel-admin-actions button{width:100%}
}
@media(max-width:430px){
 body.page-index .home-hero-carousel{height:430px!important;min-height:430px!important}
 body.page-index .home-hero-carousel .slide-message strong{font-size:1.95rem!important}
 body.page-index .home-hero-carousel .slide-kicker{font-size:.65rem!important}
 body.page-index .home-confidence-strip{grid-template-columns:1fr!important}.home-confidence-strip>div{border-right:0!important;border-bottom:1px solid var(--home-line)!important}.home-confidence-strip>div:last-child{border-bottom:0!important}
 .carousel-admin-controls{grid-template-columns:1fr}.carousel-admin-thumb{height:180px}
}
@media(prefers-reduced-motion:reduce){body.page-index .home-hero-carousel .slide,body.page-index .home-primary-actions>a{transition:none!important}}

/* ===== FOBAK V129.6.8 — navigation publique compacte, galerie, dépliant et mobile ===== */
:root{--public-shell:1180px;--public-blue:#0b557f;--public-blue-dark:#073b63;--public-cyan:#0b7f96;--public-gold:#d7a928;--public-line:#dbe7ee;--public-ink:#153c55}

/* Proportions institutionnelles : largeur centrale stable et respiration constante. */
body.public-layout:not(.page-login) .public-content{width:min(var(--public-shell),calc(100% - 32px))!important;max-width:var(--public-shell)!important;margin-inline:auto!important;padding-inline:0!important}
body.public-layout .public-page-hero{border-radius:0!important;margin:30px 0 24px!important;padding:clamp(34px,5vw,62px) clamp(24px,5vw,58px)!important;min-height:250px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(120deg,#f4fafc 0%,#eaf4f8 62%,#f8fbfd 100%)!important;border:1px solid #d8e7ee!important;box-shadow:none!important;position:relative;overflow:hidden}
body.public-layout .public-page-hero:after{content:"";position:absolute;width:230px;height:230px;border-radius:50%;right:-70px;top:-95px;background:linear-gradient(145deg,rgba(11,127,150,.17),rgba(215,169,40,.08));pointer-events:none}
body.public-layout .public-page-hero .eyebrow{color:var(--public-cyan)!important;letter-spacing:.12em;font-weight:900!important;text-transform:uppercase}
body.public-layout .public-page-hero h1{color:var(--public-blue-dark)!important;font-size:clamp(2.25rem,4.2vw,4.25rem)!important;line-height:1.02!important;letter-spacing:-.035em;margin:.5rem 0 1rem!important;max-width:900px}
body.public-layout .public-page-hero h1 span{color:var(--public-cyan)!important}
body.public-layout .public-page-hero p{max-width:760px;color:#567184!important;font-size:clamp(1rem,1.3vw,1.15rem)!important;line-height:1.7!important;margin:0!important}
.public-page-actions{display:flex;gap:10px;flex-wrap:wrap;margin:-8px 0 24px}

/* Navigation : peu d'entrées de premier niveau, sous-menus riches. */
body.public-layout>.top-nav.public-nav.public-nav-professional{height:66px!important;min-height:66px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;padding:0 max(18px,calc((100% - var(--public-shell))/2))!important;overflow:visible!important;background:#fff!important;border-top:1px solid #e1e9ef!important;border-bottom:1px solid #d6e2e9!important;box-shadow:0 7px 20px rgba(8,53,82,.08)!important;z-index:260!important}
.public-nav-professional .public-nav-links{height:100%;display:flex!important;justify-content:flex-start!important;align-items:stretch!important;gap:2px!important;overflow:visible!important;flex-wrap:nowrap!important}
.public-nav-professional .public-nav-links>a,.public-nav-professional .public-nav-group>summary{min-height:64px!important;display:flex!important;align-items:center!important;gap:6px;padding:0 13px!important;border-radius:0!important;color:#254f68!important;font-size:14px!important;font-weight:800!important;white-space:nowrap;text-decoration:none;cursor:pointer;list-style:none;transition:.18s ease}
.public-nav-professional .public-nav-group>summary::-webkit-details-marker{display:none}
.public-nav-professional .public-nav-group>summary span{font-size:11px;transition:transform .18s ease}
.public-nav-professional .public-nav-links>a:hover,.public-nav-professional .public-nav-group>summary:hover,.public-nav-professional .public-nav-links>a.active,.public-nav-professional .public-nav-group.is-current>summary{color:var(--public-blue)!important;background:#eef6fa!important;box-shadow:inset 0 -3px 0 var(--public-cyan)!important}
.public-nav-professional .public-nav-group{position:relative;display:block;height:66px}
.public-nav-professional .public-nav-group[open]>summary span{transform:rotate(180deg)}
.public-nav-professional .public-submenu{position:absolute;top:62px;left:0;width:310px;padding:10px;background:#fff;border:1px solid #d9e5ec;border-radius:0 0 16px 16px;box-shadow:0 20px 42px rgba(8,46,70,.18);display:grid;gap:3px;z-index:500}
.public-nav-professional .public-submenu-right{left:auto;right:0}
.public-nav-professional .public-submenu>a{display:grid!important;gap:2px!important;padding:11px 12px!important;border-radius:10px!important;color:#274f66!important;text-decoration:none!important;min-height:0!important;white-space:normal!important}
.public-nav-professional .public-submenu>a:hover{background:#edf7fa!important;color:var(--public-blue-dark)!important}
.public-nav-professional .public-submenu strong{font-size:.91rem}.public-nav-professional .public-submenu small{font-size:.72rem;color:#748996;line-height:1.35;font-weight:600}
.public-nav-professional .public-nav-actions{height:100%;flex-direction:row!important;align-items:center!important;gap:8px!important}
.public-nav-professional .public-login-link{background:var(--public-blue)!important;color:#fff!important;border-radius:10px!important;padding:10px 16px!important;font-weight:850!important;box-shadow:none!important}
.public-nav-professional .public-login-link:hover{background:var(--public-blue-dark)!important}
.public-nav-professional .public-language-wrap{width:124px!important;min-width:124px!important}

/* Accueil : proportion de bannière proche d'un portail institutionnel classique. */
body.page-index .home-hero-carousel{width:100%!important;height:560px!important;min-height:560px!important;margin:24px 0 0!important;border-radius:0!important;box-shadow:none!important}
body.page-index .home-hero-carousel .slides,body.page-index .home-hero-carousel .slide{border-radius:0!important}
body.page-index .home-hero-carousel .carousel-photo{width:100%!important;height:100%!important;display:block!important}
body.page-index .home-primary-actions{margin:-34px 28px 34px!important;position:relative;z-index:8;border-radius:0!important;box-shadow:0 15px 35px rgba(8,53,82,.13)!important}
body.page-index .home-news-body h3 a{color:var(--public-blue)!important;text-decoration:none!important}
body.page-index .home-news-body h3 a:hover{color:var(--public-cyan)!important}
body.page-index .home-section-title-lockup h2{color:var(--public-blue-dark)!important;position:relative}
body.page-index .home-section-title-lockup h2:after{content:"";display:block;width:72px;height:4px;border-radius:3px;margin-top:11px;background:linear-gradient(90deg,var(--public-cyan),var(--public-gold))}

/* Galerie éditoriale durable. */
.public-gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;margin-bottom:22px;border:1px solid var(--public-line);background:#fff}
.public-gallery-toolbar>div{display:grid;gap:3px}.public-gallery-toolbar strong{color:var(--public-blue-dark);font-size:1.08rem}.public-gallery-toolbar small{color:#718695}
.public-gallery-filter{display:flex;align-items:center;gap:9px}.public-gallery-filter label{font-weight:800;color:#466779;font-size:.82rem}.public-gallery-filter select{min-height:42px;border:1px solid #c8d8e2;border-radius:9px;padding:8px 34px 8px 11px;background:#fff}.public-gallery-filter a{font-weight:800;color:var(--public-cyan);text-decoration:none}
.public-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-bottom:42px}
.public-gallery-card{min-width:0;border:1px solid #dce7ed;background:#fff;box-shadow:0 9px 28px rgba(8,55,84,.08);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}
.public-gallery-card:hover{transform:translateY(-3px);box-shadow:0 17px 38px rgba(8,55,84,.13)}
.public-gallery-media{height:250px;display:block;position:relative;overflow:hidden;background:#eaf2f5}.public-gallery-media>img{width:100%;height:100%;display:block;transition:transform .35s ease}.public-gallery-card:hover .public-gallery-media>img{transform:scale(1.025)}
.public-gallery-category{position:absolute;left:14px;bottom:14px;background:rgba(7,59,99,.92);color:#fff;border-radius:999px;padding:6px 10px;font-size:.72rem;font-weight:900;letter-spacing:.04em}
.public-gallery-copy{padding:18px;display:grid;gap:8px}.public-gallery-copy>small{color:#748996}.public-gallery-copy h2{font-size:1.28rem;line-height:1.28;margin:0!important}.public-gallery-copy h2 a{color:var(--public-blue)!important;text-decoration:none}.public-gallery-copy>strong{color:#345d73}.public-gallery-copy p{color:#627b89;line-height:1.55;margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.public-gallery-placeholder{width:100%;height:100%;display:grid;place-items:center;align-content:center;gap:10px;background:linear-gradient(135deg,#e9f5f7,#f8fbfc);color:var(--public-blue);font-weight:900}.public-gallery-placeholder img{width:96px;height:96px;object-fit:contain;border-radius:50%;background:#fff;padding:7px}
.public-gallery-empty{grid-column:1/-1;min-height:280px;display:grid;place-items:center;align-content:center;gap:9px;border:1px dashed #bfd3df;background:#f8fbfc;text-align:center;color:#607887}.public-gallery-empty img{width:92px;height:92px;object-fit:contain;border-radius:50%}.public-gallery-empty strong{font-size:1.15rem;color:var(--public-blue-dark)}

/* Dépliant. */
.public-brochure-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.45fr);gap:22px;margin-bottom:42px;align-items:start}.public-brochure-layout>.card{border-radius:0!important;border:1px solid var(--public-line)!important;box-shadow:0 9px 28px rgba(8,55,84,.07)!important}
.public-brochure-title{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:18px}.public-brochure-title span{color:var(--public-cyan);font-size:.75rem;text-transform:uppercase;letter-spacing:.09em;font-weight:900}.public-brochure-title h2{color:var(--public-blue-dark);margin:.25rem 0!important}.public-brochure-title>b{background:#ecf7f8;color:#087283;padding:7px 10px;border-radius:999px;white-space:nowrap}
.public-brochure-image{display:block;width:100%;max-height:900px;object-fit:contain;background:#f0f4f6;border:1px solid #e0e8ec}.public-brochure-pdf{min-height:430px;display:grid;place-items:center;align-content:center;gap:13px;text-align:center;background:linear-gradient(145deg,#eef7f9,#fbfcfd);border:1px solid #dce8ee}.public-brochure-pdf>span{font-size:70px}.public-brochure-pdf>strong{color:var(--public-blue-dark);font-size:1.2rem}
.public-brochure-print{position:sticky;top:92px}.public-brochure-print h2{color:var(--public-blue-dark)}.public-brochure-print .form{display:grid;gap:14px}.public-brochure-original{display:block;margin-top:16px;color:var(--public-cyan);font-weight:850;text-align:center}.public-brochure-empty{text-align:center;padding:60px 20px!important}.public-brochure-empty>span{font-size:58px}.public-brochure-empty h2{color:var(--public-blue-dark)}
.brochure-admin-grid .card{align-self:start}.brochure-current-card h3{color:var(--public-blue)}

/* Activités : titres éditoriaux plus visibles sans surcharge. */
.public-list-card .activity-card h2,.public-list-card .activity-card h3{color:var(--public-blue)!important;line-height:1.25!important;letter-spacing:-.015em}.public-list-card .activity-card .badge{background:#edf7fa!important;color:#087589!important;border:1px solid #cde7ec!important}.public-list-card .activity-card{border-top:4px solid var(--public-cyan)!important}

/* Géographie : rendre la chaîne de sélection explicite. */
.province-select,.territory-select,.commune-select{background-color:#fff!important}.province-select:focus,.territory-select:focus,.commune-select:focus{border-color:var(--public-cyan)!important;box-shadow:0 0 0 3px rgba(11,127,150,.12)!important}

@media (hover:hover) and (min-width:821px){.public-nav-professional .public-nav-group:not([open]):hover>.public-submenu{display:grid}.public-nav-professional .public-nav-group:not([open])>.public-submenu{display:none}}

@media(max-width:1050px) and (min-width:821px){
 body.public-layout>.top-nav.public-nav.public-nav-professional{height:66px!important;min-height:66px!important;padding-inline:12px!important}
 .public-nav-professional .public-nav-links>a,.public-nav-professional .public-nav-group>summary{padding-inline:9px!important;font-size:12.5px!important}
 .public-nav-professional .public-language-wrap{display:none!important}
}

@media(max-width:820px){
 body.public-layout:not(.page-login) .public-content{width:100%!important;max-width:none!important;padding:0 14px!important}
 body.public-layout>.top-nav.public-nav.public-nav-professional{position:fixed!important;inset:0 auto 0 0!important;height:100dvh!important;min-height:100dvh!important;width:min(89vw,390px)!important;max-width:min(89vw,390px)!important;padding:72px 14px 24px!important;display:flex!important;flex-direction:column!important;overflow-y:auto!important;overflow-x:hidden!important;background:#fff!important;transform:translateX(-104%);transition:transform .24s ease;z-index:1000!important;box-shadow:20px 0 45px rgba(4,38,60,.18)!important}
 body.public-menu-open>.top-nav.public-nav.public-nav-professional{transform:translateX(0)!important}
 .public-nav-professional .public-nav-links{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;height:auto!important;gap:6px!important;overflow:visible!important}
 .public-nav-professional .public-nav-links>a,.public-nav-professional .public-nav-group>summary{width:100%!important;min-height:48px!important;height:auto!important;padding:12px 13px!important;border-radius:10px!important;font-size:14px!important;box-shadow:none!important;justify-content:space-between!important}
 .public-nav-professional .public-nav-group{height:auto!important;width:100%!important;border-bottom:1px solid #e5edf2;padding-bottom:5px}
 .public-nav-professional .public-nav-group.is-current>summary,.public-nav-professional .public-nav-links>a.active{background:#edf7fa!important;color:var(--public-blue)!important;box-shadow:none!important}
 .public-nav-professional .public-submenu,.public-nav-professional .public-submenu-right{position:static!important;width:auto!important;margin:4px 0 2px 12px!important;padding:4px 0 4px 10px!important;border:0!important;border-left:3px solid #cbe4ea!important;border-radius:0!important;box-shadow:none!important;background:#fbfdfe!important}
 .public-nav-professional .public-nav-group:not([open])>.public-submenu{display:none!important}.public-nav-professional .public-nav-group[open]>.public-submenu{display:grid!important}
 .public-nav-professional .public-submenu>a{padding:10px!important;border-radius:8px!important}.public-nav-professional .public-submenu small{display:block!important}
 .public-nav-professional .public-nav-actions{display:grid!important;height:auto!important;width:100%!important;gap:9px!important;margin-top:10px!important;padding-top:12px!important;border-top:1px solid #dbe7ed!important}
 .public-nav-professional .public-login-link,.public-nav-professional .public-language-wrap{width:100%!important;max-width:none!important;min-width:0!important}
 .public-nav-professional .public-login-link{text-align:center!important;justify-content:center!important;min-height:48px!important}
 .public-nav-professional .public-language-wrap{display:grid!important}
 body.page-index .home-hero-carousel{height:470px!important;min-height:470px!important;margin:14px -14px 0!important;width:calc(100% + 28px)!important}
 body.page-index .home-primary-actions{margin:-18px 0 26px!important}
 body.public-layout .public-page-hero{margin:16px -14px 20px!important;padding:32px 20px!important;border-left:0!important;border-right:0!important;min-height:220px}
 .public-gallery-toolbar{align-items:stretch;flex-direction:column}.public-gallery-filter{align-items:stretch;flex-direction:column}.public-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.public-gallery-media{height:210px}
 .public-brochure-layout{grid-template-columns:1fr}.public-brochure-print{position:static}.public-brochure-pdf{min-height:300px}
}
@media(max-width:560px){
 body.page-index .home-hero-carousel{height:410px!important;min-height:410px!important}
 .public-gallery-grid{grid-template-columns:1fr}.public-gallery-media{height:245px}.public-gallery-copy{padding:16px}.public-gallery-copy h2{font-size:1.2rem}
 body.public-layout .public-page-hero h1{font-size:2.45rem!important}.public-page-actions .btn{width:100%}
}

@media print{body.public-layout .public-mobile-bar,body.public-layout .public-header,body.public-layout .public-nav,.public-page-hero,.public-brochure-print,.fobak-shared-footer{display:none!important}.public-brochure-layout{display:block!important}.public-brochure-preview{border:0!important;box-shadow:none!important;padding:0!important}}
.home-activities-heading-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.home-brochure-highlight{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;margin:10px 0 16px;background:linear-gradient(120deg,#edf7fa,#f8fbfc);border-left:4px solid var(--public-cyan)}.home-brochure-highlight>span{font-size:28px}.home-brochure-highlight div{display:grid;gap:2px}.home-brochure-highlight strong{color:var(--public-blue-dark)}.home-brochure-highlight small{color:#718695}.home-brochure-highlight>a{color:var(--public-cyan);font-weight:900;text-decoration:none;white-space:nowrap}
@media(max-width:620px){.home-activities-heading-actions{width:100%}.home-activities-heading-actions .btn{flex:1}.home-brochure-highlight{grid-template-columns:38px minmax(0,1fr)}.home-brochure-highlight>a{grid-column:2;white-space:normal}}
.gallery-quick-form{display:grid;grid-template-columns:auto minmax(120px,1fr) 88px auto;gap:7px;align-items:center;margin:12px 0;padding:10px;background:#f1f8fa;border:1px solid #d7e9ee}.gallery-quick-form strong{color:var(--public-blue-dark);font-size:.82rem}.gallery-quick-form select,.gallery-quick-form input{min-height:36px!important;padding:6px 8px!important}@media(max-width:620px){.gallery-quick-form{grid-template-columns:1fr 1fr}.gallery-quick-form strong{grid-column:1/-1}.gallery-quick-form .btn{width:100%}}


/* ===== FOBAK V129.6.9 — navigation légère, langues cohérentes et carrousel institutionnel ===== */
:root{--public-shell:1180px;--public-nav-h:58px}

/* En-tête : République d'abord, Fondation ensuite. */
body.public-layout>.site-header.public-header .public-brand-order{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:2px!important}
body.public-layout>.site-header.public-header .public-country-line{order:1!important;font-size:clamp(11px,.9vw,13px)!important;font-weight:800!important;letter-spacing:.08em!important;text-transform:uppercase!important;opacity:.92!important}
body.public-layout>.site-header.public-header .public-brand-order>strong{order:2!important;font-size:clamp(20px,1.8vw,28px)!important;line-height:1.05!important;letter-spacing:.035em!important}
body.public-layout>.site-header.public-header .public-brand-order>em{order:3!important;font-size:11px!important;margin-top:2px!important}

/* Navigation type portail institutionnel : compacte, stable et sans grand panneau flottant. */
body.public-layout>.top-nav.public-nav.public-nav-professional{height:var(--public-nav-h)!important;min-height:var(--public-nav-h)!important;padding:0 max(12px,calc((100% - var(--public-shell))/2))!important;column-gap:8px!important;box-shadow:0 4px 14px rgba(8,53,82,.07)!important}
.public-nav-professional .public-nav-links{height:var(--public-nav-h)!important;gap:0!important;min-width:0!important}
.public-nav-professional .public-nav-links>a,.public-nav-professional .public-nav-group>summary{min-height:var(--public-nav-h)!important;height:var(--public-nav-h)!important;padding:0 clamp(8px,.85vw,13px)!important;font-size:clamp(12px,.86vw,14px)!important;font-weight:800!important;border-right:1px solid #eef2f5!important;background:#fff!important;box-shadow:none!important}
.public-nav-professional .public-nav-links>a:first-child{border-left:1px solid #eef2f5!important}
.public-nav-professional .public-nav-links>a:hover,.public-nav-professional .public-nav-group>summary:hover,.public-nav-professional .public-nav-links>a.active,.public-nav-professional .public-nav-group.is-current>summary{background:#f2f8fb!important;box-shadow:inset 0 -3px 0 var(--public-cyan)!important}
.public-nav-professional .public-nav-group{height:var(--public-nav-h)!important;position:relative!important}
.public-nav-professional .public-submenu{top:100%!important;left:0!important;width:235px!important;padding:7px!important;border-radius:0 0 9px 9px!important;border:1px solid #dbe5eb!important;border-top:3px solid var(--public-cyan)!important;box-shadow:0 12px 26px rgba(8,46,70,.14)!important;gap:1px!important;background:#fff!important}
.public-nav-professional .public-submenu>a{display:flex!important;align-items:center!important;min-height:40px!important;padding:9px 11px!important;border-radius:5px!important;font-size:13px!important;font-weight:750!important;line-height:1.25!important;border-bottom:1px solid #eef3f6!important;background:#fff!important}
.public-nav-professional .public-submenu>a:last-child{border-bottom:0!important}
.public-nav-professional .public-submenu>a:hover{padding-left:14px!important;background:#f2f8fb!important}
.public-nav-professional .public-nav-publications{margin-left:auto!important;color:#0a6687!important}
.public-nav-professional .public-nav-actions{height:var(--public-nav-h)!important;gap:6px!important}
.public-nav-professional .public-login-link{min-height:40px!important;padding:9px 16px!important;border-radius:7px!important}

/* Sélecteur de langue : toute la zone est cliquable. */
.language-switcher{position:relative!important;margin:0!important}
.language-switcher>summary{list-style:none!important;cursor:pointer!important;user-select:none!important}
.language-switcher>summary::-webkit-details-marker{display:none!important}
.language-switcher .language-menu-options{position:absolute;z-index:1400;top:calc(100% + 7px);right:0;width:218px;padding:7px;background:#fff;border:1px solid #d8e4eb;border-radius:10px;box-shadow:0 16px 34px rgba(5,45,72,.17);display:grid;gap:2px}
.language-switcher:not([open])>.language-menu-options{display:none!important}
.language-menu-options>a,.language-menu-options>.language-option-form>.language-option{display:grid!important;grid-template-columns:34px minmax(0,1fr) 20px!important;align-items:center!important;gap:7px!important;min-height:38px!important;padding:8px 9px!important;margin:0!important;border-radius:6px!important;color:#244b63!important;text-decoration:none!important;background:#fff!important}
.language-menu-options>a:hover,.language-menu-options>a.is-active,.language-menu-options>.language-option-form>.language-option:hover,.language-menu-options>.language-option-form>.language-option.is-active{background:#edf7fa!important;color:#075b80!important}
.language-menu-options>a>span,.language-menu-options>.language-option-form>.language-option>span{font-size:10px!important;font-weight:900!important;color:#6f8593!important;letter-spacing:.06em!important}
.language-menu-options>a>strong,.language-menu-options>.language-option-form>.language-option>strong{font-size:13px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.language-menu-options>a>b,.language-menu-options>.language-option-form>.language-option>b{justify-self:end;color:#0a7d91}
.public-language-menu>summary{height:40px;min-width:108px;padding:0 10px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #cfdde6;border-radius:7px;background:#fff;color:#0b527a;font-size:11px;font-weight:850;text-transform:uppercase}
.public-language-menu>summary strong{font-size:12px}.public-language-menu[open]>summary{border-color:#79b7cb;background:#f1f9fb}
.topbar-language-menu>summary{height:40px;min-width:66px;padding:0 9px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #d6e2ea;border-radius:10px;background:#fff;color:#0a527c;cursor:pointer}
.topbar-language-menu .language-menu-options{top:calc(100% + 8px)}
.sidebar-language-menu{margin:0 8px 8px!important;flex:0 0 auto!important}
.sidebar-language-menu>summary{display:grid;grid-template-columns:25px minmax(0,1fr) auto 16px;align-items:center;gap:7px;min-height:42px;padding:9px 10px;border:1px solid rgba(255,255,255,.22);border-radius:10px;background:rgba(255,255,255,.09);color:#fff}
.sidebar-language-menu>summary strong{font-size:11px;color:#ffd84c}.sidebar-language-menu .language-menu-options{left:0;right:auto;bottom:calc(100% + 6px);top:auto;width:min(248px,calc(100vw - 32px))}
.sidebar-language-menu .language-switcher-label{font-size:12px;font-weight:800}
.footer-language-menu{width:100%!important;max-width:260px!important}
.footer-language-menu>summary{min-height:42px;padding:9px 11px;border:1px solid rgba(255,255,255,.28);border-radius:9px;background:rgba(255,255,255,.10);color:#fff;display:flex;align-items:center;gap:8px;justify-content:space-between}
.footer-language-menu .language-menu-options{left:0;right:auto;bottom:calc(100% + 7px);top:auto}
.fobak-footer-language h3{margin-bottom:7px!important}

/* Carrousel : proportions des visuels du portail Hamdard (environ 1000 x 390), sans imitation graphique. */
body.page-index .home-hero-carousel{height:auto!important;min-height:0!important;aspect-ratio:1000/390!important;margin:18px 0 0!important;background:#edf2f5!important;overflow:hidden!important;contain:layout paint!important}
body.page-index .home-hero-carousel .slide:before{display:none!important;content:none!important;filter:none!important}
body.page-index .home-hero-carousel .slide{background:#edf2f5!important;transition:opacity .32s ease!important}
body.page-index .home-hero-carousel .carousel-photo{inset:0!important;width:100%!important;height:100%!important;padding:0!important;background:#edf2f5!important}
body.page-index .home-hero-carousel .fit-cover .carousel-photo{object-fit:cover!important}
body.page-index .home-hero-carousel .fit-contain .carousel-photo{object-fit:contain!important;background:#f1f4f6!important}
body.page-index .home-hero-carousel .carousel-photo-shade{background:linear-gradient(0deg,rgba(3,29,48,.48) 0%,rgba(3,29,48,.08) 38%,transparent 62%)!important}
body.page-index .home-hero-carousel .slide-message{left:clamp(20px,3.2vw,42px)!important;bottom:clamp(24px,4vw,44px)!important;width:min(560px,72%)!important;gap:5px!important}
body.page-index .home-hero-carousel .slide-kicker{padding:5px 8px!important;border:0!important;border-radius:5px!important;background:rgba(5,51,82,.78)!important;backdrop-filter:none!important;font-size:.66rem!important}
body.page-index .home-hero-carousel .slide-message strong{font-size:clamp(1.45rem,2.5vw,2.75rem)!important;line-height:1.05!important}
body.page-index .home-hero-carousel .slide-message>span:last-child:not(.slide-kicker){font-size:clamp(.82rem,1.1vw,1rem)!important;line-height:1.4!important;max-width:520px!important}
body.page-index .home-hero-brand{display:none!important}
body.page-index .home-hero-carousel .carousel-control{width:40px!important;height:40px!important;backdrop-filter:none!important;background:rgba(5,48,76,.72)!important}
body.page-index .home-hero-carousel .carousel-dots{bottom:10px!important}
body.page-index .home-hero-carousel .carousel-dots button{transition:none!important}

/* Allègement global des pages publiques : moins de filtres GPU et rendu différé sous le premier écran. */
body.public-layout{scroll-behavior:auto!important}
body.public-layout .home-mission-aside,body.public-layout .workspace-topbar,body.public-layout .auth-compact-card{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.page-index .home-contact-band,body.page-index .home-confidence-strip,body.page-index .home-activities-showcase,body.page-index .president-home-feature,body.page-index .home-institution-grid,body.page-index .home-membership-grid{content-visibility:auto;contain-intrinsic-size:1px 650px}
body.public-layout img{image-rendering:auto}

@media(max-width:1120px) and (min-width:821px){
 body.public-layout>.top-nav.public-nav.public-nav-professional{padding-inline:8px!important}
 .public-nav-professional .public-nav-links>a,.public-nav-professional .public-nav-group>summary{padding-inline:7px!important;font-size:11.5px!important}
 .public-nav-professional .public-login-link{padding-inline:11px!important}
 .public-language-menu>summary{min-width:72px!important}.public-language-menu .language-switcher-label{display:none!important}
}
@media(max-width:820px){
 body.public-layout>.top-nav.public-nav.public-nav-professional{height:100dvh!important;min-height:100dvh!important;padding:68px 12px 20px!important;transition:transform .18s ease!important}
 .public-nav-professional .public-nav-links{height:auto!important;gap:3px!important}
 .public-nav-professional .public-nav-links>a,.public-nav-professional .public-nav-group>summary{height:auto!important;min-height:45px!important;border:0!important;border-bottom:1px solid #e6edf1!important;padding:10px 11px!important;font-size:13px!important;border-radius:0!important}
 .public-nav-professional .public-nav-publications{margin-left:0!important;order:99!important;color:#076c88!important;font-weight:900!important}
 .public-nav-professional .public-nav-group{height:auto!important;padding:0!important;border-bottom:0!important}
 .public-nav-professional .public-submenu{position:static!important;width:auto!important;margin:0 0 4px 12px!important;padding:3px 0 3px 9px!important;border:0!important;border-left:2px solid #a9d5df!important;border-radius:0!important;box-shadow:none!important;background:#fbfdfe!important}
 .public-nav-professional .public-submenu>a{min-height:38px!important;padding:8px 9px!important;border-bottom:0!important;background:transparent!important}
 .public-nav-professional .public-nav-actions{height:auto!important;margin-top:8px!important}
 .public-language-menu>summary{width:100%!important;min-height:45px!important;justify-content:space-between!important;padding:0 12px!important}
 .public-language-menu .language-menu-options{position:static!important;width:100%!important;margin-top:5px!important;box-shadow:none!important;border-radius:6px!important}
 body.page-index .home-hero-carousel{width:calc(100% + 28px)!important;margin:10px -14px 0!important;aspect-ratio:16/10!important;height:auto!important;min-height:0!important}
 body.page-index .home-hero-carousel .slide-message{left:18px!important;right:18px!important;bottom:32px!important;width:auto!important}
 body.page-index .home-hero-carousel .slide-message strong{font-size:1.75rem!important}
 body.page-index .home-hero-carousel .carousel-photo-shade{background:linear-gradient(0deg,rgba(3,29,48,.62) 0%,rgba(3,29,48,.08) 52%,transparent 72%)!important}
}
@media(max-width:520px){
 body.page-index .home-hero-carousel{aspect-ratio:4/3!important}
 body.page-index .home-hero-carousel .slide-message strong{font-size:1.5rem!important}
 body.page-index .home-hero-carousel .slide-message>span:last-child:not(.slide-kicker){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .language-switcher .language-menu-options{width:min(230px,calc(100vw - 28px))}
}
@media(prefers-reduced-motion:reduce){body.public-layout *,body.public-layout *:before,body.public-layout *:after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}
/* Fluidité supplémentaire : ticker et espace interne sans filtres coûteux. */
.ticker-track span{animation-duration:22s!important;will-change:transform;transform:translate3d(0,0,0)}
body.admin-layout .workspace-topbar{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:#f4f8fd!important}
body.admin-layout .side-menu,body.admin-layout .workspace,body.public-layout .public-content{scroll-behavior:auto!important}


/* ===== FOBAK V129.6.10 — navigation responsive, photos plein cadre et fluidité ===== */
:root{
  --v129610-shell:1180px;
  --v129610-header-h:104px;
  --v129610-nav-h:58px;
  --v129610-ticker-h:52px;
}

/* 1/9. En-tête stable : République toujours visible avant le nom de la Fondation. */
@media(min-width:821px){
  body.public-layout{padding-top:calc(var(--v129610-header-h) + var(--v129610-nav-h))!important;padding-bottom:calc(var(--v129610-ticker-h) + 18px)!important}
  body.public-layout>.site-header.public-header{height:var(--v129610-header-h)!important;min-height:var(--v129610-header-h)!important;padding:8px max(22px,calc((100% - var(--v129610-shell))/2))!important;grid-template-columns:78px minmax(0,1fr) 94px!important;align-items:center!important;overflow:visible!important;transform:none!important}
  body.public-layout>.site-header.public-header .logo-box{width:70px!important;height:70px!important}
  body.public-layout>.site-header.public-header .flag-real{width:88px!important;height:58px!important}
  body.public-layout>.site-header.public-header .public-country-line{display:block!important;visibility:visible!important;opacity:1!important;color:#fff!important;line-height:1.15!important;margin:0!important}
  body.public-layout>.site-header.public-header .public-brand-order>strong{display:block!important;line-height:1.08!important;margin:2px 0 0!important}
  body.public-layout>.top-nav.public-nav.public-nav-professional{top:var(--v129610-header-h)!important;height:var(--v129610-nav-h)!important;min-height:var(--v129610-nav-h)!important;padding:0 max(10px,calc((100% - var(--v129610-shell))/2))!important}
}

/* 2/3/11. Barre compacte : publication reste la dernière rubrique sans trou artificiel. */
.public-nav-professional .public-nav-links{flex:1 1 auto!important;min-width:0!important;justify-content:flex-start!important;align-items:stretch!important;gap:0!important}
.public-nav-professional .public-nav-publications{margin-left:0!important;order:99!important;display:flex!important;align-items:center!important;gap:7px!important;color:#0a6687!important}
.public-nav-professional .public-nav-publications>span:first-child{font-size:16px!important;color:#0b86a3!important}
.public-nav-professional .public-nav-actions{flex:0 0 auto!important;margin-left:8px!important}
.public-nav-professional .public-nav-group>summary{justify-content:flex-start!important;gap:7px!important}
.public-nav-professional .public-nav-caret{margin-left:1px!important;font-size:10px!important;opacity:.75!important}
.public-nav-professional .nav-home-icon{font-size:15px!important;color:#0b7f99!important}

/* Sous-menus : collés au parent, texte à gauche, icône dédiée et aucune grande zone vide. */
.public-nav-professional .public-submenu{
  top:calc(100% - 1px)!important;
  left:0!important;
  width:286px!important;
  padding:6px!important;
  gap:2px!important;
  text-align:left!important;
  border-radius:0 0 10px 10px!important;
  border:1px solid #d9e5eb!important;
  border-top:3px solid var(--public-cyan)!important;
  box-shadow:0 10px 24px rgba(8,46,70,.13)!important;
  background:#fff!important;
}
.public-nav-professional .public-submenu>a{
  width:100%!important;
  min-height:48px!important;
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr)!important;
  align-items:center!important;
  gap:9px!important;
  padding:8px 9px!important;
  margin:0!important;
  text-align:left!important;
  justify-items:start!important;
  border:0!important;
  border-bottom:1px solid #edf2f5!important;
  border-radius:6px!important;
  line-height:1.2!important;
  background:#fff!important;
}
.public-nav-professional .public-submenu>a:last-child{border-bottom:0!important}
.public-nav-professional .public-submenu>a:hover{padding-left:9px!important;background:#f1f8fb!important;transform:none!important}
.public-nav-professional .submenu-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;background:#eaf5f8;color:#086c8b;font-size:15px;line-height:1}
.public-nav-professional .submenu-copy{display:grid!important;gap:2px!important;min-width:0!important;text-align:left!important}
.public-nav-professional .submenu-copy strong{font-size:12.5px!important;line-height:1.18!important;color:#1f4b64!important;text-align:left!important}
.public-nav-professional .submenu-copy small{display:block!important;font-size:10.5px!important;line-height:1.25!important;color:#778c99!important;font-weight:600!important;text-align:left!important;white-space:normal!important}
.public-nav-professional details[open]>.public-submenu{animation:none!important}

/* 8. Langue : le nom est lisible directement, toute la commande ouvre le menu. */
.public-language-menu>summary{min-width:142px!important;height:40px!important;padding:0 9px!important;justify-content:flex-start!important;gap:6px!important;text-transform:none!important}
.public-language-menu .language-globe{font-size:15px!important;line-height:1!important}
.public-language-menu .language-current-name{min-width:0;max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;font-weight:850;color:#174b68}
.public-language-menu>summary>strong{margin-left:auto!important;padding-left:6px!important;border-left:1px solid #d7e2e8!important;font-size:10px!important;color:#0a718b!important}
.public-language-menu .language-menu-options{width:230px!important}

/* 1/6. Carrousel : rendu bannière plein cadre pour toutes les orientations.
   Les paramètres de position restent le point focal. Plus aucune bande grise latérale. */
body.page-index .home-hero-carousel{
  width:100%!important;
  aspect-ratio:1000/390!important;
  height:auto!important;
  min-height:0!important;
  max-height:min(460px,calc(100dvh - var(--v129610-header-h) - var(--v129610-nav-h) - var(--v129610-ticker-h) - 28px))!important;
  margin:14px 0 0!important;
  background:#0a3d60!important;
  overflow:hidden!important;
  box-shadow:none!important;
  contain:layout paint!important;
}
body.page-index .home-hero-carousel .slide{background:#0a3d60!important;transition:opacity .20s linear!important}
body.page-index .home-hero-carousel .banner-smart .carousel-photo,
body.page-index .home-hero-carousel .fit-contain .carousel-photo,
body.page-index .home-hero-carousel .fit-cover .carousel-photo{
  width:100%!important;height:100%!important;padding:0!important;object-fit:cover!important;background:#0a3d60!important;transform:none!important;
}
body.page-index .home-hero-carousel .pos-center .carousel-photo{object-position:center center!important}
body.page-index .home-hero-carousel .pos-top .carousel-photo{object-position:center top!important}
body.page-index .home-hero-carousel .pos-bottom .carousel-photo{object-position:center bottom!important}
body.page-index .home-hero-carousel .pos-left .carousel-photo{object-position:left center!important}
body.page-index .home-hero-carousel .pos-right .carousel-photo{object-position:right center!important}
body.page-index .home-hero-carousel .carousel-photo-shade{background:linear-gradient(0deg,rgba(3,29,48,.50) 0%,rgba(3,29,48,.07) 38%,transparent 66%)!important}
body.page-index .home-hero-carousel .slide-message{left:clamp(18px,3vw,38px)!important;bottom:clamp(22px,3.3vw,38px)!important;width:min(540px,70%)!important}
body.page-index .home-hero-carousel .slide-message strong{font-size:clamp(1.35rem,2.25vw,2.45rem)!important;text-shadow:0 2px 12px rgba(0,0,0,.28)!important}
body.page-index .home-hero-carousel .carousel-control{width:38px!important;height:38px!important;box-shadow:none!important}

/* 7. Transition visuelle légère entre la bannière et les accès rapides. */
body.page-index .home-after-hero-heading{display:flex;align-items:center;gap:9px;margin:16px 0 8px;padding:0 2px;color:#0a6687}
body.page-index .home-after-hero-heading>span{font-size:9px;color:var(--home-gold)}
body.page-index .home-after-hero-heading>strong{font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:900;white-space:nowrap}
body.page-index .home-after-hero-heading>i{height:1px;background:#dbe7ed;flex:1}
body.page-index .home-primary-actions{margin:0 0 28px!important;border-radius:12px!important;box-shadow:0 8px 22px rgba(8,53,82,.08)!important}
body.page-index .home-primary-actions>a{padding:15px 14px!important;transition:background .12s ease!important}
body.page-index .home-primary-actions>a:hover{transform:none!important}

/* 4/5. Bande passante et aide : espace réservé + bouton d'aide discret. */
:root{--v125-ticker-h:var(--v129610-ticker-h)}
body:not(.ticker-is-hidden).public-layout,body:not(.ticker-is-hidden).admin-layout{padding-bottom:calc(var(--v129610-ticker-h) + 18px)!important}
body.ticker-is-hidden.public-layout,body.ticker-is-hidden.admin-layout{padding-bottom:16px!important}
.communique-ticker.enhanced-ticker{height:var(--v129610-ticker-h)!important;min-height:var(--v129610-ticker-h)!important;box-shadow:0 -2px 10px rgba(5,42,68,.10)!important}
.communique-ticker.enhanced-ticker .ticker-track span{animation-duration:15s!important;will-change:auto!important;font-weight:800!important}
.floating-help{width:44px!important;height:44px!important;min-width:44px!important;padding:0!important;justify-content:center!important;gap:0!important;border-radius:50%!important;box-shadow:0 8px 18px rgba(5,54,91,.20)!important;font-size:17px!important}
.floating-help>span{position:absolute;right:52px;white-space:nowrap;padding:6px 9px;border-radius:6px;background:#073e66;color:#fff;font-size:11px!important;opacity:0;visibility:hidden;transform:translateX(5px);transition:opacity .12s ease,transform .12s ease,visibility .12s ease;pointer-events:none}
.floating-help:hover>span,.floating-help:focus-visible>span{opacity:1;visibility:visible;transform:none}
body:not(.ticker-is-hidden) .floating-help{bottom:calc(var(--v129610-ticker-h) + 10px)!important}

/* 10. Même hiérarchie professionnelle pour les grands titres de l'accueil. */
body.page-index .home-mission-hero h1,body.page-index .home-contact-band h2,body.page-index .president-home-feature h2,body.page-index .home-institution-grid h2{letter-spacing:-.02em!important}
body.page-index .home-contact-band .eyebrow,body.page-index .president-home-feature .eyebrow,body.page-index .home-institution-grid .eyebrow{color:#0a8196!important;font-weight:900!important}

/* Fluidité : suppression des filtres coûteux, du scroll lissé forcé et des effets longs. */
html,body,body.public-layout,body.admin-layout,.workspace,.side-menu,.public-content{scroll-behavior:auto!important}
body.public-layout.has-watermark:before,body.admin-layout.has-watermark:before{position:absolute!important;will-change:auto!important}
body.public-layout *,body.admin-layout *{-webkit-tap-highlight-color:transparent}
body.public-layout .home-mission-aside,body.public-layout .auth-compact-card,body.admin-layout .workspace-topbar{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.page-index .home-contact-band,body.page-index .home-confidence-strip,body.page-index .home-activities-showcase,body.page-index .president-home-feature,body.page-index .home-institution-grid,body.page-index .home-membership-grid{content-visibility:visible!important;contain:none!important}
body.page-index .public-gallery-card,body.page-index .home-news-card,body.page-index .home-primary-actions>a{transition-duration:.12s!important}

@media(max-width:1180px) and (min-width:821px){
  .public-nav-professional .public-nav-links>a,.public-nav-professional .public-nav-group>summary{padding-inline:7px!important;font-size:11.5px!important}
  .public-nav-professional .public-nav-publications{font-size:11.5px!important}
  .public-language-menu>summary{min-width:82px!important}
  .public-language-menu .language-current-name{display:none!important}
  .public-nav-professional .public-nav-actions{margin-left:4px!important}
}

/* Mobile : menu en accordéon, sous-menu toujours à gauche, aucun débordement horizontal. */
@media(max-width:820px){
  :root{--v129610-ticker-h:48px}
  body.public-layout{padding-top:62px!important;padding-bottom:calc(var(--v129610-ticker-h) + 14px)!important}
  body.public-layout>.top-nav.public-nav.public-nav-professional{padding:68px 12px 18px!important;overflow-y:auto!important;overscroll-behavior:contain!important}
  .public-nav-professional .public-nav-links{width:100%!important;flex:0 0 auto!important;display:flex!important;flex-direction:column!important;gap:0!important}
  .public-nav-professional .public-nav-links>a,.public-nav-professional .public-nav-group>summary{min-height:46px!important;height:auto!important;padding:10px 11px!important;border-radius:0!important;border-bottom:1px solid #e9eff3!important;font-size:13.5px!important;justify-content:flex-start!important;text-align:left!important}
  .public-nav-professional .public-nav-caret{margin-left:auto!important}
  .public-nav-professional .public-nav-publications{order:99!important;margin:0!important;color:#076c88!important;font-weight:900!important}
  .public-nav-professional .public-submenu{position:static!important;width:auto!important;margin:0 0 5px 10px!important;padding:3px 0 3px 8px!important;border:0!important;border-left:2px solid #b9dce4!important;border-radius:0!important;box-shadow:none!important;background:#fbfdfe!important}
  .public-nav-professional .public-submenu>a{min-height:44px!important;grid-template-columns:27px minmax(0,1fr)!important;padding:7px 8px!important;border-bottom:0!important;background:transparent!important}
  .public-nav-professional .submenu-icon{width:25px;height:25px;font-size:13px;border-radius:6px}
  .public-nav-professional .submenu-copy strong{font-size:12.5px!important}
  .public-nav-professional .submenu-copy small{font-size:10.5px!important}
  .public-nav-professional .public-nav-actions{width:100%!important;margin:8px 0 0!important;padding-top:9px!important}
  .public-language-menu>summary{width:100%!important;min-width:0!important;justify-content:flex-start!important;min-height:46px!important}
  .public-language-menu .language-current-name{display:inline!important;max-width:none!important}
  .public-language-menu .language-menu-options{position:static!important;width:100%!important;margin-top:4px!important;box-shadow:none!important;border-radius:6px!important}
  body.page-index .home-hero-carousel{width:calc(100% + 28px)!important;margin:8px -14px 0!important;aspect-ratio:16/10!important;max-height:none!important}
  body.page-index .home-hero-carousel .slide-message{left:15px!important;right:15px!important;width:auto!important;bottom:24px!important}
  body.page-index .home-after-hero-heading{margin-top:12px!important}
  body.page-index .home-primary-actions{grid-template-columns:1fr 1fr!important;margin-bottom:22px!important}
  body.page-index .home-primary-actions>a{border-bottom:1px solid var(--home-line)!important}
  .floating-help{width:42px!important;height:42px!important;right:10px!important}
  .floating-help>span{display:none!important}
}
@media(max-width:520px){
  body.page-index .home-hero-carousel{aspect-ratio:4/3!important}
  body.page-index .home-primary-actions{grid-template-columns:1fr!important}
  body.page-index .home-primary-actions>a{grid-template-columns:40px minmax(0,1fr) 18px!important;min-height:72px!important}
  body.page-index .home-primary-actions>a{border-right:0!important}
  .communique-ticker.enhanced-ticker{height:var(--v129610-ticker-h)!important;min-height:var(--v129610-ticker-h)!important}
  .communique-ticker.enhanced-ticker .ticker-track span{animation-duration:12s!important}
}


/* ===== FOBAK V129.6.11 — accueil large, sous-menus au survol et carrousel adaptatif ===== */
:root{--v129611-shell:1280px}

/* Navigation : l'ancienne règle ne doit JAMAIS retourner le libellé du menu. */
.public-nav-professional .public-nav-group[open]>summary span{transform:none!important}
.public-nav-professional .public-nav-group[open]>summary .public-nav-caret{transform:rotate(180deg)!important}
.public-nav-professional .public-nav-group>summary .public-nav-caret{transition:transform .12s ease!important;transform-origin:center!important}

/* Centre de Santé : neutralise les anciens styles du vieux bouton vert public-health-link. */
.public-nav-professional .public-submenu a.public-health-link{
  display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;align-items:center!important;
  width:100%!important;min-height:48px!important;gap:9px!important;padding:8px 9px!important;
  background:#fff!important;color:#274f66!important;border:0!important;border-bottom:1px solid #edf2f5!important;
  border-radius:6px!important;box-shadow:none!important;transform:none!important;text-align:left!important;justify-content:initial!important;
}
.public-nav-professional .public-submenu a.public-health-link:hover{background:#f1f8fb!important;color:#164a65!important;transform:none!important}
.public-nav-professional .public-submenu a.public-health-link .submenu-icon{
  width:28px!important;height:28px!important;display:grid!important;place-items:center!important;flex:none!important;
  border-radius:7px!important;background:#e8f7ef!important;color:#08734e!important;font-size:15px!important;
}
.public-nav-professional .public-submenu a.public-health-link .submenu-copy{
  width:auto!important;height:auto!important;min-width:0!important;display:grid!important;place-items:initial!important;
  background:transparent!important;border-radius:0!important;color:inherit!important;
}
.public-nav-professional .public-submenu a.public-health-link .submenu-copy strong,
.public-nav-professional .public-submenu a.public-health-link .submenu-copy small{width:auto!important;height:auto!important;display:block!important;text-align:left!important;background:transparent!important}

/* Sur ordinateur, les sous-menus apparaissent au simple survol/focus, sans clic obligatoire. */
@media(hover:hover) and (min-width:821px){
  .public-nav-professional .public-nav-group:hover>.public-submenu,
  .public-nav-professional .public-nav-group:focus-within>.public-submenu{display:grid!important}
  .public-nav-professional .public-submenu{pointer-events:auto!important}
}

/* Barre publique : données plus proches des bords, pas seulement la couleur de fond. */
@media(min-width:821px){
  body.public-layout>.site-header.public-header{padding-inline:max(18px,calc((100% - var(--v129611-shell))/2))!important}
  body.public-layout>.top-nav.public-nav.public-nav-professional{padding-inline:max(8px,calc((100% - var(--v129611-shell))/2))!important}
  .public-nav-professional .public-nav-links{justify-content:flex-start!important}
  .public-nav-professional .public-nav-links>a,.public-nav-professional .public-nav-group>summary{padding-inline:clamp(9px,.9vw,14px)!important}
}

/* Accueil : le contenu, et non les marges colorées, occupe la largeur disponible. */
body.page-index{background:#fff!important}
body.page-index .public-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#fff!important}
body.page-index .public-content>*{
  width:min(var(--v129611-shell),calc(100% - 24px))!important;
  max-width:var(--v129611-shell)!important;
  margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important;
}

/* Carrousel proche d'une vraie bannière institutionnelle : pas de cadre gris, pas de coins massifs. */
body.page-index .home-hero-carousel{
  aspect-ratio:1600/624!important;width:min(var(--v129611-shell),calc(100% - 24px))!important;
  max-height:500px!important;margin-top:10px!important;border:0!important;border-radius:2px!important;
  background:#0a3d60!important;box-shadow:none!important;
}
body.page-index .home-hero-carousel .slides,body.page-index .home-hero-carousel .slide{border-radius:2px!important;background:#0a3d60!important}
body.page-index .home-hero-carousel .carousel-photo{object-fit:cover!important;object-position:center!important;background:#0a3d60!important}
body.page-index .home-hero-carousel .carousel-photo-shade{background:linear-gradient(0deg,rgba(3,29,48,.42) 0%,rgba(3,29,48,.05) 35%,transparent 62%)!important}
body.page-index .home-hero-carousel .slide-message{bottom:24px!important;left:28px!important;width:min(620px,72%)!important}
body.page-index .home-hero-carousel .slide-message strong{font-size:clamp(1.35rem,2.3vw,2.6rem)!important}
body.page-index .home-hero-carousel .carousel-control{width:38px!important;height:38px!important}

/* Accès rapides et sections : présentation plus éditoriale, moins de gros cadres arrondis. */
body.page-index .home-after-hero-heading{margin-top:18px!important}
body.page-index .home-primary-actions{border-radius:0!important;border-width:1px 0!important;box-shadow:none!important;margin-bottom:42px!important}
body.page-index .home-primary-actions>a{min-height:92px!important}
body.page-index .home-mission-hero{
  border-radius:0!important;box-shadow:none!important;margin-top:18px!important;
  background:linear-gradient(100deg,#063c64 0%,#086684 100%)!important;
}
body.page-index .home-contact-band .home-intro-card{border-radius:4px!important;box-shadow:none!important}
body.page-index .home-confidence-strip{display:none!important} /* doublon des accès rapides */
body.page-index .home-activities-showcase,
body.page-index .president-home-feature,
body.page-index .public-leaders-section{
  border-radius:0!important;box-shadow:none!important;background:#fff!important;
  border-left:0!important;border-right:0!important;
}
body.page-index .home-activities-showcase{
  margin-top:34px!important;padding:38px 0!important;border-top:4px solid var(--fobak-gold)!important;border-bottom:1px solid var(--fobak-line)!important;
}
body.page-index .home-activities-showcase .home-activities-heading{padding-left:22px!important;padding-right:22px!important}
body.page-index .home-activities-grid{padding:0 22px!important}
body.page-index .home-institution-grid>.card,body.page-index .home-membership-grid>.card,body.page-index .grid.two>.card{border-radius:4px!important;box-shadow:none!important}

/* Les titres gardent la couleur institutionnelle, mais les fonds ne mangent plus l'écran. */
body.page-index .home-section-title-lockup .eyebrow{color:#08766f!important}
body.page-index .home-section-title-lockup h2{color:#0a3553!important}

@media(max-width:1180px) and (min-width:821px){
  :root{--v129611-shell:calc(100vw - 20px)}
  .public-nav-professional .public-nav-links>a,.public-nav-professional .public-nav-group>summary{padding-inline:7px!important;font-size:11.5px!important}
}
@media(max-width:820px){
  body.page-index .public-content>*{width:100%!important;max-width:none!important}
  body.page-index .home-hero-carousel{width:100%!important;margin:0!important;aspect-ratio:16/10!important;border-radius:0!important}
  body.page-index .home-hero-carousel .slides,body.page-index .home-hero-carousel .slide{border-radius:0!important}
  body.page-index .home-primary-actions{width:calc(100% - 20px)!important;margin-left:auto!important;margin-right:auto!important}
  body.page-index .home-mission-hero,body.page-index .home-contact-band,body.page-index .home-activities-showcase,
  body.page-index .president-home-feature,body.page-index .home-institution-grid,body.page-index .home-membership-grid,
  body.page-index .public-leaders-section,body.page-index .grid.two{width:calc(100% - 20px)!important}
  .public-nav-professional .public-submenu a.public-health-link{grid-template-columns:27px minmax(0,1fr)!important;min-height:44px!important;padding:7px 8px!important}
  .public-nav-professional .public-submenu a.public-health-link .submenu-icon{width:25px!important;height:25px!important;font-size:13px!important}
}
@media(max-width:520px){
  body.page-index .home-hero-carousel{aspect-ratio:4/3!important}
  body.page-index .home-hero-carousel .slide-message{left:16px!important;right:16px!important;width:auto!important;bottom:28px!important}
}


/* ===== FOBAK V129.6.11.1 — navigation mobile tactile fiable ===== */
@media(max-width:820px){
  /* La barre contenant le burger doit toujours rester au-dessus du fond et du tiroir. */
  body.public-layout .public-mobile-bar{z-index:2010!important;pointer-events:auto!important}
  body.public-layout #public-main-nav.public-nav-professional{
    top:62px!important;bottom:0!important;left:0!important;right:auto!important;
    height:calc(100dvh - 62px)!important;min-height:0!important;
    z-index:2000!important;transform:translateX(-104%)!important;
    visibility:visible!important;pointer-events:auto!important;touch-action:pan-y!important;
  }
  body.public-layout #public-main-nav.public-nav-professional.is-open,
  body.public-layout.public-menu-open #public-main-nav.public-nav-professional,
  body.public-layout.public-menu-open>#public-main-nav.public-nav-professional{
    transform:translateX(0)!important;
  }
  body.public-layout #public-menu-backdrop{
    top:62px!important;z-index:1990!important;pointer-events:none!important;
  }
  body.public-layout #public-menu-backdrop.is-open{pointer-events:auto!important}

  .public-nav-professional .public-nav-group>summary{
    cursor:pointer!important;touch-action:manipulation!important;user-select:none!important;
    -webkit-tap-highlight-color:rgba(8,112,151,.12)!important;pointer-events:auto!important;
  }
  .public-nav-professional .public-nav-group:not([open])>.public-submenu{display:none!important}
  .public-nav-professional .public-nav-group[open]>.public-submenu{display:grid!important}
  .public-nav-professional .public-submenu,
  .public-nav-professional .public-submenu>a,
  .public-nav-professional .public-nav-links>a,
  .public-nav-professional .public-nav-actions a,
  .public-nav-professional .language-switcher>summary{pointer-events:auto!important;touch-action:manipulation!important}

  /* Le menu est réellement utilisable au doigt : pas de dépendance au hover. */
  .public-nav-professional .public-nav-group:hover>.public-submenu{display:none}
  .public-nav-professional .public-nav-group[open]:hover>.public-submenu{display:grid!important}
}


/* ===== FOBAK V129.6.13 — navigation tactile explicite + accueil éditorial ===== */
:root{--v129613-shell:1360px;--v129613-olive:#8b982d;--v129613-deep:#0b3445}

/* Les groupes de navigation n'utilisent plus <details> : bouton explicite, plus fiable sur mobile/PWA. */
.public-nav-professional .public-nav-group{position:relative!important;display:block!important;height:var(--public-nav-h)!important}
.public-nav-professional .public-nav-trigger{
  appearance:none;-webkit-appearance:none;border:0;background:#fff;color:#254f68;font:inherit;
  min-height:var(--public-nav-h)!important;height:var(--public-nav-h)!important;padding:0 clamp(9px,.9vw,14px)!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;
  font-size:clamp(12px,.86vw,14px)!important;font-weight:800!important;white-space:nowrap!important;cursor:pointer!important;
  border-right:1px solid #eef2f5!important;border-radius:0!important;touch-action:manipulation!important;
}
.public-nav-professional .public-nav-trigger:hover,.public-nav-professional .public-nav-group.is-current>.public-nav-trigger,.public-nav-professional .public-nav-group.is-expanded>.public-nav-trigger{background:#f2f8fb!important;color:var(--public-blue)!important;box-shadow:inset 0 -3px 0 var(--public-cyan)!important}
.public-nav-professional .public-nav-group.is-expanded>.public-nav-trigger .public-nav-caret{transform:rotate(180deg)!important}
.public-nav-professional .public-nav-group:not(.is-expanded)>.public-submenu{display:none!important}
.public-nav-professional .public-nav-group.is-expanded>.public-submenu{display:grid!important}
@media(hover:hover) and (pointer:fine) and (min-width:821px){
 .public-nav-professional .public-nav-group:hover>.public-submenu,.public-nav-professional .public-nav-group:focus-within>.public-submenu{display:grid!important}
}

/* Le hero devient réellement bord à bord sous la navigation, comme une bannière institutionnelle moderne. */
body.page-index .public-content>.home-hero-carousel{
  width:calc(100% - 8px)!important;max-width:none!important;margin:0 4px!important;aspect-ratio:1600/540!important;max-height:560px!important;border-radius:0!important;
}
body.page-index .home-hero-carousel .carousel-photo{width:100%!important;height:100%!important;object-fit:cover!important}
body.page-index .home-hero-carousel .slide-message{left:clamp(24px,5vw,76px)!important;bottom:clamp(28px,5vw,64px)!important;width:min(720px,72%)!important}
body.page-index .home-hero-carousel .slide-message strong{font-size:clamp(1.75rem,3.4vw,3.7rem)!important;line-height:1!important}
body.page-index .home-hero-carousel .slide-kicker{font-size:.72rem!important;letter-spacing:.08em!important;text-transform:uppercase!important}

/* Domaines d'action : grille éditoriale à photos, inspirée de la hiérarchie observée mais 100% FOBAK. */
.home-programmes-editorial{width:min(1100px,calc(100% - 32px))!important;margin:54px auto 34px!important}
.home-programmes-heading{margin-bottom:28px!important}
.home-programmes-heading .eyebrow{display:block!important;color:#087b91!important;font-size:.75rem!important;font-weight:900!important;letter-spacing:.12em!important;text-transform:uppercase!important}
.home-programmes-heading h2{margin:4px 0 10px!important;color:#0b3f5c!important;font-size:clamp(2rem,3.4vw,3.1rem)!important;line-height:1!important;text-transform:uppercase!important;letter-spacing:-.025em!important}
.home-programmes-heading>i{display:block!important;height:1px!important;background:linear-gradient(90deg,var(--fobak-gold),#dce7eb)!important}
.home-programmes-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px 28px!important}
.home-programme-card{display:grid!important;grid-template-rows:220px auto!important;background:#fff!important;border:1px solid #dce5e9!important;border-top:11px solid #81912d!important;text-decoration:none!important;color:#183e50!important;box-shadow:0 8px 24px rgba(17,55,70,.06)!important;overflow:hidden!important;transition:transform .16s ease,box-shadow .16s ease!important}
.home-programme-card:hover{transform:translateY(-3px)!important;box-shadow:0 15px 34px rgba(17,55,70,.12)!important}
.home-programme-media{position:relative!important;overflow:hidden!important;background:#eef4f4!important}
.home-programme-media>img{width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .22s ease!important}
.home-programme-card:hover .home-programme-media>img{transform:scale(1.02)!important}
.home-programme-fallback{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(145deg,#eef6f7,#f8faf3);position:relative}
.home-programme-fallback img{width:94px;height:94px;object-fit:contain;opacity:.16}.home-programme-fallback span{position:absolute;font-size:52px}
.home-programme-copy{padding:18px 20px 22px!important;display:grid!important;grid-template-columns:auto 1fr!important;gap:6px 9px!important;align-items:center!important}
.home-programme-copy>span{font-size:19px!important}.home-programme-copy>strong{font-size:1.12rem!important;color:#173d38!important}.home-programme-copy>i{grid-column:1/-1;width:48px;height:4px;background:#8c9b30;margin:8px 0 3px}.home-programme-copy>small{grid-column:1/-1;color:#70818c;font-size:.82rem}

/* Président / fondateur : grand récit à gauche, portrait à droite, sans reproduire le graphisme source. */
body.page-index .founder-story-section{width:100%!important;max-width:none!important;margin:62px 0 46px!important;display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr)!important;min-height:560px!important;background-color:#f6f8f6!important;background-image:radial-gradient(circle at 12px 12px,rgba(14,92,100,.055) 1.2px,transparent 1.3px)!important;background-size:24px 24px!important;border:0!important;border-radius:0!important;overflow:hidden!important}
.founder-story-copy{padding:54px clamp(32px,6vw,96px)!important;align-self:center!important}
.founder-story-kicker{display:block;color:#7f932e;font-size:clamp(1.8rem,3vw,2.8rem);line-height:1;text-transform:uppercase;font-weight:950;letter-spacing:.015em}
.founder-story-copy h2{margin:12px 0 8px!important;color:#183e36!important;font-size:clamp(1.7rem,2.6vw,2.65rem)!important;line-height:1.06!important;text-transform:uppercase!important}
.founder-story-rule{height:1px;background:linear-gradient(90deg,#87982e 0 66%,transparent 66%);margin:14px 0 42px!important;max-width:620px}
.founder-story-copy h3{margin:0 0 18px!important;color:#183e36!important;font-size:clamp(1.35rem,2.2vw,2rem)!important;text-transform:uppercase!important}
.founder-story-copy p{max-width:720px;color:#50636c;font-size:1rem;line-height:1.72}.founder-story-copy .founder-story-lead{font-weight:750;color:#384f58}
.founder-story-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}
.founder-story-portrait{margin:0!important;position:relative!important;min-height:560px!important;overflow:hidden!important;align-self:stretch!important;background:linear-gradient(160deg,#eef1e8,#dfe8e5)!important}
.founder-story-portrait>img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important;display:block!important;filter:none!important}
.founder-story-portrait figcaption{position:absolute;left:22px;right:22px;bottom:20px;padding:12px 15px;background:rgba(9,46,59,.88);color:#fff;display:grid;gap:2px}.founder-story-portrait figcaption strong{font-size:1rem}.founder-story-portrait figcaption span{font-size:.78rem;opacity:.82}

/* Page biographie complète avec le même langage visuel. */
.founder-biography-page{max-width:1360px!important}.founder-biography-lead{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.82fr);min-height:620px;background-color:#f6f8f6;background-image:radial-gradient(circle at 12px 12px,rgba(14,92,100,.055) 1.2px,transparent 1.3px);background-size:24px 24px;overflow:hidden}
.founder-biography-copy{padding:58px clamp(34px,6vw,90px);align-self:center}.founder-biography-kicker{display:block;color:#7f932e;font-weight:950;font-size:clamp(1.65rem,3vw,2.7rem);text-transform:uppercase;line-height:1}.founder-biography-copy h1{margin:12px 0 7px;color:#183e36;font-size:clamp(2rem,3.5vw,3.7rem);line-height:1.02;text-transform:uppercase}.founder-biography-copy h2{margin:0 0 18px;color:#183e36;text-transform:uppercase}.founder-biography-copy p{color:#53656c;line-height:1.75}.founder-biography-portrait{margin:0;min-height:620px;display:flex;align-items:flex-end;justify-content:center;background:linear-gradient(160deg,#edf0e8,#e5eeeb);overflow:hidden}.founder-biography-portrait img{width:100%;height:100%;object-fit:contain;object-position:center bottom}

@media(max-width:1020px){.home-programmes-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.founder-story-section,.founder-biography-lead{grid-template-columns:1fr 42%!important}}
@media(max-width:820px){
 body.public-layout #public-main-nav.public-nav-professional{display:flex!important;visibility:visible!important;opacity:1!important;width:min(88vw,360px)!important;top:62px!important;height:calc(100dvh - 62px)!important;padding:10px 12px 24px!important;z-index:2200!important;transform:translateX(-104%)!important;overflow-y:auto!important;background:#fff!important}
 body.public-layout #public-main-nav.public-nav-professional.is-open{transform:translateX(0)!important}
 body.public-layout #public-menu-backdrop{z-index:2190!important;top:62px!important}
 body.public-layout .public-mobile-bar{z-index:2210!important}
 .public-nav-professional .public-nav-group{width:100%!important;height:auto!important;border-bottom:1px solid #e7eef2!important;padding:0!important}
 .public-nav-professional .public-nav-trigger{width:100%!important;height:auto!important;min-height:50px!important;border:0!important;border-radius:0!important;padding:12px 10px!important;font-size:14px!important;justify-content:flex-start!important;text-align:left!important;background:#fff!important}
 .public-nav-professional .public-nav-trigger .public-nav-caret{margin-left:auto!important}
 .public-nav-professional .public-nav-group:not(.is-expanded)>.public-submenu{display:none!important}
 .public-nav-professional .public-nav-group.is-expanded>.public-submenu{display:grid!important;position:static!important;width:100%!important;margin:0!important;padding:2px 0 8px 12px!important;border:0!important;border-left:2px solid #b8dce6!important;border-radius:0!important;box-shadow:none!important}
 .public-nav-professional .public-submenu>a{min-height:46px!important;padding:8px 9px!important;background:#fbfdfe!important}
 body.page-index .public-content>.home-hero-carousel{width:100%!important;margin:0!important;aspect-ratio:16/10!important;max-height:none!important}
 .home-programmes-editorial{width:calc(100% - 22px)!important;margin:34px auto 26px!important}.home-programmes-grid{grid-template-columns:1fr 1fr!important;gap:14px!important}.home-programme-card{grid-template-rows:150px auto!important;border-top-width:7px!important}.home-programme-copy{padding:13px 14px 16px!important}.home-programme-copy>strong{font-size:1rem!important}
 body.page-index .founder-story-section,.founder-biography-lead{grid-template-columns:1fr!important;min-height:0!important}.founder-story-copy,.founder-biography-copy{padding:34px 22px!important}.founder-story-portrait,.founder-biography-portrait{min-height:420px!important;height:52vh!important}.founder-story-portrait>img,.founder-biography-portrait img{object-fit:contain!important}
}
@media(max-width:520px){.home-programmes-grid{grid-template-columns:1fr!important}.home-programme-card{grid-template-rows:190px auto!important}.founder-story-kicker,.founder-biography-kicker{font-size:1.65rem}.founder-story-portrait,.founder-biography-portrait{height:420px!important;min-height:420px!important}}

/* V129.6.18 — domaines d'activités dans le menu Nos actions */
.public-submenu-domain-list{display:grid;grid-template-columns:1fr 1fr;gap:3px;padding:5px;margin:2px 0 5px;border-top:1px solid #e4edf2;border-bottom:1px solid #e4edf2;background:#f8fbfd;border-radius:8px}
.public-submenu-domain-list .public-submenu-domain-link{display:grid!important;grid-template-columns:25px minmax(0,1fr)!important;align-items:center!important;gap:7px!important;min-height:38px!important;padding:7px 8px!important;border-radius:7px!important;text-decoration:none!important;color:#28566e!important;background:#fff!important;border:1px solid #e7eff3!important}
.public-submenu-domain-list .public-submenu-domain-link:hover{background:#edf7fa!important;border-color:#c9e1e8!important}.public-submenu-domain-list .submenu-icon{display:grid;place-items:center}.public-submenu-domain-list .submenu-copy strong{font-size:.78rem!important}.public-submenu-domain-list .submenu-copy small{font-size:.64rem!important}
@media(max-width:820px){.public-submenu-domain-list{grid-template-columns:1fr;margin:3px 0 5px 3px;padding:4px}.public-submenu-domain-list .public-submenu-domain-link{min-height:42px!important}}

/* V129.6.18 — sous-menu Activités : les domaines restent masqués jusqu'au clic. */
.public-activities-domain-menu{display:block;width:100%;margin:0;padding:0;border:0}
.public-activities-domain-menu>summary{list-style:none;cursor:pointer;display:grid!important;grid-template-columns:34px minmax(0,1fr) 20px!important;align-items:center!important;gap:9px!important;min-height:52px!important;padding:10px 12px!important;color:inherit;background:#fff;border-radius:8px;user-select:none}
.public-activities-domain-menu>summary::-webkit-details-marker{display:none}
.public-activities-domain-menu>summary:hover{background:#f3f8fb!important}
.public-activities-domain-menu .submenu-nested-caret{font-size:1.25rem;font-weight:900;transition:transform .16s ease;justify-self:end}
.public-activities-domain-menu[open] .submenu-nested-caret{transform:rotate(90deg)}
.public-activities-domain-menu:not([open])>.public-submenu-domain-list{display:none!important}
.public-activities-domain-menu[open]>.public-submenu-domain-list{display:grid!important}
.public-submenu-domain-all{grid-column:1/-1}

/* ===== FOBAK V129.6.22.3 — responsables directement après le Président ===== */
body.page-index .founder-story-section + .home-leadership-after-president{
  margin-top:0!important;
  border-top:1px solid var(--fobak-line,#d7e4f1)!important;
}
body.page-index .home-leadership-after-president .section-heading{
  margin-bottom:18px!important;
}
body.page-index .home-leadership-after-president .public-leader-card{
  position:relative;
}
body.page-index .home-leadership-after-president .public-leader-body>strong{
  display:block;
  margin-top:3px;
  color:var(--fobak-primary,#0c679a);
}
body.page-index .home-leadership-after-president .leader-level{
  max-width:100%;
  white-space:normal;
  line-height:1.25;
}
@media(max-width:700px){
  body.page-index .home-leadership-after-president{padding-top:22px!important}
  body.page-index .home-leadership-after-president .section-heading p{margin-bottom:0}
}


/* --- governance-v129614.css --- */
/* FOBAK V129.6.14 — gouvernance et coordinations */
body.page-public-coordinations .public-content{max-width:none!important;width:100%!important;padding-inline:clamp(12px,4vw,70px)!important}.governance-hero{max-width:1240px;margin:24px auto 18px;padding:clamp(24px,5vw,52px);display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center;background:linear-gradient(120deg,#073d69,#086f9b 60%,#159fc3);color:#fff;border-radius:28px;overflow:hidden;position:relative}.governance-hero:after{content:"";position:absolute;width:360px;height:360px;border:1px solid #ffffff25;border-radius:50%;right:-140px;top:-170px}.governance-hero .eyebrow{color:#ffe36b}.governance-hero h1{font-size:clamp(2rem,4.7vw,4.1rem);line-height:1.02;max-width:900px;margin:.35rem 0 .8rem}.governance-hero p{max-width:820px;font-size:clamp(1rem,1.7vw,1.2rem);line-height:1.65;color:#eaf8ff}.governance-hero-mark{font-size:clamp(4rem,9vw,8rem);opacity:.24}.governance-flow{max-width:1240px;margin:0 auto 34px;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #d5e4ec;border-bottom:1px solid #d5e4ec}.governance-flow a{padding:18px 14px;text-decoration:none;color:#123b55;display:grid;grid-template-columns:auto 1fr;grid-template-areas:"icon strong" "icon small";column-gap:10px;border-right:1px solid #d5e4ec;transition:.18s ease}.governance-flow a:nth-child(4n){border-right:0}.governance-flow a:hover{background:#f1f9fd;transform:translateY(-2px)}.governance-flow span{grid-area:icon;font-size:22px}.governance-flow strong{grid-area:strong}.governance-flow small{grid-area:small;color:#718797;margin-top:3px;line-height:1.25}.governance-president{max-width:1240px;margin:0 auto 48px;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);min-height:540px;background:linear-gradient(135deg,#f8fbfc 0,#f4f7f7 60%,#e9f3f5 100%);position:relative;overflow:hidden;border-top:4px solid #d6ad16}.governance-president:before{content:"";position:absolute;inset:0;background-image:linear-gradient(30deg,#0b668806 12%,transparent 12.5%,transparent 87%,#0b668806 87.5%,#0b668806),linear-gradient(150deg,#0b668806 12%,transparent 12.5%,transparent 87%,#0b668806 87.5%,#0b668806);background-size:46px 80px;pointer-events:none}.governance-president-copy{padding:clamp(32px,6vw,78px);position:relative;z-index:1}.governance-kicker{font-weight:900;color:#0c7899;letter-spacing:.08em;text-transform:uppercase}.governance-president h2{font-size:clamp(2.3rem,5vw,4.6rem);line-height:1;margin:16px 0 8px;color:#88a022;text-transform:uppercase}.governance-president h3{font-size:clamp(1.5rem,3vw,2.55rem);line-height:1.12;margin:0;color:#123a39;text-transform:uppercase}.governance-rule{height:2px;width:min(520px,80%);background:#a9b93f;margin:12px 0 42px}.governance-president h4{font-size:1.45rem;color:#173f3e;margin:0 0 14px}.governance-president p{font-size:1.06rem;line-height:1.78;color:#53656c;max-width:680px;white-space:pre-line}.governance-president-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.governance-president-photo{position:relative;z-index:1;align-self:stretch;display:flex;align-items:flex-end;justify-content:center;min-height:520px}.governance-president-photo>img{width:100%;height:100%;max-height:620px;object-fit:contain;object-position:center bottom}.governance-president-photo>div:last-child{position:absolute;left:20px;right:20px;bottom:20px;padding:14px 18px;background:#073d69e8;color:#fff;border-left:5px solid #f2cb29}.governance-president-photo>div:last-child strong,.governance-president-photo>div:last-child span{display:block}.governance-president-photo>div:last-child span{font-size:.88rem;color:#cde8f3;margin-top:4px}.governance-photo-placeholder{margin:auto;width:240px;height:300px;border-radius:40px;display:grid;place-items:center;font-size:7rem;font-weight:900;color:#fff;background:linear-gradient(150deg,#095d88,#18a8bd)}.governance-section{max-width:1240px;margin:0 auto 48px}.governance-section-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;padding:0 0 18px;border-bottom:1px solid #cfdfe7;margin-bottom:26px}.governance-section-head h2{font-size:clamp(2rem,4vw,3.25rem);margin:4px 0;color:#0c5176}.governance-section-head p{margin:0;color:#667d8d}.governance-count{font-size:3.1rem;line-height:1;font-weight:900;color:#d5e8ef}.governance-tier-block{margin:28px 0 42px}.governance-tier-title{display:flex;gap:14px;align-items:center;margin-bottom:18px}.governance-tier-title>span{width:50px;height:50px;display:grid;place-items:center;border-radius:14px;background:#eaf6fb;font-size:24px}.governance-tier-title h3{margin:0;color:#123f5b}.governance-tier-title p{margin:3px 0 0;color:#718794}.governance-leader-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.governance-leader-card{background:#fff;border:1px solid #dbe6eb;min-width:0;transition:transform .18s ease,box-shadow .18s ease;overflow:hidden}.governance-leader-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px #0b4f7d12}.governance-leader-card.is-featured{border-top:4px solid #f0ca26}.governance-leader-media{height:290px;background:#edf4f6;position:relative;overflow:hidden;display:grid;place-items:center;color:#0a5d83;font-size:5rem;font-weight:900}.governance-leader-media img{width:100%;height:100%;object-fit:cover;object-position:center top}.governance-leader-media em{position:absolute;left:14px;bottom:14px;background:#073f65e9;color:#fff;padding:7px 11px;font-size:.73rem;font-style:normal;font-weight:900;text-transform:uppercase}.governance-leader-info{padding:20px}.governance-leader-info>small{color:#718698;font-weight:800}.governance-leader-info h3{font-size:1.35rem;line-height:1.12;margin:7px 0;color:#153b50}.governance-leader-info>strong{display:block;color:#0c7899;min-height:2.4em}.governance-leader-info p{color:#607480;line-height:1.55}.governance-leader-info>a{display:inline-flex;align-items:center;gap:8px;color:#075e8d;text-decoration:none;font-weight:900;border-bottom:2px solid #e3b917;padding-bottom:3px}.governance-mandate{font-size:.86rem;color:#6b7d86;margin:12px 0}.governance-province-list{display:grid;gap:14px}.governance-province{border:1px solid #d7e5eb;background:#fff}.governance-province>summary{display:grid;grid-template-columns:auto 1fr auto auto;gap:12px;align-items:center;padding:18px 20px;cursor:pointer;list-style:none}.governance-province>summary::-webkit-details-marker{display:none}.governance-province>summary small{color:#7b8e98}.governance-province[open]>summary{background:#f0f8fb;border-bottom:1px solid #d7e5eb}.governance-province>.governance-leader-grid{padding:22px}.governance-members{max-width:1240px;margin:0 auto 40px;padding:clamp(28px,5vw,56px);background:#083f62;color:#fff;display:grid;grid-template-columns:.78fr 1.22fr;gap:42px}.governance-members .eyebrow{color:#ffe36b}.governance-members h2{font-size:clamp(2rem,4vw,3.3rem);margin:8px 0 12px}.governance-members p{line-height:1.65;color:#d6e9f2}.governance-total{display:block;font-size:4.7rem;line-height:1;color:#f0cb27;margin-top:22px}.governance-members-data{display:grid;gap:26px}.governance-members-data h3{margin-top:0}.governance-role-cloud{display:flex;flex-wrap:wrap;gap:9px}.governance-role-cloud span{padding:8px 11px;background:#ffffff12;border:1px solid #ffffff24}.governance-role-cloud strong{color:#ffe36b}.governance-scope-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.governance-scope-list span{display:flex;justify-content:space-between;gap:10px;padding:9px 12px;background:#ffffff0c;border-bottom:1px solid #ffffff22}.governance-scope-list strong{color:#ffe36b}.governance-profile{max-width:1140px;margin:18px auto 42px;background:#fff;border-top:4px solid #d5b021}.governance-profile-head{display:grid;grid-template-columns:1fr minmax(300px,430px);min-height:460px;background:#f4f7f6}.governance-profile-copy{padding:clamp(30px,6vw,70px);align-self:center}.governance-profile-copy h1{font-size:clamp(2.2rem,5vw,4.2rem);line-height:1;margin:10px 0;color:#244b49}.governance-profile-role{font-size:1.4rem;color:#849d24;font-weight:900}.governance-profile-photo{display:grid;place-items:end center;overflow:hidden;background:linear-gradient(135deg,#eef4f3,#dde8e9);font-size:7rem;font-weight:900;color:#0b7898}.governance-profile-photo img{width:100%;height:100%;object-fit:contain;object-position:center bottom}.governance-profile-body{padding:clamp(26px,5vw,64px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.governance-profile-body .public-prose{margin:0}.governance-profile-mandate{display:inline-block;margin-top:14px;padding:7px 10px;background:#eaf4f5;color:#46666e}.governance-admin-president{display:grid;grid-template-columns:90px 1fr auto;gap:18px;align-items:center;border-left:5px solid #e4bd1f}.governance-admin-president img{width:78px;height:90px;object-fit:cover;object-position:center top}.governance-admin-president h2{margin:4px 0}.governance-admin-legend{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:18px}.governance-admin-legend>span{padding:10px;border:1px solid #d9e5eb;background:#f8fbfc}.governance-admin-legend b,.governance-admin-legend small{display:block}.leader-rank-badge{display:inline-grid;place-items:center;min-width:34px;height:30px;padding:0 8px;background:#0b678f;color:#fff;border-radius:999px;font-weight:900}@media(max-width:980px){.governance-flow{grid-template-columns:repeat(2,1fr)}.governance-president{grid-template-columns:1fr}.governance-leader-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.governance-members{grid-template-columns:1fr}.governance-profile-head{grid-template-columns:1fr}.governance-admin-legend{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){body.page-public-coordinations .public-content{padding-inline:10px!important}.governance-hero{border-radius:18px;padding:25px 20px;grid-template-columns:1fr}.governance-hero-mark{display:none}.governance-flow{grid-template-columns:1fr;margin-bottom:24px}.governance-flow a{border-right:0;border-bottom:1px solid #d5e4ec}.governance-president{min-height:0;margin-bottom:32px}.governance-president-copy{padding:28px 20px}.governance-president h2{font-size:2.45rem}.governance-leader-grid{grid-template-columns:1fr;gap:16px}.governance-leader-card{display:grid;grid-template-columns:110px 1fr}.governance-leader-media{height:100%;min-height:180px}.governance-leader-media em{display:none}.governance-leader-info{padding:16px}.governance-province>.governance-leader-grid{padding:12px}.governance-members{padding:28px 20px}.governance-scope-list{grid-template-columns:1fr}.governance-profile-body{grid-template-columns:1fr;padding:24px 18px}.governance-profile-copy{padding:28px 20px}.governance-admin-president{grid-template-columns:68px 1fr}.governance-admin-president>a{grid-column:1/-1}.governance-admin-legend{grid-template-columns:1fr 1fr}}


/* --- layout-v1296141.css --- */
/* FOBAK V129.6.14.1 — correction largeur, Présidence, gouvernance et navigation mobile */
:root{
  --fobak-public-gutter:clamp(12px,2.1vw,38px);
  --fobak-public-wide:100%;
  --fobak-content-line:#d9e5ea;
}

/* 1. Les vraies données occupent la largeur utile. Le site n'est plus enfermé dans 1180 px. */
body.public-layout:not(.page-login) .public-content{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-left:var(--fobak-public-gutter)!important;
  padding-right:var(--fobak-public-gutter)!important;
  box-sizing:border-box!important;
}
body.public-layout>.top-nav.public-nav.public-nav-professional{
  padding-left:var(--fobak-public-gutter)!important;
  padding-right:var(--fobak-public-gutter)!important;
}

/* Accueil : bannière bord à bord, puis contenu éditorial réellement large. */
body.page-index .public-content{padding-left:0!important;padding-right:0!important;overflow-x:clip!important}
body.page-index .public-content>.home-hero-carousel{
  width:100%!important;max-width:none!important;margin:0!important;border:0!important;
}
body.page-index .home-programmes-editorial,
body.page-index .home-after-hero-heading,
body.page-index .home-primary-actions,
body.page-index .home-mission-hero,
body.page-index .home-contact-band,
body.page-index .home-confidence-strip,
body.page-index .home-activities-showcase,
body.page-index .founder-story-section,
body.page-index .home-institution-grid,
body.page-index .home-membership-grid,
body.page-index .public-leaders-section,
body.page-index .public-content>.grid.two{
  width:calc(100% - (var(--fobak-public-gutter) * 2))!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}
body.page-index .home-programmes-editorial{margin-top:46px!important}
body.page-index .home-programmes-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:clamp(18px,2vw,34px)!important}
body.page-index .home-programme-card{grid-template-rows:clamp(220px,19vw,360px) auto!important}
body.page-index .home-programme-copy{padding:clamp(17px,1.8vw,28px)!important}

/* 2. Président/Fondateur sur l'accueil : grand modèle institutionnel de gauche à droite. */
body.page-index .founder-story-section{
  grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr)!important;
  min-height:clamp(620px,48vw,820px)!important;
  margin-top:64px!important;margin-bottom:52px!important;
  border-top:1px solid #dce5df!important;border-bottom:1px solid #dce5df!important;
  background-color:#f7f8f5!important;
}
body.page-index .founder-story-copy{
  padding:clamp(44px,5.6vw,96px)!important;
  max-width:none!important;
}
body.page-index .founder-story-copy p{max-width:900px!important;font-size:clamp(1rem,1.05vw,1.18rem)!important}
body.page-index .founder-story-portrait{
  min-height:100%!important;height:auto!important;background:#e9eeea!important;
}
body.page-index .founder-story-portrait>img{
  width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 18%!important;
}
body.page-index .founder-story-portrait figcaption{
  left:clamp(18px,2vw,34px)!important;right:clamp(18px,2vw,34px)!important;bottom:clamp(18px,2vw,32px)!important;
  padding:15px 18px!important;border-left:5px solid #e2bd21!important;background:rgba(6,48,66,.9)!important;
}

/* 3. Page biographie complète : plus de petite colonne perdue au milieu de l'écran. */
body.page-public-president-biography .public-content,
body.page-public-biography .public-content{
  width:100%!important;max-width:none!important;padding-left:var(--fobak-public-gutter)!important;padding-right:var(--fobak-public-gutter)!important;
}
body.page-public-president-biography .public-breadcrumb,
body.page-public-biography .public-breadcrumb{width:100%!important;max-width:none!important;margin:18px 0!important}
body.page-public-president-biography .founder-biography-page,
body.page-public-biography .founder-biography-page{
  width:100%!important;max-width:none!important;margin:0 0 48px!important;border-radius:0!important;border:0!important;box-shadow:none!important;
}
body.page-public-president-biography .founder-biography-lead,
body.page-public-biography .founder-biography-lead{
  width:100%!important;min-height:clamp(650px,47vw,860px)!important;
  grid-template-columns:minmax(0,1.12fr) minmax(420px,.88fr)!important;
  border-top:4px solid #9aa72f!important;border-bottom:1px solid #dce6df!important;
}
body.page-public-president-biography .founder-biography-copy,
body.page-public-biography .founder-biography-copy{padding:clamp(46px,6vw,110px)!important;max-width:none!important}
body.page-public-president-biography .founder-biography-copy p,
body.page-public-biography .founder-biography-copy p{max-width:960px!important;font-size:clamp(1rem,1.05vw,1.18rem)!important;line-height:1.78!important}
body.page-public-president-biography .founder-biography-portrait,
body.page-public-biography .founder-biography-portrait{min-height:100%!important;background:#e8eeea!important;align-items:stretch!important}
body.page-public-president-biography .founder-biography-portrait img,
body.page-public-biography .founder-biography-portrait img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 18%!important}
body.page-public-president-biography .president-biography-section-heading,
body.page-public-biography .president-biography-section-heading{padding:clamp(38px,4vw,70px) clamp(30px,5vw,90px) 18px!important;max-width:none!important}
body.page-public-president-biography .president-biography-sections,
body.page-public-biography .president-biography-sections{padding:clamp(22px,3vw,50px) clamp(30px,5vw,90px)!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(18px,2vw,30px)!important}
body.page-public-president-biography .president-biography-footer,
body.page-public-biography .president-biography-footer{padding:24px clamp(30px,5vw,90px)!important}

/* 4. Gouvernance/Coordinations : même logique de largeur et hiérarchie. */
body.page-public-coordinations .public-content{width:100%!important;max-width:none!important;padding-inline:var(--fobak-public-gutter)!important}
body.page-public-coordinations .governance-hero,
body.page-public-coordinations .governance-flow,
body.page-public-coordinations .governance-president,
body.page-public-coordinations .governance-section,
body.page-public-coordinations .governance-members{
  width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important;
}
body.page-public-coordinations .governance-president{
  grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr)!important;min-height:650px!important;
}
body.page-public-coordinations .governance-president-copy{padding:clamp(42px,5.5vw,100px)!important}
body.page-public-coordinations .governance-president p{max-width:900px!important;font-size:clamp(1rem,1.05vw,1.17rem)!important}
body.page-public-coordinations .governance-president-photo>img{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center 16%!important}
body.page-public-coordinations .governance-leader-grid{grid-template-columns:repeat(auto-fit,minmax(270px,1fr))!important;gap:clamp(18px,2vw,30px)!important}
body.page-public-coordinations .governance-leader-media{height:clamp(270px,22vw,390px)!important}

/* 5. Espace connecté : la zone de travail exploite toute la largeur restante. */
body.admin-layout .workspace,
body.admin-layout .workspace-content,
body.admin-layout .main-content{max-width:none!important;min-width:0!important;box-sizing:border-box!important}
body.admin-layout .workspace-content{width:100%!important;padding-left:clamp(14px,1.8vw,28px)!important;padding-right:clamp(14px,1.8vw,28px)!important}
body.admin-layout .workspace-content>.module-guide,
body.admin-layout .workspace-content>.dashboard-welcome,
body.admin-layout .workspace-content>.card,
body.admin-layout .workspace-content>.grid{max-width:none!important;width:100%!important;box-sizing:border-box!important}

/* 6. Navigation mobile stable : un vrai tiroir tactile, un seul chemin d'événement. */
@media(max-width:860px){
  body.public-layout.public-menu-open{overflow:hidden!important;touch-action:none!important}
  body.public-layout .public-mobile-bar{display:flex!important;z-index:5000!important;pointer-events:auto!important}
  body.public-layout #public-menu-backdrop{
    position:fixed!important;inset:62px 0 0 0!important;z-index:4980!important;background:rgba(4,29,45,.54)!important;
    opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:opacity .16s ease,visibility .16s ease!important;
  }
  body.public-layout #public-menu-backdrop.is-open{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
  body.public-layout #public-main-nav.public-nav-professional{
    position:fixed!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;
    top:62px!important;left:0!important;bottom:0!important;right:auto!important;width:min(90vw,390px)!important;height:auto!important;
    min-height:0!important;max-height:none!important;margin:0!important;padding:8px 12px 22px!important;background:#fff!important;
    z-index:4990!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;
    transform:translate3d(-105%,0,0)!important;transition:transform .18s ease!important;visibility:visible!important;opacity:1!important;
    pointer-events:auto!important;touch-action:pan-y!important;box-shadow:18px 0 42px rgba(3,34,52,.22)!important;
  }
  body.public-layout #public-main-nav.public-nav-professional.is-open{transform:translate3d(0,0,0)!important}
  body.public-layout #public-main-nav .public-nav-links{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;height:auto!important;overflow:visible!important;gap:0!important}
  body.public-layout #public-main-nav .public-nav-links>a,
  body.public-layout #public-main-nav .public-nav-group,
  body.public-layout #public-main-nav .public-nav-trigger{width:100%!important;max-width:none!important;box-sizing:border-box!important}
  body.public-layout #public-main-nav .public-nav-links>a,
  body.public-layout #public-main-nav .public-nav-trigger{
    min-height:52px!important;height:auto!important;padding:12px 11px!important;border:0!important;border-bottom:1px solid #e6edf1!important;
    border-radius:0!important;background:#fff!important;color:#17445f!important;font-size:14px!important;text-align:left!important;
  }
  body.public-layout #public-main-nav .public-nav-trigger{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
  body.public-layout #public-main-nav .public-nav-group{height:auto!important;min-height:0!important;position:relative!important}
  body.public-layout #public-main-nav .public-nav-group:not(.is-expanded)>.public-submenu{display:none!important}
  body.public-layout #public-main-nav .public-nav-group.is-expanded>.public-submenu{
    display:grid!important;position:static!important;inset:auto!important;width:100%!important;margin:0!important;padding:5px 0 8px 10px!important;
    border:0!important;border-left:3px solid #9fd0df!important;border-radius:0!important;box-shadow:none!important;background:#f8fbfc!important;
  }
  body.public-layout #public-main-nav .public-submenu>a{
    display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;
    min-height:48px!important;padding:9px 10px!important;border:0!important;border-bottom:1px solid #edf2f4!important;border-radius:0!important;background:transparent!important;
  }
  body.public-layout #public-main-nav .submenu-icon{width:30px!important;height:30px!important;display:grid!important;place-items:center!important}
  body.public-layout #public-main-nav .submenu-copy{text-align:left!important;min-width:0!important}
  body.public-layout #public-main-nav .submenu-copy strong,
  body.public-layout #public-main-nav .submenu-copy small{display:block!important;text-align:left!important}
  body.public-layout #public-main-nav .public-nav-actions{display:grid!important;width:100%!important;height:auto!important;gap:8px!important;margin-top:12px!important}
  body.public-layout #public-main-nav .public-login-link{width:100%!important;min-height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important}
  body.public-layout #public-main-nav .public-language-menu{width:100%!important}
  body.public-layout #public-main-nav .public-language-menu>summary{width:100%!important;min-height:48px!important;justify-content:space-between!important}
  body.public-layout #public-main-nav .public-language-menu .language-menu-options{position:static!important;width:100%!important;margin-top:5px!important;box-shadow:none!important}

  body.page-index .home-programmes-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.page-index .founder-story-section,
  body.page-public-president-biography .founder-biography-lead,
  body.page-public-biography .founder-biography-lead,
  body.page-public-coordinations .governance-president{grid-template-columns:1fr!important;min-height:0!important}
  body.page-index .founder-story-copy,
  body.page-public-president-biography .founder-biography-copy,
  body.page-public-biography .founder-biography-copy,
  body.page-public-coordinations .governance-president-copy{padding:32px 22px!important}
  body.page-index .founder-story-portrait,
  body.page-public-president-biography .founder-biography-portrait,
  body.page-public-biography .founder-biography-portrait,
  body.page-public-coordinations .governance-president-photo{min-height:0!important;height:auto!important;aspect-ratio:4/5!important}
  body.page-index .founder-story-portrait>img,
  body.page-public-president-biography .founder-biography-portrait img,
  body.page-public-biography .founder-biography-portrait img,
  body.page-public-coordinations .governance-president-photo>img{object-fit:cover!important;object-position:center 15%!important}
  body.page-public-president-biography .president-biography-sections,
  body.page-public-biography .president-biography-sections{grid-template-columns:1fr!important;padding:18px 0!important}
  body.page-public-president-biography .president-biography-section-heading,
  body.page-public-biography .president-biography-section-heading{padding:30px 0 12px!important}
  body.page-public-president-biography .president-biography-footer,
  body.page-public-biography .president-biography-footer{padding:18px 0!important}
}

@media(max-width:560px){
  :root{--fobak-public-gutter:10px}
  body.page-index .home-programmes-grid{grid-template-columns:1fr!important}
  body.page-index .home-programme-card{grid-template-rows:210px auto!important}
  body.page-index .founder-story-section{width:100%!important;margin-left:0!important;margin-right:0!important}
  body.page-index .founder-story-copy{padding:30px 18px!important}
  body.page-public-coordinations .governance-leader-card{grid-template-columns:105px minmax(0,1fr)!important}
  body.page-public-coordinations .governance-leader-media{height:100%!important;min-height:185px!important}
}

/* Les très grands écrans/zoom arrière ne doivent pas réduire les contenus à une petite île centrale. */
@media(min-width:1700px){
  body.page-index .home-programmes-grid{gap:36px!important}
  body.page-index .home-programme-copy>strong{font-size:1.25rem!important}
  body.page-public-coordinations .governance-flow{grid-template-columns:repeat(7,minmax(0,1fr))!important}
  body.page-public-coordinations .governance-flow a:nth-child(4n){border-right:1px solid #d5e4ec!important}
  body.page-public-coordinations .governance-flow a:last-child{border-right:0!important}
}


/* --- dashboard-v129615.css --- */
/* FOBAK V129.6.15 — audit de visibilité espace connecté + interactions éditoriales légères */

:root{
  --fobak-admin-navy:#073e6a;
  --fobak-admin-navy-dark:#052a49;
  --fobak-admin-cyan:#159ec4;
  --fobak-admin-text:#17364d;
  --fobak-admin-muted:#5f7486;
  --fobak-admin-line:#d6e4ee;
  --fobak-admin-ticker-safe:66px;
}

/* ===== 1. BARRE SUPÉRIEURE : contraste garanti ===== */
body.admin-layout .workspace-topbar{
  background:linear-gradient(118deg,#083e69 0%,#075985 52%,#128daa 100%)!important;
  color:#fff!important;
  border:0!important;
  border-bottom:3px solid rgba(255,211,45,.95)!important;
  box-shadow:0 12px 28px rgba(3,35,60,.22)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  isolation:isolate!important;
}
body.admin-layout .workspace-topbar::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,.035),transparent 36%,rgba(255,255,255,.05));
}
body.admin-layout .workspace-welcome{
  min-width:0!important;
  align-self:center!important;
}
body.admin-layout .workspace-welcome strong{
  color:#fff!important;
  opacity:1!important;
  text-shadow:0 1px 2px rgba(0,0,0,.22)!important;
  font-weight:900!important;
  line-height:1.22!important;
}
body.admin-layout .workspace-welcome small{
  color:#e9f7ff!important;
  opacity:1!important;
  font-weight:650!important;
  line-height:1.35!important;
  text-shadow:0 1px 1px rgba(0,0,0,.15)!important;
}

body.admin-layout .history-btn{
  min-height:42px!important;
  background:#fff!important;
  color:#084d77!important;
  border:1px solid rgba(255,255,255,.9)!important;
  box-shadow:0 6px 16px rgba(2,31,52,.16)!important;
  text-shadow:none!important;
  opacity:1!important;
}
body.admin-layout .history-btn.history-home{
  background:#0a81bf!important;
  color:#fff!important;
  border-color:#8ed9f5!important;
}
body.admin-layout .history-btn.history-top{
  background:#fff6cf!important;
  color:#5f4a00!important;
  border-color:#f2d65c!important;
}
body.admin-layout .history-btn:hover,
body.admin-layout .history-btn:focus-visible{
  background:#eaf8ff!important;
  color:#073e6a!important;
  border-color:#96d4ec!important;
  outline:3px solid rgba(255,220,72,.45)!important;
  outline-offset:2px!important;
}

/* La recherche doit rester blanche et lisible, y compris avec un thème personnalisé. */
body.admin-layout .global-search-form{
  min-width:0!important;
  background:#fff!important;
  border:2px solid rgba(255,255,255,.92)!important;
  box-shadow:0 7px 18px rgba(2,31,52,.18)!important;
}
body.admin-layout .global-search-form input{
  min-width:0!important;
  color:#17364d!important;
  background:#fff!important;
  caret-color:#087cb3!important;
  font-weight:650!important;
}
body.admin-layout .global-search-form input::placeholder{
  color:#64788b!important;
  opacity:1!important;
}
body.admin-layout .global-search-form button{
  min-width:50px!important;
  color:#fff!important;
  background:linear-gradient(135deg,#0b8bc1,#0870a8)!important;
  border:0!important;
}

/* Le composant réel de langue est un <details>, pas l'ancien .language-select. */
body.admin-layout .topbar-language-menu{
  position:relative!important;
  z-index:40!important;
  min-width:128px!important;
}
body.admin-layout .topbar-language-menu>summary{
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  padding:8px 12px!important;
  border:1px solid rgba(255,255,255,.92)!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#074b74!important;
  font-weight:900!important;
  cursor:pointer!important;
  box-shadow:0 6px 16px rgba(2,31,52,.16)!important;
  list-style:none!important;
}
body.admin-layout .topbar-language-menu>summary::-webkit-details-marker{display:none!important}
body.admin-layout .topbar-language-menu .language-menu-options{
  z-index:2100!important;
  min-width:220px!important;
}

body.admin-layout .top-actions{
  min-width:0!important;
  align-items:center!important;
}
body.admin-layout .top-actions>a,
body.admin-layout .top-actions>.topbar-action-button{
  color:#074b74!important;
  background:#fff!important;
  border:1px solid rgba(255,255,255,.92)!important;
  box-shadow:0 6px 16px rgba(2,31,52,.16)!important;
  opacity:1!important;
}
body.admin-layout .top-actions>a:hover,
body.admin-layout .top-actions>a:focus-visible,
body.admin-layout .top-actions>.topbar-action-button:hover,
body.admin-layout .top-actions>.topbar-action-button:focus-visible{
  color:#073e6a!important;
  background:#eaf8ff!important;
  border-color:#9ad8ee!important;
  outline:3px solid rgba(255,220,72,.42)!important;
}
body.admin-layout .top-actions sup{
  background:#d91e37!important;
  color:#fff!important;
  border:2px solid #fff!important;
  opacity:1!important;
}
body.admin-layout .top-date{
  color:#fff!important;
  border-left:1px solid rgba(255,255,255,.38)!important;
  padding-left:10px!important;
  opacity:1!important;
}
body.admin-layout .top-date span,
body.admin-layout .top-date strong{
  color:#fff!important;
  opacity:1!important;
  text-shadow:0 1px 1px rgba(0,0,0,.18)!important;
}

/* ===== 2. MENU LATÉRAL : tout doit rester atteignable ===== */
body.admin-layout .side-dashboard{
  display:flex!important;
  flex-direction:column!important;
  min-height:100dvh!important;
  height:100dvh!important;
  overflow:hidden!important;
}
body.admin-layout .side-top,
body.admin-layout .side-menu-search,
body.admin-layout .sidebar-language-menu,
body.admin-layout .side-account-footer{
  flex:0 0 auto!important;
}
body.admin-layout .side-menu{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  scrollbar-width:thin!important;
  scrollbar-color:#59b8da rgba(255,255,255,.10)!important;
  padding-bottom:18px!important;
}
body.admin-layout .side-menu::-webkit-scrollbar{width:7px!important}
body.admin-layout .side-menu::-webkit-scrollbar-thumb{background:#59b8da!important;border-radius:99px!important}
body.admin-layout .side-menu a,
body.admin-layout .side-menu summary{
  color:#fff!important;
  opacity:1!important;
}
body.admin-layout .side-menu a small,
body.admin-layout .side-menu summary small{
  color:#d9edf8!important;
  opacity:1!important;
}
body.admin-layout .side-menu-search{
  border:1px solid rgba(255,255,255,.22)!important;
  background:rgba(255,255,255,.09)!important;
}
body.admin-layout .side-menu-search input{
  color:#fff!important;
  background:transparent!important;
}
body.admin-layout .side-menu-search input::placeholder{color:#d5e8f4!important;opacity:1!important}
body.admin-layout .sidebar-language-menu>summary{
  color:#fff!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.18)!important;
}
body.admin-layout .sidebar-language-menu>summary strong{color:#ffe36a!important}
body.admin-layout .side-user{min-width:0!important}
body.admin-layout .side-user>div:last-child{min-width:0!important}
body.admin-layout .side-user strong{
  display:block!important;
  max-width:none!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
  color:#fff!important;
}
body.admin-layout .side-user small{color:#dcecf5!important;opacity:1!important}

/* ===== 3. GUIDE, BIENVENUE, KPI ET PANNEAUX ===== */
body.admin-layout .module-guide{
  position:relative!important;
  z-index:1!important;
  grid-template-columns:58px minmax(0,1fr) minmax(220px,auto)!important;
  border:1px solid #b8d8ea!important;
  border-left:6px solid #0878b6!important;
  background:linear-gradient(120deg,#f4fbff 0%,#fffef4 100%)!important;
  box-shadow:0 9px 24px rgba(5,54,91,.08)!important;
  overflow:visible!important;
}
body.admin-layout .module-guide h2{color:#0b3f66!important;font-weight:900!important}
body.admin-layout .module-guide p{color:#526a7c!important;opacity:1!important}
body.admin-layout .module-guide li{color:#0c4b74!important;opacity:1!important}
body.admin-layout .module-guide-help-link{
  display:inline-flex!important;
  align-items:center!important;
  width:max-content!important;
  max-width:100%!important;
  min-height:38px!important;
  padding:8px 12px!important;
  border:1px solid #bdd9e9!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#075b87!important;
  font-weight:900!important;
  text-decoration:none!important;
}

body.admin-layout .dashboard-welcome{
  color:#fff!important;
  background:linear-gradient(118deg,#075b91 0%,#0a6d9e 60%,#139ba9 100%)!important;
  border:0!important;
  border-bottom:3px solid #f0cc32!important;
  box-shadow:0 16px 36px rgba(4,55,87,.16)!important;
}
body.admin-layout .dashboard-welcome .eyebrow,
body.admin-layout .dashboard-welcome h1,
body.admin-layout .dashboard-welcome p,
body.admin-layout .dashboard-welcome .welcome-meta span{
  color:#fff!important;
  opacity:1!important;
}
body.admin-layout .dashboard-welcome p{max-width:840px!important;line-height:1.6!important}
body.admin-layout .dashboard-welcome .welcome-meta span{
  background:rgba(255,255,255,.12)!important;
  border:1px solid rgba(255,255,255,.22)!important;
}
body.admin-layout .dashboard-welcome .btn{
  background:#fff!important;
  color:#074b74!important;
  border:1px solid #fff!important;
  box-shadow:0 6px 16px rgba(2,31,52,.16)!important;
}
body.admin-layout .dashboard-seal{
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.16)!important;
}

body.admin-layout .dashboard-section-head h2,
body.admin-layout .panel-head h3,
body.admin-layout .kpi-card strong{
  color:#0a466f!important;
  opacity:1!important;
}
body.admin-layout .dashboard-section-head small,
body.admin-layout .kpi-card span,
body.admin-layout .dash-list small{
  color:#61778a!important;
  opacity:1!important;
}
body.admin-layout .kpi-card,
body.admin-layout .panel-card,
body.admin-layout .dashboard-chat-widget{
  background:#fff!important;
  border-color:#d5e4ee!important;
}
body.admin-layout .kpi-card:hover,
body.admin-layout .panel-card:hover{
  border-color:#9bcadd!important;
}

/* ===== 4. BANDE PASSANTE : jamais au-dessus d'un élément essentiel ===== */
body.admin-layout:not(.ticker-is-hidden){padding-bottom:var(--fobak-admin-ticker-safe)!important}
body.admin-layout:not(.ticker-is-hidden) .workspace-content{
  padding-bottom:calc(var(--fobak-admin-ticker-safe) + 22px)!important;
}
body.admin-layout:not(.ticker-is-hidden) .fobak-unified-footer{
  padding-bottom:calc(var(--fobak-admin-ticker-safe) + 20px)!important;
}
body.admin-layout .communique-ticker.enhanced-ticker{
  z-index:1880!important;
}
body.admin-layout .floating-help{
  bottom:calc(var(--v125-ticker-h,52px) + 18px)!important;
  z-index:1870!important;
}
body.admin-layout.ticker-is-hidden .floating-help{bottom:18px!important}

/* ===== 5. ACTIVITÉS & PROGRAMMES : zoom éditorial esthétique, mais léger ===== */
body.public-layout .home-programme-card,
body.public-layout .home-news-card,
body.public-layout .public-list-card .activity-card{
  position:relative!important;
  isolation:isolate!important;
  transform:translateZ(0);
  backface-visibility:hidden;
  transition:transform .28s cubic-bezier(.2,.72,.25,1),box-shadow .28s ease,border-color .28s ease!important;
}
body.public-layout .home-programme-media,
body.public-layout .home-news-media,
body.public-layout .public-list-card .activity-card{
  overflow:hidden!important;
}
body.public-layout .home-programme-media::after,
body.public-layout .home-news-media::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  opacity:0;
  background:linear-gradient(125deg,rgba(255,255,255,.18),transparent 34%,rgba(7,78,111,.14));
  transition:opacity .28s ease;
}
body.public-layout .home-programme-media>img,
body.public-layout .home-news-media>img,
body.public-layout .public-list-card .activity-card>img{
  transform:scale(1);
  transform-origin:center center;
  transition:transform .42s cubic-bezier(.2,.72,.25,1),filter .32s ease!important;
  will-change:auto!important;
}
body.public-layout .home-programme-copy,
body.public-layout .home-news-body{
  position:relative!important;
  z-index:3!important;
  transition:transform .28s ease!important;
}

@media (hover:hover) and (pointer:fine){
  body.public-layout .home-programme-card:hover,
  body.public-layout .home-programme-card:focus-visible,
  body.public-layout .home-news-card:hover,
  body.public-layout .home-news-card:focus-within,
  body.public-layout .public-list-card .activity-card:hover,
  body.public-layout .public-list-card .activity-card:focus-within{
    transform:translateY(-7px) scale(1.012)!important;
    box-shadow:0 22px 48px rgba(5,54,83,.17)!important;
    border-color:#8fc3d5!important;
  }
  body.public-layout .home-programme-card:hover .home-programme-media>img,
  body.public-layout .home-programme-card:focus-visible .home-programme-media>img,
  body.public-layout .home-news-card:hover .home-news-media>img,
  body.public-layout .home-news-card:focus-within .home-news-media>img,
  body.public-layout .public-list-card .activity-card:hover>img,
  body.public-layout .public-list-card .activity-card:focus-within>img{
    transform:scale(1.065)!important;
    filter:saturate(1.04) contrast(1.025)!important;
  }
  body.public-layout .home-programme-card:hover .home-programme-media::after,
  body.public-layout .home-programme-card:focus-visible .home-programme-media::after,
  body.public-layout .home-news-card:hover .home-news-media::before,
  body.public-layout .home-news-card:focus-within .home-news-media::before{
    opacity:1!important;
  }
  body.public-layout .home-programme-card:hover .home-programme-copy,
  body.public-layout .home-news-card:hover .home-news-body{
    transform:translateY(-2px)!important;
  }
}

/* Sur tactile : retour visuel bref au toucher, sans hover bloqué. */
@media (hover:none), (pointer:coarse){
  body.public-layout .home-programme-card:active,
  body.public-layout .home-news-card:active,
  body.public-layout .public-list-card .activity-card:active{
    transform:scale(.992)!important;
  }
}

/* ===== 6. RESPONSIVE : ne plus sacrifier la visibilité ===== */
@media(max-width:1180px){
  body.admin-layout .workspace-topbar:not(.is-compact){
    row-gap:10px!important;
  }
  body.admin-layout .module-guide{
    grid-template-columns:52px minmax(0,1fr)!important;
  }
  body.admin-layout .module-guide ul{
    grid-column:2!important;
    min-width:0!important;
  }
  body.admin-layout .module-guide-help-link{
    grid-column:2!important;
  }
}

@media(max-width:780px){
  :root{--fobak-admin-ticker-safe:72px}
  body.admin-layout .workspace-topbar{
    background:linear-gradient(145deg,#073e6a,#08749d)!important;
    border-radius:0 0 16px 16px!important;
  }
  body.admin-layout .workspace-welcome strong{
    font-size:18px!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  body.admin-layout .workspace-welcome small{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  body.admin-layout .global-search-form{
    width:100%!important;
  }
  body.admin-layout .topbar-language-menu{
    width:100%!important;
  }
  body.admin-layout .topbar-language-menu>summary{
    width:100%!important;
    justify-content:space-between!important;
  }
  body.admin-layout .module-guide{
    grid-template-columns:46px minmax(0,1fr)!important;
    gap:12px!important;
    padding:15px!important;
  }
  body.admin-layout .module-guide-icon{
    width:44px!important;height:44px!important;font-size:22px!important;
  }
  body.admin-layout .module-guide ul,
  body.admin-layout .module-guide-help-link{
    grid-column:1/-1!important;
  }
  body.admin-layout .module-guide ul{
    display:grid!important;
    gap:5px!important;
  }
  body.admin-layout .side-account-footer{
    padding-bottom:max(12px,env(safe-area-inset-bottom))!important;
  }
}

@media(max-width:520px){
  body.admin-layout .history-controls{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    width:100%!important;
  }
  body.admin-layout .history-btn{
    width:100%!important;
    min-width:0!important;
  }
  body.admin-layout .top-actions{
    width:100%!important;
  }
  body.admin-layout .dashboard-welcome{
    border-radius:18px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  body.public-layout .home-programme-card,
  body.public-layout .home-news-card,
  body.public-layout .public-list-card .activity-card,
  body.public-layout .home-programme-media>img,
  body.public-layout .home-news-media>img,
  body.public-layout .public-list-card .activity-card>img,
  body.public-layout .home-programme-copy,
  body.public-layout .home-news-body{
    transition:none!important;
    transform:none!important;
  }
}

@media print{
  body.admin-layout .workspace-topbar,
  body.admin-layout .floating-help{display:none!important}
}


/* --- appearance-v129620.css --- */
/* V129.6.20 — moteur d'apparence FOBAK piloté depuis l'application. */
body{background:var(--bg)!important;color:var(--ink)}
.site-header.public-header{background:var(--header-gradient)!important}
.side-dashboard{background:var(--sidebar-gradient)!important}
.app-footer.dashboard-style-footer,.fobak-unified-footer{background:var(--footer-gradient)!important}
.card,.panel-card,.kpi-card,.admin-shortcut,.dashboard-welcome{background-color:var(--surface)}
.page-heading{border-left-color:var(--page-custom-accent,var(--fobak-secondary,var(--fobak-cyan)))!important;background:linear-gradient(135deg,var(--page-custom-surface,var(--surface)),var(--surface-soft))!important}
.page-heading h1,.dashboard-welcome h1{color:var(--page-custom-title,var(--fobak-blue))!important}
.eyebrow,.panel-head a,.section-title,.form-title{color:var(--page-custom-accent,var(--fobak-blue))!important}
.btn.primary{background:var(--fobak-yellow)!important}
.tabs a.active,.global-search-form button{background:linear-gradient(135deg,var(--fobak-blue),var(--fobak-cyan))!important}
.logout-btn{color:var(--fobak-red)!important}
.badge.active{color:var(--fobak-green)!important}
.page-custom-logo{width:72px;height:72px;object-fit:contain;border-radius:18px;background:#fff;padding:6px;border:1px solid var(--line);box-shadow:0 10px 25px rgba(0,0,0,.08);margin-left:auto;flex:0 0 auto}
.dashboard-welcome .page-custom-logo{width:92px;height:92px;border-radius:50%}
.appearance-studio-hero{display:flex;align-items:center;justify-content:space-between;gap:22px}
.appearance-studio-hero .appearance-symbol{width:88px;height:88px;border-radius:24px;background:linear-gradient(135deg,var(--fobak-blue),var(--fobak-cyan));display:grid;place-items:center;color:#fff;font-size:42px;box-shadow:0 16px 34px color-mix(in srgb,var(--fobak-blue) 28%,transparent)}
.appearance-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}
.appearance-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(330px,.7fr);gap:20px;align-items:start}
.appearance-section{border:1px solid var(--line);border-radius:22px;padding:20px;background:var(--surface);margin-bottom:18px}
.appearance-section h2{margin:0 0 5px}.appearance-section>p{margin:0 0 16px;color:var(--muted)}
.appearance-color-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.appearance-color-field{display:grid;grid-template-columns:48px 1fr;gap:10px;align-items:center;border:1px solid var(--line);border-radius:15px;padding:10px;background:var(--surface-soft)}
.appearance-color-field input[type=color]{width:48px;height:46px;padding:2px;border:0;background:transparent;cursor:pointer}.appearance-color-field strong,.appearance-color-field small{display:block}.appearance-color-field small{color:var(--muted);margin-top:2px}
.appearance-radius-field{display:grid;gap:8px}.appearance-radius-field input[type=range]{width:100%}
.appearance-preview{position:sticky;top:94px;overflow:hidden;padding:0!important}.appearance-preview-head{padding:18px;background:var(--header-gradient);color:#fff}.appearance-preview-shell{display:grid;grid-template-columns:92px 1fr;min-height:390px}.appearance-preview-side{background:var(--sidebar-gradient);padding:14px 8px}.appearance-preview-side div{height:30px;border-radius:9px;background:rgba(255,255,255,.12);margin:9px 0}.appearance-preview-main{padding:18px;background:var(--bg)}.appearance-preview-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);padding:16px;margin-bottom:12px}.appearance-preview-title{height:13px;width:64%;border-radius:20px;background:var(--fobak-blue);margin-bottom:11px}.appearance-preview-text{height:8px;width:90%;border-radius:20px;background:var(--line);margin:7px 0}.appearance-preview-button{display:inline-block;margin-top:10px;padding:9px 16px;border-radius:var(--radius-sm);background:var(--fobak-yellow);font-weight:800;color:#172033}.appearance-preview-footer{height:64px;background:var(--footer-gradient);border-top:4px solid var(--fobak-yellow)}
.logo-slot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.logo-slot-card{border:1px solid var(--line);border-radius:17px;padding:14px;background:var(--surface-soft)}.logo-slot-preview{height:92px;border:1px dashed var(--line);border-radius:14px;background:#fff;display:grid;place-items:center;margin:10px 0}.logo-slot-preview img{max-width:88%;max-height:78px;object-fit:contain}.logo-slot-card input[type=file]{width:100%}.logo-slot-actions{display:flex;justify-content:flex-end;margin-top:8px}
.appearance-safety{border-left:5px solid var(--fobak-yellow);background:#fffbe8;padding:13px 15px;border-radius:12px;color:#5c4a00}
.interface-studio-card{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.15fr);gap:20px}
.interface-preview-chip{display:flex;align-items:center;gap:10px;padding:12px;border-radius:15px;background:var(--surface-soft);border:1px solid var(--line)}
.interface-preview-chip .dot{width:30px;height:30px;border-radius:9px;background:var(--page-custom-accent,var(--fobak-blue));margin:0}
@media(max-width:980px){.appearance-layout{grid-template-columns:1fr}.appearance-preview{position:relative;top:auto}.appearance-color-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.logo-slot-grid{grid-template-columns:1fr}.interface-studio-card{grid-template-columns:1fr}}
@media(max-width:620px){.appearance-color-grid{grid-template-columns:1fr}.appearance-studio-hero{align-items:flex-start}.appearance-studio-hero .appearance-symbol{width:64px;height:64px;font-size:30px}.appearance-preview-shell{grid-template-columns:72px 1fr}}
@media print{.page-custom-logo{display:none!important}}
/* Extension de la palette aux composants historiques encore présents. */
.top-nav a,.workspace-topbar strong,.top-date strong,.list-item strong,.panel-head a,th,.side-logo,.footer-logo,.section-line{color:var(--fobak-blue)!important}
.global-search-form button,.kpi-icon.blue,.admin-shortcut.primary{background:linear-gradient(135deg,var(--fobak-blue),var(--fobak-cyan))!important}
.kpi-icon.yellow,.enhanced-ticker{background:var(--fobak-yellow)!important}
.kpi-icon.red{background:var(--fobak-red)!important}.kpi-icon.green{background:var(--fobak-green)!important}
.form input:focus,.form select:focus,.form textarea:focus,.filters input:focus,.filters select:focus{border-color:var(--fobak-cyan)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--fobak-cyan) 16%,transparent)!important}
.dashboard-welcome{background:linear-gradient(135deg,var(--page-custom-surface,var(--surface)),var(--surface-soft))!important}
.admin-shortcut.primary small{color:rgba(255,255,255,.84)!important}
.loader-logo-ring{background:conic-gradient(var(--fobak-blue),var(--fobak-cyan),var(--fobak-yellow),var(--fobak-red),var(--fobak-blue))!important}
.fobak-footer-copyright{border-color:color-mix(in srgb,var(--fobak-yellow) 55%,transparent)}
.public-nav .active,.public-nav a:hover,.public-nav-trigger:hover{color:var(--fobak-blue)}
.health-brand-logo{background:#fff!important;overflow:hidden}.health-brand-logo img{width:100%;height:100%;object-fit:contain;padding:4px}.health-sidebar{background:var(--sidebar-gradient)!important}.health-top-kicker,.health-panel-head>span{color:var(--h-primary)!important}


/* --- v129621-enhancements.css --- */
/* FOBAK V129.6.21 — activités, rôles, lecture protégée, biographie, PWA */
.activity-filter-group{margin:20px 0}.activity-filter-group .section-title-row{margin-bottom:10px}.activity-type-nav{margin-top:0}
.home-activity-types{margin-top:22px}.home-types-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.home-programmes-heading>div p{margin:5px 0 0;color:var(--muted);max-width:720px}
.activity-catalog-admin .grid.two{align-items:start}.catalog-add-form{padding:14px;background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius-sm);margin-bottom:14px}.catalog-list{display:grid;gap:8px}.catalog-row{display:grid;grid-template-columns:60px minmax(150px,1.35fr) minmax(110px,.9fr) minmax(100px,.8fr) 78px auto auto;gap:7px;align-items:center;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.catalog-row.domain-row{grid-template-columns:55px minmax(150px,1.1fr) minmax(150px,1fr) 105px 72px auto auto}.catalog-row input,.catalog-row select{min-width:0;margin:0;padding:8px 9px}.catalog-row .btn{white-space:nowrap}
.role-admin-top{align-items:start}.role-registry-list{display:grid;gap:8px;max-height:430px;overflow:auto}.role-registry-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}.role-registry-item div{display:grid;gap:2px}.role-registry-item small{color:var(--muted)}.role-registry-item.is-disabled{opacity:.68}.role-search-box input{min-width:min(320px,80vw)}.permission-role>summary{display:flex;align-items:center;justify-content:space-between;gap:12px}.permission-role>summary>span:first-child{display:grid}.permission-summary-meta{font-size:.78rem;color:var(--muted);font-weight:600}.role-permission-body{padding-top:12px}.role-identity-grid{display:flex;align-items:end;justify-content:space-between;gap:12px}.role-identity-grid>label{min-width:min(460px,100%)}.role-inline-actions{display:flex;gap:7px}.permission-table-wrap{max-height:66vh}.permission-matrix thead{position:sticky;top:0;z-index:2}.permission-matrix td:first-child,.permission-matrix th:first-child{position:sticky;left:0;background:var(--surface);z-index:1;min-width:210px}.permission-matrix thead th:first-child{z-index:3}.permission-matrix td:first-child small{display:block;color:var(--muted);font-size:.7rem}.role-maintenance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:10px}.role-maintenance-grid article{display:grid;grid-template-columns:minmax(140px,1fr) auto minmax(250px,auto);align-items:center;gap:8px;border:1px solid var(--line);border-radius:12px;padding:10px}.role-maintenance-grid article>div{display:grid}.role-maintenance-grid form{display:flex;gap:6px;align-items:center;margin:0}.role-maintenance-grid select{min-width:150px}
.statute-protection-notice{display:flex;gap:14px;align-items:flex-start;padding:15px 18px;margin:16px 0;border:1px solid color-mix(in srgb,var(--blue) 30%,var(--line));background:color-mix(in srgb,var(--blue) 7%,var(--surface));border-radius:var(--radius-sm)}.statute-protection-notice>span{font-size:1.6rem}.statute-protection-notice p{margin:3px 0 0;color:var(--muted)}.statute-readonly-protected{-webkit-user-select:none;user-select:none}.statute-readonly-protected .statute-section{position:relative;overflow:hidden}.statute-readonly-protected .statute-section:after{content:'FOBAK • LECTURE SEULE';position:absolute;right:12px;bottom:6px;font-size:.62rem;letter-spacing:.1em;color:color-mix(in srgb,var(--blue) 28%,transparent);pointer-events:none}.statute-security-settings{border-top:4px solid var(--blue)}
/* Titres biographiques uniformes et bleu institutionnel propre */
.founder-biography-page h1,.founder-biography-page h2,.president-biography-section h2,.governance-profile h1,.governance-profile h2,.governance-leader-card h3{color:var(--fobak-blue)!important}.founder-biography-copy h1{font-weight:850;letter-spacing:-.025em}.founder-biography-copy h2,.president-biography-section-heading h2,.governance-profile-body h2{font-weight:800}
.important-content-editor textarea{min-height:82px}
@media(max-width:900px){.catalog-row,.catalog-row.domain-row{grid-template-columns:48px 1fr 1fr}.catalog-row>*:nth-child(n+4){grid-column:auto}.role-maintenance-grid article{grid-template-columns:1fr}.role-maintenance-grid form{flex-wrap:wrap}.permission-summary-meta{display:none}.role-identity-grid{display:grid}.permission-table-wrap{max-height:none}}
@media print{.statute-protection-notice{display:none!important}.statute-readonly-protected{display:none!important}}

/* V129.6.21 final — adhésions, ateliers, rôles propres et PWA */
.activity-registration-cta{margin:24px 0;padding:22px;border:1px solid color-mix(in srgb,var(--fobak-blue) 28%,#fff);border-radius:var(--radius-md);background:linear-gradient(135deg,color-mix(in srgb,var(--fobak-blue) 8%,#fff),#fff);display:flex;align-items:center;justify-content:space-between;gap:20px}.activity-registration-cta h2{color:var(--fobak-blue);margin:.25rem 0}.activity-registration-cta p{margin:.25rem 0;color:var(--muted)}
.activity-workshop-note{margin:22px 0;padding:16px 18px;border-radius:var(--radius-sm);background:var(--surface-soft);display:flex;gap:14px;align-items:flex-start}.activity-workshop-note>span{font-size:1.8rem}.activity-workshop-note p{margin:.2rem 0 0;color:var(--muted)}
.role-search-box{display:grid;gap:8px;min-width:min(100%,320px)}.role-search-box input{width:100%}.permission-group-title th{position:sticky;left:0;text-align:left;background:color-mix(in srgb,var(--fobak-blue) 8%,#fff);color:var(--fobak-blue);font-size:.92rem;letter-spacing:.01em;border-top:2px solid color-mix(in srgb,var(--fobak-blue) 18%,#fff)}.permission-group-title small{font-weight:500;color:var(--muted);margin-left:8px}.permission-module-group.is-filtered-empty{display:none}.permission-module-row[hidden]{display:none}.permission-module-row td:first-child small{display:block;color:var(--muted);font-size:.72rem}.permission-table-wrap{max-height:64vh;overflow:auto}.permission-matrix thead th{position:sticky;top:0;z-index:4;background:var(--surface)}
.pwa-identity-preview{display:flex;align-items:center;gap:16px;margin-top:16px;padding:14px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-soft)}.pwa-identity-preview img{width:72px;height:72px;border-radius:18px;object-fit:cover;box-shadow:0 8px 22px rgba(0,0,0,.12)}.pwa-identity-preview strong,.pwa-identity-preview small{display:block}.pwa-identity-preview small{color:var(--muted);margin-top:4px}
@media(max-width:760px){.activity-registration-cta{align-items:flex-start;flex-direction:column}.activity-registration-cta .actions-row{width:100%;display:grid}.role-search-box{width:100%;min-width:0}.permission-table-wrap{max-height:70vh}}


/* V129.6.21.2 — titres des fonctions dirigeantes en bleu clair modifiable via la couleur secondaire */
body.page-index .founder-story-kicker,
body.page-public-president-biography .founder-biography-kicker,
body.page-public-biography .founder-biography-kicker,
body.page-public-coordinations .governance-president h2,
.governance-leader-card .governance-leader-info>strong,
.governance-profile-role,
body.page-index .founder-story-portrait figcaption span{
  color:var(--fobak-cyan,#2aaee8)!important;
}


/* --- v1296221-coordination-statutaire.css --- */
/* FOBAK V129.6.22.1 — organigramme statutaire complet */
.statutory-hero{margin-bottom:18px!important}.statutory-flow{max-width:1240px;margin:0 auto 34px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid #d5e4ec;background:#fff}.statutory-flow a{padding:15px 10px;text-decoration:none;color:#123b55;border-right:1px solid #d5e4ec;display:flex;flex-direction:column;gap:5px;min-width:0}.statutory-flow a:last-child{border-right:0}.statutory-flow a span{font-size:.75rem;font-weight:900;color:#1186b8}.statutory-flow a strong{font-size:.88rem;line-height:1.2}.statutory-flow a:hover{background:#eef8fc}.statutory-organ-card{max-width:1240px;margin:0 auto 34px;padding:28px;border:1px solid #d9e6eb;border-left:6px solid #0a78aa;background:#fff;display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:center}.statutory-organ-number{font-size:2.2rem;font-weight:900;color:#c9dce5}.statutory-organ-card h2{margin:4px 0 8px;color:#0c5176}.statutory-organ-card p{margin:0;color:#617785;max-width:760px}.statutory-organ-stat{text-align:center;background:#eef8fc;padding:16px 20px;min-width:155px}.statutory-organ-stat strong,.statutory-organ-stat span{display:block}.statutory-organ-stat strong{font-size:2.4rem;color:#0875a6}.statutory-organ-stat span{font-size:.8rem;color:#667b87}.statutory-section{scroll-margin-top:120px}.statutory-office-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.statutory-office-grid.compact{grid-template-columns:repeat(5,minmax(0,1fr))}.statutory-office{position:relative;padding:18px;border:1px solid #d9e5ea;background:#fff;min-height:150px}.statutory-office.is-filled{border-top:4px solid #168c5a}.statutory-office.is-vacant{border-top:4px solid #b8c5cb;background:#fbfcfc}.statutory-office-status{position:absolute;right:12px;top:10px;font-size:.68rem;font-weight:900;text-transform:uppercase;padding:4px 7px;background:#edf2f4;color:#6c7d85}.statutory-office.is-filled .statutory-office-status{background:#e5f6ed;color:#147046}.statutory-office h3{font-size:1rem;line-height:1.25;margin:22px 0 10px;color:#173e54}.statutory-office strong{display:block;color:#0874a5;margin-bottom:10px}.statutory-office p{font-size:.84rem;line-height:1.45;color:#788890;margin:0}.statutory-office a{font-size:.82rem;font-weight:800;color:#075f8f;text-decoration:none}.statutory-suborgan{margin-top:30px;padding-top:24px;border-top:1px solid #dbe6eb}.statutory-empty{padding:20px;border:1px dashed #bacad1;background:#fafcfd;color:#687d88}.statutory-province-body{padding:20px}.statutory-structure-note{padding:15px 18px;background:#f1f8fb;border-left:4px solid #1590bc;margin-bottom:18px}.statutory-structure-note p{margin:5px 0 0;color:#607683;line-height:1.5}.statutory-province-body h4{margin:22px 0 12px;color:#164e6c}.statutory-geo-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:18px}.statutory-geo-summary span{padding:10px;background:#f7fafb;border:1px solid #e1eaee;color:#5f727d}.statutory-geo-summary b{color:#0a78a6;margin-right:5px}.statutory-echelon-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.statutory-echelon-grid span{padding:16px;border:1px solid #dce7eb;background:#fff;font-weight:800;color:#264d62}.statutory-echelon-grid b{display:block;font-size:.7rem;color:#0d87b7;margin-bottom:4px}.mandate-state{display:inline-block;padding:4px 8px;font-size:.72rem;font-weight:900;border-radius:999px;background:#edf2f4;color:#65767e}.mandate-state.is-active{background:#e3f6eb;color:#167044}.mandate-state.is-suspended{background:#fff2d5;color:#8a5f00}.mandate-state.is-ended{background:#eef0f2;color:#6d747b}.statutory-admin-overview{border-top:4px solid #0c83b2}.statutory-admin-title{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px}.statutory-admin-title h2{margin:3px 0}.statutory-admin-title p{margin:4px 0;color:#6c7e87}.statutory-admin-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.statutory-admin-metrics>div{padding:16px;background:#f4f9fb;border:1px solid #dde8ec}.statutory-admin-metrics strong,.statutory-admin-metrics span{display:block}.statutory-admin-metrics strong{font-size:1.7rem;color:#0876a4}.statutory-admin-metrics span{font-size:.78rem;color:#667985}.statutory-admin-slots{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:16px}.statutory-admin-slots span{padding:10px;border:1px solid #dfe7ea}.statutory-admin-slots span.ok{border-left:4px solid #19905b}.statutory-admin-slots span.vacant{border-left:4px solid #b5c0c5;background:#fafbfb}.statutory-admin-slots b,.statutory-admin-slots small{display:block}.statutory-admin-slots small{margin-top:4px;color:#6d7b82}.statutory-admin-note{margin-top:16px;padding:12px 14px;background:#fff8e5;border-left:4px solid #e5b823;color:#5d5848}.leader-person-cell{display:flex;align-items:center;gap:10px}.leader-person-cell small{display:block}.statutory-structure-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.statutory-structure-grid>div{padding:15px;border:1px solid #dce6ea;background:#fbfcfd}.statutory-structure-grid b,.statutory-structure-grid span{display:block}.statutory-structure-grid b{color:#0875a5;margin-bottom:8px}.statutory-structure-grid span{font-size:.84rem;color:#60717a;padding:3px 0}.conditional-province[hidden],.conditional-territory[hidden],.conditional-commune[hidden],.conditional-country[hidden]{display:none!important}
@media(max-width:1000px){.statutory-flow{grid-template-columns:repeat(4,1fr)}.statutory-office-grid.compact{grid-template-columns:repeat(3,1fr)}.statutory-admin-metrics{grid-template-columns:repeat(3,1fr)}.statutory-admin-slots{grid-template-columns:repeat(2,1fr)}.statutory-structure-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.statutory-flow{grid-template-columns:1fr}.statutory-flow a{border-right:0;border-bottom:1px solid #d5e4ec}.statutory-organ-card{grid-template-columns:1fr;padding:20px}.statutory-organ-number{display:none}.statutory-organ-stat{text-align:left}.statutory-office-grid,.statutory-office-grid.compact{grid-template-columns:1fr}.statutory-office{min-height:0}.statutory-geo-summary,.statutory-echelon-grid,.statutory-admin-metrics,.statutory-admin-slots,.statutory-structure-grid{grid-template-columns:1fr}.statutory-province-body{padding:12px}.governance-province>summary{grid-template-columns:auto 1fr auto}.governance-province>summary small{grid-column:2/4}.statutory-admin-title{display:block}.statutory-admin-title .btn{margin-top:10px}}
.provincial-committee-members{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 18px}.provincial-committee-members>div{position:relative;padding:12px;border:1px solid #dde7eb;background:#fff}.provincial-committee-members strong,.provincial-committee-members span,.provincial-committee-members small{display:block}.provincial-committee-members span{color:#0b78a5;font-size:.82rem;font-weight:800;margin-top:3px}.provincial-committee-members small{color:#72838b;margin-top:4px}.provincial-committee-members em{position:absolute;right:8px;top:8px;font-style:normal;font-size:.68rem;padding:3px 6px;background:#fff2d5;color:#8a5f00}.statutory-empty.compact{padding:12px;margin-bottom:14px}@media(max-width:680px){.provincial-committee-members{grid-template-columns:1fr}}


/* --- audit-visibility-v1296214.css --- */
/* FOBAK V129.6.21.4 — audit général de lisibilité, contraste et stabilité visuelle. */
:root{
  --fobak-readable-ink:#152b3d;
  --fobak-readable-muted:#526579;
  --fobak-readable-border:#aebfce;
  --fobak-on-primary:#ffffff;
  --fobak-on-secondary:#071d33;
  --fobak-on-accent:#172033;
  --fobak-on-danger:#ffffff;
  --fobak-on-success:#ffffff;
  --fobak-on-header:#ffffff;
  --fobak-on-sidebar:#ffffff;
  --fobak-on-footer:#ffffff;
}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth}
body{line-height:1.48}

/* Lisibilité générale : les textes secondaires ne doivent jamais devenir gris trop pâle. */
body:not(.receipt-body):not(.print-page) .muted,
body:not(.receipt-body):not(.print-page) .help-text,
body:not(.receipt-body):not(.print-page) .form-help,
body:not(.receipt-body):not(.print-page) .field-help,
body:not(.receipt-body):not(.print-page) .hint,
body:not(.receipt-body):not(.print-page) .helper,
body:not(.receipt-body):not(.print-page) .panel-note,
body:not(.receipt-body):not(.print-page) .pp-muted{color:var(--fobak-readable-muted)!important;opacity:1!important}

/* Formulaires : texte, placeholder, bordure et focus visibles sur téléphone et ordinateur. */
body:not(.receipt-body) input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="range"]),
body:not(.receipt-body) select,
body:not(.receipt-body) textarea{
  color:var(--fobak-readable-ink);
  border-color:var(--fobak-readable-border);
  background-color:#fff;
}
body:not(.receipt-body) input::placeholder,
body:not(.receipt-body) textarea::placeholder{color:#526579!important;opacity:1!important}
body:not(.receipt-body) input:disabled,
body:not(.receipt-body) select:disabled,
body:not(.receipt-body) textarea:disabled{color:#41566a!important;background:#edf2f6!important;opacity:1!important;cursor:not-allowed}
.form label,.filters label,.field label,.form-grid label,.health-module label{color:#18364e!important;font-weight:800}
body:not(.receipt-body) input:focus-visible,
body:not(.receipt-body) select:focus-visible,
body:not(.receipt-body) textarea:focus-visible,
body:not(.receipt-body) button:focus-visible,
body:not(.receipt-body) a:focus-visible{outline:3px solid rgba(24,157,214,.38)!important;outline-offset:2px}

/* Les messages de validation / alertes restent lisibles et ne sont pas cachés sous l'en-tête fixe. */
body.admin-layout input,body.admin-layout select,body.admin-layout textarea,
body.admin-layout [id],body.health-admin [id]{scroll-margin-top:calc(var(--fobak-topbar-height,120px) + 26px)}
.flash,.health-alert,.pp-notice{font-size:14px;line-height:1.5;font-weight:650}
.flash.warning{color:#604600!important}.flash.danger{color:#8f1720!important}.flash.success{color:#075d37!important}

/* Boutons et liens d'action : minimum visuel cohérent. */
.btn,.health-btn{line-height:1.25}
.btn.small{font-size:13px!important;min-height:36px}
.btn.primary{color:var(--fobak-on-accent)!important}
.tabs a.active,.global-search-form button,.admin-shortcut.primary{color:var(--fobak-on-primary)!important}
.kpi-icon.blue{color:var(--fobak-on-primary)!important}
.kpi-icon.yellow{color:var(--fobak-on-accent)!important}
.kpi-icon.red{color:var(--fobak-on-danger)!important}
.kpi-icon.green{color:var(--fobak-on-success)!important}

/* Tableaux : évite le gris trop léger et garde une lecture claire en défilement horizontal. */
.table-wrap,.pp-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
table{color:#20384c}
th{color:#0b4f86!important;font-weight:850}
td{line-height:1.42}
.table-wrap table tbody tr:hover{background:#f6fbff}

/* En-têtes et menus : contraste garanti même après personnalisation. */
.site-header.public-header,.public-header{color:var(--fobak-on-header)!important}
.site-header.public-header a,.public-header a,.site-header.public-header strong,.public-header strong{color:inherit}
.side-dashboard,.health-sidebar{color:var(--fobak-on-sidebar)!important}
.app-footer.dashboard-style-footer,.fobak-unified-footer{color:var(--fobak-on-footer)!important}
body.admin-layout .workspace-welcome small{opacity:1!important;color:#f0f7fc!important}
body.admin-layout .global-search-form input::placeholder{color:#526579!important;opacity:1!important}

/* Les actions masquées au survol restent disponibles sur écran tactile. */
@media (hover:none),(pointer:coarse){.message-actions,.activity-actions,.row-actions{opacity:1!important;visibility:visible!important}}

/* Texte des zones administratives : aucun libellé important sous 13 px à l'écran. */
@media screen{
  .side-menu a,.side-menu summary,.health-nav a,.health-nav summary{font-size:max(14px,.9rem)}
  .side-menu-search-empty,.health-menu-search-empty,.appearance-color-field small,.submenu-copy small{font-size:12.5px!important;line-height:1.4}
  .print-footer-note{font-size:11px}
}

/* Téléphone : police confortable, champs à 16 px (évite aussi le zoom automatique iOS), contenu non masqué. */
@media screen and (max-width:780px){
  body.admin-layout .workspace-content{scroll-padding-top:calc(var(--fobak-topbar-height,220px) + 18px)}
  body.admin-layout .workspace-welcome strong{font-size:clamp(17px,4.9vw,21px)!important;line-height:1.25!important}
  body.admin-layout .workspace-welcome small{font-size:13px!important;line-height:1.4!important}
  body.admin-layout input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="range"]),
  body.admin-layout select,body.admin-layout textarea,
  body.health-admin input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="range"]),
  body.health-admin select,body.health-admin textarea{font-size:16px!important;min-height:46px}
  .form label,.filters label,.form-grid label{font-size:14px!important;line-height:1.35}
  .card,.panel-card,.module-group,.appearance-section{overflow-wrap:anywhere}
  .table-wrap table,.pp-table table{font-size:13px}
  .table-wrap th,.table-wrap td,.pp-table th,.pp-table td{padding:10px 9px}
  .top-actions sup,.health-top-actions sup{font-size:11px!important;min-width:20px;min-height:20px;display:grid;place-items:center}
  .public-language-menu>summary>strong,.language-menu-options>a>span,.language-menu-options>.language-option-form>.language-option>span,.public-nav-professional .public-nav-caret{font-size:12px!important}
  .public-nav-professional .submenu-copy small{font-size:12.5px!important}
  .footer-app-icon small,.public-mobile-brand small{font-size:11px!important}
}

/* Très petits écrans : les zones d'actions passent à la ligne au lieu de couper le texte. */
@media screen and (max-width:420px){
  .actions-cell,.receipt-actions{min-width:0!important;white-space:normal!important}
  .admin-menu,.appearance-toolbar,.links-row{gap:8px}
  .btn{white-space:normal;text-align:center}
}

/* Portail patient / santé : correction de contrastes secondaires. */
.patient-portal .pp-muted,.patient-portal .pp-empty,.patient-portal .pp-footer-note{color:#526579!important}
.health-public small,.health-public .health-section-heading p{opacity:1}


/* Libellés très petits repérés pendant l'audit : relèvement ciblé sans grossir les reçus. */
@media screen and (max-width:780px){
  .site-header.public-header .brand-block span,.site-header.public-header .brand-block em{font-size:11.5px!important;line-height:1.3!important;opacity:.96!important}
  .fobak-social-icons .social-whatsapp small{font-size:10px!important;line-height:1.05!important}
  .fobak-logout-steps span,.fobak-logout-steps span b{font-size:11px!important}
  .communique-ticker.enhanced-ticker>strong{font-size:11px!important}
  .public-language-wrap>span{font-size:12px!important}
  .app-footer .footer-bottom{font-size:12px!important;line-height:1.4!important}
}
.health-alert-item small,.health-activity-list small,.health-activity-list time{color:#526579!important;opacity:1!important}

@media print{
  /* Ne pas dégrader les documents imprimés avec les règles d'écran. */
  body{line-height:normal}
  .print-footer-note{font-size:11px!important;color:#354f63!important}
}


/* --- v1296222-responsive-professional.css --- */
/* FOBAK V129.6.22.2 — correctif responsive professionnel global
   1) Centre de Santé / chat lisible
   2) formulaire utilisateurs mobile
   3) messagerie tableau de bord compacte
   4) topbar + bande communiqués sûres sur mobile
   5) annuaire utilisateurs en cartes professionnelles
*/

/* ---------- 0. Garanties globales ---------- */
html,body{max-width:100%;overflow-x:hidden}
body.admin-layout .workspace-content,
body.health-admin .health-content{min-width:0}
body.admin-layout input,body.admin-layout select,body.admin-layout textarea,
body.health-admin input,body.health-admin select,body.health-admin textarea{max-width:100%}
@media(max-width:760px){
  body.admin-layout:not(.ticker-is-hidden) .workspace-content{padding-bottom:calc(var(--v125-ticker-h,48px) + 40px)!important}
  body.health-admin:not(.ticker-is-hidden) .health-content{padding-bottom:calc(var(--v125-ticker-h,48px) + 42px)!important}
  body.admin-layout,body.health-admin{scroll-padding-bottom:calc(var(--v125-ticker-h,48px) + 24px)}
}

/* ---------- 1. Centre de Santé : lisibilité, topbar et conversation ---------- */
.health-chat-context .chat-room-header.pro,
.health-chat-context .chat-room-header.pro *{color:#173f43!important}
.health-chat-context .chat-room-header.pro .eyebrow{color:#0b7f76!important}
.health-chat-context .chat-room-header.pro p,
.health-chat-context .chat-room-header.pro small{color:#5a7378!important;opacity:1!important}
.health-chat-context .chat-room-header.pro .chat-room-avatar{background:#dff3ef!important;color:#0b746b!important}
.health-chat-context .chat-header-actions .btn{color:#0b5d72!important;background:#fff!important;border:1px solid #c9dde3!important}
.health-chat-context .chat-header-actions .btn:hover{background:#edf8f7!important}
.health-chat-context .chat-channel-sidebar nav a{min-width:0}
.health-chat-context .chat-channel-sidebar nav strong,
.health-chat-context .chat-channel-sidebar nav small{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

@media(max-width:720px){
  body.health-admin .health-topbar{
    height:auto!important;min-height:112px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"title actions" "search search"!important;
    align-items:center!important;gap:7px 8px!important;
    padding:8px 10px 8px 72px!important;
  }
  body.health-admin .health-history-actions{display:none!important}
  body.health-admin .health-top-title{grid-area:title!important;min-width:0!important}
  body.health-admin .health-top-title .health-top-kicker{display:none!important}
  body.health-admin .health-top-title strong{
    display:block!important;max-width:100%!important;white-space:nowrap!important;
    overflow:hidden!important;text-overflow:ellipsis!important;
    font-size:1rem!important;line-height:1.2!important;color:#103d54!important;
  }
  body.health-admin .health-global-search{grid-area:search!important;width:100%!important;min-width:0!important;margin:0!important}
  body.health-admin .health-global-search input{height:44px!important;min-height:44px!important;font-size:16px!important;padding:9px 12px!important}
  body.health-admin .health-global-search button{width:48px!important;min-width:48px!important;height:44px!important}
  body.health-admin .health-top-actions{grid-area:actions!important;display:flex!important;gap:5px!important;min-width:0!important;justify-content:flex-end!important}
  body.health-admin .health-top-actions>a,
  body.health-admin .health-top-actions>button{width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;border-radius:12px!important;display:grid!important;place-items:center!important;font-size:18px!important}
  body.health-admin .health-top-actions .health-public-shortcut,
  body.health-admin .health-top-actions .health-print-shortcut{display:none!important}
  body.health-admin .health-top-actions sup{font-size:10px!important;min-width:19px!important;height:19px!important;line-height:19px!important;right:-5px!important;top:-6px!important}
  body.health-admin .health-mobile-menu{top:10px!important;left:12px!important;width:48px!important;height:48px!important}

  .health-chat-context.chat-room-shell.discord-inspired{border-radius:16px!important;overflow:visible!important}
  .health-chat-context .chat-room-header.pro{padding:15px!important;display:grid!important;gap:12px!important}
  .health-chat-context .chat-room-identity{align-items:flex-start!important;gap:12px!important;min-width:0!important}
  .health-chat-context .chat-room-identity>div{min-width:0!important}
  .health-chat-context .chat-room-avatar{width:48px!important;height:48px!important;border-radius:14px!important;font-size:24px!important;flex:0 0 48px!important}
  .health-chat-context .chat-room-header.pro h1{font-size:1.18rem!important;line-height:1.25!important;margin:2px 0 4px!important;overflow-wrap:anywhere!important}
  .health-chat-context .chat-room-header.pro p{font-size:.91rem!important;line-height:1.45!important;margin:0!important}
  .health-chat-context .chat-header-actions{margin:0!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;width:100%!important}
  .health-chat-context .chat-header-actions>*{width:100%!important;min-height:44px!important}
  .health-chat-context .chat-channel-sidebar{max-height:none!important;padding:12px!important;border-radius:0!important}
  .health-chat-context .channel-sidebar-title{padding:6px 4px 10px!important}
  .health-chat-context .chat-channel-sidebar nav{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;margin-top:8px!important}
  .health-chat-context .chat-channel-sidebar nav a{grid-template-columns:30px minmax(0,1fr)!important;padding:10px!important;min-height:56px!important}
  .health-chat-context .chat-channel-sidebar nav strong{font-size:.94rem!important}
  .health-chat-context .chat-channel-sidebar nav small{font-size:.76rem!important}
  .health-chat-context .chat-messages{min-height:300px!important;padding:12px!important}
  .health-chat-context .chat-panel{min-height:500px!important}
  .health-chat-context .chat-room-sidebar{padding:10px!important}
}

/* ---------- 2 & 5. Annuaire utilisateurs : cartes + édition propre ---------- */
.users-page-head{align-items:flex-start!important;gap:18px!important}
.users-page-head h1,.users-page-head h2{margin:.22rem 0 .35rem;color:#0a466f}
.users-create-card,.users-directory-card{overflow:visible!important}
.user-create-panel{border:1px solid #d9e6ef;border-radius:18px;background:linear-gradient(180deg,#fbfdff,#f5f9fc);overflow:hidden}
.user-create-panel>summary{list-style:none;display:grid;grid-template-columns:44px minmax(0,1fr);gap:2px 10px;align-items:center;padding:15px 17px;cursor:pointer;color:#0a527d}
.user-create-panel>summary::-webkit-details-marker{display:none}
.user-create-panel>summary>span{grid-row:1/3;width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:#e2f3fb;font-size:24px}
.user-create-panel>summary strong{font-size:1.02rem}.user-create-panel>summary small{color:#6b7d8c}
.user-create-form{padding:18px;border-top:1px solid #d9e6ef}
.user-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}
.user-summary-strip>div{display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;gap:0 8px;align-items:center;padding:13px 14px;border:1px solid #dce8f0;border-radius:16px;background:#f9fcfe}
.user-summary-strip span{grid-row:1/3;font-size:20px}.user-summary-strip strong{font-size:1.22rem;color:#0a466f}.user-summary-strip small{color:#708190;font-weight:700}
.users-filters{display:grid!important;grid-template-columns:minmax(210px,1.4fr) repeat(3,minmax(150px,1fr)) auto auto!important;gap:9px!important;align-items:center!important;margin:14px 0 18px!important}
.user-card-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:15px!important}
.user-directory-card{position:relative;min-width:0;border:1px solid #d9e5ed;border-radius:20px;background:#fff;box-shadow:0 8px 24px rgba(10,68,105,.07);padding:17px;display:flex;flex-direction:column;gap:14px;overflow:hidden}
.user-directory-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#9aa9b5}
.user-directory-card.is-online:before{background:#1b9d63}.user-directory-card.is-disabled{background:#fafbfc;opacity:.9}
.user-card-header{display:flex;align-items:flex-start;gap:12px;min-width:0}
.user-avatar-wrap{position:relative;flex:0 0 auto}.user-directory-avatar{width:58px;height:58px;border-radius:16px;object-fit:cover;display:grid;place-items:center;background:#e5f2f8;color:#0a5d88;font-weight:900;font-size:1.15rem;border:1px solid #d5e5ee}.user-avatar-fallback{font-size:1.2rem}.presence-dot{position:absolute;right:-3px;bottom:-3px;width:15px;height:15px;border-radius:50%;border:3px solid #fff;background:#9ba8b3}.presence-dot.online{background:#20a768}
.user-card-identity{min-width:0;flex:1}.user-card-identity h3{margin:1px 0 3px;color:#113c58;font-size:1.06rem;line-height:1.25;overflow-wrap:anywhere}.user-card-identity p{margin:0;color:#526c7e;font-weight:750;line-height:1.35}
.user-card-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.user-state-badge{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;font-size:.7rem;font-weight:900;letter-spacing:.01em}.user-state-badge.active{background:#e8f7ef;color:#207548}.user-state-badge.online{background:#e4f8ef;color:#087a48}.user-state-badge.offline{background:#eef1f4;color:#64727f}.user-state-badge.disabled{background:#fdebed;color:#a12e3b}.user-state-badge.warning{background:#fff4d9;color:#835d00}
.user-card-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px}.user-card-meta>div{min-width:0;display:grid;grid-template-columns:24px minmax(0,1fr);grid-template-rows:auto auto;gap:1px 6px;padding:9px 10px;border-radius:12px;background:#f7fafc}.user-card-meta>div>span{grid-row:1/3;align-self:center}.user-card-meta small{font-size:.68rem;color:#7a8b98;text-transform:uppercase;font-weight:800;letter-spacing:.03em}.user-card-meta strong{font-size:.82rem;color:#29495e;min-width:0;overflow-wrap:anywhere}.user-card-email strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-card-reference{border-top:1px solid #edf2f5;padding-top:10px}.user-card-link{display:grid;grid-template-columns:34px minmax(0,1fr) 18px;gap:8px;align-items:center;text-decoration:none;color:#0b567e;padding:9px 10px;border-radius:12px;background:#eef7fb}.user-card-link>span{font-size:20px}.user-card-link small,.user-card-link strong{display:block}.user-card-link small{font-size:.7rem;color:#6c8190}.user-card-link strong{overflow-wrap:anywhere}.user-card-link.missing{color:#7b8791;background:#f3f5f7}
.user-admin-edit{border:1px solid #dce7ef;border-radius:14px;background:#fbfdff;overflow:hidden}.user-admin-edit>summary{list-style:none;display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:8px;align-items:center;padding:11px 12px;cursor:pointer;color:#0c5a85}.user-admin-edit>summary::-webkit-details-marker{display:none}.user-admin-edit[open]>summary{border-bottom:1px solid #dce7ef;background:#f1f8fc}.user-edit-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;padding:12px!important}.user-edit-grid label{display:grid;gap:5px;min-width:0}.user-edit-grid label>span{font-size:.72rem;font-weight:850;color:#5e7485}.user-edit-grid input,.user-edit-grid select{width:100%!important;min-width:0!important;min-height:43px!important}.user-edit-grid .wide-field{grid-column:1/-1}.user-save-button{grid-column:1/-1!important;width:100%!important;min-height:44px!important}
.user-card-admin-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:2px}.user-card-admin-actions form{margin:0}.user-card-admin-actions .btn{min-height:38px!important;white-space:normal!important;text-align:center!important}.user-empty-state{grid-column:1/-1}

@media(max-width:1100px){
  .users-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}.users-filters .btn{width:100%!important}
  .user-card-grid{grid-template-columns:1fr!important}
}
@media(max-width:680px){
  .users-create-card,.users-directory-card{padding:14px!important}
  .users-page-head{display:grid!important}.users-page-head .list-actions{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important}.users-page-head .list-actions .btn{width:100%!important}
  .user-summary-strip{grid-template-columns:1fr 1fr!important;gap:8px!important}.user-summary-strip>div{padding:10px!important}
  .users-filters{grid-template-columns:1fr!important}.users-filters>*{width:100%!important;min-width:0!important}
  .user-directory-card{padding:14px!important;border-radius:17px!important}
  .user-card-header{gap:10px!important}.user-directory-avatar{width:52px!important;height:52px!important;border-radius:14px!important}
  .user-card-identity h3{font-size:1rem!important}.user-card-identity p{font-size:.86rem!important}
  .user-card-meta{grid-template-columns:1fr!important}
  .user-card-email strong{white-space:normal!important;overflow-wrap:anywhere!important}
  .user-edit-grid{grid-template-columns:1fr!important}.user-edit-grid .wide-field,.user-save-button{grid-column:1!important}
  .user-card-admin-actions{display:grid!important;grid-template-columns:1fr!important}.user-card-admin-actions form,.user-card-admin-actions .btn{width:100%!important}
  .user-create-form{grid-template-columns:1fr!important;padding:14px!important}.user-create-form .full{grid-column:1!important}
}

/* ---------- 3. Messagerie du tableau de bord : plus de grand vide / texte invisible ---------- */
body.admin-layout .dashboard-chat-widget{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:16px!important;
  margin:18px 0!important;padding:18px!important;border:1px solid #cfe0eb!important;border-radius:20px!important;
  background:linear-gradient(135deg,#f8fcff,#eef7fb)!important;color:#173f59!important;box-shadow:0 10px 28px rgba(8,66,103,.08)!important;
}
body.admin-layout .dashboard-chat-main{display:flex!important;align-items:center!important;gap:13px!important;min-width:0!important}
body.admin-layout .dashboard-chat-main .chat-live-icon{width:52px!important;height:52px!important;min-width:52px!important;border-radius:15px!important;background:#dff1f9!important;color:#075d89!important;font-size:25px!important}
body.admin-layout .dashboard-chat-main .eyebrow{color:#0877a3!important}
body.admin-layout .dashboard-chat-main h2{color:#123e5a!important;margin:1px 0 3px!important;font-size:1.2rem!important}
body.admin-layout .dashboard-chat-main p{color:#5e7585!important;opacity:1!important;line-height:1.45!important;margin:0!important}
body.admin-layout .dashboard-chat-status{display:grid!important;grid-template-columns:auto auto!important;align-items:center!important;gap:2px 8px!important;text-align:right!important;color:#123e5a!important}
body.admin-layout .dashboard-chat-status strong{color:#075d89!important;font-size:1.5rem!important}.dashboard-chat-status small{color:#687e8c!important;opacity:1!important}
body.admin-layout .dashboard-chat-status .btn{grid-column:1/-1!important;margin-top:6px!important;background:#075d89!important;color:#fff!important;min-height:42px!important}
body.admin-layout .dashboard-chat-recent{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin-top:2px!important}
body.admin-layout .dashboard-chat-recent a{min-width:0!important;display:grid!important;grid-template-columns:28px minmax(0,1fr) 18px!important;align-items:center!important;gap:7px!important;padding:10px!important;border:1px solid #d7e6ee!important;border-radius:13px!important;background:#fff!important;color:#173f59!important;text-decoration:none!important}
body.admin-layout .dashboard-chat-recent a>span{font-size:19px!important}.dashboard-chat-recent a div{min-width:0!important}.dashboard-chat-recent a strong,.dashboard-chat-recent a small{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.dashboard-chat-recent a small{color:#768a98!important;font-size:.75rem!important}
@media(max-width:900px){body.admin-layout .dashboard-chat-recent{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){
  body.admin-layout .dashboard-chat-widget{grid-template-columns:1fr!important;padding:14px!important;gap:12px!important}
  body.admin-layout .dashboard-chat-main{align-items:flex-start!important}.dashboard-chat-main p{font-size:.87rem!important}
  body.admin-layout .dashboard-chat-status{grid-template-columns:auto 1fr!important;text-align:left!important}.dashboard-chat-status .btn{width:100%!important}
  body.admin-layout .dashboard-chat-recent{grid-template-columns:1fr!important;gap:7px!important}
  body.admin-layout .dashboard-chat-recent a{min-height:54px!important}
}

/* ---------- 4. Barre supérieure FOBAK mobile : compacte et lisible ---------- */
@media(max-width:760px){
  body.admin-layout .workspace-topbar{
    min-height:0!important;height:auto!important;display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"welcome actions" "language language"!important;
    gap:7px 8px!important;padding:8px 9px 8px 72px!important;
    background:linear-gradient(135deg,var(--fobak-header-start,#0d4f87),var(--fobak-header-end,#18afe2))!important;
    border-bottom:3px solid var(--gold,#f3d51c)!important;border-radius:0 0 18px 18px!important;
  }
  body.admin-layout .history-controls{display:none!important}
  body.admin-layout .workspace-welcome{grid-area:welcome!important;min-width:0!important;align-self:center!important}
  body.admin-layout .workspace-welcome strong{display:block!important;color:#fff!important;font-size:1rem!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.admin-layout .workspace-welcome small{display:none!important}
  body.admin-layout .top-actions{grid-area:actions!important;width:auto!important;display:flex!important;justify-content:flex-end!important;gap:5px!important;min-width:0!important}
  body.admin-layout .top-actions>a,body.admin-layout .top-actions>.topbar-action-button{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;border-radius:50%!important;padding:0!important;background:#fff!important;color:#0c577f!important;box-shadow:none!important}
  body.admin-layout .top-actions .top-action-support,
  body.admin-layout .top-actions .top-action-security,
  body.admin-layout .top-actions .top-action-public,
  body.admin-layout .top-date{display:none!important}
  body.admin-layout .top-actions sup{font-size:10px!important;min-width:18px!important;height:18px!important;line-height:18px!important;top:-4px!important;right:-4px!important;padding:0 4px!important}
  body.admin-layout .topbar-language-menu{grid-area:language!important;width:92px!important;min-width:92px!important;margin:0!important;justify-self:start!important}
  body.admin-layout .topbar-language-menu>summary{height:38px!important;min-height:38px!important;padding:0 10px!important;border-radius:12px!important;background:rgba(255,255,255,.96)!important;color:#07557e!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important}
  body.admin-layout .global-search-form{grid-column:1/-1!important;width:100%!important;min-width:0!important;margin-top:2px!important}
  body.admin-layout.topbar-compact .global-search-form{display:none!important}
  body.admin-layout:not(.topbar-compact) .workspace-topbar{grid-template-areas:"welcome actions" "search search" "language language"!important}
  body.admin-layout:not(.topbar-compact) .global-search-form{grid-area:search!important;display:grid!important;grid-template-columns:minmax(0,1fr) 46px!important;gap:6px!important}
  body.admin-layout:not(.topbar-compact) .global-search-form input{height:44px!important;min-height:44px!important;font-size:16px!important}
  body.admin-layout:not(.topbar-compact) .global-search-form button{width:46px!important;height:44px!important;min-height:44px!important}
  body.admin-layout .mobile-sidebar-toggle{top:9px!important;left:11px!important;width:50px!important;height:50px!important;border-radius:16px!important;font-size:27px!important}
  body.admin-layout .topbar-compact-toggle .topbar-toggle-label{display:none!important}
  body.admin-layout .communique-ticker.enhanced-ticker>strong{max-width:124px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
}
@media(max-width:430px){
  body.admin-layout .workspace-topbar{padding-left:68px!important}
  body.admin-layout .top-actions>a,body.admin-layout .top-actions>.topbar-action-button{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important}
  body.admin-layout .workspace-welcome strong{font-size:.94rem!important}
  body.admin-layout .topbar-language-menu{width:82px!important;min-width:82px!important}
}


/* --- v1296225-integrity-media-roles.css --- */

.activity-media-fieldset{border:1px solid #c9dce8;border-radius:18px;padding:18px;background:#f9fcfe}.activity-media-fieldset legend{font-weight:900;color:#0b5f93;padding:0 8px}.media-preview-grid,.activity-existing-media,.public-activity-media-gallery,.public-activity-video-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.media-preview-grid img,.existing-media-card img,.public-activity-media-gallery img{width:100%;height:190px;object-fit:cover;border-radius:14px}.existing-media-card{border:1px solid #d5e3eb;border-radius:16px;padding:10px;background:white}.existing-media-card video,.public-activity-video-grid video{width:100%;max-height:420px;border-radius:14px;background:#111}.youtube-media-label{padding:18px;background:#eef6fb;border-radius:12px;word-break:break-all}.activity-media-counts{display:flex;gap:10px;margin:8px 0}.activity-media-counts span,.user-role-badges .badge{font-size:.78rem}.upload-total-warning{padding:12px 14px;border-radius:12px;background:#fff7d6;color:#6b5200}.upload-total-warning.danger{background:#ffe8e8;color:#941d1d}.role-checkbox-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;margin-top:10px}.role-checkbox-grid label{display:flex;align-items:flex-start;gap:8px;padding:9px 10px;border:1px solid #dbe7ed;border-radius:10px}.multi-role-picker{padding:10px;border:1px solid #dce8ee;border-radius:12px}.user-role-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.permission-global-tools,.permission-role-tools{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.perm-row-label{display:flex!important;align-items:center;gap:8px}.permission-matrix thead th{vertical-align:bottom}.permission-matrix thead th .perm-column-toggle{display:block;margin:7px auto 0}.public-activity-media-gallery .public-detail-media{margin:0}.public-activity-video-grid iframe{width:100%;min-height:280px;border:0;border-radius:14px}@media(max-width:700px){.activity-media-fieldset{padding:12px}.media-preview-grid,.activity-existing-media,.public-activity-media-gallery,.public-activity-video-grid{grid-template-columns:1fr}.media-preview-grid img,.existing-media-card img,.public-activity-media-gallery img{height:auto;max-height:420px}.role-checkbox-grid{grid-template-columns:1fr}.permission-global-tools{position:sticky;top:120px;z-index:4;background:#fff;padding:8px;border-radius:12px;box-shadow:0 4px 20px #102a4315}}


/* V129.6.22.8 — upload vidéo par morceaux : léger et lisible sur mobile */
.video-upload-stage{display:grid;gap:.65rem;margin-top:.8rem}
.video-stage-row{display:grid;grid-template-columns:minmax(0,1fr) 92px auto;gap:.65rem;align-items:center;padding:.75rem .85rem;border:1px solid var(--border,#dfe5e2);border-radius:14px;background:#fff}
.video-stage-meta{min-width:0;display:flex;flex-direction:column}.video-stage-meta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.video-stage-meta small{opacity:.7}
.video-stage-progress{height:8px;background:#e9efec;border-radius:999px;overflow:hidden}.video-stage-progress i{display:block;height:100%;width:0;background:currentColor;transition:width .2s ease}
.video-stage-state{font-size:.86rem;font-weight:700;white-space:nowrap}.video-stage-row.done .video-stage-state{color:#177245}.video-stage-row.error .video-stage-state,.video-stage-error{color:#b42318}
.video-stage-remove{border:0;background:transparent;text-decoration:underline;cursor:pointer;font:inherit}
.video-stage-retry{justify-self:start;border:0;border-radius:10px;padding:.62rem .9rem;background:#0b6aa2;color:#fff;font:inherit;font-weight:800;cursor:pointer;box-shadow:0 6px 16px rgba(11,106,162,.18)}
.video-stage-retry:active{transform:translateY(1px)}
@media(max-width:700px){.video-stage-row{grid-template-columns:1fr}.video-stage-progress{width:100%}.video-stage-state{white-space:normal}}


/* --- v1296224-governance-member-picker.css --- */
/* FOBAK V129.6.22.4 — formulaire professionnel d'affectation depuis les membres */
.governance-editor-hero{max-width:1120px;margin:18px auto 16px;padding:26px 28px;border-radius:24px;background:linear-gradient(135deg,#075f8f,#138eb7);color:#fff;box-shadow:0 16px 34px rgba(5,72,110,.18);position:relative;overflow:hidden}.governance-editor-hero:after{content:"";position:absolute;width:210px;height:210px;border-radius:50%;right:-80px;top:-90px;background:rgba(255,255,255,.09)}.governance-editor-hero .eyebrow{color:#c9f3ff}.governance-editor-hero h1{margin:5px 0 8px;color:#fff;font-size:clamp(1.55rem,3vw,2.25rem)}.governance-editor-hero p{margin:0;max-width:820px;line-height:1.55;color:#e9f8fc}.governance-back{display:inline-flex;margin-bottom:16px;color:#fff;text-decoration:none;font-weight:800;font-size:.9rem;opacity:.92}.governance-pro-form{max-width:1120px;margin:0 auto 90px;display:grid;gap:18px}.governance-step-card{background:#fff;border:1px solid #dbe8ee;border-radius:22px;padding:24px;box-shadow:0 9px 26px rgba(12,68,98,.07)}.governance-step-head{display:flex;align-items:flex-start;gap:14px;padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid #e5eef2}.governance-step-head>span{flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:#0a79a9;color:#fff;display:grid;place-items:center;font-weight:900}.governance-step-head h2{margin:0;color:#123f59;font-size:1.15rem}.governance-step-head p{margin:4px 0 0;color:#687e8b;font-size:.9rem;line-height:1.45}.governance-scope-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:20px}.governance-scope-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:92px;border:1px solid #d8e6ec;border-radius:16px;background:#f8fbfc;cursor:pointer;text-align:center;transition:.18s ease}.governance-scope-card:hover{border-color:#77bad5;transform:translateY(-1px)}.governance-scope-card.is-selected{background:#eaf7fc;border-color:#0b81b1;box-shadow:inset 0 0 0 1px #0b81b1}.governance-scope-card input{position:absolute;opacity:0;pointer-events:none}.governance-scope-card .scope-icon{font-size:1.35rem}.governance-scope-card strong{color:#234f65;font-size:.86rem}.governance-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px}.governance-fields-grid .field{min-width:0}.governance-fields-grid .field.full{grid-column:1/-1}.governance-pro-form .field label{display:block;margin-bottom:7px;color:#21485d;font-weight:800}.governance-pro-form input:not([type=checkbox]):not([type=radio]),.governance-pro-form select,.governance-pro-form textarea{width:100%;box-sizing:border-box;border:1px solid #cfdde4;border-radius:13px;background:#fff;color:#193b4f;min-height:48px;padding:11px 13px;font:inherit;outline:none;transition:border-color .18s,box-shadow .18s}.governance-pro-form textarea{min-height:90px;resize:vertical}.governance-pro-form input:focus,.governance-pro-form select:focus,.governance-pro-form textarea:focus{border-color:#1185b2;box-shadow:0 0 0 3px rgba(17,133,178,.12)}.governance-pro-form input[readonly]{background:#f3f7f9;color:#54707f}.governance-pro-form .field small{display:block;margin-top:6px;color:#6f838e;line-height:1.35}.governance-readonly-chip{min-height:48px;display:flex;align-items:center;padding:0 13px;border-radius:13px;background:#eef8fc;border:1px solid #cae5f0;color:#0a6f9c;font-weight:900}.conditional-province[hidden],.conditional-territory[hidden],.conditional-commune[hidden],.conditional-country[hidden]{display:none!important}
.member-picker-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-bottom:12px}.member-picker-searchbox{position:relative;display:flex;align-items:center;border:1px solid #cadde5;border-radius:15px;background:#fff;min-height:54px;overflow:hidden}.member-picker-searchbox>span{padding-left:16px}.member-picker-searchbox input{border:0!important;box-shadow:none!important;min-width:0}.member-picker-searchbox button{border:0;background:transparent;font-size:1.5rem;color:#71838b;padding:5px 14px;cursor:pointer}.member-picker-selected{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px;border:1px solid #bfe0ec;border-radius:17px;background:linear-gradient(135deg,#f3fbfe,#fff);margin-bottom:12px}.member-picker-selected.is-empty{display:block;border-style:dashed;background:#fbfcfd}.member-picker-selected.has-error{border-color:#c9303e;box-shadow:0 0 0 3px rgba(201,48,62,.1)}.member-picker-empty{display:flex;align-items:center;gap:12px;color:#6b7f89}.member-picker-empty>span{font-size:1.6rem}.member-picker-empty strong,.member-picker-empty p{display:block;margin:0}.member-picker-empty p{font-size:.86rem;margin-top:3px}.member-picked-avatar,.member-result-avatar{width:58px;height:64px;border-radius:14px;background:#0c7caa;color:#fff;display:grid;place-items:center;overflow:hidden;font-size:1.35rem;font-weight:900;flex:0 0 auto}.member-picked-avatar img,.member-result-avatar img{width:100%;height:100%;object-fit:cover;object-position:center top}.member-picked-main small{display:block;text-transform:uppercase;letter-spacing:.06em;color:#1682ae;font-weight:900;font-size:.68rem}.member-picked-main strong{display:block;color:#173f55;font-size:1.05rem;margin:3px 0}.member-picked-main p{margin:0;color:#607581;font-size:.84rem}.member-picked-contact{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.member-picked-contact span{font-size:.76rem;background:#edf5f8;color:#496674;padding:4px 7px;border-radius:999px}.member-picker-results{display:grid;gap:8px;max-height:360px;overflow:auto}.member-result-card{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid #dbe7ec;border-radius:15px;background:#fff;padding:10px 12px;text-align:left;cursor:pointer;transition:.16s}.member-result-card:hover{border-color:#70bad8;background:#f4fbfe;transform:translateY(-1px)}.member-result-avatar{width:48px;height:52px;border-radius:11px;font-size:1rem}.member-result-body{min-width:0}.member-result-body strong,.member-result-body small,.member-result-body em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-result-body strong{color:#173e53}.member-result-body small{color:#617782;font-style:normal;margin-top:2px}.member-result-body em{color:#0e7ba8;font-size:.76rem;font-style:normal;margin-top:3px}.member-result-action{color:#0a78a5;font-weight:900;font-size:.8rem}.member-picker-status{padding:14px;border-radius:13px;background:#f5f8f9;color:#667a85;text-align:center}.member-picker-status.is-loading{color:#0c78a5}.member-picker-status.is-error,.governance-warning{background:#fff2f2;color:#9b2730;border:1px solid #f0c7ca}.governance-warning{padding:12px 14px;border-radius:12px;margin-top:10px}.governance-optional{margin-top:18px;border:1px solid #dfe9ed;border-radius:15px;overflow:hidden}.governance-optional summary{cursor:pointer;padding:14px 16px;background:#f7fafb;color:#31546a;font-weight:900}.governance-optional[open] summary{border-bottom:1px solid #dfe9ed}.governance-optional>.governance-fields-grid{padding:18px}.governance-publish-row{display:flex;flex-wrap:wrap;gap:18px;margin-top:18px}.governance-switch{display:flex;align-items:center;gap:9px;color:#2c4f63;font-weight:800;cursor:pointer}.governance-switch input{position:absolute;opacity:0}.governance-switch span{width:42px;height:23px;border-radius:999px;background:#cbd7dd;position:relative;transition:.2s}.governance-switch span:after{content:"";position:absolute;width:17px;height:17px;border-radius:50%;background:#fff;top:3px;left:3px;box-shadow:0 1px 4px #0002;transition:.2s}.governance-switch input:checked+span{background:#15915d}.governance-switch input:checked+span:after{left:22px}.governance-form-actions{position:sticky;bottom:8px;z-index:5;display:flex;justify-content:flex-end;gap:10px;padding:12px 14px;border:1px solid #d7e5eb;border-radius:18px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);box-shadow:0 12px 30px rgba(20,62,86,.12)}.governance-save{min-width:220px}.leaders-admin-list .leader-person-cell small{overflow-wrap:anywhere}
@media(max-width:820px){.governance-editor-hero{margin:10px 12px 14px;padding:20px;border-radius:18px}.governance-pro-form{margin:0 12px 88px}.governance-step-card{padding:18px;border-radius:18px}.governance-scope-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.governance-scope-card:last-child{grid-column:1/-1}.governance-fields-grid{grid-template-columns:1fr}.governance-fields-grid .field.full{grid-column:auto}.member-picker-toolbar{grid-template-columns:1fr}.member-picker-toolbar>.btn{width:100%}.member-picker-selected{grid-template-columns:auto minmax(0,1fr)}.member-picker-selected>.btn{grid-column:1/-1;width:100%}.member-result-card{grid-template-columns:auto minmax(0,1fr)}.member-result-action{grid-column:2;text-align:left}.governance-form-actions{left:0;right:0;bottom:58px;justify-content:stretch}.governance-form-actions .btn{flex:1;min-width:0}.governance-save{min-width:0}.governance-pro-form input:not([type=checkbox]):not([type=radio]),.governance-pro-form select,.governance-pro-form textarea{font-size:16px}.member-picked-contact{display:none}}
@media(max-width:430px){.governance-editor-hero h1{font-size:1.45rem}.governance-step-head{gap:10px}.governance-step-head>span{width:34px;height:34px;flex-basis:34px}.governance-scope-card{min-height:78px}.member-picker-selected{grid-template-columns:1fr;text-align:center}.member-picked-avatar{margin:auto}.member-result-card{padding:9px}.member-result-action{display:none}.governance-form-actions{padding:9px}.governance-form-actions .btn{font-size:.9rem;padding-left:10px;padding-right:10px}}

/* V129.6.29 — sélecteur de langue POST robuste face aux anciens Service Workers */
.language-menu-options>.language-option-form{margin:0!important;padding:0!important;display:block!important}
.language-menu-options>.language-option-form>.language-option{width:100%!important;border:0!important;font:inherit!important;cursor:pointer!important;text-align:left!important}

/* V129.6.30 — formulaires de langue exclus de la file hors-ligne. */
.language-option-form[data-offline-disabled="1"]{margin:0}

/* V129.6.48 — recherche locale universelle des listes administratives */
.fobak-local-search{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:12px 0 14px;padding:10px 12px;border:1px solid rgba(12,94,145,.16);border-radius:16px;background:linear-gradient(135deg,#fff,#f4f9fc);box-shadow:0 7px 20px rgba(15,63,94,.06)}
.fobak-local-search-field{display:flex;align-items:center;gap:9px;flex:1;min-width:0;background:#fff;border:1px solid #cfe0ea;border-radius:12px;padding:0 10px;transition:.2s ease}
.fobak-local-search-field:focus-within{border-color:#0e79b2;box-shadow:0 0 0 3px rgba(14,121,178,.10)}
.fobak-local-search-field input{width:100%;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:11px 3px!important;font:inherit;color:#163348}
.fobak-local-search-clear{border:0;background:#edf4f8;color:#32566d;width:30px;height:30px;border-radius:50%;font-size:20px;line-height:1;cursor:pointer}
.fobak-local-search-count{white-space:nowrap;color:#637b8c;font-weight:700}
.fobak-local-search-empty{padding:18px;margin:8px 0;border:1px dashed #c7d9e4;border-radius:14px;background:#f8fbfd;color:#607887;text-align:center}
tr[hidden],.quotes-admin-list>article[hidden],.video-admin-grid>article[hidden],.leader-gallery-grid>*[hidden],.responsive-card-list>article[hidden]{display:none!important}
@media(max-width:720px){.fobak-local-search{align-items:stretch;flex-direction:column;gap:7px}.fobak-local-search-count{padding-left:4px;font-size:.84rem}.fobak-local-search-field input{font-size:16px!important}}
