/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: 'Geist', 'Inter', system-ui, sans-serif;
    --font-mono: 'Geist Mono', 'SF Mono', Consolas, monospace;
    --color-gray-50: oklch(98.5% 0.002 247.839);
    --color-gray-100: oklch(96.7% 0.003 264.542);
    --color-gray-200: oklch(92.8% 0.006 264.531);
    --color-gray-300: oklch(87.2% 0.01 258.338);
    --color-gray-400: oklch(70.7% 0.022 261.325);
    --color-gray-500: oklch(55.1% 0.027 264.364);
    --color-gray-600: oklch(44.6% 0.03 256.802);
    --color-gray-700: oklch(37.3% 0.034 259.733);
    --color-neutral-50: oklch(98.5% 0 0);
    --color-neutral-100: oklch(97% 0 0);
    --color-neutral-200: oklch(92.2% 0 0);
    --color-neutral-300: oklch(87% 0 0);
    --color-neutral-400: oklch(70.8% 0 0);
    --color-neutral-500: oklch(55.6% 0 0);
    --color-neutral-600: oklch(43.9% 0 0);
    --color-neutral-700: oklch(37.1% 0 0);
    --color-neutral-800: oklch(26.9% 0 0);
    --color-neutral-900: oklch(20.5% 0 0);
    --color-neutral-950: oklch(14.5% 0 0);
    --color-white: #fff;
    --spacing: 0.25rem;
    --breakpoint-sm: 40rem;
    --breakpoint-md: 48rem;
    --breakpoint-lg: 64rem;
    --breakpoint-xl: 80rem;
    --breakpoint-2xl: 96rem;
    --container-sm: 24rem;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;
    --text-8xl: 6rem;
    --font-weight-bold: 700;
    --tracking-tight: -0.025em;
    --tracking-normal: 0em;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
    --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);
    --text-caption: 0.75rem;
    --text-caption--line-height: 1rem;
    --text-small: 0.875rem;
    --text-body: 1rem;
    --text-body--line-height: 1.5rem;
    --text-h4: 1.25rem;
    --text-h3: 1.5rem;
    --text-h2: 1.875rem;
    --color-primary: #111827;
    --color-surface: #ffffff;
    --color-surface-muted: #fafafa;
    --color-surface-hover: #f4f4f5;
    --color-border: #e4e4e7;
    --color-border-light: #f0f0f1;
    --color-text-primary: #09090b;
    --color-text-secondary: #52525b;
    --color-text-muted: #71717a;
    --color-accent: #2563eb;
    --color-accent-hover: #1d4ed8;
    --color-accent-light: #eff6ff;
    --color-success: #16a34a;
    --color-success-light: #f0fdf4;
    --color-warning: #f59e0b;
    --color-warning-light: #fffbeb;
    --color-danger: #dc2626;
    --color-danger-light: #fef2f2;
    --color-info: #2563eb;
    --color-info-light: #eff6ff;
    --color-dark-surface: #09090b;
    --color-dark-surface-muted: #18181b;
    --color-dark-surface-hover: #27272a;
    --color-dark-border: #27272a;
    --color-dark-border-light: #18181b;
    --color-dark-text-primary: #fafafa;
    --color-dark-text-secondary: #a1a1aa;
    --color-dark-text-muted: #71717a;
    --spacing-0: 0px;
    --spacing-4: 16px;
    --spacing-6: 32px;
    --spacing-8: 48px;
    --shadow-level-0: 0 0 0 0 transparent;
    --shadow-level-1: 0 1px 3px 0 rgb(0 0 0 / 0.04), 0 1px 2px -1px rgb(0 0 0 / 0.06);
    --shadow-level-2: 0 4px 12px -2px rgb(0 0 0 / 0.06), 0 2px 4px -2px rgb(0 0 0 / 0.04);
    --shadow-dark-level-1: 0 1px 3px 0 rgb(0 0 0 / 0.3), 0 1px 2px -1px rgb(0 0 0 / 0.4);
    --shadow-dark-level-2: 0 4px 12px -2px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --duration-fast: 120ms;
    --duration-normal: 180ms;
    --sidebar-width: 280px;
    --sidebar-collapsed: 72px;
    --topbar-height: 72px;
    --content-max: 1600px;
  }
}
@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;
  }
  .invisible {
    visibility: hidden;
  }
  .visible {
    visibility: visible;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .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;
    }
  }
  .m-4 {
    margin: var(--spacing-4);
  }
  .mt-4 {
    margin-top: var(--spacing-4);
  }
  .mb-6 {
    margin-bottom: var(--spacing-6);
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .table {
    display: table;
  }
  .flex-shrink {
    flex-shrink: 1;
  }
  .grow {
    flex-grow: 1;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .gap-8 {
    gap: var(--spacing-8);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .p-4 {
    padding: var(--spacing-4);
  }
  .py-16 {
    padding-block: calc(var(--spacing) * 16);
  }
  .pb-0 {
    padding-bottom: var(--spacing-0);
  }
  .pb-6 {
    padding-bottom: var(--spacing-6);
  }
  .text-center {
    text-align: center;
  }
  .text-right {
    text-align: right;
  }
  .text-3xl {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
  }
  .text-body {
    font-size: var(--text-body);
    line-height: var(--tw-leading, var(--text-body--line-height));
  }
  .text-caption {
    font-size: var(--text-caption);
    line-height: var(--tw-leading, var(--text-caption--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .text-danger {
    color: var(--color-danger);
  }
  .lowercase {
    text-transform: lowercase;
  }
  .uppercase {
    text-transform: uppercase;
  }
  .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);
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .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,);
  }
  .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,);
  }
  .backdrop-filter {
    -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,);
  }
  .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 {
    --tw-ease: var(--ease-in);
    transition-timing-function: var(--ease-in);
  }
  .ease-in-out {
    --tw-ease: var(--ease-in-out);
    transition-timing-function: var(--ease-in-out);
  }
  .ease-out {
    --tw-ease: var(--ease-out);
    transition-timing-function: var(--ease-out);
  }
}
@layer base {
  *, *::before, *::after {
    border-color: var(--color-border);
  }
  html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
  body {
    font-family: var(--font-sans);
    font-size: var(--text-body);
    line-height: 1.5rem;
    color: var(--color-text-primary);
    background: var(--color-surface);
  }
  .dark body, body.dark {
    color: var(--color-dark-text-primary);
    background: var(--color-dark-surface);
  }
  .dark *, .dark *::before, .dark *::after {
    border-color: var(--color-dark-border);
  }
}
.v-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  outline: none;
}
.v-button:focus-visible {
  box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-accent);
}
.v-button:disabled {
  opacity: 0.5;
  pointer-events: none;
}
.v-button--xs {
  padding: 4px 8px;
  font-size: 12px;
}
.v-button--sm {
  padding: 6px 12px;
  font-size: 13px;
}
.v-button--md {
  padding: 8px 16px;
  font-size: 14px;
}
.v-button--lg {
  padding: 10px 24px;
  font-size: 15px;
}
.v-button--xl {
  padding: 12px 32px;
  font-size: 16px;
}
.v-button--primary {
  background: var(--color-accent);
  color: #fff;
}
.v-button--primary:hover {
  background: var(--color-accent-hover);
}
.v-button--secondary {
  background: var(--color-surface);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}
