:root {
  --bg: #070807;
  --panel: #11150f;
  --panel-2: #171d14;
  --text: #f2f6f8;
  --muted: #a9afa5;
  --line: rgba(255, 255, 255, 0.1);
  --teal: #c9ff4a;
  --amber: #ffb02e;
  --blue: #6fe8ff;
  --red: #ff6b6b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(201, 255, 74, 0.16), transparent 28%),
    radial-gradient(circle at 82% 28%, rgba(255, 176, 46, 0.12), transparent 24%),
    linear-gradient(180deg, #0d100b 0%, var(--bg) 42%, #0a0c08 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.85) 48%, transparent 100%);
  opacity: 0.42;
  animation: spotsDrift 18s linear infinite;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(115deg, transparent 0 45%, rgba(201, 255, 74, 0.08) 48%, transparent 52% 100%);
  transform: translateX(-35%);
  animation: sweep 8s ease-in-out infinite;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 0 40px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 7, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(201, 255, 74, 0.42);
  border-radius: 10px;
  background: rgba(255, 247, 197, 0.18);
  box-shadow: 0 0 26px rgba(201, 255, 74, 0.14);
  object-fit: cover;
}

.top-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.top-nav a:hover,
.ghost-link:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.ghost-link {
  color: var(--muted);
}

.primary-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 700;
}

.primary-link {
  padding: 0 16px;
  background: var(--teal);
  color: #111703;
}

button {
  font-family: inherit;
}

input,
textarea,
select {
  font: inherit;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: 52px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 84px 40px 52px;
  align-items: center;
  min-height: calc(100vh - 72px);
  overflow: hidden;
}

.nebula-hero {
  grid-template-columns: minmax(360px, 0.86fr) minmax(520px, 1.14fr);
  gap: 48px;
  max-width: 100%;
  min-height: calc(100vh - 72px);
  padding: 46px clamp(40px, 5vw, 70px) 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nebula-hero .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.motion-layer {
  position: absolute;
  inset: 0 20px;
  pointer-events: none;
  overflow: hidden;
}

.streak {
  position: absolute;
  width: 28vw;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(201, 255, 74, 0.8), rgba(255, 176, 46, 0.48), transparent);
  filter: blur(0.2px);
  transform: skewX(-18deg);
  animation: streakRun 4.8s ease-in-out infinite;
}

.s1 {
  top: 22%;
  left: -24%;
}

.s2 {
  top: 48%;
  left: -32%;
  animation-delay: 1.4s;
}

.s3 {
  top: 74%;
  left: -28%;
  animation-delay: 2.7s;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  margin: 0 0 20px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #aeb4ad;
  font-size: 14px;
  font-weight: 760;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(40px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-shadow: 0 0 34px rgba(201, 255, 74, 0.08);
}

.hero-title span {
  display: block;
}

.nebula-hero .hero-title {
  max-width: 700px;
  font-size: clamp(40px, 4.2vw, 58px);
  line-height: 1.02;
}

.hero-title b {
  color: #ff941f;
  font-weight: 900;
}

.shiny-text {
  display: inline-block;
  color: #ff941f;
  background-image: linear-gradient(120deg, var(--base-color, #ff941f) 0%, var(--base-color, #ff941f) 35%, var(--shine-color, #fbff8c) 50%, var(--base-color, #ff941f) 65%, var(--base-color, #ff941f) 100%);
  background-size: 220% auto;
  background-position: 150% center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 1.9s linear infinite;
}

.ai-word {
  --base-color: #ff8b2c;
  --shine-color: #fbff8c;
  padding: 0 0.04em;
  text-shadow:
    0 0 24px rgba(255, 139, 44, 0.28),
    0 0 56px rgba(201, 255, 74, 0.14);
}

.nebula-hero .hero-title span:last-child {
  white-space: nowrap;
}

.hero-lede {
  max-width: 720px;
  color: #aeb4ad;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  font-weight: 760;
}

.flowing-copy {
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  color: #c7cfbf;
  background-image: linear-gradient(105deg, #c7cfbf 0%, #c7cfbf 34%, #f5ffd2 46%, #ffb02e 52%, #c9ff4a 58%, #c7cfbf 70%, #c7cfbf 100%);
  background-size: 230% auto;
  background-position: -70% center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: flowRight 3.4s ease-in-out infinite;
  text-shadow: 0 0 22px rgba(201, 255, 74, 0.08);
}

.flowing-copy::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(201, 255, 74, 0), rgba(201, 255, 74, 0.72), rgba(255, 176, 46, 0.52), rgba(201, 255, 74, 0));
  content: "";
  opacity: 0.72;
  transform-origin: left;
  animation: lineRun 3.4s ease-in-out infinite;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 28px;
}

.button {
  padding: 0 20px;
}

.button.primary {
  background: #f8f3e8;
  color: #10110f;
  box-shadow: 0 12px 34px rgba(255, 148, 31, 0.12);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
  color: #d8d8d0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 620px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-metrics div {
  min-width: 0;
  padding: 18px 20px;
  background: rgba(19, 19, 17, 0.9);
}

.hero-metrics dt {
  font-size: 26px;
  font-weight: 800;
  color: #fbffe9;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.gateway-map {
  position: relative;
  min-height: 480px;
  isolation: isolate;
}

.gateway-map::before {
  position: absolute;
  inset: 12% 10% 4%;
  z-index: -2;
  content: "";
  background: radial-gradient(circle at 52% 55%, rgba(255, 148, 31, 0.18), transparent 42%);
  filter: blur(8px);
}

.gateway-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 198px;
  height: 198px;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.34), transparent 25%),
    linear-gradient(145deg, #ff9a32, #d86c1f);
  color: white;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 0 0 46px rgba(255, 148, 31, 0.035),
    0 0 68px rgba(255, 148, 31, 0.2);
  transform: translate(-50%, -50%);
}

.gateway-mark {
  display: block;
  width: 70px;
  height: 70px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(54, 20, 0, 0.24);
  object-fit: cover;
}

.gateway-core strong {
  margin-top: 10px;
  font-size: 24px;
}

.gateway-core em {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-style: normal;
  font-weight: 760;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 148, 31, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-one {
  width: 268px;
  height: 268px;
}

.ring-two {
  width: 348px;
  height: 348px;
  border-color: rgba(255, 255, 255, 0.08);
}

.trace {
  position: absolute;
  z-index: -1;
  width: 230px;
  height: 150px;
  border: 2px dashed rgba(255, 255, 255, 0.22);
  opacity: 0.72;
}

.trace::before,
.trace::after {
  position: absolute;
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 50%;
  background: #ff8c2c;
  box-shadow: 0 0 18px rgba(255, 148, 31, 0.55);
}

.trace-a {
  top: 88px;
  left: 158px;
  border-right: 0;
  border-bottom: 0;
  border-radius: 160px 0 0;
}

.trace-a::before {
  right: 10px;
  top: 22px;
}

.trace-a::after {
  left: 70px;
  bottom: -5px;
}

.trace-b {
  bottom: 92px;
  left: 160px;
  border-top: 0;
  border-right: 0;
  border-radius: 0 0 0 160px;
}

.trace-b::before {
  right: 2px;
  bottom: 24px;
}

.trace-b::after {
  left: 72px;
  top: -5px;
}

.trace-c {
  top: 88px;
  right: 140px;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 160px 0 0;
}

.trace-c::before,
.trace-c::after,
.trace-d::before,
.trace-d::after {
  background: #2da46f;
  box-shadow: 0 0 18px rgba(45, 164, 111, 0.55);
}

.trace-c::before {
  left: 18px;
  top: 22px;
}

.trace-c::after {
  right: 70px;
  bottom: -5px;
}

.trace-d {
  right: 142px;
  bottom: 92px;
  border-top: 0;
  border-left: 0;
  border-radius: 0 0 160px 0;
}

.trace-d::before {
  left: 4px;
  bottom: 24px;
}

.trace-d::after {
  right: 72px;
  top: -5px;
}

.gateway-node {
  position: absolute;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 188px;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(29, 29, 27, 0.92);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
}

.gateway-node strong,
.gateway-node small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gateway-node strong {
  color: #f7f2e8;
  font-size: 17px;
}

.gateway-node small {
  margin-top: 3px;
  color: #a7a29a;
  font-size: 12px;
  font-weight: 760;
}

.node-badge {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  color: white;
  font-weight: 820;
}

.node-badge.warm {
  background: #db7654;
}

.node-badge.prism {
  background: linear-gradient(135deg, #4f8dff, #f35f9e);
}

.node-badge.green {
  background: #18aa83;
}

.node-badge.orange {
  background: linear-gradient(135deg, #ff9d2f, #e37025);
}

.node-claude {
  top: 34px;
  left: 18%;
}

.node-gemini {
  top: 202px;
  left: 14%;
}

.node-gpt {
  bottom: 34px;
  left: 18%;
}

.node-dev {
  top: 34px;
  right: 0;
}

.node-app {
  top: 202px;
  right: 0;
}

.node-enterprise {
  right: 0;
  bottom: 34px;
}

.model-ticker {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(18, 18, 16, 0.94);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 34s linear infinite;
}

.login-transition {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
  color: #f7f8ed;
  clip-path: inset(0 0 0 0);
  opacity: 0;
  pointer-events: none;
  transition:
    clip-path 1050ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 240ms ease;
}

.login-transition.active {
  opacity: 1;
  pointer-events: auto;
}

.login-transition.is-opening {
  clip-path: inset(0 0 0 100%);
}

.login-transition canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.login-transition::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 52%, rgba(201, 255, 74, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.74));
  pointer-events: none;
  transition: opacity 800ms ease;
}

.login-transition.is-opening::after {
  opacity: 0.34;
}

.login-transition-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 28px;
  text-align: center;
  transition:
    opacity 720ms ease,
    transform 1050ms cubic-bezier(0.16, 1, 0.3, 1);
}

