/* ═══════════════════════════════════════════════════════════════
   Intel HQ — Premium Dashboard Extension
   Adds: enhanced left nav, signal pulse stats bar, source
   confidence panel, upgraded signal/play cards, brief detail,
   activity feed. All components use demo data for screenshot mode.
   ═══════════════════════════════════════════════════════════════ */

/* ── SIGNAL PULSE STATS BAR (top of center column) ── */
.signal-pulse-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 20px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.signal-pulse-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 60%);
}
.pulse-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 6px;
  border-radius: 7px;
  transition: background 0.15s;
}
.pulse-stat:hover { background: var(--bg-card2); }
.pulse-stat-icon {
  font-size: 16px;
  margin-bottom: 5px;
  line-height: 1;
}
.pulse-stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 3px;
}
.pulse-stat-value.threat { color: var(--red); }
.pulse-stat-value.warn { color: var(--orange); }
.pulse-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
}
.pulse-trend {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  margin-top: 3px;
  padding: 1px 5px;
  border-radius: 3px;
}
.pulse-trend.up { color: var(--green); background: rgba(57,255,20,0.08); }
.pulse-trend.down { color: var(--red); background: rgba(255,68,68,0.08); }
.pulse-trend.stable { color: var(--text-muted); }

/* ── ENHANCED SIGNAL CARDS (demo) ── */
.demo-signal-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.demo-signal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.demo-signal-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.demo-signal-card.sev-high { border-left: 3px solid var(--red); }
.demo-signal-card.sev-medium { border-left: 3px solid var(--orange); }
.demo-signal-card.sev-low { border-left: 3px solid var(--green); }
.demo-signal-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.demo-signal-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.demo-signal-icon.pricing { background: rgba(57,255,20,0.08); border: 1px solid rgba(57,255,20,0.2); }
.demo-signal-icon.hiring { background: rgba(255,136,0,0.08); border: 1px solid rgba(255,136,0,0.2); }
.demo-signal-icon.product { background: rgba(74,125,255,0.1); border: 1px solid rgba(74,125,255,0.2); }
.demo-signal-icon.messaging { background: rgba(139,92,246,0.1); border: 1px solid rgba(139,92,246,0.2); }
.demo-signal-icon.market { background: rgba(255,68,68,0.08); border: 1px solid rgba(255,68,68,0.2); }
.demo-signal-body { flex: 1; min-width: 0; }
.demo-signal-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 5px;
  align-items: center;
}
.demo-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
}
.demo-tag.cat-pricing { background: rgba(57,255,20,0.08); color: var(--accent); border: 1px solid rgba(57,255,20,0.2); }
.demo-tag.cat-hiring { background: rgba(255,136,0,0.1); color: var(--orange); border: 1px solid rgba(255,136,0,0.2); }
.demo-tag.cat-product { background: rgba(74,125,255,0.12); color: #7aadff; border: 1px solid rgba(74,125,255,0.2); }
.demo-tag.cat-messaging { background: rgba(139,92,246,0.12); color: #a78bfa; border: 1px solid rgba(139,92,246,0.2); }
.demo-tag.cat-market { background: rgba(255,68,68,0.08); color: var(--red); border: 1px solid rgba(255,68,68,0.2); }
.demo-tag.sev-critical { background: rgba(255,68,68,0.12); color: var(--red); border: 1px solid rgba(255,68,68,0.25); }
.demo-tag.sev-watch { background: rgba(255,136,0,0.12); color: var(--orange); border: 1px solid rgba(255,136,0,0.25); }
.demo-tag.sev-opportunity { background: rgba(57,255,20,0.08); color: var(--accent); border: 1px solid rgba(57,255,20,0.2); }
.demo-confidence-badge {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  flex-shrink: 0;
}
.conf-high { background: rgba(57,255,20,0.1); color: var(--accent); border: 1px solid rgba(57,255,20,0.25); }
.conf-medium { background: rgba(255,136,0,0.1); color: var(--orange); border: 1px solid rgba(255,136,0,0.25); }
.demo-signal-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 5px;
}
.demo-signal-context {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: none;
}
.demo-signal-card:hover .demo-signal-context { display: block; }
.demo-signal-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.demo-signal-source {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.demo-signal-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--text-muted);
  margin-left: auto;
}
.demo-signal-competitor {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  color: #7aadff;
  background: rgba(74,125,255,0.1);
  border: 1px solid rgba(74,125,255,0.2);
  padding: 1px 6px;
  border-radius: 3px;
}

