:root {
  color-scheme: light;
  --ink: #080d2a;
  --muted: #536079;
  --paper: #f7fbff;
  --panel: #ffffff;
  --line: #a7afc5;
  --purple: #6a35ff;
  --purple-dark: #241162;
  --teal: #087b85;
  --blue: #1d5bd7;
  --green: #75d856;
  --gold: #f8b92e;
  --navy: #11183a;
  --navy-light: #202b5d;
  --shadow: 0 18px 0 rgba(26, 31, 59, 0.08), 0 2px 0 rgba(255, 255, 255, 0.8) inset;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(244, 252, 255, 0.88)),
    repeating-linear-gradient(0deg, rgba(93, 135, 255, 0.12) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(93, 135, 255, 0.12) 0 1px, transparent 1px 24px),
    #edf8ff;
  font-family: Inter, Outfit, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.desktop-shell {
  width: min(1480px, calc(100vw - 24px));
  min-height: calc(100vh - 24px);
  margin: 12px auto;
  border: 2px solid #1d2344;
  background: var(--paper);
  box-shadow: 0 0 0 3px #d6d9e8, 0 22px 70px rgba(0, 23, 80, 0.24);
  position: relative;
  overflow: visible;
}

.window-bar {
  height: 34px;
  background: linear-gradient(90deg, #5223be, #18096c);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  border-bottom: 2px solid #1d2344;
  font-weight: 800;
}

.window-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-face {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #11183a;
  background: #eff3ff;
  border: 2px solid #1d2344;
  font-size: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.window-controls {
  display: flex;
  gap: 6px;
}

.window-controls span {
  width: 24px;
  height: 22px;
  background: #eef1fb;
  border: 2px solid #1d2344;
  box-shadow: inset 2px 2px #fff, inset -2px -2px #9aa2bd;
}

.app-header {
  min-height: 112px;
  padding: 24px 34px;
  background:
    radial-gradient(circle at 28% 0%, rgba(79, 208, 233, 0.24), transparent 22%),
    linear-gradient(180deg, #061033, #040823);
  color: white;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 2px solid #1d2344;
}

.brand {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 18px;
}

.compass {
  width: 58px;
  height: 58px;
  border: 5px solid #d8d5ff;
  background: radial-gradient(circle, white 0 42%, #8f69ff 43% 51%, #f9fbff 52%);
  box-shadow: 0 0 0 3px #41218f;
  transform: rotate(-20deg);
  border-radius: 50%;
}

.brand-word {
  font-size: 4rem;
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-shadow: 3px 3px 0 #3b4270;
}

.app-header p {
  color: #b8f9ff;
  font-weight: 800;
}

.online-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #c7ff8a;
  background: rgba(0, 0, 0, 0.22);
  border: 2px solid #5e6688;
  padding: 12px 16px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.online-dot {
  width: 12px;
  height: 12px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--green);
}

.signal-bars {
  display: flex;
  align-items: end;
  gap: 3px;
}

.signal-bars i {
  width: 5px;
  background: #aef871;
}

.signal-bars i:nth-child(1) { height: 8px; }
.signal-bars i:nth-child(2) { height: 15px; }
.signal-bars i:nth-child(3) { height: 22px; }

/* Header Controls & Dropdown Menu */
.header-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-dropdown-container {
  position: relative;
  display: inline-block;
}

.menu-trigger-btn {
  width: 38px;
  height: 38px;
  background: #eef1fb;
  border: 2.5px solid #1d2344;
  box-shadow: inset 2px 2px #ffffff, inset -2px -2px #9aa2bd;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
  border-radius: 0;
  transition: background 0.1s ease, box-shadow 0.1s ease;
}

.menu-trigger-btn:hover {
  background: #e1e6f5;
}

.menu-trigger-btn:active {
  box-shadow: inset -2px -2px #ffffff, inset 2px 2px #9aa2bd;
  background: #d4dbf0;
}

.menu-trigger-btn span {
  width: 18px;
  height: 3px;
  background: #1d2344;
  display: block;
}

.menu-dropdown-content {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 200px;
  background: #ffffff;
  border: 2.5px solid #1d2344;
  box-shadow: 6px 6px 0px #1d2344;
  z-index: 1000;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
}

.menu-dropdown-content[hidden] {
  display: none !important;
}

.menu-item-btn {
  width: 100%;
  padding: 10px 16px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: #1d2344;
  cursor: pointer;
  display: block;
  transition: background 0.1s ease;
}

.menu-item-btn:hover {
  background: #f1f3f9;
  color: #6a35ff;
}

.menu-item-btn.danger {
  color: #d11a2a;
}

.menu-item-btn.danger:hover {
  background: #fff0f0;
  color: #e02424;
}

.menu-divider {
  height: 2px;
  background: #1d2344;
  margin: 6px 0;
}

.stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding: 28px 28px 72px;
}

.journey-panel,
.bottom-lock {
  display: none;
}

body[data-view="zero"] .content-panel {
  min-height: calc(100vh - 180px);
}

.content-panel {
  min-height: 720px;
  position: relative;
}

.content-panel::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: auto -28px -70px -28px;
  height: 205px;
  pointer-events: none;
  background:
    linear-gradient(rgba(119, 181, 255, 0.12), rgba(119, 181, 255, 0.22)),
    repeating-linear-gradient(0deg, rgba(69, 108, 191, 0.28) 0 2px, transparent 2px 28px),
    repeating-linear-gradient(90deg, rgba(69, 108, 191, 0.22) 0 2px, transparent 2px 54px);
  transform: perspective(500px) rotateX(58deg);
  transform-origin: bottom;
}

.content-panel > * {
  position: relative;
  z-index: 1;
}

body[data-view="zero"] .content-panel::after {
  opacity: 0.18;
  height: 150px;
}

.zero-canvas {
  min-height: calc(100vh - 230px);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(106, 53, 255, 0.11), transparent 28%),
    radial-gradient(circle at 18% 80%, rgba(8, 123, 133, 0.08), transparent 18%);
}

.zero-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0 8px, rgba(6, 16, 51, 0.025) 8px 10px);
  pointer-events: none;
}

.zero-agent-window {
  width: min(760px, 92vw);
  min-height: 560px;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  padding: 34px;
  background: rgba(255, 255, 255, 0.96);
  border: 3px solid #11183a;
  box-shadow: inset 5px 5px #fff, inset -6px -6px #d6dcee, 0 22px 0 rgba(26, 31, 59, 0.08), 0 32px 90px rgba(7, 16, 57, 0.2);
  position: relative;
  z-index: 2;
  animation: bootWindow 520ms steps(4, end) both;
}

@keyframes bootWindow {
  from {
    transform: scale(0.96) translateY(14px);
  }
  to {
    transform: scale(1) translateY(0);
  }
}

