: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 {
  /**
  * Although there are general / generic styles applied on this component, it's expected
  * that the consumer component will apply specific styles using `::part` properties within a `...light-dom` style-sheet.
  *
  * @prop --padding: padding applied to the trigger element. Defaults to `0`
  * @prop --icon-size: size of the icon. Defaults to `1em`
  */
  display: contents;
}

.navitem {
  background: inherit;
  color: inherit;
}

a, button {
  all: unset;
  color: inherit;
  text-decoration: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--padding);
  gap: var(--nano-spacing-md);
  inline-size: 100%;
  box-sizing: border-box;
  background: inherit;
}
a:hover, a:focus, a:active, button:hover, button:focus, button:active {
  color: inherit;
}
a:focus-visible, button:focus-visible {
  outline: var(--nano-focus-ring);
  outline-offset: var(--nano-focus-ring-offset);
}
a[disabled], button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.navitem__label {
  margin-inline-end: auto;
}

.navitem__modal {
  all: unset;
  display: none;
  position: absolute;
  color: initial;
  opacity: 0;
  transition: var(--nano-transition-fast) ease;
}
.navitem--open .navitem__modal {
  opacity: 1;
}

::slotted([slot=close-button]) {
  all: unset;
}
::slotted([slot=close-button]):focus-visible {
  outline: var(--nano-focus-ring);
  outline-offset: var(--nano-focus-ring-offset);
}