:root {
  color-scheme: dark;
  --auth-bg: #080a0d;
  --auth-panel: #101419;
  --auth-panel-raised: #151a20;
  --auth-field: #0b0f13;
  --auth-line: #29313a;
  --auth-line-soft: #1a2129;
  --auth-text: #f3f5f7;
  --auth-muted: #8e99a5;
  --auth-muted-2: #606b77;
  --auth-gold: #f3b62d;
  --auth-gold-deep: #c78a0d;
  --auth-cyan: #34b8d6;
  --auth-green: #2fc98c;
  --auth-coral: #ef5868;
  --auth-radius-card: 16px;
  --auth-radius-control: 8px;
  --auth-trust-height: 90px;
  --auth-shadow: 0 24px 70px rgba(0, 0, 0, .38);
  --auth-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --auth-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--auth-bg); }
body { margin: 0; min-height: 100vh; background: var(--auth-bg); color: var(--auth-text); font-family: var(--auth-sans); letter-spacing: 0; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

.auth-body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(52, 184, 214, .055), transparent 30%),
    linear-gradient(180deg, #080a0d 0%, #07090c 100%);
}

.auth-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(122, 137, 151, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 137, 151, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 82%, transparent);
}

.auth-topbar {
  position: relative;
  z-index: 3;
  height: 60px;
  padding: 0 clamp(22px, 3.4vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--auth-line);
  background: rgba(8, 10, 13, .94);
}

.auth-topbar__brand,
.auth-shell__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--auth-text);
  font-weight: 700;
}

.auth-topbar__brand { font-size: 15px; }
.auth-logo {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 182, 45, .62);
  border-radius: var(--auth-radius-control);
  background: rgba(243, 182, 45, .06);
  color: var(--auth-gold);
}
.auth-logo svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.auth-logo--large { width: 34px; height: 34px; }
.auth-logo--large svg { width: 22px; height: 22px; }

.auth-topbar__meta { display: flex; align-items: center; gap: 22px; font-family: var(--auth-mono); font-size: 12px; color: var(--auth-muted); }
.auth-market-time { display: inline-flex; align-items: baseline; gap: 9px; }
.auth-market-time strong { color: #c9d0d7; font-size: 13px; font-weight: 500; }
.auth-online { display: inline-flex; align-items: center; gap: 8px; color: var(--auth-green); }
.auth-online i { width: 7px; height: 7px; border-radius: 50%; background: var(--auth-green); box-shadow: 0 0 12px rgba(47, 201, 140, .75); }

.auth-layout {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: calc(100vh - 108px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  isolation: isolate;
  overflow: hidden;
}

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

.auth-layout::before {
  z-index: -2;
  background-image: url("../img/auth/neuralquant-intent-background-4k.webp");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: auto 100%;
}

.auth-layout::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 8, 10, .01) 0%, rgba(5, 8, 10, .02) 48%, rgba(5, 8, 10, .28) 66%, rgba(5, 8, 10, .76) 100%),
    linear-gradient(180deg, rgba(5, 8, 10, .01), rgba(5, 8, 10, .16));
}

.auth-visual-space {
  grid-area: 1 / 1;
  position: relative;
  min-width: 0;
  min-height: calc(100vh - 108px - var(--auth-trust-height));
}

.auth-visual-copy {
  position: absolute;
  z-index: 1;
  top: clamp(52px, 7.4vh, 90px);
  left: clamp(40px, 5.2vw, 96px);
  max-width: min(980px, 55vw);
  text-shadow: 0 2px 20px rgba(0, 0, 0, .86);
}

.auth-visual-copy h1 {
  margin: 0;
  color: #f3f5f7;
  font-size: clamp(38px, 2.65vw, 58px);
  font-weight: 650;
  line-height: 1.14;
  text-wrap: balance;
}

.auth-visual-copy p {
  margin: 18px 0 0;
  color: #abb5bf;
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.6;
}

.auth-visual-lanes {
  position: absolute;
  z-index: 1;
  top: 30.5%;
  bottom: 27%;
  left: 30.5%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.auth-visual-lanes strong {
  width: max-content;
  padding: 5px 9px;
  border: 1px solid rgba(92, 134, 162, .2);
  border-radius: 6px;
  background: rgba(3, 8, 11, .7);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .26);
  color: #d9e1e7;
  font-size: clamp(11px, .8vw, 14px);
  font-weight: 600;
}

