/* VibeRice Station — void + gold (in-IDE cockpit) */
:root {
  --vr-bg-deep: #050403;
  --vr-bg-card: linear-gradient(145deg, rgba(15, 11, 5, 0.96) 0%, rgba(6, 5, 4, 0.98) 52%, rgba(3, 3, 4, 0.99) 100%);
  --vr-bg-card-solid: rgba(10, 8, 6, 0.96);
  --vr-border: rgba(212, 175, 55, 0.32);
  --vr-gold: #d4af37;
  --vr-gold-bright: #f0d78c;
  --vr-gold-dim: rgba(230, 200, 120, 0.88);
  --vr-cyan: #d8b65a;
  --vr-mint: #6ecf9a;
  --vr-text: #f1ead9;
  /* Was too grey on variegated art — keep hierarchy with shadow + tokens */
  --vr-text-muted: rgba(224, 214, 190, 0.9);
  --vr-text-faint: rgba(208, 195, 164, 0.78);
  /* Dark rim so small type stays legible on gold specks in the mood image */
  --vr-text-halo: 0 1px 2px rgba(0, 0, 0, 0.95), 0 0 14px rgba(0, 0, 0, 0.55);
  --vr-warn: #e8b84c;
  --vr-danger: #e87878;
  /* In-IDE: Geist everywhere for small panels (serif hurts scanability at this density). */
  --font-display: "Geist", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --font-ui: "Geist", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", "Consolas", "Courier New", monospace;
  /* Semantic ink — gold is accent only, not body fill */
  --vr-ink: rgba(248, 246, 242, 0.96);
  --vr-ink-muted: rgba(186, 184, 176, 0.92);
  --vr-line: rgba(255, 255, 255, 0.1);
  --vr-surface-elevated: rgba(14, 14, 16, 0.82);
  --r: 10px;
  --r-lg: 16px;
  --btn-height: 36px;
  --btn-height-lg: 48px;
  /* Centered “cockpit” card column (panel) */
  --station-cockpit-w: 540px;
  /* Vertical rhythm between major blocks */
  --stack-gap: 20px;
  /* Type ramp — minimum 12px for UI chrome; body at 14px */
  --vr-text-xs: 12px;
  --vr-text-sm: 13px;
  --vr-text-md: 14px;
  --vr-text-lg: 17px;
  --vr-text-xl: 20px;
  /* Motion (respect prefers-reduced-motion) */
  --vr-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --vr-t-fast: 0.2s;
  --vr-t-slow: 0.45s;
  --vr-t-card-in: 0.28s;
  --ide-chip-min: 0;
  --vr-filigree: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath fill='none' stroke='%23d4af37' stroke-width='0.4' opacity='0.12' d='M40 8 L52 20 L40 32 L28 20 Z M8 40 L20 28 L32 40 L20 52 Z M40 48 L52 60 L40 72 L28 60 Z M48 40 L60 28 L72 40 L60 52 Z'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

/* Screen-reader-only: keep card semantics when visible blurbs are removed */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  height: 100%;
}

body {
  margin: 0;
  color: var(--vr-text);
  min-height: 100%;
  min-height: 100dvh;
  background-color: #030305;
  background-image:
    var(--vr-filigree),
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(212, 175, 55, 0.07), transparent 45%),
    linear-gradient(168deg, #030305 0%, #0a0c12 45%, #050508 100%);
  background-size: 80px 80px, auto, auto;
  background-position: 0 0, center -20%, 0 0;
  background-attachment: fixed, scroll, scroll;
  font-family: var(--font-ui);
  font-size: var(--vr-text-md);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
  isolation: isolate;
}

/* Full-bleed art: anchor to TOP so the character (upper area of the asset) stays in frame */
body.station-body--art::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--station-bg, none) no-repeat;
  background-size: cover;
  background-position: center top;
  opacity: 0.7;
  transform: translateZ(0);
}

/* Lighter scrim: show art; side vignette keeps text readable, not a solid wall on the left */
body.station-body--art::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(1, 1, 3, 0.08) 0%, rgba(2, 2, 4, 0.44) 32%, rgba(1, 1, 2, 0.78) 60%, rgba(0, 0, 0, 0.9) 100%),
    linear-gradient(95deg, rgba(2, 2, 6, 0.38) 0%, rgba(2, 2, 5, 0.16) 40%, rgba(0, 0, 0, 0) 70%);
  transform: translateZ(0);
}

/* Wide panel: art biased so the figure has room; brighter */
body.station-body--art-land::after {
  background-position: 62% 0;
  background-size: cover;
  opacity: 0.74;
}

body.station-body--art-port::after,
body.station-body--art-legacy::after {
  background-position: 85% 5%;
  opacity: 0.4;
}

.station-app {
  position: relative;
  z-index: 2;
  padding: 14px 16px 24px;
  max-width: 520px;
}

/* Cockpit (hero + tools + account + run) and stage (results) */
.station-cockpit,
.station-stage {
  width: 100%;
}

.station-cockpit {
  display: flex;
  flex-direction: column;
  gap: var(--stack-gap);
}

.station-cockpit > .cockpit-hero,
.station-cockpit > .ide-toolbar,
.station-cockpit > .pilot-deck,
.station-cockpit > .command-deck {
  margin-bottom: 0;
}

/* Account / session strip — direct child of .station-app (above pre-scan chrome) */
.station-app > .station-account-strip {
  width: 100%;
  min-width: 0;
  margin: 0 0 var(--stack-gap);
}

/* Bottom panel: centered fluent column; wide stage for the grid */
html[data-surface="panel"] body,
html[data-surface="panel"] {
  min-height: 100%;
}

html[data-surface="panel"] .station-app {
  max-width: min(1120px, 100%);
  margin-inline: auto;
  padding: 28px min(48px, 6vw) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

html[data-surface="panel"] .station-cockpit,
html[data-surface="panel"] .station-app > .station-account-strip {
  max-width: var(--station-cockpit-w);
  margin-inline: auto;
  width: 100%;
}

html[data-surface="panel"] .station-stage {
  max-width: min(1000px, 100%);
  width: 100%;
  margin-top: var(--stack-gap);
  margin-inline: auto;
}

/* Single column: no staggered left/right mismatch; scannable top → bottom */
html[data-surface="panel"] .results-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  width: 100%;
  max-width: min(40rem, 100%);
  margin-inline: auto;
}

html[data-surface="panel"] .deck-card {
  min-height: 0;
  padding: 8px 10px 10px;
  border-radius: var(--r-lg);
  border-color: rgba(212, 175, 55, 0.2);
  background-color: rgba(6, 5, 4, 0.82);
  background-image: linear-gradient(160deg, rgba(255, 244, 202, 0.05) 0%, transparent 48%),
    var(--vr-bg-card);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 202, 0.04),
    0 4px 24px rgba(0, 0, 0, 0.32);
  transition: transform var(--vr-t-fast) var(--vr-ease-out), box-shadow var(--vr-t-fast) ease, border-color 0.15s ease;
}

html[data-surface="panel"] .pilot-btn-row,
html[data-surface="panel"] .pilot-unsigned .pilot-btn--primary {
  max-width: 100%;
}

html[data-surface="panel"] .command-deck__cta {
  max-width: 100%;
}

/* Panel: center hero, avoid “stuck on the left rail” */
html[data-surface="panel"] .cockpit-hero {
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-bottom-color: rgba(212, 175, 55, 0.2);
  padding: 14px 12px 10px;
}

html[data-surface="panel"] .cockpit-hero__text {
  max-width: 32rem;
  margin-inline: auto;
}

html[data-surface="panel"] .cockpit-hero__lead {
  margin-left: auto;
  margin-right: auto;
}

html[data-surface="panel"] .cockpit-hero__whatsnew {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* Stage header centered */
html[data-surface="panel"] .output-head {
  text-align: center;
  max-width: 40rem;
  margin: 6px auto 14px;
}

/* Entrance motion (optional) — panel + narrow sidebar */
@media (prefers-reduced-motion: no-preference) {
  html[data-surface="panel"] .station-cockpit,
  html[data-surface="panel"] .station-stage,
  html[data-surface="panel"] .vr-legend,
  html[data-surface="sidebar"] .station-cockpit,
  html[data-surface="sidebar"] .station-stage,
  html[data-surface="sidebar"] .vr-legend {
    animation: station-ambient-in var(--vr-t-slow) var(--vr-ease-out) both;
  }

  html[data-surface="panel"] .station-stage,
  html[data-surface="sidebar"] .station-stage {
    animation-delay: 0.08s;
  }

  html[data-surface="panel"] .vr-legend,
  html[data-surface="sidebar"] .vr-legend {
    animation-delay: 0.16s;
  }

  html[data-surface="sidebar"] .station-cockpit,
  html[data-surface="sidebar"] .station-stage,
  html[data-surface="sidebar"] .vr-legend {
    animation-name: station-ambient-in-sidebar;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-surface="panel"] .station-cockpit,
  html[data-surface="panel"] .station-stage,
  html[data-surface="panel"] .vr-legend,
  html[data-surface="sidebar"] .station-cockpit,
  html[data-surface="sidebar"] .station-stage,
  html[data-surface="sidebar"] .vr-legend {
    animation: none;
  }
}

.cockpit-hero {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: var(--stack-gap);
  padding: 2px 0 10px;
  border-bottom: 1px solid var(--vr-border);
}

.cockpit-hero__brand {
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.32em;
  color: var(--vr-gold);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

.cockpit-hero__title {
  margin: 0 0 4px;
  font-size: var(--vr-text-lg);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fafcff;
  line-height: 1.15;
}

.cockpit-hero__text {
  flex: 1;
  min-width: 0;
}

.cockpit-hero__tagline {
  margin: 6px 0 0;
  font-size: var(--vr-text-md);
  line-height: 1.55;
  color: #e8eef5;
  letter-spacing: 0.01em;
  max-width: 40em;
  text-shadow: var(--vr-text-halo);
  font-weight: 500;
}

/* Single hero line (replaces stacked tagline + sub) */
.cockpit-hero__lead {
  margin: 6px 0 0;
  font-size: var(--vr-text-xs);
  line-height: 1.5;
  color: #e8eef5;
  letter-spacing: 0.01em;
  max-width: 42em;
  text-shadow: var(--vr-text-halo);
  font-weight: 500;
}

.cockpit-hero__whatsnew {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: var(--r);
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(4, 8, 16, 0.55);
  font-size: var(--vr-text-xs);
  line-height: 1.45;
  color: var(--vr-text-muted);
  max-width: 44em;
  text-shadow: var(--vr-text-halo);
  font-weight: 500;
}

.cockpit-hero__whatsnew strong {
  color: rgba(240, 215, 160, 0.95);
  font-weight: 750;
}

.cockpit-hero__sub {
  margin: 5px 0 0;
  font-size: var(--vr-text-sm);
  line-height: 1.55;
  color: var(--vr-text-muted);
  max-width: 40em;
  text-shadow: var(--vr-text-halo);
  font-weight: 500;
}

.ide-toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  margin: 0 0 calc(var(--stack-gap) - 4px);
  padding: 6px 10px 8px;
  background-color: rgba(6, 10, 18, 0.82);
  background-image: var(--vr-bg-card);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--r-lg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.ide-toolbar__label {
  font-size: var(--vr-text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(222, 230, 240, 0.92);
  text-shadow: var(--vr-text-halo);
  margin: 0;
}

.ide-toolbar__hint {
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--vr-text-faint);
  text-shadow: var(--vr-text-halo);
}

.ide-toolbar__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

/* Equal-width tools: flex + 0-basis fixes uneven grid columns in some webviews */
html[data-surface="panel"] .ide-toolbar__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: stretch;
  width: 100%;
}

.ide-chip {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 6px 8px;
  min-height: 52px;
  width: 100%;
  min-width: 0;
  padding: 7px 8px 7px 7px;
  border-radius: var(--r-lg);
  text-align: left;
  font-family: var(--font-ui);
  color: #f2f0ea;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%),
    rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.24);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 8px 20px rgba(0, 0, 0, 0.35);
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, filter 0.12s ease;
}

html[data-surface="panel"] .ide-toolbar__actions .ide-chip {
  flex: 1 1 0;
  min-width: 0;
  min-height: 58px;
  align-content: center;
}

.ide-chip__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

/* Vector “well” + mask icon (not emoji) */
.ide-chip__icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
  position: relative;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.1);
}

.ide-chip__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 22px;
  height: 22px;
  background-color: var(--ide-chip-glyph, #e8d4a0);
  -webkit-mask: var(--ide-chip-icon) center / contain no-repeat;
  mask: var(--ide-chip-icon) center / contain no-repeat;
  opacity: 0.95;
}

/* Gold/void icon wells — same palette for every host tool */
.ide-chip--purpose-commands {
  --ide-chip-glyph: #f0d78c;
  --ide-chip-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='4.5' width='18' height='2.2' rx='0.5' fill='white'/%3E%3Crect x='3' y='10.9' width='12' height='2.2' rx='0.5' fill='white'/%3E%3Crect x='3' y='17' width='18' height='2.2' rx='0.5' fill='white'/%3E%3C/svg%3E");
}

.ide-chip--purpose-commands .ide-chip__icon {
  background: linear-gradient(150deg, rgba(212, 175, 55, 0.25) 0%, rgba(0, 0, 0, 0.4) 100%);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.12);
}

.ide-chip--purpose-key {
  --ide-chip-glyph: #f0d78c;
  /* Abstract key: circle + shaft (reads clearly in 22px mask) */
  --ide-chip-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='8' cy='9' r='3.5' fill='white'/%3E%3Crect x='10' y='7.5' width='11' height='3' rx='0.5' fill='white'/%3E%3Crect x='18' y='7.5' width='2.5' height='7' fill='white'/%3E%3C/svg%3E");
}

.ide-chip--purpose-key .ide-chip__icon {
  background: linear-gradient(150deg, rgba(212, 175, 55, 0.25) 0%, rgba(0, 0, 0, 0.4) 100%);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.12);
}

.ide-chip__title {
  font-size: var(--vr-text-xs);
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--vr-gold-dim);
}

.ide-chip__desc {
  font-size: var(--vr-text-xs);
  line-height: 1.45;
  font-weight: 600;
  color: rgba(210, 220, 230, 0.88);
  letter-spacing: 0.01em;
  text-shadow: var(--vr-text-halo);
  /* Same visual height across the row (copy differs in length) */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-width: 100%;
}

.ide-chip:hover {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, transparent 50%),
    rgba(12, 14, 22, 0.7);
  border-color: rgba(212, 175, 55, 0.42);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 0 0 1px rgba(212, 175, 55, 0.12);
}

/* Panel: lift on hover (transform-only; host tools feel “alive”) */
html[data-surface="panel"] .ide-toolbar__actions .ide-chip {
  transition: transform var(--vr-t-fast) var(--vr-ease-out), box-shadow var(--vr-t-fast) ease, border-color 0.2s ease, background 0.2s ease, filter 0.2s ease;
  will-change: transform;
}

html[data-surface="panel"] .ide-toolbar__actions .ide-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.2) inset;
  filter: brightness(1.04);
}

@media (prefers-reduced-motion: reduce) {
  html[data-surface="panel"] .ide-toolbar__actions .ide-chip,
  html[data-surface="panel"] .ide-toolbar__actions .ide-chip:hover {
    transform: none;
    transition: border-color 0.12s, background 0.12s;
    filter: none;
  }
}

/* No :active styling: webview + workbench focus handoff can leave pointer/cursor “stuck” with filters */

.ide-chip:focus {
  outline: none;
}

.ide-chip:focus-visible {
  outline: 2px solid rgba(212, 175, 55, 0.65);
  outline-offset: 2px;
}

.pilot-deck {
  margin-bottom: calc(var(--stack-gap) - 4px);
}

.pilot-deck__body {
  min-height: 0;
}

/* --- Cursor-style account bar (top strip; .pilot-card kept for shared chrome / takeover) --- */
.account-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 12px;
  min-width: 0;
  padding: 10px 12px;
}

.account-bar__main {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.account-bar__identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.account-bar__avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0a0e16;
  background: linear-gradient(145deg, #f0d78c 0%, #c9a43a 100%);
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.account-bar__id-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
}

.account-bar__email {
  font-size: var(--vr-text-md);
  font-weight: 600;
  color: #fff;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-bar__meta {
  font-size: var(--vr-text-sm);
  color: var(--vr-text-muted);
  text-shadow: var(--vr-text-halo);
  font-weight: 500;
  margin: 0;
  line-height: 1.45;
}

.account-bar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 1 auto;
  min-width: 0;
}

/* Smaller, single-line labels — do not match full-width generic .pilot-btn (44px / all-caps) */
.account-bar__action.pilot-btn {
  flex: 0 1 auto;
  min-width: 0;
  width: auto;
  min-height: 30px;
  padding: 4px 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.1;
  white-space: nowrap;
  text-transform: uppercase;
  box-sizing: border-box;
}

html[data-surface="panel"] .account-bar__action.pilot-btn--primary {
  flex: 0 1 auto;
  min-width: 4.5rem;
  max-width: 120px;
}

.account-bar--signed-out {
  flex-direction: column;
  align-items: stretch;
}

.account-bar__signed-out-main {
  min-width: 0;
}

.account-bar__signed-out-title {
  margin: 0 0 4px;
  font-size: var(--vr-text-md);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.account-bar__signed-out-hint {
  margin: 0;
  font-size: var(--vr-text-sm);
  line-height: 1.5;
  color: var(--vr-text-muted);
}

.account-bar__signed-out-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.account-bar__signed-out-actions .pilot-btn {
  flex: 1 1 120px;
  min-height: 40px;
}

@media (max-width: 420px) {
  .account-bar__actions {
    width: 100%;
    justify-content: stretch;
  }

  .account-bar__action.pilot-btn {
    flex: 1 1 5rem;
    min-width: 0;
  }
}

.pilot-card {
  background-color: rgba(6, 10, 18, 0.82);
  background-image: var(--vr-bg-card);
  border: 1px solid var(--vr-border);
  border-radius: var(--r-lg);
  padding: 10px 10px 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* Account bar uses its own padding; do not double with base .pilot-card */
.account-bar.pilot-card {
  padding: 10px 12px 10px;
}

.pilot-card__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pilot-card__email {
  font-size: var(--vr-text-md);
  font-weight: 600;
  color: #fff;
  word-break: break-all;
}

.pilot-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: var(--vr-text-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pilot-badge--free {
  border: 1px solid var(--vr-gold-dim);
  color: var(--vr-warn);
  background: rgba(255, 209, 102, 0.08);
}

.pilot-badge--pro {
  border: 1px solid rgba(125, 255, 178, 0.4);
  color: var(--vr-mint);
  background: rgba(125, 255, 178, 0.08);
}

.pilot-meta {
  font-size: var(--vr-text-sm);
  color: var(--vr-text-muted);
  text-shadow: var(--vr-text-halo);
  font-weight: 500;
  margin: 0 0 8px;
  line-height: 1.5;
}

.pilot-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pilot-btn-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  width: 100%;
}

.pilot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  min-width: 0;
  padding: 8px 8px;
  border-radius: var(--r-lg);
  font-family: var(--font-ui);
  font-size: var(--vr-text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color 0.18s ease, background 0.18s ease, filter 0.18s ease, opacity 0.18s ease, transform 0.2s var(--vr-ease-out), box-shadow 0.2s ease;
}

html[data-surface="panel"] .pilot-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  html[data-surface="panel"] .pilot-btn:hover {
    transform: none;
  }
}

.pilot-btn:focus {
  outline: none;
}

.pilot-btn:focus-visible {
  outline: 2px solid rgba(212, 175, 55, 0.55);
  outline-offset: 2px;
}

.pilot-btn--primary {
  color: #0a0a0a;
  background: linear-gradient(180deg, var(--vr-gold) 0%, #b8942d 100%);
  border-color: rgba(255, 255, 255, 0.1);
}

.pilot-btn--primary:hover {
  filter: brightness(1.06);
}

.pilot-btn--ghost {
  color: var(--vr-gold-dim);
  background: linear-gradient(180deg, rgba(80, 65, 20, 0.35) 0%, rgba(8, 10, 16, 0.55) 100%);
  border-color: rgba(212, 175, 55, 0.4);
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.pilot-btn--ghost:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.5);
}

.pilot-btn--quiet {
  color: rgba(225, 232, 240, 0.92);
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.12);
  font-weight: 600;
  text-shadow: var(--vr-text-halo);
}

.pilot-btn--quiet:hover {
  color: var(--vr-text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.pilot-unsigned {
  text-align: left;
}

.pilot-unsigned .pilot-btn--primary {
  width: 100%;
  min-height: var(--btn-height-lg);
  margin-top: 2px;
}

.pilot-unsigned__head {
  font-size: var(--vr-text-md);
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px;
}

.pilot-unsigned__hint {
  font-size: var(--vr-text-sm);
  color: var(--vr-text-muted);
  text-shadow: var(--vr-text-halo);
  line-height: 1.5;
  margin: 0 0 8px;
  font-weight: 500;
}

.session-hint {
  margin: 0;
  font-size: var(--vr-text-sm);
  line-height: 1.5;
  color: var(--vr-text-muted);
  text-shadow: var(--vr-text-halo);
  font-weight: 500;
}

.output-head {
  margin: 4px 0 8px;
}

.output-head__title {
  margin: 0;
  font-size: var(--vr-text-xs);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vr-gold-dim);
  text-shadow: var(--vr-text-halo);
}

.output-head__sub {
  margin: 2px 0 0;
  font-size: var(--vr-text-xs);
  line-height: 1.45;
  color: var(--vr-text-faint);
  text-shadow: var(--vr-text-halo);
  max-width: 36em;
  font-weight: 500;
}

.command-deck {
  position: relative;
  background-color: rgba(6, 10, 18, 0.82);
  background-image: var(--vr-bg-card);
  border: 1px solid var(--vr-border);
  border-radius: var(--r-lg);
  padding: 12px 12px 14px;
  margin-bottom: var(--stack-gap);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.command-deck::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--vr-gold) 20%, var(--vr-gold-bright) 50%, var(--vr-gold) 80%, transparent);
  opacity: 0.9;
  pointer-events: none;
}

.command-deck__label {
  margin: 0 0 8px;
  font-size: var(--vr-text-lg);
  font-weight: 700;
  color: #fafcff;
  letter-spacing: -0.02em;
}

.command-deck__hint {
  margin: 0 0 12px;
  font-size: var(--vr-text-sm);
  line-height: 1.55;
  color: var(--vr-text-muted);
  text-shadow: var(--vr-text-halo);
  max-width: 48em;
  font-weight: 500;
}

.command-deck__try {
  margin: 0;
  font-size: var(--vr-text-sm);
  line-height: 1.55;
  color: var(--vr-text-faint);
  text-shadow: var(--vr-text-halo);
  max-width: 48em;
  font-weight: 500;
}

.vr-legend {
  margin: var(--stack-gap) 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--r);
  background: rgba(2, 3, 6, 0.62);
  font-size: var(--vr-text-sm);
  line-height: 1.55;
  color: var(--vr-text-muted);
  text-shadow: var(--vr-text-halo);
  font-weight: 500;
}

.vr-legend summary {
  cursor: pointer;
  color: rgba(240, 215, 150, 0.95);
  text-shadow: var(--vr-text-halo);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.vr-legend ul {
  margin: 8px 0 0 1.1em;
  padding: 0;
}

.vr-legend li {
  margin: 0.4em 0;
}

.vr-legend strong {
  color: var(--vr-gold);
  font-weight: 700;
}

.command-deck__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.command-deck__cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 100%;
}

.command-deck__input-label {
  font-size: var(--vr-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(240, 215, 150, 0.95);
  text-shadow: var(--vr-text-halo);
}

.command-deck__input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(212, 175, 55, 0.32);
  background: rgba(0, 0, 0, 0.58);
  color: var(--vr-text);
  font-family: var(--font-mono);
  font-size: var(--vr-text-sm);
  outline: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  transition: border-color 0.12s, box-shadow 0.12s;
}

.command-deck__input::placeholder {
  color: rgba(200, 210, 220, 0.7);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.85);
}

.command-deck__input:focus {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.18);
}

.command-deck__run {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 52px;
  width: 100%;
  padding: 10px 16px 11px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-ui);
  color: #0c0c0c;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(255, 246, 207, 0.95) 0%, #d6b454 36%, #9a741e 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 38%, rgba(0, 0, 0, 0.16));
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 214, 0.82),
    inset 0 -1px 0 rgba(66, 42, 4, 0.5),
    0 6px 20px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  transition: filter 0.2s ease, transform 0.2s var(--vr-ease-out), box-shadow 0.2s ease;
}

.command-deck__run:focus {
  outline: none;
}

.command-deck__run:focus-visible {
  outline: 2px solid rgba(240, 215, 140, 0.9);
  outline-offset: 3px;
}

.command-deck__run-text {
  position: relative;
  z-index: 1;
  font-size: var(--vr-text-md);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.command-deck__run-sub {
  position: relative;
  z-index: 1;
  font-size: var(--vr-text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(12, 12, 12, 0.72);
}

.command-deck__run-glow {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.38), transparent 42%),
    linear-gradient(110deg, transparent 0%, rgba(255, 249, 220, 0.16) 42%, transparent 58%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.32;
}

@media (prefers-reduced-motion: no-preference) {
  .command-deck__run .command-deck__run-glow {
    animation: station-cta-breathe 3.2s ease-in-out infinite;
  }
}

.command-deck__run:hover {
  filter: brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 214, 0.92),
    inset 0 -1px 0 rgba(66, 42, 4, 0.52),
    0 10px 28px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(240, 215, 140, 0.18);
}

@media (prefers-reduced-motion: no-preference) {
  .command-deck__run:hover {
    transform: translateY(-1px);
    transition: filter 0.2s ease, transform 0.2s var(--vr-ease-out), box-shadow 0.2s ease;
  }
}

.command-deck__run:active {
  filter: brightness(0.95);
}

.results-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (prefers-reduced-motion: no-preference) {
  .results-stack .deck-card {
    animation: station-card-in var(--vr-t-card-in) var(--vr-ease-out) both;
  }

  .results-stack .deck-card:nth-child(1) {
    animation-delay: 0.02s;
  }

  .results-stack .deck-card:nth-child(2) {
    animation-delay: 0.05s;
  }

  .results-stack .deck-card:nth-child(3) {
    animation-delay: 0.08s;
  }

  .results-stack .deck-card:nth-child(4) {
    animation-delay: 0.11s;
  }

  .results-stack .deck-card:nth-child(5) {
    animation-delay: 0.14s;
  }

  .results-stack .deck-card:nth-child(6) {
    animation-delay: 0.17s;
  }

  .results-stack .deck-card:nth-child(7) {
    animation-delay: 0.2s;
  }

  .results-stack .deck-card:nth-child(8) {
    animation-delay: 0.22s;
  }

  .results-stack .deck-card:nth-child(n + 9) {
    animation-delay: 0.24s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .results-stack .deck-card {
    animation: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .results-stack.results-stack--updated .deck-card__body {
    animation: station-readout-flash 0.36s var(--vr-ease-out);
  }
}

@media (prefers-reduced-motion: reduce) {
  .results-stack.results-stack--updated .deck-card__body {
    animation: none;
  }
}

.deck-card {
  background-color: rgba(6, 10, 18, 0.82);
  background-image: var(--vr-bg-card);
  border: 1px solid rgba(122, 184, 212, 0.14);
  border-radius: var(--r);
  padding: 8px 10px 10px;
  transition: border-color 0.12s, box-shadow 0.12s;
}

html[data-surface="panel"] .deck-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(212, 175, 55, 0.1);
}

@media (prefers-reduced-motion: no-preference) {
  html[data-surface="panel"] .deck-card:hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-surface="panel"] .deck-card:hover {
    transform: none;
  }
}

.deck-card--coach,
.deck-card--next-move {
  border-left: 3px solid var(--vr-gold);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.1) 0%, transparent 42%),
    var(--vr-bg-card);
}

html[data-surface="panel"] .results-stack .deck-card--coach,
html[data-surface="panel"] .results-stack .deck-card--next-move {
  min-height: 0;
}

.deck-card--files {
  border-left: 3px solid var(--vr-cyan);
}

.deck-card--status {
  border-color: rgba(212, 175, 55, 0.2);
}

.deck-card__title {
  margin: 0 0 6px;
  font-size: var(--vr-text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(220, 228, 236, 0.92);
  text-shadow: var(--vr-text-halo);
}

.deck-card__blurb {
  margin: 0 0 8px;
  font-size: var(--vr-text-xs);
  line-height: 1.5;
  font-weight: 500;
  color: var(--vr-text-faint);
  text-shadow: var(--vr-text-halo);
  letter-spacing: 0.02em;
}

.deck-card__sub {
  margin: 0 0 6px;
  font-size: var(--vr-text-xs);
  line-height: 1.4;
  font-weight: 600;
  color: rgba(210, 218, 230, 0.88);
  text-shadow: var(--vr-text-halo);
}

.deck-card__body {
  font-size: var(--vr-text-md);
  line-height: 1.55;
  color: var(--vr-text);
  font-family: var(--font-ui);
}

.deck-card__body code,
.deck-card__body .file-path {
  font-family: var(--font-mono);
  font-size: var(--vr-text-sm);
}

.deck-card__body--tall {
  min-height: 2.5rem;
}

.deck-card__body--tall:empty::before,
.deck-card__body:empty::before {
  color: rgba(200, 210, 220, 0.7);
  font-size: var(--vr-text-sm);
  font-style: italic;
  content: '—';
  text-shadow: var(--vr-text-halo);
  opacity: 0.9;
}

.signal-line {
  display: block;
  font-size: var(--vr-text-md);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.signal-line--stable {
  color: var(--vr-mint);
}
.signal-line--drifting {
  color: var(--vr-warn);
}
.signal-line--chaos {
  color: var(--vr-danger);
}

.signal-reason {
  font-size: var(--vr-text-sm);
  color: var(--vr-text-muted);
  line-height: 1.5;
  font-weight: 500;
  text-shadow: var(--vr-text-halo);
  text-transform: none;
  letter-spacing: normal;
}

.status-momentum {
  margin-top: 8px;
  font-size: var(--vr-text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--vr-cyan);
  text-shadow: var(--vr-text-halo);
}

.stream-row,
.file-row,
.opt-row,
.spec-line,
.ghost-line {
  margin: 0.25rem 0;
  font-size: var(--vr-text-sm);
  color: rgba(228, 234, 242, 0.95);
  text-shadow: var(--vr-text-halo);
  line-height: 1.45;
}

.station-primary-btn {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: var(--r);
  font-family: var(--font-ui);
  font-size: var(--vr-text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  color: #0a0a0a;
  background: linear-gradient(180deg, var(--vr-gold) 0%, #b8942d 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mission Control: dense readout layer for scan states and production gaps. */
[hidden] {
  display: none !important;
}

.mc-state {
  width: 100%;
  min-width: 0;
  color: var(--vr-text);
}

.mc-state--idle,
.mc-state--scanning,
.mc-state--results {
  background-color: rgba(5, 9, 16, 0.76);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0) 46%),
    var(--vr-bg-card);
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.32), 0 1px 0 rgba(255, 255, 255, 0.045) inset;
  overflow: hidden;
}

.mc-state--idle,
.mc-state--scanning {
  padding: 12px;
}

.mc-idle__hero {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 3px 0 1px;
}

.mc-idle__tagline {
  margin: 0;
  color: #fafcff;
  font-size: var(--vr-text-md);
  font-weight: 780;
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-shadow: var(--vr-text-halo);
}

.mc-idle__sub {
  margin: 0;
  max-width: 42em;
  color: var(--vr-text-muted);
  font-size: var(--vr-text-sm);
  font-weight: 500;
  line-height: 1.5;
  text-shadow: var(--vr-text-halo);
}

.mc-state--scanning {
  display: grid;
  gap: 10px;
}

.mc-scan-loader {
  display: grid;
  gap: 10px;
  width: min(250px, 72vw);
  margin: 2px auto 0;
  filter: drop-shadow(0 0 24px rgba(32, 214, 237, 0.16));
}

.mc-scan-loader__frame {
  position: relative;
  display: block;
  height: 108px;
  overflow: hidden;
  border: 1px solid rgba(86, 231, 248, 0.34);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(86, 231, 248, 0.18), transparent 34%, rgba(93, 240, 175, 0.1)),
    linear-gradient(180deg, rgba(4, 22, 31, 0.9), rgba(2, 10, 16, 0.74));
  box-shadow:
    inset 0 1px 0 rgba(236, 253, 255, 0.12),
    inset 0 0 34px rgba(32, 214, 237, 0.08),
    0 0 0 1px rgba(2, 10, 16, 0.62);
}

.mc-scan-loader__frame::before,
.mc-scan-loader__frame::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 999px;
  background: rgba(142, 240, 255, 0.28);
}

.mc-scan-loader__frame::before {
  top: 16px;
  box-shadow: 0 24px rgba(142, 240, 255, 0.14), 0 48px rgba(142, 240, 255, 0.2), 0 72px rgba(142, 240, 255, 0.12);
}

.mc-scan-loader__frame::after {
  top: 28px;
  width: 42%;
  background: rgba(93, 240, 175, 0.42);
  box-shadow: 96px 24px rgba(86, 231, 248, 0.2), 44px 48px rgba(93, 240, 175, 0.18);
}

.mc-scan-loader__grid {
  position: absolute;
  inset: 0;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(86, 231, 248, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 231, 248, 0.1) 1px, transparent 1px);
  background-size: 100% 18px, 22px 100%;
}

.mc-scan-loader__sweep {
  position: absolute;
  inset: -32% 0 auto;
  height: 44%;
  background:
    linear-gradient(180deg, transparent, rgba(142, 240, 255, 0.24) 42%, rgba(93, 240, 175, 0.22) 54%, transparent);
  border-bottom: 1px solid rgba(142, 240, 255, 0.58);
  transform: translateY(-110%);
}

.mc-scan-loader__spark {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #8ef0ff;
  box-shadow: 0 0 14px rgba(142, 240, 255, 0.68);
  opacity: 0;
}

.mc-scan-loader__spark--a {
  left: 22%;
  top: 26%;
}

.mc-scan-loader__spark--b {
  right: 24%;
  bottom: 26%;
  background: #5df0af;
  box-shadow: 0 0 14px rgba(93, 240, 175, 0.62);
}

.mc-scan-loader__rows {
  display: grid;
  gap: 6px;
  padding: 0 6px;
}

.mc-scan-loader__rows span {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(86, 231, 248, 0.22), rgba(142, 240, 255, 0.64), rgba(93, 240, 175, 0.18));
  transform-origin: left center;
}

.mc-scan-loader__rows span:nth-child(2) {
  width: 78%;
}

.mc-scan-loader__rows span:nth-child(3) {
  width: 52%;
}

