* {
  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-action-group-margin: (<length-percentage>+) Controls the outer margin of the action group host.
 * @prop --tct-action-group-gap: (<length-percentage>+) Controls the gap between action group children.
 * @prop --tct-action-group-coin-column-gap: (<length-percentage>) Controls the column gap when the action group contains q2-btn coin variants.
 * @prop --tct-action-group-coin-row-gap: (<length-percentage>) Controls the row gap when the action group contains q2-btn coin variants.
 * @prop --tct-action-group-coin-horizontal-justify-content: (<custom-ident>) Controls the horizontal justify-content when the action group contains q2-btn coin variants.
 * @prop --tct-action-group-horizontal-align-items: (<custom-ident>) Controls the align-items value of the action group in the horizontal layout.
 * @prop --tct-action-group-horizontal-flex-direction: (<custom-ident>) Controls the flex-direction of the action group in the horizontal layout.
 * @prop --tct-action-group-horizontal-flex-wrap: (<custom-ident>) Controls the flex-wrap value of the action group in the horizontal layout.
 * @prop --tct-action-group-horizontal-justify-content: (<custom-ident>) Controls the justify-content value of the action group in the horizontal layout.
 * @prop --tct-action-group-vertical-flex-direction: (<custom-ident>) Controls the flex-direction of the action group in the vertical layout.
 * @prop --tct-action-group-separator-color: (<color>) Controls the color of the separator rendered between non-q2-btn children in the horizontal layout.
 * @prop --tct-action-group-separator-height: (<length>) Controls the height of the separator rendered between non-q2-btn children in the horizontal layout.
 */
:host(:not([hidden])) {
  display: block;
  width: 100%;
  --comp-default-action-group-margin: var(--app-scale-5x, 25px) 0;
  margin: var(--tct-action-group-margin, var(--comp-default-action-group-margin));
}

.container {
  --comp-default-action-group-gap: var(--tct-action-group-gap, var(--app-scale-2x, 10px));
  --comp-link-gap: var(--tct-action-group-gap, var(--app-scale-4x, 20px));
  --tct-btn-icon-height: 30px;
  width: 100%;
  display: flex;
  gap: var(--comp-default-action-group-gap);
}
.container.has-q2-link {
  gap: var(--comp-link-gap);
}
.container.has-q2-btn-coin {
  column-gap: var(--tct-action-group-coin-column-gap, var(--app-scale-1x, 5px));
  row-gap: var(--tct-action-group-coin-row-gap, var(--app-scale-5x, 25px));
}
.container.vertical {
  flex-direction: var(--tct-action-group-vertical-flex-direction, column);
}
.container.vertical ::slotted(q2-btn) {
  display: block;
  width: 100%;
}
.container.horizontal {
  justify-content: var(--tct-action-group-horizontal-justify-content, flex-start);
  flex-direction: var(--tct-action-group-horizontal-flex-direction, row-reverse);
  align-items: var(--tct-action-group-horizontal-align-items, center);
  flex-wrap: var(--tct-action-group-horizontal-flex-wrap, wrap);
}
.container.horizontal.full-width {
  --tct-action-group-horizontal-justify-content: space-around;
  flex-wrap: nowrap;
}
.container.horizontal.has-q2-btn-coin {
  justify-content: var(--tct-action-group-coin-horizontal-justify-content, center);
  flex-direction: var(--tct-action-group-horizontal-flex-direction, row);
}
.container.horizontal ::slotted(:not(q2-btn)) {
  position: relative;
}
.container.horizontal ::slotted(:not(q2-btn):not(.is-last-action))::before {
  content: "";
  display: inline-block;
  width: 0;
  height: var(--tct-action-group-separator-height, 20px);
  border-left: 1px solid var(--tct-action-group-separator-color, var(--t-gray-12, #d9d9d9));
  position: absolute;
  left: calc(var(--comp-link-gap) * -0.5);
  top: 50%;
  transform: translateY(-50%);
}
.container.vertical ::slotted(q2-btn), .container.horizontal.full-width ::slotted(q2-btn) {
  display: block;
  width: 100%;
}
:host([full-width]:not([full-width=false])) .container {
  justify-content: space-evenly;
}