/* ==================================================
   WRENCHMATE AUTH PACKAGE
   Premium 50/50 Auth-Layout aus dem Codex-Handoff.
   ================================================== */

body.auth-split-page {
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #eef0f4;
  color: #171b22;
}

html[data-theme="dark"] body.auth-split-page {
  background: #080b11;
  color: #f7f4ef;
}

.auth-split-shell {
  width: 100%;
  max-width: 100vw;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 50vw) minmax(0, 50vw);
  overflow-x: hidden;
  overflow-y: visible;
}

.auth-hero-panel {
  position: relative;
  width: 50vw;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(28px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-hero-media,
.auth-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.auth-hero-media {
  background-image: url("/static/servicebook/background_wrenchmate.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.auth-hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 10, 16, 0.88), rgba(7, 10, 16, 0.52) 58%, rgba(7, 10, 16, 0.2)),
    radial-gradient(circle at 12% 78%, rgba(47, 107, 255, 0.28), transparent 34%),
    radial-gradient(circle at 74% 18%, rgba(214, 168, 92, 0.2), transparent 28%);
}

html[data-theme="light"] .auth-hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 12, 18, 0.82), rgba(8, 12, 18, 0.46) 58%, rgba(8, 12, 18, 0.12)),
    radial-gradient(circle at 16% 78%, rgba(47, 107, 255, 0.2), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(214, 168, 92, 0.18), transparent 28%);
}

.auth-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  width: max-content;
}

.auth-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2f6bff, #70a7ff);
  box-shadow: 0 14px 34px rgba(47, 107, 255, 0.32);
}

.auth-brand-mark .brand-logo {
  width: 28px;
  height: 28px;
}

.auth-brand-lockup strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.auth-brand-lockup small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.auth-hero-copy {
  max-width: min(620px, 100%);
  color: #fff;
}

.auth-hero-copy .auth-kicker {
  color: #9dc0ff;
  margin-bottom: 20px;
}

