/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, monospace;
    --color-red-400: oklch(70.4% 0.191 22.216);
    --color-emerald-400: oklch(76.5% 0.177 163.223);
    --spacing: 0.25rem;
    --container-sm: 24rem;
    --container-xl: 36rem;
    --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-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --tracking-tight: -0.025em;
    --tracking-widest: 0.1em;
    --leading-relaxed: 1.625;
    --radius-xs: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --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-canvas: #ffffff;
    --color-surface-soft: #f8f9fa;
    --color-surface-card: #f5f5f5;
    --color-surface-strong: #e5e7eb;
    --color-surface-dark: #101010;
    --color-hairline: #e5e7eb;
    --color-hairline-soft: #f3f4f6;
    --color-ink: #111111;
    --color-body: #374151;
    --color-muted: #6b7280;
    --color-muted-soft: #898989;
    --color-on-primary: #ffffff;
    --color-on-dark: #ffffff;
    --color-primary: #111111;
    --color-primary-active: #242424;
    --color-primary-disabled: #e5e7eb;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-badge-orange: #fb923c;
    --color-badge-pink: #ec4899;
    --color-badge-emerald: #34d399;
    --font-display: "Cal Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }
}
@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 {
  .collapse {
    visibility: collapse;
  }
  .visible {
    visibility: visible;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .sticky {
    position: sticky;
  }
  .inset-y-0 {
    inset-block: calc(var(--spacing) * 0);
  }
  .-top-1 {
    top: calc(var(--spacing) * -1);
  }
  .top-0 {
    top: calc(var(--spacing) * 0);
  }
  .top-1\/2 {
    top: calc(1/2 * 100%);
  }
  .top-2 {
    top: calc(var(--spacing) * 2);
  }
  .top-11 {
    top: calc(var(--spacing) * 11);
  }
  .-right-1 {
    right: calc(var(--spacing) * -1);
  }
  .right-0 {
    right: calc(var(--spacing) * 0);
  }
  .right-2 {
    right: calc(var(--spacing) * 2);
  }
  .bottom-0 {
    bottom: calc(var(--spacing) * 0);
  }
  .-left-1 {
    left: calc(var(--spacing) * -1);
  }
  .left-0 {
    left: calc(var(--spacing) * 0);
  }
  .left-3 {
    left: calc(var(--spacing) * 3);
  }
  .z-1 {
    z-index: 1;
  }
  .z-10 {
    z-index: 10;
  }
  .z-30 {
    z-index: 30;
  }
  .z-40 {
    z-index: 40;
  }
  .z-50 {
    z-index: 50;
  }
  .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;
    }
  }
  .mx-auto {
    margin-inline: auto;
  }
  .-mt-2 {
    margin-top: calc(var(--spacing) * -2);
  }
  .mt-0\.5 {
    margin-top: calc(var(--spacing) * 0.5);
  }
  .mt-1 {
    margin-top: calc(var(--spacing) * 1);
  }
  .mt-1\.5 {
    margin-top: calc(var(--spacing) * 1.5);
  }
  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }
  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }
  .mt-6 {
    margin-top: calc(var(--spacing) * 6);
  }
  .mb-1 {
    margin-bottom: calc(var(--spacing) * 1);
  }
  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }
  .mb-5 {
    margin-bottom: calc(var(--spacing) * 5);
  }
  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }
  .mb-8 {
    margin-bottom: calc(var(--spacing) * 8);
  }
  .ml-0\.5 {
    margin-left: calc(var(--spacing) * 0.5);
  }
  .ml-1 {
    margin-left: calc(var(--spacing) * 1);
  }
  .ml-2 {
    margin-left: calc(var(--spacing) * 2);
  }
  .ml-auto {
    margin-left: auto;
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .inline-block {
    display: inline-block;
  }
  .inline-flex {
    display: inline-flex;
  }
  .table {
    display: table;
  }
  .h-2 {
    height: calc(var(--spacing) * 2);
  }
  .h-4 {
    height: calc(var(--spacing) * 4);
  }
  .h-5 {
    height: calc(var(--spacing) * 5);
  }
  .h-6 {
    height: calc(var(--spacing) * 6);
  }
  .h-7 {
    height: calc(var(--spacing) * 7);
  }
  .h-9 {
    height: calc(var(--spacing) * 9);
  }
  .h-10 {
    height: calc(var(--spacing) * 10);
  }
  .h-12 {
    height: calc(var(--spacing) * 12);
  }
  .h-16 {
    height: calc(var(--spacing) * 16);
  }
  .h-auto {
    height: auto;
  }
  .h-full {
    height: 100%;
  }
  .h-min {
    height: min-content;
  }
  .max-h-64 {
    max-height: calc(var(--spacing) * 64);
  }
  .max-h-96 {
    max-height: calc(var(--spacing) * 96);
  }
  .min-h-screen {
    min-height: 100vh;
  }
  .w-2 {
    width: calc(var(--spacing) * 2);
  }
  .w-5 {
    width: calc(var(--spacing) * 5);
  }
  .w-6 {
    width: calc(var(--spacing) * 6);
  }
  .w-9 {
    width: calc(var(--spacing) * 9);
  }
  .w-10 {
    width: calc(var(--spacing) * 10);
  }
  .w-12 {
    width: calc(var(--spacing) * 12);
  }
  .w-40 {
    width: calc(var(--spacing) * 40);
  }
  .w-56 {
    width: calc(var(--spacing) * 56);
  }
  .w-64 {
    width: calc(var(--spacing) * 64);
  }
  .w-80 {
    width: calc(var(--spacing) * 80);
  }
  .w-\[68px\] {
    width: 68px;
  }
  .w-full {
    width: 100%;
  }
  .max-w-\[220px\] {
    max-width: 220px;
  }
  .max-w-\[1200px\] {
    max-width: 1200px;
  }
  .max-w-sm {
    max-width: var(--container-sm);
  }
  .max-w-xl {
    max-width: var(--container-xl);
  }
  .min-w-0 {
    min-width: calc(var(--spacing) * 0);
  }
  .min-w-4 {
    min-width: calc(var(--spacing) * 4);
  }
  .min-w-\[36px\] {
    min-width: 36px;
  }
  .flex-1 {
    flex: 1;
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .-translate-y-1\/2 {
    --tw-translate-y: calc(calc(1/2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .rotate-180 {
    rotate: 180deg;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .resize {
    resize: both;
  }
  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-center {
    align-items: center;
  }
  .items-end {
    align-items: flex-end;
  }
  .items-start {
    align-items: flex-start;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-end {
    justify-content: flex-end;
  }
  .gap-1 {
    gap: calc(var(--spacing) * 1);
  }
  .gap-1\.5 {
    gap: calc(var(--spacing) * 1.5);
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .space-y-5 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .overflow-x-auto {
    overflow-x: auto;
  }
  .overflow-y-auto {
    overflow-y: auto;
  }
  .rounded-full {
    border-radius: calc(infinity * 1px);
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .rounded-md {
    border-radius: var(--radius-md);
  }
  .rounded-xl {
    border-radius: var(--radius-xl);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-0 {
    border-style: var(--tw-border-style);
    border-width: 0px;
  }
  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }
  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }
  .border-dashed {
    --tw-border-style: dashed;
    border-style: dashed;
  }
  .border-error {
    border-color: var(--color-error);
  }
  .border-error\/20 {
    border-color: color-mix(in srgb, #ef4444 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-error) 20%, transparent);
    }
  }
  .border-hairline {
    border-color: var(--color-hairline);
  }
  .border-hairline-soft {
    border-color: var(--color-hairline-soft);
  }
  .border-success {
    border-color: var(--color-success);
  }
  .\!bg-primary {
    background-color: var(--color-primary) !important;
  }
  .bg-badge-emerald {
    background-color: var(--color-badge-emerald);
  }
  .bg-badge-emerald\/15 {
    background-color: color-mix(in srgb, #34d399 15%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-badge-emerald) 15%, transparent);
    }
  }
  .bg-badge-orange {
    background-color: var(--color-badge-orange);
  }
  .bg-badge-pink {
    background-color: var(--color-badge-pink);
  }
  .bg-badge-pink\/15 {
    background-color: color-mix(in srgb, #ec4899 15%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-badge-pink) 15%, transparent);
    }
  }
  .bg-canvas {
    background-color: var(--color-canvas);
  }
  .bg-error\/5 {
    background-color: color-mix(in srgb, #ef4444 5%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-error) 5%, transparent);
    }
  }
  .bg-error\/10 {
    background-color: color-mix(in srgb, #ef4444 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-error) 10%, transparent);
    }
  }
  .bg-primary {
    background-color: var(--color-primary);
  }
  .bg-success\/10 {
    background-color: color-mix(in srgb, #10b981 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-success) 10%, transparent);
    }
  }
  .bg-surface-card {
    background-color: var(--color-surface-card);
  }
  .bg-surface-dark {
    background-color: var(--color-surface-dark);
  }
  .bg-surface-soft {
    background-color: var(--color-surface-soft);
  }
  .bg-surface-soft\/60 {
    background-color: color-mix(in srgb, #f8f9fa 60%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-surface-soft) 60%, transparent);
    }
  }
  .bg-surface-strong {
    background-color: var(--color-surface-strong);
  }
  .bg-transparent {
    background-color: transparent;
  }
  .bg-warning\/10 {
    background-color: color-mix(in srgb, #f59e0b 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-warning) 10%, transparent);
    }
  }
  .object-cover {
    object-fit: cover;
  }
  .p-2 {
    padding: calc(var(--spacing) * 2);
  }
  .p-3 {
    padding: calc(var(--spacing) * 3);
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .p-6 {
    padding: calc(var(--spacing) * 6);
  }
  .p-8 {
    padding: calc(var(--spacing) * 8);
  }
  .px-0 {
    padding-inline: calc(var(--spacing) * 0);
  }
  .px-1 {
    padding-inline: calc(var(--spacing) * 1);
  }
  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }
  .px-2\.5 {
    padding-inline: calc(var(--spacing) * 2.5);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .px-5 {
    padding-inline: calc(var(--spacing) * 5);
  }
  .px-6 {
    padding-inline: calc(var(--spacing) * 6);
  }
  .py-0\.5 {
    padding-block: calc(var(--spacing) * 0.5);
  }
  .py-1 {
    padding-block: calc(var(--spacing) * 1);
  }
  .py-1\.5 {
    padding-block: calc(var(--spacing) * 1.5);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .py-2\.5 {
    padding-block: calc(var(--spacing) * 2.5);
  }
  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }
  .py-4 {
    padding-block: calc(var(--spacing) * 4);
  }
  .py-6 {
    padding-block: calc(var(--spacing) * 6);
  }
  .py-8 {
    padding-block: calc(var(--spacing) * 8);
  }
  .py-12 {
    padding-block: calc(var(--spacing) * 12);
  }
  .py-16 {
    padding-block: calc(var(--spacing) * 16);
  }
  .py-20 {
    padding-block: calc(var(--spacing) * 20);
  }
  .pr-3 {
    padding-right: calc(var(--spacing) * 3);
  }
  .pr-4 {
    padding-right: calc(var(--spacing) * 4);
  }
  .pr-9 {
    padding-right: calc(var(--spacing) * 9);
  }
  .pb-6 {
    padding-bottom: calc(var(--spacing) * 6);
  }
  .pl-9 {
    padding-left: calc(var(--spacing) * 9);
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .text-right {
    text-align: right;
  }
  .font-display {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
  }
  .font-display {
    font-family: var(--font-display);
  }
  .font-mono {
    font-family: var(--font-mono);
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-3xl {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
  }
  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .text-\[10px\] {
    font-size: 10px;
  }
  .text-\[13px\] {
    font-size: 13px;
  }
  .text-\[22px\] {
    font-size: 22px;
  }
  .leading-\[1\.3\] {
    --tw-leading: 1.3;
    line-height: 1.3;
  }
  .leading-none {
    --tw-leading: 1;
    line-height: 1;
  }
  .leading-relaxed {
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-normal {
    --tw-font-weight: var(--font-weight-normal);
    font-weight: var(--font-weight-normal);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .tracking-\[-0\.3px\] {
    --tw-tracking: -0.3px;
    letter-spacing: -0.3px;
  }
  .tracking-tight {
    --tw-tracking: var(--tracking-tight);
    letter-spacing: var(--tracking-tight);
  }
  .tracking-widest {
    --tw-tracking: var(--tracking-widest);
    letter-spacing: var(--tracking-widest);
  }
  .break-all {
    word-break: break-all;
  }
  .\!text-on-primary {
    color: var(--color-on-primary) !important;
  }
  .text-badge-orange {
    color: var(--color-badge-orange);
  }
  .text-body {
    color: var(--color-body);
  }
  .text-emerald-400 {
    color: var(--color-emerald-400);
  }
  .text-error {
    color: var(--color-error);
  }
  .text-ink {
    color: var(--color-ink);
  }
  .text-muted {
    color: var(--color-muted);
  }
  .text-muted-soft {
    color: var(--color-muted-soft);
  }
  .text-on-dark {
    color: var(--color-on-dark);
  }
  .text-on-primary {
    color: var(--color-on-primary);
  }
  .text-red-400 {
    color: var(--color-red-400);
  }
  .text-success {
    color: var(--color-success);
  }
  .text-warning {
    color: var(--color-warning);
  }
  .uppercase {
    text-transform: uppercase;
  }
  .italic {
    font-style: italic;
  }
  .tabular-nums {
    --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,);
  }
  .underline {
    text-decoration-line: underline;
  }
  .opacity-0 {
    opacity: 0%;
  }
  .opacity-50 {
    opacity: 50%;
  }
  .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);
  }
  .shadow-lg {
    --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px 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);
  }
  .shadow-none {
    --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);
  }
  .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);
  }
  .shadow-card {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .grayscale {
    --tw-grayscale: grayscale(100%);
    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,);
  }
  .filter {
    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));
  }
  .transition-\[transform\,box-shadow\] {
    transition-property: transform,box-shadow;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-\[width\] {
    transition-property: width;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-colors {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-opacity {
    transition-property: opacity;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .duration-200 {
    --tw-duration: 200ms;
    transition-duration: 200ms;
  }
  .duration-300 {
    --tw-duration: 300ms;
    transition-duration: 300ms;
  }
  .ease-in-out {
    --tw-ease: var(--ease-in-out);
    transition-timing-function: var(--ease-in-out);
  }
  .outline-none {
    --tw-outline-style: none;
    outline-style: none;
  }
  .select-all {
    -webkit-user-select: all;
    user-select: all;
  }
  .group-hover\:opacity-100 {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        opacity: 100%;
      }
    }
  }
  .last\:border-0 {
    &:last-child {
      border-style: var(--tw-border-style);
      border-width: 0px;
    }
  }
  .hover\:-translate-y-0\.5 {
    &:hover {
      @media (hover: hover) {
        --tw-translate-y: calc(var(--spacing) * -0.5);
        translate: var(--tw-translate-x) var(--tw-translate-y);
      }
    }
  }
  .hover\:bg-primary-active {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-primary-active);
      }
    }
  }
  .hover\:bg-surface-card {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-surface-card);
      }
    }
  }
  .hover\:bg-surface-soft {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-surface-soft);
      }
    }
  }
  .hover\:text-error {
    &:hover {
      @media (hover: hover) {
        color: var(--color-error);
      }
    }
  }
  .hover\:text-ink {
    &:hover {
      @media (hover: hover) {
        color: var(--color-ink);
      }
    }
  }
  .hover\:underline {
    &:hover {
      @media (hover: hover) {
        text-decoration-line: underline;
      }
    }
  }
  .hover\:shadow-card-hover {
    &:hover {
      @media (hover: hover) {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      }
    }
  }
  .focus\:border-ink {
    &:focus {
      border-color: var(--color-ink);
    }
  }
  .focus-visible\:ring-0 {
    &:focus-visible {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + 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);
    }
  }
  .disabled\:border-transparent {
    &:disabled {
      border-color: transparent;
    }
  }
  .disabled\:bg-primary-disabled {
    &:disabled {
      background-color: var(--color-primary-disabled);
    }
  }
  .disabled\:text-muted {
    &:disabled {
      color: var(--color-muted);
    }
  }
  .disabled\:opacity-40 {
    &:disabled {
      opacity: 40%;
    }
  }
  .disabled\:opacity-50 {
    &:disabled {
      opacity: 50%;
    }
  }
  .sm\:grid-cols-2 {
    @media (width >= 40rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .sm\:flex-row {
    @media (width >= 40rem) {
      flex-direction: row;
    }
  }
  .sm\:items-center {
    @media (width >= 40rem) {
      align-items: center;
    }
  }
  .sm\:items-end {
    @media (width >= 40rem) {
      align-items: flex-end;
    }
  }
  .sm\:items-start {
    @media (width >= 40rem) {
      align-items: flex-start;
    }
  }
  .sm\:justify-between {
    @media (width >= 40rem) {
      justify-content: space-between;
    }
  }
  .sm\:gap-4 {
    @media (width >= 40rem) {
      gap: calc(var(--spacing) * 4);
    }
  }
  .sm\:p-8 {
    @media (width >= 40rem) {
      padding: calc(var(--spacing) * 8);
    }
  }
  .sm\:px-10 {
    @media (width >= 40rem) {
      padding-inline: calc(var(--spacing) * 10);
    }
  }
  .sm\:text-3xl {
    @media (width >= 40rem) {
      font-size: var(--text-3xl);
      line-height: var(--tw-leading, var(--text-3xl--line-height));
    }
  }
  .md\:flex {
    @media (width >= 48rem) {
      display: flex;
    }
  }
  .md\:hidden {
    @media (width >= 48rem) {
      display: none;
    }
  }
  .lg\:grid-cols-2 {
    @media (width >= 64rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .lg\:grid-cols-3 {
    @media (width >= 64rem) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .lg\:grid-cols-4 {
    @media (width >= 64rem) {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  .lg\:flex-row {
    @media (width >= 64rem) {
      flex-direction: row;
    }
  }
  .lg\:items-end {
    @media (width >= 64rem) {
      align-items: flex-end;
    }
  }
  .lg\:justify-between {
    @media (width >= 64rem) {
      justify-content: space-between;
    }
  }
  .lg\:gap-6 {
    @media (width >= 64rem) {
      gap: calc(var(--spacing) * 6);
    }
  }
  .lg\:px-8 {
    @media (width >= 64rem) {
      padding-inline: calc(var(--spacing) * 8);
    }
  }
  .lg\:py-8 {
    @media (width >= 64rem) {
      padding-block: calc(var(--spacing) * 8);
    }
  }
  .xl\:grid-cols-4 {
    @media (width >= 80rem) {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
}
@layer base {
  html {
    font-family: var(--font-sans);
    color: var(--color-body);
    background-color: var(--color-canvas);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  body {
    margin: 0;
  }
  h1, h2, h3, .font-display {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-ink);
  }
}
@keyframes dash-card-reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dash-card {
  animation: dash-card-reveal 0.5s ease-out forwards;
  animation-delay: 0.1s;
}
.dash-card.is-animated {
  animation: none;
  opacity: 1;
  transform: none;
}
.nav-label {
  display: inline;
}
@media (min-width: 768px) {
  .app-sidebar.is-collapsed .nav-label {
    display: none;
  }
}
@media (max-width: 767px) {
  .app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;
    width: 272px !important;
    max-width: 82vw;
    transform: translateX(-100%);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }
  .app-sidebar.is-mobile-open {
    transform: translateX(0);
  }
}
.app-sidebar-backdrop {
  display: none;
}
@media (max-width: 767px) {
  .app-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 40;
    background-color: rgba(16, 16, 16, 0.45);
    animation: app-backdrop-in 0.2s ease-out;
  }
}
.app-notif-backdrop {
  position: fixed;
  inset: 0;
  z-index: 39;
  background-color: transparent;
}
@keyframes app-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background-color: rgba(16, 16, 16, 0.5);
  padding: 2rem 1rem;
  overflow-y: auto;
}
.modal-panel {
  width: 100%;
  max-width: 56rem;
  max-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  background-color: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.modal-body {
  overflow-y: auto;
  padding: 1.25rem;
}
@media (max-width: 720px) {
  .modal-overlay {
    padding: 0;
    align-items: stretch;
  }
  .modal-panel {
    max-width: none;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
    border: none;
  }
  .modal-body {
    padding: 1rem;
  }
}
.cat-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background-color: rgba(16, 16, 16, 0.5);
  display: flex;
  justify-content: flex-end;
}
.cat-drawer {
  width: 100%;
  max-width: 34rem;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-canvas);
  border-left: 1px solid var(--color-hairline);
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.06);
}
.cat-drawer-header {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-hairline-soft);
}
.cat-drawer-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-surface-strong) transparent;
}
.cat-drawer-body::-webkit-scrollbar {
  width: 10px;
}
.cat-drawer-body::-webkit-scrollbar-thumb {
  background-color: var(--color-surface-strong);
  border-radius: 9999px;
  border: 3px solid var(--color-canvas);
}
.cat-drawer-section + .cat-drawer-section {
  margin-top: 1.5rem;
}
.cat-drawer-footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--color-hairline-soft);
  background-color: var(--color-surface-soft);
}
.cat-drawer-footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.cat-drawer-footer button:first-child {
  background-color: var(--color-canvas);
  color: var(--color-ink);
  border-color: var(--color-hairline);
}
.cat-drawer-footer button:first-child:hover {
  background-color: var(--color-surface-card);
}
.cat-drawer-footer button:last-child {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
  border-color: var(--color-primary);
}
.cat-drawer-footer button:last-child:hover {
  background-color: var(--color-primary-active);
  border-color: var(--color-primary-active);
}
.cat-drawer-footer button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.cat-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: none;
  background-color: transparent;
  color: var(--color-muted);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.cat-drawer-close:hover {
  background-color: var(--color-surface-card);
  color: var(--color-ink);
}
@media (max-width: 767px) {
  .cat-drawer {
    max-width: none;
    width: 100vw;
    border-left: none;
  }
  .cat-drawer-header, .cat-drawer-body {
    padding: 1rem;
  }
  .cat-drawer-footer {
    padding: 1rem;
  }
  .cat-drawer-footer button {
    flex: 1 1 0;
    height: 44px;
  }
  .attr-row-header > *:not(.attr-name-wrap) {
    min-height: 36px;
  }
}
.attr-row {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  background-color: var(--color-canvas);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color 0.15s, box-shadow 0.2s ease;
}
.attr-row:hover, .attr-row.is-expanded {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.attr-row:focus-within {
  border-color: var(--color-ink);
}
.attr-type-icon-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background-color: var(--color-surface-card);
  color: var(--color-body);
}
.attr-type-icon-glyph {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
.attr-row-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem;
}
.attr-name-wrap {
  flex: 1 1 auto;
  min-width: 6rem;
}
.attr-name-wrap :is(input) {
  width: 100%;
}
.attr-locked-pill, .attr-type-select, .attr-required-toggle, .attr-row-icon-btn {
  flex: 0 0 auto;
}
.attr-row-options-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease;
}
.attr-row-options-wrap.is-open {
  grid-template-rows: 1fr;
}
.attr-row-options-wrap:not(.is-open) {
  pointer-events: none;
}
.attr-row-options-wrap > .attr-row-options {
  overflow: hidden;
  min-height: 0;
}
.attr-row-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--color-hairline-soft);
  padding: 0.75rem 1rem 1rem;
  background-color: var(--color-surface-soft);
  transition: padding 0.2s ease, border-color 0.2s ease;
}
.attr-row-options-wrap:not(.is-open) > .attr-row-options {
  padding: 0;
  border-top-color: transparent;
}
.attr-type-select {
  flex: 0 0 auto;
  min-width: 7rem;
}
.attr-locked-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 10px;
  border-radius: 9999px;
  background-color: var(--color-surface-card);
  color: var(--color-body);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  flex: 0 0 auto;
}
.attr-locked-pill svg {
  flex: 0 0 auto;
  opacity: 0.7;
}
.attr-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 12px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.attr-pill--suggested {
  background-color: var(--color-canvas);
  border-color: var(--color-hairline);
  color: var(--color-muted);
  cursor: pointer;
}
.attr-pill--suggested:hover {
  border-color: var(--color-ink);
  color: var(--color-ink);
  background-color: var(--color-surface-card);
}
.attr-pill--selected {
  background-color: var(--color-surface-strong);
  color: var(--color-ink);
}
.attr-pill-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-left: 2px;
  border-radius: 9999px;
  color: var(--color-muted);
  transition: color 0.15s, background-color 0.15s;
}
.attr-pill-remove:hover {
  color: var(--color-ink);
  background-color: rgba(0, 0, 0, 0.08);
}
.attr-pill-dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  flex: 0 0 auto;
}
.attr-color-picker {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.attr-color-expand-toggle, .attr-color-add-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.attr-color-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.375rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s;
}
.attr-color-summary:hover {
  background-color: var(--color-surface-strong);
}
.attr-color-stack {
  display: flex;
  align-items: center;
}
.attr-color-stack-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  border: 2px solid var(--color-canvas);
  box-shadow: 0 0 0 1px var(--color-hairline);
  margin-left: -6px;
  flex: 0 0 auto;
}
.attr-color-stack-dot:first-child {
  margin-left: 0;
}
.attr-color-stack-more {
  background-color: var(--color-surface-strong);
  color: var(--color-ink);
  font-size: 9px;
  font-weight: 600;
}
.attr-color-count {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
}
.attr-color-summary .attr-chevron {
  margin-left: auto;
}
.attr-color-expand-toggle:checked ~ .attr-color-summary .attr-chevron {
  transform: rotate(180deg);
}
.attr-value-panel {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border: 1px solid var(--color-hairline-soft);
  border-radius: var(--radius-md);
  background-color: var(--color-canvas);
  transition: padding 0.2s ease, border-color 0.2s ease;
}
.attr-value-panel-actions {
  margin-top: 0.5rem;
  gap: 0.5rem;
}
.attr-color-body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease;
}
.attr-color-expand-toggle:checked ~ .attr-color-body-wrap {
  grid-template-rows: 1fr;
}
.attr-color-body-wrap > .attr-color-body {
  overflow: hidden;
  min-height: 0;
}
.attr-color-expand-toggle:not(:checked) ~ .attr-color-body-wrap > .attr-color-body {
  padding: 0;
  border-color: transparent;
}
.attr-color-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-height: 7rem;
  overflow-y: auto;
  padding: 0.5rem;
}
.attr-color-swatch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  cursor: pointer;
  flex: 0 0 auto;
  transition: transform 0.12s, box-shadow 0.12s;
}
.attr-color-swatch:hover {
  box-shadow: 0 0 0 2px var(--color-canvas), 0 0 0 3px var(--color-hairline);
}
.attr-color-swatch.is-selected {
  box-shadow: 0 0 0 2px var(--color-canvas), 0 0 0 4px var(--color-ink);
  border-color: transparent;
}
.attr-color-swatch--add {
  background-color: var(--color-canvas);
  border: 1px dashed var(--color-hairline);
  color: var(--color-muted-soft);
}
.attr-color-swatch--add:hover {
  border-color: var(--color-ink);
  color: var(--color-ink);
}
.attr-color-add-toggle:focus-visible ~ .attr-color-body-wrap .attr-color-grid .attr-color-swatch--add {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}
.attr-color-add-panel {
  display: none;
}
.attr-color-add-toggle:checked ~ .attr-color-body-wrap .attr-color-add-panel {
  display: flex;
}
.attr-required-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.375rem;
  padding: 0;
}
.attr-required-toggle-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-muted);
  white-space: nowrap;
}
.attr-chevron {
  transition: transform 0.15s;
}
.attr-chevron.is-open {
  transform: rotate(180deg);
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  padding: 2px 12px;
  font-size: 13px;
  font-weight: 500;
  background-color: var(--color-surface-card);
  color: var(--color-ink);
}
.badge-nfs {
  background-color: var(--color-surface-dark);
  color: var(--color-on-dark);
}
.badge-nfs-descendant {
  background-color: #e0f2fe;
  color: #0369a1;
}
.attr-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  background-color: var(--color-surface-soft);
  color: var(--color-body);
}
.color-swatch {
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.12s, box-shadow 0.12s;
}
.color-swatch:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 2px var(--color-canvas), 0 0 0 3px rgba(0, 0, 0, 0.15);
}
.suggestion-pill {
  display: inline-flex;
  align-items: center;
  height: 26px;
  border-radius: 9999px;
  padding: 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}