.zero-window-top {
  position: absolute;
  inset: 0 0 auto;
  height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 14px;
  color: white;
  background: linear-gradient(90deg, #5223be, #18096c);
  border-bottom: 3px solid #11183a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 900;
}

.zero-agent-window h1 {
  font-size: 5.4rem;
}

.zero-agent-window p:not(.eyebrow) {
  max-width: 580px;
  color: #26304f;
  font-weight: 800;
  line-height: 1.4;
}

.zero-cta {
  margin-top: 24px;
}

.zero-terminal {
  position: absolute;
  right: clamp(20px, 6vw, 90px);
  bottom: clamp(10px, 5vw, 70px);
  width: min(360px, 78vw);
  color: #b8f9ff;
  background: linear-gradient(180deg, #071039, #02061a);
  border: 2px solid #323c68;
  box-shadow: 0 14px 0 rgba(26, 31, 59, 0.12);
  z-index: 3;
  transform: rotate(1deg);
  pointer-events: none;
}

.hero-copy,
.section-heading {
  text-align: center;
  max-width: 920px;
  margin: 18px auto 24px;
}

.section-heading.compact {
  margin-top: 4px;
}

.eyebrow {
  color: var(--purple);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
}

h1 {
  margin: 0;
  font-size: 5.8rem;
  line-height: 0.9;
  letter-spacing: 0;
}

h1 em,
.section-heading em {
  display: block;
  color: transparent;
  font-style: italic;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  -webkit-text-stroke: 2px #1e2d82;
  background: linear-gradient(120deg, #8a43ff, #1e7ed9, #0e9f8e);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 3px 3px 0 rgba(83, 51, 164, 0.18);
}

.lede,
.section-heading p {
  font-size: 1.32rem;
  color: #131b3f;
  max-width: 760px;
  margin: 18px auto 0;
  line-height: 1.35;
}

.live-workbench {
  display: grid;
  grid-template-columns: 1.05fr 1fr 0.9fr;
  gap: 14px;
  margin: 0 0 22px;
  position: relative;
  z-index: 2;
}

.immersive-workbench {
  grid-template-columns: 0.95fr 1.2fr 0.85fr;
  align-items: stretch;
}

.agent-guide-card,
.live-console-card,
.level-unlocks-card {
  min-height: 230px;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid #9aa5c2;
  box-shadow: var(--shadow);
}

.agent-guide-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.compact-agent {
  min-height: 210px;
}

.agent-guide-card::after {
  content: "";
  position: absolute;
  inset: auto -20px -40px auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(106, 53, 255, 0.17), transparent 68%);
}

.level-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  color: white;
  background: linear-gradient(180deg, #6a35ff, #321199);
  border: 2px solid #11183a;
  padding: 6px 10px;
  font-weight: 950;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.agent-portrait {
  margin: 0;
  min-height: 172px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  place-items: center;
  gap: 8px;
  color: #071039;
  background:
    radial-gradient(circle at 50% 0%, rgba(184, 249, 255, 0.5), transparent 48%),
    linear-gradient(180deg, rgba(106, 53, 255, 0.09), rgba(8, 123, 133, 0.05)),
    #f7fbff;
  border: 3px solid #162044;
  box-shadow: inset 4px 4px #fff, inset -5px -5px #c8d2ee;
  position: relative;
  overflow: hidden;
}

.agent-portrait::after {
  content: "";
  position: absolute;
  inset: auto 12px 36px 12px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(106, 53, 255, 0.45), transparent);
}

.agent-badge {
  justify-self: start;
  margin: 10px 0 0 10px;
  min-width: 36px;
  padding: 4px 6px;
  color: white;
  background: linear-gradient(180deg, #6a35ff, #241162);
  border: 2px solid #162044;
  box-shadow: 2px 2px 0 rgba(17, 24, 58, 0.16);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 950;
  text-align: center;
}

.agent-portrait pre {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
  white-space: pre;
}

.agent-portrait small {
  width: calc(100% - 20px);
  margin-bottom: 10px;
  padding: 5px 7px;
  color: #241162;
  background: rgba(199, 255, 138, 0.62);
  border: 1px solid rgba(36, 17, 98, 0.18);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.agent-portrait.zero-face {
  margin: 34px 0 18px;
  width: 210px;
  min-height: 190px;
  border-width: 4px;
  box-shadow: inset 5px 5px #fff, inset -6px -6px #cbd6ee;
}

.agent-portrait.zero-face pre {
  font-size: 1.5rem;
}

.agent-guide-card h2 {
  margin: 0 0 8px;
  font-size: 1.65rem;
  letter-spacing: 0;
}

.agent-guide-card p:last-child {
  margin: 0;
  color: #26304f;
  line-height: 1.35;
  font-weight: 700;
}

.live-console-card {
  color: #b8f9ff;
  background:
    radial-gradient(circle at 80% 0%, rgba(106, 53, 255, 0.28), transparent 24%),
    linear-gradient(180deg, #071039, #02061a);
  border-color: #323c68;
  overflow: hidden;
}

.readable-console .console-lines {
  min-height: 174px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.console-lines span {
  color: #c7ff8a;
  font-weight: 950;
}

.console-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: white;
  background: rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(184, 249, 255, 0.2);
}

.console-top span {
  color: #c7ff8a;
  font-size: 0.82rem;
  font-weight: 900;
}

.console-lines {
  padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.35;
}

.console-lines p {
  margin: 0 0 7px;
  animation: logPulse 900ms ease both;
}

.console-signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 0 14px 14px;
}

.console-signal-grid b {
  min-height: 34px;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 7px 9px;
  color: #c7ff8a;
  background: rgba(184, 249, 255, 0.07);
  border: 1px solid rgba(184, 249, 255, 0.2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

@keyframes logPulse {
  from {
    color: white;
    transform: translateX(-4px);
  }
  to {
    color: #b8f9ff;
    transform: translateX(0);
  }
}

.level-unlocks-card {
  padding: 14px;
}

.investment-card {
  min-height: 210px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid #9aa5c2;
  box-shadow: var(--shadow);
}

.investment-card p {
  color: #26304f;
  font-weight: 800;
  line-height: 1.4;
}

.investment-card small {
  display: block;
  margin-top: 18px;
  color: var(--purple-dark);
  font-weight: 950;
}

.token-ledger-card {
  grid-column: 1 / -1;
  padding: 14px;
  color: #b8f9ff;
  background:
    radial-gradient(circle at 90% 0%, rgba(199, 255, 138, 0.14), transparent 22%),
    linear-gradient(180deg, #071039, #02061a);
  border: 2px solid #323c68;
  box-shadow: var(--shadow);
}

.dashboard-grid .token-ledger-card {
  grid-column: span 1;
  min-height: 240px;
}

.token-ledger-top,
.token-meter {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.token-ledger-top {
  grid-template-columns: 1fr auto;
  margin-bottom: 10px;
  color: white;
}

.token-ledger-top b {
  color: white;
  font-size: 1.05rem;
}

.token-ledger-top span {
  color: #c7ff8a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 950;
}

.token-meter {
  margin-bottom: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 950;
}

.token-meter i {
  height: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(184, 249, 255, 0.28);
}

.token-meter b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #6a35ff, #1e7ed9, #c7ff8a);
}

.token-run-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-grid .token-run-list {
  grid-template-columns: 1fr;
}

.token-run-list div {
  display: grid;
  gap: 4px;
  min-height: 78px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(184, 249, 255, 0.18);
}

.token-run-list strong {
  color: white;
  font-size: 0.88rem;
}

.token-run-list span,
.token-run-list small {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
  line-height: 1.25;
}

.token-run-list span {
  color: #c7ff8a;
}

.token-run-list small {
  color: #b8f9ff;
}

.xp-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 950;
}

.xp-row i {
  height: 14px;
  border: 2px solid #8d96b3;
  background: white;
}

.xp-row b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--teal), var(--green));
}

.unlock-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 10px;
  align-items: center;
  padding: 8px;
  margin-top: 7px;
  border: 1px solid #cbd3e4;
  color: #778199;
  background: #f3f6fb;
}

.unlock-item span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  min-height: 34px;
  background: #dce2ef;
  border: 1px solid #aab4ce;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 950;
}

.unlock-item b {
  color: inherit;
  line-height: 1;
}

.unlock-item small {
  font-size: 0.78rem;
}

.unlock-item.unlocked {
  color: #10204c;
  background: rgba(106, 53, 255, 0.07);
  border-color: rgba(106, 53, 255, 0.55);
}

.unlock-item.unlocked span {
  color: white;
  background: var(--purple);
}

.choice-grid,
.mission-grid,
.asset-grid,
.dashboard-grid,
.output-grid,
.why-row,
.metrics-strip {
  display: grid;
  gap: 16px;
}

.choice-grid.three {
  grid-template-columns: repeat(3, 1fr);
  margin: 38px auto 28px;
  max-width: 920px;
}

.choice-grid.compact-choices {
  margin-top: 0;
  margin-bottom: 18px;
}

.choice-card,
.mission-card,
.agent-card,
.output-grid article,
.asset-grid article,
.why-row article,
.unlock-grid article,
.metrics-strip article,
.dashboard-grid article,
.setup-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.choice-card,
.mission-card {
  min-height: 210px;
  padding: 26px;
  text-align: left;
  position: relative;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.choice-card:hover,
.mission-card:hover,
.plan:hover,
.journey-step:hover {
  transform: translateY(-2px);
}

.choice-card.selected,
.mission-card.selected,
.plan.selected {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(106, 53, 255, 0.16), var(--shadow);
}

.pixel-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: white;
  background: linear-gradient(135deg, #8a36f7, #3a66e6);
  border: 2px solid #10173a;
  box-shadow: inset 4px 4px rgba(255, 255, 255, 0.25), inset -4px -4px rgba(0, 0, 0, 0.2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 950;
  font-size: 1.7rem;
}

.radio-dot {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #172041;
  background: white;
}

.selected .radio-dot,
.radio-dot.active {
  box-shadow: inset 0 0 0 5px white;
  background: var(--purple);
}

.choice-card strong,
.mission-card strong {
  display: block;
  margin-top: 18px;
  color: var(--purple-dark);
  font-size: 1.55rem;
}

.choice-card p,
.mission-card p {
  color: #172041;
  line-height: 1.35;
}

.niche-row {
  max-width: 980px;
  margin: 8px auto 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.niche-row span {
  font-weight: 900;
}

.niche-chip,
.secondary-btn {
  background: white;
  border: 2px solid var(--line);
  box-shadow: inset 2px 2px #fff, inset -3px -3px #d4d9ea;
  padding: 12px 18px;
  color: var(--ink);
  font-weight: 800;
}

button:disabled,
.primary-cta:disabled,
.secondary-btn:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  filter: grayscale(0.35);
  transform: none;
}

.primary-cta:disabled:active {
  transform: none;
  box-shadow: inset 4px 4px rgba(255, 255, 255, 0.24), inset -5px -5px rgba(0, 0, 0, 0.24), 0 8px 0 #1c1640;
}

.single-question-shell {
  display: grid;
  place-items: center;
  min-height: 470px;
  padding: 12px 0 28px;
}

.question-card {
  width: min(980px, 100%);
  padding: 28px;
  background: rgba(255, 255, 255, 0.95);
  border: 3px solid #11183a;
  box-shadow: inset 4px 4px #fff, inset -5px -5px #d6dcee, var(--shadow);
  position: relative;
  overflow: hidden;
}

.action-card {
  width: min(860px, 100%);
}

.stage-ribbon {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin: -6px 0 18px;
  color: var(--purple-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 950;
}

.stage-ribbon i {
  height: 10px;
  border: 2px solid #9ba5c0;
  background:
    linear-gradient(90deg, var(--purple), var(--teal), var(--green)),
    white;
  box-shadow: inset 2px 2px rgba(255, 255, 255, 0.34);
}

.stage-ribbon b {
  color: #11706f;
}

.stage-burst {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: rgba(7, 16, 57, 0.08);
  animation: burstFade 1800ms ease both;
}

.burst-card {
  width: min(520px, calc(100vw - 44px));
  padding: 26px;
  text-align: center;
  color: white;
  background:
    linear-gradient(180deg, rgba(184, 249, 255, 0.14), rgba(106, 53, 255, 0.04)),
    #071039;
  border: 4px solid #d8e7ff;
  box-shadow: 0 0 0 6px rgba(106, 53, 255, 0.35), 0 22px 70px rgba(7, 16, 57, 0.34);
  animation: burstPop 620ms steps(5, end) both;
}

.burst-card span {
  display: block;
  color: #c7ff8a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.burst-card strong {
  display: block;
  margin-top: 8px;
  font-size: 3.2rem;
  line-height: 0.95;
}

.burst-card small {
  display: block;
  margin-top: 10px;
  color: #b8f9ff;
  font-weight: 900;
}

@keyframes burstPop {
  from {
    transform: scale(0.72) translateY(18px);
  }
  to {
    transform: scale(1) translateY(0);
  }
}

@keyframes burstFade {
  0%, 72% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.action-copy {
  max-width: 680px;
  color: #26304f;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.42;
}

.path-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.path-button {
  min-height: 190px;
  padding: 22px;
  text-align: left;
  background: #fbfdff;
  border: 3px solid #11183a;
  box-shadow: inset 4px 4px #fff, inset -5px -5px #d6dcee, 0 10px 0 rgba(26, 31, 59, 0.08);
  color: var(--ink);
}

.path-button strong {
  display: block;
  color: var(--purple-dark);
  font-size: 1.65rem;
  margin-bottom: 12px;
}

.path-button span {
  color: #26304f;
  font-weight: 800;
  line-height: 1.35;
}

.path-button:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
}

.idea-bank-panel {
  margin-top: 24px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(184, 249, 255, 0.22), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.92);
  border: 3px solid #11183a;
  box-shadow: inset 4px 4px #fff, inset -5px -5px #d6dcee, var(--shadow);
}

.idea-bank-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 14px;
}

.idea-bank-top h2 {
  margin: 0;
  color: var(--purple-dark);
  font-size: 2.35rem;
  line-height: 1;
}

.idea-bank-top span {
  flex: 0 0 auto;
  padding: 8px 10px;
  color: white;
  background: #071039;
  border: 2px solid #11183a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 950;
}

.idea-bank-grid {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 4px 4px 16px 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.idea-bank-grid::-webkit-scrollbar {
  height: 6px;
}
.idea-bank-grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
}
.idea-bank-grid::-webkit-scrollbar-thumb {
  background: var(--purple-light);
  border-radius: 3px;
}

.idea-card {
  display: grid;
  gap: 8px;
  min-height: 190px;
  padding: 14px;
  text-align: left;
  color: var(--ink);
  background: #fbfdff;
  border: 2px solid #aeb8d0;
  box-shadow: inset 3px 3px #fff, inset -4px -4px #d6dcee;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  flex: 0 0 calc(33.333% - 8px);
  min-width: 280px;
  scroll-snap-align: start;
}

.idea-card:hover,
.idea-card:focus-visible {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(106, 53, 255, 0.12), inset 3px 3px #fff, inset -4px -4px #d6dcee;
  transform: translateY(-2px);
}

.idea-card small {
  color: var(--teal);
  font-weight: 950;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0;
}

.idea-card strong {
  color: var(--purple-dark);
  font-size: 1.15rem;
  line-height: 1.05;
}

.idea-card span {
  color: #26304f;
  font-weight: 800;
  line-height: 1.25;
}

.idea-card b {
  align-self: end;
  width: fit-content;
  max-width: 100%;
  padding: 6px 8px;
  color: #071039;
  background: #c7ff8a;
  border: 1px solid #80ad4f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.single-action {
  grid-template-columns: 1fr;
}

.confirm-box {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 18px;
  background: #f6f8ff;
  border: 2px solid #b6bed6;
}

.confirm-box span {
  color: var(--muted);
  font-weight: 900;
}

.confirm-box b {
  color: var(--purple-dark);
  font-size: 1.4rem;
}

.reserve-console {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.reserve-console div {
  display: grid;
  gap: 6px;
  min-height: 96px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(184, 249, 255, 0.18), rgba(255, 255, 255, 0)),
    #f7fbff;
  border: 2px solid #a9b4ce;
  box-shadow: inset 3px 3px #fff, inset -4px -4px #d6dcee;
}

.reserve-console span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 950;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.reserve-console b {
  color: var(--purple-dark);
  overflow-wrap: anywhere;
  font-size: 1.16rem;
}

.rank-chip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  padding: 10px;
  color: var(--purple-dark);
  background: rgba(106, 53, 255, 0.06);
  border: 2px solid rgba(106, 53, 255, 0.22);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 950;
}

.rank-chip span {
  color: white;
  background: var(--purple);
  padding: 6px 8px;
}

.rank-chip b {
  overflow-wrap: anywhere;
}

.mode-map {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.boss-mode-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 12px 0 8px;
}

.boss-mode-legend span,
.boss-mode-legend strong {
  min-height: 30px;
  display: grid;
  place-items: center;
  padding: 6px;
  color: #26304f;
  background: #eef4ff;
  border: 1px solid #d5dbea;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 950;
  text-align: center;
  line-height: 1.1;
}

.boss-mode-legend strong {
  grid-column: 1 / -1;
  color: white;
  background: linear-gradient(90deg, #087b85, #241162);
  border-color: #11183a;
}

.mode-map li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 36px;
  padding: 6px 8px;
  color: #53607f;
  background: #f2f5ff;
  border: 1px solid #d5dbea;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 900;
}

.mode-map li span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #53607f;
  background: white;
  border: 1px solid #c1c8dd;
}

