@font-face {
  font-family: 'Public Sans';
  src: url('../fonts/public-sans-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Alshival Lato';
  src: url('../fonts/lato-heavy.ttf') format('truetype');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --auth-paper: #f6f4ef;
  --auth-paper-bright: #fffef9;
  --auth-ink: #0b0c11;
  --auth-muted: #62636b;
  --auth-line: rgba(11, 12, 17, 0.14);
  --auth-cyan: #08a9ef;
  --auth-blue: #2676ff;
  --auth-violet: #7b4dff;
  --auth-pink: #f23aa9;
  --auth-coral: #ff6548;
  --auth-amber: #ffb80f;
  --auth-green: #4dcc86;
  --auth-font: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --auth-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --auth-brand: 'Alshival Lato', 'Public Sans', sans-serif;
}

body,
.page-content {
  background: var(--auth-paper) !important;
}

.auth-landing-page :focus-visible {
  outline: 3px solid var(--auth-blue);
  outline-offset: 3px;
}

.auth-landing-page,
.auth-landing-page button,
.auth-landing-page input,
.auth-landing-page select,
.auth-landing-page textarea {
  font-family: var(--auth-font);
}

.auth-landing-page {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(1.1rem, 2.5vw, 2rem) clamp(1.1rem, 4vw, 4.5rem);
  color: var(--auth-ink);
  background: var(--auth-paper);
}

.auth-landing-page::after {
  content: none;
}

.auth-color-field {
  display: none;
}

.auth-landing-header,
.auth-landing-main,
.auth-landing-footer {
  position: relative;
  z-index: 2;
  width: min(94rem, 100%);
  margin-inline: auto;
}

.auth-landing-header {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--auth-line);
}

.auth-spectrum-text {
  color: transparent !important;
  background: linear-gradient(
    92deg,
    var(--auth-cyan) 5%,
    var(--auth-blue) 27%,
    var(--auth-violet) 48%,
    var(--auth-pink) 70%,
    var(--auth-coral) 88%,
    var(--auth-amber)
  );
  background-clip: text;
  -webkit-background-clip: text;
}

.auth-landing-brand {
  text-decoration: none;
  font-family: var(--auth-brand);
  font-size: 1.32rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
  font-kerning: normal;
  font-feature-settings: 'kern' 1;
}

.auth-brand-wordmark {
  font-family: var(--auth-brand);
  font-weight: 900;
  letter-spacing: -0.035em;
  font-kerning: normal;
  font-feature-settings: 'kern' 1;
  white-space: nowrap;
}

.auth-home-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0;
  color: var(--auth-ink) !important;
  font-size: 0.78rem;
  font-weight: 780;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.auth-home-link:hover {
  color: var(--auth-ink) !important;
  border-color: var(--auth-ink);
  transform: translateX(-2px);
}

.auth-landing-main {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) minmax(27rem, 31rem);
  align-items: center;
  gap: clamp(3rem, 9vw, 9rem);
  padding-block: clamp(3rem, 7vh, 5.5rem);
}

.auth-landing-intro {
  position: relative;
  max-width: 46rem;
  isolation: isolate;
}

.auth-eyebrow,
.auth-kicker {
  margin: 0 0 1rem;
  color: #555760;
  font-family: var(--auth-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.auth-eyebrow > span {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--auth-green);
  box-shadow: 0 0 0 0.28rem rgba(77, 204, 134, 0.16);
}

.auth-landing-intro h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--auth-ink);
  font-size: clamp(4.4rem, 7.7vw, 7.6rem);
  font-weight: 700;
  letter-spacing: -0.078em;
  line-height: 0.88;
  text-wrap: balance;
}

.auth-landing-intro > p:not(.auth-eyebrow) {
  position: relative;
  z-index: 2;
  max-width: 31rem;
  margin: 1.8rem 0 0;
  color: #4b4d55;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.65;
}

.auth-landing-intro strong {
  color: var(--auth-ink);
}

.auth-intro-visual {
  position: absolute;
  top: 48%;
  right: -4rem;
  z-index: -1;
  width: min(31rem, 48vw);
  pointer-events: none;
  transform: translateY(-50%) rotate(-4deg);
}

.auth-intro-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  opacity: 0.22;
  filter: saturate(1.05);
}

