/* Scoped authentication fields. Registration follows real DOM and keyboard order. */
#m-auth .auth-input{position:relative;display:flex;align-items:center}
#m-auth .auth-input>.auth-icon{position:absolute;left:14px;width:20px;height:20px;color:#7391ab;pointer-events:none;fill:none;stroke:currentColor;stroke-width:1.7}
#m-auth .auth-input>input{width:100%;min-width:0;min-height:50px;padding:12px 46px 12px 44px;font-size:15px;box-sizing:border-box;background:#fff;color:#17324d;border:1px solid #d5e2ee;border-radius:10px}
#m-auth .auth-input>input:focus{outline:3px solid #b9ddff;outline-offset:1px;border-color:#2577de}
#m-auth .auth-password-toggle{position:absolute;right:3px;top:3px;bottom:3px;display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;border:0;border-radius:8px;background:transparent;color:#617e99;cursor:pointer}
#m-auth .auth-password-toggle:hover{background:#edf6ff;color:#206fce}
#m-auth .auth-password-toggle:focus-visible,#m-auth .auth-link:focus-visible{outline:3px solid #69b7e9;outline-offset:2px}
#m-auth .auth-password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}
#m-auth .auth-password-toggle[data-shown="false"] .auth-eye-slash{display:none}
#m-auth .auth-help{margin:7px 0 0;font-size:12px;line-height:1.65;color:#60778e}
#m-auth .auth-required{color:#e55065;margin-left:4px}
#m-auth [hidden]{display:none!important}
#m-auth .auth-link{border:0;background:none;padding:4px;font:inherit;color:#2474db;cursor:pointer;text-decoration:none}
#m-auth #a-err{font-size:13px;line-height:1.6;color:#b52740;margin-bottom:12px}
#m-auth.auth-registration{padding:24px 20px}
#m-auth.auth-registration .modal.msm{display:block;width:100%;max-width:560px;margin:auto;padding:32px 40px;background:#fff;border:1px solid #d9e8f2;border-top:4px solid #10c8ab;border-radius:20px;max-height:none;overflow:visible;box-shadow:0 20px 70px #19466a24}
#m-auth.auth-registration .modal.msm::before{display:none}
#m-auth.auth-registration .mhd{display:block;position:relative;text-align:center;margin:0;padding:0;border:0}
#m-auth.auth-registration .mttl{font-size:28px;line-height:1.4;color:#163957;font-weight:750;padding:0 24px}
#m-auth.auth-registration .xb{position:absolute;right:-22px;top:-21px;color:#6b8296}
#m-auth.auth-registration .msub{text-align:center;font-size:13px;line-height:1.7;margin:10px 0 24px;color:#637e93}
#m-auth.auth-registration .f{margin-bottom:17px}
#m-auth.auth-registration .f label{display:block;margin-bottom:8px;font-size:14px;line-height:1.5;color:#294961;font-weight:600}
#m-auth.auth-registration #a-btn{width:100%;min-height:50px;background:#2578df;color:#fff;font-size:16px;border-radius:10px}
#m-auth.auth-registration #a-btn:disabled{opacity:.65;cursor:wait}
#m-auth.auth-registration .atog{text-align:center;color:#667e93;margin:16px 0 0;font-size:14px}
@media(max-width:560px){#m-auth.auth-registration{padding:16px}#m-auth.auth-registration .modal.msm{padding:28px 20px 24px;border-radius:16px;max-width:100%}#m-auth.auth-registration .mttl{font-size:25px}#m-auth.auth-registration .xb{right:-10px;top:-16px}}
@media(max-height:650px){#m-auth.auth-registration{align-items:flex-start}#m-auth.auth-registration .modal.msm{margin:0 auto}}

/* Login branding must not inherit the <=768px modal drag-handle geometry. */
#m-auth:not(.auth-registration) .modal.msm::before{box-sizing:border-box;width:auto;height:auto;min-width:0;margin:0;background:none;border-radius:0;justify-self:stretch;word-break:normal;overflow-wrap:break-word}
#m-auth .modal.msm,#m-forgot .modal{min-width:0}
#m-auth .mttl,#m-auth .msub,#m-auth #a-err,#m-forgot .mttl,#m-forgot .msub{overflow-wrap:break-word}
#m-auth .xb,#m-forgot .xb{min-width:44px;min-height:44px;flex-shrink:0}
#m-auth.ov,#m-forgot.ov{overscroll-behavior:contain}
@media(max-width:800px){
 #m-auth:not(.auth-registration) .modal.msm{display:block;width:100%;max-width:560px;padding:28px;background:linear-gradient(135deg,#eaf9f5,#edf5ff 32%,#fff 60%)}
 #m-auth:not(.auth-registration) .modal.msm::before{display:block;padding:0 0 20px;font-size:1.2rem;line-height:1.5}
}
@media(max-width:560px){
 #m-auth:not(.auth-registration) .modal.msm{padding:24px 20px;background:#fff}
 #m-auth:not(.auth-registration) .modal.msm::before{display:none}
}
@media(max-height:600px){
 #m-auth.ov,#m-forgot.ov{align-items:flex-start;overflow-y:auto;padding:12px}
 #m-auth:not(.auth-registration) .modal.msm{display:block;max-width:560px;margin:0 auto;padding:24px;background:#fff}
 #m-auth:not(.auth-registration) .modal.msm::before{display:none}
}