.login-transition.is-opening .login-transition-content {
  opacity: 0;
  transform: translateX(8vw) scale(0.985);
}

.login-transition-mark {
  display: block;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(201, 255, 74, 0.32);
  border-radius: 16px;
  background: rgba(201, 255, 74, 0.08);
  box-shadow: 0 0 42px rgba(201, 255, 74, 0.18);
  object-fit: cover;
}

.login-transition-title {
  margin: 0;
  font-size: clamp(36px, 6vw, 78px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-shadow:
    0 0 32px rgba(201, 255, 74, 0.22),
    0 0 70px rgba(255, 176, 46, 0.12);
}

.login-transition-line {
  width: min(360px, 70vw);
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.login-transition-line span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--teal), var(--amber), transparent);
  animation: loginLineRun 2.25s cubic-bezier(0.18, 0.82, 0.24, 1) both;
}

.login-transition.is-opening .login-transition-line span {
  animation-play-state: paused;
}

.login-transition.is-reduced {
  transition-duration: 900ms;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 0 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  color: #aaa59d;
  white-space: nowrap;
}

.ticker-track strong {
  color: #d8d3c8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.ticker-track b,
.ticker-track em {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #cfc9bd;
  font-size: 12px;
  font-style: normal;
}

.ticker-track em {
  border-color: rgba(255, 148, 31, 0.32);
  color: #ffb579;
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 29, 20, 0.98), rgba(9, 11, 8, 0.96)),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: panelFloat 5.5s ease-in-out infinite;
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.panel-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #49513f;
}

.panel-bar strong {
  margin-left: 8px;
  font-weight: 650;
}

.console-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
}

.stat-card,
.route-card,
.chart-card,
.provider-card,
.module-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.045), transparent 48%),
    rgba(255, 255, 255, 0.045);
}

.stat-card,
.route-card,
.chart-card,
.provider-card {
  padding: 18px;
}

.stat-card span,
.route-head span,
.chart-head span {
  color: var(--muted);
  font-size: 13px;
}

.stat-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 28px;
}

.stat-card em {
  color: var(--teal);
  font-style: normal;
  font-size: 13px;
}

.stat-card .steady {
  color: var(--blue);
}

.route-card,
.chart-card {
  grid-column: span 2;
}

.route-head,
.chart-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.route-flow {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr;
  align-items: center;
  gap: 8px;
}

.route-flow span {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(201, 255, 74, 0.26);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.08);
  color: #f5ffd3;
  font-size: 13px;
}

.route-flow i {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--amber), transparent);
  background-size: 200% 100%;
  animation: routePulse 2s linear infinite;
}

.bars {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 148px;
  padding-top: 12px;
}

.bars span {
  flex: 1;
  min-width: 18px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--teal), rgba(255, 176, 46, 0.46), rgba(111, 232, 255, 0.22));
  transform-origin: bottom;
  animation: barPulse 2.6s ease-in-out infinite;
}

.bars span:nth-child(2n) {
  animation-delay: 0.24s;
}

.bars span:nth-child(3n) {
  animation-delay: 0.48s;
}

.provider-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.provider-card div,
.status-board div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dbe5ea;
  font-size: 14px;
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot.ok {
  background: var(--teal);
  box-shadow: 0 0 16px rgba(201, 255, 74, 0.62);
}

.dot.warn {
  background: var(--amber);
  box-shadow: 0 0 16px rgba(244, 185, 91, 0.45);
}

.section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 72px 40px;
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature {
  padding: 22px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 176, 46, 0.08), transparent 28%),
    rgba(255, 255, 255, 0.035);
}

.feature strong {
  display: block;
  margin-bottom: 8px;
}

.feature span,
.section-heading p,
.module-grid p,
.steps p,
.status-copy p {
  color: var(--muted);
  line-height: 1.72;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading h2,
.status-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}

th {
  color: var(--muted);
  font-weight: 700;
}

td {
  color: #e5edf1;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(201, 255, 74, 0.12);
  color: #ecffad;
  font-size: 12px;
}

.quick-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 22px;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.steps article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.14);
  color: var(--teal);
  font-weight: 800;
}

.steps h3,
.module-grid h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.quick-code-column {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.key-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.035);
}

.key-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.key-card-head span,
.key-row span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.key-card-head strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.mini-link,
.key-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(201, 255, 74, 0.28);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.1);
  color: #ecffad;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.mini-link {
  padding: 0 12px;
}

.key-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.72);
}

.key-row code {
  overflow: hidden;
  color: #d8f7ef;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.key-row button {
  padding: 0 10px;
  cursor: pointer;
}

.copy-toast {
  min-height: 20px;
  color: #ecffad;
  font-size: 12px;
}

.auth-page {
  min-height: 100vh;
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px 20px;
}

.auth-brand {
  position: fixed;
  top: 24px;
  left: 24px;
}

.auth-card {
  width: min(520px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.08), transparent 62%),
    rgba(17, 21, 15, 0.94);
}

.auth-card h1 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.12;
}

.auth-card p,
.account-muted {
  color: #c6d0d7;
  line-height: 1.7;
}

.auth-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 20px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.62);
}

.auth-mode-tabs button {
  min-width: 0;
  min-height: 38px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
}

.auth-mode-tabs button.active {
  background: rgba(201, 255, 74, 0.16);
  color: #f4ffd0;
}

.auth-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.auth-form label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.auth-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.82);
  color: var(--text);
  padding: 0 14px;
}

.auth-form input:focus {
  border-color: rgba(201, 255, 74, 0.5);
  outline: none;
}

.auth-form input::placeholder {
  color: #98a49e;
}

.auth-code-row {
  display: grid;
  grid-template-columns: minmax(170px, auto) 1fr;
  gap: 10px;
  align-items: center;
}

.code-preview {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px dashed rgba(201, 255, 74, 0.28);
  border-radius: 8px;
  color: #ecffad;
  font-size: 13px;
}

.code-preview[data-tone="error"] {
  border-color: rgba(255, 107, 107, 0.32);
  color: #ffb8b8;
}

.code-preview[data-tone="success"] {
  border-color: rgba(201, 255, 74, 0.36);
  color: #ecffad;
}

.text-button {
  width: fit-content;
  min-height: 28px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  padding: 0;
  text-align: left;
}

.text-button:hover {
  color: var(--text);
}

.form-status {
  min-height: 20px;
  color: #ecffad;
  font-size: 13px;
  line-height: 1.6;
}

.form-status[data-tone="error"] {
  color: #ffb8b8;
}

.form-status[data-tone="warn"] {
  color: #ffd896;
}

.button:disabled,
.auth-mode-tabs button:disabled,
.payment-method:disabled,
.small-button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.auth-note {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(201, 255, 74, 0.18);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.07);
}

.auth-note span {
  color: var(--muted);
  line-height: 1.6;
}

.account-header {
  position: sticky;
}

.account-email {
  max-width: 220px;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 52px 40px 80px;
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.account-hero h1 {
  max-width: 720px;
  margin: 0 0 18px;
  color: #f3f6ed;
  font-size: clamp(56px, 7.2vw, 104px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-shadow:
    0 0 36px rgba(201, 255, 74, 0.14),
    0 0 70px rgba(255, 176, 46, 0.08);
}

.account-hero p {
  max-width: 680px;
  color: #d4dcd1;
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 760;
  line-height: 1.42;
}

.account-hero-subtitle {
  position: relative;
  width: fit-content;
  margin-bottom: 0;
}

.account-hero-subtitle::after {
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(201, 255, 74, 0), rgba(201, 255, 74, 0.72), rgba(255, 176, 46, 0.5), rgba(201, 255, 74, 0));
  content: "";
  opacity: 0.74;
}

.activation-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.activation-steps span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(201, 255, 74, 0.18);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.58);
  color: #dce7d3;
  font-size: 13px;
  font-weight: 700;
}

.activation-steps b {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 6px;
  background: rgba(201, 255, 74, 0.16);
  color: var(--teal);
  font-size: 12px;
}

.account-balance-card,
.account-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.06), transparent 58%),
    rgba(255, 255, 255, 0.035);
}

.account-balance-card {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
}

.account-balance-card span,
.panel-title span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.account-balance-card strong {
  font-size: 42px;
}

.account-balance-card em {
  color: #ecffad;
  font-style: normal;
}

.balance-action {
  width: fit-content;
  margin-top: 6px;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 18px;
  margin-bottom: 30px;
}

.account-view-nav a {
  min-height: 34px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 8px;
}

.account-view-nav a.active {
  background: rgba(201, 255, 74, 0.12);
  color: #ecffad;
}

.account-shell [data-dashboard-panel] {
  display: none;
}

.account-shell[data-active-view="home"] [data-dashboard-panel="home"],
.account-shell[data-active-view="data"] [data-dashboard-panel="data"],
.account-shell[data-active-view="tokens"] [data-dashboard-panel="tokens"],
.account-shell[data-active-view="debug"] [data-dashboard-panel="debug"],
.account-shell[data-active-view="wallet"] [data-dashboard-panel="wallet"] {
  display: block;
}

.account-shell[data-active-view="home"] .account-hero[data-dashboard-panel] {
  display: grid;
}

.account-shell[data-active-view="home"] .activation-focus-panel[data-dashboard-panel] {
  display: flex;
}

