:root {
  --lm-auth-ink: #10233f;
  --lm-auth-muted: #6c7b91;
  --lm-auth-line: #dce5ef;
  --lm-auth-surface: #ffffff;
  --lm-auth-canvas: #f5f8fc;
  --lm-auth-navy: #051225;
  --lm-auth-navy-2: #081b34;
  --lm-auth-cyan: #16d9ff;
  --lm-auth-blue: #246bfe;
  --lm-auth-violet: #845cff;
  --lm-auth-mint: #24e6b4;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--lm-auth-canvas);
  color: var(--lm-auth-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lm-auth-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 229, 239, 0.88);
  display: flex;
  height: 76px;
  justify-content: space-between;
  padding: 0 clamp(24px, 4.2vw, 68px);
  position: relative;
  z-index: 20;
}

.lm-auth-brand {
  align-items: center;
  color: var(--lm-auth-ink);
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.lm-auth-brand:hover {
  color: var(--lm-auth-ink);
}

.lm-auth-brand img {
  height: 39px;
  width: 44px;
}

.lm-auth-brand span {
  display: grid;
  line-height: 1.05;
}

.lm-auth-brand strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lm-auth-brand small {
  color: #4d76a5;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.24em;
  margin-top: 4px;
  text-transform: uppercase;
}

.lm-auth-header__actions {
  align-items: center;
  display: flex;
  gap: 28px;
}

.lm-auth-header__actions > a {
  color: #53657b;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.lm-auth-header__actions > a:hover,
.lm-auth-header__actions > a:focus-visible {
  color: var(--lm-auth-blue);
}

.lm-auth-secure-pill {
  align-items: center;
  background: #eef5ff;
  border: 1px solid #d8e6f8;
  border-radius: 999px;
  color: #315b88;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 7px;
  padding: 8px 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lm-auth-page {
  min-height: calc(100vh - 76px);
  padding: clamp(18px, 2.2vw, 32px);
}

.lm-auth-shell {
  background: var(--lm-auth-surface);
  border: 1px solid rgba(209, 221, 234, 0.86);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(22, 44, 78, 0.12);
  display: grid;
  grid-template-columns: minmax(470px, 0.86fr) minmax(560px, 1.14fr);
  margin: 0 auto;
  max-width: 1376px;
  min-height: calc(100vh - 116px);
  overflow: hidden;
}

.lm-auth-form-panel {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 54px clamp(48px, 5.2vw, 86px);
}

.lm-auth-form-wrap {
  max-width: 440px;
  width: 100%;
}

.lm-auth-trust-label,
.lm-auth-network-label {
  align-items: center;
  display: inline-flex;
  font-size: 11.5px;
  font-weight: 800;
  gap: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lm-auth-trust-label {
  color: #59708a;
}

.lm-auth-trust-label__dot,
.lm-auth-network-label > span {
  background: var(--lm-auth-mint);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(36, 230, 180, 0.13), 0 0 16px rgba(36, 230, 180, 0.55);
  height: 7px;
  width: 7px;
}

.lm-auth-intro {
  margin: 22px 0 28px;
}

.lm-auth-eyebrow {
  color: var(--lm-auth-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.lm-auth-intro h1 {
  color: var(--lm-auth-ink);
  font-size: clamp(32px, 2.6vw, 43px);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.07;
  margin: 0;
}

.lm-auth-intro h1 span {
  background: linear-gradient(105deg, #1265e8 4%, #7656e8 58%, #14a8c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lm-auth-intro > p:last-child {
  color: var(--lm-auth-muted);
  font-size: 13px;
  line-height: 1.65;
  margin: 16px 0 0;
  max-width: 420px;
}

.lm-auth-alert {
  align-items: flex-start;
  background: #fff2f4;
  border: 1px solid #ffcbd2;
  border-radius: 12px;
  color: #a6283b;
  display: flex;
  font-size: 12px;
  gap: 9px;
  line-height: 1.5;
  margin-bottom: 18px;
  padding: 12px 14px;
}

.lm-auth-alert svg {
  flex: 0 0 auto;
  margin-top: 1px;
}

.lm-auth-feedback {
  background: #fff2f4;
  border: 1px solid #ffcbd2;
  border-radius: 12px;
  color: #a6283b;
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  margin: -2px 0 2px;
  padding: 11px 13px;
}

.lm-auth-feedback.alert-success {
  background: #ecfbf5;
  border-color: #afe8d2;
  color: #126746;
}

.lm-auth-feedback.d-none,
.lm-auth-feedback[hidden] {
  display: none;
}

.lm-auth-google {
  align-items: center;
  background: #fff;
  border: 1px solid var(--lm-auth-line);
  border-radius: 12px;
  color: #283a50;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 11px;
  height: 48px;
  justify-content: center;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.lm-auth-google:hover,
.lm-auth-google:focus-visible {
  border-color: #a9c6ec;
  box-shadow: 0 8px 22px rgba(41, 91, 155, 0.11);
  color: #1f3550;
  transform: translateY(-1px);
}

.lm-auth-divider {
  align-items: center;
  color: #8997a9;
  display: flex;
  font-size: 10px;
  gap: 12px;
  justify-content: center;
  margin: 18px 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lm-auth-divider::before,
.lm-auth-divider::after {
  background: var(--lm-auth-line);
  content: "";
  height: 1px;
  width: 100%;
}

.lm-auth-divider span {
  flex: 0 0 auto;
}

.lm-auth-form {
  display: grid;
  gap: 16px;
}

.lm-auth-form--signup {
  gap: 12px;
}

.lm-auth-signup-step {
  display: grid;
  gap: 12px;
}

.lm-auth-signup-step[hidden] {
  display: none !important;
}

.lm-auth-step-progress {
  align-items: center;
  color: #6f8096;
  display: flex;
  font-size: 10px;
  font-weight: 750;
  gap: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lm-auth-step-progress__track {
  background: #e5edf6;
  border-radius: 999px;
  display: block;
  flex: 1 1 auto;
  height: 4px;
  overflow: hidden;
}

.lm-auth-step-progress__track i {
  background: linear-gradient(90deg, #1c61ee, #713ee3);
  border-radius: inherit;
  display: block;
  height: 100%;
  width: 50%;
}

.lm-auth-step-progress__track.is-complete i {
  width: 100%;
}

.lm-auth-step-heading h2 {
  color: #18304d;
  font-size: 18px;
  font-weight: 780;
  line-height: 1.2;
  margin: 0;
}

.lm-auth-step-heading p {
  color: #76869a;
  font-size: 10.5px;
  line-height: 1.4;
  margin: 4px 0 0;
}

.lm-auth-step-heading--compact {
  align-items: baseline;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.lm-auth-step-heading--compact p {
  flex: 0 0 auto;
  margin: 0;
}

.lm-auth-visually-hidden {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.lm-auth-access-options {
  border: 0;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.lm-auth-access-option {
  cursor: pointer;
  margin: 0;
  min-width: 0;
  position: relative;
}

.lm-auth-access-option input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.lm-auth-access-option > span {
  background: #fbfcfe;
  border: 1px solid var(--lm-auth-line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  height: 76px;
  justify-content: center;
  padding: 10px 11px;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.lm-auth-access-option strong {
  color: #28415f;
  font-size: 11px;
  font-weight: 780;
  line-height: 1.25;
}

.lm-auth-access-option small {
  color: #7b8a9d;
  font-size: 8.5px;
  line-height: 1.35;
  margin-top: 4px;
}

.lm-auth-access-option input:checked + span {
  background: #eef5ff;
  border-color: #6da9ff;
  box-shadow: 0 0 0 3px rgba(36, 107, 254, 0.09);
}

.lm-auth-access-option input:focus-visible + span {
  box-shadow: 0 0 0 4px rgba(36, 107, 254, 0.15);
}

.lm-auth-access-option:hover > span {
  border-color: #9fc3f3;
  transform: translateY(-1px);
}

.lm-auth-signup-actions {
  display: grid;
  gap: 9px;
  grid-template-columns: minmax(96px, 0.38fr) minmax(0, 1fr);
}

.lm-auth-signup-actions .lm-auth-submit--secondary {
  margin-top: 2px;
}

.lm-auth-signup-server-result {
  margin-bottom: 12px;
}

.lm-auth-field label {
  color: #34465d;
  display: block;
  font-size: 11px;
  font-weight: 750;
  margin: 0 0 7px;
}

.lm-auth-input-wrap {
  align-items: center;
  background: #fbfcfe;
  border: 1px solid var(--lm-auth-line);
  border-radius: 12px;
  color: #8a98aa;
  display: flex;
  height: 48px;
  padding: 0 14px;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.lm-auth-input-wrap:focus-within {
  background: #fff;
  border-color: #7eb5ff;
  box-shadow: 0 0 0 4px rgba(36, 107, 254, 0.1);
  color: #376cae;
}

.lm-auth-input-wrap > svg {
  flex: 0 0 auto;
}

.lm-auth-input-wrap input {
  background: transparent;
  border: 0;
  color: #20344d;
  flex: 1 1 auto;
  font: inherit;
  font-size: 13px;
  height: 100%;
  min-width: 0;
  outline: 0;
  padding: 0 12px;
}

.lm-auth-input-wrap input::placeholder {
  color: #9aa7b7;
}

.lm-auth-password-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: #62758c;
  display: inline-flex;
  flex: 0 0 auto;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  gap: 5px;
  padding: 5px 0 5px 8px;
}

.lm-auth-password-toggle:hover,
.lm-auth-password-toggle:focus-visible {
  color: var(--lm-auth-blue);
}

.lm-auth-password-toggle svg {
  display: none;
}

.lm-auth-options {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: -2px;
}

.lm-auth-options a,
.lm-auth-create a {
  color: #1b66d9;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.lm-auth-options a:hover,
.lm-auth-options a:focus-visible,
.lm-auth-create a:hover,
.lm-auth-create a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lm-auth-remember {
  align-items: center;
  color: #62738a;
  cursor: pointer;
  display: inline-flex;
  font-size: 11px;
  gap: 8px;
  margin: 0;
  position: relative;
}

.lm-auth-remember input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.lm-auth-remember > span {
  background: #fff;
  border: 1px solid #c9d6e4;
  border-radius: 4px;
  display: inline-grid;
  height: 16px;
  place-items: center;
  width: 16px;
}

.lm-auth-remember input:checked + span {
  background: var(--lm-auth-blue);
  border-color: var(--lm-auth-blue);
}

.lm-auth-remember input:checked + span::after {
  border: solid white;
  border-width: 0 1.5px 1.5px 0;
  content: "";
  height: 7px;
  transform: translateY(-1px) rotate(45deg);
  width: 4px;
}

.lm-auth-remember input:focus-visible + span {
  box-shadow: 0 0 0 4px rgba(36, 107, 254, 0.13);
}

.lm-auth-submit {
  align-items: center;
  background: linear-gradient(100deg, #1c61ee 0%, #5c49e5 56%, #713ee3 100%);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(55, 70, 213, 0.25);
  color: #fff;
  display: flex;
  font-family: inherit;
  font-size: 13px;
  font-weight: 750;
  height: 50px;
  justify-content: center;
  margin-top: 2px;
  position: relative;
  transition: box-shadow 160ms ease, filter 160ms ease, transform 160ms ease;
  width: 100%;
}

.lm-auth-submit svg {
  position: absolute;
  right: 18px;
}

.lm-auth-submit:hover:not(:disabled),
.lm-auth-submit:focus-visible:not(:disabled) {
  box-shadow: 0 16px 34px rgba(55, 70, 213, 0.32);
  color: #fff;
  filter: saturate(1.08);
  transform: translateY(-1px);
}

.lm-auth-submit:disabled {
  cursor: wait;
  opacity: 0.76;
}

.lm-auth-submit--link {
  margin-top: 18px;
  text-decoration: none;
}

.lm-auth-submit--secondary {
  background: #f4f8fd;
  border: 1px solid #d9e5f2;
  box-shadow: none;
  color: #315b88;
  margin-top: 18px;
  text-decoration: none;
}

.lm-auth-submit--secondary:hover,
.lm-auth-submit--secondary:focus-visible {
  box-shadow: 0 12px 26px rgba(41, 91, 155, 0.14);
  color: #1b66d9;
}

.lm-auth-create {
  color: #78879a;
  font-size: 11px;
  margin: 19px 0 0;
  text-align: center;
}

.lm-auth-safety-note {
  align-items: center;
  background: #f4f8fd;
  border: 1px solid #e2eaf4;
  border-radius: 11px;
  color: #718198;
  display: flex;
  font-size: 9.5px;
  gap: 9px;
  line-height: 1.45;
  margin-top: 20px;
  padding: 11px 12px;
}

.lm-auth-safety-note svg {
  color: #4177b8;
  flex: 0 0 auto;
}

.lm-auth-result {
  align-items: flex-start;
  border: 1px solid;
  border-radius: 14px;
  display: flex;
  gap: 12px;
  padding: 16px;
}

.lm-auth-result--success {
  background: #ecfbf5;
  border-color: #afe8d2;
  color: #126746;
}

.lm-auth-result--error {
  background: #fff2f4;
  border-color: #ffcbd2;
  color: #a6283b;
}

.lm-auth-result--pending {
  background: #fff8e9;
  border-color: #f2d79b;
  color: #7c5a12;
}

.lm-auth-result__icon {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.lm-auth-result strong {
  display: block;
  font-size: 14px;
  line-height: 1.4;
}

.lm-auth-result p {
  font-size: 12px;
  line-height: 1.5;
  margin: 5px 0 0;
}

.lm-auth-request-status {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.lm-auth-request-status article {
  background: #f8fafc;
  border: 1px solid #e0e8f1;
  border-radius: 11px;
  padding: 11px;
}

.lm-auth-request-status small,
.lm-auth-request-status strong {
  display: block;
}

.lm-auth-request-status small {
  color: #8593a5;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lm-auth-request-status strong {
  color: #243b57;
  font-size: 11px;
  margin-top: 4px;
}

.lm-auth-pending-route-note {
  background: #eef6ff;
  border-left: 3px solid #4c91e9;
  border-radius: 8px;
  color: #526a86;
  font-size: 10px;
  line-height: 1.45;
  margin-top: 12px;
  padding: 10px 12px;
}

.lm-auth-intelligence {
  background:
    radial-gradient(circle at 54% 43%, rgba(23, 112, 188, 0.2), transparent 33%),
    linear-gradient(145deg, var(--lm-auth-navy-2), var(--lm-auth-navy) 64%);
  color: #fff;
  overflow: hidden;
  padding: 58px clamp(46px, 5vw, 78px) 42px;
  position: relative;
}

.lm-auth-intelligence__grid {
  background-image:
    linear-gradient(rgba(49, 143, 213, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 143, 213, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  inset: 0;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
  position: absolute;
}

.lm-auth-intelligence__glow {
  background: var(--lm-auth-cyan);
  border-radius: 50%;
  filter: blur(85px);
  height: 200px;
  opacity: 0.09;
  position: absolute;
  right: 7%;
  top: 23%;
  width: 200px;
}

.lm-auth-intelligence__content {
  margin: 0 auto;
  max-width: 650px;
  position: relative;
  z-index: 1;
}

.lm-auth-network-label {
  color: #64dfff;
}

.lm-auth-intelligence h2 {
  color: #f7fbff;
  font-size: clamp(34px, 3.3vw, 50px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 22px 0 12px;
}

.lm-auth-intelligence h2 span {
  background: linear-gradient(90deg, #5fe6ff, #7c7aff 66%, #ab65ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lm-auth-intelligence__lead {
  color: #9fb2cb;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
  max-width: 450px;
}

.lm-auth-brain {
  height: 244px;
  margin: 20px auto 14px;
  position: relative;
  width: 340px;
}

.lm-auth-brain__orbit {
  border: 1px solid rgba(77, 211, 255, 0.19);
  border-radius: 50%;
  left: 50%;
  position: absolute;
  top: 45%;
  transform: translate(-50%, -50%);
}

.lm-auth-brain__orbit::before,
.lm-auth-brain__orbit::after {
  background: rgba(68, 185, 255, 0.17);
  content: "";
  height: 1px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform-origin: left center;
  width: 175px;
}

.lm-auth-brain__orbit::after {
  transform: rotate(120deg);
}

.lm-auth-brain__orbit--outer {
  height: 210px;
  width: 310px;
}

.lm-auth-brain__orbit--inner {
  height: 142px;
  transform: translate(-50%, -50%) rotate(-17deg);
  width: 218px;
}

.lm-auth-brain__core {
  align-items: center;
  background:
    radial-gradient(circle at 35% 30%, rgba(101, 244, 255, 0.24), transparent 35%),
    linear-gradient(145deg, rgba(31, 92, 160, 0.85), rgba(62, 33, 124, 0.88));
  border: 1px solid rgba(127, 225, 255, 0.45);
  border-radius: 29px;
  box-shadow: 0 0 0 11px rgba(30, 116, 186, 0.08), 0 0 58px rgba(33, 177, 255, 0.28);
  color: #7ee9ff;
  display: flex;
  height: 108px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 108px;
}

.lm-auth-brain__node {
  background: var(--lm-auth-cyan);
  border: 4px solid rgba(8, 31, 58, 0.88);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(22, 217, 255, 0.8);
  height: 13px;
  position: absolute;
  width: 13px;
}

.lm-auth-brain__node--one { left: 35px; top: 65px; }
.lm-auth-brain__node--two { right: 50px; top: 42px; background: #9d75ff; box-shadow: 0 0 18px rgba(157, 117, 255, 0.8); }
.lm-auth-brain__node--three { bottom: 45px; right: 77px; background: var(--lm-auth-mint); box-shadow: 0 0 18px rgba(36, 230, 180, 0.8); }

.lm-auth-brain__status {
  background: rgba(7, 27, 52, 0.88);
  border: 1px solid rgba(78, 173, 230, 0.28);
  border-radius: 999px;
  bottom: 3px;
  color: #a7bdd5;
  font-size: 9px;
  font-weight: 700;
  left: 50%;
  letter-spacing: 0.06em;
  padding: 7px 12px;
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}

.lm-auth-brain__status::before {
  background: var(--lm-auth-mint);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(36, 230, 180, 0.8);
  content: "";
  display: inline-block;
  height: 5px;
  margin-right: 7px;
  width: 5px;
}

.lm-auth-capabilities {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lm-auth-capabilities article {
  background: rgba(8, 29, 55, 0.84);
  border: 1px solid rgba(73, 123, 172, 0.24);
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  min-height: 112px;
  padding: 13px;
}

.lm-auth-capabilities__icon {
  align-items: center;
  border-radius: 8px;
  display: flex;
  height: 28px;
  justify-content: center;
  margin-bottom: 11px;
  width: 28px;
}

.lm-auth-capabilities__icon svg {
  height: 16px;
  width: 16px;
}

.lm-auth-capabilities__icon--cyan { background: rgba(22, 217, 255, 0.13); color: #45dcfa; }
.lm-auth-capabilities__icon--violet { background: rgba(132, 92, 255, 0.16); color: #a98dff; }
.lm-auth-capabilities__icon--blue { background: rgba(55, 126, 255, 0.16); color: #76a7ff; }
.lm-auth-capabilities__icon--mint { background: rgba(36, 230, 180, 0.13); color: #50e5bd; }

.lm-auth-capabilities strong {
  color: #e7f1ff;
  font-size: 12.5px;
  font-weight: 750;
}

.lm-auth-capabilities small {
  color: #a9bdd4;
  font-size: 10.5px;
  line-height: 1.4;
  margin-top: 4px;
}

.lm-auth-intelligence__guardrail {
  align-items: center;
  color: #a9bdd4;
  display: flex;
  font-size: 10.5px;
  gap: 7px;
  justify-content: center;
  line-height: 1.45;
  margin: 17px 0 0;
  text-align: center;
}

.lm-auth-intelligence__guardrail svg {
  color: #4da6cd;
  flex: 0 0 auto;
}

.lm-auth-page + .footer {
  display: none;
}

@media (max-width: 1100px) {
  .lm-auth-page {
    padding: 24px;
  }

  .lm-auth-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .lm-auth-form-panel {
    min-height: 760px;
    padding: 70px 64px;
  }

  .lm-auth-form-wrap {
    max-width: 520px;
  }

  .lm-auth-intelligence {
    min-height: 590px;
    padding: 58px 72px 44px;
  }

  .lm-auth-intelligence__content {
    max-width: 620px;
  }
}

@media (min-width: 1101px) and (max-height: 900px) {
  .lm-auth-page {
    padding-block: 18px;
  }

  .lm-auth-shell {
    min-height: calc(100vh - 112px);
  }

  .lm-auth-form-panel {
    padding-block: 28px;
  }

  .lm-auth-intro {
    margin: 13px 0 17px;
  }

  .lm-auth-intro h1 {
    font-size: clamp(30px, 2.25vw, 37px);
  }

  .lm-auth-intro > p:last-child {
    line-height: 1.5;
    margin-top: 10px;
  }

  .lm-auth-google,
  .lm-auth-input-wrap {
    height: 44px;
  }

  .lm-auth-divider {
    margin: 12px 0;
  }

  .lm-auth-form {
    gap: 12px;
  }

  .lm-auth-field label {
    margin-bottom: 5px;
  }

  .lm-auth-submit {
    height: 46px;
  }

  .lm-auth-create {
    margin-top: 12px;
  }

  .lm-auth-safety-note {
    margin-top: 12px;
    padding-block: 8px;
  }

  .lm-auth-intelligence {
    padding-block: 34px 28px;
  }

  .lm-auth-intelligence h2 {
    font-size: clamp(32px, 3vw, 44px);
    margin-top: 14px;
  }

  .lm-auth-brain {
    height: 198px;
    margin-block: 10px 8px;
    transform: scale(0.84);
    transform-origin: center top;
  }

  .lm-auth-capabilities {
    margin-top: -24px;
  }

  .lm-auth-capabilities article {
    min-height: 92px;
  }

  .lm-auth-intelligence__guardrail {
    margin-top: 10px;
  }

  .lm-auth-shell--google .lm-auth-form-panel {
    padding-block: 16px;
  }

  .lm-auth-shell--google .lm-auth-intro {
    margin-block: 9px 13px;
  }

  .lm-auth-shell--google .lm-auth-intro > p:last-child,
  .lm-auth-shell--google .lm-auth-safety-note {
    display: none;
  }

  .lm-auth-shell--google .lm-auth-google,
  .lm-auth-shell--google .lm-auth-input-wrap {
    height: 40px;
  }

  .lm-auth-shell--google .lm-auth-divider {
    font-size: 9px;
    margin-block: 6px;
  }

  .lm-auth-shell--google .lm-auth-form {
    gap: 9px;
  }

  .lm-auth-shell--google .lm-auth-submit {
    height: 42px;
  }

  .lm-auth-shell--google .lm-auth-create {
    margin-top: 7px;
  }

  .lm-auth-shell--signup .lm-auth-form-panel {
    padding-block: 14px;
  }

  .lm-auth-shell--signup .lm-auth-intro {
    margin-block: 9px 13px;
  }

  .lm-auth-shell--signup .lm-auth-intro > p:last-child {
    display: none;
  }

  .lm-auth-shell--signup .lm-auth-divider {
    font-size: 9px;
    margin-block: 5px;
  }

  .lm-auth-shell--signup .lm-auth-form--signup {
    gap: 7px;
  }

  .lm-auth-shell--signup .lm-auth-signup-step {
    gap: 7px;
  }

  .lm-auth-shell--signup .lm-auth-access-option > span {
    height: 64px;
    padding: 8px 9px;
  }

  .lm-auth-shell--signup .lm-auth-signup-server-result {
    margin-bottom: 7px;
    padding: 10px 12px;
  }

  .lm-auth-shell--signup .lm-auth-google,
  .lm-auth-shell--signup .lm-auth-input-wrap {
    height: 40px;
  }

  .lm-auth-shell--signup .lm-auth-submit {
    height: 42px;
  }

  .lm-auth-shell--signup .lm-auth-create {
    margin-top: 6px;
  }

  .lm-auth-shell--signup .lm-auth-safety-note {
    display: none;
  }
}

@media (min-width: 1101px) and (max-height: 760px) {
  .lm-auth-shell--signup .lm-auth-trust-label {
    display: none;
  }

  .lm-auth-shell--signup .lm-auth-form-panel {
    padding-block: 8px;
  }

  .lm-auth-shell--signup .lm-auth-intro {
    margin-block: 3px 7px;
  }

  .lm-auth-shell--signup .lm-auth-intro h1 {
    font-size: 30px;
    line-height: 1.02;
  }

  .lm-auth-shell--signup .lm-auth-google,
  .lm-auth-shell--signup .lm-auth-input-wrap {
    height: 36px;
  }

  .lm-auth-shell--signup .lm-auth-divider {
    margin-block: 3px;
  }

  .lm-auth-shell--signup .lm-auth-form--signup {
    gap: 5px;
  }

  .lm-auth-shell--signup .lm-auth-signup-step {
    gap: 5px;
  }

  .lm-auth-shell--signup .lm-auth-step-progress {
    font-size: 8.5px;
  }

  .lm-auth-shell--signup .lm-auth-step-heading h2 {
    font-size: 15px;
  }

  .lm-auth-shell--signup .lm-auth-step-heading p {
    font-size: 9px;
  }

  .lm-auth-shell--signup .lm-auth-access-option > span {
    height: 54px;
    padding: 7px 8px;
  }

  .lm-auth-shell--signup .lm-auth-access-option small {
    margin-top: 2px;
  }

  .lm-auth-shell--signup .lm-auth-field label {
    margin-bottom: 3px;
  }

  .lm-auth-shell--signup .lm-auth-submit {
    height: 38px;
  }

  .lm-auth-shell--signup .lm-auth-create {
    margin-top: 9px;
  }
}

@media (min-width: 1101px) and (max-height: 700px) {
  .lm-auth-page {
    padding-block: 10px;
  }

  .lm-auth-shell {
    min-height: calc(100vh - 96px);
  }

  .lm-auth-trust-label {
    display: none;
  }

  .lm-auth-form-panel,
  .lm-auth-shell--google .lm-auth-form-panel {
    padding-block: 10px;
  }

  .lm-auth-shell--signup .lm-auth-form-panel {
    padding-block: 4px;
  }

  .lm-auth-intro,
  .lm-auth-shell--google .lm-auth-intro {
    margin-block: 5px 8px;
  }

  .lm-auth-shell--signup .lm-auth-intro {
    margin-block: 2px 5px;
  }

  .lm-auth-shell--signup .lm-auth-feedback {
    font-size: 11px;
    line-height: 1.35;
    margin-block: -2px 0;
    padding: 8px 10px;
  }

  .lm-auth-shell--signup .lm-auth-step-heading p {
    display: none;
  }

  .lm-auth-shell--signup .lm-auth-access-option > span {
    height: 48px;
  }

  .lm-auth-shell--signup .lm-auth-access-option small {
    display: none;
  }

  .lm-auth-shell--signup .lm-auth-signup-server-result {
    margin-bottom: 4px;
    padding: 8px 10px;
  }

  .lm-auth-shell--pending .lm-auth-intro {
    margin-block: 4px 9px;
  }

  .lm-auth-shell--pending .lm-auth-result,
  .lm-auth-shell--pending .lm-auth-request-status article,
  .lm-auth-shell--pending .lm-auth-pending-route-note {
    padding-block: 8px;
  }

  .lm-auth-intelligence {
    padding-block: 18px 14px;
  }

  .lm-auth-intelligence h2 {
    font-size: clamp(30px, 2.6vw, 38px);
    margin-top: 8px;
  }

  .lm-auth-intelligence__lead {
    font-size: 12px;
    line-height: 1.45;
    margin-top: 8px;
  }

  .lm-auth-brain {
    height: 150px;
    margin-block: 4px 2px;
    transform: scale(0.7);
  }

  .lm-auth-capabilities {
    margin-top: -34px;
  }

  .lm-auth-capabilities article {
    min-height: 78px;
    padding: 10px;
  }

  .lm-auth-intelligence__guardrail {
    margin-top: 5px;
  }
}

@media (max-width: 700px) {
  .lm-auth-header {
    height: 66px;
    padding: 0 18px;
  }

  .lm-auth-brand img {
    height: 34px;
    width: 38px;
  }

  .lm-auth-brand strong {
    font-size: 13px;
  }

  .lm-auth-brand small {
    font-size: 7px;
  }

  .lm-auth-header__actions > a {
    display: none;
  }

  .lm-auth-secure-pill {
    font-size: 9px;
    padding: 7px 9px;
  }

  .lm-auth-page {
    min-height: calc(100vh - 66px);
    padding: 0;
  }

  .lm-auth-shell {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .lm-auth-form-panel {
    min-height: auto;
    padding: 42px 24px 38px;
  }

  .lm-auth-intro {
    margin: 18px 0 25px;
  }

  .lm-auth-intro h1 {
    font-size: 32px;
  }

  .lm-auth-intro > p:last-child {
    font-size: 12px;
  }

  .lm-auth-password-toggle span {
    display: none;
  }

  .lm-auth-password-toggle svg {
    display: block;
  }

  .lm-auth-safety-note {
    align-items: flex-start;
  }

  .lm-auth-access-options {
    grid-template-columns: 1fr;
  }

  .lm-auth-access-option > span {
    height: auto;
    min-height: 62px;
  }

  .lm-auth-signup-actions {
    grid-template-columns: 1fr;
  }

  .lm-auth-signup-actions .lm-auth-submit {
    margin-top: 0;
  }

  .lm-auth-request-status {
    grid-template-columns: 1fr;
  }

  .lm-auth-intelligence {
    min-height: 525px;
    padding: 44px 24px 34px;
  }

  .lm-auth-intelligence h2 {
    font-size: 35px;
  }

  .lm-auth-brain {
    height: 215px;
    margin-left: 50%;
    transform: translateX(-50%) scale(0.86);
    transform-origin: center top;
  }

  .lm-auth-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -18px;
  }

  .lm-auth-capabilities article {
    min-height: 98px;
  }
}

/* Sign-up balance and spacing refinement — tall desktop only. */
.lm-auth-shell--signup .lm-auth-access-option > span {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.lm-auth-shell--signup .lm-auth-access-option strong,
.lm-auth-shell--signup .lm-auth-access-option small {
  text-align: center;
  width: 100%;
}

@media (min-width: 1101px) and (min-height: 901px) {
  .lm-auth-shell--signup .lm-auth-form-wrap {
    max-width: 468px;
  }

  .lm-auth-shell--signup .lm-auth-intro {
    margin-block: 28px 42px;
  }

  .lm-auth-shell--signup .lm-auth-form--signup {
    gap: 26px;
  }

  .lm-auth-shell--signup .lm-auth-signup-step {
    gap: 24px;
  }

  .lm-auth-shell--signup .lm-auth-access-options {
    gap: 16px;
  }

  .lm-auth-shell--signup .lm-auth-access-option > span {
    height: 84px;
  }

  .lm-auth-shell--signup .lm-auth-intelligence {
    padding-block: 64px 40px;
  }

  .lm-auth-shell--signup .lm-auth-intelligence__content {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 650px;
    width: 100%;
  }

  .lm-auth-shell--signup .lm-auth-brain {
    margin-block: 32px 22px;
  }

  .lm-auth-shell--signup .lm-auth-capabilities {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
  }

  .lm-auth-shell--signup .lm-auth-capabilities article {
    min-height: 96px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .lm-auth-brain__core {
    animation: lm-auth-brain-pulse 4.8s ease-in-out infinite;
  }

  .lm-auth-brain__node--one { animation: lm-auth-node-pulse 3.6s ease-in-out infinite; }
  .lm-auth-brain__node--two { animation: lm-auth-node-pulse 3.6s 0.8s ease-in-out infinite; }
  .lm-auth-brain__node--three { animation: lm-auth-node-pulse 3.6s 1.6s ease-in-out infinite; }
}

@keyframes lm-auth-brain-pulse {
  0%, 100% { box-shadow: 0 0 0 11px rgba(30, 116, 186, 0.08), 0 0 48px rgba(33, 177, 255, 0.22); transform: translate(-50%, -50%) scale(1); }
  50% { box-shadow: 0 0 0 15px rgba(30, 116, 186, 0.05), 0 0 68px rgba(33, 177, 255, 0.34); transform: translate(-50%, -50%) scale(1.025); }
}

@keyframes lm-auth-node-pulse {
  0%, 100% { opacity: 0.65; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Sign-up access choices: low-intensity neon acknowledgement. */
@media (prefers-reduced-motion: no-preference) {
  .lm-auth-shell--signup .lm-auth-access-option > span {
    animation: lm-auth-access-choice-neon 6.4s ease-in-out infinite;
  }

  .lm-auth-shell--signup .lm-auth-access-option:nth-child(2) > span {
    animation-delay: -2.1s;
  }

  .lm-auth-shell--signup .lm-auth-access-option:nth-child(3) > span {
    animation-delay: -4.2s;
  }

  .lm-auth-shell--signup .lm-auth-access-option input:checked + span {
    animation-duration: 4.8s;
  }
}

@keyframes lm-auth-access-choice-neon {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(79, 139, 255, 0.025), 0 0 9px rgba(109, 87, 255, 0.045);
  }

  50% {
    box-shadow: 0 0 0 1px rgba(79, 139, 255, 0.14), 0 0 16px rgba(109, 87, 255, 0.12);
  }
}

/* Sign-up right-panel balance for normal laptop-height desktop screens. */
@media (min-width: 1101px) and (max-height: 700px) {
  .lm-auth-shell--signup .lm-auth-intelligence__content {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 620px;
    min-height: 0;
    overflow: hidden;
    width: 100%;
  }

  .lm-auth-shell--signup .lm-auth-brain {
    flex: 0 0 182px;
    height: 182px;
    margin-block: 8px 4px;
    transform: scale(0.82);
    transform-origin: center center;
  }

  .lm-auth-shell--signup .lm-auth-capabilities {
    flex: 0 0 auto;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: auto;
  }

  .lm-auth-shell--signup .lm-auth-capabilities article {
    min-height: 76px;
    padding: 10px 12px;
  }

  .lm-auth-shell--signup .lm-auth-intelligence__guardrail {
    flex: 0 0 auto;
    margin-top: 6px;
  }
}

/* V4: owner-requested left-panel rhythm, compact role choices, and restrained neon. */
.lm-auth-shell--signup .lm-auth-signup-step {
  gap: 18px;
}

.lm-auth-shell--signup .lm-auth-step-progress {
  margin-bottom: 2px;
}

.lm-auth-shell--signup .lm-auth-step-heading {
  margin-bottom: 2px;
}

.lm-auth-shell--signup .lm-auth-access-options {
  gap: 10px;
  margin-block: 1px 3px;
}

.lm-auth-shell--signup .lm-auth-access-option > span {
  height: 56px;
  padding: 7px 10px;
}

.lm-auth-shell--signup .lm-auth-access-option input:checked + span {
  background: linear-gradient(145deg, rgba(239, 246, 255, 0.98), rgba(246, 242, 255, 0.96));
  border-color: #6d9fff;
  box-shadow: 0 0 0 2px rgba(48, 112, 255, 0.09), 0 8px 22px rgba(76, 72, 220, 0.1);
}

.lm-auth-shell--signup .lm-auth-field {
  margin-top: 2px;
}

.lm-auth-shell--signup .lm-auth-submit {
  margin-top: 4px;
}

.lm-auth-shell--signup .lm-auth-create {
  margin-top: 22px;
}

@media (min-width: 1101px) and (max-height: 900px) {
  .lm-auth-shell--signup .lm-auth-signup-step {
    gap: 12px;
  }

  .lm-auth-shell--signup .lm-auth-access-option > span {
    height: 50px;
    padding-block: 6px;
  }

  .lm-auth-shell--signup .lm-auth-create {
    margin-top: 16px;
  }
}

@media (min-width: 1101px) and (max-height: 760px) {
  .lm-auth-shell--signup .lm-auth-signup-step {
    gap: 10px;
  }

  .lm-auth-shell--signup .lm-auth-access-option > span {
    height: 46px;
    padding-block: 5px;
  }

  .lm-auth-shell--signup .lm-auth-create {
    margin-top: 15px;
  }
}

@media (min-width: 1101px) and (max-height: 700px) {
  .lm-auth-shell--signup .lm-auth-signup-step {
    gap: 10px;
  }

  .lm-auth-shell--signup .lm-auth-access-option > span {
    height: 44px;
    padding-block: 4px;
  }

  .lm-auth-shell--signup .lm-auth-create {
    margin-top: 16px;
  }
}

@media (min-width: 1101px) and (min-height: 901px) {
  .lm-auth-shell--signup .lm-auth-access-option > span {
    height: 58px;
  }
}

@media (max-width: 700px) {
  .lm-auth-shell--signup .lm-auth-signup-step {
    gap: 15px;
  }

  .lm-auth-shell--signup .lm-auth-access-options {
    gap: 9px;
  }

  .lm-auth-shell--signup .lm-auth-access-option > span {
    height: 52px;
    min-height: 52px;
    padding-block: 6px;
  }

  .lm-auth-shell--signup .lm-auth-create {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .lm-auth-shell--signup .lm-auth-access-option > span {
    animation: lm-auth-v4-choice-neon 5.8s ease-in-out infinite;
  }

  .lm-auth-shell--signup .lm-auth-access-option:nth-child(2) > span {
    animation-delay: -1.9s;
  }

  .lm-auth-shell--signup .lm-auth-access-option:nth-child(3) > span {
    animation-delay: -3.8s;
  }

  .lm-auth-shell--signup .lm-auth-access-option input:checked + span {
    animation-name: lm-auth-v4-choice-neon-selected;
    animation-duration: 4.8s;
  }
}

@keyframes lm-auth-v4-choice-neon {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(64, 128, 255, 0.025), 0 5px 14px rgba(62, 79, 170, 0.035);
  }

  50% {
    box-shadow: 0 0 0 1px rgba(69, 137, 255, 0.12), 0 7px 18px rgba(111, 74, 230, 0.085);
  }
}

@keyframes lm-auth-v4-choice-neon-selected {
  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(48, 112, 255, 0.09), 0 8px 22px rgba(76, 72, 220, 0.1);
  }

  50% {
    box-shadow: 0 0 0 3px rgba(45, 125, 255, 0.14), 0 10px 28px rgba(111, 65, 227, 0.17);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lm-auth-shell--signup .lm-auth-access-option > span {
    animation: none !important;
  }
}

/* V5: stretch the Sign-up elements across the left panel without outer dead bands. */
@media (min-width: 701px) {
  .lm-auth-shell--signup .lm-auth-form-panel {
    align-items: stretch;
    padding-block: 22px;
  }

  .lm-auth-shell--signup .lm-auth-form-wrap {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    max-width: 468px;
    min-height: 0;
  }

  .lm-auth-shell--signup .lm-auth-form--signup {
    flex: 1 1 auto;
    min-height: 0;
  }

  .lm-auth-shell--signup .lm-auth-signup-step {
    align-content: space-between;
    grid-auto-rows: max-content;
    min-height: 0;
  }

  .lm-auth-shell--signup .lm-auth-intro {
    flex: 0 0 auto;
    margin-block: 14px 22px;
  }

  .lm-auth-shell--signup .lm-auth-create,
  .lm-auth-shell--signup .lm-auth-safety-note,
  .lm-auth-shell--signup .lm-auth-trust-label {
    flex: 0 0 auto;
  }

  .lm-auth-shell--signup .lm-auth-create {
    margin-top: 14px;
  }

  .lm-auth-shell--signup .lm-auth-safety-note {
    margin-top: 14px;
  }
}

@media (min-width: 1101px) and (max-height: 900px) {
  .lm-auth-shell--signup .lm-auth-form-panel {
    padding-block: 10px;
  }

  .lm-auth-shell--signup .lm-auth-intro {
    margin-block: 7px 12px;
  }

  .lm-auth-shell--signup .lm-auth-signup-step {
    gap: 11px;
  }

  .lm-auth-shell--signup .lm-auth-create {
    margin-top: 10px;
  }
}

@media (min-width: 1101px) and (max-height: 760px) {
  .lm-auth-shell--signup .lm-auth-form-panel {
    padding-block: 4px;
  }

  .lm-auth-shell--signup .lm-auth-intro {
    margin-block: 2px 6px;
  }

  .lm-auth-shell--signup .lm-auth-signup-step {
    gap: 8px;
  }

  .lm-auth-shell--signup .lm-auth-create {
    margin-top: 8px;
  }
}

@media (min-width: 1101px) and (max-height: 700px) {
  .lm-auth-shell--signup .lm-auth-form-panel {
    padding-block: 0;
  }

  .lm-auth-shell--signup .lm-auth-intro {
    margin-block: 0 4px;
  }

  .lm-auth-shell--signup .lm-auth-signup-step {
    gap: 8px;
  }

  .lm-auth-shell--signup .lm-auth-create {
    margin-top: 8px;
  }
}

@media (max-width: 700px) {
  .lm-auth-shell--signup .lm-auth-form-panel {
    padding: 26px 20px 24px;
  }
}

/* V6: keep the vertical stretch while restoring a small polished edge cushion. */
@media (min-width: 701px) {
  .lm-auth-shell--signup .lm-auth-form-panel {
    padding-block: 26px;
  }
}

@media (min-width: 1101px) and (max-height: 900px) {
  .lm-auth-shell--signup .lm-auth-form-panel {
    padding-block: 14px;
  }
}

@media (min-width: 1101px) and (max-height: 760px) {
  .lm-auth-shell--signup .lm-auth-form-panel {
    padding-block: 10px;
  }
}

@media (min-width: 1101px) and (max-height: 700px) {
  .lm-auth-shell--signup .lm-auth-form-panel {
    padding-block: 8px;
  }
}

/* V7: halve left-panel spacing, stop gap over-expansion, and preserve the header. */
.lm-auth-shell--signup .lm-auth-signup-step {
  align-content: center;
  gap: 9px;
}

.lm-auth-shell--signup .lm-auth-step-progress,
.lm-auth-shell--signup .lm-auth-step-heading {
  margin-bottom: 1px;
}

.lm-auth-shell--signup .lm-auth-access-options {
  margin-block: 0 2px;
}

.lm-auth-shell--signup .lm-auth-field {
  margin-top: 1px;
}

.lm-auth-shell--signup .lm-auth-submit {
  margin-top: 2px;
}

@media (min-width: 701px) {
  .lm-auth-shell--signup .lm-auth-form-panel {
    padding-block: 13px;
  }

  .lm-auth-shell--signup .lm-auth-intro {
    margin-block: 7px 11px;
  }

  .lm-auth-shell--signup .lm-auth-create,
  .lm-auth-shell--signup .lm-auth-safety-note {
    margin-top: 7px;
  }
}

@media (min-width: 1101px) and (max-height: 900px) {
  .lm-auth-shell--signup .lm-auth-form-panel {
    padding-block: 7px;
  }

  .lm-auth-shell--signup .lm-auth-intro {
    margin-block: 4px 6px;
  }

  .lm-auth-shell--signup .lm-auth-signup-step {
    gap: 6px;
  }

  .lm-auth-shell--signup .lm-auth-create {
    margin-top: 5px;
  }
}

@media (min-width: 1101px) and (max-height: 760px) {
  .lm-auth-shell--signup .lm-auth-form-panel {
    padding-block: 5px;
  }

  .lm-auth-shell--signup .lm-auth-intro {
    margin-block: 1px 3px;
  }

  .lm-auth-shell--signup .lm-auth-signup-step {
    gap: 4px;
  }

  .lm-auth-shell--signup .lm-auth-create {
    margin-top: 4px;
  }
}

@media (min-width: 1101px) and (max-height: 700px) {
  .lm-auth-shell--signup .lm-auth-form-panel {
    padding-block: 4px;
  }

  .lm-auth-shell--signup .lm-auth-intro {
    margin-block: 0 2px;
  }

  .lm-auth-shell--signup .lm-auth-signup-step {
    gap: 4px;
  }

  .lm-auth-shell--signup .lm-auth-create {
    margin-top: 4px;
  }
}

@media (max-width: 700px) {
  .lm-auth-shell--signup .lm-auth-form-panel {
    padding: 13px 20px 12px;
  }

  .lm-auth-shell--signup .lm-auth-signup-step {
    gap: 8px;
  }

  .lm-auth-shell--signup .lm-auth-create {
    margin-top: 10px;
  }
}

/* V8: owner-selected 2x spacing, with an 8px short-desktop master value. */
.lm-auth-shell--signup .lm-auth-signup-step {
  gap: 18px;
}

.lm-auth-shell--signup .lm-auth-step-progress,
.lm-auth-shell--signup .lm-auth-step-heading {
  margin-bottom: 2px;
}

.lm-auth-shell--signup .lm-auth-access-options {
  margin-block: 0 4px;
}

.lm-auth-shell--signup .lm-auth-field {
  margin-top: 2px;
}

.lm-auth-shell--signup .lm-auth-submit {
  margin-top: 4px;
}

@media (min-width: 701px) {
  .lm-auth-shell--signup .lm-auth-form-panel {
    padding-block: 26px;
  }

  .lm-auth-shell--signup .lm-auth-intro {
    margin-block: 14px 22px;
  }

  .lm-auth-shell--signup .lm-auth-create,
  .lm-auth-shell--signup .lm-auth-safety-note {
    margin-top: 14px;
  }
}

@media (min-width: 1101px) and (max-height: 900px) {
  .lm-auth-shell--signup .lm-auth-form-panel {
    padding-block: 14px;
  }

  .lm-auth-shell--signup .lm-auth-intro {
    margin-block: 8px 12px;
  }

  .lm-auth-shell--signup .lm-auth-signup-step {
    gap: 12px;
  }

  .lm-auth-shell--signup .lm-auth-create {
    margin-top: 10px;
  }
}

@media (min-width: 1101px) and (max-height: 760px) {
  .lm-auth-shell--signup .lm-auth-form-panel {
    padding-block: 10px;
  }

  .lm-auth-shell--signup .lm-auth-intro {
    margin-block: 2px 6px;
  }

  .lm-auth-shell--signup .lm-auth-signup-step {
    gap: 8px;
  }

  .lm-auth-shell--signup .lm-auth-create {
    margin-top: 8px;
  }
}

@media (min-width: 1101px) and (max-height: 700px) {
  .lm-auth-shell--signup .lm-auth-form-panel {
    padding-block: 8px;
  }

  .lm-auth-shell--signup .lm-auth-intro {
    margin-block: 0 4px;
  }

  .lm-auth-shell--signup .lm-auth-signup-step {
    gap: 8px;
  }

  .lm-auth-shell--signup .lm-auth-create {
    margin-top: 8px;
  }
}

@media (max-width: 700px) {
  .lm-auth-shell--signup .lm-auth-form-panel {
    padding: 26px 20px 24px;
  }

  .lm-auth-shell--signup .lm-auth-signup-step {
    gap: 16px;
  }

  .lm-auth-shell--signup .lm-auth-create {
    margin-top: 20px;
  }
}

/* V9: move the outer copy groups gently toward the middle without touching the header. */
@media (min-width: 701px) {
  .lm-auth-shell--signup .lm-auth-form-wrap {
    box-sizing: border-box;
    padding-block: 24px;
  }
}

@media (min-width: 1101px) and (max-height: 900px) {
  .lm-auth-shell--signup .lm-auth-form-wrap {
    padding-block: 18px;
  }
}

@media (min-width: 1101px) and (max-height: 760px) {
  .lm-auth-shell--signup .lm-auth-form-wrap {
    padding-block: 14px;
  }
}

@media (min-width: 1101px) and (max-height: 700px) {
  .lm-auth-shell--signup .lm-auth-form-wrap {
    padding-block: 12px;
  }
}

/* V10: owner-selected 16px inward movement on screenshot-sized desktop. */
@media (min-width: 701px) {
  .lm-auth-shell--signup .lm-auth-form-wrap {
    padding-block: 28px;
  }
}

@media (min-width: 1101px) and (max-height: 900px) {
  .lm-auth-shell--signup .lm-auth-form-wrap {
    padding-block: 22px;
  }
}

@media (min-width: 1101px) and (max-height: 760px) {
  .lm-auth-shell--signup .lm-auth-form-wrap {
    padding-block: 18px;
  }
}

@media (min-width: 1101px) and (max-height: 700px) {
  .lm-auth-shell--signup .lm-auth-form-wrap {
    padding-block: 16px;
  }
}

/* V11: owner-requested stronger 24px inward movement on screenshot-sized desktop. */
@media (min-width: 701px) {
  .lm-auth-shell--signup .lm-auth-form-wrap {
    padding-block: 36px;
  }
}

@media (min-width: 1101px) and (max-height: 900px) {
  .lm-auth-shell--signup .lm-auth-form-wrap {
    padding-block: 32px;
  }
}

@media (min-width: 1101px) and (max-height: 760px) {
  .lm-auth-shell--signup .lm-auth-form-wrap {
    padding-block: 28px;
  }
}

@media (min-width: 1101px) and (max-height: 700px) {
  .lm-auth-shell--signup .lm-auth-form-wrap {
    padding-block: 24px;
  }
}

/* V12: owner-selected exact 50px inward movement on screenshot-sized desktop. */
@media (min-width: 701px) {
  .lm-auth-shell--signup .lm-auth-form-wrap {
    padding-block: 62px;
  }
}

@media (min-width: 1101px) and (max-height: 900px) {
  .lm-auth-shell--signup .lm-auth-form-wrap {
    padding-block: 58px;
  }
}

@media (min-width: 1101px) and (max-height: 760px) {
  .lm-auth-shell--signup .lm-auth-form-wrap {
    padding-block: 54px;
  }
}

@media (min-width: 1101px) and (max-height: 700px) {
  .lm-auth-shell--signup .lm-auth-form-wrap {
    padding-block: 50px;
  }
}

/* V13: move only the owner-selected sign-in line upward by exactly 100px. */
@media (min-width: 701px) {
  .lm-auth-shell--signup .lm-auth-create {
    position: relative;
    inset-block-start: -100px;
  }
}

/* V14: owner-requested 25px downward correction from V13, final offset -75px. */
@media (min-width: 701px) {
  .lm-auth-shell--signup .lm-auth-create {
    inset-block-start: -75px;
  }
}

/* Step 2 interaction repair: keep V14 on Step 1, restore the footer below Step 2 actions. */
@media (min-width: 701px) {
  .lm-auth-shell--signup #sign_up_form:has(
    .lm-auth-signup-step[data-signup-step="identity"].is-active:not([hidden])
  ) + .lm-auth-create {
    inset-block-start: 0;
    margin-top: 12px;
  }
}

/* Step 2 compact-desktop fit: remove Step 1's decorative inset without changing Step 1. */
@media (min-width: 1101px) and (max-height: 900px) {
  .lm-auth-shell--signup .lm-auth-form-wrap:has(
    #sign_up_form .lm-auth-signup-step[data-signup-step="identity"].is-active:not([hidden])
  ) .lm-auth-intro > p:last-child {
    display: none;
  }

  .lm-auth-shell--signup .lm-auth-form-panel:has(
    #sign_up_form .lm-auth-signup-step[data-signup-step="identity"].is-active:not([hidden])
  ) {
    padding-block: 4px;
  }

  .lm-auth-shell--signup .lm-auth-form-wrap:has(
    #sign_up_form .lm-auth-signup-step[data-signup-step="identity"].is-active:not([hidden])
  ) {
    padding-block: 12px;
  }

  .lm-auth-shell--signup #sign_up_form:has(
    .lm-auth-signup-step[data-signup-step="identity"].is-active:not([hidden])
  ) .lm-auth-signup-step {
    gap: 6px;
  }
}

@media (min-width: 1101px) and (max-height: 760px) {
  .lm-auth-shell--signup .lm-auth-form-panel:has(
    #sign_up_form .lm-auth-signup-step[data-signup-step="identity"].is-active:not([hidden])
  ) {
    padding-block: 0;
  }

  .lm-auth-shell--signup .lm-auth-form-wrap:has(
    #sign_up_form .lm-auth-signup-step[data-signup-step="identity"].is-active:not([hidden])
  ) {
    padding-block: 0 24px;
  }

  .lm-auth-shell--signup #sign_up_form:has(
    .lm-auth-signup-step[data-signup-step="identity"].is-active:not([hidden])
  ) .lm-auth-signup-step {
    gap: 4px;
  }

  .lm-auth-shell--signup #sign_up_form:has(
    .lm-auth-signup-step[data-signup-step="identity"].is-active:not([hidden])
  ) .lm-auth-step-heading p {
    display: none;
  }

  .lm-auth-shell--signup #sign_up_form:has(
    .lm-auth-signup-step[data-signup-step="identity"].is-active:not([hidden])
  ) .lm-auth-google,
  .lm-auth-shell--signup #sign_up_form:has(
    .lm-auth-signup-step[data-signup-step="identity"].is-active:not([hidden])
  ) .lm-auth-input-wrap {
    height: 33px;
  }

  .lm-auth-shell--signup #sign_up_form:has(
    .lm-auth-signup-step[data-signup-step="identity"].is-active:not([hidden])
  ) .lm-auth-submit {
    height: 36px;
  }
}

@media (min-width: 1101px) and (max-height: 700px) {
  .lm-auth-shell--signup .lm-auth-form-wrap:has(
    #sign_up_form .lm-auth-signup-step[data-signup-step="identity"].is-active:not([hidden])
  ) {
    padding-block: 0 24px;
  }
}

/* Step 2 Back button: preserve readable secondary colors in every interaction state. */
.lm-auth-shell--signup .lm-auth-signup-actions .lm-auth-submit--secondary,
.lm-auth-shell--signup .lm-auth-signup-actions .lm-auth-submit--secondary:hover:not(:disabled),
.lm-auth-shell--signup .lm-auth-signup-actions .lm-auth-submit--secondary:focus:not(:disabled),
.lm-auth-shell--signup .lm-auth-signup-actions .lm-auth-submit--secondary:focus-visible:not(:disabled),
.lm-auth-shell--signup .lm-auth-signup-actions .lm-auth-submit--secondary:active:not(:disabled) {
  background: #f4f8fd;
  border-color: #d9e5f2;
  color: #315b88;
  -webkit-text-fill-color: #315b88;
  filter: none;
}

.lm-auth-shell--signup .lm-auth-signup-actions .lm-auth-submit--secondary > span {
  color: inherit;
}
