// ------------------------------------------------------------------------------
// <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 schedulerEventElementJoyStyle() {
    return css `
:host {
  --scheduler-event-agenda-gap: var(--joy-layout-space);
  --scheduler-event-agenda-min-height: 48px;
  --scheduler-event-agenda-padding: var(--joy-layout-space);
  --scheduler-event-all-day-background-color: var(--joy-scheme-surface);
  --scheduler-event-all-day-foreground-color: var(--joy-scheme-foreground);
  --scheduler-event-background-color: var(--joy-scheme-highlight);
  --scheduler-event-border-color: var(--joy-scheme-highlight);
  --scheduler-event-border-radius: var(--joy-layout-radius);
  --scheduler-event-border-style: solid;
  --scheduler-event-border-width: var(--joy-layout-thickness);
  --scheduler-event-box-shadow: var(--joy-elevation-1);
  --scheduler-event-focus-ring-active-width: 8px;
  --scheduler-event-focus-ring-color: var(--joy-scheme-highlight);
  --scheduler-event-focus-ring-inward-offset: 2px;
  --scheduler-event-focus-ring-outward-offset: 2px;
  --scheduler-event-font-family: var(--joy-font-family);
  --scheduler-event-font-letter-spacing: unset;
  --scheduler-event-font-line-height: var(--joy-typography-caption-line-height);
  --scheduler-event-font-size: var(--joy-typography-caption-font-size);
  --scheduler-event-font-text-decoration: unset;
  --scheduler-event-font-text-transform: unset;
  --scheduler-event-font-weight: var(--joy-typography-caption-font-weight);
  --scheduler-event-foreground-color: var(--joy-scheme-foreground);
  --scheduler-event-gap: unset;
  --scheduler-event-hover-background-color: var(--mosaik-scheme-surface);
  --scheduler-event-month-border-radius: var(--joy-layout-radius);
  --scheduler-event-month-font-size: var(--joy-typography-caption-font-size);
  --scheduler-event-month-gap: calc(var(--joy-layout-space) / 2);
  --scheduler-event-month-line-height: 1.2;
  --scheduler-event-month-min-height: 20px;
  --scheduler-event-month-padding: 2px calc(var(--joy-layout-space) / 2);
  --scheduler-event-padding: var(--joy-layout-space) calc(var(--joy-layout-space) / 2);
  --scheduler-event-padding-bottom: unset;
  --scheduler-event-padding-left: unset;
  --scheduler-event-padding-right: unset;
  --scheduler-event-padding-top: unset;
  --scheduler-event-ripple-color: unset;
  --scheduler-event-ripple-duration: .2s;
  --scheduler-event-shadow-blur: var(--joy-elevation-light-blur-1);
  --scheduler-event-shadow-color: var(--joy-elevation-light-color-1);
  --scheduler-event-shadow-offset-x: var(--joy-elevation-light-offset-x-1);
  --scheduler-event-shadow-offset-y: var(--joy-elevation-light-offset-y-1);
  --scheduler-event-shadow-spread: var(--joy-elevation-light-spread-1);
  --scheduler-event-transition-duration: var(--joy-duration-medium);
  --scheduler-event-transition-mode: ease;
  --scheduler-event-transition-property: background-color, box-shadow, transform;
  --scheduler-event-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(--scheduler-event-font-family);
  font-size: var(--scheduler-event-font-size);
  line-height: var(--scheduler-event-font-line-height);
  font-weight: var(--scheduler-event-font-weight);
  letter-spacing: var(--scheduler-event-font-letter-spacing);
  -webkit-text-decoration: var(--scheduler-event-font-text-decoration);
  text-decoration: var(--scheduler-event-font-text-decoration);
  text-transform: var(--scheduler-event-font-text-transform);
  color: var(--scheduler-event-foreground-color);
  transition-duration: var(--scheduler-event-transition-duration);
  transition-timing-function: var(--scheduler-event-transition-mode);
  transition-property: var(--scheduler-event-transition-property);
  background-color: var(--scheduler-event-background-color);
  border-color: var(--scheduler-event-border-color);
  border-style: var(--scheduler-event-border-style);
  border-width: var(--scheduler-event-border-width);
  border-radius: var(--scheduler-event-border-radius);
}

:host [part="popup"] {
  position: absolute;
}

:host [part~="container"] {
  box-sizing: border-box;
  border-radius: inherit;
  width: 100%;
  height: 100%;
  padding: var(--scheduler-event-padding);
  flex-direction: column;
  display: flex;
  overflow: hidden;
}

:host [part~="container"][part~="is-cancelled"] {
  opacity: .6;
  text-decoration: line-through;
}

:host [part~="container"][part~="is-tentative"] {
  opacity: .8;
  border-style: dashed;
}

:host [part~="container"] [part="focusRing"] {
  --focus-ring-active-width: var(--scheduler-event-focus-ring-active-width);
  --focus-ring-color: var(--scheduler-event-focus-ring-color);
  --focus-ring-inward-offset: var(--scheduler-event-focus-ring-inward-offset);
  --focus-ring-outward-offset: var(--scheduler-event-focus-ring-outward-offset);
}

:host [part~="container"] [part~="content"] {
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow: hidden;
}

:host [part~="title"] {
  color: var(--scheduler-event-foreground-color);
  white-space: nowrap;
  text-overflow: ellipsis;
  flex-shrink: 0;
  overflow: hidden;
}

:host [part~="subtitle"] {
  color: var(--scheduler-event-foreground-color);
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  overflow: hidden;
}

:host [part~="footer"] {
  color: var(--scheduler-event-foreground-color);
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-block-start: auto;
  overflow: hidden;
}

:host([disabled]:not([disabled="false"])) {
  cursor: default;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

:host([is-focused]:not([is-focused="false"])) {
  z-index: 1;
}

:host([all-day]) {
  background-color: var(--scheduler-event-all-day-background-color);
  border-left: 3px solid;
  height: auto;
  max-height: 64px;
}

:host([layout="timeGrid"]), :host(:not([layout])) {
  cursor: pointer;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}

:host([layout="timeGrid"]) [part~="container"], :host(:not([layout])) [part~="container"] {
  flex-direction: column;
}

:host([layout="timeGrid"]) [part~="container"] [part~="content"], :host(:not([layout])) [part~="container"] [part~="content"] {
  flex-direction: column;
  min-width: 0;
}

:host([layout="month"]) {
  width: 100%;
  height: auto;
  min-height: var(--scheduler-event-month-min-height);
  border-radius: var(--scheduler-event-month-border-radius);
  cursor: pointer;
  white-space: nowrap;
  text-overflow: ellipsis;
  box-sizing: border-box;
  align-items: center;
  display: flex;
  overflow: hidden;
}

:host([layout="month"]) [part~="container"] {
  align-items: center;
  gap: var(--scheduler-event-month-gap);
  padding: var(--scheduler-event-month-padding);
  height: auto;
  min-height: var(--scheduler-event-month-min-height);
  flex-direction: row;
}

:host([layout="month"]) [part~="container"] [part~="content"] {
  align-items: center;
  gap: var(--scheduler-event-month-gap);
  flex-direction: row;
}

:host([layout="month"]) [part~="container"] [part~="title"] {
  font-size: var(--scheduler-event-month-font-size);
  line-height: var(--scheduler-event-month-line-height);
  flex: 1;
}

:host([layout="agenda"]) {
  width: 100%;
  height: auto;
  min-height: var(--scheduler-event-agenda-min-height);
  cursor: pointer;
  box-sizing: border-box;
  align-items: center;
  display: flex;
  overflow: hidden;
}

:host([layout="agenda"]) [part~="container"] {
  align-items: center;
  gap: var(--scheduler-event-agenda-gap);
  padding: var(--scheduler-event-agenda-padding);
  height: auto;
  min-height: var(--scheduler-event-agenda-min-height);
  flex-direction: row;
}

:host([layout="agenda"]) [part~="container"] [part~="content"] {
  align-items: center;
  gap: var(--scheduler-event-agenda-gap);
  flex-direction: row;
  flex: 1;
}

:host([layout="agenda"]) [part~="container"] [part~="title"] {
  flex: 1;
}

:host([layout="agenda"]) [part~="container"] [part~="subtitle"] {
  flex: none;
}

:host {
  box-shadow: var(--scheduler-event-shadow-offset-x) var(--scheduler-event-shadow-offset-y) var(--scheduler-event-shadow-blur) var(--scheduler-event-shadow-spread) var(--scheduler-event-shadow-color);
}

:host [part~="title"] {
  font-size: var(--joy-typography-body1-font-size);
  line-height: var(--joy-typography-body1-line-height);
  font-weight: var(--joy-typography-body1-font-weight);
  -webkit-text-decoration: var(--joy-typography-body1-text-decoration);
  text-decoration: var(--joy-typography-body1-text-decoration);
  text-transform: var(--joy-typography-body1-text-transform);
  letter-spacing: var(--joy-typography-body1-letter-spacing);
}

:host [part~="title"] ::slotted(*) {
  color: var(--scheduler-event-foreground-color);
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
}

:host [part~="subtitle"] {
  font-size: var(--joy-typography-body2-font-size);
  line-height: var(--joy-typography-body2-line-height);
  font-weight: var(--joy-typography-body2-font-weight);
  -webkit-text-decoration: var(--joy-typography-body2-text-decoration);
  text-decoration: var(--joy-typography-body2-text-decoration);
  text-transform: var(--joy-typography-body2-text-transform);
  letter-spacing: var(--joy-typography-body2-letter-spacing);
}

:host [part~="subtitle"] ::slotted(*) {
  color: var(--scheduler-event-foreground-color);
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
}

:host [part~="footer"] {
  font-size: var(--joy-typography-caption-font-size);
  line-height: var(--joy-typography-caption-line-height);
  font-weight: var(--joy-typography-caption-font-weight);
  -webkit-text-decoration: var(--joy-typography-caption-text-decoration);
  text-decoration: var(--joy-typography-caption-text-decoration);
  text-transform: var(--joy-typography-caption-text-transform);
  letter-spacing: var(--joy-typography-caption-letter-spacing);
}

:host [part~="footer"] ::slotted(*) {
  color: var(--scheduler-event-foreground-color);
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
}

:host([disabled]:not([disabled="false"])) {
  --scheduler-event-background-color: var(--joy-scheme-background);
  --scheduler-event-border-color: var(--joy-scheme-highlight);
  --scheduler-event-foreground-color: var(--joy-scheme-disabled);
}

:host([appearance="outline"]) {
  --scheduler-event-background-color: var(--joy-scheme-background);
  --scheduler-event-foreground-color: var(--joy-scheme-foreground);
  --scheduler-event-border-color: var(--joy-scheme-highlight);
  --scheduler-event-border-width: var(--joy-layout-thickness);
  --scheduler-event-border-style: solid;
}

:host([appearance="outline"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-foreground-color: var(--joy-color-primary-500);
  --scheduler-event-border-color: var(--joy-color-primary-500);
  --scheduler-event-focus-ring-color: var(--joy-color-primary-500);
}

:host([appearance="outline"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-foreground-color: var(--joy-color-secondary-500);
  --scheduler-event-border-color: var(--joy-color-secondary-500);
  --scheduler-event-focus-ring-color: var(--joy-color-secondary-500);
}

:host([appearance="outline"][variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-foreground-color: var(--joy-color-tertiary-500);
  --scheduler-event-border-color: var(--joy-color-tertiary-500);
  --scheduler-event-focus-ring-color: var(--joy-color-tertiary-500);
}

:host([appearance="outline"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-foreground-color: var(--joy-color-danger-500);
  --scheduler-event-border-color: var(--joy-color-danger-500);
  --scheduler-event-focus-ring-color: var(--joy-color-danger-500);
}

:host([appearance="outline"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-foreground-color: var(--joy-color-warning-500);
  --scheduler-event-border-color: var(--joy-color-warning-500);
  --scheduler-event-focus-ring-color: var(--joy-color-warning-500);
}

:host([appearance="outline"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-foreground-color: var(--joy-color-success-500);
  --scheduler-event-border-color: var(--joy-color-success-500);
  --scheduler-event-focus-ring-color: var(--joy-color-success-500);
}

:host([appearance="outline"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-foreground-color: var(--joy-color-info-500);
  --scheduler-event-border-color: var(--joy-color-info-500);
  --scheduler-event-focus-ring-color: var(--joy-color-info-500);
}

:host([appearance="outline"][variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-foreground-color: var(--joy-color-highlight-500);
  --scheduler-event-border-color: var(--joy-color-highlight-500);
  --scheduler-event-focus-ring-color: var(--joy-color-highlight-500);
}

:host([appearance="outline"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-foreground-color: var(--joy-color-neutral-500);
  --scheduler-event-border-color: var(--joy-color-neutral-500);
  --scheduler-event-focus-ring-color: var(--joy-color-neutral-500);
}

:host([appearance="soft"]) {
  --scheduler-event-background-color: var(--joy-scheme-highlight);
  --scheduler-event-foreground-color: var(--joy-scheme-foreground);
  --scheduler-event-border-width: 0;
  --scheduler-event-focus-ring-inward-offset: 0px;
  --scheduler-event-focus-ring-outward-offset: 0px;
}

:host([appearance="soft"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-background-color: var(--joy-color-primary-100);
  --scheduler-event-foreground-color: var(--joy-color-primary-500);
  --scheduler-event-focus-ring-color: var(--joy-color-primary-500);
}

:host([appearance="soft"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-background-color: var(--joy-color-secondary-100);
  --scheduler-event-foreground-color: var(--joy-color-secondary-500);
  --scheduler-event-focus-ring-color: var(--joy-color-secondary-500);
}

:host([appearance="soft"][variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-background-color: var(--joy-color-tertiary-100);
  --scheduler-event-foreground-color: var(--joy-color-tertiary-500);
  --scheduler-event-focus-ring-color: var(--joy-color-tertiary-500);
}

:host([appearance="soft"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-background-color: var(--joy-color-danger-100);
  --scheduler-event-foreground-color: var(--joy-color-danger-500);
  --scheduler-event-focus-ring-color: var(--joy-color-danger-500);
}

:host([appearance="soft"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-background-color: var(--joy-color-warning-100);
  --scheduler-event-foreground-color: var(--joy-color-warning-500);
  --scheduler-event-focus-ring-color: var(--joy-color-warning-500);
}

:host([appearance="soft"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-background-color: var(--joy-color-success-100);
  --scheduler-event-foreground-color: var(--joy-color-success-500);
  --scheduler-event-focus-ring-color: var(--joy-color-success-500);
}

:host([appearance="soft"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-background-color: var(--joy-color-info-100);
  --scheduler-event-foreground-color: var(--joy-color-info-500);
  --scheduler-event-focus-ring-color: var(--joy-color-info-500);
}

:host([appearance="soft"][variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-background-color: var(--joy-color-highlight-100);
  --scheduler-event-foreground-color: var(--joy-color-highlight-500);
  --scheduler-event-focus-ring-color: var(--joy-color-highlight-500);
}

:host([appearance="soft"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-background-color: var(--joy-color-neutral-100);
  --scheduler-event-foreground-color: var(--joy-color-neutral-500);
  --scheduler-event-focus-ring-color: var(--joy-color-neutral-500);
}

:host([appearance="plain"]) {
  --scheduler-event-background-color: var(--joy-scheme-background);
  --scheduler-event-foreground-color: var(--joy-scheme-foreground);
  --scheduler-event-border-width: 0;
  --scheduler-event-focus-ring-inward-offset: 0px;
  --scheduler-event-focus-ring-outward-offset: 0px;
}

:host([appearance="plain"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-foreground-color: var(--joy-color-primary-500);
  --scheduler-event-focus-ring-color: var(--joy-color-primary-500);
}

:host([appearance="plain"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-foreground-color: var(--joy-color-secondary-500);
  --scheduler-event-focus-ring-color: var(--joy-color-secondary-500);
}

:host([appearance="plain"][variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-foreground-color: var(--joy-color-tertiary-500);
  --scheduler-event-focus-ring-color: var(--joy-color-tertiary-500);
}

:host([appearance="plain"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-foreground-color: var(--joy-color-danger-500);
  --scheduler-event-focus-ring-color: var(--joy-color-danger-500);
}

:host([appearance="plain"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-foreground-color: var(--joy-color-warning-500);
  --scheduler-event-focus-ring-color: var(--joy-color-warning-500);
}

:host([appearance="plain"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-foreground-color: var(--joy-color-success-500);
  --scheduler-event-focus-ring-color: var(--joy-color-success-500);
}

:host([appearance="plain"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-foreground-color: var(--joy-color-info-500);
  --scheduler-event-focus-ring-color: var(--joy-color-info-500);
}

:host([appearance="plain"][variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-foreground-color: var(--joy-color-highlight-500);
  --scheduler-event-focus-ring-color: var(--joy-color-highlight-500);
}

:host([appearance="plain"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-foreground-color: var(--joy-color-neutral-500);
  --scheduler-event-focus-ring-color: var(--joy-color-neutral-500);
}

:host([appearance="solid"]) {
  --scheduler-event-background-color: var(--joy-scheme-highlight);
  --scheduler-event-foreground-color: var(--joy-scheme-foreground);
  --scheduler-event-border-width: 0;
  --scheduler-event-focus-ring-inward-offset: 0px;
  --scheduler-event-focus-ring-outward-offset: 0px;
}

:host([appearance="solid"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-background-color: var(--joy-color-primary-500);
  --scheduler-event-foreground-color: var(--joy-color-primary-0);
  --scheduler-event-focus-ring-color: var(--joy-color-primary-500);
}

:host([appearance="solid"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-background-color: var(--joy-color-secondary-500);
  --scheduler-event-foreground-color: var(--joy-color-secondary-0);
  --scheduler-event-focus-ring-color: var(--joy-color-secondary-500);
}

:host([appearance="solid"][variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-background-color: var(--joy-color-tertiary-500);
  --scheduler-event-foreground-color: var(--joy-color-tertiary-0);
  --scheduler-event-focus-ring-color: var(--joy-color-tertiary-500);
}

:host([appearance="solid"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-background-color: var(--joy-color-danger-500);
  --scheduler-event-foreground-color: var(--joy-color-danger-0);
  --scheduler-event-focus-ring-color: var(--joy-color-danger-500);
}

:host([appearance="solid"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-background-color: var(--joy-color-warning-500);
  --scheduler-event-foreground-color: var(--joy-color-warning-0);
  --scheduler-event-focus-ring-color: var(--joy-color-warning-500);
}

:host([appearance="solid"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-background-color: var(--joy-color-success-500);
  --scheduler-event-foreground-color: var(--joy-color-success-0);
  --scheduler-event-focus-ring-color: var(--joy-color-success-500);
}

:host([appearance="solid"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-background-color: var(--joy-color-info-500);
  --scheduler-event-foreground-color: var(--joy-color-info-0);
  --scheduler-event-focus-ring-color: var(--joy-color-info-500);
}

:host([appearance="solid"][variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-background-color: var(--joy-color-highlight-500);
  --scheduler-event-foreground-color: var(--joy-color-highlight-0);
  --scheduler-event-focus-ring-color: var(--joy-color-highlight-500);
}

:host([appearance="solid"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --scheduler-event-background-color: var(--joy-color-neutral-500);
  --scheduler-event-foreground-color: var(--joy-color-neutral-0);
  --scheduler-event-focus-ring-color: var(--joy-color-neutral-500);
}

    `;
}
//# sourceMappingURL=SchedulerEventElement.Joy.js.map