/* The workspace continues the same green seed → card → interface sequence. */
#data-connections .ingestion-workspace-stage {
  position: relative;
  padding-top: 40px;
  isolation: isolate;
}
#data-connections .ingestion-workspace-connector {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  color: var(--green);
}
#data-connections .ingestion-workspace-shaft {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 0;
}
#data-connections .ingestion-workspace-shaft[data-ingestion-state="pending"] {
  stroke-dashoffset: 1;
}
#data-connections .ingestion-workspace-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(780px, 100%);
  margin-inline: auto;
  padding: 28px 34px;
  border: 1px solid var(--border-accent, rgba(68, 160, 101, .46));
  border-radius: 16px;
  background: radial-gradient(ellipse at 50% 0%, var(--success-bg, rgba(68, 160, 101, .12)), transparent 85%), var(--surface-inset, #06212a);
  text-align: center;
}
#data-connections .ingestion-workspace-step h3 {
  margin: 0;
  color: var(--green-on-dark);
  font: 500 24px/1.35 var(--font-body);
}
#data-connections .ingestion-workspace-step p {
  max-width: 620px;
  margin: 0;
  color: var(--text-primary, #c0d1d3);
  font: 400 18px/1.5 var(--font-body);
  letter-spacing: -.015em;
  text-wrap: pretty;
}
#data-connections .ingestion-workspace-step[data-ingestion-reveal="dot"] { opacity: 0; }
#data-connections .ingestion-workspace-step[data-ingestion-state="running"] { will-change: opacity, clip-path; }

/* Workspace cards use the green security surface. Audit .security-card
   inherits the same native light background as the NDA card. */
:root[data-theme="light"] #data-connections :is(.ingestion-agent-step, .ingestion-workspace-step) {
  background: linear-gradient(145deg, #f7fbf8, #edf5f0);
}
@media (max-width: 700px) {
  #data-connections .ingestion-workspace-stage { padding-top: 24px; }
  #data-connections .ingestion-workspace-step { padding: 24px 20px; }
  #data-connections .ingestion-workspace-step h3 { font-size: 20px; line-height: 1.4; }
  #data-connections .ingestion-workspace-step p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  #data-connections .ingestion-workspace-shaft { stroke-dashoffset: 0 !important; opacity: 1 !important; }
  #data-connections .ingestion-workspace-step { opacity: 1 !important; clip-path: none !important; }
}
@media print {
  #data-connections .ingestion-workspace-stage { break-inside: avoid; }
  #data-connections .ingestion-workspace-shaft { stroke-dashoffset: 0 !important; opacity: 1 !important; }
  #data-connections .ingestion-workspace-step { opacity: 1 !important; clip-path: none !important; }
}
