:root{
  --mvm-login-blue:#1966AE;
  --mvm-login-blue-deep:#0F4F88;
  --mvm-login-cyan:#35BEEB;
  --mvm-login-focus:#F4C542;
  --mvm-login-surface:#FFFFFF;
  --mvm-login-field:#FFFFFF;
  --mvm-login-text:#17222D;
  --mvm-login-muted:#526779;
  --mvm-login-border:#C9D9E7;
  --mvm-login-link:#155A9D;
  --mvm-login-logo:var(--mvm-login-logo-light);
}
html[data-mvm-login-theme="dark"]{
  --mvm-login-surface:#101820;
  --mvm-login-field:#0B1219;
  --mvm-login-text:#F5F8FC;
  --mvm-login-muted:#B9C7D5;
  --mvm-login-border:#3A4C5D;
  --mvm-login-link:#79BFFF;
  --mvm-login-logo:var(--mvm-login-logo-dark);
}
html,
html body.login.mvm-login-authoritative{
  min-height:100%;
}
html body.login.mvm-login-authoritative{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  min-height:100vh!important;
  margin:0!important;
  padding:clamp(28px,5vh,58px) 20px 126px!important;
  overflow-x:hidden!important;
  background-color:var(--mvm-login-blue)!important;
  background-image:
    radial-gradient(circle at 50% -15%,rgba(255,255,255,.19),transparent 42rem),
    linear-gradient(145deg,#0751B5 0%,var(--mvm-login-blue) 48%,var(--mvm-login-cyan) 100%)!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  color:var(--mvm-login-text)!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
html[data-mvm-login-theme="dark"] body.login.mvm-login-authoritative{
  background-color:#05080D!important;
  background-image:
    radial-gradient(circle at 50% -15%,rgba(25,102,174,.30),transparent 40rem),
    linear-gradient(145deg,#030507 0%,#07131E 55%,#0A2538 100%)!important;
}
body.login.mvm-login-authoritative *,
body.login.mvm-login-authoritative *::before,
body.login.mvm-login-authoritative *::after{
  box-sizing:border-box;
}
body.login.mvm-login-authoritative #login{
  position:relative!important;
  z-index:2!important;
  display:block!important;
  width:min(440px,calc(100vw - 32px))!important;
  max-width:440px!important;
  margin:0 auto!important;
  padding:0!important;
  background:transparent!important;
}
body.login.mvm-login-authoritative #login > h1{
  display:block!important;
  width:100%!important;
  margin:0 0 14px!important;
  padding:0!important;
  text-align:center!important;
}
body.login.mvm-login-authoritative #login > h1 > a{
  display:block!important;
  width:100%!important;
  max-width:420px!important;
  height:clamp(148px,20vw,210px)!important;
  margin:0 auto!important;
  padding:0!important;
  overflow:hidden!important;
  background-color:transparent!important;
  background-image:var(--mvm-login-logo)!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:contain!important;
  box-shadow:none!important;
  text-indent:-9999px!important;
}
body.login.mvm-login-authoritative .mvm-core-login-intro{
  width:100%!important;
  margin:0 0 18px!important;
  padding:0 8px!important;
  text-align:center!important;
}
body.login.mvm-login-authoritative .mvm-core-login-intro h1{
  display:block!important;
  margin:0 0 6px!important;
  padding:0!important;
  color:#FFFFFF!important;
  font-size:clamp(1.85rem,5vw,2.5rem)!important;
  font-weight:850!important;
  line-height:1.08!important;
  letter-spacing:-.02em!important;
  text-shadow:0 2px 14px rgba(4,31,58,.28)!important;
}
body.login.mvm-login-authoritative .mvm-core-login-intro p{
  max-width:410px!important;
  margin:0 auto!important;
  color:#FFFFFF!important;
  font-size:1rem!important;
  font-weight:600!important;
  line-height:1.55!important;
  text-shadow:0 1px 8px rgba(4,31,58,.28)!important;
}
body.login.mvm-login-authoritative form{
  width:100%!important;
  margin:0!important;
  padding:28px 30px 26px!important;
  border:1px solid var(--mvm-login-border)!important;
  border-radius:22px!important;
  background:var(--mvm-login-surface)!important;
  box-shadow:0 22px 60px rgba(3,42,77,.24)!important;
}
html[data-mvm-login-theme="dark"] body.login.mvm-login-authoritative form{
  box-shadow:0 26px 72px rgba(0,0,0,.50)!important;
}
body.login.mvm-login-authoritative form p{
  color:var(--mvm-login-text)!important;
}
body.login.mvm-login-authoritative label{
  color:var(--mvm-login-text)!important;
  font-size:.96rem!important;
  font-weight:750!important;
}
body.login.mvm-login-authoritative form .input,
body.login.mvm-login-authoritative input[type="text"],
body.login.mvm-login-authoritative input[type="password"],
body.login.mvm-login-authoritative input[type="email"]{
  min-height:52px!important;
  width:100%!important;
  margin:7px 0 16px!important;
  padding:9px 13px!important;
  border:1px solid var(--mvm-login-border)!important;
  border-radius:10px!important;
  outline:0!important;
  background:var(--mvm-login-field)!important;
  color:var(--mvm-login-text)!important;
  box-shadow:none!important;
  font-size:1rem!important;
  line-height:1.35!important;
}
body.login.mvm-login-authoritative form .input:focus,
body.login.mvm-login-authoritative input:focus,
body.login.mvm-login-authoritative button:focus-visible,
body.login.mvm-login-authoritative a:focus-visible{
  outline:3px solid var(--mvm-login-focus)!important;
  outline-offset:3px!important;
  box-shadow:none!important;
}
body.login.mvm-login-authoritative .wp-pwd{
  margin-bottom:2px!important;
}
body.login.mvm-login-authoritative .button.wp-hide-pw{
  color:var(--mvm-login-link)!important;
}
body.login.mvm-login-authoritative .forgetmenot{
  float:none!important;
  margin:2px 0 16px!important;
}
body.login.mvm-login-authoritative .forgetmenot input[type="checkbox"]{
  border-color:var(--mvm-login-border)!important;
  background:var(--mvm-login-field)!important;
}
body.login.mvm-login-authoritative .submit{
  float:none!important;
  margin:0!important;
}
body.login.mvm-login-authoritative .submit .button,
body.login.mvm-login-authoritative .wp-core-ui .button-primary,
body.login.mvm-login-authoritative input[type="submit"]{
  display:block!important;
  min-height:52px!important;
  width:100%!important;
  border:1px solid var(--mvm-login-blue-deep)!important;
  border-radius:10px!important;
  background:var(--mvm-login-blue)!important;
  color:#FFFFFF!important;
  box-shadow:none!important;
  font-size:1rem!important;
  font-weight:800!important;
  line-height:1.2!important;
  text-shadow:none!important;
  transition:background-color .15s ease,transform .15s ease!important;
}
body.login.mvm-login-authoritative .submit .button:hover,
body.login.mvm-login-authoritative .submit .button:focus{
  background:var(--mvm-login-blue-deep)!important;
  color:#FFFFFF!important;
}
body.login.mvm-login-authoritative #nav,
body.login.mvm-login-authoritative #backtoblog{
  width:100%!important;
  margin:14px 0 0!important;
  padding:0 8px!important;
  color:#FFFFFF!important;
  text-align:center!important;
  font-size:.92rem!important;
  line-height:1.6!important;
}
body.login.mvm-login-authoritative #nav a,
body.login.mvm-login-authoritative #backtoblog a,
body.login.mvm-login-authoritative .privacy-policy-page-link a{
  color:#FFFFFF!important;
  font-weight:750!important;
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:3px!important;
}
body.login.mvm-login-authoritative .message,
body.login.mvm-login-authoritative .notice,
body.login.mvm-login-authoritative #login_error{
  margin:0 0 16px!important;
  padding:13px 15px!important;
  border:1px solid var(--mvm-login-border)!important;
  border-left:5px solid var(--mvm-login-focus)!important;
  border-radius:10px!important;
  background:var(--mvm-login-surface)!important;
  color:var(--mvm-login-text)!important;
  box-shadow:0 10px 28px rgba(3,42,77,.16)!important;
}
body.login.mvm-login-authoritative #login_error{
  border-left-color:#D63638!important;
}
body.login.mvm-login-authoritative .language-switcher{
  margin:20px auto 0!important;
  color:#FFFFFF!important;
}
body.login.mvm-login-authoritative .language-switcher select{
  min-height:40px!important;
  border-color:rgba(255,255,255,.55)!important;
  border-radius:8px!important;
  background:var(--mvm-login-surface)!important;
  color:var(--mvm-login-text)!important;
}
body.login.mvm-login-authoritative .language-switcher .button{
  min-height:40px!important;
  border-color:#FFFFFF!important;
  border-radius:8px!important;
  color:var(--mvm-login-blue)!important;
}
body.login.mvm-login-authoritative .privacy-policy-page-link{
  margin:16px auto 0!important;
  color:#FFFFFF!important;
  text-align:center!important;
}
.mvm-login-slogan[data-mvm-login-owned="slogan"]{
  position:fixed!important;
  top:30px!important;
  left:clamp(20px,4.5vw,72px)!important;
  z-index:10!important;
  max-width:min(370px,38vw)!important;
  color:#FFFFFF!important;
  font-size:clamp(1.05rem,2vw,1.75rem)!important;
  font-style:italic!important;
  font-weight:850!important;
  line-height:1.15!important;
  text-shadow:0 2px 14px rgba(4,31,58,.35)!important;
  transform:rotate(-3deg)!important;
}
.mvm-login-theme[data-mvm-login-owned="theme"]{
  position:fixed!important;
  top:20px!important;
  right:24px!important;
  z-index:11!important;
  display:flex!important;
  gap:4px!important;
  padding:4px!important;
  border:1px solid rgba(255,255,255,.48)!important;
  border-radius:999px!important;
  background:rgba(5,35,63,.28)!important;
  box-shadow:0 8px 24px rgba(0,0,0,.12)!important;
  backdrop-filter:blur(10px)!important;
}
.mvm-login-theme[data-mvm-login-owned="theme"] button{
  min-height:38px!important;
  margin:0!important;
  padding:7px 11px!important;
  border:0!important;
  border-radius:999px!important;
  background:transparent!important;
  color:#FFFFFF!important;
  cursor:pointer!important;
  font:inherit!important;
  font-size:.86rem!important;
  font-weight:750!important;
}
.mvm-login-theme[data-mvm-login-owned="theme"] button[aria-pressed="true"]{
  background:#FFFFFF!important;
  color:var(--mvm-login-blue)!important;
}
.mvm-login-theme[data-mvm-login-owned="theme"] button:focus-visible,
.mvm-login-destinations[data-mvm-login-owned="destinations"] a:focus-visible{
  outline:3px solid var(--mvm-login-focus)!important;
  outline-offset:3px!important;
}
.mvm-login-destinations[data-mvm-login-owned="destinations"]{
  position:fixed!important;
  bottom:44px!important;
  left:50%!important;
  z-index:10!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
  margin:0!important;
  transform:translateX(-50%)!important;
  white-space:nowrap!important;
}
.mvm-login-destinations[data-mvm-login-owned="destinations"] a{
  padding:0 14px!important;
  color:#FFFFFF!important;
  font-size:.9rem!important;
  font-weight:750!important;
  line-height:1.5!important;
  text-decoration:none!important;
}
.mvm-login-destinations[data-mvm-login-owned="destinations"] a + a{
  border-left:1px solid rgba(255,255,255,.52)!important;
}
.mvm-login-motto[data-mvm-login-owned="motto"]{
  position:fixed!important;
  bottom:15px!important;
  left:50%!important;
  z-index:10!important;
  margin:0!important;
  transform:translateX(-50%)!important;
  color:#FFFFFF!important;
  font-size:.84rem!important;
  font-style:italic!important;
  font-weight:750!important;
  line-height:1.4!important;
  text-align:center!important;
  white-space:nowrap!important;
}
body.login.mvm-login-authoritative .grecaptcha-badge{
  z-index:20!important;
}
@media (max-width:760px){
  html body.login.mvm-login-authoritative{
    padding:72px 16px 34px!important;
  }
  body.login.mvm-login-authoritative #login{
    width:min(100%,440px)!important;
    max-width:440px!important;
  }
  body.login.mvm-login-authoritative #login > h1 > a{
    height:150px!important;
  }
  body.login.mvm-login-authoritative form{
    padding:24px 20px 22px!important;
    border-radius:18px!important;
  }
  .mvm-login-slogan[data-mvm-login-owned="slogan"]{
    top:18px!important;
    left:18px!important;
    max-width:48vw!important;
    font-size:.95rem!important;
  }
  .mvm-login-theme[data-mvm-login-owned="theme"]{
    top:12px!important;
    right:12px!important;
  }
  .mvm-login-theme[data-mvm-login-owned="theme"] button{
    min-height:34px!important;
    padding:6px 9px!important;
    font-size:.78rem!important;
  }
  .mvm-login-destinations[data-mvm-login-owned="destinations"],
  .mvm-login-motto[data-mvm-login-owned="motto"]{
    position:static!important;
    transform:none!important;
  }
  .mvm-login-destinations[data-mvm-login-owned="destinations"]{
    display:flex!important;
    flex-wrap:wrap!important;
    width:min(100%,440px)!important;
    margin:24px auto 0!important;
    white-space:normal!important;
  }
  .mvm-login-destinations[data-mvm-login-owned="destinations"] a{
    padding:5px 10px!important;
  }
  .mvm-login-motto[data-mvm-login-owned="motto"]{
    margin:8px auto 0!important;
    padding:0 16px!important;
    white-space:normal!important;
  }
}
@media (max-height:780px) and (min-width:761px){
  html body.login.mvm-login-authoritative{
    padding-bottom:34px!important;
  }
  .mvm-login-destinations[data-mvm-login-owned="destinations"],
  .mvm-login-motto[data-mvm-login-owned="motto"]{
    position:static!important;
    transform:none!important;
  }
  .mvm-login-destinations[data-mvm-login-owned="destinations"]{
    margin:24px auto 0!important;
  }
  .mvm-login-motto[data-mvm-login-owned="motto"]{
    margin:8px auto 0!important;
  }
}
@media (prefers-reduced-motion:reduce){
  body.login.mvm-login-authoritative *,
  body.login.mvm-login-authoritative *::before,
  body.login.mvm-login-authoritative *::after{
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important;
  }
}

