body.lts-auth-page,
body.lts-auth-page .wp-site-blocks,
body.lts-auth-page .wp-site-blocks > main,
body.lts-auth-page main.wp-block-group,
body.lts-auth-page .entry-content {
  background: var(--lts-parchment, #f6f1e8) !important;
}

body.lts-auth-page .wp-site-blocks {
  gap: 0 !important;
}

body.lts-auth-page .wp-site-blocks > main,
body.lts-auth-page main.wp-block-group,
body.lts-auth-page .entry-content {
  max-width: none;
  margin: 0 !important;
  margin-block-start: 0 !important;
  padding: 0 !important;
  padding-block-start: 0 !important;
}

.lts-auth {
  --lts-auth-ink: var(--lts-ink, #20344d);
  --lts-auth-muted: var(--lts-ink-soft, #5f6b7a);
  --lts-auth-border: rgba(32, 52, 77, .24);
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: 24px 20px 56px;
  background: var(--lts-parchment, #f6f1e8);
  color: var(--lts-auth-ink);
}

.lts-auth *, .lts-auth *::before, .lts-auth *::after { box-sizing: border-box; }

.lts-auth__panel {
  width: min(100%, 620px);
  margin: 0 auto;
}

.lts-auth__brand {
  text-align: center;
  margin-bottom: 24px;
}

.lts-auth__brand img {
  display: inline-block;
  width: auto;
  max-width: 310px;
  height: 42px;
  object-fit: contain;
}

.lts-auth__brand strong { font-size: 20px; }

.lts-auth h1 {
  margin: 0;
  text-align: center;
  color: var(--lts-auth-ink);
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 700;
}

.lts-auth__switch {
  margin: 12px 0 26px;
  text-align: center;
  color: var(--lts-auth-ink);
  font-size: 17px;
}

.lts-auth a {
  color: var(--lts-ink, #20344d);
  font-weight: 700;
  text-underline-offset: 3px;
}

.lts-auth__errors {
  margin: 0 0 22px;
  padding: 13px 16px;
  border: 1px solid rgba(158, 43, 37, .2);
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
  color: var(--lts-error, #9e2b25);
  font-size: 14px;
}

.lts-auth__errors ul { margin: 0; padding-left: 20px; }

/* Google follows the email/password form. Nextend still owns the OAuth flow. */
.lts-auth__google {
  width: 100%;
  margin: 0 0 26px;
}

.lts-auth__google .nsl-container,
.lts-auth__google .nsl-container-buttons,
.lts-auth__google [class*="nsl-container"] {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.lts-auth__google .nsl-button,
.lts-auth__google a[class*="nsl-button"] {
  width: 100% !important;
  min-height: 64px !important;
  margin: 0 !important;
  border: 1.5px solid var(--lts-auth-ink) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  background: var(--lts-paper, #fff) !important;
  color: var(--lts-auth-ink) !important;
}

.lts-auth__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 26px;
  color: var(--lts-auth-ink);
  font-size: 17px;
}

.lts-auth__divider::before,
.lts-auth__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(32, 52, 77, .42);
}

.lts-auth__form { display: grid; gap: 12px; }

.lts-auth__form label {
  margin-top: 6px;
  color: var(--lts-auth-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lts-auth__form label span {
  color: var(--lts-auth-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.lts-auth__form input {
  width: 100%;
  min-height: 64px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, .68);
  color: var(--lts-auth-ink);
  padding: 0 18px;
  font: inherit;
  font-size: 17px;
  outline: none;
}

.lts-auth__form input:focus {
  border-color: var(--lts-auth-ink);
  box-shadow: 0 0 0 2px rgba(32, 52, 77, .08);
  background: var(--lts-paper, #fff);
}

.lts-auth__form button {
  margin-top: 18px;
  min-height: 64px;
  border: 0;
  border-radius: 12px;
  background: var(--lts-ink, #20344d);
  color: var(--lts-paper, #fff);
  font: inherit;
  font-size: 19px;
  font-weight: 800;
  cursor: pointer;
}

.lts-auth__form button:hover { background: var(--lts-ink-hover, #172839); }
.lts-auth__form button:focus-visible { outline: 3px solid rgba(32, 52, 77, .28); outline-offset: 3px; }

.lts-auth__forgot {
  text-align: center;
  margin: 22px 0 0;
  font-size: 15px;
}

.lts-auth__bottom-switch {
  margin: 32px 0 0;
  text-align: center;
  color: var(--lts-auth-muted);
  font-size: 16px;
}

.lts-auth__context {
  margin: 34px auto 0;
  max-width: 520px;
  padding-top: 22px;
  border-top: 1px solid rgba(32, 52, 77, .18);
  text-align: center;
  color: var(--lts-auth-muted);
  font-size: 13px;
  line-height: 1.5;
}

.lts-auth__back { margin: 14px 0 0; text-align: center; font-size: 14px; }

/* Focused auth content surface. The canonical global header remains visible;
   only page-title/footer chrome is suppressed here. */
body.lts-auth-page .lts-mobile-bottom-nav,
body.lts-auth-page .wp-block-post-title,
body.lts-auth-page .entry-title,
body.lts-auth-page .wp-site-blocks > footer,
body.lts-auth-page footer.wp-block-template-part {
  display: none !important;
}

body.lts-auth-page.admin-bar .lts-auth { min-height: calc(100vh - 32px); }

@media (max-width: 640px) {
  .lts-auth {
    min-height: 100vh;
    padding: 18px var(--lts-layout-gutter-mobile, 16px) 36px;
  }
  .lts-auth__panel { width: 100%; }
  .lts-auth__brand { margin-bottom: 20px; }
  .lts-auth__brand img { max-width: 250px; height: 34px; }
  .lts-auth h1 { font-size: 42px; }
  .lts-auth__switch { margin-bottom: 24px; font-size: 15px; }
  .lts-auth__google .nsl-button,
  .lts-auth__google a[class*="nsl-button"],
  .lts-auth__form input,
  .lts-auth__form button { min-height: 58px !important; }
}

@media (max-width: 782px) {
  body.lts-auth-page.admin-bar .lts-auth { min-height: calc(100vh - 46px); }
}

.lts-auth__google--unavailable {
  display: grid;
  gap: 8px;
}
.lts-auth__google-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 64px;
  border: 1.5px solid var(--lts-auth-border);
  border-radius: 14px;
  background: rgba(255,255,255,.58);
  color: var(--lts-auth-ink);
  font-size: 17px;
  font-weight: 700;
  opacity: .72;
}
.lts-auth__google-placeholder b {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lts-paper, #fff);
  color: var(--lts-ink, #20344d);
  font-size: 18px;
}
.lts-auth__google--unavailable small {
  color: var(--lts-auth-muted);
  text-align: center;
  font-size: 12px;
}

/* Nextend owns the OAuth redirect mechanics; Core only brands the brief
 * post-authentication handoff so the learner stays in one visual experience. */
#nsl-redirect-overlay.lts-nsl-redirect-overlay,
body.lts-auth-page #nsl-redirect-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: grid !important;
  place-items: center !important;
  padding: 24px !important;
  background: rgba(32, 52, 77, .28) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
}

#nsl-redirect-overlay.lts-nsl-redirect-overlay #nsl-redirect-overlay-container,
body.lts-auth-page #nsl-redirect-overlay-container {
  width: min(100%, 430px) !important;
  margin: 0 !important;
  padding: 34px 32px 32px !important;
  border: 1px solid rgba(32, 52, 77, .12) !important;
  border-radius: 24px !important;
  background: var(--lts-paper, #fff) !important;
  box-shadow: 0 24px 70px rgba(20, 36, 55, .22) !important;
  color: var(--lts-ink, #20344d) !important;
  text-align: center !important;
}

.lts-auth-redirect-brand {
  min-height: 38px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  color: var(--lts-ink, #20344d);
  font-size: 18px;
  font-weight: 800;
}

.lts-auth-redirect-brand img {
  display: block;
  width: auto;
  max-width: 230px;
  height: 36px;
  object-fit: contain;
}

body.lts-auth-page #nsl-redirect-overlay-spinner {
  width: 42px !important;
  height: 42px !important;
  margin: 0 auto 22px !important;
  border: 4px solid rgba(32, 52, 77, .14) !important;
  border-top-color: var(--lts-accent, #4c5bd4) !important;
  border-radius: 50% !important;
  background: none !important;
  animation: lts-auth-spin .8s linear infinite !important;
}

body.lts-auth-page #nsl-redirect-overlay-title {
  margin: 0 0 10px !important;
  color: var(--lts-ink, #20344d) !important;
  font-size: 25px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}

body.lts-auth-page #nsl-redirect-overlay-text {
  margin: 0 !important;
  color: var(--lts-ink-soft, #5f6b7a) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

@keyframes lts-auth-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  body.lts-auth-page #nsl-redirect-overlay-spinner { animation-duration: 1.6s !important; }
}

/* Core 0.15.103 — visible registration legal notice. */
.lts-auth__legal {
  max-width: 520px;
  margin: 18px auto 0;
  color: var(--lts-auth-muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.lts-auth__legal a,
.lts-auth__legal a:hover,
.lts-auth__legal a:active {
  color: var(--lts-blue, #4352A6);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}


/* Core 0.15.105 — centered password recovery / reset flow. */
.lts-auth--recovery {
  min-height: calc(100vh - 76px);
  place-items: center;
  padding: 24px 20px 40px;
}

.lts-auth-recovery {
  position: relative;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 34px 36px;
  border: 1px solid var(--lts-line, #E9E1D6);
  border-radius: 24px;
  background: var(--lts-paper, #FFFFFF);
  box-shadow: 0 18px 48px rgba(32, 52, 77, .08);
}

.lts-auth-recovery h1 {
  margin: 0;
  padding-right: 38px;
  text-align: left;
  color: var(--lts-ink, #20344D);
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 800;
}

.lts-auth-recovery__intro {
  margin: 10px 0 0;
  color: var(--lts-ink-soft, #5F6B7A);
  font-size: 14px;
  line-height: 1.55;
}

.lts-auth-recovery__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent !important;
  color: var(--lts-ink, #20344D) !important;
  text-decoration: none !important;
  transition: transform .15s ease;
}

.lts-auth-recovery__close:hover,
.lts-auth-recovery__close:active {
  background: transparent !important;
  color: var(--lts-ink, #20344D) !important;
  transform: scale(1.04);
}

.lts-auth-recovery__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.lts-auth-recovery__form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.lts-auth-recovery__form label {
  margin-top: 4px;
  color: var(--lts-ink, #20344D);
  font-size: 12px;
  font-weight: 800;
}

.lts-auth-recovery__form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--lts-line, #E9E1D6);
  border-radius: 13px;
  background: var(--lts-paper, #FFFFFF);
  color: var(--lts-ink, #20344D);
  font: inherit;
  outline: none;
}

.lts-auth-recovery__form input:focus {
  border-color: var(--lts-blue, #4352A6);
  box-shadow: 0 0 0 3px rgba(67, 82, 166, .08);
}

.lts-auth-recovery__form small {
  margin-top: -7px;
  color: var(--lts-ink-soft, #5F6B7A);
  font-size: 11px;
  line-height: 1.45;
}

.lts-auth-recovery__password-wrap {
  position: relative;
}

.lts-auth-recovery__password-wrap input {
  padding-right: 48px;
}

.lts-auth-recovery__eye {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--lts-blue, #4352A6) !important;
  box-shadow: none !important;
}

.lts-auth-recovery__eye:hover,
.lts-auth-recovery__eye:active {
  background: transparent !important;
  color: var(--lts-blue, #4352A6) !important;
  transform: translateY(-50%) scale(1.04);
  box-shadow: none !important;
}

.lts-auth-recovery__eye svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lts-auth-recovery__eye svg[hidden] {
  display: none !important;
}

.lts-auth-recovery__button {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--lts-blue, #4352A6) !important;
  border-radius: 999px;
  background: var(--lts-paper, #FFFFFF) !important;
  color: var(--lts-blue, #4352A6) !important;
  font: inherit;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.lts-auth-recovery__button:hover,
.lts-auth-recovery__button:active {
  background: var(--lts-paper, #FFFFFF) !important;
  color: var(--lts-blue, #4352A6) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(32, 52, 77, .08);
}

.lts-auth-recovery__notice {
  margin-top: 18px;
  padding: 15px 16px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid var(--lts-line, #E9E1D6);
  border-radius: 14px;
  background: #FBFAF7;
}

.lts-auth-recovery__notice > svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--lts-blue, #4352A6);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lts-auth-recovery__notice strong,
.lts-auth-recovery__notice span {
  display: block;
}

.lts-auth-recovery__notice strong {
  color: var(--lts-ink, #20344D);
  font-size: 13px;
}

.lts-auth-recovery__notice span {
  margin-top: 3px;
  color: var(--lts-ink-soft, #5F6B7A);
  font-size: 12px;
  line-height: 1.45;
}

.lts-auth-recovery__notice--success {
  border-color: rgba(78, 122, 91, .34);
  background: rgba(78, 122, 91, .10);
}

.lts-auth-recovery__notice--success > svg,
.lts-auth-recovery__notice--success strong {
  color: var(--lts-success, #4E7A5B);
  stroke: var(--lts-success, #4E7A5B);
}

.lts-auth-recovery__notice--success span {
  color: #3F654B;
}

.lts-auth-recovery__notice--error {
  border-color: rgba(155, 58, 52, .24);
  background: rgba(155, 58, 52, .06);
}

.lts-auth-recovery__minor {
  margin: 16px 0 0;
  text-align: center;
  color: var(--lts-ink-soft, #5F6B7A);
  font-size: 13px;
}

.lts-auth-recovery__minor a {
  color: var(--lts-blue, #4352A6);
  font-weight: 800;
}

.lts-auth-recovery > .lts-auth-recovery__button {
  margin-top: 18px;
}

.lts-auth-recovery .lts-auth__errors {
  margin-top: 18px;
}

@media (max-height: 760px) and (min-width: 561px) {
  .lts-auth--recovery { padding: 14px 18px 28px; }
  .lts-auth-recovery { padding: 26px 30px; }
  .lts-auth-recovery h1 { font-size: 30px; }
  .lts-auth-recovery__form { margin-top: 18px; gap: 10px; }
  .lts-auth-recovery__form input,
  .lts-auth-recovery__button { min-height: 44px; }
}

@media (max-width: 560px) {
  .lts-auth--recovery {
    min-height: calc(100vh - 76px);
    padding: 16px 14px 32px;
  }
  .lts-auth-recovery {
    padding: 26px 20px;
    border-radius: 20px;
  }
  .lts-auth-recovery h1 { font-size: 30px; }
}


/* Core 0.15.221 — single-canvas responsive Login / Register layout.
 * These rules override legacy auth dimensions without touching recovery or OAuth.
 */
body.lts-auth-page {
  background: var(--lts-parchment, #F6F1E8) !important;
  margin: 0;
}
body.lts-auth-page .wp-site-blocks,
body.lts-auth-page .wp-site-blocks > main,
body.lts-auth-page main.wp-block-group,
body.lts-auth-page .entry-content,
body.lts-auth-page .wp-block-post-content,
body.lts-auth-page .is-layout-constrained,
body.lts-auth-page .has-global-padding {
  background: var(--lts-parchment, #F6F1E8) !important;
}
body.lts-auth-page .wp-site-blocks > main,
body.lts-auth-page .wp-block-post-content,
body.lts-auth-page .entry-content,
body.lts-auth-page .entry-content > *,
body.lts-auth-page .wp-block-post-content > * {
  width: 100% !important;
  max-width: none !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  padding: 0 !important;
}
body.lts-auth-page .lts-auth:not(.lts-auth--recovery) {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  place-items: stretch;
  align-items: stretch;
  padding: 0;
  background: var(--lts-parchment, #F6F1E8);
}
body.lts-auth-page .lts-auth:not(.lts-auth--recovery) .lts-auth__panel {
  width: min(100%, 490px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 28px clamp(20px, 3.3vw, 42px);
  background: transparent;
  border: 0;
  box-shadow: none;
}
.lts-auth__brand {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 17px;
  text-decoration: none !important;
}
.lts-auth__brand img { display:block; max-width: min(100%, 245px); height: 31px; }
.lts-auth:not(.lts-auth--recovery) h1 { font-size: clamp(34px, 3vw, 44px); line-height: 1.08; }
.lts-auth__switch { margin: 7px 0 19px; font-size: 14px; line-height: 1.4; }
.lts-auth__form { gap: 8px; }
.lts-auth__form label { margin-top: 2px; font-size: 12px; letter-spacing: .035em; }
.lts-auth__form input {
  min-height: 47px;
  border: 1px solid var(--lts-line, #E9E1D6);
  background: var(--lts-paper, #fff);
  border-radius: 12px;
  font-size: 15px;
  padding: 0 13px;
}
.lts-auth__form button {
  min-height: 48px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--lts-blue, #4352A6);
  color: #fff;
  font-size: 16px;
  font-weight: 750;
}
.lts-auth__form button:hover { background: var(--lts-blue-dark, #3F4FA2); }
.lts-auth__forgot { margin: 12px 0 0; font-size: 13px; text-align: right; }
.lts-auth__divider { margin: 14px 0 12px; gap: 12px; font-size: 12px; color: var(--lts-auth-muted); }
.lts-auth__divider::before, .lts-auth__divider::after { background: var(--lts-line, #E9E1D6); }
.lts-auth__google { margin: 0; }
.lts-auth__google .nsl-button,
.lts-auth__google a[class*="nsl-button"] {
  min-height: 46px !important;
  border: 1px solid var(--lts-line, #E9E1D6) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-size: 14px !important;
}
.lts-auth__google-placeholder {
  min-height: 46px;
  border: 1px solid var(--lts-line, #E9E1D6);
  background: var(--lts-paper, #fff);
  border-radius: 999px;
  font-size: 14px;
}
.lts-auth__bottom-switch { margin: 13px 0 0; font-size: 13px; }
.lts-auth__context { margin: 13px 0 0; padding-top: 9px; font-size: 11px; }
.lts-auth__back { margin-top: 5px; font-size: 12px; }
.lts-auth__legal { margin: 10px auto 0; font-size: 11px; line-height: 1.4; }
.lts-auth__errors { margin-bottom: 11px; padding: 9px 12px; font-size: 12px; }
.lts-auth__visual {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--lts-parchment, #F6F1E8);
}
.lts-auth__visual-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 780px) {
  body.lts-auth-page .lts-auth:not(.lts-auth--recovery) {
    min-height: calc(100svh - 68px);
    grid-template-columns: minmax(0, 1fr);
  }
  body.lts-auth-page .lts-auth:not(.lts-auth--recovery) .lts-auth__panel {
    width: min(100%, 430px);
    padding: 12px 20px 15px;
  }
  .lts-auth:not(.lts-auth--recovery) .lts-auth__visual { display: none; }
  .lts-auth__brand { margin-bottom: 12px; }
  .lts-auth__brand img { max-width: min(100%, 210px); height: 27px; }
  .lts-auth:not(.lts-auth--recovery) h1 { font-size: 33px; }
  .lts-auth__switch { margin: 6px 0 13px; font-size: 13px; }
  .lts-auth__form { gap: 6px; }
  .lts-auth__form input { min-height: 43px !important; font-size: 16px; }
  .lts-auth__form button { min-height: 44px !important; margin-top: 6px; font-size: 15px; }
  .lts-auth__google .nsl-button,
  .lts-auth__google a[class*="nsl-button"],
  .lts-auth__google-placeholder { min-height: 43px !important; }
  .lts-auth__forgot { margin-top: 9px; }
  .lts-auth__divider { margin: 10px 0 9px; }
  .lts-auth__bottom-switch { margin-top: 9px; }
  .lts-auth__google--unavailable small { font-size: 10px; }
}
/* Compact laptops and mobile landscape: no artificial full-screen overflow. */
@media (max-height: 650px) {
  body.lts-auth-page .lts-auth:not(.lts-auth--recovery) .lts-auth__panel { padding-top: 8px; padding-bottom: 8px; }
  .lts-auth__brand { margin-bottom: 8px; }
  .lts-auth__switch { margin-bottom: 9px; }
  .lts-auth__form { gap: 4px; }
  .lts-auth__form input { min-height: 40px !important; }
  .lts-auth__form button { min-height: 41px !important; margin-top: 4px; }
  .lts-auth__divider { margin: 8px 0; }
  .lts-auth__google .nsl-button, .lts-auth__google a[class*="nsl-button"],
  .lts-auth__google-placeholder { min-height: 41px !important; }
}

@media (max-width: 360px) and (max-height: 600px) {
  /* Small 320px phones: avoid an additional viewport of signup-only content. */
  .lts-auth[data-lts-auth-mode="signup"] .lts-auth__bottom-switch { display: none; }
  .lts-auth[data-lts-auth-mode="signup"] .lts-auth__brand { margin-bottom: 4px; }
  .lts-auth[data-lts-auth-mode="signup"] .lts-auth__switch { margin-bottom: 4px; }
  .lts-auth[data-lts-auth-mode="signup"] .lts-auth__legal { margin-top: 5px; font-size: 10px; line-height: 1.25; }
  .lts-auth[data-lts-auth-mode="signup"] .lts-auth__form input { min-height: 37px !important; }
  .lts-auth[data-lts-auth-mode="signup"] .lts-auth__form button { min-height: 38px !important; }
}


/* Core 0.15.222 — auth page must use ONE parchment canvas on real WP themes.
 * WordPress layouts can insert a large blank header/cover before the_content.
 * The canonical auth viewport is detached from those legacy wrappers by auth.js
 * and occupies the space immediately below the LTS header. Recover/reset retain
 * their existing flow, and shorter device screens may scroll inside the form. */
body.lts-auth-page.lts-auth-viewport-ready {
  background: var(--lts-parchment, #F6F1E8) !important;
  overflow: hidden !important;
  overscroll-behavior: none;
}
body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) {
  position: fixed !important;
  inset: var(--lts-auth-top, 68px) 0 0 0 !important;
  z-index: 30;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  place-items: stretch;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--lts-parchment, #F6F1E8) !important;
  scrollbar-gutter: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__panel {
  align-self: center;
  justify-self: center;
  width: min(100%, 490px) !important;
  max-width: 100%;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 16px clamp(18px, 3.3vw, 42px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__brand {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  width: auto !important;
  max-width: 100%;
  margin: 0 auto 12px !important;
  text-align: center !important;
}
body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__brand img {
  display: block;
  width: auto;
  max-width: min(100%, 225px);
  height: 29px;
  object-fit: contain;
}
body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__visual {
  background: var(--lts-parchment, #F6F1E8) !important;
  min-width: 0;
  min-height: 0;
}
/* Smaller screens need every login control visible without moving the page. */
@media (max-width: 780px) {
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: center;
    justify-items: center;
    padding: 0 16px !important;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__panel {
    width: min(100%, 420px) !important;
    padding: 8px 5px !important;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__brand {
    margin-bottom: 7px !important;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__brand img {
    height: 25px;
    max-width: min(100%, 204px);
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) h1 {
    font-size: clamp(30px, 8vw, 34px);
    line-height: 1.05;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__switch {
    margin: 5px 0 10px;
    font-size: 12px;
    line-height: 1.35;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__form { gap: 4px; }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__form label {
    margin: 0;
    font-size: 11px;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__form input {
    min-height: 40px !important;
    font-size: 16px;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__form button {
    min-height: 41px !important;
    margin-top: 5px;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__forgot {
    margin: 8px 0 0;
    font-size: 12px;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__divider {
    margin: 9px 0 7px;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__google {
    margin: 0;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__google .nsl-button,
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__google a[class*="nsl-button"],
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__google-placeholder {
    min-height: 41px !important;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__bottom-switch {
    margin: 7px 0 0;
    font-size: 12px;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__visual {
    display: none !important;
  }
}
@media (max-height: 560px) and (max-width: 780px) {
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__panel { padding-block: 4px !important; }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__brand { margin-bottom: 3px !important; }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__switch { margin-bottom: 5px; }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__divider { margin: 5px 0; }
}


/* Core 0.15.223 — quieter auth typographic hierarchy and desktop photo slot.
 * Preserve the one-color parchment canvas and mobile single-column layout. */
body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__brand {
  margin-bottom: 22px !important;
}
body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) h1 {
  margin: 0 0 12px !important;
}
body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__switch {
  margin: 0 0 24px;
  line-height: 1.45;
}
body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px clamp(22px, 4vw, 75px);
}
body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__visual-frame {
  width: 100%;
  height: min(690px, 100%);
  max-width: 720px;
  min-height: 0;
  overflow: hidden;
  border-radius: 24px;
  background: transparent;
}
body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__visual-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
}
body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__visual-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 320px;
  border: 2px dashed rgba(67, 82, 166, .28);
  border-radius: 24px;
  background: transparent;
}
.lts-auth__visual-placeholder svg {
  width: 70px;
  height: 70px;
  stroke: rgba(67, 82, 166, .42);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 780px) {
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth[data-lts-auth-mode="login"] .lts-auth__brand {
    margin-bottom: 18px !important;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth[data-lts-auth-mode="login"] h1 {
    margin-bottom: 12px !important;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth[data-lts-auth-mode="login"] .lts-auth__switch {
    margin: 0 0 16px;
    line-height: 1.45;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth[data-lts-auth-mode="signup"] .lts-auth__brand {
    margin-bottom: 12px !important;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth[data-lts-auth-mode="signup"] h1 {
    margin-bottom: 8px !important;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth[data-lts-auth-mode="signup"] .lts-auth__switch {
    margin: 0 0 12px;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__visual {
    display: none !important;
  }
}
@media (max-width: 360px) and (max-height: 600px) {
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth[data-lts-auth-mode="signup"] .lts-auth__brand {
    margin-bottom: 5px !important;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth[data-lts-auth-mode="signup"] h1 {
    margin-bottom: 3px !important;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth[data-lts-auth-mode="signup"] .lts-auth__switch {
    margin-bottom: 5px;
  }
}

/* Core 0.15.224 — restrained legal information on Login and Sign-up.
 * The notice describes account creation only, not ordinary sign-in. */
.lts-auth__legal {
  max-width: 390px;
  margin: 10px auto 0;
  color: var(--lts-auth-muted, #5f6b7a);
  font-size: 11px;
  line-height: 1.42;
  text-align: center;
}
.lts-auth__legal a,
.lts-auth__legal a:hover,
.lts-auth__legal a:active {
  color: var(--lts-blue, #4352A6);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lts-auth__legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 0;
  color: var(--lts-auth-muted, #5f6b7a);
  font-size: 11px;
  line-height: 1.3;
}
.lts-auth__legal-links a,
.lts-auth__legal-links a:visited {
  color: var(--lts-auth-muted, #5f6b7a);
  font-weight: 500;
  text-decoration: none;
}
.lts-auth__legal-links a:hover,
.lts-auth__legal-links a:focus-visible {
  color: var(--lts-blue, #4352A6);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 780px) {
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__legal-links {
    margin-top: 10px;
    font-size: 10px;
    gap: 6px;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth[data-lts-auth-mode="signup"] .lts-auth__legal {
    margin-top: 7px;
    font-size: 10px;
    line-height: 1.35;
  }
}
@media (max-width: 400px) and (max-height: 620px) {
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth:not(.lts-auth--recovery) .lts-auth__legal-links {
    margin-top: 7px;
  }
}

/* v0.15.369 — code-based recovery. No visible code-expiry countdown or step kicker. */
.lts-password-code[hidden] {display:none!important;}
.lts-password-code [hidden] { display: none !important; }
.lts-password-code__masked { color:var(--lts-ink-soft,#5F6B7A);font-size:13px;margin:7px 0 21px;overflow-wrap:anywhere; }
.lts-password-code__label {display:block;color:var(--lts-ink,#20344D);font-size:12px;font-weight:800;margin-bottom:11px;}
.lts-password-code__digits {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;max-width:460px;position:relative;margin:0 0 12px;cursor:text;}
.lts-password-code__digits span {height:58px;border:1.5px solid var(--lts-line,#E9E1D6);border-radius:12px;display:grid;place-items:center;color:var(--lts-ink,#20344D);font-size:24px;font-weight:800;background:#FFF;font-variant-numeric:tabular-nums;}
.lts-password-code__digits span.is-filled { border-color:#C9CCE5; }
.lts-password-code__digits span.is-next { border-color:var(--lts-blue,#4352A6);box-shadow:0 0 0 3px rgba(67,82,166,.08); }
.lts-password-code__digits input {position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;opacity:.015;color:transparent;cursor:text;letter-spacing:1em;font-size:18px;z-index:1;background:transparent;}
.lts-password-code__digits input:focus {outline:0;box-shadow:none;}
.lts-password-code__error {color:#9E2B25;font-size:13px;line-height:1.45;margin:10px 0 0;}
.lts-password-code__resend {text-align:center;font-size:13px;color:var(--lts-ink-soft,#5F6B7A);margin:24px 0 0;}
.lts-password-code__resend button {color:var(--lts-blue,#4352A6);border:0;background:transparent;padding:7px 3px;font:inherit;font-weight:800;cursor:pointer;}
.lts-password-code__resend button:disabled {cursor:default;color:#7B8796;}
.lts-password-code__expired {margin-top:17px;border-radius:14px;padding:12px 14px 14px;background:#FBF3F1;border:1px solid #E6C7C2;text-align:center;}
.lts-password-code__expired p {margin:0 0 10px;color:#9E2B25;font-size:14px;font-weight:750;}
.lts-password-code__expired .lts-auth-recovery__button {margin:0;min-height:44px;}
@media (max-width:560px) {
  .lts-password-code__digits {gap:5px;}
  .lts-password-code__digits span {height:54px;border-radius:10px;font-size:23px;}
}
@media (max-width:360px) {
  .lts-password-code__digits span {height:48px;font-size:21px;}
}

/* v0.15.371 — recovery buttons cannot be clicked during server retry wait. */
.lts-password-code .lts-auth-recovery__button:disabled { cursor:not-allowed; opacity:.65; }


/* v0.15.373 — Recovery uses the same theme-independent viewport as Login.
 * Theme cover/blank WordPress content slots stay beneath this canvas.
 * Center short stages; overflow safely only when viewport/keyboard is too small. */
body.lts-auth-page.lts-auth-viewport-ready > .lts-auth.lts-auth--recovery {
  position: fixed !important;
  inset: var(--lts-auth-top, 68px) 0 0 0 !important;
  z-index: 30;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: var(--lts-parchment, #F6F1E8) !important;
}
body.lts-auth-page.lts-auth-viewport-ready > .lts-auth.lts-auth--recovery > .lts-auth-recovery {
  flex: 0 0 auto;
  width: min(100%, 520px);
  max-width: 100%;
  margin: auto !important;
}
/* Unobtrusive X: no circle until hover, active press or keyboard focus. */
.lts-auth--recovery .lts-auth-recovery__close {
  cursor: pointer;
  transition: background-color .14s ease, transform .14s ease, box-shadow .14s ease;
}
@media (hover: hover) {
  .lts-auth--recovery .lts-auth-recovery__close:hover {
    background: rgba(32,52,77,.085) !important;
  }
}
.lts-auth--recovery .lts-auth-recovery__close:active {
  background: rgba(32,52,77,.15) !important;
  transform: scale(.96);
}
.lts-auth--recovery .lts-auth-recovery__close:focus-visible {
  background: rgba(32,52,77,.085) !important;
  outline: 2px solid var(--lts-blue, #4352A6);
  outline-offset: 2px;
}
@media (max-width: 560px) {
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth.lts-auth--recovery {
    padding: 9px 12px !important;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth.lts-auth--recovery > .lts-auth-recovery {
    padding: 19px 19px;
    border-radius: 20px;
  }
  body.lts-auth-page.lts-auth-viewport-ready .lts-auth-recovery h1 {
    font-size: clamp(25px, 7.5vw, 30px);
  }
  body.lts-auth-page.lts-auth-viewport-ready .lts-auth-recovery__form {
    gap: 9px;
    margin-top: 14px;
  }
  body.lts-auth-page.lts-auth-viewport-ready .lts-auth-recovery__form input,
  body.lts-auth-page.lts-auth-viewport-ready .lts-auth-recovery__button {
    min-height: 44px;
  }
  body.lts-auth-page.lts-auth-viewport-ready .lts-password-code__resend {
    margin-top: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lts-auth--recovery .lts-auth-recovery__close { transition: none; }
}

/* v0.15.382: verification has no marketing image; center it on all devices. */
body.lts-auth-page .lts-auth--verify,
body.lts-auth-page.lts-auth-viewport-ready > .lts-auth--verify {
  grid-template-columns: minmax(0, 1fr) !important;
  place-items: center !important;
  padding-inline: 16px;
}
body.lts-auth-page .lts-auth--verify .lts-auth__panel {
  width: min(100%, 510px) !important;
  max-width: 510px;
  margin-inline: auto;
}
body.lts-auth-page .lts-auth--verify input {
  background: #fff;
}
body.lts-auth-page .lts-auth--verify [name="lts_verify_operation"][value="resend"] {
  background: transparent !important;
  color: #20344d !important;
  border: 1px solid #20344d !important;
}

/* v0.15.383 — short, centered confirmation feedback; zero artificial delay. */
.lts-auth-verify-wait[hidden] { display: none !important; }
.lts-auth-verify-wait {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgb(30 49 73 / 25%);
}
.lts-auth-verify-wait__card {
  box-sizing: border-box;
  width: min(100%, 335px);
  padding: 28px 22px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 18px;
  background: #f7f2e9;
  border: 1px solid #e9dfd1;
  border-radius: 22px;
  box-shadow: 0 12px 38px rgb(21 39 62 / 17%);
  color: #20344d;
  text-align: center;
}
.lts-auth-verify-wait__card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
}
.lts-auth-verify-wait__spinner {
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid #d6dcef;
  border-top-color: #4958ae;
  animation: lts-email-verify-spin .7s linear infinite;
}
@keyframes lts-email-verify-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .lts-auth-verify-wait__spinner { animation: none; border-top-color: #20344d; }
}

/* 0.15.387 — password-authenticated new-device verification */
.lts-auth--device {min-height:calc(100vh - 76px);place-items:center;padding:22px 16px 40px}
.lts-auth--device .lts-auth__panel {max-width:520px;background:#fff;border:1px solid #e9e1d6;border-radius:24px;padding:clamp(20px,5vw,34px);box-shadow:0 16px 42px #20344d12}
.lts-auth--device h1 {font-size:clamp(30px,6vw,40px)}
.lts-auth--device .lts-auth__device-form {gap:12px}
.lts-auth__device-form .lts-auth__device-expiry {text-align:center;font-size:13px;color:#5f6b7a;margin:0}
.lts-auth__device-form button:disabled {opacity:.5;cursor:not-allowed}


/* Core 0.15.419 — canonical press response for login/sign-up, never yellow. */
.lts-auth:not(.lts-auth--recovery) .lts-auth__form button[type="submit"] {
  background:var(--lts-blue,#4352A6)!important;
  color:#fff!important;
  box-shadow:none!important;
  -webkit-tap-highlight-color:transparent;
  transition:transform .12s ease, background-color .12s ease, box-shadow .12s ease;
}
.lts-auth:not(.lts-auth--recovery) .lts-auth__form button[type="submit"]:is(:hover,:focus,:focus-visible,:active) {
  background:var(--lts-blue-dark,#3F4FA2)!important;
  color:#fff!important;
}
.lts-auth:not(.lts-auth--recovery) .lts-auth__form button[type="submit"]:active {
  transform:scale(.978);
  box-shadow:inset 0 2px 6px rgba(16,30,76,.24)!important;
}
.lts-auth:not(.lts-auth--recovery) .lts-auth__form button[type="submit"]:focus:not(:focus-visible) {outline:none!important;}
.lts-auth:not(.lts-auth--recovery) .lts-auth__form button[type="submit"]:focus-visible {
  outline:2px solid var(--lts-blue,#4352A6)!important;
  outline-offset:3px;
}
@media(prefers-reduced-motion:reduce) {
  .lts-auth:not(.lts-auth--recovery) .lts-auth__form button[type="submit"] {transition:none;}
  .lts-auth:not(.lts-auth--recovery) .lts-auth__form button[type="submit"]:active {transform:none;}
}

/* Core 0.15.419 — canonical tactile response: no yellow hover/focus/tap states. */
body.lts-auth-page .lts-auth:not(.lts-auth--recovery) .lts-auth__form button[type="submit"]:not(.lts-auth__device-resend),
body.lts-auth-page .lts-auth:not(.lts-auth--recovery) .lts-auth__form button[type="submit"]:not(.lts-auth__device-resend):is(:hover,:focus,:focus-visible,:active),
body.lts-auth-page .lts-auth:not(.lts-auth--recovery) .lts-auth__form button[type="submit"].is-lts-pressed:not(.lts-auth__device-resend) {
  background:var(--lts-blue,#4352A6)!important;
  color:#fff!important;
  border-color:transparent!important;
  -webkit-tap-highlight-color:transparent!important;
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease!important;
  box-shadow:0 3px 10px rgba(32,52,77,.12)!important;
}
body.lts-auth-page .lts-auth:not(.lts-auth--recovery) .lts-auth__form button[type="submit"]:not(.lts-auth__device-resend):is(:active,.is-lts-pressed) {
  transform:translateY(2px) scale(.968)!important;
  box-shadow:inset 0 2px 7px rgba(15,29,65,.24)!important;
  filter:brightness(.94)!important;
}
body.lts-auth-page .lts-auth:not(.lts-auth--recovery) .lts-auth__form button[type="submit"]:focus:not(:focus-visible) {
  outline:none!important;
}
/* Device confirmation uses one primary action and a small text-only resend. */
body.lts-auth-page .lts-auth--device .lts-auth__panel {position:relative!important;padding-top:48px!important}
body.lts-auth-page .lts-auth--device .lts-auth__device-drag-handle {display:none}
body.lts-auth-page .lts-auth--device .lts-auth__device-close {
  position:absolute;top:12px;right:15px;display:flex;align-items:center;justify-content:center;
  width:42px;height:42px;min-height:0!important;margin:0!important;padding:9px;
  border:0!important;border-radius:50%;background:transparent!important;color:var(--lts-ink,#20344d)!important;
  box-shadow:none!important;cursor:pointer;text-decoration:none;z-index:2;-webkit-tap-highlight-color:transparent;
}
body.lts-auth-page .lts-auth--device .lts-auth__device-close svg {height:20px;width:20px;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;fill:none}
body.lts-auth-page .lts-auth--device .lts-auth__device-close:is(:hover,:active,:focus-visible) {background:rgba(67,82,166,.1)!important;color:var(--lts-ink,#20344d)!important}
body.lts-auth-page .lts-auth--device .lts-auth__device-close:active {transform:scale(.92)}
body.lts-auth-page .lts-auth--device .lts-auth__device-close:focus-visible {outline:2px solid var(--lts-blue,#4352A6);outline-offset:2px}
body.lts-auth-page .lts-auth--device .lts-auth__device-form button.lts-auth__device-resend,
body.lts-auth-page .lts-auth--device .lts-auth__device-form button.lts-auth__device-resend:is(:hover,:focus,:focus-visible,:active) {
  display:block;width:fit-content;max-width:100%;min-height:32px!important;height:auto;
  margin:0 auto!important;padding:5px 10px!important;border:0!important;border-radius:8px!important;
  background:transparent!important;color:var(--lts-blue,#4352A6)!important;
  font-size:13px!important;font-weight:700!important;line-height:1.4;text-decoration:underline;
  text-underline-offset:3px;transform:none!important;filter:none!important;
  box-shadow:none!important;-webkit-tap-highlight-color:transparent!important;
}
body.lts-auth-page .lts-auth--device .lts-auth__device-form button.lts-auth__device-resend:disabled {
  color:var(--lts-ink-soft,#5f6b7a)!important;opacity:.82!important;cursor:default!important;
  text-decoration:none!important;
}
body.lts-auth-page .lts-auth--device .lts-auth__device-form button.lts-auth__device-resend:not(:disabled):is(:hover,:focus-visible) {background:rgba(67,82,166,.07)!important}
body.lts-auth-page .lts-auth--device .lts-auth__device-form button.lts-auth__device-resend:focus-visible {outline:2px solid var(--lts-blue,#4352A6)!important;outline-offset:2px}
/* Mobile matches the existing navy full-height settings sheets. */
@media(max-width:780px) {
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth.lts-auth--device,
  body.lts-auth-page > .lts-auth.lts-auth--device {
    position:fixed!important;inset:0!important;z-index:9999!important;
    height:100dvh!important;min-height:0!important;max-height:none!important;
    padding:0!important;margin:0!important;display:block!important;overflow:hidden!important;
    background:rgba(17,29,46,.55)!important;
  }
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth.lts-auth--device .lts-auth__panel,
  body.lts-auth-page > .lts-auth.lts-auth--device .lts-auth__panel {
    position:absolute!important;top:auto!important;bottom:0!important;left:0!important;right:0!important;
    width:100%!important;max-width:none!important;max-height:calc(100dvh - 14px)!important;
    margin:0!important;padding:62px 22px max(30px,env(safe-area-inset-bottom))!important;
    height:calc(100dvh - 14px)!important;
    border:0!important;border-radius:30px 30px 0 0!important;
    background:var(--lts-ink,#20344d)!important;color:#fff!important;
    box-shadow:0 -14px 36px rgba(10,23,44,.16)!important;overflow-y:auto!important;
    justify-content:flex-start!important;transform:translateY(0);
    transition:transform .18s ease!important;overscroll-behavior:contain;
  }
  body.lts-auth-page .lts-auth--device .lts-auth__device-drag-handle {
    display:block;position:absolute;top:0;left:0;width:100%;height:36px;border-radius:30px 30px 0 0;
    background:transparent;transform:none;touch-action:none;
  }
  body.lts-auth-page .lts-auth--device .lts-auth__device-drag-handle::before {
    content:"";position:absolute;top:12px;left:50%;width:50px;height:5px;
    border-radius:9px;background:#9eaaFC;transform:translateX(-50%);
  }
  body.lts-auth-page .lts-auth--device .lts-auth__device-close {top:28px;right:16px;color:#fff!important}
  body.lts-auth-page .lts-auth--device .lts-auth__device-close:is(:hover,:active,:focus-visible) {background:rgba(255,255,255,.12)!important;color:#fff!important}
  body.lts-auth-page .lts-auth--device h1 {color:#fff!important;font-size:clamp(27px,8vw,34px)!important;line-height:1.15}
  body.lts-auth-page .lts-auth--device .lts-auth__switch {color:#d8e0f1!important;margin:15px 0 21px;font-size:14px}
  body.lts-auth-page .lts-auth--device .lts-auth__device-form label {color:#e5ecfc!important}
  body.lts-auth-page .lts-auth--device .lts-auth__device-form input {background:#fff!important;color:#20344d!important}
  body.lts-auth-page .lts-auth--device .lts-auth__device-form .lts-auth__device-expiry {color:#c9d2ea!important}
  body.lts-auth-page .lts-auth--device .lts-auth__device-form button.lts-auth__device-resend:disabled {color:#b4bfd6!important}
  body.lts-auth-page .lts-auth--device .lts-auth__device-form button.lts-auth__device-resend:not(:disabled) {color:#e0e5ff!important}
  body.lts-auth-page .lts-auth--device .lts-auth__device-form button.lts-auth__device-resend:is(:hover,:focus,:active) {background:transparent!important}
  body.lts-auth-page .lts-auth--device .lts-auth__panel.is-lts-device-dragging {transition:none!important}
  body.lts-auth-page .lts-auth--device .lts-auth__panel.is-lts-device-closing {transform:translateY(105%)!important}
  body.lts-auth-page .lts-auth--device .lts-auth__device-drag-handle {cursor:grab}
}
@media(prefers-reduced-motion:reduce) {
  body.lts-auth-page .lts-auth--device .lts-auth__panel {transition:none!important}
  body.lts-auth-page .lts-auth:not(.lts-auth--recovery) .lts-auth__form button[type="submit"] {transition:none!important}
}

/* Core 0.15.420: the device OTP expiry status is invisible until the code
   actually expires; retain expiry enforcement and resend cooldown in JS. */
body.lts-auth-page .lts-auth--device .lts-auth__device-expiry[hidden] {display:none!important}


/* Core 0.15.423 — device verification only: upper-right close and no header gutter.
   The verification canvas already manages its own scrolling; prevent a separate
   WordPress/root scrollbar from leaving a cream strip beside the shared toolbar. */
html:has(body.lts-auth-page.lts-auth-viewport-ready > .lts-auth--device) {
  overflow: hidden !important;
}
@media (min-width: 781px) {
  body.lts-auth-page.lts-auth-viewport-ready > .lts-auth--device .lts-auth__device-close {
    position: fixed !important;
    top: calc(var(--lts-auth-top, 76px) + 16px) !important;
    right: 24px !important;
  }
}
