/* Sudoptic — pages d'accès sobres (connexion, inscription, récupération). Activé par <html class="pro-auth">. */
html.pro-auth{--a-bg:#f7f7f6;--a-text:#1f1f1d;--a-text-2:#454543;--a-muted:#70706b;--a-border:#e1e1e0;--a-brand:#4e4e4b;--a-brand-ink:#393937;--a-panel:#383836;--a-panel-2:#4e4e4b;--a-gold:#eb8489;--a-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;background:var(--a-bg)!important;color-scheme:light}
html.pro-auth body:not(#_).auth-register{--a-brand:#a3171e;--a-brand-ink:#7d1015;--a-panel:#6f0f14;--a-panel-2:#a3171e}
html.pro-auth body:not(#_){background:var(--a-bg)!important;background-image:none!important;color:var(--a-text)!important;font-family:var(--a-font)!important;min-height:100vh;display:flex!important;flex-direction:column!important;margin:0}
html.pro-auth body:not(#_)::before,html.pro-auth body:not(#_)::after,html.pro-auth body:not(#_) .auth-atmosphere{display:none!important}
html.pro-auth body:not(#_)>header{background:transparent!important;border:0!important;box-shadow:none!important;display:flex!important;justify-content:space-between!important;align-items:center!important;padding:20px 32px!important;max-width:1100px;width:100%;margin:0 auto;box-sizing:border-box;position:static!important}
html.pro-auth body:not(#_)>header img{height:44px!important;width:auto!important;border-radius:8px!important;box-shadow:none!important;filter:none!important}
html.pro-auth body:not(#_)>header a{color:var(--a-brand)!important;font-weight:600!important;font-size:14px!important;text-decoration:none!important;border:0!important;background:none!important}
html.pro-auth body:not(#_) main.access-layout{flex:1;display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;max-width:980px!important;width:calc(100% - 32px)!important;margin:12px auto 32px!important;padding:0!important;background:#fff!important;border:1px solid var(--a-border)!important;border-radius:16px!important;box-shadow:0 20px 50px rgba(29,29,27,.10)!important;overflow:hidden;align-self:center;min-height:0!important;gap:0!important}
html.pro-auth body:not(#_) .access-story{background:linear-gradient(160deg,var(--a-panel),var(--a-panel-2))!important;color:#fff!important;padding:40px 36px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;gap:18px!important;position:relative!important;border:0!important;margin:0!important;box-shadow:none!important;min-height:0!important;transform:none!important}
html.pro-auth body:not(#_) .access-story::before{content:"Sudoptic";font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--a-gold)}
html.pro-auth body:not(#_) .access-story::after{content:"Un espace professionnel pour suivre chaque client, du premier contact à la remise des lunettes.";font-size:22px;line-height:1.35;font-weight:650;color:#fff;max-width:340px;order:-1;display:block!important;position:static!important;background:none!important;width:auto!important;height:auto!important;border:0!important}
html.pro-auth body:not(#_) .access-story .auth-lock,html.pro-auth body:not(#_) .access-story .auth-orbit-label{display:none!important}
html.pro-auth body:not(#_) .access-story ul{list-style:none!important;padding:0!important;margin:6px 0 0!important;display:grid!important;gap:10px!important;position:static!important;transform:none!important}
html.pro-auth body:not(#_) .access-story li{color:#eeeeee!important;font-size:14.5px!important;display:flex!important;align-items:center;gap:10px;background:none!important;border:0!important;padding:0!important;opacity:1!important;transform:none!important;animation:none!important}
html.pro-auth body:not(#_) .access-story li::before{content:"✓"!important;display:inline-grid!important;place-items:center;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.14)!important;color:var(--a-gold)!important;font-size:12px;font-weight:800;border:0!important;position:static!important;box-shadow:none!important}
html.pro-auth body:not(#_) .access-card{background:#fff!important;background-image:none!important;color:var(--a-text)!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:40px 44px!important;max-width:none!important;width:auto!important;margin:0!important;animation:none!important;backdrop-filter:none!important;text-align:left!important}
html.pro-auth body:not(#_) .access-card::before,html.pro-auth body:not(#_) .access-card::after{display:none!important}
html.pro-auth body:not(#_) .access-card .diamond-eye-icon,html.pro-auth body:not(#_) .access-card>svg{display:none!important}
html.pro-auth body:not(#_) .access-card>.eyebrow{display:block!important;color:var(--a-brand)!important;font-size:11.5px!important;letter-spacing:.1em!important;font-weight:700!important;margin:0 0 6px!important;text-align:left!important}
html.pro-auth body:not(#_) .access-card h2{color:var(--a-text)!important;font-size:26px!important;letter-spacing:-.02em!important;text-align:left!important;margin:0 0 6px!important;font-weight:700!important;text-shadow:none!important;-webkit-text-fill-color:currentColor!important;background:none!important}
html.pro-auth body:not(#_) .access-card :is(p,small,span,li){color:var(--a-muted)!important;text-align:left!important;text-shadow:none!important}
html.pro-auth body:not(#_) .access-card>p:first-of-type{font-size:14.5px!important;margin:0 0 22px!important;color:var(--a-muted)!important}
html.pro-auth body:not(#_) .access-card label{color:var(--a-text-2)!important;font-size:13.5px!important;font-weight:600!important;display:block;margin:14px 0 6px!important;text-align:left!important}
html.pro-auth body:not(#_) .access-card :is(input:not([type=checkbox]),select){width:100%!important;box-sizing:border-box!important;background:#fff!important;color:var(--a-text)!important;-webkit-text-fill-color:var(--a-text)!important;border:1px solid #d8d8d7!important;border-radius:8px!important;min-height:44px!important;padding:10px 12px!important;font:15px/1.4 var(--a-font)!important;box-shadow:0 1px 2px rgba(29,29,27,.04)!important;outline:none!important;letter-spacing:normal!important;text-align:left!important}
html.pro-auth body:not(#_) .access-card :is(input,select):focus{border-color:var(--a-brand)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--a-brand) 18%,transparent)!important}
html.pro-auth body:not(#_) .access-card ::placeholder{color:#a7a7a4!important;-webkit-text-fill-color:#a7a7a4!important}
html.pro-auth body:not(#_) .access-card input[type=checkbox]{accent-color:var(--a-brand);width:16px;height:16px}
html.pro-auth body:not(#_) .access-card .password-row{display:flex!important;gap:8px!important;align-items:stretch}
html.pro-auth body:not(#_) .access-card .password-row button{background:#fff!important;color:var(--a-text-2)!important;border:1px solid #d8d8d7!important;border-radius:8px!important;min-height:44px!important;padding:0 14px!important;font-weight:600!important;font-size:13px!important;box-shadow:none!important;width:auto!important}
html.pro-auth body:not(#_) .access-card :is(button.primary,a.primary,button[type=submit]){display:flex!important;justify-content:center;align-items:center;width:100%!important;margin:22px 0 8px!important;background:var(--a-brand)!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid var(--a-brand)!important;border-radius:8px!important;min-height:46px!important;font:600 15px/1 var(--a-font)!important;box-shadow:none!important;text-shadow:none!important;letter-spacing:0!important;text-decoration:none!important;animation:none!important}
html.pro-auth body:not(#_) .access-card :is(button.primary,button[type=submit]):hover{background:var(--a-brand-ink)!important}
html.pro-auth body:not(#_) .access-card a:not(.primary){color:var(--a-brand)!important;font-weight:600!important;text-decoration:underline!important;text-decoration-color:color-mix(in srgb,var(--a-brand) 35%,transparent)!important;background:none!important;-webkit-text-fill-color:currentColor!important}
html.pro-auth body:not(#_) .access-card .session-note{background:#fafafa!important;border:1px solid var(--a-border)!important;border-radius:8px!important;color:var(--a-muted)!important;font-size:12.5px!important;padding:10px 12px!important;margin:14px 0!important;box-shadow:none!important}
html.pro-auth body:not(#_) .access-card .session-note *{color:var(--a-muted)!important}
html.pro-auth body:not(#_) .access-card [role=alert]:not(:empty),html.pro-auth body:not(#_) #access-error:not(:empty){color:#bc1b23!important;background:#fdebec!important;border:1px solid #f5bbbe!important;border-radius:8px!important;padding:8px 12px!important;font-size:13.5px!important}
html.pro-auth body:not(#_) .access-card .field-pair{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}
html.pro-auth body:not(#_) .access-card .consent{display:flex!important;gap:10px!important;align-items:flex-start;font-weight:500!important;font-size:13px!important;color:var(--a-muted)!important}
html.pro-auth body:not(#_) .access-card .consent span{color:var(--a-muted)!important}
html.pro-auth body:not(#_) .access-card .profile-help{background:#fafafa!important;border:1px solid var(--a-border)!important;border-radius:8px!important;padding:8px 12px!important;font-size:13px!important;color:var(--a-text-2)!important}
html.pro-auth body:not(#_) .access-mfa{margin-top:8px}
html.pro-auth body:not(#_) .access-mfa .eyebrow{color:var(--a-brand)!important}
html.pro-auth body:not(#_) .access-mfa p{color:var(--a-text-2)!important}
html.pro-auth body:not(#_) .access-mfa input{font:700 24px/1.2 ui-monospace,Consolas,monospace!important;letter-spacing:.3em!important;text-align:center!important}
html.pro-auth body:not(#_) .access-mfa .access-restart{width:100%!important;background:#fff!important;color:var(--a-text-2)!important;border:1px solid #d8d8d7!important;border-radius:8px!important;min-height:42px!important;font-weight:600!important}
html.pro-auth body:not(#_) .access-mfa small{color:var(--a-muted)!important}
html.pro-auth body:not(#_) .auth-success-notice{color:#11795a!important;background:#e5f5ee!important;border:1px solid #b7e2cf!important;border-radius:8px;padding:8px 12px}
html.pro-auth body:not(#_) #access-success{text-align:left!important}
html.pro-auth body:not(#_) .success-check{background:#e5f5ee!important;color:#11795a!important;border:0!important;box-shadow:none!important}
html.pro-auth body:not(#_)>footer{background:transparent!important;color:#9b9b97!important;font-size:13px!important;text-align:center;padding:16px!important;border:0!important}
/* Page de récupération (structure simple) */
html.pro-auth body:not(#_) main.compact{max-width:520px!important;margin:48px auto!important;padding:0 16px!important;background:transparent!important}
html.pro-auth body:not(#_) main.compact>header{background:none!important;padding:0 0 16px!important}
html.pro-auth body:not(#_) main.compact .panel{background:#fff!important;border:1px solid var(--a-border)!important;border-radius:16px!important;box-shadow:0 20px 50px rgba(29,29,27,.10)!important;padding:32px!important;color:var(--a-text)!important}
html.pro-auth body:not(#_) main.compact :is(h1){color:var(--a-text)!important;font-size:24px!important}
html.pro-auth body:not(#_) main.compact :is(p,label){color:var(--a-text-2)!important}
html.pro-auth body:not(#_) main.compact label{display:grid;gap:6px;font-weight:600;font-size:13.5px;margin:12px 0}
html.pro-auth body:not(#_) main.compact input{background:#fff!important;color:var(--a-text)!important;border:1px solid #d8d8d7!important;border-radius:8px!important;min-height:44px!important;padding:10px 12px!important;font-size:15px!important}
html.pro-auth body:not(#_) main.compact button{width:100%;background:var(--a-brand)!important;color:#fff!important;border:0!important;border-radius:8px!important;min-height:46px!important;font-weight:600!important;margin-top:12px}
html.pro-auth body:not(#_) main.compact a{color:var(--a-brand)!important}
@media (max-width:760px){
 html.pro-auth body:not(#_) main.access-layout{grid-template-columns:1fr!important;margin:4px auto 20px!important}
 html.pro-auth body:not(#_) .access-story{padding:24px!important}
 html.pro-auth body:not(#_) .access-story::after{font-size:18px}
 html.pro-auth body:not(#_) .access-story ul{display:none!important}
 html.pro-auth body:not(#_) .access-card{padding:26px 22px!important}
 html.pro-auth body:not(#_)>header{padding:14px 16px!important}
 html.pro-auth body:not(#_) .access-card .field-pair{grid-template-columns:1fr!important}
}
@media (prefers-reduced-motion:reduce){html.pro-auth *{animation:none!important;transition:none!important}}
html.pro-auth body:not(#_) .access-story{align-self:stretch!important;height:auto!important;text-align:left!important;justify-content:center!important}
html.pro-auth body:not(#_) .access-story::after{text-align:left!important}
html.pro-auth body:not(#_) .access-story li{text-transform:none!important;letter-spacing:normal!important;font-weight:500!important}
html.pro-auth body:not(#_) main.access-layout{align-items:stretch!important}
html.pro-auth body:not(#_) main.compact>header{border:0!important;box-shadow:none!important}
html.pro-auth body:not(#_) .access-story::before{order:-2}
/* ---------- Héritage de l'ancien thème : orbites, lueurs néon statiques, œil doré ---------- */
html.pro-auth body:not(#_) .access-story{overflow:hidden!important;isolation:isolate;
 background:
  radial-gradient(circle at 78% 18%,rgba(146,146,141,.32),transparent 38%),
  radial-gradient(circle at 12% 92%,rgba(245,123,129,.22),transparent 40%),
  linear-gradient(160deg,var(--a-panel),var(--a-panel-2))!important}
html.pro-auth body:not(#_).auth-register .access-story{background:radial-gradient(circle at 78% 18%,rgba(255,120,127,.28),transparent 38%),radial-gradient(circle at 12% 92%,rgba(245,123,129,.22),transparent 40%),linear-gradient(160deg,var(--a-panel),var(--a-panel-2))!important}
html.pro-auth body:not(#_) .access-story .auth-lock{display:block!important;position:absolute!important;right:-120px;top:50%;width:340px!important;height:340px!important;margin:-170px 0 0!important;border-radius:50%!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:0 0 0 38px rgba(255,255,255,.035),0 0 0 76px rgba(255,255,255,.025)!important;background:none!important;z-index:-1;animation:pa-spin 70s linear infinite!important;opacity:1!important;transform:none}
html.pro-auth body:not(#_) .access-story .auth-lock::before{content:""!important;position:absolute;left:50%;top:-5px;width:10px;height:10px;border-radius:50%;background:var(--a-gold);box-shadow:0 0 14px var(--a-gold)}
html.pro-auth body:not(#_) .access-story .auth-lock span{display:none!important}
html.pro-auth body:not(#_) .access-story ul::before{content:"";display:block;width:64px;height:34px;margin-bottom:8px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 34'%3E%3Cpath d='M3 17Q32-7 61 17Q32 41 3 17Z' fill='none' stroke='%23fff' stroke-width='3'/%3E%3Ccircle cx='32' cy='17' r='9' fill='%23F2C35B'/%3E%3Cpath d='M32 11l6 6-6 6-6-6z' fill='%2312385C'/%3E%3Ccircle cx='29' cy='13' r='2' fill='%23fff'/%3E%3C/svg%3E") left center/contain no-repeat;animation:pa-blink 6s ease-in-out infinite;transform-origin:left center}
html.pro-auth body:not(#_) .access-story ul{display:grid!important}
html.pro-auth body:not(#_) .access-story li{animation:pa-rise .6s cubic-bezier(.2,.8,.2,1) both!important}
html.pro-auth body:not(#_) .access-story li:nth-child(2){animation-delay:.12s!important}html.pro-auth body:not(#_) .access-story li:nth-child(3){animation-delay:.24s!important}
html.pro-auth body:not(#_) main.access-layout{animation:pa-rise .55s cubic-bezier(.2,.8,.2,1) both}
html.pro-auth body:not(#_) .access-card :is(button.primary,button[type=submit]){transition:transform .15s,box-shadow .2s,background .2s!important}
html.pro-auth body:not(#_) .access-card :is(button.primary,button[type=submit]):hover{box-shadow:0 8px 20px color-mix(in srgb,var(--a-brand) 30%,transparent)!important;transform:translateY(-1px)}
html.pro-auth body:not(#_) .access-card :is(button.primary,button[type=submit]):active{transform:scale(.98)}
html.pro-auth body:not(#_) main.access-layout{border-top:3px solid transparent!important;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(90deg,var(--a-panel-2),var(--a-gold)) border-box!important}
html.pro-auth body:not(#_).auth-unlocked .access-story ul::before{animation:none;filter:drop-shadow(0 0 10px var(--a-gold))}
@keyframes pa-spin{to{transform:rotate(360deg)}}
@keyframes pa-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes pa-blink{0%,46%,54%,100%{transform:scaleY(1)}50%{transform:scaleY(.15)}}
@media (max-width:760px){html.pro-auth body:not(#_) .access-story .auth-lock{width:220px!important;height:220px!important;margin-top:-110px!important;right:-90px}html.pro-auth body:not(#_) .access-story ul{display:block!important}html.pro-auth body:not(#_) .access-story li{display:none!important}}
@media (prefers-reduced-motion:reduce){html.pro-auth body:not(#_) *{animation:none!important}}
html.pro-auth body:not(#_) .access-story .auth-lock::after,html.pro-auth body:not(#_) .access-story .auth-lock *{display:none!important}
/* ---------- Version sombre (06/11/2026) : plus de fond blanc ---------- */
html.pro-auth{--a-bg:#1b1b19;--a-text:#f8f8f8;--a-text-2:#e4e4e2;--a-muted:#bebebb;--a-border:rgba(255,255,255,.14);--a-brand:#f57b81;--a-brand-ink:#f7878c;color-scheme:dark}
html.pro-auth body:not(#_).auth-register{--a-bg:#210506;--a-brand:#f57b81;--a-brand-ink:#f7878c}
html.pro-auth body:not(#_){background:radial-gradient(900px 520px at 85% -10%,rgba(146,146,141,.18),transparent 65%),radial-gradient(800px 480px at -10% 110%,color-mix(in srgb,var(--a-panel-2) 55%,transparent),transparent 70%),var(--a-bg)!important}
html.pro-auth body:not(#_)>header a{color:var(--a-brand)!important}
html.pro-auth body:not(#_) main.access-layout{background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03)) padding-box,linear-gradient(90deg,var(--a-panel-2),var(--a-gold)) border-box!important;backdrop-filter:blur(10px);box-shadow:0 30px 70px rgba(0,0,0,.5)!important}
html.pro-auth body:not(#_) .access-card{background:transparent!important}
html.pro-auth body:not(#_) .access-card h2{color:#fff!important}
html.pro-auth body:not(#_) .access-card>.eyebrow{color:var(--a-gold)!important}
html.pro-auth body:not(#_) .access-card :is(input:not([type=checkbox]),select){background:rgba(15,15,14,.45)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:rgba(255,255,255,.22)!important;color-scheme:dark}
html.pro-auth body:not(#_) .access-card select option{background:#30302f;color:#fff}
html.pro-auth body:not(#_) .access-card ::placeholder{color:#989894!important;-webkit-text-fill-color:#989894!important}
html.pro-auth body:not(#_) .access-card :is(input,select):focus{border-color:var(--a-gold)!important;box-shadow:0 0 0 3px rgba(245,123,129,.22)!important}
html.pro-auth body:not(#_) .access-card .password-row button,html.pro-auth body:not(#_) .access-mfa .access-restart{background:rgba(255,255,255,.06)!important;color:#fff!important;border-color:rgba(255,255,255,.25)!important}
html.pro-auth body:not(#_) .access-card :is(button.primary,a.primary,button[type=submit]){background:linear-gradient(180deg,#f77b82,#f57b81)!important;color:#2d2d2b!important;-webkit-text-fill-color:#2d2d2b!important;border-color:#f57b81!important}
html.pro-auth body:not(#_) .access-card :is(button.primary,button[type=submit]):hover{background:#f7878c!important;box-shadow:0 8px 22px rgba(245,123,129,.3)!important}
html.pro-auth body:not(#_) .access-card a:not(.primary){color:var(--a-gold)!important}
html.pro-auth body:not(#_) .access-card :is(.session-note,.profile-help){background:rgba(255,255,255,.05)!important;border-color:rgba(255,255,255,.14)!important;color:var(--a-muted)!important}
html.pro-auth body:not(#_) .access-card [role=alert]:not(:empty),html.pro-auth body:not(#_) #access-error:not(:empty){background:rgba(255,142,148,.12)!important;border-color:rgba(255,142,148,.4)!important;color:#ffc2c5!important}
html.pro-auth body:not(#_) .access-card input[type=checkbox]{accent-color:#f57b81}
html.pro-auth body:not(#_) .access-mfa p{color:var(--a-text-2)!important}
html.pro-auth body:not(#_) .auth-success-notice{background:rgba(111,224,176,.12)!important;color:#8ff0c4!important;border-color:rgba(111,224,176,.4)!important}
html.pro-auth body:not(#_) main.compact .panel{background:rgba(255,255,255,.05)!important;border-color:rgba(255,255,255,.14)!important;backdrop-filter:blur(10px)}
html.pro-auth body:not(#_) main.compact :is(h1){color:#fff!important}
html.pro-auth body:not(#_) main.compact :is(p,label){color:var(--a-text-2)!important}
html.pro-auth body:not(#_) main.compact input{background:rgba(15,15,14,.45)!important;color:#fff!important;border-color:rgba(255,255,255,.22)!important}
html.pro-auth body:not(#_) main.compact button{background:#f57b81!important;color:#2d2d2b!important}
html.pro-auth body:not(#_) main.compact a{color:var(--a-gold)!important}
html.pro-auth body:not(#_)>footer{color:#989894!important}
html.pro-auth{--a-card:#272725}
html.pro-auth body:not(#_).auth-register{--a-card:#2f0709}
html.pro-auth body:not(#_) main.access-layout{background:linear-gradient(var(--a-card),var(--a-card)) padding-box,linear-gradient(90deg,var(--a-panel-2),var(--a-gold)) border-box!important;backdrop-filter:none!important}
