// ------------------------------------------------------------------------------
// <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 tooltipElementCosmopolitanStyle() {
    return css `
:host {
  --tooltip-background-color: unset;
  --tooltip-border-color: unset;
  --tooltip-border-radius: unset;
  --tooltip-border-style: unset;
  --tooltip-border-width: unset;
  --tooltip-font-family: unset;
  --tooltip-font-letter-spacing: unset;
  --tooltip-font-line-height: unset;
  --tooltip-font-size: unset;
  --tooltip-font-text-decoration: unset;
  --tooltip-font-text-transform: unset;
  --tooltip-font-weight: unset;
  --tooltip-foreground-color: unset;
  --tooltip-gap: unset;
  --tooltip-max-width: unset;
  --tooltip-padding-bottom: unset;
  --tooltip-padding-left: unset;
  --tooltip-padding-right: unset;
  --tooltip-padding-top: unset;
  --tooltip-shadow: unset unset unset unset unset;
  --tooltip-shadow-blur: unset;
  --tooltip-shadow-color: unset;
  --tooltip-shadow-offset-x: unset;
  --tooltip-shadow-offset-y: unset;
  --tooltip-shadow-spread: unset;
  --tooltip-transition-duration: unset;
  --tooltip-transition-mode: unset;
  --tooltip-transition-property: unset;
  --tooltip-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 {
  display: contents;
}

:host [part="popup"] {
  z-index: 100;
}

:host [part="popup"]::part(body) {
  font-family: var(--tooltip-font-family);
  font-size: var(--tooltip-font-size);
  line-height: var(--tooltip-font-line-height);
  font-weight: var(--tooltip-font-weight);
  letter-spacing: var(--tooltip-font-letter-spacing);
  -webkit-text-decoration: var(--tooltip-font-text-decoration);
  text-decoration: var(--tooltip-font-text-decoration);
  text-transform: var(--tooltip-font-text-transform);
  padding-top: var(--tooltip-padding-top);
  padding-right: var(--tooltip-padding-right);
  padding-bottom: var(--tooltip-padding-bottom);
  padding-left: var(--tooltip-padding-left);
  gap: var(--tooltip-gap);
  transition-duration: var(--tooltip-transition-duration);
  transition-timing-function: var(--tooltip-transition-mode);
  transition-property: var(--tooltip-transition-property);
  background-color: var(--tooltip-background-color);
  border-color: var(--tooltip-border-color);
  color: var(--tooltip-foreground-color);
  border-width: var(--tooltip-border-width);
  border-radius: var(--tooltip-border-radius);
  border-style: var(--tooltip-border-style);
  box-shadow: var(--tooltip-shadow);
  pointer-events: none;
  width: max-content;
  max-width: var(--tooltip-max-width);
}

:host [part="popup"]::part(arrow) {
  background-color: var(--tooltip-background-color);
}

:host [part="popup"][placement^="top"] {
  transform-origin: bottom;
}

:host [part="popup"][placement^="bottom"] {
  transform-origin: top;
}

:host [part="popup"][placement^="left"] {
  transform-origin: 100%;
}

:host [part="popup"][placement^="right"] {
  transform-origin: 0;
}

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