/* Keep the existing security widget visible without letting it define layout. */
body.login.mvm-login-authoritative #login .g-recaptcha{
  display:flex!important;
  justify-content:center!important;
  width:100%!important;
  max-width:100%!important;
  margin:8px auto 18px!important;
  overflow:visible!important;
}
body.login.mvm-login-authoritative #login .g-recaptcha > div{
  max-width:100%!important;
  margin-inline:auto!important;
}
@media (max-width:390px){
  body.login.mvm-login-authoritative #login .g-recaptcha{
    transform:scale(.90);
    transform-origin:center top;
    margin-bottom:10px!important;
  }
}
@media (max-width:350px){
  body.login.mvm-login-authoritative #login .g-recaptcha{
    transform:scale(.82);
  }
}

/* Canonical MvM login presentation owns one node of each kind. Hide stale
 * rollout/snippet markup before the client-side cleanup runs. */
body.login.mvm-login-authoritative .mvm-core-login-intro:not([data-mvm-login-owned="intro"]),
body.login.mvm-login-authoritative .mvm-login-slogan:not([data-mvm-login-owned="slogan"]),
body.login.mvm-login-authoritative .mvm-login-theme:not([data-mvm-login-owned="theme"]),
body.login.mvm-login-authoritative .mvm-login-destinations:not([data-mvm-login-owned="destinations"]),
body.login.mvm-login-authoritative .mvm-login-motto:not([data-mvm-login-owned="motto"]){
  display:none!important;
}
