:root {
  --bg: #02030a;
  --bg-panel: rgba(9, 12, 27, 0.78);
  --bg-panel-strong: rgba(12, 15, 34, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(157, 133, 255, 0.34);
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.78);
  --text-muted: rgba(255, 255, 255, 0.56);
  --ink: #111326;
  --ink-soft: #687083;
  --primary: #8067ff;
  --primary-strong: #512bff;
  --cyan: #00d4ff;
  --pink: #ff6ec7;
  --amber: #f6b15c;
  --success: #42f5c8;
  --danger: #ff6f8f;
  --radius-shell: 38px;
  --shadow-shell: 0 48px 140px rgba(0, 0, 0, 0.58);
  --shadow-card: 0 28px 80px rgba(17, 19, 38, 0.2);
  --font: "Manrope", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body.auth-body {
  margin: 0;
  min-height: 100vh;
  padding: 18px;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  position: relative;
}

body.auth-body::before,
body.auth-body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body.auth-body::before {
  background:
    linear-gradient(180deg, rgba(2, 3, 10, 0.12), rgba(2, 3, 10, 0.86)),
    radial-gradient(circle at 48% 46%, rgba(128, 103, 255, 0.12), transparent 30%),
    url("../doc/hero-home-06.png") center center / cover no-repeat;
  transform: scale(1.025);
}

body.auth-body::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 70px 70px;
  opacity: 0.28;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 82%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.auth-orbit {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}

.auth-orbit-a {
  width: 520px;
  height: 520px;
  top: -150px;
  right: 5%;
  border: 1px solid rgba(0, 212, 255, 0.16);
  box-shadow: inset 0 0 60px rgba(0, 212, 255, 0.05), 0 0 80px rgba(128, 103, 255, 0.12);
  animation: orbitPulse 8s ease-in-out infinite;
}

.auth-orbit-b {
  width: 620px;
  height: 620px;
  left: -180px;
  bottom: -240px;
  border: 1px solid rgba(255, 110, 199, 0.13);
  box-shadow: inset 0 0 80px rgba(255, 110, 199, 0.05), 0 0 100px rgba(80, 36, 255, 0.12);
  animation: orbitPulse 10s ease-in-out infinite reverse;
}

.auth-shell {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 36px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(430px, 0.9fr);
  border-radius: var(--radius-shell);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(4, 5, 15, 0.72), rgba(14, 11, 35, 0.72));
  box-shadow: var(--shadow-shell);
  backdrop-filter: blur(22px);
}

.auth-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent),
    radial-gradient(circle at 70% 12%, rgba(0, 212, 255, 0.18), transparent 27%),
    radial-gradient(circle at 7% 88%, rgba(255, 110, 199, 0.12), transparent 22%);
  pointer-events: none;
}

.auth-showcase,
.auth-panel {
  position: relative;
  z-index: 1;
}

.auth-showcase {
  min-height: inherit;
  padding: 42px 44px;
  display: grid;
  align-content: start;
  gap: 30px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(3, 5, 17, 0.94), rgba(11, 11, 38, 0.86) 52%, rgba(44, 20, 112, 0.64) 100%);
}

.auth-showcase::before,
.auth-showcase::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.auth-showcase::before {
  inset: 0;
  background:
    radial-gradient(circle at 68% 20%, rgba(0, 212, 255, 0.18), transparent 24%),
    radial-gradient(circle at 20% 75%, rgba(255, 110, 199, 0.14), transparent 28%);
}

.auth-showcase::after {
  top: 54px;
  right: -120px;
  width: 440px;
  height: 440px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: radial-gradient(circle, rgba(128, 103, 255, 0.12), transparent 62%);
  animation: slowSpin 22s linear infinite;
}

.showcase-brand,
.showcase-copy,
.showcase-command,
.showcase-foot {
  position: relative;
  z-index: 2;
}

.showcase-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-logo {
  width: 142px;
  min-height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 16px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.brand-logo img {
  width: 112px;
  height: auto;
  display: block;
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-kicker,
.eyebrow,
.command-label {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(210, 221, 255, 0.72);
  font-weight: 800;
}

.showcase-brand h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
  color: var(--text);
}

.showcase-brand span {
  font-size: 13px;
  color: var(--text-muted);
}

.showcase-copy {
  max-width: 860px;
}

.showcase-copy h2 {
  margin: 14px 0 16px;
  max-width: 820px;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  color: #fff;
  text-shadow: 0 20px 72px rgba(0, 0, 0, 0.45);
}

.showcase-copy p:last-child {
  margin: 0;
  max-width: 780px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(241, 245, 255, 0.75);
}

.showcase-command {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(6, 8, 22, 0.78);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 22px;
  display: grid;
  gap: 18px;
  overflow: hidden;
  animation: surfaceFloat 9s ease-in-out infinite;
}

.showcase-command::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent, rgba(0, 212, 255, 0.12), transparent);
  transform: translateX(-120%);
  animation: sheen 7.5s linear infinite;
}