/* ── THE PLAY CARDS (upgraded) ── */
.demo-play-section {
  margin-bottom: 24px;
}
.demo-play-section-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-play-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.demo-play-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.demo-play-card {
  background: linear-gradient(135deg, rgba(57,255,20,0.05) 0%, rgba(57,255,20,0.02) 100%);
  border: 1px solid rgba(57,255,20,0.25);
  border-radius: 10px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
}
.demo-play-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 80%);
}
.demo-play-card:hover {
  border-color: rgba(57,255,20,0.45);
  box-shadow: 0 4px 20px rgba(57,255,20,0.08);
}
.demo-play-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.demo-play-impact {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.impact-high { background: rgba(255,68,68,0.12); color: var(--red); border: 1px solid rgba(255,68,68,0.25); }
.impact-medium { background: rgba(255,136,0,0.12); color: var(--orange); border: 1px solid rgba(255,136,0,0.25); }
.impact-quick { background: rgba(74,125,255,0.12); color: #7aadff; border: 1px solid rgba(74,125,255,0.25); }
.demo-play-conf {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.8;
  flex-shrink: 0;
}
.demo-play-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 8px;
  flex: 1;
}
.demo-play-body {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 10px;
}
.demo-play-metrics {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.demo-play-metric {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--accent);
  background: rgba(57,255,20,0.06);
  border: 1px solid rgba(57,255,20,0.15);
  padding: 2px 8px;
  border-radius: 4px;
}
.demo-play-evidence {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  padding: 8px 10px;
  background: var(--bg-card2);
  border-radius: 5px;
  margin-bottom: 10px;
  line-height: 1.5;
}
.demo-play-evidence span { color: var(--text-secondary); }
.demo-play-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  background: var(--accent);
  color: #050510;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s;
}
.demo-play-cta:hover {
  background: #33ff66;
  box-shadow: 0 0 20px rgba(57,255,20,0.3);
  transform: translateY(-1px);
}

/* ── BRIEF DETAIL VIEW (demo) ── */
.demo-brief-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
}
.demo-brief-panel-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--bg-card2);
}
.demo-brief-panel-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.demo-brief-panel-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
}
.demo-brief-panel-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.demo-brief-meta-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}
.chip-threat { background: rgba(255,68,68,0.12); color: var(--red); border: 1px solid rgba(255,68,68,0.25); }
.chip-opportunity { background: rgba(57,255,20,0.08); color: var(--accent); border: 1px solid rgba(57,255,20,0.2); }
.chip-neutral { background: rgba(74,125,255,0.12); color: #7aadff; border: 1px solid rgba(74,125,255,0.2); }

.demo-exec-summary {
  padding: 16px;
  border-bottom: 1px solid var(--border);
}
.demo-exec-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.demo-exec-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.demo-exec-bullets li {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.55;
  padding: 7px 10px;
  background: var(--bg-card2);
  border-radius: 6px;
  border-left: 2px solid var(--border);
  transition: border-color 0.15s;
}
.demo-exec-bullets li:hover { border-left-color: var(--accent); }
.demo-exec-bullets li.threat { border-left-color: var(--red); }
.demo-exec-bullets li.opportunity { border-left-color: var(--green); }
.demo-exec-bullets li.neutral { border-left-color: var(--blue); }
.demo-exec-bullets li::before { content: '▸'; color: var(--accent); flex-shrink: 0; font-size: 10px; margin-top: 2px; }

.demo-brief-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card2);
  overflow-x: auto;
  scrollbar-width: none;
}
.demo-brief-tabs::-webkit-scrollbar { display: none; }
.demo-brief-tab {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 14px;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.demo-brief-tab:hover { color: var(--text-primary); background: rgba(255,255,255,0.03); }
.demo-brief-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.demo-brief-content { padding: 16px; }

/* Source attribution row */
.demo-source-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.demo-source-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 3px;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}
.demo-source-chip.high-conf { color: var(--accent); border-color: rgba(57,255,20,0.2); }

