.rack-unit .arp-lab .pattern-step .velocity-editor{position:absolute;left:0;bottom:4px;width:22px;min-width:0;height:44px;min-height:0;padding:0;border:0;border-radius:2px;background:transparent;box-shadow:none;transform:none;z-index:4;cursor:ns-resize;touch-action:none;user-select:none}
.rack-unit .arp-lab .velocity-editor .velocity-bar{pointer-events:none;left:3px;bottom:0;width:7px;height:max(2px,calc(var(--velocity)*42px));border-radius:1px}
.rack-unit .arp-lab .pattern-step .velocity-editor .velocity-bar::after{content:'';position:absolute;left:-2px;right:-2px;top:0;bottom:auto;height:3px;background:#f5d59d;border-radius:1px}
.rack-unit .arp-lab .velocity-editor::after{content:attr(aria-valuenow);display:none;position:absolute;bottom:calc(100% + 2px);left:0;background:#172118;color:#f6dbac;border:1px solid #9b8259;border-radius:3px;padding:2px 4px;font:10px monospace;pointer-events:none}
.rack-unit .arp-lab .velocity-editor:is(:hover,:focus-visible,.editing)::after{display:block}.rack-unit .arp-lab .velocity-editor:is(:focus-visible,.editing){outline:1px solid #e9c38b;outline-offset:1px;background:#e3bf7b12}.rack-unit .arp-lab .pattern-step.muted:has(.velocity-editor:is(:hover,:focus-visible,.editing)){opacity:.8}
.rack-unit .arp-lab .pitch-point{bottom:calc(62px + var(--pitch)*103px)}.arp-velocity-help{color:#c4cdbd;font:11px Arial,sans-serif;margin:-3px 0 10px;line-height:1.4}

/* Outline = clock position; bright dot = new note; dashed outline = rest. */
.rack-unit.unit-arp .pattern-step.playing.resting{opacity:1;border:1px dashed #a8b5a1;box-shadow:none;background-color:#ffffff05}.rack-unit.unit-arp .pattern-step.playing.resting .pitch-point{opacity:.12;box-shadow:none}.rack-unit.unit-arp .pattern-step.playing.triggered .pitch-point{background:#ffe4ad;box-shadow:0 0 13px #ffe4ad99}.rack-unit.unit-arp .lab-controls output{display:block;font:11px Arial,sans-serif;color:#d6dccc;min-height:15px;margin-top:4px}.rack-unit.unit-arp .pattern-legend span:last-child{font-weight:600}

.rack-unit.unit-arp .pattern-step.muted:not(.triggered) .pitch-point{opacity:.18;box-shadow:none}.rack-unit.unit-arp .pattern-step.muted:not(.triggered) .pitch-point b{opacity:.65}