.command-top,
.surface-row,
.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.command-top strong {
  display: block;
  margin-top: 5px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.command-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(66, 245, 200, 0.24);
  background: rgba(66, 245, 200, 0.08);
  padding: 9px 13px;
  color: #cafff1;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.command-status span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 16px rgba(66, 245, 200, 0.7);
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.command-grid article {
  position: relative;
  border-radius: 23px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.06);
  padding: 17px 18px;
  overflow: hidden;
}

.command-grid article::before,
.surface-row::before,
.auth-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), transparent 50%);
  pointer-events: none;
}

.command-grid span,
.command-grid em {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-style: normal;
}

.command-grid strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.055em;
}

.command-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.flow-node {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  padding: 15px;
}

.flow-node.is-active {
  border-color: rgba(0, 212, 255, 0.24);
  background: rgba(0, 212, 255, 0.07);
}

.flow-node span {
  display: inline-flex;
  margin-bottom: 11px;
  color: rgba(0, 212, 255, 0.86);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.flow-node strong {
  display: block;
  font-size: 15px;
}

.flow-node em {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-style: normal;
}

.flow-rail {
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.2), rgba(255, 110, 199, 0.44), rgba(128, 103, 255, 0.1));
}

.surface-list {
  display: grid;
  gap: 12px;
}

.surface-row {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  padding: 16px 18px;
  overflow: hidden;
}

.surface-row strong {
  display: block;
  font-size: 16px;
  color: var(--text);
}

.surface-row span {
  display: block;
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 13px;
}

.surface-row em {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(128, 103, 255, 0.18);
  color: #dfd8ff;
  white-space: nowrap;
}

.surface-row em.is-success {
  background: rgba(66, 245, 200, 0.14);
  color: #baffef;
}

.surface-row em.is-warning {
  background: rgba(246, 177, 92, 0.16);
  color: #ffdfb4;
}

.showcase-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.showcase-chip {
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.auth-panel {
  display: grid;
  justify-items: center;
  align-items: start;
  padding: 34px;
  padding-top: clamp(34px, 7vh, 74px);
  background:
    radial-gradient(circle at 60% 12%, rgba(128, 103, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(249, 250, 255, 0.96), rgba(232, 235, 247, 0.9));
}

.auth-card {
  width: min(540px, 100%);
  border: 1px solid rgba(180, 184, 205, 0.72);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 248, 255, 0.94));
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
  padding: 32px;
  display: grid;
  gap: 18px;
  position: relative;
  overflow: hidden;
  color: var(--ink);
}

.auth-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 32px;
  width: calc(100% - 64px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(80, 36, 255, 0.48), transparent);
}

.auth-head {
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.auth-head p {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-strong);
  font-weight: 800;
}

.auth-head h3 {
  margin: 0;
  font-size: 36px;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.auth-head span {
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.auth-tabs,
.login-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tab-button,
.method-button {
  border: 1px solid rgba(188, 194, 212, 0.92);
  border-radius: 16px;
  padding: 11px 12px;
  background: rgba(240, 242, 250, 0.94);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.tab-button:hover,
.method-button:hover {
  transform: translateY(-1px);
  border-color: rgba(80, 36, 255, 0.24);
  color: var(--ink);
}

.tab-button.is-active,
.method-button.is-active {
  background: linear-gradient(180deg, #fff, #f6f5ff);
  border-color: rgba(80, 36, 255, 0.32);
  color: var(--primary-strong);
  box-shadow: 0 12px 24px rgba(80, 36, 255, 0.1);
}

.form-grid {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field label {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 8px;
  font-weight: 700;
}

.field input {
  width: 100%;
  border: 1px solid rgba(188, 194, 212, 0.98);
  border-radius: 16px;
  padding: 14px 15px;
  font-size: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.field input:hover {
  border-color: rgba(80, 36, 255, 0.26);
}

.field input:focus {
  outline: none;
  border-color: rgba(80, 36, 255, 0.54);
  box-shadow: 0 0 0 4px rgba(80, 36, 255, 0.1);
  background: #fff;
  transform: translateY(-1px);
}

.inline-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 13px 15px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.18s ease, opacity 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn[disabled] {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 18px 34px rgba(80, 36, 255, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 20px 40px rgba(80, 36, 255, 0.28);
}

.btn-ghost {
  border-color: rgba(188, 194, 212, 0.9);
  background: rgba(241, 243, 250, 0.94);
  color: var(--ink);
}

.form-error {
  min-height: 20px;
  margin: 0;
  color: #bd1744;
  font-size: 13px;
  font-weight: 700;
}

.next-card {
  border-radius: 22px;
  border: 1px solid rgba(180, 184, 205, 0.62);
  background:
    linear-gradient(135deg, rgba(80, 36, 255, 0.08), rgba(255, 255, 255, 0.94));
  padding: 16px;
  display: grid;
  gap: 6px;
}

.next-card span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-strong);
  font-weight: 800;
}

.next-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  word-break: break-all;
}

.auth-links {
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-soft);
}

.auth-links a {
  transition: color 0.18s ease;
}

.auth-links a:hover {
  color: var(--primary-strong);
}

.hidden {
  display: none !important;
}

.toast-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  display: grid;
  gap: 8px;
  width: min(340px, calc(100vw - 24px));
}

.toast-item {
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 24, 0.96);
  color: #fff;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.toast-item.is-success {
  background: rgba(33, 126, 112, 0.96);
  border-color: rgba(66, 245, 200, 0.34);
}

.toast-item.is-error {
  background: rgba(186, 26, 72, 0.96);
  border-color: rgba(255, 111, 143, 0.34);
}

.toast-item.is-hide {
  opacity: 0;
  transform: translateY(8px);
}

@keyframes surfaceFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes sheen {
  100% {
    transform: translateX(120%);
  }
}

@keyframes orbitPulse {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(1);
  }
  50% {
    opacity: 0.86;
    transform: scale(1.04);
  }
}

