* {
  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-link-color-inline: (<color>) Controls the text color of inline-style links.
 * @prop --tct-link-color-inline-active: (<color>) Controls the text color of inline-style links in the active state.
 * @prop --tct-link-color-standalone: (<color>) Controls the text color of standalone-style links.
 * @prop --tct-link-color-standalone-active: (<color>) Controls the text color of standalone-style links in the active state.
 * @prop --tct-link-color-standalone-disabled-color: (<color>) Controls the text color of standalone-style links when disabled.
 * @prop --tct-link-color-standalone-disabled-opacity: (<number>) Controls the opacity of standalone-style links when disabled.
 * @prop --tct-link-disabled-opacity: (<number>) Controls the opacity of inline-style links when disabled.
 * @prop --tct-link-icon-color?: (<color>) Controls the optional color of the link's trailing icon.
 * @prop --tct-link-icon-stroke-width: (<number>) Controls the stroke width of the link's trailing icon.
 * @prop --tct-link-label-icon-gap: (<length-percentage>) Controls the gap between the link label and trailing icon.
 * @prop --tct-link-font-size?: (<length-percentage>) Controls the optional font size of the link label.
 * @prop --tct-link-font-weight?: (<number>) Controls the optional font weight of the link label.
 * @prop --tct-link-font-bold-stroke-width: (<length>) Controls the text stroke width applied when the link is hovered or active (simulates a bold weight).
 * @prop --tct-link-border-radius?: (<length-percentage>) Controls the optional corner radius of the link container and focus ring.
 * @prop --tct-link-focus-visible-box-shadow: (*) Controls the box shadow applied to the link when focused via keyboard.
 * @prop --tct-link-side-margin: (<length>) Controls the horizontal margin applied to inline-style links.
 * @prop --tct-link-min-height: (<length>) Controls the minimum height of the link in standalone mode.
 * @prop --tct-link-ellipsis-max-width: (<length-percentage>) Controls the maximum width of the link when ellipsis is enabled.
 */
:host {
  display: inline-block;
}

:host:active {
  box-shadow: none;
}

:host([ellipsis]:not([ellipsis=false])) {
  display: block;
  flex: 0 1 auto;
  max-width: var(--tct-link-ellipsis-max-width, 45%);
  min-width: 0;
  overflow: hidden;
}

:host([ellipsis]:not([ellipsis=false])[full-width]:not([full-width=false])) {
  flex: 1 1 0px;
  max-width: 100%;
}

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

.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.label.ellipsis {
  display: block;
  min-width: 0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-container {
  --comp-link-font-bold-stroke-width: 0.5px;
  background: transparent;
  border: none;
  border-radius: var(--tct-link-border-radius, 0);
  font-size: var(--tct-link-font-size, inherit);
  font-weight: var(--tct-link-font-weight, inherit);
  max-width: 100%;
  overflow: hidden;
}
.link-container.standalone {
  --comp-icon-stroke: var(--tct-link-icon-stroke-width, 1.5);
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.link-container.standalone .link {
  color: var(--tct-link-color-standalone, var(--t-primary));
  min-height: var(--tct-link-min-height, 24px);
  display: flex;
  align-items: center;
  border-radius: var(--tct-link-border-radius, 0);
  --tct-icon-size: 16px;
  text-decoration: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.link-container.standalone .link q2-icon {
  margin-left: var(--tct-link-label-icon-gap, 6px);
  color: var(--tct-link-icon-color, inherit);
  flex-shrink: 0;
}
.link-container.standalone:hover {
  text-decoration: underline;
  -webkit-text-stroke-width: var(--tct-link-font-bold-stroke-width, var(--comp-link-font-bold-stroke-width));
  text-stroke-width: var(--tct-link-font-bold-stroke-width, var(--comp-link-font-bold-stroke-width));
  --tct-icon-stroke-width: calc(var(--comp-icon-stroke) + 0.5);
}
.link-container.standalone:active:hover {
  text-decoration: underline;
  -webkit-text-stroke-width: var(--tct-link-font-bold-stroke-width, var(--comp-link-font-bold-stroke-width));
  text-stroke-width: var(--tct-link-font-bold-stroke-width, var(--comp-link-font-bold-stroke-width));
  --tct-icon-stroke-width: calc(var(--comp-icon-stroke) + 0.5);
}
.link-container.standalone:active:hover .link {
  color: var(--tct-link-color-standalone-active, var(--t-primary-d2));
  box-shadow: none;
}
.link-container.standalone.disabled .link {
  cursor: not-allowed;
  color: var(--tct-link-color-standalone-disabled-color, var(--t-primary));
  opacity: var(--tct-link-color-standalone-disabled-opacity, var(--tct-link-disabled-opacity, var(--app-disabled-opacity, 0.4)));
  text-decoration: none;
}
.link-container.standalone.disabled:hover {
  text-decoration: none;
}
.link-container.standalone:has(:focus-visible) {
  box-shadow: var(--tct-link-focus-visible-box-shadow, var(--const-double-focus-ring));
}
.link-container.inline {
  margin: 0 var(--tct-link-side-margin, 6px);
  text-decoration: underline;
  color: var(--tct-link-color-inline, var(--t-primary));
}
.link-container.inline.ellipsis {
  display: block;
  max-width: 100%;
}
.link-container.inline:hover {
  -webkit-text-stroke-width: var(--tct-link-font-bold-stroke-width, var(--comp-link-font-bold-stroke-width));
  text-stroke-width: var(--tct-link-font-bold-stroke-width, var(--comp-link-font-bold-stroke-width));
}
.link-container.inline:active:hover {
  -webkit-text-stroke-width: var(--tct-link-font-bold-stroke-width, var(--comp-link-font-bold-stroke-width));
  text-stroke-width: var(--tct-link-font-bold-stroke-width, var(--comp-link-font-bold-stroke-width));
  color: var(--tct-link-color-inline-active, var(--t-primary-d2));
  box-shadow: none;
}
.link-container.inline.disabled {
  cursor: not-allowed;
  opacity: var(--tct-link-disabled-opacity, var(--app-disabled-opacity, 0.4));
}
.link-container.inline:focus-visible {
  box-shadow: var(--tct-link-focus-visible-box-shadow, var(--const-double-focus-ring));
}