/* KOSMOS ARES 6.2.157 — all authentication and activation workflows.
   Overrides legacy inline styles as the last stylesheet in <head>. */
:root{--k57-navy:#081b35;--k57-navy2:#143458;--k57-blue:#1261e6;--k57-gold:#d6a13e;--k57-line:#dbe4f0;--k57-ink:#0d2645;--k57-paper:#fff;}
body.kosmos-ares-auth57,body.kosmos-auth-page {
  background:radial-gradient(circle at 85% 5%,#f1f6ff,#e8f0f9 48%,#e0e9f5 100%)!important;
  color:var(--k57-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
}
body.kosmos-ares-auth57 :is(a,button,input,select):focus-visible,
body.kosmos-auth-page :is(a,button,input,select):focus-visible{
  outline:3px solid rgba(18,97,230,.33)!important;outline-offset:2px!important;
}
/* LOGIN: 2-column compact professional sign-in; no decorative floating orbs. */
body.kosmos-ares-auth57:has(.login-container){padding:clamp(12px,3vh,34px)!important;min-height:100dvh!important;align-items:center!important;justify-content:center!important;}
body.kosmos-ares-auth57 .login-container{width:min(100%,1010px)!important;max-width:1010px!important;}
body.kosmos-ares-auth57 .login-card{padding:0!important;background:#fff!important;overflow:hidden!important;
 border:1px solid #d6e1ee!important;border-radius:22px!important;
 box-shadow:0 18px 55px rgba(8,31,62,.14)!important;}
body.kosmos-ares-auth57 .login-content{display:grid!important;grid-template-columns:minmax(0,.89fr) minmax(0,1.11fr)!important;gap:0!important;align-items:stretch!important;}
body.kosmos-ares-auth57 .login-left{min-width:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;
 padding:42px 31px!important;background:linear-gradient(152deg,#07192f 0%,#0c294a 68%,#16436b 100%)!important;color:#fff!important;position:relative!important;}
body.kosmos-ares-auth57 .login-left::after{content:"";position:absolute;bottom:0;left:12%;width:76%;height:2px;background:linear-gradient(90deg,transparent,#d4a03f,transparent);}
body.kosmos-ares-auth57 .auth-orbs{display:none!important;}
body.kosmos-ares-auth57 .login-logo-card{width:min(310px,100%)!important;min-height:95px!important;padding:12px 18px!important;
  display:grid!important;place-items:center!important;background:#fff!important;border:1px solid #e6edf4!important;
  border-radius:17px!important;box-shadow:0 5px 18px rgba(0,0,0,.18)!important;overflow:hidden!important;}
body.kosmos-ares-auth57 .login-logo-card img{max-width:100%!important;max-height:94px!important;object-fit:contain!important;background:#fff!important;border-radius:10px!important;}
body.kosmos-ares-auth57 .login-left :is(h1,.auth-company-name){color:#fff!important;}
body.kosmos-ares-auth57 .login-left :is(.auth-company-sub,.auth-brand-meta p){color:#bacce0!important;}
body.kosmos-ares-auth57 .auth-brand-badge{border:1px solid rgba(224,236,251,.18)!important;background:rgba(255,255,255,.07)!important;color:#eef4ff!important;}
body.kosmos-ares-auth57 .vertical-divider{display:none!important;}
body.kosmos-ares-auth57 .login-right{min-width:0!important;width:100%!important;padding:clamp(26px,4vw,55px)!important;background:#fff!important;}
body.kosmos-ares-auth57 .login-right h2{color:var(--k57-ink)!important;font-weight:750!important;letter-spacing:-.028em!important;}
body.kosmos-ares-auth57 .login-right .subtitle{color:#637892!important;}
body.kosmos-ares-auth57 .form-group label{color:#1a3657!important;letter-spacing:.012em!important;}
body.kosmos-ares-auth57 .form-group :is(input,select){min-height:46px!important;border:1px solid #ceddec!important;border-radius:11px!important;background:#fff!important;color:#102b4c!important;box-shadow:none!important;}
body.kosmos-ares-auth57 .form-group :is(input,select):focus{border-color:var(--k57-blue)!important;box-shadow:0 0 0 3px rgba(18,97,230,.12)!important;}
body.kosmos-ares-auth57 .login-right .btn#loginSubmit{background:var(--k57-blue)!important;border:1px solid var(--k57-blue)!important;border-radius:11px!important;box-shadow:none!important;font-weight:750!important;}
body.kosmos-ares-auth57 .login-right .btn#loginSubmit:hover:not(:disabled){background:#0c4db5!important;}
body.kosmos-ares-auth57 .forgot-password a{color:var(--k57-blue)!important;}
body.kosmos-ares-auth57 .auth-live-pill{border:1px solid var(--k57-line)!important;border-radius:10px!important;background:#f5f8fd!important;}
body.kosmos-ares-auth57 .login-footer{padding:15px 25px!important;margin:0!important;background:#f8fbff!important;border-top:1px solid #e3eaf3!important;}
/* Other auth flows: forgot/reset/first password change share same two-panel structure. */
body.kosmos-auth-page .auth-shell{border-radius:22px!important;border:1px solid #d5e1ee!important;
 box-shadow:0 18px 55px rgba(8,31,62,.13)!important;width:min(1010px,100%)!important;
 min-height:550px!important;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important;overflow:hidden!important;}
body.kosmos-auth-page .auth-brand{min-height:550px!important;padding:42px 32px!important;
 background:linear-gradient(152deg,#07192f,#0c294a 70%,#16436b)!important;}
body.kosmos-auth-page .auth-brand::before,body.kosmos-auth-page .auth-brand::after{display:none!important;}
body.kosmos-auth-page .auth-logo-card{background:#fff!important;border:1px solid #e1e8ef!important;border-radius:17px!important;
 box-shadow:0 4px 16px rgba(0,0,0,.16)!important;width:min(300px,100%)!important;min-height:115px!important;height:auto!important;padding:12px 17px!important;}
body.kosmos-auth-page .auth-logo-card img{max-width:100%!important;max-height:87px!important;object-fit:contain!important;}
body.kosmos-auth-page .auth-brand-copy h1{color:#fff!important;}
body.kosmos-auth-page .auth-brand-copy p{color:#c4d4e5!important;}
body.kosmos-auth-page .auth-panel{min-height:550px!important;padding:45px clamp(24px,4vw,52px)!important;}
body.kosmos-auth-page .auth-panel h2{color:var(--k57-ink)!important;}
body.kosmos-auth-page .auth-kicker{background:#eaf2ff!important;color:#0c4cb2!important;border-radius:9px!important;}
body.kosmos-auth-page .auth-field input{background:#fff!important;border-color:#ceddec!important;border-radius:10px!important;}
body.kosmos-auth-page .auth-field input:focus{border-color:var(--k57-blue)!important;box-shadow:0 0 0 3px rgba(18,97,230,.12)!important;}
body.kosmos-auth-page .auth-submit{background:var(--k57-blue)!important;border-radius:10px!important;box-shadow:none!important;}
body.kosmos-auth-page .auth-link{color:var(--k57-blue)!important;}
/* MFA: keep accessible single column and visible expiration timer. */
body.kosmos-ares-auth57:has(main.card):not(:has(.login-container)){
 background:radial-gradient(circle at 85% 5%,#f1f6ff,#e8f0f9 48%,#e0e9f5)!important;
}
body.kosmos-ares-auth57>main.card{border:1px solid #d6e2ef!important;border-top:4px solid var(--k57-navy2)!important;border-radius:20px!important;
 background:#fff!important;box-shadow:0 18px 55px rgba(8,31,62,.13)!important;max-width:490px!important;}
body.kosmos-ares-auth57>main.card .logo{background:#fff!important;border:1px solid #dae4ef!important;border-radius:14px!important;padding:12px!important;overflow:hidden!important;}
body.kosmos-ares-auth57>main.card .logo img{object-fit:contain!important;max-width:100%!important;background:#fff!important;border-radius:10px!important;}
body.kosmos-ares-auth57>main.card .code{border:1px solid #cbd9eb!important;border-radius:11px!important;color:var(--k57-ink)!important;}
body.kosmos-ares-auth57>main.card .btn.primary{background:var(--k57-blue)!important;color:#fff!important;border-radius:10px!important;}
body.kosmos-ares-auth57>main.card .badge{background:#edf3fc!important;color:#174d9c!important;}
/* LICENSE ACTIVATION */
body.kosmos-ares-auth57 .licence-container{max-width:1010px!important;}
body.kosmos-ares-auth57 .licence-card{padding:0!important;overflow:hidden!important;border:1px solid #d7e2ef!important;border-radius:22px!important;
 box-shadow:0 18px 55px rgba(8,31,62,.13)!important;background:#fff!important;}
body.kosmos-ares-auth57 .licence-content{display:grid!important;grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr)!important;gap:0!important;align-items:stretch!important;}
body.kosmos-ares-auth57 .licence-left{padding:43px 30px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
 background:linear-gradient(152deg,#07192f,#0c294a 70%,#16436b)!important;color:#fff!important;}
body.kosmos-ares-auth57 .licence-left :is(h1,p,.user-info){color:#fff!important;}
body.kosmos-ares-auth57 .licence-logo{padding:14px!important;border-radius:16px!important;background:#fff!important;}
body.kosmos-ares-auth57 .licence-logo img{max-width:100%!important;object-fit:contain!important;}
body.kosmos-ares-auth57 .licence-right{padding:45px clamp(25px,4vw,55px)!important;min-width:0!important;}
body.kosmos-ares-auth57 .licence-right :is(h2,label){color:var(--k57-ink)!important;}
body.kosmos-ares-auth57 .licence-right :is(input,select){border:1px solid #cbd9eb!important;border-radius:10px!important;}
body.kosmos-ares-auth57 .licence-right :is(.btn,button[type="submit"]){background:var(--k57-blue)!important;border-radius:10px!important;}
/* FIRST RUN / ONBOARDING */
body.kosmos-ares-auth57 .onboard{max-width:1050px!important;margin:auto!important;padding:clamp(12px,3vw,32px)!important;}
body.kosmos-ares-auth57 .onboard-card{border:1px solid #dbe5f0!important;border-radius:20px!important;background:#fff!important;
 box-shadow:0 16px 45px rgba(8,31,62,.11)!important;overflow:hidden!important;}
body.kosmos-ares-auth57 .onboard-head{background:linear-gradient(110deg,#0a203b,#16436c)!important;color:#fff!important;border-bottom:3px solid var(--k57-gold)!important;}
body.kosmos-ares-auth57 .onboard-head :is(h1,small,p){color:#fff!important;}
body.kosmos-ares-auth57 .onboard .save{background:var(--k57-blue)!important;border-radius:10px!important;}
body.kosmos-ares-auth57 .onboard :is(input,textarea,select){border-color:#cddbea!important;border-radius:10px!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{padding:22px!important;min-height:190px!important;}
  body.kosmos-ares-auth57 .login-right,body.kosmos-ares-auth57 .licence-right{padding:28px!important;}
  body.kosmos-ares-auth57 .login-left .auth-brand-meta{margin-top:14px!important;}
  body.kosmos-ares-auth57 .login-left .auth-company-sub,body.kosmos-ares-auth57 .auth-brand-badges{display:none!important;}
  body.kosmos-auth-page .auth-shell{grid-template-columns:1fr!important;min-height:0!important;}
  body.kosmos-auth-page .auth-brand{min-height:190px!important;padding:22px!important;}
  body.kosmos-auth-page .auth-logo-card{min-height:85px!important;width:min(240px,100%)!important;}
  body.kosmos-auth-page .auth-brand-copy,body.kosmos-auth-page .auth-security-list{display:none!important;}
  body.kosmos-auth-page .auth-panel{min-height:0!important;padding:29px!important;}
}
@media(max-width:520px){
  body.kosmos-ares-auth57:has(.login-container){padding:10px!important;align-items:flex-start!important;}
  body.kosmos-ares-auth57 .login-card,body.kosmos-ares-auth57 .licence-card{border-radius:17px!important;}
  body.kosmos-ares-auth57 .login-logo-card{min-height:77px!important;max-width:210px!important;}
  body.kosmos-ares-auth57 .login-logo-card img{max-height:68px!important;}
  body.kosmos-ares-auth57 .login-right,body.kosmos-ares-auth57 .licence-right{padding:22px 18px!important;}
  body.kosmos-auth-page{padding:10px!important;background:#edf3fb!important;}
  body.kosmos-auth-page .auth-shell{min-height:0!important;border-radius:17px!important;border:1px solid #dbe5ef!important;}
  body.kosmos-auth-page .auth-brand{min-height:128px!important;padding:14px!important;}
  body.kosmos-auth-page .auth-logo-card{min-height:75px!important;height:75px!important;width:min(210px,100%)!important;}
  body.kosmos-auth-page .auth-logo-card img{max-height:60px!important;}
  body.kosmos-auth-page .auth-panel{padding:22px 18px!important;}
  body.kosmos-ares-auth57>main.card{max-width:100%!important;}
}
@media(prefers-reduced-motion:reduce){body.kosmos-ares-auth57 .login-left *{animation:none!important;}}

/* UX pass 6.2.157: no forced 690px panel or huge blank footer on smaller screens. */
@media(min-width:861px){
  body.kosmos-ares-auth57:has(.login-container) .login-left,
  body.kosmos-ares-auth57:has(.login-container) .login-right{min-height:560px!important;}
  body.kosmos-ares-auth57:has(.login-container) .login-content{min-height:0!important;}
  body.kosmos-ares-auth57:has(.login-container) .login-left{padding:30px!important;}
  body.kosmos-ares-auth57:has(.login-container) .login-right{padding:38px 45px 54px!important;}
}
@media(max-width:860px){
  body.kosmos-ares-auth57:has(.login-container) .login-card,
  body.kosmos-ares-auth57:has(.login-container) .login-content{min-height:0!important;}
  body.kosmos-ares-auth57:has(.login-container) .login-left{min-height:0!important;padding:22px 18px!important;}
  body.kosmos-ares-auth57:has(.login-container) .login-right{min-height:0!important;padding:30px 26px 44px!important;}
}
@media(max-width:520px){
  body.kosmos-ares-auth57:has(.login-container){padding:12px!important;align-items:flex-start!important;justify-content:flex-start!important;}
  body.kosmos-ares-auth57:has(.login-container) .login-container{width:100%!important;max-width:100%!important;margin:0 auto!important;}
  body.kosmos-ares-auth57:has(.login-container) .login-card{
    min-height:0!important;border:1px solid #d7e3f0!important;border-radius:18px!important;
    box-shadow:0 7px 28px rgba(11,38,70,.09)!important;
  }
  body.kosmos-ares-auth57:has(.login-container) .login-left{
    min-height:0!important;padding:18px 18px 16px!important;gap:12px!important;
  }
  body.kosmos-ares-auth57 .login-left .login-logo-card{
    min-height:75px!important;width:min(235px,100%)!important;padding:7px 10px!important;
  }
  body.kosmos-ares-auth57 .login-left .login-logo img{max-height:67px!important;}
  body.kosmos-ares-auth57:has(.login-container) .login-right{
    min-height:0!important;padding:25px 19px 28px!important;justify-content:flex-start!important;
  }
  body.kosmos-ares-auth57 .login-right h2{font-size:26px!important;line-height:1.12!important;}
  body.kosmos-ares-auth57 .login-right .subtitle{margin-bottom:16px!important;}
  body.kosmos-ares-auth57 .login-right .auth-live-grid{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;margin-bottom:16px!important;
  }
  body.kosmos-ares-auth57 .auth-live-pill{padding:9px!important;min-width:0!important;}
  body.kosmos-ares-auth57 .auth-live-copy{min-width:0!important;}
  body.kosmos-ares-auth57 .auth-live-copy strong{font-size:9px!important;}
  body.kosmos-ares-auth57 .login-footer{
    position:static!important;margin:0!important;padding:10px 14px!important;
    min-height:0!important;text-align:center!important;
  }
  body.kosmos-ares-auth57 .login-footer p{font-size:10px!important;line-height:1.4!important;}
  body.kosmos-ares-auth57 .form-group :is(input,select){min-height:44px!important;}
  body.kosmos-ares-auth57 .login-right #loginSubmit{min-height:44px!important;}
}
