/* Grafieken (!!!grafiek) en stroomschema's (!!!stroomschema) in presentaties */

.pd-chart,
.pd-flow {
    margin: 10px auto 0;
    max-width: 100%;
}

.pd-chart-title {
    font-size: 0.7em;
    font-weight: bold;
    margin-bottom: 6px;
    color: var(--g-primary, #1a5276);
}

.pd-svg {
    display: block;
    width: 100%;
    max-height: 560px;
    height: auto;
}

.pd-flow-svg {
    margin: 0 auto;
}

/* --- assen en grid --- */
.pd-grid {
    stroke: #ddd;
    stroke-width: 1;
}

.pd-axis {
    stroke: #888;
    stroke-width: 2;
}

.pd-axis-label {
    font-size: 20px;
    fill: #666;
}

.pd-cat-label {
    font-size: 22px;
    fill: #333;
}

.pd-value {
    font-size: 22px;
    font-weight: bold;
    fill: #333;
}

/* --- staaf --- */
.pd-bar {
    stroke: rgba(0, 0, 0, 0.15);
}

/* --- lijn --- */
.pd-line {
    stroke: var(--g-primary, #1a6fa8);
    stroke-width: 4;
    fill: none;
}

.pd-point {
    fill: #fff;
    stroke: var(--g-primary, #1a6fa8);
    stroke-width: 4;
}

/* --- cirkel/taart --- */
.pd-slice {
    stroke: #fff;
    stroke-width: 2;
}

.pd-pct {
    font-size: 22px;
    font-weight: bold;
    fill: #fff;
}

.pd-legend {
    font-size: 22px;
    fill: #333;
}

/* --- punten (xy-rooster) --- */
.pd-plot-frame {
    fill: none;
    stroke: #888;
    stroke-width: 1.5;
}

.pd-scatter-point {
    stroke: rgba(0, 0, 0, 0.25);
    stroke-width: 1;
}

.pd-scatter-label {
    font-size: 22px;
    fill: #333;
}

.pd-axis-title {
    font-size: 20px;
    font-weight: bold;
    fill: #444;
}

/* --- stroomschema (Mermaid) --- */
.pd-flow .mermaid,
.pd-flow svg {
    display: block;
    margin: 0 auto;
}

/* Pijlen en labels iets prominenter dan de mermaid-standaard. */
.pd-flow .edgePath .path,
.pd-flow .edgePaths path {
    stroke-width: 2.5px;
}

.pd-flow .edgeLabel {
    font-style: italic;
}

.pd-flow .edgeLabel rect {
    fill: #ffffff;
    stroke: rgba(0, 0, 0, 0.12);
    rx: 4px;
}

/* Knopen een beetje diepte geven. */
.pd-flow g.node {
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.12));
}
