// ------------------------------------------------------------------------------
// <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 chatElementCosmopolitanStyle() {
    return css `
:host {
  --chat-background-color: unset;
  --chat-border-color: unset;
  --chat-border-radius: unset;
  --chat-border-style: unset;
  --chat-border-width: unset;
  --chat-focus-ring-outward-offset: unset;
  --chat-font-family: unset;
  --chat-font-letter-spacing: unset;
  --chat-font-line-height: unset;
  --chat-font-size: unset;
  --chat-font-text-decoration: unset;
  --chat-font-text-transform: unset;
  --chat-font-weight: unset;
  --chat-foreground-color: unset;
  --chat-gap: unset;
  --chat-line-thickness: var(--cosmopolitan-layout-thickness);
  --chat-padding-bottom: unset;
  --chat-padding-left: unset;
  --chat-padding-right: unset;
  --chat-padding-top: unset;
  --chat-shadow: unset unset unset unset unset;
  --chat-shadow-blur: unset;
  --chat-shadow-color: unset;
  --chat-shadow-offset-x: unset;
  --chat-shadow-offset-y: unset;
  --chat-shadow-spread: unset;
  --chat-transition-duration: unset;
  --chat-transition-mode: unset;
  --chat-transition-property: unset;
  --chat-translate: none;
}

@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 {
  border-width: var(--chat-border-width);
  border-radius: var(--chat-border-radius);
  border-style: var(--chat-border-style);
  background-color: var(--chat-background-color);
  border-color: var(--chat-border-color);
  color: var(--chat-foreground-color);
  box-shadow: var(--chat-shadow);
  transition-duration: var(--chat-transition-duration);
  transition-timing-function: var(--chat-transition-mode);
  transition-property: var(--chat-transition-property);
  font-family: var(--chat-font-family);
  font-size: var(--chat-font-size);
  line-height: var(--chat-font-line-height);
  font-weight: var(--chat-font-weight);
  letter-spacing: var(--chat-font-letter-spacing);
  -webkit-text-decoration: var(--chat-font-text-decoration);
  text-decoration: var(--chat-font-text-decoration);
  text-transform: var(--chat-font-text-transform);
  flex-direction: column;
  display: flex;
  overflow: hidden;
}

:host [part="messagesWrapper"] {
  flex-direction: column;
  flex: 1;
  display: flex;
  position: relative;
  overflow: hidden;
}

:host [part="scroll"] {
  height: 100%;
}

:host [part="messages"] {
  padding-top: var(--chat-padding-top);
  padding-right: var(--chat-padding-right);
  padding-bottom: var(--chat-padding-bottom);
  padding-left: var(--chat-padding-left);
  gap: var(--chat-gap);
  height: 100%;
  overflow: overlay;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  display: flex;
}

:host [part="footer"] {
  border-radius: var(--chat-border-radius);
  position: relative;
}

:host [part="footer"]:before {
  content: "";
  height: var(--chat-line-thickness);
  background-color: var(--chat-border-color);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

:host([appearance="outline"]) {
  --chat-border-style: solid;
}

:host([appearance="outline"]) [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

:host([appearance="plain"]) {
  --chat-border-width: 0px;
  --chat-line-thickness: 0px;
  --chat-border-style: none;
}

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