:root {
  --cyber-bg: #0a0e17;
  --cyber-panel: #0f1623;
  --cyber-panel-2: #111827;
  --cyber-border: #1e293b;
  --cyber-accent: #00f0ff;
  --cyber-accent-2: #7b2ff7;
  --cyber-warning: #f59e0b;
  --cyber-success: #10b981;
  --cyber-danger: #ef4444;
  --cyber-text: #e2e8f0;
  --cyber-muted: #64748b;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--cyber-bg);
  color: var(--cyber-text);
  font-family: "JetBrains Mono", "Fira Code", Consolas, monospace;
  letter-spacing: 0;
  overflow: hidden;
}

button,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.omni-console {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cyber-bg);
}

.ticker {
  height: 40px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--cyber-border);
  background: linear-gradient(135deg, var(--cyber-panel), var(--cyber-panel-2));
  overflow: hidden;
}

.ticker-label,
.ticker-status {
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 12px;
  border-right: 1px solid var(--cyber-border);
  color: var(--cyber-accent);
  font-size: 12px;
  font-weight: 800;
}

.ticker-status {
  gap: 8px;
  border-right: 0;
  border-left: 1px solid var(--cyber-border);
  color: var(--cyber-muted);
}

.ticker-track {
  position: relative;
  flex: 1;
  height: 100%;
  overflow: hidden;
}

.ticker-strip {
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 0 16px;
  white-space: nowrap;
  animation: ticker-scroll 34s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.ticker-source {
  color: var(--cyber-accent);
  font-weight: 700;
}

.ticker-message {
  color: rgba(226, 232, 240, 0.82);
}

.ticker-time {
  color: var(--cyber-muted);
}

.console-body {
  min-height: 0;
  flex: 1;
  display: flex;
  overflow: hidden;
}

.left-rail {
  width: 288px;
  flex: 0 0 288px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--cyber-border);
  overflow: hidden;
}

.main-stack {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.workspace-nav {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--cyber-border);
  background: linear-gradient(180deg, rgba(15, 22, 35, 0.94), rgba(10, 14, 23, 0.92));
  padding: 8px 10px;
}

.workspace-tab,
.view-header button,
.settings-section button {
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.08);
  color: var(--cyber-accent);
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 900;
}

.workspace-tab.is-active {
  border-color: rgba(0, 240, 255, 0.58);
  background: rgba(0, 240, 255, 0.14);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.workspace-view {
  min-height: 0;
  flex: 1;
  display: none;
  overflow: hidden;
}

.workspace-view.is-active {
  display: flex;
}

#homeView {
  flex-direction: column;
}

.lab-view,
.settings-view {
  flex-direction: column;
  gap: 12px;
  overflow: auto;
  padding: 12px;
}

.view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(30, 41, 59, 0.84);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(2, 6, 23, 0.42));
  padding: 12px;
}

.view-header h2,
.view-header p {
  margin: 0;
}

.view-header h2 {
  color: var(--cyber-accent);
  font-size: 14px;
}

.view-header p {
  margin-top: 4px;
  color: var(--cyber-muted);
  font-size: 11px;
}

.rail-section,
.broadcast,
.protocol-uplink {
  background: var(--cyber-bg);
}

.cluster-section {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.compact-section {
  border-top: 1px solid var(--cyber-border);
  padding: 12px;
}

.section-header {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--cyber-border);
}

.section-header.tight {
  min-height: 0;
  padding: 0 0 8px;
  border-bottom: 0;
}

.section-header h2,
.section-header h3,
.compact-section h3 {
  margin: 0;
  color: var(--cyber-accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.compact-section h3 {
  color: var(--cyber-warning);
  margin-bottom: 8px;
}

.section-header span {
  color: var(--cyber-muted);
  font-size: 12px;
}

.agent-list {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  overflow-y: auto;
}

.agent-card {
  border: 1px solid var(--cyber-border);
  border-radius: 8px;
  padding: 12px;
  background: linear-gradient(135deg, var(--cyber-panel), var(--cyber-panel-2));
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.agent-card.is-selected {
  border-color: rgba(0, 240, 255, 0.72);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.18);
}

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

.agent-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--cyber-text);
  font-size: 14px;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyber-muted);
}

.status-dot.is-live,
.status-dot.running {
  background: var(--cyber-accent);
  animation: status-pulse 2s ease-in-out infinite;
}

.status-dot.completed {
  background: var(--cyber-success);
}

.status-dot.blocked {
  background: var(--cyber-warning);
}

.status-dot.error {
  background: var(--cyber-danger);
}

.status-dot.ready,
.status-dot.configured {
  background: var(--cyber-success);
}

.status-dot.limited,
.status-dot.stale {
  background: var(--cyber-warning);
}

.status-dot.unchecked,
.status-dot.disabled {
  background: var(--cyber-muted);
}

.agent-meta,
.agent-task,
.agent-metrics {
  color: var(--cyber-muted);
  font-size: 11px;
}

