.public-landing {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 24px;
  text-align: center;
}
.public-landing h1 {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
}
.public-landing p {
  margin: 0;
  color: var(--muted);
  max-width: 28rem;
  line-height: 1.5;
}
.public-landing .btn {
  margin-top: 8px;
  min-width: 160px;
}
.public-landing a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}
.public-landing .btn-ghost {
  background: var(--btn-ghost);
  color: var(--ink);
}
.auth-error {
  margin: 0 0 12px;
  color: var(--expense);
  font-size: 14px;
  font-weight: 600;
}
.auth-error[hidden] {
  display: none;
}

/* Публичные auth-страницы: не наследовать overflow кабинета */
body:has(> .auth-gate) {
  overflow: auto;
  min-height: 100%;
  height: auto;
}
html:has(body > .auth-gate) {
  overflow: auto;
  height: auto;
}
