: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 --icon-size: the size of the icon. Defaults to 1em;
   * @prop --primary-color: used for duotone icons to set the primary color
   * @prop --secondary-color: used for duotone icons to set the secondary color
   * @prop --primary-opacity: used for duotone icons to set the primary opacity
   * @prop --secondary-opacity: used for duotone icons to set the secondary opacity
   */
  --icon-size: 1em;
  --primary-color: currentcolor
  --secondary-color: color-mix(in srgb, currentColor 50%, transparent);
  --primary-opacity: 0.8;
  --secondary-opacity: 1;
  display: inline-block;
  inline-size: var(--icon-size);
  block-size: var(--icon-size);
  min-inline-size: var(--icon-size);
  min-block-size: var(--icon-size);
  contain: strict;
  fill: currentcolor;
  box-sizing: content-box !important;
  transition: opacity 0.3s ease;
  color: currentcolor;
}

:host .nanoicon {
  stroke: currentcolor;
}

.nanoicon-fill-none {
  fill: none;
}

.icon-inner,
.nanoicon,
svg,
.svg {
  display: block;
  block-size: 100%;
  inline-size: 100%;
  overflow: visible;
}

:host(.loading) {
  opacity: 0;
}

.fa-primary {
  color: var(--primary-color);
  opacity: var(--primary-opacity, 1);
}

.fa-secondary {
  color: var(--secondary-color);
  opacity: var(--secondary-opacity) !important;
}

/* Icon RTL
 * -----------------------------------------------------------
 */
:host(.flip-rtl) .icon-inner {
  transform: scaleX(-1);
}

/* Icon Sizes
 * -----------------------------------------------------------
 */
:host([name^=pictogram]),
:host([name^=device]) {
  font-size: max(var(--nano-pictogram-size-medium), var(--icon-size));
}

:host([size=small][name^=pictogram]),
:host([size=small][name^=device]) {
  font-size: var(--nano-pictogram-size-small);
}

:host([size=regular]) {
  font-size: var(--nano-icon-size-small);
}

:host([size=regular][name^=pictogram]),
:host([size=regular][name^=device]) {
  font-size: var(--nano-pictogram-size-medium);
}

:host([size=large]) {
  font-size: var(--nano-icon-size-large);
}

:host([size=large][name^=pictogram]),
:host([size=large][name^=device]) {
  font-size: var(--nano-pictogram-size-large);
}

:host([size=xl][name^=pictogram]),
:host([size=xl][name^=device]) {
  font-size: var(--nano-pictogram-size-x-large);
}

/*
 * Icon, predefined colours
 * -----------------------------------------------------------
 */
:host([name^=pictogram]),
:host([name^=device]),
:host([color=primary]) {
  color: var(--nano-color-primary-1100);
}

:host([color=neutral]) {
  color: var(--nano-color-base-1000);
}