:root {
  --accent: #0078d4;
  --surface-2: #e6e6e6;
  --text-dim: #6b6b6b;
}

.number-slider {
  display: flex;
  align-items: center;
  width: 100%;
}

.number-slider:not(.number-slider--vertical) input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 14px;
  background: transparent;
  cursor: pointer;
}

.number-slider:not(.number-slider--vertical) input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: var(--surface-2);
  border-radius: 3px;
}

.number-slider:not(.number-slider--vertical) input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -5px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}

.number-slider:not(.number-slider--vertical) input[type="range"]:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(0,120,212,0.14);
}

.number-slider input[type="range"]::-moz-range-track {
  height:6px;
  background: var(--surface-2);
  border-radius:3px;
}

.number-slider:not(.number-slider--vertical) input[type="range"]::-moz-range-track {
  height:6px;
  background: var(--surface-2);
  border-radius:3px;
}
.number-slider:not(.number-slider--vertical) input[type="range"]::-moz-range-thumb {
  width:16px;
  height:16px;
  background:var(--accent);
  border-radius:50%;
  border:none;
}
/* Vertical sliders removed; use horizontal styling only. */


.number-slider__ratio {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-left: 8px;
}

/* compact sidebar rendering for discrete sliders */
.number-slider { gap: 8px; }
.number-slider__meta { display:flex; align-items:center; gap:8px; }
.number-slider__value { min-width: var(--pfse-sidebar-numeric-w); text-align: right; }

/* Stronger, class-targeted rules to ensure the slider track and thumb
   render consistently even when other panel CSS matches input[type=range].
   These are intentionally specific to avoid touching evolution/yarn panel
   styles elsewhere. */
.number-slider__range {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 100% !important;
  height: 14px !important;
  background: transparent !important;
  cursor: pointer !important;
}
.number-slider__range::-webkit-slider-runnable-track {
  height: 6px !important;
  background: var(--surface-2) !important;
  border-radius: 3px !important;
}
.number-slider__range::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  width: 16px !important;
  height: 16px !important;
  margin-top: -5px !important;
  background: var(--accent) !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.12) !important;
}
.number-slider__range:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(0,120,212,0.14) !important;
}
.number-slider__range::-moz-range-track {
  height:6px !important;
  background: var(--surface-2) !important;
  border-radius:3px !important;
}
.number-slider__range::-moz-range-thumb {
  width:16px !important;
  height:16px !important;
  background:var(--accent) !important;
  border-radius:50% !important;
  border:none !important;
}
