@* Beat header — shown once above the first bar *@
@* One row per bar *@
@for (int bar = 0; bar < _barCount; bar++)
{
var barIndex = bar;
B@(barIndex + 1)
@for (int s = 0; s < 16; s++)
{
var globalStep = barIndex * 16 + s;
var localStep = s;
bool isGroupStart = localStep % 4 == 0;
ToggleStep(globalStep)">
@(localStep + 1)
}
}