.auth-gate {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(12, 31, 43, 0.72);
  backdrop-filter: blur(8px);
}

.auth-card {
  width: min(100%, 28rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2rem 5rem rgba(4, 20, 31, 0.38);
}

.auth-brand-header { display: flex; height: 9.5rem; align-items: flex-end; gap: 1rem; padding: 1rem 1.25rem; background: linear-gradient(120deg, #0f766e, #0b655f); }
.auth-logo {
  display: block;
  width: 7.1rem;
  height: 7.1rem;
  object-fit: contain;
}

.auth-product-name {
  margin: 0 0 0.6rem;
  transform: translateY(-0.625rem);
  color: #fff;
  font-family: "Bahnschrift", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(2rem, 8vw, 3.35rem);
  font-weight: 600;
  font-variation-settings: "wdth" 96, "wght" 600;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.auth-content { padding: clamp(1.4rem, 4vw, 2.4rem); }
.auth-card h2 { margin-bottom: 0.55rem; font-size: 1.45rem; }
.auth-intro { margin-bottom: 1.35rem; color: #526777; font-size: 0.95rem; line-height: 1.5; }
.auth-card form { display: grid; gap: 0.9rem; }

.auth-field { display: grid; gap: 0.4rem; color: #405866; font-size: 0.86rem; font-weight: 750; }
.auth-field input { width: 100%; min-height: 2.8rem; border: 1px solid #c6d5dc; border-radius: 0.65rem; padding: 0 0.75rem; color: var(--ink); background: #fff; }
.auth-field input:focus { border-color: var(--teal); }
.auth-error { min-height: 1.2rem; margin: -0.2rem 0 0; color: var(--red); font-size: 0.82rem; line-height: 1.4; }
.auth-hint { margin: 1rem 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.5; }

@media (max-width: 460px) {
  .auth-brand-header { height: 7.25rem; gap: 0.7rem; padding: 0.8rem 1rem; }
  .auth-logo { width: 5.4rem; height: 5.4rem; }
  .auth-product-name { font-size: 2.25rem; }
  .auth-content { padding: 1.35rem; }
}