.agent-task {
  overflow: hidden;
  margin: 8px 0;
  color: rgba(226, 232, 240, 0.72);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-chain {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 6px;
  align-items: center;
  min-height: 28px;
  margin: 8px 0;
  border: 1px solid rgba(71, 85, 105, 0.72);
  border-radius: 6px;
  padding: 6px 8px;
  background: rgba(15, 23, 42, 0.52);
  color: rgba(226, 232, 240, 0.84);
  font-size: 10px;
}

.agent-chain span,
.agent-chain em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-chain span {
  font-weight: 900;
}

.agent-chain em {
  color: var(--cyber-muted);
  font-style: normal;
}

.agent-chain.is-live {
  border-color: rgba(0, 240, 255, 0.42);
}

.agent-chain.is-live span {
  color: var(--cyber-accent);
}

.agent-chain.is-good {
  border-color: rgba(34, 197, 94, 0.38);
}

.agent-chain.is-good span {
  color: var(--cyber-success);
}

.agent-chain.is-warn {
  border-color: rgba(245, 158, 11, 0.42);
}

.agent-chain.is-warn span {
  color: var(--cyber-warning);
}

.agent-chain.is-blocked {
  border-color: rgba(239, 68, 68, 0.42);
}

.agent-chain.is-blocked span {
  color: var(--cyber-danger);
}

.node-role {
  border: 1px solid rgba(71, 85, 105, 0.72);
  border-radius: 999px;
  padding: 2px 7px;
  color: var(--cyber-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.node-state {
  display: grid;
  gap: 2px;
  min-height: 38px;
  margin: 8px 0;
  border: 1px solid rgba(71, 85, 105, 0.72);
  border-radius: 6px;
  padding: 7px 8px;
  background: rgba(15, 23, 42, 0.52);
}

.node-state span {
  color: var(--cyber-text);
  font-size: 11px;
  font-weight: 900;
}

.node-state em {
  min-width: 0;
  overflow: hidden;
  color: var(--cyber-muted);
  font-size: 10px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.node-state.is-live {
  border-color: rgba(0, 240, 255, 0.42);
}

.node-state.is-live span {
  color: var(--cyber-accent);
}

.node-state.is-good {
  border-color: rgba(34, 197, 94, 0.38);
}

.node-state.is-good span {
  color: var(--cyber-success);
}

.node-state.is-warn {
  border-color: rgba(245, 158, 11, 0.42);
}

.node-state.is-warn span {
  color: var(--cyber-warning);
}

.node-state.is-blocked {
  border-color: rgba(239, 68, 68, 0.42);
}

.node-state.is-blocked span {
  color: var(--cyber-danger);
}

.node-metrics {
  flex-wrap: wrap;
  gap: 6px 12px;
}

.node-empty-state {
  border-style: dashed;
}

.node-registry-detail {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  border-top: 1px solid rgba(71, 85, 105, 0.64);
  padding-top: 10px;
}

.node-registry-row {
  display: grid;
  grid-template-columns: minmax(70px, 0.42fr) minmax(0, 0.58fr);
  gap: 8px;
  align-items: center;
  min-height: 24px;
  color: var(--cyber-muted);
  font-size: 10px;
}

.node-registry-row span,
.node-registry-row strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.node-registry-row strong {
  color: rgba(226, 232, 240, 0.86);
  font-weight: 800;
}

.node-chain-detail {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  border-top: 1px solid rgba(71, 85, 105, 0.54);
  padding-top: 9px;
}

.node-chain-title {
  color: var(--cyber-accent);
  font-size: 10px;
  font-weight: 900;
}

.node-stage {
  display: grid;
  gap: 4px;
}

.node-stage strong {
  color: rgba(226, 232, 240, 0.78);
  font-size: 10px;
  font-weight: 800;
}

.node-stage .agent-chain {
  margin: 0;
}

.agent-assignment-detail {
  display: grid;
  gap: 6px;
  margin: 8px 0;
  border-left: 2px solid rgba(0, 240, 255, 0.52);
  padding-left: 8px;
}

.agent-assignment-title {
  color: var(--cyber-accent);
  font-size: 10px;
  font-weight: 900;
}

.agent-assignment-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 6px;
  color: rgba(226, 232, 240, 0.78);
  font-size: 10px;
}

.agent-assignment-row strong {
  color: var(--cyber-accent);
}

.agent-assignment-row span,
.agent-assignment-row em {
  min-width: 0;
  overflow: hidden;
  color: rgba(226, 232, 240, 0.74);
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-assignment-row em {
  grid-column: 1 / -1;
  color: var(--cyber-muted);
}

.progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--cyber-bg);
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--cyber-accent);
}

.agent-metrics {
  display: flex;
  gap: 12px;
}

.defender-list,
.vault-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.defender-row,
.vault-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--cyber-muted);
  font-size: 10px;
}

.defender-name {
  color: var(--cyber-success);
  font-weight: 900;
  text-transform: uppercase;
}

