* {
  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-popover-background: (<color>) Controls the background color of the popover.
 * @prop --tct-popover-font-color: (<color>) Controls the text color of the popover content.
 * @prop --tct-popover-backdrop-filter?: (*) Controls the optional backdrop-filter applied to the popover.
 * @prop --tct-popover-box-shadow: (*) Controls the box shadow of the popover.
 * @prop --tct-popover-border-color?: (<color>) Controls the optional border color of the popover.
 * @prop --tct-popover-border-width?: (<length>+) Controls the optional border width of the popover.
 * @prop --tct-popover-border-radius?: (<length-percentage>) Controls the optional corner radius of the popover.
 * @prop --tct-popover-padding?: (<length-percentage>+) Controls the optional inner padding of the popover.
 * @prop --tct-popover-margin-block?: (<length-percentage>+) Controls the optional block-axis margin of the popover.
 * @prop --tct-popover-min-width: (<length-percentage>) Controls the minimum width of the popover.
 * @prop --tct-popover-width?: (<length-percentage>) Controls the optional width of the popover.
 * @prop --tct-popover-top: (<length-percentage>) Controls the top offset of the popover when opening downward.
 * @prop --tct-popover-z-index: (<integer>) Controls the z-index of the legacy popover element.
 * @prop --tct-popover-open-animation-duration: (<time>) Controls the duration of the popover open animation.
 * @prop --tct-popover-open-animation-fill-mode: (<custom-ident>) Controls the animation-fill-mode of the popover open animation.
 * @prop --tct-popover-open-animation-timing-function: (*) Controls the animation timing function of the popover open animation.
 * @prop --tct-popover-close-animation-duration: (<time>) Controls the duration of the popover close animation.
 * @prop --tct-popover-close-animation-fill-mode: (<custom-ident>) Controls the animation-fill-mode of the popover close animation.
 * @prop --tct-popover-close-animation-timing-function: (*) Controls the animation timing function of the popover close animation.
 */
.legacy.container {
  display: none;
}
.legacy.show {
  display: block;
  z-index: var(--tct-popover-z-index, 50);
}

@keyframes popoverOpen {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes popoverClose {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.95);
  }
}
:popover-open,
.show {
  position: var(--comp-pop-position, absolute);
  margin: 0;
  padding: var(--tct-popover-padding, 0);
  overflow: auto;
  background: var(--tct-popover-background, var(--app-white, #ffffff));
  backdrop-filter: var(--tct-popover-backdrop-filter, none);
  color: var(--tct-popover-font-color, inherit);
  min-width: var(--tct-popover-min-width, 135px);
  width: var(--tct-popover-width, auto);
  margin-block: var(--tct-popover-margin-block, 0);
  box-shadow: var(--tct-popover-box-shadow, var(--app-shadow-3, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14)));
  border-width: var(--tct-popover-border-width, 0);
  border-style: solid;
  border-color: var(--tct-popover-border-color, transparent);
  border-radius: var(--tct-popover-border-radius, 0);
  max-height: var(--comp-pop-max-height);
  left: var(--comp-pop-left);
  opacity: var(--comp-pop-opacity, 0);
  --comp-scrollbar-size: var(--tct-scrollbar-size, var(--t-scrollbar-size, var(--app-scale-1x, 5px)));
  --comp-scrollbar-border-radius: var(--tct-scrollbar-border-radius, var(--t-scrollbar-border-radius, var(--app-border-radius-1, 4px)));
  --comp-scrollbar-color: var(--tct-scrollbar-color, var(--t-scrollbar-color, var(--t-a11y-gray-color, #747474)));
  scrollbar-width: thin;
  scrollbar-color: var(--comp-scrollbar-color) transparent;
}
:popover-open.animating-open,
.show.animating-open {
  animation-name: popoverOpen;
  animation-duration: var(--tct-popover-open-animation-duration, var(--t-tween-time-in-1, 150ms));
  animation-timing-function: var(--tct-popover-open-animation-timing-function, ease-out);
  animation-fill-mode: var(--tct-popover-open-animation-fill-mode, forwards);
}
:popover-open.animating-close,
.show.animating-close {
  animation-name: popoverClose;
  animation-duration: var(--tct-popover-close-animation-duration, var(--t-tween-time-out-1, 100ms));
  animation-timing-function: var(--tct-popover-close-animation-timing-function, ease-in);
  animation-fill-mode: var(--tct-popover-close-animation-fill-mode, forwards);
}
:popover-open.block,
.show.block {
  right: unset;
  width: var(--comp-pop-width);
  min-width: var(--tct-popover-min-width, unset);
}
:popover-open.left,
.show.left {
  left: var(--comp-pop-left);
  right: unset;
}
:popover-open.right,
.show.right {
  right: var(--comp-pop-right);
  left: unset;
}
:popover-open.down,
.show.down {
  top: var(--tct-popover-top, var(--comp-pop-top));
  bottom: unset;
}
:popover-open.up,
.show.up {
  top: var(--comp-pop-top);
  bottom: unset;
  translate: 0 calc(-100% - var(--app-scale-2x, 10px));
}
:popover-open.down.left:not(.mobile),
.show.down.left:not(.mobile) {
  transform-origin: top left;
}
:popover-open.down.right:not(.mobile),
.show.down.right:not(.mobile) {
  transform-origin: top right;
}
:popover-open.up.left:not(.mobile),
.show.up.left:not(.mobile) {
  transform-origin: bottom left;
}
:popover-open.up.right:not(.mobile),
.show.up.right:not(.mobile) {
  transform-origin: bottom right;
}
:popover-open.mobile.down,
.show.mobile.down {
  transform-origin: center top;
}
:popover-open.mobile.up,
.show.mobile.up {
  transform-origin: center bottom;
}
:popover-open::-webkit-scrollbar,
.show::-webkit-scrollbar {
  width: var(--comp-scrollbar-size);
  height: var(--comp-scrollbar-size);
  margin: 5px;
}
:popover-open::-webkit-scrollbar-thumb,
.show::-webkit-scrollbar-thumb {
  background: var(--comp-scrollbar-color);
  border-radius: var(--comp-scrollbar-border-radius);
}
:popover-open::-webkit-scrollbar-track,
.show::-webkit-scrollbar-track {
  background: transparent;
  border-radius: var(--comp-scrollbar-border-radius);
}

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