/* piano-roll.css — the frame around the roll canvas (sound-authoring-design.md §7.1).

   The roll DRAWS itself: key rows, grid, notes and the velocity lane are all painted into one
   canvas by piano-roll.js, because a note grid is a plot and a plot is what canvases are for —
   ten thousand DOM nodes for ten thousand notes is the version that stops scrolling. So this file
   is only the frame: where the canvas sits, how it scrolls, and the level header above it.

   Colours inside the canvas come from SPEC §2 as literals in the drawing code (a canvas has no
   cascade to read them from); everything here uses the tokens directly. */

.pr-wrap{display:flex;flex-direction:column;height:100%;background:var(--well)}
.pr{position:relative;flex:1;min-height:0;overflow:auto;background:var(--well);outline:none}
.pr-cv{display:block}
/* the tool mode is legible before you press: a crosshair means a press here makes a note, the arrow
   means it makes a box. Two modes with one cursor is a mode you have to remember. */
.pr-draw .pr-cv{cursor:crosshair}

/* the roll's own level header — the same crumb language the canvas uses (graph-canvas.css
   `.gc-crumbs`), because a level is a level whether or not its surface is a graph
   (graph-canvas-standard §1.1). */
.pr-top{display:flex;align-items:center;gap:8px;
  padding:6px 8px;background:var(--panel);border-bottom:1px solid var(--line);font-size:11px}
.pr-top .b{background:rgba(28,30,36,.92);border:1px solid var(--line);border-radius:6px;
  padding:2px 9px;color:var(--text2);cursor:pointer}
.pr-top .b:hover{background:var(--hover);color:var(--accent-text)}
.pr-hint{margin-left:auto;color:var(--faint);font-size:10.5px}
.pr-hint .help-info{min-height:0;margin:0}