.account-shell[data-active-view="data"] .account-grid[data-dashboard-panel],
.account-shell[data-active-view="tokens"] .account-grid[data-dashboard-panel],
.account-shell[data-active-view="data"] .account-metric-grid[data-dashboard-panel] {
  display: grid;
}

.account-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.account-metric-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.06), transparent 60%),
    rgba(255, 255, 255, 0.035);
}

.account-metric-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.account-metric-grid strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 28px;
}

.account-metric-grid em {
  color: #ecffad;
  font-size: 12px;
  font-style: normal;
}

.account-panel {
  min-width: 0;
  padding: 22px;
}

.activation-panel,
.model-panel,
.usage-log-panel,
.api-test-panel {
  margin-bottom: 30px;
}

.connection-kit-panel {
  margin-bottom: 30px;
}

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

.connection-kit-card {
  display: grid;
  align-content: space-between;
  gap: 12px;
  min-width: 0;
  min-height: 218px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.56);
}

.connection-kit-card.ready,
.connection-kit-card.success {
  border-color: rgba(201, 255, 74, 0.18);
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.06), transparent 62%),
    rgba(7, 10, 13, 0.56);
}

.connection-kit-card.waiting,
.connection-kit-card.error,
.connection-kit-card.todo {
  border-color: rgba(255, 176, 46, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 176, 46, 0.065), transparent 62%),
    rgba(7, 10, 13, 0.56);
}

.connection-kit-card span,
.connection-kit-card p,
.connection-kit-card dt,
.connection-kit-card dd {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.connection-kit-card span,
.connection-kit-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.connection-kit-card strong {
  display: block;
  color: #fbffe9;
  font-size: 17px;
  line-height: 1.35;
}

.connection-kit-card p {
  margin: 0;
  color: #dce7d3;
  font-size: 13px;
  line-height: 1.6;
}

.connection-kit-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.connection-kit-card dl div {
  min-width: 0;
  padding: 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.connection-kit-card dd {
  margin: 4px 0 0;
  color: #d8f7ef;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
}

.connection-kit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.connection-kit-actions .small-button,
.connection-kit-actions .mini-link {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 12px;
}

.activation-focus-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  border-color: rgba(201, 255, 74, 0.18);
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.075), transparent 58%),
    rgba(7, 10, 13, 0.72);
}

.activation-focus-panel[data-tone="pending"],
.activation-focus-panel[data-tone="waiting"] {
  border-color: rgba(255, 176, 46, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 176, 46, 0.075), transparent 58%),
    rgba(7, 10, 13, 0.72);
}

.activation-focus-panel[data-tone="active"] {
  border-color: rgba(111, 232, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(111, 232, 255, 0.06), transparent 58%),
    rgba(7, 10, 13, 0.72);
}

.activation-focus-copy {
  min-width: 0;
}

.activation-focus-copy span,
.activation-focus-copy strong,
.activation-focus-copy p {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.activation-focus-copy span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 760;
}

.activation-focus-panel[data-tone="pending"] .activation-focus-copy span,
.activation-focus-panel[data-tone="waiting"] .activation-focus-copy span {
  color: #ffd896;
}

.activation-focus-copy strong {
  margin-top: 6px;
  color: #fbffe9;
  font-size: 20px;
}

.activation-focus-copy p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.activation-focus-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.panel-title h2 {
  margin: 4px 0 0;
  font-size: 22px;
}

.key-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.account-key {
  display: block;
  overflow: hidden;
  max-width: 100%;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.8);
  color: #d8f7ef;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-key-row {
  margin-bottom: 14px;
}

.key-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.key-status[data-tone="success"] {
  color: #ecffad;
}

.key-status[data-tone="warn"] {
  color: #ffd896;
}

.key-status[data-tone="error"] {
  color: #ffb8b8;
}

.key-check-result {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(201, 255, 74, 0.14);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.055);
}

.key-check-result strong,
.key-check-result span {
  display: block;
}

.key-check-result strong {
  color: #fbffe9;
  font-size: 13px;
}

.key-check-result span {
  color: #dce7d3;
  font-size: 13px;
  line-height: 1.6;
}

.key-check-result[data-tone="success"] {
  border-color: rgba(201, 255, 74, 0.24);
}

.key-check-result[data-tone="error"] {
  border-color: rgba(255, 107, 107, 0.26);
  background: rgba(255, 107, 107, 0.07);
}

.account-checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-checklist li,
.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.58);
}

.account-checklist span,
.order-row span {
  color: var(--muted);
  font-size: 13px;
}

.security-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.security-summary div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(201, 255, 74, 0.14);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.055);
}

.security-summary span,
.security-detail-list dt {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.security-summary strong {
  display: block;
  margin-top: 8px;
  color: #fbffe9;
  font-size: 18px;
}

.security-detail-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.security-detail-list div {
  display: grid;
  grid-template-columns: minmax(74px, 0.52fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.46);
}

.security-detail-list dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #dce7d3;
  font-size: 13px;
  font-weight: 720;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.onboarding-grid article,
.model-grid article {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.58);
}

.onboarding-grid strong,
.model-grid strong {
  font-size: 16px;
}

.onboarding-grid p,
.model-grid p {
  margin: 0;
  color: #c6d0d7;
  font-size: 13px;
  line-height: 1.65;
}

.onboarding-grid a {
  width: fit-content;
  color: #ecffad;
  font-size: 13px;
  font-weight: 760;
}

.model-panel .panel-title em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.model-grid article > div:first-child {
  display: grid;
  gap: 4px;
}

.model-grid span {
  color: var(--muted);
  font-size: 12px;
}

.model-grid dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.model-grid dl div {
  padding: 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.model-grid dt,
.model-grid dd {
  margin: 0;
  font-size: 12px;
}

.model-grid dt {
  color: var(--muted);
}

.model-grid dd {
  margin-top: 3px;
  color: #ecffad;
  font-weight: 760;
}

.model-grid .model-status {
  width: fit-content;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(201, 255, 74, 0.12);
  color: #ecffad;
  font-weight: 760;
}

.model-grid .model-status.warn {
  background: rgba(255, 176, 46, 0.14);
  color: #ffd896;
}

.order-row code {
  display: block;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.72);
  color: #d8f7ef;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.proof-status {
  display: block;
  margin-top: 8px;
  color: #dce7d3;
  font-size: 12px;
  line-height: 1.5;
}

.order-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.order-timeline li {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 112px;
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.44);
}

.order-timeline li > span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.order-timeline li.active > span {
  background: var(--teal);
}

.order-timeline strong,
.order-timeline em {
  display: block;
}

.order-timeline strong {
  color: #fbffe9;
  font-size: 12px;
}

.order-timeline em {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.proof-form {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.proof-form input,
.proof-form textarea {
  width: min(520px, 100%);
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.72);
  color: var(--text);
  font: inherit;
  font-size: 13px;
}

.proof-form input {
  min-height: 38px;
  padding: 0 10px;
}

.proof-form textarea {
  min-height: 64px;
  padding: 9px 10px;
  resize: vertical;
}

.proof-form button {
  width: fit-content;
}

.order-side {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.account-buy {
  padding-inline: 0;
}

.account-plan {
  display: grid;
  gap: 10px;
}

.account-plan small {
  min-height: 36px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.account-plan .button {
  margin-top: 6px;
}

.checkout-guide {
  display: grid;
  grid-template-columns: minmax(220px, 0.74fr) minmax(360px, 1.2fr) minmax(190px, 0.55fr);
  gap: 14px;
  width: min(100%, 1120px);
  margin: -4px 0 20px;
}

.checkout-guide-copy,
.checkout-steps,
.checkout-after {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.055), transparent 62%),
    rgba(7, 10, 13, 0.58);
}

.checkout-guide-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
}

.checkout-guide-copy span,
.checkout-after span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 760;
}

.checkout-guide-copy strong,
.checkout-after strong {
  display: block;
  color: #fbffe9;
  font-size: 18px;
  line-height: 1.35;
}

.checkout-guide-copy p {
  margin: 0;
  color: #dce7d3;
  font-size: 13px;
  line-height: 1.65;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  background: rgba(255, 255, 255, 0.07);
}

.checkout-steps li {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  background: rgba(7, 10, 13, 0.82);
}

.checkout-steps b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.14);
  color: var(--teal);
  font-size: 13px;
}

.checkout-steps strong {
  color: #fbffe9;
  font-size: 15px;
}

.checkout-steps span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.checkout-after {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 176, 46, 0.075), transparent 62%),
    rgba(7, 10, 13, 0.58);
}

.checkout-after a {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.12);
  color: #ecffad;
  font-size: 12px;
  font-weight: 760;
}

.review-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  width: min(100%, 760px);
  margin: -8px 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 176, 46, 0.22);
  border-radius: 8px;
  background: rgba(255, 176, 46, 0.06);
}

.review-note strong {
  color: #ffd896;
  font-size: 13px;
}

.review-note span {
  color: #dce7d3;
  font-size: 13px;
  line-height: 1.6;
}

.payment-help {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  width: min(100%, 760px);
  margin: -6px 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(201, 255, 74, 0.16);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.055);
}

.payment-help strong {
  color: #ecffad;
  font-size: 13px;
}

.payment-help span {
  color: #dce7d3;
  font-size: 13px;
  line-height: 1.6;
}

.payment-check-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: min(100%, 900px);
  margin: -6px 0 18px;
  padding: 16px;
  border: 1px solid rgba(255, 176, 46, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 176, 46, 0.075), transparent 62%),
    rgba(7, 10, 13, 0.62);
}

