// ------------------------------------------------------------------------------
// <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 schedulerTimeGridViewElementCosmopolitanStyle() {
    return css `
:host {
  --scheduler-time-grid-view-background-color: var(--cosmopolitan-scheme-background);
  --scheduler-time-grid-view-border-color: var(--cosmopolitan-scheme-highlight);
  --scheduler-time-grid-view-border-radius: var(--cosmopolitan-layout-radius);
  --scheduler-time-grid-view-border-style: solid;
  --scheduler-time-grid-view-border-width: var(--cosmopolitan-layout-thickness);
  --scheduler-time-grid-view-cell-border-color: var(--cosmopolitan-scheme-highlight);
  --scheduler-time-grid-view-cell-border-radius: var(--cosmopolitan-layout-radius);
  --scheduler-time-grid-view-cell-border-style: dashed;
  --scheduler-time-grid-view-cell-border-width: 1px;
  --scheduler-time-grid-view-cell-height: 40px;
  --scheduler-time-grid-view-column-min-width: 160px;
  --scheduler-time-grid-view-font-family: unset;
  --scheduler-time-grid-view-font-letter-spacing: unset;
  --scheduler-time-grid-view-font-line-height: unset;
  --scheduler-time-grid-view-font-size: unset;
  --scheduler-time-grid-view-font-text-decoration: unset;
  --scheduler-time-grid-view-font-text-transform: unset;
  --scheduler-time-grid-view-font-weight: unset;
  --scheduler-time-grid-view-foreground-color: var(--cosmopolitan-scheme-foreground);
  --scheduler-time-grid-view-gap: unset;
  --scheduler-time-grid-view-header-cell-padding-bottom: var(--cosmopolitan-layout-space);
  --scheduler-time-grid-view-header-cell-padding-left: var(--cosmopolitan-layout-space);
  --scheduler-time-grid-view-header-cell-padding-right: var(--cosmopolitan-layout-space);
  --scheduler-time-grid-view-header-cell-padding-top: var(--cosmopolitan-layout-space);
  --scheduler-time-grid-view-header-day-font-family: var(--cosmopolitan-typography-headline6-font-family);
  --scheduler-time-grid-view-header-day-font-letter-spacing: var(--cosmopolitan-typography-headline6-letter-spacing);
  --scheduler-time-grid-view-header-day-font-line-height: var(--cosmopolitan-typography-headline6-line-height);
  --scheduler-time-grid-view-header-day-font-size: var(--cosmopolitan-typography-headline6-font-size);
  --scheduler-time-grid-view-header-day-font-text-decoration: var(--cosmopolitan-typography-headline6-text-decoration);
  --scheduler-time-grid-view-header-day-font-text-transform: var(--cosmopolitan-typography-headline6-text-transform);
  --scheduler-time-grid-view-header-day-font-weight: var(--cosmopolitan-typography-headline6-font-weight);
  --scheduler-time-grid-view-header-font-family: var(--cosmopolitan-typography-headline6-font-family);
  --scheduler-time-grid-view-header-font-letter-spacing: var(--cosmopolitan-typography-headline6-letter-spacing);
  --scheduler-time-grid-view-header-font-line-height: var(--cosmopolitan-typography-headline6-line-height);
  --scheduler-time-grid-view-header-font-size: var(--cosmopolitan-typography-headline6-font-size);
  --scheduler-time-grid-view-header-font-text-decoration: var(--cosmopolitan-typography-headline6-text-decoration);
  --scheduler-time-grid-view-header-font-text-transform: var(--cosmopolitan-typography-headline6-text-transform);
  --scheduler-time-grid-view-header-font-weight: var(--cosmopolitan-typography-headline6-font-weight);
  --scheduler-time-grid-view-header-weekday-font-family: var(--cosmopolitan-typography-caption-font-family);
  --scheduler-time-grid-view-header-weekday-font-letter-spacing: var(--cosmopolitan-typography-caption-letter-spacing);
  --scheduler-time-grid-view-header-weekday-font-line-height: var(--cosmopolitan-typography-caption-line-height);
  --scheduler-time-grid-view-header-weekday-font-size: var(--cosmopolitan-typography-caption-font-size);
  --scheduler-time-grid-view-header-weekday-font-text-decoration: var(--cosmopolitan-typography-caption-text-decoration);
  --scheduler-time-grid-view-header-weekday-font-text-transform: var(--cosmopolitan-typography-caption-text-transform);
  --scheduler-time-grid-view-header-weekday-font-weight: var(--cosmopolitan-typography-caption-font-weight);
  --scheduler-time-grid-view-hour-border-color: var(--cosmopolitan-scheme-highlight);
  --scheduler-time-grid-view-hour-border-radius: var(--cosmopolitan-layout-radius);
  --scheduler-time-grid-view-hour-border-style: solid;
  --scheduler-time-grid-view-hour-border-width: var(--cosmopolitan-layout-thickness);
  --scheduler-time-grid-view-padding-bottom: unset;
  --scheduler-time-grid-view-padding-left: unset;
  --scheduler-time-grid-view-padding-right: unset;
  --scheduler-time-grid-view-padding-top: unset;
  --scheduler-time-grid-view-timescale-width: 80px;
  --scheduler-time-grid-view-today-background-color: var(--cosmopolitan-scheme-semi-transparent);
  --scheduler-time-grid-view-transition-duration: unset;
  --scheduler-time-grid-view-transition-mode: unset;
  --scheduler-time-grid-view-transition-property: unset;
  --scheduler-time-grid-view-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 {
  --_thickness: 1px;
  --_thickness-style: solid;
  font-family: var(--scheduler-time-grid-view-font-family);
  font-size: var(--scheduler-time-grid-view-font-size);
  line-height: var(--scheduler-time-grid-view-font-line-height);
  font-weight: var(--scheduler-time-grid-view-font-weight);
  letter-spacing: var(--scheduler-time-grid-view-font-letter-spacing);
  -webkit-text-decoration: var(--scheduler-time-grid-view-font-text-decoration);
  text-decoration: var(--scheduler-time-grid-view-font-text-decoration);
  text-transform: var(--scheduler-time-grid-view-font-text-transform);
  transition-duration: var(--scheduler-time-grid-view-transition-duration);
  transition-timing-function: var(--scheduler-time-grid-view-transition-mode);
  transition-property: var(--scheduler-time-grid-view-transition-property);
  background-color: var(--scheduler-time-grid-view-background-color);
  color: var(--scheduler-time-grid-view-foreground-color);
  border-color: var(--scheduler-time-grid-view-border-color);
  border-width: var(--scheduler-time-grid-view-border-width);
  border-radius: var(--scheduler-time-grid-view-border-radius);
  border-style: var(--scheduler-time-grid-view-border-style);
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}

:host [part="container"] {
  flex-direction: column;
  height: 100%;
  display: flex;
  overflow: hidden;
}

:host [part="container"] [part="header"] {
  border-bottom: var(--_thickness) var(--_thickness-style) var(--scheduler-time-grid-view-border-color);
  flex-shrink: 0;
  overflow-x: auto;
}

:host [part="container"] [part="header"] [part="header-row"] {
  min-width: 100%;
  display: flex;
}

:host [part="container"] [part="header"] [part="header-row"] [part="header-spacer"] {
  width: var(--scheduler-time-grid-view-timescale-width);
  border-right: var(--_thickness) var(--_thickness-style) var(--scheduler-time-grid-view-border-color);
  z-index: 1;
  background-color: var(--scheduler-time-grid-view-background-color);
  flex-shrink: 0;
  position: sticky;
  left: 0;
}

:host [part="container"] [part="header"] [part="header-row"] [part="header-columns"] {
  flex: 1;
  display: flex;
}

:host [part="container"] [part="header"] [part="header-row"] [part="header-columns"] [part~="header-cell"] {
  font-family: var(--scheduler-time-grid-view-header-font-family);
  font-size: var(--scheduler-time-grid-view-header-font-size);
  line-height: var(--scheduler-time-grid-view-header-font-line-height);
  font-weight: var(--scheduler-time-grid-view-header-font-weight);
  letter-spacing: var(--scheduler-time-grid-view-header-font-letter-spacing);
  -webkit-text-decoration: var(--scheduler-time-grid-view-header-font-text-decoration);
  text-decoration: var(--scheduler-time-grid-view-header-font-text-decoration);
  text-transform: var(--scheduler-time-grid-view-header-font-text-transform);
  min-width: var(--scheduler-time-grid-view-column-min-width);
  padding-top: var(--scheduler-time-grid-view-header-cell-padding-top);
  padding-right: var(--scheduler-time-grid-view-header-cell-padding-right);
  padding-bottom: var(--scheduler-time-grid-view-header-cell-padding-bottom);
  padding-left: var(--scheduler-time-grid-view-header-cell-padding-left);
  border-right: var(--_thickness) var(--_thickness-style) var(--scheduler-time-grid-view-border-color);
  text-align: center;
  box-sizing: border-box;
  flex-direction: column;
  display: flex;
}

:host [part="container"] [part="header"] [part="header-row"] [part="header-columns"] [part~="header-cell"]:last-child {
  border-right: none;
}

:host [part="container"] [part="header"] [part="header-row"] [part="header-columns"] [part~="header-cell"][part~="is-today"] {
  background-color: var(--scheduler-time-grid-view-today-background-color);
}

:host [part="container"] [part="header"] [part="header-row"] [part="header-columns"] [part~="header-cell"][part~="is-weekend"] {
  background-color: color-mix(in srgb, var(--scheduler-time-grid-view-today-background-color) 55%, transparent);
}

:host [part="container"] [part="header"] [part="header-row"] [part="header-columns"] [part~="header-cell"][part~="is-blackout"], :host [part="container"] [part="header"] [part="header-row"] [part="header-columns"] [part~="header-cell"][part~="is-special"] {
  background-color: color-mix(in srgb, var(--scheduler-time-grid-view-border-color) 20%, transparent);
}

:host [part="container"] [part="header"] [part="header-row"] [part="header-columns"] [part~="header-cell"] [part="header-weekday"] {
  font-family: var(--scheduler-time-grid-view-header-weekday-font-family);
  font-size: var(--scheduler-time-grid-view-header-weekday-font-size);
  line-height: var(--scheduler-time-grid-view-header-weekday-font-line-height);
  font-weight: var(--scheduler-time-grid-view-header-weekday-font-weight);
  letter-spacing: var(--scheduler-time-grid-view-header-weekday-font-letter-spacing);
  -webkit-text-decoration: var(--scheduler-time-grid-view-header-weekday-font-text-decoration);
  text-decoration: var(--scheduler-time-grid-view-header-weekday-font-text-decoration);
  text-transform: var(--scheduler-time-grid-view-header-weekday-font-text-transform);
  text-transform: uppercase;
}

:host [part="container"] [part="header"] [part="header-row"] [part="header-columns"] [part~="header-cell"] [part="header-day"] {
  font-family: var(--scheduler-time-grid-view-header-day-font-family);
  font-size: var(--scheduler-time-grid-view-header-day-font-size);
  line-height: var(--scheduler-time-grid-view-header-day-font-line-height);
  font-weight: var(--scheduler-time-grid-view-header-day-font-weight);
  letter-spacing: var(--scheduler-time-grid-view-header-day-font-letter-spacing);
  -webkit-text-decoration: var(--scheduler-time-grid-view-header-day-font-text-decoration);
  text-decoration: var(--scheduler-time-grid-view-header-day-font-text-decoration);
  text-transform: var(--scheduler-time-grid-view-header-day-font-text-transform);
}

:host [part="container"] [part="header"] [part="all-day-panel"] {
  border-top: var(--_thickness) var(--_thickness-style) var(--scheduler-time-grid-view-border-color);
  border-bottom: var(--_thickness) var(--_thickness-style) var(--scheduler-time-grid-view-border-color);
  flex-direction: row;
  min-width: 100%;
  min-height: 80px;
  display: flex;
}

:host [part="container"] [part="header"] [part="all-day-panel"] [part="all-day-label"] {
  width: var(--scheduler-time-grid-view-timescale-width);
  color: var(--scheduler-time-grid-view-foreground-color);
  border-right: var(--_thickness) var(--_thickness-style) var(--scheduler-time-grid-view-border-color);
  box-sizing: border-box;
  z-index: 1;
  background-color: var(--scheduler-time-grid-view-background-color);
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: flex;
  position: sticky;
  left: 0;
}

:host [part="container"] [part="header"] [part="all-day-panel"] [part="all-day-row"] {
  flex-direction: row;
  flex: 1;
  min-height: 24px;
  display: flex;
  position: relative;
}

:host [part="container"] [part="header"] [part="all-day-panel"] [part="all-day-row"] [part~="all-day-cell"] {
  box-sizing: border-box;
  min-width: var(--scheduler-time-grid-view-column-min-width);
  flex-direction: column;
  gap: 2px;
  min-height: 24px;
  display: flex;
}

:host [part="container"] [part="header"] [part="all-day-panel"] [part="all-day-row"] [part~="all-day-cell"][part~="is-today"], :host [part="container"] [part="header"] [part="all-day-panel"] [part="all-day-row"] [part~="all-day-cell"][part~="is-weekend"] {
  background-color: color-mix(in srgb, var(--scheduler-time-grid-view-today-background-color) 20%, transparent);
}

:host [part="container"] [part="header"] [part="all-day-panel"] [part="all-day-row"] [part~="all-day-cell"][part~="is-blackout"] {
  background-image: linear-gradient(135deg, color-mix(in srgb, var(--scheduler-time-grid-view-border-color) 20%, transparent) 25%, transparent 25%, transparent 50%, color-mix(in srgb, var(--scheduler-time-grid-view-border-color) 20%, transparent) 50%, color-mix(in srgb, var(--scheduler-time-grid-view-border-color) 20%, transparent) 75%, transparent 75%, transparent);
  background-repeat: repeat;
  background-size: 8px 8px;
}

:host [part="container"] [part="header"] [part="all-day-panel"] [part="all-day-row"] [part~="all-day-events"] {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

:host [part="container"] [part="body"] {
  flex-direction: row;
  flex: 1;
  align-items: flex-start;
  display: flex;
  overflow: auto;
}

:host [part="container"] [part="body"] [part="timescale"] {
  width: var(--scheduler-time-grid-view-timescale-width);
  border-right: var(--_thickness) var(--_thickness-style) var(--scheduler-time-grid-view-border-color);
  z-index: 1;
  background-color: var(--scheduler-time-grid-view-background-color);
  flex-shrink: 0;
  position: sticky;
  left: 0;
  overflow: visible;
}

:host [part="container"] [part="body"] [part="grid-wrapper"] {
  flex: 1;
  position: relative;
}

:host [part="container"] [part="body"] [part="grid-wrapper"] [part="grid"] {
  min-width: 100%;
}

:host [part="container"] [part="body"] [part="grid-wrapper"] [part="grid"] [part~="grid-row"] {
  min-width: 100%;
  display: flex;
}

:host [part="container"] [part="body"] [part="grid-wrapper"] [part="grid"] [part~="grid-row"][part~="is-last-of-hour"] [part~="grid-cell"] {
  border-bottom-color: var(--scheduler-time-grid-view-hour-border-color);
  border-bottom-width: var(--scheduler-time-grid-view-hour-border-width);
  border-bottom-style: var(--scheduler-time-grid-view-hour-border-style);
}

:host [part="container"] [part="body"] [part="grid-wrapper"] [part="grid"] [part~="grid-row"] [part~="grid-cell"] {
  min-width: var(--scheduler-time-grid-view-column-min-width);
  height: var(--scheduler-time-grid-view-cell-height);
  border-bottom-width: var(--scheduler-time-grid-view-cell-border-width);
  border-bottom-style: var(--scheduler-time-grid-view-cell-border-style);
  border-bottom-color: var(--scheduler-time-grid-view-cell-border-color);
  border-right-width: var(--_thickness);
  border-right-style: var(--_thickness-style);
  border-right-color: var(--scheduler-time-grid-view-border-color);
  box-sizing: border-box;
}

:host [part="container"] [part="body"] [part="grid-wrapper"] [part="grid"] [part~="grid-row"] [part~="grid-cell"]:last-child {
  border-right: none;
}

:host [part="container"] [part="body"] [part="grid-wrapper"] [part="grid"] [part~="grid-row"] [part~="grid-cell"][part~="is-today"] {
  background-color: var(--scheduler-time-grid-view-today-background-color);
}

:host [part="container"] [part="body"] [part="grid-wrapper"] [part="grid"] [part~="grid-row"] [part~="grid-cell"][part~="is-weekend"] {
  background-color: color-mix(in srgb, var(--scheduler-time-grid-view-today-background-color) 20%, transparent);
}

:host [part="container"] [part="body"] [part="grid-wrapper"] [part="grid"] [part~="grid-row"] [part~="grid-cell"][part~="is-blackout"] {
  background-image: linear-gradient(135deg, color-mix(in srgb, var(--scheduler-time-grid-view-border-color) 20%, transparent) 25%, transparent 25%, transparent 50%, color-mix(in srgb, var(--scheduler-time-grid-view-border-color) 20%, transparent) 50%, color-mix(in srgb, var(--scheduler-time-grid-view-border-color) 20%, transparent) 75%, transparent 75%, transparent);
  background-repeat: repeat;
  background-size: 8px 8px;
}

:host [part="container"] [part="body"] [part="grid-wrapper"] [part="appointments"] {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

:host [part="container"] [part="body"] [part="grid-wrapper"] [part="appointments"] [part="appointment-column"] {
  pointer-events: auto;
  position: absolute;
  top: 0;
  bottom: 0;
}

:host [part="container"] [part="body"] [part="grid-wrapper"] [part="appointments"] [part="appointment-column"] [part="event"] {
  box-sizing: border-box;
  position: absolute;
  overflow: hidden;
}

:host [part="events-slot"] {
  display: none;
}

:host([is-today-highlighted]) [part~="header-cell"][part~="is-today"] {
  color: var(--cosmopolitan-color-primary-500);
}

:host([is-today-highlighted]) [part~="header-cell"][part~="is-today"] [part="header-day"] {
  background-color: var(--cosmopolitan-color-primary-500);
  color: var(--cosmopolitan-color-contrast-primary-500);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  display: flex;
}

:host([is-weekend-highlighted]) [part~="header-cell"][part~="is-weekend"] {
  color: var(--cosmopolitan-color-danger-500);
}

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