.auth-page {
  --auth-muted: #c1c9ba;
  --auth-line: #384436;
  margin: 0;
  background: #080b09;
  color: #f3f5ed;
  font: 400 1rem/1.55 var(--font-body, Manrope, sans-serif);
}
.auth-page [hidden] { display: none !important; }
.auth-page :focus-visible { outline: 2px solid #c7ff3f; outline-offset: 3px; }
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  min-block-size: 100svh;
}
.auth-brand {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 38px;
  padding: clamp(28px,5vw,76px);
  border-right: 1px solid var(--auth-line);
  background:
    radial-gradient(ellipse at 85% 75%,#2e4024,transparent 68%),
    repeating-linear-gradient(135deg,#c7ff3f0c 0 1px,transparent 1px 42px),
    #111810;
}
.auth-page--admin .auth-brand {
  background:
    radial-gradient(ellipse at 80% 80%,#34482b,transparent 66%),
    repeating-linear-gradient(135deg,#c7ff3f10 0 1px,transparent 1px 42px),
    #141f15;
}
.auth-logo { display: inline-flex; width: min(100%,235px); border-radius: 4px; }
.auth-logo img { display: block; width: 100%; height: auto; }
.auth-logo--mobile { display: none; }
.auth-story { align-self: center; max-width: 35rem; }
.auth-story h2 {
  margin: 14px 0 18px;
  font: 600 clamp(2.25rem,4.3vw,4.7rem)/1.02 var(--font-display, "Space Grotesk", sans-serif);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.auth-story h2 em { font-style: normal; color: #c7ff3f; }
.auth-story > p:last-child { color: var(--auth-muted); max-width: 34ch; }
.auth-panel {
  align-self: center;
  padding: 46px clamp(24px,5vw,72px);
  min-width: 0;
}
.auth-content { width: min(100%,440px); margin-inline: auto; }
.auth-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #c7ff3f;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.auth-eyebrow::before { content: ""; width: 19px; height: 2px; background: currentColor; }
.auth-content h1 {
  margin: 10px 0 12px;
  font: 600 clamp(2.05rem,3.6vw,3.35rem)/1.03 var(--font-display, "Space Grotesk", sans-serif);
  letter-spacing: -.045em;
}
.auth-intro, .auth-follow-up { color: var(--auth-muted); font-size: .94rem; line-height: 1.55; margin: 0 0 20px; }
.auth-form { display: grid; gap: 16px; margin-top: 20px; }
.auth-field { display: grid; min-width: 0; gap: 6px; }
.auth-field label { font-size: .84rem; font-weight: 750; }
.auth-field input {
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  min-width: 0;
  border: 1px solid #52604d;
  border-radius: 8px;
  padding: 10px 12px;
  color: #f3f5ed;
  background: #101610;
  font: inherit;
}
.auth-field input[aria-invalid="true"] { border-color: #e7ada0; }
.auth-field input::placeholder { color: #aab3a3; }
.auth-password { position: relative; }
.auth-password:has(button:not([hidden])) input { padding-right: 82px; }
.auth-password-toggle {
  position: absolute;
  inset: 3px 3px 3px auto;
  padding-inline: 10px;
  border: 0;
  border-radius: 5px;
  background: #202a1e;
  color: #f3f5ed;
  font: 750 .75rem var(--font-body, Manrope, sans-serif);
  cursor: pointer;
}
.auth-field-help, .auth-field-error { margin: 0; color: var(--auth-muted); font-size: .82rem; line-height: 1.5; }
.auth-field-error { color: #f4b9ad; }
.auth-button, .auth-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  box-sizing: border-box;
  color: #c7ff3f;
  font: 750 .875rem/1.4 var(--font-body, Manrope, sans-serif);
  text-decoration: none;
}
.auth-button {
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #c7ff3f;
  border-radius: 8px;
  background: #c7ff3f;
  color: #142015;
  text-align: left;
  cursor: pointer;
}
.auth-button:hover { background: #d9ff79; }
.auth-button[disabled] { cursor: default; opacity: .55; }
.auth-link:hover, .auth-links a:not(.auth-button):hover { text-decoration: underline; text-underline-offset: 4px; }
.auth-links { display: grid; gap: 4px; padding-top: 13px; margin-top: 19px; border-top: 1px solid var(--auth-line); }
.auth-links p { margin: 0; color: var(--auth-muted); font-size: .86rem; }
.auth-links a:not(.auth-button) { color: #c7ff3f; }
.auth-status {
  padding: 13px 14px;
  margin: 16px 0;
  border: 1px solid #687b44;
  border-left-width: 3px;
  border-radius: 8px;
  background: #172015;
  color: #f3f5ed;
  overflow-wrap: anywhere;
}
.auth-status strong { display: block; margin-bottom: 4px; }
.auth-status p { margin: 0; color: var(--auth-muted); font-size: .89rem; }
.auth-status--error { border-color: #c8897c; background: #251b18; color: #f4b9ad; }
.auth-status--success { border-color: #a4ce66; }
.auth-challenge { min-width: 0; }
.auth-challenge .auth-field-error { margin-top: 6px; }
@media (max-width: 760px) {
  .auth-layout { grid-template-columns: minmax(0,1fr); align-content: start; }
  .auth-brand { display: none; }
  .auth-panel { padding: 29px clamp(18px,6vw,32px) 34px; }
  .auth-logo--mobile { display: inline-flex; width: min(100%,196px); margin-bottom: 30px; }
}
@media (max-width: 760px) and (max-height: 680px) {
  .auth-panel { padding-block-start: 21px; }
  .auth-logo--mobile { margin-bottom: 21px; }
}
