// ------------------------------------------------------------------------------
// <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 expanderGroupElementCosmopolitanStyle() {
    return css `
:host {
  --expander-group-background-color: unset;
  --expander-group-border-color: unset;
  --expander-group-border-radius: unset;
  --expander-group-border-style: unset;
  --expander-group-border-width: unset;
  --expander-group-font-family: unset;
  --expander-group-font-letter-spacing: unset;
  --expander-group-font-line-height: unset;
  --expander-group-font-size: unset;
  --expander-group-font-text-decoration: unset;
  --expander-group-font-text-transform: unset;
  --expander-group-font-weight: unset;
  --expander-group-foreground-color: unset;
  --expander-group-gap: unset;
  --expander-group-padding-bottom: unset;
  --expander-group-padding-left: unset;
  --expander-group-padding-right: unset;
  --expander-group-padding-top: unset;
  --expander-group-shadow: unset;
  --expander-group-transition-duration: unset;
  --expander-group-transition-mode: unset;
  --expander-group-transition-property: unset;
  --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;
}

:host([stacking="separated"]) ::slotted(mosaik-expander) {
  border-radius: var(--expander-group-border-radius);
  margin: 0 0 var(--expander-group-gap) 0;
}

:host([stacking="separated"]) ::slotted(mosaik-expander[is-expanded]) {
  margin: 0 0 var(--expander-group-gap) 0;
}

:host([stacking="separated"]) ::slotted(mosaik-expander.last), :host([stacking="separated"]) ::slotted(mosaik-expander.last[is-expanded]) {
  margin-bottom: 0;
}

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

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