.auth-page { background: linear-gradient(155deg, #1e513d, var(--nav) 55%); }

.auth-shell {
  display: grid;
  align-content: center;
  gap: 20px;
  width: min(430px, calc(100% - 32px));
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding-block: 26px;
}

.auth-shell .brand { color: #f7fbf6; }
.auth-shell .brand:focus-visible { outline-color: var(--lime); }
.auth-panel { padding: 29px; border-color: #e5ede4; box-shadow: 0 18px 42px #0a211c4d; }
.auth-panel h1 { font-size: clamp(28px, 8vw, 37px); }
.auth-intro { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.auth-form { display: grid; gap: 14px; margin-top: 18px; }
.auth-form .field input { padding-right: 9px; }
.auth-form .button { margin-top: 2px; }
.auth-feedback:not(:empty) { margin-top: 10px; }

.auth-links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 14px;
  margin-top: 8px;
}

.auth-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green);
  font-size: 13px;
  font-weight: 690;
}

.auth-links a:hover { text-decoration: underline; }

@media (max-width: 370px) {
  .auth-panel { padding: 19px; }
}
