// ------------------------------------------------------------------------------
// <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 popupElementMemphisStyle() {
    return css `
:host {
  --popup-background-color: var(--memphis-scheme-background);
  --popup-border-color: var(--memphis-scheme-contrast);
  --popup-border-radius: calc(var(--memphis-layout-radius) + 8px);
  --popup-border-style: solid;
  --popup-border-width: calc(var(--memphis-layout-thickness) / 3);
  --popup-font-family: var(--memphis-font-family);
  --popup-font-letter-spacing: var(--memphis-typography-body2-letter-spacing);
  --popup-font-line-height: var(--memphis-typography-body2-line-height);
  --popup-font-size: var(--memphis-typography-body2-font-size);
  --popup-font-text-decoration: var(--memphis-typography-body2-text-decoration);
  --popup-font-text-transform: var(--memphis-typography-body2-text-transform);
  --popup-font-weight: var(--memphis-typography-body2-font-weight);
  --popup-foreground-color: var(--memphis-scheme-foreground);
  --popup-gap: calc(var(--memphis-layout-space) * .8);
  --popup-padding-bottom: calc(var(--memphis-layout-space) * 1.4);
  --popup-padding-left: calc(var(--memphis-layout-space) * 1.8);
  --popup-padding-right: calc(var(--memphis-layout-space) * 1.8);
  --popup-padding-top: calc(var(--memphis-layout-space) * 1.2);
  --popup-shadow-blur: var(--memphis-elevation-semilight-blur-0);
  --popup-shadow-color: var(--memphis-elevation-semilight-color-0);
  --popup-shadow-offset-x: var(--memphis-elevation-semilight-offset-x-0);
  --popup-shadow-offset-y: var(--memphis-elevation-semilight-offset-y-0);
  --popup-shadow-spread: var(--memphis-elevation-semilight-spread-0);
  --popup-transition-duration: var(--memphis-duration-short);
  --popup-transition-mode: ease;
  --popup-transition-property: opacity, transform, background-color, color, border-color, box-shadow;
  --popup-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 {
  font-family: var(--popup-font-family);
  font-size: var(--popup-font-size);
  font-weight: var(--popup-font-weight);
  line-height: var(--popup-font-line-height);
  letter-spacing: var(--popup-font-letter-spacing);
  -webkit-text-decoration: var(--popup-font-text-decoration);
  text-decoration: var(--popup-font-text-decoration);
  text-transform: var(--popup-font-text-transform);
  color: var(--popup-foreground-color);
  display: inline-block;
  position: relative;
}

[part="popup"] {
  background-color: var(--popup-background-color);
  border-color: var(--popup-border-color);
  border-width: var(--popup-border-width);
  border-radius: var(--popup-border-radius);
  border-style: var(--popup-border-style);
  transition-duration: var(--popup-transition-duration);
  transition-timing-function: var(--popup-transition-mode);
  transition-property: var(--popup-transition-property);
  box-shadow: var(--popup-shadow-offset-x) var(--popup-shadow-offset-y) var(--popup-shadow-blur) var(--popup-shadow-spread) var(--popup-shadow-color);
  overflow: hidden;
}

[part="body"] {
  padding-top: var(--popup-padding-top);
  padding-left: var(--popup-padding-left);
  padding-bottom: var(--popup-padding-bottom);
  padding-right: var(--popup-padding-right);
  gap: var(--popup-gap);
  flex-direction: column;
  display: flex;
}

[part="header"]:empty, [part="footer"]:empty {
  display: none;
}

[part="arrow"] {
  background-color: var(--popup-background-color);
  border-color: var(--popup-border-color);
  border-width: var(--popup-border-width);
  border-style: var(--popup-border-style);
  width: 8px;
  height: 8px;
  position: absolute;
  transform: rotate(45deg);
}

    `;
}
//# sourceMappingURL=PopupElement.Memphis.js.map