.node-sequencer-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  width: 100%;
  background: #121214;
  color: #e8e8ea;
  user-select: none;
  outline: none;
}

.node-sequencer-chrome {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  padding: 4px 8px;
  flex: 0 0 auto;
  font-size: 11px;
  border-bottom: 1px solid #2a2a30;
}

.node-sequencer-chrome label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.node-sequencer-chrome select,
.node-sequencer-chrome button {
  background: #1c1c22;
  color: inherit;
  border: 1px solid #3a3a44;
  border-radius: 3px;
  font: inherit;
  padding: 1px 6px;
}

.node-sequencer-chrome button:hover {
  border-color: #6a6a78;
}

.node-sequencer-audition[aria-pressed="true"] {
  border-color: #6a9e78;
}

.node-sequencer-roll-host {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

.node-sequencer-roll {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: var(--node-dot-cursor);
  touch-action: none;
  image-rendering: pixelated;
}

.node-midi-keyboard-module [data-key-index].ghost-play,
.node-grid-keyboard-pad.ghost-play {
  box-shadow: inset 0 0 0 2px rgba(74, 163, 255, 0.45);
}

.node-midi-keyboard-module [data-key-index].ghost-arp,
.node-grid-keyboard-pad.ghost-arp {
  box-shadow: inset 0 0 0 2px rgba(212, 160, 23, 0.45);
}

.node-midi-keyboard-module [data-key-index].ghost-chord,
.node-grid-keyboard-pad.ghost-chord {
  box-shadow: inset 0 0 0 2px rgba(61, 220, 132, 0.4);
}

.node-midi-keyboard-module [data-key-index].ghost-patch,
.node-grid-keyboard-pad.ghost-patch {
  box-shadow: inset 0 0 0 2px rgba(255, 120, 120, 0.4);
}

.node-midi-keyboard-module [data-key-index].chord-edit-note,
.node-grid-keyboard-pad.chord-edit-note {
  box-shadow: inset 0 0 0 2px rgba(226, 58, 58, 0.55);
}
