/* fig-tradeoff: the measured perception-distortion plane (same orientation as fig-dp). Figure-only styles; colours come from the kit tokens. */

/* Tick labels and axis titles at 12 px (the kit's small size is 11.5 px). */
#fig-tradeoff .pf-axis text { font-size: 12px; }
.tradeoff-title { font-size: 12.5px; fill: var(--fg); }
.tradeoff-metric { fill: var(--muted); }
.tradeoff-what { font-size: 12px; fill: var(--muted); }

/* Marks. */
.tradeoff-prior-mark { fill: var(--bg); stroke: var(--c-prior); stroke-width: 2; }
.tradeoff-prior-halo { fill: var(--bg); stroke: none; }   /* cuts the solid flow line where it passes the prior */
.tradeoff-err { stroke: var(--c-ref); stroke-width: 1; stroke-opacity: 0.7; fill: none; }
.tradeoff-first { fill: none; stroke: var(--c-flow); stroke-width: 1.5; stroke-dasharray: 4 3; }
.tradeoff-head { fill: var(--c-flow); stroke: none; }
.tradeoff-label { paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; }
.tradeoff-ring { fill: none; stroke: var(--fg); stroke-width: 1.5; }

/* Interaction layers: invisible; the ring above is the hover and focus indicator. */
.tradeoff-hit { fill: none; pointer-events: all; cursor: crosshair; }
.tradeoff-focus { fill: none; stroke: none; pointer-events: none; outline: none; }
.tradeoff-focus:focus { outline: none; }