.vault-row {
  border-radius: 6px;
  background: rgba(10, 14, 23, 0.6);
  padding: 5px 8px;
}

.vault-type {
  color: var(--cyber-accent-2);
  font-weight: 900;
}

.vault-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: rgba(226, 232, 240, 0.82);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vault-source {
  color: var(--cyber-accent);
  font-size: 9px;
  text-transform: uppercase;
}

.broadcast {
  min-height: 240px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.58), rgba(10, 14, 23, 0.98));
}

.broadcast-header h2 {
  color: var(--cyber-accent);
}

.broadcast-state {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cyber-muted);
  font-size: 12px;
}

.message-list {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  overflow-y: auto;
}

.message-row {
  display: flex;
  gap: 12px;
}

.message-row.user {
  flex-direction: row-reverse;
}

.avatar {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.16);
  color: var(--cyber-accent);
  font-size: 12px;
  font-weight: 900;
}

.message-row.user .avatar {
  background: rgba(123, 47, 247, 0.2);
  color: var(--cyber-accent-2);
}

.message-row.system .avatar {
  background: rgba(245, 158, 11, 0.15);
  color: var(--cyber-warning);
}

.bubble {
  max-width: 75%;
  border: 1px solid var(--cyber-border);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyber-panel), var(--cyber-panel-2));
  padding: 9px 12px;
}

.message-row.user .bubble {
  border-color: rgba(123, 47, 247, 0.28);
  background: rgba(123, 47, 247, 0.1);
}

.message-row.system .bubble {
  border-color: rgba(245, 158, 11, 0.24);
  background: rgba(245, 158, 11, 0.06);
}

.agent-label {
  margin-bottom: 4px;
  color: var(--cyber-accent);
  font-size: 10px;
  font-weight: 900;
}

.bubble p {
  margin: 0;
  color: rgba(226, 232, 240, 0.9);
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.timestamp {
  margin-top: 6px;
  color: var(--cyber-muted);
  font-size: 10px;
}

.input-bar {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--cyber-border);
}

.input-bar textarea {
  flex: 1;
  min-height: 42px;
  max-height: 120px;
  resize: none;
  outline: none;
  border: 1px solid var(--cyber-border);
  border-radius: 8px;
  background: var(--cyber-bg);
  color: var(--cyber-text);
  padding: 11px 12px;
}

.input-bar textarea::placeholder {
  color: rgba(100, 116, 139, 0.62);
}

.home-command-panel {
  flex: 0 0 auto;
  max-height: min(46vh, 420px);
  overflow-y: auto;
  border-top: 1px solid var(--cyber-border);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(10, 14, 23, 0.96));
  padding: 12px;
}

.home-mvp-flow {
  margin-bottom: 10px;
}

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

.home-flow-item {
  position: relative;
  min-width: 0;
  min-height: 76px;
  border: 1px solid rgba(30, 41, 59, 0.84);
  border-radius: 7px;
  background: rgba(2, 6, 23, 0.32);
  padding: 9px 10px 9px 12px;
}

.home-flow-item::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 2px;
  background: rgba(100, 116, 139, 0.72);
}

.home-flow-item.is-live::before {
  background: var(--cyber-accent);
}

.home-flow-item.is-good::before {
  background: var(--cyber-success);
}

.home-flow-item.is-warn::before {
  background: var(--cyber-warning);
}

.home-flow-item.is-blocked::before {
  background: var(--cyber-danger);
}

.home-flow-item span,
.home-flow-item strong,
.home-flow-item em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-flow-item span {
  color: var(--cyber-muted);
  font-size: 10px;
  font-weight: 800;
}

.home-flow-item strong {
  margin-top: 5px;
  color: rgba(226, 232, 240, 0.94);
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
}

.home-flow-item em {
  margin-top: 5px;
  color: var(--cyber-muted);
  font-size: 10px;
  font-style: normal;
  line-height: 1.35;
}

.execution-story {
  margin-bottom: 10px;
}

.execution-story--lab {
  margin-top: 8px;
}

.trusted-delivery-summary {
  border: 1px solid rgba(30, 41, 59, 0.84);
  border-left: 3px solid rgba(100, 116, 139, 0.72);
  border-radius: 7px;
  background: rgba(2, 6, 23, 0.24);
  margin-bottom: 8px;
  min-width: 0;
  padding: 8px 10px;
}

.trusted-delivery-summary.is-live {
  border-left-color: var(--cyber-accent);
}

.trusted-delivery-summary.is-good {
  border-left-color: var(--cyber-success);
}

.trusted-delivery-summary.is-warn {
  border-left-color: var(--cyber-warning);
}

.trusted-delivery-summary.is-blocked {
  border-left-color: var(--cyber-danger);
}

.trusted-delivery-summary span,
.trusted-delivery-summary strong,
.trusted-delivery-summary em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trusted-delivery-summary span {
  color: var(--cyber-muted);
  font-size: 10px;
  font-weight: 900;
}

