@media screen{
 html body .server-auth .auth-brand,
 html[data-appearance] body .auth-continuation .auth-flow-scene .auth-card>.auth-brand{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;column-gap:14px!important;row-gap:20px!important;margin:28px 0 42px!important}
 html body .server-auth .auth-brand>img{grid-column:1;grid-row:1}
 html body .server-auth .auth-brand>div{grid-column:2;grid-row:1}
 html body .server-auth .auth-brand>.auth-brand-version{grid-column:1/-1;grid-row:2;text-align:left!important;margin:0!important;line-height:1.4!important;color:#41576a!important;font-size:13px!important}
 html[data-appearance] body .auth-flow-scene .auth-company-logo{margin-bottom:38px!important}
 html[data-appearance] body .auth-flow-scene .auth-card>h2{margin:36px 0 30px!important;line-height:1.4!important}
 html[data-appearance] body .auth-flow-scene .auth-card>p:not(.auth-error){margin:0 0 32px!important;line-height:1.85!important}
 html[data-appearance] body .auth-flow-scene .auth-card form{gap:32px!important;margin-bottom:30px!important}
 html[data-appearance] body .auth-flow-scene .auth-card label{gap:16px!important}
 html[data-appearance] body .auth-flow-scene :is(#mfaLoginBack,#resetBack){margin-top:28px!important;margin-bottom:24px!important}
 html[data-appearance] body .auth-flow-scene .auth-card>.auth-security-note{display:block!important;margin-top:26px!important;line-height:1.85!important}
 html[data-appearance] body .auth-flow-scene .auth-links{gap:22px!important;margin-top:28px!important}
 /* Les compositions de connexion restent intactes : cet espacement vise
    les en-têtes HTML et les étapes MFA/récupération. */
 .auth-original .auth-scene:not(.auth-flow-scene) .auth-card>.auth-brand{display:none!important}
 @media(max-width:760px){
  html body .server-auth .auth-brand{row-gap:12px!important;margin:18px 0 28px!important}
  html body .server-auth .auth-scene:not(.auth-flow-scene) .auth-card>.auth-brand{display:grid!important}
 }
}

@media screen and (min-width:761px){
 html[data-appearance] body .auth-flow-scene .auth-card :is(p,label,small){line-height:1.85!important}
 html[data-appearance] body .auth-continuation .auth-flow-scene .auth-card{padding-top:clamp(60px,5cqw,100px)!important;padding-bottom:40px!important}
 html[data-appearance="copper"] body .auth-continuation .auth-flow-scene .auth-card,html[data-appearance="white"] body .auth-continuation .auth-flow-scene .auth-card{padding-top:clamp(90px,7cqw,150px)!important}
}
