.md-auth-open {overflow:hidden}
.md-auth-drawer {
 position:fixed;inset:0 auto 0 0;margin:0;width:min(100%,500px);max-width:100%;height:100dvh;max-height:100%;
 padding:0;border:0;border-radius:0 14px 14px 0;background:#fff;color:#24233a;overflow:auto;
}
.md-auth-drawer[open] {animation:md-auth-slide .24s ease-out}
.md-auth-drawer::backdrop {background:#19182c77}
@keyframes md-auth-slide {from {transform:translateX(-100%)} to {transform:translateX(0)}}
.md-auth-header {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 22px;border-bottom:1px solid #ebe8f5}
.md-auth-header h2 {margin:0;font-size:1.05rem;color:var(--color-primary,#27277e)}
.md-auth-close {width:42px;height:42px;border:0;border-radius:10px;background:#f1effa;color:#27277e;font:inherit;font-size:1.55rem;cursor:pointer}
.md-auth-body {width:min(100% - 36px,350px);margin:32px auto;text-align:center}
.md-auth-brand {display:grid;place-items:center;min-height:62px;margin:0 auto 18px;color:#27277e;font-weight:800}
.md-auth-brand img {width:auto;height:auto;max-width:min(100%,160px);max-height:64px;object-fit:contain}
.md-auth-form:not([hidden]) {display:grid;gap:10px}
.md-auth-form p {margin:0 0 9px;font-size:.92rem}
.md-auth-form label {text-align:start;font-size:.8rem;font-weight:700}
.md-auth-form input {
 width:100%;min-height:49px;padding:8px 12px;border:1px solid #dad7eb;border-radius:9px;background:#fcfbff;font:inherit;font-size:16px;
}
.md-auth-drawer :is(input,button,a):focus-visible {outline:2px solid #514ba4;outline-offset:2px}
.md-auth-primary {min-height:47px;border:0;border-radius:9px;background:var(--color-primary,#27277e);color:#fff;font:inherit;font-weight:700;cursor:pointer}
.md-auth-primary:disabled {background:#eeedf5;color:#625e76;cursor:default}
.md-auth-form .md-auth-terms {margin-top:10px;padding-top:12px;border-top:1px solid #ebe8f5;font-size:.76rem}
.md-auth-otp {position:relative}
.md-auth-otp input {position:absolute;inset:0;height:100%;opacity:.01;cursor:text}
.md-auth-otp-boxes {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;pointer-events:none}
.md-auth-otp-boxes span {display:grid;place-items:center;height:51px;border:1px solid #dad7eb;border-radius:8px;color:#27277e;font-size:1.15rem;font-weight:750}
.md-auth-otp:focus-within .md-auth-otp-boxes span {border-color:#514ba4}
.md-auth-options {display:flex;justify-content:space-between;gap:6px}
.md-auth-options button {min-height:38px;padding:4px 0;border:0;background:none;color:#27277e;font:inherit;font-size:.76rem;cursor:pointer}
.md-auth-options button:disabled {color:#6b687b;cursor:default}
.md-auth-status {color:#51455f;font-size:.8rem;margin:10px 0}
.md-auth-status:empty {display:none}
@media(max-width:782px) {
 .md-auth-drawer {width:100%;border-radius:0}
 .md-auth-header {padding:8px 14px}
 .md-auth-body {margin-block:24px}
}
@media(prefers-reduced-motion:reduce) {.md-auth-drawer[open] {animation:none}}