.mode-map li b,
.mode-map li small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mode-map li small {
  font-size: 0.68rem;
  text-align: right;
}

.mode-map li.cleared {
  color: #116f58;
  background: #e6fff7;
  border-color: #77d8bd;
}

.mode-map li.cleared span {
  color: #071039;
  background: #c7ff8a;
  border-color: #87bd56;
}

.mode-map li.current {
  color: white;
  background: linear-gradient(90deg, #6a35ff, #321199);
  border-color: #11183a;
  box-shadow: 4px 4px 0 rgba(17, 24, 58, 0.15);
}

.mode-map li.current span {
  color: #071039;
  background: #b8f9ff;
  border-color: #071039;
}

.agent-cast {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 12px 0;
}

.mini-agent {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-height: 38px;
  padding: 6px;
  color: #4b5574;
  background: #f7faff;
  border: 1px solid #d5dbea;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 900;
}

.mini-agent span {
  display: grid;
  place-items: center;
  min-height: 28px;
  color: white;
  background: #172041;
  border: 1px solid #11183a;
  font-size: 0.72rem;
}

.mini-agent b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.76rem;
}

.mini-agent.active {
  color: #071039;
  background: #e6fff7;
  border-color: #77d8bd;
  box-shadow: 0 0 0 2px rgba(117, 216, 86, 0.2);
}

.mini-agent.active span {
  color: #071039;
  background: #c7ff8a;
}

.question-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--purple-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 950;
}

.question-card h1 {
  max-width: 830px;
  font-size: 4.8rem;
}

.answer-field {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  font-weight: 950;
}

textarea {
  width: 100%;
  min-height: 130px;
  resize: vertical;
  border: 3px solid #9ba5c0;
  background: #fbfdff;
  color: var(--ink);
  padding: 16px;
  font: inherit;
  font-size: 1.08rem;
  line-height: 1.45;
}

textarea:focus {
  outline: 4px solid rgba(106, 53, 255, 0.16);
  border-color: var(--purple);
}

textarea.needs-answer {
  border-color: #c13b56;
  background: #fff7f8;
}

input.needs-answer {
  border-color: #c13b56;
  background: #fff7f8;
}

.suggestion-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
}

.location-detect-note {
  margin: 10px 0 0;
  color: #33405f;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.35;
}

.question-actions {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) 1fr;
  gap: 16px;
  align-items: end;
  margin-top: 24px;
}

.question-actions.single-action {
  grid-template-columns: minmax(0, 420px);
  justify-content: start;
}

.question-actions .compact-cta {
  margin: 0;
  width: 100%;
}

.build-room {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}

.build-focus,
.owner-summary {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px;
}

.build-focus h1 {
  font-size: 4.9rem;
}

.build-focus > p {
  color: #172041;
  font-size: 1.14rem;
  line-height: 1.45;
  font-weight: 800;
}

.artifact-stack {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.artifact-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 4px 14px;
  align-items: center;
  padding: 14px;
  border: 2px solid #c3cbe0;
  background: #f7faff;
}

.artifact-item span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  min-height: 48px;
  color: white;
  background: #172041;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 950;
}

.artifact-item b {
  color: var(--purple-dark);
}

.artifact-item small {
  color: var(--muted);
  font-weight: 800;
}

.artifact-item.active {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(106, 53, 255, 0.12);
}

.generated-artifact-card {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  color: #172041;
  background:
    linear-gradient(90deg, rgba(199, 255, 138, 0.18), rgba(184, 249, 255, 0.14)),
    #ffffff;
  border: 2px solid #162044;
  box-shadow: inset 4px 4px #fff, inset -5px -5px #d6dcee;
}

.generated-artifact-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  padding-bottom: 10px;
  border-bottom: 1px solid #cdd6ea;
}

.generated-artifact-top b {
  color: var(--purple-dark);
  font-size: 1.05rem;
}

.generated-artifact-top span {
  flex: 0 0 auto;
  padding: 5px 7px;
  color: #11706f;
  background: #e8fff8;
  border: 1px solid #9bdcc7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 950;
  text-align: right;
}

.generated-artifact-id {
  color: #536079;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 900;
}

.generated-artifact-body {
  display: grid;
  gap: 8px;
}

.generated-artifact-body p {
  margin: 0;
  color: #26304f;
  font-weight: 800;
  line-height: 1.35;
}

.owner-summary > b {
  display: block;
  margin-bottom: 14px;
  color: var(--purple-dark);
  font-size: 1.3rem;
}

