@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
@import url("../tokens.css");

body {
  min-height: 100vh;
}

.gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}

.gate-card {
  width: min(440px, 100%);
}

.gate-card h1 {
  margin: 8px 0 6px;
  font-size: 2.4rem;
}

.gate-form {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.gate-label {
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.gate-password {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.gate-stay {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 4px;
  font-weight: 700;
}

.gate-submit {
  width: 100%;
  margin-top: 8px;
}

.gate-error {
  font-weight: 700;
  color: #8a3a2a;
  margin: 12px 0 0;
}

.gate-error:empty {
  display: none;
}

.button:hover,
.button-primary:hover {
  transform: translateY(-5px);
}

/* 2026-09-01 19:14 EDT — grok — User/Admin desk select on Gate. */
.gate-form select.well {
  width: 100%;
  min-height: 44px;
}

/* 2026-09-04 — Claude Opus 5 — the sign-in page had no route to signup and the
   signup page buried its route back here. Both cross-link now. */
.gate-alt {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(35, 49, 13, 0.14);
  color: var(--muted);
  font-weight: 600;
}

.gate-alt a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
