:root {
  --bg-obsidian: #05070c;
  --bg-card: #090e19;
  --bg-elevated: #0d1424;
  --accent-cyan: #22d3ee;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-violet: #a855f7;
}

* { box-sizing: border-box; }

html {
  background: var(--bg-obsidian);
  overflow-x: clip;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: var(--bg-obsidian);
  color: #f8fafc;
  margin: 0;
  min-height: 100dvh;
  overflow-x: clip;
}

.font-mono-tech {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

.bg-cad-grid {
  background-size: 48px 48px;
  background-image:
    linear-gradient(to right, rgba(34, 211, 238, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34, 211, 238, 0.035) 1px, transparent 1px);
}

.oms-card {
  background: linear-gradient(165deg, rgba(13, 20, 36, 0.94), rgba(9, 14, 25, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.14);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.oms-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
}

.oms-order-bar-row {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.12);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.oms-order-bar-row:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(34, 211, 238, 0.45);
  transform: translateY(-1px);
}

/* Vibrant progress bar shimmer */
.progress-track {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.16);
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.7;
}

.alert-pulse-critical {
  box-shadow: 0 0 0 1px rgba(244, 63, 94, 0.45), 0 10px 28px -14px rgba(244, 63, 94, 0.55);
}

.alert-pulse-warning {
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.4), 0 10px 28px -14px rgba(245, 158, 11, 0.45);
}

/* Industry selector pills */
.industry-pill {
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.65);
  transition: all 0.15s ease;
}

.industry-pill:hover {
  border-color: rgba(34, 211, 238, 0.55);
  color: #fff;
}

.industry-pill.is-active {
  border-color: #22d3ee;
  background: rgba(34, 211, 238, 0.16);
  color: #cffafe;
  box-shadow: 0 0 18px -6px rgba(34, 211, 238, 0.65);
}

/* Stage step dots */
.stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1.5px solid rgba(148, 163, 184, 0.35);
  background: #0f172a;
}

.stage-dot.is-done {
  border-color: transparent;
}

.stage-dot.is-current {
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.28);
}

/* Scrollbar */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: #05070c; }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
