:host,
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
    :host,
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }:host,
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
    :host,
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }:host {
  /**
   * @prop --inactive-color: Defaults to var(--nano-color-neutral-800);
   * @prop --knob-color: Defaults to var(--nano-color-primary-1200);
   * @prop --knob-active-color: Defaults to var(--nano-color-primary-1400);
   * @prop --knob-width: Defaults to 1.75rem;
   * @prop --knob-height: Defaults to 1.25rem;
   * @prop --bar-height: Defaults to .5em;
   * @prop --bar-background: Defaults to var(--nano-color-neutral-300);
   * @prop --bar-background-active: Defaults to var(--nano-color-primary-1000);
   * @prop --tooltip-background: Defaults to var(--nano-color-base-0);
   * @prop --tooltip-color: Defaults to var(--nano-color-neutral-1400);
   */
  --inactive-color: var(--nano-color-neutral-800);
  --knob-color: var(--nano-color-primary-1200);
  --knob-active-color: var(--nano-color-primary-1400);
  --knob-width: 1.75rem;
  --knob-height: 1.25rem;
  --bar-height: .5em;
  --bar-background: var(--nano-color-neutral-300);
  --bar-background-active: var(--nano-color-primary-1000);
  --tooltip-background: var(--nano-color-base-0);
  --tooltip-color: var(--nano-color-neutral-1400);
}

.range-wrap {
  display: flex;
  position: relative;
  flex: 3;
  align-items: center;
  -webkit-user-select: none;
          user-select: none;
}
.range-wrap ::slotted(ion-icon[slot]) {
  font-size: 1.5em;
}
.range-wrap ::slotted([slot=start]) {
  margin-inline: 0 calc(var(--knob-width) * 0.66);
  margin-block: 0;
  font-size: 0.9em;
}
.range-wrap ::slotted([slot=end]) {
  margin-inline: calc(var(--knob-width) * 0.66) 0;
  margin-block: 0;
  font-size: 0.9em;
}

.range-slider {
  position: relative;
  flex: 1;
  inline-size: 100%;
  block-size: var(--knob-height);
  contain: size layout style;
  cursor: grab;
  touch-action: pan-y;
}

:host(.range-pressed) .range-slider {
  cursor: grabbing;
}

.range-label {
  inline-size: 100%;
  overflow: clip;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--nano-color-base-1000);
  font-size: var(--nano-font-size-xs);
  padding-block-end: var(--nano-spacing-sm);
  line-height: 1;
  display: flex;
  align-items: center;
}

.visually-hidden {
  clip-path: inset(50%);
  block-size: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  inline-size: 1px;
}

.range-bar {
  inset-block-start: calc((var(--knob-height) - var(--bar-height)) / 2);
  inset-inline-start: 0;
  position: absolute;
  inline-size: 100%;
  block-size: var(--bar-height);
  background: var(--bar-background);
  pointer-events: none;
}

.range-bar-active {
  inset-block-end: 0;
  inline-size: auto;
  background: var(--bar-background-active);
}

.range-knob {
  border-radius: var(--nano-border-radius-pill);
  position: absolute;
  inline-size: var(--knob-width);
  block-size: var(--knob-height);
  background: var(--knob-color);
  z-index: 2;
  pointer-events: none;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  translate: -50% -50%;
}
:host(:not(.range-has-pin)) .range-knob-pressed .range-knob {
  background: var(--knob-active-color);
}

.range-knob-handle {
  inset-block-start: 50%;
  translate: 0 -50%;
  inset-inline-start: 0;
  margin-inline-start: calc(0px - var(--knob-width));
  position: absolute;
  inline-size: calc(var(--knob-width) * 2);
  block-size: calc(var(--knob-height) * 2);
  text-align: center;
}
.range-knob-handle:focus {
  outline: none;
}
.range-knob-handle:focus .range-knob {
  outline: var(--nano-focus-ring);
}

.range-tick {
  position: absolute;
  inset-block-start: calc((var(--knob-height) - var(--bar-height)) / 2);
  inline-size: var(--bar-height);
  block-size: var(--bar-height);
  background: var(--inactive-color);
  z-index: 1;
  pointer-events: none;
}
.range-tick-active {
  background: transparent;
}

.range-pin {
  transform: translate3d(0, 0, 0) scale(0.01);
  transform-origin: center top;
  padding: 0.66em 0;
  text-align: center;
  box-sizing: border-box;
  display: inline-block;
  position: relative;
  min-inline-size: 2.33em;
  block-size: 2.33em;
  transition: transform 120ms ease, background 120ms ease;
  background: var(--tooltip-background);
  color: var(--tooltip-color);
  font-size: 0.75em;
  box-shadow: var(--nano-shadow-l1);
}
.range-knob-pressed .range-pin {
  transform: translate3d(0, -100%, 0) scale(1);
}

:host(.range-disabled) {
  pointer-events: none;
}
:host(.range-disabled) .range-bar-active,
:host(.range-disabled) .range-bar,
:host(.range-disabled) .range-tick {
  background-color: var(--inactive-color);
}
:host(.range-disabled) .range-knob {
  transform: scale(0.55);
  outline: 5px solid #fff;
  background-color: var(--inactive-color);
}