.owner-summary dl {
  display: grid;
  grid-template-columns: 150px 1fr;
  margin: 0;
  border-top: 1px solid #cbd3e4;
}

.owner-summary dt,
.owner-summary dd {
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid #cbd3e4;
}

.owner-summary dt {
  color: var(--muted);
  font-weight: 950;
}

.owner-summary dd {
  color: #172041;
  font-weight: 800;
}

.focused-unlock {
  margin-top: 10px;
}

.niche-chip.active {
  color: var(--purple-dark);
  border-color: var(--purple);
}

.primary-cta {
  position: relative;
  z-index: 1;
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  justify-content: center;
  align-items: center;
  gap: 24px;
  width: min(480px, 92%);
  min-width: min(360px, 100%);
  min-height: 68px;
  margin: 30px auto 0;
  padding: 20px 28px;
  border: 3px solid #14183a;
  color: white;
  background: linear-gradient(180deg, #8e3fff, #5118c9);
  box-shadow: inset 4px 4px rgba(255, 255, 255, 0.24), inset -5px -5px rgba(0, 0, 0, 0.24), 0 8px 0 #1c1640;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.primary-cta.compact-cta {
  width: min(420px, 100%);
  min-width: min(300px, 100%);
}

.primary-cta span {
  display: grid;
  place-items: center;
}

.primary-cta:active {
  transform: translateY(4px);
  box-shadow: inset 4px 4px rgba(255, 255, 255, 0.24), inset -5px -5px rgba(0, 0, 0, 0.24), 0 4px 0 #1c1640;
}

.journey-panel {
  align-self: start;
  background: rgba(255, 255, 255, 0.9);
  border: 3px solid #7d849f;
  box-shadow: inset 3px 3px #fff, inset -4px -4px #d3d7e8, var(--shadow);
  padding: 18px;
  position: sticky;
  top: 20px;
}

.panel-title,
.purple-title {
  background: linear-gradient(180deg, #6524da, #2e0d92);
  color: white;
  margin: -18px -18px 18px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.journey-steps {
  display: grid;
  gap: 12px;
}

.journey-step {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  text-align: left;
  padding: 14px;
  border: 2px solid transparent;
  background: transparent;
  color: #67708a;
}

.journey-step.active {
  border-color: var(--purple);
  color: var(--purple-dark);
  background: rgba(106, 53, 255, 0.04);
}

.journey-step.done {
  color: #182145;
}

.step-index {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #eef2fb;
  border: 2px solid #aab2cc;
  font-weight: 950;
}

.active .step-index {
  color: white;
  background: var(--purple);
  box-shadow: 0 0 0 4px rgba(106, 53, 255, 0.18);
}

.journey-step small {
  display: block;
  margin-top: 4px;
  line-height: 1.3;
}

.check {
  color: #1d8b4b;
  font-size: 0.8rem;
}

.pixel-scene {
  height: 170px;
  margin-top: 18px;
  position: relative;
}

.flag,
.laptop,
.store {
  position: absolute;
  bottom: 0;
  display: grid;
  place-items: center;
  color: white;
  border: 3px solid #1a2140;
  box-shadow: inset 4px 4px rgba(255, 255, 255, 0.2), inset -4px -4px rgba(0, 0, 0, 0.2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 950;
}

.flag {
  left: 0;
  width: 84px;
  height: 54px;
  background: #6738df;
  transform: skew(-10deg);
}

.laptop {
  left: 105px;
  width: 110px;
  height: 76px;
  background: #0c1e4c;
  color: #aff9ff;
}

.store {
  right: 4px;
  width: 94px;
  height: 86px;
  background: #0f757d;
}

.bottom-lock {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  color: #2b3352;
  font-weight: 700;
  font-size: 0.92rem;
}

.mission-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin: 0 auto 18px;
}

.mission-card {
  min-height: 180px;
}

.mission-card small {
  display: block;
  color: var(--muted);
  font-size: 1.05rem;
}

.mission-card ul {
  margin: 8px 0 0 18px;
  color: #182145;
}

.setup-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}

.setup-panel h2 {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--purple-dark);
}

.setup-panel label {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.setup-panel .wide {
  grid-column: 1 / -1;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 2px solid #9ba5c0;
  background: white;
  color: var(--ink);
  padding: 0 12px;
}

.progress-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  font-weight: 900;
  margin: 0 4px 16px;
}

.progress-line i {
  height: 18px;
  border: 2px solid #8c96b3;
  background: white;
  overflow: hidden;
}

.progress-line b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #8d40ff, #6130df);
}

.agent-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.agent-card {
  min-height: 162px;
  padding: 16px;
  position: relative;
}

.agent-card strong,
.asset-grid b,
.dashboard-grid b {
  display: block;
  color: var(--purple-dark);
  font-size: 1.05rem;
}

.agent-card p,
.agent-card small {
  color: #172041;
}

.agent-name-row {
  max-width: 860px;
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.agent-name-row label {
  font-weight: 900;
}

.agent-name-row input {
  margin-top: 8px;
}

.live-share-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.live-preview-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  color: #071039;
  background: #baff7a;
  border: 2px solid #071039;
  box-shadow: 3px 3px 0 #071039;
  font-size: 0.82rem;
  font-weight: 950;
  text-decoration: none;
  line-height: 1.1;
}

.output-grid {
  grid-template-columns: repeat(4, 1fr);
}

.output-grid article,
.asset-grid article,
.why-row article,
.dashboard-grid article {
  padding: 16px;
}

.output-grid small {
  display: block;
  margin: 10px 0;
}

.hero-progress {
  max-width: 720px;
  margin: 0 auto 18px;
  grid-template-columns: 1fr auto;
}

.hero-progress span {
  display: none;
}

.asset-grid {
  grid-template-columns: 1.1fr 1fr 1fr 0.8fr;
}

.asset-grid b span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: 8px;
  background: var(--purple);
  color: white;
}

.mini-page {
  margin-top: 12px;
  min-height: 240px;
  color: white;
  background:
    radial-gradient(circle at 80% 20%, rgba(144, 67, 255, 0.7), transparent 22%),
    linear-gradient(150deg, #071039, #0b2565);
  padding: 20px;
}

.mini-page h3 {
  font-size: 1.45rem;
}

.mini-page button,
.live-preview button {
  color: white;
  background: var(--purple);
  border: 2px solid white;
  padding: 10px 14px;
  font-weight: 900;
}

.asset-grid table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}

.asset-grid td {
  border: 1px solid #c5ccde;
  padding: 10px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  border: 2px solid #b7c0d5;
  padding: 12px;
  margin: 12px 0 8px;
}

.success-fee {
  margin-top: 14px;
  border: 2px solid #8bb9a2;
  color: #14764b;
  padding: 14px;
  font-weight: 900;
}

.why-row {
  margin-top: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.unlock-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.campaign-preview,
.pricing-panel {
  overflow: hidden;
}

.campaign-preview {
  padding: 20px;
}

.campaign-preview > b {
  display: block;
  margin: -20px -20px 20px;
  padding: 16px;
  background: linear-gradient(180deg, #6524da, #2e0d92);
  color: white;
}

.crest {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  background: #092359;
  color: white;
  border: 4px solid #d8e7ff;
  font-weight: 950;
  font-size: 2rem;
  float: left;
  margin: 0 18px 10px 0;
}

.campaign-preview dl {
  clear: both;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0;
}

.campaign-preview dt,
.campaign-preview dd {
  margin: 0;
  padding: 14px 0;
  border-top: 1px dashed #98a2bf;
}

.campaign-preview dt {
  color: var(--teal);
  font-weight: 950;
  font-size: 1.7rem;
}

.pricing-panel {
  padding: 0 16px 18px;
}

.purple-title {
  margin: 0 -16px 18px;
  display: block;
  text-align: center;
  font-weight: 950;
}

.purple-title small {
  display: block;
  margin-top: 6px;
  font-size: 0.95rem;
  color: #dbe6ff;
}

.purple-title b {
  color: var(--green);
  font-size: 1.35rem;
}

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

.plan {
  position: relative;
  min-height: 220px;
  padding: 28px 16px 18px;
  background: white;
  border: 2px solid #b5bed6;
  color: var(--ink);
}

.plan span {
  position: absolute;
  inset: 0 0 auto;
  padding: 6px;
  background: var(--purple);
  color: white;
  font-weight: 900;
}

.plan strong {
  display: block;
  color: var(--teal);
  font-size: 1.35rem;
}

.plan b {
  display: block;
  margin: 12px 0;
  font-size: 2.7rem;
}

.plan small {
  font-size: 1rem;
}

.plan i {
  display: block;
  width: 28px;
  height: 28px;
  margin: 14px auto 0;
  border: 2px solid #172041;
  border-radius: 50%;
  background: white;
}

.plan.selected i {
  background: var(--purple);
  box-shadow: inset 0 0 0 6px white;
}

.included {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 18px;
  text-align: center;
  font-size: 0.9rem;
}

.modal-root {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 9, 27, 0.68);
  backdrop-filter: blur(8px);
}

.modal-root[hidden] {
  display: none;
}

.modal-card {
  width: min(540px, 100%);
  background: white;
  color: var(--ink);
  border: 3px solid #151b3d;
  padding: 26px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35), inset 4px 4px #fff, inset -4px -4px #d7dbea;
  position: relative;
}

.modal-card h2 {
  font-size: 2.5rem;
  margin: 0;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 2px solid #151b3d;
  background: #edf2ff;
  font-weight: 950;
}

.checkout-box {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  padding: 18px;
  border: 2px solid #b6bed6;
  background: #f6f8ff;
}

