// ------------------------------------------------------------------------------
// <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 pipElementJoyStyle() {
    return css `
:host {
  --pip-background-color: var(--joy-scheme-background);
  --pip-border-color: var(--joy-scheme-highlight);
  --pip-border-radius: 50%;
  --pip-border-style: solid;
  --pip-border-width: var(--joy-layout-thickness);
  --pip-font-family: var(--joy-font-family);
  --pip-font-letter-spacing: var(--joy-typography-body2-letter-spacing);
  --pip-font-line-height: var(--joy-typography-body2-line-height);
  --pip-font-size: var(--joy-typography-body2-font-size);
  --pip-font-text-decoration: var(--joy-typography-body2-text-decoration);
  --pip-font-text-transform: var(--joy-typography-body2-text-transform);
  --pip-font-weight: var(--joy-typography-body2-font-weight);
  --pip-foreground-color: var(--joy-scheme-foreground);
  --pip-gap: calc(var(--joy-layout-space) / 2);
  --pip-height: 22px;
  --pip-padding-bottom: calc(var(--joy-layout-space) / 2);
  --pip-padding-left: calc(var(--joy-layout-space) / 2);
  --pip-padding-right: calc(var(--joy-layout-space) / 2);
  --pip-padding-top: calc(var(--joy-layout-space) / 2);
  --pip-shadow: var(--joy-elevation-light-offset-x-0) var(--joy-elevation-light-offset-y-0) var(--joy-elevation-light-blur-0) var(--joy-elevation-light-spread-0) var(--joy-elevation-light-color-0);
  --pip-shadow-blur: var(--joy-elevation-light-blur-0);
  --pip-shadow-color: var(--joy-elevation-light-color-0);
  --pip-shadow-offset-x: var(--joy-elevation-light-offset-x-0);
  --pip-shadow-offset-y: var(--joy-elevation-light-offset-y-0);
  --pip-shadow-spread: var(--joy-elevation-light-spread-0);
  --pip-transition-duration: var(--joy-duration-short);
  --pip-transition-mode: ease;
  --pip-transition-property: background-color, color, border-color, opacity, box-shadow;
  --pip-translate: none;
}

@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(--pip-font-family);
  font-size: var(--pip-font-size);
  line-height: var(--pip-font-line-height);
  font-weight: var(--pip-font-weight);
  letter-spacing: var(--pip-font-letter-spacing);
  -webkit-text-decoration: var(--pip-font-text-decoration);
  text-decoration: var(--pip-font-text-decoration);
  text-transform: var(--pip-font-text-transform);
  transition-duration: var(--pip-transition-duration);
  transition-timing-function: var(--pip-transition-mode);
  transition-property: var(--pip-transition-property);
  padding-top: var(--pip-padding-top);
  padding-right: var(--pip-padding-right);
  padding-bottom: var(--pip-padding-bottom);
  padding-left: var(--pip-padding-left);
  gap: var(--pip-gap);
  background-color: var(--pip-background-color);
  color: var(--pip-foreground-color);
  border-color: var(--pip-border-color);
  border-width: var(--pip-border-width);
  border-style: var(--pip-border-style);
  height: var(--pip-height);
  width: var(--pip-height);
  box-sizing: border-box;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  position: relative;
  overflow: hidden;
}

:host [part="label"] {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
  text-align: center;
}

:host [part="icon"] {
  color: inherit;
}

:host {
  --_size: unset;
  --_tiny: 8px;
  --_small: 16px;
  --_medium: 22px;
  --_large: 28px;
  --_giant: 32px;
  --pip-width: var(--_size);
  --pip-height: var(--_size);
}

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

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

:host([appearance="outline"]:not([disabled]:not([disabled="false"]))) {
  --pip-foreground-color: var(--joy-color-neutral-500);
  --pip-border-color: var(--joy-color-neutral-500);
  --pip-border-width: var(--joy-layout-thickness);
  --pip-border-style: solid;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

:host([appearance="plain"]:not([disabled]:not([disabled="false"]))) {
  --pip-foreground-color: var(--joy-color-neutral-500);
}

:host([appearance="soft"]) {
  --pip-border-width: 0px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

:host([size="tiny"]) {
  --_size: var(--_tiny);
}

:host([size="tiny"]) [part="label"] {
  height: 8px;
  font-size: 0;
  line-height: 0;
}

:host([size="small"]) {
  --_size: var(--_small);
}

:host([size="small"]) [part="label"] {
  height: 10px;
  font-size: 8px;
  line-height: 10px;
}

:host([size="medium"]) {
  --_size: var(--_medium);
}

:host([size="medium"]) [part="label"] {
  height: 16px;
  font-size: 14px;
  line-height: 16px;
}

:host([size="large"]) {
  --_size: var(--_large);
}

:host([size="large"]) [part="label"] {
  height: 20px;
  font-size: 20px;
  line-height: 22px;
}

:host([size="giant"]) {
  --_size: var(--_giant);
}

:host([size="giant"]) [part="label"] {
  height: 24px;
  font-size: 24px;
  line-height: 24px;
}

:host([size="tiny"]) {
  font-size: calc(var(--pip-font-size) - 4px);
}

:host([size="small"]) {
  font-size: calc(var(--pip-font-size) - 2px);
}

:host([size="medium"]) {
  font-size: var(--pip-font-size);
}

:host([size="large"]) {
  font-size: calc(var(--pip-font-size) + 2px);
}

:host([size="giant"]) {
  font-size: calc(var(--pip-font-size) + 4px);
}

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