// ------------------------------------------------------------------------------
// <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 sheetElementMemphisStyle() {
    return css `
:host {
  --sheet-background-color: var(--memphis-scheme-background);
  --sheet-border-color: var(--memphis-scheme-contrast);
  --sheet-border-width: var(--memphis-layout-thickness);
  --sheet-font-family: var(--memphis-typography-button-font-family);
  --sheet-font-letter-spacing: var(--memphis-typography-button-letter-spacing);
  --sheet-font-line-height: var(--memphis-typography-button-line-height);
  --sheet-font-size: var(--memphis-typography-button-font-size);
  --sheet-font-text-decoration: var(--memphis-typography-button-text-decoration);
  --sheet-font-text-transform: var(--memphis-typography-button-text-transform);
  --sheet-font-weight: var(--memphis-typography-button-font-weight);
  --sheet-foreground-color: var(--memphis-scheme-foreground);
  --sheet-gap: var(--memphis-layout-space);
  --sheet-padding-bottom: calc(var(--memphis-layout-space) * 1.5);
  --sheet-padding-left: calc(var(--memphis-layout-space) * 2);
  --sheet-padding-right: calc(var(--memphis-layout-space) * 2);
  --sheet-padding-top: var(--memphis-layout-space);
  --sheet-transition-duration: var(--memphis-duration-short);
  --sheet-transition-mode: ease;
  --sheet-transition-property: transform, opacity, visibility;
  --sheet-translate: none;
  --sheet-translate-y: 100vh;
}

@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 [part="root"] {
  font-family: var(--sheet-font-family);
  font-size: var(--sheet-font-size);
  line-height: var(--sheet-font-line-height);
  font-weight: var(--sheet-font-weight);
  letter-spacing: var(--sheet-font-letter-spacing);
  -webkit-text-decoration: var(--sheet-font-text-decoration);
  text-decoration: var(--sheet-font-text-decoration);
  text-transform: var(--sheet-font-text-transform);
  background-color: var(--sheet-background-color);
  border-color: var(--sheet-border-color);
  color: var(--sheet-foreground-color);
  opacity: 0;
  visibility: hidden;
  z-index: 2147483001;
  filter: drop-shadow(0 5px 15px #0000004d);
  border-radius: 15px 15px 0 0;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 414px;
  min-height: 90px;
  margin: 0 auto;
  padding-bottom: 35px;
  font-size: 15px;
  transition: top .5s ease-in-out, opacity .8s ease-in-out, max-height .35s ease-in-out;
  display: grid;
  position: fixed;
  inset: 0 0 auto;
  overflow: hidden;
  transform: translateY(100vh);
}

:host [part="root"] [part="heading"] {
  position: relative;
}

:host [part="root"] [part="heading"] [part="thumb"] {
  box-sizing: border-box;
  cursor: grab;
  width: 100%;
  height: 30px;
  padding-top: 8px;
}

:host [part="root"] [part="heading"] [part="thumb"]:active {
  cursor: grabbing;
}

:host [part="root"] [part="heading"] [part="thumb"]:before {
  background: var(--sheet-border-color);
  content: "";
  border-radius: 3px;
  width: 40px;
  height: 5px;
  margin: 0 auto;
  display: block;
}

:host [part="root"] [part="heading"]:after {
  content: "";
  height: calc(var(--sheet-border-width) / 2);
  background-color: var(--sheet-border-color);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

:host([is-open]) [part="root"] {
  opacity: 1;
  visibility: visible;
  top: 12px;
  transform: translateY(calc(100vh - 74px));
}

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