.stair-range {
  display: grid;
  gap: 1px;
  min-width: 0;
  font-size: 11px;
}

.stair-range-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  white-space: nowrap;
}

.stair-range output {
  color: #aacbfa;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-size: 10px;
}

.stair-range-heading > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stair-range input[type="range"] {
  width: 100%;
  min-width: 0;
  height: 16px;
  padding: 0;
  margin: 0;
  border: 0;
  accent-color: #97bfff;
  cursor: pointer;
}

.stair-range input:disabled {
  cursor: default;
  opacity: .45;
}

.stair-window-group {
  position: relative;
  min-width: 0;
}

.stair-window-group input[type="range"] {
  width: calc(100% - 45px);
}

.stair-window-buttons {
  display: flex;
  gap: 2px;
  position: absolute;
  right: 0;
  bottom: -1px;
}

.stair-window-buttons button {
  width: 20px;
  height: 20px;
  padding: 0;
  font-size: 13px;
}

.stair-line-mode select {
  width: 100%;
  min-width: 0;
  height: 20px;
  padding: 0 4px;
  font-size: 10px;
  line-height: 1.2;
  border-radius: 4px;
}
