.style-lyra {
  /* MARK: Accordion */
  .cn-accordion-item {
    @apply not-last:border-b;
  }

  .cn-accordion-trigger {
    @apply focus-visible:ring-ring/50 focus-visible:border-ring focus-visible:after:border-ring **:data-[slot=accordion-trigger-icon]:text-muted-foreground rounded-none py-2.5 text-left text-xs font-medium hover:underline focus-visible:ring-1 **:data-[slot=accordion-trigger-icon]:ml-auto **:data-[slot=accordion-trigger-icon]:size-4;
  }

  .cn-accordion-content {
    @apply data-open:animate-accordion-down data-closed:animate-accordion-up text-xs;
  }

  .cn-accordion-content-inner {
    @apply pt-0 pb-2.5;
  }

  /* MARK: Alert */
  .cn-alert {
    @apply grid gap-0.5 rounded-none border px-2.5 py-2 text-left text-xs has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4;
  }

  .cn-alert-variant-default {
    @apply bg-card text-card-foreground;
  }

  .cn-alert-variant-destructive {
    @apply text-destructive bg-card *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current;
  }

  .cn-alert-title {
    @apply font-medium group-has-[>svg]/alert:col-start-2;
  }

  .cn-alert-description {
    @apply text-muted-foreground text-xs/relaxed text-balance md:text-pretty [&_p:not(:last-child)]:mb-2;
  }

  .cn-alert-action {
    @apply absolute top-[calc(--spacing(1.25))] right-[calc(--spacing(1.25))];
  }

  /* MARK: Alert Dialog */
  .cn-alert-dialog-overlay {
    @apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs;
  }

  .cn-alert-dialog-content {
    @apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 bg-popover text-popover-foreground ring-foreground/10 gap-4 rounded-none p-4 ring-1 duration-100 data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm;
  }

  .cn-alert-dialog-header {
    @apply grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr];
  }

  .cn-alert-dialog-media {
    @apply bg-muted mb-2 inline-flex size-10 items-center justify-center rounded-none sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-6;
  }

  .cn-alert-dialog-title {
    @apply text-sm font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2;
  }

  .cn-alert-dialog-description {
    @apply text-muted-foreground *:[a]:hover:text-foreground text-xs/relaxed text-balance md:text-pretty *:[a]:underline *:[a]:underline-offset-3;
  }

  /* MARK: Avatar */
  .cn-avatar {
    @apply size-8 rounded-full after:rounded-full data-[size=lg]:size-10 data-[size=sm]:size-6;
  }

  .cn-avatar-fallback {
    @apply bg-muted text-muted-foreground rounded-full;
  }

  .cn-avatar-image {
    @apply rounded-full;
  }

  .cn-avatar-badge {
    @apply bg-primary text-primary-foreground ring-background;
  }

  .cn-avatar-group-count {
    @apply bg-muted text-muted-foreground size-8 rounded-full text-xs group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3;
  }

  /* MARK: Badge */
  .cn-badge {
    @apply h-5 gap-1 rounded-none border border-transparent px-2 py-0.5 text-xs font-medium transition-all has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&>svg]:size-3!;
  }

  .cn-badge-variant-default {
    @apply bg-primary text-primary-foreground [a]:hover:bg-primary/80;
  }

  .cn-badge-variant-secondary {
    @apply bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80;
  }

  .cn-badge-variant-outline {
    @apply border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground;
  }

  .cn-badge-variant-destructive {
    @apply bg-destructive/10 [a]:hover:bg-destructive/20 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 text-destructive dark:bg-destructive/20;
  }

  .cn-badge-variant-ghost {
    @apply hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50;
  }

  .cn-badge-variant-link {
    @apply text-primary underline-offset-4 hover:underline;
  }

  /* MARK: Breadcrumb */
  .cn-breadcrumb-list {
    @apply text-muted-foreground gap-1.5 text-xs;
  }

  .cn-breadcrumb-item {
    @apply gap-1;
  }

  .cn-breadcrumb-link {
    @apply hover:text-foreground transition-colors;
  }

  .cn-breadcrumb-page {
    @apply text-foreground font-normal;
  }

  .cn-breadcrumb-separator {
    @apply [&>svg]:size-3.5;
  }

  .cn-breadcrumb-ellipsis {
    @apply size-5 [&>svg]:size-4;
  }

  /* MARK: Button */
  .cn-button {
    @apply focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 rounded-none border border-transparent bg-clip-padding text-xs font-medium focus-visible:ring-1 aria-invalid:ring-1 active:not-aria-[haspopup]:translate-y-px [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-button-variant-default {
    @apply bg-primary text-primary-foreground hover:bg-primary/80;
  }

  .cn-button-variant-outline {
    @apply border-border bg-background hover:bg-muted hover:text-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50 aria-expanded:bg-muted aria-expanded:text-foreground;
  }

  .cn-button-variant-secondary {
    @apply bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground;
  }

  .cn-button-variant-ghost {
    @apply hover:bg-muted hover:text-foreground dark:hover:bg-muted/50 aria-expanded:bg-muted aria-expanded:text-foreground;
  }

  .cn-button-variant-destructive {
    @apply bg-destructive/10 hover:bg-destructive/20 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/20 text-destructive focus-visible:border-destructive/40 dark:hover:bg-destructive/30;
  }

  .cn-button-variant-link {
    @apply text-primary underline-offset-4 hover:underline;
  }

  .cn-button-size-xs {
    @apply h-6 gap-1 rounded-none px-2 text-xs has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3;
  }

  .cn-button-size-sm {
    @apply h-7 gap-1 rounded-none px-2.5 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5;
  }

  .cn-button-size-default {
    @apply h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2;
  }

  .cn-button-size-lg {
    @apply h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2;
  }

  .cn-button-size-icon-xs {
    @apply size-6 rounded-none [&_svg:not([class*='size-'])]:size-3;
  }

  .cn-button-size-icon-sm {
    @apply size-7 rounded-none;
  }

  .cn-button-size-icon {
    @apply size-8;
  }

  .cn-button-size-icon-lg {
    @apply size-9;
  }

  /* MARK: Button Group */
  .cn-button-group {
    @apply rounded-none has-[>[data-slot=button-group]]:gap-2 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-none;
  }

  .cn-button-group-text {
    @apply bg-muted gap-2 rounded-none border px-2.5 text-xs font-medium [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-button-group-separator {
    @apply bg-input;
  }

  /* MARK: Calendar */
  .cn-calendar {
    @apply p-2 [--cell-size:--spacing(7)];
  }

  .cn-calendar-dropdown-root {
    @apply has-focus:border-ring border-input has-focus:ring-ring/50 rounded-none border has-focus:ring-1;
  }

  .cn-calendar-caption-label {
    @apply h-6 rounded-none pr-1 pl-1.5;
  }

  /* MARK: Card */
  .cn-card {
    @apply ring-foreground/10 bg-card text-card-foreground gap-(--card-spacing) overflow-hidden rounded-none py-(--card-spacing) text-xs/relaxed ring-1 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-none *:[img:last-child]:rounded-none;
  }

  .cn-card-header {
    @apply gap-1 rounded-none px-(--card-spacing) [.border-b]:pb-(--card-spacing);
  }

  .cn-card-title {
    @apply text-sm font-medium group-data-[size=sm]/card:text-sm;
  }

  .cn-card-description {
    @apply text-muted-foreground text-xs/relaxed;
  }

  .cn-card-content {
    @apply px-(--card-spacing);
  }

  .cn-card-footer {
    @apply rounded-none border-t p-(--card-spacing);
  }

  /* MARK: Chart */
  .cn-chart-tooltip {
    @apply border-border/50 bg-background gap-1.5 rounded-none border px-2.5 py-1.5 text-xs shadow-xl;
  }

  /* MARK: Checkbox */
  .cn-checkbox {
    @apply border-input dark:bg-input/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 flex size-4 items-center justify-center rounded-none border transition-colors group-has-disabled/field:opacity-50 focus-visible:ring-1 aria-invalid:ring-1;
  }

  .cn-checkbox-indicator {
    @apply [&>svg]:size-3.5;
  }

  /* MARK: Combobox */
  .cn-combobox-content {
    @apply bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 *:data-[slot=input-group]:bg-input/30 *:data-[slot=input-group]:border-input/30 max-h-72 min-w-36 overflow-hidden rounded-none shadow-md ring-1 duration-100 *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-8 *:data-[slot=input-group]:shadow-none;
  }

  .cn-combobox-content-logical {
    @apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
  }

  .cn-combobox-label {
    @apply text-muted-foreground px-2 py-2 text-xs;
  }

  .cn-combobox-item {
    @apply data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground gap-2 rounded-none py-2 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-combobox-item-indicator {
    @apply pointer-events-none absolute right-2 flex size-4 items-center justify-center;
  }

  .cn-combobox-empty {
    @apply text-muted-foreground hidden w-full justify-center py-2 text-center text-xs group-data-empty/combobox-content:flex;
  }

  .cn-combobox-list {
    @apply no-scrollbar max-h-[min(calc(--spacing(72)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 overflow-y-auto data-empty:p-0;
  }

  .cn-combobox-item-text {
    @apply flex flex-1 gap-2;
  }

  .cn-combobox-separator {
    @apply bg-border -mx-1 h-px;
  }

  .cn-combobox-trigger {
    @apply [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-combobox-trigger-icon {
    @apply text-muted-foreground size-4;
  }

  .cn-combobox-chips {
    @apply dark:bg-input/30 border-input focus-within:border-ring focus-within:ring-ring/50 has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40 has-aria-invalid:border-destructive dark:has-aria-invalid:border-destructive/50 flex min-h-8 flex-wrap items-center gap-1 rounded-none border bg-transparent bg-clip-padding px-2.5 py-1 text-xs transition-colors focus-within:ring-1 has-aria-invalid:ring-1 has-data-[slot=combobox-chip]:px-1;
  }

  .cn-combobox-chip {
    @apply bg-muted text-foreground flex h-[calc(--spacing(5.25))] w-fit items-center justify-center gap-1 rounded-none px-1.5 text-xs font-medium whitespace-nowrap has-data-[slot=combobox-chip-remove]:pr-0;
  }

  .cn-combobox-chip-remove {
    @apply -ml-1 opacity-50 hover:opacity-100;
  }

  /* MARK: Command */
  .cn-command {
    @apply bg-popover text-popover-foreground rounded-none;
  }

  .cn-command-dialog {
    @apply rounded-none;
  }

  .cn-command-input-wrapper {
    @apply border-b pb-0;
  }

  .cn-command-input-group {
    @apply bg-input/30 border-input/30 h-8 border-none shadow-none! *:data-[slot=input-group-addon]:pl-2!;
  }

  .cn-command-input-icon {
    @apply size-4 shrink-0 opacity-50;
  }

  .cn-command-input {
    @apply w-full text-xs;
  }

  .cn-command-list {
    @apply no-scrollbar max-h-72 scroll-py-0 outline-none;
  }

  .cn-command-empty {
    @apply py-6 text-center text-xs;
  }

  .cn-command-group {
    @apply text-foreground **:[[cmdk-group-heading]]:text-muted-foreground overflow-hidden **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs;
  }

  .cn-command-separator {
    @apply bg-border -mx-1 h-px;
  }

  .cn-command-item {
    @apply data-selected:bg-muted data-selected:text-foreground data-selected:*:[svg]:text-foreground relative flex cursor-default items-center gap-2 rounded-none px-2 py-2 text-xs outline-hidden select-none in-data-[slot=dialog-content]:rounded-none! [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-command-shortcut {
    @apply text-muted-foreground group-data-selected/command-item:text-foreground ml-auto text-xs tracking-widest;
  }

  /* MARK: Context Menu */
  .cn-context-menu-content {
    @apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-36 rounded-none shadow-md ring-1 duration-100;
  }

  .cn-context-menu-content-logical {
    @apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
  }

  .cn-context-menu-item {
    @apply focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive focus:*:[svg]:text-accent-foreground gap-2 rounded-none px-2 py-2 text-xs data-inset:pl-7 [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-context-menu-checkbox-item {
    @apply focus:bg-accent focus:text-accent-foreground gap-2 rounded-none py-2 pr-8 pl-2 text-xs data-inset:pl-7 [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-context-menu-radio-item {
    @apply focus:bg-accent focus:text-accent-foreground gap-2 rounded-none py-2 pr-8 pl-2 text-xs data-inset:pl-7 [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-context-menu-item-indicator {
    @apply absolute right-2;
  }

  .cn-context-menu-label {
    @apply text-muted-foreground px-2 py-2 text-xs data-inset:pl-7;
  }

  .cn-context-menu-separator {
    @apply bg-border -mx-1 h-px;
  }

  .cn-context-menu-shortcut {
    @apply text-muted-foreground group-focus/context-menu-item:text-accent-foreground ml-auto text-xs tracking-widest;
  }

  .cn-context-menu-sub-trigger {
    @apply focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground gap-2 rounded-none px-2 py-2 text-xs data-inset:pl-7 [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-context-menu-sub-content {
    @apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 bg-popover text-popover-foreground min-w-32 rounded-none border shadow-lg duration-100;
  }

  .cn-context-menu-subcontent {
    @apply shadow-lg;
  }

  /* MARK: Dialog */
  .cn-dialog-overlay {
    @apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs;
  }

  .cn-dialog-content {
    @apply bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 ring-foreground/10 grid max-w-[calc(100%-2rem)] gap-4 rounded-none p-4 text-xs/relaxed ring-1 duration-100 sm:max-w-sm;
  }

  .cn-dialog-close {
    @apply absolute top-2 right-2;
  }

  .cn-dialog-header {
    @apply gap-1 text-left;
  }

  .cn-dialog-title {
    @apply text-sm font-medium;
  }

  .cn-dialog-description {
    @apply text-muted-foreground *:[a]:hover:text-foreground text-xs/relaxed *:[a]:underline *:[a]:underline-offset-3;
  }

  /* MARK: Drawer */
  .cn-drawer-overlay {
    @apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 supports-backdrop-filter:backdrop-blur-xs;
  }

  .cn-drawer-content {
    @apply bg-popover text-popover-foreground flex h-auto flex-col text-xs/relaxed data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-none data-[vaul-drawer-direction=bottom]:border-t data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:rounded-none data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:rounded-none data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-none data-[vaul-drawer-direction=top]:border-b data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm;
  }

  .cn-drawer-handle {
    @apply bg-muted mx-auto mt-4 hidden h-1 w-[100px] shrink-0 rounded-none group-data-[vaul-drawer-direction=bottom]/drawer-content:block;
  }

  .cn-drawer-header {
    @apply gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-0.5 md:text-left;
  }

  .cn-drawer-title {
    @apply text-foreground text-sm font-medium;
  }

  .cn-drawer-description {
    @apply text-muted-foreground text-xs/relaxed;
  }

  .cn-drawer-footer {
    @apply gap-2 p-4;
  }

  /* MARK: Dropdown Menu */
  .cn-dropdown-menu-content {
    @apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-none shadow-md ring-1 duration-100;
  }

  .cn-dropdown-menu-content-logical {
    @apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
  }

  .cn-dropdown-menu-item {
    @apply focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground gap-2 rounded-none px-2 py-2 text-xs data-inset:pl-7 [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-dropdown-menu-checkbox-item {
    @apply focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2 rounded-none py-2 pr-8 pl-2 text-xs data-inset:pl-7 [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-dropdown-menu-radio-item {
    @apply focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2 rounded-none py-2 pr-8 pl-2 text-xs data-inset:pl-7 [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-dropdown-menu-item-indicator {
    @apply absolute right-2 flex items-center justify-center;
  }

  .cn-dropdown-menu-label {
    @apply text-muted-foreground px-2 py-2 text-xs data-inset:pl-7;
  }

  .cn-dropdown-menu-separator {
    @apply bg-border -mx-1 h-px;
  }

  .cn-dropdown-menu-shortcut {
    @apply text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ml-auto text-xs tracking-widest;
  }

  .cn-dropdown-menu-sub-trigger {
    @apply focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground gap-2 rounded-none px-2 py-2 text-xs data-inset:pl-7 [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-dropdown-menu-sub-content {
    @apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-[96px] rounded-none shadow-lg ring-1 duration-100;
  }

  .cn-dropdown-menu-subcontent {
    @apply shadow-lg;
  }

  /* MARK: Empty */
  .cn-empty {
    @apply gap-4 rounded-none border-dashed p-6;
  }

  .cn-empty-header {
    @apply gap-2;
  }

  .cn-empty-media {
    @apply mb-2;
  }

  .cn-empty-media-default {
    @apply bg-transparent;
  }

  .cn-empty-media-icon {
    @apply bg-muted text-foreground flex size-8 shrink-0 items-center justify-center rounded-none [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-empty-title {
    @apply text-sm font-medium;
  }

  .cn-empty-description {
    @apply text-xs/relaxed;
  }

  .cn-empty-content {
    @apply gap-2.5 text-xs;
  }

  /* MARK: Field */
  .cn-field-set {
    @apply gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3;
  }

  .cn-field-legend {
    @apply mb-2.5 font-medium data-[variant=label]:text-xs data-[variant=legend]:text-sm;
  }

  .cn-field-group {
    @apply gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4;
  }

  .cn-field {
    @apply data-[invalid=true]:text-destructive gap-2;
  }

  .cn-field-content {
    @apply gap-0.5;
  }

  .cn-field-label {
    @apply has-data-checked:bg-primary/5 has-data-checked:border-primary/30 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10 gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-[>[data-slot=field]]:rounded-none has-[>[data-slot=field]]:border *:data-[slot=field]:p-2;
  }

  .cn-field-title {
    @apply gap-2 text-xs/relaxed group-data-[disabled=true]/field:opacity-50;
  }

  .cn-field-description {
    @apply text-muted-foreground text-left text-xs/relaxed [[data-variant=legend]+&]:-mt-1.5;
  }

  .cn-field-separator {
    @apply -my-2 h-5 text-xs group-data-[variant=outline]/field-group:-mb-2;
  }

  .cn-field-separator-content {
    @apply text-muted-foreground px-2;
  }

  .cn-field-error {
    @apply text-destructive text-xs;
  }

  /* MARK: Hover Card */
  .cn-hover-card-content {
    @apply data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground w-64 rounded-none p-2.5 text-xs/relaxed shadow-md ring-1 duration-100;
  }

  .cn-hover-card-content-logical {
    @apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
  }

  /* MARK: Input */
  .cn-input {
    @apply dark:bg-input/30 border-input focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 disabled:bg-input/50 dark:disabled:bg-input/80 h-8 rounded-none border bg-transparent px-2.5 py-1 text-xs transition-colors file:h-6 file:text-xs file:font-medium focus-visible:ring-1 aria-invalid:ring-1 md:text-xs;
  }

  /* MARK: Input OTP */
  .cn-input-otp {
    @apply gap-2;
  }

  .cn-input-otp-group {
    @apply has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40 has-aria-invalid:border-destructive rounded-none has-aria-invalid:ring-1;
  }

  .cn-input-otp-slot {
    @apply dark:bg-input/30 border-input data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive size-8 border-y border-r text-xs transition-all outline-none first:rounded-none first:border-l last:rounded-none data-[active=true]:ring-1;
  }

  .cn-input-otp-caret-line {
    @apply animate-caret-blink bg-foreground h-4 w-px duration-1000;
  }

  .cn-input-otp-separator {
    @apply [&_svg:not([class*='size-'])]:size-4;
  }

  /* MARK: Item */
  .cn-item {
    @apply [a]:hover:bg-muted rounded-none border text-xs;
  }

  .cn-item-variant-default {
    @apply border-transparent;
  }

  .cn-item-variant-outline {
    @apply border-border;
  }

  .cn-item-variant-muted {
    @apply bg-muted/50 border-transparent;
  }

  .cn-item-size-default {
    @apply gap-2.5 px-3 py-2.5;
  }

  .cn-item-size-sm {
    @apply gap-2.5 px-3 py-2.5;
  }

  .cn-item-size-xs {
    @apply gap-2 px-2.5 py-2 in-data-[slot=dropdown-menu-content]:p-0;
  }

  .cn-item-media {
    @apply gap-2 group-has-data-[slot=item-description]/item:translate-y-0.5 group-has-data-[slot=item-description]/item:self-start;
  }

  .cn-item-media-variant-default {
    @apply bg-transparent;
  }

  .cn-item-media-variant-icon {
    @apply [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-item-media-variant-image {
    @apply size-10 overflow-hidden rounded-none group-data-[size=sm]/item:size-8 group-data-[size=xs]/item:size-6 [&_img]:size-full [&_img]:object-cover;
  }

  .cn-item-content {
    @apply gap-1 group-data-[size=xs]/item:gap-0;
  }

  .cn-item-title {
    @apply gap-2 text-xs font-medium underline-offset-4;
  }

  .cn-item-description {
    @apply text-muted-foreground text-left text-xs/relaxed group-data-[size=xs]/item:text-xs/relaxed;
  }

  .cn-item-actions {
    @apply gap-2;
  }

  .cn-item-header {
    @apply gap-2;
  }

  .cn-item-footer {
    @apply gap-2;
  }

  .cn-item-group {
    @apply gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2;
  }

  .cn-item-separator {
    @apply my-2;
  }

  /* MARK: Kbd */
  .cn-kbd {
    @apply bg-muted text-muted-foreground in-data-[slot=tooltip-content]:bg-background/20 in-data-[slot=tooltip-content]:text-background dark:in-data-[slot=tooltip-content]:bg-background/10 h-5 w-fit min-w-5 gap-1 rounded-none px-1 font-sans text-xs font-medium [&_svg:not([class*='size-'])]:size-3;
  }

  .cn-kbd-group {
    @apply gap-1;
  }

  /* MARK: Label */
  .cn-label {
    @apply gap-2 text-xs leading-none group-data-[disabled=true]:opacity-50 peer-disabled:opacity-50;
  }

  /* MARK: Menubar */
  .cn-menubar {
    @apply h-8 gap-0.5 rounded-none border p-1;
  }

  .cn-menubar-trigger {
    @apply hover:bg-muted aria-expanded:bg-muted rounded-none px-1.5 py-[calc(--spacing(0.8))] text-xs font-medium;
  }

  .cn-menubar-content {
    @apply bg-popover text-popover-foreground data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 min-w-36 rounded-none shadow-md ring-1 duration-100;
  }

  .cn-menubar-content-logical {
    @apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
  }

  .cn-menubar-item {
    @apply focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive! not-data-[variant=destructive]:focus:**:text-accent-foreground gap-2 rounded-none px-2 py-2 text-xs data-disabled:opacity-50 data-inset:pl-8 [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-menubar-checkbox-item {
    @apply focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2 rounded-none py-2 pr-28 pl-8 text-xs data-inset:pl-8;
  }

  .cn-menubar-checkbox-item-indicator {
    @apply left-1.5 size-4 [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-menubar-radio-item {
    @apply focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2 rounded-none py-2 pr-2 pl-8 text-xs data-disabled:opacity-50 data-inset:pl-8 [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-menubar-radio-item-indicator {
    @apply left-1.5 size-4 [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-menubar-label {
    @apply px-2 py-2 text-xs data-inset:pl-8;
  }

  .cn-menubar-separator {
    @apply bg-border;
  }

  .cn-menubar-shortcut {
    @apply text-muted-foreground group-focus/menubar-item:text-accent-foreground text-xs tracking-widest;
  }

  .cn-menubar-sub-trigger {
    @apply focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground gap-2 rounded-none px-2 py-2 text-xs data-inset:pl-8 [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-menubar-sub-content {
    @apply bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 min-w-32 rounded-none shadow-lg ring-1 duration-100;
  }

  /* MARK: Navigation Menu */
  .cn-navigation-menu {
    @apply max-w-max;
  }

  .cn-navigation-menu-list {
    @apply gap-0;
  }

  .cn-navigation-menu-trigger {
    @apply hover:bg-muted focus:bg-muted data-open:hover:bg-muted data-open:focus:bg-muted data-open:bg-muted/50 focus-visible:ring-ring/50 data-popup-open:bg-muted/50 data-popup-open:hover:bg-muted rounded-none px-2.5 py-1.5 text-xs font-medium transition-all focus-visible:ring-1 focus-visible:outline-1 disabled:opacity-50;
  }

  .cn-navigation-menu-link {
    @apply data-active:focus:bg-muted data-active:hover:bg-muted data-active:bg-muted/50 focus-visible:ring-ring/50 hover:bg-muted focus:bg-muted flex items-center gap-2 rounded-none p-2 text-xs transition-all outline-none focus-visible:ring-1 focus-visible:outline-1 in-data-[slot=navigation-menu-content]:rounded-none [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-navigation-menu-trigger-icon {
    @apply relative top-px ml-1 size-3 transition duration-300 group-data-open/navigation-menu-trigger:rotate-180 group-data-popup-open/navigation-menu-trigger:rotate-180;
  }

  .cn-navigation-menu-content {
    @apply data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:ring-foreground/10 p-1 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:rounded-none group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-300;
  }

  .cn-navigation-menu-viewport {
    @apply bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:zoom-out-90 data-open:zoom-in-90 ring-foreground/10 rounded-none shadow ring-1 duration-100;
  }

  .cn-navigation-menu-indicator {
    @apply data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in;
  }

  .cn-navigation-menu-indicator-arrow {
    @apply bg-border rounded-none shadow-md;
  }

  .cn-navigation-menu-positioner {
    @apply transition-[top,left,right,bottom] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] data-[side=bottom]:before:top-[-10px] data-[side=bottom]:before:right-0 data-[side=bottom]:before:left-0;
  }

  .cn-navigation-menu-popup {
    @apply bg-popover text-popover-foreground ring-foreground/10 rounded-none shadow ring-1 transition-all ease-[cubic-bezier(0.22,1,0.36,1)] outline-none data-ending-style:scale-90 data-ending-style:opacity-0 data-ending-style:duration-150 data-starting-style:scale-90 data-starting-style:opacity-0;
  }

  /* MARK: Native Select */
  .cn-native-select {
    @apply border-input placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 dark:hover:bg-input/50 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 h-8 w-full min-w-0 appearance-none rounded-none border bg-transparent py-1 pr-8 pl-2.5 text-xs transition-colors select-none focus-visible:ring-1 aria-invalid:ring-1 data-[size=sm]:h-7 data-[size=sm]:rounded-none data-[size=sm]:py-0.5;
  }

  .cn-native-select-icon {
    @apply text-muted-foreground top-1/2 right-2.5 size-4 -translate-y-1/2;
  }

  /* MARK: Pagination */
  .cn-pagination-content {
    @apply gap-0.5;
  }

  .cn-pagination-ellipsis {
    @apply size-8 items-center justify-center [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-pagination-previous {
    @apply pl-1.5!;
  }

  .cn-pagination-next {
    @apply pr-1.5!;
  }

  /* MARK: Popover */
  .cn-popover-content {
    @apply bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 flex flex-col gap-2.5 rounded-none p-2.5 text-xs shadow-md ring-1 duration-100;
  }

  .cn-popover-content-logical {
    @apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
  }

  .cn-popover-header {
    @apply flex flex-col gap-1 text-xs;
  }

  .cn-popover-title {
    @apply text-sm font-medium;
  }

  .cn-popover-description {
    @apply text-muted-foreground text-xs/relaxed;
  }

  /* MARK: Progress */
  .cn-progress {
    @apply bg-muted h-1 rounded-none;
  }

  .cn-progress-track {
    @apply bg-muted h-1 rounded-none;
  }

  .cn-progress-indicator {
    @apply bg-primary;
  }

  .cn-progress-label {
    @apply text-xs;
  }

  .cn-progress-value {
    @apply text-muted-foreground ml-auto text-xs tabular-nums;
  }

  /* MARK: Radio Group */
  .cn-radio-group {
    @apply grid gap-2;
  }

  .cn-radio-group-item {
    @apply border-input dark:bg-input/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 dark:aria-invalid:border-destructive/50 flex size-4 rounded-full focus-visible:ring-3 aria-invalid:ring-3;
  }

  .cn-radio-group-indicator {
    @apply flex size-4 items-center justify-center;
  }

  .cn-radio-group-indicator-icon {
    @apply bg-primary-foreground absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 rounded-full;
  }

  /* MARK: Resizable */
  .cn-resizable-handle-icon {
    @apply bg-border h-6 w-1 rounded-none;
  }

  /* MARK: Scroll Area */
  .cn-scroll-area-scrollbar {
    @apply data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent;
  }

  .cn-scroll-area-thumb {
    @apply rounded-none;
  }

  /* MARK: Select */
  .cn-select-trigger {
    @apply border-input data-placeholder:text-muted-foreground dark:bg-input/30 dark:hover:bg-input/50 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 gap-1.5 rounded-none border bg-transparent py-2 pr-2 pl-2.5 text-xs transition-colors select-none focus-visible:ring-1 aria-invalid:ring-1 data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-none *:data-[slot=select-value]:flex *:data-[slot=select-value]:gap-1.5 [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-select-value {
    @apply flex flex-1 text-left;
  }

  .cn-select-trigger-icon {
    @apply text-muted-foreground size-4;
  }

  .cn-select-content {
    @apply bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 min-w-36 rounded-none shadow-md ring-1 duration-100;
  }

  .cn-select-content-logical {
    @apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
  }

  .cn-select-label {
    @apply text-muted-foreground px-2 py-2 text-xs;
  }

  .cn-select-item {
    @apply focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground gap-2 rounded-none py-2 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2;
  }

  .cn-select-item-indicator {
    @apply pointer-events-none absolute right-2 flex size-4 items-center justify-center;
  }

  .cn-select-group {
    @apply scroll-my-1;
  }

  .cn-select-item-text {
    @apply flex flex-1 gap-2;
  }

  .cn-select-separator {
    @apply bg-border -mx-1 h-px;
  }

  .cn-select-scroll-up-button {
    @apply bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-select-scroll-down-button {
    @apply bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4;
  }

  /* MARK: Separator */
  .cn-separator {
    @apply bg-border shrink-0;
  }

  .cn-separator-horizontal {
    @apply h-px w-full;
  }

  .cn-separator-vertical {
    @apply h-full w-px;
  }

  /* MARK: Sheet */
  .cn-sheet-overlay {
    @apply bg-black/10 text-xs/relaxed supports-backdrop-filter:backdrop-blur-xs;
  }

  .cn-sheet-content {
    @apply bg-popover text-popover-foreground fixed z-50 flex flex-col bg-clip-padding text-xs/relaxed shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm;
  }

  .cn-sheet-close {
    @apply absolute top-3 right-3;
  }

  .cn-sheet-header {
    @apply gap-0.5 p-4;
  }

  .cn-sheet-footer {
    @apply gap-2 p-4;
  }

  .cn-sheet-title {
    @apply text-foreground text-sm font-medium;
  }

  .cn-sheet-description {
    @apply text-muted-foreground text-xs/relaxed;
  }

  /* MARK: Sidebar */
  .cn-sidebar-gap {
    @apply transition-[width] duration-200 ease-linear;
  }

  .cn-sidebar-inner {
    @apply bg-sidebar group-data-[variant=floating]:ring-sidebar-border group-data-[variant=floating]:rounded-none group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1;
  }

  .cn-sidebar-rail {
    @apply hover:after:bg-sidebar-border;
  }

  .cn-sidebar-inset {
    @apply bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-none md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2;
  }

  .cn-sidebar-input {
    @apply bg-background h-8 w-full shadow-none;
  }

  .cn-sidebar-header {
    @apply gap-2 p-2;
  }

  .cn-sidebar-content {
    @apply no-scrollbar gap-0;
  }

  .cn-sidebar-footer {
    @apply gap-2 p-2;
  }

  .cn-sidebar-separator {
    @apply bg-sidebar-border mx-2;
  }

  .cn-sidebar-group {
    @apply p-2;
  }

  .cn-sidebar-menu {
    @apply gap-0;
  }

  .cn-sidebar-group-content {
    @apply text-xs;
  }

  .cn-sidebar-group-label {
    @apply text-sidebar-foreground/70 ring-sidebar-ring h-8 rounded-none px-2 text-xs transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-2 [&>svg]:size-4;
  }

  .cn-sidebar-group-action {
    @apply text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 w-5 rounded-none p-0 focus-visible:ring-2 [&>svg]:size-4;
  }

  .cn-sidebar-menu-button {
    @apply ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground gap-2 rounded-none p-2 text-left text-xs transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! focus-visible:ring-2 data-active:font-medium;
  }

  .cn-sidebar-menu-button-variant-default {
    @apply hover:bg-sidebar-accent hover:text-sidebar-accent-foreground;
  }

  .cn-sidebar-menu-button-variant-outline {
    @apply bg-background hover:bg-sidebar-accent hover:text-sidebar-accent-foreground shadow-[0_0_0_1px_var(--sidebar-border)] hover:shadow-[0_0_0_1px_var(--sidebar-accent)];
  }

  .cn-sidebar-menu-button-size-default {
    @apply h-8 text-xs;
  }

  .cn-sidebar-menu-button-size-sm {
    @apply h-7 text-xs;
  }

  .cn-sidebar-menu-button-size-lg {
    @apply h-12 text-xs group-data-[collapsible=icon]:p-0!;
  }

  .cn-sidebar-menu-action {
    @apply text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 aspect-square w-5 rounded-none p-0 peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 focus-visible:ring-2 [&>svg]:size-4;
  }

  .cn-sidebar-menu-badge {
    @apply text-sidebar-foreground peer-hover/menu-button:text-sidebar-accent-foreground peer-data-active/menu-button:text-sidebar-accent-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 rounded-none px-1 text-xs font-medium peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1;
  }

  .cn-sidebar-menu-skeleton {
    @apply h-8 gap-2 rounded-none px-2;
  }

  .cn-sidebar-menu-skeleton-icon {
    @apply size-4 rounded-none;
  }

  .cn-sidebar-menu-skeleton-text {
    @apply h-4;
  }

  .cn-sidebar-menu-sub {
    @apply border-sidebar-border mx-3.5 translate-x-px gap-1 border-l px-2.5 py-0.5 group-data-[collapsible=icon]:hidden;
  }

  .cn-sidebar-menu-sub-button {
    @apply text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground h-7 gap-2 rounded-none px-2 focus-visible:ring-2 data-[size=md]:text-xs data-[size=sm]:text-xs [&>svg]:size-4;
  }

  /* MARK: Skeleton */
  .cn-skeleton {
    @apply bg-muted rounded-none;
  }

  /* MARK: Slider */
  .cn-slider {
    @apply data-vertical:min-h-40;
  }

  .cn-slider-track {
    @apply bg-muted rounded-none data-horizontal:h-1 data-horizontal:w-full data-vertical:h-full data-vertical:w-1;
  }

  .cn-slider-range {
    @apply bg-primary;
  }

  .cn-slider-thumb {
    @apply border-ring ring-ring/50 relative size-3 rounded-none border bg-white transition-[color,box-shadow] after:absolute after:-inset-2 hover:ring-1 focus-visible:ring-1 focus-visible:outline-hidden active:ring-1;
  }

  /* MARK: Sonner */
  .cn-toast {
    @apply rounded-none;
  }

  /* MARK: Switch */
  .cn-switch {
    @apply data-checked:bg-primary data-unchecked:bg-input focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 dark:data-unchecked:bg-input/80 shrink-0 rounded-full border border-transparent focus-visible:ring-1 aria-invalid:ring-1 data-[size=default]:h-[18.4px] data-[size=default]:w-[32px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px];
  }

  .cn-switch-thumb {
    @apply bg-background dark:data-unchecked:bg-foreground dark:data-checked:bg-primary-foreground rounded-full group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0;
  }

  /* MARK: Table */
  .cn-table-container {
    @apply relative w-full overflow-x-auto;
  }

  .cn-table {
    @apply w-full caption-bottom text-xs;
  }

  .cn-table-header {
    @apply [&_tr]:border-b;
  }

  .cn-table-body {
    @apply [&_tr:last-child]:border-0;
  }

  .cn-table-footer {
    @apply bg-muted/50 border-t font-medium [&>tr]:last:border-b-0;
  }

  .cn-table-row {
    @apply hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors;
  }

  .cn-table-head {
    @apply text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0;
  }

  .cn-table-cell {
    @apply p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0;
  }

  .cn-table-caption {
    @apply text-muted-foreground mt-4 text-xs;
  }

  /* MARK: Tabs */
  .cn-tabs {
    @apply gap-2;
  }

  .cn-tabs-list {
    @apply rounded-none p-[3px] group-data-horizontal/tabs:h-8 data-[variant=line]:rounded-none;
  }

  .cn-tabs-trigger {
    @apply gap-1.5 rounded-none border border-transparent px-1.5 py-0.5 text-xs font-medium group-data-vertical/tabs:py-[calc(--spacing(1.25))] [&_svg:not([class*='size-'])]:size-4 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1;
  }

  .cn-tabs-content {
    @apply text-xs/relaxed;
  }

  /* MARK: Textarea */
  .cn-textarea {
    @apply border-input dark:bg-input/30 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 disabled:bg-input/50 dark:disabled:bg-input/80 rounded-none border bg-transparent px-2.5 py-2 text-xs transition-colors focus-visible:ring-1 aria-invalid:ring-1 md:text-xs;
  }

  /* MARK: Toggle */
  .cn-toggle {
    @apply hover:text-foreground aria-pressed:bg-muted focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[state=on]:bg-muted gap-1 rounded-none text-xs font-medium transition-all [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-toggle-variant-default {
    @apply bg-transparent;
  }

  .cn-toggle-variant-outline {
    @apply border-input hover:bg-muted border bg-transparent;
  }

  .cn-toggle-size-default {
    @apply h-8 min-w-8 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2;
  }

  .cn-toggle-size-sm {
    @apply h-7 min-w-7 rounded-none px-2.5 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5;
  }

  .cn-toggle-size-lg {
    @apply h-9 min-w-9 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2;
  }

  /* MARK: Toggle Group */
  .cn-toggle-group {
    @apply rounded-none data-[size=sm]:rounded-none;
  }

  .cn-toggle-group-item {
    @apply group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-end]:pr-1.5 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-start]:pl-1.5 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-none group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-none group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-none group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-none;
  }

  /* MARK: Tooltip */
  .cn-tooltip-content {
    @apply data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 inline-flex items-center gap-1.5 rounded-none px-3 py-1.5 text-xs has-data-[slot=kbd]:pr-1.5 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-none;
  }

  .cn-tooltip-content-logical {
    @apply data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2;
  }

  .cn-tooltip-arrow {
    @apply size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-none;
  }

  .cn-tooltip-arrow-logical {
    @apply data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2;
  }

  /* MARK: Input Group */
  .cn-input-group {
    @apply border-input dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-disabled:bg-input/50 dark:has-disabled:bg-input/80 h-8 rounded-none border transition-colors in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-1 has-[[data-slot][aria-invalid=true]]:ring-1 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5;
  }

  .cn-input-group-addon {
    @apply text-muted-foreground h-auto gap-2 py-1.5 text-xs font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-none [&>svg:not([class*='size-'])]:size-4;
  }

  .cn-input-group-addon-align-inline-start {
    @apply pl-2 has-[>button]:ml-[-0.3rem] has-[>kbd]:ml-[-0.15rem];
  }

  .cn-input-group-addon-align-inline-end {
    @apply pr-2 has-[>button]:mr-[-0.3rem] has-[>kbd]:mr-[-0.15rem];
  }

  .cn-input-group-addon-align-block-start {
    @apply px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2;
  }

  .cn-input-group-addon-align-block-end {
    @apply px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2;
  }

  .cn-input-group-button {
    @apply gap-2 text-xs;
  }

  .cn-input-group-button-size-xs {
    @apply h-6 gap-1 rounded-none px-1.5 [&>svg:not([class*='size-'])]:size-3.5;
  }

  .cn-input-group-button-size-icon-xs {
    @apply size-6 rounded-none p-0 has-[>svg]:p-0;
  }

  .cn-input-group-button-size-sm {
    @apply gap-1;
  }

  .cn-input-group-button-size-icon-sm {
    @apply size-7 p-0 has-[>svg]:p-0;
  }

  .cn-input-group-text {
    @apply text-muted-foreground gap-2 text-xs [&_svg:not([class*='size-'])]:size-4;
  }

  .cn-input-group-input {
    @apply rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent;
  }

  .cn-input-group-textarea {
    @apply rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent;
  }

  /* MARK: Menu Translucent */
  .cn-menu-translucent {
    @apply animate-none! relative bg-popover/70 before:pointer-events-none before:absolute before:inset-0 before:-z-1 before:rounded-[inherit] before:backdrop-blur-2xl before:backdrop-saturate-150 **:data-[slot$=-item]:focus:bg-foreground/10 **:data-[slot$=-item]:data-highlighted:bg-foreground/10 **:data-[slot$=-separator]:bg-foreground/5 **:data-[slot$=-trigger]:focus:bg-foreground/10 **:data-[slot$=-trigger]:aria-expanded:bg-foreground/10! **:data-[variant=destructive]:focus:bg-foreground/10! **:data-[variant=destructive]:text-accent-foreground! **:data-[variant=destructive]:**:text-accent-foreground!
  }
}
