.reveal-flowchart {
  --flowchart-node-fill: #f6f8f9;
  --flowchart-node-stroke: #23373b;
  --flowchart-node-text: #23373b;
  --flowchart-edge-stroke: #8c989d;
  --flowchart-accent: #eb811b;
  --flowchart-transition: 520ms cubic-bezier(0.25, 0.85, 0.35, 1);

  width: min(100%, 620px);
  margin: 0 auto;
}

.reveal-flowchart-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 66vh;
  overflow: visible;
}

.flowchart-node,
.flowchart-edge {
  opacity: 0;
  transition: opacity 160ms ease;
}

.flowchart-node.is-visible,
.flowchart-edge.is-visible {
  opacity: 1;
}

.flowchart-graph-node {
  transition:
    opacity 160ms ease,
    transform var(--flowchart-transition);
}

.flowchart-node-body {
  transform:
    translate(var(--flowchart-enter-x, 0), var(--flowchart-enter-y, 0))
    scale(0.08, 0.08);
  transform-box: fill-box;
  transform-origin: center;
  transition: transform var(--flowchart-transition);
}

.flowchart-node.is-visible .flowchart-node-body {
  transform: translate(0, 0) scale(1, 1);
}

.flowchart-node-box {
  fill: var(--flowchart-node-fill);
  stroke: var(--flowchart-node-stroke);
  stroke-width: 2;
}

.flowchart-node-label {
  color: var(--flowchart-node-text);
  overflow: visible;
}

.flowchart-node-label-content {
  align-items: center;
  box-sizing: border-box;
  color: var(--flowchart-node-text);
  display: flex;
  font-family: var(--r-main-font, "Fira Sans", Helvetica, sans-serif);
  font-size: var(--flowchart-node-font-size, 0.48em);
  font-weight: 400;
  height: 100%;
  justify-content: center;
  line-height: 1.18;
  padding: 0 18px;
  text-align: center;
  width: 100%;
}

.flowchart-node-label-inner {
  display: block;
}

.flowchart-node-label-content em {
  font-style: italic;
  font-weight: 400;
}

.flowchart-node-label-content strong {
  font-weight: 700;
}

.flowchart-node-label-content .accent {
  color: var(--flowchart-accent);
  font-weight: 700;
}

.flowchart-node-label-content .MathJax {
  font-size: inherit !important;
}

.flowchart-edge-path {
  fill: none;
  stroke: var(--flowchart-edge-stroke);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  stroke-linecap: round;
  stroke-width: 2;
  transition: stroke-dashoffset var(--flowchart-transition);
}

.flowchart-edge.is-visible .flowchart-edge-path {
  stroke-dashoffset: 0;
}

.flowchart-edge-arrowhead {
  fill: none;
  opacity: 0;
  stroke: var(--flowchart-edge-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transform: translate(var(--flowchart-arrow-enter-x, 0), var(--flowchart-arrow-enter-y, 0));
  transition:
    opacity 120ms ease,
    transform var(--flowchart-transition);
}

.flowchart-edge.is-visible .flowchart-edge-arrowhead {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal-flowchart-fragment {
  display: none;
}

.reveal-flowchart-error {
  outline: 2px solid #c33;
}
