.prose .diagram-block {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid var(--line, #d9dfdd);
  border-radius: 0.75rem;
  background: #fff;
  color: #172526;
}
.prose .diagram-output {
  overflow: auto;
  max-height: 75vh;
  text-align: center;
}
.prose .diagram-output > svg {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.prose .diagram-status {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #46585a;
}
.prose .diagram-error { color: #a22828; }
.prose .diagram-source { margin-top: 0.75rem; text-align: left; }
.prose .diagram-source > summary { cursor: pointer; font-size: 0.875rem; }
.prose .diagram-source > pre { margin-bottom: 0; }
.diagram-render-frame {
  position: fixed;
  left: -12000px;
  top: 0;
  width: 1024px;
  height: 768px;
  border: 0;
  visibility: hidden;
  pointer-events: none;
}