.auth-brain-aura {
  position: absolute;
  inset: 12% 8%;
  border-radius: 50%;
  opacity: 0.2;
  background: conic-gradient(
    from 30deg,
    var(--auth-cyan),
    var(--auth-violet),
    var(--auth-pink),
    var(--auth-coral),
    var(--auth-amber),
    var(--auth-cyan)
  );
  filter: blur(3rem);
}

.auth-origin-note {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 31rem;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.4rem;
  padding-top: 1rem;
  color: var(--auth-muted);
  border-top: 1px solid var(--auth-line);
  font-size: 0.78rem;
}

.auth-origin-note i {
  width: 0.48rem;
  height: 0.48rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--auth-green);
  box-shadow: 0 0 0 0.25rem rgba(77, 204, 134, 0.14);
}

.auth-origin-note p {
  margin: 0;
}

.auth-origin-note strong {
  color: var(--auth-ink);
}

.auth-login-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--auth-ink);
  border: 1px solid var(--auth-line);
  border-radius: 1.25rem;
  background: var(--auth-paper-bright);
  box-shadow: 0 1.75rem 4.5rem rgba(11, 12, 17, 0.11);
}

.auth-login-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: '';
  background: linear-gradient(
    90deg,
    var(--auth-cyan),
    var(--auth-blue),
    var(--auth-violet),
    var(--auth-pink),
    var(--auth-coral),
    var(--auth-amber)
  );
}

.auth-card-heading h2 {
  margin: 0;
  color: var(--auth-ink);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.auth-card-heading > p:last-child {
  margin: 0.5rem 0 0;
  color: var(--auth-muted);
  font-size: 0.84rem;
}

.auth-kicker {
  color: var(--auth-violet);
}

.auth-message-stack {
  margin-top: 1.2rem;
}

.auth-message-stack .alert {
  margin-bottom: 0.6rem;
  border-radius: 0.7rem;
  font-size: 0.8rem;
}

.auth-credential-form {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.35rem;
}

.auth-email-flow {
  margin-top: 1.45rem;
}

.auth-passkey-form {
  display: none;
}

.auth-passkey-only-button {
  margin-top: 1.45rem;
}

.auth-email-entry {
  display: grid;
  gap: 0.75rem;
}

.auth-credential-form .form-label,
.auth-email-flow .form-label {
  margin-bottom: 0.4rem;
  color: #34363e;
  font-size: 0.74rem;
  font-weight: 700;
}

.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.auth-label-row a,
.auth-register-link a {
  color: var(--auth-blue) !important;
  font-size: 0.73rem;
  font-weight: 700;
}

.auth-credential-form .form-control,
.auth-email-flow .form-control {
  min-height: 3.15rem;
  padding-inline: 0.85rem;
  color: var(--auth-ink) !important;
  border: 1px solid var(--auth-line);
  border-radius: 0.7rem;
  background: #fff !important;
  box-shadow: none;
}

.auth-credential-form .form-control:focus,
.auth-email-flow .form-control:focus {
  color: var(--auth-ink) !important;
  border-color: var(--auth-blue);
  background: #fff !important;
  box-shadow: 0 0 0 0.2rem rgba(38, 118, 255, 0.14);
}

.auth-method-step {
  display: grid;
  gap: 0.65rem;
  outline: none;
}

.auth-method-step[hidden],
.auth-email-entry[hidden] {
  display: none;
}

.auth-email-summary {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--auth-line);
  border-radius: 0.72rem;
  background: #fff;
}

.auth-email-summary > div {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}

