/* MD414.2 — additive modal UI only. No catalog, checkout, or admin styles changed. */
body.md148-overlay-login{overflow:hidden!important;overscroll-behavior:none}
body.md148-overlay-login #app>.md4142-auth-wrap{overflow-y:auto!important;overscroll-behavior:contain;align-items:safe center!important;padding:clamp(10px,3vh,28px) 12px!important}
body.md148-overlay-login #app>.md4142-auth-wrap>.md4142-auth-panel{overflow-x:hidden!important;overflow-y:auto!important;max-height:calc(100dvh - 24px)!important;max-height:calc(100svh - 24px)!important;scrollbar-gutter:stable;overscroll-behavior:contain;box-sizing:border-box;width:min(460px,100%)!important;padding:24px!important}
.md4142-auth-head{position:sticky;top:0;z-index:5;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:12px;padding:12px 0 14px;background:#fff;border-bottom:1px solid #e7efed;margin:-12px 0 18px}
.md4142-auth-panel .md4142-auth-head h1{margin:0;font-size:clamp(20px,4vw,27px);line-height:1.6;color:#153d43}
.md4142-close{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;padding:0;border:1px solid #cce1db;background:#f6fbf9;border-radius:12px;cursor:pointer;font:bold 29px/1 Arial,sans-serif;color:#244c50;touch-action:manipulation}
.md4142-close:hover{background:#e8f7f0;color:#005e54}
.md4142-close:focus-visible,.md4142-forgot:focus-visible{outline:3px solid #00a49a;outline-offset:3px}
.md4142-auth-panel .muted{line-height:2;color:#628084;font-size:13px;margin:0 0 16px}
.md4142-auth-panel form{gap:14px}
.md4142-auth-panel form label{line-height:1.8}
.md4142-auth-panel input,.md4142-auth-panel select{width:100%;box-sizing:border-box;min-height:46px}
.md4142-auth-panel .btn{min-height:44px;cursor:pointer}
.md4142-auth-panel .btn:disabled{opacity:.55;cursor:wait}
.md4142-forgot{display:inline-block;width:max-content;max-width:100%;font-size:13px;color:#067f73;font-weight:700;text-decoration:none}
.md4142-forgot:hover{text-decoration:underline}
.md4142-switch{margin:18px 0 0;font-size:13px}
.md4142-switch a{color:#24606a;text-decoration:underline;text-underline-offset:3px}
@media(max-width:720px){body.md148-overlay-login #app>.md4142-auth-wrap{padding:8px!important;align-items:safe center!important}body.md148-overlay-login #app>.md4142-auth-wrap>.md4142-auth-panel{max-height:calc(100svh - 16px)!important;padding:17px 16px!important;border-radius:16px!important} .md4142-auth-head{top:0;padding:9px 0 11px;margin:-7px 0 14px}.md4142-close{width:44px;height:44px;flex-basis:44px}}
@media(prefers-reduced-motion:reduce){.md4142-auth-panel *{scroll-behavior:auto}}