.trusted-delivery-summary strong {
  color: rgba(226, 232, 240, 0.96);
  font-size: 12px;
  line-height: 1.25;
  margin-top: 4px;
}

.trusted-delivery-summary em {
  color: var(--cyber-muted);
  font-size: 10px;
  font-style: normal;
  line-height: 1.35;
  margin-top: 4px;
}

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

.execution-story-item {
  position: relative;
  min-width: 0;
  min-height: 64px;
  border: 1px solid rgba(30, 41, 59, 0.84);
  border-radius: 7px;
  background: rgba(2, 6, 23, 0.24);
  padding: 8px 10px 8px 12px;
}

.execution-story-item::before {
  content: "";
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 0;
  width: 2px;
  background: rgba(100, 116, 139, 0.72);
}

.execution-story-item.is-live::before {
  background: var(--cyber-accent);
}

.execution-story-item.is-good::before {
  background: var(--cyber-success);
}

.execution-story-item.is-warn::before {
  background: var(--cyber-warning);
}

.execution-story-item.is-blocked::before {
  background: var(--cyber-danger);
}

.execution-story-item span,
.execution-story-item strong,
.execution-story-item em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.execution-story-item span {
  color: var(--cyber-muted);
  font-size: 10px;
  font-weight: 900;
}

.execution-story-item strong {
  display: -webkit-box;
  margin-top: 4px;
  color: rgba(226, 232, 240, 0.96);
  font-size: 12px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.execution-story-item em {
  display: -webkit-box;
  margin-top: 4px;
  color: var(--cyber-muted);
  font-size: 10px;
  font-style: normal;
  line-height: 1.35;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-next-step {
  border: 1px solid rgba(16, 185, 129, 0.26);
  border-left: 3px solid rgba(16, 185, 129, 0.74);
  border-radius: 7px;
  background: rgba(16, 185, 129, 0.08);
  color: var(--cyber-success);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
  padding: 10px 12px;
}

.operator-signals {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.operator-signals--lab {
  margin-top: 0;
}

.operator-signal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  border: 1px solid rgba(30, 41, 59, 0.84);
  border-left: 3px solid rgba(100, 116, 139, 0.72);
  border-radius: 7px;
  background: rgba(2, 6, 23, 0.28);
  padding: 9px 10px;
}

.operator-signal.is-live {
  border-left-color: var(--cyber-accent);
}

.operator-signal.is-good {
  border-left-color: var(--cyber-success);
}

.operator-signal.is-warn {
  border-left-color: var(--cyber-warning);
}

.operator-signal.is-blocked {
  border-left-color: var(--cyber-danger);
}

.operator-signal span,
.operator-signal strong,
.operator-signal em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.operator-signal span {
  color: var(--cyber-muted);
  font-size: 10px;
  font-weight: 900;
}

.operator-signal strong {
  margin-top: 4px;
  color: rgba(226, 232, 240, 0.96);
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
}

.operator-signal em {
  margin-top: 4px;
  color: var(--cyber-muted);
  font-size: 10px;
  font-style: normal;
  line-height: 1.35;
  white-space: nowrap;
}

.operator-signal button {
  border: 1px solid rgba(148, 163, 184, 0.36);
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.84);
  color: rgba(226, 232, 240, 0.9);
  padding: 8px 10px;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.input-bar button,
.uplink-actions button {
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 6px;
  background: rgba(0, 240, 255, 0.12);
  color: var(--cyber-accent);
  padding: 9px 14px;
  font-size: 11px;
  font-weight: 900;
}

.alpha-panel {
  border: 1px solid rgba(30, 41, 59, 0.88);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.62));
  padding: 12px;
}

.alpha-workbench {
  position: relative;
  display: grid;
  gap: 8px;
  overflow: hidden;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.22);
}

.alpha-workbench::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cyber-accent), rgba(16, 185, 129, 0.86));
}

.alpha-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto);
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 7px;
  background: rgba(2, 6, 23, 0.36);
  color: var(--cyber-text);
  font-size: 11px;
  font-weight: 900;
  padding: 10px 11px;
}

.alpha-head div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.alpha-head span,
.alpha-summary,
.alpha-next-step,
.alpha-history,
.alpha-run-detail,
.alpha-feedback,
.alpha-disclosure summary {
  color: var(--cyber-muted);
  font-size: 10px;
}

.alpha-head strong {
  color: rgba(226, 232, 240, 0.96);
  font-size: 12px;
}

.alpha-next-step {
  border: 1px solid rgba(16, 185, 129, 0.26);
  border-left: 3px solid rgba(16, 185, 129, 0.74);
  border-radius: 7px;
  background: rgba(16, 185, 129, 0.08);
  color: var(--cyber-success);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.45;
  padding: 9px 10px;
}

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

.engine-config-grid div {
  border: 1px solid rgba(30, 41, 59, 0.78);
  border-radius: 6px;
  background: rgba(2, 6, 23, 0.3);
  padding: 8px;
}