.v-button--secondary:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-border);
}
.v-button--ghost {
  background: transparent;
  color: var(--color-text-secondary);
}
.v-button--ghost:hover {
  background: var(--color-surface-hover);
  color: var(--color-text-primary);
}
.v-button--danger {
  background: var(--color-danger);
  color: #fff;
}
.v-button--danger:hover {
  background: #b91c1c;
}
.v-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-level-0);
  transition: box-shadow var(--duration-normal) var(--ease-out);
}
.v-card:hover {
  box-shadow: var(--shadow-level-1);
}
.dark .v-card {
  background: var(--color-dark-surface);
  border-color: var(--color-dark-border);
}
.dark .v-card:hover {
  box-shadow: var(--shadow-dark-level-1);
}
.v-card-header {
  padding: 24px 24px 0 24px;
}
.v-card-body {
  padding: 24px;
}
.v-card-footer {
  padding: 0 24px 24px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.v-input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: var(--text-small);
  padding: 9px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text-primary);
  transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
  outline: none;
}
.v-input::placeholder {
  color: var(--color-text-muted);
}
.v-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}
.v-input--error {
  border-color: var(--color-danger);
}
.v-input--error:focus {
  box-shadow: 0 0 0 3px var(--color-danger-light);
}
.dark .v-input {
  background: var(--color-dark-surface);
  border-color: var(--color-dark-border);
  color: var(--color-dark-text-primary);
}
.dark .v-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.15);
}
.v-select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: var(--text-small);
  padding: 9px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text-primary);
  cursor: pointer;
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-out);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}
.v-select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}
.dark .v-select {
  background-color: var(--color-dark-surface);
  border-color: var(--color-dark-border);
  color: var(--color-dark-text-primary);
}
.v-textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: var(--text-small);
  padding: 9px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text-primary);
  resize: vertical;
  min-height: 100px;
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}
.v-textarea::placeholder {
  color: var(--color-text-muted);
}
.v-textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}
.dark .v-textarea {
  background: var(--color-dark-surface);
  border-color: var(--color-dark-border);
  color: var(--color-dark-text-primary);
}
.v-label {
  display: block;
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}
.dark .v-label {
  color: var(--color-dark-text-primary);
}
.v-hint {
  font-size: var(--text-caption);
  color: var(--color-text-muted);
  margin-top: 4px;
}
.dark .v-hint {
  color: var(--color-dark-text-muted);
}
.v-error {
  font-size: var(--text-caption);
  color: var(--color-danger);
  margin-top: 4px;
}
.v-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: var(--text-caption);
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 9999px;
  line-height: 1.25rem;
  white-space: nowrap;
}
.v-badge--default {
  background: var(--color-surface-hover);
  color: var(--color-text-secondary);
}
.v-badge--accent {
  background: var(--color-accent-light);
  color: var(--color-accent);
}
.v-badge--success {
  background: var(--color-success-light);
  color: var(--color-success);
}
.v-badge--warning {
  background: var(--color-warning-light);
  color: var(--color-warning);
}
.v-badge--danger {
  background: var(--color-danger-light);
  color: var(--color-danger);
}
.dark .v-badge--default {
  background: var(--color-dark-surface-hover);
  color: var(--color-dark-text-secondary);
}
.v-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgb(0 0 0 / 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.v-modal {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-level-2);
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
}
.v-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 0 24px;
}
.v-modal-title {
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--color-text-primary);
}
.v-modal-body {
  padding: 16px 24px;
}
.v-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 24px 24px 24px;
}
.dark .v-modal {
  background: var(--color-dark-surface);
}
.dark .v-modal-title {
  color: var(--color-dark-text-primary);
}
.v-dropdown {
  position: relative;
  display: inline-block;
}
.v-dropdown-menu {
  position: absolute;
  z-index: 50;
  min-width: 200px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-level-2);
  padding: 4px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
  pointer-events: none;
}
.v-dropdown-menu--open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.v-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  font-size: var(--text-small);
  color: var(--color-text-primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-out);
  border: none;
  background: none;
  text-align: left;
  font-family: var(--font-sans);
}
.v-dropdown-item:hover {
  background: var(--color-surface-hover);
}
.v-dropdown-item--danger {
  color: var(--color-danger);
}
.v-dropdown-divider {
  margin: 4px 0;
  border-top: 1px solid var(--color-border);
}
.dark .v-dropdown-menu {
  background: var(--color-dark-surface-muted);
  border-color: var(--color-dark-border);
}
.dark .v-dropdown-item {
  color: var(--color-dark-text-primary);
}
.dark .v-dropdown-item:hover {
  background: var(--color-dark-surface-hover);
}
.dark .v-dropdown-divider {
  border-color: var(--color-dark-border);
}
.v-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
}
.v-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-text-secondary);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--font-sans);
  margin-bottom: -1px;
}
.v-tab:hover {
  color: var(--color-text-primary);
}
.v-tab--active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}
.dark .v-tabs {
  border-color: var(--color-dark-border);
}
.dark .v-tab {
  color: var(--color-dark-text-secondary);
}
.dark .v-tab:hover {
  color: var(--color-dark-text-primary);
}
.dark .v-tab--active {
  color: var(--color-accent);
}
.v-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.dark .v-table-wrapper {
  border-color: var(--color-dark-border);
}
.v-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-small);
}
.v-table th {
  text-align: left;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface-muted);
  white-space: nowrap;
}
.v-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-text-primary);
}
.v-table tr:last-child td {
  border-bottom: none;
}
.v-table tr:hover td {
  background: var(--color-surface-muted);
}
.dark .v-table th {
  color: var(--color-dark-text-secondary);
  border-color: var(--color-dark-border);
  background: var(--color-dark-surface-muted);
}
.dark .v-table td {
  border-color: var(--color-dark-border-light);
  color: var(--color-dark-text-primary);
}
.dark .v-table tr:hover td {
  background: var(--color-dark-surface-muted);
}
.v-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  text-align: center;
}
.v-empty-icon {
  width: 48px;
  height: 48px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
.v-empty-title {
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}
.v-empty-desc {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin-bottom: 24px;
  max-width: 400px;
}
.dark .v-empty-title {
  color: var(--color-dark-text-primary);
}
.dark .v-empty-desc {
  color: var(--color-dark-text-muted);
}
.dark .v-empty-icon {
  color: var(--color-dark-text-muted);
}
.v-skeleton {
  background: var(--color-surface-hover);
  border-radius: var(--radius-sm);
  animation: v-skeleton-pulse 1.5s ease-in-out infinite;
}
@keyframes v-skeleton-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.dark .v-skeleton {
  background: var(--color-dark-surface-hover);
}
.v-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: var(--text-small);
  line-height: 1.25rem;
}
.v-alert--info {
  background: var(--color-info-light);
  color: var(--color-info);
  border: 1px solid rgb(37 99 235 / 0.15);
}
.v-alert--success {
  background: var(--color-success-light);
  color: var(--color-success);
  border: 1px solid rgb(22 163 74 / 0.15);
}
.v-alert--warning {
  background: var(--color-warning-light);
  color: #b45309;
  border: 1px solid rgb(245 158 11 / 0.15);
}
.v-alert--danger {
  background: var(--color-danger-light);
  color: var(--color-danger);
  border: 1px solid rgb(220 38 38 / 0.15);
}
.v-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 600;
  flex-shrink: 0;
}
.v-avatar--xs {
  width: 20px;
  height: 20px;
  font-size: 10px;
}
.v-avatar--sm {
  width: 28px;
  height: 28px;
  font-size: 12px;
}
.v-avatar--md {
  width: 36px;
  height: 36px;
  font-size: 14px;
}
.v-avatar--lg {
  width: 48px;
  height: 48px;
  font-size: 18px;
}
.v-avatar--xl {
  width: 64px;
  height: 64px;
  font-size: 24px;
}
.v-avatar--accent {
  background: var(--color-accent-light);
  color: var(--color-accent);
}
.v-avatar--muted {
  background: var(--color-surface-hover);
  color: var(--color-text-secondary);
}
.dark .v-avatar--accent {
  background: rgb(37 99 235 / 0.15);
}
.dark .v-avatar--muted {
  background: var(--color-dark-surface-hover);
  color: var(--color-dark-text-secondary);
}
.v-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0;
}
.dark .v-divider {
  border-color: var(--color-dark-border);
}
.v-tooltip {
  position: absolute;
  z-index: 100;
  padding: 6px 10px;
  font-size: var(--text-caption);
  font-weight: 500;
  color: #fff;
  background: var(--color-primary);
  border-radius: var(--radius-xs);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-out);
}
.v-tooltip--visible {
  opacity: 1;
}
.v-progress {
  width: 100%;
  height: 6px;
  background: var(--color-surface-hover);
  border-radius: 9999px;
  overflow: hidden;
}
.v-progress-bar {
  height: 100%;
  background: var(--color-accent);
  border-radius: 9999px;
  transition: width var(--duration-normal) var(--ease-out);
}
.dark .v-progress {
  background: var(--color-dark-surface-hover);
}
.v-switch {
  position: relative;
  display: inline-flex;
  width: 36px;
  height: 20px;
  cursor: pointer;
}
.v-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.v-switch-track {
  position: absolute;
  inset: 0;
  background: var(--color-border);
  border-radius: 9999px;
  transition: background var(--duration-fast) var(--ease-out);
}
.v-switch input:checked + .v-switch-track {
  background: var(--color-accent);
}
.v-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--duration-fast) var(--ease-out);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.15);
}
.v-switch input:checked + .v-switch-track .v-switch-thumb {
  transform: translateX(16px);
}
.dark .v-switch-track {
  background: var(--color-dark-border);
}
.dark .v-switch-thumb {
  background: var(--color-dark-text-primary);
}
.v-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-small);
  color: var(--color-text-muted);
}
.v-breadcrumb a {
  color: var(--color-text-secondary);
  text-decoration: none;
}
.v-breadcrumb a:hover {
  color: var(--color-accent);
}
.v-breadcrumb-sep {
  color: var(--color-border);
}
.dark .v-breadcrumb {
  color: var(--color-dark-text-muted);
}
.dark .v-breadcrumb a {
  color: var(--color-dark-text-secondary);
}
.v-stat {
  padding: 24px;
}
.v-stat-label {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin-bottom: 4px;
}
.v-stat-value {
  font-size: var(--text-h2);
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1;
}
.v-stat-change {
  font-size: var(--text-caption);
  font-weight: 500;
  margin-top: 4px;
}
.v-stat-change--up {
  color: var(--color-success);
}
.v-stat-change--down {
  color: var(--color-danger);
}
.dark .v-stat-label {
  color: var(--color-dark-text-muted);
}
.dark .v-stat-value {
  color: var(--color-dark-text-primary);
}
.v-page {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.v-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.v-page-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.v-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--duration-normal) var(--ease-out);
}
.v-stat-card:hover {
  box-shadow: var(--shadow-level-1);
}
.dark .v-stat-card {
  background: var(--color-dark-surface);
  border-color: var(--color-dark-border);
}
.dark .v-stat-card:hover {
  box-shadow: var(--shadow-dark-level-1);
}
.v-stat-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.v-stat-card-body {
  flex: 1;
  min-width: 0;
}
.v-stat-card-value {
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.25;
}
.v-stat-card-label {
  font-size: var(--text-caption);
  color: var(--color-text-muted);
  margin-top: 2px;
}
.dark .v-stat-card-value {
  color: var(--color-dark-text-primary);
}
.dark .v-stat-card-label {
  color: var(--color-dark-text-muted);
}
.v-stat-card-change {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: var(--text-caption);
  font-weight: 500;
  flex-shrink: 0;
}
.v-stat-card-change--up {
  color: var(--color-success);
}
.v-stat-card-change--down {
  color: var(--color-danger);
}
.v-metric-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
}
.v-metric-card:hover {
  box-shadow: var(--shadow-level-1);
  border-color: var(--color-accent);
}
.dark .v-metric-card {
  background: var(--color-dark-surface);
  border-color: var(--color-dark-border);
}
.dark .v-metric-card:hover {
  box-shadow: var(--shadow-dark-level-1);
  border-color: var(--color-accent);
}
.v-metric-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-surface-hover);
  color: var(--color-text-secondary);
  flex-shrink: 0;
}
.dark .v-metric-card-icon {
  background: var(--color-dark-surface-hover);
  color: var(--color-dark-text-secondary);
}
.v-metric-card-body {
  flex: 1;
  min-width: 0;
}
.v-metric-card-value {
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.v-metric-card-label {
  font-size: var(--text-caption);
  color: var(--color-text-muted);
  margin-top: 4px;
}
.dark .v-metric-card-value {
  color: var(--color-dark-text-primary);
}
.dark .v-metric-card-label {
  color: var(--color-dark-text-muted);
}
.v-metric-card-action {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-out);
}
.v-metric-card:hover .v-metric-card-action {
  opacity: 1;
}
.dark .v-metric-card-action {
  color: var(--color-dark-text-muted);
}
.v-metric-card-link {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
}
.v-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.v-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.v-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1200px) {
  .v-grid--4 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .v-grid--3, .v-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .v-grid--2, .v-grid--3, .v-grid--4 {
    grid-template-columns: 1fr;
  }
}
.v-timeline {
  display: flex;
  flex-direction: column;
}
.v-timeline-item {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-border-light);
}
.v-timeline-item:last-child {
  border-bottom: none;
}
.dark .v-timeline-item {
  border-color: var(--color-dark-border-light);
}
.v-timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  margin-top: 6px;
}
.v-timeline-content {
  flex: 1;
  min-width: 0;
}
.v-timeline-text {
  font-size: var(--text-small);
  color: var(--color-text-primary);
  line-height: 1.4;
}
.v-timeline-time {
  font-size: var(--text-caption);
  color: var(--color-text-muted);
  margin-top: 2px;
}
.dark .v-timeline-text {
  color: var(--color-dark-text-primary);
}
.dark .v-timeline-time {
  color: var(--color-dark-text-muted);
}
.v-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.v-quick-action {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-text-secondary);
  font-size: var(--text-small);
  font-weight: 500;
  transition: all var(--duration-fast) var(--ease-out);
}
.v-quick-action:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-border);
  color: var(--color-text-primary);
}
.dark .v-quick-action {
  border-color: var(--color-dark-border);
  color: var(--color-dark-text-secondary);
}
.dark .v-quick-action:hover {
  background: var(--color-dark-surface-hover);
  border-color: var(--color-dark-border);
  color: var(--color-dark-text-primary);
}
.v-admin {
  min-height: 100vh;
  background: var(--color-surface-muted);
}
.dark .v-admin {
  background: var(--color-dark-surface-muted);
}
.v-admin-wrapper {
  display: flex;
  min-height: 100vh;
}
.v-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--color-surface);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: width var(--duration-normal) var(--ease-out);
}
.dark .v-sidebar {
  background: var(--color-dark-surface);
  border-color: var(--color-dark-border);
}
.v-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px 20px;
  height: var(--topbar-height);
}
.v-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text-primary);
}
.v-sidebar-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.v-sidebar-label {
  font-size: var(--text-body);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.dark .v-sidebar-logo {
  color: var(--color-dark-text-primary);
}
.v-sidebar-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xs);
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
}
.v-sidebar-toggle:hover {
  background: var(--color-surface-hover);
}
.dark .v-sidebar-toggle {
  color: var(--color-dark-text-muted);
}
.dark .v-sidebar-toggle:hover {
  background: var(--color-dark-surface-hover);
}
.v-sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px 12px;
}
.v-sidebar-footer {
  padding: 12px;
  border-top: 1px solid var(--color-border);
}
.dark .v-sidebar-footer {
  border-color: var(--color-dark-border);
}
.v-sidebar-theme {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  font-size: var(--text-small);
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
  font-family: var(--font-sans);
}
.v-sidebar-theme:hover {
  background: var(--color-surface-hover);
  color: var(--color-text-primary);
}
.dark .v-sidebar-theme {
  color: var(--color-dark-text-secondary);
}
.dark .v-sidebar-theme:hover {
  background: var(--color-dark-surface-hover);
  color: var(--color-dark-text-primary);
}
.v-sidebar-section {
  margin-bottom: 24px;
}
.v-sidebar-section-title {
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 12px 6px;
}
.dark .v-sidebar-section-title {
  color: var(--color-dark-text-muted);
}
.v-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-out);
}
.v-sidebar-link:hover {
  background: var(--color-surface-hover);
  color: var(--color-text-primary);
}
.v-sidebar-link.active {
  background: var(--color-accent-light);
  color: var(--color-accent);
}
.v-sidebar-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
}
.dark .v-sidebar-link {
  color: var(--color-dark-text-secondary);
}
.dark .v-sidebar-link:hover {
  background: var(--color-dark-surface-hover);
  color: var(--color-dark-text-primary);
}
.dark .v-sidebar-link.active {
  background: rgb(37 99 235 / 0.15);
  color: var(--color-accent);
}
.v-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left var(--duration-normal) var(--ease-out);
}
.v-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar-height);
  padding: 0 32px;
  background: rgb(255 255 255 / 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.dark .v-topbar {
  background: rgb(9 9 11 / 0.85);
  border-color: var(--color-dark-border);
}
.v-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.v-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.v-topbar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
}
.v-topbar-btn:hover {
  background: var(--color-surface-hover);
  color: var(--color-text-primary);
}
.dark .v-topbar-btn {
  color: var(--color-dark-text-muted);
}
.dark .v-topbar-btn:hover {
  background: var(--color-dark-surface-hover);
  color: var(--color-dark-text-primary);
}
.v-topbar-avatar {
  display: flex;
  align-items: center;
  padding: 2px;
  border-radius: 50%;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity var(--duration-fast) var(--ease-out);
}
.v-topbar-avatar:hover {
  opacity: 0.8;
}
.v-workspace {
  flex: 1;
  padding: 32px;
  max-width: var(--content-max);
  width: 100%;
}
.v-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.v-card-title {
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--color-text-primary);
}
.v-card-desc {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin-top: 4px;
}
.dark .v-card-title {
  color: var(--color-dark-text-primary);
}
.dark .v-card-desc {
  color: var(--color-dark-text-muted);
}
.v-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.v-page-title {
  font-size: var(--text-h2);
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}
.v-page-desc {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin-top: 4px;
}
.dark .v-page-title {
  color: var(--color-dark-text-primary);
}
.dark .v-page-desc {
  color: var(--color-dark-text-muted);
}
.v-grid {
  display: grid;
  gap: 24px;
}
.v-grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.v-grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.v-grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.v-grid-cols-6 {
  grid-template-columns: repeat(6, 1fr);
}
@media (max-width: 1200px) {
  .v-grid-cols-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .v-grid-cols-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .v-grid-cols-3, .v-grid-cols-4, .v-grid-cols-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .v-grid-cols-2, .v-grid-cols-3, .v-grid-cols-4, .v-grid-cols-6 {
    grid-template-columns: 1fr;
  }
}
.v-flex {
  display: flex;
}
.v-flex-center {
  align-items: center;
}
.v-flex-between {
  justify-content: space-between;
}
.v-flex-gap-2 {
  gap: 8px;
}
.v-flex-gap-3 {
  gap: 12px;
}
.v-flex-gap-4 {
  gap: 16px;
}
.v-flex-gap-5 {
  gap: 24px;
}
.v-mt-5 {
  margin-top: 24px;
}
.v-mt-6 {
  margin-top: 32px;
}
.v-mb-5 {
  margin-bottom: 24px;
}
.v-mb-6 {
  margin-bottom: 32px;
}
.v-text-muted {
  color: var(--color-text-muted);
}
.v-text-sm {
  font-size: var(--text-small);
}
.v-text-xs {
  font-size: var(--text-caption);
}
.v-font-medium {
  font-weight: 500;
}
.v-font-semibold {
  font-weight: 600;
}
.dark .v-text-muted {
  color: var(--color-dark-text-muted);
}
.v-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99;
}
.v-sidebar--collapsed {
  width: var(--sidebar-collapsed);
}
.v-sidebar--collapsed .v-sidebar-label, .v-sidebar--collapsed .v-sidebar-section-title, .v-sidebar--collapsed .v-sidebar-link span:not(.v-sidebar-link-icon), .v-sidebar--collapsed .v-sidebar-theme span, .v-sidebar--collapsed .v-sidebar-toggle {
  display: none;
}
.v-sidebar--collapsed + .v-main {
  margin-left: var(--sidebar-collapsed);
}
.v-sidebar--collapsed .v-sidebar-link {
  justify-content: center;
  padding: 8px;
}
.v-sidebar--collapsed .v-sidebar-footer {
  display: flex;
  justify-content: center;
}
.v-sidebar--collapsed .v-sidebar-theme {
  justify-content: center;
  padding: 8px;
}
.v-dropdown-menu--right {
  right: 0;
}
.v-auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-muted);
  padding: 24px;
}
.dark .v-auth {
  background: var(--color-dark-surface-muted);
}
.v-auth-wrapper {
  width: 100%;
  max-width: 400px;
}
.v-auth-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-level-1);
  padding: 32px;
}
.dark .v-auth-card {
  background: var(--color-dark-surface);
  border-color: var(--color-dark-border);
}
.v-auth-header {
  text-align: center;
  margin-bottom: 24px;
}
.v-auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.v-auth-title {
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}
.v-auth-subtitle {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin-top: 4px;
}
.dark .v-auth-title {
  color: var(--color-dark-text-primary);
}
.dark .v-auth-subtitle {
  color: var(--color-dark-text-muted);
}
.v-auth-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.v-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.v-alert-close {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  color: inherit;
  opacity: 0.7;
  flex-shrink: 0;
}
.v-alert-close:hover {
  opacity: 1;
}
.v-alert-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.v-alert-text {
  flex: 1;
}
.v-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: var(--text-small);
  color: var(--color-text-secondary);
}
.v-pagination-buttons {
  display: flex;
  gap: 4px;
}
.v-pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  font-size: var(--text-small);
  color: var(--color-text-secondary);
  background: transparent;
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}
.v-pagination-btn:hover {
  background: var(--color-surface-hover);
}
.v-pagination-btn--active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.v-pagination-btn:disabled {
  opacity: 0.4;
  pointer-events: none;
}
.dark .v-pagination {
  color: var(--color-dark-text-secondary);
}
.dark .v-pagination-btn {
  color: var(--color-dark-text-secondary);
  border-color: var(--color-dark-border);
}
.dark .v-pagination-btn:hover {
  background: var(--color-dark-surface-hover);
}
.v-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: var(--text-small);
  color: var(--color-text-primary);
}
.v-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  accent-color: var(--color-accent);
  cursor: pointer;
}
.dark .v-checkbox {
  color: var(--color-dark-text-primary);
}
.dark .v-checkbox input[type="checkbox"] {
  border-color: var(--color-dark-border);
}
@keyframes brandFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes brandGradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.brand-fade-up {
  animation: brandFadeUp 600ms ease-out forwards;
}
.brand-fade-up-fast {
  animation: brandFadeUp 300ms ease-out forwards;
}
.brand-stagger > * {
  opacity: 0;
  animation: brandFadeUp 400ms ease-out forwards;
}
.brand-stagger > *:nth-child(1) {
  animation-delay: 50ms;
}
.brand-stagger > *:nth-child(2) {
  animation-delay: 100ms;
}
.brand-stagger > *:nth-child(3) {
  animation-delay: 150ms;
}
.brand-stagger > *:nth-child(4) {
  animation-delay: 200ms;
}
.brand-stagger > *:nth-child(5) {
  animation-delay: 250ms;
}
.brand-stagger > *:nth-child(6) {
  animation-delay: 300ms;
}
.brand-stagger > *:nth-child(7) {
  animation-delay: 350ms;
}
.brand-stagger > *:nth-child(8) {
  animation-delay: 400ms;
}
.brand-hover-lift {
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.brand-hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--brand-shadow-hover, 0 8px 32px rgba(0,0,0,0.12));
}
.brand-gradient-shift {
  background-size: 200% 200%;
  animation: brandGradientShift 8s ease infinite;
}
.brand-section {
  opacity: 0;
  animation: brandFadeUp 500ms ease-out forwards;
}
.brand-hero-title {
  animation: brandFadeUp 600ms ease-out 100ms both;
}
.brand-hero-sub {
  animation: brandFadeUp 500ms ease-out 50ms both;
}
.brand-hero-body {
  animation: brandFadeUp 600ms ease-out 150ms both;
}
.brand-hero-actions {
  animation: brandFadeUp 600ms ease-out 250ms both;
}
.brand-stat-item {
  animation: brandFadeUp 400ms ease-out both;
}
.brand-stat-item:nth-child(1) {
  animation-delay: 50ms;
}
.brand-stat-item:nth-child(2) {
  animation-delay: 100ms;
}
.brand-stat-item:nth-child(3) {
  animation-delay: 150ms;
}
.brand-stat-item:nth-child(4) {
  animation-delay: 200ms;
}
.brand-product-card {
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.brand-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.brand-btn {
  transition: all 200ms ease-out;
}
.brand-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.v-button--loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}
.v-button--loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: v-spin 0.6s linear infinite;
}
.v-button--loading.v-button--primary::after, .v-button--loading.v-button--danger::after {
  border-color: rgba(255,255,255,0.3);
  border-right-color: #fff;
}
.v-button--loading.v-button--secondary::after, .v-button--loading.v-button--ghost::after {
  border-color: rgba(0,0,0,0.15);
  border-right-color: currentColor;
}
@keyframes v-spin {
  to {
    transform: rotate(360deg);
  }
}
.v-toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-level-2);
  min-width: 320px;
  max-width: 420px;
  animation: v-toast-in 0.3s ease-out;
  transition: opacity var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
}
.v-toast--info {
  border-left: 3px solid var(--color-info);
}
.v-toast--success {
  border-left: 3px solid var(--color-success);
}
.v-toast--warning {
  border-left: 3px solid var(--color-warning);
}
.v-toast--danger {
  border-left: 3px solid var(--color-danger);
}
.v-toast--exiting {
  opacity: 0;
  transform: translateX(100%);
}
.v-toast-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}
.v-toast-body {
  flex: 1;
  min-width: 0;
}
.v-toast-title {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-text-primary);
}
.v-toast-message {
  font-size: var(--text-caption);
  color: var(--color-text-muted);
  margin-top: 2px;
}
.v-toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  color: var(--color-text-muted);
  opacity: 0.6;
  transition: opacity var(--duration-fast) var(--ease-out);
}
.v-toast-close:hover {
  opacity: 1;
}
.dark .v-toast {
  background: var(--color-dark-surface-muted);
  border-color: var(--color-dark-border);
}
.dark .v-toast-title {
  color: var(--color-dark-text-primary);
}
.dark .v-toast-message {
  color: var(--color-dark-text-muted);
}
@keyframes v-toast-in {
  from {
    opacity: 0;
    transform: translateX(100%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
.v-table--striped tbody tr:nth-child(even) td {
  background: var(--color-surface-muted);
}
.dark .v-table--striped tbody tr:nth-child(even) td {
  background: var(--color-dark-surface-muted);
}
.table-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
}
.text-right {
  text-align: right;
}
.v-card-body--flush {
  padding: 0;
}
.v-card--compact .v-card-header {
  padding: 16px 16px 0 16px;
}
.v-card--compact .v-card-body {
  padding: 16px;
}
.v-card--compact .v-card-footer {
  padding: 0 16px 16px 16px;
}
.v-card-header + .v-card-body {
  padding-top: 16px;
}
.v-card--interactive {
  cursor: pointer;
}
.v-card--interactive:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-level-2);
}
.dark .v-card--interactive:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-dark-level-2);
}
.v-input--success {
  border-color: var(--color-success);
}
.v-input--success:focus {
  border-color: var(--color-success);
  box-shadow: 0 0 0 3px var(--color-success-light);
}
.v-page {
  animation: v-page-in 0.35s ease-out;
}
@keyframes v-page-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .v-sidebar {
    transform: translateX(-100%);
    z-index: 50;
  }
  .v-sidebar--open {
    transform: translateX(0);
  }
  .v-main {
    margin-left: 0 !important;
  }
  .v-workspace {
    padding: 20px;
  }
  .v-topbar {
    padding: 0 20px;
  }
  .v-page-header {
    flex-direction: column;
    gap: 12px;
  }
  .v-page-header .v-page-actions {
    width: 100%;
  }
  .v-page-header .v-page-actions .v-button {
    flex: 1;
  }
  .v-grid--2 {
    grid-template-columns: 1fr !important;
  }
  .v-stat-card {
    padding: 16px;
  }
  .v-sidebar-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 49;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-normal) var(--ease-out);
  }
  .v-sidebar-overlay--visible {
    opacity: 1;
    pointer-events: auto;
  }
}
@media (min-width: 769px) {
  .v-sidebar-overlay {
    display: none;
  }
}
.v-text-center {
  text-align: center;
}
.v-text-right {
  text-align: right;
}
.v-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.v-gap-1 {
  gap: 4px;
}
.v-gap-2 {
  gap: 8px;
}
.v-gap-3 {
  gap: 12px;
}
.v-gap-4 {
  gap: 16px;
}
.v-gap-5 {
  gap: 24px;
}
.v-p-0 {
  padding: 0;
}
.v-p-3 {
  padding: 12px;
}
.v-p-4 {
  padding: 16px;
}
.v-p-5 {
  padding: 24px;
}
.v-px-4 {
  padding-left: 16px;
  padding-right: 16px;
}
.v-px-5 {
  padding-left: 24px;
  padding-right: 24px;
}
.v-py-2 {
  padding-top: 8px;
  padding-bottom: 8px;
}
.v-py-3 {
  padding-top: 12px;
  padding-bottom: 12px;
}
.v-m-0 {
  margin: 0;
}
.v-mb-2 {
  margin-bottom: 8px;
}
.v-mb-3 {
  margin-bottom: 12px;
}
.v-mb-4 {
  margin-bottom: 16px;
}
.v-w-full {
  width: 100%;
}
.v-flex-wrap {
  flex-wrap: wrap;
}
.v-items-center {
  align-items: center;
}
.v-justify-between {
  justify-content: space-between;
}
.v-relative {
  position: relative;
}
.v-font-mono {
  font-family: var(--font-mono);
}
.v-focus-ring:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-accent);
  border-radius: var(--radius-sm);
}
.v-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.v-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.v-scrollbar::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}
.v-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}
.dark .v-scrollbar::-webkit-scrollbar-thumb {
  background: var(--color-dark-border);
}
.v-sidebar-menu, .v-sidebar-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.v-card-footer {
  border-top: 1px solid var(--color-border);
}
.dark .v-card-footer {
  border-color: var(--color-dark-border);
}
/* ===================================================================
   Asset Manager — Media Picker & Browser Styles
   =================================================================== */

