/* Connexion d’origine, indépendante du thème personnel. */
html body #login.login{--bg:#050505!important;--panel:#111!important;--panel2:#1b1b1b!important;--line:#383838!important;--line2:#505050!important;--text:#f5f5f5!important;--muted:#b8b8b8!important;--gold:#ff3035!important;--gold2:#e8242a!important;--on-accent:#fff!important;--soft-accent:#ff3035!important;--soft-inset:inset 1px 1px 4px #0005!important;--soft-ring:0 0 0 3px #ff353a26!important;background:#050505!important;color:#f5f5f5!important;min-height:100vh!important;min-height:100dvh!important;padding:24px 16px!important;box-sizing:border-box}
html body #login.login>#loginForm.card{width:min(440px,100%)!important;max-width:440px!important;margin:0!important;padding:30px 32px!important;background:#111!important;color:#f5f5f5!important;border:1px solid #383838!important;border-radius:12px!important;box-shadow:0 20px 70px #0008!important;gap:16px!important;box-sizing:border-box}
html body #login .login-mark{position:relative!important;width:100%!important;aspect-ratio:2.15!important;overflow:hidden!important;margin:0 0 8px!important;flex:none!important}
html body #login .login-mark .login-logo{position:absolute!important;width:215%!important;max-width:none!important;height:auto!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;margin:0!important;filter:none!important}
html body #login.login label,html body #login.login .muted{color:#dedede!important}
html body #login.login input{background:#1b1b1b!important;color:#fff!important;border:1px solid #505050!important;box-shadow:inset 1px 1px 4px #0005!important}
html body #login.login input:focus{border-color:#ff353a!important;box-shadow:0 0 0 3px #ff353a26!important}
html body #login.login .btn.primary{background:#ff3035!important;color:#fff!important;border-color:#ff3035!important;min-height:44px!important;font-weight:700!important}
html body #login.login .btn.primary:hover{background:#e8242a!important;border-color:#e8242a!important}
html body #login.login .eye{color:#eee!important}html body #login.login .forgot,html body #login.login .langsw,html body #login.login .langsw a{color:#bbb!important}html body #login.login .forgot b{color:#eee!important}html body #login.login .err{color:#ff9699!important}
html body #login.login h1,html body #login.login h2,html body #login.login .display{color:#f5f5f5!important}
/* Le bouton existant garde son action et sa confirmation. */
html body #app:not(.hidden) header.top{padding-right:66px!important;box-sizing:border-box}
html body #app:not(.hidden) header.top .top-account:has(#logoutBtn){display:flex!important;overflow:visible!important}
html body #app:not(.hidden) header.top #logoutBtn{display:inline-flex!important;align-items:center!important;justify-content:center!important;position:absolute!important;right:14px!important;top:14px!important;left:auto!important;bottom:auto!important;width:38px!important;min-width:38px!important;max-width:38px!important;height:38px!important;min-height:38px!important;margin:0!important;padding:8px!important;flex:0 0 38px!important;grid-area:auto!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;background:var(--badbg,#fff0f4)!important;color:var(--bad,#a52d4b)!important;border:1px solid var(--bad,#a52d4b)!important;border-radius:11px!important;z-index:5;box-shadow:none!important;font-size:16px!important;overflow:visible!important}
html body #app:not(.hidden) header.top #logoutBtn svg{display:block!important;visibility:visible!important;opacity:1!important;width:20px!important;height:20px!important;min-width:20px!important;fill:none!important;stroke:currentColor!important;filter:none!important}
html body #app:not(.hidden) header.top #logoutBtn::after{content:none!important}
html body #app:not(.hidden) header.top #logoutBtn:focus-visible{outline:3px solid var(--gold,#7867ca)!important;outline-offset:3px!important}
@media(max-width:600px){html body #login.login>#loginForm.card{padding:24px 22px!important}html body #app:not(.hidden) header.top{padding-right:52px!important}html body #app:not(.hidden) header.top #logoutBtn{right:8px!important;top:8px!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;padding:6px!important}}