.payment-check-card > div:first-child,
.payment-check-card dl,
.payment-check-card dd,
.payment-check-card p,
.payment-check-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.payment-check-card span,
.payment-check-card dt {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.payment-check-card strong {
  display: block;
  margin-top: 5px;
  color: #fbffe9;
  font-size: 17px;
  line-height: 1.35;
}

.payment-check-card p {
  margin: 8px 0 0;
  color: #dce7d3;
  font-size: 13px;
  line-height: 1.55;
}

.payment-check-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.payment-check-card dl div {
  min-width: 0;
  padding: 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.payment-check-card dd {
  margin: 4px 0 0;
  color: #ecffad;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.45;
}

.payment-check-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.payment-check-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.12);
  color: #ecffad;
  font-size: 12px;
  font-weight: 760;
}

.payment-proof {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(120px, 160px));
  gap: 14px;
  align-items: stretch;
  width: min(100%, 760px);
  margin: -4px 0 20px;
}

.payment-proof-copy,
.payment-proof figure {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.58);
}

.payment-proof-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 14px;
}

.payment-proof-copy strong {
  color: #fbffe9;
  font-size: 14px;
}

.payment-proof-copy span {
  color: #dce7d3;
  font-size: 13px;
  line-height: 1.6;
}

.payment-proof figure {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.payment-proof img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.payment-proof figcaption {
  color: #dce7d3;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.4;
  text-align: center;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -4px 0 16px;
}

.payment-method {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 0 14px;
  font: inherit;
  font-weight: 760;
}

.payment-method.active {
  border-color: transparent;
  background: var(--teal);
  color: #111703;
}

.payment-qrs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 240px));
  gap: 14px;
  margin-bottom: 18px;
}

.payment-qr {
  display: none;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.58);
}

.payment-qr.active {
  display: grid;
  gap: 10px;
}

.payment-qr img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.payment-qr figcaption {
  color: #dce7d3;
  font-size: 13px;
  line-height: 1.6;
}

.buy-status {
  width: min(100%, 760px);
  margin: -8px 0 20px;
  padding: 12px 14px;
  border: 1px solid rgba(201, 255, 74, 0.18);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.06);
  color: #dce7d3;
  font-size: 14px;
  line-height: 1.6;
}

.order-progress-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 760px);
  margin: -4px 0 18px;
  padding: 15px;
  border: 1px solid rgba(255, 176, 46, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 176, 46, 0.075), transparent 64%),
    rgba(7, 10, 13, 0.62);
}

.order-progress-card[data-tone="success"] {
  border-color: rgba(201, 255, 74, 0.22);
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.07), transparent 64%),
    rgba(7, 10, 13, 0.62);
}

.order-progress-card[data-tone="error"] {
  border-color: rgba(255, 107, 107, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 107, 107, 0.075), transparent 64%),
    rgba(7, 10, 13, 0.62);
}

.order-progress-card span,
.order-progress-card strong,
.order-progress-card p {
  display: block;
}

.order-progress-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.order-progress-card strong {
  margin-top: 5px;
  color: #fbffe9;
  font-size: 16px;
}

.order-progress-card p {
  max-width: 62ch;
  margin: 6px 0 0;
  color: #dce7d3;
  font-size: 13px;
  line-height: 1.6;
}

.order-progress-card a {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.12);
  color: #ecffad;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.order-progress-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.account-orders {
  display: grid;
  gap: 10px;
}

.order-status {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 24px;
  margin-top: 6px;
  border-radius: 999px;
  padding: 0 9px;
  background: rgba(201, 255, 74, 0.12);
  color: #ecffad;
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
}

.order-status.pending {
  background: rgba(255, 176, 46, 0.12);
  color: #ffd896;
}

.order-status.rejected {
  background: rgba(255, 107, 107, 0.12);
  color: #ffb8b8;
}

.api-test-panel {
  margin-bottom: 30px;
}

.api-test-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 0.65fr);
  gap: 14px;
}

.api-test-grid label {
  display: grid;
  gap: 8px;
}

.api-test-grid label span,
.api-test-actions span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.api-test-grid select,
.api-test-grid textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.8);
  color: var(--text);
  padding: 12px;
  resize: vertical;
}

.api-test-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
}

.debug-readiness {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 176, 46, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 176, 46, 0.075), transparent 60%),
    rgba(7, 10, 13, 0.62);
}

.debug-readiness[data-state="ready"] {
  border-color: rgba(201, 255, 74, 0.22);
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.07), transparent 60%),
    rgba(7, 10, 13, 0.62);
}

.debug-readiness strong,
.debug-readiness span {
  display: block;
}

.debug-readiness strong {
  color: #fbffe9;
  font-size: 14px;
}

.debug-readiness span {
  margin-top: 4px;
  color: #dce7d3;
  font-size: 13px;
  line-height: 1.55;
}

.debug-readiness a {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.12);
  color: #ecffad;
  font-size: 13px;
  font-weight: 760;
}

.api-test-result {
  max-height: 280px;
  overflow: auto;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.86);
  color: #d8f7ef;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.usage-bars,
.route-list {
  display: grid;
  gap: 12px;
}

.usage-bar-row,
.route-list-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.58);
}

.usage-bar-row span,
.route-list-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.usage-bar-row i {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.usage-bar-row b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--amber));
}

.usage-bar-row em,
.route-list-row em {
  color: #ecffad;
  font-style: normal;
  text-align: right;
}

.route-list-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.route-list-row em {
  min-width: 54px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  text-align: center;
}

.route-list-row em.ok {
  background: rgba(201, 255, 74, 0.12);
}

.route-list-row em.warn {
  background: rgba(255, 176, 46, 0.14);
  color: #ffd896;
}

.usage-log-panel {
  margin-bottom: 30px;
}

.usage-log-panel .panel-title em {
  color: #ecffad;
  font-size: 13px;
  font-style: normal;
}

.usage-log-list {
  display: grid;
  gap: 10px;
}

.usage-log-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(92px, 0.28fr) minmax(92px, 0.28fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.58);
}

.usage-log-main,
.usage-log-stat {
  min-width: 0;
}

.usage-log-main strong,
.usage-log-stat strong {
  display: block;
  overflow: hidden;
  color: #f6fbf5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.usage-log-main span,
.usage-log-stat span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.usage-log-stat strong {
  margin-top: 4px;
  color: #ecffad;
  font-size: 14px;
}

.usage-log-row em {
  min-width: 54px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ecffad;
  font-size: 12px;
  font-style: normal;
  text-align: center;
}

.usage-log-row em.ok {
  background: rgba(201, 255, 74, 0.12);
}

.usage-log-row em.warn {
  background: rgba(255, 176, 46, 0.14);
  color: #ffd896;
}

.order-row em {
  color: #ecffad;
  font-style: normal;
  text-align: right;
}

.code-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #070a0d;
}

.code-tabs {
  display: flex;
  gap: 1px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}

.code-tabs button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: default;
}

.code-tabs [data-copy-snippet] {
  margin-left: auto;
  border: 1px solid rgba(201, 255, 74, 0.24);
  background: rgba(201, 255, 74, 0.08);
  color: #ecffad;
  cursor: pointer;
}

.code-tabs .active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  color: #d8f7ef;
  font-size: 13px;
  line-height: 1.72;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.module-grid article,
.plan-card,
.flow-board div {
  padding: 20px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

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

.launch-grid article {
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.05), transparent 50%),
    rgba(255, 255, 255, 0.04);
}

.launch-tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(201, 255, 74, 0.13);
  color: #ecffad;
  font-size: 12px;
  font-weight: 760;
}

.launch-tag.need {
  background: rgba(255, 176, 46, 0.14);
  color: #ffd896;
}

.launch-tag.guard {
  background: rgba(111, 232, 255, 0.12);
  color: #c5f7ff;
}

.launch-grid h3 {
  margin: 18px 0 12px;
  font-size: 22px;
}

.launch-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.launch-grid li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.launch-grid li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--teal);
  transform: translateY(-50%);
}

.plan-card,
.flow-board div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.06), transparent 48%),
    rgba(255, 255, 255, 0.04);
}

.plan-card span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 176, 46, 0.14);
  color: #ffd896;
  font-size: 12px;
  font-weight: 700;
}

.plan-card h3 {
  margin: 18px 0 10px;
}

.plan-card strong {
  display: block;
  color: #fbffe9;
  font-size: 34px;
  line-height: 1;
}

.plan-card p {
  margin: 14px 0 8px;
  color: var(--text);
  font-weight: 700;
}

.plan-card em {
  display: block;
  min-height: 42px;
  margin-bottom: 18px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.6;
}

.plan-card .mini-link {
  width: 100%;
}

.console-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  max-width: 1680px;
  margin: 34px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #101110;
}

.console-sidebar {
  position: sticky;
  top: 72px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: calc(100vh - 72px);
  min-height: 720px;
  padding: 24px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0b0a;
}

.console-brand {
  margin-bottom: 8px;
}

.side-block {
  display: grid;
  gap: 8px;
}

.side-block > span {
  color: #6f746c;
  font-size: 13px;
}

.side-block a,
.sidebar-collapse {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  color: #f2f2ee;
  font-size: 17px;
  font-weight: 750;
}

.side-block a.active {
  background: var(--amber);
  color: #17100a;
}

.sidebar-collapse {
  justify-content: center;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #303134;
  color: #b8bbb5;
  font: inherit;
}

.console-main {
  min-width: 0;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255, 176, 46, 0.03), transparent 32%),
    #141514;
}

.console-topline,
.panel-heading,
.console-tools,
.date-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.console-topline h2 {
  margin: 0;
  font-size: 34px;
}