@keyframes slowSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1260px) {
  body.auth-body {
    padding: 12px;
  }

  .auth-shell {
    min-height: calc(100vh - 24px);
    grid-template-columns: 1fr;
  }

  .auth-showcase {
    min-height: auto;
    padding: 30px 24px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .showcase-copy h2 {
    max-width: 780px;
  }
}

@media (max-width: 760px) {
  body.auth-body {
    padding: 0;
  }

  .auth-shell {
    min-height: 100vh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .auth-panel {
    padding: 18px;
    padding-top: 18px;
  }

  .auth-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .showcase-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-logo {
    width: 132px;
  }

  .showcase-copy h2 {
    font-size: 34px;
    line-height: 1.02;
  }

  .showcase-copy p:last-child {
    font-size: 14px;
    line-height: 1.7;
  }

  .showcase-command,
  .showcase-foot {
    display: none;
  }

  .command-top,
  .surface-row,
  .auth-links {
    flex-direction: column;
    align-items: stretch;
  }

  .command-grid,
  .field.two-up {
    grid-template-columns: 1fr;
  }

  .command-flow {
    grid-template-columns: 1fr;
  }

  .flow-rail {
    width: 1px;
    height: 24px;
    margin-left: 18px;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.2), rgba(255, 110, 199, 0.44), rgba(128, 103, 255, 0.1));
  }

  .inline-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .auth-showcase {
    padding: 30px 24px 18px;
    gap: 22px;
  }

  .showcase-copy h2 {
    font-size: 30px;
  }

  .command-grid article {
    padding: 14px 16px;
  }

  .command-grid strong {
    font-size: 30px;
  }

  .command-flow {
    display: none;
  }
}

/* Tengqing AI premium access shell v2 */
:root {
  --bg: #03070c;
  --bg-panel: rgba(6, 17, 26, 0.84);
  --bg-panel-strong: rgba(7, 19, 29, 0.95);
  --line: rgba(191, 217, 222, 0.16);
  --line-strong: rgba(34, 211, 197, 0.38);
  --text-soft: rgba(238, 247, 246, 0.78);
  --text-muted: rgba(223, 238, 238, 0.56);
  --ink: #07131d;
  --ink-soft: #61727b;
  --primary: #087c84;
  --primary-strong: #053d46;
  --cyan: #22d3c5;
  --pink: #d8b35b;
  --success: #9ef5cf;
  --radius-shell: 0;
  --shadow-shell: none;
  --shadow-card: 0 28px 80px rgba(6, 20, 31, 0.18);
}

body.auth-body {
  padding: 0;
  background: #03070c;
}

body.auth-body::before {
  background:
    linear-gradient(90deg, rgba(3, 7, 12, 0.98) 0%, rgba(3, 7, 12, 0.92) 50%, rgba(3, 7, 12, 0.82) 100%),
    linear-gradient(180deg, rgba(3, 7, 12, 0.28), rgba(3, 7, 12, 0.9)),
    url("../doc/hero-home-06.png") 72% 50% / cover no-repeat;
    transform: none;
  opacity: 0.58;
}

body.auth-body::after {
  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);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
  opacity: 0.22;
}

