@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600&family=Space+Grotesk:wght@300;400;500&display=swap";

/* src/onboarding-setup-isolated.css */
:root {
  color-scheme: dark;
  --bg: #080909;
  --panel: #101111;
  --panel-soft: #141515;
  --line: #2b2d2c;
  --text: #e7e2d8;
  --muted: #9b968d;
  --ember: #ff7016;
  --danger: #e06f6f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.auth-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 100%,
      rgba(163, 54, 32, 0.32),
      transparent 34%),
    radial-gradient(
      circle at 50% 22%,
      rgba(255, 255, 255, 0.06),
      transparent 24%),
    #030303;
  color: var(--text);
}
.auth-stars,
.auth-horizon,
.auth-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.auth-stars {
  background-image:
    radial-gradient(
      circle,
      rgba(255, 255, 255, 0.72) 0 1px,
      transparent 1.5px),
    radial-gradient(
      circle,
      rgba(255, 255, 255, 0.38) 0 1px,
      transparent 1.4px),
    radial-gradient(
      circle,
      rgba(216, 111, 61, 0.28) 0 1px,
      transparent 1.4px);
  background-position:
    24px 48px,
    118px 16px,
    70px 140px;
  background-size:
    240px 180px,
    360px 260px,
    520px 420px;
  opacity: 0.42;
}
.auth-horizon {
  background:
    radial-gradient(
      circle at 50% 100%,
      rgba(216, 111, 61, 0.28),
      transparent 32%),
    linear-gradient(
      90deg,
      rgba(216, 111, 61, 0.08),
      transparent 22%,
      transparent 78%,
      rgba(216, 111, 61, 0.06));
  opacity: 0.8;
}
.auth-grid {
  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: 28px 28px;
  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      black 16%,
      black 86%,
      transparent);
  opacity: 0.28;
}
.auth-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 28px 0;
}
.auth-wordmark {
  display: inline-flex;
  align-items: center;
  width: 132px;
  height: 44px;
  text-decoration: none;
}
.auth-wordmark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 22px rgba(255, 255, 255, 0.1));
}
.auth-secure-label,
.auth-kicker,
.auth-mode-toggle button,
.auth-field label,
.auth-extras,
.auth-submit,
.auth-divider,
.auth-google,
.auth-rescue,
.auth-version {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  text-transform: uppercase;
}
.auth-secure-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.28em;
}
.auth-secure-label svg,
.auth-card-footer svg,
.auth-submit svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--ember);
}
.auth-card {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 32px));
  margin: 38px auto 0;
  padding: 46px 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.1),
      transparent 32%),
    linear-gradient(
      180deg,
      rgba(23, 23, 23, 0.88),
      rgba(6, 6, 6, 0.92));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
}
.auth-card-checking {
  width: min(720px, calc(100vw - 32px));
  padding-right: clamp(28px, 5vw, 56px);
  padding-left: clamp(28px, 5vw, 56px);
}
.auth-card::before,
.auth-card::after {
  position: absolute;
  width: 30px;
  height: 30px;
  content: "";
  pointer-events: none;
}
.auth-card::before {
  top: 18px;
  left: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  border-left: 1px solid rgba(255, 255, 255, 0.36);
}
.auth-card::after {
  right: 18px;
  bottom: 18px;
  border-right: 1px solid rgba(216, 111, 61, 0.48);
  border-bottom: 1px solid rgba(216, 111, 61, 0.48);
}
.auth-orb-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
}
.auth-orb-glow {
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  background: rgba(216, 111, 61, 0.38);
  filter: blur(24px);
}
.auth-orb {
  position: relative;
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 999px;
  filter: drop-shadow(0 0 22px rgba(216, 111, 61, 0.58)) drop-shadow(0 0 10px rgba(255, 176, 112, 0.24));
}
.auth-kicker {
  margin-bottom: 12px;
  color: var(--ember);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-align: center;
}
.auth-card h1 {
  max-width: none;
  margin: 0;
  color: var(--text);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 300;
  line-height: 1.1;
  text-align: center;
}
.auth-subtitle {
  max-width: 400px;
  margin: 12px auto 28px;
  color: var(--muted);
  text-align: center;
}
.auth-notice {
  margin: 0 0 22px;
  border: 1px solid rgba(255, 112, 22, 0.34);
  border-radius: 10px;
  background: rgba(255, 112, 22, 0.055);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.access-sequence {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.access-sequence-kicker,
.access-sequence-number,
.access-sequence-arrow {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  text-transform: uppercase;
}
.access-sequence-kicker {
  color: var(--ember);
  font-size: 10px;
  letter-spacing: 0.32em;
}
.access-sequence-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  border: 1px solid rgba(232, 230, 225, 0.1);
  background: rgba(3, 3, 3, 0.58);
  padding: 16px 18px;
}
.access-sequence-row.current {
  border-color: rgba(255, 112, 22, 0.54);
  background:
    linear-gradient(
      90deg,
      rgba(255, 112, 22, 0.08),
      transparent 42%),
    rgba(3, 3, 3, 0.64);
}
.access-sequence-number {
  color: var(--ember);
  font-size: 13px;
  letter-spacing: 0.22em;
}
.access-sequence-row strong {
  display: block;
  color: var(--text);
  font-size: 17px;
  font-weight: 450;
  line-height: 1.2;
}
.access-sequence-row em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  line-height: 1.45;
}
.access-sequence-arrow {
  color: var(--ember);
  font-size: 18px;
  line-height: 1;
}
.auth-form {
  display: grid;
  gap: 20px;
}
.auth-mode-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.42);
  padding: 4px;
}
.auth-mode-toggle button {
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  padding: 13px 10px;
  font-size: 10px;
  letter-spacing: 0.24em;
  transition:
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}
.auth-mode-toggle button.active {
  background:
    linear-gradient(
      180deg,
      #d96a3c,
      #a33620);
  color: var(--text);
  box-shadow: 0 0 24px rgba(216, 111, 61, 0.22);
}
.auth-field label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.24em;
}
.auth-field input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.58);
  color: var(--text);
  padding: 15px 16px;
  outline: none;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}
