/* The pad as plain CSS on its parts, generated by registry:build. */
:where([data-slot=pad], [data-slot=pad] *) {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid var(--border);
}
:where([data-slot=pad] svg) {
  display: block;
  vertical-align: middle;
}
:where([data-slot=pad] :is(input, button)) {
  font: inherit;
  color: inherit;
  background-color: transparent;
}
@layer properties;
:root, :host {
  --radius-md: calc(var(--radius) - 2px);
}
[data-slot=pad] {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(var(--pad-columns),minmax(0,1fr));
  gap: calc(var(--spacing, 0.25rem) * 2);
  -webkit-user-select: none;
  user-select: none;
  &:where([data-disabled="true"]), &:where([data-disabled]:not([data-disabled="false"])) {
    opacity: 50%;
  }
}
[data-slot=pad-item] {
  display: flex;
  aspect-ratio: 1 / 1;
  min-width: 0px;
  cursor: pointer;
  align-items: flex-end;
  justify-content: flex-start;
  border-radius: min(var(--radius-md), 10px);
  border-style: var(--tw-border-style);
  border-width: 1px;
  background-color: var(--muted);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--muted) 60%, transparent);
  }
  padding: calc(var(--spacing, 0.25rem) * 2);
  text-align: left;
  font-size: var(--text-xs, 0.75rem);
  line-height: var(--tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
  --tw-font-weight: var(--font-weight-medium, 500);
  font-weight: var(--font-weight-medium, 500);
  color: var(--muted-foreground);
  transition-property: background-color,border-color,color,transform;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
  transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));
  --tw-duration: 100ms;
  transition-duration: 100ms;
  --tw-ease: var(--ease-out, cubic-bezier(0, 0, 0.2, 1));
  transition-timing-function: var(--ease-out, cubic-bezier(0, 0, 0.2, 1));
  --tw-outline-style: none;
  outline-style: none;
  &:hover {
    @media (hover: hover) {
      &:not(*:where([data-state="active"]),  *:where([data-active]:not([data-active="false"]))) {
        background-color: var(--muted);
      }
    }
  }
  &:focus-visible {
    border-color: var(--ring);
  }
  &:focus-visible {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  &:focus-visible {
    --tw-ring-color: var(--ring);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--ring) 50%, transparent);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    transition-property: none;
  }
  &:where([data-disabled="true"]), &:where([data-disabled]:not([data-disabled="false"])) {
    pointer-events: none;
  }
  &:where([data-state="active"]), &:where([data-active]:not([data-active="false"])) {
    scale: 0.97;
  }
  &:where([data-state="active"]), &:where([data-active]:not([data-active="false"])) {
    border-color: var(--primary);
  }
  &:where([data-state="active"]), &:where([data-active]:not([data-active="false"])) {
    background-color: var(--primary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab,var(--primary) calc(55% + var(--pad-velocity,1) * 45%),var(--muted));
    }
  }
  &:where([data-state="active"]), &:where([data-active]:not([data-active="false"])) {
    color: var(--primary-foreground);
  }
  &:where([data-state="active"]), &:where([data-active]:not([data-active="false"])) {
    --tw-duration: 0ms;
    transition-duration: 0ms;
  }
  @media (prefers-reduced-motion: reduce) {
    &:where([data-state="active"]), &:where([data-active]:not([data-active="false"])) {
      --tw-scale-x: 100%;
      --tw-scale-y: 100%;
      --tw-scale-z: 100%;
      scale: var(--tw-scale-x) var(--tw-scale-y);
    }
  }
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-scale-x {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-y {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-z {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-border-style: solid;
      --tw-font-weight: initial;
      --tw-duration: initial;
      --tw-ease: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-scale-x: 1;
      --tw-scale-y: 1;
      --tw-scale-z: 1;
    }
  }
}
