.auth-body {
  --auth-background: var(--brand-background);
  --auth-surface: var(--brand-surface);
  --auth-ink: var(--brand-text);
  --auth-muted: var(--brand-text-muted);
  --auth-line: var(--brand-line);
  --auth-input-line: var(--brand-input);
  --auth-accent: var(--brand-primary);
  --auth-button-text: var(--brand-on-primary);
  --auth-alert: var(--brand-danger);
  background: var(--auth-background);
  color: var(--auth-ink);
  height: auto;
  min-height: 100dvh;
  font-size: 1rem;
  user-select: text;
  -webkit-user-select: text;
}


.auth-body::before {
  display: none;
}

.auth-body :focus-visible:not([data-slot]) {
  outline: 2px solid var(--auth-accent);
  outline-offset: 4px;
}

.auth-header {
  width: min(1200px, calc(100% - 96px));
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--auth-line);
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -1px;
}


.auth-home-link {
  color: var(--auth-muted);
  font-size: 14px;
}

.auth-main {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(40px, 8vh, 80px) 24px 64px;
}

.auth-panel {
  width: 100%;
  max-width: 400px;
}

.auth__form-header {
  margin-bottom: 32px;
}

.auth__form-header h1 {
  color: var(--auth-ink);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1px;
}

.auth__form-header p {
  margin-top: 12px;
  color: var(--auth-muted);
  line-height: 1.6;
}

.auth__links {
  margin-top: 24px;
  font-size: 14px;
  text-align: center;
}

.auth__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.auth-home-link:hover,
.auth__links a:hover {
  color: var(--auth-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.auth-flash-mount {
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .auth-header {
    width: calc(100% - 40px);
    min-height: 72px;
  }

  .auth-main {
    padding: 48px 24px;
  }

  .auth__form-header h1 {
    font-size: 28px;
  }
}