.console-tools button,
.date-filter button,
.console-tabs button,
.route-box button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #2b2c2a;
  color: #f2f2ee;
  padding: 0 14px;
  font: inherit;
  font-weight: 700;
}

.console-view {
  display: none;
}

.console-view.active {
  display: block;
}

.view-heading {
  max-width: 820px;
  margin-top: 26px;
}

.view-heading h3 {
  margin-bottom: 8px;
  color: #f7f7f3;
  font-size: 28px;
}

.view-heading p {
  color: #c4c4bd;
  line-height: 1.7;
}

.market-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.market-toolbar button,
.console-primary-action {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #2b2c2a;
  color: #f2f2ee;
  padding: 0 14px;
  font: inherit;
  font-weight: 750;
}

.market-toolbar button.active,
.console-primary-action {
  border-color: transparent;
  background: var(--amber);
  color: #17100a;
}

.market-grid,
.affiliate-console-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.market-card,
.console-card,
.console-list-row,
.empty-console-state {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: #2b2c2a;
  padding: 20px;
}

.market-card {
  display: grid;
  gap: 12px;
}

.market-card h3,
.console-card h3 {
  margin-bottom: 0;
  color: #f7f7f3;
}

.market-card p,
.console-card p,
.empty-console-state {
  color: #c4c4bd;
  line-height: 1.65;
}

.market-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.market-meta span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 176, 46, 0.12);
  color: #ffd896;
  font-size: 12px;
  font-weight: 750;
}

.market-price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.market-price div {
  padding: 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.market-price span,
.console-card span {
  display: block;
  margin-bottom: 6px;
  color: #a9aaa2;
  font-size: 13px;
}

.market-price strong,
.console-card strong {
  color: #f7f7f3;
  font-size: 24px;
}

.token-layout,
.wallet-console-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.console-card code {
  display: block;
  margin: 14px 0;
  padding: 14px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  color: #dfffb5;
  overflow-x: auto;
}

.console-list,
.console-list-panel {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.console-list li,
.console-list-row {
  color: #d9d9d3;
  line-height: 1.6;
}

.console-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.console-list-row strong,
.console-list-row span {
  display: block;
}

.console-list-row span {
  margin-top: 4px;
  color: #a9aaa2;
}

.console-list-row em {
  color: var(--amber);
  font-style: normal;
  font-weight: 750;
}

.qr-mini-card div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.qr-mini-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: 26px;
  margin-top: 26px;
}

.dashboard-stats article,
.usage-panel,
.api-info-panel article {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: #2b2c2a;
}

.dashboard-stats article {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 18px;
  min-height: 260px;
  padding: 32px;
}

.metric-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-size: 28px;
  font-weight: 850;
}

.metric-icon.mint {
  background: #8de5cf;
}

.metric-icon.violet {
  background: #8584ff;
}

.metric-icon.orange {
  background: #ffb05f;
}

.metric-icon.coral {
  background: #ff8588;
}

.dashboard-stats h3,
.usage-panel h3,
.api-info-panel h3 {
  margin-bottom: 8px;
  color: #f7f7f3;
  font-size: 22px;
}

.dashboard-stats p,
.usage-panel p,
.api-info-panel p {
  color: #c4c4bd;
  line-height: 1.65;
}

.dashboard-stats dl {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  margin: 12px 0 0;
}

.dashboard-stats dl div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.58);
}

.dashboard-stats dt {
  color: #d7d7d1;
  font-size: 16px;
  font-weight: 650;
}

.dashboard-stats dd {
  margin: 0;
  color: #f7f7f3;
  font-size: 28px;
  font-weight: 820;
}

.dashboard-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  margin-top: 26px;
}

.usage-panel,
.api-info-panel article {
  padding: 28px;
}

.date-filter {
  justify-content: flex-end;
}

.date-filter span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 8px;
  background: #3b3c39;
  color: #9d9d96;
}

.date-filter button.active,
.console-tabs button.active,
.route-box button:first-child {
  border-color: transparent;
  background: var(--amber);
  color: #17100a;
}

.console-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 650px;
  margin: 28px 0 24px;
  padding: 8px;
  border-radius: 12px;
  background: #383936;
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 24px;
  min-height: 280px;
  padding: 28px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.chart-bar {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: 10px;
  min-width: 72px;
  flex: 1;
  color: #c7c7c0;
  font-size: 12px;
}

.chart-bar span {
  display: block;
  width: 100%;
  min-height: 8px;
  border-radius: 6px 6px 0 0;
  background: #79a5f5;
}

.chart-bar em {
  color: #a9aaa2;
  font-style: normal;
  text-align: center;
}

.api-info-panel {
  display: grid;
  gap: 26px;
}

.route-box {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: #30312e;
}

.route-box span {
  color: #f5f5ee;
  font-weight: 750;
}

.route-box em {
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 176, 46, 0.14);
  color: var(--amber);
  font-style: normal;
  font-size: 12px;
}

.route-box strong {
  color: var(--amber);
  font-size: 20px;
  line-height: 1.35;
  word-break: break-all;
}

.route-box p {
  margin: 0;
  color: #6ff0a2;
  font-weight: 700;
}

.route-box div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.api-info-panel ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.api-info-panel li {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
  color: #d9d9d3;
  line-height: 1.55;
}

.flow-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.flow-board span {
  display: block;
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 800;
}

.flow-board strong {
  display: block;
  margin-bottom: 8px;
}

.flow-board p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.simulator-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
}

.wallet-card,
.key-card,
.call-card,
.ledger-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.055), transparent 52%),
    rgba(255, 255, 255, 0.04);
  padding: 20px;
}

.wallet-head,
.key-head,
.ledger-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.ledger-head {
  align-items: center;
}

.ledger-head h3 {
  margin: 0;
}

.wallet-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.wallet-head span,
.key-head span,
.form-grid span,
.ledger-stats span,
.lab-controls span,
.lab-metrics span,
.lab-hero-metric span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.lab-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 14px;
}

.lab-controls,
.lab-results {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.055), transparent 52%),
    rgba(255, 255, 255, 0.04);
  padding: 20px;
}

.lab-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lab-controls label:first-child {
  grid-column: span 2;
}

.lab-controls input,
.lab-controls select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.26);
  color: var(--text);
  padding: 0 12px;
  font: inherit;
}

.lab-results {
  display: grid;
  gap: 14px;
}

.lab-hero-metric {
  position: relative;
  min-height: 142px;
  padding: 22px;
  border: 1px solid rgba(201, 255, 74, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 176, 46, 0.18), transparent 30%),
    rgba(201, 255, 74, 0.07);
  overflow: hidden;
}

.lab-hero-metric::after {
  position: absolute;
  right: -18px;
  bottom: -28px;
  width: 170px;
  height: 90px;
  content: "";
  border: 1px solid rgba(201, 255, 74, 0.18);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.lab-hero-metric strong {
  position: relative;
  z-index: 1;
  display: block;
  margin: 10px 0;
  color: #fbffe9;
  font-size: 44px;
  line-height: 1;
}

.lab-hero-metric em {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(201, 255, 74, 0.13);
  color: #ecffad;
  font-style: normal;
  font-weight: 760;
}

.lab-hero-metric em.is-risky {
  background: rgba(255, 176, 46, 0.14);
  color: #ffe0a6;
}

.lab-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.lab-metrics div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.lab-metrics strong {
  color: #fbffe9;
  font-size: 24px;
  line-height: 1.15;
}

.lab-advice {
  padding: 14px;
  border: 1px solid rgba(201, 255, 74, 0.14);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.06);
  color: #e9f7c4;
  line-height: 1.7;
}

.wallet-head strong {
  color: #fbffe9;
  font-size: 42px;
  line-height: 1;
}

.key-head strong {
  color: #fbffe9;
  font-size: 24px;
}

.small-button,
.topup-row button {
  min-height: 36px;
  border: 1px solid rgba(201, 255, 74, 0.24);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.1);
  color: #f2ffd2;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.small-button {
  padding: 0 12px;
}

.small-button.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.small-button.danger {
  border-color: rgba(255, 107, 107, 0.26);
  color: #ffb8b8;
}

.topup-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.wallet-note,
.call-result,
.risk-banner {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(201, 255, 74, 0.14);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.06);
  color: #e9f7c4;
  line-height: 1.6;
}

.topup-orders {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.topup-orders p,
.topup-order {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.topup-order {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
}

.topup-order strong,
.topup-order span,
.topup-order small {
  display: block;
}

.topup-order span {
  grid-column: 1 / 2;
  color: var(--muted);
  line-height: 1.55;
}

.topup-order small {
  grid-column: 1 / 2;
  color: #dce8b7;
  font-size: 12px;
  line-height: 1.55;
}

.topup-order button {
  grid-row: 1 / span 3;
  grid-column: 2 / 3;
  min-height: 34px;
  border: 1px solid rgba(201, 255, 74, 0.26);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.12);
  color: #f2ffd2;
  font: inherit;
  font-weight: 760;
}

.topup-order.confirmed {
  border-color: rgba(201, 255, 74, 0.2);
  background: rgba(201, 255, 74, 0.055);
}

.key-card code {
  display: block;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  color: #dfffb5;
  overflow-x: auto;
}

.key-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.call-card,
.ledger-card {
  grid-column: span 2;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.form-grid input,
.form-grid select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.26);
  color: var(--text);
  padding: 0 12px;
  font: inherit;
}

.full-button {
  width: 100%;
  margin-top: 16px;
  border: 0;
  cursor: pointer;
}

