.auth-body {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: calc(32px + env(safe-area-inset-top)) 16px calc(32px + env(safe-area-inset-bottom));
}

.auth-shell {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.auth-brand {
  padding: 12px;
}

.auth-logo {
  width: 108px;
  height: 108px;
  display: block;
  margin-bottom: 18px;
  object-fit: contain;
}

.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
  background: #f8fafc;
  border-radius: 16px;
  padding: 6px;
}

.auth-tab {
  border: 0;
  background: transparent;
  border-radius: 12px;
  height: 42px;
  font: inherit;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.auth-tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(28, 36, 52, 0.08);
}

.auth-form .field-label {
  margin-top: 12px;
}

.auth-submit {
  width: 100%;
  margin-top: 20px;
  height: 50px;
  border: 0;
  border-radius: 14px;
  background: #1c2434;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.auth-skip {
  margin: 16px 0 0;
}

.auth-skip a {
  color: var(--ink);
  font-weight: 600;
}

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

  .auth-brand {
    text-align: center;
  }

  .auth-logo {
    margin-inline: auto;
  }

  .auth-brand .subtitle {
    margin-inline: auto;
  }
}
