:root {
  --bg-deep: #050914;
  --bg-panel: rgba(17, 24, 39, 0.9);
  --bg-glow: linear-gradient(135deg, rgba(0, 255, 182, 0.12), rgba(87, 111, 255, 0.18));
  --border: rgba(255, 255, 255, 0.06);
  --text-primary: #d7e5ff;
  --text-strong: #f7fbff;
  --text-muted: #9fb2d0;
  --accent-cyan: #00e5c5;
  --accent-rose: #ff4f93;
  --accent-violet: #7f7cff;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.35);
  --shadow-strong: 0 24px 64px rgba(0, 0, 0, 0.5);
  --glow: 0 0 20px rgba(0, 229, 197, 0.25), 0 0 42px rgba(127, 124, 255, 0.2);
  --radius: 18px;
  --radius-sm: 12px;
  --grid-gap: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 13px;
}

.pill-ok {
  border-color: rgba(120, 255, 160, 0.35);
  color: rgba(170, 255, 215, 0.92);
}

.pill-info {
  border-color: rgba(120, 180, 255, 0.42);
  color: rgba(185, 225, 255, 0.92);
}

.pill-warn {
  border-color: rgba(255, 220, 120, 0.35);
  color: rgba(255, 230, 170, 0.92);
}

.pill-wait {
  border-color: rgba(255, 170, 80, 0.42);
  color: rgba(255, 210, 170, 0.92);
}

.pill-bad {
  border-color: rgba(255, 96, 96, 0.45);
  color: rgba(255, 170, 170, 0.92);
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-glow);
  opacity: 0.15;
  filter: blur(28px);
  z-index: 0;
}

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

.grid {
  display: grid;
  gap: var(--grid-gap);
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(5, 9, 20, 0.9));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.tag {
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 12px;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.accent {
  color: var(--accent-cyan);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(0, 229, 197, 0.22), rgba(127, 124, 255, 0.18));
  color: #02141d;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--glow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-strong);
}

.btn:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 12px 36px rgba(0, 229, 197, 0.25);
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.panel-title h2 {
  margin: 0;
}

.mono {
  font-family: "JetBrains Mono", "Space Grotesk", monospace;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin: 16px 0;
}
