.chordblocks-body .left {
  grid-template-rows: auto auto auto auto;
  gap: 8px;
}

.chordblocks-body .app-main {
  width: 100%;
  margin: 0;
}

.chord-sequencer {
  margin: 0;
}

.chord-grid-wrap {
  background: #050608;
  border-radius: 14px;
  padding: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

#arrangeFooter {
  padding: 8px 12px 12px;
}

#arrangeFooter .tools-bar {
  flex-wrap: nowrap;
  gap: 4px;
}

#arrangeFooter .arr-inline-track {
  min-width: 0;
}

#arrangeFooter .arr-group {
  margin-left: 8px;
}

#arrangeFooter .arr-inline {
  margin-right: 4px;
}

.arr-led {
  min-width: 42px;
}

.chord-step {
  min-width: 130px;
}

.chord-step .chord-row {
  margin-bottom: 4px;
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  justify-items: center;
  gap: 6px;
}

.chord-step .slider-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #5e6572;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chord-step .chord-row.single {
  display: flex;
  justify-content: center;
  grid-template-columns: none;
}

.chord-step .slider-value {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 32px;
  padding: 2px 6px;
  border-radius: 4px;
  background: linear-gradient(180deg, #fefefe, #dfe3eb);
  border: 1px solid #b3b9c8;
  color: #3a3e45;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-family: 'Consolas', 'Roboto Mono', monospace;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.chord-step .row.slider {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 2px 0 8px;
}

.chord-step .row.slider input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(180deg, #f9fbff, #ccd1db);
  border: 1px solid #b4bac7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.chord-step .row.slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fdfefe, #d3d7df);
  border: 1px solid #9da3b1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  margin-top: -3px;
}

.chord-step .row.slider input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fdfefe, #d3d7df);
  border: 1px solid #9da3b1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#panelRandom .mod-body {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  grid-auto-flow: row;
}

#randomizeButtons {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#panelFile .file-row.midi {
  grid-template-columns: 1fr;
  justify-items: center;
  margin: 10px 0;
}

#panelFile .file-row.midi .btn.btn-wide {
  max-width: 180px;
}

.chord-step .row.slider input[type="range"]::-moz-range-track {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(180deg, #f9fbff, #ccd1db);
  border: 1px solid #b4bac7;
}
