.studio-run-graph {
  position: relative;
  height: 240px;
  min-height: 200px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  background: var(--color-bg-secondary);
  overflow: hidden;
  cursor: grab;
}

.studio-run-graph--center {
  flex: 1;
  min-height: 280px;
  height: auto;
}

.studio-run-graph:active {
  cursor: grabbing;
}

.studio-run-graph__svg {
  display: block;
}

.studio-run-graph__edge {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 1.5;
  opacity: 0.85;
}

.studio-run-graph__node {
  cursor: pointer;
}

.studio-run-graph__node-bg {
  fill: var(--color-bg-tertiary);
  stroke: var(--color-border-light);
  stroke-width: 1.5;
}

.studio-run-graph__node.status-active .studio-run-graph__node-bg {
  stroke: var(--color-accent);
  fill: rgba(var(--color-accent-rgb, 59, 130, 246), 0.1);
}

.studio-run-graph__node.status-completed .studio-run-graph__node-bg {
  stroke: #22c55e;
}

.studio-run-graph__node.is-selected .studio-run-graph__node-bg {
  stroke-width: 2.5;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

.studio-run-graph__node.is-current .studio-run-graph__node-bg {
  stroke: var(--color-accent);
}

.studio-run-graph__node-label {
  font-size: 12px;
  font-weight: 600;
  fill: var(--color-text-primary);
  pointer-events: none;
}

.studio-run-graph__node-status {
  font-size: 10px;
  fill: var(--color-text-muted);
  pointer-events: none;
}

.studio-run-graph__hint {
  position: absolute;
  bottom: 4px;
  right: 6px;
  font-size: 0.6rem;
  color: var(--color-text-muted);
  opacity: 0.75;
  pointer-events: none;
}

.studio-run-graph-empty {
  padding: var(--spacing-md);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
}
