/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-black: #000;
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-xs: 20rem;
    --container-sm: 24rem;
    --container-md: 28rem;
    --container-lg: 32rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --leading-normal: 1.5;
    --radius-2xl: calc(var(--radius) * 2);
    --radius-3xl: calc(var(--radius) * 3);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --blur-md: 12px;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --color-background: var(--background);
    --color-foreground: var(--foreground);
    --color-accent: var(--accent);
    --color-accent-foreground: var(--accent-foreground);
    --color-focus: var(--focus);
    --color-default: var(--default);
    --color-default-foreground: var(--default-foreground);
    --color-success: var(--success);
    --color-success-foreground: var(--success-foreground);
    --color-warning: var(--warning);
    --color-warning-foreground: var(--warning-foreground);
    --color-danger: var(--danger);
    --color-danger-foreground: var(--danger-foreground);
    --shadow-surface: var(--surface-shadow);
    --shadow-overlay: var(--overlay-shadow);
    --color-field-border: var(--field-border, var(--border));
    --border-width-field: var(--field-border-width, var(--border-width));
    --color-default-hover: var(--default);
    @supports (color: color-mix(in lab, red, red)) {
      --color-default-hover: color-mix(in oklab, var(--default) 96%, var(--default-foreground) 4%);
    }
    --color-accent-hover: var(--accent);
    @supports (color: color-mix(in lab, red, red)) {
      --color-accent-hover: color-mix(in oklab, var(--accent) 90%, var(--accent-foreground) 10%);
    }
    --color-danger-hover: var(--danger);
    @supports (color: color-mix(in lab, red, red)) {
      --color-danger-hover: color-mix(in oklab, var(--danger) 90%, var(--danger-foreground) 10%);
    }
    --color-field-focus: var(--field-background, var(--default));
    --color-field-border-hover: var(--field-border, var(--border));
    @supports (color: color-mix(in lab, red, red)) {
      --color-field-border-hover: color-mix(
    in oklab,
    var(--field-border, var(--border)) 88%,
    var(--field-foreground, var(--foreground)) 10%
  );
    }
    --color-field-border-focus: var(--field-border, var(--border));
    @supports (color: color-mix(in lab, red, red)) {
      --color-field-border-focus: color-mix(
    in oklab,
    var(--field-border, var(--border)) 74%,
    var(--field-foreground, var(--foreground)) 22%
  );
    }
    --color-accent-soft: var(--accent);
    @supports (color: color-mix(in lab, red, red)) {
      --color-accent-soft: color-mix(in oklab, var(--accent) 15%, transparent);
    }
    --color-accent-soft-foreground: var(--accent);
    --color-accent-soft-hover: var(--accent);
    @supports (color: color-mix(in lab, red, red)) {
      --color-accent-soft-hover: color-mix(in oklab, var(--accent) 20%, transparent);
    }
    --color-danger-soft: var(--danger);
    @supports (color: color-mix(in lab, red, red)) {
      --color-danger-soft: color-mix(in oklab, var(--danger) 15%, transparent);
    }
    --color-danger-soft-foreground: var(--danger);
    --color-danger-soft-hover: var(--danger);
    @supports (color: color-mix(in lab, red, red)) {
      --color-danger-soft-hover: color-mix(in oklab, var(--danger) 20%, transparent);
    }
    --color-warning-soft: var(--warning);
    @supports (color: color-mix(in lab, red, red)) {
      --color-warning-soft: color-mix(in oklab, var(--warning) 15%, transparent);
    }
    --color-warning-soft-foreground: var(--warning);
    --color-success-soft: var(--success);
    @supports (color: color-mix(in lab, red, red)) {
      --color-success-soft: color-mix(in oklab, var(--success) 15%, transparent);
    }
    --color-success-soft-foreground: var(--success);
    --ease-smooth: ease;
    --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
    --ease-out-fluid: cubic-bezier(0.32, 0.72, 0, 1);
    --ease-linear: linear;
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .absolute {
    position: absolute;
  }
  .static {
    position: static;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .end {
    inset-inline-end: var(--spacing);
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .resize {
    resize: both;
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .lowercase {
    text-transform: lowercase;
  }
  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .ring {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + 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);
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .ease-in-out {
    --tw-ease: var(--ease-in-out);
    transition-timing-function: var(--ease-in-out);
  }
  .zoom-in {
    --tw-enter-scale: 0;
  }
}
@property --tw-animation-delay {
  syntax: "*";
  inherits: false;
  initial-value: 0s;
}
@property --tw-animation-direction {
  syntax: "*";
  inherits: false;
  initial-value: normal;
}
@property --tw-animation-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-animation-fill-mode {
  syntax: "*";
  inherits: false;
  initial-value: none;
}
@property --tw-animation-iteration-count {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-enter-blur {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-enter-opacity {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-enter-rotate {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-enter-scale {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-enter-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-enter-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-exit-blur {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-exit-opacity {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-exit-rotate {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-exit-scale {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-exit-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-exit-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    border-color: var(--border, currentColor);
  }
  :root {
    view-transition-name: none;
  }
  ::view-transition {
    pointer-events: none;
  }
}
@layer components {
  .close-button {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    height: calc(var(--spacing) * 6);
    width: calc(var(--spacing) * 6);
    flex-shrink: 0;
    transform-origin: center;
    align-items: center;
    justify-content: center;
    border-radius: calc(var(--radius) * 1.5);
    padding: calc(var(--spacing) * 1);
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    cursor: var(--cursor-interactive);
    transition: transform 250ms var(--ease-out-quart), color 150ms var(--ease-out), background-color 100ms var(--ease-out), box-shadow 150ms var(--ease-out);
    transform: translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    &:disabled, &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
    &[data-pending="true"] {
      pointer-events: none;
    }
    & svg {
      pointer-events: none;
      width: calc(var(--spacing) * 4);
      height: calc(var(--spacing) * 4);
      flex-shrink: 0;
      align-self: center;
      margin-inline: calc(var(--spacing) * -0.5);
      margin-block: calc(var(--spacing) * 0.5);
    }
  }
  .close-button--default {
    background-color: var(--default);
    color: var(--muted);
    @media (hover: hover) {
      &:hover, &[data-hovered="true"] {
        background-color: var(--default);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--default) 96%, var(--default-foreground) 4%);
        }
      }
    }
    &:active, &[data-pressed="true"] {
      transform: scale(0.93);
    }
  }
  .description {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
    text-wrap: wrap;
    overflow-wrap: break-word;
    color: var(--muted);
  }
  .error-message {
    height: auto;
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
    overflow-wrap: break-word;
    color: var(--danger);
    transition: opacity 150ms var(--ease-out), height 350ms var(--ease-smooth);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
  }
  .field-error {
    height: calc(var(--spacing) * 0);
    padding-inline: calc(var(--spacing) * 1);
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
    overflow-wrap: break-word;
    color: var(--danger);
    opacity: 0%;
    &[data-visible="true"] {
      height: auto;
    }
    &[data-visible="true"] {
      opacity: 100%;
    }
    transition: opacity 150ms var(--ease-out), height 350ms var(--ease-smooth);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
  }
  .label {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--foreground);
  }
  .label--required, [data-required="true"]:not([role="group"]):not([role="radiogroup"]):not([role="checkboxgroup"]) > .label, [data-required="true"]:not([data-slot="radio"]):not([data-slot="checkbox"]) > .label {
    &::after {
      content: var(--tw-content);
      margin-left: calc(var(--spacing) * 0.5);
    }
    &::after {
      content: var(--tw-content);
      color: var(--danger);
    }
    &::after {
      --tw-content: '*';
      content: var(--tw-content);
    }
  }
  .label--disabled, [data-disabled="true"] .label {
    opacity: var(--disabled-opacity);
    cursor: var(--cursor-disabled);
    pointer-events: none;
  }
  .label--invalid, [data-invalid="true"] .label, [aria-invalid="true"] .label {
    color: var(--danger);
  }
  .accordion {
    width: 100%;
    contain: layout style;
  }
  .accordion__body {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .accordion__body-inner {
    padding-inline: calc(var(--spacing) * 4);
    padding-top: calc(var(--spacing) * 0);
    padding-bottom: calc(var(--spacing) * 4);
    color: var(--muted);
  }
  .accordion__heading {
    display: flex;
  }
  .accordion__indicator {
    margin-left: auto;
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
    flex-shrink: 0;
    color: var(--muted);
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-duration: 250ms;
    transition-duration: 250ms;
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    &[data-expanded="true"] {
      rotate: calc(180deg * -1);
    }
  }
  .accordion__item {
    position: relative;
    --tw-border-style: none;
    border-style: none;
  }
  .accordion__item::after {
    content: "";
    position: absolute;
    bottom: calc(var(--spacing) * 0);
    left: calc(var(--spacing) * 0);
    height: 1px;
    width: 100%;
    border-radius: calc(infinity * 1px);
    background-color: var(--separator);
  }
  .accordion__item:last-child::after {
    content: none;
  }
  .accordion__item[data-hide-separator="true"]::after {
    display: none;
  }
  .accordion__trigger {
    cursor: var(--cursor-interactive);
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 4);
    text-align: left;
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    -webkit-tap-highlight-color: transparent;
    transition: opacity 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    @media (hover: hover) {
      &:hover:not([aria-expanded="true"]), &[data-hovered="true"]:not([aria-expanded="true"]) {
        background-color: var(--color-foreground);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--color-foreground) 3%, transparent 90%);
        }
      }
    }
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    &:disabled, &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .accordion__panel {
    opacity: 0;
    height: var(--disclosure-panel-height);
    overflow: clip;
    transition: height 200ms var(--ease-out-quad), opacity 200ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    &[data-expanded="true"] {
      will-change: height, opacity;
      opacity: 1;
    }
  }
  .accordion--surface {
    border-radius: calc(var(--radius) * 3);
    background-color: var(--surface);
    .accordion__trigger {
      @media (hover: hover) {
        &:hover:not([aria-expanded="true"]), &[data-hovered="true"]:not([aria-expanded="true"]) {
          background-color: var(--default);
        }
      }
    }
    .accordion__item::after {
      background-color: var(--surface-foreground);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--surface-foreground) 6%, transparent);
      }
    }
  }
  .accordion--surface .accordion__item {
    &::after {
      left: 3%;
      width: 94%;
    }
    &:first-child [data-slot="accordion-trigger"] {
      border-top-left-radius: calc(var(--radius) * 3);
      border-top-right-radius: calc(var(--radius) * 3);
    }
    &:last-child:not(:has([data-slot="accordion-trigger"][aria-expanded="true"])) [data-slot="accordion-trigger"] {
      border-bottom-right-radius: calc(var(--radius) * 3);
      border-bottom-left-radius: calc(var(--radius) * 3);
    }
  }
  .breadcrumbs {
    display: flex;
    align-items: center;
    .breadcrumbs__link {
      position: relative;
      padding-inline: calc(var(--spacing) * 0.5);
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
      --tw-leading: calc(var(--spacing) * 5);
      line-height: calc(var(--spacing) * 5);
      --tw-font-weight: var(--font-weight-medium);
      font-weight: var(--font-weight-medium);
      color: var(--muted);
      text-decoration-line: none;
      opacity: 100%;
      &:hover, &[data-hovered="true"] {
        text-decoration-line: underline;
      }
      &[data-current="true"] {
        color: var(--link);
        opacity: 100%;
      }
    }
    .breadcrumbs__item {
      display: flex;
      flex-shrink: 0;
      align-items: center;
      justify-content: center;
      gap: calc(var(--spacing) * 0.5);
      padding-inline: calc(var(--spacing) * 0.5);
    }
    .breadcrumbs__separator {
      width: calc(var(--spacing) * 3);
      height: calc(var(--spacing) * 3);
      color: var(--muted);
      &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
        rotate: 180deg;
      }
    }
  }
  .disclosure-group {
    width: 100%;
    contain: layout style;
  }
  .disclosure {
    position: relative;
  }
  .accordion__heading {
    display: flex;
  }
  .disclosure__trigger {
    cursor: var(--cursor-interactive);
    display: inline-block;
    -webkit-tap-highlight-color: transparent;
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    &:disabled, &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .disclosure__indicator {
    margin-left: auto;
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
    flex-shrink: 0;
    color: inherit;
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-duration: 250ms;
    transition-duration: 250ms;
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    &[data-expanded="true"] {
      rotate: calc(180deg * -1);
    }
  }
  .disclosure__content {
    opacity: 0;
    height: var(--disclosure-panel-height);
    overflow: clip;
    transition: height 200ms var(--ease-out-quad), opacity 200ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    &[data-expanded="true"] {
      will-change: height, opacity;
      opacity: 1;
    }
  }
  .disclosure__body {
    padding: calc(var(--spacing) * 2);
  }
  .link {
    position: relative;
    display: inline-flex;
    height: fit-content;
    width: fit-content;
    align-items: center;
    border-radius: calc(var(--radius) * 1.5);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--link);
    text-decoration-line: underline;
    text-decoration-color: var(--surface);
    @supports (color: color-mix(in lab, red, red)) {
      text-decoration-color: color-mix(
    in oklab,
    var(--surface) 81%,
    var(--surface-foreground) 19%
  );
    }
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
    -webkit-tap-highlight-color: transparent;
    transition: color 100ms var(--ease-smooth), text-decoration-color 100ms var(--ease-out), background-color 150ms var(--ease-smooth), box-shadow 150ms var(--ease-out), opacity 100ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    cursor: var(--cursor-interactive);
    @media (hover: hover) {
      &:hover, &[data-hovered="true"] {
        text-decoration-color: var(--muted);
        .link__icon {
          opacity: 100%;
        }
      }
    }
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
      .link__icon {
        opacity: 100%;
      }
    }
    &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
    .link__icon {
      pointer-events: none;
      display: inline-flex;
      width: calc(var(--spacing) * 2);
      height: calc(var(--spacing) * 2);
      flex-shrink: 0;
      align-items: center;
      justify-content: center;
      color: currentcolor;
      opacity: 60%;
      transition: opacity 150ms var(--ease-out);
      &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
          transition-property: none;
          &::before, &::after {
            transition-property: none;
          }
        }
      }
      & svg {
        transform: translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
      }
    }
    .link__icon[data-default-icon="true"] {
      margin-left: calc(var(--spacing) * 1);
      padding-bottom: calc(var(--spacing) * 1.5);
    }
    &.button {
      gap: calc(var(--spacing) * 0);
      text-decoration-line: none;
    }
  }
  .pagination {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--spacing) * 4);
    @media (width >= 40rem) {
      flex-direction: row;
    }
  }
  .pagination__summary {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 2);
    align-self: flex-start;
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--muted);
    @media (width >= 40rem) {
      align-self: center;
    }
  }
  .pagination__content {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 1);
    align-self: flex-start;
    @media (width >= 40rem) {
      align-self: center;
    }
  }
  .pagination__item {
    display: inline-flex;
  }
  .pagination__link {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    width: calc(var(--spacing) * 9);
    height: calc(var(--spacing) * 9);
    transform-origin: center;
    align-items: center;
    justify-content: center;
    border-radius: calc(var(--radius) * 3);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
    --tw-outline-style: none;
    outline-style: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    @media (width >= 48rem) {
      width: calc(var(--spacing) * 8);
      height: calc(var(--spacing) * 8);
    }
    cursor: var(--cursor-interactive);
    transition: transform 250ms var(--ease-smooth), background-color 100ms var(--ease-out), box-shadow 100ms var(--ease-out);
    transform: translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    --pagination-link-bg: transparent;
    --pagination-link-bg-hover: var(--color-default-hover);
    --pagination-link-bg-pressed: var(--color-default-hover);
    --pagination-link-fg: var(--color-default-foreground);
    background-color: var(--pagination-link-bg);
    color: var(--pagination-link-fg);
    &:focus-visible, &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    &:disabled, &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
    @media (hover: hover) {
      &:hover, &[data-hovered="true"] {
        background-color: var(--pagination-link-bg-hover);
      }
    }
    &:active, &[data-pressed="true"] {
      background-color: var(--pagination-link-bg-pressed);
      transform: scale(0.97);
    }
    &[data-active="true"] {
      --pagination-link-bg: var(--color-default);
      --pagination-link-bg-hover: var(--color-default-hover);
      --pagination-link-bg-pressed: var(--color-default-hover);
    }
  }
  .pagination__ellipsis {
    display: inline-flex;
    width: calc(var(--spacing) * 9);
    height: calc(var(--spacing) * 9);
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--muted);
    -webkit-user-select: none;
    user-select: none;
    @media (width >= 48rem) {
      width: calc(var(--spacing) * 8);
      height: calc(var(--spacing) * 8);
    }
  }
  .pagination__link--nav {
    width: auto;
    gap: calc(var(--spacing) * 1.5);
    padding-inline: calc(var(--spacing) * 2.5);
  }
  .pagination--sm {
    .pagination__link {
      width: calc(var(--spacing) * 8);
      height: calc(var(--spacing) * 8);
      font-size: var(--text-xs);
      line-height: var(--tw-leading, var(--text-xs--line-height));
      @media (width >= 48rem) {
        width: calc(var(--spacing) * 7);
        height: calc(var(--spacing) * 7);
      }
      &:active, &[data-pressed="true"] {
        transform: scale(0.98);
      }
    }
    .pagination__link--nav {
      width: auto;
      padding-inline: calc(var(--spacing) * 2);
    }
    .pagination__ellipsis {
      width: calc(var(--spacing) * 8);
      height: calc(var(--spacing) * 8);
      font-size: var(--text-xs);
      line-height: var(--tw-leading, var(--text-xs--line-height));
      @media (width >= 48rem) {
        width: calc(var(--spacing) * 7);
        height: calc(var(--spacing) * 7);
      }
    }
    .pagination__summary {
      font-size: var(--text-xs);
      line-height: var(--tw-leading, var(--text-xs--line-height));
    }
  }
  .pagination--lg {
    .pagination__link {
      width: calc(var(--spacing) * 10);
      height: calc(var(--spacing) * 10);
      font-size: var(--text-base);
      line-height: var(--tw-leading, var(--text-base--line-height));
      @media (width >= 48rem) {
        width: calc(var(--spacing) * 9);
        height: calc(var(--spacing) * 9);
      }
      &:active, &[data-pressed="true"] {
        transform: scale(0.96);
      }
    }
    .pagination__link--nav {
      width: auto;
      padding-inline: calc(var(--spacing) * 3);
    }
    .pagination__ellipsis {
      width: calc(var(--spacing) * 10);
      height: calc(var(--spacing) * 10);
      font-size: var(--text-base);
      line-height: var(--tw-leading, var(--text-base--line-height));
      @media (width >= 48rem) {
        width: calc(var(--spacing) * 9);
        height: calc(var(--spacing) * 9);
      }
    }
    .pagination__summary {
      font-size: var(--text-base);
      line-height: var(--tw-leading, var(--text-base--line-height));
    }
  }
  .tabs {
    display: flex;
    gap: calc(var(--spacing) * 2);
    &[data-orientation="horizontal"] {
      flex-direction: column;
    }
    &[data-orientation="vertical"] {
      flex-direction: row;
    }
  }
  .tabs__list-container {
    position: relative;
  }
  .tabs__list {
    display: inline-flex;
    background-color: var(--default);
    padding: calc(var(--spacing) * 1);
    border-radius: calc(var(--radius-2xl) + 0.25rem);
    &[data-orientation="horizontal"] {
      width: 100%;
      flex-direction: row;
    }
    &[data-orientation="vertical"] {
      flex-direction: column;
      gap: calc(var(--spacing) * 1);
      .tabs__tab {
        min-width: calc(var(--spacing) * 20);
      }
    }
  }
  .tabs__tab {
    position: relative;
    z-index: 1;
    cursor: var(--cursor-interactive);
    display: flex;
    height: calc(var(--spacing) * 8);
    width: 100%;
    align-items: center;
    justify-content: center;
    border-radius: calc(var(--radius) * 3);
    padding-inline: calc(var(--spacing) * 4);
    text-align: center;
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--muted);
    --tw-outline-style: none;
    outline-style: none;
    -webkit-tap-highlight-color: transparent;
    transition: color 150ms var(--ease-smooth), background-color 150ms var(--ease-smooth), box-shadow 150ms var(--ease-out), opacity 150ms var(--ease-smooth);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    &[data-selected="true"] {
      color: var(--segment-foreground);
    }
    &[data-selected="true"] .tabs__separator {
      opacity: 0;
    }
    &[data-selected="true"] + .tabs__tab .tabs__separator {
      opacity: 0;
    }
    &:disabled, &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
    @media (hover: hover) {
      &:not([data-selected="true"]):not([data-disabled="true"]):hover, &[data-hovered="true"]:not([data-selected="true"]):not([data-disabled="true"]) {
        opacity: 70%;
      }
    }
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
  }
  .tabs__separator {
    background-color: var(--muted);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--muted) 25%, transparent);
    }
    border-radius: 4px;
    position: absolute;
    pointer-events: none;
    transition: opacity 150ms var(--ease-smooth);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    .tabs__list[data-orientation="horizontal"] & {
      left: 0;
      top: 25%;
      width: 1px;
      height: 50%;
    }
    .tabs__list[data-orientation="vertical"] & {
      top: 0;
      left: 5%;
      width: 90%;
      height: 1px;
    }
  }
  .tabs__panel {
    width: 100%;
    padding: calc(var(--spacing) * 2);
    --tw-outline-style: none;
    outline-style: none;
    &[data-exiting="true"] {
      position: absolute;
      top: calc(var(--spacing) * 0);
      left: calc(var(--spacing) * 0);
      width: 100%;
    }
    &[data-orientation="horizontal"] {
      margin-top: calc(var(--spacing) * 4);
    }
    &[data-orientation="vertical"] {
      margin-left: calc(var(--spacing) * 4);
    }
  }
  .tabs__indicator {
    box-shadow: var(--shadow-surface);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: var(--radius-3xl);
    width: 100%;
    height: 100%;
    background-color: var(--segment);
    transition-duration: 250ms;
    transition-property: translate, width, height;
    transition-timing-function: var(--ease-out-fluid);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
  }
  .tabs--secondary {
    > .tabs__list-container > .tabs__list {
      background-color: transparent;
      padding: calc(var(--spacing) * 0);
      border-radius: 0;
      &[data-orientation="horizontal"] {
        border-bottom-style: var(--tw-border-style);
        border-bottom-width: 1px;
        border-color: var(--border);
        max-width: 100%;
        overflow-x: auto;
        overflow-y: clip;
        scrollbar-width: none;
        &::-webkit-scrollbar {
          display: none;
        }
      }
      &[data-orientation="vertical"] {
        border-left-style: var(--tw-border-style);
        border-left-width: 1px;
        border-color: var(--border);
      }
    }
    > .tabs__list-container .tabs__tab {
      border-radius: 0;
      &[data-selected="true"] {
        color: var(--foreground);
      }
    }
    > .tabs__list-container .tabs__separator {
      display: none;
    }
    > .tabs__list-container .tabs__indicator {
      background-color: var(--accent);
      box-shadow: none;
      border-radius: 0;
    }
    &[data-orientation="horizontal"] > .tabs__list-container .tabs__indicator {
      top: auto;
      bottom: 0;
      height: 2px;
    }
    &[data-orientation="vertical"] > .tabs__list-container .tabs__indicator {
      left: 0;
      top: 0;
      width: 2px;
      height: 100%;
    }
  }
  .button {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    height: calc(var(--spacing) * 10);
    width: fit-content;
    transform-origin: center;
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing) * 2);
    border-radius: calc(var(--radius) * 3);
    padding-inline: calc(var(--spacing) * 4);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
    --tw-outline-style: none;
    outline-style: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    @media (width >= 48rem) {
      height: calc(var(--spacing) * 9);
    }
    transition: transform 250ms var(--ease-smooth), background-color 100ms var(--ease-out), box-shadow 100ms var(--ease-out);
    transform: translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    cursor: var(--cursor-interactive);
    --button-bg: transparent;
    --button-bg-hover: var(--button-bg);
    --button-bg-pressed: var(--button-bg-hover);
    --button-fg: currentColor;
    background-color: var(--button-bg);
    color: var(--button-fg);
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    &:disabled, &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
    &[data-pending="true"] {
      pointer-events: none;
    }
    &:active, &[data-pressed="true"] {
      background-color: var(--button-bg-pressed);
      transform: scale(0.97);
    }
    @media (hover: hover) {
      &:hover, &[data-hovered="true"] {
        background-color: var(--button-bg-hover);
      }
    }
    & svg:not([data-slot="spinner"] svg, [data-slot="link-icon"] svg) {
      pointer-events: none;
      margin-inline: calc(var(--spacing) * -0.5);
      margin-block: calc(var(--spacing) * 0.5);
      width: calc(var(--spacing) * 5);
      height: calc(var(--spacing) * 5);
      flex-shrink: 0;
      align-self: center;
      @media (width >= 40rem) {
        margin-block: calc(var(--spacing) * 1);
      }
      @media (width >= 40rem) {
        width: calc(var(--spacing) * 4);
        height: calc(var(--spacing) * 4);
      }
    }
  }
  .button--sm {
    height: calc(var(--spacing) * 9);
    padding-inline: calc(var(--spacing) * 3);
    @media (width >= 48rem) {
      height: calc(var(--spacing) * 8);
    }
    & svg:not([data-slot="spinner"] svg, [data-slot="link-icon"] svg) {
      width: calc(var(--spacing) * 4);
      height: calc(var(--spacing) * 4);
    }
    &:active, &[data-pressed="true"] {
      transform: scale(0.98);
    }
  }
  .button--lg {
    height: calc(var(--spacing) * 11);
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    @media (width >= 48rem) {
      height: calc(var(--spacing) * 10);
    }
    &:active, &[data-pressed="true"] {
      transform: scale(0.96);
    }
  }
  .button--primary {
    --button-bg: var(--color-accent);
    --button-bg-hover: var(--color-accent-hover);
    --button-bg-pressed: var(--color-accent-hover);
    --button-fg: var(--color-accent-foreground);
  }
  .button--secondary {
    --button-bg: var(--color-default);
    --button-bg-hover: var(--color-default-hover);
    --button-bg-pressed: var(--color-default-hover);
    --button-fg: var(--color-accent-soft-foreground);
  }
  .button--tertiary {
    --button-bg: var(--color-default);
    --button-bg-hover: var(--color-default-hover);
    --button-bg-pressed: var(--color-default-hover);
  }
  .button--ghost, .button--outline {
    --button-bg: transparent;
    --button-bg-hover: var(--color-default);
    --button-bg-pressed: var(--color-default);
    --button-fg: var(--color-default-foreground);
  }
  .button--outline {
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--border);
    --button-bg-hover: var(--color-default);
    @supports (color: color-mix(in lab, red, red)) {
      --button-bg-hover: color-mix(in srgb, var(--color-default) 60%, transparent);
    }
  }
  .button--danger {
    --button-bg: var(--color-danger);
    --button-bg-hover: var(--color-danger-hover);
    --button-bg-pressed: var(--color-danger-hover);
    --button-fg: var(--color-danger-foreground);
  }
  .button--danger-soft {
    --button-bg: var(--color-danger-soft);
    --button-bg-hover: var(--color-danger-soft-hover);
    --button-bg-pressed: var(--color-danger-soft-hover);
    --button-fg: var(--color-danger-soft-foreground);
  }
  .button--icon-only {
    width: calc(var(--spacing) * 10);
    padding: calc(var(--spacing) * 0);
    @media (width >= 48rem) {
      width: calc(var(--spacing) * 9);
    }
  }
  .button--icon-only.button--sm {
    width: calc(var(--spacing) * 9);
    @media (width >= 48rem) {
      width: calc(var(--spacing) * 8);
    }
  }
  .button--icon-only.button--lg {
    width: calc(var(--spacing) * 11);
    @media (width >= 48rem) {
      width: calc(var(--spacing) * 10);
    }
  }
  .button--full-width {
    width: 100%;
  }
  .button-group {
    display: inline-flex;
    height: auto;
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing) * 0);
  }
  .button-group--horizontal {
    flex-direction: row;
  }
  .button-group--vertical {
    flex-direction: column;
  }
  .button-group .button {
    border-radius: 0;
  }
  .button-group--horizontal .button:first-child {
    border-start-start-radius: calc(var(--radius) * 3);
    border-end-start-radius: calc(var(--radius) * 3);
  }
  .button-group--horizontal .button:last-child {
    border-start-end-radius: calc(var(--radius) * 3);
    border-end-end-radius: calc(var(--radius) * 3);
  }
  .button-group--horizontal .button:first-child:last-child {
    border-radius: calc(var(--radius) * 3);
  }
  .button-group--vertical .button:first-child {
    border-top-left-radius: calc(var(--radius) * 3);
    border-top-right-radius: calc(var(--radius) * 3);
  }
  .button-group--vertical .button:last-child {
    border-bottom-right-radius: calc(var(--radius) * 3);
    border-bottom-left-radius: calc(var(--radius) * 3);
  }
  .button-group--vertical .button:first-child:last-child {
    border-radius: calc(var(--radius) * 3);
  }
  .button-group .button:active, .button-group .button[data-pressed="true"] {
    transform: none;
  }
  .button-group .button:focus-visible:not(:focus), .button-group .button[data-focus-visible="true"] {
    --tw-ring-offset-width: 0px;
    --tw-ring-inset: inset;
  }
  .button-group__separator {
    background-color: currentcolor;
    opacity: 15%;
    border-radius: 4px;
    position: absolute;
    pointer-events: none;
    transition: opacity 150ms var(--ease-smooth);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    .button-group--horizontal & {
      left: -1px;
      top: 25%;
      width: 1px;
      height: 50%;
    }
    .button-group--vertical & {
      left: 25%;
      top: -1px;
      width: 50%;
      height: 1px;
    }
  }
  .button-group--horizontal .button--outline:first-child {
    border-inline-end-style: var(--tw-border-style);
    border-inline-end-width: 0px;
  }
  .button-group--horizontal .button--outline:last-child {
    border-inline-start-style: var(--tw-border-style);
    border-inline-start-width: 0px;
  }
  .button-group--horizontal .button--outline:not(:first-child):not(:last-child) {
    border-inline-style: var(--tw-border-style);
    border-inline-width: 0px;
  }
  .button-group--vertical .button--outline:first-child {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 0px;
  }
  .button-group--vertical .button--outline:last-child {
    border-top-style: var(--tw-border-style);
    border-top-width: 0px;
  }
  .button-group--vertical .button--outline:not(:first-child):not(:last-child) {
    border-block-style: var(--tw-border-style);
    border-block-width: 0px;
  }
  .button-group--full-width {
    width: 100%;
  }
  .toggle-button {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    height: calc(var(--spacing) * 10);
    width: fit-content;
    transform-origin: center;
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing) * 2);
    border-radius: calc(var(--radius) * 3);
    padding-inline: calc(var(--spacing) * 4);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
    --tw-outline-style: none;
    outline-style: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    @media (width >= 48rem) {
      height: calc(var(--spacing) * 9);
    }
    transition: transform 250ms var(--ease-smooth), background-color 100ms var(--ease-out), box-shadow 100ms var(--ease-out);
    transform: translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    cursor: var(--cursor-interactive);
    --toggle-button-bg: var(--color-default);
    --toggle-button-bg-hover: var(--color-default-hover);
    --toggle-button-bg-pressed: var(--color-default-hover);
    --toggle-button-fg: currentColor;
    --toggle-button-bg-selected: var(--color-accent-soft);
    --toggle-button-bg-selected-hover: var(--color-accent-soft-hover);
    --toggle-button-bg-selected-pressed: var(--color-accent-soft-hover);
    --toggle-button-fg-selected: var(--color-accent-soft-foreground);
    background-color: var(--toggle-button-bg);
    color: var(--toggle-button-fg);
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    &:disabled, &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
    @media (hover: hover) {
      &:hover, &[data-hovered="true"] {
        background-color: var(--toggle-button-bg-hover);
      }
    }
    &:active, &[data-pressed="true"] {
      background-color: var(--toggle-button-bg-pressed);
      transform: scale(0.97);
    }
    &[data-selected="true"] {
      background-color: var(--toggle-button-bg-selected);
      color: var(--toggle-button-fg-selected);
      @media (hover: hover) {
        &:hover, &[data-hovered="true"] {
          background-color: var(--toggle-button-bg-selected-hover);
        }
      }
      &:active, &[data-pressed="true"] {
        background-color: var(--toggle-button-bg-selected-pressed);
      }
    }
    & svg {
      pointer-events: none;
      margin-inline: calc(var(--spacing) * -0.5);
      margin-block: calc(var(--spacing) * 0.5);
      width: calc(var(--spacing) * 5);
      height: calc(var(--spacing) * 5);
      flex-shrink: 0;
      align-self: center;
      @media (width >= 40rem) {
        margin-block: calc(var(--spacing) * 1);
      }
      @media (width >= 40rem) {
        width: calc(var(--spacing) * 4);
        height: calc(var(--spacing) * 4);
      }
    }
  }
  .toggle-button--sm {
    height: calc(var(--spacing) * 9);
    padding-inline: calc(var(--spacing) * 3);
    @media (width >= 48rem) {
      height: calc(var(--spacing) * 8);
    }
    & svg {
      width: calc(var(--spacing) * 4);
      height: calc(var(--spacing) * 4);
    }
    &:active, &[data-pressed="true"] {
      transform: scale(0.98);
    }
  }
  .toggle-button--lg {
    height: calc(var(--spacing) * 11);
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    @media (width >= 48rem) {
      height: calc(var(--spacing) * 10);
    }
    &:active, &[data-pressed="true"] {
      transform: scale(0.96);
    }
  }
  .toggle-button--default {
    --toggle-button-bg: var(--color-default);
    --toggle-button-bg-hover: var(--color-default-hover);
    --toggle-button-bg-pressed: var(--color-default-hover);
  }
  .toggle-button--ghost {
    --toggle-button-bg: transparent;
    --toggle-button-bg-hover: var(--color-default);
    --toggle-button-bg-pressed: var(--color-default);
    --toggle-button-fg: var(--color-default-foreground);
  }
  .toggle-button--icon-only {
    width: calc(var(--spacing) * 10);
    padding: calc(var(--spacing) * 0);
    @media (width >= 48rem) {
      width: calc(var(--spacing) * 9);
    }
  }
  .toggle-button--icon-only.toggle-button--sm {
    width: calc(var(--spacing) * 9);
    @media (width >= 48rem) {
      width: calc(var(--spacing) * 8);
    }
  }
  .toggle-button--icon-only.toggle-button--lg {
    width: calc(var(--spacing) * 11);
    @media (width >= 48rem) {
      width: calc(var(--spacing) * 10);
    }
  }
  .toggle-button-group {
    display: inline-flex;
    height: auto;
    width: fit-content;
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing) * 0);
  }
  .toggle-button-group--horizontal {
    flex-direction: row;
  }
  .toggle-button-group--vertical {
    flex-direction: column;
  }
  .toggle-button-group--full-width {
    width: 100%;
  }
  .toggle-button-group .toggle-button {
    border-radius: 0;
  }
  .toggle-button-group--horizontal .toggle-button:first-child {
    border-start-start-radius: calc(var(--radius) * 3);
    border-end-start-radius: calc(var(--radius) * 3);
  }
  .toggle-button-group--horizontal .toggle-button:last-child {
    border-start-end-radius: calc(var(--radius) * 3);
    border-end-end-radius: calc(var(--radius) * 3);
  }
  .toggle-button-group--horizontal .toggle-button:first-child:last-child {
    border-radius: calc(var(--radius) * 3);
  }
  .toggle-button-group--vertical .toggle-button:first-child {
    border-top-left-radius: calc(var(--radius) * 3);
    border-top-right-radius: calc(var(--radius) * 3);
  }
  .toggle-button-group--vertical .toggle-button:last-child {
    border-bottom-right-radius: calc(var(--radius) * 3);
    border-bottom-left-radius: calc(var(--radius) * 3);
  }
  .toggle-button-group--vertical .toggle-button:first-child:last-child {
    border-radius: calc(var(--radius) * 3);
  }
  .toggle-button-group .toggle-button:active, .toggle-button-group .toggle-button[data-pressed="true"] {
    transform: none;
  }
  .toggle-button-group .toggle-button:focus-visible:not(:focus), .toggle-button-group .toggle-button[data-focus-visible="true"] {
    --tw-ring-offset-width: 0px;
    --tw-ring-inset: inset;
  }
  .toggle-button-group--full-width .toggle-button {
    flex: 1;
  }
  .toggle-button-group__separator {
    background-color: currentcolor;
    opacity: 15%;
    border-radius: 4px;
    position: absolute;
    pointer-events: none;
    transition: opacity 150ms var(--ease-smooth);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    .toggle-button-group--horizontal & {
      left: -1px;
      top: 25%;
      width: 1px;
      height: 50%;
    }
    .toggle-button-group--vertical & {
      left: 25%;
      top: -1px;
      width: 50%;
      height: 1px;
    }
  }
  .toggle-button-group--detached {
    gap: calc(var(--spacing) * 1);
  }
  .toggle-button-group--detached .toggle-button {
    border-radius: calc(var(--radius) * 3);
  }
  .toggle-button-group--detached .toggle-button-group__separator {
    display: none;
  }
  .toolbar {
    display: grid;
    width: fit-content;
    grid-auto-flow: column;
    align-items: center;
    gap: calc(var(--spacing) * 2);
    .separator--vertical {
      height: calc(1 / 2 * 100%);
      align-self: center;
    }
    .separator--horizontal {
      width: calc(1 / 2 * 100%);
      justify-content: center;
      justify-self: center;
    }
  }
  .toolbar--vertical {
    grid-auto-flow: row;
    align-items: flex-start;
    justify-content: flex-start;
    .button-group {
      justify-content: flex-start;
    }
  }
  .toolbar--attached {
    border-radius: calc(infinity * 1px);
    background-color: var(--surface);
    padding: calc(var(--spacing) * 1);
    --tw-shadow: var(--overlay-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .dropdown {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 1);
  }
  .dropdown__trigger {
    display: inline-block;
    --tw-outline-style: none;
    outline-style: none;
    transition: transform 250ms var(--ease-out-quart), background-color 150ms var(--ease-smooth), box-shadow 150ms var(--ease-out);
    transform: translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    cursor: var(--cursor-interactive);
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    &:disabled, &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
    &[data-pending="true"] {
      pointer-events: none;
    }
    &:active, &[data-pressed="true"] {
      transform: scale(0.97);
    }
  }
  .dropdown__popover {
    max-width: 48svw;
    transform-origin: var(--trigger-anchor-point);
    scroll-padding-block: calc(var(--spacing) * 1);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: calc(var(--radius) * 3);
    background-color: var(--overlay);
    padding: calc(var(--spacing) * 0);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    @media (width >= 48rem) {
      min-width: calc(var(--spacing) * 55);
    }
    box-shadow: var(--shadow-overlay);
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-outline-style: none;
      outline-style: none;
    }
    &[data-entering="true"] {
      animation: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 150ms;
      transition-duration: 150ms;
      --tw-ease: ease;
      transition-timing-function: ease;
      --tw-enter-opacity: calc(0/100);
      --tw-enter-opacity: 0;
      --tw-enter-scale: calc(90*1%);
      --tw-enter-scale: .9;
      &[data-placement="top"] {
        --tw-enter-translate-y: calc(1*var(--spacing));
      }
      &[data-placement="bottom"] {
        --tw-enter-translate-y: calc(1*var(--spacing)*-1);
      }
      &[data-placement="left"] {
        --tw-enter-translate-x: calc(1*var(--spacing));
      }
      &[data-placement="right"] {
        --tw-enter-translate-x: calc(1*var(--spacing)*-1);
      }
    }
    &[data-exiting="true"] {
      animation: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 100ms;
      transition-duration: 100ms;
      --tw-ease: ease;
      transition-timing-function: ease;
      --tw-exit-scale: calc(95*1%);
      --tw-exit-scale: .95;
      --tw-exit-opacity: 0;
    }
    &[data-exiting="true"], &[data-entering="true"] {
      will-change: opacity,transform;
    }
    & [data-slot="popover-overlay-arrow"] {
      fill: var(--overlay);
    }
    &[data-placement="bottom"] [data-slot="popover-overlay-arrow"] {
      rotate: 180deg;
    }
    &[data-placement="left"] [data-slot="popover-overlay-arrow"] {
      rotate: -90deg;
    }
    &[data-placement="right"] [data-slot="popover-overlay-arrow"] {
      rotate: 90deg;
    }
    [data-slot="dropdown-menu"] {
      padding: calc(var(--spacing) * 1.5);
      --tw-outline-style: none;
      outline-style: none;
    }
    [data-slot="menu-item"] {
      padding-inline: calc(var(--spacing) * 2.5);
    }
  }
  .dropdown__menu {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: calc(var(--spacing) * 0.5);
    overflow: clip;
    padding: calc(var(--spacing) * 1);
    [data-slot="separator"] {
      margin-left: 3%;
      width: 94%;
    }
  }
  .list-box-item {
    position: relative;
    display: flex;
    min-height: calc(var(--spacing) * 9);
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: calc(var(--spacing) * 3);
    border-radius: calc(var(--radius) * 2);
    padding-inline: calc(var(--spacing) * 2);
    padding-block: calc(var(--spacing) * 1.5);
    --tw-outline-style: none;
    outline-style: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 250ms var(--ease-out-quart), box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    cursor: var(--cursor-interactive);
    [data-slot="label"] {
      pointer-events: none;
      width: fit-content;
      -webkit-user-select: none;
      user-select: none;
    }
    [data-slot="description"] {
      pointer-events: none;
      text-wrap: wrap;
      -webkit-user-select: none;
      user-select: none;
    }
    &:has(.list-box-item__indicator) {
      padding-right: calc(var(--spacing) * 7);
    }
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    &:active, &[data-pressed="true"] {
      transform: scale(0.98);
    }
    @media (hover: hover) {
      &:hover, &[data-hovered="true"] {
        background-color: var(--default);
      }
    }
    &[data-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .list-box-item__indicator {
    position: absolute;
    top: calc(1 / 2 * 100%);
    right: calc(var(--spacing) * 2);
    display: flex;
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
    flex-shrink: 0;
    --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
    align-items: center;
    justify-content: center;
    color: var(--default-foreground);
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-duration: 250ms;
    transition-duration: 250ms;
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    [data-slot="list-box-item-indicator--checkmark"] {
      width: calc(var(--spacing) * 2.5);
      height: calc(var(--spacing) * 2.5);
      transition-property: all;
      transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
      transition-duration: var(--tw-duration, var(--default-transition-duration));
      --tw-duration: 300ms;
      transition-duration: 300ms;
      &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
          transition-property: none;
          &::before, &::after {
            transition-property: none;
          }
        }
      }
    }
    .list-box-item[aria-selected="true"] [data-slot="list-box-item-indicator--checkmark"], .list-box-item[data-selected="true"] [data-slot="list-box-item-indicator--checkmark"] {
      transition: stroke-dashoffset 250ms linear;
      &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
          transition-property: none;
          &::before, &::after {
            transition-property: none;
          }
        }
      }
    }
  }
  .list-box-item--danger {
    .list-box-item__indicator {
      color: var(--danger);
    }
    [data-slot="label"] {
      color: var(--danger);
    }
  }
  .list-box-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: calc(var(--spacing) * 0);
  }
  .list-box {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: calc(var(--spacing) * 1);
    overflow: clip;
    padding: calc(var(--spacing) * 1);
    [data-slot="separator"][data-orientation="horizontal"] {
      margin-left: 3%;
      width: 94%;
    }
  }
  .menu-item {
    position: relative;
    display: flex;
    min-height: calc(var(--spacing) * 9);
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: calc(var(--spacing) * 3);
    border-radius: calc(var(--radius) * 2);
    padding-inline: calc(var(--spacing) * 2);
    padding-block: calc(var(--spacing) * 1.5);
    --tw-outline-style: none;
    outline-style: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 250ms var(--ease-out-quart), box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    cursor: var(--cursor-interactive);
    [data-slot="label"] {
      pointer-events: none;
      width: fit-content;
      -webkit-user-select: none;
      user-select: none;
    }
    [data-slot="description"] {
      pointer-events: none;
      text-wrap: wrap;
      -webkit-user-select: none;
      user-select: none;
    }
    [data-slot="submenu-indicator"] svg {
      width: calc(var(--spacing) * 3.5);
      height: calc(var(--spacing) * 3.5);
    }
    &:has(.menu-item__indicator) {
      padding-left: calc(var(--spacing) * 7);
    }
    &[data-has-submenu="true"]:has(.menu-item__indicator) {
      padding-right: calc(var(--spacing) * 7);
      padding-left: calc(var(--spacing) * 2);
    }
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    &:active, &[data-pressed="true"] {
      transform: scale(0.98);
    }
    @media (hover: hover) {
      &:hover, &[data-hovered="true"] {
        background-color: var(--default);
      }
    }
    &[aria-checked="true"], &[aria-selected="true"], &[data-selected="true"] {
      [data-slot="menu-item-indicator--checkmark"] {
        transition: stroke-dashoffset 100ms linear;
        &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
          transition-property: none;
          &::before, &::after {
            transition-property: none;
          }
        }
        @media (prefers-reduced-motion: reduce) {
          &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
            transition-property: none;
            &::before, &::after {
              transition-property: none;
            }
          }
        }
      }
      [data-slot="menu-item-indicator--dot"] {
        --tw-scale-x: 100%;
        --tw-scale-y: 100%;
        --tw-scale-z: 100%;
        scale: var(--tw-scale-x) var(--tw-scale-y);
        opacity: 100%;
      }
    }
    &[data-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .menu-item__indicator {
    position: absolute;
    top: calc(1 / 2 * 100%);
    left: calc(var(--spacing) * 2);
    display: flex;
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
    flex-shrink: 0;
    --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-duration: 250ms;
    transition-duration: 250ms;
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    .menu-item[data-has-submenu="true"] & {
      right: calc(var(--spacing) * 2);
      left: auto;
    }
    [data-slot="menu-item-indicator--checkmark"] {
      width: calc(var(--spacing) * 2.5);
      height: calc(var(--spacing) * 2.5);
      .menu-item[data-selection-mode="multiple"] & {
        transition-property: all;
        transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
        transition-duration: var(--tw-duration, var(--default-transition-duration));
        --tw-duration: 300ms;
        transition-duration: 300ms;
        &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
          transition-property: none;
          &::before, &::after {
            transition-property: none;
          }
        }
        @media (prefers-reduced-motion: reduce) {
          &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
            transition-property: none;
            &::before, &::after {
              transition-property: none;
            }
          }
        }
      }
    }
    [data-slot="menu-item-indicator--dot"] {
      width: calc(var(--spacing) * 2);
      height: calc(var(--spacing) * 2);
      .menu-item[data-selection-mode="multiple"] & {
        transition-property: all;
        transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
        transition-duration: var(--tw-duration, var(--default-transition-duration));
        --tw-duration: 250ms;
        transition-duration: 250ms;
        &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
          transition-property: none;
          &::before, &::after {
            transition-property: none;
          }
        }
        @media (prefers-reduced-motion: reduce) {
          &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
            transition-property: none;
            &::before, &::after {
              transition-property: none;
            }
          }
        }
      }
      --tw-scale-x: 70%;
      --tw-scale-y: 70%;
      --tw-scale-z: 70%;
      scale: var(--tw-scale-x) var(--tw-scale-y);
      opacity: 0%;
    }
  }
  .menu-item__indicator--submenu {
    color: var(--muted);
    svg {
      width: calc(var(--spacing) * 3);
      height: calc(var(--spacing) * 3);
    }
  }
  .menu-item--danger {
    .menu-item__indicator {
      color: var(--danger);
    }
    [data-slot="label"] {
      color: var(--danger);
    }
  }
  .menu-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: calc(var(--spacing) * 0);
  }
  .menu {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: calc(var(--spacing) * 1);
    overflow: clip;
    padding: calc(var(--spacing) * 1);
    [data-slot="separator"] {
      margin-left: 3%;
      width: 94%;
    }
  }
  .tag-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 1);
  }
  .tag-group__list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--spacing) * 1.5);
  }
  .tag-group [slot="description"], .tag-group [data-slot="description"], .tag-group [slot="errorMessage"], .tag-group [data-slot="error-message"] {
    padding: calc(var(--spacing) * 1);
  }
  .tag {
    --optical-offset: 0.031em;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: calc(var(--spacing) * 1);
    border-radius: calc(infinity * 1px);
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: color 100ms var(--ease-smooth), scale 100ms var(--ease-smooth), opacity 100ms var(--ease-smooth), background-color 100ms var(--ease-smooth), box-shadow 100ms var(--ease-out);
    transform-origin: center;
    transform: translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    cursor: var(--cursor-interactive);
    & svg {
      pointer-events: none;
      width: calc(var(--spacing) * 3);
      height: calc(var(--spacing) * 3);
      flex-shrink: 0;
      align-self: center;
      color: currentcolor;
    }
  }
  .tag:is([data-disabled="true"], [aria-disabled="true"]) {
    opacity: var(--disabled-opacity);
    cursor: var(--cursor-disabled);
    pointer-events: none;
  }
  .tag:is(:focus-visible, [data-focus-visible]) {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
    --tw-ring-color: var(--focus);
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-offset-color: var(--background);
    --tw-outline-style: none;
    outline-style: none;
    --tw-ring-offset-width: var(--ring-offset-width);
  }
  .tag:is([data-selected="true"], [aria-selected="true"]) {
    background-color: var(--accent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--accent) 15%, transparent);
    }
    color: var(--accent);
    @media (hover: hover) {
      &:is(:hover, [data-hovered="true"]) {
        background-color: var(--accent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--accent) 20%, transparent);
        }
      }
    }
  }
  .tag--sm {
    padding-inline: calc(var(--spacing) * 2);
    padding-block: calc(var(--spacing) * 0.5);
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .tag--md {
    padding-inline: calc(var(--spacing) * 2);
    padding-block: calc(var(--spacing) * 1);
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .tag--lg {
    padding-inline: calc(var(--spacing) * 2.5);
    padding-block: calc(var(--spacing) * 1.5);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .tag--default {
    background-color: var(--default);
    color: var(--default-foreground);
    @media (hover: hover) {
      &:is(:hover, [data-hovered="true"]):not([data-selected="true"]):not([data-disabled="true"]) {
        background-color: var(--default);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--default) 96%, var(--default-foreground) 4%);
        }
      }
    }
  }
  .tag--surface {
    background-color: var(--surface);
    color: var(--surface-foreground);
    @media (hover: hover) {
      &:is(:hover, [data-hovered="true"]):not([data-selected="true"]):not([data-disabled="true"]) {
        background-color: var(--surface);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--surface) 92%, var(--surface-foreground) 8%);
        }
      }
    }
  }
  .tag__remove-button {
    width: calc(var(--spacing) * 3);
    height: calc(var(--spacing) * 3);
    color: inherit;
    & svg {
      width: inherit;
      height: inherit;
      flex-shrink: 0;
      align-self: center;
      color: currentcolor;
    }
  }
  .color-area {
    position: relative;
    width: 100%;
    max-width: calc(var(--spacing) * 56);
    flex-shrink: 0;
    border-radius: calc(var(--radius) * 2);
    -webkit-tap-highlight-color: transparent;
    aspect-ratio: 1 / 1;
    background: var(--color-area-background);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
    &[data-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .color-area--show-dots {
    &::after {
      content: "";
      pointer-events: none;
      position: absolute;
      inset: calc(var(--spacing) * 0);
      border-radius: inherit;
      background-image: radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
      background-size: 8px 8px;
    }
  }
  .color-area__thumb {
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
    border-radius: calc(infinity * 1px);
    will-change: width,height;
    background-color: var(--color-area-thumb-color);
    border: 3px solid white;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(0, 0, 0, 0.1);
    transition: width 150ms var(--ease-out), height 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    &[data-dragging="true"] {
      width: calc(var(--spacing) * 5);
      height: calc(var(--spacing) * 5);
    }
    &[data-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .color-picker {
    display: inline-flex;
  }
  .color-picker__trigger {
    display: inline-flex;
    align-items: center;
    gap: calc(var(--spacing) * 3);
    border-radius: calc(var(--radius) * 0.5);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    -webkit-tap-highlight-color: transparent;
    cursor: var(--cursor-interactive);
    transition: background-color 150ms var(--ease-smooth), box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    [data-slot="label"] {
      cursor: var(--cursor-interactive);
    }
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    &:disabled, &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .color-picker__popover {
    min-width: calc(var(--spacing) * 62);
    transform-origin: var(--trigger-anchor-point);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: var(--overlay);
    padding-inline: calc(var(--spacing) * 2);
    padding-top: calc(var(--spacing) * 2);
    padding-bottom: calc(var(--spacing) * 3);
    box-shadow: var(--shadow-overlay);
    border-radius: calc(var(--radius) * 2.5);
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 3);
    &::-webkit-scrollbar {
      display: none;
    }
    -ms-overflow-style: none;
    scrollbar-width: none;
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-outline-style: none;
      outline-style: none;
    }
    &[data-entering="true"] {
      animation: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 150ms;
      transition-duration: 150ms;
      --tw-ease: ease;
      transition-timing-function: ease;
      --tw-enter-opacity: calc(0/100);
      --tw-enter-opacity: 0;
      --tw-enter-scale: calc(95*1%);
      --tw-enter-scale: .95;
      &[data-placement^="top"] {
        --tw-enter-translate-y: calc(1*var(--spacing));
      }
      &[data-placement^="bottom"] {
        --tw-enter-translate-y: calc(1*var(--spacing)*-1);
      }
      &[data-placement^="left"] {
        --tw-enter-translate-x: calc(1*var(--spacing));
      }
      &[data-placement^="right"] {
        --tw-enter-translate-x: calc(1*var(--spacing)*-1);
      }
    }
    &[data-exiting="true"] {
      animation: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 100ms;
      transition-duration: 100ms;
      --tw-ease: ease;
      transition-timing-function: ease;
      --tw-exit-scale: calc(95*1%);
      --tw-exit-scale: .95;
      --tw-exit-opacity: 0;
    }
    &[data-exiting="true"], &[data-entering="true"] {
      will-change: opacity,transform;
    }
  }
  .color-slider {
    display: grid;
    width: 100%;
    gap: calc(var(--spacing) * 1);
    grid-template-areas: "label output" "track track";
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    &:not(:has([data-slot="label"])):not(:has(.color-slider__output)) {
      grid-template-areas: "track";
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      gap: 0;
    }
    &:has([data-slot="label"]):not(:has(.color-slider__output)) {
      grid-template-areas: "label" "track";
      grid-template-columns: 1fr;
    }
    &:not(:has([data-slot="label"])):has(.color-slider__output) {
      grid-template-areas: "output" "track";
      grid-template-columns: 1fr;
      .color-slider__output {
        justify-self: end;
      }
    }
    [data-slot="label"] {
      width: fit-content;
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
      --tw-font-weight: var(--font-weight-medium);
      font-weight: var(--font-weight-medium);
      grid-area: label;
    }
    .color-slider__output {
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
      --tw-font-weight: var(--font-weight-medium);
      font-weight: var(--font-weight-medium);
      --tw-numeric-spacing: tabular-nums;
      font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
      grid-area: output;
    }
    .color-slider__track {
      position: relative;
      border-radius: calc(infinity * 1px);
      grid-area: track;
      &::before, &::after {
        content: "";
        position: absolute;
        z-index: 0;
        pointer-events: none;
      }
    }
    .color-slider__thumb {
      position: absolute;
      display: flex;
      cursor: grab;
      align-items: center;
      justify-content: center;
      border-radius: calc(infinity * 1px);
      -webkit-tap-highlight-color: transparent;
      border-style: var(--tw-border-style);
      border-width: 3px;
      border-color: var(--color-white);
      --tw-shadow: var(--overlay-shadow);
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
      z-index: 1;
      transition: transform 250ms var(--ease-out), box-shadow 150ms var(--ease-out);
      &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
          transition-property: none;
          &::before, &::after {
            transition-property: none;
          }
        }
      }
      &[data-dragging="true"] {
        cursor: grabbing;
      }
      &[data-focus-visible="true"] {
        z-index: 10;
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--focus);
        --tw-ring-offset-width: 0px;
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-color: var(--background);
        --tw-outline-style: none;
        outline-style: none;
        --tw-ring-offset-width: var(--ring-offset-width);
      }
      &[data-disabled="true"] {
        cursor: default;
        background-color: var(--default);
      }
    }
    &:disabled, &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
      [data-slot="label"] {
        opacity: 100%;
      }
    }
    &[data-orientation="horizontal"] {
      flex-direction: column;
      .color-slider__track {
        height: calc(var(--spacing) * 5);
        justify-self: center;
        border-radius: 0;
        width: calc(100% - 1.25rem);
        box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.1), inset 0 -1px 0 0 rgba(0, 0, 0, 0.1);
        &::before, &::after {
          top: calc(var(--spacing) * 0);
          height: 100%;
          width: 0.625rem;
        }
        &::before {
          left: -0.625rem;
          border-top-left-radius: 999px;
          border-bottom-left-radius: 999px;
          box-shadow: inset 1px 0 0 0 rgba(0, 0, 0, 0.1), inset 0 1px 0 0 rgba(0, 0, 0, 0.1), inset 0 -1px 0 0 rgba(0, 0, 0, 0.1);
          background: linear-gradient(var(--track-start-color, transparent)), repeating-conic-gradient(#efefef 0% 25%, #f7f7f7 0% 50%) 50% / 16px 16px;
        }
        &::after {
          right: -0.625rem;
          border-top-right-radius: 999px;
          border-bottom-right-radius: 999px;
          box-shadow: inset -1px 0 0 0 rgba(0, 0, 0, 0.1), inset 0 1px 0 0 rgba(0, 0, 0, 0.1), inset 0 -1px 0 0 rgba(0, 0, 0, 0.1);
          background-color: var(--track-end-color, transparent);
        }
      }
      .color-slider__thumb {
        top: calc(1 / 2 * 100%);
        width: calc(var(--spacing) * 4);
        height: calc(var(--spacing) * 4);
      }
    }
    &[data-orientation="vertical"] {
      height: 100%;
      gap: calc(var(--spacing) * 2);
      flex-direction: row;
      grid-template-areas: "output" "track" "label";
      grid-template-rows: auto 1fr auto;
      grid-template-columns: 1fr;
      align-items: center;
      justify-items: center;
      &:not(:has([data-slot="label"])):not(:has(.color-slider__output)) {
        grid-template-areas: "track";
        grid-template-rows: 1fr;
        gap: 0;
      }
      &:has([data-slot="label"]):not(:has(.color-slider__output)) {
        grid-template-areas: "track" "label";
        grid-template-rows: 1fr auto;
      }
      &:not(:has([data-slot="label"])):has(.color-slider__output) {
        grid-template-areas: "output" "track";
        grid-template-rows: auto 1fr;
      }
      .color-slider__output {
        text-align: center;
      }
      [data-slot="label"] {
        text-align: center;
      }
      .color-slider__track {
        width: calc(var(--spacing) * 5);
        justify-self: center;
        border-radius: 0;
        height: calc(100% - 1.25rem);
        box-shadow: inset 1px 0 0 0 rgba(0, 0, 0, 0.1), inset -1px 0 0 0 rgba(0, 0, 0, 0.1);
        &::before, &::after {
          left: calc(var(--spacing) * 0);
          width: 100%;
          height: 0.625rem;
        }
        &::before {
          bottom: -0.625rem;
          border-bottom-left-radius: 999px;
          border-bottom-right-radius: 999px;
          box-shadow: inset 1px 0 0 0 rgba(0, 0, 0, 0.1), inset -1px 0 0 0 rgba(0, 0, 0, 0.1), inset 0 -1px 0 0 rgba(0, 0, 0, 0.1);
          background: linear-gradient(var(--track-start-color, transparent)), repeating-conic-gradient(#efefef 0% 25%, #f7f7f7 0% 50%) 50% / 16px 16px;
        }
        &::after {
          top: -0.625rem;
          border-top-left-radius: 999px;
          border-top-right-radius: 999px;
          box-shadow: inset 1px 0 0 0 rgba(0, 0, 0, 0.1), inset -1px 0 0 0 rgba(0, 0, 0, 0.1), inset 0 1px 0 0 rgba(0, 0, 0, 0.1);
          background-color: var(--track-end-color, transparent);
        }
      }
      .color-slider__thumb {
        left: calc(1 / 2 * 100%);
        width: calc(var(--spacing) * 4);
        height: calc(var(--spacing) * 4);
      }
    }
  }
  .color-swatch {
    position: relative;
    box-sizing: border-box;
    width: calc(var(--spacing) * 8);
    height: calc(var(--spacing) * 8);
    flex-shrink: 0;
    background: linear-gradient(var(--color-swatch-current), var(--color-swatch-current)), repeating-conic-gradient(#efefef 0% 25%, #f7f7f7 0% 50%) 50% / 16px 16px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  }
  .color-swatch--circle {
    border-radius: calc(infinity * 1px);
  }
  .color-swatch--square {
    border-radius: calc(var(--radius) * 0.75);
  }
  .color-swatch--xs {
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
  }
  .color-swatch--sm {
    width: calc(var(--spacing) * 6);
    height: calc(var(--spacing) * 6);
  }
  .color-swatch--lg {
    width: calc(var(--spacing) * 9);
    height: calc(var(--spacing) * 9);
  }
  .color-swatch--xl {
    width: calc(var(--spacing) * 10);
    height: calc(var(--spacing) * 10);
  }
  .color-swatch-picker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(var(--spacing) * 2);
  }
  .color-swatch-picker__item {
    position: relative;
    display: flex;
    width: calc(var(--spacing) * 8);
    height: calc(var(--spacing) * 8);
    align-items: center;
    justify-content: center;
    border-radius: calc(infinity * 1px);
    border-style: var(--tw-border-style);
    border-width: 2px;
    border-color: transparent;
    --tw-outline-style: none;
    outline-style: none;
    -webkit-tap-highlight-color: transparent;
    cursor: var(--cursor-interactive);
    transition: border-color 100ms var(--ease-out), box-shadow 100ms var(--ease-out);
    transform: translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    &:focus-visible, &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    &[data-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
    &[data-selected="true"] {
      border-color: var(--color-swatch-current);
      box-shadow: var(--field-shadow);
      .color-swatch-picker__swatch {
        transform: scale(0.77);
      }
    }
  }
  .color-swatch-picker__swatch {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    transition: transform 100ms var(--ease-out);
    transform: translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    @media (hover: hover) {
      &:hover {
        transform: scale(1.1);
      }
    }
  }
  .color-swatch-picker__indicator {
    pointer-events: none;
    position: absolute;
    inset: calc(var(--spacing) * 0);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    & > * {
      width: calc(1 / 3 * 100%);
      height: calc(1 / 3 * 100%);
      color: var(--color-white);
      transform: scale(0) translateZ(0);
      transition: transform 150ms var(--ease-out);
      &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
          transition-property: none;
          &::before, &::after {
            transition-property: none;
          }
        }
      }
    }
    &[data-light-color="true"] & > * {
      color: var(--color-black);
    }
    .color-swatch-picker__item[data-selected="true"] & > * {
      transform: scale(1) translateZ(0);
    }
  }
  .color-swatch-picker--stack {
    flex-direction: column;
  }
  .color-swatch-picker--xs {
    .color-swatch-picker__item {
      width: calc(var(--spacing) * 4);
      height: calc(var(--spacing) * 4);
      border-style: var(--tw-border-style);
      border-width: 1px;
    }
  }
  .color-swatch-picker--sm {
    .color-swatch-picker__item {
      width: calc(var(--spacing) * 6);
      height: calc(var(--spacing) * 6);
      border-style: var(--tw-border-style);
      border-width: 2px;
    }
  }
  .color-swatch-picker--lg {
    .color-swatch-picker__item {
      width: calc(var(--spacing) * 9);
      height: calc(var(--spacing) * 9);
      border-style: var(--tw-border-style);
      border-width: 3px;
    }
  }
  .color-swatch-picker--xl {
    .color-swatch-picker__item {
      width: calc(var(--spacing) * 10);
      height: calc(var(--spacing) * 10);
      border-style: var(--tw-border-style);
      border-width: 3px;
    }
  }
  .color-swatch-picker--square {
    .color-swatch-picker__item {
      border-radius: calc(var(--radius) * 1.5);
      .color-swatch-picker__swatch {
        border-radius: calc(var(--radius) * 1);
      }
      &[data-selected="true"] {
        .color-swatch-picker__swatch {
          border-radius: calc(var(--radius) * 1);
        }
      }
    }
  }
  .color-swatch-picker--square.color-swatch-picker--xs {
    .color-swatch-picker__item {
      border-radius: calc(var(--radius) * 0.75);
      .color-swatch-picker__swatch {
        border-radius: calc(var(--radius) * 0.75);
      }
      &[data-selected="true"] {
        .color-swatch-picker__swatch {
          border-radius: calc(var(--radius) * 0.75);
        }
      }
    }
  }
  .color-swatch-picker--square.color-swatch-picker--sm {
    .color-swatch-picker__item {
      border-radius: calc(var(--radius) * 1);
      .color-swatch-picker__swatch {
        border-radius: calc(var(--radius) * 1);
      }
      &[data-selected="true"] {
        .color-swatch-picker__swatch {
          border-radius: calc(var(--radius) * 0.75);
        }
      }
    }
  }
  .color-swatch-picker--square.color-swatch-picker--lg {
    .color-swatch-picker__item {
      border-radius: calc(var(--radius) * 1.5);
      .color-swatch-picker__swatch {
        border-radius: calc(var(--radius) * 1);
      }
      &[data-selected="true"] {
        .color-swatch-picker__swatch {
          border-radius: calc(var(--radius) * 1);
        }
      }
    }
  }
  .color-swatch-picker--square.color-swatch-picker--xl {
    .color-swatch-picker__item {
      border-radius: calc(var(--radius) * 1.5);
      .color-swatch-picker__swatch {
        border-radius: calc(var(--radius) * 1);
      }
      &[data-selected="true"] {
        .color-swatch-picker__swatch {
          border-radius: calc(var(--radius) * 1);
        }
      }
    }
  }
  .color-input-group {
    display: inline-flex;
    height: calc(var(--spacing) * 9);
    align-items: center;
    overflow: hidden;
    border-radius: var(--field-radius, calc(var(--radius) * 1.5));
    border-style: var(--tw-border-style);
    border-width: 1px;
    background-color: var(--field-background, var(--default));
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--field-foreground, var(--foreground));
    --tw-shadow: var(--field-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    --tw-outline-style: none;
    outline-style: none;
    border-width: var(--border-width-field);
    border-color: var(--color-field-border);
    transition: background-color 150ms var(--ease-smooth), border-color 150ms var(--ease-smooth), box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    @media (hover: hover) {
      &:hover:not(:focus-within), &[data-hovered="true"]:not([data-focus-within="true"]) {
        background-color: var(--field-background, var(--default));
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(
    in oklab,
    var(--field-background, var(--default)) 90%,
    var(--field-foreground, var(--foreground)) 2%
  );
        }
        border-color: var(--color-field-border-hover);
      }
    }
    &[data-focus-within="true"], &:focus-within {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: 0px;
    }
    &[data-invalid="true"] {
      outline-style: var(--tw-outline-style);
      outline-width: 1px;
      outline-color: var(--danger);
      --tw-outline-style: solid;
      outline-style: solid;
      --tw-ring-offset-width: 3px;
      &:focus, &:focus-visible, &[data-focused="true"], &[data-focus-visible="true"], &:focus-within, &[data-focus-within="true"] {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--danger);
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-width: 0px;
      }
      background-color: var(--color-field-focus);
      border-color: var(--color-field-border-invalid);
    }
    &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .color-input-group__input {
    display: flex;
    height: 100%;
    flex: 1;
    cursor: text;
    align-items: center;
    border-radius: 0;
    border-style: var(--tw-border-style);
    border-width: 0px;
    background-color: transparent;
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 2);
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    --tw-outline-style: none;
    outline-style: none;
    @media (width >= 40rem) {
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
    }
    &::placeholder {
      color: var(--field-placeholder, var(--muted));
    }
    .color-input-group:has([data-slot="color-input-group-prefix"]) & {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
      padding-left: calc(var(--spacing) * 2);
    }
    .color-input-group:has([data-slot="color-input-group-suffix"]) & {
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
      padding-right: calc(var(--spacing) * 2);
    }
    &:focus, &:focus-visible {
      --tw-outline-style: none;
      outline-style: none;
    }
  }
  .color-input-group__prefix {
    flex-shrink: 0;
    color: var(--field-placeholder, var(--muted));
    margin-right: calc(var(--spacing) * 0);
    margin-left: calc(var(--spacing) * 3);
    display: flex;
    align-items: center;
  }
  .color-input-group__suffix {
    flex-shrink: 0;
    color: var(--field-placeholder, var(--muted));
    margin-right: calc(var(--spacing) * 3);
    display: flex;
    align-items: center;
  }
  .color-input-group--secondary {
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    background-color: var(--color-input-group-bg);
    --color-input-group-bg: var(--color-default);
    --color-input-group-bg-hover: var(--color-default-hover);
    --color-input-group-bg-focus: var(--color-default);
    @media (hover: hover) {
      &:hover:not(:focus-within), &[data-hovered="true"]:not([data-focus-within="true"]) {
        background-color: var(--color-input-group-bg-hover);
      }
    }
    &:focus-within, &[data-focus-within="true"] {
      background-color: var(--color-input-group-bg-focus);
    }
    &[data-invalid="true"] {
      outline-style: var(--tw-outline-style);
      outline-width: 1px;
      outline-color: var(--danger);
      --tw-outline-style: solid;
      outline-style: solid;
      --tw-ring-offset-width: 3px;
      &:focus, &:focus-visible, &[data-focused="true"], &[data-focus-visible="true"], &:focus-within, &[data-focus-within="true"] {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--danger);
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-width: 0px;
      }
      border-color: var(--color-field-border-invalid);
      background-color: var(--color-input-group-bg-focus);
    }
    [data-slot="color-input-group-input"] {
      background-color: transparent;
    }
  }
  .color-input-group--full-width {
    width: 100%;
  }
  .color-field {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 1);
    &[data-invalid="true"], &[aria-invalid="true"] {
      [data-slot="description"] {
        display: none;
      }
    }
    [data-slot="label"] {
      width: fit-content;
    }
    [data-slot="description"] {
      padding-inline: calc(var(--spacing) * 1);
    }
  }
  .color-field--full-width {
    width: 100%;
  }
  .slider {
    display: grid;
    width: 100%;
    gap: calc(var(--spacing) * 1);
    grid-template-areas: "label output" "track track";
    grid-template-columns: 1fr auto;
    [data-slot="label"] {
      width: fit-content;
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
      --tw-font-weight: var(--font-weight-medium);
      font-weight: var(--font-weight-medium);
      grid-area: label;
    }
    .slider__output {
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
      --tw-font-weight: var(--font-weight-medium);
      font-weight: var(--font-weight-medium);
      --tw-numeric-spacing: tabular-nums;
      font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
      grid-area: output;
    }
    .slider__track {
      position: relative;
      border-radius: calc(infinity * 1px);
      background-color: var(--default);
      grid-area: track;
    }
    .slider__fill {
      pointer-events: none;
      position: absolute;
      background-color: var(--accent);
    }
    .slider__thumb {
      position: absolute;
      display: flex;
      cursor: grab;
      align-items: center;
      justify-content: center;
      border-radius: calc(infinity * 1px);
      background-color: var(--accent);
      -webkit-tap-highlight-color: transparent;
      transition: background-color 250ms var(--ease-smooth), transform 250ms var(--ease-out), box-shadow 150ms var(--ease-out);
      &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
          transition-property: none;
          &::before, &::after {
            transition-property: none;
          }
        }
      }
      &::after {
        position: relative;
        z-index: 10;
        border-radius: calc(infinity * 1px);
        background-color: var(--accent-foreground);
        color: var(--color-black);
        --tw-shadow: var(--field-shadow);
        box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
        content: "";
        transform-origin: center;
        transition-property: all;
        transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
        transition-duration: var(--tw-duration, var(--default-transition-duration));
        &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
          transition-property: none;
          &::before, &::after {
            transition-property: none;
          }
        }
        @media (prefers-reduced-motion: reduce) {
          &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
            transition-property: none;
            &::before, &::after {
              transition-property: none;
            }
          }
        }
      }
      &[data-dragging="true"] {
        cursor: grabbing;
        &::after {
          scale: 0.9;
          &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
            --tw-scale-x: 100%;
            --tw-scale-y: 100%;
            --tw-scale-z: 100%;
            scale: var(--tw-scale-x) var(--tw-scale-y);
            &::before, &::after {
              --tw-scale-x: 100%;
              --tw-scale-y: 100%;
              --tw-scale-z: 100%;
              scale: var(--tw-scale-x) var(--tw-scale-y);
            }
          }
          @media (prefers-reduced-motion: reduce) {
            &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
              --tw-scale-x: 100%;
              --tw-scale-y: 100%;
              --tw-scale-z: 100%;
              scale: var(--tw-scale-x) var(--tw-scale-y);
              &::before, &::after {
                --tw-scale-x: 100%;
                --tw-scale-y: 100%;
                --tw-scale-z: 100%;
                scale: var(--tw-scale-x) var(--tw-scale-y);
              }
            }
          }
        }
      }
      &[data-focus-visible="true"] {
        z-index: 10;
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--focus);
        --tw-ring-offset-width: 0px;
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-color: var(--background);
        --tw-outline-style: none;
        outline-style: none;
        --tw-ring-offset-width: var(--ring-offset-width);
      }
      &[data-disabled="true"] {
        cursor: default;
      }
    }
    &:disabled, &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
      [data-slot="label"] {
        opacity: 100%;
      }
    }
    &[data-orientation="horizontal"] {
      flex-direction: column;
      .slider__track {
        height: calc(var(--spacing) * 5);
        width: 100%;
        border-inline-style: var(--tw-border-style);
        border-inline-width: 0.75rem;
        border-inline-color: transparent;
        &[data-fill-start="true"] {
          border-inline-start-color: var(--accent);
        }
        &[data-fill-end="true"] {
          border-inline-end-color: var(--accent);
        }
      }
      .slider__fill, .slider__thumb {
        height: 100%;
      }
      .slider__thumb {
        top: calc(1 / 2 * 100%);
        width: calc(1.5rem + 0.25rem);
        &::after {
          width: 1.5rem;
          height: 1rem;
        }
      }
    }
    &[data-orientation="vertical"] {
      height: 100%;
      gap: calc(var(--spacing) * 2);
      flex-direction: row;
      grid-template-areas: "output" "track" "label";
      grid-template-rows: auto 1fr auto;
      grid-template-columns: 1fr;
      .slider__output {
        text-align: center;
      }
      [data-slot="label"] {
        text-align: center;
      }
      .slider__track {
        height: 100%;
        width: calc(var(--spacing) * 5);
        border-block-style: var(--tw-border-style);
        border-block-width: 0.75rem;
        border-block-color: transparent;
        justify-self: center;
        &[data-fill-start="true"] {
          border-bottom-color: var(--accent);
        }
        &[data-fill-end="true"] {
          border-top-color: var(--accent);
        }
      }
      .slider__fill, .slider__thumb {
        width: 100%;
      }
      .slider__thumb {
        left: calc(1 / 2 * 100%);
        height: calc(1.5rem + 0.25rem);
        &::after {
          width: 1rem;
          height: 1.5rem;
        }
      }
    }
  }
  .switch {
    display: inline-flex;
    align-items: center;
    gap: calc(var(--spacing) * 3);
    -webkit-tap-highlight-color: transparent;
    cursor: var(--cursor-interactive);
    --switch-control-bg: var(--color-default);
    --switch-control-bg-hover: var(--switch-control-bg);
    @supports (color: color-mix(in lab, red, red)) {
      --switch-control-bg-hover: color-mix(in oklab, var(--switch-control-bg), transparent 20%);
    }
    --switch-control-bg-pressed: var(--switch-control-bg-hover);
    --switch-control-bg-checked: var(--color-accent);
    --switch-control-bg-checked-hover: var(--color-accent-hover);
    &:disabled, &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
      .switch__thumb {
        background-color: var(--default-foreground);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--default-foreground) 20%, transparent);
        }
      }
    }
    &:disabled[aria-checked="true"], &:disabled[data-selected="true"], &[data-disabled="true"][aria-checked="true"], &[data-disabled="true"][data-selected="true"], &[aria-disabled="true"][aria-checked="true"], &[aria-disabled="true"][data-selected="true"] {
      .switch__thumb {
        opacity: 0.4;
      }
    }
  }
  .switch__control {
    position: relative;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    overflow: hidden;
    border-radius: calc(infinity * 1px);
    height: 1.25rem;
    width: 2.5rem;
    background-color: var(--switch-control-bg);
    transition: background-color 250ms var(--ease-smooth), box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    .switch:focus-visible &, .switch[data-focus-visible="true"] & {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    .switch:hover &, .switch[data-hovered="true"] & {
      background-color: var(--switch-control-bg-hover);
    }
    .switch:active &, .switch[data-pressed="true"] & {
      background-color: var(--switch-control-bg-pressed);
      &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
        transform: none;
        &::before, &::after {
          transform: none;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
          transform: none;
          &::before, &::after {
            transform: none;
          }
        }
      }
    }
    .switch[aria-checked="true"] &, .switch[data-selected="true"] & {
      background-color: var(--switch-control-bg-checked);
    }
    .switch[aria-checked="true"]:hover &, .switch[data-selected="true"]:hover &, .switch[aria-checked="true"][data-hovered="true"] &, .switch[data-selected="true"][data-hovered="true"] & {
      background-color: var(--switch-control-bg-checked-hover);
    }
    .switch[aria-checked="true"]:active &, .switch[data-selected="true"]:active &, .switch[aria-checked="true"][data-pressed="true"] &, .switch[data-selected="true"][data-pressed="true"] & {
      background-color: var(--switch-control-bg-checked-hover);
    }
  }
  .switch--sm .switch__control {
    height: 1rem;
    width: 2rem;
  }
  .switch--lg .switch__control {
    height: 1.5rem;
    width: 3rem;
  }
  .switch__thumb {
    margin-inline-start: calc(var(--spacing) * 0.5);
    display: flex;
    transform-origin: center;
    border-radius: calc(infinity * 1px);
    background-color: var(--color-white);
    color: var(--color-black);
    --tw-shadow: var(--field-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    height: 1rem;
    width: 1.375rem;
    transition: margin 300ms var(--ease-out-fluid), background-color 200ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    .switch[aria-checked="true"] &, .switch[data-selected="true"] & {
      margin-inline-start: calc(100% - 1.5rem);
      background-color: var(--accent-foreground);
      color: var(--accent);
      box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 0.02), 0px 2px 10px 0px rgb(0 0 0 / 0.06), 0px 0px 1px 0px rgb(0 0 0 / 0.3);
    }
  }
  .switch--sm .switch__thumb {
    height: 0.75rem;
    width: 1.03125rem;
    .switch[aria-checked="true"] &, .switch[data-selected="true"] & {
      margin-inline-start: calc(100% - 1.15625rem);
    }
  }
  .switch--lg .switch__thumb {
    height: 1.25rem;
    width: 1.71875rem;
    .switch[aria-checked="true"] &, .switch[data-selected="true"] & {
      margin-inline-start: calc(100% - 1.84375rem);
    }
  }
  .switch__thumb > * {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
  }
  .switch__label {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--foreground);
  }
  .switch__content {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 0);
  }
  .switch-group {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 6);
  }
  .switch-group__items {
    display: flex;
    gap: calc(var(--spacing) * 4);
  }
  .switch-group--horizontal .switch-group__items {
    flex-direction: row;
  }
  .switch-group--vertical .switch-group__items {
    flex-direction: column;
  }
  .badge {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing) * 0.5);
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    min-height: calc(var(--spacing) * 7);
    min-width: calc(var(--spacing) * 7);
    border-radius: calc(var(--radius) * 3);
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
    --tw-leading: 1.34;
    line-height: 1.34;
    --badge-bg: var(--color-default);
    --badge-fg: var(--color-default-foreground);
    --badge-border: var(--color-background);
    background-color: var(--badge-bg);
    color: var(--badge-fg);
    border: 1px solid var(--badge-border);
  }
  .badge__label {
    padding-inline: calc(var(--spacing) * 0.5);
  }
  .badge-anchor {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
  }
  .badge--lg {
    min-height: calc(var(--spacing) * 8);
    min-width: calc(var(--spacing) * 8);
    border-radius: calc(var(--radius) * 2);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-leading: 1.43;
    line-height: 1.43;
  }
  .badge--sm {
    min-height: calc(var(--spacing) * 4);
    min-width: calc(var(--spacing) * 4);
    border-radius: calc(var(--radius) * 1.5);
    font-size: 10px;
    --tw-leading: 1.34;
    line-height: 1.34;
  }
  .badge--accent {
    --badge-fg: var(--color-accent);
  }
  .badge--default {
    --badge-fg: var(--color-default-foreground);
  }
  .badge--success {
    --badge-fg: var(--color-success);
  }
  .badge--warning {
    --badge-fg: var(--color-warning);
  }
  .badge--danger {
    --badge-fg: var(--color-danger);
  }
  .badge--top-right {
    position: absolute;
    top: calc(var(--spacing) * 0);
    right: calc(var(--spacing) * 0);
    transform: translate(25%, -25%);
  }
  .badge--top-left {
    position: absolute;
    top: calc(var(--spacing) * 0);
    left: calc(var(--spacing) * 0);
    transform: translate(-25%, -25%);
  }
  .badge--bottom-right {
    position: absolute;
    right: calc(var(--spacing) * 0);
    bottom: calc(var(--spacing) * 0);
    transform: translate(25%, 25%);
  }
  .badge--bottom-left {
    position: absolute;
    bottom: calc(var(--spacing) * 0);
    left: calc(var(--spacing) * 0);
    transform: translate(-25%, 25%);
  }
  .badge--primary.badge--accent {
    --badge-bg: var(--color-accent);
    --badge-fg: var(--color-accent-foreground);
  }
  .badge--primary.badge--default {
    --badge-bg: var(--color-default);
    --badge-fg: var(--color-default-foreground);
  }
  .badge--primary.badge--success {
    --badge-bg: var(--color-success);
    --badge-fg: var(--color-success-foreground);
  }
  .badge--primary.badge--warning {
    --badge-bg: var(--color-warning);
    --badge-fg: var(--color-warning-foreground);
  }
  .badge--primary.badge--danger {
    --badge-bg: var(--color-danger);
    --badge-fg: var(--color-danger-foreground);
  }
  .badge--soft.badge--accent {
    --badge-bg: var(--color-accent-soft);
    --badge-fg: var(--color-accent-soft-foreground);
  }
  .badge--soft.badge--default {
    --badge-bg: var(--color-default);
    --badge-fg: var(--color-default-foreground);
  }
  .badge--soft.badge--success {
    --badge-bg: var(--color-success-soft);
    --badge-fg: var(--color-success-soft-foreground);
  }
  .badge--soft.badge--warning {
    --badge-bg: var(--color-warning-soft);
    --badge-fg: var(--color-warning-soft-foreground);
  }
  .badge--soft.badge--danger {
    --badge-bg: var(--color-danger-soft);
    --badge-fg: var(--color-danger-soft-foreground);
  }
  .chip {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: calc(var(--spacing) * 0.5);
    border-radius: calc(var(--radius) * 2);
    padding-inline: calc(var(--spacing) * 2);
    padding-block: calc(var(--spacing) * 0.5);
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
    --tw-leading: calc(var(--spacing) * 5);
    line-height: calc(var(--spacing) * 5);
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    --chip-bg: var(--color-default);
    --chip-fg: currentColor;
    background-color: var(--chip-bg);
    color: var(--chip-fg);
  }
  .chip__label {
    padding-inline: calc(var(--spacing) * 0.5);
  }
  .chip--accent {
    --chip-fg: var(--color-accent);
  }
  .chip--danger {
    --chip-fg: var(--color-danger);
  }
  .chip--default {
    --chip-fg: var(--color-default-foreground);
  }
  .chip--success {
    --chip-fg: var(--color-success);
  }
  .chip--warning {
    --chip-fg: var(--color-warning);
  }
  .chip--tertiary {
    --chip-bg: transparent;
  }
  .chip--sm {
    padding-inline: calc(var(--spacing) * 1);
    padding-block: calc(var(--spacing) * 0);
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .chip--md {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .chip--lg {
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 1);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .chip--primary.chip--accent {
    --chip-bg: var(--color-accent);
    --chip-fg: var(--color-accent-foreground);
  }
  .chip--primary.chip--success {
    --chip-bg: var(--color-success);
    --chip-fg: var(--color-success-foreground);
  }
  .chip--primary.chip--warning {
    --chip-bg: var(--color-warning);
    --chip-fg: var(--color-warning-foreground);
  }
  .chip--primary.chip--danger {
    --chip-bg: var(--color-danger);
    --chip-fg: var(--color-danger-foreground);
  }
  .chip--accent.chip--soft {
    --chip-bg: var(--color-accent-soft);
    --chip-fg: var(--color-accent-soft-foreground);
  }
  .chip--success.chip--soft {
    --chip-bg: var(--color-success-soft);
    --chip-fg: var(--color-success-soft-foreground);
  }
  .chip--warning.chip--soft {
    --chip-bg: var(--color-warning-soft);
    --chip-fg: var(--color-warning-soft-foreground);
  }
  .chip--danger.chip--soft {
    --chip-bg: var(--color-danger-soft);
    --chip-fg: var(--color-danger-soft-foreground);
  }
  .table-root {
    position: relative;
    display: grid;
    width: 100%;
    overflow: clip;
    grid-template-columns: minmax(0, 1fr);
  }
  .table__scroll-container {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: oklch(0% 0 0 / 0.15) transparent;
    &::-webkit-scrollbar {
      width: 6px;
    }
    &::-webkit-scrollbar-track {
      background: transparent;
    }
    &::-webkit-scrollbar-thumb {
      background: oklch(0% 0 0 / 0.15);
      border-radius: 3px;
    }
    &::-webkit-scrollbar-thumb:hover {
      background: oklch(0% 0 0 / 0.25);
    }
    :is([data-theme="dark"], .dark) & {
      scrollbar-color: oklch(100% 0 0 / 0.15) transparent;
      &::-webkit-scrollbar-thumb {
        background: oklch(100% 0 0 / 0.15);
      }
      &::-webkit-scrollbar-thumb:hover {
        background: oklch(100% 0 0 / 0.25);
      }
    }
  }
  .table-root--primary {
    background-color: var(--surface-secondary);
    padding-inline: calc(var(--spacing) * 1);
    padding-bottom: calc(var(--spacing) * 1);
    border-radius: calc(var(--radius) * 2.5);
  }
  .table-root--secondary .table__header {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 0px;
    background-color: transparent;
  }
  .table-root--secondary .table__column {
    background-color: var(--surface-secondary);
  }
  .table-root--secondary .table__column:first-child {
    border-top-left-radius: calc(var(--radius) * 2);
    border-bottom-left-radius: calc(var(--radius) * 2);
  }
  .table-root--secondary .table__column:last-child {
    border-top-right-radius: calc(var(--radius) * 2);
    border-bottom-right-radius: calc(var(--radius) * 2);
  }
  .table-root--secondary .table__body {
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    & tr:first-child td:first-child, & tr:first-child td:last-child, & tr:last-child td:first-child, & tr:last-child td:last-child {
      border-radius: 0;
    }
    &:not(tbody) {
      overflow: visible;
      border-radius: 0;
    }
  }
  .table-root--secondary .table__row {
    .table__cell {
      border-bottom-style: var(--tw-border-style);
      border-bottom-width: 1px;
      border-color: var(--surface);
      @supports (color: color-mix(in lab, red, red)) {
        border-color: color-mix(in oklab, color-mix(
    in oklab,
    var(--surface) 81%,
    var(--surface-foreground) 19%
  ) 50%, transparent);
      }
      background-color: transparent;
    }
    @media (hover: hover) {
      &:hover .table__cell, &[data-hovered="true"] .table__cell {
        background-color: var(--default);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--default) 50%, transparent);
        }
      }
    }
  }
  .table__content {
    width: 100%;
    border-collapse: separate;
    --tw-border-spacing-x: calc(var(--spacing) * 0);
    --tw-border-spacing-y: calc(var(--spacing) * 0);
    border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .table-root--primary .table__content {
    overflow: clip;
  }
  .table__header {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
    border-color: var(--separator);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--separator) 50%, transparent);
    }
    background-color: var(--surface-secondary);
  }
  .table__column {
    position: relative;
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 2.5);
    text-align: left;
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--muted);
    &::after {
      content: "";
      pointer-events: none;
      position: absolute;
      top: calc(1 / 2 * 100%);
      right: calc(var(--spacing) * 0);
      height: calc(var(--spacing) * 4);
      width: 1px;
      --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
      translate: var(--tw-translate-x) var(--tw-translate-y);
      border-radius: calc(var(--radius) * 0.5);
      background-color: var(--separator);
    }
    &:last-child:not(:only-child)::after {
      content: none;
    }
    &[data-allows-sorting="true"] {
      cursor: var(--cursor-interactive);
    }
    @media (hover: hover) {
      &[data-allows-sorting="true"]:hover, &[data-allows-sorting="true"][data-hovered="true"] {
        color: var(--foreground);
      }
    }
    &:focus-visible, &[data-focus-visible="true"] {
      border-radius: calc(var(--radius) * 1);
      --tw-outline-style: none;
      outline-style: none;
      box-shadow: inset 0 0 0 2px var(--color-focus);
    }
  }
  .table__body {
    & tr:first-child td:first-child {
      border-top-left-radius: calc(var(--radius) * 2);
    }
    & tr:first-child td:last-child {
      border-top-right-radius: calc(var(--radius) * 2);
    }
    & tr:last-child td:first-child {
      border-bottom-left-radius: calc(var(--radius) * 2);
    }
    & tr:last-child td:last-child {
      border-bottom-right-radius: calc(var(--radius) * 2);
    }
    &:not(tbody) {
      position: relative;
      height: 100%;
      overflow: clip;
      border-radius: calc(var(--radius) * 2);
    }
  }
  .table__row {
    position: relative;
    height: 100%;
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
    border-color: var(--separator);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--separator) 50%, transparent);
    }
    &:last-child {
      border-bottom-style: var(--tw-border-style);
      border-bottom-width: 0px;
    }
    @media (hover: hover) {
      &:hover .table__cell, &[data-hovered="true"] .table__cell {
        background-color: var(--surface);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--surface) 40%, transparent);
        }
      }
    }
    &[data-selected="true"] .table__cell {
      background-color: var(--surface);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--surface) 10%, transparent);
      }
    }
    &[aria-disabled="true"], &[data-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
    &:focus-visible, &[data-focus-visible="true"] {
      --tw-outline-style: none;
      outline-style: none;
      box-shadow: inset 0 0 0 2px var(--color-focus);
    }
    &[data-dragging="true"] {
      opacity: 50%;
    }
    &[data-drop-target="true"] .table__cell {
      background-color: var(--accent);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--accent) 15%, transparent);
      }
    }
  }
  .table__cell {
    height: 100%;
    background-color: var(--surface);
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 3);
    vertical-align: middle;
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--foreground);
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
    border-color: var(--surface);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, color-mix(
    in oklab,
    var(--surface) 81%,
    var(--surface-foreground) 19%
  ) 50%, transparent);
    }
    &:focus-visible, &[data-focus-visible="true"] {
      border-radius: calc(var(--radius) * 1);
      --tw-outline-style: none;
      outline-style: none;
      box-shadow: inset 0 0 0 2px var(--color-focus);
    }
  }
  .table__cell[data-tree-column] {
    padding-inline-start: calc(1rem * var(--table-row-level, 1));
  }
  .table__footer {
    display: flex;
    align-items: center;
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 2.5);
  }
  .table__resizable-container {
    position: relative;
    overflow: auto;
  }
  .table__column-resizer {
    position: absolute;
    top: calc(1 / 2 * 100%);
    right: calc(var(--spacing) * 0);
    height: calc(var(--spacing) * 4);
    width: 1px;
    --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
    border-radius: calc(var(--radius) * 0.5);
    background-color: var(--separator);
    box-sizing: content-box;
    --tw-translate-x: calc(1 / 2 * 100%);
    translate: var(--tw-translate-x) var(--tw-translate-y);
    cursor: col-resize;
    touch-action: none;
    padding-inline: calc(var(--spacing) * 2);
    --tw-border-style: none;
    border-style: none;
    background-clip: content-box;
    --tw-outline-style: none;
    outline-style: none;
    &[data-hovered="true"], &:hover {
      height: 100%;
      width: calc(var(--spacing) * 0.5);
      background-color: var(--accent);
    }
    &[data-resizing="true"] {
      height: 100%;
      width: calc(var(--spacing) * 0.5);
      background-color: var(--accent);
    }
    &[data-focus-visible="true"], &:focus-visible {
      height: 100%;
      width: calc(var(--spacing) * 0.5);
      background-color: var(--focus);
    }
  }
  .table__column:has(.table__column-resizer)::after {
    content: none;
  }
  .table__load-more {
    & td, & [role="rowheader"] {
      padding-block: calc(var(--spacing) * 3);
      text-align: center;
      & > * {
        margin-inline: auto;
      }
    }
  }
  .table__load-more-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing) * 2);
    padding-block: calc(var(--spacing) * 2);
  }
  .alert {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: calc(var(--spacing) * 4);
    border-radius: calc(var(--radius) * 3);
    background-color: var(--surface);
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 3);
    --tw-shadow: var(--surface-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .alert__content {
    display: flex;
    height: 100%;
    flex-grow: 1;
    flex-direction: column;
    align-items: flex-start;
  }
  .alert__indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--spacing) * 1);
    -webkit-user-select: none;
    user-select: none;
    [data-slot="alert-default-icon"] {
      box-sizing: content-box;
      width: calc(var(--spacing) * 4);
      height: calc(var(--spacing) * 4);
    }
  }
  .alert__title {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-leading: calc(var(--spacing) * 6);
    line-height: calc(var(--spacing) * 6);
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .alert__description {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--muted);
  }
  .alert--default .alert__indicator {
    color: var(--foreground);
  }
  .alert--default .alert__title {
    color: var(--foreground);
  }
  .alert--accent .alert__indicator {
    color: var(--accent);
  }
  .alert--accent .alert__title {
    color: var(--accent);
  }
  .alert--success .alert__indicator {
    color: var(--success);
  }
  .alert--success .alert__title {
    color: var(--success);
  }
  .alert--warning .alert__indicator {
    color: var(--warning);
  }
  .alert--warning .alert__title {
    color: var(--warning);
  }
  .alert--danger .alert__indicator {
    color: var(--danger);
  }
  .alert--danger .alert__title {
    color: var(--danger);
  }
  .empty-state {
    padding: calc(var(--spacing) * 2);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--muted);
  }
  .skeleton {
    pointer-events: none;
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--radius) * 0.5);
    background-color: var(--surface-tertiary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--surface-tertiary) 70%, transparent);
    }
  }
  .skeleton--shimmer {
    &::after {
      position: absolute;
      inset: calc(var(--spacing) * 0);
      --tw-translate-x: -100%;
      translate: var(--tw-translate-x) var(--tw-translate-y);
      animation: skeleton 2s linear infinite;
      --tw-gradient-position: to right;
      @supports (background-image: linear-gradient(in lab, red, red)) {
        --tw-gradient-position: to right in oklab;
      }
      background-image: linear-gradient(var(--tw-gradient-stops));
      --tw-gradient-from: transparent;
      --tw-gradient-via: var(--surface-tertiary);
      --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);
      --tw-gradient-stops: var(--tw-gradient-via-stops);
      --tw-gradient-to: transparent;
      --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
      --tw-content: '';
      content: var(--tw-content);
    }
    &:has(.skeleton) {
      &::after {
        content: none;
      }
      &::before {
        position: absolute;
        inset: calc(var(--spacing) * 0);
        --tw-translate-x: -100%;
        translate: var(--tw-translate-x) var(--tw-translate-y);
        animation: skeleton 2s linear infinite;
        --tw-content: '';
        content: var(--tw-content);
        background: linear-gradient( 90deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100% );
        z-index: 10;
        pointer-events: none;
        mix-blend-mode: overlay;
      }
      & .skeleton {
        &::after {
          content: none;
        }
      }
    }
  }
  .skeleton--pulse {
    animation: var(--animate-pulse);
  }
  .meter {
    display: grid;
    width: 100%;
    gap: calc(var(--spacing) * 1);
    grid-template-areas: "label output" "track track";
    grid-template-columns: 1fr auto;
    --meter-fill: var(--color-accent);
    [data-slot="label"] {
      width: fit-content;
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
      --tw-font-weight: var(--font-weight-medium);
      font-weight: var(--font-weight-medium);
      grid-area: label;
    }
    .meter__output {
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
      --tw-font-weight: var(--font-weight-medium);
      font-weight: var(--font-weight-medium);
      --tw-numeric-spacing: tabular-nums;
      font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
      grid-area: output;
    }
    .meter__track {
      position: relative;
      overflow: hidden;
      border-radius: calc(infinity * 1px);
      background-color: var(--default);
      grid-area: track;
      height: calc(var(--spacing) * 2);
    }
    .meter__fill {
      position: absolute;
      top: calc(var(--spacing) * 0);
      left: calc(var(--spacing) * 0);
      height: 100%;
      border-radius: calc(infinity * 1px);
      background-color: var(--meter-fill);
      transition: width 300ms var(--ease-out);
      &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
          transition-property: none;
          &::before, &::after {
            transition-property: none;
          }
        }
      }
    }
    &:disabled, &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
      [data-slot="label"] {
        opacity: 100%;
      }
    }
  }
  .meter--sm {
    .meter__track {
      height: calc(var(--spacing) * 1);
    }
  }
  .meter--lg {
    .meter__track {
      height: calc(var(--spacing) * 3);
    }
  }
  .meter--default {
    --meter-fill: var(--color-default-foreground);
  }
  .meter--accent {
    --meter-fill: var(--color-accent);
  }
  .meter--success {
    --meter-fill: var(--color-success);
  }
  .meter--warning {
    --meter-fill: var(--color-warning);
  }
  .meter--danger {
    --meter-fill: var(--color-danger);
  }
  .progress-bar {
    display: grid;
    width: 100%;
    gap: calc(var(--spacing) * 1);
    grid-template-areas: "label output" "track track";
    grid-template-columns: 1fr auto;
    --progress-bar-fill: var(--color-accent);
    [data-slot="label"] {
      width: fit-content;
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
      --tw-font-weight: var(--font-weight-medium);
      font-weight: var(--font-weight-medium);
      grid-area: label;
    }
    .progress-bar__output {
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
      --tw-font-weight: var(--font-weight-medium);
      font-weight: var(--font-weight-medium);
      --tw-numeric-spacing: tabular-nums;
      font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
      grid-area: output;
    }
    .progress-bar__track {
      position: relative;
      overflow: hidden;
      border-radius: calc(infinity * 1px);
      background-color: var(--default);
      grid-area: track;
      height: calc(var(--spacing) * 2);
    }
    .progress-bar__fill {
      position: absolute;
      top: calc(var(--spacing) * 0);
      left: calc(var(--spacing) * 0);
      height: 100%;
      border-radius: calc(infinity * 1px);
      background-color: var(--progress-bar-fill);
      transition: width 300ms var(--ease-out);
      &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
          transition-property: none;
          &::before, &::after {
            transition-property: none;
          }
        }
      }
    }
    &:not([aria-valuenow]) {
      .progress-bar__fill {
        width: calc(2 / 5 * 100%);
        animation: progress-bar-indeterminate 1.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
        &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
          animation: none;
          &::before, &::after {
            animation: none;
          }
        }
        @media (prefers-reduced-motion: reduce) {
          &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
            animation: none;
            &::before, &::after {
              animation: none;
            }
          }
        }
      }
    }
    &:disabled, &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
      [data-slot="label"] {
        opacity: 100%;
      }
    }
  }
  @keyframes progress-bar-indeterminate {
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(350%);
    }
  }
  .progress-bar--sm {
    .progress-bar__track {
      height: calc(var(--spacing) * 1);
    }
  }
  .progress-bar--lg {
    .progress-bar__track {
      height: calc(var(--spacing) * 3);
    }
  }
  .progress-bar--default {
    --progress-bar-fill: var(--color-default-foreground);
  }
  .progress-bar--accent {
    --progress-bar-fill: var(--color-accent);
  }
  .progress-bar--success {
    --progress-bar-fill: var(--color-success);
  }
  .progress-bar--warning {
    --progress-bar-fill: var(--color-warning);
  }
  .progress-bar--danger {
    --progress-bar-fill: var(--color-danger);
  }
  .progress-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    --progress-circle-stroke: var(--color-accent);
    --progress-circle-track-stroke: var(--color-default);
    .progress-circle__track {
      width: calc(var(--spacing) * 7);
      height: calc(var(--spacing) * 7);
    }
    .progress-circle__track-circle {
      stroke: var(--progress-circle-track-stroke);
    }
    .progress-circle__fill-circle {
      stroke: var(--progress-circle-stroke);
      transition: stroke-dashoffset 300ms var(--ease-out);
      &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
          transition-property: none;
          &::before, &::after {
            transition-property: none;
          }
        }
      }
    }
    &:not([aria-valuenow]) {
      .progress-circle__track {
        animation: progress-circle-spin 1s linear infinite;
        &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
          animation: none;
          &::before, &::after {
            animation: none;
          }
        }
        @media (prefers-reduced-motion: reduce) {
          &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
            animation: none;
            &::before, &::after {
              animation: none;
            }
          }
        }
      }
    }
    &:disabled, &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  @keyframes progress-circle-spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  .progress-circle--sm {
    .progress-circle__track {
      width: calc(var(--spacing) * 5);
      height: calc(var(--spacing) * 5);
    }
  }
  .progress-circle--lg {
    .progress-circle__track {
      width: calc(var(--spacing) * 9);
      height: calc(var(--spacing) * 9);
    }
  }
  .progress-circle--default {
    --progress-circle-stroke: var(--color-default-foreground);
  }
  .progress-circle--accent {
    --progress-circle-stroke: var(--color-accent);
  }
  .progress-circle--success {
    --progress-circle-stroke: var(--color-success);
  }
  .progress-circle--warning {
    --progress-circle-stroke: var(--color-warning);
  }
  .progress-circle--danger {
    --progress-circle-stroke: var(--color-danger);
  }
  .spinner {
    pointer-events: none;
    position: relative;
    width: calc(var(--spacing) * 6);
    height: calc(var(--spacing) * 6);
    transform-origin: center;
    animation: spin 0.75s linear infinite;
  }
  .spinner--sm {
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
  }
  .spinner--lg {
    width: calc(var(--spacing) * 8);
    height: calc(var(--spacing) * 8);
  }
  .spinner--xl {
    width: calc(var(--spacing) * 10);
    height: calc(var(--spacing) * 10);
  }
  .spinner--current {
    color: inherit;
  }
  .spinner--accent {
    color: var(--accent);
  }
  .spinner--danger {
    color: var(--danger);
  }
  .spinner--success {
    color: var(--success);
  }
  .spinner--warning {
    color: var(--warning);
  }
  .toast-region {
    pointer-events: none;
    position: fixed;
    z-index: 50;
    --tw-outline-style: none;
    outline-style: none;
    width: calc(100vw - 2rem);
    @media (width >= 40rem) {
      width: auto;
    }
    @media (width >= 40rem) {
      min-width: var(--toast-width);
    }
    display: block;
  }
  .toast-region--bottom {
    bottom: calc(var(--spacing) * 4);
    left: calc(1 / 2 * 100%);
    --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .toast-region--bottom-start {
    bottom: calc(var(--spacing) * 4);
    left: calc(var(--spacing) * 4);
  }
  .toast-region--bottom-end {
    right: calc(var(--spacing) * 4);
    bottom: calc(var(--spacing) * 4);
  }
  .toast-region--top {
    top: calc(var(--spacing) * 4);
    left: calc(1 / 2 * 100%);
    --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .toast-region--top-start {
    top: calc(var(--spacing) * 4);
    left: calc(var(--spacing) * 4);
  }
  .toast-region--top-end {
    top: calc(var(--spacing) * 4);
    right: calc(var(--spacing) * 4);
  }
  .toast-region:focus-visible {
    outline-style: var(--tw-outline-style);
    outline-width: 2px;
    outline-offset: 2px;
    outline-color: var(--focus);
  }
  .toast {
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: calc(var(--spacing) * 1.5);
    border-radius: calc(var(--radius) * 3);
    background-color: var(--surface);
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 3);
    --tw-shadow: var(--overlay-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .toast--bottom, .toast--bottom-start, .toast--bottom-end {
    bottom: 0;
  }
  .toast--top, .toast--top-start, .toast--top-end {
    top: 0;
  }
  .toast:not([data-frontmost="true"]) {
    pointer-events: none;
    height: var(--front-height);
    overflow: hidden;
    .toast__close-button {
      pointer-events: none;
      opacity: 0%;
      outline: none;
    }
  }
  .toast[data-hidden="true"] {
    pointer-events: none;
    display: flex;
    opacity: 0%;
  }
  .toast:focus-visible {
    outline-style: var(--tw-outline-style);
    outline-width: 2px;
    outline-offset: 2px;
    outline-color: var(--focus);
  }
  .toast--bottom, .toast--bottom-start, .toast--bottom-end {
    view-transition-class: toast-bottom;
  }
  .toast--top, .toast--top-start, .toast--top-end {
    view-transition-class: toast-top;
  }
  .toast__content {
    display: flex;
    height: 100%;
    flex-grow: 1;
    flex-direction: column;
    align-items: flex-start;
    align-self: center;
  }
  .toast__indicator {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: calc(var(--spacing) * 1);
    color: var(--overlay-foreground);
    -webkit-user-select: none;
    user-select: none;
    [data-slot="toast-default-icon"] {
      box-sizing: content-box;
      width: calc(var(--spacing) * 4);
      height: calc(var(--spacing) * 4);
    }
    [data-slot="spinner"] {
      width: calc(var(--spacing) * 4);
      height: calc(var(--spacing) * 4);
    }
    [data-slot="spinner-icon"] {
      width: calc(var(--spacing) * 4);
      height: calc(var(--spacing) * 4);
    }
  }
  .toast__title {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-leading: calc(var(--spacing) * 5);
    line-height: calc(var(--spacing) * 5);
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--overlay-foreground);
  }
  .toast__description {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--muted);
  }
  .toast__close-button {
    position: absolute;
    top: calc(var(--spacing) * 2.5);
    right: calc(var(--spacing) * 2.5);
    width: calc(var(--spacing) * 5);
    height: calc(var(--spacing) * 5);
    border-color: var(--border);
    background-color: var(--default);
    opacity: 100%;
    @media (width >= 40rem) {
      pointer-events: none;
    }
    @media (width >= 40rem) {
      top: calc(var(--spacing) * -1);
    }
    @media (width >= 40rem) {
      right: calc(var(--spacing) * -1);
    }
    @media (width >= 40rem) {
      border-style: var(--tw-border-style);
      border-width: 1px;
    }
    @media (width >= 40rem) {
      background-color: var(--overlay);
    }
    @media (width >= 40rem) {
      opacity: 0%;
    }
    transition: opacity 150ms var(--ease-smooth);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    [data-slot="close-button-icon"] {
      width: calc(var(--spacing) * 3.5);
      height: calc(var(--spacing) * 3.5);
      @media (width >= 40rem) {
        width: calc(var(--spacing) * 3);
        height: calc(var(--spacing) * 3);
      }
    }
    @media (hover: hover) {
      &:hover, &[data-hovered="true"] {
        background-color: var(--default);
      }
    }
  }
  .toast[data-frontmost="true"]:hover .toast__close-button {
    pointer-events: auto;
    opacity: 100%;
  }
  .toast__action {
    margin-top: calc(var(--spacing) * 2);
    @media (width >= 40rem) {
      margin-top: calc(var(--spacing) * 0);
    }
  }
  .toast--accent .toast__title {
    color: var(--accent);
  }
  .toast--success .toast__title {
    color: var(--success);
  }
  .toast--success .toast__indicator {
    color: var(--success);
  }
  .toast--warning .toast__title {
    color: var(--warning);
  }
  .toast--warning .toast__indicator {
    color: var(--warning);
  }
  .toast--danger .toast__title {
    color: var(--danger);
  }
  .toast--danger .toast__indicator {
    color: var(--danger);
  }
  ::view-transition-old(*), ::view-transition-new(*) {
    will-change: translate, opacity;
  }
  ::view-transition-new(.toast-bottom):only-child {
    animation: toast-slide-bottom-in 350ms;
  }
  ::view-transition-old(.toast-bottom):only-child {
    animation: toast-slide-bottom-out 350ms;
    animation-fill-mode: forwards;
  }
  ::view-transition-new(.toast-top):only-child {
    animation: toast-slide-top-in 350ms;
  }
  ::view-transition-old(.toast-top):only-child {
    animation: toast-slide-top-out 350ms;
    animation-fill-mode: forwards;
  }
  @keyframes toast-slide-bottom-in {
    from {
      translate: 0 100%;
      opacity: 0;
    }
  }
  @keyframes toast-slide-bottom-out {
    to {
      translate: 0 100%;
      opacity: 0;
    }
  }
  @keyframes toast-slide-top-in {
    from {
      translate: 0 -100%;
      opacity: 0;
    }
  }
  @keyframes toast-slide-top-out {
    to {
      translate: 0 -100%;
      opacity: 0;
    }
  }
  .checkbox-group {
    display: flex;
    flex-direction: column;
    [data-slot="checkbox"] {
      margin-top: calc(var(--spacing) * 4);
    }
  }
  .checkbox {
    display: flex;
    gap: calc(var(--spacing) * 3);
    --tw-outline-style: none;
    outline-style: none;
    -webkit-tap-highlight-color: transparent;
    cursor: var(--cursor-interactive);
    &:not(:has([data-slot="description"])) {
      align-items: center;
    }
    &:has([data-slot="description"]) {
      align-items: flex-start;
    }
    [data-slot="label"] {
      -webkit-user-select: none;
      user-select: none;
    }
    [data-slot="description"] {
      text-wrap: wrap;
      -webkit-user-select: none;
      user-select: none;
    }
    &:disabled, &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
    &[data-selected="true"], &[data-indeterminate="true"] {
      .checkbox__indicator {
        border-color: var(--accent-foreground);
        background: var(--accent-hover);
      }
    }
    [data-slot="checkbox-default-indicator--checkmark"] {
      width: calc(var(--spacing) * 2.5);
      height: calc(var(--spacing) * 2.5);
      stroke-width: 2.5px;
      color: var(--accent-foreground);
      transition-property: all;
      transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
      transition-duration: var(--tw-duration, var(--default-transition-duration));
      --tw-duration: 200ms;
      transition-duration: 200ms;
      &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
          transition-property: none;
          &::before, &::after {
            transition-property: none;
          }
        }
      }
    }
    &[data-selected="true"] [data-slot="checkbox-default-indicator--checkmark"] {
      transition: stroke-dashoffset 150ms linear 15ms;
    }
    &[data-invalid="true"][data-selected="true"] [data-slot="checkbox-default-indicator--checkmark"], &[data-invalid="true"][aria-checked="true"] [data-slot="checkbox-default-indicator--checkmark"], &[aria-invalid="true"][data-selected="true"] [data-slot="checkbox-default-indicator--checkmark"], &[aria-invalid="true"][aria-checked="true"] [data-slot="checkbox-default-indicator--checkmark"] {
      color: var(--danger-foreground);
    }
    &[data-indeterminate="true"] {
      [data-slot="checkbox-default-indicator--indeterminate"] {
        width: calc(var(--spacing) * 3);
        height: calc(var(--spacing) * 3);
      }
    }
    &[data-indeterminate="true"][data-invalid="true"] [data-slot="checkbox-default-indicator--indeterminate"], &[data-indeterminate="true"][aria-invalid="true"] [data-slot="checkbox-default-indicator--indeterminate"] {
      color: var(--danger-foreground);
    }
  }
  .checkbox__control {
    position: relative;
    display: inline-flex;
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: calc(var(--radius) * 0.75);
    background-color: var(--field-background, var(--default));
    --tw-shadow: var(--field-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    --tw-outline-style: none;
    outline-style: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 200ms var(--ease-out), transform 100ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    cursor: var(--cursor-interactive);
    .checkbox:has([data-slot="description"]) & {
      margin-top: calc(var(--spacing) * 0.5);
    }
    &::before {
      pointer-events: none;
      position: absolute;
      inset: calc(var(--spacing) * 0);
      z-index: 0;
      transform-origin: center;
      --tw-scale-x: 70%;
      --tw-scale-y: 70%;
      --tw-scale-z: 70%;
      scale: var(--tw-scale-x) var(--tw-scale-y);
      border-radius: calc(var(--radius) * 0.75);
      background-color: var(--accent);
      opacity: 0%;
      --tw-content: '';
      content: var(--tw-content);
      transition: scale 100ms var(--ease-linear), opacity 200ms var(--ease-linear), background-color 200ms var(--ease-out);
      &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
          transition-property: none;
          &::before, &::after {
            transition-property: none;
          }
        }
      }
    }
    .checkbox:focus-visible &, .checkbox[data-focus-visible="true"] & {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    .checkbox:hover &, .checkbox[data-hovered="true"] & {
      border-color: var(--field-border, var(--border));
      @supports (color: color-mix(in lab, red, red)) {
        border-color: color-mix(
    in oklab,
    var(--field-border, var(--border)) 88%,
    var(--field-foreground, var(--foreground)) 10%
  );
      }
      &::before {
        background-color: var(--accent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--accent) 90%, var(--accent-foreground) 10%);
        }
      }
    }
    .checkbox[aria-checked="true"] &, .checkbox[data-selected="true"] & {
      border-color: transparent;
      color: var(--accent-foreground);
      &::before {
        --tw-scale-x: 100%;
        --tw-scale-y: 100%;
        --tw-scale-z: 100%;
        scale: var(--tw-scale-x) var(--tw-scale-y);
        opacity: 100%;
      }
    }
    .checkbox[data-indeterminate="true"] & {
      background-color: var(--accent);
      color: var(--accent-foreground);
    }
    .checkbox:active[data-indeterminate="true"] &, .checkbox[data-pressed="true"][data-indeterminate="true"] & {
      background-color: var(--accent);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--accent) 90%, var(--accent-foreground) 10%);
      }
    }
    .checkbox[data-invalid="true"]:not([aria-checked="true"]):not([data-selected="true"]):not( [data-indeterminate="true"] ) &, .checkbox[aria-invalid="true"]:not([aria-checked="true"]):not([data-selected="true"]):not( [data-indeterminate="true"] ) & {
      outline-style: var(--tw-outline-style);
      outline-width: 1px;
      outline-color: var(--danger);
      --tw-outline-style: solid;
      outline-style: solid;
      --tw-ring-offset-width: 3px;
      &:focus, &:focus-visible, &[data-focused="true"], &[data-focus-visible="true"], &:focus-within, &[data-focus-within="true"] {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--danger);
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-width: 0px;
      }
    }
    .checkbox[data-invalid="true"][aria-checked="true"] &, .checkbox[data-invalid="true"][data-selected="true"] &, .checkbox[aria-invalid="true"][aria-checked="true"] &, .checkbox[aria-invalid="true"][data-selected="true"] & {
      border-color: transparent;
      background-color: var(--danger);
      color: var(--danger-foreground);
      &::before {
        --tw-scale-x: 100%;
        --tw-scale-y: 100%;
        --tw-scale-z: 100%;
        scale: var(--tw-scale-x) var(--tw-scale-y);
        background-color: var(--danger);
        opacity: 100%;
      }
    }
    .checkbox[data-indeterminate="true"][aria-invalid="true"] &, .checkbox[data-indeterminate="true"][data-invalid="true"] & {
      background-color: var(--danger);
      color: var(--danger-foreground);
    }
  }
  .checkbox__indicator {
    position: relative;
    z-index: 10;
    display: flex;
    width: calc(var(--spacing) * 3);
    height: calc(var(--spacing) * 3);
    align-items: center;
    justify-content: center;
    & svg {
      transform: translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
    }
  }
  .checkbox__content {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 0);
  }
  .checkbox--disabled {
    opacity: var(--disabled-opacity);
    cursor: var(--cursor-disabled);
    pointer-events: none;
  }
  .checkbox--secondary .checkbox__control {
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    background-color: var(--checkbox-control-bg);
    --checkbox-control-bg: var(--color-default);
    .checkbox:hover &, .checkbox[data-hovered="true"] & {
      border-color: var(--field-border, var(--border));
      @supports (color: color-mix(in lab, red, red)) {
        border-color: color-mix(
    in oklab,
    var(--field-border, var(--border)) 88%,
    var(--field-foreground, var(--foreground)) 10%
  );
      }
    }
  }
  .checkbox--secondary:not([aria-checked="true"]):not([data-selected="true"]):not( [data-indeterminate="true"] ) .checkbox__control {
    background-color: var(--checkbox-control-bg);
  }
  .checkbox--secondary[aria-checked="true"] .checkbox__control, .checkbox--secondary[data-selected="true"] .checkbox__control {
    &::before {
      background-color: var(--accent);
    }
  }
  .checkbox--secondary[data-indeterminate="true"] .checkbox__control {
    background-color: var(--accent);
    &::before {
      background-color: var(--accent);
    }
  }
  .fieldset {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 6);
    flex-shrink: 1;
    flex-grow: 1;
    flex-basis: calc(var(--spacing) * 0);
  }
  .fieldset__legend {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--foreground);
  }
  .fieldset__field_group {
    width: 100%;
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .fieldset__actions {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 2);
    padding-top: calc(var(--spacing) * 1);
  }
  .input-otp {
    position: relative;
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 2);
    &[data-disabled="true"] {
      cursor: not-allowed;
      opacity: 50%;
    }
  }
  .input-otp__group {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 2);
  }
  .input-otp__slot {
    position: relative;
    display: flex;
    height: calc(var(--spacing) * 10);
    width: calc(var(--spacing) * 9.5);
    flex: 1;
    align-items: center;
    justify-content: center;
    border-style: var(--tw-border-style);
    border-width: 1px;
    background-color: var(--field-background, var(--default));
    color: var(--field-foreground, var(--foreground));
    --tw-shadow: var(--field-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    border-radius: var(--field-radius, calc(var(--radius) * 1.5));
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
    --tw-outline-style: none;
    outline-style: none;
    border-width: var(--border-width-field);
    border-color: var(--color-field-border);
    transition: background-color 150ms var(--ease-smooth), border-color 150ms var(--ease-smooth), box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    @media (hover: hover) {
      &:hover, &[data-hovered="true"] {
        background-color: var(--field-background, var(--default));
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(
    in oklab,
    var(--field-background, var(--default)) 90%,
    var(--field-foreground, var(--foreground)) 2%
  );
        }
        border-color: var(--color-field-border-hover);
      }
    }
    &[data-active="true"] {
      z-index: 10;
      background-color: var(--field-background, var(--default));
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: 0px;
    }
    &[data-filled="true"] {
      background-color: var(--field-background, var(--default));
    }
    &[data-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
    &[data-invalid="true"] {
      outline-style: var(--tw-outline-style);
      outline-width: 1px;
      outline-color: var(--danger);
      --tw-outline-style: solid;
      outline-style: solid;
      --tw-ring-offset-width: 3px;
      &:focus, &:focus-visible, &[data-focused="true"], &[data-focus-visible="true"], &:focus-within, &[data-focus-within="true"] {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--danger);
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-width: 0px;
      }
      background-color: var(--color-field-focus);
    }
  }
  .input-otp__slot-value {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
    --tw-leading: calc(var(--spacing) * 6);
    line-height: calc(var(--spacing) * 6);
    --tw-tracking: -0.27px;
    letter-spacing: -0.27px;
    animation: slot-value-in 250ms var(--ease-smooth) both;
    transform-origin: bottom center;
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      animation: none;
      &::before, &::after {
        animation: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        animation: none;
        &::before, &::after {
          animation: none;
        }
      }
    }
  }
  .input-otp__caret {
    position: absolute;
    height: calc(var(--spacing) * 4);
    width: 2px;
    animation: caret-blink 1.2s ease-out infinite;
    border-radius: 4px;
    background-color: var(--field-placeholder, var(--muted));
  }
  .input-otp__separator {
    height: 2px;
    width: 6px;
    flex-shrink: 0;
    border-radius: 4px;
    background-color: var(--separator);
  }
  .input-otp--secondary .input-otp__slot {
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    background-color: var(--input-otp-slot-bg);
    --input-otp-slot-bg: var(--color-default);
    --input-otp-slot-bg-hover: var(--color-default-hover);
    --input-otp-slot-bg-focus: var(--color-default);
    @media (hover: hover) {
      &:hover, &[data-hovered="true"] {
        background-color: var(--input-otp-slot-bg-hover);
      }
    }
    &[data-active="true"], &[data-filled="true"] {
      background-color: var(--input-otp-slot-bg-focus);
    }
  }
  @keyframes slot-value-in {
    0% {
      opacity: 0;
      transform: translateY(8px) scale(0.8);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  .input {
    border-radius: var(--field-radius, calc(var(--radius) * 1.5));
    border-style: var(--tw-border-style);
    border-width: 1px;
    background-color: var(--field-background, var(--default));
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 2);
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    color: var(--field-foreground, var(--foreground));
    --tw-shadow: var(--field-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    --tw-outline-style: none;
    outline-style: none;
    &::placeholder {
      color: var(--field-placeholder, var(--muted));
    }
    @media (width >= 40rem) {
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
    }
    border-width: var(--border-width-field);
    border-color: var(--color-field-border);
    transition: background-color 150ms var(--ease-smooth), border-color 150ms var(--ease-smooth), box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    @media (hover: hover) {
      &:hover:not(:focus):not(:focus-visible), &[data-hovered="true"]:not([data-focused="true"]):not([data-focus-visible="true"]) {
        background-color: var(--field-background, var(--default));
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(
    in oklab,
    var(--field-background, var(--default)) 90%,
    var(--field-foreground, var(--foreground)) 2%
  );
        }
        border-color: var(--color-field-border-hover);
      }
    }
    &:focus, &[data-focused="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: 0px;
      border-color: var(--color-field-border-focus);
      background-color: var(--color-field-focus);
    }
    &[data-invalid="true"] {
      outline-style: var(--tw-outline-style);
      outline-width: 1px;
      outline-color: var(--danger);
      --tw-outline-style: solid;
      outline-style: solid;
      --tw-ring-offset-width: 3px;
      &:focus, &:focus-visible, &[data-focused="true"], &[data-focus-visible="true"], &:focus-within, &[data-focus-within="true"] {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--danger);
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-width: 0px;
      }
      background-color: var(--color-field-focus);
    }
    &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .input--secondary {
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    background-color: var(--input-bg);
    --input-bg: var(--color-default);
    --input-bg-hover: var(--color-default-hover);
    --input-bg-focus: var(--color-default);
    @media (hover: hover) {
      &:hover:not(:focus):not(:focus-visible), &[data-hovered="true"]:not([data-focus-visible="true"]):not([data-focused="true"]) {
        background-color: var(--input-bg-hover);
      }
    }
    &:focus, &[data-focused="true"] {
      background-color: var(--input-bg-focus);
    }
    &[data-invalid="true"] {
      outline-style: var(--tw-outline-style);
      outline-width: 1px;
      outline-color: var(--danger);
      --tw-outline-style: solid;
      outline-style: solid;
      --tw-ring-offset-width: 3px;
      &:focus, &:focus-visible, &[data-focused="true"], &[data-focus-visible="true"], &:focus-within, &[data-focus-within="true"] {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--danger);
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-width: 0px;
      }
      background-color: var(--input-bg-focus);
    }
  }
  .input--full-width {
    width: 100%;
  }
  .input-group {
    display: inline-flex;
    min-height: calc(var(--spacing) * 9);
    align-items: center;
    border-radius: var(--field-radius, calc(var(--radius) * 1.5));
    border-style: var(--tw-border-style);
    border-width: 1px;
    background-color: var(--field-background, var(--default));
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--field-foreground, var(--foreground));
    --tw-shadow: var(--field-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    --tw-outline-style: none;
    outline-style: none;
    border-width: var(--border-width-field);
    border-color: var(--color-field-border);
    &:has([data-slot="input-group-textarea"]) {
      align-items: flex-start;
      height: auto;
    }
    transition: background-color 150ms var(--ease-smooth), border-color 150ms var(--ease-smooth), box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    @media (hover: hover) {
      &:hover:not(:focus-within), &[data-hovered="true"]:not([data-focus-within="true"]) {
        background-color: var(--field-background, var(--default));
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(
    in oklab,
    var(--field-background, var(--default)) 90%,
    var(--field-foreground, var(--foreground)) 2%
  );
        }
        border-color: var(--color-field-border-hover);
      }
    }
    &:has([data-slot="input-group-input"]:focus), &:has([data-slot="input-group-textarea"]:focus) {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: 0px;
      border-color: var(--color-field-border-focus);
      background-color: var(--color-field-focus);
    }
    &[data-invalid="true"] {
      outline-style: var(--tw-outline-style);
      outline-width: 1px;
      outline-color: var(--danger);
      --tw-outline-style: solid;
      outline-style: solid;
      --tw-ring-offset-width: 3px;
      &:focus, &:focus-visible, &[data-focused="true"], &[data-focus-visible="true"], &:focus-within, &[data-focus-within="true"] {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--danger);
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-width: 0px;
      }
      background-color: var(--color-field-focus);
      border-color: var(--color-field-border-invalid);
    }
    &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .input-group__input {
    flex: 1;
    border-radius: 0;
    border-style: var(--tw-border-style);
    border-width: 0px;
    background-color: transparent;
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 2);
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    --tw-outline-style: none;
    outline-style: none;
    &::placeholder {
      color: var(--field-placeholder, var(--muted));
    }
    @media (width >= 40rem) {
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
    }
    .input-group:has([data-slot="input-group-prefix"]) & {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
      padding-left: calc(var(--spacing) * 0);
    }
    .input-group:has([data-slot="input-group-suffix"]) & {
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
      padding-right: calc(var(--spacing) * 0);
    }
    &:focus, &:focus-visible {
      --tw-outline-style: none;
      outline-style: none;
    }
  }
  .input-group__input[data-slot="input-group-textarea"] {
    min-height: 38px;
    resize: vertical;
  }
  .input-group__prefix {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-top-left-radius: var(--field-radius, calc(var(--radius) * 1.5));
    border-bottom-left-radius: var(--field-radius, calc(var(--radius) * 1.5));
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background-color: transparent;
    padding-inline: calc(var(--spacing) * 3);
    color: var(--field-placeholder, var(--muted));
    border-width: var(--border-width-field);
    border-color: var(--color-field-border);
    border-style: solid;
    border-right-color: var(--color-field-border);
    border-left: none;
    border-top: none;
    border-bottom: none;
    .input-group:has([data-slot="input-group-textarea"]) & {
      align-items: flex-start;
      padding-top: 0.5rem;
    }
    transition: background-color 150ms var(--ease-smooth), border-color 150ms var(--ease-smooth);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
  }
  .input-group__suffix {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: var(--field-radius, calc(var(--radius) * 1.5));
    border-bottom-right-radius: var(--field-radius, calc(var(--radius) * 1.5));
    background-color: transparent;
    padding-inline: calc(var(--spacing) * 3);
    color: var(--field-placeholder, var(--muted));
    border-width: var(--border-width-field);
    border-color: var(--color-field-border);
    border-style: solid;
    border-left-color: var(--color-field-border);
    border-right: none;
    border-top: none;
    border-bottom: none;
    .input-group:has([data-slot="input-group-textarea"]) & {
      align-items: flex-start;
      padding-top: 0.5rem;
    }
    transition: background-color 150ms var(--ease-smooth), border-color 150ms var(--ease-smooth);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
  }
  .input-group--secondary {
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    background-color: var(--input-group-bg);
    --input-group-bg: var(--color-default);
    --input-group-bg-hover: var(--color-default-hover);
    --input-group-bg-focus: var(--color-default);
    @media (hover: hover) {
      &:hover:not(:focus-within), &[data-hovered="true"]:not([data-focus-within="true"]) {
        background-color: var(--input-group-bg-hover);
      }
    }
    &:has([data-slot="input-group-input"]:focus), &:has([data-slot="input-group-textarea"]:focus) {
      background-color: var(--input-group-bg-focus);
    }
    &[data-invalid="true"] {
      outline-style: var(--tw-outline-style);
      outline-width: 1px;
      outline-color: var(--danger);
      --tw-outline-style: solid;
      outline-style: solid;
      --tw-ring-offset-width: 3px;
      &:focus, &:focus-visible, &[data-focused="true"], &[data-focus-visible="true"], &:focus-within, &[data-focus-within="true"] {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--danger);
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-width: 0px;
      }
      border-color: var(--color-field-border-invalid);
      background-color: var(--input-group-bg-focus);
    }
    [data-slot="input-group-input"], [data-slot="input-group-textarea"] {
      background-color: transparent;
    }
  }
  .input-group--full-width {
    width: 100%;
  }
  .number-field {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 1);
    &[data-invalid="true"], &[aria-invalid="true"] {
      [data-slot="description"] {
        display: none;
      }
    }
    [data-slot="label"] {
      width: fit-content;
    }
    [data-slot="description"] {
      padding-inline: calc(var(--spacing) * 1);
    }
  }
  .number-field__group {
    display: grid;
    height: calc(var(--spacing) * 9);
    align-items: center;
    overflow: hidden;
    border-radius: var(--field-radius, calc(var(--radius) * 1.5));
    border-style: var(--tw-border-style);
    border-width: 1px;
    background-color: var(--field-background, var(--default));
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--field-foreground, var(--foreground));
    --tw-shadow: var(--field-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    --tw-outline-style: none;
    outline-style: none;
    border-width: var(--border-width-field);
    border-color: var(--color-field-border);
    grid-template-columns: 40px 1fr 40px;
    transition: background-color 150ms var(--ease-smooth), border-color 150ms var(--ease-smooth), box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    @media (hover: hover) {
      &:hover:not(:focus-within), &[data-hovered="true"]:not([data-focus-within="true"]) {
        background-color: var(--field-background, var(--default));
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(
    in oklab,
    var(--field-background, var(--default)) 90%,
    var(--field-foreground, var(--foreground)) 2%
  );
        }
        border-color: var(--color-field-border-hover);
      }
    }
    &[data-focus-within="true"], &:focus-within {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: 0px;
      border-color: var(--color-field-border-focus);
      background-color: var(--color-field-focus);
    }
    &[data-invalid="true"] {
      outline-style: var(--tw-outline-style);
      outline-width: 1px;
      outline-color: var(--danger);
      --tw-outline-style: solid;
      outline-style: solid;
      --tw-ring-offset-width: 3px;
      &:focus, &:focus-visible, &[data-focused="true"], &[data-focus-visible="true"], &:focus-within, &[data-focus-within="true"] {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--danger);
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-width: 0px;
      }
      background-color: var(--color-field-focus);
      border-color: var(--color-field-border-invalid);
    }
    &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .number-field__input {
    min-width: calc(var(--spacing) * 0);
    border-radius: 0;
    border-style: var(--tw-border-style);
    border-width: 0px;
    background-color: transparent;
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 2);
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    --tw-numeric-spacing: tabular-nums;
    font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    --tw-outline-style: none;
    outline-style: none;
    @media (width >= 40rem) {
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
    }
    .number-field__group:has([slot="decrement"]) & {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
    }
    .number-field__group:has([slot="increment"]) & {
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
    }
    &:focus, &:focus-visible {
      --tw-outline-style: none;
      outline-style: none;
    }
  }
  .number-field__increment-button, .number-field__decrement-button {
    display: flex;
    height: 100%;
    width: calc(var(--spacing) * 10);
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background-color: transparent;
    color: var(--field-foreground, var(--foreground));
    --tw-outline-style: none;
    outline-style: none;
    border-width: var(--border-width-field);
    border-color: var(--color-field-border);
    border-style: solid;
    transition: background-color 150ms var(--ease-smooth), border-color 150ms var(--ease-smooth);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    cursor: var(--cursor-interactive);
    &:active, &[data-pressed="true"] {
      background-color: var(--field-foreground, var(--foreground));
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--field-foreground, var(--foreground)) 10%, transparent);
      }
      transform: scale(0.97);
    }
    &:disabled, &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
    [data-slot="number-field-increment-button-icon"], [data-slot="number-field-decrement-button-icon"] {
      width: calc(var(--spacing) * 4);
      height: calc(var(--spacing) * 4);
    }
  }
  .number-field__increment-button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: var(--field-radius, calc(var(--radius) * 1.5));
    border-bottom-right-radius: var(--field-radius, calc(var(--radius) * 1.5));
    border-left-style: var(--tw-border-style);
    border-left-width: 1px;
    border-color: var(--field-placeholder, var(--muted));
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--field-placeholder, var(--muted)) 15%, transparent);
    }
  }
  .number-field__decrement-button {
    border-top-left-radius: var(--field-radius, calc(var(--radius) * 1.5));
    border-bottom-left-radius: var(--field-radius, calc(var(--radius) * 1.5));
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right-style: var(--tw-border-style);
    border-right-width: 1px;
    border-color: var(--field-placeholder, var(--muted));
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--field-placeholder, var(--muted)) 15%, transparent);
    }
  }
  .number-field--secondary .number-field__group {
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    background-color: var(--number-field-group-bg);
    --number-field-group-bg: var(--color-default);
    --number-field-group-bg-hover: var(--color-default-hover);
    --number-field-group-bg-focus: var(--color-default);
    @media (hover: hover) {
      &:hover:not(:focus-within), &[data-hovered="true"]:not([data-focus-within="true"]) {
        background-color: var(--number-field-group-bg-hover);
      }
    }
    &:focus-within, &[data-focus-within="true"] {
      background-color: var(--number-field-group-bg-focus);
    }
    &[data-invalid="true"] {
      outline-style: var(--tw-outline-style);
      outline-width: 1px;
      outline-color: var(--danger);
      --tw-outline-style: solid;
      outline-style: solid;
      --tw-ring-offset-width: 3px;
      &:focus, &:focus-visible, &[data-focused="true"], &[data-focus-visible="true"], &:focus-within, &[data-focus-within="true"] {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--danger);
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-width: 0px;
      }
      border-color: var(--color-field-border-invalid);
      background-color: var(--number-field-group-bg-focus);
    }
    [data-slot="number-field-input"] {
      background-color: transparent;
    }
  }
  .number-field--full-width {
    width: 100%;
  }
  .number-field__group--full-width {
    width: 100%;
  }
  .radio-group {
    display: flex;
    flex-direction: column;
    &[data-orientation="vertical"] {
      [data-slot="radio"] {
        margin-top: calc(var(--spacing) * 4);
      }
    }
    &[data-orientation="horizontal"] {
      flex-direction: row;
      flex-wrap: wrap;
      gap: calc(var(--spacing) * 4);
    }
  }
  .radio-group--secondary .radio__control {
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    background-color: var(--radio-control-bg);
    --radio-control-bg: var(--color-default);
    --radio-control-bg-hover: var(--color-default-hover);
    .radio:hover &, .radio[data-hovered="true"] & {
      border-color: var(--field-border, var(--border));
      @supports (color: color-mix(in lab, red, red)) {
        border-color: color-mix(
    in oklab,
    var(--field-border, var(--border)) 88%,
    var(--field-foreground, var(--foreground)) 10%
  );
      }
    }
    .radio:not([aria-checked="true"]):not([data-selected="true"]) & .radio__indicator:empty::before {
      background-color: var(--radio-control-bg);
    }
    .radio:hover:not([aria-checked="true"]):not([data-selected="true"]) &, .radio[data-hovered="true"]:not([aria-checked="true"]):not([data-selected="true"]) & {
      .radio__indicator:empty::before {
        background-color: var(--radio-control-bg-hover);
      }
    }
  }
  .radio {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: calc(var(--spacing) * 3);
    --tw-outline-style: none;
    outline-style: none;
    -webkit-tap-highlight-color: transparent;
    cursor: var(--cursor-interactive);
    [data-slot="label"] {
      -webkit-user-select: none;
      user-select: none;
    }
    [data-slot="description"] {
      text-wrap: wrap;
      -webkit-user-select: none;
      user-select: none;
    }
    &:disabled, &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .radio__control {
    position: relative;
    margin-top: 3px;
    display: inline-flex;
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: calc(infinity * 1px);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-width: var(--border-width-field);
    background-color: var(--field-background, var(--default));
    --tw-shadow: var(--field-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    --tw-outline-style: none;
    outline-style: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out), transform 100ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    cursor: var(--cursor-interactive);
    .radio:focus-visible &, .radio[data-focus-visible="true"] & {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    .radio:hover &, .radio[data-hovered="true"] & {
      border-color: var(--field-border, var(--border));
      @supports (color: color-mix(in lab, red, red)) {
        border-color: color-mix(
    in oklab,
    var(--field-border, var(--border)) 88%,
    var(--field-foreground, var(--foreground)) 10%
  );
      }
    }
    .radio:hover:not([aria-checked="true"]):not([data-selected="true"]) &, .radio[data-hovered="true"]:not([aria-checked="true"]):not([data-selected="true"]) & {
      .radio__indicator:empty::before {
        background-color: var(--field-background, var(--default));
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(
    in oklab,
    var(--field-background, var(--default)) 90%,
    var(--field-foreground, var(--foreground)) 2%
  );
        }
      }
    }
    .radio:active &, .radio[data-pressed="true"] & {
      --tw-scale-x: 95%;
      --tw-scale-y: 95%;
      --tw-scale-z: 95%;
      scale: var(--tw-scale-x) var(--tw-scale-y);
    }
    .radio[aria-checked="true"] &, .radio[data-selected="true"] & {
      border-color: transparent;
      background-color: var(--accent);
    }
    .radio:active[data-selected="true"] &, .radio[data-pressed="true"][data-selected="true"] & {
      background-color: var(--accent);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--accent) 90%, var(--accent-foreground) 10%);
      }
    }
    .radio[data-invalid="true"] &, .radio[aria-invalid="true"] & {
      outline-style: var(--tw-outline-style);
      outline-width: 1px;
      outline-color: var(--danger);
      --tw-outline-style: solid;
      outline-style: solid;
      --tw-ring-offset-width: 3px;
      &:focus, &:focus-visible, &[data-focused="true"], &[data-focus-visible="true"], &:focus-within, &[data-focus-within="true"] {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--danger);
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-width: 0px;
      }
    }
    .radio[data-invalid="true"][aria-checked="true"] &, .radio[data-invalid="true"][data-selected="true"] &, .radio[aria-invalid="true"][aria-checked="true"] &, .radio[aria-invalid="true"][data-selected="true"] & {
      outline-style: var(--tw-outline-style);
      outline-width: 1px;
      outline-color: var(--danger);
      --tw-outline-style: solid;
      outline-style: solid;
      --tw-ring-offset-width: 3px;
      &:focus, &:focus-visible, &[data-focused="true"], &[data-focus-visible="true"], &:focus-within, &[data-focus-within="true"] {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--danger);
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-width: 0px;
      }
    }
  }
  .radio__indicator {
    position: absolute;
    inset: calc(var(--spacing) * 0);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }
  .radio__indicator:empty::before {
    content: "";
    border-radius: calc(infinity * 1px);
    background-color: var(--field-background, var(--default));
    width: 100%;
    height: 100%;
    scale: 1;
    transition: scale 200ms var(--ease-out), background-color 200ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
  }
  .radio[aria-checked="true"] .radio__indicator:empty::before, .radio[data-selected="true"] .radio__indicator:empty::before {
    background-color: var(--accent-foreground);
    scale: 0.4286;
  }
  .radio[data-selected="true"][data-pressed="true"] .radio__indicator:empty::before {
    scale: 0.5714;
  }
  .radio__content {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 0);
  }
  .radio--disabled {
    opacity: var(--disabled-opacity);
    cursor: var(--cursor-disabled);
    pointer-events: none;
  }
  .textfield {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 1);
    &[data-invalid="true"], &[aria-invalid="true"] {
      [data-slot="description"] {
        display: none;
      }
    }
    [data-slot="description"] {
      padding-inline: calc(var(--spacing) * 1);
    }
  }
  .textfield--full-width {
    width: 100%;
    [data-slot="input"], [data-slot="textarea"] {
      width: 100%;
    }
  }
  .search-field {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 1);
    &[data-invalid="true"], &[aria-invalid="true"] {
      [data-slot="description"] {
        display: none;
      }
    }
    [data-slot="label"] {
      width: fit-content;
    }
    [data-slot="description"] {
      padding-inline: calc(var(--spacing) * 1);
    }
    &[data-empty="true"] {
      [data-slot="search-field-clear-button"] {
        pointer-events: none;
        opacity: 0%;
      }
    }
  }
  .search-field__group {
    position: relative;
    display: inline-flex;
    height: calc(var(--spacing) * 9);
    align-items: center;
    overflow: hidden;
    border-radius: var(--field-radius, calc(var(--radius) * 1.5));
    border-style: var(--tw-border-style);
    border-width: 1px;
    background-color: var(--field-background, var(--default));
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--field-foreground, var(--foreground));
    --tw-shadow: var(--field-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    --tw-outline-style: none;
    outline-style: none;
    border-width: var(--border-width-field);
    border-color: var(--color-field-border);
    transition: background-color 150ms var(--ease-smooth), border-color 150ms var(--ease-smooth), box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    @media (hover: hover) {
      &:hover:not(:focus-within), &[data-hovered="true"]:not([data-focus-within="true"]) {
        background-color: var(--field-background, var(--default));
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(
    in oklab,
    var(--field-background, var(--default)) 90%,
    var(--field-foreground, var(--foreground)) 2%
  );
        }
        border-color: var(--color-field-border-hover);
      }
    }
    &[data-focus-within="true"], &:focus-within {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: 0px;
    }
    &[data-invalid="true"] {
      outline-style: var(--tw-outline-style);
      outline-width: 1px;
      outline-color: var(--danger);
      --tw-outline-style: solid;
      outline-style: solid;
      --tw-ring-offset-width: 3px;
      &:focus, &:focus-visible, &[data-focused="true"], &[data-focus-visible="true"], &:focus-within, &[data-focus-within="true"] {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--danger);
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-width: 0px;
      }
      background-color: var(--color-field-focus);
      border-color: var(--color-field-border-invalid);
    }
    &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .search-field__input {
    flex: 1;
    border-radius: 0;
    border-style: var(--tw-border-style);
    border-width: 0px;
    background-color: transparent;
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 2);
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    --tw-outline-style: none;
    outline-style: none;
    @media (width >= 40rem) {
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
    }
    &::-webkit-search-cancel-button, &::-webkit-search-decoration {
      -webkit-appearance: none;
      appearance: none;
    }
    .search-field__group:has([data-slot="search-field-search-icon"]) & {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
      padding-left: calc(var(--spacing) * 2);
    }
    .search-field__group:has([slot="clear"]) & {
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
      padding-right: calc(var(--spacing) * 2);
    }
    &:focus, &:focus-visible {
      --tw-outline-style: none;
      outline-style: none;
    }
  }
  .search-field__search-icon {
    pointer-events: none;
    flex-shrink: 0;
    color: var(--field-placeholder, var(--muted));
    margin-right: calc(var(--spacing) * 0);
    margin-left: calc(var(--spacing) * 3);
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
  }
  .search-field__clear-button {
    margin-right: calc(var(--spacing) * 2);
    width: calc(var(--spacing) * 5);
    height: calc(var(--spacing) * 5);
    flex-shrink: 0;
    [data-slot="close-button-icon"] {
      width: calc(var(--spacing) * 3);
      height: calc(var(--spacing) * 3);
    }
  }
  .search-field--secondary .search-field__group {
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    background-color: var(--search-field-group-bg);
    --search-field-group-bg: var(--color-default);
    --search-field-group-bg-hover: var(--color-default-hover);
    --search-field-group-bg-focus: var(--color-default);
    @media (hover: hover) {
      &:hover:not(:focus-within), &[data-hovered="true"]:not([data-focus-within="true"]) {
        background-color: var(--search-field-group-bg-hover);
      }
    }
    &:focus-within, &[data-focus-within="true"] {
      background-color: var(--search-field-group-bg-focus);
    }
    &[data-invalid="true"] {
      outline-style: var(--tw-outline-style);
      outline-width: 1px;
      outline-color: var(--danger);
      --tw-outline-style: solid;
      outline-style: solid;
      --tw-ring-offset-width: 3px;
      &:focus, &:focus-visible, &[data-focused="true"], &[data-focus-visible="true"], &:focus-within, &[data-focus-within="true"] {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--danger);
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-width: 0px;
      }
      border-color: var(--color-field-border-invalid);
      background-color: var(--search-field-group-bg-focus);
    }
    [data-slot="search-field-input"] {
      background-color: transparent;
    }
  }
  .search-field--full-width {
    width: 100%;
  }
  .search-field__group--full-width {
    width: 100%;
  }
  .textarea {
    border-radius: var(--field-radius, calc(var(--radius) * 1.5));
    border-style: var(--tw-border-style);
    border-width: 1px;
    background-color: var(--field-background, var(--default));
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 2);
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    color: var(--field-foreground, var(--foreground));
    --tw-shadow: var(--field-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    --tw-outline-style: none;
    outline-style: none;
    &::placeholder {
      color: var(--field-placeholder, var(--muted));
    }
    @media (width >= 40rem) {
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
    }
    min-height: 38px;
    border-width: var(--border-width-field);
    border-color: var(--color-field-border);
    transition: background-color 150ms var(--ease-smooth), border-color 150ms var(--ease-smooth), box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    @media (hover: hover) {
      &:hover:not(:focus):not(:focus-visible), &[data-hovered="true"]:not([data-focused="true"]):not([data-focus-visible="true"]) {
        background-color: var(--field-background, var(--default));
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(
    in oklab,
    var(--field-background, var(--default)) 90%,
    var(--field-foreground, var(--foreground)) 2%
  );
        }
        border-color: var(--color-field-border-hover);
      }
    }
    &:focus, &[data-focused="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: 0px;
      border-color: var(--color-field-border-focus);
      background-color: var(--color-field-focus);
    }
    &[data-invalid="true"] {
      outline-style: var(--tw-outline-style);
      outline-width: 1px;
      outline-color: var(--danger);
      --tw-outline-style: solid;
      outline-style: solid;
      --tw-ring-offset-width: 3px;
      &:focus, &:focus-visible, &[data-focused="true"], &[data-focus-visible="true"], &:focus-within, &[data-focus-within="true"] {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--danger);
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-width: 0px;
      }
      background-color: var(--color-field-focus);
    }
    &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .textarea--secondary {
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    background-color: var(--textarea-bg);
    --textarea-bg: var(--color-default);
    --textarea-bg-hover: var(--color-default-hover);
    --textarea-bg-focus: var(--color-default);
    @media (hover: hover) {
      &:hover:not(:focus):not(:focus-visible), &[data-hovered="true"]:not([data-focused="true"]):not([data-focus-visible="true"]) {
        background-color: var(--textarea-bg-hover);
      }
    }
    &:focus, &[data-focused="true"] {
      background-color: var(--textarea-bg-focus);
    }
    &[data-invalid="true"] {
      outline-style: var(--tw-outline-style);
      outline-width: 1px;
      outline-color: var(--danger);
      --tw-outline-style: solid;
      outline-style: solid;
      --tw-ring-offset-width: 3px;
      &:focus, &:focus-visible, &[data-focused="true"], &[data-focus-visible="true"], &:focus-within, &[data-focus-within="true"] {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--danger);
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-width: 0px;
      }
      background-color: var(--textarea-bg-focus);
    }
  }
  .textarea--full-width {
    width: 100%;
  }
  .calendar {
    width: calc(var(--spacing) * 63);
    max-width: 100%;
    container-type: inline-size;
  }
  .calendar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: calc(var(--spacing) * 0.5);
    padding-bottom: calc(var(--spacing) * 4);
    &:has(.calendar-year-picker__trigger[data-open="true"]) {
      .calendar__nav-button {
        pointer-events: none;
        opacity: 0%;
      }
    }
  }
  .calendar__heading {
    flex: 1;
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .calendar__nav-button {
    display: flex;
    width: calc(var(--spacing) * 6);
    height: calc(var(--spacing) * 6);
    align-items: center;
    justify-content: center;
    border-radius: calc(infinity * 1px);
    color: var(--accent);
    will-change: scale;
    transition: transform 250ms var(--ease-out), background-color 100ms var(--ease-out), box-shadow 100ms var(--ease-out), opacity 150ms var(--ease-out);
    transform: translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    cursor: var(--cursor-interactive);
    @media (hover: hover) {
      &:hover, &[data-hovered="true"] {
        background-color: var(--default);
        color: var(--accent);
      }
    }
    &:active, &[data-pressed="true"] {
      transform: scale(0.95);
    }
    &:focus-visible, &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    &:disabled, &[data-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .calendar__nav-button-icon {
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
  }
  .calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    width: 100%;
    &[aria-readonly="true"] {
      .calendar__cell {
        pointer-events: none;
      }
    }
  }
  .calendar__grid-header {
    display: contents;
    & > tr {
      display: contents;
    }
  }
  .calendar__grid-body {
    display: contents;
    & > tr {
      display: contents;
    }
    & > tr:first-child > td {
      margin-top: calc(var(--spacing) * 1);
    }
  }
  .calendar__grid-row {
    display: contents;
  }
  .calendar__header-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: calc(var(--spacing) * 2);
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--muted);
  }
  .calendar__cell {
    position: relative;
    display: flex;
    aspect-ratio: 1 / 1;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-radius: calc(var(--radius) * 3);
    text-align: center;
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    --tw-outline-style: none;
    outline-style: none;
    -webkit-tap-highlight-color: transparent;
    will-change: scale;
    transition: transform 250ms var(--ease-out), box-shadow 100ms var(--ease-out);
    transform: translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    cursor: var(--cursor-interactive);
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    &[data-today="true"] {
      color: var(--accent);
    }
    &[data-selected="true"] {
      background-color: var(--accent);
      color: var(--accent-foreground);
    }
    &:active, &[data-pressed="true"] {
      background-color: var(--default);
      transform: scale(0.95);
      &[data-selected="true"] {
        background-color: var(--accent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--accent) 90%, var(--accent-foreground) 10%);
        }
      }
    }
    @media (hover: hover) {
      &:hover:not([data-selected="true"]), &[data-hovered="true"]:not([data-selected="true"]) {
        background-color: var(--default);
      }
    }
    &[data-outside-month="true"] {
      color: var(--muted);
      opacity: 50%;
    }
    &[data-selected="true"][data-outside-month="true"] {
      background-color: var(--default);
    }
    &[data-unavailable="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
    &:disabled:not([data-outside-month="true"]), &[data-disabled="true"]:not([data-outside-month="true"]) {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
      text-decoration: line-through;
    }
  }
  .calendar__cell-indicator {
    position: absolute;
    bottom: calc(var(--spacing) * 1);
    left: calc(1 / 2 * 100%);
    width: 3px;
    height: 3px;
    --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
    border-radius: calc(infinity * 1px);
    background-color: var(--muted);
    [data-selected="true"] > & {
      background-color: var(--accent-foreground);
    }
  }
  .range-calendar {
    width: calc(var(--spacing) * 63);
    max-width: 100%;
    container-type: inline-size;
  }
  .range-calendar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: calc(var(--spacing) * 0.5);
    padding-bottom: calc(var(--spacing) * 4);
    &:has(.calendar-year-picker__trigger[data-open="true"]) {
      .range-calendar__nav-button {
        pointer-events: none;
        opacity: 0%;
      }
    }
  }
  .range-calendar__heading {
    flex: 1;
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .range-calendar__nav-button {
    display: flex;
    width: calc(var(--spacing) * 6);
    height: calc(var(--spacing) * 6);
    align-items: center;
    justify-content: center;
    border-radius: calc(infinity * 1px);
    color: var(--accent);
    will-change: scale;
    transition: transform 250ms var(--ease-out), background-color 100ms var(--ease-out), box-shadow 100ms var(--ease-out), opacity 150ms var(--ease-out);
    transform: translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    cursor: var(--cursor-interactive);
    @media (hover: hover) {
      &:hover, &[data-hovered="true"] {
        background-color: var(--default);
        color: var(--accent);
      }
    }
    &:active, &[data-pressed="true"] {
      transform: scale(0.95);
    }
    &:focus-visible, &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    &:disabled, &[data-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .range-calendar__nav-button-icon {
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
  }
  .range-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    width: 100%;
    &[aria-readonly="true"] {
      .range-calendar__cell {
        pointer-events: none;
      }
    }
  }
  .range-calendar__grid-header {
    display: contents;
    & > tr {
      display: contents;
    }
  }
  .range-calendar__grid-body {
    display: contents;
    & > tr {
      display: contents;
    }
    & > tr:first-child > td {
      margin-top: calc(var(--spacing) * 1);
    }
  }
  .range-calendar__grid-row {
    display: contents;
  }
  .range-calendar__header-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: calc(var(--spacing) * 2);
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--muted);
  }
  .range-calendar__cell {
    position: relative;
    z-index: 1;
    margin-inline: calc(var(--spacing) * 0);
    margin-block: 2px;
    border-radius: calc(infinity * 1px);
    padding: calc(var(--spacing) * 0);
    --tw-outline-style: none;
    outline-style: none;
    cursor: var(--cursor-interactive);
    will-change: background-color, border-color;
    transition: box-shadow 100ms var(--ease-out), border-color 100ms var(--ease-out);
    transform: translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    .range-calendar__cell-button {
      display: flex;
      aspect-ratio: 1 / 1;
      width: 100%;
      align-items: center;
      justify-content: center;
      border-radius: calc(infinity * 1px);
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
      --tw-font-weight: var(--font-weight-medium);
      font-weight: var(--font-weight-medium);
      color: var(--foreground);
      -webkit-tap-highlight-color: transparent;
      will-change: scale;
      transition: scale 200ms var(--ease-out);
      transform: translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
      &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
          transition-property: none;
          &::before, &::after {
            transition-property: none;
          }
        }
      }
    }
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      z-index: 2;
      .range-calendar__cell-button {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--focus);
        --tw-ring-offset-width: 0px;
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-color: var(--background);
        --tw-outline-style: none;
        outline-style: none;
        --tw-ring-offset-width: var(--ring-offset-width);
      }
    }
    &[data-today="true"] {
      .range-calendar__cell-button {
        color: var(--accent);
      }
    }
    &[data-selected="true"]:not([data-outside-month="true"]) {
      border-radius: 0;
      background-color: var(--accent);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--accent) 15%, transparent);
      }
    }
    &[data-selected="true"]:is(td:first-child > *, [aria-disabled] + td > *) {
      border-start-start-radius: calc(var(--radius) * 1);
      border-end-start-radius: calc(var(--radius) * 1);
      &[data-selection-start="true"] {
        border-start-start-radius: calc(infinity * 1px);
        border-end-start-radius: calc(infinity * 1px);
      }
    }
    &[data-selected="true"]:is(td:last-child > *, td:has(+ [aria-disabled]) > *) {
      border-start-end-radius: calc(var(--radius) * 1);
      border-end-end-radius: calc(var(--radius) * 1);
      &[data-selection-end="true"] {
        border-start-end-radius: calc(infinity * 1px);
        border-end-end-radius: calc(infinity * 1px);
      }
    }
    &[data-selection-start="true"]:not([data-outside-month="true"]), &[data-selection-end="true"]:not([data-outside-month="true"]) {
      z-index: 2;
      .range-calendar__cell-button {
        background-color: var(--accent);
        color: var(--accent-foreground);
      }
    }
    &[data-selection-start="true"]:not([data-outside-month="true"]) {
      border-top-left-radius: calc(infinity * 1px);
      border-bottom-left-radius: calc(infinity * 1px);
    }
    &[data-selection-end="true"]:not([data-outside-month="true"]) {
      border-top-right-radius: calc(infinity * 1px);
      border-bottom-right-radius: calc(infinity * 1px);
    }
    &:active, &[data-pressed="true"] {
      .range-calendar__cell-button {
        scale: 0.9;
      }
      &[data-selection-start="true"], &[data-selection-end="true"] {
        .range-calendar__cell-button {
          background-color: var(--accent);
          @supports (color: color-mix(in lab, red, red)) {
            background-color: color-mix(in oklab, var(--accent) 90%, var(--accent-foreground) 10%);
          }
        }
      }
    }
    @media (hover: hover) {
      &:hover:not([data-selected="true"]), &[data-hovered="true"]:not([data-selected="true"]) {
        .range-calendar__cell-button {
          background-color: var(--default);
        }
      }
    }
    &[data-outside-month="true"] {
      color: var(--muted);
      opacity: 50%;
    }
    &[data-selected="true"][data-outside-month="true"]:not( [data-selection-start="true"], [data-selection-end="true"] ) {
      background-color: var(--default);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--default) 20%, transparent);
      }
    }
    &[data-unavailable="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
    &:disabled:not([data-outside-month="true"]), &[data-disabled="true"]:not([data-outside-month="true"]) {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
      text-decoration: line-through;
    }
  }
  .range-calendar__grid-body td:has(> .range-calendar__cell[data-outside-month="true"]) + td > .range-calendar__cell[data-selected="true"] {
    border-start-start-radius: calc(var(--radius) * 1);
    border-end-start-radius: calc(var(--radius) * 1);
    &[data-outside-month="true"], &[data-selection-start="true"] {
      border-start-start-radius: calc(infinity * 1px);
      border-end-start-radius: calc(infinity * 1px);
    }
  }
  .range-calendar__grid-body td:has(> .range-calendar__cell[data-selected="true"]):has( + td > .range-calendar__cell[data-outside-month="true"] ) > .range-calendar__cell[data-selected="true"] {
    border-start-end-radius: calc(var(--radius) * 1);
    border-end-end-radius: calc(var(--radius) * 1);
    &[data-outside-month="true"], &[data-selection-end="true"] {
      border-start-end-radius: calc(infinity * 1px);
      border-end-end-radius: calc(infinity * 1px);
    }
  }
  .range-calendar__cell-indicator {
    position: absolute;
    bottom: calc(var(--spacing) * 1);
    left: calc(1 / 2 * 100%);
    width: 3px;
    height: 3px;
    --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
    border-radius: calc(infinity * 1px);
    background-color: var(--muted);
    [data-selected="true"] > & {
      background-color: var(--accent-foreground);
    }
  }
  .calendar:has(.calendar-year-picker__year-grid), .range-calendar:has(.calendar-year-picker__year-grid) {
    position: relative;
  }
  .calendar:has(.calendar-year-picker__year-grid) > [data-slot="calendar-grid"], .range-calendar:has(.calendar-year-picker__year-grid) > [data-slot="range-calendar-grid"] {
    will-change: opacity;
    transition: opacity 150ms var(--ease-out), visibility 0ms linear;
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
  }
  .calendar:has(.calendar-year-picker__year-grid[data-open="true"]) > [data-slot="calendar-grid"], .range-calendar:has(.calendar-year-picker__year-grid[data-open="true"]) > [data-slot="range-calendar-grid"] {
    pointer-events: none;
    opacity: 0%;
    visibility: hidden;
    transition: opacity 150ms var(--ease-out), visibility 0ms linear 150ms;
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
  }
  .calendar-year-picker__trigger {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-start;
    gap: calc(var(--spacing) * 1);
    border-radius: calc(var(--radius) * 1);
    --tw-outline-style: none;
    outline-style: none;
    cursor: var(--cursor-interactive);
    touch-action: manipulation;
    &:focus-visible {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
  }
  .calendar-year-picker__trigger-heading {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    transition: color 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
  }
  .calendar-year-picker__trigger-indicator {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
    color: var(--accent);
    transition: transform 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
  }
  .calendar-year-picker__trigger[data-open="true"] .calendar-year-picker__trigger-indicator {
    transform: rotate(90deg);
  }
  .calendar-year-picker__trigger[data-open="true"] .calendar-year-picker__trigger-heading {
    color: var(--accent);
  }
  .calendar-year-picker__year-grid {
    pointer-events: none;
    position: absolute;
    right: calc(var(--spacing) * 0);
    left: calc(var(--spacing) * 0);
    display: grid;
    align-content: flex-start;
    gap: calc(var(--spacing) * 1);
    overflow-y: auto;
    padding: calc(var(--spacing) * 1);
    opacity: 0%;
    grid-template-columns: repeat(3, 1fr);
    will-change: opacity;
    scrollbar-width: thin;
    scrollbar-color: oklch(0% 0 0 / 0.15) transparent;
    &::-webkit-scrollbar {
      width: 6px;
    }
    &::-webkit-scrollbar-track {
      background: transparent;
    }
    &::-webkit-scrollbar-thumb {
      background: oklch(0% 0 0 / 0.15);
      border-radius: 3px;
    }
    &::-webkit-scrollbar-thumb:hover {
      background: oklch(0% 0 0 / 0.25);
    }
    :is([data-theme="dark"], .dark) & {
      scrollbar-color: oklch(100% 0 0 / 0.15) transparent;
      &::-webkit-scrollbar-thumb {
        background: oklch(100% 0 0 / 0.15);
      }
      &::-webkit-scrollbar-thumb:hover {
        background: oklch(100% 0 0 / 0.25);
      }
    }
  }
  .calendar-year-picker__year-grid[data-open="true"] {
    pointer-events: auto;
    opacity: 100%;
    transition: opacity 200ms var(--ease-out) 50ms;
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
  }
  .calendar-year-picker__year-cell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: calc(infinity * 1px);
    padding-inline: calc(var(--spacing) * 2.5);
    padding-block: calc(var(--spacing) * 1.5);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    --tw-outline-style: none;
    outline-style: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: color 100ms var(--ease-smooth), scale 100ms var(--ease-smooth), opacity 100ms var(--ease-smooth), background-color 100ms var(--ease-smooth), box-shadow 100ms var(--ease-out);
    transform-origin: center;
    transform: translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    cursor: var(--cursor-interactive);
    @media (hover: hover) and (pointer: fine) {
      &:is(:hover, [data-hovered="true"]):not([data-selected="true"]) {
        background-color: var(--default);
        color: var(--default-foreground);
      }
    }
    &[data-selected="true"], &[aria-selected="true"] {
      background-color: var(--accent);
      color: var(--accent-foreground);
      @media (hover: hover) and (pointer: fine) {
        &:is(:hover, [data-hovered="true"]) {
          background-color: var(--accent);
          @supports (color: color-mix(in lab, red, red)) {
            background-color: color-mix(in oklab, var(--accent) 90%, var(--accent-foreground) 10%);
          }
        }
      }
    }
    &:focus-visible {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
  }
  .date-field {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 1);
    &[data-invalid="true"], &[aria-invalid="true"] {
      [data-slot="description"] {
        display: none;
      }
    }
    [data-slot="label"] {
      width: fit-content;
    }
    [data-slot="description"] {
      padding-inline: calc(var(--spacing) * 1);
    }
  }
  .date-field--full-width {
    width: 100%;
  }
  .time-field {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 1);
    &[data-invalid="true"], &[aria-invalid="true"] {
      [data-slot="description"] {
        display: none;
      }
    }
    [data-slot="label"] {
      width: fit-content;
    }
    [data-slot="description"] {
      padding-inline: calc(var(--spacing) * 1);
    }
  }
  .time-field--full-width {
    width: 100%;
  }
  .date-input-group {
    display: inline-flex;
    height: calc(var(--spacing) * 9);
    align-items: center;
    overflow: hidden;
    border-radius: var(--field-radius, calc(var(--radius) * 1.5));
    border-style: var(--tw-border-style);
    border-width: 1px;
    background-color: var(--field-background, var(--default));
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--field-foreground, var(--foreground));
    --tw-shadow: var(--field-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    --tw-outline-style: none;
    outline-style: none;
    border-width: var(--border-width-field);
    border-color: var(--color-field-border);
    transition: background-color 150ms var(--ease-smooth), border-color 150ms var(--ease-smooth), box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    @media (hover: hover) {
      &:hover:not(:focus-within), &[data-hovered="true"]:not([data-focus-within="true"]) {
        background-color: var(--field-background, var(--default));
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(
    in oklab,
    var(--field-background, var(--default)) 90%,
    var(--field-foreground, var(--foreground)) 2%
  );
        }
        border-color: var(--color-field-border-hover);
      }
    }
    &[data-focus-within="true"]:not( :has( [data-slot="date-picker-trigger"]:focus, [data-slot="date-picker-trigger"][data-focused="true"], [data-slot="date-range-picker-trigger"]:focus, [data-slot="date-range-picker-trigger"][data-focused="true"] ) ), &:focus-within:not( :has( [data-slot="date-picker-trigger"]:focus, [data-slot="date-picker-trigger"][data-focused="true"], [data-slot="date-range-picker-trigger"]:focus, [data-slot="date-range-picker-trigger"][data-focused="true"] ) ) {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: 0px;
    }
    &[data-invalid="true"] {
      outline-style: var(--tw-outline-style);
      outline-width: 1px;
      outline-color: var(--danger);
      --tw-outline-style: solid;
      outline-style: solid;
      --tw-ring-offset-width: 3px;
      &:focus, &:focus-visible, &[data-focused="true"], &[data-focus-visible="true"], &:focus-within, &[data-focus-within="true"] {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--danger);
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-width: 0px;
      }
      background-color: var(--color-field-focus);
      border-color: var(--color-field-border-invalid);
    }
    &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .date-input-group__input {
    display: flex;
    flex: 1;
    cursor: text;
    align-items: center;
    gap: 1px;
    border-radius: 0;
    border-style: var(--tw-border-style);
    border-width: 0px;
    background-color: transparent;
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 2);
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    --tw-outline-style: none;
    outline-style: none;
    @media (width >= 40rem) {
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
    }
    .date-input-group:has([data-slot="date-input-group-prefix"]) & {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
      padding-left: calc(var(--spacing) * 2);
    }
    .date-input-group:has([data-slot="date-input-group-suffix"]) & {
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
      padding-right: calc(var(--spacing) * 2);
    }
    .date-input-group:has(.date-range-picker__range-separator) & {
      &[slot="start"] {
        flex: none;
        padding-right: calc(var(--spacing) * 0);
      }
      &[slot="end"] {
        padding-left: calc(var(--spacing) * 0);
      }
    }
    &:focus, &:focus-visible {
      --tw-outline-style: none;
      outline-style: none;
    }
  }
  .date-input-group__input-container {
    display: flex;
    flex: 1;
    align-items: center;
    width: fit-content;
    overflow-x: auto;
    overflow-y: clip;
    scrollbar-width: none;
    &::-webkit-scrollbar {
      display: none;
    }
  }
  .date-input-group__segment {
    display: inline-block;
    border-radius: calc(var(--radius) * 0.75);
    padding-inline: calc(var(--spacing) * 0.5);
    text-align: end;
    text-wrap: nowrap;
    --tw-outline-style: none;
    outline-style: none;
    &[data-type="literal"] {
      padding: calc(var(--spacing) * 0);
      color: var(--muted);
    }
    &[data-placeholder="true"] {
      color: var(--field-placeholder, var(--muted));
    }
    &:focus, &[data-focused="true"] {
      background-color: var(--accent);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--accent) 15%, transparent);
      }
      color: var(--accent);
    }
    &[data-disabled="true"] {
      opacity: 50%;
    }
    &[data-invalid="true"] {
      color: var(--danger);
      &:focus, &[data-focused="true"] {
        background-color: var(--danger);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--danger) 15%, transparent);
        }
        color: var(--danger);
      }
    }
  }
  .date-input-group__prefix {
    pointer-events: none;
    flex-shrink: 0;
    color: var(--field-placeholder, var(--muted));
    margin-right: calc(var(--spacing) * 0);
    margin-left: calc(var(--spacing) * 3);
    display: flex;
    align-items: center;
  }
  .date-input-group__suffix {
    pointer-events: none;
    flex-shrink: 0;
    color: var(--field-placeholder, var(--muted));
    margin-right: calc(var(--spacing) * 3);
    display: flex;
    align-items: center;
  }
  .date-input-group--secondary {
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    background-color: var(--date-input-group-bg);
    --date-input-group-bg: var(--color-default);
    --date-input-group-bg-hover: var(--color-default-hover);
    --date-input-group-bg-focus: var(--color-default);
    @media (hover: hover) {
      &:hover:not(:focus-within), &[data-hovered="true"]:not([data-focus-within="true"]) {
        background-color: var(--date-input-group-bg-hover);
      }
    }
    &:focus-within, &[data-focus-within="true"] {
      background-color: var(--date-input-group-bg-focus);
    }
    &[data-invalid="true"] {
      outline-style: var(--tw-outline-style);
      outline-width: 1px;
      outline-color: var(--danger);
      --tw-outline-style: solid;
      outline-style: solid;
      --tw-ring-offset-width: 3px;
      &:focus, &:focus-visible, &[data-focused="true"], &[data-focus-visible="true"], &:focus-within, &[data-focus-within="true"] {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--danger);
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-width: 0px;
      }
      border-color: var(--color-field-border-invalid);
      background-color: var(--date-input-group-bg-focus);
    }
    [data-slot="date-input-group-input"] {
      background-color: transparent;
    }
  }
  .date-input-group--full-width {
    width: 100%;
  }
  .date-picker {
    display: inline-flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 1);
    .date-input-group__suffix, .date-input-group__prefix {
      pointer-events: auto;
    }
  }
  .date-picker__trigger {
    display: inline-flex;
    width: 100%;
    align-items: center;
    border-radius: var(--field-radius, calc(var(--radius) * 1.5));
    padding: calc(var(--spacing) * 1);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    -webkit-tap-highlight-color: transparent;
    cursor: var(--cursor-interactive);
    transition: box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    &:disabled, &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .date-picker__trigger-indicator {
    display: inline-flex;
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
    align-items: center;
    justify-content: center;
    color: var(--field-placeholder, var(--muted));
  }
  .date-picker__popover {
    max-width: var(--trigger-width);
    transform-origin: var(--trigger-anchor-point);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: var(--overlay);
    padding: calc(var(--spacing) * 3);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    box-shadow: var(--shadow-overlay);
    border-radius: calc(var(--radius) * 2.5);
    &::-webkit-scrollbar {
      display: none;
    }
    -ms-overflow-style: none;
    scrollbar-width: none;
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-outline-style: none;
      outline-style: none;
    }
    &[data-entering="true"] {
      animation: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 150ms;
      transition-duration: 150ms;
      --tw-ease: ease;
      transition-timing-function: ease;
      --tw-enter-opacity: calc(0/100);
      --tw-enter-opacity: 0;
      --tw-enter-scale: calc(95*1%);
      --tw-enter-scale: .95;
      &[data-placement^="top"] {
        --tw-enter-translate-y: calc(1*var(--spacing));
      }
      &[data-placement^="bottom"] {
        --tw-enter-translate-y: calc(1*var(--spacing)*-1);
      }
      &[data-placement^="left"] {
        --tw-enter-translate-x: calc(1*var(--spacing));
      }
      &[data-placement^="right"] {
        --tw-enter-translate-x: calc(1*var(--spacing)*-1);
      }
    }
    &[data-exiting="true"] {
      animation: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 100ms;
      transition-duration: 100ms;
      --tw-ease: ease;
      transition-timing-function: ease;
      --tw-exit-scale: calc(95*1%);
      --tw-exit-scale: .95;
      --tw-exit-opacity: 0;
    }
    &[data-exiting="true"], &[data-entering="true"] {
      will-change: opacity,transform;
    }
  }
  .date-range-picker {
    display: inline-flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 1);
    .date-input-group__suffix, .date-input-group__prefix {
      pointer-events: auto;
    }
  }
  .date-range-picker__trigger {
    display: inline-flex;
    width: 100%;
    align-items: center;
    border-radius: var(--field-radius, calc(var(--radius) * 1.5));
    padding: calc(var(--spacing) * 1);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    -webkit-tap-highlight-color: transparent;
    cursor: var(--cursor-interactive);
    transition: box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    &:disabled, &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .date-range-picker__trigger-indicator {
    display: inline-flex;
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
    align-items: center;
    justify-content: center;
    color: var(--field-placeholder, var(--muted));
  }
  .date-range-picker__range-separator {
    padding-inline: calc(var(--spacing) * 1);
    color: var(--field-placeholder, var(--muted));
    -webkit-user-select: none;
    user-select: none;
  }
  .date-range-picker__popover {
    max-width: var(--trigger-width);
    transform-origin: var(--trigger-anchor-point);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: var(--overlay);
    padding: calc(var(--spacing) * 3);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    box-shadow: var(--shadow-overlay);
    border-radius: calc(var(--radius) * 2.5);
    &::-webkit-scrollbar {
      display: none;
    }
    -ms-overflow-style: none;
    scrollbar-width: none;
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-outline-style: none;
      outline-style: none;
    }
    &[data-entering="true"] {
      animation: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 150ms;
      transition-duration: 150ms;
      --tw-ease: ease;
      transition-timing-function: ease;
      --tw-enter-opacity: calc(0/100);
      --tw-enter-opacity: 0;
      --tw-enter-scale: calc(95*1%);
      --tw-enter-scale: .95;
      &[data-placement^="top"] {
        --tw-enter-translate-y: calc(1*var(--spacing));
      }
      &[data-placement^="bottom"] {
        --tw-enter-translate-y: calc(1*var(--spacing)*-1);
      }
      &[data-placement^="left"] {
        --tw-enter-translate-x: calc(1*var(--spacing));
      }
      &[data-placement^="right"] {
        --tw-enter-translate-x: calc(1*var(--spacing)*-1);
      }
    }
    &[data-exiting="true"] {
      animation: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 100ms;
      transition-duration: 100ms;
      --tw-ease: ease;
      transition-timing-function: ease;
      --tw-exit-scale: calc(95*1%);
      --tw-exit-scale: .95;
      --tw-exit-opacity: 0;
    }
    &[data-exiting="true"], &[data-entering="true"] {
      will-change: opacity,transform;
    }
  }
  .card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 3);
    overflow: hidden;
    padding: calc(var(--spacing) * 4);
    border-radius: calc(var(--radius) * 3);
    --tw-shadow: var(--surface-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .card__header {
    display: flex;
    flex-direction: column;
  }
  .card__title {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-leading: calc(var(--spacing) * 6);
    line-height: calc(var(--spacing) * 6);
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--foreground);
  }
  .card__description {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-leading: calc(var(--spacing) * 5);
    line-height: calc(var(--spacing) * 5);
    color: var(--muted);
  }
  .card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: calc(var(--spacing) * 1);
  }
  .card__footer {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .card--transparent {
    --tw-border-style: none;
    border-style: none;
    background-color: transparent;
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .card--default {
    background-color: var(--surface);
  }
  .card--secondary {
    background-color: var(--surface-secondary);
  }
  .card--tertiary {
    background-color: var(--surface-tertiary);
  }
  .header {
    width: 100%;
    padding-inline: calc(var(--spacing) * 2);
    padding-top: calc(var(--spacing) * 1.5);
    padding-bottom: calc(var(--spacing) * 1);
    text-align: left;
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--muted);
  }
  .separator {
    flex-shrink: 0;
    border-radius: 4px;
    border-top-style: var(--tw-border-style);
    border-top-width: 0px;
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 0px;
    background-color: var(--separator);
    height: 1px;
    width: 100%;
  }
  .separator--horizontal {
    height: 1px;
    width: 100%;
  }
  .separator--vertical {
    height: auto;
    min-height: calc(var(--spacing) * 2);
    width: 1px;
    align-self: stretch;
  }
  .separator--default {
    background-color: var(--separator);
  }
  .separator--secondary {
    background-color: var(--surface);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(
    in oklab,
    var(--surface) 85%,
    var(--surface-foreground) 15%
  );
    }
  }
  .separator--tertiary {
    background-color: var(--surface);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(
    in oklab,
    var(--surface) 81%,
    var(--surface-foreground) 19%
  );
    }
  }
  .separator__container {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 3);
  }
  .separator__container--horizontal {
    width: 100%;
    flex-direction: row;
  }
  .separator__container--vertical {
    height: 100%;
    flex-direction: column;
    justify-content: center;
  }
  .separator__line {
    flex-shrink: 0;
    flex-grow: 1;
  }
  .separator__content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    color: var(--muted);
  }
  .separator__content--horizontal {
    text-align: center;
  }
  .separator__content--vertical {
    text-align: center;
  }
  .surface {
    position: relative;
    color: var(--foreground);
  }
  .surface--transparent {
    background-color: transparent;
  }
  .surface--default {
    background-color: var(--surface);
    color: var(--surface-foreground);
  }
  .surface--secondary {
    background-color: var(--surface-secondary);
    color: var(--surface-secondary-foreground);
  }
  .surface--tertiary {
    background-color: var(--surface-tertiary);
    color: var(--surface-tertiary-foreground);
  }
  .avatar {
    position: relative;
    display: flex;
    width: calc(var(--spacing) * 10);
    height: calc(var(--spacing) * 10);
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: calc(infinity * 1px);
    background-color: var(--default);
  }
  .avatar__fallback {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background-color: var(--default);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .avatar__image {
    position: absolute;
    inset: calc(var(--spacing) * 0);
    aspect-ratio: 1 / 1;
    width: 100%;
    height: 100%;
    transition-property: opacity;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-duration: 250ms;
    transition-duration: 250ms;
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
  }
  .avatar--sm {
    width: calc(var(--spacing) * 8);
    height: calc(var(--spacing) * 8);
  }
  .avatar--lg {
    width: calc(var(--spacing) * 12);
    height: calc(var(--spacing) * 12);
    .avatar__fallback {
      font-size: var(--text-base);
      line-height: var(--tw-leading, var(--text-base--line-height));
    }
  }
  .avatar__fallback--accent {
    color: var(--accent);
  }
  .avatar__fallback--default {
    color: var(--default-foreground);
  }
  .avatar__fallback--success {
    color: var(--success);
  }
  .avatar__fallback--warning {
    color: var(--warning);
  }
  .avatar__fallback--danger {
    color: var(--danger);
  }
  .avatar--soft {
    background-color: transparent;
  }
  .avatar--soft .avatar__fallback--accent {
    background-color: var(--accent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--accent) 15%, transparent);
    }
    color: var(--accent);
  }
  .avatar--soft .avatar__fallback--success {
    background-color: var(--success);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--success) 15%, transparent);
    }
    color: var(--success);
  }
  .avatar--soft .avatar__fallback--warning {
    background-color: var(--warning);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--warning) 15%, transparent);
    }
    color: var(--warning);
  }
  .avatar--soft .avatar__fallback--danger {
    background-color: var(--danger);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--danger) 15%, transparent);
    }
    color: var(--danger);
  }
  .alert-dialog__trigger {
    display: inline-block;
    cursor: var(--cursor-interactive);
    transition: transform 250ms var(--ease-out-quart), background-color 150ms var(--ease-smooth), box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    &:disabled, &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
    &:active, &[data-pressed="true"] {
      transform: scale(0.97);
    }
  }
  .alert-dialog__backdrop {
    position: fixed;
    inset: calc(var(--spacing) * 0);
    z-index: 50;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: var(--visual-viewport-height);
    width: 100%;
    &[data-entering="true"] {
      animation: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 150ms;
      transition-duration: 150ms;
      --tw-ease: var(--ease-out);
      transition-timing-function: var(--ease-out);
      --tw-enter-opacity: calc(0/100);
      --tw-enter-opacity: 0;
    }
    &[data-exiting="true"] {
      animation: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 100ms;
      transition-duration: 100ms;
      --tw-ease: var(--ease-out);
      transition-timing-function: var(--ease-out);
      --tw-exit-opacity: calc(0/100);
      --tw-exit-opacity: 0;
    }
    &[data-exiting="true"], &[data-entering="true"] {
      will-change: opacity;
      &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
        animation: none;
        &::before, &::after {
          animation: none;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
          animation: none;
          &::before, &::after {
            animation: none;
          }
        }
      }
    }
  }
  .alert-dialog__backdrop--transparent {
    background-color: transparent;
  }
  .alert-dialog__backdrop--opaque {
    background-color: var(--backdrop);
  }
  .alert-dialog__backdrop--blur {
    background-color: var(--backdrop);
    --tw-backdrop-blur: blur(var(--blur-md));
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .alert-dialog__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: var(--visual-viewport-height);
    width: 100%;
    min-width: calc(var(--spacing) * 0);
    flex: 1;
    padding: calc(var(--spacing) * 4);
    @media (width >= 40rem) {
      width: fit-content;
    }
    @media (width >= 40rem) {
      padding: calc(var(--spacing) * 10);
    }
    pointer-events: none;
    &[data-entering="true"] {
      animation: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 250ms;
      transition-duration: 250ms;
      --tw-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
      transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
      --tw-enter-opacity: calc(0/100);
      --tw-enter-opacity: 0;
      --tw-enter-scale: calc(105*1%);
      &[data-placement="auto"] {
        --tw-enter-translate-y: calc(1*var(--spacing));
        @media (width >= 40rem) {
          --tw-enter-translate-y: calc(0*var(--spacing));
          --tw-enter-translate-y: calc(0*100%);
        }
      }
      &[data-placement="top"] {
        --tw-enter-translate-y: calc(1*var(--spacing)*-1);
      }
      &[data-placement="center"] {
        --tw-enter-translate-y: calc(0*var(--spacing)*-1);
        --tw-enter-translate-y: calc(0*-100%);
      }
      &[data-placement="bottom"] {
        --tw-enter-translate-y: calc(1*var(--spacing));
      }
    }
    &[data-exiting="true"] {
      animation: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 100ms;
      transition-duration: 100ms;
      --tw-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
      transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
      --tw-exit-opacity: calc(0/100);
      --tw-exit-opacity: 0;
      --tw-exit-scale: calc(95*1%);
      --tw-exit-scale: .95;
    }
    &[data-exiting="true"], &[data-entering="true"] {
      will-change: opacity,transform;
      &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
        animation: none;
        &::before, &::after {
          animation: none;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
          animation: none;
          &::before, &::after {
            animation: none;
          }
        }
      }
    }
  }
  .alert-dialog__dialog {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    border-radius: calc(var(--radius) * 3);
    background-color: var(--overlay);
    --tw-shadow: var(--overlay-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    --tw-outline-style: none;
    outline-style: none;
    padding: calc(var(--spacing) * 6);
    overflow: hidden;
    pointer-events: auto;
    &[data-placement="auto"] {
      margin-top: auto;
      @media (width >= 40rem) {
        margin-block: auto;
      }
    }
    &[data-placement="center"] {
      margin-block: auto;
    }
    &[data-placement="bottom"] {
      margin-top: auto;
    }
    &[data-placement="top"] {
      margin-top: calc(var(--spacing) * 0);
    }
  }
  .alert-dialog__dialog--xs {
    max-width: var(--container-xs);
  }
  .alert-dialog__dialog--sm {
    max-width: var(--container-sm);
  }
  .alert-dialog__dialog--md {
    max-width: var(--container-md);
  }
  .alert-dialog__dialog--lg {
    max-width: var(--container-lg);
  }
  .alert-dialog__dialog--cover {
    height: 100%;
    min-height: 100%;
    width: 100%;
  }
  .alert-dialog__header {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 3);
    margin-bottom: calc(var(--spacing) * 0);
    & > .modal__icon {
      margin-bottom: calc(var(--spacing) * 0);
    }
  }
  .alert-dialog__heading {
    vertical-align: middle;
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--foreground);
  }
  .alert-dialog__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--spacing) * 10);
    height: calc(var(--spacing) * 10);
    flex-shrink: 0;
    border-radius: calc(infinity * 1px);
    -webkit-user-select: none;
    user-select: none;
    [data-slot="alert-dialog-default-icon"] {
      box-sizing: content-box;
      width: calc(var(--spacing) * 5);
      height: calc(var(--spacing) * 5);
    }
  }
  .alert-dialog__icon--default {
    background-color: var(--default);
    color: var(--foreground);
  }
  .alert-dialog__icon--accent {
    background-color: var(--accent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--accent) 15%, transparent);
    }
    color: var(--accent);
  }
  .alert-dialog__icon--success {
    background-color: var(--success);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--success) 15%, transparent);
    }
    color: var(--success);
  }
  .alert-dialog__icon--warning {
    background-color: var(--warning);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--warning) 15%, transparent);
    }
    color: var(--warning);
  }
  .alert-dialog__icon--danger {
    background-color: var(--danger);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--danger) 15%, transparent);
    }
    color: var(--danger);
  }
  .alert-dialog__body {
    min-height: calc(var(--spacing) * 0);
    flex: 1;
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-leading: 1.43;
    line-height: 1.43;
    color: var(--muted);
    margin-block: calc(var(--spacing) * 0);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .alert-dialog__footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: calc(var(--spacing) * 2);
    margin-top: calc(var(--spacing) * 0);
  }
  .alert-dialog__close-trigger {
    position: absolute;
    top: calc(var(--spacing) * 4);
    right: calc(var(--spacing) * 4);
  }
  .alert-dialog__header + .alert-dialog__body {
    margin-top: calc(var(--spacing) * 2);
  }
  .alert-dialog__header + .alert-dialog__footer {
    margin-top: calc(var(--spacing) * 5);
  }
  .alert-dialog__body + .alert-dialog__footer {
    margin-top: calc(var(--spacing) * 5);
  }
  .drawer__trigger {
    display: inline-block;
    cursor: var(--cursor-interactive);
    transition: transform 250ms var(--ease-out-quart), background-color 150ms var(--ease-smooth), box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    &:disabled, &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
    &:active, &[data-pressed="true"] {
      transform: scale(0.97);
    }
  }
  .drawer__backdrop {
    position: fixed;
    inset: calc(var(--spacing) * 0);
    z-index: 50;
    height: var(--visual-viewport-height);
    width: 100%;
    opacity: 1;
    transition: opacity 250ms cubic-bezier(0.32, 0.72, 0, 1);
    &[data-entering="true"] {
      opacity: 0;
    }
    &[data-exiting="true"] {
      opacity: 0;
      transition-duration: 200ms;
      transition-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
    }
    &[data-exiting="true"], &[data-entering="true"] {
      will-change: opacity;
    }
    @media (prefers-reduced-motion: reduce) {
      transition: none;
    }
  }
  .drawer__backdrop--transparent {
    background-color: transparent;
  }
  .drawer__backdrop--opaque {
    background-color: var(--backdrop);
  }
  .drawer__backdrop--blur {
    background-color: var(--backdrop);
    --tw-backdrop-blur: blur(var(--blur-md));
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .drawer__content {
    pointer-events: none;
    position: fixed;
    inset: calc(var(--spacing) * 0);
    z-index: 50;
    display: flex;
    height: var(--visual-viewport-height);
    width: 100%;
    min-width: calc(var(--spacing) * 0);
  }
  .drawer__content--bottom {
    align-items: flex-end;
  }
  .drawer__content--top {
    align-items: flex-start;
  }
  .drawer__content--left {
    justify-content: flex-start;
  }
  .drawer__content--right {
    justify-content: flex-end;
  }
  .drawer__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--overlay);
    --tw-shadow: var(--overlay-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    --tw-outline-style: none;
    outline-style: none;
    padding: calc(var(--spacing) * 6);
    pointer-events: auto;
    --drawer-enter-duration: 250ms;
    --drawer-exit-duration: 200ms;
    --drawer-enter-ease: cubic-bezier(0.32, 0.72, 0, 1);
    --drawer-exit-ease: cubic-bezier(0.32, 0.72, 0, 1);
    will-change: translate;
    transition: translate var(--drawer-enter-duration) var(--drawer-enter-ease);
    @media (prefers-reduced-motion: reduce) {
      transition: none;
    }
    &[data-placement="bottom"] {
      width: 100%;
      border-top-left-radius: calc(var(--radius) * 2);
      border-top-right-radius: calc(var(--radius) * 2);
      max-height: 85vh;
    }
    &[data-placement="top"] {
      width: 100%;
      border-bottom-right-radius: calc(var(--radius) * 2);
      border-bottom-left-radius: calc(var(--radius) * 2);
      max-height: 85vh;
    }
    &[data-placement="left"] {
      height: 100%;
      border-radius: 0;
      width: calc(var(--spacing) * 80);
      max-width: 85vw;
      @media (width >= 40rem) {
        width: calc(var(--spacing) * 96);
      }
    }
    &[data-placement="right"] {
      height: 100%;
      border-radius: 0;
      width: calc(var(--spacing) * 80);
      max-width: 85vw;
      @media (width >= 40rem) {
        width: calc(var(--spacing) * 96);
      }
    }
  }
  [data-exiting="true"] .drawer__dialog {
    transition-duration: var(--drawer-exit-duration);
    transition-timing-function: var(--drawer-exit-ease);
  }
  .drawer__content--left .drawer__dialog, .drawer__content--right .drawer__dialog, .drawer__content--top .drawer__dialog, .drawer__content--bottom .drawer__dialog {
    translate: 0 0;
  }
  .drawer__content--left[data-entering="true"] .drawer__dialog, .drawer__content--left[data-exiting="true"] .drawer__dialog {
    translate: -100% 0;
  }
  .drawer__content--right[data-entering="true"] .drawer__dialog, .drawer__content--right[data-exiting="true"] .drawer__dialog {
    translate: 100% 0;
  }
  .drawer__content--top[data-entering="true"] .drawer__dialog, .drawer__content--top[data-exiting="true"] .drawer__dialog {
    translate: 0 -100%;
  }
  .drawer__content--bottom[data-entering="true"] .drawer__dialog, .drawer__content--bottom[data-exiting="true"] .drawer__dialog {
    translate: 0 100%;
  }
  .drawer__dialog--top {
    padding-bottom: calc(var(--spacing) * 2);
    .drawer__handle {
      padding-bottom: calc(var(--spacing) * 0);
    }
  }
  .drawer__header {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 3);
    margin-bottom: calc(var(--spacing) * 0);
  }
  .drawer__heading {
    vertical-align: middle;
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--foreground);
  }
  .drawer__body {
    min-height: calc(var(--spacing) * 0);
    flex: 1;
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-leading: 1.43;
    line-height: 1.43;
    color: var(--muted);
    margin: calc(3px * -1);
    margin-block: calc(var(--spacing) * 0);
    padding: 3px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .drawer__footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: calc(var(--spacing) * 2);
    margin-top: calc(var(--spacing) * 0);
  }
  .drawer__handle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: calc(var(--spacing) * 2);
    & > [data-slot="drawer-handle-bar"] {
      height: calc(var(--spacing) * 1);
      width: calc(var(--spacing) * 9);
      border-radius: calc(infinity * 1px);
      background-color: var(--separator);
    }
  }
  .drawer__close-trigger {
    position: absolute;
    top: calc(var(--spacing) * 4);
    right: calc(var(--spacing) * 4);
  }
  .drawer__header + .drawer__body {
    margin-top: calc(var(--spacing) * 2);
  }
  .drawer__header + .drawer__footer {
    margin-top: calc(var(--spacing) * 5);
  }
  .drawer__body + .drawer__footer {
    margin-top: calc(var(--spacing) * 5);
  }
  .drawer__handle + .drawer__header {
    margin-top: calc(var(--spacing) * 0);
  }
  .drawer__handle + .drawer__body {
    margin-top: calc(var(--spacing) * 0);
  }
  .modal__trigger {
    display: inline-block;
    cursor: var(--cursor-interactive);
    transition: transform 250ms var(--ease-out-quart), background-color 150ms var(--ease-smooth), box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    &:disabled, &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
    &:active, &[data-pressed="true"] {
      transform: scale(0.97);
    }
  }
  .modal__backdrop {
    position: fixed;
    inset: calc(var(--spacing) * 0);
    z-index: 50;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: var(--visual-viewport-height);
    width: 100%;
    &[data-entering="true"] {
      animation: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 150ms;
      transition-duration: 150ms;
      --tw-ease: var(--ease-out);
      transition-timing-function: var(--ease-out);
      --tw-enter-opacity: calc(0/100);
      --tw-enter-opacity: 0;
    }
    &[data-exiting="true"] {
      animation: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 100ms;
      transition-duration: 100ms;
      --tw-ease: var(--ease-out);
      transition-timing-function: var(--ease-out);
      --tw-exit-opacity: calc(0/100);
      --tw-exit-opacity: 0;
    }
    &[data-exiting="true"], &[data-entering="true"] {
      will-change: opacity;
      &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
        animation: none;
        &::before, &::after {
          animation: none;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
          animation: none;
          &::before, &::after {
            animation: none;
          }
        }
      }
    }
  }
  .modal__backdrop--transparent {
    background-color: transparent;
  }
  .modal__backdrop--opaque {
    background-color: var(--backdrop);
  }
  .modal__backdrop--blur {
    background-color: var(--backdrop);
    --tw-backdrop-blur: blur(var(--blur-md));
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .modal__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: var(--visual-viewport-height);
    width: 100%;
    min-width: calc(var(--spacing) * 0);
    flex: 1;
    padding: calc(var(--spacing) * 4);
    @media (width >= 40rem) {
      width: fit-content;
    }
    @media (width >= 40rem) {
      padding: calc(var(--spacing) * 10);
    }
    pointer-events: none;
    &[data-entering="true"] {
      animation: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 250ms;
      transition-duration: 250ms;
      --tw-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
      transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
      --tw-enter-opacity: calc(0/100);
      --tw-enter-opacity: 0;
      --tw-enter-scale: calc(105*1%);
      &[data-placement="auto"] {
        --tw-enter-translate-y: calc(1*var(--spacing));
        @media (width >= 40rem) {
          --tw-enter-translate-y: calc(0*var(--spacing));
          --tw-enter-translate-y: calc(0*100%);
        }
      }
      &[data-placement="top"] {
        --tw-enter-translate-y: calc(1*var(--spacing)*-1);
      }
      &[data-placement="center"] {
        --tw-enter-translate-y: calc(0*var(--spacing)*-1);
        --tw-enter-translate-y: calc(0*-100%);
      }
      &[data-placement="bottom"] {
        --tw-enter-translate-y: calc(1*var(--spacing));
      }
    }
    &[data-exiting="true"] {
      animation: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 100ms;
      transition-duration: 100ms;
      --tw-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
      transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
      --tw-exit-opacity: calc(0/100);
      --tw-exit-opacity: 0;
      --tw-exit-scale: calc(95*1%);
      --tw-exit-scale: .95;
    }
    &[data-exiting="true"], &[data-entering="true"] {
      will-change: opacity,transform;
      &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
        animation: none;
        &::before, &::after {
          animation: none;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
          animation: none;
          &::before, &::after {
            animation: none;
          }
        }
      }
    }
  }
  .modal__container--scroll-outside {
    overflow-y: auto;
    pointer-events: auto;
    -webkit-overflow-scrolling: touch;
  }
  .modal__container--full {
    padding: calc(var(--spacing) * 0);
    @media (width >= 40rem) {
      padding: calc(var(--spacing) * 0);
    }
    &[data-entering="true"] {
      --tw-enter-translate-y: calc(0*var(--spacing));
      --tw-enter-translate-y: calc(0*100%);
      --tw-enter-scale: calc(100*1%);
      --tw-enter-scale: 1;
      @media (width >= 40rem) {
        --tw-enter-translate-y: calc(0*var(--spacing));
        --tw-enter-translate-y: calc(0*100%);
      }
    }
    &[data-exiting="true"] {
      --tw-exit-scale: calc(100*1%);
      --tw-exit-scale: 1;
    }
  }
  .modal__dialog {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    border-radius: calc(var(--radius) * 3);
    background-color: var(--overlay);
    --tw-shadow: var(--overlay-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    --tw-outline-style: none;
    outline-style: none;
    padding: calc(var(--spacing) * 6);
    pointer-events: auto;
    &[data-placement="auto"] {
      margin-top: auto;
      @media (width >= 40rem) {
        margin-block: auto;
      }
    }
    &[data-placement="center"] {
      margin-block: auto;
    }
    &[data-placement="bottom"] {
      margin-top: auto;
    }
    &[data-placement="top"] {
      margin-top: calc(var(--spacing) * 0);
    }
  }
  .modal__dialog--scroll-inside {
    overflow: hidden;
  }
  .modal__dialog--scroll-outside {
    height: auto;
    min-height: calc(var(--spacing) * 0);
    flex-shrink: 0;
  }
  .modal__dialog--xs {
    max-width: var(--container-xs);
  }
  .modal__dialog--sm {
    max-width: var(--container-sm);
  }
  .modal__dialog--md {
    max-width: var(--container-md);
  }
  .modal__dialog--lg {
    max-width: var(--container-lg);
  }
  .modal__dialog--cover {
    height: 100%;
    min-height: 100%;
    width: 100%;
  }
  .modal__dialog--full {
    height: 100%;
    min-height: 100%;
    width: 100%;
    border-radius: 0;
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .modal__header {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 3);
    margin-bottom: calc(var(--spacing) * 0);
    & > .modal__icon {
      margin-bottom: calc(var(--spacing) * 0);
    }
  }
  .modal__heading {
    vertical-align: middle;
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--foreground);
  }
  .modal__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--spacing) * 10);
    height: calc(var(--spacing) * 10);
    flex-shrink: 0;
    border-radius: calc(infinity * 1px);
    -webkit-user-select: none;
    user-select: none;
  }
  .modal__body {
    min-height: calc(var(--spacing) * 0);
    flex: 1;
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-leading: 1.43;
    line-height: 1.43;
    color: var(--muted);
    margin-block: calc(var(--spacing) * 0);
  }
  .modal__body--scroll-inside {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .modal__body--scroll-outside {
    overflow-y: visible;
  }
  .modal__footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: calc(var(--spacing) * 2);
    margin-top: calc(var(--spacing) * 0);
  }
  .modal__close-trigger {
    position: absolute;
    top: calc(var(--spacing) * 4);
    right: calc(var(--spacing) * 4);
  }
  .modal__header + .modal__body {
    margin-top: calc(var(--spacing) * 2);
  }
  .modal__header + .modal__footer {
    margin-top: calc(var(--spacing) * 5);
  }
  .modal__body + .modal__footer {
    margin-top: calc(var(--spacing) * 5);
  }
  .popover {
    transform-origin: var(--trigger-anchor-point);
    border-radius: calc(var(--radius) * 3);
    background-color: var(--overlay);
    padding: calc(var(--spacing) * 0);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    box-shadow: var(--shadow-overlay);
    &[data-entering="true"] {
      animation: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 150ms;
      transition-duration: 150ms;
      --tw-ease: ease;
      transition-timing-function: ease;
      --tw-enter-opacity: calc(0/100);
      --tw-enter-opacity: 0;
      --tw-enter-scale: calc(90*1%);
      --tw-enter-scale: .9;
      &[data-placement="top"] {
        --tw-enter-translate-y: calc(1*var(--spacing));
      }
      &[data-placement="bottom"] {
        --tw-enter-translate-y: calc(1*var(--spacing)*-1);
      }
      &[data-placement="left"] {
        --tw-enter-translate-x: calc(1*var(--spacing));
      }
      &[data-placement="right"] {
        --tw-enter-translate-x: calc(1*var(--spacing)*-1);
      }
    }
    &[data-exiting="true"] {
      animation: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 100ms;
      transition-duration: 100ms;
      --tw-ease: ease;
      transition-timing-function: ease;
      --tw-exit-scale: calc(95*1%);
      --tw-exit-scale: .95;
      --tw-exit-opacity: 0;
    }
    &[data-exiting="true"], &[data-entering="true"] {
      will-change: opacity,transform;
    }
    & [data-slot="popover-overlay-arrow"] {
      fill: var(--overlay);
    }
    &[data-placement="bottom"] [data-slot="popover-overlay-arrow"] {
      rotate: 180deg;
    }
    &[data-placement="left"] [data-slot="popover-overlay-arrow"] {
      rotate: -90deg;
    }
    &[data-placement="right"] [data-slot="popover-overlay-arrow"] {
      rotate: 90deg;
    }
  }
  .popover__dialog {
    padding: calc(var(--spacing) * 4);
    --tw-outline-style: none;
    outline-style: none;
  }
  .popover__heading {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .popover__trigger {
    display: inline-block;
    transition: color 150ms var(--ease-smooth), background-color 150ms var(--ease-smooth), box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    cursor: var(--cursor-interactive);
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
    &:disabled, &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .tooltip {
    max-width: var(--container-xs);
    transform-origin: var(--trigger-anchor-point);
    border-radius: calc(var(--radius) * 1.5);
    background-color: var(--overlay);
    padding-inline: calc(var(--spacing) * 2);
    padding-block: calc(var(--spacing) * 1);
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
    word-break: break-all;
    box-shadow: var(--shadow-overlay);
    &[data-entering="true"] {
      animation: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 150ms;
      transition-duration: 150ms;
      --tw-ease: ease;
      transition-timing-function: ease;
      --tw-enter-opacity: calc(0/100);
      --tw-enter-opacity: 0;
      --tw-enter-scale: calc(90*1%);
      --tw-enter-scale: .9;
      &[data-placement="top"] {
        --tw-enter-translate-y: calc(1*var(--spacing));
      }
      &[data-placement="bottom"] {
        --tw-enter-translate-y: calc(1*var(--spacing)*-1);
      }
      &[data-placement="left"] {
        --tw-enter-translate-x: calc(1*var(--spacing));
      }
      &[data-placement="right"] {
        --tw-enter-translate-x: calc(1*var(--spacing)*-1);
      }
    }
    &[data-exiting="true"] {
      animation: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 100ms;
      transition-duration: 100ms;
      --tw-ease: ease;
      transition-timing-function: ease;
      --tw-exit-scale: calc(95*1%);
      --tw-exit-scale: .95;
      --tw-exit-opacity: 0;
    }
    &[data-exiting="true"], &[data-entering="true"] {
      will-change: opacity,transform;
    }
    & [data-slot="overlay-arrow"] {
      stroke: var(--border);
      @supports (color: color-mix(in lab, red, red)) {
        stroke: color-mix(in oklab, var(--border) 40%, transparent);
      }
      fill: var(--overlay);
    }
    &[data-placement="bottom"] [data-slot="overlay-arrow"] {
      rotate: 180deg;
    }
    &[data-placement="left"] [data-slot="overlay-arrow"] {
      rotate: -90deg;
    }
    &[data-placement="right"] [data-slot="overlay-arrow"] {
      rotate: 90deg;
    }
  }
  .tooltip__trigger {
    display: inline-block;
    transition: color 150ms var(--ease-smooth), background-color 150ms var(--ease-smooth), box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
    }
  }
  .combo-box {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 1);
    &[data-invalid="true"], &[aria-invalid="true"] {
      [data-slot="description"] {
        display: none;
      }
    }
    [data-slot="label"] {
      width: fit-content;
    }
    [data-slot="description"] {
      padding-inline: calc(var(--spacing) * 1);
    }
    [data-slot="input"] {
      min-width: calc(var(--spacing) * 0);
      flex: 1;
      &:has(+ .combo-box__trigger) {
        padding-right: calc(var(--spacing) * 7);
      }
      &:focus, &[data-focus] {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--focus);
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-outline-style: none;
        outline-style: none;
        --tw-ring-offset-width: 0px;
        border-color: var(--color-field-border-focus);
        background-color: var(--color-field-focus);
      }
      &:disabled, &[data-disabled], &[aria-disabled="true"] {
        opacity: var(--disabled-opacity);
        cursor: var(--cursor-disabled);
        pointer-events: none;
      }
    }
  }
  .combo-box__input-group {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
  }
  .combo-box__trigger {
    position: absolute;
    top: calc(1 / 2 * 100%);
    right: calc(var(--spacing) * 0);
    display: flex;
    height: 100%;
    flex-shrink: 0;
    --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding-right: calc(var(--spacing) * 2);
    color: var(--field-placeholder, var(--muted));
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-duration: 150ms;
    transition-duration: 150ms;
    -webkit-tap-highlight-color: transparent;
    --tw-border-style: none;
    border-style: none;
    background-color: transparent;
    --tw-outline-style: none;
    outline-style: none;
    @media (hover: hover) {
      &:hover, &[data-hovered="true"] {
        color: var(--field-foreground, var(--foreground));
      }
    }
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      border-radius: 0.25rem;
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 2px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
    }
    &[data-pressed="true"] {
      opacity: 70%;
    }
    &:disabled, &[data-disabled], &[aria-disabled="true"] {
      cursor: not-allowed;
      opacity: 50%;
    }
    [data-slot="combo-box-trigger-default-icon"] {
      width: calc(var(--spacing) * 4);
      height: calc(var(--spacing) * 4);
      transition-property: transform, translate, scale, rotate;
      transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
      transition-duration: var(--tw-duration, var(--default-transition-duration));
      --tw-duration: 150ms;
      transition-duration: 150ms;
      &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
          transition-property: none;
          &::before, &::after {
            transition-property: none;
          }
        }
      }
    }
    &[data-open="true"] [data-slot="combo-box-trigger-default-icon"] {
      rotate: 180deg;
    }
  }
  .combo-box__popover {
    min-width: var(--trigger-width);
    transform-origin: var(--trigger-anchor-point);
    scroll-padding-block: calc(var(--spacing) * 1);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: calc(var(--radius) * 3);
    background-color: var(--overlay);
    padding: calc(var(--spacing) * 0);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    box-shadow: var(--shadow-overlay);
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-outline-style: none;
      outline-style: none;
    }
    &[data-entering="true"] {
      animation: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 150ms;
      transition-duration: 150ms;
      --tw-ease: ease;
      transition-timing-function: ease;
      --tw-enter-opacity: calc(0/100);
      --tw-enter-opacity: 0;
      --tw-enter-scale: calc(95*1%);
      --tw-enter-scale: .95;
      &[data-placement="top"] {
        --tw-enter-translate-y: calc(1*var(--spacing));
      }
      &[data-placement="bottom"] {
        --tw-enter-translate-y: calc(1*var(--spacing)*-1);
      }
      &[data-placement="left"] {
        --tw-enter-translate-x: calc(1*var(--spacing));
      }
      &[data-placement="right"] {
        --tw-enter-translate-x: calc(1*var(--spacing)*-1);
      }
    }
    &[data-exiting="true"] {
      animation: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 100ms;
      transition-duration: 100ms;
      --tw-ease: ease;
      transition-timing-function: ease;
      --tw-exit-scale: calc(95*1%);
      --tw-exit-scale: .95;
      --tw-exit-opacity: 0;
    }
    &[data-exiting="true"], &[data-entering="true"] {
      will-change: opacity,transform;
    }
    & [data-slot="popover-overlay-arrow"] {
      fill: var(--overlay);
    }
    &[data-placement="bottom"] [data-slot="popover-overlay-arrow"] {
      rotate: 180deg;
    }
    &[data-placement="left"] [data-slot="popover-overlay-arrow"] {
      rotate: -90deg;
    }
    &[data-placement="right"] [data-slot="popover-overlay-arrow"] {
      rotate: 90deg;
    }
    [data-slot="list-box"] {
      padding: calc(var(--spacing) * 1.5);
      --tw-outline-style: none;
      outline-style: none;
    }
    [data-slot="list-box-item"] {
      padding-inline: calc(var(--spacing) * 2.5);
      [data-slot="list-box-item-indicator--checkmark"] {
        transition-property: none;
      }
    }
  }
  .combo-box--full-width {
    width: 100%;
  }
  .combo-box__input-group--full-width {
    width: 100%;
  }
  .select {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 1);
    &[data-invalid="true"], &[aria-invalid="true"] {
      [data-slot="description"] {
        display: none;
      }
    }
    [data-slot="label"] {
      width: fit-content;
    }
    [data-slot="description"] {
      padding-inline: calc(var(--spacing) * 1);
    }
  }
  .select__trigger {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    min-height: calc(var(--spacing) * 9);
    border-radius: var(--field-radius, calc(var(--radius) * 1.5));
    border-style: var(--tw-border-style);
    border-width: 1px;
    background-color: var(--field-background, var(--default));
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 2);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--field-foreground, var(--foreground));
    --tw-shadow: var(--field-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    --tw-outline-style: none;
    outline-style: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 150ms var(--ease-smooth), border-color 150ms var(--ease-smooth), box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    cursor: var(--cursor-interactive);
    border-width: var(--border-width-field);
    border-color: var(--color-field-border);
    &:has(.select__indicator) {
      padding-right: calc(var(--spacing) * 7);
    }
    @media (hover: hover) {
      &:hover, &[data-hovered="true"] {
        background-color: var(--field-background, var(--default));
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(
    in oklab,
    var(--field-background, var(--default)) 90%,
    var(--field-foreground, var(--foreground)) 2%
  );
        }
        border-color: var(--color-field-border-hover);
      }
    }
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
      border-color: var(--color-field-border-focus);
      background-color: var(--color-field-focus);
    }
    .select[data-invalid="true"] &, .select[aria-invalid="true"] & {
      outline-style: var(--tw-outline-style);
      outline-width: 1px;
      outline-color: var(--danger);
      --tw-outline-style: solid;
      outline-style: solid;
      --tw-ring-offset-width: 3px;
      &:focus, &:focus-visible, &[data-focused="true"], &[data-focus-visible="true"], &:focus-within, &[data-focus-within="true"] {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--danger);
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-width: 0px;
      }
      background-color: var(--color-field-focus);
    }
    &:disabled, &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .select--secondary .select__trigger {
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    background-color: var(--select-trigger-bg);
    --select-trigger-bg: var(--color-default);
    --select-trigger-bg-hover: var(--color-default-hover);
    --select-trigger-bg-focus: var(--color-default);
    @media (hover: hover) {
      &:hover, &[data-hovered="true"] {
        background-color: var(--select-trigger-bg-hover);
      }
    }
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      background-color: var(--select-trigger-bg-focus);
    }
  }
  .select__value {
    flex: 1;
    text-align: left;
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    overflow-wrap: break-word;
    color: currentcolor;
    @media (width >= 40rem) {
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
    }
    &[data-placeholder="true"] {
      color: var(--field-placeholder, var(--muted));
    }
    [data-slot="list-box-item-indicator"] {
      display: none;
    }
  }
  .select__indicator {
    position: absolute;
    inset-block: calc(var(--spacing) * 0);
    right: calc(var(--spacing) * 2);
    margin-block: auto;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    color: var(--field-placeholder, var(--muted));
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-duration: 150ms;
    transition-duration: 150ms;
    &[data-open="true"] {
      rotate: 180deg;
    }
    &[data-slot="select-default-indicator"] {
      width: calc(var(--spacing) * 4);
      height: calc(var(--spacing) * 4);
    }
  }
  .select__popover {
    min-width: var(--trigger-width);
    transform-origin: var(--trigger-anchor-point);
    scroll-padding-block: calc(var(--spacing) * 1);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: calc(var(--radius) * 3);
    background-color: var(--overlay);
    padding: calc(var(--spacing) * 0);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    box-shadow: var(--shadow-overlay);
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-outline-style: none;
      outline-style: none;
    }
    &[data-entering="true"] {
      animation: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 150ms;
      transition-duration: 150ms;
      --tw-ease: ease;
      transition-timing-function: ease;
      --tw-enter-opacity: calc(0/100);
      --tw-enter-opacity: 0;
      --tw-enter-scale: calc(95*1%);
      --tw-enter-scale: .95;
      &[data-placement="top"] {
        --tw-enter-translate-y: calc(1*var(--spacing));
      }
      &[data-placement="bottom"] {
        --tw-enter-translate-y: calc(1*var(--spacing)*-1);
      }
      &[data-placement="left"] {
        --tw-enter-translate-x: calc(1*var(--spacing));
      }
      &[data-placement="right"] {
        --tw-enter-translate-x: calc(1*var(--spacing)*-1);
      }
    }
    &[data-exiting="true"] {
      animation: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 100ms;
      transition-duration: 100ms;
      --tw-ease: ease;
      transition-timing-function: ease;
      --tw-exit-scale: calc(95*1%);
      --tw-exit-scale: .95;
      --tw-exit-opacity: 0;
    }
    &[data-exiting="true"], &[data-entering="true"] {
      will-change: opacity,transform;
    }
    & [data-slot="popover-overlay-arrow"] {
      fill: var(--overlay);
    }
    &[data-placement="bottom"] [data-slot="popover-overlay-arrow"] {
      rotate: 180deg;
    }
    &[data-placement="left"] [data-slot="popover-overlay-arrow"] {
      rotate: -90deg;
    }
    &[data-placement="right"] [data-slot="popover-overlay-arrow"] {
      rotate: 90deg;
    }
    [data-slot="list-box"] {
      padding: calc(var(--spacing) * 1.5);
      --tw-outline-style: none;
      outline-style: none;
    }
    [data-slot="list-box-item"] {
      padding-inline: calc(var(--spacing) * 2.5);
    }
    [data-slot="list-box"]:not([aria-multiselectable="true"]) [data-slot="list-box-item-indicator"], [data-slot="list-box"]:not([aria-multiselectable="true"]) [data-slot="list-box-item-indicator"] [data-slot="list-box-item-indicator--checkmark"] {
      transition-property: none;
    }
  }
  .select--full-width {
    width: 100%;
  }
  .select__trigger--full-width {
    width: 100%;
  }
  .autocomplete {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 1);
  }
  .autocomplete__trigger {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    min-height: calc(var(--spacing) * 9);
    border-radius: var(--field-radius, calc(var(--radius) * 1.5));
    border-style: var(--tw-border-style);
    border-width: 1px;
    background-color: var(--field-background, var(--default));
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 2);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--field-foreground, var(--foreground));
    --tw-shadow: var(--field-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    --tw-outline-style: none;
    outline-style: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 150ms var(--ease-smooth), border-color 150ms var(--ease-smooth), box-shadow 150ms var(--ease-out);
    &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
      transition-property: none;
      &::before, &::after {
        transition-property: none;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
    }
    cursor: var(--cursor-interactive);
    border-width: var(--border-width-field);
    border-color: var(--color-field-border);
    &:has(.autocomplete__indicator) {
      padding-right: calc(var(--spacing) * 7);
    }
    @media (hover: hover) {
      &:hover:not(:has(.autocomplete__clear-button:hover)), &[data-hovered="true"]:not(:has(.autocomplete__clear-button:hover)) {
        background-color: var(--field-background, var(--default));
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(
    in oklab,
    var(--field-background, var(--default)) 90%,
    var(--field-foreground, var(--foreground)) 2%
  );
        }
        border-color: var(--color-field-border-hover);
      }
    }
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
      --tw-ring-color: var(--focus);
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
      --tw-ring-offset-color: var(--background);
      --tw-outline-style: none;
      outline-style: none;
      --tw-ring-offset-width: var(--ring-offset-width);
      border-color: var(--color-field-border-focus);
      background-color: var(--color-field-focus);
    }
    .autocomplete[data-invalid="true"] &, .autocomplete[aria-invalid="true"] & {
      outline-style: var(--tw-outline-style);
      outline-width: 1px;
      outline-color: var(--danger);
      --tw-outline-style: solid;
      outline-style: solid;
      --tw-ring-offset-width: 3px;
      &:focus, &:focus-visible, &[data-focused="true"], &[data-focus-visible="true"], &:focus-within, &[data-focus-within="true"] {
        --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + 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);
        --tw-ring-color: var(--danger);
        --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
        --tw-ring-offset-width: 0px;
      }
      background-color: var(--color-field-focus);
    }
    &:disabled, &[data-disabled="true"], &[aria-disabled="true"] {
      opacity: var(--disabled-opacity);
      cursor: var(--cursor-disabled);
      pointer-events: none;
    }
  }
  .autocomplete--secondary .autocomplete__trigger {
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    background-color: var(--autocomplete-trigger-bg);
    --autocomplete-trigger-bg: var(--color-default);
    --autocomplete-trigger-bg-hover: var(--color-default-hover);
    --autocomplete-trigger-bg-focus: var(--color-default);
    @media (hover: hover) {
      &:hover:not(:has(.autocomplete__clear-button:hover)), &[data-hovered="true"]:not(:has(.autocomplete__clear-button:hover)) {
        background-color: var(--autocomplete-trigger-bg-hover);
      }
    }
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      background-color: var(--autocomplete-trigger-bg-focus);
    }
  }
  .autocomplete__value {
    flex: 1;
    text-align: left;
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    overflow-wrap: break-word;
    color: currentcolor;
    @media (width >= 40rem) {
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
    }
    &[data-placeholder="true"] {
      color: var(--field-placeholder, var(--muted));
    }
    [data-slot="list-box-item-indicator"] {
      display: none;
    }
  }
  .autocomplete__indicator {
    position: absolute;
    inset-block: calc(var(--spacing) * 0);
    right: calc(var(--spacing) * 2);
    margin-block: auto;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    color: var(--field-placeholder, var(--muted));
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-duration: 150ms;
    transition-duration: 150ms;
    cursor: var(--cursor-interactive);
    &[data-open="true"] {
      rotate: 180deg;
    }
    &[data-slot="autocomplete-default-indicator"] {
      width: calc(var(--spacing) * 4);
      height: calc(var(--spacing) * 4);
    }
  }
  .autocomplete__popover {
    min-width: var(--trigger-width);
    transform-origin: var(--trigger-anchor-point);
    scroll-padding-block: calc(var(--spacing) * 1);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: calc(var(--radius) * 3);
    background-color: var(--overlay);
    padding: calc(var(--spacing) * 0);
    padding-top: calc(var(--spacing) * 2);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    box-shadow: var(--shadow-overlay);
    &:focus-visible:not(:focus), &[data-focus-visible="true"] {
      --tw-outline-style: none;
      outline-style: none;
    }
    &[data-entering="true"] {
      animation: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 250ms;
      transition-duration: 250ms;
      --tw-ease: cubic-bezier(0.32, 0.72, 0, 1);
      transition-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
      --tw-enter-opacity: calc(0/100);
      --tw-enter-opacity: 0;
      --tw-enter-scale: calc(95*1%);
      --tw-enter-scale: .95;
      &[data-placement="top"] {
        --tw-enter-translate-y: calc(1*var(--spacing));
      }
      &[data-placement="bottom"] {
        --tw-enter-translate-y: calc(1*var(--spacing)*-1);
      }
      &[data-placement="left"] {
        --tw-enter-translate-x: calc(1*var(--spacing));
      }
      &[data-placement="right"] {
        --tw-enter-translate-x: calc(1*var(--spacing)*-1);
      }
    }
    &[data-exiting="true"] {
      animation: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
      --tw-duration: 100ms;
      transition-duration: 100ms;
      --tw-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
      transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
      --tw-exit-scale: calc(95*1%);
      --tw-exit-scale: .95;
      --tw-exit-opacity: 0;
    }
    &[data-exiting="true"], &[data-entering="true"] {
      will-change: opacity,transform;
    }
    & [data-slot="popover-overlay-arrow"] {
      fill: var(--overlay);
    }
    &[data-placement="bottom"] [data-slot="popover-overlay-arrow"] {
      rotate: 180deg;
    }
    &[data-placement="left"] [data-slot="popover-overlay-arrow"] {
      rotate: -90deg;
    }
    &[data-placement="right"] [data-slot="popover-overlay-arrow"] {
      rotate: 90deg;
    }
    [data-slot="list-box"] {
      padding: calc(var(--spacing) * 1.5);
      --tw-outline-style: none;
      outline-style: none;
    }
    [data-slot="list-box-item"] {
      padding-inline: calc(var(--spacing) * 2.5);
    }
    [data-slot="list-box"]:not([aria-multiselectable="true"]) [data-slot="list-box-item-indicator"], [data-slot="list-box"]:not([aria-multiselectable="true"]) [data-slot="list-box-item-indicator"] [data-slot="list-box-item-indicator--checkmark"] {
      transition-property: none;
    }
    [data-slot="search-field"] {
      padding-inline: calc(var(--spacing) * 3);
      padding-block: calc(var(--spacing) * 1);
      --tw-outline-style: none;
      outline-style: none;
    }
    [data-slot="empty-state"] {
      text-align: center;
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
      color: var(--overlay-foreground);
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, var(--overlay-foreground) 60%, transparent);
      }
    }
  }
  .autocomplete--full-width {
    width: 100%;
  }
  .autocomplete__trigger--full-width {
    width: 100%;
  }
  .autocomplete__clear-button {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    height: calc(var(--spacing) * 6);
    width: calc(var(--spacing) * 6);
    transform-origin: center;
    align-items: center;
    justify-content: center;
    border-radius: calc(var(--radius) * 1.5);
    padding: calc(var(--spacing) * 1);
    color: var(--muted);
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    margin-right: calc(var(--spacing) * 0);
    width: calc(var(--spacing) * 5);
    height: calc(var(--spacing) * 5);
    flex-shrink: 0;
    align-self: center;
    background-color: transparent;
    cursor: var(--cursor-interactive);
    transform: translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
    &:not([data-empty="true"]) {
      transition: opacity 150ms var(--ease-smooth);
      &:is([data-reduce-motion="true"], [data-reduce-motion="true"] *) {
        transition-property: none;
        &::before, &::after {
          transition-property: none;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        &:not(:is([data-reduce-motion="true"], [data-reduce-motion="true"] *)) {
          transition-property: none;
          &::before, &::after {
            transition-property: none;
          }
        }
      }
    }
    &[data-empty="true"] {
      pointer-events: none;
      opacity: 0%;
    }
    [data-slot="autocomplete-clear-button-icon"] {
      width: calc(var(--spacing) * 3.5);
      height: calc(var(--spacing) * 3.5);
    }
    @media (hover: hover) {
      &:hover, &[data-hovered="true"] {
        background-color: var(--default);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--default) 96%, var(--default-foreground) 4%);
        }
      }
    }
    &:active, &[data-pressed="true"] {
      transform: scale(0.93);
    }
  }
  .kbd {
    display: inline-flex;
    height: calc(var(--spacing) * 6);
    align-items: center;
    :where(& > :not(:last-child)) {
      --tw-space-x-reverse: 0;
      margin-inline-start: calc(calc(var(--spacing) * 0.5) * var(--tw-space-x-reverse));
      margin-inline-end: calc(calc(var(--spacing) * 0.5) * calc(1 - var(--tw-space-x-reverse)));
    }
    border-radius: calc(var(--radius) * 1);
    background-color: var(--default);
    padding-inline: calc(var(--spacing) * 2);
    text-align: center;
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
    color: var(--muted);
    &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
      :where(& > :not(:last-child)) {
        --tw-space-x-reverse: 1;
      }
    }
    word-spacing: -0.25rem;
  }
  .kbd__abbr {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
  }
  .kbd__content {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .kbd--light {
    background-color: transparent;
  }
  .scroll-shadow {
    position: relative;
    --scroll-shadow-size: 40px;
  }
  .scroll-shadow--vertical {
    overflow-y: auto;
  }
  .scroll-shadow--horizontal {
    overflow-x: auto;
  }
  .scroll-shadow--fade.scroll-shadow--vertical {
    &[data-top-scroll="true"] {
      --scroll-linear-gradient: 0deg, #000 calc(100% - var(--scroll-shadow-size)), transparent;
      mask-image: linear-gradient(var(--scroll-linear-gradient));
      -webkit-mask-image: linear-gradient(var(--scroll-linear-gradient));
    }
    &[data-bottom-scroll="true"] {
      --scroll-linear-gradient: 180deg, #000 calc(100% - var(--scroll-shadow-size)), transparent;
      mask-image: linear-gradient(var(--scroll-linear-gradient));
      -webkit-mask-image: linear-gradient(var(--scroll-linear-gradient));
    }
    &[data-top-bottom-scroll="true"] {
      --scroll-linear-gradient: #000, #000, transparent 0, #000 var(--scroll-shadow-size),
      #000 calc(100% - var(--scroll-shadow-size)), transparent;
      mask-image: linear-gradient(var(--scroll-linear-gradient));
      -webkit-mask-image: linear-gradient(var(--scroll-linear-gradient));
    }
  }
  .scroll-shadow--fade.scroll-shadow--horizontal {
    &[data-left-scroll="true"] {
      --scroll-linear-gradient: 270deg, #000 calc(100% - var(--scroll-shadow-size)), transparent;
      mask-image: linear-gradient(var(--scroll-linear-gradient));
      -webkit-mask-image: linear-gradient(var(--scroll-linear-gradient));
    }
    &[data-right-scroll="true"] {
      --scroll-linear-gradient: 90deg, #000 calc(100% - var(--scroll-shadow-size)), transparent;
      mask-image: linear-gradient(var(--scroll-linear-gradient));
      -webkit-mask-image: linear-gradient(var(--scroll-linear-gradient));
    }
    &[data-left-right-scroll="true"] {
      --scroll-linear-gradient: to right, #000, #000, transparent 0, #000 var(--scroll-shadow-size),
      #000 calc(100% - var(--scroll-shadow-size)), transparent;
      mask-image: linear-gradient(var(--scroll-linear-gradient));
      -webkit-mask-image: linear-gradient(var(--scroll-linear-gradient));
    }
  }
  .scroll-shadow--hide-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
    &::-webkit-scrollbar {
      display: none;
    }
  }
}
@layer theme {
  @layer theme {
    @layer base {
      :root, .light, .default, [data-theme="light"], [data-theme="default"] {
        color-scheme: light;
        --white: oklch(100% 0 0);
        --black: oklch(0% 0 0);
        --snow: oklch(0.9911 0 0);
        --eclipse: oklch(0.2103 0.0059 285.89);
        --spacing: 0.25rem;
        --border-width: 1px;
        --field-border-width: 0px;
        --disabled-opacity: 0.5;
        --ring-offset-width: 2px;
        --cursor-interactive: pointer;
        --cursor-disabled: not-allowed;
        --radius: 0.5rem;
        --field-radius: calc(var(--radius) * 1.5);
        --background: oklch(0.9702 0 0);
        --foreground: var(--eclipse);
        --surface: var(--white);
        --surface-foreground: var(--foreground);
        --surface-secondary: oklch(0.9524 0.0013 286.37);
        --surface-secondary-foreground: var(--foreground);
        --surface-tertiary: oklch(0.9373 0.0013 286.37);
        --surface-tertiary-foreground: var(--foreground);
        --overlay: var(--white);
        --overlay-foreground: var(--foreground);
        --muted: oklch(0.5517 0.0138 285.94);
        --scrollbar: oklch(87.1% 0.006 286.286);
        --default: oklch(94% 0.001 286.375);
        --default-foreground: var(--eclipse);
        --accent: oklch(0.6204 0.195 253.83);
        --accent-foreground: var(--snow);
        --field-background: var(--white);
        --field-foreground: oklch(0.2103 0.0059 285.89);
        --field-placeholder: var(--muted);
        --field-border: transparent;
        --success: oklch(0.7329 0.1935 150.81);
        --success-foreground: var(--eclipse);
        --warning: oklch(0.7819 0.1585 72.33);
        --warning-foreground: var(--eclipse);
        --danger: oklch(0.6532 0.2328 25.74);
        --danger-foreground: var(--snow);
        --segment: var(--white);
        --segment-foreground: var(--eclipse);
        --border: oklch(90% 0.004 286.32);
        --separator: oklch(92% 0.004 286.32);
        --focus: var(--accent);
        --link: var(--foreground);
        --backdrop: rgba(0, 0, 0, 0.5);
        --surface-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.04), 0 1px 2px 0 rgba(0, 0, 0, 0.06),
      0 0 1px 0 rgba(0, 0, 0, 0.06);
        --overlay-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.06), 0 -6px 12px 0 rgba(0, 0, 0, 0.03),
      0 14px 28px 0 rgba(0, 0, 0, 0.08);
        --field-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.04), 0 1px 2px 0 rgba(0, 0, 0, 0.06),
      0 0 1px 0 rgba(0, 0, 0, 0.06);
        --skeleton-animation: shimmer;
      }
      .dark, [data-theme="dark"] {
        color-scheme: dark;
        --background: oklch(12% 0.005 285.823);
        --foreground: var(--snow);
        --surface: oklch(0.2103 0.0059 285.89);
        --surface-foreground: var(--foreground);
        --surface-secondary: oklch(0.257 0.0037 286.14);
        --surface-tertiary: oklch(0.2721 0.0024 247.91);
        --overlay: oklch(0.2103 0.0059 285.89);
        --overlay-foreground: var(--foreground);
        --muted: oklch(70.5% 0.015 286.067);
        --scrollbar: oklch(70.5% 0.015 286.067);
        --default: oklch(27.4% 0.006 286.033);
        --default-foreground: var(--snow);
        --field-background: oklch(0.2103 0.0059 285.89);
        --field-foreground: var(--foreground);
        --warning: oklch(0.8203 0.1388 76.34);
        --warning-foreground: var(--eclipse);
        --danger: oklch(0.594 0.1967 24.63);
        --danger-foreground: var(--snow);
        --segment: oklch(0.3964 0.01 285.93);
        --segment-foreground: var(--foreground);
        --border: oklch(28% 0.006 286.033);
        --separator: oklch(25% 0.006 286.033);
        --focus: var(--accent);
        --link: var(--foreground);
        --backdrop: rgba(0, 0, 0, 0.6);
        --surface-shadow: 0 0 0 0 transparent inset;
        --overlay-shadow: 0 0 1px 0 rgba(255, 255, 255, 0.3) inset;
        --field-shadow: 0 0 0 0 transparent inset;
      }
    }
  }
  @layer components;
}
:root, [data-theme="light"] {
  --font-sans: "Segoe UI Variable",
        "PingFang SC",
        "Microsoft YaHei",
        "Helvetica Neue",
        sans-serif;
  --font-display: "Iowan Old Style",
        "Palatino Linotype",
        "Book Antiqua",
        "Times New Roman",
        serif;
  --app-sidebar-width: 260px;
  --desktop-sidebar-rail-width: 60px;
  --desktop-sidebar-rail-gap: 24px;
  --mobile-topbar-control-size: calc(var(--spacing, 0.25rem) * 9);
  --mobile-topbar-block-size: calc(var(--spacing, 0.25rem) * 14);
  --mobile-floating-topbar-offset: calc(var(--mobile-topbar-block-size) + var(--safe-area-top));
  --mobile-floating-inline-inset: calc(var(--spacing, 0.25rem) * 3);
  --mobile-topbar-model-max-inline-size: calc(100vw - (var(--mobile-topbar-control-size) * 2) - (var(--mobile-topbar-gap) * 2) - (var(--spacing, 0.25rem) * 6));
  --mobile-floating-surface-shadow: 0 18px 44px rgba(17, 32, 22, 0.1);
  --mobile-floating-surface-shadow-dark: 0 18px 46px rgba(0, 0, 0, 0.32);
  --mobile-topbar-shadow: 0 10px 24px rgba(17, 32, 22, 0.07);
  --mobile-topbar-shadow-dark: 0 10px 24px rgba(0, 0, 0, 0.26);
  --mobile-topbar-z-index: 1120;
  --workspace-topbar-block-size: calc(var(--spacing, 0.25rem) * 14);
  --mobile-idle-block-end-padding: calc(var(--spacing, 0.25rem) * 8);
  --mobile-topbar-gap: calc(var(--spacing, 0.25rem) * 2);
  --composer-submit-control-size: calc(var(--spacing, 0.25rem) * 10);
  --composer-model-control-max-inline-size: calc(var(--spacing, 0.25rem) * 56);
  --composer-model-viewport-reserve-inline-size: calc(var(--spacing, 0.25rem) * 32);
  --mobile-composer-model-viewport-reserve-inline-size: calc(var(--spacing, 0.25rem) * 16);
  --active-composer-z-index: 1100;
  --active-composer-min-block-size: calc(var(--spacing, 0.25rem) * 22);
  --mobile-active-composer-min-block-size: calc(var(--spacing, 0.25rem) * 18);
  --desktop-composer-input-max-block-size: calc(var(--spacing, 0.25rem) * 30);
  --mobile-composer-input-max-block-size: calc(var(--spacing, 0.25rem) * 24);
  --workspace-max-width: min(90rem, calc(100vw - var(--workspace-feed-inline-padding) - var(--workspace-feed-inline-padding)));
  --workspace-feed-inline-padding: clamp(1rem, 4vw, 3rem);
  --workspace-feed-block-padding: clamp(1rem, 2vw, 1.5rem);
  --settings-sidebar-width: clamp(11.25rem, 17vw, 15rem);
  --settings-page-bar-block-size: 3.5rem;
  --settings-page-inline-padding: clamp(1.25rem, 3vw, 2.5rem);
  --settings-page-block-padding: clamp(1.25rem, 2.4vw, 2rem);
  --settings-nav-padding-block: clamp(1rem, 2vw, 1.5rem);
  --settings-nav-padding-inline: clamp(0.75rem, 1.2vw, 1rem);
  --settings-section-gap: clamp(1rem, 2.4vw, 1.5rem);
  --settings-control-block-size: 2.5rem;
  --settings-compact-control-block-size: 2rem;
  --settings-theme-control-block-size: 2.75rem;
  --settings-control-gap: 0.5rem;
  --settings-control-padding: 0.625rem 0.75rem;
  --settings-icon-size: 1rem;
  --conversation-assistant-max-inline: min(82%, 76ch);
  --conversation-user-max-inline: min(74%, 64ch);
  --surface-outline: rgba(27, 59, 39, 0.12);
  --surface-outline-strong: rgba(27, 59, 39, 0.22);
  --sidebar-surface: linear-gradient(180deg, #173225 0%, #10281d 100%);
  --sidebar-foreground: rgba(245, 249, 244, 0.92);
  --sidebar-muted: rgba(224, 236, 228, 0.56);
  --sidebar-accent: rgba(157, 210, 173, 0.12);
  --hero-backdrop: radial-gradient(circle at 12% 18%, rgba(191, 226, 196, 0.36), transparent 28%),
        radial-gradient(circle at 86% 10%, rgba(255, 222, 176, 0.28), transparent 22%),
        radial-gradient(circle at 50% 100%, rgba(175, 210, 220, 0.24), transparent 32%);
  --hero-grid-line: rgba(36, 64, 47, 0.05);
  --background: oklch(97.82% 0.013 108.9);
  --foreground: oklch(27.72% 0.023 155.81);
  --surface: rgba(255, 255, 255, 0.78);
  --surface-secondary: rgba(247, 250, 246, 0.92);
  --surface-tertiary: rgba(239, 245, 239, 0.98);
  --overlay: rgba(255, 255, 255, 0.92);
  --overlay-foreground: var(--foreground);
  --muted: oklch(52.17% 0.02 155.4);
  --default: rgba(27, 59, 39, 0.06);
  --default-foreground: oklch(31.44% 0.026 155.26);
  --accent: oklch(47.4% 0.086 154.84);
  --accent-foreground: oklch(98.94% 0.002 106.49);
  --field-background: rgba(255, 255, 255, 0.84);
  --field-foreground: var(--foreground);
  --field-placeholder: rgba(72, 101, 82, 0.62);
  --field-border: rgba(27, 59, 39, 0.12);
  --success: oklch(75.12% 0.148 152.94);
  --success-foreground: oklch(22.02% 0.016 154.26);
  --warning: oklch(82.81% 0.161 73.17);
  --warning-foreground: oklch(24.61% 0.021 65.14);
  --danger: oklch(63.75% 0.214 27.11);
  --danger-foreground: oklch(97.39% 0.012 30.1);
  --segment: rgba(255, 255, 255, 0.86);
  --segment-foreground: var(--foreground);
  --border: rgba(19, 39, 27, 0.12);
  --separator: rgba(20, 41, 27, 0.08);
  --focus: oklch(54.64% 0.109 156.46);
  --link: oklch(36.13% 0.054 155.4);
  --backdrop: rgba(12, 20, 15, 0.52);
  --surface-shadow: 0 24px 54px rgba(15, 34, 21, 0.08),
        0 4px 18px rgba(15, 34, 21, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
  --overlay-shadow: 0 30px 90px rgba(12, 24, 17, 0.22),
        0 14px 42px rgba(12, 24, 17, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
  --field-shadow: 0 8px 24px rgba(16, 36, 25, 0.05),
        0 2px 8px rgba(16, 36, 25, 0.04);
  --radius: 1rem;
  --field-radius: 1.15rem;
  --border-width: 1px;
  --field-border-width: 1px;
  --ring-offset-width: 2px;
  --disabled-opacity: 0.48;
  --cursor-interactive: pointer;
  --cursor-disabled: not-allowed;
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
}
[data-theme="dark"] {
  --sidebar-surface: linear-gradient(180deg, #0d1812 0%, #09110d 100%);
  --sidebar-foreground: rgba(236, 241, 236, 0.92);
  --sidebar-muted: rgba(212, 223, 214, 0.5);
  --sidebar-accent: rgba(126, 183, 144, 0.16);
  --hero-backdrop: radial-gradient(circle at 12% 18%, rgba(34, 72, 46, 0.48), transparent 28%),
        radial-gradient(circle at 84% 18%, rgba(107, 76, 23, 0.22), transparent 24%),
        radial-gradient(circle at 54% 100%, rgba(31, 57, 52, 0.34), transparent 34%);
  --hero-grid-line: rgba(255, 255, 255, 0.03);
  --background: oklch(14.73% 0.01 154.12);
  --foreground: oklch(95.47% 0.005 145.85);
  --surface: rgba(23, 34, 28, 0.78);
  --surface-secondary: rgba(19, 29, 24, 0.92);
  --surface-tertiary: rgba(25, 36, 30, 0.98);
  --overlay: rgba(19, 28, 23, 0.94);
  --overlay-foreground: var(--foreground);
  --muted: rgba(197, 211, 200, 0.65);
  --default: rgba(255, 255, 255, 0.07);
  --default-foreground: rgba(242, 245, 243, 0.88);
  --accent: oklch(64.42% 0.116 153.8);
  --accent-foreground: oklch(18.62% 0.012 154.16);
  --field-background: rgba(16, 26, 21, 0.9);
  --field-foreground: var(--foreground);
  --field-placeholder: rgba(204, 217, 207, 0.44);
  --field-border: rgba(255, 255, 255, 0.09);
  --warning: oklch(82.31% 0.135 77.95);
  --warning-foreground: oklch(18.2% 0.014 90.25);
  --danger: oklch(63.15% 0.193 26.11);
  --danger-foreground: oklch(97.68% 0.01 30.11);
  --segment: rgba(255, 255, 255, 0.06);
  --segment-foreground: var(--foreground);
  --border: rgba(255, 255, 255, 0.08);
  --separator: rgba(255, 255, 255, 0.08);
  --focus: oklch(70.2% 0.124 153.3);
  --link: oklch(84.35% 0.055 153.08);
  --backdrop: rgba(4, 8, 6, 0.72);
  --surface-shadow: 0 18px 50px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --overlay-shadow: 0 30px 100px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --field-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
* {
  box-sizing: border-box;
}
html, body {
  width: 100%;
  min-height: 100%;
}
html {
  scroll-behavior: smooth;
}
body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow: hidden;
}
body::before, body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}
body::before {
  background: var(--hero-backdrop);
  opacity: 0.95;
}
body::after {
  background-image: linear-gradient(to right, var(--hero-grid-line) 1px, transparent 1px), linear-gradient(to bottom, var(--hero-grid-line) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 72%);
}
button, input, select, textarea {
  font: inherit;
}
button {
  border: none;
}
button, label[for], input[type="checkbox"], select {
  cursor: pointer;
}
textarea, input, select {
  min-width: 0;
}
input, textarea, select {
  color: inherit;
}
a {
  color: inherit;
}
code {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.hidden, .config-modal.hidden, .log-modal.hidden {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.button {
  letter-spacing: 0.01em;
}
.button.button--primary {
  --button-bg: var(--ui-accent);
  --button-bg-hover: var(--ui-accent-hover);
  --button-bg-pressed: var(--ui-accent-hover);
  --button-fg: var(--ui-text-on-accent);
  box-shadow: 0 18px 38px rgba(37, 99, 61, 0.18);
}
.button.button--secondary, .button.button--ghost, .button.button--outline {
  backdrop-filter: blur(14px);
}
.button.button--outline {
  border-color: var(--surface-outline);
}
.chip {
  backdrop-filter: blur(10px);
}
.card {
  border: 1px solid var(--surface-outline);
  backdrop-filter: blur(18px);
}
.input, .textarea {
  letter-spacing: 0.01em;
}
.app-shell {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  height: 100vh;
}
.app-sidebar {
  position: relative;
  width: var(--app-sidebar-width);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0.9rem 1.05rem;
  color: var(--sidebar-foreground);
  background: var(--sidebar-surface);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  overflow-y: auto;
}
.app-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(117, 182, 137, 0.16), transparent 30%), radial-gradient(circle at bottom, rgba(8, 16, 12, 0.54), transparent 35%);
  pointer-events: none;
}
.app-sidebar > * {
  position: relative;
  z-index: 1;
}
.sidebar-brand-wrap, .sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.sidebar-brand {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.4rem 0.15rem 0.15rem;
}
.brand-logo {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 0.45rem;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.82), transparent 48%), linear-gradient(135deg, rgba(194, 229, 194, 0.8), rgba(84, 143, 100, 0.92));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brand-name {
  font-size: 0.96rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.96);
}
.brand-meta {
  margin-top: 0.1rem;
  font-size: 0.73rem;
  color: var(--sidebar-muted);
}
.sidebar-collapse {
  color: rgba(255, 255, 255, 0.72);
  transform: rotate(-90deg);
}
.sidebar-pin {
  color: rgba(255, 255, 255, 0.72);
}
body[data-sidebar-pinned="true"] .sidebar-pin {
  color: var(--sidebar-foreground);
  background: rgba(255, 255, 255, 0.1);
}
.mobile-sidebar-toggle {
  display: none;
}
.sidebar-primary-action, .sidebar-secondary-action, .sidebar-footer-actions .button, .theme-toggle {
  justify-content: flex-start;
}
.sidebar-primary-action {
  background: linear-gradient(135deg, rgba(87, 154, 106, 0.96), rgba(50, 104, 65, 0.96));
}
.sidebar-secondary-action, .sidebar-footer-actions .button, .theme-toggle {
  color: var(--sidebar-foreground);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}
.theme-toggle {
  justify-content: space-between;
}
.theme-toggle__label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.theme-toggle__state {
  font-size: 0.78rem;
  color: var(--sidebar-muted);
}
.sidebar-nav {
  flex: 1;
  min-height: 0;
  padding-top: 0.25rem;
  overflow-y: auto;
}
.sidebar-section-heading {
  margin-bottom: 0.55rem;
  padding: 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}
.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.45rem;
  padding: 0.6rem 0.7rem;
  border-radius: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  line-height: 1.3;
  transition: background-color 180ms ease, transform 180ms ease, color 180ms ease;
  overflow: hidden;
}
.nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.96);
  transform: translateX(2px);
}
.nav-item.is-active {
  background: var(--sidebar-accent);
  color: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 0 0 1px rgba(157, 210, 173, 0.08);
}
.nav-item--empty, .nav-item--empty:hover {
  background: transparent;
  color: rgba(255, 255, 255, 0.34);
  cursor: default;
  transform: none;
}
.api-state {
  gap: 1rem;
  color: var(--sidebar-foreground);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}
.api-state__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
}
.api-state__icon {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 207, 122, 0.16);
  color: #ffd595;
}
.api-state__title {
  font-size: 0.9rem;
  font-weight: 600;
}
.api-state__desc {
  margin-top: 0.2rem;
  font-size: 0.76rem;
  color: var(--sidebar-muted);
}
.app-main {
  flex: 1;
  min-width: 0;
  height: 100vh;
  overflow-y: auto;
}
.workspace {
  width: min(100%, var(--workspace-max-width));
  margin: 0 auto;
  min-height: 100vh;
  padding: 0 1.75rem 7rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.workspace-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0 1.5rem;
}
.workspace-topbar__left, .workspace-topbar__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.workspace-model {
  gap: 0.5rem;
  min-height: 2rem;
  padding-inline: 0.8rem;
  border-radius: 0.7rem;
  border-color: var(--field-border);
  background: var(--topbar-model-bg);
  color: var(--topbar-model-fg);
  box-shadow: none;
}
.workspace-model::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 0.2rem;
  background: linear-gradient(135deg, rgba(102, 148, 116, 0.95), rgba(45, 94, 58, 0.95));
}
.workspace-model__label {
  display: none;
}
.workspace-model__value {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  line-height: 1;
}
.workspace-model__label, #topbarModelValue {
  line-height: 1;
}
#topbarModelValue {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--foreground);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--foreground) 78%, white 22%);
  }
}
.workspace-topbar__actions .button {
  min-height: 2rem;
  padding-inline: 1rem;
}
.workspace-topbar__actions .button--primary {
  background: #274f35;
  box-shadow: none;
}
.workspace-chip {
  padding-inline: 0.65rem;
}
.composer-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}
body[data-workspace-mode="image"] .composer-section {
  gap: 0.95rem;
  padding-bottom: 2.5rem;
}
.hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: calc(100svh - 3.5rem - 2rem);
  padding: clamp(3rem, 8vh, 5rem) 1.5rem clamp(4rem, 8vh, 6rem);
  text-align: center;
}
body[data-workspace-mode="image"] .hero-stage {
  min-height: auto;
  gap: 0.7rem;
  padding: clamp(2.25rem, 5vh, 3.4rem) 1.5rem 0.2rem;
}
.hero-stage__copy, .prompt-composer, .composer-chip-row, .suggestion-cards-row {
  animation: stage-rise 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-stage__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  min-height: auto;
  padding: 0;
}
body[data-workspace-mode="image"] .hero-stage__copy {
  gap: 0.55rem;
}
.hero-stage__copy::before {
  display: none;
}
.hero-pill {
  width: fit-content;
}
.hero-pill.chip {
  min-height: 1.65rem;
  padding-inline: 0.85rem;
  border-radius: 999px;
  background: #cfe0c3;
  color: #2d5e3a;
  border: none;
  box-shadow: none;
}
body[data-workspace-mode="search"] .hero-pill.chip {
  background: #c8dbbc;
}
body[data-workspace-mode="image"] .hero-pill.chip {
  background: #b8d4a8;
}
.hero-pill .chip__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0;
}
.hero-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-stage h1 {
  margin: 0;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 4vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--foreground);
}
body[data-workspace-mode="image"] .hero-stage h1, body[data-workspace-mode="search"] .hero-stage h1 {
  max-width: 14ch;
  font-size: clamp(2.45rem, 3.7vw, 3.15rem);
}
.hero-stage h1 em {
  font-style: italic;
  font-weight: 500;
}
.hero-subtitle {
  display: none;
}
.prompt-composer {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  width: min(100%, 42.5rem);
  min-height: 3.25rem;
  padding: 0.35rem 0.4rem 0.35rem 1rem;
  border-radius: 0.8rem;
  border-color: #d6ddd0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 22px rgba(19, 39, 27, 0.06);
  backdrop-filter: blur(12px);
}
.prompt-input {
  flex: 1;
  width: auto;
  min-height: 1.4rem !important;
  height: 1.4rem;
  padding: 0 !important;
  margin: 0;
  resize: none;
  overflow-y: hidden;
  font-size: 0.92rem;
  line-height: 1.4;
  text-align: left;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.prompt-input::placeholder {
  color: var(--field-placeholder);
}
.prompt-input:focus {
  outline: none;
}
.composer-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  width: min(100%, 42.5rem);
}
.composer-submit {
  width: var(--composer-submit-control-size);
  height: var(--composer-submit-control-size);
  min-width: var(--composer-submit-control-size);
  min-height: var(--composer-submit-control-size);
  padding: 0;
  border-radius: 999px;
  flex-shrink: 0;
  box-shadow: none;
}
.button.button--primary.composer-submit {
  background: #274f35;
}
.composer-submit__icon {
  font-size: 0.9rem;
  line-height: 1;
  transform: translate(0.02rem, -0.02rem);
}
.file-upload {
  position: relative;
}
.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.file-upload-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}
.composer-chip-row .button {
  min-height: 1.85rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  box-shadow: none;
}
.composer-chip-row .button {
  font-size: 0.74rem;
}
.composer-chip-row .button--secondary, .composer-chip-row .button--ghost {
  border-color: var(--composer-chip-border);
  background: var(--composer-chip-bg);
  color: var(--composer-chip-fg);
}
.mode-chip-btn.is-active {
  border-color: rgba(45, 94, 58, 0.16);
  background: rgba(230, 239, 225, 0.95);
  color: #2d5e3a;
}
body[data-workspace-mode="search"] #searchModeBtn.mode-chip-btn.is-active, body[data-workspace-mode="image"] #createImageModeBtn.mode-chip-btn.is-active {
  border-color: #2d5e3a;
  background: #2d5e3a;
  color: #fff;
}
.suggestion-cards-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  width: min(100%, 42.5rem);
}
body[data-workspace-mode="search"] .suggestion-cards-row, body[data-workspace-mode="image"] .suggestion-cards-row {
  display: none;
}
.suggestion-card {
  min-height: 2.15rem;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
  border-color: rgba(27, 59, 39, 0.1);
  box-shadow: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}
.suggestion-card:hover {
  transform: translateY(-1px);
  border-color: var(--surface-outline-strong);
  background: rgba(255, 255, 255, 0.92);
}
.suggestion-card span {
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
  color: var(--foreground);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--foreground) 70%, white 30%);
  }
  white-space: nowrap;
}
.control-deck {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  width: min(100%, 42.5rem);
  margin: 0 auto;
}
body[data-workspace-mode="chat"] .control-deck, body[data-workspace-mode="search"] .control-deck {
  display: none;
}
body[data-workspace-mode="image"] .control-deck {
  gap: 0.95rem;
}
.control-panel {
  gap: 1rem;
  padding: 1rem;
}
.control-panel:first-child {
  grid-column: 1 / -1;
}
.section-label-row, .style-more-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--foreground);
}
.section-note, .style-more-subtitle {
  margin-top: 0.22rem;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--muted);
}
.style-more-title {
  font-size: 0.92rem;
  font-weight: 700;
}
.style-more-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
body[data-workspace-mode="image"] .style-more-meta {
  justify-content: center;
}
body[data-workspace-mode="image"] .style-more-row {
  justify-content: center;
}
.param-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.85rem;
}
.control-panel--reference {
  gap: 0.9rem;
}
body[data-workspace-mode="image"] .control-panel.card {
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}
body[data-workspace-mode="image"] .control-deck > .control-panel:first-child .section-label-row {
  display: none;
}
.param-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: 1.25rem;
  background: var(--surface-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-secondary) 88%, white 12%);
  }
  border: 1px solid var(--surface-outline);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--surface-outline) 75%, transparent 25%);
  }
}
body[data-workspace-mode="image"] .param-row {
  grid-template-columns: repeat(3, minmax(0, max-content));
  justify-content: center;
  gap: 0.75rem;
}
body[data-workspace-mode="image"] .param-card {
  gap: 0;
  padding: 0;
  background: transparent;
  border: none;
}
body[data-workspace-mode="image"] .param-card .label, body[data-workspace-mode="image"] #image-model-param-group #customImageModelInput {
  display: none;
}
body[data-workspace-mode="image"] .param-card .input {
  min-height: 2rem;
  width: auto;
  padding: 0.35rem 2rem 0.35rem 0.8rem;
  border-radius: 0.55rem;
  border-color: #d6ddd0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
  font-size: 0.74rem;
  font-weight: 500;
  color: #4a6b52;
}
.style-showcase-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
}
.style-card {
  position: relative;
  min-height: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0;
  overflow: hidden;
  border-radius: 1.4rem;
  background: var(--surface-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-secondary) 90%, white 10%);
  }
  border: 1px solid var(--surface-outline);
  box-shadow: var(--surface-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.style-card:hover {
  transform: translateY(-2px);
  border-color: var(--surface-outline-strong);
}
.style-card--upload {
  background: linear-gradient(135deg, var(--accent), var(--surface-secondary));
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, white 88%), color-mix(in srgb, var(--surface-secondary) 76%, white 24%));
  }
}
.style-card__upload-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--accent) 88%, white 12%);
  }
  color: var(--accent-foreground);
  box-shadow: 0 12px 28px rgba(31, 104, 59, 0.2);
}
.style-card__title {
  font-size: 0.82rem;
  font-weight: 700;
}
.style-card__subtitle {
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
}
.style-card--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.style-card__label {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.9rem 0.7rem 0.65rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 6%, rgba(12, 18, 14, 0.68) 100%);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  text-align: left;
}
#imageUrls {
  width: 100%;
  min-height: 7rem;
  resize: vertical;
}
.reference-url-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
}
.reference-url-row--hidden {
  display: none;
}
.reference-url-row .inline-action-btn {
  min-height: 3rem;
}
.search-query-input {
  min-height: 3rem;
}
.image-preview-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 0.85rem;
}
body[data-workspace-mode="image"] .image-preview-container {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
}
.image-preview-container:empty::before {
  content: attr(data-empty-label);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8.5rem;
  padding: 1rem;
  border-radius: 1.35rem;
  border: 1px dashed var(--surface-outline);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px dashed color-mix(in srgb, var(--surface-outline) 80%, transparent 20%);
  }
  background: var(--surface-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-secondary) 84%, white 16%);
  }
  color: var(--muted);
  text-align: center;
}
body[data-workspace-mode="image"] .image-preview-container:empty {
  display: none;
}
body[data-workspace-mode="image"] .image-preview-container:empty::before {
  display: none;
}
.workspace-feed {
  display: none;
  width: 100%;
  max-width: none;
  margin: 1.2rem auto 0;
  animation: stage-rise 320ms ease both;
}
body[data-workspace-feed="active"] .workspace-feed {
  display: flex;
  flex-direction: column;
}
.image-preview-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid var(--surface-outline);
  background: var(--surface-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-secondary) 88%, white 12%);
  }
}
.image-preview-image {
  width: 100%;
  height: 9.25rem;
  object-fit: cover;
  display: block;
}
body[data-workspace-mode="image"] .image-preview-image {
  height: 6rem;
}
.image-preview-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(12, 17, 13, 0.66);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.image-preview-error, .result-image-error {
  min-height: 7.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  padding: var(--spacing-4);
  border: var(--border-default) solid var(--ui-danger-border, var(--surface-outline));
  border-radius: var(--radius-card);
  background: var(--ui-danger-soft, var(--surface-secondary));
  color: var(--ui-danger-fg, var(--foreground-primary));
  font-family: var(--font-body);
  font-size: var(--type-helper);
  line-height: var(--leading-normal);
  text-align: center;
}
.result-image-error {
  width: 100%;
  aspect-ratio: 4 / 3;
}
.result-image-error strong {
  font-size: var(--type-body);
}
.delete-image-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 16, 12, 0.55);
  color: #fff;
  transition: background-color 160ms ease;
}
.delete-image-btn:hover {
  background: rgba(11, 16, 12, 0.78);
}
.workspace-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(21.5rem, 0.88fr);
  gap: 1rem;
  align-items: start;
}
.workspace-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.surface-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.1rem 1rem;
  border-bottom: 1px solid var(--separator);
}
.panel-kicker {
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.panel-header h2, .config-modal-content h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--foreground);
}
.panel-actions, .history-actions, .log-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.panel-body {
  min-height: 0;
  padding: 1rem 1.1rem 1.15rem;
}
.panel-body--results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 0;
}
.panel-body--history {
  padding-top: 0.95rem;
}
.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.conversation-thread, .search-results-block {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.conversation-thread__header, .search-results-block__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.conversation-thread__model, .search-results-block__provider {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--accent);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--accent) 10%, white 90%);
  }
  color: var(--accent);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--accent) 82%, black 18%);
  }
  font-size: 0.78rem;
  font-weight: 700;
}
.conversation-thread__endpoint {
  font-size: 0.78rem;
  color: var(--muted);
}
.conversation-turn {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.05rem;
  border-radius: 1.15rem;
  border: 1px solid var(--surface-outline);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--surface-outline) 76%, transparent 24%);
  }
}
.conversation-turn--user {
  background: rgba(255, 255, 255, 0.72);
}
.conversation-turn--assistant {
  background: var(--surface-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-secondary) 90%, white 10%);
  }
}
.conversation-turn__role, .search-results-block__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.conversation-turn__content {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--foreground);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--foreground) 84%, white 16%);
  }
  word-break: break-word;
}
.search-results-block h3 {
  margin: 0.3rem 0 0;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--foreground);
}
.search-results-list {
  display: grid;
  gap: 0.85rem;
}
.search-result-card, .search-results-empty {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.05rem;
  border-radius: 1.15rem;
  border: 1px solid var(--surface-outline);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--surface-outline) 76%, transparent 24%);
  }
  background: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}
.search-result-card:hover {
  transform: translateY(-1px);
  border-color: var(--surface-outline-strong);
  background: rgba(255, 255, 255, 0.9);
}
.search-result-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
}
.search-result-card__snippet {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--foreground);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--foreground) 76%, white 24%);
  }
}
.search-result-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.8rem;
  font-size: 0.76rem;
  color: var(--muted);
}
.result-group {
  padding: 1rem;
  border-radius: 1.45rem;
  background: var(--surface-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-secondary) 92%, white 8%);
  }
  border: 1px solid var(--surface-outline);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--surface-outline) 70%, transparent 30%);
  }
}
.result-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.result-group-bar {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--accent);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--accent) 11%, white 89%);
  }
  color: var(--accent);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--accent) 82%, black 18%);
  }
  font-size: 0.82rem;
  font-weight: 700;
}
.result-prompt-info {
  margin-bottom: 0.95rem;
  padding: 0.9rem 1rem;
  border-radius: 1.2rem;
  border: 1px solid var(--surface-outline);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--surface-outline) 65%, transparent 35%);
  }
  background: rgba(255, 255, 255, 0.46);
}
.prompt-summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.prompt-summary-line strong {
  font-size: 0.9rem;
}
.image-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}
.result-image-cell {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.generated-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 1.2rem;
  background: var(--surface-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-secondary) 82%, white 18%);
  }
  border: 1px solid var(--surface-outline);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--surface-outline) 75%, transparent 25%);
  }
  cursor: zoom-in;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.generated-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(17, 32, 22, 0.1);
}
.result-link-warning {
  color: var(--warning);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--warning) 78%, black 22%);
  }
  font-size: 0.78rem;
}
.loading {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 11rem;
  color: var(--muted);
}
.loading.show {
  display: flex;
}
.spinner {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  border: 3px solid var(--accent);
  @supports (color: color-mix(in lab, red, red)) {
    border: 3px solid color-mix(in srgb, var(--accent) 18%, transparent 82%);
  }
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}
.log-line {
  margin-top: 0.7rem;
  color: var(--foreground);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--foreground) 82%, white 18%);
  }
  font-size: 0.79rem;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}
.log-info {
  color: #2563eb;
}
.log-warn {
  color: #ca8a04;
}
.log-error {
  color: #dc2626;
}
.history-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.history-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18rem;
  padding: 1.5rem;
  border-radius: 1.35rem;
  border: 1px dashed var(--surface-outline);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px dashed color-mix(in srgb, var(--surface-outline) 80%, transparent 20%);
  }
  background: var(--surface-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-secondary) 84%, white 16%);
  }
  color: var(--muted);
  text-align: center;
}
.history-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.75rem;
  border-radius: 1.35rem;
  border: 1px solid var(--surface-outline);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--surface-outline) 78%, transparent 22%);
  }
  background: var(--surface-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-secondary) 86%, white 14%);
  }
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.history-item:hover {
  transform: translateY(-2px);
  border-color: var(--surface-outline-strong);
}
.history-item.selected {
  border-color: var(--accent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--accent) 65%, white 35%);
  }
  box-shadow: 0 0 0 1px var(--accent);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent 75%);
  }
}
.history-item-checkbox-container {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 1;
}
.history-item-checkbox {
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent);
}
.history-image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: 1rem;
  background: var(--surface-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-secondary) 82%, white 18%);
  }
}
.history-time {
  padding-inline: 0.2rem;
  font-size: 0.76rem;
  color: var(--muted);
}
.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1rem 1.1rem 1.1rem;
}
.page-btn {
  min-height: 2.4rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface) 86%, white 14%);
  }
  border: 1px solid var(--surface-outline);
  color: var(--foreground);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--foreground) 82%, white 18%);
  }
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.page-btn:hover:not(:disabled) {
  background: var(--surface-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-secondary) 80%, white 20%);
  }
  border-color: var(--surface-outline-strong);
  transform: translateY(-1px);
}
.page-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
.page-info {
  font-size: 0.82rem;
  color: var(--muted);
}
.config-modal, .log-modal, .history-detail-modal, .prompt-detail-modal, .full-image-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
}
.history-detail-modal, .prompt-detail-modal, .full-image-modal {
  display: flex;
  align-items: center;
  justify-content: center;
}
.config-modal-backdrop, .log-modal-backdrop, .history-detail-modal-backdrop, .prompt-detail-modal-backdrop, .full-image-modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--backdrop);
  backdrop-filter: blur(14px);
}
.config-modal-content, .log-modal-content, .history-detail-modal-content, .prompt-detail-modal-content {
  position: relative;
  z-index: 1;
}
.modal-intro {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}
.config-form-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.1rem;
}
.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.input-group small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}
.api-key-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.api-key-row .input {
  flex: 1;
}
.config-modal-actions {
  margin-top: 1.2rem;
}
#logModalBody {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 240px;
  max-height: min(58vh, 520px);
  overflow-y: auto;
  padding: 16px;
  border-radius: var(--radius-card);
  background: var(--panel-card-bg);
  border: var(--border-default) solid var(--panel-card-border);
  color: var(--foreground);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--foreground) 82%, white 18%);
  }
  font-family: var(--font-body);
  font-size: var(--type-helper);
  line-height: 1.65;
  word-break: break-word;
}
#logModalBody:empty::before {
  content: attr(data-placeholder);
  color: var(--ui-text-3);
}
#logModalBody .log-line {
  margin: 0;
}
#logModalBody pre.log-line {
  white-space: pre-wrap;
}
.history-detail-modal-content, .prompt-detail-modal-content {
  width: min(92vw, 980px);
  max-height: min(90vh, 860px);
  overflow: hidden;
  border-radius: 1.75rem;
  background: var(--overlay);
  border: 1px solid var(--surface-outline);
  box-shadow: var(--overlay-shadow);
}
.history-detail-header, .prompt-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--separator);
  color: var(--foreground);
  font-weight: 700;
}
.history-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1rem;
  padding: 1.1rem 1.15rem 1.2rem;
}
.history-detail-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24rem;
  padding: 1rem;
  border-radius: 1.25rem;
  background: var(--surface-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-secondary) 90%, white 10%);
  }
  border: 1px solid var(--surface-outline);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--surface-outline) 74%, transparent 26%);
  }
}
.history-detail-image {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: 1rem;
}
.history-detail-meta, .prompt-detail-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.history-detail-time {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}
.history-detail-prompt-block, .prompt-detail-block {
  padding: 1rem;
  border-radius: 1.2rem;
  background: var(--surface-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-secondary) 90%, white 10%);
  }
  border: 1px solid var(--surface-outline);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--surface-outline) 75%, transparent 25%);
  }
}
.history-detail-prompt-block strong, .prompt-detail-block strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--foreground);
}
.history-detail-prompt-block p, .prompt-detail-block p {
  margin: 0;
  color: var(--foreground);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--foreground) 78%, white 22%);
  }
  font-size: 0.92rem;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}
.history-detail-close, .prompt-detail-close {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-secondary) 84%, white 16%);
  }
  border: 1px solid var(--surface-outline);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--surface-outline) 75%, transparent 25%);
  }
  color: var(--foreground);
}
.prompt-detail-body {
  padding: 1.1rem 1.15rem 1.2rem;
  max-height: 70vh;
  overflow-y: auto;
}
.full-image-modal {
  z-index: 3000;
}
.full-image-modal__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 2;
}
.full-image-modal__image {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 1400px);
  max-height: 90vh;
  border-radius: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}
.toast-notification {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 2300;
  min-width: 15rem;
  max-width: min(26rem, calc(100vw - 2rem));
  padding: 0.9rem 1rem;
  border-radius: 1.1rem;
  box-shadow: var(--overlay-shadow);
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}
.toast-notification--error {
  background: var(--danger);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--danger) 11%, white 89%);
  }
  border-color: var(--danger);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--danger) 24%, white 76%);
  }
  color: var(--danger);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--danger) 78%, black 22%);
  }
}
.toast-notification--success {
  background: var(--success);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--success) 15%, white 85%);
  }
  border-color: var(--success);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--success) 24%, white 76%);
  }
  color: var(--success);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--success) 74%, black 26%);
  }
}
.toast {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 2200;
  width: min(24rem, calc(100vw - 2rem));
  max-height: min(70vh, 640px);
  overflow-y: auto;
  padding: 1.15rem;
  border-radius: 1.45rem;
  background: var(--overlay);
  border: 1px solid var(--surface-outline);
  box-shadow: var(--overlay-shadow);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}
.toast button {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-secondary) 86%, white 14%);
  }
  border: 1px solid var(--surface-outline);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--surface-outline) 78%, transparent 22%);
  }
  color: var(--foreground);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--foreground) 82%, white 18%);
  }
}
.toast-content {
  color: var(--foreground);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--foreground) 82%, white 18%);
  }
}
.toast-header {
  margin: 0;
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 700;
}
.toast-section {
  margin-top: 0.9rem;
}
.toast-section > strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--foreground);
}
.toast code, .new-model {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--accent);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--accent) 12%, white 88%);
  }
  color: var(--accent);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--accent) 82%, black 18%);
  }
  font-size: 0.78rem;
  font-weight: 600;
}
.toast-tips {
  margin-top: 0.95rem;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background: var(--surface-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-secondary) 90%, white 10%);
  }
  color: var(--foreground);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--foreground) 78%, white 22%);
  }
}
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.65rem;
}
.link-card {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.55rem;
  padding: 0.7rem 0.8rem;
  border-radius: 1rem;
  background: var(--surface-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--surface-secondary) 88%, white 12%);
  }
  border: 1px solid var(--surface-outline);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--surface-outline) 78%, transparent 22%);
  }
  text-decoration: none;
}
.model-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.contact-group {
  margin-top: 0.75rem;
}
.contact-group p {
  margin: 0.3rem 0 0;
}
.wechat-id {
  cursor: pointer;
  color: var(--link);
  font-weight: 700;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--accent) 28%, transparent 72%);
  }
  border-radius: 999px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes stage-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1280px) {
  .hero-stage {
    min-height: calc(100svh - 3.5rem - 1.25rem);
  }
  .hero-stage__copy, .prompt-composer {
    min-height: auto;
  }
  .param-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .control-deck {
    grid-template-columns: 1fr;
  }
  .control-panel:first-child {
    grid-column: auto;
  }
}
@media (max-width: 1120px) {
  .workspace-panels {
    grid-template-columns: 1fr;
  }
  .suggestion-cards-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .style-showcase-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (width < 64rem) {
  body {
    overflow-y: auto;
  }
  .app-shell {
    min-height: 100vh;
    height: auto;
  }
  .app-sidebar {
    display: none;
  }
  .app-main {
    height: auto;
    overflow: visible;
  }
  .workspace {
    padding: 0 1rem 2rem;
  }
  .workspace-topbar {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 0 0;
  }
  .workspace-topbar__left, .workspace-topbar__actions {
    width: 100%;
  }
  .workspace-topbar__actions .button {
    flex: 1;
  }
  .hero-stage {
    min-height: auto;
    padding: 2.5rem 0.75rem 3rem;
  }
  .suggestion-cards-row, .param-row, .style-showcase-row {
    grid-template-columns: 1fr;
  }
  .history-detail-body {
    grid-template-columns: 1fr;
  }
  .history-detail-modal-content, .prompt-detail-modal-content {
    width: 100vw;
    max-width: 100vw;
    max-height: 92vh;
    max-height: 92dvh;
    border-radius: 1.75rem 1.75rem 0 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
  }
}
@media (max-width: 640px) {
  .hero-stage h1 {
    font-size: 2.55rem;
    max-width: 12ch;
  }
  .section-label-row, .style-more-row, .panel-header, .log-modal-header {
    flex-direction: column;
    align-items: stretch;
  }
  .history-actions .button, .panel-actions .button, .config-modal-actions .button, .api-key-row, .api-key-row .button, .link-grid {
    width: 100%;
  }
  .api-key-row {
    flex-direction: column;
  }
  .workspace-topbar__left, .workspace-topbar__actions, .composer-chip-row {
    flex-direction: column;
    align-items: stretch;
  }
  .workspace-topbar__left > *, .workspace-topbar__actions > *, .composer-chip-row > *, .prompt-composer, .reference-url-row > *, .file-upload, .file-upload-label {
    width: 100%;
  }
  .reference-url-row {
    grid-template-columns: 1fr;
  }
  .link-grid {
    grid-template-columns: 1fr;
  }
}
:root, [data-theme="light"] {
  --ui-app-bg: #F5F3EE;
  --ui-sidebar-bg: #1B3A28;
  --ui-sidebar-border: #D6DDD0;
  --ui-surface-1: #FFFFFF;
  --ui-surface-2: #F5F3EE;
  --ui-surface-raised: #FFFFFF;
  --ui-input-bg: #FAFAFA;
  --ui-input-border: #D6DDD0;
  --ui-border: #D6DDD0;
  --ui-border-strong: #E5E7EB;
  --ui-text-1: #1B3A28;
  --ui-text-2: #607366;
  --ui-text-3: #7A9A80;
  --ui-text-on-accent: #FFFFFF;
  --ui-accent: #2D5E3A;
  --ui-accent-hover: #24472F;
  --ui-accent-soft: #C8DBBC;
  --ui-accent-soft-fg: #1B3A28;
  --ui-ring: #2D5E3A;
  --color-accent: var(--ui-accent);
  --color-accent-foreground: var(--ui-text-on-accent);
  --color-accent-hover: var(--ui-accent-hover);
  --color-accent-soft: var(--ui-accent-soft);
  --color-accent-soft-foreground: var(--ui-accent-soft-fg);
  --color-accent-soft-hover: var(--ui-accent-soft);
  @supports (color: color-mix(in lab, red, red)) {
    --color-accent-soft-hover: color-mix(in srgb, var(--ui-accent-soft) 88%, var(--ui-accent) 12%);
  }
  --ui-chip-active-bg: #C8DBBC;
  --ui-chip-active-border: #2D5E3A;
  --ui-chip-active-fg: #1B3A28;
  --ui-chip-inactive-bg: #FAFAFA;
  --ui-chip-inactive-border: #D6DDD0;
  --ui-chip-inactive-fg: #4A6B52;
  --ui-warning: #FFD08A;
  --ui-key-icon: #C47A1A;
  --ui-danger: #C2410C;
  --font-ui: "Geist",
        "Inter",
        "Segoe UI Variable",
        "PingFang SC",
        "Microsoft YaHei",
        sans-serif;
  --font-body: "Inter",
        "Geist",
        "Segoe UI Variable",
        "PingFang SC",
        "Microsoft YaHei",
        sans-serif;
  --font-sans: var(--font-body);
  --font-display: "Playfair Display",
        "Iowan Old Style",
        "Palatino Linotype",
        "Book Antiqua",
        "Times New Roman",
        serif;
  --type-display: 2.5rem;
  --type-page-title: 1.375rem;
  --type-section-title: 1.125rem;
  --type-service-title: 1rem;
  --type-input: 0.9375rem;
  --type-ui-label: 0.875rem;
  --type-body: 0.875rem;
  --type-meta: 0.8125rem;
  --type-helper: 0.75rem;
  --type-micro: 0.6875rem;
  --radius-input: 0.375rem;
  --radius-control: 0.5rem;
  --radius-card: 0.75rem;
  --radius-board: 20px;
  --radius-pill: 9999px;
  --radius: calc(var(--radius-card) / 3);
  --field-radius: var(--radius-card);
  --border-default: 1px;
  --border-emphasis: 1.5px;
  --border-focus: 2px;
  --workspace-max-width: min(90rem, calc(100vw - var(--workspace-feed-inline-padding) - var(--workspace-feed-inline-padding)));
  --surface-outline: var(--ui-border);
  --surface-outline-strong: var(--ui-border-strong);
  --sidebar-surface: var(--ui-sidebar-bg);
  --sidebar-foreground: var(--ui-text-on-accent);
  --sidebar-muted: var(--ui-text-3);
  --sidebar-item-fg: var(--ui-text-on-accent);
  @supports (color: color-mix(in lab, red, red)) {
    --sidebar-item-fg: color-mix(in srgb, var(--ui-text-on-accent) 84%, transparent 16%);
  }
  --sidebar-active-bg: var(--ui-accent);
  @supports (color: color-mix(in lab, red, red)) {
    --sidebar-active-bg: color-mix(in srgb, var(--ui-accent) 68%, var(--ui-sidebar-bg) 32%);
  }
  --sidebar-active-fg: var(--ui-text-on-accent);
  --sidebar-card-bg: var(--ui-sidebar-bg);
  @supports (color: color-mix(in lab, red, red)) {
    --sidebar-card-bg: color-mix(in srgb, var(--ui-sidebar-bg) 82%, black 18%);
  }
  --sidebar-card-border: var(--ui-accent);
  @supports (color: color-mix(in lab, red, red)) {
    --sidebar-card-border: color-mix(in srgb, var(--ui-accent) 52%, transparent 48%);
  }
  --sidebar-card-button-bg: var(--ui-surface-1);
  --sidebar-card-button-fg: var(--ui-sidebar-bg);
  --sidebar-footer-fg: var(--ui-text-on-accent);
  @supports (color: color-mix(in lab, red, red)) {
    --sidebar-footer-fg: color-mix(in srgb, var(--ui-text-on-accent) 84%, transparent 16%);
  }
  --sidebar-hover-bg: rgba(255, 255, 255, 0.03);
  --sidebar-action-hover-bg: rgba(255, 255, 255, 0.04);
  --sidebar-action-soft-bg: rgba(255, 255, 255, 0.08);
  --sidebar-danger-soft-bg: var(--ui-danger);
  @supports (color: color-mix(in lab, red, red)) {
    --sidebar-danger-soft-bg: color-mix(in srgb, var(--ui-danger) 20%, transparent 80%);
  }
  --sidebar-danger-soft-fg: var(--ui-text-on-accent);
  --topbar-surface: var(--ui-app-bg);
  --topbar-model-bg: var(--ui-surface-1);
  --topbar-model-fg: var(--ui-text-1);
  --topbar-model-icon: var(--ui-accent);
  --topbar-model-muted: var(--ui-text-2);
  --hero-pill-bg: var(--ui-accent-soft);
  --hero-pill-fg: var(--ui-accent-soft-fg);
  --background: var(--ui-app-bg);
  --foreground: var(--ui-text-1);
  --surface: var(--ui-surface-1);
  --surface-secondary: var(--ui-surface-2);
  --surface-tertiary: var(--ui-surface-raised);
  --overlay: var(--ui-surface-1);
  --muted: var(--ui-text-2);
  --accent: var(--ui-accent);
  --accent-foreground: var(--ui-text-on-accent);
  --field-background: var(--ui-input-bg);
  --field-placeholder: var(--ui-text-3);
  --field-border: var(--ui-input-border);
  --border: var(--ui-border);
  --separator: var(--ui-border-strong);
  --hero-backdrop: none;
  --hero-grid-line: transparent;
  --surface-shadow: none;
  --overlay-shadow: none;
  --field-shadow: none;
  --suggestion-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  --composer-submit-bg: var(--ui-text-1);
  --composer-chip-bg: var(--ui-chip-inactive-bg);
  --composer-chip-border: var(--ui-chip-inactive-border);
  --composer-chip-fg: var(--ui-chip-inactive-fg);
  --composer-chip-active-bg: var(--ui-chip-active-bg);
  --composer-chip-active-border: var(--ui-chip-active-border);
  --composer-chip-active-fg: var(--ui-chip-active-fg);
  --warning: var(--ui-warning);
  --ui-danger: #c2410c;
  --prompt-bar-bg: var(--ui-surface-1);
  --panel-card-bg: var(--ui-surface-1);
  --panel-card-muted-bg: var(--ui-input-bg);
  --panel-card-border: var(--ui-border);
  --settings-nav-bg: var(--ui-app-bg);
  --settings-nav-border: var(--ui-border-strong);
  --settings-nav-active-bg: #E8F0E2;
  --settings-nav-active-border: transparent;
  --settings-nav-active-fg: var(--ui-text-1);
  --settings-card-bg: var(--ui-surface-1);
  --settings-card-border: var(--ui-border-strong);
  --settings-control-bg: var(--ui-input-bg);
  --settings-control-border: var(--ui-input-border);
  --settings-icon-fg: var(--ui-accent);
  --settings-badge-bg: #E8F7F2;
  --settings-badge-fg: var(--ui-accent);
  --result-soft-bg: var(--ui-input-bg);
  --result-highlight-bg: var(--ui-accent-soft);
  --result-highlight-fg: var(--ui-accent);
  --style-card-upload-bg: var(--ui-surface-1);
  --style-card-upload-icon-bg: var(--ui-accent-soft);
  --style-card-upload-icon-fg: var(--ui-accent);
  --style-card-label-overlay: linear-gradient(180deg, rgba(12, 18, 14, 0) 12%, rgba(12, 18, 14, 0.72) 100%);
  --param-trigger-bg: var(--ui-surface-1);
  --param-trigger-fg: var(--ui-text-2);
  --param-trigger-muted: var(--ui-text-3);
  --conversation-assistant-bg: var(--ui-surface-1);
  --conversation-user-bg: var(--ui-accent-soft);
  --conversation-avatar-bg: var(--ui-accent-soft);
  --conversation-pill-bg: var(--ui-accent-soft);
  --conversation-pill-fg: var(--ui-accent);
  --conversation-status-bg: var(--ui-surface-2);
  --conversation-error-bg: var(--ui-danger);
  @supports (color: color-mix(in lab, red, red)) {
    --conversation-error-bg: color-mix(in srgb, var(--ui-danger) 14%, white 86%);
  }
  --conversation-error-fg: var(--ui-danger);
  --conversation-card-border: var(--ui-border-strong);
}
[data-theme="dark"] {
  --ui-app-bg: #141814;
  --ui-sidebar-bg: #1C2821;
  --ui-sidebar-border: #303530;
  --ui-surface-1: #1F2420;
  --ui-surface-2: #252A26;
  --ui-surface-raised: #1F2A24;
  --ui-input-bg: #2A2F2B;
  --ui-input-border: #303530;
  --ui-border: #303530;
  --ui-border-strong: #3A4A3B;
  --ui-text-1: #F5F3EE;
  --ui-text-2: #A7ADA3;
  --ui-text-3: #6B7268;
  --ui-text-on-accent: #FFFFFF;
  --ui-accent: #3F7A4F;
  --ui-accent-hover: #4F8C5D;
  --ui-accent-soft: #21332A;
  --ui-accent-soft-fg: #BFE5C9;
  --ui-ring: #4F8C5D;
  --color-accent: var(--ui-accent);
  --color-accent-foreground: var(--ui-text-on-accent);
  --color-accent-hover: var(--ui-accent-hover);
  --color-accent-soft: var(--ui-accent-soft);
  --color-accent-soft-foreground: var(--ui-accent-soft-fg);
  --color-accent-soft-hover: var(--ui-accent-soft);
  @supports (color: color-mix(in lab, red, red)) {
    --color-accent-soft-hover: color-mix(in srgb, var(--ui-accent-soft) 82%, var(--ui-accent) 18%);
  }
  --ui-chip-active-bg: #21332A;
  --ui-chip-active-border: #4F8C5D;
  --ui-chip-active-fg: #BFE5C9;
  --ui-chip-inactive-bg: #2A2F2B;
  --ui-chip-inactive-border: #303530;
  --ui-chip-inactive-fg: #A7ADA3;
  --ui-warning: #FFD08A;
  --ui-key-icon: #FFD08A;
  --ui-danger: #F87171;
  --font-ui: "Geist",
        "Inter",
        "Segoe UI Variable",
        "PingFang SC",
        "Microsoft YaHei",
        sans-serif;
  --font-body: "Inter",
        "Geist",
        "Segoe UI Variable",
        "PingFang SC",
        "Microsoft YaHei",
        sans-serif;
  --font-sans: var(--font-body);
  --type-display: 2.5rem;
  --type-page-title: 1.375rem;
  --type-section-title: 1.125rem;
  --type-service-title: 1rem;
  --type-input: 0.9375rem;
  --type-ui-label: 0.875rem;
  --type-body: 0.875rem;
  --type-meta: 0.8125rem;
  --type-helper: 0.75rem;
  --type-micro: 0.6875rem;
  --radius-input: 0.375rem;
  --radius-control: 0.5rem;
  --radius-card: 0.75rem;
  --radius-board: 20px;
  --radius-pill: 9999px;
  --radius: calc(var(--radius-card) / 3);
  --field-radius: var(--radius-card);
  --border-default: 1px;
  --border-emphasis: 1.5px;
  --border-focus: 2px;
  --workspace-max-width: min(90rem, calc(100vw - var(--workspace-feed-inline-padding) - var(--workspace-feed-inline-padding)));
  --surface-outline: var(--ui-border);
  --surface-outline-strong: var(--ui-border-strong);
  --sidebar-surface: var(--ui-sidebar-bg);
  --sidebar-foreground: var(--ui-text-1);
  --sidebar-muted: var(--ui-text-3);
  --sidebar-item-fg: var(--ui-text-2);
  --sidebar-active-bg: var(--ui-accent-soft);
  --sidebar-active-fg: var(--ui-accent-soft-fg);
  --sidebar-card-bg: var(--ui-surface-raised);
  --sidebar-card-border: var(--ui-border-strong);
  --sidebar-card-button-bg: var(--ui-accent);
  --sidebar-card-button-fg: var(--ui-text-on-accent);
  --sidebar-footer-fg: var(--ui-text-2);
  --sidebar-hover-bg: rgba(255, 255, 255, 0.03);
  --sidebar-action-hover-bg: rgba(255, 255, 255, 0.04);
  --sidebar-action-soft-bg: rgba(255, 255, 255, 0.08);
  --sidebar-danger-soft-bg: var(--ui-danger);
  @supports (color: color-mix(in lab, red, red)) {
    --sidebar-danger-soft-bg: color-mix(in srgb, var(--ui-danger) 20%, transparent 80%);
  }
  --sidebar-danger-soft-fg: var(--ui-text-1);
  --topbar-surface: var(--ui-app-bg);
  --topbar-model-bg: var(--ui-surface-1);
  --topbar-model-fg: var(--ui-text-1);
  --topbar-model-icon: var(--ui-accent);
  @supports (color: color-mix(in lab, red, red)) {
    --topbar-model-icon: color-mix(in srgb, var(--ui-accent) 70%, white 30%);
  }
  --topbar-model-muted: var(--ui-text-2);
  --hero-pill-bg: var(--ui-accent-soft);
  --hero-pill-fg: var(--ui-accent-soft-fg);
  --background: var(--ui-app-bg);
  --foreground: var(--ui-text-1);
  --surface: var(--ui-surface-1);
  --surface-secondary: var(--ui-surface-2);
  --surface-tertiary: var(--ui-surface-raised);
  --overlay: var(--ui-surface-1);
  --muted: var(--ui-text-2);
  --accent: var(--ui-accent);
  --accent-foreground: var(--ui-text-on-accent);
  --field-background: var(--ui-input-bg);
  --field-placeholder: var(--ui-text-3);
  --field-border: var(--ui-input-border);
  --border: var(--ui-border);
  --separator: var(--ui-border-strong);
  --hero-backdrop: none;
  --hero-grid-line: transparent;
  --surface-shadow: none;
  --overlay-shadow: none;
  --field-shadow: none;
  --suggestion-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
  --composer-submit-bg: var(--ui-accent);
  --composer-chip-bg: var(--ui-chip-inactive-bg);
  --composer-chip-border: var(--ui-chip-inactive-border);
  --composer-chip-fg: var(--ui-chip-inactive-fg);
  --composer-chip-active-bg: var(--ui-chip-active-bg);
  --composer-chip-active-border: var(--ui-chip-active-border);
  --composer-chip-active-fg: var(--ui-chip-active-fg);
  --warning: var(--ui-warning);
  --ui-danger: #f87171;
  --prompt-bar-bg: var(--ui-input-bg);
  --panel-card-bg: var(--ui-surface-1);
  --panel-card-muted-bg: var(--ui-input-bg);
  --panel-card-border: var(--ui-border);
  --settings-nav-bg: #1A1F1B;
  --settings-nav-border: var(--ui-border);
  --settings-nav-active-bg: var(--ui-accent-soft);
  --settings-nav-active-border: var(--ui-ring);
  --settings-nav-active-fg: var(--ui-accent-soft-fg);
  --settings-card-bg: var(--ui-surface-1);
  --settings-card-border: var(--ui-border);
  --settings-control-bg: var(--ui-input-bg);
  --settings-control-border: var(--ui-input-border);
  --settings-icon-fg: #A9DCB7;
  --settings-badge-bg: var(--ui-accent-soft);
  --settings-badge-fg: #A9DCB7;
  --result-soft-bg: var(--ui-surface-1);
  @supports (color: color-mix(in lab, red, red)) {
    --result-soft-bg: color-mix(in srgb, var(--ui-surface-1) 70%, black 30%);
  }
  --result-highlight-bg: var(--ui-accent-soft);
  --result-highlight-fg: var(--ui-accent-soft-fg);
  --style-card-upload-bg: var(--ui-surface-1);
  --style-card-upload-icon-bg: var(--ui-accent-soft);
  --style-card-upload-icon-fg: var(--ui-accent-soft-fg);
  --style-card-label-overlay: linear-gradient(180deg, rgba(5, 8, 6, 0) 12%, rgba(5, 8, 6, 0.78) 100%);
  --param-trigger-bg: var(--ui-surface-1);
  --param-trigger-fg: var(--ui-text-2);
  --param-trigger-muted: var(--ui-text-3);
  --conversation-assistant-bg: var(--ui-surface-1);
  --conversation-user-bg: var(--ui-accent-soft);
  --conversation-avatar-bg: var(--ui-accent-soft);
  --conversation-pill-bg: var(--ui-accent-soft);
  --conversation-pill-fg: var(--ui-accent-soft-fg);
  --conversation-status-bg: var(--ui-surface-2);
  --conversation-error-bg: var(--ui-danger);
  @supports (color: color-mix(in lab, red, red)) {
    --conversation-error-bg: color-mix(in srgb, var(--ui-danger) 18%, transparent 82%);
  }
  --conversation-error-fg: var(--ui-danger);
  --conversation-card-border: var(--ui-border);
}
body::before, body::after, .app-sidebar::before {
  display: none;
}
body, .app-main, .workspace, .composer-section {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: var(--type-body);
}
.app-shell {
  min-height: 100svh;
  height: 100svh;
}
.app-sidebar {
  gap: 10px;
  padding: 10px 12px 12px;
  background: var(--sidebar-surface);
  border-right: none;
}
.sidebar-brand-wrap, .sidebar-footer {
  gap: 10px;
}
.sidebar-brand {
  grid-template-columns: 18px 1fr 18px;
  gap: 10px;
  padding: 10px;
}
.brand-logo {
  width: 18px;
  height: 18px;
  border: var(--border-focus) solid var(--sidebar-foreground);
  border-radius: var(--radius-input);
  background: transparent;
  box-shadow: none;
}
[data-theme="dark"] .brand-logo {
  border-color: var(--sidebar-foreground);
}
.brand-copy {
  justify-content: center;
}
.brand-name {
  font-family: var(--font-ui);
  font-size: var(--type-service-title);
  line-height: 1;
  font-weight: 600;
  color: var(--sidebar-foreground);
}
.brand-meta {
  display: none;
}
.sidebar-pin, .sidebar-collapse {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sidebar-muted);
  font-size: var(--type-micro);
}
.sidebar-pin {
  transform: none;
}
.sidebar-collapse {
  transform: rotate(-90deg);
}
body[data-sidebar-pinned="true"] .sidebar-pin {
  color: var(--sidebar-foreground);
  background: var(--sidebar-active-bg);
}
.app-sidebar .button, .workspace-topbar .button, .prompt-composer.card, .suggestion-card.card, .api-state.card {
  box-shadow: none;
  backdrop-filter: none;
}
.sidebar-primary-action, .sidebar-secondary-action, .sidebar-footer-actions .button, .theme-toggle {
  justify-content: flex-start;
  border-radius: var(--radius-input);
}
.sidebar-primary-action {
  min-height: 44px;
  padding: 12px 14px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-foreground);
  font-family: var(--font-ui);
  font-size: var(--type-ui-label);
  font-weight: 500;
  gap: 8px;
}
.sidebar-secondary-action {
  min-height: 38px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--sidebar-muted);
  font-family: var(--font-body);
  font-size: var(--type-meta);
  font-weight: 500;
  gap: 8px;
}
.sidebar-secondary-action:hover, .sidebar-footer-actions .button:hover, .theme-toggle:hover {
  background: var(--sidebar-action-hover-bg);
  transform: none;
}
.sidebar-search-slot {
  padding-bottom: 8px;
  pointer-events: none;
}
.sidebar-search-field {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 38px;
  padding-inline: 12px;
  border-radius: var(--radius-input);
  background: var(--sidebar-action-soft-bg);
  box-shadow: inset 0 0 0 var(--border-default) var(--sidebar-foreground);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: inset 0 0 0 var(--border-default) color-mix(in srgb, var(--sidebar-foreground) 10%, transparent 90%);
  }
  pointer-events: auto;
}
.sidebar-search-field:focus-within {
  background: var(--sidebar-active-bg);
  box-shadow: inset 0 0 0 var(--border-focus) var(--focus);
}
.sidebar-search-field__icon {
  position: absolute;
  left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  color: var(--sidebar-muted);
  font-size: var(--type-meta);
  pointer-events: none;
}
.sidebar-search-input {
  width: 100%;
  min-height: 38px;
  padding: 0 0 0 24px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--sidebar-foreground);
  font-family: var(--font-body);
  font-size: var(--type-meta);
  line-height: 1.4;
}
.sidebar-search-input::placeholder {
  color: var(--sidebar-muted);
}
.sidebar-search-input:focus {
  outline: none;
}
.sidebar-nav {
  padding-top: 0;
}
.sidebar-section-heading {
  display: none;
}
.nav-list {
  gap: 2px;
}
.nav-group-label {
  list-style: none;
  padding: 8px 12px 4px;
  font-family: var(--font-body);
  font-size: var(--type-micro);
  font-weight: 600;
  color: var(--sidebar-muted);
}
.nav-item {
  gap: 10px;
  min-height: 38px;
  padding: 10px 12px;
  border-radius: var(--radius-input);
  color: var(--sidebar-item-fg);
  font-family: var(--font-ui);
  font-size: var(--type-ui-label);
  font-weight: 500;
  line-height: 1.2;
  transform: none;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.nav-item--interactive {
  cursor: pointer;
}
.nav-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--sidebar-muted);
  font-size: var(--type-meta);
  flex: 0 0 18px;
}
.nav-item.is-active .nav-item__icon {
  color: currentColor;
}
.nav-item__trigger {
  min-width: 0;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}
.nav-item__trigger--static {
  cursor: default;
}
.nav-item__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-item__actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateX(4px);
  transition: opacity 160ms ease, transform 160ms ease;
}
.nav-item:hover .nav-item__actions, .nav-item:focus-within .nav-item__actions, .nav-item.is-active .nav-item__actions {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.nav-item__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--sidebar-muted);
  transition: background-color 160ms ease, color 160ms ease;
}
.nav-item__action:hover {
  background: var(--sidebar-action-soft-bg);
  color: var(--sidebar-foreground);
}
.nav-item__action--danger:hover {
  background: var(--sidebar-danger-soft-bg);
  color: var(--sidebar-danger-soft-fg);
}
.nav-item__trigger:focus-visible, .nav-item__action:focus-visible {
  outline: var(--border-focus) solid var(--focus);
  outline-offset: 2px;
}
.nav-item:hover {
  background: var(--sidebar-hover-bg);
  color: var(--sidebar-foreground);
  transform: none;
}
.nav-item.is-active {
  background: var(--sidebar-active-bg);
  color: var(--sidebar-active-fg);
  box-shadow: none;
}
.nav-item.is-active::before {
  color: currentColor;
}
.nav-item--empty, .nav-item--empty:hover {
  background: transparent;
  color: var(--sidebar-muted);
}
.nav-item--search-empty {
  align-items: flex-start;
  min-height: auto;
  white-space: normal;
}
.nav-item--search-empty .nav-item__icon {
  margin-top: 1px;
}
.nav-item__empty-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.nav-item__empty-title {
  font-family: var(--font-ui);
  font-size: var(--type-ui-label);
  font-weight: 500;
  color: var(--sidebar-foreground);
}
.nav-item__empty-hint {
  font-family: var(--font-body);
  font-size: var(--type-micro);
  line-height: 1.4;
  color: var(--sidebar-muted);
}
@media (hover: none) {
  .nav-item__actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }
}
.sidebar-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-footer-actions .button, .theme-toggle {
  min-height: 34px;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: var(--sidebar-footer-fg);
  font-family: var(--font-body);
  font-size: var(--type-meta);
  font-weight: 500;
}
.theme-toggle {
  justify-content: space-between;
}
.theme-toggle__label {
  gap: 8px;
}
.theme-toggle__state {
  font-size: var(--type-micro);
  color: var(--sidebar-muted);
}
.api-state.card {
  gap: 8px;
  max-height: 220px;
  padding: 14px;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: var(--border-default) solid var(--sidebar-card-border);
  background: var(--sidebar-card-bg);
  color: var(--sidebar-foreground);
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--motion-base, 220ms) var(--motion-ease-standard, ease), transform var(--motion-base, 220ms) var(--motion-ease, ease), max-height var(--motion-base, 220ms) var(--motion-ease, ease), padding var(--motion-base, 220ms) var(--motion-ease, ease), border-color var(--motion-base, 220ms) var(--motion-ease-standard, ease);
}
.api-state.card.is-resolved {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-color: transparent;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
}
.api-state__row {
  gap: 8px;
  align-items: flex-start;
}
.api-state__icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--warning);
}
.api-state__title {
  font-family: var(--font-ui);
  font-size: var(--type-service-title);
  font-weight: 600;
}
.api-state__desc {
  margin-top: 0;
  font-family: var(--font-body);
  font-size: var(--type-helper);
  line-height: 1.45;
  color: var(--muted);
}
.api-state .button.button--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--sidebar-card-button-bg);
  color: var(--sidebar-card-button-fg);
  font-family: var(--font-ui);
  font-size: var(--type-meta);
  font-weight: 600;
}
.workspace {
  width: min(100%, var(--workspace-max-width));
  padding: 0 0 5rem;
}
.workspace-topbar {
  position: relative;
  z-index: 30;
  min-height: var(--workspace-topbar-block-size);
  padding: 0 24px;
  background: var(--topbar-surface);
}
.workspace-topbar__left, .workspace-topbar__actions {
  gap: 12px;
}
.workspace-topbar__actions {
  max-width: 14rem;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--motion-base, 220ms) var(--motion-ease-standard, ease), transform var(--motion-base, 220ms) var(--motion-ease, ease), max-width var(--motion-base, 220ms) var(--motion-ease, ease);
}
.workspace-topbar__actions.is-resolved {
  max-width: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
}
.workspace-model-wrap {
  position: relative;
  z-index: 40;
  display: inline-flex;
  width: var(--topbar-model-width, max-content);
  min-width: 0;
  max-width: min(360px, calc(100vw - 32px));
}
.workspace-model {
  width: 100%;
  min-height: 32px;
  gap: 6px;
  border-color: var(--field-border);
  background: var(--topbar-model-bg);
  color: var(--topbar-model-fg);
}
.workspace-model-wrap.select--secondary .workspace-model.select__trigger {
  --select-trigger-bg: var(--topbar-model-bg);
  --select-trigger-bg-hover: var(--topbar-model-bg);
  @supports (color: color-mix(in lab, red, red)) {
    --select-trigger-bg-hover: color-mix(in srgb, var(--topbar-model-bg) 92%, var(--topbar-model-fg) 8%);
  }
  --select-trigger-bg-focus: var(--topbar-model-bg);
  background-color: var(--select-trigger-bg);
  border-color: var(--field-border);
  color: var(--topbar-model-fg);
}
.workspace-model-wrap.select--secondary .workspace-model.select__trigger:hover, .workspace-model-wrap.select--secondary .workspace-model.select__trigger:focus-visible, .workspace-model-wrap.select--secondary .workspace-model.select__trigger[aria-expanded="true"], .workspace-model-wrap.select--secondary .workspace-model.select__trigger[data-hovered="true"], .workspace-model-wrap.select--secondary .workspace-model.select__trigger[data-focus-visible="true"] {
  background-color: var(--select-trigger-bg-hover);
  border-color: var(--focus);
  color: var(--topbar-model-fg);
}
.workspace-model:hover, .workspace-model:focus-visible, .workspace-model[aria-expanded="true"] {
  border-color: var(--focus);
  background: var(--topbar-model-bg);
  color: var(--topbar-model-fg);
}
#topbarModelValue {
  font-family: var(--font-ui);
  font-size: var(--type-ui-label);
  font-weight: 500;
  color: var(--topbar-model-fg);
}
.workspace-model-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 80;
  display: flex;
  width: var(--topbar-model-width, max-content);
  min-width: 100%;
  max-width: min(360px, calc(100vw - 32px));
  max-height: min(360px, calc(100vh - 2rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-color: var(--border);
  background: var(--overlay);
  color: var(--foreground);
}
.workspace-model-menu[data-placement="top"] {
  top: auto;
  bottom: calc(100% + 8px);
}
.workspace-model-menu::-webkit-scrollbar {
  display: none;
}
.workspace-model-menu__empty, .workspace-model-option {
  justify-content: space-between;
  flex: 0 0 auto;
  width: 100%;
  text-align: left;
}
.workspace-model-option__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.workspace-model-option__label {
  overflow: hidden;
  font-family: var(--font-ui);
  font-size: var(--type-ui-label);
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace-model-option__meta, .workspace-model-menu__empty {
  font-family: var(--font-body);
  font-size: var(--type-helper);
  line-height: 1.45;
  color: var(--ui-text-3);
}
.workspace-model-option__check {
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-size: var(--type-helper);
  font-weight: 700;
  color: currentColor;
  opacity: 0;
}
.workspace-model-option[aria-selected="true"] .workspace-model-option__check {
  opacity: 1;
}
.workspace-topbar__actions .button {
  min-height: 32px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: var(--type-ui-label);
  font-weight: 500;
}
.workspace-topbar__actions .button--primary {
  background: var(--accent);
  color: var(--accent-foreground);
}
.hero-stage {
  min-height: calc(100svh - 56px);
  padding: 0 48px;
  gap: 28px;
  justify-content: center;
  text-align: center;
}
.hero-stage__copy {
  gap: 28px;
}
.hero-pill.chip, body[data-workspace-mode="search"] .hero-pill.chip, body[data-workspace-mode="image"] .hero-pill.chip {
  min-height: 25px;
  padding-inline: 16px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--hero-pill-bg);
  color: var(--hero-pill-fg);
}
.hero-pill .chip__label {
  font-family: var(--font-ui);
  font-size: var(--type-meta);
  font-weight: 600;
}
.hero-stage__copy h1, .hero-stage h1, body[data-workspace-mode="image"] .hero-stage__copy h1, body[data-workspace-mode="image"] .hero-stage h1, body[data-workspace-mode="search"] .hero-stage__copy h1, body[data-workspace-mode="search"] .hero-stage h1 {
  max-width: none;
  font-family: var(--font-display);
  font-size: var(--type-display);
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--foreground);
}
.hero-stage__copy h1 em, .hero-stage h1 em {
  font-style: italic;
  font-weight: 700;
}
.prompt-composer.card {
  align-items: center;
  width: min(100%, 680px);
  min-height: 52px;
  padding: 0 6px 0 20px;
  border: var(--border-emphasis) solid var(--field-border);
  border-radius: var(--radius-card);
  background: var(--prompt-bar-bg);
}
.prompt-input {
  align-self: center;
  min-height: 24px !important;
  height: 24px;
  padding-block: 0 !important;
  box-sizing: border-box;
  display: block;
  font-family: var(--font-ui);
  font-size: var(--type-input);
  font-weight: 400;
  line-height: 24px;
  color: var(--foreground);
}
.prompt-input::placeholder {
  color: var(--field-placeholder);
}
.composer-submit {
  width: var(--composer-submit-control-size);
  min-width: var(--composer-submit-control-size);
  height: var(--composer-submit-control-size);
  min-height: var(--composer-submit-control-size);
}
.button.button--primary.composer-submit {
  background: var(--composer-submit-bg);
  color: var(--accent-foreground);
}
.composer-submit__icon {
  font-size: 16px;
  transform: translateY(-0.02rem);
}
.composer-chip-row {
  width: min(100%, 680px);
  gap: 10px;
}
.composer-chip-row .button {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: var(--type-ui-label);
  font-weight: 500;
}
.composer-chip-row .button--secondary, .composer-chip-row .button--ghost {
  background: var(--composer-chip-bg);
  border: var(--border-default) solid var(--composer-chip-border);
  color: var(--composer-chip-fg);
}
.mode-chip-btn.is-active, body[data-workspace-mode="search"] #searchModeBtn.mode-chip-btn.is-active, body[data-workspace-mode="image"] #createImageModeBtn.mode-chip-btn.is-active {
  background: var(--composer-chip-active-bg);
  border-color: var(--composer-chip-active-border);
  color: var(--composer-chip-active-fg);
}
.suggestion-cards-row {
  width: min(100%, 680px);
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.suggestion-card.card {
  min-height: 39px;
  padding: 12px 16px;
  display: inline-flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  border: var(--border-default) solid #D6DDD0;
  border-radius: var(--radius-control);
  background: var(--surface);
  box-shadow: var(--suggestion-shadow);
}
.suggestion-card:hover {
  transform: none;
  border-color: var(--field-border);
  background: var(--surface);
}
.suggestion-card__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #7A9A80;
  line-height: 0;
}
.suggestion-card__icon svg {
  width: 16px;
  height: 16px;
}
.suggestion-card span {
  font-family: var(--font-ui);
  font-size: var(--type-meta);
  font-weight: 500;
  color: var(--composer-chip-fg);
}
.control-deck {
  width: min(100%, 680px);
}
@media (width < 64rem) {
  .app-shell {
    flex-direction: column;
    height: auto;
  }
  .app-sidebar {
    width: 100%;
  }
  .workspace {
    width: 100%;
  }
  .workspace-topbar, .hero-stage {
    padding-inline: 16px;
  }
  .composer-section {
    min-height: auto;
    padding-block: 32px 40px;
  }
  .hero-stage__copy {
    gap: 20px;
  }
  .hero-stage__copy h1, .hero-stage h1, body[data-workspace-mode="image"] .hero-stage__copy h1, body[data-workspace-mode="image"] .hero-stage h1, body[data-workspace-mode="search"] .hero-stage__copy h1, body[data-workspace-mode="search"] .hero-stage h1 {
    font-size: clamp(2.35rem, 10vw, 2.9rem);
    white-space: normal;
  }
  .prompt-composer.card, .composer-chip-row, .suggestion-cards-row, .control-deck, .workspace-feed {
    width: 100%;
  }
  .suggestion-cards-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .workspace-topbar__left, .workspace-topbar__actions {
    width: 100%;
    justify-content: space-between;
  }
  .composer-chip-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .composer-chip-row > * {
    width: auto !important;
  }
  .suggestion-cards-row {
    grid-template-columns: 1fr;
  }
}
:root, [data-theme="light"] {
  --panel-card-border-strong: var(--ui-border-strong);
  --settings-nav-fg: var(--ui-text-2);
  --style-card-overlay: var(--style-card-label-overlay);
}
.workspace-feed {
  margin-top: 28px;
}
.prompt-composer.card {
  background: var(--prompt-bar-bg);
}
.prompt-composer.card:focus-within {
  border-color: var(--focus);
  outline: var(--border-focus) solid var(--focus);
  outline-offset: 2px;
}
.button.button--primary.composer-submit {
  background: var(--composer-submit-bg);
}
.mode-chip-btn.is-active {
  font-weight: 500;
}
body[data-workspace-mode="search"] #searchModeBtn.mode-chip-btn.is-active, body[data-workspace-mode="image"] #createImageModeBtn.mode-chip-btn.is-active {
  background: var(--ui-accent);
  border-color: var(--ui-accent);
  color: var(--ui-text-on-accent);
}
body[data-workspace-mode="image"] .control-deck {
  gap: 16px;
}
body[data-workspace-mode="image"] .param-row {
  gap: 12px;
}
body[data-workspace-mode="image"] #imageModels, body[data-workspace-mode="image"] #size {
  min-height: 32px;
}
.style-more-row {
  width: min(100%, 680px);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.style-more-meta {
  gap: 8px;
}
.style-more-title {
  font-family: var(--font-ui);
  font-size: var(--type-meta);
  font-weight: 600;
  color: var(--foreground);
}
.style-more-subtitle {
  margin-top: 0;
  font-family: var(--font-body);
  font-size: var(--type-helper);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ui-text-3);
}
.style-showcase-row {
  gap: 8px;
}
.style-card {
  min-height: 88px;
  border-radius: var(--radius-card);
  background: var(--panel-card-bg);
  border-color: var(--field-border);
  box-shadow: none;
}
.style-card:hover {
  transform: none;
  border-color: var(--field-border);
}
.style-card--upload {
  background: var(--style-card-upload-bg);
}
.style-card__upload-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--style-card-upload-icon-bg);
  color: var(--style-card-upload-icon-fg);
  box-shadow: none;
  font-size: 14px;
}
.style-card__title {
  font-family: var(--font-ui);
  font-size: var(--type-meta);
  font-weight: 600;
  color: var(--foreground);
}
.style-card__subtitle {
  font-family: var(--font-body);
  font-size: var(--type-helper);
  line-height: 1.45;
}
.style-card__label {
  padding: 18px 8px 8px;
  background: var(--style-card-overlay);
  font-family: var(--font-ui);
  font-size: var(--type-helper);
  font-weight: 500;
}
.surface-panel.card, .result-group, .search-result-card, .search-results-empty, .conversation-turn, .history-item, #logModalBody, .link-card, .history-detail-prompt-block, .prompt-detail-block, .history-detail-image-wrapper {
  background: var(--panel-card-bg);
  border-color: var(--panel-card-border);
  box-shadow: none;
}
.surface-panel.card {
  border-radius: var(--radius-card);
}
.panel-header {
  padding: 20px 20px 16px;
  border-bottom: var(--border-default) solid var(--panel-card-border);
}
.panel-kicker {
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: var(--type-micro);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ui-text-3);
}
.panel-header h2, .config-modal-content h3 {
  font-family: var(--font-ui);
  font-size: var(--type-page-title);
  font-weight: 700;
  letter-spacing: 0;
}
.panel-body {
  padding: 16px 20px 20px;
}
.conversation-thread__model, .search-results-block__provider, .result-group-bar, .new-model, .toast code {
  min-height: 24px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--result-highlight-bg);
  color: var(--result-highlight-fg);
  font-family: var(--font-body);
  font-size: var(--type-micro);
  font-weight: 600;
}
.conversation-turn, .search-result-card, .search-results-empty, .result-group, .result-prompt-info, #logModalBody {
  border-radius: var(--radius-card);
}
.conversation-turn--assistant, .search-result-card, .search-results-empty, .result-group, .result-prompt-info, .history-item {
  background: var(--result-soft-bg);
}
.conversation-turn__role, .search-results-block__eyebrow {
  font-size: var(--type-micro);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ui-text-3);
}
.conversation-turn__content, .search-result-card__snippet {
  font-family: var(--font-body);
  color: var(--foreground);
}
.search-result-card:hover, .generated-image:hover, .history-item:hover, .page-btn:hover:not(:disabled) {
  transform: none;
  box-shadow: none;
}
.search-result-card__title {
  font-family: var(--font-ui);
  font-size: var(--type-ui-label);
  font-weight: 600;
}
.history-item {
  padding: 12px;
}
.history-image {
  border-radius: var(--radius-control);
}
.history-time, .page-info {
  font-size: var(--type-helper);
}
.config-modal-content {
  width: min(96vw, 1120px);
  max-height: min(92vh, 920px);
  padding: 24px;
  border-radius: var(--radius-board);
  background: var(--background);
  border: var(--border-default) solid var(--panel-card-border);
  box-shadow: none;
}
.modal-intro {
  max-width: 56ch;
  font-size: var(--type-helper);
  line-height: 1.45;
}
.settings-shell {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.settings-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 12px;
  border-right: var(--border-default) solid var(--panel-card-border);
}
.settings-nav__title {
  margin-bottom: 4px;
  font-family: var(--font-ui);
  font-size: var(--type-ui-label);
  font-weight: 700;
  color: var(--foreground);
}
.settings-nav__item {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: var(--border-default) solid transparent;
  border-radius: var(--radius-control);
  color: var(--settings-nav-fg);
  font-family: var(--font-body);
  font-size: var(--type-meta);
  font-weight: 500;
  text-decoration: none;
}
.settings-nav__item:hover {
  color: var(--foreground);
}
.settings-nav__item.is-active {
  background: var(--settings-nav-active-bg);
  border-color: var(--settings-nav-active-border);
  color: var(--settings-nav-active-fg);
}
.settings-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.settings-section {
  scroll-margin-top: 24px;
}
.settings-section__header {
  margin-bottom: 12px;
}
.settings-section__title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: var(--type-page-title);
  font-weight: 700;
  color: var(--foreground);
}
.settings-section__desc {
  margin: 8px 0 0;
  font-family: var(--font-body);
  font-size: var(--type-helper);
  line-height: 1.45;
  color: var(--ui-text-2);
}
.settings-provider-grid, .settings-general-grid {
  display: grid;
  gap: 12px;
}
.settings-general-grid--tight {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.settings-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: var(--settings-card-bg);
  border: var(--border-default) solid var(--settings-card-border);
}
.settings-card__title-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.settings-card__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: var(--settings-icon-fg);
  line-height: 1;
}
[data-theme="dark"] .settings-card__icon {
  color: var(--settings-icon-fg);
}
.settings-card__title {
  font-family: var(--font-ui);
  font-size: var(--type-service-title);
  font-weight: 600;
  color: var(--foreground);
}
.settings-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--settings-badge-bg);
  color: var(--settings-badge-fg);
  font-family: var(--font-body);
  font-size: var(--type-micro);
  font-weight: 600;
}
.settings-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.settings-field.textfield {
  gap: 6px;
}
.settings-field .label {
  color: var(--ui-text-2);
  font-size: var(--type-helper);
}
[data-autosize-textarea] {
  min-height: 144px;
  max-height: min(56vh, 520px);
  resize: none;
  overflow-y: auto;
  line-height: 1.6;
}
.settings-card--wide {
  grid-column: 1 / -1;
}
.config-modal-actions {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--panel-card-border);
}
@media (width < 64rem) {
  .settings-shell {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .settings-nav {
    padding-right: 0;
    padding-bottom: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--panel-card-border);
  }
}
@media (width < 64rem) {
  .config-modal-content {
    width: 100vw;
    max-width: 100vw;
    max-height: 92vh;
    max-height: 92dvh;
    padding: 20px 16px calc(16px + var(--safe-area-bottom));
    border-radius: var(--radius-board) var(--radius-board) 0 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
  }
  .settings-provider-grid, .settings-general-grid {
    gap: 10px;
  }
  .settings-general-grid--tight {
    grid-template-columns: minmax(0, 1fr);
  }
}
.workspace {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}
.composer-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: calc(100svh - var(--workspace-topbar-block-size));
  padding: 0 var(--workspace-feed-inline-padding);
  text-align: center;
}
body[data-workspace-mode="image"][data-workspace-feed="idle"] .composer-section {
  justify-content: flex-start;
  min-height: 0;
  gap: 20px;
  padding-block: clamp(2.25rem, 5vh, 3.4rem) 0.2rem;
}
.compat-control-deck {
  display: none !important;
}
.image-inline-controls, .search-inline-controls, .style-more-row, .style-showcase-row, .conversation-meta-row {
  display: none;
}
.style-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 12px;
  border: var(--border-default) solid #D6DDD0;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--foreground);
  font-family: var(--font-ui);
  font-size: var(--type-helper);
  font-weight: 500;
}
.image-inline-controls, .search-inline-controls {
  width: min(100%, 680px);
  position: relative;
  z-index: 20;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.inline-param {
  position: relative;
  display: inline-flex;
  min-width: 0;
}
.inline-param__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: var(--param-trigger-fg);
  line-height: 1;
}
.inline-param__icon svg {
  display: block;
  width: 14px;
  height: 14px;
}
.style-showcase-row {
  width: min(100%, 680px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.style-card {
  min-height: 160px;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.style-card--upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  border-width: var(--border-emphasis);
}
.style-card--image {
  position: relative;
}
.style-card--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.style-card__label {
  position: absolute;
  inset: auto 0 0;
  display: inline-flex;
  align-items: flex-end;
  min-height: 48px;
}
.image-preview-container {
  width: min(100%, 680px);
}
.conversation-meta-row {
  width: 100%;
  max-width: none;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 auto;
}
.conversation-meta-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 12px;
  border: var(--border-default) solid var(--conversation-card-border);
  border-radius: var(--radius-pill);
  background: var(--conversation-pill-bg);
  color: var(--conversation-pill-fg);
  font-family: var(--font-body);
  font-size: var(--type-helper);
  line-height: 1;
  white-space: nowrap;
}
body[data-workspace-mode="image"][data-workspace-feed="idle"] .image-inline-controls, body[data-workspace-mode="search"][data-workspace-feed="idle"] .search-inline-controls, body[data-workspace-mode="image"][data-workspace-feed="idle"] .style-more-row, body[data-workspace-mode="image"][data-workspace-feed="idle"] .style-showcase-row {
  display: flex;
}
body[data-workspace-mode="image"][data-workspace-feed="idle"] .style-showcase-row {
  display: grid;
}
body[data-workspace-mode="image"][data-workspace-feed="idle"] .image-preview-container:not(:empty) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 12px;
}
body[data-workspace-mode="search"][data-workspace-feed="idle"] .suggestion-cards-row, body[data-workspace-mode="image"][data-workspace-feed="idle"] .suggestion-cards-row {
  display: none;
}
body[data-workspace-mode="chat"][data-workspace-feed="idle"] .image-preview-container, body[data-workspace-mode="search"][data-workspace-feed="idle"] .image-preview-container, body[data-workspace-mode="chat"][data-workspace-feed="idle"] .style-more-row, body[data-workspace-mode="search"][data-workspace-feed="idle"] .style-more-row, body[data-workspace-mode="chat"][data-workspace-feed="idle"] .style-showcase-row, body[data-workspace-mode="search"][data-workspace-feed="idle"] .style-showcase-row, body[data-workspace-mode="chat"][data-workspace-feed="idle"] .search-inline-controls, body[data-workspace-mode="image"][data-workspace-feed="idle"] .search-inline-controls, body[data-workspace-mode="chat"][data-workspace-feed="idle"] .image-inline-controls, body[data-workspace-mode="search"][data-workspace-feed="idle"] .image-inline-controls {
  display: none !important;
}
.workspace-feed {
  display: none;
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 var(--workspace-feed-inline-padding) var(--workspace-feed-block-padding);
  overflow-y: auto;
}
body[data-workspace-feed="active"] .workspace-feed {
  display: flex;
  flex-direction: column;
  order: 1;
}
body[data-workspace-feed="active"] .composer-section {
  order: 2;
  flex: none;
  min-height: 0;
  padding: 0 var(--workspace-feed-inline-padding) var(--workspace-feed-block-padding);
  gap: 0;
  align-items: stretch;
  justify-content: flex-start;
  text-align: initial;
}
body[data-workspace-feed="active"] .hero-stage__copy, body[data-workspace-feed="active"] .suggestion-cards-row, body[data-workspace-feed="active"] .style-more-row, body[data-workspace-feed="active"] .style-showcase-row, body[data-workspace-feed="active"] .composer-chip-row {
  display: none !important;
}
body[data-workspace-feed="active"][data-workspace-mode="image"] .image-preview-container:not(:empty) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 128px));
  gap: var(--spacing-3);
  width: 100%;
  max-width: none;
  order: 1;
}
body[data-workspace-feed="active"][data-workspace-mode="chat"] .image-preview-container, body[data-workspace-feed="active"][data-workspace-mode="search"] .image-preview-container {
  display: none !important;
}
body[data-workspace-feed="active"][data-workspace-mode="image"] .conversation-meta-row {
  display: flex;
  order: 1;
}
body[data-workspace-feed="active"] .prompt-composer.card {
  position: fixed;
  right: var(--workspace-feed-inline-padding);
  bottom: calc(var(--spacing, 0.25rem) * 3 + var(--safe-area-bottom));
  left: var(--workspace-feed-inline-padding);
  z-index: var(--active-composer-z-index);
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto) var(--composer-submit-control-size);
  grid-template-areas: "input input input" "spacer model submit";
  width: auto;
  max-width: none;
  min-height: 128px;
  margin: 0 auto;
  padding: 20px 20px 16px;
  border: var(--border-default) solid var(--field-border);
  border-radius: var(--radius-board);
  background: var(--prompt-bar-bg);
  box-shadow: 0 18px 44px rgba(17, 32, 22, 0.1);
  transform: none;
  overflow: visible;
}
body[data-workspace-feed="active"] .prompt-composer.card.has-image-preview {
  grid-template-areas: "preview preview preview" "input input input" "spacer model submit";
  row-gap: 12px;
}
body[data-workspace-feed="active"] .prompt-composer.card .workspace-model-wrap {
  grid-area: model;
  align-self: center;
  justify-self: end;
  width: min(var(--topbar-model-width, max-content), var(--composer-model-control-max-inline-size), calc(100vw - var(--composer-model-viewport-reserve-inline-size)));
  max-width: 100%;
  z-index: 1300;
}
body[data-workspace-feed="active"] .prompt-composer.card .workspace-model {
  min-height: 32px;
  padding-inline: 8px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}
body[data-workspace-feed="active"] .prompt-composer.card .workspace-model:hover, body[data-workspace-feed="active"] .prompt-composer.card .workspace-model:focus-visible, body[data-workspace-feed="active"] .prompt-composer.card .workspace-model[aria-expanded="true"] {
  border-color: transparent;
  background: var(--default);
  color: var(--foreground);
}
body[data-workspace-feed="active"] .prompt-composer.card .workspace-model-menu {
  z-index: 1300;
}
body[data-workspace-feed="active"] .prompt-input {
  align-self: start;
  min-height: 48px !important;
  height: auto;
  width: 100%;
  min-width: 0;
  padding: 0 !important;
  line-height: 1.5;
  background: transparent !important;
}
body[data-workspace-feed="active"] .composer-submit {
  align-self: center;
  justify-self: end;
}
[data-theme="dark"] body[data-workspace-feed="active"] .prompt-composer.card {
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
}
@media (width >= 64rem) {
  body[data-workspace-feed="active"] .workspace {
    padding-bottom: calc(var(--active-composer-offset, var(--active-composer-min-block-size)) + var(--workspace-feed-block-padding));
  }
  body[data-sidebar-pinned="true"][data-workspace-feed="active"] .prompt-composer.card {
    left: calc(var(--app-sidebar-width) + var(--workspace-feed-inline-padding));
  }
  body:not([data-sidebar-pinned="true"])[data-workspace-feed="active"] .prompt-composer.card {
    left: calc(var(--desktop-sidebar-rail-width) + var(--workspace-feed-inline-padding));
  }
  body[data-workspace-feed="active"] .prompt-input {
    max-height: var(--desktop-composer-input-max-block-size);
    overflow-y: auto;
  }
}
#resultImages.gallery-grid {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}
@media (width >= 64rem) {
  body:not([data-sidebar-pinned="true"]) #resultImages.gallery-grid, body:not([data-sidebar-pinned="true"]) #loading.show {
    width: calc(100% - var(--desktop-sidebar-rail-width));
    margin-left: var(--desktop-sidebar-rail-width);
  }
}
#loading {
  display: none;
}
#loading.show {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: none;
  margin: 0 auto 16px;
  padding: 12px 16px;
  border: var(--border-default) solid var(--panel-card-border);
  border-radius: var(--radius-card);
  background: var(--panel-card-bg);
}
.conversation-thread {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#resultImages .search-results-block, #resultImages .result-group, #resultImages .history-empty, .conversation-meta-row {
  width: 100%;
  max-width: none;
}
#resultImages .result-group {
  border-color: transparent;
  box-shadow: 0 0 0 var(--border-default) var(--panel-card-border), 0 18px 42px rgba(17, 32, 22, 0.08);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 var(--border-default) color-mix(in srgb, var(--panel-card-border) 64%, transparent 36%), 0 18px 42px rgba(17, 32, 22, 0.08);
  }
}
[data-theme="dark"] #resultImages .result-group {
  box-shadow: 0 0 0 var(--border-default) var(--panel-card-border), 0 18px 46px rgba(0, 0, 0, 0.26);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 var(--border-default) color-mix(in srgb, var(--panel-card-border) 76%, transparent 24%), 0 18px 46px rgba(0, 0, 0, 0.26);
  }
}
.conversation-thread__header {
  display: none;
}
.conversation-turn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.conversation-turn--assistant {
  justify-content: flex-start;
}
.conversation-turn--user {
  justify-content: flex-end;
}
.conversation-turn__role {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: transparent;
}
.conversation-turn--assistant .conversation-turn__role {
  background: var(--conversation-avatar-bg);
}
.conversation-turn--assistant .conversation-turn__role::before {
  content: "";
  color: #4A6B52;
  font-size: 14px;
  line-height: 1;
}
.conversation-turn--user .conversation-turn__role {
  display: none;
}
.conversation-turn__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.conversation-turn--assistant .conversation-turn__body {
  margin-right: auto;
  max-width: var(--conversation-assistant-max-inline);
  padding: 12px 16px;
  border: var(--border-default) solid var(--conversation-card-border);
  border-radius: var(--radius-card);
  background: var(--conversation-assistant-bg);
}
.conversation-turn--user .conversation-turn__body {
  margin-left: auto;
  max-width: var(--conversation-user-max-inline);
  padding: 12px 16px;
  border-radius: var(--radius-card);
  background: var(--conversation-user-bg);
}
.conversation-turn__content {
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: 1.5;
}
.conversation-tool-status, .conversation-error-card {
  padding: 10px 12px;
  border-radius: var(--radius-card);
  background: var(--conversation-status-bg);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: var(--type-meta);
  line-height: 1.45;
}
.conversation-tool-status--pending, .conversation-tool-status--streaming {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  min-height: 1.5rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.conversation-tool-status__spinner {
  width: 1rem;
  height: 1rem;
  border-width: 2px;
}
.conversation-error-card {
  background: var(--conversation-error-bg);
  color: var(--conversation-error-fg);
}
.conversation-image-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.conversation-image-block__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--conversation-pill-bg);
  color: var(--conversation-pill-fg);
  font-family: var(--font-body);
  font-size: var(--type-micro);
  font-weight: 600;
}
.conversation-image-block__meta {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding-left: 8px;
  border-left: var(--border-default) solid currentColor;
  @supports (color: color-mix(in lab, red, red)) {
    border-left: var(--border-default) solid color-mix(in srgb, currentColor 24%, transparent 76%);
  }
  font-weight: 500;
  opacity: 0.88;
}
.conversation-image-block .image-grid-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.conversation-image-block .image-grid-container[data-compact="true"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.conversation-image-block .result-image-cell, .result-group .result-image-cell {
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--panel-card-bg);
}
.result-image-cell .generated-image {
  display: block;
  width: 100%;
  height: auto;
}
.conversation-prompt-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.conversation-prompt-meta__label, .conversation-prompt-meta > .conversation-turn__content {
  display: none;
}
.conversation-prompt-meta__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.conversation-prompt-meta__badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--panel-card-bg);
  border: var(--border-default) solid var(--conversation-card-border);
  color: #4A6B52;
  font-family: var(--font-body);
  font-size: var(--type-micro);
  font-weight: 500;
}
.conversation-search-results {
  background: transparent;
  padding: 0;
}
.search-results-block__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.search-results-block__header h3 {
  margin: 4px 0 0;
  font-family: var(--font-ui);
  font-size: var(--type-section-title);
  font-weight: 700;
  line-height: 1.3;
}
.search-results-list {
  display: grid;
  gap: 12px;
}
.search-result-card, .search-results-empty, .result-group, .result-prompt-info {
  padding: 14px 16px;
  border: var(--border-default) solid var(--panel-card-border);
  border-radius: var(--radius-card);
  background: var(--panel-card-bg);
}
.search-result-card__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  color: var(--ui-text-3);
  font-size: var(--type-helper);
}
.result-group {
  width: 100%;
  max-width: none;
  margin: 0 auto 16px;
}
.result-group-header {
  margin-bottom: 12px;
}
.result-group-bar {
  display: inline-flex;
  align-items: center;
}
.history-empty {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 16px;
  border-radius: var(--radius-card);
  background: var(--panel-card-bg);
  border: var(--border-default) solid var(--panel-card-border);
}
#configModal {
  position: fixed;
  inset: 0 0 0 var(--app-sidebar-width);
  z-index: 80;
  background: var(--ui-app-bg);
}
#configModal.hidden {
  display: none;
}
.config-modal-backdrop, #configModal .modal__header .panel-kicker, #configModal .modal-intro {
  display: none;
}
.log-modal-content {
  width: min(920px, calc(100vw - 48px));
  max-height: min(82vh, 760px);
  padding: 0;
  border-radius: var(--radius-board);
  background: var(--overlay);
  border: var(--border-default) solid var(--panel-card-border);
  box-shadow: var(--overlay-shadow);
  overflow: hidden;
}
.log-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 16px;
  border-bottom: var(--border-default) solid var(--panel-card-border);
}
.log-modal-header__copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.log-modal-header__copy > span:last-child {
  font-family: var(--font-ui);
  font-size: var(--type-page-title);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ui-text-1);
}
.log-modal-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.log-modal-header__actions .button {
  min-height: 36px;
  border-radius: var(--radius-pill);
}
.log-modal-body {
  margin-top: 0;
  padding: 16px 20px 20px;
}
.config-modal-content {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--ui-app-bg);
  box-shadow: none;
}
.settings-shell {
  height: 100%;
  margin-top: 0;
  gap: 0;
}
.settings-nav {
  gap: 4px;
  padding: 24px 16px;
  border-right: 1px solid var(--panel-card-border);
}
.settings-content {
  gap: 24px;
  padding: 32px 40px 24px;
  overflow-y: auto;
}
.settings-section:first-child {
  padding-top: 0;
}
.settings-section__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.settings-section__desc {
  max-width: 60ch;
}
.settings-provider-grid, .settings-general-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.settings-card {
  border-radius: var(--radius-card);
  background: var(--settings-card-bg);
}
.settings-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.settings-card .api-key-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.settings-card #getApiKeyBtn {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--radius-card);
}
.config-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 0;
  padding: 16px 40px 24px;
  border-top: var(--border-default) solid var(--panel-card-border);
  background: var(--ui-app-bg);
}
.config-modal-actions .button {
  min-height: 40px;
  border-radius: var(--radius-card);
  padding-inline: 18px;
}
@media (width < 64rem) {
  .workspace-topbar, .workspace-feed {
    padding-inline: calc(var(--spacing, 0.25rem) * 4);
  }
  .composer-section {
    padding-inline: calc(var(--spacing, 0.25rem) * 4);
  }
  body[data-workspace-mode="image"][data-workspace-feed="idle"] .style-showcase-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    width: 100vw;
    max-width: none;
    margin-inline: calc(50% - 50vw);
    padding-inline: calc(var(--spacing, 0.25rem) * 4);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: calc(var(--spacing, 0.25rem) * 4);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  body[data-workspace-mode="image"][data-workspace-feed="idle"] .style-showcase-row > .style-card {
    --style-flow-card-width: clamp(8.75rem, 42vw, 10.5rem);
    --style-flow-card-height: clamp(10rem, 42vw, 12rem);
    width: var(--style-flow-card-width);
    min-width: var(--style-flow-card-width);
    height: var(--style-flow-card-height);
    min-height: var(--style-flow-card-height);
    flex: 0 0 var(--style-flow-card-width);
    border-width: 0;
    border-color: transparent;
    box-shadow: none;
    scroll-snap-align: start;
  }
  body[data-workspace-mode="image"][data-workspace-feed="idle"] .style-showcase-row > .style-card--image {
    background: transparent;
  }
  body[data-workspace-mode="image"][data-workspace-feed="idle"] .style-showcase-row > .style-card:nth-child(3n + 2) {
    --style-flow-card-width: clamp(9.5rem, 46vw, 11.5rem);
  }
  body[data-workspace-mode="image"][data-workspace-feed="idle"] .style-showcase-row > .style-card:nth-child(3n + 3) {
    --style-flow-card-width: clamp(8.25rem, 39vw, 9.75rem);
  }
  body[data-workspace-mode="image"][data-workspace-feed="idle"] .style-showcase-row::-webkit-scrollbar {
    display: none;
  }
  body[data-workspace-mode="image"][data-workspace-feed="idle"] .style-more-row {
    width: 100vw;
    max-width: none;
    margin-inline: calc(50% - 50vw);
    padding-inline: calc(var(--spacing, 0.25rem) * 4);
  }
  .workspace-feed, .conversation-thread, #resultImages.gallery-grid, body[data-workspace-feed="active"] .prompt-composer.card, .conversation-meta-row {
    width: 100%;
  }
  .log-modal-header, .log-modal-body {
    padding-inline: 16px;
  }
  #configModal {
    inset: 0;
  }
  .settings-shell {
    grid-template-columns: 1fr;
  }
  .settings-nav {
    border-right: 0;
    border-bottom: 1px solid var(--panel-card-border);
  }
  .settings-content, .config-modal-actions {
    padding-inline: 16px;
  }
}
@media (max-width: 640px) {
  .app-shell {
    height: auto;
    min-height: 100svh;
  }
  .style-showcase-row {
    grid-template-columns: 1fr 1fr;
  }
  .conversation-image-block .image-grid-container, .conversation-image-block .image-grid-container[data-compact="true"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .conversation-turn--assistant .conversation-turn__body, .conversation-turn--user .conversation-turn__body {
    max-width: calc(100vw - 64px);
  }
}
.sidebar-search-field .sidebar-search-input.input {
  height: 38px;
  min-height: 38px;
  padding: 0 0 0 24px;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--sidebar-foreground);
  box-shadow: none;
}
.sidebar-search-field .sidebar-search-input.input:hover, .sidebar-search-field .sidebar-search-input.input:focus {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.suggestion-card.button, .style-card.button, .nav-item__trigger.button {
  height: auto;
  transform-origin: center;
}
.suggestion-card.button {
  width: 100%;
  min-height: 34px;
  display: inline-flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  border: var(--border-default) solid var(--panel-card-border);
  border-radius: var(--radius-control);
  background: var(--panel-card-bg);
  color: var(--ui-text-2);
  box-shadow: var(--suggestion-shadow);
}
.suggestion-card.button:hover, .suggestion-card.button:focus-visible {
  background: var(--panel-card-muted-bg);
  border-color: var(--surface-outline-strong);
  color: var(--ui-text-1);
}
.style-card.button {
  width: 100%;
  min-width: 0;
  min-height: 160px;
  padding: 0;
  border: var(--border-default) solid var(--panel-card-border);
  border-radius: var(--radius-card);
  background: var(--panel-card-bg);
  color: var(--foreground);
  box-shadow: none;
  white-space: normal;
}
.style-card.button:hover, .style-card.button:focus-visible {
  border-color: var(--surface-outline-strong);
  background: var(--panel-card-bg);
}
.style-card--upload.button {
  padding: 12px;
  border-width: var(--border-emphasis);
  background: var(--style-card-upload-bg);
}
.nav-item__trigger.button {
  width: 100%;
  min-height: 28px;
  justify-content: flex-start;
  padding: 0;
  border-radius: var(--radius-control);
  background: transparent;
  color: inherit;
  box-shadow: none;
}
.nav-item__trigger.button:hover, .nav-item__trigger.button:focus-visible {
  background: transparent;
  color: inherit;
}
.nav-item__action.button {
  width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  border-radius: var(--radius-pill);
  color: var(--sidebar-muted);
}
.nav-item__action.button:hover, .nav-item__action.button:focus-visible {
  color: var(--sidebar-foreground);
}
.delete-image-btn.button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: color-mix(in srgb, black 58%, transparent 42%);
  color: white;
}
.delete-image-btn.button:hover, .delete-image-btn.button:focus-visible {
  background: color-mix(in srgb, black 76%, transparent 24%);
}
.page-btn.button {
  min-height: 36px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}
.inline-param {
  position: relative;
}
[data-inline-select-source][aria-hidden="true"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}
.image-select.select {
  position: static;
  min-width: 0;
  flex-direction: column;
  flex: 0 0 auto;
}
.image-select__trigger.select__trigger {
  width: 100%;
  min-height: 30px;
  align-items: center;
  gap: 6px;
  padding-block: 6px;
  font-size: var(--type-helper);
}
.image-select__value.select__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.image-select__menu.select__popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 70;
  width: 100%;
  min-width: 100%;
  max-height: min(320px, 54vh);
}
.image-select__menu[hidden] {
  display: none;
}
#image-model-param-group .image-select, #size-param-group .image-select, #geminiResolutionGroup .image-select {
  min-width: 0;
}
#image-model-param-group, #size-param-group, #geminiResolutionGroup {
  min-width: 0;
}
select[data-select-source][aria-hidden="true"] {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}
#configModal.settings-page .select {
  position: relative;
  width: 100%;
  min-width: 0;
}
#configModal.settings-page .select__trigger {
  width: 100%;
}
.select__popover[data-select-owner] {
  position: fixed;
  top: var(--select-popover-top, auto);
  left: var(--select-popover-left, auto);
  z-index: 180;
  width: var(--trigger-width, max-content);
  min-width: var(--trigger-width, 0);
  max-width: calc(100vw - 24px);
  max-height: min(360px, 56vh);
}
.select__popover[data-select-owner][hidden] {
  display: none;
}
.select__popover[data-select-owner] .list-box, .select__popover[data-select-owner] .list-box-item {
  width: 100%;
  min-width: 0;
}
.select__popover[data-select-owner] .list-box-item [data-slot="label"] {
  min-width: 0;
  width: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.list-box-item[aria-selected="true"], .list-box-item[data-selected="true"] {
  background-color: var(--color-accent-soft);
  color: var(--color-accent-soft-foreground);
}
.list-box-item[aria-selected="true"]:hover, .list-box-item[aria-selected="true"]:focus-visible, .list-box-item[aria-selected="true"][data-hovered="true"], .list-box-item[data-selected="true"]:hover, .list-box-item[data-selected="true"]:focus-visible, .list-box-item[data-selected="true"][data-hovered="true"] {
  background-color: var(--color-accent-soft-hover);
  color: var(--color-accent-soft-foreground);
}
.list-box-item[aria-selected="true"] [data-slot="label"], .list-box-item[aria-selected="true"] [data-slot="description"], .list-box-item[aria-selected="true"] .workspace-model-option__label, .list-box-item[aria-selected="true"] .workspace-model-option__meta, .list-box-item[data-selected="true"] [data-slot="label"], .list-box-item[data-selected="true"] [data-slot="description"], .list-box-item[data-selected="true"] .workspace-model-option__label, .list-box-item[data-selected="true"] .workspace-model-option__meta {
  color: currentColor;
}
.list-box-item[aria-selected="true"] .list-box-item__indicator, .list-box-item[data-selected="true"] .list-box-item__indicator {
  color: currentColor;
  opacity: 1;
}
.image-select__option.list-box-item:not([aria-selected="true"]) .list-box-item__indicator, .select__popover[data-select-owner] .list-box-item:not([aria-selected="true"]) .list-box-item__indicator {
  opacity: 0;
}
#configModal.settings-page {
  inset: 0 0 0 var(--app-sidebar-width);
  background: var(--ui-app-bg);
}
@media (width >= 64rem) {
  body:not([data-sidebar-pinned="true"]) #configModal.settings-page {
    inset: 0 0 0 var(--desktop-sidebar-rail-width);
  }
}
#configModal.settings-page .config-modal-backdrop {
  display: none;
}
#configModal.settings-page .settings-page__container {
  width: 100%;
  height: 100%;
  display: flex;
}
#configModal.settings-page .config-modal-content {
  position: relative;
  inset: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--ui-app-bg);
  box-shadow: none;
}
#configModal.settings-page .config-modal-content .settings-page__bar {
  display: flex;
  align-items: center;
  height: var(--settings-page-bar-block-size);
  min-height: var(--settings-page-bar-block-size);
  padding: 0 var(--settings-page-inline-padding);
  border-bottom: var(--border-default) solid var(--settings-nav-border);
  background: var(--ui-app-bg);
}
.settings-back-btn.button {
  min-height: var(--settings-compact-control-block-size);
  gap: var(--settings-control-gap);
  border-radius: var(--radius-card);
}
#configModal.settings-page .settings-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  flex: 1;
  height: auto;
  min-height: 0;
  margin: 0;
  gap: 0;
  overflow: hidden;
}
#configModal.settings-page .settings-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: var(--settings-control-gap);
  height: auto;
  padding: var(--settings-nav-padding-inline) var(--settings-page-inline-padding);
  border-right: 0;
  border-bottom: var(--border-default) solid var(--settings-nav-border);
  background: var(--settings-nav-bg);
}
#configModal.settings-page .settings-nav__title {
  display: none;
}
#configModal.settings-page .settings-nav__item {
  justify-content: center;
  min-height: var(--settings-control-block-size);
  padding: var(--settings-control-padding);
  gap: var(--settings-control-gap);
  border-radius: var(--radius-card);
  border: var(--border-default) solid transparent;
  font-size: var(--type-meta);
  color: var(--settings-nav-fg);
  text-align: center;
}
#configModal.settings-page .settings-nav__item.is-active {
  background: var(--settings-nav-active-bg);
  border-color: var(--settings-nav-active-border);
  color: var(--settings-nav-active-fg);
  font-weight: 500;
}
#configModal.settings-page .settings-nav__item [data-lucide-icon] {
  width: var(--settings-icon-size);
  height: var(--settings-icon-size);
  flex: 0 0 var(--settings-icon-size);
  color: currentColor;
}
#configModal.settings-page .settings-content {
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  padding: var(--settings-page-block-padding) var(--settings-page-inline-padding) var(--settings-section-gap);
  background: var(--ui-app-bg);
}
#configModal.settings-page[data-settings-view="keys"] #settingsSectionGeneral, #configModal.settings-page[data-settings-view="general"] #settingsSectionKeys {
  display: none;
}
#configModal.settings-page .settings-section__header {
  margin-bottom: var(--settings-section-gap);
}
#configModal.settings-page .settings-section__title {
  font-family: var(--font-ui);
  font-size: var(--type-page-title);
  font-weight: 700;
  color: var(--foreground);
}
#configModal.settings-page .settings-section__desc {
  margin-top: var(--settings-control-gap);
  max-width: 64ch;
  font-size: var(--type-meta);
  color: var(--ui-text-2);
}
#configModal.settings-page .settings-provider-grid, #configModal.settings-page .settings-general-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(0.75rem, 1.4vw, 1rem);
}
#configModal.settings-page .settings-card {
  border-radius: var(--radius-card);
  border: var(--border-default) solid var(--settings-card-border);
  background: var(--settings-card-bg);
  box-shadow: none;
}
#configModal.settings-page .settings-key-card {
  gap: 10px;
  padding: 14px;
}
#configModal.settings-page .settings-key-card .settings-card__title-row {
  gap: 8px;
}
#configModal.settings-page .settings-key-card .settings-card__icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}
#configModal.settings-page .settings-key-card .settings-card__title {
  font-size: 0.9375rem;
}
#configModal.settings-page .settings-key-card .settings-card__badge {
  min-height: 20px;
  padding: 3px 9px;
  font-size: var(--type-micro);
}
#configModal.settings-page .settings-key-card .api-key-row {
  display: block;
}
#configModal.settings-page .settings-key-card .tavily-api-key-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--settings-control-gap);
  align-items: center;
}
#configModal.settings-page .tavily-key-link.button {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: var(--radius-card);
  white-space: nowrap;
}
#configModal.settings-page .settings-key-card .input[data-slot="input"], #configModal.settings-page .settings-key-card [data-slot="select-trigger"] {
  min-height: 40px;
  padding: 10px 12px;
}
#configModal.settings-page .settings-card__badge {
  border-radius: var(--radius-card);
  background: var(--settings-nav-active-bg);
  color: var(--settings-nav-active-fg);
}
#configModal.settings-page .input[data-slot="input"], #configModal.settings-page .textarea[data-slot="textarea"], #configModal.settings-page [data-slot="select-trigger"] {
  min-height: var(--settings-control-block-size);
  border-radius: var(--radius-card);
}
#configModal.settings-page [data-autosize-textarea] {
  min-height: 144px;
  max-height: min(56vh, 520px);
}
#configModal.settings-page .settings-switch {
  min-height: var(--settings-control-block-size);
  font-family: var(--font-ui);
}
#configModal.settings-page .settings-switch .switch__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
#configModal.settings-page .settings-switch .switch__input:focus-visible + .switch__control {
  outline: var(--border-focus) solid var(--focus);
  outline-offset: 2px;
}
#configModal.settings-page .settings-switch .switch__label {
  color: var(--ui-text-1);
  font-size: var(--type-meta);
}
.settings-theme-control.toggle-button-group {
  width: 100%;
}
.settings-theme-control .toggle-button {
  flex: 1;
  min-height: var(--settings-theme-control-block-size);
}
#configModal.settings-page .config-modal-actions {
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 0;
  background: transparent;
}
#configModal.settings-page #configCancelBtn {
  display: none;
}
#configModal.settings-page #configSaveBtn {
  min-height: var(--settings-control-block-size);
  padding-inline: var(--settings-page-inline-padding);
  border-radius: var(--radius-card);
}
@media (width < 64rem) {
  #configModal.settings-page {
    inset: 0;
  }
  #configModal.settings-page .settings-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    height: auto;
  }
  #configModal.settings-page .settings-nav {
    height: auto;
    border-right: 0;
    border-bottom: var(--border-default) solid var(--settings-nav-border);
  }
  #configModal.settings-page .settings-content {
    padding-inline: 16px;
  }
}
@media (max-width: 640px) {
  #configModal.settings-page .settings-section__header {
    display: block;
  }
  #configModal.settings-page .settings-section__header #getApiKeyBtn {
    margin-top: 12px;
  }
}
.lucide, [data-lucide-icon] > svg {
  display: block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}
.lucide--ui {
  width: 1em;
  height: 1em;
}
.lucide--chevron {
  width: 1em;
  height: 1em;
  margin: auto;
  align-self: center;
  justify-self: center;
  pointer-events: none;
}
.style-more-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.workspace-model::before, .workspace-model::after {
  display: none;
  content: none;
}
.workspace-model__icon {
  display: inline-flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--topbar-model-icon);
}
.workspace-model-menu:not([hidden]) {
  animation: select-popover-in 150ms var(--ease-smooth) both;
}
.suggestion-card .suggestion-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #7A9A80;
  line-height: 0;
}
.suggestion-card .suggestion-card__label {
  min-width: 0;
  flex: 0 1 auto;
  color: var(--composer-chip-fg);
  text-align: left;
  white-space: nowrap;
}
.prompt-composer.card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--composer-submit-control-size);
  grid-template-areas: "input submit";
  align-items: center;
  column-gap: 12px;
  row-gap: 0;
  padding: 0 6px 0 20px;
}
.prompt-composer.card.has-image-preview {
  grid-template-areas: "preview submit" "input submit";
  row-gap: 8px;
  padding: 8px 8px 8px 20px;
}
.prompt-composer.card .image-preview-container {
  grid-area: preview;
  display: none;
  width: 100%;
  max-width: none;
  justify-self: start;
}
.prompt-composer.card.has-image-preview .image-preview-container:not(:empty) {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  order: initial;
}
.prompt-composer.card .image-preview-item {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 12px;
}
.prompt-composer.card .image-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prompt-composer.card .image-preview-badge {
  top: 4px;
  left: 4px;
  padding: 2px 5px;
  font-size: 9px;
}
.prompt-composer.card .delete-image-btn.button {
  top: 4px;
  right: 4px;
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  border-radius: var(--radius-pill);
  font-size: 12px;
}
.prompt-composer.card .prompt-input {
  grid-area: input;
  width: 100%;
}
.prompt-composer.card .composer-submit {
  grid-area: submit;
  align-self: center;
}
.prompt-composer.card.has-image-preview .composer-submit {
  align-self: end;
}
.search-result-card__meta > span, .result-group-bar, .conversation-image-block__title, .conversation-image-block__meta {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.result-group-header {
  min-width: 0;
  flex-wrap: wrap;
}
.result-group-bar {
  white-space: normal;
}
.conversation-image-block__title {
  width: auto;
  flex-wrap: wrap;
}
@media (width >= 64rem) {
  .mobile-sidebar-toggle, .sidebar-collapse {
    display: none;
  }
  .sidebar-pin {
    display: inline-flex;
  }
  body[data-sidebar-pinned="true"] .app-sidebar {
    position: relative;
    z-index: 1;
    width: var(--app-sidebar-width);
    flex: 0 0 var(--app-sidebar-width);
    height: 100svh;
    overflow-y: auto;
    transform: none;
    box-shadow: none;
  }
  body:not([data-sidebar-pinned="true"]) .app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1260;
    width: var(--desktop-sidebar-rail-width);
    height: 100svh;
    padding: 10px 8px 12px;
    overflow: hidden;
    border-right: var(--border-default) solid var(--sidebar-foreground);
    @supports (color: color-mix(in lab, red, red)) {
      border-right: var(--border-default) solid color-mix(in srgb, var(--sidebar-foreground) 8%, transparent 92%);
    }
    box-shadow: 16px 0 38px rgba(8, 16, 12, 0.08);
    transition: width var(--motion-base, 220ms) var(--motion-ease, ease), padding var(--motion-base, 220ms) var(--motion-ease, ease), box-shadow var(--motion-base, 220ms) var(--motion-ease-standard, ease);
  }
  body:not([data-sidebar-pinned="true"]) .app-sidebar:hover, body:not([data-sidebar-pinned="true"]) .app-sidebar:focus-within {
    width: var(--app-sidebar-width);
    padding: 10px 12px 12px;
    overflow-y: auto;
    box-shadow: 22px 0 48px rgba(8, 16, 12, 0.16);
  }
  body:not([data-sidebar-pinned="true"]) .app-main {
    width: 100%;
    flex: 1 1 auto;
  }
  body:not([data-sidebar-pinned="true"]) .workspace-topbar {
    padding-inline-start: calc(var(--desktop-sidebar-rail-width) + var(--desktop-sidebar-rail-gap));
  }
  body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .sidebar-brand {
    grid-template-columns: 18px;
    justify-content: center;
    gap: 0;
    padding-inline: 0;
  }
  body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .sidebar-nav {
    padding: 0;
    overflow-y: auto;
    scrollbar-width: none;
  }
  body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .sidebar-nav::-webkit-scrollbar {
    display: none;
  }
  body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .sidebar-nav[data-empty="true"] {
    overflow: hidden;
    pointer-events: none;
  }
  body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .sidebar-nav[data-empty="true"] .nav-list {
    display: none;
  }
  body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .sidebar-brand-wrap, body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .sidebar-footer-actions, body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .nav-list {
    align-items: center;
  }
  body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .brand-copy, body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .sidebar-search-slot, body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .sidebar-section-heading, body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .nav-item__label, body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .nav-item__empty-copy, body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .nav-item__actions, body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .api-state.card, body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .sidebar-pin, body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .nav-item--empty, body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .theme-toggle__state, body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .sidebar-primary-action span:not([data-lucide-icon]), body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .sidebar-footer-actions .button:not(.theme-toggle) > span:not([data-lucide-icon]), body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .theme-toggle__label > span:not([data-lucide-icon]) {
    display: none;
  }
  body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .sidebar-primary-action, body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .sidebar-footer-actions .button, body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .theme-toggle, body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .nav-item {
    width: 44px;
    min-width: 44px;
    justify-content: center;
    padding-inline: 0;
  }
  body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .nav-item__trigger {
    flex: 0 0 auto;
    width: 100%;
    justify-content: center;
  }
  body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .theme-toggle__label {
    justify-content: center;
  }
  body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .sidebar-footer {
    gap: 0;
    align-items: center;
  }
  body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .sidebar-footer > :not(.sidebar-footer-actions) {
    display: none !important;
  }
  body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .sidebar-footer-actions {
    gap: 6px;
  }
  body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .sidebar-footer-actions .button, body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .theme-toggle {
    height: 44px;
    min-height: 44px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .api-state.card, body:not([data-sidebar-pinned="true"]) .app-sidebar:not(:hover):not(:focus-within) .nav-item--empty {
    display: none !important;
  }
}
@media (width < 64rem) {
  html, body {
    min-width: 0;
    overflow-x: hidden;
  }
  body[data-mobile-sidebar-open="true"] {
    overflow: hidden;
  }
  body[data-mobile-sidebar-open="true"]::before {
    display: none;
  }
  body[data-mobile-sidebar-open="true"] .app-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1270;
    background: rgba(8, 16, 12, 0.42);
    pointer-events: auto;
  }
  .app-shell, .app-main, .workspace {
    min-height: 100dvh;
    height: auto;
  }
  .app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1280;
    display: flex;
    width: min(82vw, 320px);
    max-width: 320px;
    height: 100dvh;
    padding-bottom: calc(12px + var(--safe-area-bottom));
    transform: translateX(calc(-100% - 16px));
    transition: transform var(--motion-base, 220ms) var(--motion-ease, ease);
    box-shadow: 22px 0 42px rgba(8, 16, 12, 0.2);
  }
  .sidebar-pin, .sidebar-collapse {
    display: none;
  }
  body[data-mobile-sidebar-open="true"] .app-sidebar {
    transform: translateX(0);
  }
  .app-main {
    overflow: visible;
  }
  .workspace {
    width: 100%;
    padding: calc(var(--mobile-floating-topbar-offset) + var(--spacing, 0.25rem) * 4) calc(var(--spacing, 0.25rem) * 4) var(--mobile-idle-block-end-padding);
  }
  body[data-workspace-feed="active"] .workspace-feed {
    padding: 8px 0 0;
    overflow: visible;
  }
  body[data-workspace-feed="active"] .workspace {
    padding-bottom: calc(var(--active-composer-offset, var(--mobile-active-composer-min-block-size)) + var(--spacing, 0.25rem) * 4 + var(--safe-area-bottom));
  }
  body[data-workspace-feed="active"] .prompt-composer.card {
    right: var(--mobile-floating-inline-inset);
    bottom: calc(var(--spacing, 0.25rem) * 2.5 + var(--safe-area-bottom));
    left: var(--mobile-floating-inline-inset);
    grid-template-columns: minmax(0, 1fr) var(--composer-submit-control-size);
    grid-template-areas: "input input" "spacer submit";
    width: auto;
    max-width: none;
    min-height: var(--mobile-active-composer-min-block-size);
    padding: calc(var(--spacing, 0.25rem) * 3) calc(var(--spacing, 0.25rem) * 3) calc(var(--spacing, 0.25rem) * 2.5);
    box-shadow: var(--mobile-floating-surface-shadow);
  }
  body[data-workspace-feed="active"] .prompt-composer.card.has-image-preview {
    grid-template-areas: "preview preview" "input input" "spacer submit";
  }
  body[data-workspace-feed="active"] .prompt-input {
    min-height: calc(var(--spacing, 0.25rem) * 8) !important;
    max-height: var(--mobile-composer-input-max-block-size);
    overflow-y: auto;
  }
  .workspace-topbar {
    position: fixed;
    inset-block-start: var(--safe-area-top);
    inset-inline: 0;
    z-index: var(--mobile-topbar-z-index);
    display: grid;
    grid-template-columns: minmax(var(--mobile-topbar-control-size), 1fr) minmax(0, var(--mobile-topbar-model-max-inline-size)) minmax(var(--mobile-topbar-control-size), 1fr);
    align-items: center;
    min-height: var(--mobile-topbar-block-size);
    padding: calc(var(--spacing, 0.25rem) * 2) calc(var(--spacing, 0.25rem) * 3);
    gap: var(--mobile-topbar-gap);
    border: 0;
    border-radius: 0;
    background: var(--background);
    box-shadow: var(--mobile-topbar-shadow);
  }
  [data-theme="dark"] body[data-workspace-feed="active"] .prompt-composer.card {
    box-shadow: var(--mobile-floating-surface-shadow-dark);
  }
  [data-theme="dark"] .workspace-topbar {
    box-shadow: var(--mobile-topbar-shadow-dark);
  }
  .mobile-sidebar-toggle {
    display: inline-flex;
    width: var(--mobile-topbar-control-size) !important;
    min-width: var(--mobile-topbar-control-size);
    height: var(--mobile-topbar-control-size);
    min-height: var(--mobile-topbar-control-size);
    flex: 0 0 var(--mobile-topbar-control-size);
    padding: 0;
    align-items: center;
    justify-content: center;
    grid-column: 1;
    justify-self: start;
  }
  .workspace-topbar__left, .workspace-topbar__actions {
    min-width: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .workspace-topbar__left {
    display: contents;
  }
  .workspace-topbar__actions {
    width: auto;
    flex: 0 0 auto;
    max-width: none;
    grid-column: 3;
    justify-self: end;
  }
  .workspace-topbar__actions.is-resolved {
    display: none;
  }
  .workspace-topbar .mobile-sidebar-toggle, .workspace-topbar .workspace-model {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }
  .workspace-topbar .workspace-model {
    width: 100%;
    max-width: 100%;
  }
  .workspace-topbar .mobile-sidebar-toggle:hover, .workspace-topbar .mobile-sidebar-toggle:focus-visible, .workspace-topbar .workspace-model:hover, .workspace-topbar .workspace-model:focus-visible, .workspace-topbar .workspace-model[aria-expanded="true"] {
    border-color: transparent;
    background: var(--default);
  }
  .workspace-model-wrap, .workspace-model, #topbarModelValue {
    min-width: 0;
  }
  .workspace-model-wrap {
    width: min(var(--topbar-model-width, max-content), var(--mobile-topbar-model-max-inline-size)) !important;
    flex: 0 1 auto;
    max-width: var(--mobile-topbar-model-max-inline-size);
    grid-column: 2;
    justify-self: center;
  }
  body[data-workspace-feed="active"] .prompt-composer.card .workspace-model-wrap {
    width: min(var(--topbar-model-width, max-content), var(--composer-model-control-max-inline-size), calc(100vw - var(--composer-submit-control-size) - var(--mobile-composer-model-viewport-reserve-inline-size))) !important;
    max-width: 100%;
    justify-self: end;
  }
  #topbarModelValue, #topbarApiKeyLabel {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .workspace-topbar__actions .button {
    width: var(--mobile-topbar-control-size);
    min-width: var(--mobile-topbar-control-size);
    height: var(--mobile-topbar-control-size);
    min-height: var(--mobile-topbar-control-size);
    aspect-ratio: 1;
    justify-content: center;
    gap: 0;
    padding-inline: 0;
  }
  .workspace-topbar__actions .button svg, .mobile-sidebar-toggle svg {
    margin: 0;
  }
  .workspace-topbar__actions .button #topbarApiKeyLabel {
    display: none;
  }
  .composer-section {
    min-height: auto;
    padding: 28px 0;
    gap: 20px;
  }
  body[data-workspace-feed="idle"] .composer-section {
    min-height: max( 0px, calc(100dvh - var(--mobile-topbar-block-size) - var(--mobile-idle-block-end-padding)) );
  }
  body[data-workspace-mode="image"][data-workspace-feed="idle"] .composer-section, body[data-workspace-mode="search"][data-workspace-feed="idle"] .composer-section {
    justify-content: center;
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .hero-stage__copy {
    gap: 16px;
  }
  .hero-stage__copy h1, .hero-stage h1, body[data-workspace-mode="image"] .hero-stage__copy h1, body[data-workspace-mode="image"] .hero-stage h1, body[data-workspace-mode="search"] .hero-stage__copy h1, body[data-workspace-mode="search"] .hero-stage h1 {
    max-width: 12ch;
    font-size: 2.35rem;
    white-space: normal;
  }
  .prompt-composer.card {
    width: 100%;
    max-width: none;
    min-height: calc(var(--spacing, 0.25rem) * 12);
    column-gap: 10px;
    padding: calc(var(--spacing, 0.25rem) * 1) calc(var(--spacing, 0.25rem) * 1.5) calc(var(--spacing, 0.25rem) * 1) calc(var(--spacing, 0.25rem) * 3);
  }
  .prompt-composer.card.has-image-preview .image-preview-container:not(:empty) {
    max-height: 128px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 2px;
  }
  .composer-chip-row {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .composer-chip-row > * {
    width: auto !important;
    flex: 0 1 auto;
  }
  .suggestion-cards-row, .image-inline-controls, .search-inline-controls, .style-more-row, .style-showcase-row, .reference-url-row {
    width: 100%;
    max-width: none;
  }
  .suggestion-cards-row {
    grid-template-columns: 1fr;
  }
  .image-inline-controls, .search-inline-controls {
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .inline-param {
    max-width: 100%;
    flex: 1 1 min(14rem, 100%);
  }
  .image-select.select, .image-select__menu.select__popover, .inline-param .input, .inline-param .textarea {
    max-width: 100%;
    min-width: 0;
  }
  .style-more-row {
    flex-direction: row;
    align-items: center;
  }
  .style-more-meta {
    min-width: 0;
  }
  body[data-workspace-mode="image"][data-workspace-feed="idle"] .style-showcase-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    width: 100vw;
    max-width: none;
    margin-inline: calc(50% - 50vw);
    padding-inline: calc(var(--spacing, 0.25rem) * 4);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: calc(var(--spacing, 0.25rem) * 4);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  body[data-workspace-mode="image"][data-workspace-feed="idle"] .style-showcase-row > .style-card {
    --style-flow-card-width: clamp(8.75rem, 42vw, 10.5rem);
    --style-flow-card-height: clamp(10rem, 42vw, 12rem);
    width: var(--style-flow-card-width);
    min-width: var(--style-flow-card-width);
    height: var(--style-flow-card-height);
    min-height: var(--style-flow-card-height);
    flex: 0 0 var(--style-flow-card-width);
    border-width: 0;
    border-color: transparent;
    box-shadow: none;
    scroll-snap-align: start;
  }
  body[data-workspace-mode="image"][data-workspace-feed="idle"] .style-showcase-row > .style-card--image {
    background: transparent;
  }
  body[data-workspace-mode="image"][data-workspace-feed="idle"] .style-showcase-row > .style-card:nth-child(3n + 2) {
    --style-flow-card-width: clamp(9.5rem, 46vw, 11.5rem);
  }
  body[data-workspace-mode="image"][data-workspace-feed="idle"] .style-showcase-row > .style-card:nth-child(3n + 3) {
    --style-flow-card-width: clamp(8.25rem, 39vw, 9.75rem);
  }
  body[data-workspace-mode="image"][data-workspace-feed="idle"] .style-showcase-row::-webkit-scrollbar {
    display: none;
  }
  body[data-workspace-mode="image"][data-workspace-feed="idle"] .style-more-row {
    width: 100vw;
    max-width: none;
    margin-inline: calc(50% - 50vw);
    padding-inline: calc(var(--spacing, 0.25rem) * 4);
  }
  .style-card.button {
    min-height: 128px;
  }
  .conversation-turn--assistant .conversation-turn__body, .conversation-turn--user .conversation-turn__body {
    max-width: calc(100vw - 56px);
  }
  .conversation-image-block__title {
    align-items: flex-start;
    width: 100%;
  }
  .conversation-image-block__meta {
    border-left: 0;
    padding-left: 0;
  }
  .search-result-card__meta > span, .result-group-bar, .conversation-image-block__meta {
    word-break: break-word;
  }
  .history-detail-modal-content, .prompt-detail-modal-content {
    overflow-y: auto;
  }
  .history-detail-image-wrapper {
    min-height: clamp(12rem, 42dvh, 24rem);
  }
}
@media (max-width: 420px) {
  .hero-stage__copy h1, .hero-stage h1, body[data-workspace-mode="image"] .hero-stage__copy h1, body[data-workspace-mode="image"] .hero-stage h1, body[data-workspace-mode="search"] .hero-stage__copy h1, body[data-workspace-mode="search"] .hero-stage h1 {
    font-size: 2.15rem;
  }
  .workspace {
    padding-inline: 12px;
  }
  .style-more-row {
    align-items: stretch;
    flex-direction: column;
  }
  body[data-workspace-mode="image"][data-workspace-feed="idle"] .style-more-row {
    align-items: center;
    flex-direction: row;
  }
  .style-card.button {
    min-height: 112px;
  }
}
:root, [data-theme="light"], [data-theme="dark"] {
  --motion-fast: 140ms;
  --motion-base: 220ms;
  --motion-slow: 360ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --motion-ease-emphasis: cubic-bezier(0.16, 1, 0.3, 1);
}
html {
  scroll-behavior: smooth;
}
html.is-theme-switching, html.is-theme-switching *, html.is-theme-switching *::before, html.is-theme-switching *::after {
  animation: none !important;
  transition-property: none !important;
  transition-duration: 0ms !important;
  transition-delay: 0ms !important;
}
body, .app-main, .workspace, .workspace-topbar, .prompt-composer.card, .settings-card, .toast-notification, .toast {
  transition: background-color var(--motion-base) var(--motion-ease-standard), border-color var(--motion-base) var(--motion-ease-standard), color var(--motion-base) var(--motion-ease-standard), box-shadow var(--motion-base) var(--motion-ease-standard);
}
.app-sidebar {
  animation: motion-sidebar-in var(--motion-slow) var(--motion-ease) both;
}
.workspace-topbar {
  animation: motion-topbar-in var(--motion-base) var(--motion-ease) 60ms both;
}
.hero-stage__copy, .prompt-composer.card, .composer-chip-row, .suggestion-cards-row {
  animation: motion-surface-in var(--motion-slow) var(--motion-ease) both;
}
.hero-stage__copy {
  animation-delay: 80ms;
}
.prompt-composer.card {
  animation-delay: 130ms;
  border-color: var(--field-border);
  transform-origin: center bottom;
  transition: transform var(--motion-base) var(--motion-ease), border-color var(--motion-base) var(--motion-ease-standard), background-color var(--motion-base) var(--motion-ease-standard), box-shadow var(--motion-base) var(--motion-ease-standard), padding var(--motion-base) var(--motion-ease), min-height var(--motion-base) var(--motion-ease);
}
.composer-chip-row {
  animation-delay: 180ms;
}
.suggestion-cards-row {
  animation-delay: 230ms;
}
.prompt-composer.card:hover, .prompt-composer.card:focus-within {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(17, 32, 22, 0.08);
}
.prompt-composer.card:hover {
  border-color: var(--field-border);
}
.prompt-composer.card:focus-within {
  border-color: var(--focus);
  outline: var(--border-focus) solid var(--focus);
  outline-offset: 2px;
}
[data-theme="dark"] .prompt-composer.card:hover, [data-theme="dark"] .prompt-composer.card:focus-within {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}
.config-modal-content, .log-modal-content, .history-detail-modal-content, .prompt-detail-modal-content {
  border-color: transparent;
}
.button, .workspace-model, .mode-chip-btn, .composer-submit, .suggestion-card.button, .style-card.button, .settings-nav__item, .page-btn.button, .history-detail-close, .prompt-detail-close, .delete-image-btn.button {
  transition: transform var(--motion-fast) var(--motion-ease), background-color var(--motion-fast) var(--motion-ease-standard), border-color var(--motion-fast) var(--motion-ease-standard), color var(--motion-fast) var(--motion-ease-standard), opacity var(--motion-fast) var(--motion-ease-standard), box-shadow var(--motion-fast) var(--motion-ease-standard);
}
.button:not(:disabled):active, .workspace-model:active, .mode-chip-btn:active, .composer-submit:active, .suggestion-card.button:active, .style-card.button:active, .settings-nav__item:active, .page-btn.button:active {
  transform: translateY(0) scale(0.985);
}
.workspace-model:hover, .workspace-model:focus-visible, .composer-chip-row .button:hover, .composer-chip-row .button:focus-visible, .settings-nav__item:hover, .settings-nav__item:focus-visible, .page-btn.button:hover:not(:disabled), .page-btn.button:focus-visible:not(:disabled) {
  transform: translateY(-1px);
}
.composer-submit:hover:not(:disabled), .composer-submit:focus-visible:not(:disabled) {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 10px 24px rgba(27, 58, 40, 0.2);
}
.mode-chip-btn.is-active {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px currentColor;
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 18%, transparent 82%);
  }
}
.mode-chip-btn.is-active [data-lucide-icon], .composer-submit:hover:not(:disabled) .composer-submit__icon, .composer-submit:focus-visible:not(:disabled) .composer-submit__icon {
  animation: motion-icon-pop var(--motion-base) var(--motion-ease) both;
}
.suggestion-card.button:hover, .suggestion-card.button:focus-visible, .style-card.button:hover, .style-card.button:focus-visible, .search-result-card:hover, .search-result-card:focus-within, .generated-image:hover, .generated-image:focus-visible, .history-item:hover, .history-item:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17, 32, 22, 0.08);
}
[data-theme="dark"] .suggestion-card.button:hover, [data-theme="dark"] .suggestion-card.button:focus-visible, [data-theme="dark"] .style-card.button:hover, [data-theme="dark"] .style-card.button:focus-visible, [data-theme="dark"] .search-result-card:hover, [data-theme="dark"] .search-result-card:focus-within, [data-theme="dark"] .generated-image:hover, [data-theme="dark"] .generated-image:focus-visible, [data-theme="dark"] .history-item:hover, [data-theme="dark"] .history-item:focus-within {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}
.suggestion-card.button:hover .suggestion-card__icon, .suggestion-card.button:focus-visible .suggestion-card__icon, .style-card.button:hover .style-card__upload-icon, .style-card.button:focus-visible .style-card__upload-icon {
  animation: motion-icon-pop var(--motion-base) var(--motion-ease) both;
}
.style-card--image img, .generated-image, .history-image, .image-preview-image {
  transition: transform var(--motion-slow) var(--motion-ease), filter var(--motion-base) var(--motion-ease-standard), opacity var(--motion-base) var(--motion-ease-standard);
}
.style-card--image:hover img, .style-card--image:focus-visible img, .history-item:hover .history-image, .history-item:focus-within .history-image {
  transform: scale(1.045);
}
.style-card__label {
  transition: opacity var(--motion-base) var(--motion-ease-standard), transform var(--motion-base) var(--motion-ease);
}
.style-card--image:hover .style-card__label, .style-card--image:focus-visible .style-card__label {
  transform: translateY(-2px);
}
body[data-workspace-mode="image"][data-workspace-feed="idle"] .image-inline-controls, body[data-workspace-mode="image"][data-workspace-feed="idle"] .style-more-row, body[data-workspace-mode="image"][data-workspace-feed="idle"] .style-showcase-row, body[data-workspace-feed="active"] .workspace-feed {
  animation: motion-surface-in var(--motion-base) var(--motion-ease) both;
}
body[data-workspace-feed="active"] .prompt-composer.card {
  animation: motion-composer-dock-in var(--motion-base) var(--motion-ease) both;
}
.workspace-model-menu:not([hidden]), .image-select__menu.select__popover:not([hidden]), .select__popover[data-select-owner]:not([hidden]) {
  animation: select-popover-in var(--motion-fast) var(--motion-ease) both;
  transform-origin: top left;
}
.workspace-model-option:hover .workspace-model-option__check, .workspace-model-option:focus-visible .workspace-model-option__check, .workspace-model-option[aria-selected="true"] .workspace-model-option__check {
  transform: scale(1);
  opacity: 1;
}
.workspace-model-option__check, .list-box-item__indicator {
  transform: scale(0.84);
  transition: transform var(--motion-fast) var(--motion-ease), opacity var(--motion-fast) var(--motion-ease-standard);
}
[data-theme="dark"] .input[data-slot="input"], [data-theme="dark"] .textarea[data-slot="textarea"], [data-theme="dark"] [data-slot="select-trigger"] {
  border-color: var(--border);
  box-shadow: none;
}
[data-theme="dark"] .workspace-model__icon {
  color: var(--topbar-model-icon);
}
[data-theme="dark"] .workspace-model {
  border-color: var(--ui-input-border);
  background: var(--topbar-model-bg);
  color: var(--topbar-model-fg);
}
[data-theme="dark"] .workspace-model-wrap.select--secondary .workspace-model.select__trigger {
  --select-trigger-bg: var(--topbar-model-bg);
  --select-trigger-bg-hover: var(--topbar-model-bg);
  @supports (color: color-mix(in lab, red, red)) {
    --select-trigger-bg-hover: color-mix(in srgb, var(--topbar-model-bg) 86%, var(--ui-accent) 14%);
  }
  --select-trigger-bg-focus: var(--topbar-model-bg);
  background-color: var(--select-trigger-bg);
  border-color: var(--ui-input-border);
  color: var(--topbar-model-fg);
}
[data-theme="dark"] .workspace-model-wrap.select--secondary .workspace-model.select__trigger:hover, [data-theme="dark"] .workspace-model-wrap.select--secondary .workspace-model.select__trigger:focus-visible, [data-theme="dark"] .workspace-model-wrap.select--secondary .workspace-model.select__trigger[aria-expanded="true"], [data-theme="dark"] .workspace-model-wrap.select--secondary .workspace-model.select__trigger[data-hovered="true"], [data-theme="dark"] .workspace-model-wrap.select--secondary .workspace-model.select__trigger[data-focus-visible="true"] {
  background-color: var(--select-trigger-bg-hover);
  border-color: var(--ui-ring);
  color: var(--topbar-model-fg);
}
[data-theme="dark"] .workspace-model:hover, [data-theme="dark"] .workspace-model:focus-visible, [data-theme="dark"] .workspace-model[aria-expanded="true"] {
  border-color: var(--ui-ring);
  background: var(--topbar-model-bg);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--topbar-model-bg) 86%, var(--ui-accent) 14%);
  }
}
[data-theme="dark"] .input[data-slot="input"]:hover, [data-theme="dark"] .input[data-slot="input"]:focus-visible, [data-theme="dark"] .textarea[data-slot="textarea"]:hover, [data-theme="dark"] .textarea[data-slot="textarea"]:focus-visible, [data-theme="dark"] [data-slot="select-trigger"]:hover, [data-theme="dark"] [data-slot="select-trigger"]:focus-visible {
  border-color: var(--focus);
  box-shadow: none;
}
[data-theme="dark"] [data-slot="select-popover"] {
  border: var(--border-default) solid var(--border);
}
@media (width < 64rem) {
  .workspace-topbar .workspace-model-wrap.select--secondary .workspace-model.select__trigger, [data-theme="dark"] .workspace-topbar .workspace-model-wrap.select--secondary .workspace-model.select__trigger {
    --select-trigger-bg: transparent;
    --select-trigger-bg-hover: var(--default);
    --select-trigger-bg-focus: transparent;
    border-color: transparent;
    background-color: transparent;
    color: var(--topbar-model-fg);
    box-shadow: none;
  }
  .workspace-topbar .workspace-model-wrap.select--secondary .workspace-model.select__trigger:hover, .workspace-topbar .workspace-model-wrap.select--secondary .workspace-model.select__trigger:focus-visible, .workspace-topbar .workspace-model-wrap.select--secondary .workspace-model.select__trigger[aria-expanded="true"], .workspace-topbar .workspace-model-wrap.select--secondary .workspace-model.select__trigger[data-hovered="true"], .workspace-topbar .workspace-model-wrap.select--secondary .workspace-model.select__trigger[data-focus-visible="true"], [data-theme="dark"] .workspace-topbar .workspace-model-wrap.select--secondary .workspace-model.select__trigger:hover, [data-theme="dark"] .workspace-topbar .workspace-model-wrap.select--secondary .workspace-model.select__trigger:focus-visible, [data-theme="dark"] .workspace-topbar .workspace-model-wrap.select--secondary .workspace-model.select__trigger[aria-expanded="true"], [data-theme="dark"] .workspace-topbar .workspace-model-wrap.select--secondary .workspace-model.select__trigger[data-hovered="true"], [data-theme="dark"] .workspace-topbar .workspace-model-wrap.select--secondary .workspace-model.select__trigger[data-focus-visible="true"] {
    border-color: transparent;
    background-color: var(--default);
    color: var(--topbar-model-fg);
  }
}
.prompt-composer.card.has-image-preview {
  transition: grid-template-rows var(--motion-base) var(--motion-ease), padding var(--motion-base) var(--motion-ease), transform var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease-standard);
}
.image-preview-item {
  animation: motion-image-in var(--motion-base) var(--motion-ease) both;
  transition: transform var(--motion-fast) var(--motion-ease), border-color var(--motion-fast) var(--motion-ease-standard), box-shadow var(--motion-fast) var(--motion-ease-standard);
}
.image-preview-item:hover, .image-preview-item:focus-within {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(17, 32, 22, 0.12);
}
.image-preview-badge, .delete-image-btn.button {
  animation: motion-badge-in var(--motion-base) var(--motion-ease) both;
}
.delete-image-btn.button {
  opacity: 0;
  transform: translateY(-2px) scale(0.92);
}
.image-preview-item:hover .delete-image-btn.button, .image-preview-item:focus-within .delete-image-btn.button {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.conversation-turn, .search-results-block, .search-result-card, .result-group, .history-empty, .history-item, .result-prompt-info, .conversation-tool-status, .conversation-error-card {
  animation: motion-message-in var(--motion-base) var(--motion-ease) both;
}
.conversation-turn--user {
  animation-name: motion-message-user-in;
}
.conversation-turn:nth-child(2), .search-result-card:nth-child(2), .history-item:nth-child(2) {
  animation-delay: 35ms;
}
.conversation-turn:nth-child(3), .search-result-card:nth-child(3), .history-item:nth-child(3) {
  animation-delay: 70ms;
}
.conversation-turn:nth-child(4), .search-result-card:nth-child(4), .history-item:nth-child(4) {
  animation-delay: 105ms;
}
.result-image-cell, .conversation-image-block .result-image-cell {
  animation: motion-image-in var(--motion-slow) var(--motion-ease) both;
}
.conversation-tool-status--pending .conversation-tool-status__spinner, .conversation-tool-status--streaming .conversation-tool-status__spinner {
  animation: spin 1s linear infinite, motion-spinner-pulse 1.4s var(--motion-ease-standard) infinite;
}
#loading.show {
  position: relative;
  overflow: hidden;
  animation: motion-surface-in var(--motion-base) var(--motion-ease) both;
}
#loading.show::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient( 90deg, transparent 0%, var(--accent) 50%, transparent 100% );
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient( 90deg, transparent 0%, color-mix(in srgb, var(--accent) 12%, transparent 88%) 50%, transparent 100% );
  }
  transform: translateX(-100%);
  animation: motion-shimmer 1.4s var(--motion-ease-standard) infinite;
}
.history-detail-modal-backdrop, .prompt-detail-modal-backdrop, .full-image-modal__backdrop, .log-modal-backdrop, .config-modal-backdrop {
  animation: motion-backdrop-in var(--motion-fast) var(--motion-ease-standard) both;
}
.history-detail-modal-content, .prompt-detail-modal-content, .log-modal-content, .full-image-modal__image {
  animation: motion-modal-in var(--motion-base) var(--motion-ease) both;
  transform-origin: center;
}
.history-detail-modal.is-closing .history-detail-modal-backdrop, .prompt-detail-modal.is-closing .prompt-detail-modal-backdrop, .full-image-modal.is-closing .full-image-modal__backdrop, .log-modal.is-closing .log-modal-backdrop, .config-modal.is-closing .config-modal-backdrop {
  animation: motion-backdrop-out var(--motion-fast) var(--motion-ease-standard) both;
}
.history-detail-modal.is-closing .history-detail-modal-content, .prompt-detail-modal.is-closing .prompt-detail-modal-content, .log-modal.is-closing .log-modal-content, .full-image-modal.is-closing .full-image-modal__image {
  animation: motion-modal-out var(--motion-fast) var(--motion-ease-standard) both;
}
#configModal:not(.hidden) {
  animation: motion-settings-in var(--motion-base) var(--motion-ease) both;
}
#configModal.is-closing {
  pointer-events: none;
  animation: motion-settings-out var(--motion-fast) var(--motion-ease-standard) both;
}
#configModal:not(.hidden) .settings-nav__item, #configModal:not(.hidden) .settings-card {
  animation: motion-surface-in var(--motion-base) var(--motion-ease) both;
}
#configModal:not(.hidden) .settings-nav__item:nth-child(2), #configModal:not(.hidden) .settings-card:nth-child(2) {
  animation-delay: 35ms;
}
#configModal:not(.hidden) .settings-nav__item:nth-child(3), #configModal:not(.hidden) .settings-card:nth-child(3) {
  animation-delay: 70ms;
}
.settings-card {
  transition: transform var(--motion-fast) var(--motion-ease), border-color var(--motion-fast) var(--motion-ease-standard), background-color var(--motion-fast) var(--motion-ease-standard), box-shadow var(--motion-fast) var(--motion-ease-standard);
}
.settings-card:hover, .settings-card:focus-within {
  transform: translateY(-1px);
  border-color: var(--surface-outline-strong);
  box-shadow: 0 12px 28px rgba(17, 32, 22, 0.06);
}
[data-theme="dark"] .settings-card:hover, [data-theme="dark"] .settings-card:focus-within {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}
.toast-notification.show {
  animation: motion-toast-in var(--motion-base) var(--motion-ease) both;
}
.toast.show {
  animation: motion-toast-up var(--motion-base) var(--motion-ease) both;
}
@keyframes select-popover-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes motion-sidebar-in {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes motion-topbar-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes motion-surface-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes motion-composer-dock-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes motion-message-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes motion-message-user-in {
  from {
    opacity: 0;
    transform: translate(10px, 8px);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}
@keyframes motion-image-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes motion-badge-in {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes motion-icon-pop {
  0% {
    transform: scale(0.92);
  }
  58% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes motion-spinner-pulse {
  0%, 100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}
@keyframes motion-shimmer {
  to {
    transform: translateX(100%);
  }
}
@keyframes motion-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes motion-backdrop-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes motion-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes motion-modal-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
}
@keyframes motion-settings-in {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes motion-settings-out {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: translateX(10px);
  }
}
@keyframes motion-toast-in {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes motion-toast-up {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (width < 64rem) {
  #configModal:not(.hidden) .config-modal-content {
    animation: motion-sheet-in var(--motion-base) var(--motion-ease) both;
  }
  #configModal.is-closing .config-modal-content {
    animation: motion-sheet-out var(--motion-fast) var(--motion-ease-standard) both;
  }
}
@keyframes motion-sheet-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes motion-sheet-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(22px);
  }
}
@media (width >= 64rem) {
  .app-sidebar {
    animation: none;
  }
}
@media (width < 64rem) {
  .app-sidebar {
    animation: none;
    transform: translateX(calc(-100% - 16px));
  }
  body[data-mobile-sidebar-open="true"] .app-sidebar {
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
  .spinner, .conversation-tool-status--pending .conversation-tool-status__spinner, .conversation-tool-status--streaming .conversation-tool-status__spinner {
    animation: none !important;
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@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-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-content {
  syntax: "*";
  initial-value: "";
  inherits: false;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@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;
}
@property --tw-ordinal {
  syntax: "*";
  inherits: false;
}
@property --tw-slashed-zero {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-figure {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-border-spacing-x {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-spacing-y {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}
@property --tw-gradient-position {
  syntax: "*";
  inherits: false;
}
@property --tw-gradient-from {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}
@property --tw-gradient-via {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}
@property --tw-gradient-to {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}
@property --tw-gradient-stops {
  syntax: "*";
  inherits: false;
}
@property --tw-gradient-via-stops {
  syntax: "*";
  inherits: false;
}
@property --tw-gradient-from-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0%;
}
@property --tw-gradient-via-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 50%;
}
@property --tw-gradient-to-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-space-x-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
@keyframes enter {
  from {
    opacity: var(--tw-enter-opacity,1);
    transform: translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));
    filter: blur(var(--tw-enter-blur,0));
  }
}
@keyframes exit {
  to {
    opacity: var(--tw-exit-opacity,1);
    transform: translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));
    filter: blur(var(--tw-exit-blur,0));
  }
}
@keyframes caret-blink {
  0%,70%,100% {
    opacity: 1;
  }
  20%,50% {
    opacity: 0;
  }
}
@keyframes skeleton {
  100% {
    transform: translateX(200%);
  }
}
@keyframes caret-blink {
  0%, 70%, 100% {
    opacity: 1;
  }
  20%, 50% {
    opacity: 0;
  }
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --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-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-ease: initial;
      --tw-animation-delay: 0s;
      --tw-animation-direction: normal;
      --tw-animation-duration: initial;
      --tw-animation-fill-mode: none;
      --tw-animation-iteration-count: 1;
      --tw-enter-blur: 0;
      --tw-enter-opacity: 1;
      --tw-enter-rotate: 0;
      --tw-enter-scale: 1;
      --tw-enter-translate-x: 0;
      --tw-enter-translate-y: 0;
      --tw-exit-blur: 0;
      --tw-exit-opacity: 1;
      --tw-exit-rotate: 0;
      --tw-exit-scale: 1;
      --tw-exit-translate-x: 0;
      --tw-exit-translate-y: 0;
      --tw-font-weight: initial;
      --tw-content: "";
      --tw-duration: initial;
      --tw-leading: initial;
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
      --tw-scale-x: 1;
      --tw-scale-y: 1;
      --tw-scale-z: 1;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-outline-style: solid;
      --tw-border-spacing-x: 0;
      --tw-border-spacing-y: 0;
      --tw-gradient-position: initial;
      --tw-gradient-from: #0000;
      --tw-gradient-via: #0000;
      --tw-gradient-to: #0000;
      --tw-gradient-stops: initial;
      --tw-gradient-via-stops: initial;
      --tw-gradient-from-position: 0%;
      --tw-gradient-via-position: 50%;
      --tw-gradient-to-position: 100%;
      --tw-space-y-reverse: 0;
      --tw-tracking: initial;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
      --tw-space-x-reverse: 0;
    }
  }
}