.auth-hero-copy h1 {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(3rem, 4.35vw, 5.35rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.auth-hero-copy p {
  max-width: 58ch;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.75;
}

.auth-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.auth-trust-grid article {
  min-height: 118px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(18, 23, 31, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.auth-trust-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #9dc0ff;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.auth-trust-grid strong {
  display: block;
  font-size: 24px;
  letter-spacing: -0.045em;
}

.auth-trust-grid small {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.45;
}

.auth-action-panel {
  width: 50vw;
  min-height: 100dvh;
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: start;
  padding: clamp(24px, 4vw, 56px);
  overflow-y: auto;
  background:
    radial-gradient(circle at 20% 8%, rgba(47, 107, 255, 0.11), transparent 28%),
    linear-gradient(120deg, #fffaf2, #eef2f8 54%, #f8fbff);
}

html[data-theme="dark"] .auth-action-panel {
  background:
    radial-gradient(circle at 72% 12%, rgba(47, 107, 255, 0.18), transparent 32%),
    radial-gradient(circle at 12% 84%, rgba(214, 168, 92, 0.1), transparent 26%),
    linear-gradient(145deg, #10141b, #0b0f15 56%, #070a0f);
}

.auth-action-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 29, 44, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 29, 44, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, #000, transparent 78%);
}

html[data-theme="dark"] .auth-action-panel:before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
}

.auth-action-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
}

.auth-action-card {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  justify-self: center;
  padding: clamp(24px, 3vw, 38px);
  border-radius: 28px;
  background: rgba(255, 252, 244, 0.86);
  border: 1px solid rgba(120, 105, 82, 0.18);
  box-shadow: 0 30px 90px rgba(36, 28, 18, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
}

html[data-theme="dark"] .auth-action-card {
  background: rgba(20, 23, 29, 0.78);
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(214, 168, 92, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.auth-action-card .auth-card-head {
  margin-bottom: 22px;
}

.auth-action-card .auth-card:before,
.auth-action-card:before {
  content: none;
}

.auth-action-card .brand-mark {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
}

.auth-action-card .auth-card-brand h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.auth-action-card .auth-card-brand p {
  max-width: 34ch;
}

.auth-action-card .auth-panel-note {
  background: rgba(214, 168, 92, 0.16);
  border-color: rgba(214, 168, 92, 0.28);
  color: var(--muted);
}

.auth-action-card .auth-form input:not([type="checkbox"]),
.auth-action-card .auth-form select,
.auth-action-card .auth-form textarea {
  min-height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(120, 105, 82, 0.19);
  color: #171b22;
}

html[data-theme="dark"] .auth-action-card .auth-form input:not([type="checkbox"]),
html[data-theme="dark"] .auth-action-card .auth-form select,
html[data-theme="dark"] .auth-action-card .auth-form textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f7f4ef;
}

.auth-action-card .auth-form input:focus,
.auth-action-card .auth-form select:focus,
.auth-action-card .auth-form textarea:focus {
  border-color: rgba(47, 107, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.15), 0 16px 34px rgba(47, 107, 255, 0.12);
}

.auth-action-card .auth-options a,
.auth-action-card .auth-link strong,
.auth-action-card .auth-link:hover {
  color: #2f6bff;
}

.auth-action-card .auth-submit {
  min-height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2f6bff, #5f96ff);
  box-shadow: 0 16px 34px rgba(47, 107, 255, 0.3);
}

.auth-button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.auth-accordion {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.auth-accordion details {
  border-radius: 16px;
  border: 1px solid rgba(120, 105, 82, 0.16);
  background: rgba(255, 255, 255, 0.46);
  overflow: hidden;
}

html[data-theme="dark"] .auth-accordion details {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
}

.auth-accordion summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.auth-accordion summary::-webkit-details-marker {
  display: none;
}

.auth-accordion summary span {
  color: #2f6bff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.auth-accordion summary strong {
  flex: 1;
}

.auth-accordion p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
}

.auth-form-grid,
.auth-workshop-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.auth-workshop-fields {
  margin-top: 2px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(47, 107, 255, 0.18);
  background: rgba(47, 107, 255, 0.06);
}

.auth-workshop-fields.is-collapsed {
  display: none;
}

.auth-footer-links {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 18px;
  padding-top: 28px;
}

.auth-footer-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.auth-footer-links a:hover {
  color: #2f6bff;
}

@media (max-width: 1120px) {
  body.auth-split-page {
    overflow: auto;
  }

  .auth-split-shell {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
    overflow: visible;
  }

  .auth-hero-panel {
    width: 100%;
    min-height: 48vh;
  }

  .auth-action-panel {
    width: 100%;
    min-height: 52vh;
  }
}

@media (max-width: 720px) {
  .auth-hero-panel,
  .auth-action-panel {
    padding: 22px;
  }

  .auth-hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.7rem, 14vw, 4.8rem);
  }

  .auth-trust-grid,
  .auth-form-grid,
  .auth-workshop-fields {
    grid-template-columns: 1fr;
  }

  .auth-action-card {
    padding: 22px;
  }

  .auth-card-head,
  .auth-card-brand {
    align-items: flex-start;
  }
}

/* ==================================================
   AUTH BACKGROUND PACKAGE V1.0.7
   Zentrale Light/Dark Automotive-Bühne mit weicher Überblendung.
   ================================================== */

:root {
  --auth-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --auth-theme-duration: 340ms;
  --auth-blue: #2f6bff;
  --auth-blue-soft: rgba(47, 107, 255, 0.18);
  --auth-amber: #d6a85c;
  --auth-light-text: #171b22;
  --auth-light-muted: #5d646f;
  --auth-light-card: rgba(255, 252, 244, 0.8);
  --auth-light-border: rgba(111, 94, 68, 0.18);
  --auth-dark-text: #f7f4ef;
  --auth-dark-muted: rgba(247, 244, 239, 0.68);
  --auth-dark-card: rgba(15, 19, 27, 0.76);
  --auth-dark-border: rgba(255, 255, 255, 0.12);
}

html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
  transition:
    background-color var(--auth-theme-duration) var(--auth-ease),
    color var(--auth-theme-duration) var(--auth-ease),
    border-color var(--auth-theme-duration) var(--auth-ease),
    box-shadow var(--auth-theme-duration) var(--auth-ease),
    opacity var(--auth-theme-duration) var(--auth-ease),
    filter var(--auth-theme-duration) var(--auth-ease),
    backdrop-filter var(--auth-theme-duration) var(--auth-ease);
}

body.auth-split-page {
  background: #0a0d13;
  color: var(--auth-dark-text);
}

html[data-theme="light"] body.auth-split-page {
  background: #eee8de;
  color: var(--auth-light-text);
}

.auth-split-shell {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 56vw) minmax(420px, 44vw);
  background: #0a0d13;
}

.auth-split-shell.auth-shell {
  padding: 0;
  margin: 0;
  max-width: none;
  z-index: auto;
  flex-direction: initial;
}

.auth-split-shell::before,
.auth-split-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.005);
  transition:
    opacity 360ms var(--auth-ease),
    filter 360ms var(--auth-ease),
    transform 520ms var(--auth-ease);
}

.auth-split-shell::before {
  background-image: url("/static/servicebook/auth-backgrounds/login-bg-dark.png");
  opacity: 1;
  filter: brightness(0.96) contrast(1.05) saturate(1.03);
}

.auth-split-shell::after {
  background-image: url("/static/servicebook/auth-backgrounds/login-bg-light.png");
  opacity: 0;
  filter: brightness(1.02) contrast(1.02) saturate(0.98);
}

html[data-theme="light"] .auth-split-shell {
  background: #eee8de;
}

html[data-theme="light"] .auth-split-shell::before {
  opacity: 0;
}

html[data-theme="light"] .auth-split-shell::after {
  opacity: 1;
}

.auth-split-shell > .auth-hero-panel,
.auth-split-shell > .auth-action-panel {
  width: auto;
  min-width: 0;
}

