/* AS APP · 18A1 · Mi Cuenta · único propietario visual de la ruta account */
body.as-route-account #masthead,
body.as-route-account #colophon,
body.as-route-account .entry-header,
body.as-route-account #ast-scroll-top,
body.as-route-account #wpadminbar{display:none!important}

html:has(body.as-route-account){margin-top:0!important}
body.as-route-account,
body.as-route-account #page,
body.as-route-account #content,
body.as-route-account .site-content,
body.as-route-account .ast-container,
body.as-route-account #primary,
body.as-route-account .site-main,
body.as-route-account article,
body.as-route-account .entry-content{
  margin:0!important;
  padding:0!important;
  max-width:none!important;
  width:100%!important;
  min-height:0!important;
  background:var(--as-bg)!important;
  color:var(--as-text)!important;
}
body.as-route-account #page{min-height:100dvh!important}

body.as-route-account .as-account-shell{
  width:min(100%,var(--as-app-mobile-width))!important;
  max-width:var(--as-app-mobile-width)!important;
  min-height:100dvh!important;
  margin:0 auto!important;
  padding:18px 14px var(--as-space-8)!important;
  box-sizing:border-box!important;
  background:var(--as-bg)!important;
  color:var(--as-text)!important;
}

body.as-route-account.as-account-logged .as-account-shell{
  padding:0 0 var(--as-space-8)!important;
}

body.as-route-account .as-account-guest-head{padding:var(--as-space-3) 2px 18px}
body.as-route-account .as-account-kicker{font-size:var(--as-size-meta);letter-spacing:.15em;color:var(--as-gold);font-weight:800;margin-bottom:var(--as-space-2)}
body.as-route-account .as-account-guest-head h1{font-family:var(--as-font-title);font-size:38px;line-height:1;margin:0 0 10px;color:var(--as-text)}
body.as-route-account .as-account-guest-head p{margin:0;color:var(--as-text-muted);font-size:var(--as-size-ui);line-height:1.55}

body.as-route-account #as-access-section,
body.as-route-account #as-reset-password-section,
body.as-route-account #as-recovery-section{
  background:var(--as-surface-card)!important;
  color:var(--as-text)!important;
  border:1px solid var(--as-border)!important;
  border-radius:var(--as-radius-lg)!important;
  box-shadow:none!important;
  padding:var(--as-space-5)!important;
  margin:0 0 var(--as-space-3)!important;
}
body.as-route-account #as-access-section h2,
body.as-route-account #as-reset-password-section h2{
  color:var(--as-text)!important;
  font-family:var(--as-font-title)!important;
  margin:0 0 var(--as-space-2)!important;
}
body.as-route-account #as-access-section p,
body.as-route-account #as-reset-password-section p{
  color:var(--as-text-muted)!important;
}
body.as-route-account .as-account-access-actions{display:grid;gap:10px}
body.as-route-account #as-email-choices{margin-top:14px}

body.as-route-account input[type="text"],
body.as-route-account input[type="email"],
body.as-route-account input[type="password"]{
  width:100%!important;
  box-sizing:border-box!important;
  background:var(--as-surface-input)!important;
  color:var(--as-text)!important;
  border:1px solid var(--as-border-input)!important;
  border-radius:12px!important;
  padding:13px 14px!important;
  margin:0 0 10px!important;
}
body.as-route-account input::placeholder{color:var(--as-text-dim)!important}

body.as-route-account #as-show-login,
body.as-route-account #as-login-form button[type="submit"],
body.as-route-account #as-register-form button[type="submit"],
body.as-route-account #as-reset-password-form button[type="submit"],
body.as-route-account #as-lost-form button[type="submit"]{
  width:100%!important;
  min-height:48px!important;
  border:0!important;
  border-radius:12px!important;
  background:var(--as-gold)!important;
  color:var(--as-text-inverse)!important;
  font-weight:800!important;
  cursor:pointer!important;
}
body.as-route-account #as-show-register{
  width:100%!important;
  min-height:48px!important;
  border-radius:12px!important;
  background:transparent!important;
  color:var(--as-gold)!important;
  border:1px solid var(--as-gold)!important;
  font-weight:800!important;
  cursor:pointer!important;
}
body.as-route-account #as-show-lost{
  border:0!important;
  background:transparent!important;
  color:var(--as-gold)!important;
  font-weight:700!important;
  cursor:pointer!important;
}
body.as-route-account .as-register-success-icon{
  width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  margin:0 auto 14px;background:var(--as-gold-surface-2);color:var(--as-gold);font-size:28px;font-weight:800
}

