/* Inline SVG figures in Academy prose. The SVG carries only classes; every colour is a token here. */
.academy-figure { margin: var(--spacing-24) 0; }
.academy-figure--wide { overflow-x: auto; }
.academy-figure__svg { display: block; width: 100%; height: auto; font-family: var(--font-family-body); font-size: var(--font-size-12); }
.academy-figure--wide .academy-figure__svg { min-width: 40rem; }
.academy-figure figcaption { margin-top: var(--spacing-8); color: var(--text-secondary); font-size: var(--font-size-14); }

.academy-figure__strip { fill: var(--background-surface-2); stroke: var(--border-strong); stroke-width: 1; }
.academy-figure__gap { fill: var(--text-danger); }
.academy-figure__tick { stroke: var(--border-strong); stroke-width: 1; }
.academy-figure__axis { fill: var(--text-tertiary); }
.academy-figure__label { fill: var(--text-primary); }
.academy-figure__muted { fill: var(--text-secondary); }
.academy-figure__mono { font-family: var(--font-family-mono); }
.academy-figure__leader { stroke: var(--border-strong); stroke-width: 1; stroke-dasharray: 2 2; }
.academy-figure__node { fill: var(--background-base); stroke: var(--border-strong); stroke-width: 1; }
.academy-figure__node-title { fill: var(--text-primary); font-size: var(--font-size-14); font-weight: var(--font-weight-600); }
.academy-figure__arrow { stroke: var(--text-primary); stroke-width: 1.5; fill: none; }
.academy-figure__arrowhead { fill: var(--text-primary); }
.academy-figure__bar { fill: var(--text-secondary); }
.academy-figure__bar--accent { fill: var(--text-danger); }
.academy-figure__bar--faint { fill: var(--border-default); }
.academy-figure__range { fill: var(--border-strong); }
.academy-figure__point { fill: var(--text-danger); }
.academy-figure__read { fill: var(--text-secondary); }
.academy-figure__read-low { fill: var(--text-danger); }
.academy-figure__marker { stroke: var(--text-danger); stroke-width: 1.5; }
.academy-figure__grid { stroke: var(--border-subtle); stroke-width: 1; }
.academy-figure__line { stroke: var(--text-primary); stroke-width: 1.5; fill: none; }
.academy-figure__line--dashed { stroke-dasharray: 4 3; }
.academy-figure__line--accent { stroke: var(--text-danger); }
.academy-figure__band { fill: var(--border-default); opacity: 0.6; }
