/*
 * Conteneur du graphe Cytoscape.js (§2.4, §7).
 * Fond --color-bg-primary. Le style des noeuds/liens est applique en JS via
 * la stylesheet Cytoscape, en lisant les variables CSS du theme.
 */
.relations-graph {
  position: relative;
  width: 100%;
  height: calc(var(--space-7) * 6);
  background: var(--color-bg-primary);
  border: var(--border-default);
  border-radius: var(--radius);
  overflow: hidden;
}

.relations-graph__canvas {
  position: absolute;
  inset: 0;
}

.relations-graph__empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-muted);
  font-size: var(--font-size-label);
  padding: var(--space-4);
  text-align: center;
}

/* Overlay SVG "mort" (croix) et "absent" positionnes en JS au-dessus d'un avatar. */
.node-overlay {
  position: absolute;
  pointer-events: none;
}
.node-overlay--dead {
  color: var(--color-danger);
  opacity: 0.85;
}
.node-overlay--absent {
  background: rgba(28, 32, 30, 0.6);
  border-radius: 50%;
}