/* ─── Field Trigger ─── */
.media-picker-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.media-picker-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
}
.media-picker-preview {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-muted);
  flex-shrink: 0;
}
.media-picker-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-picker-placeholder {
  color: var(--color-text-muted);
  opacity: 0.4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-picker-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.media-picker-clear {
  color: var(--color-text-muted);
}
.media-picker-clear:hover {
  color: var(--color-danger);
}
.dark .media-picker-preview {
  border-color: var(--color-dark-border);
  background: var(--color-dark-surface-muted);
}
.dark .media-picker-placeholder {
  color: var(--color-dark-text-muted);
}

/* ─── Modal ─── */
.mp-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.mp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}
.mp-modal-container {
  position: relative;
  width: 100%;
  max-width: 1120px;
  height: 85vh;
  max-height: 800px;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
}
.dark .mp-modal-container {
  background: var(--color-dark-surface);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* ─── Header ─── */
.mp-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.dark .mp-modal-header {
  border-color: var(--color-dark-border);
}
.mp-modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--color-text-primary);
}
.dark .mp-modal-title {
  color: var(--color-dark-text-primary);
}
.mp-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
}
.mp-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mp-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
  font-size: 18px;
}
.mp-btn-icon:hover {
  background: var(--color-surface-hover);
  color: var(--color-text-primary);
}
.dark .mp-btn-icon:hover {
  background: var(--color-dark-surface-hover);
  color: var(--color-dark-text-primary);
}

