// ------------------------------------------------------------------------------
// <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 segmentElementJoyStyle() {
    return css `
:host {
  --segment-background-color: var(--joy-scheme-highlight);
  --segment-border-color: unset;
  --segment-border-radius: var(--joy-layout-radius);
  --segment-border-style: solid;
  --segment-border-width: 0;
  --segment-font-family: unset;
  --segment-font-letter-spacing: unset;
  --segment-font-line-height: unset;
  --segment-font-size: unset;
  --segment-font-text-decoration: unset;
  --segment-font-text-transform: unset;
  --segment-font-weight: unset;
  --segment-foreground-color: var(--joy-scheme-foreground);
  --segment-gap: var(--joy-layout-space);
  --segment-indicator-height: calc(100% - (var(--segment-padding-top) + var(--segment-padding-bottom)));
  --segment-padding-bottom: var(--joy-layout-space);
  --segment-padding-left: var(--joy-layout-space);
  --segment-padding-right: var(--joy-layout-space);
  --segment-padding-top: var(--joy-layout-space);
  --segment-transition-duration: unset;
  --segment-transition-mode: unset;
  --segment-transition-property: unset;
  --segment-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 {
  background-color: var(--segment-background-color);
  border-color: var(--segment-border-color);
  color: var(--segment-foreground-color);
  padding-top: var(--segment-padding-top);
  padding-right: var(--segment-padding-right);
  padding-bottom: var(--segment-padding-bottom);
  padding-left: var(--segment-padding-left);
  gap: var(--segment-gap);
  border-width: var(--segment-border-width);
  border-radius: var(--segment-border-radius);
  border-style: var(--segment-border-style);
  transition-duration: var(--segment-transition-duration);
  transition-timing-function: var(--segment-transition-mode);
  transition-property: var(--segment-transition-property);
  text-align: center;
  contain: paint;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  z-index: 0;
  grid-auto-columns: minmax(min-content, 1fr);
  justify-content: start;
  align-items: stretch;
  width: auto;
  display: grid;
  position: relative;
  overflow: auto hidden;
}

:host::-webkit-scrollbar {
  display: none;
}

:host slot {
  z-index: 1;
  display: grid;
}

:host [part="indicator"] {
  border-radius: inherit;
  width: 100%;
  height: var(--segment-indicator-height);
  top: var(--segment-padding-top);
  bottom: var(--segment-padding-bottom);
}

:host([appearance="plain"]) {
  --segment-border-width: 0;
}

:host([disabled]:not([disabled="false"])) {
  --segment-border-color: var(--joy-scheme-disabled);
  --segment-background-color: var(--joy-scheme-semi-transparent);
  --segment-foreground-color: var(--joy-scheme-disabled);
}

:host([appearance="outline"]) {
  --segment-background-color: var(--joy-scheme-transparent);
  --segment-border-color: var(--joy-scheme-highlight);
  --segment-border-width: var(--joy-layout-thickness);
}

:host([appearance="plain"]) {
  --segment-background-color: var(--joy-scheme-transparent);
}

:host([appearance="soft"]), :host([appearance="solid"]) {
  --segment-background-color: var(--joy-scheme-highlight);
}

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