





















.auth-page {
  margin: 0;
}

.auth-container h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: normal;
  color: var(--text);
  margin: 0 0 0.25rem;
  line-height: var(--leading-tight);
}

.auth-subtitle {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin: 0 0 1.75rem;
  line-height: var(--leading-body);
}

.auth-field {
  margin-bottom: 1.25rem;
}

.auth-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.auth-field input {
  width: 100%;
}

.auth-field-consent {
  margin-bottom: 1.25rem;
}

.auth-field-consent label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.5;
}

.auth-field-consent input[type="checkbox"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
  width: auto;
}

.auth-submit {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  padding: 0.65rem 1rem;
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-on-fill);
  background: var(--red-fill);
  border: 1px solid var(--red-fill);
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--duration-fast) ease,
              border-color var(--duration-fast) ease;
}

@media (any-hover: hover) {
  .auth-submit:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
  }
}

.auth-submit:active {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: var(--shadow-press);
}

.auth-submit:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

.auth-alternate {
  margin-top: 1.5rem;
}

.auth-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-4) 0;
  font-size: 0.875rem;
  color: var(--text-soft);
  text-transform: lowercase;
}

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





.auth-error-inline {
  --inline-alert-min-height: 1.5rem;
  --inline-alert-margin: 0.75rem 0 0;
  --inline-alert-font-size: 1em;
}

.auth-error {
  color: var(--red);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  padding: 0.6rem 0.75rem;
  background: var(--red-light);
  border-radius: 4px;
  line-height: var(--leading-body);

  animation: bloop var(--duration-bloop) var(--ease-bloop);
}

.auth-notice {
  color: var(--text);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  padding: 0.6rem 0.75rem;
  background: var(--ground);
  border: 1px solid var(--rule-hairline);
  border-radius: 4px;
  line-height: var(--leading-body);

  animation: bloop var(--duration-bloop) var(--ease-bloop);
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.auth-footer a {
  color: var(--red);
  text-decoration: none;
}

@media (any-hover: hover) {
  .auth-footer a:hover {
    text-decoration: underline;
  }
}






.auth-back {
  max-width: 41rem;
  margin: 0 auto var(--gap-half);
  padding: var(--gap-half) var(--gap-half) 0;
}

.auth-back a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  color: var(--text-soft);
  background: var(--ground);
  text-decoration: none;
}

.auth-back-mark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  background: var(--ground);
}

@media (any-hover: hover) {
  .auth-back a:hover .auth-back-mark {
    text-decoration: underline;
  }
}


@media (max-width: 480px) {
  .auth-container h1 {
    font-size: 1.5rem;
  }
}








.auth-facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.35rem 1rem;
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: var(--leading-body);
}

.auth-facts dt {
  color: var(--text-soft);
}

.auth-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .auth-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.1rem;
  }

  .auth-facts dd {
    margin-bottom: 0.5rem;
  }
}

.auth-choices {
  border: 0;
  margin: 0 0 1.25rem;
  padding: 0;
  min-width: 0;
}

.auth-choices legend {
  padding: 0;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-choice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.3rem 0;
  font-size: 0.95rem;
  line-height: var(--leading-body);
  cursor: pointer;
}

.auth-choice input {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.auth-code {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
