:root{
 --andfff-navy:#061c3f;
 --andfff-navy-2:#0a2b58;
 --andfff-blue:#005aa9;
 --andfff-blue-bright:#0b70c9;
 --andfff-gold:#e5a62b;
 --andfff-red:#cf2938;
 --andfff-ink:#17263a;
 --andfff-muted:#667587;
 --andfff-soft:#edf3f8;
 --andfff-line:#dbe4ec;
 --andfff-white:#fff;
}

#andfff-mobile-menu{display:none}
body.andfff-mobile-app-page .andfff-app-shell{display:none}
body.andfff-mobile-app-page.andfff-app-context-ok .andfff-app-shell,
body.andfff-mobile-app-page.andfff-mobile-preview .andfff-app-shell{display:block}
body.andfff-mobile-app-page .entry-title,
body.andfff-mobile-app-page .page-title{display:none!important}

@media(max-width:782px){
 body.andfff-has-mobile-menu{padding-bottom:calc(82px + env(safe-area-inset-bottom))!important}
 #andfff-mobile-menu{position:fixed!important;z-index:2147483646!important;left:0!important;right:0!important;bottom:0!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));min-height:72px;padding:5px 4px calc(5px + env(safe-area-inset-bottom));background:rgba(255,255,255,.98)!important;border-top:1px solid rgba(6,28,63,.12);box-shadow:0 -8px 24px rgba(6,28,63,.13);backdrop-filter:blur(14px)}
 #andfff-mobile-menu:before{position:absolute;top:0;left:0;right:0;height:2px;content:"";background:linear-gradient(90deg,var(--andfff-gold),var(--andfff-blue) 30%,var(--andfff-navy) 72%,var(--andfff-red))}
 #andfff-mobile-menu a{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:58px;padding:5px 2px;color:#66717d!important;text-decoration:none!important;border-radius:13px}
 #andfff-mobile-menu a.active{color:var(--andfff-blue)!important;background:linear-gradient(180deg,rgba(0,90,169,.12),rgba(0,90,169,.06))}
 #andfff-mobile-menu a.active:before{position:absolute;top:-5px;left:50%;width:32px;height:4px;content:"";background:var(--andfff-gold);border-radius:0 0 6px 6px;transform:translateX(-50%)}
 #andfff-mobile-menu .dashicons{width:26px;height:26px;font-size:26px;line-height:26px}
 #andfff-mobile-menu a span:last-child{overflow:hidden;width:100%;font-size:10px;font-weight:700;line-height:1.1;text-align:center;white-space:nowrap;text-overflow:ellipsis}

 body.andfff-mobile-app-page.andfff-app-context-ok,
 body.andfff-mobile-linked-page{background:linear-gradient(180deg,#f7f9fc 0,#edf3f8 48%,#e8f0f6 100%)!important}
 body.andfff-mobile-app-page.andfff-app-context-ok #masthead,
 body.andfff-mobile-app-page.andfff-app-context-ok .site-header,
 body.andfff-mobile-app-page.andfff-app-context-ok .bb-mobile-header,
 body.andfff-mobile-app-page.andfff-app-context-ok .site-footer,
 body.andfff-mobile-app-page.andfff-app-context-ok footer,
 body.andfff-mobile-app-page.andfff-app-context-ok .footer-bottom,
 body.andfff-mobile-linked-page #masthead,
 body.andfff-mobile-linked-page .site-header,
 body.andfff-mobile-linked-page .bb-mobile-header,
 body.andfff-mobile-linked-page .bb-mobile-header-wrapper,
 body.andfff-mobile-linked-page .bb-mobile-header-inner,
 body.andfff-mobile-linked-page .site-footer,
 body.andfff-mobile-linked-page footer,
 body.andfff-mobile-linked-page .footer-bottom{display:none!important}
 body.andfff-mobile-app-page.andfff-app-context-ok #page,
 body.andfff-mobile-app-page.andfff-app-context-ok .site,
 body.andfff-mobile-linked-page #page,
 body.andfff-mobile-linked-page .site{padding-top:0!important;margin-top:0!important}
 body.andfff-mobile-app-page.andfff-app-context-ok .site-content,
 body.andfff-mobile-app-page.andfff-app-context-ok .content-area,
 body.andfff-mobile-app-page.andfff-app-context-ok .container,
 body.andfff-mobile-app-page.andfff-app-context-ok .entry-content{max-width:none!important;margin:0!important;padding:0!important}
 body.andfff-mobile-app-page.andfff-app-context-ok .entry-content:before,
 body.andfff-mobile-app-page.andfff-app-context-ok .entry-content:after{display:none!important}
 body.andfff-mobile-linked-page .site-content{min-height:calc(100vh - 82px);padding-top:62px!important;margin-top:0!important}
 body.andfff-mobile-linked-page .entry-content{padding-bottom:calc(112px + env(safe-area-inset-bottom))!important}
}

#andfff-mobile-brandbar{display:none}
@media(max-width:782px){
 #andfff-mobile-brandbar{position:fixed;z-index:2147483645;top:0;left:0;right:0;display:block;height:62px;background:rgba(6,28,63,.97);border-bottom:3px solid var(--andfff-gold);box-shadow:0 5px 18px rgba(6,28,63,.2);backdrop-filter:blur(12px)}
 .andfff-brandbar-home{display:flex!important;align-items:center;justify-content:space-between;height:100%;padding:8px 15px;color:#fff!important;text-decoration:none!important}
 .andfff-brandbar-home>.dashicons{width:23px;height:23px;font-size:23px;line-height:23px;color:#fff}
}

.andfff-brand-identity{position:relative;z-index:2;display:flex;align-items:center;gap:12px;max-width:470px}
.andfff-brand-logo{display:block;max-width:145px;max-height:58px;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 2px 5px rgba(0,0,0,.18))}
.andfff-brand-fallback{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:66px;height:56px;color:var(--andfff-gold);font-size:19px;font-weight:900;line-height:.82;letter-spacing:-.06em;text-align:center;border:2px solid rgba(255,255,255,.7);border-radius:14px}
.andfff-brand-copy{display:flex;flex-direction:column;gap:2px;color:#fff}
.andfff-brand-copy strong{font-size:24px;line-height:1;letter-spacing:.03em}
.andfff-brand-copy small{max-width:250px;color:rgba(255,255,255,.82);font-size:10px;line-height:1.25;text-transform:uppercase;letter-spacing:.035em}
.andfff-brand-identity--compact{gap:8px}
.andfff-brand-identity--compact .andfff-brand-logo{max-width:92px;max-height:38px}
.andfff-brand-identity--compact .andfff-brand-fallback{width:42px;height:38px;font-size:12px;border-radius:9px}
.andfff-brand-identity--compact .andfff-brand-copy strong{font-size:18px}
.andfff-brand-identity--compact .andfff-brand-copy small{display:none}

#andfff-app-welcome{display:none}
#andfff-app-welcome.is-visible{position:fixed!important;z-index:2147483647!important;inset:0!important;display:flex!important;align-items:center;justify-content:center;padding:calc(24px + env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom));background:radial-gradient(circle at 85% 12%,rgba(229,166,43,.25),transparent 25%),linear-gradient(155deg,var(--andfff-navy),var(--andfff-navy-2) 55%,var(--andfff-blue))}
.andfff-app-welcome-card{position:relative;overflow:hidden;width:100%;max-width:430px;padding:32px 20px 24px;text-align:center;background:#fff;border-radius:26px;box-shadow:0 24px 65px rgba(0,0,0,.3)}
.andfff-app-welcome-card:before{position:absolute;top:0;left:0;right:0;height:5px;content:"";background:linear-gradient(90deg,var(--andfff-gold),var(--andfff-blue),var(--andfff-red))}
.andfff-app-logo{display:flex;align-items:center;justify-content:center;width:82px;height:82px;margin:0 auto 18px;color:#fff;background:linear-gradient(145deg,var(--andfff-navy),var(--andfff-blue));border:3px solid rgba(229,166,43,.75);border-radius:24px;box-shadow:0 12px 24px rgba(6,28,63,.2)}
.andfff-app-logo .dashicons{width:46px;height:46px;font-size:46px;line-height:46px}
.andfff-app-welcome-card h2{margin:0 0 9px;color:var(--andfff-navy);font-size:26px}
.andfff-app-welcome-card>p{margin:0 0 26px;color:var(--andfff-muted);font-size:14px}
.andfff-app-welcome-actions{display:grid;gap:13px}
.andfff-app-choice{display:flex!important;align-items:center;gap:14px;min-height:76px;padding:13px 15px;text-align:left;text-decoration:none!important;border:1px solid transparent;border-radius:17px}
.andfff-app-choice>.dashicons{flex:0 0 auto;width:35px;height:35px;font-size:35px;line-height:35px}
.andfff-app-choice>span:last-child{display:flex;flex-direction:column;gap:3px}
.andfff-app-choice small{color:#67727d;font-size:12px}
.andfff-app-choice.public{color:var(--andfff-ink)!important;background:#f3f6f9;border-color:#dce5ec}
.andfff-app-choice.member{color:var(--andfff-blue)!important;background:rgba(0,90,169,.08);border-color:rgba(0,90,169,.25)}

#andfff-logout-section{max-width:760px;margin:38px auto 20px;padding:20px;background:#fff;border:1px solid var(--andfff-line);border-radius:18px;box-shadow:0 8px 22px rgba(6,28,63,.06)}
.andfff-logout-content{display:flex;align-items:flex-start;gap:14px}
.andfff-logout-icon{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:46px;height:46px;color:var(--andfff-navy);background:#edf3f8;border-radius:13px}
.andfff-logout-content h2{margin:0 0 6px;color:var(--andfff-navy);font-size:18px}
.andfff-logout-content p{margin:0;color:#68737e;font-size:14px;line-height:1.55}
#andfff-logout-button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:46px;margin-top:18px;padding:10px 18px;color:#a32020!important;background:#fff;border:1px solid #d9a7a7;border-radius:11px;text-decoration:none!important;font-weight:700}

.andfff-app-dashboard{box-sizing:border-box;max-width:920px;margin:0 auto;padding:18px 15px 112px}
.andfff-app-header{position:relative;isolation:isolate;overflow:hidden;min-height:285px;padding:24px;background:linear-gradient(122deg,rgba(6,28,63,.98),rgba(6,28,63,.9) 47%,rgba(0,90,169,.84));color:#fff;border-radius:24px;box-shadow:0 18px 42px rgba(6,28,63,.22)}
.andfff-app-header:before{position:absolute;z-index:-2;right:-56px;bottom:-72px;width:310px;height:260px;content:"";background:radial-gradient(circle at 50% 45%,rgba(255,255,255,.19) 0 4%,transparent 5% 100%),linear-gradient(125deg,transparent 0 32%,rgba(255,255,255,.08) 33% 35%,transparent 36% 48%,rgba(255,255,255,.07) 49% 51%,transparent 52%);border-radius:50%;transform:rotate(-8deg)}
.andfff-app-header:after{position:absolute;z-index:-1;left:0;right:0;bottom:0;height:6px;content:"";background:linear-gradient(90deg,var(--andfff-gold) 0 24%,var(--andfff-blue-bright) 24% 73%,var(--andfff-red) 73% 100%)}
.andfff-app-header .andfff-brand-identity{margin-bottom:36px}
.andfff-hero-content{position:relative;z-index:2;max-width:640px}
.andfff-app-header h1{margin:5px 0 10px;color:#fff;font-size:34px;line-height:1.06;letter-spacing:-.025em}
.andfff-app-header p{margin:0;color:rgba(255,255,255,.9);font-size:15px;line-height:1.55}
.andfff-app-header--compact{min-height:255px;padding-top:66px}
.andfff-app-header--compact .andfff-brand-identity{margin-bottom:24px}
.andfff-app-kicker{display:inline-flex;align-items:center;margin-bottom:3px!important;padding:6px 10px;color:#fff!important;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);border-radius:999px;font-size:10px!important;font-weight:800;line-height:1.1!important;text-transform:uppercase;letter-spacing:.09em}
.andfff-app-back{position:absolute;z-index:4;top:16px;left:16px;display:inline-flex!important;align-items:center;gap:4px;padding:8px 11px;color:#fff!important;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);border-radius:10px;text-decoration:none!important;font-size:13px;font-weight:700;backdrop-filter:blur(7px)}
.andfff-app-back .dashicons{width:17px;height:17px;font-size:17px;line-height:17px}

.andfff-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:24px 3px 13px}
.andfff-section-heading span{display:inline-flex;padding:5px 9px;color:var(--andfff-blue);background:#e4f0fa;border-radius:999px;font-size:9px;font-weight:900;line-height:1;text-transform:uppercase;letter-spacing:.09em}
.andfff-section-heading h2{margin:0;color:var(--andfff-navy);font-size:19px;line-height:1.2;text-align:right}

.andfff-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:0}
.andfff-dashboard-card{position:relative;overflow:hidden;display:flex!important;flex-direction:column;gap:8px;min-height:166px;padding:18px;color:var(--andfff-ink)!important;background:linear-gradient(155deg,#fff 0,#fff 72%,#f3f7fa 100%);border:1px solid var(--andfff-line);border-radius:19px;box-shadow:0 8px 22px rgba(6,28,63,.075);text-decoration:none!important;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.andfff-dashboard-card:before{position:absolute;top:0;left:0;width:100%;height:4px;content:"";background:linear-gradient(90deg,var(--andfff-blue),var(--andfff-navy))}
.andfff-dashboard-card:active{transform:scale(.985);box-shadow:0 4px 12px rgba(6,28,63,.08)}
.andfff-dashboard-grid>.andfff-dashboard-card:last-child:nth-child(odd){grid-column:1/-1;min-height:138px}
.andfff-card-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;color:#fff;background:linear-gradient(145deg,var(--andfff-navy-2),var(--andfff-blue));border-radius:14px;box-shadow:0 8px 17px rgba(0,90,169,.18)}
.andfff-card-icon .dashicons{width:27px;height:27px;font-size:27px;line-height:27px}
.andfff-dashboard-card strong{padding-right:23px;color:var(--andfff-navy);font-size:17px;line-height:1.2}
.andfff-dashboard-card small{color:var(--andfff-muted);font-size:12px;line-height:1.42}
.andfff-card-arrow{position:absolute;right:14px;bottom:14px;width:19px;height:19px;color:var(--andfff-blue);font-size:19px;line-height:19px}
.andfff-card-access{align-self:flex-start;margin-top:1px;padding:4px 8px;color:#4d6273;background:#edf2f5;border-radius:999px;font-size:9px;font-weight:900;line-height:1.1;text-transform:uppercase;letter-spacing:.06em}
.andfff-card-access--adherents,.andfff-card-access--adherent{color:#004b88;background:#e2f0fb}
.andfff-card-access--public{color:#485d6f;background:#eef2f5}
.andfff-card-access--connexion{color:#765400;background:#fff1c5}
.andfff-dashboard-card--adherent:before,.andfff-dashboard-card--adherents:before{background:linear-gradient(90deg,var(--andfff-gold),var(--andfff-blue))}
.andfff-dashboard-card--adherent .andfff-card-icon,.andfff-dashboard-card--adherents .andfff-card-icon{background:linear-gradient(145deg,var(--andfff-navy),#124b83);box-shadow:0 8px 17px rgba(229,166,43,.18)}
.andfff-dashboard-card--connexion:before{background:linear-gradient(90deg,var(--andfff-gold),#f2c15e)}

.andfff-dashboard-management{position:relative;overflow:hidden;margin-top:19px;padding:21px;color:#fff;background:linear-gradient(135deg,var(--andfff-navy),var(--andfff-navy-2));border:1px solid rgba(229,166,43,.38);border-radius:20px;box-shadow:0 13px 28px rgba(6,28,63,.18)}
.andfff-dashboard-management:after{position:absolute;right:-35px;bottom:-50px;width:170px;height:170px;content:"";background:radial-gradient(circle,rgba(229,166,43,.2),transparent 66%);border-radius:50%}
.andfff-management-heading{position:relative;z-index:2;display:flex;align-items:flex-start;gap:13px}
.andfff-management-heading>.dashicons{flex:0 0 auto;width:38px;height:38px;color:var(--andfff-gold);font-size:38px;line-height:38px}
.andfff-dashboard-management h2{margin:0 0 6px;color:#fff;font-size:20px}
.andfff-dashboard-management p{margin:0;color:rgba(255,255,255,.78);line-height:1.5}
.andfff-primary-button,.andfff-secondary-button{position:relative;z-index:2;display:inline-flex!important;align-items:center;justify-content:center;margin-top:16px;padding:12px 18px;border-radius:11px;text-decoration:none!important;font-weight:800}
.andfff-primary-button{color:#fff!important;background:var(--andfff-blue)}
.andfff-secondary-button{color:var(--andfff-navy)!important;background:var(--andfff-gold)}
.andfff-app-noscript{margin-top:18px;padding:12px;color:#7c1f1f;background:#fff0f0;border:1px solid #edc4c4;border-radius:10px}

#andfff-mobile-menu .andfff-nav-badge{position:absolute;top:3px;left:calc(50% + 8px);z-index:2;display:flex!important;align-items:center;justify-content:center;min-width:18px;width:auto!important;height:18px;padding:0 5px;color:#fff!important;background:var(--andfff-red);border:2px solid #fff;border-radius:999px;font-size:9px!important;font-weight:800!important;line-height:14px!important;overflow:visible!important}
.andfff-dashboard-card .andfff-card-badge{position:absolute;z-index:2;top:14px;right:14px;display:flex;align-items:center;justify-content:center;min-width:27px;height:27px;padding:0 7px;color:#fff;background:var(--andfff-red);border:2px solid #fff;border-radius:999px;box-shadow:0 3px 8px rgba(0,0,0,.18);font-size:11px;font-weight:800;line-height:23px}

@media(min-width:783px){
 body.andfff-mobile-preview .andfff-app-dashboard{padding-top:38px}
 body.andfff-mobile-preview .andfff-app-header{min-height:255px}
}

@media(max-width:480px){
 .andfff-app-dashboard{padding:12px 10px calc(142px + env(safe-area-inset-bottom))}
 .andfff-app-header{min-height:300px;padding:20px;border-radius:22px}
 .andfff-app-header .andfff-brand-identity{margin-bottom:38px}
 .andfff-brand-logo{max-width:118px;max-height:50px}
 .andfff-brand-copy strong{font-size:21px}
 .andfff-brand-copy small{max-width:190px;font-size:8.5px}
 .andfff-app-header--compact{min-height:275px;padding-top:62px}
 .andfff-app-header--compact .andfff-brand-identity{margin-bottom:24px}
 .andfff-app-header h1{font-size:31px}
 .andfff-app-header p{font-size:14px}
 .andfff-section-heading{margin:21px 2px 12px}
 .andfff-section-heading h2{font-size:17px}
 .andfff-dashboard-grid{grid-template-columns:1fr 1fr;gap:10px}
 .andfff-dashboard-card{min-height:164px;padding:14px;border-radius:17px}
 .andfff-card-icon{width:43px;height:43px;border-radius:13px}
 .andfff-card-icon .dashicons{width:24px;height:24px;font-size:24px;line-height:24px}
 .andfff-dashboard-card strong{font-size:15px}
 .andfff-dashboard-card small{font-size:11px}
 .andfff-card-arrow{right:11px;bottom:11px}
 #andfff-logout-section{margin:28px 10px calc(25px + env(safe-area-inset-bottom));padding:17px}
 #andfff-logout-button{width:100%}
}

@media(max-width:360px){
 .andfff-app-header{min-height:286px}
 .andfff-brand-copy small{display:none}
 .andfff-dashboard-card{min-height:154px;padding:12px}
 .andfff-dashboard-card small{font-size:10px}
}

/* =========================================================
   V1.2.2 — HARMONISATION FIDÈLE À L’ACCUEIL DU SITE
   Reprend l’esprit du hero image + cartes blanches ANDFFF.
========================================================= */

.andfff-app-header--has-image{
 background-image:
  linear-gradient(90deg,rgba(2,8,23,.90) 0%,rgba(2,8,23,.68) 48%,rgba(2,8,23,.36) 100%),
  var(--andfff-hero-image)!important;
 background-position:center center!important;
 background-repeat:no-repeat!important;
 background-size:cover!important;
}
.andfff-app-header--has-image:before{
 display:none!important;
}
.andfff-app-header--has-image .andfff-brand-identity{
 align-self:flex-start;
 padding:7px 10px;
 background:rgba(2,8,23,.34);
 border:1px solid rgba(255,255,255,.16);
 border-radius:13px;
 backdrop-filter:blur(6px);
}
.andfff-app-header--has-image .andfff-brand-logo{
 max-width:72px;
 max-height:42px;
}
.andfff-app-header--has-image .andfff-brand-copy strong{
 font-size:20px;
}
.andfff-app-header--has-image .andfff-brand-copy small{
 display:none;
}

.andfff-section-heading{
 align-items:flex-start;
 flex-direction:column;
 gap:8px;
}
.andfff-section-heading h2{
 font-size:25px;
 line-height:1.12;
 letter-spacing:-.025em;
 text-align:left;
}
.andfff-section-heading span{
 margin-bottom:0;
 padding:6px 11px;
 font-size:10px;
}

@media(max-width:480px){
 .andfff-app-dashboard{
  padding:11px 10px calc(142px + env(safe-area-inset-bottom));
 }
 .andfff-app-header{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:238px;
  padding:18px 18px 22px;
  border-radius:28px;
  box-shadow:0 18px 42px rgba(15,23,42,.18);
 }
 .andfff-app-header .andfff-brand-identity{
  margin-bottom:18px;
 }
 .andfff-app-header--compact{
  min-height:220px;
  padding-top:58px;
 }
 .andfff-app-header--compact .andfff-brand-identity{
  margin-bottom:12px;
 }
 .andfff-app-header h1{
  margin:4px 0 9px;
  font-size:32px;
  line-height:1;
  letter-spacing:-.035em;
  text-shadow:0 8px 24px rgba(0,0,0,.35);
 }
 .andfff-app-header p{
  max-width:310px;
  font-size:14px;
  line-height:1.45;
  text-shadow:0 5px 16px rgba(0,0,0,.32);
 }
 .andfff-app-kicker{
  padding:6px 10px;
  font-size:9px!important;
 }
 .andfff-section-heading{
  margin:24px 3px 15px;
 }
 .andfff-section-heading h2{
  font-size:26px;
 }
 .andfff-dashboard-grid{
  grid-template-columns:1fr!important;
  gap:14px;
 }
 .andfff-dashboard-grid>.andfff-dashboard-card:last-child:nth-child(odd){
  grid-column:auto;
 }
 .andfff-dashboard-card{
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr) 22px;
  grid-template-rows:auto auto auto;
  align-items:center;
  column-gap:14px;
  row-gap:5px;
  min-height:132px!important;
  padding:20px 17px;
  border-radius:24px;
  background:#fff;
  box-shadow:0 12px 35px rgba(15,23,42,.07);
 }
 .andfff-dashboard-card:before{
  height:3px;
 }
 .andfff-card-icon{
  grid-column:1;
  grid-row:1/4;
  width:54px;
  height:54px;
  margin:0;
  border-radius:17px;
  background:#eff6ff;
  color:var(--andfff-blue);
  box-shadow:none;
 }
 .andfff-dashboard-card--adherent .andfff-card-icon,
 .andfff-dashboard-card--adherents .andfff-card-icon{
  color:#fff;
  background:linear-gradient(145deg,var(--andfff-navy),#124b83);
 }
 .andfff-card-icon .dashicons{
  width:28px;
  height:28px;
  font-size:28px;
  line-height:28px;
 }
 .andfff-card-access{
  grid-column:2;
  grid-row:1;
  justify-self:start;
  margin:0;
 }
 .andfff-dashboard-card strong{
  grid-column:2;
  grid-row:2;
  padding:0;
  font-size:21px;
  line-height:1.15;
  letter-spacing:-.02em;
 }
 .andfff-dashboard-card small{
  grid-column:2;
  grid-row:3;
  font-size:13px;
  line-height:1.42;
 }
 .andfff-card-arrow{
  position:static;
  grid-column:3;
  grid-row:1/4;
  align-self:center;
  justify-self:end;
  width:21px;
  height:21px;
  font-size:21px;
  line-height:21px;
 }
 .andfff-dashboard-card .andfff-card-badge{
  top:10px;
  right:10px;
 }
 .andfff-dashboard-management{
  border-radius:24px;
 }
}


/* =========================================================
   V1.2.3 - INSTALLATION PWA SUR L'ÉCRAN D'ACCUEIL
========================================================= */
#andfff-pwa-install[hidden]{display:none!important}
#andfff-pwa-install{
 position:fixed!important;
 z-index:2147483646!important;
 left:12px!important;
 right:12px!important;
 bottom:calc(86px + env(safe-area-inset-bottom))!important;
 display:flex!important;
 flex-direction:column;
 gap:12px;
 max-width:560px;
 margin:0 auto;
 padding:14px;
 color:#fff;
 background:linear-gradient(135deg,#061c3f,#0a477f);
 border:1px solid rgba(255,255,255,.22);
 border-radius:20px;
 box-shadow:0 18px 48px rgba(3,20,43,.36);
}
.andfff-pwa-install-main{display:flex;align-items:center;gap:12px;min-width:0}
.andfff-pwa-install-main img,.andfff-pwa-install-fallback{
 flex:0 0 54px;
 width:54px!important;
 height:54px!important;
 object-fit:cover;
 background:#fff;
 border-radius:14px;
 box-shadow:0 5px 14px rgba(0,0,0,.18);
}
.andfff-pwa-install-fallback{display:flex!important;align-items:center;justify-content:center;color:#075fae;font-size:30px;line-height:54px}
.andfff-pwa-install-main div{display:flex;flex-direction:column;gap:3px;min-width:0}
.andfff-pwa-install-main strong{color:#fff;font-size:16px;line-height:1.2;font-weight:850}
.andfff-pwa-install-main span{color:rgba(255,255,255,.87);font-size:12px;line-height:1.35}
.andfff-pwa-install-actions{display:grid;grid-template-columns:1fr auto;gap:8px}
.andfff-pwa-install-actions button{
 min-height:42px;
 padding:9px 14px;
 border:0;
 border-radius:12px;
 font-size:13px;
 font-weight:800;
 cursor:pointer;
}
#andfff-pwa-install-button{color:#061c3f;background:#f2b72e}
#andfff-pwa-install-dismiss{color:#fff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2)}
@media(min-width:783px){#andfff-pwa-install{display:none!important}}

/* =========================================================
   V1.2.4 — ACCÈS PERMANENT AUX INFORMATIONS LÉGALES
========================================================= */

.andfff-mobile-legal-access{
 display:flex;
 align-items:center;
 justify-content:center;
 gap:7px;
 margin:22px 4px 0;
 padding:11px 13px;
 color:#607083;
 background:rgba(255,255,255,.78);
 border:1px solid var(--andfff-line);
 border-radius:13px;
 font-size:11px;
 line-height:1.35;
 text-align:center;
 box-shadow:0 6px 16px rgba(6,28,63,.045);
}
.andfff-mobile-legal-access .dashicons{
 flex:0 0 auto;
 width:17px;
 height:17px;
 color:var(--andfff-blue);
 font-size:17px;
 line-height:17px;
}
.andfff-mobile-legal-access a{
 color:var(--andfff-navy)!important;
 font-weight:750;
 text-decoration:none!important;
}
.andfff-mobile-legal-access a:active{
 text-decoration:underline!important;
}
.andfff-welcome-legal{
 display:block!important;
 margin-top:17px;
 padding:7px 8px;
 color:#52677b!important;
 font-size:11px;
 font-weight:700;
 line-height:1.35;
 text-align:center;
 text-decoration:underline!important;
 text-underline-offset:2px;
}

@media(max-width:782px){
 #andfff-mobile-brandbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 11px 0 15px;
 }
 .andfff-brandbar-home{
  flex:1 1 auto;
  min-width:0;
  padding:8px 8px 8px 0;
 }
 .andfff-brandbar-actions{
  display:flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
 }
 .andfff-brandbar-legal,
 .andfff-brandbar-back{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:39px;
  color:#fff!important;
  background:rgba(255,255,255,.11);
  border:1px solid rgba(255,255,255,.16);
  border-radius:10px;
  text-decoration:none!important;
 }
 .andfff-brandbar-legal{
  gap:4px;
  padding:7px 9px;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.035em;
 }
 .andfff-brandbar-back{
  width:39px;
 }
 .andfff-brandbar-legal .dashicons,
 .andfff-brandbar-back .dashicons{
  width:18px;
  height:18px;
  font-size:18px;
  line-height:18px;
 }
}

@media(max-width:360px){
 .andfff-brandbar-legal span:last-child{display:none}
 .andfff-brandbar-legal{width:39px;padding:7px}
}

