* {
  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-item-disabled-opacity: (<number>) Controls the opacity of the dropdown item when disabled.
 * @prop --tct-dropdown-item-focus-box-shadow: (*) Controls the box shadow applied to the focused dropdown item button when the item is not disabled.
 * @prop --tct-dropdown-item-font-color?: (<color>) Controls the optional text color of the dropdown item content.
 * @prop --tct-dropdown-item-font-size?: (<length-percentage>) Controls the optional font size of the dropdown item content.
 * @prop --tct-dropdown-item-hover-background: (<color>) Controls the background color of the dropdown item on hover and focus.
 * @prop --tct-dropdown-item-hover-color?: (<color>) Controls the optional text color of the dropdown item on hover and focus.
 * @prop --tct-dropdown-item-min-height: (<length>) Controls the minimum height of the dropdown item.
 * @prop --tct-dropdown-item-separator-color: (<color>) Controls the color of the dropdown item separator border.
 * @prop --tct-dropdown-item-tween: (*) Controls the transition timing of the dropdown item's interactive state changes.
 */
.dropdown-separator {
  --comp-default-separator-margin: 0 var(--tct-scale-1, var(--app-scale-3x, 15px));
  margin: var(--tct-dropdown-separator-margin, var(--t-dropdown-separator-margin, var(--comp-default-separator-margin)));
  border-bottom: 1px solid var(--tct-dropdown-item-separator-color, var(--t-gray-11, #cccccc));
}

.dropdown-item-wrapper {
  --comp-selected-icon-size: var(--tct-option-selected-icon-size, var(--t-option-selected-icon-size, var(--tct-scale-3, var(--app-scale-3x, 15px))));
  --comp-default-dropdown-item-padding-x: var(--app-scale-2x, 10px);
  --comp-default-dropdown-item-padding-y: var(--app-scale-2x, 10px);
  --comp-default-dropdown-item-padding: var(--comp-default-dropdown-item-padding-y)
      var(--comp-default-dropdown-item-padding-x);
  display: grid;
  align-items: center;
  gap: var(--tct-scale-1, var(--app-scale-1x, 5px));
  grid-template-columns: 1fr;
  color: inherit;
}
.dropdown-item-wrapper.removable {
  grid-template-columns: 1fr auto;
}
.dropdown-item-wrapper.removable .dropdown-item {
  padding-right: 0;
}
.dropdown-item-wrapper.removable .remove-dropdown-item {
  flex: 0 0 44px;
}

.dropdown-item-button {
  --comp-selected-icon-size: var(--tct-option-selected-icon-size, var(--t-option-selected-icon-size, var(--tct-scale-3, var(--app-scale-3x, 15px))));
  --comp-dropdown-item-tween: var(--tct-tween-1, var(--app-tween-1, cubic-bezier(0.4, 0, 0.2, 1)));
  margin: var(--tct-scale-0, var(--app-scale-0x, 0));
  padding: var(--tct-scale-0, var(--app-scale-0x, 0));
  min-height: var(--tct-dropdown-item-min-height, 44px);
  min-width: 44px;
  border: none;
  background: transparent;
  outline: 0;
  transition: var(--tct-dropdown-item-tween, var(--comp-dropdown-item-tween));
  transition-property: background, color, box-shadow, fill, border-color, border-width;
  cursor: pointer;
}
.dropdown-item-button:disabled {
  opacity: var(--tct-dropdown-item-disabled-opacity, var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4)));
  cursor: not-allowed;
}

.dropdown-item {
  --comp-selected-icon-size: var(--tct-option-selected-icon-size, var(--t-option-selected-icon-size, var(--tct-scale-3, var(--app-scale-3x, 15px))));
  --comp-default-dropdown-item-padding-x: var(--app-scale-2x, 10px);
  width: 100%;
  display: grid;
  align-items: center;
  justify-content: start;
  grid-template-columns: 1fr;
  gap: var(--tct-scale-1, var(--app-scale-1x, 5px));
  min-height: var(--tct-dropdown-item-min-height, 44px);
  padding-left: var(--comp-default-dropdown-item-padding-x);
  padding-right: var(--comp-default-dropdown-item-padding-x);
  text-align: left;
  min-height: var(--tct-dropdown-item-min-height, 44px);
}

.dropdown-item-button:focus-visible {
  box-shadow: var(--tct-option-focus-box-shadow, var(--const-inset-double-focus-ring, inset var(--const-global-focus, 0 0 0 2px var(--const-focus-color, #0066CC)))) !important;
}

.dropdown-item-btn-content {
  display: flex;
  justify-content: start;
  color: var(--tct-dropdown-item-font-color, var(--t-dropdown-item-font-color, inherit));
  font-size: var(--tct-dropdown-item-font-size, inherit);
  overflow: hidden;
  text-overflow: ellipsis;
}

:host(:not([disabled])) .dropdown-item-button:hover,
:host(:not([disabled])) .dropdown-item-button:focus {
  background: var(--tct-dropdown-item-hover-background, var(--tct-dropdown-item-selected-bg, var(--t-dropdown-item-selected-bg, var(--tct-gray-14, var(--t-gray-14, var(--tct-gray-l3, var(--app-gray-l3, var(--t-base, #f2f2f2))))))));
  color: var(--tct-option-active-color, inherit);
}
:host(:not([disabled])) .dropdown-item-button:hover,
:host(:not([disabled])) .dropdown-item-button:focus {
  color: var(--tct-dropdown-item-hover-color, var(--tct-dropdown-item-selected-font-color, var(--t-dropdown-item-selected-font-color, inherit)));
}
:host(:not([disabled])) .dropdown-item-button:focus {
  box-shadow: var(--tct-dropdown-item-focus-box-shadow, var(--const-inset-double-focus-ring, inset 0 0 0 2px var(--t-base), inset 0 0 0 4px var(--const-focus-color), inset 0 0 0 6px var(--t-base)));
}