
.speed-panel-group {
  padding: 12px 8px 10px 8px;
  border-top: 1px solid var(--border-light);
  margin-top: 12px;
}
.speed-panel-group .sb-legend-title-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.speed-display {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0 6px 0;
}
.speed-val-big {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.speed-unit {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.speed-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--border-light);
  outline: none;
  cursor: pointer;
  margin: 6px 0 4px 0;
}
.speed-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--accent);
  cursor: pointer;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent);
}
.speed-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--accent);
  cursor: pointer;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent);
}
.speed-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.param-boxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.param-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.param-label {
  flex: 0 0 60px;
  color: var(--muted);
  font-weight: 500;
}
.param-input-wrap {
  flex: 1;
  min-width: 0;
}
.param-input {
  width: 100%;
  padding: 4px 8px;
  border: 1px solid var(--border-light);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  text-align: right;
  outline: none;
  font-variant-numeric: tabular-nums;
}
.param-input:focus {
  border-color: var(--accent);
}
.param-input:disabled {
  background: var(--bg2);
  color: var(--muted);
  cursor: not-allowed;
}
.param-unit {
  flex: 0 0 26px;
  font-size: 11px;
  color: var(--muted);
}
.param-lock {
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.15s;
  background: none;
  border: none;
  padding: 0;
  color: var(--text);
}
.param-lock:hover { opacity: 0.8; }
.param-lock.locked { opacity: 1; color: var(--accent); }
.param-lock:not(.locked) { opacity: 0.3; color: var(--muted); }
.param-lock:focus { outline: none; }
.param-lock:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
