// ------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// #region Imports
import { css } from '../../../../../Dom/Css';
// #endregion
/**
 * @public
 */
export function chipBoxElementCosmopolitanStyle() {
    return css `
:host {
  --chipbox-font-family: unset;
  --chipbox-font-size: unset;
  --chipbox-font-line-height: unset;
  --chipbox-font-weight: unset;
  --chipbox-font-letter-spacing: unset;
  --chipbox-font-text-decoration: unset;
  --chipbox-font-text-transform: unset;
  --chipbox-padding-top: unset;
  --chipbox-padding-right: unset;
  --chipbox-padding-bottom: unset;
  --chipbox-padding-left: unset;
  --chipbox-gap: unset;
  --chipbox-transition-duration: unset;
  --chipbox-transition-mode: unset;
  --chipbox-transition-property: unset;
  --chipbox-translate: unset;
  --chipbox-background-color: unset;
  --chipbox-border-color: unset;
  --chipbox-border-radius: unset;
  --chipbox-border-style: unset;
  --chipbox-border-width: unset;
  --chipbox-foreground-color: unset;
  --chipbox-height: unset;
  --chipbox-shadow: unset;
}

@media screen and (prefers-reduced-motion: reduce) {
  :host {
    transition-duration: .01ms;
  }
}

:host {
  box-sizing: border-box;
  display: block;
  position: relative;
}

:host *, :host :before, :host :after {
  box-sizing: border-box;
  background-repeat: no-repeat;
}

:host :before, :host :after {
  text-decoration: inherit;
  vertical-align: inherit;
}

:host([hidden]) {
  display: none !important;
}

:host {
  font-family: var(--chipbox-font-family);
  font-size: var(--chipbox-font-size);
  line-height: var(--chipbox-font-line-height);
  font-weight: var(--chipbox-font-weight);
  letter-spacing: var(--chipbox-font-letter-spacing);
  -webkit-text-decoration: var(--chipbox-font-text-decoration);
  text-decoration: var(--chipbox-font-text-decoration);
  text-transform: var(--chipbox-font-text-transform);
  padding-top: var(--chipbox-padding-top);
  padding-right: var(--chipbox-padding-right);
  padding-bottom: var(--chipbox-padding-bottom);
  padding-left: var(--chipbox-padding-left);
  gap: var(--chipbox-gap);
  transition-duration: var(--chipbox-transition-duration);
  transition-timing-function: var(--chipbox-transition-mode);
  transition-property: var(--chipbox-transition-property);
  translate: var(--chipbox-translate);
  background-color: var(--chipbox-background-color);
  color: var(--chipbox-foreground-color);
  border-color: var(--chipbox-border-color);
  border-width: var(--chipbox-border-width);
  border-radius: var(--chipbox-border-radius);
  border-style: var(--chipbox-border-style);
  box-shadow: var(--chipbox-shadow);
  min-height: var(--chipbox-height);
  cursor: text;
  z-index: 0;
  outline: none;
  flex-direction: row;
  align-items: center;
  padding: 4px;
  display: flex;
}

:host input {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  cursor: inherit;
  resize: none;
  margin: 0;
  overflow: visible;
}

:host [part="suffix"] {
  gap: var(--chipbox-gap);
  flex-grow: 0;
  flex-shrink: 0;
  align-items: center;
  display: flex;
}

:host [part="suffix"][hidden] {
  display: none;
}

:host [part="prefix"] {
  gap: var(--chipbox-gap);
  flex-grow: 0;
  flex-shrink: 0;
  align-items: center;
  display: flex;
}

:host [part="prefix"][hidden] {
  display: none;
}

:host [part="inner"] {
  width: 100%;
  height: 100%;
  padding: var(--chipbox-padding-top) var(--chipbox-padding-right) var(--chipbox-padding-bottom) var(--chipbox-padding-left);
  flex-direction: column;
  flex: 1;
  display: flex;
  position: relative;
  overflow: hidden;
}

:host [part="inner"].prefix:before {
  content: "";
  width: var(--chipbox-border-width);
  background-color: var(--chipbox-border-color);
  border-radius: 2px;
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
}

:host [part="inner"].suffix:after {
  content: "";
  width: var(--chipbox-border-width);
  background-color: var(--chipbox-border-color);
  border-radius: 2px;
  position: absolute;
  top: 2px;
  bottom: 2px;
  right: 0;
}

:host [part="inner"] [part="wrapper"] {
  place-content: flex-start;
  gap: var(--chipbox-gap);
  flex-flow: wrap;
  display: flex;
}

:host [part="inner"] [part="wrapper"] [part="chip"] {
  flex-basis: unset;
}

:host [part="input"] {
  color: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;
  border: none;
  outline: none;
  margin: 0;
  padding: 0;
}

:host [part="label"] {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  pointer-events: none;
  transform-origin: 0 0;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  will-change: transform;
  transition-property: transform, font-size, color, letter-spacing, top;
  transition-duration: .2s;
  transition-timing-function: ease;
  display: block;
  position: absolute;
  top: 10px;
  left: 12px;
  overflow: hidden;
  transform: translateY(0);
}

:host [part="label"].floating {
  top: unset;
  font-size: 12px;
  transform: translateY(-50%);
}

:host([has-label]) [part="inner"] {
  padding-bottom: unset;
}

:host([has-label]) [part="inner"] [part="wrapper"] {
  padding-top: 12px;
}

:host([required]) [part="label"]:after {
  content: "*";
  margin-left: 2px;
}

    `;
}
//# sourceMappingURL=ChipBoxElement.Cosmopolitan.js.map