* {
  box-sizing: border-box;
}

*:active {
  outline: none;
}

*:focus-visible {
  outline: none;
  box-shadow: var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc);
}

:host {
  box-shadow: none !important;
}

::-moz-focus-inner {
  border: none;
}

input,
textarea,
button {
  font-family: inherit;
  font-size: inherit;
  font-stretch: inherit;
}

:host(.sr),
:host(.sr) button {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

.sr,
.sr button {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

.hidden {
  display: none;
}

:host([hidden]) {
  display: none;
}

.invisible {
  visibility: hidden;
}

@container style(--t-prefers-motion: "reduced") {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-delay: 0ms !important;
  }
}
@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")) {
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      transition-duration: 0.01ms !important;
      animation-delay: 0ms !important;
      transition-delay: 0ms !important;
    }
  }
}
/**
 * @prop --tct-dropdown-icon-size: (<length>) Controls the size of the dropdown icon.
 * @prop --tct-dropdown-content-padding?: (<length-percentage>+) Controls the optional padding around the dropdown popover content.
 * @prop --tct-dropdown-popover-top-slot-padding: (<length-percentage>+) Controls the inner padding of the dropdown's popover-top slot.
 * @prop --tct-dropdown-popover-bottom-slot-padding: (<length-percentage>+) Controls the inner padding of the dropdown's popover-bottom slot.
 * @prop --tct-dropdown-slot-border-top?: (*) Controls the optional border shorthand rendered below the dropdown's popover-top slot.
 * @prop --tct-dropdown-slot-border-bottom?: (*) Controls the optional border shorthand rendered above the dropdown's popover-bottom slot.
 * @prop --tct-dropdown-width?: (<length-percentage>) Controls the optional minimum width of the dropdown popover.
 */
:host {
  display: inline-flex;
}

:host([block]) {
  display: block;
}

:host([full-width]:not([full-width=false])) {
  display: inline-flex;
  justify-content: center;
  width: 100%;
}

::slotted([slot=popover-top]) {
  padding: var(--tct-dropdown-popover-top-slot-padding, 0);
  border-bottom: var(--tct-dropdown-slot-border-top);
}

::slotted([slot=popover-bottom]) {
  padding: var(--tct-dropdown-popover-bottom-slot-padding, 0);
  border-top: var(--tct-dropdown-slot-border-bottom);
}

q2-icon {
  pointer-events: none;
  margin-block: -100px;
  --tct-icon-size: var(--tct-dropdown-icon-size, var(--const-px-18, 18px));
}

click-elsewhere {
  position: relative;
  display: block;
}

q2-popover {
  --tct-popover-min-width: var(--tct-dropdown-width, var(--t-dropdown-width));
  --tct-popover-padding: var(--tct-dropdown-content-padding);
}