/* Jus Digital Global — full login shell correction: balanced space, compact form, natural toolbar. */
html,body{min-width:0}
body:has(.auth-shell){margin:0!important;overflow-x:hidden!important;background:#f4f7fa!important}
body:has(.auth-shell) .auth-shell{
 display:grid!important;grid-template-columns:minmax(300px,35%) minmax(0,1fr)!important;
 min-height:100dvh!important;width:100%!important;align-items:stretch!important;background:#f4f7fa!important
}
body:has(.auth-shell) .auth-brand{
 min-width:0!important;min-height:100dvh!important;box-sizing:border-box!important;
 padding:clamp(25px,3vw,45px)!important;display:flex!important;flex-direction:column!important;
 justify-content:space-between!important;gap:20px!important
}
body:has(.auth-shell) .auth-brand h1{
 font-size:clamp(27px,2.4vw,37px)!important;line-height:1.15!important;max-width:450px!important;
 margin:12px 0 14px!important
}
body:has(.auth-shell) .auth-brand p{font-size:13px!important;line-height:1.58!important;margin:0!important}
body:has(.auth-shell) .auth-brand .auth-points{margin-top:20px!important;gap:11px!important}
body:has(.auth-shell) .auth-main{
 min-width:0!important;width:100%!important;max-width:none!important;min-height:100dvh!important;
 box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;
 padding:20px clamp(22px,3.4vw,64px)!important;position:relative!important;overflow:visible!important
}
body:has(.auth-shell) .auth-main .auth-card{
 box-sizing:border-box!important;flex:none!important;min-width:0!important;
 width:100%!important;max-width:730px!important;
 margin:0 auto!important;padding:clamp(18px,2vw,26px)!important;
 background:#fff!important;border:1px solid #dfe7ee!important;border-radius:15px!important;
 box-shadow:0 14px 40px rgba(14,42,66,.075)!important;
}
body:has(.auth-shell) .jus-auth-toolbar{
 display:flex!important;justify-content:flex-end!important;align-items:center!important;
 gap:12px!important;min-height:32px!important;margin:0 0 10px!important;
 position:static!important;z-index:auto!important
}
body:has(.auth-shell) .jus-auth-search-btn{
 position:static!important;display:inline-flex!important;align-items:center!important;
 border:1px solid #c4d9e7!important;background:#edf5fa!important;color:#11527a!important;
 border-radius:9px!important;padding:8px 12px!important;min-height:34px!important;
 font-weight:750!important;font-size:11px!important;line-height:1.2!important;cursor:pointer
}
body:has(.auth-shell) .jus-auth-search-btn:focus-visible{outline:3px solid #9ccce9;outline-offset:2px}
body:has(.auth-shell) .auth-tabs{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:0!important;margin:0 0 16px!important;min-width:0!important
}
body:has(.auth-shell) .auth-tab{padding:9px 5px!important;font-size:14px!important;min-height:39px!important}
body:has(.auth-shell) .auth-pane h2{font-size:clamp(22px,2vw,28px)!important;line-height:1.22!important;margin:0 0 5px!important}
body:has(.auth-shell) .auth-pane>p{font-size:12px!important;line-height:1.45!important;margin:0 0 14px!important}
body:has(.auth-shell) .auth-grid{gap:9px 12px!important}
body:has(.auth-shell) .auth-pane .field{margin:0!important}
body:has(.auth-shell) .field label{font-size:11px!important;line-height:1.35!important;margin:0 0 4px!important}
body:has(.auth-shell) .field input{
 box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;
 min-height:41px!important;padding:8px 12px!important;font-size:13px!important;line-height:1.3!important
}
body:has(.auth-shell) .small-actions{margin:5px 0!important}
body:has(.auth-shell) .auth-btn{min-height:42px!important;font-size:13px!important;font-weight:800!important;margin:9px 0 0!important}
body:has(.auth-shell) .auth-divider{margin:11px 0!important;gap:8px!important}
body:has(.auth-shell) .providers{gap:8px!important}
body:has(.auth-shell) .provider{min-height:41px!important;font-size:10px!important}
body:has(.auth-shell) .provider-note{font-size:10px!important;line-height:1.4!important;margin:6px 0 0!important}
body:has(.auth-shell) .security-note{font-size:10px!important;line-height:1.4!important;margin:11px 0 0!important;padding:9px 11px!important}
body:has(.auth-shell) .auth-card .jus-after-login-note{display:none!important}
body:has(.auth-shell) #jusHelpButton{
 position:fixed!important;right:13px!important;top:50%!important;bottom:auto!important;
 transform:translateY(-50%)!important;width:48px!important;height:48px!important;
 min-width:48px!important;min-height:48px!important;padding:0!important;border-radius:50%!important;
 display:grid!important;place-items:center!important;font-size:0!important;white-space:nowrap!important;
 line-height:0!important;box-shadow:0 8px 28px rgba(11,43,70,.2)!important
}
body:has(.auth-shell) #jusHelpButton:before{content:"✦";font-size:20px;line-height:1;color:#fff}
body:has(.auth-shell) .jus-help-panel{right:70px!important;bottom:20px!important;max-height:calc(100dvh - 40px)!important}
@media(max-height:730px) and (min-width:781px){
 body:has(.auth-shell) .auth-main{align-items:flex-start!important;padding-top:14px!important;padding-bottom:14px!important}
 body:has(.auth-shell) .auth-main .auth-card{padding:14px 18px!important}
 body:has(.auth-shell) .auth-tabs{margin-bottom:9px!important}
 body:has(.auth-shell) .jus-auth-toolbar{margin-bottom:6px!important}
 body:has(.auth-shell) .auth-pane>p{margin-bottom:10px!important}
}
@media(max-width:960px){
 body:has(.auth-shell) .auth-shell{grid-template-columns:minmax(240px,34%) minmax(0,1fr)!important}
 body:has(.auth-shell) .auth-main{padding:22px!important}
 body:has(.auth-shell) .auth-main .auth-card{padding:18px!important}
}
@media(max-width:780px){
 body:has(.auth-shell) .auth-shell{grid-template-columns:1fr!important;min-height:100dvh!important}
 body:has(.auth-shell) .auth-brand{min-height:0!important;padding:20px 22px 18px!important;gap:8px!important}
 body:has(.auth-shell) .auth-brand h1{font-size:23px!important;max-width:none!important;margin:8px 0!important}
 body:has(.auth-shell) .auth-brand p{font-size:11px!important}
 body:has(.auth-shell) .auth-brand .auth-points{display:none!important}
 body:has(.auth-shell) .auth-main{min-height:0!important;align-items:flex-start!important;padding:17px 15px 80px!important}
 body:has(.auth-shell) .auth-main .auth-card{max-width:600px!important}
 body:has(.auth-shell) #jusHelpButton{top:auto!important;bottom:18px!important;transform:none!important}
 body:has(.auth-shell) .jus-help-panel{right:12px!important;bottom:77px!important}
}
@media(max-width:480px){
 body:has(.auth-shell) .auth-main{padding:13px 10px 82px!important}
 body:has(.auth-shell) .auth-main .auth-card{padding:13px!important}
 body:has(.auth-shell) .providers{grid-template-columns:1fr!important}
 body:has(.auth-shell) .auth-grid{grid-template-columns:1fr!important}
 body:has(.auth-shell) .auth-grid .full{grid-column:auto!important}
}
