/* Incident chips, severity pills and map markers shared by the hero, console mockups and the AI demo. */
/* Chips (light by default; dark variants for the hero and dark sections) */
.tag { padding: 2px 8px; border-radius: 5px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); font-size: 0.72rem; font-weight: 500; }
.tag--strong { color: var(--ink); font-weight: 600; }
.status-pill {
  --c: var(--faint);
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px;
  color: color-mix(in srgb, var(--c) 80%, #000); font-size: 0.72rem; font-weight: 600;
  background: color-mix(in srgb, var(--c) 12%, #fff); border: 1px solid color-mix(in srgb, var(--c) 35%, #fff);
}
.status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.hero .tag, .section--dark .tag { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.1); color: #c5ccd8; }
.hero .tag--strong, .section--dark .tag--strong { color: #fff; }
.hero .status-pill, .section--dark .status-pill { color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); border-color: color-mix(in srgb, var(--c) 40%, transparent); }

/* Incident markers */
.incident-marker { position: relative; width: 14px; height: 14px; }
.incident-marker__dot {
  position: absolute; inset: 0; border-radius: 50%; background: var(--c); border: 2px solid #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 35%, transparent), 0 2px 6px rgba(0, 0, 0, 0.4);
}
.incident-marker__pulse {
  position: absolute; inset: -16px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 50%, transparent) 0%, transparent 70%);
  animation: incident-pulse 2.4s ease-out infinite;
}
@keyframes incident-pulse { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
.incident-marker[data-severity='cleared'] .incident-marker__pulse { display: none; }
.incident-marker.is-updated .incident-marker__dot { animation: incident-flash 0.7s ease 2; }
@keyframes incident-flash { 50% { transform: scale(1.5); } }
.incident-marker__label {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  padding: 4px 9px; border-radius: 6px; white-space: nowrap; pointer-events: none;
  background: rgba(13, 19, 32, 0.92); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff;
  font-size: 0.72rem; font-weight: 500; opacity: 0; transition: opacity 0.25s;
}
.incident-marker.is-updated .incident-marker__label, .incident-marker.is-labeled .incident-marker__label { opacity: 1; }
