/**
 * C01 Orchestra — explorative workflow backdrop (SkillTree-style SVG).
 * Patron CC (2026-08): katman kapalı — JS mount etmez; stale DOM için display:none.
 * Eski flag: ?orch-bg=explore | localStorage maytras-orch-bg=explore
 */
.c01-orch__main-core {
  position: relative;
}

.c01-orch__backdrop {
  display: none !important;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.c01-orch__backdrop-svg {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  opacity: 0.28;
}

.c01-orch__backdrop line,
.c01-orch__backdrop path {
  vector-effect: non-scaling-stroke;
}

.c01-orch__bg-edge {
  stroke: rgba(201, 162, 77, 0.16);
  stroke-width: 1;
  fill: none;
}

.c01-orch__bg-edge--active {
  stroke: rgba(201, 162, 77, 0.55);
  stroke-width: 1.25;
}

.c01-orch__bg-node-ring {
  fill: rgba(8, 12, 22, 0.72);
  stroke: rgba(201, 162, 77, 0.35);
  stroke-width: 1;
}

.c01-orch__bg-node-ring--active {
  stroke: rgba(201, 162, 77, 0.85);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 6px rgba(201, 162, 77, 0.25));
}

.c01-orch__bg-node-ring--done {
  stroke: rgba(201, 162, 77, 0.45);
  opacity: 0.75;
}

.c01-orch__bg-node-ring--decor {
  stroke: rgba(201, 162, 77, 0.2);
  stroke-dasharray: 3 4;
}

.c01-orch__bg-label {
  fill: rgba(232, 226, 210, 0.82);
  font-size: 10px;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  letter-spacing: 0.02em;
}

.c01-orch__bg-label--active {
  fill: rgba(255, 248, 230, 0.95);
  font-weight: 600;
}

.c01-orch__bg-label--muted {
  fill: rgba(232, 226, 210, 0.45);
}

.c01-orch__bg-label--dept {
  font-size: 9px;
}

.c01-orch__bg-progress {
  stroke: rgba(201, 162, 77, 0.35);
  stroke-linecap: round;
  opacity: 0.85;
}

.c01-orch__bg-progress--active {
  stroke: rgba(201, 162, 77, 0.55);
}

.c01-orch__backdrop.is-pan-enabled {
  pointer-events: auto;
  cursor: grab;
}

.c01-orch__backdrop.is-pan-enabled.is-panning {
  cursor: grabbing;
}

.c01-orch__bg-node-hit {
  pointer-events: auto;
  cursor: pointer;
  fill: transparent;
}

.c01-orch__bg-node-hit:focus-visible {
  outline: none;
}

.c01-orch__bg-node-hit:focus-visible + .c01-orch__bg-node-ring {
  stroke: rgba(120, 200, 220, 0.85);
}

.c01-orch__backdrop-tools {
  position: absolute;
  left: 0.5rem;
  bottom: 0.35rem;
  z-index: 2;
  pointer-events: auto;
  display: flex;
  gap: 0.35rem;
}

.c01-orch__backdrop-pan-toggle {
  font-size: 0.62rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 77, 0.35);
  background: rgba(8, 12, 22, 0.75);
  color: rgba(232, 226, 210, 0.9);
  cursor: pointer;
}

.c01-orch__backdrop-pan-toggle[aria-pressed='true'] {
  border-color: rgba(201, 162, 77, 0.65);
  color: rgba(255, 248, 230, 0.95);
}

.c01-orch__backdrop-pan-toggle:focus-visible {
  outline: 2px solid rgba(120, 200, 220, 0.75);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .c01-orch__backdrop-svg {
    opacity: 0.2;
  }
  .c01-orch__bg-label {
    font-size: 8px;
  }
}

.c01-orch__bg-node.is-hover-sync .c01-orch__bg-node-ring {
  stroke: rgba(120, 200, 220, 0.75);
}

.c01-orch__wf-step--hover-sync {
  background: rgba(201, 162, 77, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .c01-orch__backdrop * {
    transition: none !important;
  }
}
