:root {
  --mau-purple-900:#2c0a78; --mau-purple-800:#4510a6; --mau-purple-700:#6420d4;
  --mau-purple-500:#9250f4; --mau-purple-200:#e9ddff; --mau-purple-100:#f5f0ff;
  --mau-ink:#14132b; --mau-muted:#68657d; --mau-gold:#d9a321; --mau-white:#fff;
  --mau-border:rgba(68,34,130,.14); --mau-shadow:0 24px 70px rgba(63,24,132,.16);
}

body.magister-auth-ux { background:radial-gradient(circle at 8% 18%,rgba(146,80,244,.14),transparent 26rem),radial-gradient(circle at 92% 75%,rgba(99,32,212,.12),transparent 28rem),linear-gradient(180deg,#fff 0%,#fbf9ff 100%)!important; }
body.magister-auth-ux .site-content,body.magister-auth-ux #content,body.magister-auth-ux main,body.magister-auth-ux .entry-content { overflow:visible!important; }
body.magister-auth-ux .mau-auth-host,body.magister-auth-ux .mau-auth-host-inner { width:100%!important; max-width:none!important; min-width:0!important; margin-left:auto!important; margin-right:auto!important; padding-left:0!important; padding-right:0!important; overflow:visible!important; }
body.magister-auth-ux header,body.magister-auth-ux #masthead,body.magister-auth-ux .site-header,body.magister-auth-ux .main-header-bar,body.magister-auth-ux .ast-primary-header-bar { position:relative; z-index:1000; }

body.magister-auth-ux .mau-layout { width:min(1120px,calc(100% - 40px)); margin:54px auto 70px; display:grid; grid-template-columns:minmax(0,1.05fr) minmax(330px,.95fr); border:1px solid var(--mau-border); border-radius:34px; background:rgba(255,255,255,.84); box-shadow:var(--mau-shadow); overflow:hidden; backdrop-filter:blur(18px); align-items:stretch; }
body.magister-auth-ux .mau-auth-card { width:100%!important; max-width:none!important; min-width:0!important; margin:0!important; padding:42px 46px 38px!important; border:0!important; border-radius:0!important; background:#fff!important; box-shadow:none!important; position:relative; z-index:1; overflow:visible!important; }

.mau-heading { margin:0 0 28px; }
.mau-heading h1 { margin:0 0 8px!important; font-size:clamp(28px,3vw,42px)!important; line-height:1.08!important; letter-spacing:-.04em; color:var(--mau-ink)!important; overflow-wrap:normal!important; word-break:normal!important; }
.mau-heading p { margin:0!important; color:var(--mau-muted)!important; font-size:15px; }

.mau-aside { min-width:0; min-height:100%; padding:54px 48px; color:#fff; display:flex; flex-direction:column; justify-content:center; background:radial-gradient(circle at 80% 15%,rgba(255,255,255,.22),transparent 18rem),linear-gradient(145deg,#37108f 0%,#6f24df 48%,#a85af6 100%); position:relative; isolation:isolate; overflow:hidden; }
.mau-aside::before,.mau-aside::after { content:''; position:absolute; border-radius:999px; background:rgba(255,255,255,.10); z-index:-1; }
.mau-aside::before { width:270px; height:270px; right:-90px; top:-100px; }.mau-aside::after { width:210px; height:210px; left:-75px; bottom:-90px; }
.mau-aside-orb { width:86px; height:86px; display:grid; place-items:center; border-radius:28px; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.25); box-shadow:0 18px 45px rgba(20,0,70,.18); }
.mau-aside-orb svg { width:46px; height:46px; fill:none; stroke:#fff; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
.mau-aside h2 { margin:28px 0 12px!important; color:#fff!important; font-size:34px!important; line-height:1.08!important; letter-spacing:-.035em; word-break:normal!important; overflow-wrap:normal!important; }
.mau-aside p { margin:0; color:rgba(255,255,255,.82); font-size:16px; line-height:1.65; word-break:normal; }
.mau-aside-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:34px; }
.mau-aside-stats span { min-width:0; padding:14px 8px; border-radius:16px; text-align:center; background:rgba(255,255,255,.12); font-size:11px; word-break:normal; }
.mau-aside-stats strong { display:block; font-size:16px; color:#fff; }

body.magister-auth-ux .mau-layout form label { color:var(--mau-ink)!important; font-weight:650!important; font-size:13px!important; }
body.magister-auth-ux .mau-layout form input[type=text],body.magister-auth-ux .mau-layout form input[type=email],body.magister-auth-ux .mau-layout form input[type=password],body.magister-auth-ux .mau-layout form input[type=tel] { width:100%!important; min-height:50px!important; border:1px solid var(--mau-border)!important; border-radius:16px!important; background:#fbfaff!important; color:var(--mau-ink)!important; padding:0 16px!important; box-shadow:inset 0 1px 0 rgba(255,255,255,.7)!important; transition:.2s ease!important; pointer-events:auto!important; position:relative!important; z-index:2!important; }
body.magister-auth-ux .mau-layout form input:focus { border-color:var(--mau-purple-500)!important; box-shadow:0 0 0 4px rgba(146,80,244,.13)!important; outline:0!important; background:#fff!important; }
body.magister-auth-ux .mau-layout .tutor-form-group { margin-bottom:16px!important; }
body.magister-auth-ux .mau-layout .tutor-form-row { gap:14px; }

.mau-password-wrap { position:relative; width:100%; }
.mau-password-wrap input { padding-right:54px!important; }
.mau-password-toggle { position:absolute!important; z-index:5!important; right:9px; top:50%; transform:translateY(-50%); width:38px!important; height:38px!important; min-height:38px!important; padding:0!important; border:0!important; border-radius:12px!important; background:rgba(100,32,212,.08)!important; color:var(--mau-purple-700)!important; box-shadow:none!important; display:grid!important; place-items:center!important; cursor:pointer!important; }
.mau-password-toggle:hover { background:rgba(100,32,212,.15)!important; }
.mau-password-toggle svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; pointer-events:none; }

body.magister-auth-ux .mau-layout button[type=submit],body.magister-auth-ux .mau-layout input[type=submit],body.magister-auth-ux .mau-layout .tutor-btn-primary,body.magister-auth-ux .mau-layout .tutor-button { width:100%!important; min-height:50px!important; border:0!important; border-radius:16px!important; color:#fff!important; font-weight:800!important; background:linear-gradient(100deg,#4a0db8 0%,#7428e7 52%,#a34df4 100%)!important; box-shadow:0 14px 32px rgba(103,37,218,.24)!important; transition:transform .2s ease,box-shadow .2s ease!important; }
body.magister-auth-ux .mau-layout button[type=submit]:hover,body.magister-auth-ux .mau-layout input[type=submit]:hover { transform:translateY(-1px); box-shadow:0 18px 38px rgba(103,37,218,.31)!important; }
body.magister-auth-ux .mau-layout a { color:var(--mau-purple-700); }
body.magister-auth-ux .mau-layout .mau-hidden-field,body.magister-auth-ux .mau-layout .mau-hide-facebook { display:none!important; }
body.magister-auth-ux .mau-layout .tutor-social-login-wrap,body.magister-auth-ux .mau-layout .tutor-social-auth,body.magister-auth-ux .mau-layout .tutor-login-social { margin-top:22px!important; }
body.magister-auth-ux .mau-layout [class*=google] { border-radius:14px!important; }

/* Consentimiento legal: checkbox real, clicable y alineado. */
body.magister-auth-ux .mau-legal-ready { display:flex!important; align-items:flex-start!important; gap:9px!important; width:100%!important; margin:10px 0 18px!important; position:relative!important; overflow:visible!important; }
body.magister-auth-ux .mau-legal-ready input[type=checkbox] { appearance:auto!important; -webkit-appearance:checkbox!important; display:block!important; visibility:visible!important; opacity:1!important; position:static!important; width:18px!important; min-width:18px!important; height:18px!important; margin:2px 0 0!important; padding:0!important; pointer-events:auto!important; cursor:pointer!important; z-index:3!important; accent-color:var(--mau-purple-700); }
body.magister-auth-ux .mau-legal-label { display:block!important; flex:1!important; margin:0!important; line-height:1.55!important; font-size:13px!important; font-weight:500!important; white-space:normal!important; word-break:normal!important; overflow-wrap:normal!important; cursor:pointer!important; }
body.magister-auth-ux .mau-legal-label a { display:inline!important; white-space:nowrap!important; font-weight:700!important; text-decoration:none!important; }

body.mau-instructor-success main,body.mau-instructor-success .site-main,body.mau-instructor-success .entry-content,body.mau-instructor-success #primary { width:100%!important; max-width:none!important; min-height:calc(100vh - 180px)!important; margin:0!important; padding:0!important; display:flex!important; align-items:center!important; justify-content:center!important; }
body.mau-instructor-success .mau-success-card { width:min(660px,calc(100% - 32px))!important; margin:64px auto 88px!important; padding:58px 42px!important; display:flex!important; flex-direction:column!important; align-items:center!important; justify-content:center!important; text-align:center!important; background:#fff!important; border:1px solid var(--mau-border)!important; border-radius:32px!important; box-shadow:var(--mau-shadow)!important; }
body.mau-instructor-success .mau-success-card > img,body.mau-instructor-success .mau-success-logo,body.mau-instructor-success img[src*="phone"],body.mau-instructor-success img[src*="telefono"],body.mau-instructor-success img[src*="mobile"] { display:none!important; }
body.mau-instructor-success .mau-success-icon { width:96px!important; height:96px!important; margin:0 auto 30px!important; display:grid!important; place-items:center!important; flex:0 0 auto!important; border-radius:30px!important; color:#fff!important; background:linear-gradient(140deg,#5a16cd,#a55af4)!important; box-shadow:0 20px 42px rgba(103,37,218,.28)!important; }
body.mau-instructor-success .mau-success-icon svg { width:52px!important; height:52px!important; fill:none!important; stroke:#fff!important; stroke-width:2.8!important; stroke-linecap:round!important; stroke-linejoin:round!important; }
body.mau-instructor-success .mau-success-card h1 { width:100%!important; margin:0 0 14px!important; font-size:36px!important; line-height:1.15!important; color:var(--mau-ink)!important; text-align:center!important; }
body.mau-instructor-success .mau-success-card p { width:100%!important; margin:0 auto 30px!important; max-width:520px!important; color:var(--mau-muted)!important; line-height:1.7!important; text-align:center!important; }
body.mau-instructor-success .mau-success-card a { display:inline-flex!important; min-height:48px!important; padding:0 28px!important; align-items:center!important; justify-content:center!important; border-radius:15px!important; color:#fff!important; font-weight:800!important; text-decoration:none!important; background:linear-gradient(100deg,#4a0db8,#9e48f2)!important; }

/* Recuperación independiente y aislada del tema. */
html:has(body.magister-auth-standalone),body.magister-auth-standalone { margin:0!important; width:100%!important; min-width:0!important; min-height:100%!important; background:linear-gradient(135deg,#f9f6ff 0%,#fff 50%,#f4edff 100%)!important; color:var(--mau-ink)!important; overflow-x:hidden!important; }
body.magister-auth-standalone * { box-sizing:border-box; }
body.magister-auth-standalone header,body.magister-auth-standalone footer,body.magister-auth-standalone #masthead,body.magister-auth-standalone #colophon { display:none!important; }
.mau-standalone-shell { width:100%!important; max-width:none!important; min-height:100vh!important; display:grid!important; place-items:center!important; padding:28px!important; margin:0!important; }
.mau-password-panel { width:min(980px,100%)!important; min-height:560px!important; display:grid!important; grid-template-columns:.9fr 1.1fr!important; overflow:hidden!important; border-radius:34px!important; background:#fff!important; box-shadow:var(--mau-shadow)!important; border:1px solid var(--mau-border)!important; }
.mau-password-art { padding:46px!important; color:#fff!important; display:flex!important; flex-direction:column!important; align-items:center!important; text-align:center!important; justify-content:center!important; background:linear-gradient(145deg,#3b0d97,#6c22dd 55%,#a35af4)!important; }
.mau-password-symbol { width:112px!important; height:112px!important; display:grid!important; place-items:center!important; border-radius:32px!important; background:rgba(255,255,255,.14)!important; border:1px solid rgba(255,255,255,.2)!important; box-shadow:0 18px 40px rgba(29,5,86,.2)!important; }
.mau-password-symbol svg { width:62px!important; height:62px!important; fill:none!important; stroke:#fff!important; stroke-width:2.3!important; stroke-linecap:round!important; stroke-linejoin:round!important; }
.mau-password-art h2 { margin:28px 0 10px!important; font-size:30px!important; color:#fff!important; }.mau-password-art p { margin:0!important; color:rgba(255,255,255,.84)!important; line-height:1.6!important; }
.mau-password-card { padding:58px 60px!important; display:flex!important; flex-direction:column!important; justify-content:center!important; min-width:0!important; }
.mau-password-card h1 { margin:0 0 10px!important; font-size:38px!important; letter-spacing:-.04em!important; color:var(--mau-ink)!important; }.mau-password-card>p { color:var(--mau-muted)!important; line-height:1.7!important; margin:0 0 28px!important; }.mau-recovery-form { display:block!important; position:relative!important; z-index:2!important; }.mau-recovery-form label { display:block!important; margin-bottom:8px!important; font-weight:700!important; color:var(--mau-ink)!important; }.mau-input-wrap { display:flex!important; align-items:center!important; gap:10px!important; min-height:54px!important; padding:0 14px!important; border:1px solid var(--mau-border)!important; border-radius:16px!important; background:#fbfaff!important; position:relative!important; z-index:3!important; }.mau-input-wrap svg { width:21px; height:21px; fill:none; stroke:var(--mau-purple-700); stroke-width:2; flex:none; }.mau-input-wrap input { flex:1!important; width:100%!important; min-width:0!important; height:52px!important; border:0!important; outline:0!important; background:transparent!important; color:var(--mau-ink)!important; padding:0!important; opacity:1!important; visibility:visible!important; pointer-events:auto!important; position:relative!important; z-index:5!important; }.mau-recovery-form button { width:100%!important; min-height:50px!important; margin-top:18px!important; border:0!important; border-radius:16px!important; color:#fff!important; font-weight:800!important; background:linear-gradient(100deg,#4a0db8,#9e48f2)!important; cursor:pointer!important; }.mau-back-link { display:block!important; margin-top:20px!important; text-align:center!important; font-weight:700!important; text-decoration:none!important; }.mau-message { margin:0 0 18px!important; padding:13px 15px!important; border-radius:13px!important; font-size:14px!important; }.mau-error { color:#8d1f35!important; background:#fff0f3!important; border:1px solid #ffd0da!important; }.mau-success { color:#176943!important; background:#effcf5!important; border:1px solid #c7efd9!important; }

@media (max-width:900px) {
  body.magister-auth-ux .mau-layout { width:min(760px,calc(100% - 28px)); grid-template-columns:1fr 1fr; margin:36px auto 52px; }
  body.magister-auth-ux .mau-auth-card { padding:34px 28px 30px!important; }
  .mau-aside { padding:38px 30px; }.mau-aside h2 { font-size:28px!important; }.mau-aside-stats { grid-template-columns:1fr; }
}
@media (max-width:700px) {
  body.magister-auth-ux .mau-layout { display:flex; flex-direction:column; width:min(520px,calc(100% - 20px)); margin:18px auto 36px; border-radius:26px; }
  body.magister-auth-ux .mau-auth-card { order:2; padding:28px 20px 26px!important; }
  .mau-aside { order:1; min-height:220px; padding:28px 24px; }.mau-aside-orb { width:64px; height:64px; border-radius:20px; }.mau-aside-orb svg { width:34px; height:34px; }.mau-aside h2 { margin-top:18px!important; font-size:27px!important; }.mau-aside p { font-size:14px; }.mau-aside-stats { display:none; }
  .mau-heading { text-align:center; }.mau-heading h1 { font-size:30px!important; }
  body.magister-auth-ux .mau-layout .tutor-form-row { display:block!important; }body.magister-auth-ux .tutor-form-col-6,body.magister-auth-ux .tutor-form-col-12 { width:100%!important; max-width:none!important; }
  body.magister-auth-ux .mau-legal-label { font-size:12px!important; }.mau-success-card { margin:34px auto 50px; padding:38px 22px; border-radius:26px; }.mau-success-card h1 { font-size:30px!important; }
  .mau-password-panel { display:block!important; min-height:0!important; border-radius:28px!important; }.mau-password-art { display:none!important; }.mau-password-card { padding:34px 24px 30px!important; }.mau-password-card h1 { font-size:30px!important; text-align:center!important; }.mau-password-card>p { text-align:center!important; }
}

/* 1.0.3: no duplicated brand block inside authentication cards */
.mau-auth-card > .mau-heading:first-child { margin-top:0!important; }
.mau-auth-card { overflow:hidden!important; }
@media (max-width:767px){
  .mau-password-symbol{width:82px!important;height:82px!important;margin:0 auto 18px!important;}
  .mau-password-symbol svg{width:46px!important;height:46px!important;}
}

/* 1.0.4: Google dentro de la tarjeta y consentimiento legal reconstruido. */
body.magister-auth-ux .mau-auth-card .mau-google-login-row {
  width:100%!important;
  margin:18px 0 0!important;
  padding:18px 0 0!important;
  border-top:1px solid rgba(68,34,130,.10)!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
}
body.magister-auth-ux .mau-auth-card .mau-google-login-row > * {
  margin-left:auto!important;
  margin-right:auto!important;
}
body.magister-auth-ux .mau-legal-ready {
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr)!important;
  align-items:start!important;
  column-gap:10px!important;
  width:100%!important;
  margin:12px 0 18px!important;
  padding:0!important;
  position:relative!important;
  overflow:visible!important;
}
body.magister-auth-ux .mau-legal-ready input.mau-legal-checkbox[type=checkbox] {
  -webkit-appearance:none!important;
  appearance:none!important;
  display:grid!important;
  place-content:center!important;
  width:20px!important;
  min-width:20px!important;
  height:20px!important;
  margin:1px 0 0!important;
  padding:0!important;
  border:1.5px solid #b9a7da!important;
  border-radius:5px!important;
  background:#fff!important;
  box-shadow:none!important;
  opacity:1!important;
  visibility:visible!important;
  position:relative!important;
  inset:auto!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  z-index:4!important;
}
body.magister-auth-ux .mau-legal-ready input.mau-legal-checkbox[type=checkbox]::before {
  content:'';
  width:10px;
  height:6px;
  border-left:2px solid #fff;
  border-bottom:2px solid #fff;
  transform:rotate(-45deg) scale(0);
  transform-origin:center;
  transition:transform .12s ease;
  margin-top:-1px;
}
body.magister-auth-ux .mau-legal-ready input.mau-legal-checkbox[type=checkbox]:checked {
  border-color:var(--mau-purple-700)!important;
  background:var(--mau-purple-700)!important;
}
body.magister-auth-ux .mau-legal-ready input.mau-legal-checkbox[type=checkbox]:checked::before {
  transform:rotate(-45deg) scale(1);
}
body.magister-auth-ux .mau-legal-ready input.mau-legal-checkbox[type=checkbox]:focus-visible {
  outline:3px solid rgba(146,80,244,.24)!important;
  outline-offset:2px!important;
}
body.magister-auth-ux .mau-legal-ready .mau-legal-label {
  display:block!important;
  min-width:0!important;
  margin:0!important;
  color:var(--mau-ink)!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.55!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  cursor:pointer!important;
}
body.magister-auth-ux .mau-legal-ready .mau-legal-label a {
  display:inline!important;
  white-space:normal!important;
  font-weight:700!important;
  text-decoration:none!important;
}
@media (max-width:700px) {
  body.magister-auth-ux .mau-legal-ready .mau-legal-label { font-size:12px!important; }
}

/* 1.0.5: ubicación estable del acceso con Google dentro de la tarjeta. */
body.magister-auth-ux .mau-auth-card .mau-google-target {
  width:100%!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  margin:10px 0 0!important;
  padding:14px 0 0!important;
  border-top:1px solid rgba(68,34,130,.10)!important;
  min-height:44px!important;
}
body.magister-auth-ux .mau-auth-card .mau-google-target:empty {
  display:none!important;
}
body.magister-auth-ux .mau-auth-card .mau-google-target .mau-google-login-row {
  width:auto!important;
  max-width:100%!important;
  margin:0 auto!important;
  padding:0!important;
  border:0!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
}
body.magister-auth-ux .mau-auth-card .mau-google-target iframe {
  max-width:100%!important;
}


/* 1.0.7: Google queda físicamente dentro de la tarjeta, debajo del enlace de registro. */
body.magister-auth-login .mau-auth-card .mau-google-target {
  position:relative!important;
  clear:both!important;
  width:100%!important;
  box-sizing:border-box!important;
  margin:12px 0 0!important;
  padding:16px 0 0!important;
  border-top:1px solid rgba(68,34,130,.10)!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  min-height:0!important;
}
body.magister-auth-login .mau-auth-card .mau-google-target:empty { display:none!important; }
body.magister-auth-login .mau-auth-card .mau-google-target .mau-google-login-row {
  position:static!important;
  float:none!important;
  transform:none!important;
  inset:auto!important;
  width:auto!important;
  max-width:100%!important;
  margin:0 auto!important;
  padding:0!important;
  border:0!important;
}
body.magister-auth-login.mau-google-moved .mau-layout + .tutor-social-login-wrap,
body.magister-auth-login.mau-google-moved .mau-layout + .tutor-social-auth,
body.magister-auth-login.mau-google-moved .mau-layout + .tutor-login-social { display:none!important; }


/* v1.0.8: checkbox de sesión consistente y placeholder docente uniforme */
body.magister-auth-ux .mau-remember-ready {
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  margin:14px 0!important;
  min-height:28px!important;
}
body.magister-auth-ux .mau-remember-checkbox {
  -webkit-appearance:none!important;
  appearance:none!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  margin:0!important;
  padding:0!important;
  border:2px solid #d8c8ff!important;
  border-radius:7px!important;
  background:#fff!important;
  cursor:pointer!important;
  position:relative!important;
  box-shadow:0 0 0 3px rgba(124,58,237,.08)!important;
}
body.magister-auth-ux .mau-remember-checkbox:checked {
  background:linear-gradient(135deg,#5b16cf,#9a43f2)!important;
  border-color:#7c3aed!important;
}
body.magister-auth-ux .mau-remember-checkbox:checked::after {
  content:""!important;
  position:absolute!important;
  left:6px!important;
  top:2px!important;
  width:6px!important;
  height:11px!important;
  border:solid #fff!important;
  border-width:0 2.5px 2.5px 0!important;
  transform:rotate(45deg)!important;
}
body.magister-auth-ux .mau-remember-label {
  margin:0!important;
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:600!important;
  color:#101126!important;
  cursor:pointer!important;
  user-select:none!important;
}
body.magister-auth-instructor .mau-phone-field input,
body.magister-auth-instructor .mau-phone-field input::placeholder {
  font-size:14px!important;
}

/* 1.0.9: acerca las tarjetas de autenticación al encabezado sin modificar el header. */
body.magister-auth-ux .mau-auth-host,
body.magister-auth-ux .mau-auth-host-inner {
  min-height:0!important;
  height:auto!important;
  display:block!important;
  align-items:initial!important;
  justify-content:initial!important;
  place-items:initial!important;
  padding-top:0!important;
  margin-top:0!important;
}
body.magister-auth-ux .mau-layout {
  margin-top:22px!important;
  margin-bottom:64px!important;
  transform:none!important;
}
@media (max-width:900px) {
  body.magister-auth-ux .mau-layout { margin-top:18px!important; }
}
@media (max-width:700px) {
  body.magister-auth-ux .mau-layout { margin-top:14px!important; }
}


/* 1.0.10: celular docente opcional y tolerante a formatos legibles. */
body.magister-auth-instructor .mau-phone-field .mau-optional-label {
  font-weight:500!important;
  color:#6f6b84!important;
  font-size:12px!important;
}
body.magister-auth-instructor .mau-phone-field input,
body.magister-auth-instructor .mau-phone-field input::placeholder {
  font-size:13px!important;
}
body.magister-auth-instructor .mau-phone-field .mau-field-help {
  display:block!important;
  margin:6px 2px 0!important;
  color:#77728b!important;
  font-size:11px!important;
  line-height:1.35!important;
}

/* Password recovery 1.0.15 */
.mau-password-card .mau-primary-link{display:flex;align-items:center;justify-content:center;width:100%;min-height:54px;margin-top:22px;border-radius:14px;background:linear-gradient(135deg,#4b13b8,#9a3ff0);color:#fff!important;font-weight:800;text-decoration:none}
.mau-password-card .mau-recovery-form .mau-input-wrap input[type="password"]{padding-left:18px;width:100%}
.mau-password-card .mau-recovery-form label+ .mau-input-wrap{margin-bottom:16px}


/* 1.0.20 — refinamiento visual compacto de acceso y registro */
body.magister-auth-ux .mau-layout {
  width:min(980px,calc(100% - 40px));
  margin:36px auto 48px;
  grid-template-columns:minmax(0,.9fr) minmax(360px,1.1fr);
  border-radius:30px;
}
body.magister-auth-ux .mau-auth-card {
  padding:32px 36px 28px!important;
}
body.magister-auth-ux .mau-auth-card form,
body.magister-auth-ux .mau-auth-card .tutor-form-wrap,
body.magister-auth-ux .mau-auth-card .tutor-login-form-wrapper,
body.magister-auth-ux .mau-auth-card .tutor-registration-form,
body.magister-auth-ux .mau-auth-card .tutor-form-row,
body.magister-auth-ux .mau-auth-card .tutor-form-group,
body.magister-auth-ux .mau-auth-card [class*="tutor-form-col-"] {
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
body.magister-auth-ux .mau-auth-card .tutor-form-row {
  gap:12px!important;
}
body.magister-auth-ux .mau-auth-card .tutor-form-group {
  margin-bottom:12px!important;
}
body.magister-auth-ux .mau-layout form input[type=text],
body.magister-auth-ux .mau-layout form input[type=email],
body.magister-auth-ux .mau-layout form input[type=password],
body.magister-auth-ux .mau-layout form input[type=tel] {
  min-height:46px!important;
  border-radius:15px!important;
}
body.magister-auth-ux .mau-layout button[type=submit],
body.magister-auth-ux .mau-layout input[type=submit],
body.magister-auth-ux .mau-layout .tutor-btn-primary,
body.magister-auth-ux .mau-layout .tutor-button {
  min-height:46px!important;
  border-radius:15px!important;
}
.mau-heading {
  margin:0 0 20px;
}
.mau-heading h1 {
  margin-bottom:6px!important;
  font-size:clamp(27px,2.6vw,36px)!important;
}
.mau-heading p {
  font-size:14px!important;
  line-height:1.5!important;
}
.mau-aside {
  padding:36px 34px;
}
.mau-aside-orb {
  width:72px;
  height:72px;
  border-radius:23px;
}
.mau-aside-orb svg {
  width:39px;
  height:39px;
}
.mau-aside h2 {
  margin:20px 0 9px!important;
  font-size:30px!important;
}
.mau-aside p {
  font-size:14px;
  line-height:1.5;
}
.mau-aside-stats {
  margin-top:24px;
}
body.magister-auth-ux .mau-legal-ready {
  margin:8px 0 14px!important;
}
body.magister-auth-ux .mau-layout .tutor-social-login-wrap,
body.magister-auth-ux .mau-layout .tutor-social-auth,
body.magister-auth-ux .mau-layout .tutor-login-social {
  margin-top:16px!important;
}

@media (max-width:900px) {
  body.magister-auth-ux .mau-layout {
    width:min(700px,calc(100% - 28px));
    grid-template-columns:minmax(0,.85fr) minmax(330px,1.15fr);
    margin:28px auto 38px;
  }
  body.magister-auth-ux .mau-auth-card {
    padding:28px 24px 24px!important;
  }
  .mau-aside {
    padding:30px 25px;
  }
  .mau-aside h2 {
    font-size:25px!important;
  }
}

@media (max-width:700px) {
  body.magister-auth-ux .mau-layout {
    width:min(430px,calc(100% - 20px));
    margin:12px auto 24px;
    border-radius:24px;
  }
  body.magister-auth-ux .mau-auth-card {
    padding:20px 16px 18px!important;
  }
  .mau-aside {
    min-height:150px;
    padding:18px 22px 20px;
  }
  .mau-aside-orb {
    width:54px;
    height:54px;
    border-radius:17px;
  }
  .mau-aside-orb svg {
    width:30px;
    height:30px;
  }
  .mau-aside h2 {
    margin:12px 0 6px!important;
    font-size:22px!important;
    line-height:1.08!important;
  }
  .mau-aside p {
    font-size:12.5px;
    line-height:1.42;
  }
  .mau-heading {
    margin-bottom:16px!important;
  }
  .mau-heading h1 {
    font-size:27px!important;
  }
  .mau-heading p {
    font-size:13px!important;
  }
  body.magister-auth-ux .mau-layout form label {
    font-size:12.5px!important;
  }
  body.magister-auth-ux .mau-layout form input[type=text],
  body.magister-auth-ux .mau-layout form input[type=email],
  body.magister-auth-ux .mau-layout form input[type=password],
  body.magister-auth-ux .mau-layout form input[type=tel] {
    min-height:44px!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }
  body.magister-auth-ux .mau-auth-card form,
  body.magister-auth-ux .mau-auth-card .tutor-form-wrap,
  body.magister-auth-ux .mau-auth-card .tutor-login-form-wrapper,
  body.magister-auth-ux .mau-auth-card .tutor-registration-form {
    padding-left:0!important;
    padding-right:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }
}


/* 1.0.21 — tarjetas más compactas y próximas a la cabecera */
body.magister-auth-ux {
  --mau-header-gap:0px; /* sin separación bajo la cabecera */
  --mau-page-bottom-gap:32px;
}

/* Neutraliza el espacio vertical que Astra/Tutor añaden alrededor del contenido. */
body.magister-auth-ux #content,
body.magister-auth-ux .site-content,
body.magister-auth-ux .ast-container,
body.magister-auth-ux #primary,
body.magister-auth-ux .content-area,
body.magister-auth-ux main.site-main,
body.magister-auth-ux .site-main,
body.magister-auth-ux article,
body.magister-auth-ux .entry-content,
body.magister-auth-ux .tutor-page-wrap,
body.magister-auth-ux .tutor-container {
  min-height:0!important;
  height:auto!important;
}
body.magister-auth-ux #content,
body.magister-auth-ux .site-content {
  padding-top:0!important;
  padding-bottom:var(--mau-page-bottom-gap)!important;
  margin-top:0!important;
  margin-bottom:0!important;
}
body.magister-auth-ux #content > .ast-container,
body.magister-auth-ux .site-content > .ast-container,
body.magister-auth-ux #primary,
body.magister-auth-ux .content-area,
body.magister-auth-ux main.site-main,
body.magister-auth-ux .site-main,
body.magister-auth-ux article,
body.magister-auth-ux .entry-content,
body.magister-auth-ux .tutor-page-wrap,
body.magister-auth-ux .tutor-container {
  padding-top:0!important;
  padding-bottom:0!important;
  margin-top:0!important;
  margin-bottom:0!important;
}
body.magister-auth-ux .mau-auth-host,
body.magister-auth-ux .mau-auth-host-inner {
  min-height:0!important;
  height:auto!important;
  padding-top:var(--mau-header-gap)!important;
  padding-bottom:0!important;
  margin-top:0!important;
  margin-bottom:0!important;
}

/* Tamaño general más contenido. */
body.magister-auth-ux .mau-layout {
  width:min(910px,calc(100% - 36px))!important;
  margin:0 auto!important;
  grid-template-columns:minmax(0,.86fr) minmax(350px,1.14fr)!important;
  border-radius:27px!important;
}
body.magister-auth-ux .mau-auth-card {
  padding:25px 30px 22px!important;
}
.mau-heading {
  margin:0 0 14px!important;
}
.mau-heading h1 {
  margin:0 0 4px!important;
  font-size:clamp(25px,2.3vw,33px)!important;
  line-height:1.04!important;
}
.mau-heading p {
  font-size:13px!important;
  line-height:1.35!important;
}
.mau-aside {
  padding:27px 29px!important;
}
.mau-aside-orb {
  width:62px!important;
  height:62px!important;
  border-radius:20px!important;
}
.mau-aside-orb svg {
  width:34px!important;
  height:34px!important;
}
.mau-aside h2 {
  margin:15px 0 7px!important;
  font-size:26px!important;
  line-height:1.05!important;
}
.mau-aside p {
  font-size:13px!important;
  line-height:1.4!important;
}
.mau-aside-stats {
  margin-top:17px!important;
  gap:8px!important;
}
body.magister-auth-ux .mau-auth-card .tutor-form-group,
body.magister-auth-ux .mau-layout .tutor-form-group {
  margin-bottom:9px!important;
}
body.magister-auth-ux .mau-auth-card .tutor-form-row,
body.magister-auth-ux .mau-layout .tutor-form-row {
  gap:9px!important;
}
body.magister-auth-ux .mau-layout form label {
  margin-bottom:4px!important;
  font-size:12.5px!important;
  line-height:1.25!important;
}
body.magister-auth-ux .mau-layout form input[type=text],
body.magister-auth-ux .mau-layout form input[type=email],
body.magister-auth-ux .mau-layout form input[type=password],
body.magister-auth-ux .mau-layout form input[type=tel] {
  min-height:42px!important;
  height:42px!important;
  border-radius:14px!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
body.magister-auth-ux .mau-layout button[type=submit],
body.magister-auth-ux .mau-layout input[type=submit],
body.magister-auth-ux .mau-layout .tutor-btn-primary,
body.magister-auth-ux .mau-layout .tutor-button {
  min-height:43px!important;
  height:43px!important;
  border-radius:14px!important;
}
body.magister-auth-ux .mau-remember-ready {
  min-height:23px!important;
  margin:8px 0!important;
  gap:7px!important;
}
body.magister-auth-ux .mau-remember-checkbox {
  width:19px!important;
  min-width:19px!important;
  height:19px!important;
}
body.magister-auth-ux .mau-remember-label {
  font-size:12.5px!important;
  line-height:1.25!important;
}
body.magister-auth-ux .mau-legal-ready {
  margin:6px 0 10px!important;
  column-gap:8px!important;
}
body.magister-auth-ux .mau-legal-ready input.mau-legal-checkbox[type=checkbox] {
  width:18px!important;
  min-width:18px!important;
  height:18px!important;
}
body.magister-auth-ux .mau-legal-ready .mau-legal-label {
  font-size:12px!important;
  line-height:1.38!important;
}
body.magister-auth-ux .mau-auth-card .mau-google-target,
body.magister-auth-login .mau-auth-card .mau-google-target {
  margin-top:7px!important;
  padding-top:9px!important;
}
body.magister-auth-ux .mau-layout .tutor-social-login-wrap,
body.magister-auth-ux .mau-layout .tutor-social-auth,
body.magister-auth-ux .mau-layout .tutor-login-social {
  margin-top:10px!important;
}
body.magister-auth-instructor .mau-phone-field .mau-field-help {
  margin-top:4px!important;
  font-size:10.5px!important;
  line-height:1.25!important;
}

@media (max-width:900px) {
  body.magister-auth-ux {
    --mau-header-gap:0px;
    --mau-page-bottom-gap:28px;
  }
  body.magister-auth-ux .mau-layout {
    width:min(650px,calc(100% - 26px))!important;
    grid-template-columns:minmax(0,.82fr) minmax(315px,1.18fr)!important;
  }
  body.magister-auth-ux .mau-auth-card {
    padding:22px 21px 19px!important;
  }
  .mau-aside {
    padding:24px 21px!important;
  }
  .mau-aside h2 {
    font-size:23px!important;
  }
}

@media (max-width:700px) {
  body.magister-auth-ux {
    --mau-header-gap:0px;
    --mau-page-bottom-gap:28px;
  }
  body.magister-auth-ux .mau-layout {
    width:min(405px,calc(100% - 20px))!important;
    display:flex!important;
    flex-direction:column!important;
    border-radius:22px!important;
  }
  body.magister-auth-ux .mau-auth-card {
    padding:17px 14px 14px!important;
  }
  .mau-aside {
    min-height:0!important;
    padding:14px 18px 15px!important;
  }
  .mau-aside-orb {
    width:45px!important;
    height:45px!important;
    border-radius:15px!important;
  }
  .mau-aside-orb svg {
    width:25px!important;
    height:25px!important;
  }
  .mau-aside h2 {
    margin:9px 0 4px!important;
    font-size:20px!important;
  }
  .mau-aside p {
    font-size:11.5px!important;
    line-height:1.32!important;
  }
  .mau-heading {
    margin-bottom:11px!important;
  }
  .mau-heading h1 {
    font-size:25px!important;
  }
  .mau-heading p {
    font-size:12px!important;
    line-height:1.3!important;
  }
  body.magister-auth-ux .mau-auth-card .tutor-form-group,
  body.magister-auth-ux .mau-layout .tutor-form-group {
    margin-bottom:7px!important;
  }
  body.magister-auth-ux .mau-layout form input[type=text],
  body.magister-auth-ux .mau-layout form input[type=email],
  body.magister-auth-ux .mau-layout form input[type=password],
  body.magister-auth-ux .mau-layout form input[type=tel] {
    min-height:40px!important;
    height:40px!important;
    font-size:13px!important;
  }
  body.magister-auth-ux .mau-layout button[type=submit],
  body.magister-auth-ux .mau-layout input[type=submit],
  body.magister-auth-ux .mau-layout .tutor-btn-primary,
  body.magister-auth-ux .mau-layout .tutor-button {
    min-height:41px!important;
    height:41px!important;
  }
  body.magister-auth-ux .mau-legal-ready {
    margin:5px 0 8px!important;
  }
  body.magister-auth-ux .mau-legal-ready .mau-legal-label {
    font-size:11.5px!important;
    line-height:1.32!important;
  }
  body.magister-auth-ux .mau-auth-card .mau-google-target,
  body.magister-auth-login .mau-auth-card .mau-google-target {
    margin-top:5px!important;
    padding-top:7px!important;
  }
}


/* 1.0.23 — Inicio de sesión de escritorio: más altura y panel EdTech dinámico. */
@media (min-width:901px) {
  body.magister-auth-login .mau-layout {
    min-height:660px!important;
  }
  body.magister-auth-login .mau-auth-card {
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
  }
  body.magister-auth-login .mau-aside {
    justify-content:center!important;
    background:
      radial-gradient(circle at 82% 14%,rgba(255,255,255,.25) 0 2px,transparent 3px),
      radial-gradient(circle at 68% 28%,rgba(255,199,76,.95) 0 3px,transparent 4px),
      radial-gradient(circle at 88% 47%,rgba(103,232,249,.92) 0 3px,transparent 4px),
      radial-gradient(circle at 70% 73%,rgba(255,255,255,.92) 0 2px,transparent 3px),
      linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),
      linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px),
      radial-gradient(circle at 78% 18%,rgba(255,255,255,.20),transparent 19rem),
      linear-gradient(145deg,#321078 0%,#6722d2 48%,#a34df4 100%)!important;
    background-size:auto,auto,auto,auto,34px 34px,34px 34px,auto,auto!important;
  }
  body.magister-auth-login .mau-aside::before {
    width:360px!important;
    height:360px!important;
    right:-105px!important;
    top:-88px!important;
    background:transparent!important;
    border:1px solid rgba(255,255,255,.20)!important;
    box-shadow:
      0 0 0 42px rgba(255,255,255,.055),
      0 0 0 86px rgba(255,255,255,.035)!important;
    animation:mauOrbitPulse 6s ease-in-out infinite!important;
  }
  body.magister-auth-login .mau-aside::after {
    width:260px!important;
    height:260px!important;
    left:-78px!important;
    bottom:-88px!important;
    background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.035))!important;
    border:1px solid rgba(255,255,255,.16)!important;
    backdrop-filter:blur(8px)!important;
    animation:mauFloatShape 7s ease-in-out infinite!important;
  }
  body.magister-auth-login .mau-aside-orb {
    position:relative!important;
    overflow:visible!important;
    box-shadow:0 20px 46px rgba(24,0,80,.24),0 0 0 10px rgba(255,255,255,.055)!important;
    animation:mauOrbFloat 4.8s ease-in-out infinite!important;
  }
  body.magister-auth-login .mau-aside-orb::before,
  body.magister-auth-login .mau-aside-orb::after {
    content:'';
    position:absolute;
    border-radius:999px;
    pointer-events:none;
  }
  body.magister-auth-login .mau-aside-orb::before {
    inset:-24px;
    border:1px dashed rgba(255,255,255,.30);
    animation:mauSpin 16s linear infinite;
  }
  body.magister-auth-login .mau-aside-orb::after {
    width:10px;
    height:10px;
    right:-28px;
    top:8px;
    background:#ffd166;
    box-shadow:-88px 70px 0 #67e8f9,54px 94px 0 #fff;
  }
  body.magister-auth-login .mau-aside-stats span {
    border:1px solid rgba(255,255,255,.16)!important;
    background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.08))!important;
    box-shadow:0 12px 30px rgba(25,0,78,.12)!important;
    backdrop-filter:blur(10px)!important;
    transition:transform .22s ease,background .22s ease!important;
  }
  body.magister-auth-login .mau-aside-stats span:hover {
    transform:translateY(-3px)!important;
    background:rgba(255,255,255,.22)!important;
  }
}
@keyframes mauOrbitPulse { 0%,100%{transform:scale(1);opacity:.88} 50%{transform:scale(1.045);opacity:1} }
@keyframes mauFloatShape { 0%,100%{transform:translate3d(0,0,0) rotate(0)} 50%{transform:translate3d(14px,-12px,0) rotate(4deg)} }
@keyframes mauOrbFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes mauSpin { to{transform:rotate(360deg)} }
@media (prefers-reduced-motion:reduce) {
  body.magister-auth-login .mau-aside::before,
  body.magister-auth-login .mau-aside::after,
  body.magister-auth-login .mau-aside-orb,
  body.magister-auth-login .mau-aside-orb::before { animation:none!important; }
}

/* 1.0.24 — Login de escritorio: altura moderada e ilustración EdTech estática. */
@media (min-width:901px) {
  body.magister-auth-login .mau-layout {
    min-height:528px!important;
  }
  body.magister-auth-login .mau-aside {
    justify-content:flex-start!important;
    padding:36px 38px 24px!important;
    background:
      radial-gradient(circle at 84% 12%,rgba(255,255,255,.20),transparent 15rem),
      linear-gradient(145deg,#321078 0%,#6722d2 48%,#a34df4 100%)!important;
  }
  body.magister-auth-login .mau-aside::before {
    content:''!important;
    display:block!important;
    position:absolute!important;
    z-index:-1!important;
    width:74%!important;
    height:48%!important;
    right:18px!important;
    bottom:14px!important;
    top:auto!important;
    left:auto!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:url('../images/edtech-login-visual.svg') center/contain no-repeat!important;
    opacity:1!important;
    animation:none!important;
    transform:none!important;
  }
  body.magister-auth-login .mau-aside::after {
    display:none!important;
    animation:none!important;
  }
  body.magister-auth-login .mau-aside-orb,
  body.magister-auth-login .mau-aside-orb::before {
    animation:none!important;
  }
  body.magister-auth-login .mau-aside-orb::before,
  body.magister-auth-login .mau-aside-orb::after {
    display:none!important;
  }
  body.magister-auth-login .mau-aside h2 {
    max-width:420px!important;
    margin-top:20px!important;
    font-size:31px!important;
  }
  body.magister-auth-login .mau-aside p {
    max-width:440px!important;
    font-size:14px!important;
    line-height:1.45!important;
  }
  body.magister-auth-login .mau-aside-stats {
    width:72%!important;
    margin-top:20px!important;
    gap:9px!important;
  }
  body.magister-auth-login .mau-aside-stats span {
    padding:10px 7px!important;
    background:rgba(255,255,255,.15)!important;
    backdrop-filter:none!important;
    transition:none!important;
  }
  body.magister-auth-login .mau-aside-stats span:hover {
    transform:none!important;
    background:rgba(255,255,255,.15)!important;
  }
}

/* 1.0.25 — Login de escritorio: altura equilibrada e ilustración estática sin cubrir métricas. */
@media (min-width:901px) {
  body.magister-auth-login .mau-layout {
    min-height:607px!important;
  }
  body.magister-auth-login .mau-aside {
    justify-content:flex-start!important;
    padding:34px 38px 22px!important;
  }
  body.magister-auth-login .mau-aside::before {
    width:62%!important;
    height:39%!important;
    right:10px!important;
    bottom:8px!important;
    background:url('../images/edtech-login-visual.svg') right bottom/contain no-repeat!important;
    opacity:1!important;
  }
  body.magister-auth-login .mau-aside h2 {
    max-width:440px!important;
    margin:18px 0 8px!important;
  }
  body.magister-auth-login .mau-aside p {
    max-width:450px!important;
  }
  body.magister-auth-login .mau-aside-stats {
    position:relative!important;
    z-index:3!important;
    width:100%!important;
    max-width:470px!important;
    margin-top:18px!important;
    padding-right:0!important;
  }
  body.magister-auth-login .mau-aside-stats span {
    position:relative!important;
    z-index:4!important;
  }
}


/* 1.0.26 — Login móvil: reducción vertical aproximada del 10 %, sin alterar otras vistas. */
@media (max-width:700px) {
  body.magister-auth-login .mau-auth-card {
    padding:15px 14px 12px!important;
  }
  body.magister-auth-login .mau-aside {
    padding:12px 18px 13px!important;
  }
  body.magister-auth-login .mau-aside-orb {
    width:41px!important;
    height:41px!important;
    border-radius:14px!important;
  }
  body.magister-auth-login .mau-aside-orb svg {
    width:23px!important;
    height:23px!important;
  }
  body.magister-auth-login .mau-aside h2 {
    margin:8px 0 3px!important;
    font-size:19px!important;
  }
  body.magister-auth-login .mau-aside p {
    font-size:11px!important;
    line-height:1.28!important;
  }
  body.magister-auth-login .mau-heading {
    margin-bottom:9px!important;
  }
  body.magister-auth-login .mau-heading h1 {
    font-size:24px!important;
    line-height:1.08!important;
  }
  body.magister-auth-login .mau-heading p {
    font-size:11.5px!important;
    line-height:1.25!important;
  }
  body.magister-auth-login .mau-layout .tutor-form-group {
    margin-bottom:6px!important;
  }
  body.magister-auth-login .mau-layout form input[type=text],
  body.magister-auth-login .mau-layout form input[type=email],
  body.magister-auth-login .mau-layout form input[type=password],
  body.magister-auth-login .mau-layout form input[type=tel] {
    min-height:38px!important;
    height:38px!important;
  }
  body.magister-auth-login .mau-layout button[type=submit],
  body.magister-auth-login .mau-layout input[type=submit],
  body.magister-auth-login .mau-layout .tutor-btn-primary,
  body.magister-auth-login .mau-layout .tutor-button {
    min-height:39px!important;
    height:39px!important;
  }
  body.magister-auth-login .mau-auth-card .mau-google-target {
    margin-top:4px!important;
    padding-top:6px!important;
  }
}


/* 1.0.27 — Login móvil: compactación vertical adicional del 15 %. */
@media (max-width:700px) {
  body.magister-auth-login .mau-layout {
    margin-top:0!important;
    margin-bottom:8px!important;
  }
  body.magister-auth-login .mau-auth-card {
    padding:10px 12px 8px!important;
  }
  body.magister-auth-login .mau-aside {
    min-height:0!important;
    padding:8px 16px 9px!important;
  }
  body.magister-auth-login .mau-aside-orb {
    width:36px!important;
    height:36px!important;
    border-radius:12px!important;
  }
  body.magister-auth-login .mau-aside-orb svg {
    width:20px!important;
    height:20px!important;
  }
  body.magister-auth-login .mau-aside h2 {
    margin:5px 0 2px!important;
    font-size:18px!important;
    line-height:1.04!important;
  }
  body.magister-auth-login .mau-aside p {
    margin:0!important;
    font-size:10.5px!important;
    line-height:1.18!important;
  }
  body.magister-auth-login .mau-heading {
    margin-bottom:6px!important;
  }
  body.magister-auth-login .mau-heading h1 {
    margin-bottom:2px!important;
    font-size:22px!important;
    line-height:1.03!important;
  }
  body.magister-auth-login .mau-heading p {
    font-size:10.8px!important;
    line-height:1.15!important;
  }
  body.magister-auth-login .mau-layout .tutor-form-group,
  body.magister-auth-login .mau-auth-card .tutor-form-group {
    margin-bottom:4px!important;
  }
  body.magister-auth-login .mau-layout form label {
    margin-bottom:2px!important;
    line-height:1.15!important;
  }
  body.magister-auth-login .mau-layout form input[type=text],
  body.magister-auth-login .mau-layout form input[type=email],
  body.magister-auth-login .mau-layout form input[type=password],
  body.magister-auth-login .mau-layout form input[type=tel] {
    min-height:35px!important;
    height:35px!important;
  }
  body.magister-auth-login .mau-remember-ready {
    min-height:19px!important;
    margin:3px 0 4px!important;
    line-height:1.1!important;
  }
  body.magister-auth-login .mau-remember-checkbox {
    width:17px!important;
    min-width:17px!important;
    height:17px!important;
  }
  body.magister-auth-login .mau-remember-label,
  body.magister-auth-login .mau-remember-ready a {
    font-size:11px!important;
    line-height:1.15!important;
  }
  body.magister-auth-login .mau-layout button[type=submit],
  body.magister-auth-login .mau-layout input[type=submit],
  body.magister-auth-login .mau-layout .tutor-btn-primary,
  body.magister-auth-login .mau-layout .tutor-button {
    min-height:36px!important;
    height:36px!important;
    margin-top:2px!important;
  }
  body.magister-auth-login .mau-auth-card .mau-google-target {
    margin-top:2px!important;
    padding-top:4px!important;
  }
  body.magister-auth-login .mau-auth-card .mau-google-login-row {
    margin-top:0!important;
    margin-bottom:0!important;
  }
  body.magister-auth-login .mau-auth-card form + p,
  body.magister-auth-login .mau-auth-card .tutor-login-form-wrapper + p {
    margin-top:5px!important;
    margin-bottom:4px!important;
    line-height:1.2!important;
  }
}


/* 1.0.28 — Login móvil: compactación real de los espacios entre campos y bloque recordar/recuperar. */
@media (max-width:700px) {
  body.magister-auth-login .mau-layout {
    margin:8px auto 10px!important;
  }
  body.magister-auth-login .mau-auth-card {
    padding:8px 12px 8px!important;
  }
  body.magister-auth-login .mau-heading {
    margin:0 0 4px!important;
  }
  body.magister-auth-login .mau-heading h1 {
    margin:0 0 1px!important;
    font-size:21px!important;
    line-height:1.02!important;
  }
  body.magister-auth-login .mau-heading p {
    margin:0!important;
    font-size:10.6px!important;
    line-height:1.12!important;
  }
  body.magister-auth-login .mau-auth-card form,
  body.magister-auth-login .mau-auth-card .tutor-login-form-wrapper {
    margin:0!important;
  }
  body.magister-auth-login .mau-auth-card .tutor-form-group,
  body.magister-auth-login .mau-layout .tutor-form-group {
    margin:0 0 3px!important;
    padding:0!important;
  }
  body.magister-auth-login .mau-auth-card .tutor-form-group:last-of-type {
    margin-bottom:2px!important;
  }
  body.magister-auth-login .mau-layout form input[type=text],
  body.magister-auth-login .mau-layout form input[type=email],
  body.magister-auth-login .mau-layout form input[type=password],
  body.magister-auth-login .mau-layout form input[type=tel] {
    min-height:34px!important;
    height:34px!important;
  }
  body.magister-auth-login .mau-password-wrap {
    margin:0!important;
  }
  body.magister-auth-login .mau-login-meta {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:8px!important;
    margin:2px 0 4px!important;
    padding:0!important;
  }
  body.magister-auth-login .mau-login-meta > * {
    margin:0!important;
    padding:0!important;
  }
  body.magister-auth-login .mau-remember-ready {
    min-height:auto!important;
    margin:0!important;
    gap:6px!important;
    line-height:1!important;
  }
  body.magister-auth-login .mau-remember-label {
    font-size:10.8px!important;
    line-height:1.05!important;
  }
  body.magister-auth-login .mau-remember-checkbox {
    width:16px!important;
    min-width:16px!important;
    height:16px!important;
  }
  body.magister-auth-login .mau-forgot-wrap {
    display:flex!important;
    justify-content:flex-end!important;
    align-items:center!important;
    margin:0!important;
    padding:0!important;
  }
  body.magister-auth-login .mau-forgot-link {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    padding:6px 12px!important;
    line-height:1.05!important;
    font-size:10.8px!important;
  }
  body.magister-auth-login .mau-layout button[type=submit],
  body.magister-auth-login .mau-layout input[type=submit],
  body.magister-auth-login .mau-layout .tutor-btn-primary,
  body.magister-auth-login .mau-layout .tutor-button {
    min-height:35px!important;
    height:35px!important;
    margin-top:0!important;
  }
  body.magister-auth-login .mau-auth-card form + p,
  body.magister-auth-login .mau-auth-card .tutor-login-form-wrapper + p {
    margin-top:5px!important;
    margin-bottom:3px!important;
    line-height:1.12!important;
  }
  body.magister-auth-login .mau-auth-card .mau-google-target {
    margin-top:1px!important;
    padding-top:3px!important;
  }
}


/* 1.0.29 — Login móvil: 5 % más de altura y respiración visual moderada. */
@media (max-width:700px) {
  body.magister-auth-login .mau-layout {
    margin:9px auto 11px!important;
  }
  body.magister-auth-login .mau-auth-card {
    padding:9px 12px 9px!important;
  }
  body.magister-auth-login .mau-heading {
    margin:0 0 5px!important;
  }
  body.magister-auth-login .mau-heading h1 {
    margin:0 0 2px!important;
    line-height:1.04!important;
  }
  body.magister-auth-login .mau-heading p {
    line-height:1.16!important;
  }
  body.magister-auth-login .mau-auth-card .tutor-form-group,
  body.magister-auth-login .mau-layout .tutor-form-group {
    margin:0 0 4px!important;
  }
  body.magister-auth-login .mau-auth-card .tutor-form-group:last-of-type {
    margin-bottom:3px!important;
  }
  body.magister-auth-login .mau-login-meta {
    gap:9px!important;
    margin:3px 0 5px!important;
  }
  body.magister-auth-login .mau-remember-ready {
    gap:7px!important;
    line-height:1.04!important;
  }
  body.magister-auth-login .mau-remember-label {
    line-height:1.10!important;
  }
  body.magister-auth-login .mau-forgot-link {
    padding:7px 12px!important;
    line-height:1.10!important;
  }
  body.magister-auth-login .mau-layout button[type=submit],
  body.magister-auth-login .mau-layout input[type=submit],
  body.magister-auth-login .mau-layout .tutor-btn-primary,
  body.magister-auth-login .mau-layout .tutor-button {
    min-height:36px!important;
    height:36px!important;
    margin-top:1px!important;
  }
  body.magister-auth-login .mau-auth-card form + p,
  body.magister-auth-login .mau-auth-card .tutor-login-form-wrapper + p {
    margin-top:6px!important;
    margin-bottom:4px!important;
    line-height:1.16!important;
  }
  body.magister-auth-login .mau-auth-card .mau-google-target {
    margin-top:2px!important;
    padding-top:4px!important;
  }
}


/* 1.0.30 — +5 % de altura hacia abajo, solo inicio de sesión móvil. */
@media (max-width:700px) {
  body.magister-auth-login .mau-auth-card {
    padding-bottom:62px!important;
  }
}


/* 1.0.31 — Login móvil: elimina la segunda capa gris detrás de la tarjeta. */
@media (max-width:700px) {
  body.magister-auth-login .mau-layout {
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    overflow:visible!important;
  }
  body.magister-auth-login .mau-auth-host,
  body.magister-auth-login .mau-auth-host-inner,
  body.magister-auth-login .tutor-page-wrap,
  body.magister-auth-login .tutor-container,
  body.magister-auth-login .entry-content,
  body.magister-auth-login main.site-main,
  body.magister-auth-login .site-main,
  body.magister-auth-login article {
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    border-radius:0!important;
  }
  body.magister-auth-login .mau-aside {
    border-radius:22px 22px 0 0!important;
  }
  body.magister-auth-login .mau-auth-card {
    border-radius:0 0 22px 22px!important;
    box-shadow:0 18px 42px rgba(58,24,118,.10)!important;
  }
}

/* =====================================================================
   1.0.32 — Casillas confiables y formularios compactos.
   La casilla se dibuja en .mau-check (no en ::after del input) y toda la
   fila es un <label>, así marca al primer clic en web, tablet y celular.
   ===================================================================== */
body.magister-auth-ux label.mau-remember-ready,
body.magister-auth-ux label.mau-legal-ready {
  position:relative!important; display:flex!important; gap:9px!important; cursor:pointer!important;
  -webkit-tap-highlight-color:transparent; -webkit-user-select:none; user-select:none;
}
body.magister-auth-ux label.mau-remember-ready { align-items:center!important; min-height:24px!important; margin:4px 0!important; }
body.magister-auth-ux label.mau-legal-ready { align-items:flex-start!important; margin:2px 0 12px!important; }
body.magister-auth-ux label.mau-remember-ready input.mau-remember-checkbox[type=checkbox],
body.magister-auth-ux label.mau-legal-ready input.mau-legal-checkbox[type=checkbox] {
  position:absolute!important; left:0!important; top:0!important; z-index:2!important;
  width:22px!important; height:22px!important; min-width:0!important; min-height:0!important;
  margin:0!important; padding:0!important; opacity:0!important; cursor:pointer!important; box-shadow:none!important;
}
body.magister-auth-ux label.mau-remember-ready input.mau-remember-checkbox[type=checkbox] { top:50%!important; transform:translateY(-50%)!important; }
body.magister-auth-ux .mau-check {
  position:relative; flex:0 0 20px; width:20px; height:20px; box-sizing:border-box;
  border:2px solid #cdb8ff; border-radius:6px; background:#fff;
  transition:background-color .12s ease,border-color .12s ease,box-shadow .12s ease;
}
body.magister-auth-ux label.mau-legal-ready .mau-check { margin-top:1px; }
body.magister-auth-ux .mau-check::after {
  content:""; position:absolute; left:5px; top:1px; width:5px; height:10px;
  border:solid #fff; border-width:0 2.4px 2.4px 0; transform:rotate(45deg); opacity:0;
}
body.magister-auth-ux input:checked + .mau-check { background:linear-gradient(135deg,#5b16cf,#9a43f2); border-color:#7c3aed; }
body.magister-auth-ux input:checked + .mau-check::after { opacity:1; }
body.magister-auth-ux input:focus-visible + .mau-check { box-shadow:0 0 0 3px rgba(124,58,237,.28); }
body.magister-auth-ux label.mau-remember-ready:hover .mau-check,
body.magister-auth-ux label.mau-legal-ready:hover .mau-check { border-color:#9a6bff; }
body.magister-auth-ux .mau-remember-ready .mau-remember-label { display:inline!important; margin:0!important; font-size:13px!important; font-weight:600!important; line-height:1.3!important; color:#101126!important; }
body.magister-auth-ux .mau-legal-ready .mau-legal-label { display:block!important; flex:1 1 auto!important; margin:0!important; font-size:12.5px!important; line-height:1.45!important; }

/* Nombres y apellidos en una fila. */
body.magister-auth-ux .mau-name-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); column-gap:10px; }
body.magister-auth-ux .mau-name-row > * { min-width:0!important; }

/* Registro de estudiante y solicitud docente: compactos en todas las pantallas. */
html body.magister-auth-ux.magister-auth-student .mau-auth-card,
html body.magister-auth-ux.magister-auth-instructor .mau-auth-card { padding:22px 28px 18px!important; }
html body.magister-auth-ux.magister-auth-student .mau-auth-card form,
html body.magister-auth-ux.magister-auth-instructor .mau-auth-card form { padding:0!important; margin:0!important; }
html body.magister-auth-ux.magister-auth-student .mau-heading,
html body.magister-auth-ux.magister-auth-instructor .mau-heading { margin:0 0 14px!important; }
html body.magister-auth-ux.magister-auth-student .mau-heading h1,
html body.magister-auth-ux.magister-auth-instructor .mau-heading h1 { font-size:clamp(24px,2.2vw,30px)!important; line-height:1.1!important; margin:0 0 4px!important; }
html body.magister-auth-ux.magister-auth-student .mau-heading p,
html body.magister-auth-ux.magister-auth-instructor .mau-heading p { font-size:13px!important; line-height:1.4!important; margin:0!important; }
html body.magister-auth-ux.magister-auth-student .mau-auth-card .tutor-form-group,
html body.magister-auth-ux.magister-auth-student .mau-auth-card .tutor-password-strength-checker,
html body.magister-auth-ux.magister-auth-instructor .mau-auth-card .tutor-form-group,
html body.magister-auth-ux.magister-auth-instructor .mau-auth-card .tutor-password-strength-checker { margin:0 0 10px!important; }
html body.magister-auth-ux.magister-auth-student .mau-auth-card .tutor-form-row,
html body.magister-auth-ux.magister-auth-instructor .mau-auth-card .tutor-form-row { margin-bottom:0!important; }
html body.magister-auth-ux.magister-auth-student .mau-auth-card form label.tutor-block,
html body.magister-auth-ux.magister-auth-instructor .mau-auth-card form label.tutor-block,
html body.magister-auth-ux.magister-auth-student .mau-auth-card .tutor-form-group > label,
html body.magister-auth-ux.magister-auth-instructor .mau-auth-card .tutor-form-group > label { margin:0 0 4px!important; font-size:12.5px!important; line-height:1.3!important; }
html body.magister-auth-ux.magister-auth-student .mau-auth-card .tutor-input-field,
html body.magister-auth-ux.magister-auth-instructor .mau-auth-card .tutor-input-field { margin-bottom:0!important; }
html body.magister-auth-ux.magister-auth-student .mau-layout form input[type=text],
html body.magister-auth-ux.magister-auth-student .mau-layout form input[type=email],
html body.magister-auth-ux.magister-auth-student .mau-layout form input[type=password],
html body.magister-auth-ux.magister-auth-student .mau-layout form input[type=tel],
html body.magister-auth-ux.magister-auth-instructor .mau-layout form input[type=text],
html body.magister-auth-ux.magister-auth-instructor .mau-layout form input[type=email],
html body.magister-auth-ux.magister-auth-instructor .mau-layout form input[type=password],
html body.magister-auth-ux.magister-auth-instructor .mau-layout form input[type=tel] { min-height:40px!important; height:40px!important; border-radius:12px!important; font-size:14px!important; }
html body.magister-auth-ux.magister-auth-student .mau-layout button[type=submit],
html body.magister-auth-ux.magister-auth-instructor .mau-layout button[type=submit] { min-height:42px!important; height:42px!important; border-radius:12px!important; margin:0!important; }
html body.magister-auth-ux.magister-auth-student .mau-auth-card form .tutor-flex,
html body.magister-auth-ux.magister-auth-instructor .mau-auth-card form .tutor-flex { margin-top:8px!important; }
html body.magister-auth-ux.magister-auth-student .mau-layout .tutor-social-authentication,
html body.magister-auth-ux.magister-auth-instructor .mau-layout .tutor-social-authentication { margin-top:10px!important; padding-top:0!important; }
html body.magister-auth-ux.magister-auth-student .mau-aside,
html body.magister-auth-ux.magister-auth-instructor .mau-aside { padding:26px 28px!important; }

/* Inicio de sesión de escritorio: menos alto para que quepa en laptops. */
@media (min-width:901px) {
  html body.magister-auth-ux.magister-auth-login .mau-layout,
  html body.magister-auth-ux.magister-auth-login .mau-auth-card,
  html body.magister-auth-ux.magister-auth-login .mau-aside { min-height:0!important; }
  html body.magister-auth-ux.magister-auth-login .mau-auth-card { padding:28px 34px 22px!important; }
  html body.magister-auth-ux.magister-auth-login .mau-heading { margin:0 0 14px!important; }
  html body.magister-auth-ux.magister-auth-login .mau-heading h1 { font-size:30px!important; line-height:1.1!important; }
  html body.magister-auth-ux.magister-auth-login .mau-layout form input[type=text],
  html body.magister-auth-ux.magister-auth-login .mau-layout form input[type=email],
  html body.magister-auth-ux.magister-auth-login .mau-layout form input[type=password] { min-height:44px!important; height:44px!important; }
  html body.magister-auth-ux.magister-auth-login .mau-auth-card .tutor-form-group { margin-bottom:12px!important; }
  html body.magister-auth-ux.magister-auth-login .mau-aside { padding:30px 32px!important; }
}

/* Tablet. */
@media (min-width:701px) and (max-width:900px) {
  html body.magister-auth-ux .mau-layout { margin-top:16px!important; margin-bottom:24px!important; }
}

/* Celular: tarjeta lateral convertida en una franja corta; el formulario queda a la vista. */
@media (max-width:700px) {
  html body.magister-auth-ux.magister-auth-student .mau-aside,
  html body.magister-auth-ux.magister-auth-instructor .mau-aside {
    display:flex!important; flex-direction:row!important; align-items:center!important; gap:12px!important;
    min-height:0!important; padding:12px 16px!important;
  }
  html body.magister-auth-ux.magister-auth-student .mau-aside .mau-aside-orb,
  html body.magister-auth-ux.magister-auth-instructor .mau-aside .mau-aside-orb { width:38px!important; height:38px!important; min-width:38px!important; border-radius:12px!important; margin:0!important; }
  html body.magister-auth-ux.magister-auth-student .mau-aside .mau-aside-orb svg,
  html body.magister-auth-ux.magister-auth-instructor .mau-aside .mau-aside-orb svg { width:21px!important; height:21px!important; }
  html body.magister-auth-ux.magister-auth-student .mau-aside h2,
  html body.magister-auth-ux.magister-auth-instructor .mau-aside h2 { margin:0!important; font-size:16px!important; line-height:1.2!important; }
  html body.magister-auth-ux.magister-auth-student .mau-aside p,
  html body.magister-auth-ux.magister-auth-student .mau-aside .mau-aside-stats,
  html body.magister-auth-ux.magister-auth-instructor .mau-aside p,
  html body.magister-auth-ux.magister-auth-instructor .mau-aside .mau-aside-stats { display:none!important; }
  html body.magister-auth-ux.magister-auth-student .mau-auth-card,
  html body.magister-auth-ux.magister-auth-instructor .mau-auth-card { padding:16px 16px 14px!important; }
  html body.magister-auth-ux.magister-auth-student .mau-heading h1,
  html body.magister-auth-ux.magister-auth-instructor .mau-heading h1 { font-size:22px!important; }
  html body.magister-auth-ux.magister-auth-student .mau-heading,
  html body.magister-auth-ux.magister-auth-instructor .mau-heading { margin-bottom:10px!important; }
  html body.magister-auth-ux.magister-auth-student .mau-auth-card .tutor-form-group,
  html body.magister-auth-ux.magister-auth-student .mau-auth-card .tutor-password-strength-checker,
  html body.magister-auth-ux.magister-auth-instructor .mau-auth-card .tutor-form-group,
  html body.magister-auth-ux.magister-auth-instructor .mau-auth-card .tutor-password-strength-checker { margin-bottom:8px!important; }
}
@media (max-width:359px) {
  body.magister-auth-ux .mau-name-row { grid-template-columns:minmax(0,1fr); }
}
@media (prefers-reduced-motion:reduce) { body.magister-auth-ux .mau-check { transition:none; } }
@media (min-width:901px) {
  html body.magister-auth-ux.magister-auth-student .mau-layout,
  html body.magister-auth-ux.magister-auth-instructor .mau-layout { grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr)!important; }
}
@media (max-width:700px) {
  html body.magister-auth-ux.magister-auth-login label.mau-remember-ready { min-height:20px!important; margin:2px 0!important; gap:7px!important; }
  html body.magister-auth-ux.magister-auth-login .mau-check { flex-basis:18px; width:18px; height:18px; }
  html body.magister-auth-ux.magister-auth-login .mau-check::after { left:4px; top:0; }
  html body.magister-auth-ux.magister-auth-login .mau-remember-ready .mau-remember-label { font-size:12px!important; }
}
html body.magister-auth-ux .mau-name-row > .tutor-form-group { margin-bottom:4px!important; }
html body.magister-auth-ux p.mau-name-hint { margin:0 0 10px!important; font-size:11.5px!important; line-height:1.35!important; color:#6b6584!important; }
html body.magister-auth-ux.magister-auth-login .mau-login-meta { display:flex!important; align-items:center!important; justify-content:space-between!important; flex-wrap:wrap!important; gap:6px 12px!important; margin:2px 0 14px!important; }
html body.magister-auth-ux.magister-auth-login .mau-login-meta > * { margin:0!important; padding:0!important; width:auto!important; }
html body.magister-auth-ux.magister-auth-login .mau-login-meta .mau-forgot-link { font-size:13px!important; }
@media (min-width:701px) and (max-width:900px) {
  html body.magister-auth-ux.magister-auth-student .mau-layout,
  html body.magister-auth-ux.magister-auth-instructor .mau-layout { grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr)!important; }
  html body.magister-auth-ux.magister-auth-student .mau-aside p,
  html body.magister-auth-ux.magister-auth-instructor .mau-aside p { font-size:12.5px!important; }
}

/* =====================================================================
   1.0.33 — Celular: tarjeta más ancha y más baja, todo en una pantalla.
   ===================================================================== */
@media (max-width:700px) {
  /* Sin márgenes ni fondos del tema alrededor de la tarjeta. */
  html body.magister-auth-ux.magister-auth-ux .mau-auth-host,
  html body.magister-auth-ux.magister-auth-ux .mau-auth-host-inner {
    padding-left:0!important; padding-right:0!important; padding-bottom:0!important;
    margin-left:0!important; margin-right:0!important; margin-bottom:0!important;
    max-width:none!important; width:100%!important; min-height:0!important;
    background:transparent!important; box-shadow:none!important; border:0!important;
  }
  /* Ocupa el ancho de la pantalla (8 px por lado) aunque el tema tenga márgenes internos. */
  html body.magister-auth-ux.magister-auth-ux .mau-layout {
    position:relative!important; left:50%!important; transform:translateX(-50%)!important;
    width:min(500px,calc(100vw - 28px))!important; max-width:none!important; margin:8px 0 10px!important;
    min-height:0!important; height:auto!important; border-radius:20px!important;
  }
  html body.magister-auth-ux.magister-auth-ux .mau-auth-card,
  html body.magister-auth-ux.magister-auth-ux .mau-aside { min-height:0!important; height:auto!important; }
  html body.magister-auth-ux.magister-auth-ux .mau-auth-card { padding:14px 16px 12px!important; }

  /* Franja superior corta en las tres pantallas (también en el inicio de sesión). */
  html body.magister-auth-ux.magister-auth-ux .mau-aside {
    display:flex!important; flex-direction:row!important; align-items:center!important; gap:10px!important;
    padding:10px 14px!important;
  }
  html body.magister-auth-ux.magister-auth-ux .mau-aside .mau-aside-orb { width:34px!important; height:34px!important; min-width:34px!important; border-radius:11px!important; margin:0!important; }
  html body.magister-auth-ux.magister-auth-ux .mau-aside .mau-aside-orb svg { width:19px!important; height:19px!important; }
  html body.magister-auth-ux.magister-auth-ux .mau-aside h2 { margin:0!important; font-size:15px!important; line-height:1.2!important; }
  html body.magister-auth-ux.magister-auth-ux .mau-aside p,
  html body.magister-auth-ux.magister-auth-ux .mau-aside .mau-aside-stats,
  html body.magister-auth-ux.magister-auth-ux .mau-aside img,
  html body.magister-auth-ux.magister-auth-ux .mau-aside svg:not(.mau-aside-orb svg),
  html body.magister-auth-ux.magister-auth-ux .mau-aside [class*="illustration"],
  html body.magister-auth-ux.magister-auth-ux .mau-aside [class*="visual"] { display:none!important; }
  html body.magister-auth-ux.magister-auth-ux .mau-aside::before,
  html body.magister-auth-ux.magister-auth-ux .mau-aside::after { display:none!important; }

  /* Encabezado y campos. */
  html body.magister-auth-ux.magister-auth-ux .mau-heading { margin:0 0 8px!important; text-align:center!important; }
  html body.magister-auth-ux.magister-auth-ux .mau-heading h1 { font-size:21px!important; line-height:1.15!important; margin:0 0 2px!important; }
  html body.magister-auth-ux.magister-auth-ux .mau-heading p { font-size:12px!important; line-height:1.3!important; margin:0!important; }
  html body.magister-auth-ux.magister-auth-ux .mau-auth-card form { padding:0!important; margin:0!important; }
  html body.magister-auth-ux.magister-auth-ux .mau-auth-card .tutor-form-group,
  html body.magister-auth-ux.magister-auth-ux .mau-auth-card .tutor-password-strength-checker { margin:0 0 6px!important; }
  html body.magister-auth-ux.magister-auth-ux .mau-name-row > .tutor-form-group { margin-bottom:2px!important; }
  html body.magister-auth-ux.magister-auth-ux .mau-auth-card form label.tutor-block,
  html body.magister-auth-ux.magister-auth-ux .mau-auth-card .tutor-form-group > label { margin:0 0 3px!important; font-size:12px!important; line-height:1.25!important; }
  html body.magister-auth-ux.magister-auth-ux .mau-layout form input[type=text],
  html body.magister-auth-ux.magister-auth-ux .mau-layout form input[type=email],
  html body.magister-auth-ux.magister-auth-ux .mau-layout form input[type=password],
  html body.magister-auth-ux.magister-auth-ux .mau-layout form input[type=tel] { min-height:40px!important; height:40px!important; font-size:15px!important; border-radius:12px!important; }
  html body.magister-auth-ux.magister-auth-ux .mau-layout button[type=submit],
  html body.magister-auth-ux.magister-auth-ux .mau-layout input[type=submit] { min-height:42px!important; height:42px!important; margin:2px 0 0!important; border-radius:12px!important; }
  html body.magister-auth-ux.magister-auth-ux p.mau-name-hint { margin:0 0 6px!important; font-size:11px!important; }
  html body.magister-auth-ux.magister-auth-ux .mau-phone-hint,
  html body.magister-auth-ux.magister-auth-ux .mau-phone-field small { margin-top:2px!important; font-size:10.5px!important; line-height:1.25!important; }
  html body.magister-auth-ux.magister-auth-ux label.mau-legal-ready { margin:4px 0 8px!important; }
  html body.magister-auth-ux.magister-auth-ux .mau-legal-ready .mau-legal-label { font-size:12px!important; line-height:1.4!important; }
  html body.magister-auth-ux.magister-auth-ux.magister-auth-login .mau-login-meta { margin:4px 0 8px!important; }

  /* Enlace de registro/acceso y Google: sin espacio vacío debajo. */
  html body.magister-auth-ux.magister-auth-ux .mau-auth-card form .tutor-flex,
  html body.magister-auth-ux.magister-auth-ux .mau-auth-card .mau-account-prompt { margin:8px 0 0!important; padding:0!important; }
  html body.magister-auth-ux.magister-auth-ux .mau-auth-card .mau-google-target,
  html body.magister-auth-ux.magister-auth-ux .mau-layout .tutor-social-authentication {
    margin:8px 0 0!important; padding:8px 0 0!important; min-height:0!important; height:auto!important;
  }
  html body.magister-auth-ux.magister-auth-ux .mau-auth-card .mau-google-target > *:last-child,
  html body.magister-auth-ux.magister-auth-ux .mau-layout .tutor-social-authentication > *:last-child { margin-bottom:0!important; padding-bottom:0!important; }
  html body.magister-auth-ux.magister-auth-ux .mau-auth-card > *:last-child { margin-bottom:0!important; padding-bottom:0!important; }
  html body.magister-auth-login .mau-layout + .tutor-social-authentication:empty,
  html body.magister-auth-ux.magister-auth-ux .tutor-social-authentication:empty { display:none!important; }
}
/* Campos envueltos directamente en .tutor-input-field (docente e inicio de sesión). */
html body.magister-auth-ux.magister-auth-ux.magister-auth-student .mau-auth-card form > .tutor-input-field,
html body.magister-auth-ux.magister-auth-ux.magister-auth-instructor .mau-auth-card form > .tutor-input-field { margin-bottom:10px!important; }
@media (min-width:701px) {
  html body.magister-auth-ux.magister-auth-ux.magister-auth-login .mau-auth-card form > .tutor-input-field { margin-bottom:12px!important; }
}
@media (max-width:700px) {
  html body.magister-auth-ux.magister-auth-ux .mau-auth-card form > .tutor-input-field { margin-bottom:8px!important; }
  html body.magister-auth-ux.magister-auth-ux .mau-auth-card form > .tutor-input-field .tutor-input-field { margin-bottom:0!important; }
}
html body.magister-auth-ux.magister-auth-ux .mau-name-row { margin-bottom:8px!important; }
html body.magister-auth-ux.magister-auth-ux .mau-name-row > .tutor-form-group { margin-bottom:0!important; }
html body.magister-auth-ux.magister-auth-ux .mau-name-row + p.mau-name-hint { margin-top:-4px!important; }
html body.magister-auth-ux.magister-auth-ux .mau-phone-field { margin-top:0!important; }

/* 1.0.33 · el título propio del LMS («Hi, Welcome back!») duplica el encabezado de la tarjeta */
html body.magister-auth-ux.magister-auth-login .mau-auth-card > .tutor-h3 { display:none!important; }
html body.magister-auth-ux.magister-auth-ux.magister-auth-login .mau-login-meta .mau-forgot-wrap { margin:0!important; }
html body.magister-auth-ux.magister-auth-ux.magister-auth-login .mau-login-meta .mau-forgot-link { padding:0!important; min-height:0!important; line-height:20px!important; }
html body.magister-auth-ux.magister-auth-ux .mau-phone-field > label { display:block!important; line-height:1.2!important; }

/* 1.0.34 · sin recuadro blanco detrás de la tarjeta (las esquinas ya no asoman) */
html body.magister-auth-ux.magister-auth-ux .mau-auth-host,
html body.magister-auth-ux.magister-auth-ux .mau-auth-host-inner,
html body.magister-auth-ux.magister-auth-ux .mau-clear-backdrop { background:transparent!important; background-image:none!important; box-shadow:none!important; border-color:transparent!important; }
html body.magister-auth-ux.magister-auth-ux .mau-layout { overflow:hidden!important; isolation:isolate; }
html body.magister-auth-ux.magister-auth-ux .mau-layout > .mau-auth-card { border-radius:0!important; box-shadow:none!important; }