.engine-config-grid span,
.settings-row span {
  display: block;
  color: var(--cyber-muted);
  font-size: 10px;
}

.engine-config-grid strong,
.settings-row strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  margin-top: 4px;
  color: var(--cyber-text);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.remote-node-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border-top: 1px solid rgba(30, 41, 59, 0.72);
}

.remote-node-row {
  min-width: 0;
  border: 1px solid rgba(30, 41, 59, 0.78);
  border-radius: 6px;
  background: rgba(2, 6, 23, 0.34);
  padding: 8px;
}

.remote-node-row span {
  display: block;
  color: var(--cyber-muted);
  font-size: 10px;
}

.remote-node-row strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  margin-top: 4px;
  color: rgba(226, 232, 240, 0.96);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.alpha-disclosure {
  min-width: 0;
  border: 1px solid rgba(30, 41, 59, 0.86);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.62), rgba(2, 6, 23, 0.34));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
}

.alpha-disclosure[open] {
  border-color: rgba(56, 189, 248, 0.22);
}

.alpha-disclosure summary {
  display: grid;
  grid-template-columns: minmax(92px, auto) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  cursor: pointer;
  list-style: none;
  padding: 9px 10px;
}

.alpha-disclosure summary::-webkit-details-marker {
  display: none;
}

.alpha-disclosure summary::after {
  content: "+";
  justify-self: end;
  color: var(--cyber-accent);
  font-weight: 900;
}

.alpha-disclosure[open] summary::after {
  content: "-";
}

.alpha-disclosure summary span {
  color: var(--cyber-accent);
  font-weight: 900;
}

.alpha-disclosure summary em {
  min-width: 0;
  overflow: hidden;
  color: var(--cyber-muted);
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.alpha-summary {
  border-top: 1px solid rgba(30, 41, 59, 0.72);
  line-height: 1.45;
  padding: 9px 10px 10px;
}

.alpha-summary-grid {
  display: grid;
  gap: 7px;
}

.alpha-summary-row {
  position: relative;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(30, 41, 59, 0.76);
  border-radius: 6px;
  background: rgba(2, 6, 23, 0.28);
  padding: 7px 9px 7px 11px;
}

.alpha-summary-row::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 2px;
  background: rgba(100, 116, 139, 0.7);
}

.alpha-summary-row.is-complete::before {
  background: var(--cyber-success);
}

.alpha-summary-row.is-waiting::before {
  background: var(--cyber-warning);
}

.alpha-summary-row.is-blocked::before {
  background: var(--cyber-danger);
}

.alpha-summary-row span {
  color: var(--cyber-muted);
}

.alpha-summary-row strong {
  min-width: 0;
  overflow: hidden;
  color: rgba(226, 232, 240, 0.88);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px solid rgba(30, 41, 59, 0.72);
  padding: 9px 10px 10px;
}

.protocol-card {
  position: relative;
  min-height: 62px;
  border: 1px solid rgba(30, 41, 59, 0.9);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.84), rgba(2, 6, 23, 0.54));
  padding: 9px 9px 9px 12px;
  text-align: left;
}

.protocol-card::before {
  content: "";
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 0;
  width: 2px;
  background: rgba(100, 116, 139, 0.64);
}

.protocol-card.is-active::before {
  background: var(--cyber-accent);
}

.protocol-card.is-failed::before {
  background: var(--cyber-danger);
}

.protocol-card.is-blocked::before {
  background: var(--cyber-warning);
}

.protocol-label {
  color: var(--cyber-accent);
  font-size: 12px;
  font-weight: 900;
}

.protocol-sub,
.protocol-detail,
.protocol-source {
  overflow: hidden;
  margin-top: 3px;
  color: var(--cyber-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.protocol-detail.is-ready {
  color: var(--cyber-success);
  font-weight: 900;
}

.protocol-source {
  color: rgba(148, 163, 184, 0.78);
  font-family: var(--font-mono);
}

.alpha-scenarios {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  border-top: 1px solid rgba(30, 41, 59, 0.72);
  padding: 9px 10px 10px;
}

.alpha-scenarios button {
  min-width: 0;
  min-height: 58px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.07);
  color: var(--cyber-text);
  padding: 8px;
  text-align: left;
}

.alpha-scenarios button strong,
.alpha-scenarios button span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.alpha-scenarios button strong {
  color: var(--cyber-accent);
  font-size: 10px;
}

.alpha-scenarios button span {
  margin-top: 2px;
  color: var(--cyber-muted);
  font-size: 9px;
}

.demo-case-workbench {
  display: grid;
  gap: 9px;
  border-top: 1px solid rgba(30, 41, 59, 0.72);
  padding: 9px 10px 10px;
}

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

.demo-case-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  min-height: 230px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-left: 3px solid rgba(100, 116, 139, 0.72);
  border-radius: 7px;
  background: rgba(2, 6, 23, 0.3);
  padding: 9px;
}

