/* Écran de connexion et de création de compte (page Mon compte, avant connexion) sur la base commune.
   Tout est limité à l'état « porte d'entrée » : une fois connecté, l'application garde son propre style. */
.bc-wrap{display:none}
body:has(#gate:not([hidden])){display:block!important;min-height:100svh;background:radial-gradient(1000px 700px at 100% 0%,rgba(29,95,209,.16),transparent 70%),radial-gradient(800px 560px at 0% 20%,rgba(11,37,69,.08),transparent 70%),#fff!important;color:#0A0A0F!important;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Helvetica Neue",system-ui,sans-serif!important;font-size:16px;line-height:1.55}
body:has(#gate:not([hidden])) .bc-wrap{display:block}
body:has(#gate:not([hidden])) > header,body:has(#gate:not([hidden])) > footer,body:has(#gate:not([hidden])) .amb,body:has(#gate:not([hidden])) .bk,body:has(#gate:not([hidden])) .sinitop{display:none!important}
body:has(#gate:not([hidden])) .bc-wrap header.shell-head{display:block!important;min-height:0!important;padding:0!important}
body:has(#gate:not([hidden])) main{padding:0}
body:has(#gate:not([hidden])) .gate{max-width:440px;margin:0 auto;padding:56px 20px 88px}
body:has(#gate:not([hidden])) #gt{font-family:inherit!important;font-weight:700!important;font-size:clamp(32px,8vw,42px)!important;line-height:1.12!important;letter-spacing:-.025em;color:#0A0A0F}
body:has(#gate:not([hidden])) .gate .sub{color:#62626C;margin:12px 0 28px;font-size:17px}
body:has(#gate:not([hidden])) #acc{display:grid;gap:16px}
body:has(#gate:not([hidden])) #acc form{display:grid;gap:16px}
body:has(#gate:not([hidden])) #acc .seg{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:999px;background:#F3F7FD;border:1px solid rgba(11,26,33,.1)}
body:has(#gate:not([hidden])) #acc .seg button{font:600 15px/1 inherit;font-family:inherit;padding:13px 10px;border:0;border-radius:999px;background:transparent;color:#62626C;cursor:pointer}
body:has(#gate:not([hidden])) #acc .seg button[aria-pressed=true]{background:#1D5FD1;color:#fff;box-shadow:0 8px 18px -10px rgba(29,95,209,.7)}
body:has(#gate:not([hidden])) #acc label{display:grid;gap:6px;position:relative}
body:has(#gate:not([hidden])) #acc label>span{font-size:14px;font-weight:500;color:#62626C;text-transform:none;letter-spacing:0}
body:has(#gate:not([hidden])) #acc input{width:100%;box-sizing:border-box;padding:15px 16px;border:1px solid rgba(11,26,33,.14);border-radius:14px;background:#fff;color:#0A0A0F;font:inherit;font-size:16px;box-shadow:none}
body:has(#gate:not([hidden])) #acc input:focus{outline:2px solid #1D5FD1;outline-offset:1px;border-color:transparent}
body:has(#gate:not([hidden])) #acc .pwt{position:absolute;right:14px;bottom:15px;background:none;border:0;color:#1D5FD1;font:600 14px inherit;font-family:inherit;cursor:pointer}
body:has(#gate:not([hidden])) #acc .btn{display:block;width:100%;box-sizing:border-box;padding:15px 24px;border:0;border-radius:999px;background:#1D5FD1;color:#fff;font:600 16px inherit;font-family:inherit;text-align:center;cursor:pointer;text-decoration:none}
body:has(#gate:not([hidden])) #acc .btn:hover{background:#0B2545}
body:has(#gate:not([hidden])) #acc .lk{background:none;border:0;color:#1D5FD1;font:600 15px inherit;font-family:inherit;cursor:pointer;justify-self:center;text-decoration:none}
body:has(#gate:not([hidden])) #acc .hint,body:has(#gate:not([hidden])) #acc .note{margin:0;font-size:13px;color:#62626C;text-align:center}
body:has(#gate:not([hidden])) #acc .hint{text-align:left}
body:has(#gate:not([hidden])) #acc .err{margin:0;min-height:0;font-size:14px;color:#C0392B}
body:has(#gate:not([hidden])) #acc .ok{margin:0;font-size:15px;color:#0B2545}
body:has(#gate:not([hidden])) #acc h2{font-family:inherit;font-weight:700;font-size:24px;letter-spacing:-.02em;color:#0A0A0F;margin:0}
body:has(#gate:not([hidden])) #acc .sb{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:14px;border-radius:999px;border:1px solid rgba(11,26,33,.14);background:#fff;color:#0A0A0F;font:600 15px inherit;font-family:inherit;cursor:pointer}
body:has(#gate:not([hidden])) #acc .sb svg{width:20px;height:20px}
body:has(#gate:not([hidden])) #acc .or{text-align:center;font-size:13px;color:#62626C}
body:has(#gate:not([hidden])) footer[data-sf]:not(.shell-foot){display:none!important}
body:has(#gate:not([hidden])) #acc input{background:#fff!important}
body:has(#gate:not([hidden])) #acc .btn{background:#1D5FD1!important;color:#fff!important}
body:has(#gate:not([hidden])) #acc .btn:hover{background:#0B2545!important}
body:has(#gate:not([hidden])) .bc h1,body:has(#gate:not([hidden])) .bc h2,body:has(#gate:not([hidden])) .bc h3{font-family:inherit!important;font-weight:600!important;letter-spacing:0}
body:has(#gate:not([hidden])) .bc .foot-tag{font-family:inherit!important;font-weight:400!important}

/* Bannière identique aux autres pages : même logo, même hauteur, mêmes boutons (menu + Mon compte) */
body:has(#gate:not([hidden])) .bc button.ibtn:not(.ibtn--opt){display:inline-flex!important}
body:has(#gate:not([hidden])) .bc .shell-tools .btn{background:transparent!important;color:#1D5FD1!important;font:600 14px/1.55 -apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Helvetica Neue",system-ui,sans-serif!important;box-shadow:rgba(29,95,209,.55) 0 8px 22px -8px!important;transform:none!important;transition:none!important}
body:has(#gate:not([hidden])) .bc .shell-tools .btn:hover{background:transparent!important;transform:none!important}

/* Mêmes boutons que l'accueil : taille normale, ombre bleue douce, sélecteur plus fin */
body:has(#gate:not([hidden])) #acc .btn{padding:14px 24px!important;font-size:16px!important;box-shadow:0 8px 22px -8px rgba(29,95,209,.55)!important}
body:has(#gate:not([hidden])) #acc .seg{padding:3px!important;gap:2px!important;background:#fff;border:1px solid rgba(29,95,209,.18)}
body:has(#gate:not([hidden])) #acc .seg button{padding:10px!important;font-size:15px}
body:has(#gate:not([hidden])) #acc .seg button[aria-pressed=true]{box-shadow:0 8px 22px -8px rgba(29,95,209,.55)!important}
body:has(#gate:not([hidden])) #acc .sb{padding:12px!important}
