// ------------------------------------------------------------------------------
// <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 toggleButtonGroupElementCosmopolitanStyle() {
    return css `
:host {
  --toggle-button-group-background-color: unset;
  --toggle-button-group-border-color: unset;
  --toggle-button-group-border-radius: unset;
  --toggle-button-group-border-style: unset;
  --toggle-button-group-border-width: unset;
  --toggle-button-group-font-family: unset;
  --toggle-button-group-font-letter-spacing: unset;
  --toggle-button-group-font-line-height: unset;
  --toggle-button-group-font-size: unset;
  --toggle-button-group-font-text-decoration: unset;
  --toggle-button-group-font-text-transform: unset;
  --toggle-button-group-font-weight: unset;
  --toggle-button-group-foreground-color: unset;
  --toggle-button-group-gap: unset;
  --toggle-button-group-padding-bottom: unset;
  --toggle-button-group-padding-left: unset;
  --toggle-button-group-padding-right: unset;
  --toggle-button-group-padding-top: unset;
  --toggle-button-group-shadow: unset unset unset unset unset;
  --toggle-button-group-shadow-blur: unset;
  --toggle-button-group-shadow-color: unset;
  --toggle-button-group-shadow-offset-x: unset;
  --toggle-button-group-shadow-offset-y: unset;
  --toggle-button-group-shadow-spread: unset;
  --toggle-button-group-transition-duration: unset;
  --toggle-button-group-transition-mode: unset;
  --toggle-button-group-transition-property: unset;
  --toggle-button-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(--toggle-button-group-font-family);
  font-size: var(--toggle-button-group-font-size);
  line-height: var(--toggle-button-group-font-line-height);
  font-weight: var(--toggle-button-group-font-weight);
  letter-spacing: var(--toggle-button-group-font-letter-spacing);
  -webkit-text-decoration: var(--toggle-button-group-font-text-decoration);
  text-decoration: var(--toggle-button-group-font-text-decoration);
  text-transform: var(--toggle-button-group-font-text-transform);
  padding-top: var(--toggle-button-group-padding-top);
  padding-right: var(--toggle-button-group-padding-right);
  padding-bottom: var(--toggle-button-group-padding-bottom);
  padding-left: var(--toggle-button-group-padding-left);
  gap: var(--toggle-button-group-gap);
  transition-duration: var(--toggle-button-group-transition-duration);
  transition-timing-function: var(--toggle-button-group-transition-mode);
  transition-property: var(--toggle-button-group-transition-property);
  background: var(--toggle-button-group-background-color);
  border-color: var(--toggle-button-group-border-color);
  color: var(--toggle-button-group-foreground-color);
  border-width: var(--toggle-button-group-border-width);
  border-radius: var(--toggle-button-group-border-radius);
  border-style: var(--toggle-button-group-border-style);
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  display: grid;
}

:host ::slotted(mosaik-toggle-button) {
  --button-border-radius: 0;
  --button-border-width: 0;
}

:host ::slotted(mosaik-toggle-button:focus) {
  z-index: 1;
}

:host ::slotted(mosaik-toggle-button:hover) {
  z-index: 2;
}

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

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

:host([disabled]:not([disabled="false"])) {
  cursor: default;
}

:host([orientation="horizontal"]) {
  grid-auto-flow: column;
}

:host([orientation="vertical"]) {
  grid-auto-flow: row;
}

:host([orientation="vertical"]) ::slotted(mosaik-toggle-button.first) {
  border-start-start-radius: var(--toggle-button-group-border-radius);
  border-start-end-radius: var(--toggle-button-group-border-radius);
  border-end-end-radius: 0;
  border-end-start-radius: 0;
}

:host([orientation="vertical"]) ::slotted(mosaik-toggle-button.last) {
  border-start-start-radius: 0;
  border-start-end-radius: 0;
  border-end-end-radius: var(--toggle-button-group-border-radius);
  border-end-start-radius: var(--toggle-button-group-border-radius);
}

:host([appearance="outline"]) ::slotted(mosaik-toggle-button.inner), :host([appearance="outline"]) ::slotted(mosaik-toggle-button.last) {
  border-left-width: var(--toggle-button-group-border-width);
  border-left-style: solid;
}

:host([appearance="outline"][orientation="vertical"]) ::slotted(mosaik-toggle-button.inner), :host([appearance="outline"][orientation="vertical"]) ::slotted(mosaik-toggle-button.last) {
  border-left-width: unset;
  border-left-style: unset;
  border-top-width: var(--toggle-button-group-border-width);
  border-top-style: solid;
}

:host([appearance="plain"][orientation="vertical"]) ::slotted(mosaik-toggle-button.inner), :host([appearance="plain"][orientation="vertical"]) ::slotted(mosaik-toggle-button.last) {
  border-left-width: unset;
  border-left-style: unset;
}

:host([appearance="soft"]) {
  --toggle-button-group-gap: 0;
  --toggle-button-group-border-width: 0;
}

:host([appearance="soft"]) ::slotted(mosaik-toggle-button.inner), :host([appearance="soft"]) ::slotted(mosaik-toggle-button.last) {
  border-left-style: solid;
  border-left-width: 2px;
}

:host([appearance="soft"][orientation="vertical"]) ::slotted(mosaik-toggle-button.inner), :host([appearance="soft"][orientation="vertical"]) ::slotted(mosaik-toggle-button.last) {
  border-left-width: unset;
  border-left-style: unset;
  border-top-style: solid;
  border-top-width: 2px;
}

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