* {
  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-form-spacing-none: (<length-percentage>+) Controls the margin applied to form input children when spacing is none.
 * @prop --tct-form-spacing-compact: (<length-percentage>+) Controls the margin applied to form input children when spacing is compact.
 * @prop --tct-form-spacing-normal: (<length-percentage>+) Controls the margin applied to form input children when spacing is normal.
 * @prop --tct-form-spacing-comfortable: (<length-percentage>+) Controls the margin applied to form input children when spacing is comfortable.
 */
:host([spacing=none]) {
  --comp-spacing-none: var(--app-scale-0x, 0px);
  --comp-spacing: var(--tct-form-spacing-none, var(--comp-spacing-none));
}

:host([spacing=compact]) {
  --comp-spacing-compact: var(--app-scale-3x, 15px);
  --comp-spacing: var(--tct-form-spacing-compact, var(--comp-spacing-compact));
}

:host(:not([spacing])),
:host([spacing=normal]) {
  --comp-spacing-normal: var(--app-scale-5x, 25px);
  --comp-spacing: var(--tct-form-spacing-normal, var(--comp-spacing-normal));
}

:host([spacing=comfortable]) {
  --comp-spacing-comfortable: var(--app-scale-7x, 35px);
  --comp-spacing: var(--tct-form-spacing-comfortable, var(--comp-spacing-comfortable));
}

.container {
  --tct-input-margin: 0;
  --tct-select-margin: 0;
  --tct-calendar-margin: 0;
  --tct-file-picker-margin: 0;
  --tct-textarea-margin: 0;
  --tct-checkbox-group-margin: 0;
  --tct-radio-group-margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--comp-spacing);
}