/* Reserve the same reading row during silence; no instrument is drawn. */
#score .instrument-rest-space {
  display: block;
  flex: 0 0 var(--instrument-cue-row-height, 43px);
  height: var(--instrument-cue-row-height, 43px);
  width: 0;
  pointer-events: none;
}
#scorePaper[data-presentation=unified] #score .symbol-layer[data-symbol-system=instrument] {
  gap: 2px;
  min-height: var(--instrument-cue-row-height, 43px);
  transform: scale(var(--symbol-scale, 1));
  transform-origin: left center;
}
#scorePaper[data-presentation=unified] #score .symbol-layer[data-symbol-system=instrument]:has(.boomwhackers-note-glyph) {
  transform: scaleX(var(--symbol-scale, 1));
}
#score .instrument-note-glyph {
  display: block;
  flex: none;
  width: 40px;
  height: 39px;
  overflow: visible;
  shape-rendering: geometricPrecision;
  pointer-events: none;
}
/* A cue is the full shared instrument, scaled down without redrawing it. */
#score .instrument-shape-glyph {width: 64px; height: 43px; max-width: none; max-height: none}
#score .boomwhackers-note-glyph {width: 14px}
#score .bells-note-glyph {width: 28px}
#score .instrument-note-glyph .classroom-key {cursor: default; pointer-events: none}
#score .keyboard-key:not(.indicated) .keyboard-pitch-mark {opacity: 0}
#score .keyboard-key.indicated .keyboard-key-face {fill: var(--key-color); stroke-width: 2.4}
#score .keyboard-key.indicated .keyboard-pitch-mark {opacity: 1}
#score .kalimba-tine:not(.indicated) .kalimba-pitch-dot {opacity: .3}
#score .kalimba-tine.indicated .kalimba-metal {fill: var(--key-color); stroke-width: 2.2}
#score .metallo-bar.indicated .bar-face {fill: var(--bar-color); stroke: var(--art-ink); stroke-width: 2.8}
#score .tube-table {display: none}
#score .instrument-note-glyph :is(.tube-impact,.bell-waves,.keyboard-waves,.metallo-waves) {display: none}
#score .instrument-pitch-token rect {fill: var(--art-paper); stroke: var(--art-ink); stroke-width: 1.5}
#score .instrument-pitch-token text {
  fill: var(--art-ink);
  stroke: none;
  font: 750 18px Playpen, sans-serif;
  text-anchor: middle;
}
#score .instrument-pitch-token tspan {font-size: 12px}
#scorePaper.instrument-cues-playing #score .note-block.active .instrument-note-glyph {
  filter: drop-shadow(0 0 2px var(--art-gold));
}
#scorePaper.instrument-cues-playing #score .note-block.active .ocarina-note-glyph {
  filter: drop-shadow(0 0 1px color-mix(in srgb, var(--art-gold) 62%, transparent));
}
#scorePaper.instrument-cues-playing #score .note-block.active .instrument-note-glyph .indicated :is(.bar-face,.keyboard-key-face,.kalimba-metal) {
  stroke: var(--art-ink); stroke-width: 3.5;
}
@media print {
  #score .instrument-shape-glyph.metallo-illustration {width: 64px!important; max-width: none!important}
  #score .instrument-note-glyph .keyboard-key.indicated .keyboard-key-face {fill: var(--key-color)}
  #score .instrument-note-glyph {print-color-adjust: exact; -webkit-print-color-adjust: exact; filter: none!important}
  /* A paused playhead must not leave faded or glowing notes in a PDF. */
  #scorePaper #score .note-block:is(.active,.played) {opacity: 1!important; outline: none!important; box-shadow: none!important; filter: none!important}
  #scorePaper #score .note-block.active .metallo-bar.indicated .bar-face {stroke-width: 2.8!important}
  #scorePaper #score .note-block.active .keyboard-key.indicated .keyboard-key-face {stroke-width: 2.4!important}
  #scorePaper #score .note-block.active .kalimba-tine.indicated .kalimba-metal {stroke-width: 2.2!important}
}