/* Usuario logado */
body.as-route-account .asx-account{
  min-height:100dvh;
  background:var(--as-bg);
  color:var(--as-text);
  font-family:var(--as-font-ui);
}
body.as-route-account .asx-main{padding:0 var(--as-space-4) calc(118px + env(safe-area-inset-bottom));margin-top:-24px;position:relative;z-index:var(--as-z-content-raised)}
body.as-route-account .asx-user{
  display:flex;align-items:center;gap:14px;
  background:var(--as-surface-card);
  border:1px solid var(--as-border);
  border-radius:var(--as-radius-lg);padding:14px var(--as-space-4);margin-bottom:10px;
  box-shadow:0 10px 24px var(--as-palette-rgba-0-0-0-0p12)
}
body.as-route-account .asx-avatar,
body.as-route-account .asx-default-avatar,
body.as-route-account .asx-default-avatar svg{
  width:56px!important;height:56px!important;border-radius:50%!important;flex:0 0 56px!important;object-fit:cover
}
body.as-route-account .asx-user-name{font-size:var(--as-size-subheading);font-weight:700;color:var(--as-text);margin-bottom:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.as-route-account .asx-user-email{font-size:var(--as-size-ui);color:var(--as-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.as-route-account .asx-premium-card{
  display:flex;align-items:center;gap:14px;
  background:linear-gradient(135deg,var(--as-palette-fff4cf) 0%,var(--as-palette-f4dfaa) 100%);
  color:var(--as-palette-161616);border-radius:18px;padding:var(--as-space-4);margin:0 0 14px;
  box-shadow:0 8px 20px var(--as-palette-rgba-0-0-0-0p12)
}
body.as-route-account .asx-crown{width:50px;height:50px;border-radius:50%;background:var(--as-gold-deep);color:var(--as-white);display:flex;align-items:center;justify-content:center;font-size:25px;flex:0 0 50px}
body.as-route-account .asx-premium-copy{min-width:0;flex:1}
body.as-route-account .asx-premium-copy strong{display:block;font-size:var(--as-size-card-title);font-weight:700;margin-bottom:2px}
body.as-route-account .asx-premium-copy span{display:block;font-size:var(--as-size-body);line-height:1.25;color:var(--as-palette-2c2c2c)}
body.as-route-account .asx-soon{font-size:var(--as-size-kicker);font-weight:800;letter-spacing:.08em;border:1px solid var(--as-palette-rgba-0-0-0-0p2);border-radius:var(--as-radius-round);padding:5px var(--as-space-2);white-space:nowrap}
body.as-route-account .asx-list{display:grid;gap:var(--as-space-2)}
body.as-route-account .asx-row{
  display:flex;align-items:center;gap:13px;min-height:66px;
  background:var(--as-surface-card);border:1px solid var(--as-border);
  border-radius:16px;padding:10px 14px;text-decoration:none!important;color:var(--as-text)!important;box-sizing:border-box
}
body.as-route-account .asx-row.asx-disabled{opacity:.58;cursor:default}
body.as-route-account .asx-icon{width:36px;text-align:center;color:var(--as-gold);font-size:25px;flex:0 0 36px}
body.as-route-account .asx-row-copy{min-width:0;flex:1}
body.as-route-account .asx-row-title{font-size:var(--as-size-body-lg);font-weight:650;color:var(--as-text);line-height:1.15;margin-bottom:var(--as-space-1)}
body.as-route-account .asx-row-sub{font-size:var(--as-size-small);color:var(--as-text-muted);line-height:1.25}
body.as-route-account .asx-chevron{font-size:26px;color:var(--as-text-dim);line-height:1}
body.as-route-account .asx-logout{width:100%;margin-top:var(--as-space-2);border:0;text-align:left;font:inherit;cursor:pointer}


/* Mi plan */
body.as-route-account .asx-plan-page{
  min-height:100dvh;background:var(--as-bg);color:var(--as-text);
  padding:calc(18px + env(safe-area-inset-top)) var(--as-space-4) calc(118px + env(safe-area-inset-bottom));
  box-sizing:border-box;font-family:var(--as-font-ui)
}
body.as-route-account .asx-plan-head{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:52px!important;
  margin:0 0 18px!important;
}
body.as-route-account .asx-plan-back{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  flex:0 0 40px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
  border-radius:50%!important;
  border:1px solid var(--as-border)!important;
  background:var(--as-surface-card)!important;
  color:var(--as-text)!important;
  text-decoration:none!important;
  font-family:var(--as-font-ui)!important;
  font-size:var(--as-size-section-title)!important;
  line-height:1!important;
  font-weight:400!important;
  box-shadow:none!important;
}
body.as-route-account .asx-plan-head h1{
  margin:0!important;
  padding:0!important;
  color:var(--as-text)!important;
  font-family:var(--as-font-title)!important;
  font-size:var(--as-size-page-title)!important;
  line-height:var(--as-line-title)!important;
  font-weight:var(--as-weight-title)!important;
  letter-spacing:-.025em!important;
}
body.as-route-account .asx-plan-current,
body.as-route-account .asx-plan-premium{
  background:var(--as-surface-card);border:1px solid var(--as-border);border-radius:18px;
  padding:18px;margin-bottom:var(--as-space-3);box-sizing:border-box
}
body.as-route-account .asx-plan-label{font-size:var(--as-size-meta);font-weight:800;letter-spacing:.12em;color:var(--as-gold);margin-bottom:6px}
body.as-route-account .asx-plan-current h2,
body.as-route-account .asx-plan-premium h2{margin:0 0 5px;font-size:22px;color:var(--as-text)}
body.as-route-account .asx-plan-current p,
body.as-route-account .asx-plan-premium p{margin:0;font-size:var(--as-size-ui);line-height:1.45;color:var(--as-text-muted)}
body.as-route-account .asx-plan-premium{display:flex;align-items:center;justify-content:space-between;gap:14px}
body.as-route-account .asx-plan-premium span{flex:0 0 auto;font-size:var(--as-size-kicker);font-weight:800;letter-spacing:.08em;color:var(--as-palette-161616);background:var(--as-palette-f4dfaa);border-radius:var(--as-radius-round);padding:7px 9px}

/* Seguridad de cuenta */
body.as-route-account .as-security-google-card{padding:var(--as-space-4)}
body.as-route-account .as-security-google-copy{margin:6px 0 0}
body.as-route-account .as-security-password-form{margin-top:14px}

/* 2.5.8.2 · registro: consentimientos legibles y verificación no bloqueante */
body.as-route-account .as-register-consent{display:flex!important;align-items:flex-start!important;gap:10px!important;width:100%!important;margin:2px 0 12px!important;color:var(--as-text-muted)!important;font-size:14px!important;line-height:1.45!important}
body.as-route-account .as-register-consent input[type="checkbox"]{flex:0 0 auto!important;margin:3px 0 0!important;width:18px!important;height:18px!important}
body.as-route-account .as-register-consent span{display:block!important;flex:1 1 auto!important}
body.as-route-account .as-register-consent a{color:var(--as-gold)!important;text-decoration:underline!important;text-underline-offset:2px!important}
body.as-route-account #as-register-success button{width:100%!important;min-height:46px!important;border-radius:12px!important;font-weight:800!important;margin-top:10px!important;cursor:pointer!important}
body.as-route-account #as-check-verification{border:0!important;background:var(--as-gold)!important;color:var(--as-text-inverse)!important}
body.as-route-account #as-verification-login{border:1px solid var(--as-gold)!important;background:transparent!important;color:var(--as-gold)!important}


/* Registro · política de privacidad sin abandonar el formulario */
.as-register-privacy-modal{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:stretch;justify-content:center;padding:0;background:rgba(0,0,0,.72)}
.as-register-privacy-modal.as-state-hidden{display:none!important}
.as-register-privacy-backdrop{position:absolute;inset:0}
.as-register-privacy-sheet{position:relative;width:min(100%,760px);height:100%;background:var(--as-bg,#111);display:flex;flex-direction:column;box-shadow:0 0 40px rgba(0,0,0,.35)}
.as-register-privacy-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:max(14px,env(safe-area-inset-top)) 16px 12px;border-bottom:1px solid rgba(255,255,255,.12);background:var(--as-bg,#111);color:var(--as-text,#fff)}
.as-register-privacy-toolbar strong{font-size:16px;line-height:1.2}
.as-register-privacy-close{appearance:none;border:0;border-radius:999px;padding:9px 14px;background:var(--as-gold,#c7a56a);color:#111;font-weight:800;font-size:14px;line-height:1;cursor:pointer}
#as-register-privacy-frame{display:block;flex:1 1 auto;width:100%;min-height:0;border:0;background:#fff}
@media (min-width:768px){.as-register-privacy-modal{padding:24px}.as-register-privacy-sheet{height:min(900px,calc(100vh - 48px));border-radius:18px;overflow:hidden}}
