/* waveform (WaveDrom) editor picks.
   Two pick targets map to each signal: the lane group  g#wavelane_i_0  and the signal name
   text.info. A <g> paints no stroke of its own, so relay the selection outline to the lane's wave
   paths; give the name text an accent fill (the pie pattern) rather than a text stroke. */

/* lane group: neutralise the default group stroke, relay colour to its drawn wave paths */
.dia-waveform .flow-canvas g[id^="wavelane_"].dia-pick { stroke: none !important; }
.dia-waveform .flow-canvas g[id^="wavelane_"].dia-pick-hover path,
.dia-waveform .flow-canvas g[id^="wavelane_"].dia-pick-hover use { stroke: rgba(59, 110, 246, 0.6) !important; }
.dia-waveform .flow-canvas g[id^="wavelane_"].dia-pick-sel path,
.dia-waveform .flow-canvas g[id^="wavelane_"].dia-pick-sel use { stroke: var(--accent, #3b6ef6) !important; }

/* signal name label: colour it, don't stroke it */
.dia-waveform .flow-canvas text.info.dia-pick-hover,
.dia-waveform .flow-canvas text.info.dia-pick-sel { stroke: none !important; fill: var(--accent, #3b6ef6) !important; }

/* WaveDrom sizes its own svg; keep it from overflowing the pane before the stage transform runs */
.dia-waveform .flow-canvas svg.WaveDrom { max-width: none; }
