[data-wd-demo="automation-flow-editor"] .fl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.8fr);
  gap: 14px;
  align-items: start;
}

[data-wd-demo="automation-flow-editor"] .fl-svg {
  display: block;
  width: 100%;
  height: auto;
  background: #12161a;
  border: 1px solid #373b3e;
  border-radius: 8px;
}

[data-wd-demo="automation-flow-editor"] .fl-edge {
  fill: none;
  stroke: #8f979e;
  stroke-width: 2;
  marker-end: url(#fl-arrow);
}

[data-wd-demo="automation-flow-editor"] .fl-svg.is-run .fl-edge[data-take] {
  stroke: #4ade80;
  stroke-width: 3;
  marker-end: url(#fl-arrow-go);
}

[data-wd-demo="automation-flow-editor"] .fl-start {
  fill: #143028;
  stroke: #4ade80;
}

[data-wd-demo="automation-flow-editor"] .fl-proc,
[data-wd-demo="automation-flow-editor"] .fl-end,
[data-wd-demo="automation-flow-editor"] .fl-dec,
[data-wd-demo="automation-flow-editor"] .fl-orphan {
  stroke-width: 1.5;
}

[data-wd-demo="automation-flow-editor"] .fl-proc {
  fill: #1a2744;
  stroke: #8bb9fe;
}

[data-wd-demo="automation-flow-editor"] .fl-dec {
  fill: #2a2416;
  stroke: #ffd666;
}

[data-wd-demo="automation-flow-editor"] .fl-end {
  fill: #1c2430;
  stroke: #8f979e;
}

[data-wd-demo="automation-flow-editor"] .fl-orphan {
  fill: #23272b;
  stroke: #6c757d;
  stroke-dasharray: 4 3;
}

[data-wd-demo="automation-flow-editor"] .fl-svg.is-warn .fl-orphan {
  stroke: #ffd666;
}

[data-wd-demo="automation-flow-editor"] .fl-svg.is-run [data-take="node"] .fl-start,
[data-wd-demo="automation-flow-editor"] .fl-svg.is-run [data-take="node"] .fl-proc,
[data-wd-demo="automation-flow-editor"] .fl-svg.is-run [data-take="node"] .fl-dec,
[data-wd-demo="automation-flow-editor"] .fl-svg.is-run [data-take="node"] .fl-end {
  fill: #143028;
  stroke: #4ade80;
  stroke-width: 2;
}

[data-wd-demo="automation-flow-editor"] .fl-name,
[data-wd-demo="automation-flow-editor"] .fl-label,
[data-wd-demo="automation-flow-editor"] .fl-warn-label {
  fill: #e9ecef;
  font-family: inherit;
  font-size: 13px;
  text-anchor: middle;
}

[data-wd-demo="automation-flow-editor"] .fl-label,
[data-wd-demo="automation-flow-editor"] .fl-warn-label {
  fill: #8f979e;
  font-size: 11px;
}

[data-wd-demo="automation-flow-editor"] .fl-warn-label {
  display: none;
}

[data-wd-demo="automation-flow-editor"] .fl-svg.is-warn .fl-warn-label {
  display: block;
  fill: #ffd666;
}

[data-wd-demo="automation-flow-editor"] .fl-status {
  display: grid;
  gap: 10px;
}

[data-wd-demo="automation-flow-editor"] .fl-json {
  margin: 0;
  white-space: pre-wrap;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 12px;
  color: #c5d0d8;
}

@media (max-width: 760px) {
  [data-wd-demo="automation-flow-editor"] .fl-layout {
    grid-template-columns: 1fr;
  }
}
