.auth-screen {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  place-items: center;
  padding: 34px 20px 24px;
  background:
    radial-gradient(circle at 76% 10%, rgba(236, 202, 35, 0.16), transparent 32%),
    linear-gradient(145deg, #f8f7f2 0%, var(--penzo-bg) 52%, #eceae2 100%);
}

.auth-brand {
  display: flex;
  width: min(100%, 460px);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.auth-brand img {
  width: min(235px, 62vw);
  max-height: 76px;
  object-fit: contain;
  object-position: left center;
}

.auth-brand span {
  padding: 5px 8px;
  border: 1px solid var(--penzo-line-strong);
  border-radius: 999px;
  color: var(--penzo-muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.auth-card {
  width: min(100%, 460px);
  padding: 30px;
  border: 1px solid var(--penzo-line);
  border-radius: var(--radius-xl);
  background: rgba(255, 254, 251, 0.96);
  box-shadow: var(--shadow-lg);
}

.auth-intro {
  margin-bottom: 25px;
}

.auth-kicker {
  color: var(--penzo-warning);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.auth-intro h1 {
  margin: 7px 0 8px;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.auth-intro p {
  margin: 0;
  color: var(--penzo-muted);
  font-size: 11px;
  line-height: 1.65;
}

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

.auth-field {
  display: grid;
  gap: 6px;
}

.auth-field span {
  color: var(--penzo-muted);
  font-size: 9px;
  font-weight: 800;
}

.auth-field input {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid var(--penzo-line);
  border-radius: var(--radius-sm);
  background: var(--penzo-surface);
  font-size: 12px;
}

.auth-field input:focus {
  border-color: var(--penzo-yellow-deep);
  box-shadow: 0 0 0 3px rgba(236, 202, 35, 0.16);
  outline: 0;
}

.auth-error {
  min-height: 16px;
  color: var(--penzo-danger);
  font-size: 10px;
  line-height: 1.4;
}

.auth-submit {
  min-height: 42px;
  margin-top: 2px;
}

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

.auth-security {
  display: grid;
  width: min(100%, 460px);
  gap: 3px;
  color: var(--penzo-muted);
  font-size: 8px;
  line-height: 1.45;
  text-align: center;
}

.auth-security b {
  color: var(--penzo-ink);
  font-size: 9px;
}

@media (max-width: 520px) {
  .auth-screen {
    padding: 22px 14px 18px;
  }

  .auth-card {
    padding: 23px 18px;
  }
}

.auth-back {
  width: 100%;
  min-height: 38px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: var(--border-subtle);
}

.auth-passkey {
  width: 100%;
  justify-content: center;
}

.auth-passkey:disabled {
  opacity: 0.65;
  cursor: wait;
}
