/* Checkout uses its own login template. These styles apply only to the account entry screen. */
body.woocommerce-account #page article:has(.kryo-auth) > .entry-header {display: none;}
#page .kryo-auth {
  box-sizing: border-box;
  max-width: 470px;
  margin: clamp(16px, 4vw, 64px) auto clamp(40px, 7vw, 100px);
  padding: clamp(22px, 3vw, 42px);
  background: var(--surface, #fff);
  color: var(--text, #292e25);
  border: 1px solid var(--border, #dcd8ce);
  border-radius: var(--radius, 16px);
}
#page .kryo-auth h1 {
  margin: 0 0 24px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 680;
}
#page .kryo-auth form, #page .kryo-auth form p:last-child {margin-bottom: 0;}
#page .kryo-auth .form-row {float: none; width: 100%; margin: 0 0 16px;}
#page .kryo-auth label {font-size: .91rem; font-weight: 550; color: var(--text);}
#page .kryo-auth :is(input.input-text, .password-input) {width: 100%;}
/* Woo first inserts its meter on keyup/change. Reserve its line so a paste or autofill
   followed by a click cannot move the submit button between pointerdown and pointerup. */
#page .kryo-auth .register .form-row:has(#reg_password) {display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto minmax(23px,auto);}
#page .kryo-auth .register .woocommerce-password-strength {min-height: 23px; padding: 2px 0; font-size: .8rem; line-height: 19px; text-align: left;}
#page .kryo-auth :is(.woocommerce-form-login__submit, .woocommerce-form-register__submit) {width: 100%; min-height: 46px; margin: 0; float: none;}
#page .kryo-auth .woocommerce-LostPassword {font-size: .89rem; margin: 0;}
#page .kryo-auth .woocommerce-privacy-policy-text {color: var(--muted); font-size: .83rem; line-height: 1.55; margin-bottom: 18px;}
#page .kryo-auth .kryo-auth-switch {padding-top: 17px; border-top: 1px solid var(--border); margin: 19px 0 0; color: var(--muted); font-size: .92rem;}
#page .kryo-auth a {color: var(--accent); text-underline-offset: .18em;}
#page .kryo-auth-switch a {font-weight: 650;}
@media (max-width: 480px) {
  #page .kryo-auth {margin-block: 12px 36px; padding: 20px;}
}