.mc-scan__readout {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.mc-scan__label {
  margin: 0;
  color: var(--vr-gold-dim);
  font-family: var(--font-mono);
  font-size: var(--vr-text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
  text-shadow: var(--vr-text-halo);
}

@media (prefers-reduced-motion: no-preference) {
  .mc-scan-loader__sweep {
    animation: scan-loader-sweep 1.65s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  }

  .mc-scan-loader__grid {
    animation: scan-loader-grid 2.4s linear infinite;
  }

  .mc-scan-loader__spark--a {
    animation: scan-loader-spark 1.65s ease-out infinite;
  }

  .mc-scan-loader__spark--b {
    animation: scan-loader-spark 1.65s ease-out infinite;
    animation-delay: -0.78s;
  }

  .mc-scan-loader__rows span {
    animation: scan-loader-row 1.35s ease-in-out infinite;
  }

  .mc-scan-loader__rows span:nth-child(2) {
    animation-delay: -0.24s;
  }

  .mc-scan-loader__rows span:nth-child(3) {
    animation-delay: -0.48s;
  }
}

@keyframes scan-loader-sweep {
  0% {
    transform: translateY(-120%);
    opacity: 0;
  }

  18%,
  78% {
    opacity: 1;
  }

  100% {
    transform: translateY(330%);
    opacity: 0;
  }
}

@keyframes scan-loader-grid {
  to {
    background-position: 0 18px, 22px 0;
  }
}

@keyframes scan-loader-spark {
  0%,
  34%,
  100% {
    transform: scale(0.6);
    opacity: 0;
  }

  46% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes scan-loader-row {
  0%,
  100% {
    transform: scaleX(0.64);
    opacity: 0.42;
  }

  50% {
    transform: scaleX(1);
    opacity: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mc-scan-loader__sweep,
  .mc-scan-loader__grid,
  .mc-scan-loader__spark,
  .mc-scan-loader__rows span {
    animation: none !important;
  }
}

.mc-bar-track {
  position: relative;
  width: 100%;
  height: 9px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 999px;
  background: rgba(1, 4, 10, 0.72);
}

.mc-bar-track--results {
  height: 8px;
  border-color: rgba(122, 184, 212, 0.18);
}

.mc-bar-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8d7628 0%, var(--vr-gold) 58%, var(--vr-gold-bright) 100%);
  transition: width 0.34s var(--vr-ease-out), background 0.2s ease;
}

.mc-bar-fill--green,
.mc-bar-fill.is-green,
.mc-bar-fill.green {
  background: linear-gradient(90deg, #315f45 0%, var(--vr-mint) 100%);
}

.mc-bar-fill--amber,
.mc-bar-fill.is-amber,
.mc-bar-fill.amber {
  background: linear-gradient(90deg, #7c5625 0%, var(--vr-warn) 100%);
}

.mc-state--results {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.studio-verification {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(86, 231, 248, 0.26);
  border-radius: 12px;
  background:
    radial-gradient(circle at 0% 0%, rgba(86, 231, 248, 0.12), transparent 42%),
    rgba(2, 12, 18, 0.72);
}

.studio-verification__title {
  margin: 0;
  color: rgba(250, 253, 255, 0.96);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
}

.studio-wiring__summary,
.studio-wiring__confirmed {
  margin: 0;
  color: rgba(214, 232, 238, 0.82);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.studio-wiring__summary {
  color: rgba(250, 253, 255, 0.9);
}

.studio-wiring__confirmed {
  padding-top: 2px;
  color: rgba(174, 205, 218, 0.78);
}

.studio-wiring__confirmed-details {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding-top: 2px;
  color: rgba(174, 205, 218, 0.82);
}

.studio-wiring__confirmed-details summary {
  cursor: pointer;
  color: rgba(174, 205, 218, 0.86);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.studio-wiring__confirmed-details[open] summary {
  color: rgba(96, 242, 184, 0.94);
}

.studio-verification__group {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(86, 231, 248, 0.14);
  border-radius: 10px;
  background: rgba(1, 8, 13, 0.52);
}

.studio-verification__group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: rgba(96, 242, 184, 0.96);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.studio-verification__count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(96, 242, 184, 0.14);
  color: #d9fff2;
  font-size: 11px;
  font-weight: 950;
}

.studio-verification__group--missing .studio-verification__group-title {
  color: rgba(255, 202, 91, 0.98);
}

.studio-verification__group--missing {
  border-color: rgba(255, 202, 91, 0.2);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 202, 91, 0.1), transparent 36%),
    rgba(16, 11, 3, 0.46);
}

.studio-verification__group--missing .studio-verification__count {
  background: rgba(255, 202, 91, 0.16);
  color: #ffe6a6;
}

.studio-verification__group--external .studio-verification__group-title {
  color: rgba(86, 231, 248, 0.96);
}

.studio-verification__group--external {
  border-color: rgba(86, 231, 248, 0.22);
  background:
    radial-gradient(circle at 0% 0%, rgba(86, 231, 248, 0.09), transparent 34%),
    rgba(2, 13, 18, 0.48);
}

.studio-verification__group--external .studio-verification__count {
  background: rgba(86, 231, 248, 0.14);
  color: #d7fbff;
}

.studio-verification__group--manual .studio-verification__group-title {
  color: rgba(174, 205, 218, 0.96);
}

.studio-verification__group--manual {
  border-color: rgba(174, 205, 218, 0.16);
}

.studio-verification__group--manual .studio-verification__count {
  background: rgba(174, 205, 218, 0.12);
  color: #e5f6ff;
}

.studio-verification__list {
  min-width: 0;
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.studio-verification__item {
  position: relative;
  min-width: 0;
  padding-left: 17px;
  color: #fbfeff;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.studio-verification__item-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.studio-verification__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(96, 242, 184, 0.95);
  box-shadow: 0 0 10px rgba(96, 242, 184, 0.3);
}

.studio-verification__group--missing .studio-verification__item::before {
  background: rgba(255, 202, 91, 0.98);
  box-shadow: 0 0 10px rgba(255, 202, 91, 0.24);
}

.studio-verification__group--external .studio-verification__item::before {
  background: rgba(86, 231, 248, 0.94);
  box-shadow: 0 0 10px rgba(86, 231, 248, 0.28);
}

.studio-verification__group--manual .studio-verification__item::before {
  background: rgba(174, 205, 218, 0.84);
  box-shadow: none;
}

.studio-verification__item--more {
  color: rgba(198, 218, 226, 0.74);
}

.studio-verification__group-note {
  margin: 0;
  color: rgba(198, 218, 226, 0.78);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.studio-verification__group--mismatch {
  border-color: rgba(248, 113, 113, 0.34);
  background:
    radial-gradient(circle at 0% 0%, rgba(248, 113, 113, 0.1), transparent 36%),
    rgba(18, 5, 5, 0.44);
}

.studio-verification__group--mismatch .studio-verification__group-title {
  color: rgba(255, 172, 162, 0.96);
}

.studio-verification__group--mismatch .studio-verification__count {
  background: rgba(248, 113, 113, 0.16);
  color: #ffe1de;
}

.studio-verification__item--diff {
  display: grid;
  gap: 3px;
}

.studio-verification__diff-line {
  min-width: 0;
  display: block;
  color: rgba(214, 232, 238, 0.76);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.studio-mismatch-card {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(7, 16, 23, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.72);
  color: #111827;
}

.studio-mismatch-card__head {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #071017;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.studio-mismatch-card__count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #111827;
  color: #fffdf7;
  font-family: var(--font-mono);
  font-size: 10px;
}

.studio-mismatch-card__note {
  margin: 0;
  color: #64748b;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.35;
}

.studio-mismatch-card__list,
.studio-mismatch-card__row {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.studio-mismatch-card__row {
  padding-top: 8px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.studio-mismatch-card__title {
  color: #334155;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
}

.studio-mismatch-card__comparison {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.studio-mismatch-card__side {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 8px;
  border-radius: 9px;
  background: rgba(15, 23, 42, 0.04);
}

.studio-mismatch-card__side b {
  color: #0f172a;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.studio-mismatch-card__side em {
  min-width: 0;
  color: #475569;
  font-size: 10px;
  font-style: normal;
  font-weight: 760;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.studio-mismatch-card__side--repo {
  background: rgba(16, 185, 129, 0.09);
}

.studio-mismatch-card__side--live {
  background: rgba(125, 183, 232, 0.16);
}

.studio-provider-readiness__meters {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(86, 231, 248, 0.14);
  border-radius: 10px;
  background: rgba(1, 8, 13, 0.48);
}

.studio-provider-readiness__meter-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(86px, auto) minmax(72px, 1fr) minmax(52px, auto);
  align-items: center;
  gap: 8px;
  color: rgba(236, 253, 255, 0.9);
  font-size: 11px;
  font-weight: 850;
}

.studio-provider-readiness__meter-row > span:first-child,
.studio-provider-readiness__meter-row strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-provider-readiness__meter-row strong {
  justify-self: end;
  max-width: 76px;
  color: #fbfeff;
  font-family: var(--font-mono);
  font-size: 10px;
}

.studio-provider-readiness__bar {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(174, 205, 218, 0.16);
}

.studio-provider-readiness__bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #10b981;
}

.studio-mission-graph {
  gap: 14px;
  padding: 12px;
  border-color: rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.studio-mission-card {
  min-width: 0;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(7, 16, 23, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.72);
  color: #111827;
  box-shadow: none;
  text-shadow: none;
}

.studio-mission-card__title {
  margin: 0;
  color: #071017;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0;
}

.studio-mission-card__meters {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.studio-mission-card__meter-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(76px, auto) minmax(72px, 1fr) auto;
  align-items: center;
  gap: 10px;
  color: #071017;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.2;
}

.studio-mission-card__meter-label,
.studio-mission-card__meter-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-mission-card__meter-value {
  justify-self: end;
  font-weight: 950;
}

.studio-mission-card__meter {
  display: block;
  width: 100%;
  min-width: 64px;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(7, 16, 23, 0.1);
}

.studio-mission-card__meter-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #10b981;
}

.studio-mission-card__meter-row--provider .studio-mission-card__meter-fill {
  background: #7db7e8;
}

.studio-mission-card__note {
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.58);
  color: #334155;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.studio-mission-card__check-list {
  min-width: 0;
  display: grid;
  gap: 9px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.studio-mission-card__check {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 4px;
  padding-left: 16px;
}

.studio-mission-card__check::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #10b981;
}

.studio-mission-card__check--missing::before {
  background: #f59e0b;
}

.studio-mission-card__check--live::before {
  background: #7db7e8;
}

.studio-mission-card__check-label {
  min-width: 0;
  color: #334155;
  font-size: 11px;
  font-weight: 780;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.studio-mission-card__check-status {
  min-width: 0;
  display: grid;
  place-items: center;
  min-height: 20px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  font-family: var(--font-mono);
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 4px 8px;
  text-transform: uppercase;
}

.studio-mission-card__check--missing .studio-mission-card__check-status {
  background: rgba(245, 158, 11, 0.14);
  color: #92400e;
}

.studio-mission-card__check--live .studio-mission-card__check-status {
  background: rgba(125, 183, 232, 0.22);
  color: #0369a1;
}

.studio-sifg-evidence {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(86, 231, 248, 0.3);
  border-radius: 12px;
  background:
    radial-gradient(circle at 0% 0%, rgba(86, 231, 248, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(2, 18, 24, 0.78), rgba(5, 9, 14, 0.74));
}

.studio-sifg-evidence__title {
  margin: 0;
  color: rgba(236, 253, 255, 0.98);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.studio-sifg-evidence__item {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.studio-sifg-evidence__summary,
.studio-sifg-evidence__action {
  margin: 0;
  color: rgba(226, 242, 248, 0.86);
  font-size: 12px;
  font-weight: 820;
  line-height: 1.45;
}

.studio-sifg-evidence__paths {
  min-width: 0;
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.studio-sifg-evidence__path {
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 7px 8px;
  border: 1px solid rgba(86, 231, 248, 0.18);
  border-radius: 8px;
  background: rgba(1, 8, 13, 0.6);
  color: #fbfeff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
}

.studio-sifg-evidence__action {
  padding-top: 2px;
  color: rgba(255, 226, 166, 0.92);
}

.mc-state--results-error {
  border-color: rgba(255, 120, 100, 0.35);
  box-shadow:
    0 8px 26px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 120, 100, 0.12) inset;
}

.mc-error {
  border-radius: var(--r);
  border: 1px solid rgba(255, 130, 110, 0.45);
  background: linear-gradient(165deg, rgba(48, 14, 14, 0.55) 0%, rgba(6, 8, 14, 0.88) 100%);
  padding: 10px 11px 11px;
  margin: 0 0 2px;
}

.mc-error__inner {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.mc-error__title {
  margin: 0;
  font-size: var(--vr-text-sm);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 200, 190, 0.98);
  text-shadow: var(--vr-text-halo);
}

.mc-error__reason {
  margin: 0;
  font-size: var(--vr-text-sm);
  font-weight: 600;
  line-height: 1.45;
  color: rgba(248, 240, 236, 0.96);
  text-shadow: var(--vr-text-halo);
  overflow-wrap: anywhere;
}

.mc-error__impact {
  margin: 0;
  font-size: var(--vr-text-xs);
  font-weight: 600;
  line-height: 1.45;
  color: var(--vr-text-muted);
  text-shadow: var(--vr-text-halo);
  overflow-wrap: anywhere;
}

.mc-error__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 2px;
}

.mc-error__retry {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 200, 160, 0.45);
  font-family: var(--font-ui);
  font-size: var(--vr-text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  color: rgba(12, 8, 8, 0.92);
  background: linear-gradient(180deg, #f0c4b8 0%, #d47868 100%);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
  touch-action: manipulation;
  transition: filter 0.18s ease, transform 0.18s var(--vr-ease-out);
}

.mc-error__retry:hover:not(:disabled) {
  filter: brightness(1.06);
}

.mc-error__retry:focus {
  outline: none;
}

.mc-error__retry:focus-visible {
  outline: 2px solid rgba(255, 210, 190, 0.85);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .mc-error__retry:active:not(:disabled) {
    transform: translateY(1px);
  }
}

.mc-score-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 6px 10px;
  align-items: center;
  min-width: 0;
}

.mc-score-pct {
  color: #fafcff;
  font-family: var(--font-mono);
  font-size: clamp(28px, 10vw, 46px);
  font-weight: 850;
  letter-spacing: -0.08em;
  line-height: 0.92;
  text-shadow: var(--vr-text-halo);
}

.mc-score-label {
  min-width: 0;
  color: var(--vr-gold-dim);
  font-size: var(--vr-text-xs);
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
  text-shadow: var(--vr-text-halo);
}

.mc-rescan-btn {
  align-self: center;
  min-height: 32px;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: var(--vr-text-xs);
  transition: transform 0.16s var(--vr-ease-out), background 0.16s ease, opacity 0.16s ease;
}

.mc-rescan-btn:hover:not(:disabled) {
  background: linear-gradient(180deg, rgba(86, 70, 28, 0.66) 0%, rgba(5, 9, 16, 0.92) 100%);
}

.mc-rescan-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.mc-rescan-btn:focus {
  outline: none;
}

.mc-rescan-btn:focus-visible {
  outline: 2px solid rgba(240, 215, 140, 0.72);
  outline-offset: 2px;
}

.mc-status-line {
  margin: 0;
  color: var(--vr-text-muted);
  font-size: var(--vr-text-sm);
  font-weight: 600;
  line-height: 1.45;
  text-shadow: var(--vr-text-halo);
}

.mc-score-hint {
  margin: 6px 0 0;
  color: var(--vr-text-faint);
  font-size: var(--vr-text-xs);
  font-weight: 500;
  line-height: 1.45;
  text-shadow: var(--vr-text-halo);
  max-width: 44em;
}

.mc-last-scanned {
  margin: 4px 0 0 8px;
  color: var(--vr-text-soft);
  font-size: var(--vr-text-xs);
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

/* Glass cockpit cards (after base .ide-toolbar / .command-deck / .pilot-card so tints win) */
html[data-surface="panel"] .ide-toolbar,
html[data-surface="panel"] .command-deck,
html[data-surface="panel"] .pilot-deck .pilot-card,
html[data-surface="panel"] .mc-session .pilot-card {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.06) 0%, transparent 48%),
    rgba(5, 10, 20, 0.72);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(212, 175, 55, 0.16) inset;
  border: 1px solid rgba(212, 175, 55, 0.32);
}

html[data-surface="panel"] .vr-legend {
  max-width: 40rem;
  margin-inline: auto;
}

html[data-surface="sidebar"] .ide-toolbar,
html[data-surface="sidebar"] .command-deck,
html[data-surface="sidebar"] .pilot-deck .pilot-card,
html[data-surface="sidebar"] .mc-session .pilot-card {
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
}

/* --- Keyframes (panel polish) --- */
@keyframes station-ambient-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes station-ambient-in-sidebar {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes station-card-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes station-readout-flash {
  0% {
    opacity: 0.55;
  }
  100% {
    opacity: 1;
  }
}

@keyframes station-cta-breathe {
  0%,
  100% {
    opacity: 0.28;
  }
  50% {
    opacity: 0.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .command-deck__run .command-deck__run-glow {
    animation: none !important;
    opacity: 0.38;
  }

  .command-deck__run:hover {
    transform: none;
  }
}

/* Readout: next move + story scannability */
.next-move-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.next-move-text {
  margin: 0;
  font-size: var(--vr-text-md);
  font-weight: 600;
  line-height: 1.5;
  color: var(--vr-gold-bright);
  text-shadow: var(--vr-text-halo);
}

.next-move-hint {
  margin: 0;
  font-size: var(--vr-text-sm);
  line-height: 1.45;
  font-weight: 500;
  color: var(--vr-text-faint);
  text-shadow: var(--vr-text-halo);
}

.station-readout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
}

.station-action-btn {
  appearance: none;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 10px;
  min-height: 30px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--vr-gold-dim);
  background: linear-gradient(180deg, rgba(60, 48, 20, 0.55) 0%, rgba(4, 8, 14, 0.9) 100%);
  border: 1px solid rgba(212, 175, 55, 0.38);
  text-shadow: var(--vr-text-halo);
  transition: border-color 0.15s ease, background 0.15s ease, filter 0.12s ease;
}

.station-action-btn:hover:not(:disabled) {
  border-color: rgba(240, 215, 140, 0.5);
  filter: brightness(1.06);
}

.station-action-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.station-action-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  filter: none;
}

.station-action-btn--compact {
  padding: 4px 8px;
  min-height: 26px;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.station-action-btn--block {
  display: block;
  width: 100%;
  margin-bottom: 2px;
}

.coach-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coach-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.32fr) minmax(0, 1fr);
  gap: 8px 12px;
  align-items: start;
  padding: 8px 0;
  border-top: 1px solid rgba(122, 184, 212, 0.1);
}

.coach-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.coach-row__label {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vr-gold-dim);
  text-shadow: var(--vr-text-halo);
}

.coach-row__body {
  min-width: 0;
  color: var(--vr-text);
  font-size: var(--vr-text-sm);
  line-height: 1.48;
  text-shadow: var(--vr-text-halo);
}

.coach-row:nth-child(2) .coach-row__body {
  color: var(--vr-gold-bright);
  font-weight: 720;
}

.coach-missing-list {
  margin: 0;
  padding-left: 16px;
}

.coach-missing-list li + li {
  margin-top: 4px;
}

.coach-prompt-preview {
  margin: 0;
  max-height: 5.6rem;
  overflow: auto;
  padding: 8px 9px;
  border-radius: 9px;
  color: rgba(229, 235, 242, 0.92);
  background: rgba(1, 4, 10, 0.42);
  border: 1px solid rgba(122, 184, 212, 0.12);
  font-family: var(--font-ui);
  white-space: pre-wrap;
}

.coach-actions {
  padding-top: 2px;
}

.command-deck__run--running {
  cursor: progress;
  filter: saturate(0.95) brightness(1.03);
}

.command-deck__run--running .command-deck__run-glow {
  opacity: 0.9;
}

@media (max-width: 560px) {
  .coach-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.spec-update-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 13rem;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.spec-update-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 10px;
  margin: 0 0 2px;
}

.spec-update-toolbar__label {
  flex: 1;
  min-width: 8rem;
  font-size: var(--vr-text-sm);
  font-weight: 600;
  line-height: 1.4;
  color: rgba(210, 218, 230, 0.9);
  text-shadow: var(--vr-text-halo);
}

.options-block__hint {
  font-style: normal;
  line-height: 1.45;
  color: rgba(200, 210, 220, 0.9);
  text-shadow: var(--vr-text-halo);
}

.stream-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.station-read-as {
  margin: 0;
  color: var(--vr-text-muted);
  font-size: var(--vr-text-sm);
  font-weight: 600;
  line-height: 1.45;
  text-shadow: var(--vr-text-halo);
}

.stream-block__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stream-block__label {
  font-size: var(--vr-text-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vr-gold-dim);
  text-shadow: var(--vr-text-halo);
}

.stream-block__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  line-height: 1.35;
}

.stream-pill {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: var(--vr-text-sm);
  font-weight: 650;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.22);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Scan summary stack tags — soft tinted chips on dark (cycles for long lists) */
.stream-block__pills .stream-pill:nth-child(7n + 1) {
  background: linear-gradient(165deg, rgba(180, 83, 9, 0.22), rgba(8, 10, 16, 0.92));
  border-color: rgba(253, 186, 116, 0.32);
  color: rgba(255, 247, 237, 0.94);
}

.stream-block__pills .stream-pill:nth-child(7n + 2) {
  background: linear-gradient(165deg, rgba(16, 185, 129, 0.18), rgba(8, 10, 16, 0.92));
  border-color: rgba(52, 211, 153, 0.3);
  color: rgba(236, 253, 245, 0.94);
}

.stream-block__pills .stream-pill:nth-child(7n + 3) {
  background: linear-gradient(165deg, rgba(124, 58, 237, 0.2), rgba(8, 10, 16, 0.92));
  border-color: rgba(196, 181, 253, 0.32);
  color: rgba(245, 243, 255, 0.94);
}

.stream-block__pills .stream-pill:nth-child(7n + 4) {
  background: linear-gradient(165deg, rgba(14, 165, 233, 0.18), rgba(8, 10, 16, 0.92));
  border-color: rgba(125, 211, 252, 0.3);
  color: rgba(240, 249, 255, 0.94);
}

.stream-block__pills .stream-pill:nth-child(7n + 5) {
  background: linear-gradient(165deg, rgba(219, 39, 119, 0.16), rgba(8, 10, 16, 0.92));
  border-color: rgba(251, 207, 232, 0.28);
  color: rgba(255, 241, 242, 0.94);
}

.stream-block__pills .stream-pill:nth-child(7n + 6) {
  background: linear-gradient(165deg, rgba(202, 138, 4, 0.2), rgba(8, 10, 16, 0.92));
  border-color: rgba(253, 224, 71, 0.3);
  color: rgba(255, 251, 235, 0.94);
}

.stream-block__pills .stream-pill:nth-child(7n + 7) {
  background: linear-gradient(165deg, rgba(6, 182, 212, 0.18), rgba(8, 10, 16, 0.92));
  border-color: rgba(165, 243, 252, 0.28);
  color: rgba(236, 254, 255, 0.94);
}

.stream-block__list {
  margin: 0;
  padding-left: 1.1em;
  color: var(--vr-text-muted);
  font-size: var(--vr-text-sm);
}

.stream-block__impact {
  margin: 0;
  font-size: var(--vr-text-sm);
  color: var(--vr-text-muted);
}

.stream-block__impact strong {
  color: var(--vr-text);
  font-weight: 600;
}

.stream-block__confidence {
  margin: 0;
  font-size: var(--vr-text-xs);
  color: var(--vr-text-faint);
  text-transform: capitalize;
}

.file-row--pulse {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0.35rem 0;
}

.file-row--pulse .file-path {
  flex: 1 1 40%;
  min-width: 0;
}

.heat-badge {
  display: inline-block;
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-ui);
  border: 1px solid transparent;
}

.heat-badge--hot {
  color: #1a0a0a;
  background: linear-gradient(180deg, #f0a050 0%, #c45a28 100%);
  border-color: rgba(255, 200, 140, 0.4);
}

.heat-badge--warm {
  color: #0a0a12;
  background: linear-gradient(180deg, #e8c878 0%, #a88430 100%);
  border-color: rgba(255, 220, 150, 0.35);
}

.heat-badge--cool {
  color: #e4eaf0;
  background: rgba(30, 45, 70, 0.65);
  border-color: rgba(122, 184, 212, 0.35);
}

.file-pulse-block .file-path {
  display: inline-block;
  min-width: 0;
  word-break: break-all;
}

.options-list {
  margin: 0;
  padding-left: 1.1em;
  color: var(--vr-text);
  font-size: var(--vr-text-sm);
  line-height: 1.5;
}

.options-list .opt-row {
  margin: 0.35em 0;
  font-size: var(--vr-text-sm);
  font-weight: 500;
}

/* Dense cards: scroll instead of stretching the whole panel */
html[data-surface="panel"] [data-section='stream'].deck-card__body,
html[data-surface="panel"] [data-section='file-pulse'].deck-card__body {
  max-height: 14rem;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

/* ─── Mission Control v3 (three-level hierarchy) ─────────────────────────── */
.mc-score-row--v3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.mc-score-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.mc-score-strip__title {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}

/* Big % uses UI numerals; band color reads from the bar + status pill, not here */
.mc-score-pct.mc3-score-pct {
  font-family: var(--font-ui), system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f4f7fc;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.55),
    0 2px 18px rgba(0, 0, 0, 0.45);
}

.mc3-score-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 5px 14px;
  margin: 0;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
  color: rgba(255, 250, 245, 0.92);
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.mc3-score-label.mc3-band--0 {
  color: #fecaca !important;
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(40, 12, 12, 0.55);
}
.mc3-score-label.mc3-band--40 {
  color: #fde68a !important;
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(40, 28, 8, 0.55);
}
.mc3-score-label.mc3-band--70 {
  color: #fde68a !important;
  border-color: rgba(212, 160, 23, 0.5);
  background: rgba(40, 28, 8, 0.55);
}
.mc3-score-label.mc3-band--90 {
  color: #bbf7d0 !important;
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(8, 32, 18, 0.55);
}

/* Ring / small tiles still use compact band tokens */
.mc3-band--0 {
  color: #ef4444 !important;
}
.mc3-band--40 {
  color: #f59e0b !important;
}
.mc3-band--70 {
  color: #d4a017 !important;
}
.mc3-band--90 {
  color: #4ade80 !important;
}

.mc3-results-track {
  height: 7px;
  margin-top: 12px;
  width: 100%;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.mc3-results-fill {
  height: 100%;
  border-radius: inherit;
  background: #f59e0b;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.mc3-results-fill.mc3-band--0 {
  background: #ef4444;
}
.mc3-results-fill.mc3-band--40 {
  background: #f59e0b;
}
.mc3-results-fill.mc3-band--70 {
  background: #d4a017;
}
.mc3-results-fill.mc3-band--90 {
  background: #4ade80;
}

.mc-status-bundle {
  margin: 6px 0 0;
  min-width: 0;
}

.mc-status-line__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.mc-status-line--v3 {
  margin: 0;
  max-width: 100%;
  min-width: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.5),
    0 2px 14px rgba(0, 0, 0, 0.35);
}

.mc3-plan-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.mc3-plan-pill {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.22);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Mission-control tool tags — soft tint on shared dark base (aligned with stream pills) */
.mc3-plan-pills .mc3-plan-pill:nth-child(7n + 1) {
  background: linear-gradient(165deg, rgba(180, 83, 9, 0.22), rgba(8, 10, 16, 0.92));
  border-color: rgba(253, 186, 116, 0.32);
  color: rgba(255, 247, 237, 0.94);
}

.mc3-plan-pills .mc3-plan-pill:nth-child(7n + 2) {
  background: linear-gradient(165deg, rgba(16, 185, 129, 0.18), rgba(8, 10, 16, 0.92));
  border-color: rgba(52, 211, 153, 0.3);
  color: rgba(236, 253, 245, 0.94);
}

.mc3-plan-pills .mc3-plan-pill:nth-child(7n + 3) {
  background: linear-gradient(165deg, rgba(124, 58, 237, 0.2), rgba(8, 10, 16, 0.92));
  border-color: rgba(196, 181, 253, 0.32);
  color: rgba(245, 243, 255, 0.94);
}

.mc3-plan-pills .mc3-plan-pill:nth-child(7n + 4) {
  background: linear-gradient(165deg, rgba(14, 165, 233, 0.18), rgba(8, 10, 16, 0.92));
  border-color: rgba(125, 211, 252, 0.3);
  color: rgba(240, 249, 255, 0.94);
}

.mc3-plan-pills .mc3-plan-pill:nth-child(7n + 5) {
  background: linear-gradient(165deg, rgba(219, 39, 119, 0.16), rgba(8, 10, 16, 0.92));
  border-color: rgba(251, 207, 232, 0.28);
  color: rgba(255, 241, 242, 0.94);
}

.mc3-plan-pills .mc3-plan-pill:nth-child(7n + 6) {
  background: linear-gradient(165deg, rgba(202, 138, 4, 0.2), rgba(8, 10, 16, 0.92));
  border-color: rgba(253, 224, 71, 0.3);
  color: rgba(255, 251, 235, 0.94);
}

.mc3-plan-pills .mc3-plan-pill:nth-child(7n + 7) {
  background: linear-gradient(165deg, rgba(6, 182, 212, 0.18), rgba(8, 10, 16, 0.92));
  border-color: rgba(165, 243, 252, 0.28);
  color: rgba(236, 254, 255, 0.94);
}

.mc3-plan-pills .mc3-plan-pill:hover {
  filter: brightness(1.06);
}

.mc3-overview {
  margin-top: 4px;
  min-width: 0;
}

#mc-production-map.mc3-overview {
  padding: 12px 12px 11px;
}

.mc3-dim-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

@media (min-width: 420px) {
  .mc3-dim-grid {
    gap: 12px;
  }
}

/* Tactical HUD tiles — depth, ring progress, explicit “Open” affordance */
.mc3-provider-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-width: 0;
  width: max-content;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(212, 175, 55, 0.08);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
  color: rgba(240, 215, 140, 0.96);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mc3-provider-chip.mc3-plan-pill {
  max-width: min(100%, 160px);
  cursor: default;
}

.mc3-plan-pills .mc3-provider-chip.mc3-plan-pill:hover {
  filter: none;
}

.mc3-prompt-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.mc3-prompt-modal[hidden] {
  display: none !important;
}

.mc3-prompt-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 10, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.mc3-prompt-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: min(36rem, 100%);
  max-height: min(78dvh, 32rem);
  min-height: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 18, 0.95);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.mc3-prompt-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.mc3-prompt-modal__title {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.mc3-prompt-modal__close {
  appearance: none;
  margin: 0;
  padding: 2px 8px 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-size: 1.2rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.mc3-prompt-modal__close:hover {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
}

.mc3-prompt-modal__pre {
  margin: 0;
  padding: 12px 16px 14px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(250, 248, 255, 0.94);
  white-space: pre-wrap;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
}

.mc3-prompt-modal__foot {
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.mc3-prompt-modal__copy {
  appearance: none;
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  box-sizing: border-box;
  border-radius: 9px;
  border: 1px solid rgba(200, 180, 120, 0.36);
  background: rgba(32, 28, 20, 0.55);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 240, 210, 0.95);
  cursor: pointer;
}

.mc3-prompt-modal__copy:hover {
  border-color: rgba(220, 200, 150, 0.45);
  background: rgba(40, 34, 24, 0.75);
}

.mc3-prompt-modal__copy:focus-visible {
  outline: 2px solid rgba(200, 180, 120, 0.45);
  outline-offset: 2px;
}

/* Raven product visual pass v2: landing-like glass — white/stone structure, gold only on CTAs + hairlines */
.cockpit-hero,
.command-deck,
.mc-state--scanning,
.mc-score-row--v3,
.mc-status-bundle,
.mc-spec-notes,
.mc3-prompt-modal__panel {
  border: 1px solid var(--vr-line);
  background: linear-gradient(165deg, var(--vr-surface-elevated) 0%, rgba(5, 5, 7, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 14px 40px rgba(0, 0, 0, 0.48);
}

.mc-production-map,
#mc-production-map.mc3-overview {
  border: 1px solid var(--vr-line);
  background: linear-gradient(165deg, rgba(12, 12, 15, 0.9) 0%, rgba(5, 5, 7, 0.94) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(212, 175, 55, 0.14),
    0 18px 44px rgba(0, 0, 0, 0.5);
}

.station-action-btn,
.mc3-chip-btn,
.mc3-prompt-modal__copy {
  border-color: rgba(212, 175, 55, 0.32);
  background: linear-gradient(165deg, rgba(22, 20, 18, 0.9) 0%, rgba(8, 7, 6, 0.95) 100%);
  color: var(--vr-ink);
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.station-action-btn:hover:not(:disabled),
.mc3-chip-btn:hover,
.mc3-prompt-modal__copy:hover {
  border-color: rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.1);
  color: #fffdf6;
}

/* Legacy 2-col map cards — frosted charcoal, not gold wash */
.mc-production-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(18, 18, 22, 0.92) 0%, rgba(8, 8, 10, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 6px 20px rgba(0, 0, 0, 0.4);
}

.mc-production-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(160deg, rgba(24, 24, 28, 0.95) 0%, rgba(10, 10, 12, 0.98) 100%);
}

.mc-production-card--selected {
  border-color: rgba(212, 175, 55, 0.45);
  background: linear-gradient(160deg, rgba(28, 24, 14, 0.95) 0%, rgba(10, 9, 6, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 202, 0.08),
    0 0 0 1px rgba(212, 175, 55, 0.2),
    0 10px 28px rgba(0, 0, 0, 0.45);
}

/* =============================================================================
   Raven ink hierarchy — Mission Map grid, sections, path rows (readable UI)
   Gold = accent + selection + primary buttons. Body = white/stone. Status = hue.
   ============================================================================= */

/* Studio cockpit */
.studio-shell {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background:
    radial-gradient(circle at 48% 8%, rgba(232, 189, 98, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(5, 5, 7, 0.98), rgba(2, 2, 3, 1));
  color: var(--vr-ink);
}

.studio-top-rail {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(232, 189, 98, 0.18);
  background: rgba(7, 7, 9, 0.92);
}

.studio-top-rail__build {
  color: rgba(232, 189, 98, 0.86);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-workspace {
  min-height: 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(300px, 360px);
  gap: 0;
  align-items: stretch;
}

.studio-nav-rail {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 9, 11, 0.9);
}

.studio-map-canvas {
  min-width: 0;
  min-height: 0;
  display: grid;
  align-items: stretch;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(232, 189, 98, 0.08), transparent 38%);
  background-size: 42px 42px, 42px 42px, auto;
}

.studio-setup-panel {
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  border-left: 1px solid rgba(232, 189, 98, 0.16);
  background: linear-gradient(180deg, rgba(14, 13, 11, 0.96), rgba(6, 6, 7, 0.98));
  overflow: auto;
}

.studio-setup-panel__inner,
.studio-setup-panel__empty {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.studio-setup-panel__inner {
  container-type: inline-size;
}

.studio-setup-panel__head {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(232, 189, 98, 0.16);
}

.studio-setup-panel__step,
.studio-setup-panel__eyebrow {
  margin: 0;
  color: rgba(232, 189, 98, 0.92);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.studio-setup-panel__title {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  color: rgba(255, 248, 230, 0.98);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
}

.studio-setup-panel__hint {
  min-width: 0;
  color: rgba(245, 242, 235, 0.78);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.studio-evidence-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-width: 0;
  min-height: 20px;
  margin-left: 4px;
  padding: 3px 7px;
  border: 1px solid rgba(232, 189, 98, 0.22);
  border-radius: 999px;
  background: rgba(232, 189, 98, 0.07);
  color: rgba(255, 244, 202, 0.86);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}

.studio-evidence-badge--repo {
  border-color: rgba(110, 207, 154, 0.22);
  background: rgba(110, 207, 154, 0.08);
  color: rgba(205, 255, 226, 0.82);
}

.studio-evidence-badge--external {
  border-color: rgba(232, 189, 98, 0.28);
  background: rgba(232, 189, 98, 0.09);
}

.studio-evidence-badge--missing {
  border-color: rgba(245, 158, 11, 0.28);
  background: rgba(245, 158, 11, 0.1);
  color: rgba(255, 237, 213, 0.9);
}

.studio-evidence-badge--manual {
  border-color: rgba(245, 242, 235, 0.16);
  background: rgba(245, 242, 235, 0.055);
  color: rgba(245, 242, 235, 0.72);
}

.studio-setup-panel__close {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(232, 189, 98, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 242, 235, 0.78);
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.studio-choice-list {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.studio-choice-tile {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(232, 189, 98, 0.09), transparent 34%),
    linear-gradient(160deg, rgba(22, 23, 26, 0.98), rgba(9, 9, 11, 0.99));
  color: rgba(245, 242, 235, 0.92);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.studio-choice-tile:hover,
.studio-choice-tile:focus-visible {
  border-color: rgba(232, 189, 98, 0.42);
  outline: none;
}

.studio-choice-tile--selected {
  border-color: rgba(232, 189, 98, 0.64);
  background:
    radial-gradient(circle at 0% 0%, rgba(232, 189, 98, 0.18), transparent 38%),
    linear-gradient(160deg, rgba(32, 26, 15, 0.98), rgba(9, 9, 11, 0.99));
}

.studio-choice-tile__icon {
  grid-column: 1;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid rgba(32, 214, 237, 0.24);
  background: rgba(32, 214, 237, 0.1);
  color: rgba(230, 251, 255, 0.94);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

.provider-logo svg,
.studio-choice-tile__icon svg,
.studio-node__logo svg {
  display: block;
  width: 76%;
  height: 76%;
  fill: currentColor;
}

.provider-logo--brand svg {
  fill: currentColor;
}

.provider-logo--cloudflare svg {
  width: 24px;
  height: 24px;
  transform: scale(1.12);
  transform-origin: center;
}

.studio-choice-tile__icon.provider-logo--cloudflare svg {
  width: 26px;
  height: 26px;
}

.studio-node__logo.provider-logo--cloudflare svg,
.mc3-provider-tile__icon.provider-logo--cloudflare svg {
  width: 26px;
  height: 26px;
}

.provider-logo__img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

body.station-results-active .provider-logo:not(.provider-logo--brand) svg path:not([fill]),
body.station-results-active .studio-choice-tile__icon:not(.provider-logo--brand) svg path:not([fill]),
body.station-results-active .studio-node__logo:not(.provider-logo--brand) svg path:not([fill]) {
  fill: currentColor;
}

.provider-logo--supabase { --provider-color: #3ecf8e; --provider-glow: rgba(62, 207, 142, 0.34); }
.provider-logo--clerk { --provider-color: #6c47ff; --provider-glow: rgba(108, 71, 255, 0.34); }
.provider-logo--authjs { --provider-color: #ffffff; --provider-glow: rgba(255, 255, 255, 0.28); }
.provider-logo--neon { --provider-color: #00e599; --provider-glow: rgba(0, 229, 153, 0.34); }
.provider-logo--planetscale { --provider-color: #f4f7fb; --provider-glow: rgba(244, 247, 251, 0.24); }
.provider-logo--mongodb { --provider-color: #47a248; --provider-glow: rgba(71, 162, 72, 0.34); }
.provider-logo--turso { --provider-color: #4ff8d2; --provider-glow: rgba(79, 248, 210, 0.3); }
.provider-logo--stripe { --provider-color: #635bff; --provider-glow: rgba(99, 91, 255, 0.34); }
.provider-logo--paddle { --provider-color: #ff6a3d; --provider-glow: rgba(255, 106, 61, 0.34); }
.provider-logo--vercel { --provider-color: #ffffff; --provider-glow: rgba(255, 255, 255, 0.24); }
.provider-logo--netlify { --provider-color: #00c7b7; --provider-glow: rgba(0, 199, 183, 0.32); }
.provider-logo--aws { --provider-color: #ff9900; --provider-glow: rgba(255, 153, 0, 0.34); }
.provider-logo--sentry { --provider-color: #a855f7; --provider-glow: rgba(168, 85, 247, 0.34); }
.provider-logo--posthog { --provider-color: #f54e00; --provider-glow: rgba(245, 78, 0, 0.34); }
.provider-logo--playwright { --provider-color: #45ba4b; --provider-glow: rgba(69, 186, 75, 0.32); }
.provider-logo--logrocket { --provider-color: #ff2d55; --provider-glow: rgba(255, 45, 85, 0.34); }
.provider-logo--rate-limit { --provider-color: #00e9a3; --provider-glow: rgba(0, 233, 163, 0.32); }
.provider-logo--bot-protection { --provider-color: #f38020; --provider-glow: rgba(243, 128, 32, 0.34); }
.provider-logo--secrets-hygiene { --provider-color: #ffca5b; --provider-glow: rgba(255, 202, 91, 0.32); }
.provider-logo--figma { --provider-color: #ff7262; --provider-glow: rgba(255, 114, 98, 0.38); }
.provider-logo--storybook { --provider-color: #ff4785; --provider-glow: rgba(255, 71, 133, 0.36); }
.provider-logo--product-spec { --provider-color: #facc15; --provider-glow: rgba(250, 204, 21, 0.32); }
.provider-logo--route-map { --provider-color: #38bdf8; --provider-glow: rgba(56, 189, 248, 0.34); }
.provider-logo--react { --provider-color: #61dafb; --provider-glow: rgba(97, 218, 251, 0.38); }
.provider-logo--vue { --provider-color: #42b883; --provider-glow: rgba(66, 184, 131, 0.34); }
.provider-logo--svelte { --provider-color: #ff3e00; --provider-glow: rgba(255, 62, 0, 0.34); }
.provider-logo--angular { --provider-color: #dd0031; --provider-glow: rgba(221, 0, 49, 0.34); }
.provider-logo--nodejs { --provider-color: #83cd29; --provider-glow: rgba(131, 205, 41, 0.34); }
.provider-logo--python { --provider-color: #ffd43b; --provider-glow: rgba(255, 212, 59, 0.32); }
.provider-logo--rails { --provider-color: #cc0000; --provider-glow: rgba(204, 0, 0, 0.34); }
.provider-logo--go { --provider-color: #00add8; --provider-glow: rgba(0, 173, 216, 0.34); }
.provider-logo--testing-library { --provider-color: #e33332; --provider-glow: rgba(227, 51, 50, 0.36); }
.provider-logo--vitest { --provider-color: #fcc72b; --provider-glow: rgba(252, 199, 43, 0.34); }

.studio-choice-tile__icon.provider-logo,
.studio-node__logo.provider-logo {
  color: var(--provider-color, rgba(230, 251, 255, 0.94));
}

.studio-choice-tile__name {
  min-width: 0;
  grid-column: 2;
  overflow: hidden;
  color: rgba(255, 253, 247, 0.98);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-choice-tile__desc {
  min-width: 0;
  grid-column: 2;
  overflow: hidden;
  color: rgba(245, 242, 235, 0.64);
  font-size: 11px;
  font-weight: 720;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: normal;
}

.studio-choice-tile__status {
  display: block;
  grid-column: 2;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  color: rgba(232, 189, 98, 0.94);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.studio-choice-tile--in-project {
  border-color: rgba(93, 240, 175, 0.7);
  background:
    radial-gradient(circle at 0% 0%, rgba(93, 240, 175, 0.18), transparent 38%),
    linear-gradient(160deg, rgba(9, 43, 32, 0.94), rgba(4, 14, 14, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(206, 255, 232, 0.08),
    0 0 0 1px rgba(93, 240, 175, 0.12);
}

.studio-choice-tile--in-project .studio-choice-tile__icon {
  border-color: rgba(93, 240, 175, 0.78);
  background: rgba(93, 240, 175, 0.14);
  color: var(--provider-color, rgba(197, 255, 226, 0.98));
  box-shadow: 0 0 18px rgba(93, 240, 175, 0.18);
}

.studio-choice-tile--in-project .studio-choice-tile__status {
  display: block;
  color: rgba(111, 255, 190, 0.96);
}

.studio-choice-tile--repo-evidence {
  border-color: rgba(93, 240, 175, 0.28);
  background:
    radial-gradient(circle at 0% 0%, rgba(93, 240, 175, 0.08), transparent 34%),
    linear-gradient(160deg, rgba(20, 28, 25, 0.94), rgba(8, 10, 12, 0.98));
}

.studio-choice-tile--repo-evidence .studio-choice-tile__status {
  display: block;
  color: rgba(111, 255, 190, 0.78);
}

.studio-choice-tile--static {
  display: block;
  cursor: default;
}

@container (min-width: 430px) {
  .studio-choice-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-choice-tile {
    min-height: 94px;
    align-content: start;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
  }

  .studio-choice-tile__status {
    align-self: end;
  }
}

.studio-code-preview {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(232, 189, 98, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(232, 189, 98, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(13, 14, 16, 0.98), rgba(5, 5, 6, 0.99));
  box-shadow: inset 0 1px 0 rgba(255, 244, 202, 0.06);
}

.studio-code-preview--empty {
  padding: 12px;
  color: rgba(245, 242, 235, 0.58);
  font-size: 12px;
  font-weight: 760;
}

.studio-code-preview__chrome {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.studio-code-preview__dots {
  flex: 0 0 auto;
  display: inline-flex;
  gap: 5px;
}

.studio-code-preview__dots i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(232, 189, 98, 0.72);
  box-shadow: 0 0 10px rgba(232, 189, 98, 0.14);
}

.studio-code-preview__dots i:nth-child(2) {
  background: rgba(245, 242, 235, 0.42);
}

.studio-code-preview__dots i:nth-child(3) {
  background: rgba(110, 207, 154, 0.62);
}

.studio-code-preview__filename {
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 248, 230, 0.88);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-code-preview__body {
  min-width: 0;
  max-width: 100%;
  max-height: 156px;
  margin: 0;
  overflow-x: auto;
  overflow-y: auto;
  padding: 12px;
  color: rgba(245, 242, 235, 0.88);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 620;
  line-height: 1.55;
  white-space: pre;
}

.studio-setup-actions {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(32, 214, 237, 0.26);
  border-radius: 12px;
  background:
    radial-gradient(circle at 0% 0%, rgba(32, 214, 237, 0.16), transparent 42%),
    linear-gradient(150deg, rgba(7, 30, 38, 0.9), rgba(2, 9, 14, 0.94));
  box-shadow: inset 0 1px 0 rgba(198, 249, 255, 0.08);
}

.studio-setup-actions__head {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.studio-setup-actions__logo {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid color-mix(in srgb, var(--provider-color, #20d6ed) 48%, rgba(255, 255, 255, 0.18));
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--provider-color, #20d6ed);
}

.studio-setup-actions__title {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.studio-setup-actions__head strong {
  min-width: 0;
  overflow: hidden;
  color: #fbfeff;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-setup-actions__head span {
  color: rgba(126, 239, 255, 0.96);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.studio-setup-actions__copy {
  margin: 0;
  color: rgba(220, 244, 250, 0.76);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.35;
}

.studio-setup-actions__auth-note {
  margin: 0;
  padding: 9px 10px;
  border: 1px solid rgba(255, 202, 91, 0.2);
  border-radius: 10px;
  background: rgba(255, 202, 91, 0.07);
  color: #fff0bf;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
}

.studio-setup-actions__buttons {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.studio-setup-actions__mcp-row {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.studio-action-button {
  min-width: 0;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(116, 219, 236, 0.26);
  border-radius: 999px;
  background: rgba(1, 12, 18, 0.72);
  color: #effdff;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
}

.studio-action-button:hover,
.studio-action-button:focus-visible {
  border-color: rgba(86, 231, 248, 0.66);
  outline: none;
}

.studio-action-button--primary {
  border-color: rgba(142, 240, 255, 0.54);
  background: linear-gradient(90deg, #10aecd 0%, #28d4ee 62%, #8cf2ff 100%);
  color: #021016;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 24px rgba(32, 214, 237, 0.22);
}

.mcp-helper-modal[hidden] {
  display: none;
}

.mcp-helper-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
}

.mcp-helper-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(6px);
}

.mcp-helper-modal__panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  display: grid;
  gap: 14px;
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(32, 214, 237, 0.38);
  border-radius: 16px;
  background:
    radial-gradient(circle at 0% 0%, rgba(32, 214, 237, 0.18), transparent 42%),
    linear-gradient(150deg, rgba(5, 18, 26, 0.98), rgba(2, 6, 10, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(198, 249, 255, 0.08),
    0 28px 72px rgba(0, 0, 0, 0.62);
}

.mcp-helper-modal__head {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 12px;
  align-items: start;
}

.mcp-helper-modal__eyebrow {
  grid-column: 1;
  color: rgba(86, 231, 248, 0.96);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.mcp-helper-modal__title {
  grid-column: 1;
  margin: 0;
  color: #fbfeff;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.15;
}

.mcp-helper-modal__close {
  grid-column: 2;
  grid-row: 1 / 3;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(86, 231, 248, 0.28);
  border-radius: 9px;
  background: rgba(1, 12, 18, 0.72);
  color: #effdff;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
}

.mcp-helper-modal__steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px 12px 12px 28px;
  border: 1px solid rgba(255, 202, 91, 0.18);
  border-radius: 12px;
  background: rgba(255, 202, 91, 0.06);
  color: #fff7dc;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.mcp-helper-modal__code .studio-code-preview__body {
  max-height: 260px;
  color: #fbfeff;
  font-weight: 760;
}

.mcp-helper-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.studio-primary-action {
  min-width: 0;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 235, 174, 0.3);
  border-radius: 8px;
  background: linear-gradient(90deg, #8d7628 0%, var(--vr-gold) 58%, var(--vr-gold-bright) 100%);
  color: #171106;
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.02em;
  line-height: 1.15;
  overflow-wrap: anywhere;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 12px 24px rgba(0, 0, 0, 0.34);
}

.studio-primary-action:disabled,
.studio-primary-action--complete {
  border-color: rgba(232, 189, 98, 0.18);
  background: linear-gradient(90deg, rgba(75, 65, 36, 0.86), rgba(112, 94, 42, 0.9));
  color: rgba(255, 248, 226, 0.7);
  cursor: default;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.studio-next-step {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid rgba(110, 207, 154, 0.18);
  border-radius: 8px;
  background: rgba(110, 207, 154, 0.055);
}

.studio-next-step strong {
  color: rgba(212, 255, 229, 0.88);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.studio-next-step span {
  color: rgba(245, 242, 235, 0.66);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.studio-production-map,
#mc-production-map.mc3-overview {
  min-width: 0;
}

.studio-system-map {
  position: relative;
  min-height: 600px;
  display: grid;
  grid-template-rows: minmax(560px, 1fr);
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(232, 189, 98, 0.2);
  background:
    radial-gradient(circle at 50% 48%, rgba(232, 189, 98, 0.14), transparent 18%),
    radial-gradient(circle at 20% 20%, rgba(91, 205, 194, 0.08), transparent 25%),
    radial-gradient(circle at 80% 76%, rgba(248, 113, 113, 0.06), transparent 24%),
    linear-gradient(160deg, rgba(16, 16, 18, 0.98), rgba(5, 6, 8, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 18px 48px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.studio-node-layer {
  position: relative;
  min-height: 560px;
  max-width: 680px;
  width: min(100%, 680px);
  justify-self: center;
  overflow: hidden;
  border-radius: 16px;
}

.studio-connector-layer {
  position: absolute;
  inset: 32px;
  pointer-events: none;
  opacity: 0.5;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 88px, rgba(232, 189, 98, 0.26) 89px 90px, transparent 91px),
    linear-gradient(90deg, transparent 8%, rgba(232, 189, 98, 0.18) 49%, rgba(232, 189, 98, 0.18) 51%, transparent 92%),
    linear-gradient(180deg, transparent 10%, rgba(232, 189, 98, 0.14) 49%, rgba(232, 189, 98, 0.14) 51%, transparent 90%);
  mask-image: radial-gradient(circle at center, black, transparent 76%);
}

.studio-core-node {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 132px;
  height: 132px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border-radius: 999px;
  border: 1px solid rgba(232, 189, 98, 0.48);
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 233, 166, 0.24), transparent 42%),
    linear-gradient(180deg, rgba(42, 32, 13, 0.98), rgba(10, 10, 12, 0.99));
  color: rgba(255, 248, 226, 0.98);
  font: inherit;
  text-align: center;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 44px rgba(0, 0, 0, 0.48),
    0 0 0 10px rgba(232, 189, 98, 0.05);
}

.studio-core-node span {
  color: rgba(232, 189, 98, 0.92);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
}

.studio-core-node strong {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.studio-core-node small {
  color: rgba(245, 242, 235, 0.66);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.studio-node {
  position: absolute;
  z-index: 2;
  width: 94px;
  height: 94px;
  aspect-ratio: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  align-items: center;
  align-content: center;
  gap: 2px 6px;
  padding: 12px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(160deg, rgba(22, 23, 26, 0.96), rgba(8, 9, 11, 0.99));
  color: rgba(245, 242, 235, 0.96);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 12px 28px rgba(0, 0, 0, 0.34);
  transition:
    transform 170ms var(--vr-ease-out),
    border-color 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease,
    opacity 150ms ease;
}

.studio-node:hover {
  transform: translate(-50%, calc(-50% - 2px));
  border-color: rgba(232, 189, 98, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 16px 32px rgba(0, 0, 0, 0.36);
}

.studio-node:active {
  transform: translate(-50%, -50%) scale(0.988);
}

.studio-node:focus-visible,
.studio-core-node:focus-visible {
  outline: 2px solid rgba(232, 189, 98, 0.78);
  outline-offset: 3px;
}

.studio-node--selected {
  border-color: rgba(232, 189, 98, 0.66);
  background:
    radial-gradient(circle at 20% 10%, rgba(232, 189, 98, 0.18), transparent 42%),
    linear-gradient(160deg, rgba(30, 25, 16, 0.98), rgba(9, 9, 11, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 226, 0.1),
    0 0 0 1px rgba(232, 189, 98, 0.16),
    0 16px 36px rgba(0, 0, 0, 0.4);
}

.studio-node--critical {
  border-color: rgba(248, 113, 113, 0.58);
}

.studio-node--warning {
  border-color: rgba(245, 158, 11, 0.5);
}

.studio-node--sifg-leak {
  border-color: rgba(86, 231, 248, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(230, 251, 255, 0.12),
    0 0 0 1px rgba(86, 231, 248, 0.18),
    0 0 28px rgba(86, 231, 248, 0.2),
    0 12px 28px rgba(0, 0, 0, 0.34);
}

.studio-node--locked {
  opacity: 0.92;
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 226, 0.08),
    0 0 0 1px rgba(232, 189, 98, 0.18),
    0 0 26px rgba(232, 189, 98, 0.18),
    0 12px 28px rgba(0, 0, 0, 0.34);
}

.studio-node__lock {
  position: absolute;
  top: -7px;
  right: -7px;
  bottom: auto;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 18px;
  border-radius: 999px;
  padding: 0 7px;
  border: 1px solid rgba(255, 222, 118, 0.82);
  background: linear-gradient(180deg, rgba(255, 216, 92, 0.98), rgba(198, 132, 24, 0.96));
  color: #141007;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  box-shadow:
    0 0 0 2px rgba(6, 10, 15, 0.88),
    0 0 18px rgba(255, 198, 72, 0.45);
}

.studio-node__dot {
  grid-row: 1 / 3;
  width: 9px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: #d4af37;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

.studio-node--critical .studio-node__dot {
  background: #ef6f6f;
  box-shadow: 0 0 0 4px rgba(239, 111, 111, 0.13);
}

.studio-node--warning .studio-node__dot {
  background: #f0b94e;
  box-shadow: 0 0 0 4px rgba(240, 185, 78, 0.13);
}

.studio-node__logo {
  grid-row: 1 / 4;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(32, 214, 237, 0.24);
  background: rgba(32, 214, 237, 0.08);
  color: rgba(230, 251, 255, 0.9);
  font-size: 8px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 0 14px rgba(32, 214, 237, 0.1);
}

.studio-node--in-project {
  border-color: rgba(93, 240, 175, 0.66);
  background:
    radial-gradient(circle at 50% 0%, rgba(93, 240, 175, 0.18), transparent 48%),
    linear-gradient(160deg, rgba(7, 34, 28, 0.92), rgba(4, 10, 14, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(206, 255, 232, 0.1),
    0 0 0 1px rgba(93, 240, 175, 0.14),
    0 0 26px rgba(93, 240, 175, 0.16),
    0 12px 28px rgba(0, 0, 0, 0.34);
}

.studio-node--in-project .studio-node__logo {
  border-color: rgba(93, 240, 175, 0.72);
  background: rgba(93, 240, 175, 0.12);
  color: var(--provider-color, rgba(197, 255, 226, 0.98));
}

.studio-node--in-project .studio-node__provider,
.studio-node--in-project .studio-node__meta {
  color: rgba(111, 255, 190, 0.96);
}

.studio-node__title,
.studio-node__provider,
.studio-node__meta {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-node__title {
  color: rgba(255, 253, 247, 0.98);
  font-size: 10.5px;
  font-weight: 860;
  line-height: 1.05;
}

.studio-node__provider {
  color: rgba(245, 242, 235, 0.64);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.05;
}

.studio-node__meta {
  grid-column: 2;
  color: rgba(232, 189, 98, 0.9);
  font-size: 9px;
  font-weight: 850;
  line-height: 1.05;
}

.studio-node--appFlow { left: 22%; top: 18%; }
.studio-node--frontend { left: 50%; top: 12%; }
.studio-node--backend { left: 78%; top: 18%; }
.studio-node--auth { left: 14%; top: 38%; }
.studio-node--database { left: 50%; top: 32%; }
.studio-node--payments { left: 86%; top: 40%; }
.studio-node--deployment { left: 18%; top: 64%; }
.studio-node--monitoring { left: 50%; top: 68%; }
.studio-node--security { left: 82%; top: 64%; }
.studio-node--testing { left: 28%; top: 84%; }
.studio-node--landing { left: 50%; top: 88%; }
.studio-node--errorHandling { left: 72%; top: 84%; }

@media (max-width: 920px) {
  .studio-workspace {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .studio-map-canvas {
    grid-column: 2;
    grid-row: 1;
  }

  .studio-setup-panel {
    grid-column: 2;
    grid-row: 2;
    border-top: 1px solid rgba(232, 189, 98, 0.16);
    border-left: 0;
    overflow: visible;
  }

  .studio-system-map {
    min-height: 0;
    grid-template-rows: minmax(500px, auto);
  }

  .studio-node-layer {
    min-height: 500px;
  }
}

@media (max-width: 760px) {
  .studio-map-canvas {
    padding: 12px;
  }

  .studio-system-map {
    grid-template-rows: minmax(450px, auto);
  }

  .studio-node-layer {
    min-height: 450px;
  }

  .studio-core-node {
    width: 112px;
    height: 112px;
  }

  .studio-node {
    width: 84px;
    height: 84px;
    padding: 10px 8px;
  }

  .studio-node__title {
    font-size: 9.5px;
  }

  .studio-node__provider,
  .studio-node__meta {
    font-size: 8px;
  }

  .studio-node__lock {
    top: -6px;
    right: -6px;
  }
}

@media (max-width: 560px) {
  .studio-workspace {
    grid-template-columns: 1fr;
  }

  .studio-nav-rail {
    display: none;
  }

  .studio-map-canvas {
    grid-column: 1;
    grid-row: 1;
    padding: 10px;
  }

  .studio-setup-panel {
    grid-column: 1;
    grid-row: 2;
  }

  .studio-system-map {
    grid-template-rows: minmax(390px, auto);
  }

  .studio-node-layer {
    min-height: 390px;
  }

  .studio-connector-layer {
    inset: 20px;
  }

  .studio-core-node {
    width: 96px;
    height: 96px;
  }

  .studio-node {
    width: 68px;
    height: 68px;
    grid-template-columns: 8px minmax(0, 1fr);
    gap: 1px 4px;
    padding: 7px 6px;
  }

  .studio-node__dot {
    width: 7px;
  }

  .studio-node__title {
    font-size: 7.8px;
  }

  .studio-node__provider,
  .studio-node__meta {
    font-size: 6.8px;
  }

  .studio-node__lock {
    top: -5px;
    right: -5px;
    min-width: 24px;
    height: 16px;
    padding-inline: 5px;
    font-size: 7px;
  }

  .studio-node--appFlow { left: 18%; top: 18%; }
  .studio-node--backend { left: 82%; top: 18%; }
  .studio-node--auth { left: 14%; top: 40%; }
  .studio-node--payments { left: 86%; top: 40%; }
  .studio-node--deployment { left: 18%; top: 64%; }
  .studio-node--security { left: 82%; top: 64%; }
}

.mc-production-map {
  border-radius: 18px;
}

.mc-production-map__heading {
  border-bottom-color: var(--vr-line);
}

.mc-production-map__title {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--vr-ink);
  text-wrap: balance;
}

.mc-production-map__caption {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--vr-ink-muted);
}

#mc-production-map.mc3-overview {
  padding: 14px 14px 12px;
}

.mc3-dim-grid {
  gap: 11px;
}

/* HUD tiles: glass card + neutral chrome — gold only when selected / has-gaps / locked vault */
/* Interactive stack map final cascade. */
#mc-production-map.mc3-overview {
  padding: 14px;
}

.mc3-stack-map {
  position: relative;
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(120px, 0.72fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: repeat(4, minmax(104px, auto) minmax(0, auto));
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(232, 189, 98, 0.2);
  background:
    radial-gradient(circle at 50% 18%, rgba(232, 189, 98, 0.11), transparent 30%),
    radial-gradient(circle at 58% 54%, rgba(91, 205, 194, 0.065), transparent 35%),
    linear-gradient(165deg, rgba(17, 18, 22, 0.96), rgba(7, 8, 11, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 18px 44px rgba(0, 0, 0, 0.46);
  overflow: hidden;
}

.mc3-stack-map__connectors {
  position: absolute;
  inset: 18px;
  pointer-events: none;
  opacity: 0.42;
  background:
    linear-gradient(90deg, transparent 7%, rgba(232, 189, 98, 0.24) 8%, transparent 9%),
    linear-gradient(90deg, transparent 91%, rgba(232, 189, 98, 0.24) 92%, transparent 93%),
    linear-gradient(180deg, transparent 49%, rgba(232, 189, 98, 0.2) 50%, transparent 51%);
}

.mc3-stack-map__core {
  grid-area: core;
  align-self: center;
  justify-self: center;
  width: 100%;
  min-width: 0;
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  z-index: 1;
}

.mc3-stack-map__mark {
  color: rgba(232, 189, 98, 0.86);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.mc3-stack-map__core-block {
  width: 104px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border-radius: 20px;
  border: 1px solid rgba(232, 189, 98, 0.34);
  background:
    radial-gradient(circle at 50% 20%, rgba(232, 189, 98, 0.2), transparent 48%),
    linear-gradient(180deg, rgba(37, 31, 18, 0.94), rgba(12, 12, 14, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 34px rgba(0, 0, 0, 0.38);
}

.mc3-stack-map__core-score {
  display: block;
  color: rgba(255, 248, 226, 0.98);
  font-size: 26px;
  font-weight: 850;
  line-height: 1;
}

.mc3-stack-map__core-label {
  display: block;
  color: rgba(245, 242, 235, 0.62);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.mc3-stack-node {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: 104px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 11px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(168deg, rgba(21, 22, 26, 0.94), rgba(9, 10, 13, 0.98));
  color: rgba(245, 242, 235, 0.96);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 22px rgba(0, 0, 0, 0.32);
  transition:
    transform 170ms var(--vr-ease-out),
    border-color 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease,
    opacity 150ms ease;
}

.mc3-stack-node--appFlow { grid-area: appFlow; }
.mc3-stack-node--frontend { grid-area: frontend; }
.mc3-stack-node--backend { grid-area: backend; }
.mc3-stack-node--auth { grid-area: auth; }
.mc3-stack-node--database { grid-area: database; }
.mc3-stack-node--payments { grid-area: payments; }
.mc3-stack-node--security { grid-area: security; }
.mc3-stack-node--monitoring { grid-area: monitoring; }
.mc3-stack-node--deployment { grid-area: deployment; }
.mc3-stack-node--errorHandling { grid-area: error; }
.mc3-stack-node--landing { grid-area: landing; }
.mc3-stack-node--testing { grid-area: testing; }

.mc3-stack-node:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 189, 98, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 28px rgba(0, 0, 0, 0.32);
}

.mc3-stack-node:active {
  transform: translateY(0) scale(0.988);
}

.mc3-stack-node:focus-visible {
  outline: 2px solid rgba(232, 189, 98, 0.78);
  outline-offset: 3px;
}

.mc3-stack-node--expanded {
  border-color: rgba(232, 189, 98, 0.58);
  background:
    radial-gradient(circle at 18% 0%, rgba(232, 189, 98, 0.16), transparent 40%),
    linear-gradient(168deg, rgba(28, 25, 19, 0.96), rgba(10, 10, 12, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 226, 0.09),
    0 0 0 1px rgba(232, 189, 98, 0.14),
    0 16px 34px rgba(0, 0, 0, 0.38);
}

.mc3-stack-node--critical {
  border-color: rgba(248, 113, 113, 0.55);
}

.mc3-stack-node--warning {
  border-color: rgba(245, 158, 11, 0.48);
}

.mc3-stack-node--locked {
  opacity: 0.78;
  background: linear-gradient(168deg, rgba(24, 20, 15, 0.94), rgba(9, 8, 7, 0.99));
}

.mc3-stack-node__ring {
  width: 48px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #f5d079;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  background:
    radial-gradient(circle at center, rgba(6, 7, 10, 1) 55%, transparent 56%),
    conic-gradient(var(--mc3-ring-color, #f59e0b) calc(var(--mc3-ring-pct, 0) * 1%), rgba(255, 255, 255, 0.09) 0);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 6px 14px rgba(0, 0, 0, 0.28);
}

.mc3-stack-node__ring.mc3-band--0 {
  --mc3-ring-color: #ef4444;
}

.mc3-stack-node__ring.mc3-band--40 {
  --mc3-ring-color: #f59e0b;
}

.mc3-stack-node__ring.mc3-band--70 {
  --mc3-ring-color: #d4a017;
}

.mc3-stack-node__ring.mc3-band--90 {
  --mc3-ring-color: #4ade80;
}

@media (prefers-reduced-motion: no-preference) {
  .mc3-stack-node__ring--in {
    animation: mc3-dim-ring-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

@keyframes mc3-dim-ring-in {
  from {
    opacity: 0.2;
    transform: scale(0.86);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.mc3-stack-node__content,
.mc3-stack-node__provider {
  min-width: 0;
}

.mc3-stack-node__title {
  display: block;
  overflow: hidden;
  color: rgba(255, 253, 247, 0.98);
  font-size: 13px;
  font-weight: 820;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mc3-stack-node__meta {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: rgba(245, 242, 235, 0.62);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mc3-stack-node__provider {
  grid-column: 1 / -1;
  width: max-content;
  max-width: 100%;
}

.mc3-stack-node__lock {
  position: absolute;
  top: 8px;
  right: 8px;
  border-radius: 999px;
  padding: 3px 7px;
  border: 1px solid rgba(232, 189, 98, 0.28);
  background: rgba(232, 189, 98, 0.11);
  color: rgba(255, 239, 195, 0.92);
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
}

.mc3-stack-expanded {
  z-index: 3;
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(232, 189, 98, 0.28);
  background:
    radial-gradient(circle at 12% 0%, rgba(91, 205, 194, 0.1), transparent 34%),
    linear-gradient(168deg, rgba(24, 25, 29, 0.98), rgba(10, 11, 14, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 18px 38px rgba(0, 0, 0, 0.36);
}

.mc3-stack-expanded__head {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mc3-stack-expanded__title {
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 248, 230, 0.96);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mc3-stack-expanded__meta {
  flex: 0 0 auto;
  color: rgba(232, 189, 98, 0.9);
  font-size: 11px;
  font-weight: 820;
  line-height: 1.2;
  white-space: nowrap;
}

.mc3-provider-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mc3-provider-tile {
  min-width: 0;
  min-height: 50px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  color: rgba(245, 242, 235, 0.94);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    transform 150ms var(--vr-ease-out),
    border-color 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease,
    opacity 140ms ease;
}

.mc3-provider-tile:hover {
  transform: translateY(-1px);
  border-color: rgba(232, 189, 98, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
}

.mc3-provider-tile:focus-visible {
  outline: 2px solid rgba(232, 189, 98, 0.76);
  outline-offset: 2px;
}

.mc3-provider-tile:active {
  transform: translateY(0) scale(0.988);
}

.mc3-provider-tile--selected {
  border-color: rgba(91, 205, 194, 0.58);
  background:
    radial-gradient(circle at 8% 0%, rgba(91, 205, 194, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(91, 205, 194, 0.12);
}

.mc3-provider-tile__icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(242, 240, 232, 0.96);
  overflow: hidden;
}

.mc3-provider-tile__icon img {
  width: 18px;
  height: 18px;
}

.mc3-provider-tile__text {
  min-width: 0;
}

.mc3-provider-tile__name,
.mc3-provider-tile__desc,
.mc3-provider-tile__check {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mc3-provider-tile__name {
  font-size: 12px;
  font-weight: 820;
  line-height: 1.2;
}

.mc3-provider-tile__desc {
  margin-top: 2px;
  color: rgba(245, 242, 235, 0.62);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
}

.mc3-provider-tile__check {
  max-width: 58px;
  color: rgba(232, 189, 98, 0.9);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.2;
  text-align: right;
}

.mc3-provider-tile--selected .mc3-provider-tile__check {
  color: rgba(170, 255, 245, 0.94);
}

.mc3-stack-gap-list {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.mc3-stack-gap-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
}

.mc3-stack-gap-row__title {
  min-width: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.mc3-stack-gap-row__actions {
  display: flex;
  gap: 7px;
}

.mc3-stack-gap-row__button {
  appearance: none;
  min-width: 0;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 820;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 140ms var(--vr-ease-out),
    filter 140ms ease,
    border-color 140ms ease,
    opacity 140ms ease;
}

.mc3-stack-gap-row__button:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.mc3-stack-gap-row__button:active:not(:disabled) {
  transform: translateY(0) scale(0.988);
}

.mc3-stack-gap-row__button:focus-visible {
  outline: 2px solid rgba(232, 189, 98, 0.78);
  outline-offset: 2px;
}

.mc3-stack-gap-row__button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.mc3-stack-gap-row__button--copy {
  border-color: rgba(229, 189, 97, 0.75);
  background: linear-gradient(180deg, #f0c96f, #d4a54a);
  color: #17110a;
}

.mc3-stack-gap-row__button--chat {
  border-color: rgba(91, 205, 194, 0.35);
  background: linear-gradient(180deg, #23716d, #174c4e);
  color: #d9fffb;
}

.mc3-stack-gap-empty {
  padding: 10px;
  border-radius: 11px;
  border: 1px solid rgba(91, 205, 194, 0.24);
  background: rgba(91, 205, 194, 0.08);
  color: rgba(215, 255, 248, 0.9);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .mc3-stack-map {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto repeat(6, minmax(104px, auto) minmax(0, auto));
  }

  .mc3-stack-map__core {
    min-height: 136px;
  }

  .mc3-provider-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .mc3-stack-map {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto repeat(12, minmax(96px, auto) minmax(0, auto));
    padding: 10px;
  }

  .mc3-stack-map__connectors {
    display: none;
  }

  .mc3-stack-map__core {
    min-height: 120px;
  }

  .mc3-stack-expanded__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .mc3-stack-expanded__title,
  .mc3-stack-expanded__meta {
    max-width: 100%;
    white-space: normal;
  }

  .mc3-provider-tile-grid {
    grid-template-columns: 1fr;
  }

  .mc3-provider-tile__check {
    max-width: 96px;
  }

  .mc3-stack-gap-row {
    grid-template-columns: 1fr;
  }

  .mc3-stack-gap-row__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .mc3-stack-gap-row__button {
    width: 100%;
    padding-inline: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mc3-stack-node,
  .studio-node,
  .mc3-provider-tile,
  .studio-choice-tile,
  .studio-primary-action {
    transition: none !important;
  }

  .mc3-stack-node,
  .mc3-provider-tile {
    transform: none !important;
  }

  .studio-node:hover,
  .studio-node:active {
    transform: translate(-50%, -50%) !important;
  }
}

/* Mission map: cyan raven map, center terminal, right toggle dock. */
.studio-shell {
  background:
    radial-gradient(circle at 50% 42%, rgba(27, 205, 230, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(3, 8, 13, 0.99), rgba(1, 3, 6, 1));
}

.studio-top-rail {
  min-height: 42px;
  padding: 8px 14px;
  border-bottom-color: rgba(32, 214, 237, 0.16);
  background: rgba(3, 8, 13, 0.94);
}

.studio-top-rail__build,
.studio-top-rail__brand {
  color: rgba(63, 224, 244, 0.9);
}

.studio-workspace {
  position: relative;
  grid-template-columns: 52px minmax(0, 1fr);
}

.studio-nav-rail {
  border-right-color: rgba(32, 214, 237, 0.14);
  background: rgba(2, 7, 12, 0.94);
}

.studio-map-canvas {
  position: relative;
  padding: 0;
  background:
    radial-gradient(circle at 50% 52%, rgba(44, 220, 242, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(7, 18, 28, 0.8), rgba(2, 5, 9, 0.98));
  overflow: hidden;
}

.studio-score-row,
.studio-readiness-track,
.studio-status-bundle,
.studio-score-hint,
.studio-map-canvas > .mc3-plan-pills {
  display: none !important;
}

.studio-setup-panel {
  position: absolute;
  z-index: 8;
  right: 20px;
  top: 84px;
  bottom: 78px;
  width: min(320px, 30vw);
  min-width: 260px;
  max-width: calc(100% - 92px);
  border-left-color: rgba(32, 214, 237, 0.18);
  background: linear-gradient(180deg, rgba(3, 12, 18, 0.78), rgba(2, 5, 9, 0.92));
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.36);
}

.studio-setup-panel__inner,
.studio-setup-panel__empty {
  gap: 12px;
  padding: 14px;
}

.studio-setup-panel__head {
  border-bottom-color: rgba(32, 214, 237, 0.16);
}

.studio-setup-panel__step,
.studio-setup-panel__eyebrow {
  color: rgba(63, 224, 244, 0.92);
}

.studio-setup-panel__title {
  color: rgba(230, 251, 255, 0.98);
}

.studio-setup-panel__close,
.studio-evidence-badge {
  border-color: rgba(32, 214, 237, 0.24);
}

.studio-evidence-badge {
  background: rgba(32, 214, 237, 0.08);
  color: rgba(198, 249, 255, 0.86);
}

.studio-evidence-badge--external {
  border-color: rgba(32, 214, 237, 0.28);
  background: rgba(32, 214, 237, 0.09);
}

.studio-choice-tile {
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 9px 10px;
  border-color: rgba(104, 155, 173, 0.22);
  border-radius: 12px;
  background:
    radial-gradient(circle at 0% 0%, rgba(32, 214, 237, 0.1), transparent 34%),
    linear-gradient(160deg, rgba(13, 25, 33, 0.78), rgba(4, 9, 14, 0.9));
  color: rgba(230, 251, 255, 0.92);
}

.studio-choice-tile::before {
  content: none;
}

.studio-choice-tile::after {
  content: none;
}

.studio-choice-tile:hover,
.studio-choice-tile:focus-visible {
  border-color: rgba(32, 214, 237, 0.48);
}

.studio-choice-tile--selected {
  border-color: rgba(32, 214, 237, 0.68);
  background:
    radial-gradient(circle at 0% 0%, rgba(32, 214, 237, 0.2), transparent 38%),
    linear-gradient(160deg, rgba(12, 42, 51, 0.94), rgba(4, 10, 15, 0.96));
}

.studio-choice-tile--selected::after {
  content: none;
}

.studio-choice-tile__name,
.studio-choice-tile__desc {
  grid-column: 2;
}

.studio-choice-tile__name {
  color: rgba(230, 251, 255, 0.98);
}

.studio-choice-tile__desc {
  color: rgba(188, 221, 229, 0.64);
}

.studio-choice-tile__status {
  display: block;
  color: rgba(135, 212, 228, 0.82);
}

.studio-choice-tile--in-project {
  border-color: rgba(93, 240, 175, 0.7);
  background:
    radial-gradient(circle at 0% 0%, rgba(93, 240, 175, 0.18), transparent 38%),
    linear-gradient(160deg, rgba(8, 43, 34, 0.95), rgba(4, 14, 17, 0.98));
}

.studio-choice-tile--selected.studio-choice-tile--in-project {
  border-color: rgba(93, 240, 175, 0.92);
  background:
    radial-gradient(circle at 0% 0%, rgba(93, 240, 175, 0.24), transparent 40%),
    linear-gradient(160deg, rgba(8, 54, 40, 0.98), rgba(3, 20, 18, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(206, 255, 232, 0.11),
    0 0 0 1px rgba(93, 240, 175, 0.2),
    0 0 22px rgba(93, 240, 175, 0.18);
}

.studio-choice-tile--in-project .studio-choice-tile__icon {
  border-color: rgba(93, 240, 175, 0.76);
  background: rgba(93, 240, 175, 0.16);
  color: var(--provider-color, rgba(197, 255, 226, 0.98));
  box-shadow: 0 0 18px rgba(93, 240, 175, 0.2);
}

.studio-choice-tile--in-project .studio-choice-tile__status {
  display: block;
  color: rgba(111, 255, 190, 0.96);
}

.studio-choice-tile--repo-evidence {
  border-color: rgba(93, 240, 175, 0.3);
  background:
    radial-gradient(circle at 0% 0%, rgba(93, 240, 175, 0.08), transparent 34%),
    linear-gradient(160deg, rgba(17, 28, 25, 0.94), rgba(5, 11, 13, 0.98));
}

.studio-choice-tile--repo-evidence .studio-choice-tile__status {
  display: block;
  color: rgba(111, 255, 190, 0.8);
}

.studio-choice-tile--selected .studio-choice-tile__icon {
  border-color: rgba(86, 231, 248, 0.72);
  background: rgba(33, 199, 222, 0.24);
  box-shadow: 0 0 18px rgba(32, 214, 237, 0.22);
}

.studio-choice-tile--selected .studio-choice-tile__status {
  color: rgba(110, 235, 255, 0.96);
}

.studio-choice-tile--selected.studio-choice-tile--in-project .studio-choice-tile__icon {
  border-color: rgba(93, 240, 175, 0.82);
  background: rgba(93, 240, 175, 0.18);
  color: var(--provider-color, rgba(197, 255, 226, 0.98));
  box-shadow: 0 0 20px rgba(93, 240, 175, 0.22);
}

.studio-code-preview {
  border-color: rgba(32, 214, 237, 0.22);
  background:
    radial-gradient(circle at 12% 0%, rgba(32, 214, 237, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(6, 15, 22, 0.96), rgba(2, 6, 10, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(198, 249, 255, 0.07),
    0 22px 64px rgba(0, 0, 0, 0.46);
}

.studio-code-preview--center {
  position: absolute;
  left: 50%;
  top: 51%;
  z-index: 6;
  width: min(330px, 42%);
  transform: translate(-50%, -50%);
}

.studio-code-preview__dots i {
  background: rgba(241, 92, 92, 0.82);
  box-shadow: 0 0 10px rgba(32, 214, 237, 0.14);
}

.studio-code-preview__dots i:nth-child(2) {
  background: rgba(239, 196, 75, 0.72);
}

.studio-code-preview__dots i:nth-child(3) {
  background: rgba(90, 214, 154, 0.72);
}

.studio-code-preview__filename {
  color: rgba(198, 249, 255, 0.82);
}

.studio-code-preview__body {
  color: rgba(210, 246, 255, 0.88);
}

.studio-primary-action {
  border-color: rgba(142, 240, 255, 0.34);
  background: linear-gradient(90deg, #10aecd 0%, #28d4ee 62%, #8cf2ff 100%);
  color: #021016;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 0 28px rgba(32, 214, 237, 0.24),
    0 12px 24px rgba(0, 0, 0, 0.34);
}

.studio-primary-action:disabled,
.studio-primary-action--complete {
  border-color: rgba(32, 214, 237, 0.18);
  background: linear-gradient(90deg, rgba(19, 72, 82, 0.86), rgba(19, 103, 117, 0.9));
  color: rgba(210, 246, 255, 0.72);
}

.studio-next-step {
  border-color: rgba(32, 214, 237, 0.18);
  background: rgba(32, 214, 237, 0.055);
}

.studio-next-step strong {
  color: rgba(198, 249, 255, 0.88);
}

.studio-system-map {
  min-height: calc(100vh - 42px);
  grid-template-rows: minmax(640px, 1fr);
  padding: 0;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 49% 46%, rgba(32, 214, 237, 0.12), transparent 34%),
    linear-gradient(90deg, rgba(4, 10, 17, 0.88), rgba(4, 11, 18, 0.46)),
    var(--station-bg, none),
    linear-gradient(160deg, rgba(5, 12, 18, 0.98), rgba(1, 4, 8, 0.99));
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 140px rgba(0, 0, 0, 0.58);
}

.studio-node-layer {
  min-height: 640px;
  max-width: min(960px, calc(100vw - 92px));
  width: min(100%, 960px);
  border-radius: 0;
}

.studio-connector-layer {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 230px, rgba(32, 214, 237, 0.2) 231px 232px, transparent 233px),
    conic-gradient(from 10deg at 50% 50%, transparent 0 8%, rgba(32, 214, 237, 0.24) 9%, transparent 11% 23%, rgba(32, 214, 237, 0.18) 24%, transparent 26% 48%, rgba(32, 214, 237, 0.18) 49%, transparent 51% 73%, rgba(32, 214, 237, 0.22) 74%, transparent 76% 100%);
}

.studio-core-node {
  top: 27%;
  width: 108px;
  height: 108px;
  border-color: rgba(32, 214, 237, 0.62);
  background:
    radial-gradient(circle at 50% 22%, rgba(32, 214, 237, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(9, 35, 45, 0.8), rgba(3, 9, 14, 0.92));
  color: rgba(230, 251, 255, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 44px rgba(0, 0, 0, 0.48),
    0 0 34px rgba(32, 214, 237, 0.18);
}

.studio-core-node span,
.studio-node__meta {
  color: rgba(63, 224, 244, 0.92);
}

.studio-node {
  width: 74px;
  height: 74px;
  padding: 9px 8px;
  border-color: rgba(32, 214, 237, 0.2);
  background:
    radial-gradient(circle at 50% 0%, rgba(32, 214, 237, 0.16), transparent 48%),
    rgba(3, 11, 17, 0.78);
  color: rgba(230, 251, 255, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 22px rgba(32, 214, 237, 0.12),
    0 12px 28px rgba(0, 0, 0, 0.34);
}

.studio-node:hover {
  border-color: rgba(32, 214, 237, 0.54);
}

.studio-node--selected {
  border-color: rgba(32, 214, 237, 0.84);
  background:
    radial-gradient(circle at 50% 0%, rgba(32, 214, 237, 0.3), transparent 50%),
    rgba(3, 17, 24, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(230, 251, 255, 0.1),
    0 0 0 1px rgba(32, 214, 237, 0.2),
    0 0 28px rgba(32, 214, 237, 0.24),
    0 16px 36px rgba(0, 0, 0, 0.4);
}

.studio-node__dot {
  background: #28d4ee;
  box-shadow: 0 0 0 4px rgba(32, 214, 237, 0.12);
}

.studio-node__logo {
  border-color: rgba(32, 214, 237, 0.3);
  background: rgba(32, 214, 237, 0.1);
  color: rgba(230, 251, 255, 0.94);
}

.studio-node--in-project {
  border-color: rgba(93, 240, 175, 0.7);
  background:
    radial-gradient(circle at 50% 0%, rgba(93, 240, 175, 0.18), transparent 48%),
    rgba(3, 18, 15, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(206, 255, 232, 0.1),
    0 0 0 1px rgba(93, 240, 175, 0.14),
    0 0 26px rgba(93, 240, 175, 0.18),
    0 12px 28px rgba(0, 0, 0, 0.34);
}

.studio-node--in-project .studio-node__logo {
  border-color: rgba(93, 240, 175, 0.78);
  background: rgba(93, 240, 175, 0.16);
  color: var(--provider-color, rgba(197, 255, 226, 0.98));
  box-shadow: 0 0 18px var(--provider-glow, rgba(93, 240, 175, 0.2));
}

.studio-node--in-project .studio-node__provider,
.studio-node--in-project .studio-node__meta {
  color: rgba(111, 255, 190, 0.98);
}

.studio-node__title {
  color: rgba(230, 251, 255, 0.98);
  font-size: 9px;
}

.studio-node__provider {
  color: rgba(188, 221, 229, 0.66);
  font-size: 7.8px;
}

.studio-node__meta {
  font-size: 7.8px;
}

.studio-node--appFlow { left: 32%; top: 22%; }
.studio-node--frontend { left: 50%; top: 13%; }
.studio-node--backend { left: 68%; top: 22%; }
.studio-node--auth { left: 26%; top: 38%; }
.studio-node--database { left: 74%; top: 38%; }
.studio-node--payments { left: 82%; top: 55%; }
.studio-node--deployment { left: 28%; top: 62%; }
.studio-node--monitoring { left: 72%; top: 62%; }
.studio-node--security { left: 24%; top: 52%; }
.studio-node--testing { left: 62%; top: 80%; }
.studio-node--landing { left: 38%; top: 80%; }
.studio-node--errorHandling { left: 50%; top: 88%; }

/* Mission map spacing pass: results mode keeps the account bar, frees the map. */
html[data-surface="panel"] body.station-results-active .station-app {
  max-width: none;
  width: 100%;
  min-height: 100dvh;
  padding: 8px 10px 0;
  align-items: stretch;
}

html[data-surface="panel"] body.station-results-active .station-app > .station-account-strip {
  max-width: none;
  width: min(980px, calc(100% - 24px));
  margin: 0 auto 8px;
}

body.station-results-active #station-pre-mc {
  display: none;
}

html[data-surface="panel"] body.station-results-active .station-stage {
  max-width: none;
  width: 100%;
  margin: 0;
}

body.station-results-active .mc-state--results {
  padding: 0;
}

body.station-results-active .studio-shell {
  min-height: calc(100dvh - 86px);
}

body.station-results-active .studio-workspace {
  grid-template-columns: minmax(0, 1fr) minmax(292px, 340px);
}

body.station-results-active .studio-nav-rail {
  display: none;
}

body.station-results-active .studio-map-canvas {
  grid-column: 1;
}

body.station-results-active .studio-setup-panel {
  position: relative;
  right: auto;
  top: auto;
  bottom: auto;
  grid-column: 2;
  width: auto;
  min-width: 0;
  max-width: none;
  border-left-color: rgba(32, 214, 237, 0.18);
  box-shadow: -18px 0 52px rgba(0, 0, 0, 0.26);
}

body.station-results-active .studio-system-map {
  min-height: calc(100dvh - 128px);
  grid-template-rows: minmax(620px, 1fr);
}

body.station-results-active .studio-node-layer {
  min-height: 620px;
  max-width: min(1180px, 100%);
  width: 100%;
}

body.station-results-active .studio-code-preview--center {
  left: 50%;
  top: 39%;
  width: min(390px, 36%);
}

body.station-results-active .studio-setup-panel__inner > .studio-code-preview {
  align-self: end;
  margin-top: 6px;
}

body.station-results-active .studio-code-preview__body {
  color: #fbfeff;
  font-weight: 760;
  background: transparent;
}

body.station-results-active .studio-code-preview__body code {
  color: #fbfeff;
  background: transparent;
  box-shadow: none;
  text-shadow: none;
}

body.station-results-active .studio-map-action {
  position: absolute;
  z-index: 8;
  left: var(--map-action-left, 50%);
  top: var(--map-action-top, 50%);
  transform: translate(var(--map-action-x, -50%), var(--map-action-y, -50%));
  display: grid;
  grid-template-columns: 48px minmax(170px, 230px);
  min-height: 240px;
  max-height: min(520px, calc(100% - 32px));
  border: 1px solid rgba(86, 231, 248, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(86, 231, 248, 0.22), transparent 48%),
    linear-gradient(180deg, rgba(16, 72, 86, 0.5), rgba(4, 16, 24, 0.86));
  box-shadow:
    inset 0 1px 0 rgba(240, 253, 255, 0.12),
    0 22px 58px rgba(0, 0, 0, 0.46),
    0 0 42px rgba(32, 214, 237, 0.14);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

body.station-results-active .studio-map-action__rail {
  display: grid;
  place-items: center;
  padding: 14px 0;
  border-right: 1px solid rgba(86, 231, 248, 0.22);
  color: rgba(116, 238, 252, 0.96);
  font-size: 20px;
  font-weight: 1000;
  letter-spacing: 0.04em;
  line-height: 1;
  text-orientation: mixed;
  text-transform: capitalize;
  writing-mode: vertical-rl;
}

body.station-results-active .studio-map-action__body {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  align-content: start;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 10px;
  padding: 15px;
  overflow: auto;
}

body.station-results-active .studio-map-action__close {
  position: absolute;
  top: 9px;
  right: 9px;
  min-width: 0;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(142, 240, 255, 0.22);
  border-radius: 999px;
  background: rgba(2, 12, 18, 0.72);
  color: rgba(236, 252, 255, 0.86);
  font: inherit;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

body.station-results-active .studio-map-action__close:hover,
body.station-results-active .studio-map-action__close:focus-visible {
  border-color: rgba(142, 240, 255, 0.64);
  color: #ffffff;
  outline: none;
}

body.station-results-active .studio-map-action__title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 1000;
  line-height: 1.1;
}

body.station-results-active .studio-map-action__subtitle {
  min-width: 0;
  color: rgba(236, 252, 255, 0.82);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  white-space: normal;
}

body.station-results-active .studio-map-action__summary {
  min-width: 0;
  margin: 0;
  color: rgba(236, 252, 255, 0.78);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

body.station-results-active .studio-map-action__gaps {
  min-width: 0;
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0 0 0 15px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.38;
  max-height: 230px;
  overflow-y: auto;
  padding-right: 4px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.46);
}

body.station-results-active .studio-map-action__gaps li {
  color: #ffffff;
  font-weight: 950;
  overflow-wrap: anywhere;
  white-space: normal;
}

body.station-results-active .studio-map-action__gaps li::marker {
  color: rgba(86, 231, 248, 0.96);
}

body.station-results-active .studio-map-action__quick-actions {
  min-width: 0;
  display: grid;
  gap: 8px;
}

body.station-results-active .studio-map-action__quick {
  min-width: 0;
  min-height: 32px;
  border-radius: 999px;
  font: inherit;
  font-size: 11px;
  font-weight: 950;
  cursor: pointer;
}

body.station-results-active .studio-map-action__quick {
  padding: 0 12px;
  border: 1px solid rgba(142, 240, 255, 0.2);
  background: rgba(4, 16, 24, 0.78);
  color: rgba(250, 253, 255, 0.9);
  text-align: left;
}

body.station-results-active .studio-map-action__quick:hover,
body.station-results-active .studio-map-action__quick:focus-visible {
  border-color: rgba(86, 231, 248, 0.62);
  color: #ffffff;
  outline: none;
}

body.station-results-active .studio-map-action__quick--primary {
  border: 1px solid rgba(142, 240, 255, 0.44);
  background: linear-gradient(90deg, #10b8d2, #65e8f4);
  color: #031217;
  text-align: center;
  text-transform: uppercase;
}

body.station-results-active .studio-core-group {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 7;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 10px;
}

body.station-results-active .studio-core-group .studio-core-node {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: 126px;
  height: 126px;
  cursor: default;
}

body.station-results-active .studio-core-scan {
  min-width: 132px;
  min-height: 34px;
  padding: 0 18px;
  border: 1px solid rgba(142, 240, 255, 0.46);
  border-radius: 999px;
  background: linear-gradient(90deg, #12bdd8 0%, #4adfed 100%);
  color: #031217;
  font: inherit;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow:
    0 0 0 1px rgba(14, 198, 220, 0.16),
    0 12px 30px rgba(22, 208, 231, 0.26);
  cursor: pointer;
}

body.station-results-active .studio-core-scan:hover,
body.station-results-active .studio-core-scan:focus-visible {
  border-color: rgba(190, 250, 255, 0.8);
  background: linear-gradient(90deg, #43dff1 0%, #9af6ff 100%);
  outline: none;
}

body.station-results-active .studio-core-scan:active {
  transform: translateY(1px);
}

body.station-results-active .studio-core-node small {
  color: rgba(250, 253, 255, 0.86);
  font-weight: 900;
}

body.station-results-active .studio-node {
  width: 124px;
  height: 124px;
  grid-template-columns: 1fr;
  grid-template-rows: 42px minmax(24px, auto) 12px 12px;
  place-items: center;
  align-content: center;
  gap: 2px;
  padding: 12px 10px;
  text-align: center;
}

body.station-results-active .studio-node__dot {
  display: none;
}

body.station-results-active .studio-node__logo {
  grid-row: 1;
  width: 42px;
  height: 42px;
  margin-bottom: 0;
  border-color: color-mix(in srgb, var(--provider-color, #56e7f8) 54%, transparent);
  background: color-mix(in srgb, var(--provider-color, #56e7f8) 14%, rgba(1, 12, 18, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(230, 251, 255, 0.12),
    0 0 18px var(--provider-glow, rgba(32, 214, 237, 0.2));
}

body.station-results-active .studio-node--in-project .studio-node__logo {
  box-shadow: 0 0 22px var(--provider-glow, rgba(93, 240, 175, 0.24));
}

body.station-results-active .studio-node__title {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  max-width: 98px;
  max-height: 28px;
  overflow: hidden;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 1000;
  line-height: 1.08;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.station-results-active .studio-node__provider {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  max-width: 92px;
  height: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(247, 253, 255, 0.9);
  font-size: 9px;
  font-weight: 900;
  line-height: 12px;
}

body.station-results-active .studio-node__meta {
  grid-column: 1;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  max-width: 84px;
  height: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(86, 231, 248, 0.96);
  font-size: 10px;
  font-weight: 950;
  line-height: 12px;
}

body.station-results-active .studio-node__lock {
  top: -9px;
  right: -9px;
  min-width: 32px;
  height: 20px;
  padding: 0 8px;
  font-size: 9px;
}

body.station-results-active .studio-node--frontend { left: 50%; top: 13%; }
body.station-results-active .studio-node--backend { left: 68%; top: 20%; }
body.station-results-active .studio-node--database { left: 81%; top: 35%; }
body.station-results-active .studio-node--payments { left: 86%; top: 50%; }
body.station-results-active .studio-node--monitoring { left: 81%; top: 65%; }
body.station-results-active .studio-node--errorHandling { left: 68%; top: 80%; }
body.station-results-active .studio-node--deployment { left: 50%; top: 87%; }
body.station-results-active .studio-node--landing { left: 32%; top: 80%; }
body.station-results-active .studio-node--testing { left: 19%; top: 65%; }
body.station-results-active .studio-node--security { left: 14%; top: 50%; }
body.station-results-active .studio-node--auth { left: 19%; top: 35%; }
body.station-results-active .studio-node--appFlow { left: 32%; top: 20%; }

body.station-results-active .studio-map-action--frontend { --map-action-left: 50%; --map-action-top: 25%; --map-action-x: -50%; --map-action-y: 0; }
body.station-results-active .studio-map-action--backend { --map-action-left: 61%; --map-action-top: 20%; --map-action-x: -100%; --map-action-y: -50%; }
body.station-results-active .studio-map-action--database { --map-action-left: 74%; --map-action-top: 35%; --map-action-x: -100%; --map-action-y: -50%; }
body.station-results-active .studio-map-action--payments { --map-action-left: 76%; --map-action-top: 50%; --map-action-x: -100%; --map-action-y: -50%; }
body.station-results-active .studio-map-action--monitoring { --map-action-left: 73%; --map-action-top: 65%; --map-action-x: -100%; --map-action-y: -50%; }
body.station-results-active .studio-map-action--errorHandling { --map-action-left: 62%; --map-action-top: 75%; --map-action-x: -100%; --map-action-y: -100%; }
body.station-results-active .studio-map-action--deployment { --map-action-left: 50%; --map-action-top: 76%; --map-action-x: -50%; --map-action-y: -100%; }
body.station-results-active .studio-map-action--landing { --map-action-left: 39%; --map-action-top: 75%; --map-action-x: 0; --map-action-y: -100%; }
body.station-results-active .studio-map-action--testing { --map-action-left: 26%; --map-action-top: 65%; --map-action-x: 0; --map-action-y: -50%; }
body.station-results-active .studio-map-action--security { --map-action-left: 24%; --map-action-top: 50%; --map-action-x: 0; --map-action-y: -50%; }
body.station-results-active .studio-map-action--auth { --map-action-left: 26%; --map-action-top: 35%; --map-action-x: 0; --map-action-y: -50%; }
body.station-results-active .studio-map-action--appFlow { --map-action-left: 39%; --map-action-top: 20%; --map-action-x: 0; --map-action-y: -50%; }

@media (max-width: 920px) {
  body.station-results-active .studio-workspace {
    grid-template-columns: 1fr;
  }

  body.station-results-active .studio-setup-panel {
    grid-column: 1;
    border-top: 1px solid rgba(32, 214, 237, 0.16);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  body.station-results-active .studio-node {
    width: 86px;
    height: 86px;
    grid-template-rows: 28px minmax(20px, auto) 10px 10px;
    gap: 1px;
    padding: 8px 6px;
  }

  body.station-results-active .studio-node__logo {
    width: 28px;
    height: 28px;
  }

  body.station-results-active .studio-node__title {
    max-width: 68px;
    max-height: 20px;
    font-size: 8.2px;
    line-height: 1.05;
  }

  body.station-results-active .studio-node__provider,
  body.station-results-active .studio-node__meta {
    max-width: 64px;
    height: 10px;
    font-size: 7px;
    line-height: 10px;
  }
}

@media (max-width: 920px) {
  .studio-setup-panel {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: auto;
    min-width: 0;
    max-width: none;
  }

  .studio-system-map {
    grid-template-rows: minmax(560px, auto);
  }

  .studio-node-layer {
    min-height: 560px;
  }

  .studio-code-preview--center {
    width: min(300px, 48%);
  }
}

@media (max-width: 560px) {
  .studio-system-map {
    grid-template-rows: minmax(430px, auto);
  }

  .studio-node-layer {
    min-height: 430px;
  }

  .studio-code-preview--center {
    width: min(250px, 58%);
  }
}

/* VibeRaven intro pass: keep pre-scan screen aligned with the mission map. */
html[data-surface="panel"] .station-pre-mc .station-cockpit {
  border-color: rgba(32, 214, 237, 0.2);
  background:
    radial-gradient(circle at 50% 0%, rgba(32, 214, 237, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(4, 13, 20, 0.78), rgba(3, 7, 11, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(230, 251, 255, 0.08),
    0 20px 58px rgba(0, 0, 0, 0.46);
}

html[data-surface="panel"] .cockpit-hero__brand,
html[data-surface="panel"] .command-deck__label {
  color: rgba(86, 231, 248, 0.96);
}

html[data-surface="panel"] .cockpit-hero__title,
html[data-surface="panel"] .cockpit-hero__lead,
html[data-surface="panel"] .command-deck__hint {
  color: rgba(250, 253, 255, 0.94);
}

html[data-surface="panel"] .cockpit-hero__whatsnew {
  border-color: rgba(32, 214, 237, 0.2);
  background: rgba(4, 20, 28, 0.64);
  color: rgba(237, 252, 255, 0.88);
}

html[data-surface="panel"] .command-deck__run {
  border-color: rgba(142, 240, 255, 0.46);
  background: linear-gradient(90deg, #10b8d2, #52e1f0 62%, #9af6ff);
  color: #031217;
}

html[data-surface="panel"] .station-app > .station-account-strip {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto 10px;
}

html[data-surface="panel"] .station-account-strip .account-bar {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(32, 214, 237, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(32, 214, 237, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(5, 13, 20, 0.92), rgba(3, 7, 12, 0.97));
  box-shadow:
    inset 0 1px 0 rgba(230, 251, 255, 0.08),
    0 18px 46px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px) saturate(1.08);
}

html[data-surface="panel"] .station-account-strip .account-bar__identity {
  min-width: 0;
  gap: 4px;
}

html[data-surface="panel"] .station-account-strip .account-bar__email {
  color: rgba(250, 253, 255, 0.98);
  font-weight: 900;
}

html[data-surface="panel"] .station-account-strip .account-bar__plan {
  border-color: rgba(86, 231, 248, 0.5);
  background: rgba(32, 214, 237, 0.08);
  color: rgba(86, 231, 248, 0.98);
  box-shadow: 0 0 18px rgba(32, 214, 237, 0.08);
}

html[data-surface="panel"] .station-account-strip .account-bar__meta {
  color: rgba(228, 246, 250, 0.86);
  font-weight: 680;
}

html[data-surface="panel"] .station-account-strip .account-bar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

html[data-surface="panel"] .station-account-strip .account-bar__action {
  min-height: 30px;
  padding: 0 14px;
  border-color: rgba(86, 231, 248, 0.24);
  border-radius: 999px;
  background: rgba(2, 12, 18, 0.72);
  color: rgba(237, 252, 255, 0.9);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html[data-surface="panel"] .station-account-strip .account-bar__action:hover,
html[data-surface="panel"] .station-account-strip .account-bar__action:focus-visible {
  border-color: rgba(86, 231, 248, 0.54);
  background: rgba(32, 214, 237, 0.12);
  color: rgba(250, 253, 255, 0.98);
}

html[data-surface="panel"] .station-account-strip .account-bar__action.pilot-btn--primary {
  border-color: rgba(142, 240, 255, 0.5);
  background: linear-gradient(90deg, #10b8d2, #52e1f0 64%, #9af6ff);
  color: #031217;
  box-shadow: 0 10px 24px rgba(32, 214, 237, 0.18);
}

html[data-surface="panel"] .station-pre-mc .station-cockpit {
  width: min(760px, calc(100% - 32px));
  padding: 18px;
  border-radius: 22px;
}

html[data-surface="panel"] .cockpit-hero,
html[data-surface="panel"] .command-deck {
  border-color: rgba(32, 214, 237, 0.22);
  background:
    radial-gradient(circle at 50% 0%, rgba(32, 214, 237, 0.1), transparent 46%),
    linear-gradient(180deg, rgba(4, 15, 22, 0.74), rgba(3, 8, 13, 0.9));
}

html[data-surface="panel"] .command-deck {
  box-shadow:
    inset 0 1px 0 rgba(230, 251, 255, 0.07),
    0 14px 34px rgba(0, 0, 0, 0.34);
}

html[data-surface="panel"] .command-deck::before {
  background: linear-gradient(90deg, transparent, rgba(32, 214, 237, 0.74), transparent);
}

html[data-surface="panel"] .command-deck__run-sub {
  color: rgba(3, 18, 23, 0.76);
}

html[data-surface="panel"] .mc-state--scanning {
  max-width: min(760px, calc(100% - 32px));
  margin-inline: auto;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border-color: rgba(32, 214, 237, 0.24);
  background:
    radial-gradient(circle at 50% 0%, rgba(32, 214, 237, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(4, 13, 20, 0.88), rgba(3, 7, 11, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(230, 251, 255, 0.08),
    0 20px 58px rgba(0, 0, 0, 0.42);
}

html[data-surface="panel"] .mc-scan__label {
  color: rgba(86, 231, 248, 0.96);
}

html[data-surface="panel"] .mc-scan-loader {
  width: min(270px, 100%);
}

html[data-surface="panel"] .mc-bar-track {
  border: 1px solid rgba(32, 214, 237, 0.22);
  background: rgba(1, 10, 16, 0.78);
}

html[data-surface="panel"] .mc-bar-fill {
  background: linear-gradient(90deg, #10b8d2, #52e1f0 62%, #9af6ff);
  box-shadow: 0 0 18px rgba(32, 214, 237, 0.24);
}

@media (max-width: 680px) {
  html[data-surface="panel"] .mc-state--scanning {
    grid-template-columns: 1fr;
  }

  html[data-surface="panel"] .mc-scan-loader {
    width: min(250px, 78vw);
  }

  html[data-surface="panel"] .station-account-strip .account-bar {
    grid-template-columns: 1fr;
  }

  html[data-surface="panel"] .station-account-strip .account-bar__actions {
    justify-content: stretch;
  }

  html[data-surface="panel"] .station-account-strip .account-bar__action {
    flex: 1 1 auto;
  }
}

/* Experimental editorial skin: screenshot-grade, monochrome, repo-report mood. */
html[data-skin="editorial"] body.station-results-active {
  --vr-text: #111111;
  --vr-ink: #111111;
  --vr-ink-muted: #4f4d48;
  --vr-line: rgba(17, 17, 17, 0.16);
  --vr-cyan: #111111;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 17, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 18% 12%, rgba(17, 17, 17, 0.05), transparent 26%),
    #f4f1e8;
  background-size: 32px 32px, 32px 32px, auto, auto;
  color: #111111;
}

html[data-skin="editorial"] body.station-results-active::after {
  opacity: 0;
}

html[data-skin="editorial"] body.station-results-active::before {
  background:
    linear-gradient(180deg, rgba(244, 241, 232, 0.72), rgba(244, 241, 232, 0.92)),
    radial-gradient(circle at 0 0, rgba(17, 17, 17, 0.06), transparent 28%);
}

html[data-skin="editorial"][data-surface="panel"] body.station-results-active .station-app {
  max-width: min(1440px, 100%);
  padding: 18px min(34px, 4vw) 30px;
}

html[data-skin="editorial"] body.station-results-active .station-app > .station-account-strip {
  width: min(1180px, calc(100% - 18px));
}

html[data-skin="editorial"] body.station-results-active .station-account-strip .account-bar {
  min-height: 54px;
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    #fbfaf5;
  background-size: 22px 22px;
  box-shadow: 7px 7px 0 rgba(17, 17, 17, 0.12);
}

html[data-skin="editorial"] body.station-results-active .studio-top-rail {
  min-height: 44px;
  border-bottom: 1px solid #111111;
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.18), transparent 38%),
    #111111;
  color: #f8f6ef;
}

html[data-skin="editorial"] body.station-results-active .studio-top-rail__brand {
  color: #f8f6ef;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

html[data-skin="editorial"] body.station-results-active .studio-top-rail__build {
  color: #d4af37;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

html[data-skin="editorial"] body.station-results-active .station-account-strip .account-bar__email,
html[data-skin="editorial"] body.station-results-active .station-account-strip .account-bar__meta {
  color: #111111;
  text-shadow: none;
}

html[data-skin="editorial"] body.station-results-active .station-account-strip .account-bar__plan,
html[data-skin="editorial"] body.station-results-active .studio-evidence-badge {
  border: 1px solid #111111;
  border-radius: 999px;
  background: #111111;
  color: #f8f6ef;
  box-shadow: none;
}

html[data-skin="editorial"] body.station-results-active .studio-evidence-badge {
  min-width: max-content;
  max-width: none;
  padding: 3px 8px;
}

html[data-skin="editorial"] body.station-results-active .studio-evidence-badge--external {
  border-color: #7db7e8;
  background: rgba(125, 183, 232, 0.22);
  color: #075985;
}

html[data-skin="editorial"] body.station-results-active .studio-evidence-badge--missing {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.14);
  color: #92400e;
}

html[data-skin="editorial"] body.station-results-active .studio-evidence-badge--repo {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

html[data-skin="editorial"] body.station-results-active .station-account-strip .account-bar__action {
  border: 1px solid #111111;
  border-radius: 0;
  background: #fbfaf5;
  color: #111111;
  box-shadow: none;
}

html[data-skin="editorial"] body.station-results-active .station-account-strip .account-bar__action.pilot-btn--primary,
html[data-skin="editorial"] body.station-results-active .studio-core-scan,
html[data-skin="editorial"] body.station-results-active .studio-action-button--primary {
  border-color: #111111;
  background: #111111;
  color: #f8f6ef;
  box-shadow: 4px 4px 0 rgba(17, 17, 17, 0.18);
}

html[data-skin="editorial"] body.station-results-active .station-account-strip .account-bar__action.pilot-btn--ghost,
html[data-skin="editorial"] body.station-results-active .station-account-strip .account-bar__action.pilot-btn--quiet {
  background: #fbfaf5;
  color: #111111;
  box-shadow: none;
}

html[data-skin="editorial"] body.station-results-active .station-account-strip .account-bar__action:hover,
html[data-skin="editorial"] body.station-results-active .station-account-strip .account-bar__action:focus-visible {
  background: rgba(212, 175, 55, 0.14);
  color: #111111;
  transform: none;
}

html[data-skin="editorial"] body.station-results-active .mc-state--results {
  border: 1px solid #111111;
  border-radius: 0;
  background: #fbfaf5;
  box-shadow: 10px 10px 0 rgba(17, 17, 17, 0.12);
}

html[data-skin="editorial"] body.station-results-active .studio-shell {
  border-radius: 0;
  background: #fbfaf5;
  color: #111111;
}

html[data-skin="editorial"] body.station-results-active .studio-workspace {
  grid-template-columns: minmax(0, 1fr) minmax(310px, 370px);
  border-top: 1px solid #111111;
}

html[data-skin="editorial"] body.station-results-active .studio-nav-rail {
  display: none;
}

html[data-skin="editorial"] body.station-results-active .studio-map-canvas {
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 17, 0.07) 1px, transparent 1px),
    #f7f4eb;
  background-size: 24px 24px;
}

html[data-skin="editorial"] body.station-results-active .studio-system-map {
  position: relative;
  border: 1px solid #111111;
  border-radius: 0;
  background:
    repeating-radial-gradient(circle at 19% 80%, rgba(212, 175, 55, 0.18) 0 1px, transparent 1px 12px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 17, 0.08) 1px, transparent 1px),
    #f4f1e8;
  background-size: auto, 32px 32px, 32px 32px, auto;
  box-shadow: 8px 8px 0 rgba(17, 17, 17, 0.1);
  overflow: hidden;
}

html[data-skin="editorial"] body.station-results-active .studio-system-map::before {
  content: "VIBERAVEN / REPO READINESS";
  position: absolute;
  left: 18px;
  top: 14px;
  z-index: 1;
  max-width: calc(100% - 36px);
  color: rgba(17, 17, 17, 0.92);
  font-family: var(--font-display);
  font-size: clamp(30px, 5.2vw, 84px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.9;
  pointer-events: none;
}

html[data-skin="editorial"] body.station-results-active .studio-node-layer {
  background: transparent;
}

html[data-skin="editorial"] body.station-results-active .studio-connector-layer,
html[data-skin="editorial"] body.station-results-active .studio-connector-layer::before,
html[data-skin="editorial"] body.station-results-active .studio-connector-layer::after {
  opacity: 0.34;
  filter: grayscale(1) contrast(1.15);
}

html[data-skin="editorial"] body.station-results-active .studio-core-group .studio-core-node {
  width: 132px;
  height: 132px;
  border: 2px solid #111111;
  border-radius: 0;
  background: #111111;
  color: #f8f6ef;
  box-shadow: 7px 7px 0 rgba(17, 17, 17, 0.16);
}

html[data-skin="editorial"] body.station-results-active .studio-core-node span,
html[data-skin="editorial"] body.station-results-active .studio-core-node strong,
html[data-skin="editorial"] body.station-results-active .studio-core-node small {
  color: inherit;
  text-shadow: none;
}

html[data-skin="editorial"] body.station-results-active .studio-node {
  width: 126px;
  min-height: 94px;
  border: 1px solid #111111;
  border-radius: 0;
  background: rgba(251, 250, 245, 0.94);
  box-shadow: 5px 5px 0 rgba(17, 17, 17, 0.12);
  outline: 0 solid transparent;
}

html[data-skin="editorial"] body.station-results-active .studio-node:hover,
html[data-skin="editorial"] body.station-results-active .studio-node:focus-visible {
  transform: translate(-50%, -50%);
  border-color: #111111;
  box-shadow: 7px 7px 0 rgba(17, 17, 17, 0.18);
  filter: saturate(1.08);
}

html[data-skin="editorial"] body.station-results-active .studio-node--selected {
  border: 2px solid #111111;
  background: #ffffff;
}

html[data-skin="editorial"] body.station-results-active .studio-node--in-project {
  border-color: #16a66a;
  background:
    linear-gradient(135deg, rgba(22, 166, 106, 0.18), transparent 46%),
    #fbfaf5;
  box-shadow: 5px 5px 0 rgba(22, 166, 106, 0.2);
}

html[data-skin="editorial"] body.station-results-active .studio-node--critical {
  border-color: #d94a38;
  background:
    linear-gradient(135deg, rgba(217, 74, 56, 0.16), transparent 48%),
    #fbfaf5;
  box-shadow: 5px 5px 0 rgba(217, 74, 56, 0.18);
}

html[data-skin="editorial"] body.station-results-active .studio-node--warning {
  border-color: #d4af37;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.18), transparent 48%),
    #fbfaf5;
  box-shadow: 5px 5px 0 rgba(212, 175, 55, 0.2);
}

html[data-skin="editorial"] body.station-results-active .studio-node--sifg-leak {
  border-color: #0284c7;
  box-shadow: 5px 5px 0 rgba(2, 132, 199, 0.18);
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon {
  border: 1px solid #111111;
  border-radius: 0;
  background: #fbfaf5;
  color: var(--provider-color, #111111);
  box-shadow: none;
}

html[data-skin="editorial"] body.station-results-active .studio-node__title,
html[data-skin="editorial"] body.station-results-active .studio-node__provider,
html[data-skin="editorial"] body.station-results-active .studio-node__meta {
  color: #111111;
  text-shadow: none;
}

html[data-skin="editorial"] body.station-results-active .studio-node__title {
  font-size: 10px;
  text-transform: uppercase;
}

html[data-skin="editorial"] body.station-results-active .studio-node__provider {
  color: #111111;
  font-family: var(--font-mono);
}

html[data-skin="editorial"] body.station-results-active .studio-node__meta {
  color: rgba(17, 17, 17, 0.58);
}

html[data-skin="editorial"] body.station-results-active .studio-node--critical .studio-node__meta {
  color: #d94a38;
}

html[data-skin="editorial"] body.station-results-active .studio-node--warning .studio-node__meta {
  color: #9a7416;
}

html[data-skin="editorial"] body.station-results-active .studio-node--in-project .studio-node__provider,
html[data-skin="editorial"] body.station-results-active .studio-node--in-project .studio-node__meta {
  color: #057a47;
}

html[data-skin="editorial"] body.station-results-active .studio-setup-panel {
  border-left: 1px solid #111111;
  background: #fbfaf5;
  color: #111111;
}

html[data-skin="editorial"] body.station-results-active .studio-setup-panel__head {
  border-bottom: 1px solid #111111;
}

html[data-skin="editorial"] body.station-results-active .studio-setup-panel__title {
  color: #111111;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

html[data-skin="editorial"] body.station-results-active .studio-setup-panel__hint,
html[data-skin="editorial"] body.station-results-active .studio-setup-actions__copy,
html[data-skin="editorial"] body.station-results-active .studio-setup-actions__auth-note,
html[data-skin="editorial"] body.station-results-active .studio-verification__item,
html[data-skin="editorial"] body.station-results-active .studio-sifg-evidence__summary,
html[data-skin="editorial"] body.station-results-active .studio-sifg-evidence__action,
html[data-skin="editorial"] body.station-results-active .studio-wiring__summary,
html[data-skin="editorial"] body.station-results-active .studio-wiring__confirmed,
html[data-skin="editorial"] body.station-results-active .studio-wiring__confirmed-details summary {
  color: rgba(17, 17, 17, 0.72);
}

html[data-skin="editorial"] body.station-results-active .studio-sifg-evidence__path {
  border-color: rgba(17, 17, 17, 0.2);
  border-radius: 0;
  background: #f8f4ea;
  color: #111111;
}

html[data-skin="editorial"] body.station-results-active .studio-setup-panel__close,
html[data-skin="editorial"] body.station-results-active .studio-action-button {
  border: 1px solid #111111;
  border-radius: 0;
  background: #fbfaf5;
  color: #111111;
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile,
html[data-skin="editorial"] body.station-results-active .studio-verification,
html[data-skin="editorial"] body.station-results-active .studio-sifg-evidence,
html[data-skin="editorial"] body.station-results-active .studio-setup-actions,
html[data-skin="editorial"] body.station-results-active .studio-wiring__details {
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 0;
  background: #ffffff;
  color: #111111;
  box-shadow: none;
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile:hover,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile:focus-visible {
  border-color: #111111;
  box-shadow: 4px 4px 0 rgba(17, 17, 17, 0.12);
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile--selected {
  border-color: #111111;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.055), transparent 50%),
    #ffffff;
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile--in-project {
  border-color: #111111;
  background:
    linear-gradient(135deg, rgba(42, 201, 134, 0.16), transparent 50%),
    #ffffff;
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile--repo-evidence {
  border-color: rgba(17, 17, 17, 0.18);
  background:
    linear-gradient(135deg, rgba(22, 166, 106, 0.07), transparent 54%),
    #fffdf7;
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile__name,
html[data-skin="editorial"] body.station-results-active .studio-verification__title,
html[data-skin="editorial"] body.station-results-active .studio-sifg-evidence__title,
html[data-skin="editorial"] body.station-results-active .studio-verification__group-title strong,
html[data-skin="editorial"] body.station-results-active .studio-setup-actions__head strong,
html[data-skin="editorial"] body.station-results-active .studio-wiring__title {
  color: #111111;
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile__desc {
  color: rgba(17, 17, 17, 0.6);
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile__status,
html[data-skin="editorial"] body.station-results-active .studio-setup-actions__head span {
  color: #111111;
  font-family: var(--font-mono);
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile--in-project .studio-choice-tile__status {
  color: #057a47;
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile--repo-evidence .studio-choice-tile__status {
  color: #0f8a56;
}

html[data-skin="editorial"] body.station-results-active .studio-map-action {
  border: 1px solid #111111;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.15), transparent 44%),
    #fbfaf5;
  color: #111111;
  box-shadow: 8px 8px 0 rgba(17, 17, 17, 0.18);
  backdrop-filter: none;
}

html[data-skin="editorial"] body.station-results-active .studio-map-action__rail {
  border-right: 1px solid #111111;
  background: #111111;
  color: #d4af37;
}

html[data-skin="editorial"] body.station-results-active .studio-map-action__close,
html[data-skin="editorial"] body.station-results-active .studio-map-action__quick {
  border: 1px solid #111111;
  border-radius: 0;
  background: #fbfaf5;
  color: #111111;
}

html[data-skin="editorial"] body.station-results-active .studio-map-action__title,
html[data-skin="editorial"] body.station-results-active .studio-map-action__gaps,
html[data-skin="editorial"] body.station-results-active .studio-map-action__gaps li {
  color: #111111;
  text-shadow: none;
}

html[data-skin="editorial"] body.station-results-active .studio-map-action__subtitle,
html[data-skin="editorial"] body.station-results-active .studio-map-action__summary {
  color: rgba(17, 17, 17, 0.7);
}

html[data-skin="editorial"] body.station-results-active .studio-map-action__gaps li::marker {
  color: #d4af37;
}

html[data-skin="editorial"] body.station-results-active .studio-map-action__quick--chat,
html[data-skin="editorial"] body.station-results-active .studio-map-action__quick--primary {
  background: #111111;
  color: #f8f6ef;
}

html[data-skin="editorial"] body.station-results-active .studio-verification__group {
  border-color: rgba(17, 17, 17, 0.18);
  border-radius: 0;
  background: rgba(17, 17, 17, 0.025);
}

html[data-skin="editorial"] body.station-results-active .studio-verification__count {
  border-radius: 0;
  background: #111111;
  color: #f8f6ef;
}

@media (max-width: 920px) {
  html[data-skin="editorial"] body.station-results-active .studio-system-map::before {
    font-size: clamp(24px, 7vw, 52px);
  }

  html[data-skin="editorial"] body.station-results-active .studio-node {
    width: 100px;
    min-height: 82px;
  }
}

/* Classic skin polish: original dark map with landing-logo identity and sharper report borders. */
html[data-skin="classic"] body.station-results-active .station-account-strip .account-bar {
  border-color: rgba(212, 175, 55, 0.24);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.08), transparent 34%),
    rgba(8, 6, 3, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 202, 0.08),
    0 18px 50px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

html[data-skin="classic"] body.station-results-active .station-account-strip .account-bar__action {
  border-color: rgba(240, 215, 140, 0.28);
  border-radius: 999px;
  background: rgba(7, 7, 9, 0.72);
  color: rgba(255, 250, 235, 0.9);
  letter-spacing: 0.08em;
}

html[data-skin="classic"] body.station-results-active .station-account-strip .account-bar__action.pilot-btn--primary {
  border-color: rgba(240, 215, 140, 0.78);
  background: linear-gradient(180deg, #e8bd62, #c79a38);
  color: #110d06;
}

html[data-skin="classic"] body.station-results-active .station-account-strip .account-bar__action.pilot-btn--quiet {
  background: rgba(7, 7, 9, 0.58);
}

html[data-skin="classic"] body.station-results-active .studio-shell {
  border: 1px solid rgba(212, 175, 55, 0.18);
  background:
    radial-gradient(circle at 50% 5%, rgba(212, 175, 55, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(5, 5, 7, 0.98), rgba(1, 2, 4, 1));
}

html[data-skin="classic"] body.station-results-active .studio-top-rail {
  min-height: 52px;
  border-bottom-color: rgba(212, 175, 55, 0.28);
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.12), transparent 38%),
    rgba(8, 6, 3, 0.94);
}

html[data-skin="classic"] body.station-results-active .studio-top-rail__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 250, 235, 0.96);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

html[data-skin="classic"] body.station-results-active .studio-top-rail__brand::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: url("assets/viberaven-logo.png") center / cover no-repeat;
  filter: contrast(1.12) saturate(1.08) drop-shadow(0 0 12px rgba(212, 175, 55, 0.32));
}

html[data-skin="classic"] body.station-results-active .studio-top-rail__logo {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 999px;
  filter: contrast(1.12) saturate(1.08) drop-shadow(0 0 12px rgba(212, 175, 55, 0.32));
}

html[data-skin="classic"] body.station-results-active .studio-map-canvas {
  background:
    linear-gradient(90deg, rgba(240, 215, 140, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(240, 215, 140, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(32, 214, 237, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(5, 10, 16, 0.84), rgba(1, 3, 6, 0.98));
  background-size: 44px 44px, 44px 44px, auto, auto;
}

html[data-skin="classic"] body.station-results-active .studio-system-map {
  border-color: rgba(212, 175, 55, 0.24);
  background:
    linear-gradient(90deg, rgba(255, 250, 235, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 250, 235, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 48% 48%, rgba(32, 214, 237, 0.13), transparent 33%),
    linear-gradient(180deg, rgba(2, 4, 7, 0.58), rgba(1, 2, 4, 0.82)),
    var(--station-bg, none),
    linear-gradient(160deg, rgba(5, 12, 18, 0.98), rgba(1, 4, 8, 0.99));
  background-position: center, center, center, center, center, center;
  background-size: 96px 96px, 96px 96px, auto, auto, cover, auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 202, 0.08),
    inset 0 0 120px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(0, 0, 0, 0.62),
    0 20px 58px rgba(0, 0, 0, 0.48);
}

html[data-skin="classic"] body.station-results-active .studio-core-group .studio-core-node {
  border-color: rgba(212, 175, 55, 0.64);
  background:
    radial-gradient(circle at 50% 8%, rgba(212, 175, 55, 0.22), transparent 46%),
    linear-gradient(180deg, rgba(13, 11, 7, 0.98), rgba(2, 3, 5, 0.98));
}

html[data-skin="classic"] body.station-results-active .studio-core-scan {
  border-color: rgba(240, 215, 140, 0.78);
  background: linear-gradient(180deg, #e8bd62, #c79a38);
  color: #110d06;
}

html[data-skin="classic"] body.station-results-active .studio-node {
  border-radius: 999px;
  border-color: rgba(32, 214, 237, 0.22);
  background:
    radial-gradient(circle at 50% 0%, rgba(32, 214, 237, 0.16), transparent 48%),
    rgba(3, 11, 17, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 22px rgba(32, 214, 237, 0.12),
    0 12px 28px rgba(0, 0, 0, 0.34);
}

html[data-skin="classic"] body.station-results-active .studio-node:hover {
  transform: translate(-50%, -50%);
  border-color: rgba(32, 214, 237, 0.54);
}

html[data-skin="classic"] body.station-results-active .studio-node__logo {
  width: 18px;
  height: 18px;
  border-color: rgba(32, 214, 237, 0.3);
  background: rgba(3, 12, 18, 0.78);
  color: var(--provider-color, rgba(230, 251, 255, 0.94));
  box-shadow: 0 0 14px var(--provider-glow, rgba(32, 214, 237, 0.1));
}

html[data-skin="classic"] body.station-results-active .studio-node--selected {
  border-color: rgba(240, 215, 140, 0.76);
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.24), transparent 50%),
    rgba(18, 13, 6, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 226, 0.11),
    0 0 0 1px rgba(212, 175, 55, 0.22),
    0 0 30px rgba(212, 175, 55, 0.14),
    0 16px 36px rgba(0, 0, 0, 0.4);
}

html[data-skin="classic"] body.station-results-active .studio-node--in-project {
  border-color: rgba(93, 240, 175, 0.72);
  background:
    radial-gradient(circle at 50% 0%, rgba(93, 240, 175, 0.18), transparent 48%),
    rgba(3, 18, 15, 0.84);
}

html[data-skin="classic"] body.station-results-active .studio-node--critical {
  border-color: rgba(248, 113, 113, 0.7);
}

html[data-skin="classic"] body.station-results-active .studio-node--warning {
  border-color: rgba(240, 185, 78, 0.72);
}

html[data-skin="classic"] body.station-results-active .studio-choice-tile,
html[data-skin="classic"] body.station-results-active .studio-verification,
html[data-skin="classic"] body.station-results-active .studio-setup-actions,
html[data-skin="classic"] body.station-results-active .studio-wiring__details {
  border-color: rgba(240, 215, 140, 0.18);
  border-radius: 8px;
}

html[data-skin="classic"] body.station-results-active .studio-choice-tile--selected,
html[data-skin="classic"] body.station-results-active .studio-choice-tile:hover,
html[data-skin="classic"] body.station-results-active .studio-choice-tile:focus-visible {
  border-color: rgba(240, 215, 140, 0.5);
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--authjs,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--vercel,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--planetscale,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--authjs,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--vercel,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--planetscale {
  background: #111111;
  color: #fbfaf5;
}

/* Editorial production skin v2: poster-grade, but stable enough for daily product use. */
html[data-skin="editorial"] body.station-results-active {
  --editorial-paper: #f5f1e8;
  --editorial-paper-bright: #fffdf7;
  --editorial-ink: #111111;
  --editorial-muted: rgba(17, 17, 17, 0.62);
  --editorial-line: rgba(17, 17, 17, 0.22);
  --editorial-gold: #d4af37;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.1), transparent 30%),
    var(--editorial-paper);
  background-size: 36px 36px, 36px 36px, auto, auto;
  color: var(--editorial-ink);
}

html[data-skin="editorial"] body.station-results-active .station-app > .station-account-strip {
  width: min(1180px, calc(100% - 18px));
}

html[data-skin="editorial"] body.station-results-active .station-account-strip .account-bar {
  border-color: var(--editorial-line);
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.1), transparent 36%),
    var(--editorial-paper-bright);
  box-shadow: 6px 6px 0 rgba(17, 17, 17, 0.1);
}

html[data-skin="editorial"] body.station-results-active .station-account-strip .account-bar__plan {
  border-color: #111111;
  background: #111111;
  color: #f8f6ef;
}

html[data-skin="editorial"] body.station-results-active .mc-state--results,
html[data-skin="editorial"] body.station-results-active .studio-shell {
  border-color: #111111;
  background: var(--editorial-paper);
}

html[data-skin="editorial"] body.station-results-active .studio-top-rail {
  min-height: 48px;
  border-bottom: 1px solid #111111;
  background: #111111;
  color: #f8f6ef;
}

html[data-skin="editorial"] body.station-results-active .studio-top-rail__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f8f6ef;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1;
}

html[data-skin="editorial"] body.station-results-active .studio-top-rail__brand::before {
  content: "";
  width: 30px;
  height: 30px;
  display: block;
  border-radius: 2px;
  background: url("assets/viberaven-logo.png") center / cover no-repeat;
  filter: contrast(1.1) saturate(1.08) drop-shadow(0 0 10px rgba(212, 175, 55, 0.35));
}

html[data-skin="editorial"] body.station-results-active .studio-workspace {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  border-top: 0;
}

html[data-skin="editorial"] body.station-results-active .studio-map-canvas {
  padding: 20px;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 17, 0.052) 1px, transparent 1px),
    var(--editorial-paper);
  background-size: 30px 30px;
}

html[data-skin="editorial"] body.station-results-active .studio-system-map {
  border: 14px solid #111111;
  background:
    linear-gradient(118deg, transparent 0 58%, rgba(212, 175, 55, 0.09) 58.2%, transparent 64%),
    repeating-radial-gradient(circle at 19% 80%, rgba(212, 175, 55, 0.18) 0 1px, transparent 1px 12px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    #f8f4ea;
  background-size: auto, auto, 28px 28px, 28px 28px, auto;
  box-shadow: 9px 9px 0 rgba(17, 17, 17, 0.12);
}

html[data-skin="editorial"] body.station-results-active .studio-system-map::before {
  content: "VIBERAVEN\A REPO READINESS";
  top: clamp(18px, 3vw, 30px);
  left: 22px;
  z-index: 0;
  max-width: min(680px, calc(100% - 44px));
  white-space: pre-line;
  color: rgba(17, 17, 17, 0.72);
  font-size: clamp(38px, 4.8vw, 78px);
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 0.9;
}

html[data-skin="editorial"] body.station-results-active .studio-system-map::after {
  content: "";
  position: absolute;
  right: clamp(18px, 4vw, 52px);
  bottom: clamp(16px, 3vw, 44px);
  z-index: 0;
  width: clamp(92px, 16vw, 220px);
  aspect-ratio: 1;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(212, 175, 55, 0.16) 43% 44%, transparent 45%),
    conic-gradient(from 18deg, transparent 0 10%, rgba(212, 175, 55, 0.18) 11% 12%, transparent 13% 43%, rgba(17, 17, 17, 0.12) 44% 45%, transparent 46% 100%);
  pointer-events: none;
}

html[data-skin="editorial"] body.station-results-active .studio-node-layer {
  position: relative;
  z-index: 2;
}

html[data-skin="editorial"] body.station-results-active .studio-core-group {
  z-index: 7;
}

html[data-skin="editorial"] body.station-results-active .studio-connector-layer {
  z-index: 1;
  opacity: 0.2;
  filter: grayscale(1);
}

html[data-skin="editorial"] body.station-results-active .studio-core-group .studio-core-node {
  width: 132px;
  height: 132px;
  border: 1px solid #111111;
  border-radius: 0;
  background: #111111;
  color: #f8f6ef;
  box-shadow: 7px 7px 0 rgba(17, 17, 17, 0.16);
}

html[data-skin="editorial"] body.station-results-active .studio-core-scan {
  border: 1px solid #111111;
  border-radius: 999px;
  background: #111111;
  color: #f8f6ef;
  box-shadow: 4px 4px 0 rgba(17, 17, 17, 0.14);
}

html[data-skin="editorial"] body.station-results-active .studio-node {
  width: clamp(104px, 8.8vw, 124px);
  height: clamp(104px, 8.8vw, 124px);
  min-height: clamp(104px, 8.8vw, 124px);
  grid-template-columns: 1fr;
  grid-template-rows: clamp(34px, 3.1vw, 42px) minmax(22px, auto) 14px 14px;
  justify-items: center;
  align-content: center;
  gap: 3px;
  padding: 12px 10px;
  border: 1px solid #111111;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(246, 243, 235, 0.86)),
    var(--editorial-paper-bright);
  color: #111111;
  text-align: center;
  box-shadow: 5px 5px 0 rgba(17, 17, 17, 0.12);
}

html[data-skin="editorial"] body.station-results-active .studio-node:hover,
html[data-skin="editorial"] body.station-results-active .studio-node:focus-visible {
  transform: translate(-50%, -50%);
  border-color: #111111;
  box-shadow: 7px 7px 0 rgba(17, 17, 17, 0.18);
  filter: none;
}

html[data-skin="editorial"] body.station-results-active .studio-node--selected {
  border: 2px solid #111111;
  box-shadow: 6px 6px 0 rgba(17, 17, 17, 0.18);
}

html[data-skin="editorial"] body.station-results-active .studio-node--in-project {
  border-color: #16a66a;
  background:
    linear-gradient(135deg, rgba(22, 166, 106, 0.12), rgba(255, 255, 255, 0.88)),
    var(--editorial-paper-bright);
}

html[data-skin="editorial"] body.station-results-active .studio-node--critical {
  border-color: #d94a38;
  background:
    linear-gradient(135deg, rgba(217, 74, 56, 0.1), rgba(255, 255, 255, 0.9)),
    var(--editorial-paper-bright);
}

html[data-skin="editorial"] body.station-results-active .studio-node--warning {
  border-color: #d4af37;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(255, 255, 255, 0.88)),
    var(--editorial-paper-bright);
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo {
  grid-row: 1;
  width: clamp(34px, 3.1vw, 42px);
  height: clamp(34px, 3.1vw, 42px);
  border: 1px solid #111111;
  border-radius: 0;
  background: #fffdf7;
  color: var(--provider-color, #111111);
  box-shadow: none;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--authjs,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--vercel,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--planetscale {
  background: #111111;
  color: #fffdf7;
}

html[data-skin="editorial"] body.station-results-active .studio-node__title,
html[data-skin="editorial"] body.station-results-active .studio-node__provider,
html[data-skin="editorial"] body.station-results-active .studio-node__meta {
  width: 100%;
  min-width: 0;
  color: #111111;
  text-align: center;
  text-shadow: none;
  overflow: hidden;
}

html[data-skin="editorial"] body.station-results-active .studio-node__title {
  max-height: 28px;
  font-size: 10px;
  font-weight: 950;
  line-height: 1.12;
  text-transform: uppercase;
}

html[data-skin="editorial"] body.station-results-active .studio-node__provider {
  height: 14px;
  color: rgba(17, 17, 17, 0.72);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

html[data-skin="editorial"] body.station-results-active .studio-node__meta {
  height: 14px;
  color: rgba(17, 17, 17, 0.64);
  font-size: 9px;
  font-weight: 900;
  line-height: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

html[data-skin="editorial"] body.station-results-active .studio-node--in-project .studio-node__provider,
html[data-skin="editorial"] body.station-results-active .studio-node--in-project .studio-node__meta {
  color: #057a47;
}

html[data-skin="editorial"] body.station-results-active .studio-node--critical .studio-node__meta {
  color: #d94a38;
}

html[data-skin="editorial"] body.station-results-active .studio-node--warning .studio-node__meta {
  color: #9a7416;
}

html[data-skin="editorial"] body.station-results-active .studio-setup-panel {
  border-left: 1px solid #111111;
  background: var(--editorial-paper);
}

html[data-skin="editorial"] body.station-results-active .studio-setup-panel__inner,
html[data-skin="editorial"] body.station-results-active .studio-setup-panel__empty {
  gap: 12px;
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile,
html[data-skin="editorial"] body.station-results-active .studio-verification,
html[data-skin="editorial"] body.station-results-active .studio-setup-actions,
html[data-skin="editorial"] body.station-results-active .studio-wiring__details {
  border: 1px solid rgba(17, 17, 17, 0.28);
  border-radius: 0;
  background: rgba(255, 253, 247, 0.82);
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile--selected,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile:hover,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile:focus-visible {
  border-color: #111111;
  box-shadow: 4px 4px 0 rgba(17, 17, 17, 0.12);
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile--in-project {
  border-color: #16a66a;
  background:
    linear-gradient(135deg, rgba(22, 166, 106, 0.12), transparent 58%),
    rgba(255, 253, 247, 0.9);
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile--repo-evidence {
  border-color: rgba(17, 17, 17, 0.18);
  background:
    linear-gradient(135deg, rgba(22, 166, 106, 0.06), transparent 58%),
    rgba(255, 253, 247, 0.9);
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon {
  border: 1px solid #111111;
  border-radius: 0;
  background: #fffdf7;
  color: var(--provider-color, #111111);
}

html[data-skin="editorial"] body.station-results-active .studio-setup-actions__logo {
  border: 1px solid #111111;
  border-radius: 0;
  background: #fffdf7;
  color: var(--provider-color, #111111);
  box-shadow: 3px 3px 0 #111111;
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--authjs,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--vercel,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--planetscale,
html[data-skin="editorial"] body.station-results-active .studio-setup-actions__logo.provider-logo--authjs,
html[data-skin="editorial"] body.station-results-active .studio-setup-actions__logo.provider-logo--vercel,
html[data-skin="editorial"] body.station-results-active .studio-setup-actions__logo.provider-logo--planetscale {
  background: #111111;
  color: #fffdf7;
}

html[data-skin="editorial"] body.station-results-active .studio-verification__group--missing,
html[data-skin="editorial"] body.station-results-active .studio-wiring__group--missing {
  border-color: rgba(212, 175, 55, 0.42);
  background: rgba(212, 175, 55, 0.06);
}

html[data-skin="editorial"] body.station-results-active .studio-action-button,
html[data-skin="editorial"] body.station-results-active .studio-setup-panel__close {
  border: 1px solid #111111;
  border-radius: 0;
  background: var(--editorial-paper-bright);
  color: #111111;
}

html[data-skin="editorial"] body.station-results-active .studio-action-button--primary {
  background: #111111;
  color: #f8f6ef;
}

html[data-skin="editorial"] body.station-results-active .studio-setup-actions__mcp-row {
  padding: 10px;
  border: 1px solid rgba(17, 17, 17, 0.22);
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.08), transparent 48%),
    var(--editorial-paper-bright);
}

html[data-skin="editorial"] body.station-results-active .studio-setup-actions__mcp-row .studio-setup-actions__auth-note {
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 0;
  background: transparent;
  color: rgba(17, 17, 17, 0.68);
}

html[data-skin="editorial"] body.station-results-active .studio-setup-actions__mcp-row .studio-action-button {
  border-style: dashed;
  background: #111111;
  color: #f8f6ef;
  box-shadow: 4px 4px 0 rgba(17, 17, 17, 0.12);
}

html[data-skin="editorial"] body.station-results-active .mcp-helper-modal__panel {
  border: 1px solid #111111;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    var(--editorial-paper-bright);
  background-size: 22px 22px;
  color: #111111;
  box-shadow: 10px 10px 0 rgba(17, 17, 17, 0.2);
}

html[data-skin="editorial"] body.station-results-active .mcp-helper-modal__eyebrow,
html[data-skin="editorial"] body.station-results-active .mcp-helper-modal__title,
html[data-skin="editorial"] body.station-results-active .mcp-helper-modal__steps li {
  color: #111111;
}

html[data-skin="editorial"] body.station-results-active .mcp-helper-modal__close {
  border: 1px solid #111111;
  border-radius: 0;
  background: #fffdf7;
  color: #111111;
}

html[data-skin="editorial"] body.station-results-active .studio-map-action {
  border: 1px solid #111111;
  border-radius: 0;
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 8px 8px 0 rgba(17, 17, 17, 0.18);
}

@media (max-width: 1180px) {
  html[data-skin="editorial"] body.station-results-active .station-app {
    padding-inline: min(18px, 3vw);
  }

  html[data-skin="editorial"] body.station-results-active .studio-workspace {
    grid-template-columns: 1fr;
  }

  html[data-skin="editorial"] body.station-results-active .studio-setup-panel {
    grid-column: 1;
    border-top: 1px solid #111111;
    border-left: 0;
    max-height: none;
  }

  html[data-skin="editorial"] body.station-results-active .studio-map-canvas {
    min-width: 0;
    overflow-x: auto;
  }
}

@media (max-width: 860px) {
  html[data-skin="editorial"] body.station-results-active .station-account-strip .account-bar {
    border-radius: 0;
  }

  html[data-skin="editorial"] body.station-results-active .station-account-strip .account-bar__actions {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html[data-skin="editorial"] body.station-results-active .studio-map-canvas {
    padding: 12px;
  }

  html[data-skin="editorial"] body.station-results-active .studio-system-map {
    min-width: 760px;
    min-height: 860px;
    border-width: 10px;
  }

  html[data-skin="editorial"] body.station-results-active .studio-node-layer {
    width: 100%;
    max-width: none;
    min-width: 720px;
    min-height: 820px;
  }

  html[data-skin="editorial"] body.station-results-active .studio-system-map::before {
    max-width: 520px;
    font-size: 44px;
  }

  html[data-skin="editorial"] body.station-results-active .studio-node {
    width: 104px;
    height: 104px;
    min-height: 104px;
    grid-template-rows: 34px minmax(22px, auto) 12px 12px;
    padding: 9px 8px;
  }

  html[data-skin="editorial"] body.station-results-active .studio-node__logo {
    width: 34px;
    height: 34px;
  }

  html[data-skin="editorial"] body.station-results-active .studio-node__title {
    max-height: 24px;
    font-size: 8.8px;
  }

  html[data-skin="editorial"] body.station-results-active .studio-node__provider,
  html[data-skin="editorial"] body.station-results-active .studio-node__meta {
    height: 12px;
    font-size: 7.8px;
    line-height: 12px;
  }
}

@media (max-width: 520px) {
  html[data-skin="editorial"] body.station-results-active .station-account-strip .account-bar__actions {
    grid-template-columns: 1fr;
  }

  html[data-skin="editorial"] body.station-results-active .studio-top-rail__brand {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  html[data-skin="editorial"] body.station-results-active .studio-system-map {
    min-width: 700px;
  }
}

/* Editorial blueprint v3: keep the poster UI, add VibeRaven engineering-map identity. */
html[data-skin="editorial"] body.station-results-active .studio-system-map {
  border-width: 12px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='920' height='1120' viewBox='0 0 920 1120'%3E%3Cg fill='none' stroke='%23111111' stroke-width='2' opacity='.2'%3E%3Cpath d='M80 265h210v112H80zM650 220h150v150H650zM105 815h220v165H105zM610 760h210v250H610zM385 285h170v490H385z'/%3E%3Cpath d='M74 420h762M74 700h762M460 150v850M235 165v760M705 135v850'/%3E%3Cpath d='M155 265a120 120 0 1 1 0 240a120 120 0 1 1 0-240M155 310a75 75 0 1 1 0 150a75 75 0 1 1 0-150M155 360a25 25 0 1 1 0 50a25 25 0 1 1 0-50'/%3E%3Cpath d='M764 156a92 92 0 1 1 0 184a92 92 0 1 1 0-184M764 200a48 48 0 1 1 0 96a48 48 0 1 1 0-96M764 226a22 22 0 1 1 0 44a22 22 0 1 1 0-44'/%3E%3Cpath d='M214 902a118 118 0 1 1 0 236a118 118 0 1 1 0-236M214 952a68 68 0 1 1 0 136a68 68 0 1 1 0-136M214 990a28 28 0 1 1 0 56a28 28 0 1 1 0-56'/%3E%3Cpath d='M392 445h135v160H392zM420 475h78v100h-78zM392 640h135M410 680h98M640 885h120M640 925h120M640 965h120M670 835l45 45l45-45'/%3E%3Cpath d='M62 210h110M760 430h95M88 1030h120M560 1010h250M270 495l110-75M550 410l120-90M292 900l150-120M560 798l120 85'/%3E%3C/g%3E%3Cg fill='none' stroke='%23d4af37' stroke-width='1.2' opacity='.24'%3E%3Cpath d='M30 1010c160-190 360-230 590-120M20 180c210 50 405 28 610-74M40 610c250-84 530-40 800 130'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(118deg, transparent 0 58%, rgba(212, 175, 55, 0.08) 58.2%, transparent 64%),
    repeating-radial-gradient(circle at 19% 80%, rgba(212, 175, 55, 0.13) 0 1px, transparent 1px 13px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px),
    #f8f4ea;
  background-position: center, center, center, center, center, center;
  background-size: cover, auto, auto, 28px 28px, 28px 28px, auto;
}

html[data-skin="editorial"] body.station-results-active .studio-system-map::before {
  content: "VIBERAVEN\A REPO READINESS";
  top: clamp(20px, 2.8vw, 32px);
  left: clamp(22px, 3vw, 34px);
  max-width: clamp(280px, 29vw, 430px);
  color: rgba(17, 17, 17, 0.66);
  font-family: var(--font-mono);
  font-size: clamp(30px, 3.35vw, 52px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
  text-shadow: 0 1px 0 rgba(255, 253, 247, 0.72);
}

html[data-skin="editorial"] body.station-results-active .studio-system-map::after {
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(18px, 4vw, 56px);
  width: clamp(96px, 13vw, 184px);
  opacity: 0.72;
}

html[data-skin="editorial"] body.station-results-active .studio-node {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(244, 241, 232, 0.92)),
    var(--editorial-paper-bright);
  grid-template-rows: clamp(34px, 3.1vw, 42px) minmax(22px, auto) 14px 18px;
  box-shadow:
    7px 7px 0 rgba(17, 17, 17, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.56);
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon {
  border-color: color-mix(in srgb, var(--provider-color, #111111) 58%, #111111);
  color: var(--provider-color, #111111);
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo svg,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon svg {
  color: var(--provider-color, #111111);
}

html[data-skin="editorial"] body.station-results-active .studio-node__meta {
  height: 18px;
  line-height: 11px;
  max-width: 92px;
  box-sizing: border-box;
  padding: 0 6px;
  border-radius: 999px;
  justify-self: center;
  background: rgba(17, 17, 17, 0.06);
}

html[data-skin="editorial"] body.station-results-active .studio-node--in-project {
  background:
    linear-gradient(180deg, rgba(238, 255, 248, 0.92), rgba(255, 253, 247, 0.94)),
    var(--editorial-paper-bright);
}

html[data-skin="editorial"] body.station-results-active .studio-node--critical {
  background:
    linear-gradient(180deg, rgba(255, 241, 238, 0.94), rgba(255, 253, 247, 0.94)),
    var(--editorial-paper-bright);
}

html[data-skin="editorial"] body.station-results-active .studio-node--warning {
  background:
    linear-gradient(180deg, rgba(255, 248, 221, 0.92), rgba(255, 253, 247, 0.94)),
    var(--editorial-paper-bright);
}

html[data-skin="editorial"] body.station-results-active .studio-node__meta::before {
  content: "";
  display: block;
  width: min(58px, 68%);
  height: 3px;
  margin: 0 auto 2px;
  background: rgba(17, 17, 17, 0.12);
}

html[data-skin="editorial"] body.station-results-active .studio-node--in-project .studio-node__meta::before {
  background: #16a66a;
}

html[data-skin="editorial"] body.station-results-active .studio-node--critical .studio-node__meta::before {
  background: #d94a38;
}

html[data-skin="editorial"] body.station-results-active .studio-node--warning .studio-node__meta::before {
  background: #d4af37;
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile {
  grid-template-columns: 46px minmax(0, 1fr);
  min-height: 72px;
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon {
  width: 40px;
  height: 40px;
  border: 2px solid #111111;
  background: var(--provider-color, #111111);
  color: #fffdf7;
  box-shadow:
    3px 3px 0 rgba(17, 17, 17, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo {
  border: 2px solid #111111;
  background: var(--provider-color, #111111);
  color: #fffdf7;
  box-shadow:
    4px 4px 0 rgba(17, 17, 17, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo svg,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon svg {
  width: 82%;
  height: 82%;
  color: currentColor;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--authjs,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--vercel,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--planetscale,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--authjs,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--vercel,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--planetscale {
  background: #111111;
  color: #fffdf7;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--python,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--product-spec,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--python,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--product-spec {
  color: #111111;
}

html[data-skin="editorial"] body.station-results-active .studio-node--critical .studio-node__meta,
html[data-skin="editorial"] body.station-results-active .studio-node--critical .studio-node__provider {
  color: #b91c1c;
}

html[data-skin="editorial"] body.station-results-active .studio-map-action {
  border: 2px solid #111111;
  background:
    linear-gradient(90deg, rgba(185, 28, 28, 0.11), transparent 42%),
    #fffdf7;
}

html[data-skin="editorial"] body.station-results-active .studio-map-action__rail {
  background: #b91c1c;
  color: #fffdf7;
}

html[data-skin="editorial"] body.station-results-active .studio-map-action__subtitle {
  color: #b91c1c;
  font-weight: 950;
}

html[data-skin="editorial"] body.station-results-active .studio-verification__group {
  position: relative;
  padding-left: 14px;
  border-width: 2px;
  background: #fffdf7;
}

html[data-skin="editorial"] body.station-results-active .studio-verification__group::before {
  content: "";
  position: absolute;
  inset: -2px auto -2px -2px;
  width: 6px;
  background: #111111;
}

html[data-skin="editorial"] body.station-results-active .studio-verification__group--found,
html[data-skin="editorial"] body.station-results-active .studio-verification__group--found .studio-verification__group-title {
  border-color: #059669;
  color: #047857;
}

html[data-skin="editorial"] body.station-results-active .studio-verification__group--found::before,
html[data-skin="editorial"] body.station-results-active .studio-verification__group--found .studio-verification__item::before {
  background: #10b981;
}

html[data-skin="editorial"] body.station-results-active .studio-verification__group--missing,
html[data-skin="editorial"] body.station-results-active .studio-verification__group--missing .studio-verification__group-title {
  border-color: #d97706;
  color: #92400e;
}

html[data-skin="editorial"] body.station-results-active .studio-verification__group--missing::before,
html[data-skin="editorial"] body.station-results-active .studio-verification__group--missing .studio-verification__item::before {
  background: #f59e0b;
}

html[data-skin="editorial"] body.station-results-active .studio-verification__group--external,
html[data-skin="editorial"] body.station-results-active .studio-verification__group--external .studio-verification__group-title {
  border-color: #0284c7;
  color: #075985;
}

html[data-skin="editorial"] body.station-results-active .studio-verification__group--external::before,
html[data-skin="editorial"] body.station-results-active .studio-verification__group--external .studio-verification__item::before {
  background: #0ea5e9;
}

html[data-skin="editorial"] body.station-results-active .studio-verification__group--manual,
html[data-skin="editorial"] body.station-results-active .studio-verification__group--manual .studio-verification__group-title {
  border-color: #64748b;
  color: #334155;
}

html[data-skin="editorial"] body.station-results-active .studio-verification__group--manual::before,
html[data-skin="editorial"] body.station-results-active .studio-verification__group--manual .studio-verification__item::before {
  background: #94a3b8;
}

html[data-skin="editorial"] body.station-results-active .studio-verification__count {
  background: #111111;
  color: #fffdf7;
}

html[data-skin="editorial"] body.station-results-active .mcp-helper-modal__head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

html[data-skin="editorial"] body.station-results-active .mcp-helper-modal__eyebrow {
  grid-column: 1;
  color: #075985;
}

html[data-skin="editorial"] body.station-results-active .mcp-helper-modal__title {
  grid-column: 1;
  max-width: 100%;
  overflow-wrap: anywhere;
}

html[data-skin="editorial"] body.station-results-active .mcp-helper-modal__close {
  grid-column: 2;
  grid-row: 1 / span 2;
}

html[data-skin="editorial"] body.station-results-active .mcp-helper-modal__code {
  border: 2px solid #111111;
  background: #111111;
  box-shadow: 6px 6px 0 rgba(17, 17, 17, 0.16);
}

html[data-skin="editorial"] body.station-results-active .mcp-helper-modal__code .studio-code-preview__chrome {
  background: #111111;
  border-color: rgba(255, 253, 247, 0.18);
}

html[data-skin="editorial"] body.station-results-active .mcp-helper-modal__code .studio-code-preview__filename {
  color: #f6d06f;
}

html[data-skin="editorial"] body.station-results-active .mcp-helper-modal__code .studio-code-preview__body {
  background: #111111;
  color: #fffdf7;
}

html[data-skin="editorial"] body.station-results-active .studio-map-action {
  grid-template-columns: minmax(230px, 310px);
  min-height: 0;
  border: 2px solid #111111;
  border-left: 8px solid #b91c1c;
  background:
    linear-gradient(180deg, rgba(185, 28, 28, 0.08), transparent 46%),
    repeating-linear-gradient(0deg, rgba(17, 17, 17, 0.035) 0 1px, transparent 1px 18px),
    #fffdf7;
  box-shadow:
    8px 8px 0 rgba(17, 17, 17, 0.2),
    -5px 0 0 rgba(185, 28, 28, 0.16);
}

html[data-skin="editorial"] body.station-results-active .studio-map-action::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -2px;
  border-style: solid;
  border-width: 0 26px 26px 0;
  border-color: transparent #111111 transparent transparent;
}

html[data-skin="editorial"] body.station-results-active .studio-map-action__rail {
  position: absolute;
  top: 10px;
  left: 14px;
  z-index: 1;
  width: auto;
  min-height: 0;
  padding: 6px 9px;
  border: 2px solid #111111;
  background: #b91c1c;
  color: #fffdf7;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1;
  text-orientation: initial;
  text-transform: uppercase;
  writing-mode: horizontal-tb;
  box-shadow: 3px 3px 0 rgba(17, 17, 17, 0.18);
}

html[data-skin="editorial"] body.station-results-active .studio-map-action__body {
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  gap: 8px;
  padding: 46px 14px 14px;
}

html[data-skin="editorial"] body.station-results-active .studio-map-action__stamp {
  width: max-content;
  max-width: 100%;
  padding: 3px 6px;
  border: 1px solid #111111;
  background: #111111;
  color: #f6d06f;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

html[data-skin="editorial"] body.station-results-active .studio-map-action__subtitle {
  color: #b91c1c;
  font-family: var(--font-mono);
  font-weight: 950;
}

html[data-skin="editorial"] body.station-results-active .studio-map-action__gaps {
  gap: 8px;
  padding: 0;
  color: #111111;
  list-style: none;
}

html[data-skin="editorial"] body.station-results-active .studio-map-action__gaps li {
  position: relative;
  min-height: 36px;
  display: grid;
  align-items: center;
  padding: 8px 8px 8px 48px;
  border: 1px solid rgba(185, 28, 28, 0.42);
  background:
    linear-gradient(90deg, rgba(185, 28, 28, 0.09), transparent 58%),
    rgba(255, 253, 247, 0.88);
  color: #111111;
}

html[data-skin="editorial"] body.station-results-active .studio-map-action__gaps li::before {
  content: attr(data-ticket);
  position: absolute;
  left: 8px;
  top: 8px;
  width: 28px;
  height: 20px;
  display: grid;
  place-items: center;
  background: #b91c1c;
  color: #fffdf7;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 950;
}

html[data-skin="editorial"] body.station-results-active .studio-map-action__gaps li::marker {
  content: "";
}

html[data-skin="editorial"] body.station-results-active .studio-map-action--clear {
  border-left-color: #16a66a;
  background:
    linear-gradient(180deg, rgba(22, 166, 106, 0.08), transparent 46%),
    repeating-linear-gradient(0deg, rgba(17, 17, 17, 0.035) 0 1px, transparent 1px 18px),
    #fffdf7;
  box-shadow:
    8px 8px 0 rgba(17, 17, 17, 0.18),
    -5px 0 0 rgba(22, 166, 106, 0.16);
}

html[data-skin="editorial"] body.station-results-active .studio-map-action--clear .studio-map-action__rail,
html[data-skin="editorial"] body.station-results-active .studio-map-action--clear .studio-map-action__gaps li::before {
  background: #16a66a;
}

html[data-skin="editorial"] body.station-results-active .studio-map-action--clear .studio-map-action__subtitle {
  color: #057a47;
}

html[data-skin="editorial"] body.station-results-active .studio-map-action--clear .studio-map-action__gaps li {
  border-color: rgba(22, 166, 106, 0.42);
  background:
    linear-gradient(90deg, rgba(22, 166, 106, 0.1), transparent 58%),
    rgba(255, 253, 247, 0.88);
}

html[data-skin="editorial"] body.station-results-active .studio-node__raven-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 3;
  min-width: 42px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border: 2px solid #111111;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 44%),
    #b91c1c;
  color: #fffdf7;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow:
    3px 3px 0 rgba(17, 17, 17, 0.22),
    0 0 0 3px rgba(185, 28, 28, 0.08);
  cursor: pointer;
}

html[data-skin="editorial"] body.station-results-active .studio-node__lock {
  top: -12px;
  right: auto;
  left: -12px;
  z-index: 4;
  border: 2px solid #111111;
  border-radius: 0;
  background: #f6d06f;
  color: #111111;
  box-shadow: 3px 3px 0 rgba(17, 17, 17, 0.18);
}

html[data-skin="editorial"] body.station-results-active .studio-node--locked .studio-node__raven-badge {
  right: -12px;
}

html[data-skin="editorial"] body.station-results-active .studio-node__raven-badge::before {
  content: "!";
  width: 14px;
  height: 14px;
  display: inline-grid;
  place-items: center;
  margin-right: 4px;
  border-radius: 999px;
  background: #fffdf7;
  color: #b91c1c;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 1000;
  line-height: 1;
}

html[data-skin="editorial"] body.station-results-active .studio-node__raven-badge:hover,
html[data-skin="editorial"] body.station-results-active .studio-node__raven-badge:focus-visible {
  background: #8f1111;
  color: #fffdf7;
  outline: 2px solid #f6d06f;
  outline-offset: 2px;
}

html[data-skin="editorial"] body.station-results-active .studio-node--selected .studio-node__raven-badge {
  box-shadow:
    3px 3px 0 rgba(17, 17, 17, 0.28),
    0 0 0 4px rgba(246, 208, 111, 0.16);
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile--selected {
  border: 2px solid #111111;
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.24), transparent 58%),
    #fffdf7;
  box-shadow:
    5px 5px 0 rgba(17, 17, 17, 0.18),
    inset 0 0 0 3px rgba(212, 175, 55, 0.18);
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile--selected .studio-choice-tile__icon {
  box-shadow:
    4px 4px 0 #111111,
    inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile--selected .studio-choice-tile__status {
  width: max-content;
  max-width: 100%;
  padding: 3px 6px;
  background: #111111;
  color: #fffdf7;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--stripe,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--paddle,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--posthog,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--stripe,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--paddle,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--posthog {
  background: var(--provider-color, #111111);
  color: #fffdf7;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--stripe svg {
  width: 94%;
}

html[data-skin="editorial"] body.station-results-active .station-account-strip .account-bar__action.pilot-btn--quiet {
  border-color: #9f1239;
  background: #fff1f2;
  color: #9f1239;
  font-weight: 950;
}

html[data-skin="editorial"] body.station-results-active .station-account-strip .account-bar__action.pilot-btn--quiet:hover,
html[data-skin="editorial"] body.station-results-active .station-account-strip .account-bar__action.pilot-btn--quiet:focus-visible {
  background: #9f1239;
  color: #fffdf7;
}

html[data-skin="editorial"] body .account-bar--signed-out .account-bar__signed-out-title {
  color: #111111;
  text-shadow: none;
}

html[data-skin="editorial"] body .account-bar--signed-out .account-bar__signed-out-hint {
  color: rgba(17, 17, 17, 0.68);
  text-shadow: none;
}

@media (max-width: 860px) {
  html[data-skin="editorial"] body.station-results-active .studio-system-map::before {
    max-width: 330px;
    font-size: 34px;
  }

  html[data-skin="editorial"] body.station-results-active .studio-node {
    grid-template-rows: 34px minmax(22px, auto) 12px 16px;
  }

  html[data-skin="editorial"] body.station-results-active .studio-node__meta {
    height: 16px;
    line-height: 10px;
  }
}

/* Editorial setup + scanning states: same poster system before the Mission Map exists. */
html[data-skin="editorial"] body:not(.station-results-active) {
  --vr-text: #111111;
  --vr-ink: #111111;
  --vr-ink-muted: #514f49;
  --vr-line: rgba(17, 17, 17, 0.2);
  --vr-cyan: #111111;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 14% 84%, rgba(212, 175, 55, 0.16), transparent 22%),
    #f4f1e8;
  background-size: 30px 30px, 30px 30px, auto, auto;
  color: #111111;
}

html[data-skin="editorial"] body.station-body--art:not(.station-results-active)::after {
  opacity: 0;
}

html[data-skin="editorial"] body.station-body--art:not(.station-results-active)::before {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(118deg, transparent 0 58%, rgba(212, 175, 55, 0.08) 58.2%, transparent 64%),
    #f8f4ea;
  background-size: 28px 28px, 28px 28px, auto, auto;
}

html[data-skin="editorial"] body:not(.station-results-active) .station-app {
  width: min(1180px, 100%);
  max-width: min(1180px, 100%);
  min-height: 100dvh;
  padding: clamp(16px, 3vw, 30px);
  align-items: stretch;
}

html[data-skin="editorial"] body:not(.station-results-active) .station-app > .station-account-strip,
html[data-skin="editorial"] body:not(.station-results-active) .station-pre-mc,
html[data-skin="editorial"] body:not(.station-results-active) .station-stage {
  width: min(1040px, 100%);
  max-width: min(1040px, 100%);
}

html[data-skin="editorial"] body:not(.station-results-active) .station-app > .station-account-strip {
  margin: 0 auto 16px;
}

html[data-skin="editorial"] body.station-signed-out:not(.station-results-active) .station-app > .station-account-strip {
  display: none;
}

html[data-skin="editorial"] body:not(.station-results-active) .station-account-strip .account-bar {
  min-height: 64px;
  border: 1px solid rgba(17, 17, 17, 0.24);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.1), transparent 40%),
    rgba(255, 253, 247, 0.9);
  color: #111111;
  box-shadow: 7px 7px 0 rgba(17, 17, 17, 0.12);
  backdrop-filter: none;
}

html[data-skin="editorial"] body:not(.station-results-active) .station-account-strip .account-bar--signed-out {
  display: grid;
  grid-template-columns: minmax(0, auto) max-content;
  justify-content: center;
  align-items: center;
  column-gap: clamp(18px, 5vw, 72px);
  row-gap: 10px;
  padding: 10px clamp(14px, 3vw, 28px);
}

html[data-skin="editorial"] body:not(.station-results-active) .account-bar__signed-out-main {
  min-width: min(440px, 100%);
}

html[data-skin="editorial"] body:not(.station-results-active) .account-bar__email,
html[data-skin="editorial"] body:not(.station-results-active) .account-bar__meta,
html[data-skin="editorial"] body:not(.station-results-active) .account-bar__signed-out-title,
html[data-skin="editorial"] body:not(.station-results-active) .account-bar__signed-out-hint {
  color: #111111;
  text-shadow: none;
}

html[data-skin="editorial"] body:not(.station-results-active) .station-account-strip .account-bar--signed-out .account-bar__signed-out-title {
  color: #111111;
}

html[data-skin="editorial"] body:not(.station-results-active) .station-account-strip .account-bar--signed-out .account-bar__signed-out-hint {
  color: rgba(17, 17, 17, 0.62);
}

html[data-skin="editorial"] body:not(.station-results-active) .station-account-strip .account-bar--signed-out .account-bar__signed-out-actions {
  width: auto;
  justify-content: center;
}

html[data-skin="editorial"] body:not(.station-results-active) .pilot-badge,
html[data-skin="editorial"] body:not(.station-results-active) .station-account-strip .account-bar__plan {
  border: 1px solid rgba(22, 166, 106, 0.46);
  border-radius: 999px;
  background: rgba(22, 166, 106, 0.1);
  color: #057a47;
}

html[data-skin="editorial"] body:not(.station-results-active) .pilot-btn,
html[data-skin="editorial"] body:not(.station-results-active) .station-account-strip .account-bar__action {
  min-height: 34px;
  border: 1px solid #111111;
  border-radius: 0;
  background: #fffdf7;
  color: #111111;
  box-shadow: 4px 4px 0 rgba(17, 17, 17, 0.12);
}

html[data-skin="editorial"] body:not(.station-results-active) .pilot-btn--primary,
html[data-skin="editorial"] body:not(.station-results-active) .station-account-strip .account-bar__action.pilot-btn--primary {
  background: #111111;
  color: #f8f4ea;
}

html[data-skin="editorial"] body:not(.station-results-active) .station-account-strip .account-bar--signed-out .pilot-btn--primary {
  min-width: 92px;
  background: #c49a24;
  color: #111111;
  border-color: #c49a24;
  box-shadow: 4px 4px 0 rgba(17, 17, 17, 0.16);
}

html[data-skin="editorial"] body:not(.station-results-active) .station-pre-mc {
  margin: 0 auto;
}

html[data-skin="editorial"] body:not(.station-results-active) .station-pre-mc .station-cockpit {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: min(640px, calc(100dvh - 136px));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: start center;
  align-content: start;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border: 12px solid #111111;
  border-radius: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='920' height='620' viewBox='0 0 920 620'%3E%3Cg fill='none' stroke='%23111111' stroke-width='2' opacity='.18'%3E%3Cpath d='M70 245h190v120H70zM590 110h210v135H590zM545 385h255v145H545zM330 178h180v260H330z'/%3E%3Cpath d='M48 190h820M48 455h820M220 70v500M515 70v500M720 70v500'/%3E%3Cpath d='M134 383a94 94 0 1 1 0 188a94 94 0 1 1 0-188M134 422a55 55 0 1 1 0 110a55 55 0 1 1 0-110M720 70a100 100 0 1 1 0 200a100 100 0 1 1 0-200M720 116a54 54 0 1 1 0 108a54 54 0 1 1 0-108'/%3E%3Cpath d='M332 438l-84 70M510 178l92-58M512 438l120 48M78 100h165M635 335h200'/%3E%3C/g%3E%3Cg fill='none' stroke='%23d4af37' stroke-width='1.2' opacity='.24'%3E%3Cpath d='M30 552c155-118 338-132 548-43M42 120c230 62 445 48 682-48'/%3E%3C/g%3E%3C/svg%3E"),
    repeating-radial-gradient(circle at 16% 82%, rgba(212, 175, 55, 0.13) 0 1px, transparent 1px 13px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px),
    #f8f4ea;
  background-position: center;
  background-size: cover, auto, 28px 28px, 28px 28px, auto;
  box-shadow: 10px 10px 0 rgba(17, 17, 17, 0.12);
  overflow: hidden;
}

html[data-skin="editorial"] body:not(.station-results-active) .station-pre-mc .station-cockpit::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  width: 38px;
  height: 38px;
  background: url("assets/viberaven-logo.png") center / contain no-repeat;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.24));
}

html[data-skin="editorial"] body:not(.station-results-active) .station-pre-mc .station-cockpit::after {
  content: "VIBERAVEN\A SETUP MAP";
  position: absolute;
  top: 68px;
  left: 28px;
  max-width: 510px;
  color: rgba(17, 17, 17, 0.8);
  font-family: var(--font-mono);
  font-size: clamp(38px, 5.2vw, 82px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
  white-space: pre-line;
  pointer-events: none;
}

html[data-skin="editorial"] body:not(.station-results-active) .cockpit-hero,
html[data-skin="editorial"] body:not(.station-results-active) .command-deck {
  position: relative;
  z-index: 1;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html[data-skin="editorial"] body:not(.station-results-active) .cockpit-hero {
  display: none;
  min-height: 100%;
  margin: 0;
  padding: clamp(190px, 24vw, 300px) clamp(24px, 4vw, 48px) clamp(28px, 4vw, 54px);
  align-items: end;
  text-align: left;
}

html[data-skin="editorial"] body:not(.station-results-active) .cockpit-hero__text {
  max-width: 620px;
}

html[data-skin="editorial"] body:not(.station-results-active) .cockpit-hero__brand,
html[data-skin="editorial"] body:not(.station-results-active) .command-deck__label {
  color: #d4af37;
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
  text-shadow: none;
}

html[data-skin="editorial"] body:not(.station-results-active) .cockpit-hero__title {
  color: #111111;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: none;
}

html[data-skin="editorial"] body:not(.station-results-active) .cockpit-hero__lead,
html[data-skin="editorial"] body:not(.station-results-active) .cockpit-hero__whatsnew,
html[data-skin="editorial"] body:not(.station-results-active) .command-deck__hint {
  color: rgba(17, 17, 17, 0.74);
  text-shadow: none;
}

html[data-skin="editorial"] body:not(.station-results-active) .cockpit-hero__lead {
  margin: 8px 0 0;
  max-width: 520px;
  font-size: 14px;
}

html[data-skin="editorial"] body:not(.station-results-active) .cockpit-hero__whatsnew {
  max-width: 520px;
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 0;
  background: rgba(255, 253, 247, 0.72);
  box-shadow: 5px 5px 0 rgba(17, 17, 17, 0.1);
}

html[data-skin="editorial"] body:not(.station-results-active) .command-deck {
  align-self: start;
  justify-self: center;
  margin: clamp(250px, 25vw, 330px) auto 0;
  display: grid;
  gap: 18px;
  width: min(420px, calc(100% - 40px));
  max-width: 420px;
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-top-color: rgba(17, 17, 17, 0.22);
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.08), transparent 52%),
    rgba(255, 253, 247, 0.92);
  box-shadow: 8px 8px 0 rgba(17, 17, 17, 0.1);
  text-align: center;
}

html[data-skin="editorial"] body:not(.station-results-active) .station-pre-mc .command-deck {
  border-color: rgba(17, 17, 17, 0.22);
}

html[data-skin="editorial"] body:not(.station-results-active) .station-pre-mc .command-deck::before {
  content: none;
  display: none;
  background: none;
}

html[data-skin="editorial"] body:not(.station-results-active) .command-deck__label {
  margin: 0;
  font-size: clamp(18px, 2vw, 26px);
}

html[data-skin="editorial"] body:not(.station-results-active) .command-deck__hint {
  max-width: 340px;
  margin: 0;
  justify-self: center;
}

html[data-skin="editorial"] body:not(.station-results-active) .command-deck__run {
  min-height: 76px;
  border: 1px solid #111111;
  border-radius: 0;
  background: #111111;
  color: #f8f4ea;
  box-shadow: 7px 7px 0 rgba(17, 17, 17, 0.16);
}

html[data-skin="editorial"] body:not(.station-results-active) .command-deck__run--locked {
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.22), transparent 60%),
    #111111;
  border-color: #111111;
}

html[data-skin="editorial"] body:not(.station-results-active) .command-deck__run-sub {
  color: rgba(248, 244, 234, 0.72);
}

html[data-skin="editorial"] body:not(.station-results-active) .command-deck__run-glow {
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.28), transparent);
}

html[data-skin="editorial"] body.station-mc-takeover:not(.station-results-active) #station-pre-mc,
html[data-skin="editorial"] body.station-mc-takeover:not(.station-results-active) #mc-idle {
  display: none;
}

html[data-skin="editorial"] body.station-mc-takeover:not(.station-results-active) .station-stage {
  max-width: min(1040px, 100%);
  margin: 0 auto;
}

html[data-skin="editorial"] body.station-mc-takeover:not(.station-results-active) .mc-state--scanning {
  position: relative;
  min-height: min(620px, calc(100dvh - 136px));
  display: grid;
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px);
  border: 12px solid #111111;
  border-radius: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='860' height='620' viewBox='0 0 860 620'%3E%3Cg fill='none' stroke='%23111111' stroke-width='2' opacity='.18'%3E%3Cpath d='M90 85h230v140H90zM540 90h220v170H540zM350 300h180v210H350zM85 420h205v120H85z'/%3E%3Cpath d='M58 260h750M58 420h750M210 60v510M430 60v510M650 60v510'/%3E%3Cpath d='M705 310a108 108 0 1 1 0 216a108 108 0 1 1 0-216M705 360a58 58 0 1 1 0 116a58 58 0 1 1 0-116M158 255a74 74 0 1 1 0 148a74 74 0 1 1 0-148'/%3E%3Cpath d='M318 155l218 20M320 225l96 76M530 408l82-42M292 480h58M530 480h98'/%3E%3C/g%3E%3Cg fill='none' stroke='%23d4af37' stroke-width='1.2' opacity='.28'%3E%3Cpath d='M28 560c170-120 342-140 560-54M42 128c200 70 405 54 624-48'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(90deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px),
    #f8f4ea;
  background-size: cover, 28px 28px, 28px 28px, auto;
  box-shadow: 10px 10px 0 rgba(17, 17, 17, 0.12);
  overflow: hidden;
}

html[data-skin="editorial"] body.station-mc-takeover:not(.station-results-active) .mc-state--scanning::before {
  content: "SCANNING\A REPO";
  position: absolute;
  top: 24px;
  left: 28px;
  color: rgba(17, 17, 17, 0.74);
  font-family: var(--font-mono);
  font-size: clamp(38px, 5vw, 78px);
  font-weight: 900;
  line-height: 0.92;
  white-space: pre-line;
  pointer-events: none;
}

html[data-skin="editorial"] body.station-mc-takeover:not(.station-results-active) .mc-scan-loader,
html[data-skin="editorial"] body.station-mc-takeover:not(.station-results-active) .mc-scan__readout {
  position: relative;
  z-index: 1;
}

html[data-skin="editorial"] body.station-mc-takeover:not(.station-results-active) .mc-scan-loader {
  width: min(330px, 100%);
  margin: 100px 0 0;
  filter: none;
}

html[data-skin="editorial"] body.station-mc-takeover:not(.station-results-active) .mc-scan-loader__frame {
  height: 180px;
  border: 1px solid #111111;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.12), transparent 42%),
    rgba(255, 253, 247, 0.86);
  box-shadow: 7px 7px 0 rgba(17, 17, 17, 0.14);
}

html[data-skin="editorial"] body.station-mc-takeover:not(.station-results-active) .mc-scan-loader__grid {
  opacity: 0.72;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.1) 1px, transparent 1px);
}

html[data-skin="editorial"] body.station-mc-takeover:not(.station-results-active) .mc-scan-loader__sweep {
  background:
    linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.2) 42%, rgba(17, 17, 17, 0.1) 54%, transparent);
  border-bottom: 1px solid rgba(17, 17, 17, 0.52);
}

html[data-skin="editorial"] body.station-mc-takeover:not(.station-results-active) .mc-scan-loader__frame::before,
html[data-skin="editorial"] body.station-mc-takeover:not(.station-results-active) .mc-scan-loader__frame::after,
html[data-skin="editorial"] body.station-mc-takeover:not(.station-results-active) .mc-scan-loader__rows span {
  background: rgba(17, 17, 17, 0.72);
}

html[data-skin="editorial"] body.station-mc-takeover:not(.station-results-active) .mc-scan-loader__spark {
  background: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
}

html[data-skin="editorial"] body.station-mc-takeover:not(.station-results-active) .mc-scan__readout {
  max-width: 520px;
  align-self: end;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(17, 17, 17, 0.24);
  background: rgba(255, 253, 247, 0.84);
  box-shadow: 7px 7px 0 rgba(17, 17, 17, 0.12);
}

html[data-skin="editorial"] body.station-mc-takeover:not(.station-results-active) .mc-scan__label {
  color: #111111;
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.7vw, 18px);
  letter-spacing: 0;
  text-shadow: none;
}

html[data-skin="editorial"] body.station-mc-takeover:not(.station-results-active) .mc-bar-track {
  height: 12px;
  border: 1px solid #111111;
  border-radius: 0;
  background: rgba(17, 17, 17, 0.08);
}

html[data-skin="editorial"] body.station-mc-takeover:not(.station-results-active) .mc-bar-fill {
  border-radius: 0;
  background: linear-gradient(90deg, #111111, #d4af37);
  box-shadow: none;
}

html[data-skin="editorial"] .mc-error__retry.station-action-btn {
  border-color: #111111;
  background: #111111;
  color: #fffdf7;
  text-shadow: none;
  box-shadow: 5px 5px 0 rgba(17, 17, 17, 0.16);
}

html[data-skin="editorial"] .mc-error__retry.station-action-btn:hover:not(:disabled) {
  border-color: #d4af37;
  background: #272116;
  color: #fffdf7;
}

html[data-skin="editorial"] .mc-error__retry.station-action-btn:focus-visible {
  outline: 2px solid #d4af37;
  outline-offset: 3px;
}

@media (max-width: 860px) {
  html[data-skin="editorial"] body:not(.station-results-active) .station-account-strip .account-bar--signed-out {
    grid-template-columns: 1fr;
    justify-items: stretch;
    text-align: left;
  }

  html[data-skin="editorial"] body:not(.station-results-active) .station-account-strip .account-bar--signed-out .account-bar__signed-out-actions,
  html[data-skin="editorial"] body:not(.station-results-active) .station-account-strip .account-bar--signed-out .pilot-btn--primary {
    width: 100%;
  }

  html[data-skin="editorial"] body:not(.station-results-active) .station-pre-mc .station-cockpit,
  html[data-skin="editorial"] body.station-mc-takeover:not(.station-results-active) .mc-state--scanning {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  html[data-skin="editorial"] body:not(.station-results-active) .cockpit-hero {
    min-height: 420px;
    padding-top: 176px;
  }

  html[data-skin="editorial"] body:not(.station-results-active) .command-deck {
    border-top: 1px solid rgba(17, 17, 17, 0.22);
    border-left: 0;
  }

  html[data-skin="editorial"] body:not(.station-results-active) .station-pre-mc .station-cockpit::after {
    max-width: 390px;
    font-size: 46px;
  }

  html[data-skin="editorial"] body.station-mc-takeover:not(.station-results-active) .mc-scan-loader {
    margin-top: 88px;
  }
}

/* 0.0.34 Mission Map guard: keep the new sidebar, but prevent the old square map skin from winning in F5. */
html[data-skin="editorial"] body.station-results-active .studio-top-rail__brand::before {
  content: none !important;
  display: none !important;
}

html[data-skin="editorial"] body.station-results-active .studio-top-rail__logo {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(17, 24, 39, 0.14));
}

html[data-skin="editorial"] body.station-results-active .studio-workspace {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  align-items: stretch;
  border-top: 1px solid rgba(17, 24, 39, 0.14);
}

html[data-skin="editorial"] body.station-results-active .studio-map-canvas {
  min-width: 0;
  padding: 20px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.92) 0 15%, rgba(255, 255, 255, 0.46) 31%, transparent 56%),
    radial-gradient(circle at 50% 49%, rgba(212, 175, 55, 0.11), transparent 39%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 24, 39, 0.03) 1px, transparent 1px),
    radial-gradient(circle, rgba(212, 175, 55, 0.12) 0 1px, transparent 1.4px),
    #fffdf7;
  background-size: auto, auto, 36px 36px, 36px 36px, 18px 18px, auto;
  overflow: hidden;
}

html[data-skin="editorial"] body.station-results-active .studio-system-map {
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden;
}

html[data-skin="editorial"] body.station-results-active .studio-system-map::before,
html[data-skin="editorial"] body.station-results-active .studio-system-map::after {
  content: none !important;
  display: none !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node-layer {
  position: relative;
  z-index: 2;
  width: min(100%, 1080px);
  max-width: 1080px;
  min-height: max(760px, calc(100dvh - 128px));
  margin: 0 auto;
  background: transparent;
}

html[data-skin="editorial"] body.station-results-active .studio-node-layer::before {
  content: "";
  position: absolute;
  inset: 7% 5% 6%;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  opacity: 0.72;
  background:
    radial-gradient(ellipse at 50% 50%,
      transparent 0 31%,
      rgba(212, 175, 55, 0.18) 31.15% 31.45%,
      transparent 31.7% 45%,
      rgba(17, 24, 39, 0.075) 45.15% 45.45%,
      transparent 45.7% 58%,
      rgba(17, 24, 39, 0.052) 58.15% 58.38%,
      transparent 58.65%),
    linear-gradient(90deg, transparent 0 49.94%, rgba(17, 24, 39, 0.038) 50%, transparent 50.06%),
    linear-gradient(180deg, transparent 0 49.94%, rgba(17, 24, 39, 0.034) 50%, transparent 50.06%);
}

html[data-skin="editorial"] body.station-results-active .studio-node-layer::after {
  content: "";
  position: absolute;
  inset: 15% 12% 12%;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  opacity: 0.42;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 0 42%, rgba(212, 175, 55, 0.14) 42.15% 42.45%, transparent 42.75%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.46), transparent 42%);
}

html[data-skin="editorial"] body.station-results-active .studio-connector-layer,
html[data-skin="editorial"] body.station-results-active .studio-connector-layer::before,
html[data-skin="editorial"] body.station-results-active .studio-connector-layer::after {
  opacity: 0.18;
  filter: none;
}

html[data-skin="editorial"] body.station-results-active .studio-core-group {
  z-index: 3;
  top: 52%;
}

html[data-skin="editorial"] body.station-results-active .studio-core-group .studio-core-node {
  width: clamp(154px, 12vw, 190px);
  height: clamp(154px, 12vw, 190px);
  border: 1px solid rgba(246, 208, 111, 0.5);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.94), rgba(255, 253, 247, 0.9) 62%, rgba(246, 208, 111, 0.12)),
    #fffdf7;
  color: #111827;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 0 0 1px rgba(246, 208, 111, 0.38),
    0 18px 42px rgba(17, 24, 39, 0.1);
}

html[data-skin="editorial"] body.station-results-active .studio-core-node::before {
  content: "";
  display: block;
  width: clamp(92px, 8.2vw, 118px);
  height: clamp(78px, 7vw, 100px);
  background: url("assets/viberaven-logo.png") center / contain no-repeat;
}

html[data-skin="editorial"] body.station-results-active .studio-core-node span {
  display: none;
}

html[data-skin="editorial"] body.station-results-active .studio-core-node strong {
  color: #071017;
  font-size: clamp(32px, 3.2vw, 48px);
  letter-spacing: 0;
}

html[data-skin="editorial"] body.station-results-active .studio-core-node small {
  color: rgba(17, 24, 39, 0.48);
}

html[data-skin="editorial"] body.station-results-active .studio-core-scan {
  border: 1px solid #111827;
  border-radius: 999px;
  background: #111827;
  color: #fffdf7;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.14);
}

html[data-skin="editorial"] body.station-results-active .studio-node,
html[data-skin="editorial"] body.station-results-active .studio-node--selected,
html[data-skin="editorial"] body.station-results-active .studio-node:hover,
html[data-skin="editorial"] body.station-results-active .studio-node:focus-visible,
html[data-skin="editorial"] body.station-results-active .studio-node:active {
  animation: none !important;
  transform: translate(-50%, -50%) !important;
  translate: none !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node {
  z-index: 4;
  width: clamp(188px, 13.8vw, 224px) !important;
  height: auto !important;
  min-height: 78px !important;
  aspect-ratio: auto !important;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  justify-items: start;
  align-content: center;
  gap: 2px 12px;
  padding: 11px 16px 11px 11px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 999px !important;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(244, 241, 232, 0.92)),
    #fffdf7;
  color: #111827;
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 26px rgba(17, 24, 39, 0.08);
}

html[data-skin="editorial"] body.station-results-active .studio-node--selected {
  border-color: rgba(246, 208, 111, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 0 0 2px rgba(246, 208, 111, 0.16),
    0 14px 30px rgba(17, 24, 39, 0.1);
}

html[data-skin="editorial"] body.station-results-active .studio-node--in-project {
  border-color: rgba(22, 166, 106, 0.28);
  background:
    linear-gradient(180deg, rgba(238, 255, 248, 0.92), rgba(255, 253, 247, 0.94)),
    #fffdf7;
}

html[data-skin="editorial"] body.station-results-active .studio-node--critical {
  border-color: rgba(217, 74, 56, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 241, 238, 0.94), rgba(255, 253, 247, 0.94)),
    #fffdf7;
}

html[data-skin="editorial"] body.station-results-active .studio-node--warning {
  border-color: rgba(212, 175, 55, 0.36);
  background:
    linear-gradient(180deg, rgba(255, 248, 221, 0.92), rgba(255, 253, 247, 0.94)),
    #fffdf7;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo {
  grid-column: 1;
  grid-row: 1 / 4;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px !important;
  background: rgba(255, 253, 247, 0.98);
  color: var(--provider-color, #111827);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(17, 24, 39, 0.08);
}

html[data-skin="editorial"] body.station-results-active .studio-node__title,
html[data-skin="editorial"] body.station-results-active .studio-node__provider,
html[data-skin="editorial"] body.station-results-active .studio-node__meta {
  grid-column: 2;
  width: auto;
  max-width: 100%;
  min-width: 0;
  justify-self: start;
  color: #111827;
  text-align: left;
  text-shadow: none;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[data-skin="editorial"] body.station-results-active .studio-node__title {
  max-height: none;
  padding-right: 0;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.05;
  text-transform: uppercase;
  white-space: nowrap;
}

html[data-skin="editorial"] body.station-results-active .studio-node__provider {
  height: auto;
  color: rgba(17, 24, 39, 0.72);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

html[data-skin="editorial"] body.station-results-active .studio-node__meta {
  box-sizing: border-box;
  height: auto;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.06);
  font-size: 10px;
  line-height: 1.05;
  white-space: nowrap;
}

html[data-skin="editorial"] body.station-results-active .studio-node__meta::before {
  content: none !important;
  display: none !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node--frontend { left: 50%; top: 8%; }
html[data-skin="editorial"] body.station-results-active .studio-node--appFlow { left: 28%; top: 22%; }
html[data-skin="editorial"] body.station-results-active .studio-node--backend { left: 72%; top: 22%; }
html[data-skin="editorial"] body.station-results-active .studio-node--auth { left: 20%; top: 37%; }
html[data-skin="editorial"] body.station-results-active .studio-node--database { left: 80%; top: 37%; }
html[data-skin="editorial"] body.station-results-active .studio-node--security { left: 12%; top: 52%; }
html[data-skin="editorial"] body.station-results-active .studio-node--payments { left: 88%; top: 52%; }
html[data-skin="editorial"] body.station-results-active .studio-node--testing { left: 20%; top: 67%; }
html[data-skin="editorial"] body.station-results-active .studio-node--monitoring { left: 80%; top: 67%; }
html[data-skin="editorial"] body.station-results-active .studio-node--landing { left: 32%; top: 83%; }
html[data-skin="editorial"] body.station-results-active .studio-node--errorHandling { left: 68%; top: 83%; }
html[data-skin="editorial"] body.station-results-active .studio-node--deployment { left: 50%; top: 94%; }

html[data-skin="editorial"] body.station-results-active .studio-node__raven-badge {
  top: -16px;
  right: -14px;
  bottom: auto;
  border-radius: 999px;
}

@media (max-width: 1120px) {
  html[data-skin="editorial"] body.station-results-active .studio-node {
    width: clamp(164px, 18vw, 204px) !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-node--security { left: 14%; }
  html[data-skin="editorial"] body.station-results-active .studio-node--payments { left: 86%; }
}

/* 0.0.34 extension host restore: keep the clean sidebar, restore the 0.0.33 mission-map surface. */
html[data-skin="editorial"] body.station-results-active .studio-top-rail {
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 11px !important;
  padding: 8px 18px !important;
  border-bottom: 1px solid #111111 !important;
  background: #111111 !important;
  color: #f8f6ef !important;
  box-shadow: none !important;
}

html[data-skin="editorial"] body.station-results-active .studio-top-rail__logo {
  flex: 0 0 32px !important;
  width: 32px !important;
  height: 32px !important;
  display: block !important;
  object-fit: contain !important;
  filter: drop-shadow(0 8px 12px rgba(212, 175, 55, 0.22)) !important;
}

html[data-skin="editorial"] body.station-results-active .studio-top-rail__brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  color: #f8f6ef !important;
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.16em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

html[data-skin="editorial"] body.station-results-active .studio-top-rail__brand::before {
  content: none !important;
  display: none !important;
}

html[data-skin="editorial"] body.station-results-active .studio-map-canvas {
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.92) 0 15%, rgba(255, 255, 255, 0.46) 31%, transparent 56%),
    radial-gradient(circle at 50% 49%, rgba(212, 175, 55, 0.11), transparent 39%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 24, 39, 0.03) 1px, transparent 1px),
    radial-gradient(circle, rgba(212, 175, 55, 0.12) 0 1px, transparent 1.4px),
    #fffdf7 !important;
  background-size: auto, auto, 36px 36px, 36px 36px, 18px 18px, auto !important;
  background-color: #fffdf7 !important;
}

html[data-skin="editorial"] body.station-results-active #mc-production-map.mc3-overview,
html[data-skin="editorial"] body.station-results-active .studio-system-map {
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

html[data-skin="editorial"] body.station-results-active .studio-system-map::before,
html[data-skin="editorial"] body.station-results-active .studio-system-map::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node-layer {
  background: transparent !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node-layer::before {
  content: "" !important;
  position: absolute !important;
  inset: 7% 5% 6% !important;
  z-index: 0 !important;
  pointer-events: none !important;
  border-radius: 999px !important;
  opacity: 0.72 !important;
  background:
    radial-gradient(ellipse at 50% 50%,
      transparent 0 31%,
      rgba(212, 175, 55, 0.18) 31.15% 31.45%,
      transparent 31.7% 45%,
      rgba(17, 24, 39, 0.075) 45.15% 45.45%,
      transparent 45.7% 58%,
      rgba(17, 24, 39, 0.052) 58.15% 58.38%,
      transparent 58.65%),
    linear-gradient(90deg, transparent 0 49.94%, rgba(17, 24, 39, 0.038) 50%, transparent 50.06%),
    linear-gradient(180deg, transparent 0 49.94%, rgba(17, 24, 39, 0.034) 50%, transparent 50.06%) !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node-layer::after {
  content: "" !important;
  position: absolute !important;
  inset: 15% 12% 12% !important;
  z-index: 0 !important;
  pointer-events: none !important;
  border-radius: 999px !important;
  opacity: 0.42 !important;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 0 42%, rgba(212, 175, 55, 0.14) 42.15% 42.45%, transparent 42.75%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.46), transparent 42%) !important;
}

.provider-logo--render { --provider-color: #16c8a7; --provider-glow: rgba(22, 200, 167, 0.34); }
.provider-logo--railway { --provider-color: #6b5cff; --provider-glow: rgba(107, 92, 255, 0.3); }
.provider-logo--github { --provider-color: #111827; --provider-glow: rgba(17, 24, 39, 0.24); }
.provider-logo--vercel { --provider-color: #111827; --provider-glow: rgba(17, 24, 39, 0.24); }

html[data-skin="editorial"] body.station-results-active .studio-node__logo,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon,
.mc3-provider-tile__icon {
  background: color-mix(in srgb, var(--provider-color, #111827) 13%, #fffdf7) !important;
  color: var(--provider-color, #111827) !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo svg,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon svg,
.mc3-provider-tile__icon svg {
  width: 76% !important;
  height: 76% !important;
  fill: currentColor;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--github svg,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--github svg,
.mc3-provider-tile__icon.provider-logo--github svg {
  width: 72% !important;
  height: 72% !important;
}

/* 0.0.34 reference map layout: light canvas, overlay wordmark, stable orbit sizing. */
html[data-skin="editorial"] body.station-results-active .studio-shell {
  position: relative !important;
  min-height: calc(100dvh - 28px) !important;
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) !important;
  border: 0 !important;
  background: #fffdf7 !important;
  color: #111827 !important;
  overflow: hidden !important;
}

html[data-skin="editorial"] body.station-results-active .studio-top-rail {
  position: absolute !important;
  z-index: 12 !important;
  top: 18px !important;
  left: 28px !important;
  width: max-content !important;
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #111827 !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

html[data-skin="editorial"] body.station-results-active .studio-top-rail__logo {
  flex: 0 0 38px !important;
  width: 38px !important;
  height: 38px !important;
  display: block !important;
  object-fit: contain !important;
  filter: drop-shadow(0 6px 10px rgba(17, 24, 39, 0.14)) !important;
}

html[data-skin="editorial"] body.station-results-active .studio-top-rail__brand {
  min-width: 0 !important;
  display: grid !important;
  gap: 3px !important;
  margin: 0 !important;
  color: #111827 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

html[data-skin="editorial"] body.station-results-active .studio-top-rail__wordmark {
  display: block !important;
  color: #111827 !important;
  font-family: var(--font-mono) !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  letter-spacing: 0.32em !important;
  line-height: 1 !important;
}

html[data-skin="editorial"] body.station-results-active .studio-top-rail__label {
  display: block !important;
  color: rgba(17, 24, 39, 0.56) !important;
  font-family: var(--font-mono) !important;
  font-size: 9px !important;
  font-weight: 850 !important;
  letter-spacing: 0.36em !important;
  line-height: 1 !important;
}

html[data-skin="editorial"] body.station-results-active .studio-workspace {
  grid-row: 1 !important;
  min-height: calc(100dvh - 28px) !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px) !important;
  align-items: stretch !important;
  border-top: 0 !important;
  background: #fffdf7 !important;
}

html[data-skin="editorial"] body.station-results-active .studio-map-canvas {
  min-width: 0 !important;
  min-height: calc(100dvh - 28px) !important;
  padding: 0 !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.94) 0 18%, rgba(255, 255, 255, 0.58) 34%, transparent 58%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 24, 39, 0.028) 1px, transparent 1px),
    #fffdf7 !important;
  background-size: auto, 36px 36px, 36px 36px, auto !important;
}

html[data-skin="editorial"] body.station-results-active .studio-system-map {
  min-height: max(980px, calc(100dvh - 28px)) !important;
  display: grid !important;
  grid-template-rows: minmax(980px, 1fr) !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html[data-skin="editorial"] body.station-results-active #mc-production-map.mc3-overview {
  min-height: max(980px, calc(100dvh - 28px)) !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node-layer {
  position: relative !important;
  width: min(100%, 1040px) !important;
  max-width: 1040px !important;
  min-height: max(980px, calc(100dvh - 28px)) !important;
  margin: 0 auto !important;
  background: transparent !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node-layer::before {
  inset: 15% 12% 13% !important;
  opacity: 0.7 !important;
  background:
    radial-gradient(ellipse at 50% 50%,
      transparent 0 31%,
      rgba(212, 175, 55, 0.2) 31.1% 31.45%,
      transparent 31.7% 47%,
      rgba(17, 24, 39, 0.07) 47.1% 47.42%,
      transparent 47.7% 61%,
      rgba(17, 24, 39, 0.05) 61.1% 61.36%,
      transparent 61.7%),
    linear-gradient(90deg, transparent 0 49.94%, rgba(17, 24, 39, 0.03) 50%, transparent 50.06%),
    linear-gradient(180deg, transparent 0 49.94%, rgba(17, 24, 39, 0.028) 50%, transparent 50.06%) !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node-layer::after {
  inset: 29% 28% 28% !important;
  opacity: 0.58 !important;
  border: 1px solid rgba(246, 208, 111, 0.38) !important;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.42), transparent 58%) !important;
}

html[data-skin="editorial"] body.station-results-active .studio-core-group {
  top: 50% !important;
  z-index: 3 !important;
}

html[data-skin="editorial"] body.station-results-active .studio-core-group .studio-core-node {
  width: clamp(166px, 13.4vw, 190px) !important;
  height: clamp(166px, 13.4vw, 190px) !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node {
  width: clamp(176px, 18vw, 238px) !important;
  min-height: 78px !important;
  grid-template-columns: 50px minmax(0, 1fr) !important;
  gap: 3px 14px !important;
  padding: 12px 18px 12px 12px !important;
  border-radius: 999px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 14px 34px rgba(17, 24, 39, 0.09) !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo {
  width: 50px !important;
  height: 50px !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__title {
  font-size: 12px !important;
  line-height: 1.05 !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__provider,
html[data-skin="editorial"] body.station-results-active .studio-node__meta {
  font-size: 10px !important;
  line-height: 1.12 !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node--frontend { left: 50% !important; top: 8% !important; }
html[data-skin="editorial"] body.station-results-active .studio-node--appFlow { left: 29% !important; top: 23% !important; }
html[data-skin="editorial"] body.station-results-active .studio-node--backend { left: 71% !important; top: 23% !important; }
html[data-skin="editorial"] body.station-results-active .studio-node--auth { left: 20% !important; top: 38% !important; }
html[data-skin="editorial"] body.station-results-active .studio-node--database { left: 80% !important; top: 38% !important; }
html[data-skin="editorial"] body.station-results-active .studio-node--security { left: 15% !important; top: 53% !important; }
html[data-skin="editorial"] body.station-results-active .studio-node--payments { left: 85% !important; top: 53% !important; }
html[data-skin="editorial"] body.station-results-active .studio-node--testing { left: 20% !important; top: 68% !important; }
html[data-skin="editorial"] body.station-results-active .studio-node--monitoring { left: 80% !important; top: 68% !important; }
html[data-skin="editorial"] body.station-results-active .studio-node--landing { left: 32% !important; top: 83% !important; }
html[data-skin="editorial"] body.station-results-active .studio-node--errorHandling { left: 68% !important; top: 83% !important; }
html[data-skin="editorial"] body.station-results-active .studio-node--deployment { left: 50% !important; top: 93% !important; }

html[data-skin="editorial"] body.station-results-active .studio-setup-panel {
  border-left: 1px solid #111111 !important;
  box-shadow: none !important;
}

@media (max-width: 1220px) {
  html[data-skin="editorial"] body.station-results-active .studio-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-setup-panel {
    grid-column: 2 !important;
    grid-row: 1 !important;
    border-left: 1px solid #111111 !important;
    border-top: 0 !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-node {
    width: 176px !important;
    min-height: 76px !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 3px 10px !important;
    padding: 11px 13px 11px 10px !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-node__logo {
    width: 44px !important;
    height: 44px !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-node--appFlow { left: 30% !important; }
  html[data-skin="editorial"] body.station-results-active .studio-node--backend { left: 70% !important; }
  html[data-skin="editorial"] body.station-results-active .studio-node--auth { left: 22% !important; }
  html[data-skin="editorial"] body.station-results-active .studio-node--database { left: 78% !important; }
  html[data-skin="editorial"] body.station-results-active .studio-node--security { left: 18% !important; }
  html[data-skin="editorial"] body.station-results-active .studio-node--payments { left: 82% !important; }
  html[data-skin="editorial"] body.station-results-active .studio-node--testing { left: 22% !important; }
  html[data-skin="editorial"] body.station-results-active .studio-node--monitoring { left: 78% !important; }
}

@media (max-width: 760px) {
  html[data-skin="editorial"] body.station-results-active .studio-workspace {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-setup-panel {
    grid-column: 1 !important;
    border-left: 0 !important;
    border-top: 1px solid #111111 !important;
  }
}

/* Final 0.0.34 extension polish: keep the map/sidebar usable at VS Code host widths. */
html[data-skin="editorial"] body.station-results-active .studio-workspace {
  height: calc(100dvh - 28px) !important;
  min-height: calc(100dvh - 28px) !important;
  overflow: hidden !important;
}

html[data-skin="editorial"] body.station-results-active .studio-map-canvas {
  max-height: calc(100dvh - 28px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: stable !important;
}

html[data-skin="editorial"]:not([data-surface="panel"]) body.station-results-active .studio-setup-panel {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-height: 0 !important;
  max-height: calc(100dvh - 28px) !important;
  overflow-y: auto !important;
}

.provider-logo--supabase { --provider-color: #3ecf8e; --provider-glow: rgba(62, 207, 142, 0.34); }
.provider-logo--clerk { --provider-color: #6c47ff; --provider-glow: rgba(108, 71, 255, 0.34); }
.provider-logo--authjs { --provider-color: #412991; --provider-glow: rgba(65, 41, 145, 0.34); }
.provider-logo--auth0 { --provider-color: #eb5424; --provider-glow: rgba(235, 84, 36, 0.34); }
.provider-logo--firebase { --provider-color: #ffa000; --provider-glow: rgba(255, 160, 0, 0.34); }
.provider-logo--neon { --provider-color: #00e599; --provider-glow: rgba(0, 229, 153, 0.34); }
.provider-logo--planetscale { --provider-color: #111827; --provider-glow: rgba(17, 24, 39, 0.24); }
.provider-logo--mongodb { --provider-color: #47a248; --provider-glow: rgba(71, 162, 72, 0.34); }
.provider-logo--turso { --provider-color: #4ff8d2; --provider-glow: rgba(79, 248, 210, 0.3); }
.provider-logo--github { --provider-color: #111827; --provider-glow: rgba(17, 24, 39, 0.24); }
.provider-logo--gitlab { --provider-color: #fc6d26; --provider-glow: rgba(252, 109, 38, 0.34); }
.provider-logo--polar { --provider-color: #111827; --provider-glow: rgba(17, 24, 39, 0.22); }
.provider-logo--lemon-squeezy { --provider-color: #facc15; --provider-glow: rgba(250, 204, 21, 0.34); }
.provider-logo--paddle { --provider-color: #fddd35; --provider-glow: rgba(253, 221, 53, 0.36); }
.provider-logo--cloudflare { --provider-color: #f38020; --provider-glow: rgba(243, 128, 32, 0.34); }
.provider-logo--svelte { --provider-color: #ff3e00; --provider-glow: rgba(255, 62, 0, 0.34); }
.provider-logo--nodejs { --provider-color: #5fa04e; --provider-glow: rgba(95, 160, 78, 0.34); }

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--authjs,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--authjs,
.mc3-provider-tile__icon.provider-logo--authjs,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--planetscale,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--planetscale,
.mc3-provider-tile__icon.provider-logo--planetscale,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--github,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--github,
.mc3-provider-tile__icon.provider-logo--github {
  background: color-mix(in srgb, var(--provider-color, #111827) 12%, #fffdf7) !important;
  color: var(--provider-color, #111827) !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--gitlab,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--gitlab,
.mc3-provider-tile__icon.provider-logo--gitlab {
  background: #fff2e8 !important;
  color: #fc6d26 !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--auth0,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--auth0,
.mc3-provider-tile__icon.provider-logo--auth0,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--cloudflare,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--cloudflare,
.mc3-provider-tile__icon.provider-logo--cloudflare,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--svelte,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--svelte,
.mc3-provider-tile__icon.provider-logo--svelte {
  background: color-mix(in srgb, var(--provider-color, #f38020) 14%, #fffdf7) !important;
  color: var(--provider-color, #f38020) !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--paddle,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--paddle,
.mc3-provider-tile__icon.provider-logo--paddle {
  background: #111827 !important;
  color: #fddd35 !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--polar,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--polar,
.mc3-provider-tile__icon.provider-logo--polar {
  background: #f8fafc !important;
  color: #111827 !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--lemon-squeezy,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--lemon-squeezy,
.mc3-provider-tile__icon.provider-logo--lemon-squeezy {
  background: #fef3c7 !important;
  color: #facc15 !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--supabase,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--supabase,
.mc3-provider-tile__icon.provider-logo--supabase,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--mongodb,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--mongodb,
.mc3-provider-tile__icon.provider-logo--mongodb,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--planetscale,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--planetscale,
.mc3-provider-tile__icon.provider-logo--planetscale {
  background: #fffdf7 !important;
  color: var(--provider-color, #111827) !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--firebase,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--firebase,
.mc3-provider-tile__icon.provider-logo--firebase {
  background: #fff3d0 !important;
  color: #ffa000 !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--neon,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--neon,
.mc3-provider-tile__icon.provider-logo--neon,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--turso,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--turso,
.mc3-provider-tile__icon.provider-logo--turso {
  background: #111827 !important;
  color: var(--provider-color, #00e599) !important;
}

@media (max-width: 1220px) and (min-width: 761px) {
  html[data-skin="editorial"] body.station-results-active .studio-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-setup-panel {
    grid-column: 2 !important;
    grid-row: 1 !important;
    border-left: 1px solid #111111 !important;
    border-top: 0 !important;
  }
}

@media (max-width: 980px) and (min-width: 761px) {
  html[data-skin="editorial"] body.station-results-active .studio-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(292px, 336px) !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-system-map,
  html[data-skin="editorial"] body.station-results-active #mc-production-map.mc3-overview {
    min-width: 0 !important;
    width: 100% !important;
    border-width: 0 !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-node-layer {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-node-layer::before {
    inset: 18% -14% 10% -14% !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-node-layer::after {
    inset: 34% 10% 26% !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-core-group {
    left: 50% !important;
    top: 52% !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-core-node::before {
    width: 96px !important;
    height: 82px !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-core-node strong {
    font-size: 46px !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-node {
    width: 156px !important;
    min-height: 72px !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    padding: 10px 11px 10px 9px !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-node__logo {
    width: 40px !important;
    height: 40px !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-core-group .studio-core-node {
    width: 150px !important;
    height: 150px !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-node--appFlow { left: 32% !important; }
  html[data-skin="editorial"] body.station-results-active .studio-node--backend { left: 68% !important; }
  html[data-skin="editorial"] body.station-results-active .studio-node--auth { left: 25% !important; }
  html[data-skin="editorial"] body.station-results-active .studio-node--database { left: 75% !important; }
  html[data-skin="editorial"] body.station-results-active .studio-node--security { left: 23% !important; }
  html[data-skin="editorial"] body.station-results-active .studio-node--payments { left: 77% !important; }
  html[data-skin="editorial"] body.station-results-active .studio-node--testing { left: 25% !important; }
  html[data-skin="editorial"] body.station-results-active .studio-node--monitoring { left: 75% !important; }
}

html[data-skin="editorial"] body.station-results-active .studio-core-node::before {
  width: clamp(92px, 8.2vw, 118px) !important;
  height: clamp(78px, 7vw, 100px) !important;
}

@media (max-width: 760px) {
  html[data-skin="editorial"] body.station-results-active .studio-workspace {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    height: auto !important;
    min-height: calc(100dvh - 28px) !important;
    overflow: visible !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-map-canvas {
    grid-column: 1 !important;
    grid-row: 1 !important;
    max-height: none !important;
    min-height: calc(100dvh - 28px) !important;
    overflow: visible !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-setup-panel {
    grid-column: 1 !important;
    grid-row: 2 !important;
    border-left: 0 !important;
    border-top: 1px solid #111111 !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
}

/* Final map wash cleanup: keep provider color inside cards/icons, not behind the orbit map. */
html[data-skin="editorial"] body.station-results-active .studio-map-canvas {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.94) 0 18%, rgba(255, 255, 255, 0.58) 34%, transparent 58%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 24, 39, 0.028) 1px, transparent 1px),
    #fffdf7 !important;
  background-size: auto, 36px 36px, 36px 36px, auto !important;
  background-color: #fffdf7 !important;
}

html[data-skin="editorial"] body.station-results-active .studio-system-map,
html[data-skin="editorial"] body.station-results-active .studio-node-layer {
  background: transparent !important;
  background-image: none !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node,
html[data-skin="editorial"] body.station-results-active .studio-node--in-project,
html[data-skin="editorial"] body.station-results-active .studio-node--critical,
html[data-skin="editorial"] body.station-results-active .studio-node--warning {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 14px 34px rgba(17, 24, 39, 0.09) !important;
  filter: none !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo,
html[data-skin="editorial"] body.station-results-active .studio-node--in-project .studio-node__logo {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 8px 18px rgba(17, 24, 39, 0.08) !important;
  filter: none !important;
}

/* VS Code panel width ≠ viewport width — use container queries for map/sidebar layout. */
html[data-surface="panel"] body.station-results-active .station-app {
  container-type: inline-size;
  container-name: viberaven-panel;
}

/* VS Code panel: default stacked (map, then sidebar). Side-by-side only when panel is wide. */
html[data-surface="panel"] body.station-results-active .studio-workspace {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  height: auto !important;
  min-height: calc(100dvh - 28px) !important;
  overflow: visible !important;
}

html[data-surface="panel"] body.station-results-active .studio-map-canvas {
  grid-column: 1 !important;
  grid-row: 1 !important;
  position: relative !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  max-height: none !important;
  min-height: min(520px, 72vh) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

html[data-surface="panel"] body.station-results-active .studio-setup-panel {
  grid-column: 1 !important;
  grid-row: 2 !important;
  position: relative !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  max-height: none !important;
  border-left: 0 !important;
  border-top: 1px solid #111111 !important;
  overflow-y: auto !important;
  box-shadow: none !important;
}

@container viberaven-panel (min-width: 1100px) {
  html[data-surface="panel"] body.station-results-active .studio-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(292px, 360px) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    height: calc(100dvh - 28px) !important;
    min-height: calc(100dvh - 28px) !important;
    overflow: hidden !important;
  }

  html[data-surface="panel"] body.station-results-active .studio-map-canvas {
    max-height: calc(100dvh - 28px) !important;
    min-height: 0 !important;
    overflow-y: auto !important;
  }

  html[data-surface="panel"] body.station-results-active .studio-setup-panel {
    grid-column: 2 !important;
    grid-row: 1 !important;
    max-height: calc(100dvh - 28px) !important;
    border-left: 1px solid #111111 !important;
    border-top: 0 !important;
  }
}

/* 0.0.34 hub glow cleanup: neutral orbit rings, no cyan connector wash. */
html[data-skin="editorial"] body.station-results-active .studio-connector-layer,
html[data-skin="editorial"] body.station-results-active .studio-connector-layer::before,
html[data-skin="editorial"] body.station-results-active .studio-connector-layer::after {
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 0 !important;
}

html[data-skin="editorial"] body.station-results-active .studio-system-map {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Provider marks: cream tile backgrounds + preserve brand colors on CDN marks. */
.provider-logo--authjs { --provider-color: #412991; --provider-glow: rgba(65, 41, 145, 0.34); }

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--authjs,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--authjs,
.mc3-provider-tile__icon.provider-logo--authjs {
  background: #fffdf7 !important;
  color: #412991 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--authjs svg path:nth-child(1),
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--authjs svg path:nth-child(1),
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--authjs svg path:nth-child(1) {
  fill: #412991 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--authjs svg path:nth-child(2),
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--authjs svg path:nth-child(2),
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--authjs svg path:nth-child(2) {
  fill: #eb5424 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--authjs svg path:nth-child(3),
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--authjs svg path:nth-child(3),
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--authjs svg path:nth-child(3) {
  fill: #fbc22c !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--render,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--render,
.mc3-provider-tile__icon.provider-logo--render,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--vitest,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--vitest,
.mc3-provider-tile__icon.provider-logo--vitest,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--better-auth,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--better-auth,
.mc3-provider-tile__icon.provider-logo--better-auth {
  background: #fffdf7 !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--render,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--render,
.mc3-provider-tile__icon.provider-logo--render {
  color: #46e3b7 !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--vitest,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--vitest,
.mc3-provider-tile__icon.provider-logo--vitest {
  color: #fcc72b !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--better-auth,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--better-auth,
.mc3-provider-tile__icon.provider-logo--better-auth {
  color: #171717 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--vitest svg path:nth-child(1),
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--vitest svg path:nth-child(1),
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--vitest svg path:nth-child(1) {
  fill: #fcc72b !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--vitest svg path:nth-child(2),
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--vitest svg path:nth-child(2),
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--vitest svg path:nth-child(2) {
  fill: #729b1b !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--better-auth svg path,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--better-auth svg path,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--better-auth svg path {
  fill: #171717 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--brand .provider-logo__img,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--brand .provider-logo__img,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--brand .provider-logo__img,
.mc3-provider-tile__icon.provider-logo--brand .provider-logo__img {
  width: 78% !important;
  height: 78% !important;
  object-fit: contain !important;
  filter: none !important;
}

/* Final provider icon color corrections for inline marks restored from 0.0.33. */
html[data-skin="editorial"] body.station-results-active .provider-logo--authjs svg path:nth-child(1),
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--authjs svg path:nth-child(1),
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--authjs svg path:nth-child(1),
.mc3-provider-tile__icon.provider-logo--authjs svg path:nth-child(1) {
  fill: #18c6cf !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--authjs svg path:nth-child(2),
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--authjs svg path:nth-child(2),
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--authjs svg path:nth-child(2),
.mc3-provider-tile__icon.provider-logo--authjs svg path:nth-child(2) {
  fill: #8b2ff5 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--authjs svg path:nth-child(3),
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--authjs svg path:nth-child(3),
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--authjs svg path:nth-child(3),
.mc3-provider-tile__icon.provider-logo--authjs svg path:nth-child(3) {
  fill: #fff7df !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--authjs svg path:nth-child(4),
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--authjs svg path:nth-child(4),
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--authjs svg path:nth-child(4),
.mc3-provider-tile__icon.provider-logo--authjs svg path:nth-child(4) {
  fill: #ff8a00 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--better-auth svg rect,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--better-auth svg rect,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--better-auth svg rect,
.mc3-provider-tile__icon.provider-logo--better-auth svg rect {
  fill: #111827 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--better-auth svg path:nth-of-type(1),
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--better-auth svg path:nth-of-type(1),
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--better-auth svg path:nth-of-type(1),
.mc3-provider-tile__icon.provider-logo--better-auth svg path:nth-of-type(1) {
  fill: #fffdf7 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--better-auth svg path:nth-of-type(2),
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--better-auth svg path:nth-of-type(2),
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--better-auth svg path:nth-of-type(2),
.mc3-provider-tile__icon.provider-logo--better-auth svg path:nth-of-type(2) {
  fill: #60a5fa !important;
}

/* Final provider mark polish: screenshots use cream tiles around the corrected inline marks. */
.provider-logo--polar { --provider-color: #1d4aff; --provider-glow: rgba(29, 74, 255, 0.3); }

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--firebase,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--firebase,
.mc3-provider-tile__icon.provider-logo--firebase,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--cloudflare,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--cloudflare,
.mc3-provider-tile__icon.provider-logo--cloudflare,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--polar,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--polar,
.mc3-provider-tile__icon.provider-logo--polar,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--playwright,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--playwright,
.mc3-provider-tile__icon.provider-logo--playwright {
  background: #fffdf7 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--cloudflare,
html[data-skin="editorial"] body.station-results-active .provider-logo--bot-protection,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--cloudflare,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--bot-protection,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--cloudflare,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--bot-protection,
.mc3-provider-tile__icon.provider-logo--bot-protection,
.mc3-provider-tile__icon.provider-logo--cloudflare {
  color: #f38020 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--cloudflare svg,
html[data-skin="editorial"] body.station-results-active .provider-logo--bot-protection svg,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--cloudflare svg,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--bot-protection svg,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--cloudflare svg,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--bot-protection svg,
.mc3-provider-tile__icon.provider-logo--bot-protection svg,
.mc3-provider-tile__icon.provider-logo--cloudflare svg {
  width: 100% !important;
  height: 100% !important;
  color: #f38020 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--cloudflare svg rect,
html[data-skin="editorial"] body.station-results-active .provider-logo--bot-protection svg rect,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--cloudflare svg rect,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--bot-protection svg rect,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--cloudflare svg rect,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--bot-protection svg rect,
.mc3-provider-tile__icon.provider-logo--bot-protection svg rect,
.mc3-provider-tile__icon.provider-logo--cloudflare svg rect {
  fill: #f38020 !important;
  opacity: 1 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--cloudflare svg path:nth-of-type(1),
html[data-skin="editorial"] body.station-results-active .provider-logo--bot-protection svg path:nth-of-type(1),
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--cloudflare svg path:nth-of-type(1),
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--bot-protection svg path:nth-of-type(1),
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--cloudflare svg path:nth-of-type(1),
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--bot-protection svg path:nth-of-type(1),
.mc3-provider-tile__icon.provider-logo--bot-protection svg path:nth-of-type(1),
.mc3-provider-tile__icon.provider-logo--cloudflare svg path:nth-of-type(1) {
  fill: #fff7df !important;
  opacity: 1 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--polar svg rect,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--polar svg rect,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--polar svg rect,
.mc3-provider-tile__icon.provider-logo--polar svg rect {
  fill: #1d4aff !important;
}

/* Final Studio node text fit: long stack labels wrap inside the 0.0.33 map pills. */
html[data-skin="editorial"] body.station-results-active .studio-node {
  width: clamp(158px, 15.8vw, 214px) !important;
  min-height: 68px !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  gap: 1px 10px !important;
  padding: 9px 14px 9px 9px !important;
  grid-template-rows: 1fr auto auto !important;
  align-items: center !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo {
  width: 42px !important;
  height: 42px !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__title {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  max-height: 25px !important;
  white-space: normal !important;
  overflow: hidden !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  text-overflow: clip !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 11px !important;
  line-height: 1.04 !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__provider,
html[data-skin="editorial"] body.station-results-active .studio-node__meta {
  width: max-content !important;
  max-width: 100% !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__meta {
  justify-self: start !important;
  padding: 2px 7px !important;
  font-size: 9px !important;
  line-height: 1.05 !important;
}

/* Final Studio node brightness: restore the lighter 0.0.33 pill feel. */
html[data-skin="editorial"] body.station-results-active .studio-node {
  border-color: rgba(17, 24, 39, 0.075) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 253, 0.99), rgba(255, 251, 241, 0.97)),
    #fffdf7 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 16px 34px rgba(17, 24, 39, 0.075) !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node--in-project {
  border-color: rgba(62, 207, 142, 0.42) !important;
  background:
    linear-gradient(180deg, rgba(240, 255, 249, 0.98), rgba(255, 254, 250, 0.98)),
    #fffdf7 !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node--critical {
  background:
    linear-gradient(180deg, rgba(255, 246, 244, 0.98), rgba(255, 254, 250, 0.98)),
    #fffdf7 !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node--warning,
html[data-skin="editorial"] body.station-results-active .studio-node--selected {
  background:
    linear-gradient(180deg, rgba(255, 252, 240, 0.99), rgba(255, 254, 250, 0.98)),
    #fffdf7 !important;
}

/* Final Studio node color lift: brighter 0.0.33-style pills with visible status color. */
html[data-skin="editorial"] body.station-results-active .studio-node {
  border-color: rgba(212, 175, 55, 0.34) !important;
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 248, 225, 0.92), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 254, 0.99), rgba(255, 249, 232, 0.98)),
    #fffdf7 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 18px 40px rgba(17, 24, 39, 0.06),
    0 0 30px rgba(212, 175, 55, 0.13) !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node--in-project {
  border-color: rgba(62, 207, 142, 0.56) !important;
  background:
    radial-gradient(circle at 12% 50%, rgba(214, 255, 238, 0.96), transparent 38%),
    linear-gradient(180deg, rgba(239, 255, 248, 0.99), rgba(255, 253, 246, 0.98)),
    #fffdf7 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 18px 40px rgba(17, 24, 39, 0.06),
    0 0 34px rgba(62, 207, 142, 0.18) !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node--critical {
  border-color: rgba(239, 68, 68, 0.46) !important;
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 229, 226, 0.96), transparent 38%),
    linear-gradient(180deg, rgba(255, 247, 245, 0.99), rgba(255, 253, 248, 0.98)),
    #fffdf7 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 18px 40px rgba(17, 24, 39, 0.06),
    0 0 32px rgba(239, 68, 68, 0.16) !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node--warning,
html[data-skin="editorial"] body.station-results-active .studio-node--selected {
  border-color: rgba(212, 175, 55, 0.58) !important;
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 246, 204, 0.98), transparent 38%),
    linear-gradient(180deg, rgba(255, 253, 244, 1), rgba(255, 248, 226, 0.98)),
    #fffdf7 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 18px 40px rgba(17, 24, 39, 0.06),
    0 0 34px rgba(212, 175, 55, 0.2) !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo {
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 20px rgba(17, 24, 39, 0.07),
    0 0 18px var(--provider-glow, rgba(212, 175, 55, 0.16)) !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node--in-project .studio-node__logo {
  background: rgba(238, 255, 248, 0.92) !important;
}

@media (max-width: 980px) and (min-width: 761px) {
  html[data-skin="editorial"] body.station-results-active .studio-node {
    width: clamp(148px, 20vw, 168px) !important;
    min-height: 66px !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 1px 8px !important;
    padding: 8px 11px 8px 8px !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-node__logo {
    width: 38px !important;
    height: 38px !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-node__title {
    max-height: 24px !important;
    font-size: 11px !important;
    line-height: 1.05 !important;
  }

  html[data-skin="editorial"] body.station-results-active .studio-node__provider,
  html[data-skin="editorial"] body.station-results-active .studio-node__meta {
    font-size: 9px !important;
    line-height: 1.08 !important;
  }
}

/* Provider-tinted Studio nodes: the map pills should inherit the selected provider's mark color. */
html[data-skin="editorial"] body.station-results-active .studio-node[style*="--provider-color"],
html[data-skin="editorial"] body.station-results-active .studio-node[class*="provider-logo--"] {
  border-color: color-mix(in srgb, var(--provider-color, #d4af37) 46%, transparent) !important;
  background:
    radial-gradient(circle at 13% 50%, color-mix(in srgb, var(--provider-color, #d4af37) 20%, #fffdf7 80%), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 254, 1), rgba(255, 250, 236, 0.98)),
    #fffdf7 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 18px 40px rgba(17, 24, 39, 0.055),
    0 0 34px color-mix(in srgb, var(--provider-color, #d4af37) 18%, transparent) !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node[style*="--provider-color"].studio-node--selected,
html[data-skin="editorial"] body.station-results-active .studio-node[style*="--provider-color"].studio-node--warning,
html[data-skin="editorial"] body.station-results-active .studio-node[style*="--provider-color"].studio-node--critical,
html[data-skin="editorial"] body.station-results-active .studio-node[style*="--provider-color"].studio-node--in-project,
html[data-skin="editorial"] body.station-results-active .studio-node[class*="provider-logo--"].studio-node--selected,
html[data-skin="editorial"] body.station-results-active .studio-node[class*="provider-logo--"].studio-node--warning,
html[data-skin="editorial"] body.station-results-active .studio-node[class*="provider-logo--"].studio-node--critical,
html[data-skin="editorial"] body.station-results-active .studio-node[class*="provider-logo--"].studio-node--in-project {
  border-color: color-mix(in srgb, var(--provider-color, #d4af37) 58%, transparent) !important;
  background:
    radial-gradient(circle at 13% 50%, color-mix(in srgb, var(--provider-color, #d4af37) 24%, #fffdf7 76%), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 254, 1), rgba(255, 250, 236, 0.98)),
    #fffdf7 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 18px 40px rgba(17, 24, 39, 0.055),
    0 0 38px color-mix(in srgb, var(--provider-color, #d4af37) 22%, transparent) !important;
}

html[data-skin="editorial"] body.station-results-active .studio-node.provider-logo--railway {
  --provider-color: #6f57ff;
  --provider-glow: rgba(111, 87, 255, 0.28);
}

html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--cloudflare,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--cloudflare,
.mc3-provider-tile__icon.provider-logo--cloudflare {
  background: #fff8e8 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--cloudflare svg {
  width: 24px !important;
  height: 24px !important;
  filter: none !important;
}

html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--cloudflare svg,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--cloudflare svg,
.mc3-provider-tile__icon.provider-logo--cloudflare svg {
  width: 26px !important;
  height: 26px !important;
  filter: none !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--cloudflare svg rect[fill="#111827"],
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--cloudflare svg rect[fill="#111827"],
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--cloudflare svg rect[fill="#111827"],
.mc3-provider-tile__icon.provider-logo--cloudflare svg rect[fill="#111827"] {
  fill: #111827 !important;
  opacity: 1 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--cloudflare svg rect[fill="#f38020"],
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--cloudflare svg rect[fill="#f38020"],
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--cloudflare svg rect[fill="#f38020"],
.mc3-provider-tile__icon.provider-logo--cloudflare svg rect[fill="#f38020"] {
  fill: #f38020 !important;
  opacity: 1 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--cloudflare svg path[fill="#ffb647"],
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--cloudflare svg path[fill="#ffb647"],
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--cloudflare svg path[fill="#ffb647"],
.mc3-provider-tile__icon.provider-logo--cloudflare svg path[fill="#ffb647"] {
  fill: #ffb647 !important;
  opacity: 1 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--cloudflare svg path[fill="#f38020"],
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--cloudflare svg path[fill="#f38020"],
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--cloudflare svg path[fill="#f38020"],
.mc3-provider-tile__icon.provider-logo--cloudflare svg path[fill="#f38020"] {
  fill: #f38020 !important;
  opacity: 1 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--cloudflare svg path[fill="#fff7df"],
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--cloudflare svg path[fill="#fff7df"],
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--cloudflare svg path[fill="#fff7df"],
.mc3-provider-tile__icon.provider-logo--cloudflare svg path[fill="#fff7df"] {
  fill: #fff7df !important;
  opacity: 1 !important;
}

/* Bot protection is a shield mark, not the Cloudflare provider mark. */
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--bot-protection,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--bot-protection,
.mc3-provider-tile__icon.provider-logo--bot-protection {
  background: #fff8e8 !important;
  color: #f38020 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--bot-protection svg,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--bot-protection svg,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--bot-protection svg,
.mc3-provider-tile__icon.provider-logo--bot-protection svg {
  width: 82% !important;
  height: 82% !important;
  color: #f38020 !important;
  filter: none !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--bot-protection svg path,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--bot-protection svg path,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--bot-protection svg path,
.mc3-provider-tile__icon.provider-logo--bot-protection svg path {
  opacity: 1 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--bot-protection svg path[fill="#f38020"],
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--bot-protection svg path[fill="#f38020"],
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--bot-protection svg path[fill="#f38020"],
.mc3-provider-tile__icon.provider-logo--bot-protection svg path[fill="#f38020"] {
  fill: #f38020 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--bot-protection svg path[fill="#fff7df"],
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--bot-protection svg path[fill="#fff7df"],
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--bot-protection svg path[fill="#fff7df"],
.mc3-provider-tile__icon.provider-logo--bot-protection svg path[fill="#fff7df"] {
  fill: #fff7df !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--cloudflare svg *,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--cloudflare svg *,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--cloudflare svg *,
.mc3-provider-tile__icon.provider-logo--cloudflare svg *,
html[data-skin="editorial"] body.station-results-active .provider-logo--bot-protection svg *,
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--bot-protection svg *,
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--bot-protection svg *,
.mc3-provider-tile__icon.provider-logo--bot-protection svg * {
  vector-effect: non-scaling-stroke;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--cloudflare svg rect[fill="#111827"],
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--cloudflare svg rect[fill="#111827"],
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--cloudflare svg rect[fill="#111827"],
.mc3-provider-tile__icon.provider-logo--cloudflare svg rect[fill="#111827"] {
  fill: #111827 !important;
  opacity: 1 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--cloudflare svg rect[fill="#f38020"],
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--cloudflare svg rect[fill="#f38020"],
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--cloudflare svg rect[fill="#f38020"],
.mc3-provider-tile__icon.provider-logo--cloudflare svg rect[fill="#f38020"],
html[data-skin="editorial"] body.station-results-active .provider-logo--cloudflare svg path[fill="#f38020"],
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--cloudflare svg path[fill="#f38020"],
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--cloudflare svg path[fill="#f38020"],
.mc3-provider-tile__icon.provider-logo--cloudflare svg path[fill="#f38020"] {
  fill: #f38020 !important;
  opacity: 1 !important;
}

html[data-skin="editorial"] body.station-results-active .provider-logo--cloudflare svg path[fill="#fff7df"],
html[data-skin="editorial"] body.station-results-active .studio-choice-tile__icon.provider-logo--cloudflare svg path[fill="#fff7df"],
html[data-skin="editorial"] body.station-results-active .studio-node__logo.provider-logo--cloudflare svg path[fill="#fff7df"],
.mc3-provider-tile__icon.provider-logo--cloudflare svg path[fill="#fff7df"] {
  fill: #fff7df !important;
  opacity: 1 !important;
}

.provider-truth {
  display: grid;
  gap: 8px;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.055);
  overflow: hidden;
}

.provider-truth__head,
.provider-truth-row__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.provider-truth__head strong,
.provider-truth-row__top strong,
.provider-truth-alert strong,
.provider-truth-next-action strong {
  min-width: 0;
  color: #111827;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.provider-truth__using-now {
  min-width: 0;
  color: #047857;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.provider-truth-row {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.provider-truth-row__meta {
  min-width: 0;
  color: rgba(17, 24, 39, 0.58);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.provider-truth-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.provider-truth-badge {
  display: inline-grid;
  place-items: center;
  min-width: 0;
  max-width: 100%;
  padding: 4px 6px;
  border: 1px solid rgba(100, 116, 139, 0.18);
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.09);
  color: #475569;
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.provider-truth-badge--live {
  border-color: rgba(22, 166, 106, 0.24);
  background: rgba(22, 166, 106, 0.12);
  color: #047857;
}

.provider-truth-badge--mcp {
  border-color: rgba(2, 132, 199, 0.2);
  background: rgba(2, 132, 199, 0.1);
  color: #0369a1;
}

.provider-truth-badge--manual {
  border-color: rgba(146, 64, 14, 0.22);
  background: rgba(245, 158, 11, 0.12);
  color: #92400e;
}

.provider-truth-badge--warn {
  border-color: rgba(185, 28, 28, 0.2);
  background: rgba(255, 241, 242, 0.92);
  color: #b91c1c;
}

.provider-truth-badge--repo,
.provider-truth-badge--using {
  border-color: rgba(17, 24, 39, 0.18);
  background: rgba(17, 24, 39, 0.07);
  color: #111827;
}

.provider-truth-alert,
.provider-truth-next-action {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 8px;
  border-radius: 8px;
  overflow-wrap: anywhere;
}

.provider-truth-alert {
  border: 1px solid rgba(185, 28, 28, 0.18);
  border-left: 4px solid #b91c1c;
  background: rgba(255, 241, 242, 0.92);
}

.provider-truth-next-action {
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-left: 4px solid #111827;
  background: rgba(255, 248, 232, 0.72);
}

.provider-truth-alert span,
.provider-truth-next-action span {
  min-width: 0;
  color: rgba(17, 24, 39, 0.66);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract {
  display: grid;
  gap: 11px;
  min-width: 0;
  box-sizing: border-box;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}

.studio-sidebar-contract__readiness,
.studio-sidebar-contract__repo-signals,
.studio-sidebar-contract__attention,
.studio-sidebar-contract__next-action,
.studio-sidebar-contract__evidence-details,
.studio-sidebar-contract__detail-row,
.studio-sidebar-contract__more-details,
.studio-sidebar-contract__deferred-setup {
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 12px;
  background: #fffdf7;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

.studio-sidebar-contract__readiness {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.studio-sidebar-contract__head {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.studio-sidebar-contract__logo {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid color-mix(in srgb, var(--provider-color, #111827) 48%, rgba(17, 24, 39, 0.16));
  background: #fff7df;
  color: var(--provider-color, #111827);
  box-shadow:
    2px 2px 0 #111827,
    0 0 18px var(--provider-glow, rgba(17, 24, 39, 0.12));
}

.studio-sidebar-contract__logo svg,
.studio-setup-actions__logo svg {
  width: 24px;
  height: 24px;
}

.studio-sidebar-contract__logo.provider-logo,
.studio-setup-actions__logo.provider-logo {
  color: var(--provider-color, #111827);
}

.studio-sidebar-contract__head-text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.studio-sidebar-contract__head-text strong {
  color: #111827;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.1;
}

.studio-sidebar-contract__head-text span {
  color: rgba(17, 24, 39, 0.54);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.studio-sidebar-contract__status,
.studio-sidebar-contract__source {
  display: inline-grid;
  place-items: center;
  min-width: 0;
  max-width: 128px;
  padding: 4px 7px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.92);
  color: #92400e;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__compact-metrics {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.studio-sidebar-contract__mismatch-status {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.studio-sidebar-contract__mismatch-row {
  display: grid;
  grid-template-columns: minmax(72px, auto) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.72);
}

.studio-sidebar-contract__mismatch-row span {
  color: rgba(17, 24, 39, 0.58);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.studio-sidebar-contract__mismatch-row strong {
  min-width: 0;
  color: #111827;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-sidebar-contract__mismatch-row b {
  display: inline-grid;
  place-items: center;
  max-width: 96px;
  padding: 3px 7px;
  border: 1px solid rgba(100, 116, 139, 0.18);
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.1);
  color: #475569;
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__mismatch-row--repo b {
  border-color: rgba(16, 185, 129, 0.2);
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.studio-sidebar-contract__mismatch-row--live b {
  border-color: rgba(59, 130, 246, 0.2);
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
}

.studio-sidebar-contract__mismatch-row--warning b {
  border-color: rgba(217, 119, 6, 0.2);
  background: rgba(245, 158, 11, 0.11);
  color: #92400e;
}

.studio-sidebar-contract__provider-rows {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.studio-sidebar-contract__provider-row {
  display: grid;
  grid-template-columns: minmax(62px, auto) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  color: #111827;
  font-size: 11px;
  line-height: 1.2;
}

.studio-sidebar-contract__provider-row span {
  color: rgba(17, 24, 39, 0.54);
  font-weight: 900;
  text-transform: uppercase;
}

.studio-sidebar-contract__provider-row strong {
  min-width: 0;
  color: #111827;
  font-size: 12px;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-sidebar-contract__compact-metric {
  display: grid;
  grid-template-columns: minmax(118px, auto) minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
  min-width: 0;
  color: #111827;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.studio-sidebar-contract__compact-metric > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__compact-metric > strong {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  color: #111827;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 950;
  line-height: 1.2;
  text-align: right;
}

.studio-sidebar-contract__compact-meter {
  grid-column: 2;
  grid-row: 1;
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
}

.studio-sidebar-contract__compact-meter b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #5fd7a5;
}

.studio-sidebar-contract__compact-metric--live .studio-sidebar-contract__compact-meter b {
  background: #78b7e8;
}

.studio-sidebar-contract__summary {
  margin: 0;
  padding: 11px 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 9px;
  background: #ffffff;
  color: #111827;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__selected-list {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.studio-sidebar-contract__selected-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 6px 8px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.64);
}

.studio-sidebar-contract__selected-list span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid color-mix(in srgb, var(--provider-color, #111827) 42%, rgba(17, 24, 39, 0.14));
  background: #fffdf7;
  color: var(--provider-color, #111827);
}

.studio-sidebar-contract__selected-list svg {
  width: 16px;
  height: 16px;
}

.studio-sidebar-contract__selected-list strong {
  min-width: 0;
  color: #111827;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-sidebar-contract__repo-signals {
  display: grid;
  gap: 13px;
  padding: 16px 14px;
}

.studio-sidebar-contract__repo-signals h4 {
  margin: 0;
  color: #111827;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.2;
}

.studio-sidebar-contract__signal-list {
  display: grid;
  gap: 13px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.studio-sidebar-contract__signal-list li {
  position: relative;
  display: grid;
  gap: 7px;
  min-width: 0;
  padding-left: 16px;
  color: #243142;
}

.studio-sidebar-contract__signal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #10b981;
}

.studio-sidebar-contract__signal-list strong {
  min-width: 0;
  color: #243142;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__signal-list span {
  display: grid;
  place-items: center;
  min-height: 22px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.13);
  color: #047857;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.studio-sidebar-contract__generic-evidence {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.studio-sidebar-contract__generic-evidence h4 {
  margin: 0;
  color: #111827;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
}

.studio-sidebar-contract__generic-evidence p {
  margin: 0;
  color: rgba(17, 24, 39, 0.66);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.studio-sidebar-contract__generic-evidence ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0 0 0 14px;
  color: #111827;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.studio-sidebar-contract__next-action,
.studio-sidebar-contract__heading,
.studio-sidebar-contract__item {
  min-width: 0;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__metrics {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 10px;
  background: #ffffff;
}

.studio-sidebar-contract__metrics-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.studio-sidebar-contract__metrics-title strong {
  color: #111827;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.studio-sidebar-contract__metrics-title span {
  color: rgba(17, 24, 39, 0.48);
  font-size: 9px;
  font-weight: 850;
  line-height: 1.2;
  text-align: right;
  text-transform: uppercase;
}

.studio-sidebar-contract__metric {
  display: grid;
  grid-template-columns: minmax(92px, auto) minmax(72px, 1fr) minmax(74px, auto);
  gap: 8px;
  align-items: center;
  min-width: 0;
  color: #111827;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

.studio-sidebar-contract__metric > span:first-child {
  min-width: 0;
  white-space: nowrap;
}

.studio-sidebar-contract__metric strong {
  justify-self: end;
  min-width: 0;
  color: rgba(17, 24, 39, 0.72);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 950;
  line-height: 1.2;
  text-align: right;
}

.studio-sidebar-contract__meter {
  display: block;
  min-width: 0;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
}

.studio-sidebar-contract__meter-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #5fd7a5;
}

.studio-sidebar-contract__selected-path,
.studio-sidebar-contract__next-action {
  display: grid;
  gap: 6px;
  padding: 10px 11px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-left: 3px solid rgba(243, 128, 32, 0.62);
  border-radius: 10px;
  background: rgba(255, 248, 232, 0.72);
  color: rgba(17, 24, 39, 0.72);
  font-size: 12px;
  line-height: 1.35;
}

.studio-sidebar-contract__selected-path-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.studio-sidebar-contract__selected-path strong,
.studio-sidebar-contract__next-action strong {
  color: #111827;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.studio-sidebar-contract__setup-state {
  display: inline-grid;
  place-items: center;
  min-width: 0;
  max-width: 116px;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(243, 128, 32, 0.1);
  color: #92400e;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__next-action {
  display: grid;
  gap: 9px;
  padding: 12px;
  border-color: rgba(17, 24, 39, 0.22);
  border-left: 4px solid #111827;
  background: #ffffff;
}

.studio-sidebar-contract__next-action p {
  margin: 0;
  color: #111827;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.35;
}

.studio-sidebar-contract__access-state {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 9px;
  background: rgba(17, 24, 39, 0.035);
}

.studio-sidebar-contract__access-state span {
  min-width: 0;
  color: rgba(17, 24, 39, 0.62);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.studio-sidebar-contract__access-state b {
  display: inline-grid;
  place-items: center;
  max-width: 112px;
  padding: 3px 7px;
  border: 1px solid rgba(217, 119, 6, 0.18);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.1);
  color: #92400e;
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.studio-sidebar-contract__access-state--needs-connection b {
  border-color: rgba(217, 119, 6, 0.2);
  background: rgba(245, 158, 11, 0.11);
  color: #92400e;
}

.studio-sidebar-contract__access-state--confirmed b {
  border-color: rgba(16, 185, 129, 0.2);
  background: rgba(16, 185, 129, 0.11);
  color: #047857;
}

.studio-sidebar-contract__evidence-details,
.studio-sidebar-contract__detail-row,
.studio-sidebar-contract__more-details {
  display: grid;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.58);
  color: #111827;
  box-shadow: none;
}

.studio-sidebar-contract__deferred-setup {
  display: grid;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.5);
  color: #111827;
  box-shadow: none;
}

.studio-sidebar-contract details:not([open]) > :not(summary),
.studio-setup-panel__inner details:not([open]) > :not(summary) {
  display: none !important;
}

.studio-sidebar-contract__deferred-setup summary,
.studio-sidebar-contract__detail-row summary,
.studio-sidebar-contract__more-details summary,
.studio-sidebar-contract__evidence-details summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  cursor: pointer;
  list-style: none;
}

.studio-sidebar-contract__deferred-setup summary::-webkit-details-marker,
.studio-sidebar-contract__detail-row summary::-webkit-details-marker,
.studio-sidebar-contract__more-details summary::-webkit-details-marker,
.studio-sidebar-contract__evidence-details summary::-webkit-details-marker {
  display: none;
}

.studio-sidebar-contract__deferred-setup summary strong,
.studio-sidebar-contract__detail-row summary strong,
.studio-sidebar-contract__more-details summary strong,
.studio-sidebar-contract__evidence-details summary strong {
  min-width: 0;
  color: #111827;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.studio-sidebar-contract__deferred-setup summary span,
.studio-sidebar-contract__detail-row summary span,
.studio-sidebar-contract__more-details summary span,
.studio-sidebar-contract__evidence-details summary span {
  display: inline-grid;
  place-items: center;
  max-width: 126px;
  padding: 3px 6px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.04);
  color: rgba(17, 24, 39, 0.66);
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__deferred-body {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding-top: 8px;
}

.studio-sidebar-contract__evidence-details p,
.studio-sidebar-contract__detail-row p {
  margin: 0;
  color: rgba(17, 24, 39, 0.7);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.studio-sidebar-contract__evidence-list,
.studio-sidebar-contract__detail-list {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.studio-sidebar-contract__evidence-list li,
.studio-sidebar-contract__detail-list li {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: #111827;
  font-size: 11px;
  line-height: 1.25;
}

.studio-sidebar-contract__evidence-list strong,
.studio-sidebar-contract__detail-list strong {
  min-width: 0;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__detail-list span,
.studio-sidebar-contract__detail-list em {
  min-width: 0;
  color: rgba(17, 24, 39, 0.68);
  font-size: 11px;
  font-style: normal;
  font-weight: 760;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__detail-list em {
  color: #111827;
  font-weight: 900;
}

.studio-sidebar-contract__more-body {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding-top: 9px;
}

.studio-sidebar-contract__more-group {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.studio-sidebar-contract__more-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.studio-sidebar-contract__more-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.studio-sidebar-contract__more-head strong {
  color: #111827;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
}

.studio-sidebar-contract__more-head span {
  color: rgba(17, 24, 39, 0.58);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
}

.studio-sidebar-contract__more-group p {
  margin: 0;
  color: rgba(17, 24, 39, 0.62);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__more-list {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.studio-sidebar-contract__more-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 8px;
  min-width: 0;
  color: #111827;
  font-size: 11px;
  line-height: 1.22;
}

.studio-sidebar-contract__more-list strong {
  min-width: 0;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__more-list em {
  display: inline-grid;
  place-items: center;
  align-self: start;
  max-width: 86px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(95, 215, 165, 0.12);
  color: #047857;
  font-size: 8px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__more-list span {
  grid-column: 1 / -1;
  min-width: 0;
  color: rgba(17, 24, 39, 0.66);
  font-size: 10px;
  font-weight: 760;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__evidence-list em {
  display: inline-grid;
  place-items: center;
  max-width: 88px;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(95, 215, 165, 0.12);
  color: #047857;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__attention {
  display: grid;
  gap: 7px;
  padding: 10px 11px;
  border-color: rgba(217, 119, 6, 0.26);
  border-left: 4px solid #f59e0b;
  background:
    linear-gradient(180deg, rgba(255, 251, 235, 0.9), rgba(255, 253, 247, 0.96));
}

.studio-sidebar-contract__attention h4 {
  margin: 0;
  color: #111827;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.studio-sidebar-contract__attention-list {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.studio-sidebar-contract__attention-item {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding-top: 6px;
  border-top: 1px solid rgba(17, 24, 39, 0.1);
  color: #111827;
  font-size: 12px;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__attention-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.studio-sidebar-contract__attention-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.studio-sidebar-contract__attention-top strong {
  color: #111827;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
}

.studio-sidebar-contract__attention-top em {
  display: inline-grid;
  place-items: center;
  max-width: 92px;
  padding: 3px 6px;
  border: 1px solid rgba(217, 119, 6, 0.18);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.1);
  color: #92400e;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__attention-item span {
  color: rgba(17, 24, 39, 0.72);
  font-size: 11px;
  font-weight: 760;
}

.studio-sidebar-contract__attention-item b {
  color: #111827;
  font-weight: 900;
}

.studio-sidebar-contract__attention-more {
  color: #92400e;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
}

.studio-sidebar-contract__attention-details {
  min-width: 0;
}

.studio-sidebar-contract__attention-details summary {
  cursor: pointer;
  color: #92400e;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.25;
}

.studio-sidebar-contract__attention-detail-list {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 8px 0 0;
  padding: 8px 0 0;
  border-top: 1px solid rgba(217, 119, 6, 0.16);
  list-style: none;
}

.studio-sidebar-contract__attention-detail-list li {
  display: grid;
  gap: 3px;
  min-width: 0;
  color: #111827;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__attention-detail-list strong {
  font-size: 11px;
  font-weight: 950;
  line-height: 1.22;
}

.studio-sidebar-contract__attention-detail-list span {
  color: rgba(17, 24, 39, 0.68);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.3;
}

.studio-sidebar-contract__attention-detail-list b {
  color: #111827;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.3;
}

.studio-sidebar-contract__provider-options {
  min-width: 0;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
}

.studio-sidebar-contract__provider-options summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 10px 11px;
  cursor: pointer;
}

.studio-sidebar-contract__provider-options summary strong {
  min-width: 0;
  color: #111827;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

.studio-sidebar-contract__provider-options summary span {
  display: inline-grid;
  place-items: center;
  max-width: 110px;
  padding: 3px 7px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.04);
  color: rgba(17, 24, 39, 0.62);
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__provider-options-body {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 0 11px 11px;
}

.studio-sidebar-contract__provider-options-body p {
  margin: 0;
  color: rgba(17, 24, 39, 0.68);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__provider-options-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 8px;
  min-width: 0;
}

.studio-sidebar-contract__provider-options-actions .studio-action-button {
  min-height: 34px;
  padding: 7px 8px;
  font-size: 10px;
}

.studio-sidebar-contract__section {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px 10px 10px 11px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-left: 0;
  border-radius: 10px;
  background: #ffffff;
}

.studio-sidebar-contract__heading {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin: 0;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(17, 24, 39, 0.58);
}

.studio-sidebar-contract__step {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.06);
  color: #111827;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.studio-sidebar-contract__heading b {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  color: #111827;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.studio-sidebar-contract__list {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.studio-sidebar-contract__item {
  display: grid;
  gap: 3px;
  min-width: 0;
  box-sizing: border-box;
  padding: 0;
  border: 0;
  border-top: 0;
  border-radius: 0;
  background: transparent;
  color: #111827;
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__item:first-child {
  border-top: 0;
}

.studio-sidebar-contract__item::before {
  content: none;
}

.studio-sidebar-contract__item::after {
  content: none;
}

.studio-sidebar-contract__item strong,
.studio-sidebar-contract__item span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.studio-sidebar-contract__item-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.studio-sidebar-contract__item-top strong {
  color: #111827;
  font-weight: 930;
}

.studio-sidebar-contract__source {
  align-self: start;
  max-width: 84px;
  padding: 3px 6px;
  background: rgba(17, 24, 39, 0.05);
  color: rgba(17, 24, 39, 0.64);
}

.studio-sidebar-contract__why,
.studio-sidebar-contract__next {
  color: rgba(17, 24, 39, 0.74);
}

.studio-sidebar-contract__next {
  color: #111827;
  font-weight: 880;
}

.studio-sidebar-contract__section--evidence .studio-sidebar-contract__item {
  color: #111827;
}

.studio-sidebar-contract__section--evidence .studio-sidebar-contract__item::before {
  content: none;
}

.studio-sidebar-contract__section--evidence .studio-sidebar-contract__item::after {
  content: none;
}

.studio-sidebar-contract__section--code .studio-sidebar-contract__item {
  color: #111827;
}

.studio-sidebar-contract__section--code .studio-sidebar-contract__item::before {
  content: none;
}

.studio-sidebar-contract__section--verify .studio-sidebar-contract__item {
  color: #111827;
}

.studio-sidebar-contract__section--verify .studio-sidebar-contract__item::before {
  content: none;
}

.studio-sidebar-contract__section--human .studio-sidebar-contract__item {
  color: #111827;
}

.studio-sidebar-contract__section--human .studio-sidebar-contract__item::before {
  content: none;
}

.studio-sidebar-contract__item--empty {
  color: #111827;
}

.studio-sidebar-contract__item--empty::before {
  content: none;
}

.studio-sidebar-contract__item--empty::after {
  content: none;
}

.studio-sidebar-contract__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding-top: 2px;
}

.studio-sidebar-contract__actions .studio-action-button {
  min-height: 40px;
  padding: 0 10px;
  font-size: 11px;
}

@media (max-width: 360px) {
  .studio-sidebar-contract__actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

.studio-sidebar-contract__section--evidence {
  box-shadow: inset 3px 0 0 #10b981;
}

.studio-sidebar-contract__section--code {
  box-shadow: inset 3px 0 0 #d97706;
}

.studio-sidebar-contract__section--verify {
  box-shadow: inset 3px 0 0 #64748b;
}

.studio-sidebar-contract__section--human {
  box-shadow: inset 3px 0 0 #2563eb;
}