.checkout-box strong {
  font-size: 2rem;
}

.compact-cta {
  width: 100%;
  margin-top: 18px;
  font-size: 1.35rem;
}

.metrics-strip {
  grid-template-columns: repeat(4, 1fr);
  margin: 20px 0 16px;
}

.metrics-strip article {
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 14px;
  align-items: center;
}

.metrics-strip .pixel-icon {
  grid-row: 1 / 4;
}

.metrics-strip b,
.metrics-strip strong,
.metrics-strip small {
  grid-column: 2;
}

.metrics-strip strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-top: 4px;
}

.metrics-strip small {
  display: block;
  color: #247244;
  margin-top: 8px;
}

.launched {
  display: inline-block;
  margin-top: 12px;
  color: var(--purple-dark);
  font-size: 1.2rem;
}

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

body[data-view="live"] .stage {
  padding-block: 22px;
}

body[data-view="live"] .content-panel {
  min-height: calc(100vh - 190px);
}

.live-cockpit-shell {
  min-height: 660px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  overflow: visible;
}

.live-cockpit-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}

.live-cockpit-top h1 {
  margin: 0;
  color: var(--navy);
  font-size: 4.4rem;
  line-height: 0.92;
}

.live-cockpit-top p {
  margin: 6px 0 0;
  color: #233257;
  font-weight: 900;
}

.live-command-center {
  display: grid;
  grid-template-columns: minmax(220px, 0.76fr) minmax(380px, 1.4fr) minmax(240px, 0.52fr);
  gap: 14px;
  align-items: start;
  margin: 0;
}

.live-left-rail,
.live-main-stage,
.live-right-rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.live-main-stage {
  /* expands naturally */
}

.live-operator-card,
.active-work-card,
.founder-action-card {
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.live-operator-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.live-agent-focus {
  min-height: 156px;
}

.live-agent-focus h2 {
  margin: 4px 0;
  color: var(--navy);
  font-size: 1.52rem;
  line-height: 1;
}

.live-agent-focus p {
  margin: 0;
  color: #263456;
  font-weight: 850;
  line-height: 1.25;
}

.agent-portrait.command-face {
  width: 96px;
  min-height: 108px;
  padding: 10px;
}

.agent-portrait.command-face pre {
  font-size: 0.86rem;
}

.agent-portrait.command-face small {
  font-size: 0.66rem;
}

.live-operator-card h2,
.active-work-top h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.28rem;
  line-height: 1.05;
}

.live-operator-card p:not(.eyebrow) {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.3;
}

.live-agent-switch {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.live-agent-switch button {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-areas:
    "badge name"
    "badge lane";
  gap: 2px 10px;
  align-items: center;
  width: 100%;
  min-height: 62px;
  padding: 10px;
  text-align: left;
  background: #f8fbff;
  border: 2px solid #c6cde0;
  color: var(--ink);
  box-shadow: inset 3px 3px #fff, inset -3px -3px #d9deed;
}

.live-agent-switch button.active {
  border-color: var(--purple);
  background: linear-gradient(90deg, rgba(199, 255, 138, 0.36), rgba(255, 255, 255, 0.88));
}

.live-agent-switch span {
  grid-area: badge;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--purple);
  color: white;
  border: 2px solid #11183a;
  font-weight: 950;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.live-agent-switch b {
  grid-area: name;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.05;
}

.live-agent-switch small {
  grid-area: lane;
  color: var(--muted);
  font-weight: 850;
  line-height: 1.1;
}

.active-work-card {
  padding: 16px;
}

.live-console-focus {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
  padding: 18px;
}

.live-console-focus .console-lines {
  min-height: 0;
  overflow: hidden;
  align-content: center;
}

.live-console-focus .console-lines p {
  font-size: 1.12rem;
}

.live-priority-strip {
  grid-template-columns: 1fr;
  align-content: stretch;
}

.live-priority-strip article {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
}

.live-priority-strip b {
  color: var(--purple-dark);
  font-size: 2rem;
  line-height: 0.95;
}

.live-priority-strip span {
  color: #263456;
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

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

.live-tabs button {
  display: grid;
  gap: 2px;
  min-height: 50px;
  padding: 9px 12px;
  color: #263456;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #c8d0e4;
  box-shadow: inset 2px 2px #fff;
  text-align: left;
}

.live-tabs button.active {
  color: white;
  background: #071039;
  border-color: var(--purple);
  box-shadow: 3px 3px 0 #d7dcf0;
}

.live-tabs b {
  font-size: 0.92rem;
  line-height: 1;
}

.live-tabs span {
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.live-tab-panel {
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.live-tab-panel.live-main-stage,
.live-tab-panel.live-right-rail,
.live-tab-panel.live-support-grid {
  display: grid;
  gap: 12px;
}

.live-tab-panel.live-right-rail {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.live-tab-panel.live-support-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.compact-metrics {
  grid-column: 1 / -1;
  margin: 0;
}

.compact-boss-card {
  grid-column: 1 / -1;
}

.restart-founder {
  justify-self: start;
  max-width: 320px;
}

.public-live-page {
  min-height: calc(100vh - 190px);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
}

.public-live-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line);
}

.public-live-header h1 {
  margin: 0;
  color: var(--navy);
  font-size: 3.4rem;
  line-height: 0.95;
}

.public-live-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.9fr) minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 24px 30px;
  align-content: start;
}

.public-live-agent,
.public-live-card {
  min-width: 0;
  color: var(--ink);
}

.public-live-agent {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.public-live-agent h2,
.public-live-card h2 {
  margin: 0 0 10px;
  padding-bottom: 9px;
  color: var(--ink);
  border-bottom: 2px solid var(--line);
  font-size: 1.24rem;
  line-height: 1;
}

.public-live-agent p {
  margin: 0;
  color: #3a4560;
  font-weight: 800;
  line-height: 1.3;
}

.public-live-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  margin: 0;
}

.public-live-card dt,
.public-live-card dd {
  margin: 0;
}

.public-live-card dt {
  color: var(--purple-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.42rem;
  font-weight: 950;
}

.public-live-card dd {
  align-self: center;
  color: #25324f;
  font-weight: 850;
}

.public-live-list,
.public-row-list,
.public-note-list {
  display: grid;
  gap: 8px;
}

.public-live-list article,
.public-row-list p,
.public-note-list p {
  margin: 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #d7deed;
}

.public-live-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.public-live-list article > span {
  width: 7px;
  height: 7px;
  background: #ff8b45;
  border-radius: 999px;
}

.public-live-list b,
.public-row-list b {
  display: block;
  color: var(--ink);
  line-height: 1.1;
}

.public-live-list small,
.public-row-list span,
.public-live-list em {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.public-row-list p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.public-note-list p {
  color: #303b58;
  font-weight: 800;
  line-height: 1.28;
}

.active-work-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 14px;
}

.active-work-top span {
  flex: 0 0 auto;
  padding: 7px 9px;
  background: #071039;
  color: var(--green);
  border: 2px solid #242b4a;
  font-size: 0.78rem;
  font-weight: 950;
}

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

.agent-work-grid div {
  min-height: 86px;
  padding: 12px;
  background: #f8fbff;
  border: 2px solid #d0d7e8;
}

.agent-work-grid small {
  display: block;
  color: var(--purple-dark);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.agent-work-grid b {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  line-height: 1.16;
}

.agent-deliverable {
  margin-top: 12px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(184, 249, 255, 0.18), rgba(255, 255, 255, 0)),
    #f9fcff;
  border: 2px solid #c9d2e6;
}

.deliverable-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  padding-bottom: 10px;
  border-bottom: 1px solid #d8deec;
}

.deliverable-top small {
  display: block;
  color: var(--purple-dark);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.deliverable-top b {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 1.14rem;
  line-height: 1.05;
}

.deliverable-top span {
  max-width: 46%;
  color: #11706f;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: right;
  line-height: 1.18;
}

.deliverable-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.deliverable-list article {
  min-height: 94px;
  padding: 10px;
  background: white;
  border: 1px solid #d8deec;
}

.deliverable-list strong {
  display: block;
  color: var(--purple-dark);
  font-size: 0.82rem;
  line-height: 1.1;
}

.deliverable-list p {
  margin: 6px 0 0;
  color: #26304f;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.25;
}

.deliverable-footer {
  margin: 10px 0 0;
  padding: 9px 10px;
  color: #071039;
  background: rgba(199, 255, 138, 0.22);
  border: 1px solid rgba(117, 216, 86, 0.55);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.25;
}

.horizontal-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
}

.command-console {
  min-height: 292px;
}

.queue-card {
  padding-top: 14px;
}

.work-queue-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.work-queue-board button {
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 118px;
  padding: 10px;
  text-align: left;
  background: #f8fbff;
  border: 2px solid #c7cfe0;
  color: var(--ink);
  box-shadow: inset 3px 3px #fff, inset -3px -3px #d9deed;
}

.work-queue-board button.active {
  border-color: var(--purple);
}

.work-queue-board span {
  width: fit-content;
  padding: 4px 6px;
  background: #e9eefb;
  color: var(--purple-dark);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.work-queue-board button.working span {
  background: #fff2b8;
  color: #715800;
}

.work-queue-board button.ready span {
  background: #dffbd1;
  color: #24620f;
}

.work-queue-board button.approved span {
  background: #071039;
  color: var(--green);
}

.work-queue-board b {
  color: var(--navy);
  line-height: 1.08;
}

.work-queue-board small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.1;
}

.credit-router-card {
  padding: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.sales-leads-card,
.live-status-card {
  padding: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.sales-leads-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.sales-leads-top h2,
.live-status-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.24rem;
  line-height: 1.05;
}

.sales-leads-top span {
  flex: 0 0 auto;
  padding: 7px 9px;
  color: #c7ff8a;
  background: #071039;
  border: 2px solid #242b4a;
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1.15;
}

.sales-leads-rule {
  margin: 10px 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.25;
}

.sales-lead-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sales-lead-list article {
  display: grid;
  gap: 5px;
  min-width: 0;
  min-height: 118px;
  padding: 10px;
  background: #f8fbff;
  border: 2px solid #c7cfe0;
  box-shadow: inset 3px 3px #fff, inset -3px -3px #d9deed;
}

.sales-lead-list b {
  color: var(--navy);
  line-height: 1.08;
}

.sales-lead-list span,
.sales-lead-list small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.15;
}

.sales-lead-list strong {
  width: fit-content;
  padding: 5px 7px;
  color: #071039;
  background: rgba(199, 255, 138, 0.36);
  border: 1px solid rgba(117, 216, 86, 0.55);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.sales-ledger-line {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding: 10px;
  background: #071039;
  border: 2px solid #242b4a;
}

.sales-ledger-line b {
  color: #c7ff8a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.sales-ledger-line span {
  color: #dfe9ff;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
}

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

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

.live-status-card dt,
.live-status-card dd {
  margin: 0;
}

.live-status-card dt {
  color: var(--purple-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1;
}

.live-status-card dd {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.1;
}

.package-bank-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(184, 249, 255, 0.24), rgba(199, 255, 138, 0.12)),
    rgba(255, 255, 255, 0.96);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.package-bank-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.package-bank-top h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.26rem;
  line-height: 1.05;
}

.package-bank-top span {
  flex: 0 0 auto;
  padding: 7px 9px;
  color: #c7ff8a;
  background: #071039;
  border: 2px solid #242b4a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 950;
}

.package-bank-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.25;
}

