.auth-body {
  min-height: 100vh;
  background: #eef3f1;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.7fr);
  min-height: 100vh;
}

.auth-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 6vw, 72px);
  color: var(--white);
  background: var(--ink);
}

.auth-intro h1 {
  max-width: 760px;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
}

.auth-intro p:not(.eyebrow) {
  max-width: 660px;
  color: #c8d0d4;
  font-size: 1.1rem;
  line-height: 1.65;
}

.app-brand {
  color: var(--white);
}

.app-brand small {
  color: #c8d0d4;
}

.auth-panel {
  align-self: center;
  width: min(460px, calc(100% - 36px));
  margin: 36px auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 22px;
}

.auth-tabs button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.auth-tabs button.is-active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.auth-panel form,
.auth-panel label {
  display: grid;
  gap: 12px;
}

.auth-panel form {
  gap: 18px;
}

.auth-panel label {
  color: var(--ink-soft);
  font-weight: 900;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: #9b2c1f;
}

.auth-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.auth-note a {
  color: var(--teal);
  font-weight: 800;
}

@media (max-width: 820px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-intro {
    min-height: 420px;
  }
}
