/* Mermaid flowcharts — components/_flowchart.html.twig + flowchart_controller.js.
   Node colours come from the diagram's own classDefs; this is only the frame. */

.bit-flowchart {
    margin: 0;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(29, 53, 87, .12);
    overflow-x: auto;
}

.bit-flowchart-canvas {
    display: flex;
    justify-content: center;
    min-height: 60px;
}

.bit-flowchart-canvas svg {
    max-width: 100%;
    height: auto;
}

.bit-flowchart-loading,
.bit-flowchart-error {
    align-self: center;
    color: #6c757d;
    font-size: 13px;
}

.bit-flowchart-error {
    color: #b02a37;
}

.bit-flowchart figcaption {
    margin-top: 10px;
    font-size: 12px;
    color: #6c757d;
    text-align: center;
}