/* ─── Body Layout ─── */
.mp-modal-body {
  flex: 1;
  overflow: hidden;
}
.mp-layout {
  display: flex;
  height: 100%;
}

/* ─── Sidebar ─── */
.mp-sidebar {
  width: 180px;
  flex-shrink: 0;
  border-right: 1px solid var(--color-border);
  padding: 16px 12px;
  overflow-y: auto;
}
.dark .mp-sidebar {
  border-color: var(--color-dark-border);
}
.mp-sidebar-section {
  margin-bottom: 16px;
}
.mp-sidebar-label {
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 8px;
  margin-bottom: 8px;
}
.dark .mp-sidebar-label {
  color: var(--color-dark-text-muted);
}
.mp-type-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mp-type-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 8px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  text-align: left;
  font-family: var(--font-sans);
}
.mp-type-btn:hover {
  background: var(--color-surface-hover);
  color: var(--color-text-primary);
}
.mp-type-btn-active {
  background: var(--color-accent-light);
  color: var(--color-accent);
}
.dark .mp-type-btn {
  color: var(--color-dark-text-secondary);
}
.dark .mp-type-btn:hover {
  background: var(--color-dark-surface-hover);
  color: var(--color-dark-text-primary);
}
.dark .mp-type-btn-active {
  background: rgb(37 99 235 / 0.15);
  color: var(--color-accent);
}
.mp-type-icon {
  display: flex;
  align-items: center;
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

/* ─── Main Area ─── */
.mp-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* ─── Toolbar ─── */
.mp-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.dark .mp-toolbar {
  border-color: var(--color-dark-border);
}
.mp-search-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.mp-search-icon {
  position: absolute;
  left: 10px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
}
.mp-search-input {
  width: 100%;
  padding: 7px 12px 7px 32px;
  font-size: var(--text-small);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-muted);
  color: var(--color-text-primary);
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-out);
  font-family: var(--font-sans);
}
.mp-search-input::placeholder {
  color: var(--color-text-muted);
}
.mp-search-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}
.dark .mp-search-input {
  background: var(--color-dark-surface-muted);
  border-color: var(--color-dark-border);
  color: var(--color-dark-text-primary);
}
.dark .mp-search-input:focus {
  border-color: var(--color-accent);
}
.mp-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.mp-view-toggle {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.dark .mp-view-toggle {
  border-color: var(--color-dark-border);
}
.mp-view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}
.mp-view-btn:hover {
  background: var(--color-surface-hover);
  color: var(--color-text-primary);
}
.mp-view-btn-active {
  background: var(--color-accent);
  color: #fff;
}
.mp-view-btn-active:hover {
  background: var(--color-accent-hover);
  color: #fff;
}
.dark .mp-view-btn:hover {
  background: var(--color-dark-surface-hover);
  color: var(--color-dark-text-primary);
}

