/* Money X auth presentation only. Load after portal.css. */
.page-login,.page-register{background:#f7faf9}
.auth-layout.mx-auth{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:0;width:calc(100% - 64px);max-width:1120px;padding:0;margin:40px auto 56px;border:1px solid #dce6e3;border-radius:28px;overflow:hidden;background:#fff;box-shadow:0 18px 70px #102b470a}
.mx-auth .auth-art{position:relative;display:flex;flex-direction:column;justify-content:space-between;text-align:left;padding:42px 44px 34px;background:radial-gradient(ellipse at 80% 18%,#eef0ff 0,transparent 58%),#e8f5f0;min-width:0;overflow:hidden}
.mx-auth .auth-art .auth-wordmark{font-size:24px;font-weight:700;letter-spacing:-1px;color:#102b47;margin:0}
.auth-wordmark span{color:#57357c}
.mx-auth .auth-art .auth-art-copy{color:#102b47;font-size:clamp(21px,2vw,28px);font-weight:600;line-height:1.65;max-width:360px;margin:18px 0 22px;letter-spacing:-.025em}
.auth-art-meta{display:flex;gap:8px;align-items:center;color:#486072;font-size:12px;margin:24px 0 0}
.auth-art-meta .icon{width:17px;height:17px}
.auth-illustration{position:relative;height:340px;margin-top:auto;flex-shrink:0}
.auth-mascots{position:absolute;bottom:0;left:50%;width:400px;height:310px;transform:translateX(-50%);--gaze-x:0px;--gaze-y:0px;--lean:0deg}
.auth-mascots:after{position:absolute;bottom:-8px;left:-5px;width:410px;height:18px;border-radius:50%;background:#102b4709;content:''}
.auth-character{position:absolute;bottom:0;transform:skewX(var(--lean));transform-origin:50% 100%}
.character-lavender{left:102px;width:128px;height:300px;background:#b6a0e2;border-radius:4px 4px 0 0;z-index:1}
.character-navy{left:217px;width:88px;height:216px;background:#102b47;border-radius:3px 3px 0 0;z-index:2}
.character-sky{left:294px;width:104px;height:158px;background:#abd4e8;border-radius:55px 55px 0 0;z-index:3}
.character-mint{left:0;width:224px;height:141px;background:#73c9ae;border-radius:130px 130px 0 0;z-index:4}
.character-face{position:absolute;left:50%;top:26px;transform:translateX(-50%);width:60px;height:62px}
.character-navy .character-face{top:24px;width:50px}
.character-mint .character-face{top:50px;width:66px}
.character-sky .character-face{top:35px;left:67%;width:42px}
.character-eyes{display:flex;justify-content:space-between;width:100%;height:15px}
.character-eye{display:block;position:relative;width:14px;height:15px;border-radius:50%;background:#f9ffff;overflow:hidden}
.character-pupil{position:absolute;width:7px;height:7px;top:4px;left:3.5px;border-radius:50%;background:#102b47;transform:translate(var(--gaze-x),var(--gaze-y))}
.character-mint .character-eye{width:11px;height:12px;background:#102b47}
.character-mint .character-pupil{width:3px;height:3px;top:2px;left:2px;background:#fff;transform:translate(calc(var(--gaze-x) * .5),calc(var(--gaze-y) * .5))}
.character-sky .character-eye:first-child{visibility:hidden}
.character-mouth{display:block;width:14px;height:7px;border-bottom:3px solid #102b47;border-radius:0 0 100% 100%;margin:11px auto 0}
.character-navy .character-mouth{border-color:#c3e7e0;width:9px;height:4px;margin-top:13px}
.character-mint .character-mouth{width:17px;height:9px;background:#102b47;border:0;border-radius:2px 2px 12px 12px}
.character-sky .character-mouth{width:36px;height:0;border-bottom:3px solid #102b47;border-radius:0;margin:13px 0 0 20px}
.auth-mascots.is-private .auth-character{transform:skewX(-3deg)}
.auth-mascots.is-private .character-face{margin-left:-12px}
.auth-mascots.is-private .character-pupil{transform:translate(-3px,0)}
.auth-mascots.is-private .character-mint .character-eye{height:6px;border-top:3px solid #102b47;border-radius:50% 50% 0 0;background:transparent;margin-top:3px}
.auth-mascots.is-private .character-mint .character-pupil{visibility:hidden}
.auth-mascots.is-private .character-lavender .character-mouth{transform:rotate(180deg)}
.mx-auth .auth-card{border:0;border-radius:0;box-shadow:none;padding:42px 52px 30px;min-width:0;align-self:center}
.auth-heading{margin-bottom:23px}
.auth-heading .auth-kicker{font-size:12px;color:#57357c;font-weight:600;margin-bottom:8px}
.mx-auth .auth-heading h1{font-size:clamp(26px,2.5vw,34px);line-height:1.5;color:#102b47;margin:0 0 6px;letter-spacing:-.025em}
.auth-heading p{font-size:14px;line-height:1.7;color:#52677b;margin:0}
.mx-auth .google{margin:0 auto;min-height:40px;max-width:400px;width:100%}
.mx-auth .divider{margin:17px 0 15px;color:#52677b}
.mx-auth label{font-size:14px;font-weight:500;margin-top:13px;margin-bottom:5px;color:#102b47}
.mx-auth input:not([type=checkbox]):not([type=hidden]){min-height:48px;border:1px solid #8597a7;border-radius:10px;padding:10px 13px;background:#fff;color:#102b47;font-size:16px;line-height:1.5}
.mx-auth input:not([type=checkbox]):not([type=hidden]):focus{border-color:#57357c}
.mx-auth input:focus-visible,.mx-auth button:focus-visible,.mx-auth a:focus-visible{outline:3px solid #57357c;outline-offset:3px}
.mx-auth small{font-size:12px;margin-top:6px;line-height:1.6}
.password-field{position:relative}
.mx-auth .password-field input{padding-right:58px!important}
.password-toggle{display:none;position:absolute;top:2px;right:3px;min-width:44px;min-height:44px;align-items:center;justify-content:center;padding:8px;color:#52677b;background:transparent;border:0;border-radius:8px;line-height:1}
.auth-enhanced .password-toggle{display:inline-flex}
.password-toggle:hover{background:#f2effb;color:#30214d}
.password-toggle .icon{width:21px;height:21px}
.password-toggle[aria-pressed=true] .icon{opacity:.65}
.mx-auth .forgot-link{min-height:44px;margin:4px 0 10px;padding:10px 0;font-size:13px;color:#57357c}
.mx-auth .checkbox-row{margin:15px 0 14px;font-size:12px;line-height:1.8;align-items:flex-start;color:#52677b;font-weight:400}
.mx-auth .checkbox-row input{margin:3px 0;width:20px;height:20px;accent-color:#57357c}
.mx-auth .checkbox-row:has(input:focus-visible){outline-color:#57357c}
.mx-auth a{color:#57357c;text-decoration:underline;text-underline-offset:3px}
.mx-auth .button{border-radius:999px;min-height:50px;font-size:15px;background:#496a99;color:#fff;border-color:#314e78;box-shadow:none}
.mx-auth .button:hover{background:#3d5d8d;border-color:#314e78}
.mx-auth .button:active{background:#314e78;border-color:#18395e}
.mx-auth .compact-notice{font-size:12px;line-height:1.7;background:#f2f7f5;color:#405f55;border-color:#d6e4de;padding:9px 12px;margin:12px 0 18px}
.mx-auth .auth-helper{font-size:12px;line-height:1.7;margin:18px 0 15px;color:#52677b}
.mx-auth .auth-switch{border-top:1px solid #e4e9ee;padding-top:15px;font-size:13px;line-height:1.8}
.mx-auth .auth-switch a{display:inline-flex;align-items:center;min-height:44px;font-weight:600}
.mx-auth .legacy-link{font-size:12px;min-height:44px;padding:11px 0;color:#52677b}
.page-register .auth-illustration{margin-block:auto;}
@media(min-width:768px) and (max-width:1100px){
 .auth-layout.mx-auth{width:calc(100% - 40px);margin-top:30px;grid-template-columns:44% 56%;max-width:1120px}
 .mx-auth .auth-art{padding:32px 24px}
 .mx-auth .auth-card{padding:32px 28px 24px}
 .auth-mascots{transform:translateX(-50%) scale(.78);transform-origin:50% 100%}
 .auth-illustration{height:285px}
 .mx-auth .auth-art .auth-art-copy{font-size:23px}
}
@media(max-width:767px){
 .auth-layout.mx-auth{display:flex;flex-direction:column;width:calc(100% - 32px);max-width:560px;margin:24px auto 32px;border-radius:20px}
 .mx-auth .auth-art{display:block;min-height:136px;height:136px;padding:22px 24px;}
 .mx-auth .auth-art .auth-wordmark{font-size:20px;margin-top:5px}
 .mx-auth .auth-art .auth-art-copy{max-width:125px;font-size:12px;font-weight:500;line-height:1.7;margin:10px 0 0}
 .auth-art-meta{display:none}
 .auth-illustration{position:absolute;right:10px;bottom:14px;width:190px;height:116px;margin:0!important}
 .auth-mascots{transform:translateX(-50%) scale(.42);transform-origin:50% 100%}
 .mx-auth .auth-card{width:100%;padding:27px 24px 20px;align-self:stretch}
 .mx-auth .auth-heading h1{font-size:26px}
 .auth-heading{margin-bottom:20px}
 .auth-heading .auth-kicker{display:none}
 .auth-heading p{font-size:13px}
 .mx-auth label{font-size:14px}
 .mx-auth .google{max-width:400px}
}
@media(max-width:374px){
 .mx-auth .auth-card{padding-inline:20px}
 .mx-auth .auth-art{padding-inline:20px}
 .auth-illustration{right:-2px;width:176px}
 .auth-mascots{transform:translateX(-50%) scale(.39)}
 .mx-auth .auth-art .auth-art-copy{max-width:116px;font-size:11px}
}
@media(prefers-reduced-motion:reduce),(hover:none),(pointer:coarse),(max-width:767px){
 .auth-mascots .auth-character,.auth-mascots.is-private .auth-character{transform:none}
 .auth-mascots .character-pupil{transform:none}
 .auth-mascots.is-private .character-face{margin-left:0}
}

.mx-auth .button:focus-visible{outline-color:#18395e}
.mx-auth .button:disabled{background:#edf1f7;color:#4f5e74;border-color:#8290a7;box-shadow:none}
/* Motion revision 02: reference timing, face travel and independent character poses. */
.mx-auth .character-mint{height:124px}
.mx-auth .character-sky{height:174px}
.mx-auth .auth-mascots .auth-character{transform:rotate(var(--body-rotate,0deg)) skewX(var(--body-skew,0deg));transform-origin:50% 100%;will-change:auto}
.mx-auth .auth-mascots .character-face{transform:translate(calc(-50% + var(--face-x,0px)),var(--face-y,0px)) rotate(var(--face-rotate,0deg));margin-left:0}
.mx-auth .auth-mascots.is-private .character-face{margin-left:0}
.mx-auth .auth-mascots .character-pupil{transform:translate(var(--eye-x,0px),var(--eye-y,0px))}
.mx-auth .character-lavender .character-face{width:38px;top:24px}
.mx-auth .character-lavender .character-eye{width:6px;height:7px}
.mx-auth .character-lavender .character-pupil{width:2.6px;height:3px;top:2px;left:1.7px}
.mx-auth .character-lavender .character-mouth{width:8px;height:4px;border-bottom-width:2px;margin-top:10px}
.mx-auth .character-sky .character-face{left:50%;width:26px;top:32px}
.mx-auth .character-sky .character-eye{width:7px;height:7px;background:#102b47}
.mx-auth .character-sky .character-pupil{display:none}
.mx-auth .character-sky .character-mouth{width:40px;margin-top:13px;margin-left:17px}
.mx-auth .character-mint .character-face{top:45px;width:62px}
.mx-auth .character-mint .character-eye{width:8px;height:8px}
.mx-auth .character-mint .character-pupil{display:none}
.mx-auth .character-mint .character-mouth{width:13px;height:7px;margin-top:10px}
.mx-auth .auth-character.is-blinking .character-eye{transform:scaleY(.08);transform-origin:50% 50%}
.mx-auth .character-navy .character-eye:after{content:'';position:absolute;inset:0;background:#102b47;transform:translateY(-100%)}
.mx-auth [data-expression=email] .character-lavender .character-mouth{width:0;height:13px;border:0;border-left:2px solid #102b47;border-radius:0;transform:none;margin-top:6px}
.mx-auth [data-expression=error] .character-lavender{clip-path:polygon(12% 0,100% 0,85% 37%,100% 60%,88% 100%,12% 100%,0 55%,10% 28%)}
.mx-auth [data-expression=error] .character-lavender .character-mouth{transform:rotate(180deg)}
.mx-auth [data-expression=error] .character-mint .character-mouth{height:5px;background:transparent;border:0;border-top:2px solid #102b47;border-radius:50% 50% 0 0}
.mx-auth [data-expression=error] .character-sky .character-mouth{position:relative;width:24px;height:8px;border:0;margin-left:10px}
.mx-auth [data-expression=error] .character-sky .character-mouth:before,.mx-auth [data-expression=error] .character-sky .character-mouth:after{content:'';position:absolute;width:13px;height:7px;border-top:2px solid #102b47;border-radius:50%;left:0;top:0}
.mx-auth [data-expression=error] .character-sky .character-mouth:after{left:11px;top:-4px;transform:rotate(180deg)}
.mx-auth [data-expression=revealed] .character-navy .character-eye:after{transform:translateY(-52%)}
.mx-auth [data-expression=revealed] .character-lavender .character-mouth{transform:rotate(180deg)}
.mx-auth [data-expression=password] .character-lavender .character-mouth{transform:rotate(180deg)}
.mx-auth .auth-mascots.is-private .character-mint .character-eye{width:12px;height:7px;border-top:2px solid #102b47;border-radius:50% 50% 0 0;background:transparent;margin-top:3px}
.mx-auth .auth-mascots.is-arriving .character-lavender{animation:mx-lavender-arrive 800ms cubic-bezier(.22,.75,.3,1) both}
.mx-auth .auth-mascots.is-arriving .character-navy{animation:mx-navy-arrive 800ms cubic-bezier(.22,.75,.3,1) both}
.mx-auth .auth-mascots.is-arriving .character-mint{animation:mx-mint-arrive 800ms cubic-bezier(.22,.75,.3,1) both}
.mx-auth .auth-mascots.is-arriving .character-sky{animation:mx-sky-arrive 800ms cubic-bezier(.22,.75,.3,1) both}
@keyframes mx-lavender-arrive{0%,24%{transform:translateY(-135px) rotate(-8deg) scaleY(.3)}55%{transform:translateY(2px) rotate(2deg) scaleY(.35)}78%{transform:translateY(-8px) rotate(0deg) scaleY(1.06)}100%{transform:none}}
@keyframes mx-navy-arrive{0%,20%{transform:translateY(-360px) rotate(-12deg)}45%{transform:translateY(-220px) rotate(80deg)}66%{transform:translateY(7px) rotate(18deg)}86%{transform:translateY(-10px) rotate(-5deg)}100%{transform:none}}
@keyframes mx-mint-arrive{0%,25%{transform:translateY(-145px) rotate(24deg) scale(.18)}45%{transform:translateY(-55px) rotate(65deg) scale(.18)}64%{transform:translateY(0px) rotate(0deg) scale(.8)}80%{transform:translateY(-5px) scale(1.04)}100%{transform:none}}
@keyframes mx-sky-arrive{0%,22%{transform:rotate(24deg) scaleY(.4)}55%{transform:rotate(0deg) scaleY(.6)}80%{transform:rotate(-3deg) scaleY(1.02)}100%{transform:none}}
@media(prefers-reduced-motion:reduce),(hover:none),(pointer:coarse),(max-width:767px){
 .mx-auth .auth-mascots .auth-character,.mx-auth .auth-mascots.is-private .auth-character{animation:none!important;transform:none!important}
 .mx-auth .auth-mascots .character-face{transform:translateX(-50%);margin-left:0}
 .mx-auth .auth-mascots .character-pupil{transform:none}
 .mx-auth .auth-character.is-blinking .character-eye{transform:none}
 .mx-auth [data-expression=error] .character-lavender{clip-path:none}
}
