/*
 * SPDX-FileCopyrightText: 2024 Siemens AG
 *
 * SPDX-License-Identifier: MIT
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
/*
* SPDX-FileCopyrightText: 2024 Siemens AG
*
* SPDX-License-Identifier: MIT
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/*
* SPDX-FileCopyrightText: 2024 Siemens AG
*
* SPDX-License-Identifier: MIT
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/*
* SPDX-FileCopyrightText: 2024 Siemens AG
*
* SPDX-License-Identifier: MIT
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/* Dimensions */
/* Font sizes */
/* Line heights */
/*
* SPDX-FileCopyrightText: 2024 Siemens AG
*
* SPDX-License-Identifier: MIT
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
:host {
  display: inline-block;
  position: relative;
  height: 2rem;
  max-height: 2rem;
}
:host *,
:host *::after,
:host *::before {
  box-sizing: border-box;
}
:host ::-webkit-scrollbar-button {
  display: none;
}
@-moz-document url-prefix() {
  :host * {
    scrollbar-color: var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);
    scrollbar-width: thin;
  }
}
:host {
  /* width */
}
:host ::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
}
:host {
  /* Track */
}
:host ::-webkit-scrollbar-track {
  border-radius: 5px;
  background: var(--theme-scrollbar-track--background);
}
:host ::-webkit-scrollbar-track:hover {
  background: var(--theme-scrollbar-track--background--hover);
}
:host {
  /* Handle */
}
:host ::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: var(--theme-scrollbar-thumb--background);
}
:host {
  /* Handle on hover */
}
:host ::-webkit-scrollbar-thumb:hover {
  background: var(--theme-scrollbar-thumb--background--hover);
}
:host ::-webkit-scrollbar-corner {
  display: none;
}

:host(.inactive) {
  pointer-events: none;
}

