.roll-tools{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:20px 0 8px}.roll-tools label{min-width:125px}.roll-tools button{align-self:end;min-height:42px}.roll-length{font-size:14px;color:var(--accent);margin:12px 0 12px auto}.roll-viewport{height:390px;overflow:auto;max-width:100%;border:1px solid #4e6053;border-radius:10px;background:#101a17;overscroll-behavior:contain}.roll-content{position:relative;min-width:100%;isolation:isolate}.roll-ruler{position:sticky;top:0;margin-left:72px;height:28px;background:#29382e;color:#d9e3cd;z-index:8;overflow:hidden;font-size:12px}.roll-ruler span{position:absolute;top:5px;padding-left:4px;border-left:1px solid #63735a}.roll-keys{position:sticky;left:0;width:72px;height:1078px;z-index:6;background:#cad3c4;pointer-events:none}.roll-key{position:absolute;left:0;width:72px;height:22px;padding:2px 10px;color:#263328;background:#c5d1bd;border-bottom:1px solid #758c70;font-size:12px;line-height:18px}.roll-key.black{background:#25352d;color:#c8d5c3;width:64px}.roll-surface{position:absolute;top:28px;left:72px;height:1078px;touch-action:none;cursor:crosshair}.roll-row{position:absolute;left:0;width:100%;background:repeating-linear-gradient(to right,transparent 0,transparent calc(var(--beat-width) - 1px),#65715c44 calc(var(--beat-width) - 1px),#65715c44 var(--beat-width));border-bottom:1px solid #41534455}.roll-row.black{background-color:#060d0a55}.roll-boundary{position:absolute;top:0;bottom:0;border-left:1px solid #c4ad7c7a;pointer-events:none}.roll-boundary span{font-size:10px;color:#dcc69a;background:#18241ed9;padding:2px;position:sticky;top:28px}.roll-surface button.roll-note{position:absolute;height:18px;min-width:10px;padding:0 9px 0 5px;border:1px solid #c8dca4;border-radius:3px;background:#779764;color:#101c13;font-size:11px;white-space:nowrap;text-align:left;overflow:hidden;line-height:16px;cursor:grab;touch-action:none}.roll-note.selected{outline:2px solid #efcf90;z-index:4}.roll-note span{pointer-events:none}.roll-note i{position:absolute;right:0;top:0;bottom:0;width:8px;border-left:2px solid #253a24;cursor:ew-resize;background:#c7de9f99}.roll-playhead{position:absolute;top:0;bottom:0;width:2px;background:#ffdd98;box-shadow:0 0 8px #ffdd9866;z-index:5;pointer-events:none}.roll-step-strip{display:flex;gap:6px;overflow-x:auto;padding:12px 2px}.roll-step-strip button{min-width:68px;padding:7px!important;font-size:13px!important;flex:none}.roll-step-strip button small{display:block;white-space:nowrap}.roll-step-strip button[aria-pressed=true]{border-color:#e5c78e;background:#34402b}.roll-step-strip .playing-step{box-shadow:inset 0 -3px #c3d3a0}.roll-inspector{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:12px 0 18px}.roll-message{min-height:22px}.motif-content{min-width:0}.motif-track{min-width:0}.composition-panel{min-width:0}.roll-note:focus-visible{outline:3px solid #ffdca5}@media(max-width:800px){.roll-inspector{grid-template-columns:1fr 1fr}.roll-viewport{height:330px}.roll-length{width:100%;margin:4px 0}}@media(max-width:430px){.roll-inspector{grid-template-columns:1fr}.roll-tools label{flex:1;min-width:110px}}
/* Harmonic hints stay below editable notes and never intercept the pointer. */
.roll-guide-controls{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:15px 0 9px}.composition-panel .roll-guide-controls label{display:flex;flex-direction:row;align-items:center;gap:7px;font-size:14px}.roll-guide-controls input{width:16px;height:16px;accent-color:#e5b365}.guide-swatch{display:inline-block;width:20px;height:13px;border-radius:3px;flex:none}.guide-swatch.chord{background:rgba(242,178,83,.4);border:1px solid #d3a25c}.guide-swatch.scale{background:rgba(75,159,233,.32);border:1px solid #6b9fca}.guide-neutral{font-size:12px;color:var(--muted)}.roll-ruler{height:52px}.roll-ruler .roll-chord-span{top:26px;height:26px;line-height:24px;color:#f3cb8b;background:#564024a8;border-left:1px solid #b99059;border-top:1px solid #83633d;white-space:nowrap;overflow:hidden;padding-left:7px;font-size:13px}.roll-surface{top:52px}.roll-guide{position:absolute;height:21px;pointer-events:none;z-index:1}.roll-guide.chord{background:rgba(242,178,83,.28);box-shadow:inset 0 1px rgba(242,178,83,.15)}.roll-guide.scale{background:rgba(75,159,233,.16)}.roll-boundary{z-index:2}.roll-surface button.roll-note{z-index:3;background:#92b779;color:#0b180d;border-color:#d2e7b3}.roll-surface button.roll-note.selected{z-index:4}.roll-key.key-chord{box-shadow:inset -6px 0 #dca552;background-color:#e1c58f;color:#241d12}.roll-key.black.key-chord{background:#7b5c31;color:#ffdfaa}.roll-key.key-scale{box-shadow:inset -4px 0 #6ba8d8;background-color:#9ebbd0;color:#142d40}.roll-key.black.key-scale{background:#304b61;color:#c8e0f1}
