// ------------------------------------------------------------------------------
// <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 schedulerAgendaViewElementCosmopolitanStyle() {
    return css `
:host {
  --scheduler-agenda-view-background-color: var(--cosmopolitan-scheme-background);
  --scheduler-agenda-view-border-color: var(--cosmopolitan-scheme-highlight);
  --scheduler-agenda-view-border-radius: var(--cosmopolitan-layout-radius);
  --scheduler-agenda-view-border-style: solid;
  --scheduler-agenda-view-border-width: var(--cosmopolitan-layout-thickness);
  --scheduler-agenda-view-day-header-font-size: var(--cosmopolitan-typography-headline6-font-size);
  --scheduler-agenda-view-day-header-font-weight: var(--cosmopolitan-typography-headline6-font-weight);
  --scheduler-agenda-view-event-item-padding-bottom: unset;
  --scheduler-agenda-view-event-item-padding-left: unset;
  --scheduler-agenda-view-event-item-padding-right: unset;
  --scheduler-agenda-view-event-item-padding-top: unset;
  --scheduler-agenda-view-event-row-min-height: 64px;
  --scheduler-agenda-view-event-time-font-size: var(--cosmopolitan-typography-caption-font-size);
  --scheduler-agenda-view-event-title-font-size: var(--cosmopolitan-typography-body1-font-size);
  --scheduler-agenda-view-event-title-font-weight: var(--cosmopolitan-typography-body1-font-weight);
  --scheduler-agenda-view-font-family: unset;
  --scheduler-agenda-view-font-letter-spacing: unset;
  --scheduler-agenda-view-font-line-height: unset;
  --scheduler-agenda-view-font-size: unset;
  --scheduler-agenda-view-font-text-decoration: unset;
  --scheduler-agenda-view-font-text-transform: unset;
  --scheduler-agenda-view-font-weight: unset;
  --scheduler-agenda-view-foreground-color: var(--cosmopolitan-scheme-foreground);
  --scheduler-agenda-view-gap: unset;
  --scheduler-agenda-view-padding-bottom: unset;
  --scheduler-agenda-view-padding-left: unset;
  --scheduler-agenda-view-padding-right: unset;
  --scheduler-agenda-view-padding-top: unset;
  --scheduler-agenda-view-shadow: unset unset unset unset unset;
  --scheduler-agenda-view-shadow-blur: unset;
  --scheduler-agenda-view-shadow-color: unset;
  --scheduler-agenda-view-shadow-offset-x: unset;
  --scheduler-agenda-view-shadow-offset-y: unset;
  --scheduler-agenda-view-shadow-spread: unset;
  --scheduler-agenda-view-today-background-color: var(--cosmopolitan-scheme-semi-transparent);
  --scheduler-agenda-view-transition-duration: unset;
  --scheduler-agenda-view-transition-mode: unset;
  --scheduler-agenda-view-transition-property: unset;
  --scheduler-agenda-view-translate: none;
  --scheduler-agenda-view-weekend-background-color: color-mix(in srgb, var(--cosmopolitan-scheme-highlight) 40%, transparent);
}

@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(--scheduler-agenda-view-font-family);
  font-size: var(--scheduler-agenda-view-font-size);
  line-height: var(--scheduler-agenda-view-font-line-height);
  font-weight: var(--scheduler-agenda-view-font-weight);
  letter-spacing: var(--scheduler-agenda-view-font-letter-spacing);
  -webkit-text-decoration: var(--scheduler-agenda-view-font-text-decoration);
  text-decoration: var(--scheduler-agenda-view-font-text-decoration);
  text-transform: var(--scheduler-agenda-view-font-text-transform);
  transition-duration: var(--scheduler-agenda-view-transition-duration);
  transition-timing-function: var(--scheduler-agenda-view-transition-mode);
  transition-property: var(--scheduler-agenda-view-transition-property);
  background: var(--scheduler-agenda-view-background-color);
  color: var(--scheduler-agenda-view-foreground-color);
  border-color: var(--scheduler-agenda-view-border-color);
  border-width: var(--scheduler-agenda-view-border-width);
  border-radius: var(--scheduler-agenda-view-border-radius);
  border-style: var(--scheduler-agenda-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="body"] {
  flex-direction: row;
  flex: 1;
  align-items: flex-start;
  display: flex;
  overflow: auto;
}

:host [part="container"] [part="body"] [part="datescale"] {
  z-index: 1;
  background: var(--scheduler-agenda-view-background-color);
  flex-shrink: 0;
  position: sticky;
  left: 0;
}

:host [part="container"] [part="body"] [part="events-wrapper"] {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

:host [part="container"] [part="body"] [part="events-wrapper"] [part~="event-row"] {
  border-bottom: 1px solid var(--scheduler-agenda-view-border-color);
  padding: var(--scheduler-agenda-view-event-item-padding-top) var(--scheduler-agenda-view-event-item-padding-right) var(--scheduler-agenda-view-event-item-padding-bottom) var(--scheduler-agenda-view-event-item-padding-left);
  gap: var(--scheduler-agenda-view-gap);
  min-height: var(--scheduler-agenda-view-event-row-min-height);
  box-sizing: border-box;
  align-items: center;
  display: flex;
}

:host [part="container"] [part="body"] [part="events-wrapper"] [part~="event-row"]:hover {
  background: #00000005;
}

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

:host [part="container"] [part="body"] [part="events-wrapper"] [part~="event-row"][part~="is-weekend"] {
  background: var(--scheduler-agenda-view-weekend-background-color);
}

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

:host [part="container"] [part="body"] [part="events-wrapper"] [part~="event-row"] [part="event-indicator"] {
  background: currentColor;
  border-radius: 2px;
  flex-shrink: 0;
  width: 4px;
  height: 100%;
  min-height: 32px;
}

:host [part="container"] [part="body"] [part="events-wrapper"] [part~="event-row"] [part="event-content"] {
  flex-direction: column;
  flex: 1;
  gap: 4px;
  min-width: 0;
  display: flex;
  overflow: hidden;
}

:host [part="container"] [part="empty-state"] {
  padding: var(--scheduler-agenda-view-padding-top) var(--scheduler-agenda-view-padding-right) var(--scheduler-agenda-view-padding-bottom) var(--scheduler-agenda-view-padding-left);
  opacity: .6;
  flex: 1;
  justify-content: center;
  align-items: center;
  display: flex;
}

:host [part="container"] [part="agenda-list"] [part~="agenda-item"][part~="is-today"] [part~="date-column"] [part="day-number"] {
  background-color: var(--cosmopolitan-color-primary-500);
  color: var(--cosmopolitan-color-contrast-primary-500);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  display: flex;
}

:host [part="container"] [part="agenda-list"] [part~="agenda-item"] [part="event-column"] [part="event-indicator"] {
  background-color: var(--cosmopolitan-color-primary-500);
}

:host [part="container"] [part="agenda-list"] [part~="agenda-item"]:hover {
  background-color: color-mix(in srgb, var(--cosmopolitan-color-primary-500) 5%, transparent);
}

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