.auth-hero-media,
.auth-hero-overlay,
.auth-action-panel::before {
  display: none;
}

.auth-hero-panel {
  background: linear-gradient(90deg, rgba(5, 8, 14, 0.22), rgba(5, 8, 14, 0.02));
}

html[data-theme="light"] .auth-hero-panel {
  background: linear-gradient(90deg, rgba(255, 248, 235, 0.04), rgba(255, 248, 235, 0));
}

.auth-action-panel {
  background:
    linear-gradient(90deg, rgba(7, 10, 16, 0.06), rgba(7, 10, 16, 0.34)),
    radial-gradient(circle at 50% 18%, rgba(47, 107, 255, 0.12), transparent 34%);
}

html[data-theme="light"] .auth-action-panel {
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.02), rgba(255, 250, 241, 0.26)),
    radial-gradient(circle at 48% 16%, rgba(47, 107, 255, 0.09), transparent 34%);
}

.auth-action-card {
  background: var(--auth-dark-card);
  border-color: var(--auth-dark-border);
  color: var(--auth-dark-text);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(214, 168, 92, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(1.08);
  -webkit-backdrop-filter: blur(22px) saturate(1.08);
}

html[data-theme="light"] .auth-action-card {
  background: var(--auth-light-card);
  border-color: var(--auth-light-border);
  color: var(--auth-light-text);
  box-shadow:
    0 28px 90px rgba(36, 28, 18, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(20px) saturate(1.04);
  -webkit-backdrop-filter: blur(20px) saturate(1.04);
}

.auth-card-brand h2,
.auth-action-card strong,
.auth-action-card label {
  color: inherit;
}

.auth-card-brand p,
.auth-action-card p,
.auth-action-card .auth-link,
.auth-action-card .auth-options,
.auth-action-card .auth-field span,
.auth-footer-links a {
  color: var(--auth-dark-muted);
}

html[data-theme="light"] .auth-card-brand p,
html[data-theme="light"] .auth-action-card p,
html[data-theme="light"] .auth-action-card .auth-link,
html[data-theme="light"] .auth-action-card .auth-options,
html[data-theme="light"] .auth-action-card .auth-field span,
html[data-theme="light"] .auth-footer-links a {
  color: var(--auth-light-muted);
}

.auth-action-card .auth-form input:not([type="checkbox"]),
.auth-action-card .auth-form select,
.auth-action-card .auth-form textarea {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.13);
  color: var(--auth-dark-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="light"] .auth-action-card .auth-form input:not([type="checkbox"]),
html[data-theme="light"] .auth-action-card .auth-form select,
html[data-theme="light"] .auth-action-card .auth-form textarea {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(111, 94, 68, 0.2);
  color: var(--auth-light-text);
}

.auth-action-card .auth-form input:hover,
.auth-action-card .auth-form select:hover,
.auth-action-card .auth-form textarea:hover {
  border-color: rgba(47, 107, 255, 0.42);
}

.auth-action-card .auth-submit {
  background: linear-gradient(135deg, var(--auth-blue), #689cff);
  box-shadow: 0 16px 36px rgba(47, 107, 255, 0.32);
}

.auth-action-card .auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(47, 107, 255, 0.38);
}

.auth-brand-lockup,
.auth-hero-copy {
  filter: drop-shadow(0 14px 38px rgba(0, 0, 0, 0.28));
}

html[data-theme="light"] .auth-brand-lockup,
html[data-theme="light"] .auth-hero-copy {
  filter: drop-shadow(0 14px 32px rgba(36, 28, 18, 0.18));
}

.auth-trust-grid article {
  background: rgba(12, 16, 24, 0.5);
  border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="light"] .auth-trust-grid article {
  background: rgba(255, 252, 244, 0.42);
  border-color: rgba(255, 255, 255, 0.36);
}

.auth-accordion details,
.auth-alpha-code-box,
.auth-workshop-fields {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="light"] .auth-accordion details,
html[data-theme="light"] .auth-alpha-code-box,
html[data-theme="light"] .auth-workshop-fields {
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(111, 94, 68, 0.15);
}

/* ==================================================
   pre-Alpha V1.0.108 Auth Wordmark, Red Accent & Details Drawer
   ================================================== */

:root {
  --auth-red: #d94a43;
  --auth-red-deep: #a92e2b;
  --auth-red-soft: rgba(217, 74, 67, 0.16);
  --auth-red-line: rgba(217, 74, 67, 0.34);
  --auth-blue: var(--auth-red);
  --auth-blue-soft: var(--auth-red-soft);
}

.auth-brand-wordmark-lockup {
  gap: 10px;
  align-items: flex-start;
  flex-direction: column;
}

.auth-brand-wordmark,
.auth-card-wordmark {
  display: block;
}

.auth-brand-wordmark {
  width: min(300px, 58vw);
}

.auth-card-wordmark {
  width: min(340px, 86vw);
}

.auth-brand-wordmark-image,
.auth-card-wordmark-image {
  display: block;
  width: 100%;
  height: auto;
}

.auth-brand-wordmark-lockup small,
.auth-card-wordmark-lockup small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

html[data-theme="light"] .auth-card-wordmark-lockup small {
  color: rgba(27, 30, 38, 0.68);
}

.auth-action-top {
  justify-content: flex-end;
  min-height: 42px;
}

.auth-route-nav {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 15, 21, 0.46);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .auth-route-nav {
  border-color: rgba(95, 78, 58, 0.14);
  background: rgba(255, 252, 244, 0.58);
}

.auth-route-nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--auth-dark-muted);
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  transition: color 180ms var(--auth-ease), background 180ms var(--auth-ease), transform 180ms var(--auth-ease);
}