.suggestion-pill:hover {
  color: var(--color-ink);
  background-color: var(--color-surface-card);
  border-color: var(--color-ink);
}
.color-swatch-static {
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: inline-block;
}
.text-xs {
  font-size: 0.8125rem;
  line-height: 1.4;
}
.attr-chip {
  cursor: default;
}
.attr-chip[onclick], button.attr-chip {
  cursor: pointer;
}
.attr-chip-selected {
  background-color: var(--color-ink);
  color: var(--color-on-primary);
}
.prod-photo-dropzone {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 84px;
  border: 1px dashed var(--color-hairline);
  border-radius: var(--radius-md);
  background-color: var(--color-surface-soft);
  transition: border-color 0.15s, background-color 0.15s;
}
.prod-photo-dropzone:hover {
  border-color: var(--color-ink);
}
.prod-photo-dropzone.has-photo {
  border-style: solid;
  background-color: var(--color-canvas);
  padding: 0.625rem;
}
.prod-photo-input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.prod-photo-input:disabled {
  cursor: not-allowed;
}
.prod-photo-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  padding: 1.25rem;
  text-align: center;
  color: var(--color-muted);
}
.prod-photo-empty-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-ink);
}
.prod-photo-empty-hint {
  font-size: 0.75rem;
  color: var(--color-muted-soft);
}
.prod-photo-preview {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
}
.prod-photo-thumb {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-hairline);
  object-fit: cover;
}
.prod-photo-preview-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1 1 auto;
}
.prod-photo-preview-name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prod-photo-preview-hint {
  font-size: 0.75rem;
  color: var(--color-muted-soft);
}
.prod-photo-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 9999px;
  background-color: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  color: var(--color-muted);
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.prod-photo-remove:hover {
  background-color: var(--color-surface-card);
  color: var(--color-error);
  border-color: var(--color-error);
}
.cat-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.cat-search {
  position: relative;
  flex: 1 1 200px;
  min-width: 0;
}
.cat-search input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  background-color: var(--color-canvas);
  padding: 0 2rem 0 2.25rem;
  font-size: 0.875rem;
  color: var(--color-ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.cat-search input:focus {
  border-color: var(--color-ink);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.06);
}
.cat-search-icon {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted-soft);
  pointer-events: none;
}
.cat-search-clear {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  color: var(--color-muted-soft);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.cat-search-clear:hover {
  background-color: var(--color-surface-card);
  color: var(--color-ink);
}
.cat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  background-color: var(--color-canvas);
  color: var(--color-ink);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.cat-btn:hover {
  background-color: var(--color-surface-card);
}
.cat-btn:active {
  transform: translateY(1px);
}
.cat-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.cat-btn:disabled:hover {
  background-color: var(--color-canvas);
}
.cat-btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-on-primary);
}
.cat-btn-primary:hover {
  background-color: var(--color-primary-active);
  border-color: var(--color-primary-active);
}
.cat-btn-danger:hover:not(:disabled) {
  color: var(--color-error);
  border-color: var(--color-error);
  background-color: rgba(239, 68, 68, 0.06);
}
.cat-btn-sm {
  height: 38px;
  padding: 0 0.75rem;
  font-size: 0.8125rem;
}
.cat-stats {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  background-color: var(--color-canvas);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.cat-stat {
  flex: 1 1 120px;
  padding: 0.75rem 1rem;
  border-right: 1px solid var(--color-hairline-soft);
}
.cat-stat:last-child {
  border-right: none;
}
.cat-stat-value {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.375rem;
  line-height: 1.1;
  color: var(--color-ink);
  font-variant-numeric: tabular-nums;
}
.cat-stat-label {
  margin-top: 0.15rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.cat-page {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 7rem);
}
@media (min-width: 1024px) {
  .cat-page {
    min-height: calc(100vh - 8rem);
  }
}
.cat-page > * {
  flex: 0 0 auto;
}
.cat-shell {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
}
@media (max-width: 1023px) {
  .cat-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    flex: 0 0 auto;
  }
}
.cat-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  background-color: var(--color-canvas);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.cat-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex: 0 0 auto;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-hairline-soft);
  background-color: var(--color-surface-soft);
}
.cat-panel-title {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.cat-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-surface-strong) transparent;
}
.cat-scroll::-webkit-scrollbar {
  width: 10px;
}
.cat-scroll::-webkit-scrollbar-thumb {
  background-color: var(--color-surface-strong);
  border-radius: 9999px;
  border: 3px solid var(--color-canvas);
}
@media (max-width: 1023px) {
  .cat-tree {
    max-height: 24rem;
  }
  .cat-detail-scroll {
    max-height: none;
  }
}
.cat-tree {
  padding: 0.625rem;
}
.cat-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 42px;
  padding: 0.35rem 0.5rem;
  margin-bottom: 3px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  color: var(--color-body);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.cat-row[data-parent="root"] {
  margin-top: 0.5rem;
  background-color: var(--color-surface-soft);
  border-color: var(--color-hairline-soft);
}
.cat-row[data-parent="root"]:first-child {
  margin-top: 0;
}
.cat-row:hover {
  background-color: var(--color-surface-card);
  border-color: var(--color-hairline);
}
.cat-row.is-selected, .cat-row[data-parent="root"].is-selected, .cat-row.is-selected:hover {
  background-color: var(--color-surface-card);
  border-color: var(--color-surface-strong);
  color: var(--color-ink);
}
.cat-row.is-selected::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  border-radius: 9999px;
  background-color: var(--color-ink);
}
.cat-indent {
  flex: 0 0 16px;
  align-self: stretch;
  margin-left: 4px;
  border-left: 1px solid var(--color-hairline);
}
.cat-caret {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-xs);
  color: var(--color-muted-soft);
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s, color 0.15s;
}
.cat-caret:hover {
  background-color: var(--color-surface-strong);
  color: var(--color-ink);
}
.cat-row.is-selected .cat-caret:hover {
  background-color: var(--color-surface-strong);
  color: var(--color-ink);
}
.cat-caret.is-open {
  transform: rotate(90deg);
}
.cat-caret-spacer {
  flex: 0 0 20px;
}
.cat-tile {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background-color: var(--color-surface-card);
  color: var(--color-muted);
  transition: background-color 0.15s, color 0.15s;
}
.cat-tile-leaf {
  background-color: #eef2ff;
  color: #4f46e5;
}
.cat-tile-branch {
  background-color: #fff7ed;
  color: #c2410c;
}
.cat-tile-nfs {
  background-color: var(--color-surface-dark);
  color: var(--color-on-dark);
}
.cat-tile-nfs-soft {
  background-color: #e0f2fe;
  color: #0369a1;
}
.cat-row.is-selected .cat-tile {
  background-color: var(--color-canvas);
  color: var(--color-ink);
}
.cat-row-body {
  flex: 1 1 auto;
  min-width: 0;
}
.cat-row-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
}
.cat-row.is-selected .cat-row-name {
  font-weight: 600;
}
.cat-row-meta {
  display: block;
  margin-top: 1px;
  font-size: 0.6875rem;
  color: var(--color-muted-soft);
  font-variant-numeric: tabular-nums;
}
.cat-tag {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  border-radius: 9999px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.5;
}
.cat-tag-nfs {
  background-color: var(--color-surface-dark);
  color: var(--color-on-dark);
}
.cat-tag-nfs-soft {
  background-color: #e0f2fe;
  color: #0369a1;
}
.cat-tag-soft {
  background-color: var(--color-surface-card);
  color: var(--color-muted);
}
.cat-detail-head {
  flex: 0 0 auto;
  padding: 1.125rem 1.25rem 1rem;
  border-bottom: 1px solid var(--color-hairline-soft);
}
.cat-detail-scroll {
  padding-bottom: 1.25rem;
}
.cat-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  color: var(--color-muted);
}
.cat-crumb {
  border-radius: var(--radius-xs);
  padding: 1px 4px;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.cat-crumb:hover {
  background-color: var(--color-surface-card);
  color: var(--color-ink);
}
.cat-rename-input {
  width: 100%;
  max-width: 22rem;
  border: 1px solid var(--color-ink);
  border-radius: var(--radius-md);
  background-color: var(--color-canvas);
  padding: 0.35rem 0.6rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  outline: none;
}
.cat-metrics {
  display: flex;
  padding: 1rem 1.25rem 0.25rem;
}
.cat-metric {
  flex: 0 0 auto;
  min-width: 7rem;
  border: 1px solid var(--color-hairline-soft);
  border-radius: var(--radius-md);
  background-color: var(--color-surface-soft);
  padding: 0.625rem 0.75rem;
}
.cat-metric-value {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.25rem;
  line-height: 1.15;
  color: var(--color-ink);
  font-variant-numeric: tabular-nums;
}
.cat-metric.is-zero {
  background-color: var(--color-canvas);
  border-style: dashed;
}
.cat-metric.is-zero .cat-metric-value {
  color: var(--color-surface-strong);
}
.cat-metric-label {
  margin-top: 0.1rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.cat-section {
  padding: 1rem 1.25rem 0;
}
.cat-section:last-child {
  padding-bottom: 1.25rem;
}
.cat-section-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.625rem;
}
.cat-section-head > span:first-child {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  white-space: nowrap;
}
.cat-rule {
  flex: 1 1 auto;
  height: 1px;
  background-color: var(--color-hairline-soft);
}
.cat-attr {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  background-color: var(--color-canvas);
  padding: 0.5rem 0.625rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.cat-attr:hover {
  border-color: var(--color-surface-strong);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.cat-attr.is-inherited {
  background-color: var(--color-surface-soft);
  border-style: dashed;
}
.cat-attr-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-ink);
}
.cat-attr.is-inherited .cat-attr-name {
  color: var(--color-body);
  font-weight: 500;
}
.cat-type-tag {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-xs);
  background-color: var(--color-surface-card);
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.cat-req-tag {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-xs);
  background-color: rgba(245, 158, 11, 0.14);
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b45309;
}
.cat-opt {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 9999px;
  background-color: var(--color-surface-soft);
  padding: 3px 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-body);
}
.cat-attr.is-inherited .cat-opt {
  background-color: var(--color-canvas);
}
.cat-none {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 44px;
  border: 1px dashed var(--color-hairline);
  border-radius: var(--radius-md);
  background-color: var(--color-surface-soft);
  color: var(--color-surface-strong);
}
.cat-none--bordered {
  flex-direction: column;
  height: auto;
  min-height: 6rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}
