.auth-page {
  min-height: 100vh;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 36px;
  padding: 42px 20px;
}

.auth-brand {
  justify-self: start;
  width: min(100%, 980px);
}

.auth-panel {
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 430px);
  gap: 34px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.auth-panel h1 {
  margin-bottom: 14px;
  font-size: 3rem;
  line-height: 1;
}

.auth-copy {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

#auth-root {
  min-height: 80px;
}

.auth-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--accent);
  color: white;
  font-weight: 850;
  text-decoration: none;
}

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

  .auth-panel h1 {
    font-size: 2.3rem;
  }
}