.auth-visual-lanes strong:nth-child(2) { color: #74dfb9; }
.auth-visual-lanes strong:nth-child(3) { color: #78d7eb; }

.auth-telemetry {
  min-width: 0;
  padding: clamp(36px, 5.2vh, 64px) clamp(32px, 4.4vw, 72px) 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--auth-line);
  background: rgba(7, 10, 13, .34);
}

.auth-telemetry__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.auth-telemetry__head > div { min-width: 0; flex: 1; }
.auth-telemetry__head h1 { margin: 0; max-width: 680px; font-size: clamp(32px, 3.15vw, 54px); line-height: 1.12; font-weight: 650; }
.auth-telemetry__head h1 span { display: block; }
.auth-telemetry__head p { margin: 13px 0 0; color: var(--auth-muted); font-size: 15px; line-height: 1.7; }
.auth-telemetry__stamp { flex: 0 0 auto; padding: 7px 10px; border: 1px solid var(--auth-line); border-radius: 6px; color: var(--auth-muted); font: 500 11px/1 var(--auth-mono); }

.intent-workspace {
  position: relative;
  width: 100%;
  height: clamp(420px, 48vh, 560px);
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid rgba(90, 105, 119, .22);
  border-bottom: 1px solid rgba(90, 105, 119, .22);
  background:
    radial-gradient(circle at 18% 50%, rgba(243, 182, 45, .055), transparent 20%),
    radial-gradient(circle at 82% 50%, rgba(52, 184, 214, .04), transparent 22%);
}

.intent-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.intent-grid path { fill: none; stroke: rgba(85, 99, 112, .13); stroke-width: 1; vector-effect: non-scaling-stroke; }
.intent-core { fill: none; stroke: url(#intentGold); stroke-width: 2; vector-effect: non-scaling-stroke; }
.intent-core--glow { stroke-width: 16; opacity: .12; filter: blur(7px); }
.intent-lane-path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.intent-lane-path--backtest { stroke: url(#intentBlue); }
.intent-lane-path--contract { stroke: url(#intentGreen); }
.intent-lane-path--live { stroke: url(#intentCyan); }
.intent-micro { fill: none; stroke-width: 1.35; opacity: .48; vector-effect: non-scaling-stroke; }
.intent-micro--top { stroke: #3e9ce9; }
.intent-micro--middle { stroke: #24b892; }
.intent-micro--bottom { stroke: #2a9db8; }
.intent-junction-glow { fill: rgba(243, 182, 45, .14); stroke: rgba(243, 182, 45, .24); stroke-width: 2; }
.intent-junction { fill: #f4b526; stroke: #fff0b8; stroke-width: 2; }
.intent-junction--sink { fill: rgba(243, 182, 45, .18); stroke: #f4b526; }

@keyframes intent-pulse {
  0%, 100% { opacity: .58; transform: scale(.88); }
  50% { opacity: 1; transform: scale(1.12); }
}

.intent-junction-glow {
  animation: intent-pulse 3.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.intent-origin,
.intent-sink {
  position: absolute;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-61px);
  color: var(--auth-gold);
  font: 500 11px/1.15 var(--auth-mono);
}
.intent-origin { left: 2.5%; }
.intent-sink { right: 2.5%; text-align: right; }
.intent-origin strong,
.intent-sink strong { letter-spacing: .08em; }
.intent-origin span,
.intent-sink span { color: #cbd2d8; }

.intent-lane {
  --lane-color: var(--auth-cyan);
  position: absolute;
  left: 25.8%;
  right: 18%;
  height: 1px;
  top: var(--lane-y);
  color: var(--lane-color);
}
.intent-lane--backtest { --lane-y: 20%; --lane-color: #4aa7ff; }
.intent-lane--contract { --lane-y: 50%; --lane-color: #2dd4a8; }
.intent-lane--live { --lane-y: 80%; --lane-color: #35b8d4; }
.intent-lane__name {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transform: translateY(-50%);
  color: #e9edf0;
  white-space: nowrap;
}
.intent-lane__name i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--lane-color) 12%, #0b1015);
  color: var(--lane-color);
  font: 700 11px/1 var(--auth-mono);
  font-style: normal;
}
.intent-lane__name strong { font-size: 15px; font-weight: 600; }
.intent-node {
  position: absolute;
  left: var(--node-x);
  top: 0;
  min-width: 76px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transform: translate(-50%, -51px);
  color: #c8d0d7;
  text-align: center;
  font: 500 10px/1.2 var(--auth-mono);
}
.intent-node i {
  position: absolute;
  left: 50%;
  bottom: -23px;
  width: 11px;
  height: 11px;
  transform: translateX(-50%) rotate(45deg);
  border: 2px solid var(--lane-color);
  background: #091017;
  box-shadow: 0 0 12px color-mix(in srgb, var(--lane-color) 42%, transparent);
}
.intent-node strong { color: #dfe5e9; font-weight: 500; }
.intent-node span { color: var(--auth-muted-2); }

.intent-time-axis {
  position: absolute;
  left: 2.5%;
  right: 2.5%;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  color: var(--auth-muted-2);
  font: 500 9px/1 var(--auth-mono);
}

.intent-assurance {
  min-height: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  border-bottom: 1px solid rgba(90, 105, 119, .22);
}
.intent-assurance span {
  min-width: 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 11px 1fr;
  gap: 3px 10px;
  align-items: center;
}
.intent-assurance span + span { border-left: 1px solid var(--auth-line-soft); }
.intent-assurance strong { overflow: hidden; color: #cfd6dc; font-size: 12px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.intent-assurance small { grid-column: 2; overflow: hidden; color: var(--auth-muted-2); font: 500 9px/1.3 var(--auth-mono); text-overflow: ellipsis; white-space: nowrap; }
.intent-status-dot { grid-row: 1 / 3; width: 8px; height: 8px; border: 1px solid currentColor; border-radius: 50%; background: color-mix(in srgb, currentColor 18%, transparent); box-shadow: 0 0 12px color-mix(in srgb, currentColor 40%, transparent); }
.intent-status-dot--green { color: var(--auth-green); }
.intent-status-dot--gold { color: var(--auth-gold); }
.intent-status-dot--cyan { color: var(--auth-cyan); }

.auth-shell {
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  width: min(32vw, 620px);
  margin-right: clamp(24px, 1.6vw, 34px);
  justify-self: end;
  min-width: 0;
  padding: clamp(24px, 3.2vh, 38px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.auth-card {
  --auth-card-pad-x: 40px;
  width: 100%;
  min-height: min(72vh, 760px);
  padding: 34px var(--auth-card-pad-x) 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(184, 196, 207, .16);
  border-radius: var(--auth-radius-card);
  background: linear-gradient(180deg, rgba(18, 23, 28, .54), rgba(8, 12, 16, .46));
  box-shadow: 0 30px 86px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .035);
  -webkit-backdrop-filter: blur(30px) saturate(58%);
  backdrop-filter: blur(30px) saturate(58%);
}
.auth-layout--register .auth-shell { width: min(33vw, 640px); }
.auth-layout--register .auth-card { min-height: min(78vh, 820px); }
.auth-shell__brand { width: 100%; justify-content: center; margin-bottom: 18px; font-size: 14px; }
.auth-shell__brand .auth-logo--large { width: 30px; height: 30px; }
.auth-form-head { text-align: center; }
.auth-title { margin: 0; font-size: 27px; line-height: 1.22; font-weight: 650; }
.auth-lead { margin: 9px 0 0; color: var(--auth-muted); font-size: 13px; line-height: 1.6; }

.auth-mode-tabs { margin: 27px 0 26px; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--auth-line); }
.auth-mode-tabs a { position: relative; padding: 0 8px 13px; text-align: center; color: var(--auth-muted); font-size: 14px; font-weight: 600; }
.auth-mode-tabs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.auth-mode-tabs a:hover { color: var(--auth-text); }
.auth-mode-tabs a.is-active { color: var(--auth-gold); }
.auth-mode-tabs a.is-active::after { background: var(--auth-gold); }

.auth-card > form { min-height: 0; display: flex; flex: 1; flex-direction: column; }
.auth-card > form > .btn-primary { margin-top: auto; }
.auth-card > form > .auth-switch-copy { margin-bottom: 30px; }

.field { margin-bottom: 18px; }
.field label,
.field__label-row { display: block; margin-bottom: 8px; color: #c5ccd2; font-size: 13px; font-weight: 500; }
.field label span { color: var(--auth-muted-2); font-weight: 400; }
.field__label-row { display: flex; align-items: center; justify-content: space-between; }
.field__label-row label { margin: 0; }
.field__label-row a { color: var(--auth-gold); font-size: 12px; }
.field input,
.password-field input {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid #35404b;
  border-radius: var(--auth-radius-control);
  outline: none;
  background: rgba(5, 9, 12, .48);
  color: var(--auth-text);
  font-size: 15px;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.field input::placeholder { color: #55616d; }
.field input:hover { border-color: #465361; }
.field input:focus { border-color: var(--auth-gold); box-shadow: 0 0 0 3px rgba(243, 182, 45, .12); background: rgba(9, 13, 17, .78); }
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus,
.password-field input:-webkit-autofill {
  -webkit-text-fill-color: var(--auth-text);
  caret-color: var(--auth-text);
  -webkit-box-shadow: 0 0 0 1000px rgba(13, 19, 25, .96) inset;
  box-shadow: 0 0 0 1000px rgba(13, 19, 25, .96) inset;
  transition: background-color 9999s ease-out 0s;
}
.password-field { position: relative; }
.password-field input { padding-right: 48px; }
.password-toggle { position: absolute; right: 7px; top: 7px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--auth-muted); cursor: pointer; }
.password-toggle:hover { color: var(--auth-text); background: rgba(255, 255, 255, .04); }
.password-toggle:focus-visible { outline: 2px solid var(--auth-gold); outline-offset: 1px; }
.password-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.auth-register-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.auth-register-grid .field--wide { grid-column: 1 / -1; }
.auth-terms { margin: 2px 0 20px; display: flex; align-items: flex-start; gap: 10px; color: var(--auth-muted); font-size: 12px; line-height: 1.65; }
.auth-terms input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--auth-gold); }
.auth-terms a { color: var(--auth-gold); }

.btn-primary {
  min-height: 52px;
  border: 1px solid #ffcd50;
  border-radius: var(--auth-radius-control);
  background: linear-gradient(180deg, #f7c344, #edae1e);
  color: #16120a;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(243, 182, 45, .14);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.btn-primary--full { width: 100%; }
.btn-primary:hover { filter: brightness(1.04); box-shadow: 0 10px 28px rgba(243, 182, 45, .2); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.auth-switch-copy { margin: 18px 0 0; display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--auth-muted); font-size: 12px; }
.auth-switch-copy::before,
.auth-switch-copy::after { content: ""; flex: 1; height: 1px; background: var(--auth-line); }
.auth-switch-copy a { color: var(--auth-gold); font-weight: 600; white-space: nowrap; }

.auth-trust {
  grid-area: 2 / 1;
  position: relative;
  z-index: 3;
  width: 100%;
  height: var(--auth-trust-height);
  min-height: var(--auth-trust-height);
  padding: 0 clamp(42px, 7vw, 136px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(184, 196, 207, .15);
  border-bottom: 1px solid rgba(184, 196, 207, .08);
  background: linear-gradient(180deg, rgba(8, 12, 16, .72), rgba(5, 8, 11, .9));
  box-shadow: 0 -18px 42px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .025);
  -webkit-backdrop-filter: blur(22px) saturate(68%);
  backdrop-filter: blur(22px) saturate(68%);
}
.auth-trust span { min-width: 0; min-height: calc(var(--auth-trust-height) - 2px); padding: 12px 24px; display: flex; align-items: center; justify-content: center; gap: 14px; color: #abb5bf; text-align: center; }
.auth-trust span + span { border-left: 1px solid rgba(184, 196, 207, .14); }
.auth-trust strong { font-size: 15px; font-weight: 550; line-height: 1.35; letter-spacing: 0; }
.auth-trust svg { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: var(--auth-cyan); stroke-width: 1.55; filter: drop-shadow(0 0 10px rgba(52, 184, 214, .16)); }
.auth-trust span:first-child svg { stroke: var(--auth-green); }
.auth-trust span:nth-child(2) svg { stroke: var(--auth-gold); }

.auth-portal-panel { margin: -4px 0 18px; padding: 14px; border: 1px solid rgba(97, 111, 124, .44); border-radius: var(--auth-radius-control); background: rgba(8, 11, 14, .42); }
.auth-portal-panel[hidden] { display: none; }
.auth-section-label { margin: 0 0 9px; color: var(--auth-muted); font-size: 12px; }
.auth-portal-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.auth-portal-option { min-height: 58px; padding: 10px; display: flex; flex-direction: column; gap: 5px; border: 1px solid var(--auth-line); border-radius: 7px; cursor: pointer; }
.auth-portal-option input { position: absolute; opacity: 0; pointer-events: none; }
.auth-portal-option span { color: #cbd1d7; font-size: 12px; }
.auth-portal-option small { color: var(--auth-muted-2); font-size: 10px; }
.auth-portal-option.is-active { border-color: var(--auth-gold-deep); background: rgba(243, 182, 45, .07); }
.auth-portal-hint { margin-top: 8px; color: var(--auth-gold); font-size: 10px; }
.auth-portal-panel.needs-choice { border-color: var(--auth-coral); box-shadow: 0 0 0 3px rgba(239, 88, 104, .08); }

.flash-stack { margin-bottom: 16px; }
.flash { padding: 11px 13px; border: 1px solid var(--auth-line); border-radius: var(--auth-radius-control); background: var(--auth-field); color: #d5dbe0; font-size: 12px; line-height: 1.5; }
.flash--error, .flash--danger { border-color: rgba(239, 88, 104, .6); color: #ff9ca7; }
.flash--success { border-color: rgba(47, 201, 140, .55); color: #72e1b4; }

.auth-footer {
  position: relative;
  z-index: 2;
  min-height: 48px;
  padding: 0 clamp(22px, 3.4vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--auth-line);
  background: #080a0d;
  color: var(--auth-muted-2);
  font-size: 10px;
}
.auth-footer div,
.auth-footer nav { display: flex; align-items: center; gap: 14px; }
.auth-footer i { width: 3px; height: 3px; border-radius: 50%; background: var(--auth-line); }
.auth-footer a:hover { color: var(--auth-text); }

@media (min-width: 1680px) and (min-height: 960px) {
  .auth-topbar {
    height: 68px;
    padding: 0 64px;
  }

  .auth-layout {
    min-height: calc(100vh - 124px);
  }
  .auth-visual-space { min-height: calc(100vh - 124px - var(--auth-trust-height)); }

  .auth-telemetry {
    padding: 76px 80px 42px;
    justify-content: flex-start;
  }

  .auth-telemetry__head { margin-bottom: 28px; }
  .auth-telemetry__head h1 {
    max-width: 860px;
    font-size: 56px;
  }
  .auth-telemetry__head p { font-size: 16px; }
  .intent-workspace { height: min(52vh, 600px); }

  .auth-shell {
    width: min(30vw, 620px);
    margin-right: 32px;
    padding: 28px 0;
    justify-content: center;
  }

  .auth-card {
    --auth-card-pad-x: 44px;
    padding: 40px var(--auth-card-pad-x) 0;
  }
  .auth-layout--register .auth-shell { width: min(31vw, 640px); }
  .auth-shell__brand { margin-bottom: 26px; }
  .auth-title { font-size: 30px; }
  .auth-lead { font-size: 14px; }

  .auth-footer {
    min-height: 56px;
    padding: 0 64px;
  }
}

@media (min-width: 2200px) and (min-height: 1100px) {
  .auth-telemetry { padding: 96px 112px 52px; }
  .auth-telemetry__head h1 {
    max-width: 1000px;
    font-size: 56px;
    white-space: nowrap;
  }
  .intent-workspace { height: min(54vh, 660px); }

  .auth-shell { width: min(28vw, 640px); margin-right: 32px; padding: 22px 0; }
  .auth-card {
    --auth-card-pad-x: 50px;
    padding: 44px var(--auth-card-pad-x) 0;
  }
  .auth-layout--register .auth-shell { width: min(29vw, 660px); }
  .auth-title { font-size: 32px; }
  .field input,
  .password-field input { height: 56px; }
  .password-toggle {
    top: 9px;
    width: 38px;
    height: 38px;
  }
  .btn-primary { min-height: 56px; }
}

@media (max-width: 1180px) {
  .auth-shell { width: min(46vw, 580px); margin-right: 28px; }
  .auth-telemetry { padding-left: 32px; padding-right: 32px; }
  .auth-telemetry__head h1 { font-size: 36px; }
  .intent-lane { left: 28%; right: 16%; }
  .intent-assurance span { padding: 0 12px; }
}

@media (max-width: 940px) {
  .auth-layout { min-height: auto; grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .auth-layout::before {
    background-position: center top;
    background-size: auto 560px;
  }
  .auth-layout::after {
    background: linear-gradient(180deg, rgba(5, 8, 10, .02) 0, rgba(5, 8, 10, .08) 390px, #070a0d 560px, #070a0d 100%);
  }
  .auth-visual-space { grid-area: auto; grid-row: 1; min-height: 540px; }
  .auth-visual-copy {
    top: 34px;
    left: clamp(22px, 6vw, 48px);
    max-width: min(620px, 82%);
  }
  .auth-visual-copy h1 { font-size: clamp(30px, 5.8vw, 44px); }
  .auth-visual-copy p { font-size: 14px; }
  .auth-visual-lanes { display: none; }
  .auth-telemetry { padding: 30px clamp(20px, 6vw, 48px); border-right: 0; border-bottom: 1px solid var(--auth-line); }
  .auth-telemetry__head { align-items: center; margin-bottom: 18px; }
  .auth-telemetry__head h1 { font-size: clamp(28px, 5.6vw, 42px); }
  .intent-workspace { height: 390px; }
  .auth-shell { grid-area: auto; grid-row: 2; width: 100%; margin-right: 0; padding: 42px 22px 48px; }
  .auth-card,
  .auth-layout--register .auth-card { min-height: 0; }
  .auth-trust { grid-area: auto; grid-row: 3; }
}

@media (max-width: 820px) {
  .auth-topbar { height: 56px; padding: 0 18px; }
  .auth-topbar__meta { gap: 12px; }
  .auth-market-time { display: none; }
  .auth-telemetry { padding: 25px 18px 22px; }
  .auth-telemetry__head { align-items: flex-start; }
  .auth-telemetry__head h1 { font-size: 29px; }
  .auth-telemetry__head p { font-size: 13px; }
  .auth-telemetry__stamp { margin-top: 4px; }
  .intent-workspace { height: 340px; }
  .intent-lane { left: 28%; right: 13%; }
  .intent-node { transform: translate(-50%, -45px); font-size: 9px; }
  .intent-assurance span { padding: 0 10px; }
  .intent-assurance small { display: none; }
  .auth-footer { padding: 14px 18px; flex-direction: column; justify-content: center; gap: 8px; text-align: center; }
}

@media (max-width: 600px) {
  .auth-topbar__brand { font-size: 14px; }
  .auth-online { font-size: 10px; }
  .auth-telemetry__head { display: block; }
  .auth-telemetry { padding-top: 18px; padding-bottom: 18px; }
  .auth-telemetry__head { margin-bottom: 13px; }
  .auth-telemetry__head h1 { max-width: 350px; font-size: 25px; }
  .auth-telemetry__head p { max-width: 360px; }
  .auth-telemetry__stamp { display: inline-flex; margin-top: 13px; }
  .auth-layout::before { background-position: center top; background-size: auto 385px; }
  .auth-layout::after { background: linear-gradient(180deg, rgba(5, 8, 10, .02) 0, rgba(5, 8, 10, .08) 255px, #070a0d 385px, #070a0d 100%); }
  .auth-visual-space { min-height: 375px; }
  .auth-visual-copy { top: 24px; left: 20px; max-width: calc(100% - 40px); }
  .auth-visual-copy > span { margin-bottom: 10px; font-size: 9px; }
  .auth-visual-copy h1 { max-width: 330px; font-size: 27px; }
  .auth-visual-copy p { max-width: 330px; margin-top: 11px; font-size: 12px; }
  .intent-workspace { height: 270px; }
  .intent-origin, .intent-sink { display: none; }
  .intent-lane { left: 18%; right: 8%; }
  .intent-lane__name { gap: 6px; }
  .intent-lane__name i { width: 24px; height: 24px; font-size: 9px; }
  .intent-lane__name strong { font-size: 11px; }
  .intent-node { min-width: 50px; transform: translate(-50%, -37px); font-size: 8px; }
  .intent-node:nth-child(3) { display: none; }
  .intent-time-axis { font-size: 8px; }
  .intent-assurance { min-height: 52px; }
  .intent-assurance span { padding: 0 7px; grid-template-columns: 8px 1fr; gap: 3px 6px; }
  .intent-assurance strong { font-size: 9px; }
  .auth-shell { padding: 24px 14px 36px; }
  .auth-card { --auth-card-pad-x: 20px; padding: 28px var(--auth-card-pad-x) 0; border-radius: 16px; background: linear-gradient(180deg, rgba(18, 23, 28, .72), rgba(9, 13, 17, .66)); }
  .auth-title { font-size: 24px; }
  .auth-register-grid { grid-template-columns: 1fr; }
  .auth-register-grid .field--wide { grid-column: auto; }
  .auth-trust { --auth-trust-height: 68px; padding: 0 8px; }
  .auth-trust span { padding: 10px 7px; gap: 7px; }
  .auth-trust strong { font-size: 10px; }
  .auth-trust svg { width: 18px; height: 18px; }
  .auth-portal-group { grid-template-columns: 1fr; }
  .auth-footer div { display: none; }
}

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