// ------------------------------------------------------------------------------
// <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 expanderGroupElementJoyStyle() {
    return css `
:host {
  --expander-group-background-color: var(--joy-scheme-background);
  --expander-group-border-color: var(--joy-scheme-highlight);
  --expander-group-border-radius: var(--joy-layout-radius);
  --expander-group-border-style: solid;
  --expander-group-border-width: 0px;
  --expander-group-font-family: var(--joy-font-family);
  --expander-group-font-letter-spacing: var(--joy-typography-body1-letter-spacing);
  --expander-group-font-line-height: var(--joy-typography-body1-line-height);
  --expander-group-font-size: var(--joy-typography-body1-font-size);
  --expander-group-font-text-decoration: var(--joy-typography-body1-text-decoration);
  --expander-group-font-text-transform: var(--joy-typography-body1-text-transform);
  --expander-group-font-weight: var(--joy-typography-body1-font-weight);
  --expander-group-foreground-color: var(--joy-scheme-foreground);
  --expander-group-gap: var(--joy-layout-space);
  --expander-group-padding-bottom: 0;
  --expander-group-padding-left: 0;
  --expander-group-padding-right: 0;
  --expander-group-padding-top: 0;
  --expander-group-shadow: var(--joy-elevation-none);
  --expander-group-transition-duration: var(--joy-duration-short);
  --expander-group-transition-mode: ease-out;
  --expander-group-transition-property: margin;
  --expander-group-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(--expander-group-font-family);
  font-size: var(--expander-group-font-size);
  font-weight: var(--expander-group-font-weight);
  color: var(--expander-group-foreground-color);
  border: var(--expander-group-border-width) var(--expander-group-border-style) var(--expander-group-border-color);
  border-radius: 0px 0px var(--expander-group-border-radius) var(--expander-group-border-radius);
  padding: var(--expander-group-padding-top) var(--expander-group-padding-right) var(--expander-group-padding-bottom) var(--expander-group-padding-left);
}

:host ::slotted(mosaik-expander.first) {
  border-start-start-radius: var(--expander-group-border-radius);
  border-start-end-radius: var(--expander-group-border-radius);
  border-end-end-radius: 0;
  border-end-start-radius: 0;
}

:host ::slotted(mosaik-expander.first[is-expanded]) {
  margin: var(--expander-group-gap) 0;
  margin-top: 0;
}

:host ::slotted(mosaik-expander.inner) {
  border-start-start-radius: 0;
  border-start-end-radius: 0;
  border-end-end-radius: 0;
  border-end-start-radius: 0;
}

:host ::slotted(mosaik-expander.inner[is-expanded]) {
  margin: var(--expander-group-gap) 0;
}

:host ::slotted(mosaik-expander.last) {
  border-start-start-radius: 0;
  border-start-end-radius: 0;
  border-end-end-radius: var(--expander-group-border-radius);
  border-end-start-radius: var(--expander-group-border-radius);
}

:host ::slotted(mosaik-expander.last[is-expanded]) {
  margin: var(--expander-group-gap) 0;
  margin-bottom: 0;
}

:host ::slotted(mosaik-expander.first.last) {
  border-start-start-radius: var(--expander-group-border-radius);
  border-start-end-radius: var(--expander-group-border-radius);
  border-end-end-radius: var(--expander-group-border-radius);
  border-end-start-radius: var(--expander-group-border-radius);
}

:host ::slotted(mosaik-expander.first.last[is-expanded]) {
  margin: 0;
}

@media (prefers-reduced-motion) {
  :host ::slotted(mosaik-expander) {
    transition: none;
  }
}

:host ::slotted(mosaik-expander.first), :host ::slotted(mosaik-expander.inner) {
  margin-bottom: calc(var(--joy-layout-thickness) * -1);
}

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