.demo-case-card.is-selected {
  border-left-color: var(--cyber-accent);
  background: rgba(56, 189, 248, 0.08);
}

.demo-case-head span,
.demo-case-head strong,
.demo-case-head em,
.demo-case-card p,
.demo-case-proof span,
.demo-case-proof strong,
.demo-case-fallback {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-case-head span,
.demo-case-proof span {
  color: var(--cyber-muted);
  font-size: 9px;
  font-weight: 900;
}

.demo-case-head strong {
  margin-top: 3px;
  color: var(--cyber-accent);
  font-size: 12px;
  line-height: 1.25;
}

.demo-case-head em {
  margin-top: 3px;
  color: var(--cyber-muted);
  font-size: 9px;
  font-style: normal;
  white-space: nowrap;
}

.demo-case-card p {
  min-height: 52px;
  margin: 0;
  color: rgba(226, 232, 240, 0.86);
  font-size: 10px;
  line-height: 1.45;
}

.demo-case-proof {
  min-height: 42px;
  border: 1px solid rgba(30, 41, 59, 0.76);
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.34);
  padding: 6px 7px;
}

.demo-case-proof strong {
  margin-top: 3px;
  color: rgba(226, 232, 240, 0.9);
  font-size: 10px;
  line-height: 1.35;
}

.demo-case-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: auto;
}

.demo-case-actions button,
.demo-package-actions button {
  border: 1px solid rgba(16, 185, 129, 0.38);
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--cyber-success);
  padding: 7px 6px;
  font-size: 10px;
  font-weight: 900;
}

.demo-case-actions button + button {
  border-color: rgba(245, 158, 11, 0.42);
  background: rgba(245, 158, 11, 0.1);
  color: var(--cyber-warning);
}

.demo-case-fallback {
  color: var(--cyber-muted);
  font-size: 9px;
  line-height: 1.35;
}

.demo-readiness {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(30, 41, 59, 0.78);
  border-radius: 7px;
  background: rgba(2, 6, 23, 0.25);
  padding: 9px;
}

.demo-readiness-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.demo-readiness-head strong {
  color: rgba(226, 232, 240, 0.96);
  font-size: 11px;
}

.demo-readiness-head span {
  min-width: 0;
  overflow: hidden;
  color: var(--cyber-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-readiness-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.demo-readiness-item {
  position: relative;
  min-width: 0;
  min-height: 66px;
  border: 1px solid rgba(30, 41, 59, 0.76);
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.34);
  padding: 7px 8px 7px 10px;
}

.demo-readiness-item::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 2px;
  background: rgba(100, 116, 139, 0.72);
}

.demo-readiness-item.is-good::before {
  background: var(--cyber-success);
}

.demo-readiness-item.is-live::before {
  background: var(--cyber-accent);
}

.demo-readiness-item.is-warn::before {
  background: var(--cyber-warning);
}

.demo-readiness-item.is-blocked::before {
  background: var(--cyber-danger);
}

.demo-readiness-item span,
.demo-readiness-item strong,
.demo-readiness-item em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-readiness-item span {
  color: var(--cyber-muted);
  font-size: 9px;
  font-weight: 900;
}

.demo-readiness-item strong {
  margin-top: 3px;
  color: rgba(226, 232, 240, 0.96);
  font-size: 11px;
  line-height: 1.25;
  white-space: nowrap;
}

.demo-readiness-item em {
  margin-top: 3px;
  color: var(--cyber-muted);
  font-size: 9px;
  font-style: normal;
  line-height: 1.35;
}

.demo-package-actions {
  display: flex;
  justify-content: flex-end;
}

.alpha-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  border-top: 1px solid rgba(30, 41, 59, 0.72);
  padding: 9px 10px 0;
}

.alpha-actions button,
.alpha-history-toolbar button {
  border: 1px solid rgba(16, 185, 129, 0.38);
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--cyber-success);
  padding: 7px 6px;
  font-size: 10px;
  font-weight: 900;
}

.alpha-history {
  display: grid;
  gap: 4px;
  border-top: 1px solid rgba(30, 41, 59, 0.72);
  padding: 8px 10px 0;
  max-height: 112px;
  overflow: auto;
}

.alpha-history-toolbar {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid rgba(30, 41, 59, 0.72);
  padding: 9px 10px 0;
}

.alpha-run-row {
  display: grid;
  grid-template-columns: minmax(74px, 1fr) 94px minmax(120px, 2fr) auto;
  gap: 6px;
  align-items: center;
  border: 1px solid rgba(30, 41, 59, 0.74);
  border-radius: 6px;
  background: rgba(2, 6, 23, 0.24);
  padding: 6px;
}

.alpha-run-row strong {
  color: var(--cyber-warning);
  font-size: 10px;
}

.alpha-run-row em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
}

.alpha-run-row button {
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.09);
  color: var(--cyber-accent);
  padding: 4px 7px;
  font-size: 9px;
  font-weight: 900;
}

