.ox-graphviz {
  margin: 1.5rem 0;
  overflow-x: auto;
  color: var(--octc-color-text);
}

.ox-graphviz svg {
  display: block;
  width: max-content;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.ox-graphviz text {
  fill: currentColor;
  font-family: var(--octc-font-family-base);
}

.ox-graphviz .node polygon,
.ox-graphviz .node rect,
.ox-graphviz .node ellipse {
  fill: var(--octc-color-bg-soft);
  stroke: currentColor;
}

.ox-graphviz .edge path,
.ox-graphviz .edge polygon {
  stroke: currentColor;
}

.ox-graphviz .edge polygon {
  fill: currentColor;
}