.cat-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.625rem;
}
.cat-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  background-color: var(--color-canvas);
  padding: 0.625rem 0.75rem;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.18s, border-color 0.15s;
}
.cat-sub:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: var(--color-surface-strong);
}
.cat-sub-arrow {
  color: var(--color-muted-soft);
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), color 0.15s;
}
.cat-sub:hover .cat-sub-arrow {
  transform: translateX(2px);
  color: var(--color-ink);
}
.cat-empty {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}
.cat-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background-color: var(--color-surface-card);
  color: var(--color-muted-soft);
}
.cat-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  border-radius: var(--radius-md);
  padding: 0.7rem 0.875rem;
  font-size: 0.8125rem;
  animation: cat-alert-in 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.cat-alert-error {
  border: 1px solid rgba(239, 68, 68, 0.35);
  background-color: rgba(239, 68, 68, 0.07);
  color: #b91c1c;
}
.cat-alert-success {
  border: 1px solid rgba(16, 185, 129, 0.35);
  background-color: rgba(16, 185, 129, 0.07);
  color: #047857;
}
@keyframes cat-alert-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cat-field-label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.cat-input {
  width: 100%;
  height: 38px;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  background-color: var(--color-canvas);
  padding: 0 0.75rem;
  font-size: 0.875rem;
  color: var(--color-ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.cat-input:focus {
  border-color: var(--color-ink);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.06);
}
.cat-input::placeholder {
  color: var(--color-muted);
  opacity: 1;
}
.cat-input-compact {
  width: 5.5rem;
  flex: 0 0 auto;
}
.cat-variant-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-hairline);
  background-color: var(--color-canvas);
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}
.cat-variant-add:hover {
  background-color: var(--color-surface-card);
}
.cat-preset {
  border-radius: 9999px;
  border: 1px solid var(--color-hairline);
  background-color: var(--color-canvas);
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-ink);
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}
.cat-preset:hover:not(:disabled) {
  background-color: var(--color-surface-card);
  transform: translateY(-1px);
}
.cat-preset:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  .cat-row, .cat-sub, .cat-caret, .cat-preset, .cat-btn, .cat-alert {
    transition: none;
    animation: none;
  }
}
.prod-page {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 7rem);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .prod-page {
    height: calc(100vh - 8rem);
  }
}
.prod-page > * {
  flex: 0 0 auto;
}
.prod-table-wrap {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.prod-table-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-surface-strong) transparent;
}
.prod-table-scroll::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.prod-table-scroll::-webkit-scrollbar-thumb {
  background-color: var(--color-surface-strong);
  border-radius: 9999px;
  border: 3px solid var(--color-canvas);
}
.prod-table-scroll thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: var(--color-surface-card);
}
@media (max-width: 1023px) {
  .prod-page {
    height: auto;
    overflow: visible;
  }
  .prod-table-wrap {
    flex: 0 0 auto;
    max-height: 32rem;
  }
}
.inv-toolbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  background-color: var(--color-surface-soft);
  border: 1px solid var(--color-hairline-soft);
  border-radius: var(--radius-lg);
  padding: 12px;
}
.inv-filters-toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.inv-search {
  flex: 1 1 240px;
  max-width: 280px;
  min-width: 0;
}
.inv-filters-toggle-btn {
  display: none;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-hairline);
  background-color: var(--color-canvas);
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.inv-filters-toggle-btn:hover {
  background-color: var(--color-surface-card);
}
.inv-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 9999px;
  background-color: var(--color-ink);
  color: var(--color-on-primary);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}
