// ------------------------------------------------------------------------------
// <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 appElementCosmopolitanStyle() {
    return css `
:host {
  --app-background-color: var(--cosmopolitan-scheme-background);
  --app-font-family: var(--cosmopolitan-typography-body1-font-family);
  --app-font-letter-spacing: var(--cosmopolitan-typography-body1-letter-spacing);
  --app-font-line-height: var(--cosmopolitan-typography-body1-line-height);
  --app-font-size: var(--cosmopolitan-typography-body1-font-size);
  --app-font-text-decoration: var(--cosmopolitan-typography-body1-text-decoration);
  --app-font-text-transform: var(--cosmopolitan-typography-body1-text-transform);
  --app-font-weight: var(--cosmopolitan-typography-body1-font-weight);
  --app-foreground-color: var(--cosmopolitan-scheme-foreground);
  --app-gap: var(--cosmopolitan-layout-space);
  --app-padding-bottom: unset;
  --app-padding-left: unset;
  --app-padding-right: unset;
  --app-padding-top: unset;
  --app-transition-duration: var(--cosmopolitan-layout-transition);
  --app-transition-mode: ease;
  --app-transition-property: background-color, color, border-color, opacity, box-shadow, translate;
  --app-translate: 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(--app-font-family);
  font-size: var(--app-font-size);
  line-height: var(--app-font-line-height);
  font-weight: var(--app-font-weight);
  letter-spacing: var(--app-font-letter-spacing);
  -webkit-text-decoration: var(--app-font-text-decoration);
  text-decoration: var(--app-font-text-decoration);
  text-transform: var(--app-font-text-transform);
  transition-duration: var(--app-transition-duration);
  transition-timing-function: var(--app-transition-mode);
  transition-property: var(--app-transition-property);
  background-color: var(--app-background-color);
  color: var(--app-foreground-color);
  width: 100vw;
  height: 100vh;
  display: block;
  position: absolute;
  inset: 0;
}

:host [part="content"] {
  width: 100%;
  height: 100%;
  overflow: auto;
}

:host [part="nav"] {
  flex-direction: column;
  flex: 1;
  width: 320px;
  height: 100%;
  display: flex;
  overflow: auto;
}

:host([has-header]:not([has-header="false"])) [part="content"] {
  height: calc(100% - 64px);
}

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