@media screen{
 html body .server-auth .auth-version-footer{display:block!important;text-align:center;font-size:12px;line-height:1.4;color:#41576a;margin-top:24px;padding:8px;box-sizing:border-box}
 html body .server-auth :is(#resetBack,#mfaLoginBack){width:100%!important;min-height:44px!important;box-sizing:border-box!important;padding:10px 16px!important;border-radius:8px!important;font-size:14px!important;text-align:center!important;justify-content:center!important}
 @media(min-width:761px){
  html[data-appearance] body .auth-scene:not(.auth-flow-scene) .auth-version-footer{position:absolute!important;left:68%;top:88%;width:28%;height:4%;margin:0!important;padding:0!important;display:flex!important;align-items:center;justify-content:center;background:#fcfdff;font-size:clamp(10px,.85cqw,15px);z-index:5}
  html[data-appearance="white"] body .auth-scene:not(.auth-flow-scene) .auth-version-footer{left:69%;top:90%;width:28%;height:5%;background:#fafafa}
  html[data-appearance="copper"] body .auth-scene:not(.auth-flow-scene) .auth-version-footer{left:66.5%;top:91.5%;width:30%;height:4%;background:#faf7f1}
  html[data-appearance="garden"] body .auth-scene:not(.auth-flow-scene) .auth-version-footer{left:64%;top:85%;width:28%;height:4%;background:#fff}
  html[data-appearance="aurora"] body .auth-scene:not(.auth-flow-scene) .auth-version-footer{left:37.8%;top:76.2%;width:24.5%;height:3.5%;background:#c5e5ef}
  html[data-appearance] body .auth-flow-scene :is(#resetBack,#mfaLoginBack){min-height:40px!important;font-size:clamp(12px,.95cqw,16px)!important;padding:.8cqw!important;border-radius:.8cqw!important;line-height:1.35!important}
 }
}

/* Téléphones : une seule identité/version, en tête ; champs lisibles et tactiles. */
@media screen and (max-width:760px){
 html body .server-auth .auth-version-footer{display:none!important}
 html body .server-auth .auth-card{padding:20px!important}
 html body .server-auth .auth-company-logo{margin-bottom:16px!important}
 html body .server-auth .auth-company-logo img{max-height:64px!important}
 html body .server-auth .auth-brand{row-gap:8px!important;margin:12px 0 18px!important}
 html[data-appearance] body .server-auth .auth-card>h2{margin:16px 0 14px!important;line-height:1.35!important}
 html[data-appearance] body .server-auth .auth-card>p:not(.auth-error){margin:0 0 14px!important;line-height:1.5!important}
 html[data-appearance] body .server-auth .auth-card form{gap:16px!important;margin-bottom:14px!important}
 html[data-appearance] body .server-auth .auth-card label{gap:8px!important}
 html[data-appearance] body .server-auth :is(#mfaLoginBack,#resetBack){margin-top:14px!important;margin-bottom:12px!important}
 html[data-appearance] body .server-auth .auth-card>.auth-security-note{margin-top:14px!important;line-height:1.5!important}
 html[data-appearance] body .server-auth .auth-links{gap:14px!important;margin-top:14px!important}
}

@media screen{
 html body .server-auth .auth-help{position:relative;display:block;margin:6px 0!important;max-width:100%}
 html body .server-auth .auth-help>summary{display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;width:44px;min-height:36px;border:1px solid var(--line);border-radius:8px;background:var(--pale);color:var(--ink);font-size:22px;font-weight:700;line-height:1}
 .auth-help>summary::-webkit-details-marker{display:none}
 .auth-help>summary:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
 html body .server-auth .auth-help-bubble{position:relative;z-index:10;margin-top:6px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--pale);color:var(--ink);box-shadow:var(--shadow);font-size:13px;line-height:1.5;overflow-wrap:anywhere}
 html body .server-auth .auth-help-bubble p{margin:0!important;color:inherit!important;line-height:1.5!important}
 html body .server-auth .auth-card :is(input,select,textarea){border-radius:8px!important}
 html body .server-auth .auth-card button.btn{border-radius:8px!important;min-height:44px}
}