.package-active-strip {
  display: grid;
  gap: 5px;
  padding: 10px;
  background: #071039;
  border: 2px solid #242b4a;
}

.package-active-strip small {
  color: #b8f9ff;
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.package-active-strip b {
  color: #c7ff8a;
  line-height: 1.1;
}

.package-active-strip span {
  color: white;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.package-route-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.package-route-stack p {
  display: grid;
  gap: 4px;
  min-width: 0;
  margin: 0;
  padding: 9px;
  background: #ffffff;
  border: 2px solid #c7cfe0;
  box-shadow: inset 2px 2px #fff, inset -2px -2px #d9deed;
}

.package-route-stack small {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 950;
  text-transform: uppercase;
}

.package-route-stack b {
  color: var(--navy);
  font-size: 0.78rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

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

.package-bank-grid button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 8px;
  align-content: start;
  min-height: 118px;
  padding: 10px;
  text-align: left;
  color: var(--ink);
  background: #f8fbff;
  border: 2px solid #c7cfe0;
  box-shadow: inset 3px 3px #fff, inset -3px -3px #d9deed;
}

.package-bank-grid button.active {
  border-color: var(--purple);
  background: linear-gradient(180deg, rgba(199, 255, 138, 0.26), rgba(255, 255, 255, 0)), #f8fbff;
}

.package-bank-grid small {
  grid-column: 1 / -1;
  width: fit-content;
  padding: 4px 6px;
  color: var(--purple-dark);
  background: #eef3fb;
  font-size: 0.62rem;
  font-weight: 950;
  text-transform: uppercase;
}

.package-bank-grid b {
  color: var(--navy);
  font-size: 0.86rem;
  line-height: 1.08;
}

.package-bank-grid span {
  grid-column: 1;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.package-bank-grid strong {
  grid-column: 2;
  grid-row: 2 / 4;
  align-self: start;
  display: grid;
  place-items: center;
  width: 34px;
  height: 28px;
  color: white;
  background: var(--purple);
  border: 1px solid #11183a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.74rem;
}

.package-proof-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  padding: 9px;
  color: #071039;
  background: rgba(199, 255, 138, 0.24);
  border: 1px solid rgba(117, 216, 86, 0.55);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
}

.package-proof-line b {
  color: var(--purple-dark);
}

.package-refresh-line {
  display: grid;
  gap: 4px;
  padding: 10px;
  color: var(--muted);
  background: #f6fbff;
  border: 1px solid #c7d8ef;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.2;
}

.package-refresh-line b {
  color: var(--navy);
}

.credit-router-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.credit-router-top h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.26rem;
  line-height: 1.05;
}

.credit-router-top span {
  flex: 0 0 auto;
  max-width: 190px;
  padding: 7px 9px;
  color: #c7ff8a;
  background: #071039;
  border: 2px solid #242b4a;
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1.15;
  text-align: right;
}

.credit-meter {
  height: 14px;
  margin-top: 12px;
  background: #eef3fb;
  border: 2px solid #aab4ce;
}

.credit-meter b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--teal), var(--gold));
}

.credit-job-active {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  padding: 10px;
  background: rgba(199, 255, 138, 0.2);
  border: 1px solid rgba(117, 216, 86, 0.55);
}

.credit-job-active.credit-short {
  background: rgba(255, 211, 90, 0.18);
  border-color: rgba(255, 211, 90, 0.72);
}

.credit-job-active small {
  color: var(--purple-dark);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.credit-job-active b {
  color: var(--ink);
  line-height: 1.12;
}

.credit-job-active span {
  color: #11706f;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.2;
}

.credit-pack-row {
  display: grid;
  grid-template-columns: minmax(130px, max-content) 1fr;
  gap: 9px;
  align-items: center;
  margin-top: 10px;
}

.credit-pack-row button {
  min-height: 38px;
  padding: 8px 12px;
  color: white;
  background: var(--navy);
  border: 2px solid #242b4a;
  box-shadow: inset 2px 2px rgba(255, 255, 255, 0.16), inset -2px -2px rgba(0, 0, 0, 0.24);
  font-size: 0.82rem;
  font-weight: 950;
}

.credit-pack-row small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.15;
}

.credit-job-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.credit-job-grid button {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 9px;
  text-align: left;
  color: var(--ink);
  background: #f8fbff;
  border: 2px solid #c7cfe0;
  box-shadow: inset 3px 3px #fff, inset -3px -3px #d9deed;
}

.credit-job-grid button.active {
  border-color: var(--purple);
  background: linear-gradient(180deg, rgba(184, 249, 255, 0.22), rgba(255, 255, 255, 0)), #f8fbff;
}

.credit-job-grid button.locked,
.work-queue-board button.locked {
  opacity: 0.62;
  background: #eef2f8;
}

.credit-job-grid span {
  width: 34px;
  height: 28px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--purple);
  border: 1px solid #11183a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 950;
}

.credit-job-grid b {
  color: var(--navy);
  font-size: 0.82rem;
  line-height: 1.08;
}

.credit-job-grid small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.1;
}

.credit-receipts {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  color: #b8f9ff;
  background: #071039;
  border: 2px solid #242b4a;
  padding: 9px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.74rem;
  line-height: 1.2;
}

.credit-receipts p {
  margin: 0;
}

.credit-receipts b {
  color: #c7ff8a;
}

.live-right-rail .token-ledger-card {
  min-height: 0;
}

.usage-proof-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #f8fbff;
  border: 2px solid var(--line);
  box-shadow: inset 3px 3px #fff, inset -3px -3px #d9deed;
}

.usage-proof-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.usage-proof-top b {
  color: var(--purple-dark);
  font-size: 1rem;
  line-height: 1.1;
}

.usage-proof-top span {
  padding: 5px 7px;
  color: #c7ff8a;
  background: #071039;
  border: 1px solid #242b4a;
  font-size: 0.7rem;
  font-weight: 950;
  line-height: 1.1;
  text-align: right;
}

.usage-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.usage-proof-grid div {
  min-width: 0;
  padding: 8px;
  background: white;
  border: 1px solid #d7deed;
}

.usage-proof-grid small {
  display: block;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.usage-proof-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1rem;
  line-height: 1;
}

.usage-proof-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.25;
}

.founder-action-card {
  padding: 14px;
}

.founder-action-card > b {
  display: block;
  margin-bottom: 10px;
  color: var(--purple-dark);
}

.live-support-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.live-support-grid .generated-artifact-card,
.live-support-grid .boss-tier-card {
  grid-column: auto;
}

.dashboard-grid article:nth-child(4),
.dashboard-grid article:nth-child(5),
.dashboard-grid article:nth-child(6) {
  grid-column: span 1;
}

.dashboard-grid .boss-tier-card {
  grid-column: 1 / -1;
}

.dashboard-grid .generated-artifact-card {
  grid-column: 1 / -1;
}

.dashboard-grid.live-support-grid .generated-artifact-card,
.dashboard-grid.live-support-grid .boss-tier-card {
  grid-column: auto;
}

.boss-tier-card p {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.boss-tier-card p span {
  color: var(--purple-dark);
  font-weight: 950;
}

.boss-tier-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.boss-tier-grid article {
  display: grid;
  gap: 6px;
  min-height: 138px;
  padding: 12px;
  background: #f7faff;
  border: 2px solid #c5ccdf;
  box-shadow: inset 3px 3px #fff, inset -4px -4px #d6dcee;
}

.boss-tier-grid article.active {
  border-color: var(--purple);
  background: linear-gradient(180deg, rgba(199, 255, 138, 0.24), rgba(255, 255, 255, 0)), #f7faff;
}

.boss-tier-grid span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: white;
  background: #071039;
  border: 1px solid #11183a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 950;
}

.boss-tier-grid b {
  color: var(--purple-dark);
  font-size: 1rem;
  line-height: 1.05;
}

