        /* ---- BPM dial: 50/50 split — dial+readout left, fine controls + mode toggles right ---- */
        .bpm-control { display: block; }
        .bpm-top { display: flex; gap: 14px; align-items: stretch; }
        .bpm-dial-col { flex: 1 1 50%; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
        .bpm-ctrl-col { flex: 1 1 50%; min-width: 0; display: flex; flex-direction: column; gap: 8px; align-items: center; }
        .bpm-ctrl-col .control-group { margin-bottom: 0; }
        #bpmStepper .stepper-val { display: none; }
        #bpmDial { width: 100%; max-width: 200px; height: auto; aspect-ratio: 1 / 1; border-radius: 50%; cursor: pointer; touch-action: none; }
        .bpm-display { text-align: center; margin-bottom: 8px; }
        .bpm-value { font-family: var(--font-display); font-size: 3.2rem; font-weight: 900; color: var(--accent-yellow); line-height: 1; }
        .bpm-label { font-size: 0.85rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 2px; }
        .bpm-modes { display: flex; flex-direction: column; gap: 14px; }
        .bpm-modes .mode-col { flex: 1; min-width: 0; }
        .bpm-modes .toggle-btn-ui { padding: 9px 4px; font-size: 0.8rem; }
        .bpm-modes .src-toggle { flex-direction: column; width: 100%; }
        .bpm-modes .src-toggle .src-opt { font-size: 0.85rem; font-weight: 600; padding: 9px 12px; letter-spacing: 0; flex: none; width: 100%; }
        #monoSeg { flex-direction: row; } #monoSeg .src-opt { flex: 1; width: auto; }
        .mode-desc { font-size: 0.86rem; color: var(--text-secondary); text-align: center; margin-top: 9px; line-height: 1.3; }
        .mode-desc b { color: var(--accent-yellow); font-weight: 700; }

        /* ---- Two metronome columns ---- */
        .metronomes { display: flex; gap: 12px; }
        .metronomes.mono { justify-content: center; }
        .metronomes.mono .metronome.right-side { display: none; }
        .metronome { flex: 1; }

        /* ---- Sound panel: two voice columns side-by-side (like the Metro columns) ---- */
        .sound-cols { display: flex; gap: 12px; }
        .sound-cols > .card { flex: 1; min-width: 0; padding: 16px; }
        .sound-cols.mono > #soundRightCard { display: none; }
        .snd-voice { font-family: var(--font-display); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px;
            color: var(--accent-yellow); font-weight: 700; margin: 12px 0 6px; padding-top: 8px; border-top: 1px solid var(--border-color); }
        .snd-voice.g { color: var(--accent-green); }
        .snd-voice.tick { margin-top: 22px; padding-top: 16px; border-top: 2px solid var(--accent-primary); }
        .control-group.sld { margin-bottom: 12px; }
        .control-group.sld label { font-size: 0.78rem; }
        .snd-aud { width: 100%; margin-top: 6px; }

        .beat-indicators { display: flex; gap: 5px; margin-bottom: 12px; justify-content: center; flex-wrap: wrap; }
        .beat { width: 26px; height: 26px; border-radius: 50%; background: var(--beat-inactive); border: 2px solid var(--border-color); transition: all 0.08s ease; }
        .beat.active { background: var(--beat-active); box-shadow: 0 0 14px var(--beat-active); border-color: var(--beat-active); transform: scale(1.18); }
        .beat.accent { background: var(--beat-accent); box-shadow: 0 0 18px var(--beat-accent); border-color: var(--beat-accent); transform: scale(1.28); }

