/* Generated by scripts/generate-utilities.ts from src/base/utilities.ts — do not edit. */

/* spacing family */
@layer ui.utilities {
  :where([style*="--p:"], [style*="--p--"]) {
    --_p-resolved: var(--_p-2xl, var(--_p-xl, var(--_p-lg, var(--_p-md, var(--_p-sm, var(--_p))))));
  }
  :where([style*="--p:"]) {
    --_p: var(--p);
    --_p-len: var(--_p-resolved);
    --_p-num: var(--_p-resolved);
    padding: calc(var(--_p-len) + var(--_p-num) * var(--spacing));
  }

  :where([style*="--px:"], [style*="--px--"]) {
    --_px-resolved: var(--_px-2xl, var(--_px-xl, var(--_px-lg, var(--_px-md, var(--_px-sm, var(--_px))))));
  }
  :where([style*="--px:"]) {
    --_px: var(--px);
    --_px-len: var(--_px-resolved);
    --_px-num: var(--_px-resolved);
    padding-inline: calc(var(--_px-len) + var(--_px-num) * var(--spacing));
  }
  :where(:is([style*="--p:"])[style*="--px--"]) {
    --_px-len: var(--_px-resolved, var(--_p-resolved, 0));
    --_px-num: var(--_px-resolved, var(--_p-resolved, 0));
    padding-inline: calc(var(--_px-len) + var(--_px-num) * var(--spacing));
  }

  :where([style*="--py:"], [style*="--py--"]) {
    --_py-resolved: var(--_py-2xl, var(--_py-xl, var(--_py-lg, var(--_py-md, var(--_py-sm, var(--_py))))));
  }
  :where([style*="--py:"]) {
    --_py: var(--py);
    --_py-len: var(--_py-resolved);
    --_py-num: var(--_py-resolved);
    padding-block: calc(var(--_py-len) + var(--_py-num) * var(--spacing));
  }
  :where(:is([style*="--p:"])[style*="--py--"]) {
    --_py-len: var(--_py-resolved, var(--_p-resolved, 0));
    --_py-num: var(--_py-resolved, var(--_p-resolved, 0));
    padding-block: calc(var(--_py-len) + var(--_py-num) * var(--spacing));
  }

  :where([style*="--pt:"], [style*="--pt--"]) {
    --_pt-resolved: var(--_pt-2xl, var(--_pt-xl, var(--_pt-lg, var(--_pt-md, var(--_pt-sm, var(--_pt))))));
  }
  :where([style*="--pt:"]) {
    --_pt: var(--pt);
    --_pt-len: var(--_pt-resolved);
    --_pt-num: var(--_pt-resolved);
    padding-block-start: calc(var(--_pt-len) + var(--_pt-num) * var(--spacing));
  }
  :where(:is([style*="--py:"], [style*="--p:"])[style*="--pt--"]) {
    --_pt-len: var(--_pt-resolved, var(--_py-resolved, var(--_p-resolved, 0)));
    --_pt-num: var(--_pt-resolved, var(--_py-resolved, var(--_p-resolved, 0)));
    padding-block-start: calc(var(--_pt-len) + var(--_pt-num) * var(--spacing));
  }

  :where([style*="--pb:"], [style*="--pb--"]) {
    --_pb-resolved: var(--_pb-2xl, var(--_pb-xl, var(--_pb-lg, var(--_pb-md, var(--_pb-sm, var(--_pb))))));
  }
  :where([style*="--pb:"]) {
    --_pb: var(--pb);
    --_pb-len: var(--_pb-resolved);
    --_pb-num: var(--_pb-resolved);
    padding-block-end: calc(var(--_pb-len) + var(--_pb-num) * var(--spacing));
  }
  :where(:is([style*="--py:"], [style*="--p:"])[style*="--pb--"]) {
    --_pb-len: var(--_pb-resolved, var(--_py-resolved, var(--_p-resolved, 0)));
    --_pb-num: var(--_pb-resolved, var(--_py-resolved, var(--_p-resolved, 0)));
    padding-block-end: calc(var(--_pb-len) + var(--_pb-num) * var(--spacing));
  }

  :where([style*="--pl:"], [style*="--pl--"]) {
    --_pl-resolved: var(--_pl-2xl, var(--_pl-xl, var(--_pl-lg, var(--_pl-md, var(--_pl-sm, var(--_pl))))));
  }
  :where([style*="--pl:"]) {
    --_pl: var(--pl);
    --_pl-len: var(--_pl-resolved);
    --_pl-num: var(--_pl-resolved);
    padding-inline-start: calc(var(--_pl-len) + var(--_pl-num) * var(--spacing));
  }
  :where(:is([style*="--px:"], [style*="--p:"])[style*="--pl--"]) {
    --_pl-len: var(--_pl-resolved, var(--_px-resolved, var(--_p-resolved, 0)));
    --_pl-num: var(--_pl-resolved, var(--_px-resolved, var(--_p-resolved, 0)));
    padding-inline-start: calc(var(--_pl-len) + var(--_pl-num) * var(--spacing));
  }

  :where([style*="--pr:"], [style*="--pr--"]) {
    --_pr-resolved: var(--_pr-2xl, var(--_pr-xl, var(--_pr-lg, var(--_pr-md, var(--_pr-sm, var(--_pr))))));
  }
  :where([style*="--pr:"]) {
    --_pr: var(--pr);
    --_pr-len: var(--_pr-resolved);
    --_pr-num: var(--_pr-resolved);
    padding-inline-end: calc(var(--_pr-len) + var(--_pr-num) * var(--spacing));
  }
  :where(:is([style*="--px:"], [style*="--p:"])[style*="--pr--"]) {
    --_pr-len: var(--_pr-resolved, var(--_px-resolved, var(--_p-resolved, 0)));
    --_pr-num: var(--_pr-resolved, var(--_px-resolved, var(--_p-resolved, 0)));
    padding-inline-end: calc(var(--_pr-len) + var(--_pr-num) * var(--spacing));
  }

  :where([style*="--gap:"], [style*="--gap--"]) {
    --_gap-resolved: var(--_gap-2xl, var(--_gap-xl, var(--_gap-lg, var(--_gap-md, var(--_gap-sm, var(--_gap))))));
  }
  :where([style*="--gap:"]) {
    --_gap: var(--gap);
    --_gap-len: var(--_gap-resolved);
    --_gap-num: var(--_gap-resolved);
    gap: calc(var(--_gap-len) + var(--_gap-num) * var(--spacing));
  }

  :where([style*="--gap-x:"], [style*="--gap-x--"]) {
    --_gap-x-resolved: var(--_gap-x-2xl, var(--_gap-x-xl, var(--_gap-x-lg, var(--_gap-x-md, var(--_gap-x-sm, var(--_gap-x))))));
  }
  :where([style*="--gap-x:"]) {
    --_gap-x: var(--gap-x);
    --_gap-x-len: var(--_gap-x-resolved);
    --_gap-x-num: var(--_gap-x-resolved);
    column-gap: calc(var(--_gap-x-len) + var(--_gap-x-num) * var(--spacing));
  }
  :where(:is([style*="--gap:"])[style*="--gap-x--"]) {
    --_gap-x-len: var(--_gap-x-resolved, var(--_gap-resolved, 0));
    --_gap-x-num: var(--_gap-x-resolved, var(--_gap-resolved, 0));
    column-gap: calc(var(--_gap-x-len) + var(--_gap-x-num) * var(--spacing));
  }

  :where([style*="--gap-y:"], [style*="--gap-y--"]) {
    --_gap-y-resolved: var(--_gap-y-2xl, var(--_gap-y-xl, var(--_gap-y-lg, var(--_gap-y-md, var(--_gap-y-sm, var(--_gap-y))))));
  }
  :where([style*="--gap-y:"]) {
    --_gap-y: var(--gap-y);
    --_gap-y-len: var(--_gap-y-resolved);
    --_gap-y-num: var(--_gap-y-resolved);
    row-gap: calc(var(--_gap-y-len) + var(--_gap-y-num) * var(--spacing));
  }
  :where(:is([style*="--gap:"])[style*="--gap-y--"]) {
    --_gap-y-len: var(--_gap-y-resolved, var(--_gap-resolved, 0));
    --_gap-y-num: var(--_gap-y-resolved, var(--_gap-resolved, 0));
    row-gap: calc(var(--_gap-y-len) + var(--_gap-y-num) * var(--spacing));
  }

  :where([style*="--space-x:"], [style*="--space-x--"], [style*="--group-space-x--"]) {
    --_space-x-resolved: var(--_space-x-starting, var(--_space-x-disabled, var(--_space-x-active, var(--_space-x-focus-visible, var(--_space-x-focus-within, var(--_space-x-hover, var(--_space-x-checked, var(--_space-x-current, var(--_space-x-open, var(--_space-x-g-disabled, var(--_space-x-g-active, var(--_space-x-g-focus-visible, var(--_space-x-g-focus-within, var(--_space-x-g-hover, var(--_space-x-g-checked, var(--_space-x-g-current, var(--_space-x-g-open, var(--_space-x-stuck, var(--_space-x-2xl, var(--_space-x-xl, var(--_space-x-lg, var(--_space-x-md, var(--_space-x-sm, var(--_space-x))))))))))))))))))))))));
  }
  :where([style*="--space-x:"]) {
    --_space-x: var(--space-x);
    --_space-x-len: var(--_space-x-resolved);
    --_space-x-num: var(--_space-x-resolved);
    --_space-x-a: calc(var(--_space-x-len) + var(--_space-x-num) * var(--spacing));
    --_space-x-slot: a;
  }
  @container style(--_space-x-slot: a) {
    :where([style*="--space-x:"]) {
      --_space-x-b: calc(var(--_space-x-len) + var(--_space-x-num) * var(--spacing));
      --_space-x-slot: b;
    }
    :where(:not(:last-child, dialog, [popover])) { --_space-x-a: inherit; margin-inline-end: var(--_space-x-a); }
  }
  @container style(--_space-x-slot: b) {
    :where(:not(:last-child, dialog, [popover])) { --_space-x-b: inherit; margin-inline-end: var(--_space-x-b); }
  }

  :where([style*="--space-y:"], [style*="--space-y--"], [style*="--group-space-y--"]) {
    --_space-y-resolved: var(--_space-y-starting, var(--_space-y-disabled, var(--_space-y-active, var(--_space-y-focus-visible, var(--_space-y-focus-within, var(--_space-y-hover, var(--_space-y-checked, var(--_space-y-current, var(--_space-y-open, var(--_space-y-g-disabled, var(--_space-y-g-active, var(--_space-y-g-focus-visible, var(--_space-y-g-focus-within, var(--_space-y-g-hover, var(--_space-y-g-checked, var(--_space-y-g-current, var(--_space-y-g-open, var(--_space-y-stuck, var(--_space-y-2xl, var(--_space-y-xl, var(--_space-y-lg, var(--_space-y-md, var(--_space-y-sm, var(--_space-y))))))))))))))))))))))));
  }
  :where([style*="--space-y:"]) {
    --_space-y: var(--space-y);
    --_space-y-len: var(--_space-y-resolved);
    --_space-y-num: var(--_space-y-resolved);
    --_space-y-a: calc(var(--_space-y-len) + var(--_space-y-num) * var(--spacing));
    --_space-y-slot: a;
  }
  @container style(--_space-y-slot: a) {
    :where([style*="--space-y:"]) {
      --_space-y-b: calc(var(--_space-y-len) + var(--_space-y-num) * var(--spacing));
      --_space-y-slot: b;
    }
    :where(:not(:last-child, dialog, [popover])) { --_space-y-a: inherit; margin-block-end: var(--_space-y-a); }
  }
  @container style(--_space-y-slot: b) {
    :where(:not(:last-child, dialog, [popover])) { --_space-y-b: inherit; margin-block-end: var(--_space-y-b); }
  }

  :where([style*="--inset:"], [style*="--inset--"]) {
    --_inset-resolved: var(--_inset-2xl, var(--_inset-xl, var(--_inset-lg, var(--_inset-md, var(--_inset-sm, var(--_inset))))));
  }
  :where([style*="--inset:"]) {
    --_inset: var(--inset);
    --_inset-len: var(--_inset-resolved);
    --_inset-num: var(--_inset-resolved);
    inset: calc(var(--_inset-len) + var(--_inset-num) * var(--spacing));
  }

  :where([style*="--inset-x:"], [style*="--inset-x--"]) {
    --_inset-x-resolved: var(--_inset-x-2xl, var(--_inset-x-xl, var(--_inset-x-lg, var(--_inset-x-md, var(--_inset-x-sm, var(--_inset-x))))));
  }
  :where([style*="--inset-x:"]) {
    --_inset-x: var(--inset-x);
    --_inset-x-len: var(--_inset-x-resolved);
    --_inset-x-num: var(--_inset-x-resolved);
    inset-inline: calc(var(--_inset-x-len) + var(--_inset-x-num) * var(--spacing));
  }

  :where([style*="--inset-y:"], [style*="--inset-y--"]) {
    --_inset-y-resolved: var(--_inset-y-2xl, var(--_inset-y-xl, var(--_inset-y-lg, var(--_inset-y-md, var(--_inset-y-sm, var(--_inset-y))))));
  }
  :where([style*="--inset-y:"]) {
    --_inset-y: var(--inset-y);
    --_inset-y-len: var(--_inset-y-resolved);
    --_inset-y-num: var(--_inset-y-resolved);
    inset-block: calc(var(--_inset-y-len) + var(--_inset-y-num) * var(--spacing));
  }

  :where([style*="--top:"], [style*="--top--"]) {
    --_top-resolved: var(--_top-2xl, var(--_top-xl, var(--_top-lg, var(--_top-md, var(--_top-sm, var(--_top))))));
  }
  :where([style*="--top:"]) {
    --_top: var(--top);
    --_top-len: var(--_top-resolved);
    --_top-num: var(--_top-resolved);
    inset-block-start: calc(var(--_top-len) + var(--_top-num) * var(--spacing));
  }
  :where(:is([style*="--top: auto"])) {
    inset-block-start: var(--_top-resolved);
  }
  @container (width >= 40rem) {
    :where([style*="--top:"][style*="--top--sm:"]) {
      inset-block-start: calc(var(--_top-len) + var(--_top-num) * var(--spacing));
    }
    :where([style*="--top:"]:is([style*="--top--sm: auto"])) {
      inset-block-start: var(--_top-resolved);
    }
  }
  @container (width >= 48rem) {
    :where([style*="--top:"][style*="--top--md:"]) {
      inset-block-start: calc(var(--_top-len) + var(--_top-num) * var(--spacing));
    }
    :where([style*="--top:"]:is([style*="--top--md: auto"])) {
      inset-block-start: var(--_top-resolved);
    }
  }
  @container (width >= 64rem) {
    :where([style*="--top:"][style*="--top--lg:"]) {
      inset-block-start: calc(var(--_top-len) + var(--_top-num) * var(--spacing));
    }
    :where([style*="--top:"]:is([style*="--top--lg: auto"])) {
      inset-block-start: var(--_top-resolved);
    }
  }
  @container (width >= 80rem) {
    :where([style*="--top:"][style*="--top--xl:"]) {
      inset-block-start: calc(var(--_top-len) + var(--_top-num) * var(--spacing));
    }
    :where([style*="--top:"]:is([style*="--top--xl: auto"])) {
      inset-block-start: var(--_top-resolved);
    }
  }
  @container (width >= 96rem) {
    :where([style*="--top:"][style*="--top--2xl:"]) {
      inset-block-start: calc(var(--_top-len) + var(--_top-num) * var(--spacing));
    }
    :where([style*="--top:"]:is([style*="--top--2xl: auto"])) {
      inset-block-start: var(--_top-resolved);
    }
  }

  :where([style*="--bottom:"], [style*="--bottom--"]) {
    --_bottom-resolved: var(--_bottom-2xl, var(--_bottom-xl, var(--_bottom-lg, var(--_bottom-md, var(--_bottom-sm, var(--_bottom))))));
  }
  :where([style*="--bottom:"]) {
    --_bottom: var(--bottom);
    --_bottom-len: var(--_bottom-resolved);
    --_bottom-num: var(--_bottom-resolved);
    inset-block-end: calc(var(--_bottom-len) + var(--_bottom-num) * var(--spacing));
  }
  :where(:is([style*="--bottom: auto"])) {
    inset-block-end: var(--_bottom-resolved);
  }
  @container (width >= 40rem) {
    :where([style*="--bottom:"][style*="--bottom--sm:"]) {
      inset-block-end: calc(var(--_bottom-len) + var(--_bottom-num) * var(--spacing));
    }
    :where([style*="--bottom:"]:is([style*="--bottom--sm: auto"])) {
      inset-block-end: var(--_bottom-resolved);
    }
  }
  @container (width >= 48rem) {
    :where([style*="--bottom:"][style*="--bottom--md:"]) {
      inset-block-end: calc(var(--_bottom-len) + var(--_bottom-num) * var(--spacing));
    }
    :where([style*="--bottom:"]:is([style*="--bottom--md: auto"])) {
      inset-block-end: var(--_bottom-resolved);
    }
  }
  @container (width >= 64rem) {
    :where([style*="--bottom:"][style*="--bottom--lg:"]) {
      inset-block-end: calc(var(--_bottom-len) + var(--_bottom-num) * var(--spacing));
    }
    :where([style*="--bottom:"]:is([style*="--bottom--lg: auto"])) {
      inset-block-end: var(--_bottom-resolved);
    }
  }
  @container (width >= 80rem) {
    :where([style*="--bottom:"][style*="--bottom--xl:"]) {
      inset-block-end: calc(var(--_bottom-len) + var(--_bottom-num) * var(--spacing));
    }
    :where([style*="--bottom:"]:is([style*="--bottom--xl: auto"])) {
      inset-block-end: var(--_bottom-resolved);
    }
  }
  @container (width >= 96rem) {
    :where([style*="--bottom:"][style*="--bottom--2xl:"]) {
      inset-block-end: calc(var(--_bottom-len) + var(--_bottom-num) * var(--spacing));
    }
    :where([style*="--bottom:"]:is([style*="--bottom--2xl: auto"])) {
      inset-block-end: var(--_bottom-resolved);
    }
  }

  :where([style*="--left:"], [style*="--left--"]) {
    --_left-resolved: var(--_left-2xl, var(--_left-xl, var(--_left-lg, var(--_left-md, var(--_left-sm, var(--_left))))));
  }
  :where([style*="--left:"]) {
    --_left: var(--left);
    --_left-len: var(--_left-resolved);
    --_left-num: var(--_left-resolved);
    inset-inline-start: calc(var(--_left-len) + var(--_left-num) * var(--spacing));
  }
  :where(:is([style*="--left: auto"])) {
    inset-inline-start: var(--_left-resolved);
  }
  @container (width >= 40rem) {
    :where([style*="--left:"][style*="--left--sm:"]) {
      inset-inline-start: calc(var(--_left-len) + var(--_left-num) * var(--spacing));
    }
    :where([style*="--left:"]:is([style*="--left--sm: auto"])) {
      inset-inline-start: var(--_left-resolved);
    }
  }
  @container (width >= 48rem) {
    :where([style*="--left:"][style*="--left--md:"]) {
      inset-inline-start: calc(var(--_left-len) + var(--_left-num) * var(--spacing));
    }
    :where([style*="--left:"]:is([style*="--left--md: auto"])) {
      inset-inline-start: var(--_left-resolved);
    }
  }
  @container (width >= 64rem) {
    :where([style*="--left:"][style*="--left--lg:"]) {
      inset-inline-start: calc(var(--_left-len) + var(--_left-num) * var(--spacing));
    }
    :where([style*="--left:"]:is([style*="--left--lg: auto"])) {
      inset-inline-start: var(--_left-resolved);
    }
  }
  @container (width >= 80rem) {
    :where([style*="--left:"][style*="--left--xl:"]) {
      inset-inline-start: calc(var(--_left-len) + var(--_left-num) * var(--spacing));
    }
    :where([style*="--left:"]:is([style*="--left--xl: auto"])) {
      inset-inline-start: var(--_left-resolved);
    }
  }
  @container (width >= 96rem) {
    :where([style*="--left:"][style*="--left--2xl:"]) {
      inset-inline-start: calc(var(--_left-len) + var(--_left-num) * var(--spacing));
    }
    :where([style*="--left:"]:is([style*="--left--2xl: auto"])) {
      inset-inline-start: var(--_left-resolved);
    }
  }

  :where([style*="--right:"], [style*="--right--"]) {
    --_right-resolved: var(--_right-2xl, var(--_right-xl, var(--_right-lg, var(--_right-md, var(--_right-sm, var(--_right))))));
  }
  :where([style*="--right:"]) {
    --_right: var(--right);
    --_right-len: var(--_right-resolved);
    --_right-num: var(--_right-resolved);
    inset-inline-end: calc(var(--_right-len) + var(--_right-num) * var(--spacing));
  }
  :where(:is([style*="--right: auto"])) {
    inset-inline-end: var(--_right-resolved);
  }
  @container (width >= 40rem) {
    :where([style*="--right:"][style*="--right--sm:"]) {
      inset-inline-end: calc(var(--_right-len) + var(--_right-num) * var(--spacing));
    }
    :where([style*="--right:"]:is([style*="--right--sm: auto"])) {
      inset-inline-end: var(--_right-resolved);
    }
  }
  @container (width >= 48rem) {
    :where([style*="--right:"][style*="--right--md:"]) {
      inset-inline-end: calc(var(--_right-len) + var(--_right-num) * var(--spacing));
    }
    :where([style*="--right:"]:is([style*="--right--md: auto"])) {
      inset-inline-end: var(--_right-resolved);
    }
  }
  @container (width >= 64rem) {
    :where([style*="--right:"][style*="--right--lg:"]) {
      inset-inline-end: calc(var(--_right-len) + var(--_right-num) * var(--spacing));
    }
    :where([style*="--right:"]:is([style*="--right--lg: auto"])) {
      inset-inline-end: var(--_right-resolved);
    }
  }
  @container (width >= 80rem) {
    :where([style*="--right:"][style*="--right--xl:"]) {
      inset-inline-end: calc(var(--_right-len) + var(--_right-num) * var(--spacing));
    }
    :where([style*="--right:"]:is([style*="--right--xl: auto"])) {
      inset-inline-end: var(--_right-resolved);
    }
  }
  @container (width >= 96rem) {
    :where([style*="--right:"][style*="--right--2xl:"]) {
      inset-inline-end: calc(var(--_right-len) + var(--_right-num) * var(--spacing));
    }
    :where([style*="--right:"]:is([style*="--right--2xl: auto"])) {
      inset-inline-end: var(--_right-resolved);
    }
  }


}