.call-result.is-risky,
.risk-banner.is-risky {
  border-color: rgba(255, 176, 46, 0.32);
  background: rgba(255, 176, 46, 0.1);
  color: #ffe0a6;
}

.ledger-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ledger-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.ledger-stats strong {
  color: #fbffe9;
  font-size: 26px;
}

.ledger-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.ledger-list div,
.ledger-list p {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.ledger-list strong,
.ledger-list span {
  display: block;
}

.ledger-list span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.55;
}

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

.ops-summary {
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ops-summary div,
.ops-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.055), transparent 52%),
    rgba(255, 255, 255, 0.04);
}

.ops-summary div {
  padding: 18px;
}

.ops-summary span,
.ops-head span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.ops-summary strong {
  display: block;
  color: #fbffe9;
  font-size: 30px;
  line-height: 1.1;
}

.ops-summary em {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.5;
}

.ops-panel {
  padding: 20px;
}

.ops-head {
  margin-bottom: 14px;
}

.ops-head strong {
  display: block;
  color: #fbffe9;
  font-size: 18px;
}

.ops-list {
  display: grid;
  gap: 8px;
}

.qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.qr-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.qr-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #fff;
}

.qr-grid figcaption {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.ops-list p,
.ops-row {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.ops-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.ops-row strong,
.ops-row span {
  display: block;
}

.ops-row span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.55;
}

.ops-row button {
  min-height: 34px;
  border: 1px solid rgba(201, 255, 74, 0.26);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.12);
  color: #f2ffd2;
  font: inherit;
  font-weight: 760;
}

.ops-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.ops-row.pending {
  border-color: rgba(255, 176, 46, 0.24);
  background: rgba(255, 176, 46, 0.07);
}

.ops-row.confirmed {
  border-color: rgba(201, 255, 74, 0.18);
}

.price-admin-grid,
.rule-grid,
.channel-grid,
.payment-grid,
.affiliate-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 14px;
}

.price-form,
.price-watch,
.rule-form,
.channel-form,
.payment-form,
.affiliate-form,
.affiliate-results {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.055), transparent 52%),
    rgba(255, 255, 255, 0.04);
  padding: 20px;
}

.affiliate-results {
  display: grid;
  gap: 14px;
}

.affiliate-hero {
  min-height: 132px;
}

.form-grid.compact {
  grid-template-columns: repeat(3, 1fr);
}

.wide-field {
  grid-column: span 3;
}

.form-grid textarea {
  width: 100%;
  min-height: 94px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.26);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
  line-height: 1.55;
}

.price-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.price-actions .button {
  border: 0;
  cursor: pointer;
}

.price-preview {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(201, 255, 74, 0.14);
  border-radius: 8px;
  background: rgba(201, 255, 74, 0.06);
  color: #e9f7c4;
  line-height: 1.6;
}

.price-preview.is-risky {
  border-color: rgba(255, 176, 46, 0.32);
  background: rgba(255, 176, 46, 0.1);
  color: #ffe0a6;
}

.export-preview {
  display: block;
  max-height: 260px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.26);
  white-space: pre-wrap;
}

.export-preview:empty {
  display: none;
}

.status {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.status-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.status-board div {
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.status-board strong {
  margin-left: auto;
  font-size: 13px;
}

.docs-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 76px;
}

.docs-hero {
  display: grid;
  gap: 18px;
  margin-bottom: 26px;
}

.docs-hero h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.08;
}

.docs-hero p {
  max-width: 760px;
  color: #c6d0d7;
  line-height: 1.7;
}

.docs-base-card,
.docs-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.055), transparent 58%),
    rgba(255, 255, 255, 0.035);
}

.docs-base-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: min(760px, 100%);
  padding: 14px;
}

.docs-base-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.docs-base-card code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #d8f7ef;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.docs-panel {
  min-width: 0;
  padding: 20px;
}

.docs-panel h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

.docs-panel p,
.docs-list {
  color: #dce7d3;
  line-height: 1.7;
}

.docs-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.docs-kv {
  display: grid;
  gap: 10px;
  margin: 0;
}

.docs-kv div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.docs-kv dt {
  color: var(--muted);
  font-size: 13px;
}

.docs-kv dd {
  min-width: 0;
  margin: 0;
}

.docs-kv code,
.docs-panel code {
  color: #d8f7ef;
  overflow-wrap: anywhere;
}

.docs-code-panel {
  margin-bottom: 16px;
}

.docs-tabs {
  margin-bottom: 10px;
}

.docs-panel pre {
  max-height: 420px;
  overflow: auto;
  margin: 0 0 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.86);
  color: #d8f7ef;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.docs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.docs-tags span {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(201, 255, 74, 0.16);
  border-radius: 999px;
  background: rgba(201, 255, 74, 0.07);
  color: #ecffad;
  font-size: 13px;
  font-weight: 760;
}

.docs-table {
  margin-top: 6px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-weight: 760;
}

.footer-mark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  object-fit: cover;
}

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

.faq-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.faq-grid h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.faq-grid p,
.enterprise p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.enterprise {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.enterprise h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes loginLineRun {
  0% {
    transform: translateX(-110%);
    opacity: 0.12;
  }

  35% {
    opacity: 1;
  }

  100% {
    transform: translateX(250%);
    opacity: 0.16;
  }
}

@keyframes shineText {
  0% {
    background-position: 150% center;
  }

  100% {
    background-position: -50% center;
  }
}

@keyframes flowRight {
  0%,
  18% {
    background-position: -70% center;
  }

  78%,
  100% {
    background-position: 145% center;
  }
}

@keyframes lineRun {
  0%,
  18% {
    opacity: 0.28;
    transform: scaleX(0.18);
  }

  54% {
    opacity: 0.88;
    transform: scaleX(1);
  }

  100% {
    opacity: 0.22;
    transform: scaleX(0.28) translateX(12%);
  }
}

@media (max-width: 1360px) {
  .nebula-hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
    padding-inline: 40px;
  }

  .gateway-node {
    min-width: 170px;
  }

  .node-dev,
  .node-app,
  .node-enterprise {
    right: 0;
  }

  .console-shell {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .console-main {
    padding: 28px;
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .market-grid,
  .affiliate-console-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-stats article {
    min-height: 230px;
    padding: 24px;
  }

  .dashboard-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .api-info-panel {
    grid-template-columns: 1fr 1fr;
  }
}

.hidden {
  display: none !important;
}

.ops-shell {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  padding: 34px 24px 64px;
  overflow-x: hidden;
}

.ops-login,
.ops-console {
  width: min(1120px, 100%);
  max-width: 100%;
  margin: 0 auto;
}

.ops-login {
  display: grid;
  gap: 22px;
  align-content: start;
  min-height: calc(100vh - 98px);
  padding-top: 8vh;
}

.ops-login h1,
.ops-console-head h1 {
  margin: 6px 0 12px;
  font-size: 42px;
  line-height: 1.05;
}

.ops-login p,
.ops-console-head p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}

.ops-field {
  display: grid;
  max-width: 480px;
  gap: 8px;
  color: var(--text);
  font-weight: 760;
}

.ops-field input {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  outline: none;
  background: rgba(7, 10, 13, 0.82);
  color: var(--text);
  font: inherit;
}

.ops-field input:focus {
  border-color: rgba(201, 255, 74, 0.5);
}

.ops-login .button {
  width: min(260px, 100%);
}

.ops-console-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.ops-launch-gate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 176, 46, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 176, 46, 0.07), transparent 62%),
    rgba(7, 10, 13, 0.64);
}

.ops-launch-gate[data-state="ready"] {
  border-color: rgba(201, 255, 74, 0.2);
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.065), transparent 62%),
    rgba(7, 10, 13, 0.64);
}

.ops-launch-gate span,
.ops-launch-gate p,
.ops-launch-gate small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.ops-launch-gate strong {
  display: block;
  margin: 5px 0;
  color: #fbffe9;
  font-size: 19px;
  overflow-wrap: anywhere;
}

.ops-launch-gate p {
  margin-bottom: 2px;
  color: #dce7d3;
}

.ops-launch-gate small {
  max-width: 760px;
  color: #c6d0d7;
}

.ops-launch-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.ops-queue-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.ops-queue-summary article {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.58);
}

.ops-queue-summary article[data-summary-filter] {
  cursor: pointer;
}

.ops-queue-summary article[data-summary-filter]:hover {
  border-color: rgba(201, 255, 74, 0.22);
}

.ops-queue-summary span,
.ops-queue-summary strong,
.ops-queue-summary em {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.ops-queue-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.ops-queue-summary strong {
  margin: 7px 0 5px;
  color: #fbffe9;
  font-size: 24px;
}

.ops-queue-summary em {
  color: #dce7d3;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.ops-actions,
.ops-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.ops-reject-reason {
  width: min(220px, 100%);
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  outline: none;
  background: rgba(7, 10, 13, 0.72);
  color: var(--text);
  font: inherit;
  font-size: 12px;
}

.ops-reject-reason:focus {
  border-color: rgba(255, 176, 46, 0.36);
}

.ops-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.ops-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.ops-filter-group > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.ops-customer-lookup {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(201, 255, 74, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.045), transparent 58%),
    rgba(7, 10, 13, 0.54);
}

.ops-lookup-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.ops-lookup-head span,
.ops-customer-stats span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.ops-lookup-head strong {
  display: block;
  margin-top: 4px;
  color: #fbffe9;
  font-size: 18px;
}

.ops-lookup-form {
  display: flex;
  gap: 8px;
  min-width: min(460px, 100%);
}

.ops-lookup-form input {
  min-width: 0;
  flex: 1;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  outline: none;
  background: rgba(7, 10, 13, 0.72);
  color: var(--text);
  font: inherit;
}

.ops-customer-results {
  display: grid;
  gap: 10px;
}

.ops-customer-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.58);
}