.alpha-run-detail {
  margin-top: 8px;
  border-top: 1px solid rgba(30, 41, 59, 0.72);
  padding: 8px;
  line-height: 1.45;
}

.alpha-run-review-head,
.alpha-run-review-grid {
  display: grid;
  gap: 5px;
}

.alpha-run-review-head {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  color: var(--cyber-accent);
}

.alpha-run-review-head span,
.alpha-run-review-grid em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.alpha-run-review-outcome {
  margin-top: 5px;
  color: var(--cyber-success);
  font-weight: 900;
}

.alpha-run-review-trusted {
  border-left: 3px solid rgba(100, 116, 139, 0.72);
  color: var(--cyber-muted);
  font-weight: 800;
  margin-top: 5px;
  padding-left: 7px;
}

.alpha-run-review-trusted.is-good {
  border-left-color: var(--cyber-success);
}

.alpha-run-review-trusted.is-warn,
.alpha-run-review-trusted.is-live {
  border-left-color: var(--cyber-warning);
}

.alpha-run-review-trusted.is-blocked {
  border-left-color: var(--cyber-danger);
}

.alpha-run-review-meta {
  margin-top: 4px;
}

.alpha-run-review-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 7px;
}

.alpha-run-review-grid div {
  border-top: 1px solid rgba(30, 41, 59, 0.72);
  padding-top: 4px;
}

.alpha-run-review-grid span {
  display: block;
  color: var(--cyber-muted);
}

.alpha-run-review-grid strong {
  display: block;
  color: var(--cyber-warning);
}

.alpha-run-review-grid em {
  display: block;
  font-style: normal;
}

.alpha-feedback {
  margin-top: 8px;
  border-top: 1px solid rgba(30, 41, 59, 0.72);
  padding-top: 8px;
}

.alpha-feedback-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.alpha-feedback-head strong {
  color: var(--cyber-accent);
}

.alpha-feedback-head span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.alpha-feedback-controls {
  display: grid;
  grid-template-columns: auto minmax(130px, 1fr) minmax(112px, auto);
  gap: 6px;
  align-items: center;
  margin-top: 6px;
}

.alpha-feedback-controls label {
  color: var(--cyber-muted);
  font-weight: 900;
}

.alpha-feedback-controls select,
.alpha-feedback-controls textarea {
  min-width: 0;
  outline: none;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 6px;
  background: rgba(2, 6, 23, 0.42);
  color: var(--cyber-text);
  font-size: 10px;
}

.alpha-feedback-controls select {
  height: 28px;
  padding: 0 7px;
}

.alpha-feedback-controls textarea {
  grid-column: 1 / -1;
  min-height: 54px;
  max-height: 120px;
  resize: vertical;
  padding: 8px;
  line-height: 1.45;
}

.alpha-feedback-controls textarea::placeholder {
  color: rgba(148, 163, 184, 0.6);
}

.alpha-feedback-controls button {
  min-height: 28px;
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.09);
  color: var(--cyber-accent);
  padding: 6px 8px;
  font-size: 10px;
  font-weight: 900;
}

.alpha-feedback-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.settings-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.05fr) repeat(2, minmax(220px, 1fr));
  gap: 12px;
}

.debug-settings-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1fr);
  gap: 8px;
  padding: 10px;
}

.settings-section {
  display: grid;
  gap: 8px;
  align-content: start;
  border: 1px solid rgba(30, 41, 59, 0.84);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(2, 6, 23, 0.36));
  padding: 12px;
}

.settings-section--wide {
  grid-row: span 2;
}

.debug-settings-grid section {
  display: grid;
  gap: 8px;
  align-content: start;
  border: 1px solid rgba(30, 41, 59, 0.76);
  border-radius: 7px;
  background: rgba(2, 6, 23, 0.28);
  padding: 10px;
}

.debug-settings-grid h3,
.settings-section h3 {
  margin: 0;
  color: var(--cyber-accent);
  font-size: 12px;
}

.debug-settings-grid label,
.settings-section label,
.settings-readout {
  color: var(--cyber-muted);
  font-size: 11px;
}

.debug-settings-grid select,
.settings-section input,
.settings-section select,
.settings-section textarea {
  min-width: 0;
  outline: none;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 6px;
  background: rgba(2, 6, 23, 0.42);
  color: var(--cyber-text);
  padding: 8px;
}

.settings-section textarea {
  min-height: 76px;
  resize: vertical;
  overflow-wrap: anywhere;
  font-family: inherit;
  line-height: 1.45;
}

.settings-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.settings-checkbox input {
  width: 14px;
  height: 14px;
  padding: 0;
}

.settings-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.node-onboarding-panel {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(16, 185, 129, 0.24);
  border-radius: 7px;
  background: rgba(16, 185, 129, 0.08);
  padding: 10px;
}

.node-onboarding-panel strong {
  color: var(--cyber-text);
  font-size: 12px;
}

.node-onboarding-panel span {
  color: var(--cyber-muted);
  font-size: 11px;
  line-height: 1.5;
}

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

