/* AI Landscape — category badges and page-specific styles */

.category-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.category-infrastructure {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}

.category-application {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.category-healthcare {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.category-industrials {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.category-consumer {
  background: rgba(236, 72, 153, 0.12);
  color: #db2777;
}

.category-other {
  background: rgba(107, 114, 128, 0.12);
  color: #4b5563;
}

.category-modellabs {
  background: rgba(139, 92, 246, 0.12);
  color: #7c3aed;
}

/* AI-native badge */
.ai-native-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ai-native-true {
  background: rgba(139, 92, 246, 0.12);
  color: #7c3aed;
}

.ai-native-false {
  background: rgba(156, 163, 175, 0.12);
  color: #6b7280;
}

/* Override indicator — subtle dot before badge text */
.category-overridden {
  position: relative;
  padding-left: 14px;
}
.category-overridden::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

/* Summary stat colors */
.summary-cat-infrastructure { color: #3b82f6; }
.summary-cat-application { color: #10b981; }
.summary-cat-healthcare { color: #f59e0b; }
.summary-cat-industrials { color: #ef4444; }
.summary-cat-consumer { color: #ec4899; }
.summary-cat-other { color: #6b7280; }
.summary-cat-modellabs { color: #8b5cf6; }

/* Chart grid: 2x2 layout */
.ai-chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 800px) {
  .ai-chart-grid {
    grid-template-columns: 1fr;
  }
}

/* Override chart panel body height for stacked bars */
.ai-chart-grid .chart-panel-body {
  height: 360px;
  overflow: hidden;
}