: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 --indicator-transition. The time it takes for the indicator to transition. Defaults to `var(--nano-transition-fast)`.
   * @prop --indicator-color. The color of the indicator. Defaults to `var(--nano-color-primary-1000)`.
   * @prop --indicator-size. The size of the indicator. Defaults to `3px`.
   * @prop --indicator-track-color. The color of the indicator track. Defaults to `var(--nano-color-neutral-300)`.
   * @prop --indicator-track-size. The size of the indicator track. Defaults to `var(--indicator-size)`.
   * @prop --scroll-btn-color. The color of the scroll buttons. Defaults to `currentColor`.
   * @prop --fade-size. The size of the fade effect. Defaults to `100px`.
   */
  --indicator-transition: var(--nano-transition-fast);
  --indicator-color: var(--nano-color-primary-1000);
  --indicator-size: 3px;
  --indicator-track-color: var(--nano-color-neutral-300);
  --indicator-track-size: var(--indicator-size);
  --scroll-btn-color: var(--nano-color-primary-1200);
  --scroll-btn-size: 1rem;
  --fade-size: 100px;
  position: relative;
  z-index: var(--nano-z-index-raised);
}

:host([orientation=horizontal]) {
  display: block;
}

:host([orientation=vertical]) {
  display: flex;
}

.onav--no-transitions * {
  transition-duration: 0s !important;
}

.onav__nav:has(.onav__scroller:focus-visible) {
  outline: var(--nano-focus-ring);
  outline-offset: var(--nano-focus-ring-offset);
}

.onav__scroller {
  scrollbar-width: thin;
  overflow: auto;
  display: flex;
  transition: var(--nano-transition-fast) ease;
}
.onav__scroller:focus {
  outline: none;
}
.onnav--hide-scrollbars .onav__scroller {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.onnav--hide-scrollbars .onav__scroller::-webkit-scrollbar {
  inline-size: 0;
  block-size: 0;
}

.onav__items {
  flex: 1 1 auto;
  position: relative;
  inline-size: auto;
  flex-wrap: nowrap;
  display: flex;
}
.onnav--has-indicator .onav__items::before {
  content: "";
  background: var(--indicator-track-color);
  display: block;
  position: absolute;
  z-index: 1;
}

.onav__active-indicator {
  position: absolute;
  z-index: 10;
  transition: var(--indicator-transition) transform ease, var(--indicator-transition) width ease, var(--indicator-transition) height ease;
}

.nano-icon-button.onav__scroll-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  border: unset;
  z-index: 2;
  transition: var(--nano-transition-fast) ease opacity;
  opacity: 0;
  color: var(--scroll-btn-color);
  font-size: var(--scroll-btn-size);
  pointer-events: none;
}
.nano-icon-button.onav__scroll-button.is-shown {
  opacity: 1;
  pointer-events: all;
}

.onav--horizontal.onav--has-scroll-controls .onav__scroller {
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) calc(var(--fade-size) * 0.2), rgb(0, 0, 0) var(--fade-size), rgb(0, 0, 0) calc(100% - var(--fade-size)), rgba(0, 0, 0, 0) calc(100% - var(--fade-size) * 0.2), rgba(0, 0, 0, 0) 100%);
          mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) calc(var(--fade-size) * 0.2), rgb(0, 0, 0) var(--fade-size), rgb(0, 0, 0) calc(100% - var(--fade-size)), rgba(0, 0, 0, 0) calc(100% - var(--fade-size) * 0.2), rgba(0, 0, 0, 0) 100%);
}
.onav--horizontal.onav--has-scroll-controls-start .onav__scroller {
  -webkit-mask-position: 0 0;
          mask-position: 0 0;
  -webkit-mask-size: calc(100% + var(--fade-size) * 2);
          mask-size: calc(100% + var(--fade-size) * 2);
}
.onav--horizontal.onav--has-scroll-controls-end .onav__scroller {
  -webkit-mask-position: calc(var(--fade-size) * -2) 0;
          mask-position: calc(var(--fade-size) * -2) 0;
  -webkit-mask-size: calc(100% + var(--fade-size) * 2);
          mask-size: calc(100% + var(--fade-size) * 2);
}
.onav--horizontal.onav--has-scroll-controls-start.onav--has-scroll-controls-end .onav__scroller {
  -webkit-mask-position: 0 0;
          mask-position: 0 0;
  -webkit-mask-size: 100%;
          mask-size: 100%;
}
.onav--horizontal .onav__items {
  flex-direction: row;
}
.onav--horizontal .onav__items::before {
  inline-size: 100%;
  block-size: var(--indicator-track-size);
  inset-block-end: 0;
}
.onav--horizontal .onav__active-indicator {
  inset-block-end: 0;
  border-block-end: solid var(--indicator-size) var(--indicator-color);
}
.onav--horizontal .onav__scroll-button {
  inset-block: 0;
}
.onav--horizontal .onav__scroll-button--start {
  inset-inline-start: 0;
}
.onav--horizontal .onav__scroll-button--end {
  inset-inline-end: 0;
}

.onav--vertical {
  --fade-size: 70px;
  inline-size: 100%;
  display: flex;
}
.onav--vertical .onav__nav {
  max-block-size: 100%;
  min-inline-size: 100%;
  display: flex;
}
.onav--vertical .onav__scroller {
  inline-size: 100%;
  flex-direction: column;
}
.onav--vertical.onav--has-scroll-controls .onav__scroller {
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) calc(var(--fade-size) * 0.2), rgb(0, 0, 0) var(--fade-size), rgb(0, 0, 0) calc(100% - var(--fade-size)), rgba(0, 0, 0, 0) calc(100% - var(--fade-size) * 0.2), rgba(0, 0, 0, 0) 100%);
          mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) calc(var(--fade-size) * 0.2), rgb(0, 0, 0) var(--fade-size), rgb(0, 0, 0) calc(100% - var(--fade-size)), rgba(0, 0, 0, 0) calc(100% - var(--fade-size) * 0.2), rgba(0, 0, 0, 0) 100%);
}
.onav--vertical.onav--has-scroll-controls-start .onav__scroller {
  -webkit-mask-position: 0 0;
          mask-position: 0 0;
  -webkit-mask-size: 100% calc(100% + var(--fade-size) * 2);
          mask-size: 100% calc(100% + var(--fade-size) * 2);
}
.onav--vertical.onav--has-scroll-controls-end .onav__scroller {
  -webkit-mask-position: 0 calc(var(--fade-size) * -2);
          mask-position: 0 calc(var(--fade-size) * -2);
  -webkit-mask-size: 100% calc(100% + var(--fade-size) * 2);
          mask-size: 100% calc(100% + var(--fade-size) * 2);
}
.onav--vertical.onav--has-scroll-controls-start.onav--has-scroll-controls-end .onav__scroller {
  -webkit-mask-position: 0 0;
          mask-position: 0 0;
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
}
.onav--vertical .onav__items {
  flex-direction: column;
  inline-size: fit-content;
}
.onav--vertical .onav__items::before {
  block-size: 100%;
  inline-size: var(--indicator-track-size);
  inset-inline-start: 0;
}
.onav--vertical .onav__active-indicator {
  inset-inline-start: 0;
  border-inline-start: solid var(--indicator-size) var(--indicator-color);
}
.onav--vertical .onav__scroll-button {
  inset-inline: 0;
}
.onav--vertical .onav__scroll-button--start {
  inset-block-start: 0;
}
.onav--vertical .onav__scroll-button--end {
  inset-block-end: 0;
}