/* Custom documentation stylesheet */

/* Constrain Mermaid diagram height, enable horizontal scrolling if needed, and center */
.mermaid {
  text-align: center;
  margin: 1.25rem 0;
  overflow-x: auto;
  overflow-y: hidden;
}

.mermaid svg {
  max-height: 360px !important;
  height: auto !important;
  width: auto !important;
  max-width: 100% !important;
  display: block;
  margin: 0 auto;
}