.chip-wrap {
  display: inline-flex;
  width: inherit;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  align-items: stretch;
  border-radius: 100px;
  vertical-align: top;
  min-height: 2rem;
  max-height: 2rem;
}
.chip-wrap .chip-main {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  margin: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border-radius: inherit;
  padding-block: 0.5rem;
  padding-inline: 0.75rem;
  font: inherit;
  text-align: inherit;
  color: inherit;
  cursor: pointer;
  background: transparent;
}
.chip-wrap .chip-main:disabled {
  cursor: default;
}
.chip-wrap .chip-main:focus-visible {
  outline: 1px solid var(--theme-color-focus-bdr);
  outline-offset: var(--theme-btn--focus--outline-offset);
}
.chip-wrap .chip-main .content-wrapper {
  display: inline-flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.chip-wrap .chip-main .with-icon {
  margin-right: 0.25rem;
}
.chip-wrap .chip-main .slot-container {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chip-wrap.centerContent .chip-main .content-wrapper {
  justify-content: center;
  text-align: center;
}
.chip-wrap.outline .chip-main {
  padding-left: calc(0.75rem - 0.0625rem);
}
.chip-wrap.outline:not(.closable) .chip-main, .chip-wrap.outline.closable.inactive .chip-main {
  padding-right: calc(0.75rem - 0.0625rem);
}
.chip-wrap.outline.closable:not(.inactive) .chip-main {
  padding-right: calc(0.25rem + 1.5rem + 0.375rem - 0.0625rem);
}
.chip-wrap:not(.outline) .chip-main {
  padding-left: 0.75rem;
}
.chip-wrap:not(.outline):not(.closable) .chip-main, .chip-wrap:not(.outline).closable.inactive .chip-main {
  padding-right: 0.75rem;
}
.chip-wrap:not(.outline).closable:not(.inactive) .chip-main {
  padding-right: calc(0.25rem + 1.5rem + 0.375rem);
}
.chip-wrap .chip-close {
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  box-sizing: border-box;
  border: 0;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  font: inherit;
  color: var(--theme-color-std-text);
  border-radius: 50%;
  flex-shrink: 0;
  z-index: 1;
}
.chip-wrap .chip-close:focus-visible {
  outline: 1px solid var(--theme-color-focus-bdr);
  outline-offset: var(--theme-btn--focus--outline-offset);
}
.chip-wrap .chip-close__icon {
  display: block;
  pointer-events: none;
}
.chip-wrap.outline {
  border-width: 0.0625rem;
  border-style: solid;
}
.chip-wrap.primary:not(.outline) {
  color: var(--theme-chip-primary--color);
}
.chip-wrap.primary:not(.outline) .chip-main {
  background-color: var(--theme-color-primary);
  color: var(--theme-chip-primary--color);
}
.chip-wrap.primary:not(.outline) .chip-main:hover {
  background-color: var(--theme-chip-primary--background--hover);
}
.chip-wrap.primary:not(.outline) .chip-main:active {
  background-color: var(--theme-chip-primary--background--active);
}
.chip-wrap.primary:not(.outline) .chip-close {
  color: inherit;
  background-color: var(--theme-chip-close-btn--background);
}
.chip-wrap.primary:not(.outline) .chip-close:hover {
  background-color: var(--theme-chip-primary--background--hover);
}
.chip-wrap.primary:not(.outline) .chip-close:active {
  background-color: var(--theme-chip-primary--background--active);
}
.chip-wrap.primary.outline {
  color: var(--theme-chip-primary-outline--color--display);
  background-color: var(--theme-chip-primary-outline--background);
  border: solid 0.0625rem var(--theme-chip-primary-outline--border-color);
}
.chip-wrap.primary.outline:hover:not(.inactive) {
  border-color: var(--theme-chip-primary-outline--border-color--hover);
}
.chip-wrap.primary.outline:active:not(.inactive) {
  border-color: var(--theme-chip-primary-outline--border-color--active);
}
.chip-wrap.primary.outline .chip-main {
  background-color: transparent;
  color: var(--theme-chip-primary-outline--color--display);
}
.chip-wrap.primary.outline .chip-main:hover {
  background-color: var(--theme-chip-primary-outline--background--hover);
}
.chip-wrap.primary.outline .chip-main:active {
  background-color: var(--theme-chip-primary-outline--background--active);
}
.chip-wrap.primary.outline.icon .with-icon {
  color: var(--theme-color-primary);
}
.chip-wrap.primary.outline:hover:not(.inactive).icon .with-icon {
  color: var(--theme-chip-primary-outline--color--hover);
}
.chip-wrap.primary.outline:active:not(.inactive).icon .with-icon {
  color: var(--theme-chip-primary-outline--color--active);
}
.chip-wrap.primary.outline .chip-close {
  color: inherit;
}
.chip-wrap.primary.outline .chip-close:hover {
  background-color: var(--theme-chip-primary-outline--background--hover);
}
.chip-wrap.primary.outline .chip-close:active {
  background-color: var(--theme-chip-primary-outline--background--active);
}
.chip-wrap.alarm:not(.outline) {
  color: var(--theme-color-alarm--contrast);
}
.chip-wrap.alarm:not(.outline) .chip-main {
  background-color: var(--theme-color-alarm);
  color: var(--theme-color-alarm--contrast);
}
.chip-wrap.alarm:not(.outline) .chip-main:hover {
  background-color: var(--theme-color-alarm--hover);
}
.chip-wrap.alarm:not(.outline) .chip-main:active {
  background-color: var(--theme-color-alarm--active);
}
.chip-wrap.alarm:not(.outline) .chip-close {
  color: inherit;
  background-color: var(--theme-chip-close-btn--background);
}
.chip-wrap.alarm:not(.outline) .chip-close:hover {
  background-color: var(--theme-color-alarm--hover);
}
.chip-wrap.alarm:not(.outline) .chip-close:active {
  background-color: var(--theme-color-alarm--active);
}
.chip-wrap.alarm.outline {
  color: var(--theme-chip-outline--color);
  background-color: var(--theme-chip-outline--background);
  border-color: var(--theme-color-alarm);
}
.chip-wrap.alarm.outline .chip-main {
  background-color: transparent;
  color: var(--theme-chip-outline--color);
}
.chip-wrap.alarm.outline .chip-main:hover {
  background-color: var(--theme-chip-outline--background--hover);
}
.chip-wrap.alarm.outline .chip-main:active {
  background-color: var(--theme-chip-outline--background--active);
}
.chip-wrap.alarm.outline.icon .with-icon {
  color: var(--theme-color-alarm);
}
.chip-wrap.alarm.outline .chip-close {
  color: inherit;
}
.chip-wrap.alarm.outline .chip-close:hover {
  background-color: var(--theme-chip-outline--background--hover);
}
.chip-wrap.alarm.outline .chip-close:active {
  background-color: var(--theme-chip-outline--background--active);
}
.chip-wrap.critical:not(.outline) {
  color: var(--theme-color-critical--contrast);
}
.chip-wrap.critical:not(.outline) .chip-main {
  background-color: var(--theme-color-critical);
  color: var(--theme-color-critical--contrast);
}
.chip-wrap.critical:not(.outline) .chip-main:hover {
  background-color: var(--theme-color-critical--hover);
}
.chip-wrap.critical:not(.outline) .chip-main:active {
  background-color: var(--theme-color-critical--active);
}
.chip-wrap.critical:not(.outline) .chip-close {
  color: inherit;
  background-color: var(--theme-chip-close-btn--background);
}
.chip-wrap.critical:not(.outline) .chip-close:hover {
  background-color: var(--theme-color-critical--hover);
}
.chip-wrap.critical:not(.outline) .chip-close:active {
  background-color: var(--theme-color-critical--active);
}
.chip-wrap.critical.outline {
  color: var(--theme-chip-outline--color);
  background-color: var(--theme-chip-outline--background);
  border-color: var(--theme-color-critical);
}
.chip-wrap.critical.outline .chip-main {
  background-color: transparent;
  color: var(--theme-chip-outline--color);
}
.chip-wrap.critical.outline .chip-main:hover {
  background-color: var(--theme-chip-outline--background--hover);
}
.chip-wrap.critical.outline .chip-main:active {
  background-color: var(--theme-chip-outline--background--active);
}
.chip-wrap.critical.outline.icon .with-icon {
  color: var(--theme-color-critical);
}
.chip-wrap.critical.outline .chip-close {
  color: inherit;
}
.chip-wrap.critical.outline .chip-close:hover {
  background-color: var(--theme-chip-outline--background--hover);
}
.chip-wrap.critical.outline .chip-close:active {
  background-color: var(--theme-chip-outline--background--active);
}
.chip-wrap.warning:not(.outline) {
  color: var(--theme-color-warning--contrast);
}
.chip-wrap.warning:not(.outline) .chip-main {
  background-color: var(--theme-color-warning);
  color: var(--theme-color-warning--contrast);
}
.chip-wrap.warning:not(.outline) .chip-main:hover {
  background-color: var(--theme-color-warning--hover);
}
.chip-wrap.warning:not(.outline) .chip-main:active {
  background-color: var(--theme-color-warning--active);
}
.chip-wrap.warning:not(.outline) .chip-close {
  color: inherit;
  background-color: var(--theme-chip-close-btn--background);
}
.chip-wrap.warning:not(.outline) .chip-close:hover {
  background-color: var(--theme-color-warning--hover);
}
.chip-wrap.warning:not(.outline) .chip-close:active {
  background-color: var(--theme-color-warning--active);
}
.chip-wrap.warning.outline {
  color: var(--theme-chip-outline--color);
  background-color: var(--theme-chip-outline--background);
  border-color: var(--theme-color-warning);
}
.chip-wrap.warning.outline .chip-main {
  background-color: transparent;
  color: var(--theme-chip-outline--color);
}
.chip-wrap.warning.outline .chip-main:hover {
  background-color: var(--theme-chip-outline--background--hover);
}
.chip-wrap.warning.outline .chip-main:active {
  background-color: var(--theme-chip-outline--background--active);
}
.chip-wrap.warning.outline.icon .with-icon {
  color: var(--theme-color-warning-text);
}
.chip-wrap.warning.outline .chip-close {
  color: inherit;
}
.chip-wrap.warning.outline .chip-close:hover {
  background-color: var(--theme-chip-outline--background--hover);
}
.chip-wrap.warning.outline .chip-close:active {
  background-color: var(--theme-chip-outline--background--active);
}
.chip-wrap.info:not(.outline) {
  color: var(--theme-color-info--contrast);
}
.chip-wrap.info:not(.outline) .chip-main {
  background-color: var(--theme-color-info);
  color: var(--theme-color-info--contrast);
}
.chip-wrap.info:not(.outline) .chip-main:hover {
  background-color: var(--theme-color-info--hover);
}
.chip-wrap.info:not(.outline) .chip-main:active {
  background-color: var(--theme-color-info--active);
}
.chip-wrap.info:not(.outline) .chip-close {
  color: inherit;
  background-color: var(--theme-chip-close-btn--background);
}
.chip-wrap.info:not(.outline) .chip-close:hover {
  background-color: var(--theme-color-info--hover);
}
.chip-wrap.info:not(.outline) .chip-close:active {
  background-color: var(--theme-color-info--active);
}
.chip-wrap.info.outline {
  color: var(--theme-chip-outline--color);
  background-color: var(--theme-chip-outline--background);
  border-color: var(--theme-color-info);
}
.chip-wrap.info.outline .chip-main {
  background-color: transparent;
  color: var(--theme-chip-outline--color);
}
.chip-wrap.info.outline .chip-main:hover {
  background-color: var(--theme-chip-outline--background--hover);
}
.chip-wrap.info.outline .chip-main:active {
  background-color: var(--theme-chip-outline--background--active);
}
.chip-wrap.info.outline.icon .with-icon {
  color: var(--theme-color-info);
}
.chip-wrap.info.outline .chip-close {
  color: inherit;
}
.chip-wrap.info.outline .chip-close:hover {
  background-color: var(--theme-chip-outline--background--hover);
}
.chip-wrap.info.outline .chip-close:active {
  background-color: var(--theme-chip-outline--background--active);
}
.chip-wrap.neutral:not(.outline) {
  color: var(--theme-color-neutral--contrast);
}
.chip-wrap.neutral:not(.outline) .chip-main {
  background-color: var(--theme-color-neutral);
  color: var(--theme-color-neutral--contrast);
}
.chip-wrap.neutral:not(.outline) .chip-main:hover {
  background-color: var(--theme-color-neutral--hover);
}
.chip-wrap.neutral:not(.outline) .chip-main:active {
  background-color: var(--theme-color-neutral--active);
}
.chip-wrap.neutral:not(.outline) .chip-close {
  color: inherit;
  background-color: var(--theme-chip-close-btn--background);
}
.chip-wrap.neutral:not(.outline) .chip-close:hover {
  background-color: var(--theme-color-neutral--hover);
}
.chip-wrap.neutral:not(.outline) .chip-close:active {
  background-color: var(--theme-color-neutral--active);
}
.chip-wrap.neutral.outline {
  color: var(--theme-chip-outline--color);
  background-color: var(--theme-chip-outline--background);
  border-color: var(--theme-color-neutral);
}
.chip-wrap.neutral.outline .chip-main {
  background-color: transparent;
  color: var(--theme-chip-outline--color);
}
.chip-wrap.neutral.outline .chip-main:hover {
  background-color: var(--theme-chip-outline--background--hover);
}
.chip-wrap.neutral.outline .chip-main:active {
  background-color: var(--theme-chip-outline--background--active);
}
.chip-wrap.neutral.outline.icon .with-icon {
  color: var(--theme-color-neutral);
}
.chip-wrap.neutral.outline .chip-close {
  color: inherit;
}
.chip-wrap.neutral.outline .chip-close:hover {
  background-color: var(--theme-chip-outline--background--hover);
}
.chip-wrap.neutral.outline .chip-close:active {
  background-color: var(--theme-chip-outline--background--active);
}
.chip-wrap.success:not(.outline) {
  color: var(--theme-color-success--contrast);
}
.chip-wrap.success:not(.outline) .chip-main {
  background-color: var(--theme-color-success);
  color: var(--theme-color-success--contrast);
}
.chip-wrap.success:not(.outline) .chip-main:hover {
  background-color: var(--theme-color-success--hover);
}
.chip-wrap.success:not(.outline) .chip-main:active {
  background-color: var(--theme-color-success--active);
}
.chip-wrap.success:not(.outline) .chip-close {
  color: inherit;
  background-color: var(--theme-chip-close-btn--background);
}
.chip-wrap.success:not(.outline) .chip-close:hover {
  background-color: var(--theme-color-success--hover);
}
.chip-wrap.success:not(.outline) .chip-close:active {
  background-color: var(--theme-color-success--active);
}
.chip-wrap.success.outline {
  color: var(--theme-chip-outline--color);
  background-color: var(--theme-chip-outline--background);
  border-color: var(--theme-color-success);
}
.chip-wrap.success.outline .chip-main {
  background-color: transparent;
  color: var(--theme-chip-outline--color);
}
.chip-wrap.success.outline .chip-main:hover {
  background-color: var(--theme-chip-outline--background--hover);
}
.chip-wrap.success.outline .chip-main:active {
  background-color: var(--theme-chip-outline--background--active);
}
.chip-wrap.success.outline.icon .with-icon {
  color: var(--theme-color-success);
}
.chip-wrap.success.outline .chip-close {
  color: inherit;
}
.chip-wrap.success.outline .chip-close:hover {
  background-color: var(--theme-chip-outline--background--hover);
}
.chip-wrap.success.outline .chip-close:active {
  background-color: var(--theme-chip-outline--background--active);
}
.chip-wrap.outline .chip-close {
  background-color: var(--theme-chip-close-btn--background);
}
.chip-wrap.outline .chip-close:hover {
  background-color: var(--theme-chip-close-btn--background--hover);
}
.chip-wrap.outline .chip-close:active {
  background-color: var(--theme-chip-close-btn--background--active);
}
.chip-wrap.custom.outline {
  background-color: var(--theme-chip-outline--background);
}
.chip-wrap.custom.outline .chip-main {
  background-color: transparent;
}
.chip-wrap.custom.outline .chip-main:hover {
  background-color: var(--theme-chip-outline--background--hover);
}
.chip-wrap.custom.outline .chip-main:active {
  background-color: var(--theme-chip-outline--background--active);
}
.chip-wrap.custom.outline .chip-close {
  color: inherit;
}
.chip-wrap.custom.outline .chip-close:hover {
  background-color: var(--theme-chip-outline--background--hover);
}
.chip-wrap.custom.outline .chip-close:active {
  background-color: var(--theme-chip-outline--background--active);
}
.chip-wrap.custom:not(.outline) .chip-main {
  position: relative;
}
.chip-wrap.custom:not(.outline) .chip-main:hover::after, .chip-wrap.custom:not(.outline) .chip-main:active::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  border-radius: 100px;
  pointer-events: none;
}
.chip-wrap.custom:not(.outline) .chip-main:hover::after {
  background-color: color-mix(in srgb, currentColor 10%, transparent);
}
.chip-wrap.custom:not(.outline) .chip-main:active::after {
  background-color: color-mix(in srgb, currentColor 20%, transparent);
}
.chip-wrap.custom:not(.outline) .chip-close {
  color: inherit;
  background-color: var(--theme-chip-close-btn--background);
}
.chip-wrap.custom:not(.outline) .chip-close:hover {
  background-color: color-mix(in srgb, currentColor 10%, transparent);
}
.chip-wrap.custom:not(.outline) .chip-close:active {
  background-color: color-mix(in srgb, currentColor 20%, transparent);
}