// ------------------------------------------------------------------------------
// <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 buttonElementJoyStyle() {
    return css `
:host {
  --button-background-color: var(--joy-scheme-background);
  --button-border-color: var(--joy-scheme-highlight);
  --button-border-radius: var(--joy-layout-radius);
  --button-border-style: solid;
  --button-border-width: var(--joy-layout-thickness);
  --button-focus-ring-active-width: 8px;
  --button-focus-ring-color: var(--joy-scheme-highlight);
  --button-focus-ring-inward-offset: 2px;
  --button-focus-ring-outward-offset: 2px;
  --button-font-family: var(--joy-typography-button-font-family);
  --button-font-letter-spacing: var(--joy-typography-button-letter-spacing);
  --button-font-line-height: var(--joy-typography-button-line-height);
  --button-font-size: var(--joy-typography-button-font-size);
  --button-font-text-decoration: var(--joy-typography-button-text-decoration);
  --button-font-text-transform: var(--joy-typography-button-text-transform);
  --button-font-weight: var(--joy-typography-button-font-weight);
  --button-foreground-color: var(--joy-scheme-foreground);
  --button-gap: var(--joy-layout-space);
  --button-height: calc(var(--joy-layout-space) * 5 - var(--joy-layout-space) / 2);
  --button-icon-min-width: 36px;
  --button-icon-min-height: 36px;
  --button-min-height: calc(var(--joy-layout-space) * 5 - var(--joy-layout-space) / 2);
  --button-min-width: 64px;
  --button-padding-bottom: var(--joy-layout-space);
  --button-padding-left: var(--joy-layout-space);
  --button-padding-right: var(--joy-layout-space);
  --button-padding-top: var(--joy-layout-space);
  --button-progress-thickness: var(--joy-layout-thickness);
  --button-ripple-color: unset;
  --button-ripple-duration: .2s;
  --button-transition-duration: var(--joy-duration-short);
  --button-transition-mode: ease;
  --button-transition-property: background-color, color, border-color, opacity, box-shadow, translate;
  --button-translate: none;
  --button-width: auto;
}

@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(--button-font-family);
  font-size: var(--button-font-size);
  line-height: var(--button-font-line-height);
  font-weight: var(--button-font-weight);
  letter-spacing: var(--button-font-letter-spacing);
  -webkit-text-decoration: var(--button-font-text-decoration);
  text-decoration: var(--button-font-text-decoration);
  text-transform: var(--button-font-text-transform);
  transition-duration: var(--button-transition-duration);
  transition-timing-function: var(--button-transition-mode);
  transition-property: var(--button-transition-property);
  min-width: var(--button-width);
  min-height: var(--button-height);
  translate: var(--button-translate);
  cursor: pointer;
  border-start-start-radius: var(--button-border-radius);
  border-start-end-radius: var(--button-border-radius);
  border-end-end-radius: var(--button-border-radius);
  border-end-start-radius: var(--button-border-radius);
  display: flex;
}

:host [part="focusRing"] {
  --focus-ring-color: var(--button-focus-ring-color);
  --focus-ring-active-width: var(--button-focus-ring-active-width);
  --focus-ring-inward-offset: var(--button-focus-ring-inward-offset);
  --focus-ring-outward-offset: var(--button-focus-ring-outward-offset);
}

:host [part="ripple"] {
  --ripple-background-color: var(--button-ripple-color);
  --ripple-duration: var(--button-ripple-duration);
}

:host [part="button"] {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
  transition-duration: inherit;
  transition-timing-function: inherit;
  padding-top: var(--button-padding-top);
  padding-right: var(--button-padding-right);
  padding-bottom: var(--button-padding-bottom);
  padding-left: var(--button-padding-left);
  gap: var(--button-gap);
  background-color: var(--button-background-color);
  color: var(--button-foreground-color);
  border-color: var(--button-border-color);
  border-width: var(--button-border-width);
  border-radius: var(--button-border-radius);
  border-style: var(--button-border-style);
  width: inherit;
  height: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  z-index: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: inherit;
  pointer-events: inherit;
  border-style: solid;
  border-start-start-radius: inherit;
  border-start-end-radius: inherit;
  border-end-end-radius: inherit;
  border-end-start-radius: inherit;
  outline-style: none;
  flex: 1;
  margin: 0;
  text-decoration: none;
  transition-property: inherit;
  position: relative;
  overflow: hidden;
}

:host [part="button"]:before {
  border-radius: var(--button-border-radius);
  border-radius: calc(var(--button-border-radius)  - var(--button-border-width));
  content: "";
  opacity: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  transition: inherit;
  position: absolute;
  inset: 0;
}

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

:host [part="button"] [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;
}

:host [part="link"] {
  gap: var(--button-gap);
  width: 100%;
  height: 100%;
  text-decoration: inherit;
  align-items: center;
  display: flex;
}

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

:host [part="link"] [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;
}

:host [part="progressRing"] {
  margin: -12px 0 0 -12px;
  position: absolute;
  top: 50%;
  left: 50%;
}

:host([disabled]:not([disabled="false"])) {
  cursor: default;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

:host([is-busy]) {
  pointer-events: none;
  position: relative;
}

:host([fit="width"]) {
  --button-width: 100%;
}

:host([fit="height"]) {
  --button-height: 100%;
}

:host([fit="both"]) {
  --button-width: 100%;
  --button-height: 100%;
}

:host(:not([has-icon])) {
  min-width: var(--button-min-width);
}

:host(:not([has-link])[has-icon]) {
  min-width: var(--button-icon-min-width);
  min-height: var(--button-icon-min-height);
}

:host([is-busy]) [part="label"], :host([is-busy]) [part="icon"] {
  visibility: hidden;
}

:host [part="focusRing"] {
  border-radius: min(var(--button-border-radius), var(--button-border-radius)  + var(--joy-layout-thickness));
  --focus-ring-outward-offset: 0px;
}

:host [part="button"]:before {
  background-color: var(--joy-scheme-transparent);
}

:host [part="link"] {
  color: var(--button-foreground-color);
}

:host(:hover), :host(:active), :host(:focus), :host([selected]), :host([checked]) {
  --button-background-color: var(--joy-scheme-highlight);
  --button-border-color: var(--joy-scheme-highlight);
}

:host(:active) [part="button"]:before {
  opacity: .26;
  background-color: currentColor;
}

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

:host([is-busy]) [part="button"]:before {
  opacity: .26;
  background-color: currentColor;
}

:host([appearance="outline"]) {
  --button-border-width: var(--joy-layout-thickness);
  --button-border-style: solid;
}

:host([appearance="outline"]) [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

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

:host([appearance="outline"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-scheme-highlight);
}

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

:host([appearance="outline"][variant="primary"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-primary-100);
}

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

:host([appearance="outline"][variant="secondary"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-secondary-100);
}

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

:host([appearance="outline"][variant="tertiary"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-tertiary-100);
}

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

:host([appearance="outline"][variant="danger"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-danger-100);
}

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

:host([appearance="outline"][variant="warning"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-warning-100);
}

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

:host([appearance="outline"][variant="success"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-success-100);
}

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

:host([appearance="outline"][variant="info"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-info-100);
}

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

:host([appearance="outline"][variant="highlight"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-highlight-100);
}

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

:host([appearance="outline"][variant="neutral"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-neutral-100);
}

:host([appearance="plain"]) {
  --button-border-width: 0px;
  --button-background-color: var(--joy-scheme-transparent);
}

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

:host([appearance="plain"]:not([disabled]:not([disabled="false"]))) [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

:host([appearance="plain"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-scheme-highlight);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

:host([appearance="soft"]) [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

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

:host([appearance="soft"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --_color: min(var(--button-color-scheme), 1) var(--joy-color-primary-900), max(1 - var(--button-color-scheme), 0) var(--joy-color-primary-100);
  --button-background-color: var(--joy-color-primary-100);
  --button-foreground-color: var(--joy-color-primary-500);
}

:host([appearance="soft"][variant="primary"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-primary-200);
}

:host([appearance="soft"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --_color: min(var(--button-color-scheme), 1) var(--joy-color-primary-900), max(1 - var(--button-color-scheme), 0) var(--joy-color-primary-100);
  --button-background-color: var(--joy-color-secondary-100);
  --button-foreground-color: var(--joy-color-secondary-500);
}

:host([appearance="soft"][variant="secondary"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-secondary-200);
}

:host([appearance="soft"][variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --_color: min(var(--button-color-scheme), 1) var(--joy-color-primary-900), max(1 - var(--button-color-scheme), 0) var(--joy-color-primary-100);
  --button-background-color: var(--joy-color-tertiary-100);
  --button-foreground-color: var(--joy-color-tertiary-500);
}

:host([appearance="soft"][variant="tertiary"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-tertiary-200);
}

:host([appearance="soft"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --_color: min(var(--button-color-scheme), 1) var(--joy-color-primary-900), max(1 - var(--button-color-scheme), 0) var(--joy-color-primary-100);
  --button-background-color: var(--joy-color-danger-100);
  --button-foreground-color: var(--joy-color-danger-500);
}

:host([appearance="soft"][variant="danger"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-danger-200);
}

:host([appearance="soft"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --_color: min(var(--button-color-scheme), 1) var(--joy-color-primary-900), max(1 - var(--button-color-scheme), 0) var(--joy-color-primary-100);
  --button-background-color: var(--joy-color-warning-100);
  --button-foreground-color: var(--joy-color-warning-500);
}

:host([appearance="soft"][variant="warning"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-warning-200);
}

:host([appearance="soft"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --_color: min(var(--button-color-scheme), 1) var(--joy-color-primary-900), max(1 - var(--button-color-scheme), 0) var(--joy-color-primary-100);
  --button-background-color: var(--joy-color-success-100);
  --button-foreground-color: var(--joy-color-success-500);
}

:host([appearance="soft"][variant="success"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-success-200);
}

:host([appearance="soft"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --_color: min(var(--button-color-scheme), 1) var(--joy-color-primary-900), max(1 - var(--button-color-scheme), 0) var(--joy-color-primary-100);
  --button-background-color: var(--joy-color-info-100);
  --button-foreground-color: var(--joy-color-info-500);
}

:host([appearance="soft"][variant="info"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-info-200);
}

:host([appearance="soft"][variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --_color: min(var(--button-color-scheme), 1) var(--joy-color-primary-900), max(1 - var(--button-color-scheme), 0) var(--joy-color-primary-100);
  --button-background-color: var(--joy-color-highlight-100);
  --button-foreground-color: var(--joy-color-highlight-500);
}

:host([appearance="soft"][variant="highlight"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-highlight-200);
}

:host([appearance="soft"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --_color: min(var(--button-color-scheme), 1) var(--joy-color-primary-900), max(1 - var(--button-color-scheme), 0) var(--joy-color-primary-100);
  --button-background-color: var(--joy-color-neutral-100);
  --button-foreground-color: var(--joy-color-neutral-500);
}

:host([appearance="soft"][variant="neutral"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-neutral-200);
}

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

:host([appearance="solid"]) [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

:host([appearance="solid"]:not([disabled]:not([disabled="false"]))) {
  --button-background-color: var(--joy-scheme-background);
  --button-foreground-color: var(--joy-scheme-foreground);
}

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

:host([appearance="solid"][variant="primary"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-primary-600);
}

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

:host([appearance="solid"][variant="secondary"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-secondary-600);
}

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

:host([appearance="solid"][variant="tertiary"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-tertiary-600);
}

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

:host([appearance="solid"][variant="danger"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-danger-600);
}

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

:host([appearance="solid"][variant="warning"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-warning-600);
}

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

:host([appearance="solid"][variant="success"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-success-600);
}

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

:host([appearance="solid"][variant="info"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-info-600);
}

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

:host([appearance="solid"][variant="highlight"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-highlight-600);
}

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

:host([appearance="solid"][variant="neutral"]:not([disabled]:not([disabled="false"])):hover) {
  --button-background-color: var(--joy-color-neutral-600);
}

:host([size="tiny"]) {
  --button-font-size: calc(var(--joy-typography-button-font-size)  - 4px);
  --button-font-line-height: calc(var(--joy-typography-button-line-height)  - 4px);
  --button-padding-top: calc(var(--joy-layout-space)  - 4px);
  --button-padding-right: calc(var(--joy-layout-space)  - 4px);
  --button-padding-bottom: calc(var(--joy-layout-space)  - 4px);
  --button-padding-left: calc(var(--joy-layout-space)  - 4px);
}

:host([size="small"]) {
  --button-font-size: calc(var(--joy-typography-button-font-size)  - 2px);
  --button-font-line-height: calc(var(--joy-typography-button-line-height)  - 2px);
  --button-padding-top: calc(var(--joy-layout-space)  - 2px);
  --button-padding-right: calc(var(--joy-layout-space)  - 2px);
  --button-padding-bottom: calc(var(--joy-layout-space)  - 2px);
  --button-padding-left: calc(var(--joy-layout-space)  - 2px);
}

:host([size="medium"]) {
  --button-font-size: var(--joy-typography-button-font-size);
  --button-font-line-height: var(--joy-typography-button-line-height);
}

:host([size="large"]) {
  --button-font-size: calc(var(--joy-typography-button-font-size)  + 2px);
  --button-font-line-height: calc(var(--joy-typography-button-line-height)  + 2px);
  --button-padding-top: calc(var(--joy-layout-space)  + 4px);
  --button-padding-right: calc(var(--joy-layout-space)  + 4px);
  --button-padding-bottom: calc(var(--joy-layout-space)  + 4px);
  --button-padding-left: calc(var(--joy-layout-space)  + 4px);
}

:host([size="giant"]) {
  --button-font-size: calc(var(--joy-typography-button-font-size)  + 4px);
  --button-font-line-height: calc(var(--joy-typography-button-line-height)  + 4px);
  --button-padding-top: calc(var(--joy-layout-space)  + 8px);
  --button-padding-right: calc(var(--joy-layout-space)  + 8px);
  --button-padding-bottom: calc(var(--joy-layout-space)  + 8px);
  --button-padding-left: calc(var(--joy-layout-space)  + 8px);
}

:host(.button-group__button.first) {
  border-left-width: 0;
}

:host(.button-group__button.first) [part="button"] {
  border-radius: var(--button-border-radius) 0px 0px var(--button-border-radius);
}

:host(.button-group__button.inner) {
  border-radius: unset;
}

:host(.button-group__button.inner) [part="button"] {
  border-radius: 0;
}

:host(.button-group__button.last) {
  border-right-width: 0;
}

:host(.button-group__button.last) [part="button"] {
  border-radius: 0 var(--button-border-radius) var(--button-border-radius) 0;
}

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