html[data-theme="light"] .auth-route-nav a {
  color: var(--auth-light-muted);
}

.auth-route-nav a:hover,
.auth-route-nav a:focus-visible,
.auth-route-nav a.is-active {
  color: #fff;
  outline: none;
  background: linear-gradient(135deg, var(--auth-red-deep), var(--auth-red));
  transform: translateY(-1px);
}

.auth-hero-copy .auth-kicker,
.auth-trust-grid span,
.auth-story-kicker,
.auth-accordion summary span,
.auth-action-card .auth-options a,
.auth-action-card .auth-link strong,
.auth-action-card .auth-link:hover,
.auth-footer-links a:hover {
  color: #f07a72;
}

.auth-action-panel {
  background:
    linear-gradient(90deg, rgba(7, 10, 16, 0.06), rgba(7, 10, 16, 0.34)),
    radial-gradient(circle at 50% 18%, rgba(217, 74, 67, 0.12), transparent 34%);
}

html[data-theme="light"] .auth-action-panel {
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.02), rgba(255, 250, 241, 0.26)),
    radial-gradient(circle at 48% 16%, rgba(217, 74, 67, 0.1), transparent 34%);
}

.auth-action-card .auth-form input:hover,
.auth-action-card .auth-form select:hover,
.auth-action-card .auth-form textarea:hover,
.auth-action-card .auth-form input:focus,
.auth-action-card .auth-form select:focus,
.auth-action-card .auth-form textarea:focus {
  border-color: rgba(217, 74, 67, 0.62);
}

.auth-action-card .auth-form input:focus,
.auth-action-card .auth-form select:focus,
.auth-action-card .auth-form textarea:focus {
  box-shadow: 0 0 0 4px rgba(217, 74, 67, 0.14), 0 16px 34px rgba(217, 74, 67, 0.12);
}

.auth-action-card .auth-submit {
  background: linear-gradient(135deg, var(--auth-red-deep), var(--auth-red));
  box-shadow: 0 16px 36px rgba(169, 46, 43, 0.3);
}

.auth-action-card .auth-submit:hover {
  box-shadow: 0 20px 44px rgba(169, 46, 43, 0.36);
}

.auth-workshop-fields,
.register-form .auth-terms-check {
  border-color: var(--auth-red-line);
  background: var(--auth-red-soft);
}