/* ── SOURCE CONFIDENCE PANEL (right sidebar card) ── */
.source-confidence-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}
.source-confidence-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.source-confidence-title .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(57,255,20,0.6);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.source-row {
  margin-bottom: 12px;
}
.source-row:last-child { margin-bottom: 0; }
.source-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}
.source-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}
.source-pct {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
}
.source-pct.high { color: var(--accent); }
.source-pct.medium { color: var(--orange); }
.source-pct.low { color: var(--red); }
.source-bar-track {
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.source-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s ease;
}
.source-bar-fill.high { background: linear-gradient(90deg, var(--accent), #00cc55); }
.source-bar-fill.medium { background: linear-gradient(90deg, var(--orange), #ff6600); }
.source-bar-fill.low { background: linear-gradient(90deg, var(--red), #cc3300); }
.source-crawled {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  color: var(--text-muted);
  margin-top: 2px;
  letter-spacing: 0.3px;
}

/* ── ENHANCED LEFT NAV ── */
.hq-left-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 14px;
}
.hq-nav-section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 10px 2px;
  margin-top: 6px;
}
.hq-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s;
  font-size: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  border: 1px solid transparent;
}
.hq-nav-item:hover {
  background: var(--bg-card2);
  color: var(--text-primary);
}
.hq-nav-item.active {
  background: var(--accent-glow);
  color: var(--accent);
  border-color: rgba(57,255,20,0.15);
  border-left: 2px solid var(--accent);
  padding-left: 9px;
}
.hq-nav-icon {
  font-size: 14px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.hq-nav-badge {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 8px;
  flex-shrink: 0;
}
.hq-nav-badge.unread {
  background: var(--red);
  color: #fff;
}
.hq-nav-badge.count {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.hq-nav-unread-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 6px rgba(255,68,68,0.5);
  flex-shrink: 0;
  margin-left: auto;
  animation: pulse-dot 1.5s infinite;
}
/* Competitor sub-list */
.hq-comp-sublist {
  margin-left: 12px;
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hq-comp-sub-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s;
  font-size: 11px;
  color: var(--text-muted);
  border: 1px solid transparent;
}
.hq-comp-sub-item:hover {
  background: rgba(74,125,255,0.06);
  color: var(--text-secondary);
}
.hq-comp-sub-item.active {
  color: var(--text-primary);
  background: rgba(74,125,255,0.08);
  border-color: rgba(74,125,255,0.15);
}
.hq-comp-sub-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.hq-comp-sub-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.8;
}
.hq-comp-sub-avatar {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(74,125,255,0.2), rgba(139,92,246,0.2));
  border: 1px solid rgba(74,125,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #7aadff;
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
}
.hq-comp-sub-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hq-comp-sub-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hq-comp-sub-dot.red { background: var(--red); box-shadow: 0 0 5px rgba(255,68,68,0.5); }
.hq-comp-sub-dot.orange { background: var(--orange); box-shadow: 0 0 5px rgba(255,136,0,0.5); }
.hq-comp-sub-dot.green { background: var(--green); box-shadow: 0 0 5px rgba(57,255,20,0.5); }

/* ── RECENT ACTIVITY FEED (upgraded) ── */
.demo-activity-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.demo-activity-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid rgba(26,32,53,0.6);
  transition: opacity 0.15s;
}
.demo-activity-item:last-child { border-bottom: none; }
.demo-activity-item:hover { background: rgba(255,255,255,0.015); border-radius: 6px; }
.demo-activity-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.demo-activity-icon-wrap.signal { background: rgba(57,255,20,0.08); border: 1px solid rgba(57,255,20,0.15); }
.demo-activity-icon-wrap.brief { background: rgba(74,125,255,0.1); border: 1px solid rgba(74,125,255,0.2); }
.demo-activity-icon-wrap.play { background: rgba(255,136,0,0.08); border: 1px solid rgba(255,136,0,0.15); }
.demo-activity-icon-wrap.source { background: rgba(139,92,246,0.1); border: 1px solid rgba(139,92,246,0.2); }
.demo-activity-icon-wrap.threat { background: rgba(255,68,68,0.1); border: 1px solid rgba(255,68,68,0.2); }
.demo-activity-icon-wrap.opportunity { background: rgba(57,255,20,0.08); border: 1px solid rgba(57,255,20,0.15); }
.demo-activity-source { font-family: 'JetBrains Mono', monospace; font-size: 9px; color: var(--text-muted); letter-spacing: 0.3px; margin-top: 1px; opacity: 0.65; }
.demo-activity-body { flex: 1; min-width: 0; }
.demo-activity-text {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.45;
}
.demo-activity-text strong { color: var(--text-primary); }
.demo-activity-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 2px;
  display: block;
}

/* ── LIVE SIGNAL FEED PANEL HEADER ── */
.demo-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}
.demo-panel-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}
.demo-panel-title .live-indicator {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 3px;
  background: rgba(57,255,20,0.1);
  color: var(--accent);
  border: 1px solid rgba(57,255,20,0.25);
  letter-spacing: 1px;
}
.demo-panel-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
}

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 960px) {
  .signal-pulse-bar {
    grid-template-columns: repeat(3, 1fr);
  }
  .signal-pulse-bar .pulse-stat:nth-child(4),
  .signal-pulse-bar .pulse-stat:nth-child(5) {
    display: none;
  }
}
@media (max-width: 600px) {
  .signal-pulse-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .signal-pulse-bar .pulse-stat:nth-child(4),
  .signal-pulse-bar .pulse-stat:nth-child(5) {
    display: none;
  }
}