.inv-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.inv-filter-item {
  flex-shrink: 0;
  min-width: 0;
}
.inv-filters-close, .inv-filters-backdrop {
  display: none;
}
.inv-price-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-hairline);
  background-color: var(--color-canvas);
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.inv-price-trigger:hover {
  background-color: var(--color-surface-card);
}
.inv-price-trigger--active {
  border-color: var(--color-ink);
}
.inv-filter-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 9999px;
  background-color: var(--color-ink);
}
.inv-price-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  box-sizing: border-box;
  width: 440px;
  max-width: calc(100vw - 32px);
  padding: 16px;
  background-color: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.inv-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.inv-price-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.inv-price-field-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
}
.inv-price-field-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.inv-price-op {
  flex: 0 0 68px;
  width: 68px;
  min-width: 0;
  padding: 0 4px;
  text-align: center;
}
.inv-price-value {
  flex: 1 1 auto;
  min-width: 0;
}
@media (max-width: 767px) {
  .inv-filters-toggle-btn {
    display: inline-flex;
  }
  .inv-filters {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-height: 80vh;
    overflow-y: auto;
    background-color: var(--color-canvas);
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
    padding: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    transition: transform 0.25s ease;
  }
  .inv-filters-toggle-input:checked ~ .inv-filters {
    transform: translateY(0);
  }
  .inv-filters .inv-filter-item {
    width: 100%;
  }
  .inv-filters .inv-price-trigger {
    width: 100%;
    justify-content: space-between;
  }
  .inv-filters-close {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-ink);
    padding-bottom: 8px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--color-hairline-soft);
    cursor: pointer;
  }
  .inv-filters-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 40;
    background-color: rgba(0, 0, 0, 0.32);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .inv-filters-toggle-input:checked ~ .inv-filters-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  .inv-price-panel {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 8px;
    box-shadow: none;
  }
  .inv-price-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .inv-price-trigger, .inv-filters, .inv-filters-backdrop {
    transition: none;
  }
}
.pd-page {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 7rem);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .pd-page {
    height: calc(100vh - 8rem);
  }
}
.pd-page > * {
  flex: 0 0 auto;
}
.pd-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pd-back {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-hairline);
  color: var(--color-muted);
  transition: background-color 0.15s, color 0.15s;
}
.pd-back:hover {
  background-color: var(--color-surface-card);
  color: var(--color-ink);
}
.pd-heading-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.pd-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.375rem;
  color: var(--color-ink);
}
.pd-subline {
  margin-top: 0.125rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
}
.pd-subline code {
  font-family: ui-monospace, "JetBrains Mono", monospace;
}
.pd-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  grid-template-rows: minmax(0, 1fr);
  gap: 1rem;
  flex: 1 1 auto;
  min-height: 0;
}
.pd-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 1rem;
}
.pd-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-surface-strong) transparent;
}
.pd-scroll::-webkit-scrollbar {
  width: 10px;
}
.pd-scroll::-webkit-scrollbar-thumb {
  background-color: var(--color-surface-strong);
  border-radius: 9999px;
  border: 3px solid var(--color-canvas);
}
.pd-card {
  flex: 0 0 auto;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  background-color: var(--color-canvas);
  padding: 1.125rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.pd-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 1rem;
  color: var(--color-ink);
  margin-bottom: 0.875rem;
}
.pd-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
}
@media (min-width: 480px) {
  .pd-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.pd-metric {
  border: 1px solid var(--color-hairline-soft);
  border-radius: var(--radius-md);
  background-color: var(--color-surface-soft);
  padding: 0.625rem 0.75rem;
}
.pd-metric-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 1.0625rem;
  line-height: 1.2;
  color: var(--color-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pd-metric.is-error .pd-metric-value {
  color: var(--color-error);
}
.pd-metric.is-warning .pd-metric-value {
  color: var(--color-warning);
}
.pd-metric.is-muted .pd-metric-value {
  color: var(--color-muted-soft);
}
.pd-metric-label {
  margin-top: 0.15rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.pd-attrs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pd-attr-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
}
.pd-attr-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-ink);
}
.pd-attr-values {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.375rem;
}
.pd-archive-row {
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  background-color: var(--color-surface-soft);
  padding: 0.75rem 1rem;
}
.pd-photo-card {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.pd-photo-frame {
  flex: 1 1 auto;
  min-height: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-hairline);
  overflow: hidden;
  background-color: var(--color-surface-card);
}
.pd-photo-frame img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.pd-qr-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pd-qr-row img {
  flex: 0 0 auto;
  height: 4.5rem;
  width: 4.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-hairline);
}
.pd-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pd-movement-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8125rem;
}
@media (max-width: 1023px) {
  .pd-page {
    height: auto;
    overflow: visible;
  }
  .pd-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    flex: 0 0 auto;
  }
  .pd-scroll {
    flex: 0 0 auto;
    overflow-y: visible;
  }
  .pd-photo-card {
    flex: 0 0 auto;
  }
  .pd-photo-frame {
    height: 14rem;
  }
}
@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-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-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@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-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-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@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-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@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-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --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-duration: initial;
      --tw-ease: initial;
    }
  }
}
