* {
  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-currency-color: (<color>) Controls the base text color of the currency value.
 * @prop --tct-currency-font-size?: (<length-percentage>) Controls the optional font size of the currency value.
 * @prop --tct-currency-font-weight?: (<number>) Controls the optional font weight of the currency value.
 * @prop --tct-currency-positive-color: (<color>) Controls the text color of the currency value when positive.
 * @prop --tct-currency-negative-color: (<color>) Controls the text color of the currency value when negative.
 * @prop --tct-currency-debit-positive-color: (<color>) Controls the text color of a positive debit currency value.
 * @prop --tct-currency-debit-negative-color: (<color>) Controls the text color of a negative debit currency value.
 * @prop --tct-currency-credit-positive-color: (<color>) Controls the text color of a positive credit currency value.
 * @prop --tct-currency-credit-negative-color: (<color>) Controls the text color of a negative credit currency value.
 * @prop --tct-currency-masked-positive-background: (*) Controls the background fill (color or gradient) of the masked positive currency value.
 * @prop --tct-currency-masked-negative-background: (*) Controls the background fill (color or gradient) of the masked negative currency value.
 * @prop --tct-currency-small-color?: (<color>) Controls the optional text color of the currency value in the small size.
 * @prop --tct-currency-small-font-size: (<length-percentage>) Controls the font size of the currency value in the small size.
 * @prop --tct-currency-small-font-weight: (<number>) Controls the font weight of the currency value in the small size.
 * @prop --tct-currency-small-superscript-color?: (<color>) Controls the optional text color of the superscript portion in the small size.
 * @prop --tct-currency-small-superscript-font-size: (<length-percentage>) Controls the font size of the superscript portion in the small size.
 * @prop --tct-currency-small-superscript-font-weight: (<number>) Controls the font weight of the superscript portion in the small size.
 * @prop --tct-currency-medium-color?: (<color>) Controls the optional text color of the currency value in the medium size.
 * @prop --tct-currency-medium-font-size: (<length-percentage>) Controls the font size of the currency value in the medium size.
 * @prop --tct-currency-medium-font-weight: (<number>) Controls the font weight of the currency value in the medium size.
 * @prop --tct-currency-medium-superscript-color?: (<color>) Controls the optional text color of the superscript portion in the medium size.
 * @prop --tct-currency-medium-superscript-font-size: (<length-percentage>) Controls the font size of the superscript portion in the medium size.
 * @prop --tct-currency-medium-superscript-font-weight: (<number>) Controls the font weight of the superscript portion in the medium size.
 * @prop --tct-currency-large-color?: (<color>) Controls the optional text color of the currency value in the large size.
 * @prop --tct-currency-large-font-size: (<length-percentage>) Controls the font size of the currency value in the large size.
 * @prop --tct-currency-large-font-weight: (<number>) Controls the font weight of the currency value in the large size.
 * @prop --tct-currency-large-superscript-color?: (<color>) Controls the optional text color of the superscript portion in the large size.
 * @prop --tct-currency-large-superscript-font-size: (<length-percentage>) Controls the font size of the superscript portion in the large size.
 * @prop --tct-currency-large-superscript-font-weight: (<number>) Controls the font weight of the superscript portion in the large size.
 */
:host {
  display: inline-block;
}

.currency {
  --comp-currency-color: var(--tct-currency-color, inherit);
  color: var(--comp-currency-color);
  font-size: var(--tct-currency-font-size, inherit);
  font-weight: var(--tct-currency-font-weight, inherit);
}
.currency.positive {
  color: var(--tct-currency-positive-color, var(--comp-currency-color));
}
.currency.negative {
  color: var(--tct-currency-negative-color, var(--comp-currency-color));
}
.currency.debit.positive {
  color: var(--tct-currency-debit-positive-color, var(--const-stoplight-success, #0e8a00));
}
.currency.debit.negative {
  color: var(--tct-currency-debit-negative-color, var(--const-stoplight-alert, #d20a0a));
}
.currency.credit.positive {
  color: var(--tct-currency-credit-positive-color, var(--const-stoplight-alert, #d20a0a));
}
.currency.credit.negative {
  color: var(--tct-currency-credit-negative-color, var(--const-stoplight-success, #0e8a00));
}
.currency.masked {
  line-height: 1;
}
.currency.masked.positive {
  background: var(--tct-currency-masked-positive-background, linear-gradient(180deg, var(--t-text, #4d4d4d) 0%, #b3b3b3 100%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}
.currency.masked.negative {
  background: var(--tct-currency-masked-negative-background, linear-gradient(180deg, var(--t-text, #4d4d4d) 0%, #b3b3b3 100%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}

.currency-small {
  color: var(--tct-currency-small-color, inherit);
  font-size: var(--tct-currency-small-font-size, var(--const-px-24, 24px));
  font-weight: var(--tct-currency-small-font-weight, 600);
}
.currency-small .superscript {
  vertical-align: super;
  color: var(--tct-currency-small-superscript-color, inherit);
  font-size: var(--tct-currency-small-superscript-font-size, 0.5em);
  font-weight: var(--tct-currency-small-superscript-font-weight, 700);
}

.currency-medium {
  color: var(--tct-currency-medium-color, inherit);
  font-size: var(--tct-currency-medium-font-size, var(--const-px-42, 42px));
  font-weight: var(--tct-currency-medium-font-weight, 600);
}
.currency-medium .superscript {
  vertical-align: super;
  color: var(--tct-currency-medium-superscript-color, inherit);
  font-size: var(--tct-currency-medium-superscript-font-size, 0.5em);
  font-weight: var(--tct-currency-medium-superscript-font-weight, 700);
}

.currency-large {
  color: var(--tct-currency-large-color, inherit);
  font-size: var(--tct-currency-large-font-size, var(--const-px-70, 70px));
  font-weight: var(--tct-currency-large-font-weight, 700);
}
.currency-large .superscript {
  vertical-align: super;
  color: var(--tct-currency-large-superscript-color, inherit);
  font-size: var(--tct-currency-large-superscript-font-size, 0.5em);
  font-weight: var(--tct-currency-large-superscript-font-weight, 800);
}