/* KOSMOS 6.2.158 / ARES — all standalone authentication and activation UI.
 * Visual changes only; forms, CSRF, MFA and lockout handlers are untouched. */
:root{--auth58-ink:#102943;--auth58-blue:#195de0;--auth58-dark:#081b34;--auth58-gold:#ca9639;--auth58-line:#d4e0ed;}
body.kosmos-ares-auth57,body.kosmos-auth-page{
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  background:radial-gradient(ellipse at 86% 14%,#f8fafc,#e8eff8 72%,#e1eaf4)!important;
  color:var(--auth58-ink)!important;
}
body.kosmos-ares-auth57 :is(h1,h2,h3),body.kosmos-auth-page :is(h1,h2,h3){letter-spacing:-.025em!important;}
body.kosmos-ares-auth57 :is(.login-card,.licence-card),body.kosmos-auth-page .auth-shell{
  background:#fff!important;border:1px solid var(--auth58-line)!important;
  border-radius:18px!important;box-shadow:0 12px 42px rgba(7,27,52,.12)!important;overflow:hidden!important;
}
body.kosmos-ares-auth57 :is(.login-left,.licence-left),body.kosmos-auth-page .auth-brand{
  background:linear-gradient(165deg,#07182c 0%,#0b2746 70%,#173b60)!important;
}
body.kosmos-ares-auth57 .login-left::after{height:2px!important;background:linear-gradient(90deg,transparent,#ddad54,transparent)!important;}
body.kosmos-ares-auth57 :is(.login-logo-card,.licence-logo),body.kosmos-auth-page .auth-logo-card{
  background:#fff!important;border:1px solid #e3ebf4!important;border-radius:15px!important;
  box-shadow:0 4px 14px rgba(0,11,29,.16)!important;overflow:hidden!important;
}
body.kosmos-ares-auth57 :is(.login-logo-card img,.licence-logo img),body.kosmos-auth-page .auth-logo-card img{
  display:block;object-fit:contain!important;background:#fff!important;max-width:100%!important;
}
body.kosmos-ares-auth57 .login-right,body.kosmos-ares-auth57 .licence-right,body.kosmos-auth-page .auth-panel{background:#fff!important;min-width:0!important;}
body.kosmos-ares-auth57 .login-right h2,body.kosmos-auth-page .auth-panel h2{
  font-size:clamp(20px,1.9vw,25px)!important;line-height:1.17!important;
  font-weight:760!important;color:var(--auth58-ink)!important;margin-bottom:7px!important;
}
body.kosmos-ares-auth57 .login-right .subtitle,body.kosmos-auth-page .auth-panel :is(.subtitle,.auth-subtitle){
  font-size:12px!important;line-height:1.45!important;color:#59718b!important;
}
body.kosmos-ares-auth57 :is(.form-group label,.auth-field label),body.kosmos-auth-page .auth-field label{
  font-size:12px!important;font-weight:690!important;color:#294563!important;
}
body.kosmos-ares-auth57 :is(.form-group input,.form-group select,.licence-right input,.licence-right select),
body.kosmos-auth-page :is(.auth-field input,.auth-field select){
  min-height:44px!important;background:#fff!important;border:1px solid #cbd9e9!important;
  border-radius:10px!important;color:#142e4c!important;box-shadow:none!important;
}
body.kosmos-ares-auth57 :is(input,select,textarea):focus-visible,body.kosmos-auth-page :is(input,select,textarea):focus-visible{
  border-color:var(--auth58-blue)!important;outline:3px solid rgba(25,93,224,.24)!important;outline-offset:1px!important;
}
body.kosmos-ares-auth57 :is(#loginSubmit,.btn.primary,.licence-right button[type="submit"]),body.kosmos-auth-page .auth-submit{
  border-radius:10px!important;background:var(--auth58-blue)!important;border:1px solid var(--auth58-blue)!important;
  color:#fff!important;font-weight:730!important;box-shadow:none!important;
}
body.kosmos-ares-auth57 :is(#loginSubmit,.btn.primary,.licence-right button[type="submit"]):hover:not(:disabled),body.kosmos-auth-page .auth-submit:hover:not(:disabled){
  background:#1045ad!important;border-color:#1045ad!important;
}
body.kosmos-ares-auth57 :is(.forgot-password a,.login-right a),body.kosmos-auth-page .auth-link{color:#134eae!important;}
body.kosmos-ares-auth57 .login-footer{background:#f8fafd!important;border-top:1px solid #e2eaf2!important;}
body.kosmos-ares-auth57 .auth-live-pill{background:#f6f9fe!important;border-color:#d9e5f3!important;border-radius:9px!important;}
body.kosmos-ares-auth57 .auth-live-copy strong{font-size:10px!important;}
body.kosmos-ares-auth57 :is(.auth-brand-badge,.auth-badge){border-radius:9px!important;}
body.kosmos-auth-page .auth-shell{min-height:0!important;}
body.kosmos-auth-page .auth-brand,body.kosmos-auth-page .auth-panel{min-height:460px!important;}
body.kosmos-auth-page .auth-panel{padding:clamp(24px,3.2vw,42px)!important;}
body.kosmos-ares-auth57 .onboard-card{border-radius:16px!important;}
body.kosmos-ares-auth57 .onboard-head{background:linear-gradient(110deg,#0c2847,#174269)!important;}
body.kosmos-ares-auth57>main.card{border-radius:16px!important;}
body.kosmos-ares-auth57>main.card h1{font-size:clamp(20px,2.2vw,27px)!important;}
@media(max-width:860px){
  body.kosmos-ares-auth57 .login-content,body.kosmos-ares-auth57 .licence-content{grid-template-columns:minmax(0,1fr)!important;}
  body.kosmos-ares-auth57 .login-left,body.kosmos-ares-auth57 .licence-left{min-height:0!important;padding:21px 17px!important;}
  body.kosmos-ares-auth57 .login-right,body.kosmos-ares-auth57 .licence-right{min-height:0!important;padding:26px 23px 30px!important;}
  body.kosmos-ares-auth57 .login-right h2{font-size:23px!important;}
  body.kosmos-auth-page .auth-shell{grid-template-columns:minmax(0,1fr)!important;min-height:0!important;}
  body.kosmos-auth-page .auth-brand{min-height:0!important;padding:18px!important;}
  body.kosmos-auth-page .auth-panel{min-height:0!important;padding:25px 22px!important;}
}
@media(max-width:520px){
  body.kosmos-ares-auth57:has(.login-container){padding:9px!important;align-items:flex-start!important;}
  body.kosmos-ares-auth57 .login-card,body.kosmos-ares-auth57 .licence-card,body.kosmos-auth-page .auth-shell{border-radius:15px!important;}
  body.kosmos-ares-auth57 .login-left{padding:15px 14px!important;gap:8px!important;}
  body.kosmos-ares-auth57 .login-logo-card{min-height:0!important;width:min(200px,100%)!important;padding:7px 9px!important;}
  body.kosmos-ares-auth57 .login-logo-card img{max-height:60px!important;}
  body.kosmos-ares-auth57 .login-right{padding:20px 17px 23px!important;}
  body.kosmos-ares-auth57 .login-right h2,body.kosmos-auth-page .auth-panel h2{font-size:20px!important;line-height:1.18!important;}
  body.kosmos-ares-auth57 .login-right .subtitle,body.kosmos-auth-page .auth-panel .subtitle{font-size:11.5px!important;}
  body.kosmos-ares-auth57 .login-footer{min-height:0!important;padding:9px 12px!important;}
  body.kosmos-ares-auth57 .login-footer p{font-size:10px!important;}
  body.kosmos-ares-auth57 .auth-live-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;}
  body.kosmos-ares-auth57 .auth-live-pill{min-width:0!important;padding:7px!important;}
  body.kosmos-ares-auth57 .auth-live-copy :is(strong,small){overflow-wrap:anywhere;}
  body.kosmos-auth-page{padding:9px!important;}
  body.kosmos-auth-page .auth-panel{padding:21px 17px!important;}
  body.kosmos-auth-page .auth-brand{padding:13px!important;}
  body.kosmos-auth-page .auth-logo-card{height:70px!important;min-height:70px!important;}
  body.kosmos-auth-page .auth-logo-card img{max-height:55px!important;}
  body.kosmos-ares-auth57 :is(.licence-right h1,.licence-right h2){font-size:20px!important;}
}
@media(prefers-reduced-motion:reduce){body.kosmos-ares-auth57 *,body.kosmos-auth-page *{animation:none!important;transition:none!important;}}