.auth-email-summary span,
.auth-method-label {
  color: #7b7c83;
  font-family: var(--auth-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.auth-email-summary strong {
  overflow: hidden;
  color: var(--auth-ink);
  font-size: 0.8rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-email-summary button {
  flex: 0 0 auto;
  padding: 0;
  color: var(--auth-blue);
  font-size: 0.7rem;
  font-weight: 700;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
}

.auth-email-summary button:hover {
  border-color: currentColor;
}

.auth-method-label {
  margin: 0.35rem 0 0.15rem;
}

.auth-method-button {
  display: flex;
  width: 100%;
  min-height: 3.35rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.85rem;
  color: var(--auth-ink) !important;
  font-family: var(--auth-font);
  font-size: 0.78rem;
  border: 1px solid var(--auth-line);
  border-radius: 0.75rem;
  background: #fff;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.auth-method-button > span {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.auth-method-button strong {
  font-weight: 780;
  letter-spacing: -0.015em;
}

.auth-method-button i {
  color: var(--auth-violet);
  font-size: 1rem;
}

.auth-method-button:hover {
  color: var(--auth-ink) !important;
  border-color: rgba(11, 12, 17, 0.35);
  background: #fff;
  transform: translateY(-1px);
}

.auth-method-button-primary {
  color: #fff !important;
  border-color: var(--auth-ink);
  background: var(--auth-ink);
}

.auth-method-button-primary i,
.auth-method-button-primary:hover {
  color: #fff !important;
}

.auth-method-button-primary:hover {
  border-color: var(--auth-ink);
  background: #171922;
}

.auth-primary-button {
  display: inline-flex;
  width: 100%;
  min-height: 3.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.1rem;
  padding-inline: 1rem;
  color: #fff !important;
  font-family: var(--auth-font);
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: -0.015em;
  border: 1px solid var(--auth-ink) !important;
  border-radius: 0.72rem;
  background: var(--auth-ink) !important;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.auth-primary-button:hover {
  color: #fff !important;
  box-shadow: 0 0.8rem 2rem rgba(11, 12, 17, 0.18);
  transform: translateY(-2px);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0.85rem 0 0.7rem;
  color: #85868d;
  font-family: var(--auth-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.auth-provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.auth-provider-form {
  margin: 0;
}

.auth-login-page .auth-provider-grid > :only-child {
  grid-column: 1 / -1;
}

.auth-provider-button,
.auth-staff-button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  color: var(--auth-ink) !important;
  font-family: var(--auth-font);
  font-size: 0.74rem;
  font-weight: 700;
  border: 1px solid var(--auth-line);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.68);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.auth-provider-button {
  width: 100%;
}

.auth-provider-button:hover,
.auth-staff-button:hover {
  color: var(--auth-ink) !important;
  border-color: rgba(11, 12, 17, 0.35);
  background: #fff;
  transform: translateY(-1px);
}

.auth-provider-button i,
.auth-staff-button i {
  color: var(--auth-violet);
  font-size: 1rem;
}

.auth-provider-button img {
  width: 1rem;
  height: 1rem;
}

.auth-provider-github,
.auth-provider-github:hover {
  color: #fff !important;
  border-color: #24292f;
  background: #24292f;
}

.auth-microsoft-form {
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-provider-microsoft {
  width: 6.5rem;
  min-height: 2.75rem;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.auth-provider-microsoft:hover {
  border-color: transparent;
  background: transparent;
  box-shadow: 0 0.45rem 1.2rem rgba(11, 12, 17, 0.12);
}

.auth-provider-microsoft img {
  width: 6.5rem;
  height: auto;
}

.auth-provider-wide {
  grid-column: 1 / -1;
}

.auth-staff-access {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1.05rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--auth-line);
}

.auth-staff-access > div {
  display: grid;
  gap: 0.15rem;
}

.auth-staff-access strong {
  color: #34363e;
  font-size: 0.74rem;
}

.auth-staff-access span {
  color: #7c7d84;
  font-size: 0.66rem;
}

.auth-staff-button {
  min-height: 2.4rem;
  flex: 0 0 auto;
  padding-inline: 0.7rem;
}

.auth-staff-form {
  flex: 0 0 auto;
  margin: 0;
}

.auth-register-link {
  margin: 1.05rem 0 0;
  color: var(--auth-muted);
  font-size: 0.74rem;
  text-align: center;
}

.auth-landing-main-register {
  grid-template-columns: minmax(0, 1fr) minmax(32rem, 38rem);
  gap: clamp(2.5rem, 6vw, 7rem);
}

.auth-register-card {
  padding: clamp(1.35rem, 2.4vw, 1.9rem);
}

.auth-signup-provider-grid > .auth-provider-form:only-child {
  grid-column: 1 / -1;
}

.auth-field-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.auth-terms-check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.55rem;
  color: var(--auth-muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.auth-terms-check input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
  accent-color: var(--auth-violet);
}

.auth-terms-check a {
  color: var(--auth-blue) !important;
  font-weight: 750;
}

.auth-verification-page {
  min-height: 100svh;
}

.auth-verify-main {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(94rem, 100%);
  flex: 1;
  place-items: center;
  margin-inline: auto;
  padding-block: clamp(3rem, 8vh, 6rem);
}

.auth-verify-card {
  width: min(41rem, 100%);
  padding: clamp(1.6rem, 4vw, 3rem);
}

.auth-verify-card h1 {
  margin: 0;
  color: var(--auth-ink);
  font-size: clamp(3.25rem, 8vw, 6.5rem);
  font-weight: 770;
  line-height: 0.88;
  letter-spacing: -0.078em;
}

.auth-verify-lede {
  max-width: 34rem;
  margin: 1.4rem 0 0;
  color: var(--auth-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.auth-verify-lede strong {
  color: var(--auth-ink);
}

.auth-mail-signal {
  position: absolute;
  top: 1.5rem;
  right: 1.7rem;
  display: grid;
  width: 4.5rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--auth-ink);
}

.auth-mail-signal i {
  position: relative;
  z-index: 1;
  font-size: 1.4rem;
}

.auth-mail-orbit {
  position: absolute;
  inset: 0;
  border: 1px solid var(--auth-line);
  border-radius: 50%;
}

.auth-mail-orbit::after {
  position: absolute;
  top: 50%;
  left: -0.25rem;
  width: 0.5rem;
  height: 0.5rem;
  content: '';
  border-radius: 50%;
  background: var(--auth-pink);
  box-shadow: 0 0 0 0.3rem rgba(242, 58, 169, 0.12);
}

.auth-verify-steps {
  display: grid;
  gap: 0;
  margin-top: 1.8rem;
  border-block: 1px solid var(--auth-line);
}

.auth-verify-steps > div {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.8rem;
  padding-block: 0.85rem;
}

.auth-verify-steps > div + div {
  border-top: 1px solid rgba(11, 12, 17, 0.08);
}

.auth-verify-steps > div > span {
  color: var(--auth-violet);
  font: 700 0.62rem var(--auth-mono);
  letter-spacing: 0.07em;
}

.auth-verify-steps p,
.auth-verify-steps strong,
.auth-verify-steps small {
  display: block;
  margin: 0;
}

.auth-verify-steps strong {
  color: var(--auth-ink);
  font-size: 0.8rem;
}

.auth-verify-steps small {
  margin-top: 0.12rem;
  color: var(--auth-muted);
  font-size: 0.69rem;
}

.auth-resend-form {
  margin-top: 1.2rem;
}

.auth-verify-help {
  margin: 0.9rem 0 0;
  color: #777880;
  font-size: 0.68rem;
  text-align: center;
}

.auth-code-page {
  min-height: 100svh;
}

.auth-code-main {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(94rem, 100%);
  flex: 1;
  place-items: center;
  margin-inline: auto;
  padding-block: clamp(2.25rem, 6vh, 4.5rem);
}

.auth-code-card {
  width: min(34rem, 100%);
  padding: clamp(1.6rem, 4vw, 2.6rem);
}

.auth-code-card h1 {
  margin: 0;
  color: var(--auth-ink);
  font-size: clamp(2.85rem, 8vw, 5rem);
  font-weight: 770;
  line-height: 0.9;
  letter-spacing: -0.072em;
}

.auth-code-signal {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--auth-ink);
  border: 1px solid var(--auth-line);
  border-radius: 50%;
  background: var(--auth-paper-bright);
  box-shadow: 0.28rem 0.28rem 0 var(--auth-amber);
}

.auth-code-signal i {
  font-size: 1.15rem;
}

.auth-code-lede {
  margin: 1.15rem 0 0;
  color: var(--auth-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.auth-code-lede strong {
  color: var(--auth-ink);
}

.auth-code-form {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.auth-code-form label {
  color: #34363e;
  font-size: 0.74rem;
  font-weight: 700;
}

.auth-code-input-shell {
  position: relative;
}

.auth-code-input {
  width: 100%;
  min-height: 3.35rem;
  padding: 0.75rem 0.9rem;
  color: var(--auth-ink);
  font: 700 1rem var(--auth-mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid var(--auth-line);
  border-radius: 0.72rem;
  outline: none;
  background: #fff;
}

.auth-code-input:focus {
  border-color: var(--auth-blue);
  box-shadow: 0 0 0 0.2rem rgba(38, 118, 255, 0.14);
}

.auth-code-input[aria-invalid='true'] {
  border-color: #be185d;
}

.auth-code-input-shell.auth-code-enhanced {
  min-height: 3.35rem;
}

.auth-code-enhanced .auth-code-input {
  position: absolute;
  z-index: 2;
  inset: 0;
  min-height: 100%;
  color: transparent;
  caret-color: transparent;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  opacity: 0.001;
  cursor: text;
}

.auth-code-boxes {
  display: flex;
  min-height: 3.35rem;
  align-items: center;
  gap: clamp(0.3rem, 2vw, 0.55rem);
}

.auth-code-boxes[hidden] {
  display: none;
}

.auth-code-box-group {
  display: grid;
  min-width: 0;
  flex: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.18rem, 1.2vw, 0.38rem);
}

.auth-code-box-group i {
  display: grid;
  min-width: 0;
  height: 3.35rem;
  place-items: center;
  color: var(--auth-ink);
  font: 700 clamp(0.82rem, 3vw, 1rem) var(--auth-mono);
  font-style: normal;
  border: 1px solid var(--auth-line);
  border-radius: 0.65rem;
  background: #fff;
  transition:
    border-color 140ms ease,
    background 140ms ease,
    box-shadow 140ms ease;
}

.auth-code-box-group i.is-filled {
  border-color: rgba(123, 77, 255, 0.4);
  background: rgba(123, 77, 255, 0.055);
}

.auth-code-boxes b {
  color: #85868d;
  font: 700 1rem var(--auth-mono);
}

.auth-code-enhanced:focus-within .auth-code-box-group i {
  border-color: var(--auth-blue);
  box-shadow: 0 0 0 0.12rem rgba(38, 118, 255, 0.1);
}

.auth-code-enhanced:has(.auth-code-input[aria-invalid='true']) .auth-code-box-group i {
  border-color: #be185d;
}

.auth-code-errors p {
  margin: 0;
  color: #8d2334;
  font-size: 0.72rem;
  font-weight: 650;
}

.auth-code-secondary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.7rem;
}

.auth-code-secondary-actions form {
  margin: 0;
}

.auth-code-secondary-actions > :only-child {
  grid-column: 1 / -1;
}

.auth-code-secondary-button {
  display: inline-flex;
  width: 100%;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding-inline: 0.75rem;
  color: var(--auth-ink) !important;
  font-family: var(--auth-font);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  border: 1px solid var(--auth-line);
  border-radius: 0.68rem;
  background: rgba(255, 255, 255, 0.72);
}

.auth-code-secondary-button:hover {
  color: var(--auth-ink) !important;
  border-color: rgba(11, 12, 17, 0.35);
  background: #fff;
}

.auth-code-help {
  margin: 0.85rem 0 0;
  color: #777880;
  font-size: 0.68rem;
  line-height: 1.5;
  text-align: center;
}

.auth-error-actions {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.auth-error-home {
  color: var(--auth-blue) !important;
  font-size: 0.74rem;
  font-weight: 750;
  text-align: center;
}

.allauth-auth-page {
  min-height: 100svh;
}

.allauth-auth-main {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(94rem, 100%);
  flex: 1;
  place-items: center;
  margin-inline: auto;
  padding-block: clamp(3rem, 8vh, 6rem);
}

.allauth-auth-card {
  width: min(31rem, 100%);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.allauth-auth-content > h1 {
  margin: 0;
  color: var(--auth-ink);
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 770;
  line-height: 0.92;
  letter-spacing: -0.068em;
}

.allauth-auth-content > h2 {
  margin: 1.4rem 0 0.6rem;
  color: var(--auth-ink);
  font-size: 1rem;
  font-weight: 780;
}

.allauth-auth-content > p {
  margin: 1rem 0 0;
  color: var(--auth-muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.allauth-auth-content a {
  color: var(--auth-blue);
  font-weight: 750;
}

.allauth-auth-content hr {
  height: 1px;
  margin: 1.35rem 0;
  border: 0;
  background: var(--auth-line);
}

.allauth-auth-content form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.allauth-auth-content form > p {
  display: grid;
  gap: 0.4rem;
  margin: 0;
}

.allauth-auth-content label {
  color: #34363e;
  font-size: 0.74rem;
  font-weight: 750;
}

.auth-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.allauth-auth-content input:not([type='hidden']):not([type='checkbox']):not([type='radio']),
.allauth-auth-content textarea,
.allauth-auth-content select {
  width: 100%;
  min-height: 3.05rem;
  padding: 0.72rem 0.85rem;
  color: var(--auth-ink);
  font: 500 0.86rem var(--auth-font);
  border: 1px solid var(--auth-line);
  border-radius: 0.7rem;
  outline: none;
  background: #fff;
  box-shadow: none;
}

.allauth-auth-content input:focus,
.allauth-auth-content textarea:focus,
.allauth-auth-content select:focus {
  border-color: var(--auth-blue);
  box-shadow: 0 0 0 0.2rem rgba(38, 118, 255, 0.14);
}

.allauth-auth-content input[type='checkbox'],
.allauth-auth-content input[type='radio'] {
  accent-color: var(--auth-violet);
}

.allauth-auth-content button,
.allauth-auth-content a[role='button'] {
  display: inline-flex;
  width: 100%;
  min-height: 3.05rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  color: #fff;
  font: 780 0.82rem var(--auth-font);
  cursor: pointer;
  border: 1px solid var(--auth-ink);
  border-radius: 0.72rem;
  background: var(--auth-ink);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.allauth-auth-content button:hover,
.allauth-auth-content a[role='button']:hover {
  color: #fff;
  box-shadow: 0 0.8rem 2rem rgba(11, 12, 17, 0.18);
  transform: translateY(-1px);
}

.allauth-auth-content > a,
.allauth-auth-content > div > a {
  display: block;
  margin-top: 1rem;
  font-size: 0.76rem;
  text-align: center;
}

.allauth-auth-content .errorlist {
  margin: 0 0 0.75rem;
  padding: 0.75rem 0.9rem 0.75rem 1.8rem;
  color: #8d2334;
  border: 1px solid rgba(190, 24, 93, 0.18);
  border-radius: 0.65rem;
  background: rgba(253, 242, 248, 0.9);
  font-size: 0.72rem;
}

.allauth-auth-content form p > span,
.allauth-auth-content .helptext {
  color: #777880;
  font-size: 0.67rem;
  line-height: 1.5;
}

.allauth-message {
  padding: 0.75rem 0.9rem;
  color: #334155;
  border: 1px solid var(--auth-line);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
}

.allauth-message-error {
  color: #8d2334;
  border-color: rgba(190, 24, 93, 0.2);
  background: rgba(253, 242, 248, 0.92);
}

.auth-landing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  color: #777880;
  font-family: var(--auth-mono);
  font-size: 0.58rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  border-top: 1px solid var(--auth-line);
}

.auth-landing-footer nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.auth-landing-footer nav a {
  color: inherit;
  text-decoration: none;
}

.auth-landing-footer nav a:hover {
  color: var(--auth-ink);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.auth-footer-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.auth-footer-status i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--auth-green);
  box-shadow: 0 0 0 0.22rem rgba(77, 204, 134, 0.14);
}

@media (max-width: 920px) {
  .auth-landing-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-block: 3.5rem;
  }

  .auth-landing-intro {
    max-width: 42rem;
  }

  .auth-intro-visual {
    right: -2rem;
    width: min(24rem, 46vw);
  }

  .auth-login-card {
    width: min(32rem, 100%);
    justify-self: center;
  }

  .auth-landing-main-register {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .auth-landing-page {
    padding: 1rem;
  }

  .auth-home-link {
    width: 2.75rem;
    padding: 0;
    justify-content: center;
  }

  .auth-home-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .auth-landing-main {
    padding-block: 3rem;
  }

  .auth-landing-intro h1 {
    font-size: clamp(3.35rem, 15vw, 4.8rem);
  }

  .auth-intro-visual {
    display: none;
  }

  .auth-login-card {
    box-shadow: 0 1.4rem 3rem rgba(11, 12, 17, 0.1);
  }

  .auth-provider-grid {
    grid-template-columns: 1fr;
  }

  .auth-provider-wide {
    grid-column: auto;
  }

  .auth-field-pair {
    grid-template-columns: 1fr;
  }

  .auth-mail-signal {
    top: 1.1rem;
    right: 1.2rem;
    width: 3.5rem;
  }

  .auth-staff-access {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-staff-button {
    width: 100%;
  }

  .auth-landing-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-home-link,
  .auth-method-button,
  .auth-provider-button,
  .auth-staff-button,
  .auth-primary-button {
    transition: none;
  }
}