.ops-customer-main strong,
.ops-customer-main span,
.ops-customer-main code {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.ops-customer-main span,
.ops-customer-foot span,
.ops-customer-topups span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.ops-customer-main code {
  margin-top: 6px;
  color: #d8f7ef;
  font-size: 12px;
}

.ops-customer-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ops-customer-stats div {
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.ops-customer-stats strong {
  display: block;
  margin-top: 5px;
  color: #ecffad;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.ops-customer-foot,
.ops-customer-topups {
  display: grid;
  gap: 4px;
}

.ops-customer-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: 10px;
}

.ops-customer-actions form {
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr)) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.ops-customer-actions form[data-customer-action="set_rate_limit"] {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.ops-customer-actions strong {
  color: #fbffe9;
  font-size: 13px;
  white-space: nowrap;
}

.ops-customer-actions input {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  outline: none;
  background: rgba(7, 10, 13, 0.72);
  color: var(--text);
  font: inherit;
  font-size: 13px;
}

.ops-smoke-result {
  display: grid;
  gap: 12px;
}

.ops-smoke-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(201, 255, 74, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.055), transparent 62%),
    rgba(7, 10, 13, 0.58);
}

.ops-smoke-summary span,
.ops-smoke-summary small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.ops-smoke-summary strong {
  display: block;
  margin: 5px 0;
  color: #fbffe9;
  font-size: 18px;
}

.smoke-grid article[data-state="demo"],
.smoke-grid article[data-state="default"] {
  border-color: rgba(255, 176, 46, 0.18);
  background: rgba(255, 176, 46, 0.055);
}

.ops-email-test-form,
.ops-upstream-test-form,
.ops-domain-test-form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
}

.ops-upstream-test-form {
  grid-template-columns: minmax(180px, 0.42fr) minmax(280px, 1fr) auto;
}

.ops-domain-test-form {
  grid-template-columns: minmax(0, 1fr) auto;
}

.ops-email-test-form label,
.ops-upstream-test-form label {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.ops-email-test-form span,
.ops-upstream-test-form span,
.ops-domain-test-form span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.ops-domain-test-form strong {
  display: block;
  margin-top: 7px;
  color: #fbffe9;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.ops-email-test-form input,
.ops-upstream-test-form input,
.ops-upstream-test-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  outline: none;
  background: rgba(7, 10, 13, 0.72);
  color: var(--text);
  font: inherit;
}

.ops-upstream-test-form textarea {
  min-height: 54px;
  padding: 9px 10px;
  resize: vertical;
}

.ops-email-test-form input:focus,
.ops-upstream-test-form input:focus,
.ops-upstream-test-form textarea:focus {
  border-color: rgba(201, 255, 74, 0.42);
}

.ops-email-test-result,
.ops-upstream-test-result,
.ops-domain-test-result {
  display: grid;
  gap: 10px;
}

.ops-email-test-card,
.ops-upstream-test-card,
.ops-domain-test-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 176, 46, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 176, 46, 0.06), transparent 62%),
    rgba(7, 10, 13, 0.5);
}

.ops-email-test-card.ready,
.ops-upstream-test-card.ready,
.ops-domain-test-card.ready {
  border-color: rgba(201, 255, 74, 0.16);
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.055), transparent 62%),
    rgba(7, 10, 13, 0.58);
}

.ops-email-test-card strong,
.ops-email-test-card span,
.ops-email-test-card small,
.ops-upstream-test-card strong,
.ops-upstream-test-card span,
.ops-upstream-test-card small,
.ops-upstream-test-card code,
.ops-domain-test-card strong,
.ops-domain-test-card span,
.ops-domain-test-card small,
.ops-domain-test-card code {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.ops-email-test-card span,
.ops-upstream-test-card span,
.ops-domain-test-card span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.ops-email-test-card small,
.ops-upstream-test-card small,
.ops-domain-test-card small {
  margin-top: 10px;
  color: #dce7d3;
  font-size: 12px;
  line-height: 1.5;
}

.ops-upstream-test-card code,
.ops-domain-test-card code {
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  color: #ecffad;
  font-size: 12px;
  line-height: 1.6;
}

.ops-model-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
}

.ops-model-form label {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.ops-model-form span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.ops-model-form input,
.ops-model-form select {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  outline: none;
  background: rgba(7, 10, 13, 0.72);
  color: var(--text);
  font: inherit;
}

.ops-model-ability {
  grid-column: span 2;
}

.ops-model-list {
  display: grid;
  gap: 10px;
}

.ops-model-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 0.8fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.58);
}

.ops-model-row strong,
.ops-model-row span,
.ops-model-row small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.ops-model-row span,
.ops-model-row small,
.ops-model-row dt {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.ops-model-row strong {
  color: #fbffe9;
}

.ops-model-row dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.ops-model-row dl div {
  min-width: 0;
  padding: 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.ops-model-row dd {
  margin: 4px 0 0;
  color: #ecffad;
  font-size: 13px;
  font-weight: 760;
}

.ops-search {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 13px;
  font-weight: 760;
}

.ops-search input {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  outline: none;
  background: rgba(7, 10, 13, 0.72);
  color: var(--text);
  font: inherit;
}

.ops-search input:focus {
  border-color: rgba(201, 255, 74, 0.5);
}

.ops-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ops-status-row > span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.ops-order-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.ops-order-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(150px, 0.7fr) minmax(180px, 0.8fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.62);
}

.ops-order-row.proof-submitted {
  border-color: rgba(201, 255, 74, 0.14);
}

.ops-order-row.proof-missing {
  border-color: rgba(255, 176, 46, 0.16);
}

.ops-order-row strong,
.ops-order-row span {
  display: block;
  min-width: 0;
}

.ops-order-row code,
.ops-order-row small {
  display: block;
  min-width: 0;
  margin-top: 6px;
  color: #d8f7ef;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.ops-order-row .ops-proof {
  color: #ecffad;
}

.ops-order-row .ops-proof.muted {
  color: var(--muted);
}

.ops-order-row strong {
  overflow: hidden;
  color: #f6fbf5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-order-row span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.ops-copy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.ops-copy-actions .small-button {
  min-height: 30px;
  padding: 0 9px;
  font-size: 12px;
}

.ops-state {
  justify-self: end;
  min-width: 64px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(201, 255, 74, 0.12);
  color: #ecffad;
  font-size: 12px;
  font-style: normal;
  text-align: center;
}

.ops-readiness {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ops-readiness .panel-title em {
  color: #ecffad;
  font-size: 13px;
  font-style: normal;
  font-weight: 760;
  white-space: nowrap;
}

.ops-mode-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 14px;
}

.ops-mode-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(201, 255, 74, 0.18);
  border-radius: 999px;
  background: rgba(201, 255, 74, 0.07);
  color: #ecffad;
  font-size: 12px;
  font-weight: 760;
}

.ops-diagnostics {
  display: grid;
  gap: 12px;
}

.diagnostics-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ops-db-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ops-db-strip span {
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(111, 232, 255, 0.16);
  border-radius: 999px;
  background: rgba(111, 232, 255, 0.06);
  color: #d8f7ef;
  font-size: 12px;
  font-weight: 760;
}

.ops-check-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.ops-check-grid article {
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.5);
}

.ops-check-grid article.ready {
  border-color: rgba(201, 255, 74, 0.16);
}

.ops-check-grid article.todo {
  border-color: rgba(255, 176, 46, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 176, 46, 0.06), transparent 62%),
    rgba(7, 10, 13, 0.5);
}

.ops-check-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ops-check-head em {
  flex: 0 0 auto;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(201, 255, 74, 0.12);
  color: #ecffad;
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
}

.ops-check-grid article.todo .ops-check-head em {
  background: rgba(255, 176, 46, 0.14);
  color: #ffd896;
}

.ops-check-grid strong,
.ops-check-grid span,
.ops-check-grid small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.ops-check-grid span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.ops-check-grid small {
  margin-top: 10px;
  color: #dce7d3;
  font-size: 12px;
  line-height: 1.5;
}

.ops-setup-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.ops-setup-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(111, 232, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(111, 232, 255, 0.045), transparent 58%),
    rgba(7, 10, 13, 0.54);
}

.ops-setup-card span {
  color: #c6d0d7;
  font-size: 13px;
  line-height: 1.6;
}

.ops-command-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.ops-command-list code {
  display: block;
  min-width: 0;
  overflow: auto hidden;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  color: #d8f7ef;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 20px;
  }

  .top-nav {
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-actions {
    display: none;
  }

  .hero,
  .quick-grid,
  .status,
  .enterprise,
  .docs-grid,
  .account-hero,
  .account-grid,
  .simulator-grid,
  .console-shell,
  .dashboard-body,
  .price-admin-grid,
  .rule-grid,
  .channel-grid,
  .payment-grid,
  .affiliate-grid,
  .lab-grid,
  .connection-kit-grid {
    grid-template-columns: 1fr;
  }

  .console-sidebar {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    padding: 18px 20px;
  }

  .side-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-block > span {
    grid-column: 1 / -1;
  }

  .sidebar-collapse {
    display: none;
  }

  .console-main {
    padding: 24px 20px;
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-queue-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .diagnostics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-heading,
  .console-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .date-filter {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 0;
    padding: 56px 20px 34px;
  }

  .nebula-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 90px;
  }

  .gateway-map {
    min-height: 560px;
  }

  .node-claude,
  .node-gemini,
  .node-gpt {
    left: 0;
  }

  .trace-a,
  .trace-b {
    left: 130px;
  }

  .trace-c,
  .trace-d {
    right: 130px;
  }

  .section {
    padding: 54px 20px;
  }

  .strip,
  .module-grid,
  .launch-grid,
  .plan-grid,
  .faq-grid,
  .onboarding-grid,
  .model-grid,
  .flow-board {
    grid-template-columns: 1fr 1fr;
  }

  .hero-panel {
    width: 100%;
  }

  .call-card,
  .ledger-card {
    grid-column: span 1;
  }

  .form-grid,
  .form-grid.compact,
  .ledger-stats,
  .ops-summary,
  .lab-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .wide-field {
    grid-column: span 2;
  }

  .ops-grid {
    grid-template-columns: 1fr;
  }

  .ops-summary {
    grid-column: span 1;
  }
}