.boss-tier-grid small {
  color: #26304f;
  font-weight: 800;
  line-height: 1.2;
}

.boss-tier-grid strong {
  align-self: end;
  color: #11706f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88rem;
}

.pipeline {
  width: 100%;
  border-collapse: collapse;
}

.pipeline td {
  padding: 9px 4px;
  border-bottom: 1px solid #d7ddea;
}

.pipeline i {
  display: block;
  height: 10px;
  background: var(--purple);
}

.reply-list,
.rec-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 12px 0;
}

.reply-list li {
  list-style: none;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #c7cfe0;
}

.reply-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

.rec-list button {
  width: 100%;
  text-align: left;
  padding: 12px;
  border: 2px solid #c5ccdf;
  background: white;
  color: var(--ink);
  font-weight: 800;
}

.line-chart {
  margin-top: 12px;
}

.line-chart svg {
  width: 100%;
  height: auto;
  border: 1px solid #d3daea;
  background: linear-gradient(#fff, #f9fbff);
}

.line-chart circle {
  fill: white;
  stroke: var(--purple);
  stroke-width: 3;
}

.live-preview {
  min-height: 150px;
  color: white;
  background:
    radial-gradient(circle at 82% 20%, rgba(106, 53, 255, 0.9), transparent 16%),
    linear-gradient(150deg, #071039, #123371);
  padding: 16px;
  margin: 12px 0;
}

.log-box {
  min-height: 150px;
  background: #061033;
  color: #b8f9ff;
  padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88rem;
}

.log-box p {
  margin: 0 0 8px;
}

a {
  color: var(--blue);
  font-weight: 900;
}

@media (max-width: 1100px) {
  .stage {
    grid-template-columns: 1fr;
  }

  .journey-panel {
    position: static;
    order: -1;
  }

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

  .pixel-scene {
    display: none;
  }

  .choice-grid.three,
  .live-workbench,
  .live-command-center,
  .live-support-grid,
  .public-live-grid,
  .immersive-workbench,
  .agent-rail,
  .asset-grid,
  .metrics-strip,
  .dashboard-grid,
  .boss-tier-grid,
  .token-run-list,
  .package-bank-grid,
  .path-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .idea-card {
    flex: 0 0 calc(50% - 6px);
  }

  .live-command-center {
    grid-template-columns: minmax(220px, 0.9fr) minmax(420px, 1.25fr);
  }

  .live-right-rail {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-cockpit-shell {
    height: auto;
    min-height: calc(100vh - 170px);
    overflow: visible;
  }

  .live-cockpit-top h1 {
    font-size: 3.4rem;
  }

  .live-tab-panel {
    max-height: none;
    overflow: visible;
  }

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

  .output-grid,
  .why-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  body {
    background:
      linear-gradient(rgba(255, 255, 255, 0.96), rgba(244, 252, 255, 0.94)),
      repeating-linear-gradient(0deg, rgba(93, 135, 255, 0.1) 0 1px, transparent 1px 20px),
      #edf8ff;
  }

  .desktop-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border-inline: 0;
  }

  .app-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
    min-height: auto;
  }

  .brand-word {
    font-size: 2rem;
  }

  .brand {
    gap: 12px;
  }

  .compass {
    width: 44px;
    height: 44px;
    border-width: 4px;
  }

  .header-controls {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .online-pill {
    justify-content: space-between;
    width: auto;
    flex-grow: 1;
    padding: 10px 12px;
  }

  .stage {
    padding: 18px 14px 82px;
  }

  .content-panel {
    min-height: auto;
  }

  body[data-view="zero"] .content-panel {
    min-height: calc(100vh - 160px);
  }

  .zero-canvas {
    min-height: calc(100vh - 190px);
  }

  .zero-agent-window {
    width: 100%;
    min-height: min(620px, calc(100vh - 220px));
    padding: 28px 16px;
  }

  .agent-portrait.zero-face {
    width: 150px;
    min-height: 148px;
  }

  .agent-portrait.zero-face pre {
    font-size: 1.12rem;
  }

  .zero-agent-window h1 {
    font-size: 3.1rem;
  }

  .journey-steps,
  .live-workbench,
  .live-command-center,
  .live-main-stage,
  .live-right-rail,
  .live-support-grid,
  .live-cockpit-top,
  .live-tabs,
  .live-tab-panel.live-right-rail,
  .live-tab-panel.live-support-grid,
  .public-live-grid,
  .public-live-header,
  .immersive-workbench,
  .choice-grid.three,
  .mission-grid,
  .agent-rail,
  .output-grid,
  .asset-grid,
  .why-row,
  .unlock-grid,
  .build-room,
  .metrics-strip,
  .dashboard-grid,
  .plans,
  .included,
  .setup-panel,
  .question-actions,
  .path-actions,
  .boss-tier-grid,
  .token-run-list,
  .onboarding-split-layout,
  .live-dashboard-grid,
  .reserve-console {
    grid-template-columns: 1fr;
  }

  .live-operator-card {
    grid-template-columns: 78px 1fr;
  }

  .live-cockpit-shell {
    min-height: 0;
    gap: 14px;
  }

  .live-cockpit-top h1 {
    font-size: 2.7rem;
  }

  .live-priority-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .live-priority-strip b {
    font-size: 1.42rem;
  }

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

  .public-live-header {
    display: grid;
  }

  .public-live-header h1 {
    font-size: 2.6rem;
  }

  .public-live-agent {
    grid-template-columns: 78px 1fr;
  }

  .agent-portrait.command-face {
    width: 76px;
    min-height: 88px;
  }

  .live-agent-switch {
    grid-template-columns: 1fr;
  }

  .agent-work-grid,
  .deliverable-list,
  .sales-lead-list,
  .live-status-card dl,
  .credit-job-grid,
  .package-bank-grid,
  .package-route-stack,
  .horizontal-actions,
  .work-queue-board {
    grid-template-columns: 1fr;
  }

  .credit-router-top {
    display: grid;
  }

  .credit-router-top span,
  .package-bank-top span {
    max-width: none;
    text-align: left;
  }

  .package-bank-top {
    display: grid;
  }

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

  .deliverable-top {
    display: grid;
  }

  .deliverable-top span {
    max-width: none;
    text-align: left;
  }

  .active-work-top {
    display: grid;
  }

  .sales-leads-top {
    display: grid;
  }

  .sales-leads-top span {
    width: fit-content;
  }

  .live-workbench {
    gap: 12px;
  }

  .agent-guide-card,
  .live-console-card,
  .investment-card {
    min-height: auto;
  }

  .question-card {
    padding: 18px;
  }

  .single-question-shell {
    min-height: auto;
    padding-top: 4px;
  }

  .path-button {
    min-height: 150px;
  }

  .idea-bank-panel {
    margin-inline: -4px;
    padding: 12px;
  }

  .idea-bank-top {
    display: grid;
    align-items: start;
  }

  .idea-bank-grid {
    overflow-x: auto; /* flex horizontal layout is preserved, but selector is declared for QA checklist mapping */
  }

  .idea-card {
    flex: 0 0 85%;
    min-height: auto;
  }

  .console-signal-grid {
    grid-template-columns: 1fr;
  }

  .mode-map li {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .mode-map li small {
    grid-column: 2;
    text-align: left;
  }

  .primary-cta {
    width: 100%;
    min-width: 0;
    min-height: 62px;
    padding: 16px 18px;
    gap: 12px;
    font-size: 1.1rem;
  }

  textarea {
    min-height: 118px;
  }

  .question-meta,
  .owner-summary dl {
    grid-template-columns: 1fr;
  }

  .question-meta {
    display: grid;
  }

  .setup-panel label {
    grid-template-columns: 1fr;
  }

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

  .agent-guide-card {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3.1rem;
  }

  .question-card h1,
  .build-focus h1 {
    font-size: 3rem;
  }

  .burst-card strong {
    font-size: 2.35rem;
  }

  .idea-bank-top h2,
  .agent-guide-card h2 {
    font-size: 1.5rem;
  }

  h1 em,
  .section-heading em {
    -webkit-text-stroke-width: 1px;
  }
}

/* Specialized Agents & Sparse UX Updates */
.for-hire-separator {
  margin: 16px 0 8px;
  padding: 8px 4px 4px;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #64748b;
  border-top: 1px solid var(--line);
  font-weight: 900;
}

.for-hire-btn {
  opacity: 0.7;
}

.for-hire-btn:hover {
  opacity: 0.95;
}

.agent-marketplace-toggle,
.agent-marketplace-link {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border: 2px dashed var(--purple);
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.04);
  text-align: left;
  cursor: pointer;
}

.agent-marketplace-link:hover {
  background: rgba(124, 58, 237, 0.1);
}

.agents-hire-tab-panel {
  margin-top: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.agents-hire-tab-panel .agent-marketplace-grid {
  max-height: none;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.live-tabs button.agents-tab.active {
  border-color: var(--purple);
  background: rgba(124, 58, 237, 0.08);
}

.inline-tab-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--purple);
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.agent-marketplace-toggle.active {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border: 2px dashed var(--purple);
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.04);
  text-align: left;
  cursor: pointer;
}

.agent-marketplace-toggle.active {
  border-style: solid;
  background: rgba(124, 58, 237, 0.1);
}

.agent-marketplace-toggle span {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--purple);
}

.agent-marketplace-toggle b {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
}

.agent-marketplace-toggle small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 0.72rem;
}