.auth-orbit {
  display: none;
}

.auth-shell {
  min-height: 100svh;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 480px);
  border: 0;
  border-radius: 0;
  background: rgba(3, 7, 12, 0.18);
  box-shadow: none;
  backdrop-filter: none;
}

.auth-shell::before {
  background: linear-gradient(90deg, rgba(34, 211, 197, 0.08), transparent 52%);
}

.auth-showcase {
  padding: 48px 56px;
  background:
    linear-gradient(180deg, rgba(3, 7, 12, 0.64), rgba(3, 7, 12, 0.84)),
    linear-gradient(135deg, rgba(8, 30, 44, 0.82), rgba(3, 7, 12, 0.62));
}

.auth-showcase::before {
  background:
    linear-gradient(120deg, rgba(34, 211, 197, 0.14), transparent 38%),
    linear-gradient(0deg, rgba(216, 179, 91, 0.08), transparent 42%);
}

.auth-showcase::after {
  top: 78px;
  right: 56px;
  width: 180px;
  height: 1px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 197, 0.52), transparent);
  animation: none;
}

.brand-logo {
  width: 188px;
  min-height: 58px;
  border-radius: 8px;
  background: rgba(6, 20, 31, 0.92);
  border-color: rgba(191, 217, 222, 0.16);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.brand-logo img {
  width: 162px;
}

.brand-kicker,
.eyebrow,
.command-label {
  letter-spacing: 0.16em;
  color: rgba(183, 210, 214, 0.78);
}

.showcase-brand h1,
.showcase-copy h2,
.auth-head h3 {
  letter-spacing: 0;
}

.showcase-copy h2 {
  max-width: 920px;
  font-size: 64px;
  line-height: 1.05;
}

.showcase-copy p:last-child {
  max-width: 760px;
  color: rgba(239, 247, 246, 0.76);
}

.showcase-command {
  max-width: 920px;
  border-radius: 8px;
  border-color: rgba(191, 217, 222, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(6, 17, 26, 0.82);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.32);
  animation: none;
}

.showcase-command::before {
  background: linear-gradient(100deg, transparent, rgba(34, 211, 197, 0.1), transparent);
}

.command-grid article,
.flow-node,
.surface-row,
.auth-card,
.next-card,
.tab-button,
.method-button,
.field input,
.btn {
  border-radius: 8px;
}

.command-status,
.showcase-chip,
.surface-row em {
  border-radius: 999px;
}

.flow-node.is-active,
.command-status {
  border-color: rgba(34, 211, 197, 0.3);
  background: rgba(34, 211, 197, 0.09);
}

.flow-node span {
  color: rgba(34, 211, 197, 0.9);
}

.flow-rail {
  background: linear-gradient(90deg, rgba(34, 211, 197, 0.22), rgba(216, 179, 91, 0.42), rgba(34, 211, 197, 0.08));
}

.auth-panel {
  align-items: center;
  padding: 36px;
  background: linear-gradient(180deg, #f7fafb, #ecf2f4);
}

.auth-card {
  border-color: rgba(111, 130, 139, 0.22);
  background: rgba(255, 255, 255, 0.96);
}

.auth-card::before {
  background: linear-gradient(135deg, rgba(34, 211, 197, 0.08), transparent 54%);
}

.auth-card::after {
  background: linear-gradient(90deg, transparent, rgba(34, 211, 197, 0.48), transparent);
}

.auth-head p,
.next-card span,
.auth-links a:hover {
  color: var(--primary);
}

.tab-button:hover,
.method-button:hover {
  border-color: rgba(8, 124, 132, 0.26);
}

.tab-button.is-active,
.method-button.is-active {
  background: #ffffff;
  border-color: rgba(8, 124, 132, 0.34);
  color: var(--primary-strong);
  box-shadow: 0 12px 24px rgba(8, 124, 132, 0.1);
}

.field input:hover,
.field input:focus {
  border-color: rgba(8, 124, 132, 0.45);
}

.field input:focus {
  box-shadow: 0 0 0 4px rgba(8, 124, 132, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, #053d46, #0d9a98);
  box-shadow: 0 18px 34px rgba(8, 124, 132, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 20px 40px rgba(8, 124, 132, 0.26);
}

.next-card {
  background: linear-gradient(135deg, rgba(8, 124, 132, 0.08), rgba(255, 255, 255, 0.94));
}

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

  .auth-showcase {
    padding: 36px 28px 22px;
  }

  .auth-panel {
    align-items: start;
  }

  .showcase-copy h2 {
    font-size: 48px;
  }
}

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

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

  .brand-logo {
    width: 172px;
  }

  .showcase-copy h2 {
    font-size: 32px;
    line-height: 1.04;
  }
}