.auth-field input:focus {
  border-color: rgba(216, 111, 61, 0.72);
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 0 0 3px rgba(216, 111, 61, 0.14);
}
.auth-password-wrap {
  position: relative;
}
.auth-password-wrap input {
  padding-right: 48px;
}
.auth-eye {
  position: absolute;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
}
.auth-extras {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.22em;
}
.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.auth-check button {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  padding: 0;
  font-size: 12px;
}
.auth-check button.checked {
  border-color: rgba(216, 111, 61, 0.75);
  background:
    linear-gradient(
      180deg,
      #d96a3c,
      #a33620);
}
.auth-link {
  border: 0;
  background: transparent;
  color: var(--ember);
  padding: 0;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.auth-disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.auth-disclaimer span {
  color: var(--ember);
}
.auth-submit,
.auth-google,
.auth-rescue {
  width: 100%;
  border-radius: 8px;
  padding: 15px 18px;
  letter-spacing: 0.26em;
}
.auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(216, 111, 61, 0.72);
  background:
    linear-gradient(
      180deg,
      #dc7144,
      #a83a22);
  color: var(--text);
  box-shadow: 0 0 40px rgba(216, 111, 61, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 11px;
  transition: filter 160ms ease, transform 160ms ease;
}
.auth-submit:hover {
  filter: brightness(1.09);
}
.auth-submit:disabled {
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(231, 226, 216, 0.42);
  box-shadow: none;
  filter: none;
}
.auth-submit:hover .auth-arrow {
  transform: translate(2px, -2px);
}
.auth-submit svg {
  color: var(--text);
}
.auth-submit:disabled svg {
  color: rgba(231, 226, 216, 0.42);
}
.turnstile-wrap {
  display: flex;
  justify-content: center;
  min-height: 65px;
}
.turnstile-missing {
  border: 1px solid rgba(224, 111, 111, 0.42);
  border-radius: 8px;
  background: rgba(224, 111, 111, 0.08);
  padding: 12px 14px;
  color: rgba(231, 226, 216, 0.68);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}
.auth-arrow {
  transition: transform 160ms ease;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.32em;
}
.auth-divider span {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.auth-divider em {
  font-style: normal;
}
.auth-google,
.auth-rescue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.36);
  color: var(--text);
  font-size: 11px;
  transition: border-color 160ms ease, background 160ms ease;
}
.auth-google:hover,
.auth-rescue:hover {
  border-color: rgba(216, 111, 61, 0.42);
  background: rgba(0, 0, 0, 0.56);
}
.auth-google svg {
  width: 18px;
  height: 18px;
}
.auth-rescue {
  color: var(--ember);
  font-size: 10px;
}
.auth-card-footer {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}
.auth-card-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.auth-version {
  position: relative;
  z-index: 1;
  margin: 28px 0 42px;
  color: rgba(155, 150, 141, 0.72);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-align: center;
}
.portal-shell {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(
      circle at 68% 8%,
      rgba(255, 255, 255, 0.045),
      transparent 18%),
    radial-gradient(
      circle at 58% 100%,
      rgba(163, 54, 32, 0.26),
      transparent 38%),
    #0a0908;
}
.portal-stars,
.portal-horizon,
.portal-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.portal-stars {
  background-image:
    radial-gradient(
      circle,
      rgba(255, 255, 255, 0.64) 0 1px,
      transparent 1.5px),
    radial-gradient(
      circle,
      rgba(232, 230, 225, 0.34) 0 1px,
      transparent 1.4px),
    radial-gradient(
      circle,
      rgba(216, 111, 61, 0.22) 0 1px,
      transparent 1.4px);
  background-position:
    18px 64px,
    144px 28px,
    78px 170px;
  background-size:
    280px 220px,
    420px 300px,
    600px 460px;
  opacity: 0.28;
}
.portal-horizon {
  background:
    radial-gradient(
      ellipse at 50% 100%,
      rgba(163, 54, 32, 0.32),
      transparent 58%),
    linear-gradient(
      90deg,
      rgba(216, 111, 61, 0.08),
      transparent 22%,
      transparent 78%,
      rgba(216, 111, 61, 0.06));
}
.portal-grid {
  background-image:
    linear-gradient(rgba(232, 230, 225, 0.045) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(232, 230, 225, 0.045) 1px,
      transparent 1px);
  background-size: 28px 28px;
  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      black 12%,
      black 88%,
      transparent);
  opacity: 0.58;
}
.portal-sidebar {
  position: fixed;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: 286px;
  border-right: 1px solid rgba(232, 230, 225, 0.1);
  background:
    linear-gradient(
      180deg,
      rgba(26, 24, 22, 0.94),
      rgba(8, 8, 8, 0.96)),
    rgba(10, 9, 8, 0.95);
  box-shadow: 18px 0 60px rgba(0, 0, 0, 0.32);
  padding: 22px 16px;
}
.portal-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}
.portal-brand img {
  display: block;
  width: 110px;
  height: 36px;
  object-fit: contain;
}
.portal-brand span,
.station-meta span,
.portal-nav-item em,
.portal-signout,
.portal-topbar-status,
.mobile-menu-button {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  text-transform: uppercase;
}
.portal-brand span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.22em;
}
.station-card {
  position: relative;
  border: 1px solid rgba(232, 230, 225, 0.12);
  background:
    linear-gradient(
      160deg,
      rgba(232, 230, 225, 0.08),
      transparent 36%),
    rgba(0, 0, 0, 0.28);
  padding: 18px;
}
.station-card::before,
.station-card::after {
  position: absolute;
  width: 20px;
  height: 20px;
  content: "";
  pointer-events: none;
}
.station-card::before {
  top: 10px;
  left: 10px;
  border-top: 1px solid rgba(232, 230, 225, 0.34);
  border-left: 1px solid rgba(232, 230, 225, 0.34);
}
.station-card::after {
  right: 10px;
  bottom: 10px;
  border-right: 1px solid rgba(216, 111, 61, 0.48);
  border-bottom: 1px solid rgba(216, 111, 61, 0.48);
}
.station-orb {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(216, 111, 61, 0.1);
  box-shadow: 0 0 34px rgba(216, 111, 61, 0.22);
}
.station-orb img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.station-card h2 {
  margin: 8px 0 6px;
  color: var(--text);
  font-size: 22px;
  font-weight: 320;
  line-height: 1.08;
}
.station-card p {
  margin-bottom: 16px;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.station-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.station-meta span {
  border: 1px solid rgba(216, 111, 61, 0.28);
  background: rgba(216, 111, 61, 0.08);
  color: var(--ember);
  padding: 6px 8px;
  font-size: 9px;
  letter-spacing: 0.14em;
}
.portal-nav {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}
.portal-nav .eyebrow {
  margin-bottom: 4px;
}
.portal-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  border: 1px solid transparent;
  border-left: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 12px 10px;
  text-align: left;
}
.portal-nav-item.active {
  border-color: rgba(216, 111, 61, 0.24);
  border-left-color: var(--ember);
  background: rgba(216, 111, 61, 0.1);
  color: var(--text);
}
.portal-nav-item.locked {
  cursor: not-allowed;
  opacity: 0.66;
}
.portal-nav-item em {
  color: var(--ember);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.16em;
}
.portal-nav-item.locked em {
  color: var(--muted);
}
.portal-sidebar-footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid rgba(232, 230, 225, 0.1);
  padding-top: 18px;
}
.portal-signout {
  width: 100%;
  border: 1px solid rgba(232, 230, 225, 0.12);
  background: rgba(0, 0, 0, 0.26);
  color: var(--text);
  padding: 11px 12px;
  font-size: 10px;
  letter-spacing: 0.18em;
}
.portal-main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  margin-left: 286px;
}
.portal-topbar {
  position: sticky;
  z-index: 4;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  border-bottom: 1px solid rgba(232, 230, 225, 0.1);
  background: rgba(10, 9, 8, 0.84);
  padding: 12px 26px;
  backdrop-filter: blur(18px);
}
.portal-topbar p {
  margin: 4px 0 0;
  color: var(--text);
  line-height: 1.2;
}
.portal-topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ember);
  box-shadow: 0 0 20px rgba(216, 111, 61, 0.68);
}
.mobile-menu-button {
  display: none;
  border: 1px solid rgba(232, 230, 225, 0.14);
  background: rgba(0, 0, 0, 0.32);
  padding: 10px;
}
.mobile-menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--text);
}
.mobile-menu-button span + span {
  margin-top: 5px;
}
.mobile-nav {
  position: fixed;
  z-index: 20;
  inset: 0;
}
.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.62);
}
.mobile-nav-panel {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  width: min(86vw, 320px);
  background:
    linear-gradient(
      180deg,
      rgba(26, 24, 22, 0.98),
      rgba(8, 8, 8, 0.98)),
    #0a0908;
  padding: 22px 16px;
}
.page {
  width: min(1500px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 34px 0 64px;
  overflow: hidden;
}
.launchpad-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 22px 36px;
  border-bottom: 1px solid rgba(232, 230, 225, 0.1);
  padding: 22px 0 26px;
}
.launchpad-title h1 {
  margin: 16px 0 10px;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 300;
  line-height: 0.98;
}
.launchpad-title h1 span,
.section-intro h2 span {
  color: var(--ember);
  font-style: italic;
  font-weight: 200;
}
.launchpad-title p {
  max-width: 760px;
  font-size: 16px;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ember);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.section-label i {
  width: 44px;
  height: 1px;
  background: rgba(232, 230, 225, 0.16);
}
.setup-progress-card {
  position: relative;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 92px;
  border: 1px solid rgba(232, 230, 225, 0.18);
  background: rgba(0, 0, 0, 0.18);
  padding: 18px 22px;
}
.setup-progress-card::before,
.setup-progress-card::after {
  position: absolute;
  width: 22px;
  height: 22px;
  content: "";
}
.setup-progress-card::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid rgba(232, 230, 225, 0.34);
  border-left: 1px solid rgba(232, 230, 225, 0.34);
}
.setup-progress-card::after {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid rgba(232, 230, 225, 0.34);
  border-bottom: 1px solid rgba(232, 230, 225, 0.34);
}
.progress-ring {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background:
    radial-gradient(
      circle at center,
      #090a0a 58%,
      transparent 60%),
    conic-gradient(var(--ember) var(--pct), rgba(232, 230, 225, 0.1) 0);
  color: var(--text);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  font-size: 12px;
}
.setup-progress-card strong {
  display: block;
  margin-top: 8px;
  color: var(--ember);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.launchpad-progress {
  grid-column: 1 / -1;
}
.progress-track {
  display: block;
  width: 100%;
  height: 5px;
  overflow: hidden;
  background: rgba(232, 230, 225, 0.06);
}
.progress-track > span {
  display: block;
  height: 100%;
  background:
    linear-gradient(
      90deg,
      #e8612b,
      #d86f3d);
  transition: width 220ms ease;
}
.progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  color: var(--muted);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.notice.compact {
  margin: 16px 0 0;
}
.readiness-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: rgba(232, 230, 225, 0.12);
}
.mini-ready {
  display: block;
  min-width: 0;
  background: rgba(0, 0, 0, 0.32);
  color: var(--muted);
  padding: 12px;
}
.mini-ready em {
  display: block;
  margin-bottom: 6px;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.mini-ready.ready {
  color: var(--ember);
}
.launchpad-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 300px) minmax(0, 1fr);
  gap: 1px;
  margin-top: 30px;
  border: 1px solid rgba(232, 230, 225, 0.12);
  background: rgba(232, 230, 225, 0.12);
}
.step-rail,
.launchpad-stage {
  position: relative;
  min-width: 0;
  background: rgba(8, 8, 8, 0.9);
}
.step-rail {
  padding: 30px;
}
.step-rail ol {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.rail-step {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 11px 14px;
  text-align: left;
}
.rail-step.active {
  border-left-color: var(--ember);
  background: rgba(216, 111, 61, 0.1);
  color: var(--text);
}
.rail-index {
  color: var(--ember);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
}
.rail-main {
  display: grid;
  flex: 1;
  gap: 9px;
  min-width: 0;
}
.rail-main > span:first-child {
  font-size: 13px;
}
.draft-status {
  margin-top: 36px;
  color: var(--muted);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.hud-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
}
.hud-corner.tl {
  top: 0;
  left: 0;
  border-top: 1px solid rgba(232, 230, 225, 0.34);
  border-left: 1px solid rgba(232, 230, 225, 0.34);
}
.hud-corner.tr {
  top: 0;
  right: 0;
  border-top: 1px solid rgba(232, 230, 225, 0.16);
  border-right: 1px solid rgba(232, 230, 225, 0.16);
}
.hud-corner.bl {
  bottom: 0;
  left: 0;
  border-bottom: 1px solid rgba(232, 230, 225, 0.16);
  border-left: 1px solid rgba(232, 230, 225, 0.16);
}
.hud-corner.br {
  right: 0;
  bottom: 0;
  border-right: 1px solid rgba(232, 230, 225, 0.34);
  border-bottom: 1px solid rgba(232, 230, 225, 0.34);
}
.launchpad-stage {
  padding: 34px 42px 48px;
}
.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 220px);
  gap: 24px;
  align-items: start;
}
.section-intro h2 {
  margin: 16px 0 14px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.05;
}
.section-intro p,
.section-note {
  max-width: 820px;
  color: var(--muted);
  font-size: 15px;
}
.section-progress-card {
  border: 1px solid rgba(232, 230, 225, 0.12);
  background: rgba(0, 0, 0, 0.2);
  padding: 16px;
}
.section-progress-card strong,
.section-progress-card small {
  display: block;
}
.section-progress-card strong {
  margin: 8px 0;
  color: var(--ember);
  font-size: 24px;
  font-weight: 300;
}
.section-progress-card small {
  color: var(--muted);
}
.section-note {
  margin: 20px 0 0;
  border-left: 2px solid rgba(216, 111, 61, 0.55);
  padding-left: 14px;
}
.launchpad-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 42px;
  background: transparent;
}
.lp-field-card {
  min-height: 0;
  border: 0;
  border-left: 2px solid rgba(216, 111, 61, 0.75);
  background: transparent;
  padding: 0;
}
.lp-field-card .field-head {
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}
.lp-field-card label {
  color: var(--muted);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.field-chip {
  border: 1px solid rgba(232, 230, 225, 0.12);
  color: var(--muted);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  padding: 4px 7px;
  text-transform: uppercase;
}
.field-chip.required {
  border-color: rgba(216, 111, 61, 0.62);
  color: var(--ember);
}
.lp-field-card .field-help {
  max-width: 760px;
  margin-bottom: 10px;
}
.lp-field-card input,
.lp-field-card select,
.lp-field-card textarea {
  border-color: rgba(232, 230, 225, 0.14);
  background: rgba(31, 17, 14, 0.52);
  padding: 15px 16px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}
.lp-field-card input:focus,
.lp-field-card select:focus,
.lp-field-card textarea:focus {
  border-color: rgba(216, 111, 61, 0.76);
  box-shadow: 0 0 0 3px rgba(216, 111, 61, 0.12), 0 0 24px rgba(216, 111, 61, 0.16);
  outline: none;
}
.field-foot {
  margin-top: 4px;
}
.topbar,
.hero,
.flow,
.panel,
.field,
.queue-row,
.recovery-card {
  border: 1px solid var(--line);
}
.topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 16px;
  background: #090a0a;
}
.eyebrow,
.label,
.pill {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  text-transform: uppercase;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--ember);
}
.label {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 28px;
  margin-top: 28px;
  padding: 28px;
  background: var(--panel);
}
.gate-hero {
  align-items: stretch;
}
.gate-panel {
  max-width: 760px;
}
.gate-panel label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  max-width: 860px;
  margin-bottom: 16px;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
}
.hero h1 span {
  color: var(--ember);
  font-style: italic;
  font-weight: 200;
}
h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 350;
}
h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 450;
}
p {
  color: var(--muted);
  line-height: 1.65;
}
.status-grid,
.metrics,
.fields,
.recovery-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
}
.status-grid,
.metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.status-cell,
.metric,
.fields > *,
.recovery-grid > * {
  min-width: 0;
  background: #090a0a;
}
.status-cell,
.metric {
  padding: 14px;
}
.ready {
  margin-top: 7px;
  color: var(--ember);
}
.blocked {
  margin-top: 7px;
  color: var(--muted);
}
.flow {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
}
.steps,
.stage {
  min-width: 0;
  background: #090a0a;
}
.steps {
  padding: 18px;
}
.step {
  width: 100%;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 13px;
  text-align: left;
}
.step.active {
  border-color: var(--ember);
  background: rgba(216, 111, 61, 0.08);
  color: var(--text);
}
.stage {
  padding: 28px;
}
.fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}
.field {
  min-height: 132px;
  padding: 14px;
  background: var(--panel);
}
.field.wide {
  grid-column: 1 / -1;
}
.field-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.field-help {
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.45;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #070808;
  color: var(--text);
  padding: 10px;
}
textarea {
  min-height: 90px;
  resize: vertical;
}
.pill {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.14em;
  margin: 8px 5px 0 0;
  padding: 5px 7px;
}
.target-row {
  margin-top: 8px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.legal-consent-panel {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  border: 1px solid rgba(216, 111, 61, 0.38);
  background: rgba(216, 111, 61, 0.08);
  padding: 14px;
}
.consent-checkbox {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}
.consent-checkbox input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--ember);
}
.legal-consent-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.button {
  border: 1px solid var(--line);
  background: var(--panel-soft);
  color: var(--text);
  padding: 10px 13px;
}
.button.primary {
  border-color: rgba(216, 111, 61, 0.65);
  color: var(--ember);
}
.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.notice {
  margin-top: 18px;
  border: 1px solid rgba(216, 111, 61, 0.45);
  background: rgba(216, 111, 61, 0.08);
  padding: 14px;
  color: var(--muted);
}
.error {
  color: var(--danger);
}
.panel {
  margin-top: 22px;
  padding: 18px;
  background: var(--panel);
}
.queue-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  padding: 12px;
}
pre {
  max-width: 100%;
  max-height: 360px;
  overflow: auto;
  border: 1px solid var(--line);
  background: #070808;
  color: var(--muted);
  padding: 14px;
}
.recovery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}
.recovery-card {
  padding: 14px;
}
@media (max-width: 860px) {
  .portal-sidebar {
    display: none;
  }
  .portal-main {
    margin-left: 0;
  }
  .portal-topbar {
    padding: 10px 14px;
  }
  .portal-topbar-status {
    display: none;
  }
  .mobile-menu-button {
    display: grid;
    flex: 0 0 auto;
  }
  .page {
    width: min(100vw - 24px, 720px);
    padding-top: 24px;
  }
  .launchpad-hero,
  .launchpad-grid,
  .section-intro,
  .readiness-strip {
    grid-template-columns: 1fr;
  }
  .launchpad-hero {
    padding-top: 8px;
  }
  .launchpad-title h1 {
    font-size: 40px;
  }
  .setup-progress-card {
    justify-content: flex-start;
  }
  .progress-copy {
    display: grid;
    gap: 7px;
    letter-spacing: 0.18em;
  }
  .step-rail {
    position: sticky;
    z-index: 3;
    top: 64px;
    overflow-x: auto;
    border-bottom: 1px solid rgba(232, 230, 225, 0.12);
    padding: 12px;
  }
  .step-rail .label,
  .step-rail .hud-corner,
  .draft-status {
    display: none;
  }
  .step-rail ol {
    display: flex;
    gap: 8px;
    margin: 0;
    min-width: max-content;
  }
  .rail-step {
    width: auto;
    min-width: 150px;
    border: 1px solid rgba(232, 230, 225, 0.12);
    border-left-width: 1px;
  }
  .rail-main .progress-track {
    display: none;
  }
  .launchpad-stage {
    padding: 26px 18px 34px;
  }
  .section-progress-card {
    max-width: 100%;
  }
  .topbar,
  .hero,
  .flow,
  .fields,
  .recovery-grid {
    grid-template-columns: 1fr;
  }
  .topbar {
    display: block;
  }
  h1 {
    font-size: 40px;
  }
  .auth-topbar {
    width: min(100vw - 28px, 560px);
    padding: 20px 0;
  }
  .auth-secure-label {
    letter-spacing: 0.18em;
  }
  .auth-card {
    margin-top: 12px;
    padding: 34px 22px;
    border-radius: 18px;
  }
  .auth-card h1 {
    font-size: 32px;
  }
  .auth-extras {
    align-items: flex-start;
    flex-direction: column;
  }
}
body {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.portal-shell {
  --sidebar-w: 306px;
  min-height: 100vh;
  background:
    radial-gradient(
      ellipse at 70% 18%,
      rgba(255, 255, 255, 0.035),
      transparent 18%),
    radial-gradient(
      ellipse at 54% 100%,
      rgba(163, 54, 32, 0.28),
      transparent 43%),
    #050505;
}
.portal-grid {
  background-size: 32px 32px;
  opacity: 0.34;
}
.portal-sidebar {
  width: var(--sidebar-w);
  overflow-y: auto;
  border-right-color: rgba(232, 230, 225, 0.09);
  background:
    linear-gradient(
      180deg,
      rgba(15, 14, 13, 0.98),
      rgba(4, 4, 4, 0.98)),
    #050505;
  padding: 0;
}
.portal-sidebar > * {
  margin-left: 10px;
  margin-right: 10px;
}
.portal-brand {
  min-height: 80px;
  margin: 0;
  padding: 20px 10px 18px;
  border-bottom: 1px solid rgba(232, 230, 225, 0.08);
  justify-content: flex-start;
}
.portal-brand-dot {
  width: 33px !important;
  height: 33px !important;
  flex: 0 0 33px;
  border-radius: 999px;
  filter: drop-shadow(0 0 14px rgba(216, 111, 61, 0.55));
}
.portal-brand img:not(.portal-brand-dot) {
  width: 118px;
  height: auto;
}
.portal-brand span {
  display: block;
  color: rgba(232, 230, 225, 0.58);
  font-size: 9px;
  letter-spacing: 0.32em;
}
.station-switcher {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 10px;
  min-height: 78px;
  margin-top: 10px;
  border: 1px solid rgba(232, 230, 225, 0.08);
  background: rgba(10, 9, 8, 0.72);
  padding: 14px 15px;
}
.station-switcher svg {
  width: 16px;
  height: 16px;
  color: var(--ember);
}
.station-switcher span,
.station-switcher em {
  display: block;
  font-family:
    "JetBrains Mono",
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  color: rgba(232, 230, 225, 0.5);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.28em;
  line-height: 1.45;
  text-transform: uppercase;
}
.station-switcher strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.station-switcher em {
  border: 1px solid rgba(216, 111, 61, 0.45);
  color: var(--ember);
  padding: 5px 9px;
  letter-spacing: 0.18em;
}
.station-card {
  margin-top: 22px;
  padding: 24px 22px 22px;
}
.station-orb {
  width: 58px;
  height: 58px;
}
.station-orb img {
  width: 52px;
  height: 52px;
}
.station-card h2 {
  max-width: 230px;
  font-family:
    "Space Grotesk",
    Inter,
    sans-serif;
  font-size: 25px;
}
.portal-nav {
  gap: 24px;
  margin-top: 24px;
}
.portal-nav-group {
  display: grid;
  gap: 6px;
}
.portal-nav-group .eyebrow {
  padding: 0 0 4px;
  color: rgba(232, 230, 225, 0.45);
  letter-spacing: 0.36em;
}
.portal-nav-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  min-height: 42px;
  border-radius: 0;
  padding: 10px;
}
.portal-nav-item svg {
  width: 18px;
  height: 18px;
  color: currentColor;
}
.portal-nav-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.portal-nav-item.active {
  border-color: rgba(232, 230, 225, 0.14);
  border-left: 3px solid var(--ember);
  background: rgba(216, 111, 61, 0.16);
  color: var(--text);
}
.portal-nav-item.locked {
  color: rgba(232, 230, 225, 0.62);
  opacity: 0.78;
}
.portal-sidebar-footer {
  margin-top: 26px;
  margin-bottom: 0;
  padding: 18px 10px 18px;
}
.portal-signout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.portal-signout svg {
  width: 15px;
  height: 15px;
}
.portal-main {
  margin-left: var(--sidebar-w);
}
.portal-topbar {
  min-height: 64px;
  border-bottom-color: rgba(232, 230, 225, 0.08);
  background: rgba(5, 5, 5, 0.86);
  padding: 0 28px;
}
.portal-topbar-label,
.mobile-menu-button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: rgba(232, 230, 225, 0.58);
  font-family:
    "JetBrains Mono",
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.portal-topbar-label svg,
.mobile-menu-button svg {
  width: 17px;
  height: 17px;
  color: var(--text);
}
.portal-topbar-status {
  letter-spacing: 0.34em;
}
.page {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 34px 64px 70px;
  overflow: visible;
}
.tracking-safety-notice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 64px 0;
  border: 1px solid rgba(255, 112, 22, 0.2);
  background: rgba(255, 112, 22, 0.08);
}
.tracking-safety-notice > div {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.46);
}
.tracking-safety-notice strong {
  color: var(--ember);
  font-family:
    "JetBrains Mono",
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.tracking-safety-notice span {
  color: rgba(232, 230, 225, 0.66);
  font-size: 12px;
  line-height: 1.45;
}
.launchpad-hero {
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px 36px;
  border-bottom-color: rgba(232, 230, 225, 0.08);
  padding: 36px 0 26px;
}
.launchpad-title h1 {
  max-width: 860px;
  font-family:
    "Space Grotesk",
    Inter,
    sans-serif;
  font-size: clamp(46px, 4.6vw, 72px);
  font-weight: 300;
  letter-spacing: -0.02em;
}
.launchpad-title p {
  max-width: 830px;
  color: rgba(232, 230, 225, 0.58);
  font-size: 17px;
}
.section-label,
.eyebrow,
.label,
.field-section-head,
.field-chip,
.field-assistant-button,
.field-prompt-button,
.field-icon-button,
.progress-copy,
.draft-status,
.pill {
  font-family:
    "JetBrains Mono",
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.setup-progress-card {
  min-height: 106px;
  background: rgba(0, 0, 0, 0.34);
}
.progress-ring {
  width: 76px;
  height: 76px;
}
.readiness-strip {
  margin-top: 12px;
  background: rgba(232, 230, 225, 0.08);
}
.mini-ready {
  min-height: 72px;
  background: rgba(16, 16, 16, 0.72);
  font-size: 18px;
}
.launchpad-grid {
  grid-template-columns: 360px minmax(0, 1fr);
  margin-top: 30px;
  border-color: rgba(232, 230, 225, 0.14);
  background: rgba(232, 230, 225, 0.1);
}
.step-rail {
  padding: 34px 34px 28px;
  background: rgba(4, 4, 4, 0.92);
}
.step-rail ol {
  gap: 8px;
  margin-top: 28px;
}
.rail-step {
  min-height: 56px;
  padding: 13px 15px;
}
.rail-step.active {
  border: 1px solid rgba(125, 186, 255, 0.95);
  border-left: 3px solid var(--ember);
  background: rgba(216, 111, 61, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.rail-index {
  min-width: 25px;
}
.rail-main > span:first-child {
  font-size: 14px;
}
.launchpad-stage {
  background: rgba(5, 5, 5, 0.94);
  padding: 40px 54px 48px;
}
.section-intro {
  grid-template-columns: minmax(0, 1fr) 210px;
}
.section-intro h2 {
  font-family:
    "Space Grotesk",
    Inter,
    sans-serif;
  font-size: clamp(42px, 4.1vw, 64px);
  font-weight: 300;
  letter-spacing: -0.02em;
}
.section-intro p,
.section-note {
  color: rgba(232, 230, 225, 0.58);
  font-size: 16px;
}
.prefill-review-banner {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) 1fr;
  gap: 18px;
  margin-top: 18px;
  border: 1px solid rgba(255, 112, 22, 0.28);
  background: rgba(8, 5, 4, 0.82);
  padding: 14px 16px;
}
.prefill-review-banner strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-family:
    "Space Grotesk",
    Inter,
    sans-serif;
  font-size: 20px;
  font-weight: 300;
}
.prefill-review-banner p {
  margin: 0;
  color: rgba(232, 230, 225, 0.6);
  font-size: 13px;
  line-height: 1.55;
}
.section-progress-card {
  align-self: start;
  min-height: 116px;
  background: rgba(0, 0, 0, 0.26);
}
.launchpad-fields {
  display: grid;
  gap: 46px;
  margin-top: 42px;
}
.field-section {
  display: grid;
  gap: 18px;
}
.field-section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  color: var(--ember);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.field-section-head i {
  height: 1px;
  background: rgba(232, 230, 225, 0.09);
}
.field-section-head em {
  color: rgba(232, 230, 225, 0.48);
  font-style: normal;
}
.field-section.muted .field-section-head span {
  color: rgba(232, 230, 225, 0.5);
}
.field-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(232, 230, 225, 0.12);
}
.lp-field-card {
  min-height: 190px;
  border: 0;
  border-left: 2px solid rgba(216, 111, 61, 0.72);
  background: rgba(24, 15, 13, 0.5);
  padding: 18px;
}
.lp-field-card.wide {
  grid-column: 1 / -1;
}
.lp-field-card .field-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.lp-field-card label {
  color: rgba(232, 230, 225, 0.58);
  font-size: 10px;
  letter-spacing: 0.34em;
}
.field-icon-button,
.field-assistant-button,
.field-prompt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 20px;
  border: 1px solid rgba(232, 230, 225, 0.12);
  background: rgba(0, 0, 0, 0.24);
  color: rgba(232, 230, 225, 0.5);
  padding: 2px 6px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.field-assistant-button {
  border-color: rgba(255, 112, 22, 0.32);
  color: var(--ember);
}
.field-assistant-button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}
.field-icon-button {
  width: 20px;
  border-radius: 999px;
  padding: 0;
}
.field-icon-button svg,
.field-assistant-button svg,
.field-prompt-button svg {
  width: 12px;
  height: 12px;
}
.field-icon-button:hover,
.field-assistant-button:hover:not(:disabled),
.field-prompt-button:hover {
  border-color: rgba(216, 111, 61, 0.62);
  color: var(--ember);
}
.field-prompt-button.copied {
  border-color: rgba(255, 112, 22, 0.78);
  background: rgba(255, 112, 22, 0.14);
  color: var(--ember);
}
.field-prompt-button.failed {
  border-color: rgba(224, 111, 111, 0.62);
  color: var(--danger);
}
.field-info-wrap,
.field-prompt-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.field-info-tooltip,
.field-prompt-tooltip {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  left: 0;
  width: min(380px, calc(100vw - 42px));
  border: 1px solid rgba(255, 112, 22, 0.22);
  background: rgba(4, 4, 4, 0.98);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  color: rgba(232, 230, 225, 0.72);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 80ms ease, transform 80ms ease;
  padding: 16px 18px;
}
.field-prompt-tooltip {
  left: auto;
  right: 0;
  width: min(330px, calc(100vw - 42px));
}
.field-info-tooltip strong,
.field-prompt-tooltip strong {
  display: block;
  margin-bottom: 9px;
  color: var(--ember);
  font-family:
    "JetBrains Mono",
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.field-info-tooltip strong + span,
.field-prompt-tooltip span {
  display: block;
  font-size: 13px;
  line-height: 1.55;
}
.field-info-tooltip ul {
  display: grid;
  gap: 7px;
  margin: 2px 0 0;
  padding: 0 0 0 15px;
}
.field-info-tooltip li {
  font-size: 13px;
  line-height: 1.5;
}
.field-info-tooltip li::marker {
  color: var(--ember);
}
.field-info-wrap:hover .field-info-tooltip,
.field-info-wrap:focus-within .field-info-tooltip,
.field-prompt-wrap:hover .field-prompt-tooltip,
.field-prompt-wrap:focus-within .field-prompt-tooltip {
  opacity: 1;
  transform: translateY(0);
}
.setup-assistant-launcher {
  position: fixed;
  z-index: 42;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid rgba(255, 112, 22, 0.46);
  background:
    linear-gradient(
      180deg,
      rgba(255, 112, 22, 0.16),
      rgba(5, 5, 5, 0.94)),
    #050505;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.48);
  color: var(--ember);
  padding: 0 16px;
  font-family:
    "JetBrains Mono",
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.setup-assistant-launcher svg {
  width: 15px;
  height: 15px;
}
.setup-assistant-panel {
  position: fixed;
  z-index: 45;
  right: 22px;
  bottom: 22px;
  width: min(430px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  border: 1px solid rgba(232, 230, 225, 0.13);
  background:
    radial-gradient(
      circle at 84% 0%,
      rgba(255, 112, 22, 0.16),
      transparent 32%),
    linear-gradient(
      180deg,
      rgba(12, 12, 12, 0.98),
      rgba(4, 4, 4, 0.98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.68), inset 0 1px 0 rgba(232, 230, 225, 0.08);
  padding: 18px;
}
.setup-assistant-panel::before,
.setup-assistant-panel::after {
  position: absolute;
  width: 22px;
  height: 22px;
  content: "";
  pointer-events: none;
}
.setup-assistant-panel::before {
  top: 10px;
  left: 10px;
  border-top: 1px solid rgba(232, 230, 225, 0.28);
  border-left: 1px solid rgba(232, 230, 225, 0.28);
}
.setup-assistant-panel::after {
  right: 10px;
  bottom: 10px;
  border-right: 1px solid rgba(255, 112, 22, 0.5);
  border-bottom: 1px solid rgba(255, 112, 22, 0.5);
}
.setup-assistant-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.setup-assistant-head h3 {
  margin: 7px 0 0;
  color: var(--text);
  font-family:
    "Space Grotesk",
    Inter,
    sans-serif;
  font-size: 24px;
  font-weight: 300;
}
.setup-assistant-head button {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(232, 230, 225, 0.1);
  background: rgba(0, 0, 0, 0.34);
  color: rgba(232, 230, 225, 0.72);
}
.setup-assistant-intro {
  margin: 0 0 12px;
  color: rgba(232, 230, 225, 0.58);
  font-size: 13px;
  line-height: 1.55;
}
.setup-assistant-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}
.setup-assistant-tags span,
.assistant-decision,
.setup-assistant-label,
.setup-assistant-questions .label,
.setup-assistant-questions label > span {
  font-family:
    "JetBrains Mono",
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  text-transform: uppercase;
}
.setup-assistant-tags span,
.assistant-decision {
  border: 1px solid rgba(232, 230, 225, 0.09);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(232, 230, 225, 0.58);
  padding: 5px 7px;
  font-size: 8px;
  letter-spacing: 0.16em;
}
.assistant-decision.accepted,
.assistant-decision.edited {
  border-color: rgba(255, 112, 22, 0.48);
  color: var(--ember);
}
.assistant-decision.rejected {
  border-color: rgba(224, 111, 111, 0.42);
  color: var(--danger);
}
.setup-assistant-label,
.setup-assistant-questions label > span {
  display: block;
  margin: 14px 0 8px;
  color: rgba(232, 230, 225, 0.62);
  font-size: 9px;
  letter-spacing: 0.26em;
}
.setup-assistant-questions label > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.setup-assistant-questions label > span em {
  border: 1px solid rgba(232, 230, 225, 0.1);
  color: rgba(232, 230, 225, 0.52);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.18em;
  padding: 3px 6px;
}
.setup-assistant-questions small {
  display: block;
  margin: -3px 0 8px;
  color: rgba(232, 230, 225, 0.48);
  font-size: 12px;
  line-height: 1.45;
}
.setup-assistant-panel textarea {
  width: 100%;
  min-height: 86px;
  border: 1px solid rgba(232, 230, 225, 0.1);
  background: rgba(10, 6, 5, 0.86);
  color: var(--text);
  padding: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.setup-assistant-panel textarea:focus {
  border-color: rgba(255, 112, 22, 0.68);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 112, 22, 0.1);
}
.setup-assistant-questions {
  margin-top: 14px;
  border-top: 1px solid rgba(232, 230, 225, 0.07);
  padding-top: 12px;
}
.setup-assistant-questions label {
  display: block;
}
.setup-assistant-questions textarea {
  min-height: 58px;
}
.setup-assistant-actions,
.setup-assistant-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.setup-assistant-actions {
  justify-content: flex-start;
}
.setup-assistant-actions .button,
.setup-assistant-footer .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.setup-assistant-actions svg {
  width: 14px;
  height: 14px;
}
.setup-assistant-footer {
  justify-content: flex-end;
  border-top: 1px solid rgba(232, 230, 225, 0.07);
  padding-top: 14px;
}
.setup-assistant-footer .assistant-decision {
  margin-right: auto;
}
.lp-field-card .field-help {
  max-width: 820px;
  min-height: 39px;
  color: rgba(232, 230, 225, 0.58);
  font-size: 14px;
}
.lp-field-card input,
.lp-field-card select,
.lp-field-card textarea {
  min-height: 54px;
  border: 1px solid rgba(232, 230, 225, 0.13);
  background: rgba(22, 11, 10, 0.72);
  color: var(--text);
  font-size: 16px;
  padding: 15px 17px;
}
.lp-field-card textarea {
  min-height: 118px;
}
.lp-field-card input.is-filled,
.lp-field-card select.is-filled,
.lp-field-card textarea.is-filled {
  border-left: 2px solid var(--ember);
}
.prefill-review-card {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  border: 1px solid rgba(232, 230, 225, 0.11);
  background: rgba(0, 0, 0, 0.28);
  padding: 12px;
}
.prefill-review-card.accepted,
.prefill-review-card.edited {
  border-color: rgba(255, 112, 22, 0.42);
}
.prefill-review-card.rejected {
  border-color: rgba(224, 111, 111, 0.32);
}
.prefill-review-card.needs_review {
  border-color: rgba(255, 112, 22, 0.64);
  background: rgba(255, 112, 22, 0.06);
}
.prefill-review-head,
.prefill-review-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.prefill-review-head span,
.prefill-review-head em,
.prefill-review-actions button {
  font-family:
    "JetBrains Mono",
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.prefill-review-head span {
  color: var(--ember);
}
.prefill-review-head em {
  color: rgba(232, 230, 225, 0.46);
  font-style: normal;
}
.prefill-review-card p {
  margin: 0;
  color: rgba(232, 230, 225, 0.82);
  font-size: 13px;
  line-height: 1.5;
}
.prefill-review-card small {
  color: rgba(232, 230, 225, 0.48);
  font-size: 11px;
  line-height: 1.45;
}
.prefill-review-actions button {
  min-height: 28px;
  border: 1px solid rgba(232, 230, 225, 0.12);
  background: rgba(0, 0, 0, 0.24);
  color: rgba(232, 230, 225, 0.68);
  padding: 6px 8px;
}
.prefill-review-actions button:hover:not(:disabled) {
  border-color: rgba(255, 112, 22, 0.56);
  color: var(--ember);
}
.prefill-review-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.36;
}
.field-foot {
  min-height: 31px;
  margin-top: 8px;
}
.pill {
  background: rgba(0, 0, 0, 0.22);
}
.actions {
  justify-content: flex-end;
  gap: 14px;
  margin-top: 34px;
  border-top: 1px solid rgba(232, 230, 225, 0.08);
  padding-top: 24px;
}
.button {
  min-height: 44px;
  border-color: rgba(232, 230, 225, 0.12);
  background: rgba(0, 0, 0, 0.3);
  padding: 12px 18px;
}
.button.primary {
  border-color: rgba(216, 111, 61, 0.75);
  background:
    linear-gradient(
      180deg,
      #e66f3c,
      #d95324);
  color: #110806;
  font-weight: 600;
}
.panel {
  border-color: rgba(232, 230, 225, 0.1);
  background: rgba(8, 8, 8, 0.72);
}
@media (max-width: 1180px) {
  .page {
    padding-left: 28px;
    padding-right: 28px;
  }
  .launchpad-grid {
    grid-template-columns: 280px minmax(0, 1fr);
  }
  .launchpad-stage {
    padding: 34px 30px;
  }
  .field-card-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .setup-assistant-launcher {
    right: 12px;
    bottom: 12px;
    min-height: 42px;
    padding: 0 13px;
    letter-spacing: 0.16em;
  }
  .setup-assistant-panel {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    max-height: 78vh;
  }
  .setup-assistant-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .setup-assistant-footer .assistant-decision {
    margin-right: 0;
  }
  .setup-assistant-footer .button {
    justify-content: center;
    width: 100%;
  }
}
:root {
  --ember: #ff7016;
}
.portal-shell {
  background:
    radial-gradient(
      ellipse at 74% 18%,
      rgba(232, 230, 225, 0.025),
      transparent 17%),
    radial-gradient(
      ellipse at 58% 100%,
      rgba(163, 54, 32, 0.18),
      transparent 42%),
    #050505;
}
.portal-sidebar,
.portal-topbar,
.mobile-nav-panel,
.step-rail,
.launchpad-stage,
.station-switcher,
.station-card,
.setup-progress-card,
.section-progress-card,
.panel {
  background-color: rgba(5, 5, 5, 0.92);
}
.portal-sidebar {
  background:
    linear-gradient(
      180deg,
      rgba(7, 7, 7, 0.99),
      rgba(3, 3, 3, 0.99)),
    #050505;
}
.portal-brand,
.portal-topbar,
.portal-sidebar-footer,
.actions,
.launchpad-hero {
  border-color: rgba(232, 230, 225, 0.055);
}
.portal-nav-group .eyebrow,
.portal-brand span,
.station-switcher span,
.station-switcher em,
.label,
.progress-copy,
.draft-status,
.section-intro p,
.section-note,
.lp-field-card .field-help {
  color: rgba(232, 230, 225, 0.54);
}
.portal-nav-item,
.portal-nav-item.locked {
  color: rgba(232, 230, 225, 0.96);
  opacity: 1;
}
.portal-nav-item.locked em {
  color: rgba(232, 230, 225, 0.46);
}
.portal-nav-item:not(.active) {
  background: transparent;
  border-color: transparent;
}
.portal-nav-item:not(.active):hover {
  background: rgba(232, 230, 225, 0.035);
}
.portal-nav-item.active {
  background: rgba(216, 111, 61, 0.12);
  border-color: rgba(232, 230, 225, 0.08);
  color: #e8e6e1;
}
.station-switcher,
.station-card,
.setup-progress-card,
.section-progress-card {
  border-color: rgba(232, 230, 225, 0.08);
}
.setup-progress-card::before,
.setup-progress-card::after,
.hud-corner.tl,
.hud-corner.tr,
.hud-corner.bl,
.hud-corner.br {
  border-color: rgba(232, 230, 225, 0.18);
}
.launchpad-title p {
  color: rgba(232, 230, 225, 0.56);
}
.launchpad-progress > .progress-track {
  height: 5px;
}
.section-intro + .progress-track,
.rail-main .progress-track {
  height: 2px;
  background: rgba(232, 230, 225, 0.045);
}
.progress-track > span {
  background:
    linear-gradient(
      90deg,
      #ff7016,
      #ff8b3d);
}
.readiness-strip {
  gap: 0;
  background: rgba(232, 230, 225, 0.045);
}
.mini-ready {
  background: rgba(10, 10, 10, 0.78);
  color: rgba(232, 230, 225, 0.74);
}
.mini-ready + .mini-ready {
  border-left: 1px solid rgba(232, 230, 225, 0.04);
}
.launchpad-grid {
  border-color: rgba(232, 230, 225, 0.075);
  background: transparent;
}
.step-rail,
.launchpad-stage {
  background: rgba(5, 5, 5, 0.94);
}
.rail-step {
  border-left-width: 1px;
}
.rail-step.active {
  border-color: rgba(232, 230, 225, 0.1);
  border-left-color: var(--ember);
  background: rgba(216, 111, 61, 0.09);
  box-shadow: none;
}
.rail-step.done:not(.active) {
  color: rgba(232, 230, 225, 0.9);
}
.rail-step.done:not(.active) .rail-index {
  color: var(--ember);
}
.rail-step.done:not(.active) .rail-main > span:first-child {
  color: rgba(232, 230, 225, 0.92);
}
.rail-main > span:first-child {
  color: rgba(232, 230, 225, 0.84);
}
.section-progress-card {
  background: rgba(5, 5, 5, 0.62);
}
.section-note {
  margin-top: 16px;
  border-left-width: 1px;
  color: rgba(232, 230, 225, 0.5);
  font-size: 14px;
}
.field-section-head i {
  background: rgba(232, 230, 225, 0.055);
}
.field-card-grid {
  gap: 18px;
  background: transparent;
}
.lp-field-card {
  min-height: 168px;
  border-left-width: 1px;
  border-top: 1px solid rgba(232, 230, 225, 0.045);
  background: rgba(5, 5, 5, 0.56);
  padding: 16px 0 0 17px;
}
.lp-field-card .field-head {
  gap: 8px;
}
.lp-field-card label {
  color: rgba(232, 230, 225, 0.66);
}
.field-chip {
  border-color: rgba(232, 230, 225, 0.08);
  background: rgba(5, 5, 5, 0.52);
}
.field-icon-button,
.field-assistant-button,
.field-prompt-button {
  border-color: rgba(232, 230, 225, 0.08);
  background: rgba(5, 5, 5, 0.48);
}
.lp-field-card input,
.lp-field-card select,
.lp-field-card textarea {
  border-color: rgba(232, 230, 225, 0.09);
  background: rgba(10, 6, 5, 0.84);
}
.lp-field-card input.is-filled,
.lp-field-card select.is-filled,
.lp-field-card textarea.is-filled {
  border-left-width: 1px;
}
.field-foot {
  display: none;
}
.notice.compact {
  display: none;
}
.button {
  background: rgba(5, 5, 5, 0.62);
}
.button.primary {
  border-color: rgba(255, 112, 22, 0.82);
  background:
    linear-gradient(
      180deg,
      #ff842f,
      #ff7016);
  color: #100603;
}
.mission-shell .portal-main {
  min-height: 100vh;
  overflow-x: hidden;
}
.mission-page {
  display: grid;
  gap: 24px;
  width: min(100%, 1680px);
  max-width: calc(100vw - var(--sidebar-w, 306px));
  overflow-x: hidden;
}
.mission-sidebar .station-card {
  min-height: 220px;
}
.mc-refresh-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(232, 230, 225, 0.1);
  background: rgba(5, 5, 5, 0.58);
  color: var(--text);
  padding: 10px 14px;
  font-family:
    "JetBrains Mono",
    ui-monospace,
    monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.mc-refresh-top svg {
  width: 16px;
  height: 16px;
  color: var(--ember);
}
.mc-hero,
.mc-auth-card,
.mc-panel {
  position: relative;
  border: 1px solid rgba(232, 230, 225, 0.1);
  background:
    linear-gradient(
      90deg,
      rgba(255, 112, 22, 0.04),
      transparent 32%),
    rgba(5, 5, 5, 0.76);
}
.mc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  align-items: center;
  padding: 54px 56px 44px;
}
.mc-admin-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
  border: 1px solid rgba(255, 112, 22, 0.2);
  background:
    linear-gradient(
      90deg,
      rgba(255, 112, 22, 0.08),
      transparent 42%),
    rgba(5, 5, 5, 0.74);
  padding: 26px 28px 28px;
}
.mc-admin-actions h2 {
  margin: 6px 0 6px;
  color: var(--text);
  font-family:
    "Space Grotesk",
    Inter,
    sans-serif;
  font-size: 24px;
  font-weight: 420;
}
.mc-admin-actions p {
  max-width: 880px;
  margin: 0;
  color: rgba(232, 230, 225, 0.58);
  font-size: 14px;
  line-height: 1.55;
}
.mc-admin-actions .button {
  min-width: 230px;
  justify-content: center;
  white-space: nowrap;
}
.mc-draft-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.mc-draft-form label {
  display: grid;
  gap: 9px;
  min-width: 0;
}
.mc-draft-form label.wide {
  grid-column: span 2;
}
.mc-draft-form label span {
  color: rgba(232, 230, 225, 0.62);
  font-family:
    "JetBrains Mono",
    ui-monospace,
    monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.35;
  text-transform: uppercase;
}
.mc-draft-form input,
.mc-draft-form select {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(232, 230, 225, 0.12);
  border-left-color: rgba(255, 112, 22, 0.78);
  background: rgba(5, 5, 5, 0.72);
  color: var(--text);
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
  font-size: 14px;
  outline: none;
}
.mc-draft-form input::placeholder {
  color: rgba(232, 230, 225, 0.32);
}
.mc-draft-form input:focus,
.mc-draft-form select:focus {
  border-color: rgba(255, 112, 22, 0.86);
  box-shadow: 0 0 0 1px rgba(255, 112, 22, 0.18);
}
.mc-draft-boundary {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 112, 22, 0.18);
  background: rgba(255, 112, 22, 0.05);
  padding: 13px 14px;
}
.mc-draft-boundary strong,
.mc-draft-boundary span {
  font-family:
    "JetBrains Mono",
    ui-monospace,
    monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.45;
  text-transform: uppercase;
}
.mc-draft-boundary strong {
  color: var(--ember);
}
.mc-draft-boundary span {
  color: rgba(232, 230, 225, 0.58);
}
.mc-draft-form > .button {
  align-self: end;
  min-height: 48px;
}
.mc-action-message {
  border: 1px solid rgba(255, 112, 22, 0.2);
  background: rgba(255, 112, 22, 0.06);
  color: rgba(232, 230, 225, 0.78);
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.55;
}
.mc-hero h1,
.mc-auth-card h1 {
  margin: 14px 0 12px;
  color: var(--text);
  font-family:
    "Space Grotesk",
    Inter,
    sans-serif;
  font-size: clamp(40px, 5vw, 74px);
  font-weight: 300;
  line-height: 0.98;
}
.mc-hero h1 span {
  color: var(--ember);
  font-style: italic;
}
.mc-hero p,
.mc-auth-card p {
  max-width: 760px;
  margin: 0;
  color: rgba(232, 230, 225, 0.6);
  font-size: 17px;
  line-height: 1.7;
}
.mc-safety-card {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(232, 230, 225, 0.11);
  background: rgba(0, 0, 0, 0.42);
  padding: 22px;
}
.mc-safety-card svg,
.mc-icon-lock svg {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: var(--ember);
}
.mc-safety-card span,
.mc-safety-card strong,
.mc-metric span,
.mc-panel-head span,
.mc-status,
.mc-row.header,
.mc-mini-card em,
.mc-auth-actions button {
  font-family:
    "JetBrains Mono",
    ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.mc-safety-card span {
  display: block;
  color: rgba(232, 230, 225, 0.44);
  font-size: 10px;
  margin-bottom: 8px;
}
.mc-safety-card strong {
  color: var(--text);
  font-size: 11px;
  line-height: 1.5;
}
.mc-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border: 1px solid rgba(232, 230, 225, 0.08);
  background: rgba(5, 5, 5, 0.62);
}
.mc-metric {
  min-height: 138px;
  border-right: 1px solid rgba(232, 230, 225, 0.07);
  padding: 22px;
}
.mc-metric:last-child {
  border-right: 0;
}
.mc-metric svg {
  width: 22px;
  height: 22px;
  color: var(--ember);
  margin-bottom: 22px;
}
.mc-metric span {
  display: block;
  color: rgba(232, 230, 225, 0.46);
  font-size: 10px;
}
.mc-metric strong {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-family:
    "Space Grotesk",
    Inter,
    sans-serif;
  font-size: 40px;
  font-weight: 400;
}
.mc-toolbar {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.mc-search {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 420px;
  min-width: min(100%, 280px);
  border: 1px solid rgba(232, 230, 225, 0.1);
  background: rgba(5, 5, 5, 0.7);
  padding: 0 16px;
}
.mc-search svg {
  width: 18px;
  height: 18px;
  color: var(--ember);
}
.mc-search input,
.mc-auth-actions input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 16px 0;
}
.mc-panel {
  overflow: hidden;
}
.mc-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(232, 230, 225, 0.08);
  padding: 22px 24px;
}
.mc-panel-head h2 {
  margin: 6px 0 0;
  color: var(--text);
  font-size: 24px;
  font-weight: 500;
}
.mc-panel-head span {
  color: rgba(232, 230, 225, 0.45);
  font-size: 10px;
}
.mc-table {
  display: grid;
  overflow-x: auto;
  max-width: 100%;
}
.mc-row {
  display: grid;
  grid-template-columns: minmax(240px, 1.45fr) 180px 140px minmax(180px, 1fr) 180px 130px 92px;
  gap: 18px;
  align-items: center;
  min-width: 1040px;
  border-bottom: 1px solid rgba(232, 230, 225, 0.065);
  padding: 18px 24px;
}
.mc-row.header {
  min-height: 48px;
  color: rgba(232, 230, 225, 0.42);
  font-size: 9px;
}
.mc-row:not(.header) {
  color: rgba(232, 230, 225, 0.66);
}
.mc-row.selected {
  background: rgba(255, 112, 22, 0.055);
  box-shadow: inset 3px 0 0 rgba(255, 112, 22, 0.82);
}
.mc-row strong {
  display: block;
  color: var(--text);
  font-weight: 500;
}
.mc-row em,
.mc-mini-card span,
.mc-readiness em {
  display: block;
  color: rgba(232, 230, 225, 0.48);
  font-style: normal;
  line-height: 1.5;
}
.mc-readiness {
  display: grid;
  gap: 4px;
}
.mc-status {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(232, 230, 225, 0.1);
  color: rgba(232, 230, 225, 0.62);
  padding: 6px 8px;
  font-size: 9px;
}
.mc-status.review {
  border-color: rgba(255, 112, 22, 0.56);
  color: var(--ember);
}
.mc-status.approved {
  border-color: rgba(97, 180, 124, 0.48);
  color: #8be0a2;
}
.mc-status.blocked {
  border-color: rgba(224, 111, 111, 0.52);
  color: var(--danger);
}
.mc-row-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(255, 112, 22, 0.28);
  background: rgba(255, 112, 22, 0.06);
  color: var(--ember);
  font-family:
    "JetBrains Mono",
    ui-monospace,
    monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mc-action-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 24px;
}
.mc-action-panel,
.mc-package-panel {
  min-width: 0;
}
.mc-action-body {
  display: grid;
  gap: 20px;
  padding: 24px;
}
.mc-action-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(232, 230, 225, 0.08);
}
.mc-action-summary > div {
  min-width: 0;
  border-right: 1px solid rgba(232, 230, 225, 0.07);
  padding: 16px;
}
.mc-action-summary > div:last-child {
  border-right: 0;
}
.mc-action-summary span,
.mc-review-editor label,
.mc-boundary-note {
  font-family:
    "JetBrains Mono",
    ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.mc-action-summary span {
  display: block;
  color: rgba(232, 230, 225, 0.42);
  font-size: 9px;
  margin-bottom: 10px;
}
.mc-action-summary strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}
.mc-review-editor {
  display: grid;
  gap: 10px;
}
.mc-review-editor label,
.mc-snapshot-selector label {
  color: rgba(232, 230, 225, 0.48);
  font-size: 9px;
}
.mc-review-editor textarea {
  min-height: 132px;
  resize: vertical;
  border: 1px solid rgba(232, 230, 225, 0.1);
  outline: 0;
  background: rgba(5, 5, 5, 0.72);
  color: var(--text);
  padding: 14px;
  font: inherit;
  line-height: 1.55;
}
.mc-snapshot-selector {
  display: grid;
  gap: 10px;
}
.mc-snapshot-selector label {
  font-family:
    "JetBrains Mono",
    ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.mc-snapshot-selector select {
  min-height: 42px;
  border: 1px solid rgba(232, 230, 225, 0.1);
  outline: 0;
  background: rgba(5, 5, 5, 0.72);
  color: var(--text);
  padding: 0 12px;
  font: inherit;
}
.mc-snapshot-selector p {
  margin: 0;
  color: rgba(232, 230, 225, 0.56);
  font-size: 13px;
  line-height: 1.5;
}
.mc-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mc-action-buttons .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
}
.mc-action-buttons .button svg {
  width: 16px;
  height: 16px;
}
.mc-live-create-guard {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(255, 112, 22, 0.42);
  background:
    linear-gradient(
      135deg,
      rgba(255, 112, 22, 0.12),
      rgba(10, 7, 5, 0.8)),
    rgba(0, 0, 0, 0.74);
  padding: 18px;
}
.mc-live-create-guard h3 {
  margin: 4px 0 8px;
  color: var(--text);
  font-size: clamp(1.35rem, 2.1vw, 2.1rem);
  font-weight: 500;
}
.mc-live-create-guard p {
  margin: 0;
  max-width: 820px;
  color: var(--muted);
  line-height: 1.55;
}
.mc-live-create-guard strong {
  color: var(--text);
}
.mc-live-create-actions {
  display: grid;
  gap: 10px;
}
.mc-create-confirmation {
  display: grid;
  gap: 7px;
}
.mc-create-confirmation span {
  color: rgba(232, 230, 225, 0.58);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.mc-create-confirmation input {
  width: 100%;
  border: 1px solid rgba(255, 112, 22, 0.34);
  background: rgba(0, 0, 0, 0.72);
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 13px 14px;
  outline: none;
}
.mc-create-confirmation input:focus {
  border-color: rgba(255, 112, 22, 0.82);
  box-shadow: 0 0 0 1px rgba(255, 112, 22, 0.18), 0 0 28px rgba(255, 112, 22, 0.16);
}
.mc-danger-action:not(:disabled) {
  border-color: rgba(255, 112, 22, 0.92);
  box-shadow: 0 0 0 1px rgba(255, 112, 22, 0.16), 0 0 32px rgba(255, 112, 22, 0.18);
}
.mc-create-checklist {
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.025);
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}
.mc-create-checklist span {
  color: var(--text);
}
.mc-create-checklist ul {
  margin: 8px 0 0;
  padding-left: 18px;
}
.mc-create-checklist li + li {
  margin-top: 4px;
}
.mc-create-reasons {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mc-create-reasons span {
  display: block;
  color: rgba(255, 170, 122, 0.82);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.mc-create-reasons.ready span {
  color: rgba(111, 224, 163, 0.82);
}
.mc-boundary-note {
  border: 1px solid rgba(255, 112, 22, 0.22);
  background: rgba(255, 112, 22, 0.055);
  color: rgba(232, 230, 225, 0.58);
  padding: 14px;
  font-size: 9px;
  line-height: 1.7;
}
.mc-panel-icon {
  width: 22px;
  height: 22px;
  color: var(--ember);
}
.mc-packet-preview,
.mc-package-scroll,
.mc-prompt-block {
  max-height: 520px;
  overflow: auto;
  padding: 20px 24px 24px;
}
.mc-packet-preview pre,
.mc-package-scroll pre,
.mc-prompt-block pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: rgba(232, 230, 225, 0.72);
  font-family:
    "JetBrains Mono",
    ui-monospace,
    monospace;
  font-size: 11px;
  line-height: 1.65;
}
.mc-prompt-block {
  display: grid;
  gap: 16px;
}
.mc-prompt-block .button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
}
.mc-prompt-block .button svg {
  width: 15px;
  height: 15px;
}
.mc-package-panel {
  grid-column: 1 / -1;
}
.mc-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}
.mc-stack {
  display: grid;
}
.mc-mini-card {
  border-bottom: 1px solid rgba(232, 230, 225, 0.065);
  padding: 18px 24px;
}
.mc-mini-card strong {
  display: block;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 8px;
}
.mc-mini-card em {
  margin-top: 8px;
  font-size: 9px;
}
.mc-empty {
  padding: 28px 24px;
  color: rgba(232, 230, 225, 0.48);
}
.mc-auth-card {
  width: min(760px, 100%);
  margin: 80px auto 0;
  padding: 42px;
}
.mc-icon-lock {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255, 112, 22, 0.34);
  background: rgba(255, 112, 22, 0.08);
  margin-bottom: 24px;
}
.mc-auth-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  margin-top: 28px;
}
.mc-auth-actions .turnstile-wrap,
.mc-auth-actions .turnstile-missing {
  grid-column: 1 / -1;
}
.mc-auth-actions input {
  border: 1px solid rgba(232, 230, 225, 0.1);
  background: rgba(5, 5, 5, 0.68);
  padding: 14px 16px;
}
.mc-auth-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}
@media (max-width: 1180px) {
  .field-card-grid {
    gap: 14px;
  }
  .mc-metrics,
  .mc-columns,
  .mc-action-grid,
  .mc-hero {
    grid-template-columns: 1fr;
  }
  .mc-table {
    overflow-x: auto;
  }
  .mc-draft-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .portal-shell {
    --sidebar-w: 0px;
  }
  .portal-sidebar {
    display: none;
  }
  .portal-main {
    margin-left: 0;
  }
  .mobile-menu-button {
    display: inline-flex;
  }
  .mobile-menu-button span {
    width: auto;
    height: auto;
    margin: 0;
    background: transparent;
  }
  .portal-topbar-label {
    display: none;
  }
  .page {
    padding: 20px 14px 42px;
  }
  .tracking-safety-notice {
    grid-template-columns: 1fr;
    margin: 14px 14px 0;
  }
  .launchpad-hero,
  .launchpad-grid,
  .section-intro,
  .readiness-strip {
    grid-template-columns: 1fr;
  }
  .launchpad-title h1,
  .section-intro h2 {
    font-size: 40px;
  }
  .step-rail {
    top: 64px;
  }
  .launchpad-stage {
    padding: 28px 18px 34px;
  }
  .field-card-grid {
    grid-template-columns: 1fr;
  }
  .mc-auth-actions {
    grid-template-columns: 1fr;
  }
  .mc-hero,
  .mc-auth-card {
    padding: 28px 18px;
  }
  .mc-metrics {
    grid-template-columns: 1fr;
  }
  .mc-metric {
    border-right: 0;
    border-bottom: 1px solid rgba(232, 230, 225, 0.07);
  }
  .mc-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .mc-action-summary {
    grid-template-columns: 1fr;
  }
  .mc-action-summary > div {
    border-right: 0;
    border-bottom: 1px solid rgba(232, 230, 225, 0.07);
  }
  .mc-action-summary > div:last-child {
    border-bottom: 0;
  }
  .mc-draft-form,
  .mc-draft-form label.wide {
    grid-template-columns: 1fr;
    grid-column: auto;
  }
  .mc-admin-actions {
    padding: 22px 16px;
  }
}
@media (min-width: 1181px) {
  body {
    overflow-x: hidden;
  }
  .portal-shell {
    --desktop-portal-scale: 0.75;
    width: calc(100% / var(--desktop-portal-scale));
    min-height: calc(100vh / var(--desktop-portal-scale));
    zoom: var(--desktop-portal-scale);
  }
}
@media (min-width: 1600px) {
  .portal-shell {
    --desktop-portal-scale: 0.75;
  }
}
@supports not (zoom: 1) {
  @media (min-width: 1181px) {
    .portal-shell {
      zoom: 1;
      transform: scale(var(--desktop-portal-scale));
      transform-origin: top left;
    }
  }
}
@media (min-width: 861px) {
  .mobile-menu-button {
    display: none;
  }
}
.portal-topbar {
  justify-content: flex-end;
}
.portal-topbar-label {
  margin-left: auto;
}
.portal-topbar-label svg {
  display: none;
}
.portal-topbar-actions {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-left: auto;
}
.portal-profile-button {
  align-items: center;
  background: rgba(255, 112, 22, 0.07);
  border: 1px solid rgba(255, 112, 22, 0.28);
  color: rgba(245, 241, 234, 0.88);
  display: inline-flex;
  gap: 8px;
  min-height: 34px;
  max-width: 240px;
  padding: 0 11px;
}
.portal-profile-button svg {
  color: #ff7016;
  height: 15px;
  width: 15px;
}
.portal-profile-button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rail-step.active,
.rail-step:focus-visible {
  border-color: rgba(255, 112, 22, 0.82);
  box-shadow:
    inset 3px 0 0 rgba(255, 112, 22, 0.95),
    0 0 0 1px rgba(255, 112, 22, 0.2),
    0 0 26px rgba(255, 112, 22, 0.12);
  outline: none;
}
.readiness-strip {
  align-items: center;
  background: transparent;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  min-height: 0;
  padding: 0;
}
.mini-ready {
  align-items: center;
  background: rgba(3, 3, 3, 0.62);
  border: 1px solid rgba(232, 230, 225, 0.08);
  display: inline-flex;
  gap: 7px;
  min-height: 28px;
  padding: 5px 8px;
}
.mini-ready::before {
  align-items: center;
  border: 1px solid rgba(255, 112, 22, 0.28);
  color: rgba(255, 112, 22, 0.72);
  content: "X";
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 9px;
  height: 14px;
  justify-content: center;
  line-height: 1;
  width: 14px;
}
.mini-ready.ready::before {
  border-color: rgba(255, 112, 22, 0.42);
  color: #ff7016;
  content: "\2713";
}
.mini-ready em {
  font-size: 8px;
  letter-spacing: 0.18em;
  margin: 0;
}
.mini-ready strong {
  color: rgba(245, 241, 234, 0.78);
  font-size: 12px;
  line-height: 1;
}
.mini-ready.ready strong {
  color: #ff7016;
}
.field-card-grid,
.field-card-grid.single {
  background: transparent;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}
