.root {
  display: flex;
  width: 100%;
  touch-action: none;
  user-select: none;
}

.control {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 1rem;
}

.track {
  position: relative;
  width: 100%;
  height: 0.375rem;
  overflow: hidden;
  border-radius: 999px;
  background-color: color-mix(in oklch, var(--ac-foreground), transparent 88%);
}

.indicator {
  position: absolute;
  inset: 0 auto 0 0;
  background-color: var(--ac-primary);
}

.thumb {
  width: 0.875rem;
  height: 0.875rem;
  border: 1px solid color-mix(in oklch, var(--ac-primary), transparent 60%);
  border-radius: 999px;
  background-color: var(--ac-background);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.14);
  outline: none;
}

.thumb:focus-visible {
  outline: 2px solid var(--ac-ring);
  outline-offset: 2px;
}

.thumb[data-disabled] {
  opacity: 0.5;
}
