
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;700&display=swap');

.pch-auth-exact{
  position:relative;
  width:430px;
  height:932px;
  margin:0 auto;
  overflow:hidden;
  background:linear-gradient(180deg,#FB302F 0%,#C52643 70.19%);
  box-shadow:inset 0 4px 4px rgba(0,0,0,.7);
  font-family:'Comfortaa',system-ui,sans-serif;
  transform-origin:top center;
}
.pch-auth-exact *{box-sizing:border-box}
.pch-auth-bg-exact{
  position:absolute;
  width:427px;
  height:922px;
  left:3px;
  top:6px;
  object-fit:cover;
  pointer-events:none;
}
.pch-auth-icon-exact{
  position:absolute;
  width:115px;
  height:115px;
  left:calc(50% - 57.5px - .5px);
  top:290px;
  object-fit:contain;
}
.pch-auth-exact h1{
  position:absolute;
  width:332px;
  height:119px;
  left:calc(50% - 166px);
  top:433px;
  margin:0;
  font-family:'Comfortaa',system-ui,sans-serif;
  font-style:normal;
  font-weight:500;
  font-size:33px;
  line-height:34px;
  text-align:center;
  color:#fff;
}
.pch-auth-subtitle{
  position:absolute;
  width:309px;
  height:70px;
  left:calc(50% - 154.5px + 1.5px);
  top:521px;
  margin:0;
  font-family:'Comfortaa',system-ui,sans-serif;
  font-style:normal;
  font-weight:700;
  font-size:16px;
  line-height:18px;
  text-align:center;
  color:#fff;
}

.pch-auth-real-button{
  position:absolute;
  width:345px;
  height:56px;
  left:calc(50% - 172.5px + 1.5px);
  border-radius:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid transparent;
  padding:0 24px;
  font-family:'Comfortaa',system-ui,sans-serif;
  font-style:normal;
  font-weight:400;
  font-size:15px;
  line-height:17px;
  cursor:pointer;
  box-shadow:0 2px 4px rgba(0,0,0,.17),inset 0 4px 4px rgba(0,0,0,.06);
  transition:transform .15s ease,box-shadow .15s ease;
}
.pch-auth-real-button span{
  pointer-events:none;
}
.pch-auth-real-button svg{
  position:absolute;
  left:25px;
  width:24px;
  height:24px;
}
.pch-auth-real-button:active{
  transform:scale(.985);
}
.pch-auth-apple{
  top:628px;
  background:#192126;
  color:#fff;
  border-color:rgba(0,0,0,.32);
}
.pch-auth-apple-icon{
  width:26px!important;
  height:30px!important;
  left:26px!important;
}
.pch-auth-google{
  top:700px;
  left:calc(50% - 172.5px + 4.5px);
  background:#FFFCFC;
  color:#000;
  border-color:#F8F3EE;
}
.pch-auth-google-icon{
  width:25px!important;
  height:25px!important;
}
.pch-auth-email{
  top:772px;
  left:calc(50% - 172.5px + 4.5px);
  background:#FFFCFC;
  color:#000;
  border-color:#F8F3EE;
}
.pch-auth-email-icon{
  width:24px!important;
  height:24px!important;
}
.pch-auth-legal-exact{
  position:absolute;
  width:356px;
  height:36px;
  left:calc(50% - 178px + 6px);
  top:875px;
  margin:0;
  font-family:'Comfortaa',system-ui,sans-serif;
  font-style:normal;
  font-weight:400;
  font-size:13px;
  line-height:14px;
  text-align:center;
  color:rgba(255,255,255,.78);
}
.pch-auth-legal-exact a{
  color:#fff;
  font-weight:700;
  text-decoration:none;
}

/* Existing login sheet */
.pch-auth-sheet[hidden],.pch-ui-toast[hidden]{display:none!important}
.pch-auth-sheet{position:fixed;inset:0;z-index:999999;font-family:'Comfortaa',system-ui,sans-serif}
.pch-auth-sheet-backdrop{position:absolute;inset:0;background:rgba(7,9,12,.52);backdrop-filter:blur(3px)}
.pch-auth-sheet-panel{
  position:absolute;left:50%;bottom:0;transform:translateX(-50%);
  width:min(430px,100%);background:#fff;color:#17191d;
  border-radius:25px 25px 0 0;padding:21px 20px 28px;
  box-shadow:0 -18px 45px rgba(0,0,0,.22);
}
.pch-auth-sheet-panel>header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}
.pch-auth-sheet-panel>header span{font-size:8px;color:#ed1515;font-weight:700;letter-spacing:1.3px}
.pch-auth-sheet-panel h2{font-size:23px;line-height:1.1;margin:5px 0 0}
.pch-auth-sheet-panel>header button{width:36px;height:36px;border:0;border-radius:50%;background:#f2f3f5;font-size:22px}
.pch-auth-remember{display:flex;align-items:center;gap:8px;margin:4px 0 16px;font-size:11px}
.pch-auth-remember input{accent-color:#ed1515}
.pch-auth-status{min-height:20px;text-align:center;font-size:10px;margin-bottom:7px}
.pch-auth-status.is-error{color:#a70009}.pch-auth-status.is-success{color:#1d7040}
.pch-auth-forgot{display:block;text-align:center;margin-top:15px;color:#5c626c;font-size:11px;text-decoration:none}



/* v1.7.7 — exact Figma frame, scaled and centered as one unit */
.pch-auth-viewport{
  position:relative;
  flex:0 0 auto;
  width:430px;
  height:932px;
  margin:0!important;
  padding:0!important;
  overflow:visible;
}

.pch-auth-viewport .pch-auth-exact{
  position:absolute!important;
  left:0!important;
  top:0!important;
  width:430px!important;
  height:932px!important;
  min-width:430px!important;
  min-height:932px!important;
  margin:0!important;
  transform-origin:top left!important;
  will-change:transform;
}

@media(max-width:430px){
  .pch-auth-viewport{
    margin:0!important;
  }
}


/* v1.8.0 — stable mobile frame, no theme and no horizontal overflow */
@media(max-width:600px){
  html,
  body.parchemos-app-page,
  .parchemos-app-root{
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:#FB302F!important;
  }

  .parchemos-app-root{
    position:fixed!important;
    inset:0!important;
    display:grid!important;
    place-items:start center!important;
  }

  .pch-auth-viewport{
    max-width:100vw!important;
    overflow:hidden!important;
  }
}


/* v1.8.1 — rendered inside the internal plugin theme */
.parchemos-native-root .pch-auth-viewport{
  flex:0 0 auto;
  margin:0!important;
}

@media(max-width:600px){
  .parchemos-native-root .pch-auth-viewport{
    max-width:100vw!important;
    max-height:100dvh!important;
  }
}


/* v1.8.3 — mobile canvas fills every visible pixel */
@media(max-width:600px){
  html,
  body.parchemos-native-app,
  body.parchemos-app-page,
  .parchemos-native-root,
  .parchemos-app-root{
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    min-height:0!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:#FB302F!important;
  }

  .parchemos-native-root,
  .parchemos-app-root{
    position:fixed!important;
    inset:0!important;
    display:block!important;
  }

  .pch-auth-viewport{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100dvh!important;
    max-width:none!important;
    max-height:none!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:#FB302F!important;
  }

  .pch-auth-viewport .pch-auth-exact{
    left:0!important;
    top:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }

  .pch-auth-bg-exact{
    border:0!important;
    box-shadow:none!important;
  }
}


/* v1.8.4 — mobile native layout without distortion */
@media(max-width:600px){
  html,
  body.parchemos-native-app,
  body.parchemos-app-page,
  .parchemos-native-root,
  .parchemos-app-root{
    width:100%!important;
    height:100%!important;
    min-height:100dvh!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:#FB302F!important;
  }

  .parchemos-native-root,
  .parchemos-app-root{
    position:fixed!important;
    inset:0!important;
    display:block!important;
  }

  .pch-auth-viewport.is-mobile-layout{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100dvh!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:#FB302F!important;
  }

  .pch-auth-exact.is-mobile-layout{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    overflow:hidden!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    transform:none!important;
    background:linear-gradient(180deg,#FB302F 0%,#C52643 70.19%)!important;
  }

  .pch-auth-exact.is-mobile-layout .pch-auth-bg-exact{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center center!important;
    border:0!important;
    box-shadow:none!important;
  }

  .pch-auth-exact.is-mobile-layout .pch-auth-icon-exact{
    width:clamp(86px,24vw,108px)!important;
    height:clamp(86px,24vw,108px)!important;
    left:50%!important;
    top:27%!important;
    transform:translateX(-50%)!important;
  }

  .pch-auth-exact.is-mobile-layout h1{
    width:min(88vw,370px)!important;
    height:auto!important;
    left:50%!important;
    top:43%!important;
    transform:translateX(-50%)!important;
    margin:0!important;
    font-size:clamp(28px,8vw,35px)!important;
    line-height:1.05!important;
    letter-spacing:-.5px!important;
  }

  .pch-auth-exact.is-mobile-layout .pch-auth-subtitle{
    width:min(84vw,340px)!important;
    height:auto!important;
    left:50%!important;
    top:54%!important;
    transform:translateX(-50%)!important;
    margin:0!important;
    font-size:clamp(13px,3.9vw,16px)!important;
    line-height:1.18!important;
  }

  .pch-auth-exact.is-mobile-layout .pch-auth-real-button{
    width:min(86vw,365px)!important;
    height:clamp(52px,6.5vh,58px)!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    border-radius:999px!important;
    font-size:clamp(14px,4vw,16px)!important;
  }

  .pch-auth-exact.is-mobile-layout .pch-auth-real-button:active{
    transform:translateX(-50%) scale(.985)!important;
  }

  .pch-auth-exact.is-mobile-layout .pch-auth-apple{
    top:65%!important;
  }

  .pch-auth-exact.is-mobile-layout .pch-auth-google{
    top:74%!important;
  }

  .pch-auth-exact.is-mobile-layout .pch-auth-email{
    top:83%!important;
  }

  .pch-auth-exact.is-mobile-layout .pch-auth-real-button svg{
    left:25px!important;
  }

  .pch-auth-exact.is-mobile-layout .pch-auth-legal-exact{
    width:88vw!important;
    height:auto!important;
    left:50%!important;
    top:auto!important;
    bottom:max(2.5vh,16px)!important;
    transform:translateX(-50%)!important;
    margin:0!important;
    font-size:clamp(10px,2.9vw,13px)!important;
    line-height:1.15!important;
  }
}

/* iPhone/browser with less visible height */
@media(max-width:600px) and (max-height:760px){
  .pch-auth-exact.is-mobile-layout .pch-auth-icon-exact{
    top:22%!important;
    width:82px!important;
    height:82px!important;
  }

  .pch-auth-exact.is-mobile-layout h1{
    top:36%!important;
    font-size:28px!important;
  }

  .pch-auth-exact.is-mobile-layout .pch-auth-subtitle{
    top:47%!important;
    font-size:13px!important;
  }

  .pch-auth-exact.is-mobile-layout .pch-auth-real-button{
    height:49px!important;
  }

  .pch-auth-exact.is-mobile-layout .pch-auth-apple{top:59%!important}
  .pch-auth-exact.is-mobile-layout .pch-auth-google{top:68%!important}
  .pch-auth-exact.is-mobile-layout .pch-auth-email{top:77%!important}

  .pch-auth-exact.is-mobile-layout .pch-auth-legal-exact{
    bottom:10px!important;
    font-size:10px!important;
  }
}


/* v1.8.5 — preserve the original 430x932 proportions on mobile */
@media(max-width:600px){
  html,
  body.parchemos-native-app,
  body.parchemos-app-page,
  .parchemos-native-root,
  .parchemos-app-root{
    width:100%!important;
    height:100%!important;
    min-height:100dvh!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:#FB302F!important;
  }

  .parchemos-native-root,
  .parchemos-app-root{
    position:fixed!important;
    inset:0!important;
    display:block!important;
  }

  .pch-auth-viewport.is-mobile-proportional{
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    background:transparent!important;
  }

  .pch-auth-exact.is-mobile-proportional{
    position:absolute!important;
    left:0!important;
    top:0!important;
    width:430px!important;
    height:932px!important;
    min-width:430px!important;
    min-height:932px!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }

  .pch-auth-exact.is-mobile-proportional .pch-auth-bg-exact{
    width:427px!important;
    height:922px!important;
    left:3px!important;
    top:6px!important;
    object-fit:cover!important;
  }
}

/* v1.9.0 — global public app viewport */
.parchemos-native-root .pch-auth-viewport{
  position:relative!important;
  width:min(100%,430px)!important;
  height:100%!important;
  max-width:430px!important;
  margin:0 auto!important;
  padding:0!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,#FB302F 0%,#C52643 70.19%)!important;
}

@media(max-width:600px){
  .parchemos-native-root .pch-auth-viewport{
    position:fixed!important;
    inset:0!important;
    width:100%!important;
    max-width:none!important;
    height:var(--pch-vh)!important;
    margin:0!important;
  }

  .parchemos-native-root .pch-auth-exact{
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    width:430px!important;
    height:932px!important;
    min-width:430px!important;
    min-height:932px!important;
    margin:0!important;
    transform-origin:center center!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
}


/* v2.0.0 — borderless login canvas */
.pch-auth-viewport,
.pch-auth-exact{
  border:0!important;
  outline:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:linear-gradient(180deg,#FB302F 0%,#C52643 70.19%)!important;
}

.pch-auth-exact{
  overflow:hidden!important;
}

/*
 * The exported background includes a subtle dark edge.
 * Bleed it outside the canvas so those pixels are clipped.
 */
.pch-auth-bg-exact{
  left:-8px!important;
  top:-8px!important;
  width:446px!important;
  height:952px!important;
  max-width:none!important;
  max-height:none!important;
  border:0!important;
  outline:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  object-fit:cover!important;
  object-position:center center!important;
}

@media(max-width:600px){
  .parchemos-native-root .pch-auth-viewport{
    position:fixed!important;
    inset:0!important;
    width:var(--pch-vw)!important;
    height:var(--pch-vh)!important;
    max-width:none!important;
    max-height:none!important;
    overflow:hidden!important;
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
  }

  .parchemos-native-root .pch-auth-exact{
    border:0!important;
    outline:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
}


/* v2.0.1 — visual scale closer to the original reference */
@media(max-width:600px){
  .pch-auth-icon-exact{
    width:124px!important;
    height:124px!important;
    left:calc(50% - 62px)!important;
    top:278px!important;
  }

  .pch-auth-exact h1{
    width:356px!important;
    height:auto!important;
    left:calc(50% - 178px)!important;
    top:420px!important;
    font-size:36px!important;
    line-height:38px!important;
    letter-spacing:-.8px!important;
  }

  .pch-auth-subtitle{
    width:330px!important;
    height:auto!important;
    left:calc(50% - 165px)!important;
    top:520px!important;
    font-size:17px!important;
    line-height:20px!important;
  }

  .pch-auth-real-button{
    width:365px!important;
    height:62px!important;
    left:calc(50% - 182.5px)!important;
    font-size:17px!important;
    line-height:20px!important;
  }

  .pch-auth-real-button svg{
    left:29px!important;
  }

  .pch-auth-apple{
    top:620px!important;
  }

  .pch-auth-google{
    top:698px!important;
  }

  .pch-auth-email{
    top:776px!important;
  }

  .pch-auth-apple-icon{
    width:29px!important;
    height:33px!important;
  }

  .pch-auth-google-icon{
    width:28px!important;
    height:28px!important;
  }

  .pch-auth-email-icon{
    width:27px!important;
    height:27px!important;
  }

  .pch-auth-legal-exact{
    width:370px!important;
    height:auto!important;
    left:calc(50% - 185px)!important;
    top:872px!important;
    font-size:13.5px!important;
    line-height:15px!important;
  }
}

/* Slightly shorter visible phones */
@media(max-width:600px) and (max-height:760px){
  .pch-auth-icon-exact{
    width:112px!important;
    height:112px!important;
    left:calc(50% - 56px)!important;
    top:250px!important;
  }

  .pch-auth-exact h1{
    top:385px!important;
    font-size:33px!important;
    line-height:35px!important;
  }

  .pch-auth-subtitle{
    top:480px!important;
    font-size:15px!important;
    line-height:18px!important;
  }

  .pch-auth-real-button{
    width:355px!important;
    height:56px!important;
    left:calc(50% - 177.5px)!important;
    font-size:16px!important;
  }

  .pch-auth-apple{top:575px!important}
  .pch-auth-google{top:646px!important}
  .pch-auth-email{top:717px!important}

  .pch-auth-legal-exact{
    top:850px!important;
    font-size:12px!important;
    line-height:14px!important;
  }
}


/* v3.0.0 — Parchemos Screen Engine owns scale and positioning */
.pch-screen-shell .pch-auth-exact{
  position:absolute!important;
  width:430px!important;
  height:932px!important;
  min-width:430px!important;
  min-height:932px!important;
  left:50%!important;
  top:50%!important;
  margin:0!important;
  border:0!important;
  outline:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

.pch-screen-shell .pch-auth-bg-exact{
  left:-8px!important;
  top:-8px!important;
  width:446px!important;
  height:952px!important;
  object-fit:cover!important;
  object-position:center!important;
}

@media(max-width:600px){
  .pch-screen-shell,
  .pch-screen-canvas{
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
  }
}


/* v3.1.0 — escala visual final del Login */
.pch-auth-icon-exact{
  width:var(--pm-login-icon-size)!important;
  height:var(--pm-login-icon-size)!important;
  left:calc(50% - (var(--pm-login-icon-size) / 2))!important;
  top:266px!important;
}

.pch-auth-exact h1{
  width:382px!important;
  height:auto!important;
  left:calc(50% - 191px)!important;
  top:410px!important;
  margin:0!important;
  font-family:var(--pm-font-family)!important;
  font-size:var(--pm-login-title-size)!important;
  line-height:var(--pm-login-title-line)!important;
  font-weight:500!important;
  letter-spacing:-1px!important;
  text-align:center!important;
}

.pch-auth-subtitle{
  width:350px!important;
  height:auto!important;
  left:calc(50% - 175px)!important;
  top:512px!important;
  margin:0!important;
  font-family:var(--pm-font-family)!important;
  font-size:var(--pm-login-subtitle-size)!important;
  line-height:var(--pm-login-subtitle-line)!important;
  font-weight:700!important;
  text-align:center!important;
}

.pch-auth-real-button{
  width:var(--pm-login-button-width)!important;
  height:var(--pm-login-button-height)!important;
  left:calc(50% - (var(--pm-login-button-width) / 2))!important;
  border-radius:var(--pm-radius-pill)!important;
  font-family:var(--pm-font-family)!important;
  font-size:var(--pm-login-button-font)!important;
  line-height:1!important;
  box-shadow:var(--pm-shadow-button)!important;
}

.pch-auth-real-button svg{
  width:var(--pm-login-button-icon)!important;
  height:var(--pm-login-button-icon)!important;
  left:30px!important;
}

.pch-auth-apple{
  top:610px!important;
}

.pch-auth-google{
  top:690px!important;
}

.pch-auth-email{
  top:770px!important;
}

.pch-auth-apple-icon{
  width:31px!important;
  height:35px!important;
}

.pch-auth-legal-exact{
  width:382px!important;
  height:auto!important;
  left:calc(50% - 191px)!important;
  top:862px!important;
  margin:0!important;
  font-family:var(--pm-font-family)!important;
  font-size:var(--pm-login-legal-size)!important;
  line-height:var(--pm-login-legal-line)!important;
  text-align:center!important;
}

/* Ajuste para viewport visible corto */
@media(max-height:760px){
  .pch-auth-icon-exact{
    width:116px!important;
    height:116px!important;
    left:calc(50% - 58px)!important;
    top:248px!important;
  }

  .pch-auth-exact h1{
    top:380px!important;
    font-size:35px!important;
    line-height:37px!important;
  }

  .pch-auth-subtitle{
    top:478px!important;
    font-size:16px!important;
    line-height:19px!important;
  }

  .pch-auth-real-button{
    width:362px!important;
    height:58px!important;
    left:calc(50% - 181px)!important;
    font-size:17px!important;
  }

  .pch-auth-apple{top:570px!important}
  .pch-auth-google{top:642px!important}
  .pch-auth-email{top:714px!important}

  .pch-auth-legal-exact{
    top:848px!important;
    font-size:12.5px!important;
    line-height:14px!important;
  }
}


/* v3.1.1 — foreground enlarged uniformly to match the reference */
.pch-auth-foreground{
  position:absolute;
  inset:0;
  width:430px;
  height:932px;
  transform:translateY(-8px) scale(1.08);
  transform-origin:215px 560px;
  pointer-events:none;
}

.pch-auth-foreground .pch-auth-real-button,
.pch-auth-foreground a{
  pointer-events:auto;
}

/* Slightly tighten the headline so the larger block keeps the same balance. */
.pch-auth-foreground .pch-auth-exact h1,
.pch-auth-foreground h1{
  letter-spacing:-1.2px!important;
}

/* Keep legal text fully visible after the uniform scale. */
.pch-auth-foreground .pch-auth-legal-exact{
  top:858px!important;
}


/* v3.1.2 — fondo real a pantalla completa, contenido sin cambios */
.pch-screen-shell{
  background:linear-gradient(180deg,#FB302F 0%,#C52643 70.19%)!important;
}

.pch-auth-full-bg{
  position:absolute;
  inset:-12px;
  z-index:0;
  width:calc(100% + 24px);
  height:calc(100% + 24px);
  max-width:none;
  max-height:none;
  object-fit:cover;
  object-position:center center;
  border:0;
  outline:0;
  box-shadow:none;
  pointer-events:none;
  user-select:none;
}

/* Hide the old background layer inside the 430×932 canvas.
   The full-viewport layer now paints the entire screen. */
.pch-screen-shell .pch-auth-bg-exact{
  opacity:0!important;
  visibility:hidden!important;
}

/* Keep all interactive content above the full background. */
.pch-screen-shell .pch-auth-foreground,
.pch-screen-shell .pch-auth-sheet,
.pch-screen-shell .pch-ui-toast{
  position:relative;
  z-index:2;
}

.pch-screen-shell .pch-auth-exact{
  background:transparent!important;
}

@media(max-width:600px){
  .pch-screen-shell{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100dvh!important;
    overflow:hidden!important;
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
  }

  .pch-auth-full-bg{
    inset:-18px;
    width:calc(100% + 36px);
    height:calc(100% + 36px);
  }
}


/* v3.1.4 visual refinement */
.pch-auth-subtitle{
  font-size:22px!important;
  line-height:28px!important;
  font-weight:600!important;
  width:340px!important;
  left:calc(50% - 170px)!important;
}
.pch-auth-icon-exact{
  transform:scale(1.08)!important;
  transform-origin:center!important;
}
.pch-auth-exact h1{
  font-size:40px!important;
  line-height:42px!important;
}
.pch-auth-real-button{
  height:66px!important;
  font-size:19px!important;
}
.pch-auth-foreground{
  transform:translateY(-14px) scale(1.08)!important;
}


/* v3.1.5 — aumento visible de título y subtítulo */
.pch-auth-exact h1,
.pch-auth-foreground h1{
  width:400px!important;
  left:calc(50% - 200px)!important;
  font-size:45px!important;
  line-height:47px!important;
  font-weight:600!important;
  letter-spacing:-1.4px!important;
}

.pch-auth-subtitle,
.pch-auth-foreground .pch-auth-subtitle{
  width:380px!important;
  left:calc(50% - 190px)!important;
  font-size:26px!important;
  line-height:31px!important;
  font-weight:600!important;
}

/* Rebalance only the text block so buttons and background stay untouched. */
.pch-auth-exact h1,
.pch-auth-foreground h1{
  top:392px!important;
}

.pch-auth-subtitle,
.pch-auth-foreground .pch-auth-subtitle{
  top:505px!important;
}

@media(max-height:760px){
  .pch-auth-exact h1,
  .pch-auth-foreground h1{
    font-size:41px!important;
    line-height:43px!important;
    top:374px!important;
  }

  .pch-auth-subtitle,
  .pch-auth-foreground .pch-auth-subtitle{
    font-size:23px!important;
    line-height:28px!important;
    top:482px!important;
  }
}


/* v3.1.6 final login typography */
.pch-auth-exact h1,
.pch-auth-foreground h1{
 font-size:42px!important;
 line-height:44px!important;
 font-weight:600!important;
}
.pch-auth-subtitle,
.pch-auth-foreground .pch-auth-subtitle{
 font-size:20px!important;
 line-height:24px!important;
 font-weight:600!important;
 width:340px!important;
 left:calc(50% - 170px)!important;
}


/* v3.1.7 — subtítulo en dos líneas y respiración antes del primer botón */
.pch-auth-subtitle,
.pch-auth-foreground .pch-auth-subtitle{
  width:400px!important;
  left:calc(50% - 200px)!important;
  max-width:400px!important;
  font-size:20px!important;
  line-height:24px!important;
  font-weight:600!important;
  top:500px!important;
  white-space:normal!important;
  text-wrap:balance!important;
}

/* Abrir espacio entre subtítulo y acciones sin modificar tamaños. */
.pch-auth-apple{
  top:625px!important;
}

.pch-auth-google{
  top:705px!important;
}

.pch-auth-email{
  top:785px!important;
}

/* Mantener el texto legal visible y equilibrado. */
.pch-auth-legal-exact{
  top:872px!important;
}

@media(max-height:760px){
  .pch-auth-subtitle,
  .pch-auth-foreground .pch-auth-subtitle{
    width:390px!important;
    left:calc(50% - 195px)!important;
    font-size:19px!important;
    line-height:23px!important;
    top:480px!important;
  }

  .pch-auth-apple{top:590px!important}
  .pch-auth-google{top:662px!important}
  .pch-auth-email{top:734px!important}
  .pch-auth-legal-exact{top:850px!important}
}


/* v3.1.8 spacing */
.pch-auth-google{top:718px!important;}
.pch-auth-email{top:811px!important;}
@media(max-height:760px){
 .pch-auth-google{top:676px!important;}
 .pch-auth-email{top:762px!important;}
}


/* v3.1.9 — logo más arriba y botones con mayor separación */
.pch-auth-icon-exact{
  top:240px!important;
}

/* Conserva el título en su posición para aumentar el aire desde el logo. */
.pch-auth-exact h1,
.pch-auth-foreground h1{
  top:392px!important;
}

/* Mantener subtítulo en dos líneas. */
.pch-auth-subtitle,
.pch-auth-foreground .pch-auth-subtitle{
  width:400px!important;
  left:calc(50% - 200px)!important;
  top:500px!important;
  font-size:20px!important;
  line-height:24px!important;
}

/* Botones con más margen entre sí y misma altura. */
.pch-auth-apple{
  top:625px!important;
}

.pch-auth-google{
  top:720px!important;
}

.pch-auth-email{
  top:815px!important;
}

/* Mantener el texto legal visible y equilibrado. */
.pch-auth-legal-exact{
  top:884px!important;
}

@media(max-height:760px){
  .pch-auth-icon-exact{
    top:225px!important;
  }

  .pch-auth-exact h1,
  .pch-auth-foreground h1{
    top:368px!important;
  }

  .pch-auth-subtitle,
  .pch-auth-foreground .pch-auth-subtitle{
    top:475px!important;
    width:390px!important;
    left:calc(50% - 195px)!important;
  }

  .pch-auth-apple{top:580px!important}
  .pch-auth-google{top:660px!important}
  .pch-auth-email{top:740px!important}
  .pch-auth-legal-exact{top:850px!important}
}


/* v3.2.0 reduce ligeramente el título */
.pch-auth-exact h1,
.pch-auth-foreground h1{
  font-size:58px!important;
  line-height:1.02!important;
}
@media(max-height:760px){
 .pch-auth-exact h1,
 .pch-auth-foreground h1{
   font-size:52px!important;
 }
}


/* v3.2.1 — formulario de correo estable, grande y fuera del lienzo escalado */
body > .pch-auth-sheet{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  width:100%!important;
  height:100%!important;
  overflow:hidden!important;
  transform:none!important;
  font-family:'Comfortaa',system-ui,sans-serif!important;
}

body > .pch-auth-sheet .pch-auth-sheet-backdrop{
  position:absolute!important;
  inset:0!important;
  background:rgba(7,9,12,.48)!important;
  backdrop-filter:blur(4px)!important;
}

body > .pch-auth-sheet .pch-auth-sheet-panel{
  position:fixed!important;
  left:50%!important;
  top:50%!important;
  bottom:auto!important;
  transform:translate(-50%,-50%)!important;
  width:min(410px,calc(100vw - 28px))!important;
  min-height:530px!important;
  max-height:calc(100dvh - 36px)!important;
  overflow-y:auto!important;
  box-sizing:border-box!important;
  padding:30px 26px 28px!important;
  border-radius:28px!important;
  background:#fff!important;
  color:#17191d!important;
  box-shadow:0 24px 70px rgba(0,0,0,.3)!important;
}

body > .pch-auth-sheet .pch-auth-sheet-panel>header{
  margin-bottom:25px!important;
}

body > .pch-auth-sheet .pch-auth-sheet-panel>header span{
  font-size:10px!important;
  letter-spacing:1.6px!important;
}

body > .pch-auth-sheet .pch-auth-sheet-panel h2{
  margin:7px 0 0!important;
  font-size:29px!important;
  line-height:1.15!important;
  letter-spacing:-.5px!important;
}

body > .pch-auth-sheet .pch-auth-sheet-panel>header button{
  width:42px!important;
  height:42px!important;
  flex:0 0 42px!important;
  font-size:27px!important;
  cursor:pointer!important;
}

body > .pch-auth-sheet .pch-ui-field{
  margin-bottom:19px!important;
}

body > .pch-auth-sheet .pch-ui-field>span{
  margin-bottom:9px!important;
  font-size:14px!important;
}

body > .pch-auth-sheet .pch-ui-field input{
  width:100%!important;
  min-height:62px!important;
  box-sizing:border-box!important;
  border-radius:16px!important;
  font-size:17px!important;
  padding:0 16px!important;
}

body > .pch-auth-sheet .pch-ui-password{
  position:relative!important;
}

body > .pch-auth-sheet .pch-ui-password input{
  padding-right:64px!important;
}

body > .pch-auth-sheet .pch-ui-password button{
  position:absolute!important;
  right:8px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:48px!important;
  height:48px!important;
  border-radius:14px!important;
}

body > .pch-auth-sheet .pch-auth-remember{
  margin:3px 0 23px!important;
  gap:11px!important;
  font-size:13px!important;
}

body > .pch-auth-sheet .pch-auth-remember input{
  width:22px!important;
  height:22px!important;
}

body > .pch-auth-sheet .pch-ui-button--primary{
  width:100%!important;
  min-height:64px!important;
  border-radius:999px!important;
  font-size:17px!important;
}

body > .pch-auth-sheet .pch-auth-forgot{
  margin-top:17px!important;
  font-size:13px!important;
}

body > .pch-auth-sheet .pch-auth-status{
  min-height:18px!important;
  margin-bottom:9px!important;
  font-size:12px!important;
}

/* When the keyboard opens, keep the dialog dimensions and do not rescale it. */
body.pch-keyboard-open > .pch-auth-sheet .pch-auth-sheet-panel{
  top:50%!important;
  transform:translate(-50%,-50%)!important;
}

/* Short phones: slightly compact, never miniature. */
@media(max-height:700px){
  body > .pch-auth-sheet .pch-auth-sheet-panel{
    min-height:0!important;
    max-height:calc(100dvh - 20px)!important;
    padding:22px 22px 20px!important;
  }

  body > .pch-auth-sheet .pch-auth-sheet-panel h2{
    font-size:25px!important;
  }

  body > .pch-auth-sheet .pch-ui-field input{
    min-height:56px!important;
  }

  body > .pch-auth-sheet .pch-ui-button--primary{
    min-height:58px!important;
  }
}


/* v3.2.2 — corrección final de posición del título */
.pch-auth-exact h1,
.pch-auth-foreground h1{
  top:410px!important;
  width:390px!important;
  left:calc(50% - 195px)!important;
  font-size:50px!important;
  line-height:52px!important;
  font-weight:500!important;
  letter-spacing:-1px!important;
  margin:0!important;
}

.pch-auth-subtitle,
.pch-auth-foreground .pch-auth-subtitle{
  top:535px!important;
  width:400px!important;
  left:calc(50% - 200px)!important;
  font-size:20px!important;
  line-height:24px!important;
  font-weight:600!important;
  margin:0!important;
}

.pch-auth-apple{top:640px!important}
.pch-auth-google{top:735px!important}
.pch-auth-email{top:830px!important}
.pch-auth-legal-exact{top:900px!important}

@media(max-height:760px){
  .pch-auth-exact h1,
  .pch-auth-foreground h1{
    top:380px!important;
    font-size:44px!important;
    line-height:46px!important;
  }

  .pch-auth-subtitle,
  .pch-auth-foreground .pch-auth-subtitle{
    top:495px!important;
    font-size:19px!important;
    line-height:23px!important;
  }

  .pch-auth-apple{top:600px!important}
  .pch-auth-google{top:680px!important}
  .pch-auth-email{top:760px!important}
  .pch-auth-legal-exact{top:850px!important}
}


/* v3.2.3 — regla definitiva para título en viewport móvil real */
.pch-auth-exact h1,
.pch-auth-foreground h1{
  top:420px!important;
  width:404px!important;
  left:calc(50% - 202px)!important;
  font-size:38px!important;
  line-height:40px!important;
  font-weight:500!important;
  letter-spacing:-.8px!important;
  white-space:normal!important;
  text-wrap:balance!important;
}

.pch-auth-subtitle,
.pch-auth-foreground .pch-auth-subtitle{
  top:520px!important;
  width:400px!important;
  left:calc(50% - 200px)!important;
  font-size:20px!important;
  line-height:24px!important;
}

/* El fondo y las acciones conservan su equilibrio. */
.pch-auth-apple{top:625px!important}
.pch-auth-google{top:720px!important}
.pch-auth-email{top:815px!important}
.pch-auth-legal-exact{top:890px!important}

/* Esta regla queda al final y corrige específicamente el caso mostrado. */
@media(max-height:760px){
  .pch-auth-exact h1,
  .pch-auth-foreground h1{
    top:405px!important;
    width:404px!important;
    left:calc(50% - 202px)!important;
    font-size:36px!important;
    line-height:38px!important;
    font-weight:500!important;
  }

  .pch-auth-subtitle,
  .pch-auth-foreground .pch-auth-subtitle{
    top:505px!important;
    width:400px!important;
    left:calc(50% - 200px)!important;
    font-size:18px!important;
    line-height:22px!important;
  }

  .pch-auth-apple{top:600px!important}
  .pch-auth-google{top:680px!important}
  .pch-auth-email{top:760px!important}
  .pch-auth-legal-exact{top:848px!important}
}


/* v3.5.1 — pantalla pública conectada a Parchemos Studio */
html:has(.pch-studio-auth),
body:has(.pch-studio-auth){
  margin:0!important;
  padding:0!important;
  width:100%!important;
  min-height:100%!important;
  overflow:hidden!important;
  background:#d21f39!important;
}

body:has(.pch-studio-auth) header,
body:has(.pch-studio-auth) footer,
body:has(.pch-studio-auth) .site-header,
body:has(.pch-studio-auth) .site-footer,
body:has(.pch-studio-auth) .entry-header,
body:has(.pch-studio-auth) .entry-title{
  display:none!important;
}

body:has(.pch-studio-auth) main,
body:has(.pch-studio-auth) article,
body:has(.pch-studio-auth) .entry-content,
body:has(.pch-studio-auth) .wp-site-blocks{
  margin:0!important;
  padding:0!important;
  width:100%!important;
  max-width:none!important;
}

.pch-studio-auth{
  position:fixed;
  inset:0;
  width:100vw;
  height:100dvh;
  overflow:hidden;
  background:var(--pch-studio-bg,#d21f39);
  font-family:var(--pch-studio-font),system-ui,sans-serif;
}

.pch-studio-auth__background,
.pch-studio-auth__overlay{
  position:absolute;
  inset:-18px;
  width:calc(100% + 36px);
  height:calc(100% + 36px);
  object-fit:cover;
  transform-origin:center;
}

.pch-studio-auth__overlay{pointer-events:none}

.pch-studio-auth__canvas{
  position:absolute;
  left:50%;
  top:50%;
  width:430px;
  height:932px;
  transform:translate(-50%,-50%) scale(var(--pch-public-scale,1));
  transform-origin:center;
}

.pch-studio-auth__element{
  position:absolute;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0;
  border:0;
  line-height:1.12;
  white-space:pre-wrap;
  text-decoration:none;
}

.pch-studio-auth__field{
  padding:0 18px;
  gap:14px;
  box-shadow:0 7px 22px rgba(0,0,0,.14);
}

.pch-studio-auth__field>span{
  color:#ed1b2f;
  font-size:22px;
  flex:0 0 auto;
}

.pch-studio-auth__field input{
  min-width:0;
  flex:1;
  width:100%;
  height:100%;
  padding:0;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  color:#17191d;
  font:inherit;
}

.pch-studio-auth__field input::placeholder{color:inherit;opacity:1}

.pch-studio-auth__field button{
  flex:0 0 44px;
  height:44px;
  border:0;
  background:transparent;
  color:#ed1b2f;
  font-size:22px;
}

.pch-studio-auth__remember{
  justify-content:flex-start;
  gap:8px;
}

.pch-studio-auth__remember input{
  width:20px;
  height:20px;
  accent-color:#ed1b2f;
}

.pch-studio-auth__link{text-decoration:underline}
.pch-studio-auth__register{text-decoration:none}

.pch-studio-auth__primary{
  cursor:pointer;
  box-shadow:0 8px 24px rgba(0,0,0,.16);
}

.pch-studio-auth__primary:disabled{opacity:.75}

.pch-studio-auth__legal{
  flex-wrap:wrap;
  padding:0 10px;
  text-align:center;
}

.pch-studio-auth__legal a{
  color:inherit;
  font-weight:700;
  margin:0 3px;
}

.pch-studio-auth__status{
  position:absolute;
  left:50%;
  bottom:100px;
  width:340px;
  transform:translateX(-50%);
  text-align:center;
  font-size:13px;
  color:#fff;
  z-index:10;
}

.pch-studio-auth__status.is-error{color:#fff0f0}
.pch-studio-auth__status.is-success{color:#e7ffe8}

@media(min-width:700px){
  .pch-studio-auth{
    background:#171b20;
  }
  .pch-studio-auth__canvas{
    box-shadow:0 24px 70px rgba(0,0,0,.35);
  }
}


/* v3.9.1 — renderer público del esquema por capas */
html:has(.pch-layered-auth),
body:has(.pch-layered-auth){
  margin:0!important;
  padding:0!important;
  width:100%!important;
  min-height:100%!important;
  overflow:hidden!important;
  background:#171b20!important;
}

body:has(.pch-layered-auth) header,
body:has(.pch-layered-auth) footer,
body:has(.pch-layered-auth) .site-header,
body:has(.pch-layered-auth) .site-footer,
body:has(.pch-layered-auth) .entry-header,
body:has(.pch-layered-auth) .entry-title{
  display:none!important;
}

body:has(.pch-layered-auth) main,
body:has(.pch-layered-auth) article,
body:has(.pch-layered-auth) .entry-content,
body:has(.pch-layered-auth) .wp-site-blocks{
  margin:0!important;
  padding:0!important;
  width:100%!important;
  max-width:none!important;
}

.pch-layered-auth{
  position:fixed;
  inset:0;
  width:100vw;
  height:100dvh;
  overflow:hidden;
  background:var(--pch-bg,#d21f39);
  font-family:var(--pch-font),system-ui,sans-serif;
  isolation:isolate;
}

.pch-layered-auth__background,
.pch-layered-auth__overlay{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.pch-layered-auth__background{
  object-fit:cover;
  transform-origin:center center;
  z-index:1;
}

.pch-layered-auth__overlay{
  z-index:2;
  pointer-events:none;
}

.pch-layered-auth__canvas{
  position:absolute;
  left:50%;
  top:50%;
  width:430px;
  height:932px;
  transform:translate(-50%,-50%) scale(var(--pch-public-scale,1));
  transform-origin:center center;
  z-index:3;
  overflow:hidden;
}

.pch-layered-auth__layer{
  position:absolute;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:0;
  text-decoration:none;
  white-space:pre-wrap;
  overflow:hidden;
}

.pch-layered-auth__layer img{
  width:100%;
  height:100%;
  display:block;
}

.pch-layered-auth__layer input{
  width:100%;
  height:100%;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  color:inherit;
  font:inherit;
  padding:0!important;
  margin:0!important;
}

.pch-layered-auth__layer input::placeholder{
  color:inherit;
  opacity:1;
}

.pch-layered-auth__layer--email_text,
.pch-layered-auth__layer--password_text{
  justify-content:flex-start;
}

.pch-layered-auth__layer--remember_box input{
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer;
}

.pch-layered-auth__layer--remember_check{
  pointer-events:none;
}

.pch-layered-auth__layer--password_eye,
.pch-layered-auth__layer--login_button{
  cursor:pointer;
}

.pch-layered-auth__status{
  position:absolute;
  left:50%;
  bottom:92px;
  width:340px;
  transform:translateX(-50%);
  text-align:center;
  color:#fff;
  font-size:13px;
  z-index:100;
}

@media(min-width:700px){
  .pch-layered-auth__canvas{
    box-shadow:0 24px 70px rgba(0,0,0,.34);
  }
}


/* v3.9.2 — ajuste automático de textos */
.pch-layered-auth__layer{
  min-width:0;
  min-height:0;
  overflow:visible;
  white-space:normal;
  word-break:normal;
  overflow-wrap:break-word;
}

.pch-layered-auth__layer[data-auto-height="1"]{
  height:auto!important;
  min-height:1em;
}

.pch-layered-auth__layer[data-max-lines]:not([data-max-lines="0"]){
  display:-webkit-box;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.pch-layered-auth__layer[data-max-lines="1"]{-webkit-line-clamp:1}
.pch-layered-auth__layer[data-max-lines="2"]{-webkit-line-clamp:2}
.pch-layered-auth__layer[data-max-lines="3"]{-webkit-line-clamp:3}
.pch-layered-auth__layer[data-max-lines="4"]{-webkit-line-clamp:4}
.pch-layered-auth__layer[data-max-lines="5"]{-webkit-line-clamp:5}
.pch-layered-auth__layer[data-max-lines="6"]{-webkit-line-clamp:6}

.pch-layered-auth__layer--title,
.pch-layered-auth__layer--subtitle,
.pch-layered-auth__layer--remember_text,
.pch-layered-auth__layer--forgot,
.pch-layered-auth__layer--register,
.pch-layered-auth__layer--legal{
  align-items:flex-start;
}

.pch-layered-auth__layer--title,
.pch-layered-auth__layer--subtitle,
.pch-layered-auth__layer--legal{
  justify-content:center;
  text-wrap:balance;
}

.pch-layered-auth__layer--remember_text,
.pch-layered-auth__layer--forgot{
  line-height:1.2!important;
}

.pch-layered-auth__layer--legal{
  display:block;
  overflow:visible!important;
  padding:0 4px;
  text-align:center;
}

.pch-layered-auth__layer--legal a,
.pch-layered-auth__layer--legal u{
  color:inherit;
  text-decoration:underline;
  text-underline-offset:2px;
}

.pch-layered-auth__layer--email_text,
.pch-layered-auth__layer--password_text{
  overflow:hidden;
}

.pch-layered-auth__layer--email_text input,
.pch-layered-auth__layer--password_text input{
  line-height:1!important;
}

/* Evita que los textos secundarios se corten en pantallas más angostas. */
@media(max-width:390px){
  .pch-layered-auth__layer--remember_text,
  .pch-layered-auth__layer--forgot{
    font-size:12px!important;
  }

  .pch-layered-auth__layer--legal{
    font-size:9px!important;
  }
}


/* v3.9.3 — composición maestra del Login */
.pch-layered-auth__layer--title{
  text-wrap:balance;
  align-items:center!important;
}

.pch-layered-auth__layer--subtitle{
  white-space:nowrap!important;
  align-items:center!important;
}

.pch-layered-auth__layer--remember_text,
.pch-layered-auth__layer--forgot{
  white-space:nowrap!important;
  align-items:center!important;
}

.pch-layered-auth__layer--register{
  white-space:nowrap!important;
  border-bottom:1px solid currentColor;
}

.pch-layered-auth__layer--legal{
  white-space:normal!important;
  overflow:hidden!important;
  align-items:center!important;
}


/* v3.9.6 — tipografía oficial Comfortaa */
.pch-layered-auth,
.pch-layered-auth *,
.pch-layered-auth__canvas,
.pch-layered-auth__layer,
.pch-layered-auth__layer *,
.pch-layered-auth input,
.pch-layered-auth button,
.pch-layered-auth a,
.pch-layered-auth label{
  font-family:"Comfortaa",Comfortaa,system-ui,sans-serif!important;
}

.pch-layered-auth__layer--login_button,
.pch-layered-auth__layer--register,
.pch-layered-auth__layer--forgot,
.pch-layered-auth__layer--remember_text,
.pch-layered-auth__layer--legal,
.pch-layered-auth__layer--email_text input,
.pch-layered-auth__layer--password_text input{
  font-family:"Comfortaa",Comfortaa,system-ui,sans-serif!important;
}

/* v3.9.7 — alta resolución */
.pch-layered-auth,.pch-layered-auth *{-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important;text-rendering:geometricPrecision!important;font-synthesis:none!important;-webkit-text-size-adjust:100%}
.pch-layered-auth__background,.pch-layered-auth__layer img{image-rendering:auto!important;-ms-interpolation-mode:bicubic;-webkit-backface-visibility:hidden;backface-visibility:hidden}
.pch-layered-auth__layer--image img,.pch-layered-auth__layer--icon img{width:100%!important;height:100%!important;object-fit:contain!important;display:block!important}
.pch-layered-auth__layer--icon{line-height:0!important}
.pch-layered-auth__layer--email_box,.pch-layered-auth__layer--password_box,.pch-layered-auth__layer--login_button{box-shadow:0 10px 40px rgba(0,0,0,.10)}
@supports (-webkit-touch-callout:none){.pch-layered-auth__canvas{transform:translate3d(-50%,-50%,0) scale(var(--pch-public-scale,1))}}


/* v4.0.1 — control de líneas */
.pch-layered-auth__layer[data-text-wrap="wrap"]{
  white-space:normal!important;
  text-wrap:wrap;
  overflow-wrap:break-word;
}

.pch-layered-auth__layer[data-text-wrap="balance"]{
  white-space:normal!important;
  text-wrap:balance;
  overflow-wrap:break-word;
}

.pch-layered-auth__layer[data-text-wrap="nowrap"]{
  white-space:nowrap!important;
}


/* v4.3.1 — fragmentos de texto enriquecido */
.pch-layered-auth__layer--richtext{
  display:block!important;
}

.pch-layered-auth__layer--richtext span{
  display:inline!important;
  white-space:inherit;
}


/* v6.2.1 — controles de acceso realmente interactivos */
.pch-layered-auth__layer--image,
.pch-layered-auth__background,
.pch-layered-auth__overlay{pointer-events:none!important}
.pch-layered-auth__layer--email_text,
.pch-layered-auth__layer--password_text,
.pch-layered-auth__layer--password_eye,
.pch-layered-auth__layer--remember_box,
.pch-layered-auth__layer--forgot,
.pch-layered-auth__layer--register,
.pch-layered-auth__layer--login_button{pointer-events:auto!important;z-index:220!important}
.pch-layered-auth__layer--login_button{touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important}
.pch-layered-auth__status{z-index:300!important;background:rgba(17,24,32,.72);padding:6px 10px;border-radius:9px;width:auto;max-width:340px}

/* v6.3.0 — controles funcionales y accesibles del login aprobado */
.pch-layered-auth__layer--password_eye{
  border:0!important;
  appearance:none;
  -webkit-appearance:none;
  background:transparent!important;
  padding:0!important;
}
.pch-layered-auth__layer--password_eye:focus-visible,
.pch-layered-auth__layer--login_button:focus-visible,
.pch-layered-auth__layer--forgot:focus-visible,
.pch-layered-auth__layer--register:focus-visible{
  outline:3px solid rgba(255,255,255,.75)!important;
  outline-offset:3px;
}
.pch-layered-auth__layer--login_button:disabled{
  opacity:.78!important;
  cursor:wait!important;
}
.pch-layered-auth__layer--remember_check{
  opacity:0!important;
  transition:opacity .16s ease;
}
.pch-layered-auth:has([data-login-remember]:checked) .pch-layered-auth__layer--remember_check{
  opacity:1!important;
}
.pch-layered-auth__status.is-error{color:#fff;background:rgba(112,0,16,.72);padding:7px 10px;border-radius:10px}
.pch-layered-auth__status.is-success{color:#fff;background:rgba(0,92,50,.72);padding:7px 10px;border-radius:10px}

/* v6.3.1 — recordarme táctil y avisos de acceso con alto contraste */
.pch-layered-auth__layer--remember_box{
  z-index:225!important;
  overflow:visible!important;
}
.pch-layered-auth__layer--remember_box input{
  position:absolute!important;
  inset:-10px -12px!important;
  width:calc(100% + 24px)!important;
  height:calc(100% + 20px)!important;
  cursor:pointer!important;
  touch-action:manipulation;
}
.pch-layered-auth__layer--remember_text{
  pointer-events:auto!important;
  z-index:225!important;
  cursor:pointer!important;
  user-select:none;
  -webkit-user-select:none;
  touch-action:manipulation;
}
.pch-layered-auth.is-remembered .pch-layered-auth__layer--remember_check,
.pch-layered-auth:has([data-login-remember]:checked) .pch-layered-auth__layer--remember_check{
  opacity:1!important;
}
.pch-layered-auth__status{
  top:86px!important;
  bottom:auto!important;
  min-width:280px;
  max-width:360px!important;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:11px 16px!important;
  border:2px solid rgba(255,255,255,.9);
  border-radius:14px!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1.3!important;
  box-shadow:0 12px 32px rgba(0,0,0,.34);
  opacity:0;
  visibility:hidden;
  transform:translate(-50%,-10px);
  transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.pch-layered-auth__status.is-error,
.pch-layered-auth__status.is-success{
  opacity:1;
  visibility:visible;
  transform:translate(-50%,0);
  color:#fff!important;
}
.pch-layered-auth__status.is-error{background:#b00020!important}
.pch-layered-auth__status.is-success{background:#087a43!important}

/* v6.3.2 — check visible y estable en todos los navegadores */
.pch-layered-auth__layer--remember_box{
  position:absolute!important;
  overflow:visible!important;
  isolation:isolate;
}
.pch-layered-auth__layer--remember_box::after{
  content:'✓';
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#ed1b2f;
  font-size:16px;
  font-weight:900;
  line-height:1;
  opacity:0;
  transform:scale(.65);
  transition:opacity .14s ease,transform .14s ease;
  pointer-events:none;
  z-index:4;
}
.pch-layered-auth__layer--remember_box:has([data-login-remember]:checked)::after,
.pch-layered-auth.is-remembered .pch-layered-auth__layer--remember_box::after{
  opacity:1!important;
  transform:scale(1)!important;
}
.pch-layered-auth__layer--remember_check{
  z-index:230!important;
  pointer-events:none!important;
}
.pch-layered-auth.is-remembered .pch-layered-auth__layer--remember_check{
  opacity:1!important;
}