/* ─── Upload Queue ─── */
.mp-queue {
  border-bottom: 1px solid var(--color-border);
  padding: 12px 20px;
  flex-shrink: 0;
  max-height: 160px;
  overflow-y: auto;
}
.dark .mp-queue {
  border-color: var(--color-dark-border);
}
.mp-queue-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mp-queue-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}
.mp-queue-info {
  flex: 1;
  min-width: 0;
}
.mp-queue-name {
  display: block;
  font-size: var(--text-caption);
  font-weight: 500;
  color: var(--color-text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dark .mp-queue-name {
  color: var(--color-dark-text-primary);
}
.mp-queue-size {
  font-size: 10px;
  color: var(--color-text-muted);
}
.dark .mp-queue-size {
  color: var(--color-dark-text-muted);
}
.mp-queue-progress-wrap {
  width: 120px;
  flex-shrink: 0;
}
.mp-queue-status {
  width: 40px;
  text-align: right;
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--color-text-muted);
  flex-shrink: 0;
}
.dark .mp-queue-status {
  color: var(--color-dark-text-muted);
}

/* ─── Grid ─── */
.mp-grid-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.mp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  padding: 16px 20px;
  height: 100%;
  overflow-y: auto;
  align-content: start;
}

/* ─── Grid Item ─── */
.mp-grid-item {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}
.mp-grid-item:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-level-1);
}
.mp-grid-item:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.mp-grid-item.mp-selected {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent), var(--shadow-level-1);
}
.dark .mp-grid-item {
  background: var(--color-dark-surface);
  border-color: var(--color-dark-border);
}
.dark .mp-grid-item:hover {
  border-color: var(--color-accent);
}
.mp-item-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--color-surface-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.mp-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}
.mp-grid-item:hover .mp-item-thumb img {
  transform: scale(1.05);
}
.mp-file-icon {
  color: var(--color-text-muted);
  opacity: 0.5;
}
.dark .mp-item-thumb {
  background: var(--color-dark-surface-muted);
}
.dark .mp-file-icon {
  color: var(--color-dark-text-muted);
}
.mp-check-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  z-index: 2;
}
.mp-item-info {
  padding: 8px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mp-item-name {
  font-size: var(--text-caption);
  font-weight: 500;
  color: var(--color-text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dark .mp-item-name {
  color: var(--color-dark-text-primary);
}
.mp-item-meta {
  font-size: 10px;
  color: var(--color-text-muted);
}
.dark .mp-item-meta {
  color: var(--color-dark-text-muted);
}

/* ─── Item Actions (hover) ─── */
.mp-item-actions {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  gap: 2px;
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-out);
  z-index: 3;
}
.mp-grid-item:hover .mp-item-actions,
.mp-grid-item:focus-within .mp-item-actions {
  opacity: 1;
}
.mp-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: var(--radius-xs);
  background: var(--color-surface);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.mp-action-btn:hover {
  background: var(--color-surface-hover);
  color: var(--color-text-primary);
}
.mp-action-danger:hover {
  background: var(--color-danger-light);
  color: var(--color-danger);
}
.dark .mp-action-btn {
  background: var(--color-dark-surface-muted);
  color: var(--color-dark-text-secondary);
}
.dark .mp-action-btn:hover {
  background: var(--color-dark-surface-hover);
  color: var(--color-dark-text-primary);
}
.dark .mp-action-danger:hover {
  background: rgb(220 38 38 / 0.15);
  color: var(--color-danger);
}

/* ─── Footer ─── */
.mp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
  background: var(--color-surface);
}
.dark .mp-footer {
  border-color: var(--color-dark-border);
  background: var(--color-dark-surface);
}
.mp-footer-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-caption);
  color: var(--color-text-muted);
}
.dark .mp-footer-info {
  color: var(--color-dark-text-muted);
}
.mp-footer-sep {
  opacity: 0.3;
}
.mp-footer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ─── Detail Drawer ─── */
.mp-drawer {
  width: 0;
  overflow: hidden;
  border-left: 1px solid var(--color-border);
  background: var(--color-surface-muted);
  transition: width var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.mp-drawer-open {
  width: 340px;
}
.dark .mp-drawer {
  background: var(--color-dark-surface-muted);
  border-color: var(--color-dark-border);
}
.mp-drawer-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.dark .mp-drawer-header {
  border-color: var(--color-dark-border);
}
.mp-drawer-title {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.dark .mp-drawer-title {
  color: var(--color-dark-text-primary);
}
.mp-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.mp-drawer-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.mp-detail-preview {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.mp-detail-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mp-detail-file-icon {
  color: var(--color-text-muted);
  opacity: 0.5;
}
.dark .mp-detail-preview {
  background: var(--color-dark-surface);
  border-color: var(--color-dark-border);
}
.dark .mp-detail-file-icon {
  color: var(--color-dark-text-muted);
}
.mp-detail-actions {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.mp-detail-actions .btn {
  flex: 1;
  font-size: 11px;
}
.mp-detail-section {
  margin-bottom: 16px;
}
.mp-detail-section-title {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.dark .mp-detail-section-title {
  color: var(--color-dark-text-muted);
}
.mp-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.mp-detail-row:last-child {
  border-bottom: none;
}
.dark .mp-detail-row {
  border-color: var(--color-dark-border-light);
}
.mp-detail-label {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
}
.mp-detail-value {
  font-size: 11px;
  color: var(--color-text-primary);
  text-align: right;
}
.mp-detail-truncate {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mp-detail-mono {
  font-family: var(--font-mono);
  font-size: 10px;
}
.dark .mp-detail-label {
  color: var(--color-dark-text-muted);
}
.dark .mp-detail-value {
  color: var(--color-dark-text-primary);
}
.mp-color-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 4px;
  border: 1px solid var(--color-border);
}
.dark .mp-color-swatch {
  border-color: var(--color-dark-border);
}
.mp-detail-input {
  width: 100%;
  padding: 6px 8px;
  font-size: 11px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  background: var(--color-surface);
  color: var(--color-text-primary);
  outline: none;
  font-family: var(--font-sans);
}
.mp-detail-input:focus {
  border-color: var(--color-accent);
}
.dark .mp-detail-input {
  background: var(--color-dark-surface);
  border-color: var(--color-dark-border);
  color: var(--color-dark-text-primary);
}

/* ─── Empty & Loading States ─── */
.mp-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  padding: 64px 0;
}
.mp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  padding: 64px 24px;
  text-align: center;
}
.mp-empty-icon {
  width: 48px;
  height: 48px;
  color: var(--color-text-muted);
  opacity: 0.3;
  margin-bottom: 12px;
}
.mp-empty-title {
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}
.mp-empty-text {
  font-size: var(--text-caption);
  color: var(--color-text-muted);
}
.dark .mp-empty-icon {
  color: var(--color-dark-text-muted);
}
.dark .mp-empty-title {
  color: var(--color-dark-text-primary);
}
.dark .mp-empty-text {
  color: var(--color-dark-text-muted);
}

/* ─── Drag Over State ─── */
.mp-dragover .mp-modal-container {
  border: 2px dashed var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-accent-light);
}
.dark .mp-dragover .mp-modal-container {
  border-color: var(--color-accent);
}

/* ─── Progress Bar ─── */
.progress {
  width: 100%;
  height: 6px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.dark .progress {
  background: var(--color-dark-border);
}
.progress-bar {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width var(--duration-normal) var(--ease-out);
  background: var(--color-accent);
}
.progress-bar.success {
  background: var(--color-success);
}
.progress-bar.danger {
  background: var(--color-danger);
}

/* ─── Spinner ─── */
.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: mp-spin 0.7s linear infinite;
}
.dark .spinner {
  border-color: var(--color-dark-border);
  border-top-color: var(--color-accent);
}
@keyframes mp-spin {
  to { transform: rotate(360deg); }
}

/* ─── Multi-count badge ─── */
.mp-multi-count {
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--color-accent);
  text-align: center;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .mp-modal-container {
    max-width: 100%;
    height: 100vh;
    max-height: none;
    border-radius: 0;
  }
  .mp-sidebar {
    display: none;
  }
  .mp-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    padding: 12px;
  }
  .mp-drawer-open {
    width: 100%;
  }
  .mp-toolbar {
    flex-wrap: wrap;
  }
  .mp-search-wrap {
    min-width: 100%;
  }
}

@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-font-weight {
  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-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-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-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-font-weight: 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-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-ease: initial;
    }
  }
}