@media (max-width: 620px) {
  .brand {
    font-size: 15px;
  }

  .ops-check-grid {
    grid-template-columns: 1fr;
  }

  .ops-queue-summary {
    grid-template-columns: 1fr;
  }

  .diagnostics-grid {
    grid-template-columns: 1fr;
  }

  .top-nav {
    gap: 16px;
    font-size: 13px;
  }

  h1 {
    font-size: 42px;
    line-height: 1.06;
  }

  .hero-metrics,
  .strip,
  .module-grid,
  .launch-grid,
  .plan-grid,
  .faq-grid,
  .onboarding-grid,
  .model-grid,
  .flow-board,
  .dashboard-stats,
  .status-board,
  .provider-card {
    grid-template-columns: 1fr;
  }

  .status-pill {
    max-width: 100%;
    white-space: normal;
  }

  .nebula-hero {
    padding-top: 44px;
    padding-bottom: 76px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .flowing-copy::after {
    bottom: -6px;
  }

  .nebula-hero .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gateway-map {
    display: none;
  }

  .orbit-ring,
  .trace {
    display: none;
  }

  .ticker-track span {
    min-height: 42px;
    padding: 0 18px;
  }

  .enterprise {
    align-items: stretch;
    flex-direction: column;
  }

  .console-shell {
    margin-top: 16px;
  }

  .console-sidebar {
    gap: 14px;
  }

  .side-block {
    grid-template-columns: 1fr;
  }

  .side-block a {
    min-height: 38px;
    font-size: 15px;
  }

  .dashboard-stats article {
    grid-template-columns: 56px 1fr;
    min-height: 0;
    padding: 18px;
  }

  .metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 22px;
  }

  .dashboard-stats dd {
    font-size: 24px;
  }

  .date-filter span {
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .date-filter button {
    flex: 1;
    min-width: 0;
  }

  .bar-chart {
    gap: 10px;
    min-height: 220px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    padding-inline: 4px;
  }

  .chart-bar {
    min-width: 52px;
  }

  .usage-panel,
  .api-info-panel article,
  .route-box {
    min-width: 0;
  }

  .console-grid {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .route-card,
  .chart-card,
  .provider-card {
    grid-column: span 1;
  }

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

  .route-flow i {
    width: 1px;
    height: 18px;
    justify-self: center;
    background: linear-gradient(180deg, transparent, var(--teal), var(--amber), transparent);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .account-shell {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    padding: 34px 20px 60px;
  }

  .account-grid,
  .account-panel,
  .account-balance-card,
  .account-metric-grid article,
  .account-buy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .account-metric-grid {
    grid-template-columns: 1fr;
  }

  .auth-brand {
    position: static;
    justify-self: start;
    margin-bottom: 24px;
  }

  .auth-shell {
    align-content: start;
    place-items: stretch;
  }

  .key-card-head,
  .key-row,
  .auth-code-row,
  .usage-bar-row,
  .usage-log-row {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .key-card-head {
    display: grid;
  }

  .mini-link,
  .auth-code-row .button,
  .key-row button,
  .panel-title,
  .activation-focus-panel,
  .account-checklist li,
  .order-row {
    width: 100%;
  }

  .panel-title,
  .activation-focus-panel,
  .account-checklist li,
  .security-detail-list div,
  .order-row {
    align-items: stretch;
    flex-direction: column;
  }

  .activation-focus-actions {
    justify-content: stretch;
  }

  .activation-focus-actions .mini-link,
  .activation-focus-actions .small-button,
  .connection-kit-actions .small-button,
  .connection-kit-actions .mini-link {
    width: 100%;
  }

  .security-summary,
  .security-detail-list div {
    grid-template-columns: 1fr;
  }

  .security-detail-list dd {
    overflow-wrap: anywhere;
    text-align: left;
    white-space: normal;
  }

  .account-key,
  .key-row code {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .payment-methods,
  .payment-qrs,
  .payment-proof,
  .checkout-guide,
  .checkout-steps,
  .payment-check-card,
  .payment-check-card dl,
  .order-progress-card,
  .docs-base-card,
  .review-note,
  .payment-help,
  .ops-launch-gate,
  .ops-status-row,
  .ops-lookup-head,
  .ops-lookup-form,
  .ops-customer-stats,
  .ops-command-list {
    grid-template-columns: 1fr;
  }

  .docs-shell {
    width: calc(100% - 40px);
    padding-top: 34px;
  }

  .docs-hero h1 {
    font-size: 36px;
  }

  .ops-lookup-head,
  .ops-lookup-form {
    align-items: stretch;
    flex-direction: column;
  }

  .ops-model-form,
  .ops-email-test-form,
  .ops-upstream-test-form,
  .ops-domain-test-form,
  .ops-model-row,
  .ops-model-row dl,
  .ops-customer-actions,
  .ops-customer-actions form,
  .ops-customer-actions form[data-customer-action="set_rate_limit"] {
    grid-template-columns: 1fr;
  }

  .ops-model-ability {
    grid-column: span 1;
  }

  .payment-method {
    flex: 1;
  }

  .order-progress-card {
    align-items: stretch;
    flex-direction: column;
  }

  .order-progress-actions,
  .payment-check-actions {
    justify-content: stretch;
  }

  .order-progress-actions .small-button,
  .order-progress-card a,
  .checkout-after a,
  .payment-check-actions .small-button,
  .payment-check-actions a {
    width: 100%;
    text-align: center;
  }

  .order-timeline {
    display: grid;
    grid-template-columns: 1fr;
  }

  .api-test-grid,
  .api-test-actions {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .order-row em {
    text-align: left;
  }

  .order-side {
    justify-items: stretch;
  }

  .usage-log-row em {
    justify-self: start;
  }

  .code-tabs {
    flex-wrap: wrap;
  }

  .code-tabs [data-copy-snippet] {
    margin-left: 0;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 20px;
  }

  .topup-row,
  .ops-console-head,
  .ops-order-row,
  .form-grid,
  .form-grid.compact,
  .ledger-stats,
  .ops-summary,
  .lab-controls,
  .lab-metrics,
  .market-grid,
  .token-layout,
  .wallet-console-grid,
  .affiliate-console-grid,
  .api-info-panel,
  .qr-grid {
    grid-template-columns: 1fr;
  }

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

  .wide-field {
    grid-column: span 1;
  }

  .lab-controls label:first-child {
    grid-column: span 1;
  }

  .lab-hero-metric strong {
    font-size: 34px;
  }

  .wallet-head,
  .key-head,
  .ledger-head,
  .topup-order {
    grid-template-columns: 1fr;
  }

  .topup-order span,
  .topup-order small,
  .topup-order button,
  .ops-row button,
  .ops-row em {
    grid-column: auto;
    grid-row: auto;
  }

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

  .ops-check-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ops-queue-summary {
    grid-template-columns: 1fr;
  }

  .ops-console-head {
    align-items: stretch;
  }

  .ops-launch-gate,
  .ops-status-row {
    align-items: stretch;
    flex-direction: column;
  }

  .ops-launch-actions {
    justify-content: stretch;
  }

  .ops-launch-actions .small-button {
    flex: 1;
  }

  .ops-filter,
  .ops-filter-group {
    align-items: stretch;
    flex-direction: column;
  }

  .ops-filter-group .payment-method {
    width: 100%;
  }

  .ops-status-row > span {
    white-space: normal;
  }

  .ops-copy-actions .small-button {
    flex: 1;
  }

  .ops-actions,
  .ops-row-actions {
    justify-content: stretch;
  }

  .ops-row-actions .small-button,
  .ops-actions .small-button,
  .ops-reject-reason {
    flex: 1;
  }

  .ops-state {
    justify-self: start;
  }

  .wallet-actions {
    justify-content: stretch;
  }

  .wallet-actions .small-button {
    flex: 1;
  }
}

@keyframes spotsDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 148px 62px, -74px 124px;
  }
}

@keyframes sweep {
  0%,
  100% {
    transform: translateX(-45%);
    opacity: 0;
  }

  45%,
  55% {
    opacity: 1;
  }

  70% {
    transform: translateX(45%);
    opacity: 0;
  }
}

@keyframes streakRun {
  0% {
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }

  20% {
    opacity: 0.85;
  }

  70% {
    opacity: 0.35;
  }

  100% {
    transform: translateX(140vw) skewX(-18deg);
    opacity: 0;
  }
}

@keyframes panelFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes routePulse {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 200% 0;
  }
}

@keyframes barPulse {
  0%,
  100% {
    transform: scaleY(0.92);
    filter: saturate(0.9);
  }

  50% {
    transform: scaleY(1.04);
    filter: saturate(1.18);
  }
}

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