.auth-detail-drawer {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

.auth-detail-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 14px 16px;
  border: 1px solid rgba(217, 74, 67, 0.22);
  border-radius: 20px;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background:
    linear-gradient(135deg, rgba(217, 74, 67, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 180ms var(--auth-ease), background 180ms var(--auth-ease), transform 180ms var(--auth-ease), box-shadow 180ms var(--auth-ease);
}

html[data-theme="light"] .auth-detail-toggle {
  background:
    linear-gradient(135deg, rgba(217, 74, 67, 0.12), rgba(255, 255, 255, 0.62)),
    rgba(255, 255, 255, 0.58);
}

.auth-detail-toggle:hover,
.auth-detail-toggle:focus-visible,
.auth-detail-drawer.is-open .auth-detail-toggle {
  outline: none;
  border-color: rgba(217, 74, 67, 0.44);
  box-shadow: 0 16px 34px rgba(169, 46, 43, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.auth-detail-toggle span {
  color: #f07a72;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.auth-detail-toggle strong {
  overflow-wrap: anywhere;
}

.auth-detail-toggle em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 900;
}

html[data-theme="light"] .auth-detail-toggle em {
  color: rgba(27, 30, 38, 0.64);
}

.auth-detail-drawer.is-open .auth-detail-toggle em::before {
  content: "Schliessen";
}

.auth-detail-drawer.is-open .auth-detail-toggle em {
  font-size: 0;
}

.auth-detail-drawer.is-open .auth-detail-toggle em::before {
  font-size: 12px;
}

.auth-detail-panel[hidden] {
  display: none !important;
}

.auth-detail-panel {
  overflow: hidden;
  animation: authDetailOpen 300ms var(--auth-ease) both;
}

.auth-premium-story {
  margin-top: 0;
}

@keyframes authDetailOpen {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-demo-access,
.auth-quick-strip {
  display: none !important;
}

@media (max-width: 720px) {
  .auth-brand-wordmark {
    width: min(250px, 76vw);
  }

  .auth-card-wordmark {
    width: min(292px, 82vw);
  }

  .auth-route-nav {
    width: 100%;
  }

  .auth-route-nav a {
    flex: 1;
  }

  .auth-detail-toggle {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 1120px) {
  .auth-split-shell {
    grid-template-columns: 1fr;
  }

  .auth-split-shell::before,
  .auth-split-shell::after {
    background-position: center top;
  }

  .auth-hero-panel {
    min-height: 44vh;
  }

  .auth-action-panel {
    min-height: 56vh;
    background: linear-gradient(180deg, rgba(7, 10, 16, 0.02), rgba(7, 10, 16, 0.42));
  }

  html[data-theme="light"] .auth-action-panel {
    background: linear-gradient(180deg, rgba(255, 250, 241, 0.02), rgba(255, 250, 241, 0.46));
  }
}

@media (max-width: 720px) {
  .auth-split-shell::before,
  .auth-split-shell::after {
    background-position: 42% top;
  }

  .auth-hero-panel {
    min-height: 38vh;
  }

  .auth-action-panel {
    padding-top: 10px;
  }
}

/* ==================================================
   AUTH REGISTER SCALE + PAGE MOTION
   Registrierung bekommt mehr Raum als Login, bleibt aber dieselbe Bühne.
   ================================================== */

@keyframes authHeroEnter {
  from {
    opacity: 0;
    transform: translateX(-18px) scale(0.985);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes authCardEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.975);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.auth-package-v1 .auth-hero-copy,
.auth-package-v1 .auth-trust-grid {
  animation: authHeroEnter 520ms var(--auth-ease) both;
}

.auth-package-v1 .auth-action-card {
  animation: authCardEnter 520ms var(--auth-ease) 90ms both;
  transform-origin: center;
}

.auth-package-v1.auth-leaving .auth-hero-copy,
.auth-package-v1.auth-leaving .auth-trust-grid {
  opacity: 0;
  transform: translateX(-12px) scale(0.99);
  filter: blur(7px);
  transition:
    opacity 180ms var(--auth-ease),
    transform 180ms var(--auth-ease),
    filter 180ms var(--auth-ease);
}

.auth-package-v1.auth-leaving .auth-action-card {
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 180ms var(--auth-ease),
    transform 180ms var(--auth-ease),
    filter 180ms var(--auth-ease);
}

.register-auth-page .auth-split-shell {
  grid-template-columns: 1fr;
}

.register-auth-page .auth-hero-panel {
  position: absolute;
  inset: 0;
  width: 100vw;
  min-height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.register-auth-page .auth-hero-copy {
  max-width: 420px;
  opacity: 0.94;
}

.register-auth-page .auth-hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(2.7rem, 3.8vw, 4.8rem);
}

.register-auth-page .auth-hero-copy p {
  max-width: 48ch;
}

.register-auth-page .auth-trust-grid {
  grid-template-columns: 1fr;
  max-width: 420px;
}

.register-auth-page .auth-action-panel {
  width: 100vw;
  grid-template-rows: auto auto 1fr;
  align-items: start;
  padding-inline: clamp(24px, 3vw, 46px);
  padding-block: clamp(18px, 3vh, 34px);
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.1), rgba(255, 250, 241, 0.32)),
    radial-gradient(circle at 50% 18%, rgba(47, 107, 255, 0.09), transparent 34%);
  z-index: 1;
}

html[data-theme="dark"] .register-auth-page .auth-action-panel {
  background:
    linear-gradient(90deg, rgba(7, 10, 16, 0.08), rgba(7, 10, 16, 0.42)),
    radial-gradient(circle at 50% 18%, rgba(47, 107, 255, 0.12), transparent 34%);
}

.register-auth-page .auth-action-card {
  width: min(100%, 760px);
  margin-top: clamp(14px, 3vh, 28px);
  padding: clamp(24px, 2.6vw, 36px);
}

.register-auth-page .auth-card-head {
  align-items: center;
}

.register-auth-page .auth-card-brand {
  align-items: center;
}

.register-auth-page .auth-card-brand h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.register-auth-page .auth-card-brand p {
  max-width: 44ch;
}

.register-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.register-form .auth-errors,
.register-form .auth-form-grid,
.register-form .auth-terms-check,
.register-form .auth-alpha-code-box,
.register-form .auth-workshop-fields,
.register-form .auth-submit {
  grid-column: 1 / -1;
}

.register-form .auth-form-grid {
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 14px 16px;
}

.register-form .auth-field {
  min-width: 0;
}

.register-form .auth-field span {
  min-height: 18px;
  display: inline-flex;
  align-items: end;
}

.register-form .auth-form-grid .auth-field input,
.register-form .auth-workshop-fields .auth-field input {
  width: 100%;
}

.register-form .auth-terms-check {
  align-items: center;
  min-height: 68px;
  padding: 16px 20px;
  border-radius: 22px;
  border: 1px solid rgba(47, 107, 255, 0.2);
  background: rgba(47, 107, 255, 0.055);
  line-height: 1.55;
}

.register-form .auth-terms-check span {
  display: block;
  font-size: 15px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.register-form .auth-alpha-code-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, auto);
  align-items: center;
  gap: 18px;
  padding: 17px 20px;
  border-radius: 24px;
}

.register-form .auth-alpha-code-box .auth-check {
  min-width: 0;
  overflow-wrap: anywhere;
}

.register-form .auth-alpha-code-box p {
  max-width: 42ch;
}

.register-form .auth-workshop-fields {
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 16px;
  padding: 17px 20px;
  border-radius: 24px;
}

.register-form .auth-workshop-fields .auth-field:last-child:nth-child(odd) {
  grid-column: span 2;
}

.register-form .auth-submit {
  margin-top: 2px;
}

@media (max-width: 1180px) {
  .register-auth-page .auth-split-shell {
    grid-template-columns: 1fr;
  }

  .register-auth-page .auth-hero-panel {
    min-height: 34vh;
  }

  .register-auth-page .auth-trust-grid {
    display: none;
  }

  .register-auth-page .auth-action-card {
    width: min(100%, 820px);
  }
}

@media (max-width: 760px) {
  .register-form .auth-form-grid,
  .register-form .auth-workshop-fields {
    grid-template-columns: 1fr;
  }

  .register-form .auth-workshop-fields .auth-field:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .register-form .auth-alpha-code-box {
    grid-template-columns: 1fr;
  }

  .register-form .auth-terms-check {
    align-items: flex-start;
  }
}


/* ==================================================
   AUTH SCROLL SAFETY PATCH
   Verhindert abgeschnittene Login-/Register-Cards bei Browser-Zoom
   und kleineren Viewport-Höhen. Wichtig: Body scrollt, Panels clippen nicht.
   ================================================== */

body.auth-page.auth-split-page {
  min-height: 100dvh !important;
  height: auto !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body.auth-page.auth-split-page .auth-split-shell {
  min-height: 100dvh !important;
  height: auto !important;
  overflow: visible !important;
}

body.auth-page.auth-split-page .auth-hero-panel,
body.auth-page.auth-split-page .auth-action-panel {
  min-height: 100dvh !important;
  height: auto !important;
}

body.auth-page.auth-split-page .auth-action-panel {
  overflow: visible !important;
  grid-template-rows: auto auto auto !important;
  align-content: center !important;
  align-items: initial !important;
  gap: clamp(18px, 3vh, 28px);
}

body.auth-page.auth-split-page .auth-action-card {
  align-self: center;
  margin-block: clamp(18px, 3vh, 34px);
}

body.auth-page.auth-split-page .auth-footer-links {
  padding-top: 0;
  padding-bottom: max(0px, env(safe-area-inset-bottom));
}

body.register-auth-page.auth-split-page .auth-split-shell {
  min-height: 100dvh !important;
}

body.register-auth-page.auth-split-page .auth-hero-panel {
  min-height: 100% !important;
}

body.register-auth-page.auth-split-page .auth-action-panel {
  min-height: 100dvh !important;
  align-content: start !important;
  grid-template-rows: auto auto auto !important;
  overflow: visible !important;
}

body.register-auth-page.auth-split-page .auth-action-card {
  align-self: start;
  margin-top: clamp(14px, 3vh, 28px);
  margin-bottom: clamp(22px, 4vh, 44px);
}

@media (max-width: 1120px) {
  body.auth-page.auth-split-page .auth-hero-panel,
  body.auth-page.auth-split-page .auth-action-panel {
    min-height: auto !important;
  }

  body.auth-page.auth-split-page .auth-action-panel {
    align-content: start !important;
  }
}

@media (max-height: 760px) {
  body.auth-page.auth-split-page .auth-action-panel {
    align-content: start !important;
  }

  body.auth-page.auth-split-page .auth-action-card {
    align-self: start;
  }
}

/* V1.0.108 final accent override: no blue auth highlights after later legacy blocks. */
body.auth-page {
  --auth-blue: var(--auth-red, #d94a43);
  --auth-blue-soft: var(--auth-red-soft, rgba(217, 74, 67, 0.16));
}

body.auth-page .auth-action-card .auth-submit,
body.auth-page .button.primary.auth-submit {
  background: linear-gradient(135deg, #a92e2b, #d94a43) !important;
  box-shadow: 0 16px 36px rgba(169, 46, 43, 0.3) !important;
}

body.auth-page .auth-action-card .auth-submit:hover,
body.auth-page .button.primary.auth-submit:hover {
  box-shadow: 0 20px 44px rgba(169, 46, 43, 0.36) !important;
}

body.auth-page .auth-action-card .auth-options a,
body.auth-page .auth-action-card .auth-link strong,
body.auth-page .auth-action-card .auth-link:hover,
body.auth-page .auth-story-kicker,
body.auth-page .auth-story-chip span,
body.auth-page .auth-trust-grid span,
body.auth-page .auth-hero-copy .auth-kicker,
body.auth-page .auth-footer-links a:hover {
  color: #f07a72 !important;
}

body.auth-page .auth-story-chip.is-active,
body.auth-page .auth-story-chip:hover,
body.auth-page .auth-action-card .auth-form input:focus,
body.auth-page .auth-action-card .auth-form select:focus,
body.auth-page .auth-action-card .auth-form textarea:focus {
  border-color: rgba(217, 74, 67, 0.52) !important;
}

/* V1.0.216 Separate Login Surface Foundation */
.auth-workshop-entry .auth-hero-panel {
  position: relative;
}

.auth-workshop-entry .auth-hero-panel {
  background:
    radial-gradient(circle at 18% 16%, rgba(220, 38, 38, .12), transparent 32rem),
    linear-gradient(135deg, rgba(18, 16, 14, .98), rgba(6, 8, 12, .98));
}

.auth-product-label {
  display: inline-flex;
  margin-top: .35rem;
  padding: .28rem .55rem;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 8px;
  color: var(--muted, #9aa6b7);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .035);
}

.auth-product-note {
  margin: 1rem 0 1.15rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 12px 28px rgba(0,0,0,.16);
}

.auth-product-note span {
  display: block;
  margin-bottom: .35rem;
  color: var(--accent, #5b9cff);
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.auth-product-note strong {
  display: block;
  color: var(--text, #f8fafc);
  line-height: 1.25;
}

.auth-product-note p {
  margin: .45rem 0 0;
  color: var(--muted, #9aa6b7);
}

.auth-product-note--workshop span {
  color: #f08a7f;
}

.auth-login-primary--workshop {
  border-color: rgba(248, 113, 113, .26);
}

.auth-product-switch {
  display: grid;
  gap: .55rem;
}

.auth-route-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 620px) {
  .auth-route-nav {
    grid-template-columns: 1fr;
  }

  .auth-product-note {
    padding: .9rem;
  }
}
.auth-product-note span {
  color: var(--text-muted, #94a3b8);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.auth-alpha-code-box--separated {
  align-items: center;
}

.auth-alpha-code-box--separated .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .auth-alpha-code-box--separated {
    align-items: stretch;
  }
}

/* V1.0.259 auth entry final polish */
.auth-page .auth-route-nav {
  border-radius: 12px;
  padding: 4px;
  background: rgba(12, 16, 24, .62);
}

html[data-theme="light"] .auth-page .auth-route-nav {
  background: rgba(255, 251, 243, .82);
  border-color: rgba(36, 31, 24, .16);
}

.auth-page .auth-route-nav a {
  min-height: 36px;
  border-radius: 9px;
  padding-inline: 16px;
}

.auth-page .auth-route-nav a.is-active {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 12px 24px rgba(169, 46, 43, .18);
}

.auth-standard-login .auth-brand-wordmark {
  width: min(390px, 68vw);
}

.auth-standard-login .auth-hero-copy {
  max-width: min(700px, 100%);
}

.auth-standard-login .auth-hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.25rem, 4.8vw, 6rem);
  letter-spacing: -0.055em;
}

.auth-standard-login .auth-hero-copy p {
  max-width: 58ch;
  line-height: 1.58;
}

.auth-standard-login .auth-action-card {
  width: min(100%, 560px);
  border-radius: 16px;
}

.auth-standard-login .auth-card-wordmark {
  width: min(300px, 74vw);
}

.auth-standard-login .auth-product-label,
.auth-workshop-entry .auth-product-label,
.register-auth-page .auth-product-label {
  border-radius: 7px;
  background: rgba(255, 255, 255, .05);
}

.auth-standard-login .auth-login-primary,
.auth-workshop-entry .auth-login-primary {
  border-radius: 12px;
}

.register-auth-page .auth-hero-copy h1,
.auth-workshop-entry .auth-hero-copy h1 {
  max-width: 11ch;
  letter-spacing: -0.055em;
}

@media (max-width: 720px) {
  .auth-standard-login .auth-brand-wordmark {
    width: min(292px, 78vw);
  }

  .auth-standard-login .auth-hero-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }
}

/* V1.0.275 auth shell: centered entry tabs, no duplicate card logo, calmer motion */
body.auth-page .auth-action-panel {
  gap: clamp(22px, 3.8vh, 40px);
}

body.auth-page .auth-action-top {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(54px, 6vh, 68px);
  width: min(100%, 620px);
  margin-inline: auto;
}

body.auth-page .auth-route-nav {
  width: min(100%, 470px);
  padding: 6px;
  border-radius: 15px;
  border: 1px solid rgba(148, 163, 184, .22);
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    rgba(9, 14, 23, .72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 16px 38px rgba(0,0,0,.2);
}

body.auth-page .auth-route-nav a {
  min-height: 43px;
  padding-inline: clamp(14px, 1.4vw, 24px);
  border-radius: 11px;
  font-size: .82rem;
  letter-spacing: .02em;
}

body.auth-page .auth-route-nav a.is-active {
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--auth-red, #d94a43) 88%, #fff 4%),
      color-mix(in srgb, var(--auth-red, #d94a43) 72%, #1d2430 12%));
  color: #fff !important;
}

body.auth-page .auth-card-head--wordmark-only,
body.auth-page .auth-card-wordmark-lockup {
  display: none !important;
}

body.auth-page .auth-action-card {
  width: min(100%, 590px);
  padding: clamp(28px, 3.4vw, 44px);
}

body.auth-page .auth-action-card > :first-child {
  margin-top: 0;
}

body.auth-page .auth-hero-panel {
  isolation: isolate;
  overflow: hidden;
  padding-bottom: clamp(48px, 8vh, 96px);
}

body.auth-page .auth-hero-panel::before,
body.auth-page .auth-hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body.auth-page .auth-hero-panel::before {
  opacity: .38;
  background:
    linear-gradient(112deg,
      transparent 0%,
      transparent 42%,
      rgba(var(--wm-glint-light),.05) 47%,
      rgba(var(--wm-glint-light),.22) 50%,
      rgba(var(--wm-glint-light),.05) 53%,
      transparent 58%,
      transparent 100%);
  transform: translateX(-115%);
  animation: authPremiumChromeSweep 36s cubic-bezier(.22, 1, .36, 1) infinite;
}

body.auth-page .auth-hero-panel::after {
  opacity: .52;
  background:
    radial-gradient(circle at 16% 24%, rgba(var(--wm-glint-light),.68) 0 1px, transparent 2px),
    radial-gradient(circle at 66% 18%, rgba(var(--wm-glint-light),.52) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 48%, rgba(var(--wm-glint-light),.62) 0 1.5px, transparent 2.8px),
    radial-gradient(circle at 28% 70%, rgba(var(--wm-glint-light),.48) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 82%, rgba(var(--wm-glint-light),.58) 0 1px, transparent 2.4px);
  animation: authPremiumStarTwinkle 8.6s ease-in-out infinite;
}

body.auth-page :where(.auth-brand-lockup, .auth-hero-copy, .auth-trust-grid) {
  position: relative;
  z-index: 2;
}

body.auth-page .auth-action-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

body.auth-page .auth-action-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .3;
  background:
    linear-gradient(115deg,
      transparent 0%,
      transparent 43%,
      rgba(var(--wm-glint-light),.06) 48%,
      rgba(var(--wm-glint-light),.18) 51%,
      rgba(var(--wm-glint-light),.05) 54%,
      transparent 60%);
  transform: translateX(-120%);
  animation: authPremiumChromeSweep 44s cubic-bezier(.22, 1, .36, 1) infinite;
}

body.auth-page .auth-action-card > * {
  position: relative;
  z-index: 1;
}

.auth-standard-login .auth-brand-wordmark {
  width: min(438px, 72vw);
}

.auth-standard-login .auth-hero-copy {
  max-width: min(780px, 100%);
  margin-top: auto;
}

.auth-standard-login .auth-hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(3.8rem, 5.7vw, 7.15rem);
  line-height: .9;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

.auth-standard-login .auth-hero-copy p {
  max-width: 62ch;
  font-size: clamp(1rem, .95vw, 1.18rem);
  line-height: 1.58;
}

html[data-theme="light"] body.auth-page .auth-route-nav {
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(244,237,226,.78));
  border-color: rgba(38, 32, 24, .16);
}

html[data-theme="light"] body.auth-page .auth-route-nav a {
  color: #31445c;
}

html[data-theme="light"] body.auth-page .auth-hero-panel::after {
  opacity: .34;
  filter: invert(.2);
}

@keyframes authPremiumChromeSweep {
  0%, 46% {
    opacity: 0;
    transform: translateX(-125%);
  }
  55% {
    opacity: .42;
  }
  70% {
    opacity: .14;
    transform: translateX(125%);
  }
  100% {
    opacity: 0;
    transform: translateX(125%);
  }
}

@keyframes authPremiumStarTwinkle {
  0%, 100% {
    opacity: .26;
    transform: scale(1);
  }
  38% {
    opacity: .62;
    transform: scale(1.004);
  }
  62% {
    opacity: .34;
    transform: scale(.998);
  }
}

@media (max-height: 840px) and (min-width: 980px) {
  .auth-standard-login .auth-hero-copy h1 {
    font-size: clamp(3.35rem, 5.05vw, 6.15rem);
  }

  body.auth-page .auth-hero-panel {
    padding-bottom: clamp(34px, 5vh, 60px);
  }
}

@media (max-width: 720px) {
  body.auth-page .auth-action-top {
    min-height: auto;
  }

  body.auth-page .auth-route-nav {
    width: 100%;
  }

  .auth-standard-login .auth-hero-copy h1 {
    font-size: clamp(3.05rem, 13vw, 4.9rem);
    max-width: 11ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.auth-page .auth-hero-panel::before,
  body.auth-page .auth-hero-panel::after,
  body.auth-page .auth-action-card::before {
    animation: none !important;
  }
}
