/* BEM J6-A — versioned V2 CSS bundle. Generated; edit the source CSS files, not this bundle. */

/* CSS SOURCE: v2-shell.css */
/* BEM Architecture V2 Pilot — connected frontend ONLY. Never alters onboarding. */
.bem-l1-shell:has(.bem-v2-pilot){--v2-ink:#203431;--v2-petrol:#164B55;--v2-green:#285F4E;--v2-line:#CCD8D1;--v2-bg:#F7F7F1;--v2-sage:#E6EFE9;max-width:1450px}
.bem-v2-pilot{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0 20px!important;background:var(--v2-bg);color:var(--v2-ink)}
.bem-v2-pilot.is-drawer-open{grid-template-columns:minmax(0,1fr) 270px!important}
.bem-v2-header{grid-column:1 / -1;display:flex;align-items:center;gap:20px;background:#fff;border:1px solid var(--v2-line);border-radius:13px;padding:13px 18px;margin-bottom:23px;min-width:0}
.bem-v2-brand{font-size:18px;color:var(--v2-petrol);font-weight:800;white-space:nowrap;line-height:1.2}
.bem-v2-brand span{color:var(--v2-green)}
.bem-v2-primary{display:flex;flex-wrap:wrap;align-items:center;gap:3px;flex:1}
.bem-v2-header button,.bem-v2-context-row button,.bem-v2-drawer button{font-family:inherit;cursor:pointer}
.bem-v2-nav-button{background:transparent!important;border:0!important;border-radius:8px!important;min-height:42px;padding:9px 12px!important;color:var(--v2-petrol)!important;font-size:14px!important;font-weight:700!important}
.bem-v2-nav-button.is-active{background:var(--v2-sage)!important;box-shadow:inset 0 -3px 0 var(--v2-green);color:var(--v2-green)!important}
.bem-v2-header-actions{display:flex;align-items:center;gap:9px;margin-left:auto;white-space:nowrap}
.bem-v2-solutions,.bem-v2-menu-toggle{background:#fff!important;color:var(--v2-green)!important;border:1px solid var(--v2-line)!important;border-radius:10px!important;padding:11px 13px!important;min-height:43px;font-weight:700!important;font-size:13px!important}
.bem-v2-menu-toggle[aria-expanded="true"]{background:var(--v2-sage)!important}
.bem-v2-workspace{grid-column:1;grid-row:2;min-width:0}
.bem-v2-context-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 24px;border-bottom:1px solid var(--v2-line);padding:0 0 18px}
.bem-v2-budgetbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;min-width:0}
.bem-v2-budget-choice{display:grid;gap:6px;font-size:12px;font-weight:750;color:var(--v2-petrol);min-width:min(240px,100%)}
.bem-v2-budget-choice select{font-size:15px!important;min-height:46px!important;width:clamp(200px,22vw,340px)!important;max-width:100%!important;background:#fff!important;border:1px solid var(--v2-line)!important;border-radius:9px!important;padding:8px 34px 8px 11px!important;color:var(--v2-petrol)!important}
.bem-v2-budget-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding-bottom:2px}
.bem-v2-text-action{background:transparent!important;border:0!important;color:var(--v2-green)!important;text-decoration:underline!important;text-underline-offset:3px;font-size:13px!important;min-height:42px;padding:7px 3px!important;font-weight:650!important}
.bem-v2-monthbar{position:relative;display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin:0;padding:0;background:transparent;color:var(--v2-petrol);border:0;min-width:0}
.bem-v2-month-label{display:grid;gap:2px;min-width:140px}
.bem-v2-month-label span{font-size:11px;text-transform:uppercase;letter-spacing:.055em;color:#475C55;font-weight:750}
.bem-v2-month-label strong{font-size:17px;line-height:1.3;color:var(--v2-petrol)}
.bem-v2-month-label small{font-size:11px;color:var(--v2-green)}
.bem-v2-month-actions{display:flex;align-items:center;gap:6px}
.bem-v2-month-actions button{min-height:41px;min-width:39px;background:#fff!important;border:1px solid var(--v2-line)!important;border-radius:9px!important;color:var(--v2-petrol)!important;padding:8px!important}
.bem-v2-month-actions .bem-v2-month-pick{font-size:13px!important;padding:8px 12px!important;font-weight:650!important;white-space:nowrap}
.bem-v2-month-actions button:disabled{opacity:.35;cursor:not-allowed}
.bem-v2-month-popover{position:absolute;right:0;top:calc(100% + 12px);width:min(560px,calc(100vw - 38px));padding:18px;background:#fff;border:1px solid var(--v2-line);box-shadow:0 16px 34px #164b5520;border-radius:14px;z-index:40;max-height:min(60vh,500px);overflow:auto}
.bem-v2-month-popover .bem-month-year-controls{display:flex;align-items:center;justify-content:center;gap:20px;margin:0 0 12px}
.bem-v2-month-popover .bem-month-year-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.bem-v2-month-popover .bem-month-tile{min-width:0}
.bem-v2-month-feedback{position:absolute;right:0;top:100%;z-index:41;background:#fff;border:1px solid var(--v2-line);border-radius:8px;padding:9px;max-width:470px;color:var(--v2-petrol)}
.bem-v2-drawer{grid-column:2;grid-row:2;background:#fff;border:1px solid var(--v2-line);border-radius:13px;padding:19px 17px;min-width:0;align-self:start;position:sticky;top:18px;max-height:80vh;overflow-y:auto}
.bem-v2-drawer-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.bem-v2-drawer-title h2{color:var(--v2-petrol);font:700 22px Georgia,serif;margin:0}
.bem-v2-drawer-close{background:transparent!important;border:0!important;color:var(--v2-petrol)!important;font-size:22px!important}
.bem-v2-drawer nav{display:grid;gap:3px;margin:8px 0}
.bem-v2-drawer nav button{background:transparent!important;border:0!important;padding:10px 12px!important;text-align:left;border-radius:8px!important;font-weight:650!important;color:var(--v2-petrol)!important;font-size:14px!important}
.bem-v2-drawer nav button:hover{background:var(--v2-sage)!important}
.bem-v2-drawer-mobile-nav{display:none!important}
.bem-v2-drawer-footer{border-top:1px solid var(--v2-line);padding-top:14px;display:grid;gap:14px;margin-top:16px}
.bem-v2-drawer-footer a{color:var(--v2-green);font-size:13px;text-decoration:underline}
.bem-v2-pilot .bem-d2-panel{min-width:0}
.bem-v2-pilot .bem-d2-panel>div>h2,.bem-v2-pilot .bem-d2-panel>h2{color:var(--v2-petrol);font:700 clamp(25px,2.5vw,31px) Georgia,serif;margin:4px 0 15px}
.bem-v2-pilot .bem-ux2-summary-layout{grid-template-columns:minmax(0,1.2fr) minmax(280px,.86fr)}
.bem-v2-pilot .bem-ux2-margin{padding:25px 28px}
.bem-v2-pilot .bem-ux2-amount{font-size:clamp(36px,4vw,49px)}
.bem-v2-pilot .bem-ux2-calculation{padding:22px}
.bem-v2-pilot .bem-l4c-tabs{margin-bottom:20px}
.bem-v2-pilot .bem-l3b-list{background:#fff}
.bem-v2-pilot :is(button,select,input,textarea,summary,a):focus-visible{outline:3px solid #AD7729!important;outline-offset:3px}
@media(max-width:1220px){.bem-v2-context-row{align-items:flex-start;flex-direction:column;gap:12px}.bem-v2-budget-choice select{width:300px!important}}
@media(max-width:920px){.bem-v2-header{gap:12px;padding:12px}.bem-v2-primary{display:none}.bem-v2-header-actions{margin-left:auto}.bem-v2-drawer-mobile-nav{display:grid!important}.bem-v2-pilot.is-drawer-open{grid-template-columns:minmax(0,1fr) minmax(230px,39%)!important}.bem-v2-pilot .bem-ux2-summary-layout{grid-template-columns:1fr}}
@media(max-width:640px){.bem-v2-header{margin-bottom:16px}.bem-v2-brand{font-size:15px}.bem-v2-solutions,.bem-v2-menu-toggle{font-size:12px!important;padding:9px!important}.bem-v2-pilot.is-drawer-open{grid-template-columns:minmax(0,1fr) minmax(210px,76%)!important}.bem-v2-budgetbar,.bem-v2-budget-choice{width:100%}.bem-v2-budget-choice select{width:100%!important}.bem-v2-monthbar{width:100%;justify-content:space-between}.bem-v2-month-label{min-width:0}.bem-v2-month-label strong{font-size:15px}.bem-v2-month-actions .bem-v2-month-pick{max-width:120px;white-space:normal}.bem-v2-month-popover{right:-2px;max-width:calc(100vw - 38px)}.bem-v2-month-popover .bem-month-year-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bem-v2-pilot .bem-ux2-margin{padding:19px}.bem-v2-pilot .bem-ux2-calculation{padding:17px}}
@media(prefers-reduced-motion:reduce){.bem-v2-pilot{transition:none!important}}

/* J2 RC2 — Menu intégré dans la largeur DISPONIBLE, sans translation hors écran.
 * Desktop: grille à deux colonnes, contenu rétréci de manière fluide.
 * Mobile: panneau au-dessus du contenu (sinon les formulaires deviennent illisibles).
 * Aucun déplacement négatif de la surface centrée. */
.bem-v2-pilot{
 display:grid!important;
 grid-template-columns:minmax(0,1fr)!important;
 gap:0 16px!important;
 align-items:start;
 width:100%;max-width:100%;min-width:0;
}
.bem-v2-pilot.is-drawer-open{
 grid-template-columns:minmax(0,1fr) minmax(240px,275px)!important;
}
.bem-v2-pilot .bem-v2-surface{
 grid-column:1;grid-row:1;
 min-width:0;max-width:100%;width:100%;
 transform:none!important;
 overflow-wrap:break-word;
}
.bem-v2-pilot .bem-v2-header{display:flex;min-width:0;flex-wrap:wrap}
.bem-v2-pilot .bem-v2-workspace,
.bem-v2-pilot .bem-d2-panel{min-width:0;max-width:100%}
.bem-v2-pilot .bem-v2-drawer{
 grid-column:2;grid-row:1;
 position:sticky;top:18px;inset:auto;
 min-width:0;width:100%;max-width:100%;
 height:auto;max-height:calc(100dvh - 36px);
 z-index:10;
 background:#fff;
 border:1px solid var(--v2-line);border-radius:13px;
 padding:19px 17px;box-shadow:none;overflow-y:auto;
}
.bem-v2-pilot.is-drawer-open .bem-ux2-summary-layout{grid-template-columns:minmax(0,1fr)}
@media(max-width:1200px){
 .bem-v2-pilot.is-drawer-open .bem-v2-primary{display:none}
 .bem-v2-pilot.is-drawer-open .bem-v2-context-row{flex-wrap:wrap}
}
@media(max-width:760px){
 .bem-v2-pilot.is-drawer-open{grid-template-columns:minmax(0,1fr)!important}
 .bem-v2-pilot.is-drawer-open .bem-v2-surface{grid-column:1;grid-row:1}
 .bem-v2-pilot .bem-v2-drawer{
  position:fixed;inset:0 0 0 auto;
  width:min(300px,86vw);max-width:86vw;
  height:100dvh;max-height:100dvh;
  border-radius:0;border-top:0;border-bottom:0;border-right:0;
  padding:22px 17px;z-index:999;
  box-shadow:-12px 0 32px rgba(22,75,85,.16);
 }
}
@media(prefers-reduced-motion:reduce){.bem-v2-pilot{transition:none!important}}

/* J2 — Page boundaries: business forms keep their existing selectors. */
.bem-v2-pilot .bem-v2-page{min-width:0;max-width:100%}
.bem-v2-pilot .bem-v2-page>h2{color:#164B55;font:700 clamp(25px,2.5vw,31px) Georgia,serif;margin:5px 0 19px}
.bem-v2-pilot .bem-v2-summary-tabs{display:flex;align-items:center;gap:9px;margin:0 0 20px}
.bem-v2-pilot .bem-v2-summary-tabs .bem-l4c-tab{min-height:42px}
.bem-v2-pilot .bem-v2-page-shortcuts{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:17px 0 0}
.bem-v2-pilot .bem-v2-operation-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.bem-v2-pilot .bem-v2-forecast-body,.bem-v2-pilot .bem-v2-operations-body{min-width:0}
@media(max-width:640px){.bem-v2-pilot .bem-v2-page-shortcuts{display:grid;grid-template-columns:1fr}.bem-v2-pilot .bem-v2-page-shortcuts button{width:100%}}


/* CSS SOURCE: v2-j3a.css */
/* Budget en main — J3-A. Visual reconstruction of the connected header and Synthèse.
 * Scoped strictly to the TEST-only V2 pilot; no onboarding or PHP business changes.
 * Reference: BEM_Maquettes/ui.css and supplied 12 November 2026 screenshots. */
body.bem-application-template:has(.bem-v2-pilot){background:#F7F7F1;overflow-x:clip}
body.bem-application-template .bem-l1-shell:has(.bem-v2-pilot){
 width:min(1192px,calc(100% - 32px))!important;max-width:none!important;
 left:auto!important;transform:none!important;position:static!important;
 margin:0 auto 56px!important;padding:0!important;
 font:16px/1.5 'Segoe UI',Arial,sans-serif;color:#203431;
 transition:width .18s ease;
}
/* The drawer joins the SAME layout; the page grows to the left rather than
   compressing inside its former centred 1192px box. It never leaves viewport. */
body.bem-application-template .bem-l1-shell:has(.bem-v2-pilot.is-drawer-open){
 width:min(1480px,calc(100% - 32px))!important;
}
.bem-l1-shell .bem-v2-pilot{--v2-petrol:#164B55;--v2-green:#285F4E;--v2-bg:#F7F7F1;--v2-sage:#E6EFE9;--v2-line:#CCD8D1;
 background:#F7F7F1!important;max-width:100%!important;gap:0 16px!important;
}
.bem-v2-pilot .bem-v2-surface{max-width:100%!important;min-width:0}
/* Three balanced columns centre the PRIMARY navigation in the viewport,
   independently of the different widths of brand and account actions. */
.bem-v2-pilot .bem-v2-header{
 position:relative;isolation:isolate;box-sizing:border-box;left:auto;
 transform:none!important;width:100%;max-width:100%;min-height:74px;
 display:grid;grid-template-columns:minmax(175px,1fr) auto minmax(175px,1fr);
 align-items:center;gap:14px;flex-wrap:nowrap;
 margin:0 0 26px;padding:0 14px;
 background:#fff;border:0;border-bottom:1px solid #CCD8D1;border-radius:0;
 overflow:visible;
}
/* Full-width white header background, but never a full-viewport element that
   escapes the two-column drawer grid. */
.bem-v2-pilot .bem-v2-header::before{
 content:'';position:absolute;z-index:-1;top:0;bottom:0;left:50%;
 width:100vw;transform:translateX(-50%);background:#fff;
 border-bottom:1px solid #CCD8D1;pointer-events:none;
}
/* Restore the horizontal wordmark from J2/previously approved UI; no
   two-line mockup mark and no decorative ochre dash in this header. */
.bem-v2-pilot .bem-v2-brand{
 display:block;justify-self:start;flex:none;margin:0;white-space:nowrap;
 font:800 18px/1.2 'Segoe UI',Arial,sans-serif!important;
 letter-spacing:normal;color:#164B55!important;
}
.bem-v2-pilot .bem-v2-brand span{
 display:inline;position:static;color:#285F4E!important;
}
.bem-v2-pilot .bem-v2-brand span:before{content:none!important;display:none!important}
.bem-v2-pilot .bem-v2-primary{
 display:flex;justify-self:center;justify-content:center;flex:none;
 align-items:center;flex-wrap:nowrap;gap:2px;min-width:0;
}
.bem-v2-pilot .bem-v2-nav-button{
 min-height:42px;padding:9px 13px!important;font-size:14px!important;
 border-radius:8px!important;border:0!important;color:#164B55!important;
 font-weight:600!important;background:transparent!important;white-space:nowrap;
}
.bem-v2-pilot .bem-v2-nav-button.is-active{
 background:#E6EFE9!important;color:#164B55!important;box-shadow:inset 0 -3px #285F4E;
}
.bem-v2-pilot .bem-v2-header-actions{gap:14px;margin:0;justify-self:end;flex-shrink:0}
.bem-v2-pilot .bem-v2-solutions,.bem-v2-pilot .bem-v2-menu-toggle{
 border:0!important;border-radius:7px!important;background:transparent!important;
 padding:8px 10px!important;min-height:42px;color:#164B55!important;
 font-size:14px!important;font-weight:600!important;
}
.bem-v2-pilot .bem-v2-menu-toggle[aria-expanded='true']{background:#E6EFE9!important}
.bem-v2-pilot .bem-v2-workspace{padding:0 32px 44px;min-width:0}
.bem-v2-pilot .bem-d2-panel{padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.bem-v2-pilot .bem-v2-page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px;min-width:0}
.bem-v2-pilot .bem-v2-page-heading>h2{
 font:700 32px/1.2 Georgia,'Times New Roman',serif!important;color:#164B55!important;
 margin:0!important;letter-spacing:-.02em;
}
.bem-v2-pilot .bem-v2-summary-context{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.bem-v2-pilot .bem-v2-budgetbar.is-compact{gap:0;flex-wrap:nowrap}
.bem-v2-pilot .bem-v2-budgetbar.is-compact .bem-v2-budget-choice{display:block;min-width:0}
.bem-v2-pilot .bem-v2-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.bem-v2-pilot .bem-v2-budgetbar.is-compact .bem-v2-budget-choice select{
 width:min(170px,24vw)!important;min-width:115px!important;max-width:210px!important;
 min-height:41px!important;padding:8px 26px 8px 12px!important;
 font-size:14px!important;font-weight:500!important;border-radius:8px!important;
 color:#164B55!important;background:#fff!important;border:1px solid #CCD8D1!important;
}
.bem-v2-pilot .bem-v2-monthbar.is-compact{gap:0;flex-wrap:nowrap;max-width:100%;margin:0}
.bem-v2-pilot .bem-v2-monthbar.is-compact .bem-v2-month-actions{display:flex;gap:3px;flex-wrap:nowrap}
.bem-v2-pilot .bem-v2-monthbar.is-compact .bem-v2-month-actions>button{
 min-width:30px;min-height:41px;padding:8px 9px!important;border-radius:8px!important;
 font-size:15px!important;color:#164B55!important;border:1px solid #CCD8D1!important;
}
.bem-v2-pilot .bem-v2-monthbar.is-compact .bem-v2-month-actions>.bem-v2-month-pick{
 min-width:132px;max-width:200px;white-space:nowrap;font-size:14px!important;font-weight:500!important;
}
.bem-v2-pilot .bem-v2-summary-tabs{margin:0 0 20px;gap:3px}
.bem-v2-pilot .bem-v2-summary-tabs .bem-l4c-tab{
 background:transparent!important;border:0!important;border-radius:8px!important;
 box-shadow:none;color:#164B55!important;min-height:43px;padding:10px 14px!important;
 font-size:15px!important;font-weight:500!important;
}
.bem-v2-pilot .bem-v2-summary-tabs .bem-l4c-tab.is-active{
 background:#E6EFE9!important;box-shadow:inset 0 -3px 0 #285F4E;
}
.bem-v2-pilot .bem-v2-summary-body .bem-ux2-summary-layout{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:stretch;
}
.bem-v2-pilot .bem-v2-summary-body .bem-ux2-margin{
 background:#E6EFE9!important;border:0!important;border-radius:16px!important;
 padding:28px 32px!important;min-height:300px;display:flex;flex-direction:column;align-items:flex-start;
}
.bem-v2-pilot .bem-v2-summary-body .bem-ux2-margin h3{
 font:700 23px/1.25 Georgia,serif!important;margin:0 0 18px!important;color:#164B55!important;
}
.bem-v2-pilot .bem-v2-summary-body .bem-ux2-amount{
 font:700 clamp(36px,3.7vw,48px)/1.14 'Segoe UI',Arial,sans-serif!important;
 color:#164B55!important;letter-spacing:-.025em;white-space:normal;font-variant-numeric:tabular-nums;
}
.bem-v2-pilot .bem-v2-summary-body .bem-ux2-margin>p{font-size:15px!important;margin:13px 0 8px!important;line-height:1.55}
.bem-v2-pilot .bem-v2-summary-body .bem-ux2-actions{margin:7px 0 9px!important}
.bem-v2-pilot .bem-v2-summary-body .bem-ux2-margin .bem-l2-secondary{
 background:#285F4E!important;border:1px solid #285F4E!important;color:#fff!important;
 border-radius:8px!important;font-size:14px!important;padding:10px 14px!important;min-height:44px;
}
.bem-v2-pilot .bem-v2-summary-body .bem-ux3-context-link{
 display:inline-block;margin:4px 0 0;padding:8px 12px 8px 0!important;
 text-decoration:underline;text-underline-offset:3px;border:0!important;
 background:transparent!important;color:#285F4E!important;font-size:15px!important;
}
.bem-v2-pilot .bem-v2-summary-body .bem-ux2-calculation{
 background:#fff!important;border:1px solid #CCD8D1!important;border-radius:14px!important;
 padding:24px!important;box-shadow:none;min-width:0;
}
.bem-v2-pilot .bem-v2-summary-body .bem-ux2-calculation>summary{
 font:700 23px/1.2 Georgia,serif!important;color:#164B55!important;
 list-style:none;cursor:pointer;margin:2px 0 12px;
}
.bem-v2-pilot .bem-v2-summary-body .bem-ux2-calculation>summary::-webkit-details-marker{display:none}
.bem-v2-pilot .bem-v2-summary-body .bem-ux2-calculation>summary:before{content:'▾ ';font:600 12px 'Segoe UI',sans-serif;vertical-align:middle}
.bem-v2-pilot .bem-v2-summary-body .bem-ux2-calculation dl{
 display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 16px;margin:0 0 8px!important;
 font-size:15px!important;
}
.bem-v2-pilot .bem-v2-summary-body .bem-ux2-calculation dt,
.bem-v2-pilot .bem-v2-summary-body .bem-ux2-calculation dd{
 margin:0;min-width:0;padding:13px 0;border-top:1px solid #CCD8D1;color:#203431;
 font-size:15px!important;line-height:1.45;
}
.bem-v2-pilot .bem-v2-summary-body .bem-ux2-calculation dd{
 font-weight:700;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;
}
.bem-v2-pilot .bem-v2-summary-body .bem-ux2-calculation p{
 font-size:13px!important;color:#475C55;margin:13px 0 0;line-height:1.5;
}
.bem-v2-pilot .bem-v2-summary-body .bem-ux2-goals{
 margin-top:0;background:#fff!important;border:1px solid #CCD8D1!important;
 border-radius:14px!important;padding:23px!important;
}
.bem-v2-pilot .bem-v2-savings-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.bem-v2-pilot .bem-v2-savings-heading h3{font:700 23px/1.2 Georgia,serif!important;margin:0!important}
.bem-v2-pilot .bem-v2-savings-link{background:transparent!important;border:0!important;color:#285F4E!important;text-decoration:underline;text-underline-offset:3px;padding:7px!important;font-weight:600!important}
.bem-v2-pilot .bem-v2-savings-overview p{margin:10px 0 0;font-size:15px!important}
/* Réel: faithful card hierarchy; data are taken exclusively from real-summary API. */
.bem-v2-pilot .bem-v2-real-dashboard{display:grid;gap:17px}
.bem-v2-pilot .bem-v2-real-hero{
 border:0;border-radius:16px;background:#E6EFE9;padding:28px 32px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;
}
.bem-v2-pilot .bem-v2-real-hero.is-deficit{background:#FCF1ED}
.bem-v2-pilot .bem-v2-real-hero h3,
.bem-v2-pilot .bem-v2-real-card h3{font:700 23px/1.2 Georgia,serif!important;margin:0!important;color:#164B55!important}
.bem-v2-pilot .bem-v2-real-hero .bem-v2-real-amount{
 font-size:clamp(36px,4vw,48px);font-weight:700;letter-spacing:-.02em;color:#164B55;font-variant-numeric:tabular-nums;
}
.bem-v2-pilot .bem-v2-real-hero.is-deficit .bem-v2-real-amount{color:#983E34}
.bem-v2-pilot .bem-v2-real-hero>p{font-size:15px!important;margin:0!important}
.bem-v2-pilot .bem-v2-real-hero .bem-l2-primary{background:#285F4E!important;color:white!important;border-radius:8px!important;padding:10px 14px!important;min-height:44px}
.bem-v2-pilot .bem-v2-real-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.bem-v2-pilot .bem-v2-real-card{
 background:#fff;border:1px solid #CCD8D1;border-radius:14px;padding:23px;min-width:0;
}
.bem-v2-pilot .bem-v2-real-card h3{font-size:21px!important;margin-bottom:13px!important}
.bem-v2-pilot .bem-v2-real-card p{margin:0 0 8px;font-size:15px!important;line-height:1.5}
.bem-v2-pilot .bem-v2-real-text-link{
 border:0!important;border-radius:0!important;background:transparent!important;color:#285F4E!important;
 padding:5px 0!important;font-size:14px!important;text-decoration:underline;text-underline-offset:3px;
 font-weight:600!important;
}
.bem-v2-pilot .bem-v2-real-envelope-list{display:grid;grid-template-columns:minmax(0,1fr);margin-top:5px}
.bem-v2-pilot .bem-v2-real-envelope{
 display:flex;justify-content:space-between;align-items:center;gap:15px;
 border-top:1px solid #CCD8D1;padding:12px 0;font-size:14px;
}
.bem-v2-pilot .bem-v2-real-envelope strong{white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right}
.bem-v2-pilot .bem-v2-real-envelope strong.is-deficit{color:#983E34}
.bem-v2-pilot .bem-v2-real-savings{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.bem-v2-pilot .bem-v2-real-savings p{margin:0}
.bem-v2-pilot .bem-v2-real-note{font-size:13px;color:#475C55;margin:0}
/* Drawer open: keep the previous visual scale and alignment, no clipped
   left margin and no header reflow. Header and content share the left column. */
.bem-v2-pilot.is-drawer-open .bem-v2-header{
 width:100%!important;left:auto;transform:none!important;
 margin-left:0;padding:0 14px;
}
.bem-v2-pilot.is-drawer-open .bem-v2-workspace{padding:0 14px 40px}
.bem-v2-pilot.is-drawer-open .bem-v2-page-heading{flex-wrap:wrap}
@media(max-width:1200px){
 .bem-v2-pilot.is-drawer-open .bem-v2-header{grid-template-columns:minmax(0,1fr) auto}
 .bem-v2-pilot.is-drawer-open .bem-v2-primary{display:none}
}
@media(max-width:1090px){
 .bem-v2-pilot .bem-v2-header{gap:12px;padding-inline:14px}
 .bem-v2-pilot .bem-v2-nav-button{padding-inline:8px!important;font-size:13px!important}
}
@media(max-width:920px){
 .bem-v2-pilot .bem-v2-header{grid-template-columns:minmax(0,1fr) auto}
 .bem-v2-pilot .bem-v2-primary{display:none}
}
@media(max-width:920px){
 .bem-v2-pilot .bem-v2-primary{display:none}
 .bem-v2-pilot .bem-v2-summary-body .bem-ux2-summary-layout{grid-template-columns:minmax(0,1fr)}
 .bem-v2-pilot .bem-v2-summary-body .bem-ux2-margin{min-height:0}
}
@media(max-width:700px){
 body.bem-application-template .bem-l1-shell:has(.bem-v2-pilot){width:calc(100% - 20px)!important}
 .bem-v2-pilot .bem-v2-header{min-height:65px;margin-bottom:20px;padding-inline:16px;grid-template-columns:minmax(0,1fr) auto}
 .bem-v2-pilot .bem-v2-workspace{padding:0 5px 32px}
 .bem-v2-pilot .bem-v2-page-heading{align-items:flex-start;flex-direction:column;gap:12px}
 .bem-v2-pilot .bem-v2-page-heading>h2{font-size:28px!important}
 .bem-v2-pilot .bem-v2-summary-context{width:100%;justify-content:flex-start;gap:8px}
 .bem-v2-pilot .bem-v2-budgetbar.is-compact .bem-v2-budget-choice select{width:clamp(114px,31vw,190px)!important}
 .bem-v2-pilot .bem-v2-monthbar.is-compact .bem-v2-month-actions>.bem-v2-month-pick{min-width:0;max-width:170px;font-size:12px!important}
 .bem-v2-pilot .bem-v2-monthbar.is-compact .bem-v2-month-actions>button{padding:8px 6px!important;min-width:27px}
 .bem-v2-pilot .bem-v2-summary-body .bem-ux2-margin,.bem-v2-pilot .bem-v2-real-hero{padding:21px 18px!important}
 .bem-v2-pilot .bem-v2-summary-body .bem-ux2-calculation,.bem-v2-pilot .bem-v2-real-card{padding:19px!important}
 .bem-v2-pilot .bem-v2-real-stats{grid-template-columns:1fr;gap:12px}
 .bem-v2-pilot .bem-v2-real-envelope{align-items:flex-start}
}
@media(max-width:390px){
 .bem-v2-pilot .bem-v2-summary-context{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}
 .bem-v2-pilot .bem-v2-budgetbar.is-compact .bem-v2-budget-choice select{width:100%!important;max-width:100%!important}
 .bem-v2-pilot .bem-v2-monthbar.is-compact{justify-content:flex-start}
 .bem-v2-pilot .bem-v2-real-envelope strong{white-space:normal}
}


/* CSS SOURCE: v2-onboarding.css */
/* J3-A RC2 - maquettes onboarding : l'interface seulement.
 * Adapter l'organisation des 6 étapes à la référence debut.html.
 * Respecter le logo précédemment approuvé, pas le wordmark de démonstration.
 * Aucun calcul, quota, endpoint ou données du brouillon ne change. */
body.bem-application-template:has(.bem-ux1-onboarding){background:#F7F7F1;overflow-x:clip}
body.bem-application-template .bem-l1-shell:has(.bem-ux1-onboarding){
  box-sizing:border-box;position:relative;left:50%;transform:translateX(-50%);
  width:min(1140px,calc(100vw - 32px));max-width:none!important;
  margin:0 0 55px!important;padding:0!important;
  --bem-blue:#164B55;--bem-green:#285F4E;--bem-border:#CCD8D1;
  --bem-ink:#203431;--bem-muted:#475C55;
  font:16px/1.5 'Segoe UI',Arial,sans-serif;
}
.bem-ux1-onboarding{position:relative;overflow:visible}
/* Bandeau blanc, continu sur la fenêtre, mais contenu limité à 1140px. */
.bem-ux1-onboarding .bem-ux1-onboarding-head{
 position:relative;isolation:isolate;min-height:74px;display:flex;align-items:center;
 justify-content:space-between;gap:18px;
 margin:0 0 29px;padding:0 6px!important;background:#fff!important;
 border:0!important;border-radius:0!important;
}
.bem-ux1-onboarding .bem-ux1-onboarding-head::before{
 content:'';position:absolute;z-index:-1;top:0;bottom:0;left:50%;
 width:100vw;transform:translateX(-50%);background:#fff;
 border-bottom:1px solid #dce3da;pointer-events:none;
}
/* Logo historique inline, non le logo de la maquette. */
.bem-ux1-onboarding .bem-ux1-onboarding-head>strong{
 font:800 19px/1.2 'Segoe UI',Arial,sans-serif!important;
 letter-spacing:normal!important;white-space:nowrap;color:#164B55!important;
}
.bem-ux1-onboarding .bem-ux1-onboarding-head>strong span{color:#285F4E!important}
.bem-ux1-onboarding .bem-ux1-onboarding-head>div{gap:18px}
.bem-ux1-onboarding .bem-ux1-onboarding-head :is(button,a){
 color:#164B55!important;font-size:14px!important;font-weight:600!important;
}
/* La progression n'est pas une carte ; chaque étape possède un trait de repère. */
.bem-ux1-onboarding .bem-l2-steps{
 display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;
 background:transparent!important;border:0!important;border-radius:0!important;
 padding:0!important;margin:0 0 25px!important;
}
.bem-ux1-onboarding .bem-l2-step{
 justify-content:flex-start;text-align:left;min-height:48px;
 padding:8px 2px 10px!important;border:0!important;
 border-bottom:3px solid #D3DCD2!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;
 color:#475C55!important;font-size:14px!important;font-weight:500!important;
}
.bem-ux1-onboarding .bem-l2-step.is-current{
 border-bottom:3px solid #285F4E!important;background:transparent!important;
 color:#164B55!important;box-shadow:none!important;
}
.bem-ux1-onboarding .bem-l2-step.is-past{color:#203431!important}
.bem-ux1-onboarding .bem-l2-stepnum{
 flex:none;width:26px;height:26px;border:0!important;border-radius:50%;
 background:#E3E9E0;color:#285F4E;font-weight:700;font-size:13px;
}
.bem-ux1-onboarding .bem-l2-step.is-current .bem-l2-stepnum{
 color:#fff!important;background:#175B50!important;
}
.bem-ux1-onboarding .bem-l2-step.is-past .bem-l2-stepnum{background:#D1E4D6!important}
/* Une carte principale complète, titre + formulaire + boutons. */
.bem-ux1-onboarding .bem-l2-layout{grid-template-columns:minmax(0,1fr) 260px;gap:22px;align-items:start}
.bem-ux1-onboarding .bem-l2-layout.is-first,
.bem-ux1-onboarding .bem-l2-layout.is-bilan{
 grid-template-columns:minmax(0,1fr)!important;max-width:760px;margin-inline:auto;
}
.bem-ux1-onboarding .bem-v2-onboarding-card{
 min-width:0;padding:clamp(22px,3vw,38px)!important;
 border:1px solid #DCE3DA!important;border-radius:18px!important;
 background:#fff!important;box-shadow:0 4px 16px rgba(40,64,42,.032)!important;
}
.bem-ux1-onboarding .bem-l2-section-heading{
 border-bottom:1px solid #E3E8DE!important;margin:0 0 22px!important;padding:0 0 20px!important;
}
.bem-ux1-onboarding .bem-l2-section-heading h2{
 font:600 clamp(27px,3vw,37px)/1.15 Georgia,'Times New Roman',serif!important;
 letter-spacing:-.025em;color:#164B55!important;margin:0 0 9px!important;
}
.bem-ux1-onboarding .bem-ux1-intro{max-width:62ch;font-size:15px!important;color:#475C55!important}
.bem-ux1-onboarding .bem-l2-section{
 margin:0!important;padding:0!important;background:transparent!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
}
.bem-ux1-onboarding .bem-l2-section>.bem-l2-muted{color:#475C55!important;font-size:14px!important;margin:0 0 14px!important;font-weight:400!important}
.bem-ux1-onboarding .bem-ux1-examples-help{font-size:14px!important;margin:0 0 12px!important;color:#52645A!important}
/* Étape 1 : le badge du mois et les deux champs partagent la carte principale. */
.bem-ux1-onboarding .bem-l2-layout.is-first .bem-l2-budget-fields{
 max-width:none!important;width:100%;display:flex;flex-direction:column;
 gap:15px!important;padding:0!important;border:0!important;
 border-radius:0!important;box-shadow:none!important;background:transparent!important;
}
.bem-ux1-onboarding .bem-creb-onboarding-month{
 display:table;align-self:flex-start;order:-1;
 padding:5px 10px!important;margin:0 0 8px!important;
 border:0!important;border-radius:8px!important;background:#EDF4E9!important;
 font-size:14px!important;color:#365B43!important;
}
.bem-ux1-onboarding .bem-creb-onboarding-month p{display:none}
.bem-ux1-onboarding .bem-l2-layout.is-first .bem-l2-budget-fields>.bem-l2-field{width:min(430px,100%)}
.bem-ux1-onboarding .bem-l2-budget-help{max-width:500px;margin:-5px 0 0!important;color:#52645A!important;font-size:14px!important}
/* Unit is kept inside the field, as in the approved onboarding. */
.bem-ux1-onboarding .bem-l2-control:has(input[inputmode="decimal"]){position:relative}
.bem-ux1-onboarding .bem-l2-control:has(input[inputmode="decimal"]) input{padding-right:30px!important}
.bem-ux1-onboarding .bem-l2-control:has(input[inputmode="decimal"])::after{
 content:'€';position:absolute;right:13px;top:50%;transform:translateY(-50%);
 color:#52645A;font-size:14px;pointer-events:none;
}
/* Cartes de lignes du modèle plutôt que tableau. */
.bem-ux1-onboarding .bem-l2-table{display:block;margin:10px 0 16px!important;padding:0!important;border:0!important;background:transparent!important}
.bem-ux1-onboarding .bem-l2-entry{
 display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.95fr);
 gap:10px 12px;align-items:end;
 padding:14px!important;margin:10px 0!important;
 border:1px solid #DCE3D9!important;border-radius:12px!important;
 background:#FAFBF7!important;
}
.bem-ux1-onboarding .bem-l2-entry:nth-child(2n+1){background:#FAFBF7!important}
.bem-ux1-onboarding .bem-l2-entry:focus-within{background:#F0F7F1!important;box-shadow:inset 3px 0 #285F4E}
.bem-ux1-onboarding .bem-l2-entry>.bem-l2-label-choice{grid-column:1;grid-row:1}
.bem-ux1-onboarding .bem-l2-entry>.bem-l2-amount{grid-column:2;grid-row:1}
.bem-ux1-onboarding .bem-l2-entry>.bem-l2-date{grid-column:1;grid-row:2;max-width:200px}
.bem-ux1-onboarding .bem-l2-entry>.bem-l2-check{
 grid-column:2;grid-row:2;min-height:42px;padding-right:64px;
 color:#203431!important;font-size:13px!important;align-items:center;
}
.bem-ux1-onboarding .bem-l2-entry>.bem-l2-remove{
 grid-column:2;grid-row:2;justify-self:end;align-self:center;
 min-width:56px;width:auto;height:auto;min-height:36px;
 padding:6px!important;background:transparent!important;border:0!important;
 color:#285F4E!important;font-size:0!important;font-weight:500!important;
}
.bem-ux1-onboarding .bem-l2-entry>.bem-l2-remove::after{content:'Retirer';font-size:13px}
.bem-ux1-onboarding .bem-l2-entry:not(:has(>.bem-l2-date))>.bem-l2-remove{
 grid-column:2;grid-row:2;
}
.bem-ux1-onboarding .bem-l2-entry .bem-l2-field>span:first-child{
 display:block;font-size:13px!important;font-weight:650!important;color:#164B55!important;
}
.bem-ux1-onboarding .bem-l2-field input,
.bem-ux1-onboarding .bem-l2-field select{
 background:#fff!important;border:1px solid #B7C6BF!important;
 min-height:43px!important;border-radius:8px!important;color:#203431!important;
}
.bem-ux1-onboarding .bem-l2-field input:focus-visible,
.bem-ux1-onboarding .bem-l2-field select:focus-visible{
 outline:3px solid #BA852A!important;outline-offset:2px;
}
.bem-ux1-onboarding .bem-l2-add{
 background:#fff!important;border:1px solid #AFC2B9!important;
 border-radius:8px!important;color:#285F4E!important;min-height:42px!important;
}
.bem-ux1-onboarding .bem-l2-add:hover:not(:disabled){background:#EAF3EE!important}
.bem-ux1-onboarding .bem-ux1-section-total{
 border-radius:0!important;border:0!important;border-top:1px solid #DCE3DA!important;
 background:transparent!important;padding:14px 0!important;margin:22px 0 0!important;
}
/* Actions et progression : primaire à droite, secondaire à gauche. */
.bem-ux1-onboarding .bem-l2-actions{
 display:flex;align-items:center;justify-content:space-between;
 flex-wrap:wrap;gap:10px;margin:24px 0 0!important;
 padding:18px 0 0;border-top:1px solid #E2E7DF;
}
.bem-ux1-onboarding .bem-l2-actions .bem-l2-primary:first-child{margin-left:auto}
.bem-ux1-onboarding .bem-l2-primary{border-radius:8px!important;background:#175B50!important;border-color:#175B50!important}
.bem-ux1-onboarding .bem-ux1-registration-help{margin:14px 0 0!important;max-width:58ch;color:#52645A;font-size:13px!important}
/* Récapitulatif latéral et résumé final. */
.bem-ux1-onboarding .bem-l2-aside{
 display:block!important;position:sticky;top:15px;
 background:#F0F5ED!important;border:1px solid #DCE3DA!important;
 padding:20px!important;border-radius:18px!important;box-shadow:none!important;
}
.bem-ux1-onboarding .bem-l2-aside-title .bem-l2-side-mark{display:none!important}
.bem-ux1-onboarding .bem-l2-aside h3{font:600 23px/1.2 Georgia,serif!important;color:#164B55!important}
.bem-ux1-onboarding .bem-l2-side-totals{gap:0!important;border:0!important;padding:0!important}
.bem-ux1-onboarding .bem-l2-side-totals dt,
.bem-ux1-onboarding .bem-l2-side-totals dd{
 margin:0!important;padding:10px 0!important;
 border-bottom:1px solid #E2E7DF!important;font-size:13px!important;
}
.bem-ux1-onboarding .bem-l2-margin{
 background:#E8F1E5;border:0!important;border-radius:9px;
 padding:12px!important;margin-top:14px!important;
}
.bem-ux1-onboarding .bem-l2-margin strong{font-size:23px!important}
.bem-ux1-onboarding .bem-l2-recap-top{
 align-items:center;border:0!important;padding:0 0 15px!important;margin:0!important;
}
.bem-ux1-onboarding .bem-l2-recap-panels{
 grid-template-columns:minmax(0,1fr)!important;gap:14px!important;margin:0 0 15px!important;
}
.bem-ux1-onboarding .bem-l2-recap-totals{
 display:grid;grid-template-columns:minmax(0,1fr) auto;
 padding:0!important;border:0!important;border-radius:0!important;
 gap:0 15px!important;margin:0!important;
}
.bem-ux1-onboarding .bem-l2-recap-totals dt,
.bem-ux1-onboarding .bem-l2-recap-totals dd{
 border-bottom:1px solid #E2E7DF;padding:13px 0!important;font-size:15px!important;
}
.bem-ux1-onboarding .bem-l2-recap-highlight{padding:12px!important;border:0!important;background:#E8F1E5!important;border-radius:9px!important}
.bem-ux1-onboarding .bem-l2-recap-highlight>strong{font-size:26px!important}
.bem-ux1-onboarding .bem-ux2-recap-actions{margin:15px 0!important}
.bem-ux1-onboarding .bem-l2-account{
 max-width:none!important;margin-top:24px!important;padding:22px 0 0!important;
 border:0!important;border-top:1px solid #DCE3DA!important;
 border-radius:0!important;box-shadow:none!important;background:transparent!important;
}
.bem-ux1-onboarding .bem-l2-account form{display:grid;grid-template-columns:minmax(0,1fr);gap:11px;margin-top:15px}
.bem-ux1-onboarding .bem-l2-account form>.bem-l2-primary{grid-column:1;justify-self:start}
.bem-ux1-onboarding .bem-l2-account .bem-l2-password{max-width:none}
/* Tablet: put summary below only when space cannot fit 2 columns. */
@media (max-width:900px){
 .bem-ux1-onboarding .bem-l2-layout:not(.is-first):not(.is-bilan){grid-template-columns:minmax(0,1fr)!important}
 .bem-ux1-onboarding .bem-l2-layout:not(.is-first):not(.is-bilan) .bem-l2-aside{display:none!important}
}
@media (max-width:620px){
 body.bem-application-template .bem-l1-shell:has(.bem-ux1-onboarding){width:calc(100vw - 24px)!important;margin-top:0!important}
 .bem-ux1-onboarding .bem-ux1-onboarding-head{min-height:60px!important;margin-bottom:18px!important;padding:0 4px!important}
 .bem-ux1-onboarding .bem-ux1-onboarding-head>strong{font-size:17px!important}
 .bem-ux1-onboarding .bem-l2-steps{display:none!important}
 .bem-ux1-onboarding .bem-ux1-mobile-progress{
  display:flex!important;margin:0 0 18px!important;padding:12px!important;
  background:#EDF4E9!important;border-radius:8px!important;border:0!important;
 }
 .bem-ux1-onboarding .bem-v2-onboarding-card{padding:19px!important;border-radius:12px!important}
 .bem-ux1-onboarding .bem-l2-section-heading h2{font-size:26px!important}
 .bem-ux1-onboarding .bem-l2-entry{padding:11px!important;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important}
 .bem-ux1-onboarding .bem-l2-entry>.bem-l2-date{max-width:100%}
 .bem-ux1-onboarding .bem-l2-entry>.bem-l2-check{padding-right:56px;font-size:12px!important}
 .bem-ux1-onboarding .bem-l2-actions>.bem-l2-primary{width:100%;order:-1}
 .bem-ux1-onboarding .bem-l2-actions>.bem-l2-secondary{width:auto;min-width:0}
 .bem-ux1-onboarding .bem-l2-recap-edit{grid-template-columns:1fr!important}
}
@media (max-width:370px){
 .bem-ux1-onboarding .bem-l2-entry{grid-template-columns:1fr!important}
 .bem-ux1-onboarding .bem-l2-entry>.bem-l2-label-choice{grid-column:1;grid-row:auto}
 .bem-ux1-onboarding .bem-l2-entry>.bem-l2-amount{grid-column:1;grid-row:auto}
 .bem-ux1-onboarding .bem-l2-entry>.bem-l2-date{grid-column:1;grid-row:auto}
 .bem-ux1-onboarding .bem-l2-entry>.bem-l2-check{grid-column:1;grid-row:auto}
 .bem-ux1-onboarding .bem-l2-entry>.bem-l2-remove{grid-column:1;grid-row:auto}
}


/* CSS SOURCE: v2-j3b.css */
/* BEM Architecture V2 — J3-B : Présentation connectée.
 * Référence : maquettes interactives, captures validées du 12/11/2026.
 * Strictement V2 : aucun impact sur l'onboarding ni sur ?bem_v2=0.
 * Aucune opération financière ne dépend de cette feuille CSS. */

/* Shared contextual heading: replaces the old stacked budget/month toolbar. */
.bem-v2-pilot .bem-v2-page-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;min-width:0}
.bem-v2-pilot .bem-v2-page-heading>h2 {font:700 32px/1.2 Georgia,'Times New Roman',serif!important;color:#164B55!important;margin:0!important}
.bem-v2-pilot .bem-v2-page-heading .bem-v2-summary-context{display:flex;align-items:center;gap:8px;min-width:0;justify-content:flex-end}
.bem-v2-pilot .bem-v2-page-heading .bem-v2-budget-choice select {max-width:190px!important}
.bem-v2-pilot .bem-v2-forecast-page,.bem-v2-pilot .bem-v2-operations-page,.bem-v2-pilot .bem-v2-savings-page,.bem-v2-pilot .bem-v2-history-page{padding-top:0}
.bem-v2-pilot .bem-v2-forecast-body,.bem-v2-pilot .bem-v2-operations-body,.bem-v2-pilot .bem-v2-savings-page>.bem-l5a-area,.bem-v2-pilot .bem-v2-history-page>.bem-l7b23-history{width:min(800px,100%);margin-inline:auto;min-width:0}
.bem-v2-pilot .bem-v2-page :is(button,a){text-underline-offset:3px}
.bem-v2-pilot .bem-v2-page :is(.bem-l2-primary,.bem-l2-secondary){min-height:42px;border-radius:8px!important;font-size:14px!important;padding:9px 13px!important}
.bem-v2-pilot .bem-v2-page .bem-l2-primary{background:#285F4E!important;border:1px solid #285F4E!important;color:#fff!important}
.bem-v2-pilot .bem-v2-page .bem-l2-secondary{background:#fff!important;border:1px solid #CCD8D1!important;color:#164B55!important}
.bem-v2-pilot .bem-v2-page .bem-l2-text-btn{background:transparent!important;border:0!important;color:#285F4E!important;text-decoration:underline!important;text-decoration-thickness:1px!important;white-space:normal!important}
.bem-v2-pilot .bem-v2-page :is(input,select,textarea){max-width:100%;border:1px solid #97AAA0!important;background:#fff!important;color:#203431!important;border-radius:7px!important;min-height:42px!important}

/* Prévisions: list cards and compact rows, like the approved mockup. */
.bem-v2-pilot .bem-v2-forecast-body .bem-l3b-editor-area{border:0!important;padding:0!important;margin:0!important;display:flex;flex-direction:column;gap:12px}
.bem-v2-pilot .bem-v2-forecast-body .bem-ux2-section-intro{font-size:15px!important;margin:0 0 4px!important;color:#475C55}
.bem-v2-pilot .bem-v2-forecast-body>.bem-l3b-editor-area>p.bem-l2-muted{font-size:13px!important;margin:0 0 7px!important;color:#475C55}
.bem-v2-pilot .bem-v2-forecast-body .bem-creb-empty{margin:2px 0 12px;background:#E6EFE9;border-radius:12px;border:1px solid #CCD8D1;padding:18px}
.bem-v2-pilot .bem-v2-forecast-body .bem-l3b-list{
 background:#fff!important;border:1px solid #CCD8D1!important;border-radius:14px!important;
 padding:18px 22px!important;margin:0 0 2px!important;min-width:0;box-shadow:none!important;
}
.bem-v2-pilot .bem-v2-forecast-body .bem-ux2-plan-heading{
 display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;
 border-bottom:1px solid #CCD8D1;padding-bottom:11px;margin:0 0 1px;
}
.bem-v2-pilot .bem-v2-forecast-body .bem-ux2-plan-heading h4,
.bem-v2-pilot .bem-v2-forecast-body .bem-l3b-list>h4{
 font:700 23px/1.2 Georgia,serif!important;color:#164B55!important;margin:0!important;
}
.bem-v2-pilot .bem-v2-forecast-body .bem-ux2-plan-heading strong{font-size:15px;font-weight:700;color:#203431;font-variant-numeric:tabular-nums}
.bem-v2-pilot .bem-v2-forecast-body .bem-l3b-row{
 background:transparent!important;border:0!important;border-bottom:1px solid #CCD8D1!important;
 margin:0!important;padding:12px 0!important;display:flex;align-items:center;gap:10px;min-width:0;
}
.bem-v2-pilot .bem-v2-forecast-body .bem-l3b-row:last-of-type{border-bottom:0!important}
.bem-v2-pilot .bem-v2-forecast-body .bem-l3b-row-label{display:flex;flex-direction:column;gap:1px;font-size:15px;font-weight:500;color:#203431;min-width:90px}
.bem-v2-pilot .bem-v2-forecast-body .bem-l3b-row-label small{font-size:12px;font-weight:400;color:#475C55}
.bem-v2-pilot .bem-v2-forecast-body .bem-l3b-row>strong{white-space:nowrap;font-size:14px;color:#203431;font-variant-numeric:tabular-nums;margin-left:auto}
.bem-v2-pilot .bem-v2-forecast-body .bem-l3b-list>.bem-l2-secondary{margin-top:12px!important}
.bem-v2-pilot .bem-v2-forecast-body .bem-l3b-editor-area>.bem-l3b-row{
 border-top:1px solid #CCD8D1!important;margin:3px 0!important;
}
.bem-v2-pilot .bem-v2-forecast-body .bem-ux3-context-link{align-self:flex-start;margin:0 0 4px!important;padding:3px 0!important;background:transparent!important;border:0!important;color:#285F4E!important;text-decoration:underline!important;font-size:14px!important}
.bem-v2-pilot .bem-v2-forecast-body .bem-l3b-form{
 width:100%;max-width:none!important;border:1px solid #CCD8D1!important;background:#E6EFE9!important;
 padding:19px!important;margin:0 0 12px!important;border-radius:12px!important;display:grid;gap:13px;
}
.bem-v2-pilot .bem-v2-forecast-body .bem-l3b-form h4{font:700 20px Georgia,serif!important;margin:0!important;color:#164B55}
.bem-v2-pilot .bem-v2-forecast-body .bem-l3b-form-actions{padding-top:4px}
.bem-v2-pilot .bem-v2-forecast-body .bem-ux2-preview{background:#fff;border:1px solid #CCD8D1;border-radius:8px;padding:13px;margin:0;font-size:14px}
.bem-v2-pilot .bem-v2-history-references{border:1px solid #CCD8D1;background:#fff;border-radius:10px;padding:12px 16px;margin:1px 0 9px}
.bem-v2-pilot .bem-v2-history-references>summary{cursor:pointer;color:#285F4E;text-decoration:underline;text-underline-offset:3px;font-size:14px;font-weight:600}
.bem-v2-pilot .bem-v2-history-references>.bem-l7c12{border:0!important;padding:10px 0 0!important;margin:0!important;background:transparent!important}
.bem-v2-pilot .bem-v2-forecast-body .bem-l7b22-retained{background:#fff;border:1px solid #CCD8D1;border-radius:12px;margin:0;padding:16px}
/* Savings planning rows are deliberately distinct from the monthly goal target. */
.bem-v2-pilot .bem-v2-forecast-body .bem-l3b-list:has(>h4)>.bem-l3b-row{flex-wrap:wrap}

/* Opérations: the approved tab order and compact per-item cards. */
.bem-v2-pilot .bem-v2-operation-tabs{gap:3px;margin:0 0 18px!important}
.bem-v2-pilot .bem-v2-operation-tabs button{border:0!important;background:transparent!important;color:#164B55!important;border-radius:8px!important;padding:10px 13px!important;min-height:43px;font-size:15px!important;font-weight:500!important}
.bem-v2-pilot .bem-v2-operation-tabs button.is-active{background:#E6EFE9!important;box-shadow:inset 0 -3px #285F4E;font-weight:600!important}
.bem-v2-pilot .bem-v2-operations-body>.bem-l4a-area>.bem-ux2-section-intro,
.bem-v2-pilot .bem-v2-operations-body>.bem-l4b-area>.bem-ux2-section-intro{margin:0 0 9px;color:#475C55;font-size:14px}
.bem-v2-pilot .bem-v2-operations-body .bem-l4a-totals,
.bem-v2-pilot .bem-v2-operations-body .bem-l4b-overview{display:flex!important;flex-wrap:wrap;gap:8px;margin:8px 0 16px}
.bem-v2-pilot .bem-v2-operations-body :is(.bem-l4a-totals,.bem-l4b-overview)>div{
 flex:1 1 150px;padding:10px 13px!important;border:1px solid #CCD8D1!important;border-radius:9px!important;
 background:#E6EFE9!important;display:flex;flex-direction:row;align-items:baseline;justify-content:space-between;gap:8px;
}
.bem-v2-pilot .bem-v2-operations-body :is(.bem-l4a-totals,.bem-l4b-overview)>div span{font-size:12px!important;color:#475C55}
.bem-v2-pilot .bem-v2-operations-body :is(.bem-l4a-totals,.bem-l4b-overview)>div strong{font-size:15px!important;color:#164B55;font-variant-numeric:tabular-nums}
.bem-v2-pilot .bem-v2-operations-body .bem-l4a-section{margin:0 0 14px;padding:0;border:0;background:transparent}
.bem-v2-pilot .bem-v2-operations-body .bem-l4a-section>h3{display:none}
.bem-v2-pilot .bem-v2-operations-body .bem-l4a-line{
 display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 16px;
 margin:0 0 12px;padding:18px 20px!important;background:#fff!important;
 border:1px solid #CCD8D1!important;border-radius:13px!important;align-items:start;
}
.bem-v2-pilot .bem-v2-operations-body .bem-l4a-description{grid-column:1;grid-row:1;gap:6px}
.bem-v2-pilot .bem-v2-operations-body .bem-l4a-description strong,
.bem-v2-pilot .bem-v2-operations-body .bem-l4b-envelope-head h3{
 font:700 22px/1.2 Georgia,serif!important;color:#164B55!important;
}
.bem-v2-pilot .bem-v2-operations-body .bem-l4a-description small{font-size:13px;color:#475C55}
.bem-v2-pilot .bem-v2-operations-body .bem-l4a-result{grid-column:2;grid-row:1;text-align:right;align-items:flex-end;min-width:0}
.bem-v2-pilot .bem-v2-operations-body .bem-l4a-status{border:0!important;background:transparent!important;padding:0!important;color:#203431!important;font-size:13px;font-weight:650;white-space:nowrap}
.bem-v2-pilot .bem-v2-operations-body .bem-l4a-result strong{font-size:13px}
.bem-v2-pilot .bem-v2-operations-body .bem-l4a-line-actions{grid-column:1/-1;grid-row:2;justify-content:flex-start}
.bem-v2-pilot .bem-v2-operations-body .bem-ux2-confirmed-label{font:700 17px Georgia,serif!important;color:#164B55;margin:20px 0 12px}
.bem-v2-pilot .bem-v2-operations-body .bem-l4b-envelope{
 padding:21px 23px!important;margin:0 0 12px!important;background:#fff!important;
 border:1px solid #CCD8D1!important;border-radius:14px!important;
}
.bem-v2-pilot .bem-v2-operations-body .bem-l4b-envelope-head{align-items:flex-start;gap:8px 15px}
.bem-v2-pilot .bem-v2-operations-body .bem-l4b-envelope-head>button{order:3;flex-basis:auto}
.bem-v2-pilot .bem-v2-operations-body .bem-l4b-numbers{margin:10px 0 10px;display:flex;gap:4px 18px;font-size:13px!important;color:#475C55}
.bem-v2-pilot .bem-v2-operations-body .bem-l4b-numbers strong{margin-left:auto;color:#164B55;font-size:15px;font-variant-numeric:tabular-nums}
.bem-v2-pilot .bem-v2-operations-body .bem-l4b-envelope>.bem-ux3-context-link{border:0!important;background:transparent!important;color:#285F4E!important;text-decoration:underline!important;font-size:14px!important;padding:6px 0!important}
.bem-v2-pilot .bem-v2-operations-body .bem-l4b-envelope .bem-ux2-movements{margin:12px 0 0!important;border-top:1px solid #CCD8D1;padding-top:10px}
.bem-v2-pilot .bem-v2-operations-body .bem-ux2-movements>summary{font-size:14px;font-weight:600;color:#285F4E;cursor:pointer}
.bem-v2-pilot .bem-v2-operations-body :is(.bem-l4a-form,.bem-l4b-form){
 width:100%;max-width:none;margin:10px 0 14px;background:#E6EFE9!important;
 border:0!important;border-radius:9px!important;padding:18px!important;display:grid;
 grid-template-columns:minmax(0,1fr);gap:12px;
}
.bem-v2-pilot .bem-v2-operations-body .bem-l4b-form{margin:15px 0 0!important}
.bem-v2-pilot .bem-v2-operations-body :is(.bem-l4a-form,.bem-l4b-form) h3,
.bem-v2-pilot .bem-v2-operations-body :is(.bem-l4a-form,.bem-l4b-form) h4{grid-column:1!important;font:700 17px Georgia,serif!important}
.bem-v2-pilot .bem-v2-operations-body .bem-l4b-form .bem-l2-field{min-width:0}
.bem-v2-pilot .bem-v2-operations-body .bem-l4a2-previous{margin:16px 0;background:#fff;border:1px solid #CCD8D1}

/* Épargne: one goal card with amount, visual progress and inline movement form. */
.bem-v2-pilot .bem-v2-savings-page>.bem-l5a-area>p.bem-l2-muted{font-size:13px;margin:4px 0 12px;color:#475C55}
.bem-v2-pilot .bem-v2-savings-page>.bem-l5a-area>.bem-l2-secondary{background:#285F4E!important;color:#fff!important;border-color:#285F4E!important;font-weight:650;margin:0 0 9px}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-reserve{
 padding:23px!important;margin:10px 0 14px!important;background:#fff!important;
 border:1px solid #CCD8D1!important;border-radius:14px!important;
}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-head{display:flex;flex-direction:column;align-items:stretch;gap:15px}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-head h3{font:700 23px/1.2 Georgia,serif!important;color:#164B55!important;margin:0 0 9px!important}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-balance{font-size:15px!important;font-weight:700!important;color:#203431!important;letter-spacing:0!important}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-actions{gap:9px;flex-wrap:wrap}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-actions .bem-l2-primary{background:#fff!important;color:#164B55!important;border:1px solid #CCD8D1!important}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-goal{margin:10px 0 0!important}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-goal-head{font-size:12px;color:#475C55}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-track{height:6px;margin:5px 0 8px;background:#DDE7DF}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-track span{background:#285F4E}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-planned{margin:12px 0;gap:8px}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-planned>div{background:#F7F7F1;border:1px solid #E6EFE9;padding:10px 13px!important}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-planned strong{font-size:13px}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-reserve>h4{font:700 16px Georgia,serif!important;margin:14px 0 10px!important;color:#164B55}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-form{
 display:grid;grid-template-columns:minmax(0,1fr)!important;gap:12px;padding:17px!important;
 background:#E6EFE9!important;border:0!important;border-radius:9px!important;margin:14px 0;
}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-form h4,
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-form p,
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-form-actions{grid-column:1!important}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-form .bem-l2-field{min-width:0}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-movements li{border-color:#CCD8D1}

/* Historique is intentionally a service-screen polish, not a backend redesign. */
.bem-v2-pilot .bem-v2-history-page>.bem-l7b23-history{background:#fff;border:1px solid #CCD8D1;border-radius:14px;padding:23px}
.bem-v2-pilot .bem-v2-history-page .bem-l7c11-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 18px}
.bem-v2-pilot .bem-v2-history-page .bem-l7c11-tabs .is-current{background:#E6EFE9!important;box-shadow:inset 0 -3px #285F4E;color:#164B55!important}
.bem-v2-pilot .bem-v2-history-page .bem-l7b23-detail{margin:15px 0}
.bem-v2-pilot .bem-v2-history-page .bem-l7b23-detail h3{font:700 22px Georgia,serif!important}

/* Layout guarantees for tablet, keyboard and narrow phones. */
@media(max-width:960px){
 .bem-v2-pilot .bem-v2-page-heading{align-items:flex-start;flex-direction:column;gap:12px}
 .bem-v2-pilot .bem-v2-page-heading .bem-v2-summary-context{width:100%;justify-content:flex-start;flex-wrap:wrap}
}
@media(max-width:640px){
 .bem-v2-pilot .bem-v2-forecast-body,.bem-v2-pilot .bem-v2-operations-body,.bem-v2-pilot .bem-v2-savings-page>.bem-l5a-area,.bem-v2-pilot .bem-v2-history-page>.bem-l7b23-history{width:100%}
 .bem-v2-pilot .bem-v2-page-heading>h2{font-size:25px!important}
 .bem-v2-pilot .bem-v2-forecast-body .bem-l3b-list,
 .bem-v2-pilot .bem-v2-operations-body .bem-l4b-envelope,
 .bem-v2-pilot .bem-v2-savings-page .bem-l5a-reserve,
 .bem-v2-pilot .bem-v2-history-page>.bem-l7b23-history{padding:16px!important}
 .bem-v2-pilot .bem-v2-forecast-body .bem-l3b-row{flex-wrap:wrap;gap:8px!important}
 .bem-v2-pilot .bem-v2-forecast-body .bem-l3b-row-label{flex:1 1 100%;min-width:0}
 .bem-v2-pilot .bem-v2-forecast-body .bem-l3b-row>strong{margin-right:auto;margin-left:0}
 .bem-v2-pilot .bem-v2-operations-body .bem-l4a-line{grid-template-columns:minmax(0,1fr) auto;padding:16px!important}
 .bem-v2-pilot .bem-v2-operations-body .bem-l4a-result{min-width:0}
 .bem-v2-pilot .bem-v2-operations-body .bem-l4b-numbers strong{margin-left:0}
 .bem-v2-pilot .bem-v2-page-heading .bem-v2-summary-context{align-items:stretch}
 .bem-v2-pilot .bem-v2-page-heading .bem-v2-monthbar{width:auto;max-width:100%}
 .bem-v2-pilot .bem-v2-page-heading .bem-v2-budgetbar{width:auto}
 .bem-v2-pilot .bem-v2-page-heading .bem-v2-budgetbar.is-compact .bem-v2-budget-choice select{width:130px!important;min-width:115px!important}
}
@media(prefers-reduced-motion:reduce){.bem-v2-pilot .bem-v2-page *{transition:none!important}}
/* V2 confirmation forms appear inside the exact income/fixed item being updated. */
.bem-v2-pilot .bem-v2-operations-body .bem-l4a-line>.bem-l4a-form{grid-column:1/-1;grid-row:3;margin:6px 0 0!important}
/* Place variable expense and savings forms before details, as in the mockups. */
.bem-v2-pilot .bem-v2-operations-body .bem-l4b-envelope{display:flex;flex-direction:column}
.bem-v2-pilot .bem-v2-operations-body .bem-l4b-envelope>.bem-l4b-envelope-head{order:1}
.bem-v2-pilot .bem-v2-operations-body .bem-l4b-envelope>.bem-l4b-numbers{order:2}
.bem-v2-pilot .bem-v2-operations-body .bem-l4b-envelope>.bem-ux3-context-link{order:3;align-self:flex-start}
.bem-v2-pilot .bem-v2-operations-body .bem-l4b-envelope>.bem-l4b-form{order:4}
.bem-v2-pilot .bem-v2-operations-body .bem-l4b-envelope>.bem-ux2-movements{order:5}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-reserve{display:flex;flex-direction:column}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-head{order:1}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-goal{order:2}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-form{order:3}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-planned{order:4}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-reserve>h4{order:5}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-movements{order:6}
.bem-v2-pilot .bem-v2-savings-page .bem-l5a-reserve>p.bem-l2-muted{order:6}
/* The approved secondary pages are centred at the same ~800px reading width
   for both heading/context and cards, not just for the cards alone. */
.bem-v2-pilot .bem-v2-forecast-page,
.bem-v2-pilot .bem-v2-operations-page,
.bem-v2-pilot .bem-v2-savings-page,
.bem-v2-pilot .bem-v2-history-page{width:min(800px,100%);max-width:800px;margin-left:auto;margin-right:auto}
.bem-v2-pilot .bem-v2-forecast-body .bem-l3b-editor-area>.bem-l3b-row{
 padding:14px 17px!important;border:1px solid #CCD8D1!important;border-radius:11px!important;background:#fff!important;
}


/* CSS SOURCE: v2-j4.css */
/* BEM Architecture V2 J4 — context controls, no financial logic. */
.bem-v2-pilot .bem-v2-budgetbar.is-compact{position:relative;display:block;min-width:0}
.bem-v2-pilot .bem-v2-budget-trigger{
 display:flex;align-items:center;justify-content:space-between;gap:12px;
 width:clamp(145px,16vw,204px);max-width:100%;min-height:41px;padding:9px 12px!important;
 border:1px solid #CCD8D1!important;border-radius:8px!important;background:#fff!important;
 color:#164B55!important;font:500 14px/1.3 'Segoe UI',Arial,sans-serif!important;text-align:left;
}
.bem-v2-pilot .bem-v2-budget-trigger>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bem-v2-pilot .bem-v2-budget-trigger[aria-expanded=true]{outline:2px solid #285F4E;outline-offset:2px}
.bem-v2-pilot .bem-v2-budget-popover{
 position:absolute;right:0;top:calc(100% + 9px);z-index:60;min-width:255px;width:min(340px,calc(100vw - 32px));
 background:#fff;border:1px solid #CCD8D1;border-radius:12px;padding:10px;
 box-shadow:0 12px 28px rgba(22,75,85,.13);max-height:min(68vh,460px);overflow:auto;
}
.bem-v2-pilot .bem-v2-budget-group{padding:4px 0 7px}
.bem-v2-pilot .bem-v2-budget-group-title{padding:5px 10px;margin:0;color:#475C55;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.bem-v2-pilot .bem-v2-budget-option{
 display:flex;align-items:center;gap:7px;width:100%;padding:10px!important;border:0!important;border-radius:7px!important;
 background:#fff!important;color:#164B55!important;text-align:left;font-weight:500!important;font-size:13px!important;
}
.bem-v2-pilot .bem-v2-budget-option>span:first-child{flex:1;min-width:0;overflow-wrap:anywhere}
.bem-v2-pilot .bem-v2-budget-option small{font-size:11px;color:#475C55;white-space:nowrap}
.bem-v2-pilot .bem-v2-budget-option.is-selected,.bem-v2-pilot .bem-v2-budget-option:hover{background:#E6EFE9!important}
.bem-v2-pilot .bem-v2-budget-menu-actions{display:grid;gap:2px;border-top:1px solid #CCD8D1;padding-top:7px}
.bem-v2-pilot .bem-v2-budget-menu-actions button{background:transparent!important;border:0!important;padding:10px!important;text-align:left;color:#285F4E!important;font-size:13px!important;font-weight:650!important}
.bem-v2-pilot .bem-v2-budget-menu-actions button:hover{background:#E6EFE9!important;border-radius:7px!important}
.bem-v2-pilot .bem-v2-budget-limit{font-size:12px;color:#475C55;padding:8px 10px;margin:0}
.bem-v2-pilot .bem-v2-summary-context{overflow:visible}
.bem-v2-pilot .bem-v2-month-popover{z-index:55}
.bem-v2-pilot .bem-v2-month-pick[aria-expanded=true]{border-color:#285F4E!important;box-shadow:0 0 0 2px #E6EFE9}
.bem-v2-pilot .bem-month-tile.is-prepared{cursor:pointer}
.bem-v2-pilot .bem-month-tile.is-to_prepare{color:#AD7729}
@media(max-width:760px){
 .bem-v2-pilot .bem-v2-budgetbar.is-compact{min-width:0;max-width:100%}
 .bem-v2-pilot .bem-v2-budget-trigger{width:min(190px,43vw)}
 .bem-v2-pilot .bem-v2-budget-popover{left:0;right:auto;width:min(315px,calc(100vw - 28px))}
}
@media(max-width:430px){
 .bem-v2-pilot .bem-v2-budget-trigger{width:min(170px,42vw)}
 .bem-v2-pilot .bem-v2-page-heading .bem-v2-summary-context{gap:6px}
}


/* CSS SOURCE: v2-j4b.css */
/* BEM V2 J4-B — nouvelle navigation, fidèle aux maquettes desktop/mobile.
 * Chargée en dernier ; périmètre strictement .bem-v2-j4b.
 * Aucun effet sur l'onboarding ni sur le shell classique (?bem_v2=0).
 */
body.bem-application-template:has(.bem-v2-j4b){background:#fff!important;overflow-x:clip}
body.bem-application-template:has(.bem-v2-j4b) .bem-app-top{display:none!important}
body.bem-application-template .bem-l1-shell:has(.bem-v2-j4b){
  position:static!important;left:auto!important;transform:none!important;
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  font:16px/1.5 'Segoe UI',Arial,sans-serif;color:#203431;
}
.bem-l1-shell .bem-v2-j4b,
.bem-l1-shell .bem-v2-j4b.is-drawer-open{
  --bem-j4b-sidebar:232px;
  display:block!important;width:100%!important;max-width:100%!important;
  min-width:0;min-height:100dvh;margin:0!important;padding:0!important;
  background:#fff!important;gap:0!important;overflow:visible;
}
.bem-v2-j4b .bem-v2-surface,
.bem-v2-j4b.is-drawer-open .bem-v2-surface{
  display:block!important;position:relative!important;
  grid-column:auto!important;grid-row:auto!important;
  width:calc(100% - var(--bem-j4b-sidebar))!important;
  max-width:none!important;min-width:0!important;
  margin:0 0 0 var(--bem-j4b-sidebar)!important;
  padding:0!important;transform:none!important;
  background:#fff;overflow:visible;
}
.bem-v2-j4b .bem-v2-header,
.bem-v2-j4b.is-drawer-open .bem-v2-header{
  isolation:auto!important;position:relative!important;z-index:1;
  display:block!important;grid-template-columns:none!important;
  width:100%!important;min-height:0!important;
  margin:0!important;padding:0 32px!important;
  background:#fff!important;border:0!important;border-radius:0!important;
}
.bem-v2-j4b .bem-v2-header::before{content:none!important;display:none!important}
.bem-v2-j4b .bem-v2-primary,
.bem-v2-j4b.is-drawer-open .bem-v2-primary{
  display:flex!important;justify-content:flex-start!important;align-items:center!important;
  flex-wrap:wrap!important;min-height:69px;gap:6px;padding:10px 0;
  border-bottom:1px solid #CCD8D1;width:100%;
}
.bem-v2-j4b .bem-v2-nav-button,
.bem-v2-j4b.is-drawer-open .bem-v2-nav-button{
  display:inline-flex!important;align-items:center;justify-content:center;gap:7px;
  min-height:44px;padding:10px 17px!important;border:0!important;border-radius:8px!important;
  color:#164B55!important;background:transparent!important;
  font:600 15px/1.25 'Segoe UI',Arial,sans-serif!important;white-space:nowrap;
}
.bem-v2-j4b .bem-v2-nav-button:hover:not(:disabled){background:#F4F7F4!important}
.bem-v2-j4b .bem-v2-nav-button.is-active{
  background:#E6EFE9!important;color:#285F4E!important;
  box-shadow:inset 0 -3px #285F4E!important;
}
.bem-v2-j4b .bem-v2-nav-button .bem-v2-nav-icon{display:none}
.bem-v2-j4b .bem-v2-mobile-head{display:none!important}
.bem-v2-j4b .bem-v2-workspace,
.bem-v2-j4b.is-drawer-open .bem-v2-workspace{
  box-sizing:border-box;max-width:1192px;min-width:0;width:100%;
  margin:0 auto!important;padding:27px 32px 64px!important;
}
.bem-v2-j4b .bem-v2-page-heading{margin-bottom:16px!important}
.bem-v2-j4b .bem-v2-page-heading>h2{font-size:28px!important}
.bem-v2-j4b .bem-v2-general-workspace{padding-top:32px!important}
.bem-v2-j4b .bem-v2-bottom-nav{display:none!important}
.bem-v2-j4b .bem-v2-menu-backdrop{display:none!important}
/* Navigation secondaire permanente, ancrée au viewport, et non à la grille métier. */
.bem-v2-j4b .bem-v2-sidebar,
.bem-v2-j4b.is-drawer-open .bem-v2-sidebar{
  display:flex!important;flex-direction:column!important;gap:0!important;
  position:fixed!important;inset:0 auto 0 0!important;
  width:var(--bem-j4b-sidebar)!important;max-width:var(--bem-j4b-sidebar)!important;
  height:100dvh!important;max-height:100dvh!important;min-height:0;overflow-y:auto;
  padding:28px 12px 21px!important;
  background:#123D46!important;color:#fff!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  z-index:200!important;box-sizing:border-box!important;
}
.bem-v2-j4b .bem-v2-sidebar-top{display:flex;align-items:center;justify-content:flex-start;padding:0 12px;margin:0 0 29px;min-height:36px}
.bem-v2-j4b .bem-v2-brand{
  color:#fff!important;font:800 19px/1.24 'Segoe UI',Arial,sans-serif!important;
  white-space:normal!important;margin:0!important;letter-spacing:-.025em!important;
}
.bem-v2-j4b .bem-v2-brand span{color:#CDE8DC!important}
.bem-v2-j4b .bem-v2-brand span::before{display:none!important;content:none!important}
.bem-v2-j4b .bem-v2-drawer-close{display:none!important}
.bem-v2-j4b .bem-v2-side-links{display:flex!important;flex-direction:column;gap:5px!important;margin:0!important;padding:0!important}
.bem-v2-j4b .bem-v2-side-link,
.bem-v2-j4b .bem-v2-sidebar .bem-v2-side-link{
  width:100%;min-height:47px;display:flex;gap:10px;align-items:center;justify-content:flex-start;
  background:transparent!important;color:#fff!important;border:0!important;border-radius:8px!important;
  padding:11px 12px!important;text-align:left!important;
  font:600 14px/1.35 'Segoe UI',Arial,sans-serif!important;
}
.bem-v2-j4b .bem-v2-side-link:hover{background:#204E57!important}
.bem-v2-j4b .bem-v2-side-link.is-active{
  background:#315E66!important;color:#fff!important;box-shadow:inset 3px 0 #EBD2A8!important;
}
.bem-v2-j4b .bem-v2-side-link .bem-v2-nav-icon{flex:none;width:19px;height:19px}
.bem-v2-j4b .bem-v2-sidebar-footer{
  margin-top:auto!important;padding:30px 12px max(6px,env(safe-area-inset-bottom));
  border:0!important;display:flex;flex-direction:column;align-items:flex-start;gap:17px!important;
}
.bem-v2-j4b .bem-v2-sidebar-footer a{color:#fff!important;font:500 13px/1.4 'Segoe UI',Arial,sans-serif;text-decoration:underline;text-underline-offset:3px;min-height:28px}
.bem-v2-j4b :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #E9BA6D!important;outline-offset:3px!important}
.bem-v2-j4b .bem-v2-history-item{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #DDE6E0;padding:4px 0}
.bem-v2-j4b .bem-v2-history-item .bem-l7b23-period{flex:1 1 auto;text-align:left}
.bem-v2-j4b .bem-v2-history-detail{background:transparent!important;border:1px solid #CCD8D1!important;border-radius:7px!important;color:#285F4E!important;min-height:39px;padding:7px 10px!important}
/* Les composants de la maquette mobile sont utilisés dès 1099px. */
@media(max-width:1099px){
  body.bem-application-template .bem-l1-shell:has(.bem-v2-j4b){width:100%!important;margin:0!important}
  .bem-l1-shell .bem-v2-j4b{--bem-j4b-sidebar:0px}
  .bem-v2-j4b .bem-v2-surface,.bem-v2-j4b.is-drawer-open .bem-v2-surface{
    width:100%!important;margin:0!important;transform:none!important;max-width:100%!important;
  }
  .bem-v2-j4b .bem-v2-header,.bem-v2-j4b.is-drawer-open .bem-v2-header{
    display:block!important;background:#123D46!important;color:#fff!important;
    padding:0 20px!important;margin:0!important;border-bottom:0!important;
  }
  .bem-v2-j4b .bem-v2-mobile-head{display:flex!important;align-items:center;justify-content:space-between;gap:12px;min-height:66px}
  .bem-v2-j4b .bem-v2-menu-toggle{
    display:inline-flex!important;align-items:center;gap:7px;min-height:44px;
    color:#fff!important;background:transparent!important;border:1px solid #7E9FA2!important;
    border-radius:8px!important;font-weight:650!important;padding:9px 10px!important;
  }
  .bem-v2-j4b .bem-v2-mobile-head .bem-v2-brand{font-size:22px!important;white-space:nowrap!important}
  .bem-v2-j4b .bem-v2-primary,.bem-v2-j4b.is-drawer-open .bem-v2-primary{display:none!important}
  .bem-v2-j4b .bem-v2-workspace,.bem-v2-j4b.is-drawer-open .bem-v2-workspace{
    padding:20px 20px calc(106px + env(safe-area-inset-bottom))!important;
  }
  .bem-v2-j4b.bem-v2-general .bem-v2-workspace{padding-bottom:35px!important}
  .bem-v2-j4b .bem-v2-sidebar,.bem-v2-j4b.is-drawer-open .bem-v2-sidebar{
    display:none!important;position:fixed!important;inset:0 auto 0 0!important;
    width:min(310px,88vw)!important;max-width:88vw!important;
    padding:23px 15px 18px!important;z-index:1002!important;
    box-shadow:12px 0 40px #163f3840!important;
  }
  .bem-v2-j4b .bem-v2-sidebar.is-open,.bem-v2-j4b.is-drawer-open .bem-v2-sidebar.is-open{display:flex!important}
  .bem-v2-j4b .bem-v2-sidebar-top{justify-content:space-between;margin-bottom:18px;padding-inline:10px}
  .bem-v2-j4b .bem-v2-drawer-close{
    display:inline-flex!important;align-items:center;justify-content:center;
    border:1px solid #7E9FA2!important;border-radius:7px!important;
    background:transparent!important;color:#fff!important;padding:8px!important;
    min-height:42px;min-width:42px;
  }
  .bem-v2-j4b .bem-v2-menu-backdrop,
  .bem-v2-j4b.is-drawer-open .bem-v2-menu-backdrop{
    display:block!important;position:fixed!important;inset:0!important;z-index:1001!important;
    background:#123D4666!important;border:0!important;border-radius:0!important;
    width:100vw!important;height:100dvh!important;padding:0!important;
  }
  .bem-v2-j4b .bem-v2-bottom-nav{
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;
    position:fixed!important;inset:auto 0 0 0!important;z-index:550!important;
    width:100%;max-width:100%;padding:7px 8px calc(7px + env(safe-area-inset-bottom));
    background:#fff!important;border-top:1px solid #CCD8D1!important;
    box-shadow:0 -4px 20px #163f3810!important;
  }
  .bem-v2-j4b .bem-v2-bottom-item{
    display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px;
    min-height:57px;min-width:0;padding:5px 0!important;
    border:0!important;border-radius:9px!important;background:#fff!important;
    color:#164B55!important;font:650 12px/1.15 'Segoe UI',Arial,sans-serif!important;
  }
  .bem-v2-j4b .bem-v2-bottom-item .bem-v2-nav-icon{width:23px;height:23px}
  .bem-v2-j4b .bem-v2-bottom-item.is-active{background:#E6EFE9!important;color:#285F4E!important;box-shadow:inset 0 -3px #285F4E!important}
  .bem-v2-j4b .bem-v2-bottom-item>span{overflow-wrap:break-word;max-width:100%;text-align:center}
  .bem-v2-j4b .bem-v2-page-heading{gap:12px}
  .bem-v2-j4b .bem-v2-summary-context{min-width:0;max-width:100%}
  /* On screen-keyboard entry, release vertical room rather than cover submit buttons. */
  .bem-v2-j4b:has(input:focus,textarea:focus,select:focus) .bem-v2-bottom-nav{display:none!important}
}
@media(max-width:600px){
  .bem-v2-j4b .bem-v2-header,.bem-v2-j4b.is-drawer-open .bem-v2-header{padding:0 16px!important}
  .bem-v2-j4b .bem-v2-workspace,.bem-v2-j4b.is-drawer-open .bem-v2-workspace{padding:18px 16px calc(105px + env(safe-area-inset-bottom))!important}
  .bem-v2-j4b .bem-v2-page-heading>h2{font-size:24px!important}
  .bem-v2-j4b .bem-v2-bottom-item{font-size:11px!important}
  .bem-v2-j4b .bem-v2-nav-button{font-size:13px!important}
  .bem-v2-j4b .bem-v2-history-item{flex-wrap:wrap}
}
@media(max-width:380px){
  .bem-v2-j4b .bem-v2-menu-toggle{font-size:13px!important}
  .bem-v2-j4b .bem-v2-mobile-head .bem-v2-brand{font-size:19px!important}
  .bem-v2-j4b .bem-v2-bottom-item{font-size:10.8px!important}
}
@media(prefers-reduced-motion:reduce){.bem-v2-j4b *{scroll-behavior:auto!important}}


/* CSS SOURCE: v2-j4c.css */
/* J4-C — context states only; no changes to budget calculations. */
.bem-v2-j4b .bem-v2-month-preview{display:inline-flex;align-items:center;white-space:nowrap;
  padding:3px 8px;border:1px solid #ad7729;border-radius:999px;color:#775116;
  background:#fff8ec;font-size:12px;font-weight:600}
.bem-v2-j4b .bem-v2-budget-option[aria-current="true"]{outline-offset:-2px}
.bem-v2-j4b .bem-v2-month-feedback[role="status"]{max-width:36rem}
@media(max-width:600px){.bem-v2-j4b .bem-v2-month-preview{font-size:11px;padding:2px 6px}}


/* CSS SOURCE: v2-j5.css */
/* BEM J5 — pages générales et partage intégré.
 * Confiné à l'application BEM, n'affecte ni l'onboarding ni le thème WordPress.
 */
.bem-v2-j4b.bem-v2-general .bem-v2-general-workspace{
  max-width:1192px;min-width:0;margin:0 auto!important;
  padding:32px clamp(18px,3vw,38px) 64px!important;background:#fff;
}
.bem-v2-j4b .bem-v2-general-workspace>.bem-l2-app,
.bem-v2-j4b .bem-v2-general-workspace>.bem-j5-general-page{
  width:100%;min-width:0;max-width:1040px;margin:0 auto!important;
  padding:0!important;background:#fff!important;
  box-shadow:none!important;border:none!important;
}
.bem-v2-j4b .bem-v2-general-workspace :is(.bem-l7b2-list,.bem-j5-quick-page)>h2,
.bem-v2-j4b .bem-v2-general-workspace .bem-j5-quick-page>h1{
  color:#164B55;font:700 clamp(26px,2.8vw,33px)/1.24 Georgia,serif;
  letter-spacing:-.025em;margin:0 0 11px;
}
.bem-v2-j4b .bem-j5-lead{font-size:16px;line-height:1.56;color:#475C55;margin:0 0 25px;max-width:65ch}
.bem-v2-j4b .bem-j5-budget-top-actions{display:flex;justify-content:flex-end;gap:10px;margin:0 0 22px;flex-wrap:wrap}
.bem-v2-j4b .bem-j5-budget-top-actions>p{margin:0}
.bem-v2-j4b .bem-j5-budget-row{overflow:visible;isolation:isolate;position:relative;display:flex!important;align-items:center;gap:10px;
  border:1px solid #CCD8D1!important;border-radius:12px!important;background:#fff!important;
  margin:12px 0;box-shadow:0 1px 3px #123d4608}
.bem-v2-j4b .bem-j5-budget-row:focus-within{z-index:2}
.bem-v2-j4b .bem-j5-budget-row .bem-ux3-budget-open{flex:1 1 260px;min-width:0}
.bem-v2-j4b .bem-j5-budget-row .bem-ux3-budget-open strong{font-size:17px;color:#164B55}
.bem-v2-j4b .bem-j5-budget-row .bem-ux3-budget-more{flex:0 0 auto;margin-right:15px}
.bem-v2-j4b .bem-j5-budget-row .bem-ux3-budget-menu{z-index:20;box-shadow:0 12px 22px #123d4620}
.bem-v2-j4b .bem-j5-inline-share{flex:0 0 100%;min-width:0;width:100%;padding:0 clamp(14px,2vw,22px) 22px;border-top:1px solid #CCD8D1;
  background:linear-gradient(180deg,#F7FAF8,#fff);border-radius:0 0 12px 12px}
.bem-v2-j4b .bem-j5-share-embedded{padding:0!important;max-width:none!important;margin:0!important}
.bem-v2-j4b .bem-j5-share-embedded .bem-share-card{margin:16px 0 0!important;border:0!important;padding:0!important;
  background:transparent!important;border-radius:0!important}
.bem-v2-j4b .bem-j5-share-embedded .bem-share-card-title{gap:8px}
.bem-v2-j4b .bem-j5-share-embedded .bem-share-card-title h3{font-size:16px;font-family:inherit;color:#164B55}
.bem-v2-j4b .bem-j5-share-embedded .bem-share-card-title span{font-size:12px;padding:5px 9px;
  background:#E6EFE9;color:#285F4E;border-radius:50px}
.bem-v2-j4b .bem-j5-share-embedded .bem-share-person{color:#203431}
.bem-v2-j4b .bem-j5-share-embedded .bem-share-form{max-width:480px;padding:17px;border:1px solid #D0DED6;border-radius:10px;background:#fff}
.bem-v2-j4b .bem-j5-share-embedded .bem-share-form input{border:1px solid #9BAEA7!important;background:#fff!important;color:#203431!important}
.bem-v2-j4b .bem-j5-share-embedded .bem-l2-muted{line-height:1.55}
.bem-v2-j4b .bem-j5-sharing-overview{margin:22px 0;padding:19px;border:1px solid #CCD8D1;border-radius:12px;background:#F7FAF8}
.bem-v2-j4b .bem-j5-sharing-overview>h3{font-family:Georgia,serif;font-size:21px;margin:0 0 7px;color:#164B55}
.bem-v2-j4b .bem-j5-sharing-overview .bem-share-card{border-bottom:1px solid #CDDCD4!important;padding:12px 0!important}
.bem-v2-j4b .bem-j5-received-section{margin:26px 0 10px;padding:20px 0 0;border-top:1px solid #CCD8D1}
.bem-v2-j4b .bem-j5-received-section h3{font:700 23px/1.3 Georgia,serif;color:#164B55;margin:0 0 12px}
.bem-v2-j4b .bem-j5-received-row{border:1px solid #CCD8D1;background:#fff;border-radius:12px;margin:9px 0}
.bem-v2-j4b .bem-j5-received-row .bem-ux3-budget-open{width:100%;min-height:56px}
.bem-v2-j4b .bem-j5-share-error{margin:18px 0}
.bem-v2-j4b :is(.bem-j5-inline-share,.bem-j5-received-section,.bem-j5-sharing-overview) :is(button,a,input):focus-visible{outline:3px solid #AD7729!important;outline-offset:3px!important}
/* Abonnement : écran de découverte simple, pas de simulation de paiement. */
.bem-l1-shell .bem-j5-premium-shell{max-width:none!important;min-height:100dvh;background:#fff!important;
  padding:clamp(20px,4vw,46px) clamp(16px,4vw,32px)!important;box-sizing:border-box}
.bem-l1-shell .bem-j5-premium-shell .bem-ux3-premium-page{max-width:990px;gap:20px;margin:0 auto}
.bem-l1-shell .bem-j5-premium-shell .bem-ux3-premium-hero{border-color:#CCD8D1;background:#fff;border-radius:14px;
  padding:clamp(24px,4vw,38px)}
.bem-l1-shell .bem-j5-premium-shell .bem-ux3-premium-price{background:#E6EFE9;border:1px solid #BFD4C6;padding:20px 25px}
.bem-l1-shell .bem-j5-premium-shell .bem-ux3-premium-price strong{font-size:clamp(28px,4vw,41px)}
.bem-l1-shell .bem-j5-premium-shell .bem-ux3-premium-checkout{border-radius:13px}
.bem-l1-shell .bem-j5-premium-shell .bem-ux3-premium-benefits{border-radius:13px}
.bem-l1-shell .bem-j5-premium-shell .bem-ux3-premium-actions button.bem-l2-primary{min-height:46px}
/* Contact, Mon compte et fiches solutions réemploient les mêmes cartes de référence. */
.bem-v2-j4b .bem-j5-account{max-width:950px!important;gap:18px}
.bem-v2-j4b .bem-j5-account .bem-l6a1-card,
.bem-v2-j4b .bem-contact-form{background:#fff!important;border:1px solid #CCD8D1!important;border-radius:13px!important;
 padding:clamp(18px,3vw,27px)!important;box-shadow:0 1px 3px #123d4609}
.bem-v2-j4b .bem-j5-account h2,
.bem-v2-j4b .bem-contact-form h2{font:700 clamp(25px,2.8vw,31px)/1.3 Georgia,serif;color:#164B55}
.bem-v2-j4b .bem-j5-account h3{font-size:19px}
.bem-v2-j4b .bem-contact-view{max-width:900px!important}
.bem-v2-j4b .bem-contact-view>.bem-l2-secondary{margin-bottom:18px}
.bem-v2-j4b .bem-contact-form :is(input,textarea,select){border:1px solid #9AAEA7!important;background:#fff!important;color:#203431!important;min-height:44px}
.bem-v2-j4b .bem-msl-shell .bem-msl-intro h1{font:700 clamp(27px,3vw,34px)/1.28 Georgia,serif;color:#164B55}
.bem-v2-j4b .bem-msl-shell .bem-msl-grid{gap:16px}
.bem-v2-j4b .bem-msl-shell .bem-msl-detail{max-width:850px;margin:0 auto}
.bem-v2-j4b .bem-j5-quick-page .bem-creb-quick{max-width:720px;padding:0!important;margin:0 auto!important}
@media(max-width:1099px){
 .bem-v2-j4b.bem-v2-general .bem-v2-general-workspace{padding:22px 20px 38px!important}
 .bem-v2-j4b .bem-j5-budget-row .bem-ux3-budget-open{flex-basis:100%;min-height:60px}
 .bem-v2-j4b .bem-j5-budget-row .bem-ux3-budget-more{margin:0 14px 12px auto}
 .bem-v2-j4b .bem-j5-budget-row .bem-j5-inline-share{padding-bottom:17px}
}
@media(max-width:560px){
 .bem-v2-j4b.bem-v2-general .bem-v2-general-workspace{padding:18px 15px 32px!important}
 .bem-v2-j4b .bem-j5-budget-top-actions{justify-content:stretch}
 .bem-v2-j4b .bem-j5-budget-top-actions>button{width:100%}
 .bem-v2-j4b .bem-j5-share-embedded .bem-share-card-title{display:grid}
 .bem-v2-j4b .bem-j5-share-embedded .bem-share-person{display:grid;justify-content:stretch}
 .bem-v2-j4b .bem-j5-share-embedded .bem-share-person button{width:100%}
 .bem-v2-j4b .bem-j5-share-embedded .bem-share-form{padding:12px}
 .bem-v2-j4b .bem-j5-received-row .bem-ux3-budget-open{font-size:14px}
 .bem-l1-shell .bem-j5-premium-shell{padding:17px 14px!important}
 .bem-l1-shell .bem-j5-premium-shell .bem-ux3-premium-hero{padding:22px 19px}
}
.bem-l1-shell .bem-j5-plan-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.bem-l1-shell .bem-j5-plan{border:1px solid #CCD8D1;background:#fff;border-radius:13px;padding:22px}
.bem-l1-shell .bem-j5-plan.is-premium{background:#F0F7F2;border-color:#9EBAA9}
.bem-l1-shell .bem-j5-plan h3{margin:0 0 14px;font:700 21px/1.3 Georgia,serif;color:#164B55}
.bem-l1-shell .bem-j5-plan ul{margin:0;padding-left:21px;display:grid;gap:10px;line-height:1.45}
.bem-v2-j4b .bem-j5-free-return{border:1px solid #CCD8D1;background:#fff;border-radius:12px;margin:19px 0;padding:14px 20px}
.bem-v2-j4b .bem-j5-free-return summary{font-weight:700;color:#285F4E;cursor:pointer;min-height:28px}
.bem-v2-j4b .bem-j5-free-return p{color:#475C55;max-width:65ch}
.bem-v2-j4b .bem-j5-free-budget-choices{display:flex;gap:9px;flex-wrap:wrap}
@media(max-width:600px){.bem-l1-shell .bem-j5-plan-comparison{grid-template-columns:1fr}.bem-l1-shell .bem-j5-plan{padding:17px}}


/* CSS SOURCE: v2-j5rc2.css */
/* BEM V2 J5 RC2 — correction de la composition commune et navigation.
 * Uniquement pour V2 : aucune modification du moteur ni de l'onboarding.
 */
@media (min-width:1100px){
  /* Le bord gauche des contenus et celui de la navigation reposent sur la même grille. */
  .bem-l1-shell .bem-v2-j4b .bem-v2-header,
  .bem-l1-shell .bem-v2-j4b .bem-v2-workspace,
  .bem-l1-shell .bem-v2-j4b.bem-v2-general .bem-v2-general-workspace{
    padding-left:40px!important;padding-right:40px!important;
  }
  .bem-l1-shell .bem-v2-j4b .bem-v2-workspace,
  .bem-l1-shell .bem-v2-j4b.bem-v2-general .bem-v2-general-workspace{
    margin-left:0!important;margin-right:0!important;
    max-width:1360px!important;width:100%!important;
  }
  .bem-l1-shell .bem-v2-j4b .bem-v2-general-workspace>.bem-l2-app,
  .bem-l1-shell .bem-v2-j4b .bem-v2-general-workspace>.bem-j5-general-page,
  .bem-l1-shell .bem-v2-j4b .bem-v2-general-workspace>.bem-msl-shell{
    margin:0!important;max-width:1160px!important;width:100%!important;
  }
  .bem-l1-shell .bem-v2-j4b .bem-v2-header{
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    gap:14px!important;min-height:70px!important;
    border-bottom:1px solid #CCD8D1!important;position:relative!important;z-index:80!important;
  }
  .bem-l1-shell .bem-v2-j4b .bem-v2-primary{
    flex:1 1 auto!important;min-width:0!important;gap:4px!important;
    margin:0!important;border:0!important;white-space:nowrap!important;
  }
  .bem-l1-shell .bem-v2-j4b .bem-v2-nav-button{padding:9px 12px!important;font-size:14px!important}
  .bem-l1-shell .bem-v2-j4b .bem-v2-header-controls{flex:0 1 auto;min-width:0;max-width:55%;}
}
@media(min-width:1100px){
 .bem-l1-shell .bem-v2-j4b.bem-v2-general .bem-v2-header{display:none!important}
}
/* Éviter la seconde colonne centrée héritée de J3-B : les cartes partent
   du même x que leur titre et que les liens du bandeau. */
@media(min-width:1100px){
 .bem-v2-j4b :is(.bem-v2-forecast-page,.bem-v2-operations-page,.bem-v2-savings-page,.bem-v2-history-page){
   margin-left:0!important;margin-right:0!important;width:min(100%,1060px)!important;max-width:1060px!important;
 }
 .bem-v2-j4b :is(.bem-v2-forecast-body,.bem-v2-operations-body),
 .bem-v2-j4b .bem-v2-savings-page>.bem-l5a-area,
 .bem-v2-j4b .bem-v2-history-page>.bem-l7b23-history{
   margin-left:0!important;margin-right:0!important;width:100%!important;max-width:1060px!important;
 }
 .bem-v2-j4b .bem-share-shell{margin-left:0!important;margin-right:0!important}
}
/* Une seule zone de choix budget + mois, partagée par les quatre écrans. */
.bem-v2-j4b .bem-v2-header-controls{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:8px;box-sizing:border-box;}
.bem-v2-j4b .bem-v2-header-controls .bem-v2-summary-context{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  flex-wrap:nowrap!important;gap:8px!important;margin:0!important;min-width:0;
}
.bem-v2-j4b .bem-v2-header-controls .bem-v2-monthbar,
.bem-v2-j4b .bem-v2-header-controls .bem-v2-budgetbar{flex:0 1 auto;min-width:0;}
.bem-v2-j4b .bem-v2-header-controls .bem-v2-budget-trigger{width:clamp(130px,14vw,188px)!important;min-width:0;}
.bem-v2-j4b .bem-v2-header-controls .bem-v2-month-actions{gap:4px}
.bem-v2-j4b .bem-v2-header-controls .bem-v2-month-pick{white-space:nowrap}
.bem-v2-j4b .bem-v2-header-controls .bem-v2-budget-popover,
.bem-v2-j4b .bem-v2-header-controls .bem-v2-month-popover{z-index:120!important}
/* Harmonisation de toutes les pages secondaires, sans re-centrage de colonnes. */
.bem-v2-j4b .bem-v2-general-workspace>.bem-j5-general-page,
.bem-v2-j4b .bem-v2-general-workspace>.bem-l2-app,
.bem-v2-j4b .bem-v2-general-workspace>.bem-l2-app>.bem-ux1-workspace,
.bem-v2-j4b .bem-v2-general-workspace>.bem-l2-app>.bem-ux1-msl-content{
  margin-left:0!important;margin-right:0!important;min-width:0!important;
}
.bem-v2-j4b .bem-v2-general-workspace>.bem-l2-app>.bem-ux1-workspace,
.bem-v2-j4b .bem-v2-general-workspace>.bem-l2-app>.bem-ux1-msl-content{padding:0!important;max-width:1160px!important;}
.bem-v2-j4b .bem-j5-solutions-return{margin:0 0 24px;display:flex;justify-content:flex-start;}
.bem-v2-j4b .bem-j5-account-return{margin-bottom:22px!important}
.bem-v2-j4b .bem-j5-account-page{max-width:1160px!important}
.bem-v2-j4b .bem-j5-account{max-width:950px!important;margin:0!important}
.bem-v2-j4b .bem-j5-premium-integrated .bem-ux3-premium-page{
  width:100%;max-width:1050px!important;margin:0!important;box-sizing:border-box;
}
.bem-v2-j4b .bem-j5-premium-integrated .bem-ux3-premium-hero{background:#fff;border:1px solid #CCD8D1;border-radius:13px;padding:clamp(20px,3vw,36px)}
.bem-v2-j4b .bem-j5-premium-integrated .bem-ux3-premium-price{background:#E6EFE9;border:1px solid #BFD4C6;padding:20px}
.bem-v2-j4b .bem-j5-premium-integrated .bem-ux3-premium-price strong{font-size:clamp(27px,3vw,40px)}
.bem-v2-j4b .bem-j5-premium-integrated .bem-ux3-premium-benefits,
.bem-v2-j4b .bem-j5-premium-integrated .bem-ux3-premium-checkout{border-radius:12px}
/* Le sélecteur est dans le bandeau : aucun bloc de contexte sous le titre. */
.bem-v2-j4b .bem-v2-page-heading{justify-content:flex-start!important}
.bem-v2-j4b .bem-v2-page-heading>.bem-v2-summary-context{display:none!important}
@media (min-width:1100px) and (max-width:1230px){
  .bem-l1-shell .bem-v2-j4b .bem-v2-header{flex-wrap:wrap!important;padding-top:8px!important;padding-bottom:8px!important}
  .bem-l1-shell .bem-v2-j4b .bem-v2-primary{min-height:40px!important;flex:1 1 100%!important;justify-content:flex-start!important}
  .bem-l1-shell .bem-v2-j4b .bem-v2-header-controls{max-width:100%;margin-left:auto}
}
/* Mobile/tablette : contrôles sous le header foncé, barre basse inchangée. */
@media(max-width:1099px){
  .bem-l1-shell .bem-v2-j4b .bem-v2-header{padding:0!important;position:relative!important;z-index:80!important}
  .bem-l1-shell .bem-v2-j4b .bem-v2-mobile-head{padding:0 20px!important}
  .bem-v2-j4b .bem-v2-header-controls{
    padding:11px 20px!important;background:#fff!important;width:100%!important;
    border-bottom:1px solid #CCD8D1;justify-content:stretch!important;
  }
  .bem-v2-j4b .bem-v2-header-controls .bem-v2-summary-context{width:100%;justify-content:space-between!important;}
  .bem-v2-j4b .bem-v2-header-controls .bem-v2-budgetbar,
  .bem-v2-j4b .bem-v2-header-controls .bem-v2-monthbar{min-width:0;max-width:100%;}
  .bem-v2-j4b .bem-v2-header-controls .bem-v2-budget-trigger{width:min(190px,37vw)!important;}
  .bem-v2-j4b .bem-v2-general-workspace>.bem-l2-app,
  .bem-v2-j4b .bem-v2-general-workspace>.bem-j5-general-page{margin:0!important;max-width:100%!important}
  .bem-v2-j4b .bem-v2-general-workspace>.bem-l2-app>.bem-ux1-workspace,
  .bem-v2-j4b .bem-v2-general-workspace>.bem-l2-app>.bem-ux1-msl-content{margin:0!important;padding:0!important;max-width:100%!important}
  .bem-v2-j4b .bem-j5-premium-integrated .bem-ux3-premium-page{max-width:100%!important}
}
@media(max-width:600px){
  .bem-l1-shell .bem-v2-j4b .bem-v2-mobile-head{padding:0 16px!important}
  .bem-v2-j4b .bem-v2-header-controls{padding:10px 16px!important}
  .bem-v2-j4b .bem-v2-header-controls .bem-v2-summary-context{gap:6px!important}
  .bem-v2-j4b .bem-v2-header-controls .bem-v2-budget-trigger{width:min(158px,38vw)!important;min-height:42px}
  .bem-v2-j4b .bem-v2-header-controls .bem-v2-month-pick{max-width:36vw;overflow:hidden;text-overflow:ellipsis}
  .bem-v2-j4b .bem-j5-solutions-return button,
  .bem-v2-j4b .bem-j5-account-return{min-height:44px}
  .bem-v2-j4b .bem-j5-premium-integrated .bem-ux3-premium-hero{padding:18px}
}


/* CSS SOURCE: v2-j5rc3.css */
/* BEM V2 J5 RC3: source-aligned solution details and compact preferred-budget controls. */
.bem-v2-j4b .bem-v2-general-workspace .bem-j5-solutions-return,
.bem-v2-j4b .bem-v2-general-workspace .bem-msl-shell .bem-msl-detail{
  width:100%!important;max-width:850px!important;margin-left:0!important;margin-right:0!important;
  box-sizing:border-box;
}
.bem-v2-j4b .bem-v2-budget-group .bem-v2-preference-choice{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:6px 12px 10px;color:#285f4e;font-size:13px;border-bottom:1px solid #d9e5de;
}
.bem-v2-j4b .bem-v2-preference-choice button{
  border:1px solid #b7cfc0;border-radius:6px;background:#fff;color:#285f4e;
  padding:7px 9px;cursor:pointer;min-height:36px;
}
.bem-v2-j4b .bem-v2-preference-choice button:focus-visible{outline:2px solid #285f4e;outline-offset:2px}
.bem-v2-j4b .bem-v2-preferred-badge{font-size:12px;color:#285f4e;font-weight:700}
@media(max-width:1099px){
 .bem-v2-j4b .bem-v2-general-workspace .bem-j5-solutions-return,
 .bem-v2-j4b .bem-v2-general-workspace .bem-msl-shell .bem-msl-detail{max-width:100%!important}
}
/* The detail pane was centered inside an already offset host; keep both back links and content on the same x-axis. */
.bem-v2-j4b .bem-v2-general-workspace .bem-msl-shell .bem-msl-host{
  margin-left:0!important;margin-right:0!important;
}
@media(max-width:600px){
 .bem-v2-j4b .bem-v2-budget-group .bem-v2-preference-choice{flex-direction:column;align-items:stretch}
 .bem-v2-j4b .bem-v2-preference-choice button{width:100%}
}


/* CSS SOURCE: v2-j5rc4.css */
/* J5 RC4: one layout grid for solution returns and article detail. */
.bem-v2-j4b .bem-v2-general-workspace .bem-j5-solutions-return,
.bem-v2-j4b .bem-v2-general-workspace .bem-msl-shell .bem-msl-detail{
 width:100%!important;max-width:1040px!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box;
}
.bem-v2-j4b .bem-msl-shell .bem-msl-detail :is(.bem-msl-key-action,.bem-msl-block,.bem-msl-outline) p,
.bem-v2-j4b .bem-msl-shell .bem-msl-detail :is(.bem-msl-key-action,.bem-msl-block,.bem-msl-outline) li{
 max-width:85ch;
}
.bem-v2-j4b .bem-rc4-goal-form{margin:14px 0 20px;max-width:100%;}
.bem-v2-j4b .bem-l5a-reserve .bem-rc4-goal-form{margin-top:16px;}
.bem-rc4-recovery{max-width:680px;margin:32px auto;padding:28px;border:1px solid #ccd8d1;border-radius:12px;background:#fff;}
@media(max-width:1099px){
 .bem-v2-j4b .bem-v2-general-workspace .bem-j5-solutions-return,
 .bem-v2-j4b .bem-v2-general-workspace .bem-msl-shell .bem-msl-detail{max-width:100%!important;}
}
@media(max-width:600px){
 .bem-v2-j4b .bem-rc4-goal-form .bem-l3b-form-actions{display:flex;flex-direction:column;align-items:stretch;}
 .bem-v2-j4b .bem-rc4-goal-form .bem-l3b-form-actions button{width:100%;}
}