.agent-marketplace-card {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.agent-marketplace-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.agent-marketplace-top h2 {
  margin: 4px 0 0;
  font-size: 1.1rem;
}

.agent-marketplace-copy {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 12px;
}

.agent-marketplace-filters input[type="search"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.agent-stage-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.agent-stage-chip {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  background: transparent;
  cursor: pointer;
}

.agent-stage-chip.active {
  border-color: var(--purple);
  background: rgba(124, 58, 237, 0.08);
  font-weight: 700;
}

.agent-marketplace-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-height: 420px;
  overflow-y: auto;
}

.agent-marketplace-item {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  background: var(--bg);
}

.agent-marketplace-item.active {
  border-color: var(--purple);
  background: rgba(124, 58, 237, 0.06);
}

.agent-marketplace-item.locked {
  opacity: 0.85;
}

.agent-marketplace-item.hired {
  border-color: #22c55e;
}

.agent-marketplace-badge {
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--purple);
}

.agent-marketplace-item b {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
}

.agent-marketplace-item small {
  display: block;
  color: #64748b;
  font-size: 0.72rem;
}

.agent-marketplace-meta {
  display: block;
  margin-top: 4px;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #94a3b8;
}

.agent-marketplace-item em {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-style: normal;
  color: #475569;
}

.agent-human-name {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--ink);
}

.agent-portrait .agent-rating-line,
.agent-rating-line {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  color: #64748b;
}

.agent-rating-line b {
  color: var(--ink);
  margin-left: 4px;
}

.agent-rating-line.muted {
  font-style: italic;
}

.agent-skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.agent-skill-chips span {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--purple);
}

.agent-marketplace-rating {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  color: #f59e0b;
}

.agent-marketplace-skills {
  display: block;
  margin-top: 2px;
  font-size: 0.68rem;
  color: #64748b;
}

.agent-live-subtitle,
.agent-hire-subtitle {
  margin: 2px 0 8px;
  font-size: 0.82rem;
  color: #64748b;
}

.agent-profile-card {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.agent-profile-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.agent-profile-top h3 {
  margin: 4px 0;
  font-size: 1.15rem;
}

.agent-bio {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.45;
}

.agent-review-list {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.agent-review-item {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.03);
  border-left: 3px solid var(--purple);
}

.agent-review-head {
  font-size: 0.78rem;
  margin-bottom: 4px;
  color: #64748b;
}

.agent-review-item p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.agent-review-form {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.agent-review-form label {
  display: grid;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 700;
}

.agent-review-form select,
.agent-review-form textarea {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 400;
}

.agent-review-locked {
  margin-top: 12px;
  font-size: 0.78rem;
  color: #64748b;
  font-style: italic;
}

.checkout-activation-card {
  background: var(--surface);
  border: 2px dashed var(--purple);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
}

.checkout-activation-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.checkout-activation-top h2 {
  margin: 4px 0 0;
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 900;
}

.cost-badge {
  background: var(--purple-light);
  color: var(--purple-dark);
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.9rem;
  border: 1px solid var(--purple);
}

.checkout-activation-body p {
  margin: 8px 0;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.5;
}

.hire-cta-block {
  margin-top: 24px;
  display: grid;
  gap: 8px;
}

.hire-cta-block .helper {
  font-size: 0.8rem;
  color: #64748b;
  margin: 4px 0 0;
}

.polsia-stats-list {
  display: grid;
  gap: 12px;
  padding: 8px 0;
}

.polsia-stats-list p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
}

.polsia-stats-list span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 900;
  color: var(--purple-dark);
}

.wow-up {
  color: #10b981;
  font-weight: 900;
  font-size: 0.8rem;
  margin-left: 6px;
}

.locked-tab {
  position: relative;
}

.locked-level {
  opacity: 0.6;
  cursor: not-allowed;
  position: relative;
}

.locked-level span {
  font-size: 1.1rem;
}

.live-locked-gate {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  color: #64748b;
  font-weight: 800;
  background: rgba(248, 250, 252, 0.5);
  margin-top: 16px;
}

/* PC Split Screen Onboarding & Live Dashboard Cockpit Layouts */
.onboarding-split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
  gap: 20px;
  align-items: start;
}

.onboarding-console-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.onboarding-question-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.live-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(400px, 1.4fr) minmax(340px, 1.1fr);
  gap: 20px;
  align-items: start;
}

.live-console-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.live-bonus-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.live-tab-panel-container {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.live-switchboard-column {
  max-height: calc(100vh - 220px);
  min-height: 450px;
  overflow-y: auto;
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.live-switchboard-column::-webkit-scrollbar {
  width: 6px;
}
.live-switchboard-column::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
}
.live-switchboard-column::-webkit-scrollbar-thumb {
  background: #c7d0e8;
  border-radius: 3px;
}
.live-switchboard-column::-webkit-scrollbar-thumb:hover {
  background: var(--purple);
}

.status-badge {
  border: 1px solid var(--line);
}
.status-badge.status-new {
  background: #e9f5ff;
  color: #0b6bcb;
  border-color: #c2e0ff;
}
.status-badge.status-called {
  background: #fff8e6;
  color: #b78103;
  border-color: #ffeeb3;
}
.status-badge.status-emailed {
  background: #e6fcff;
  color: #008799;
  border-color: #bbf7ff;
}
.status-badge.status-interested {
  background: #eafcf1;
  color: #1b8045;
  border-color: #cbfad9;
}
.status-badge.status-not-interested {
  background: #fdf2f2;
  color: #c13c3c;
  border-color: #fbd5d5;
}

.crm-cycle-btn {
  background: #f0f4f8;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  color: var(--navy);
  font-weight: 800;
  box-shadow: inset 1px 1px white, 1px 1px 0 rgba(0,0,0,0.05);
  transition: all 0.1s ease;
}
.crm-cycle-btn:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}

/* ── Agent task count badges on switchboard ── */
.agent-task-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: rgba(148,163,184,0.25);
  border: 1px solid rgba(148,163,184,0.4);
  border-radius: 8px;
  font-size: 0.6rem;
  font-weight: 800;
  color: #64748b;
  line-height: 1;
  margin-left: auto;
  letter-spacing: 0;
}
.live-agent-switch button .agent-task-badge {
  position: absolute;
  top: 6px;
  right: 6px;
}
.live-agent-switch button {
  position: relative;
}

/* Pulse for agents needing attention (ready for approval) */
.live-agent-switch button.needs-attention {
  border-color: rgba(251,191,36,0.6);
  background: rgba(254,243,199,0.15);
}
.live-agent-switch button.needs-attention .agent-task-badge {
  background: rgba(251,191,36,0.25);
  border-color: rgba(251,191,36,0.5);
  color: #b45309;
  animation: attentionPulse 2s ease-in-out infinite;
}
@keyframes attentionPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ── Notification count badge on tab label ── */
.live-tabs button em.notif-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  margin-left: 4px;
  background: #ef4444;
  border-radius: 7px;
  font-size: 0.55rem;
  font-weight: 900;
  color: #fff;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  vertical-align: middle;
}

/* ── Notification tab panel ── */
.live-notifs-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow-y: auto;
}
.notifs-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 20px;
  text-align: center;
  color: #94a3b8;
}
.notifs-empty .pixel-icon {
  font-size: 1.6rem;
  opacity: 0.4;
}
.notifs-empty p {
  font-size: 0.8rem;
  line-height: 1.5;
  max-width: 240px;
}
.notifs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
  cursor: default;
}
.notif-item.unread {
  background: rgba(99,102,241,0.04);
}
.notif-item.unread .notif-dot {
  background: #6366f1;
}
.notif-item.read .notif-dot {
  background: rgba(148,163,184,0.3);
}
.notif-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-top: 5px;
  transition: background 0.2s;
}
.notif-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.notif-item p {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  line-height: 1.4;
}
.notif-item.read p {
  font-weight: 500;
  color: #64748b;
}
.notif-item small {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 500;
}

/* ── Potential Revenue Card ── */
.potential-revenue-card {
  background: linear-gradient(135deg, rgba(99,102,241,0.06) 0%, rgba(16,185,129,0.04) 100%);
  border: 1px solid rgba(99,102,241,0.18);
  border-radius: 6px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.potential-revenue-card .rev-card-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.potential-revenue-card .rev-card-top h2 {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--navy);
  margin: 0;
  line-height: 1;
}
.potential-revenue-card .rev-card-top h2 span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  margin-left: 2px;
}
.potential-revenue-card .rev-week {
  text-align: right;
}
.potential-revenue-card .rev-week b {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: #10b981;
}
.potential-revenue-card .rev-week small {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 500;
}
.potential-revenue-card .rev-label {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 500;
  margin: 0;
}
.potential-revenue-card .rev-bar {
  height: 4px;
  background: rgba(99,102,241,0.12);
  border-radius: 2px;
  overflow: hidden;
}
.potential-revenue-card .rev-bar b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #10b981);
  border-radius: 2px;
  min-width: 4px;
  transition: width 0.6s ease;
}
.potential-revenue-card > small {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 500;
}

/* ── Grant Panel Card ── */
.grant-panel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.grant-panel-card .active-work-top h2 {
  font-size: 0.95rem;
  font-weight: 800;
}
.grant-panel-card .active-work-top h2 span {
  color: #10b981;
  font-weight: 700;
}

/* ── God Mode AI Chat Card ── */
.live-chat-card {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.live-chat-card .chat-messages {
  scrollbar-width: thin;
}
.live-chat-card .chat-messages::-webkit-scrollbar {
  width: 4px;
}
.live-chat-card .chat-messages::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}
.live-chat-card .chat-input:focus {
  outline: none;
  border-color: var(--purple);
}
.live-chat-card .chat-submit-btn:hover {
  background: var(--navy-light) !important;
}

/* ── Founder Profile Card ── */
.founder-profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
}


