.mpua-shell{width:100%;max-width:760px;margin:18px auto;padding:0;box-sizing:border-box;color:var(--muq-text,#edf5ff)}
.mpua-card{width:100%;box-sizing:border-box;background:transparent;border:0;border-radius:0;padding:18px 20px;box-shadow:none}
.mpua-brand{display:flex;align-items:center;gap:12px;margin-bottom:18px}.mpua-logo{max-width:52px;max-height:52px;width:auto;height:auto}.mpua-brand strong{display:block;font-size:20px;color:var(--muq-text,#edf5ff)}.mpua-brand span{display:block;color:var(--muq-muted,#a7b9d3);font-size:13px;margin-top:2px}
.mpua-progress{display:flex;gap:7px;margin:0 0 24px}.mpua-progress span{height:4px;flex:1;background:rgba(255,255,255,.12);border-radius:99px}.mpua-progress span.is-active{background:var(--muq-home-accent,var(--muq-gold,#e7b94f))}
.mpua-step{display:none}.mpua-step.is-active{display:block}.mpua-step h1{font-size:27px;line-height:1.2;margin:0 0 7px;color:var(--muq-text,#edf5ff)}.mpua-step p{color:var(--muq-muted,#a7b9d3);margin:0 0 18px}.mpua-step label{display:block;font-weight:650;margin:14px 0 7px;color:var(--muq-text,#edf5ff)}
.mpua-step input{width:100%;box-sizing:border-box;border:1px solid var(--muq-line,rgba(175,205,245,.15));background:var(--muq-navy,#06162f);color:var(--muq-text,#edf5ff);border-radius:10px;padding:13px 14px;font-size:16px;outline:none}.mpua-step input::placeholder{color:var(--muq-muted,#a7b9d3)}.mpua-step input:focus{border-color:var(--muq-gold,#e7b94f);box-shadow:0 0 0 3px rgba(231,185,79,.14)}
.mpua-phone-field{display:grid;grid-template-columns:86px 1fr;border:1px solid var(--muq-line,rgba(175,205,245,.15));border-radius:10px;overflow:hidden;background:var(--muq-navy,#06162f)}.mpua-phone-field:focus-within{border-color:var(--muq-gold,#e7b94f);box-shadow:0 0 0 3px rgba(231,185,79,.14)}.mpua-phone-field span{display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.04);border-right:1px solid var(--muq-line,rgba(175,205,245,.15));font-weight:800;color:var(--muq-gold-soft,#ffdc83)}.mpua-phone-field input{border:0;border-radius:0;box-shadow:none!important}.mpua-step small{display:block;color:var(--muq-muted,#a7b9d3);margin-top:7px}
.mpua-button{display:block;width:100%;border:0;border-radius:10px;padding:13px 16px;margin-top:18px;background:var(--muq-home-accent,var(--muq-gold,#e7b94f));color:#182236;font-size:16px;font-weight:800;cursor:pointer;text-align:center;text-decoration:none}.mpua-button:hover{background:var(--muq-gold-soft,#ffdc83);color:#182236}.mpua-button:disabled,.mpua-button.is-loading{opacity:.65;cursor:not-allowed}
.mpua-divider{display:flex;align-items:center;gap:12px;color:var(--muq-muted,#a7b9d3);margin:20px 0 12px}.mpua-divider:before,.mpua-divider:after{content:"";height:1px;background:var(--muq-line,rgba(175,205,245,.15));flex:1}.mpua-link,.mpua-text-button{display:block;text-align:center;color:var(--muq-gold-soft,#ffdc83);text-decoration:none;font-weight:650}.mpua-text-button{width:100%;background:none;border:0;padding:13px;cursor:pointer}
.mpua-login-options{display:grid;grid-template-columns:1fr;gap:10px;margin-top:18px}.mpua-method{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;border:1px solid var(--muq-line,rgba(175,205,245,.15));background:rgba(255,255,255,.025);color:var(--muq-text,#edf5ff);border-radius:10px;padding:14px 16px;margin:0;cursor:pointer}.mpua-method:after{content:'›';font-size:25px;line-height:1;color:var(--muq-gold-soft,#ffdc83)}.mpua-method:hover{border-color:var(--muq-gold,#e7b94f);background:rgba(231,185,79,.07)}.mpua-method strong{font-size:15px;line-height:1.25}.mpua-method span{display:none}.mpua-back{border:1px solid var(--muq-line,rgba(175,205,245,.15));background:rgba(255,255,255,.05);color:var(--muq-gold-soft,#ffdc83);border-radius:50%;width:38px;height:38px;cursor:pointer;margin-bottom:16px}
.mpua-password{position:relative}.mpua-password button{position:absolute;right:10px;top:50%;transform:translateY(-50%);border:0;background:none;color:var(--muq-gold-soft,#ffdc83);font-weight:650;cursor:pointer}.mpua-password input{padding-right:64px}.mpua-otp{text-align:center;letter-spacing:.45em;font-size:26px!important;font-weight:800}.mpua-alert{border-radius:10px;padding:11px 13px;margin-bottom:16px;font-size:14px}.mpua-alert.is-error{background:rgba(185,28,28,.2);color:#fecaca;border:1px solid rgba(254,202,202,.35)}.mpua-alert.is-success{background:rgba(4,120,87,.2);color:#a7f3d0;border:1px solid rgba(167,243,208,.35)}
@media(min-width:760px){.mpua-card{padding:26px 30px}.mpua-login-options{grid-template-columns:1fr 1fr}.mpua-method{min-height:62px}}
@media(max-width:600px){.mpua-shell{margin:0 auto;max-width:none}.mpua-card{padding:8px 2px 18px}.mpua-brand{margin-bottom:14px}.mpua-brand strong{font-size:18px}.mpua-progress{margin-bottom:18px}.mpua-step h1{font-size:24px}.mpua-step p{margin-bottom:15px}.mpua-login-options{margin-top:16px}.mpua-method{padding:13px 14px}}
.mpua-otp-boxes{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin:14px 0}.mpua-otp-boxes input{min-width:0;text-align:center;font-size:22px!important;font-weight:800;padding:12px 4px!important}.mpua-email-manager{margin-top:28px;padding:20px;border:1px solid var(--muq-line,rgba(175,205,245,.15));border-radius:12px}.mpua-email-manager input{width:100%;max-width:420px;margin:8px 0 12px}.mpua-email-manager .button{margin-right:8px;margin-bottom:8px}.mpua-profile-email-code{margin-top:14px}.mpua-profile-email-message{margin-top:10px}.mpua-profile-email-message.is-error{color:#dc2626}.mpua-profile-email-message.is-success{color:#059669}
@media(max-width:420px){.mpua-otp-boxes{gap:5px}.mpua-otp-boxes input{font-size:18px!important;padding:10px 2px!important}}
/* v1.1.6 account cleanup */
.mpua-account-dashboard .woocommerce-MyAccount-content>p{display:none}
.mpua-account-profile .woocommerce-MyAccount-content .woocommerce-form-row--first,
.mpua-account-profile .woocommerce-MyAccount-content .woocommerce-form-row--last,
.mpua-account-profile .woocommerce-MyAccount-content p:has(#account_display_name){display:none}
.mpua-full-name-row{display:block!important}
@supports not selector(:has(*)){
  .mpua-account-profile #account_display_name{display:none}
  .mpua-account-profile label[for="account_display_name"]{display:none}
}


/* v1.1.8 cross-device mobile typography normalization */
.mpua-shell,.mpua-shell *{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.mpua-shell{font-size:16px;line-height:1.5}
.mpua-step h1{font-size:clamp(1.5rem,5.8vw,1.8rem);line-height:1.18;letter-spacing:-.025em}
.mpua-step p{font-size:clamp(.95rem,3.8vw,1rem);line-height:1.55}
.mpua-step label{font-size:.96rem;line-height:1.35}
.mpua-step input,.mpua-button,.mpua-text-button,.mpua-method{font-size:1rem;line-height:1.35}
.mpua-step small{font-size:.875rem;line-height:1.45}
.mpua-link{font-size:.94rem;line-height:1.4}
.mpua-phone-field span{font-size:1rem}
.mpua-button{min-height:48px;padding:13px 16px}
.mpua-method{min-height:52px}
@media(max-width:600px){
  .mpua-card{padding:16px 14px 22px}
  .mpua-shell{margin:0 auto}
  .mpua-step h1{margin-bottom:8px}
  .mpua-step p{margin-bottom:17px}
  .mpua-step label{margin-top:15px}
  .mpua-phone-field{grid-template-columns:92px minmax(0,1fr)}
}
@media(max-width:360px){
  .mpua-card{padding-inline:10px}
  .mpua-phone-field{grid-template-columns:82px minmax(0,1fr)}
  .mpua-step h1{font-size:1.42rem}
}


/* v1.1.9 viewport-fluid access card and concise phone guidance */
@media(max-width:759px){
  .mpua-shell{
    width:min(560px,calc(100vw - 24px));
    max-width:none;
    margin:0 0 0 50%;
    transform:translateX(-50%);
  }
  .mpua-card{
    width:100%;
    padding:clamp(14px,4vw,22px) clamp(12px,4.2vw,22px) clamp(20px,5vw,28px);
  }
  .mpua-step h1{
    font-size:clamp(1.34rem,5.45vw,1.72rem);
  }
  .mpua-step h1.mpua-phone-heading{
    white-space:nowrap;
    letter-spacing:-.035em;
  }
  .mpua-phone-field{
    grid-template-columns:clamp(82px,24vw,96px) minmax(0,1fr);
  }
  .mpua-step input{
    min-width:0;
  }
  .mpua-step small{
    font-size:clamp(.78rem,3.45vw,.875rem);
    white-space:normal;
  }
}
@media(max-width:335px){
  .mpua-shell{width:calc(100vw - 16px)}
  .mpua-card{padding-inline:10px}
  .mpua-step h1.mpua-phone-heading{white-space:normal}
}
@media(min-width:760px){
  .mpua-shell{transform:none}
}

/* v1.5.0 approved unified access experience. */
.mpua-shell{max-width:620px;margin:28px auto 42px}
.mpua-card{padding:clamp(22px,5vw,38px);border:1px solid rgba(126,174,226,.24);border-radius:24px;background:linear-gradient(145deg,rgba(17,54,96,.97),rgba(5,24,53,.98));box-shadow:0 26px 70px rgba(0,7,22,.3)}
.mpua-brand{padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid rgba(126,174,226,.14)}.mpua-brand strong{font-size:1.28rem;letter-spacing:-.02em}.mpua-brand span{color:#aabbd2}
.mpua-progress{gap:9px;margin-bottom:27px}.mpua-progress span{height:5px;background:rgba(126,174,226,.16)}.mpua-progress span.is-active{background:linear-gradient(90deg,#f0c34e,#ffdd80);box-shadow:0 0 16px rgba(240,195,78,.18)}
.mpua-step h1{font-size:clamp(1.65rem,5vw,2.15rem);letter-spacing:-.04em}.mpua-step>p{color:#aabbd2;line-height:1.58}.mpua-step label{color:#f4f8ff;font-weight:820}
.mpua-step input{min-height:55px;padding:14px 16px;border-color:rgba(126,174,226,.25);border-radius:14px;background:rgba(3,19,44,.78)}.mpua-step input:focus{border-color:#f0c34e;box-shadow:0 0 0 4px rgba(240,195,78,.11)}
.mpua-phone-field{grid-template-columns:98px 1fr;border-color:rgba(126,174,226,.25);border-radius:14px;background:rgba(3,19,44,.78)}.mpua-phone-field span{color:#ffdd80;background:rgba(240,195,78,.06)}
.mpua-button{min-height:55px;border-radius:14px;background:linear-gradient(100deg,#f0c34e,#ffdd80);color:#10203a;font-weight:920;box-shadow:0 10px 24px rgba(240,195,78,.12)}
.mpua-login-options{gap:12px}.mpua-method{position:relative;min-height:76px;padding:15px 48px 15px 58px;border-color:rgba(126,174,226,.22);border-radius:15px;background:rgba(255,255,255,.026)}.mpua-method:before{content:"✦";position:absolute;left:16px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(240,195,78,.32);border-radius:9px;color:#f0c34e;background:rgba(240,195,78,.07)}.mpua-method:after{position:absolute;right:17px}.mpua-method strong{font-size:1rem}.mpua-method span{display:block;margin-top:3px;color:#aabbd2;font-size:.8rem;line-height:1.35}.mpua-method:hover{transform:translateY(-1px);border-color:rgba(240,195,78,.48);background:rgba(240,195,78,.075)}
.mpua-back{width:43px;height:43px;border-radius:12px}.mpua-divider{margin:24px 0 16px}.mpua-alert{padding:13px 15px;border-radius:13px}.mpua-otp-boxes{gap:9px}.mpua-otp-boxes input{height:58px!important;border-radius:12px!important;letter-spacing:0!important}
.mpua-profile-language{margin-top:15px}
@media(max-width:600px){.mpua-shell{width:calc(100vw - 24px);margin:16px 0 34px 50%}.mpua-card{padding:22px 16px 26px;border-radius:20px}.mpua-login-options{grid-template-columns:1fr}.mpua-method{min-height:70px}.mpua-step h1.mpua-phone-heading{white-space:normal}}

/* v1.5.1 correction: respect the selected edge-to-edge layout. */
body.mpua-access-page .mpua-shell{width:100%;max-width:none;margin:0;padding:0;transform:none}
body.mpua-access-page .mpua-card{width:100%;padding:22px 0 10px;border:0;border-radius:0;background:transparent;box-shadow:none}
body.mpua-access-page .mpua-brand{margin-inline:0}
body.mpua-access-page .mpua-login-options{width:100%}
@media(min-width:760px){
 body.mpua-access-page .mpua-card{padding:26px 0 12px}
 body.mpua-access-page .mpua-login-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 body.mpua-access-page .mpua-method{min-height:82px}
}
@media(max-width:759px){
 body.mpua-access-page .mpua-shell{margin:0}
 body.mpua-access-page .mpua-card{padding:14px 0 8px}
 body.mpua-access-page .mpua-method{min-height:70px}
}

/* v1.5.3 — Style 1 access UI: one subtle container, no double-background, clearer icon-led hierarchy. */
body.mpua-access-page .mpua-shell{width:min(860px,100%);max-width:860px;margin:20px auto 38px;padding:0 14px}
body.mpua-access-page .mpua-card{width:100%;padding:clamp(18px,3vw,28px);border:1px solid rgba(175,205,245,.2);border-radius:18px;background:rgba(5,24,52,.28);box-shadow:none}
body.mpua-access-page .mpua-brand{padding:0 0 14px;margin:0 0 17px;border-bottom:1px solid rgba(175,205,245,.12)}
body.mpua-access-page .mpua-progress{margin-bottom:20px}
body.mpua-access-page .mpua-step h1{display:flex;align-items:center;gap:10px;font-size:clamp(1.5rem,4vw,1.95rem)}
body.mpua-access-page .mpua-step h1:before{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid rgba(231,185,79,.42);border-radius:10px;background:rgba(231,185,79,.06);color:var(--muq-gold-soft,#ffdc83);font-size:17px;line-height:1}
body.mpua-access-page .mpua-step[data-step="phone"] h1:before{content:"☎"}
body.mpua-access-page .mpua-step[data-step="methods"] h1:before,body.mpua-access-page .mpua-step[data-step="email-methods"] h1:before{content:"⌘"}
body.mpua-access-page .mpua-step[data-step="email"] h1:before,body.mpua-access-page .mpua-step[data-step="email-password"] h1:before{content:"✉"}
body.mpua-access-page .mpua-step[data-step="email-register"] h1:before,body.mpua-access-page .mpua-step[data-step="register"] h1:before{content:"＋"}
body.mpua-access-page .mpua-step[data-step="email-otp"] h1:before,body.mpua-access-page .mpua-step[data-step="otp"] h1:before{content:"✓"}
body.mpua-access-page .mpua-step[data-step="password"] h1:before{content:"●"}
body.mpua-access-page .mpua-phone-field,body.mpua-access-page .mpua-step input{background:rgba(3,19,44,.62);border-color:rgba(175,205,245,.2)}
body.mpua-access-page .mpua-button{box-shadow:none}
body.mpua-access-page .mpua-method{min-height:62px;padding:12px 42px 12px 50px;border-color:rgba(175,205,245,.17);background:rgba(3,19,44,.4)}
body.mpua-access-page .mpua-method:before{left:12px;width:27px;height:27px;border-radius:8px;content:"›";font-size:18px}
body.mpua-access-page .mpua-method:after{right:13px}
body.mpua-access-page .mpua-back{display:grid;place-items:center;width:40px;height:40px;margin-bottom:13px;border-radius:10px;border-color:rgba(231,185,79,.34);background:rgba(5,24,52,.5);color:var(--muq-gold-soft,#ffdc83)}
@media(max-width:759px){body.mpua-access-page .mpua-shell{width:100%;max-width:none;margin:10px 0 28px;padding:0}body.mpua-access-page .mpua-card{padding:16px 13px 20px;border-radius:15px}body.mpua-access-page .mpua-step h1:before{flex-basis:31px;width:31px;height:31px;border-radius:9px;font-size:15px}}

/* v1.6.0 — compact access flow, inline validation, password guidance and clean mobile viewport behavior. */
body.mpua-access-page .mpua-inline-error,
body.mpua-access-page .mpua-inline-status{margin-top:7px;padding:8px 10px;border-radius:9px;font-size:.82rem;line-height:1.35}
body.mpua-access-page .mpua-inline-error{border:1px solid rgba(248,113,113,.34);background:rgba(127,29,29,.22);color:#fecaca}
body.mpua-access-page .mpua-inline-status{border:1px solid rgba(52,211,153,.28);background:rgba(6,78,59,.2);color:#a7f3d0}
body.mpua-access-page .mpua-inline-error[hidden],body.mpua-access-page .mpua-inline-status[hidden]{display:none!important}
body.mpua-access-page .is-invalid{border-color:#f87171!important;box-shadow:0 0 0 3px rgba(248,113,113,.11)!important}
body.mpua-access-page .mpua-label-with-help{display:flex;align-items:center;gap:7px}
body.mpua-access-page .mpua-help{display:inline-grid;place-items:center;width:24px;height:24px;padding:0;border:1px solid rgba(231,185,79,.48);border-radius:999px;background:rgba(231,185,79,.08);color:var(--muq-gold-soft,#ffdc83);font-size:.78rem;font-weight:900;line-height:1;cursor:pointer}
body.mpua-access-page .mpua-password-help{margin-top:7px;padding:9px 10px;border:1px solid rgba(231,185,79,.28);border-radius:9px;background:rgba(231,185,79,.07);color:var(--muq-muted,#a7b9d3);font-size:.8rem;line-height:1.4}
body.mpua-access-page .mpua-password-help[hidden]{display:none!important}
body.mpua-access-page .mpua-step input,body.mpua-access-page .mpua-phone-field{min-height:52px}
body.mpua-access-page .mpua-otp-boxes{margin:11px 0 0}
body.mpua-access-page .mpua-otp-boxes input{height:54px!important;min-height:54px!important}
body.mpua-access-page .mpua-button{margin-top:14px;min-height:52px}
body.mpua-access-page .mpua-step label{margin-top:11px;margin-bottom:6px}
body.mpua-access-page .mpua-step>p{margin-bottom:12px}
body.mpua-access-page .mpua-step small{margin-top:6px}
body.mpua-access-page .mpua-back{margin-bottom:9px}
body.mpua-access-page .mpua-progress{margin-bottom:14px}
body.mpua-access-page .mpua-brand{margin-bottom:13px;padding-bottom:11px}
body.mpua-access-page .mpua-text-button{padding:10px 8px}
@media(max-width:759px){
  body.mpua-access-page .mpua-shell{margin:6px 0 18px}
  body.mpua-access-page .mpua-card{padding:12px 12px 16px}
  body.mpua-access-page .mpua-brand{gap:10px}
  body.mpua-access-page .mpua-logo{max-width:46px;max-height:46px}
  body.mpua-access-page .mpua-brand strong{font-size:1.06rem}
  body.mpua-access-page .mpua-brand span{font-size:.76rem}
  body.mpua-access-page .mpua-step h1{font-size:clamp(1.34rem,5.7vw,1.65rem);margin-bottom:5px}
  body.mpua-access-page .mpua-step h1:before{flex-basis:30px;width:30px;height:30px}
  body.mpua-access-page .mpua-step input{padding:12px 13px}
  body.mpua-access-page .mpua-phone-field{grid-template-columns:88px minmax(0,1fr)}
  body.mpua-access-page .mpua-button{min-height:50px;padding:11px 14px}
  body.mpua-access-page .mpua-otp-boxes{gap:6px}
  body.mpua-access-page .mpua-otp-boxes input{height:50px!important;min-height:50px!important;padding:8px 2px!important}
}
html[dir="rtl"] body.mpua-access-page .mpua-password button{right:auto;left:10px}
html[dir="rtl"] body.mpua-access-page .mpua-password input{padding-right:14px;padding-left:64px}
html[dir="rtl"] body.mpua-access-page .mpua-phone-field span{border-right:0;border-left:1px solid var(--muq-line,rgba(175,205,245,.15))}
html[dir="rtl"] body.mpua-access-page .mpua-method{text-align:right;padding-right:50px;padding-left:42px}


/* v1.6.6 — Android/iOS professional action-following viewport layout. */
@media(max-width:760px){
  .mpua-shell{scroll-margin-top:82px}
  .mpua-step.is-active{scroll-margin-top:86px;padding-bottom:max(18px,env(safe-area-inset-bottom))}
  .mpua-step input{font-size:16px!important}
  .mpua-shell.is-keyboard-open .mpua-login-video-help{display:none!important}
  .mpua-shell.is-keyboard-open .mpua-step.is-active{padding-bottom:max(18px,env(safe-area-inset-bottom))}
}

/* v1.6.6 — keep the active login step readable when the keyboard is closed or open. */
@media(max-width:760px){
  body.mpua-access-page .mpua-step.is-active{scroll-margin-top:76px}
  body.mpua-access-page .mpua-shell:not(.is-keyboard-open) .mpua-step.is-active{padding-bottom:max(22px,env(safe-area-inset-bottom))}
  body.mpua-access-page .mpua-shell.is-keyboard-open{padding-bottom:0}
}
