.page .mermaid {
  width: 100%;
  margin: 3% auto;
  text-align: center;

  & > svg {
    max-width: 100%;
  }

  @import "themes/neutral/index";

  [theme=dark] & {
    @import "themes/dark/index";
  }

  div.mermaidTooltip {
    z-index: 50;
  }
}
