: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 --symbol-color: The default color for symbols. Defaults to `var(--nano-color-fill-neutral-weak)`
  * @prop --symbol-color-active: The active color for symbols. Defaults to `var(--nano-color-fill-primary-pressed)`
  * @prop --symbol-size: The size of the symbols. Defaults to 1.5rem
  * @prop --symbol-spacing: The spacing between symbols. Defaults to 0
  * @prop --symbol-size: The size of the symbols. Defaults to 1.3125rem (21px)
  */
  --symbol-color: var(--nano-color-fill-neutral-weak);
  --symbol-color-active: var(--nano-color-fill-primary);
  --symbol-spacing: 0.25rem;
  --symbol-size: 1.3125rem;
  display: inline-block;
}

.rating-wrap {
  position: relative;
  margin-block: 0;
  margin-inline: calc(var(--symbol-spacing) * -1);
}

.rating-label {
  inline-size: 100%;
  overflow: clip;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--nano-color-surface-contrast);
  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;
}

.rating {
  position: relative;
  vertical-align: middle;
  inline-size: 100%;
}
.rating:focus {
  outline: none;
}
.rating:focus-visible:focus {
  outline: var(--nano-focus-ring);
  outline-offset: var(--nano-focus-ring-offset);
}
.rating__symbols {
  display: flex;
  align-items: center;
  position: relative;
  font-size: var(--symbol-size);
  color: var(--symbol-color);
  white-space: nowrap;
  cursor: pointer;
  line-height: 0;
  justify-content: space-between;
}
.rating__symbols--inactive .rating__symbol > :not(.nano-icon) {
  background-color: currentcolor !important;
}
.rating__symbols > * {
  margin: var(--symbol-spacing);
}
.rating__symbols--indicator {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  color: var(--symbol-color-active);
  pointer-events: none;
  inline-size: 100%;
}
.rating__symbol {
  transition: 0.2s transform;
  text-align: center;
}
.rating__symbol--hover {
  transform: scale(1.2);
}
.rating--disabled .rating__symbols, .rating--readonly .rating__symbols {
  cursor: default;
}
.rating--disabled .rating__symbol, .rating--readonly .rating__symbol {
  transform: none !important;
}
.rating--disabled {
  opacity: 0.5;
}
.rating--disabled .rating__symbols {
  cursor: not-allowed;
}