.lp-field-card,
.lp-field-card.wide {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.025),
      transparent 48%),
    rgba(6, 6, 6, 0.72);
  border: 1px solid rgba(232, 230, 225, 0.08);
  border-left: 1px solid rgba(255, 112, 22, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  grid-column: auto;
  min-height: 0;
  padding: 18px 20px 20px;
}
.lp-field-card:has(.is-filled),
.lp-field-card:has(input:not(:placeholder-shown)),
.lp-field-card:has(textarea:not(:placeholder-shown)) {
  background:
    linear-gradient(
      135deg,
      rgba(255, 112, 22, 0.045),
      transparent 42%),
    rgba(8, 8, 8, 0.82);
  border-color: rgba(255, 112, 22, 0.22);
  border-left-color: rgba(255, 112, 22, 0.72);
}
.lp-field-card input,
.lp-field-card textarea,
.lp-field-card select {
  background: rgba(12, 8, 7, 0.76);
  border-color: rgba(232, 230, 225, 0.08);
}
.portal-nav-item.locked em {
  color: rgba(255, 112, 22, 0.76);
}
@media (max-width: 1500px) {
  .launchpad-grid {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .step-rail {
    padding: 34px 24px;
  }
}
@media (max-width: 1280px) {
  .launchpad-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .step-rail {
    position: static;
  }
}