.node-invite-panel,
.agent-card-panel {
  display: grid;
  gap: 7px;
  border-top: 1px solid rgba(30, 41, 59, 0.72);
  padding-top: 10px;
}

.agent-card-panel h4 {
  margin: 0;
  color: rgba(226, 232, 240, 0.88);
  font-size: 11px;
  font-weight: 900;
}

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

.agent-card-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seed-node-list {
  display: grid;
  gap: 6px;
}

.seed-node-row {
  display: grid;
  gap: 3px;
  border-top: 1px solid rgba(30, 41, 59, 0.72);
  padding-top: 8px;
}

.seed-node-row strong,
.seed-node-row span,
.seed-node-row em {
  min-width: 0;
  overflow: hidden;
  color: var(--cyber-muted);
  font-size: 10px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seed-node-row strong {
  color: var(--cyber-text);
  font-size: 11px;
}

.service-node-list,
.node-draft-list,
.node-draft-history {
  display: grid;
  gap: 6px;
}

.service-node-row,
.node-draft-row,
.node-draft-history-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border-top: 1px solid rgba(30, 41, 59, 0.72);
  padding-top: 8px;
}

.node-draft-history-row {
  grid-template-columns: minmax(0, 1fr);
}

.service-node-row div:first-child,
.node-draft-row div:first-child,
.node-draft-history-row {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.service-node-row strong,
.service-node-row span,
.service-node-row em,
.node-draft-row strong,
.node-draft-row span,
.node-draft-row em,
.node-draft-history-row strong,
.node-draft-history-row span,
.node-draft-history-row em,
.node-draft-empty {
  min-width: 0;
  overflow: hidden;
  color: var(--cyber-muted);
  font-size: 10px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-node-row strong,
.node-draft-row strong,
.node-draft-history-row strong {
  color: var(--cyber-text);
  font-size: 11px;
}

.service-node-row-actions,
.node-draft-row-actions {
  display: grid;
  gap: 4px;
}

.settings-row {
  border-top: 1px solid rgba(30, 41, 59, 0.72);
  padding-top: 8px;
}

.uplink-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

#mintButton {
  border-color: rgba(123, 47, 247, 0.4);
  background: rgba(123, 47, 247, 0.12);
  color: var(--cyber-accent-2);
}

#stopButton {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.12);
  color: var(--cyber-danger);
}

.status-bar {
  height: 28px;
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--cyber-border);
  background: linear-gradient(135deg, var(--cyber-panel), var(--cyber-panel-2));
  padding: 0 16px;
  color: var(--cyber-muted);
  font-size: 10px;
}

.status-bar div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.status-bar strong {
  color: var(--cyber-warning);
}

.status-bar strong.is-good {
  color: var(--cyber-success);
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes status-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

@media (max-width: 920px) {
  body {
    overflow: auto;
  }

  .omni-console {
    min-height: 100vh;
    height: auto;
  }

  .console-body {
    flex-direction: column;
    overflow: visible;
  }

  .main-stack {
    order: 1;
    min-height: calc(100vh - 40px);
  }

  .left-rail {
    order: 2;
  }

  .main-stack,
  .workspace-view {
    overflow: visible;
  }

  .left-rail {
    width: auto;
    flex-basis: auto;
    border-right: 0;
    border-bottom: 1px solid var(--cyber-border);
  }

  .broadcast {
    min-height: 480px;
  }

  .cluster-section {
    max-height: 360px;
  }

  .view-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .alpha-head {
    grid-template-columns: 1fr;
  }

  .settings-grid,
  .debug-settings-grid {
    grid-template-columns: 1fr;
  }

  .settings-section--wide {
    grid-row: auto;
  }

  .protocol-grid,
  .home-flow-grid,
  .execution-story-grid,
  .demo-case-list,
  .demo-readiness-grid,
  .uplink-actions,
  .alpha-scenarios,
  .alpha-actions,
  .settings-actions,
  .node-onboarding-actions,
  .engine-config-grid,
  .remote-node-grid,
  .alpha-run-review-grid,
  .alpha-feedback-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alpha-feedback-controls label,
  .alpha-feedback-controls select,
  .alpha-feedback-controls button,
  .alpha-feedback-controls textarea {
    grid-column: 1 / -1;
  }

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

  .alpha-run-row em {
    grid-column: 1 / -1;
  }

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

  .operator-signal button {
    justify-self: start;
  }

  .status-bar {
    height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 8px 12px;
  }
}

@media (max-width: 560px) {
  .workspace-nav {
    flex-direction: column;
  }

  .protocol-grid,
  .home-flow-grid,
  .execution-story-grid,
  .demo-case-list,
  .demo-readiness-grid,
  .demo-case-actions,
  .uplink-actions,
  .alpha-scenarios,
  .alpha-actions,
  .settings-actions,
  .node-onboarding-actions,
  .engine-config-grid,
  .remote-node-grid {
    grid-template-columns: 1fr;
  }

  .alpha-summary-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
