:root {
  --command-border: #cad8d3;
}

.command-center {
  margin: 18px;
  padding: 18px;
  border: 1px solid var(--command-border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 0%, rgba(15, 118, 110, 0.12), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f3f8f6 100%);
  box-shadow: var(--shadow);
}

.command-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #0f766e;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.command-header h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.command-header p {
  max-width: 780px;
  margin: 8px 0 0;
  color: #53605b;
  font-size: 14px;
  line-height: 1.45;
}

.live-badge {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  border: 1px solid #bcd8d2;
  border-radius: 999px;
  padding: 6px 10px;
  background: #ffffff;
  color: #0b5e58;
  font-size: 12px;
  font-weight: 800;
}

.live-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.14);
}

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

.signal-tile {
  padding: 15px;
  background: #ffffff;
}

.signal-tile span {
  display: block;
  color: #5b6863;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-tile strong {
  display: block;
  margin-top: 7px;
  color: #13221e;
  font-size: 15px;
  line-height: 1.25;
}

.signal-tile small {
  display: block;
  margin-top: 9px;
  color: #65706b;
  font-size: 12px;
  line-height: 1.4;
}

.signal-meter {
  height: 7px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f0;
}

.signal-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f766e, #14b8a6);
}

.signal-meter.amber i {
  background: linear-gradient(90deg, #b7791f, #f59e0b);
}

.signal-meter.green i {
  background: linear-gradient(90deg, #157347, #22c55e);
}

.demo-intelligence {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.workflow-map,
.proof-ledger {
  min-width: 0;
  padding: 16px;
  background: #ffffff;
}

.workflow-map h3,
.proof-ledger h3 {
  margin: 0 0 12px;
  color: #24332e;
  font-size: 14px;
  text-transform: uppercase;
}

.flow-rail {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
}

.flow-rail span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  border: 1px solid #cddbd6;
  border-radius: 6px;
  padding: 7px 10px;
  background: #f7faf8;
  color: #23332e;
  font-size: 12px;
  font-weight: 750;
}

.flow-rail span + span::before {
  content: "";
  width: 10px;
  height: 1px;
  margin-left: -18px;
  margin-right: 8px;
  background: #9eb0aa;
}

.proof-ledger dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.proof-ledger div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
}

.proof-ledger dt {
  color: #0b5e58;
  font-size: 12px;
  font-weight: 850;
}

.proof-ledger dd {
  margin: 0;
  color: #53605b;
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 1180px) {
  .command-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-intelligence {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .command-center {
    margin: 12px;
    padding: 14px;
    overflow: hidden;
  }

  .command-header {
    flex-direction: column;
  }

  .command-header h2 {
    font-size: 20px;
  }

  .command-grid,
  .proof-ledger div {
    grid-template-columns: 1fr;
  }
}
