@charset "UTF-8";
:root[data-theme=dark], :root {
  --bg-main: #0a0a0c;
  --bg-surface: #121316;
  --bg-card: #18191e;
  --bg-card-hover: #202228;
  --bg-glass: rgba(18, 19, 22, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-strong: rgba(255, 255, 255, 0.35);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-inverse: #0a0a0c;
  --text-white: #ffffff;
  --color-white: #ffffff;
  --color-black: #000000;
  --badge-get: #ffffff;
  --badge-get-bg: rgba(255, 255, 255, 0.1);
  --badge-post: #ffffff;
  --badge-post-bg: rgba(255, 255, 255, 0.2);
  --badge-put: #d4d4d8;
  --badge-put-bg: rgba(212, 212, 216, 0.12);
  --badge-delete: #a1a1aa;
  --badge-delete-bg: rgba(161, 161, 170, 0.12);
  --code-bg: #0d0e11;
  --code-border: #22252c;
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.70);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.85);
  --shadow-drawer: 0 -12px 48px rgba(0, 0, 0, 0.65);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-card-hover: 0 12px 32px rgba(0, 0, 0, 0.50);
  --stat-hero-bg: #141518;
  --stat-hero-text: #ffffff;
  --stat-hero-muted: rgba(255, 255, 255, 0.65);
  --stat-hero-icon-bg: rgba(255, 255, 255, 0.08);
  --stat-hero-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.65);
  --stat-hero-shadow-hover: 0 22px 50px rgba(0, 0, 0, 0.85);
  --radius-none: 0;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;
  --sidebar-width: 320px;
  --sidebar-w: 260px;
  --header-height: 64px;
  --bg: var(--bg-main);
  --surface: var(--bg-card);
  --surface2: var(--bg-card-hover);
  --surface3: #22252c;
  --overlay-bg: rgba(9, 12, 18, 0.78);
  --border: var(--border-medium);
  --border2: var(--border-strong);
  --border-hover: rgba(255, 255, 255, 0.45);
  --text: var(--text-primary);
  --muted: var(--text-secondary);
  --muted2: var(--text-muted);
  --input-bg: var(--bg-main);
  --radius: var(--radius-md);
  --shadow: var(--shadow-md);
  --accent: var(--text-primary);
  --accent-hover: #e4e4e7;
  --accent-subtle: rgba(255, 255, 255, 0.08);
  --accent-glow: rgba(255, 255, 255, 0.12);
  --danger: #ef4444;
  --danger-hover: #dc2626;
  --danger-subtle: rgba(239, 68, 68, 0.12);
  --danger-border: rgba(239, 68, 68, 0.25);
  --success: #22c55e;
  --success-hover: #16a34a;
  --success-subtle: rgba(34, 197, 94, 0.12);
  --success-border: rgba(34, 197, 94, 0.25);
  --warning: #f59e0b;
  --warning-hover: #d97706;
  --warning-subtle: rgba(245, 158, 11, 0.12);
  --warning-border: rgba(245, 158, 11, 0.25);
  --info: #3b82f6;
  --info-hover: #2563eb;
  --info-subtle: rgba(59, 130, 246, 0.12);
  --info-border: rgba(59, 130, 246, 0.25);
  --chart-primary: #ffffff;
  --chart-primary-gradient: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.20) 100%);
  --chart-primary-glow: rgba(255, 255, 255, 0.20);
  --chart-secondary: rgba(255, 255, 255, 0.40);
  --chart-secondary-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.08) 100%);
  --chart-secondary-glow: rgba(255, 255, 255, 0.10);
  --teal: #14b8a6;
  --teal-subtle: rgba(20, 184, 166, 0.12);
  --teal-border: rgba(20, 184, 166, 0.28);
  --purple: #a855f7;
  --purple-subtle: rgba(168, 85, 247, 0.12);
  --purple-border: rgba(168, 85, 247, 0.28);
  --indigo: #6366f1;
  --indigo-subtle: rgba(99, 102, 241, 0.12);
  --indigo-border: rgba(99, 102, 241, 0.28);
  --rose: #f43f5e;
  --rose-subtle: rgba(244, 63, 94, 0.12);
  --funnel-fill-0: linear-gradient(90deg, #ffffff 0%, #e4e4e7 100%);
  --funnel-text-0: #0a0a0c;
  --funnel-fill-1: linear-gradient(90deg, rgba(255, 255, 255, 0.80) 0%, rgba(255, 255, 255, 0.65) 100%);
  --funnel-text-1: #0a0a0c;
  --funnel-fill-2: linear-gradient(90deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0.38) 100%);
  --funnel-text-2: #ffffff;
  --funnel-fill-3: linear-gradient(90deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.18) 100%);
  --funnel-text-3: #ffffff;
  --heatmap-lvl-0: rgba(255, 255, 255, 0.04);
  --heatmap-lvl-1: rgba(255, 255, 255, 0.18);
  --heatmap-lvl-2: rgba(255, 255, 255, 0.42);
  --heatmap-lvl-3: rgba(255, 255, 255, 0.72);
  --heatmap-lvl-4: #ffffff;
  --heatmap-lvl-4-glow: rgba(255, 255, 255, 0.35);
  --select-arrow: 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='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --text-2xs: 0.70rem;
  --text-xs: 0.76rem;
  --text-sm: 0.85rem;
  --text-base: 0.92rem;
  --text-md: 1.02rem;
  --text-lg: 1.15rem;
  --text-xl: 1.35rem;
  --text-2xl: 1.65rem;
  --text-3xl: 2rem;
  --z-negative: -1;
  --z-base: 1;
  --z-sticky: 100;
  --z-fixed: 200;
  --z-drawer: 800;
  --z-dropdown: 900;
  --z-backdrop: 1000;
  --z-modal: 1050;
  --z-popover: 1100;
  --z-tooltip: 1200;
  --z-toast: 1300;
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme=light] {
  --bg-main: #f8f9fa;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f3f4f6;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.16);
  --border-strong: rgba(0, 0, 0, 0.35);
  --text-primary: #0a0a0c;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --text-inverse: #ffffff;
  --badge-get: #000000;
  --badge-get-bg: rgba(0, 0, 0, 0.08);
  --badge-post: #000000;
  --badge-post-bg: rgba(0, 0, 0, 0.15);
  --badge-put: #374151;
  --badge-put-bg: rgba(0, 0, 0, 0.08);
  --badge-delete: #4b5563;
  --badge-delete-bg: rgba(0, 0, 0, 0.08);
  --code-bg: #111317;
  --code-border: #e5e7eb;
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.16);
  --shadow-drawer: 0 -12px 48px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 12px 32px rgba(0, 0, 0, 0.08);
  --stat-hero-bg: #141518;
  --stat-hero-text: #ffffff;
  --stat-hero-muted: rgba(255, 255, 255, 0.65);
  --stat-hero-icon-bg: rgba(255, 255, 255, 0.12);
  --stat-hero-shadow: 0 16px 36px -4px rgba(20, 21, 24, 0.38);
  --stat-hero-shadow-hover: 0 22px 50px rgba(22, 23, 27, 0.55);
  --bg: var(--bg-main);
  --surface: var(--bg-surface);
  --surface2: #f1f3f7;
  --surface3: #e2e6eb;
  --overlay-bg: rgba(15, 23, 42, 0.45);
  --border: var(--border-medium);
  --border2: var(--border-strong);
  --border-hover: rgba(0, 0, 0, 0.45);
  --text: var(--text-primary);
  --muted: var(--text-secondary);
  --muted2: var(--text-muted);
  --input-bg: #ffffff;
  --radius: var(--radius-md);
  --shadow: var(--shadow-md);
  --accent: #0f172a;
  --accent-hover: #1e293b;
  --accent-subtle: rgba(15, 23, 42, 0.06);
  --accent-glow: rgba(15, 23, 42, 0.12);
  --danger: #ef4444;
  --danger-hover: #dc2626;
  --danger-subtle: rgba(239, 68, 68, 0.10);
  --danger-border: rgba(239, 68, 68, 0.20);
  --success: #22c55e;
  --success-hover: #16a34a;
  --success-subtle: rgba(34, 197, 94, 0.10);
  --success-border: rgba(34, 197, 94, 0.20);
  --warning: #f59e0b;
  --warning-hover: #d97706;
  --warning-subtle: rgba(245, 158, 11, 0.10);
  --warning-border: rgba(245, 158, 11, 0.20);
  --info: #3b82f6;
  --info-hover: #2563eb;
  --info-subtle: rgba(59, 130, 246, 0.10);
  --info-border: rgba(59, 130, 246, 0.20);
  --chart-primary: #0f172a;
  --chart-primary-gradient: linear-gradient(180deg, #0f172a 0%, rgba(15, 23, 42, 0.25) 100%);
  --chart-primary-glow: rgba(15, 23, 42, 0.12);
  --chart-secondary: rgba(15, 23, 42, 0.35);
  --chart-secondary-gradient: linear-gradient(180deg, rgba(15, 23, 42, 0.40) 0%, rgba(15, 23, 42, 0.08) 100%);
  --chart-secondary-glow: rgba(15, 23, 42, 0.08);
  --teal: #0d9488;
  --teal-subtle: rgba(13, 148, 136, 0.10);
  --teal-border: rgba(13, 148, 136, 0.25);
  --purple: #9333ea;
  --purple-subtle: rgba(147, 51, 234, 0.10);
  --purple-border: rgba(147, 51, 234, 0.25);
  --indigo: #4f46e5;
  --indigo-subtle: rgba(79, 70, 229, 0.10);
  --indigo-border: rgba(79, 70, 229, 0.25);
  --rose: #e11d48;
  --rose-subtle: rgba(225, 29, 72, 0.10);
  --funnel-fill-0: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
  --funnel-text-0: #ffffff;
  --funnel-fill-1: linear-gradient(90deg, rgba(15, 23, 42, 0.80) 0%, rgba(15, 23, 42, 0.65) 100%);
  --funnel-text-1: #ffffff;
  --funnel-fill-2: linear-gradient(90deg, rgba(15, 23, 42, 0.52) 0%, rgba(15, 23, 42, 0.38) 100%);
  --funnel-text-2: #0f172a;
  --funnel-fill-3: linear-gradient(90deg, rgba(15, 23, 42, 0.30) 0%, rgba(15, 23, 42, 0.18) 100%);
  --funnel-text-3: #0f172a;
  --heatmap-lvl-0: rgba(15, 23, 42, 0.04);
  --heatmap-lvl-1: rgba(15, 23, 42, 0.16);
  --heatmap-lvl-2: rgba(15, 23, 42, 0.40);
  --heatmap-lvl-3: rgba(15, 23, 42, 0.70);
  --heatmap-lvl-4: #0f172a;
  --heatmap-lvl-4-glow: rgba(15, 23, 42, 0.20);
  --select-arrow: 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='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

[v-cloak] {
  display: none !important;
}

body {
  font-family: "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--surface2);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 6px;
  opacity: 0.8;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--surface2);
}

.d-flex {
  display: flex !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

.d-grid {
  display: grid !important;
}

.d-block {
  display: block !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-none {
  display: none !important;
}

@media (min-width: 576px) {
  .d-sm-none {
    display: none !important;
  }
  .d-sm-inline {
    display: inline !important;
  }
  .d-sm-inline-block {
    display: inline-block !important;
  }
  .d-sm-block {
    display: block !important;
  }
  .d-sm-flex {
    display: flex !important;
  }
  .d-sm-inline-flex {
    display: inline-flex !important;
  }
  .d-sm-grid {
    display: grid !important;
  }
}
@media (min-width: 768px) {
  .d-md-none {
    display: none !important;
  }
  .d-md-inline {
    display: inline !important;
  }
  .d-md-inline-block {
    display: inline-block !important;
  }
  .d-md-block {
    display: block !important;
  }
  .d-md-flex {
    display: flex !important;
  }
  .d-md-inline-flex {
    display: inline-flex !important;
  }
  .d-md-grid {
    display: grid !important;
  }
}
@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }
  .d-lg-inline {
    display: inline !important;
  }
  .d-lg-inline-block {
    display: inline-block !important;
  }
  .d-lg-block {
    display: block !important;
  }
  .d-lg-flex {
    display: flex !important;
  }
  .d-lg-inline-flex {
    display: inline-flex !important;
  }
  .d-lg-grid {
    display: grid !important;
  }
}
@media (min-width: 1200px) {
  .d-xl-none {
    display: none !important;
  }
  .d-xl-inline {
    display: inline !important;
  }
  .d-xl-inline-block {
    display: inline-block !important;
  }
  .d-xl-block {
    display: block !important;
  }
  .d-xl-flex {
    display: flex !important;
  }
  .d-xl-inline-flex {
    display: inline-flex !important;
  }
  .d-xl-grid {
    display: grid !important;
  }
}
.flex-column {
  flex-direction: column !important;
}

.flex-row {
  flex-direction: row !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-nowrap {
  flex-wrap: nowrap !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.align-items-end {
  align-items: flex-end !important;
}

.justify-content-start {
  justify-content: flex-start !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.flex-between {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

.flex-1 {
  flex: 1 1 0%;
  min-width: 0;
}

.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 4px !important;
}

.p-2 {
  padding: 8px !important;
}

.p-3 {
  padding: 16px !important;
}

.p-4 {
  padding: 24px !important;
}

.p-5 {
  padding: 32px !important;
}

.px-0 {
  padding-inline: 0 !important;
}

.px-1 {
  padding-inline: 4px !important;
}

.px-2 {
  padding-inline: 8px !important;
}

.px-3 {
  padding-inline: 16px !important;
}

.px-4 {
  padding-inline: 24px !important;
}

.px-5 {
  padding-inline: 32px !important;
}

.py-0 {
  padding-block: 0 !important;
}

.py-1 {
  padding-block: 4px !important;
}

.py-2 {
  padding-block: 8px !important;
}

.py-3 {
  padding-block: 16px !important;
}

.py-4 {
  padding-block: 24px !important;
}

.py-5 {
  padding-block: 32px !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pt-1 {
  padding-top: 4px !important;
}

.pt-2 {
  padding-top: 8px !important;
}

.pt-3 {
  padding-top: 16px !important;
}

.pt-4 {
  padding-top: 24px !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pb-1 {
  padding-bottom: 4px !important;
}

.pb-2 {
  padding-bottom: 8px !important;
}

.pb-3 {
  padding-bottom: 16px !important;
}

.pb-4 {
  padding-bottom: 24px !important;
}

.pe-0 {
  padding-inline-end: 0 !important;
}

.pe-1 {
  padding-inline-end: 4px !important;
}

.pe-2 {
  padding-inline-end: 8px !important;
}

.pe-3 {
  padding-inline-end: 16px !important;
}

.pe-4 {
  padding-inline-end: 24px !important;
}

.ps-0 {
  padding-inline-start: 0 !important;
}

.ps-1 {
  padding-inline-start: 4px !important;
}

.ps-2 {
  padding-inline-start: 8px !important;
}

.ps-3 {
  padding-inline-start: 16px !important;
}

.ps-4 {
  padding-inline-start: 24px !important;
}

.m-0 {
  margin: 0 !important;
}

.m-1 {
  margin: 4px !important;
}

.m-2 {
  margin: 8px !important;
}

.m-3 {
  margin: 16px !important;
}

.m-4 {
  margin: 24px !important;
}

.m-5 {
  margin: 32px !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 4px !important;
}

.mb-2 {
  margin-bottom: 8px !important;
}

.mb-3 {
  margin-bottom: 16px !important;
}

.mb-4 {
  margin-bottom: 24px !important;
}

.mb-5 {
  margin-bottom: 32px !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 4px !important;
}

.mt-2 {
  margin-top: 8px !important;
}

.mt-3 {
  margin-top: 16px !important;
}

.mt-4 {
  margin-top: 24px !important;
}

.mt-5 {
  margin-top: 32px !important;
}

.me-0 {
  margin-inline-end: 0 !important;
}

.me-1 {
  margin-inline-end: 4px !important;
}

.me-2 {
  margin-inline-end: 8px !important;
}

.me-3 {
  margin-inline-end: 16px !important;
}

.me-4 {
  margin-inline-end: 24px !important;
}

.me-auto {
  margin-inline-end: auto !important;
}

.ms-0 {
  margin-inline-start: 0 !important;
}

.ms-1 {
  margin-inline-start: 4px !important;
}

.ms-2 {
  margin-inline-start: 8px !important;
}

.ms-3 {
  margin-inline-start: 16px !important;
}

.ms-4 {
  margin-inline-start: 24px !important;
}

.ms-auto {
  margin-inline-start: auto !important;
}

.mx-auto {
  margin-inline: auto !important;
}

.my-auto {
  margin-block: auto !important;
}

.gap-0 {
  gap: 0 !important;
}

.gap-1 {
  gap: 4px !important;
}

.gap-2 {
  gap: 8px !important;
}

.gap-3 {
  gap: 16px !important;
}

.gap-4 {
  gap: 24px !important;
}

.border {
  border: 1px solid var(--border) !important;
}

.border-top {
  border-top: 1px solid var(--border) !important;
}

.border-bottom {
  border-bottom: 1px solid var(--border) !important;
}

.border-end {
  border-inline-end: 1px solid var(--border) !important;
}

.border-start {
  border-inline-start: 1px solid var(--border) !important;
}

.border-0 {
  border: 0 !important;
}

.border-secondary-subtle {
  border-color: var(--border-subtle) !important;
}

.border-purple-subtle {
  border-color: var(--purple-border) !important;
}

.rounded {
  border-radius: var(--radius-md, 10px) !important;
}

.rounded-0 {
  border-radius: 0 !important;
}

.rounded-sm, .rounded-1 {
  border-radius: var(--radius-sm, 6px) !important;
}

.rounded-2 {
  border-radius: 8px !important;
}

.rounded-3, .rounded-lg {
  border-radius: var(--radius-lg, 14px) !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.rounded-pill {
  border-radius: 9999px !important;
}

.text-accent {
  color: var(--text-primary) !important;
}

.text-muted {
  color: var(--text-secondary) !important;
}

.text-secondary {
  color: var(--text-muted) !important;
}

.text-primary {
  color: var(--text-primary) !important;
}

.text-white {
  color: var(--color-white) !important;
}

.text-dark {
  color: var(--color-black) !important;
}

.text-success {
  color: var(--success) !important;
}

.text-warning {
  color: var(--warning) !important;
}

.text-danger {
  color: var(--danger) !important;
}

.text-info {
  color: var(--info) !important;
}

.text-purple {
  color: var(--purple) !important;
}

.bg-info-light {
  background: var(--info-subtle) !important;
}

.bg-warning-light {
  background: var(--warning-subtle) !important;
}

.bg-danger-light {
  background: var(--danger-subtle) !important;
}

.bg-success-light {
  background: var(--success-subtle) !important;
}

.bg-accent-light {
  background: var(--accent-subtle) !important;
}

.text-nowrap {
  white-space: nowrap !important;
}

.text-decoration-none {
  text-decoration: none !important;
}

.text-decoration-line-through {
  text-decoration: line-through !important;
}

.text-capitalize {
  text-transform: capitalize !important;
}

.text-uppercase {
  text-transform: uppercase !important;
}

.text-lowercase {
  text-transform: lowercase !important;
}

.fw-normal {
  font-weight: 400 !important;
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.fw-bold, .font-weight-bold {
  font-weight: 700 !important;
}

.fw-bolder {
  font-weight: 800 !important;
}

.font-monospace, .font-mono {
  font-family: monospace, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas !important;
}

.fs-xxs {
  font-size: 0.72rem !important;
}

.fs-xs {
  font-size: 0.8rem !important;
}

.fs-sm {
  font-size: 0.875rem !important;
}

.fs-base {
  font-size: 0.95rem !important;
}

.fs-md {
  font-size: 1.05rem !important;
}

.fs-lg {
  font-size: 1.25rem !important;
}

.fs-xl {
  font-size: 1.5rem !important;
}

.display-6 {
  font-size: 2.25rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.25;
}

.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

.top-0 {
  top: 0 !important;
}

.end-0 {
  inset-inline-end: 0 !important;
}

.start-0 {
  inset-inline-start: 0 !important;
}

.bottom-0 {
  bottom: 0 !important;
}

.min-w-0 {
  min-width: 0 !important;
}

.user-select-all {
  user-select: all !important;
}

.transition-all {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.opacity-75 {
  opacity: 0.75 !important;
}

.opacity-60 {
  opacity: 0.6 !important;
}

.opacity-50 {
  opacity: 0.5 !important;
}

.max-w-500 {
  max-width: 500px !important;
  width: 100%;
}

.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.start-btn {
  margin-inline-end: 4px;
}

.end-btn {
  margin-inline-start: 4px;
}

.toggle {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.uninstall-text {
  color: var(--danger) !important;
  font-size: 0.85rem;
  font-weight: 500;
}

.skel {
  background: linear-gradient(90deg, var(--surface2) 25%, var(--surface3) 50%, var(--surface2) 75%);
  background-size: 200% 100%;
  animation: skel-pulse 1.5s infinite;
  border-radius: var(--radius-sm, 6px);
}

@keyframes skel-pulse {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.bg-primary {
  background: var(--accent) !important;
  color: var(--text-inverse) !important;
}

.bg-secondary {
  background: var(--surface3) !important;
  color: var(--text-secondary) !important;
}

.bg-dark {
  background: var(--color-black) !important;
  color: var(--color-white) !important;
}

.bg-surface {
  background: var(--bg-surface) !important;
}

.bg-surface-2,
.bg-surface2 {
  background: var(--surface2) !important;
}

.bg-info {
  background: var(--info) !important;
  color: var(--text-white) !important;
}

.bg-success {
  background: var(--success) !important;
  color: var(--text-white) !important;
}

.bg-warning {
  background: var(--warning) !important;
  color: var(--text-white) !important;
}

.bg-purple {
  background: var(--purple) !important;
  color: var(--text-white) !important;
}

.bg-primary-subtle {
  background: var(--accent-subtle) !important;
  color: var(--accent) !important;
}

.bg-info-subtle {
  background: var(--info-subtle) !important;
  color: var(--info) !important;
}

.bg-warning-subtle {
  background: var(--warning-subtle) !important;
  color: var(--warning) !important;
}

.bg-dark-subtle {
  background: var(--surface2) !important;
  color: var(--text-muted) !important;
}

.bg-purple-subtle {
  background: var(--purple-subtle) !important;
  color: var(--purple) !important;
}

.bg-success-light {
  background: var(--success-subtle) !important;
  color: var(--success) !important;
}

.bg-info-light {
  background: var(--info-subtle) !important;
  color: var(--info) !important;
}

.bg-warning-light {
  background: var(--warning-subtle) !important;
  color: var(--warning) !important;
}

.bg-danger-light {
  background: var(--danger-subtle) !important;
  color: var(--danger) !important;
}

.bg-accent-light {
  background: var(--accent-subtle) !important;
  color: var(--text-primary) !important;
}

.badge-primary {
  background: var(--accent) !important;
  color: var(--text-inverse) !important;
}

.badge-light {
  background: var(--surface3) !important;
  color: var(--text-primary) !important;
}

.alert-light {
  background: var(--surface2) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-primary) !important;
}

.form-check-label {
  cursor: pointer;
  user-select: none;
  font-size: 0.85rem;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.form-control-color {
  padding: 4px;
  height: 38px;
  width: 44px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}

.store-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  flex-shrink: 0;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -8px;
  margin-block: 0;
}
.row > * {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-inline: 8px;
}
.row.g-0 {
  margin-inline: 0;
}
.row.g-0 > * {
  padding-inline: 0;
  padding-block: 0;
}
.row.g-1 {
  margin-inline: -4px;
}
.row.g-1 > * {
  padding-inline: 4px;
  padding-block: 4px;
}
.row.g-2 {
  margin-inline: -6px;
}
.row.g-2 > * {
  padding-inline: 6px;
  padding-block: 6px;
}
.row.g-3 {
  margin-inline: -10px;
}
.row.g-3 > * {
  padding-inline: 10px;
  padding-block: 10px;
}
.row.g-4 {
  margin-inline: -14px;
}
.row.g-4 > * {
  padding-inline: 14px;
  padding-block: 14px;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.col-11 {
  flex: 0 0 91.666667%;
  max-width: 91.666667%;
}

.col-10 {
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}

.col-9 {
  flex: 0 0 75%;
  max-width: 75%;
}

.col-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.col-7 {
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-5 {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}

.col-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.col-2 {
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

.col-1 {
  flex: 0 0 8.333333%;
  max-width: 8.333333%;
}

.col-auto {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
}

@media (min-width: 576px) {
  .col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .col-sm-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-sm-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-sm-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-sm-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-sm-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-sm-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-sm-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-sm-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-sm-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-sm-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-sm-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }
}
@media (min-width: 768px) {
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .col-md-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-md-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-md-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-md-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-md-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-md-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-md-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }
}
@media (min-width: 992px) {
  .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .col-lg-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-lg-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-lg-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-lg-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-lg-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-lg-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }
}
.app-ic,
svg.ic,
i.ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
  color: inherit;
  stroke: currentColor;
  fill: none;
}

.ic-xs, svg.ic-xs, i.ic-xs {
  width: 12px !important;
  height: 12px !important;
}

.ic-sm, svg.ic-sm, i.ic-sm {
  width: 16px !important;
  height: 16px !important;
}

.ic-md, svg.ic-md, i.ic-md {
  width: 20px !important;
  height: 20px !important;
}

.ic-lg, svg.ic-lg, i.ic-lg {
  width: 24px !important;
  height: 24px !important;
}

.ic-xl, svg.ic-xl, i.ic-xl {
  width: 32px !important;
  height: 32px !important;
}

.dir-ltr {
  direction: ltr !important;
}

.dir-rtl {
  direction: rtl !important;
}

.font-mono {
  font-family: monospace, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas !important;
}

.cursor-pointer {
  cursor: pointer !important;
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-center {
  text-align: center !important;
}

.lh-base {
  line-height: 1.5 !important;
}

.object-cover {
  object-fit: cover !important;
}

.surface-card {
  background: var(--surface2) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md, 10px);
}

.surface-box {
  background: var(--surface3) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm, 8px);
}

.surface-inset {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm, 8px);
}

.surface-dashed {
  background: var(--surface2) !important;
  border: 1px dashed var(--border) !important;
  border-radius: var(--radius-md, 10px);
}

.badge-success-subtle {
  background: var(--success-subtle) !important;
  color: var(--success) !important;
  border: 1px solid var(--success-border) !important;
}

.badge-warning-subtle {
  background: var(--warning-subtle) !important;
  color: var(--warning) !important;
  border: 1px solid var(--warning-border) !important;
}

.badge-danger-subtle {
  background: var(--danger-subtle) !important;
  color: var(--danger) !important;
  border: 1px solid var(--danger-border) !important;
}

.badge-info-subtle {
  background: var(--info-subtle) !important;
  color: var(--info) !important;
  border: 1px solid var(--info-border) !important;
}

.badge-primary-subtle {
  background: var(--accent-subtle) !important;
  color: var(--accent) !important;
  border: 1px solid var(--border-medium) !important;
}

.badge-secondary-subtle {
  background: var(--surface3) !important;
  color: var(--text-secondary) !important;
  border: 1px solid var(--border-subtle) !important;
}

.app-notice-info {
  background: var(--info-subtle) !important;
  border: 1px solid var(--info-border) !important;
  border-radius: 10px;
  padding: 12px 16px;
}

.app-notice-warning {
  background: var(--warning-subtle) !important;
  border: 1px solid var(--warning-border) !important;
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--warning);
}

.w-100 {
  width: 100% !important;
}

.w-auto {
  width: auto !important;
}

.h-100 {
  height: 100% !important;
}

.max-w-xs {
  max-width: 320px !important;
}

.max-w-sm {
  max-width: 440px !important;
}

.max-w-md {
  max-width: 600px !important;
}

.max-w-lg {
  max-width: 800px !important;
}

.max-w-200 {
  max-width: 200px !important;
}

.mt-14 {
  margin-top: 14px !important;
}

.ml-8 {
  margin-inline-start: 8px !important;
}

.p-inline-8 {
  padding-inline: 8px !important;
}

.ltr-flex {
  direction: ltr !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.overflow-y-auto {
  overflow-y: auto !important;
}

.scroll-container-sm {
  max-height: 250px !important;
  overflow-y: auto !important;
}

.scroll-container-md {
  max-height: 350px !important;
  overflow-y: auto !important;
}

.progress-track {
  height: 6px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-bar-success {
  background: var(--success);
}

.progress-bar-accent {
  background: var(--accent);
}

.progress-bar-info {
  background: var(--info);
}

.progress-bar-warning {
  background: var(--warning);
}

.border-success {
  border-color: var(--success) !important;
}

.border-info {
  border-color: var(--info) !important;
}

.border-warning {
  border-color: var(--warning) !important;
}

.border-danger {
  border-color: var(--danger) !important;
}

.app-notice-success {
  background: var(--success-subtle) !important;
  border: 1px solid var(--success-border) !important;
  border-radius: 8px;
  padding: 10px 14px;
}

.app-notice-danger {
  background: var(--danger-subtle) !important;
  border: 1px solid var(--danger-border) !important;
  border-radius: 8px;
  padding: 10px 14px;
}

.is-selected {
  background: var(--accent-subtle) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 1px var(--accent);
}

.is-winner-variant {
  background: var(--success-subtle) !important;
  border-color: var(--success-border) !important;
}

.is-winner-link {
  border-color: var(--success) !important;
  box-shadow: 0 0 0 1px var(--success);
}

.chip-icon,
.tab-icon,
.btn-icon,
.title-icon,
.card-icon,
.stat-svg,
.empty-svg,
.section-svg,
.dl-icon,
.hint-icon,
.meta-icon,
.alert-icon,
.feat-icon,
.table-icon,
.badge-mini-icon,
.calendar-mini-icon,
.alert-mini-svg,
.confirm-svg,
.spin-svg,
.note-icon,
.page-arrow,
.alert-arrow,
.cat-icon,
.plan-icon,
.badge-icon,
.chip-svg,
.swatch-check,
.ph-icon,
.overlay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  flex-shrink: 0;
}

.chip-icon, .chip-svg {
  width: 16px;
  height: 16px;
  color: inherit;
}

.tab-icon {
  width: 18px;
  height: 18px;
  color: inherit;
}

.btn-icon {
  width: 16px;
  height: 16px;
  color: inherit;
}

.title-icon, .card-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.stat-svg {
  width: 22px;
  height: 22px;
}

.empty-svg {
  width: 48px;
  height: 48px;
}

.badge-mini-icon {
  width: 14px;
  height: 14px;
}

.hint-icon, .meta-icon, .alert-icon {
  width: 15px;
  height: 15px;
}

.cust-phone-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.2;
  padding: 1px 0;
  border-radius: var(--radius-sm, 6px);
  transition: color var(--transition-fast, 0.15s ease);
  cursor: pointer;
  vertical-align: middle;
}
.cust-phone-link .cust-phone-icon,
.cust-phone-link svg.cust-phone-icon,
.cust-phone-link svg[data-lucide=phone],
.cust-phone-link [data-lucide=phone],
.cust-phone-link i[data-lucide=phone] {
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  min-height: 12px !important;
  color: var(--text-muted);
  flex-shrink: 0;
  stroke-width: 2px;
  transition: color var(--transition-fast, 0.15s ease), transform var(--transition-fast, 0.15s ease);
}
.cust-phone-link .cust-phone-num,
.cust-phone-link .cust-phone,
.cust-phone-link span {
  direction: ltr;
  unicode-bidi: embed;
  font-variant-numeric: tabular-nums;
  font-family: inherit;
  letter-spacing: 0.02em;
}
.cust-phone-link:hover {
  color: var(--accent);
  text-decoration: none;
}
.cust-phone-link:hover .cust-phone-icon,
.cust-phone-link:hover svg.cust-phone-icon,
.cust-phone-link:hover svg[data-lucide=phone],
.cust-phone-link:hover [data-lucide=phone] {
  color: var(--accent);
  transform: scale(1.1);
}

@media screen {
  .print-only {
    display: none !important;
  }
}
@media print {
  @page {
    size: A4;
    margin: 15mm;
  }
  body, html {
    background: var(--color-white) !important;
    color: var(--color-black) !important;
    font-size: 12pt !important;
  }
  .sidebar, .topbar, .btn-back, .action-buttons, .status-changer-card,
  .modal, .toast, .no-print, .copy-btn, .pending-alert, .odt-mobile-footer, .mobile-action-footer {
    display: none !important;
  }
  .main-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    position: static !important;
  }
  .content-scroll {
    overflow: visible !important;
    height: auto !important;
    padding: 0 !important;
  }
  .order-detail-grid {
    display: block !important;
    grid-template-columns: 1fr !important;
  }
  .card {
    border: 1px solid var(--border-medium) !important;
    box-shadow: none !important;
    background: var(--color-white) !important;
    color: var(--color-black) !important;
    margin-bottom: 20px !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .card__title, .card-title {
    color: var(--color-black) !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    padding-bottom: 8px !important;
  }
  .items-table {
    width: 100% !important;
    border-collapse: collapse !important;
  }
  .items-table th, .items-table td {
    border-bottom: 1px solid var(--border-medium) !important;
    padding: 8px 10px !important;
    color: var(--color-black) !important;
  }
  .print-only {
    display: block !important;
  }
  .print-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-black);
  }
  .print-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
}
.app-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
  min-width: 0;
}
.main-content > [id$=-Vue],
.main-content > div:not(.sidebar-backdrop):not(#blazor-error-ui):not(.seller-mini-bar) {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.content-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  width: 100%;
  min-height: 0;
}
@media (max-width: 768px) {
  .content-scroll {
    padding: 16px;
    padding-bottom: calc(115px + env(safe-area-inset-bottom, 0px));
  }
}

.sidebar {
  width: var(--sidebar-w, 268px);
  background: var(--bg-surface);
  border-inline-end: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: 100vh;
  z-index: 1050;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  user-select: none;
  box-shadow: var(--shadow-sm);
}
.sidebar::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 180px;
  background: radial-gradient(120% 100% at 50% 0%, var(--accent-glow) 0%, transparent 100%);
  pointer-events: none;
  opacity: 0.6;
}

.sidebar-brand {
  padding: 18px 16px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}
.sidebar-brand .sidebar-brand-title {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}
.sidebar-brand .sidebar-brand-title .brand-emblem {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md, 10px);
  background: linear-gradient(135deg, var(--surface2) 0%, var(--surface3, var(--surface2)) 100%);
  border: 1.5px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.sidebar-brand .sidebar-brand-title .brand-emblem svg, .sidebar-brand .sidebar-brand-title .brand-emblem i, .sidebar-brand .sidebar-brand-title .brand-emblem [data-lucide] {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
  color: var(--text-primary);
}
.sidebar-brand .sidebar-brand-title:hover .brand-emblem {
  transform: scale(1.05);
  border-color: var(--border-strong);
}
.sidebar-brand .sidebar-brand-title .brand-text-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sidebar-brand .sidebar-brand-title .brand-text-stack .brand-name {
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.2;
  white-space: nowrap;
}
.sidebar-brand .sidebar-brand-title .brand-text-stack .brand-portal-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  padding: 1px 7px;
  border-radius: var(--radius-full, 9999px);
  width: fit-content;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.sidebar-brand .sidebar-close-btn {
  display: none;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm, 8px);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}
.sidebar-brand .sidebar-close-btn svg, .sidebar-brand .sidebar-close-btn i, .sidebar-brand .sidebar-close-btn [data-lucide] {
  width: 16px;
  height: 16px;
}
.sidebar-brand .sidebar-close-btn:hover {
  background: var(--surface3, var(--surface2));
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.store-switcher-wrap {
  position: relative;
  margin: 12px 14px 8px 14px;
  z-index: 2;
}
.store-switcher-wrap .store-switcher-trigger {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg, 14px);
  padding: 8px 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}
.store-switcher-wrap .store-switcher-trigger:hover, .store-switcher-wrap .store-switcher-trigger[aria-expanded=true] {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.store-switcher-wrap .store-switcher-trigger.has-urgent-attention {
  border-color: var(--danger-border);
  animation: attention-shake 3s ease-in-out infinite;
}
.store-switcher-wrap .store-switcher-trigger.has-warning-attention {
  border-color: var(--warning-border);
}
.store-switcher-wrap .store-switcher-trigger .store-switcher-icon {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md, 9px);
  background: linear-gradient(135deg, var(--surface2) 0%, var(--surface3, var(--surface2)) 100%);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.store-switcher-wrap .store-switcher-trigger .store-switcher-icon svg, .store-switcher-wrap .store-switcher-trigger .store-switcher-icon i, .store-switcher-wrap .store-switcher-trigger .store-switcher-icon [data-lucide] {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}
.store-switcher-wrap .store-switcher-trigger .store-switcher-icon .store-switcher-alert-badge {
  position: absolute;
  top: -3px;
  inset-inline-end: -3px;
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  display: none;
  box-shadow: 0 0 0 2px var(--bg-card);
  z-index: 4;
}
.store-switcher-wrap .store-switcher-trigger .store-switcher-icon .store-switcher-alert-badge.is-visible {
  display: block;
}
.store-switcher-wrap .store-switcher-trigger .store-switcher-icon .store-switcher-alert-badge.badge--danger {
  background: var(--danger);
  animation: pulse-ring-danger 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}
.store-switcher-wrap .store-switcher-trigger .store-switcher-icon .store-switcher-alert-badge.badge--warning {
  background: var(--warning);
  animation: pulse-ring-warning 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}
.store-switcher-wrap .store-switcher-trigger .store-switcher-details {
  flex: 1;
  min-width: 0;
}
.store-switcher-wrap .store-switcher-trigger .store-switcher-details .store-switcher-name {
  font-size: 0.85rem;
  font-weight: 750;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.store-switcher-wrap .store-switcher-trigger .store-switcher-details .store-switcher-slug {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono, monospace);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: ltr;
  text-align: start;
  line-height: 1.2;
}
.store-switcher-wrap .store-switcher-trigger .store-trigger-status-chip {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
}
.store-switcher-wrap .store-switcher-trigger .store-trigger-status-chip.is-visible {
  display: inline-flex;
}
.store-switcher-wrap .store-switcher-trigger .store-trigger-status-chip.chip--danger {
  background: var(--danger-subtle);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}
.store-switcher-wrap .store-switcher-trigger .store-trigger-status-chip.chip--warning {
  background: var(--warning-subtle);
  color: var(--warning);
  border: 1px solid var(--warning-border);
}
.store-switcher-wrap .store-switcher-trigger .store-trigger-status-chip.chip--success {
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid var(--success-border);
}
.store-switcher-wrap .store-switcher-trigger .store-trigger-status-chip.chip--info {
  background: var(--info-subtle);
  color: var(--info);
  border: 1px solid var(--info-border);
}
.store-switcher-wrap .store-switcher-trigger .store-trigger-status-chip.chip--draft {
  background: var(--surface2);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}
.store-switcher-wrap .store-switcher-trigger .store-trigger-status-chip svg, .store-switcher-wrap .store-switcher-trigger .store-trigger-status-chip [data-lucide] {
  width: 11px;
  height: 11px;
}
.store-switcher-wrap .store-switcher-trigger .store-switcher-chevron {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}
.store-switcher-wrap.open .store-switcher-trigger {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.store-switcher-wrap.open .store-switcher-trigger .store-switcher-chevron {
  transform: rotate(180deg);
  color: var(--text-primary);
}
.store-switcher-wrap.open .store-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.store-dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  width: max(100%, 290px);
  min-width: 290px;
  max-width: min(360px, 100vw - 20px);
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl, 16px);
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-normal);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.store-dropdown-panel .store-dropdown-head {
  padding: 10px 14px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.store-dropdown-panel .store-dropdown-head .store-dropdown-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}
.store-dropdown-panel .store-dropdown-head .store-dropdown-count {
  background: var(--surface3, var(--surface2));
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full, 9999px);
  border: 1px solid var(--border-subtle);
}
.store-dropdown-panel .store-dropdown-list {
  max-height: 250px;
  overflow-y: auto;
  padding: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-medium) transparent;
}
.store-dropdown-panel .store-dropdown-list .store-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-md, 10px);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  margin-bottom: 3px;
}
.store-dropdown-panel .store-dropdown-list .store-item:hover {
  background: var(--surface2);
}
.store-dropdown-panel .store-dropdown-list .store-item.active {
  background: var(--surface2);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-xs);
}
.store-dropdown-panel .store-dropdown-list .store-item.active .store-item-avatar {
  background: var(--accent-subtle);
  color: var(--accent);
  border-color: var(--accent);
}
.store-dropdown-panel .store-dropdown-list .store-item .store-item-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.store-dropdown-panel .store-dropdown-list .store-item .store-item-avatar svg, .store-dropdown-panel .store-dropdown-list .store-item .store-item-avatar i, .store-dropdown-panel .store-dropdown-list .store-item .store-item-avatar [data-lucide] {
  width: 15px;
  height: 15px;
}
.store-dropdown-panel .store-dropdown-list .store-item .store-item-info {
  flex: 1 1 auto;
  min-width: 0;
}
.store-dropdown-panel .store-dropdown-list .store-item .store-item-info .store-item-name {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.store-dropdown-panel .store-dropdown-list .store-item .store-item-info .store-item-slug {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-mono, monospace);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: ltr;
  text-align: start;
  line-height: 1.2;
}
.store-dropdown-panel .store-dropdown-list .store-item .store-item-status-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.store-dropdown-panel .store-dropdown-list .store-item .store-item-status-wrap .store-item-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.65rem;
  font-weight: 750;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  line-height: 1.2;
  white-space: nowrap;
}
.store-dropdown-panel .store-dropdown-list .store-item .store-item-status-wrap .store-item-action-pill.pill--danger {
  background: var(--danger-subtle);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}
.store-dropdown-panel .store-dropdown-list .store-item .store-item-status-wrap .store-item-action-pill.pill--warning {
  background: var(--warning-subtle);
  color: var(--warning);
  border: 1px solid var(--warning-border);
}
.store-dropdown-panel .store-dropdown-list .store-item .store-item-status-wrap .store-item-action-pill.pill--info {
  background: var(--info-subtle);
  color: var(--info);
  border: 1px solid var(--info-border);
}
.store-dropdown-panel .store-dropdown-list .store-item .store-item-status-wrap .store-item-action-pill.pill--success {
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid var(--success-border);
}
.store-dropdown-panel .store-dropdown-list .store-item .store-item-status-wrap .store-item-action-pill.pill--draft {
  background: var(--surface2);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}
.store-dropdown-panel .store-dropdown-list .store-item .store-item-status-wrap .store-item-action-pill svg, .store-dropdown-panel .store-dropdown-list .store-item .store-item-status-wrap .store-item-action-pill [data-lucide] {
  width: 10px;
  height: 10px;
}
.store-dropdown-panel .store-dropdown-list .store-item .store-item-check {
  color: var(--success);
  flex-shrink: 0;
  margin-inline-start: 4px;
}
.store-dropdown-panel .store-dropdown-list .store-item .store-item-check svg, .store-dropdown-panel .store-dropdown-list .store-item .store-item-check i, .store-dropdown-panel .store-dropdown-list .store-item .store-item-check [data-lucide] {
  width: 15px;
  height: 15px;
  stroke-width: 2.5;
}
.store-dropdown-panel .store-dropdown-actions {
  padding: 8px;
  background: var(--surface2);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.store-dropdown-panel .store-dropdown-actions .store-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: var(--radius-md, 9px);
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none;
  transition: all var(--transition-fast);
}
.store-dropdown-panel .store-dropdown-actions .store-action-btn svg, .store-dropdown-panel .store-dropdown-actions .store-action-btn i, .store-dropdown-panel .store-dropdown-actions .store-action-btn [data-lucide] {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.store-dropdown-panel .store-dropdown-actions .store-action-btn.store-add-btn {
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}
.store-dropdown-panel .store-dropdown-actions .store-action-btn.store-add-btn:hover {
  background: var(--surface3, var(--surface2));
  border-color: var(--border-strong);
}
.store-dropdown-panel .store-dropdown-actions .store-action-btn.store-visit-btn {
  color: var(--text-secondary);
  background: transparent;
}
.store-dropdown-panel .store-dropdown-actions .store-action-btn.store-visit-btn:hover {
  background: var(--surface3, var(--surface2));
  color: var(--text-primary);
}

.sidebar-menu {
  flex: 1;
  overflow-y: auto;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-subtle) transparent;
}
.sidebar-menu::-webkit-scrollbar {
  width: 4px;
}
.sidebar-menu::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 4px;
}
.sidebar-menu .menu-section-header {
  padding: 14px 10px 5px;
  font-size: 0.69rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-menu .menu-section-header:first-child {
  padding-top: 4px;
}
.sidebar-menu .menu-section-header::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
  opacity: 0.6;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 12px;
  min-height: 40px;
  border-radius: var(--radius-md, 10px);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 550;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  position: relative;
}
.menu-item svg, .menu-item i, .menu-item [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: color var(--transition-fast), transform var(--transition-fast);
  flex-shrink: 0;
}
.menu-item .nav-label {
  transition: color var(--transition-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.menu-item:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}
.menu-item:hover svg, .menu-item:hover i, .menu-item:hover [data-lucide] {
  color: var(--text-primary);
  transform: scale(1.08);
}
.menu-item.active {
  background: var(--bg-card);
  color: var(--text-primary) !important;
  font-weight: 700;
  border-color: var(--border-medium);
  box-shadow: var(--shadow-xs);
}
.menu-item.active svg, .menu-item.active i, .menu-item.active [data-lucide] {
  color: var(--text-primary) !important;
  transform: scale(1.08);
}
.menu-item.active .nav-label {
  color: var(--text-primary) !important;
}
.menu-item.active::before {
  content: "";
  position: absolute;
  inset-inline-start: -1px;
  top: 8px;
  bottom: 8px;
  width: 3.5px;
  border-radius: 0 4px 4px 0;
  background: var(--text-primary);
  box-shadow: 0 0 10px var(--accent-glow);
}

#sidebar-nav-promotions[data-app-code=coupons] {
  display: none !important;
}
#sidebar-nav-promotions[data-app-code=coupons].is-installed {
  display: flex !important;
}
#sidebar-nav-promotions[data-app-code=coupons].nav-item--revealed {
  animation: sidebarItemReveal 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards, sidebarItemGlowPulse 2.8s ease-in-out forwards;
  position: relative;
  overflow: visible;
}
#sidebar-nav-promotions[data-app-code=coupons].nav-item--revealed::after {
  content: "جديد";
  position: absolute;
  inset-inline-end: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 0 10px var(--accent-glow);
  letter-spacing: 0.2px;
  animation: badgeFadeOut 3.2s ease-in-out forwards;
  pointer-events: none;
  z-index: 2;
}

@keyframes sidebarItemReveal {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
    max-height: 0;
  }
  50% {
    opacity: 0.8;
    transform: translateY(2px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    max-height: 48px;
  }
}
@keyframes sidebarItemGlowPulse {
  0% {
    background: var(--surface2);
    box-shadow: 0 0 0 0 var(--accent-glow);
  }
  25% {
    background: var(--surface2);
    box-shadow: 0 0 16px 2px var(--accent-glow);
  }
  70% {
    background: var(--surface2);
    box-shadow: 0 0 8px 1px var(--accent-glow);
  }
  100% {
    background: transparent;
    box-shadow: none;
  }
}
@keyframes badgeFadeOut {
  0% {
    opacity: 0;
    transform: translateY(-50%) scale(0.6);
  }
  20% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  80% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) scale(0.7);
  }
}
.sidebar-footer {
  padding: 12px 14px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.sidebar-footer .sidebar-footer-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  padding: 0;
  text-decoration: none;
}
.sidebar-footer .sidebar-footer-btn svg, .sidebar-footer .sidebar-footer-btn i, .sidebar-footer .sidebar-footer-btn [data-lucide] {
  width: 17px;
  height: 17px;
  color: inherit;
  transition: transform var(--transition-fast);
}
.sidebar-footer .sidebar-footer-btn:hover {
  background: var(--surface3, var(--surface2));
  color: var(--text-primary);
  border-color: var(--border-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}
.sidebar-footer .sidebar-footer-btn:hover svg, .sidebar-footer .sidebar-footer-btn:hover i, .sidebar-footer .sidebar-footer-btn:hover [data-lucide] {
  transform: scale(1.08);
}
.sidebar-footer .sidebar-footer-btn:active {
  transform: translateY(0);
}
.sidebar-footer .sidebar-footer-btn.notif-bell-btn .notif-badge {
  display: none;
  position: absolute;
  top: -3px;
  inset-inline-end: -3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: var(--radius-full, 9999px);
  background: var(--danger);
  color: var(--text-white);
  font-size: 0.65rem;
  font-weight: 800;
  border: 2px solid var(--bg-surface);
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}
.sidebar-footer .sidebar-footer-btn.lang-toggle-btn {
  font-weight: 800;
  font-size: 0.78rem;
  font-family: var(--font-mono, monospace);
  letter-spacing: 0.02em;
}
.sidebar-footer .sidebar-footer-btn.logout-btn {
  color: var(--danger);
}
.sidebar-footer .sidebar-footer-btn.logout-btn:hover {
  background: var(--danger-subtle);
  border-color: var(--danger-border);
  color: var(--danger);
}

.top-nav, .header {
  height: 66px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.seller-mini-bar {
  width: 100%;
  height: auto !important;
  min-height: 42px;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 90;
  position: relative;
  box-shadow: var(--shadow-xs);
}

.mini-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 5px 18px;
  max-width: 100%;
  min-height: 42px;
  box-sizing: border-box;
}

.mini-bar-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-muted);
  flex-shrink: 0;
  padding: 4px 12px;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full, 9999px);
}

.mini-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 2.5px var(--success-subtle);
  animation: miniPulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
  display: inline-block;
  flex-shrink: 0;
}

@keyframes miniPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}
.mini-meta-label {
  color: var(--text-primary);
  font-weight: 700;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-meta-divider {
  opacity: 0.35;
  font-size: 0.72rem;
}

.mini-live-text {
  font-size: 0.68rem;
  font-weight: 750;
  padding: 1px 6px;
  background: var(--success-subtle);
  color: var(--success);
  border-radius: var(--radius-full, 9999px);
}

/* Consolidated HUD Track & Modern Capsule Chips */
.mini-hud-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  max-width: 980px;
  margin: 0 auto;
  min-width: 0;
}

.mini-hud-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 13px;
  height: 32px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}
.mini-hud-chip:hover {
  background: var(--surface);
  border-color: var(--border-medium);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.chip-orders:hover {
  border-color: var(--warning);
}

.chip-finance:hover {
  border-color: var(--accent);
}

.chip-icon-wrap {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chip-icon-wrap .chip-icon, .chip-icon-wrap svg, .chip-icon-wrap i {
  width: 12px;
  height: 12px;
  stroke-width: 2.2px;
}

.bg-amber-soft {
  background: var(--warning-subtle);
}

.bg-indigo-soft {
  background: var(--accent-subtle);
}

.chip-metrics {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
}

.chip-metric {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}

.chip-val {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  font-size: 0.82rem;
}

.chip-lbl {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.chip-tag {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--text-muted);
}

.chip-dot {
  color: var(--text-muted);
  opacity: 0.35;
  font-size: 0.72rem;
  font-weight: 700;
  margin: 0 1px;
}

.mini-kpi-curr {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-inline-start: 2px;
}

/* Yesterday Visibility (Always visible on all screens) */
.chip-yesterday-item.chip-metric {
  display: inline-flex !important;
}

.chip-yesterday-item.chip-dot {
  display: inline !important;
}

.text-amber {
  color: var(--warning) !important;
}

.text-emerald {
  color: var(--success) !important;
}

.text-indigo {
  color: var(--indigo) !important;
}

.text-cyan {
  color: var(--teal) !important;
}

.text-violet {
  color: var(--purple) !important;
}

.mini-val-pulse {
  animation: miniValGlow 0.6s ease-out;
}

@keyframes miniValGlow {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}
.mini-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0 !important;
}

.mini-last-updated {
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.9;
  font-weight: 600;
}

.mini-refresh-btn {
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.mini-refresh-btn i, .mini-refresh-btn svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2px;
  transition: transform 0.25s ease;
}
.mini-refresh-btn:hover {
  background: var(--accent-hover);
  color: var(--text-inverse);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.mini-refresh-btn:hover i, .mini-refresh-btn:hover svg {
  color: var(--text-inverse);
}
.mini-refresh-btn.is-spinning svg, .mini-refresh-btn.is-spinning i {
  animation: mini-refresh-spin 0.8s linear infinite !important;
}
.mini-refresh-btn > .spin {
  animation: none !important;
}

@keyframes mini-refresh-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.mobile-topbar {
  display: none;
  height: 58px;
  background: var(--surface);
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;
}

.mobile-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-topbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
}
.mobile-topbar-brand .mobile-brand-chevron {
  width: 13px;
  height: 13px;
  opacity: 0.7;
}

.mobile-store-link-btn {
  display: none;
}

.notif-header-badge {
  display: none;
}

.mobile-brand-icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.mobile-store-title {
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mobile-topbar-actions .icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mobile-topbar-actions .icon-btn svg, .mobile-topbar-actions .icon-btn [data-lucide] {
  width: 17px;
  height: 17px;
}
.mobile-topbar-actions .icon-btn:hover {
  background: var(--surface3);
}

.mobile-menu-btn {
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md, 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mobile-menu-btn svg, .mobile-menu-btn [data-lucide] {
  width: 18px;
  height: 18px;
}
.mobile-menu-btn:hover {
  background: var(--surface3);
}

.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  height: 62px;
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  z-index: 1000;
  align-items: center;
  justify-content: space-around;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: var(--shadow-drawer);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  padding: 6px 12px;
  min-height: 48px;
  flex: 1;
  transition: color 0.15s ease;
}
.bottom-nav-item svg, .bottom-nav-item [data-lucide] {
  width: 19px;
  height: 19px;
  stroke-width: 2.2px;
  transition: transform 0.15s ease;
}
.bottom-nav-item.active, .bottom-nav-item:hover {
  color: var(--text-primary);
}
.bottom-nav-item.active svg, .bottom-nav-item.active [data-lucide], .bottom-nav-item:hover svg, .bottom-nav-item:hover [data-lucide] {
  transform: translateY(-2px);
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-backdrop.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

@media (max-width: 991.98px) {
  .mobile-topbar {
    display: flex !important;
  }
  .mobile-bottom-nav {
    display: flex !important;
  }
  .app-layout {
    display: block !important;
    height: auto !important;
    min-height: 100vh;
    overflow: visible !important;
  }
  .main-content {
    width: 100% !important;
    margin-inline-start: 0 !important;
    min-width: 0 !important;
    overflow: visible !important;
  }
  .content-scroll {
    padding: 16px 14px !important;
    padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px)) !important;
    overflow-y: visible !important;
  }
  .sidebar {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 280px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    z-index: 1050 !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  [dir=rtl] .sidebar {
    right: 0 !important;
    left: auto !important;
    transform: translateX(100%) !important;
  }
  [dir=ltr] .sidebar {
    left: 0 !important;
    right: auto !important;
    transform: translateX(-100%) !important;
  }
  html:not([dir]) .sidebar {
    right: 0 !important;
    left: auto !important;
    transform: translateX(100%) !important;
  }
  .sidebar.open, .sidebar.active {
    transform: translateX(0) !important;
    box-shadow: var(--shadow-xl) !important;
  }
  .sidebar .sidebar-close-btn {
    display: flex !important;
  }
  .seller-mini-bar {
    padding: 0 4px;
  }
  .seller-mini-bar .mini-hud-track {
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
    padding: 2px 4px;
  }
  .seller-mini-bar .mini-hud-track::-webkit-scrollbar {
    display: none;
  }
}
.seller-notif-backdrop {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1054;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.seller-notif-backdrop.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.seller-notif-drawer {
  position: fixed;
  top: 16px;
  bottom: 16px;
  inset-inline-start: calc(var(--sidebar-w, 268px) + 14px);
  inset-inline-end: auto;
  width: 410px;
  max-width: calc(100vw - var(--sidebar-w, 268px) - 32px);
  max-height: calc(100vh - 32px);
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--surface) 100%);
  border: 1px solid var(--border-medium) !important;
  border-radius: var(--radius-2xl, 28px);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1055;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
}
.seller-notif-drawer::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 180px;
  background: radial-gradient(120% 100% at 50% 0%, var(--accent-glow) 0%, transparent 100%);
  pointer-events: none;
  opacity: 0.8;
}
[dir=rtl] .seller-notif-drawer {
  transform: translateX(18px) scale(0.96);
}
[dir=ltr] .seller-notif-drawer {
  transform: translateX(-18px) scale(0.96);
}
html:not([dir]) .seller-notif-drawer {
  transform: translateX(18px) scale(0.96);
}
.seller-notif-drawer.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(0) scale(1) !important;
}
@media (max-width: 991.98px) {
  .seller-notif-drawer {
    inset-inline-start: 12px !important;
    inset-inline-end: 12px !important;
    top: 64px !important;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    width: auto !important;
    max-width: 480px !important;
    max-height: none !important;
    margin-inline: auto !important;
    border-radius: var(--radius-2xl, 26px) !important;
  }
  [dir=rtl] .seller-notif-drawer, [dir=ltr] .seller-notif-drawer, html:not([dir]) .seller-notif-drawer {
    transform: translateY(16px) scale(0.96) !important;
  }
  .seller-notif-drawer.active {
    transform: translateY(0) scale(1) !important;
  }
}

.notif-drawer-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 2;
  background: transparent;
  flex-shrink: 0;
}
.notif-drawer-header .notif-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.notif-drawer-header .notif-header-title .notif-title-emblem {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md, 12px);
  background: linear-gradient(135deg, var(--surface2) 0%, var(--surface3, var(--surface2)) 100%);
  border: 1.5px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.notif-drawer-header .notif-header-title .notif-title-emblem svg, .notif-drawer-header .notif-header-title .notif-title-emblem i, .notif-drawer-header .notif-header-title .notif-title-emblem [data-lucide] {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
  color: var(--accent);
}
.notif-drawer-header .notif-header-title .notif-header-badge {
  background: var(--surface3);
  border: 1px solid var(--border-medium);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.notif-drawer-header .notif-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.notif-drawer-header .notif-header-actions .notif-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}
.notif-drawer-header .notif-header-actions .notif-action-btn svg, .notif-drawer-header .notif-header-actions .notif-action-btn i, .notif-drawer-header .notif-header-actions .notif-action-btn [data-lucide] {
  width: 14px;
  height: 14px;
}
.notif-drawer-header .notif-header-actions .notif-action-btn:hover {
  background: var(--surface3);
  border-color: var(--border-medium);
  color: var(--text-primary);
  transform: translateY(-1px);
}
.notif-drawer-header .notif-header-actions .notif-close-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.notif-drawer-header .notif-header-actions .notif-close-btn svg, .notif-drawer-header .notif-header-actions .notif-close-btn i, .notif-drawer-header .notif-header-actions .notif-close-btn [data-lucide] {
  width: 16px;
  height: 16px;
}
.notif-drawer-header .notif-header-actions .notif-close-btn:hover {
  background: var(--surface3);
  border-color: var(--border-medium);
  color: var(--text-primary);
  transform: scale(1.06);
}

.notif-drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  position: relative;
  z-index: 1;
}
.notif-drawer-body::-webkit-scrollbar {
  width: 5px;
}
.notif-drawer-body::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: var(--radius-full, 9999px);
}

.notif-bubble,
.notif-card-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl, 20px);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.notif-bubble:hover,
.notif-card-item:hover {
  background: var(--surface3);
  border-color: var(--border-medium);
  transform: translateY(-2px) scale(1.01);
  box-shadow: var(--shadow-md);
}
.notif-bubble:hover .notif-bubble-icon,
.notif-bubble:hover .notif-card-icon-wrap,
.notif-card-item:hover .notif-bubble-icon,
.notif-card-item:hover .notif-card-icon-wrap {
  transform: scale(1.08) rotate(3deg);
}
.notif-bubble.is-unread,
.notif-card-item.is-unread {
  background: var(--surface2);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}
.notif-bubble .notif-bubble-icon,
.notif-bubble .notif-card-icon-wrap,
.notif-card-item .notif-bubble-icon,
.notif-card-item .notif-card-icon-wrap {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}
.notif-bubble .notif-bubble-icon svg, .notif-bubble .notif-bubble-icon i, .notif-bubble .notif-bubble-icon [data-lucide],
.notif-bubble .notif-card-icon-wrap svg,
.notif-bubble .notif-card-icon-wrap i,
.notif-bubble .notif-card-icon-wrap [data-lucide],
.notif-card-item .notif-bubble-icon svg,
.notif-card-item .notif-bubble-icon i,
.notif-card-item .notif-bubble-icon [data-lucide],
.notif-card-item .notif-card-icon-wrap svg,
.notif-card-item .notif-card-icon-wrap i,
.notif-card-item .notif-card-icon-wrap [data-lucide] {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}
.notif-bubble .notif-bubble-icon.notif-icon--order,
.notif-bubble .notif-card-icon-wrap.notif-icon--order,
.notif-card-item .notif-bubble-icon.notif-icon--order,
.notif-card-item .notif-card-icon-wrap.notif-icon--order {
  background: var(--success-subtle);
  border: 1.5px solid var(--success-border);
  color: var(--success);
  box-shadow: 0 0 14px var(--success-subtle);
}
.notif-bubble .notif-bubble-icon.notif-icon--alert,
.notif-bubble .notif-card-icon-wrap.notif-icon--alert,
.notif-card-item .notif-bubble-icon.notif-icon--alert,
.notif-card-item .notif-card-icon-wrap.notif-icon--alert {
  background: var(--warning-subtle);
  border: 1.5px solid var(--warning-border);
  color: var(--warning);
  box-shadow: 0 0 14px var(--warning-subtle);
}
.notif-bubble .notif-bubble-icon.notif-icon--danger,
.notif-bubble .notif-card-icon-wrap.notif-icon--danger,
.notif-card-item .notif-bubble-icon.notif-icon--danger,
.notif-card-item .notif-card-icon-wrap.notif-icon--danger {
  background: var(--danger-subtle);
  border: 1.5px solid var(--danger-border);
  color: var(--danger);
  box-shadow: 0 0 14px var(--danger-subtle);
}
.notif-bubble .notif-bubble-icon.notif-icon--system,
.notif-bubble .notif-card-icon-wrap.notif-icon--system,
.notif-card-item .notif-bubble-icon.notif-icon--system,
.notif-card-item .notif-card-icon-wrap.notif-icon--system {
  background: var(--accent-subtle);
  border: 1.5px solid var(--border-strong);
  color: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}
.notif-bubble .notif-bubble-content,
.notif-bubble .notif-card-body,
.notif-card-item .notif-bubble-content,
.notif-card-item .notif-card-body {
  flex: 1;
  min-width: 0;
}
.notif-bubble .notif-bubble-content .notif-bubble-header,
.notif-bubble .notif-bubble-content .notif-card-header,
.notif-bubble .notif-card-body .notif-bubble-header,
.notif-bubble .notif-card-body .notif-card-header,
.notif-card-item .notif-bubble-content .notif-bubble-header,
.notif-card-item .notif-bubble-content .notif-card-header,
.notif-card-item .notif-card-body .notif-bubble-header,
.notif-card-item .notif-card-body .notif-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.notif-bubble .notif-bubble-content .notif-bubble-header .notif-bubble-title,
.notif-bubble .notif-bubble-content .notif-bubble-header .notif-card-title,
.notif-bubble .notif-bubble-content .notif-card-header .notif-bubble-title,
.notif-bubble .notif-bubble-content .notif-card-header .notif-card-title,
.notif-bubble .notif-card-body .notif-bubble-header .notif-bubble-title,
.notif-bubble .notif-card-body .notif-bubble-header .notif-card-title,
.notif-bubble .notif-card-body .notif-card-header .notif-bubble-title,
.notif-bubble .notif-card-body .notif-card-header .notif-card-title,
.notif-card-item .notif-bubble-content .notif-bubble-header .notif-bubble-title,
.notif-card-item .notif-bubble-content .notif-bubble-header .notif-card-title,
.notif-card-item .notif-bubble-content .notif-card-header .notif-bubble-title,
.notif-card-item .notif-bubble-content .notif-card-header .notif-card-title,
.notif-card-item .notif-card-body .notif-bubble-header .notif-bubble-title,
.notif-card-item .notif-card-body .notif-bubble-header .notif-card-title,
.notif-card-item .notif-card-body .notif-card-header .notif-bubble-title,
.notif-card-item .notif-card-body .notif-card-header .notif-card-title {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notif-bubble .notif-bubble-content .notif-bubble-header .notif-time-bubble,
.notif-bubble .notif-bubble-content .notif-bubble-header .notif-card-time,
.notif-bubble .notif-bubble-content .notif-card-header .notif-time-bubble,
.notif-bubble .notif-bubble-content .notif-card-header .notif-card-time,
.notif-bubble .notif-card-body .notif-bubble-header .notif-time-bubble,
.notif-bubble .notif-card-body .notif-bubble-header .notif-card-time,
.notif-bubble .notif-card-body .notif-card-header .notif-time-bubble,
.notif-bubble .notif-card-body .notif-card-header .notif-card-time,
.notif-card-item .notif-bubble-content .notif-bubble-header .notif-time-bubble,
.notif-card-item .notif-bubble-content .notif-bubble-header .notif-card-time,
.notif-card-item .notif-bubble-content .notif-card-header .notif-time-bubble,
.notif-card-item .notif-bubble-content .notif-card-header .notif-card-time,
.notif-card-item .notif-card-body .notif-bubble-header .notif-time-bubble,
.notif-card-item .notif-card-body .notif-bubble-header .notif-card-time,
.notif-card-item .notif-card-body .notif-card-header .notif-time-bubble,
.notif-card-item .notif-card-body .notif-card-header .notif-card-time {
  padding: 2px 8px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  border: 1px solid var(--border-subtle);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}
.notif-bubble .notif-bubble-content .notif-bubble-text,
.notif-bubble .notif-bubble-content .notif-card-text,
.notif-bubble .notif-card-body .notif-bubble-text,
.notif-bubble .notif-card-body .notif-card-text,
.notif-card-item .notif-bubble-content .notif-bubble-text,
.notif-card-item .notif-bubble-content .notif-card-text,
.notif-card-item .notif-card-body .notif-bubble-text,
.notif-card-item .notif-card-body .notif-card-text {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-secondary);
  word-break: break-word;
}
.notif-bubble .notif-bubble-content .notif-extra-bubble,
.notif-bubble .notif-bubble-content .notif-card-extra,
.notif-bubble .notif-card-body .notif-extra-bubble,
.notif-bubble .notif-card-body .notif-card-extra,
.notif-card-item .notif-bubble-content .notif-extra-bubble,
.notif-card-item .notif-bubble-content .notif-card-extra,
.notif-card-item .notif-card-body .notif-extra-bubble,
.notif-card-item .notif-card-body .notif-card-extra {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  border: 1px solid var(--border-subtle);
}
.notif-bubble .notif-bubble-content .notif-extra-bubble svg, .notif-bubble .notif-bubble-content .notif-extra-bubble i, .notif-bubble .notif-bubble-content .notif-extra-bubble [data-lucide],
.notif-bubble .notif-bubble-content .notif-card-extra svg,
.notif-bubble .notif-bubble-content .notif-card-extra i,
.notif-bubble .notif-bubble-content .notif-card-extra [data-lucide],
.notif-bubble .notif-card-body .notif-extra-bubble svg,
.notif-bubble .notif-card-body .notif-extra-bubble i,
.notif-bubble .notif-card-body .notif-extra-bubble [data-lucide],
.notif-bubble .notif-card-body .notif-card-extra svg,
.notif-bubble .notif-card-body .notif-card-extra i,
.notif-bubble .notif-card-body .notif-card-extra [data-lucide],
.notif-card-item .notif-bubble-content .notif-extra-bubble svg,
.notif-card-item .notif-bubble-content .notif-extra-bubble i,
.notif-card-item .notif-bubble-content .notif-extra-bubble [data-lucide],
.notif-card-item .notif-bubble-content .notif-card-extra svg,
.notif-card-item .notif-bubble-content .notif-card-extra i,
.notif-card-item .notif-bubble-content .notif-card-extra [data-lucide],
.notif-card-item .notif-card-body .notif-extra-bubble svg,
.notif-card-item .notif-card-body .notif-extra-bubble i,
.notif-card-item .notif-card-body .notif-extra-bubble [data-lucide],
.notif-card-item .notif-card-body .notif-card-extra svg,
.notif-card-item .notif-card-body .notif-card-extra i,
.notif-card-item .notif-card-body .notif-card-extra [data-lucide] {
  width: 12px;
  height: 12px;
}
.notif-bubble .notif-bubble-dot,
.notif-bubble .notif-unread-dot,
.notif-card-item .notif-bubble-dot,
.notif-card-item .notif-unread-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  flex-shrink: 0;
  align-self: center;
}

.notif-empty-state {
  padding: 60px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: auto;
}
.notif-empty-state .notif-empty-emblem {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--surface2);
  border: 2px dashed var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  box-shadow: var(--shadow-md);
  margin-bottom: 4px;
}
.notif-empty-state .notif-empty-emblem svg, .notif-empty-state .notif-empty-emblem i, .notif-empty-state .notif-empty-emblem [data-lucide] {
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
  color: var(--text-muted);
}
.notif-empty-state .notif-empty-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.notif-empty-state .notif-empty-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 260px;
}

.notif-drawer-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.notif-drawer-footer .notif-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-full, 9999px);
  transition: var(--transition-fast);
}
.notif-drawer-footer .notif-clear-btn svg, .notif-drawer-footer .notif-clear-btn i, .notif-drawer-footer .notif-clear-btn [data-lucide] {
  width: 14px;
  height: 14px;
}
.notif-drawer-footer .notif-clear-btn:hover {
  color: var(--danger);
  background: var(--danger-subtle);
}

.notif-bell-btn {
  position: relative;
}

.notif-badge {
  position: absolute;
  top: 0px;
  inset-inline-end: 0px;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full, 9999px);
  background: var(--danger);
  color: var(--text-white);
  font-size: 0.65rem;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  box-shadow: 0 2px 8px var(--danger-border);
  pointer-events: none;
  z-index: 2;
  border: 2px solid var(--bg-surface);
  font-variant-numeric: tabular-nums;
}

.mobile-topbar-brand {
  position: relative;
}
.mobile-topbar-brand .store-switcher-alert-badge {
  position: absolute;
  top: 2px;
  inset-inline-start: 14px;
  width: 9px;
  height: 9px;
  border-radius: var(--radius-full);
  display: none;
  box-shadow: 0 0 0 2px var(--bg-card);
  z-index: 3;
}
.mobile-topbar-brand .store-switcher-alert-badge.is-visible {
  display: block;
}
.mobile-topbar-brand .store-switcher-alert-badge.badge--danger {
  background: var(--danger);
  animation: pulse-ring-danger 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}
.mobile-topbar-brand .store-switcher-alert-badge.badge--warning {
  background: var(--warning);
  animation: pulse-ring-warning 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-ring-danger {
  0% {
    box-shadow: 0 0 0 0 var(--danger-border), 0 0 0 2px var(--bg-card);
  }
  70% {
    box-shadow: 0 0 0 8px transparent, 0 0 0 2px var(--bg-card);
  }
  100% {
    box-shadow: 0 0 0 0 transparent, 0 0 0 2px var(--bg-card);
  }
}
@keyframes pulse-ring-warning {
  0% {
    box-shadow: 0 0 0 0 var(--warning-border), 0 0 0 2px var(--bg-card);
  }
  70% {
    box-shadow: 0 0 0 8px transparent, 0 0 0 2px var(--bg-card);
  }
  100% {
    box-shadow: 0 0 0 0 transparent, 0 0 0 2px var(--bg-card);
  }
}
@keyframes attention-shake {
  0%, 100% {
    transform: translateX(0);
  }
  15%, 45% {
    transform: translateX(-3px);
  }
  30%, 60% {
    transform: translateX(3px);
  }
}
@keyframes field-focus-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 transparent;
    border-color: var(--border-medium);
  }
  30%, 70% {
    box-shadow: 0 0 0 6px var(--warning-subtle), 0 0 20px var(--warning-border);
    border-color: var(--warning);
    transform: translateY(-2px);
  }
}
.field-highlight-pulse {
  animation: field-focus-glow 2.5s ease-in-out infinite !important;
  position: relative;
  z-index: 10;
  border-color: var(--warning) !important;
}

.store-fix-float-pill {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  z-index: 1050;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  padding: 8px 16px;
  display: none;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.store-fix-float-pill.is-visible {
  display: flex;
}
.store-fix-float-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-strong);
}
.store-fix-float-pill.pill--warning {
  border-color: var(--warning-border);
}
.store-fix-float-pill.pill--warning .fix-pill-pulse {
  background: var(--warning);
  animation: pulse-ring-warning 2s infinite;
}
.store-fix-float-pill.pill--warning .fix-pill-icon-wrap {
  background: var(--warning-subtle);
  color: var(--warning);
}
.store-fix-float-pill.pill--warning .fix-pill-count {
  color: var(--warning);
}
.store-fix-float-pill.pill--danger {
  border-color: var(--danger-border);
  animation: attention-shake 3.5s infinite;
}
.store-fix-float-pill.pill--danger .fix-pill-pulse {
  background: var(--danger);
  animation: pulse-ring-danger 2s infinite;
}
.store-fix-float-pill.pill--danger .fix-pill-icon-wrap {
  background: var(--danger-subtle);
  color: var(--danger);
}
.store-fix-float-pill.pill--danger .fix-pill-count {
  color: var(--danger);
}
.store-fix-float-pill .fix-pill-pulse {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
.store-fix-float-pill .fix-pill-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.store-fix-float-pill .fix-pill-icon-wrap svg, .store-fix-float-pill .fix-pill-icon-wrap [data-lucide] {
  width: 16px;
  height: 16px;
}
.store-fix-float-pill .fix-pill-text-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.store-fix-float-pill .fix-pill-text-stack .fix-pill-title {
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--text-primary);
  line-height: 1.2;
}
.store-fix-float-pill .fix-pill-text-stack .fix-pill-count {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
}
.store-fix-float-pill .fix-pill-chevron {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  margin-inline-start: 4px;
}

@media (max-width: 768px) {
  .store-fix-float-pill {
    bottom: 74px;
    inset-inline: 16px;
    justify-content: space-between;
    border-radius: var(--radius-lg);
  }
}
.store-fix-drawer .fix-drawer-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.store-fix-drawer .fix-drawer-icon-wrap svg, .store-fix-drawer .fix-drawer-icon-wrap [data-lucide] {
  width: 22px;
  height: 22px;
}
.store-fix-drawer .fix-drawer-icon-wrap.bg-warning-soft {
  background: var(--warning-subtle);
  color: var(--warning);
  border: 1px solid var(--warning-border);
}
.store-fix-drawer .fix-drawer-icon-wrap.bg-danger-soft {
  background: var(--danger-subtle);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}
.store-fix-drawer .store-fix-note-banner {
  background: var(--surface2);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 20px;
}
.store-fix-drawer .store-fix-note-banner .fix-note-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.store-fix-drawer .store-fix-note-banner .fix-note-header .fix-note-icon {
  color: var(--text-muted);
  display: flex;
  align-items: center;
}
.store-fix-drawer .store-fix-note-banner .fix-note-header .fix-note-title {
  font-size: 0.83rem;
  font-weight: 750;
  color: var(--text-primary);
  flex: 1;
  margin-inline-start: 8px;
}
.store-fix-drawer .store-fix-note-banner .fix-note-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  white-space: pre-line;
}
.store-fix-drawer .store-fix-track-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.86rem;
}
.store-fix-drawer .store-fix-track-header .store-fix-count-badge {
  background: var(--surface3, var(--surface2));
  color: var(--text-primary);
  font-size: 0.74rem;
  font-weight: 750;
  padding: 2px 9px;
  border-radius: var(--radius-full);
}
.store-fix-drawer .store-fix-items-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.store-fix-drawer .store-fix-card {
  position: relative;
  overflow: hidden;
  background: var(--surface2);
  border: none;
  border-radius: var(--radius-lg);
  padding: 16px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}
.store-fix-drawer .store-fix-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: var(--warning);
  transition: height var(--transition-fast);
}
.store-fix-drawer .store-fix-card:hover {
  background: var(--surface3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.store-fix-drawer .store-fix-card:hover::before {
  height: 4px;
}
.store-fix-drawer .store-fix-card.fix-card--warning::before {
  background: var(--warning);
}
.store-fix-drawer .store-fix-card.fix-card--danger::before {
  background: var(--danger);
}
.store-fix-drawer .store-fix-card.fix-card--fixed {
  opacity: 0.85;
}
.store-fix-drawer .store-fix-card.fix-card--fixed::before {
  background: var(--success);
}
.store-fix-drawer .store-fix-card .fix-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.store-fix-drawer .store-fix-card .fix-card-header .fix-card-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warning);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}
.store-fix-drawer .store-fix-card .fix-card-header .fix-card-icon-wrap svg, .store-fix-drawer .store-fix-card .fix-card-header .fix-card-icon-wrap [data-lucide] {
  width: 18px;
  height: 18px;
}
.store-fix-drawer .store-fix-card .fix-card-header .fix-card-title {
  font-size: 0.9rem;
  font-weight: 750;
  color: var(--text-primary);
  line-height: 1.3;
}
.store-fix-drawer .store-fix-card .fix-card-header .fix-card-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.store-fix-drawer .store-fix-card .fix-details-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.store-fix-drawer .store-fix-card .fix-details-grid .fix-detail-tile {
  background: var(--surface);
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-xs);
}
.store-fix-drawer .store-fix-card .fix-details-grid .fix-detail-tile .fix-tile-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
}
.store-fix-drawer .store-fix-card .fix-details-grid .fix-detail-tile .fix-tile-header svg, .store-fix-drawer .store-fix-card .fix-details-grid .fix-detail-tile .fix-tile-header [data-lucide] {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.store-fix-drawer .store-fix-card .fix-details-grid .fix-detail-tile .fix-tile-text {
  font-size: 0.8rem;
  line-height: 1.5;
}
.store-fix-drawer .store-fix-card .fix-details-grid .fix-detail-tile.tile--problem {
  border-inline-start: 3px solid var(--warning);
}
.store-fix-drawer .store-fix-card .fix-details-grid .fix-detail-tile.tile--problem .fix-tile-header {
  color: var(--warning);
}
.store-fix-drawer .store-fix-card .fix-details-grid .fix-detail-tile.tile--problem .fix-tile-text {
  color: var(--text-secondary);
}
.store-fix-drawer .store-fix-card .fix-details-grid .fix-detail-tile.tile--fix {
  border-inline-start: 3px solid var(--accent);
}
.store-fix-drawer .store-fix-card .fix-details-grid .fix-detail-tile.tile--fix .fix-tile-header {
  color: var(--accent);
}
.store-fix-drawer .store-fix-card .fix-details-grid .fix-detail-tile.tile--fix .fix-tile-text {
  color: var(--text-primary);
  font-weight: 600;
}
.store-fix-drawer .store-fix-card .fix-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}
.store-fix-drawer .store-fix-card .fix-card-footer .fix-target-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--surface);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
}
.store-fix-drawer .store-fix-card .fix-card-footer .fix-target-chip svg, .store-fix-drawer .store-fix-card .fix-card-footer .fix-target-chip [data-lucide] {
  width: 12px;
  height: 12px;
  color: var(--accent);
}
.store-fix-drawer .store-fix-card .fix-card-footer .fix-goto-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}
.store-fix-drawer .store-fix-empty-state,
.store-fix-drawer .store-fix-all-done {
  text-align: center;
  padding: 32px 16px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.store-fix-drawer .store-fix-empty-state svg, .store-fix-drawer .store-fix-empty-state [data-lucide],
.store-fix-drawer .store-fix-all-done svg,
.store-fix-drawer .store-fix-all-done [data-lucide] {
  width: 32px;
  height: 32px;
}
.store-fix-drawer .store-fix-all-done .all-done-icon {
  color: var(--success);
}
.store-fix-drawer .store-fix-all-done .all-done-title {
  font-size: 1rem;
  font-weight: 750;
  color: var(--text-primary);
}
.store-fix-drawer .store-fix-all-done .all-done-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.store-fix-drawer .fix-progress-track-row {
  background: var(--surface2);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}
.store-fix-drawer .fix-progress-track-row .fix-progress-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
}
.store-fix-drawer .fix-progress-track-row .fix-progress-badge {
  font-size: 0.76rem;
  font-weight: 750;
  color: var(--accent);
}
.store-fix-drawer .fix-progress-track-row .fix-progress-track {
  width: 100%;
  height: 6px;
  background: var(--surface);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-block: 4px 6px;
}
.store-fix-drawer .fix-progress-track-row .fix-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-full);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.store-fix-drawer .fix-progress-track-row .fix-progress-bar.bar--complete {
  background: var(--success);
}
.store-fix-drawer .fix-progress-track-row .fix-progress-bar.bar--partial {
  background: var(--warning);
}
.store-fix-drawer .fix-progress-track-row .fix-progress-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.store-fix-drawer .btn-executive-submit-review {
  background: var(--text-primary);
  color: var(--text-inverse);
  font-weight: 750;
  border-radius: var(--radius-md);
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}
.store-fix-drawer .btn-executive-submit-review:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.store-fix-drawer .btn-executive-submit-review:disabled {
  background: var(--surface3);
  color: var(--text-muted);
  opacity: 0.75;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.store-fix-drawer .btn-executive-submit-locked {
  background: var(--surface3) !important;
  color: var(--text-muted) !important;
  opacity: 0.75 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

.field-error-flag-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--warning-subtle);
  color: var(--warning);
  border: 1px solid var(--warning-border);
  border-radius: var(--radius-full);
  padding: 2px 8px;
  font-size: 0.68rem;
  font-weight: 750;
  cursor: pointer;
  user-select: none;
  margin-inline: 6px;
  line-height: 1.2;
  flex-shrink: 0;
  vertical-align: middle;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.field-error-flag-pill svg, .field-error-flag-pill [data-lucide] {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.field-error-flag-pill:hover {
  background: var(--warning);
  color: var(--color-black);
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}
.field-error-flag-pill.flag-pill--danger {
  background: var(--danger-subtle);
  color: var(--danger);
  border-color: var(--danger-border);
}
.field-error-flag-pill.flag-pill--danger:hover {
  background: var(--danger);
  color: var(--color-white);
}
.field-error-flag-pill.flag-pill--advisory {
  background: var(--surface3);
  color: var(--text-secondary);
  border-color: var(--border-medium);
}
.field-error-flag-pill.flag-pill--advisory:hover {
  background: var(--surface2);
  color: var(--text-primary);
  border-color: var(--border-strong);
}
@media (max-width: 768px) {
  .field-error-flag-pill {
    min-height: 28px;
    padding: 3px 9px;
    font-size: 0.72rem;
  }
}

.has-field-audit-error {
  border-color: var(--warning) !important;
  box-shadow: 0 0 0 2px var(--warning-subtle) !important;
}

.field-error-popover-backdrop {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg, rgba(0, 0, 0, 0.65));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1240;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.field-error-popover-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.field-error-popover {
  position: absolute;
  z-index: 1250;
  width: min(390px, 100vw - 32px);
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.field-error-popover .popover-drag-handle {
  display: none;
}
.field-error-popover .popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}
.field-error-popover .popover-header .popover-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.field-error-popover .popover-header .popover-title-group svg, .field-error-popover .popover-header .popover-title-group [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--warning);
  flex-shrink: 0;
}
.field-error-popover .popover-header .popover-title-group .popover-title {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--text-primary);
}
.field-error-popover .popover-header .popover-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}
.field-error-popover .popover-header .popover-close-btn:hover {
  color: var(--text-primary);
}
.field-error-popover .popover-header .popover-close-btn svg, .field-error-popover .popover-header .popover-close-btn [data-lucide] {
  width: 16px;
  height: 16px;
}
.field-error-popover .popover-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.field-error-popover .popover-body .popover-section-box {
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.field-error-popover .popover-body .popover-section-box .box-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.field-error-popover .popover-body .popover-section-box .box-lbl svg, .field-error-popover .popover-body .popover-section-box .box-lbl [data-lucide] {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.field-error-popover .popover-body .popover-section-box .box-val {
  font-size: 0.8rem;
  line-height: 1.5;
}
.field-error-popover .popover-body .popover-section-box.box--problem {
  background: var(--surface2);
  border-inline-start: 3px solid var(--warning);
}
.field-error-popover .popover-body .popover-section-box.box--problem .box-lbl {
  color: var(--warning);
}
.field-error-popover .popover-body .popover-section-box.box--problem .box-val {
  color: var(--text-primary);
}
.field-error-popover .popover-body .popover-section-box.box--fix {
  background: var(--surface3);
  border-inline-start: 3px solid var(--accent);
}
.field-error-popover .popover-body .popover-section-box.box--fix .box-lbl {
  color: var(--accent);
}
.field-error-popover .popover-body .popover-section-box.box--fix .box-val {
  color: var(--text-secondary);
}
.field-error-popover .popover-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}
@media (max-width: 768px) {
  .field-error-popover {
    position: fixed !important;
    inset-inline: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    border-radius: 24px 24px 0 0 !important;
    border-inline: none !important;
    border-bottom: none !important;
    border-top: 1px solid var(--border-medium) !important;
    box-shadow: var(--shadow-drawer, var(--shadow-xl)) !important;
    z-index: 1250 !important;
    padding: 14px 18px 24px 18px !important;
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
    max-height: 82vh;
    overflow-y: auto;
  }
  .field-error-popover.popover--open-sheet {
    transform: translateY(0) !important;
  }
  .field-error-popover .popover-drag-handle {
    display: block;
    width: 40px;
    height: 4px;
    background: var(--border-strong);
    border-radius: var(--radius-full);
    margin: 0 auto 12px auto;
  }
  .field-error-popover .popover-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
  }
  .field-error-popover .popover-header .popover-close-btn {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--surface2);
  }
  .field-error-popover .popover-footer {
    flex-direction: column-reverse;
    gap: 10px;
    padding-top: 12px;
  }
  .field-error-popover .popover-footer .btn {
    width: 100%;
    min-height: 44px;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2, 8px);
  padding: 9px 18px;
  min-height: 40px;
  border-radius: var(--radius-lg, 12px);
  font-family: inherit;
  font-size: var(--text-sm, 0.85rem);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: var(--transition-fast, all 0.2s cubic-bezier(0.16, 1, 0.3, 1));
  user-select: none;
  line-height: 1.4;
  white-space: nowrap;
  position: relative;
  box-sizing: border-box;
}
.btn svg, .btn i, .btn [data-lucide], .btn .btn-icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.2px;
  flex-shrink: 0;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.btn .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.btn .btn-icon svg, .btn .btn-icon [data-lucide], .btn .btn-icon i {
  width: 100%;
  height: 100%;
  color: inherit;
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn:active:not(:disabled) {
  transform: translateY(0);
}

.btn--primary, .btn-primary {
  background: var(--text-primary);
  color: var(--text-inverse) !important;
  border-color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}
.btn--primary svg, .btn--primary i, .btn--primary [data-lucide], .btn--primary .btn-icon, .btn-primary svg, .btn-primary i, .btn-primary [data-lucide], .btn-primary .btn-icon {
  color: var(--text-inverse) !important;
}
.btn--primary:hover:not(:disabled), .btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  color: var(--text-inverse) !important;
  border-color: var(--accent-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn--primary:active:not(:disabled), .btn-primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: var(--shadow-xs);
}

.btn--secondary, .btn-secondary {
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
  font-weight: 700;
  transition: all var(--transition-fast, 0.2s cubic-bezier(0.16, 1, 0.3, 1));
}
.btn--secondary svg, .btn--secondary i, .btn--secondary [data-lucide], .btn-secondary svg, .btn-secondary i, .btn-secondary [data-lucide] {
  color: var(--text-secondary);
  stroke-width: 2.2px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.btn--secondary:hover:not(:disabled), .btn-secondary:hover:not(:disabled) {
  background: var(--surface3);
  border-color: var(--border-strong);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1.5px);
}
.btn--secondary:hover:not(:disabled) svg, .btn--secondary:hover:not(:disabled) i, .btn--secondary:hover:not(:disabled) [data-lucide], .btn-secondary:hover:not(:disabled) svg, .btn-secondary:hover:not(:disabled) i, .btn-secondary:hover:not(:disabled) [data-lucide] {
  color: var(--accent);
  transform: scale(1.08);
}
.btn--secondary:active:not(:disabled), .btn-secondary:active:not(:disabled) {
  transform: translateY(0);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.btn--get, .btn-get {
  background: var(--text-primary);
  color: var(--text-inverse) !important;
  border: none;
  border-radius: var(--radius-full, 9999px) !important;
  min-height: 38px;
  min-width: 96px;
  padding: 8px 22px;
  font-size: var(--text-xs, 0.82rem);
  font-weight: 850;
  letter-spacing: -0.01em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn--get svg, .btn--get i, .btn--get [data-lucide], .btn-get svg, .btn-get i, .btn-get [data-lucide] {
  width: 14px;
  height: 14px;
  stroke-width: 2.4px;
  color: var(--text-inverse) !important;
  stroke: var(--text-inverse) !important;
}
.btn--get:hover:not(:disabled), .btn-get:hover:not(:disabled) {
  background: var(--accent);
  color: var(--text-inverse) !important;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px var(--accent-glow);
}
.btn--get:hover:not(:disabled) svg, .btn--get:hover:not(:disabled) i, .btn--get:hover:not(:disabled) [data-lucide], .btn-get:hover:not(:disabled) svg, .btn-get:hover:not(:disabled) i, .btn-get:hover:not(:disabled) [data-lucide] {
  color: var(--text-inverse) !important;
  stroke: var(--text-inverse) !important;
}
.btn--get:active:not(:disabled), .btn-get:active:not(:disabled) {
  transform: scale(0.96);
}

.btn--open, .btn-open {
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  border-radius: var(--radius-full, 9999px) !important;
  min-height: 38px;
  min-width: 96px;
  padding: 8px 20px;
  font-size: var(--text-xs, 0.82rem);
  font-weight: 800;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn--open svg, .btn--open i, .btn--open [data-lucide], .btn-open svg, .btn-open i, .btn-open [data-lucide] {
  width: 14px;
  height: 14px;
  stroke-width: 2.2px;
  color: var(--text-secondary);
  transition: color 0.15s ease, transform 0.15s ease;
}
.btn--open:hover:not(:disabled), .btn-open:hover:not(:disabled) {
  background: var(--surface3);
  border-color: var(--border-strong);
  color: var(--accent);
  transform: translateY(-1.5px);
  box-shadow: var(--shadow-sm);
}
.btn--open:hover:not(:disabled) svg, .btn--open:hover:not(:disabled) i, .btn--open:hover:not(:disabled) [data-lucide], .btn-open:hover:not(:disabled) svg, .btn-open:hover:not(:disabled) i, .btn-open:hover:not(:disabled) [data-lucide] {
  color: var(--accent);
  transform: rotate(30deg);
}
.btn--open:active:not(:disabled), .btn-open:active:not(:disabled) {
  transform: scale(0.96);
}

.btn--pill, .btn-pill {
  border-radius: var(--radius-full, 9999px) !important;
  padding-inline: 20px;
}

.btn-chart-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  min-height: 32px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  white-space: nowrap;
}
.btn-chart-pill svg, .btn-chart-pill i, .btn-chart-pill [data-lucide] {
  width: 13px;
  height: 13px;
  stroke-width: 2.2px;
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}
.btn-chart-pill:hover:not(:disabled) {
  background: var(--surface2);
  border-color: var(--border-medium);
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn-chart-pill:hover:not(:disabled) svg, .btn-chart-pill:hover:not(:disabled) i, .btn-chart-pill:hover:not(:disabled) [data-lucide] {
  color: var(--text-primary);
  transform: translateY(1px);
}
.btn-chart-pill:active:not(:disabled), .btn-chart-pill.is-active {
  transform: translateY(0);
  background: var(--surface2);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-xs);
}
.btn-chart-pill:active:not(:disabled) svg, .btn-chart-pill:active:not(:disabled) i, .btn-chart-pill:active:not(:disabled) [data-lucide], .btn-chart-pill.is-active svg, .btn-chart-pill.is-active i, .btn-chart-pill.is-active [data-lucide] {
  color: var(--accent);
}

.btn--danger, .btn-danger {
  background: var(--danger);
  color: var(--text-white) !important;
  border-color: var(--danger);
}
.btn--danger svg, .btn--danger i, .btn--danger [data-lucide], .btn-danger svg, .btn-danger i, .btn-danger [data-lucide] {
  color: var(--text-white) !important;
}
.btn--danger:hover:not(:disabled), .btn-danger:hover:not(:disabled) {
  background: var(--danger-hover);
  border-color: var(--danger-hover);
  box-shadow: 0 4px 14px var(--danger-border);
  transform: translateY(-1px);
}

.btn--success, .btn-success {
  background: var(--success);
  color: var(--text-white) !important;
  border-color: var(--success);
}
.btn--success svg, .btn--success i, .btn--success [data-lucide], .btn-success svg, .btn-success i, .btn-success [data-lucide] {
  color: var(--text-white) !important;
}
.btn--success:hover:not(:disabled), .btn-success:hover:not(:disabled) {
  background: var(--success-hover);
  border-color: var(--success-hover);
  box-shadow: 0 4px 14px var(--success-border);
  transform: translateY(-1px);
}

.btn--warning, .btn-warning {
  background: var(--warning);
  color: var(--text-white) !important;
  border-color: var(--warning);
}
.btn--warning svg, .btn--warning i, .btn--warning [data-lucide], .btn-warning svg, .btn-warning i, .btn-warning [data-lucide] {
  color: var(--text-white) !important;
}
.btn--warning:hover:not(:disabled), .btn-warning:hover:not(:disabled) {
  background: var(--warning-hover);
  border-color: var(--warning-hover);
  box-shadow: 0 4px 14px var(--warning-border);
  transform: translateY(-1px);
}

.btn--ghost, .btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text-secondary);
}
.btn--ghost:hover:not(:disabled), .btn-ghost:hover:not(:disabled) {
  background: var(--surface2);
  color: var(--text-primary);
}

.btn--purple, .btn-purple {
  background: var(--purple);
  color: var(--text-white) !important;
  border-color: var(--purple);
}
.btn--purple svg, .btn--purple i, .btn--purple [data-lucide], .btn-purple svg, .btn-purple i, .btn-purple [data-lucide] {
  color: var(--text-white) !important;
}
.btn--purple:hover:not(:disabled), .btn-purple:hover:not(:disabled) {
  background: var(--purple);
  opacity: 0.92;
  border-color: var(--purple);
  box-shadow: 0 4px 14px var(--purple-border);
  transform: translateY(-1px);
}

.btn--indigo, .btn-indigo {
  background: var(--indigo);
  color: var(--text-white) !important;
  border-color: var(--indigo);
}
.btn--indigo svg, .btn--indigo i, .btn--indigo [data-lucide], .btn-indigo svg, .btn-indigo i, .btn-indigo [data-lucide] {
  color: var(--text-white) !important;
}
.btn--indigo:hover:not(:disabled), .btn-indigo:hover:not(:disabled) {
  background: var(--indigo);
  opacity: 0.92;
  border-color: var(--indigo);
  box-shadow: 0 4px 14px var(--indigo-border);
  transform: translateY(-1px);
}

.btn--outline, .btn-outline {
  background: transparent !important;
  border: 1px solid var(--border-medium) !important;
  color: var(--text-primary) !important;
  box-shadow: none !important;
}
.btn--outline svg, .btn--outline i, .btn--outline [data-lucide], .btn-outline svg, .btn-outline i, .btn-outline [data-lucide] {
  color: var(--text-secondary) !important;
  transition: color var(--transition-fast);
}
.btn--outline:hover:not(:disabled), .btn-outline:hover:not(:disabled) {
  background: var(--surface2) !important;
  border-color: var(--border-strong) !important;
  color: var(--text-primary) !important;
  box-shadow: var(--shadow-xs) !important;
}
.btn--outline:hover:not(:disabled) svg, .btn--outline:hover:not(:disabled) i, .btn--outline:hover:not(:disabled) [data-lucide], .btn-outline:hover:not(:disabled) svg, .btn-outline:hover:not(:disabled) i, .btn-outline:hover:not(:disabled) [data-lucide] {
  color: var(--text-primary) !important;
}

.btn--outline-primary, .btn-outline-primary,
.btn--outline.btn--primary, .btn-outline.btn-primary,
.btn--primary.btn--outline, .btn-primary.btn-outline {
  background: transparent !important;
  border: 1px solid var(--border-medium) !important;
  color: var(--text-primary) !important;
  box-shadow: none !important;
}
.btn--outline-primary svg, .btn--outline-primary i, .btn--outline-primary [data-lucide], .btn-outline-primary svg, .btn-outline-primary i, .btn-outline-primary [data-lucide],
.btn--outline.btn--primary svg,
.btn--outline.btn--primary i,
.btn--outline.btn--primary [data-lucide], .btn-outline.btn-primary svg, .btn-outline.btn-primary i, .btn-outline.btn-primary [data-lucide],
.btn--primary.btn--outline svg,
.btn--primary.btn--outline i,
.btn--primary.btn--outline [data-lucide], .btn-primary.btn-outline svg, .btn-primary.btn-outline i, .btn-primary.btn-outline [data-lucide] {
  color: var(--text-secondary) !important;
  transition: color var(--transition-fast);
}
.btn--outline-primary:hover:not(:disabled), .btn-outline-primary:hover:not(:disabled),
.btn--outline.btn--primary:hover:not(:disabled), .btn-outline.btn-primary:hover:not(:disabled),
.btn--primary.btn--outline:hover:not(:disabled), .btn-primary.btn-outline:hover:not(:disabled) {
  background: var(--surface2) !important;
  border-color: var(--border-strong) !important;
  color: var(--text-primary) !important;
  box-shadow: var(--shadow-xs) !important;
}
.btn--outline-primary:hover:not(:disabled) svg, .btn--outline-primary:hover:not(:disabled) i, .btn--outline-primary:hover:not(:disabled) [data-lucide], .btn-outline-primary:hover:not(:disabled) svg, .btn-outline-primary:hover:not(:disabled) i, .btn-outline-primary:hover:not(:disabled) [data-lucide],
.btn--outline.btn--primary:hover:not(:disabled) svg,
.btn--outline.btn--primary:hover:not(:disabled) i,
.btn--outline.btn--primary:hover:not(:disabled) [data-lucide], .btn-outline.btn-primary:hover:not(:disabled) svg, .btn-outline.btn-primary:hover:not(:disabled) i, .btn-outline.btn-primary:hover:not(:disabled) [data-lucide],
.btn--primary.btn--outline:hover:not(:disabled) svg,
.btn--primary.btn--outline:hover:not(:disabled) i,
.btn--primary.btn--outline:hover:not(:disabled) [data-lucide], .btn-primary.btn-outline:hover:not(:disabled) svg, .btn-primary.btn-outline:hover:not(:disabled) i, .btn-primary.btn-outline:hover:not(:disabled) [data-lucide] {
  color: var(--accent) !important;
}
.btn--outline-primary:active:not(:disabled), .btn-outline-primary:active:not(:disabled),
.btn--outline.btn--primary:active:not(:disabled), .btn-outline.btn-primary:active:not(:disabled),
.btn--primary.btn--outline:active:not(:disabled), .btn-primary.btn-outline:active:not(:disabled) {
  transform: translateY(0);
  background: var(--surface3) !important;
}

.btn--outline-secondary, .btn-outline-secondary,
.btn--outline.btn--secondary, .btn-outline.btn--secondary,
.btn--secondary.btn--outline, .btn-secondary.btn--outline {
  background: transparent !important;
  border: 1px solid var(--border-medium) !important;
  color: var(--text-primary) !important;
  box-shadow: none !important;
}
.btn--outline-secondary svg, .btn--outline-secondary i, .btn--outline-secondary [data-lucide], .btn-outline-secondary svg, .btn-outline-secondary i, .btn-outline-secondary [data-lucide],
.btn--outline.btn--secondary svg,
.btn--outline.btn--secondary i,
.btn--outline.btn--secondary [data-lucide], .btn-outline.btn--secondary svg, .btn-outline.btn--secondary i, .btn-outline.btn--secondary [data-lucide],
.btn--secondary.btn--outline svg,
.btn--secondary.btn--outline i,
.btn--secondary.btn--outline [data-lucide], .btn-secondary.btn--outline svg, .btn-secondary.btn--outline i, .btn-secondary.btn--outline [data-lucide] {
  color: var(--text-secondary) !important;
}
.btn--outline-secondary:hover:not(:disabled), .btn-outline-secondary:hover:not(:disabled),
.btn--outline.btn--secondary:hover:not(:disabled), .btn-outline.btn--secondary:hover:not(:disabled),
.btn--secondary.btn--outline:hover:not(:disabled), .btn-secondary.btn--outline:hover:not(:disabled) {
  background: var(--surface2) !important;
  border-color: var(--border-strong) !important;
  color: var(--text-primary) !important;
}
.btn--outline-secondary:hover:not(:disabled) svg, .btn--outline-secondary:hover:not(:disabled) i, .btn--outline-secondary:hover:not(:disabled) [data-lucide], .btn-outline-secondary:hover:not(:disabled) svg, .btn-outline-secondary:hover:not(:disabled) i, .btn-outline-secondary:hover:not(:disabled) [data-lucide],
.btn--outline.btn--secondary:hover:not(:disabled) svg,
.btn--outline.btn--secondary:hover:not(:disabled) i,
.btn--outline.btn--secondary:hover:not(:disabled) [data-lucide], .btn-outline.btn--secondary:hover:not(:disabled) svg, .btn-outline.btn--secondary:hover:not(:disabled) i, .btn-outline.btn--secondary:hover:not(:disabled) [data-lucide],
.btn--secondary.btn--outline:hover:not(:disabled) svg,
.btn--secondary.btn--outline:hover:not(:disabled) i,
.btn--secondary.btn--outline:hover:not(:disabled) [data-lucide], .btn-secondary.btn--outline:hover:not(:disabled) svg, .btn-secondary.btn--outline:hover:not(:disabled) i, .btn-secondary.btn--outline:hover:not(:disabled) [data-lucide] {
  color: var(--text-primary) !important;
}

.btn--outline-success, .btn-outline-success,
.btn--outline.btn--success, .btn-outline.btn--success,
.btn--success.btn--outline, .btn-success.btn--outline {
  background: transparent !important;
  border: 1px solid var(--success-border) !important;
  color: var(--success) !important;
  box-shadow: none !important;
}
.btn--outline-success svg, .btn--outline-success i, .btn--outline-success [data-lucide], .btn-outline-success svg, .btn-outline-success i, .btn-outline-success [data-lucide],
.btn--outline.btn--success svg,
.btn--outline.btn--success i,
.btn--outline.btn--success [data-lucide], .btn-outline.btn--success svg, .btn-outline.btn--success i, .btn-outline.btn--success [data-lucide],
.btn--success.btn--outline svg,
.btn--success.btn--outline i,
.btn--success.btn--outline [data-lucide], .btn-success.btn--outline svg, .btn-success.btn--outline i, .btn-success.btn--outline [data-lucide] {
  color: var(--success) !important;
}
.btn--outline-success:hover:not(:disabled), .btn-outline-success:hover:not(:disabled),
.btn--outline.btn--success:hover:not(:disabled), .btn-outline.btn--success:hover:not(:disabled),
.btn--success.btn--outline:hover:not(:disabled), .btn-success.btn--outline:hover:not(:disabled) {
  background: var(--success-subtle) !important;
  border-color: var(--success) !important;
  color: var(--success) !important;
  box-shadow: var(--shadow-xs) !important;
}
.btn--outline-success:hover:not(:disabled) svg, .btn--outline-success:hover:not(:disabled) i, .btn--outline-success:hover:not(:disabled) [data-lucide], .btn-outline-success:hover:not(:disabled) svg, .btn-outline-success:hover:not(:disabled) i, .btn-outline-success:hover:not(:disabled) [data-lucide],
.btn--outline.btn--success:hover:not(:disabled) svg,
.btn--outline.btn--success:hover:not(:disabled) i,
.btn--outline.btn--success:hover:not(:disabled) [data-lucide], .btn-outline.btn--success:hover:not(:disabled) svg, .btn-outline.btn--success:hover:not(:disabled) i, .btn-outline.btn--success:hover:not(:disabled) [data-lucide],
.btn--success.btn--outline:hover:not(:disabled) svg,
.btn--success.btn--outline:hover:not(:disabled) i,
.btn--success.btn--outline:hover:not(:disabled) [data-lucide], .btn-success.btn--outline:hover:not(:disabled) svg, .btn-success.btn--outline:hover:not(:disabled) i, .btn-success.btn--outline:hover:not(:disabled) [data-lucide] {
  color: var(--success) !important;
}

.btn--outline-danger, .btn-outline-danger,
.btn--outline.btn--danger, .btn-outline.btn--danger,
.btn--danger.btn--outline, .btn-danger.btn--outline {
  background: transparent !important;
  border: 1px solid var(--danger-border) !important;
  color: var(--danger) !important;
  box-shadow: none !important;
}
.btn--outline-danger svg, .btn--outline-danger i, .btn--outline-danger [data-lucide], .btn-outline-danger svg, .btn-outline-danger i, .btn-outline-danger [data-lucide],
.btn--outline.btn--danger svg,
.btn--outline.btn--danger i,
.btn--outline.btn--danger [data-lucide], .btn-outline.btn--danger svg, .btn-outline.btn--danger i, .btn-outline.btn--danger [data-lucide],
.btn--danger.btn--outline svg,
.btn--danger.btn--outline i,
.btn--danger.btn--outline [data-lucide], .btn-danger.btn--outline svg, .btn-danger.btn--outline i, .btn-danger.btn--outline [data-lucide] {
  color: var(--danger) !important;
}
.btn--outline-danger:hover:not(:disabled), .btn-outline-danger:hover:not(:disabled),
.btn--outline.btn--danger:hover:not(:disabled), .btn-outline.btn--danger:hover:not(:disabled),
.btn--danger.btn--outline:hover:not(:disabled), .btn-danger.btn--outline:hover:not(:disabled) {
  background: var(--danger-subtle) !important;
  border-color: var(--danger) !important;
  color: var(--danger) !important;
  box-shadow: var(--shadow-xs) !important;
}
.btn--outline-danger:hover:not(:disabled) svg, .btn--outline-danger:hover:not(:disabled) i, .btn--outline-danger:hover:not(:disabled) [data-lucide], .btn-outline-danger:hover:not(:disabled) svg, .btn-outline-danger:hover:not(:disabled) i, .btn-outline-danger:hover:not(:disabled) [data-lucide],
.btn--outline.btn--danger:hover:not(:disabled) svg,
.btn--outline.btn--danger:hover:not(:disabled) i,
.btn--outline.btn--danger:hover:not(:disabled) [data-lucide], .btn-outline.btn--danger:hover:not(:disabled) svg, .btn-outline.btn--danger:hover:not(:disabled) i, .btn-outline.btn--danger:hover:not(:disabled) [data-lucide],
.btn--danger.btn--outline:hover:not(:disabled) svg,
.btn--danger.btn--outline:hover:not(:disabled) i,
.btn--danger.btn--outline:hover:not(:disabled) [data-lucide], .btn-danger.btn--outline:hover:not(:disabled) svg, .btn-danger.btn--outline:hover:not(:disabled) i, .btn-danger.btn--outline:hover:not(:disabled) [data-lucide] {
  color: var(--danger) !important;
}

.btn--outline-warning, .btn-outline-warning,
.btn--outline.btn--warning, .btn-outline.btn--warning,
.btn--warning.btn--outline, .btn-warning.btn--outline {
  background: transparent !important;
  border: 1px solid var(--warning-border) !important;
  color: var(--warning) !important;
  box-shadow: none !important;
}
.btn--outline-warning svg, .btn--outline-warning i, .btn--outline-warning [data-lucide], .btn-outline-warning svg, .btn-outline-warning i, .btn-outline-warning [data-lucide],
.btn--outline.btn--warning svg,
.btn--outline.btn--warning i,
.btn--outline.btn--warning [data-lucide], .btn-outline.btn--warning svg, .btn-outline.btn--warning i, .btn-outline.btn--warning [data-lucide],
.btn--warning.btn--outline svg,
.btn--warning.btn--outline i,
.btn--warning.btn--outline [data-lucide], .btn-warning.btn--outline svg, .btn-warning.btn--outline i, .btn-warning.btn--outline [data-lucide] {
  color: var(--warning) !important;
}
.btn--outline-warning:hover:not(:disabled), .btn-outline-warning:hover:not(:disabled),
.btn--outline.btn--warning:hover:not(:disabled), .btn-outline.btn--warning:hover:not(:disabled),
.btn--warning.btn--outline:hover:not(:disabled), .btn-warning.btn--outline:hover:not(:disabled) {
  background: var(--warning-subtle) !important;
  border-color: var(--warning) !important;
  color: var(--warning) !important;
  box-shadow: var(--shadow-xs) !important;
}
.btn--outline-warning:hover:not(:disabled) svg, .btn--outline-warning:hover:not(:disabled) i, .btn--outline-warning:hover:not(:disabled) [data-lucide], .btn-outline-warning:hover:not(:disabled) svg, .btn-outline-warning:hover:not(:disabled) i, .btn-outline-warning:hover:not(:disabled) [data-lucide],
.btn--outline.btn--warning:hover:not(:disabled) svg,
.btn--outline.btn--warning:hover:not(:disabled) i,
.btn--outline.btn--warning:hover:not(:disabled) [data-lucide], .btn-outline.btn--warning:hover:not(:disabled) svg, .btn-outline.btn--warning:hover:not(:disabled) i, .btn-outline.btn--warning:hover:not(:disabled) [data-lucide],
.btn--warning.btn--outline:hover:not(:disabled) svg,
.btn--warning.btn--outline:hover:not(:disabled) i,
.btn--warning.btn--outline:hover:not(:disabled) [data-lucide], .btn-warning.btn--outline:hover:not(:disabled) svg, .btn-warning.btn--outline:hover:not(:disabled) i, .btn-warning.btn--outline:hover:not(:disabled) [data-lucide] {
  color: var(--warning) !important;
}

.btn--outline-info, .btn-outline-info,
.btn--outline.btn--info, .btn-outline.btn--info,
.btn--info.btn--outline, .btn-info.btn--outline {
  background: transparent !important;
  border: 1px solid var(--info-border) !important;
  color: var(--info) !important;
  box-shadow: none !important;
}
.btn--outline-info svg, .btn--outline-info i, .btn--outline-info [data-lucide], .btn-outline-info svg, .btn-outline-info i, .btn-outline-info [data-lucide],
.btn--outline.btn--info svg,
.btn--outline.btn--info i,
.btn--outline.btn--info [data-lucide], .btn-outline.btn--info svg, .btn-outline.btn--info i, .btn-outline.btn--info [data-lucide],
.btn--info.btn--outline svg,
.btn--info.btn--outline i,
.btn--info.btn--outline [data-lucide], .btn-info.btn--outline svg, .btn-info.btn--outline i, .btn-info.btn--outline [data-lucide] {
  color: var(--info) !important;
}
.btn--outline-info:hover:not(:disabled), .btn-outline-info:hover:not(:disabled),
.btn--outline.btn--info:hover:not(:disabled), .btn-outline.btn--info:hover:not(:disabled),
.btn--info.btn--outline:hover:not(:disabled), .btn-info.btn--outline:hover:not(:disabled) {
  background: var(--info-subtle) !important;
  border-color: var(--info) !important;
  color: var(--info) !important;
  box-shadow: var(--shadow-xs) !important;
}
.btn--outline-info:hover:not(:disabled) svg, .btn--outline-info:hover:not(:disabled) i, .btn--outline-info:hover:not(:disabled) [data-lucide], .btn-outline-info:hover:not(:disabled) svg, .btn-outline-info:hover:not(:disabled) i, .btn-outline-info:hover:not(:disabled) [data-lucide],
.btn--outline.btn--info:hover:not(:disabled) svg,
.btn--outline.btn--info:hover:not(:disabled) i,
.btn--outline.btn--info:hover:not(:disabled) [data-lucide], .btn-outline.btn--info:hover:not(:disabled) svg, .btn-outline.btn--info:hover:not(:disabled) i, .btn-outline.btn--info:hover:not(:disabled) [data-lucide],
.btn--info.btn--outline:hover:not(:disabled) svg,
.btn--info.btn--outline:hover:not(:disabled) i,
.btn--info.btn--outline:hover:not(:disabled) [data-lucide], .btn-info.btn--outline:hover:not(:disabled) svg, .btn-info.btn--outline:hover:not(:disabled) i, .btn-info.btn--outline:hover:not(:disabled) [data-lucide] {
  color: var(--info) !important;
}

.btn--outline-purple, .btn-outline-purple,
.btn--outline.btn--purple, .btn-outline.btn--purple,
.btn--purple.btn--outline, .btn-purple.btn--outline {
  background: transparent !important;
  border: 1px solid var(--purple-border) !important;
  color: var(--purple) !important;
  box-shadow: none !important;
}
.btn--outline-purple svg, .btn--outline-purple i, .btn--outline-purple [data-lucide], .btn-outline-purple svg, .btn-outline-purple i, .btn-outline-purple [data-lucide],
.btn--outline.btn--purple svg,
.btn--outline.btn--purple i,
.btn--outline.btn--purple [data-lucide], .btn-outline.btn--purple svg, .btn-outline.btn--purple i, .btn-outline.btn--purple [data-lucide],
.btn--purple.btn--outline svg,
.btn--purple.btn--outline i,
.btn--purple.btn--outline [data-lucide], .btn-purple.btn--outline svg, .btn-purple.btn--outline i, .btn-purple.btn--outline [data-lucide] {
  color: var(--purple) !important;
}
.btn--outline-purple:hover:not(:disabled), .btn-outline-purple:hover:not(:disabled),
.btn--outline.btn--purple:hover:not(:disabled), .btn-outline.btn--purple:hover:not(:disabled),
.btn--purple.btn--outline:hover:not(:disabled), .btn-purple.btn--outline:hover:not(:disabled) {
  background: var(--purple-subtle) !important;
  border-color: var(--purple) !important;
  color: var(--purple) !important;
  box-shadow: var(--shadow-xs) !important;
}
.btn--outline-purple:hover:not(:disabled) svg, .btn--outline-purple:hover:not(:disabled) i, .btn--outline-purple:hover:not(:disabled) [data-lucide], .btn-outline-purple:hover:not(:disabled) svg, .btn-outline-purple:hover:not(:disabled) i, .btn-outline-purple:hover:not(:disabled) [data-lucide],
.btn--outline.btn--purple:hover:not(:disabled) svg,
.btn--outline.btn--purple:hover:not(:disabled) i,
.btn--outline.btn--purple:hover:not(:disabled) [data-lucide], .btn-outline.btn--purple:hover:not(:disabled) svg, .btn-outline.btn--purple:hover:not(:disabled) i, .btn-outline.btn--purple:hover:not(:disabled) [data-lucide],
.btn--purple.btn--outline:hover:not(:disabled) svg,
.btn--purple.btn--outline:hover:not(:disabled) i,
.btn--purple.btn--outline:hover:not(:disabled) [data-lucide], .btn-purple.btn--outline:hover:not(:disabled) svg, .btn-purple.btn--outline:hover:not(:disabled) i, .btn-purple.btn--outline:hover:not(:disabled) [data-lucide] {
  color: var(--purple) !important;
}

.btn--outline-indigo, .btn-outline-indigo,
.btn--outline.btn--indigo, .btn-outline.btn--indigo,
.btn--indigo.btn--outline, .btn-indigo.btn--outline {
  background: transparent !important;
  border: 1px solid var(--indigo-border) !important;
  color: var(--indigo) !important;
  box-shadow: none !important;
}
.btn--outline-indigo svg, .btn--outline-indigo i, .btn--outline-indigo [data-lucide], .btn-outline-indigo svg, .btn-outline-indigo i, .btn-outline-indigo [data-lucide],
.btn--outline.btn--indigo svg,
.btn--outline.btn--indigo i,
.btn--outline.btn--indigo [data-lucide], .btn-outline.btn--indigo svg, .btn-outline.btn--indigo i, .btn-outline.btn--indigo [data-lucide],
.btn--indigo.btn--outline svg,
.btn--indigo.btn--outline i,
.btn--indigo.btn--outline [data-lucide], .btn-indigo.btn--outline svg, .btn-indigo.btn--outline i, .btn-indigo.btn--outline [data-lucide] {
  color: var(--indigo) !important;
}
.btn--outline-indigo:hover:not(:disabled), .btn-outline-indigo:hover:not(:disabled),
.btn--outline.btn--indigo:hover:not(:disabled), .btn-outline.btn--indigo:hover:not(:disabled),
.btn--indigo.btn--outline:hover:not(:disabled), .btn-indigo.btn--outline:hover:not(:disabled) {
  background: var(--indigo-subtle) !important;
  border-color: var(--indigo) !important;
  color: var(--indigo) !important;
  box-shadow: var(--shadow-xs) !important;
}
.btn--outline-indigo:hover:not(:disabled) svg, .btn--outline-indigo:hover:not(:disabled) i, .btn--outline-indigo:hover:not(:disabled) [data-lucide], .btn-outline-indigo:hover:not(:disabled) svg, .btn-outline-indigo:hover:not(:disabled) i, .btn-outline-indigo:hover:not(:disabled) [data-lucide],
.btn--outline.btn--indigo:hover:not(:disabled) svg,
.btn--outline.btn--indigo:hover:not(:disabled) i,
.btn--outline.btn--indigo:hover:not(:disabled) [data-lucide], .btn-outline.btn--indigo:hover:not(:disabled) svg, .btn-outline.btn--indigo:hover:not(:disabled) i, .btn-outline.btn--indigo:hover:not(:disabled) [data-lucide],
.btn--indigo.btn--outline:hover:not(:disabled) svg,
.btn--indigo.btn--outline:hover:not(:disabled) i,
.btn--indigo.btn--outline:hover:not(:disabled) [data-lucide], .btn-indigo.btn--outline:hover:not(:disabled) svg, .btn-indigo.btn--outline:hover:not(:disabled) i, .btn-indigo.btn--outline:hover:not(:disabled) [data-lucide] {
  color: var(--indigo) !important;
}

.btn--outline-light, .btn-outline-light {
  background: transparent !important;
  border: 1px solid var(--border-medium) !important;
  color: var(--text-primary) !important;
}
.btn--outline-light:hover:not(:disabled), .btn-outline-light:hover:not(:disabled) {
  background: var(--surface3) !important;
}

.btn-danger-subtle {
  background: var(--danger-subtle) !important;
  color: var(--danger) !important;
  border: 1px solid var(--danger-border) !important;
}

.btn--link, .btn-link {
  background: transparent;
  border-color: transparent;
  color: var(--text-secondary);
  padding: 0;
  font-weight: 500;
  text-decoration: none;
}
.btn--link:hover:not(:disabled), .btn-link:hover:not(:disabled) {
  color: var(--accent);
  text-decoration: underline;
}

.btn--icon, button.btn-icon, a.btn-icon, .btn.btn-icon, .icon-btn, .ctrl-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm, 6px);
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: var(--transition-fast);
}
.btn--icon svg, .btn--icon i, .btn--icon [data-lucide], button.btn-icon svg, button.btn-icon i, button.btn-icon [data-lucide], a.btn-icon svg, a.btn-icon i, a.btn-icon [data-lucide], .btn.btn-icon svg, .btn.btn-icon i, .btn.btn-icon [data-lucide], .icon-btn svg, .icon-btn i, .icon-btn [data-lucide], .ctrl-btn svg, .ctrl-btn i, .ctrl-btn [data-lucide] {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}
.btn--icon:hover:not(:disabled), button.btn-icon:hover:not(:disabled), a.btn-icon:hover:not(:disabled), .btn.btn-icon:hover:not(:disabled), .icon-btn:hover:not(:disabled), .ctrl-btn:hover:not(:disabled) {
  background: var(--surface3);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.ctrl-btn {
  border-radius: 50%;
}

.ctrl-btn-danger, .btn--icon-danger {
  color: var(--danger);
}
.ctrl-btn-danger:hover:not(:disabled), .btn--icon-danger:hover:not(:disabled) {
  background: var(--danger-subtle);
  border-color: var(--danger);
  color: var(--danger);
}

.btn--xs, .btn-xs {
  padding: 4px 10px;
  min-height: 28px;
  font-size: var(--text-2xs, 0.72rem);
  gap: 4px;
  border-radius: 7px;
}
.btn--xs svg, .btn--xs i, .btn--xs [data-lucide], .btn-xs svg, .btn-xs i, .btn-xs [data-lucide] {
  width: 11px;
  height: 11px;
}

.btn--sm, .btn-sm {
  padding: 7px 16px;
  min-height: 36px;
  font-size: var(--text-xs, 0.82rem);
  font-weight: 700;
  gap: 7px;
  border-radius: var(--radius-md, 11px);
}
.btn--sm svg, .btn--sm i, .btn--sm [data-lucide], .btn-sm svg, .btn-sm i, .btn-sm [data-lucide] {
  width: 14px;
  height: 14px;
  stroke-width: 2.2px;
}
.btn--sm.btn--icon, .btn--sm.btn-icon, .btn--sm.icon-btn, .btn-sm.btn--icon, .btn-sm.btn-icon, .btn-sm.icon-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0;
  border-radius: var(--radius-md, 11px);
}

.btn--lg, .btn-lg {
  padding: 12px 24px;
  min-height: 48px;
  font-size: var(--text-md, 0.95rem);
  border-radius: 14px;
  gap: 10px;
}
.btn--lg svg, .btn--lg i, .btn--lg [data-lucide], .btn-lg svg, .btn-lg i, .btn-lg [data-lucide] {
  width: 18px;
  height: 18px;
}
.btn--lg.btn--icon, .btn--lg.btn-icon, .btn--lg.icon-btn, .btn-lg.btn--icon, .btn-lg.btn-icon, .btn-lg.icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.btn--full, .btn-block {
  width: 100%;
}

.btn:disabled, .btn[disabled], .btn--disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  pointer-events: none;
}

.btn--loading, .btn.is-loading {
  pointer-events: none;
  position: relative;
  color: transparent !important;
}
.btn--loading svg, .btn--loading i, .btn--loading [data-lucide], .btn.is-loading svg, .btn.is-loading i, .btn.is-loading [data-lucide] {
  opacity: 0;
}
.btn--loading::after, .btn.is-loading::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
  color: var(--text-primary);
}
.btn--loading.btn--primary::after, .btn--loading.btn-primary::after, .btn.is-loading.btn--primary::after, .btn.is-loading.btn-primary::after {
  color: var(--text-inverse);
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}
.btn-group {
  display: inline-flex;
  align-items: center;
}
.btn-group > .btn {
  border-radius: 0;
}
.btn-group > .btn:not(:first-child) {
  margin-inline-start: -1px;
}
.btn-group > .btn:first-child {
  border-start-start-radius: var(--radius-sm, 6px);
  border-end-start-radius: var(--radius-sm, 6px);
}
.btn-group > .btn:last-child {
  border-start-end-radius: var(--radius-sm, 6px);
  border-end-end-radius: var(--radius-sm, 6px);
}
.btn-group > .btn:hover, .btn-group > .btn:focus, .btn-group > .btn.active {
  z-index: 2;
}

.btn-back {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md, 12px);
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.btn-back svg, .btn-back i, .btn-back [data-lucide] {
  width: 18px;
  height: 18px;
}
.btn-back:hover {
  background: var(--surface3);
  border-color: var(--border-hover);
  color: var(--text);
  transform: translateY(-1px);
}

.btn-create-catalog {
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-md, 12px);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  border: none;
  color: var(--text-inverse) !important;
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.btn-create-catalog svg, .btn-create-catalog i, .btn-create-catalog [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--text-inverse) !important;
}
.btn-create-catalog:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-mb-wa {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  border-radius: 10px;
}

.act-btn {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  border-radius: var(--radius-md, 8px);
  background: var(--surface2);
  border: none !important;
  box-shadow: var(--shadow-xs);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast, all 0.18s ease);
  text-decoration: none;
  padding: 0;
  flex-shrink: 0;
}
.act-btn svg, .act-btn i, .act-btn [data-lucide], .act-btn .btn-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.2px;
  flex-shrink: 0;
  color: inherit;
  transition: transform 0.18s ease;
}
.act-btn:hover {
  background: var(--surface3);
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.act-btn:active {
  transform: translateY(0);
}
.act-btn:disabled, .act-btn.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
  box-shadow: none !important;
}
.act-btn.act-btn--xs {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border-radius: var(--radius-sm, 6px);
}
.act-btn.act-btn--xs svg, .act-btn.act-btn--xs i, .act-btn.act-btn--xs [data-lucide] {
  width: 12px;
  height: 12px;
}
.act-btn.act-btn--sm, .act-btn.btn--sm {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  border-radius: var(--radius-sm, 7px);
}
.act-btn.act-btn--sm svg, .act-btn.act-btn--sm i, .act-btn.act-btn--sm [data-lucide], .act-btn.btn--sm svg, .act-btn.btn--sm i, .act-btn.btn--sm [data-lucide] {
  width: 14px;
  height: 14px;
}
.act-btn.act-btn--lg {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: var(--radius-lg, 10px);
}
.act-btn.act-btn--lg svg, .act-btn.act-btn--lg i, .act-btn.act-btn--lg [data-lucide] {
  width: 18px;
  height: 18px;
}
.act-btn.wa, .act-btn.wa-btn {
  background: var(--success-subtle);
  color: var(--success);
}
.act-btn.wa:hover, .act-btn.wa-btn:hover {
  background: var(--success);
  color: var(--text-inverse);
  box-shadow: 0 4px 12px var(--success-border);
  transform: translateY(-1px) scale(1.04);
}
.act-btn.detail {
  background: var(--surface3);
  color: var(--text-secondary);
}
.act-btn.detail:hover {
  background: var(--surface);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.act-btn.primary {
  background: var(--accent);
  color: var(--text-inverse);
}
.act-btn.primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 14px var(--accent-glow);
}
.act-btn.renew, .act-btn.info {
  background: var(--info-subtle);
  color: var(--info);
}
.act-btn.renew:hover, .act-btn.info:hover {
  background: var(--info);
  color: var(--text-inverse);
}
.act-btn.remind, .act-btn.warning {
  background: var(--warning-subtle);
  color: var(--warning);
}
.act-btn.remind:hover, .act-btn.warning:hover {
  background: var(--warning);
  color: var(--text-inverse);
}
.act-btn.cancel, .act-btn.danger {
  background: var(--danger-subtle);
  color: var(--danger);
}
.act-btn.cancel:hover, .act-btn.danger:hover {
  background: var(--danger);
  color: var(--text-inverse);
}
.act-btn.confirm, .act-btn.complete {
  background: var(--teal-subtle);
  color: var(--teal);
}
.act-btn.confirm:hover, .act-btn.complete:hover {
  background: var(--teal);
  color: var(--text-inverse);
}

.btn-executive-primary,
.btn-executive-save,
.btn-executive-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full, 9999px);
  background: var(--text-primary);
  border: none;
  color: var(--text-inverse);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast, 0.2s ease);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  position: relative;
}
.btn-executive-primary .unsaved-badge,
.btn-executive-save .unsaved-badge,
.btn-executive-preview .unsaved-badge {
  position: absolute;
  top: -2px;
  inset-inline-end: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 8px var(--danger);
  border: 2px solid var(--surface);
}
.btn-executive-primary svg, .btn-executive-primary i, .btn-executive-primary [data-lucide],
.btn-executive-save svg,
.btn-executive-save i,
.btn-executive-save [data-lucide],
.btn-executive-preview svg,
.btn-executive-preview i,
.btn-executive-preview [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--text-inverse);
  transition: transform var(--transition-fast, 0.2s ease);
  flex-shrink: 0;
}
.btn-executive-primary:hover:not(:disabled),
.btn-executive-save:hover:not(:disabled),
.btn-executive-preview:hover:not(:disabled) {
  background: var(--accent-hover);
  color: var(--text-inverse);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-executive-primary:hover:not(:disabled) svg, .btn-executive-primary:hover:not(:disabled) i, .btn-executive-primary:hover:not(:disabled) [data-lucide],
.btn-executive-save:hover:not(:disabled) svg,
.btn-executive-save:hover:not(:disabled) i,
.btn-executive-save:hover:not(:disabled) [data-lucide],
.btn-executive-preview:hover:not(:disabled) svg,
.btn-executive-preview:hover:not(:disabled) i,
.btn-executive-preview:hover:not(:disabled) [data-lucide] {
  transform: translate(-1px, -1px);
}
.btn-executive-primary:active:not(:disabled),
.btn-executive-save:active:not(:disabled),
.btn-executive-preview:active:not(:disabled) {
  transform: translateY(0);
}
.btn-executive-primary:disabled, .btn-executive-primary[disabled],
.btn-executive-save:disabled,
.btn-executive-save[disabled],
.btn-executive-preview:disabled,
.btn-executive-preview[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}
.btn-executive-primary.btn-sm, .btn-executive-primary--sm,
.btn-executive-save.btn-sm,
.btn-executive-save--sm,
.btn-executive-preview.btn-sm,
.btn-executive-preview--sm {
  padding: 6px 14px;
  font-size: 0.78rem;
  gap: 6px;
}
.btn-executive-primary.btn-sm svg, .btn-executive-primary.btn-sm i, .btn-executive-primary.btn-sm [data-lucide], .btn-executive-primary--sm svg, .btn-executive-primary--sm i, .btn-executive-primary--sm [data-lucide],
.btn-executive-save.btn-sm svg,
.btn-executive-save.btn-sm i,
.btn-executive-save.btn-sm [data-lucide],
.btn-executive-save--sm svg,
.btn-executive-save--sm i,
.btn-executive-save--sm [data-lucide],
.btn-executive-preview.btn-sm svg,
.btn-executive-preview.btn-sm i,
.btn-executive-preview.btn-sm [data-lucide],
.btn-executive-preview--sm svg,
.btn-executive-preview--sm i,
.btn-executive-preview--sm [data-lucide] {
  width: 13px;
  height: 13px;
}

.btn-executive-save {
  background: var(--accent) !important;
  color: var(--text-inverse) !important;
}
.btn-executive-save, .btn-executive-save span, .btn-executive-save i, .btn-executive-save svg, .btn-executive-save [data-lucide] {
  color: var(--text-inverse) !important;
}
.btn-executive-save:hover:not(:disabled) {
  background: var(--accent-hover) !important;
  color: var(--text-inverse) !important;
}
.btn-executive-save:hover:not(:disabled), .btn-executive-save:hover:not(:disabled) span, .btn-executive-save:hover:not(:disabled) i, .btn-executive-save:hover:not(:disabled) svg, .btn-executive-save:hover:not(:disabled) [data-lucide] {
  color: var(--text-inverse) !important;
}

.btn-executive-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast, 0.2s ease);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.btn-executive-secondary svg, .btn-executive-secondary i, .btn-executive-secondary [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--text-secondary);
  transition: color var(--transition-fast, 0.2s ease);
  flex-shrink: 0;
}
.btn-executive-secondary:hover:not(:disabled) {
  background: var(--surface3, var(--surface2));
  border-color: var(--border-strong);
  color: var(--text-primary);
  transform: translateY(-1px);
}
.btn-executive-secondary:hover:not(:disabled) svg, .btn-executive-secondary:hover:not(:disabled) i, .btn-executive-secondary:hover:not(:disabled) [data-lucide] {
  color: var(--text-primary);
}
.btn-executive-secondary:active:not(:disabled) {
  transform: translateY(0);
}
.btn-executive-secondary:disabled, .btn-executive-secondary[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}
.btn-executive-secondary.btn-sm, .btn-executive-secondary--sm {
  padding: 5px 12px;
  font-size: 0.78rem;
  gap: 5px;
}
.btn-executive-secondary.btn-sm svg, .btn-executive-secondary.btn-sm i, .btn-executive-secondary.btn-sm [data-lucide], .btn-executive-secondary--sm svg, .btn-executive-secondary--sm i, .btn-executive-secondary--sm [data-lucide] {
  width: 13px;
  height: 13px;
}

.view-mode-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--surface2);
  padding: 3px;
  border-radius: var(--radius-lg, 14px);
  gap: 3px;
  border: none;
}
.view-mode-toggle .btn-view-mode, .view-mode-toggle .view-mode-btn, .view-mode-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-md, 10px);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: var(--font-size-xs, 0.78rem);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast, all 0.15s ease);
  user-select: none;
  height: 34px;
}
.view-mode-toggle .btn-view-mode svg, .view-mode-toggle .btn-view-mode [data-lucide], .view-mode-toggle .view-mode-btn svg, .view-mode-toggle .view-mode-btn [data-lucide], .view-mode-toggle button svg, .view-mode-toggle button [data-lucide] {
  width: 15px;
  height: 15px;
  transition: transform var(--transition-fast);
}
.view-mode-toggle .btn-view-mode:hover, .view-mode-toggle .view-mode-btn:hover, .view-mode-toggle button:hover {
  color: var(--text-primary);
  background: var(--surface3, var(--surface));
}
.view-mode-toggle .btn-view-mode.active, .view-mode-toggle .view-mode-btn.active, .view-mode-toggle button.active {
  background: var(--surface);
  color: var(--accent);
  box-shadow: var(--shadow-xs);
}
.view-mode-toggle .btn-view-mode.active svg, .view-mode-toggle .btn-view-mode.active [data-lucide], .view-mode-toggle .view-mode-btn.active svg, .view-mode-toggle .view-mode-btn.active [data-lucide], .view-mode-toggle button.active svg, .view-mode-toggle button.active [data-lucide] {
  color: var(--accent);
}
.view-mode-toggle--field {
  width: 100%;
  height: 42px;
  padding: 4px;
  border-radius: var(--radius-sm, 8px);
  background: var(--surface2);
}
.view-mode-toggle--field .btn-view-mode, .view-mode-toggle--field .view-mode-btn, .view-mode-toggle--field button {
  flex: 1;
  justify-content: center;
  height: 100%;
  border-radius: var(--radius-xs, 6px);
  font-size: var(--text-xs, 0.8rem);
}

.btn-clear-filters, .btn-filter-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full, 9999px);
  background: var(--danger-subtle);
  color: var(--danger);
  border: 1px solid var(--danger-border);
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-clear-filters svg, .btn-clear-filters i, .btn-clear-filters [data-lucide], .btn-filter-reset svg, .btn-filter-reset i, .btn-filter-reset [data-lucide] {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.btn-clear-filters:hover, .btn-filter-reset:hover {
  background: var(--danger);
  color: var(--color-white);
  border-color: var(--danger);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--danger-subtle);
}
.btn-clear-filters.ms-auto, .btn-filter-reset.ms-auto {
  margin-inline-start: auto;
}

.btn-primary-auth {
  width: 100%;
  height: 48px;
  background: var(--accent);
  color: var(--text-inverse) !important;
  border: none;
  border-radius: var(--radius-full, 9999px) !important;
  font-size: 0.95rem;
  font-weight: 850;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}
.btn-primary-auth span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.btn-primary-auth svg, .btn-primary-auth i, .btn-primary-auth [data-lucide] {
  width: 18px;
  height: 18px;
  stroke-width: 2.2px;
  color: var(--text-inverse) !important;
  stroke: var(--text-inverse) !important;
  flex-shrink: 0;
}
.btn-primary-auth svg.spin, .btn-primary-auth i.spin, .btn-primary-auth [data-lucide].spin {
  animation: auth-spin 0.8s linear infinite;
}
.btn-primary-auth:hover:not(:disabled) {
  background: var(--accent-hover);
  color: var(--text-inverse) !important;
  transform: translateY(-1.5px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-primary-auth:hover:not(:disabled) svg, .btn-primary-auth:hover:not(:disabled) i, .btn-primary-auth:hover:not(:disabled) [data-lucide] {
  color: var(--text-inverse) !important;
  stroke: var(--text-inverse) !important;
}
.btn-primary-auth:active:not(:disabled) {
  transform: scale(0.98);
}
.btn-primary-auth:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}
.guinrank-btn {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, var(--info), var(--info-hover));
  color: var(--color-white) !important;
  border: none;
  border-radius: var(--radius-full, 9999px) !important;
  padding: 0 16px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px var(--info-subtle);
  box-sizing: border-box;
}
.guinrank-btn .guinrank-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--badge-post-bg);
  color: var(--color-white);
  flex-shrink: 0;
}
.guinrank-btn .guinrank-icon-box .sso-icon, .guinrank-btn .guinrank-icon-box svg, .guinrank-btn .guinrank-icon-box i, .guinrank-btn .guinrank-icon-box [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--color-white) !important;
  stroke: var(--color-white) !important;
}
.guinrank-btn .guinrank-text {
  flex: 1;
  text-align: center;
  color: var(--color-white) !important;
}
.guinrank-btn .guinrank-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--badge-post-bg);
  color: var(--color-white) !important;
  font-size: 0.72rem;
  font-weight: 850;
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.guinrank-btn .guinrank-tag .tag-icon, .guinrank-btn .guinrank-tag svg, .guinrank-btn .guinrank-tag i, .guinrank-btn .guinrank-tag [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--color-white) !important;
  stroke: var(--color-white) !important;
}
.guinrank-btn:hover:not(:disabled) {
  filter: brightness(1.08);
  color: var(--color-white) !important;
  transform: translateY(-1.5px);
  box-shadow: 0 8px 24px var(--info-subtle);
}
.guinrank-btn:active:not(:disabled) {
  transform: scale(0.98);
}
.guinrank-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.guinrank-btn.guinrank-btn-register {
  justify-content: space-between;
}

.form-field, .form-group {
  margin-bottom: var(--space-4, 16px);
  display: flex;
  flex-direction: column;
  position: relative;
}
.form-field--compact, .form-group--compact {
  margin-bottom: var(--space-2, 8px);
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  font-size: var(--text-sm, 0.85rem);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
  line-height: 1.4;
}
.form-label svg, .form-label i, .form-label [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.form-label .req, .form-label .required, .form-label span:has(> .req) {
  color: var(--danger);
  font-weight: 800;
  margin-inline-start: 2px;
}
.form-label .form-label-opt, .form-label .char-count, .form-label > .badge {
  margin-inline-start: auto;
  font-weight: 500;
  font-size: var(--text-2xs, 0.72rem);
  color: var(--text-muted);
}
.form-label--sm {
  font-size: var(--text-2xs, 0.75rem);
  margin-bottom: var(--space-1);
}
.form-label--sm svg, .form-label--sm i, .form-label--sm [data-lucide] {
  width: 13px;
  height: 13px;
}

.form-hint, .form-help, .field__hint {
  font-size: var(--text-2xs, 0.74rem);
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.4;
  display: block;
}

.form-label__title {
  font-size: var(--text-sm, 0.85rem);
  font-weight: 700;
  color: var(--text-primary);
}

.form-label__sub {
  font-size: var(--text-xs, 0.76rem);
  font-weight: 400;
  color: var(--text-muted);
}

.input, .form-control, .form-input, .form-select {
  width: 100%;
  height: 42px;
  padding: 9px 16px;
  background: var(--input-bg);
  border: 1px solid var(--border-medium) !important;
  border-radius: var(--radius-md, 10px);
  color: var(--text-primary);
  font-family: inherit;
  font-size: var(--text-sm, 0.88rem);
  transition: var(--transition-fast, all 0.2s cubic-bezier(0.16, 1, 0.3, 1));
  outline: none;
  line-height: 1.5;
  box-shadow: var(--shadow-xs);
}
.input::placeholder, .form-control::placeholder, .form-input::placeholder, .form-select::placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}
.input:hover:not(:disabled), .form-control:hover:not(:disabled), .form-input:hover:not(:disabled), .form-select:hover:not(:disabled) {
  border-color: var(--border-strong) !important;
  box-shadow: var(--shadow-sm);
}
.input:focus:not(:disabled), .form-control:focus:not(:disabled), .form-input:focus:not(:disabled), .form-select:focus:not(:disabled) {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px var(--accent-glow) !important;
}
.input:disabled, .input[disabled], .form-control:disabled, .form-control[disabled], .form-input:disabled, .form-input[disabled], .form-select:disabled, .form-select[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  background: var(--surface);
  border-color: var(--border-subtle) !important;
  box-shadow: none;
}
.input.input--sm, .input.form-control-sm, .form-control.input--sm, .form-control.form-control-sm, .form-input.input--sm, .form-input.form-control-sm, .form-select.input--sm, .form-select.form-control-sm {
  height: 34px;
  padding: 6px 12px;
  font-size: var(--text-xs, 0.78rem);
  border-radius: var(--radius-sm, 8px);
}
.input.input--lg, .input.form-control-lg, .form-control.input--lg, .form-control.form-control-lg, .form-input.input--lg, .form-input.form-control-lg, .form-select.input--lg, .form-select.form-control-lg {
  height: 48px;
  padding: 12px 18px;
  font-size: var(--text-md, 1rem);
  border-radius: var(--radius-md, 12px);
}

textarea.input, textarea.form-control, .textarea {
  height: auto;
  min-height: 90px;
  padding: 10px 14px;
  resize: vertical;
  line-height: 1.6;
}

select.input, select.form-control, .select, .form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: var(--input-bg) !important;
  background-image: var(--select-arrow) !important;
  background-repeat: no-repeat !important;
  background-position: left 14px center !important;
  background-size: 14px !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-medium) !important;
  border-radius: var(--radius-md, 10px) !important;
  padding-inline-end: 36px;
  padding-inline-start: 16px;
  height: 42px;
  cursor: pointer;
}
select.input:hover:not(:disabled), select.form-control:hover:not(:disabled), .select:hover:not(:disabled), .form-select:hover:not(:disabled) {
  border-color: var(--border-strong) !important;
}
select.input:focus:not(:disabled), select.form-control:focus:not(:disabled), .select:focus:not(:disabled), .form-select:focus:not(:disabled) {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px var(--accent-glow) !important;
}
[dir=ltr] select.input, [dir=ltr] select.form-control, [dir=ltr] .select, [dir=ltr] .form-select {
  background-position: right 14px center !important;
}
select.input:hover:not(:disabled), select.form-control:hover:not(:disabled), .select:hover:not(:disabled), .form-select:hover:not(:disabled) {
  background-color: var(--surface3) !important;
  box-shadow: var(--shadow-sm);
}
select.input:focus:not(:disabled), select.form-control:focus:not(:disabled), .select:focus:not(:disabled), .form-select:focus:not(:disabled) {
  background-color: var(--surface3) !important;
  box-shadow: 0 0 0 2px var(--accent-glow);
  outline: none;
}
select.input option, select.form-control option, .select option, .form-select option {
  background: var(--bg-surface);
  color: var(--text-primary);
  padding: 8px;
}

.category-select-backdrop,
.custom-select-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1240;
  background: transparent;
}

.category-custom-select,
.custom-rich-select,
.custom-select-wrap {
  position: relative;
  width: 100%;
  user-select: none;
}
.category-custom-select .category-select-trigger,
.category-custom-select .custom-select-trigger,
.custom-rich-select .category-select-trigger,
.custom-rich-select .custom-select-trigger,
.custom-select-wrap .category-select-trigger,
.custom-select-wrap .custom-select-trigger {
  width: 100%;
  min-height: 40px;
  padding: 6px 12px;
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-md, 10px);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: background var(--transition-fast, 0.2s ease), box-shadow var(--transition-fast, 0.2s ease);
  text-align: start;
}
.category-custom-select .category-select-trigger:hover,
.category-custom-select .custom-select-trigger:hover,
.custom-rich-select .category-select-trigger:hover,
.custom-rich-select .custom-select-trigger:hover,
.custom-select-wrap .category-select-trigger:hover,
.custom-select-wrap .custom-select-trigger:hover {
  background: var(--surface3);
  box-shadow: var(--shadow-sm);
}
.category-custom-select .category-select-trigger[aria-expanded=true], .category-custom-select .category-select-trigger.is-open,
.category-custom-select .custom-select-trigger[aria-expanded=true],
.category-custom-select .custom-select-trigger.is-open,
.custom-rich-select .category-select-trigger[aria-expanded=true],
.custom-rich-select .category-select-trigger.is-open,
.custom-rich-select .custom-select-trigger[aria-expanded=true],
.custom-rich-select .custom-select-trigger.is-open,
.custom-select-wrap .category-select-trigger[aria-expanded=true],
.custom-select-wrap .category-select-trigger.is-open,
.custom-select-wrap .custom-select-trigger[aria-expanded=true],
.custom-select-wrap .custom-select-trigger.is-open {
  background: var(--surface3);
  box-shadow: 0 0 0 2px var(--accent-glow);
}
.category-custom-select .category-select-trigger--sm,
.category-custom-select .custom-select-trigger--sm,
.custom-rich-select .category-select-trigger--sm,
.custom-rich-select .custom-select-trigger--sm,
.custom-select-wrap .category-select-trigger--sm,
.custom-select-wrap .custom-select-trigger--sm {
  min-height: 34px;
  padding: 4px 10px;
  font-size: var(--text-xs, 0.78rem);
}
.category-custom-select .category-select-active-item,
.category-custom-select .custom-select-active-item,
.custom-rich-select .category-select-active-item,
.custom-rich-select .custom-select-active-item,
.custom-select-wrap .category-select-active-item,
.custom-select-wrap .custom-select-active-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.category-custom-select .category-select-active-item .category-chip-icon-box,
.category-custom-select .category-select-active-item .custom-select-icon-box,
.category-custom-select .custom-select-active-item .category-chip-icon-box,
.category-custom-select .custom-select-active-item .custom-select-icon-box,
.custom-rich-select .category-select-active-item .category-chip-icon-box,
.custom-rich-select .category-select-active-item .custom-select-icon-box,
.custom-rich-select .custom-select-active-item .category-chip-icon-box,
.custom-rich-select .custom-select-active-item .custom-select-icon-box,
.custom-select-wrap .category-select-active-item .category-chip-icon-box,
.custom-select-wrap .category-select-active-item .custom-select-icon-box,
.custom-select-wrap .custom-select-active-item .category-chip-icon-box,
.custom-select-wrap .custom-select-active-item .custom-select-icon-box {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm, 7px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--accent);
  flex-shrink: 0;
}
.category-custom-select .category-select-active-item .category-chip-icon-box svg, .category-custom-select .category-select-active-item .category-chip-icon-box [data-lucide],
.category-custom-select .category-select-active-item .custom-select-icon-box svg,
.category-custom-select .category-select-active-item .custom-select-icon-box [data-lucide],
.category-custom-select .custom-select-active-item .category-chip-icon-box svg,
.category-custom-select .custom-select-active-item .category-chip-icon-box [data-lucide],
.category-custom-select .custom-select-active-item .custom-select-icon-box svg,
.category-custom-select .custom-select-active-item .custom-select-icon-box [data-lucide],
.custom-rich-select .category-select-active-item .category-chip-icon-box svg,
.custom-rich-select .category-select-active-item .category-chip-icon-box [data-lucide],
.custom-rich-select .category-select-active-item .custom-select-icon-box svg,
.custom-rich-select .category-select-active-item .custom-select-icon-box [data-lucide],
.custom-rich-select .custom-select-active-item .category-chip-icon-box svg,
.custom-rich-select .custom-select-active-item .category-chip-icon-box [data-lucide],
.custom-rich-select .custom-select-active-item .custom-select-icon-box svg,
.custom-rich-select .custom-select-active-item .custom-select-icon-box [data-lucide],
.custom-select-wrap .category-select-active-item .category-chip-icon-box svg,
.custom-select-wrap .category-select-active-item .category-chip-icon-box [data-lucide],
.custom-select-wrap .category-select-active-item .custom-select-icon-box svg,
.custom-select-wrap .category-select-active-item .custom-select-icon-box [data-lucide],
.custom-select-wrap .custom-select-active-item .category-chip-icon-box svg,
.custom-select-wrap .custom-select-active-item .category-chip-icon-box [data-lucide],
.custom-select-wrap .custom-select-active-item .custom-select-icon-box svg,
.custom-select-wrap .custom-select-active-item .custom-select-icon-box [data-lucide] {
  width: 15px;
  height: 15px;
}
.category-custom-select .category-select-active-item .category-text-group,
.category-custom-select .category-select-active-item .custom-select-text-group,
.category-custom-select .custom-select-active-item .category-text-group,
.category-custom-select .custom-select-active-item .custom-select-text-group,
.custom-rich-select .category-select-active-item .category-text-group,
.custom-rich-select .category-select-active-item .custom-select-text-group,
.custom-rich-select .custom-select-active-item .category-text-group,
.custom-rich-select .custom-select-active-item .custom-select-text-group,
.custom-select-wrap .category-select-active-item .category-text-group,
.custom-select-wrap .category-select-active-item .custom-select-text-group,
.custom-select-wrap .custom-select-active-item .category-text-group,
.custom-select-wrap .custom-select-active-item .custom-select-text-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
  overflow: hidden;
}
.category-custom-select .category-select-active-item .category-text-group .category-title,
.category-custom-select .category-select-active-item .category-text-group .custom-select-title,
.category-custom-select .category-select-active-item .custom-select-text-group .category-title,
.category-custom-select .category-select-active-item .custom-select-text-group .custom-select-title,
.category-custom-select .custom-select-active-item .category-text-group .category-title,
.category-custom-select .custom-select-active-item .category-text-group .custom-select-title,
.category-custom-select .custom-select-active-item .custom-select-text-group .category-title,
.category-custom-select .custom-select-active-item .custom-select-text-group .custom-select-title,
.custom-rich-select .category-select-active-item .category-text-group .category-title,
.custom-rich-select .category-select-active-item .category-text-group .custom-select-title,
.custom-rich-select .category-select-active-item .custom-select-text-group .category-title,
.custom-rich-select .category-select-active-item .custom-select-text-group .custom-select-title,
.custom-rich-select .custom-select-active-item .category-text-group .category-title,
.custom-rich-select .custom-select-active-item .category-text-group .custom-select-title,
.custom-rich-select .custom-select-active-item .custom-select-text-group .category-title,
.custom-rich-select .custom-select-active-item .custom-select-text-group .custom-select-title,
.custom-select-wrap .category-select-active-item .category-text-group .category-title,
.custom-select-wrap .category-select-active-item .category-text-group .custom-select-title,
.custom-select-wrap .category-select-active-item .custom-select-text-group .category-title,
.custom-select-wrap .category-select-active-item .custom-select-text-group .custom-select-title,
.custom-select-wrap .custom-select-active-item .category-text-group .category-title,
.custom-select-wrap .custom-select-active-item .category-text-group .custom-select-title,
.custom-select-wrap .custom-select-active-item .custom-select-text-group .category-title,
.custom-select-wrap .custom-select-active-item .custom-select-text-group .custom-select-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
  white-space: nowrap;
}
.category-custom-select .category-select-active-item .category-text-group .category-sub,
.category-custom-select .category-select-active-item .category-text-group .custom-select-sub,
.category-custom-select .category-select-active-item .custom-select-text-group .category-sub,
.category-custom-select .category-select-active-item .custom-select-text-group .custom-select-sub,
.category-custom-select .custom-select-active-item .category-text-group .category-sub,
.category-custom-select .custom-select-active-item .category-text-group .custom-select-sub,
.category-custom-select .custom-select-active-item .custom-select-text-group .category-sub,
.category-custom-select .custom-select-active-item .custom-select-text-group .custom-select-sub,
.custom-rich-select .category-select-active-item .category-text-group .category-sub,
.custom-rich-select .category-select-active-item .category-text-group .custom-select-sub,
.custom-rich-select .category-select-active-item .custom-select-text-group .category-sub,
.custom-rich-select .category-select-active-item .custom-select-text-group .custom-select-sub,
.custom-rich-select .custom-select-active-item .category-text-group .category-sub,
.custom-rich-select .custom-select-active-item .category-text-group .custom-select-sub,
.custom-rich-select .custom-select-active-item .custom-select-text-group .category-sub,
.custom-rich-select .custom-select-active-item .custom-select-text-group .custom-select-sub,
.custom-select-wrap .category-select-active-item .category-text-group .category-sub,
.custom-select-wrap .category-select-active-item .category-text-group .custom-select-sub,
.custom-select-wrap .category-select-active-item .custom-select-text-group .category-sub,
.custom-select-wrap .category-select-active-item .custom-select-text-group .custom-select-sub,
.custom-select-wrap .custom-select-active-item .category-text-group .category-sub,
.custom-select-wrap .custom-select-active-item .category-text-group .custom-select-sub,
.custom-select-wrap .custom-select-active-item .custom-select-text-group .category-sub,
.custom-select-wrap .custom-select-active-item .custom-select-text-group .custom-select-sub {
  font-size: 0.73rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.category-custom-select .category-select-arrow,
.category-custom-select .custom-select-arrow,
.custom-rich-select .category-select-arrow,
.custom-rich-select .custom-select-arrow,
.custom-select-wrap .category-select-arrow,
.custom-select-wrap .custom-select-arrow {
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  transition: transform var(--transition-fast, 0.2s ease);
  flex-shrink: 0;
}
.category-custom-select .category-select-arrow.is-open,
.category-custom-select .custom-select-arrow.is-open,
.custom-rich-select .category-select-arrow.is-open,
.custom-rich-select .custom-select-arrow.is-open,
.custom-select-wrap .category-select-arrow.is-open,
.custom-select-wrap .custom-select-arrow.is-open {
  transform: rotate(180deg);
  color: var(--accent);
}
.category-custom-select .category-select-dropdown,
.category-custom-select .custom-select-dropdown,
.custom-rich-select .category-select-dropdown,
.custom-rich-select .custom-select-dropdown,
.custom-select-wrap .category-select-dropdown,
.custom-select-wrap .custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  inset-inline-end: 0;
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-lg, 14px);
  box-shadow: var(--shadow-xl);
  padding: 6px;
  z-index: 1250;
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.category-custom-select .category-select-dropdown::-webkit-scrollbar,
.category-custom-select .custom-select-dropdown::-webkit-scrollbar,
.custom-rich-select .category-select-dropdown::-webkit-scrollbar,
.custom-rich-select .custom-select-dropdown::-webkit-scrollbar,
.custom-select-wrap .category-select-dropdown::-webkit-scrollbar,
.custom-select-wrap .custom-select-dropdown::-webkit-scrollbar {
  width: 5px;
}
.category-custom-select .category-select-dropdown::-webkit-scrollbar-thumb,
.category-custom-select .custom-select-dropdown::-webkit-scrollbar-thumb,
.custom-rich-select .category-select-dropdown::-webkit-scrollbar-thumb,
.custom-rich-select .custom-select-dropdown::-webkit-scrollbar-thumb,
.custom-select-wrap .category-select-dropdown::-webkit-scrollbar-thumb,
.custom-select-wrap .custom-select-dropdown::-webkit-scrollbar-thumb {
  background: var(--surface3);
  border-radius: 4px;
}
.category-custom-select.is-dropup .category-select-dropdown,
.category-custom-select.is-dropup .custom-select-dropdown, .category-custom-select.dropup .category-select-dropdown,
.category-custom-select.dropup .custom-select-dropdown,
.custom-rich-select.is-dropup .category-select-dropdown,
.custom-rich-select.is-dropup .custom-select-dropdown,
.custom-rich-select.dropup .category-select-dropdown,
.custom-rich-select.dropup .custom-select-dropdown,
.custom-select-wrap.is-dropup .category-select-dropdown,
.custom-select-wrap.is-dropup .custom-select-dropdown,
.custom-select-wrap.dropup .category-select-dropdown,
.custom-select-wrap.dropup .custom-select-dropdown {
  top: auto;
  bottom: calc(100% + 6px);
  box-shadow: var(--shadow-xl);
}
.category-custom-select .category-select-option,
.category-custom-select .custom-select-option,
.custom-rich-select .category-select-option,
.custom-rich-select .custom-select-option,
.custom-select-wrap .category-select-option,
.custom-select-wrap .custom-select-option {
  padding: 8px 10px;
  border-radius: var(--radius-md, 8px);
  border: none;
  background: transparent;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  width: 100%;
  text-align: start;
  transition: background var(--transition-fast, 0.15s ease);
}
.category-custom-select .category-select-option:hover,
.category-custom-select .custom-select-option:hover,
.custom-rich-select .category-select-option:hover,
.custom-rich-select .custom-select-option:hover,
.custom-select-wrap .category-select-option:hover,
.custom-select-wrap .custom-select-option:hover {
  background: var(--surface2);
}
.category-custom-select .category-select-option.is-selected,
.category-custom-select .custom-select-option.is-selected,
.custom-rich-select .category-select-option.is-selected,
.custom-rich-select .custom-select-option.is-selected,
.custom-select-wrap .category-select-option.is-selected,
.custom-select-wrap .custom-select-option.is-selected {
  background: var(--surface3);
}
.category-custom-select .category-select-option.is-selected .category-option-check,
.category-custom-select .category-select-option.is-selected .custom-option-check,
.category-custom-select .custom-select-option.is-selected .category-option-check,
.category-custom-select .custom-select-option.is-selected .custom-option-check,
.custom-rich-select .category-select-option.is-selected .category-option-check,
.custom-rich-select .category-select-option.is-selected .custom-option-check,
.custom-rich-select .custom-select-option.is-selected .category-option-check,
.custom-rich-select .custom-select-option.is-selected .custom-option-check,
.custom-select-wrap .category-select-option.is-selected .category-option-check,
.custom-select-wrap .category-select-option.is-selected .custom-option-check,
.custom-select-wrap .custom-select-option.is-selected .category-option-check,
.custom-select-wrap .custom-select-option.is-selected .custom-option-check {
  color: var(--accent);
  opacity: 1;
}
.category-custom-select .category-select-option .category-option-content,
.category-custom-select .category-select-option .custom-option-content,
.category-custom-select .custom-select-option .category-option-content,
.category-custom-select .custom-select-option .custom-option-content,
.custom-rich-select .category-select-option .category-option-content,
.custom-rich-select .category-select-option .custom-option-content,
.custom-rich-select .custom-select-option .category-option-content,
.custom-rich-select .custom-select-option .custom-option-content,
.custom-select-wrap .category-select-option .category-option-content,
.custom-select-wrap .category-select-option .custom-option-content,
.custom-select-wrap .custom-select-option .category-option-content,
.custom-select-wrap .custom-select-option .custom-option-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.category-custom-select .category-select-option .category-option-content .category-option-icon,
.category-custom-select .category-select-option .category-option-content .custom-option-icon,
.category-custom-select .category-select-option .custom-option-content .category-option-icon,
.category-custom-select .category-select-option .custom-option-content .custom-option-icon,
.category-custom-select .custom-select-option .category-option-content .category-option-icon,
.category-custom-select .custom-select-option .category-option-content .custom-option-icon,
.category-custom-select .custom-select-option .custom-option-content .category-option-icon,
.category-custom-select .custom-select-option .custom-option-content .custom-option-icon,
.custom-rich-select .category-select-option .category-option-content .category-option-icon,
.custom-rich-select .category-select-option .category-option-content .custom-option-icon,
.custom-rich-select .category-select-option .custom-option-content .category-option-icon,
.custom-rich-select .category-select-option .custom-option-content .custom-option-icon,
.custom-rich-select .custom-select-option .category-option-content .category-option-icon,
.custom-rich-select .custom-select-option .category-option-content .custom-option-icon,
.custom-rich-select .custom-select-option .custom-option-content .category-option-icon,
.custom-rich-select .custom-select-option .custom-option-content .custom-option-icon,
.custom-select-wrap .category-select-option .category-option-content .category-option-icon,
.custom-select-wrap .category-select-option .category-option-content .custom-option-icon,
.custom-select-wrap .category-select-option .custom-option-content .category-option-icon,
.custom-select-wrap .category-select-option .custom-option-content .custom-option-icon,
.custom-select-wrap .custom-select-option .category-option-content .category-option-icon,
.custom-select-wrap .custom-select-option .category-option-content .custom-option-icon,
.custom-select-wrap .custom-select-option .custom-option-content .category-option-icon,
.custom-select-wrap .custom-select-option .custom-option-content .custom-option-icon {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm, 6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface2);
  color: var(--text-secondary);
  flex-shrink: 0;
}
.category-custom-select .category-select-option .category-option-content .category-option-icon svg, .category-custom-select .category-select-option .category-option-content .category-option-icon [data-lucide],
.category-custom-select .category-select-option .category-option-content .custom-option-icon svg,
.category-custom-select .category-select-option .category-option-content .custom-option-icon [data-lucide],
.category-custom-select .category-select-option .custom-option-content .category-option-icon svg,
.category-custom-select .category-select-option .custom-option-content .category-option-icon [data-lucide],
.category-custom-select .category-select-option .custom-option-content .custom-option-icon svg,
.category-custom-select .category-select-option .custom-option-content .custom-option-icon [data-lucide],
.category-custom-select .custom-select-option .category-option-content .category-option-icon svg,
.category-custom-select .custom-select-option .category-option-content .category-option-icon [data-lucide],
.category-custom-select .custom-select-option .category-option-content .custom-option-icon svg,
.category-custom-select .custom-select-option .category-option-content .custom-option-icon [data-lucide],
.category-custom-select .custom-select-option .custom-option-content .category-option-icon svg,
.category-custom-select .custom-select-option .custom-option-content .category-option-icon [data-lucide],
.category-custom-select .custom-select-option .custom-option-content .custom-option-icon svg,
.category-custom-select .custom-select-option .custom-option-content .custom-option-icon [data-lucide],
.custom-rich-select .category-select-option .category-option-content .category-option-icon svg,
.custom-rich-select .category-select-option .category-option-content .category-option-icon [data-lucide],
.custom-rich-select .category-select-option .category-option-content .custom-option-icon svg,
.custom-rich-select .category-select-option .category-option-content .custom-option-icon [data-lucide],
.custom-rich-select .category-select-option .custom-option-content .category-option-icon svg,
.custom-rich-select .category-select-option .custom-option-content .category-option-icon [data-lucide],
.custom-rich-select .category-select-option .custom-option-content .custom-option-icon svg,
.custom-rich-select .category-select-option .custom-option-content .custom-option-icon [data-lucide],
.custom-rich-select .custom-select-option .category-option-content .category-option-icon svg,
.custom-rich-select .custom-select-option .category-option-content .category-option-icon [data-lucide],
.custom-rich-select .custom-select-option .category-option-content .custom-option-icon svg,
.custom-rich-select .custom-select-option .category-option-content .custom-option-icon [data-lucide],
.custom-rich-select .custom-select-option .custom-option-content .category-option-icon svg,
.custom-rich-select .custom-select-option .custom-option-content .category-option-icon [data-lucide],
.custom-rich-select .custom-select-option .custom-option-content .custom-option-icon svg,
.custom-rich-select .custom-select-option .custom-option-content .custom-option-icon [data-lucide],
.custom-select-wrap .category-select-option .category-option-content .category-option-icon svg,
.custom-select-wrap .category-select-option .category-option-content .category-option-icon [data-lucide],
.custom-select-wrap .category-select-option .category-option-content .custom-option-icon svg,
.custom-select-wrap .category-select-option .category-option-content .custom-option-icon [data-lucide],
.custom-select-wrap .category-select-option .custom-option-content .category-option-icon svg,
.custom-select-wrap .category-select-option .custom-option-content .category-option-icon [data-lucide],
.custom-select-wrap .category-select-option .custom-option-content .custom-option-icon svg,
.custom-select-wrap .category-select-option .custom-option-content .custom-option-icon [data-lucide],
.custom-select-wrap .custom-select-option .category-option-content .category-option-icon svg,
.custom-select-wrap .custom-select-option .category-option-content .category-option-icon [data-lucide],
.custom-select-wrap .custom-select-option .category-option-content .custom-option-icon svg,
.custom-select-wrap .custom-select-option .category-option-content .custom-option-icon [data-lucide],
.custom-select-wrap .custom-select-option .custom-option-content .category-option-icon svg,
.custom-select-wrap .custom-select-option .custom-option-content .category-option-icon [data-lucide],
.custom-select-wrap .custom-select-option .custom-option-content .custom-option-icon svg,
.custom-select-wrap .custom-select-option .custom-option-content .custom-option-icon [data-lucide] {
  width: 14px;
  height: 14px;
}
.category-custom-select .category-select-option .category-option-content .category-option-labels,
.category-custom-select .category-select-option .category-option-content .custom-option-labels,
.category-custom-select .category-select-option .custom-option-content .category-option-labels,
.category-custom-select .category-select-option .custom-option-content .custom-option-labels,
.category-custom-select .custom-select-option .category-option-content .category-option-labels,
.category-custom-select .custom-select-option .category-option-content .custom-option-labels,
.category-custom-select .custom-select-option .custom-option-content .category-option-labels,
.category-custom-select .custom-select-option .custom-option-content .custom-option-labels,
.custom-rich-select .category-select-option .category-option-content .category-option-labels,
.custom-rich-select .category-select-option .category-option-content .custom-option-labels,
.custom-rich-select .category-select-option .custom-option-content .category-option-labels,
.custom-rich-select .category-select-option .custom-option-content .custom-option-labels,
.custom-rich-select .custom-select-option .category-option-content .category-option-labels,
.custom-rich-select .custom-select-option .category-option-content .custom-option-labels,
.custom-rich-select .custom-select-option .custom-option-content .category-option-labels,
.custom-rich-select .custom-select-option .custom-option-content .custom-option-labels,
.custom-select-wrap .category-select-option .category-option-content .category-option-labels,
.custom-select-wrap .category-select-option .category-option-content .custom-option-labels,
.custom-select-wrap .category-select-option .custom-option-content .category-option-labels,
.custom-select-wrap .category-select-option .custom-option-content .custom-option-labels,
.custom-select-wrap .custom-select-option .category-option-content .category-option-labels,
.custom-select-wrap .custom-select-option .category-option-content .custom-option-labels,
.custom-select-wrap .custom-select-option .custom-option-content .category-option-labels,
.custom-select-wrap .custom-select-option .custom-option-content .custom-option-labels {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.category-custom-select .category-select-option .category-option-content .category-option-labels .category-option-name,
.category-custom-select .category-select-option .category-option-content .category-option-labels .custom-option-name,
.category-custom-select .category-select-option .category-option-content .custom-option-labels .category-option-name,
.category-custom-select .category-select-option .category-option-content .custom-option-labels .custom-option-name,
.category-custom-select .category-select-option .custom-option-content .category-option-labels .category-option-name,
.category-custom-select .category-select-option .custom-option-content .category-option-labels .custom-option-name,
.category-custom-select .category-select-option .custom-option-content .custom-option-labels .category-option-name,
.category-custom-select .category-select-option .custom-option-content .custom-option-labels .custom-option-name,
.category-custom-select .custom-select-option .category-option-content .category-option-labels .category-option-name,
.category-custom-select .custom-select-option .category-option-content .category-option-labels .custom-option-name,
.category-custom-select .custom-select-option .category-option-content .custom-option-labels .category-option-name,
.category-custom-select .custom-select-option .category-option-content .custom-option-labels .custom-option-name,
.category-custom-select .custom-select-option .custom-option-content .category-option-labels .category-option-name,
.category-custom-select .custom-select-option .custom-option-content .category-option-labels .custom-option-name,
.category-custom-select .custom-select-option .custom-option-content .custom-option-labels .category-option-name,
.category-custom-select .custom-select-option .custom-option-content .custom-option-labels .custom-option-name,
.custom-rich-select .category-select-option .category-option-content .category-option-labels .category-option-name,
.custom-rich-select .category-select-option .category-option-content .category-option-labels .custom-option-name,
.custom-rich-select .category-select-option .category-option-content .custom-option-labels .category-option-name,
.custom-rich-select .category-select-option .category-option-content .custom-option-labels .custom-option-name,
.custom-rich-select .category-select-option .custom-option-content .category-option-labels .category-option-name,
.custom-rich-select .category-select-option .custom-option-content .category-option-labels .custom-option-name,
.custom-rich-select .category-select-option .custom-option-content .custom-option-labels .category-option-name,
.custom-rich-select .category-select-option .custom-option-content .custom-option-labels .custom-option-name,
.custom-rich-select .custom-select-option .category-option-content .category-option-labels .category-option-name,
.custom-rich-select .custom-select-option .category-option-content .category-option-labels .custom-option-name,
.custom-rich-select .custom-select-option .category-option-content .custom-option-labels .category-option-name,
.custom-rich-select .custom-select-option .category-option-content .custom-option-labels .custom-option-name,
.custom-rich-select .custom-select-option .custom-option-content .category-option-labels .category-option-name,
.custom-rich-select .custom-select-option .custom-option-content .category-option-labels .custom-option-name,
.custom-rich-select .custom-select-option .custom-option-content .custom-option-labels .category-option-name,
.custom-rich-select .custom-select-option .custom-option-content .custom-option-labels .custom-option-name,
.custom-select-wrap .category-select-option .category-option-content .category-option-labels .category-option-name,
.custom-select-wrap .category-select-option .category-option-content .category-option-labels .custom-option-name,
.custom-select-wrap .category-select-option .category-option-content .custom-option-labels .category-option-name,
.custom-select-wrap .category-select-option .category-option-content .custom-option-labels .custom-option-name,
.custom-select-wrap .category-select-option .custom-option-content .category-option-labels .category-option-name,
.custom-select-wrap .category-select-option .custom-option-content .category-option-labels .custom-option-name,
.custom-select-wrap .category-select-option .custom-option-content .custom-option-labels .category-option-name,
.custom-select-wrap .category-select-option .custom-option-content .custom-option-labels .custom-option-name,
.custom-select-wrap .custom-select-option .category-option-content .category-option-labels .category-option-name,
.custom-select-wrap .custom-select-option .category-option-content .category-option-labels .custom-option-name,
.custom-select-wrap .custom-select-option .category-option-content .custom-option-labels .category-option-name,
.custom-select-wrap .custom-select-option .category-option-content .custom-option-labels .custom-option-name,
.custom-select-wrap .custom-select-option .custom-option-content .category-option-labels .category-option-name,
.custom-select-wrap .custom-select-option .custom-option-content .category-option-labels .custom-option-name,
.custom-select-wrap .custom-select-option .custom-option-content .custom-option-labels .category-option-name,
.custom-select-wrap .custom-select-option .custom-option-content .custom-option-labels .custom-option-name {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text-primary);
}
.category-custom-select .category-select-option .category-option-content .category-option-labels .category-option-desc,
.category-custom-select .category-select-option .category-option-content .category-option-labels .custom-option-desc,
.category-custom-select .category-select-option .category-option-content .custom-option-labels .category-option-desc,
.category-custom-select .category-select-option .category-option-content .custom-option-labels .custom-option-desc,
.category-custom-select .category-select-option .custom-option-content .category-option-labels .category-option-desc,
.category-custom-select .category-select-option .custom-option-content .category-option-labels .custom-option-desc,
.category-custom-select .category-select-option .custom-option-content .custom-option-labels .category-option-desc,
.category-custom-select .category-select-option .custom-option-content .custom-option-labels .custom-option-desc,
.category-custom-select .custom-select-option .category-option-content .category-option-labels .category-option-desc,
.category-custom-select .custom-select-option .category-option-content .category-option-labels .custom-option-desc,
.category-custom-select .custom-select-option .category-option-content .custom-option-labels .category-option-desc,
.category-custom-select .custom-select-option .category-option-content .custom-option-labels .custom-option-desc,
.category-custom-select .custom-select-option .custom-option-content .category-option-labels .category-option-desc,
.category-custom-select .custom-select-option .custom-option-content .category-option-labels .custom-option-desc,
.category-custom-select .custom-select-option .custom-option-content .custom-option-labels .category-option-desc,
.category-custom-select .custom-select-option .custom-option-content .custom-option-labels .custom-option-desc,
.custom-rich-select .category-select-option .category-option-content .category-option-labels .category-option-desc,
.custom-rich-select .category-select-option .category-option-content .category-option-labels .custom-option-desc,
.custom-rich-select .category-select-option .category-option-content .custom-option-labels .category-option-desc,
.custom-rich-select .category-select-option .category-option-content .custom-option-labels .custom-option-desc,
.custom-rich-select .category-select-option .custom-option-content .category-option-labels .category-option-desc,
.custom-rich-select .category-select-option .custom-option-content .category-option-labels .custom-option-desc,
.custom-rich-select .category-select-option .custom-option-content .custom-option-labels .category-option-desc,
.custom-rich-select .category-select-option .custom-option-content .custom-option-labels .custom-option-desc,
.custom-rich-select .custom-select-option .category-option-content .category-option-labels .category-option-desc,
.custom-rich-select .custom-select-option .category-option-content .category-option-labels .custom-option-desc,
.custom-rich-select .custom-select-option .category-option-content .custom-option-labels .category-option-desc,
.custom-rich-select .custom-select-option .category-option-content .custom-option-labels .custom-option-desc,
.custom-rich-select .custom-select-option .custom-option-content .category-option-labels .category-option-desc,
.custom-rich-select .custom-select-option .custom-option-content .category-option-labels .custom-option-desc,
.custom-rich-select .custom-select-option .custom-option-content .custom-option-labels .category-option-desc,
.custom-rich-select .custom-select-option .custom-option-content .custom-option-labels .custom-option-desc,
.custom-select-wrap .category-select-option .category-option-content .category-option-labels .category-option-desc,
.custom-select-wrap .category-select-option .category-option-content .category-option-labels .custom-option-desc,
.custom-select-wrap .category-select-option .category-option-content .custom-option-labels .category-option-desc,
.custom-select-wrap .category-select-option .category-option-content .custom-option-labels .custom-option-desc,
.custom-select-wrap .category-select-option .custom-option-content .category-option-labels .category-option-desc,
.custom-select-wrap .category-select-option .custom-option-content .category-option-labels .custom-option-desc,
.custom-select-wrap .category-select-option .custom-option-content .custom-option-labels .category-option-desc,
.custom-select-wrap .category-select-option .custom-option-content .custom-option-labels .custom-option-desc,
.custom-select-wrap .custom-select-option .category-option-content .category-option-labels .category-option-desc,
.custom-select-wrap .custom-select-option .category-option-content .category-option-labels .custom-option-desc,
.custom-select-wrap .custom-select-option .category-option-content .custom-option-labels .category-option-desc,
.custom-select-wrap .custom-select-option .category-option-content .custom-option-labels .custom-option-desc,
.custom-select-wrap .custom-select-option .custom-option-content .category-option-labels .category-option-desc,
.custom-select-wrap .custom-select-option .custom-option-content .category-option-labels .custom-option-desc,
.custom-select-wrap .custom-select-option .custom-option-content .custom-option-labels .category-option-desc,
.custom-select-wrap .custom-select-option .custom-option-content .custom-option-labels .custom-option-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.category-custom-select .category-select-option .category-option-check,
.category-custom-select .category-select-option .custom-option-check,
.category-custom-select .custom-select-option .category-option-check,
.category-custom-select .custom-select-option .custom-option-check,
.custom-rich-select .category-select-option .category-option-check,
.custom-rich-select .category-select-option .custom-option-check,
.custom-rich-select .custom-select-option .category-option-check,
.custom-rich-select .custom-select-option .custom-option-check,
.custom-select-wrap .category-select-option .category-option-check,
.custom-select-wrap .category-select-option .custom-option-check,
.custom-select-wrap .custom-select-option .category-option-check,
.custom-select-wrap .custom-select-option .custom-option-check {
  width: 16px;
  height: 16px;
  color: var(--accent);
  opacity: 0;
  flex-shrink: 0;
}

.input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
  position: relative;
}
.input-group .input, .input-group .form-control, .input-group .select, .input-group .form-select {
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  border-radius: 0;
}
.input-group .input:first-child, .input-group .form-control:first-child, .input-group .select:first-child, .input-group .form-select:first-child {
  border-start-start-radius: var(--radius-sm, 6px);
  border-end-start-radius: var(--radius-sm, 6px);
}
.input-group .input:last-child, .input-group .form-control:last-child, .input-group .select:last-child, .input-group .form-select:last-child {
  border-start-end-radius: var(--radius-sm, 6px);
  border-end-end-radius: var(--radius-sm, 6px);
}
.input-group .input:not(:first-child), .input-group .form-control:not(:first-child), .input-group .select:not(:first-child), .input-group .form-select:not(:first-child) {
  margin-inline-start: -1px;
}
.input-group .input:focus, .input-group .form-control:focus, .input-group .select:focus, .input-group .form-select:focus {
  z-index: 3;
}
.input-group .input-addon, .input-group .input-group-text {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  font-size: var(--text-xs, 0.82rem);
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  user-select: none;
  white-space: nowrap;
}
.input-group .input-addon:first-child, .input-group .input-group-text:first-child {
  border-start-start-radius: var(--radius-sm, 6px);
  border-end-start-radius: var(--radius-sm, 6px);
}
.input-group .input-addon:last-child, .input-group .input-group-text:last-child {
  border-start-end-radius: var(--radius-sm, 6px);
  border-end-end-radius: var(--radius-sm, 6px);
}
.input-group .input-addon:not(:first-child), .input-group .input-group-text:not(:first-child) {
  margin-inline-start: -1px;
}
.input-group > .btn {
  border-radius: 0;
  z-index: 2;
}
.input-group > .btn:first-child {
  border-start-start-radius: var(--radius-sm, 6px);
  border-end-start-radius: var(--radius-sm, 6px);
}
.input-group > .btn:last-child {
  border-start-end-radius: var(--radius-sm, 6px);
  border-end-end-radius: var(--radius-sm, 6px);
}
.input-group > .btn:not(:first-child) {
  margin-inline-start: -1px;
}
.input-group.input-group-ltr, .input-group[dir=ltr] {
  direction: ltr;
}
.input-group.input-group-ltr .input, .input-group.input-group-ltr .form-control, .input-group[dir=ltr] .input, .input-group[dir=ltr] .form-control {
  text-align: left;
}

.search-box, .input-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.search-box > .search-icon, .search-box > svg:not(.btn-clear-search *), .search-box > i:not(.btn-clear-search *), .search-box > span:first-child:not(.btn-clear-search), .input-search > .search-icon, .input-search > svg:not(.btn-clear-search *), .input-search > i:not(.btn-clear-search *), .input-search > span:first-child:not(.btn-clear-search) {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-start: 14px;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.search-box > .search-icon svg, .search-box > .search-icon i, .search-box > .search-icon [data-lucide], .search-box > .search-icon .lucide, .search-box > svg:not(.btn-clear-search *) svg, .search-box > svg:not(.btn-clear-search *) i, .search-box > svg:not(.btn-clear-search *) [data-lucide], .search-box > svg:not(.btn-clear-search *) .lucide, .search-box > i:not(.btn-clear-search *) svg, .search-box > i:not(.btn-clear-search *) i, .search-box > i:not(.btn-clear-search *) [data-lucide], .search-box > i:not(.btn-clear-search *) .lucide, .search-box > span:first-child:not(.btn-clear-search) svg, .search-box > span:first-child:not(.btn-clear-search) i, .search-box > span:first-child:not(.btn-clear-search) [data-lucide], .search-box > span:first-child:not(.btn-clear-search) .lucide, .input-search > .search-icon svg, .input-search > .search-icon i, .input-search > .search-icon [data-lucide], .input-search > .search-icon .lucide, .input-search > svg:not(.btn-clear-search *) svg, .input-search > svg:not(.btn-clear-search *) i, .input-search > svg:not(.btn-clear-search *) [data-lucide], .input-search > svg:not(.btn-clear-search *) .lucide, .input-search > i:not(.btn-clear-search *) svg, .input-search > i:not(.btn-clear-search *) i, .input-search > i:not(.btn-clear-search *) [data-lucide], .input-search > i:not(.btn-clear-search *) .lucide, .input-search > span:first-child:not(.btn-clear-search) svg, .input-search > span:first-child:not(.btn-clear-search) i, .input-search > span:first-child:not(.btn-clear-search) [data-lucide], .input-search > span:first-child:not(.btn-clear-search) .lucide {
  position: static !important;
  inset-inline-start: auto !important;
  width: 16px !important;
  height: 16px !important;
  color: inherit;
}
.search-box .btn-clear-search, .input-search .btn-clear-search {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-end: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  z-index: 2;
}
.search-box .btn-clear-search svg, .search-box .btn-clear-search [data-lucide], .search-box .btn-clear-search .lucide, .input-search .btn-clear-search svg, .input-search .btn-clear-search [data-lucide], .input-search .btn-clear-search .lucide {
  position: static !important;
  inset-inline-start: auto !important;
  width: 14px !important;
  height: 14px !important;
  color: inherit;
}
.search-box .input, .search-box .form-control, .search-box .search-input, .search-box input[type=text], .input-search .input, .input-search .form-control, .input-search .search-input, .input-search input[type=text] {
  padding-inline-start: 40px;
}

.switch, .form-switch, .form-check.form-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2, 8px);
  cursor: pointer;
  user-select: none;
  font-size: var(--text-sm, 0.85rem);
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  vertical-align: middle;
  margin: 0;
}
.switch input[type=checkbox], .switch .form-check-input, .form-switch input[type=checkbox], .form-switch .form-check-input, .form-check.form-switch input[type=checkbox], .form-check.form-switch .form-check-input {
  appearance: none;
  -webkit-appearance: none;
  width: 42px !important;
  height: 24px !important;
  background: var(--surface3) !important;
  border: 1.5px solid var(--border-medium) !important;
  border-radius: var(--radius-full, 9999px) !important;
  position: relative !important;
  cursor: pointer !important;
  outline: none !important;
  transition: background var(--transition-fast, 0.18s ease), border-color var(--transition-fast, 0.18s ease), box-shadow var(--transition-fast, 0.18s ease) !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}
.switch input[type=checkbox]::before, .switch .form-check-input::before, .form-switch input[type=checkbox]::before, .form-switch .form-check-input::before, .form-check.form-switch input[type=checkbox]::before, .form-check.form-switch .form-check-input::before {
  display: none !important;
}
.switch input[type=checkbox]::after, .switch .form-check-input::after, .form-switch input[type=checkbox]::after, .form-switch .form-check-input::after, .form-check.form-switch input[type=checkbox]::after, .form-check.form-switch .form-check-input::after {
  content: "" !important;
  position: absolute !important;
  top: 2px !important;
  inset-inline-start: 2px !important;
  width: 17px !important;
  height: 17px !important;
  background: var(--color-white) !important;
  border-radius: 50% !important;
  transition: transform var(--transition-fast, 0.2s cubic-bezier(0.16, 1, 0.3, 1)), background-color var(--transition-fast, 0.18s ease) !important;
  box-shadow: var(--shadow-xs) !important;
  transform: none !important;
}
.switch input[type=checkbox]:checked, .switch .form-check-input:checked, .form-switch input[type=checkbox]:checked, .form-switch .form-check-input:checked, .form-check.form-switch input[type=checkbox]:checked, .form-check.form-switch .form-check-input:checked {
  background: var(--success) !important;
  border-color: var(--success) !important;
}
.switch input[type=checkbox]:checked::after, .switch .form-check-input:checked::after, .form-switch input[type=checkbox]:checked::after, .form-switch .form-check-input:checked::after, .form-check.form-switch input[type=checkbox]:checked::after, .form-check.form-switch .form-check-input:checked::after {
  transform: translateX(18px) !important;
}
.switch input[type=checkbox]:focus-visible, .switch .form-check-input:focus-visible, .form-switch input[type=checkbox]:focus-visible, .form-switch .form-check-input:focus-visible, .form-check.form-switch input[type=checkbox]:focus-visible, .form-check.form-switch .form-check-input:focus-visible {
  box-shadow: 0 0 0 2px var(--accent-glow) !important;
}
.switch input[type=checkbox]:disabled, .switch .form-check-input:disabled, .form-switch input[type=checkbox]:disabled, .form-switch .form-check-input:disabled, .form-check.form-switch input[type=checkbox]:disabled, .form-check.form-switch .form-check-input:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
}
[dir=rtl] .switch input[type=checkbox]:checked::after, [dir=rtl] .switch .form-check-input:checked::after, .switch:dir(rtl) input[type=checkbox]:checked::after, .switch:dir(rtl) .form-check-input:checked::after, [dir=rtl] .form-switch input[type=checkbox]:checked::after, [dir=rtl] .form-switch .form-check-input:checked::after, .form-switch:dir(rtl) input[type=checkbox]:checked::after, .form-switch:dir(rtl) .form-check-input:checked::after, [dir=rtl] .form-check.form-switch input[type=checkbox]:checked::after, [dir=rtl] .form-check.form-switch .form-check-input:checked::after, .form-check.form-switch:dir(rtl) input[type=checkbox]:checked::after, .form-check.form-switch:dir(rtl) .form-check-input:checked::after {
  transform: translateX(-18px) !important;
}
.switch .switch-slider,
.switch .slider,
.switch .form-switch-slider, .form-switch .switch-slider,
.form-switch .slider,
.form-switch .form-switch-slider, .form-check.form-switch .switch-slider,
.form-check.form-switch .slider,
.form-check.form-switch .form-switch-slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: var(--surface3);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-full, 9999px);
  transition: background 0.2s ease, border-color 0.2s ease;
  pointer-events: none;
}
.switch .switch-slider::before,
.switch .slider::before,
.switch .form-switch-slider::before, .form-switch .switch-slider::before,
.form-switch .slider::before,
.form-switch .form-switch-slider::before, .form-check.form-switch .switch-slider::before,
.form-check.form-switch .slider::before,
.form-check.form-switch .form-switch-slider::before {
  content: "";
  position: absolute;
  top: 2px;
  inset-inline-start: 2px;
  width: 17px;
  height: 17px;
  background: var(--color-white);
  border-radius: 50%;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-xs);
}
.switch:has(.switch-slider), .switch:has(.slider), .switch:has(.form-switch-slider), .form-switch:has(.switch-slider), .form-switch:has(.slider), .form-switch:has(.form-switch-slider), .form-check.form-switch:has(.switch-slider), .form-check.form-switch:has(.slider), .form-check.form-switch:has(.form-switch-slider) {
  width: 42px;
  height: 24px;
}
.switch:has(.switch-slider) input[type=checkbox], .switch:has(.slider) input[type=checkbox], .switch:has(.form-switch-slider) input[type=checkbox], .form-switch:has(.switch-slider) input[type=checkbox], .form-switch:has(.slider) input[type=checkbox], .form-switch:has(.form-switch-slider) input[type=checkbox], .form-check.form-switch:has(.switch-slider) input[type=checkbox], .form-check.form-switch:has(.slider) input[type=checkbox], .form-check.form-switch:has(.form-switch-slider) input[type=checkbox] {
  opacity: 0 !important;
  position: absolute !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  z-index: 1;
}
.switch:has(.switch-slider) input[type=checkbox]::after, .switch:has(.slider) input[type=checkbox]::after, .switch:has(.form-switch-slider) input[type=checkbox]::after, .form-switch:has(.switch-slider) input[type=checkbox]::after, .form-switch:has(.slider) input[type=checkbox]::after, .form-switch:has(.form-switch-slider) input[type=checkbox]::after, .form-check.form-switch:has(.switch-slider) input[type=checkbox]::after, .form-check.form-switch:has(.slider) input[type=checkbox]::after, .form-check.form-switch:has(.form-switch-slider) input[type=checkbox]::after {
  display: none !important;
}
.switch:has(.switch-slider) input[type=checkbox]:checked + .switch-slider, .switch:has(.switch-slider) input[type=checkbox]:checked + .slider, .switch:has(.switch-slider) input[type=checkbox]:checked + .form-switch-slider, .switch:has(.slider) input[type=checkbox]:checked + .switch-slider, .switch:has(.slider) input[type=checkbox]:checked + .slider, .switch:has(.slider) input[type=checkbox]:checked + .form-switch-slider, .switch:has(.form-switch-slider) input[type=checkbox]:checked + .switch-slider, .switch:has(.form-switch-slider) input[type=checkbox]:checked + .slider, .switch:has(.form-switch-slider) input[type=checkbox]:checked + .form-switch-slider, .form-switch:has(.switch-slider) input[type=checkbox]:checked + .switch-slider, .form-switch:has(.switch-slider) input[type=checkbox]:checked + .slider, .form-switch:has(.switch-slider) input[type=checkbox]:checked + .form-switch-slider, .form-switch:has(.slider) input[type=checkbox]:checked + .switch-slider, .form-switch:has(.slider) input[type=checkbox]:checked + .slider, .form-switch:has(.slider) input[type=checkbox]:checked + .form-switch-slider, .form-switch:has(.form-switch-slider) input[type=checkbox]:checked + .switch-slider, .form-switch:has(.form-switch-slider) input[type=checkbox]:checked + .slider, .form-switch:has(.form-switch-slider) input[type=checkbox]:checked + .form-switch-slider, .form-check.form-switch:has(.switch-slider) input[type=checkbox]:checked + .switch-slider, .form-check.form-switch:has(.switch-slider) input[type=checkbox]:checked + .slider, .form-check.form-switch:has(.switch-slider) input[type=checkbox]:checked + .form-switch-slider, .form-check.form-switch:has(.slider) input[type=checkbox]:checked + .switch-slider, .form-check.form-switch:has(.slider) input[type=checkbox]:checked + .slider, .form-check.form-switch:has(.slider) input[type=checkbox]:checked + .form-switch-slider, .form-check.form-switch:has(.form-switch-slider) input[type=checkbox]:checked + .switch-slider, .form-check.form-switch:has(.form-switch-slider) input[type=checkbox]:checked + .slider, .form-check.form-switch:has(.form-switch-slider) input[type=checkbox]:checked + .form-switch-slider {
  background: var(--success);
  border-color: var(--success);
}
.switch:has(.switch-slider) input[type=checkbox]:checked + .switch-slider::before, .switch:has(.switch-slider) input[type=checkbox]:checked + .slider::before, .switch:has(.switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .switch:has(.slider) input[type=checkbox]:checked + .switch-slider::before, .switch:has(.slider) input[type=checkbox]:checked + .slider::before, .switch:has(.slider) input[type=checkbox]:checked + .form-switch-slider::before, .switch:has(.form-switch-slider) input[type=checkbox]:checked + .switch-slider::before, .switch:has(.form-switch-slider) input[type=checkbox]:checked + .slider::before, .switch:has(.form-switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-switch:has(.switch-slider) input[type=checkbox]:checked + .switch-slider::before, .form-switch:has(.switch-slider) input[type=checkbox]:checked + .slider::before, .form-switch:has(.switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-switch:has(.slider) input[type=checkbox]:checked + .switch-slider::before, .form-switch:has(.slider) input[type=checkbox]:checked + .slider::before, .form-switch:has(.slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-switch:has(.form-switch-slider) input[type=checkbox]:checked + .switch-slider::before, .form-switch:has(.form-switch-slider) input[type=checkbox]:checked + .slider::before, .form-switch:has(.form-switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-check.form-switch:has(.switch-slider) input[type=checkbox]:checked + .switch-slider::before, .form-check.form-switch:has(.switch-slider) input[type=checkbox]:checked + .slider::before, .form-check.form-switch:has(.switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-check.form-switch:has(.slider) input[type=checkbox]:checked + .switch-slider::before, .form-check.form-switch:has(.slider) input[type=checkbox]:checked + .slider::before, .form-check.form-switch:has(.slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-check.form-switch:has(.form-switch-slider) input[type=checkbox]:checked + .switch-slider::before, .form-check.form-switch:has(.form-switch-slider) input[type=checkbox]:checked + .slider::before, .form-check.form-switch:has(.form-switch-slider) input[type=checkbox]:checked + .form-switch-slider::before {
  transform: translateX(18px);
}
[dir=rtl] .switch:has(.switch-slider) input[type=checkbox]:checked + .switch-slider::before, [dir=rtl] .switch:has(.switch-slider) input[type=checkbox]:checked + .slider::before, [dir=rtl] .switch:has(.switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .switch:has(.switch-slider):dir(rtl) input[type=checkbox]:checked + .switch-slider::before, .switch:has(.switch-slider):dir(rtl) input[type=checkbox]:checked + .slider::before, .switch:has(.switch-slider):dir(rtl) input[type=checkbox]:checked + .form-switch-slider::before, [dir=rtl] .switch:has(.slider) input[type=checkbox]:checked + .switch-slider::before, [dir=rtl] .switch:has(.slider) input[type=checkbox]:checked + .slider::before, [dir=rtl] .switch:has(.slider) input[type=checkbox]:checked + .form-switch-slider::before, .switch:has(.slider):dir(rtl) input[type=checkbox]:checked + .switch-slider::before, .switch:has(.slider):dir(rtl) input[type=checkbox]:checked + .slider::before, .switch:has(.slider):dir(rtl) input[type=checkbox]:checked + .form-switch-slider::before, [dir=rtl] .switch:has(.form-switch-slider) input[type=checkbox]:checked + .switch-slider::before, [dir=rtl] .switch:has(.form-switch-slider) input[type=checkbox]:checked + .slider::before, [dir=rtl] .switch:has(.form-switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .switch:has(.form-switch-slider):dir(rtl) input[type=checkbox]:checked + .switch-slider::before, .switch:has(.form-switch-slider):dir(rtl) input[type=checkbox]:checked + .slider::before, .switch:has(.form-switch-slider):dir(rtl) input[type=checkbox]:checked + .form-switch-slider::before, [dir=rtl] .form-switch:has(.switch-slider) input[type=checkbox]:checked + .switch-slider::before, [dir=rtl] .form-switch:has(.switch-slider) input[type=checkbox]:checked + .slider::before, [dir=rtl] .form-switch:has(.switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-switch:has(.switch-slider):dir(rtl) input[type=checkbox]:checked + .switch-slider::before, .form-switch:has(.switch-slider):dir(rtl) input[type=checkbox]:checked + .slider::before, .form-switch:has(.switch-slider):dir(rtl) input[type=checkbox]:checked + .form-switch-slider::before, [dir=rtl] .form-switch:has(.slider) input[type=checkbox]:checked + .switch-slider::before, [dir=rtl] .form-switch:has(.slider) input[type=checkbox]:checked + .slider::before, [dir=rtl] .form-switch:has(.slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-switch:has(.slider):dir(rtl) input[type=checkbox]:checked + .switch-slider::before, .form-switch:has(.slider):dir(rtl) input[type=checkbox]:checked + .slider::before, .form-switch:has(.slider):dir(rtl) input[type=checkbox]:checked + .form-switch-slider::before, [dir=rtl] .form-switch:has(.form-switch-slider) input[type=checkbox]:checked + .switch-slider::before, [dir=rtl] .form-switch:has(.form-switch-slider) input[type=checkbox]:checked + .slider::before, [dir=rtl] .form-switch:has(.form-switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-switch:has(.form-switch-slider):dir(rtl) input[type=checkbox]:checked + .switch-slider::before, .form-switch:has(.form-switch-slider):dir(rtl) input[type=checkbox]:checked + .slider::before, .form-switch:has(.form-switch-slider):dir(rtl) input[type=checkbox]:checked + .form-switch-slider::before, [dir=rtl] .form-check.form-switch:has(.switch-slider) input[type=checkbox]:checked + .switch-slider::before, [dir=rtl] .form-check.form-switch:has(.switch-slider) input[type=checkbox]:checked + .slider::before, [dir=rtl] .form-check.form-switch:has(.switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-check.form-switch:has(.switch-slider):dir(rtl) input[type=checkbox]:checked + .switch-slider::before, .form-check.form-switch:has(.switch-slider):dir(rtl) input[type=checkbox]:checked + .slider::before, .form-check.form-switch:has(.switch-slider):dir(rtl) input[type=checkbox]:checked + .form-switch-slider::before, [dir=rtl] .form-check.form-switch:has(.slider) input[type=checkbox]:checked + .switch-slider::before, [dir=rtl] .form-check.form-switch:has(.slider) input[type=checkbox]:checked + .slider::before, [dir=rtl] .form-check.form-switch:has(.slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-check.form-switch:has(.slider):dir(rtl) input[type=checkbox]:checked + .switch-slider::before, .form-check.form-switch:has(.slider):dir(rtl) input[type=checkbox]:checked + .slider::before, .form-check.form-switch:has(.slider):dir(rtl) input[type=checkbox]:checked + .form-switch-slider::before, [dir=rtl] .form-check.form-switch:has(.form-switch-slider) input[type=checkbox]:checked + .switch-slider::before, [dir=rtl] .form-check.form-switch:has(.form-switch-slider) input[type=checkbox]:checked + .slider::before, [dir=rtl] .form-check.form-switch:has(.form-switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-check.form-switch:has(.form-switch-slider):dir(rtl) input[type=checkbox]:checked + .switch-slider::before, .form-check.form-switch:has(.form-switch-slider):dir(rtl) input[type=checkbox]:checked + .slider::before, .form-check.form-switch:has(.form-switch-slider):dir(rtl) input[type=checkbox]:checked + .form-switch-slider::before {
  transform: translateX(-18px);
}
.switch--sm, .form-switch--sm, .form-check.form-switch--sm {
  font-size: var(--text-2xs, 0.75rem);
  gap: 6px;
}
.switch--sm input[type=checkbox], .switch--sm .form-check-input, .form-switch--sm input[type=checkbox], .form-switch--sm .form-check-input, .form-check.form-switch--sm input[type=checkbox], .form-check.form-switch--sm .form-check-input {
  width: 32px !important;
  height: 18px !important;
}
.switch--sm input[type=checkbox]::after, .switch--sm .form-check-input::after, .form-switch--sm input[type=checkbox]::after, .form-switch--sm .form-check-input::after, .form-check.form-switch--sm input[type=checkbox]::after, .form-check.form-switch--sm .form-check-input::after {
  top: 2px !important;
  inset-inline-start: 2px !important;
  width: 12px !important;
  height: 12px !important;
}
.switch--sm input[type=checkbox]:checked::after, .switch--sm .form-check-input:checked::after, .form-switch--sm input[type=checkbox]:checked::after, .form-switch--sm .form-check-input:checked::after, .form-check.form-switch--sm input[type=checkbox]:checked::after, .form-check.form-switch--sm .form-check-input:checked::after {
  transform: translateX(14px) !important;
}
[dir=rtl] .switch--sm input[type=checkbox]:checked::after, [dir=rtl] .switch--sm .form-check-input:checked::after, .switch--sm:dir(rtl) input[type=checkbox]:checked::after, .switch--sm:dir(rtl) .form-check-input:checked::after, [dir=rtl] .form-switch--sm input[type=checkbox]:checked::after, [dir=rtl] .form-switch--sm .form-check-input:checked::after, .form-switch--sm:dir(rtl) input[type=checkbox]:checked::after, .form-switch--sm:dir(rtl) .form-check-input:checked::after, [dir=rtl] .form-check.form-switch--sm input[type=checkbox]:checked::after, [dir=rtl] .form-check.form-switch--sm .form-check-input:checked::after, .form-check.form-switch--sm:dir(rtl) input[type=checkbox]:checked::after, .form-check.form-switch--sm:dir(rtl) .form-check-input:checked::after {
  transform: translateX(-14px) !important;
}
.switch--sm:has(.switch-slider), .switch--sm:has(.slider), .switch--sm:has(.form-switch-slider), .form-switch--sm:has(.switch-slider), .form-switch--sm:has(.slider), .form-switch--sm:has(.form-switch-slider), .form-check.form-switch--sm:has(.switch-slider), .form-check.form-switch--sm:has(.slider), .form-check.form-switch--sm:has(.form-switch-slider) {
  width: 32px;
  height: 18px;
}
.switch--sm:has(.switch-slider) .switch-slider::before,
.switch--sm:has(.switch-slider) .slider::before,
.switch--sm:has(.switch-slider) .form-switch-slider::before, .switch--sm:has(.slider) .switch-slider::before,
.switch--sm:has(.slider) .slider::before,
.switch--sm:has(.slider) .form-switch-slider::before, .switch--sm:has(.form-switch-slider) .switch-slider::before,
.switch--sm:has(.form-switch-slider) .slider::before,
.switch--sm:has(.form-switch-slider) .form-switch-slider::before, .form-switch--sm:has(.switch-slider) .switch-slider::before,
.form-switch--sm:has(.switch-slider) .slider::before,
.form-switch--sm:has(.switch-slider) .form-switch-slider::before, .form-switch--sm:has(.slider) .switch-slider::before,
.form-switch--sm:has(.slider) .slider::before,
.form-switch--sm:has(.slider) .form-switch-slider::before, .form-switch--sm:has(.form-switch-slider) .switch-slider::before,
.form-switch--sm:has(.form-switch-slider) .slider::before,
.form-switch--sm:has(.form-switch-slider) .form-switch-slider::before, .form-check.form-switch--sm:has(.switch-slider) .switch-slider::before,
.form-check.form-switch--sm:has(.switch-slider) .slider::before,
.form-check.form-switch--sm:has(.switch-slider) .form-switch-slider::before, .form-check.form-switch--sm:has(.slider) .switch-slider::before,
.form-check.form-switch--sm:has(.slider) .slider::before,
.form-check.form-switch--sm:has(.slider) .form-switch-slider::before, .form-check.form-switch--sm:has(.form-switch-slider) .switch-slider::before,
.form-check.form-switch--sm:has(.form-switch-slider) .slider::before,
.form-check.form-switch--sm:has(.form-switch-slider) .form-switch-slider::before {
  top: 2px;
  inset-inline-start: 2px;
  width: 12px;
  height: 12px;
}
.switch--sm:has(.switch-slider) input[type=checkbox]:checked + .switch-slider::before,
.switch--sm:has(.switch-slider) input[type=checkbox]:checked + .slider::before,
.switch--sm:has(.switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .switch--sm:has(.slider) input[type=checkbox]:checked + .switch-slider::before,
.switch--sm:has(.slider) input[type=checkbox]:checked + .slider::before,
.switch--sm:has(.slider) input[type=checkbox]:checked + .form-switch-slider::before, .switch--sm:has(.form-switch-slider) input[type=checkbox]:checked + .switch-slider::before,
.switch--sm:has(.form-switch-slider) input[type=checkbox]:checked + .slider::before,
.switch--sm:has(.form-switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-switch--sm:has(.switch-slider) input[type=checkbox]:checked + .switch-slider::before,
.form-switch--sm:has(.switch-slider) input[type=checkbox]:checked + .slider::before,
.form-switch--sm:has(.switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-switch--sm:has(.slider) input[type=checkbox]:checked + .switch-slider::before,
.form-switch--sm:has(.slider) input[type=checkbox]:checked + .slider::before,
.form-switch--sm:has(.slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-switch--sm:has(.form-switch-slider) input[type=checkbox]:checked + .switch-slider::before,
.form-switch--sm:has(.form-switch-slider) input[type=checkbox]:checked + .slider::before,
.form-switch--sm:has(.form-switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-check.form-switch--sm:has(.switch-slider) input[type=checkbox]:checked + .switch-slider::before,
.form-check.form-switch--sm:has(.switch-slider) input[type=checkbox]:checked + .slider::before,
.form-check.form-switch--sm:has(.switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-check.form-switch--sm:has(.slider) input[type=checkbox]:checked + .switch-slider::before,
.form-check.form-switch--sm:has(.slider) input[type=checkbox]:checked + .slider::before,
.form-check.form-switch--sm:has(.slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-check.form-switch--sm:has(.form-switch-slider) input[type=checkbox]:checked + .switch-slider::before,
.form-check.form-switch--sm:has(.form-switch-slider) input[type=checkbox]:checked + .slider::before,
.form-check.form-switch--sm:has(.form-switch-slider) input[type=checkbox]:checked + .form-switch-slider::before {
  transform: translateX(14px);
}
[dir=rtl] .switch--sm:has(.switch-slider) input[type=checkbox]:checked + .switch-slider::before, [dir=rtl] .switch--sm:has(.switch-slider) input[type=checkbox]:checked + .slider::before, [dir=rtl] .switch--sm:has(.switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .switch--sm:has(.switch-slider):dir(rtl) input[type=checkbox]:checked + .switch-slider::before, .switch--sm:has(.switch-slider):dir(rtl) input[type=checkbox]:checked + .slider::before, .switch--sm:has(.switch-slider):dir(rtl) input[type=checkbox]:checked + .form-switch-slider::before, [dir=rtl] .switch--sm:has(.slider) input[type=checkbox]:checked + .switch-slider::before, [dir=rtl] .switch--sm:has(.slider) input[type=checkbox]:checked + .slider::before, [dir=rtl] .switch--sm:has(.slider) input[type=checkbox]:checked + .form-switch-slider::before, .switch--sm:has(.slider):dir(rtl) input[type=checkbox]:checked + .switch-slider::before, .switch--sm:has(.slider):dir(rtl) input[type=checkbox]:checked + .slider::before, .switch--sm:has(.slider):dir(rtl) input[type=checkbox]:checked + .form-switch-slider::before, [dir=rtl] .switch--sm:has(.form-switch-slider) input[type=checkbox]:checked + .switch-slider::before, [dir=rtl] .switch--sm:has(.form-switch-slider) input[type=checkbox]:checked + .slider::before, [dir=rtl] .switch--sm:has(.form-switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .switch--sm:has(.form-switch-slider):dir(rtl) input[type=checkbox]:checked + .switch-slider::before, .switch--sm:has(.form-switch-slider):dir(rtl) input[type=checkbox]:checked + .slider::before, .switch--sm:has(.form-switch-slider):dir(rtl) input[type=checkbox]:checked + .form-switch-slider::before, [dir=rtl] .form-switch--sm:has(.switch-slider) input[type=checkbox]:checked + .switch-slider::before, [dir=rtl] .form-switch--sm:has(.switch-slider) input[type=checkbox]:checked + .slider::before, [dir=rtl] .form-switch--sm:has(.switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-switch--sm:has(.switch-slider):dir(rtl) input[type=checkbox]:checked + .switch-slider::before, .form-switch--sm:has(.switch-slider):dir(rtl) input[type=checkbox]:checked + .slider::before, .form-switch--sm:has(.switch-slider):dir(rtl) input[type=checkbox]:checked + .form-switch-slider::before, [dir=rtl] .form-switch--sm:has(.slider) input[type=checkbox]:checked + .switch-slider::before, [dir=rtl] .form-switch--sm:has(.slider) input[type=checkbox]:checked + .slider::before, [dir=rtl] .form-switch--sm:has(.slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-switch--sm:has(.slider):dir(rtl) input[type=checkbox]:checked + .switch-slider::before, .form-switch--sm:has(.slider):dir(rtl) input[type=checkbox]:checked + .slider::before, .form-switch--sm:has(.slider):dir(rtl) input[type=checkbox]:checked + .form-switch-slider::before, [dir=rtl] .form-switch--sm:has(.form-switch-slider) input[type=checkbox]:checked + .switch-slider::before, [dir=rtl] .form-switch--sm:has(.form-switch-slider) input[type=checkbox]:checked + .slider::before, [dir=rtl] .form-switch--sm:has(.form-switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-switch--sm:has(.form-switch-slider):dir(rtl) input[type=checkbox]:checked + .switch-slider::before, .form-switch--sm:has(.form-switch-slider):dir(rtl) input[type=checkbox]:checked + .slider::before, .form-switch--sm:has(.form-switch-slider):dir(rtl) input[type=checkbox]:checked + .form-switch-slider::before, [dir=rtl] .form-check.form-switch--sm:has(.switch-slider) input[type=checkbox]:checked + .switch-slider::before, [dir=rtl] .form-check.form-switch--sm:has(.switch-slider) input[type=checkbox]:checked + .slider::before, [dir=rtl] .form-check.form-switch--sm:has(.switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-check.form-switch--sm:has(.switch-slider):dir(rtl) input[type=checkbox]:checked + .switch-slider::before, .form-check.form-switch--sm:has(.switch-slider):dir(rtl) input[type=checkbox]:checked + .slider::before, .form-check.form-switch--sm:has(.switch-slider):dir(rtl) input[type=checkbox]:checked + .form-switch-slider::before, [dir=rtl] .form-check.form-switch--sm:has(.slider) input[type=checkbox]:checked + .switch-slider::before, [dir=rtl] .form-check.form-switch--sm:has(.slider) input[type=checkbox]:checked + .slider::before, [dir=rtl] .form-check.form-switch--sm:has(.slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-check.form-switch--sm:has(.slider):dir(rtl) input[type=checkbox]:checked + .switch-slider::before, .form-check.form-switch--sm:has(.slider):dir(rtl) input[type=checkbox]:checked + .slider::before, .form-check.form-switch--sm:has(.slider):dir(rtl) input[type=checkbox]:checked + .form-switch-slider::before, [dir=rtl] .form-check.form-switch--sm:has(.form-switch-slider) input[type=checkbox]:checked + .switch-slider::before, [dir=rtl] .form-check.form-switch--sm:has(.form-switch-slider) input[type=checkbox]:checked + .slider::before, [dir=rtl] .form-check.form-switch--sm:has(.form-switch-slider) input[type=checkbox]:checked + .form-switch-slider::before, .form-check.form-switch--sm:has(.form-switch-slider):dir(rtl) input[type=checkbox]:checked + .switch-slider::before, .form-check.form-switch--sm:has(.form-switch-slider):dir(rtl) input[type=checkbox]:checked + .slider::before, .form-check.form-switch--sm:has(.form-switch-slider):dir(rtl) input[type=checkbox]:checked + .form-switch-slider::before {
  transform: translateX(-14px);
}
.switch--lg, .form-switch--lg, .form-check.form-switch--lg {
  font-size: var(--text-base, 1rem);
  gap: 10px;
}
.switch--lg input[type=checkbox], .switch--lg .form-check-input, .form-switch--lg input[type=checkbox], .form-switch--lg .form-check-input, .form-check.form-switch--lg input[type=checkbox], .form-check.form-switch--lg .form-check-input {
  width: 50px !important;
  height: 28px !important;
}
.switch--lg input[type=checkbox]::after, .switch--lg .form-check-input::after, .form-switch--lg input[type=checkbox]::after, .form-switch--lg .form-check-input::after, .form-check.form-switch--lg input[type=checkbox]::after, .form-check.form-switch--lg .form-check-input::after {
  top: 3px !important;
  inset-inline-start: 3px !important;
  width: 20px !important;
  height: 20px !important;
}
.switch--lg input[type=checkbox]:checked::after, .switch--lg .form-check-input:checked::after, .form-switch--lg input[type=checkbox]:checked::after, .form-switch--lg .form-check-input:checked::after, .form-check.form-switch--lg input[type=checkbox]:checked::after, .form-check.form-switch--lg .form-check-input:checked::after {
  transform: translateX(22px) !important;
}
[dir=rtl] .switch--lg input[type=checkbox]:checked::after, [dir=rtl] .switch--lg .form-check-input:checked::after, .switch--lg:dir(rtl) input[type=checkbox]:checked::after, .switch--lg:dir(rtl) .form-check-input:checked::after, [dir=rtl] .form-switch--lg input[type=checkbox]:checked::after, [dir=rtl] .form-switch--lg .form-check-input:checked::after, .form-switch--lg:dir(rtl) input[type=checkbox]:checked::after, .form-switch--lg:dir(rtl) .form-check-input:checked::after, [dir=rtl] .form-check.form-switch--lg input[type=checkbox]:checked::after, [dir=rtl] .form-check.form-switch--lg .form-check-input:checked::after, .form-check.form-switch--lg:dir(rtl) input[type=checkbox]:checked::after, .form-check.form-switch--lg:dir(rtl) .form-check-input:checked::after {
  transform: translateX(-22px) !important;
}
.switch--info input[type=checkbox]:checked,
.switch--info .form-check-input:checked, .form-switch--info input[type=checkbox]:checked,
.form-switch--info .form-check-input:checked, .form-check.form-switch--info input[type=checkbox]:checked,
.form-check.form-switch--info .form-check-input:checked {
  background: var(--info) !important;
  border-color: var(--info) !important;
}
.switch--info:has(.switch-slider) input[type=checkbox]:checked + .switch-slider, .switch--info:has(.slider) input[type=checkbox]:checked + .slider, .switch--info:has(.form-switch-slider) input[type=checkbox]:checked + .form-switch-slider, .form-switch--info:has(.switch-slider) input[type=checkbox]:checked + .switch-slider, .form-switch--info:has(.slider) input[type=checkbox]:checked + .slider, .form-switch--info:has(.form-switch-slider) input[type=checkbox]:checked + .form-switch-slider, .form-check.form-switch--info:has(.switch-slider) input[type=checkbox]:checked + .switch-slider, .form-check.form-switch--info:has(.slider) input[type=checkbox]:checked + .slider, .form-check.form-switch--info:has(.form-switch-slider) input[type=checkbox]:checked + .form-switch-slider {
  background: var(--info);
  border-color: var(--info);
}
.switch--accent input[type=checkbox]:checked,
.switch--accent .form-check-input:checked, .form-switch--accent input[type=checkbox]:checked,
.form-switch--accent .form-check-input:checked, .form-check.form-switch--accent input[type=checkbox]:checked,
.form-check.form-switch--accent .form-check-input:checked {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}
.switch--accent:has(.switch-slider) input[type=checkbox]:checked + .switch-slider, .switch--accent:has(.slider) input[type=checkbox]:checked + .slider, .switch--accent:has(.form-switch-slider) input[type=checkbox]:checked + .form-switch-slider, .form-switch--accent:has(.switch-slider) input[type=checkbox]:checked + .switch-slider, .form-switch--accent:has(.slider) input[type=checkbox]:checked + .slider, .form-switch--accent:has(.form-switch-slider) input[type=checkbox]:checked + .form-switch-slider, .form-check.form-switch--accent:has(.switch-slider) input[type=checkbox]:checked + .switch-slider, .form-check.form-switch--accent:has(.slider) input[type=checkbox]:checked + .slider, .form-check.form-switch--accent:has(.form-switch-slider) input[type=checkbox]:checked + .form-switch-slider {
  background: var(--accent);
  border-color: var(--accent);
}
.switch--warning input[type=checkbox]:checked,
.switch--warning .form-check-input:checked, .form-switch--warning input[type=checkbox]:checked,
.form-switch--warning .form-check-input:checked, .form-check.form-switch--warning input[type=checkbox]:checked,
.form-check.form-switch--warning .form-check-input:checked {
  background: var(--warning) !important;
  border-color: var(--warning) !important;
}
.switch--danger input[type=checkbox]:checked,
.switch--danger .form-check-input:checked, .form-switch--danger input[type=checkbox]:checked,
.form-switch--danger .form-check-input:checked, .form-check.form-switch--danger input[type=checkbox]:checked,
.form-check.form-switch--danger .form-check-input:checked {
  background: var(--danger) !important;
  border-color: var(--danger) !important;
}

.status-toggle-capsule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-inline: 12px 6px;
  padding-block: 5px;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full, 9999px);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.status-toggle-capsule .status-capsule-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
  transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.status-toggle-capsule .status-capsule-text {
  font-size: var(--text-xs, 0.78rem);
  font-weight: 700;
  line-height: 1;
  color: var(--text-muted);
  transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.status-toggle-capsule .switch {
  margin: 0;
  flex-shrink: 0;
}
.status-toggle-capsule:hover {
  background: var(--surface3);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}
.status-toggle-capsule.is-active {
  background: var(--success-subtle);
  border-color: var(--success-border);
}
.status-toggle-capsule.is-active .status-capsule-dot {
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}
.status-toggle-capsule.is-active .status-capsule-text {
  color: var(--success);
}
.status-toggle-capsule.is-active:hover {
  border-color: var(--success);
}

.form-check:not(.form-switch), .checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2, 8px);
  cursor: pointer;
  user-select: none;
  font-size: var(--text-sm, 0.85rem);
  color: var(--text-primary);
  margin-bottom: 0;
}
.form-check:not(.form-switch) input[type=checkbox], .form-check:not(.form-switch) input[type=radio], .form-check:not(.form-switch) .form-check-input, .checkbox-label input[type=checkbox], .checkbox-label input[type=radio], .checkbox-label .form-check-input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-xs, 4px);
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  transition: var(--transition-fast);
  margin: 0;
  flex-shrink: 0;
}
.form-check:not(.form-switch) input[type=checkbox]:hover:not(:disabled), .form-check:not(.form-switch) input[type=radio]:hover:not(:disabled), .form-check:not(.form-switch) .form-check-input:hover:not(:disabled), .checkbox-label input[type=checkbox]:hover:not(:disabled), .checkbox-label input[type=radio]:hover:not(:disabled), .checkbox-label .form-check-input:hover:not(:disabled) {
  border-color: var(--border-strong);
}
.form-check:not(.form-switch) input[type=checkbox]:checked, .form-check:not(.form-switch) input[type=radio]:checked, .form-check:not(.form-switch) .form-check-input:checked, .checkbox-label input[type=checkbox]:checked, .checkbox-label input[type=radio]:checked, .checkbox-label .form-check-input:checked {
  background: var(--text-primary);
  border-color: var(--text-primary);
}
.form-check:not(.form-switch) input[type=checkbox]:checked::before, .form-check:not(.form-switch) input[type=radio]:checked::before, .form-check:not(.form-switch) .form-check-input:checked::before, .checkbox-label input[type=checkbox]:checked::before, .checkbox-label input[type=radio]:checked::before, .checkbox-label .form-check-input:checked::before {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--text-inverse);
  border-bottom: 2px solid var(--text-inverse);
  transform: rotate(-45deg) translate(1px, -1px);
}
.form-check:not(.form-switch) input[type=checkbox]:disabled, .form-check:not(.form-switch) input[type=radio]:disabled, .form-check:not(.form-switch) .form-check-input:disabled, .checkbox-label input[type=checkbox]:disabled, .checkbox-label input[type=radio]:disabled, .checkbox-label .form-check-input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.form-check:not(.form-switch) input[type=radio], .checkbox-label input[type=radio] {
  border-radius: 50%;
}
.form-check:not(.form-switch) input[type=radio]:checked::before, .checkbox-label input[type=radio]:checked::before {
  width: 8px;
  height: 8px;
  background: var(--text-inverse);
  border: none;
  border-radius: 50%;
  transform: none;
}

.form-check-input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-xs, 4px);
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  transition: var(--transition-fast, 0.15s ease);
  margin: 0;
  flex-shrink: 0;
  vertical-align: middle;
}
.form-check-input:hover:not(:disabled) {
  border-color: var(--border-strong);
}
.form-check-input:checked {
  background: var(--text-primary);
  border-color: var(--text-primary);
}
.form-check-input:checked::before {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--text-inverse);
  border-bottom: 2px solid var(--text-inverse);
  transform: rotate(-45deg) translate(1px, -1px);
}
.form-check-input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.is-invalid, .has-error .input, .has-error .form-control {
  border-color: var(--danger) !important;
}
.is-invalid:focus, .has-error .input:focus, .has-error .form-control:focus {
  box-shadow: 0 0 0 3px var(--danger-subtle) !important;
}

.is-valid {
  border-color: var(--success) !important;
}

.invalid-feedback, .form-error {
  font-size: var(--text-2xs, 0.74rem);
  color: var(--danger);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-section {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg, 14px);
  padding: var(--space-5, 20px);
  margin-top: var(--space-4, 18px);
  margin-bottom: var(--space-5, 22px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base, all 0.2s ease);
}
@media (max-width: 576px) {
  .form-section {
    padding: var(--space-4, 16px) var(--space-3, 12px);
    margin-top: var(--space-3, 12px);
    margin-bottom: var(--space-4, 16px);
  }
}
.form-section__header, .form-section .section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3, 12px);
  margin-bottom: var(--space-4, 16px);
  padding-bottom: var(--space-3, 12px);
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
}
@media (max-width: 576px) {
  .form-section__header, .form-section .section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .form-section__header .segmented-toggle, .form-section .section__header .segmented-toggle {
    width: 100%;
    display: flex;
  }
  .form-section__header .segmented-toggle .segmented-toggle__item, .form-section .section__header .segmented-toggle .segmented-toggle__item {
    flex: 1;
    justify-content: center;
  }
}
.form-section__title, .form-section .section__title {
  font-size: var(--text-md, 1rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
}
.form-section__description {
  font-size: var(--text-xs, 0.82rem);
  color: var(--text-muted);
  margin-top: var(--space-1, 4px);
  line-height: 1.4;
}
.form-section__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4, 16px);
}
.form-section--highlight {
  background: var(--surface2);
  border-color: var(--border-medium);
}
.form-section--highlight::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--accent);
}
.form-section--warning {
  background: var(--surface2);
  border-color: var(--border-medium);
}
.form-section--warning::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--warning);
}
.form-section--success {
  background: var(--surface2);
  border-color: var(--border-medium);
}
.form-section--success::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--success);
}
.form-section--info {
  background: var(--surface2);
  border-color: var(--border-medium);
}
.form-section--info::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--info);
}
.form-section--purple {
  background: var(--surface2);
  border-color: var(--border-medium);
}
.form-section--purple::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--purple);
}
.form-section--dashed {
  background: var(--surface2);
  border: 1px dashed var(--border-medium);
}
.form-section--dashed::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--accent);
}

.section__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface2);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}
.section__icon i, .section__icon svg, .section__icon [data-lucide] {
  width: 18px !important;
  height: 18px !important;
  stroke-width: 2.2 !important;
  flex-shrink: 0;
}
.section__icon--accent {
  background: var(--accent-subtle);
  color: var(--accent);
  border-color: var(--accent-glow);
}
.section__icon--warning {
  background: var(--warning-subtle);
  color: var(--warning);
  border-color: var(--warning-border);
}
.section__icon--success {
  background: var(--success-subtle);
  color: var(--success);
  border-color: var(--success-border);
}
.section__icon--info {
  background: var(--info-subtle);
  color: var(--info);
  border-color: var(--info-border);
}
.section__icon--purple {
  background: var(--purple-subtle);
  color: var(--purple);
  border-color: var(--border-medium);
}
.section__icon--teal, .section__icon--cyan {
  background: var(--teal-subtle);
  color: var(--teal);
  border-color: var(--teal-border);
}

.section-divider {
  padding-top: var(--space-4, 16px);
  margin-top: var(--space-4, 16px);
  border-top: 1px solid var(--border-subtle);
}

.choice-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.choice-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full, 9999px);
  font-size: var(--text-xs, 0.8rem);
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-fast, all 0.15s ease);
  user-select: none;
}
.choice-pill:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
  background: var(--surface2);
}
.choice-pill.active {
  color: var(--text-primary);
  background: var(--surface2);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.choice-pill--accent.active {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
  box-shadow: 0 2px 8px var(--accent-glow);
}
.choice-pill--success.active {
  background: var(--success);
  color: var(--text-white);
  border-color: var(--success);
  box-shadow: 0 2px 8px var(--success-border);
}
.choice-pill--warning.active {
  background: var(--warning);
  color: var(--text-white);
  border-color: var(--warning);
  box-shadow: 0 2px 8px var(--warning-border);
}
.choice-pill--info.active {
  background: var(--info);
  color: var(--text-white);
  border-color: var(--info);
  box-shadow: 0 2px 8px var(--info-border);
}
.choice-pill--sm {
  padding: 4px 10px;
  font-size: var(--text-2xs, 0.72rem);
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-sm, 6px);
  font-size: var(--text-2xs, 0.75rem);
  font-family: var(--font-mono, monospace);
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-fast, all 0.15s ease);
  user-select: none;
}
.tag-chip:hover {
  border-color: var(--accent);
  background: var(--accent-subtle);
  transform: translateY(-1px);
}
.tag-chip i {
  width: 12px;
  height: 12px;
}

.days-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.day-pill {
  min-width: 44px;
  height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md, 8px);
  font-size: var(--text-xs, 0.8rem);
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-fast, all 0.15s ease);
  user-select: none;
}
.day-pill:hover {
  border-color: var(--border-medium);
  color: var(--text-primary);
}
.day-pill.active {
  background: var(--info);
  color: var(--text-white);
  border-color: var(--info);
  box-shadow: 0 2px 8px var(--info-border);
}

.executive-summary-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 10px);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}
.executive-summary-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs, 0.82rem);
  color: var(--text-muted);
}
.executive-summary-card__val {
  font-weight: 700;
  color: var(--text-primary);
}

.bundle-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 10px);
  padding: 10px 14px;
  transition: var(--transition-fast, all 0.15s ease);
}
.bundle-item-card:hover {
  border-color: var(--border-medium);
}
.bundle-item-card__thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm, 6px);
  object-fit: cover;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}
.bundle-item-card__info {
  flex: 1;
  min-width: 0;
}
.bundle-item-card__name {
  font-size: var(--text-xs, 0.82rem);
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bundle-item-card__price {
  font-size: var(--text-2xs, 0.74rem);
  color: var(--text-muted);
}
.bundle-item-card__stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.custom-input-option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 10px);
  cursor: pointer;
  transition: var(--transition-fast, all 0.15s ease);
}
.custom-input-option-card:hover {
  border-color: var(--border-medium);
  background: var(--surface2);
}
.custom-input-option-card.active {
  border-color: var(--accent);
  background: var(--accent-subtle);
}

.input-w-xs {
  width: 72px !important;
}

.input-w-sm {
  width: 110px !important;
}

.max-h-240 {
  max-height: 240px;
  overflow-y: auto;
}

.bundle-tier {
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm, 8px);
  padding: var(--space-4, 16px);
  margin-bottom: var(--space-3, 12px);
  transition: var(--transition-fast);
}
.bundle-tier:hover {
  border-color: var(--border-medium);
}
.bundle-tier--recommended {
  border-color: var(--border-medium) !important;
  background: var(--surface3, var(--surface)) !important;
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--border-strong) !important;
  position: relative;
  overflow: hidden;
}
.bundle-tier--recommended::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--purple);
  border-radius: 4px 4px 0 0;
}
.bundle-tier__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2, 8px);
  margin-bottom: var(--space-3, 12px);
}
.bundle-tier__title {
  font-size: var(--text-sm, 0.88rem);
  font-weight: 700;
  color: var(--text-primary);
}
.bundle-tier__badge {
  font-size: var(--text-2xs, 0.72rem);
  font-weight: 600;
}
.bundle-tier__body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3, 12px);
}
.bundle-tier__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3, 12px);
  padding: var(--space-4, 16px) 0;
  margin-top: var(--space-5, 20px);
  border-top: 1px solid var(--border-subtle);
}
.form-actions--between {
  justify-content: space-between;
}
.form-actions--sticky {
  position: sticky;
  bottom: 0;
  background: var(--bg-card);
  padding: var(--space-4, 16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 10px);
  box-shadow: var(--shadow-md);
  z-index: 100;
}

.segmented-toggle, .composer-status-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--surface2);
  padding: 3px;
  border-radius: var(--radius-md, 10px);
  gap: 3px;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
  box-sizing: border-box;
}
.segmented-toggle__item, .segmented-toggle .status-chip, .composer-status-toggle__item, .composer-status-toggle .status-chip {
  border: 1px solid transparent;
  background: transparent;
  padding: 5px 12px;
  border-radius: var(--radius-sm, 7px);
  font-size: var(--text-xs, 0.78rem);
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  white-space: nowrap;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  box-sizing: border-box;
}
.segmented-toggle__item svg, .segmented-toggle__item [data-lucide], .segmented-toggle__item i, .segmented-toggle .status-chip svg, .segmented-toggle .status-chip [data-lucide], .segmented-toggle .status-chip i, .composer-status-toggle__item svg, .composer-status-toggle__item [data-lucide], .composer-status-toggle__item i, .composer-status-toggle .status-chip svg, .composer-status-toggle .status-chip [data-lucide], .composer-status-toggle .status-chip i {
  width: 14px !important;
  height: 14px !important;
  stroke-width: 2.2 !important;
  flex-shrink: 0;
}
.segmented-toggle__item:hover:not(.active), .segmented-toggle .status-chip:hover:not(.active), .composer-status-toggle__item:hover:not(.active), .composer-status-toggle .status-chip:hover:not(.active) {
  color: var(--text-primary);
  background: var(--surface-hover, var(--surface3));
}
.segmented-toggle__item.active, .segmented-toggle .status-chip.active, .composer-status-toggle__item.active, .composer-status-toggle .status-chip.active {
  background: var(--surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}
.segmented-toggle__item--success.active, .segmented-toggle__item.chip-ready.active, .segmented-toggle .status-chip--success.active, .segmented-toggle .status-chip.chip-ready.active, .composer-status-toggle__item--success.active, .composer-status-toggle__item.chip-ready.active, .composer-status-toggle .status-chip--success.active, .composer-status-toggle .status-chip.chip-ready.active {
  background: var(--success-subtle);
  color: var(--success);
  border-color: var(--success-border);
  box-shadow: 0 2px 8px var(--success-subtle);
}
.segmented-toggle__item--warning.active, .segmented-toggle__item.chip-draft.active, .segmented-toggle .status-chip--warning.active, .segmented-toggle .status-chip.chip-draft.active, .composer-status-toggle__item--warning.active, .composer-status-toggle__item.chip-draft.active, .composer-status-toggle .status-chip--warning.active, .composer-status-toggle .status-chip.chip-draft.active {
  background: var(--warning-subtle);
  color: var(--warning);
  border-color: var(--warning-border);
  box-shadow: 0 2px 8px var(--warning-subtle);
}

.dropzone, .composer-dropzone {
  background: var(--surface2);
  border: 1.5px dashed var(--border-medium);
  border-radius: var(--radius-md, 10px);
  padding: 18px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.dropzone:hover, .dropzone.drag-over, .composer-dropzone:hover, .composer-dropzone.drag-over {
  border-color: var(--accent);
  background: var(--surface3);
}
.dropzone.is-preparing, .composer-dropzone.is-preparing {
  cursor: wait !important;
  background: var(--surface2);
  border-color: var(--border-medium);
}
.dropzone.is-preparing *, .composer-dropzone.is-preparing * {
  cursor: wait !important;
}
.dropzone.is-preparing:hover, .composer-dropzone.is-preparing:hover {
  border-color: var(--border-medium);
  background: var(--surface2);
}
.dropzone.is-error, .composer-dropzone.is-error {
  cursor: default;
  border-color: var(--danger-border);
  background: var(--surface);
}
.dropzone.is-error:hover, .composer-dropzone.is-error:hover {
  border-color: var(--danger-border);
  background: var(--surface);
}
.dropzone .dropzone-state, .composer-dropzone .dropzone-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}
.dropzone .dropzone-ai-loader, .composer-dropzone .dropzone-ai-loader {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.dropzone .dropzone-ai-loader .loader-orbit-ring, .composer-dropzone .dropzone-ai-loader .loader-orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full, 9999px);
  border: 2.5px solid var(--surface3);
  border-top-color: var(--accent);
  border-inline-start-color: var(--accent);
  animation: dropzoneOrbit 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.dropzone .dropzone-ai-loader .loader-pulse-core, .composer-dropzone .dropzone-ai-loader .loader-pulse-core {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: var(--shadow-xs);
  animation: dropzonePulseCore 2s ease-in-out infinite;
}
.dropzone .dropzone-ai-loader .loader-pulse-core i, .dropzone .dropzone-ai-loader .loader-pulse-core svg, .dropzone .dropzone-ai-loader .loader-pulse-core [data-lucide], .composer-dropzone .dropzone-ai-loader .loader-pulse-core i, .composer-dropzone .dropzone-ai-loader .loader-pulse-core svg, .composer-dropzone .dropzone-ai-loader .loader-pulse-core [data-lucide] {
  width: 18px;
  height: 18px;
}
.dropzone .dropzone-progress-badge, .composer-dropzone .dropzone-progress-badge {
  display: inline-flex;
  align-items: center;
  margin-inline-start: 6px;
  padding: 2px 7px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
.dropzone .dropzone-progress-bar, .composer-dropzone .dropzone-progress-bar {
  width: min(280px, 85%);
  height: 4px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  margin-top: 10px;
  overflow: hidden;
  position: relative;
}
.dropzone .dropzone-progress-bar__fill, .composer-dropzone .dropzone-progress-bar__fill {
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-full, 9999px);
  transition: width 0.3s ease;
  box-shadow: 0 0 6px var(--accent-glow);
}
.dropzone__icon--error, .composer-dropzone__icon--error {
  background: var(--danger-subtle) !important;
  color: var(--danger) !important;
}
.dropzone__icon, .dropzone .composer-drop-icon, .composer-dropzone__icon, .composer-dropzone .composer-drop-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.dropzone__title, .dropzone .composer-drop-title, .composer-dropzone__title, .composer-dropzone .composer-drop-title {
  font-weight: 700;
  font-size: var(--text-sm, 0.875rem);
  color: var(--text-primary);
  margin-top: 4px;
}
.dropzone__hint, .composer-dropzone__hint {
  font-size: var(--text-xs, 0.75rem);
  color: var(--text-muted);
  margin-top: 4px;
}

@keyframes dropzoneOrbit {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes dropzonePulseCore {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.82;
  }
}
.media-gallery, .composer-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.media-gallery__item, .media-gallery .composer-gallery-item, .composer-gallery__item, .composer-gallery .composer-gallery-item {
  position: relative;
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--surface2);
}
.media-gallery__item img, .media-gallery .composer-gallery-item img, .composer-gallery__item img, .composer-gallery .composer-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-gallery__item--main, .media-gallery__item.is-main, .media-gallery .composer-gallery-item--main, .media-gallery .composer-gallery-item.is-main, .composer-gallery__item--main, .composer-gallery__item.is-main, .composer-gallery .composer-gallery-item--main, .composer-gallery .composer-gallery-item.is-main {
  box-shadow: 0 0 0 2.5px var(--accent);
}
.media-gallery__item:hover .media-gallery__actions, .media-gallery__item:hover .gallery-item-actions, .media-gallery .composer-gallery-item:hover .media-gallery__actions, .media-gallery .composer-gallery-item:hover .gallery-item-actions, .composer-gallery__item:hover .media-gallery__actions, .composer-gallery__item:hover .gallery-item-actions, .composer-gallery .composer-gallery-item:hover .media-gallery__actions, .composer-gallery .composer-gallery-item:hover .gallery-item-actions {
  opacity: 1;
}
.media-gallery__badge, .media-gallery .gallery-main-badge, .composer-gallery__badge, .composer-gallery .gallery-main-badge {
  position: absolute;
  top: 6px;
  inset-inline-start: 6px;
  background: var(--accent);
  color: var(--text-inverse);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-sm, 4px);
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}
.media-gallery__actions, .media-gallery .gallery-item-actions, .composer-gallery__actions, .composer-gallery .gallery-item-actions {
  position: absolute;
  inset: 0;
  background: var(--overlay-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 3;
}
.media-gallery__btn, .media-gallery .gallery-action-btn, .composer-gallery__btn, .composer-gallery .gallery-action-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm, 4px);
  background: var(--surface);
  border: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.media-gallery__btn:hover, .media-gallery .gallery-action-btn:hover, .composer-gallery__btn:hover, .composer-gallery .gallery-action-btn:hover {
  background: var(--surface2);
  transform: scale(1.05);
}
.media-gallery__btn--danger, .media-gallery__btn.del, .media-gallery .gallery-action-btn--danger, .media-gallery .gallery-action-btn.del, .composer-gallery__btn--danger, .composer-gallery__btn.del, .composer-gallery .gallery-action-btn--danger, .composer-gallery .gallery-action-btn.del {
  color: var(--danger);
}
.media-gallery__add, .media-gallery .composer-add-more-btn, .composer-gallery__add, .composer-gallery .composer-add-more-btn {
  border-radius: var(--radius-md, 8px);
  background: var(--surface2);
  border: 1.5px dashed var(--border-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.78rem;
  aspect-ratio: 1;
  transition: var(--transition-fast);
}
.media-gallery__add:hover, .media-gallery .composer-add-more-btn:hover, .composer-gallery__add:hover, .composer-gallery .composer-add-more-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.price-input-box,
.composer-price-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border-radius: var(--radius-md, 8px);
  padding: 10px 14px;
  border: 1.5px solid var(--border-subtle);
  transition: var(--transition-fast);
}
.price-input-box:focus-within,
.composer-price-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.price-input-box .currency, .price-input-box .composer-currency,
.composer-price-wrap .currency,
.composer-price-wrap .composer-currency {
  font-weight: 800;
  color: var(--text-muted);
  font-size: var(--text-sm, 0.88rem);
  flex-shrink: 0;
}
.price-input-box .input, .price-input-box .composer-input,
.composer-price-wrap .input,
.composer-price-wrap .composer-input {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  font-weight: 700;
  padding: 0;
  height: auto;
}

.discount-badge {
  background: var(--danger);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm, 4px);
  white-space: nowrap;
}

.rich-editor, .composer-editor-wrap {
  background: var(--surface2);
  border-radius: var(--radius-lg, 12px);
  border: 1.5px solid var(--border-subtle);
  overflow: hidden;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
}
.rich-editor:focus-within, .composer-editor-wrap:focus-within {
  border-color: var(--accent);
}
.rich-editor__toolbar, .rich-editor .composer-editor-bar, .composer-editor-wrap__toolbar, .composer-editor-wrap .composer-editor-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface3);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}
.rich-editor__toolbar .editor-tools-group, .rich-editor .composer-editor-bar .editor-tools-group, .composer-editor-wrap__toolbar .editor-tools-group, .composer-editor-wrap .composer-editor-bar .editor-tools-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.rich-editor__toolbar .editor-tools-sep, .rich-editor .composer-editor-bar .editor-tools-sep, .composer-editor-wrap__toolbar .editor-tools-sep, .composer-editor-wrap .composer-editor-bar .editor-tools-sep {
  width: 1px;
  height: 18px;
  background: var(--border-subtle);
  margin-inline: 4px;
}
.rich-editor__toolbar .editor-tools-spacer, .rich-editor .composer-editor-bar .editor-tools-spacer, .composer-editor-wrap__toolbar .editor-tools-spacer, .composer-editor-wrap .composer-editor-bar .editor-tools-spacer {
  flex: 1;
  min-width: 8px;
}
.rich-editor__toolbar .editor-tools-hint, .rich-editor .composer-editor-bar .editor-tools-hint, .composer-editor-wrap__toolbar .editor-tools-hint, .composer-editor-wrap .composer-editor-bar .editor-tools-hint {
  display: inline-flex;
  align-items: center;
}
.rich-editor__toolbar .editor-tools-hint .badge, .rich-editor .composer-editor-bar .editor-tools-hint .badge, .composer-editor-wrap__toolbar .editor-tools-hint .badge, .composer-editor-wrap .composer-editor-bar .editor-tools-hint .badge {
  font-size: var(--text-2xs, 0.7rem);
  font-weight: 700;
  gap: 4px;
}
.rich-editor__toolbar .editor-tools-hint .badge svg, .rich-editor__toolbar .editor-tools-hint .badge [data-lucide], .rich-editor .composer-editor-bar .editor-tools-hint .badge svg, .rich-editor .composer-editor-bar .editor-tools-hint .badge [data-lucide], .composer-editor-wrap__toolbar .editor-tools-hint .badge svg, .composer-editor-wrap__toolbar .editor-tools-hint .badge [data-lucide], .composer-editor-wrap .composer-editor-bar .editor-tools-hint .badge svg, .composer-editor-wrap .composer-editor-bar .editor-tools-hint .badge [data-lucide] {
  width: 12px !important;
  height: 12px !important;
  stroke-width: 2 !important;
}
.rich-editor__toolbar .editor-cmd-btn, .rich-editor .composer-editor-bar .editor-cmd-btn, .composer-editor-wrap__toolbar .editor-cmd-btn, .composer-editor-wrap .composer-editor-bar .editor-cmd-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm, 6px);
  background: var(--surface);
  border: 1px solid transparent;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition-fast);
  user-select: none;
}
.rich-editor__toolbar .editor-cmd-btn svg, .rich-editor__toolbar .editor-cmd-btn [data-lucide], .rich-editor__toolbar .editor-cmd-btn i, .rich-editor .composer-editor-bar .editor-cmd-btn svg, .rich-editor .composer-editor-bar .editor-cmd-btn [data-lucide], .rich-editor .composer-editor-bar .editor-cmd-btn i, .composer-editor-wrap__toolbar .editor-cmd-btn svg, .composer-editor-wrap__toolbar .editor-cmd-btn [data-lucide], .composer-editor-wrap__toolbar .editor-cmd-btn i, .composer-editor-wrap .composer-editor-bar .editor-cmd-btn svg, .composer-editor-wrap .composer-editor-bar .editor-cmd-btn [data-lucide], .composer-editor-wrap .composer-editor-bar .editor-cmd-btn i {
  width: 14px !important;
  height: 14px !important;
  stroke-width: 2.2 !important;
  flex-shrink: 0;
}
.rich-editor__toolbar .editor-cmd-btn b, .rich-editor__toolbar .editor-cmd-btn strong, .rich-editor .composer-editor-bar .editor-cmd-btn b, .rich-editor .composer-editor-bar .editor-cmd-btn strong, .composer-editor-wrap__toolbar .editor-cmd-btn b, .composer-editor-wrap__toolbar .editor-cmd-btn strong, .composer-editor-wrap .composer-editor-bar .editor-cmd-btn b, .composer-editor-wrap .composer-editor-bar .editor-cmd-btn strong {
  font-weight: 900;
}
.rich-editor__toolbar .editor-cmd-btn i, .rich-editor__toolbar .editor-cmd-btn em, .rich-editor .composer-editor-bar .editor-cmd-btn i, .rich-editor .composer-editor-bar .editor-cmd-btn em, .composer-editor-wrap__toolbar .editor-cmd-btn i, .composer-editor-wrap__toolbar .editor-cmd-btn em, .composer-editor-wrap .composer-editor-bar .editor-cmd-btn i, .composer-editor-wrap .composer-editor-bar .editor-cmd-btn em {
  font-style: italic;
}
.rich-editor__toolbar .editor-cmd-btn del, .rich-editor__toolbar .editor-cmd-btn .text-strike, .rich-editor .composer-editor-bar .editor-cmd-btn del, .rich-editor .composer-editor-bar .editor-cmd-btn .text-strike, .composer-editor-wrap__toolbar .editor-cmd-btn del, .composer-editor-wrap__toolbar .editor-cmd-btn .text-strike, .composer-editor-wrap .composer-editor-bar .editor-cmd-btn del, .composer-editor-wrap .composer-editor-bar .editor-cmd-btn .text-strike {
  text-decoration: line-through;
}
.rich-editor__toolbar .editor-cmd-btn:hover, .rich-editor .composer-editor-bar .editor-cmd-btn:hover, .composer-editor-wrap__toolbar .editor-cmd-btn:hover, .composer-editor-wrap .composer-editor-bar .editor-cmd-btn:hover {
  background: var(--surface2);
  color: var(--accent);
  border-color: var(--border-subtle);
}
.rich-editor__toolbar .editor-cmd-btn:active, .rich-editor .composer-editor-bar .editor-cmd-btn:active, .composer-editor-wrap__toolbar .editor-cmd-btn:active, .composer-editor-wrap .composer-editor-bar .editor-cmd-btn:active {
  transform: scale(0.96);
}
.rich-editor .composer-editor-write-box, .composer-editor-wrap .composer-editor-write-box {
  position: relative;
  width: 100%;
  background: transparent;
}
.rich-editor .composer-editor-textarea, .composer-editor-wrap .composer-editor-textarea {
  width: 100%;
  min-height: 140px;
  padding: 14px 16px;
  background: transparent;
  border: none;
  outline: none;
  resize: vertical;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
  line-height: 1.65;
  box-sizing: border-box;
}
.rich-editor .composer-editor-textarea::placeholder, .composer-editor-wrap .composer-editor-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}
.rich-editor .composer-editor-preview, .composer-editor-wrap .composer-editor-preview {
  min-height: 140px;
  padding: 14px 18px;
  background: var(--surface);
  box-sizing: border-box;
  overflow-y: auto;
  max-height: 380px;
}
.rich-editor .composer-editor-preview .md-preview-empty, .composer-editor-wrap .composer-editor-preview .md-preview-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 120px;
  color: var(--text-muted);
  font-size: var(--text-xs, 0.8rem);
}
.rich-editor .composer-editor-preview .md-preview-empty svg, .rich-editor .composer-editor-preview .md-preview-empty [data-lucide], .composer-editor-wrap .composer-editor-preview .md-preview-empty svg, .composer-editor-wrap .composer-editor-preview .md-preview-empty [data-lucide] {
  width: 24px !important;
  height: 24px !important;
  stroke-width: 1.8 !important;
  opacity: 0.6;
}
.rich-editor__content, .rich-editor .composer-editor-content, .composer-editor-wrap__content, .composer-editor-wrap .composer-editor-content {
  min-height: 110px;
  padding: 14px 18px;
  color: var(--text-primary);
  font-size: 0.92rem;
  line-height: 1.6;
  outline: none;
}
.rich-editor__content:empty:before, .rich-editor .composer-editor-content:empty:before, .composer-editor-wrap__content:empty:before, .composer-editor-wrap .composer-editor-content:empty:before {
  content: attr(data-placeholder);
  color: var(--text-muted);
}
.rich-editor .composer-editor-footer, .composer-editor-wrap .composer-editor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background: var(--surface3);
  border-top: 1px solid var(--border-subtle);
  font-size: var(--text-2xs, 0.72rem);
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}
.rich-editor .composer-editor-footer .editor-quick-syntax, .composer-editor-wrap .composer-editor-footer .editor-quick-syntax {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.rich-editor .composer-editor-footer .quick-syntax-tag, .composer-editor-wrap .composer-editor-footer .quick-syntax-tag {
  padding: 2px 7px;
  border-radius: var(--radius-xs, 4px);
  background: var(--surface);
  color: var(--text-secondary);
  font-family: monospace;
  font-size: 0.7rem;
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
  border: 1px solid var(--border-subtle);
}
.rich-editor .composer-editor-footer .quick-syntax-tag:hover, .composer-editor-wrap .composer-editor-footer .quick-syntax-tag:hover {
  background: var(--surface2);
  color: var(--accent);
  border-color: var(--accent);
}
.rich-editor .composer-editor-footer .editor-stats, .composer-editor-wrap .composer-editor-footer .editor-stats {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.rich-editor .composer-editor-footer .editor-stats .dot-sep, .composer-editor-wrap .composer-editor-footer .editor-stats .dot-sep {
  opacity: 0.4;
}

.md-preview-body {
  color: var(--text-primary);
  font-size: 0.92rem;
  line-height: 1.7;
  word-break: break-word;
}
.md-preview-body h1, .md-preview-body .md-h1 {
  font-size: 1.18rem;
  font-weight: 850;
  color: var(--text-primary);
  margin: 14px 0 8px;
  line-height: 1.35;
}
.md-preview-body h2, .md-preview-body .md-h2 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 12px 0 6px;
  line-height: 1.35;
}
.md-preview-body h3, .md-preview-body .md-h3 {
  font-size: 0.98rem;
  font-weight: 750;
  color: var(--text-primary);
  margin: 10px 0 6px;
  line-height: 1.4;
}
.md-preview-body p, .md-preview-body .md-p {
  margin: 0 0 8px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.md-preview-body p:last-child, .md-preview-body .md-p:last-child {
  margin-bottom: 0;
}
.md-preview-body ul, .md-preview-body .md-ul {
  margin: 8px 0;
  padding-inline-start: 22px;
  list-style-type: disc;
}
.md-preview-body ol, .md-preview-body .md-ol {
  margin: 8px 0;
  padding-inline-start: 22px;
  list-style-type: decimal;
}
.md-preview-body li, .md-preview-body .md-li {
  margin-bottom: 4px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.md-preview-body li:last-child, .md-preview-body .md-li:last-child {
  margin-bottom: 0;
}
.md-preview-body blockquote, .md-preview-body .md-quote {
  margin: 10px 0;
  padding: 8px 14px;
  border-inline-start: 3px solid var(--accent);
  background: var(--surface2);
  border-radius: 0 var(--radius-sm, 6px) var(--radius-sm, 6px) 0;
  color: var(--text-primary);
  font-size: 0.88rem;
  line-height: 1.6;
}
.md-preview-body hr, .md-preview-body .md-hr {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 14px 0;
}
.md-preview-body a, .md-preview-body .md-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.md-preview-body a:hover, .md-preview-body .md-link:hover {
  color: var(--accent-hover);
}
.md-preview-body strong {
  font-weight: 800;
  color: var(--text-primary);
}
.md-preview-body em {
  font-style: italic;
}
.md-preview-body del {
  text-decoration: line-through;
  opacity: 0.7;
}

.chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface2);
  padding: 4px 10px;
  border-radius: var(--radius-sm, 8px);
  font-size: var(--text-xs, 0.8rem);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}
.chip-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.chip-del {
  cursor: pointer;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
}
.chip-del:hover {
  color: var(--danger);
}

.add-chip-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.color-picker-input {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: var(--radius-sm, 8px);
  cursor: pointer;
  background: transparent;
  padding: 0;
}

.sku-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md, 8px);
}

.sku-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-xs, 0.85rem);
}
.sku-table th {
  padding: 10px 12px;
  text-align: start;
  color: var(--text-secondary);
  font-weight: 700;
  border-bottom: 1px solid var(--border-medium);
  background: var(--surface2);
  white-space: nowrap;
}
.sku-table th.th-sku-img {
  width: 56px;
  text-align: center;
}
.sku-table th.th-sku-status {
  width: 80px;
  text-align: center;
}
.sku-table td {
  padding: 8px 10px;
  background: var(--surface);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}
.sku-table tr.sku-row--inactive {
  opacity: 0.8;
  background: var(--danger-subtle);
}

.chevron-rotatable {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.chevron-rotatable.rotate-180 {
  transform: rotate(180deg);
}

.sku-bulk-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px;
  background: var(--surface2);
  border-radius: var(--radius-md, 10px);
  border: 1px solid var(--border-subtle);
}

.sku-vchip {
  background: var(--surface2);
  padding: 2px 8px;
  border-radius: var(--radius-sm, 4px);
  font-size: 0.75rem;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.sku-img-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm, 8px);
  border: 1px dashed var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  cursor: pointer;
  overflow: hidden;
  background: var(--surface);
  transition: var(--transition-fast);
}
.sku-img-btn:hover {
  border-color: var(--accent);
}
.sku-img-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.google-preview-card {
  background: var(--surface);
  border-radius: var(--radius-md, 8px);
  padding: 16px;
  border: 1px solid var(--border-subtle);
}

.google-preview-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.google-preview-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--info);
  margin-bottom: 4px;
}

.google-preview-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.brand-upload-studio {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
}
@media (max-width: 768px) {
  .brand-upload-studio {
    grid-template-columns: 1fr;
  }
}

.upload-tile, .brand-upload-tile {
  position: relative;
  border: none !important;
  box-shadow: var(--shadow-xs);
  border-radius: 14px;
  background: var(--surface2);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-tile.is-preparing, .brand-upload-tile.is-preparing {
  cursor: wait !important;
  transform: none !important;
}
.upload-tile.is-preparing *, .brand-upload-tile.is-preparing * {
  cursor: wait !important;
}
.upload-tile.is-preparing:hover, .brand-upload-tile.is-preparing:hover {
  border-color: var(--border-medium);
  background: var(--surface2) !important;
  transform: none !important;
}
.upload-tile.is-error, .brand-upload-tile.is-error {
  cursor: default;
  transform: none !important;
}
.upload-tile:hover, .brand-upload-tile:hover {
  border-color: var(--accent);
  background: var(--surface3);
}
.upload-tile.has-image, .brand-upload-tile.has-image {
  border-style: solid;
  border-color: var(--border);
}
.upload-tile .upload-tile-body, .brand-upload-tile .upload-tile-body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
}
.upload-tile .logo-preview-circle, .brand-upload-tile .logo-preview-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  margin-bottom: 8px;
}
.upload-tile .logo-preview-circle img, .brand-upload-tile .logo-preview-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.upload-tile .logo-preview-circle .cam-icon, .brand-upload-tile .logo-preview-circle .cam-icon {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
}
.upload-tile .uploaded-cover-img, .brand-upload-tile .uploaded-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.upload-tile .cover-gradient-scrim, .brand-upload-tile .cover-gradient-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--overlay-bg) 100%);
  pointer-events: none;
}
.upload-tile .cover-info-strip, .brand-upload-tile .cover-info-strip {
  position: absolute;
  bottom: 12px;
  inset-inline-start: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  color: var(--text-white);
}
.upload-tile .tile-hover-controls, .upload-tile .cover-hover-controls, .brand-upload-tile .tile-hover-controls, .brand-upload-tile .cover-hover-controls {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.upload-tile:hover .tile-hover-controls, .upload-tile:hover .cover-hover-controls, .brand-upload-tile:hover .tile-hover-controls, .brand-upload-tile:hover .cover-hover-controls {
  opacity: 1;
}
.upload-tile .btn-tile-pill, .brand-upload-tile .btn-tile-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.upload-tile .btn-tile-pill:hover, .brand-upload-tile .btn-tile-pill:hover {
  background: var(--surface2);
  border-color: var(--accent);
  color: var(--accent);
}
.upload-tile .btn-tile-pill-glass, .brand-upload-tile .btn-tile-pill-glass {
  background: var(--overlay-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: var(--border-medium);
  color: var(--text-white);
}
.upload-tile .btn-tile-pill-glass:hover, .brand-upload-tile .btn-tile-pill-glass:hover {
  background: var(--overlay-bg);
  border-color: var(--border-medium);
  color: var(--text-white);
}

.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.color-swatches .swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}
.color-swatches .swatch.active {
  transform: scale(1.15);
  border-color: var(--color-white);
  box-shadow: 0 0 12px var(--shadow-sm);
}
.color-swatches .swatch.active .swatch-check {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.color-swatches .swatch .swatch-check {
  width: 14px;
  height: 14px;
  color: var(--color-white);
  filter: drop-shadow(0 1px 2px var(--shadow-xs));
  opacity: 0;
  visibility: hidden;
  transform: scale(0.6);
  transition: opacity var(--transition-fast, 0.15s ease), transform var(--transition-fast, 0.15s ease);
}

.custom-color-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.custom-color-row .custom-swatch {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  padding: 0;
  background: transparent;
}
.custom-color-row .custom-hex {
  max-width: 140px;
  font-family: monospace;
  font-weight: 700;
}
.custom-color-row .custom-color-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.form-textarea-sm {
  min-height: 70px;
}

.color-preview-pill {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.color-preview-pill .color-pill-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 8px var(--shadow-xs);
  flex-shrink: 0;
}
.color-preview-pill .color-hex-code {
  font-family: monospace;
  font-weight: 700;
  color: var(--text);
}

.emoji-grid,
.store-icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.emoji-grid .emoji-item,
.emoji-grid .store-icon-choice,
.store-icon-grid .emoji-item,
.store-icon-grid .store-icon-choice {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm, 10px);
  background: var(--surface2);
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: transform var(--transition-fast, 0.2s ease), background var(--transition-fast, 0.2s ease), color var(--transition-fast, 0.2s ease);
  box-shadow: var(--shadow-xs);
}
.emoji-grid .emoji-item svg, .emoji-grid .emoji-item i, .emoji-grid .emoji-item [data-lucide],
.emoji-grid .store-icon-choice svg,
.emoji-grid .store-icon-choice i,
.emoji-grid .store-icon-choice [data-lucide],
.store-icon-grid .emoji-item svg,
.store-icon-grid .emoji-item i,
.store-icon-grid .emoji-item [data-lucide],
.store-icon-grid .store-icon-choice svg,
.store-icon-grid .store-icon-choice i,
.store-icon-grid .store-icon-choice [data-lucide] {
  width: 20px;
  height: 20px;
}
.emoji-grid .emoji-item:hover,
.emoji-grid .store-icon-choice:hover,
.store-icon-grid .emoji-item:hover,
.store-icon-grid .store-icon-choice:hover {
  transform: scale(1.08);
  background: var(--surface3);
  color: var(--text-primary);
}
.emoji-grid .emoji-item.active,
.emoji-grid .store-icon-choice.active,
.store-icon-grid .emoji-item.active,
.store-icon-grid .store-icon-choice.active {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px var(--accent-glow);
  transform: scale(1.05);
}

.btn-lang-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
  text-align: start;
  width: 100%;
  min-width: 0;
}
.btn-lang-pill:hover {
  border-color: var(--border-hover, var(--border2));
  background: var(--surface3);
  transform: translateY(-1px);
}
.btn-lang-pill.active {
  border-color: var(--accent);
  background: var(--accent-subtle);
  box-shadow: 0 0 0 1px var(--accent);
  color: var(--text);
}
.btn-lang-pill.active .pill-name {
  color: var(--accent);
  font-weight: 700;
}
.btn-lang-pill .pill-flag {
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}
.btn-lang-pill .pill-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: start;
}
.btn-lang-pill .pill-code {
  font-size: 0.68rem;
  opacity: 0.65;
  font-weight: 800;
  flex-shrink: 0;
}

.btn-dir-choice, .btn-country-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: start;
  width: 100%;
}
.btn-dir-choice:hover, .btn-country-choice:hover {
  border-color: var(--border-hover, var(--border2));
  background: var(--surface3);
  transform: translateY(-1px);
}
.btn-dir-choice.active, .btn-country-choice.active {
  border-color: var(--accent);
  background: var(--accent-subtle);
  box-shadow: 0 0 0 1px var(--accent);
}
.btn-dir-choice.active .choice-check, .btn-country-choice.active .choice-check {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.btn-dir-choice .dir-choice-icon, .btn-country-choice .dir-choice-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.btn-dir-choice .country-choice-flag, .btn-country-choice .country-choice-flag {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}
.btn-dir-choice .country-choice-meta, .btn-country-choice .country-choice-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.btn-dir-choice .country-choice-meta .country-choice-name, .btn-country-choice .country-choice-meta .country-choice-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}
.btn-dir-choice .country-choice-meta .country-choice-currency, .btn-country-choice .country-choice-meta .country-choice-currency {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.btn-dir-choice .choice-check, .btn-country-choice .choice-check {
  width: 16px;
  height: 16px;
  color: var(--accent);
  margin-inline-start: auto;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.6);
  transition: opacity var(--transition-fast, 0.15s ease), transform var(--transition-fast, 0.15s ease);
}

.lang-dir-divider {
  height: 1px;
  background: var(--border-subtle);
  width: 100%;
}

.form-input-xs {
  height: 32px;
  padding: 2px 8px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm, 6px);
}

.w-60px {
  width: 60px !important;
}

.w-80px {
  width: 80px !important;
}

.slug-wrap {
  display: flex;
  align-items: center;
  background: var(--input-bg, var(--surface2));
  border: 1.5px solid var(--border2, var(--border-medium));
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
  direction: ltr;
  transition: var(--transition-fast, all 0.2s);
}
.slug-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.slug-wrap .slug-prefix {
  padding: 10px 14px;
  background: var(--surface3);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: monospace;
  border-inline-end: 1px solid var(--border);
  user-select: none;
  white-space: nowrap;
}
.slug-wrap .slug-input {
  flex: 1;
  padding: 10px 14px;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: monospace;
  font-size: 0.9rem;
  outline: none;
  min-width: 0;
}

.slug-feedback {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  margin-top: 6px;
  font-weight: 600;
}
.slug-feedback.ok {
  color: var(--success);
}
.slug-feedback.err {
  color: var(--danger);
}
.slug-feedback.checking {
  color: var(--accent);
}

.date-range-group {
  display: inline-flex;
  align-items: center;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm, 8px);
  padding: 0 12px;
  gap: 8px;
}
.date-range-group .range-icon, .date-range-group .date-icon {
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.date-range-group .date-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.date-range-group .date-field .date-label, .date-range-group .date-field .date-lbl {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-muted);
}
.date-range-group .date-field .date-input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.82rem;
  outline: none;
  padding: 0;
  height: auto;
  font-family: inherit;
}

.filter-sel,
.filter-select,
.page-size-sel {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  height: 40px;
  padding: 8px 36px 8px 14px;
  background-color: var(--bg-card);
  background-image: var(--select-arrow);
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) center;
  background-size: 14px 14px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm, 8px);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast, all 0.15s ease);
  white-space: nowrap;
}
.filter-sel:hover,
.filter-select:hover,
.page-size-sel:hover {
  border-color: var(--border-strong);
  background-color: var(--bg-card-hover);
}
.filter-sel:focus,
.filter-select:focus,
.page-size-sel:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.filter-sel option,
.filter-select option,
.page-size-sel option {
  background-color: var(--surface);
  color: var(--text);
  padding: 10px;
}

[dir=rtl] .filter-sel,
[dir=rtl] .filter-select,
[dir=rtl] .page-size-sel,
html[dir=rtl] .filter-sel,
html[dir=rtl] .filter-select {
  padding: 8px 14px 8px 36px;
  background-position: 12px center;
}

.page-size-sel {
  min-width: 80px;
  height: 38px;
  padding: 6px 28px 6px 10px;
  font-size: 0.82rem;
}

[dir=rtl] .page-size-sel {
  padding: 6px 10px 6px 28px;
  background-position: 8px center;
}

.auth-input-group,
.form-group,
.input-group--vertical,
.input-group:has(.input-wrapper) {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}
.auth-input-group .input-label,
.form-group .input-label,
.input-group--vertical .input-label,
.input-group:has(.input-wrapper) .input-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.input-wrapper .input-icon-prefix,
.input-wrapper .input-icon.icon-prefix {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-start: 14px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  pointer-events: none;
  transition: color 0.2s ease;
  z-index: 2;
}
.input-wrapper .input-icon-prefix svg, .input-wrapper .input-icon-prefix i, .input-wrapper .input-icon-prefix [data-lucide],
.input-wrapper .input-icon.icon-prefix svg,
.input-wrapper .input-icon.icon-prefix i,
.input-wrapper .input-icon.icon-prefix [data-lucide] {
  width: 18px;
  height: 18px;
  stroke-width: 2px;
  display: block;
}
.input-wrapper .form-input {
  width: 100%;
  height: 48px;
  background: var(--surface2);
  border: 1.5px solid var(--border-subtle);
  color: var(--text-primary);
  padding-inline-start: 42px;
  padding-inline-end: 42px;
  border-radius: var(--radius-lg, 14px);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  box-sizing: border-box;
  transition: var(--transition-fast);
}
.input-wrapper .form-input::placeholder {
  color: var(--text-muted);
}
.input-wrapper .form-input:focus {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.input-wrapper .form-input.error {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px var(--danger-subtle) !important;
}
.input-wrapper:focus-within .input-icon-prefix,
.input-wrapper:focus-within .input-icon.icon-prefix {
  color: var(--text-primary);
}
.input-wrapper .icon-suffix {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-end: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm, 6px);
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition-fast);
  z-index: 2;
}
.input-wrapper .icon-suffix:hover {
  color: var(--text-primary);
  background: var(--surface3);
}
.input-wrapper .icon-suffix span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.input-wrapper .icon-suffix .toggle-pwd-icon,
.input-wrapper .icon-suffix svg, .input-wrapper .icon-suffix i, .input-wrapper .icon-suffix [data-lucide] {
  width: 18px;
  height: 18px;
  stroke-width: 2px;
  display: block;
}

.field-error {
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 6px;
  display: block;
}

.forgot-pass {
  display: flex;
  justify-content: flex-end;
  margin-top: -6px;
  margin-bottom: 20px;
}
.forgot-pass .forgot-link {
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease;
}
.forgot-pass .forgot-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: center;
}

.lang-pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.dir-toggle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  width: 100%;
}
@media (max-width: 767.98px) {
  .dir-toggle-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
}

.btn-dir-choice {
  padding: 8px 10px;
  gap: 6px;
  min-height: 46px;
}
.btn-dir-choice .dir-choice-title {
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.form-check.form-switch {
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
}
.form-check.form-switch .form-check-input {
  width: 38px;
  height: 20px;
  background-color: var(--border);
  border-radius: 20px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  border: 1px solid var(--border);
  outline: none;
  position: relative;
  transition: all 0.2s ease;
}
.form-check.form-switch .form-check-input:checked {
  background-color: var(--success);
  border-color: var(--success);
}

.color-picker-input {
  width: 44px;
  height: 38px;
  padding: 2px;
  cursor: pointer;
  border-radius: var(--radius-sm, 6px);
  background: transparent;
  border: 1px solid var(--border);
}

.color-hex-input {
  font-family: monospace;
  max-width: 140px;
  direction: ltr;
}

.readonly-copy-input {
  background: var(--surface3) !important;
  font-family: monospace;
  font-size: 0.82rem;
  cursor: pointer;
  user-select: all;
  direction: ltr;
}

.var-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--accent-subtle);
  border: none;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.72rem;
  font-weight: 700;
  font-family: monospace;
  color: var(--accent);
  cursor: pointer;
  user-select: all;
  box-shadow: var(--shadow-xs);
  transition: all 0.18s ease;
}
.var-pill:hover {
  background: var(--accent);
  color: var(--text-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.product-selected-preview {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 14px);
  padding: 10px 14px;
  box-shadow: var(--shadow-xs);
}

.product-picker-dropdown {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 16px);
  max-height: 280px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  z-index: 20;
}

.product-preview-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md, 10px);
  object-fit: cover;
  border: none;
  background: var(--surface3);
  flex-shrink: 0;
}

.product-preview-thumb-sm {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm, 8px);
  object-fit: cover;
  border: none;
  background: var(--surface3);
  flex-shrink: 0;
}

.chk-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  box-sizing: border-box;
  padding: 0 14px;
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full, 9999px);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-xs);
}
.chk-wrapper:hover {
  background: var(--surface3);
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.chk-wrapper:has(input:checked) {
  background: var(--surface3);
  border-color: var(--text-primary);
  color: var(--text-primary);
}
.chk-wrapper input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  width: 30px;
  height: 16px;
  border-radius: 9999px;
  background: var(--surface3);
  border: 1px solid var(--border-medium);
  position: relative;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.chk-wrapper input[type=checkbox]::after {
  content: "";
  position: absolute;
  top: 2px;
  inset-inline-start: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-xs);
}
.chk-wrapper input[type=checkbox]:checked {
  background: var(--text-primary);
  border-color: var(--text-primary);
}
.chk-wrapper input[type=checkbox]:checked::after {
  inset-inline-start: 16px;
  background: var(--text-inverse);
}
.chk-wrapper:not(:has(span)), .chk-wrapper--standalone {
  padding: 4px;
  border: none;
  background: transparent;
  box-shadow: none;
}
.chk-wrapper:not(:has(span)) input[type=checkbox], .chk-wrapper--standalone input[type=checkbox] {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-xs, 4px);
  background: var(--surface2);
  border: 1.5px solid var(--border-medium);
}
.chk-wrapper:not(:has(span)) input[type=checkbox]::after, .chk-wrapper--standalone input[type=checkbox]::after {
  display: none;
}
.chk-wrapper:not(:has(span)) input[type=checkbox]:checked, .chk-wrapper--standalone input[type=checkbox]:checked {
  background: var(--text-primary);
  border-color: var(--text-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.checkbox-label, .form-check-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}
.checkbox-label input[type=checkbox], .form-check-label input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-xs, 5px);
  border: 1.5px solid var(--border-medium);
  background: var(--surface2);
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.checkbox-label input[type=checkbox]:checked, .form-check-label input[type=checkbox]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.checkbox-label input[type=checkbox]:checked::after, .form-check-label input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid var(--text-inverse);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkbox-label input[type=checkbox]:hover, .form-check-label input[type=checkbox]:hover {
  border-color: var(--accent);
}
.checkbox-label input[type=checkbox]:focus-visible, .form-check-label input[type=checkbox]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.checkbox-label:hover, .form-check-label:hover {
  color: var(--text-primary);
}

.vault-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 10px);
  padding: 12px 16px;
  margin-bottom: 16px;
}

.vault-input-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 10px);
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vault-input-box textarea {
  direction: ltr;
  text-align: left;
  font-family: monospace;
}

.vault-table-wrap {
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 8px);
  background: var(--surface);
}

.vault-table {
  width: 100%;
  margin-bottom: 0;
  vertical-align: middle;
  font-size: 0.8rem;
  border-collapse: separate;
  border-spacing: 0;
}
.vault-table thead {
  position: sticky;
  top: 0;
  background: var(--surface2);
  z-index: 2;
}
.vault-table thead th {
  padding: 8px 12px;
  font-weight: 700;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.vault-table thead th.th-actions-sm {
  width: 90px;
  text-align: center;
}
.vault-table tbody tr {
  transition: background 0.15s ease;
}
.vault-table tbody tr:hover {
  background: var(--surface-hover);
}
.vault-table tbody tr td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.vault-filter-group {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--surface2);
  padding: 4px;
  border-radius: var(--radius-sm, 8px);
}

.vault-filter-btn {
  border: none;
  background: transparent;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: var(--radius-xs, 6px);
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vault-filter-btn:hover {
  color: var(--text);
}
.vault-filter-btn.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.vault-filter-btn.vault-filter-btn--success.active {
  color: var(--success);
}
.vault-filter-btn.vault-filter-btn--danger.active {
  color: var(--danger);
}
.vault-filter-btn.vault-filter-btn--warning.active {
  color: var(--warning);
}

.vault-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-pill, 9999px);
}
.vault-badge--available {
  background: var(--success-subtle);
  color: var(--success);
}
.vault-badge--sold {
  background: var(--danger-subtle);
  color: var(--danger);
}
.vault-badge--returned {
  background: var(--warning-subtle);
  color: var(--warning);
}

.vault-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  font-size: 0.7rem;
  background: var(--surface2);
  color: var(--muted);
  border-radius: var(--radius-xs, 4px);
  max-width: 130px;
}

.unit-profit-summary {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm, 8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}
.unit-profit-summary--profit {
  background: var(--success-subtle);
  color: var(--success);
}
.unit-profit-summary--profit .unit-profit-badge {
  background: var(--success);
  color: var(--text-inverse);
}
.unit-profit-summary--loss {
  background: var(--danger-subtle);
  color: var(--danger);
}
.unit-profit-summary--loss .unit-profit-badge {
  background: var(--danger);
  color: var(--text-inverse);
}
.unit-profit-summary .unit-profit-content {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
}
.unit-profit-summary .unit-profit-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-xs, 4px);
}

.bool-card--unlisted {
  background: linear-gradient(135deg, var(--accent-subtle), var(--surface));
  border: 1px solid var(--accent-glow);
}

.attr-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 16px);
  padding: 16px 18px;
  margin-bottom: var(--space-4, 16px);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition-fast), box-shadow 0.2s ease;
}
.attr-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) {
  .attr-card {
    padding: 12px 14px;
    border-radius: var(--radius-md, 12px);
  }
}

.attr-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.attr-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.attr-card-title .attr-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface2);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  flex-shrink: 0;
}
.attr-card-title .attr-card-name {
  font-size: var(--text-sm, 0.9rem);
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.attr-card-title .attr-card-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface2);
  padding: 2px 8px;
  border-radius: var(--radius-xs, 6px);
  white-space: nowrap;
}

.attr-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.display-type-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  background: var(--surface2);
  padding: 4px;
  border-radius: var(--radius-md, 10px);
  margin-bottom: 16px;
}
@media (max-width: 991px) {
  .display-type-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 480px) {
  .display-type-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dt-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm, 7px);
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-align: center;
}
.dt-tab svg, .dt-tab [data-lucide] {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.dt-tab:hover {
  color: var(--text-primary);
  background: var(--surface3);
}
.dt-tab.active {
  background: var(--surface);
  color: var(--text-primary);
  font-weight: 700;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-subtle);
}
.dt-tab.active svg, .dt-tab.active [data-lucide] {
  color: var(--accent);
}

.attr-body {
  display: flex;
  flex-direction: column;
}

.attr-row-split {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}
@media (max-width: 640px) {
  .attr-row-split {
    flex-direction: column;
    align-items: stretch;
  }
}
.attr-row-split .attr-row-main {
  flex: 1;
  min-width: 0;
}
.attr-row-split .attr-row-toggle {
  flex-shrink: 0;
}

.attr-required-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 40px;
  padding: 0 14px;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 10px);
  white-space: nowrap;
}

.attr-preview-box {
  background: var(--surface2);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-md, 12px);
  padding: 14px 16px;
  margin-top: 14px;
}
.attr-preview-box .attr-preview-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs, 0.8rem);
  font-weight: 700;
  color: var(--warning);
  margin-bottom: 10px;
}
.attr-preview-box .attr-preview-header svg, .attr-preview-box .attr-preview-header [data-lucide] {
  width: 15px;
  height: 15px;
}
.attr-preview-box--info .attr-preview-header {
  color: var(--info);
}
.attr-preview-box .attr-preview-canvas {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm, 8px);
  padding: 12px 14px;
  margin-bottom: 8px;
}
.attr-preview-box .attr-preview-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs, 0.82rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.attr-preview-box .attr-preview-hint {
  font-size: var(--text-2xs, 0.74rem);
  color: var(--text-muted);
  line-height: 1.5;
}

.attr-upload-placeholder {
  border: 1.5px dashed var(--border-medium);
  border-radius: var(--radius-sm, 8px);
  padding: 16px;
  text-align: center;
  background: var(--surface2);
  cursor: not-allowed;
  margin-top: 6px;
}

.sku-img-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs, 8px);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  cursor: pointer;
  overflow: hidden;
  background: var(--surface2);
  transition: border-color 0.15s ease;
}
.sku-img-btn:hover {
  border-color: var(--accent);
}
.sku-img-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sku-stock-badge-out {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--danger-subtle);
  color: var(--danger);
  font-weight: 700;
  white-space: nowrap;
}

.sku-modal-header {
  width: 100%;
  margin-bottom: 16px;
  text-align: start;
}
.sku-modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.sku-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 16px;
  padding: 4px;
}

.sku-img-item {
  position: relative;
  cursor: pointer;
  aspect-ratio: 1;
  border-radius: var(--radius-sm, 10px);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: all 0.2s ease;
}
.sku-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sku-img-item.active {
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.sku-img-item .sku-img-check {
  position: absolute;
  top: 4px;
  inset-inline-end: 4px;
  background: var(--accent);
  color: var(--text-inverse);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
}

.sku-color-sync-card {
  width: 100%;
  background: var(--surface2);
  border-radius: var(--radius-sm, 10px);
  padding: 10px 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sku-color-sync-card span {
  font-size: 0.82rem;
  color: var(--muted);
}

.storefront-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.storefront-stars .star-filled {
  color: var(--warning);
  fill: var(--warning);
  width: 13px;
  height: 13px;
}

.custom-status-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 10px);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.custom-status-selector .status-chip {
  flex: 1 1 0;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border-radius: var(--radius-sm, 7px);
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  position: relative;
  transition: all 0.18s ease;
  color: var(--text-secondary);
}
.custom-status-selector .status-chip:hover:not(.active) {
  background: var(--surface3);
  color: var(--text-primary);
}
.custom-status-selector .status-chip.active {
  background: var(--surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}
.custom-status-selector .status-chip .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.custom-status-selector .status-chip .status-dot.dot-active {
  background: var(--success);
  box-shadow: 0 0 6px var(--success-subtle);
}
.custom-status-selector .status-chip .status-dot.dot-draft {
  background: var(--warning);
  box-shadow: 0 0 6px var(--warning-subtle);
}
.custom-status-selector .status-chip .status-dot.dot-inactive {
  background: var(--danger);
  box-shadow: 0 0 6px var(--danger-subtle);
}
.custom-status-selector .status-chip .status-title {
  font-size: 0.8rem;
  font-weight: 750;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 520px) {
  .custom-status-selector {
    flex-direction: column;
    gap: 4px;
    padding: 6px;
  }
  .custom-status-selector .status-chip {
    width: 100%;
    height: 40px;
    justify-content: flex-start;
    padding: 0 14px;
  }
}

.slots-studio-sheet {
  display: flex;
  flex-direction: column;
}
.slots-studio-sheet .modal-body--scroll {
  flex: 1 1 auto;
  max-height: calc(94vh - 140px) !important;
  overflow-y: auto;
  padding: 24px;
}

.slots-telemetry-hud {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 18px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 16px);
  margin-bottom: 24px;
}
.slots-telemetry-hud .hud-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border-subtle, var(--border));
  border-radius: var(--radius-full, 9999px);
  transition: transform 0.15s ease;
}
.slots-telemetry-hud .hud-stat-pill i, .slots-telemetry-hud .hud-stat-pill [data-lucide] {
  width: 16px;
  height: 16px;
}
.slots-telemetry-hud .hud-stat-pill .hud-stat-val {
  font-size: 0.92rem;
  font-weight: 850;
  color: var(--text-primary);
}
.slots-telemetry-hud .hud-stat-pill .hud-stat-lbl {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
}

.visual-split-studio {
  display: grid;
  grid-template-columns: 440px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  width: 100%;
  min-width: 0;
}
@media (max-width: 1100px) {
  .visual-split-studio {
    grid-template-columns: minmax(0, 1fr);
  }
}
.visual-split-studio .canvas-sticky-pane {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.visual-split-studio .canvas-sticky-pane .canvas-pane-header, .visual-split-studio .canvas-sticky-pane .hss-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.visual-split-studio .canvas-sticky-pane .canvas-pane-header .cph-title, .visual-split-studio .canvas-sticky-pane .canvas-pane-header .hss-title, .visual-split-studio .canvas-sticky-pane .hss-header .cph-title, .visual-split-studio .canvas-sticky-pane .hss-header .hss-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 850;
  color: var(--text-primary);
}
.visual-split-studio .canvas-sticky-pane .canvas-pane-header .cph-title i, .visual-split-studio .canvas-sticky-pane .canvas-pane-header .cph-title [data-lucide], .visual-split-studio .canvas-sticky-pane .canvas-pane-header .hss-title i, .visual-split-studio .canvas-sticky-pane .canvas-pane-header .hss-title [data-lucide], .visual-split-studio .canvas-sticky-pane .hss-header .cph-title i, .visual-split-studio .canvas-sticky-pane .hss-header .cph-title [data-lucide], .visual-split-studio .canvas-sticky-pane .hss-header .hss-title i, .visual-split-studio .canvas-sticky-pane .hss-header .hss-title [data-lucide] {
  width: 17px;
  height: 17px;
  color: var(--accent);
}
.visual-split-studio .canvas-sticky-pane .canvas-pane-header .cph-hint, .visual-split-studio .canvas-sticky-pane .canvas-pane-header .hss-tip, .visual-split-studio .canvas-sticky-pane .hss-header .cph-hint, .visual-split-studio .canvas-sticky-pane .hss-header .hss-tip {
  font-size: 0.76rem;
  color: var(--text-muted);
  background: var(--surface2);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.visual-split-studio .canvas-sticky-pane .canvas-pane-header .cph-hint strong, .visual-split-studio .canvas-sticky-pane .canvas-pane-header .hss-tip strong, .visual-split-studio .canvas-sticky-pane .hss-header .cph-hint strong, .visual-split-studio .canvas-sticky-pane .hss-header .hss-tip strong {
  color: var(--accent);
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg, 14px);
  overflow: hidden;
  background: var(--bg-main);
  border: 2px solid var(--border);
  cursor: crosshair;
  user-select: none;
  box-shadow: var(--shadow-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 25px var(--accent-glow);
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-scene-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pins-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface);
  border: 2px solid var(--accent);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  z-index: 10;
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin.has-thumb {
  padding: 0;
  background: var(--surface2);
  border: 2px solid var(--border-medium);
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin .hss-pin-media {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: var(--radius-full, 9999px);
  display: block;
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin .hss-pin-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-full, 9999px);
  display: block;
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin .hss-pin-corner-badge {
  position: absolute;
  top: -6px;
  inset-inline-end: -6px;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full, 9999px);
  background: var(--accent);
  color: var(--text-inverse);
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  font-weight: 900;
  border: 2px solid var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: var(--shadow-xs);
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin .hss-pin-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin .hss-pin-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  font-weight: 850;
  pointer-events: none;
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin:hover {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 4px 14px var(--accent-glow);
  z-index: 20;
  border-color: var(--accent);
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin.is-active {
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 0 0 4px var(--accent-glow), var(--shadow-md);
  z-index: 30;
  border-color: var(--accent);
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin.is-active .hss-pin-corner-badge {
  background: var(--accent-hover);
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin.is-active:not(.has-thumb) {
  background: var(--accent);
  color: var(--text-inverse);
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin.is-required:not(.has-thumb) {
  border-color: var(--danger);
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin.is-required:not(.has-thumb).is-active {
  background: var(--danger);
  box-shadow: 0 0 0 4px var(--danger-border), var(--shadow-md);
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin.is-required.has-thumb {
  border-color: var(--danger);
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin.is-required.has-thumb .hss-pin-corner-badge {
  background: var(--danger);
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin .hss-pin-tooltip {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  white-space: nowrap;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 50;
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin .hss-pin-tooltip .hss-tt-capsule {
  height: 28px;
  padding-inline: 12px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full, 9999px);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-align: start;
  direction: rtl;
  position: relative;
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin .hss-pin-tooltip .hss-tt-capsule::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px 5px 0 5px;
  border-style: solid;
  border-color: var(--border-medium) transparent transparent transparent;
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin .hss-pin-tooltip .hss-tt-capsule .hss-tt-num {
  font-weight: 850;
  color: var(--accent);
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin .hss-pin-tooltip .hss-tt-capsule .hss-tt-name {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-white);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1;
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin .hss-pin-tooltip .hss-tt-capsule .hss-tt-dot {
  color: var(--text-muted);
  font-size: 0.68rem;
  opacity: 0.6;
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin .hss-pin-tooltip .hss-tt-capsule .hss-tt-price {
  font-weight: 850;
  font-size: 0.73rem;
  color: var(--teal);
  font-family: var(--font-mono, monospace);
  line-height: 1;
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin .hss-pin-tooltip .hss-tt-capsule .hss-tt-cat {
  color: var(--text-secondary);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin .hss-pin-tooltip.tooltip-down {
  bottom: auto;
  top: calc(100% + 9px);
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin .hss-pin-tooltip.tooltip-down .hss-tt-capsule::after {
  top: auto;
  bottom: 100%;
  border-width: 0 5px 5px 5px;
  border-color: transparent transparent var(--border-medium) transparent;
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin .hss-pin-tooltip.tooltip-edge-left {
  left: -6px;
  transform: none !important;
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin .hss-pin-tooltip.tooltip-edge-left .hss-tt-capsule::after {
  left: 20px;
  transform: none;
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin .hss-pin-tooltip.tooltip-edge-right {
  left: auto;
  right: -6px;
  transform: none !important;
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin .hss-pin-tooltip.tooltip-edge-right .hss-tt-capsule::after {
  left: auto;
  right: 20px;
  transform: none;
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin:hover .hss-pin-tooltip, .visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin.is-active .hss-pin-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-2px);
}
.visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin:hover .hss-pin-tooltip.tooltip-edge-left, .visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin:hover .hss-pin-tooltip.tooltip-edge-right, .visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin.is-active .hss-pin-tooltip.tooltip-edge-left, .visual-split-studio .canvas-sticky-pane .hss-canvas-wrap .hss-pin.is-active .hss-pin-tooltip.tooltip-edge-right {
  transform: translateY(-2px) !important;
}
.visual-split-studio .canvas-sticky-pane .hss-no-cover-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--warning-subtle);
  border: 1px dashed var(--warning-border);
  border-radius: var(--radius-lg, 14px);
  color: var(--text-primary);
  font-size: 0.84rem;
  line-height: 1.5;
}
.visual-split-studio .canvas-sticky-pane .hss-no-cover-alert i, .visual-split-studio .canvas-sticky-pane .hss-no-cover-alert [data-lucide] {
  width: 24px;
  height: 24px;
  color: var(--warning);
  flex-shrink: 0;
}
.visual-split-studio .slots-scroll-pane {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.slots-studio-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.slot-editor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 18px);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-xs);
}
.slot-editor-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-strong, var(--border));
}
.slot-editor-card.is-hotspot-active {
  border-color: var(--accent);
  box-shadow: 0 10px 32px -4px var(--accent-glow);
  background: var(--surface);
}
.slot-editor-card .slot-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle, var(--border));
}
.slot-editor-card .slot-ribbon .slot-ribbon-start {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
  flex: 1 1 auto;
}
.slot-editor-card .slot-ribbon .slot-ribbon-start .slot-seq-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md, 12px);
  background: var(--surface2);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 850;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.slot-editor-card .slot-ribbon .slot-ribbon-start .slot-seq-avatar.is-active-pin {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.slot-editor-card .slot-ribbon .slot-ribbon-start .slot-title-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}
.slot-editor-card .slot-ribbon .slot-ribbon-start .slot-title-stack .slot-name-heading {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.25;
  word-break: break-word;
}
.slot-editor-card .slot-ribbon .slot-ribbon-start .slot-title-stack .slot-ribbon-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.slot-editor-card .slot-ribbon .slot-ribbon-start .slot-title-stack .slot-ribbon-badges .badge-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.72rem;
  font-weight: 750;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.slot-editor-card .slot-ribbon .slot-ribbon-start .slot-title-stack .slot-ribbon-badges .badge-toggle-btn:hover {
  transform: scale(1.04);
  opacity: 0.9;
}
.slot-editor-card .slot-ribbon .slot-ribbon-start .slot-title-stack .slot-ribbon-badges .badge-toggle-btn i, .slot-editor-card .slot-ribbon .slot-ribbon-start .slot-title-stack .slot-ribbon-badges .badge-toggle-btn [data-lucide] {
  width: 12px;
  height: 12px;
}
.slot-editor-card .slot-ribbon .slot-ribbon-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.slot-editor-card .slot-ribbon .slot-ribbon-actions .btn-slot-ctrl {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md, 9px);
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}
.slot-editor-card .slot-ribbon .slot-ribbon-actions .btn-slot-ctrl:hover:not(:disabled) {
  background: var(--surface3);
  color: var(--text-primary);
  border-color: var(--text-muted);
  transform: translateY(-1px);
}
.slot-editor-card .slot-ribbon .slot-ribbon-actions .btn-slot-ctrl:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.slot-editor-card .slot-ribbon .slot-ribbon-actions .btn-slot-ctrl.btn-slot-delete:hover:not(:disabled) {
  color: var(--danger);
  border-color: var(--danger);
  background: var(--danger-subtle);
}
.slot-editor-card .slot-ribbon .slot-ribbon-actions .btn-slot-ctrl i, .slot-editor-card .slot-ribbon .slot-ribbon-actions .btn-slot-ctrl [data-lucide] {
  width: 16px;
  height: 16px;
}
.slot-editor-card .slot-hotspot-coords-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: var(--surface2);
  border-radius: var(--radius-lg, 12px);
  border: 1px solid var(--border);
  flex-wrap: wrap;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.slot-editor-card .slot-hotspot-coords-bar .w-60px {
  width: 70px;
}
.slot-editor-card .slot-config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  align-items: start;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .slot-editor-card .slot-config-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.slot-editor-card .slot-config-grid > * {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.slot-editor-card .slot-config-grid .form-group {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.slot-editor-card .slot-config-grid .form-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.slot-editor-card .slot-config-grid .form-input-wrap .input-icon {
  position: absolute;
  inset-inline-start: 12px;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}
.slot-editor-card .slot-config-grid .form-input-wrap .form-input {
  padding-inline-start: 38px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.slot-editor-card .slot-quantity-dual-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.slot-editor-card .slot-quantity-dual-box .qty-steppers-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.slot-editor-card .slot-quantity-dual-box .qty-steppers-row .qty-stepper-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 10px);
  padding: 4px 8px;
  justify-content: space-between;
  box-sizing: border-box;
}
.slot-editor-card .slot-quantity-dual-box .qty-steppers-row .qty-stepper-item .qty-stepper-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.slot-editor-card .slot-quantity-dual-box .qty-steppers-row .qty-stepper-item .qty-stepper-btn:hover {
  background: var(--surface3);
  color: var(--text-primary);
}
.slot-editor-card .slot-quantity-dual-box .qty-steppers-row .qty-stepper-item .qty-stepper-btn i, .slot-editor-card .slot-quantity-dual-box .qty-steppers-row .qty-stepper-item .qty-stepper-btn [data-lucide] {
  width: 14px;
  height: 14px;
}
.slot-editor-card .slot-quantity-dual-box .qty-steppers-row .qty-stepper-item .qty-stepper-input {
  flex: 1 1 0;
  min-width: 28px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
  outline: none;
}
.slot-editor-card .slot-req-toggle-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 16px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface2);
  border: 1px solid var(--border);
  cursor: pointer;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  transition: all 0.18s ease;
  min-height: 42px;
}
.slot-editor-card .slot-req-toggle-box:hover {
  border-color: var(--border-strong, var(--border));
}
.slot-editor-card .slot-req-toggle-box.is-required {
  border-color: var(--danger-border);
  background: var(--danger-subtle);
}
.slot-editor-card .slot-req-toggle-box .req-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}
.slot-editor-card .slot-req-toggle-box .req-info .req-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}
.slot-editor-card .slot-req-toggle-box .req-info .req-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.slot-editor-card .slot-req-toggle-box .switch {
  flex-shrink: 0;
  margin: 0;
}
.slot-editor-card .slot-equipment-zone {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle, var(--border));
}
.slot-editor-card .slot-equipment-zone .prefilled-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.slot-editor-card .slot-equipment-zone .prefilled-header .prefilled-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-primary);
}
.slot-editor-card .slot-equipment-zone .prefilled-header .prefilled-title i, .slot-editor-card .slot-equipment-zone .prefilled-header .prefilled-title [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.slot-editor-card .slot-equipment-zone .prefilled-header .prefilled-hint {
  font-size: 0.74rem;
  color: var(--text-muted);
}
.slot-editor-card .slot-equipment-zone .slot-selected-product-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 12px);
  transition: border-color 0.15s ease;
}
.slot-editor-card .slot-equipment-zone .slot-selected-product-card .selected-product-main {
  display: flex;
  align-items: center;
  gap: 12px;
}
.slot-editor-card .slot-equipment-zone .slot-selected-product-card .selected-product-main .selected-product-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md, 10px);
  object-fit: cover;
  background: var(--surface3);
  flex-shrink: 0;
}
.slot-editor-card .slot-equipment-zone .slot-selected-product-card .selected-product-main .selected-product-thumb-placeholder {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
}
.slot-editor-card .slot-equipment-zone .slot-selected-product-card .selected-product-main .selected-product-thumb-placeholder i, .slot-editor-card .slot-equipment-zone .slot-selected-product-card .selected-product-main .selected-product-thumb-placeholder [data-lucide] {
  width: 20px;
  height: 20px;
}
.slot-editor-card .slot-equipment-zone .slot-selected-product-card .selected-product-main .selected-product-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.slot-editor-card .slot-equipment-zone .slot-selected-product-card .selected-product-main .selected-product-details .selected-product-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}
.slot-editor-card .slot-equipment-zone .slot-selected-product-card .selected-product-main .selected-product-details .selected-product-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.slot-editor-card .slot-equipment-zone .slot-selected-product-card .selected-product-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.slot-editor-card .slot-equipment-zone .slot-empty-product-btn {
  width: 100%;
  padding: 14px 18px;
  background: var(--surface2);
  border: 1.5px dashed var(--border-medium, var(--border));
  border-radius: var(--radius-lg, 12px);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 750;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.slot-editor-card .slot-equipment-zone .slot-empty-product-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}
.slot-editor-card .slot-equipment-zone .slot-empty-product-btn i, .slot-editor-card .slot-equipment-zone .slot-empty-product-btn [data-lucide] {
  width: 18px;
  height: 18px;
}

.slots-bottom-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.slots-bottom-actions-bar .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 750;
}

.composer-card {
  background: var(--surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl, 20px);
  padding: var(--space-6, 24px);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-6, 24px);
  width: 100%;
  position: relative;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .composer-card {
    padding: var(--space-4, 16px) var(--space-3, 12px);
    border-radius: var(--radius-lg, 16px);
    margin-bottom: var(--space-4, 16px);
  }
}

.composer-step-pane {
  animation: fadeInStep 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.composer-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4, 16px);
  margin-bottom: var(--space-5, 20px);
  padding-bottom: var(--space-4, 16px);
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
}
@media (max-width: 768px) {
  .composer-author-row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 14px;
  }
  .composer-author-row .segmented-toggle {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .composer-author-row .segmented-toggle__item {
    width: 100%;
    justify-content: center;
    min-height: 38px;
  }
}

.composer-author-main {
  display: flex;
  align-items: center;
  gap: var(--space-3, 12px);
  min-width: 0;
  flex: 1;
}
@media (max-width: 480px) {
  .composer-author-main {
    gap: 10px;
  }
}

.composer-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md, 12px);
  background: var(--surface2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}
.composer-avatar svg, .composer-avatar [data-lucide] {
  width: 22px;
  height: 22px;
}
@media (max-width: 480px) {
  .composer-avatar {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm, 10px);
  }
  .composer-avatar svg, .composer-avatar [data-lucide] {
    width: 18px;
    height: 18px;
  }
}

.composer-author-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.composer-title-badge-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
  flex-wrap: wrap;
}

.composer-store-name {
  font-weight: 700;
  font-size: var(--text-sm, 0.9rem);
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.composer-badge-public {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-2xs, 0.72rem);
  padding: 2px 8px;
  border-radius: var(--radius-pill, 9999px);
  background: var(--surface2);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  line-height: 1.4;
}
.composer-badge-public svg, .composer-badge-public [data-lucide] {
  width: 12px;
  height: 12px;
}

.composer-desc {
  font-size: var(--text-xs, 0.8rem);
  color: var(--text-muted);
  line-height: 1.4;
  word-break: break-word;
}
@media (max-width: 480px) {
  .composer-desc {
    font-size: 0.74rem;
  }
}

.composer-title-input {
  font-size: var(--text-lg, 1.15rem);
  font-weight: 600;
  padding: 12px 16px;
  min-height: 48px;
  border-radius: var(--radius-md, 10px);
  width: 100%;
}

.composer-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4, 16px);
  margin-bottom: var(--space-5, 20px);
  width: 100%;
}
@media (max-width: 768px) {
  .composer-row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3, 12px);
  }
}

.composer-box-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2, 8px);
  min-width: 0;
  width: 100%;
}

.pf-section-deck {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 16px);
  padding: var(--space-4, 18px);
  box-sizing: border-box;
}

.pf-price-input-group {
  display: flex;
  align-items: center;
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  transition: var(--transition-fast, all 0.15s ease);
  min-height: 44px;
  box-sizing: border-box;
}
.pf-price-input-group:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}
.pf-price-input-group .pf-price-currency {
  padding: 0 14px;
  background: var(--surface3);
  color: var(--text-muted);
  font-size: var(--text-xs, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-inline-end: 1px solid var(--border-subtle);
  user-select: none;
  align-self: stretch;
  flex-shrink: 0;
}
.pf-price-input-group .pf-price-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  padding: 10px 14px;
  font-size: 1rem;
  font-weight: 750;
  font-family: var(--font-mono, monospace);
  box-shadow: none;
}
.pf-price-input-group .pf-price-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
  font-weight: 500;
  font-family: var(--font-base, sans-serif);
}

.pf-field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2, 9px) !important;
  flex-wrap: nowrap;
  width: 100%;
}

.pf-field-title-group {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.pf-field-title-group .form-label {
  margin-bottom: 0 !important;
  font-size: var(--text-xs, 0.78rem);
  font-weight: 750;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
}

.pf-field-icon {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  max-width: 15px !important;
  stroke-width: 2.2 !important;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.pf-deck-icon {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  stroke-width: 2.2 !important;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.pf-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  color: var(--text-muted);
  border: none;
  cursor: help;
  transition: var(--transition-fast, all 0.15s ease);
  padding: 0;
  line-height: 1;
}
.pf-info-btn svg, .pf-info-btn i, .pf-info-btn [data-lucide] {
  width: 11px !important;
  height: 11px !important;
  min-width: 11px !important;
  stroke-width: 2.2 !important;
}
.pf-info-btn:hover, .pf-info-btn:focus {
  background: var(--accent-subtle);
  color: var(--accent);
  outline: none;
  transform: scale(1.1);
}

.composer-price-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.composer-price-wrap .composer-currency {
  position: absolute;
  inset-inline-start: 14px;
  font-size: var(--text-xs, 0.8rem);
  font-weight: 700;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 2;
}

.composer-input {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md, 10px);
  color: var(--text-primary);
  padding: 10px 14px;
  padding-inline-start: 46px;
  font-size: var(--text-base, 0.95rem);
  min-height: 44px;
  transition: var(--transition-fast, all 0.15s ease);
  box-sizing: border-box;
}
.composer-input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-subtle);
  background: var(--surface);
}
.composer-input.composer-input-sm {
  min-height: 38px;
  padding: 6px 12px;
  padding-inline-start: 38px;
  font-size: var(--text-xs, 0.82rem);
}

.composer-select-trigger {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md, 10px);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-fast, all 0.15s ease);
  box-sizing: border-box;
}
.composer-select-trigger:hover, .composer-select-trigger.open {
  border-color: var(--accent);
  background: var(--surface);
}

.composer-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3, 12px);
  padding-top: var(--space-4, 16px);
  margin-top: var(--space-5, 20px);
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.composer-advanced-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md, 10px);
  cursor: pointer;
  margin-top: var(--space-4, 16px);
  font-weight: 600;
  font-size: var(--text-sm, 0.875rem);
  transition: var(--transition-fast, all 0.15s ease);
}
.composer-advanced-trigger:hover {
  background: var(--surface3);
  border-color: var(--accent);
}

.composer-advanced-body {
  margin-top: var(--space-4, 16px);
  display: flex;
  flex-direction: column;
  gap: var(--space-4, 16px);
}

.app-integration-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4, 16px);
  padding: var(--space-4, 16px) var(--space-5, 20px);
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg, 14px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-base, all 0.2s ease);
  box-sizing: border-box;
}
.app-integration-banner::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--accent);
}
.app-integration-banner__main {
  display: flex;
  align-items: center;
  gap: var(--space-3, 14px);
  min-width: 0;
}
.app-integration-banner__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md, 12px);
  background: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-integration-banner__icon i, .app-integration-banner__icon [data-lucide] {
  width: 22px;
  height: 22px;
}
.app-integration-banner__title {
  font-weight: 700;
  font-size: var(--text-sm, 0.875rem);
  color: var(--text-primary);
  margin-bottom: 2px;
}
.app-integration-banner__desc {
  font-size: var(--text-xs, 0.8rem);
  color: var(--text-muted);
  line-height: 1.4;
}
.app-integration-banner__action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 768px) {
  .app-integration-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-3, 14px) var(--space-4, 16px);
    gap: var(--space-3, 12px);
  }
  .app-integration-banner__action {
    width: 100%;
    justify-content: flex-end;
  }
  .app-integration-banner__action .btn {
    width: 100%;
    justify-content: center;
  }
}
.app-integration-banner--shipping::before {
  background: var(--accent);
}
.app-integration-banner--shipping .app-integration-banner__icon {
  background: var(--accent-subtle);
  color: var(--accent);
}
.app-integration-banner--info::before {
  background: var(--info);
}
.app-integration-banner--info .app-integration-banner__icon {
  background: var(--info-subtle);
  color: var(--info);
}
.app-integration-banner--success::before {
  background: var(--success);
}
.app-integration-banner--success .app-integration-banner__icon {
  background: var(--success-subtle);
  color: var(--success);
}
.app-integration-banner--purple::before {
  background: var(--purple);
}
.app-integration-banner--purple .app-integration-banner__icon {
  background: var(--purple-subtle);
  color: var(--purple);
}
.app-integration-banner--teal::before, .app-integration-banner--cyan::before {
  background: var(--teal);
}
.app-integration-banner--teal .app-integration-banner__icon, .app-integration-banner--cyan .app-integration-banner__icon {
  background: var(--teal-subtle);
  color: var(--teal);
}
.app-integration-banner--compact {
  padding: var(--space-2, 10px) var(--space-3, 14px);
  gap: var(--space-2, 10px);
  border-radius: var(--radius-md, 10px);
}
.app-integration-banner--compact .app-integration-banner__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm, 8px);
}
.app-integration-banner--compact .app-integration-banner__icon i, .app-integration-banner--compact .app-integration-banner__icon [data-lucide] {
  width: 16px;
  height: 16px;
}
.app-integration-banner--compact .app-integration-banner__title {
  font-size: var(--text-xs, 0.8rem);
}
.app-integration-banner--compact .app-integration-banner__desc {
  font-size: 0.72rem;
}

.role-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 640px) {
  .role-selector {
    grid-template-columns: 1fr;
  }
}

.role-option {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg, 14px);
  padding: 14px 16px;
  cursor: pointer;
  transition: var(--transition-fast, all 0.2s cubic-bezier(0.16, 1, 0.3, 1));
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.role-option:hover {
  background: var(--surface3);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.role-option.selected {
  border-color: var(--accent);
  background: var(--accent-glow);
  box-shadow: 0 0 0 1px var(--accent);
}

.role-option-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.role-option-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.role-option-icon svg, .role-option-icon [data-lucide] {
  width: 16px;
  height: 16px;
}

.role-option-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
}

.role-option-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.perm-matrix {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.perm-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--surface2);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md, 10px);
  cursor: pointer;
  transition: var(--transition-fast, all 0.15s ease);
}
.perm-row:hover {
  background: var(--surface3);
  border-color: var(--border-hover);
}
.perm-row.checked {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.perm-cb {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.perm-row-ic {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--text-secondary);
  flex-shrink: 0;
}
.perm-row-ic svg, .perm-row-ic [data-lucide] {
  width: 16px;
  height: 16px;
}

.perm-row-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.perm-row-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.perm-row-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.invite-link-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface3);
  border: 1px dashed var(--border-medium);
  margin-top: 14px;
}
.invite-link-box .invite-link-url {
  flex: 1;
  font-family: monospace;
  font-size: 0.78rem;
  direction: ltr;
  text-align: start;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.edit-member-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--surface2);
  border-radius: var(--radius-lg, 14px);
  margin-bottom: 16px;
}

.pub-switch {
  width: 38px;
  height: 20px;
  min-width: 38px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  border: 1px solid var(--border-medium);
  position: relative;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.pub-switch .pub-switch-thumb, .pub-switch .toggle-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text-muted);
  position: absolute;
  top: 2px;
  inset-inline-start: 2px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.pub-switch.active, .pub-switch.on {
  background: var(--success);
  border-color: var(--success);
}
.pub-switch.active .pub-switch-thumb, .pub-switch.active .toggle-thumb, .pub-switch.on .pub-switch-thumb, .pub-switch.on .toggle-thumb {
  background: var(--color-white);
  inset-inline-start: 20px;
}

.pub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  background: transparent;
  border: none;
  padding: 0;
  width: auto;
  height: auto;
  white-space: nowrap;
  line-height: 1;
}
.pub-toggle span {
  user-select: none;
}
.pub-toggle:hover .pub-switch:not(.active) {
  border-color: var(--border-strong);
}

.reply-textarea {
  min-height: 110px;
  resize: vertical;
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg, 12px);
  padding: 12px 14px;
  font-size: 0.88rem;
  color: var(--text-primary);
  transition: all 0.2s ease;
}
.reply-textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

.toggle, .toggle-modern {
  position: relative;
  display: inline-block;
  cursor: pointer;
  user-select: none;
  line-height: 1;
}
.toggle input[type=checkbox], .toggle-modern input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.toggle .toggle-track, .toggle-modern .toggle-track {
  width: 38px;
  height: 20px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  border: 1px solid var(--border-medium);
  position: relative;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.toggle .toggle-track .toggle-thumb, .toggle-modern .toggle-track .toggle-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text-muted);
  position: absolute;
  top: 2px;
  inset-inline-start: 2px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.toggle input:checked + .toggle-track, .toggle-modern input:checked + .toggle-track {
  background: var(--success);
  border-color: var(--success);
}
.toggle input:checked + .toggle-track .toggle-thumb, .toggle-modern input:checked + .toggle-track .toggle-thumb {
  background: var(--color-white);
  inset-inline-start: 20px;
}
.toggle.is-toggling, .toggle-modern.is-toggling {
  opacity: 0.6;
  pointer-events: none;
}

.lang-pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.btn-lang-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface);
  border: none !important;
  cursor: pointer;
  transition: all var(--transition-fast, 0.2s ease);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}
.btn-lang-pill:hover {
  background: var(--surface3);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn-lang-pill.active {
  background: var(--surface3);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.btn-lang-pill.active .pill-name {
  color: var(--accent);
  font-weight: 850;
}
.btn-lang-pill.active .pill-code {
  background: var(--accent-subtle);
  color: var(--accent);
}
.btn-lang-pill .pill-flag {
  font-size: 1.15rem;
  line-height: 1;
}
.btn-lang-pill .pill-name {
  font-size: 0.82rem;
  font-weight: 750;
  transition: color var(--transition-fast);
}
.btn-lang-pill .pill-code {
  font-size: 0.68rem;
  font-weight: 750;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--surface2);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.lang-dir-divider {
  height: 2px;
  background: var(--surface2);
  border-radius: 1px;
  margin: 18px 0;
}

.dir-toggle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}
@media (max-width: 600px) {
  .dir-toggle-grid {
    grid-template-columns: 1fr;
  }
}

.btn-dir-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface);
  border-radius: var(--radius-md, 10px);
  border: none !important;
  cursor: pointer;
  transition: all var(--transition-fast, 0.2s ease);
  text-align: start;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}
.btn-dir-choice:hover {
  background: var(--surface3);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn-dir-choice.active {
  background: var(--surface3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.btn-dir-choice.active .dir-choice-icon {
  background: var(--accent);
  color: var(--color-white);
  box-shadow: 0 2px 8px var(--accent-subtle);
}
.btn-dir-choice.active .dir-choice-title {
  color: var(--accent);
}
.btn-dir-choice.active .choice-check {
  color: var(--accent);
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.btn-dir-choice .dir-choice-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.btn-dir-choice .dir-choice-icon svg, .btn-dir-choice .dir-choice-icon i, .btn-dir-choice .dir-choice-icon [data-lucide] {
  width: 18px;
  height: 18px;
}
.btn-dir-choice .dir-choice-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.btn-dir-choice .dir-choice-title {
  font-size: 0.85rem;
  font-weight: 750;
  color: var(--text-primary);
}
.btn-dir-choice .dir-choice-sub {
  font-size: 0.73rem;
  color: var(--text-muted);
}
.btn-dir-choice .choice-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.6);
  transition: opacity var(--transition-fast, 0.15s ease), transform var(--transition-fast, 0.15s ease);
}

.country-currency-interactive-card {
  background: var(--surface2);
  border-radius: var(--radius-md, 14px);
  padding: 16px 20px;
  margin-top: 14px;
}

.country-choice-flag {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-xs);
}

.country-choice-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.country-choice-name {
  font-size: 0.86rem;
  font-weight: 750;
  color: var(--text-primary);
}

.country-choice-currency {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
}

.country-picker-panel {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 14px;
  box-shadow: var(--shadow-xs);
}
.country-picker-panel .country-picker-search {
  margin-bottom: 12px;
}
.country-picker-panel .country-picker-list {
  max-height: 220px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  padding-inline-end: 4px;
  scrollbar-width: thin;
}
.country-picker-panel .country-picker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--surface3);
  border-radius: var(--radius-md, 10px);
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast);
  border: none;
}
.country-picker-panel .country-picker-item:hover {
  background: var(--bg-card-hover);
}
.country-picker-panel .country-picker-item.selected {
  background: var(--accent-subtle);
  color: var(--text-primary);
}
.country-picker-panel .country-picker-item .country-code-pill {
  font-size: 0.7rem;
  font-weight: 750;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-inline-start: auto;
}

.ob-form-section {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-xl, 20px);
  padding: 24px;
  margin-bottom: var(--space-5, 20px);
  box-shadow: var(--shadow-xs);
}
@media (max-width: 576px) {
  .ob-form-section {
    padding: 18px 16px;
  }
}
.ob-form-section .ob-section-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.ob-form-section .ob-section-header .ob-sec-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg, 14px);
  background: var(--surface2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ob-form-section .ob-section-header .ob-sec-icon-box svg, .ob-form-section .ob-section-header .ob-sec-icon-box i, .ob-form-section .ob-section-header .ob-sec-icon-box [data-lucide] {
  width: 22px;
  height: 22px;
}
.ob-form-section .ob-section-header .ob-sec-header-text {
  flex: 1;
}
.ob-form-section .ob-section-header .ob-sec-header-text .ob-sec-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}
.ob-form-section .ob-section-header .ob-sec-header-text .ob-sec-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}
.ob-form-section .ob-section-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.slug-section-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.slug-section-wrap .slug-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.slug-section-wrap .slug-input-card {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 14px);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s ease;
  direction: ltr !important;
}
.slug-section-wrap .slug-input-card:focus-within {
  box-shadow: 0 0 0 2px var(--accent);
}
.slug-section-wrap .slug-input-card .slug-host-prefix {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
  direction: ltr !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.slug-section-wrap .slug-input-card .slug-host-prefix .prefix-lock-ic {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.slug-section-wrap .slug-input-card .slug-real-input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
  flex: 1;
  min-width: 0;
  direction: ltr !important;
  text-align: left !important;
}
.slug-section-wrap .slug-input-card .slug-real-input::-webkit-search-decoration, .slug-section-wrap .slug-input-card .slug-real-input::-webkit-search-cancel-button, .slug-section-wrap .slug-input-card .slug-real-input::-webkit-search-results-button, .slug-section-wrap .slug-input-card .slug-real-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  display: none;
}
.slug-section-wrap .slug-input-card .slug-real-input:-webkit-autofill, .slug-section-wrap .slug-input-card .slug-real-input:-webkit-autofill:hover, .slug-section-wrap .slug-input-card .slug-real-input:-webkit-autofill:focus, .slug-section-wrap .slug-input-card .slug-real-input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--text-primary) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--surface2) inset !important;
  box-shadow: 0 0 0 1000px var(--surface2) inset !important;
  transition: background-color 5000s ease-in-out 0s;
}
.slug-section-wrap .slug-input-card .slug-status-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  direction: rtl;
}
.slug-section-wrap .slug-input-card .slug-status-wrapper .domain-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full, 9999px);
}
.slug-section-wrap .slug-input-card .slug-status-wrapper .domain-status-chip.checking {
  background: var(--surface3);
  color: var(--text-muted);
}
.slug-section-wrap .slug-input-card .slug-status-wrapper .domain-status-chip.ok {
  background: var(--success-subtle);
  color: var(--success);
}
.slug-section-wrap .slug-input-card .slug-status-wrapper .domain-status-chip.err {
  background: var(--danger-subtle);
  color: var(--danger);
  padding: 3px 6px;
}
.slug-section-wrap .slug-field-feedback {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--danger);
  background: var(--danger-subtle);
  border: none !important;
  border-radius: var(--radius-md, 10px);
  padding: 8px 14px;
  margin-top: 8px;
  direction: rtl;
  line-height: 1.4;
}
.slug-section-wrap .slug-field-feedback i, .slug-section-wrap .slug-field-feedback svg, .slug-section-wrap .slug-field-feedback [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--danger);
  flex-shrink: 0;
}
.slug-section-wrap .btn-auto-slug {
  font-size: 0.75rem;
  font-weight: 750;
  color: var(--text-primary);
  background: var(--surface3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm, 8px);
  padding: 5px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast, 0.2s ease);
}
.slug-section-wrap .btn-auto-slug i, .slug-section-wrap .btn-auto-slug svg, .slug-section-wrap .btn-auto-slug [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--text-secondary);
  transition: color var(--transition-fast, 0.2s ease);
}
.slug-section-wrap .btn-auto-slug:hover {
  background: var(--surface2);
  border-color: var(--border-medium);
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.slug-section-wrap .btn-auto-slug:hover i, .slug-section-wrap .btn-auto-slug:hover svg, .slug-section-wrap .btn-auto-slug:hover [data-lucide] {
  color: var(--text-primary);
}
.slug-section-wrap .btn-auto-slug:active {
  transform: translateY(0);
}
.slug-section-wrap .slug-hint-pulse {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.country-picker-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.country-picker-group .country-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (max-width: 640px) {
  .country-picker-group .country-picker-head {
    flex-direction: column;
    align-items: stretch;
  }
}
.country-picker-group .country-search-box {
  position: relative;
  flex: 1;
  max-width: 280px;
}
@media (max-width: 640px) {
  .country-picker-group .country-search-box {
    max-width: 100%;
  }
}
.country-picker-group .country-search-box .search-ic {
  position: absolute;
  inset-inline-start: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}
.country-picker-group .country-search-box .country-search-input {
  width: 100%;
  padding-inline-start: 36px;
  padding-inline-end: 36px;
  background: var(--surface2);
  border: none;
  border-radius: var(--radius-full, 9999px);
  min-height: 38px;
  font-size: 0.84rem;
  color: var(--text-primary);
}
.country-picker-group .country-search-box .country-search-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent);
}
.country-picker-group .country-search-box .search-clear-btn {
  position: absolute;
  inset-inline-end: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full, 9999px);
  transition: all var(--transition-fast, 0.15s ease);
}
.country-picker-group .country-search-box .search-clear-btn:hover {
  color: var(--text-primary);
  background: var(--surface3);
}
.country-picker-group .country-search-box .search-clear-btn svg, .country-picker-group .country-search-box .search-clear-btn i, .country-picker-group .country-search-box .search-clear-btn [data-lucide] {
  width: 14px;
  height: 14px;
}

.country-empty-msg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px 20px;
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  color: var(--text-muted);
  font-size: var(--text-sm, 0.88rem);
  text-align: center;
  width: 100%;
}
.country-empty-msg svg, .country-empty-msg i, .country-empty-msg [data-lucide] {
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  opacity: 0.6;
}

.region-filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.region-filter-bar::-webkit-scrollbar {
  display: none;
}
.region-filter-bar .region-pill {
  border: none;
  background: var(--surface2);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.region-filter-bar .region-pill .pill-count {
  font-size: 0.68rem;
  font-family: var(--font-mono, monospace);
  padding: 1px 6px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface);
  color: var(--text-muted);
}
.region-filter-bar .region-pill:hover {
  background: var(--surface3);
}
.region-filter-bar .region-pill.active {
  background: var(--accent);
  color: var(--text-inverse);
}
.region-filter-bar .region-pill.active .pill-count {
  background: var(--accent-subtle);
  color: var(--text-inverse);
}

.lang-dir-choice-studio {
  background: var(--surface2);
  border-radius: var(--radius-lg, 14px);
  padding: 16px;
}
.lang-dir-choice-studio .choice-card {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-md, 12px);
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-xs);
}
.lang-dir-choice-studio .choice-card:hover {
  background: var(--surface3);
  transform: translateY(-1px);
}
.lang-dir-choice-studio .choice-card.active, .lang-dir-choice-studio .choice-card.selected {
  box-shadow: 0 0 0 2px var(--accent);
}
.lang-dir-choice-studio .choice-card.active .choice-title, .lang-dir-choice-studio .choice-card.selected .choice-title {
  color: var(--text-primary);
  font-weight: 800;
}
.lang-dir-choice-studio .choice-card .choice-title {
  font-size: 0.9rem;
  font-weight: 750;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.lang-dir-choice-studio .choice-card .choice-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.input-icon-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}
.input-icon-wrap .input-icon,
.input-icon-wrap .input-leading-icon {
  position: absolute;
  inset-inline-start: 14px;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 2;
  transition: color var(--transition-fast, 0.2s ease);
}
.input-icon-wrap .form-control,
.input-icon-wrap .input {
  padding-inline-start: 38px !important;
  width: 100%;
}
.input-icon-wrap:focus-within .input-icon,
.input-icon-wrap:focus-within .input-leading-icon {
  color: var(--accent);
}

.channel-field-input-box {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--border-medium) !important;
  border-radius: var(--radius-lg, 12px);
  min-height: 46px;
  padding-inline: 14px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast, 0.2s ease);
  width: 100%;
}
.channel-field-input-box:focus-within {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-subtle) !important;
}
.channel-field-input-box .channel-field-icon {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  margin-inline-end: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.channel-field-input-box .channel-field-icon i, .channel-field-input-box .channel-field-icon svg, .channel-field-input-box .channel-field-icon [data-lucide] {
  width: 18px;
  height: 18px;
}
.channel-field-input-box .channel-field-control {
  flex: 1 1 auto;
  min-width: 0;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  width: 100%;
  height: 42px;
  font-size: 0.9rem;
  color: var(--text-primary);
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}
.channel-field-input-box .channel-field-control::placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}
.channel-field-input-box .channel-field-control:focus {
  outline: none;
}

.icon-2xs, svg.icon-2xs, i.icon-2xs {
  width: 12px !important;
  height: 12px !important;
  min-width: 12px;
  min-height: 12px;
}

.icon-xs, svg.icon-xs, i.icon-xs {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px;
  min-height: 14px;
}

.icon-14, svg.icon-14, i.icon-14 {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px;
  min-height: 14px;
}

.inline-icon {
  display: inline-block;
  vertical-align: middle;
}

.apps-filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}
.apps-filter-toolbar .region-filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.apps-filter-toolbar .region-filter-bar::-webkit-scrollbar {
  display: none;
}
.apps-filter-toolbar .region-filter-bar .region-pill {
  flex-shrink: 0;
  white-space: nowrap;
}
.apps-filter-toolbar .country-search-box {
  flex-shrink: 0;
  width: 280px;
  position: relative;
}
@media (max-width: 991px) {
  .apps-filter-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .apps-filter-toolbar .region-filter-bar {
    width: 100%;
  }
  .apps-filter-toolbar .country-search-box {
    width: 100%;
    max-width: 100%;
  }
}

.country-search-box {
  position: relative;
  flex: 1;
  max-width: 280px;
}
@media (max-width: 640px) {
  .country-search-box {
    max-width: 100%;
  }
}
.country-search-box .search-ic {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}
.country-search-box .country-search-input {
  width: 100%;
  padding-inline-start: 42px !important;
  padding-inline-end: 38px !important;
  background: var(--surface2) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-full, 9999px);
  min-height: 40px;
  height: 40px;
  font-size: 0.84rem;
  color: var(--text-primary) !important;
  text-align: start;
  direction: rtl;
  transition: all var(--transition-fast, 0.2s ease);
}
.country-search-box .country-search-input::-webkit-search-decoration, .country-search-box .country-search-input::-webkit-search-cancel-button, .country-search-box .country-search-input::-webkit-search-results-button, .country-search-box .country-search-input::-webkit-search-results-decoration {
  display: none !important;
  -webkit-appearance: none !important;
}
.country-search-box .country-search-input::placeholder {
  color: var(--text-muted);
  direction: rtl;
  text-align: start;
}
.country-search-box .country-search-input:focus {
  outline: none;
  background: var(--surface3) !important;
  border-color: var(--border-medium) !important;
  box-shadow: 0 0 0 2px var(--accent-subtle) !important;
}
.country-search-box .search-clear-btn {
  position: absolute;
  inset-inline-end: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full, 9999px);
  transition: all var(--transition-fast, 0.15s ease);
}
.country-search-box .search-clear-btn:hover {
  color: var(--text-primary);
  background: var(--surface3);
}
.country-search-box .search-clear-btn svg, .country-search-box .search-clear-btn i, .country-search-box .search-clear-btn [data-lucide] {
  width: 14px;
  height: 14px;
}

.cascader-back-icon {
  display: inline-block;
  transition: transform var(--transition-fast);
}

[dir=rtl] .cascader-back-icon,
html[dir=rtl] .cascader-back-icon {
  transform: scaleX(-1);
}

.card, .settings-card, .card--section {
  background: var(--surface, var(--bg-card));
  border: none !important;
  border-radius: var(--radius-2xl, 28px);
  padding: 1.5rem 1.8rem;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 1;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color var(--transition-fast), box-shadow 0.25s ease;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.card:has(.toolbar), .card:has(.filters-bar), .card:has(.filter-toolbar), .card:has(.filters-panel), .card.card--compact:has(.toolbar), .settings-card:has(.toolbar), .settings-card:has(.filters-bar), .settings-card:has(.filter-toolbar), .settings-card:has(.filters-panel), .settings-card.card--compact:has(.toolbar), .card--section:has(.toolbar), .card--section:has(.filters-bar), .card--section:has(.filter-toolbar), .card--section:has(.filters-panel), .card--section.card--compact:has(.toolbar) {
  z-index: 15;
}
.card.is-elevated, .card:has(.is-open), .card:has(.dropdown.is-open), .card:has(.dropdown.open), .card:has(.custom-select-dropdown-container.is-open), .card:has(.btn-custom-select.is-open), .card:has(.tpb-dropup.is-open), .settings-card.is-elevated, .settings-card:has(.is-open), .settings-card:has(.dropdown.is-open), .settings-card:has(.dropdown.open), .settings-card:has(.custom-select-dropdown-container.is-open), .settings-card:has(.btn-custom-select.is-open), .settings-card:has(.tpb-dropup.is-open), .card--section.is-elevated, .card--section:has(.is-open), .card--section:has(.dropdown.is-open), .card--section:has(.dropdown.open), .card--section:has(.custom-select-dropdown-container.is-open), .card--section:has(.btn-custom-select.is-open), .card--section:has(.tpb-dropup.is-open) {
  z-index: 150 !important;
}
@media (max-width: 768px) {
  .card, .settings-card, .card--section {
    padding: 14px 16px;
    border-radius: var(--radius-xl, 20px);
  }
}
.card:hover, .settings-card:hover, .card--section:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.card.bg-danger-light, .settings-card.bg-danger-light, .card--section.bg-danger-light {
  background: var(--danger-subtle);
  border: 1px solid var(--danger-border) !important;
}
.card.bg-danger-light:hover, .settings-card.bg-danger-light:hover, .card--section.bg-danger-light:hover {
  border-color: var(--danger) !important;
  box-shadow: 0 8px 30px -4px var(--danger-subtle);
}

.card__header, .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3, 12px);
  margin-bottom: var(--space-5, 20px);
  padding: 0;
  border-bottom: none !important;
  background: transparent;
}

.card__footer, .card-footer, .content-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-4, 16px);
  padding-top: var(--space-3, 14px);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle, var(--border));
  position: relative;
}
.section-head::after {
  content: "";
  position: absolute;
  bottom: -1px;
  inset-inline-start: 0;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  border-radius: 2px;
}
.section-head .section-icon-box,
.section-head > span:first-child {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-subtle) 0%, transparent 100%);
  border: 1.5px solid var(--accent-glow);
  box-shadow: 0 2px 10px var(--accent-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.section-head .section-icon-box i, .section-head .section-icon-box svg,
.section-head > span:first-child i,
.section-head > span:first-child svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  stroke-width: 2.2px;
}
.section-head .section-icon-box.danger-icon-box, .section-head .section-icon-box > .text-danger,
.section-head > span:first-child.danger-icon-box,
.section-head > span:first-child > .text-danger {
  color: var(--danger) !important;
}
.section-head .danger-icon-box {
  background: var(--danger-subtle) !important;
  border-color: var(--danger-border) !important;
  box-shadow: 0 2px 10px var(--danger-border) !important;
}
.section-head .danger-icon-box i, .section-head .danger-icon-box svg {
  color: var(--danger) !important;
}
.section-head .section-head-content {
  flex: 1;
  min-width: 0;
}
.section-head .section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary, var(--text));
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.35;
}
.section-head .section-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.5;
}

.card__title, .card-title {
  font-size: var(--text-base, 0.96rem);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}
.card__title svg, .card__title i, .card__title [data-lucide], .card-title svg, .card-title i, .card-title [data-lucide] {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.card__subtitle, .card-subtitle {
  font-size: var(--text-xs, 0.78rem);
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 3px;
  display: block;
}

.card__description {
  font-size: var(--text-sm, 0.85rem);
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 4px;
}

.card__meta {
  font-size: var(--text-xs, 0.76rem);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
  margin-top: 6px;
}

.card__actions, .card-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
  flex-wrap: wrap;
}

.card__body, .card-body {
  padding: 0;
  background: transparent;
  color: inherit;
}

.card__footer, .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3, 12px);
  margin-top: var(--space-4, 16px);
  padding-top: var(--space-3, 12px);
  border-top: 1px solid var(--border-subtle);
  background: transparent;
}

.card--highlight, .card-highlight {
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.card--danger, .card-danger {
  border-color: var(--danger-border);
  background: linear-gradient(180deg, var(--danger-subtle) 0%, var(--bg-card) 60px);
}
.card--danger .card__header, .card--danger .card-header, .card-danger .card__header, .card-danger .card-header {
  border-bottom-color: var(--danger-border);
}

.card--success, .card-success {
  border-color: var(--success-border);
  background: linear-gradient(180deg, var(--success-subtle) 0%, var(--bg-card) 60px);
}

.card--warning, .card-warning {
  border-color: var(--warning-border);
  background: linear-gradient(180deg, var(--warning-subtle) 0%, var(--bg-card) 60px);
}

.card--muted, .card-muted {
  background: var(--surface2);
  border-color: var(--border-subtle);
}

.card--elevated {
  box-shadow: var(--shadow-md);
}
.card--elevated:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card--flat {
  box-shadow: none;
  background: transparent;
  border-color: var(--border-subtle);
}

.card--interactive {
  cursor: pointer;
}
.card--interactive:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-card {
  background: var(--bg-card);
  border: none !important;
  border-radius: 28px;
  padding: 26px 28px 24px;
  min-height: 200px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.stat-card:hover .stat-drilldown, .stat-card:hover .stat-chevron {
  color: var(--text-primary);
  transform: translateX(-4px);
}
.stat-card--hero, .stat-card.stat-card--hero {
  background: var(--stat-hero-bg) !important;
  border: none !important;
  color: var(--stat-hero-text) !important;
  box-shadow: var(--stat-hero-shadow) !important;
}
.stat-card--hero .stat-card-icon, .stat-card--hero .stat-icon, .stat-card.stat-card--hero .stat-card-icon, .stat-card.stat-card--hero .stat-icon {
  background: var(--stat-hero-icon-bg) !important;
  color: var(--stat-hero-text) !important;
  border: none !important;
}
.stat-card--hero .stat-card-icon svg, .stat-card--hero .stat-card-icon i, .stat-card--hero .stat-card-icon [data-lucide], .stat-card--hero .stat-icon svg, .stat-card--hero .stat-icon i, .stat-card--hero .stat-icon [data-lucide], .stat-card.stat-card--hero .stat-card-icon svg, .stat-card.stat-card--hero .stat-card-icon i, .stat-card.stat-card--hero .stat-card-icon [data-lucide], .stat-card.stat-card--hero .stat-icon svg, .stat-card.stat-card--hero .stat-icon i, .stat-card.stat-card--hero .stat-icon [data-lucide] {
  color: var(--stat-hero-text) !important;
}
.stat-card--hero .stat-card-title, .stat-card--hero .stat-title, .stat-card.stat-card--hero .stat-card-title, .stat-card.stat-card--hero .stat-title {
  color: var(--stat-hero-text) !important;
  font-weight: 700;
}
.stat-card--hero .stat-card-subtitle, .stat-card--hero .stat-subtitle, .stat-card.stat-card--hero .stat-card-subtitle, .stat-card.stat-card--hero .stat-subtitle {
  color: var(--stat-hero-muted) !important;
}
.stat-card--hero .stat-drilldown, .stat-card--hero .stat-chevron, .stat-card.stat-card--hero .stat-drilldown, .stat-card.stat-card--hero .stat-chevron {
  color: var(--stat-hero-muted) !important;
}
.stat-card--hero:hover .stat-drilldown, .stat-card--hero:hover .stat-chevron, .stat-card.stat-card--hero:hover .stat-drilldown, .stat-card.stat-card--hero:hover .stat-chevron {
  color: var(--stat-hero-text) !important;
}
.stat-card--hero .stat-card-val, .stat-card--hero .stat-val, .stat-card--hero .stat-value, .stat-card.stat-card--hero .stat-card-val, .stat-card.stat-card--hero .stat-val, .stat-card.stat-card--hero .stat-value {
  color: var(--stat-hero-text) !important;
}
.stat-card--hero .stat-trend-text.text-success, .stat-card--hero .stat-trend-text.positive, .stat-card--hero .stat-trend-text.trend-positive, .stat-card--hero .stat-trend-text.trend-up, .stat-card--hero .stat-growth-pill.text-success, .stat-card--hero .stat-growth-pill.positive, .stat-card--hero .stat-growth-pill.trend-positive, .stat-card--hero .stat-growth-pill.trend-up, .stat-card.stat-card--hero .stat-trend-text.text-success, .stat-card.stat-card--hero .stat-trend-text.positive, .stat-card.stat-card--hero .stat-trend-text.trend-positive, .stat-card.stat-card--hero .stat-trend-text.trend-up, .stat-card.stat-card--hero .stat-growth-pill.text-success, .stat-card.stat-card--hero .stat-growth-pill.positive, .stat-card.stat-card--hero .stat-growth-pill.trend-positive, .stat-card.stat-card--hero .stat-growth-pill.trend-up {
  color: var(--success) !important;
}
.stat-card--hero .stat-trend-text.text-danger, .stat-card--hero .stat-trend-text.negative, .stat-card--hero .stat-trend-text.trend-negative, .stat-card--hero .stat-trend-text.trend-down, .stat-card--hero .stat-growth-pill.text-danger, .stat-card--hero .stat-growth-pill.negative, .stat-card--hero .stat-growth-pill.trend-negative, .stat-card--hero .stat-growth-pill.trend-down, .stat-card.stat-card--hero .stat-trend-text.text-danger, .stat-card.stat-card--hero .stat-trend-text.negative, .stat-card.stat-card--hero .stat-trend-text.trend-negative, .stat-card.stat-card--hero .stat-trend-text.trend-down, .stat-card.stat-card--hero .stat-growth-pill.text-danger, .stat-card.stat-card--hero .stat-growth-pill.negative, .stat-card.stat-card--hero .stat-growth-pill.trend-negative, .stat-card.stat-card--hero .stat-growth-pill.trend-down {
  color: var(--danger) !important;
}
.stat-card--hero .stat-trend-text.text-muted, .stat-card--hero .stat-trend-text.neutral, .stat-card--hero .stat-trend-text.trend-neutral, .stat-card--hero .stat-growth-pill.text-muted, .stat-card--hero .stat-growth-pill.neutral, .stat-card--hero .stat-growth-pill.trend-neutral, .stat-card.stat-card--hero .stat-trend-text.text-muted, .stat-card.stat-card--hero .stat-trend-text.neutral, .stat-card.stat-card--hero .stat-trend-text.trend-neutral, .stat-card.stat-card--hero .stat-growth-pill.text-muted, .stat-card.stat-card--hero .stat-growth-pill.neutral, .stat-card.stat-card--hero .stat-growth-pill.trend-neutral {
  color: var(--stat-hero-muted) !important;
}
.stat-card--hero .stat-secondary-text, .stat-card--hero .stat-context, .stat-card.stat-card--hero .stat-secondary-text, .stat-card.stat-card--hero .stat-context {
  color: var(--stat-hero-muted) !important;
}
.stat-card--hero:hover, .stat-card.stat-card--hero:hover {
  box-shadow: var(--stat-hero-shadow-hover) !important;
  transform: translateY(-2px);
}
.stat-card .stat-card-header, .stat-card .stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 4px;
}
.stat-card .stat-card-identity, .stat-card .stat-info-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.stat-card .stat-card-icon, .stat-card .stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: none;
}
.stat-card .stat-card-icon svg, .stat-card .stat-card-icon i, .stat-card .stat-card-icon [data-lucide], .stat-card .stat-icon svg, .stat-card .stat-icon i, .stat-card .stat-icon [data-lucide] {
  width: 22px;
  height: 22px;
  stroke-width: 2;
  color: var(--text-primary);
}
.stat-card .stat-card-icon--blue, .stat-card .stat-card-icon.icon-blue, .stat-card .stat-icon--blue, .stat-card .stat-icon.icon-blue {
  background: var(--info-subtle);
}
.stat-card .stat-card-icon--blue svg, .stat-card .stat-card-icon--blue i, .stat-card .stat-card-icon--blue [data-lucide], .stat-card .stat-card-icon.icon-blue svg, .stat-card .stat-card-icon.icon-blue i, .stat-card .stat-card-icon.icon-blue [data-lucide], .stat-card .stat-icon--blue svg, .stat-card .stat-icon--blue i, .stat-card .stat-icon--blue [data-lucide], .stat-card .stat-icon.icon-blue svg, .stat-card .stat-icon.icon-blue i, .stat-card .stat-icon.icon-blue [data-lucide] {
  color: var(--info);
}
.stat-card .stat-card-icon--amber, .stat-card .stat-card-icon.icon-warning, .stat-card .stat-card-icon.icon-amber, .stat-card .stat-icon--amber, .stat-card .stat-icon.icon-warning, .stat-card .stat-icon.icon-amber {
  background: var(--warning-subtle);
}
.stat-card .stat-card-icon--amber svg, .stat-card .stat-card-icon--amber i, .stat-card .stat-card-icon--amber [data-lucide], .stat-card .stat-card-icon.icon-warning svg, .stat-card .stat-card-icon.icon-warning i, .stat-card .stat-card-icon.icon-warning [data-lucide], .stat-card .stat-card-icon.icon-amber svg, .stat-card .stat-card-icon.icon-amber i, .stat-card .stat-card-icon.icon-amber [data-lucide], .stat-card .stat-icon--amber svg, .stat-card .stat-icon--amber i, .stat-card .stat-icon--amber [data-lucide], .stat-card .stat-icon.icon-warning svg, .stat-card .stat-icon.icon-warning i, .stat-card .stat-icon.icon-warning [data-lucide], .stat-card .stat-icon.icon-amber svg, .stat-card .stat-icon.icon-amber i, .stat-card .stat-icon.icon-amber [data-lucide] {
  color: var(--warning);
}
.stat-card .stat-card-icon--teal, .stat-card .stat-card-icon.icon-teal, .stat-card .stat-icon--teal, .stat-card .stat-icon.icon-teal {
  background: var(--teal-subtle);
}
.stat-card .stat-card-icon--teal svg, .stat-card .stat-card-icon--teal i, .stat-card .stat-card-icon--teal [data-lucide], .stat-card .stat-card-icon.icon-teal svg, .stat-card .stat-card-icon.icon-teal i, .stat-card .stat-card-icon.icon-teal [data-lucide], .stat-card .stat-icon--teal svg, .stat-card .stat-icon--teal i, .stat-card .stat-icon--teal [data-lucide], .stat-card .stat-icon.icon-teal svg, .stat-card .stat-icon.icon-teal i, .stat-card .stat-icon.icon-teal [data-lucide] {
  color: var(--teal);
}
.stat-card .stat-card-icon--purple, .stat-card .stat-card-icon.icon-purple, .stat-card .stat-icon--purple, .stat-card .stat-icon.icon-purple {
  background: var(--purple-subtle);
}
.stat-card .stat-card-icon--purple svg, .stat-card .stat-card-icon--purple i, .stat-card .stat-card-icon--purple [data-lucide], .stat-card .stat-card-icon.icon-purple svg, .stat-card .stat-card-icon.icon-purple i, .stat-card .stat-card-icon.icon-purple [data-lucide], .stat-card .stat-icon--purple svg, .stat-card .stat-icon--purple i, .stat-card .stat-icon--purple [data-lucide], .stat-card .stat-icon.icon-purple svg, .stat-card .stat-icon.icon-purple i, .stat-card .stat-icon.icon-purple [data-lucide] {
  color: var(--purple);
}
.stat-card .stat-card-icon--emerald, .stat-card .stat-card-icon.icon-success, .stat-card .stat-card-icon.icon-emerald, .stat-card .stat-icon--emerald, .stat-card .stat-icon.icon-success, .stat-card .stat-icon.icon-emerald {
  background: var(--success-subtle);
}
.stat-card .stat-card-icon--emerald svg, .stat-card .stat-card-icon--emerald i, .stat-card .stat-card-icon--emerald [data-lucide], .stat-card .stat-card-icon.icon-success svg, .stat-card .stat-card-icon.icon-success i, .stat-card .stat-card-icon.icon-success [data-lucide], .stat-card .stat-card-icon.icon-emerald svg, .stat-card .stat-card-icon.icon-emerald i, .stat-card .stat-card-icon.icon-emerald [data-lucide], .stat-card .stat-icon--emerald svg, .stat-card .stat-icon--emerald i, .stat-card .stat-icon--emerald [data-lucide], .stat-card .stat-icon.icon-success svg, .stat-card .stat-icon.icon-success i, .stat-card .stat-icon.icon-success [data-lucide], .stat-card .stat-icon.icon-emerald svg, .stat-card .stat-icon.icon-emerald i, .stat-card .stat-icon.icon-emerald [data-lucide] {
  color: var(--success);
}
.stat-card .stat-card-icon--rose, .stat-card .stat-card-icon.icon-rose, .stat-card .stat-icon--rose, .stat-card .stat-icon.icon-rose {
  background: var(--rose-subtle);
}
.stat-card .stat-card-icon--rose svg, .stat-card .stat-card-icon--rose i, .stat-card .stat-card-icon--rose [data-lucide], .stat-card .stat-card-icon.icon-rose svg, .stat-card .stat-card-icon.icon-rose i, .stat-card .stat-card-icon.icon-rose [data-lucide], .stat-card .stat-icon--rose svg, .stat-card .stat-icon--rose i, .stat-card .stat-icon--rose [data-lucide], .stat-card .stat-icon.icon-rose svg, .stat-card .stat-icon.icon-rose i, .stat-card .stat-icon.icon-rose [data-lucide] {
  color: var(--rose);
}
.stat-card .stat-card-icon--danger, .stat-card .stat-card-icon.icon-danger, .stat-card .stat-icon--danger, .stat-card .stat-icon.icon-danger {
  background: var(--danger-subtle);
}
.stat-card .stat-card-icon--danger svg, .stat-card .stat-card-icon--danger i, .stat-card .stat-card-icon--danger [data-lucide], .stat-card .stat-card-icon.icon-danger svg, .stat-card .stat-card-icon.icon-danger i, .stat-card .stat-card-icon.icon-danger [data-lucide], .stat-card .stat-icon--danger svg, .stat-card .stat-icon--danger i, .stat-card .stat-icon--danger [data-lucide], .stat-card .stat-icon.icon-danger svg, .stat-card .stat-icon.icon-danger i, .stat-card .stat-icon.icon-danger [data-lucide] {
  color: var(--danger);
}
.stat-card .stat-card-meta, .stat-card .stat-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-card .stat-card-title, .stat-card .stat-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}
.stat-card .stat-card-subtitle, .stat-card .stat-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}
.stat-card .stat-drilldown, .stat-card .stat-chevron {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  text-decoration: none;
}
.stat-card .stat-drilldown svg, .stat-card .stat-drilldown [data-lucide], .stat-card .stat-chevron svg, .stat-card .stat-chevron [data-lucide] {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}
.stat-card .stat-drilldown:hover, .stat-card .stat-chevron:hover {
  color: var(--text-primary);
}
.stat-card .stat-card-val, .stat-card .stat-val, .stat-card .stat-value {
  font-size: clamp(1.75rem, 2.2vw, 2.25rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 18px 0 12px;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stat-card .progress-track {
  width: 100%;
  height: 8px;
  background: var(--surface2);
  border-radius: var(--radius-full, 9999px);
  overflow: hidden;
  margin: 10px 0 12px;
}
.stat-card .progress-fill {
  height: 100%;
  border-radius: var(--radius-full, 9999px);
  background: var(--accent);
  transition: width 0.4s ease;
}
.stat-card .stat-card-footer, .stat-card .stat-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.stat-card .stat-trend-text, .stat-card .stat-growth-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: var(--text-primary);
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.stat-card .stat-trend-text svg, .stat-card .stat-trend-text [data-lucide], .stat-card .stat-growth-pill svg, .stat-card .stat-growth-pill [data-lucide] {
  width: 16px !important;
  height: 16px !important;
  stroke-width: 2.5 !important;
}
.stat-card .stat-trend-text.text-success, .stat-card .stat-trend-text.positive, .stat-card .stat-trend-text.trend-positive, .stat-card .stat-trend-text.trend-up, .stat-card .stat-growth-pill.text-success, .stat-card .stat-growth-pill.positive, .stat-card .stat-growth-pill.trend-positive, .stat-card .stat-growth-pill.trend-up {
  color: var(--success) !important;
}
.stat-card .stat-trend-text.text-danger, .stat-card .stat-trend-text.negative, .stat-card .stat-trend-text.trend-negative, .stat-card .stat-trend-text.trend-down, .stat-card .stat-growth-pill.text-danger, .stat-card .stat-growth-pill.negative, .stat-card .stat-growth-pill.trend-negative, .stat-card .stat-growth-pill.trend-down {
  color: var(--danger) !important;
}
.stat-card .stat-trend-text.text-muted, .stat-card .stat-trend-text.neutral, .stat-card .stat-trend-text.trend-neutral, .stat-card .stat-growth-pill.text-muted, .stat-card .stat-growth-pill.neutral, .stat-card .stat-growth-pill.trend-neutral {
  color: var(--text-muted) !important;
}
.stat-card .stat-secondary-text, .stat-card .stat-context {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .stat-card {
    padding: 20px 20px;
    border-radius: 20px;
    min-height: 140px;
  }
  .stat-card .stat-card-val, .stat-card .stat-val, .stat-card .stat-value {
    font-size: 1.65rem;
    margin: 14px 0 10px;
  }
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4, 16px);
  width: 100%;
  margin-bottom: var(--space-5, 20px);
}
@media (max-width: 768px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2, 8px);
  }
}

.tier-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md, 10px);
  padding: var(--space-5, 20px);
  display: flex;
  flex-direction: column;
  gap: var(--space-3, 12px);
}
.tier-widget .tier-badge {
  font-size: var(--text-2xs, 0.72rem);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs, 4px);
}

.metric-box, .analytics-metric-box {
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 12px);
  padding: var(--space-3, 12px) var(--space-4, 16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  min-width: 0;
  box-sizing: border-box;
  transition: var(--transition-fast);
}
@media (max-width: 480px) {
  .metric-box, .analytics-metric-box {
    padding: 10px 12px;
  }
}
.metric-box__header, .metric-box .metric-box__header, .metric-box__title, .metric-box .metric-box__title, .metric-box__label, .metric-box .metric-box__label, .analytics-metric-box__header, .analytics-metric-box .metric-box__header, .analytics-metric-box__title, .analytics-metric-box .metric-box__title, .analytics-metric-box__label, .analytics-metric-box .metric-box__label {
  font-size: var(--text-xs, 0.78rem);
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
.metric-box__header svg, .metric-box__header [data-lucide], .metric-box__header i, .metric-box .metric-box__header svg, .metric-box .metric-box__header [data-lucide], .metric-box .metric-box__header i, .metric-box__title svg, .metric-box__title [data-lucide], .metric-box__title i, .metric-box .metric-box__title svg, .metric-box .metric-box__title [data-lucide], .metric-box .metric-box__title i, .metric-box__label svg, .metric-box__label [data-lucide], .metric-box__label i, .metric-box .metric-box__label svg, .metric-box .metric-box__label [data-lucide], .metric-box .metric-box__label i, .analytics-metric-box__header svg, .analytics-metric-box__header [data-lucide], .analytics-metric-box__header i, .analytics-metric-box .metric-box__header svg, .analytics-metric-box .metric-box__header [data-lucide], .analytics-metric-box .metric-box__header i, .analytics-metric-box__title svg, .analytics-metric-box__title [data-lucide], .analytics-metric-box__title i, .analytics-metric-box .metric-box__title svg, .analytics-metric-box .metric-box__title [data-lucide], .analytics-metric-box .metric-box__title i, .analytics-metric-box__label svg, .analytics-metric-box__label [data-lucide], .analytics-metric-box__label i, .analytics-metric-box .metric-box__label svg, .analytics-metric-box .metric-box__label [data-lucide], .analytics-metric-box .metric-box__label i {
  width: 15px !important;
  height: 15px !important;
  stroke-width: 2.2 !important;
  flex-shrink: 0;
}
.metric-box__value, .metric-box .metric-box__value, .analytics-metric-box__value, .analytics-metric-box .metric-box__value {
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.metric-box--success, .analytics-metric-box--success {
  background: var(--success-subtle);
  border-color: var(--success-border);
}
.metric-box--success .metric-box__label, .metric-box--success__label, .metric-box--success .metric-box__title, .metric-box--success__title, .analytics-metric-box--success .metric-box__label, .analytics-metric-box--success__label, .analytics-metric-box--success .metric-box__title, .analytics-metric-box--success__title {
  color: var(--success);
}
.metric-box--success .metric-box__value, .metric-box--success__value, .analytics-metric-box--success .metric-box__value, .analytics-metric-box--success__value {
  color: var(--success);
}
.metric-box--success svg, .metric-box--success [data-lucide], .metric-box--success i, .analytics-metric-box--success svg, .analytics-metric-box--success [data-lucide], .analytics-metric-box--success i {
  color: var(--success) !important;
}
.metric-box--danger, .analytics-metric-box--danger {
  background: var(--danger-subtle);
  border-color: var(--danger-border);
}
.metric-box--danger .metric-box__label, .metric-box--danger__label, .metric-box--danger .metric-box__title, .metric-box--danger__title, .analytics-metric-box--danger .metric-box__label, .analytics-metric-box--danger__label, .analytics-metric-box--danger .metric-box__title, .analytics-metric-box--danger__title {
  color: var(--danger);
}
.metric-box--danger .metric-box__value, .metric-box--danger__value, .analytics-metric-box--danger .metric-box__value, .analytics-metric-box--danger__value {
  color: var(--danger);
}
.metric-box--danger svg, .metric-box--danger [data-lucide], .metric-box--danger i, .analytics-metric-box--danger svg, .analytics-metric-box--danger [data-lucide], .analytics-metric-box--danger i {
  color: var(--danger) !important;
}
.metric-box--warning, .analytics-metric-box--warning {
  background: var(--warning-subtle);
  border-color: var(--warning-border);
}
.metric-box--warning .metric-box__label, .metric-box--warning__label, .metric-box--warning .metric-box__title, .metric-box--warning__title, .analytics-metric-box--warning .metric-box__label, .analytics-metric-box--warning__label, .analytics-metric-box--warning .metric-box__title, .analytics-metric-box--warning__title {
  color: var(--warning);
}
.metric-box--warning .metric-box__value, .metric-box--warning__value, .analytics-metric-box--warning .metric-box__value, .analytics-metric-box--warning__value {
  color: var(--warning);
}
.metric-box--warning svg, .metric-box--warning [data-lucide], .metric-box--warning i, .analytics-metric-box--warning svg, .analytics-metric-box--warning [data-lucide], .analytics-metric-box--warning i {
  color: var(--warning) !important;
}
.metric-box--subtle, .analytics-metric-box--subtle {
  background: var(--surface2);
  border: 1px dashed var(--border-medium);
}
.metric-box--subtle .metric-box__title, .analytics-metric-box--subtle .metric-box__title {
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.choice-grid, .product-type-grid, .store-type-grid, .type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}
@media (max-width: 768px) {
  .choice-grid, .product-type-grid, .store-type-grid, .type-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
}

.choice-card, .type-card {
  position: relative;
  border: none !important;
  background: var(--surface2);
  border-radius: var(--radius-lg, 14px);
  padding: 18px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast, 0.2s cubic-bezier(0.16, 1, 0.3, 1));
  box-shadow: var(--shadow-xs);
  user-select: none;
  overflow: hidden;
}
.choice-card:hover, .type-card:hover {
  background: var(--surface3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.choice-card::before, .type-card::before {
  content: "";
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface);
  border: 1.5px solid var(--border-medium);
  opacity: 0.45;
  transition: all var(--transition-fast, 0.2s ease);
  box-shadow: var(--shadow-xs);
  z-index: 2;
}
.choice-card:hover, .type-card:hover {
  background: var(--surface3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.choice-card:hover::before, .type-card:hover::before {
  opacity: 0.85;
  border-color: var(--border-strong);
  transform: scale(1.06);
}
.choice-card.selected, .choice-card.is-selected, .type-card.selected, .type-card.is-selected {
  background: var(--surface3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.choice-card.selected::before, .choice-card.is-selected::before, .type-card.selected::before, .type-card.is-selected::before {
  content: "";
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full, 9999px);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 13px 13px;
  background-position: center;
  background-repeat: no-repeat;
  border: none !important;
  opacity: 1;
  box-shadow: 0 2px 10px var(--accent-subtle);
  transform: scale(1);
  z-index: 2;
  animation: haloPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.choice-card.selected .type-ic, .choice-card.selected .choice-card__icon, .choice-card.is-selected .type-ic, .choice-card.is-selected .choice-card__icon, .type-card.selected .type-ic, .type-card.selected .choice-card__icon, .type-card.is-selected .type-ic, .type-card.is-selected .choice-card__icon {
  background: var(--accent-subtle);
  color: var(--accent);
  transform: scale(1.05);
}
.choice-card.selected .type-title, .choice-card.is-selected .type-title, .type-card.selected .type-title, .type-card.is-selected .type-title {
  color: var(--accent);
  font-weight: 850;
}
.choice-card .type-ic, .choice-card .choice-card__icon, .type-card .type-ic, .type-card .choice-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--surface3, var(--border-subtle));
  color: var(--text-secondary);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.choice-card .type-ic svg, .choice-card .type-ic i, .choice-card .type-ic [data-lucide], .choice-card .choice-card__icon svg, .choice-card .choice-card__icon i, .choice-card .choice-card__icon [data-lucide], .type-card .type-ic svg, .type-card .type-ic i, .type-card .type-ic [data-lucide], .type-card .choice-card__icon svg, .type-card .choice-card__icon i, .type-card .choice-card__icon [data-lucide] {
  width: 18px;
  height: 18px;
}
.choice-card:hover .type-ic, .choice-card:hover .choice-card__icon, .type-card:hover .type-ic, .type-card:hover .choice-card__icon {
  color: var(--text-primary);
  transform: scale(1.04);
}
.choice-card .type-title, .choice-card .choice-card__title, .type-card .type-title, .type-card .choice-card__title {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 3px;
  line-height: 1.3;
}
.choice-card .type-sub, .choice-card .choice-card__description, .choice-card .choice-card__sub, .type-card .type-sub, .type-card .choice-card__description, .type-card .choice-card__sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.bool-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.bool-card, .setting-toggle-card {
  background: var(--surface2);
  border: 1px solid var(--surface3, var(--border-medium));
  border-radius: var(--radius-md, 10px);
  padding: 14px 16px;
  transition: all 0.2s ease;
}
.bool-card:hover, .setting-toggle-card:hover {
  border-color: var(--border-strong);
}
.bool-card .bool-card-head, .setting-toggle-card .bool-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.bool-card .bool-card-info, .setting-toggle-card .bool-card-info {
  flex-grow: 1;
}
.bool-card .bool-card-title, .setting-toggle-card .bool-card-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bool-card .bool-card-title svg, .bool-card .bool-card-title i, .bool-card .bool-card-title [data-lucide], .setting-toggle-card .bool-card-title svg, .setting-toggle-card .bool-card-title i, .setting-toggle-card .bool-card-title [data-lucide] {
  width: 16px;
  height: 16px;
}
.bool-card .bool-card-desc, .setting-toggle-card .bool-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.4;
}
.bool-card .bool-card-extra, .setting-toggle-card .bool-card-extra {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--surface3, var(--border-subtle));
}

.card--banner, .card--welcome {
  background: linear-gradient(135deg, var(--accent-glow), var(--surface2));
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md, 12px);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.card--banner__icon, .card--banner .banner-icon-badge, .card--welcome__icon, .card--welcome .banner-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.card--banner__icon svg, .card--banner__icon i, .card--banner__icon [data-lucide], .card--banner .banner-icon-badge svg, .card--banner .banner-icon-badge i, .card--banner .banner-icon-badge [data-lucide], .card--welcome__icon svg, .card--welcome__icon i, .card--welcome__icon [data-lucide], .card--welcome .banner-icon-badge svg, .card--welcome .banner-icon-badge i, .card--welcome .banner-icon-badge [data-lucide] {
  width: 22px;
  height: 22px;
}
.card--banner__body, .card--welcome__body {
  flex: 1;
  min-width: 0;
}

.card--shield, .card--camouflage {
  border-radius: 14px;
  border: 1px solid var(--accent-glow) !important;
  overflow: visible !important;
}
.card--shield--hero, .card--camouflage--hero {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%) !important;
  border: 1px solid var(--accent-glow) !important;
  border-radius: 16px;
}
.card--shield .card__header, .card--camouflage .card__header {
  background: linear-gradient(135deg, var(--accent-subtle), transparent);
  padding: 16px 20px;
  border-bottom: 1px solid var(--accent-glow);
  border-radius: 13px 13px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card--shield__icon, .card--shield .card--shield__icon, .card--shield .shield-icon-badge, .card--camouflage__icon, .card--camouflage .card--shield__icon, .card--camouflage .shield-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.card--shield__icon svg, .card--shield__icon i, .card--shield__icon [data-lucide], .card--shield .card--shield__icon svg, .card--shield .card--shield__icon i, .card--shield .card--shield__icon [data-lucide], .card--shield .shield-icon-badge svg, .card--shield .shield-icon-badge i, .card--shield .shield-icon-badge [data-lucide], .card--camouflage__icon svg, .card--camouflage__icon i, .card--camouflage__icon [data-lucide], .card--camouflage .card--shield__icon svg, .card--camouflage .card--shield__icon i, .card--camouflage .card--shield__icon [data-lucide], .card--camouflage .shield-icon-badge svg, .card--camouflage .shield-icon-badge i, .card--camouflage .shield-icon-badge [data-lucide] {
  width: 20px;
  height: 20px;
}

.camo-flow-card {
  background: var(--surface2);
  border-radius: var(--radius-md, 12px);
  padding: 16px 20px;
  margin-bottom: 16px;
}
.camo-flow-card .camo-flow-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.camo-flow-card .camo-flow-title i, .camo-flow-card .camo-flow-title svg, .camo-flow-card .camo-flow-title [data-lucide] {
  color: var(--accent);
  width: 16px;
  height: 16px;
}
.camo-flow-card .camo-flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 768px) {
  .camo-flow-card .camo-flow-grid {
    grid-template-columns: 1fr;
  }
}
.camo-flow-card .camo-flow-col {
  background: var(--surface);
  border-radius: var(--radius-md, 10px);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.camo-flow-card .camo-flow-col--buyer {
  border-inline-start: 3px solid var(--success);
}
.camo-flow-card .camo-flow-col--bot {
  border-inline-start: 3px solid var(--purple);
}
.camo-flow-card .camo-flow-col .camo-flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}
.camo-flow-card .camo-flow-col .camo-flow-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}
.camo-flow-card .camo-flow-col .camo-flow-target {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--surface2);
  padding: 4px 8px;
  border-radius: var(--radius-sm, 6px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.camo-links-card {
  background: var(--surface2);
  border-radius: var(--radius-md, 12px);
  padding: 16px 20px;
  margin-bottom: 16px;
}
.camo-links-card .camo-links-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.camo-links-card .camo-links-header .camo-links-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.camo-links-card .camo-links-header .camo-links-title i, .camo-links-card .camo-links-header .camo-links-title svg, .camo-links-card .camo-links-header .camo-links-title [data-lucide] {
  color: var(--accent);
  width: 16px;
  height: 16px;
}
.camo-links-card .camo-link-row {
  margin-bottom: 12px;
}
.camo-links-card .camo-link-row:last-child {
  margin-bottom: 0;
}
.camo-links-card .camo-link-row .camo-link-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.camo-links-card .camo-link-row .camo-url-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border-radius: var(--radius-md, 8px);
  padding: 4px 6px 4px 12px;
}
.camo-links-card .camo-link-row .camo-url-bar .camo-url-text {
  flex: 1;
  font-family: monospace;
  font-size: 12px;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  direction: ltr;
  text-align: left;
}
.camo-links-card .camo-link-row .camo-url-bar .camo-url-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.settings-card {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-lg, 14px);
  padding: var(--space-5, 20px);
  margin-bottom: var(--space-4, 16px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}
.settings-card:hover {
  box-shadow: var(--shadow-md);
}
.settings-card--danger, .settings-card.border-danger {
  border: 1px solid var(--danger-border) !important;
  background: var(--danger-subtle) !important;
}

.setting-card {
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md, 10px);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: var(--transition-fast);
}
.setting-card:hover {
  border-color: var(--border-strong);
}

.country-currency-interactive-card {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg, 14px);
  overflow: hidden;
  transition: all 0.2s ease;
  margin-top: 8px;
}
.country-currency-interactive-card .selected-country-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}
.country-currency-interactive-card .selected-country-bar:hover {
  background: var(--surface3);
}
.country-currency-interactive-card .country-flag-badge {
  width: 44px;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
}
.country-currency-interactive-card .country-flag-badge .country-flag-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.country-currency-interactive-card .country-picker-dropdown-panel {
  padding: 16px;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface);
}
.country-currency-interactive-card .countries-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  padding-inline-end: 4px;
}

.setting-row, .switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-md, 12px);
  border: 1.5px solid var(--border-subtle);
  background: var(--surface2);
  transition: all 0.2s ease;
  margin-bottom: 12px;
}
.setting-row:hover, .switch-row:hover {
  border-color: var(--border-hover);
  background: var(--surface3);
}
.setting-row:last-child, .switch-row:last-child {
  margin-bottom: 0;
}
.setting-row .switch-info, .switch-row .switch-info {
  flex: 1;
  min-width: 0;
}
.setting-row--clickable, .setting-row.radio-card, .switch-row--clickable, .switch-row.radio-card {
  cursor: pointer;
  user-select: none;
}
.setting-row--clickable:hover, .setting-row.radio-card:hover, .switch-row--clickable:hover, .switch-row.radio-card:hover {
  border-color: var(--border-hover) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.setting-row--clickable:has(input:checked), .setting-row--clickable.selected, .setting-row--clickable.active, .setting-row.radio-card:has(input:checked), .setting-row.radio-card.selected, .setting-row.radio-card.active, .switch-row--clickable:has(input:checked), .switch-row--clickable.selected, .switch-row--clickable.active, .switch-row.radio-card:has(input:checked), .switch-row.radio-card.selected, .switch-row.radio-card.active {
  background: var(--surface);
  border-color: var(--border-medium) !important;
  background: var(--surface3);
  box-shadow: 0 0 0 1px var(--accent);
}

.setting-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3, 12px);
  margin-bottom: var(--space-4, 16px);
  padding-bottom: var(--space-3, 12px);
  border-bottom: 1px solid var(--border-subtle);
}

.theme-redirect-card, .card--redirect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--accent-subtle) 0%, transparent 100%);
  border: 1.5px solid var(--accent-glow);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.theme-redirect-card:hover, .card--redirect:hover {
  border-color: var(--accent);
  background: var(--accent-subtle);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.theme-redirect-card:hover .trc-arrow, .card--redirect:hover .trc-arrow {
  transform: translateX(-4px);
}
[dir=ltr] .theme-redirect-card:hover .trc-arrow, [dir=ltr] .card--redirect:hover .trc-arrow {
  transform: translateX(4px);
}
.theme-redirect-card .trc-icon-wrap, .card--redirect .trc-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.theme-redirect-card .trc-icon-wrap i, .theme-redirect-card .trc-icon-wrap svg, .theme-redirect-card .trc-icon-wrap [data-lucide], .card--redirect .trc-icon-wrap i, .card--redirect .trc-icon-wrap svg, .card--redirect .trc-icon-wrap [data-lucide] {
  width: 22px;
  height: 22px;
}
.theme-redirect-card .trc-body, .card--redirect .trc-body {
  flex: 1;
  min-width: 0;
}
.theme-redirect-card .trc-body .trc-title, .card--redirect .trc-body .trc-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.theme-redirect-card .trc-body .trc-sub, .card--redirect .trc-body .trc-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.theme-redirect-card .trc-action, .card--redirect .trc-action {
  flex-shrink: 0;
}
.theme-redirect-card .trc-action .trc-arrow, .card--redirect .trc-action .trc-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}
@media (max-width: 768px) {
  .theme-redirect-card, .card--redirect {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .theme-redirect-card .trc-action, .card--redirect .trc-action {
    width: 100%;
  }
  .theme-redirect-card .trc-action > .btn, .card--redirect .trc-action > .btn {
    width: 100%;
    justify-content: center;
  }
}

.pixel-card, .integration-card {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}
.pixel-card:hover, .integration-card:hover {
  border-color: var(--border-hover, var(--border2));
  background: var(--surface3);
}
.pixel-card.connected, .integration-card.connected {
  border-color: var(--success);
  background: var(--success-subtle);
}
.pixel-card .pixel-card-head, .integration-card .pixel-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.pixel-card .pixel-platform, .integration-card .pixel-platform {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-primary);
}
.pixel-card .pixel-icon, .integration-card .pixel-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.pixel-card .connected-dot, .integration-card .connected-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  flex-shrink: 0;
}

.app-icon-wrap {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  border-radius: var(--radius-md, 14px);
  background: var(--surface2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  padding: 6px;
  transition: transform var(--transition-fast, 0.2s ease), box-shadow var(--transition-fast, 0.2s ease);
  border: none !important;
}
.app-icon-wrap .app-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  display: block;
}
.app-icon-wrap .app-icon-fallback,
.app-icon-wrap .app-logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--text-muted);
}
.app-icon-wrap .app-icon-fallback svg, .app-icon-wrap .app-icon-fallback [data-lucide],
.app-icon-wrap .app-logo-fallback svg,
.app-icon-wrap .app-logo-fallback [data-lucide] {
  width: 26px;
  height: 26px;
}
.app-icon-wrap--lg {
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  border-radius: var(--radius-xl, 20px);
  padding: 10px;
}
.app-icon-wrap--md {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: var(--radius-md, 12px);
  padding: 5px;
}
.app-icon-wrap--sm {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: var(--radius-sm, 10px);
  padding: 4px;
}
.app-icon-wrap--xs {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  border-radius: 8px;
  padding: 3px;
}

.social-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}

.social-channel-item {
  background: var(--surface2);
  border-radius: var(--radius-md, 14px);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--transition-fast, 0.2s ease), box-shadow var(--transition-fast, 0.2s ease);
  border: none !important;
}
.social-channel-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.social-channel-item .social-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.social-channel-item .social-brand-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.social-channel-item .social-brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
}
.social-channel-item .social-brand-icon svg, .social-channel-item .social-brand-icon i, .social-channel-item .social-brand-icon [data-lucide] {
  width: 18px;
  height: 18px;
}
.social-channel-item .social-brand-icon--whatsapp {
  background: var(--success-subtle);
  color: var(--success);
}
.social-channel-item .social-brand-icon--telegram {
  background: var(--info-subtle);
  color: var(--info);
}
.social-channel-item .social-brand-icon--facebook {
  background: var(--info-subtle);
  color: var(--info);
}
.social-channel-item .social-brand-icon--instagram {
  background: var(--rose-subtle);
  color: var(--rose);
}
.social-channel-item .social-brand-icon--tiktok {
  background: var(--surface3);
  color: var(--text-primary);
}
.social-channel-item .social-brand-icon--youtube {
  background: var(--danger-subtle);
  color: var(--danger);
}
.social-channel-item .social-brand-icon--twitter {
  background: var(--surface3);
  color: var(--text-primary);
}
.social-channel-item .social-brand-icon--snapchat {
  background: var(--warning-subtle);
  color: var(--warning);
}
.social-channel-item .social-brand-icon--email {
  background: var(--info-subtle);
  color: var(--info);
}
.social-channel-item .social-brand-icon--website {
  background: var(--accent-subtle);
  color: var(--accent);
}
.social-channel-item .social-brand-icon--amazon {
  background: var(--warning-subtle);
  color: var(--warning);
}
.social-channel-item .social-brand-icon--noon {
  background: var(--warning-subtle);
  color: var(--warning);
}
.social-channel-item .social-brand-icon--jumia {
  background: var(--danger-subtle);
  color: var(--danger);
}
.social-channel-item .social-brand-title {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--text-primary);
  line-height: 1.2;
}
.social-channel-item .social-brand-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.social-channel-item .social-item-body {
  position: relative;
  margin-top: 2px;
}
.social-channel-item .social-item-body .input-group {
  display: flex;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius-md, 10px);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast, 0.2s ease);
  overflow: hidden;
  width: 100%;
}
.social-channel-item .social-item-body .input-group:hover {
  box-shadow: var(--shadow-sm);
}
.social-channel-item .social-item-body .input-group:focus-within {
  box-shadow: 0 0 0 2px var(--accent-glow);
  background: var(--surface);
}
.social-channel-item .social-item-body .input-group .input-prefix-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  padding: 0;
}
.social-channel-item .social-item-body .input-group .input-prefix-icon svg, .social-channel-item .social-item-body .input-group .input-prefix-icon i, .social-channel-item .social-item-body .input-group .input-prefix-icon [data-lucide] {
  width: 16px;
  height: 16px;
}
.social-channel-item .social-item-body .input-group .form-control {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 38px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none;
  padding-inline: 0 12px;
  font-size: 0.85rem;
  color: var(--text-primary);
}
.social-channel-item .social-item-body .input-group .form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.65;
}

.input-prefix-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  padding-inline: 10px;
}
.input-prefix-icon svg, .input-prefix-icon [data-lucide] {
  width: 15px;
  height: 15px;
}

.carrier-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.active-shipping-hero {
  background: linear-gradient(135deg, var(--success-subtle) 0%, var(--surface2) 100%) !important;
  border: 1.5px solid var(--success-border) !important;
  border-radius: var(--radius-xl, 18px);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.active-shipping-hero .active-carrier-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: contain;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  padding: 6px;
  box-shadow: var(--shadow-xs);
}

.app-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: var(--radius-sm, 10px);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
  overflow: hidden;
}
.app-icon-wrap--xs {
  width: 28px;
  height: 28px;
  padding: 3px;
  border-radius: 8px;
}
.app-icon-wrap--sm {
  width: 44px;
  height: 44px;
  padding: 5px;
  border-radius: 12px;
}
.app-icon-wrap--md {
  width: 56px;
  height: 56px;
  padding: 6px;
  border-radius: 14px;
}
.app-icon-wrap--lg {
  width: 72px;
  height: 72px;
  padding: 8px;
  border-radius: 18px;
}
.app-icon-wrap .app-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.app-icon-wrap .app-icon-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--accent);
}
.app-icon-wrap .app-icon-fallback svg, .app-icon-wrap .app-icon-fallback [data-lucide] {
  width: 60%;
  height: 60%;
}

.shipping-activation-hero {
  background: linear-gradient(135deg, var(--accent-subtle) 0%, var(--surface2) 100%) !important;
  border: 1.5px dashed var(--accent-glow) !important;
  border-radius: var(--radius-xl, 18px);
  padding: 32px 24px;
  text-align: center;
}
.shipping-activation-hero .hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-subtle);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.shipping-activation-hero .hero-icon svg, .shipping-activation-hero .hero-icon i, .shipping-activation-hero .hero-icon [data-lucide] {
  width: 28px;
  height: 28px;
}
.shipping-activation-hero .hero-desc {
  max-width: 620px;
  margin: 0 auto 20px;
  line-height: 1.6;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.branch-editor-card, .item-editor-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg, 14px);
  overflow: hidden;
  transition: all 0.22s ease;
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}
.branch-editor-card:hover, .item-editor-card:hover {
  border-color: var(--border-hover, var(--border2));
  box-shadow: var(--shadow-md);
}
.branch-editor-card:hover .branch-index-badge, .item-editor-card:hover .branch-index-badge {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
}
.branch-editor-card .branch-editor-head, .item-editor-card .branch-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--surface2);
  border-bottom: 1.5px solid var(--border);
  gap: 12px;
}
.branch-editor-card .branch-index-badge, .item-editor-card .branch-index-badge {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: var(--radius-sm, 6px);
  background: var(--surface3);
  color: var(--text-primary);
  border: 1.5px solid var(--border-medium);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  user-select: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.branch-editor-card .btn-remove-branch, .item-editor-card .btn-remove-branch {
  background: transparent;
  border: none;
  color: var(--danger);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.15s ease;
}
.branch-editor-card .btn-remove-branch:hover, .item-editor-card .btn-remove-branch:hover {
  background: var(--danger-subtle);
}

.verification-hero-card {
  background: linear-gradient(135deg, var(--warning-subtle) 0%, var(--success-subtle) 100%), var(--surface);
  border: 1px solid var(--warning-border);
  border-radius: 14px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.verification-hero-card .v-hero-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.verification-hero-card .v-hero-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--warning-subtle), var(--success-subtle));
  border: 1.5px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
}
.verification-hero-card .v-hero-icon-box--lg {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  font-size: 32px;
  margin: 0 auto 16px;
}
.verification-hero-card .v-hero-icon-box--indigo {
  background: var(--accent-subtle) !important;
  border: 1px solid var(--border-medium) !important;
  color: var(--accent) !important;
}
.verification-hero-card .v-hero-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}
.verification-hero-card .v-hero-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.v-hero-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--warning-subtle), var(--success-subtle));
  border: 1.5px solid var(--accent);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
}
.v-hero-icon-box--sm {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 18px;
}
.v-hero-icon-box--sm i, .v-hero-icon-box--sm svg, .v-hero-icon-box--sm [data-lucide] {
  width: 18px;
  height: 18px;
}
.v-hero-icon-box--lg {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  font-size: 32px;
  margin: 0 auto 16px;
}
.v-hero-icon-box--lg i, .v-hero-icon-box--lg svg, .v-hero-icon-box--lg [data-lucide] {
  width: 32px;
  height: 32px;
}
.v-hero-icon-box--indigo {
  background: var(--accent-subtle) !important;
  border: 1px solid var(--border-medium) !important;
  color: var(--accent) !important;
}

.v-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
}
.v-status-pill.verified {
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid var(--success-border);
}
.v-status-pill.pending {
  background: var(--warning-subtle);
  color: var(--warning);
  border: 1px solid var(--warning-border);
}
.v-status-pill.needs_edits {
  background: var(--danger-subtle);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}
.v-status-pill.not_submitted {
  background: var(--surface2);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.v-preview-strip {
  background: var(--surface2);
  border: 1px dashed var(--border-subtle);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.v-prev-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  padding: 4px 12px;
  border-radius: 50px;
  border: none;
  box-shadow: var(--shadow-xs);
}

.v-prev-avatar {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.v-prev-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.v-prev-check-dot {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  border: 1.5px solid var(--surface);
}

.v-prev-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.v-prev-verified-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--accent-subtle);
  color: var(--accent);
  border: none;
  box-shadow: var(--shadow-xs);
  font-size: 0.68rem;
  font-weight: 700;
}
.v-prev-verified-chip i, .v-prev-verified-chip svg, .v-prev-verified-chip [data-lucide] {
  width: 12px;
  height: 12px;
}

.v-perk-card {
  background: var(--surface);
  border: none;
  box-shadow: var(--shadow-xs);
  border-radius: 12px;
  padding: 16px;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}
.v-perk-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.v-perk-card .v-perk-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 18px;
}
.v-perk-card .v-perk-title {
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.v-perk-card .v-perk-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.v-security-legal-card {
  background: linear-gradient(135deg, var(--info-subtle), var(--success-subtle)), var(--surface);
  border: none;
  box-shadow: var(--shadow-xs);
  border-radius: 14px;
  padding: 18px;
}
.v-security-legal-card .v-sec-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.v-security-legal-card .v-sec-head .v-lock-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface);
  border: none;
  box-shadow: var(--shadow-xs);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.v-security-legal-card .v-sec-head .v-lock-badge i, .v-security-legal-card .v-sec-head .v-lock-badge svg, .v-security-legal-card .v-sec-head .v-lock-badge [data-lucide] {
  width: 20px;
  height: 20px;
}
.v-security-legal-card .v-sec-head .v-sec-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-primary);
}
.v-security-legal-card .v-sec-head .v-sec-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.v-security-legal-card .v-sec-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.v-security-legal-card .v-sec-points .v-point-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.v-security-legal-card .v-sec-points .v-point-row > i, .v-security-legal-card .v-sec-points .v-point-row > svg, .v-security-legal-card .v-sec-points .v-point-row > [data-lucide] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.v-security-legal-card .v-sec-points .v-point-row strong {
  color: var(--text-primary);
  display: block;
}

.v-verified-big-ic, .v-pending-big-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.v-verified-big-ic i, .v-verified-big-ic svg, .v-verified-big-ic [data-lucide] {
  width: 36px;
  height: 36px;
}

.v-pending-big-ic i, .v-pending-big-ic svg, .v-pending-big-ic [data-lucide] {
  width: 32px;
  height: 32px;
}

.v-cta-desc {
  max-width: 580px;
  margin-inline: auto;
  line-height: 1.6;
}

.danger-card {
  background: var(--danger-subtle);
  border: 1px solid var(--danger-border);
  border-radius: 12px;
  padding: 18px;
}
.danger-card .danger-title {
  font-weight: 800;
  color: var(--danger);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.danger-card .danger-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 991.98px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767.98px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 14px;
  }
}

.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle, var(--border));
  border-radius: var(--radius-lg, 16px);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  user-select: none;
  box-shadow: var(--shadow-xs);
}
.kpi-card:hover {
  border-color: var(--border-medium, var(--border));
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.kpi-card.active {
  border-color: var(--accent, var(--text-primary));
  background: var(--surface2);
  box-shadow: 0 0 0 1px var(--accent, var(--text-primary)), var(--shadow-sm);
}
.kpi-card:has(.kpi-pending).active, .kpi-card--warning.active {
  border-color: var(--warning);
  background: var(--surface2);
  box-shadow: 0 0 0 1px var(--warning), 0 4px 12px var(--warning-subtle);
}
.kpi-card:has(.kpi-shipping).active, .kpi-card--info.active {
  border-color: var(--info);
  background: var(--surface2);
  box-shadow: 0 0 0 1px var(--info), 0 4px 12px var(--info-subtle);
}
.kpi-card:has(.kpi-delivered).active, .kpi-card--success.active {
  border-color: var(--success);
  background: var(--surface2);
  box-shadow: 0 0 0 1px var(--success), 0 4px 12px var(--success-subtle);
}
.kpi-card:has(.kpi-active).active {
  border-color: var(--success);
  background: var(--success-subtle);
  box-shadow: 0 0 0 1px var(--success-border), var(--shadow-sm);
}
.kpi-card:has(.kpi-low).active {
  border-color: var(--warning);
  background: var(--warning-subtle);
  box-shadow: 0 0 0 1px var(--warning-border), var(--shadow-sm);
}
.kpi-card:has(.kpi-out).active {
  border-color: var(--danger);
  background: var(--danger-subtle);
  box-shadow: 0 0 0 1px var(--danger-border), var(--shadow-sm);
}
.kpi-card .kpi-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kpi-card .kpi-icon-wrap svg, .kpi-card .kpi-icon-wrap i, .kpi-card .kpi-icon-wrap [data-lucide] {
  width: 20px;
  height: 20px;
}
.kpi-card .kpi-icon-wrap.kpi-all {
  background: var(--surface3);
  color: var(--text);
  border: 1px solid var(--border-subtle);
}
.kpi-card .kpi-icon-wrap.kpi-pending {
  background: var(--surface2);
  color: var(--warning);
  border: 1px solid var(--border-subtle);
}
.kpi-card .kpi-icon-wrap.kpi-shipping {
  background: var(--surface2);
  color: var(--info);
  border: 1px solid var(--border-subtle);
}
.kpi-card .kpi-icon-wrap.kpi-delivered {
  background: var(--surface2);
  color: var(--success);
  border: 1px solid var(--border-subtle);
}
.kpi-card .kpi-icon-wrap.kpi-active {
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid var(--success-border);
}
.kpi-card .kpi-icon-wrap.kpi-low {
  background: var(--warning-subtle);
  color: var(--warning);
  border: 1px solid var(--warning-border);
}
.kpi-card .kpi-icon-wrap.kpi-out {
  background: var(--danger-subtle);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}
.kpi-card .kpi-val {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.kpi-card .kpi-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 600;
}
@media (max-width: 767.98px) {
  .kpi-card {
    padding: 10px 14px;
    gap: 10px;
  }
  .kpi-card .kpi-icon-wrap {
    width: 36px;
    height: 36px;
  }
  .kpi-card .kpi-val {
    font-size: 1.15rem;
  }
}
.kpi-card--executive {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  padding: 18px 20px !important;
  border-radius: var(--radius-xl, 20px) !important;
  background: var(--surface) !important;
  border: 1px solid var(--border-medium) !important;
  box-shadow: var(--shadow-sm) !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.kpi-card--executive::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: transparent;
  transition: background 0.2s ease;
}
.kpi-card--executive:hover {
  transform: translateY(-3px) !important;
  border-color: var(--border-strong) !important;
  box-shadow: var(--shadow-md) !important;
}
.kpi-card--executive.active {
  border-color: var(--text-primary) !important;
  background: linear-gradient(180deg, var(--surface2) 0%, var(--surface) 100%) !important;
  box-shadow: 0 0 0 1px var(--text-primary), var(--shadow-md) !important;
}
.kpi-card--executive.active::before {
  background: var(--accent);
}
.kpi-card--executive .kpi-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.kpi-card--executive .kpi-card-top .kpi-chip-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 750;
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.kpi-card--executive .kpi-card-top .kpi-chip-status .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.kpi-card--executive .kpi-card-top .kpi-chip-status--success {
  background: var(--success-subtle);
  border-color: var(--success-border);
  color: var(--success);
}
.kpi-card--executive .kpi-card-top .kpi-chip-status--warning {
  background: var(--warning-subtle);
  border-color: var(--warning-border);
  color: var(--warning);
}
.kpi-card--executive .kpi-card-top .kpi-chip-status--danger {
  background: var(--danger-subtle);
  border-color: var(--danger-border);
  color: var(--danger);
}
.kpi-card--executive .kpi-card-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.kpi-card--executive .kpi-card-main .kpi-val {
  font-size: 1.85rem !important;
  font-weight: 900 !important;
  line-height: 1.1;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.kpi-card--executive .kpi-card-main .kpi-label {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--text-secondary);
  margin-top: 0;
}
.kpi-card--executive .kpi-card-footer {
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 2px;
}
.kpi-card--executive .kpi-card-footer .kpi-meta-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
}
@media (max-width: 767.98px) {
  .kpi-card--executive {
    padding: 14px 16px !important;
    gap: 10px !important;
  }
  .kpi-card--executive .kpi-card-main .kpi-val {
    font-size: 1.45rem !important;
  }
}

.inventory-hud {
  background: var(--surface);
  border: none;
  border-radius: var(--radius-2xl, 28px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 12px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  position: relative;
}
@media (max-width: 1199.98px) {
  .inventory-hud {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .inventory-hud {
    grid-template-columns: 1fr;
  }
}
.inventory-hud.inventory-hud--5, .inventory-hud:has(> :nth-child(5):last-child) {
  grid-template-columns: repeat(5, 1fr);
}
.inventory-hud.inventory-hud--5 .hud-segment, .inventory-hud:has(> :nth-child(5):last-child) .hud-segment {
  padding: 16px 14px;
}
.inventory-hud.inventory-hud--5 .hud-main .hud-val, .inventory-hud:has(> :nth-child(5):last-child) .hud-main .hud-val {
  font-size: 1.38rem;
}
.inventory-hud.inventory-hud--5 .hud-main .hud-label, .inventory-hud:has(> :nth-child(5):last-child) .hud-main .hud-label {
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1240px) {
  .inventory-hud.inventory-hud--5, .inventory-hud:has(> :nth-child(5):last-child) {
    grid-template-columns: repeat(3, 1fr);
  }
  .inventory-hud.inventory-hud--5 > :nth-child(4):nth-last-child(2), .inventory-hud:has(> :nth-child(5):last-child) > :nth-child(4):nth-last-child(2) {
    grid-column: span 1;
  }
  .inventory-hud.inventory-hud--5 > :nth-child(5):last-child, .inventory-hud:has(> :nth-child(5):last-child) > :nth-child(5):last-child {
    grid-column: span 2;
  }
}
@media (max-width: 900px) {
  .inventory-hud.inventory-hud--5, .inventory-hud:has(> :nth-child(5):last-child) {
    grid-template-columns: repeat(2, 1fr);
  }
  .inventory-hud.inventory-hud--5 > :nth-child(5):last-child, .inventory-hud:has(> :nth-child(5):last-child) > :nth-child(5):last-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 640px) {
  .inventory-hud.inventory-hud--5, .inventory-hud:has(> :nth-child(5):last-child) {
    grid-template-columns: 1fr;
  }
  .inventory-hud.inventory-hud--5 > :nth-child(5):last-child, .inventory-hud:has(> :nth-child(5):last-child) > :nth-child(5):last-child {
    grid-column: auto;
  }
}
.inventory-hud .hud-segment {
  background: var(--surface2);
  border: none;
  border-radius: var(--radius-xl, 20px);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.2s ease;
  position: relative;
  user-select: none;
  box-shadow: var(--shadow-xs);
  opacity: 1;
}
.inventory-hud .hud-segment:hover {
  opacity: 1;
  background: var(--surface3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.inventory-hud .hud-segment.active {
  opacity: 1;
  background: var(--surface3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border: none;
  outline: none;
}
.inventory-hud .hud-segment.active .hud-icon-wrap {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px var(--accent-glow);
  transform: scale(1.05);
}
.inventory-hud .hud-segment.active .hud-pill {
  background: var(--text-primary);
  color: var(--text-inverse);
  font-weight: 800;
}
.inventory-hud .hud-segment.active .hud-main .hud-val {
  color: var(--text-primary);
  font-weight: 900;
}
.inventory-hud .hud-segment .hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.inventory-hud .hud-segment .hud-top .hud-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: none;
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast, all 0.2s ease);
}
.inventory-hud .hud-segment .hud-top .hud-icon-wrap svg, .inventory-hud .hud-segment .hud-top .hud-icon-wrap [data-lucide] {
  width: 18px;
  height: 18px;
}
.inventory-hud .hud-segment .hud-top .hud-pill {
  font-size: 0.72rem;
  font-weight: 750;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface);
  color: var(--text-secondary);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-fast);
}
.inventory-hud .hud-segment .hud-top .hud-pill .hud-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.inventory-hud .hud-segment .hud-top .hud-pill--success {
  background: var(--success-subtle);
  color: var(--success);
}
.inventory-hud .hud-segment .hud-top .hud-pill--accent {
  background: var(--accent-subtle);
  color: var(--accent);
}
.inventory-hud .hud-segment .hud-top .hud-pill--warning {
  background: var(--warning-subtle);
  color: var(--warning);
}
.inventory-hud .hud-segment .hud-top .hud-pill--danger {
  background: var(--danger-subtle);
  color: var(--danger);
}
.inventory-hud .hud-segment .hud-top .hud-pill--muted {
  background: var(--surface2);
  color: var(--text-muted);
}
.inventory-hud .hud-segment .hud-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.inventory-hud .hud-segment .hud-main .hud-val {
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.inventory-hud .hud-segment .hud-main .hud-label {
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--text-secondary);
}
.inventory-hud .hud-segment .hud-footer {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-subtle);
}
.inventory-hud .hud-segment .hud-footer .hud-sub-val {
  font-weight: 750;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.inventory-hud .hud-segment.hud-active .hud-icon-wrap {
  background: var(--success-subtle);
  color: var(--success);
}
.inventory-hud .hud-segment.hud-financial .hud-icon-wrap {
  background: var(--accent-subtle);
  color: var(--accent);
}
.inventory-hud .hud-segment.hud-low .hud-icon-wrap {
  background: var(--warning-subtle);
  color: var(--warning);
}
.inventory-hud .hud-segment.hud-loyal .hud-icon-wrap {
  background: var(--warning-subtle);
  color: var(--warning);
}
.inventory-hud .hud-segment.hud-loyal.active .hud-icon-wrap {
  background: var(--warning);
  color: var(--text-white);
  box-shadow: 0 4px 14px var(--warning-border);
  transform: scale(1.05);
}
.inventory-hud .hud-segment.hud-inactive .hud-icon-wrap {
  background: var(--surface3);
  color: var(--text-muted);
}
.inventory-hud .hud-segment.hud-inactive.active .hud-icon-wrap {
  background: var(--text-secondary);
  color: var(--text-white);
  box-shadow: 0 4px 14px var(--border-medium);
  transform: scale(1.05);
}
.inventory-hud .hud-segment.hud-pending .hud-icon-wrap {
  background: var(--warning-subtle);
  color: var(--warning);
}
.inventory-hud .hud-segment.hud-pending.active .hud-icon-wrap {
  background: var(--warning);
  color: var(--text-white);
  box-shadow: 0 4px 14px var(--warning-border);
  transform: scale(1.05);
}
.inventory-hud .hud-segment.hud-shipping .hud-icon-wrap {
  background: var(--info-subtle);
  color: var(--info);
}
.inventory-hud .hud-segment.hud-shipping.active .hud-icon-wrap {
  background: var(--info);
  color: var(--text-white);
  box-shadow: 0 4px 14px var(--info-border);
  transform: scale(1.05);
}
.inventory-hud .hud-segment.hud-delivered .hud-icon-wrap {
  background: var(--success-subtle);
  color: var(--success);
}
.inventory-hud .hud-segment.hud-delivered.active .hud-icon-wrap {
  background: var(--success);
  color: var(--text-white);
  box-shadow: 0 4px 14px var(--success-border);
  transform: scale(1.05);
}
@media (max-width: 575.98px) {
  .inventory-hud {
    padding: 8px;
    gap: 8px;
  }
  .inventory-hud .hud-segment {
    padding: 14px 16px;
    gap: 8px;
  }
  .inventory-hud .hud-segment .hud-main .hud-val {
    font-size: 1.35rem;
  }
}

.hud-stats-bar {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
  width: 100%;
}
.hud-stats-bar.hud-stats-bar--5, .hud-stats-bar:has(> :nth-child(5):last-child) {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.hud-stats-bar.hud-stats-bar--4, .hud-stats-bar:has(> :nth-child(4):last-child) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hud-stats-bar.hud-stats-bar--3, .hud-stats-bar:has(> :nth-child(3):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1399.98px) {
  .hud-stats-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 899.98px) {
  .hud-stats-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 575.98px) {
  .hud-stats-bar {
    grid-template-columns: 1fr !important;
  }
}
.hud-stats-bar .hud-segment {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-xl, 20px);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-height: 88px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, background 0.2s ease;
}
.hud-stats-bar .hud-segment.cursor-pointer, .hud-stats-bar .hud-segment[v-on\:click], .hud-stats-bar .hud-segment:has([v-on\:click]) {
  cursor: pointer;
}
.hud-stats-bar .hud-segment:hover {
  transform: translateY(-2px);
  background: var(--surface2);
  box-shadow: var(--shadow-card-hover);
}
.hud-stats-bar .hud-segment.active {
  background: var(--surface2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.hud-stats-bar .hud-segment.active::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 20px 20px 0 0;
}
.hud-stats-bar .hud-segment .hud-segment-indicator {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  opacity: 0.9;
  border-radius: 20px 20px 0 0;
}
.hud-stats-bar .hud-segment .hud-segment-indicator.bg-primary {
  background: var(--accent);
}
.hud-stats-bar .hud-segment .hud-segment-indicator.bg-success {
  background: var(--success);
}
.hud-stats-bar .hud-segment .hud-segment-indicator.bg-warning {
  background: var(--warning);
}
.hud-stats-bar .hud-segment .hud-segment-indicator.bg-info {
  background: var(--info);
}
.hud-stats-bar .hud-segment .hud-segment-indicator.bg-purple {
  background: var(--purple);
}
.hud-stats-bar .hud-segment .hud-segment-indicator.bg-danger {
  background: var(--danger);
}
.hud-stats-bar .hud-segment .hud-segment-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 4px;
}
.hud-stats-bar .hud-segment .hud-segment-icon svg, .hud-stats-bar .hud-segment .hud-segment-icon [data-lucide] {
  width: 18px;
  height: 18px;
}
.hud-stats-bar .hud-segment .hud-segment-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.hud-stats-bar .hud-segment .hud-segment-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hud-stats-bar .hud-segment .hud-segment-label svg, .hud-stats-bar .hud-segment .hud-segment-label [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.hud-stats-bar .hud-segment .hud-segment-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-family: var(--font-mono, inherit);
}
.hud-stats-bar .hud-segment .hud-segment-value.text-success {
  color: var(--success) !important;
}
.hud-stats-bar .hud-segment .hud-segment-value.text-warning {
  color: var(--warning) !important;
}
.hud-stats-bar .hud-segment .hud-segment-value.text-info {
  color: var(--info) !important;
}
.hud-stats-bar .hud-segment .hud-segment-value.text-purple {
  color: var(--purple) !important;
}
.hud-stats-bar .hud-segment .hud-segment-value.text-danger {
  color: var(--danger) !important;
}

.orders-cards-mobile {
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 16px;
}
@media (max-width: 480px) {
  .orders-cards-mobile {
    grid-template-columns: 1fr;
  }
}

.order-card-mb {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-xl, 20px);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--transition-fast, 0.18s ease), box-shadow var(--transition-fast, 0.18s ease);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.order-card-mb:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.order-card-mb.card-selected, .order-card-mb.is-selected {
  background: var(--surface2);
  box-shadow: var(--shadow-md);
}
.order-card-mb.card-selected::before, .order-card-mb.is-selected::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
}
.order-card-mb .card-mb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.order-card-mb .card-mb-head .card-mb-head-start {
  display: flex;
  align-items: center;
  gap: 10px;
}
.order-card-mb .card-mb-head .order-code-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--surface2);
  border-radius: var(--radius-sm, 8px);
  font-size: 0.9rem;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast);
}
.order-card-mb .card-mb-head .order-code-link:hover {
  color: var(--accent);
  background: var(--surface3);
}
.order-card-mb .card-mb-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.order-card-mb .card-mb-cust {
  background: var(--surface2);
  border-radius: var(--radius-lg, 14px);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.order-card-mb .card-mb-cust .cust-avatar-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.order-card-mb .card-mb-cust .cust-avatar-icon svg, .order-card-mb .card-mb-cust .cust-avatar-icon i, .order-card-mb .card-mb-cust .cust-avatar-icon [data-lucide] {
  width: 18px;
  height: 18px;
}
.order-card-mb .card-mb-cust .cust-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}
.order-card-mb .card-mb-cust .cust-contact-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}
.order-card-mb .card-mb-cust .cust-contact-bar .btn-contact {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  min-height: 34px;
  border-radius: var(--radius-sm, 8px);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  background: var(--surface3);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}
.order-card-mb .card-mb-cust .cust-contact-bar .btn-contact svg, .order-card-mb .card-mb-cust .cust-contact-bar .btn-contact i, .order-card-mb .card-mb-cust .cust-contact-bar .btn-contact [data-lucide] {
  width: 14px;
  height: 14px;
}
.order-card-mb .card-mb-cust .cust-contact-bar .btn-contact.btn-call:hover {
  background: var(--surface);
  color: var(--accent);
}
.order-card-mb .card-mb-cust .cust-contact-bar .btn-contact.btn-wa {
  color: var(--success);
}
.order-card-mb .card-mb-cust .cust-contact-bar .btn-contact.btn-wa:hover {
  background: var(--success-subtle);
}
.order-card-mb .card-mb-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
}
.order-card-mb .card-mb-items .mb-item-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-sm, 6px);
  background: var(--surface2);
  border: none;
  font-size: 0.76rem;
  max-width: 100%;
  box-shadow: var(--shadow-xs);
}
.order-card-mb .card-mb-items .mb-item-chip .badge {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
}
.order-card-mb .card-mb-items .mb-item-name {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-primary);
}
.order-card-mb .card-mb-items .mb-item-more {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
}
.order-card-mb .card-mb-financial {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0 2px 0;
  border-top: 1px solid var(--border-subtle);
}
.order-card-mb .card-mb-financial .card-total-val {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-primary);
  font-feature-settings: "tnum";
}
.order-card-mb .card-mb-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}
.order-card-mb .card-mb-actions > .btn {
  min-height: 42px;
  font-weight: 700;
  font-size: 0.84rem;
  border-radius: var(--radius-md, 12px);
}

.prod-cards-mobile {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 16px;
}
@media (max-width: 480px) {
  .prod-cards-mobile {
    grid-template-columns: 1fr;
  }
}

.prod-card-mb {
  background: var(--surface);
  border: none;
  border-radius: var(--radius-xl, 20px);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-card);
}
.prod-card-mb:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.prod-card-mb.selected {
  background: var(--surface2);
  box-shadow: 0 0 0 2px var(--accent), var(--shadow-sm);
}
.prod-card-mb .card-mb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: none;
}
.prod-card-mb .card-mb-top .d-flex:first-child {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  flex-wrap: nowrap;
  gap: 6px;
}
.prod-card-mb .card-mb-top > .tag,
.prod-card-mb .card-mb-top .badge-offer {
  white-space: nowrap;
  flex-shrink: 0;
}
.prod-card-mb .card-mb-body {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.prod-card-mb .prod-img-wrap {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md, 14px);
  overflow: hidden;
  background: var(--surface2);
  border: none;
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prod-card-mb .prod-img-mb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prod-card-mb .prod-img-placeholder {
  color: var(--muted);
}
.prod-card-mb .prod-img-placeholder svg, .prod-card-mb .prod-img-placeholder [data-lucide] {
  width: 24px;
  height: 24px;
}
.prod-card-mb .prod-details-mb {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.prod-card-mb .prod-title-mb {
  font-size: 0.94rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod-card-mb .prod-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 2px;
}
.prod-card-mb .price-current {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent);
}
.prod-card-mb .price-old {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: line-through;
}
.prod-card-mb .prod-stock-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.prod-card-mb .card-mb-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
  border-top: none;
}
.prod-card-mb .btn-card-action {
  flex: 1;
  min-height: 38px;
  padding: 0 12px;
  background: var(--surface2);
  border: none;
  border-radius: var(--radius-full, 9999px);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}
.prod-card-mb .btn-card-action:hover {
  background: var(--surface3);
  color: var(--text-primary);
}
.prod-card-mb .btn-card-action svg, .prod-card-mb .btn-card-action [data-lucide] {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.prod-card-mb .btn-card-action.btn-quick-edit {
  background: var(--surface2);
  color: var(--text-primary);
  flex: 1.25;
  white-space: nowrap;
}
.prod-card-mb .btn-card-action.text-danger {
  flex: 0 0 38px;
  width: 38px;
  min-width: 38px;
  padding: 0;
  justify-content: center;
}
.prod-card-mb .btn-card-action.text-danger:hover {
  background: var(--danger-subtle);
  color: var(--danger);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}
@media (max-width: 640px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.info-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm, 8px);
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.info-icon svg, .info-icon [data-lucide] {
  width: 18px;
  height: 18px;
}

.info-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: start;
}

.info-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}

.info-value-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.info-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
  line-height: 1.4;
  text-align: start;
}
.info-value[dir=ltr] {
  text-align: start !important;
  unicode-bidi: plaintext;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  padding: 3px 8px;
  border-radius: var(--radius-sm, 6px);
  background: var(--surface2);
  border: 1px solid var(--border);
  transition: all 0.15s ease;
}
.copy-btn:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.copy-btn svg, .copy-btn [data-lucide] {
  width: 12px;
  height: 12px;
}

.cust-card-actions-mb {
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
}

.notes-box {
  background: var(--surface2);
  border: 1.5px dashed var(--border2);
  border-radius: var(--radius-sm, 8px);
  padding: 12px 14px;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.6;
  margin-top: 6px;
}

.card-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.utm-attribution-box, .box--utm {
  background: var(--accent-subtle);
  border: 1px solid var(--accent-glow);
  border-inline-start: 4px solid var(--accent);
  border-radius: var(--radius-md, 10px);
  padding: var(--space-3, 12px);
}

.geo-shield-box, .box--geo-shield {
  background: var(--success-subtle);
  border: 1px solid var(--success-border);
  border-inline-start: 4px solid var(--success);
  border-radius: var(--radius-md, 10px);
  padding: var(--space-3, 12px);
}
.geo-shield-box.is-lost, .box--geo-shield.is-lost {
  background: var(--warning-subtle);
  border-color: var(--warning-border);
  border-inline-start-color: var(--warning);
}

.fake-shield-box, .box--fake-shield {
  background: var(--success-subtle);
  border: 1px solid var(--success-border);
  border-inline-start: 4px solid var(--success);
  border-radius: var(--radius-md, 10px);
  padding: var(--space-3, 12px);
}
.fake-shield-box.is-safe, .box--fake-shield.is-safe {
  background: var(--success-subtle);
  border-color: var(--success-border);
  border-inline-start-color: var(--success);
}
.fake-shield-box.is-medium, .box--fake-shield.is-medium {
  background: var(--warning-subtle);
  border-color: var(--warning-border);
  border-inline-start-color: var(--warning);
}
.fake-shield-box.is-high, .box--fake-shield.is-high {
  background: var(--danger-subtle);
  border-color: var(--danger-border);
  border-inline-start-color: var(--danger);
}

.shield-gauge {
  background: var(--border-subtle);
  border-radius: 6px;
  height: 7px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}

.shield-gauge__bar {
  height: 100%;
  transition: width 0.4s ease;
}
.shield-gauge__bar.is-high {
  background: linear-gradient(90deg, var(--success), var(--success-hover));
}
.shield-gauge__bar.is-medium {
  background: linear-gradient(90deg, var(--warning), var(--warning-hover));
}
.shield-gauge__bar.is-low {
  background: linear-gradient(90deg, var(--danger), var(--danger-hover));
}

.shield-advisory {
  background: var(--surface2);
  padding: 10px 14px;
  border-radius: var(--radius-sm, 8px);
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.6;
  border: 1px solid var(--border);
}

.digital-delivery-card {
  background: var(--info-subtle);
  border: 1px solid var(--info-border);
  border-radius: var(--radius-md, 10px);
  padding: var(--space-2, 8px);
  font-size: 0.78rem;
}

.digital-key-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2, 8px);
  padding: var(--space-3, 12px);
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-md, 10px);
}

.profit-summary-card, .card--profit {
  background: var(--surface2);
  border-radius: var(--radius-lg, 12px);
  padding: 14px 16px;
  border: 1.5px solid var(--success-border);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.summary-row.discount {
  color: var(--danger);
}
.summary-row.total {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg, 14px);
  padding: 14px 18px;
  margin-top: 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}
.summary-row.total span:first-child {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 700;
}
.summary-row.total .text-accent,
.summary-row.total span:last-child {
  color: var(--text-primary) !important;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.coupon-tag {
  background: var(--danger-subtle);
  color: var(--danger);
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  margin-inline-start: 4px;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: var(--radius-sm, 8px);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
}

.status-changer-card .status-select {
  width: 100%;
  padding: 10px 14px;
  background: var(--surface2);
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  transition: all 0.2s;
}
.status-changer-card .status-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.tracking-num {
  font-family: monospace;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
}

.order-items-mobile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
}

.mobile-item-card {
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px;
}

.item-img-mb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.item-img-mb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-mobile,
.dsh-hero-mb,
.anl-hero-mb {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
  border-radius: var(--radius-xl, 20px);
  border: 1px solid var(--border-subtle);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}
.hero-card-mobile .hero-top,
.hero-card-mobile .dsh-hero-top,
.hero-card-mobile .ahm-header,
.dsh-hero-mb .hero-top,
.dsh-hero-mb .dsh-hero-top,
.dsh-hero-mb .ahm-header,
.anl-hero-mb .hero-top,
.anl-hero-mb .dsh-hero-top,
.anl-hero-mb .ahm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hero-card-mobile .hero-label-wrap,
.hero-card-mobile .dsh-hero-label-wrap,
.dsh-hero-mb .hero-label-wrap,
.dsh-hero-mb .dsh-hero-label-wrap,
.anl-hero-mb .hero-label-wrap,
.anl-hero-mb .dsh-hero-label-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-card-mobile .hero-icon,
.hero-card-mobile .dsh-hero-icon,
.dsh-hero-mb .hero-icon,
.dsh-hero-mb .dsh-hero-icon,
.anl-hero-mb .hero-icon,
.anl-hero-mb .dsh-hero-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}
.hero-card-mobile .hero-icon svg, .hero-card-mobile .hero-icon [data-lucide],
.hero-card-mobile .dsh-hero-icon svg,
.hero-card-mobile .dsh-hero-icon [data-lucide],
.dsh-hero-mb .hero-icon svg,
.dsh-hero-mb .hero-icon [data-lucide],
.dsh-hero-mb .dsh-hero-icon svg,
.dsh-hero-mb .dsh-hero-icon [data-lucide],
.anl-hero-mb .hero-icon svg,
.anl-hero-mb .hero-icon [data-lucide],
.anl-hero-mb .dsh-hero-icon svg,
.anl-hero-mb .dsh-hero-icon [data-lucide] {
  width: 16px;
  height: 16px;
}
.hero-card-mobile .hero-label,
.hero-card-mobile .dsh-hero-label,
.hero-card-mobile .ahm-label,
.dsh-hero-mb .hero-label,
.dsh-hero-mb .dsh-hero-label,
.dsh-hero-mb .ahm-label,
.anl-hero-mb .hero-label,
.anl-hero-mb .dsh-hero-label,
.anl-hero-mb .ahm-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.hero-card-mobile .hero-badge,
.hero-card-mobile .ahm-badge,
.dsh-hero-mb .hero-badge,
.dsh-hero-mb .ahm-badge,
.anl-hero-mb .hero-badge,
.anl-hero-mb .ahm-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.hero-card-mobile .hero-growth,
.hero-card-mobile .growth-chip,
.hero-card-mobile .dsh-growth-chip,
.hero-card-mobile .ahm-trend,
.dsh-hero-mb .hero-growth,
.dsh-hero-mb .growth-chip,
.dsh-hero-mb .dsh-growth-chip,
.dsh-hero-mb .ahm-trend,
.anl-hero-mb .hero-growth,
.anl-hero-mb .growth-chip,
.anl-hero-mb .dsh-growth-chip,
.anl-hero-mb .ahm-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.76rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.hero-card-mobile .hero-growth.growth-up, .hero-card-mobile .hero-growth.text-success, .hero-card-mobile .hero-growth.trend-up,
.hero-card-mobile .growth-chip.growth-up,
.hero-card-mobile .growth-chip.text-success,
.hero-card-mobile .growth-chip.trend-up,
.hero-card-mobile .dsh-growth-chip.growth-up,
.hero-card-mobile .dsh-growth-chip.text-success,
.hero-card-mobile .dsh-growth-chip.trend-up,
.hero-card-mobile .ahm-trend.growth-up,
.hero-card-mobile .ahm-trend.text-success,
.hero-card-mobile .ahm-trend.trend-up,
.dsh-hero-mb .hero-growth.growth-up,
.dsh-hero-mb .hero-growth.text-success,
.dsh-hero-mb .hero-growth.trend-up,
.dsh-hero-mb .growth-chip.growth-up,
.dsh-hero-mb .growth-chip.text-success,
.dsh-hero-mb .growth-chip.trend-up,
.dsh-hero-mb .dsh-growth-chip.growth-up,
.dsh-hero-mb .dsh-growth-chip.text-success,
.dsh-hero-mb .dsh-growth-chip.trend-up,
.dsh-hero-mb .ahm-trend.growth-up,
.dsh-hero-mb .ahm-trend.text-success,
.dsh-hero-mb .ahm-trend.trend-up,
.anl-hero-mb .hero-growth.growth-up,
.anl-hero-mb .hero-growth.text-success,
.anl-hero-mb .hero-growth.trend-up,
.anl-hero-mb .growth-chip.growth-up,
.anl-hero-mb .growth-chip.text-success,
.anl-hero-mb .growth-chip.trend-up,
.anl-hero-mb .dsh-growth-chip.growth-up,
.anl-hero-mb .dsh-growth-chip.text-success,
.anl-hero-mb .dsh-growth-chip.trend-up,
.anl-hero-mb .ahm-trend.growth-up,
.anl-hero-mb .ahm-trend.text-success,
.anl-hero-mb .ahm-trend.trend-up {
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid var(--success-border);
}
.hero-card-mobile .hero-growth.growth-down, .hero-card-mobile .hero-growth.text-danger, .hero-card-mobile .hero-growth.trend-down,
.hero-card-mobile .growth-chip.growth-down,
.hero-card-mobile .growth-chip.text-danger,
.hero-card-mobile .growth-chip.trend-down,
.hero-card-mobile .dsh-growth-chip.growth-down,
.hero-card-mobile .dsh-growth-chip.text-danger,
.hero-card-mobile .dsh-growth-chip.trend-down,
.hero-card-mobile .ahm-trend.growth-down,
.hero-card-mobile .ahm-trend.text-danger,
.hero-card-mobile .ahm-trend.trend-down,
.dsh-hero-mb .hero-growth.growth-down,
.dsh-hero-mb .hero-growth.text-danger,
.dsh-hero-mb .hero-growth.trend-down,
.dsh-hero-mb .growth-chip.growth-down,
.dsh-hero-mb .growth-chip.text-danger,
.dsh-hero-mb .growth-chip.trend-down,
.dsh-hero-mb .dsh-growth-chip.growth-down,
.dsh-hero-mb .dsh-growth-chip.text-danger,
.dsh-hero-mb .dsh-growth-chip.trend-down,
.dsh-hero-mb .ahm-trend.growth-down,
.dsh-hero-mb .ahm-trend.text-danger,
.dsh-hero-mb .ahm-trend.trend-down,
.anl-hero-mb .hero-growth.growth-down,
.anl-hero-mb .hero-growth.text-danger,
.anl-hero-mb .hero-growth.trend-down,
.anl-hero-mb .growth-chip.growth-down,
.anl-hero-mb .growth-chip.text-danger,
.anl-hero-mb .growth-chip.trend-down,
.anl-hero-mb .dsh-growth-chip.growth-down,
.anl-hero-mb .dsh-growth-chip.text-danger,
.anl-hero-mb .dsh-growth-chip.trend-down,
.anl-hero-mb .ahm-trend.growth-down,
.anl-hero-mb .ahm-trend.text-danger,
.anl-hero-mb .ahm-trend.trend-down {
  background: var(--danger-subtle);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}
.hero-card-mobile .hero-growth svg, .hero-card-mobile .hero-growth [data-lucide],
.hero-card-mobile .growth-chip svg,
.hero-card-mobile .growth-chip [data-lucide],
.hero-card-mobile .dsh-growth-chip svg,
.hero-card-mobile .dsh-growth-chip [data-lucide],
.hero-card-mobile .ahm-trend svg,
.hero-card-mobile .ahm-trend [data-lucide],
.dsh-hero-mb .hero-growth svg,
.dsh-hero-mb .hero-growth [data-lucide],
.dsh-hero-mb .growth-chip svg,
.dsh-hero-mb .growth-chip [data-lucide],
.dsh-hero-mb .dsh-growth-chip svg,
.dsh-hero-mb .dsh-growth-chip [data-lucide],
.dsh-hero-mb .ahm-trend svg,
.dsh-hero-mb .ahm-trend [data-lucide],
.anl-hero-mb .hero-growth svg,
.anl-hero-mb .hero-growth [data-lucide],
.anl-hero-mb .growth-chip svg,
.anl-hero-mb .growth-chip [data-lucide],
.anl-hero-mb .dsh-growth-chip svg,
.anl-hero-mb .dsh-growth-chip [data-lucide],
.anl-hero-mb .ahm-trend svg,
.anl-hero-mb .ahm-trend [data-lucide] {
  width: 13px;
  height: 13px;
}
.hero-card-mobile .hero-value,
.hero-card-mobile .dsh-hero-value,
.hero-card-mobile .ahm-amount,
.dsh-hero-mb .hero-value,
.dsh-hero-mb .dsh-hero-value,
.dsh-hero-mb .ahm-amount,
.anl-hero-mb .hero-value,
.anl-hero-mb .dsh-hero-value,
.anl-hero-mb .ahm-amount {
  font-size: clamp(1.65rem, 5vw, 2.1rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.hero-card-mobile .hero-subgrid,
.hero-card-mobile .dsh-hero-subgrid,
.hero-card-mobile .ahm-sub-grid,
.dsh-hero-mb .hero-subgrid,
.dsh-hero-mb .dsh-hero-subgrid,
.dsh-hero-mb .ahm-sub-grid,
.anl-hero-mb .hero-subgrid,
.anl-hero-mb .dsh-hero-subgrid,
.anl-hero-mb .ahm-sub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  background: var(--surface2);
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
}
.hero-card-mobile .hero-cell,
.hero-card-mobile .dsh-hero-cell,
.hero-card-mobile .ahm-sub-cell,
.dsh-hero-mb .hero-cell,
.dsh-hero-mb .dsh-hero-cell,
.dsh-hero-mb .ahm-sub-cell,
.anl-hero-mb .hero-cell,
.anl-hero-mb .dsh-hero-cell,
.anl-hero-mb .ahm-sub-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
}
.hero-card-mobile .hero-cell:not(:last-child),
.hero-card-mobile .dsh-hero-cell:not(:last-child),
.hero-card-mobile .ahm-sub-cell:not(:last-child),
.dsh-hero-mb .hero-cell:not(:last-child),
.dsh-hero-mb .dsh-hero-cell:not(:last-child),
.dsh-hero-mb .ahm-sub-cell:not(:last-child),
.anl-hero-mb .hero-cell:not(:last-child),
.anl-hero-mb .dsh-hero-cell:not(:last-child),
.anl-hero-mb .ahm-sub-cell:not(:last-child) {
  border-inline-end: 1px solid var(--border-subtle);
}
.hero-card-mobile .hero-cell-lbl,
.hero-card-mobile .dsh-cell-lbl,
.hero-card-mobile .ahm-sub-title,
.dsh-hero-mb .hero-cell-lbl,
.dsh-hero-mb .dsh-cell-lbl,
.dsh-hero-mb .ahm-sub-title,
.anl-hero-mb .hero-cell-lbl,
.anl-hero-mb .dsh-cell-lbl,
.anl-hero-mb .ahm-sub-title {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}
.hero-card-mobile .hero-cell-val,
.hero-card-mobile .dsh-cell-val,
.hero-card-mobile .ahm-sub-val,
.dsh-hero-mb .hero-cell-val,
.dsh-hero-mb .dsh-cell-val,
.dsh-hero-mb .ahm-sub-val,
.anl-hero-mb .hero-cell-val,
.anl-hero-mb .dsh-cell-val,
.anl-hero-mb .ahm-sub-val {
  font-size: 0.95rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.chips-carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  position: relative;
}
.chips-carousel-wrapper .btn-chip-scroll {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}
.chips-carousel-wrapper .btn-chip-scroll svg, .chips-carousel-wrapper .btn-chip-scroll [data-lucide] {
  width: 16px;
  height: 16px;
  pointer-events: none;
}
.chips-carousel-wrapper .btn-chip-scroll:disabled, .chips-carousel-wrapper .btn-chip-scroll.is-disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}
.chips-carousel-wrapper .btn-chip-scroll:hover:not(:disabled) {
  background: var(--surface2);
  border-color: var(--border-strong);
  transform: scale(1.06);
}
.chips-carousel-wrapper .btn-chip-scroll:active:not(:disabled) {
  transform: scale(0.94);
}
.chips-carousel-wrapper .chips-carousel-track,
.chips-carousel-wrapper .chip-filter-viewport,
.chips-carousel-wrapper .dsh-kpi-strip,
.chips-carousel-wrapper .anl-kpi-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px;
}
.chips-carousel-wrapper .chips-carousel-track::-webkit-scrollbar,
.chips-carousel-wrapper .chip-filter-viewport::-webkit-scrollbar,
.chips-carousel-wrapper .dsh-kpi-strip::-webkit-scrollbar,
.chips-carousel-wrapper .anl-kpi-strip::-webkit-scrollbar {
  display: none;
}
.chips-carousel-wrapper .kpi-chip,
.chips-carousel-wrapper .dsh-kpi-chip,
.chips-carousel-wrapper .anl-kpi-chip {
  flex: 0 0 auto;
  min-width: 152px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chips-carousel-wrapper .kpi-chip .kpi-chip-top,
.chips-carousel-wrapper .kpi-chip .dsh-chip-head,
.chips-carousel-wrapper .kpi-chip .akc-top,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-top,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-head,
.chips-carousel-wrapper .dsh-kpi-chip .akc-top,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-top,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-head,
.chips-carousel-wrapper .anl-kpi-chip .akc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}
.chips-carousel-wrapper .kpi-chip .kpi-chip-icon,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon,
.chips-carousel-wrapper .kpi-chip .akc-icon,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chips-carousel-wrapper .kpi-chip .kpi-chip-icon svg, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon [data-lucide],
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon svg,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon [data-lucide],
.chips-carousel-wrapper .kpi-chip .akc-icon svg,
.chips-carousel-wrapper .kpi-chip .akc-icon [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon svg,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon svg,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon svg,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon svg,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon svg,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .akc-icon svg,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon [data-lucide] {
  width: 14px;
  height: 14px;
  stroke-width: 2.2px;
}
.chips-carousel-wrapper .kpi-chip .kpi-chip-icon--blue, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-blue,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon--blue,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-blue,
.chips-carousel-wrapper .kpi-chip .akc-icon--blue,
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-blue,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon--blue,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-blue,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon--blue,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-blue,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon--blue,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-blue,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon--blue,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-blue,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon--blue,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-blue,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon--blue,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-blue {
  background: var(--info-subtle);
  color: var(--info);
}
.chips-carousel-wrapper .kpi-chip .kpi-chip-icon--blue svg, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon--blue [data-lucide], .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-blue svg, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-blue [data-lucide],
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon--blue svg,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon--blue [data-lucide],
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-blue svg,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-blue [data-lucide],
.chips-carousel-wrapper .kpi-chip .akc-icon--blue svg,
.chips-carousel-wrapper .kpi-chip .akc-icon--blue [data-lucide],
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-blue svg,
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-blue [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon--blue svg,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon--blue [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-blue svg,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-blue [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon--blue svg,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon--blue [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-blue svg,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-blue [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon--blue svg,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon--blue [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-blue svg,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-blue [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon--blue svg,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon--blue [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-blue svg,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-blue [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon--blue svg,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon--blue [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-blue svg,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-blue [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .akc-icon--blue svg,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon--blue [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-blue svg,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-blue [data-lucide] {
  color: var(--info);
}
.chips-carousel-wrapper .kpi-chip .kpi-chip-icon--amber, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-warning, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-amber,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon--amber,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-warning,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-amber,
.chips-carousel-wrapper .kpi-chip .akc-icon--amber,
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-warning,
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-amber,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon--amber,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-warning,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-amber,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon--amber,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-warning,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-amber,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon--amber,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-warning,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-amber,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon--amber,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-warning,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-amber,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon--amber,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-warning,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-amber,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon--amber,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-warning,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-amber {
  background: var(--warning-subtle);
  color: var(--warning);
}
.chips-carousel-wrapper .kpi-chip .kpi-chip-icon--amber svg, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon--amber [data-lucide], .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-warning svg, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-warning [data-lucide], .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-amber svg, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-amber [data-lucide],
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon--amber svg,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon--amber [data-lucide],
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-warning svg,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-warning [data-lucide],
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-amber svg,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-amber [data-lucide],
.chips-carousel-wrapper .kpi-chip .akc-icon--amber svg,
.chips-carousel-wrapper .kpi-chip .akc-icon--amber [data-lucide],
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-warning svg,
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-warning [data-lucide],
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-amber svg,
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-amber [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon--amber svg,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon--amber [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-warning svg,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-warning [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-amber svg,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-amber [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon--amber svg,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon--amber [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-warning svg,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-warning [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-amber svg,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-amber [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon--amber svg,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon--amber [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-warning svg,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-warning [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-amber svg,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-amber [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon--amber svg,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon--amber [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-warning svg,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-warning [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-amber svg,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-amber [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon--amber svg,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon--amber [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-warning svg,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-warning [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-amber svg,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-amber [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .akc-icon--amber svg,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon--amber [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-warning svg,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-warning [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-amber svg,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-amber [data-lucide] {
  color: var(--warning);
}
.chips-carousel-wrapper .kpi-chip .kpi-chip-icon--teal, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-teal,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon--teal,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-teal,
.chips-carousel-wrapper .kpi-chip .akc-icon--teal,
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-teal,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon--teal,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-teal,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon--teal,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-teal,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon--teal,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-teal,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon--teal,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-teal,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon--teal,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-teal,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon--teal,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-teal {
  background: var(--teal-subtle);
  color: var(--teal);
}
.chips-carousel-wrapper .kpi-chip .kpi-chip-icon--teal svg, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon--teal [data-lucide], .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-teal svg, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-teal [data-lucide],
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon--teal svg,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon--teal [data-lucide],
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-teal svg,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-teal [data-lucide],
.chips-carousel-wrapper .kpi-chip .akc-icon--teal svg,
.chips-carousel-wrapper .kpi-chip .akc-icon--teal [data-lucide],
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-teal svg,
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-teal [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon--teal svg,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon--teal [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-teal svg,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-teal [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon--teal svg,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon--teal [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-teal svg,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-teal [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon--teal svg,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon--teal [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-teal svg,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-teal [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon--teal svg,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon--teal [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-teal svg,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-teal [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon--teal svg,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon--teal [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-teal svg,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-teal [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .akc-icon--teal svg,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon--teal [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-teal svg,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-teal [data-lucide] {
  color: var(--teal);
}
.chips-carousel-wrapper .kpi-chip .kpi-chip-icon--purple, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-purple,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon--purple,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-purple,
.chips-carousel-wrapper .kpi-chip .akc-icon--purple,
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-purple,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon--purple,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-purple,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon--purple,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-purple,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon--purple,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-purple,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon--purple,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-purple,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon--purple,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-purple,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon--purple,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-purple {
  background: var(--purple-subtle);
  color: var(--purple);
}
.chips-carousel-wrapper .kpi-chip .kpi-chip-icon--purple svg, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon--purple [data-lucide], .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-purple svg, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-purple [data-lucide],
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon--purple svg,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon--purple [data-lucide],
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-purple svg,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-purple [data-lucide],
.chips-carousel-wrapper .kpi-chip .akc-icon--purple svg,
.chips-carousel-wrapper .kpi-chip .akc-icon--purple [data-lucide],
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-purple svg,
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-purple [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon--purple svg,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon--purple [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-purple svg,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-purple [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon--purple svg,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon--purple [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-purple svg,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-purple [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon--purple svg,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon--purple [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-purple svg,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-purple [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon--purple svg,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon--purple [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-purple svg,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-purple [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon--purple svg,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon--purple [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-purple svg,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-purple [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .akc-icon--purple svg,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon--purple [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-purple svg,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-purple [data-lucide] {
  color: var(--purple);
}
.chips-carousel-wrapper .kpi-chip .kpi-chip-icon--emerald, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-success, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-emerald,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon--emerald,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-success,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-emerald,
.chips-carousel-wrapper .kpi-chip .akc-icon--emerald,
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-success,
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-emerald,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon--emerald,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-success,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-emerald,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon--emerald,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-success,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-emerald,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon--emerald,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-success,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-emerald,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon--emerald,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-success,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-emerald,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon--emerald,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-success,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-emerald,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon--emerald,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-success,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-emerald {
  background: var(--success-subtle);
  color: var(--success);
}
.chips-carousel-wrapper .kpi-chip .kpi-chip-icon--emerald svg, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon--emerald [data-lucide], .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-success svg, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-success [data-lucide], .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-emerald svg, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-emerald [data-lucide],
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon--emerald svg,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon--emerald [data-lucide],
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-success svg,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-success [data-lucide],
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-emerald svg,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-emerald [data-lucide],
.chips-carousel-wrapper .kpi-chip .akc-icon--emerald svg,
.chips-carousel-wrapper .kpi-chip .akc-icon--emerald [data-lucide],
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-success svg,
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-success [data-lucide],
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-emerald svg,
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-emerald [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon--emerald svg,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon--emerald [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-success svg,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-success [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-emerald svg,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-emerald [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon--emerald svg,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon--emerald [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-success svg,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-success [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-emerald svg,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-emerald [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon--emerald svg,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon--emerald [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-success svg,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-success [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-emerald svg,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-emerald [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon--emerald svg,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon--emerald [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-success svg,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-success [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-emerald svg,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-emerald [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon--emerald svg,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon--emerald [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-success svg,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-success [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-emerald svg,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-emerald [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .akc-icon--emerald svg,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon--emerald [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-success svg,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-success [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-emerald svg,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-emerald [data-lucide] {
  color: var(--success);
}
.chips-carousel-wrapper .kpi-chip .kpi-chip-icon--rose, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-rose,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon--rose,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-rose,
.chips-carousel-wrapper .kpi-chip .akc-icon--rose,
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-rose,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon--rose,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-rose,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon--rose,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-rose,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon--rose,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-rose,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon--rose,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-rose,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon--rose,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-rose,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon--rose,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-rose {
  background: var(--rose-subtle);
  color: var(--rose);
}
.chips-carousel-wrapper .kpi-chip .kpi-chip-icon--rose svg, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon--rose [data-lucide], .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-rose svg, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-rose [data-lucide],
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon--rose svg,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon--rose [data-lucide],
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-rose svg,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-rose [data-lucide],
.chips-carousel-wrapper .kpi-chip .akc-icon--rose svg,
.chips-carousel-wrapper .kpi-chip .akc-icon--rose [data-lucide],
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-rose svg,
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-rose [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon--rose svg,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon--rose [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-rose svg,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-rose [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon--rose svg,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon--rose [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-rose svg,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-rose [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon--rose svg,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon--rose [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-rose svg,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-rose [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon--rose svg,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon--rose [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-rose svg,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-rose [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon--rose svg,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon--rose [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-rose svg,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-rose [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .akc-icon--rose svg,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon--rose [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-rose svg,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-rose [data-lucide] {
  color: var(--rose);
}
.chips-carousel-wrapper .kpi-chip .kpi-chip-icon--danger, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-danger,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon--danger,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-danger,
.chips-carousel-wrapper .kpi-chip .akc-icon--danger,
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-danger,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon--danger,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-danger,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon--danger,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-danger,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon--danger,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-danger,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon--danger,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-danger,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon--danger,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-danger,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon--danger,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-danger {
  background: var(--danger-subtle);
  color: var(--danger);
}
.chips-carousel-wrapper .kpi-chip .kpi-chip-icon--danger svg, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon--danger [data-lucide], .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-danger svg, .chips-carousel-wrapper .kpi-chip .kpi-chip-icon.icon-danger [data-lucide],
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon--danger svg,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon--danger [data-lucide],
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-danger svg,
.chips-carousel-wrapper .kpi-chip .dsh-chip-icon.icon-danger [data-lucide],
.chips-carousel-wrapper .kpi-chip .akc-icon--danger svg,
.chips-carousel-wrapper .kpi-chip .akc-icon--danger [data-lucide],
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-danger svg,
.chips-carousel-wrapper .kpi-chip .akc-icon.icon-danger [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon--danger svg,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon--danger [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-danger svg,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-icon.icon-danger [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon--danger svg,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon--danger [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-danger svg,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-icon.icon-danger [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon--danger svg,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon--danger [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-danger svg,
.chips-carousel-wrapper .dsh-kpi-chip .akc-icon.icon-danger [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon--danger svg,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon--danger [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-danger svg,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-icon.icon-danger [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon--danger svg,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon--danger [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-danger svg,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-icon.icon-danger [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .akc-icon--danger svg,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon--danger [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-danger svg,
.chips-carousel-wrapper .anl-kpi-chip .akc-icon.icon-danger [data-lucide] {
  color: var(--danger);
}
.chips-carousel-wrapper .kpi-chip .kpi-chip-label,
.chips-carousel-wrapper .kpi-chip .dsh-chip-title,
.chips-carousel-wrapper .kpi-chip .akc-label,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-label,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-title,
.chips-carousel-wrapper .dsh-kpi-chip .akc-label,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-label,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-title,
.chips-carousel-wrapper .anl-kpi-chip .akc-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}
.chips-carousel-wrapper .kpi-chip .kpi-chip-val,
.chips-carousel-wrapper .kpi-chip .dsh-chip-val,
.chips-carousel-wrapper .kpi-chip .akc-val,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-val,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-val,
.chips-carousel-wrapper .dsh-kpi-chip .akc-val,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-val,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-val,
.chips-carousel-wrapper .anl-kpi-chip .akc-val {
  font-size: 1.15rem;
  font-weight: 850;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.chips-carousel-wrapper .kpi-chip .kpi-chip-trend,
.chips-carousel-wrapper .kpi-chip .dsh-chip-trend,
.chips-carousel-wrapper .kpi-chip .akc-trend,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-trend,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-trend,
.chips-carousel-wrapper .dsh-kpi-chip .akc-trend,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-trend,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-trend,
.chips-carousel-wrapper .anl-kpi-chip .akc-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.chips-carousel-wrapper .kpi-chip .kpi-chip-trend svg, .chips-carousel-wrapper .kpi-chip .kpi-chip-trend [data-lucide],
.chips-carousel-wrapper .kpi-chip .dsh-chip-trend svg,
.chips-carousel-wrapper .kpi-chip .dsh-chip-trend [data-lucide],
.chips-carousel-wrapper .kpi-chip .akc-trend svg,
.chips-carousel-wrapper .kpi-chip .akc-trend [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-trend svg,
.chips-carousel-wrapper .dsh-kpi-chip .kpi-chip-trend [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-trend svg,
.chips-carousel-wrapper .dsh-kpi-chip .dsh-chip-trend [data-lucide],
.chips-carousel-wrapper .dsh-kpi-chip .akc-trend svg,
.chips-carousel-wrapper .dsh-kpi-chip .akc-trend [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-trend svg,
.chips-carousel-wrapper .anl-kpi-chip .kpi-chip-trend [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-trend svg,
.chips-carousel-wrapper .anl-kpi-chip .dsh-chip-trend [data-lucide],
.chips-carousel-wrapper .anl-kpi-chip .akc-trend svg,
.chips-carousel-wrapper .anl-kpi-chip .akc-trend [data-lucide] {
  width: 13px;
  height: 13px;
}

.ord-dsh-cards-mobile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.ord-dsh-card-mb {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl, 20px);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ord-dsh-card-mb:active {
  transform: scale(0.99);
}

.ord-mb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ord-mb-code-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ord-mb-code {
  font-family: var(--font-mono, monospace);
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.ord-mb-date {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.ord-mb-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.ord-mb-cust {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ord-mb-cust svg, .ord-mb-cust [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.ord-mb-tot {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ord-mb-action {
  width: 100%;
}
.ord-mb-action a, .ord-mb-action .btn {
  width: 100%;
  min-height: 38px;
  justify-content: center;
}

.cust-cards-mobile {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
  padding: 12px 0;
}

.cust-card-mb {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.cust-card-mb.border-Loyal {
  border-inline-start: 3px solid var(--warning);
}
.cust-card-mb.border-Active {
  border-inline-start: 3px solid var(--info);
}
.cust-card-mb.border-Inactive {
  border-inline-start: 3px solid var(--muted);
}

.cc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cc-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
}

.cc-metric-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cc-m-lbl {
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 2px;
}

.cc-m-val {
  font-size: 0.88rem;
  font-weight: 700;
}

.cc-note-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface2);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.75rem;
  color: var(--muted);
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.15s ease;
}
.cc-note-strip svg, .cc-note-strip [data-lucide] {
  width: 13px;
  height: 13px;
}
.cc-note-strip:hover {
  border-color: var(--accent);
  color: var(--text);
}
.cc-note-strip.has-note {
  background: var(--surface2);
  border-style: solid;
  border-color: var(--border2);
  color: var(--text);
}

.cc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--border);
}

.cc-act-btn {
  min-height: 38px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 8px;
  font-size: 0.8rem;
}
.cc-act-btn svg, .cc-act-btn [data-lucide] {
  width: 15px;
  height: 15px;
}

.wa-btn {
  background: var(--success-subtle);
  border-color: var(--success-border);
  color: var(--success);
  font-weight: 600;
}
.wa-btn:hover {
  background: var(--success);
  color: var(--text-white);
}

.cc-view-btn {
  min-height: 38px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
}
.cc-view-btn svg, .cc-view-btn [data-lucide] {
  width: 15px;
  height: 15px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
@media (max-width: 1200px) {
  .kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }
}
.kpi-grid .kpi-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg, 14px);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  position: relative;
  overflow: hidden;
}
.kpi-grid .kpi-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--border-subtle), transparent);
  pointer-events: none;
}
.kpi-grid .kpi-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.kpi-grid .kpi-card.active {
  background: var(--surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.kpi-grid .kpi-card .kpi-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md, 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kpi-grid .kpi-card .kpi-icon-wrap svg, .kpi-grid .kpi-card .kpi-icon-wrap i {
  width: 20px;
  height: 20px;
}
.kpi-grid .kpi-card .kpi-icon-wrap.kpi-all {
  background: var(--surface3);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.kpi-grid .kpi-card .kpi-icon-wrap.kpi-active {
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid var(--success-border);
}
.kpi-grid .kpi-card .kpi-icon-wrap.kpi-draft {
  background: var(--warning-subtle);
  color: var(--warning);
  border: 1px solid var(--warning-border);
}
.kpi-grid .kpi-card .kpi-icon-wrap.kpi-budget {
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid var(--border-medium);
}
.kpi-grid .kpi-card .kpi-icon-wrap.kpi-slots {
  background: var(--teal-subtle);
  color: var(--teal);
  border: 1px solid var(--border-medium);
}
.kpi-grid .kpi-card .kpi-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.kpi-grid .kpi-card .kpi-body .kpi-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}
.kpi-grid .kpi-card .kpi-body .kpi-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}
@media (max-width: 640px) {
  .catalogs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.catalog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl, 24px);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  transform: translate3d(0, 0, 0);
  will-change: transform, box-shadow;
  transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.22s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.catalog-card::after {
  content: "";
  position: absolute;
  inset-inline: 16px;
  bottom: -6px;
  height: 14px;
  border-radius: 0 0 var(--radius-xl, 18px) var(--radius-xl, 18px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle, var(--border));
  border-top: none;
  box-shadow: 0 4px 0 0 var(--surface3), 0 5px 0 0 var(--border);
  z-index: -1;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
  transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.22s ease;
  opacity: 0.9;
}
.catalog-card:hover {
  transform: translate3d(0, -6px, 0);
  box-shadow: var(--shadow-xl);
}
.catalog-card:hover::after {
  transform: translate3d(0, 3px, 0) scale3d(0.98, 1, 1);
  opacity: 1;
  box-shadow: 0 4px 0 0 var(--surface3), 0 8px 0 0 var(--surface2), 0 9px 0 0 var(--border);
}
.catalog-card:hover .catalog-cover-wrap img {
  transform: scale3d(1.04, 1.04, 1);
}
.catalog-card.is-selected, .catalog-card.selected {
  box-shadow: var(--shadow-xl);
  transform: translate3d(0, -6px, 0);
}
.catalog-card.is-selected::after, .catalog-card.selected::after {
  transform: translate3d(0, 3px, 0) scale3d(0.98, 1, 1);
  opacity: 1;
  box-shadow: 0 4px 0 0 var(--surface3), 0 8px 0 0 var(--surface2), 0 9px 0 0 var(--border);
}
.catalog-card.is-inactive {
  opacity: 0.68;
  filter: grayscale(0.25);
}
.catalog-card .catalog-cover-wrap {
  height: 180px;
  position: relative;
  background: var(--surface2);
  border-top-left-radius: var(--radius-2xl, 24px);
  border-top-right-radius: var(--radius-2xl, 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.catalog-card .catalog-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.catalog-card .catalog-cover-wrap .catalog-cover-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--overlay-bg) 0%, transparent 60%, var(--overlay-bg) 100%);
  pointer-events: none;
}
.catalog-card .catalog-cover-wrap .catalog-cover-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}
.catalog-card .catalog-cover-wrap .catalog-cover-placeholder svg, .catalog-card .catalog-cover-wrap .catalog-cover-placeholder i, .catalog-card .catalog-cover-wrap .catalog-cover-placeholder [data-lucide] {
  width: 44px;
  height: 44px;
  opacity: 0.6;
}
.catalog-card .catalog-cover-wrap .catalog-cover-placeholder .placeholder-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}
.catalog-card .catalog-cover-wrap.interactive-cover-picker {
  cursor: pointer;
  user-select: none;
}
.catalog-card .catalog-cover-wrap.interactive-cover-picker:hover .cover-quick-edit-pill {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.catalog-card .catalog-cover-wrap.interactive-cover-picker:hover img {
  transform: scale3d(1.05, 1.05, 1);
  filter: brightness(0.85);
}
.catalog-card .catalog-cover-wrap.interactive-cover-picker:hover .catalog-cover-placeholder {
  color: var(--accent);
}
.catalog-card .catalog-cover-wrap.interactive-cover-picker:hover .catalog-cover-placeholder .ccp-icon-circle {
  background: var(--accent-subtle);
  color: var(--accent);
  transform: scale(1.08);
}
.catalog-card .catalog-cover-wrap.interactive-cover-picker .cover-quick-edit-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  opacity: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--overlay-bg);
  color: var(--text-white);
  font-size: 0.76rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-md);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 5;
  pointer-events: none;
}
.catalog-card .catalog-cover-wrap.interactive-cover-picker .cover-quick-edit-pill i, .catalog-card .catalog-cover-wrap.interactive-cover-picker .cover-quick-edit-pill [data-lucide] {
  width: 14px;
  height: 14px;
}
.catalog-card .catalog-cover-wrap.interactive-cover-picker .catalog-cover-placeholder .ccp-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.25s ease;
}
.catalog-card .catalog-cover-wrap.interactive-cover-picker .catalog-cover-placeholder .ccp-icon-circle i, .catalog-card .catalog-cover-wrap.interactive-cover-picker .catalog-cover-placeholder .ccp-icon-circle [data-lucide] {
  width: 20px;
  height: 20px;
  opacity: 1;
}
.catalog-card .catalog-cover-wrap.interactive-cover-picker .catalog-cover-placeholder .placeholder-hint {
  font-size: 0.68rem;
  color: var(--text-muted);
  opacity: 0.75;
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay .chk-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-md, 8px);
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay .chk-wrapper:hover {
  background: var(--surface2);
  border-color: var(--border-strong);
  transform: scale(1.06);
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay .chk-wrapper input[type=checkbox] {
  width: 15px;
  height: 15px;
  cursor: pointer;
  accent-color: var(--accent);
  margin: 0;
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay .status-pill {
  font-size: 0.7rem;
  font-weight: 800;
  height: 26px;
  padding: 0 10px;
  border-radius: var(--radius-full, 9999px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--overlay-bg);
  color: var(--text-white);
  border: 1px solid var(--border-medium);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay .status-pill.active {
  border-color: var(--success-border);
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay .status-pill.active::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay .status-pill.draft {
  border-color: var(--warning-border);
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay .status-pill.draft::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warning);
  box-shadow: 0 0 6px var(--warning);
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay .status-pill.inactive {
  border-color: var(--border-subtle);
  color: var(--text-muted);
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay .status-pill.inactive::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay .mode-pill {
  height: 26px;
  padding: 0 11px;
  border-radius: var(--radius-full, 9999px);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--overlay-bg) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid var(--border-medium) !important;
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay .mode-pill svg, .catalog-card .catalog-cover-wrap .catalog-badge-overlay .mode-pill i, .catalog-card .catalog-cover-wrap .catalog-badge-overlay .mode-pill [data-lucide] {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
  flex-shrink: 0;
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay .mode-pill span {
  color: var(--text-white) !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay .mode-pill.mode-visual {
  border-color: var(--purple-border) !important;
  box-shadow: var(--shadow-sm) !important;
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay .mode-pill.mode-visual svg, .catalog-card .catalog-cover-wrap .catalog-badge-overlay .mode-pill.mode-visual i, .catalog-card .catalog-cover-wrap .catalog-badge-overlay .mode-pill.mode-visual [data-lucide] {
  color: var(--purple) !important;
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay .mode-pill.mode-checklist {
  border-color: var(--success-border) !important;
  box-shadow: var(--shadow-sm) !important;
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay .mode-pill.mode-checklist svg, .catalog-card .catalog-cover-wrap .catalog-badge-overlay .mode-pill.mode-checklist i, .catalog-card .catalog-cover-wrap .catalog-badge-overlay .mode-pill.mode-checklist [data-lucide] {
  color: var(--success) !important;
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay .mode-pill.mode-package {
  border-color: var(--info-border) !important;
  box-shadow: var(--shadow-sm) !important;
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay .mode-pill.mode-package svg, .catalog-card .catalog-cover-wrap .catalog-badge-overlay .mode-pill.mode-package i, .catalog-card .catalog-cover-wrap .catalog-badge-overlay .mode-pill.mode-package [data-lucide] {
  color: var(--info) !important;
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay .mode-pill.mode-budget {
  border-color: rgba(245, 158, 11, 0.55) !important;
}
.catalog-card .catalog-cover-wrap .catalog-badge-overlay .mode-pill.mode-budget svg, .catalog-card .catalog-cover-wrap .catalog-badge-overlay .mode-pill.mode-budget i, .catalog-card .catalog-cover-wrap .catalog-badge-overlay .mode-pill.mode-budget [data-lucide] {
  color: var(--warning) !important;
}
.catalog-card .catalog-cover-wrap .catalog-quick-actions {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.catalog-card .catalog-cover-wrap .catalog-quick-actions .btn-quick-action {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md, 8px);
  background: var(--overlay-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-medium);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast);
}
.catalog-card .catalog-cover-wrap .catalog-quick-actions .btn-quick-action:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
}
.catalog-card .catalog-cover-wrap .catalog-quick-actions .btn-quick-action svg, .catalog-card .catalog-cover-wrap .catalog-quick-actions .btn-quick-action i {
  width: 14px;
  height: 14px;
}
.catalog-card .catalog-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 12px;
}
.catalog-card .catalog-body .catalog-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.catalog-card .catalog-body .catalog-title-row .catalog-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color var(--transition-fast);
}
.catalog-card .catalog-body .catalog-title-row .catalog-title:hover {
  color: var(--accent);
}
.catalog-card .catalog-body .catalog-title-row .slots-count-chip {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle, var(--border));
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.catalog-card .catalog-body .catalog-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.catalog-card .catalog-body .slots-preview-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface2);
  border: 1px solid var(--border-subtle, transparent);
  border-radius: var(--radius-lg, 14px);
}
.catalog-card .catalog-body .slots-preview-wrap .slots-preview-title {
  font-size: 0.72rem;
  font-weight: 750;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.catalog-card .catalog-body .slots-preview-wrap .slots-preview-title svg, .catalog-card .catalog-body .slots-preview-wrap .slots-preview-title i {
  width: 12px;
  height: 12px;
  color: var(--accent);
}
.catalog-card .catalog-body .slots-preview-wrap .slots-chips-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.catalog-card .catalog-body .slots-preview-wrap .slots-chips-row .slot-mini-chip {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle, transparent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.catalog-card .catalog-body .slots-preview-wrap .slots-chips-row .slot-mini-chip .req-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--danger);
}
.catalog-card .catalog-body .slots-preview-wrap .slots-chips-row .slot-more-chip {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  padding-inline: 4px;
}
.catalog-card .catalog-body .catalog-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle, var(--border));
}
.catalog-card .catalog-body .catalog-meta-row .budget-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--success);
  background: var(--success-subtle);
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
}
.catalog-card .catalog-body .catalog-meta-row .budget-badge svg, .catalog-card .catalog-body .catalog-meta-row .budget-badge i {
  width: 13px;
  height: 13px;
}
.catalog-card .catalog-body .catalog-meta-row .no-budget-text {
  font-size: 0.76rem;
  color: var(--text-muted);
}
.catalog-card .catalog-body .catalog-meta-row .catalog-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.catalog-card .catalog-body .catalog-meta-row .catalog-date svg, .catalog-card .catalog-body .catalog-meta-row .catalog-date i {
  width: 12px;
  height: 12px;
}
.catalog-card .catalog-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--surface2);
  border-top: 1px solid var(--border-subtle, var(--border));
  border-bottom-left-radius: var(--radius-2xl, 24px);
  border-bottom-right-radius: var(--radius-2xl, 24px);
}
.catalog-card .catalog-card-footer .btn-manage-slots {
  flex: 1;
  height: 38px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  border: 1px solid var(--border-subtle, transparent);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.catalog-card .catalog-card-footer .btn-manage-slots:hover {
  background: var(--accent);
  color: var(--text-inverse);
}
.catalog-card .catalog-card-footer .btn-manage-slots svg, .catalog-card .catalog-card-footer .btn-manage-slots i {
  width: 14px;
  height: 14px;
}
.catalog-card .catalog-card-footer .btn-store-preview {
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  border: 1px solid var(--border-subtle, transparent);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.catalog-card .catalog-card-footer .btn-store-preview:hover {
  background: var(--surface);
  color: var(--text-primary);
}
.catalog-card .catalog-card-footer .btn-store-preview svg, .catalog-card .catalog-card-footer .btn-store-preview i {
  width: 14px;
  height: 14px;
}
.catalog-card .catalog-card-footer .btn-icon-footer {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  border: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.catalog-card .catalog-card-footer .btn-icon-footer:hover {
  color: var(--danger);
  background: var(--danger-subtle);
}
.catalog-card .catalog-card-footer .btn-icon-footer svg, .catalog-card .catalog-card-footer .btn-icon-footer i {
  width: 15px;
  height: 15px;
}

.presets-showcase-card {
  max-width: 1100px;
  width: 100%;
}
.presets-showcase-card .modal-body {
  max-height: 75vh;
  overflow-y: auto;
  padding: 20px 24px;
}
.presets-showcase-card .presets-modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.presets-showcase-card .presets-modal-toolbar .presets-search-box {
  position: relative;
  flex: 1 1 260px;
  max-width: 380px;
  display: flex;
  align-items: center;
}
.presets-showcase-card .presets-modal-toolbar .presets-search-box input {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  padding-inline-start: 40px;
  padding-inline-end: 36px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-full, 9999px);
  color: var(--text-primary);
  font-size: 0.84rem;
  outline: none;
  transition: var(--transition-fast);
}
.presets-showcase-card .presets-modal-toolbar .presets-search-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
}
.presets-showcase-card .presets-modal-toolbar .presets-search-box .psb-icon {
  position: absolute;
  inset-inline-start: 14px;
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  pointer-events: none;
}
.presets-showcase-card .presets-modal-toolbar .presets-search-box .psb-clear {
  position: absolute;
  inset-inline-end: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.presets-showcase-card .presets-modal-toolbar .presets-search-box .psb-clear svg, .presets-showcase-card .presets-modal-toolbar .presets-search-box .psb-clear i {
  width: 12px;
  height: 12px;
}

.presets-categories-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: var(--surface2);
  padding: 6px;
  border-radius: var(--radius-full, 9999px);
  width: fit-content;
  max-width: 100%;
}
.presets-categories-tabs .preset-category-tab {
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-full, 9999px);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 750;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}
.presets-categories-tabs .preset-category-tab svg, .presets-categories-tabs .preset-category-tab i {
  width: 14px;
  height: 14px;
}
.presets-categories-tabs .preset-category-tab .preset-tab-count {
  padding: 2px 7px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  font-size: 0.7rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.presets-categories-tabs .preset-category-tab:hover:not(.active) {
  color: var(--text-primary);
  background: var(--surface3);
}
.presets-categories-tabs .preset-category-tab.active {
  background: var(--text-primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-xs);
}
.presets-categories-tabs .preset-category-tab.active svg, .presets-categories-tabs .preset-category-tab.active i {
  color: var(--text-inverse) !important;
}
.presets-categories-tabs .preset-category-tab.active .preset-tab-count {
  background: var(--surface2);
  color: var(--text-inverse);
}

.presets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
@media (max-width: 640px) {
  .presets-grid {
    grid-template-columns: 1fr;
  }
}
.presets-grid .preset-kit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 20px);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  position: relative;
  box-shadow: var(--shadow-xs);
}
.presets-grid .preset-kit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.presets-grid .preset-kit-card:hover .btn-apply-preset {
  background: var(--accent);
  color: var(--text-inverse);
}
.presets-grid .preset-kit-card .preset-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.presets-grid .preset-kit-card .preset-card-header .preset-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg, 12px);
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.presets-grid .preset-kit-card .preset-card-header .preset-avatar svg, .presets-grid .preset-kit-card .preset-card-header .preset-avatar i {
  width: 22px;
  height: 22px;
}
.presets-grid .preset-kit-card .preset-card-header .preset-avatar--tech {
  background: var(--info-subtle);
  color: var(--info);
}
.presets-grid .preset-kit-card .preset-card-header .preset-avatar--home {
  background: var(--purple-subtle);
  color: var(--purple);
}
.presets-grid .preset-kit-card .preset-card-header .preset-avatar--gifts {
  background: var(--rose-subtle);
  color: var(--rose);
}
.presets-grid .preset-kit-card .preset-card-header .preset-avatar--services {
  background: var(--success-subtle);
  color: var(--success);
}
.presets-grid .preset-kit-card .preset-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}
.presets-grid .preset-kit-card .preset-card-body .preset-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.35;
}
.presets-grid .preset-kit-card .preset-card-body .preset-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.presets-grid .preset-kit-card .preset-card-body .preset-slots-strip {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 10px;
  background: var(--surface2);
  border-radius: var(--radius-md, 10px);
  margin-top: 4px;
}
.presets-grid .preset-kit-card .preset-card-body .preset-slots-strip .preset-slots-label {
  font-size: 0.72rem;
  font-weight: 750;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.presets-grid .preset-kit-card .preset-card-body .preset-slots-strip .preset-slots-label svg, .presets-grid .preset-kit-card .preset-card-body .preset-slots-strip .preset-slots-label i {
  width: 12px;
  height: 12px;
}
.presets-grid .preset-kit-card .preset-card-body .preset-slots-strip .preset-slots-chips {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.presets-grid .preset-kit-card .preset-card-body .preset-slots-strip .preset-slots-chips .preset-slot-chip {
  font-size: 0.7rem;
  font-weight: 650;
  padding: 2px 7px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  color: var(--text-primary);
}
.presets-grid .preset-kit-card .preset-card-body .preset-slots-strip .preset-slots-chips .preset-slot-chip-more {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent);
}
.presets-grid .preset-kit-card .preset-card-body .preset-budget-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 750;
  color: var(--success);
  margin-top: 2px;
}
.presets-grid .preset-kit-card .preset-card-body .preset-budget-indicator svg, .presets-grid .preset-kit-card .preset-card-body .preset-budget-indicator i {
  width: 12px;
  height: 12px;
}
.presets-grid .preset-kit-card .preset-card-footer {
  margin-top: 6px;
}
.presets-grid .preset-kit-card .preset-card-footer .btn-apply-preset {
  width: 100%;
  height: 38px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle, transparent);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.presets-grid .preset-kit-card .preset-card-footer .btn-apply-preset svg, .presets-grid .preset-kit-card .preset-card-footer .btn-apply-preset i {
  width: 14px;
  height: 14px;
  color: var(--accent);
}
.presets-grid .preset-kit-card .preset-card-footer .btn-apply-preset:hover {
  background: var(--accent);
  color: var(--text-inverse);
}
.presets-grid .preset-kit-card .preset-card-footer .btn-apply-preset:hover svg, .presets-grid .preset-kit-card .preset-card-footer .btn-apply-preset:hover i {
  color: var(--text-inverse);
}

.presets-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  gap: 12px;
}
.presets-empty-state .presets-empty-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.presets-empty-state .presets-empty-icon i, .presets-empty-state .presets-empty-icon [data-lucide] {
  width: 28px;
  height: 28px;
}
.presets-empty-state h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}
.presets-empty-state p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0;
  line-height: 1.5;
}

.mode-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .mode-cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.mode-cards-grid .mode-card {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl, 16px);
  padding: 16px 18px;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.mode-cards-grid .mode-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  background: var(--surface3);
}
.mode-cards-grid .mode-card.active {
  background: var(--surface);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent !important;
}
.mode-cards-grid .mode-card.active::before {
  display: none !important;
}
.mode-cards-grid .mode-card.active .mode-radio-circle {
  border: none !important;
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 13px 13px;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 2px 10px var(--accent-subtle);
  opacity: 1;
  animation: haloPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.mode-cards-grid .mode-card.active .mode-radio-circle .mode-radio-dot {
  display: none;
}
.mode-cards-grid .mode-card .mode-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mode-cards-grid .mode-card .mode-card-header .mode-icon-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.mode-cards-grid .mode-card .mode-card-header .mode-icon-title .mode-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md, 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface3);
  color: var(--accent);
  flex-shrink: 0;
}
.mode-cards-grid .mode-card .mode-card-header .mode-icon-title .mode-icon svg, .mode-cards-grid .mode-card .mode-card-header .mode-icon-title .mode-icon i, .mode-cards-grid .mode-card .mode-card-header .mode-icon-title .mode-icon [data-lucide] {
  width: 18px;
  height: 18px;
}
.mode-cards-grid .mode-card .mode-card-header .mode-icon-title .mode-icon.text-emerald {
  background: var(--success-subtle);
  color: var(--success);
}
.mode-cards-grid .mode-card .mode-card-header .mode-icon-title .mode-icon.text-indigo {
  background: var(--info-subtle);
  color: var(--info);
}
.mode-cards-grid .mode-card .mode-card-header .mode-icon-title .mode-icon.text-pink {
  background: var(--purple-subtle);
  color: var(--purple);
}
.mode-cards-grid .mode-card .mode-card-header .mode-icon-title .mode-icon.text-amber {
  background: var(--warning-subtle);
  color: var(--warning);
}
.mode-cards-grid .mode-card .mode-card-header .mode-icon-title .mode-name {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.35;
}
.mode-cards-grid .mode-card .mode-card-header .mode-radio-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-medium, var(--border));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.mode-cards-grid .mode-card .mode-card-header .mode-radio-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-white);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.mode-cards-grid .mode-card .mode-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.mode-cards-grid .mode-card .mode-badge-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 750;
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  color: var(--text-secondary);
}

.creator-studio-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal, 1000);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  background: var(--overlay-bg) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.creator-studio-overlay.is-open, .creator-studio-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.creator-studio-overlay.is-open .creator-studio-modal, .creator-studio-overlay.active .creator-studio-modal {
  transform: scale(1) !important;
  opacity: 1 !important;
}
@media (max-width: 576px) {
  .creator-studio-overlay {
    padding: 8px !important;
    align-items: center !important;
  }
}

.creator-studio-modal {
  max-width: 1140px;
  width: 100%;
  max-height: min(90vh, 840px);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-2xl, 20px);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
  transform: scale(0.97);
  opacity: 0;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
}
@media (max-width: 768px) {
  .creator-studio-modal {
    max-width: 100%;
    max-height: calc(100vh - 16px);
    border-radius: var(--radius-xl, 16px);
  }
}
.creator-studio-modal .modal-header {
  padding: 18px 24px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border-subtle);
}
@media (max-width: 768px) {
  .creator-studio-modal .modal-header {
    padding: 12px 16px;
  }
}
.creator-studio-modal .modal-header .modal-title-group {
  min-width: 0;
}
.creator-studio-modal .modal-header .modal-title-group .modal-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}
@media (max-width: 768px) {
  .creator-studio-modal .modal-header .modal-title-group .modal-title {
    font-size: 0.95rem;
  }
}
.creator-studio-modal .modal-header .modal-title-group .modal-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}
@media (max-width: 768px) {
  .creator-studio-modal .modal-header .modal-title-group .modal-subtitle {
    display: none;
  }
}
.creator-studio-modal .studio-tabs-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  margin: 0;
  border-radius: 0;
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.creator-studio-modal .studio-tabs-bar::-webkit-scrollbar {
  display: none;
}
@media (max-width: 768px) {
  .creator-studio-modal .studio-tabs-bar {
    padding: 0 12px;
    gap: 4px;
  }
}
.creator-studio-modal .studio-tabs-bar .studio-tab-btn {
  padding: 12px 18px;
  font-size: 0.85rem;
  font-weight: 750;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  margin-bottom: -1px;
  transition: all 0.18s ease;
}
@media (max-width: 768px) {
  .creator-studio-modal .studio-tabs-bar .studio-tab-btn {
    padding: 10px 10px;
    font-size: 0.76rem;
    gap: 5px;
  }
}
.creator-studio-modal .studio-tabs-bar .studio-tab-btn:hover {
  color: var(--text-primary);
}
.creator-studio-modal .studio-tabs-bar .studio-tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: transparent;
}
.creator-studio-modal .studio-tabs-bar .studio-tab-btn i, .creator-studio-modal .studio-tabs-bar .studio-tab-btn [data-lucide] {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.creator-studio-modal .modal-body {
  padding: 22px 24px;
  flex: 1 1 auto;
  overflow-y: auto;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .creator-studio-modal .modal-body {
    padding: 14px 16px;
  }
}
.creator-studio-modal .modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 24px;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .creator-studio-modal .modal-footer {
    padding: 12px 16px;
    flex-direction: column-reverse;
    gap: 8px;
  }
  .creator-studio-modal .modal-footer .btn {
    width: 100%;
    justify-content: center;
  }
}

.creator-studio-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
@media (max-width: 1080px) {
  .creator-studio-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}
.creator-studio-split .creator-form-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.creator-studio-split .creator-form-side .row.g-3 {
  margin-inline: -8px;
}
.creator-studio-split .creator-form-side .row.g-3 > * {
  padding-inline: 8px;
}
.creator-studio-split .creator-preview-side {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1080px) {
  .creator-studio-split .creator-preview-side {
    position: static;
    max-width: 440px;
    margin: 10px auto 0;
    width: 100%;
  }
}
.creator-studio-split .creator-preview-side .live-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.creator-studio-split .creator-preview-side .live-preview-header .preview-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-primary);
}
.creator-studio-split .creator-preview-side .live-preview-header .preview-title i, .creator-studio-split .creator-preview-side .live-preview-header .preview-title [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--accent);
}
.creator-studio-split .creator-preview-side .live-preview-header .preview-status-pill {
  font-size: 0.7rem;
  font-weight: 750;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-full, 9999px);
}
.creator-studio-split .creator-preview-side .live-preview-card-wrap {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  box-sizing: border-box;
}
@media (max-width: 480px) {
  .creator-studio-split .creator-preview-side .live-preview-card-wrap {
    max-width: 100%;
  }
}
.creator-studio-split .creator-preview-side .live-preview-card-wrap .catalog-card {
  pointer-events: auto;
  width: 100%;
  box-sizing: border-box;
}
.creator-studio-split .creator-preview-side .live-preview-card-wrap .catalog-card .catalog-cover-wrap {
  height: 140px;
}
.creator-studio-split .creator-preview-side .preview-mode-features-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 12px);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.creator-studio-split .creator-preview-side .preview-mode-features-card .pmfc-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-primary);
}
.creator-studio-split .creator-preview-side .preview-mode-features-card .pmfc-title i, .creator-studio-split .creator-preview-side .preview-mode-features-card .pmfc-title [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--accent);
}
.creator-studio-split .creator-preview-side .preview-mode-features-card .pmfc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.creator-studio-split .creator-preview-side .preview-mode-features-card .pmfc-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.creator-studio-split .creator-preview-side .preview-mode-features-card .pmfc-list li i, .creator-studio-split .creator-preview-side .preview-mode-features-card .pmfc-list li [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 1px;
}

.creator-cover-presets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.creator-cover-presets .cover-presets-label {
  font-size: 0.74rem;
  font-weight: 750;
  color: var(--text-muted);
}
.creator-cover-presets .cover-presets-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.creator-cover-presets .cover-presets-chips .cover-preset-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-md, 8px);
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.18s ease;
}
.creator-cover-presets .cover-presets-chips .cover-preset-chip:hover {
  background: var(--surface3);
  color: var(--text-primary);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.creator-cover-presets .cover-presets-chips .cover-preset-chip.active {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
  box-shadow: 0 2px 8px var(--accent-glow);
}
.creator-cover-presets .cover-presets-chips .cover-preset-chip i, .creator-cover-presets .cover-presets-chips .cover-preset-chip [data-lucide] {
  width: 14px;
  height: 14px;
}

.studio-presets-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 18px;
  background: var(--surface2);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg, 12px);
  margin-bottom: 20px;
}
.studio-presets-bar .spb-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--text-primary);
}
.studio-presets-bar .spb-info svg, .studio-presets-bar .spb-info i, .studio-presets-bar .spb-info [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.budget-guidance-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg, 14px);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.budget-guidance-card:hover {
  border-color: var(--accent);
  background: var(--surface3);
}
.budget-guidance-card.is-active {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.budget-guidance-card .bgc-content .bgc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.budget-guidance-card .bgc-content .bgc-title i, .budget-guidance-card .bgc-content .bgc-title [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.budget-guidance-card .bgc-content .bgc-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.cover-preview-card {
  height: 44px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cover-preview-card .cover-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-preview-card .cover-preview-placeholder {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.74rem;
}
.cover-preview-card .cover-preview-placeholder svg, .cover-preview-card .cover-preview-placeholder i, .cover-preview-card .cover-preview-placeholder [data-lucide] {
  width: 14px;
  height: 14px;
}

.chart-card {
  border-radius: var(--radius-2xl, 28px);
  overflow: hidden;
  border: none !important;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}
.chart-card .card-header {
  padding: 1.5rem 1.8rem 0.75rem;
  border-bottom: none !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.chart-card .card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.chart-card .chart-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.chart-card .chart-header-actions .chart-filter-dropdown {
  position: relative;
}
.chart-card .chart-header-actions .chart-filter-dropdown .dropdown-chevron {
  transition: transform var(--transition-fast);
}
.chart-card .chart-header-actions .chart-filter-dropdown .dropdown-chevron.rotate-180 {
  transform: rotate(180deg);
}
.chart-card .chart-header-actions .chart-filter-dropdown .dropdown-menu {
  min-width: 155px;
  top: calc(100% + 6px);
  border-radius: var(--radius-lg, 14px);
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: var(--z-dropdown, 900);
}
.chart-card .chart-header-actions .chart-filter-dropdown .dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-md, 8px);
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: start;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.chart-card .chart-header-actions .chart-filter-dropdown .dropdown-menu .dropdown-item svg, .chart-card .chart-header-actions .chart-filter-dropdown .dropdown-menu .dropdown-item [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--text-secondary);
}
.chart-card .chart-header-actions .chart-filter-dropdown .dropdown-menu .dropdown-item:hover {
  background: var(--surface2);
}
.chart-card .chart-header-actions .chart-filter-dropdown .dropdown-menu .dropdown-item.is-active {
  background: var(--surface2);
  color: var(--text-primary);
  font-weight: 700;
}
.chart-card .chart-header-actions .chart-filter-dropdown .dropdown-menu .dropdown-item.is-active svg, .chart-card .chart-header-actions .chart-filter-dropdown .dropdown-menu .dropdown-item.is-active [data-lucide] {
  color: var(--text-primary);
}
.chart-card .btn-chart-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast, all 0.2s cubic-bezier(0.16, 1, 0.3, 1));
  box-shadow: var(--shadow-xs);
  text-decoration: none;
}
.chart-card .btn-chart-pill svg, .chart-card .btn-chart-pill [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}
.chart-card .btn-chart-pill:hover {
  border-color: var(--border-medium);
  background: var(--surface2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.chart-card .btn-chart-pill:hover svg, .chart-card .btn-chart-pill:hover [data-lucide] {
  color: var(--text-primary);
}
.chart-card .chart-legend {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
}
.chart-card .chart-legend .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chart-card .chart-legend .legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.chart-card .chart-legend .legend-dot--primary {
  background: var(--text-primary);
}
.chart-card .chart-legend .legend-dot--secondary {
  background: var(--text-muted);
}
.chart-card .chart-body {
  padding: 1rem 1.8rem 1.4rem;
  position: relative;
}
.chart-card .chart-active-tooltip {
  position: absolute;
  top: 0.25rem;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  background: var(--surface3);
  border: 1px solid var(--border);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-full, 9999px);
  padding: 5px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  pointer-events: none;
  z-index: 5;
}
.chart-card .chart-active-tooltip .tooltip-date {
  color: var(--text-secondary);
}
.chart-card .chart-active-tooltip .tooltip-val {
  color: var(--text-primary);
  font-weight: 700;
}
.chart-card .chart-canvas-layout {
  display: flex;
  align-items: stretch;
  gap: 14px;
  width: 100%;
}
.chart-card .chart-axis-y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 0 24px;
  width: 24px;
  flex-shrink: 0;
}
.chart-card .chart-axis-y .axis-tick {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1;
  text-align: end;
}
.chart-card .chart-svg-wrap {
  flex: 1;
  height: 200px;
  position: relative;
  min-width: 0;
}
.chart-card .chart-svg-wrap svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.chart-card .chart-svg-wrap .grid-line {
  stroke: var(--border-subtle);
  stroke-width: 1;
}
.chart-card .chart-svg-wrap .chart-spline--primary {
  fill: none;
  stroke: var(--text-primary);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart-card .chart-svg-wrap .chart-spline--secondary {
  fill: none;
  stroke: var(--border-strong);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart-card .chart-svg-wrap .chart-dot--primary {
  fill: var(--bg-card);
  stroke: var(--text-primary);
  stroke-width: 2.4;
  r: 5;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.chart-card .chart-svg-wrap .chart-dot--primary:hover {
  r: 7.5;
  fill: var(--text-primary);
  stroke: var(--bg-card);
  filter: drop-shadow(0 2px 8px var(--border-strong));
}
.chart-card .chart-svg-wrap .chart-dot--secondary {
  fill: var(--bg-card);
  stroke: var(--border-strong);
  stroke-width: 2;
  r: 4;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.chart-card .chart-svg-wrap .chart-dot--secondary:hover {
  r: 6.5;
  fill: var(--border-strong);
  stroke: var(--bg-card);
}
.chart-card .chart-axis-x {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.5rem 0;
  margin-top: 0.4rem;
  border-top: 1px solid var(--border-subtle);
}
.chart-card .chart-axis-x .axis-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.categories-card {
  border-radius: var(--radius-2xl, 28px);
  overflow: hidden;
  border: none !important;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  padding: 1.5rem 1.8rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.categories-card .categories-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.categories-card .categories-header .card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.categories-card .donut-chart-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 14px 0 20px;
}
.categories-card .donut-chart-container .donut-chart-svg {
  width: 170px;
  height: 170px;
  transform: rotate(-90deg);
}
.categories-card .donut-chart-container .donut-chart-svg circle {
  fill: none;
  stroke-width: 6.5;
}
.categories-card .donut-chart-container .donut-chart-svg .donut-track {
  stroke: var(--border-subtle);
  opacity: 0.16;
}
.categories-card .donut-chart-container .donut-chart-svg .donut-seg {
  stroke-linecap: round;
  transition: stroke 0.2s ease;
}
.categories-card .donut-chart-container .donut-chart-svg .donut-seg--primary {
  stroke: var(--text-primary);
}
.categories-card .donut-chart-container .donut-chart-svg .donut-seg--secondary {
  stroke: var(--text-secondary);
}
.categories-card .donut-chart-container .donut-chart-svg .donut-seg--tertiary {
  stroke: var(--border-strong);
}
.categories-card .donut-chart-container .donut-val-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  max-width: 120px;
}
.categories-card .donut-chart-container .donut-val-wrap .donut-amount {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.categories-card .donut-chart-container .donut-val-wrap .donut-currency {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.categories-card .categories-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.categories-card .categories-legend .cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 600;
}
.categories-card .categories-legend .cat-item .cat-identity {
  display: flex;
  align-items: center;
  gap: 8px;
}
.categories-card .categories-legend .cat-item .cat-swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.categories-card .categories-legend .cat-item .cat-swatch--primary {
  background: var(--text-primary);
}
.categories-card .categories-legend .cat-item .cat-swatch--secondary {
  background: var(--text-secondary);
}
.categories-card .categories-legend .cat-item .cat-swatch--tertiary {
  background: var(--border-strong);
}
.categories-card .categories-legend .cat-item .cat-pct {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.step-card {
  background: var(--surface, var(--bg-card));
  border: none !important;
  border-radius: var(--radius-2xl, 28px);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.step-head {
  margin-bottom: 28px;
}
.step-head h2 {
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.step-head p {
  color: var(--muted);
  font-size: 0.88rem;
}

.step-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--accent-glow);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tier-widget {
  background: var(--bg-card);
  border: none !important;
  border-radius: var(--radius-2xl, 28px);
  position: relative;
  padding: 1.5rem 1.8rem;
  box-shadow: var(--shadow-card);
}
.tier-widget .stat-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.tier-widget .stat-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.tier-widget .tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
}
.tier-widget .progress-track {
  width: 100%;
  height: 8px;
  background: var(--surface2);
  border-radius: var(--radius-full, 9999px);
  overflow: hidden;
  margin: 12px 0 8px;
}
.tier-widget .progress-fill {
  height: 100%;
  border-radius: var(--radius-full, 9999px);
  background: var(--accent);
  transition: width 0.4s ease;
}
.tier-widget .finance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.tier-widget .finance-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.timeline {
  position: relative;
  padding-inline-start: 26px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  inset-inline-start: 11px;
  width: 2px;
  background: var(--border-subtle);
}
.timeline .tl-item {
  position: relative;
  margin-bottom: 18px;
}
.timeline .tl-item:last-child {
  margin-bottom: 0;
}
.timeline .tl-dot {
  position: absolute;
  top: 4px;
  inset-inline-start: -20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2.5px solid var(--text-primary);
  z-index: 2;
  box-shadow: var(--shadow-xs);
}
.timeline .tl-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.timeline .tl-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}
.timeline .tl-time {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-lg, 16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast, 0.15s ease), transform var(--transition-fast);
}
.list-item:hover {
  background: var(--surface2);
  transform: translateX(-2px);
}
.list-item:last-child {
  border-bottom: none;
}
.list-item .item-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.list-item .item-thumb, .list-item .item-thumb-placeholder {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md, 14px);
  flex-shrink: 0;
}
.list-item .item-thumb {
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}
.list-item .item-thumb-placeholder {
  background: var(--surface2);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
}
.list-item .item-thumb-placeholder svg, .list-item .item-thumb-placeholder [data-lucide] {
  width: 20px;
  height: 20px;
}
.list-item .item-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}
.list-item .item-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.list-item .item-val {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-primary);
  font-feature-settings: "tnum";
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.list-item .item-action {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.rank-badge {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
  font-family: var(--font-mono, monospace);
  background: var(--surface2);
  color: var(--text-muted);
}
.rank-badge.rank-1 {
  background: var(--warning-subtle);
  color: var(--warning);
  box-shadow: 0 2px 6px var(--warning-subtle);
}
.rank-badge.rank-2 {
  background: var(--surface3);
  color: var(--text-secondary);
}
.rank-badge.rank-3 {
  background: var(--accent-subtle);
  color: var(--accent);
}

.metric-progress-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.metric-progress-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.metric-progress-item .metric-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.metric-progress-item .metric-progress-head .metric-progress-identity {
  display: flex;
  align-items: center;
  gap: 8px;
}
.metric-progress-item .metric-progress-head .metric-progress-identity .metric-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--text-primary);
}
.metric-progress-item .metric-progress-head .metric-progress-identity .metric-progress-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}
.metric-progress-item .metric-progress-head .metric-progress-values {
  display: flex;
  align-items: center;
  gap: 8px;
}
.metric-progress-item .metric-progress-head .metric-progress-values .metric-progress-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.metric-progress-item .metric-progress-head .metric-progress-values .metric-progress-pct {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}
.metric-progress-item .metric-progress-track {
  width: 100%;
  height: 7px;
  background: var(--surface2);
  border-radius: var(--radius-full, 9999px);
  overflow: hidden;
}
.metric-progress-item .metric-progress-track .metric-progress-fill {
  height: 100%;
  border-radius: var(--radius-full, 9999px);
  background: var(--text-primary);
  transition: width 0.4s ease;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-xl, 22px);
  box-shadow: var(--shadow-card);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.2s ease;
}
.plan-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.plan-card.popular:not(.is-current), .plan-card.plan-card--recommended {
  background: radial-gradient(ellipse 90% 50% at 50% -10%, rgba(255, 255, 255, 0.06), transparent 70%), var(--surface);
  box-shadow: var(--shadow-md);
}
.plan-card.popular:not(.is-current):hover, .plan-card.plan-card--recommended:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.plan-card.popular:not(.is-current) .plan-icon--recommended, .plan-card.plan-card--recommended .plan-icon--recommended {
  background: var(--surface2);
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 14px var(--accent-glow);
}
.plan-card.is-current, .plan-card.plan-card--current {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface2) 100%);
  box-shadow: var(--shadow-md);
}
.plan-card.is-current:hover, .plan-card.plan-card--current:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.plan-card.is-current .plan-icon--current, .plan-card.plan-card--current .plan-icon--current {
  background: var(--success-subtle);
  color: var(--success);
  border-color: var(--success-border);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}
.plan-card .plan-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.plan-card .plan-badges-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-card .plan-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  user-select: none;
  white-space: nowrap;
}
.plan-card .plan-status-chip svg, .plan-card .plan-status-chip [data-lucide] {
  width: 13px;
  height: 13px;
}
.plan-card .plan-status-chip--current {
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid var(--success-border);
}
.plan-card .plan-status-chip--current .status-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
  display: inline-block;
}
.plan-card .plan-status-chip--recommended {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px var(--accent-glow);
}
.plan-card .plan-status-chip--recommended svg, .plan-card .plan-status-chip--recommended [data-lucide] {
  color: var(--text-inverse);
}
.plan-card .plan-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md, 14px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}
.plan-card .plan-icon svg, .plan-card .plan-icon [data-lucide] {
  width: 22px;
  height: 22px;
}
.plan-card .plan-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.plan-card .plan-name-row .plan-name {
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--text-primary);
  margin: 0;
}
.plan-card .plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.plan-card .plan-price-row .plan-price {
  font-size: 2.1rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}
.plan-card .plan-price-row .plan-price-period {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
}
.plan-card .plan-yearly-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.plan-card .plan-yearly-note svg, .plan-card .plan-yearly-note [data-lucide] {
  width: 13px;
  height: 13px;
}
.plan-card .plan-commission {
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 10px);
  padding: 8px 12px;
  margin: 10px 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.plan-card .plan-commission svg, .plan-card .plan-commission [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--accent);
}
.plan-card .plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  flex-grow: 1;
}
.plan-card .plan-features .plan-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}
.plan-card .plan-features .plan-feat .feat-check {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.plan-card .plan-features .plan-feat .feat-check.yes {
  background: var(--success-subtle);
  color: var(--success);
}
.plan-card .plan-features .plan-feat .feat-check svg, .plan-card .plan-features .plan-feat .feat-check [data-lucide] {
  width: 12px;
  height: 12px;
}
.plan-card .plan-features .plan-feat .feat-text {
  font-weight: 650;
}
.plan-card .plan-cta {
  width: 100%;
  height: 44px;
  border-radius: var(--radius-md, 12px);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none !important;
  transition: var(--transition-fast);
}
.plan-card .plan-cta.cta-current {
  background: var(--surface2);
  color: var(--text-muted);
  cursor: default;
}
.plan-card .plan-cta.cta-upgrade {
  background: var(--accent);
  color: var(--text-inverse);
}
.plan-card .plan-cta.cta-upgrade:hover:not(:disabled) {
  background: var(--accent-hover);
  box-shadow: 0 4px 12px var(--accent-glow);
  transform: translateY(-1px);
}
.plan-card .plan-cta.cta-free {
  background: var(--surface2);
  color: var(--text-primary);
}
.plan-card .plan-cta.cta-free:hover:not(:disabled) {
  background: var(--surface3);
}
.plan-card .plan-cta.cta-downgrade {
  background: var(--surface2);
  color: var(--text-secondary);
}
.plan-card .plan-cta.cta-downgrade:hover:not(:disabled) {
  background: var(--surface3);
}
.plan-card .plan-cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
@media (max-width: 768px) {
  .plan-card {
    padding: 22px 18px;
  }
}

.plan-hero {
  padding: 26px 30px;
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-xl, 20px);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}
.plan-hero .plan-hero-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.plan-hero .plan-hero-left {
  flex: 1;
}
.plan-hero .plan-hero-left .plan-hero-eyebrow {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.plan-hero .plan-hero-left .plan-hero-name {
  font-size: 1.7rem;
  font-weight: 850;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.plan-hero .plan-hero-left .plan-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.plan-hero .plan-hero-left .plan-hero-meta .plan-hero-chip {
  background: var(--surface2);
  padding: 6px 14px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.plan-hero .plan-hero-left .plan-hero-meta .plan-hero-chip svg, .plan-hero .plan-hero-left .plan-hero-meta .plan-hero-chip [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--accent);
}
.plan-hero .plan-hero-left .usage-section .usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.plan-hero .plan-hero-left .usage-section .usage-grid .usage-item {
  background: var(--surface2);
  border-radius: var(--radius-lg, 14px);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plan-hero .plan-hero-left .usage-section .usage-grid .usage-item .usage-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 750;
}
.plan-hero .plan-hero-left .usage-section .usage-grid .usage-item .usage-head .usage-label {
  color: var(--text-secondary);
}
.plan-hero .plan-hero-left .usage-section .usage-grid .usage-item .usage-head .usage-count {
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}
.plan-hero .plan-hero-left .usage-section .usage-grid .usage-item .usage-bar {
  height: 8px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  overflow: hidden;
}
.plan-hero .plan-hero-left .usage-section .usage-grid .usage-item .usage-bar .usage-fill {
  height: 100%;
  border-radius: var(--radius-full, 9999px);
  transition: width 0.3s ease;
}
.plan-hero .plan-hero-left .usage-section .usage-grid .usage-item .usage-bar .usage-fill.fill-accent {
  background: var(--accent);
}
.plan-hero .plan-hero-left .usage-section .usage-grid .usage-item .usage-bar .usage-fill.fill-warning {
  background: var(--warning);
}
.plan-hero .plan-hero-left .usage-section .usage-grid .usage-item .usage-bar .usage-fill.fill-danger {
  background: var(--danger);
}
.plan-hero .plan-hero-left .usage-section .usage-grid .usage-item .usage-bar .usage-fill.fill-products {
  background: var(--teal, var(--accent));
}
.plan-hero .plan-hero-left .usage-section .usage-grid .usage-item .usage-hint {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}
.plan-hero .plan-hero-left .usage-section .usage-grid .usage-item .usage-hint svg, .plan-hero .plan-hero-left .usage-section .usage-grid .usage-item .usage-hint [data-lucide] {
  width: 12px;
  height: 12px;
}
.plan-hero .plan-hero-left .usage-section .usage-grid .usage-item .usage-hint.soon {
  color: var(--warning);
}
.plan-hero .plan-hero-left .usage-section .usage-grid .usage-item .over-limit {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--danger);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.plan-hero .plan-hero-left .usage-section .usage-grid .usage-item .over-limit svg, .plan-hero .plan-hero-left .usage-section .usage-grid .usage-item .over-limit [data-lucide] {
  width: 12px;
  height: 12px;
}
.plan-hero .plan-hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.plan-hero .plan-hero-right .expires-chip {
  background: var(--surface2);
  padding: 6px 12px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}
.plan-hero .plan-hero-right .expires-chip svg, .plan-hero .plan-hero-right .expires-chip [data-lucide] {
  width: 13px;
  height: 13px;
}
.plan-hero .plan-hero-right .expires-chip.soon {
  background: var(--warning-subtle);
  color: var(--warning);
}
@media (max-width: 768px) {
  .plan-hero {
    padding: 18px 16px;
  }
  .plan-hero .plan-hero-inner {
    flex-direction: column;
    gap: 16px;
  }
  .plan-hero .plan-hero-right {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-subtle);
    padding-top: 14px;
  }
}

.cycle-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px auto;
}

.cycle-segmented-control {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  padding: 4px;
  border-radius: var(--radius-full, 9999px);
  box-shadow: var(--shadow-xs);
}
.cycle-segmented-control .cycle-seg-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.84rem;
  font-weight: 750;
  color: var(--text-muted);
  background: transparent;
  border: none !important;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cycle-segmented-control .cycle-seg-btn:hover {
  color: var(--text-primary);
}
.cycle-segmented-control .cycle-seg-btn.is-active {
  background: var(--surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  font-weight: 850;
}
.cycle-segmented-control .cycle-seg-btn .save-pill {
  background: var(--success-subtle);
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full, 9999px);
}

.cycle-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface2);
  padding: 6px 18px;
  border-radius: var(--radius-full, 9999px);
  border: none !important;
  box-shadow: var(--shadow-xs);
  margin: 24px auto;
}
.cycle-toggle .cycle-label {
  font-size: 0.86rem;
  font-weight: 750;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
}
.cycle-toggle .cycle-label.active {
  color: var(--text-primary);
}
.cycle-toggle .cycle-label .save-pill {
  background: var(--success-subtle);
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full, 9999px);
  margin-inline-start: 6px;
}
.cycle-toggle .toggle-track {
  width: 44px;
  height: 24px;
  background: var(--surface3);
  border-radius: var(--radius-full, 9999px);
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cycle-toggle .toggle-track.on {
  background: var(--accent);
}
.cycle-toggle .toggle-track.on .toggle-thumb {
  inset-inline-start: calc(100% - 21px);
}
.cycle-toggle .toggle-track .toggle-thumb {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full, 9999px);
  background: var(--color-white);
  position: absolute;
  top: 3px;
  inset-inline-start: 3px;
  transition: inset-inline-start 0.2s ease;
}

.prc-invoices-mb {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}
.prc-invoices-mb .prc-invoice-mb {
  background: var(--surface2);
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-lg, 14px);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-xs);
}

.history-table-card {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-xl, 20px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.history-table-card .col-date {
  padding-inline-start: 22px;
}
.history-table-card .col-action {
  width: 54px;
  text-align: center;
}
.history-table-card .dl-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md, 8px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.history-table-card .dl-btn:hover {
  background: var(--surface3);
  color: var(--text-primary);
}
.history-table-card .dl-btn svg, .history-table-card .dl-btn [data-lucide] {
  width: 16px;
  height: 16px;
}

.confirm-plan-preview {
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 14px);
  padding: 16px 20px;
  margin-bottom: 14px;
}
.confirm-plan-preview .confirm-plan-name {
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.confirm-plan-preview .confirm-plan-price {
  font-size: 1.8rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.confirm-plan-preview .confirm-plan-cycle {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
}

.confirm-wallet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 14px);
  padding: 14px 18px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  font-weight: 750;
}
.confirm-wallet .wallet-row-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}
.confirm-wallet .wallet-row-left svg, .confirm-wallet .wallet-row-left [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.confirm-promo {
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 14px);
  padding: 14px 18px;
  margin-top: 14px;
}
.confirm-promo .promo-title {
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.confirm-promo .promo-input {
  display: flex;
  align-items: center;
  gap: 8px;
}
.confirm-promo .promo-input input {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-sm, 8px);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.86rem;
  outline: none;
}
.confirm-promo .promo-input input:focus {
  border-color: var(--accent);
}
.confirm-promo .promo-ok {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 6px;
}
.confirm-promo .promo-ok svg, .confirm-promo .promo-ok [data-lucide] {
  width: 14px;
  height: 14px;
}

.comparison-section {
  margin-top: 36px;
  margin-bottom: 30px;
}
.comparison-section .section-heading {
  margin-bottom: 16px;
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.comparison-section .section-heading .section-heading-sub {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.comparison-section .table-card {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-xl, 20px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.comparison-section .table-card th.cmp-current, .comparison-section .table-card td.cmp-current {
  background: var(--surface2);
  font-weight: 800;
}

.advanced-section {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl, 20px);
  box-shadow: var(--shadow-xs);
  padding: 18px 20px;
  margin-bottom: var(--space-4, 16px);
  transition: border-color var(--transition-fast), box-shadow 0.25s ease;
}
@media (max-width: 640px) {
  .advanced-section {
    padding: 14px 14px;
    border-radius: var(--radius-lg, 16px);
  }
}
.advanced-section:last-child {
  margin-bottom: 0;
}
.advanced-section:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}
.advanced-section > .d-flex:first-child,
.advanced-section .advanced-sec-title {
  margin-bottom: var(--space-3, 14px);
}

.advanced-sec-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm, 0.92rem);
  font-weight: 800;
  color: var(--text-primary);
}

.country-currency-interactive-card {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.country-currency-interactive-card .selected-country-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.country-currency-interactive-card .selected-country-bar:hover {
  background: var(--surface3);
}
.country-currency-interactive-card .country-picker-dropdown-panel {
  padding: 16px 18px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.country-currency-interactive-card .countries-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  padding: 4px;
}

.branches-manager-section {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin-top: 20px;
}

.branches-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.carrier-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.sitemap-box {
  background: var(--surface2) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 14px;
  padding: 18px;
  box-shadow: inset 0 1px 3px var(--border-medium);
}

.v-perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) {
  .v-perks-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.v-sec-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.v-sec-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}

.v-sec-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.v-sec-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.v-point-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  line-height: 1.55;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  .apps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.app-card {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-xl, 20px);
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.12), 0 2px 6px -1px rgba(0, 0, 0, 0.08);
  position: relative;
}
.app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  z-index: 3;
}
.app-card::after {
  content: "";
  position: absolute;
  top: -60px;
  inset-inline-end: -40px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-subtle) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.35;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1;
}
.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -4px rgba(0, 0, 0, 0.26), 0 0 24px -2px var(--accent-subtle);
}
.app-card:hover::after {
  opacity: 0.85;
  transform: scale(1.22);
}
.app-card:hover .app-icon-wrap {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.app-card.installed::after {
  background: radial-gradient(circle, var(--success-subtle) 0%, transparent 70%);
  opacity: 0.55;
}
.app-card.unsupported-card {
  opacity: 0.88;
}
.app-card.unsupported-card::after {
  background: radial-gradient(circle, var(--warning-subtle) 0%, transparent 70%);
}
.app-card .app-card-inner {
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  position: relative;
  z-index: 2;
}
.app-card .app-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}
.app-card .app-head-identity {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 0;
}
.app-card .app-icon-wrap {
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  border-radius: var(--radius-lg, 14px);
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  padding: 5px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.app-card .app-icon-wrap .app-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md, 8px);
}
.app-card .app-icon-wrap .app-emoji-fallback {
  font-size: 1.85rem;
  line-height: 1;
}
.app-card .app-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.app-card .app-meta .app-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
}
.app-card .app-meta .app-title-wrap .app-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-card .app-meta .app-title-wrap .app-verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}
.app-card .app-meta .app-title-wrap .app-verified-badge svg, .app-card .app-meta .app-title-wrap .app-verified-badge [data-lucide] {
  width: 16px;
  height: 16px;
  stroke-width: 2.2px;
}
.app-card .app-meta .app-category-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-card .app-meta .app-rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  line-height: 1.3;
  margin-top: 1px;
}
.app-card .app-meta .app-rating-row .star-icon {
  width: 12px;
  height: 12px;
  fill: var(--warning);
  color: var(--warning);
  flex-shrink: 0;
}
.app-card .app-meta .app-rating-row .rating-score {
  font-weight: 800;
  font-feature-settings: "tnum";
  color: var(--text-primary);
}
.app-card .app-meta .app-rating-row .rating-count {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.72rem;
  font-feature-settings: "tnum";
}
.app-card .app-meta .app-rating-row .app-official-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.app-card .app-head-badge-slot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  align-self: flex-start;
}
.app-card .app-head-badge-slot .app-status-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full, 9999px);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
  box-shadow: var(--shadow-xs);
}
.app-card .app-head-badge-slot .app-status-badge .badge-mini-icon {
  width: 11px;
  height: 11px;
  stroke-width: 2.8px;
}
.app-card .app-head-badge-slot .app-status-badge--installed {
  background: var(--success-subtle);
  color: var(--success);
}
.app-card .app-head-badge-slot .app-status-badge--new {
  background: var(--accent-subtle);
  color: var(--accent);
}
.app-card .app-unsupported-banner {
  background: var(--warning-subtle);
  border-radius: var(--radius-md, 12px);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--warning);
}
.app-card .app-unsupported-banner .unsupported-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 750;
}
.app-card .app-unsupported-banner .unsupported-pill svg, .app-card .app-unsupported-banner .unsupported-pill [data-lucide] {
  width: 15px;
  height: 15px;
}
.app-card .app-unsupported-banner .unsupported-hint a {
  color: var(--warning);
  text-decoration: underline;
  font-weight: 800;
}
.app-card .app-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.app-card .app-capabilities {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 12px;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
}
.app-card .app-capabilities .capability-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  transition: color var(--transition-fast);
}
.app-card .app-capabilities .capability-pill:hover {
  background: transparent;
  color: var(--text-primary);
  transform: none;
}
.app-card .app-capabilities .capability-pill .cap-check {
  width: 14px;
  height: 14px;
  color: var(--success);
  stroke-width: 2.5px;
  flex-shrink: 0;
}
.app-card .app-capabilities .capability-pill span {
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-card .app-footer {
  padding: 14px 22px;
  background: var(--surface2);
  border: none !important;
  border-top: 1px solid var(--border-subtle) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  border-radius: 0 0 var(--radius-2xl, 28px) var(--radius-2xl, 28px);
  position: relative;
  z-index: 2;
}
.app-card .app-footer .app-pricing-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app-card .app-footer .app-pricing-info .price-val {
  font-size: 0.8rem;
  font-weight: 850;
  padding: 4px 12px;
  border-radius: var(--radius-full, 9999px);
  box-shadow: var(--shadow-xs);
  display: inline-flex;
  align-items: center;
  width: fit-content;
}
.app-card .app-footer .app-pricing-info .price-val.price-free {
  background: var(--success-subtle);
  color: var(--success);
}
.app-card .app-footer .app-pricing-info .price-val.price-paid {
  background: var(--warning-subtle);
  color: var(--warning);
}
.app-card .app-footer .app-pricing-info .pricing-sub-hint {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.2;
  margin-inline-start: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.app-card .app-footer .app-pricing-info .pricing-sub-hint .hint-mini-icon {
  width: 12px;
  height: 12px;
  stroke-width: 2px;
  color: var(--teal);
  flex-shrink: 0;
}
.app-card .app-footer .app-pricing-info .pricing-sub-hint .hint-sep {
  opacity: 0.45;
  font-size: 0.65rem;
}
.app-card .app-footer .footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-card--disabled {
  opacity: 0.78;
  filter: grayscale(0.25);
}
.app-card--disabled:hover {
  opacity: 1;
  filter: none;
}
.app-card--hidden::after {
  background: radial-gradient(circle, var(--warning-subtle) 0%, transparent 70%);
  opacity: 0.55;
}
.app-card .app-governance-strip {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-xs);
  transition: background var(--transition-fast);
}
.app-card .app-governance-strip .app-governance-switches {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.app-card .app-governance-strip .app-governance-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}
.app-card .app-governance-strip .app-governance-switch .switch-title {
  font-size: var(--text-2xs, 0.72rem);
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.app-card .app-governance-strip .app-governance-shortcuts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}
.app-card .app-governance-strip .app-governance-shortcuts .shortcuts-label {
  font-size: var(--text-2xs, 0.68rem);
  color: var(--text-muted);
  font-weight: 600;
}
.app-card .app-governance-strip .app-governance-shortcuts .shortcuts-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

.store-shipping-alert-banner {
  position: relative;
  background: var(--warning-subtle);
  border: none !important;
  border-radius: var(--radius-2xl, 24px);
  padding: 22px 26px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.store-shipping-alert-banner .alert-banner-glow {
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 4px;
  background: var(--warning);
  box-shadow: 0 0 16px var(--warning);
}
.store-shipping-alert-banner .alert-banner-body {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
@media (max-width: 640px) {
  .store-shipping-alert-banner .alert-banner-body {
    flex-direction: column;
    gap: 14px;
  }
}
.store-shipping-alert-banner .alert-banner-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--warning);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.store-shipping-alert-banner .alert-banner-icon-box svg, .store-shipping-alert-banner .alert-banner-icon-box [data-lucide] {
  width: 24px;
  height: 24px;
}
.store-shipping-alert-banner .alert-banner-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.store-shipping-alert-banner .alert-banner-content .alert-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 850;
  color: var(--warning);
}
.store-shipping-alert-banner .alert-banner-content .alert-banner-badge .pulse-danger-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 8px var(--danger);
}
.store-shipping-alert-banner .alert-banner-content .alert-banner-title {
  font-size: 1.1rem;
  font-weight: 850;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.35;
}
.store-shipping-alert-banner .alert-banner-content .alert-banner-desc {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}
.store-shipping-alert-banner .alert-banner-content .alert-banner-quick-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.store-shipping-alert-banner .alert-banner-content .alert-banner-quick-actions .quick-actions-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
}
.store-shipping-alert-banner .alert-banner-content .alert-banner-quick-actions .quick-apps-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.store-shipping-alert-banner .alert-banner-content .alert-banner-quick-actions .quick-apps-chips .btn-quick-activate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: var(--radius-full, 9999px);
  background: var(--warning);
  color: var(--color-white);
  border: none;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.store-shipping-alert-banner .alert-banner-content .alert-banner-quick-actions .quick-apps-chips .btn-quick-activate:hover:not(:disabled) {
  transform: translateY(-1.5px);
  box-shadow: var(--shadow-sm);
  filter: brightness(1.08);
}
.store-shipping-alert-banner .alert-banner-content .alert-banner-quick-actions .quick-apps-chips .btn-quick-activate:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.store-shipping-alert-banner .alert-banner-content .alert-banner-quick-actions .quick-apps-chips .btn-quick-activate .btn-micro-icon {
  width: 13px;
  height: 13px;
}

.installed-toolbar-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .installed-toolbar-hud {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 16px;
  }
  .installed-toolbar-hud .installed-hud-filter-group {
    width: 100%;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .installed-toolbar-hud .installed-hud-filter-group::-webkit-scrollbar {
    display: none;
  }
  .installed-toolbar-hud .installed-hud-filter-group .installed-hud-btn {
    flex: 1;
    justify-content: center;
    padding: 7px 10px;
    font-size: 0.76rem;
    white-space: nowrap;
  }
  .installed-toolbar-hud .installed-hud-telemetry {
    width: 100%;
    justify-content: center;
  }
}
.installed-toolbar-hud .installed-hud-filter-group {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  padding: 4px;
  border-radius: var(--radius-full, 9999px);
  box-shadow: var(--shadow-xs);
  gap: 4px;
}
.installed-toolbar-hud .installed-hud-filter-group .installed-hud-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: var(--radius-full, 9999px);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.installed-toolbar-hud .installed-hud-filter-group .installed-hud-btn .hud-mini-icon {
  width: 14px;
  height: 14px;
}
.installed-toolbar-hud .installed-hud-filter-group .installed-hud-btn .hud-count-pill {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  color: var(--text-muted);
}
.installed-toolbar-hud .installed-hud-filter-group .installed-hud-btn .hud-count-pill.hud-count--success {
  background: var(--success-subtle);
  color: var(--success);
}
.installed-toolbar-hud .installed-hud-filter-group .installed-hud-btn .hud-count-pill.hud-count--warning {
  background: var(--warning-subtle);
  color: var(--warning);
}
.installed-toolbar-hud .installed-hud-filter-group .installed-hud-btn:hover {
  color: var(--text-primary);
}
.installed-toolbar-hud .installed-hud-filter-group .installed-hud-btn.is-active {
  background: var(--surface2);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
}
.installed-toolbar-hud .installed-hud-telemetry {
  display: flex;
  align-items: center;
  gap: 8px;
}
.installed-toolbar-hud .installed-hud-telemetry .shipping-status-alert-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full, 9999px);
  background: var(--danger-subtle);
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 800;
}
.installed-toolbar-hud .installed-hud-telemetry .shipping-status-alert-pill svg, .installed-toolbar-hud .installed-hud-telemetry .shipping-status-alert-pill [data-lucide] {
  width: 13px;
  height: 13px;
}
.installed-toolbar-hud .installed-hud-telemetry .shipping-status-ok-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full, 9999px);
  background: var(--success-subtle);
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 750;
}
.installed-toolbar-hud .installed-hud-telemetry .shipping-status-ok-pill svg, .installed-toolbar-hud .installed-hud-telemetry .shipping-status-ok-pill [data-lucide] {
  width: 13px;
  height: 13px;
}

.installed-card {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-2xl, 28px);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}
.installed-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.installed-card.is-deactivated {
  opacity: 0.96;
}
.installed-card .installed-top-bar {
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3.5px;
}
.installed-card .installed-top-bar.is-active {
  background: var(--success);
  box-shadow: 0 0 14px var(--success-subtle);
}
.installed-card .installed-top-bar.is-inactive {
  background: var(--border-medium);
}
.installed-card .installed-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.installed-card .installed-head .app-icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  padding: 6px;
}
.installed-card .installed-head .app-icon-wrap .app-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}
.installed-card .installed-head .app-icon-wrap .app-emoji-fallback {
  font-size: 1.9rem;
  line-height: 1;
}
.installed-card .installed-head .installed-info {
  flex: 1;
  min-width: 0;
}
.installed-card .installed-head .installed-info .installed-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.installed-card .installed-head .installed-info .installed-title-row .installed-title-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.installed-card .installed-head .installed-info .installed-title-row .installed-title-meta .installed-name {
  font-size: 1.12rem;
  font-weight: 850;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}
.installed-card .installed-head .installed-info .installed-title-row .installed-title-meta .installed-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 750;
  color: var(--text-secondary);
  background: var(--surface2);
  padding: 2px 10px;
  border-radius: var(--radius-full, 9999px);
  width: fit-content;
}
.installed-card .installed-head .installed-info .installed-title-row .installed-title-meta .installed-cat-tag .cat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cat-color, var(--indigo));
}
.installed-card .installed-head .installed-info .installed-title-row .installed-toggle-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  background: var(--surface2);
  border-radius: var(--radius-full, 9999px);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.installed-card .installed-head .installed-info .installed-title-row .installed-toggle-badge.is-active {
  background: var(--success-subtle);
}
.installed-card .installed-head .installed-info .installed-title-row .installed-toggle-badge.is-active .status-micro-text {
  color: var(--success);
  font-weight: 850;
}
.installed-card .installed-head .installed-info .installed-title-row .installed-toggle-badge.is-inactive {
  background: var(--surface2);
}
.installed-card .installed-head .installed-info .installed-title-row .installed-toggle-badge.is-inactive .status-micro-text {
  color: var(--text-muted);
  font-weight: 750;
}
.installed-card .installed-head .installed-info .installed-title-row .installed-toggle-badge .status-micro-text {
  font-size: 0.74rem;
  line-height: 1;
  user-select: none;
}
.installed-card .installed-head .installed-info .installed-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.74rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.installed-card .installed-head .installed-info .installed-meta-row .installed-since {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.installed-card .installed-head .installed-info .installed-meta-row .installed-since .calendar-mini-icon {
  width: 13px;
  height: 13px;
}
.installed-card .installed-head .installed-info .installed-meta-row .installed-rating-mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
  color: var(--warning);
}
.installed-card .installed-head .installed-info .installed-meta-row .installed-rating-mini .star-mini-gold {
  width: 13px;
  height: 13px;
  fill: var(--warning);
}
.installed-card .installed-head .installed-info .installed-meta-row .installed-version-tag {
  font-weight: 650;
  padding: 2px 8px;
  background: var(--surface2);
  border-radius: var(--radius-full, 9999px);
  font-size: 0.7rem;
}
.installed-card .installed-deactivated-hint {
  background: var(--surface2);
  border: none !important;
  border-inline-start: 4px solid var(--warning);
  border-radius: var(--radius-lg, 16px);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.installed-card .installed-deactivated-hint.is-shipping {
  border-inline-start-color: var(--danger);
}
.installed-card .installed-deactivated-hint.is-platform {
  border-inline-start-color: var(--info);
}
.installed-card .installed-deactivated-hint .hint-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.installed-card .installed-deactivated-hint .hint-header .hint-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--warning-subtle);
  color: var(--warning);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.installed-card .installed-deactivated-hint .hint-header .hint-icon-box svg, .installed-card .installed-deactivated-hint .hint-header .hint-icon-box [data-lucide] {
  width: 16px;
  height: 16px;
}
.installed-card .installed-deactivated-hint .hint-header .hint-title-group {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.installed-card .installed-deactivated-hint .hint-header .hint-title-group .hint-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 850;
  color: var(--warning);
}
.installed-card .installed-deactivated-hint .hint-header .hint-title-group .hint-status-badge .hint-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.installed-card .installed-deactivated-hint .hint-header .hint-title-group .hint-title {
  font-size: 0.86rem;
  font-weight: 850;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}
.installed-card .installed-deactivated-hint .hint-header .btn-hint-activate {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full, 9999px);
  border: none;
  background: var(--surface3);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.installed-card .installed-deactivated-hint .hint-header .btn-hint-activate .btn-micro-icon {
  width: 12px;
  height: 12px;
}
.installed-card .installed-deactivated-hint .hint-header .btn-hint-activate:hover:not(:disabled) {
  background: var(--accent);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}
.installed-card .installed-deactivated-hint .hint-header .btn-hint-activate:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.installed-card .installed-deactivated-hint.is-shipping .hint-icon-box {
  background: var(--danger-subtle);
  color: var(--danger);
}
.installed-card .installed-deactivated-hint.is-shipping .hint-status-badge {
  color: var(--danger);
}
.installed-card .installed-deactivated-hint.is-platform .hint-icon-box {
  background: var(--info-subtle);
  color: var(--info);
}
.installed-card .installed-deactivated-hint.is-platform .hint-status-badge {
  color: var(--info);
}
.installed-card .installed-deactivated-hint .hint-message {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}
.installed-card .installed-deactivated-hint .hint-safe-footer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.73rem;
  font-weight: 750;
  color: var(--text-muted);
}
.installed-card .installed-deactivated-hint .hint-safe-footer .safe-icon {
  width: 13px;
  height: 13px;
  color: var(--success);
  flex-shrink: 0;
}
.installed-card .installed-summary-box {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: none;
}
.installed-card .installed-summary-box .summary-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 800;
}
.installed-card .installed-summary-box .summary-box-header .summary-box-title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-primary);
}
.installed-card .installed-summary-box .summary-box-header .summary-box-title svg, .installed-card .installed-summary-box .summary-box-header .summary-box-title [data-lucide] {
  width: 15px;
  height: 15px;
}
.installed-card .installed-summary-box .summary-box-header .sync-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 750;
  padding: 2px 9px;
  border-radius: var(--radius-full, 9999px);
}
.installed-card .installed-summary-box .summary-box-header .sync-status.synced {
  background: var(--success-subtle);
  color: var(--success);
}
.installed-card .installed-summary-box .summary-box-header .sync-status.pending {
  background: var(--warning-subtle);
  color: var(--warning);
}
.installed-card .installed-summary-box .summary-box-header .sync-status.deactivated {
  background: var(--surface3);
  color: var(--text-muted);
}
.installed-card .installed-summary-box .summary-box-header .sync-status .pulse-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.installed-card .installed-summary-box .summary-box-header .sync-status .pulse-indicator.pulse--muted {
  background: var(--text-muted);
  box-shadow: none;
  animation: none;
}
.installed-card .installed-summary-box .config-summary-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.installed-card .installed-summary-box .config-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--radius-sm, 8px);
  background: var(--surface3);
  color: var(--text-primary);
}
.installed-card .installed-summary-box .config-summary-pill.success {
  background: var(--success-subtle);
  color: var(--success);
}
.installed-card .installed-summary-box .config-summary-pill.info {
  background: var(--info-subtle);
  color: var(--info);
}
.installed-card .installed-summary-box .config-summary-pill.warning {
  background: var(--warning-subtle);
  color: var(--warning);
}
.installed-card .installed-summary-box .config-summary-pill .badge-mini-icon {
  width: 13px;
  height: 13px;
}
.installed-card .installed-summary-box .not-configured-alert {
  background: var(--warning-subtle);
  border-radius: var(--radius-md, 12px);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.installed-card .installed-summary-box .not-configured-alert .not-configured-text {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--warning);
  font-weight: 750;
}
.installed-card .installed-summary-box .not-configured-alert .not-configured-text .alert-mini-svg {
  width: 15px;
  height: 15px;
}
.installed-card .installed-summary-box .not-configured-alert .btn-quick-config {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--stat-hero-text);
  background: var(--stat-hero-bg);
  border: none;
  padding: 6px 16px;
  border-radius: var(--radius-full, 9999px);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.installed-card .installed-summary-box .not-configured-alert .btn-quick-config:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.installed-card .installed-summary-box .not-configured-alert .btn-quick-config .quick-config-icon {
  width: 13px;
  height: 13px;
}
.installed-card .installed-rating-banner {
  background: var(--warning-subtle);
  border-radius: var(--radius-lg, 14px);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: auto;
}
.installed-card .installed-rating-banner .rating-prompt-title {
  font-size: 0.84rem;
  font-weight: 850;
  color: var(--warning);
  display: block;
}
.installed-card .installed-rating-banner .rating-prompt-sub {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}
.installed-card .installed-rating-banner .rating-stars-preview {
  display: flex;
  gap: 3px;
  color: var(--warning);
  margin-bottom: 4px;
}
.installed-card .installed-rating-banner .rating-stars-preview svg, .installed-card .installed-rating-banner .rating-stars-preview [data-lucide] {
  width: 14px;
  height: 14px;
  fill: var(--warning);
}
.installed-card .installed-rating-banner .rating-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.installed-card .installed-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
}
.installed-card .installed-actions .btn-config {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  padding: 10px 20px;
  border-radius: var(--radius-full, 9999px);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.installed-card .installed-actions .btn-config:hover {
  background: var(--surface3);
  border-color: var(--border-strong);
  color: var(--accent);
  transform: translateY(-1.5px);
  box-shadow: var(--shadow-sm);
}
.installed-card .installed-actions .btn-config .btn-arrow-icon {
  width: 15px;
  height: 15px;
}
.installed-card .installed-actions .btn-uninstall {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--danger);
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  padding: 10px 18px;
  border-radius: var(--radius-full, 9999px);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.installed-card .installed-actions .btn-uninstall:hover {
  background: var(--danger-subtle);
  border-color: var(--danger-border);
  color: var(--danger);
  transform: translateY(-1.5px);
  box-shadow: var(--shadow-sm);
}

.empty-card {
  grid-column: 1/-1;
  padding: 48px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-xl, 20px);
  box-shadow: var(--shadow-card);
}
.empty-card .empty-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--text-muted);
}
.empty-card .empty-icon-wrap svg, .empty-card .empty-icon-wrap [data-lucide] {
  width: 28px;
  height: 28px;
}
.empty-card .empty-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.empty-card .empty-sub {
  font-size: 0.86rem;
  color: var(--text-secondary);
  max-width: 420px;
  line-height: 1.6;
  margin: 0;
}

.apps-mobile-footer {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: var(--z-fixed, 200);
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-drawer);
}
.apps-mobile-footer .apps-mf-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}
.apps-mobile-footer .apps-mf-badge svg, .apps-mobile-footer .apps-mf-badge [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.apps-mobile-footer .apps-mf-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shipping-carrier-hero {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.shipping-carrier-hero .carrier-brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.carrier-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface3);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.carrier-icon-box svg, .carrier-icon-box i {
  width: 24px;
  height: 24px;
}

.shipping-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 768px) {
  .shipping-mode-grid {
    grid-template-columns: 1fr;
  }
}
.shipping-mode-grid .shipping-mode-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shipping-mode-grid .shipping-mode-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.shipping-mode-grid .shipping-mode-card.is-active {
  border-color: var(--accent);
  background: var(--surface2);
  box-shadow: 0 0 0 1px var(--accent);
}

.flat-rate-box {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
}

.zones-table-wrap {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.zones-table-wrap .row-platform-locked {
  background: var(--danger-subtle) !important;
}
.zones-table-wrap .row-platform-locked .zone-title {
  color: var(--danger);
}

.kyc-hero-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--teal-subtle);
  border: 1px solid var(--teal-border);
}

.kyc-status-banner {
  padding: 14px 16px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.kyc-status-banner.status-verified {
  background: var(--success-subtle);
  border: 1px solid var(--success-border);
  color: var(--success);
}

.kyc-entity-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.kyc-entity-selector .entity-card {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface2);
  border: 2px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}
.kyc-entity-selector .entity-card.active {
  border-color: var(--accent);
  background: var(--surface3);
}

.palette-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md, 14px);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.palette-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.palette-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.palette-card .swatch-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.palette-card .swatch-row .swatch-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
}

.ob-type-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg, 16px);
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ob-type-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.ob-type-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.ob-type-card .type-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.health-banner {
  background: radial-gradient(120% 120% at 100% 0%, var(--accent-glow) 0%, transparent 60%), linear-gradient(180deg, var(--bg-card) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-2xl, 24px);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: var(--space-6, 24px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: border-color var(--transition-normal);
}
.health-banner:hover {
  border-color: var(--border-strong);
}
@media (max-width: 768px) {
  .health-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px 18px;
    gap: 20px;
  }
}

.health-score-ring {
  position: relative;
  width: 84px;
  height: 84px;
  flex-shrink: 0;
}
.health-score-ring svg {
  transform: rotate(-90deg);
  filter: drop-shadow(0 2px 8px var(--border-strong));
}
.health-score-ring .ring-bg {
  fill: none;
  stroke: var(--surface3);
  stroke-width: 8;
}
.health-score-ring .ring-val {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.3s ease;
}

.health-score-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.health-score-number.status--success {
  color: var(--success);
}
.health-score-number.status--warning {
  color: var(--warning);
}
.health-score-number.status--danger {
  color: var(--danger);
}

.health-info {
  flex: 1;
  min-width: 0;
}
@media (max-width: 768px) {
  .health-info {
    width: 100%;
  }
}

.health-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.health-desc {
  font-size: 0.86rem;
  color: var(--text-muted, var(--muted));
  line-height: 1.5;
}

.health-factors {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
}
@media (max-width: 768px) {
  .health-factors {
    justify-content: center;
    gap: 12px 16px;
  }
}

.health-factor {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
}
.health-factor.is-ok {
  color: var(--success);
}
.health-factor.is-ok .health-dot {
  background: var(--success);
  box-shadow: 0 0 8px var(--success-subtle);
}
.health-factor.is-fail {
  color: var(--danger);
}
.health-factor.is-fail .health-dot {
  background: var(--danger);
  box-shadow: 0 0 8px var(--danger-subtle);
}

.health-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
}

.health-forecast {
  padding: 12px 20px;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.health-forecast .metric-box__value {
  font-size: 1.35rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 768px) {
  .health-forecast {
    width: 100%;
  }
}

.chart-pills-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.chart-pills-scroll::-webkit-scrollbar {
  display: none;
}
.chart-pills-scroll .btn {
  white-space: nowrap;
  border-radius: var(--radius-full, 9999px);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
}

.chart-scroll-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 6px;
  box-sizing: border-box;
}
.chart-scroll-wrap::-webkit-scrollbar {
  height: 5px;
}
.chart-scroll-wrap::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: var(--radius-full, 9999px);
}

.chart-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .chart-header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
}

.chart-pills-scroll {
  display: flex;
  gap: 6px;
  align-items: center;
}
@media (max-width: 768px) {
  .chart-pills-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .chart-pills-scroll::-webkit-scrollbar {
    display: none;
  }
  .chart-pills-scroll .btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.76rem;
    padding: 6px 12px;
  }
}

.chart-legend {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.chart-legend .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chart-legend .legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.chart-legend .legend-dot--primary {
  background: var(--chart-primary);
  box-shadow: 0 0 8px var(--chart-primary-glow);
}
.chart-legend .legend-dot--secondary {
  background: var(--chart-secondary);
  box-shadow: 0 0 8px var(--chart-secondary-glow);
}

.chart-container {
  height: 290px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  position: relative;
  margin-top: 24px;
  padding-top: 24px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .chart-container {
    min-width: 520px;
    height: 260px;
    gap: 8px;
  }
}

.chart-y-lines {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.y-line {
  border-top: 1px dashed var(--border-subtle);
  width: 100%;
}

.bar-wrapper {
  flex: 1;
  min-width: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  position: relative;
  cursor: pointer;
  z-index: 1;
}

.bar-group {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  width: 100%;
  justify-content: center;
  height: calc(100% - 24px);
}

.bar {
  width: 100%;
  max-width: 20px;
  border-radius: 6px 6px 0 0;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, transform 0.2s ease;
  min-height: 4px;
}
.bar.primary {
  background: var(--chart-primary-gradient);
  box-shadow: 0 0 10px var(--chart-primary-glow);
}
.bar.secondary {
  background: var(--chart-secondary-gradient);
  box-shadow: 0 0 10px var(--chart-secondary-glow);
}

.bar-wrapper:hover .bar {
  opacity: 0.9;
  transform: scaleY(1.02);
}
.bar-wrapper:hover .chart-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.bar-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted, var(--muted));
  margin-top: 10px;
  white-space: nowrap;
  text-align: center;
}

.chart-tooltip {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-md, 12px);
  font-size: 0.8rem;
  font-weight: 750;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  z-index: 20;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.chart-tooltip-label {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.72rem;
}

.peak-insights-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.peak-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  min-width: 0;
}
@media (max-width: 480px) {
  .peak-metrics-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}

.peak-window-val,
.peak-day-val {
  font-size: clamp(1rem, 2vw, 1.25rem) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.peak-distribution-card {
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 16px);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
@media (max-width: 480px) {
  .peak-distribution-card {
    padding: 12px 14px;
  }
}

.peak-distribution-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.peak-distribution-header .metric-box__title {
  font-size: 0.84rem;
  font-weight: 750;
  min-width: 0;
}

.peak-ratio-tags {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.metric-box__tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--surface3);
  border: 1px solid var(--border-medium);
  padding: 2px 8px;
  border-radius: var(--radius-full, 9999px);
  white-space: nowrap;
}

.peak-tip-box {
  background: var(--surface2);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-lg, 16px);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  transition: var(--transition-fast);
}
@media (max-width: 480px) {
  .peak-tip-box {
    padding: 12px 14px;
    gap: 10px;
  }
}
.peak-tip-box:hover {
  background: var(--surface3);
  border-color: var(--border-strong);
}

.peak-tip-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: var(--surface3);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.peak-tip-icon svg, .peak-tip-icon [data-lucide] {
  width: 16px;
  height: 16px;
}

.peak-tip-content {
  flex: 1;
  min-width: 0;
}

.peak-tip-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.peak-tip-desc {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.prod-anl-cards-mobile,
.compact-item-cards-mobile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.prod-anl-card-mb,
.compact-item-card-mb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 16px);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  transition: var(--transition-fast);
}
.prod-anl-card-mb:hover,
.compact-item-card-mb:hover {
  background: var(--surface3);
  border-color: var(--border-medium);
}
.prod-anl-card-mb .pac-rank,
.compact-item-card-mb .pac-rank {
  font-size: 1.05rem;
  min-width: 22px;
  text-align: center;
  flex-shrink: 0;
}
.prod-anl-card-mb .pac-rank .pac-num,
.compact-item-card-mb .pac-rank .pac-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
}
.prod-anl-card-mb .pac-img,
.compact-item-card-mb .pac-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--surface3);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}
.prod-anl-card-mb .pac-details,
.compact-item-card-mb .pac-details {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.prod-anl-card-mb .pac-details .pac-name,
.compact-item-card-mb .pac-details .pac-name {
  font-size: 0.86rem;
  font-weight: 750;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.prod-anl-card-mb .pac-details .pac-cat,
.compact-item-card-mb .pac-details .pac-cat {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prod-anl-card-mb .pac-metrics,
.compact-item-card-mb .pac-metrics {
  flex-shrink: 0;
  text-align: end;
  max-width: 45%;
}
.prod-anl-card-mb .pac-metrics .pac-rev,
.compact-item-card-mb .pac-metrics .pac-rev {
  font-size: 0.92rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--success);
}
.prod-anl-card-mb .pac-metrics .pac-units,
.compact-item-card-mb .pac-metrics .pac-units {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media (max-width: 380px) {
  .prod-anl-card-mb,
  .compact-item-card-mb {
    padding: 10px 10px;
    gap: 8px;
  }
  .prod-anl-card-mb .pac-img,
  .compact-item-card-mb .pac-img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }
  .prod-anl-card-mb .pac-details .pac-name,
  .compact-item-card-mb .pac-details .pac-name {
    font-size: 0.8rem;
  }
  .prod-anl-card-mb .pac-metrics .pac-rev,
  .compact-item-card-mb .pac-metrics .pac-rev {
    font-size: 0.84rem;
  }
}

.cust-cards-mobile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 0 16px;
  width: 100%;
}

.cust-card-mb {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 20px);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cust-card-mb:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}
.cust-card-mb.border-Loyal {
  border-inline-start: 4px solid var(--warning);
}
.cust-card-mb.border-Active {
  border-inline-start: 4px solid var(--info);
}
.cust-card-mb.border-Inactive {
  border-inline-start: 4px solid var(--border-strong);
}
.cust-card-mb .cc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.cust-card-mb .cc-head .avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md, 12px);
  background: var(--surface2);
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}
.cust-card-mb .cc-head .avatar.av-Loyal {
  background: var(--warning-subtle);
  color: var(--warning);
  border-color: var(--warning-border);
}
.cust-card-mb .cc-head .avatar.av-Active {
  background: var(--info-subtle);
  color: var(--info);
  border-color: var(--info-border);
}
.cust-card-mb .cc-head .avatar.av-Inactive {
  background: var(--surface3);
  color: var(--text-muted);
  border-color: var(--border-medium);
}
.cust-card-mb .cc-head .cust-name {
  font-size: 0.94rem;
  color: var(--text-primary);
}
.cust-card-mb .cc-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cust-card-mb .cc-body .cc-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--surface2);
  padding: 10px 12px;
  border-radius: var(--radius-md, 12px);
  border: 1px solid var(--border-subtle);
}
.cust-card-mb .cc-body .cc-metrics-grid .cc-metric-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
}
.cust-card-mb .cc-body .cc-metrics-grid .cc-metric-box .cc-m-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}
.cust-card-mb .cc-body .cc-metrics-grid .cc-metric-box .cc-m-val {
  font-size: 0.94rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
.cust-card-mb .cc-body .cc-note-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface2);
  border: 1px dashed var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.cust-card-mb .cc-body .cc-note-strip:hover {
  background: var(--surface3);
  border-color: var(--accent);
  color: var(--text-primary);
}
.cust-card-mb .cc-body .cc-note-strip.has-note {
  background: var(--accent-subtle);
  border-style: solid;
  border-color: var(--accent-glow);
  color: var(--text-primary);
}
.cust-card-mb .cc-body .cc-note-strip svg, .cust-card-mb .cc-body .cc-note-strip [data-lucide] {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.cust-card-mb .cc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}
.cust-card-mb .cc-footer .cc-act-btn {
  min-width: 40px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-md, 10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
}
.cust-card-mb .cc-footer .cc-act-btn.wa-btn {
  color: var(--success);
}
.cust-card-mb .cc-footer .cc-act-btn.wa-btn:hover {
  background: var(--success-subtle);
  border-color: var(--success-border);
}
.cust-card-mb .cc-footer .cc-view-btn {
  flex-grow: 1;
  height: 38px;
  border-radius: var(--radius-md, 10px);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cust-mobile-footer {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 990;
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 10px 16px max(10px, env(safe-area-inset-bottom, 10px));
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cust-mobile-footer .cm-info-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}
.cust-mobile-footer .cm-info-strip .cm-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 750;
  color: var(--text-primary);
}
.cust-mobile-footer .cm-info-strip .cm-count-badge svg, .cust-mobile-footer .cm-info-strip .cm-count-badge [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--accent);
}
.cust-mobile-footer .cm-info-strip .b-filter-active {
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid var(--accent-glow);
  border-radius: var(--radius-full, 9999px);
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 700;
}
.cust-mobile-footer .cm-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cust-mobile-footer .cm-actions .cm-act-btn {
  height: 42px;
  border-radius: var(--radius-md, 10px);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

@media (max-width: 767.98px) {
  .customers-page-content {
    padding-bottom: calc(115px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

.bookings-page {
  width: 100%;
}

.agenda-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.agenda-group {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-2xl, 24px);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-fast, all 0.18s ease);
}

.agenda-date-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  padding: 12px 18px;
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 14px);
  position: sticky;
  top: 0;
  z-index: 5;
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(12px);
}
.agenda-date-header svg, .agenda-date-header [data-lucide], .agenda-date-header .card-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.agenda-date-header .agenda-date-label {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-primary);
}
.agenda-date-header .agenda-date-count {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--surface3);
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  margin-inline-start: auto;
}
.agenda-date-header .agenda-today-chip {
  font-size: 0.74rem;
  font-weight: 800;
  background: var(--teal-subtle);
  color: var(--teal);
  padding: 3px 12px;
  border-radius: var(--radius-full, 9999px);
}

.agenda-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 14px;
}
@media (max-width: 768px) {
  .agenda-cards-grid {
    grid-template-columns: 1fr;
  }
}

.timeline-item {
  display: flex;
  gap: 16px;
  position: relative;
  cursor: pointer;
  margin-bottom: 14px;
  transition: all 0.18s ease;
}
.timeline-item:last-child {
  margin-bottom: 0;
}

.tl-time {
  width: 72px;
  flex-shrink: 0;
  text-align: end;
  font-weight: 800;
  color: var(--text-primary);
  padding-top: 14px;
  font-size: 0.88rem;
  font-family: var(--font-mono, monospace);
  line-height: 1.25;
}
.tl-time .tl-duration {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  margin-top: 3px;
  font-family: inherit;
}

[dir=ltr] .tl-time {
  text-align: start;
}

.tl-line {
  width: 2px;
  background: var(--surface3);
  position: relative;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.tl-dot {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface);
  border: none !important;
  box-shadow: 0 0 0 3px var(--surface3);
  position: absolute;
  top: 16px;
  z-index: 1;
  transition: all 0.2s ease;
}
.tl-dot.Pending {
  background: var(--warning);
  box-shadow: 0 0 0 3px var(--warning-subtle);
}
.tl-dot.Confirmed {
  background: var(--info);
  box-shadow: 0 0 0 3px var(--info-subtle);
}
.tl-dot.Completed {
  background: var(--success);
  box-shadow: 0 0 0 3px var(--success-subtle);
}
.tl-dot.Cancelled {
  background: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-subtle);
}

.bk-card {
  flex: 1;
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-xl, 18px);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast, all 0.2s cubic-bezier(0.16, 1, 0.3, 1));
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.bk-card:hover {
  background: var(--surface3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.bk-card.status-Cancelled {
  opacity: 0.65;
}
.bk-card .bk-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.bk-card .bk-card-topbar .bk-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-mono, monospace);
}
.bk-card .bk-card-topbar .bk-time-badge svg, .bk-card .bk-card-topbar .bk-time-badge [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--accent);
}
.bk-card .bk-card-topbar .bk-time-badge .bk-duration {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
  font-family: inherit;
}

.bk-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.bk-cust {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bk-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg, 12px);
  background: var(--surface3);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}
.bk-avatar.Completed {
  background: var(--success-subtle);
  color: var(--success);
}
.bk-avatar.Confirmed {
  background: var(--info-subtle);
  color: var(--info);
}
.bk-avatar.Pending {
  background: var(--warning-subtle);
  color: var(--warning);
}
.bk-avatar.Cancelled {
  background: var(--surface);
  color: var(--text-muted);
}
.bk-avatar.bk-avatar--sm {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  border-radius: var(--radius-md, 8px);
  font-size: 0.82rem;
}

.bk-name {
  font-weight: 800;
  font-size: 0.94rem;
  color: var(--text-primary);
}

.bk-phone {
  font-size: 0.78rem;
  color: var(--text-muted);
  direction: ltr;
  unicode-bidi: embed;
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono, monospace);
}

.bk-service {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-weight: 600;
}
.bk-service svg, .bk-service [data-lucide], .bk-service .chip-icon {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

.bk-price {
  font-weight: 900;
  font-size: 1rem;
  color: var(--success);
  white-space: nowrap;
  font-family: var(--font-mono, monospace);
}

.bk-notes {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--surface);
  padding: 10px 14px;
  border-radius: var(--radius-md, 10px);
  font-style: italic;
  border: none !important;
  line-height: 1.4;
}

.bk-custom-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bk-cf-chip {
  font-size: 0.74rem;
  font-weight: 700;
  background: var(--surface);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: var(--radius-sm, 6px);
  border: none !important;
}

.bk-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.bkg-cards-mb {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bkg-card-mb {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 16px);
  padding: 16px;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: all 0.18s ease;
}
.bkg-card-mb:hover {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.bkg-card-mb .bkg-card-mb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.bkg-card-mb .bkg-card-mb-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.bkg-card-mb .bkg-card-meta-row,
.bkg-card-mb .bkg-card-time-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.bkg-card-mb .bkg-card-meta-row svg, .bkg-card-mb .bkg-card-meta-row [data-lucide], .bkg-card-mb .bkg-card-meta-row .meta-icon, .bkg-card-mb .bkg-card-meta-row .chip-icon,
.bkg-card-mb .bkg-card-time-row svg,
.bkg-card-mb .bkg-card-time-row [data-lucide],
.bkg-card-mb .bkg-card-time-row .meta-icon,
.bkg-card-mb .bkg-card-time-row .chip-icon {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}
.bkg-card-mb .bkg-card-mb-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bkg-mobile-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: var(--surface);
  border: none !important;
  box-shadow: var(--shadow-drawer);
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.bkg-mobile-footer .bkg-mf-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.bkg-mobile-footer .bkg-mf-info strong {
  color: var(--text-primary);
}
.bkg-mobile-footer .bkg-mf-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.balance-hero {
  background: var(--stat-hero-bg, var(--surface));
  border: none !important;
  border-radius: var(--radius-2xl, 26px);
  padding: 26px 30px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--stat-hero-shadow, var(--shadow-card));
  color: var(--stat-hero-text, var(--text-primary));
}
.balance-hero .balance-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.balance-hero .balance-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.balance-hero .balance-label {
  font-size: 0.85rem;
  color: var(--stat-hero-muted, var(--text-muted));
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.balance-hero .balance-label svg, .balance-hero .balance-label [data-lucide] {
  width: 16px;
  height: 16px;
}
.balance-hero .balance-amount {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  color: var(--stat-hero-text, var(--text-primary));
}
.balance-hero .balance-sub {
  font-size: 0.82rem;
  color: var(--stat-hero-muted, var(--text-secondary));
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.balance-hero .balance-sub-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
}
.balance-hero .balance-sub-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: currentColor;
}
.balance-hero .hold-note {
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-md, 10px);
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  max-width: fit-content;
}
.balance-hero .hold-note svg, .balance-hero .hold-note [data-lucide] {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.balance-hero .balance-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.balance-hero .balance-stat {
  text-align: end;
}
.balance-hero .balance-stat .bs-label {
  font-size: 0.76rem;
  color: var(--stat-hero-muted, var(--text-muted));
  font-weight: 650;
  margin-bottom: 2px;
}
.balance-hero .balance-stat .bs-val {
  font-size: 1.25rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  color: var(--stat-hero-text, var(--text-primary));
}

.wlt-hero-mb {
  background: var(--stat-hero-bg, var(--surface));
  border: none !important;
  border-radius: var(--radius-2xl, 24px);
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
  color: var(--stat-hero-text, var(--text-primary));
}
.wlt-hero-mb .whm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.wlt-hero-mb .whm-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.wlt-hero-mb .whm-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--stat-hero-muted, var(--text-muted));
}
.wlt-hero-mb .whm-model-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: var(--success);
  font-weight: 750;
}
.wlt-hero-mb .btn-payout-pill {
  background: var(--accent);
  color: var(--text-inverse);
  border: none;
  border-radius: var(--radius-full, 9999px);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.wlt-hero-mb .whm-amount-row {
  margin: 6px 0 14px;
}
.wlt-hero-mb .whm-amount {
  font-size: 2.2rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.wlt-hero-mb .whm-sub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.wlt-hero-mb .whm-sub-cell {
  background: var(--surface2);
  border-radius: var(--radius-md, 12px);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wlt-hero-mb .whm-sub-cell .whm-cell-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 4px;
}
.wlt-hero-mb .whm-sub-cell .dot-indicator {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.wlt-hero-mb .whm-sub-cell .whm-cell-val {
  font-size: 0.92rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.wlt-hero-mb .whm-note-banner {
  background: var(--surface2);
  border-radius: var(--radius-md, 10px);
  padding: 8px 12px;
  font-size: 0.74rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tier-card {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-xl, 20px);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 22px;
}
.tier-card .tier-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.tier-card .tier-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 650;
  margin-bottom: 6px;
}
.tier-card .tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  color: var(--text-primary);
  font-weight: 800;
  font-size: 0.88rem;
  border: none !important;
  box-shadow: var(--shadow-xs);
}
.tier-card .tier-badge svg, .tier-card .tier-badge [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.tier-card .tier-right {
  text-align: end;
}
.tier-card .tier-rate-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 650;
  margin-bottom: 2px;
}
.tier-card .tier-rate {
  font-size: 2rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.tier-card .tier-rate span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
}
.tier-card .progress-wrap {
  margin-top: 6px;
}
.tier-card .progress-track {
  height: 8px;
  background: var(--surface2);
  border-radius: var(--radius-full, 9999px);
  overflow: hidden;
  margin: 8px 0;
}
.tier-card .progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-full, 9999px);
  transition: width 0.6s ease;
}
.tier-card .progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}
.tier-card .tier-max {
  text-align: center;
  padding: 12px;
  font-weight: 750;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface2);
  border-radius: var(--radius-md, 12px);
  color: var(--success);
}

.section-card {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-xl, 20px);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  overflow: hidden;
}
.section-card .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 12px;
}
.section-card .section-head .section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}
.section-card .section-tabs {
  display: inline-flex;
  align-items: center;
  background: var(--surface2);
  border-radius: var(--radius-md, 10px);
  padding: 3px;
  gap: 3px;
}
.section-card .section-tabs .tab-btn {
  border: none;
  background: transparent;
  padding: 7px 16px;
  border-radius: var(--radius-sm, 7px);
  font-size: 0.84rem;
  font-weight: 750;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.16s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.section-card .section-tabs .tab-btn:hover {
  color: var(--text-primary);
}
.section-card .section-tabs .tab-btn.active {
  background: var(--surface3);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
}
.section-card .section-tabs .tab-btn .tab-badge {
  font-size: 0.72rem;
  padding: 1px 7px;
  border-radius: var(--radius-full, 9999px);
  background: var(--danger-subtle);
  color: var(--danger);
  font-weight: 800;
}

.txn-type {
  display: flex;
  align-items: center;
  gap: 10px;
}
.txn-type .txn-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.txn-type .txn-icon svg, .txn-type .txn-icon [data-lucide] {
  width: 18px;
  height: 18px;
}
.txn-type .txn-icon.tx-OrderCredit {
  background: var(--success-subtle);
  color: var(--success);
}
.txn-type .txn-icon.tx-Payout {
  background: var(--accent-subtle);
  color: var(--accent);
}
.txn-type .txn-icon.tx-CommissionDebit {
  background: var(--danger-subtle);
  color: var(--danger);
}
.txn-type .txn-icon.tx-Refund {
  background: var(--warning-subtle);
  color: var(--warning);
}
.txn-type .txn-icon.tx-Adjustment {
  background: var(--info-subtle);
  color: var(--info);
}
.txn-type .txn-label {
  font-weight: 750;
  font-size: 0.88rem;
  color: var(--text-primary);
}
.txn-type .txn-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.txn-amount-pos {
  color: var(--success);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.txn-amount-neg {
  color: var(--danger);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.txn-cards-mobile,
.inv-cards-mobile,
.pay-cards-mobile {
  padding: 12px;
}

.txn-card-mb,
.inv-card-mb,
.pay-card-mb {
  background: var(--surface2);
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-lg, 16px);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-xs);
}
.txn-card-mb .tcm-head,
.txn-card-mb .icm-head,
.txn-card-mb .pcm-head,
.inv-card-mb .tcm-head,
.inv-card-mb .icm-head,
.inv-card-mb .pcm-head,
.pay-card-mb .tcm-head,
.pay-card-mb .icm-head,
.pay-card-mb .pcm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.txn-card-mb .tcm-body,
.txn-card-mb .pcm-body,
.inv-card-mb .tcm-body,
.inv-card-mb .pcm-body,
.pay-card-mb .tcm-body,
.pay-card-mb .pcm-body {
  margin: 10px 0;
}
.txn-card-mb .tcm-footer,
.txn-card-mb .pcm-footer,
.inv-card-mb .tcm-footer,
.inv-card-mb .pcm-footer,
.pay-card-mb .tcm-footer,
.pay-card-mb .pcm-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed var(--border-subtle);
}

.icm-metrics-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-subtle);
}
.icm-metrics-row .icm-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.paid-settled-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full, 9999px);
  background: var(--success-subtle);
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 750;
}

.settle-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.74rem;
  font-weight: 700;
}
.settle-badge.bg-success-soft {
  background: var(--success-subtle);
  color: var(--success);
}
.settle-badge.bg-warning-soft {
  background: var(--warning-subtle);
  color: var(--warning);
}

.method-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wlt-mobile-footer {
  position: fixed;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  inset-inline: 14px;
  z-index: 1020;
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-xl, 20px);
  box-shadow: var(--shadow-lg);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.wlt-mobile-footer .wmf-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--text-primary);
}
.wlt-mobile-footer .wmf-stats .wmf-count {
  background: var(--surface2);
  padding: 3px 8px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.74rem;
}
.wlt-mobile-footer .wmf-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.txn-toolbar {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.txn-toolbar .txn-search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 240px;
  max-width: 320px;
  min-width: 200px;
}
.txn-toolbar .txn-search-box input {
  width: 100%;
  height: 38px;
  padding-inline: 36px 32px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-primary);
  font-size: 0.84rem;
  outline: none;
  transition: var(--transition-fast);
}
.txn-toolbar .txn-search-box input::placeholder {
  color: var(--text-muted);
}
.txn-toolbar .txn-search-box input:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px var(--accent-glow);
}
.txn-toolbar .txn-search-box .txn-search-icon {
  position: absolute;
  inset-inline-start: 11px;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}
.txn-toolbar .txn-search-box .btn-clear-search {
  position: absolute;
  inset-inline-end: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--radius-full, 9999px);
}
.txn-toolbar .txn-search-box .btn-clear-search:hover {
  color: var(--text-primary);
  background: var(--surface3);
}
.txn-toolbar .txn-search-box .btn-clear-search svg, .txn-toolbar .txn-search-box .btn-clear-search [data-lucide] {
  width: 14px;
  height: 14px;
}
.txn-toolbar .txn-filters-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.txn-toolbar .txn-filters-row .btn-custom-select {
  height: 38px;
  padding-inline: 12px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface2);
  border: none !important;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.txn-toolbar .txn-filters-row .btn-custom-select:hover {
  background: var(--surface3);
}
.txn-toolbar .txn-filters-row .btn-custom-select .btn-cs-icon {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
}
.txn-toolbar .txn-filters-row .btn-custom-select .btn-cs-arrow {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}
.txn-toolbar .txn-filters-row .btn-custom-select .btn-cs-arrow.rotate-180 {
  transform: rotate(180deg);
}
.txn-toolbar .txn-filters-row .btn-reset-filters {
  height: 38px;
  padding-inline: 12px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface2);
  border: none !important;
  color: var(--danger);
  font-size: 0.82rem;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.txn-toolbar .txn-filters-row .btn-reset-filters:hover {
  background: var(--danger-subtle);
}
.txn-toolbar .txn-filters-row .btn-reset-filters svg, .txn-toolbar .txn-filters-row .btn-reset-filters [data-lucide] {
  width: 14px;
  height: 14px;
}
@media (max-width: 768px) {
  .txn-toolbar {
    padding: 12px 14px;
  }
  .txn-toolbar .txn-search-box {
    max-width: 100%;
    width: 100%;
    flex: 1 1 100%;
  }
  .txn-toolbar .txn-filters-row {
    width: 100%;
    justify-content: flex-start;
  }
}

.txn-custom-range-card {
  background: var(--surface2);
  border-radius: var(--radius-md, 10px);
  padding: 10px 14px;
  margin: 12px 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.txn-custom-range-card .range-lbl {
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--text-muted);
}
.txn-custom-range-card .range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.txn-custom-range-card .range-inputs input[type=date] {
  height: 34px;
  padding: 0 10px;
  border-radius: var(--radius-sm, 7px);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  outline: none;
}
.txn-custom-range-card .range-inputs input[type=date]:focus {
  border-color: var(--accent);
}
.txn-custom-range-card .btn-apply-range {
  height: 34px;
  padding-inline: 14px;
  border-radius: var(--radius-sm, 7px);
  background: var(--accent);
  border: none !important;
  color: var(--text-inverse);
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}
.txn-custom-range-card .btn-apply-range:hover {
  background: var(--accent-hover);
}
@media (max-width: 768px) {
  .txn-custom-range-card {
    margin: 10px 14px 0;
  }
}

.period-comparison-hud {
  padding: 16px 20px 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.period-comparison-hud .telemetry-card {
  background: var(--surface2);
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-lg, 14px);
  padding: 14px 16px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition-fast);
}
.period-comparison-hud .telemetry-card:hover {
  background: var(--surface3);
  transform: translateY(-1px);
}
.period-comparison-hud .telemetry-card .tc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.period-comparison-hud .telemetry-card .tc-header .tc-label {
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--text-muted);
}
.period-comparison-hud .telemetry-card .tc-header .tc-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.period-comparison-hud .telemetry-card .tc-header .tc-icon svg, .period-comparison-hud .telemetry-card .tc-header .tc-icon [data-lucide] {
  width: 15px;
  height: 15px;
}
.period-comparison-hud .telemetry-card .tc-value-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.period-comparison-hud .telemetry-card .tc-value-row .tc-value {
  font-size: 1.15rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}
.period-comparison-hud .telemetry-card .telemetry-growth {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full, 9999px);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-variant-numeric: tabular-nums;
}
.period-comparison-hud .telemetry-card .telemetry-growth svg, .period-comparison-hud .telemetry-card .telemetry-growth [data-lucide] {
  width: 12px;
  height: 12px;
}
.period-comparison-hud .telemetry-card .telemetry-growth--up {
  background: var(--success-subtle);
  color: var(--success);
}
.period-comparison-hud .telemetry-card .telemetry-growth--down {
  background: var(--danger-subtle);
  color: var(--danger);
}
.period-comparison-hud .telemetry-card .telemetry-growth--neutral {
  background: var(--surface);
  color: var(--text-muted);
}
.period-comparison-hud .telemetry-card .tc-footnote {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  gap: 4px;
}
@media (max-width: 992px) {
  .period-comparison-hud {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .period-comparison-hud {
    grid-template-columns: 1fr;
    padding: 12px 14px 6px;
  }
}

.promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 576px) {
  .promos-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.loading-box--promo {
  height: 240px;
  border-radius: var(--radius-xl, 18px);
  background: var(--surface2);
}

.promo-card {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-xl, 18px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-normal, 0.25s cubic-bezier(0.16, 1, 0.3, 1)), box-shadow var(--transition-normal, 0.25s ease), background var(--transition-fast, 0.2s ease);
}
.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--surface);
}
.promo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition-fast);
  z-index: 2;
}
.promo-card.card-active::before {
  background: var(--success);
}
.promo-card.card-scheduled::before {
  background: var(--info);
}
.promo-card.card-expired {
  opacity: 0.72;
}
.promo-card.card-expired::before {
  background: var(--danger);
}
.promo-card.card-inactive {
  opacity: 0.65;
}
.promo-card.card-inactive::before {
  background: var(--border-medium);
}
.promo-card .pc-head {
  padding: 16px 18px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.promo-card .pc-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--surface2);
  border: 1px dashed var(--accent);
  border-radius: var(--radius-md, 10px);
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
}
.promo-card .pc-code:hover {
  background: var(--surface3);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
}
.promo-card .pc-code .pc-code-text {
  font-family: monospace;
  font-weight: 850;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.promo-card .pc-code svg, .promo-card .pc-code [data-lucide] {
  width: 14px;
  height: 14px;
}
.promo-card .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.72rem;
  font-weight: 750;
  background: var(--surface2);
  color: var(--text-secondary);
}
.promo-card .status-badge.st-active {
  background: var(--success-subtle);
  color: var(--success);
}
.promo-card .status-badge.st-scheduled {
  background: var(--info-subtle);
  color: var(--info);
}
.promo-card .status-badge.st-expired {
  background: var(--danger-subtle);
  color: var(--danger);
}
.promo-card .status-badge.st-inactive {
  background: var(--surface2);
  color: var(--text-muted);
}
.promo-card .status-badge .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.promo-card .status-badge .live-dot.dot-active {
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}
.promo-card .status-badge .live-dot.dot-scheduled {
  background: var(--info);
}
.promo-card .status-badge .live-dot.dot-expired {
  background: var(--danger);
}
.promo-card .status-badge .live-dot.dot-inactive {
  background: var(--text-muted);
}
.promo-card .pc-body {
  padding: 14px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.promo-card .pc-body .pc-name {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--text-primary);
  line-height: 1.4;
}
.promo-card .pc-body .pc-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.promo-card .pc-body .pc-value .pc-value-badge {
  font-size: 1.35rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.promo-card .pc-body .pc-value .pc-value-badge.val--percentage {
  color: var(--accent);
}
.promo-card .pc-body .pc-value .pc-value-badge.val--fixedamount {
  color: var(--success);
}
.promo-card .pc-body .pc-value .pc-value-badge.val--buyxgety {
  color: var(--warning);
}
.promo-card .pc-body .pc-value .pc-value-badge.val--freeshipping {
  color: var(--teal);
}
.promo-card .pc-body .pc-value .pc-type-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-sm, 7px);
  font-size: 0.74rem;
  font-weight: 750;
  background: var(--surface2);
  color: var(--text-muted);
  border: none !important;
}
.promo-card .pc-body .pc-value .pc-type-chip.type--percentage {
  background: var(--accent-subtle);
  color: var(--accent);
}
.promo-card .pc-body .pc-value .pc-type-chip.type--fixedamount {
  background: var(--success-subtle);
  color: var(--success);
}
.promo-card .pc-body .pc-value .pc-type-chip.type--buyxgety {
  background: var(--warning-subtle);
  color: var(--warning);
}
.promo-card .pc-body .pc-value .pc-type-chip.type--freeshipping {
  background: var(--teal-subtle);
  color: var(--teal);
}
.promo-card .pc-body .pc-value .pc-type-chip svg, .promo-card .pc-body .pc-value .pc-type-chip [data-lucide] {
  width: 13px;
  height: 13px;
}
.promo-card .pc-body .pc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.promo-card .pc-body .pc-meta .pc-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.promo-card .pc-body .pc-meta .pc-meta-item svg, .promo-card .pc-body .pc-meta .pc-meta-item [data-lucide] {
  width: 14px;
  height: 14px;
  opacity: 0.75;
}
.promo-card .pc-body .pc-meta .pc-meta-item.text-warning {
  color: var(--warning) !important;
}
.promo-card .pc-body .pc-progress-wrap {
  margin-top: 4px;
}
.promo-card .pc-body .pc-progress-wrap .pc-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.73rem;
  font-weight: 650;
  color: var(--text-muted);
  margin-bottom: 5px;
  font-variant-numeric: tabular-nums;
}
.promo-card .pc-body .pc-progress-wrap .pc-progress-track {
  height: 6px;
  background: var(--surface2);
  border-radius: var(--radius-full, 9999px);
  overflow: hidden;
}
.promo-card .pc-body .pc-progress-wrap .pc-progress-fill {
  height: 100%;
  border-radius: var(--radius-full, 9999px);
  transition: width 0.4s ease;
}
.promo-card .pc-body .pc-progress-wrap .pc-progress-fill.fill-accent {
  background: var(--accent);
}
.promo-card .pc-body .pc-progress-wrap .pc-progress-fill.fill-warning {
  background: var(--warning);
}
.promo-card .pc-body .pc-progress-wrap .pc-progress-fill.fill-danger {
  background: var(--danger);
}
.promo-card .pc-body .countdown-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 750;
  color: var(--warning);
  background: var(--warning-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-sm, 7px);
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.promo-card .pc-body .countdown-row svg, .promo-card .pc-body .countdown-row [data-lucide] {
  width: 13px;
  height: 13px;
}
.promo-card .pc-footer {
  padding: 12px 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
}
.promo-card .pc-footer .pc-status-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}
.promo-card .pc-footer .pc-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.promo-card .pc-footer .pc-actions .pc-act-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm, 8px);
  border: none !important;
  background: var(--surface2);
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.promo-card .pc-footer .pc-actions .pc-act-btn:hover {
  background: var(--surface3);
  color: var(--text-primary);
  transform: translateY(-1px);
}
.promo-card .pc-footer .pc-actions .pc-act-btn.edit:hover {
  background: var(--accent-subtle);
  color: var(--accent);
}
.promo-card .pc-footer .pc-actions .pc-act-btn.delete:hover {
  background: var(--danger-subtle);
  color: var(--danger);
}
.promo-card .pc-footer .pc-actions .pc-act-btn.coupons:hover {
  background: var(--teal-subtle);
  color: var(--teal);
}
.promo-card .pc-footer .pc-actions .pc-act-btn svg, .promo-card .pc-footer .pc-actions .pc-act-btn [data-lucide] {
  width: 15px;
  height: 15px;
}

.pc-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--surface2);
  border: 1px dashed var(--accent);
  border-radius: var(--radius-md, 10px);
  cursor: pointer;
  transition: var(--transition-fast, 0.15s ease);
  user-select: none;
  white-space: nowrap;
}
.pc-code:hover {
  background: var(--surface3);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
}
.pc-code .pc-code-text {
  font-family: monospace;
  font-weight: 850;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.pc-code svg, .pc-code [data-lucide] {
  width: 14px;
  height: 14px;
}

.pc-value-badge {
  display: inline-flex;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.pc-value-badge.val--percentage {
  color: var(--accent);
}
.pc-value-badge.val--fixedamount {
  color: var(--success);
}
.pc-value-badge.val--buyxgety {
  color: var(--warning);
}
.pc-value-badge.val--freeshipping {
  color: var(--teal);
}

.pc-type-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-sm, 7px);
  font-size: 0.74rem;
  font-weight: 750;
  background: var(--surface2);
  color: var(--text-muted);
  border: none !important;
  white-space: nowrap;
}
.pc-type-chip.type--percentage {
  background: var(--accent-subtle);
  color: var(--accent);
}
.pc-type-chip.type--fixedamount {
  background: var(--success-subtle);
  color: var(--success);
}
.pc-type-chip.type--buyxgety {
  background: var(--warning-subtle);
  color: var(--warning);
}
.pc-type-chip.type--freeshipping {
  background: var(--teal-subtle);
  color: var(--teal);
}
.pc-type-chip svg, .pc-type-chip [data-lucide] {
  width: 13px;
  height: 13px;
}

.pc-progress-track {
  height: 6px;
  background: var(--surface2);
  border-radius: var(--radius-full, 9999px);
  overflow: hidden;
  min-width: 110px;
}

.pc-progress-fill {
  height: 100%;
  border-radius: var(--radius-full, 9999px);
  transition: width 0.4s ease;
}
.pc-progress-fill.fill-accent {
  background: var(--accent);
}
.pc-progress-fill.fill-warning {
  background: var(--warning);
}
.pc-progress-fill.fill-danger {
  background: var(--danger);
}

.progress-cell {
  min-width: 130px;
}

.picker-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.picker-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.platform-campaigns-section {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-xl, 20px);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.platform-campaigns-section .campaigns-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.platform-campaigns-section .campaigns-header .campaigns-title-group {
  max-width: 720px;
}
.platform-campaigns-section .campaigns-header .campaigns-title-group .campaigns-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.platform-campaigns-section .campaigns-header .campaigns-title-group .campaigns-badge svg, .platform-campaigns-section .campaigns-header .campaigns-title-group .campaigns-badge [data-lucide] {
  width: 13px;
  height: 13px;
}
.platform-campaigns-section .campaigns-header .campaigns-title-group .campaigns-title {
  font-size: 1.15rem;
  font-weight: 850;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}
.platform-campaigns-section .campaigns-header .campaigns-title-group .campaigns-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 5px 0 0;
  line-height: 1.5;
}
.platform-campaigns-section .campaigns-header .campaigns-summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 750;
}
.platform-campaigns-section .campaigns-header .campaigns-summary-chip .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}
.platform-campaigns-section .campaigns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}
@media (max-width: 576px) {
  .platform-campaigns-section .campaigns-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.platform-campaigns-section .campaign-card {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 16px);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast, 0.2s ease), box-shadow var(--transition-fast, 0.2s ease);
}
.platform-campaigns-section .campaign-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.platform-campaigns-section .campaign-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transition: background var(--transition-fast);
}
.platform-campaigns-section .campaign-card.campaign-status--opted_in::before {
  background: var(--success);
}
.platform-campaigns-section .campaign-card.campaign-status--paused::before {
  background: var(--warning);
}
.platform-campaigns-section .campaign-card.campaign-status--opted_out {
  opacity: 0.75;
}
.platform-campaigns-section .campaign-card.campaign-status--opted_out::before {
  background: var(--danger);
}
.platform-campaigns-section .campaign-card.campaign-status--pending::before {
  background: var(--accent);
}
.platform-campaigns-section .campaign-card .cc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.platform-campaigns-section .campaign-card .cc-header .cc-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 750;
  color: var(--text-muted);
}
.platform-campaigns-section .campaign-card .cc-header .cc-tag svg, .platform-campaigns-section .campaign-card .cc-header .cc-tag [data-lucide] {
  width: 13px;
  height: 13px;
  color: var(--accent);
}
.platform-campaigns-section .campaign-card .cc-header .cc-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.72rem;
  font-weight: 800;
}
.platform-campaigns-section .campaign-card .cc-header .cc-status-badge .cc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.platform-campaigns-section .campaign-card .cc-header .cc-status-badge.cc-st--opted_in {
  background: var(--success-subtle);
  color: var(--success);
}
.platform-campaigns-section .campaign-card .cc-header .cc-status-badge.cc-st--opted_in .cc-dot {
  background: var(--success);
  box-shadow: 0 0 5px var(--success);
}
.platform-campaigns-section .campaign-card .cc-header .cc-status-badge.cc-st--paused {
  background: var(--warning-subtle);
  color: var(--warning);
}
.platform-campaigns-section .campaign-card .cc-header .cc-status-badge.cc-st--paused .cc-dot {
  background: var(--warning);
}
.platform-campaigns-section .campaign-card .cc-header .cc-status-badge.cc-st--opted_out {
  background: var(--danger-subtle);
  color: var(--danger);
}
.platform-campaigns-section .campaign-card .cc-header .cc-status-badge.cc-st--opted_out .cc-dot {
  background: var(--danger);
}
.platform-campaigns-section .campaign-card .cc-header .cc-status-badge.cc-st--pending {
  background: var(--accent-subtle);
  color: var(--accent);
}
.platform-campaigns-section .campaign-card .cc-header .cc-status-badge.cc-st--pending .cc-dot {
  background: var(--accent);
  box-shadow: 0 0 5px var(--accent);
}
.platform-campaigns-section .campaign-card .cc-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.platform-campaigns-section .campaign-card .cc-body .cc-name {
  font-size: 1.05rem;
  font-weight: 850;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}
.platform-campaigns-section .campaign-card .cc-body .cc-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.platform-campaigns-section .campaign-card .cc-body .cc-code-row .cc-val-badge .cc-val-num {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.platform-campaigns-section .campaign-card .cc-body .cc-meta-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.platform-campaigns-section .campaign-card .cc-body .cc-meta-grid .cc-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}
.platform-campaigns-section .campaign-card .cc-body .cc-meta-grid .cc-meta-item svg, .platform-campaigns-section .campaign-card .cc-body .cc-meta-grid .cc-meta-item [data-lucide] {
  width: 13px;
  height: 13px;
  opacity: 0.8;
}
.platform-campaigns-section .campaign-card .cc-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.platform-campaigns-section .campaign-card .cc-footer .cc-decision-label {
  font-size: 0.74rem;
  font-weight: 750;
  color: var(--text-muted);
}
.platform-campaigns-section .campaign-card .cc-footer .cc-actions-group {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 6px;
}
@media (max-width: 480px) {
  .platform-campaigns-section .campaign-card .cc-footer .cc-actions-group {
    grid-template-columns: 1fr;
  }
}
.platform-campaigns-section .campaign-card .cc-footer .cc-actions-group .btn-campaign-act {
  height: 36px;
  padding: 0 10px;
  border-radius: var(--radius-md, 10px);
  border: none !important;
  font-size: 0.75rem;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: var(--transition-fast, 0.18s ease);
  background: var(--surface3);
  color: var(--text-secondary);
  white-space: nowrap;
}
.platform-campaigns-section .campaign-card .cc-footer .cc-actions-group .btn-campaign-act svg, .platform-campaigns-section .campaign-card .cc-footer .cc-actions-group .btn-campaign-act [data-lucide] {
  width: 14px;
  height: 14px;
}
.platform-campaigns-section .campaign-card .cc-footer .cc-actions-group .btn-campaign-act:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.platform-campaigns-section .campaign-card .cc-footer .cc-actions-group .btn-campaign-act.btn-c-optin:hover:not(:disabled) {
  background: var(--success-subtle);
  color: var(--success);
}
.platform-campaigns-section .campaign-card .cc-footer .cc-actions-group .btn-campaign-act.btn-c-optin.is-current {
  background: var(--success);
  color: var(--color-white);
  box-shadow: var(--shadow-xs);
}
.platform-campaigns-section .campaign-card .cc-footer .cc-actions-group .btn-campaign-act.btn-c-pause:hover:not(:disabled) {
  background: var(--warning-subtle);
  color: var(--warning);
}
.platform-campaigns-section .campaign-card .cc-footer .cc-actions-group .btn-campaign-act.btn-c-pause.is-current {
  background: var(--warning);
  color: var(--color-black);
  box-shadow: var(--shadow-xs);
}
.platform-campaigns-section .campaign-card .cc-footer .cc-actions-group .btn-campaign-act.btn-c-optout:hover:not(:disabled) {
  background: var(--danger-subtle);
  color: var(--danger);
}
.platform-campaigns-section .campaign-card .cc-footer .cc-actions-group .btn-campaign-act.btn-c-optout.is-current {
  background: var(--danger);
  color: var(--color-white);
  box-shadow: var(--shadow-xs);
}

.type-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
@media (max-width: 576px) {
  .type-selector {
    grid-template-columns: 1fr;
  }
}
.type-selector .type-opt {
  border: none !important;
  border-radius: var(--radius-lg, 14px);
  padding: 14px;
  cursor: pointer;
  background: var(--surface2);
  transition: var(--transition-fast);
  position: relative;
}
.type-selector .type-opt:hover {
  background: var(--surface3);
  transform: translateY(-1px);
}
.type-selector .type-opt.selected {
  background: var(--surface3);
  box-shadow: var(--shadow-sm);
}
.type-selector .type-opt.selected::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  bottom: 10px;
  width: 3.5px;
  border-radius: 99px;
  background: var(--accent);
}
.type-selector .type-opt .type-opt-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.type-selector .type-opt .type-opt-head .type-opt-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.type-selector .type-opt .type-opt-head .type-opt-icon.icon--percentage {
  background: var(--accent-subtle);
  color: var(--accent);
}
.type-selector .type-opt .type-opt-head .type-opt-icon.icon--fixedamount {
  background: var(--success-subtle);
  color: var(--success);
}
.type-selector .type-opt .type-opt-head .type-opt-icon.icon--buyxgety {
  background: var(--warning-subtle);
  color: var(--warning);
}
.type-selector .type-opt .type-opt-head .type-opt-icon.icon--freeshipping {
  background: var(--teal-subtle);
  color: var(--teal);
}
.type-selector .type-opt .type-opt-head .type-opt-icon svg, .type-selector .type-opt .type-opt-head .type-opt-icon [data-lucide] {
  width: 18px;
  height: 18px;
}
.type-selector .type-opt .type-opt-head .type-opt-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
}
.type-selector .type-opt .type-opt-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.scope-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.scope-selector .scope-opt {
  padding: 8px 16px;
  border: none !important;
  border-radius: var(--radius-full, 9999px);
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.82rem;
  font-weight: 750;
  background: var(--surface2);
  color: var(--text-secondary);
}
.scope-selector .scope-opt:hover {
  background: var(--surface3);
  color: var(--text-primary);
}
.scope-selector .scope-opt.selected {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 2px 8px var(--accent-glow);
}

.value-section {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 14px);
  padding: 18px;
  margin-bottom: 16px;
}
.value-section .vs-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 14px);
  margin-bottom: 16px;
}
.switch-row .sw-label {
  font-weight: 750;
  font-size: 0.9rem;
  color: var(--text-primary);
}
.switch-row .sw-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.code-gen-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.code-gen-row .form-control {
  font-family: monospace;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-size: 1rem;
}

.coupon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-md, 12px);
  margin-bottom: 8px;
  transition: var(--transition-fast);
}
.coupon-item:hover {
  background: var(--surface3);
}
.coupon-item .coupon-code-badge {
  font-family: monospace;
  font-weight: 850;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-sm, 7px);
  font-size: 0.92rem;
  border: none !important;
  cursor: pointer;
}
.coupon-item .coupon-meta {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.coupon-item .coupon-del {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm, 7px);
  border: none !important;
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.coupon-item .coupon-del:hover {
  background: var(--danger-subtle);
  color: var(--danger);
}

.d-section .type-opt {
  background: var(--surface);
}
.d-section .type-opt:hover {
  background: var(--surface3);
}
.d-section .type-opt.selected {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.d-section .value-section {
  background: var(--surface);
  padding: 14px 16px;
  border-radius: var(--radius-md, 12px);
}
.d-section .switch-row {
  background: var(--surface);
  padding: 12px 16px;
  margin-bottom: 12px;
}
.d-section .scope-opt {
  background: var(--surface);
}
.d-section .scope-opt:hover {
  background: var(--surface3);
}
.d-section .scope-opt.selected {
  background: var(--accent);
  color: var(--text-inverse);
}
.d-section .coupon-item {
  background: var(--surface);
}
.d-section .coupon-item:hover {
  background: var(--surface3);
}

.picker-items-list {
  max-height: 48vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-inline-end: 4px;
}

.picker-item-row {
  padding: 10px 14px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface);
  border: none !important;
  transition: var(--transition-fast);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.picker-item-row:hover {
  background: var(--surface2);
}
.picker-item-row.is-selected {
  background: var(--surface2);
}
.picker-item-row .picker-thumb {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.picker-item-row .picker-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.picker-item-row .picker-thumb svg, .picker-item-row .picker-thumb [data-lucide] {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}
.picker-item-row .picker-cat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm, 8px);
  background: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.picker-item-row .picker-cat-icon svg, .picker-item-row .picker-cat-icon [data-lucide] {
  width: 20px;
  height: 20px;
}

.chip-close-btn {
  background: transparent;
  border: none;
  color: currentColor;
  cursor: pointer;
  padding: 0;
  margin-inline-start: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}
.chip-close-btn:hover {
  opacity: 1;
}
.chip-close-btn svg, .chip-close-btn [data-lucide] {
  width: 12px;
  height: 12px;
}

.picker-selected-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 10px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface2);
  min-height: 44px;
}

.promos-mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  padding: 10px 16px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-lg);
}
.promos-mobile-bottom-bar .pm-bar-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.promos-mobile-bottom-bar .pm-bar-info .pm-bar-label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.promos-mobile-bottom-bar .pm-bar-info .pm-bar-label svg, .promos-mobile-bottom-bar .pm-bar-info .pm-bar-label [data-lucide] {
  width: 14px;
  height: 14px;
}
.promos-mobile-bottom-bar .pm-create-btn {
  height: 38px;
  padding-inline: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 750;
}

.platform-campaigns-section {
  margin-bottom: 24px;
}

.platform-campaigns-card {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-xl, 18px);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}
.platform-campaigns-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--teal, var(--accent)));
}
.platform-campaigns-card .pcc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.platform-campaigns-card .pcc-header .pcc-header-info {
  flex: 1;
  min-width: 280px;
}
.platform-campaigns-card .pcc-header .pcc-header-info .pcc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--accent-glow, var(--surface2));
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 750;
  border-radius: var(--radius-full, 999px);
  margin-bottom: 8px;
}
.platform-campaigns-card .pcc-header .pcc-header-info .pcc-badge .status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}
.platform-campaigns-card .pcc-header .pcc-header-info .pcc-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.platform-campaigns-card .pcc-header .pcc-header-info .pcc-title svg, .platform-campaigns-card .pcc-header .pcc-header-info .pcc-title [data-lucide] {
  width: 20px;
  height: 20px;
}
.platform-campaigns-card .pcc-header .pcc-header-info .pcc-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.platform-campaigns-card .pcc-header .pcc-header-meta {
  flex-shrink: 0;
}
.platform-campaigns-card .pcc-header .pcc-header-meta .pcc-count-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--surface2);
  color: var(--text-secondary);
  border-radius: var(--radius-full, 999px);
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.platform-campaigns-card .pcc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}
@media (max-width: 576px) {
  .platform-campaigns-card .pcc-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.platform-campaigns-card .pcc-item {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 14px);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast, 0.2s ease), box-shadow var(--transition-fast, 0.2s ease);
}
.platform-campaigns-card .pcc-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.platform-campaigns-card .pcc-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
}
.platform-campaigns-card .pcc-item--opted_in::before {
  background: var(--success);
}
.platform-campaigns-card .pcc-item--paused::before {
  background: var(--warning);
}
.platform-campaigns-card .pcc-item--opted_out::before {
  background: var(--danger);
}
.platform-campaigns-card .pcc-item--pending::before {
  background: var(--accent);
}
.platform-campaigns-card .pcc-item .pcc-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.platform-campaigns-card .pcc-item .pcc-item-top .pcc-item-main {
  flex: 1;
  min-width: 0;
}
.platform-campaigns-card .pcc-item .pcc-item-top .pcc-item-main .pcc-item-name {
  font-size: 0.96rem;
  font-weight: 750;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.platform-campaigns-card .pcc-item .pcc-item-top .pcc-item-main .pcc-code-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.platform-campaigns-card .pcc-item .pcc-item-top .pcc-item-main .pcc-code-wrap .pcc-code-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.platform-campaigns-card .pcc-item .pcc-item-top .pcc-item-main .pcc-code-wrap .pcc-code {
  font-family: var(--font-mono, monospace);
  font-weight: 750;
  font-size: 0.8rem;
  padding: 3px 8px;
  background: var(--surface3);
  color: var(--accent);
  border-radius: var(--radius-sm, 6px);
  letter-spacing: 0.5px;
}
.platform-campaigns-card .pcc-item .pcc-item-top .pcc-status-badge {
  flex-shrink: 0;
}
.platform-campaigns-card .pcc-item .pcc-item-top .pcc-status-badge .badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full, 999px);
  font-size: 0.72rem;
  font-weight: 750;
}
.platform-campaigns-card .pcc-item .pcc-item-top .pcc-status-badge .badge svg, .platform-campaigns-card .pcc-item .pcc-item-top .pcc-status-badge .badge [data-lucide] {
  width: 12px;
  height: 12px;
}
.platform-campaigns-card .pcc-item .pcc-item-top .pcc-status-badge .badge--success {
  background: var(--success-subtle);
  color: var(--success);
}
.platform-campaigns-card .pcc-item .pcc-item-top .pcc-status-badge .badge--warning {
  background: var(--warning-subtle);
  color: var(--warning);
}
.platform-campaigns-card .pcc-item .pcc-item-top .pcc-status-badge .badge--danger {
  background: var(--danger-subtle);
  color: var(--danger);
}
.platform-campaigns-card .pcc-item .pcc-item-top .pcc-status-badge .badge--accent {
  background: var(--accent-glow, var(--surface3));
  color: var(--accent);
}
.platform-campaigns-card .pcc-item .pcc-item-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  padding: 10px 12px;
  background: var(--surface);
  border-radius: var(--radius-md, 10px);
}
.platform-campaigns-card .pcc-item .pcc-item-specs .pcc-spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.platform-campaigns-card .pcc-item .pcc-item-specs .pcc-spec .pcc-spec-lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
}
.platform-campaigns-card .pcc-item .pcc-item-specs .pcc-spec .pcc-spec-val {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.platform-campaigns-card .pcc-item .pcc-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.platform-campaigns-card .pcc-item .pcc-item-actions .btn {
  flex: 1;
  min-width: 120px;
  height: 34px;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-md, 8px);
  transition: all var(--transition-fast, 0.2s ease);
}
.platform-campaigns-card .pcc-item .pcc-item-actions .btn svg, .platform-campaigns-card .pcc-item .pcc-item-actions .btn [data-lucide] {
  width: 13px;
  height: 13px;
}
.platform-campaigns-card .pcc-item .pcc-item-actions .btn--success {
  background: var(--success);
  color: var(--color-white);
  border: none;
}
.platform-campaigns-card .pcc-item .pcc-item-actions .btn--success:hover {
  background: var(--success-hover);
}
.platform-campaigns-card .pcc-item .pcc-item-actions .btn--secondary {
  background: var(--surface3);
  color: var(--text-primary);
  border: none;
}
.platform-campaigns-card .pcc-item .pcc-item-actions .btn--secondary:hover {
  background: var(--border-medium);
}
.platform-campaigns-card .pcc-item .pcc-item-actions .btn--outline-danger {
  background: transparent;
  color: var(--danger);
  border: 1px solid var(--danger-border);
}
.platform-campaigns-card .pcc-item .pcc-item-actions .btn--outline-danger:hover {
  background: var(--danger-subtle);
}

.subscription-due-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: var(--radius-xl, 18px);
  background: var(--warning-subtle);
  color: var(--text-primary);
  cursor: pointer;
  transition: transform var(--transition-fast, 0.2s ease), box-shadow var(--transition-fast, 0.2s ease);
  position: relative;
  overflow: hidden;
}
.subscription-due-banner:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.subscription-due-banner .due-banner-count {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md, 10px);
  background: var(--warning);
  color: var(--color-white);
  font-weight: 850;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.subscription-due-banner .due-banner-info {
  flex: 1;
  min-width: 0;
}
.subscription-due-banner .due-banner-info .due-banner-title {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.subscription-due-banner .due-banner-info .due-banner-sub {
  font-size: 0.76rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.subscription-due-banner .due-banner-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface);
  color: var(--warning);
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
}
.subscription-due-banner .due-banner-arrow {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}
.subscription-due-banner:hover .due-banner-arrow {
  transform: translateX(-3px);
}

.renewal-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-inline-start: 6px;
  margin-top: 8px;
}
.renewal-timeline .rt-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  min-height: 54px;
}
.renewal-timeline .rt-step:last-child .rt-line {
  display: none;
}
.renewal-timeline .rt-step .rt-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20px;
  flex-shrink: 0;
  position: relative;
}
.renewal-timeline .rt-step .rt-left .rt-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-medium);
  border: 2px solid var(--surface);
  z-index: 2;
  transition: all var(--transition-fast);
}
.renewal-timeline .rt-step .rt-left .rt-dot.done {
  background: var(--teal);
  box-shadow: 0 0 6px var(--teal-subtle);
}
.renewal-timeline .rt-step .rt-left .rt-dot.latest {
  background: var(--success);
  box-shadow: 0 0 8px var(--success-subtle);
}
.renewal-timeline .rt-step .rt-left .rt-dot.next-dot {
  background: var(--accent);
}
.renewal-timeline .rt-step .rt-left .rt-line {
  width: 2px;
  flex: 1;
  min-height: 42px;
  background: var(--border-subtle);
  margin: 2px 0;
}
.renewal-timeline .rt-step .rt-left .rt-line.done {
  background: var(--teal);
}
.renewal-timeline .rt-step .rt-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  padding-bottom: 14px;
  gap: 10px;
  font-size: 0.82rem;
}
.renewal-timeline .rt-step .rt-info .rt-label {
  font-weight: 700;
  color: var(--text-primary);
}
.renewal-timeline .rt-step .rt-info .rt-time {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.renewal-timeline .rt-step .rt-info .rt-amount {
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.executive-plan-picker {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.executive-plan-picker .executive-plan-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.executive-plan-picker .executive-plan-search .plan-search-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-start: 14px;
  color: var(--text-muted);
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.executive-plan-picker .executive-plan-search .plan-search-icon svg, .executive-plan-picker .executive-plan-search .plan-search-icon [data-lucide] {
  width: 16px;
  height: 16px;
}
.executive-plan-picker .executive-plan-search .plan-search-input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  padding-inline-start: 40px;
  padding-inline-end: 36px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 14px);
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}
.executive-plan-picker .executive-plan-search .plan-search-input::placeholder {
  color: var(--text-muted);
}
.executive-plan-picker .executive-plan-search .plan-search-input:focus {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.executive-plan-picker .executive-plan-search .btn-clear-plan-search {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-end: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.executive-plan-picker .executive-plan-search .btn-clear-plan-search svg, .executive-plan-picker .executive-plan-search .btn-clear-plan-search [data-lucide] {
  width: 13px;
  height: 13px;
}
.executive-plan-picker .executive-plan-search .btn-clear-plan-search:hover {
  color: var(--text-primary);
}
.executive-plan-picker .executive-plan-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 260px;
  overflow-y: auto;
  padding-inline-end: 4px;
}
.executive-plan-picker .executive-plan-list::-webkit-scrollbar {
  width: 4px;
}
.executive-plan-picker .executive-plan-list::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
.executive-plan-picker .executive-plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-lg, 14px);
  background: var(--surface2);
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  border: 1px solid transparent;
}
.executive-plan-picker .executive-plan-row:hover {
  background: var(--surface3);
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
  border-color: var(--border-medium);
}
.executive-plan-picker .executive-plan-row.is-selected {
  background: var(--surface3);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.executive-plan-picker .executive-plan-row.is-selected .plan-row-name {
  color: var(--accent);
}
.executive-plan-picker .executive-plan-row .plan-row-start {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.executive-plan-picker .executive-plan-row .plan-row-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md, 12px);
  background: var(--surface3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  color: var(--accent);
}
.executive-plan-picker .executive-plan-row .plan-row-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.executive-plan-picker .executive-plan-row .plan-row-avatar svg, .executive-plan-picker .executive-plan-row .plan-row-avatar [data-lucide] {
  width: 20px;
  height: 20px;
}
.executive-plan-picker .executive-plan-row .plan-row-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.executive-plan-picker .executive-plan-row .plan-row-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.executive-plan-picker .executive-plan-row .plan-row-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.executive-plan-picker .executive-plan-row .plan-row-end {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.executive-plan-picker .executive-plan-row .plan-row-price {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--success);
  font-variant-numeric: tabular-nums;
}
.executive-plan-picker .executive-plan-row .plan-row-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  color: var(--text-secondary);
  border: 1px solid var(--border-medium);
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.executive-plan-picker .executive-plan-row .plan-row-action svg, .executive-plan-picker .executive-plan-row .plan-row-action [data-lucide] {
  width: 14px;
  height: 14px;
  stroke-width: 2.2px;
}
.executive-plan-picker .executive-plan-row:hover .plan-row-action {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
}
.executive-plan-picker .executive-plan-row.is-selected .plan-row-action {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}
.executive-plan-picker .plan-selected-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-xl, 18px);
  background: var(--surface2);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.executive-plan-picker .plan-selected-card .plan-selected-start {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}
.executive-plan-picker .plan-selected-card .plan-selected-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg, 14px);
  background: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--accent-glow);
  overflow: hidden;
}
.executive-plan-picker .plan-selected-card .plan-selected-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.executive-plan-picker .plan-selected-card .plan-selected-icon svg, .executive-plan-picker .plan-selected-card .plan-selected-icon [data-lucide] {
  width: 24px;
  height: 24px;
}
.executive-plan-picker .plan-selected-card .plan-selected-details {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.executive-plan-picker .plan-selected-card .plan-selected-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.executive-plan-picker .plan-selected-card .plan-selected-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.executive-plan-picker .plan-selected-card .plan-selected-end {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.executive-plan-picker .plan-selected-card .plan-selected-price {
  font-size: 1.05rem;
  font-weight: 850;
  color: var(--success);
  font-variant-numeric: tabular-nums;
}

.prod-selector {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 6px;
}
.prod-selector .prod-option {
  padding: 12px 14px;
  border-radius: var(--radius-md, 12px);
  background: var(--surface2);
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1.5px solid transparent;
}
.prod-selector .prod-option:hover {
  background: var(--surface3, var(--surface2));
  transform: translateY(-1px);
}
.prod-selector .prod-option.selected {
  background: var(--surface3, var(--surface2));
  border-color: var(--accent);
  box-shadow: var(--shadow-xs);
}
.prod-selector .prod-option.selected .prod-option-name {
  color: var(--accent);
}
.prod-selector .prod-option .prod-option-name {
  font-weight: 750;
  font-size: 0.86rem;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prod-selector .prod-option .prod-option-price {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--success);
  font-variant-numeric: tabular-nums;
}

.sub-cards-mb {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sub-card-mb {
  background: var(--surface);
  border-radius: var(--radius-xl, 18px);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.sub-card-mb:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.sub-card-mb.row-soon::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 14px;
  bottom: 14px;
  width: 3.5px;
  border-radius: 99px;
  background: var(--warning);
}
.sub-card-mb .sub-card-mb-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.sub-card-mb .sub-card-mb-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface2);
}
.sub-card-mb .sub-card-plan-row,
.sub-card-mb .sub-card-dates-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sub-card-mb .sub-card-mb-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.subscriptions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-bottom: var(--space-4, 16px);
}
@media (max-width: 576px) {
  .subscriptions-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.subscriptions-grid > .card,
.subscriptions-grid > .table-card,
.subscriptions-grid > .table-empty-wrap,
.subscriptions-grid > .empty-state {
  grid-column: 1/-1;
  width: 100%;
}

.sub-card {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-xl, 18px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-normal, 0.25s cubic-bezier(0.16, 1, 0.3, 1)), box-shadow var(--transition-normal, 0.25s ease);
}
.sub-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.sub-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition-fast);
  z-index: 2;
}
.sub-card.card-active::before {
  background: var(--success);
}
.sub-card.card-soon::before {
  background: var(--warning);
}
.sub-card.card-cancelled {
  opacity: 0.72;
}
.sub-card.card-cancelled::before {
  background: var(--danger);
}
.sub-card .sc-head {
  padding: 16px 18px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.sub-card .sc-body {
  padding: 14px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sub-card .sc-body .sc-plan-name {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--text-primary);
  line-height: 1.4;
}
.sub-card .sc-body .sc-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.sub-card .sc-body .sc-price-row .sc-price-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.sub-card .sc-body .sc-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--font-size-xs, 0.75rem);
  color: var(--text-muted);
}
.sub-card .sc-body .sc-meta .sc-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sub-card .sc-body .sc-meta .sc-meta-item svg, .sub-card .sc-body .sc-meta .sc-meta-item [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}
.sub-card .sc-footer {
  padding: 12px 18px 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sub-card .sc-footer .btn-card-action {
  flex: 1;
  height: 38px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface2);
  border: none;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.sub-card .sc-footer .btn-card-action:hover {
  background: var(--surface3);
  color: var(--text-primary);
}
.sub-card .sc-footer .btn-card-action.btn-renew {
  background: var(--success-subtle);
  color: var(--success);
}
.sub-card .sc-footer .btn-card-action.btn-renew:hover {
  background: var(--success);
  color: var(--color-white);
}
.sub-card .sc-footer .btn-card-action.btn-wa {
  background: var(--teal-subtle);
  color: var(--teal);
}
.sub-card .sc-footer .btn-card-action.btn-wa:hover {
  background: var(--teal);
  color: var(--color-white);
}
.sub-card .sc-footer .btn-card-action.btn-cancel {
  background: var(--danger-subtle);
  color: var(--danger);
}
.sub-card .sc-footer .btn-card-action.btn-cancel:hover {
  background: var(--danger);
  color: var(--color-white);
}
.sub-card .sc-footer .btn-card-action svg, .sub-card .sc-footer .btn-card-action [data-lucide] {
  width: 15px;
  height: 15px;
}

.roles-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: var(--radius-lg, 14px);
}
.roles-legend .legend-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.stf-cards-mb {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.stf-card-mb {
  background: var(--surface2);
  border-radius: var(--radius-xl, 18px);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast, all 0.2s ease);
}
.stf-card-mb:hover {
  background: var(--surface3);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.stf-card-mb .stf-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.stf-card-mb .stf-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 8px;
  border-block: 1px solid var(--border-subtle);
}
.stf-card-mb .stf-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
}
.stf-card-mb .stf-meta-item .stf-meta-lbl {
  color: var(--text-muted);
  font-weight: 600;
}
.stf-card-mb .stf-card-perms {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stf-card-mb .stf-card-perms .stf-perms-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}
.stf-card-mb .stf-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.stf-card-mb .stf-card-actions .stf-act-btn {
  flex: 1;
  min-width: 110px;
  justify-content: center;
}

.rating-card {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-2xl, 24px);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 36px;
  position: relative;
}
@media (max-width: 768px) {
  .rating-card {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 18px 20px;
  }
}
.rating-card .big-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding-inline-end: 32px;
  border-inline-end: 1px solid var(--border-subtle);
}
@media (max-width: 768px) {
  .rating-card .big-rating {
    border-inline-end: none;
    padding-inline-end: 0;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 16px;
  }
}
.rating-card .big-rating .big-num {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.rating-card .big-rating .big-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
.rating-card .big-rating .big-stars .star-metric-icon, .rating-card .big-rating .big-stars .star-icon, .rating-card .big-rating .big-stars svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  fill: none;
  transition: transform 0.2s ease;
}
.rating-card .big-rating .big-stars .star-metric-icon.is-filled, .rating-card .big-rating .big-stars .star-icon.is-filled, .rating-card .big-rating .big-stars svg.is-filled {
  color: var(--warning);
  fill: var(--warning);
}
.rating-card .big-rating .big-count {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.rating-card .rating-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rating-card .rating-bars .rbar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  padding: 4px 8px;
  border-radius: var(--radius-md, 8px);
  transition: background 0.2s ease, transform 0.2s ease;
}
.rating-card .rating-bars .rbar-row:hover {
  background: var(--surface2);
  transform: translateX(-2px);
}
.rating-card .rating-bars .rbar-row.rbar-active {
  background: var(--surface3);
}
.rating-card .rating-bars .rbar-row.rbar-active .rbar-label {
  color: var(--warning);
  font-weight: 900;
}
.rating-card .rating-bars .rbar-row.rbar-active .rbar-count {
  color: var(--text-primary);
  font-weight: 900;
}
.rating-card .rating-bars .rbar-row .rbar-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--text-secondary);
  width: 32px;
  flex-shrink: 0;
}
.rating-card .rating-bars .rbar-row .rbar-label .rbar-star {
  width: 13px;
  height: 13px;
  color: var(--warning);
  fill: var(--warning);
}
.rating-card .rating-bars .rbar-row .rbar-track {
  flex: 1;
  height: 8px;
  background: var(--surface2);
  border-radius: var(--radius-full, 9999px);
  overflow: hidden;
  position: relative;
}
.rating-card .rating-bars .rbar-row .rbar-track .rbar-fill {
  height: 100%;
  border-radius: var(--radius-full, 9999px);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.rating-card .rating-bars .rbar-row .rbar-track .rbar-fill.fill-success {
  background: var(--success);
}
.rating-card .rating-bars .rbar-row .rbar-track .rbar-fill.fill-warning {
  background: var(--warning);
}
.rating-card .rating-bars .rbar-row .rbar-track .rbar-fill.fill-danger {
  background: var(--danger);
}
.rating-card .rating-bars .rbar-row .rbar-count {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  width: 36px;
  text-align: end;
  font-variant-numeric: tabular-nums;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
  width: 100%;
}
@media (max-width: 767.98px) {
  .reviews-grid {
    display: none !important;
  }
}
.reviews-grid .review-card {
  margin-bottom: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.reviews-grid .review-card .rv-text {
  flex: 1;
  margin-bottom: 14px;
}
.reviews-grid .review-card .rv-reply {
  margin-top: auto;
}
.reviews-grid .review-card .rv-actions {
  margin-top: auto;
}

.review-card {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-xl, 20px);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  position: relative;
}
.review-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.review-card.hidden {
  background: var(--surface2);
  border: 1.5px dashed var(--border-strong) !important;
  box-shadow: none;
}
.review-card.hidden::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 24px;
  height: 3px;
  background: var(--danger);
  border-radius: 0 0 3px 3px;
}
.review-card .rv-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.review-card .rv-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.review-card .rv-meta .rv-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.review-card .rv-meta .rv-name-row .rv-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}
.review-card .rv-meta .rv-product {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--text-secondary);
}
.review-card .rv-meta .rv-product svg, .review-card .rv-meta .rv-product [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}
.review-card .rv-meta .rv-date {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}
.review-card .rv-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.review-card .rv-right .stars-row {
  display: flex;
  align-items: center;
  gap: 3px;
}
.review-card .rv-right .stars-row .star-icon, .review-card .rv-right .stars-row svg {
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  fill: none;
}
.review-card .rv-right .stars-row .star-icon.is-filled, .review-card .rv-right .stars-row svg.is-filled {
  color: var(--warning);
  fill: var(--warning);
}
.review-card .rv-right .stars-row .num {
  font-size: 0.85rem;
  font-weight: 850;
  color: var(--warning);
  margin-inline-start: 4px;
}
.review-card .rv-right .pub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  width: auto;
  height: auto;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
}
.review-card .rv-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-primary);
  padding: 14px 18px;
  background: var(--surface2);
  border-radius: var(--radius-lg, 12px);
  border: none !important;
  margin-bottom: 14px;
}
.review-card .rv-text.empty {
  color: var(--text-muted);
  font-style: italic;
  border: none !important;
}
.review-card .rv-reply {
  background: var(--surface3);
  border-radius: var(--radius-lg, 12px);
  padding: 14px 18px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.review-card .rv-reply .rv-reply-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--accent);
}
.review-card .rv-reply .rv-reply-label svg, .review-card .rv-reply .rv-reply-label [data-lucide] {
  width: 14px;
  height: 14px;
}
.review-card .rv-reply .rv-reply-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.review-card .rv-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  padding-top: 10px;
  border-top: 1px dashed var(--border-subtle);
}

.rv-cards-mobile {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rv-card-mb {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-xl, 20px);
  padding: 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rv-card-mb.is-hidden {
  background: var(--surface2);
  border: 1.5px dashed var(--border-strong) !important;
  box-shadow: none;
}
.rv-card-mb.is-hidden::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 16px;
  height: 3px;
  background: var(--danger);
  border-radius: 0 0 3px 3px;
}
.rv-card-mb .rc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.rv-card-mb .rc-head .rc-author-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
}
.rv-card-mb .rc-head .rc-date {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}
.rv-card-mb .rc-body .rc-quote {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-primary);
  padding: 10px 14px;
  background: var(--surface2);
  border-radius: var(--radius-md, 10px);
  border: none !important;
}
.rv-card-mb .rc-body .rc-empty-quote {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  padding: 6px 10px;
  border: none !important;
}
.rv-card-mb .rc-reply-box {
  background: var(--surface3);
  border-radius: var(--radius-md, 10px);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rv-card-mb .rc-reply-box .rc-reply-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.rv-card-mb .rc-reply-box .rc-reply-top .rc-reply-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 750;
  color: var(--accent);
}
.rv-card-mb .rc-reply-box .rc-reply-top .rc-reply-author svg, .rv-card-mb .rc-reply-box .rc-reply-top .rc-reply-author [data-lucide] {
  width: 13px;
  height: 13px;
}
.rv-card-mb .rc-reply-box .rc-reply-top .btn-text-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}
.rv-card-mb .rc-reply-box .rc-reply-top .btn-text-action:hover {
  color: var(--accent);
  background: var(--accent-subtle);
}
.rv-card-mb .rc-reply-box .rc-reply-top .btn-text-action svg, .rv-card-mb .rc-reply-box .rc-reply-top .btn-text-action [data-lucide] {
  width: 12px;
  height: 12px;
}
.rv-card-mb .rc-reply-box .rc-reply-text {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-secondary);
}
.rv-card-mb .rc-no-reply-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-md, 8px);
  background: var(--surface2);
  border: 1px dashed var(--border-medium);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.2s ease;
}
.rv-card-mb .rc-no-reply-hint:hover {
  background: var(--accent-subtle);
  color: var(--accent);
  border-color: var(--accent);
}
.rv-card-mb .rc-no-reply-hint .rc-hint-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.rv-card-mb .rc-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-subtle);
}
.rv-card-mb .rc-bottom-bar .rc-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-size: 0.78rem;
  font-weight: 700;
}
.rv-card-mb .rc-bottom-bar .rc-action-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rv-mobile-footer {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 990;
  background: var(--bg-glass, rgba(17, 18, 23, 0.85));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rv-mobile-footer .rmf-stats {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rv-mobile-footer .rmf-stats .rmf-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding-inline: 6px;
  border-radius: var(--radius-full, 9999px);
  background: var(--accent);
  color: var(--text-inverse);
  font-size: 0.78rem;
  font-weight: 850;
}
.rv-mobile-footer .rmf-stats .rmf-filter-label {
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--text-primary);
}
.rv-mobile-footer .rmf-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-preview {
  padding: 14px 16px;
  border-radius: var(--radius-lg, 12px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}
.review-preview .text-product-preview {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.review-preview .text-product-preview svg, .review-preview .text-product-preview [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}
.review-preview .preview-quote {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-primary);
  font-style: italic;
  margin-top: 6px;
}

.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 32px 16px;
  background: radial-gradient(circle at 50% 12%, var(--accent-glow) 0%, transparent 55%), var(--bg-main);
  box-sizing: border-box;
  overflow-x: hidden;
}
.login-page .top-controls {
  position: absolute;
  top: 24px;
  inset-inline: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}
@media (max-width: 575.98px) {
  .login-page .top-controls {
    top: 16px;
    inset-inline: 16px;
  }
}
.login-page .top-controls .brand-logo-text {
  font-weight: 850;
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  user-select: none;
}
.login-page .top-controls .top-controls-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.login-page .top-controls .top-controls-right .control-btn {
  height: 40px;
  min-width: 40px;
  padding: 0 14px;
  border-radius: var(--radius-full, 9999px);
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.login-page .top-controls .top-controls-right .control-btn .ctrl-icon {
  width: 18px;
  height: 18px;
}
.login-page .top-controls .top-controls-right .control-btn:hover {
  background: var(--surface2);
  color: var(--text-primary);
  border-color: var(--border-medium);
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}
.login-page .top-controls .top-controls-right .control-btn:active {
  transform: translateY(0);
}
.login-page .top-controls .top-controls-right .control-btn.lang-btn {
  font-weight: 850;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}
.login-page .auth-container {
  width: 100%;
  max-width: 440px;
  margin: auto;
  position: relative;
  z-index: 2;
}
.login-page .auth-card {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-2xl, 28px);
  padding: 38px 34px;
  box-shadow: var(--shadow-xl);
  position: relative;
  box-sizing: border-box;
}
.login-page .auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
}
@media (max-width: 575.98px) {
  .login-page .auth-card {
    padding: 28px 20px;
    border-radius: var(--radius-xl, 22px);
  }
}
.login-page .auth-card .logo-area {
  text-align: center;
  margin-bottom: 28px;
}
.login-page .auth-card .logo-area .logo-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: -0.03em;
  margin: 0 0 8px 0;
}
.login-page .auth-card .logo-area .logo-title .logo-icon {
  width: 30px;
  height: 30px;
  color: var(--accent);
  flex-shrink: 0;
}
.login-page .auth-card .logo-area .logo-slogan {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}
.login-page .auth-card .auth-tabs {
  display: flex;
  background: var(--surface2);
  border-radius: var(--radius-full, 9999px);
  padding: 4px;
  margin-bottom: 24px;
  gap: 4px;
}
.login-page .auth-card .auth-tabs .auth-tab {
  flex: 1;
  text-align: center;
  padding: 10px 14px;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-full, 9999px);
  font-weight: 750;
  font-size: 0.88rem;
  transition: var(--transition-fast);
  user-select: none;
  border: none;
}
.login-page .auth-card .auth-tabs .auth-tab:hover {
  color: var(--text-primary);
}
.login-page .auth-card .auth-tabs .auth-tab.active {
  background: var(--surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-0.5px);
}
.login-page .auth-card .divider-auth {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 22px 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.5px;
}
.login-page .auth-card .divider-auth::before, .login-page .auth-card .divider-auth::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border-subtle);
}
.login-page .auth-card .divider-auth::before {
  margin-inline-end: 14px;
}
.login-page .auth-card .divider-auth::after {
  margin-inline-start: 14px;
}
.login-page .auth-card .register-guinrank-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.login-page .auth-card .register-guinrank-box .reg-notice {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-xl, 20px);
  padding: 24px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.login-page .auth-card .register-guinrank-box .reg-notice .reg-notice-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--info-subtle);
  color: var(--info);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.login-page .auth-card .register-guinrank-box .reg-notice .reg-notice-icon svg, .login-page .auth-card .register-guinrank-box .reg-notice .reg-notice-icon i, .login-page .auth-card .register-guinrank-box .reg-notice .reg-notice-icon [data-lucide] {
  width: 28px;
  height: 28px;
}
.login-page .auth-card .register-guinrank-box .reg-notice .reg-notice-title {
  font-size: 1.12rem;
  font-weight: 850;
  color: var(--text-primary);
  margin: 0;
}
.login-page .auth-card .register-guinrank-box .reg-notice .reg-notice-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.login-page .auth-card .forgot-head {
  text-align: center;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.login-page .auth-card .forgot-head .forgot-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent-glow);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.login-page .auth-card .forgot-head .forgot-icon svg, .login-page .auth-card .forgot-head .forgot-icon i, .login-page .auth-card .forgot-head .forgot-icon [data-lucide] {
  width: 28px;
  height: 28px;
}
.login-page .auth-card .forgot-head .forgot-title {
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--text-primary);
  margin: 0;
}
.login-page .auth-card .forgot-head .forgot-desc {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 0;
}
.login-page .auth-card .forgot-action-wrap {
  margin-bottom: 18px;
}
.login-page .auth-card .back-login-wrap {
  text-align: center;
  margin-top: 18px;
  font-size: 0.86rem;
}
.login-page .auth-card .back-login-wrap .back-login-text {
  color: var(--text-muted);
}
.login-page .auth-card .back-login-wrap .back-login-link,
.login-page .auth-card .back-login-wrap .forgot-link {
  color: var(--text-primary);
  cursor: pointer;
  font-weight: 750;
  text-decoration: none;
  transition: color 0.15s ease;
}
.login-page .auth-card .back-login-wrap .back-login-link:hover,
.login-page .auth-card .back-login-wrap .forgot-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.settings-card {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-lg, 16px);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
  transition: transform var(--transition-fast, 0.2s ease), box-shadow var(--transition-fast, 0.2s ease);
}
.settings-card:hover {
  box-shadow: var(--shadow-md);
}
.settings-card--danger {
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--danger-border, var(--danger)), var(--shadow-sm);
}
.settings-card--verified {
  background: var(--surface2);
  box-shadow: 0 0 0 1px var(--success-border, var(--success)), var(--shadow-sm);
}
.settings-card--pending {
  background: var(--surface2);
  box-shadow: 0 0 0 1px var(--warning-border, var(--warning)), var(--shadow-sm);
}
.settings-card--needs-edits {
  background: var(--surface2);
  box-shadow: 0 0 0 1px var(--danger-border, var(--danger)), var(--shadow-sm);
}
@media (max-width: 768px) {
  .settings-card {
    padding: 18px 16px;
    border-radius: var(--radius-md, 12px);
    margin-bottom: 16px;
  }
}

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 0;
  border-bottom: none !important;
}
.section-head .section-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md, 12px);
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}
.section-head .section-icon-box svg, .section-head .section-icon-box i, .section-head .section-icon-box [data-lucide] {
  width: 20px;
  height: 20px;
}
.section-head .section-icon-box.danger-icon-box {
  background: var(--danger-subtle);
  color: var(--danger);
}
.section-head .section-head-content {
  flex: 1;
  min-width: 0;
}
.section-head .section-head-content .section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  line-height: 1.35;
}
.section-head .section-head-content .section-sub {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.seo-sitemap-studio {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.seo-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface2);
  border-radius: var(--radius-md, 12px);
}
.seo-status-header .seo-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--success);
}
.seo-status-header .seo-status-badge .seo-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: statusPulse 2s infinite;
}
.seo-status-header .seo-compatibility-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--text-muted);
}
.seo-status-header .seo-compatibility-tag svg, .seo-status-header .seo-compatibility-tag i, .seo-status-header .seo-compatibility-tag [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.seo-url-action-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: var(--surface2);
  border-radius: var(--radius-md, 12px);
  transition: background var(--transition-fast, 0.2s ease);
}
.seo-url-action-bar:focus-within {
  background: var(--surface3, var(--surface2));
}
.seo-url-action-bar .seo-url-display {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  direction: ltr;
  text-align: left;
  user-select: all;
}
.seo-url-action-bar .seo-action-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.seo-url-action-bar .btn-seo-copy,
.seo-url-action-bar .btn-seo-preview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-sm, 8px);
  font-size: 0.8rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast, 0.2s ease);
  white-space: nowrap;
}
.seo-url-action-bar .btn-seo-copy svg, .seo-url-action-bar .btn-seo-copy i, .seo-url-action-bar .btn-seo-copy [data-lucide],
.seo-url-action-bar .btn-seo-preview svg,
.seo-url-action-bar .btn-seo-preview i,
.seo-url-action-bar .btn-seo-preview [data-lucide] {
  width: 14px;
  height: 14px;
}
.seo-url-action-bar .btn-seo-copy {
  background: var(--surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
}
.seo-url-action-bar .btn-seo-copy:hover {
  background: var(--surface3, var(--surface));
  transform: translateY(-1px);
}
.seo-url-action-bar .btn-seo-copy.copied {
  background: var(--success-subtle);
  color: var(--success);
}
.seo-url-action-bar .btn-seo-preview {
  background: var(--text-primary);
  color: var(--text-inverse);
}
.seo-url-action-bar .btn-seo-preview:hover {
  background: var(--accent-hover);
  color: var(--text-inverse);
  transform: translateY(-1px);
}
@media (max-width: 600px) {
  .seo-url-action-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
  }
  .seo-url-action-bar .seo-action-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .seo-url-action-bar .btn-seo-copy,
  .seo-url-action-bar .btn-seo-preview {
    justify-content: center;
  }
}

.seo-guide-card {
  background: var(--surface2);
  border-radius: var(--radius-md, 12px);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.seo-guide-card .seo-guide-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.seo-guide-card .seo-guide-header .seo-guide-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-subtle, var(--surface3));
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.seo-guide-card .seo-guide-header .seo-guide-icon svg, .seo-guide-card .seo-guide-header .seo-guide-icon i, .seo-guide-card .seo-guide-header .seo-guide-icon [data-lucide] {
  width: 16px;
  height: 16px;
}
.seo-guide-card .seo-guide-header .seo-guide-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}
.seo-guide-card .seo-guide-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 768px) {
  .seo-guide-card .seo-guide-steps {
    grid-template-columns: 1fr;
  }
}
.seo-guide-card .seo-step-item {
  background: var(--surface);
  padding: 12px 14px;
  border-radius: var(--radius-sm, 8px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.seo-guide-card .seo-step-item .seo-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface2);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
}
.seo-guide-card .seo-step-item .seo-step-title {
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--text-primary);
  margin: 0;
}
.seo-guide-card .seo-step-item .seo-step-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.policy-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.policy-choice-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface2);
  border-radius: var(--radius-md, 12px);
  cursor: pointer;
  transition: all var(--transition-fast, 0.2s ease);
  user-select: none;
  border: none !important;
  position: relative;
  overflow: hidden;
}
.policy-choice-tile:hover {
  background: var(--surface3, var(--surface2));
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.policy-choice-tile.active {
  background: var(--surface3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.policy-choice-tile.active::before {
  display: none !important;
}
.policy-choice-tile.active .policy-tile-title {
  color: var(--accent);
  font-weight: 850;
}
.policy-choice-tile.active .policy-tile-radio {
  border: none !important;
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 11px 11px;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 2px 8px var(--accent-subtle);
}
.policy-choice-tile .policy-tile-content {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.policy-choice-tile .policy-tile-radio {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}
.policy-choice-tile .policy-tile-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.policy-choice-tile .policy-tile-title {
  font-size: 0.86rem;
  font-weight: 750;
  color: var(--text-primary);
  line-height: 1.35;
  transition: color var(--transition-fast);
}
.policy-choice-tile .policy-tile-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.url-slug-studio {
  display: flex;
  align-items: center;
  background: var(--surface2);
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  transition: all var(--transition-fast, 0.2s ease);
}
.url-slug-studio:focus-within {
  box-shadow: 0 0 0 2px var(--accent-glow);
}
.url-slug-studio .url-slug-prefix {
  background: var(--surface3, var(--surface2));
  color: var(--text-muted);
  font-family: var(--font-mono, monospace);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 14px;
  border: none !important;
  white-space: nowrap;
  user-select: none;
  direction: ltr;
}
.url-slug-studio .url-slug-input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  background: transparent;
  border: none !important;
  color: var(--text-primary);
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  direction: ltr;
}
.url-slug-studio .url-slug-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.carrier-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.carrier-card {
  background: var(--surface2);
  border-radius: var(--radius-md, 14px);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform var(--transition-fast, 0.2s ease), box-shadow var(--transition-fast, 0.2s ease);
}
.carrier-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.carrier-card .carrier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.carrier-card .carrier-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.carrier-card .carrier-logo-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm, 10px);
  object-fit: contain;
  background: var(--surface);
  padding: 4px;
  box-shadow: var(--shadow-xs);
}
.carrier-card .carrier-name-ar {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}
.carrier-card .carrier-name-en {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}
.carrier-card .carrier-badge {
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  background: var(--surface3);
  color: var(--text-secondary);
}
.carrier-card .carrier-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
.carrier-card .carrier-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border-radius: var(--radius-sm, 8px);
  border: none !important;
}

.pixel-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 900px) {
  .pixel-platform-grid {
    grid-template-columns: 1fr;
  }
}

.pixel-platform-card {
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 16px);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast, 0.2s ease);
  position: relative;
  overflow: hidden;
}
.pixel-platform-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pixel-platform-card.connected {
  background: var(--surface2);
  border-color: var(--success-border);
  box-shadow: var(--shadow-sm);
}
.pixel-platform-card.connected::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--success);
}
.pixel-platform-card.is-uninstalled {
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
}
.pixel-platform-card .pixel-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
}
.pixel-platform-card .pixel-card-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}
.pixel-platform-card .pixel-card-brand .app-icon-wrap {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: var(--radius-md, 12px);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  padding: 6px;
}
.pixel-platform-card .pixel-card-brand .app-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.pixel-platform-card .pixel-card-brand .app-icon-wrap i, .pixel-platform-card .pixel-card-brand .app-icon-wrap [data-lucide] {
  width: 24px;
  height: 24px;
  color: var(--color-black);
}
.pixel-platform-card .pixel-card-brand .pixel-brand-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.pixel-platform-card .pixel-card-brand .pixel-brand-info .pixel-name {
  font-size: 1rem;
  font-weight: 750;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pixel-platform-card .pixel-card-brand .pixel-brand-info .pixel-category {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 600;
}
.pixel-platform-card .pixel-card-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.pixel-platform-card .pixel-card-badges .pixel-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}
.pixel-platform-card .pixel-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.pixel-platform-card .pixel-card-body .pixel-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}
.pixel-platform-card .pixel-card-body .pixel-uninstalled-prompt {
  background: var(--surface3);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-md, 10px);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
}
.pixel-platform-card .pixel-card-body .pixel-uninstalled-prompt .prompt-content {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.pixel-platform-card .pixel-card-body .pixel-uninstalled-prompt .prompt-content i, .pixel-platform-card .pixel-card-body .pixel-uninstalled-prompt .prompt-content [data-lucide] {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}
.pixel-platform-card .pixel-card-body .pixel-uninstalled-prompt .prompt-content .prompt-text {
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 550;
  line-height: 1.45;
}
.pixel-platform-card .pixel-card-body .pixel-uninstalled-prompt .btn {
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 540px) {
  .pixel-platform-card .pixel-card-body .pixel-uninstalled-prompt {
    flex-direction: column;
    align-items: stretch;
  }
  .pixel-platform-card .pixel-card-body .pixel-uninstalled-prompt .btn {
    width: 100%;
    justify-content: center;
  }
}
.pixel-platform-card .pixel-card-body .pixel-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pixel-platform-card .pixel-card-body .pixel-form-group .pixel-form-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pixel-platform-card .pixel-card-body .pixel-form-group .pixel-form-label .pixel-field-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  color: var(--success);
  background: var(--success-subtle);
  border: 1px solid var(--success-border);
  padding: 2px 8px;
  border-radius: var(--radius-xs, 4px);
}
.pixel-platform-card .pixel-card-body .pixel-form-group .pixel-input-box {
  position: relative;
  display: flex;
  align-items: center;
}
.pixel-platform-card .pixel-card-body .pixel-form-group .pixel-input-box .form-control {
  font-family: var(--font-mono, monospace);
  font-size: 0.92rem;
  padding-inline-start: 14px;
  padding-inline-end: 44px;
  background: var(--bg-main);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md, 10px);
  color: var(--text-primary);
  height: 44px;
  width: 100%;
  transition: border-color var(--transition-fast, 0.2s ease), box-shadow var(--transition-fast, 0.2s ease);
}
.pixel-platform-card .pixel-card-body .pixel-form-group .pixel-input-box .form-control::placeholder {
  color: var(--text-secondary);
  opacity: 0.65;
  font-size: 0.9rem;
}
.pixel-platform-card .pixel-card-body .pixel-form-group .pixel-input-box .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  outline: none;
}
.pixel-platform-card .pixel-card-body .pixel-form-group .pixel-input-box .input-clear-btn {
  position: absolute;
  inset-inline-end: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--surface2);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pixel-platform-card .pixel-card-body .pixel-form-group .pixel-input-box .input-clear-btn:hover {
  background: var(--danger-subtle);
  color: var(--danger);
}
.pixel-platform-card .pixel-card-body .pixel-form-group .pixel-input-box .input-clear-btn i, .pixel-platform-card .pixel-card-body .pixel-form-group .pixel-input-box .input-clear-btn [data-lucide] {
  width: 14px;
  height: 14px;
}
.pixel-platform-card .pixel-card-body .pixel-form-group .pixel-input-hint {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.pixel-platform-card .pixel-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 4px;
}
.pixel-platform-card .pixel-card-footer .btn-link-studio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--surface3);
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  border-radius: var(--radius-md, 8px);
  transition: all var(--transition-fast, 0.15s ease);
}
.pixel-platform-card .pixel-card-footer .btn-link-studio:hover {
  background: var(--border-medium);
  border-color: var(--border-medium);
}
.pixel-platform-card .pixel-card-footer .btn-link-studio i, .pixel-platform-card .pixel-card-footer .btn-link-studio [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.pixel-platform-card .pixel-card-footer .pixel-active-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--success);
  font-weight: 700;
  background: var(--success-subtle);
  border: 1px solid var(--success-border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.pixel-platform-card .pixel-card-footer .pixel-active-indicator .pixel-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}

.verification-hero-card {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.verification-hero-card .v-hero-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.verification-hero-card .v-hero-header .v-hero-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md, 14px);
  background: var(--success-subtle);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.verification-hero-card .v-hero-header .v-hero-icon-box svg, .verification-hero-card .v-hero-header .v-hero-icon-box i, .verification-hero-card .v-hero-header .v-hero-icon-box [data-lucide] {
  width: 24px;
  height: 24px;
}
.verification-hero-card .v-hero-header .v-hero-icon-box--sm {
  width: 38px;
  height: 38px;
}
.verification-hero-card .v-hero-header .v-hero-icon-box--sm svg, .verification-hero-card .v-hero-header .v-hero-icon-box--sm i, .verification-hero-card .v-hero-header .v-hero-icon-box--sm [data-lucide] {
  width: 18px;
  height: 18px;
}
.verification-hero-card .v-hero-header .v-hero-icon-box--lg {
  width: 60px;
  height: 60px;
}
.verification-hero-card .v-hero-header .v-hero-icon-box--lg svg, .verification-hero-card .v-hero-header .v-hero-icon-box--lg i, .verification-hero-card .v-hero-header .v-hero-icon-box--lg [data-lucide] {
  width: 30px;
  height: 30px;
}
.verification-hero-card .v-hero-header .v-hero-text {
  flex: 1;
}
.verification-hero-card .v-hero-header .v-hero-text .v-hero-title {
  font-size: 1.1rem;
  font-weight: 850;
  color: var(--text-primary);
  margin: 0;
}
.verification-hero-card .v-hero-header .v-hero-text .v-hero-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.5;
}
.verification-hero-card .v-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.76rem;
  font-weight: 700;
}
.verification-hero-card .v-status-pill.verified {
  background: var(--success-subtle);
  color: var(--success);
}
.verification-hero-card .v-status-pill.pending {
  background: var(--warning-subtle);
  color: var(--warning);
}
.verification-hero-card .v-status-pill.needs_edits {
  background: var(--danger-subtle);
  color: var(--danger);
}
.verification-hero-card .v-status-pill.not_submitted {
  background: var(--surface3);
  color: var(--text-secondary);
}
.verification-hero-card .v-preview-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
  background: var(--surface);
  border-radius: var(--radius-md, 12px);
}
.verification-hero-card .v-preview-strip .v-prev-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}
.verification-hero-card .v-preview-strip .v-prev-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.verification-hero-card .v-preview-strip .v-prev-store-badge .v-prev-avatar {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.verification-hero-card .v-preview-strip .v-prev-store-badge .v-prev-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.verification-hero-card .v-preview-strip .v-prev-store-badge .v-prev-avatar .v-prev-check-dot {
  position: absolute;
  bottom: -2px;
  inset-inline-end: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--success);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.verification-hero-card .v-preview-strip .v-prev-store-badge .v-prev-avatar .v-prev-check-dot svg, .verification-hero-card .v-preview-strip .v-prev-store-badge .v-prev-avatar .v-prev-check-dot i, .verification-hero-card .v-preview-strip .v-prev-store-badge .v-prev-avatar .v-prev-check-dot [data-lucide] {
  width: 9px;
  height: 9px;
}
.verification-hero-card .v-preview-strip .v-prev-store-badge .v-prev-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
}
.verification-hero-card .v-preview-strip .v-prev-store-badge .v-prev-verified-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--success);
  background: var(--success-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-full, 9999px);
}

.v-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.v-perk-card {
  background: var(--surface2);
  border-radius: var(--radius-md, 12px);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.v-perk-card .v-perk-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-subtle, var(--surface3));
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.v-perk-card .v-perk-icon svg, .v-perk-card .v-perk-icon i, .v-perk-card .v-perk-icon [data-lucide] {
  width: 18px;
  height: 18px;
}
.v-perk-card .v-perk-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}
.v-perk-card .v-perk-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.v-security-legal-card {
  background: var(--surface2);
  border-radius: var(--radius-md, 12px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.v-security-legal-card .v-sec-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.v-security-legal-card .v-sec-head .v-lock-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.v-security-legal-card .v-sec-head .v-lock-badge svg, .v-security-legal-card .v-sec-head .v-lock-badge i, .v-security-legal-card .v-sec-head .v-lock-badge [data-lucide] {
  width: 16px;
  height: 16px;
}
.v-security-legal-card .v-sec-head .v-sec-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}
.v-security-legal-card .v-sec-head .v-sec-sub {
  font-size: 0.77rem;
  color: var(--text-muted);
}
.v-security-legal-card .v-sec-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.v-security-legal-card .v-sec-points .v-point-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.v-security-legal-card .v-sec-points .v-point-row svg, .v-security-legal-card .v-sec-points .v-point-row i, .v-security-legal-card .v-sec-points .v-point-row [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--success);
  flex-shrink: 0;
}

.zones-table-wrap {
  overflow-x: auto;
  background: var(--surface2);
  border-radius: var(--radius-md, 14px);
  box-shadow: var(--shadow-xs);
  border: none !important;
  margin-top: 14px;
}

.zones-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: start;
}
.zones-table thead th {
  background: var(--surface3);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 12px 18px;
  border: none !important;
}
.zones-table thead th:first-child {
  border-start-start-radius: var(--radius-md, 14px);
}
.zones-table thead th:last-child {
  border-start-end-radius: var(--radius-md, 14px);
}
.zones-table tbody tr {
  transition: background var(--transition-fast, 0.15s ease);
}
.zones-table tbody tr:hover {
  background: var(--surface3);
}
.zones-table tbody td {
  padding: 14px 18px;
  font-size: 0.86rem;
  color: var(--text-primary);
  vertical-align: middle;
  border: none !important;
}
.zones-table .zone-geo-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 750;
  color: var(--text-primary);
}
.zones-table .zone-geo-meta svg, .zones-table .zone-geo-meta i, .zones-table .zone-geo-meta [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--accent);
  flex-shrink: 0;
}

.carrier-identity-group {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.carrier-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.carrier-action-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.branch-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.branch-title-cluster {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.branch-editor-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.preview-header-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.preview-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.v-alert-content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.v-alert-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: var(--text-base, 0.95rem);
  font-weight: 750;
  line-height: 1.4;
  color: var(--text-primary);
}
.v-alert-title-row > span {
  color: var(--text-primary);
}
.v-alert-title-row .badge {
  font-weight: 700;
}

.v-alert-desc {
  font-size: var(--text-xs, 0.82rem);
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.45;
}

.v-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.v-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-cards-container {
  margin-block: 8px 14px;
}

.choice-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 640px) {
  .choice-cards-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.choice-card-tile {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 14px);
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.choice-card-tile:hover {
  background: var(--surface3, var(--surface2));
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.choice-card-tile:hover .choice-card-icon-box {
  transform: scale(1.05);
  background: var(--surface);
}
.choice-card-tile.is-active {
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: transparent !important;
}
.choice-card-tile.is-active::before {
  display: none !important;
}
.choice-card-tile.is-active .choice-card-title {
  color: var(--text-primary);
  font-weight: 850;
}
.choice-card-tile.is-active .choice-card-icon-box {
  background: var(--accent);
  color: var(--color-white);
  box-shadow: 0 2px 8px var(--accent-subtle);
}
.choice-card-tile.is-active .choice-card-radio-indicator {
  border: none !important;
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 13px 13px;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 2px 8px var(--accent-subtle);
  animation: haloPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.choice-card-tile.is-active .choice-card-radio-indicator .radio-inner-dot {
  display: none;
}
.choice-card-tile .choice-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.choice-card-tile .choice-card-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.choice-card-tile .choice-card-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface3, var(--surface2));
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.choice-card-tile .choice-card-radio-indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-medium, var(--border));
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.choice-card-tile .choice-card-radio-indicator .radio-inner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.choice-card-tile .choice-card-radio-indicator.is-checked {
  border-color: var(--accent);
}
.choice-card-tile .choice-card-radio-indicator.is-checked .radio-inner-dot {
  opacity: 1;
  transform: scale(1);
}
.choice-card-tile .choice-card-title {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--text-primary);
  line-height: 1.35;
  transition: color 0.2s ease;
}
.choice-card-tile .choice-card-badge-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.choice-card-tile .choice-card-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 4px;
  padding-inline-start: 2px;
}

.customer-reputation-card {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 14px);
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.customer-reputation-card .crc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.customer-reputation-card .crc-header .crc-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 750;
  color: var(--text-primary);
}
.customer-reputation-card .crc-header .crc-title-wrap svg, .customer-reputation-card .crc-header .crc-title-wrap [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}
.customer-reputation-card .crc-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 480px) {
  .customer-reputation-card .crc-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.customer-reputation-card .crc-metrics-grid .crc-metric-box {
  background: var(--surface3);
  border-radius: var(--radius-md, 10px);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}
.customer-reputation-card .crc-metrics-grid .crc-metric-box .crc-m-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
}
.customer-reputation-card .crc-metrics-grid .crc-metric-box .crc-m-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-tabular, inherit);
}
.customer-reputation-card .crc-metrics-grid .crc-metric-box .crc-m-val.text-success {
  color: var(--success);
}
.customer-reputation-card .crc-metrics-grid .crc-metric-box .crc-m-val.text-danger {
  color: var(--danger);
}
.customer-reputation-card .crc-metrics-grid .crc-metric-box .crc-m-val.text-warning {
  color: var(--warning);
}
.customer-reputation-card .crc-metrics-grid .crc-metric-box .crc-m-val.text-info {
  color: var(--info);
}
.customer-reputation-card .crc-summary-box {
  background: var(--surface3);
  border-radius: var(--radius-sm, 6px);
  padding: 8px 12px;
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.customer-reputation-card .crc-summary-box svg, .customer-reputation-card .crc-summary-box [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  margin-top: 2px;
  flex-shrink: 0;
}

.shield-promo-card {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 14px);
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-xs);
}
@media (max-width: 576px) {
  .shield-promo-card {
    flex-direction: column;
    align-items: stretch;
  }
}
.shield-promo-card .shield-promo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md, 10px);
  background: var(--accent-glow);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.shield-promo-card .shield-promo-icon svg, .shield-promo-card .shield-promo-icon [data-lucide] {
  width: 20px;
  height: 20px;
}
.shield-promo-card .shield-promo-body {
  flex: 1;
  min-width: 0;
}
.shield-promo-card .shield-promo-body .shield-promo-title {
  font-size: 0.85rem;
  font-weight: 750;
  color: var(--text-primary);
  line-height: 1.3;
}
.shield-promo-card .shield-promo-body .shield-promo-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 3px;
}
.shield-promo-card .shield-promo-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.shield-banner-promo {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-xl, 20px);
  padding: 14px 20px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 768px) {
  .shield-banner-promo {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
  }
}
.shield-banner-promo .shield-banner-start {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}
.shield-banner-promo .shield-banner-start .shield-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md, 10px);
  background: var(--accent-glow);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.shield-banner-promo .shield-banner-start .shield-banner-icon svg, .shield-banner-promo .shield-banner-start .shield-banner-icon [data-lucide] {
  width: 22px;
  height: 22px;
}
.shield-banner-promo .shield-banner-start .shield-banner-text {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-secondary);
}
.shield-banner-promo .shield-banner-start .shield-banner-text strong {
  color: var(--text-primary);
  font-weight: 750;
  margin-inline-end: 4px;
}
.shield-banner-promo .shield-banner-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

.ab-variant-card {
  background: var(--surface2);
  border-radius: var(--radius-md, 10px);
  padding: 14px;
  margin-bottom: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ab-variant-card:hover {
  box-shadow: var(--shadow-sm);
}
.ab-variant-card.is-winner-variant {
  box-shadow: 0 0 0 1px var(--success-border), var(--shadow-sm);
  background: var(--surface);
}
.ab-variant-card .ab-variant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}
.ab-variant-card .ab-variant-head .ab-variant-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.ab-variant-card .ab-variant-head .ab-variant-info .ab-variant-meta {
  min-width: 0;
}
.ab-variant-card .ab-variant-head .ab-variant-info .ab-variant-meta .ab-variant-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 360px;
  display: block;
}
.ab-variant-card .ab-variant-head .ab-variant-info .ab-variant-meta .ab-variant-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ab-variant-card .ab-variant-head .ab-variant-action {
  flex-shrink: 0;
}

.ab-metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  width: 100%;
}
@media (max-width: 768px) {
  .ab-metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 480px) {
  .ab-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ab-metric-cell {
  background: var(--surface);
  border-radius: var(--radius-sm, 8px);
  padding: 8px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  box-shadow: var(--shadow-xs);
}
.ab-metric-cell .ab-metric-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}
.ab-metric-cell .ab-metric-val {
  font-family: var(--font-mono, monospace);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}
.ab-metric-cell .ab-metric-val.is-info {
  color: var(--info);
}
.ab-metric-cell .ab-metric-val.is-success {
  color: var(--success);
}

.camo-selected-thumb,
.camo-prod-thumb {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  object-fit: cover;
  border-radius: var(--radius-sm, 8px);
  background: var(--surface2);
  flex-shrink: 0;
}

.camo-selected-card {
  background: var(--surface);
  border-radius: var(--radius-md, 10px);
  padding: 10px 14px;
  box-shadow: var(--shadow-xs);
  border: none !important;
}

.camo-prod-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border: none !important;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm, 8px);
  transition: background 0.18s ease;
  text-align: start;
}
.camo-prod-row:hover {
  background: var(--surface2);
}
.camo-prod-row.is-selected {
  background: var(--surface2);
}
.camo-prod-row .camo-prod-row__info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.camo-prod-row .camo-prod-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.camo-prod-row .camo-prod-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.camo-prod-row .camo-prod-price {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono, monospace);
}

.ab-selected-prod-row {
  background: var(--surface);
  border-radius: var(--radius-md, 10px);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-xs);
  border: none !important;
}
@media (max-width: 576px) {
  .ab-selected-prod-row {
    flex-direction: column;
    align-items: stretch;
  }
}
.ab-selected-prod-row .ab-prod-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.ab-selected-prod-row .ab-prod-info .ab-prod-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ab-selected-prod-row .ab-prod-info .ab-prod-meta .ab-prod-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ab-selected-prod-row .ab-prod-info .ab-prod-meta .ab-prod-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono, monospace);
}
.ab-selected-prod-row .ab-traffic-control {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ab-selected-prod-row .ab-traffic-control .traffic-input-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ab-selected-prod-row .ab-traffic-control .traffic-input-wrap input {
  width: 72px;
  text-align: center;
  font-family: var(--font-mono, monospace);
  font-weight: 700;
}

.app-accordion-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl, 20px);
  box-shadow: var(--shadow-xs);
  margin-bottom: var(--space-4, 16px);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow 0.25s ease, transform 0.2s ease;
}
.app-accordion-card:last-child {
  margin-bottom: 0;
}
.app-accordion-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}
.app-accordion-card--purple.is-expanded {
  border-color: var(--purple-border, var(--border-medium));
}
.app-accordion-card--teal.is-expanded {
  border-color: var(--teal-border, var(--border-medium));
}
.app-accordion-card--shield.is-expanded {
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.app-accordion-card .app-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
  background: transparent;
  transition: background 0.2s ease;
}
@media (max-width: 640px) {
  .app-accordion-card .app-accordion-header {
    padding: 12px 14px;
    gap: 10px;
  }
}
.app-accordion-card .app-accordion-header:hover {
  background: var(--surface2);
}
.app-accordion-card .app-accordion-header .app-accordion-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}
@media (max-width: 640px) {
  .app-accordion-card .app-accordion-header .app-accordion-main {
    gap: 10px;
  }
}
.app-accordion-card .app-accordion-header .app-accordion-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-md, 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.app-accordion-card .app-accordion-header .app-accordion-icon--purple {
  background: var(--purple-subtle, rgba(168, 85, 247, 0.12));
  color: var(--purple, #a855f7);
  border: 1px solid var(--purple-border, transparent);
}
.app-accordion-card .app-accordion-header .app-accordion-icon--teal {
  background: var(--teal-subtle, rgba(20, 184, 166, 0.12));
  color: var(--teal, #14b8a6);
  border: 1px solid var(--teal-border, transparent);
}
.app-accordion-card .app-accordion-header .app-accordion-icon--shield {
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid var(--accent-glow);
}
.app-accordion-card .app-accordion-header .app-accordion-icon i, .app-accordion-card .app-accordion-header .app-accordion-icon [data-lucide] {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}
.app-accordion-card .app-accordion-header .app-accordion-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.app-accordion-card .app-accordion-header .app-accordion-meta .app-accordion-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.app-accordion-card .app-accordion-header .app-accordion-meta .app-accordion-title-wrap .app-accordion-title {
  font-size: var(--text-sm, 0.92rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}
.app-accordion-card .app-accordion-header .app-accordion-meta .app-accordion-desc {
  font-size: var(--text-xs, 0.78rem);
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}
.app-accordion-card .app-accordion-header .app-accordion-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .app-accordion-card .app-accordion-header .app-accordion-actions {
    gap: 8px;
  }
}
.app-accordion-card .app-accordion-header .app-accordion-actions .app-collapse-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface2);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.2s ease;
}
.app-accordion-card .app-accordion-header .app-accordion-actions .app-collapse-toggle:hover {
  background: var(--surface3);
  color: var(--text-primary);
}
.app-accordion-card .app-accordion-header .app-accordion-actions .app-collapse-toggle .app-collapse-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.app-accordion-card .app-accordion-header .app-accordion-actions .app-collapse-toggle .app-collapse-chevron.is-flipped {
  transform: rotate(180deg);
}
.app-accordion-card .app-accordion-body {
  padding: 18px 20px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-card);
}
@media (max-width: 640px) {
  .app-accordion-card .app-accordion-body {
    padding: 14px 14px;
  }
}
.app-accordion-card .app-accordion-body .empty-state {
  padding-block: var(--space-4, 16px);
}
.app-accordion-card .app-accordion-body .empty-state .section__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
}
.app-accordion-card .app-accordion-body .empty-state .field__hint {
  margin-bottom: 12px;
}

.card-pixel {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-xl, 18px);
  box-shadow: var(--shadow-xs);
  margin-bottom: var(--space-3, 12px);
  transition: var(--transition-normal);
  overflow: hidden;
}
.card-pixel:hover {
  box-shadow: var(--shadow-sm);
}
.card-pixel .card-header-clickable {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  gap: 12px;
}
.card-pixel .card-header-clickable .card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.card-pixel .card-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-pixel .card-chevron.open {
  transform: rotate(180deg);
  color: var(--text-primary);
}
.card-pixel .pixel-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md, 12px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--surface);
  color: var(--text-primary);
}
.card-pixel .pixel-brand-icon svg, .card-pixel .pixel-brand-icon i, .card-pixel .pixel-brand-icon [data-lucide] {
  width: 20px;
  height: 20px;
}
.card-pixel .pixel-brand-icon.meta {
  background: var(--info-subtle);
  color: var(--info);
}
.card-pixel .pixel-brand-icon.ga {
  background: var(--warning-subtle);
  color: var(--warning);
}
.card-pixel .pixel-brand-icon.tt {
  background: var(--surface3);
  color: var(--text-primary);
}
.card-pixel .pixel-brand-icon.sc {
  background: var(--warning-subtle);
  color: var(--warning);
}
.card-pixel .pixel-brand-icon.cs {
  background: var(--accent-subtle);
  color: var(--accent);
}
.card-pixel .status-badge {
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--surface3);
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.card-pixel .status-badge.active {
  background: var(--success-subtle);
  color: var(--success);
}
.card-pixel .card-body {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface);
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  width: 100%;
  margin-top: 14px;
}
@media (max-width: 576px) {
  .country-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.country-card {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 16px);
  padding: 14px 14px 12px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  user-select: none;
}
.country-card:hover {
  background: var(--surface3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.country-card.selected {
  background: var(--surface3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.country-card.selected::before {
  display: none !important;
}
.country-card.selected .country-radio-indicator {
  border: none !important;
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 11px 11px;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 2px 8px var(--accent-subtle);
}
.country-card.selected .country-radio-indicator .radio-checked-dot {
  display: none;
}
.country-card.selected .country-name {
  color: var(--accent);
  font-weight: 850;
}
.country-card .country-card-flag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.country-card .country-card-flag-row .country-flag-wrap {
  width: 32px;
  height: 22px;
  border-radius: 4px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xs);
}
.country-card .country-card-flag-row .country-flag-wrap .country-flag-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.country-card .country-card-flag-row .country-badges-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.country-card .country-card-flag-row .country-badges-wrap .country-phone-badge {
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-mono, monospace);
  color: var(--text-muted);
  background: var(--surface);
  padding: 2px 6px;
  border-radius: var(--radius-sm, 6px);
}
.country-card .country-card-flag-row .country-badges-wrap .country-radio-indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.country-card .country-card-flag-row .country-badges-wrap .country-radio-indicator .radio-checked-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
}
.country-card .country-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.country-card .country-details .country-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.country-card .country-details .country-currency-info {
  display: flex;
  align-items: center;
  gap: 5px;
}
.country-card .country-details .country-currency-info .currency-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
}
.country-card .country-details .country-currency-info .currency-sub-code {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: var(--font-mono, monospace);
}

.country-empty-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  width: 100%;
}

.banner-customizer-card {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-xl, 18px);
  padding: 20px;
  box-shadow: var(--shadow-xs);
  margin-top: 16px;
}
.banner-customizer-card .banner-title-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 576px) {
  .banner-customizer-card .banner-title-row {
    flex-direction: column;
  }
}

.media-policy-banner {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 14px);
  padding: 14px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-xs);
}
.media-policy-banner .mp-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.media-policy-banner .mp-icon-wrap i, .media-policy-banner .mp-icon-wrap svg, .media-policy-banner .mp-icon-wrap [data-lucide] {
  width: 20px;
  height: 20px;
}
.media-policy-banner .mp-texts {
  flex: 1;
  min-width: 0;
}
.media-policy-banner .mp-texts .mp-title {
  font-size: 0.92rem;
  font-weight: 850;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.media-policy-banner .mp-texts .mp-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 3px;
  line-height: 1.5;
}
.media-policy-banner .mp-badge {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .media-policy-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .media-policy-banner .mp-badge {
    align-self: flex-start;
  }
}

.ai-model-status-card {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 14px);
  padding: 14px 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-normal);
}
.ai-model-status-card .ai-status-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ai-model-status-card .ai-status-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.ai-model-status-card .ai-status-icon i, .ai-model-status-card .ai-status-icon svg, .ai-model-status-card .ai-status-icon [data-lucide] {
  width: 20px;
  height: 20px;
}
.ai-model-status-card .ai-status-icon.pulse {
  animation: aiPulse 1.8s infinite ease-in-out;
  color: var(--accent);
}
.ai-model-status-card .ai-status-icon.ready {
  color: var(--success);
  background: var(--success-subtle);
}
.ai-model-status-card .ai-status-icon.error {
  color: var(--danger);
  background: var(--danger-subtle);
}
.ai-model-status-card .ai-status-info {
  flex: 1;
  min-width: 0;
}
.ai-model-status-card .ai-status-info .ai-status-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-model-status-card .ai-status-info .ai-status-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 2px;
  line-height: 1.4;
}
.ai-model-status-card .ai-status-percent {
  font-size: 0.92rem;
  font-weight: 850;
  color: var(--accent);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.ai-model-status-card .ai-progress-track {
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  margin-top: 10px;
  overflow: hidden;
  position: relative;
}
.ai-model-status-card .ai-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-full, 9999px);
  transition: width 0.28s ease;
}
.ai-model-status-card.status--ready {
  background: var(--surface2);
}
.ai-model-status-card.status--ready .ai-status-sub {
  color: var(--text-muted);
}
.ai-model-status-card.status--error {
  background: var(--danger-subtle);
}
.ai-model-status-card.status--error .ai-status-title {
  color: var(--danger);
}

@keyframes aiPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.75;
  }
}
.face-rejection-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(8px);
  animation: ipFadeIn 0.2s ease;
}
.face-rejection-overlay .face-rejection-card {
  background: var(--surface);
  border: 1.5px solid var(--danger);
  border-radius: var(--radius-xl, 20px);
  padding: 28px 24px;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.face-rejection-overlay .face-rejection-card .fr-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--danger-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--danger);
  box-shadow: 0 0 0 8px var(--danger-subtle);
}
.face-rejection-overlay .face-rejection-card .fr-icon-box i, .face-rejection-overlay .face-rejection-card .fr-icon-box svg, .face-rejection-overlay .face-rejection-card .fr-icon-box [data-lucide] {
  width: 32px;
  height: 32px;
}
.face-rejection-overlay .face-rejection-card .fr-title {
  font-size: 1.15rem;
  font-weight: 850;
  color: var(--text-primary);
  margin: 0;
}
.face-rejection-overlay .face-rejection-card .fr-desc {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}
.face-rejection-overlay .face-rejection-card .fr-actions {
  width: 100%;
  margin-top: 6px;
}
.face-rejection-overlay .face-rejection-card .fr-actions .btn {
  width: 100%;
}

.brand-upload-studio {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  width: 100%;
}
@media (max-width: 860px) {
  .brand-upload-studio {
    grid-template-columns: 1fr;
  }
}

.brand-dropzone-card {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-xl, 18px);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition-normal, 0.25s ease);
}
.brand-dropzone-card.is-preparing {
  cursor: wait !important;
  transform: none !important;
}
.brand-dropzone-card.is-preparing * {
  cursor: wait !important;
}
.brand-dropzone-card.is-preparing:hover {
  background: var(--surface2) !important;
  transform: none !important;
  box-shadow: var(--shadow-xs) !important;
}
.brand-dropzone-card.is-error {
  cursor: default;
  transform: none !important;
}
.brand-dropzone-card:hover, .brand-dropzone-card.drag-over {
  background: var(--surface3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.brand-dropzone-card:hover .cover-icon-circle,
.brand-dropzone-card:hover .avatar-placeholder-disc, .brand-dropzone-card.drag-over .cover-icon-circle,
.brand-dropzone-card.drag-over .avatar-placeholder-disc {
  transform: scale(1.08);
  background: var(--surface);
  color: var(--accent);
}
.brand-dropzone-card.has-image {
  padding: 0;
  cursor: default;
}
.brand-dropzone-card .dropzone-inner-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.brand-dropzone-card .logo-avatar-spotlight {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--surface3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}
.brand-dropzone-card .logo-avatar-spotlight .uploaded-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.brand-dropzone-card .logo-avatar-spotlight .avatar-placeholder-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.brand-dropzone-card .logo-avatar-spotlight .avatar-placeholder-disc .avatar-cam-ic {
  width: 32px;
  height: 32px;
}
.brand-dropzone-card .logo-avatar-spotlight .avatar-badge-edit {
  position: absolute;
  bottom: 0;
  inset-inline-end: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
}
.brand-dropzone-card .logo-avatar-spotlight .avatar-badge-edit i, .brand-dropzone-card .logo-avatar-spotlight .avatar-badge-edit svg {
  width: 13px;
  height: 13px;
}
.brand-dropzone-card .logo-avatar-spotlight .avatar-processing-spinner {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-dropzone-card .cover-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--surface3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  box-shadow: var(--shadow-xs);
  transition: all 0.25s ease;
}
.brand-dropzone-card .cover-icon-circle .cover-cloud-ic {
  width: 26px;
  height: 26px;
}
.brand-dropzone-card .dropzone-text-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.brand-dropzone-card .dropzone-text-group .dropzone-headline {
  font-size: 0.96rem;
  font-weight: 850;
  color: var(--text-primary);
  line-height: 1.3;
}
.brand-dropzone-card .dropzone-text-group .dropzone-subline {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.brand-dropzone-card .dropzone-text-group .dropzone-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface);
  padding: 4px 12px;
  border-radius: var(--radius-full, 9999px);
  margin-top: 4px;
}
.brand-dropzone-card .dropzone-text-group .dropzone-meta-pill .pill-ic {
  width: 12px;
  height: 12px;
}
.brand-dropzone-card .dropzone-actions-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.brand-dropzone-card .dropzone-actions-bar .btn-dropzone-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--surface3);
  border: none;
  padding: 5px 12px;
  border-radius: var(--radius-full, 9999px);
  cursor: pointer;
  transition: all 0.2s ease;
}
.brand-dropzone-card .dropzone-actions-bar .btn-dropzone-action:hover {
  background: var(--surface);
  color: var(--accent);
  transform: translateY(-1px);
}
.brand-dropzone-card .dropzone-actions-bar .btn-dropzone-action i, .brand-dropzone-card .dropzone-actions-bar .btn-dropzone-action svg {
  width: 13px;
  height: 13px;
}
.brand-dropzone-card .uploaded-cover-img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  max-height: 260px;
  object-fit: cover;
  display: block;
}
.brand-dropzone-card .cover-scrim-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}
.brand-dropzone-card .cover-floating-badge {
  position: absolute;
  bottom: 14px;
  inset-inline-start: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: var(--radius-full, 9999px);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 750;
}
.brand-dropzone-card .cover-floating-badge .badge-ic {
  width: 14px;
  height: 14px;
  color: var(--accent);
}
.brand-dropzone-card .cover-floating-badge .badge-size-txt {
  color: var(--text-muted);
  font-size: 0.72rem;
}
.brand-dropzone-card .cover-hover-toolbar {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-dropzone-card .cover-hover-toolbar .btn-cover-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 750;
  color: var(--color-white);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-full, 9999px);
  cursor: pointer;
  transition: all 0.2s ease;
}
.brand-dropzone-card .cover-hover-toolbar .btn-cover-pill:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-1px);
  color: var(--accent);
}
.brand-dropzone-card .cover-hover-toolbar .btn-cover-pill i, .brand-dropzone-card .cover-hover-toolbar .btn-cover-pill svg {
  width: 14px;
  height: 14px;
}
.brand-dropzone-card .cover-processing-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 750;
  z-index: 5;
}

.color-palette-studio {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 10px;
  width: 100%;
}
.color-palette-studio .color-preset-card {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-md, 12px);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast, 0.2s ease);
  position: relative;
  overflow: hidden;
}
.color-palette-studio .color-preset-card:hover {
  background: var(--surface3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.color-palette-studio .color-preset-card.active, .color-palette-studio .color-preset-card.selected {
  background: var(--surface3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.color-palette-studio .color-preset-card.active::before, .color-palette-studio .color-preset-card.selected::before {
  display: none !important;
}
.color-palette-studio .color-preset-card.active .color-swatch-circle, .color-palette-studio .color-preset-card.selected .color-swatch-circle {
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent);
  transform: scale(1.12);
}
.color-palette-studio .color-preset-card.active .color-swatch-circle::after, .color-palette-studio .color-preset-card.selected .color-swatch-circle::after {
  content: "";
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
}
.color-palette-studio .color-preset-card.active .color-preset-label, .color-palette-studio .color-preset-card.selected .color-preset-label {
  color: var(--text-primary);
  font-weight: 850;
}
.color-palette-studio .color-preset-card .color-swatch-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.color-palette-studio .color-preset-card .color-swatch-circle .swatch-check {
  width: 13px;
  height: 13px;
  color: var(--color-white);
  stroke-width: 3px;
}
.color-palette-studio .color-preset-card .color-preset-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-card {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-xl, 18px);
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 12px;
  transition: var(--transition-normal);
}
.channel-card:hover {
  box-shadow: var(--shadow-sm);
}
.channel-card.channel-wa-card {
  background: var(--surface2);
  border-inline-start: 4px solid var(--success) !important;
}
.channel-card .channel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.channel-card .channel-head .channel-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.channel-card .channel-head .channel-brand .channel-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
}
.channel-card .channel-head .channel-brand .channel-icon-wrap svg, .channel-card .channel-head .channel-brand .channel-icon-wrap i, .channel-card .channel-head .channel-brand .channel-icon-wrap [data-lucide] {
  width: 20px;
  height: 20px;
}
.channel-card .channel-head .channel-brand .channel-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
}
.channel-card .channel-head .channel-badge-req {
  font-size: 0.7rem;
  font-weight: 750;
  padding: 3px 8px;
  border-radius: var(--radius-full, 9999px);
  background: var(--accent-subtle);
  color: var(--accent);
}
.channel-card .channel-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.branches-manager-wrap {
  margin-top: 18px;
  background: var(--surface);
  border-radius: var(--radius-xl, 16px);
  padding: 18px;
  box-shadow: var(--shadow-xs);
}
.branches-manager-wrap .branches-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.branches-manager-wrap .branches-section-head .branches-head-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.branches-manager-wrap .branches-section-head .branches-head-info .branches-head-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.branches-manager-wrap .branches-section-head .branches-head-info .branches-head-title i, .branches-manager-wrap .branches-section-head .branches-head-info .branches-head-title svg, .branches-manager-wrap .branches-section-head .branches-head-info .branches-head-title [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.branches-manager-wrap .branches-section-head .branches-head-info .branches-head-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.branches-manager-wrap .branches-section-head .btn-add-branch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.branches-manager-wrap .branches-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.branches-manager-wrap .branch-card-executive,
.branches-manager-wrap .branch-card-item {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 14px);
  padding: 16px 18px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast, 0.2s ease);
}
.branches-manager-wrap .branch-card-executive:hover,
.branches-manager-wrap .branch-card-item:hover {
  box-shadow: var(--shadow-sm);
}
.branches-manager-wrap .branch-card-executive .branch-card-topbar,
.branches-manager-wrap .branch-card-item .branch-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}
.branches-manager-wrap .branch-card-executive .branch-card-topbar .branch-identity-group,
.branches-manager-wrap .branch-card-item .branch-card-topbar .branch-identity-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.branches-manager-wrap .branch-card-executive .branch-card-topbar .branch-identity-group .branch-pill-badge,
.branches-manager-wrap .branch-card-item .branch-card-topbar .branch-identity-group .branch-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  color: var(--text-primary);
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
  font-family: inherit;
}
.branches-manager-wrap .branch-card-executive .branch-card-topbar .branch-identity-group .branch-pill-badge i, .branches-manager-wrap .branch-card-executive .branch-card-topbar .branch-identity-group .branch-pill-badge svg, .branches-manager-wrap .branch-card-executive .branch-card-topbar .branch-identity-group .branch-pill-badge [data-lucide],
.branches-manager-wrap .branch-card-item .branch-card-topbar .branch-identity-group .branch-pill-badge i,
.branches-manager-wrap .branch-card-item .branch-card-topbar .branch-identity-group .branch-pill-badge svg,
.branches-manager-wrap .branch-card-item .branch-card-topbar .branch-identity-group .branch-pill-badge [data-lucide] {
  width: 13px !important;
  height: 13px !important;
  min-width: 13px !important;
  min-height: 13px !important;
  max-width: 13px !important;
  max-height: 13px !important;
  color: var(--accent);
  flex-shrink: 0;
  vertical-align: middle;
}
.branches-manager-wrap .branch-card-executive .branch-card-topbar .branch-identity-group .branch-name-wrap,
.branches-manager-wrap .branch-card-item .branch-card-topbar .branch-identity-group .branch-name-wrap {
  flex: 1;
  min-width: 0;
}
.branches-manager-wrap .branch-card-executive .branch-card-topbar .branch-identity-group .branch-name-wrap .branch-name-input,
.branches-manager-wrap .branch-card-item .branch-card-topbar .branch-identity-group .branch-name-wrap .branch-name-input {
  width: 100%;
  background: transparent;
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  padding: 6px 10px;
  border-radius: var(--radius-md, 8px);
  transition: background var(--transition-fast, 0.2s);
}
.branches-manager-wrap .branch-card-executive .branch-card-topbar .branch-identity-group .branch-name-wrap .branch-name-input:focus,
.branches-manager-wrap .branch-card-item .branch-card-topbar .branch-identity-group .branch-name-wrap .branch-name-input:focus {
  outline: none;
  background: var(--surface3);
}
.branches-manager-wrap .branch-card-executive .branch-card-topbar .branch-identity-group .branch-name-wrap .branch-name-input::placeholder,
.branches-manager-wrap .branch-card-item .branch-card-topbar .branch-identity-group .branch-name-wrap .branch-name-input::placeholder {
  color: var(--text-muted);
  font-weight: 500;
}
.branches-manager-wrap .branch-card-executive .branch-card-topbar .btn-remove-branch,
.branches-manager-wrap .branch-card-item .branch-card-topbar .btn-remove-branch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--danger-subtle);
  color: var(--danger);
  border: none;
  border-radius: var(--radius-md, 8px);
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast, 0.2s);
  flex-shrink: 0;
}
.branches-manager-wrap .branch-card-executive .branch-card-topbar .btn-remove-branch i, .branches-manager-wrap .branch-card-executive .branch-card-topbar .btn-remove-branch svg, .branches-manager-wrap .branch-card-executive .branch-card-topbar .btn-remove-branch [data-lucide],
.branches-manager-wrap .branch-card-item .branch-card-topbar .btn-remove-branch i,
.branches-manager-wrap .branch-card-item .branch-card-topbar .btn-remove-branch svg,
.branches-manager-wrap .branch-card-item .branch-card-topbar .btn-remove-branch [data-lucide] {
  width: 14px;
  height: 14px;
}
.branches-manager-wrap .branch-card-executive .branch-card-topbar .btn-remove-branch:hover,
.branches-manager-wrap .branch-card-item .branch-card-topbar .btn-remove-branch:hover {
  background: var(--danger);
  color: var(--text-white);
}
.branches-manager-wrap .branch-card-executive .branch-fields-grid,
.branches-manager-wrap .branch-card-item .branch-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 680px) {
  .branches-manager-wrap .branch-card-executive .branch-fields-grid,
  .branches-manager-wrap .branch-card-item .branch-fields-grid {
    grid-template-columns: 1fr;
  }
}
.branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field, .branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field-item,
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field,
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field--full, .branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field-item--full,
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field--full,
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field-item--full {
  grid-column: 1/-1;
}
.branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field .branch-field-label, .branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field-item .branch-field-label,
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field .branch-field-label,
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field-item .branch-field-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.4;
}
.branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field .branch-field-label i, .branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field .branch-field-label svg, .branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field .branch-field-label [data-lucide], .branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field-item .branch-field-label i, .branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field-item .branch-field-label svg, .branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field-item .branch-field-label [data-lucide],
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field .branch-field-label i,
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field .branch-field-label svg,
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field .branch-field-label [data-lucide],
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field-item .branch-field-label i,
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field-item .branch-field-label svg,
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field-item .branch-field-label [data-lucide] {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  color: var(--accent);
  flex-shrink: 0;
  vertical-align: middle;
}
.branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field .input-icon-wrap, .branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field-item .input-icon-wrap,
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field .input-icon-wrap,
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field-item .input-icon-wrap {
  position: relative;
  width: 100%;
}
.branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field .input-icon-wrap .input-icon, .branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field-item .input-icon-wrap .input-icon,
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field .input-icon-wrap .input-icon,
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field-item .input-icon-wrap .input-icon {
  position: absolute;
  top: 50%;
  inset-inline-start: 12px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}
.branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field .input-icon-wrap .form-control, .branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field-item .input-icon-wrap .form-control,
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field .input-icon-wrap .form-control,
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field-item .input-icon-wrap .form-control {
  padding-inline-start: 38px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 10px);
  font-size: 0.84rem;
  color: var(--text-primary);
  height: 42px;
  transition: all var(--transition-fast, 0.2s);
}
.branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field .input-icon-wrap .form-control:focus, .branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field-item .input-icon-wrap .form-control:focus,
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field .input-icon-wrap .form-control:focus,
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field-item .input-icon-wrap .form-control:focus {
  border-color: var(--border-medium);
  background: var(--surface3);
}
.branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field .input-icon-wrap .form-control::placeholder, .branches-manager-wrap .branch-card-executive .branch-fields-grid .branch-field-item .input-icon-wrap .form-control::placeholder,
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field .input-icon-wrap .form-control::placeholder,
.branches-manager-wrap .branch-card-item .branch-fields-grid .branch-field-item .input-icon-wrap .form-control::placeholder {
  color: var(--text-muted);
}

.shipping-strategy-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  margin-bottom: var(--space-5, 20px);
}
@media (max-width: 768px) {
  .shipping-strategy-selector {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.shipping-strategy-selector .mode-card {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-xl, 18px);
  padding: 16px 18px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  user-select: none;
}
.shipping-strategy-selector .mode-card:hover {
  background: var(--surface3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.shipping-strategy-selector .mode-card.active {
  background: var(--surface3);
  box-shadow: 0 0 0 2px var(--accent), var(--shadow-sm);
}
.shipping-strategy-selector .mode-card.active .mode-radio-circle {
  border-color: var(--accent);
  background: var(--accent);
}
.shipping-strategy-selector .mode-card.active .mode-radio-circle .radio-checked-dot {
  background: var(--text-inverse);
}
.shipping-strategy-selector .mode-card.active .mode-title {
  color: var(--text-primary);
  font-weight: 800;
}
.shipping-strategy-selector .mode-card .mode-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md, 12px);
  background: var(--surface);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.shipping-strategy-selector .mode-card .mode-icon-box svg, .shipping-strategy-selector .mode-card .mode-icon-box i, .shipping-strategy-selector .mode-card .mode-icon-box [data-lucide] {
  width: 20px;
  height: 20px;
}
.shipping-strategy-selector .mode-card .mode-info {
  flex: 1;
  min-width: 0;
}
.shipping-strategy-selector .mode-card .mode-info .mode-title {
  font-size: 0.92rem;
  font-weight: 750;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.shipping-strategy-selector .mode-card .mode-info .mode-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}
.shipping-strategy-selector .mode-card .mode-radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}
.shipping-strategy-selector .mode-card .mode-radio-circle .radio-checked-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
}

.free-hero-box {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-xl, 20px);
  padding: 24px 24px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 18px;
}
@media (max-width: 576px) {
  .free-hero-box {
    flex-direction: column;
    text-align: center;
  }
}
.free-hero-box .free-hero-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.free-hero-box .free-hero-icon svg, .free-hero-box .free-hero-icon i, .free-hero-box .free-hero-icon [data-lucide] {
  width: 26px;
  height: 26px;
}
.free-hero-box.free-hero-box .free-hero-icon {
  color: var(--success);
  background: var(--success-subtle);
}
.free-hero-box.flat-hero-box .flat-hero-icon {
  color: var(--accent);
  background: var(--accent-subtle);
}
.free-hero-box .free-hero-content {
  flex: 1;
}
.free-hero-box .free-hero-content .free-hero-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.free-hero-box .free-hero-content .free-hero-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.free-hero-box .free-zero-badge {
  font-size: 0.85rem;
  font-weight: 850;
  padding: 6px 14px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface);
  color: var(--text-primary);
  font-family: var(--font-mono, monospace);
}

.shipping-hub-card {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-xl, 20px);
  padding: 20px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 16px;
}
.shipping-hub-card .shipping-hub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
@media (max-width: 576px) {
  .shipping-hub-card .shipping-hub-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
.shipping-hub-card .shipping-bulk-presets {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.shipping-hub-card button.preset-chip,
.shipping-hub-card .preset-chip {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-medium) !important;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast, 0.15s ease);
  user-select: none;
  outline: none;
  box-shadow: var(--shadow-xs);
}
.shipping-hub-card button.preset-chip:hover,
.shipping-hub-card .preset-chip:hover {
  background: var(--surface2) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.shipping-hub-card button.preset-chip:active,
.shipping-hub-card .preset-chip:active {
  transform: translateY(0);
}
.shipping-hub-card .shipping-bulk-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.shipping-hub-card .shipping-bulk-bar .shipping-bulk-input {
  width: 120px;
}

.custom-zones-section {
  margin-top: 16px;
}
.custom-zones-section .custom-zones-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.custom-zones-section .custom-zone-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  padding: 6px 12px;
  border-radius: var(--radius-full, 9999px);
  box-shadow: var(--shadow-xs);
  font-size: 0.82rem;
}
.custom-zones-section .custom-zone-chip .cz-name {
  font-weight: 750;
  color: var(--text-primary);
}
.custom-zones-section .custom-zone-chip .cz-cost {
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-mono, monospace);
}
.custom-zones-section .custom-zone-chip .cz-del {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}
.custom-zones-section .custom-zone-chip .cz-del:hover {
  color: var(--danger);
}

.add-zone-box {
  background: var(--surface);
  border-radius: var(--radius-lg, 14px);
  box-shadow: var(--shadow-xs);
}

.storefront-messaging-studio {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.storefront-messaging-studio .storefront-card-segment {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-xl, 18px);
  padding: 20px;
  box-shadow: var(--shadow-xs);
}
.storefront-messaging-studio .storefront-card-segment .segment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.storefront-messaging-studio .storefront-card-segment .segment-header .segment-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.storefront-messaging-studio .storefront-card-segment .segment-header .segment-title-group i, .storefront-messaging-studio .storefront-card-segment .segment-header .segment-title-group svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.storefront-messaging-studio .storefront-card-segment .segment-header .segment-title-group .segment-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
}
.storefront-messaging-studio .storefront-announcement-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-md, 10px);
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
  text-align: center;
  flex-wrap: wrap;
}
.storefront-messaging-studio .storefront-announcement-mockup .mockup-ann-ic {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.storefront-messaging-studio .storefront-announcement-mockup .mockup-ann-title {
  font-weight: 800;
}
.storefront-messaging-studio .storefront-announcement-mockup .mockup-ann-dot {
  opacity: 0.7;
}
.storefront-messaging-studio .storefront-announcement-mockup .mockup-ann-sub {
  opacity: 0.9;
  font-weight: 600;
}

.channels-studio {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.channels-studio .channel-card-executive {
  background: var(--surface2);
  border-radius: var(--radius-xl, 16px);
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-normal);
  border: none !important;
}
.channels-studio .channel-card-executive:hover {
  box-shadow: var(--shadow-sm);
}
.channels-studio .channel-card-executive.channel-wa-card {
  border-inline-start: 4px solid var(--success) !important;
}
.channels-studio .channel-card-executive .channel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}
.channels-studio .channel-card-executive .channel-head .channel-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.channels-studio .channel-card-executive .channel-head .channel-brand .channel-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg, 12px);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}
.channels-studio .channel-card-executive .channel-head .channel-brand .channel-icon-wrap.wa-icon {
  color: var(--success);
  background: var(--success-subtle);
}
.channels-studio .channel-card-executive .channel-head .channel-brand .channel-icon-wrap i, .channels-studio .channel-card-executive .channel-head .channel-brand .channel-icon-wrap svg, .channels-studio .channel-card-executive .channel-head .channel-brand .channel-icon-wrap [data-lucide] {
  width: 20px;
  height: 20px;
}
.channels-studio .channel-card-executive .channel-head .channel-brand .channel-name {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text-primary);
}
.channels-studio .channel-card-executive .channel-head .channel-brand .channel-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.channels-studio .channel-card-executive .channel-head .channel-badge-req {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--accent-subtle);
  color: var(--accent);
}
.channels-studio .channel-card-executive .channel-wa-input-box {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--border-medium) !important;
  border-radius: var(--radius-md, 10px);
  min-height: 46px;
  padding-inline: 12px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast, 0.2s ease);
}
.channels-studio .channel-card-executive .channel-wa-input-box:focus-within {
  border-color: var(--success) !important;
  box-shadow: 0 0 0 3px var(--success-subtle) !important;
}
.channels-studio .channel-card-executive .channel-wa-input-box .wa-flag-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline-end: 12px;
  border-inline-end: 1.5px solid var(--border-subtle);
  font-weight: 750;
  font-size: 0.88rem;
  color: var(--text-secondary);
  user-select: none;
}
.channels-studio .channel-card-executive .channel-wa-input-box .wa-flag-pill img {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
}
.channels-studio .channel-card-executive .channel-wa-input-box .wa-input-control {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  width: 100%;
  height: 42px;
  padding-inline-start: 12px;
  font-size: 0.92rem;
  color: var(--text-primary);
}
.channels-studio .channel-card-executive .channel-wa-input-box .wa-input-control::placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}
.channels-studio .channel-card-executive .channel-wa-input-box .wa-input-control:focus {
  outline: none;
}
.channels-studio .channel-field-input-box {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--border-medium) !important;
  border-radius: var(--radius-md, 10px);
  min-height: 44px;
  padding-inline: 12px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast, 0.2s ease);
  width: 100%;
}
.channels-studio .channel-field-input-box:focus-within {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-subtle) !important;
}
.channels-studio .channel-field-input-box .channel-field-icon {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  margin-inline-end: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.channels-studio .channel-field-input-box .channel-field-icon i, .channels-studio .channel-field-input-box .channel-field-icon svg, .channels-studio .channel-field-input-box .channel-field-icon [data-lucide] {
  width: 18px;
  height: 18px;
}
.channels-studio .channel-field-input-box .channel-field-control {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  width: 100%;
  height: 40px;
  font-size: 0.88rem;
  color: var(--text-primary);
  padding: 0;
}
.channels-studio .channel-field-input-box .channel-field-control::placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}
.channels-studio .channel-field-input-box .channel-field-control:focus {
  outline: none;
}
.channels-studio .channel-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.channels-studio .channel-field-group .channel-field-label {
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.channels-studio .channel-field-group .channel-field-label i, .channels-studio .channel-field-group .channel-field-label svg, .channels-studio .channel-field-group .channel-field-label [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--accent);
}
.channels-studio .channel-field-group .channel-field-input-box {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--border-medium) !important;
  border-radius: var(--radius-md, 10px);
  min-height: 44px;
  padding-inline: 12px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast, 0.2s ease);
}
.channels-studio .channel-field-group .channel-field-input-box:focus-within {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-subtle) !important;
}
.channels-studio .channel-field-group .channel-field-input-box .channel-field-icon {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  margin-inline-end: 10px;
  flex-shrink: 0;
}
.channels-studio .channel-field-group .channel-field-input-box .channel-field-control {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  width: 100%;
  height: 40px;
  font-size: 0.88rem;
  color: var(--text-primary);
  padding: 0;
}
.channels-studio .channel-field-group .channel-field-input-box .channel-field-control::placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}
.channels-studio .channel-field-group .channel-field-input-box .channel-field-control:focus {
  outline: none;
}
.channels-studio .social-channels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
}
@media (max-width: 680px) {
  .channels-studio .social-channels-grid {
    grid-template-columns: 1fr;
  }
}

.shipping-strategy-container {
  width: 100%;
}
.shipping-strategy-container .shipping-strategy-header {
  width: 100%;
  margin-bottom: 12px;
}
.shipping-strategy-container .shipping-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}
@media (max-width: 860px) {
  .shipping-strategy-container .shipping-mode-grid {
    grid-template-columns: 1fr;
  }
}
.shipping-strategy-container .shipping-mode-grid .shipping-mode-card {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-xl, 16px);
  padding: 20px 18px;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.shipping-strategy-container .shipping-mode-grid .shipping-mode-card::before, .shipping-strategy-container .shipping-mode-grid .shipping-mode-card::after {
  display: none !important;
}
.shipping-strategy-container .shipping-mode-grid .shipping-mode-card:hover {
  background: var(--surface3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.shipping-strategy-container .shipping-mode-grid .shipping-mode-card.active {
  background: var(--surface3) !important;
  border: none !important;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.shipping-strategy-container .shipping-mode-grid .shipping-mode-card.active::before, .shipping-strategy-container .shipping-mode-grid .shipping-mode-card.active::after {
  display: none !important;
}
.shipping-strategy-container .shipping-mode-grid .shipping-mode-card.active .mode-icon-box {
  background: var(--surface) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-medium) !important;
  box-shadow: var(--shadow-xs);
  transform: scale(1.04);
}
.shipping-strategy-container .shipping-mode-grid .shipping-mode-card.active .mode-icon-box i, .shipping-strategy-container .shipping-mode-grid .shipping-mode-card.active .mode-icon-box svg, .shipping-strategy-container .shipping-mode-grid .shipping-mode-card.active .mode-icon-box [data-lucide] {
  color: var(--text-primary) !important;
  stroke: var(--text-primary) !important;
}
.shipping-strategy-container .shipping-mode-grid .shipping-mode-card.active .mode-info .mode-title {
  color: var(--accent);
  font-weight: 850;
}
.shipping-strategy-container .shipping-mode-grid .shipping-mode-card.active .mode-radio-circle {
  border-color: var(--accent);
  background: var(--surface);
}
.shipping-strategy-container .shipping-mode-grid .shipping-mode-card.active .mode-radio-circle .mode-radio-dot {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.shipping-strategy-container .shipping-mode-grid .shipping-mode-card .mode-badge-recommended {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 750;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--accent-subtle) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-medium) !important;
}
.shipping-strategy-container .shipping-mode-grid .shipping-mode-card .mode-badge-recommended i, .shipping-strategy-container .shipping-mode-grid .shipping-mode-card .mode-badge-recommended svg, .shipping-strategy-container .shipping-mode-grid .shipping-mode-card .mode-badge-recommended [data-lucide] {
  width: 12px;
  height: 12px;
  color: var(--accent);
}
.shipping-strategy-container .shipping-mode-grid .shipping-mode-card .mode-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg, 12px);
  background: var(--surface) !important;
  border: 1px solid var(--border-subtle) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary) !important;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.shipping-strategy-container .shipping-mode-grid .shipping-mode-card .mode-icon-box i, .shipping-strategy-container .shipping-mode-grid .shipping-mode-card .mode-icon-box svg, .shipping-strategy-container .shipping-mode-grid .shipping-mode-card .mode-icon-box [data-lucide] {
  width: 22px;
  height: 22px;
  color: var(--text-primary) !important;
  stroke: var(--text-primary) !important;
}
.shipping-strategy-container .shipping-mode-grid .shipping-mode-card .mode-info .mode-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.shipping-strategy-container .shipping-mode-grid .shipping-mode-card .mode-info .mode-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.shipping-strategy-container .shipping-mode-grid .shipping-mode-card .mode-radio-circle {
  margin-top: auto;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full, 9999px);
  border: 1.5px solid var(--border-medium);
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
}
.shipping-strategy-container .shipping-mode-grid .shipping-mode-card .mode-radio-circle .mode-radio-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--accent);
}

.shipping-flat-panel {
  width: 100%;
  margin-top: 16px;
}
.shipping-flat-panel .flat-hero-box {
  display: block;
  width: 100%;
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-xl, 16px);
  padding: 22px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast, 0.2s ease);
}
.shipping-flat-panel .flat-hero-box .flat-hero-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.shipping-flat-panel .flat-hero-box .flat-hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.shipping-flat-panel .flat-hero-box .flat-hero-header .flat-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 850;
  font-size: 0.95rem;
  color: var(--accent);
}
.shipping-flat-panel .flat-hero-box .flat-hero-header .flat-hero-badge i, .shipping-flat-panel .flat-hero-box .flat-hero-header .flat-hero-badge svg, .shipping-flat-panel .flat-hero-box .flat-hero-header .flat-hero-badge [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.shipping-flat-panel .flat-hero-box .flat-hero-header .flat-hint-pill {
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: var(--surface2);
  padding: 4px 12px;
  border-radius: var(--radius-full, 9999px);
  border: 1px solid var(--border-subtle);
}
.shipping-flat-panel .flat-hero-box .flat-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.shipping-flat-panel .flat-hero-box .flat-input-row .flat-input-label-wrap {
  flex: 1;
  min-width: 200px;
}
.shipping-flat-panel .flat-hero-box .flat-input-row .flat-input-label-wrap .form-label {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.shipping-flat-panel .flat-hero-box .flat-input-row .flat-input-label-wrap .text-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.shipping-flat-panel .flat-hero-box .flat-input-row .flat-price-input-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 180px;
}
.shipping-flat-panel .flat-hero-box .flat-input-row .flat-price-input-wrap .flat-price-input {
  width: 100%;
  height: 46px;
  padding-inline-start: 16px;
  padding-inline-end: 48px;
  font-size: 1.15rem;
  font-weight: 850;
  color: var(--text-primary);
  background: var(--surface2);
  border: 1.5px solid var(--border-medium) !important;
  border-radius: var(--radius-lg, 12px);
  text-align: start;
  transition: all var(--transition-fast);
}
.shipping-flat-panel .flat-hero-box .flat-input-row .flat-price-input-wrap .flat-price-input:focus {
  border-color: var(--accent) !important;
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-subtle) !important;
  outline: none;
}
.shipping-flat-panel .flat-hero-box .flat-input-row .flat-price-input-wrap .flat-price-currency {
  position: absolute;
  inset-inline-end: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  line-height: 1;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text-secondary);
  pointer-events: none;
  user-select: none;
}
.shipping-flat-panel .flat-hero-box .checkout-preview-ribbon {
  background: var(--surface3);
  border: none !important;
  border-radius: var(--radius-lg, 12px);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.shipping-flat-panel .flat-hero-box .checkout-preview-ribbon .ribbon-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--text-secondary);
}
.shipping-flat-panel .flat-hero-box .checkout-preview-ribbon .ribbon-label i, .shipping-flat-panel .flat-hero-box .checkout-preview-ribbon .ribbon-label svg, .shipping-flat-panel .flat-hero-box .checkout-preview-ribbon .ribbon-label [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.shipping-flat-panel .flat-hero-box .checkout-preview-ribbon .ribbon-mockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-md, 10px);
  padding: 8px 14px;
  box-shadow: var(--shadow-xs);
}
.shipping-flat-panel .flat-hero-box .checkout-preview-ribbon .ribbon-mockup .mockup-radio {
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full, 9999px);
  border: 4px solid var(--accent);
  background: var(--surface);
}
.shipping-flat-panel .flat-hero-box .checkout-preview-ribbon .ribbon-mockup .mockup-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-primary);
}
.shipping-flat-panel .flat-hero-box .checkout-preview-ribbon .ribbon-mockup .mockup-price {
  font-size: 0.88rem;
  font-weight: 850;
  color: var(--accent);
  padding-inline-start: 8px;
  border-inline-start: 1px solid var(--border-subtle);
}

.apps-compact-hub {
  margin-top: 24px;
  background: var(--surface2);
  border-radius: var(--radius-xl, 18px);
  padding: 20px;
  box-shadow: var(--shadow-xs);
  width: 100%;
}
.apps-compact-hub .hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.apps-compact-hub .hub-header .hub-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.apps-compact-hub .hub-header .hub-title-group i, .apps-compact-hub .hub-header .hub-title-group svg, .apps-compact-hub .hub-header .hub-title-group [data-lucide] {
  width: 20px;
  height: 20px;
  color: var(--accent);
}
.apps-compact-hub .hub-header .hub-title-group .hub-title {
  font-size: 0.98rem;
  font-weight: 850;
  color: var(--text-primary);
}
.apps-compact-hub .hub-header .hub-title-group .hub-badge {
  font-size: 0.72rem;
  font-weight: 750;
  padding: 3px 8px;
  border-radius: var(--radius-full, 9999px);
  background: var(--accent-subtle);
  color: var(--accent);
}
.apps-compact-hub .hub-header .hub-counter-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--success-subtle);
  color: var(--success);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.apps-compact-hub .apps-compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
  width: 100%;
}
.apps-compact-hub .app-compact-card {
  background: var(--surface);
  border: 1.5px solid var(--border-subtle) !important;
  border-radius: var(--radius-lg, 12px);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast, 0.2s ease);
  box-shadow: var(--shadow-xs);
}
.apps-compact-hub .app-compact-card:hover {
  border-color: var(--border-medium) !important;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.apps-compact-hub .app-compact-card.is-selected {
  border-color: var(--success) !important;
  background: var(--surface);
  box-shadow: 0 2px 8px var(--success-subtle);
}
.apps-compact-hub .app-compact-card.is-selected .app-compact-check {
  background: var(--success);
  color: var(--color-white);
  border-color: var(--success);
}
.apps-compact-hub .app-compact-card .app-compact-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.apps-compact-hub .app-compact-card .app-compact-info .app-compact-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md, 8px);
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.apps-compact-hub .app-compact-card .app-compact-info .app-compact-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}
.apps-compact-hub .app-compact-card .app-compact-info .app-compact-logo .logo-fallback {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}
.apps-compact-hub .app-compact-card .app-compact-info .app-compact-names {
  min-width: 0;
}
.apps-compact-hub .app-compact-card .app-compact-info .app-compact-names .app-compact-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.apps-compact-hub .app-compact-card .app-compact-info .app-compact-names .app-compact-tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.2;
}
.apps-compact-hub .app-compact-card .app-compact-check {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full, 9999px);
  border: 1.5px solid var(--border-medium);
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: transparent;
  transition: all var(--transition-fast, 0.2s ease);
}
.apps-compact-hub .app-compact-card .app-compact-check i, .apps-compact-hub .app-compact-card .app-compact-check svg, .apps-compact-hub .app-compact-card .app-compact-check [data-lucide] {
  width: 13px;
  height: 13px;
}

.pixel-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}
.pixel-cards-grid .card-pixel {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-xl, 16px);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: var(--transition-normal);
}
.pixel-cards-grid .card-pixel:hover {
  box-shadow: var(--shadow-sm);
}
.pixel-cards-grid .card-pixel .card-header-clickable {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.pixel-cards-grid .card-pixel .card-header-clickable .card-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pixel-cards-grid .card-pixel .card-header-clickable .card-title .pixel-brand-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pixel-cards-grid .card-pixel .card-header-clickable .card-title .pixel-brand-icon svg, .pixel-cards-grid .card-pixel .card-header-clickable .card-title .pixel-brand-icon i, .pixel-cards-grid .card-pixel .card-header-clickable .card-title .pixel-brand-icon [data-lucide] {
  width: 20px;
  height: 20px;
}
.pixel-cards-grid .card-pixel .card-header-clickable .card-title .pixel-brand-icon.meta {
  color: var(--info);
  background: var(--info-subtle);
}
.pixel-cards-grid .card-pixel .card-header-clickable .card-title .pixel-brand-icon.ga {
  color: var(--warning);
  background: var(--warning-subtle);
}
.pixel-cards-grid .card-pixel .card-header-clickable .card-title .pixel-brand-icon.tt {
  color: var(--text-primary);
  background: var(--surface3);
}
.pixel-cards-grid .card-pixel .card-header-clickable .card-title .pixel-brand-icon.sc {
  color: var(--warning);
  background: var(--warning-subtle);
}
.pixel-cards-grid .card-pixel .card-header-clickable .card-title .pixel-brand-icon.cs {
  color: var(--teal);
  background: var(--teal-subtle);
}
.pixel-cards-grid .card-pixel .card-header-clickable .card-title .pixel-title-text {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
}
.pixel-cards-grid .card-pixel .card-header-clickable .card-title .pixel-sub-text {
  font-size: 0.76rem;
  color: var(--text-muted);
}
.pixel-cards-grid .card-pixel .card-header-clickable .status-badge {
  font-size: 0.72rem;
  font-weight: 750;
  padding: 3px 9px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  color: var(--text-muted);
}
.pixel-cards-grid .card-pixel .card-header-clickable .status-badge.active {
  background: var(--success-subtle);
  color: var(--success);
}
.pixel-cards-grid .card-pixel .card-header-clickable .card-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}
.pixel-cards-grid .card-pixel .card-header-clickable .card-chevron.open {
  transform: rotate(180deg);
}
.pixel-cards-grid .card-pixel .card-body {
  padding: 0 20px 20px;
  border-top: none;
}
.pixel-cards-grid .card-pixel .card-body .form-group {
  margin-bottom: 12px;
}
.pixel-cards-grid .card-pixel .card-body .form-group:last-child {
  margin-bottom: 0;
}
.pixel-cards-grid .card-pixel .card-body .form-group .form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.pixel-cards-grid .card-pixel .card-body .form-group .form-control {
  background: var(--surface);
  border: 1.5px solid var(--border-medium) !important;
  border-radius: var(--radius-md, 10px);
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
}
.pixel-cards-grid .card-pixel .card-body .form-group .form-control:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-subtle) !important;
}

.shipping-table-wrap {
  background: var(--surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-xl, 14px);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  width: 100%;
}
.shipping-table-wrap table {
  width: 100%;
  border-collapse: collapse;
}
.shipping-table-wrap table th {
  background: var(--surface2);
  padding: 12px 18px;
  font-size: 0.82rem;
  font-weight: 850;
  color: var(--text-secondary);
  border-bottom: 1.5px solid var(--border-subtle);
  text-align: start;
}
.shipping-table-wrap table th.col-cost {
  text-align: center;
}
.shipping-table-wrap table th.col-center {
  text-align: center;
}
.shipping-table-wrap table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}
.shipping-table-wrap table td:nth-child(2) {
  text-align: center;
}
.shipping-table-wrap table td.col-center {
  text-align: center;
}
.shipping-table-wrap table tr:last-child td {
  border-bottom: none;
}
.shipping-table-wrap table tr:hover td {
  background: var(--surface2);
}
.shipping-table-wrap table .zone-name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 750;
  color: var(--text-primary);
}
.shipping-table-wrap table .zone-name-cell .zone-pin {
  width: 17px;
  height: 17px;
  color: var(--accent);
  flex-shrink: 0;
}
.shipping-table-wrap table .cost-cell-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 130px;
}
.shipping-table-wrap table .cost-cell-wrap .shipping-cost-input {
  width: 100%;
  height: 38px;
  padding-inline-start: 12px;
  padding-inline-end: 46px;
  font-size: 0.95rem;
  font-weight: 850;
  color: var(--text-primary);
  background: var(--surface2);
  border: 1.5px solid var(--border-medium) !important;
  border-radius: var(--radius-md, 8px);
  transition: all var(--transition-fast);
}
.shipping-table-wrap table .cost-cell-wrap .shipping-cost-input:focus {
  border-color: var(--accent) !important;
  background: var(--surface);
  box-shadow: 0 0 0 2px var(--accent-subtle) !important;
  outline: none;
}
.shipping-table-wrap table .cost-cell-wrap .shipping-cost-input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.shipping-table-wrap table .cost-cell-wrap .cost-curr {
  position: absolute;
  inset-inline-end: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.78rem;
  font-weight: 850;
  color: var(--text-secondary);
  pointer-events: none;
  user-select: none;
  z-index: 2;
  line-height: 1;
}

.shipping-defer-notice {
  background: var(--surface);
  border: 1.5px dashed var(--border-medium);
  border-radius: var(--radius-xl, 14px);
  padding: 14px 18px;
  width: 100%;
}
.shipping-defer-notice .defer-notice-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.shipping-defer-notice .defer-notice-content i, .shipping-defer-notice .defer-notice-content svg, .shipping-defer-notice .defer-notice-content [data-lucide] {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.shipping-defer-notice .defer-notice-content .defer-title {
  font-size: 0.86rem;
  font-weight: 850;
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}
.shipping-defer-notice .defer-notice-content .defer-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

@keyframes haloPop {
  0% {
    transform: scale(0.65);
    opacity: 0.2;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.selected-category-card {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-xl, 16px);
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.selected-category-card:hover {
  box-shadow: var(--shadow-sm);
}
.selected-category-card.is-empty {
  cursor: pointer;
  border: 1.5px dashed var(--border-medium) !important;
  background: var(--surface);
}
.selected-category-card.is-empty:hover {
  background: var(--surface2);
  border-color: var(--accent) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.selected-category-card .sc-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 220px;
}
.selected-category-card .sc-info .sc-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg, 12px);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}
.selected-category-card .sc-info .sc-icon-wrap i, .selected-category-card .sc-info .sc-icon-wrap svg, .selected-category-card .sc-info .sc-icon-wrap [data-lucide] {
  width: 22px;
  height: 22px;
}
.selected-category-card .sc-info .sc-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.selected-category-card .sc-info .sc-details .sc-title {
  font-size: 1rem;
  font-weight: 850;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.selected-category-card .sc-info .sc-details .sc-path {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  flex-wrap: nowrap;
  line-height: 1.5;
}
.selected-category-card .sc-info .sc-details .sc-path .sc-path-icon,
.selected-category-card .sc-info .sc-details .sc-path .pf-field-icon,
.selected-category-card .sc-info .sc-details .sc-path i, .selected-category-card .sc-info .sc-details .sc-path svg, .selected-category-card .sc-info .sc-details .sc-path [data-lucide] {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--text-muted);
}
.selected-category-card .sc-info .sc-details .sc-path .sc-path-text,
.selected-category-card .sc-info .sc-details .sc-path span {
  flex: 1;
  min-width: 0;
  word-break: break-word;
  line-height: 1.5;
}
.selected-category-card .sc-info .sc-details .sc-path .path-sep {
  opacity: 0.5;
  font-size: 0.7rem;
}
.selected-category-card .sc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cascader-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: calc(85vh - 120px);
}
.cascader-container .cascader-search-wrap {
  padding: 0 0 16px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.cascader-container .cascader-nav-bar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  min-height: 46px;
  width: 100%;
  flex-wrap: nowrap !important;
}
.cascader-container .cascader-nav-bar .cascader-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  flex: 1;
  min-width: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cascader-container .cascader-nav-bar .cascader-breadcrumbs::-webkit-scrollbar {
  display: none;
}
.cascader-container .cascader-nav-bar .cascader-breadcrumbs .crumb-item-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.cascader-container .cascader-nav-bar .cascader-breadcrumbs .crumb-btn {
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full, 9999px);
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.cascader-container .cascader-nav-bar .cascader-breadcrumbs .crumb-btn:hover {
  background: var(--surface3);
  color: var(--text-primary);
}
.cascader-container .cascader-nav-bar .cascader-breadcrumbs .crumb-btn.active {
  background: var(--surface3) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-medium) !important;
  box-shadow: var(--shadow-xs);
  font-weight: 800;
}
.cascader-container .cascader-nav-bar .cascader-breadcrumbs .crumb-sep {
  color: var(--text-muted);
  font-size: 0.75rem;
  user-select: none;
}
.cascader-container .cascader-nav-bar .cascader-back-btn,
.cascader-container .cascader-nav-bar .btn--ghost {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}
.cascader-container .cascader-nav-bar .cascader-back-btn:hover,
.cascader-container .cascader-nav-bar .btn--ghost:hover {
  background: var(--surface3);
  color: var(--text-primary);
  border-color: var(--border-medium);
}
.cascader-container .cascader-list {
  overflow-y: auto;
  padding: 12px 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--border-medium) transparent;
}
.cascader-container .cascader-list::-webkit-scrollbar {
  width: 6px;
}
.cascader-container .cascader-list::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 4px;
}
.cascader-container .cascader-list::-webkit-scrollbar-track {
  background: transparent;
}
.cascader-container .cascader-list .cascader-item {
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 12px);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.cascader-container .cascader-list .cascader-item:hover {
  background: var(--surface3);
  border-color: var(--border-medium);
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}
.cascader-container .cascader-list .cascader-item.selected {
  background: var(--surface3);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.cascader-container .cascader-list .cascader-item .ci-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.cascader-container .cascader-list .cascader-item .ci-main .ci-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md, 8px);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.cascader-container .cascader-list .cascader-item .ci-main .ci-icon i, .cascader-container .cascader-list .cascader-item .ci-main .ci-icon svg, .cascader-container .cascader-list .cascader-item .ci-main .ci-icon [data-lucide] {
  width: 18px;
  height: 18px;
}
.cascader-container .cascader-list .cascader-item .ci-main .ci-texts {
  min-width: 0;
}
.cascader-container .cascader-list .cascader-item .ci-main .ci-texts .ci-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cascader-container .cascader-list .cascader-item .ci-main .ci-texts .ci-path {
  font-size: 0.76rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.cascader-container .cascader-list .cascader-item .ci-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cascader-container .cascader-list .cascader-item .ci-meta .ci-badge {
  font-size: 0.74rem;
  font-weight: 750;
  color: var(--text-muted);
  background: var(--surface);
  padding: 3px 8px;
  border-radius: var(--radius-full, 9999px);
  white-space: nowrap;
}
.cascader-container .cascader-list .cascader-item .ci-meta .ci-selection-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  flex-shrink: 0;
}
.cascader-container .cascader-list .cascader-item .ci-meta .ci-selection-slot .ci-selected-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cascader-container .cascader-list .cascader-item .ci-meta .ci-arrow {
  color: var(--text-muted);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}
.cascader-container .cascader-list .cascader-item:hover .ci-arrow {
  color: var(--accent);
}

.branch-name-input {
  width: 100%;
  background: transparent !important;
  border: none !important;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary) !important;
  padding: 6px 10px;
  border-radius: var(--radius-md, 8px);
  transition: background var(--transition-fast, 0.2s);
}
.branch-name-input:focus {
  outline: none;
  background: var(--surface3) !important;
}
.branch-name-input::placeholder {
  color: var(--text-muted);
  font-weight: 500;
}

.app-icon-wrap, .app-logo-box {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
  max-width: 58px !important;
  max-height: 58px !important;
  border-radius: var(--radius-lg, 14px) !important;
  background: var(--surface2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--border-subtle) !important;
  box-shadow: var(--shadow-xs) !important;
  padding: 5px !important;
}
.app-icon-wrap .app-logo-img, .app-icon-wrap img, .app-logo-box .app-logo-img, .app-logo-box img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  border-radius: var(--radius-md, 8px) !important;
  display: block !important;
}
.app-icon-wrap .app-logo-fallback, .app-logo-box .app-logo-fallback {
  width: 24px !important;
  height: 24px !important;
  color: var(--text-muted) !important;
}

.table-responsive, .table-wrap, .table-container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg, 16px);
  border: none;
  background: transparent;
  position: relative;
  box-sizing: border-box;
}

.table-card, .history-table-card {
  background: var(--surface, var(--bg-card));
  border-radius: var(--radius-2xl, 28px);
  border: none !important;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
  padding: 1.5rem 1.8rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.table-card:hover, .history-table-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.table-head-bar {
  padding: 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: transparent;
  border-bottom: none;
}

.table-head-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.table-head-title .card-icon,
.table-head-title svg,
.table-head-title i,
.table-head-title [data-lucide] {
  width: 18px;
  height: 18px;
  stroke-width: 2.2px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.btn-table-action,
.btn-action-ghost {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md, 12px);
  background: var(--surface2);
  border: none;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-fast, all 0.2s cubic-bezier(0.16, 1, 0.3, 1));
}
.btn-table-action svg, .btn-table-action [data-lucide],
.btn-action-ghost svg,
.btn-action-ghost [data-lucide] {
  width: 15px;
  height: 15px;
  stroke-width: 2.2px;
  transition: transform 0.2s ease;
}
.btn-table-action:hover,
.btn-action-ghost:hover {
  background: var(--text-primary);
  color: var(--text-inverse);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn-table-action:hover svg, .btn-table-action:hover [data-lucide],
.btn-action-ghost:hover svg,
.btn-action-ghost:hover [data-lucide] {
  color: var(--text-inverse);
  transform: translateX(-2px);
}

.order-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface2);
  color: var(--text-primary);
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  transition: var(--transition-fast, all 0.15s ease);
  letter-spacing: 0.02em;
}
.order-code-badge:hover {
  background: var(--text-primary);
  color: var(--text-inverse);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.customer-cell {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.customer-cell .customer-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface2);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid var(--surface);
  box-shadow: var(--shadow-xs);
}
.customer-cell .customer-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-primary);
  white-space: nowrap;
}

.order-total-cell {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  font-feature-settings: "tnum";
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.order-date-cell {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.table,
.ship-table,
.table-responsive > table,
.table-wrap > table,
.table-container > table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--text-sm, 0.85rem);
  text-align: start;
  color: var(--text-primary);
  background: transparent;
}
.table thead, .table .table__header, .table .table-header,
.ship-table thead,
.ship-table .table__header,
.ship-table .table-header,
.table-responsive > table thead,
.table-responsive > table .table__header,
.table-responsive > table .table-header,
.table-wrap > table thead,
.table-wrap > table .table__header,
.table-wrap > table .table-header,
.table-container > table thead,
.table-container > table .table__header,
.table-container > table .table-header {
  background: var(--surface2);
  border-bottom: none !important;
}
.table thead th, .table .table__header th, .table .table-header th,
.ship-table thead th,
.ship-table .table__header th,
.ship-table .table-header th,
.table-responsive > table thead th,
.table-responsive > table .table__header th,
.table-responsive > table .table-header th,
.table-wrap > table thead th,
.table-wrap > table .table__header th,
.table-wrap > table .table-header th,
.table-container > table thead th,
.table-container > table .table__header th,
.table-container > table .table-header th {
  padding: 13px 18px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-align: start;
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: none !important;
  background: var(--surface2);
}
.table thead th:first-child, .table .table__header th:first-child, .table .table-header th:first-child,
.ship-table thead th:first-child,
.ship-table .table__header th:first-child,
.ship-table .table-header th:first-child,
.table-responsive > table thead th:first-child,
.table-responsive > table .table__header th:first-child,
.table-responsive > table .table-header th:first-child,
.table-wrap > table thead th:first-child,
.table-wrap > table .table__header th:first-child,
.table-wrap > table .table-header th:first-child,
.table-container > table thead th:first-child,
.table-container > table .table__header th:first-child,
.table-container > table .table-header th:first-child {
  border-start-start-radius: var(--radius-md, 12px);
  border-end-start-radius: var(--radius-md, 12px);
}
.table thead th:last-child, .table .table__header th:last-child, .table .table-header th:last-child,
.ship-table thead th:last-child,
.ship-table .table__header th:last-child,
.ship-table .table-header th:last-child,
.table-responsive > table thead th:last-child,
.table-responsive > table .table__header th:last-child,
.table-responsive > table .table-header th:last-child,
.table-wrap > table thead th:last-child,
.table-wrap > table .table__header th:last-child,
.table-wrap > table .table-header th:last-child,
.table-container > table thead th:last-child,
.table-container > table .table__header th:last-child,
.table-container > table .table-header th:last-child {
  border-start-end-radius: var(--radius-md, 12px);
  border-end-end-radius: var(--radius-md, 12px);
}
.table thead th.sortable-th, .table .table__header th.sortable-th, .table .table-header th.sortable-th,
.ship-table thead th.sortable-th,
.ship-table .table__header th.sortable-th,
.ship-table .table-header th.sortable-th,
.table-responsive > table thead th.sortable-th,
.table-responsive > table .table__header th.sortable-th,
.table-responsive > table .table-header th.sortable-th,
.table-wrap > table thead th.sortable-th,
.table-wrap > table .table__header th.sortable-th,
.table-wrap > table .table-header th.sortable-th,
.table-container > table thead th.sortable-th,
.table-container > table .table__header th.sortable-th,
.table-container > table .table-header th.sortable-th {
  cursor: pointer;
  user-select: none;
  transition: background var(--transition-fast, 0.15s ease);
}
.table thead th.sortable-th:hover, .table .table__header th.sortable-th:hover, .table .table-header th.sortable-th:hover,
.ship-table thead th.sortable-th:hover,
.ship-table .table__header th.sortable-th:hover,
.ship-table .table-header th.sortable-th:hover,
.table-responsive > table thead th.sortable-th:hover,
.table-responsive > table .table__header th.sortable-th:hover,
.table-responsive > table .table-header th.sortable-th:hover,
.table-wrap > table thead th.sortable-th:hover,
.table-wrap > table .table__header th.sortable-th:hover,
.table-wrap > table .table-header th.sortable-th:hover,
.table-container > table thead th.sortable-th:hover,
.table-container > table .table__header th.sortable-th:hover,
.table-container > table .table-header th.sortable-th:hover {
  background: var(--surface3);
  color: var(--text-primary);
}
.table tbody tr, .table tbody .table__row, .table tbody .table-row,
.ship-table tbody tr,
.ship-table tbody .table__row,
.ship-table tbody .table-row,
.table-responsive > table tbody tr,
.table-responsive > table tbody .table__row,
.table-responsive > table tbody .table-row,
.table-wrap > table tbody tr,
.table-wrap > table tbody .table__row,
.table-wrap > table tbody .table-row,
.table-container > table tbody tr,
.table-container > table tbody .table__row,
.table-container > table tbody .table-row {
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
}
.table tbody tr:hover, .table tbody .table__row:hover, .table tbody .table-row:hover,
.ship-table tbody tr:hover,
.ship-table tbody .table__row:hover,
.ship-table tbody .table-row:hover,
.table-responsive > table tbody tr:hover,
.table-responsive > table tbody .table__row:hover,
.table-responsive > table tbody .table-row:hover,
.table-wrap > table tbody tr:hover,
.table-wrap > table tbody .table__row:hover,
.table-wrap > table tbody .table-row:hover,
.table-container > table tbody tr:hover,
.table-container > table tbody .table__row:hover,
.table-container > table tbody .table-row:hover {
  background: var(--surface2);
}
.table tbody tr:last-child, .table tbody .table__row:last-child, .table tbody .table-row:last-child,
.ship-table tbody tr:last-child,
.ship-table tbody .table__row:last-child,
.ship-table tbody .table-row:last-child,
.table-responsive > table tbody tr:last-child,
.table-responsive > table tbody .table__row:last-child,
.table-responsive > table tbody .table-row:last-child,
.table-wrap > table tbody tr:last-child,
.table-wrap > table tbody .table__row:last-child,
.table-wrap > table tbody .table-row:last-child,
.table-container > table tbody tr:last-child,
.table-container > table tbody .table__row:last-child,
.table-container > table tbody .table-row:last-child {
  border-bottom: none;
}
.table tbody tr:last-child td, .table tbody .table__row:last-child td, .table tbody .table-row:last-child td,
.ship-table tbody tr:last-child td,
.ship-table tbody .table__row:last-child td,
.ship-table tbody .table-row:last-child td,
.table-responsive > table tbody tr:last-child td,
.table-responsive > table tbody .table__row:last-child td,
.table-responsive > table tbody .table-row:last-child td,
.table-wrap > table tbody tr:last-child td,
.table-wrap > table tbody .table__row:last-child td,
.table-wrap > table tbody .table-row:last-child td,
.table-container > table tbody tr:last-child td,
.table-container > table tbody .table__row:last-child td,
.table-container > table tbody .table-row:last-child td {
  border-bottom: none;
}
.table tbody tr.selected, .table tbody tr.is-selected, .table tbody .table__row.selected, .table tbody .table__row.is-selected, .table tbody .table-row.selected, .table tbody .table-row.is-selected,
.ship-table tbody tr.selected,
.ship-table tbody tr.is-selected,
.ship-table tbody .table__row.selected,
.ship-table tbody .table__row.is-selected,
.ship-table tbody .table-row.selected,
.ship-table tbody .table-row.is-selected,
.table-responsive > table tbody tr.selected,
.table-responsive > table tbody tr.is-selected,
.table-responsive > table tbody .table__row.selected,
.table-responsive > table tbody .table__row.is-selected,
.table-responsive > table tbody .table-row.selected,
.table-responsive > table tbody .table-row.is-selected,
.table-wrap > table tbody tr.selected,
.table-wrap > table tbody tr.is-selected,
.table-wrap > table tbody .table__row.selected,
.table-wrap > table tbody .table__row.is-selected,
.table-wrap > table tbody .table-row.selected,
.table-wrap > table tbody .table-row.is-selected,
.table-container > table tbody tr.selected,
.table-container > table tbody tr.is-selected,
.table-container > table tbody .table__row.selected,
.table-container > table tbody .table__row.is-selected,
.table-container > table tbody .table-row.selected,
.table-container > table tbody .table-row.is-selected {
  background: var(--accent-glow);
}
.table tbody td, .table tbody .table__cell, .table tbody .table-cell,
.ship-table tbody td,
.ship-table tbody .table__cell,
.ship-table tbody .table-cell,
.table-responsive > table tbody td,
.table-responsive > table tbody .table__cell,
.table-responsive > table tbody .table-cell,
.table-wrap > table tbody td,
.table-wrap > table tbody .table__cell,
.table-wrap > table tbody .table-cell,
.table-container > table tbody td,
.table-container > table tbody .table__cell,
.table-container > table tbody .table-cell {
  padding: 15px 18px;
  vertical-align: middle;
  color: var(--text-primary);
  line-height: 1.4;
  border-bottom: 1px solid var(--border-subtle);
}
.table tfoot,
.ship-table tfoot,
.table-responsive > table tfoot,
.table-wrap > table tfoot,
.table-container > table tfoot {
  background: var(--bg-surface);
  border-top: 1.5px solid var(--border-medium);
}
.table tfoot td,
.ship-table tfoot td,
.table-responsive > table tfoot td,
.table-wrap > table tfoot td,
.table-container > table tfoot td {
  padding: 12px 16px;
  font-weight: 700;
}

.table__actions, .table-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.table__cell--num, .table-cell-num {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.table__cell--user, .table-cell-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.progress-cell {
  min-width: 130px;
  max-width: 190px;
}

.countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-full, 9999px);
  background: var(--warning-subtle);
  color: var(--warning);
  font-size: 0.72rem;
  font-weight: 750;
  width: fit-content;
  white-space: nowrap;
}
.countdown-badge svg, .countdown-badge [data-lucide] {
  width: 12px;
  height: 12px;
}

.table--striped tbody tr:nth-child(even), .table-striped tbody tr:nth-child(even) {
  background: var(--surface2);
}
.table--striped tbody tr:nth-child(even):hover, .table-striped tbody tr:nth-child(even):hover {
  background: var(--bg-card-hover);
}

.table--compact thead th, .table-sm thead th {
  padding: 8px 12px;
  font-size: var(--text-2xs, 0.72rem);
}
.table--compact tbody td, .table-sm tbody td {
  padding: 8px 12px;
  font-size: var(--text-xs, 0.8rem);
}

.free-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: var(--radius-sm, 6px);
  font-size: 0.74rem;
  font-weight: 700;
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid var(--success-border);
}

.col-promo-name {
  width: 24%;
  min-width: 220px;
}

.col-promo-value {
  width: 18%;
  min-width: 160px;
}

.col-promo-scope {
  width: 14%;
  min-width: 130px;
}

.col-promo-usage {
  width: 16%;
  min-width: 140px;
}

.col-promo-validity {
  width: 14%;
  min-width: 130px;
}

.col-promo-status {
  width: 8%;
  min-width: 90px;
}

.col-promo-actions {
  width: 6%;
  min-width: 80px;
  text-align: center;
}

.col-sub-customer {
  width: 24%;
  min-width: 200px;
}

.col-sub-plan {
  width: 20%;
  min-width: 170px;
}

.col-sub-amount {
  width: 14%;
  min-width: 120px;
}

.col-sub-renewal {
  width: 18%;
  min-width: 150px;
}

.col-sub-start {
  width: 10%;
  min-width: 100px;
}

.col-sub-status {
  width: 8%;
  min-width: 90px;
}

.col-sub-actions {
  width: 6%;
  min-width: 100px;
  text-align: center;
}

.table-empty-cell {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  text-align: center !important;
  vertical-align: middle !important;
  width: 100% !important;
}

td.table-empty {
  text-align: center !important;
  vertical-align: middle !important;
  padding: 64px 24px !important;
}

.table-empty, .table__empty {
  text-align: center !important;
  padding: 64px 24px !important;
  color: var(--text-muted);
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 320px;
  margin: 0 auto !important;
  box-sizing: border-box;
}
.table-empty .table-empty__icon-box, .table-empty__icon-box, .table__empty .table-empty__icon-box, .table__empty__icon-box {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-2xl, 22px);
  background: var(--surface2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px !important;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.table-empty .table-empty__icon-box svg, .table-empty .table-empty__icon-box [data-lucide], .table-empty__icon-box svg, .table-empty__icon-box [data-lucide], .table__empty .table-empty__icon-box svg, .table__empty .table-empty__icon-box [data-lucide], .table__empty__icon-box svg, .table__empty__icon-box [data-lucide] {
  width: 32px;
  height: 32px;
  stroke-width: 1.8px;
}
.table-empty .table-empty__icon-box--search, .table-empty .table-empty__icon-box--warning, .table-empty__icon-box--search, .table-empty__icon-box--warning, .table__empty .table-empty__icon-box--search, .table__empty .table-empty__icon-box--warning, .table__empty__icon-box--search, .table__empty__icon-box--warning {
  color: var(--warning);
  background: var(--warning-subtle);
}
.table-empty .table-empty__icon-box--danger, .table-empty__icon-box--danger, .table__empty .table-empty__icon-box--danger, .table__empty__icon-box--danger {
  color: var(--danger);
  background: var(--danger-subtle);
}
.table-empty:hover .table-empty__icon-box, .table-empty:hover .table-empty__icon-box, .table__empty:hover .table-empty__icon-box, .table-empty:hover .table__empty__icon-box, .table__empty:hover .table-empty__icon-box, .table__empty:hover .table__empty__icon-box {
  transform: scale(1.08) translateY(-2px);
}
.table-empty .table-empty__title, .table-empty__title, .table__empty .table-empty__title, .table__empty__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 auto 8px !important;
  letter-spacing: -0.01em;
  text-align: center !important;
  width: 100%;
}
.table-empty .table-empty__sub, .table-empty .table-empty__desc, .table-empty__sub, .table-empty__desc, .table__empty .table-empty__sub, .table__empty .table-empty__desc, .table__empty__sub, .table__empty__desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto 24px !important;
  line-height: 1.6;
  text-align: center !important;
  width: 100%;
}
.table-empty .table-empty__actions, .table-empty__actions, .table__empty .table-empty__actions, .table__empty__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 auto !important;
  width: 100%;
}

.ord-dsh-cards-mobile {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ord-dsh-card-mb {
  background: var(--surface);
  border: none;
  border-radius: var(--radius-xl, 20px);
  padding: 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ord-dsh-card-mb:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.ord-dsh-card-mb .ord-mb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ord-dsh-card-mb .ord-mb-top .ord-mb-code-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ord-dsh-card-mb .ord-mb-top .ord-mb-code {
  font-family: monospace;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-primary);
  background: var(--surface2);
  padding: 3px 8px;
  border-radius: var(--radius-sm, 6px);
}
.ord-dsh-card-mb .ord-mb-top .ord-mb-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.ord-dsh-card-mb .ord-mb-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}
.ord-dsh-card-mb .ord-mb-body .ord-mb-cust {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}
.ord-dsh-card-mb .ord-mb-body .ord-mb-cust svg, .ord-dsh-card-mb .ord-mb-body .ord-mb-cust [data-lucide] {
  width: 15px;
  height: 15px;
}
.ord-dsh-card-mb .ord-mb-body .ord-mb-tot {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  font-feature-settings: "tnum";
}
.ord-dsh-card-mb .ord-mb-action {
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}
.ord-dsh-card-mb .ord-mb-action .btn {
  border-radius: var(--radius-full, 9999px);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.mb-select-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--surface);
  border: none;
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-sm);
  grid-column: 1/-1;
  margin-bottom: var(--space-2, 8px);
}

.table tr.row-selected, .table tr.selected {
  background: var(--surface2) !important;
}
.table .col-chk {
  width: 44px;
  min-width: 44px;
  padding-inline: 10px;
}
.table .col-code {
  min-width: 140px;
}
.table .col-date {
  min-width: 110px;
  white-space: nowrap;
}
.table .col-cust {
  min-width: 170px;
}
.table .col-prod {
  min-width: 160px;
}
.table .col-total {
  min-width: 110px;
  white-space: nowrap;
}
.table .col-pay {
  min-width: 130px;
}
.table .col-status {
  min-width: 140px;
}
.table .col-actions {
  width: 125px;
  min-width: 125px;
}
.table .order-code-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.table .order-code-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--surface2);
  border-radius: var(--radius-sm, 8px);
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast, all 0.15s ease);
}
.table .order-code-link:hover {
  color: var(--accent);
  background: var(--surface3);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.table .order-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  max-width: 220px;
}
.table .cust-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.table .cust-info .cust-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.table .cust-info .cust-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}
.table .cust-info .cust-phone-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
}
.table .cust-info .cust-phone-row .cust-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  transition: var(--transition-fast);
}
.table .cust-info .cust-phone-row .cust-phone-link:hover {
  color: var(--accent);
}
.table .cust-info .cust-phone-row .cust-phone-link:hover .cust-phone-icon,
.table .cust-info .cust-phone-row .cust-phone-link:hover svg,
.table .cust-info .cust-phone-row .cust-phone-link:hover [data-lucide] {
  color: var(--accent);
  transform: scale(1.1);
}
.table .cust-info .cust-phone-row .cust-phone-link .cust-phone-icon,
.table .cust-info .cust-phone-row .cust-phone-link svg.cust-phone-icon,
.table .cust-info .cust-phone-row .cust-phone-link [data-lucide=phone] {
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  min-height: 12px !important;
  color: var(--text-muted);
  flex-shrink: 0;
  stroke-width: 2px;
}
.table .cust-info .cust-phone-row .cust-phone-link .cust-phone-num, .table .cust-info .cust-phone-row .cust-phone-link .cust-phone, .table .cust-info .cust-phone-row .cust-phone-link span {
  direction: ltr;
  unicode-bidi: embed;
  font-variant-numeric: tabular-nums;
  font-family: inherit;
  letter-spacing: 0.02em;
}
.table .cust-info .cust-phone-row .cust-phone {
  font-size: 0.78rem;
  color: var(--text-secondary);
  direction: ltr;
  unicode-bidi: embed;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.table .cust-info .cust-phone-row .mini-wa-btn, .table .cust-info .cust-phone-row .mini-icon-btn {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm, 5px);
  background: var(--success-subtle);
  color: var(--success);
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.table .cust-info .cust-phone-row .mini-wa-btn svg, .table .cust-info .cust-phone-row .mini-wa-btn [data-lucide], .table .cust-info .cust-phone-row .mini-wa-btn i, .table .cust-info .cust-phone-row .mini-icon-btn svg, .table .cust-info .cust-phone-row .mini-icon-btn [data-lucide], .table .cust-info .cust-phone-row .mini-icon-btn i {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.table .cust-info .cust-phone-row .mini-wa-btn:hover, .table .cust-info .cust-phone-row .mini-icon-btn:hover {
  background: var(--success);
  color: var(--text-inverse);
  transform: scale(1.08);
}
.table .cust-info .cust-phone-row .mini-wa-btn:hover svg, .table .cust-info .cust-phone-row .mini-wa-btn:hover [data-lucide], .table .cust-info .cust-phone-row .mini-wa-btn:hover i, .table .cust-info .cust-phone-row .mini-icon-btn:hover svg, .table .cust-info .cust-phone-row .mini-icon-btn:hover [data-lucide], .table .cust-info .cust-phone-row .mini-icon-btn:hover i {
  color: var(--text-inverse);
}
.table .mini-icon-btn {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-sm, 5px);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: var(--transition-fast);
}
.table .mini-icon-btn svg, .table .mini-icon-btn [data-lucide], .table .mini-icon-btn i {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.table .mini-icon-btn:hover {
  color: var(--text);
  background: var(--surface3);
}
.table .prod-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.table .prod-list .prod-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
}
.table .prod-list .prod-qty {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 1px 5px;
  border-radius: 4px;
}
.table .prod-list .prod-name {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.table .prod-list .prod-more {
  font-size: 0.72rem;
  font-weight: 600;
}
.table .total-cell {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-primary);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.table .shipping-cost {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.table .date-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}
.table .date-cell .date-primary {
  color: var(--text-primary);
  font-weight: 600;
}
.table .date-cell .date-secondary {
  font-size: 0.74rem;
  color: var(--text-muted);
}
.table .action-btns {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.orders-table tbody tr td {
  vertical-align: middle;
  padding: 13px 14px;
}
.orders-table .col-chk {
  width: 44px;
  min-width: 44px;
  padding-inline: 12px;
}
.orders-table .col-code {
  min-width: 140px;
}
.orders-table .col-date {
  min-width: 120px;
  white-space: nowrap;
}
.orders-table .col-cust {
  min-width: 180px;
}
.orders-table .col-prod {
  min-width: 160px;
}
.orders-table .col-total {
  min-width: 110px;
  white-space: nowrap;
}
.orders-table .col-pay {
  min-width: 130px;
}
.orders-table .col-status {
  min-width: 150px;
}
.orders-table .col-actions {
  width: 130px;
  min-width: 130px;
}

.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  gap: 12px;
  flex-wrap: wrap;
}
.table-footer .page-info {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.table-footer .footer-center {
  display: flex;
  align-items: center;
  gap: 8px;
}
.table-footer .page-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.table-footer .page-controls .page-nums {
  display: flex;
  align-items: center;
  gap: 4px;
}
.table-footer .page-controls .page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: var(--radius-sm, 8px);
  background: var(--surface2);
  border: none;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.table-footer .page-controls .page-btn svg, .table-footer .page-controls .page-btn i, .table-footer .page-controls .page-btn [data-lucide] {
  width: 14px;
  height: 14px;
}
.table-footer .page-controls .page-btn:hover:not(:disabled) {
  background: var(--surface3);
  border-color: var(--border2);
}
.table-footer .page-controls .page-btn.active {
  background: var(--text);
  color: var(--surface) !important;
  border-color: var(--text);
  font-weight: 700;
}
.table-footer .page-controls .page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
@media (max-width: 767.98px) {
  .table-footer {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
  }
  .table-footer .page-info {
    order: 2;
    text-align: center;
    font-size: 0.8rem;
  }
  .table-footer .footer-center {
    order: 1;
    width: 100%;
    justify-content: center;
  }
  .table-footer .page-controls {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.items-table {
  width: 100%;
  border-collapse: collapse;
}
.items-table th {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 16px;
  background: var(--surface2);
  border-bottom: 1.5px solid var(--border);
  text-align: start;
}
.items-table th:last-child {
  text-align: end;
}
.items-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  vertical-align: middle;
}
.items-table td:last-child {
  text-align: end;
}
.items-table tbody tr:hover {
  background: var(--surface2);
}
.items-table tbody tr:last-child td {
  border-bottom: none;
}

.item-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.item-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md, 12px);
  background: var(--surface2);
  border: none;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.item-img svg, .item-img [data-lucide] {
  width: 20px;
  height: 20px;
}

.item-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.3;
}

.item-vars {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 3px;
}

.qty-badge {
  background: var(--surface2);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  display: inline-block;
  border: none;
}

th.sortable {
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}
th.sortable:hover {
  color: var(--accent);
}
th.sortable .sort-icon {
  display: inline-flex;
  vertical-align: middle;
  margin-inline-start: 4px;
  opacity: 0.6;
}
th.sortable.active .sort-icon {
  opacity: 1;
  color: var(--accent);
}

.prod-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}
.prod-cell .prod-img {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-md, 14px);
  object-fit: cover;
  background: var(--surface2);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}
.prod-cell .prod-img:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-md);
}
.prod-cell .prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
}
.prod-cell .prod-img svg, .prod-cell .prod-img [data-lucide] {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}
.prod-cell .prod-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.prod-cell .prod-name {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text-primary);
  cursor: pointer;
  transition: color 0.15s ease;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod-cell .prod-name:hover {
  color: var(--accent);
}

.stock-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
}
.stock-cell .stock-main-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stock-cell .stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 0.84rem;
  color: var(--text-primary);
  min-width: 58px;
  justify-content: center;
}
.stock-cell .stock-pill .stock-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}
.stock-cell .stock-pill--low {
  background: var(--warning-subtle);
  color: var(--warning);
}
.stock-cell .stock-pill--low .stock-status-dot {
  background: var(--warning);
}
.stock-cell .stock-pill--out {
  background: var(--danger-subtle);
  color: var(--danger);
}
.stock-cell .stock-pill--out .stock-status-dot {
  background: var(--danger);
}
.stock-cell .btn-stock-quick {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface2);
  border: none;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast, all 0.15s);
  flex-shrink: 0;
}
.stock-cell .btn-stock-quick:hover {
  background: var(--surface3);
  color: var(--accent);
  transform: scale(1.08);
}
.stock-cell .btn-stock-quick svg, .stock-cell .btn-stock-quick [data-lucide] {
  width: 14px;
  height: 14px;
}
.stock-cell .stock-sub-status {
  font-size: 0.7rem;
  font-weight: 750;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
}
.stock-cell .stock-sub-status--low {
  color: var(--warning);
}
.stock-cell .stock-sub-status--out {
  color: var(--danger);
}
.stock-cell .stock-sub-status svg, .stock-cell .stock-sub-status [data-lucide] {
  width: 11px;
  height: 11px;
}
.stock-cell .stock-na {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.actions-cell {
  display: flex;
  align-items: center;
  gap: 6px;
}

.action-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface2);
  border: none;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast, all 0.15s);
}
.action-icon:hover {
  background: var(--surface3);
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.action-icon.del, .action-icon.cancel {
  color: var(--danger);
}
.action-icon.del:hover, .action-icon.cancel:hover {
  background: var(--danger-subtle);
  color: var(--danger);
}
.action-icon.wa {
  color: var(--success);
}
.action-icon.wa:hover {
  background: var(--success-subtle);
  color: var(--success);
}
.action-icon.confirm {
  color: var(--info);
}
.action-icon.confirm:hover {
  background: var(--info-subtle);
  color: var(--info);
}
.action-icon.complete {
  color: var(--success);
}
.action-icon.complete:hover {
  background: var(--success-subtle);
  color: var(--success);
}
.action-icon.edit {
  color: var(--accent);
}
.action-icon.edit:hover {
  background: var(--accent-glow);
  color: var(--accent);
}
.action-icon.resend {
  color: var(--warning);
}
.action-icon.resend:hover {
  background: var(--warning-subtle);
  color: var(--warning);
}
.action-icon.copy {
  color: var(--text-secondary);
}
.action-icon.copy:hover {
  background: var(--surface3);
  color: var(--text-primary);
}
.action-icon .spin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.action-icon svg, .action-icon [data-lucide] {
  width: 15px;
  height: 15px;
}

.catalogs-table-card {
  background: var(--surface);
  border: none;
  border-radius: var(--radius-2xl, 28px);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.catalogs-table-card .catalogs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
}
.catalogs-table-card .catalogs-table thead th {
  background: var(--surface2);
  padding: 14px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.catalogs-table-card .catalogs-table tbody tr {
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.15s ease;
}
.catalogs-table-card .catalogs-table tbody tr:hover {
  background: var(--surface2);
}
.catalogs-table-card .catalogs-table tbody tr td {
  padding: 14px 18px;
  font-size: 0.86rem;
  color: var(--text-primary);
  vertical-align: middle;
}
.catalogs-table-card .catalogs-table .table-catalog-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.catalogs-table-card .catalogs-table .table-catalog-cell .table-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--surface3);
  flex-shrink: 0;
}
.catalogs-table-card .catalogs-table .table-catalog-cell .table-info .table-title {
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}
.catalogs-table-card .catalogs-table .table-catalog-cell .table-info .table-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

@media (max-width: 767.98px) {
  .orders-table-card,
  #Orders-Vue .table-card {
    display: none !important;
  }
  .orders-cards-mobile {
    display: grid !important;
  }
}
@media (min-width: 768px) {
  .orders-table-card,
  #Orders-Vue .table-card {
    display: block !important;
  }
  .orders-cards-mobile {
    display: none !important;
  }
}
.heatmap-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.heatmap-scroll-wrap::-webkit-scrollbar {
  height: 5px;
}
.heatmap-scroll-wrap::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: var(--radius-full, 9999px);
}

.heatmap-inner-content {
  min-width: 560px;
  box-sizing: border-box;
}

.heatmap-hour-labels {
  display: flex;
  gap: 4px;
  margin-bottom: 6px;
}

.heatmap-day-spacer {
  width: 44px;
  flex-shrink: 0;
}

.heatmap-hour-label {
  flex: 1;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.heatmap-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.heatmap-row {
  display: flex;
  gap: 4px;
  align-items: center;
}

.heatmap-day-label {
  width: 44px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-align: end;
  padding-inline-end: 6px;
  flex-shrink: 0;
}

.heatmap-cells {
  display: flex;
  gap: 4px;
  flex: 1;
}

.heatmap-cell {
  flex: 1;
  height: 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.heatmap-cell:hover {
  transform: scale(1.3);
  z-index: 5;
  box-shadow: var(--shadow-sm);
}
.heatmap-cell.lvl-0 {
  background: var(--heatmap-lvl-0);
}
.heatmap-cell.lvl-1 {
  background: var(--heatmap-lvl-1);
}
.heatmap-cell.lvl-2 {
  background: var(--heatmap-lvl-2);
}
.heatmap-cell.lvl-3 {
  background: var(--heatmap-lvl-3);
}
.heatmap-cell.lvl-4 {
  background: var(--heatmap-lvl-4);
  box-shadow: 0 0 8px var(--heatmap-lvl-4-glow);
}

.legend-box {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}
.legend-box.legend-lvl-0 {
  background: var(--heatmap-lvl-0);
  border: 1px solid var(--border-subtle);
}
.legend-box.legend-lvl-1 {
  background: var(--heatmap-lvl-1);
}
.legend-box.legend-lvl-2 {
  background: var(--heatmap-lvl-2);
}
.legend-box.legend-lvl-3 {
  background: var(--heatmap-lvl-3);
}
.legend-box.legend-lvl-4 {
  background: var(--heatmap-lvl-4);
  box-shadow: 0 0 6px var(--heatmap-lvl-4-glow);
}

.gov-list, .ranked-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.gov-item, .ranked-breakdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: var(--surface2);
  border: none;
  border-radius: var(--radius-lg, 16px);
  transition: transform 0.2s ease, background 0.2s ease;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.gov-item:hover, .ranked-breakdown-item:hover {
  transform: translateY(-1px);
  background: var(--surface3);
}
@media (max-width: 640px) {
  .gov-item, .ranked-breakdown-item {
    flex-wrap: wrap;
    gap: 10px;
  }
  .gov-item .gov-stats, .ranked-breakdown-item .gov-stats {
    width: 100%;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px dashed var(--border-subtle);
  }
}

.gov-rank-badge {
  font-size: 0.8rem;
  font-weight: 800;
  min-width: 28px;
  text-align: center;
  flex-shrink: 0;
  color: var(--text-muted);
}
.gov-rank-badge.rank-1 {
  color: var(--warning);
}
.gov-rank-badge.rank-2 {
  color: var(--text-secondary);
}
.gov-rank-badge.rank-3 {
  color: var(--accent);
}

.gov-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gov-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.gov-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--text-primary);
  min-width: 0;
}
.gov-name span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gov-name svg, .gov-name [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--teal);
  flex-shrink: 0;
}

.gov-pct {
  font-size: 0.78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  flex-shrink: 0;
}

.gov-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.gov-stats .gov-orders-chip {
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.gov-stats .gov-revenue-chip {
  font-size: 0.88rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  color: var(--success);
  white-space: nowrap;
}

.prod-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.prod-info .prod-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md, 12px);
  object-fit: cover;
  background: var(--surface2);
  border: none;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.table__cell--success, td.table__cell--success {
  color: var(--success) !important;
  font-weight: 750;
}

.table__cell--warning, td.table__cell--warning {
  color: var(--warning) !important;
  font-weight: 750;
}

.table__cell--danger, td.table__cell--danger {
  color: var(--danger) !important;
  font-weight: 750;
}

.table__cell--accent, td.table__cell--accent {
  color: var(--accent) !important;
  font-weight: 750;
}

.stock-cell {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  min-width: 95px;
}
.stock-cell__main {
  display: flex;
  align-items: center;
  gap: 6px;
}
.stock-cell .stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  color: var(--text-primary);
  font-weight: 800;
  font-size: 0.84rem;
  min-width: 52px;
  justify-content: center;
  transition: var(--transition-fast);
}
.stock-cell .stock-pill .stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}
.stock-cell .stock-pill.stock-low {
  background: var(--warning-subtle);
  color: var(--warning);
}
.stock-cell .stock-pill.stock-low .stock-dot {
  background: var(--warning);
}
.stock-cell .stock-pill.stock-out {
  background: var(--danger-subtle);
  color: var(--danger);
}
.stock-cell .stock-pill.stock-out .stock-dot {
  background: var(--danger);
}
.stock-cell .btn-stock-quick {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface2);
  border: 1px solid var(--border-subtle, transparent);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}
.stock-cell .btn-stock-quick svg, .stock-cell .btn-stock-quick [data-lucide], .stock-cell .btn-stock-quick .lucide {
  width: 14px;
  height: 14px;
  stroke: currentColor !important;
  color: inherit !important;
}
.stock-cell .btn-stock-quick:hover {
  background: var(--text-primary) !important;
  color: var(--text-inverse) !important;
  transform: scale(1.08);
  box-shadow: var(--shadow-sm);
}
.stock-cell .btn-stock-quick:hover svg, .stock-cell .btn-stock-quick:hover [data-lucide], .stock-cell .btn-stock-quick:hover .lucide {
  stroke: var(--text-inverse) !important;
  color: var(--text-inverse) !important;
}
.stock-cell .btn-stock-quick:active {
  transform: scale(0.96);
}
.stock-cell .stock-sub-status {
  font-size: 0.7rem;
  font-weight: 750;
  white-space: nowrap;
}
.stock-cell--na {
  display: inline-flex;
}

.table-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  margin-top: 12px;
  border-top: 1px solid var(--border-subtle);
}
.table-pagination-bar .tpb-info {
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  gap: 5px;
}
.table-pagination-bar .tpb-info .tpb-highlight {
  font-weight: 800;
  color: var(--text-primary);
}
.table-pagination-bar .tpb-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.table-pagination-bar .tpb-controls .tpb-pages {
  display: flex;
  align-items: center;
  gap: 4px;
}
.table-pagination-bar .tpb-controls .tpb-btn,
.table-pagination-bar .tpb-controls .tpb-page-btn {
  min-width: 36px;
  height: 36px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface2);
  border: none;
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0 10px;
  user-select: none;
}
.table-pagination-bar .tpb-controls .tpb-btn svg, .table-pagination-bar .tpb-controls .tpb-btn [data-lucide],
.table-pagination-bar .tpb-controls .tpb-page-btn svg,
.table-pagination-bar .tpb-controls .tpb-page-btn [data-lucide] {
  width: 16px;
  height: 16px;
}
.table-pagination-bar .tpb-controls .tpb-btn:hover:not(:disabled),
.table-pagination-bar .tpb-controls .tpb-page-btn:hover:not(:disabled) {
  background: var(--surface3);
  transform: translateY(-1px);
}
.table-pagination-bar .tpb-controls .tpb-btn.active,
.table-pagination-bar .tpb-controls .tpb-page-btn.active {
  background: var(--text-primary);
  color: var(--text-inverse);
}
.table-pagination-bar .tpb-controls .tpb-btn:disabled,
.table-pagination-bar .tpb-controls .tpb-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.table-pagination-bar .tpb-controls .tpb-btn-nav {
  gap: 6px;
  padding: 0 12px;
}
.table-pagination-bar .tpb-controls .tpb-ellipsis {
  padding: 0 6px;
  color: var(--text-muted);
  font-weight: 800;
  user-select: none;
}
.table-pagination-bar .tpb-size-select {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.table-pagination-bar .tpb-size-select select {
  height: 34px;
  border-radius: var(--radius-md, 8px);
  background: var(--surface2);
  border: none;
  color: var(--text-primary);
  font-weight: 700;
  padding: 0 10px;
  outline: none;
  cursor: pointer;
}
@media (max-width: 768px) {
  .table-pagination-bar {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
  }
  .table-pagination-bar .tpb-info {
    width: 100%;
    justify-content: center;
  }
  .table-pagination-bar .tpb-controls {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.tpb-dropup {
  position: relative;
  display: inline-flex;
  user-select: none;
}
.tpb-dropup .tpb-dropup-trigger {
  height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-md, 8px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle, transparent);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tpb-dropup .tpb-dropup-trigger:hover, .tpb-dropup .tpb-dropup-trigger[aria-expanded=true] {
  background: var(--surface3);
  border-color: var(--border);
}
.tpb-dropup .tpb-dropup-trigger .tpb-dropup-icon {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}
.tpb-dropup.is-open .tpb-dropup-trigger .tpb-dropup-icon {
  color: var(--text-primary);
}
.tpb-dropup .tpb-dropup-menu {
  position: absolute;
  bottom: calc(100% + 6px);
  inset-inline-start: 0;
  min-width: 130px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 12px);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 3px;
  animation: dropupFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.tpb-dropup .tpb-dropup-item {
  padding: 8px 12px;
  border-radius: var(--radius-sm, 6px);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  width: 100%;
  text-align: start;
  transition: all 0.15s ease;
}
.tpb-dropup .tpb-dropup-item:hover {
  background: var(--surface2);
  color: var(--text-primary);
}
.tpb-dropup .tpb-dropup-item.is-selected {
  background: var(--surface3);
  color: var(--text-primary);
  font-weight: 750;
}
.tpb-dropup .tpb-dropup-item .item-check {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

@keyframes dropupFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mobile-pagination-bar {
  background: var(--surface);
  border-radius: var(--radius-lg, 16px);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.table-loading-bar {
  height: 3px;
  width: 100%;
  background: transparent;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: 3px 3px 0 0;
}
.table-loading-bar.is-active {
  opacity: 1;
  background: var(--surface2);
}
.table-loading-bar.is-active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: tableLinearProgress 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes tableLinearProgress {
  0% {
    left: -40%;
  }
  100% {
    left: 100%;
  }
}
tbody.is-fetching {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.prod-cards-mobile.is-fetching {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.catalogs-table-card {
  background: var(--surface, var(--bg-card));
  border-radius: var(--radius-2xl, 28px);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  padding: 0;
}
.catalogs-table-card .catalogs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.catalogs-table-card .catalogs-table thead th {
  background: var(--surface2);
  color: var(--text-secondary);
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  text-align: start;
  white-space: nowrap;
}
.catalogs-table-card .catalogs-table thead th.text-end {
  text-align: end;
}
.catalogs-table-card .catalogs-table tbody tr {
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
}
.catalogs-table-card .catalogs-table tbody tr:hover {
  background: var(--surface-hover, var(--surface2));
}
.catalogs-table-card .catalogs-table tbody tr:last-child {
  border-bottom: none;
}
.catalogs-table-card .catalogs-table tbody tr td {
  padding: 14px 18px;
  vertical-align: middle;
  color: var(--text-primary);
}
.catalogs-table-card .table-catalog-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.catalogs-table-card .table-catalog-cell .table-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md, 10px);
  object-fit: cover;
  background: var(--surface2);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.catalogs-table-card .table-catalog-cell .table-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.catalogs-table-card .table-catalog-cell .table-info .table-title {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.92rem;
}
.catalogs-table-card .table-catalog-cell .table-info .table-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

.cust-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cust-cell .avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md, 12px);
  background: var(--surface2);
  color: var(--text-primary);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}
.cust-cell .avatar.av-Loyal {
  background: var(--warning-subtle);
  color: var(--warning);
  border-color: var(--warning-border);
}
.cust-cell .avatar.av-Active {
  background: var(--info-subtle);
  color: var(--info);
  border-color: var(--info-border);
}
.cust-cell .avatar.av-Inactive {
  background: var(--surface3);
  color: var(--text-muted);
  border-color: var(--border-medium);
}
.cust-cell .cust-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
}
.cust-cell .cust-phone, .cust-cell .cust-email {
  font-size: 0.78rem;
  color: var(--text-muted);
  direction: ltr;
  font-variant-numeric: tabular-nums;
}

.orders-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.orders-label {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.spent-val {
  font-size: 1.05rem;
  font-weight: 850;
  color: var(--success);
  font-variant-numeric: tabular-nums;
}

.avg-order {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.notes-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notes-chip svg, .notes-chip [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.notes-chip:hover {
  background: var(--surface3);
  border-color: var(--border-medium);
  color: var(--text-primary);
  transform: translateY(-1px);
}
.notes-chip.has-note {
  background: var(--accent-subtle);
  border-color: var(--accent-glow);
  color: var(--accent);
}
.notes-chip.has-note svg, .notes-chip.has-note [data-lucide] {
  color: var(--accent);
}

.act-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.act-row .act-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md, 8px);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--surface2);
  color: var(--text-secondary);
  transition: var(--transition-fast, all 0.15s ease);
}
.act-row .act-btn svg, .act-row .act-btn [data-lucide] {
  width: 14px;
  height: 14px;
}
.act-row .act-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.act-row .act-btn.detail:hover {
  background: var(--surface3);
  color: var(--text-primary);
}
.act-row .act-btn.renew:hover {
  background: var(--success-subtle);
  color: var(--success);
}
.act-row .act-btn.remind:hover {
  background: var(--teal-subtle);
  color: var(--teal);
}
.act-row .act-btn.cancel:hover {
  background: var(--danger-subtle);
  color: var(--danger);
}

.col-sub-customer {
  width: 24%;
  min-width: 180px;
}

.col-sub-plan {
  width: 20%;
  min-width: 150px;
}

.col-sub-amount {
  width: 14%;
  min-width: 110px;
}

.col-sub-renewal {
  width: 18%;
  min-width: 130px;
}

.col-sub-start {
  width: 10%;
  min-width: 90px;
}

.col-sub-status {
  width: 8%;
  min-width: 90px;
}

.col-sub-actions {
  width: 6%;
  min-width: 140px;
  text-align: center;
}

.plan-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.period-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface2);
  padding: 3px 8px;
  border-radius: var(--radius-sm, 6px);
  margin-top: 4px;
}
.period-chip svg, .period-chip [data-lucide] {
  width: 12px;
  height: 12px;
}

.auto-renew-info {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-inline-start: 6px;
}
.auto-renew-info .auto-renew-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full, 50%);
  background: var(--success);
}

.amount-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.renewal-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.renewal-count svg, .renewal-count [data-lucide] {
  width: 11px;
  height: 11px;
}

.renewal-date {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.renewal-soon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--warning);
  margin-top: 2px;
}
.renewal-soon svg, .renewal-soon [data-lucide] {
  width: 12px;
  height: 12px;
}

.renewal-ok {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.table-loading-bar {
  height: 3px;
  width: 100%;
  background: transparent;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-full, 9999px);
}
.table-loading-bar.is-active {
  background: var(--surface2);
}
.table-loading-bar.is-active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 35%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: table-bar-anim 1.2s infinite ease-in-out;
}

@keyframes table-bar-anim {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(350%);
  }
}
.bulk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--surface2);
  border-radius: var(--radius-xl, 18px);
  box-shadow: var(--shadow-sm);
  gap: 12px;
  flex-wrap: wrap;
}
.bulk-bar .bulk-info {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-primary);
}
.bulk-bar .bulk-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tbl-review-quote {
  font-size: 0.84rem;
  color: var(--text-primary);
  max-width: 320px;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}

.tbl-reply-preview {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--surface2);
  padding: 4px 10px;
  border-radius: var(--radius-sm, 8px);
  max-width: 260px;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.tr-muted {
  background: var(--danger-subtle) !important;
}
.tr-muted td {
  color: var(--text-secondary);
}

.table td .pub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.max-w-160 {
  max-width: 160px;
  display: inline-block;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full, 9999px);
  font-size: var(--text-2xs, 0.74rem);
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  border: 1px solid transparent;
  user-select: none;
  vertical-align: middle;
}
.badge svg, .badge i, .badge [data-lucide] {
  width: 12px;
  height: 12px;
  stroke-width: 2.2;
  flex-shrink: 0;
}
.badge .badge__dot, .badge .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  flex-shrink: 0;
}
.badge[href], .badge--clickable, .badge button.badge {
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease, filter 0.15s ease;
}
.badge[href]:hover, .badge--clickable:hover, .badge button.badge:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.badge[href]:active, .badge--clickable:active, .badge button.badge:active {
  transform: translateY(0);
}

.badge--success, .badge-success, .badge--success-subtle,
.status-badge.active, .status-badge.paid, .status-badge.delivered, .status-badge.completed,
.st-badge-confirmed, .st-badge-paid, .st-badge-delivered {
  background: var(--success-subtle);
  color: var(--success);
  border-color: var(--success-border);
}

.badge--danger, .badge-danger, .badge--danger-subtle,
.status-badge.cancelled, .status-badge.failed, .status-badge.rejected,
.st-badge-cancelled, .st-badge-payment-failed, .st-badge-high-risk {
  background: var(--danger-subtle);
  color: var(--danger);
  border-color: var(--danger-border);
}

.badge--warning, .badge-warning, .badge--warning-subtle,
.status-badge.pending, .status-badge.processing, .status-badge.under_review,
.st-badge-under-review, .st-badge-awaiting-payment, .st-badge-preparing-shipping, .st-badge-awaiting-shipment {
  background: var(--warning-subtle);
  color: var(--warning);
  border-color: var(--warning-border);
}

.badge--info, .badge-info, .badge--info-subtle,
.status-badge.shipped,
.st-badge-shipped, .st-badge-out-delivery {
  background: var(--info-subtle);
  color: var(--info);
  border-color: var(--info-border);
}

.badge--purple, .badge-purple, .badge--purple-subtle,
.st-badge-returned, .st-badge-returned-shipping, .st-badge-return-requested, .st-badge-return-transit, .st-badge-moderate-risk {
  background: var(--purple-subtle);
  color: var(--purple);
  border-color: var(--purple-subtle);
}

.badge--secondary, .badge-secondary {
  background: var(--surface2);
  color: var(--text-secondary);
  border-color: var(--border-subtle);
}

.badge--primary, .badge-primary, .badge--accent, .badge-accent {
  background: var(--surface3);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.badge--sm, .badge-sm {
  padding: 2px 7px;
  font-size: 0.68rem;
  gap: 4px;
}
.badge--sm svg, .badge--sm i, .badge--sm [data-lucide], .badge-sm svg, .badge-sm i, .badge-sm [data-lucide] {
  width: 10px;
  height: 10px;
}

.badge--lg, .badge-lg {
  padding: 6px 14px;
  font-size: var(--text-xs, 0.8rem);
  gap: 8px;
}
.badge--lg svg, .badge--lg i, .badge--lg [data-lucide], .badge-lg svg, .badge-lg i, .badge-lg [data-lucide] {
  width: 14px;
  height: 14px;
}

.badge--pill, .badge-pill, .status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  font-size: var(--text-2xs, 0.74rem);
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  border: 1px solid transparent;
}
.badge--pill.active, .badge--pill.success, .badge-pill.active, .badge-pill.success, .status-pill.active, .status-pill.success {
  background: var(--success-subtle);
  color: var(--success);
  border-color: var(--success-border);
}
.badge--pill.draft, .badge--pill.warning, .badge-pill.draft, .badge-pill.warning, .status-pill.draft, .status-pill.warning {
  background: var(--warning-subtle);
  color: var(--warning);
  border-color: var(--warning-border);
}
.badge--pill.inactive, .badge--pill.danger, .badge-pill.inactive, .badge-pill.danger, .status-pill.inactive, .status-pill.danger {
  background: var(--danger-subtle);
  color: var(--danger);
  border-color: var(--danger-border);
}

.mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.73rem;
  font-weight: 750;
  line-height: 1.25;
  white-space: nowrap;
  border: 1px solid transparent;
  user-select: none;
  vertical-align: middle;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.mode-pill svg, .mode-pill i, .mode-pill [data-lucide] {
  width: 13px;
  height: 13px;
  stroke-width: 2.2;
  flex-shrink: 0;
}
.mode-pill.mode-checklist {
  background: var(--success-subtle);
  color: var(--success);
  border-color: var(--success-border);
}
.mode-pill.mode-package {
  background: var(--info-subtle);
  color: var(--info);
  border-color: var(--info-border);
}
.mode-pill.mode-visual {
  background: var(--purple-subtle);
  color: var(--purple);
  border-color: var(--purple-border);
}
.mode-pill.mode-budget {
  background: var(--warning-subtle);
  color: var(--warning);
  border-color: var(--warning-border);
}
.catalog-cover-wrap .mode-pill {
  background: var(--overlay-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-medium);
  color: var(--text-white);
}
.catalog-cover-wrap .mode-pill span {
  color: var(--text-white);
  font-weight: 800;
}
.catalog-cover-wrap .mode-pill.mode-visual {
  border-color: var(--purple-border);
}
.catalog-cover-wrap .mode-pill.mode-visual svg, .catalog-cover-wrap .mode-pill.mode-visual i, .catalog-cover-wrap .mode-pill.mode-visual [data-lucide] {
  color: var(--purple);
}

.badge-verified,
.badge--verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  font-size: var(--text-2xs, 0.74rem);
  font-weight: 600;
  line-height: 1.25;
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid var(--success-border);
  box-shadow: 0 0 10px var(--success-subtle);
}
.badge-verified svg, .badge-verified i, .badge-verified [data-lucide],
.badge--verified svg,
.badge--verified i,
.badge--verified [data-lucide] {
  width: 13px;
  height: 13px;
  color: var(--success);
  stroke-width: 2.2;
}

.badge--country {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: var(--radius-full, 9999px);
}
.badge--country .country-flag {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}

.status-dot, .status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  flex-shrink: 0;
}
.status-dot.active, .status-dot.success, .status-indicator.active, .status-indicator.success {
  background: var(--success);
}
.status-dot.danger, .status-dot.failed, .status-indicator.danger, .status-indicator.failed {
  background: var(--danger);
}
.status-dot.warning, .status-dot.pending, .status-indicator.warning, .status-indicator.pending {
  background: var(--warning);
}
.status-dot.info, .status-indicator.info {
  background: var(--info);
}
.status-dot.draft, .status-dot.inactive, .status-indicator.draft, .status-indicator.inactive {
  background: var(--muted);
}

.badge-get {
  color: var(--badge-get);
  background: var(--badge-get-bg);
  border-color: var(--border-medium);
}

.badge-post {
  color: var(--badge-post);
  background: var(--badge-post-bg);
  border-color: var(--border-strong);
}

.badge-put {
  color: var(--badge-put);
  background: var(--badge-put-bg);
}

.badge-delete {
  color: var(--badge-delete);
  background: var(--badge-delete-bg);
}

.chips {
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
  flex-wrap: wrap;
  margin: 8px 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  font-size: var(--text-xs, 0.82rem);
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: var(--transition-fast);
}
.chip:hover {
  background: var(--surface3);
  color: var(--text-primary);
  border-color: var(--accent);
}
.chip.active, .chip--active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 2px 8px var(--accent-glow);
}
.chip.active .chip-icon, .chip.active svg, .chip.active i, .chip--active .chip-icon, .chip--active svg, .chip--active i {
  color: var(--text-inverse);
}
.chip.active .count-badge, .chip--active .count-badge {
  background: var(--border-strong);
  color: var(--text-inverse);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-xs, 4px);
  font-size: var(--text-2xs, 0.72rem);
  font-weight: 600;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.count-badge {
  font-size: var(--text-2xs, 0.72rem);
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.status-pill, .status-pill-wrap, .status-select-wrap, .status-pill-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full, 9999px);
  border: none !important;
  background: var(--surface2);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  user-select: none;
  box-shadow: var(--shadow-xs);
}
.status-pill--block, .status-pill.w-100, .status-pill-wrap--block, .status-pill-wrap.w-100, .status-select-wrap--block, .status-select-wrap.w-100, .status-pill-select--block, .status-pill-select.w-100 {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-md, 12px);
  width: 100%;
}
.status-pill:hover, .status-pill-wrap:hover, .status-select-wrap:hover, .status-pill-select:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.status-pill.is-open, .status-pill-wrap.is-open, .status-select-wrap.is-open, .status-pill-select.is-open {
  box-shadow: 0 0 0 2px var(--border-medium);
}
.status-pill .status-pill-icon, .status-pill-wrap .status-pill-icon, .status-select-wrap .status-pill-icon, .status-pill-select .status-pill-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.status-pill .btn-cs-arrow, .status-pill-wrap .btn-cs-arrow, .status-select-wrap .btn-cs-arrow, .status-pill-select .btn-cs-arrow {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  opacity: 0.75;
  transition: transform 0.2s;
}
.status-pill > .status-dot, .status-pill-wrap > .status-dot, .status-select-wrap > .status-dot, .status-pill-select > .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-pill, .status-pill-wrap, .status-select-wrap, .status-pill-select {
  /* 1. تحت المراجعة (Under Review / Pending) */
}
.status-pill.st-Pending, .status-pill.st-UnderReview, .status-pill-wrap.st-Pending, .status-pill-wrap.st-UnderReview, .status-select-wrap.st-Pending, .status-select-wrap.st-UnderReview, .status-pill-select.st-Pending, .status-pill-select.st-UnderReview {
  background: var(--warning-subtle);
  border-color: var(--warning-border);
  color: var(--warning);
}
.status-pill.st-Pending svg, .status-pill.st-Pending i, .status-pill.st-Pending .status-pill-icon, .status-pill.st-Pending .btn-cs-arrow, .status-pill.st-UnderReview svg, .status-pill.st-UnderReview i, .status-pill.st-UnderReview .status-pill-icon, .status-pill.st-UnderReview .btn-cs-arrow, .status-pill-wrap.st-Pending svg, .status-pill-wrap.st-Pending i, .status-pill-wrap.st-Pending .status-pill-icon, .status-pill-wrap.st-Pending .btn-cs-arrow, .status-pill-wrap.st-UnderReview svg, .status-pill-wrap.st-UnderReview i, .status-pill-wrap.st-UnderReview .status-pill-icon, .status-pill-wrap.st-UnderReview .btn-cs-arrow, .status-select-wrap.st-Pending svg, .status-select-wrap.st-Pending i, .status-select-wrap.st-Pending .status-pill-icon, .status-select-wrap.st-Pending .btn-cs-arrow, .status-select-wrap.st-UnderReview svg, .status-select-wrap.st-UnderReview i, .status-select-wrap.st-UnderReview .status-pill-icon, .status-select-wrap.st-UnderReview .btn-cs-arrow, .status-pill-select.st-Pending svg, .status-pill-select.st-Pending i, .status-pill-select.st-Pending .status-pill-icon, .status-pill-select.st-Pending .btn-cs-arrow, .status-pill-select.st-UnderReview svg, .status-pill-select.st-UnderReview i, .status-pill-select.st-UnderReview .status-pill-icon, .status-pill-select.st-UnderReview .btn-cs-arrow {
  color: var(--warning);
}
.status-pill.st-Pending > .status-dot, .status-pill.st-UnderReview > .status-dot, .status-pill-wrap.st-Pending > .status-dot, .status-pill-wrap.st-UnderReview > .status-dot, .status-select-wrap.st-Pending > .status-dot, .status-select-wrap.st-UnderReview > .status-dot, .status-pill-select.st-Pending > .status-dot, .status-pill-select.st-UnderReview > .status-dot {
  background: var(--warning);
}
.status-pill, .status-pill-wrap, .status-select-wrap, .status-pill-select {
  /* 2. تم التأكيد (Confirmed) */
}
.status-pill.st-Confirmed, .status-pill.st-ShippingConfirmed, .status-pill-wrap.st-Confirmed, .status-pill-wrap.st-ShippingConfirmed, .status-select-wrap.st-Confirmed, .status-select-wrap.st-ShippingConfirmed, .status-pill-select.st-Confirmed, .status-pill-select.st-ShippingConfirmed {
  background: var(--success-subtle);
  border-color: var(--success-border);
  color: var(--success);
}
.status-pill.st-Confirmed svg, .status-pill.st-Confirmed i, .status-pill.st-Confirmed .status-pill-icon, .status-pill.st-Confirmed .btn-cs-arrow, .status-pill.st-ShippingConfirmed svg, .status-pill.st-ShippingConfirmed i, .status-pill.st-ShippingConfirmed .status-pill-icon, .status-pill.st-ShippingConfirmed .btn-cs-arrow, .status-pill-wrap.st-Confirmed svg, .status-pill-wrap.st-Confirmed i, .status-pill-wrap.st-Confirmed .status-pill-icon, .status-pill-wrap.st-Confirmed .btn-cs-arrow, .status-pill-wrap.st-ShippingConfirmed svg, .status-pill-wrap.st-ShippingConfirmed i, .status-pill-wrap.st-ShippingConfirmed .status-pill-icon, .status-pill-wrap.st-ShippingConfirmed .btn-cs-arrow, .status-select-wrap.st-Confirmed svg, .status-select-wrap.st-Confirmed i, .status-select-wrap.st-Confirmed .status-pill-icon, .status-select-wrap.st-Confirmed .btn-cs-arrow, .status-select-wrap.st-ShippingConfirmed svg, .status-select-wrap.st-ShippingConfirmed i, .status-select-wrap.st-ShippingConfirmed .status-pill-icon, .status-select-wrap.st-ShippingConfirmed .btn-cs-arrow, .status-pill-select.st-Confirmed svg, .status-pill-select.st-Confirmed i, .status-pill-select.st-Confirmed .status-pill-icon, .status-pill-select.st-Confirmed .btn-cs-arrow, .status-pill-select.st-ShippingConfirmed svg, .status-pill-select.st-ShippingConfirmed i, .status-pill-select.st-ShippingConfirmed .status-pill-icon, .status-pill-select.st-ShippingConfirmed .btn-cs-arrow {
  color: var(--success);
}
.status-pill.st-Confirmed > .status-dot, .status-pill.st-ShippingConfirmed > .status-dot, .status-pill-wrap.st-Confirmed > .status-dot, .status-pill-wrap.st-ShippingConfirmed > .status-dot, .status-select-wrap.st-Confirmed > .status-dot, .status-select-wrap.st-ShippingConfirmed > .status-dot, .status-pill-select.st-Confirmed > .status-dot, .status-pill-select.st-ShippingConfirmed > .status-dot {
  background: var(--success);
}
.status-pill, .status-pill-wrap, .status-select-wrap, .status-pill-select {
  /* 3. في انتظار الدفع (Awaiting Payment) */
}
.status-pill.st-AwaitingPayment, .status-pill-wrap.st-AwaitingPayment, .status-select-wrap.st-AwaitingPayment, .status-pill-select.st-AwaitingPayment {
  background: var(--warning-subtle);
  border-color: var(--warning-border);
  color: var(--warning);
}
.status-pill.st-AwaitingPayment svg, .status-pill.st-AwaitingPayment i, .status-pill.st-AwaitingPayment .status-pill-icon, .status-pill.st-AwaitingPayment .btn-cs-arrow, .status-pill-wrap.st-AwaitingPayment svg, .status-pill-wrap.st-AwaitingPayment i, .status-pill-wrap.st-AwaitingPayment .status-pill-icon, .status-pill-wrap.st-AwaitingPayment .btn-cs-arrow, .status-select-wrap.st-AwaitingPayment svg, .status-select-wrap.st-AwaitingPayment i, .status-select-wrap.st-AwaitingPayment .status-pill-icon, .status-select-wrap.st-AwaitingPayment .btn-cs-arrow, .status-pill-select.st-AwaitingPayment svg, .status-pill-select.st-AwaitingPayment i, .status-pill-select.st-AwaitingPayment .status-pill-icon, .status-pill-select.st-AwaitingPayment .btn-cs-arrow {
  color: var(--warning);
}
.status-pill.st-AwaitingPayment > .status-dot, .status-pill-wrap.st-AwaitingPayment > .status-dot, .status-select-wrap.st-AwaitingPayment > .status-dot, .status-pill-select.st-AwaitingPayment > .status-dot {
  background: var(--warning);
}
.status-pill, .status-pill-wrap, .status-select-wrap, .status-pill-select {
  /* 4. تم الدفع (Paid) */
}
.status-pill.st-Paid, .status-pill-wrap.st-Paid, .status-select-wrap.st-Paid, .status-pill-select.st-Paid {
  background: var(--success-subtle);
  border-color: var(--success-border);
  color: var(--success);
}
.status-pill.st-Paid svg, .status-pill.st-Paid i, .status-pill.st-Paid .status-pill-icon, .status-pill.st-Paid .btn-cs-arrow, .status-pill-wrap.st-Paid svg, .status-pill-wrap.st-Paid i, .status-pill-wrap.st-Paid .status-pill-icon, .status-pill-wrap.st-Paid .btn-cs-arrow, .status-select-wrap.st-Paid svg, .status-select-wrap.st-Paid i, .status-select-wrap.st-Paid .status-pill-icon, .status-select-wrap.st-Paid .btn-cs-arrow, .status-pill-select.st-Paid svg, .status-pill-select.st-Paid i, .status-pill-select.st-Paid .status-pill-icon, .status-pill-select.st-Paid .btn-cs-arrow {
  color: var(--success);
}
.status-pill.st-Paid > .status-dot, .status-pill-wrap.st-Paid > .status-dot, .status-select-wrap.st-Paid > .status-dot, .status-pill-select.st-Paid > .status-dot {
  background: var(--success);
}
.status-pill, .status-pill-wrap, .status-select-wrap, .status-pill-select {
  /* 5. فشل الدفع (Payment Failed) */
}
.status-pill.st-PaymentFailed, .status-pill-wrap.st-PaymentFailed, .status-select-wrap.st-PaymentFailed, .status-pill-select.st-PaymentFailed {
  background: var(--danger-subtle);
  border-color: var(--danger-border);
  color: var(--danger);
}
.status-pill.st-PaymentFailed svg, .status-pill.st-PaymentFailed i, .status-pill.st-PaymentFailed .status-pill-icon, .status-pill.st-PaymentFailed .btn-cs-arrow, .status-pill-wrap.st-PaymentFailed svg, .status-pill-wrap.st-PaymentFailed i, .status-pill-wrap.st-PaymentFailed .status-pill-icon, .status-pill-wrap.st-PaymentFailed .btn-cs-arrow, .status-select-wrap.st-PaymentFailed svg, .status-select-wrap.st-PaymentFailed i, .status-select-wrap.st-PaymentFailed .status-pill-icon, .status-select-wrap.st-PaymentFailed .btn-cs-arrow, .status-pill-select.st-PaymentFailed svg, .status-pill-select.st-PaymentFailed i, .status-pill-select.st-PaymentFailed .status-pill-icon, .status-pill-select.st-PaymentFailed .btn-cs-arrow {
  color: var(--danger);
}
.status-pill.st-PaymentFailed > .status-dot, .status-pill-wrap.st-PaymentFailed > .status-dot, .status-select-wrap.st-PaymentFailed > .status-dot, .status-pill-select.st-PaymentFailed > .status-dot {
  background: var(--danger);
}
.status-pill, .status-pill-wrap, .status-select-wrap, .status-pill-select {
  /* 6. قيد التجهيز للشحن (Preparing for Shipping / Processing) */
}
.status-pill.st-Processing, .status-pill.st-PreparingForShipping, .status-pill-wrap.st-Processing, .status-pill-wrap.st-PreparingForShipping, .status-select-wrap.st-Processing, .status-select-wrap.st-PreparingForShipping, .status-pill-select.st-Processing, .status-pill-select.st-PreparingForShipping {
  background: var(--warning-subtle);
  border-color: var(--warning-border);
  color: var(--warning);
}
.status-pill.st-Processing svg, .status-pill.st-Processing i, .status-pill.st-Processing .status-pill-icon, .status-pill.st-Processing .btn-cs-arrow, .status-pill.st-PreparingForShipping svg, .status-pill.st-PreparingForShipping i, .status-pill.st-PreparingForShipping .status-pill-icon, .status-pill.st-PreparingForShipping .btn-cs-arrow, .status-pill-wrap.st-Processing svg, .status-pill-wrap.st-Processing i, .status-pill-wrap.st-Processing .status-pill-icon, .status-pill-wrap.st-Processing .btn-cs-arrow, .status-pill-wrap.st-PreparingForShipping svg, .status-pill-wrap.st-PreparingForShipping i, .status-pill-wrap.st-PreparingForShipping .status-pill-icon, .status-pill-wrap.st-PreparingForShipping .btn-cs-arrow, .status-select-wrap.st-Processing svg, .status-select-wrap.st-Processing i, .status-select-wrap.st-Processing .status-pill-icon, .status-select-wrap.st-Processing .btn-cs-arrow, .status-select-wrap.st-PreparingForShipping svg, .status-select-wrap.st-PreparingForShipping i, .status-select-wrap.st-PreparingForShipping .status-pill-icon, .status-select-wrap.st-PreparingForShipping .btn-cs-arrow, .status-pill-select.st-Processing svg, .status-pill-select.st-Processing i, .status-pill-select.st-Processing .status-pill-icon, .status-pill-select.st-Processing .btn-cs-arrow, .status-pill-select.st-PreparingForShipping svg, .status-pill-select.st-PreparingForShipping i, .status-pill-select.st-PreparingForShipping .status-pill-icon, .status-pill-select.st-PreparingForShipping .btn-cs-arrow {
  color: var(--warning);
}
.status-pill.st-Processing > .status-dot, .status-pill.st-PreparingForShipping > .status-dot, .status-pill-wrap.st-Processing > .status-dot, .status-pill-wrap.st-PreparingForShipping > .status-dot, .status-select-wrap.st-Processing > .status-dot, .status-select-wrap.st-PreparingForShipping > .status-dot, .status-pill-select.st-Processing > .status-dot, .status-pill-select.st-PreparingForShipping > .status-dot {
  background: var(--warning);
}
.status-pill, .status-pill-wrap, .status-select-wrap, .status-pill-select {
  /* 7. بانتظار الشحن (Awaiting Shipment) */
}
.status-pill.st-AwaitingShipment, .status-pill-wrap.st-AwaitingShipment, .status-select-wrap.st-AwaitingShipment, .status-pill-select.st-AwaitingShipment {
  background: var(--warning-subtle);
  border-color: var(--warning-border);
  color: var(--warning);
}
.status-pill.st-AwaitingShipment svg, .status-pill.st-AwaitingShipment i, .status-pill.st-AwaitingShipment .status-pill-icon, .status-pill.st-AwaitingShipment .btn-cs-arrow, .status-pill-wrap.st-AwaitingShipment svg, .status-pill-wrap.st-AwaitingShipment i, .status-pill-wrap.st-AwaitingShipment .status-pill-icon, .status-pill-wrap.st-AwaitingShipment .btn-cs-arrow, .status-select-wrap.st-AwaitingShipment svg, .status-select-wrap.st-AwaitingShipment i, .status-select-wrap.st-AwaitingShipment .status-pill-icon, .status-select-wrap.st-AwaitingShipment .btn-cs-arrow, .status-pill-select.st-AwaitingShipment svg, .status-pill-select.st-AwaitingShipment i, .status-pill-select.st-AwaitingShipment .status-pill-icon, .status-pill-select.st-AwaitingShipment .btn-cs-arrow {
  color: var(--warning);
}
.status-pill.st-AwaitingShipment > .status-dot, .status-pill-wrap.st-AwaitingShipment > .status-dot, .status-select-wrap.st-AwaitingShipment > .status-dot, .status-pill-select.st-AwaitingShipment > .status-dot {
  background: var(--warning);
}
.status-pill, .status-pill-wrap, .status-select-wrap, .status-pill-select {
  /* 8. تم الشحن (Shipped) */
}
.status-pill.st-Shipped, .status-pill-wrap.st-Shipped, .status-select-wrap.st-Shipped, .status-pill-select.st-Shipped {
  background: var(--warning-subtle);
  border-color: var(--warning-border);
  color: var(--warning);
}
.status-pill.st-Shipped svg, .status-pill.st-Shipped i, .status-pill.st-Shipped .status-pill-icon, .status-pill.st-Shipped .btn-cs-arrow, .status-pill-wrap.st-Shipped svg, .status-pill-wrap.st-Shipped i, .status-pill-wrap.st-Shipped .status-pill-icon, .status-pill-wrap.st-Shipped .btn-cs-arrow, .status-select-wrap.st-Shipped svg, .status-select-wrap.st-Shipped i, .status-select-wrap.st-Shipped .status-pill-icon, .status-select-wrap.st-Shipped .btn-cs-arrow, .status-pill-select.st-Shipped svg, .status-pill-select.st-Shipped i, .status-pill-select.st-Shipped .status-pill-icon, .status-pill-select.st-Shipped .btn-cs-arrow {
  color: var(--warning);
}
.status-pill.st-Shipped > .status-dot, .status-pill-wrap.st-Shipped > .status-dot, .status-select-wrap.st-Shipped > .status-dot, .status-pill-select.st-Shipped > .status-dot {
  background: var(--warning);
}
.status-pill, .status-pill-wrap, .status-select-wrap, .status-pill-select {
  /* 9. قيد التوصيل (Out for Delivery) */
}
.status-pill.st-OutForDelivery, .status-pill-wrap.st-OutForDelivery, .status-select-wrap.st-OutForDelivery, .status-pill-select.st-OutForDelivery {
  background: var(--info-subtle);
  border-color: var(--info-border);
  color: var(--info);
}
.status-pill.st-OutForDelivery svg, .status-pill.st-OutForDelivery i, .status-pill.st-OutForDelivery .status-pill-icon, .status-pill.st-OutForDelivery .btn-cs-arrow, .status-pill-wrap.st-OutForDelivery svg, .status-pill-wrap.st-OutForDelivery i, .status-pill-wrap.st-OutForDelivery .status-pill-icon, .status-pill-wrap.st-OutForDelivery .btn-cs-arrow, .status-select-wrap.st-OutForDelivery svg, .status-select-wrap.st-OutForDelivery i, .status-select-wrap.st-OutForDelivery .status-pill-icon, .status-select-wrap.st-OutForDelivery .btn-cs-arrow, .status-pill-select.st-OutForDelivery svg, .status-pill-select.st-OutForDelivery i, .status-pill-select.st-OutForDelivery .status-pill-icon, .status-pill-select.st-OutForDelivery .btn-cs-arrow {
  color: var(--info);
}
.status-pill.st-OutForDelivery > .status-dot, .status-pill-wrap.st-OutForDelivery > .status-dot, .status-select-wrap.st-OutForDelivery > .status-dot, .status-pill-select.st-OutForDelivery > .status-dot {
  background: var(--info);
}
.status-pill, .status-pill-wrap, .status-select-wrap, .status-pill-select {
  /* 10. تم التوصيل (Delivered) */
}
.status-pill.st-Delivered, .status-pill-wrap.st-Delivered, .status-select-wrap.st-Delivered, .status-pill-select.st-Delivered {
  background: var(--success-subtle);
  border-color: var(--success-border);
  color: var(--success);
}
.status-pill.st-Delivered svg, .status-pill.st-Delivered i, .status-pill.st-Delivered .status-pill-icon, .status-pill.st-Delivered .btn-cs-arrow, .status-pill-wrap.st-Delivered svg, .status-pill-wrap.st-Delivered i, .status-pill-wrap.st-Delivered .status-pill-icon, .status-pill-wrap.st-Delivered .btn-cs-arrow, .status-select-wrap.st-Delivered svg, .status-select-wrap.st-Delivered i, .status-select-wrap.st-Delivered .status-pill-icon, .status-select-wrap.st-Delivered .btn-cs-arrow, .status-pill-select.st-Delivered svg, .status-pill-select.st-Delivered i, .status-pill-select.st-Delivered .status-pill-icon, .status-pill-select.st-Delivered .btn-cs-arrow {
  color: var(--success);
}
.status-pill.st-Delivered > .status-dot, .status-pill-wrap.st-Delivered > .status-dot, .status-select-wrap.st-Delivered > .status-dot, .status-pill-select.st-Delivered > .status-dot {
  background: var(--success);
}
.status-pill, .status-pill-wrap, .status-select-wrap, .status-pill-select {
  /* 11. تم إلغاء الطلب (Order Cancelled) */
}
.status-pill.st-Cancelled, .status-pill-wrap.st-Cancelled, .status-select-wrap.st-Cancelled, .status-pill-select.st-Cancelled {
  background: var(--danger-subtle);
  border-color: var(--danger-border);
  color: var(--danger);
}
.status-pill.st-Cancelled svg, .status-pill.st-Cancelled i, .status-pill.st-Cancelled .status-pill-icon, .status-pill.st-Cancelled .btn-cs-arrow, .status-pill-wrap.st-Cancelled svg, .status-pill-wrap.st-Cancelled i, .status-pill-wrap.st-Cancelled .status-pill-icon, .status-pill-wrap.st-Cancelled .btn-cs-arrow, .status-select-wrap.st-Cancelled svg, .status-select-wrap.st-Cancelled i, .status-select-wrap.st-Cancelled .status-pill-icon, .status-select-wrap.st-Cancelled .btn-cs-arrow, .status-pill-select.st-Cancelled svg, .status-pill-select.st-Cancelled i, .status-pill-select.st-Cancelled .status-pill-icon, .status-pill-select.st-Cancelled .btn-cs-arrow {
  color: var(--danger);
}
.status-pill.st-Cancelled > .status-dot, .status-pill-wrap.st-Cancelled > .status-dot, .status-select-wrap.st-Cancelled > .status-dot, .status-pill-select.st-Cancelled > .status-dot {
  background: var(--danger);
}
.status-pill, .status-pill-wrap, .status-select-wrap, .status-pill-select {
  /* 12. مرتجع من الشحن (Returned from Shipping) */
}
.status-pill.st-ReturnedFromShipping, .status-pill-wrap.st-ReturnedFromShipping, .status-select-wrap.st-ReturnedFromShipping, .status-pill-select.st-ReturnedFromShipping {
  background: var(--warning-subtle);
  border-color: var(--warning-border);
  color: var(--warning);
}
.status-pill.st-ReturnedFromShipping svg, .status-pill.st-ReturnedFromShipping i, .status-pill.st-ReturnedFromShipping .status-pill-icon, .status-pill.st-ReturnedFromShipping .btn-cs-arrow, .status-pill-wrap.st-ReturnedFromShipping svg, .status-pill-wrap.st-ReturnedFromShipping i, .status-pill-wrap.st-ReturnedFromShipping .status-pill-icon, .status-pill-wrap.st-ReturnedFromShipping .btn-cs-arrow, .status-select-wrap.st-ReturnedFromShipping svg, .status-select-wrap.st-ReturnedFromShipping i, .status-select-wrap.st-ReturnedFromShipping .status-pill-icon, .status-select-wrap.st-ReturnedFromShipping .btn-cs-arrow, .status-pill-select.st-ReturnedFromShipping svg, .status-pill-select.st-ReturnedFromShipping i, .status-pill-select.st-ReturnedFromShipping .status-pill-icon, .status-pill-select.st-ReturnedFromShipping .btn-cs-arrow {
  color: var(--warning);
}
.status-pill.st-ReturnedFromShipping > .status-dot, .status-pill-wrap.st-ReturnedFromShipping > .status-dot, .status-select-wrap.st-ReturnedFromShipping > .status-dot, .status-pill-select.st-ReturnedFromShipping > .status-dot {
  background: var(--warning);
}
.status-pill, .status-pill-wrap, .status-select-wrap, .status-pill-select {
  /* 13. العميل طلب الإرجاع (Return Requested) */
}
.status-pill.st-ReturnRequested, .status-pill-wrap.st-ReturnRequested, .status-select-wrap.st-ReturnRequested, .status-pill-select.st-ReturnRequested {
  background: var(--warning-subtle);
  border-color: var(--warning-border);
  color: var(--warning);
}
.status-pill.st-ReturnRequested svg, .status-pill.st-ReturnRequested i, .status-pill.st-ReturnRequested .status-pill-icon, .status-pill.st-ReturnRequested .btn-cs-arrow, .status-pill-wrap.st-ReturnRequested svg, .status-pill-wrap.st-ReturnRequested i, .status-pill-wrap.st-ReturnRequested .status-pill-icon, .status-pill-wrap.st-ReturnRequested .btn-cs-arrow, .status-select-wrap.st-ReturnRequested svg, .status-select-wrap.st-ReturnRequested i, .status-select-wrap.st-ReturnRequested .status-pill-icon, .status-select-wrap.st-ReturnRequested .btn-cs-arrow, .status-pill-select.st-ReturnRequested svg, .status-pill-select.st-ReturnRequested i, .status-pill-select.st-ReturnRequested .status-pill-icon, .status-pill-select.st-ReturnRequested .btn-cs-arrow {
  color: var(--warning);
}
.status-pill.st-ReturnRequested > .status-dot, .status-pill-wrap.st-ReturnRequested > .status-dot, .status-select-wrap.st-ReturnRequested > .status-dot, .status-pill-select.st-ReturnRequested > .status-dot {
  background: var(--warning);
}
.status-pill, .status-pill-wrap, .status-select-wrap, .status-pill-select {
  /* 14. جاري الإرجاع (Return in Transit) */
}
.status-pill.st-ReturnInTransit, .status-pill-wrap.st-ReturnInTransit, .status-select-wrap.st-ReturnInTransit, .status-pill-select.st-ReturnInTransit {
  background: var(--surface3);
  border-color: var(--border);
  color: var(--text-muted);
}
.status-pill.st-ReturnInTransit svg, .status-pill.st-ReturnInTransit i, .status-pill.st-ReturnInTransit .status-pill-icon, .status-pill.st-ReturnInTransit .btn-cs-arrow, .status-pill-wrap.st-ReturnInTransit svg, .status-pill-wrap.st-ReturnInTransit i, .status-pill-wrap.st-ReturnInTransit .status-pill-icon, .status-pill-wrap.st-ReturnInTransit .btn-cs-arrow, .status-select-wrap.st-ReturnInTransit svg, .status-select-wrap.st-ReturnInTransit i, .status-select-wrap.st-ReturnInTransit .status-pill-icon, .status-select-wrap.st-ReturnInTransit .btn-cs-arrow, .status-pill-select.st-ReturnInTransit svg, .status-pill-select.st-ReturnInTransit i, .status-pill-select.st-ReturnInTransit .status-pill-icon, .status-pill-select.st-ReturnInTransit .btn-cs-arrow {
  color: var(--text-muted);
}
.status-pill.st-ReturnInTransit > .status-dot, .status-pill-wrap.st-ReturnInTransit > .status-dot, .status-select-wrap.st-ReturnInTransit > .status-dot, .status-pill-select.st-ReturnInTransit > .status-dot {
  background: var(--text-muted);
}
.status-pill, .status-pill-wrap, .status-select-wrap, .status-pill-select {
  /* 15. تم الإرجاع (Returned) */
}
.status-pill.st-Returned, .status-pill-wrap.st-Returned, .status-select-wrap.st-Returned, .status-pill-select.st-Returned {
  background: var(--danger-subtle);
  border-color: var(--danger-border);
  color: var(--danger);
}
.status-pill.st-Returned svg, .status-pill.st-Returned i, .status-pill.st-Returned .status-pill-icon, .status-pill.st-Returned .btn-cs-arrow, .status-pill-wrap.st-Returned svg, .status-pill-wrap.st-Returned i, .status-pill-wrap.st-Returned .status-pill-icon, .status-pill-wrap.st-Returned .btn-cs-arrow, .status-select-wrap.st-Returned svg, .status-select-wrap.st-Returned i, .status-select-wrap.st-Returned .status-pill-icon, .status-select-wrap.st-Returned .btn-cs-arrow, .status-pill-select.st-Returned svg, .status-pill-select.st-Returned i, .status-pill-select.st-Returned .status-pill-icon, .status-pill-select.st-Returned .btn-cs-arrow {
  color: var(--danger);
}
.status-pill.st-Returned > .status-dot, .status-pill-wrap.st-Returned > .status-dot, .status-select-wrap.st-Returned > .status-dot, .status-pill-select.st-Returned > .status-dot {
  background: var(--danger);
}
.status-pill, .status-pill-wrap, .status-select-wrap, .status-pill-select {
  /* 16. High Risk & Moderate Risk */
}
.status-pill.st-HighRisk, .status-pill-wrap.st-HighRisk, .status-select-wrap.st-HighRisk, .status-pill-select.st-HighRisk {
  background: var(--danger-subtle);
  border-color: var(--danger-border);
  color: var(--danger);
  box-shadow: 0 0 10px var(--danger-subtle);
}
.status-pill.st-HighRisk svg, .status-pill.st-HighRisk i, .status-pill.st-HighRisk .status-pill-icon, .status-pill.st-HighRisk .btn-cs-arrow, .status-pill-wrap.st-HighRisk svg, .status-pill-wrap.st-HighRisk i, .status-pill-wrap.st-HighRisk .status-pill-icon, .status-pill-wrap.st-HighRisk .btn-cs-arrow, .status-select-wrap.st-HighRisk svg, .status-select-wrap.st-HighRisk i, .status-select-wrap.st-HighRisk .status-pill-icon, .status-select-wrap.st-HighRisk .btn-cs-arrow, .status-pill-select.st-HighRisk svg, .status-pill-select.st-HighRisk i, .status-pill-select.st-HighRisk .status-pill-icon, .status-pill-select.st-HighRisk .btn-cs-arrow {
  color: var(--danger);
}
.status-pill.st-HighRisk > .status-dot, .status-pill-wrap.st-HighRisk > .status-dot, .status-select-wrap.st-HighRisk > .status-dot, .status-pill-select.st-HighRisk > .status-dot {
  background: var(--danger);
}
.status-pill.st-ModerateRisk, .status-pill-wrap.st-ModerateRisk, .status-select-wrap.st-ModerateRisk, .status-pill-select.st-ModerateRisk {
  background: var(--warning-subtle);
  border-color: var(--warning-border);
  color: var(--warning);
  box-shadow: 0 0 8px var(--warning-subtle);
}
.status-pill.st-ModerateRisk svg, .status-pill.st-ModerateRisk i, .status-pill.st-ModerateRisk .status-pill-icon, .status-pill.st-ModerateRisk .btn-cs-arrow, .status-pill-wrap.st-ModerateRisk svg, .status-pill-wrap.st-ModerateRisk i, .status-pill-wrap.st-ModerateRisk .status-pill-icon, .status-pill-wrap.st-ModerateRisk .btn-cs-arrow, .status-select-wrap.st-ModerateRisk svg, .status-select-wrap.st-ModerateRisk i, .status-select-wrap.st-ModerateRisk .status-pill-icon, .status-select-wrap.st-ModerateRisk .btn-cs-arrow, .status-pill-select.st-ModerateRisk svg, .status-pill-select.st-ModerateRisk i, .status-pill-select.st-ModerateRisk .status-pill-icon, .status-pill-select.st-ModerateRisk .btn-cs-arrow {
  color: var(--warning);
}
.status-pill.st-ModerateRisk > .status-dot, .status-pill-wrap.st-ModerateRisk > .status-dot, .status-select-wrap.st-ModerateRisk > .status-dot, .status-pill-select.st-ModerateRisk > .status-dot {
  background: var(--warning);
}

.order-fee-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: none !important;
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
  line-height: 1.2;
}
.order-fee-badge .badge-mini-icon {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}
.order-fee-badge.fee-paid, .order-fee-badge--paid, .order-fee-badge--digital {
  color: var(--success);
  background: var(--success-subtle);
}
.order-fee-badge.fee-unpaid, .order-fee-badge--unpaid {
  color: var(--warning);
  background: var(--warning-subtle);
}
.order-fee-badge--utm, .order-fee-badge.badge-utm {
  background: var(--accent-subtle);
  color: var(--accent);
}
.order-fee-badge--lost, .order-fee-badge.badge-lost {
  background: var(--danger-subtle);
  color: var(--danger);
}
.order-fee-badge--country, .order-fee-badge.badge-country {
  background: var(--surface2);
  color: var(--text-secondary);
}
.order-fee-badge--shield-good {
  color: var(--success);
  background: var(--success-subtle);
}
.order-fee-badge--shield-warn {
  color: var(--warning);
  background: var(--warning-subtle);
}
.order-fee-badge--shield-danger {
  color: var(--danger);
  background: var(--danger-subtle);
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  min-height: 28px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: none !important;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  line-height: 1.2;
  vertical-align: middle;
  box-sizing: border-box;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast);
}
.pay-badge svg, .pay-badge [data-lucide], .pay-badge i, .pay-badge .btn-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--text-secondary);
  stroke-width: 2.2px;
}
.pay-badge span {
  display: inline-block;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pay-badge:hover {
  background: var(--surface3);
  box-shadow: var(--shadow-sm);
}

.gov-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2.5px 8px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  color: var(--text-secondary);
  border: none !important;
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
}

.var-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-sm, 6px);
  background: var(--surface2);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-primary);
  vertical-align: middle;
}
.var-badge .var-label {
  color: var(--text-secondary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.var-badge .var-val {
  color: var(--text-primary);
  font-weight: 700;
}
.var-badge .var-icon {
  width: 13px;
  height: 13px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.var-badge.var-badge-img {
  padding: 5px 10px;
  gap: 8px;
  background: var(--accent-subtle);
  border-color: var(--border-subtle);
  border-radius: var(--radius-md, 10px);
}
.var-badge.var-badge-img .var-img-preview {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border-medium);
  cursor: pointer;
  display: block;
}
.var-badge.var-badge-img .var-img-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.var-badge.var-badge-img .var-download-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.var-badge.var-badge-img .var-download-link:hover {
  opacity: 0.85;
  text-decoration: underline;
}
.var-badge.var-badge-custom-text {
  background: var(--success-subtle);
  border-color: var(--success-border);
  color: var(--text-primary);
}
.var-badge.var-badge-custom-text .var-icon {
  color: var(--success);
}
.var-badge.var-badge-color .var-swatch-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 1px var(--border);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--surface2);
  border: none;
  border-radius: var(--radius-full, 9999px);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
  user-select: none;
}
.filter-chip:hover {
  background: var(--surface3);
  color: var(--text-primary);
}
.filter-chip.active {
  background: var(--text-primary);
  color: var(--text-inverse) !important;
  border: none;
  box-shadow: var(--shadow-sm);
}
.filter-chip.active .chip-badge {
  background: var(--text-inverse);
  color: var(--text-primary) !important;
}
.filter-chip .chip-badge {
  background: var(--surface);
  color: var(--text-secondary);
  padding: 2px 8px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.72rem;
  font-weight: 750;
}
.filter-chip.chip-reset {
  color: var(--danger);
  background: var(--danger-subtle);
}
.filter-chip.chip-reset:hover {
  background: var(--danger-subtle);
  color: var(--danger-hover);
}

.kpi-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.kpi-chip-dot.dot-all {
  background: var(--muted);
}
.kpi-chip-dot.dot-loyal {
  background: var(--warning);
}
.kpi-chip-dot.dot-active {
  background: var(--info);
}
.kpi-chip-dot.dot-inactive {
  background: var(--muted);
}
.kpi-chip-dot.dot-success {
  background: var(--success);
}
.kpi-chip-dot.dot-warning {
  background: var(--warning);
}
.kpi-chip-dot.dot-und, .kpi-chip-dot.dot-pnd {
  background: var(--warning);
}
.kpi-chip-dot.dot-cnf, .kpi-chip-dot.dot-shc {
  background: var(--success);
}
.kpi-chip-dot.dot-awp {
  background: var(--warning);
}
.kpi-chip-dot.dot-pad {
  background: var(--success);
}
.kpi-chip-dot.dot-pfd {
  background: var(--danger);
}
.kpi-chip-dot.dot-prc {
  background: var(--warning);
}
.kpi-chip-dot.dot-aws {
  background: var(--warning);
}
.kpi-chip-dot.dot-shp {
  background: var(--warning);
}
.kpi-chip-dot.dot-ofd {
  background: var(--info);
}
.kpi-chip-dot.dot-del {
  background: var(--success);
}
.kpi-chip-dot.dot-can {
  background: var(--danger);
}
.kpi-chip-dot.dot-rfs {
  background: var(--danger);
}
.kpi-chip-dot.dot-rrq {
  background: var(--warning);
}
.kpi-chip-dot.dot-rit {
  background: var(--muted);
}
.kpi-chip-dot.dot-ret {
  background: var(--danger);
}
.kpi-chip-dot.dot-hrk {
  background: var(--danger);
  box-shadow: 0 0 6px var(--danger-border);
}
.kpi-chip-dot.dot-mrk {
  background: var(--warning);
}

.badge-cat {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
  flex-shrink: 1;
  display: inline-block;
}

.badge-offer {
  background: var(--danger-subtle);
  color: var(--danger);
  border: 1px solid var(--danger-border);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.badge-offer svg, .badge-offer [data-lucide] {
  width: 10px;
  height: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.tag.tag-emerald {
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid var(--success-border);
}
.tag.tag-sky {
  background: var(--info-subtle);
  color: var(--info);
  border: 1px solid var(--info-border);
}
.tag.tag-indigo {
  background: var(--surface3);
  color: var(--text);
  border: 1px solid var(--border2);
}
.tag.tag-amber {
  background: var(--warning-subtle);
  color: var(--warning);
  border: 1px solid var(--warning-border);
}
.tag.tag-rose {
  background: var(--rose-subtle);
  color: var(--rose);
  border: 1px solid var(--danger-border);
}
.tag.tag-violet {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
}
.tag.tag-purple {
  background: var(--surface3);
  color: var(--text);
  border: 1px solid var(--border);
}

.tag-emerald {
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid var(--success-border);
}

.tag-sky {
  background: var(--info-subtle);
  color: var(--info);
  border: 1px solid var(--info-border);
}

.tag-indigo {
  background: var(--surface3);
  color: var(--text);
  border: 1px solid var(--border2);
}

.tag-amber {
  background: var(--warning-subtle);
  color: var(--warning);
  border: 1px solid var(--warning-border);
}

.tag-rose {
  background: var(--rose-subtle);
  color: var(--rose);
  border: 1px solid var(--danger-border);
}

.tag-violet {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
}

.tag-purple {
  background: var(--surface3);
  color: var(--text);
  border: 1px solid var(--border);
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.chip-dot.dot-emerald {
  background: var(--success);
}
.chip-dot.dot-amber {
  background: var(--warning);
}
.chip-dot.dot-danger {
  background: var(--danger);
}
.chip-dot.dot-purple {
  background: var(--purple);
}
.chip-dot.dot-muted {
  background: var(--muted);
}

.dot-emerald {
  background: var(--success);
}

.dot-amber {
  background: var(--warning);
}

.dot-danger {
  background: var(--danger);
}

.dot-purple {
  background: var(--purple);
}

.dot-muted {
  background: var(--muted);
}

.stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
}
.stock-pill svg, .stock-pill [data-lucide] {
  width: 12px;
  height: 12px;
}
.stock-pill.stock-ok {
  background: var(--success-subtle);
  color: var(--success);
}
.stock-pill.stock-low {
  background: var(--warning-subtle);
  color: var(--warning);
}
.stock-pill.stock-out {
  background: var(--danger-subtle);
  color: var(--danger);
}
.stock-pill.stock-na {
  background: var(--surface2);
  color: var(--muted);
}

.stock-ok {
  background: var(--success-subtle);
  color: var(--success);
}

.stock-low {
  background: var(--warning-subtle);
  color: var(--warning);
}

.stock-out {
  background: var(--danger-subtle);
  color: var(--danger);
}

.stock-na {
  background: var(--surface2);
  color: var(--muted);
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid var(--success-border);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}
.badge-verified svg, .badge-verified [data-lucide] {
  width: 14px;
  height: 14px;
}

.badge-purple {
  background: var(--surface3);
  color: var(--text);
  border: 1px solid var(--border2);
}

.badge--country {
  padding: 4px 8px;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.country-flag {
  width: 16px;
  height: 11px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}

.dsh-growth-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}
.dsh-growth-chip svg, .dsh-growth-chip [data-lucide] {
  width: 13px;
  height: 13px;
}
.dsh-growth-chip.trend-up {
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid var(--success-border);
}
.dsh-growth-chip.trend-down {
  background: var(--danger-subtle);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}
.dsh-growth-chip.trend-neutral {
  background: var(--surface2);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.badge-vip {
  color: var(--warning);
  font-size: 0.85rem;
  line-height: 1;
  filter: drop-shadow(0 0 4px var(--warning-border));
}

.badge-registered {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border2);
}
.badge-registered svg, .badge-registered [data-lucide] {
  width: 11px;
  height: 11px;
}

.badge-guest {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  background: var(--surface2);
  color: var(--muted);
  border: 1px solid var(--border);
}
.badge-guest svg, .badge-guest [data-lucide] {
  width: 11px;
  height: 11px;
}

.b-filter-active {
  background: var(--surface3);
  color: var(--text);
  border: 1px solid var(--border2);
  border-radius: 99px;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 600;
}

.cm-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}
.cm-count-badge svg, .cm-count-badge [data-lucide] {
  width: 13px;
  height: 13px;
}

.chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: 1px solid var(--border2);
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: var(--transition-fast, all 0.2s cubic-bezier(0.4, 0, 0.2, 1));
}
.chip:hover {
  background: var(--surface3);
  color: var(--text);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.chip.active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 12px var(--accent-glow);
}
.chip.active .chip-icon, .chip.active .chip-svg, .chip.active svg, .chip.active i {
  color: var(--text-inverse);
}
.chip.active .count-badge {
  background: var(--border-strong);
  color: var(--text-inverse);
}

.count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.role-chip,
.perm-chip,
.period-chip,
.alert-chip,
.avail-chip,
.notes-chip,
.plan-hero-chip,
.expires-chip,
.wallet-balance-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text);
  transition: var(--transition-fast, all 0.2s ease);
}

.role-chip,
.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: var(--transition-fast, all 0.2s ease);
  user-select: none;
  line-height: 1.4;
}
.role-chip .role-chip-ic,
.role-chip .role-badge-ic,
.role-badge .role-chip-ic,
.role-badge .role-badge-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.role-chip .role-chip-ic svg, .role-chip .role-chip-ic i, .role-chip .role-chip-ic [data-lucide],
.role-chip .role-badge-ic svg,
.role-chip .role-badge-ic i,
.role-chip .role-badge-ic [data-lucide],
.role-badge .role-chip-ic svg,
.role-badge .role-chip-ic i,
.role-badge .role-chip-ic [data-lucide],
.role-badge .role-badge-ic svg,
.role-badge .role-badge-ic i,
.role-badge .role-badge-ic [data-lucide] {
  width: 14px;
  height: 14px;
  stroke-width: 2.2px;
  display: block;
}
.role-chip svg, .role-chip i, .role-chip [data-lucide],
.role-badge svg,
.role-badge i,
.role-badge [data-lucide] {
  width: 14px;
  height: 14px;
  stroke-width: 2.2px;
  flex-shrink: 0;
}
.role-chip .item-check,
.role-badge .item-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  margin-inline-start: 2px;
  flex-shrink: 0;
}
.role-chip .item-check svg, .role-chip .item-check i, .role-chip .item-check [data-lucide],
.role-badge .item-check svg,
.role-badge .item-check i,
.role-badge .item-check [data-lucide] {
  width: 12px;
  height: 12px;
  stroke-width: 2.5px;
}
.role-chip.rb-Admin,
.role-badge.rb-Admin {
  background: var(--purple-subtle);
  color: var(--purple);
  border-color: var(--purple-border);
}
.role-chip.rb-Manager,
.role-badge.rb-Manager {
  background: var(--info-subtle);
  color: var(--info);
  border-color: var(--info-border);
}
.role-chip.rb-Sales,
.role-badge.rb-Sales {
  background: var(--success-subtle);
  color: var(--success);
  border-color: var(--success-border);
}
.role-chip.rb-Support,
.role-badge.rb-Support {
  background: var(--warning-subtle);
  color: var(--warning);
  border-color: var(--warning-border);
}
.role-chip.is-active,
.role-badge.is-active {
  box-shadow: 0 0 0 1.5px currentColor, var(--shadow-xs);
  font-weight: 800;
}
.role-chip.cursor-pointer:hover,
.role-badge.cursor-pointer:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}

.perm-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  line-height: 1.4;
}
.perm-chip .perm-chip-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}
.perm-chip .perm-chip-ic svg, .perm-chip .perm-chip-ic i, .perm-chip .perm-chip-ic [data-lucide] {
  width: 11px;
  height: 11px;
  stroke-width: 2.2px;
  display: block;
}
.perm-chip svg, .perm-chip i, .perm-chip [data-lucide] {
  width: 11px;
  height: 11px;
  stroke-width: 2.2px;
  flex-shrink: 0;
}

.avatar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full, 50%);
  background: var(--accent);
  color: var(--color-white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
}
.avatar.av-lg {
  width: 48px;
  height: 48px;
  font-size: 1.1rem;
}
.avatar.pending-av {
  background: var(--surface3);
  color: var(--text-muted);
}

.member-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.member-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}
.member-name.pending {
  color: var(--warning);
  font-style: italic;
}

.member-email {
  font-size: 0.76rem;
  color: var(--text-muted);
  direction: ltr;
  text-align: start;
}

.perm-chip {
  font-size: 0.74rem;
  background: var(--surface3);
  border-color: var(--border2);
}

.count-chip {
  background: var(--accent-glow);
  color: var(--accent);
  font-weight: 800;
}

.expires-chip.soon {
  background: var(--danger-subtle);
  border-color: var(--danger-border);
  color: var(--danger);
}

.wallet-balance-chip {
  padding: 6px 14px;
  font-size: 0.84rem;
}
.wallet-balance-chip .wallet-val {
  color: var(--success);
  font-weight: 800;
}

.badge-get {
  color: var(--success);
  background: var(--success-subtle);
}

.badge-post {
  color: var(--info);
  background: var(--info-subtle);
}

.badge-put {
  color: var(--warning);
  background: var(--warning-subtle);
}

.badge-delete {
  color: var(--danger);
  background: var(--danger-subtle);
}

.dsh-kpi-chip {
  background: var(--surface);
  border-radius: var(--radius-md, 18px);
  padding: 12px 16px;
  border: none !important;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 140px;
  flex-shrink: 0;
}
.dsh-kpi-chip .dsh-chip-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dsh-kpi-chip .dsh-chip-head .dsh-chip-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dsh-kpi-chip .dsh-chip-head .dsh-chip-title {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}
.dsh-kpi-chip .dsh-chip-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.badge.b-type {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--surface3);
  color: var(--text);
  border: 1px solid var(--border);
}

.badge-active-plan {
  background: var(--success-subtle);
  border: 1px solid var(--success-border);
  color: var(--text-primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.country-flag-badge {
  width: 44px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.country-flag-badge .country-flag-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v-lock-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--info-subtle);
  color: var(--info);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rank-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 850;
  flex-shrink: 0;
}
.rank-badge.rank-1 {
  background: var(--warning-subtle);
  color: var(--warning);
  box-shadow: 0 2px 8px var(--warning-border);
}
.rank-badge.rank-2 {
  background: var(--surface3);
  color: var(--text-secondary);
}
.rank-badge.rank-3 {
  background: var(--accent-subtle);
  color: var(--accent);
}
.rank-badge.rank-other {
  background: var(--surface2);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.insight-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.2;
  width: fit-content;
}
.insight-tag.good, .insight-tag.success {
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid var(--success-border);
}
.insight-tag.warn, .insight-tag.warning {
  background: var(--warning-subtle);
  color: var(--warning);
  border: 1px solid var(--warning-border);
}
.insight-tag.bad, .insight-tag.danger {
  background: var(--danger-subtle);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}

.badge.b-type,
.badge--type {
  background: var(--surface2);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
}

.badge-vip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--warning-subtle);
  color: var(--warning);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  border: 1px solid var(--warning-border);
}

.badge-registered {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: var(--radius-full, 9999px);
  background: var(--info-subtle);
  color: var(--info);
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid var(--info-border);
}
.badge-registered svg, .badge-registered [data-lucide] {
  width: 11px;
  height: 11px;
}

.badge-guest {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid var(--border);
}
.badge-guest svg, .badge-guest [data-lucide] {
  width: 11px;
  height: 11px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.live-dot.dot-Loyal, .live-dot.dot-loyal {
  background: var(--warning);
  box-shadow: 0 0 6px var(--warning);
}
.live-dot.dot-Active, .live-dot.dot-active {
  background: var(--info);
  box-shadow: 0 0 6px var(--info);
}
.live-dot.dot-Inactive, .live-dot.dot-inactive {
  background: var(--text-muted);
}
.live-dot.dot-all {
  background: var(--text-secondary);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.78rem;
  font-weight: 750;
  white-space: nowrap;
  border: 1px solid transparent;
}
.status-badge.st-Loyal {
  background: var(--warning-subtle);
  color: var(--warning);
  border-color: var(--warning-border);
}
.status-badge.st-Active {
  background: var(--info-subtle);
  color: var(--info);
  border-color: var(--info-border);
}
.status-badge.st-Inactive {
  background: var(--surface2);
  color: var(--text-muted);
  border-color: var(--border);
}
.status-badge.st-Pending, .status-badge.Pending {
  background: var(--warning-subtle);
  color: var(--warning);
  border-color: var(--warning-border);
}
.status-badge.st-Confirmed, .status-badge.Confirmed {
  background: var(--info-subtle);
  color: var(--info);
  border-color: var(--info-border);
}
.status-badge.st-Completed, .status-badge.Completed {
  background: var(--success-subtle);
  color: var(--success);
  border-color: var(--success-border);
}
.status-badge.st-Cancelled, .status-badge.Cancelled {
  background: var(--danger-subtle);
  color: var(--danger);
  border-color: var(--danger-border);
}
.status-badge .st-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-full, 9999px);
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid var(--success-border);
  font-size: 0.72rem;
  font-weight: 750;
  white-space: nowrap;
}
.badge-verified svg, .badge-verified [data-lucide] {
  width: 12px;
  height: 12px;
}

.star-pills {
  display: flex;
  align-items: center;
  gap: 6px;
}

.star-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 750;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.star-pill .star-pill-icon, .star-pill svg {
  width: 14px;
  height: 14px;
  color: var(--warning);
  fill: var(--warning);
}
.star-pill:hover {
  background: var(--surface3);
  border-color: var(--warning-border);
  transform: translateY(-1px);
  color: var(--text-primary);
}
.star-pill.active {
  background: var(--warning-subtle);
  color: var(--warning);
  border-color: var(--warning-border);
  box-shadow: 0 2px 8px var(--accent-glow);
  transform: translateY(-2px);
}

.rc-stars-capsule {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-full, 9999px);
  background: var(--warning-subtle);
  border: 1px solid var(--warning-border);
  color: var(--warning);
  font-weight: 800;
  font-size: 0.78rem;
}
.rc-stars-capsule svg, .rc-stars-capsule [data-lucide] {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.rc-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full, 9999px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
  font-size: 0.95rem;
  background: var(--surface3);
  color: var(--text-primary);
  border: 2px solid var(--surface);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}
.rc-avatar.star-av-5 {
  background: var(--warning-subtle);
  color: var(--warning);
  border-color: var(--warning-border);
}
.rc-avatar.star-av-4 {
  background: var(--success-subtle);
  color: var(--success);
  border-color: var(--success-border);
}
.rc-avatar.star-av-3 {
  background: var(--info-subtle);
  color: var(--info);
  border-color: var(--info-border);
}
.rc-avatar.star-av-2, .rc-avatar.star-av-1 {
  background: var(--danger-subtle);
  color: var(--danger);
  border-color: var(--danger-border);
}

.rc-product-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-md, 8px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 650;
  max-width: 100%;
}
.rc-product-pill svg, .rc-product-pill [data-lucide] {
  width: 13px;
  height: 13px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.badge--verified, .badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-full, 9999px);
  background: var(--teal-subtle);
  color: var(--teal);
  border: 1px solid var(--teal-border);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.badge--verified svg, .badge--verified [data-lucide], .badge-verified svg, .badge-verified [data-lucide] {
  width: 12px;
  height: 12px;
  stroke-width: 2.2;
  flex-shrink: 0;
}

.badge-reputation {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  user-select: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.badge-reputation svg, .badge-reputation [data-lucide] {
  width: 12px;
  height: 12px;
  stroke-width: 2.2;
  flex-shrink: 0;
}
.badge-reputation.rep-trusted {
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid var(--success-border);
}
.badge-reputation.rep-highrisk {
  background: var(--danger-subtle);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}
.badge-reputation.rep-moderate {
  background: var(--warning-subtle);
  color: var(--warning);
  border: 1px solid var(--warning-border);
}
.badge-reputation.rep-new {
  background: var(--surface2);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.modal, .modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal, 1090);
  background: var(--overlay-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end !important;
  justify-content: center !important;
  padding: 0 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}
.modal.is-open, .modal.active, .modal.show, .modal[v-if], .modal[v-show], .modal-overlay.is-open, .modal-overlay.active, .modal-overlay.show, .modal-overlay[v-if], .modal-overlay[v-show] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal.is-open .modal__dialog, .modal.is-open .modal-card, .modal.is-open .modal-container, .modal.active .modal__dialog, .modal.active .modal-card, .modal.active .modal-container, .modal.show .modal__dialog, .modal.show .modal-card, .modal.show .modal-container, .modal[v-if] .modal__dialog, .modal[v-if] .modal-card, .modal[v-if] .modal-container, .modal[v-show] .modal__dialog, .modal[v-show] .modal-card, .modal[v-show] .modal-container, .modal-overlay.is-open .modal__dialog, .modal-overlay.is-open .modal-card, .modal-overlay.is-open .modal-container, .modal-overlay.active .modal__dialog, .modal-overlay.active .modal-card, .modal-overlay.active .modal-container, .modal-overlay.show .modal__dialog, .modal-overlay.show .modal-card, .modal-overlay.show .modal-container, .modal-overlay[v-if] .modal__dialog, .modal-overlay[v-if] .modal-card, .modal-overlay[v-if] .modal-container, .modal-overlay[v-show] .modal__dialog, .modal-overlay[v-show] .modal-card, .modal-overlay[v-show] .modal-container {
  transform: translateY(0);
}

.modal-overlay:not(.is-hidden):not(.hidden) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal-overlay:not(.is-hidden):not(.hidden) .modal__dialog, .modal-overlay:not(.is-hidden):not(.hidden) .modal-card, .modal-overlay:not(.is-hidden):not(.hidden) .modal-container {
  transform: translateY(0);
}

@keyframes slideUpModalSheet {
  from {
    transform: translateY(100%);
    opacity: 0.7;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.modal__dialog, .modal-card, .modal-container {
  background: var(--bg-card);
  border: none !important;
  border-top: 1px solid var(--border-subtle) !important;
  border-radius: 26px 26px 0 0 !important;
  border-bottom: none !important;
  width: min(840px, 100vw);
  max-width: 840px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-drawer, var(--shadow-xl));
  transform: translateY(100%);
  animation: slideUpModalSheet 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  z-index: 1100;
}

.modal__header, .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  flex-shrink: 0;
  gap: 12px;
}

.modal-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-inline-start: auto;
  margin-inline-end: 8px;
  flex-shrink: 0;
}

.modal__title, .modal-title {
  font-size: var(--text-base, 0.98rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal__title svg, .modal__title i, .modal__title [data-lucide], .modal-title svg, .modal-title i, .modal-title [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.modal__close, .modal-close, .modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm, 6px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.modal__close svg, .modal__close i, .modal__close [data-lucide], .modal-close svg, .modal-close i, .modal-close [data-lucide], .modal-close-btn svg, .modal-close-btn i, .modal-close-btn [data-lucide] {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
.modal__close:hover, .modal-close:hover, .modal-close-btn:hover {
  background: var(--surface2);
  color: var(--text-primary);
}

.modal__body, .modal-body {
  padding: 20px;
  overflow-y: auto;
  overflow-x: hidden !important;
  flex: 1 1 auto;
  min-height: 0;
  color: var(--text-primary);
  line-height: 1.5;
}

.modal__footer, .modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-2, 8px);
  padding: 14px 20px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  flex-shrink: 0;
}
.modal__footer > .btn, .modal-footer > .btn {
  min-width: 90px;
}
@media (max-width: 576px) {
  .modal__footer, .modal-footer {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 8px;
    padding: 12px 14px;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 16px));
  }
  .modal__footer > .btn, .modal-footer > .btn {
    width: 100%;
    height: 42px;
    justify-content: center;
  }
}

.modal--sm .modal__dialog, .modal--sm .modal-card, .modal--sm .modal-container, .modal-sm .modal__dialog, .modal-sm .modal-card, .modal-sm .modal-container {
  width: min(540px, 100vw);
  max-width: 540px;
}

.modal--lg .modal__dialog, .modal--lg .modal-card, .modal--lg .modal-container, .modal-lg .modal__dialog, .modal-lg .modal-card, .modal-lg .modal-container {
  width: min(920px, 100vw);
  max-width: 920px;
}

.modal--xl .modal__dialog, .modal--xl .modal-card, .modal--xl .modal-container, .modal-xl .modal__dialog, .modal-xl .modal-card, .modal-xl .modal-container {
  width: min(1180px, 100vw);
  max-width: 1180px;
}

.modal--full, .modal-full {
  padding: 0 !important;
}
.modal--full .modal__dialog, .modal--full .modal-card, .modal--full .modal-container, .modal-full .modal__dialog, .modal-full .modal-card, .modal-full .modal-container {
  width: 100vw;
  max-width: 100vw;
  height: 96vh;
  max-height: 96vh;
  border-radius: 26px 26px 0 0 !important;
}

.modal-card--sm, .modal__dialog--sm {
  max-width: 540px !important;
}

.modal-card--md, .modal__dialog--md {
  max-width: 720px !important;
}

.confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200 !important;
  background: var(--overlay-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4, 16px);
  animation: fadeInModal 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.confirm-overlay .confirm-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-2xl, 24px);
  width: 100%;
  max-width: 440px;
  text-align: center;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-xl);
  animation: scaleInModal 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.confirm-overlay .confirm-card .confirm-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--danger-subtle);
  color: var(--danger);
  margin-bottom: 6px;
}
.confirm-overlay .confirm-card .confirm-icon svg, .confirm-overlay .confirm-card .confirm-icon [data-lucide] {
  width: 28px;
  height: 28px;
}
.confirm-overlay .confirm-card .confirm-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}
.confirm-overlay .confirm-card .confirm-sub {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}
.confirm-overlay .confirm-card .confirm-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.confirm-overlay .confirm-card .confirm-btns .btn {
  flex: 1;
  height: 44px;
  font-weight: 700;
  border-radius: var(--radius-md, 12px);
}
.confirm-overlay .confirm-card--uninstall {
  max-width: 520px;
  text-align: start;
  align-items: stretch;
}
.confirm-overlay .confirm-card--deactivate {
  max-width: 480px;
}
.confirm-overlay .confirm-card .confirm-header-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}
.confirm-overlay .confirm-card .confirm-header-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.confirm-overlay .confirm-card .confirm-header-meta .confirm-title {
  text-align: start;
  margin: 0;
}
.confirm-overlay .confirm-card .confirm-impact-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 14px;
  margin: 6px 0;
  border: none !important;
}
.confirm-overlay .confirm-card .confirm-impact-box .impact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-xs, 0.8rem);
}
.confirm-overlay .confirm-card .confirm-impact-box .impact-item .impact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.confirm-overlay .confirm-card .confirm-impact-box .impact-item .impact-title {
  display: block;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.confirm-overlay .confirm-card .confirm-impact-box .impact-item .impact-desc {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.45;
  font-size: var(--text-2xs, 0.74rem);
}
.confirm-overlay .confirm-card .confirm-impact-box .impact-item--danger .impact-icon {
  color: var(--danger);
}
.confirm-overlay .confirm-card .confirm-impact-box .impact-item--danger .impact-title {
  color: var(--danger);
}
.confirm-overlay .confirm-card .confirm-impact-box .impact-item--info .impact-icon {
  color: var(--info);
}
.confirm-overlay .confirm-card .confirm-impact-box .impact-item--info .impact-title {
  color: var(--text-primary);
}
.confirm-overlay .confirm-card .confirm-impact-box .impact-item--success .impact-icon {
  color: var(--success);
}
.confirm-overlay .confirm-card .confirm-impact-box .impact-item--success .impact-title {
  color: var(--success);
}
.confirm-overlay .confirm-card .confirm-impact-box .impact-item--subtle .impact-icon {
  color: var(--text-muted);
}
.confirm-overlay .confirm-card .confirm-impact-box .impact-item--subtle .impact-title {
  color: var(--text-secondary);
}
.confirm-overlay .confirm-card .confirm-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin-top: 6px;
}
.confirm-overlay .confirm-card .confirm-icon--warning {
  background: var(--warning-subtle) !important;
  color: var(--warning) !important;
}

.installed-platform-notice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-sm, 8px);
  background: var(--warning-subtle);
  color: var(--warning);
  font-size: var(--text-2xs, 0.72rem);
  font-weight: 700;
  margin-top: 8px;
}
.installed-platform-notice svg, .installed-platform-notice [data-lucide] {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.picker-items-list {
  max-height: 380px;
  overflow-y: auto;
}

.picker-item-row {
  cursor: pointer;
  transition: background var(--transition-fast, 0.15s ease);
  padding: 8px 12px;
  border-radius: var(--radius-sm, 8px);
}
.picker-item-row:hover {
  background: var(--surface2);
}

.picker-thumb {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.picker-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.picker-cat-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.picker-box {
  max-height: 140px;
  overflow-y: auto;
}

.chip-close-btn {
  font-size: 8px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
  color: currentColor;
  opacity: 0.7;
  margin-inline-start: 4px;
}
.chip-close-btn:hover {
  opacity: 1;
}

@media (max-width: 576px) {
  .modal, .modal-overlay {
    padding: 0 !important;
  }
  .modal .modal__dialog, .modal .modal-card, .modal .modal-container, .modal-overlay .modal__dialog, .modal-overlay .modal-card, .modal-overlay .modal-container {
    border-radius: 22px 22px 0 0 !important;
    max-width: 100vw !important;
    width: 100vw !important;
    max-height: 94vh;
  }
  .modal .modal__footer, .modal-overlay .modal__footer {
    padding-bottom: max(16px, env(safe-area-inset-bottom, 16px));
  }
}
.modal-handle, .bottom-sheet-handle, .drawer-drag-handle {
  width: 48px;
  height: 5px;
  background: var(--border-strong);
  border-radius: 9999px;
  margin: 12px auto 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s, width 0.2s;
}
.modal-handle:hover, .bottom-sheet-handle:hover, .drawer-drag-handle:hover {
  background: var(--accent);
  width: 60px;
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--accent-glow);
}
.modal-icon-badge img, .modal-icon-badge .modal-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.modal-icon-badge .modal-app-emoji {
  font-size: 1.4rem;
  line-height: 1;
}
.modal-icon-badge svg, .modal-icon-badge i, .modal-icon-badge [data-lucide] {
  width: 22px;
  height: 22px;
}

.modal-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 2px 0 0;
  line-height: 1.4;
}

.btn-close {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-close:hover {
  background: var(--danger-subtle);
  color: var(--danger);
  border-color: var(--danger);
}
.btn-close svg, .btn-close i, .btn-close [data-lucide] {
  width: 18px;
  height: 18px;
}

.modal--sheet, .modal-sheet, .modal-bottom-sheet {
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.modal--sheet .modal__dialog, .modal--sheet .modal-card, .modal--sheet .modal-container, .modal-sheet .modal__dialog, .modal-sheet .modal-card, .modal-sheet .modal-container, .modal-bottom-sheet .modal__dialog, .modal-bottom-sheet .modal-card, .modal-bottom-sheet .modal-container {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  border-bottom: none;
  width: min(100%, 1160px);
  max-width: 1160px;
  height: 92vh;
  max-height: 92vh;
  margin: 0 auto;
  transform: translateY(100%);
  animation: slideUpSheet 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: var(--shadow-drawer);
}

@keyframes slideUpSheet {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1090;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.drawer-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.drawer-overlay--picker,
.drawer-overlay--nested,
.drawer-overlay--secondary {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1190 !important;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.drawer-overlay--picker.hidden,
.drawer-overlay--nested.hidden,
.drawer-overlay--secondary.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.drawer,
.drawer--sheet,
.order-preview-drawer {
  position: fixed !important;
  top: auto !important;
  bottom: 0 !important;
  left: 50% !important;
  right: auto !important;
  margin: 0 !important;
  width: min(780px, 100vw) !important;
  max-width: 780px !important;
  max-height: 88vh !important;
  height: auto !important;
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-bottom: none !important;
  border-radius: 26px 26px 0 0 !important;
  box-shadow: var(--shadow-drawer) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  z-index: 1100 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate(-50%, 100%) !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.32s ease !important;
}
.drawer.open, .drawer.is-open,
.drawer--sheet.open,
.drawer--sheet.is-open,
.order-preview-drawer.open,
.order-preview-drawer.is-open {
  transform: translate(-50%, 0) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.drawer.is-hidden, .drawer.hidden,
.drawer--sheet.is-hidden,
.drawer--sheet.hidden,
.order-preview-drawer.is-hidden,
.order-preview-drawer.hidden {
  transform: translate(-50%, 100%) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.drawer.drawer--picker, .drawer.drawer--nested, .drawer.drawer--secondary,
.drawer--sheet.drawer--picker,
.drawer--sheet.drawer--nested,
.drawer--sheet.drawer--secondary,
.order-preview-drawer.drawer--picker,
.order-preview-drawer.drawer--nested,
.order-preview-drawer.drawer--secondary {
  z-index: 1200 !important;
  width: min(740px, 100vw) !important;
  max-width: 740px !important;
  max-height: 84vh !important;
  box-shadow: var(--shadow-xl) !important;
}
.drawer .drawer-drag-handle,
.drawer .bottom-sheet-handle,
.drawer--sheet .drawer-drag-handle,
.drawer--sheet .bottom-sheet-handle,
.order-preview-drawer .drawer-drag-handle,
.order-preview-drawer .bottom-sheet-handle {
  display: block !important;
  width: 44px;
  height: 5px;
  border-radius: 99px;
  background: var(--border-medium);
  margin: 10px auto 4px;
  flex-shrink: 0;
  cursor: grab;
}
.drawer .drawer-head, .drawer .drawer__header, .drawer .drawer-header,
.drawer--sheet .drawer-head,
.drawer--sheet .drawer__header,
.drawer--sheet .drawer-header,
.order-preview-drawer .drawer-head,
.order-preview-drawer .drawer__header,
.order-preview-drawer .drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
}
.drawer .drawer-head .drawer-title, .drawer .drawer-head .drawer__title, .drawer .drawer__header .drawer-title, .drawer .drawer__header .drawer__title, .drawer .drawer-header .drawer-title, .drawer .drawer-header .drawer__title,
.drawer--sheet .drawer-head .drawer-title,
.drawer--sheet .drawer-head .drawer__title,
.drawer--sheet .drawer__header .drawer-title,
.drawer--sheet .drawer__header .drawer__title,
.drawer--sheet .drawer-header .drawer-title,
.drawer--sheet .drawer-header .drawer__title,
.order-preview-drawer .drawer-head .drawer-title,
.order-preview-drawer .drawer-head .drawer__title,
.order-preview-drawer .drawer__header .drawer-title,
.order-preview-drawer .drawer__header .drawer__title,
.order-preview-drawer .drawer-header .drawer-title,
.order-preview-drawer .drawer-header .drawer__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 1.05rem;
  color: var(--text-primary);
  flex-wrap: wrap;
}
.drawer .drawer-head .drawer-title .avatar, .drawer .drawer-head .drawer__title .avatar, .drawer .drawer__header .drawer-title .avatar, .drawer .drawer__header .drawer__title .avatar, .drawer .drawer-header .drawer-title .avatar, .drawer .drawer-header .drawer__title .avatar,
.drawer--sheet .drawer-head .drawer-title .avatar,
.drawer--sheet .drawer-head .drawer__title .avatar,
.drawer--sheet .drawer__header .drawer-title .avatar,
.drawer--sheet .drawer__header .drawer__title .avatar,
.drawer--sheet .drawer-header .drawer-title .avatar,
.drawer--sheet .drawer-header .drawer__title .avatar,
.order-preview-drawer .drawer-head .drawer-title .avatar,
.order-preview-drawer .drawer-head .drawer__title .avatar,
.order-preview-drawer .drawer__header .drawer-title .avatar,
.order-preview-drawer .drawer__header .drawer__title .avatar,
.order-preview-drawer .drawer-header .drawer-title .avatar,
.order-preview-drawer .drawer-header .drawer__title .avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md, 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
  border: 1px solid var(--border-medium);
}
.drawer .drawer-head .drawer-title .title-icon-badge, .drawer .drawer-head .drawer-title .drawer-header-avatar, .drawer .drawer-head .drawer__title .title-icon-badge, .drawer .drawer-head .drawer__title .drawer-header-avatar, .drawer .drawer__header .drawer-title .title-icon-badge, .drawer .drawer__header .drawer-title .drawer-header-avatar, .drawer .drawer__header .drawer__title .title-icon-badge, .drawer .drawer__header .drawer__title .drawer-header-avatar, .drawer .drawer-header .drawer-title .title-icon-badge, .drawer .drawer-header .drawer-title .drawer-header-avatar, .drawer .drawer-header .drawer__title .title-icon-badge, .drawer .drawer-header .drawer__title .drawer-header-avatar,
.drawer--sheet .drawer-head .drawer-title .title-icon-badge,
.drawer--sheet .drawer-head .drawer-title .drawer-header-avatar,
.drawer--sheet .drawer-head .drawer__title .title-icon-badge,
.drawer--sheet .drawer-head .drawer__title .drawer-header-avatar,
.drawer--sheet .drawer__header .drawer-title .title-icon-badge,
.drawer--sheet .drawer__header .drawer-title .drawer-header-avatar,
.drawer--sheet .drawer__header .drawer__title .title-icon-badge,
.drawer--sheet .drawer__header .drawer__title .drawer-header-avatar,
.drawer--sheet .drawer-header .drawer-title .title-icon-badge,
.drawer--sheet .drawer-header .drawer-title .drawer-header-avatar,
.drawer--sheet .drawer-header .drawer__title .title-icon-badge,
.drawer--sheet .drawer-header .drawer__title .drawer-header-avatar,
.order-preview-drawer .drawer-head .drawer-title .title-icon-badge,
.order-preview-drawer .drawer-head .drawer-title .drawer-header-avatar,
.order-preview-drawer .drawer-head .drawer__title .title-icon-badge,
.order-preview-drawer .drawer-head .drawer__title .drawer-header-avatar,
.order-preview-drawer .drawer__header .drawer-title .title-icon-badge,
.order-preview-drawer .drawer__header .drawer-title .drawer-header-avatar,
.order-preview-drawer .drawer__header .drawer__title .title-icon-badge,
.order-preview-drawer .drawer__header .drawer__title .drawer-header-avatar,
.order-preview-drawer .drawer-header .drawer-title .title-icon-badge,
.order-preview-drawer .drawer-header .drawer-title .drawer-header-avatar,
.order-preview-drawer .drawer-header .drawer__title .title-icon-badge,
.order-preview-drawer .drawer-header .drawer__title .drawer-header-avatar {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md, 8px);
  background: var(--surface2);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.drawer .drawer-head .drawer-title .title-icon-badge svg, .drawer .drawer-head .drawer-title .title-icon-badge [data-lucide], .drawer .drawer-head .drawer-title .drawer-header-avatar svg, .drawer .drawer-head .drawer-title .drawer-header-avatar [data-lucide], .drawer .drawer-head .drawer__title .title-icon-badge svg, .drawer .drawer-head .drawer__title .title-icon-badge [data-lucide], .drawer .drawer-head .drawer__title .drawer-header-avatar svg, .drawer .drawer-head .drawer__title .drawer-header-avatar [data-lucide], .drawer .drawer__header .drawer-title .title-icon-badge svg, .drawer .drawer__header .drawer-title .title-icon-badge [data-lucide], .drawer .drawer__header .drawer-title .drawer-header-avatar svg, .drawer .drawer__header .drawer-title .drawer-header-avatar [data-lucide], .drawer .drawer__header .drawer__title .title-icon-badge svg, .drawer .drawer__header .drawer__title .title-icon-badge [data-lucide], .drawer .drawer__header .drawer__title .drawer-header-avatar svg, .drawer .drawer__header .drawer__title .drawer-header-avatar [data-lucide], .drawer .drawer-header .drawer-title .title-icon-badge svg, .drawer .drawer-header .drawer-title .title-icon-badge [data-lucide], .drawer .drawer-header .drawer-title .drawer-header-avatar svg, .drawer .drawer-header .drawer-title .drawer-header-avatar [data-lucide], .drawer .drawer-header .drawer__title .title-icon-badge svg, .drawer .drawer-header .drawer__title .title-icon-badge [data-lucide], .drawer .drawer-header .drawer__title .drawer-header-avatar svg, .drawer .drawer-header .drawer__title .drawer-header-avatar [data-lucide],
.drawer--sheet .drawer-head .drawer-title .title-icon-badge svg,
.drawer--sheet .drawer-head .drawer-title .title-icon-badge [data-lucide],
.drawer--sheet .drawer-head .drawer-title .drawer-header-avatar svg,
.drawer--sheet .drawer-head .drawer-title .drawer-header-avatar [data-lucide],
.drawer--sheet .drawer-head .drawer__title .title-icon-badge svg,
.drawer--sheet .drawer-head .drawer__title .title-icon-badge [data-lucide],
.drawer--sheet .drawer-head .drawer__title .drawer-header-avatar svg,
.drawer--sheet .drawer-head .drawer__title .drawer-header-avatar [data-lucide],
.drawer--sheet .drawer__header .drawer-title .title-icon-badge svg,
.drawer--sheet .drawer__header .drawer-title .title-icon-badge [data-lucide],
.drawer--sheet .drawer__header .drawer-title .drawer-header-avatar svg,
.drawer--sheet .drawer__header .drawer-title .drawer-header-avatar [data-lucide],
.drawer--sheet .drawer__header .drawer__title .title-icon-badge svg,
.drawer--sheet .drawer__header .drawer__title .title-icon-badge [data-lucide],
.drawer--sheet .drawer__header .drawer__title .drawer-header-avatar svg,
.drawer--sheet .drawer__header .drawer__title .drawer-header-avatar [data-lucide],
.drawer--sheet .drawer-header .drawer-title .title-icon-badge svg,
.drawer--sheet .drawer-header .drawer-title .title-icon-badge [data-lucide],
.drawer--sheet .drawer-header .drawer-title .drawer-header-avatar svg,
.drawer--sheet .drawer-header .drawer-title .drawer-header-avatar [data-lucide],
.drawer--sheet .drawer-header .drawer__title .title-icon-badge svg,
.drawer--sheet .drawer-header .drawer__title .title-icon-badge [data-lucide],
.drawer--sheet .drawer-header .drawer__title .drawer-header-avatar svg,
.drawer--sheet .drawer-header .drawer__title .drawer-header-avatar [data-lucide],
.order-preview-drawer .drawer-head .drawer-title .title-icon-badge svg,
.order-preview-drawer .drawer-head .drawer-title .title-icon-badge [data-lucide],
.order-preview-drawer .drawer-head .drawer-title .drawer-header-avatar svg,
.order-preview-drawer .drawer-head .drawer-title .drawer-header-avatar [data-lucide],
.order-preview-drawer .drawer-head .drawer__title .title-icon-badge svg,
.order-preview-drawer .drawer-head .drawer__title .title-icon-badge [data-lucide],
.order-preview-drawer .drawer-head .drawer__title .drawer-header-avatar svg,
.order-preview-drawer .drawer-head .drawer__title .drawer-header-avatar [data-lucide],
.order-preview-drawer .drawer__header .drawer-title .title-icon-badge svg,
.order-preview-drawer .drawer__header .drawer-title .title-icon-badge [data-lucide],
.order-preview-drawer .drawer__header .drawer-title .drawer-header-avatar svg,
.order-preview-drawer .drawer__header .drawer-title .drawer-header-avatar [data-lucide],
.order-preview-drawer .drawer__header .drawer__title .title-icon-badge svg,
.order-preview-drawer .drawer__header .drawer__title .title-icon-badge [data-lucide],
.order-preview-drawer .drawer__header .drawer__title .drawer-header-avatar svg,
.order-preview-drawer .drawer__header .drawer__title .drawer-header-avatar [data-lucide],
.order-preview-drawer .drawer-header .drawer-title .title-icon-badge svg,
.order-preview-drawer .drawer-header .drawer-title .title-icon-badge [data-lucide],
.order-preview-drawer .drawer-header .drawer-title .drawer-header-avatar svg,
.order-preview-drawer .drawer-header .drawer-title .drawer-header-avatar [data-lucide],
.order-preview-drawer .drawer-header .drawer__title .title-icon-badge svg,
.order-preview-drawer .drawer-header .drawer__title .title-icon-badge [data-lucide],
.order-preview-drawer .drawer-header .drawer__title .drawer-header-avatar svg,
.order-preview-drawer .drawer-header .drawer__title .drawer-header-avatar [data-lucide] {
  width: 17px;
  height: 17px;
}
.drawer .drawer-head .drawer-title .title-icon, .drawer .drawer-head .drawer__title .title-icon, .drawer .drawer__header .drawer-title .title-icon, .drawer .drawer__header .drawer__title .title-icon, .drawer .drawer-header .drawer-title .title-icon, .drawer .drawer-header .drawer__title .title-icon,
.drawer--sheet .drawer-head .drawer-title .title-icon,
.drawer--sheet .drawer-head .drawer__title .title-icon,
.drawer--sheet .drawer__header .drawer-title .title-icon,
.drawer--sheet .drawer__header .drawer__title .title-icon,
.drawer--sheet .drawer-header .drawer-title .title-icon,
.drawer--sheet .drawer-header .drawer__title .title-icon,
.order-preview-drawer .drawer-head .drawer-title .title-icon,
.order-preview-drawer .drawer-head .drawer__title .title-icon,
.order-preview-drawer .drawer__header .drawer-title .title-icon,
.order-preview-drawer .drawer__header .drawer__title .title-icon,
.order-preview-drawer .drawer-header .drawer-title .title-icon,
.order-preview-drawer .drawer-header .drawer__title .title-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.drawer .drawer-head .drawer-title .order-code-num, .drawer .drawer-head .drawer__title .order-code-num, .drawer .drawer__header .drawer-title .order-code-num, .drawer .drawer__header .drawer__title .order-code-num, .drawer .drawer-header .drawer-title .order-code-num, .drawer .drawer-header .drawer__title .order-code-num,
.drawer--sheet .drawer-head .drawer-title .order-code-num,
.drawer--sheet .drawer-head .drawer__title .order-code-num,
.drawer--sheet .drawer__header .drawer-title .order-code-num,
.drawer--sheet .drawer__header .drawer__title .order-code-num,
.drawer--sheet .drawer-header .drawer-title .order-code-num,
.drawer--sheet .drawer-header .drawer__title .order-code-num,
.order-preview-drawer .drawer-head .drawer-title .order-code-num,
.order-preview-drawer .drawer-head .drawer__title .order-code-num,
.order-preview-drawer .drawer__header .drawer-title .order-code-num,
.order-preview-drawer .drawer__header .drawer__title .order-code-num,
.order-preview-drawer .drawer-header .drawer-title .order-code-num,
.order-preview-drawer .drawer-header .drawer__title .order-code-num {
  font-family: var(--font-mono, monospace);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.drawer .drawer-head .drawer-title .status-pill-wrap, .drawer .drawer-head .drawer__title .status-pill-wrap, .drawer .drawer__header .drawer-title .status-pill-wrap, .drawer .drawer__header .drawer__title .status-pill-wrap, .drawer .drawer-header .drawer-title .status-pill-wrap, .drawer .drawer-header .drawer__title .status-pill-wrap,
.drawer--sheet .drawer-head .drawer-title .status-pill-wrap,
.drawer--sheet .drawer-head .drawer__title .status-pill-wrap,
.drawer--sheet .drawer__header .drawer-title .status-pill-wrap,
.drawer--sheet .drawer__header .drawer__title .status-pill-wrap,
.drawer--sheet .drawer-header .drawer-title .status-pill-wrap,
.drawer--sheet .drawer-header .drawer__title .status-pill-wrap,
.order-preview-drawer .drawer-head .drawer-title .status-pill-wrap,
.order-preview-drawer .drawer-head .drawer__title .status-pill-wrap,
.order-preview-drawer .drawer__header .drawer-title .status-pill-wrap,
.order-preview-drawer .drawer__header .drawer__title .status-pill-wrap,
.order-preview-drawer .drawer-header .drawer-title .status-pill-wrap,
.order-preview-drawer .drawer-header .drawer__title .status-pill-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.76rem;
  font-weight: 700;
}
.drawer .drawer-head .btn-back, .drawer .drawer-head .drawer__close, .drawer .drawer-head .drawer-close, .drawer .drawer__header .btn-back, .drawer .drawer__header .drawer__close, .drawer .drawer__header .drawer-close, .drawer .drawer-header .btn-back, .drawer .drawer-header .drawer__close, .drawer .drawer-header .drawer-close,
.drawer--sheet .drawer-head .btn-back,
.drawer--sheet .drawer-head .drawer__close,
.drawer--sheet .drawer-head .drawer-close,
.drawer--sheet .drawer__header .btn-back,
.drawer--sheet .drawer__header .drawer__close,
.drawer--sheet .drawer__header .drawer-close,
.drawer--sheet .drawer-header .btn-back,
.drawer--sheet .drawer-header .drawer__close,
.drawer--sheet .drawer-header .drawer-close,
.order-preview-drawer .drawer-head .btn-back,
.order-preview-drawer .drawer-head .drawer__close,
.order-preview-drawer .drawer-head .drawer-close,
.order-preview-drawer .drawer__header .btn-back,
.order-preview-drawer .drawer__header .drawer__close,
.order-preview-drawer .drawer__header .drawer-close,
.order-preview-drawer .drawer-header .btn-back,
.order-preview-drawer .drawer-header .drawer__close,
.order-preview-drawer .drawer-header .drawer-close {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md, 8px);
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast, all 0.18s ease);
  padding: 0;
}
.drawer .drawer-head .btn-back svg, .drawer .drawer-head .btn-back [data-lucide], .drawer .drawer-head .btn-back .btn-icon, .drawer .drawer-head .drawer__close svg, .drawer .drawer-head .drawer__close [data-lucide], .drawer .drawer-head .drawer__close .btn-icon, .drawer .drawer-head .drawer-close svg, .drawer .drawer-head .drawer-close [data-lucide], .drawer .drawer-head .drawer-close .btn-icon, .drawer .drawer__header .btn-back svg, .drawer .drawer__header .btn-back [data-lucide], .drawer .drawer__header .btn-back .btn-icon, .drawer .drawer__header .drawer__close svg, .drawer .drawer__header .drawer__close [data-lucide], .drawer .drawer__header .drawer__close .btn-icon, .drawer .drawer__header .drawer-close svg, .drawer .drawer__header .drawer-close [data-lucide], .drawer .drawer__header .drawer-close .btn-icon, .drawer .drawer-header .btn-back svg, .drawer .drawer-header .btn-back [data-lucide], .drawer .drawer-header .btn-back .btn-icon, .drawer .drawer-header .drawer__close svg, .drawer .drawer-header .drawer__close [data-lucide], .drawer .drawer-header .drawer__close .btn-icon, .drawer .drawer-header .drawer-close svg, .drawer .drawer-header .drawer-close [data-lucide], .drawer .drawer-header .drawer-close .btn-icon,
.drawer--sheet .drawer-head .btn-back svg,
.drawer--sheet .drawer-head .btn-back [data-lucide],
.drawer--sheet .drawer-head .btn-back .btn-icon,
.drawer--sheet .drawer-head .drawer__close svg,
.drawer--sheet .drawer-head .drawer__close [data-lucide],
.drawer--sheet .drawer-head .drawer__close .btn-icon,
.drawer--sheet .drawer-head .drawer-close svg,
.drawer--sheet .drawer-head .drawer-close [data-lucide],
.drawer--sheet .drawer-head .drawer-close .btn-icon,
.drawer--sheet .drawer__header .btn-back svg,
.drawer--sheet .drawer__header .btn-back [data-lucide],
.drawer--sheet .drawer__header .btn-back .btn-icon,
.drawer--sheet .drawer__header .drawer__close svg,
.drawer--sheet .drawer__header .drawer__close [data-lucide],
.drawer--sheet .drawer__header .drawer__close .btn-icon,
.drawer--sheet .drawer__header .drawer-close svg,
.drawer--sheet .drawer__header .drawer-close [data-lucide],
.drawer--sheet .drawer__header .drawer-close .btn-icon,
.drawer--sheet .drawer-header .btn-back svg,
.drawer--sheet .drawer-header .btn-back [data-lucide],
.drawer--sheet .drawer-header .btn-back .btn-icon,
.drawer--sheet .drawer-header .drawer__close svg,
.drawer--sheet .drawer-header .drawer__close [data-lucide],
.drawer--sheet .drawer-header .drawer__close .btn-icon,
.drawer--sheet .drawer-header .drawer-close svg,
.drawer--sheet .drawer-header .drawer-close [data-lucide],
.drawer--sheet .drawer-header .drawer-close .btn-icon,
.order-preview-drawer .drawer-head .btn-back svg,
.order-preview-drawer .drawer-head .btn-back [data-lucide],
.order-preview-drawer .drawer-head .btn-back .btn-icon,
.order-preview-drawer .drawer-head .drawer__close svg,
.order-preview-drawer .drawer-head .drawer__close [data-lucide],
.order-preview-drawer .drawer-head .drawer__close .btn-icon,
.order-preview-drawer .drawer-head .drawer-close svg,
.order-preview-drawer .drawer-head .drawer-close [data-lucide],
.order-preview-drawer .drawer-head .drawer-close .btn-icon,
.order-preview-drawer .drawer__header .btn-back svg,
.order-preview-drawer .drawer__header .btn-back [data-lucide],
.order-preview-drawer .drawer__header .btn-back .btn-icon,
.order-preview-drawer .drawer__header .drawer__close svg,
.order-preview-drawer .drawer__header .drawer__close [data-lucide],
.order-preview-drawer .drawer__header .drawer__close .btn-icon,
.order-preview-drawer .drawer__header .drawer-close svg,
.order-preview-drawer .drawer__header .drawer-close [data-lucide],
.order-preview-drawer .drawer__header .drawer-close .btn-icon,
.order-preview-drawer .drawer-header .btn-back svg,
.order-preview-drawer .drawer-header .btn-back [data-lucide],
.order-preview-drawer .drawer-header .btn-back .btn-icon,
.order-preview-drawer .drawer-header .drawer__close svg,
.order-preview-drawer .drawer-header .drawer__close [data-lucide],
.order-preview-drawer .drawer-header .drawer__close .btn-icon,
.order-preview-drawer .drawer-header .drawer-close svg,
.order-preview-drawer .drawer-header .drawer-close [data-lucide],
.order-preview-drawer .drawer-header .drawer-close .btn-icon {
  width: 16px;
  height: 16px;
  color: inherit;
}
.drawer .drawer-head .btn-back:hover, .drawer .drawer-head .drawer__close:hover, .drawer .drawer-head .drawer-close:hover, .drawer .drawer__header .btn-back:hover, .drawer .drawer__header .drawer__close:hover, .drawer .drawer__header .drawer-close:hover, .drawer .drawer-header .btn-back:hover, .drawer .drawer-header .drawer__close:hover, .drawer .drawer-header .drawer-close:hover,
.drawer--sheet .drawer-head .btn-back:hover,
.drawer--sheet .drawer-head .drawer__close:hover,
.drawer--sheet .drawer-head .drawer-close:hover,
.drawer--sheet .drawer__header .btn-back:hover,
.drawer--sheet .drawer__header .drawer__close:hover,
.drawer--sheet .drawer__header .drawer-close:hover,
.drawer--sheet .drawer-header .btn-back:hover,
.drawer--sheet .drawer-header .drawer__close:hover,
.drawer--sheet .drawer-header .drawer-close:hover,
.order-preview-drawer .drawer-head .btn-back:hover,
.order-preview-drawer .drawer-head .drawer__close:hover,
.order-preview-drawer .drawer-head .drawer-close:hover,
.order-preview-drawer .drawer__header .btn-back:hover,
.order-preview-drawer .drawer__header .drawer__close:hover,
.order-preview-drawer .drawer__header .drawer-close:hover,
.order-preview-drawer .drawer-header .btn-back:hover,
.order-preview-drawer .drawer-header .drawer__close:hover,
.order-preview-drawer .drawer-header .drawer-close:hover {
  background: var(--surface3);
  color: var(--text-primary);
  border-color: var(--border2);
  transform: scale(1.04);
}
.drawer .drawer-body, .drawer .drawer__body,
.drawer--sheet .drawer-body,
.drawer--sheet .drawer__body,
.order-preview-drawer .drawer-body,
.order-preview-drawer .drawer__body {
  max-height: calc(min(88vh, 850px) - 145px);
  overflow-y: auto;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--surface3) transparent;
}
.drawer .drawer-body::-webkit-scrollbar, .drawer .drawer__body::-webkit-scrollbar,
.drawer--sheet .drawer-body::-webkit-scrollbar,
.drawer--sheet .drawer__body::-webkit-scrollbar,
.order-preview-drawer .drawer-body::-webkit-scrollbar,
.order-preview-drawer .drawer__body::-webkit-scrollbar {
  width: 6px;
}
.drawer .drawer-body::-webkit-scrollbar-thumb, .drawer .drawer__body::-webkit-scrollbar-thumb,
.drawer--sheet .drawer-body::-webkit-scrollbar-thumb,
.drawer--sheet .drawer__body::-webkit-scrollbar-thumb,
.order-preview-drawer .drawer-body::-webkit-scrollbar-thumb,
.order-preview-drawer .drawer__body::-webkit-scrollbar-thumb {
  background: var(--surface3);
  border-radius: 4px;
}
.drawer .drawer-body .form-control,
.drawer .drawer-body .form-select,
.drawer .drawer-body .input,
.drawer .drawer-body .select,
.drawer .drawer-body textarea.form-control,
.drawer .drawer-body textarea.input, .drawer .drawer__body .form-control,
.drawer .drawer__body .form-select,
.drawer .drawer__body .input,
.drawer .drawer__body .select,
.drawer .drawer__body textarea.form-control,
.drawer .drawer__body textarea.input,
.drawer--sheet .drawer-body .form-control,
.drawer--sheet .drawer-body .form-select,
.drawer--sheet .drawer-body .input,
.drawer--sheet .drawer-body .select,
.drawer--sheet .drawer-body textarea.form-control,
.drawer--sheet .drawer-body textarea.input,
.drawer--sheet .drawer__body .form-control,
.drawer--sheet .drawer__body .form-select,
.drawer--sheet .drawer__body .input,
.drawer--sheet .drawer__body .select,
.drawer--sheet .drawer__body textarea.form-control,
.drawer--sheet .drawer__body textarea.input,
.order-preview-drawer .drawer-body .form-control,
.order-preview-drawer .drawer-body .form-select,
.order-preview-drawer .drawer-body .input,
.order-preview-drawer .drawer-body .select,
.order-preview-drawer .drawer-body textarea.form-control,
.order-preview-drawer .drawer-body textarea.input,
.order-preview-drawer .drawer__body .form-control,
.order-preview-drawer .drawer__body .form-select,
.order-preview-drawer .drawer__body .input,
.order-preview-drawer .drawer__body .select,
.order-preview-drawer .drawer__body textarea.form-control,
.order-preview-drawer .drawer__body textarea.input {
  background: var(--input-bg) !important;
  border: 1px solid var(--border-medium) !important;
  border-radius: var(--radius-md, 10px) !important;
  color: var(--text-primary) !important;
  box-shadow: var(--shadow-xs);
}
.drawer .drawer-body .form-control::placeholder,
.drawer .drawer-body .form-select::placeholder,
.drawer .drawer-body .input::placeholder,
.drawer .drawer-body .select::placeholder,
.drawer .drawer-body textarea.form-control::placeholder,
.drawer .drawer-body textarea.input::placeholder, .drawer .drawer__body .form-control::placeholder,
.drawer .drawer__body .form-select::placeholder,
.drawer .drawer__body .input::placeholder,
.drawer .drawer__body .select::placeholder,
.drawer .drawer__body textarea.form-control::placeholder,
.drawer .drawer__body textarea.input::placeholder,
.drawer--sheet .drawer-body .form-control::placeholder,
.drawer--sheet .drawer-body .form-select::placeholder,
.drawer--sheet .drawer-body .input::placeholder,
.drawer--sheet .drawer-body .select::placeholder,
.drawer--sheet .drawer-body textarea.form-control::placeholder,
.drawer--sheet .drawer-body textarea.input::placeholder,
.drawer--sheet .drawer__body .form-control::placeholder,
.drawer--sheet .drawer__body .form-select::placeholder,
.drawer--sheet .drawer__body .input::placeholder,
.drawer--sheet .drawer__body .select::placeholder,
.drawer--sheet .drawer__body textarea.form-control::placeholder,
.drawer--sheet .drawer__body textarea.input::placeholder,
.order-preview-drawer .drawer-body .form-control::placeholder,
.order-preview-drawer .drawer-body .form-select::placeholder,
.order-preview-drawer .drawer-body .input::placeholder,
.order-preview-drawer .drawer-body .select::placeholder,
.order-preview-drawer .drawer-body textarea.form-control::placeholder,
.order-preview-drawer .drawer-body textarea.input::placeholder,
.order-preview-drawer .drawer__body .form-control::placeholder,
.order-preview-drawer .drawer__body .form-select::placeholder,
.order-preview-drawer .drawer__body .input::placeholder,
.order-preview-drawer .drawer__body .select::placeholder,
.order-preview-drawer .drawer__body textarea.form-control::placeholder,
.order-preview-drawer .drawer__body textarea.input::placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}
.drawer .drawer-body .form-control:hover:not(:disabled),
.drawer .drawer-body .form-select:hover:not(:disabled),
.drawer .drawer-body .input:hover:not(:disabled),
.drawer .drawer-body .select:hover:not(:disabled),
.drawer .drawer-body textarea.form-control:hover:not(:disabled),
.drawer .drawer-body textarea.input:hover:not(:disabled), .drawer .drawer__body .form-control:hover:not(:disabled),
.drawer .drawer__body .form-select:hover:not(:disabled),
.drawer .drawer__body .input:hover:not(:disabled),
.drawer .drawer__body .select:hover:not(:disabled),
.drawer .drawer__body textarea.form-control:hover:not(:disabled),
.drawer .drawer__body textarea.input:hover:not(:disabled),
.drawer--sheet .drawer-body .form-control:hover:not(:disabled),
.drawer--sheet .drawer-body .form-select:hover:not(:disabled),
.drawer--sheet .drawer-body .input:hover:not(:disabled),
.drawer--sheet .drawer-body .select:hover:not(:disabled),
.drawer--sheet .drawer-body textarea.form-control:hover:not(:disabled),
.drawer--sheet .drawer-body textarea.input:hover:not(:disabled),
.drawer--sheet .drawer__body .form-control:hover:not(:disabled),
.drawer--sheet .drawer__body .form-select:hover:not(:disabled),
.drawer--sheet .drawer__body .input:hover:not(:disabled),
.drawer--sheet .drawer__body .select:hover:not(:disabled),
.drawer--sheet .drawer__body textarea.form-control:hover:not(:disabled),
.drawer--sheet .drawer__body textarea.input:hover:not(:disabled),
.order-preview-drawer .drawer-body .form-control:hover:not(:disabled),
.order-preview-drawer .drawer-body .form-select:hover:not(:disabled),
.order-preview-drawer .drawer-body .input:hover:not(:disabled),
.order-preview-drawer .drawer-body .select:hover:not(:disabled),
.order-preview-drawer .drawer-body textarea.form-control:hover:not(:disabled),
.order-preview-drawer .drawer-body textarea.input:hover:not(:disabled),
.order-preview-drawer .drawer__body .form-control:hover:not(:disabled),
.order-preview-drawer .drawer__body .form-select:hover:not(:disabled),
.order-preview-drawer .drawer__body .input:hover:not(:disabled),
.order-preview-drawer .drawer__body .select:hover:not(:disabled),
.order-preview-drawer .drawer__body textarea.form-control:hover:not(:disabled),
.order-preview-drawer .drawer__body textarea.input:hover:not(:disabled) {
  border-color: var(--border-strong) !important;
}
.drawer .drawer-body .form-control:focus:not(:disabled),
.drawer .drawer-body .form-select:focus:not(:disabled),
.drawer .drawer-body .input:focus:not(:disabled),
.drawer .drawer-body .select:focus:not(:disabled),
.drawer .drawer-body textarea.form-control:focus:not(:disabled),
.drawer .drawer-body textarea.input:focus:not(:disabled), .drawer .drawer__body .form-control:focus:not(:disabled),
.drawer .drawer__body .form-select:focus:not(:disabled),
.drawer .drawer__body .input:focus:not(:disabled),
.drawer .drawer__body .select:focus:not(:disabled),
.drawer .drawer__body textarea.form-control:focus:not(:disabled),
.drawer .drawer__body textarea.input:focus:not(:disabled),
.drawer--sheet .drawer-body .form-control:focus:not(:disabled),
.drawer--sheet .drawer-body .form-select:focus:not(:disabled),
.drawer--sheet .drawer-body .input:focus:not(:disabled),
.drawer--sheet .drawer-body .select:focus:not(:disabled),
.drawer--sheet .drawer-body textarea.form-control:focus:not(:disabled),
.drawer--sheet .drawer-body textarea.input:focus:not(:disabled),
.drawer--sheet .drawer__body .form-control:focus:not(:disabled),
.drawer--sheet .drawer__body .form-select:focus:not(:disabled),
.drawer--sheet .drawer__body .input:focus:not(:disabled),
.drawer--sheet .drawer__body .select:focus:not(:disabled),
.drawer--sheet .drawer__body textarea.form-control:focus:not(:disabled),
.drawer--sheet .drawer__body textarea.input:focus:not(:disabled),
.order-preview-drawer .drawer-body .form-control:focus:not(:disabled),
.order-preview-drawer .drawer-body .form-select:focus:not(:disabled),
.order-preview-drawer .drawer-body .input:focus:not(:disabled),
.order-preview-drawer .drawer-body .select:focus:not(:disabled),
.order-preview-drawer .drawer-body textarea.form-control:focus:not(:disabled),
.order-preview-drawer .drawer-body textarea.input:focus:not(:disabled),
.order-preview-drawer .drawer__body .form-control:focus:not(:disabled),
.order-preview-drawer .drawer__body .form-select:focus:not(:disabled),
.order-preview-drawer .drawer__body .input:focus:not(:disabled),
.order-preview-drawer .drawer__body .select:focus:not(:disabled),
.order-preview-drawer .drawer__body textarea.form-control:focus:not(:disabled),
.order-preview-drawer .drawer__body textarea.input:focus:not(:disabled) {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px var(--accent-glow) !important;
  outline: none;
}
.drawer .drawer-body .form-control:disabled, .drawer .drawer-body .form-control[disabled],
.drawer .drawer-body .form-select:disabled,
.drawer .drawer-body .form-select[disabled],
.drawer .drawer-body .input:disabled,
.drawer .drawer-body .input[disabled],
.drawer .drawer-body .select:disabled,
.drawer .drawer-body .select[disabled],
.drawer .drawer-body textarea.form-control:disabled,
.drawer .drawer-body textarea.form-control[disabled],
.drawer .drawer-body textarea.input:disabled,
.drawer .drawer-body textarea.input[disabled], .drawer .drawer__body .form-control:disabled, .drawer .drawer__body .form-control[disabled],
.drawer .drawer__body .form-select:disabled,
.drawer .drawer__body .form-select[disabled],
.drawer .drawer__body .input:disabled,
.drawer .drawer__body .input[disabled],
.drawer .drawer__body .select:disabled,
.drawer .drawer__body .select[disabled],
.drawer .drawer__body textarea.form-control:disabled,
.drawer .drawer__body textarea.form-control[disabled],
.drawer .drawer__body textarea.input:disabled,
.drawer .drawer__body textarea.input[disabled],
.drawer--sheet .drawer-body .form-control:disabled,
.drawer--sheet .drawer-body .form-control[disabled],
.drawer--sheet .drawer-body .form-select:disabled,
.drawer--sheet .drawer-body .form-select[disabled],
.drawer--sheet .drawer-body .input:disabled,
.drawer--sheet .drawer-body .input[disabled],
.drawer--sheet .drawer-body .select:disabled,
.drawer--sheet .drawer-body .select[disabled],
.drawer--sheet .drawer-body textarea.form-control:disabled,
.drawer--sheet .drawer-body textarea.form-control[disabled],
.drawer--sheet .drawer-body textarea.input:disabled,
.drawer--sheet .drawer-body textarea.input[disabled],
.drawer--sheet .drawer__body .form-control:disabled,
.drawer--sheet .drawer__body .form-control[disabled],
.drawer--sheet .drawer__body .form-select:disabled,
.drawer--sheet .drawer__body .form-select[disabled],
.drawer--sheet .drawer__body .input:disabled,
.drawer--sheet .drawer__body .input[disabled],
.drawer--sheet .drawer__body .select:disabled,
.drawer--sheet .drawer__body .select[disabled],
.drawer--sheet .drawer__body textarea.form-control:disabled,
.drawer--sheet .drawer__body textarea.form-control[disabled],
.drawer--sheet .drawer__body textarea.input:disabled,
.drawer--sheet .drawer__body textarea.input[disabled],
.order-preview-drawer .drawer-body .form-control:disabled,
.order-preview-drawer .drawer-body .form-control[disabled],
.order-preview-drawer .drawer-body .form-select:disabled,
.order-preview-drawer .drawer-body .form-select[disabled],
.order-preview-drawer .drawer-body .input:disabled,
.order-preview-drawer .drawer-body .input[disabled],
.order-preview-drawer .drawer-body .select:disabled,
.order-preview-drawer .drawer-body .select[disabled],
.order-preview-drawer .drawer-body textarea.form-control:disabled,
.order-preview-drawer .drawer-body textarea.form-control[disabled],
.order-preview-drawer .drawer-body textarea.input:disabled,
.order-preview-drawer .drawer-body textarea.input[disabled],
.order-preview-drawer .drawer__body .form-control:disabled,
.order-preview-drawer .drawer__body .form-control[disabled],
.order-preview-drawer .drawer__body .form-select:disabled,
.order-preview-drawer .drawer__body .form-select[disabled],
.order-preview-drawer .drawer__body .input:disabled,
.order-preview-drawer .drawer__body .input[disabled],
.order-preview-drawer .drawer__body .select:disabled,
.order-preview-drawer .drawer__body .select[disabled],
.order-preview-drawer .drawer__body textarea.form-control:disabled,
.order-preview-drawer .drawer__body textarea.form-control[disabled],
.order-preview-drawer .drawer__body textarea.input:disabled,
.order-preview-drawer .drawer__body textarea.input[disabled] {
  opacity: 0.5;
  background: var(--surface) !important;
  border-color: var(--border-subtle) !important;
  cursor: not-allowed;
}
.drawer .drawer-footer, .drawer .drawer__footer,
.drawer--sheet .drawer-footer,
.drawer--sheet .drawer__footer,
.order-preview-drawer .drawer-footer,
.order-preview-drawer .drawer__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
}
.drawer .drawer-footer .btn, .drawer .drawer__footer .btn,
.drawer--sheet .drawer-footer .btn,
.drawer--sheet .drawer__footer .btn,
.order-preview-drawer .drawer-footer .btn,
.order-preview-drawer .drawer__footer .btn {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-md, 10px);
}
@media (max-width: 640px) {
  .drawer,
  .drawer--sheet,
  .order-preview-drawer {
    width: 100vw !important;
    max-width: 100vw !important;
    max-height: 92vh !important;
    border-radius: 22px 22px 0 0 !important;
  }
  .drawer .drawer-head,
  .drawer--sheet .drawer-head,
  .order-preview-drawer .drawer-head {
    padding: 12px 16px;
  }
  .drawer .drawer-body,
  .drawer--sheet .drawer-body,
  .order-preview-drawer .drawer-body {
    padding: 14px 14px;
    max-height: calc(92vh - 140px);
    gap: 12px;
  }
  .drawer .drawer-footer,
  .drawer--sheet .drawer-footer,
  .order-preview-drawer .drawer-footer {
    padding: 12px 14px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
}

.drawer.drawer--side {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  right: 0 !important;
  inset-inline-end: 0 !important;
  inset-inline-start: auto !important;
  width: 460px !important;
  max-width: 92vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  border-radius: 0 !important;
  border-inline-start: 1px solid var(--border-medium) !important;
  z-index: 1100 !important;
  transform: translateX(100%) !important;
}
.drawer.drawer--side.open, .drawer.drawer--side.is-open {
  transform: translateX(0) !important;
}

[dir=rtl] .drawer.drawer--side:not(.open):not(.is-open) {
  transform: translateX(-100%) !important;
}

[dir=rtl] .drawer.drawer--side.open,
[dir=rtl] .drawer.drawer--side.is-open {
  transform: translateX(0) !important;
}

[dir=rtl] .drawer:not(.drawer--side),
[dir=rtl] .drawer--sheet,
[dir=rtl] .order-preview-drawer {
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: 0 !important;
  transform: translate(-50%, 100%) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.32s ease !important;
}

[dir=rtl] .drawer.hidden:not(.drawer--side),
[dir=rtl] .drawer--sheet.hidden,
[dir=rtl] .order-preview-drawer.hidden,
[dir=rtl] .drawer.is-hidden:not(.drawer--side),
[dir=rtl] .drawer--sheet.is-hidden,
[dir=rtl] .order-preview-drawer.is-hidden {
  transform: translate(-50%, 100%) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

[dir=rtl] .drawer.open:not(.drawer--side),
[dir=rtl] .drawer.is-open:not(.drawer--side),
[dir=rtl] .drawer--sheet.open,
[dir=rtl] .drawer--sheet.is-open,
[dir=rtl] .order-preview-drawer.open,
[dir=rtl] .order-preview-drawer.is-open {
  transform: translate(-50%, 0) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.drawer-content-stack,
.drawer-body > div:not(.p-5):not(.cascader-nav-bar) {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.d-section {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 16px);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast, all 0.18s ease);
}
.d-section:last-child {
  margin-bottom: 0;
}
.d-section:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.d-section .d-section-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  margin-bottom: 2px;
  border-bottom: none !important;
  letter-spacing: -0.01em;
}
.d-section .d-section-title svg, .d-section .d-section-title [data-lucide], .d-section .d-section-title i, .d-section .d-section-title .chip-icon, .d-section .d-section-title .section-svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}
.d-section .d-section-title .section-count-badge {
  font-size: 0.74rem;
  padding: 2px 8px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  color: var(--text-primary);
  font-weight: 800;
  border: none !important;
}
.d-section .d-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  gap: 14px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface3);
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast, all 0.18s ease);
}
.d-section .d-row:hover {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.d-section .d-row.d-row--border {
  border-top: none !important;
  margin-top: 4px;
}
.d-section .d-row.d-row--total {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-md, 12px);
  padding: 14px 18px;
  margin-top: 6px;
  margin-bottom: 2px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.d-section .d-row.d-row--total::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 3.5px;
  background: var(--accent);
}
.d-section .d-row.d-row--total .d-key {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-primary);
}
.d-section .d-row.d-row--total .d-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--accent);
  font-family: var(--font-mono, monospace);
  letter-spacing: -0.02em;
}
.d-section .d-key {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
  min-width: 95px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.d-section .d-val {
  color: var(--text-primary);
  font-weight: 800;
  font-size: 0.88rem;
  text-align: end;
  word-break: break-word;
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.d-section .d-val .cust-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 5px 12px;
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-md, 8px);
  transition: var(--transition-fast, all 0.15s ease);
}
.d-section .d-val .cust-phone-link:hover {
  background: var(--accent);
  color: var(--text-inverse);
  transform: translateY(-1px);
}
.d-section .d-val .cust-phone-link .cust-phone-icon {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.d-section .d-val .cust-phone-link .cust-phone-num {
  direction: ltr;
  unicode-bidi: embed;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}
.d-section .d-val .mini-wa-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md, 8px);
  background: var(--success-subtle);
  color: var(--success);
  border: none !important;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast, all 0.15s ease);
  flex-shrink: 0;
}
.d-section .d-val .mini-wa-btn svg, .d-section .d-val .mini-wa-btn [data-lucide] {
  width: 16px;
  height: 16px;
}
.d-section .d-val .mini-wa-btn:hover {
  background: var(--success);
  color: var(--text-inverse);
  transform: scale(1.06);
}
.d-section .form-group {
  margin-bottom: 14px;
}
.d-section .form-group:last-child {
  margin-bottom: 0;
}
.d-section .form-group .form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--text-secondary);
  margin-bottom: 7px;
}
.d-section .form-group .form-control {
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  background: var(--surface3);
  border: none !important;
  border-radius: var(--radius-md, 10px);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.18s ease;
}
.d-section .form-group .form-control:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent-glow);
}
.d-section .form-group .form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--surface3);
  border: none !important;
  border-radius: var(--radius-md, 12px);
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast, all 0.15s ease);
}
.order-item-row:hover {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.order-item-row .order-item-qty {
  font-size: 0.82rem;
  font-weight: 850;
  color: var(--text-inverse);
  background: var(--text-primary);
  padding: 4px 9px;
  border-radius: var(--radius-sm, 7px);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.order-item-row .order-item-info {
  flex: 1;
  min-width: 0;
}
.order-item-row .order-item-name {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--text);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-item-row .order-item-var {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 5px;
  background: var(--surface2);
  border: none !important;
  font-weight: 600;
}
.order-item-row .order-item-price {
  font-size: 0.94rem;
  font-weight: 850;
  color: var(--text);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono, monospace);
}

.tracking-line {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
}
.tracking-line .track-step {
  display: flex;
  gap: 14px;
  position: relative;
  min-height: 52px;
}
.tracking-line .track-step:last-child {
  min-height: auto;
}
.tracking-line .track-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 16px;
  flex-shrink: 0;
  position: relative;
}
.tracking-line .track-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--surface);
  z-index: 2;
  transition: all 0.2s ease;
}
.tracking-line .track-dot.cur {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.tracking-line .track-dot.done {
  background: var(--success);
  box-shadow: 0 0 0 3px var(--success-border);
}
.tracking-line .track-line {
  position: absolute;
  top: 14px;
  bottom: 0;
  width: 2px;
  background: var(--border);
  z-index: 1;
}
.tracking-line .track-line.done {
  background: var(--success);
}
.tracking-line .track-info {
  flex: 1;
  padding-bottom: 12px;
}
.tracking-line .track-info .track-label {
  font-size: 0.86rem;
  font-weight: 750;
  color: var(--text);
  line-height: 1.25;
}
.tracking-line .track-info .track-time {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}
.tracking-line .track-info .track-note {
  font-size: 0.76rem;
  color: var(--text-secondary);
  background: var(--surface);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  margin-top: 4px;
}

.quick-modal-backdrop {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1060;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0;
  animation: qmFadeIn 0.25s ease;
}

.quick-modal-sheet {
  background: var(--surface);
  border: none;
  border-radius: 28px 28px 0 0;
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 16px 26px 26px;
  box-shadow: var(--shadow-drawer);
  animation: qmSlideUp 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  display: flex;
  flex-direction: column;
}
@media (max-width: 575.98px) {
  .quick-modal-sheet {
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    padding: 14px 16px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    max-height: 92vh;
  }
}
.quick-modal-sheet .drawer-drag-handle {
  width: 44px;
  height: 5px;
  border-radius: 99px;
  background: var(--border-medium);
  margin: 0 auto 14px;
  flex-shrink: 0;
  cursor: grab;
}
.quick-modal-sheet .quick-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.quick-modal-sheet .quick-sheet-header .quick-sheet-title {
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
.quick-modal-sheet .quick-sheet-header .btn-close-sheet {
  background: var(--surface2);
  border: none;
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quick-modal-sheet .quick-sheet-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quick-modal-sheet .quick-prod-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--surface2);
  border-radius: 12px;
}
.quick-modal-sheet .quick-prod-preview .quick-prod-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}
.quick-modal-sheet .quick-prod-preview .quick-prod-thumb-ph {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--surface3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.quick-modal-sheet .quick-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.quick-modal-sheet .quick-field-group .quick-field-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.quick-modal-sheet .quick-field-group .quick-field-label svg, .quick-modal-sheet .quick-field-group .quick-field-label [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--accent);
}
.quick-modal-sheet .stock-stepper-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.quick-modal-sheet .stock-stepper-wrap .btn-stepper {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.15s;
}
.quick-modal-sheet .stock-stepper-wrap .btn-stepper:active {
  transform: scale(0.95);
  background: var(--accent);
  color: var(--text-inverse);
}
.quick-modal-sheet .stock-stepper-wrap .stock-stepper-input {
  flex: 1;
  height: 46px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  outline: none;
}
.quick-modal-sheet .stepper-presets {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.quick-modal-sheet .stepper-presets .btn-preset {
  flex: 1;
  min-height: 34px;
  background: var(--surface2);
  border: none;
  border-radius: var(--radius-full, 9999px);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}
.quick-modal-sheet .stepper-presets .btn-preset:hover {
  background: var(--surface3);
  color: var(--accent);
}
.quick-modal-sheet .quick-skus-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quick-modal-sheet .quick-skus-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 240px;
  overflow-y: auto;
  padding-inline-end: 4px;
}
.quick-modal-sheet .quick-sku-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: var(--surface2);
  border-radius: var(--radius-md, 10px);
  transition: var(--transition-fast);
}
.quick-modal-sheet .quick-sku-item:hover {
  background: var(--surface3);
}
.quick-modal-sheet .quick-sku-item .quick-sku-info {
  flex: 1;
  min-width: 0;
}
.quick-modal-sheet .quick-sku-item .quick-sku-info .quick-sku-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quick-modal-sheet .quick-sku-item .quick-sku-info .quick-sku-code {
  font-size: 0.72rem;
  font-family: monospace;
  color: var(--text-muted);
}
.quick-modal-sheet .stock-stepper-wrap--compact {
  width: 140px;
  flex-shrink: 0;
  gap: 4px;
}
.quick-modal-sheet .stock-stepper-wrap--compact .btn-stepper--sm {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 0.9rem;
}
.quick-modal-sheet .stock-stepper-wrap--compact .stock-stepper-input--compact {
  height: 32px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  min-width: 0;
}
.quick-modal-sheet .quick-prices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 420px) {
  .quick-modal-sheet .quick-prices-grid {
    grid-template-columns: 1fr;
  }
}
.quick-modal-sheet .quick-prices-grid .quick-input {
  height: 44px;
  font-weight: 700;
  font-size: 1rem;
}
.quick-modal-sheet .quick-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--surface2);
  border-radius: 12px;
}
.quick-modal-sheet .quick-sheet-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

@keyframes qmFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes qmSlideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes qmScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes qmSlideDrawer {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes qmSlideDrawerRtl {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
.modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.modal-title-group .modal-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md, 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.modal-title-group .modal-icon-badge.badge-indigo, .modal-title-group .modal-icon-badge.text-indigo {
  background: var(--indigo-subtle);
  color: var(--indigo);
}
.modal-title-group .modal-icon-badge.badge-accent, .modal-title-group .modal-icon-badge.text-accent {
  background: var(--accent-subtle);
  color: var(--accent);
}
.modal-title-group .modal-icon-badge svg, .modal-title-group .modal-icon-badge i {
  width: 20px;
  height: 20px;
}

.modal-body--scroll {
  max-height: 70vh !important;
  overflow-y: auto !important;
}

@media (max-width: 767.98px) {
  .bottom-sheet-modal {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 20px 20px 0 0 !important;
    max-height: 85vh !important;
    display: flex;
    flex-direction: column;
    animation: slideUpSheet 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

.bottom-sheet-handle {
  width: 40px;
  height: 5px;
  border-radius: 99px;
  background: var(--border-medium);
  margin: 10px auto 4px;
  flex-shrink: 0;
}

@keyframes slideUpSheet {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
.offer-studio-modal-body,
.shipping-studio-modal-body,
.salesproof-modal-body,
.utm-modal-body,
.mapping-studio-modal-body,
.wallet-modal-body,
.kyc-modal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px !important;
  background: var(--bg-card);
  overflow-y: auto;
  overflow-x: hidden;
}
@media (max-width: 576px) {
  .offer-studio-modal-body,
  .shipping-studio-modal-body,
  .salesproof-modal-body,
  .utm-modal-body,
  .mapping-studio-modal-body,
  .wallet-modal-body,
  .kyc-modal-body {
    padding: 14px 12px !important;
    gap: 14px;
  }
}

.surface-card {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 16px);
  padding: 18px 22px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 16px;
  color: var(--text-primary);
}

.surface-box {
  background: var(--surface3);
  border: none !important;
  border-radius: var(--radius-md, 12px);
  padding: 14px 18px;
  color: var(--text-primary);
}

.surface-dashed {
  background: var(--surface2);
  border: 1.5px dashed var(--border-medium) !important;
  border-radius: var(--radius-lg, 16px);
  padding: 18px 22px;
}

.studio-tag {
  font-size: 0.72rem;
  font-weight: 750;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.studio-banner-warning {
  background: var(--warning-subtle);
  color: var(--warning);
  border-radius: var(--radius-md, 12px);
  padding: 12px 18px;
  font-size: 0.82rem;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 10px;
}

.studio-code-input {
  font-family: monospace;
  font-size: 0.82rem;
  background: var(--surface3) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-sm, 8px);
  padding: 8px 14px;
  direction: ltr;
}

.studio-preview-box {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 18px 20px;
  border: none !important;
}

.setup-note {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 16px);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.setup-note .note-icon {
  color: var(--accent);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.channel-status-widget {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 18px 22px;
  border: none !important;
  margin-bottom: 18px;
  box-shadow: var(--shadow-xs);
}

.shipping-studio-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.shipping-studio-container .shipping-carrier-hero {
  background: var(--surface2);
  border-radius: var(--radius-xl, 20px);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border: none !important;
  box-shadow: var(--shadow-xs);
}
@media (max-width: 768px) {
  .shipping-studio-container .shipping-carrier-hero {
    padding: 14px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}
.shipping-studio-container .shipping-carrier-hero .carrier-brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
@media (max-width: 768px) {
  .shipping-studio-container .shipping-carrier-hero .carrier-brand-wrap {
    gap: 12px;
  }
}
.shipping-studio-container .shipping-carrier-hero .carrier-brand-wrap .carrier-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xs);
}
@media (max-width: 768px) {
  .shipping-studio-container .shipping-carrier-hero .carrier-brand-wrap .carrier-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
}
.shipping-studio-container .carrier-credentials-box {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 20px 24px;
  border: none !important;
}
@media (max-width: 768px) {
  .shipping-studio-container .carrier-credentials-box {
    padding: 14px 16px;
  }
}
.shipping-studio-container .shipping-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .shipping-studio-container .shipping-mode-grid {
    grid-template-columns: 1fr;
  }
}
.shipping-studio-container .shipping-mode-grid .shipping-mode-card {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 16px);
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.shipping-studio-container .shipping-mode-grid .shipping-mode-card:hover {
  background: var(--surface3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.shipping-studio-container .shipping-mode-grid .shipping-mode-card.is-active {
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.shipping-studio-container .shipping-mode-grid .shipping-mode-card.is-active .card-head .card-title {
  color: var(--text-primary);
  font-weight: 850;
}
.shipping-studio-container .shipping-mode-grid .shipping-mode-card .card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.shipping-studio-container .shipping-mode-grid .shipping-mode-card .card-head .card-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.shipping-studio-container .shipping-mode-grid .shipping-mode-card .card-head .badge {
  background: var(--accent-subtle);
  color: var(--accent);
  font-weight: 750;
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: var(--radius-pill, 999px);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: var(--shadow-xs);
}
.shipping-studio-container .shipping-mode-grid .shipping-mode-card .card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}
.shipping-studio-container .flat-rate-box {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 20px 24px;
  margin-block: 20px;
  border: none !important;
  box-shadow: var(--shadow-xs);
}
@media (max-width: 768px) {
  .shipping-studio-container .flat-rate-box {
    padding: 14px 16px;
    margin-block: 14px;
  }
}
.shipping-studio-container .zones-table-wrap {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  border: none !important;
  box-shadow: var(--shadow-xs);
  margin-top: 20px;
}
.shipping-studio-container .zones-table-wrap .table-toolbar {
  padding: 14px 18px;
  background: var(--surface3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .table-toolbar {
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
}
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-start {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-start {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
}
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-end {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-end {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
}
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 230px;
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-search-wrap {
    width: 100% !important;
  }
}
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-search-wrap .search-icon {
  position: absolute;
  inset-inline-start: 12px;
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  pointer-events: none;
}
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-search-wrap .toolbar-search-input {
  width: 100%;
  height: 36px;
  padding-inline-start: 36px;
  padding-inline-end: 32px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm, 8px);
  font-size: 0.82rem;
  color: var(--text-primary);
  outline: none;
  transition: all 0.2s ease;
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-search-wrap .toolbar-search-input {
    height: 40px;
    font-size: 0.86rem;
  }
}
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-search-wrap .toolbar-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
}
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-search-wrap .search-clear-btn {
  position: absolute;
  inset-inline-end: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-search-wrap .search-clear-btn:hover {
  color: var(--text-primary);
}
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-bulk-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-bulk-wrap {
    width: 100%;
  }
}
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-bulk-wrap .bulk-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-bulk-wrap .bulk-input-group {
  display: flex;
  align-items: center;
  width: 110px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-bulk-wrap .bulk-input-group {
    flex: 1;
    min-width: 0;
    width: auto;
    height: 40px;
  }
}
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-bulk-wrap .bulk-input-group .form-control {
  width: 1%;
  flex: 1 1 auto;
  height: 34px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-align: center;
  font-weight: 750;
  font-size: 0.84rem;
  color: var(--text-primary);
  padding: 0 4px;
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-bulk-wrap .bulk-input-group .form-control {
    height: 40px;
    font-size: 0.9rem;
  }
}
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-bulk-wrap .bulk-input-group .input-group-text {
  background: var(--surface2);
  border: none;
  padding: 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-bulk-wrap .btn-bulk-apply {
  height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-sm, 8px);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-xs);
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-bulk-wrap .btn-bulk-apply {
    height: 40px;
    padding: 0 18px;
    font-weight: 800;
    flex-shrink: 0;
  }
}
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-bulk-wrap .btn-bulk-apply:hover {
  background: var(--accent);
  color: var(--color-white);
  border-color: var(--accent);
}
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill, 999px);
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--text-secondary);
  box-shadow: var(--shadow-xs);
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-stat-badge {
    width: 100%;
    justify-content: center;
    height: 36px;
    border-radius: var(--radius-sm, 8px);
    font-size: 0.78rem;
  }
}
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-stat-badge svg, .shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-stat-badge [data-lucide] {
  color: var(--accent);
}
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-actions-group {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-actions-group .btn-enable-all,
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-actions-group .btn-disable-all {
  height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-sm, 8px);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-xs);
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-actions-group .btn-enable-all,
  .shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-actions-group .btn-disable-all {
    width: 100%;
    height: 40px;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 750;
  }
}
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-actions-group .btn-enable-all:hover,
.shipping-studio-container .zones-table-wrap .table-toolbar .toolbar-actions-group .btn-disable-all:hover {
  background: var(--surface2);
  transform: translateY(-1px);
}
.shipping-studio-container .zones-table-wrap .zones-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .zones-table {
    font-size: 0.8rem;
  }
}
.shipping-studio-container .zones-table-wrap .zones-table th {
  padding: 14px 18px;
  background: var(--surface3);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 750;
  border-bottom: 1px solid var(--border-subtle);
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .zones-table th {
    padding: 10px 10px;
    font-size: 0.72rem;
  }
}
.shipping-studio-container .zones-table-wrap .zones-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .zones-table td {
    padding: 10px 10px;
  }
}
.shipping-studio-container .zones-table-wrap .zones-table .col-index {
  width: 50px;
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .zones-table .col-index {
    width: 36px;
  }
}
.shipping-studio-container .zones-table-wrap .zones-table .col-gov {
  min-width: 180px;
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .zones-table .col-gov {
    min-width: 130px;
  }
}
.shipping-studio-container .zones-table-wrap .zones-table .col-cost {
  width: 150px;
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .zones-table .col-cost {
    width: 105px;
  }
}
.shipping-studio-container .zones-table-wrap .zones-table .col-status {
  width: 90px;
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .zones-table .col-status {
    width: 70px;
  }
}
.shipping-studio-container .zones-table-wrap .zones-table .zone-pin-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface3);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .zones-table .zone-pin-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
}
.shipping-studio-container .zones-table-wrap .zones-table .zone-title {
  font-weight: 750;
  color: var(--text-primary);
  font-size: 0.88rem;
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .zones-table .zone-title {
    font-size: 0.82rem;
  }
}
.shipping-studio-container .zones-table-wrap .zones-table .zone-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}
.shipping-studio-container .zones-table-wrap .zones-table .zone-cost-input-group {
  display: inline-flex;
  align-items: center;
  width: 120px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .zones-table .zone-cost-input-group {
    width: 95px;
  }
}
.shipping-studio-container .zones-table-wrap .zones-table .zone-cost-input-group:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
}
.shipping-studio-container .zones-table-wrap .zones-table .zone-cost-input-group .form-control {
  width: 1%;
  flex: 1 1 auto;
  height: 34px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-align: center;
  font-weight: 750;
  font-size: 0.88rem;
  color: var(--text-primary);
  padding: 0 6px;
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .zones-table .zone-cost-input-group .form-control {
    height: 32px;
    font-size: 0.82rem;
  }
}
.shipping-studio-container .zones-table-wrap .zones-table .zone-cost-input-group .form-control:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.shipping-studio-container .zones-table-wrap .zones-table .zone-cost-input-group .input-group-text {
  background: var(--surface2);
  border: none;
  padding: 0 10px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .shipping-studio-container .zones-table-wrap .zones-table .zone-cost-input-group .input-group-text {
    padding: 0 6px;
    font-size: 0.68rem;
  }
}
.shipping-studio-container .zones-table-wrap .zones-table .row-inactive {
  opacity: 0.55;
  background: var(--surface2);
}

.offer-studio-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.offer-studio-container .cs-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.offer-studio-container .cs-stats-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}
.offer-studio-container .cs-rules-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.offer-studio-container .cs-rule-card {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-xl, 18px);
  padding: 20px 24px;
  box-shadow: var(--shadow-xs);
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}
.offer-studio-container .cs-rule-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.offer-studio-container .cs-rule-card.cs-rule-inactive {
  opacity: 0.65;
}
.offer-studio-container .cs-rule-card .cs-rule-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.offer-studio-container .cs-rule-card .cs-rule-card-head .cs-rule-name {
  font-size: 1.02rem;
  font-weight: 850;
  color: var(--text-primary);
}
.offer-studio-container .cs-rule-card .cs-flow-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
@media (max-width: 768px) {
  .offer-studio-container .cs-rule-card .cs-flow-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.offer-studio-container .cs-rule-card .cs-flow-grid .cs-prod-pill {
  background: var(--surface3);
  border-radius: var(--radius-lg, 14px);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.offer-studio-container .cs-rule-card .cs-flow-grid .cs-prod-pill .cs-pill-badge {
  font-size: 0.7rem;
  font-weight: 750;
  padding: 2px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  color: var(--text-muted);
  display: inline-block;
  width: fit-content;
  margin-bottom: 4px;
}
.offer-studio-container .cs-rule-card .cs-flow-grid .cs-prod-pill .cs-pill-badge.cs-pill-offer-badge {
  background: var(--success-subtle);
  color: var(--success);
}
.offer-studio-container .cs-rule-card .cs-flow-grid .cs-prod-pill .cs-mini-thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--surface2);
  flex-shrink: 0;
}
.offer-studio-container .cs-rule-card .cs-flow-grid .cs-prod-pill .cs-prod-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.offer-studio-container .cs-rule-card .cs-flow-grid .cs-prod-pill .cs-prod-text .cs-prod-title {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.offer-studio-container .cs-rule-card .cs-flow-grid .cs-prod-pill .cs-prod-text .cs-prod-meta {
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.offer-studio-container .cs-rule-card .cs-flow-grid .cs-prod-pill .cs-prod-text .cs-pricing-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
}
.offer-studio-container .cs-rule-card .cs-flow-grid .cs-prod-pill .cs-prod-text .cs-pricing-row .cs-old-price {
  text-decoration: line-through;
  color: var(--text-muted);
}
.offer-studio-container .cs-rule-card .cs-flow-grid .cs-prod-pill .cs-prod-text .cs-pricing-row .cs-new-price {
  font-weight: 800;
  color: var(--success);
}
.offer-studio-container .cs-rule-card .cs-flow-grid .cs-flow-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}
.offer-studio-container .cs-rule-card .cs-flow-grid .cs-flow-arrow .cs-arrow-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.offer-studio-container .cs-customization-card {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 16px);
  padding: 22px;
  margin-bottom: 20px;
}
.offer-studio-container .cs-preview-wrap {
  background: var(--surface3);
  border-radius: var(--radius-xl, 20px);
  padding: 24px;
  margin-top: 20px;
}
.offer-studio-container .cs-preview-wrap .cs-mockup-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  max-width: 440px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: none;
}

.offer-studio-downsale {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.offer-studio-downsale .downsale-info-card {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 18px 22px;
  border: none !important;
  box-shadow: var(--shadow-xs);
}
.offer-studio-downsale .downsale-triggers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 768px) {
  .offer-studio-downsale .downsale-triggers-grid {
    grid-template-columns: 1fr;
  }
}
.offer-studio-downsale .downsale-triggers-grid .trigger-card {
  background: var(--surface3);
  border-radius: var(--radius-md, 14px);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none !important;
  position: relative;
}
.offer-studio-downsale .downsale-triggers-grid .trigger-card:hover {
  background: var(--surface2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.offer-studio-downsale .downsale-triggers-grid .trigger-card.is-active {
  background: var(--surface2);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.offer-studio-downsale .downsale-coupon-box {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 20px 24px;
  border: none !important;
}
.offer-studio-downsale .downsale-preview-card {
  background: var(--surface);
  border-radius: var(--radius-xl, 20px);
  padding: 24px;
  max-width: 440px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: none !important;
}

.offer-studio-abtesting {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.offer-studio-abtesting .ab-ad-link-card {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 18px 22px;
  border: none !important;
}
.offer-studio-abtesting .ab-variants-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.offer-studio-abtesting .ab-variant-card {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 16px 20px;
  border: none !important;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.offer-studio-abtesting .ab-variant-card.is-winner-variant {
  background: var(--surface3);
  box-shadow: var(--shadow-sm);
}
.offer-studio-abtesting .ab-variant-card.is-winner-variant::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3.5px;
  background: var(--success);
}
.offer-studio-abtesting .ab-variant-card .variant-thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--surface3);
  flex-shrink: 0;
}
.offer-studio-abtesting .ab-variant-card .variant-stat-pill {
  background: var(--surface3);
  border-radius: 10px;
  padding: 8px 12px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.offer-studio-abtesting .ab-auto-winner-card {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 18px 22px;
  border: none !important;
}

.import-sync-studio-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.import-sync-studio-wrapper .integration-action-hub {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 16px);
  padding: 20px 24px;
  box-shadow: var(--shadow-xs);
}
.import-sync-studio-wrapper .import-studio-card {
  width: min(960px, 100vw);
  max-width: 960px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.import-sync-studio-wrapper .import-studio-card .import-toolbar {
  background: var(--surface2);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.import-sync-studio-wrapper .import-studio-card .import-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  padding: 18px 22px;
  overflow-y: auto;
  max-height: 55vh;
}
.import-sync-studio-wrapper .import-studio-card .import-prod-item {
  background: var(--surface2);
  border-radius: var(--radius-lg, 14px);
  padding: 14px;
  border: none !important;
  cursor: pointer;
  transition: all 0.22s ease;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  position: relative;
}
.import-sync-studio-wrapper .import-studio-card .import-prod-item:hover {
  background: var(--surface3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.import-sync-studio-wrapper .import-studio-card .import-prod-item.is-selected {
  background: var(--surface3);
  box-shadow: var(--shadow-sm);
}
.import-sync-studio-wrapper .import-studio-card .import-prod-item.is-selected::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3.5px;
  background: var(--accent);
  border-radius: 14px 14px 0 0;
}
.import-sync-studio-wrapper .import-studio-card .import-prod-item .import-thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--surface3);
  flex-shrink: 0;
}
.import-sync-studio-wrapper .import-studio-card .import-prod-item .import-meta {
  flex: 1;
  min-width: 0;
}
.import-sync-studio-wrapper .import-studio-card .import-prod-item .import-meta .import-title {
  font-size: 0.86rem;
  font-weight: 750;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.import-sync-studio-wrapper .import-studio-card .import-prod-item .import-meta .import-price {
  font-size: 0.9rem;
  font-weight: 850;
  color: var(--success);
  margin-top: 4px;
}
.import-sync-studio-wrapper .import-studio-card .import-prod-item .import-meta .import-img-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.import-sync-studio-wrapper .import-studio-card .import-prod-item .import-meta .import-img-actions .btn-import-img-tool {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--surface);
  color: var(--text-secondary);
  border: none !important;
  cursor: pointer;
  transition: all 0.18s ease;
  min-height: 28px;
}
.import-sync-studio-wrapper .import-studio-card .import-prod-item .import-meta .import-img-actions .btn-import-img-tool:hover:not(:disabled) {
  background: var(--accent);
  color: var(--text-inverse);
  transform: translateY(-1px);
}
.import-sync-studio-wrapper .import-studio-card .import-prod-item .import-meta .import-img-actions .btn-import-img-tool.is-optimized {
  background: var(--success-subtle);
  color: var(--success);
}
.import-sync-studio-wrapper .import-studio-card .import-prod-item .import-meta .import-img-actions .btn-import-img-tool:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.import-sync-studio-wrapper .import-studio-card .import-progress-container {
  background: var(--surface2);
  padding: 14px 22px;
  border-top: 1px solid var(--border-subtle);
}
.import-sync-studio-wrapper .import-studio-card .import-progress-container .progress {
  height: 8px;
  background: var(--surface3);
  border-radius: 99px;
  overflow: hidden;
}
.import-sync-studio-wrapper .import-studio-card .import-progress-container .progress-bar {
  height: 8px;
  border-radius: 99px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.mapping-studio-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}
.mapping-studio-container .mapping-studio-googlesheets {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}
.mapping-studio-container .mapping-studio-googlesheets .gs-studio-card {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 16px);
  padding: 20px 22px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s ease;
  position: relative;
}
.mapping-studio-container .mapping-studio-googlesheets .gs-studio-card:has(.is-open) {
  z-index: 50;
}
.mapping-studio-container .mapping-studio-googlesheets .sheets-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mapping-studio-container .mapping-studio-googlesheets .sheet-card-item {
  background: var(--bg-card);
  border-radius: var(--radius-md, 12px);
  padding: 14px 18px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.mapping-studio-container .mapping-studio-googlesheets .sheet-card-item:hover {
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-sm);
}
.mapping-studio-container .mapping-studio-googlesheets .sheet-card-item.is-inactive {
  opacity: 0.65;
}
.mapping-studio-container .mapping-studio-googlesheets .gs-key-banner {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-md, 12px);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  box-shadow: var(--shadow-xs);
}
.mapping-studio-container .mapping-studio-googlesheets .gs-key-banner code {
  color: var(--text-primary);
  background: var(--surface3);
  padding: 4px 8px;
  border-radius: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 0.82rem;
}
.mapping-studio-container .mapping-studio-googlesheets .gs-add-box {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-md, 12px);
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
  position: relative;
}
.mapping-studio-container .mapping-studio-googlesheets .gs-add-box:has(.is-open) {
  z-index: 40;
}
.mapping-studio-container .mapping-studio-googlesheets .gs-add-box .form-control {
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: var(--radius-sm, 8px);
  height: 36px;
  font-size: 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mapping-studio-container .mapping-studio-googlesheets .gs-add-box .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-subtle);
  background: var(--surface2);
  color: var(--text-primary);
}
.mapping-studio-container .mapping-studio-googlesheets .gs-add-box .form-control::placeholder {
  color: var(--text-muted);
}
.mapping-studio-container .mapping-studio-googlesheets .gs-add-box .gs-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 14px;
  width: 100%;
  flex-wrap: wrap;
}
.mapping-studio-container .mapping-studio-googlesheets .gs-add-box .gs-actions-row .btn {
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding-inline: 18px;
}
.mapping-studio-container .mapping-studio-googlesheets .gs-empty-box {
  background: var(--bg-card);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-md, 12px);
  padding: 24px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.86rem;
}
.mapping-studio-container .mapping-studio-googlesheets .custom-file-upload label {
  background: var(--bg-card);
  border: 1.5px dashed var(--border-medium);
  border-radius: var(--radius-md, 12px);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.84rem;
  min-height: 38px;
  transition: all 0.2s ease;
}
.mapping-studio-container .mapping-studio-googlesheets .custom-file-upload label:hover {
  border-color: var(--text-primary);
  background: var(--surface3);
  color: var(--text-primary);
}
.mapping-studio-container .mapping-studio-productfeed {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}
.mapping-studio-container .mapping-studio-productfeed .feed-hero-banner {
  background: var(--surface2);
  border-radius: var(--radius-lg, 12px);
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: var(--shadow-xs);
}
.mapping-studio-container .mapping-studio-productfeed .feed-hero-banner .feed-hero-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md, 8px);
  background: var(--surface3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.mapping-studio-container .mapping-studio-productfeed .feed-hero-banner .feed-hero-content {
  flex: 1;
  min-width: 0;
}
.mapping-studio-container .mapping-studio-productfeed .feed-hero-banner .feed-hero-content .feed-hero-title {
  margin: 0 0 4px 0;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}
.mapping-studio-container .mapping-studio-productfeed .feed-hero-banner .feed-hero-content .feed-hero-desc {
  margin: 0;
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.mapping-studio-container .mapping-studio-productfeed .feed-nav-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  background: var(--surface2);
  padding: 4px;
  border-radius: var(--radius-lg, 12px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.mapping-studio-container .mapping-studio-productfeed .feed-nav-bar .feed-nav-btn {
  min-width: 0;
  background: transparent;
  border: none;
  border-radius: var(--radius-md, 8px);
  padding: 8px 6px;
  font-size: clamp(0.68rem, 2.5vw, 0.78rem);
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
}
.mapping-studio-container .mapping-studio-productfeed .feed-nav-bar .feed-nav-btn span:not(.feed-nav-badge) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .mapping-studio-container .mapping-studio-productfeed .feed-nav-bar .feed-nav-btn {
    padding: 8px 2px;
    gap: 3px;
  }
}
.mapping-studio-container .mapping-studio-productfeed .feed-nav-bar .feed-nav-btn:hover {
  color: var(--text-primary);
  background: var(--surface3);
}
.mapping-studio-container .mapping-studio-productfeed .feed-nav-bar .feed-nav-btn.active {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: var(--shadow-xs);
}
.mapping-studio-container .mapping-studio-productfeed .feed-nav-bar .feed-nav-btn .feed-nav-badge {
  font-size: 0.6rem;
  padding: 1px 5px;
  border-radius: var(--radius-full, 9999px);
  background: var(--success);
  color: var(--color-white);
  flex-shrink: 0;
}
.mapping-studio-container .mapping-studio-productfeed .feed-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
@media (min-width: 600px) {
  .mapping-studio-container .mapping-studio-productfeed .feed-channel-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.mapping-studio-container .mapping-studio-productfeed .feed-channel-grid .feed-channel-btn {
  min-width: 0;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 10px);
  padding: 10px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font-size: clamp(0.7rem, 2.6vw, 0.78rem);
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}
.mapping-studio-container .mapping-studio-productfeed .feed-channel-grid .feed-channel-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mapping-studio-container .mapping-studio-productfeed .feed-channel-grid .feed-channel-btn:hover {
  background: var(--surface3);
  color: var(--text-primary);
  border-color: var(--border-medium);
}
.mapping-studio-container .mapping-studio-productfeed .feed-channel-grid .feed-channel-btn.active {
  background: var(--surface3);
  color: var(--text-primary);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.mapping-studio-container .mapping-studio-productfeed .feed-channel-card {
  background: var(--surface2);
  border-radius: var(--radius-lg, 14px);
  padding: 14px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.mapping-studio-container .mapping-studio-productfeed .feed-channel-card .feed-channel-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.mapping-studio-container .mapping-studio-productfeed .feed-channel-card .feed-channel-card-header .feed-channel-card-title {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mapping-studio-container .mapping-studio-productfeed .feed-channel-card .feed-channel-card-desc {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.mapping-studio-container .mapping-studio-productfeed .feed-link-card {
  background: var(--surface3);
  border-radius: var(--radius-md, 10px);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.mapping-studio-container .mapping-studio-productfeed .feed-link-card .feed-link-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.mapping-studio-container .mapping-studio-productfeed .feed-link-card .feed-link-header .feed-link-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-primary);
}
.mapping-studio-container .mapping-studio-productfeed .feed-link-card .feed-link-header .feed-link-title .feed-link-bdi {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-inline-start: 4px;
}
.mapping-studio-container .mapping-studio-productfeed .feed-link-card .feed-link-header .feed-link-preview {
  font-size: 0.72rem;
  color: var(--info);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}
.mapping-studio-container .mapping-studio-productfeed .feed-link-card .feed-link-header .feed-link-preview:hover {
  text-decoration: underline;
}
.mapping-studio-container .mapping-studio-productfeed .feed-link-card .feed-link-input-wrap {
  width: 100%;
  box-sizing: border-box;
}
.mapping-studio-container .mapping-studio-productfeed .feed-link-card .feed-link-input-wrap .feed-link-input {
  width: 100%;
  box-sizing: border-box;
  background: var(--bg-main);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md, 8px);
  padding: 10px 12px;
  font-family: var(--font-mono, monospace);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  direction: ltr;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}
.mapping-studio-container .mapping-studio-productfeed .feed-link-card .feed-link-input-wrap .feed-link-input:focus {
  border-color: var(--accent);
  outline: none;
}
.mapping-studio-container .mapping-studio-productfeed .feed-link-card .feed-link-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
.mapping-studio-container .mapping-studio-productfeed .feed-link-card .feed-link-actions .feed-btn-copy,
.mapping-studio-container .mapping-studio-productfeed .feed-link-card .feed-link-actions .feed-btn-download {
  flex: 1 1 0;
  min-width: 0;
  min-height: 38px;
  font-size: 0.74rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-md, 8px);
  padding: 8px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.mapping-studio-container .mapping-studio-productfeed .feed-link-card .feed-link-actions .feed-btn-copy {
  background: var(--accent);
  color: var(--text-inverse);
  border: none;
}
.mapping-studio-container .mapping-studio-productfeed .feed-link-card .feed-link-actions .feed-btn-copy:hover {
  background: var(--accent-hover);
}
.mapping-studio-container .mapping-studio-productfeed .feed-link-card .feed-link-actions .feed-btn-download {
  background: var(--surface2);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}
.mapping-studio-container .mapping-studio-productfeed .feed-link-card .feed-link-actions .feed-btn-download:hover {
  background: var(--surface);
}
.mapping-studio-container .mapping-studio-productfeed .feed-token-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.mapping-studio-container .mapping-studio-productfeed .feed-token-box .feed-token-input {
  width: 100%;
  box-sizing: border-box;
  background: var(--bg-main);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md, 8px);
  padding: 8px 10px;
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  direction: ltr;
  text-align: left;
}
.mapping-studio-container .mapping-studio-productfeed .feed-token-box .feed-token-input:focus {
  border-color: var(--accent);
  outline: none;
}
.mapping-studio-container .mapping-studio-productfeed .feed-token-box .feed-token-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}
.mapping-studio-container .mapping-studio-productfeed .feed-token-box .feed-token-actions button {
  flex: 1;
  min-height: 36px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-md, 8px);
}
.mapping-studio-container .mapping-studio-productfeed .feed-sync-notice {
  background: var(--success-subtle);
  border: 1px solid var(--success-border);
  border-radius: var(--radius-md, 10px);
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--success);
  line-height: 1.4;
}
.mapping-studio-container .mapping-studio-productfeed .feed-sync-notice i, .mapping-studio-container .mapping-studio-productfeed .feed-sync-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.kyc-studio-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.kyc-studio-container .kyc-hero-banner {
  background: var(--surface2);
  border-radius: var(--radius-xl, 20px);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: none !important;
  box-shadow: var(--shadow-xs);
}
.kyc-studio-container .kyc-hero-banner .kyc-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kyc-studio-container .kyc-hero-banner .kyc-hero-content h4 {
  font-weight: 850;
  font-size: 1.08rem;
  color: var(--text-primary);
  margin: 0 0 6px;
}
.kyc-studio-container .kyc-hero-banner .kyc-hero-content p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}
.kyc-studio-container .kyc-status-banner {
  border-radius: var(--radius-lg, 16px);
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.kyc-studio-container .kyc-status-banner.status-verified {
  background: var(--success-subtle);
  color: var(--success);
}
.kyc-studio-container .kyc-status-banner.status-pending {
  background: var(--warning-subtle);
  color: var(--warning);
}
.kyc-studio-container .kyc-status-banner.status-rejected {
  background: var(--danger-subtle);
  color: var(--danger);
}
.kyc-studio-container .kyc-status-banner .status-reason-box {
  background: var(--surface2);
  border-radius: var(--radius-sm, 8px);
  padding: 10px 14px;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-primary);
}
.kyc-studio-container .kyc-verified-summary {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 20px 24px;
  border: none !important;
}
.kyc-studio-container .kyc-verified-summary .summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.kyc-studio-container .kyc-verified-summary .summary-grid .summary-item {
  background: var(--surface3);
  border-radius: 12px;
  padding: 12px 16px;
}
.kyc-studio-container .kyc-verified-summary .summary-grid .summary-item .label {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 4px;
}
.kyc-studio-container .kyc-verified-summary .summary-grid .summary-item .val {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
}
.kyc-studio-container .kyc-entity-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 640px) {
  .kyc-studio-container .kyc-entity-selector {
    grid-template-columns: 1fr;
  }
}
.kyc-studio-container .kyc-entity-selector .entity-card {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  border: none !important;
  transition: all 0.22s ease;
}
.kyc-studio-container .kyc-entity-selector .entity-card:hover {
  background: var(--surface3);
}
.kyc-studio-container .kyc-entity-selector .entity-card.active {
  background: var(--surface3);
  box-shadow: var(--shadow-sm);
}
.kyc-studio-container .kyc-entity-selector .entity-card.active::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3.5px;
  background: var(--accent);
  border-radius: 16px 16px 0 0;
}
.kyc-studio-container .kyc-entity-selector .entity-card .entity-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kyc-studio-container .kyc-entity-selector .entity-card .entity-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
}
.kyc-studio-container .kyc-entity-selector .entity-card .entity-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.kyc-studio-container .kyc-guidance-strip {
  background: var(--surface2);
  border-radius: var(--radius-md, 12px);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.kyc-studio-container .kyc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.kyc-studio-container .kyc-form-grid .full-width {
  grid-column: 1/-1;
}
.kyc-studio-container .kyc-docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 640px) {
  .kyc-studio-container .kyc-docs-grid {
    grid-template-columns: 1fr;
  }
}
.kyc-studio-container .kyc-docs-grid .kyc-doc-card {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 18px;
  border: none !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kyc-studio-container .kyc-docs-grid .kyc-doc-card .doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.kyc-studio-container .kyc-docs-grid .kyc-doc-card .doc-head .doc-title {
  font-size: 0.84rem;
  font-weight: 750;
  color: var(--text-primary);
}
.kyc-studio-container .kyc-docs-grid .kyc-doc-card .doc-head .req-pill {
  font-size: 0.68rem;
  font-weight: 750;
  padding: 2px 8px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  color: var(--text-muted);
}
.kyc-studio-container .kyc-docs-grid .kyc-doc-card .doc-head .req-pill.required {
  background: var(--danger-subtle);
  color: var(--danger);
}
.kyc-studio-container .kyc-docs-grid .kyc-doc-card .doc-dropzone {
  border: 2px dashed var(--border-medium);
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--surface3);
}
.kyc-studio-container .kyc-docs-grid .kyc-doc-card .doc-dropzone:hover {
  border-color: var(--accent);
  background: var(--accent-subtle);
}
.kyc-studio-container .kyc-docs-grid .kyc-doc-card .doc-dropzone .drop-icon {
  color: var(--accent);
  margin-bottom: 6px;
}
.kyc-studio-container .kyc-docs-grid .kyc-doc-card .doc-dropzone .drop-hint {
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--text-primary);
}
.kyc-studio-container .kyc-docs-grid .kyc-doc-card .doc-dropzone .drop-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.kyc-studio-container .kyc-docs-grid .kyc-doc-card .doc-preview-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 140px;
  background: var(--surface3);
}
.kyc-studio-container .kyc-docs-grid .kyc-doc-card .doc-preview-wrap .thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}
.kyc-studio-container .kyc-docs-grid .kyc-doc-card .doc-preview-wrap .preview-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-bg);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity 0.2s ease;
}
.kyc-studio-container .kyc-docs-grid .kyc-doc-card .doc-preview-wrap .preview-overlay .btn-view, .kyc-studio-container .kyc-docs-grid .kyc-doc-card .doc-preview-wrap .preview-overlay .btn-delete {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
}
.kyc-studio-container .kyc-docs-grid .kyc-doc-card .doc-preview-wrap .preview-overlay .btn-view:hover, .kyc-studio-container .kyc-docs-grid .kyc-doc-card .doc-preview-wrap .preview-overlay .btn-delete:hover {
  background: var(--surface2);
}
.kyc-studio-container .kyc-docs-grid .kyc-doc-card .doc-preview-wrap .preview-overlay .btn-delete:hover {
  background: var(--danger-subtle);
  color: var(--danger);
}
.kyc-studio-container .kyc-docs-grid .kyc-doc-card .doc-preview-wrap:hover .preview-overlay {
  opacity: 1;
}
.kyc-studio-container .kyc-docs-grid .kyc-doc-card .doc-file-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-muted);
}
.kyc-studio-container .kyc-docs-grid .kyc-doc-card .doc-file-meta .meta-name {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kyc-studio-container .kyc-legal-box {
  background: var(--surface2);
  border-radius: var(--radius-md, 12px);
  padding: 16px 20px;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.kyc-studio-container .kyc-legal-box label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin: 0;
}
.kyc-studio-container .kyc-legal-box label input[type=checkbox] {
  margin-top: 3px;
  flex-shrink: 0;
}

.sales-proof-studio {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sales-proof-studio .sp-status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-lg, 16px);
  background: var(--surface2);
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}
.sales-proof-studio .sp-status-banner.is-active {
  background: var(--surface2);
}
.sales-proof-studio .sp-status-banner.is-inactive {
  background: var(--surface2);
  opacity: 0.85;
}
.sales-proof-studio .sp-status-banner .sp-status-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sales-proof-studio .sp-status-banner .sp-status-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md, 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface3);
  color: var(--text-muted);
  flex-shrink: 0;
}
.sales-proof-studio .sp-status-banner .sp-status-icon-wrap.active {
  background: var(--success-subtle);
  color: var(--success);
}
.sales-proof-studio .sp-status-banner .sp-status-icon-wrap svg, .sales-proof-studio .sp-status-banner .sp-status-icon-wrap i {
  width: 20px;
  height: 20px;
}
.sales-proof-studio .sp-status-banner .sp-status-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
}
.sales-proof-studio .sp-status-banner .sp-status-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.sales-proof-studio .sp-preview-section {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 20px 24px;
  box-shadow: var(--shadow-xs);
  border: none !important;
}
.sales-proof-studio .sp-preview-section .sp-preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.sales-proof-studio .sp-preview-section .sp-mockup-toast {
  background: var(--surface3);
  border-radius: var(--radius-md, 12px);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  border: none !important;
}
.sales-proof-studio .sp-preview-section .sp-mockup-toast .sp-mockup-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md, 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  flex-shrink: 0;
}
.sales-proof-studio .sp-preview-section .sp-mockup-toast .sp-mockup-icon.sale {
  color: var(--text-primary);
}
.sales-proof-studio .sp-preview-section .sp-mockup-toast .sp-mockup-icon.milestone {
  color: var(--warning);
}
.sales-proof-studio .sp-preview-section .sp-mockup-toast .sp-mockup-icon svg, .sales-proof-studio .sp-preview-section .sp-mockup-toast .sp-mockup-icon i {
  width: 20px;
  height: 20px;
}
.sales-proof-studio .sp-preview-section .sp-mockup-toast .sp-mockup-buyer {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-primary);
}
.sales-proof-studio .sp-preview-section .sp-mockup-toast .sp-mockup-product {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-top: 2px;
}
.sales-proof-studio .sp-preview-section .sp-mockup-toast .sp-mockup-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.sales-proof-studio .sp-preview-section .sp-mockup-toast .sp-mockup-tag svg, .sales-proof-studio .sp-preview-section .sp-mockup-toast .sp-mockup-tag i {
  width: 12px;
  height: 12px;
}
.sales-proof-studio .milestone-support-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sales-proof-studio .milestone-support-card .sp-feature-badge {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md, 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warning-subtle);
  color: var(--warning);
  flex-shrink: 0;
}
.sales-proof-studio .milestone-support-card .sp-feature-badge svg, .sales-proof-studio .milestone-support-card .sp-feature-badge i {
  width: 18px;
  height: 18px;
}
.sales-proof-studio .milestone-support-card {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 20px 24px;
  border: none !important;
  box-shadow: var(--shadow-xs);
}
.sales-proof-studio .toast-preview-card {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 16px 20px;
  border: none !important;
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  gap: 14px;
}

.utm-studio {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.utm-studio .utm-platform-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.utm-studio .utm-platform-grid .btn-platform {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-full, 9999px);
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.utm-studio .utm-platform-grid .btn-platform:hover {
  background: var(--surface3);
  color: var(--text-primary);
}
.utm-studio .utm-platform-grid .btn-platform.active {
  background: var(--accent);
  color: var(--text-inverse);
}
.utm-studio .saved-link-card {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 18px 22px;
  border: none !important;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.2s ease;
}
.utm-studio .saved-link-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.utm-studio .saved-link-card.is-winner-link {
  background: var(--surface3);
}
.utm-studio .saved-link-card.is-winner-link::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3.5px;
  background: var(--success);
}
.utm-studio .saved-link-card .stats-metric-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}
@media (max-width: 768px) {
  .utm-studio .saved-link-card .stats-metric-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}
.utm-studio .saved-link-card .stats-metric-strip .metric-box {
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.utm-studio .utm-winner-banner {
  background: var(--surface2);
  border-radius: var(--radius-xl, 18px);
  padding: 20px 24px;
  border: none !important;
  box-shadow: var(--shadow-xs);
}

.wallet-studio {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.wallet-studio .wallet-country-banner {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 20px 24px;
  border: none !important;
  box-shadow: var(--shadow-xs);
}

.rating-modal-card {
  width: min(540px, 100vw);
  max-width: 540px;
}
.rating-modal-card .rating-interactive-box {
  background: var(--surface2);
  border-radius: var(--radius-lg, 16px);
  padding: 22px 18px;
  margin-bottom: 20px;
}
.rating-modal-card .rating-interactive-box .rating-stars-interactive {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.rating-modal-card .rating-interactive-box .rating-stars-interactive .star-rating-btn {
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.15s ease;
}
.rating-modal-card .rating-interactive-box .rating-stars-interactive .star-rating-btn:hover {
  transform: scale(1.22);
}
.rating-modal-card .rating-interactive-box .rating-stars-interactive .star-rating-btn .star-interactive-icon {
  width: 32px;
  height: 32px;
  color: var(--border-strong);
  transition: color 0.15s, fill 0.15s;
}
.rating-modal-card .rating-interactive-box .rating-stars-interactive .star-rating-btn.star-active .star-interactive-icon, .rating-modal-card .rating-interactive-box .rating-stars-interactive .star-rating-btn.star-hover .star-interactive-icon {
  color: var(--warning);
  fill: var(--warning);
}
.rating-modal-card .rating-interactive-box .rating-score-label {
  font-size: 0.94rem;
  font-weight: 850;
  color: var(--text-primary);
  margin-top: 8px;
}

.support-modal-card {
  width: min(580px, 100vw);
  max-width: 580px;
}

.creation-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal, 1050);
  background: var(--overlay-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.creation-modal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 20px);
  padding: 32px;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.creation-modal-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.creation-modal-header .creation-pulse-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--accent);
}
.creation-modal-header .creation-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 6px 0;
}
.creation-modal-header .creation-modal-subtitle {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.creation-progress-box {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
.creation-progress-box .creation-progress-track {
  height: 8px;
  border-radius: 99px;
  background: var(--surface3);
  overflow: hidden;
  margin-top: 8px;
}
.creation-progress-box .creation-progress-track .creation-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--success) 100%);
  border-radius: 99px;
  transition: width 0.3s ease;
}

.creation-steps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.creation-steps-list .creation-step-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}
.creation-steps-list .creation-step-row.active {
  color: var(--text);
  font-weight: 700;
}
.creation-steps-list .creation-step-row.done {
  color: var(--success);
}
.creation-steps-list .creation-step-row .step-check-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.modal-overlay.modal-bottom-sheet {
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: var(--overlay-bg);
}
.modal-overlay.modal-bottom-sheet .modal-card, .modal-overlay.modal-bottom-sheet .slots-studio-sheet {
  margin: 0 auto;
  width: min(100%, 1380px);
  max-width: 1380px;
  height: 94vh;
  max-height: 94vh;
  border-radius: 24px 24px 0 0;
  border: 1px solid var(--border-medium);
  border-bottom: none;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
  animation: slideUpBottomSheet 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-overlay.modal-bottom-sheet .modal-handle {
  width: 54px;
  height: 5px;
  border-radius: 99px;
  background: var(--border-medium);
  margin: 10px auto 4px auto;
  flex-shrink: 0;
}

@keyframes slideUpBottomSheet {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}
.cover-input-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 8px;
}
.cover-input-header .btn-cover-studio-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-subtle), var(--purple-subtle));
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-full, 9999px);
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--accent);
  cursor: pointer;
  transition: all 0.2s ease;
}
.cover-input-header .btn-cover-studio-trigger:hover {
  background: linear-gradient(135deg, var(--accent-glow), var(--purple-subtle));
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--accent-glow);
  border-color: var(--accent);
}
.cover-input-header .btn-cover-studio-trigger i, .cover-input-header .btn-cover-studio-trigger [data-lucide] {
  width: 15px;
  height: 15px;
}
.cover-input-header .btn-cover-studio-trigger .studio-badge-pill {
  background: var(--accent);
  color: var(--text-inverse);
  font-size: 0.64rem;
  font-weight: 850;
  padding: 1px 6px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

.cover-input-group {
  display: flex;
  gap: 8px;
  align-items: center;
}
.cover-input-group .form-input {
  flex: 1;
}
.cover-input-group .btn-open-studio-inline {
  flex-shrink: 0;
  white-space: nowrap;
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-color: var(--border-medium);
  font-weight: 750;
}
.cover-input-group .btn-open-studio-inline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.cover-input-group .btn-open-studio-inline i, .cover-input-group .btn-open-studio-inline [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.creator-cover-presets .cover-preset-chip--more {
  border-style: dashed !important;
  color: var(--accent) !important;
  border-color: var(--accent) !important;
  font-weight: 800;
}
.creator-cover-presets .cover-preset-chip--more:hover {
  background: var(--accent-subtle) !important;
}

.cover-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cover-header-actions .btn-upload-cover {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 750;
  font-size: 0.8rem;
  height: 32px;
  padding-inline: 12px;
  border-radius: var(--radius-full, 9999px);
}
.cover-header-actions .btn-upload-cover i, .cover-header-actions .btn-upload-cover [data-lucide] {
  width: 14px;
  height: 14px;
}

.cover-rejection-alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
  background: var(--danger-subtle);
  border: 1px solid var(--danger-border);
  border-radius: 14px;
  animation: fadeInSlideDown 0.25s ease-out;
}
.cover-rejection-alert .cra-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--danger);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--shadow-sm);
}
.cover-rejection-alert .cra-icon i, .cover-rejection-alert .cra-icon [data-lucide] {
  width: 20px;
  height: 20px;
}
.cover-rejection-alert .cra-content {
  flex: 1;
}
.cover-rejection-alert .cra-content .cra-title {
  font-size: 0.86rem;
  font-weight: 850;
  color: var(--danger);
  margin-bottom: 4px;
}
.cover-rejection-alert .cra-content .cra-desc {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0 0 10px 0;
}
.cover-rejection-alert .cra-content .cra-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cover-rejection-alert .cra-content .cra-actions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 800;
}
.cover-rejection-alert .cra-content .cra-actions button i, .cover-rejection-alert .cra-content .cra-actions button [data-lucide] {
  width: 14px;
  height: 14px;
}

.catalog-cover-dropzone {
  border: 2px dashed var(--border-medium);
  border-radius: var(--radius-xl, 16px);
  background: var(--surface2);
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 12px;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.catalog-cover-dropzone:hover {
  border-color: var(--accent);
  background: var(--surface3);
}
.catalog-cover-dropzone .ccd-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: var(--shadow-xs);
}
.catalog-cover-dropzone .ccd-icon-wrap i, .catalog-cover-dropzone .ccd-icon-wrap [data-lucide] {
  width: 26px;
  height: 26px;
}
.catalog-cover-dropzone .ccd-content {
  max-width: 440px;
}
.catalog-cover-dropzone .ccd-content .ccd-title {
  font-size: 0.95rem;
  font-weight: 850;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.catalog-cover-dropzone .ccd-content .ccd-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.45;
}
.catalog-cover-dropzone .ccd-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.catalog-cover-live-preview {
  margin-top: 10px;
  margin-bottom: 12px;
  padding: 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 16px);
}
.catalog-cover-live-preview .cclp-thumbnail {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  background: var(--bg-main);
  box-shadow: var(--shadow-sm);
}
.catalog-cover-live-preview .cclp-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.catalog-cover-live-preview .cclp-thumbnail .cclp-ratio-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.65rem;
  font-weight: 850;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--overlay-bg);
  color: var(--text-white);
  backdrop-filter: blur(4px);
  letter-spacing: 0.5px;
}
.catalog-cover-live-preview .cclp-thumbnail .cclp-remove-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--danger);
  color: var(--text-inverse);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}
.catalog-cover-live-preview .cclp-thumbnail .cclp-remove-btn:hover {
  transform: scale(1.1);
}
.catalog-cover-live-preview .cclp-thumbnail .cclp-remove-btn i, .catalog-cover-live-preview .cclp-thumbnail .cclp-remove-btn [data-lucide] {
  width: 15px;
  height: 15px;
}
.catalog-cover-live-preview .cclp-management-bar,
.catalog-cover-live-preview .cclp-info {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.catalog-cover-live-preview .cclp-management-bar .cclp-status-verified,
.catalog-cover-live-preview .cclp-info .cclp-status-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--success);
}
.catalog-cover-live-preview .cclp-management-bar .cclp-status-verified i, .catalog-cover-live-preview .cclp-management-bar .cclp-status-verified [data-lucide],
.catalog-cover-live-preview .cclp-info .cclp-status-verified i,
.catalog-cover-live-preview .cclp-info .cclp-status-verified [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--success);
}
.catalog-cover-live-preview .cclp-management-bar .cclp-actions,
.catalog-cover-live-preview .cclp-info .cclp-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cover-studio-sheet {
  display: flex;
  flex-direction: column;
}
.cover-studio-sheet .modal-body--scroll.cover-studio-body {
  flex: 1 1 auto;
  max-height: calc(94vh - 140px) !important;
  overflow-y: auto;
  padding: 24px;
}

.cover-studio-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.cover-studio-header .cover-studio-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  flex-wrap: wrap;
}
.cover-studio-header .cover-studio-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cover-studio-header .cover-studio-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-subtle), var(--purple-subtle));
  border: 1px solid var(--purple-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.cover-studio-header .cover-studio-icon-badge i, .cover-studio-header .cover-studio-icon-badge [data-lucide] {
  width: 22px;
  height: 22px;
}
.cover-studio-header .cover-studio-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}
.cover-studio-header .cover-studio-title-row .modal-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 850;
  color: var(--text-primary);
}
.cover-studio-header .cover-studio-title-row .studio-version-tag {
  background: var(--teal-subtle);
  color: var(--teal);
  border: 1px solid var(--teal-subtle);
  font-size: 0.68rem;
  font-weight: 850;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.cover-studio-header .modal-subtitle {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.cover-studio-header .cover-studio-nav-tabs {
  display: inline-flex;
  gap: 6px;
  background: var(--surface2);
  padding: 4px;
  border-radius: var(--radius-full, 9999px);
  border: 1px solid var(--border);
}
.cover-studio-header .studio-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.86rem;
  font-weight: 750;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cover-studio-header .studio-tab-btn i, .cover-studio-header .studio-tab-btn [data-lucide] {
  width: 16px;
  height: 16px;
}
.cover-studio-header .studio-tab-btn:hover {
  color: var(--text-primary);
}
.cover-studio-header .studio-tab-btn.active {
  background: var(--surface);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-medium);
}
.cover-studio-header .studio-tab-btn .tab-count-bubble {
  background: var(--surface3, var(--border));
  font-size: 0.72rem;
  padding: 1px 7px;
  border-radius: 999px;
  font-weight: 800;
}

.cover-studio-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 1080px) {
  .cover-studio-split {
    grid-template-columns: 1fr;
  }
}

.studio-card-section {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 16px);
  padding: 20px;
  margin-bottom: 20px;
  transition: border-color 0.2s ease;
}
.studio-card-section .studio-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle, var(--border));
}
.studio-card-section .studio-section-header .section-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.studio-card-section .studio-section-header .section-title-wrap i, .studio-card-section .studio-section-header .section-title-wrap [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.studio-card-section .studio-section-header .section-title-wrap h4 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-primary);
}
.studio-card-section .studio-section-header .section-badge-counter, .studio-card-section .studio-section-header .section-info-badge {
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--text-muted);
  background: var(--surface);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.studio-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.studio-tags-cloud .studio-product-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: all 0.15s ease;
}
.studio-tags-cloud .studio-product-tag i, .studio-tags-cloud .studio-product-tag [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--success);
}
.studio-tags-cloud .studio-product-tag.hero-tag {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--accent);
  font-weight: 850;
}
.studio-tags-cloud .studio-product-tag.hero-tag i, .studio-tags-cloud .studio-product-tag.hero-tag [data-lucide] {
  color: var(--accent);
}
.studio-tags-cloud .studio-product-tag .btn-tag-action {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.15s ease;
}
.studio-tags-cloud .studio-product-tag .btn-tag-action i, .studio-tags-cloud .studio-product-tag .btn-tag-action [data-lucide] {
  width: 14px;
  height: 14px;
  color: inherit;
}
.studio-tags-cloud .studio-product-tag .btn-tag-action:hover {
  color: var(--warning);
}

.studio-scenes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}
.studio-scenes-grid .studio-scene-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg, 14px);
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  display: flex;
  flex-direction: column;
}
.studio-scenes-grid .studio-scene-item:hover {
  border-color: var(--border-hover, var(--border-strong));
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.studio-scenes-grid .studio-scene-item.active {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--surface) 0%, var(--accent-subtle) 100%);
  box-shadow: 0 6px 20px var(--accent-glow);
}
.studio-scenes-grid .studio-scene-item.active .scene-indicator {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.studio-scenes-grid .studio-scene-item.active .scene-icon-wrap {
  background: var(--accent);
  color: var(--text-inverse);
}
.studio-scenes-grid .studio-scene-item .scene-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.studio-scenes-grid .studio-scene-item .scene-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all 0.2s ease;
}
.studio-scenes-grid .studio-scene-item .scene-icon-wrap i, .studio-scenes-grid .studio-scene-item .scene-icon-wrap [data-lucide] {
  width: 17px;
  height: 17px;
}
.studio-scenes-grid .studio-scene-item .scene-indicator {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  transition: all 0.2s ease;
}
.studio-scenes-grid .studio-scene-item .scene-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.studio-scenes-grid .studio-scene-item .scene-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.studio-styles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.studio-styles-grid .studio-style-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg, 14px);
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  display: flex;
  flex-direction: column;
}
.studio-styles-grid .studio-style-item:hover {
  border-color: var(--border-hover, var(--border-strong));
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.studio-styles-grid .studio-style-item.active {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--surface) 0%, var(--accent-subtle) 100%);
  box-shadow: 0 6px 20px var(--accent-glow);
}
.studio-styles-grid .studio-style-item.active .style-icon-wrap {
  background: var(--accent);
  color: var(--text-inverse);
}
.studio-styles-grid .studio-style-item .style-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.studio-styles-grid .studio-style-item .style-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all 0.2s ease;
}
.studio-styles-grid .studio-style-item .style-icon-wrap i, .studio-styles-grid .studio-style-item .style-icon-wrap [data-lucide] {
  width: 17px;
  height: 17px;
}
.studio-styles-grid .studio-style-item .style-active-check {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
}
.studio-styles-grid .studio-style-item .style-active-check i, .studio-styles-grid .studio-style-item .style-active-check [data-lucide] {
  width: 13px;
  height: 13px;
}
.studio-styles-grid .studio-style-item .style-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.studio-styles-grid .studio-style-item .style-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.studio-presets-bar {
  margin-bottom: 16px;
}
.studio-presets-bar .presets-bar-title {
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}
.studio-presets-bar .presets-bar-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.studio-presets-bar .preset-palette-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s ease;
}
.studio-presets-bar .preset-palette-chip:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.studio-presets-bar .preset-palette-chip .color-swatches-pair {
  display: flex;
  gap: 3px;
}
.studio-presets-bar .preset-palette-chip .color-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  display: inline-block;
  border: 1px solid var(--border-medium);
}

.active-colors-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.active-colors-container .active-colors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.active-colors-container .active-color-swatch-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface);
  border: 1px solid var(--border);
}
.active-colors-container .active-color-swatch-item .color-preview-box {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid var(--border-medium);
}
.active-colors-container .active-color-swatch-item .color-hex-label {
  font-size: 0.82rem;
  font-weight: 800;
  font-family: monospace;
  color: var(--text-primary);
}
.active-colors-container .active-color-swatch-item .btn-remove-color {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.15s ease;
}
.active-colors-container .active-color-swatch-item .btn-remove-color i, .active-colors-container .active-color-swatch-item .btn-remove-color [data-lucide] {
  width: 14px;
  height: 14px;
}
.active-colors-container .active-color-swatch-item .btn-remove-color:hover {
  color: var(--danger);
}
.active-colors-container .add-color-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.active-colors-container .add-color-control .form-input-color {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
  cursor: pointer;
  background: var(--surface);
}
.active-colors-container .add-color-control .form-color-hex {
  width: 86px;
  text-transform: uppercase;
  font-family: monospace;
  font-size: 0.82rem;
}

.studio-bundles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.studio-bundles-grid .studio-bundle-card {
  display: flex;
  flex-direction: column;
  text-align: start;
  padding: 12px;
  border-radius: var(--radius-lg, 12px);
  background: var(--surface);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
}
.studio-bundles-grid .studio-bundle-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.studio-bundles-grid .studio-bundle-card.active {
  border-color: var(--accent);
  background: var(--accent-subtle);
}
.studio-bundles-grid .studio-bundle-card.active .bundle-name {
  color: var(--accent);
}
.studio-bundles-grid .studio-bundle-card .bundle-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.studio-bundles-grid .studio-bundle-card .bundle-card-top i, .studio-bundles-grid .studio-bundle-card .bundle-card-top [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.studio-bundles-grid .studio-bundle-card .bundle-badge {
  font-size: 0.68rem;
  font-weight: 850;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 2px 7px;
  border-radius: 999px;
}
.studio-bundles-grid .studio-bundle-card .bundle-name {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.studio-bundles-grid .studio-bundle-card .bundle-addons-hint {
  font-size: 0.7rem;
  color: var(--text-muted);
  direction: ltr;
  text-align: start;
}

.addons-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.addons-category-tabs .addon-cat-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.15s ease;
}
.addons-category-tabs .addon-cat-tab-btn i, .addons-category-tabs .addon-cat-tab-btn [data-lucide] {
  width: 14px;
  height: 14px;
}
.addons-category-tabs .addon-cat-tab-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.addons-category-tabs .addon-cat-tab-btn.active {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
  box-shadow: 0 2px 8px var(--accent-glow);
}
.addons-category-tabs .addon-cat-tab-btn.active i, .addons-category-tabs .addon-cat-tab-btn.active [data-lucide] {
  color: var(--text-inverse);
}

.studio-addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}
.studio-addons-grid .studio-addon-checkbox-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md, 12px);
  background: var(--surface);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.studio-addons-grid .studio-addon-checkbox-card:hover {
  border-color: var(--border-hover, var(--border-strong));
  transform: translateY(-1px);
}
.studio-addons-grid .studio-addon-checkbox-card.active {
  border-color: var(--accent);
  background: var(--accent-subtle);
}
.studio-addons-grid .studio-addon-checkbox-card.active .addon-title {
  color: var(--accent);
}
.studio-addons-grid .studio-addon-checkbox-card.active .addon-checkbox-circle {
  background: var(--accent);
  border-color: var(--accent);
}
.studio-addons-grid .studio-addon-checkbox-card.active .addon-checkbox-circle i, .studio-addons-grid .studio-addon-checkbox-card.active .addon-checkbox-circle [data-lucide], .studio-addons-grid .studio-addon-checkbox-card.active .addon-checkbox-circle svg {
  opacity: 1;
  transform: scale(1);
  color: var(--text-inverse);
}
.studio-addons-grid .studio-addon-checkbox-card .addon-card-left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.studio-addons-grid .studio-addon-checkbox-card .addon-number-tag {
  font-size: 0.72rem;
  font-weight: 850;
  font-family: monospace;
  color: var(--accent);
  background: var(--surface2);
  padding: 2px 6px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
}
.studio-addons-grid .studio-addon-checkbox-card .addon-info-text {
  min-width: 0;
  flex: 1;
}
.studio-addons-grid .studio-addon-checkbox-card .addon-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}
.studio-addons-grid .studio-addon-checkbox-card .addon-en-desc {
  font-size: 0.71rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  direction: ltr;
  text-align: left;
}
.studio-addons-grid .studio-addon-checkbox-card .addon-checkbox-circle {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-inverse);
  transition: all 0.15s ease;
}
.studio-addons-grid .studio-addon-checkbox-card .addon-checkbox-circle i, .studio-addons-grid .studio-addon-checkbox-card .addon-checkbox-circle [data-lucide], .studio-addons-grid .studio-addon-checkbox-card .addon-checkbox-circle svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-inverse);
}
.studio-addons-grid .studio-addon-checkbox-card .addon-checkbox-circle.is-checked {
  background: var(--accent);
  border-color: var(--accent);
}
.studio-addons-grid .studio-addon-checkbox-card .addon-checkbox-circle.is-checked i, .studio-addons-grid .studio-addon-checkbox-card .addon-checkbox-circle.is-checked [data-lucide], .studio-addons-grid .studio-addon-checkbox-card .addon-checkbox-circle.is-checked svg {
  opacity: 1;
  transform: scale(1);
  color: var(--text-inverse);
}

.studio-style-addons-container {
  margin-top: 16px;
  padding: 14px;
  background: var(--accent-subtle);
  border: 1px dashed var(--accent-glow);
  border-radius: var(--radius-lg, 12px);
}
.studio-style-addons-container .style-addons-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
}
.studio-style-addons-container .style-addons-header i, .studio-style-addons-container .style-addons-header [data-lucide] {
  width: 16px;
  height: 16px;
}
.studio-style-addons-container .style-addons-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.studio-style-addons-container .style-addon-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s ease;
}
.studio-style-addons-container .style-addon-pill i, .studio-style-addons-container .style-addon-pill [data-lucide], .studio-style-addons-container .style-addon-pill svg {
  width: 13px;
  height: 13px;
}
.studio-style-addons-container .style-addon-pill .pill-icon-check {
  display: none;
}
.studio-style-addons-container .style-addon-pill .pill-icon-plus {
  display: inline-flex;
}
.studio-style-addons-container .style-addon-pill:hover {
  border-color: var(--accent);
}
.studio-style-addons-container .style-addon-pill.active {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
}
.studio-style-addons-container .style-addon-pill.active .pill-icon-check {
  display: inline-flex;
}
.studio-style-addons-container .style-addon-pill.active .pill-icon-plus {
  display: none;
}
.studio-style-addons-container .style-addon-pill.active i, .studio-style-addons-container .style-addon-pill.active [data-lucide], .studio-style-addons-container .style-addon-pill.active svg {
  color: var(--text-inverse);
}

.fine-control-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.fine-control-field .form-label-sm {
  font-size: 0.76rem;
  font-weight: 750;
  color: var(--text-secondary);
  margin: 0;
}

.custom-dropdown-wrap {
  position: relative;
  width: 100%;
}
.custom-dropdown-wrap .custom-dropdown-btn {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s ease;
}
.custom-dropdown-wrap .custom-dropdown-btn:hover, .custom-dropdown-wrap .custom-dropdown-btn.active {
  border-color: var(--accent);
  background: var(--surface3);
}
.custom-dropdown-wrap .custom-dropdown-btn .cd-btn-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.custom-dropdown-wrap .custom-dropdown-btn .cd-chevron {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.custom-dropdown-wrap .custom-dropdown-btn.active .cd-chevron {
  transform: rotate(180deg);
}
.custom-dropdown-wrap .custom-dropdown-menu {
  position: absolute;
  bottom: calc(100% + 4px);
  right: 0;
  left: 0;
  z-index: 1050;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 10px);
  box-shadow: var(--shadow-lg);
  max-height: 200px;
  overflow-y: auto;
  padding: 4px;
  backdrop-filter: blur(16px);
}
.custom-dropdown-wrap .custom-dropdown-menu .custom-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.12s ease;
}
.custom-dropdown-wrap .custom-dropdown-menu .custom-dropdown-item:hover {
  background: var(--surface2);
  color: var(--accent);
}
.custom-dropdown-wrap .custom-dropdown-menu .custom-dropdown-item.selected {
  background: var(--accent-subtle);
  color: var(--accent);
  font-weight: 800;
}
.custom-dropdown-wrap .custom-dropdown-menu .custom-dropdown-item.selected .cd-item-check {
  opacity: 1;
  transform: scale(1);
}
.custom-dropdown-wrap .custom-dropdown-menu .custom-dropdown-item .cd-item-check {
  width: 13px;
  height: 13px;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.12s ease;
  color: var(--accent);
}
.custom-dropdown-wrap .custom-dropdown-menu .custom-dropdown-item .cd-item-check i, .custom-dropdown-wrap .custom-dropdown-menu .custom-dropdown-item .cd-item-check [data-lucide], .custom-dropdown-wrap .custom-dropdown-menu .custom-dropdown-item .cd-item-check svg {
  width: 13px;
  height: 13px;
}

.addon-cat-dropdown-wrap {
  position: relative;
  margin-bottom: 12px;
}
.addon-cat-dropdown-wrap .addon-cat-dropdown-btn {
  width: 100%;
  padding: 9px 14px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.addon-cat-dropdown-wrap .addon-cat-dropdown-btn:hover, .addon-cat-dropdown-wrap .addon-cat-dropdown-btn.active {
  border-color: var(--accent);
  background: var(--surface3);
}
.addon-cat-dropdown-wrap .addon-cat-dropdown-btn .acd-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-primary);
}
.addon-cat-dropdown-wrap .addon-cat-dropdown-btn .acd-left i, .addon-cat-dropdown-wrap .addon-cat-dropdown-btn .acd-left [data-lucide], .addon-cat-dropdown-wrap .addon-cat-dropdown-btn .acd-left svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.addon-cat-dropdown-wrap .addon-cat-dropdown-btn .acd-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.addon-cat-dropdown-wrap .addon-cat-dropdown-btn .acd-right .acd-count {
  font-size: 0.72rem;
  font-weight: 750;
  color: var(--text-muted);
}
.addon-cat-dropdown-wrap .addon-cat-dropdown-btn .acd-right .acd-chevron {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}
.addon-cat-dropdown-wrap .addon-cat-dropdown-btn.active .acd-chevron {
  transform: rotate(180deg);
}
.addon-cat-dropdown-wrap .addon-cat-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  z-index: 1050;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow-xl);
  padding: 6px;
  backdrop-filter: blur(16px);
}
.addon-cat-dropdown-wrap .addon-cat-dropdown-menu .addon-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.12s ease;
}
.addon-cat-dropdown-wrap .addon-cat-dropdown-menu .addon-cat-item:hover {
  background: var(--surface2);
  color: var(--accent);
}
.addon-cat-dropdown-wrap .addon-cat-dropdown-menu .addon-cat-item.active {
  background: var(--accent-subtle);
  color: var(--accent);
  font-weight: 800;
}
.addon-cat-dropdown-wrap .addon-cat-dropdown-menu .addon-cat-item.active .aci-check {
  opacity: 1;
  transform: scale(1);
}
.addon-cat-dropdown-wrap .addon-cat-dropdown-menu .addon-cat-item .aci-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.addon-cat-dropdown-wrap .addon-cat-dropdown-menu .addon-cat-item .aci-left i, .addon-cat-dropdown-wrap .addon-cat-dropdown-menu .addon-cat-item .aci-left [data-lucide], .addon-cat-dropdown-wrap .addon-cat-dropdown-menu .addon-cat-item .aci-left svg {
  width: 15px;
  height: 15px;
}
.addon-cat-dropdown-wrap .addon-cat-dropdown-menu .addon-cat-item .aci-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.addon-cat-dropdown-wrap .addon-cat-dropdown-menu .addon-cat-item .aci-right .aci-count {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--surface3);
  color: var(--text-muted);
}
.addon-cat-dropdown-wrap .addon-cat-dropdown-menu .addon-cat-item .aci-right .aci-check {
  width: 13px;
  height: 13px;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.12s ease;
  color: var(--accent);
}
.addon-cat-dropdown-wrap .addon-cat-dropdown-menu .addon-cat-item .aci-right .aci-check i, .addon-cat-dropdown-wrap .addon-cat-dropdown-menu .addon-cat-item .aci-right .aci-check [data-lucide], .addon-cat-dropdown-wrap .addon-cat-dropdown-menu .addon-cat-item .aci-right .aci-check svg {
  width: 13px;
  height: 13px;
}

.studio-format-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 6px;
}
.studio-format-selector .format-choice-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.15s ease;
}
.studio-format-selector .format-choice-chip i, .studio-format-selector .format-choice-chip [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}
.studio-format-selector .format-choice-chip:hover {
  border-color: var(--border-strong);
}
.studio-format-selector .format-choice-chip.active {
  border-color: var(--accent);
  background: var(--accent-subtle);
}
.studio-format-selector .format-choice-chip.active i, .studio-format-selector .format-choice-chip.active [data-lucide] {
  color: var(--accent);
}
.studio-format-selector .format-choice-chip.active .fmt-title {
  color: var(--accent);
}
.studio-format-selector .format-choice-chip .fmt-ratio {
  font-family: monospace;
  font-weight: 850;
  font-size: 0.85rem;
  color: var(--accent);
  background: var(--surface2);
  padding: 2px 6px;
  border-radius: 6px;
}
.studio-format-selector .format-choice-chip .fmt-title {
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--text-primary);
}

/* ── Executive Stepped Studio Sub-Navigation ── */
.studio-steps-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px;
  background: var(--surface);
  border-radius: var(--radius-lg, 14px);
}
.studio-steps-nav .studio-step-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-md, 10px);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: right;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.studio-steps-nav .studio-step-tab .step-num {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.studio-steps-nav .studio-step-tab .step-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.studio-steps-nav .studio-step-tab .step-title {
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.studio-steps-nav .studio-step-tab .step-desc {
  font-size: 0.66rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.studio-steps-nav .studio-step-tab:hover {
  background: var(--surface2);
}
.studio-steps-nav .studio-step-tab:hover .step-title {
  color: var(--text-primary);
}
.studio-steps-nav .studio-step-tab:hover .step-num {
  color: var(--text-primary);
  background: var(--surface3);
}
.studio-steps-nav .studio-step-tab.active {
  background: var(--surface2);
  box-shadow: var(--shadow-xs);
}
.studio-steps-nav .studio-step-tab.active .step-num {
  background: var(--accent);
  color: var(--color-black);
}
.studio-steps-nav .studio-step-tab.active .step-title {
  color: var(--text-primary);
  font-weight: 800;
}
.studio-steps-nav .studio-step-tab.active .step-desc {
  color: var(--text-secondary);
}

/* ── Active Category Hero Bar & Smooth Masked Ribbon ── */
.cat-hero-active-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--surface2);
  border-radius: var(--radius-md, 10px);
  margin-bottom: 12px;
  gap: 12px;
}
.cat-hero-active-bar .ch-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.cat-hero-active-bar .ch-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md, 8px);
  background: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cat-hero-active-bar .ch-icon-wrap i, .cat-hero-active-bar .ch-icon-wrap [data-lucide] {
  width: 18px;
  height: 18px;
}
.cat-hero-active-bar .ch-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.cat-hero-active-bar .ch-name {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-primary);
}
.cat-hero-active-bar .ch-hint {
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-hero-active-bar .ch-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.cat-hero-active-bar .ch-status-pill .ch-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.studio-categories-scroll-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 4px;
  mask-image: linear-gradient(to right, transparent 0, black 20px, black calc(100% - 20px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 20px, black calc(100% - 20px), transparent 100%);
}

.studio-categories-scroll-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 16px 8px 16px;
  scrollbar-width: none;
}
.studio-categories-scroll-row::-webkit-scrollbar {
  display: none;
}
.studio-categories-scroll-row .studio-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full, 9999px);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.studio-categories-scroll-row .studio-cat-chip i, .studio-categories-scroll-row .studio-cat-chip [data-lucide] {
  width: 13px;
  height: 13px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.studio-categories-scroll-row .studio-cat-chip:hover {
  border-color: var(--border-medium);
  color: var(--text-primary);
  background: var(--surface2);
  transform: translateY(-1px);
}
.studio-categories-scroll-row .studio-cat-chip:hover i, .studio-categories-scroll-row .studio-cat-chip:hover [data-lucide] {
  color: var(--accent);
}
.studio-categories-scroll-row .studio-cat-chip.active {
  background: var(--accent-subtle);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}
.studio-categories-scroll-row .studio-cat-chip.active i, .studio-categories-scroll-row .studio-cat-chip.active [data-lucide] {
  color: var(--accent);
}

/* ── Compact Controls: Visual Scene Components ── */
.components-input-wrap {
  margin-bottom: 8px;
}
.components-input-wrap .form-input {
  width: 100%;
}

.cp-quick-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.cp-quick-bar .cp-quick-label {
  font-size: 0.72rem;
  font-weight: 750;
  color: var(--text-muted);
}
.cp-quick-bar .cp-quick-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.cp-quick-bar .cp-quick-chips .cp-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s ease;
}
.cp-quick-bar .cp-quick-chips .cp-chip-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}
.cp-quick-bar .cp-quick-chips .cp-chip-btn.active {
  background: var(--accent-subtle) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  box-shadow: 0 0 10px var(--accent-glow);
}
.cp-quick-bar .cp-quick-chips .cp-chip-btn.active i, .cp-quick-bar .cp-quick-chips .cp-chip-btn.active [data-lucide] {
  color: var(--accent) !important;
}
.cp-quick-bar .cp-quick-chips .cp-chip-btn i, .cp-quick-bar .cp-quick-chips .cp-chip-btn [data-lucide] {
  width: 11px;
  height: 11px;
  color: var(--accent);
}

.components-hint-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 4px 0 0 0;
}
.components-hint-note i, .components-hint-note [data-lucide] {
  width: 13px;
  height: 13px;
  color: var(--success);
  flex-shrink: 0;
}

/* ── Executive 3-Column Creative Scene Grid ── */
.studio-scenes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 8px;
}
.studio-scenes-grid .scene-grid-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 12px 10px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 10px);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.studio-scenes-grid .scene-grid-card .sgc-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.studio-scenes-grid .scene-grid-card .sgc-icon-wrap i, .studio-scenes-grid .scene-grid-card .sgc-icon-wrap [data-lucide] {
  width: 16px;
  height: 16px;
}
.studio-scenes-grid .scene-grid-card .sgc-title {
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--text-secondary);
  line-height: 1.3;
  transition: color 0.2s ease;
}
.studio-scenes-grid .scene-grid-card .sgc-check {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
}
.studio-scenes-grid .scene-grid-card .sgc-check i, .studio-scenes-grid .scene-grid-card .sgc-check [data-lucide] {
  width: 10px;
  height: 10px;
}
.studio-scenes-grid .scene-grid-card:hover {
  border-color: var(--border-medium);
  background: var(--surface2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xs);
}
.studio-scenes-grid .scene-grid-card:hover .sgc-icon-wrap {
  background: var(--surface3);
  color: var(--accent);
}
.studio-scenes-grid .scene-grid-card:hover .sgc-title {
  color: var(--text-primary);
}
.studio-scenes-grid .scene-grid-card.active {
  background: var(--accent-subtle);
  border-color: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}
.studio-scenes-grid .scene-grid-card.active .sgc-icon-wrap {
  background: var(--accent);
  color: var(--color-black);
}
.studio-scenes-grid .scene-grid-card.active .sgc-title {
  color: var(--text-primary);
  font-weight: 800;
}

/* ── Interactive Tags System for Scene Components ── */
.ci-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ci-header-actions .btn-clear-components {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-sm, 6px);
  background: var(--surface3);
  border: none;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ci-header-actions .btn-clear-components i, .ci-header-actions .btn-clear-components [data-lucide] {
  width: 11px;
  height: 11px;
}
.ci-header-actions .btn-clear-components:hover {
  background: var(--danger-subtle);
  color: var(--danger);
}

.components-input-wrap {
  margin-bottom: 12px;
}

.ci-tags-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 12px);
  padding: 8px 10px;
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.2s ease;
}
.ci-tags-container:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  background: var(--surface2);
}
.ci-tags-container .ci-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.ci-tags-container .ci-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill, 999px);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--text-primary);
  transition: all 0.15s ease;
  position: relative;
  user-select: none;
}
.ci-tags-container .ci-tag-pill:hover {
  border-color: var(--border-strong);
  background: var(--surface3);
}
.ci-tags-container .ci-tag-pill .ci-tag-icon {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  opacity: 0.9;
}
.ci-tags-container .ci-tag-pill .ci-tag-icon i, .ci-tags-container .ci-tag-pill .ci-tag-icon [data-lucide] {
  width: 12px;
  height: 12px;
}
.ci-tags-container .ci-tag-pill .ci-tag-text {
  cursor: pointer;
  transition: color 0.15s ease;
}
.ci-tags-container .ci-tag-pill .ci-tag-text:hover {
  color: var(--accent);
}
.ci-tags-container .ci-tag-pill .ci-tag-actions {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-inline-start: 2px;
}
.ci-tags-container .ci-tag-pill .ci-tag-btn-edit,
.ci-tags-container .ci-tag-pill .ci-tag-btn-del {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
}
.ci-tags-container .ci-tag-pill .ci-tag-btn-edit i, .ci-tags-container .ci-tag-pill .ci-tag-btn-edit [data-lucide],
.ci-tags-container .ci-tag-pill .ci-tag-btn-del i,
.ci-tags-container .ci-tag-pill .ci-tag-btn-del [data-lucide] {
  width: 11px;
  height: 11px;
}
.ci-tags-container .ci-tag-pill .ci-tag-btn-edit {
  color: var(--text-muted);
}
.ci-tags-container .ci-tag-pill .ci-tag-btn-edit:hover {
  color: var(--accent);
  background: var(--accent-subtle);
}
.ci-tags-container .ci-tag-pill .ci-tag-btn-del {
  color: var(--text-muted);
}
.ci-tags-container .ci-tag-pill .ci-tag-btn-del:hover {
  color: var(--danger);
  background: var(--danger-subtle);
}
.ci-tags-container .ci-tag-pill.is-editing {
  background: var(--accent-subtle);
  border-color: var(--accent);
  padding: 3px 6px 3px 10px;
}
.ci-tags-container .ci-tag-pill .ci-tag-edit-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 650;
  min-width: 80px;
  max-width: 180px;
  font-family: inherit;
  padding: 2px 4px;
}
.ci-tags-container .ci-tag-pill .ci-tag-edit-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: 4px;
}
.ci-tags-container .ci-tag-pill .ci-tag-btn-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success);
  color: var(--text-white);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px var(--shadow-sm);
}
.ci-tags-container .ci-tag-pill .ci-tag-btn-save svg {
  width: 12px;
  height: 12px;
  stroke: var(--text-white);
}
.ci-tags-container .ci-tag-pill .ci-tag-btn-save:hover {
  background: var(--success-hover);
  transform: scale(1.08);
}
.ci-tags-container .ci-tag-pill .ci-tag-btn-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface3);
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
}
.ci-tags-container .ci-tag-pill .ci-tag-btn-cancel svg {
  width: 12px;
  height: 12px;
  stroke: var(--text-muted);
}
.ci-tags-container .ci-tag-pill .ci-tag-btn-cancel:hover {
  background: var(--danger-subtle);
  color: var(--danger);
}
.ci-tags-container .ci-tag-pill .ci-tag-btn-cancel:hover svg {
  stroke: var(--danger);
}
.ci-tags-container .ci-tag-new-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 160px;
  min-width: 140px;
}
.ci-tags-container .ci-tag-new-row .ci-tag-new-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.8rem;
  padding: 5px 6px;
  font-family: inherit;
}
.ci-tags-container .ci-tag-new-row .ci-tag-new-input::placeholder {
  color: var(--text-muted);
  font-size: 0.76rem;
}
.ci-tags-container .ci-tag-new-row .ci-tag-btn-add {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-pill, 999px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.ci-tags-container .ci-tag-new-row .ci-tag-btn-add i, .ci-tags-container .ci-tag-new-row .ci-tag-btn-add [data-lucide] {
  width: 11px;
  height: 11px;
}
.ci-tags-container .ci-tag-new-row .ci-tag-btn-add:hover {
  background: var(--accent-subtle);
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Step Navigation Footer Actions ── */
.studio-step-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}
.studio-step-footer.studio-step-footer--between {
  justify-content: space-between;
}
.studio-step-footer .btn-step-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  font-size: 0.78rem;
  font-weight: 750;
  border-radius: var(--radius-md, 10px);
  transition: all 0.2s ease;
}
.studio-step-footer .btn-step-nav-btn i, .studio-step-footer .btn-step-nav-btn [data-lucide] {
  width: 14px;
  height: 14px;
}
.studio-step-footer .btn-step-nav-btn:hover {
  transform: translateY(-1px);
}

/* ── Compact Controls: Visual Style Executive Dropdown ── */
.cover-style-picker-wrap {
  position: relative;
  margin-top: 8px;
}
.cover-style-picker-wrap .cover-style-select-group {
  position: relative;
  width: 100%;
}
.cover-style-picker-wrap .cover-style-quick-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.cover-style-picker-wrap .cover-style-quick-row .style-quick-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 750;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}
.cover-style-picker-wrap .cover-style-quick-row .style-quick-chip:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}
.cover-style-picker-wrap .cover-style-quick-row .style-quick-chip.active {
  background: var(--accent-subtle);
  border-color: var(--accent);
  color: var(--accent);
}
.cover-style-picker-wrap .cover-style-quick-row .style-quick-chip i, .cover-style-picker-wrap .cover-style-quick-row .style-quick-chip [data-lucide] {
  width: 12px;
  height: 12px;
}
.cover-style-picker-wrap .cover-style-select-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg, 12px);
  cursor: pointer;
  transition: all 0.2s ease;
}
.cover-style-picker-wrap .cover-style-select-btn:hover, .cover-style-picker-wrap .cover-style-select-btn.active {
  border-color: var(--accent);
  background: var(--surface2);
}
.cover-style-picker-wrap .cover-style-select-btn .cs-btn-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.cover-style-picker-wrap .cover-style-select-btn .cs-btn-left .cs-btn-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md, 8px);
  background: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cover-style-picker-wrap .cover-style-select-btn .cs-btn-left .cs-btn-icon i, .cover-style-picker-wrap .cover-style-select-btn .cs-btn-left .cs-btn-icon [data-lucide] {
  width: 16px;
  height: 16px;
}
.cover-style-picker-wrap .cover-style-select-btn .cs-btn-left .cs-btn-info {
  display: flex;
  flex-direction: column;
  text-align: right;
  min-width: 0;
}
.cover-style-picker-wrap .cover-style-select-btn .cs-btn-left .cs-btn-info .cs-btn-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-primary);
}
.cover-style-picker-wrap .cover-style-select-btn .cs-btn-left .cs-btn-info .cs-btn-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cover-style-picker-wrap .cover-style-select-btn .cs-btn-chevron {
  color: var(--text-muted);
  transition: transform 0.2s ease;
}
.cover-style-picker-wrap .cover-style-select-btn .cs-btn-chevron i, .cover-style-picker-wrap .cover-style-select-btn .cs-btn-chevron [data-lucide] {
  width: 18px;
  height: 18px;
}
.cover-style-picker-wrap .cover-style-select-btn.active .cs-btn-chevron {
  transform: rotate(180deg);
}
.cover-style-picker-wrap .cover-style-dropdown-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  top: auto;
  left: 0;
  right: 0;
  z-index: 120;
  background: var(--surface2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 10px;
  max-height: 320px;
  display: flex;
  flex-direction: column;
  animation: dropupFadeIn 0.2s ease;
}
.cover-style-picker-wrap .cover-style-dropdown-menu .cs-search-wrap {
  position: relative;
  margin-bottom: 8px;
}
.cover-style-picker-wrap .cover-style-dropdown-menu .cs-search-wrap i, .cover-style-picker-wrap .cover-style-dropdown-menu .cs-search-wrap [data-lucide] {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}
.cover-style-picker-wrap .cover-style-dropdown-menu .cs-search-wrap .cs-search-input {
  width: 100%;
  padding: 7px 32px 7px 10px;
  font-size: 0.78rem;
  border-radius: var(--radius-md, 8px);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
}
.cover-style-picker-wrap .cover-style-dropdown-menu .cs-search-wrap .cs-search-input:focus {
  outline: none;
  border-color: var(--accent);
}
.cover-style-picker-wrap .cover-style-dropdown-menu .cs-options-list {
  overflow-y: auto;
  scrollbar-width: thin;
  max-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cover-style-picker-wrap .cover-style-dropdown-menu .cs-options-list .cs-option-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-md, 8px);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: right;
}
.cover-style-picker-wrap .cover-style-dropdown-menu .cs-options-list .cs-option-item:hover {
  background: var(--surface3);
}
.cover-style-picker-wrap .cover-style-dropdown-menu .cs-options-list .cs-option-item.active {
  background: var(--accent-subtle);
  border-color: var(--accent);
}
.cover-style-picker-wrap .cover-style-dropdown-menu .cs-options-list .cs-option-item.active .cs-opt-title {
  color: var(--accent);
}
.cover-style-picker-wrap .cover-style-dropdown-menu .cs-options-list .cs-option-item .cs-opt-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--surface3);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cover-style-picker-wrap .cover-style-dropdown-menu .cs-options-list .cs-option-item .cs-opt-icon i, .cover-style-picker-wrap .cover-style-dropdown-menu .cs-options-list .cs-option-item .cs-opt-icon [data-lucide] {
  width: 14px;
  height: 14px;
}
.cover-style-picker-wrap .cover-style-dropdown-menu .cs-options-list .cs-option-item .cs-opt-text {
  flex: 1;
  min-width: 0;
}
.cover-style-picker-wrap .cover-style-dropdown-menu .cs-options-list .cs-option-item .cs-opt-text .cs-opt-title {
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--text-primary);
  display: block;
}
.cover-style-picker-wrap .cover-style-dropdown-menu .cs-options-list .cs-option-item .cs-opt-text .cs-opt-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cover-style-picker-wrap .cover-style-dropdown-menu .cs-options-list .cs-option-item .cs-opt-check {
  color: var(--accent);
  flex-shrink: 0;
}
.cover-style-picker-wrap .cover-style-dropdown-menu .cs-options-list .cs-option-item .cs-opt-check i, .cover-style-picker-wrap .cover-style-dropdown-menu .cs-options-list .cs-option-item .cs-opt-check [data-lucide] {
  width: 14px;
  height: 14px;
}

.studio-terminal-pane {
  position: relative;
  height: 100%;
}
.studio-terminal-pane .studio-terminal-sticky-wrapper {
  position: sticky;
  top: 0;
  max-height: calc(94vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
  padding-bottom: 24px;
  z-index: 10;
}
.studio-terminal-pane .terminal-hud-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.studio-terminal-pane .terminal-hud-header .hud-item-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface2);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-primary);
}
.studio-terminal-pane .terminal-hud-header .hud-item-pill i, .studio-terminal-pane .terminal-hud-header .hud-item-pill [data-lucide] {
  width: 13px;
  height: 13px;
  color: var(--accent);
}
.studio-terminal-pane .terminal-hud-header .hud-item-pill.hud-pill--accent {
  background: var(--teal-subtle);
  color: var(--teal);
  border-color: var(--teal-subtle);
}
.studio-terminal-pane .terminal-hud-header .hud-item-pill.hud-pill--accent i, .studio-terminal-pane .terminal-hud-header .hud-item-pill.hud-pill--accent [data-lucide] {
  color: var(--teal);
}
.studio-terminal-pane .terminal-hud-header .hud-item-swatches {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface2);
  border: 1px solid var(--border);
}
.studio-terminal-pane .terminal-hud-header .hud-item-swatches .hud-color-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  border: 1px solid var(--border-medium);
}
.studio-terminal-pane .cover-visualizer-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 14px;
}
.studio-terminal-pane .cover-visualizer-card .cv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--surface3);
  border-bottom: 1px solid var(--border);
}
.studio-terminal-pane .cover-visualizer-card .cv-header .cv-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.studio-terminal-pane .cover-visualizer-card .cv-header .cv-title-wrap .cv-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}
.studio-terminal-pane .cover-visualizer-card .cv-header .cv-title-wrap .cv-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-primary);
}
.studio-terminal-pane .cover-visualizer-card .cv-header .cv-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.studio-terminal-pane .cover-visualizer-card .cv-header .cv-controls .cv-control-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.studio-terminal-pane .cover-visualizer-card .cv-header .cv-controls .cv-control-btn:hover, .studio-terminal-pane .cover-visualizer-card .cv-header .cv-controls .cv-control-btn.active {
  background: var(--accent-subtle);
  color: var(--accent);
  border-color: var(--accent);
}
.studio-terminal-pane .cover-visualizer-card .cv-header .cv-controls .cv-control-btn i, .studio-terminal-pane .cover-visualizer-card .cv-header .cv-controls .cv-control-btn [data-lucide] {
  width: 12px;
  height: 12px;
}
.studio-terminal-pane .cover-visualizer-card .cv-header .cv-controls .cv-badge {
  font-size: 0.68rem;
  font-weight: 850;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid var(--accent);
  letter-spacing: 0.5px;
}
.studio-terminal-pane .cover-visualizer-card .cv-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-main);
  overflow: hidden;
}
.studio-terminal-pane .cover-visualizer-card .cv-canvas-wrap .cv-canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.studio-terminal-pane .cover-visualizer-card .cv-canvas-wrap .cv-loading-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 700;
}
.studio-terminal-pane .cover-visualizer-card .cv-footer {
  padding: 8px 12px;
  background: var(--surface3);
  border-top: 1px solid var(--border);
}
.studio-terminal-pane .cover-visualizer-card .cv-footer .cv-footer-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.studio-terminal-pane .cover-visualizer-card .cv-footer .cv-footer-hint i, .studio-terminal-pane .cover-visualizer-card .cv-footer .cv-footer-hint [data-lucide] {
  width: 13px;
  height: 13px;
  color: var(--info);
  flex-shrink: 0;
}
.studio-terminal-pane .prompt-terminal-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.studio-terminal-pane .prompt-terminal-card .terminal-mac-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface3);
  border-bottom: 1px solid var(--border);
}
.studio-terminal-pane .prompt-terminal-card .terminal-mac-controls .terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}
.studio-terminal-pane .prompt-terminal-card .terminal-mac-controls .terminal-dot.dot-red {
  background: var(--danger);
}
.studio-terminal-pane .prompt-terminal-card .terminal-mac-controls .terminal-dot.dot-yellow {
  background: var(--warning);
}
.studio-terminal-pane .prompt-terminal-card .terminal-mac-controls .terminal-dot.dot-green {
  background: var(--success);
}
.studio-terminal-pane .prompt-terminal-card .terminal-mac-controls .terminal-title {
  margin-right: auto;
  margin-left: 8px;
  font-family: monospace;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.studio-terminal-pane .prompt-terminal-card .prompt-code-body {
  margin: 0;
  padding: 18px;
  font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--info);
  max-height: 380px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: left;
  direction: ltr;
}
.studio-terminal-pane .studio-primary-actions-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.studio-terminal-pane .studio-primary-actions-group .btn-copy-prompt {
  margin-top: 0;
  width: 100%;
}
.studio-terminal-pane .studio-primary-actions-group .btn-apply-canvas-cover {
  width: 100%;
  height: 40px;
  border-radius: var(--radius-md, 10px);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface2);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  transition: all 0.2s ease;
}
.studio-terminal-pane .studio-primary-actions-group .btn-apply-canvas-cover:hover {
  background: var(--surface3);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.studio-terminal-pane .studio-primary-actions-group .btn-apply-canvas-cover i, .studio-terminal-pane .studio-primary-actions-group .btn-apply-canvas-cover [data-lucide], .studio-terminal-pane .studio-primary-actions-group .btn-apply-canvas-cover svg {
  width: 16px;
  height: 16px;
}
.studio-terminal-pane .btn-copy-prompt {
  margin-top: 12px;
  width: 100%;
  height: 42px;
  border-radius: var(--radius-md, 10px);
  font-size: 0.88rem;
  font-weight: 750;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px var(--accent-glow);
  transition: all 0.2s ease;
}
.studio-terminal-pane .btn-copy-prompt i, .studio-terminal-pane .btn-copy-prompt [data-lucide], .studio-terminal-pane .btn-copy-prompt svg {
  width: 16px;
  height: 16px;
}
.studio-terminal-pane .btn-copy-prompt .copy-icon-check {
  display: none;
}
.studio-terminal-pane .btn-copy-prompt .copy-icon-copy {
  display: inline-flex;
}
.studio-terminal-pane .btn-copy-prompt:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--accent-glow);
}
.studio-terminal-pane .btn-copy-prompt.btn--success {
  background: var(--success) !important;
  border-color: var(--success) !important;
  box-shadow: 0 4px 14px var(--success-border);
}
.studio-terminal-pane .btn-copy-prompt.btn--success .copy-icon-check {
  display: inline-flex;
}
.studio-terminal-pane .btn-copy-prompt.btn--success .copy-icon-copy {
  display: none;
}
.studio-terminal-pane .terminal-platforms-box {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 12px);
}
.studio-terminal-pane .terminal-platforms-box .platforms-title {
  font-size: 0.74rem;
  font-weight: 750;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}
.studio-terminal-pane .terminal-platforms-box .platforms-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.studio-terminal-pane .terminal-platforms-box .platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
}
.studio-terminal-pane .terminal-platforms-box .platform-chip i, .studio-terminal-pane .terminal-platforms-box .platform-chip [data-lucide] {
  width: 12px;
  height: 12px;
  color: var(--accent);
}
.studio-terminal-pane .studio-tips-card {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--teal-subtle);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius-lg, 12px);
}
.studio-terminal-pane .studio-tips-card .tips-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 4px;
}
.studio-terminal-pane .studio-tips-card .tips-title i, .studio-terminal-pane .studio-tips-card .tips-title [data-lucide] {
  width: 14px;
  height: 14px;
}
.studio-terminal-pane .studio-tips-card .tips-text {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}
.studio-terminal-pane .studio-tips-card .tips-text code {
  background: var(--surface3, var(--border));
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: monospace;
}

.cover-studio-gallery-container {
  padding: 4px;
}
.cover-studio-gallery-container .gallery-filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.cover-studio-gallery-container .gallery-filter-toolbar .gallery-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cover-studio-gallery-container .gallery-filter-toolbar .gal-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--text-muted);
  background: var(--surface2);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.15s ease;
}
.cover-studio-gallery-container .gallery-filter-toolbar .gal-cat-btn i, .cover-studio-gallery-container .gallery-filter-toolbar .gal-cat-btn [data-lucide] {
  width: 15px;
  height: 15px;
}
.cover-studio-gallery-container .gallery-filter-toolbar .gal-cat-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.cover-studio-gallery-container .gallery-filter-toolbar .gal-cat-btn.active {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
  box-shadow: 0 3px 10px var(--accent-glow);
}
.cover-studio-gallery-container .gallery-filter-toolbar .gal-cat-btn.active i, .cover-studio-gallery-container .gallery-filter-toolbar .gal-cat-btn.active [data-lucide] {
  color: var(--text-inverse);
}
.cover-studio-gallery-container .gallery-filter-toolbar .gallery-search-wrap {
  position: relative;
  width: 260px;
}
.cover-studio-gallery-container .gallery-filter-toolbar .gallery-search-wrap i, .cover-studio-gallery-container .gallery-filter-toolbar .gallery-search-wrap [data-lucide] {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}
.cover-studio-gallery-container .gallery-filter-toolbar .gallery-search-wrap input {
  padding-right: 36px;
}
.cover-studio-gallery-container .ready-covers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.cover-studio-gallery-container .ready-cover-item-card {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl, 16px);
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.cover-studio-gallery-container .ready-cover-item-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.cover-studio-gallery-container .ready-cover-item-card:hover .cover-thumb-overlay {
  opacity: 1;
}
.cover-studio-gallery-container .ready-cover-item-card:hover .ready-cover-img {
  transform: scale(1.05);
}
.cover-studio-gallery-container .ready-cover-item-card.current-selected {
  border-color: var(--success);
  box-shadow: 0 0 0 2px var(--success-border);
}
.cover-studio-gallery-container .ready-cover-item-card .ready-cover-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface2);
}
.cover-studio-gallery-container .ready-cover-item-card .ready-cover-thumb-wrap .ready-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cover-studio-gallery-container .ready-cover-item-card .ready-cover-thumb-wrap .cover-thumb-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-bg);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  padding: 16px;
}
.cover-studio-gallery-container .ready-cover-item-card .ready-cover-thumb-wrap .btn-apply-cover-hover {
  box-shadow: var(--shadow-sm);
  font-weight: 850;
}
.cover-studio-gallery-container .ready-cover-item-card .ready-cover-thumb-wrap .cover-badge-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--overlay-bg);
  backdrop-filter: blur(4px);
  color: var(--text-inverse);
  font-size: 0.68rem;
  font-weight: 850;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.cover-studio-gallery-container .ready-cover-item-card .ready-cover-thumb-wrap .cover-current-marker {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--success);
  color: var(--text-inverse);
  font-size: 0.72rem;
  font-weight: 850;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: var(--shadow-xs);
}
.cover-studio-gallery-container .ready-cover-item-card .ready-cover-thumb-wrap .cover-current-marker i, .cover-studio-gallery-container .ready-cover-item-card .ready-cover-thumb-wrap .cover-current-marker [data-lucide] {
  width: 14px;
  height: 14px;
}
.cover-studio-gallery-container .ready-cover-item-card .ready-cover-details {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cover-studio-gallery-container .ready-cover-item-card .ready-cover-details .cover-item-cat {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}
.cover-studio-gallery-container .ready-cover-item-card .ready-cover-details .cover-item-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 12px 0;
  line-height: 1.4;
  flex: 1;
}
.cover-studio-gallery-container .ready-cover-item-card .ready-cover-details .cover-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle, var(--border));
  padding-top: 10px;
  margin-top: auto;
}
.cover-studio-gallery-container .ready-cover-item-card .ready-cover-details .cover-item-footer .cover-ratio-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
}
.cover-studio-gallery-container .gallery-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.cover-studio-gallery-container .gallery-empty-state i, .cover-studio-gallery-container .gallery-empty-state [data-lucide] {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  opacity: 0.6;
}
.cover-studio-gallery-container .gallery-empty-state h4 {
  margin: 0 0 6px 0;
  color: var(--text-primary);
}
.cover-studio-gallery-container .gallery-empty-state p {
  margin: 0;
  font-size: 0.85rem;
}

.cover-studio-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 24px;
  border-top: 1px solid var(--border);
}
.cover-studio-footer .studio-footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--text-muted);
}
.cover-studio-footer .studio-footer-status .studio-status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 8px var(--success-border);
}

.order-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface3);
  border: none !important;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: all 0.2s ease;
}
.order-mini:hover {
  background: var(--surface);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.order-mini .order-mini-code {
  font-family: var(--font-mono, monospace);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text-primary);
}
.order-mini .order-mini-date {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.order-mini .order-mini-amount {
  font-weight: 850;
  font-size: 0.94rem;
  color: var(--success);
  font-variant-numeric: tabular-nums;
}
.order-mini svg, .order-mini [data-lucide] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.notes-textarea {
  width: 100%;
  min-height: 110px;
  padding: 12px 14px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface3);
  border: none !important;
  color: var(--text-primary);
  font-size: 0.88rem;
  line-height: 1.5;
  resize: vertical;
  outline: none;
  transition: box-shadow 0.2s ease;
}
.notes-textarea::placeholder {
  color: var(--text-muted);
}
.notes-textarea:focus {
  box-shadow: 0 0 0 2px var(--accent-glow);
}
.notes-textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--surface2);
}

.customer-notes-box {
  background: var(--surface3);
  border: none !important;
  border-radius: var(--radius-md, 10px);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.86rem;
  line-height: 1.6;
  box-shadow: var(--shadow-xs);
  font-style: italic;
}

.seller-note-input {
  width: 100%;
  min-height: 100px;
  padding: 12px 14px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface3);
  border: none !important;
  color: var(--text-primary);
  font-size: 0.88rem;
  line-height: 1.5;
  outline: none;
  resize: vertical;
  transition: box-shadow 0.18s ease;
}
.seller-note-input:focus {
  box-shadow: 0 0 0 2px var(--accent-glow);
}
.seller-note-input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.avail-chip {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 14px);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.avail-chip .avail-label {
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--text-muted);
}
.avail-chip .avail-val {
  font-size: 1.25rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  color: var(--success);
}

.method-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.method-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: none !important;
  border-radius: var(--radius-lg, 14px);
  cursor: pointer;
  transition: all 0.18s ease;
  background: var(--surface2);
  box-shadow: var(--shadow-xs);
}
.method-opt:hover {
  background: var(--surface3);
  transform: translateY(-1px);
}
.method-opt.selected {
  background: var(--surface3);
  box-shadow: var(--shadow-sm);
}
.method-opt.selected .method-radio {
  border-color: var(--accent);
  background: var(--accent);
}
.method-opt.selected .method-radio::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-white);
}
.method-opt.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.method-opt .method-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.method-opt .method-icon svg, .method-opt .method-icon [data-lucide] {
  width: 20px;
  height: 20px;
}
.method-opt .method-icon--instapay {
  background: var(--info-subtle);
  color: var(--info);
}
.method-opt .method-icon--vodafone {
  background: var(--danger-subtle);
  color: var(--danger);
}
.method-opt .method-icon--bank {
  background: var(--accent-subtle);
  color: var(--accent);
}
.method-opt .method-icon--direct {
  background: var(--teal-subtle);
  color: var(--teal);
}
.method-opt .method-icon--wallet {
  background: var(--success-subtle);
  color: var(--success);
}
.method-opt .method-opt-name {
  font-weight: 750;
  font-size: 0.9rem;
  color: var(--text-primary);
}
.method-opt .method-opt-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.method-opt .method-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.bank-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-lg, 14px);
}

.inv-expand {
  font-size: 0.76rem;
  color: var(--accent);
  cursor: pointer;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.inv-expand svg, .inv-expand [data-lucide] {
  width: 14px;
  height: 14px;
}

.breakdown-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: var(--surface2);
  border-radius: var(--radius-sm, 8px);
  margin-top: 6px;
  font-size: 0.76rem;
}
.breakdown-row .br-tier {
  font-weight: 750;
  color: var(--accent);
}
.breakdown-row .br-val {
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.rating-modal-card {
  max-width: 480px;
}

.rating-interactive-box {
  padding: 16px;
  background: var(--surface2);
  border-radius: var(--radius-lg, 14px);
  text-align: center;
  margin-bottom: 18px;
}
.rating-interactive-box .rating-stars-interactive {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}
.rating-interactive-box .rating-stars-interactive .star-rating-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm, 6px);
  transition: transform var(--transition-fast);
}
.rating-interactive-box .rating-stars-interactive .star-rating-btn:hover {
  transform: scale(1.2);
}
.rating-interactive-box .rating-stars-interactive .star-rating-btn .star-interactive-icon, .rating-interactive-box .rating-stars-interactive .star-rating-btn svg, .rating-interactive-box .rating-stars-interactive .star-rating-btn [data-lucide] {
  width: 28px;
  height: 28px;
  color: var(--text-muted);
  fill: none;
  transition: color var(--transition-fast), fill var(--transition-fast);
}
.rating-interactive-box .rating-stars-interactive .star-rating-btn.star-active .star-interactive-icon, .rating-interactive-box .rating-stars-interactive .star-rating-btn.star-active svg, .rating-interactive-box .rating-stars-interactive .star-rating-btn.star-active [data-lucide], .rating-interactive-box .rating-stars-interactive .star-rating-btn.star-hover .star-interactive-icon, .rating-interactive-box .rating-stars-interactive .star-rating-btn.star-hover svg, .rating-interactive-box .rating-stars-interactive .star-rating-btn.star-hover [data-lucide] {
  color: var(--warning);
  fill: var(--warning);
}
.rating-interactive-box .rating-score-label {
  font-size: 0.85rem;
  font-weight: 750;
  color: var(--text-primary);
}

.support-modal-card {
  max-width: 520px;
}

.support-notice-banner {
  background: var(--warning-subtle);
  border-radius: var(--radius-md, 10px);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--warning);
  font-size: 0.82rem;
  line-height: 1.5;
}
.support-notice-banner svg, .support-notice-banner [data-lucide] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.support-notice-banner strong {
  display: block;
  margin-bottom: 2px;
  font-weight: 750;
}
.support-notice-banner p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.kyc-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: var(--overlay-bg);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.kyc-lightbox-modal .lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.kyc-lightbox-modal .lightbox-inner img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}
.kyc-lightbox-modal .lightbox-inner .lightbox-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}
.kyc-lightbox-modal .lightbox-inner .lightbox-close:hover {
  transform: scale(1.1);
}

.tg-studio-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.tg-studio-container .mw-160 {
  max-width: 160px;
}
.tg-studio-container select.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: var(--surface3) !important;
  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='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: left 12px center !important;
  background-size: 16px !important;
  padding-inline-start: 14px !important;
  padding-inline-end: 36px !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-md, 10px) !important;
  color: var(--text-primary) !important;
  font-size: 0.82rem !important;
  font-weight: 650;
  height: 40px;
  cursor: pointer;
  transition: all var(--transition-fast, 0.2s);
}
.tg-studio-container select.form-select:hover {
  border-color: var(--border-medium) !important;
  background-color: var(--surface2) !important;
}
.tg-studio-container select.form-select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-glow) !important;
  outline: none;
}
.tg-studio-container select.form-select option, .tg-studio-container select.form-select optgroup {
  background-color: var(--surface2) !important;
  color: var(--text-primary) !important;
  padding: 8px 12px;
}
.tg-studio-container input.form-control {
  background-color: var(--surface3) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-md, 10px) !important;
  color: var(--text-primary) !important;
  font-size: 0.82rem !important;
  height: 40px;
  padding: 8px 14px;
  transition: all var(--transition-fast, 0.2s);
}
.tg-studio-container input.form-control:hover {
  border-color: var(--border-medium) !important;
}
.tg-studio-container input.form-control:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-glow) !important;
  outline: none;
}
.tg-studio-container input.form-control::placeholder {
  color: var(--text-muted) !important;
  opacity: 0.7;
}

.tg-hud-bar,
.wa-hud-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-xs);
}
.tg-hud-bar .tg-hud-status,
.tg-hud-bar .wa-hud-status,
.wa-hud-bar .tg-hud-status,
.wa-hud-bar .wa-hud-status {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tg-hud-bar .tg-hud-status .tg-pulse-dot,
.tg-hud-bar .tg-hud-status .wa-pulse-dot,
.tg-hud-bar .wa-hud-status .tg-pulse-dot,
.tg-hud-bar .wa-hud-status .wa-pulse-dot,
.wa-hud-bar .tg-hud-status .tg-pulse-dot,
.wa-hud-bar .tg-hud-status .wa-pulse-dot,
.wa-hud-bar .wa-hud-status .tg-pulse-dot,
.wa-hud-bar .wa-hud-status .wa-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--success);
  box-shadow: 0 0 10px var(--success-border);
  animation: tg-pulse 2s infinite ease-in-out;
}
.tg-hud-bar .tg-hud-status .tg-pulse-dot--off,
.tg-hud-bar .tg-hud-status .wa-pulse-dot--off,
.tg-hud-bar .wa-hud-status .tg-pulse-dot--off,
.tg-hud-bar .wa-hud-status .wa-pulse-dot--off,
.wa-hud-bar .tg-hud-status .tg-pulse-dot--off,
.wa-hud-bar .tg-hud-status .wa-pulse-dot--off,
.wa-hud-bar .wa-hud-status .tg-pulse-dot--off,
.wa-hud-bar .wa-hud-status .wa-pulse-dot--off {
  background: var(--text-muted);
  box-shadow: none;
  animation: none;
}
.tg-hud-bar .tg-hud-status .tg-handle-name,
.tg-hud-bar .tg-hud-status .wa-handle-name,
.tg-hud-bar .wa-hud-status .tg-handle-name,
.tg-hud-bar .wa-hud-status .wa-handle-name,
.wa-hud-bar .tg-hud-status .tg-handle-name,
.wa-hud-bar .tg-hud-status .wa-handle-name,
.wa-hud-bar .wa-hud-status .tg-handle-name,
.wa-hud-bar .wa-hud-status .wa-handle-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.tg-hud-bar .tg-hud-metrics,
.tg-hud-bar .wa-hud-metrics,
.wa-hud-bar .tg-hud-metrics,
.wa-hud-bar .wa-hud-metrics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.tg-hud-bar .tg-hud-metrics .tg-hud-chip,
.tg-hud-bar .tg-hud-metrics .wa-hud-chip,
.tg-hud-bar .wa-hud-metrics .tg-hud-chip,
.tg-hud-bar .wa-hud-metrics .wa-hud-chip,
.wa-hud-bar .tg-hud-metrics .tg-hud-chip,
.wa-hud-bar .tg-hud-metrics .wa-hud-chip,
.wa-hud-bar .wa-hud-metrics .tg-hud-chip,
.wa-hud-bar .wa-hud-metrics .wa-hud-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full, 9999px);
  transition: all var(--transition-fast, 0.2s);
}
.tg-hud-bar .tg-hud-metrics .tg-hud-chip i, .tg-hud-bar .tg-hud-metrics .tg-hud-chip [data-lucide],
.tg-hud-bar .tg-hud-metrics .wa-hud-chip i,
.tg-hud-bar .tg-hud-metrics .wa-hud-chip [data-lucide],
.tg-hud-bar .wa-hud-metrics .tg-hud-chip i,
.tg-hud-bar .wa-hud-metrics .tg-hud-chip [data-lucide],
.tg-hud-bar .wa-hud-metrics .wa-hud-chip i,
.tg-hud-bar .wa-hud-metrics .wa-hud-chip [data-lucide],
.wa-hud-bar .tg-hud-metrics .tg-hud-chip i,
.wa-hud-bar .tg-hud-metrics .tg-hud-chip [data-lucide],
.wa-hud-bar .tg-hud-metrics .wa-hud-chip i,
.wa-hud-bar .tg-hud-metrics .wa-hud-chip [data-lucide],
.wa-hud-bar .wa-hud-metrics .tg-hud-chip i,
.wa-hud-bar .wa-hud-metrics .tg-hud-chip [data-lucide],
.wa-hud-bar .wa-hud-metrics .wa-hud-chip i,
.wa-hud-bar .wa-hud-metrics .wa-hud-chip [data-lucide] {
  color: var(--accent);
}
.tg-hud-bar .tg-hud-metrics .wa-hud-chip i,
.tg-hud-bar .tg-hud-metrics .wa-hud-chip [data-lucide],
.tg-hud-bar .wa-hud-metrics .wa-hud-chip i,
.tg-hud-bar .wa-hud-metrics .wa-hud-chip [data-lucide],
.wa-hud-bar .tg-hud-metrics .wa-hud-chip i,
.wa-hud-bar .tg-hud-metrics .wa-hud-chip [data-lucide],
.wa-hud-bar .wa-hud-metrics .wa-hud-chip i,
.wa-hud-bar .wa-hud-metrics .wa-hud-chip [data-lucide] {
  color: var(--teal);
}

@keyframes tg-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.7;
  }
}
.tg-subnav-pills,
.wa-subnav-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg, 14px);
  overflow-x: auto;
}
.tg-subnav-pills .tg-nav-btn,
.tg-subnav-pills .wa-nav-btn,
.wa-subnav-pills .tg-nav-btn,
.wa-subnav-pills .wa-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-md, 10px);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast, 0.2s);
}
.tg-subnav-pills .tg-nav-btn:hover:not(.active),
.tg-subnav-pills .wa-nav-btn:hover:not(.active),
.wa-subnav-pills .tg-nav-btn:hover:not(.active),
.wa-subnav-pills .wa-nav-btn:hover:not(.active) {
  color: var(--text-primary);
  background: var(--surface3);
}
.tg-subnav-pills .tg-nav-btn.active,
.tg-subnav-pills .wa-nav-btn.active,
.wa-subnav-pills .tg-nav-btn.active,
.wa-subnav-pills .wa-nav-btn.active {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-strong) !important;
  box-shadow: var(--shadow-sm);
  font-weight: 800;
}
.tg-subnav-pills .tg-nav-btn.active i, .tg-subnav-pills .tg-nav-btn.active [data-lucide], .tg-subnav-pills .tg-nav-btn.active svg, .tg-subnav-pills .tg-nav-btn.active span,
.tg-subnav-pills .wa-nav-btn.active i,
.tg-subnav-pills .wa-nav-btn.active [data-lucide],
.tg-subnav-pills .wa-nav-btn.active svg,
.tg-subnav-pills .wa-nav-btn.active span,
.wa-subnav-pills .tg-nav-btn.active i,
.wa-subnav-pills .tg-nav-btn.active [data-lucide],
.wa-subnav-pills .tg-nav-btn.active svg,
.wa-subnav-pills .tg-nav-btn.active span,
.wa-subnav-pills .wa-nav-btn.active i,
.wa-subnav-pills .wa-nav-btn.active [data-lucide],
.wa-subnav-pills .wa-nav-btn.active svg,
.wa-subnav-pills .wa-nav-btn.active span {
  color: var(--text-primary) !important;
}

.tg-tab-pane,
.wa-tab-pane {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: tgFadeIn 0.2s ease-in-out;
}

@keyframes tgFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.tg-bot-card,
.wa-number-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-xs);
  position: relative;
  transition: all var(--transition-fast, 0.2s);
}
.tg-bot-card:hover,
.wa-number-card:hover {
  border-color: var(--border-medium);
}
.tg-bot-card.is-primary,
.wa-number-card.is-primary {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-medium);
}

.tg-routes-group,
.wa-routes-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tg-routes-group .tg-routes-group-header,
.tg-routes-group .wa-routes-group-header,
.wa-routes-group .tg-routes-group-header,
.wa-routes-group .wa-routes-group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
  padding-inline: 4px;
}
.tg-routes-group .tg-routes-group-header i, .tg-routes-group .tg-routes-group-header [data-lucide],
.tg-routes-group .wa-routes-group-header i,
.tg-routes-group .wa-routes-group-header [data-lucide],
.wa-routes-group .tg-routes-group-header i,
.wa-routes-group .tg-routes-group-header [data-lucide],
.wa-routes-group .wa-routes-group-header i,
.wa-routes-group .wa-routes-group-header [data-lucide] {
  width: 16px;
  height: 16px;
}

.tg-route-card,
.wa-route-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg, 14px);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast, 0.2s);
  position: relative;
}
.tg-route-card:has(.custom-select-dropdown-container.is-open), .tg-route-card:has(.btn-custom-select.is-open), .tg-route-card:has(.is-open), .tg-route-card:focus-within,
.wa-route-card:has(.custom-select-dropdown-container.is-open),
.wa-route-card:has(.btn-custom-select.is-open),
.wa-route-card:has(.is-open),
.wa-route-card:focus-within {
  z-index: 100;
}
.tg-route-card:hover,
.wa-route-card:hover {
  background: var(--surface3);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.tg-route-card.is-muted,
.wa-route-card.is-muted {
  opacity: 0.55;
}
.tg-route-card .tg-route-header,
.tg-route-card .wa-route-header,
.wa-route-card .tg-route-header,
.wa-route-card .wa-route-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tg-route-card .tg-route-header .tg-route-info,
.tg-route-card .tg-route-header .wa-route-info,
.tg-route-card .wa-route-header .tg-route-info,
.tg-route-card .wa-route-header .wa-route-info,
.wa-route-card .tg-route-header .tg-route-info,
.wa-route-card .tg-route-header .wa-route-info,
.wa-route-card .wa-route-header .tg-route-info,
.wa-route-card .wa-route-header .wa-route-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tg-route-card .tg-route-header .tg-route-info .tg-route-icon,
.tg-route-card .tg-route-header .tg-route-info .wa-route-icon,
.tg-route-card .tg-route-header .wa-route-info .tg-route-icon,
.tg-route-card .tg-route-header .wa-route-info .wa-route-icon,
.tg-route-card .wa-route-header .tg-route-info .tg-route-icon,
.tg-route-card .wa-route-header .tg-route-info .wa-route-icon,
.tg-route-card .wa-route-header .wa-route-info .tg-route-icon,
.tg-route-card .wa-route-header .wa-route-info .wa-route-icon,
.wa-route-card .tg-route-header .tg-route-info .tg-route-icon,
.wa-route-card .tg-route-header .tg-route-info .wa-route-icon,
.wa-route-card .tg-route-header .wa-route-info .tg-route-icon,
.wa-route-card .tg-route-header .wa-route-info .wa-route-icon,
.wa-route-card .wa-route-header .tg-route-info .tg-route-icon,
.wa-route-card .wa-route-header .tg-route-info .wa-route-icon,
.wa-route-card .wa-route-header .wa-route-info .tg-route-icon,
.wa-route-card .wa-route-header .wa-route-info .wa-route-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md, 10px);
  background: var(--surface3);
  border: 1px solid var(--border-medium);
  color: var(--accent);
  flex-shrink: 0;
}
.tg-route-card .tg-route-header .tg-route-info .tg-route-icon svg, .tg-route-card .tg-route-header .tg-route-info .tg-route-icon [data-lucide],
.tg-route-card .tg-route-header .tg-route-info .wa-route-icon svg,
.tg-route-card .tg-route-header .tg-route-info .wa-route-icon [data-lucide],
.tg-route-card .tg-route-header .wa-route-info .tg-route-icon svg,
.tg-route-card .tg-route-header .wa-route-info .tg-route-icon [data-lucide],
.tg-route-card .tg-route-header .wa-route-info .wa-route-icon svg,
.tg-route-card .tg-route-header .wa-route-info .wa-route-icon [data-lucide],
.tg-route-card .wa-route-header .tg-route-info .tg-route-icon svg,
.tg-route-card .wa-route-header .tg-route-info .tg-route-icon [data-lucide],
.tg-route-card .wa-route-header .tg-route-info .wa-route-icon svg,
.tg-route-card .wa-route-header .tg-route-info .wa-route-icon [data-lucide],
.tg-route-card .wa-route-header .wa-route-info .tg-route-icon svg,
.tg-route-card .wa-route-header .wa-route-info .tg-route-icon [data-lucide],
.tg-route-card .wa-route-header .wa-route-info .wa-route-icon svg,
.tg-route-card .wa-route-header .wa-route-info .wa-route-icon [data-lucide],
.wa-route-card .tg-route-header .tg-route-info .tg-route-icon svg,
.wa-route-card .tg-route-header .tg-route-info .tg-route-icon [data-lucide],
.wa-route-card .tg-route-header .tg-route-info .wa-route-icon svg,
.wa-route-card .tg-route-header .tg-route-info .wa-route-icon [data-lucide],
.wa-route-card .tg-route-header .wa-route-info .tg-route-icon svg,
.wa-route-card .tg-route-header .wa-route-info .tg-route-icon [data-lucide],
.wa-route-card .tg-route-header .wa-route-info .wa-route-icon svg,
.wa-route-card .tg-route-header .wa-route-info .wa-route-icon [data-lucide],
.wa-route-card .wa-route-header .tg-route-info .tg-route-icon svg,
.wa-route-card .wa-route-header .tg-route-info .tg-route-icon [data-lucide],
.wa-route-card .wa-route-header .tg-route-info .wa-route-icon svg,
.wa-route-card .wa-route-header .tg-route-info .wa-route-icon [data-lucide],
.wa-route-card .wa-route-header .wa-route-info .tg-route-icon svg,
.wa-route-card .wa-route-header .wa-route-info .tg-route-icon [data-lucide],
.wa-route-card .wa-route-header .wa-route-info .wa-route-icon svg,
.wa-route-card .wa-route-header .wa-route-info .wa-route-icon [data-lucide] {
  width: 18px;
  height: 18px;
}
.tg-route-card .tg-route-header .tg-route-info .wa-route-icon,
.tg-route-card .tg-route-header .wa-route-info .wa-route-icon,
.tg-route-card .wa-route-header .tg-route-info .wa-route-icon,
.tg-route-card .wa-route-header .wa-route-info .wa-route-icon,
.wa-route-card .tg-route-header .tg-route-info .wa-route-icon,
.wa-route-card .tg-route-header .wa-route-info .wa-route-icon,
.wa-route-card .wa-route-header .tg-route-info .wa-route-icon,
.wa-route-card .wa-route-header .wa-route-info .wa-route-icon {
  color: var(--teal);
}
.tg-route-card .tg-route-header .tg-route-info .tg-route-title,
.tg-route-card .tg-route-header .tg-route-info .wa-route-title,
.tg-route-card .tg-route-header .wa-route-info .tg-route-title,
.tg-route-card .tg-route-header .wa-route-info .wa-route-title,
.tg-route-card .wa-route-header .tg-route-info .tg-route-title,
.tg-route-card .wa-route-header .tg-route-info .wa-route-title,
.tg-route-card .wa-route-header .wa-route-info .tg-route-title,
.tg-route-card .wa-route-header .wa-route-info .wa-route-title,
.wa-route-card .tg-route-header .tg-route-info .tg-route-title,
.wa-route-card .tg-route-header .tg-route-info .wa-route-title,
.wa-route-card .tg-route-header .wa-route-info .tg-route-title,
.wa-route-card .tg-route-header .wa-route-info .wa-route-title,
.wa-route-card .wa-route-header .tg-route-info .tg-route-title,
.wa-route-card .wa-route-header .tg-route-info .wa-route-title,
.wa-route-card .wa-route-header .wa-route-info .tg-route-title,
.wa-route-card .wa-route-header .wa-route-info .wa-route-title {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--text-primary);
  line-height: 1.3;
}
.tg-route-card .tg-route-header .tg-route-info .tg-route-desc,
.tg-route-card .tg-route-header .tg-route-info .wa-route-desc,
.tg-route-card .tg-route-header .wa-route-info .tg-route-desc,
.tg-route-card .tg-route-header .wa-route-info .wa-route-desc,
.tg-route-card .wa-route-header .tg-route-info .tg-route-desc,
.tg-route-card .wa-route-header .tg-route-info .wa-route-desc,
.tg-route-card .wa-route-header .wa-route-info .tg-route-desc,
.tg-route-card .wa-route-header .wa-route-info .wa-route-desc,
.wa-route-card .tg-route-header .tg-route-info .tg-route-desc,
.wa-route-card .tg-route-header .tg-route-info .wa-route-desc,
.wa-route-card .tg-route-header .wa-route-info .tg-route-desc,
.wa-route-card .tg-route-header .wa-route-info .wa-route-desc,
.wa-route-card .wa-route-header .tg-route-info .tg-route-desc,
.wa-route-card .wa-route-header .tg-route-info .wa-route-desc,
.wa-route-card .wa-route-header .wa-route-info .tg-route-desc,
.wa-route-card .wa-route-header .wa-route-info .wa-route-desc {
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: 2px;
}
.tg-route-card .tg-route-controls,
.tg-route-card .wa-route-controls,
.wa-route-card .tg-route-controls,
.wa-route-card .wa-route-controls {
  display: grid;
  grid-template-columns: 1fr 1.3fr 120px;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 10px);
}
@media (max-width: 768px) {
  .tg-route-card .tg-route-controls,
  .tg-route-card .wa-route-controls,
  .wa-route-card .tg-route-controls,
  .wa-route-card .wa-route-controls {
    grid-template-columns: 1fr;
  }
}
.tg-route-card .tg-route-controls .form-label,
.tg-route-card .wa-route-controls .form-label,
.wa-route-card .tg-route-controls .form-label,
.wa-route-card .wa-route-controls .form-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 5px;
  display: block;
}
.tg-route-card .tg-route-controls .form-control,
.tg-route-card .wa-route-controls .form-control,
.wa-route-card .tg-route-controls .form-control,
.wa-route-card .wa-route-controls .form-control {
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm, 8px);
  height: 36px;
  font-size: 0.82rem;
  color: var(--text-primary);
  padding: 0 12px;
  transition: all var(--transition-fast, 0.2s);
}
.tg-route-card .tg-route-controls .form-control::placeholder,
.tg-route-card .wa-route-controls .form-control::placeholder,
.wa-route-card .tg-route-controls .form-control::placeholder,
.wa-route-card .wa-route-controls .form-control::placeholder {
  color: var(--text-muted);
  font-size: 0.78rem;
}
.tg-route-card .tg-route-controls .form-control:focus,
.tg-route-card .wa-route-controls .form-control:focus,
.wa-route-card .tg-route-controls .form-control:focus,
.wa-route-card .wa-route-controls .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
  background: var(--surface3);
  outline: none;
}

.tg-message-preview {
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 14px);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tg-message-preview .tg-msg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}
.tg-message-preview .tg-msg-header .tg-msg-botname {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}
.tg-message-preview .tg-msg-header .tg-msg-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.tg-message-preview .tg-msg-content {
  font-family: var(--font-family, inherit);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-primary);
  white-space: pre-wrap;
  word-break: break-word;
}
.tg-message-preview .tg-msg-content b, .tg-message-preview .tg-msg-content strong {
  font-weight: 750;
  color: var(--text-primary);
}
.tg-message-preview .tg-msg-content a {
  color: var(--accent);
  text-decoration: underline;
}

.wa-message-preview {
  background: var(--teal-subtle);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius-lg, 14px);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.wa-message-preview .wa-msg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--teal-border);
}
.wa-message-preview .wa-msg-header .wa-msg-sender {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 6px;
}
.wa-message-preview .wa-msg-header .wa-msg-sender i, .wa-message-preview .wa-msg-header .wa-msg-sender [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--teal);
}
.wa-message-preview .wa-msg-header .wa-msg-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--text-muted);
}
.wa-message-preview .wa-msg-header .wa-msg-meta .wa-checks {
  color: var(--teal);
  display: flex;
  align-items: center;
}
.wa-message-preview .wa-msg-header .wa-msg-meta .wa-checks i, .wa-message-preview .wa-msg-header .wa-msg-meta .wa-checks [data-lucide] {
  width: 14px;
  height: 14px;
}
.wa-message-preview .wa-msg-content {
  font-family: var(--font-family, inherit);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-primary);
  white-space: pre-wrap;
  word-break: break-word;
}
.wa-message-preview .wa-msg-content b, .wa-message-preview .wa-msg-content strong {
  font-weight: 750;
  color: var(--text-primary);
}
.wa-message-preview .wa-msg-content i, .wa-message-preview .wa-msg-content em {
  font-style: italic;
  color: var(--text-secondary);
}

.tg-save-action-bar,
.wa-save-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-xs);
  margin-top: 8px;
}

.complete-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  max-width: 580px;
  margin: 0 auto;
}
.complete-screen .complete-icon {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: var(--success-subtle);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px var(--success-border);
}
.complete-screen .complete-icon svg, .complete-screen .complete-icon i, .complete-screen .complete-icon [data-lucide] {
  width: 40px;
  height: 40px;
}
.complete-screen .complete-title {
  font-size: 1.55rem;
  font-weight: 850;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}
.complete-screen .complete-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}
.complete-screen .complete-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 380px;
}
.complete-screen .complete-actions .btn {
  width: 100%;
  justify-content: center;
}

.dropdown, .dropdown-container, .custom-select-dropdown-container {
  position: relative;
  display: inline-block;
}
.dropdown.is-open, .dropdown:has(.is-open), .dropdown:has(.btn-custom-select.is-open), .dropdown:has(.dropdown__menu.is-open), .dropdown:has(.dropdown-menu.show), .dropdown-container.is-open, .dropdown-container:has(.is-open), .dropdown-container:has(.btn-custom-select.is-open), .dropdown-container:has(.dropdown__menu.is-open), .dropdown-container:has(.dropdown-menu.show), .custom-select-dropdown-container.is-open, .custom-select-dropdown-container:has(.is-open), .custom-select-dropdown-container:has(.btn-custom-select.is-open), .custom-select-dropdown-container:has(.dropdown__menu.is-open), .custom-select-dropdown-container:has(.dropdown-menu.show) {
  z-index: 1050;
}
.dropdown--block, .dropdown.w-100, .dropdown-container--block, .dropdown-container.w-100, .custom-select-dropdown-container--block, .custom-select-dropdown-container.w-100 {
  display: block;
  width: 100%;
}

.dropdown__trigger, .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2, 8px);
  cursor: pointer;
  user-select: none;
}
.dropdown__trigger .dropdown__chevron, .dropdown__trigger .chevron-icon, .dropdown-toggle .dropdown__chevron, .dropdown-toggle .chevron-icon {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.dropdown.is-open .dropdown__chevron,
.dropdown.open .dropdown__chevron {
  transform: rotate(180deg);
}

.dropdown__menu, .dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  z-index: var(--z-dropdown, 900);
  min-width: 190px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md, 10px);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: var(--transition-fast);
  pointer-events: none;
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dropdown.is-open .dropdown__menu, .dropdown.open .dropdown__menu, .dropdown__menu.is-open, .dropdown__menu.show, .dropdown__menu.open, .dropdown.is-open .dropdown-menu, .dropdown.open .dropdown-menu, .dropdown-menu.is-open, .dropdown-menu.show, .dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown__menu--end, .dropdown__menu-end, .dropdown-menu--end, .dropdown-menu-end {
  inset-inline-start: auto;
  inset-inline-end: 0;
}
.dropdown__menu--full, .dropdown__menu.w-100, .dropdown-menu--full, .dropdown-menu.w-100 {
  width: 100%;
}

.dropdown__item, .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  font-size: var(--text-sm, 0.85rem);
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-sm, 6px);
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: start;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}
.dropdown__item svg, .dropdown__item i, .dropdown__item [data-lucide], .dropdown-item svg, .dropdown-item i, .dropdown-item [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.dropdown__item:hover:not(:disabled), .dropdown-item:hover:not(:disabled) {
  background: var(--surface2);
  color: var(--text-primary);
}
.dropdown__item:hover:not(:disabled) svg, .dropdown__item:hover:not(:disabled) i, .dropdown__item:hover:not(:disabled) [data-lucide], .dropdown-item:hover:not(:disabled) svg, .dropdown-item:hover:not(:disabled) i, .dropdown-item:hover:not(:disabled) [data-lucide] {
  color: var(--text-primary);
}
.dropdown__item--active, .dropdown__item.active, .dropdown__item.is-active, .dropdown-item--active, .dropdown-item.active, .dropdown-item.is-active {
  background: var(--accent-glow);
  color: var(--accent);
  font-weight: 700;
}
.dropdown__item--danger, .dropdown__item.text-danger, .dropdown__item.dropdown-item-danger, .dropdown-item--danger, .dropdown-item.text-danger, .dropdown-item.dropdown-item-danger {
  color: var(--danger);
}
.dropdown__item--danger svg, .dropdown__item--danger i, .dropdown__item--danger [data-lucide], .dropdown__item.text-danger svg, .dropdown__item.text-danger i, .dropdown__item.text-danger [data-lucide], .dropdown__item.dropdown-item-danger svg, .dropdown__item.dropdown-item-danger i, .dropdown__item.dropdown-item-danger [data-lucide], .dropdown-item--danger svg, .dropdown-item--danger i, .dropdown-item--danger [data-lucide], .dropdown-item.text-danger svg, .dropdown-item.text-danger i, .dropdown-item.text-danger [data-lucide], .dropdown-item.dropdown-item-danger svg, .dropdown-item.dropdown-item-danger i, .dropdown-item.dropdown-item-danger [data-lucide] {
  color: var(--danger);
}
.dropdown__item--danger:hover:not(:disabled), .dropdown__item.text-danger:hover:not(:disabled), .dropdown__item.dropdown-item-danger:hover:not(:disabled), .dropdown-item--danger:hover:not(:disabled), .dropdown-item.text-danger:hover:not(:disabled), .dropdown-item.dropdown-item-danger:hover:not(:disabled) {
  background: var(--danger-subtle);
  color: var(--danger);
}
.dropdown__item:disabled, .dropdown__item.disabled, .dropdown-item:disabled, .dropdown-item.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.dropdown__divider, .dropdown-divider {
  height: 1px;
  margin: 6px 0;
  background: var(--border-subtle);
  border: none;
}

.dropdown__header, .dropdown-header {
  padding: 6px 12px;
  font-size: var(--text-2xs, 0.72rem);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cs-wrap {
  position: relative;
  width: 100%;
}
.cs-wrap--inline, .cs-wrap--templates {
  width: auto;
  display: inline-flex;
}
.cs-wrap .composer-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm, 6px);
  cursor: pointer;
  user-select: none;
  transition: var(--transition-fast);
}
.cs-wrap .composer-select-trigger:hover, .cs-wrap .composer-select-trigger.open {
  border-color: var(--accent);
}
.cs-wrap .composer-select-trigger .lang-select-flag {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
  display: inline-block;
}
.cs-wrap .cs-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  inset-inline-start: 0;
  inset-inline-end: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md, 10px);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  max-height: 280px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cs-wrap .cs-dropdown .cs-search-box {
  padding: 8px;
  border-bottom: 1px solid var(--border-subtle);
}
.cs-wrap .cs-dropdown .cs-search-input, .cs-wrap .cs-dropdown .cs-search {
  width: 100%;
  height: 32px;
  padding: 4px 10px;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs, 4px);
  font-size: var(--text-xs, 0.78rem);
  color: var(--text-primary);
  outline: none;
}
.cs-wrap .cs-dropdown .cs-quick-add {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface2);
}
.cs-wrap .cs-dropdown .cs-quick-input {
  flex: 1;
  height: 30px;
  padding: 2px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs, 4px);
  font-size: var(--text-xs, 0.76rem);
  color: var(--text-primary);
  outline: none;
}
.cs-wrap .cs-dropdown .cs-list {
  overflow-y: auto;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cs-wrap .cs-dropdown .cs-opt, .cs-wrap .cs-dropdown .cs-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: var(--radius-xs, 4px);
  cursor: pointer;
  font-size: var(--text-sm, 0.84rem);
  transition: var(--transition-fast);
}
.cs-wrap .cs-dropdown .cs-opt:hover, .cs-wrap .cs-dropdown .cs-option:hover {
  background: var(--surface2);
}
.cs-wrap .cs-dropdown .cs-opt.active, .cs-wrap .cs-dropdown .cs-opt.selected, .cs-wrap .cs-dropdown .cs-option.active, .cs-wrap .cs-dropdown .cs-option.selected {
  background: var(--accent-glow);
  color: var(--accent);
  font-weight: 700;
}
.cs-wrap .cs-dropdown .cs-opt .cs-opt-ic, .cs-wrap .cs-dropdown .cs-opt .cs-option-icon, .cs-wrap .cs-dropdown .cs-option .cs-opt-ic, .cs-wrap .cs-dropdown .cs-option .cs-option-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
}
.cs-wrap .cs-dropdown .cs-opt .cs-opt-txt, .cs-wrap .cs-dropdown .cs-opt .cs-option-text, .cs-wrap .cs-dropdown .cs-option .cs-opt-txt, .cs-wrap .cs-dropdown .cs-option .cs-option-text {
  flex: 1;
  min-width: 0;
}
.cs-wrap .cs-dropdown .cs-opt .cs-opt-sub, .cs-wrap .cs-dropdown .cs-opt .cs-option-sub, .cs-wrap .cs-dropdown .cs-option .cs-opt-sub, .cs-wrap .cs-dropdown .cs-option .cs-option-sub {
  font-size: var(--text-2xs, 0.72rem);
  color: var(--text-muted);
}
.cs-wrap .cs-dropdown--templates {
  width: 340px;
  max-width: calc(100vw - 32px);
  inset-inline-start: auto;
  inset-inline-end: 0;
  max-height: 400px;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--border-medium);
  background: var(--surface);
  box-shadow: var(--shadow-xl);
  z-index: 1200;
  animation: dropdownFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.cs-wrap .cs-dropdown--templates .templates-dropdown-header {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface2);
}
.cs-wrap .cs-dropdown--templates .templates-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.cs-wrap .cs-dropdown--templates .templates-search-wrap .templates-search-icon {
  position: absolute;
  inset-inline-start: 10px;
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  pointer-events: none;
}
.cs-wrap .cs-dropdown--templates .templates-search-wrap .templates-search-input {
  width: 100%;
  height: 36px;
  padding-inline-start: 34px;
  padding-inline-end: 12px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 10px);
  font-size: var(--text-xs, 0.82rem);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast);
}
.cs-wrap .cs-dropdown--templates .templates-search-wrap .templates-search-input:focus {
  border-color: var(--accent);
}
.cs-wrap .cs-dropdown--templates .templates-dropdown-list {
  overflow-y: auto;
  max-height: 320px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-medium) transparent;
}
.cs-wrap .cs-dropdown--templates .templates-dropdown-list::-webkit-scrollbar {
  width: 5px;
}
.cs-wrap .cs-dropdown--templates .templates-dropdown-list::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 4px;
}
.cs-wrap .cs-dropdown--templates .template-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: var(--radius-md, 10px);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.cs-wrap .cs-dropdown--templates .template-item:hover {
  background: var(--surface2);
}
.cs-wrap .cs-dropdown--templates .template-item:hover .template-item-icon {
  background: var(--accent-subtle);
  color: var(--accent);
}
.cs-wrap .cs-dropdown--templates .template-item:hover .template-item-badge {
  background: var(--accent);
  color: var(--text-white);
}
.cs-wrap .cs-dropdown--templates .template-item .template-item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm, 8px);
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}
.cs-wrap .cs-dropdown--templates .template-item .template-item-icon svg, .cs-wrap .cs-dropdown--templates .template-item .template-item-icon [data-lucide] {
  width: 18px;
  height: 18px;
}
.cs-wrap .cs-dropdown--templates .template-item .template-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cs-wrap .cs-dropdown--templates .template-item .template-item-title {
  font-size: var(--text-sm, 0.88rem);
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cs-wrap .cs-dropdown--templates .template-item .template-item-sub {
  font-size: var(--text-2xs, 0.72rem);
  color: var(--text-muted);
  white-space: nowrap;
}
.cs-wrap .cs-dropdown--templates .template-item .template-item-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-2xs, 0.72rem);
  font-weight: 600;
  color: var(--accent);
  padding: 4px 8px;
  border-radius: var(--radius-xs, 6px);
  background: var(--accent-subtle);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}
.cs-wrap .cs-dropdown--templates .template-item .template-item-badge svg, .cs-wrap .cs-dropdown--templates .template-item .template-item-badge [data-lucide] {
  width: 12px;
  height: 12px;
}
.cs-wrap .cs-dropdown--templates .templates-empty-state {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: var(--text-xs, 0.8rem);
  text-align: center;
}
.cs-wrap .cs-dropdown--templates .templates-empty-state svg, .cs-wrap .cs-dropdown--templates .templates-empty-state [data-lucide] {
  width: 24px;
  height: 24px;
  opacity: 0.6;
}

.status-filter-dropdown-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.status-dropdown-menu-card, .custom-dropdown-menu-card {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  min-width: 250px;
  width: 100%;
  max-width: 340px;
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg, 14px);
  padding: 8px;
  box-shadow: var(--shadow-xl);
  z-index: 1500;
}
.status-dropdown-menu-card .status-dd-header, .status-dropdown-menu-card .cs-dd-header, .custom-dropdown-menu-card .status-dd-header, .custom-dropdown-menu-card .cs-dd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.status-dropdown-menu-card .status-dd-header .status-dd-title, .status-dropdown-menu-card .status-dd-header .cs-dd-title, .status-dropdown-menu-card .cs-dd-header .status-dd-title, .status-dropdown-menu-card .cs-dd-header .cs-dd-title, .custom-dropdown-menu-card .status-dd-header .status-dd-title, .custom-dropdown-menu-card .status-dd-header .cs-dd-title, .custom-dropdown-menu-card .cs-dd-header .status-dd-title, .custom-dropdown-menu-card .cs-dd-header .cs-dd-title {
  font-size: 0.75rem;
  font-weight: 750;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.status-dropdown-menu-card .status-dd-header .status-dd-badge, .status-dropdown-menu-card .status-dd-header .cs-dd-badge, .status-dropdown-menu-card .cs-dd-header .status-dd-badge, .status-dropdown-menu-card .cs-dd-header .cs-dd-badge, .custom-dropdown-menu-card .status-dd-header .status-dd-badge, .custom-dropdown-menu-card .status-dd-header .cs-dd-badge, .custom-dropdown-menu-card .cs-dd-header .status-dd-badge, .custom-dropdown-menu-card .cs-dd-header .cs-dd-badge {
  font-size: 0.72rem;
  font-weight: 750;
  color: var(--text-primary);
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: var(--radius-full, 9999px);
}
.status-dropdown-menu-card .cs-search-wrap, .custom-dropdown-menu-card .cs-search-wrap {
  padding: 4px 6px 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
  flex-shrink: 0;
}
.status-dropdown-menu-card .cs-search-wrap .cs-search, .custom-dropdown-menu-card .cs-search-wrap .cs-search {
  width: 100%;
  padding: 6px 10px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm, 6px);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.15s ease;
}
.status-dropdown-menu-card .cs-search-wrap .cs-search:focus, .custom-dropdown-menu-card .cs-search-wrap .cs-search:focus {
  border-color: var(--accent);
}
.status-dropdown-menu-card .status-dd-list, .status-dropdown-menu-card .cs-dd-list, .custom-dropdown-menu-card .status-dd-list, .custom-dropdown-menu-card .cs-dd-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-height: 230px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--border2) transparent;
}
.status-dropdown-menu-card .status-dd-list::-webkit-scrollbar, .status-dropdown-menu-card .cs-dd-list::-webkit-scrollbar, .custom-dropdown-menu-card .status-dd-list::-webkit-scrollbar, .custom-dropdown-menu-card .cs-dd-list::-webkit-scrollbar {
  width: 5px;
}
.status-dropdown-menu-card .status-dd-list::-webkit-scrollbar-thumb, .status-dropdown-menu-card .cs-dd-list::-webkit-scrollbar-thumb, .custom-dropdown-menu-card .status-dd-list::-webkit-scrollbar-thumb, .custom-dropdown-menu-card .cs-dd-list::-webkit-scrollbar-thumb {
  background: var(--border2);
  border-radius: 4px;
}
.status-dropdown-menu-card .status-dd-item, .status-dropdown-menu-card .cs-dd-item, .custom-dropdown-menu-card .status-dd-item, .custom-dropdown-menu-card .cs-dd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  border: none;
  background: transparent;
  border-radius: var(--radius-md, 8px);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: start;
  transition: all 0.15s ease;
  position: relative;
}
.status-dropdown-menu-card .status-dd-item:hover, .status-dropdown-menu-card .cs-dd-item:hover, .custom-dropdown-menu-card .status-dd-item:hover, .custom-dropdown-menu-card .cs-dd-item:hover {
  background: var(--surface3);
  color: var(--text-primary);
}
.status-dropdown-menu-card .status-dd-item.is-active, .status-dropdown-menu-card .cs-dd-item.is-active, .custom-dropdown-menu-card .status-dd-item.is-active, .custom-dropdown-menu-card .cs-dd-item.is-active {
  background: var(--surface3);
  color: var(--text-primary);
  font-weight: 800;
  border-inline-start: 3.5px solid var(--accent);
}
.status-dropdown-menu-card .status-dd-item .status-dd-item-info, .status-dropdown-menu-card .status-dd-item .cs-dd-item-info, .status-dropdown-menu-card .cs-dd-item .status-dd-item-info, .status-dropdown-menu-card .cs-dd-item .cs-dd-item-info, .custom-dropdown-menu-card .status-dd-item .status-dd-item-info, .custom-dropdown-menu-card .status-dd-item .cs-dd-item-info, .custom-dropdown-menu-card .cs-dd-item .status-dd-item-info, .custom-dropdown-menu-card .cs-dd-item .cs-dd-item-info {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1;
}
.status-dropdown-menu-card .status-dd-item .status-dd-item-info img, .status-dropdown-menu-card .status-dd-item .status-dd-item-info .cs-dd-thumb, .status-dropdown-menu-card .status-dd-item .status-dd-item-info .sku-img-preview, .status-dropdown-menu-card .status-dd-item .cs-dd-item-info img, .status-dropdown-menu-card .status-dd-item .cs-dd-item-info .cs-dd-thumb, .status-dropdown-menu-card .status-dd-item .cs-dd-item-info .sku-img-preview, .status-dropdown-menu-card .cs-dd-item .status-dd-item-info img, .status-dropdown-menu-card .cs-dd-item .status-dd-item-info .cs-dd-thumb, .status-dropdown-menu-card .cs-dd-item .status-dd-item-info .sku-img-preview, .status-dropdown-menu-card .cs-dd-item .cs-dd-item-info img, .status-dropdown-menu-card .cs-dd-item .cs-dd-item-info .cs-dd-thumb, .status-dropdown-menu-card .cs-dd-item .cs-dd-item-info .sku-img-preview, .custom-dropdown-menu-card .status-dd-item .status-dd-item-info img, .custom-dropdown-menu-card .status-dd-item .status-dd-item-info .cs-dd-thumb, .custom-dropdown-menu-card .status-dd-item .status-dd-item-info .sku-img-preview, .custom-dropdown-menu-card .status-dd-item .cs-dd-item-info img, .custom-dropdown-menu-card .status-dd-item .cs-dd-item-info .cs-dd-thumb, .custom-dropdown-menu-card .status-dd-item .cs-dd-item-info .sku-img-preview, .custom-dropdown-menu-card .cs-dd-item .status-dd-item-info img, .custom-dropdown-menu-card .cs-dd-item .status-dd-item-info .cs-dd-thumb, .custom-dropdown-menu-card .cs-dd-item .status-dd-item-info .sku-img-preview, .custom-dropdown-menu-card .cs-dd-item .cs-dd-item-info img, .custom-dropdown-menu-card .cs-dd-item .cs-dd-item-info .cs-dd-thumb, .custom-dropdown-menu-card .cs-dd-item .cs-dd-item-info .sku-img-preview {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  max-width: 30px;
  max-height: 30px;
  border-radius: var(--radius-sm, 6px);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
}
.status-dropdown-menu-card .status-dd-item.camo-prod-row, .status-dropdown-menu-card .cs-dd-item.camo-prod-row, .custom-dropdown-menu-card .status-dd-item.camo-prod-row, .custom-dropdown-menu-card .cs-dd-item.camo-prod-row {
  padding: 6px 10px;
  min-height: 38px;
  gap: 8px;
}
.status-dropdown-menu-card .status-dd-item.camo-prod-row .camo-prod-row__info, .status-dropdown-menu-card .cs-dd-item.camo-prod-row .camo-prod-row__info, .custom-dropdown-menu-card .status-dd-item.camo-prod-row .camo-prod-row__info, .custom-dropdown-menu-card .cs-dd-item.camo-prod-row .camo-prod-row__info {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1;
}
.status-dropdown-menu-card .status-dd-item.camo-prod-row .camo-prod-row__info .camo-prod-thumb, .status-dropdown-menu-card .cs-dd-item.camo-prod-row .camo-prod-row__info .camo-prod-thumb, .custom-dropdown-menu-card .status-dd-item.camo-prod-row .camo-prod-row__info .camo-prod-thumb, .custom-dropdown-menu-card .cs-dd-item.camo-prod-row .camo-prod-row__info .camo-prod-thumb {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  max-width: 28px;
  max-height: 28px;
  border-radius: var(--radius-sm, 6px);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
}
.status-dropdown-menu-card .status-dd-item.camo-prod-row .camo-prod-row__info .camo-prod-meta, .status-dropdown-menu-card .cs-dd-item.camo-prod-row .camo-prod-row__info .camo-prod-meta, .custom-dropdown-menu-card .status-dd-item.camo-prod-row .camo-prod-row__info .camo-prod-meta, .custom-dropdown-menu-card .cs-dd-item.camo-prod-row .camo-prod-row__info .camo-prod-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}
.status-dropdown-menu-card .status-dd-item.camo-prod-row .camo-prod-row__info .camo-prod-meta .camo-prod-name, .status-dropdown-menu-card .cs-dd-item.camo-prod-row .camo-prod-row__info .camo-prod-meta .camo-prod-name, .custom-dropdown-menu-card .status-dd-item.camo-prod-row .camo-prod-row__info .camo-prod-meta .camo-prod-name, .custom-dropdown-menu-card .cs-dd-item.camo-prod-row .camo-prod-row__info .camo-prod-meta .camo-prod-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.status-dropdown-menu-card .status-dd-item.camo-prod-row .camo-prod-row__info .camo-prod-meta .camo-prod-price, .status-dropdown-menu-card .cs-dd-item.camo-prod-row .camo-prod-row__info .camo-prod-meta .camo-prod-price, .custom-dropdown-menu-card .status-dd-item.camo-prod-row .camo-prod-row__info .camo-prod-meta .camo-prod-price, .custom-dropdown-menu-card .cs-dd-item.camo-prod-row .camo-prod-row__info .camo-prod-meta .camo-prod-price {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}
.status-dropdown-menu-card .status-dd-item .cs-dd-icon, .status-dropdown-menu-card .cs-dd-item .cs-dd-icon, .custom-dropdown-menu-card .status-dd-item .cs-dd-icon, .custom-dropdown-menu-card .cs-dd-item .cs-dd-icon {
  width: 16px;
  height: 16px;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.status-dropdown-menu-card .status-dd-item .status-dd-item-text, .status-dropdown-menu-card .cs-dd-item .status-dd-item-text, .custom-dropdown-menu-card .status-dd-item .status-dd-item-text, .custom-dropdown-menu-card .cs-dd-item .status-dd-item-text {
  font-size: 0.85rem;
}
.status-dropdown-menu-card .status-dd-item .status-dd-check, .status-dropdown-menu-card .status-dd-item .cs-dd-check, .status-dropdown-menu-card .cs-dd-item .status-dd-check, .status-dropdown-menu-card .cs-dd-item .cs-dd-check, .custom-dropdown-menu-card .status-dd-item .status-dd-check, .custom-dropdown-menu-card .status-dd-item .cs-dd-check, .custom-dropdown-menu-card .cs-dd-item .status-dd-check, .custom-dropdown-menu-card .cs-dd-item .cs-dd-check {
  width: 17px;
  height: 17px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.status-dropdown-menu-card .status-dd-item.status-dd-item--danger, .status-dropdown-menu-card .cs-dd-item.status-dd-item--danger, .custom-dropdown-menu-card .status-dd-item.status-dd-item--danger, .custom-dropdown-menu-card .cs-dd-item.status-dd-item--danger {
  color: var(--danger);
}
.status-dropdown-menu-card .status-dd-item.status-dd-item--danger:hover, .status-dropdown-menu-card .cs-dd-item.status-dd-item--danger:hover, .custom-dropdown-menu-card .status-dd-item.status-dd-item--danger:hover, .custom-dropdown-menu-card .cs-dd-item.status-dd-item--danger:hover {
  background: var(--danger-subtle);
  color: var(--danger);
}

.camo-selected-card {
  padding: 10px 14px;
  min-height: 52px;
  background: var(--surface2);
  border: 1px dashed var(--accent-glow) !important;
  border-radius: var(--radius-md, 10px);
}
.camo-selected-card .camo-selected-thumb {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  max-width: 36px;
  max-height: 36px;
  border-radius: var(--radius-sm, 8px);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
}
.camo-selected-card .camo-selected-thumb-placeholder {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: var(--radius-sm, 8px);
  background: var(--surface2);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.camo-selected-card .camo-selected-thumb-placeholder i, .camo-selected-card .camo-selected-thumb-placeholder svg, .camo-selected-card .camo-selected-thumb-placeholder [data-lucide] {
  width: 18px;
  height: 18px;
}

.camo-prod-thumb,
.camo-selected-thumb,
.prod-mini-thumb {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  max-width: 36px;
  max-height: 36px;
  border-radius: var(--radius-sm, 8px);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  display: inline-block;
  vertical-align: middle;
}

.ab-selected-prod-row {
  background: var(--surface2);
  border: none !important;
  border-radius: var(--radius-md, 12px);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ab-selected-prod-row:hover {
  background: var(--surface3, var(--surface2));
  box-shadow: var(--shadow-sm);
}
.ab-selected-prod-row .ab-prod-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.ab-selected-prod-row .ab-prod-info .camo-prod-thumb {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  border-radius: var(--radius-sm, 8px);
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  flex-shrink: 0;
}
.ab-selected-prod-row .ab-prod-info .ab-prod-meta {
  min-width: 0;
  overflow: hidden;
}
.ab-selected-prod-row .ab-prod-info .ab-prod-meta .ab-prod-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ab-selected-prod-row .ab-prod-info .ab-prod-meta .ab-prod-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.ab-selected-prod-row .ab-traffic-control {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ab-selected-prod-row .ab-traffic-control .traffic-input-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ab-selected-prod-row .ab-traffic-control .traffic-input-wrap input {
  width: 64px;
  text-align: center;
  font-weight: 700;
}

.custom-select-dropdown-container.is-dropup,
.order-preview-drawer .custom-select-dropdown-container,
.drawer--sheet .custom-select-dropdown-container {
  position: relative;
  width: 100%;
}
.custom-select-dropdown-container.is-dropup .custom-dropdown-menu-card,
.order-preview-drawer .custom-select-dropdown-container .custom-dropdown-menu-card,
.drawer--sheet .custom-select-dropdown-container .custom-dropdown-menu-card {
  top: auto !important;
  bottom: calc(100% + 8px) !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  box-shadow: var(--shadow-drawer) !important;
}

.custom-select-dropdown-container.w-100 .custom-dropdown-menu-card,
.form-group .custom-select-dropdown-container .custom-dropdown-menu-card,
.input-wrap .custom-select-dropdown-container .custom-dropdown-menu-card,
.dynamic-field-wrapper .custom-select-dropdown-container .custom-dropdown-menu-card {
  max-width: 100%;
  min-width: 100%;
  width: 100%;
  z-index: 1550;
}

.custom-select-dropdown-container.is-dropup .dd-anim-enter-from,
.custom-select-dropdown-container.is-dropup .dd-anim-leave-to,
.order-preview-drawer .custom-select-dropdown-container .dd-anim-enter-from,
.order-preview-drawer .custom-select-dropdown-container .dd-anim-leave-to,
.drawer--sheet .custom-select-dropdown-container .dd-anim-enter-from,
.drawer--sheet .custom-select-dropdown-container .dd-anim-leave-to {
  opacity: 0 !important;
  transform: translateY(8px) scale(0.97) !important;
}

.feed-app-gate-card {
  padding: 16px;
  background: var(--surface2);
  border-radius: var(--radius-xl, 18px);
  margin: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.feed-app-gate-card .gate-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md, 12px);
  background: var(--warning-subtle);
  color: var(--warning);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feed-app-gate-card .gate-icon svg, .feed-app-gate-card .gate-icon [data-lucide] {
  width: 22px;
  height: 22px;
}
.feed-app-gate-card .gate-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}
.feed-app-gate-card .gate-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.dd-anim-enter-active,
.dd-anim-leave-active {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dd-anim-enter-from,
.dd-anim-leave-to {
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
}

.filter-mode-picker {
  min-width: 220px;
}
.filter-mode-picker .custom-picker-trigger {
  min-height: 38px;
  padding: 6px 12px;
  font-size: 0.82rem;
}

.custom-picker-dropdown {
  position: relative;
  width: 100%;
}
.custom-picker-dropdown .custom-picker-trigger {
  width: 100%;
  min-height: 42px;
  padding: 8px 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 10px);
  color: var(--text);
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  text-align: start;
  transition: all 0.2s ease;
}
.custom-picker-dropdown .custom-picker-trigger:hover, .custom-picker-dropdown .custom-picker-trigger:focus {
  border-color: var(--accent);
  background: var(--surface3);
}
.custom-picker-dropdown .custom-picker-trigger .picker-arrow {
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.custom-picker-dropdown .custom-picker-trigger .selected-product-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.custom-picker-dropdown .custom-picker-trigger .selected-product-preview .prefilled-thumb {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--surface);
  flex-shrink: 0;
}
.custom-picker-dropdown .custom-picker-trigger .selected-product-preview .selected-product-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.custom-picker-dropdown.is-open .picker-arrow {
  transform: rotate(180deg);
}
.custom-picker-dropdown .custom-picker-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline: 0;
  z-index: 100;
  background: var(--surface2);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow-lg);
  max-height: 240px;
  overflow-y: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: fadeIn 0.18s ease;
}
.custom-picker-dropdown .custom-picker-menu .picker-item {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.84rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.15s ease;
}
.custom-picker-dropdown .custom-picker-menu .picker-item:hover {
  background: var(--surface3);
  color: var(--text-primary);
}
.custom-picker-dropdown .custom-picker-menu .picker-item.selected {
  background: var(--accent-subtle);
  color: var(--accent);
  font-weight: 700;
}
.custom-picker-dropdown .custom-picker-menu .product-picker-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.custom-picker-dropdown .custom-picker-menu .product-picker-item .picker-item-thumb {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--surface);
  flex-shrink: 0;
}
.custom-picker-dropdown .custom-picker-menu .product-picker-item .picker-item-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.custom-picker-dropdown .custom-picker-menu .product-picker-item .picker-item-details .pip-name {
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.custom-picker-dropdown .custom-picker-menu .product-picker-item .picker-item-details .pip-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.btn-custom-select {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 40px;
  width: auto;
  padding: 0 14px;
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md, 10px);
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast, all 0.2s cubic-bezier(0.16, 1, 0.3, 1));
  box-shadow: var(--shadow-xs);
  user-select: none;
  white-space: nowrap;
}
.btn-custom-select * {
  pointer-events: none;
}
.btn-custom-select:hover {
  background: var(--surface3);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-custom-select.is-open {
  background: var(--surface3);
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
}
.btn-custom-select.is-open .btn-cs-arrow {
  transform: rotate(180deg);
}
.btn-custom-select .btn-cs-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.btn-custom-select .btn-cs-icon {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn-custom-select .btn-cs-icon svg, .btn-custom-select .btn-cs-icon [data-lucide] {
  width: 18px;
  height: 18px;
}
.btn-custom-select .btn-cs-label {
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
  color: var(--text-primary);
}
.btn-custom-select .btn-cs-arrow {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.btn-custom-select .btn-cs-arrow svg, .btn-custom-select .btn-cs-arrow [data-lucide] {
  width: 16px;
  height: 16px;
}
.btn-custom-select--sm {
  height: 36px;
  padding: 0 12px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm, 8px);
}
.btn-custom-select--sm .btn-cs-icon {
  width: 15px;
  height: 15px;
}
.btn-custom-select--sm .btn-cs-icon svg, .btn-custom-select--sm .btn-cs-icon [data-lucide] {
  width: 15px;
  height: 15px;
}
.btn-custom-select--sm .btn-cs-arrow {
  width: 14px;
  height: 14px;
}
.btn-custom-select--xs {
  height: 30px;
  padding: 0 8px;
  font-size: 0.75rem;
  border-radius: var(--radius-xs, 6px);
}
.btn-custom-select--xs .btn-cs-icon {
  width: 13px;
  height: 13px;
}
.btn-custom-select--xs .btn-cs-icon svg, .btn-custom-select--xs .btn-cs-icon [data-lucide] {
  width: 13px;
  height: 13px;
}
.btn-custom-select--xs .btn-cs-arrow {
  width: 12px;
  height: 12px;
}
.btn-custom-select.is-disabled, .btn-custom-select[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  background: var(--surface2);
}

.cs-wrapper {
  position: relative;
  width: 100%;
}

.cs-trigger {
  width: 100%;
  padding: 10px 16px;
  background: var(--input-bg, var(--surface2));
  border: 1.5px solid var(--border2, var(--border-medium));
  border-radius: var(--radius-sm, 8px);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: var(--transition-fast, all 0.2s);
}
.cs-trigger:hover, .cs-trigger.open {
  border-color: var(--accent);
}
.cs-trigger.open {
  border-radius: var(--radius-sm, 8px) var(--radius-sm, 8px) 0 0;
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.cs-trigger .cs-trigger-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.cs-trigger .cs-trigger-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cs-trigger .cs-arrow {
  transition: transform 0.25s;
  color: var(--text-muted);
  flex-shrink: 0;
}
.cs-trigger.open .cs-arrow {
  transform: rotate(180deg);
}

.cs-dropdown {
  position: absolute;
  top: calc(100% - 1px);
  inset-inline-start: 0;
  inset-inline-end: 0;
  background: var(--surface, var(--bg-card));
  border: 1.5px solid var(--accent);
  border-top: none;
  border-radius: 0 0 var(--radius-sm, 8px) var(--radius-sm, 8px);
  box-shadow: var(--shadow-lg);
  z-index: 500;
  overflow: hidden;
  max-height: 320px;
  display: flex;
  flex-direction: column;
}
.cs-dropdown .cs-search-wrap {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cs-dropdown .cs-search {
  width: 100%;
  padding: 8px 12px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
}
.cs-dropdown .cs-search:focus {
  border-color: var(--accent);
}
.cs-dropdown .cs-list {
  overflow-y: auto;
  max-height: 230px;
}
.cs-dropdown .cs-option {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s;
  color: var(--text);
}
.cs-dropdown .cs-option:hover {
  background: var(--surface2);
}
.cs-dropdown .cs-option.selected {
  background: var(--accent-subtle);
  color: var(--accent);
  font-weight: 700;
}
.cs-dropdown .cs-option .cs-option-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cs-dropdown .cs-option .cs-option-text {
  flex: 1;
}
.cs-dropdown .cs-option .cs-option-sub {
  font-size: 0.76rem;
  color: var(--muted);
}

.custom-picker-dropdown {
  position: relative;
  display: inline-block;
}
.custom-picker-dropdown .custom-picker-trigger {
  height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  width: 100%;
  transition: all var(--transition-fast);
  user-select: none;
}
.custom-picker-dropdown .custom-picker-trigger:hover {
  background: var(--surface3);
  border-color: var(--border-medium);
}
.custom-picker-dropdown .custom-picker-trigger .picker-arrow {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}
.custom-picker-dropdown.is-open .custom-picker-trigger .picker-arrow {
  transform: rotate(180deg);
}
.custom-picker-dropdown .custom-picker-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  z-index: 1050;
  min-width: 220px;
  max-width: 320px;
  max-height: 280px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  backdrop-filter: blur(16px);
}
.custom-picker-dropdown .custom-picker-menu .picker-item {
  padding: 8px 12px;
  border-radius: var(--radius-sm, 8px);
  font-size: 0.84rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.custom-picker-dropdown .custom-picker-menu .picker-item:hover {
  background: var(--surface2);
  color: var(--text-primary);
}
.custom-picker-dropdown .custom-picker-menu .picker-item.selected {
  background: var(--surface3);
  color: var(--accent);
  font-weight: 700;
}
.custom-picker-dropdown .custom-picker-menu.product-menu-scroll {
  min-width: 280px;
  max-height: 320px;
}
.custom-picker-dropdown .custom-picker-menu.product-menu-scroll .product-picker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
}
.custom-picker-dropdown .custom-picker-menu.product-menu-scroll .product-picker-item .picker-item-thumb {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--surface2);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.custom-picker-dropdown .custom-picker-menu.product-menu-scroll .product-picker-item .picker-item-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.custom-picker-dropdown .custom-picker-menu.product-menu-scroll .product-picker-item .picker-item-details .pip-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.custom-picker-dropdown .custom-picker-menu.product-menu-scroll .product-picker-item .picker-item-details .pip-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.tabs {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.tabs__nav, .nav-tabs, .tab-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--border-medium);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tabs__nav::-webkit-scrollbar, .nav-tabs::-webkit-scrollbar, .tab-nav::-webkit-scrollbar {
  display: none;
}

.tabs__item, .tab-btn, .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: var(--text-sm, 0.86rem);
  font-weight: 600;
  color: var(--text-secondary);
  border: none;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-fast);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  user-select: none;
}
.tabs__item svg, .tabs__item i, .tabs__item [data-lucide], .tab-btn svg, .tab-btn i, .tab-btn [data-lucide], .nav-link svg, .nav-link i, .nav-link [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.tabs__item:hover:not(:disabled), .tab-btn:hover:not(:disabled), .nav-link:hover:not(:disabled) {
  color: var(--text-primary);
}
.tabs__item:hover:not(:disabled) svg, .tabs__item:hover:not(:disabled) i, .tabs__item:hover:not(:disabled) [data-lucide], .tab-btn:hover:not(:disabled) svg, .tab-btn:hover:not(:disabled) i, .tab-btn:hover:not(:disabled) [data-lucide], .nav-link:hover:not(:disabled) svg, .nav-link:hover:not(:disabled) i, .nav-link:hover:not(:disabled) [data-lucide] {
  color: var(--text-primary);
}
.tabs__item--active, .tabs__item.active, .tabs__item.is-active, .tab-btn--active, .tab-btn.active, .tab-btn.is-active, .nav-link--active, .nav-link.active, .nav-link.is-active {
  color: var(--text-primary);
  font-weight: 700;
  border-bottom-color: var(--accent);
}
.tabs__item--active svg, .tabs__item--active i, .tabs__item--active [data-lucide], .tabs__item.active svg, .tabs__item.active i, .tabs__item.active [data-lucide], .tabs__item.is-active svg, .tabs__item.is-active i, .tabs__item.is-active [data-lucide], .tab-btn--active svg, .tab-btn--active i, .tab-btn--active [data-lucide], .tab-btn.active svg, .tab-btn.active i, .tab-btn.active [data-lucide], .tab-btn.is-active svg, .tab-btn.is-active i, .tab-btn.is-active [data-lucide], .nav-link--active svg, .nav-link--active i, .nav-link--active [data-lucide], .nav-link.active svg, .nav-link.active i, .nav-link.active [data-lucide], .nav-link.is-active svg, .nav-link.is-active i, .nav-link.is-active [data-lucide] {
  color: var(--text-primary);
}
.tabs__item:disabled, .tabs__item.disabled, .tab-btn:disabled, .tab-btn.disabled, .nav-link:disabled, .nav-link.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.tabs__item .tabs__badge, .tab-btn .tabs__badge, .nav-link .tabs__badge {
  font-size: var(--text-2xs, 0.7rem);
  padding: 1px 6px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  color: var(--text-secondary);
}

.tabs--pills, .nav-pills {
  border-bottom: none;
  gap: 6px;
  width: auto;
}
.tabs--pills .tabs__item, .tabs--pills .tab-btn, .tabs--pills .nav-link, .nav-pills .tabs__item, .nav-pills .tab-btn, .nav-pills .nav-link {
  border-radius: var(--radius-sm, 6px);
  border-bottom: none;
  margin-bottom: 0;
  padding: 8px 14px;
}
.tabs--pills .tabs__item--active, .tabs--pills .tabs__item.active, .tabs--pills .tab-btn--active, .tabs--pills .tab-btn.active, .tabs--pills .nav-link--active, .tabs--pills .nav-link.active, .nav-pills .tabs__item--active, .nav-pills .tabs__item.active, .nav-pills .tab-btn--active, .nav-pills .tab-btn.active, .nav-pills .nav-link--active, .nav-pills .nav-link.active {
  background: var(--surface3);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.tabs--segmented {
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 12px);
  padding: 4px;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  border-bottom: none;
  gap: 4px;
  width: 100%;
}
.tabs--segmented .tabs__item, .tabs--segmented .tab-btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm, 8px);
  border-bottom: none;
  margin-bottom: 0;
  padding: 8px 14px;
  font-size: var(--text-xs, 0.82rem);
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-align: center;
}
.tabs--segmented .tabs__item svg, .tabs--segmented .tabs__item i, .tabs--segmented .tabs__item [data-lucide], .tabs--segmented .tab-btn svg, .tabs--segmented .tab-btn i, .tabs--segmented .tab-btn [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.tabs--segmented .tabs__item--active, .tabs--segmented .tabs__item.active, .tabs--segmented .tabs__item.is-active, .tabs--segmented .tab-btn--active, .tabs--segmented .tab-btn.active, .tabs--segmented .tab-btn.is-active {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
  box-shadow: var(--shadow-sm) !important;
  font-weight: 700;
}
.tabs--segmented .tabs__item--active svg, .tabs--segmented .tabs__item--active i, .tabs--segmented .tabs__item--active [data-lucide], .tabs--segmented .tabs__item.active svg, .tabs--segmented .tabs__item.active i, .tabs--segmented .tabs__item.active [data-lucide], .tabs--segmented .tabs__item.is-active svg, .tabs--segmented .tabs__item.is-active i, .tabs--segmented .tabs__item.is-active [data-lucide], .tabs--segmented .tab-btn--active svg, .tabs--segmented .tab-btn--active i, .tabs--segmented .tab-btn--active [data-lucide], .tabs--segmented .tab-btn.active svg, .tabs--segmented .tab-btn.active i, .tabs--segmented .tab-btn.active [data-lucide], .tabs--segmented .tab-btn.is-active svg, .tabs--segmented .tab-btn.is-active i, .tabs--segmented .tab-btn.is-active [data-lucide] {
  color: var(--accent);
}
.tabs--segmented .tabs__item:hover:not(.active):not(.is-active), .tabs--segmented .tab-btn:hover:not(.active):not(.is-active) {
  color: var(--text-primary);
  background: var(--surface3);
}

.tabs__content, .tab-content {
  padding-top: var(--space-4, 16px);
  flex: 1;
}

.tabs__pane, .tab-pane {
  display: none;
}
.tabs__pane--active, .tabs__pane.active, .tabs__pane.show, .tab-pane--active, .tab-pane.active, .tab-pane.show {
  display: block;
}

.smart-scroll-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}
.smart-scroll-wrap.has-overflow-start::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 32px;
  background: linear-gradient(to right, var(--surface, var(--bg-card)), transparent);
  pointer-events: none;
  z-index: 10;
}
[dir=rtl] .smart-scroll-wrap.has-overflow-start::before {
  background: linear-gradient(to left, var(--surface, var(--bg-card)), transparent);
}
.smart-scroll-wrap.has-overflow-end::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  bottom: 0;
  width: 32px;
  background: linear-gradient(to left, var(--surface, var(--bg-card)), transparent);
  pointer-events: none;
  z-index: 10;
}
[dir=rtl] .smart-scroll-wrap.has-overflow-end::after {
  background: linear-gradient(to right, var(--surface, var(--bg-card)), transparent);
}

.smart-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 35;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s ease;
  padding: 0;
}
.smart-scroll-btn svg, .smart-scroll-btn [data-lucide] {
  width: 15px;
  height: 15px;
  stroke-width: 2.4px;
  stroke: currentColor;
  fill: none;
}
.smart-scroll-btn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.smart-scroll-btn.btn-scroll-start {
  inset-inline-start: 4px;
}
.smart-scroll-btn.btn-scroll-end {
  inset-inline-end: 4px;
}
.smart-scroll-btn:hover {
  background: var(--surface3, var(--border));
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.tabs-nav {
  width: 100%;
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  gap: 8px;
  padding: 6px 4px;
  list-style: none;
  margin: 0;
}
.tabs-nav::-webkit-scrollbar {
  display: none;
}

.studio-tabs-bar {
  display: flex;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  box-sizing: border-box;
}
.studio-tabs-bar::-webkit-scrollbar {
  display: none;
}
.studio-tabs-bar .studio-tab-btn {
  padding: 13px 20px;
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  margin-bottom: -1px;
  transition: all 0.18s ease;
}
.studio-tabs-bar .studio-tab-btn:hover {
  color: var(--text-primary);
}
.studio-tabs-bar .studio-tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: transparent;
}
.studio-tabs-bar .studio-tab-btn i, .studio-tabs-bar .studio-tab-btn svg, .studio-tabs-bar .studio-tab-btn [data-lucide] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.thm-view-toggle {
  display: flex;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 10px);
  padding: 4px;
  gap: 4px;
}

.thm-toggle-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 40px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.thm-toggle-btn.active {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 2px 8px var(--accent-glow);
}
.thm-toggle-btn svg {
  width: 16px;
  height: 16px;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3, 12px);
  padding: 14px 18px;
  border-radius: var(--radius-md, 10px);
  font-size: var(--text-sm, 0.86rem);
  line-height: 1.5;
  border: 1px solid transparent;
  margin-bottom: var(--space-4, 16px);
  position: relative;
}
.alert > .alert__icon, .alert > svg, .alert > i, .alert > [data-lucide], .alert .alert__icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}
.alert .alert__content {
  flex: 1 1 auto;
}
.alert .alert__title, .alert .alert-title {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: var(--text-base, 0.92rem);
}
.alert .alert__close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast);
}
.alert .alert__close:hover {
  opacity: 1;
}

.alert--success, .alert-success {
  background: var(--success-subtle);
  border-color: var(--success-border);
  color: var(--success);
}
.alert--success .alert__content, .alert-success .alert__content {
  color: var(--text-primary);
}

.alert--danger, .alert-danger {
  background: var(--danger-subtle);
  border-color: var(--danger-border);
  color: var(--danger);
}
.alert--danger .alert__content, .alert-danger .alert__content {
  color: var(--text-primary);
}

.alert--warning, .alert-warning {
  background: var(--warning-subtle);
  border-color: var(--warning-border);
  color: var(--warning);
}
.alert--warning .alert__content, .alert-warning .alert__content {
  color: var(--text-primary);
}

.alert--info, .alert-info {
  background: var(--info-subtle);
  border-color: var(--info-border);
  color: var(--info);
}
.alert--info .alert__content, .alert-info .alert__content {
  color: var(--text-primary);
}

.pending-alert {
  background: var(--warning-subtle);
  border: 1.5px solid var(--warning-border);
  border-radius: var(--radius-lg, 12px);
  padding: 14px 16px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pending-alert.pending-alert--success {
  background: var(--success-subtle);
  border-color: var(--success-border);
}
.pending-alert.pending-alert--success .pending-alert-text {
  color: var(--success);
}
.pending-alert.pending-alert--info {
  background: var(--info-subtle);
  border-color: var(--info-border);
}
.pending-alert.pending-alert--info .pending-alert-text {
  color: var(--info);
}

.pending-alert-text {
  font-size: 0.84rem;
  color: var(--warning);
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.pending-alert-text svg, .pending-alert-text [data-lucide] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.store-review-alert {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium);
  background: var(--bg-card);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.store-review-alert.alert-needs-edits {
  border-color: var(--border2);
  background: var(--surface2);
}
.store-review-alert.alert-under-review {
  border-color: var(--warning-border);
  background: var(--warning-subtle);
}
.store-review-alert.alert-draft {
  border-color: var(--border2);
  background: var(--surface2);
}
.store-review-alert .alert-content {
  flex: 1;
}
.store-review-alert .alert-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.store-review-alert .alert-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}
.store-review-alert .alert-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 0.85rem 0;
}
.store-review-alert .alert-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.alert-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bg-purple-soft {
  background: var(--surface3);
  color: var(--text);
}

.bg-warning-soft {
  background: var(--warning-subtle);
  color: var(--warning);
}

.bg-secondary-soft {
  background: var(--surface3);
  color: var(--text-secondary);
}

.admin-notes-card {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-right: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  margin-bottom: 1rem;
}

.notes-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.notes-text {
  font-size: 0.92rem;
  color: var(--text-primary);
  white-space: pre-wrap;
  line-height: 1.5;
}

.alert-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: var(--z-toast, 9999);
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 440px;
  width: calc(100% - 48px);
  pointer-events: none;
}
@media (max-width: 576px) {
  .toast-container {
    bottom: 16px;
    inset-inline-end: 16px;
    width: calc(100% - 32px);
  }
}

#toast,
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(24px) scale(0.95);
  z-index: var(--z-toast, 9999);
  min-width: 260px;
  max-width: 520px;
  width: auto;
  padding: 11px 22px;
  border-radius: var(--radius-full, 9999px);
  background: var(--bg-glass);
  color: var(--text-primary) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-medium);
  font-size: var(--text-sm, 0.86rem);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  display: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}
#toast:empty,
.toast:empty {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
#toast.show, #toast.is-visible,
.toast.show,
.toast.is-visible {
  display: inline-flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) scale(1) !important;
}
#toast .toast__icon, #toast svg, #toast i, #toast [data-lucide],
.toast .toast__icon,
.toast svg,
.toast i,
.toast [data-lucide] {
  width: 17px;
  height: 17px;
  stroke-width: 2.2px;
  flex-shrink: 0;
}
#toast .toast__message,
.toast .toast__message {
  flex: 1 1 auto;
  line-height: 1.4;
}
#toast .toast__close,
.toast .toast__close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}
#toast .toast__close:hover,
.toast .toast__close:hover {
  color: var(--text-primary);
}

.toast-container .toast {
  position: static;
  transform: translateY(16px);
  width: 100%;
}
.toast-container .toast.show, .toast-container .toast.is-visible {
  transform: translateY(0) !important;
}

.toast--success, .toast-success {
  border-color: var(--success-border) !important;
  box-shadow: 0 14px 36px var(--success-subtle), var(--shadow-sm) !important;
}
.toast--success .toast__icon, .toast--success svg, .toast--success i, .toast--success [data-lucide], .toast-success .toast__icon, .toast-success svg, .toast-success i, .toast-success [data-lucide] {
  color: var(--success) !important;
}

.toast--error, .toast-danger, .toast-error {
  border-color: var(--danger-border) !important;
  box-shadow: 0 14px 36px var(--danger-subtle), var(--shadow-sm) !important;
}
.toast--error .toast__icon, .toast--error svg, .toast--error i, .toast--error [data-lucide], .toast-danger .toast__icon, .toast-danger svg, .toast-danger i, .toast-danger [data-lucide], .toast-error .toast__icon, .toast-error svg, .toast-error i, .toast-error [data-lucide] {
  color: var(--danger) !important;
}

.toast--warning, .toast-warning {
  border-color: var(--warning-border) !important;
  box-shadow: 0 14px 36px var(--warning-subtle), var(--shadow-sm) !important;
}
.toast--warning .toast__icon, .toast--warning svg, .toast--warning i, .toast--warning [data-lucide], .toast-warning .toast__icon, .toast-warning svg, .toast-warning i, .toast-warning [data-lucide] {
  color: var(--warning) !important;
}

.toast--info, .toast-info {
  border-color: var(--info-border) !important;
  box-shadow: 0 14px 36px var(--info-subtle), var(--shadow-sm) !important;
}
.toast--info .toast__icon, .toast--info svg, .toast--info i, .toast--info [data-lucide], .toast-info .toast__icon, .toast-info svg, .toast-info i, .toast-info [data-lucide] {
  color: var(--info) !important;
}

.toast--loading, .toast-loading {
  border-color: var(--border-medium) !important;
}
.toast--loading .toast__icon, .toast--loading svg, .toast--loading i, .toast--loading [data-lucide], .toast-loading .toast__icon, .toast-loading svg, .toast-loading i, .toast-loading [data-lucide] {
  color: var(--text-primary) !important;
  animation: spin 1s linear infinite;
}

[data-tooltip] {
  position: relative;
}
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--surface2);
  color: var(--text-primary);
  font-size: var(--text-2xs, 0.72rem);
  font-weight: 500;
  padding: 5px 9px;
  border-radius: var(--radius-xs, 4px);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  z-index: var(--z-tooltip, 1200);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
}
[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.popover {
  position: absolute;
  z-index: var(--z-popover, 1100);
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md, 10px);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4, 16px);
  width: max-content;
  max-width: 320px;
  font-size: var(--text-sm, 0.85rem);
  color: var(--text-primary);
  line-height: 1.4;
}
.popover .popover__title {
  font-weight: 700;
  font-size: var(--text-base, 0.92rem);
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.slider, .range-slider {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.slider input[type=range], .range-slider input[type=range] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--surface3);
  border-radius: var(--radius-full, 9999px);
  outline: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.slider input[type=range]::-webkit-slider-thumb, .range-slider input[type=range]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-primary);
  border: 2px solid var(--bg-card);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.slider input[type=range]::-webkit-slider-thumb:hover, .range-slider input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 10px var(--accent-glow);
}
.slider input[type=range]::-moz-range-thumb, .range-slider input[type=range]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-primary);
  border: 2px solid var(--bg-card);
  cursor: pointer;
  transition: transform var(--transition-fast);
}
.slider input[type=range]::-moz-range-thumb:hover, .range-slider input[type=range]::-moz-range-thumb:hover {
  transform: scale(1.15);
}

.progress, .progress-bar-wrap {
  width: 100%;
  height: 8px;
  background: var(--surface2);
  border-radius: var(--radius-full, 9999px);
  overflow: hidden;
  position: relative;
}
.progress--sm, .progress-bar-wrap--sm {
  height: 4px;
}
.progress--lg, .progress-bar-wrap--lg {
  height: 12px;
}
.progress .progress__bar, .progress .progress-bar, .progress-bar-wrap .progress__bar, .progress-bar-wrap .progress-bar {
  height: 100%;
  background: var(--text-primary);
  border-radius: inherit;
  transition: width 0.35s ease;
  display: block;
}
.progress .progress__bar--success, .progress .progress__bar.progress-success, .progress .progress__bar.bg-success, .progress .progress-bar--success, .progress .progress-bar.progress-success, .progress .progress-bar.bg-success, .progress-bar-wrap .progress__bar--success, .progress-bar-wrap .progress__bar.progress-success, .progress-bar-wrap .progress__bar.bg-success, .progress-bar-wrap .progress-bar--success, .progress-bar-wrap .progress-bar.progress-success, .progress-bar-wrap .progress-bar.bg-success {
  background: var(--success);
}
.progress .progress__bar--danger, .progress .progress__bar.progress-danger, .progress .progress__bar.bg-danger, .progress .progress-bar--danger, .progress .progress-bar.progress-danger, .progress .progress-bar.bg-danger, .progress-bar-wrap .progress__bar--danger, .progress-bar-wrap .progress__bar.progress-danger, .progress-bar-wrap .progress__bar.bg-danger, .progress-bar-wrap .progress-bar--danger, .progress-bar-wrap .progress-bar.progress-danger, .progress-bar-wrap .progress-bar.bg-danger {
  background: var(--danger);
}
.progress .progress__bar--warning, .progress .progress__bar.progress-warning, .progress .progress__bar.bg-warning, .progress .progress-bar--warning, .progress .progress-bar.progress-warning, .progress .progress-bar.bg-warning, .progress-bar-wrap .progress__bar--warning, .progress-bar-wrap .progress__bar.progress-warning, .progress-bar-wrap .progress__bar.bg-warning, .progress-bar-wrap .progress-bar--warning, .progress-bar-wrap .progress-bar.progress-warning, .progress-bar-wrap .progress-bar.bg-warning {
  background: var(--warning);
}
.progress .progress__bar--info, .progress .progress__bar.progress-info, .progress .progress__bar.bg-info, .progress .progress-bar--info, .progress .progress-bar.progress-info, .progress .progress-bar.bg-info, .progress-bar-wrap .progress__bar--info, .progress-bar-wrap .progress__bar.progress-info, .progress-bar-wrap .progress__bar.bg-info, .progress-bar-wrap .progress-bar--info, .progress-bar-wrap .progress-bar.progress-info, .progress-bar-wrap .progress-bar.bg-info {
  background: var(--info);
}

.progress-bar-striped {
  background-image: linear-gradient(45deg, var(--border-medium) 25%, transparent 25%, transparent 50%, var(--border-medium) 50%, var(--border-medium) 75%, transparent 75%, transparent);
  background-size: 1rem 1rem;
}

.progress-bar-animated {
  animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
  0% {
    background-position-x: 1rem;
  }
}
.funnel-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 0;
}

.funnel-step {
  display: flex;
  align-items: center;
  gap: 14px;
}
@media (max-width: 576px) {
  .funnel-step {
    flex-wrap: wrap;
    gap: 6px;
  }
  .funnel-step .funnel-label {
    width: auto;
    flex: 1;
    text-align: start;
  }
  .funnel-step .funnel-count {
    width: auto;
    text-align: end;
  }
  .funnel-step .funnel-drop {
    width: auto;
  }
  .funnel-step .funnel-bar-wrap {
    width: 100%;
    flex-basis: 100%;
    order: 3;
    height: 36px;
  }
}

.funnel-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  width: 120px;
  text-align: end;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .funnel-label {
    width: 80px;
    font-size: 0.76rem;
  }
}

.funnel-bar-wrap {
  flex: 1;
  height: 42px;
  background: var(--surface2);
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-subtle);
}

.funnel-bar-fill {
  height: 100%;
  border-radius: var(--radius-md, 12px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-inline-end: 14px;
  font-weight: 850;
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 54px;
  letter-spacing: -0.01em;
}
.funnel-bar-fill.funnel-fill--0 {
  background: var(--funnel-fill-0);
  color: var(--funnel-text-0);
  box-shadow: 0 0 16px var(--chart-primary-glow);
}
.funnel-bar-fill.funnel-fill--1 {
  background: var(--funnel-fill-1);
  color: var(--funnel-text-1);
}
.funnel-bar-fill.funnel-fill--2 {
  background: var(--funnel-fill-2);
  color: var(--funnel-text-2);
}
.funnel-bar-fill.funnel-fill--3 {
  background: var(--funnel-fill-3);
  color: var(--funnel-text-3);
  border: 1px solid var(--border-subtle);
}

.funnel-count {
  font-size: 0.88rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  width: 70px;
  flex-shrink: 0;
  text-align: center;
}

.funnel-drop {
  font-size: 0.78rem;
  color: var(--danger);
  font-weight: 700;
  width: 55px;
  flex-shrink: 0;
  text-align: center;
}

.apple-rings-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 8px 0;
}
@media (max-width: 1200px) {
  .apple-rings-wrap {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
}

.apple-rings-svg-container {
  position: relative;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
}

.apple-rings-svg {
  transform: rotate(-90deg);
  width: 200px;
  height: 200px;
}

.apple-ring-trk.ring-delivered {
  stroke: var(--success-subtle);
}
.apple-ring-trk.ring-shipped {
  stroke: var(--info-subtle);
}
.apple-ring-trk.ring-processing {
  stroke: var(--warning-subtle);
}
.apple-ring-trk.ring-cancelled {
  stroke: var(--danger-subtle);
}

.apple-ring-val {
  transition: stroke-dasharray 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.apple-ring-val.ring-delivered {
  stroke: var(--success);
  filter: drop-shadow(0 0 4px var(--success-border));
}
.apple-ring-val.ring-shipped {
  stroke: var(--info);
  filter: drop-shadow(0 0 4px var(--info-border));
}
.apple-ring-val.ring-processing {
  stroke: var(--warning);
  filter: drop-shadow(0 0 4px var(--warning-border));
}
.apple-ring-val.ring-cancelled {
  stroke: var(--danger);
  filter: drop-shadow(0 0 4px var(--danger-border));
}

.apple-rings-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  padding: 12px;
}
.apple-rings-center .arc-icon {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3px;
  opacity: 0.8;
}
.apple-rings-center .arc-icon svg, .apple-rings-center .arc-icon [data-lucide] {
  width: 16px;
  height: 16px;
}
.apple-rings-center .arc-val {
  font-size: 1.35rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.apple-rings-center .arc-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  margin-top: 2px;
}

.apple-status-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.apple-status-card {
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 16px);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.apple-status-card:hover {
  transform: translateY(-1px);
  border-color: var(--border-medium);
}
.apple-status-card .asc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.apple-status-card .asc-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.apple-status-card .asc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.apple-status-card .asc-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
}
.apple-status-card .asc-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.apple-status-card .asc-count {
  font-size: 0.84rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
}
.apple-status-card .asc-pct {
  font-size: 0.78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  min-width: 36px;
  text-align: end;
}
.apple-status-card .asc-track {
  height: 6px;
  background: var(--surface3);
  border-radius: var(--radius-full, 9999px);
  overflow: hidden;
}
.apple-status-card .asc-bar {
  height: 100%;
  border-radius: var(--radius-full, 9999px);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.apple-status-card.status-ring--delivered .asc-dot {
  background: var(--success);
  box-shadow: 0 0 8px var(--success-border);
}
.apple-status-card.status-ring--delivered .asc-pct {
  color: var(--success);
}
.apple-status-card.status-ring--delivered .asc-bar {
  background: var(--success);
  box-shadow: 0 0 8px var(--success-border);
}
.apple-status-card.status-ring--shipped .asc-dot {
  background: var(--info);
  box-shadow: 0 0 8px var(--info-border);
}
.apple-status-card.status-ring--shipped .asc-pct {
  color: var(--info);
}
.apple-status-card.status-ring--shipped .asc-bar {
  background: var(--info);
  box-shadow: 0 0 8px var(--info-border);
}
.apple-status-card.status-ring--processing .asc-dot {
  background: var(--warning);
  box-shadow: 0 0 8px var(--warning-border);
}
.apple-status-card.status-ring--processing .asc-pct {
  color: var(--warning);
}
.apple-status-card.status-ring--processing .asc-bar {
  background: var(--warning);
  box-shadow: 0 0 8px var(--warning-border);
}
.apple-status-card.status-ring--cancelled .asc-dot {
  background: var(--danger);
  box-shadow: 0 0 8px var(--danger-border);
}
.apple-status-card.status-ring--cancelled .asc-pct {
  color: var(--danger);
}
.apple-status-card.status-ring--cancelled .asc-bar {
  background: var(--danger);
  box-shadow: 0 0 8px var(--danger-border);
}

.gov-bar-track {
  width: 100%;
  height: 8px;
  background: var(--surface3);
  border-radius: var(--radius-full, 9999px);
  overflow: hidden;
}
.gov-bar-track--sm {
  height: 6px;
}

.gov-bar-fill {
  height: 100%;
  border-radius: var(--radius-full, 9999px);
  background: var(--chart-primary-gradient, linear-gradient(90deg, var(--text-primary) 0%, var(--text-muted) 100%));
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.gov-bar-fill.night-ratio-bar {
  background: linear-gradient(90deg, var(--text-primary) 0%, var(--text-muted) 100%);
}

.stepper, .wizard-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  margin-bottom: var(--space-6, 24px);
  list-style: none;
  padding: 0;
}
@media (max-width: 576px) {
  .stepper, .wizard-steps {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
  }
  .stepper::-webkit-scrollbar, .wizard-steps::-webkit-scrollbar {
    display: none;
  }
}

.stepper__step, .step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 80px;
}
.stepper__step .stepper__node, .stepper__step .step-node, .stepper__step .step-icon-wrap, .step-item .stepper__node, .step-item .step-node, .step-item .step-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface2);
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm, 0.85rem);
  color: var(--text-muted);
  transition: var(--transition-normal);
  margin-bottom: 8px;
}
.stepper__step .stepper__node svg, .stepper__step .stepper__node i, .stepper__step .stepper__node [data-lucide], .stepper__step .step-node svg, .stepper__step .step-node i, .stepper__step .step-node [data-lucide], .stepper__step .step-icon-wrap svg, .stepper__step .step-icon-wrap i, .stepper__step .step-icon-wrap [data-lucide], .step-item .stepper__node svg, .step-item .stepper__node i, .step-item .stepper__node [data-lucide], .step-item .step-node svg, .step-item .step-node i, .step-item .step-node [data-lucide], .step-item .step-icon-wrap svg, .step-item .step-icon-wrap i, .step-item .step-icon-wrap [data-lucide] {
  width: 16px;
  height: 16px;
}
.stepper__step .stepper__title, .stepper__step .step-title, .stepper__step .step-head, .step-item .stepper__title, .step-item .step-title, .step-item .step-head {
  font-size: var(--text-xs, 0.78rem);
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
  transition: color var(--transition-fast);
}
.stepper__step .stepper__line, .stepper__step .step-line, .step-item .stepper__line, .step-item .step-line {
  position: absolute;
  top: 18px;
  inset-inline-start: -50%;
  width: 100%;
  height: 2px;
  background: var(--border-medium);
  z-index: -1;
}
.stepper__step:first-child .stepper__line, .stepper__step:first-child .step-line, .step-item:first-child .stepper__line, .step-item:first-child .step-line {
  display: none;
}
.stepper__step--active .stepper__node, .stepper__step--active .step-node, .stepper__step--active .step-icon-wrap, .stepper__step.active .stepper__node, .stepper__step.active .step-node, .stepper__step.active .step-icon-wrap, .stepper__step.is-active .stepper__node, .stepper__step.is-active .step-node, .stepper__step.is-active .step-icon-wrap, .step-item--active .stepper__node, .step-item--active .step-node, .step-item--active .step-icon-wrap, .step-item.active .stepper__node, .step-item.active .step-node, .step-item.active .step-icon-wrap, .step-item.is-active .stepper__node, .step-item.is-active .step-node, .step-item.is-active .step-icon-wrap {
  background: var(--text-primary);
  color: var(--text-inverse);
  border-color: var(--text-primary);
  box-shadow: 0 0 16px var(--accent-glow);
}
.stepper__step--active .stepper__title, .stepper__step--active .step-title, .stepper__step.active .stepper__title, .stepper__step.active .step-title, .stepper__step.is-active .stepper__title, .stepper__step.is-active .step-title, .step-item--active .stepper__title, .step-item--active .step-title, .step-item.active .stepper__title, .step-item.active .step-title, .step-item.is-active .stepper__title, .step-item.is-active .step-title {
  color: var(--text-primary);
  font-weight: 700;
}
.stepper__step--completed .stepper__node, .stepper__step--completed .step-node, .stepper__step--completed .step-icon-wrap, .stepper__step.done .stepper__node, .stepper__step.done .step-node, .stepper__step.done .step-icon-wrap, .stepper__step.is-done .stepper__node, .stepper__step.is-done .step-node, .stepper__step.is-done .step-icon-wrap, .stepper__step.completed .stepper__node, .stepper__step.completed .step-node, .stepper__step.completed .step-icon-wrap, .step-item--completed .stepper__node, .step-item--completed .step-node, .step-item--completed .step-icon-wrap, .step-item.done .stepper__node, .step-item.done .step-node, .step-item.done .step-icon-wrap, .step-item.is-done .stepper__node, .step-item.is-done .step-node, .step-item.is-done .step-icon-wrap, .step-item.completed .stepper__node, .step-item.completed .step-node, .step-item.completed .step-icon-wrap {
  background: var(--success);
  color: var(--text-inverse);
  border-color: var(--success);
}
.stepper__step--completed .stepper__line, .stepper__step--completed .step-line, .stepper__step.done .stepper__line, .stepper__step.done .step-line, .stepper__step.is-done .stepper__line, .stepper__step.is-done .step-line, .stepper__step.completed .stepper__line, .stepper__step.completed .step-line, .step-item--completed .stepper__line, .step-item--completed .step-line, .step-item.done .stepper__line, .step-item.done .step-line, .step-item.is-done .stepper__line, .step-item.is-done .step-line, .step-item.completed .stepper__line, .step-item.completed .step-line {
  background: var(--success);
}
.stepper__step--completed .stepper__title, .stepper__step--completed .step-title, .stepper__step.done .stepper__title, .stepper__step.done .step-title, .stepper__step.is-done .stepper__title, .stepper__step.is-done .step-title, .stepper__step.completed .stepper__title, .stepper__step.completed .step-title, .step-item--completed .stepper__title, .step-item--completed .step-title, .step-item.done .stepper__title, .step-item.done .step-title, .step-item.is-done .stepper__title, .step-item.is-done .step-title, .step-item.completed .stepper__title, .step-item.completed .step-title {
  color: var(--text-secondary);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 6px;
}

.tl-item {
  display: flex;
  gap: 14px;
  position: relative;
}

.tl-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 18px;
  flex-shrink: 0;
}

.tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--border2);
  background: var(--surface3);
  margin-top: 3px;
  flex-shrink: 0;
  transition: all 0.2s;
}
.tl-dot.done {
  background: var(--accent);
  border-color: var(--accent);
}
.tl-dot.cur {
  background: var(--success);
  border-color: var(--success);
  box-shadow: 0 0 0 4px var(--success-subtle);
}

.tl-line {
  width: 2px;
  flex: 1;
  background: var(--border);
  min-height: 20px;
  margin: 3px 0;
}
.tl-line.done {
  background: var(--accent);
}

.tl-info {
  padding-bottom: 16px;
  flex: 1;
}

.tl-time {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 2px;
}

.tl-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.tl-note {
  font-size: 0.76rem;
  color: var(--muted);
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 5px;
  margin-top: 4px;
  display: inline-block;
}

.stepper-desktop-wrap {
  width: 100%;
  margin-bottom: var(--space-6, 24px);
}

.stepper-capsules-track, .stepper-capsule-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: var(--space-5, 20px);
}
@media (max-width: 768px) {
  .stepper-capsules-track, .stepper-capsule-bar {
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .stepper-capsules-track::-webkit-scrollbar, .stepper-capsule-bar::-webkit-scrollbar {
    display: none;
  }
}

.stepper-capsule-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-lg, 14px);
  background: var(--surface2);
  border: none !important;
  box-shadow: var(--shadow-xs);
  flex: 1;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 768px) {
  .stepper-capsule-item {
    flex: 0 0 auto;
    min-width: 160px;
  }
}
.stepper-capsule-item.active {
  background: var(--surface3);
  box-shadow: var(--shadow-sm);
}
.stepper-capsule-item.active .capsule-num, .stepper-capsule-item.active .capsule-circle {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 2px 8px var(--accent-glow);
}
.stepper-capsule-item.active .capsule-step-main {
  color: var(--text-primary);
}
.stepper-capsule-item.completed:not(.active) .capsule-num, .stepper-capsule-item.completed:not(.active) .capsule-circle, .stepper-capsule-item.done:not(.active) .capsule-num, .stepper-capsule-item.done:not(.active) .capsule-circle {
  background: var(--success-subtle);
  color: var(--success);
}
.stepper-capsule-item.completed:not(.active) .capsule-num .step-done-ic, .stepper-capsule-item.completed:not(.active) .capsule-num .step-node-svg, .stepper-capsule-item.completed:not(.active) .capsule-circle .step-done-ic, .stepper-capsule-item.completed:not(.active) .capsule-circle .step-node-svg, .stepper-capsule-item.done:not(.active) .capsule-num .step-done-ic, .stepper-capsule-item.done:not(.active) .capsule-num .step-node-svg, .stepper-capsule-item.done:not(.active) .capsule-circle .step-done-ic, .stepper-capsule-item.done:not(.active) .capsule-circle .step-node-svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.8;
}
.stepper-capsule-item.disabled {
  opacity: 0.45;
  cursor: default;
}
.stepper-capsule-item .capsule-num, .stepper-capsule-item .capsule-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
}
.stepper-capsule-item .capsule-num .step-node-svg, .stepper-capsule-item .capsule-circle .step-node-svg {
  width: 15px;
  height: 15px;
}
.stepper-capsule-item .capsule-labels {
  display: flex;
  flex-direction: column;
  text-align: start;
  min-width: 0;
}
.stepper-capsule-item .capsule-labels .capsule-step-sub {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}
.stepper-capsule-item .capsule-labels .capsule-step-main {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-secondary);
  white-space: nowrap;
}
.stepper-capsule-item .capsule-arrow {
  color: var(--text-muted);
  opacity: 0.45;
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stepper-capsule-item .capsule-arrow .capsule-arrow-svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  transition: transform 0.2s ease;
}
.stepper-capsule-item .capsule-arrow .capsule-arrow-svg.is-rtl {
  transform: rotate(180deg);
}

.stepper-mobile {
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-xl, 20px);
  padding: 16px 16px 14px;
  margin-bottom: var(--space-5, 20px);
  box-shadow: var(--shadow-sm);
}
.stepper-mobile .stepper-mobile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.stepper-mobile .stepper-mobile-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stepper-mobile .step-badge {
  background: var(--surface2);
  color: var(--text-primary);
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}
.stepper-mobile .step-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}
.stepper-mobile .step-name {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text-primary);
}
.stepper-mobile .stepper-mobile-pct {
  font-weight: 900;
  font-size: 0.82rem;
  color: var(--text-primary);
  background: var(--surface2);
  padding: 3px 8px;
  border-radius: var(--radius-sm, 8px);
  font-family: var(--font-mono, monospace);
}
.stepper-mobile .stepper-mobile-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  padding: 8px 4px 0;
}
.stepper-mobile .stepper-mobile-track .mob-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  cursor: pointer;
  flex: 1;
}
.stepper-mobile .stepper-mobile-track .mob-step-node .mob-step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: all 0.25s ease;
}
.stepper-mobile .stepper-mobile-track .mob-step-node .mob-step-circle .step-node-svg {
  width: 15px;
  height: 15px;
}
.stepper-mobile .stepper-mobile-track .mob-step-node .mob-step-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.stepper-mobile .stepper-mobile-track .mob-step-node .mob-step-bar {
  position: absolute;
  top: 16px;
  inset-inline-start: 50%;
  width: 100%;
  height: 2px;
  background: var(--border-subtle);
  z-index: -1;
  transition: background 0.3s ease;
}
.stepper-mobile .stepper-mobile-track .mob-step-node .mob-step-bar.done {
  background: var(--success);
}
.stepper-mobile .stepper-mobile-track .mob-step-node.active .mob-step-circle {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 0 12px var(--accent-glow);
  transform: scale(1.08);
}
.stepper-mobile .stepper-mobile-track .mob-step-node.active .mob-step-label {
  color: var(--text-primary);
  font-weight: 800;
}
.stepper-mobile .stepper-mobile-track .mob-step-node.done .mob-step-circle {
  background: var(--success-subtle);
  color: var(--success);
}
.stepper-mobile .stepper-mobile-track .mob-step-node.done .mob-step-label {
  color: var(--text-secondary);
}

.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: var(--space-6, 24px);
  padding-top: var(--space-5, 20px);
  border-top: 1px solid var(--border-subtle);
}
.wizard-actions .btn-prev-step, .wizard-actions .btn-next-step, .wizard-actions .btn-submit-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: var(--radius-lg, 14px);
  font-weight: 750;
  font-size: 0.92rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.wizard-actions .btn-step-counter {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface);
  color: var(--text-primary);
  font-family: var(--font-mono, monospace);
}
.wizard-actions .btn-arrow-bubble {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wizard-actions .btn-arrow-bubble svg {
  width: 14px;
  height: 14px;
}
.wizard-actions .btn-arrow-bubble.is-rtl-bubble .btn-next-arrow.is-rtl {
  transform: rotate(180deg);
}
.wizard-actions .btn-arrow-bubble.is-rtl-bubble .btn-prev-arrow.is-rtl {
  transform: rotate(180deg);
}
.wizard-actions .btn-submit-step {
  box-shadow: 0 4px 16px var(--success-border);
}
@media (max-width: 576px) {
  .wizard-actions {
    flex-direction: column-reverse;
    gap: 10px;
  }
  .wizard-actions .btn-prev-step, .wizard-actions .btn-next-step, .wizard-actions .btn-submit-step {
    width: 100%;
    justify-content: center;
  }
}

.pf-stepper-deck {
  width: 100%;
  margin-bottom: var(--space-6, 24px);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl, 18px);
  padding: 6px;
  box-shadow: var(--shadow-xs);
}
.pf-stepper-deck .pf-stepper-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: 100%;
}
@media (max-width: 992px) {
  .pf-stepper-deck .pf-stepper-track {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .pf-stepper-deck .pf-stepper-track::-webkit-scrollbar {
    display: none;
  }
}
.pf-stepper-deck .pf-stepper-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-lg, 14px);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: start;
  transition: var(--transition-fast, all 0.2s ease);
  overflow: hidden;
}
@media (max-width: 992px) {
  .pf-stepper-deck .pf-stepper-node {
    flex: 0 0 auto;
    min-width: 165px;
  }
}
.pf-stepper-deck .pf-stepper-node:hover:not(.is-active) {
  background: var(--surface2);
}
.pf-stepper-deck .pf-stepper-node.is-active {
  background: var(--surface2);
  box-shadow: var(--shadow-xs);
}
.pf-stepper-deck .pf-stepper-node.is-active .pf-node-badge {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 2px 10px var(--accent-glow);
}
.pf-stepper-deck .pf-stepper-node.is-active .pf-node-title {
  color: var(--text-primary);
  font-weight: 800;
}
.pf-stepper-deck .pf-stepper-node.is-active .pf-node-step-label {
  color: var(--accent);
  font-weight: 700;
}
.pf-stepper-deck .pf-stepper-node.is-active .pf-node-indicator {
  opacity: 1;
  transform: scaleX(1);
}
.pf-stepper-deck .pf-stepper-node.is-done:not(.is-active) .pf-node-badge {
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid var(--success-border);
}
.pf-stepper-deck .pf-stepper-node.is-done:not(.is-active) .pf-node-title {
  color: var(--text-secondary);
}
.pf-stepper-deck .pf-stepper-node .pf-node-badge {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--surface2);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  font-family: var(--font-mono, monospace);
  transition: var(--transition-fast, all 0.2s ease);
  flex-shrink: 0;
}
.pf-stepper-deck .pf-stepper-node .pf-node-badge .pf-check-ic {
  width: 15px;
  height: 15px;
  stroke-width: 3;
}
.pf-stepper-deck .pf-stepper-node .pf-node-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.pf-stepper-deck .pf-stepper-node .pf-node-content .pf-node-step-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}
.pf-stepper-deck .pf-stepper-node .pf-node-content .pf-node-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}
.pf-stepper-deck .pf-stepper-node .pf-node-indicator {
  position: absolute;
  bottom: 0;
  inset-inline: 12px;
  height: 2.5px;
  border-radius: var(--radius-full, 9999px);
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-stepper-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: var(--space-4, 16px);
  margin-top: var(--space-6, 24px);
  border-top: 1px solid var(--border-subtle);
}
.pf-stepper-footer .pf-stepper-footer-right,
.pf-stepper-footer .pf-stepper-footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (max-width: 576px) {
  .pf-stepper-footer {
    flex-direction: column-reverse;
    gap: 10px;
  }
  .pf-stepper-footer .pf-stepper-footer-right,
  .pf-stepper-footer .pf-stepper-footer-left {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }
  .pf-stepper-footer .pf-stepper-footer-right button, .pf-stepper-footer .pf-stepper-footer-right a,
  .pf-stepper-footer .pf-stepper-footer-left button,
  .pf-stepper-footer .pf-stepper-footer-left a {
    width: 100%;
    justify-content: center;
  }
}

.pf-step-command-deck {
  width: 100%;
  margin-bottom: var(--space-4, 16px);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl, 20px);
  box-shadow: var(--shadow-sm);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition-base, all 0.25s ease);
}
@media (max-width: 640px) {
  .pf-step-command-deck {
    padding: 12px 10px;
    gap: 10px;
    border-radius: var(--radius-lg, 16px);
  }
}
.pf-step-command-deck .pf-step-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
@media (max-width: 640px) {
  .pf-step-command-deck .pf-step-nav-row {
    gap: 6px;
    padding-bottom: 10px;
  }
}
.pf-step-command-deck .pf-step-nav-row .pf-step-nav-col {
  display: flex;
  align-items: center;
}
.pf-step-command-deck .pf-step-nav-row .pf-step-nav-col--prev {
  flex: 1;
  justify-content: flex-start;
}
.pf-step-command-deck .pf-step-nav-row .pf-step-nav-col--center {
  flex: 2;
  justify-content: center;
}
.pf-step-command-deck .pf-step-nav-row .pf-step-nav-col--next {
  flex: 1;
  justify-content: flex-end;
}
.pf-step-command-deck .pf-step-nav-row .pf-step-nav-btn {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: var(--radius-md, 10px);
  font-size: var(--text-xs, 0.78rem);
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 640px) {
  .pf-step-command-deck .pf-step-nav-row .pf-step-nav-btn {
    padding: 5px 8px;
    font-size: 0.72rem;
    min-height: 32px;
    gap: 4px;
  }
  .pf-step-command-deck .pf-step-nav-row .pf-step-nav-btn .pf-step-nav-text {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
.pf-step-command-deck .pf-step-nav-row .pf-step-nav-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
}
.pf-step-command-deck .pf-step-nav-row .pf-step-nav-btn--pub {
  box-shadow: 0 0 12px var(--accent-glow);
}
.pf-step-command-deck .pf-step-nav-row .pf-step-spotlight {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px;
  background: var(--surface2);
  border-radius: var(--radius-full, 9999px);
  border: 1px solid var(--border-subtle);
}
@media (max-width: 640px) {
  .pf-step-command-deck .pf-step-nav-row .pf-step-spotlight {
    padding: 4px 8px;
    gap: 5px;
  }
}
.pf-step-command-deck .pf-step-nav-row .pf-step-spotlight .pf-step-spotlight-disc {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  font-family: var(--font-mono, monospace);
  box-shadow: 0 2px 8px var(--accent-glow);
  line-height: 1;
}
.pf-step-command-deck .pf-step-nav-row .pf-step-spotlight .pf-step-spotlight-disc .pf-spotlight-disc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.pf-step-command-deck .pf-step-nav-row .pf-step-spotlight .pf-step-spotlight-info {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
@media (max-width: 640px) {
  .pf-step-command-deck .pf-step-nav-row .pf-step-spotlight .pf-step-spotlight-info {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
}
.pf-step-command-deck .pf-step-nav-row .pf-step-spotlight .pf-step-spotlight-info .pf-step-spotlight-prefix {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .pf-step-command-deck .pf-step-nav-row .pf-step-spotlight .pf-step-spotlight-info .pf-step-spotlight-prefix {
    display: none;
  }
}
.pf-step-command-deck .pf-step-nav-row .pf-step-spotlight .pf-step-spotlight-info .pf-step-spotlight-title {
  font-size: var(--text-xs, 0.82rem);
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
}
.pf-step-command-deck .pf-step-strip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  width: 100%;
}
@media (max-width: 640px) {
  .pf-step-command-deck .pf-step-strip-row {
    gap: 2px;
  }
}
.pf-step-command-deck .pf-step-strip-row .pf-strip-node {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  user-select: none;
  min-width: 0;
}
.pf-step-command-deck .pf-step-strip-row .pf-strip-node .pf-strip-node-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: var(--radius-md, 10px);
  background: transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 0;
}
@media (max-width: 768px) {
  .pf-step-command-deck .pf-step-strip-row .pf-strip-node .pf-strip-node-main {
    flex-direction: column;
    gap: 3px;
    padding: 4px 2px;
    text-align: center;
  }
}
.pf-step-command-deck .pf-step-strip-row .pf-strip-node .pf-strip-node-main:hover {
  background: var(--surface2);
}
.pf-step-command-deck .pf-step-strip-row .pf-strip-node .pf-strip-disc {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: var(--surface2);
  color: var(--text-muted);
  border: 1.5px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  font-family: var(--font-mono, monospace);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.pf-step-command-deck .pf-step-strip-row .pf-strip-node .pf-strip-disc .pf-strip-disc-done, .pf-step-command-deck .pf-step-strip-row .pf-strip-node .pf-strip-disc .pf-strip-disc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.pf-step-command-deck .pf-step-strip-row .pf-strip-node .pf-strip-disc i, .pf-step-command-deck .pf-step-strip-row .pf-strip-node .pf-strip-disc [data-lucide] {
  width: 14px;
  height: 14px;
  stroke-width: 2.8;
}
.pf-step-command-deck .pf-step-strip-row .pf-strip-node .pf-strip-label {
  font-size: var(--text-xs, 0.78rem);
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}
@media (max-width: 640px) {
  .pf-step-command-deck .pf-step-strip-row .pf-strip-node .pf-strip-label {
    font-size: 0.68rem;
  }
}
.pf-step-command-deck .pf-step-strip-row .pf-strip-node .pf-strip-connector {
  width: 14px;
  min-width: 8px;
  height: 2px;
  background: var(--border-subtle);
  border-radius: 9999px;
  flex-shrink: 0;
  margin-inline: 2px;
  transition: background 0.3s ease;
}
@media (max-width: 640px) {
  .pf-step-command-deck .pf-step-strip-row .pf-strip-node .pf-strip-connector {
    width: 6px;
    min-width: 4px;
    margin-inline: 1px;
  }
}
.pf-step-command-deck .pf-step-strip-row .pf-strip-node .pf-strip-connector.is-completed {
  background: var(--success);
}
.pf-step-command-deck .pf-step-strip-row .pf-strip-node.is-active .pf-strip-node-main {
  background: var(--surface2);
  box-shadow: var(--shadow-xs);
}
.pf-step-command-deck .pf-step-strip-row .pf-strip-node.is-active .pf-strip-disc {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle), 0 2px 8px var(--accent-glow);
  transform: scale(1.05);
}
.pf-step-command-deck .pf-step-strip-row .pf-strip-node.is-active .pf-strip-label {
  color: var(--text-primary);
  font-weight: 800;
}
.pf-step-command-deck .pf-step-strip-row .pf-strip-node.is-done .pf-strip-disc {
  background: var(--success-subtle);
  color: var(--success);
  border-color: var(--success-border);
  box-shadow: 0 0 0 2px var(--success-subtle);
}
.pf-step-command-deck .pf-step-strip-row .pf-strip-node.is-done .pf-strip-label {
  color: var(--text-secondary);
}
.pf-step-command-deck .pf-step-strip-row .pf-strip-node.is-pending {
  opacity: 0.75;
}
.pf-step-command-deck .pf-step-strip-row .pf-strip-node.is-pending:hover {
  opacity: 1;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  user-select: none;
  flex-wrap: wrap;
}
.pagination .pagination__item, .pagination .page-item {
  display: inline-flex;
}
.pagination .pagination__link, .pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--radius-sm, 6px);
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  font-size: var(--text-sm, 0.85rem);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-fast);
}
.pagination .pagination__link svg, .pagination .pagination__link i, .pagination .pagination__link [data-lucide], .pagination .page-link svg, .pagination .page-link i, .pagination .page-link [data-lucide] {
  width: 14px;
  height: 14px;
}
.pagination .pagination__link:hover:not(:disabled), .pagination .page-link:hover:not(:disabled) {
  background: var(--surface2);
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.pagination .pagination__link--active, .pagination .pagination__link.active, .pagination .page-link--active, .pagination .page-link.active {
  background: var(--text-primary);
  color: var(--text-inverse) !important;
  border-color: var(--text-primary);
  font-weight: 700;
}
.pagination .pagination__link--disabled, .pagination .pagination__link:disabled, .pagination .pagination__link.disabled, .pagination .page-link--disabled, .pagination .page-link:disabled, .pagination .page-link.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.avatar, .user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm, 0.86rem);
  flex-shrink: 0;
  background: var(--surface2);
  border: 2px solid var(--border-medium);
  color: var(--text-primary);
  overflow: hidden;
  position: relative;
  user-select: none;
}
.avatar img, .user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar__status, .avatar > .status-indicator, .user-avatar__status, .user-avatar > .status-indicator {
  position: absolute;
  bottom: 0;
  inset-inline-end: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--bg-card);
  background: var(--text-muted);
}
.avatar__status--online, .avatar__status.online, .avatar > .status-indicator--online, .avatar > .status-indicator.online, .user-avatar__status--online, .user-avatar__status.online, .user-avatar > .status-indicator--online, .user-avatar > .status-indicator.online {
  background: var(--success);
}
.avatar__status--offline, .avatar__status.offline, .avatar > .status-indicator--offline, .avatar > .status-indicator.offline, .user-avatar__status--offline, .user-avatar__status.offline, .user-avatar > .status-indicator--offline, .user-avatar > .status-indicator.offline {
  background: var(--text-muted);
}
.avatar__status--busy, .avatar__status.busy, .avatar > .status-indicator--busy, .avatar > .status-indicator.busy, .user-avatar__status--busy, .user-avatar__status.busy, .user-avatar > .status-indicator--busy, .user-avatar > .status-indicator.busy {
  background: var(--danger);
}

.avatar--xs, .avatar-xs {
  width: 26px;
  height: 26px;
  font-size: 0.7rem;
  border-width: 1.5px;
}

.avatar--sm, .avatar-sm {
  width: 32px;
  height: 32px;
  font-size: 0.78rem;
  border-width: 1.5px;
}

.avatar--lg, .avatar-lg {
  width: 48px;
  height: 48px;
  font-size: 1.1rem;
}

.avatar--xl, .avatar-xl {
  width: 64px;
  height: 64px;
  font-size: 1.4rem;
}

.avatar-group {
  display: inline-flex;
  align-items: center;
}
.avatar-group .avatar {
  margin-inline-start: -10px;
  border-color: var(--bg-card);
  transition: transform var(--transition-fast);
}
.avatar-group .avatar:first-child {
  margin-inline-start: 0;
}
.avatar-group .avatar:hover {
  z-index: 2;
  transform: translateY(-2px);
}

.store-logo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md, 14px);
  object-fit: cover;
  border: 1px solid var(--border-medium);
  background: var(--surface2);
  flex-shrink: 0;
}

.store-logo-placeholder {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md, 14px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface2) 0%, var(--surface3) 100%);
  border: 1px solid var(--border-medium);
  color: var(--accent);
  flex-shrink: 0;
}
.store-logo-placeholder svg, .store-logo-placeholder [data-lucide] {
  width: 26px;
  height: 26px;
}

.customer-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface3);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-avatar-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg, 14px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}
.brand-avatar-box svg, .brand-avatar-box i, .brand-avatar-box [data-lucide] {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}
.brand-avatar-box img, .brand-avatar-box .app-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  padding: 4px;
  display: block;
}
.brand-avatar-box--sm {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md, 11px);
}
.brand-avatar-box--sm svg, .brand-avatar-box--sm i, .brand-avatar-box--sm [data-lucide] {
  width: 18px;
  height: 18px;
}
.brand-avatar-box--lg {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-xl, 18px);
}
.brand-avatar-box--lg svg, .brand-avatar-box--lg i, .brand-avatar-box--lg [data-lucide] {
  width: 28px;
  height: 28px;
}

.store-avatar-container {
  position: relative;
  width: 68px;
  height: 68px;
  min-width: 68px;
  min-height: 68px;
  aspect-ratio: 1/1;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  box-sizing: border-box;
}
.store-avatar-container .store-avatar-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  border-radius: inherit;
  object-fit: cover;
  display: block;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.store-avatar-container .store-avatar-fallback {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  background: transparent;
  box-sizing: border-box;
}
.store-avatar-container .store-avatar-fallback svg, .store-avatar-container .store-avatar-fallback i, .store-avatar-container .store-avatar-fallback [data-lucide] {
  width: 30px;
  height: 30px;
  stroke-width: 1.8;
}
.store-avatar-container .avatar-verified-badge {
  position: absolute;
  bottom: -3px;
  inset-inline-end: -3px;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  aspect-ratio: 1/1;
  border-radius: var(--radius-full, 50%);
  background: linear-gradient(135deg, var(--success) 0%, var(--success-hover) 100%);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid var(--bg-card);
  box-shadow: var(--shadow-xs);
  z-index: 2;
  box-sizing: border-box;
  pointer-events: none;
}
.store-avatar-container .avatar-verified-badge svg, .store-avatar-container .avatar-verified-badge i, .store-avatar-container .avatar-verified-badge [data-lucide] {
  width: 11px;
  height: 11px;
  stroke-width: 3.5;
  display: block;
}
@media (max-width: 768px) {
  .store-avatar-container {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    border-radius: 16px;
  }
  .store-avatar-container .store-avatar-fallback svg, .store-avatar-container .store-avatar-fallback i, .store-avatar-container .store-avatar-fallback [data-lucide] {
    width: 24px;
    height: 24px;
  }
  .store-avatar-container .avatar-verified-badge {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    bottom: -2px;
    inset-inline-end: -2px;
    border-width: 2px;
  }
  .store-avatar-container .avatar-verified-badge svg, .store-avatar-container .avatar-verified-badge i, .store-avatar-container .avatar-verified-badge [data-lucide] {
    width: 10px;
    height: 10px;
  }
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
.spin, .spinner {
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

.spinner {
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--border-medium);
  border-top-color: var(--accent);
  border-radius: 50%;
}
.spinner--sm {
  width: 14px;
  height: 14px;
  border-width: 2px;
}
.spinner--lg {
  width: 36px;
  height: 36px;
  border-width: 3px;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  backdrop-filter: blur(6px);
  z-index: var(--z-modal, 1050);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  animation: fadeInOverlay 0.2s ease-out;
}

@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.loading-card, .loading-box {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg, 14px);
  padding: 32px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.loading-card .loading-icon-wrap, .loading-box .loading-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-card .loading-icon-wrap .loading-icon, .loading-card .loading-icon-wrap svg, .loading-card .loading-icon-wrap [data-lucide], .loading-box .loading-icon-wrap .loading-icon, .loading-box .loading-icon-wrap svg, .loading-box .loading-icon-wrap [data-lucide] {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.loading-title {
  font-size: var(--text-base, 1rem);
  font-weight: 700;
  color: var(--text-primary);
}

.loading-sub {
  font-size: var(--text-xs, 0.8rem);
  color: var(--text-muted);
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.skeleton {
  background: linear-gradient(90deg, var(--surface2) 25%, var(--surface3) 50%, var(--surface2) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.6s ease-in-out infinite;
  border-radius: var(--radius-sm, 6px);
  display: block;
  line-height: 1;
}
.skeleton--text, .skeleton-text {
  height: 12px;
  margin-bottom: 8px;
  width: 100%;
}
.skeleton--text.w-75, .skeleton-text.w-75 {
  width: 75%;
}
.skeleton--text.w-50, .skeleton-text.w-50 {
  width: 50%;
}
.skeleton--text.w-25, .skeleton-text.w-25 {
  width: 25%;
}
.skeleton--circle, .skeleton-circle {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.skeleton--box, .skeleton-box {
  height: 140px;
  width: 100%;
  border-radius: var(--radius-md, 10px);
}
.skeleton--kpi, .skeleton-kpi {
  height: 140px;
  border-radius: var(--radius-2xl, 28px);
}
.skeleton--chart, .skeleton-chart {
  height: 320px;
  border-radius: var(--radius-2xl, 28px);
}

.loading-box--hero {
  height: 140px !important;
}
.loading-box--kpi {
  height: 140px !important;
  border-radius: var(--radius-2xl, 28px) !important;
}
.loading-box--chart {
  height: 320px !important;
  border-radius: var(--radius-2xl, 28px) !important;
}
.loading-box--banner {
  height: 130px !important;
}
.loading-box--card-sm {
  height: 140px !important;
}
.loading-box--card-md {
  height: 200px !important;
}
.loading-box--card-lg {
  height: 260px !important;
}
.loading-box--row {
  height: 52px !important;
}
.loading-box--sm {
  height: 28px !important;
}
.loading-box.w-80 {
  width: 80% !important;
}
.loading-box.w-75 {
  width: 75% !important;
}
.loading-box.w-70 {
  width: 70% !important;
}
.loading-box.w-60 {
  width: 60% !important;
}

.skeleton-kpi {
  height: 140px;
  border-radius: var(--radius-2xl, 28px);
}

.skeleton-chart {
  height: 320px;
  border-radius: var(--radius-2xl, 28px);
}

.loading-steps, .save-steps-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  text-align: start;
  width: 100%;
}

.loading-step, .save-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm, 0.84rem);
  padding: 6px 12px;
  border-radius: var(--radius-xs, 4px);
  background: var(--surface2);
  color: var(--text-muted);
}
.loading-step.done, .save-step.done {
  color: var(--success);
}
.loading-step.active, .save-step.active {
  color: var(--accent);
  font-weight: 600;
}

.empty-state, .empty-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8, 36px) var(--space-5, 20px);
  width: 100%;
}
.empty-state .empty-state__icon, .empty-state .empty-icon, .empty-state .empty-svg, .empty-box .empty-state__icon, .empty-box .empty-icon, .empty-box .empty-svg {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-bottom: var(--space-4, 16px);
  flex-shrink: 0;
}
.empty-state .empty-state__icon svg, .empty-state .empty-state__icon i, .empty-state .empty-state__icon [data-lucide], .empty-state .empty-icon svg, .empty-state .empty-icon i, .empty-state .empty-icon [data-lucide], .empty-state .empty-svg svg, .empty-state .empty-svg i, .empty-state .empty-svg [data-lucide], .empty-box .empty-state__icon svg, .empty-box .empty-state__icon i, .empty-box .empty-state__icon [data-lucide], .empty-box .empty-icon svg, .empty-box .empty-icon i, .empty-box .empty-icon [data-lucide], .empty-box .empty-svg svg, .empty-box .empty-svg i, .empty-box .empty-svg [data-lucide] {
  width: 28px;
  height: 28px;
  stroke-width: 1.75;
}
.empty-state .empty-state__title, .empty-state .empty-title, .empty-box .empty-state__title, .empty-box .empty-title {
  font-size: var(--text-base, 1rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.empty-state .empty-state__desc, .empty-state .empty-state__sub, .empty-state .empty-sub, .empty-box .empty-state__desc, .empty-box .empty-state__sub, .empty-box .empty-sub {
  font-size: var(--text-sm, 0.85rem);
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: var(--space-5, 20px);
  line-height: 1.5;
}
.empty-state .empty-state__action, .empty-state .empty-actions, .empty-box .empty-state__action, .empty-box .empty-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
  flex-wrap: wrap;
  justify-content: center;
}
.empty-state--card, .empty-box--card {
  background: var(--bg-card);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-lg, 14px);
}

.empty-state-card, .empty-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8, 36px) var(--space-5, 20px);
  width: 100%;
  background: var(--bg-card);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-lg, 14px);
}
.empty-state-card .empty-icon-wrap, .empty-card .empty-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--surface2);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.empty-state-card .empty-icon-wrap svg, .empty-state-card .empty-icon-wrap [data-lucide], .empty-card .empty-icon-wrap svg, .empty-card .empty-icon-wrap [data-lucide] {
  width: 28px;
  height: 28px;
}
.empty-state-card .empty-icon-wrap--accent, .empty-card .empty-icon-wrap--accent {
  background: var(--accent-subtle);
  color: var(--accent);
}

.empty-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--surface2);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.empty-icon-wrap svg, .empty-icon-wrap [data-lucide] {
  width: 28px;
  height: 28px;
}
.empty-icon-wrap--accent {
  background: var(--accent-subtle);
  color: var(--accent);
}

.toolbar, .filters-bar, .filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3, 12px);
  margin-bottom: var(--space-4, 16px);
  width: 100%;
  position: relative;
  z-index: 10;
}
.toolbar:has(.is-open), .toolbar:has(.dropdown.is-open), .toolbar:has(.custom-select-dropdown-container.is-open), .toolbar:has(.btn-custom-select.is-open), .filters-bar:has(.is-open), .filters-bar:has(.dropdown.is-open), .filters-bar:has(.custom-select-dropdown-container.is-open), .filters-bar:has(.btn-custom-select.is-open), .filter-toolbar:has(.is-open), .filter-toolbar:has(.dropdown.is-open), .filter-toolbar:has(.custom-select-dropdown-container.is-open), .filter-toolbar:has(.btn-custom-select.is-open) {
  z-index: 120;
}
.toolbar .toolbar__start, .toolbar .toolbar-start, .filters-bar .toolbar__start, .filters-bar .toolbar-start, .filter-toolbar .toolbar__start, .filter-toolbar .toolbar-start {
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
  flex-wrap: wrap;
}
.toolbar .toolbar__end, .toolbar .toolbar-end, .toolbar .filters-right, .toolbar .topbar-right, .filters-bar .toolbar__end, .filters-bar .toolbar-end, .filters-bar .filters-right, .filters-bar .topbar-right, .filter-toolbar .toolbar__end, .filter-toolbar .toolbar-end, .filter-toolbar .filters-right, .filter-toolbar .topbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
  flex-wrap: wrap;
  margin-inline-start: auto;
}
.toolbar .toolbar__search, .filters-bar .toolbar__search, .filter-toolbar .toolbar__search {
  min-width: 240px;
  max-width: 360px;
  flex: 1 1 auto;
}
@media (max-width: 576px) {
  .toolbar .toolbar__search, .filters-bar .toolbar__search, .filter-toolbar .toolbar__search {
    max-width: 100%;
    width: 100%;
  }
}
.toolbar .toolbar__group, .toolbar .time-filter-controls-group, .toolbar .status-filter-controls-group, .filters-bar .toolbar__group, .filters-bar .time-filter-controls-group, .filters-bar .status-filter-controls-group, .filter-toolbar .toolbar__group, .filter-toolbar .time-filter-controls-group, .filter-toolbar .status-filter-controls-group {
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
  flex-wrap: wrap;
}
@media (max-width: 767.98px) {
  .toolbar, .filters-bar, .filter-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .toolbar .search-wrap, .toolbar .toolbar__search, .filters-bar .search-wrap, .filters-bar .toolbar__search, .filter-toolbar .search-wrap, .filter-toolbar .toolbar__search {
    width: 100%;
    max-width: 100%;
  }
  .toolbar .filter-controls-row, .filters-bar .filter-controls-row, .filter-toolbar .filter-controls-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
  }
  .toolbar .filter-controls-row .custom-select-dropdown-container, .toolbar .filter-controls-row .filter-sel, .filters-bar .filter-controls-row .custom-select-dropdown-container, .filters-bar .filter-controls-row .filter-sel, .filter-toolbar .filter-controls-row .custom-select-dropdown-container, .filter-toolbar .filter-controls-row .filter-sel {
    flex: 1;
    min-height: 42px;
  }
  .toolbar .filters-right, .toolbar .toolbar__end, .toolbar .toolbar-end, .filters-bar .filters-right, .filters-bar .toolbar__end, .filters-bar .toolbar-end, .filter-toolbar .filters-right, .filter-toolbar .toolbar__end, .filter-toolbar .toolbar-end {
    margin-inline-start: 0;
  }
}

.chips-carousel-wrapper, .smart-scroll-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  padding-bottom: 4px;
}
.chips-carousel-wrapper::-webkit-scrollbar, .smart-scroll-wrap::-webkit-scrollbar {
  display: none;
}
@media (max-width: 767.98px) {
  .chips-carousel-wrapper .stats-row.chip-filter-viewport, .smart-scroll-wrap .stats-row.chip-filter-viewport {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-padding: 6px;
    gap: 8px !important;
    margin-bottom: 0 !important;
    padding-bottom: 2px !important;
  }
  .chips-carousel-wrapper .stats-row.chip-filter-viewport::-webkit-scrollbar, .smart-scroll-wrap .stats-row.chip-filter-viewport::-webkit-scrollbar {
    display: none;
  }
  .chips-carousel-wrapper .stats-row.chip-filter-viewport .stat-card, .smart-scroll-wrap .stats-row.chip-filter-viewport .stat-card {
    flex: 0 0 auto !important;
    min-width: 130px !important;
    max-width: 155px !important;
    min-height: 80px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    scroll-snap-align: start;
  }
  .chips-carousel-wrapper .stats-row.chip-filter-viewport .stat-card .kpi-header, .smart-scroll-wrap .stats-row.chip-filter-viewport .stat-card .kpi-header {
    gap: 6px;
    margin-bottom: 4px;
  }
  .chips-carousel-wrapper .stats-row.chip-filter-viewport .stat-card .kpi-title, .smart-scroll-wrap .stats-row.chip-filter-viewport .stat-card .kpi-title {
    font-size: 0.72rem !important;
  }
  .chips-carousel-wrapper .stats-row.chip-filter-viewport .stat-card .kpi-icon, .smart-scroll-wrap .stats-row.chip-filter-viewport .stat-card .kpi-icon {
    width: 26px !important;
    height: 26px !important;
    font-size: 13px !important;
  }
  .chips-carousel-wrapper .stats-row.chip-filter-viewport .stat-card .kpi-val, .smart-scroll-wrap .stats-row.chip-filter-viewport .stat-card .kpi-val {
    font-size: 1.15rem !important;
    font-weight: 800;
  }
}

.btn-chip-scroll,
.btn-pill-scroll,
.btn-filter-scroll,
.btn-time-scroll {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast, all 0.2s);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  z-index: 5;
}
.btn-chip-scroll:hover:not(:disabled),
.btn-pill-scroll:hover:not(:disabled),
.btn-filter-scroll:hover:not(:disabled),
.btn-time-scroll:hover:not(:disabled) {
  background: var(--surface3);
  border-color: var(--accent);
  transform: scale(1.08);
}
.btn-chip-scroll.is-disabled, .btn-chip-scroll:disabled,
.btn-pill-scroll.is-disabled,
.btn-pill-scroll:disabled,
.btn-filter-scroll.is-disabled,
.btn-filter-scroll:disabled,
.btn-time-scroll.is-disabled,
.btn-time-scroll:disabled {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: scale(0.6) !important;
  width: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

.pills-carousel-wrapper,
.filter-carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  position: relative;
}

.chip-filter-viewport,
.pill-filter-viewport,
.filter-viewport {
  flex: 1;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  border-radius: var(--radius-sm, 10px);
  padding: 3px 0;
}
.chip-filter-viewport::-webkit-scrollbar,
.pill-filter-viewport::-webkit-scrollbar,
.filter-viewport::-webkit-scrollbar {
  display: none;
}

.chip-filter-strip,
.pill-filter-strip,
.filter-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px;
  flex-wrap: nowrap;
  height: 100%;
}

.odt-mobile-footer,
.mobile-action-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1010;
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-drawer);
}

.bulk-bar {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 760px);
  z-index: var(--z-sticky, 1020);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-full, 9999px);
  box-shadow: var(--shadow-xl);
  animation: bulkBarSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.bulk-bar .bulk-info {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bulk-bar .bulk-info .btn-clear-selection {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0 4px;
  transition: color var(--transition-fast);
}
.bulk-bar .bulk-info .btn-clear-selection:hover {
  color: var(--danger);
}
.bulk-bar .bulk-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bulk-bar .bulk-actions .btn {
  border-radius: var(--radius-full, 9999px);
  font-weight: 700;
}
@media (max-width: 640px) {
  .bulk-bar {
    width: calc(100vw - 28px);
    padding: 12px 16px;
    flex-direction: column;
    border-radius: var(--radius-xl, 20px);
    gap: 10px;
  }
  .bulk-bar .bulk-actions {
    width: 100%;
    justify-content: space-between;
  }
  .bulk-bar .bulk-actions .btn {
    flex: 1;
    font-size: 0.78rem;
    padding-inline: 8px;
  }
}

@keyframes bulkBarSlideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}
.products-mobile-bottom-bar {
  position: fixed;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  inset-inline: 14px;
  z-index: 1020;
  background: var(--surface, var(--bg-card));
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl, 20px);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 14px;
}
.products-mobile-bottom-bar .pmb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}
.products-mobile-bottom-bar .pmb-bulk-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--text-primary);
}
.products-mobile-bottom-bar .pmb-bulk-info .btn-cancel-select {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface2);
  border: none;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.products-mobile-bottom-bar .pmb-bulk-info .btn-cancel-select svg, .products-mobile-bottom-bar .pmb-bulk-info .btn-cancel-select [data-lucide] {
  width: 13px;
  height: 13px;
}
.products-mobile-bottom-bar .pmb-bulk-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}
.products-mobile-bottom-bar .pmb-bulk-btns .btn-bulk-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  min-height: 36px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: none;
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}
.products-mobile-bottom-bar .pmb-bulk-btns .btn-bulk-icon svg, .products-mobile-bottom-bar .pmb-bulk-btns .btn-bulk-icon [data-lucide] {
  width: 14px;
  height: 14px;
}
.products-mobile-bottom-bar .pmb-bulk-btns .btn-bulk-icon:hover {
  background: var(--surface3);
}
.products-mobile-bottom-bar .pmb-bulk-btns .btn-bulk-icon.text-danger {
  color: var(--danger);
}
.products-mobile-bottom-bar .pmb-bulk-btns .btn-bulk-icon.text-danger:hover {
  background: var(--danger-subtle);
}

.controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  width: 100%;
}

.date-input {
  height: 38px;
  padding: 6px 14px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface2);
  border: none !important;
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 600;
  outline: none;
  box-shadow: var(--shadow-xs);
  transition: all 0.18s ease;
}
.date-input:focus {
  box-shadow: 0 0 0 2px var(--accent-glow);
}

.category-filter-bar {
  width: 100%;
}
.category-filter-bar .category-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.category-filter-bar .category-filter-label {
  font-size: var(--text-xs, 0.76rem);
  color: var(--text-muted);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.category-filter-bar .category-filter-label svg, .category-filter-bar .category-filter-label [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--accent);
}
.category-filter-bar .category-chips-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 0 4px;
}
.category-filter-bar .category-chips-strip::-webkit-scrollbar {
  display: none;
}
.category-filter-bar .category-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: none !important;
  color: var(--text-secondary);
  font-size: var(--text-xs, 0.78rem);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast, 0.2s ease);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
  user-select: none;
}
.category-filter-bar .category-chip-btn .category-chip-icon {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: color var(--transition-fast, 0.2s ease);
  flex-shrink: 0;
}
.category-filter-bar .category-chip-btn .category-chip-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  transition: all var(--transition-fast, 0.2s ease);
}
.category-filter-bar .category-chip-btn:hover {
  background: var(--surface3);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}
.category-filter-bar .category-chip-btn:hover .category-chip-icon {
  color: var(--accent);
}
.category-filter-bar .category-chip-btn.is-active {
  background: var(--surface3);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}
.category-filter-bar .category-chip-btn.is-active::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-inline-end: 2px;
}
.category-filter-bar .category-chip-btn.is-active .category-chip-icon {
  color: var(--accent);
}
.category-filter-bar .category-chip-btn.is-active .category-chip-badge {
  background: var(--accent);
  color: var(--text-inverse);
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3, 12px);
  margin-bottom: var(--space-4, 16px);
  width: 100%;
}
.filter-bar--compact {
  gap: var(--space-2, 8px);
  margin-bottom: var(--space-3, 12px);
}
.filter-bar--stacked {
  flex-direction: column;
  align-items: stretch;
}
.filter-bar--surface {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 10px);
  padding: var(--space-3, 12px) var(--space-4, 16px);
}
.filter-bar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
  flex-wrap: wrap;
  margin-inline-start: auto;
}
@media (max-width: 576px) {
  .filter-bar__actions {
    width: 100%;
    justify-content: flex-start;
    margin-inline-start: 0;
  }
}
.filter-bar__group {
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
  flex-wrap: wrap;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 240px;
  max-width: 360px;
  flex: 1 1 auto;
}
@media (max-width: 576px) {
  .search-field {
    max-width: 100%;
    width: 100%;
  }
}
.search-field__input {
  width: 100%;
  height: 38px;
  padding: 6px 14px;
  padding-inline-start: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm, 6px);
  font-size: var(--text-sm, 0.86rem);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition-fast);
}
.search-field__input::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}
.search-field__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.search-field__icon {
  position: absolute;
  inset-inline-start: 11px;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
  stroke-width: 2;
}
.search-field__clear {
  position: absolute;
  inset-inline-end: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-field__clear:hover {
  color: var(--text-primary);
}

.date-range-box {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 10px);
  flex: 1.5;
  min-width: 210px;
  color: var(--text);
}
.date-range-box .range-icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
  flex-shrink: 0;
}
.date-range-box .date-field {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.date-range-box .date-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}
.date-range-box .date-input {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 0.78rem;
  outline: none;
  width: 100%;
}
.date-range-box .date-sep {
  color: var(--muted);
  font-size: 0.8rem;
}
.date-range-box .btn-clear-date {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
}
.date-range-box .btn-clear-date svg, .date-range-box .btn-clear-date i {
  width: 13px;
  height: 13px;
}
.date-range-box .btn-clear-date:hover {
  color: var(--danger);
}

.date-picker-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-full, 9999px);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast, all 0.18s ease);
  flex: 0 0 auto;
}
.date-picker-box:hover {
  background: var(--surface3);
  border-color: var(--border-hover);
}
.date-picker-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
}
.date-picker-box .dp-icon {
  width: 16px;
  height: 16px;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.date-picker-box .dp-input {
  background: transparent;
  border: none !important;
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.date-picker-box .btn-clear-date {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}
.date-picker-box .btn-clear-date:hover {
  color: var(--danger);
}
.date-picker-box .btn-clear-date svg, .date-picker-box .btn-clear-date [data-lucide] {
  width: 14px;
  height: 14px;
}

.btn-filter-display-toggle {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-filter-display-toggle:hover {
  color: var(--text);
  border-color: var(--border2);
  background: var(--surface3);
}

.btn-status-dropdown {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 42px;
  width: 100%;
  padding: 0 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 10px);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  user-select: none;
}
.btn-status-dropdown:hover {
  background: var(--surface3);
  border-color: var(--border2);
  box-shadow: var(--shadow-md);
}
.btn-status-dropdown.is-open {
  border-color: var(--border2);
  box-shadow: 0 0 0 2px var(--accent-glow);
}
.btn-status-dropdown .btn-status-dd-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-status-dropdown .btn-status-dd-icon {
  width: 18px;
  height: 18px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-status-dropdown .btn-status-dd-arrow {
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-clear-search {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-end: 10px;
  background: none;
  border: none;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 4px;
  z-index: 2;
  transition: color var(--transition-fast);
}
.btn-clear-search:hover {
  color: var(--text-primary);
}
.btn-clear-search svg, .btn-clear-search [data-lucide] {
  width: 14px;
  height: 14px;
}

.time-filter-controls-group {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.time-filter-dropdown-container {
  position: relative;
  display: inline-block;
}
@media (max-width: 576px) {
  .time-filter-dropdown-container {
    flex: 1 1 auto;
    min-width: 140px;
  }
  .time-filter-dropdown-container .btn-time-dropdown {
    width: 100%;
  }
}

.btn-time-dropdown {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 38px;
  padding: 0 16px;
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full, 9999px);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-xs);
  user-select: none;
}
.btn-time-dropdown:hover {
  background: var(--surface3);
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.btn-time-dropdown.is-open {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 2px var(--accent-glow);
}

.btn-time-dd-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-time-dd-icon {
  width: 18px;
  height: 18px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-time-dd-label {
  letter-spacing: -0.2px;
}

.btn-time-dd-arrow {
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.time-dropdown-menu-card {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  min-width: 230px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 1050;
}

.time-dd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}

.time-dd-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.time-dd-active-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text);
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 20px;
}

.time-dd-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.time-dd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  text-align: start;
  transition: all 0.15s ease;
}
.time-dd-item:hover {
  background: var(--surface3);
  color: var(--text);
}
.time-dd-item.is-active {
  background: var(--surface2);
  color: var(--text);
  font-weight: 700;
}
.time-dd-item.is-active .time-dd-item-icon {
  color: var(--text);
}

.time-dd-item-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.time-dd-item-icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.time-dd-check {
  width: 16px;
  height: 16px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.time-tabs-carousel-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  position: relative;
  height: 38px;
}

.time-tabs-viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  border-radius: var(--radius-full, 9999px);
  padding: 0;
}
.time-tabs-viewport::-webkit-scrollbar {
  display: none;
}

.time-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full, 9999px);
  height: 38px;
  box-sizing: border-box;
}

.time-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 30px;
  padding: 0 14px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.time-tab .tab-opt-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.time-tab:hover:not(.active) {
  color: var(--text-primary);
  background: var(--surface3);
}
.time-tab:hover:not(.active) .tab-opt-icon {
  opacity: 1;
}
.time-tab.active {
  background: var(--text-primary);
  color: var(--text-inverse);
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.time-tab.active .tab-opt-icon {
  opacity: 1;
  color: var(--text-inverse);
}

.btn-time-scroll {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
  z-index: 5;
}
.btn-time-scroll:hover:not(:disabled) {
  background: var(--surface3);
  border-color: var(--border2);
  color: var(--text);
  transform: scale(1.08);
  box-shadow: var(--shadow-sm);
}
.btn-time-scroll.is-disabled, .btn-time-scroll:disabled {
  opacity: 0.22;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.btn-filter-display-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md, 10px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.btn-filter-display-toggle svg, .btn-filter-display-toggle [data-lucide] {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.btn-filter-display-toggle:hover {
  background: var(--surface3);
  color: var(--text-primary);
  border-color: var(--border-medium);
  transform: translateY(-1px);
}
.btn-filter-display-toggle:active {
  transform: scale(0.94);
}

.filters-panel {
  background: var(--surface);
  border: none;
  border-radius: var(--radius-2xl, 28px);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 15;
}
.filters-panel.is-elevated, .filters-panel:has(.is-open), .filters-panel:has(.custom-select-dropdown-container.is-open), .filters-panel:has(.btn-custom-select.is-open) {
  z-index: 150 !important;
}
.filters-panel .search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}
.filters-panel .search-row .search-box {
  position: relative;
  flex: 1 1 320px;
  max-width: 480px;
  min-width: 220px;
  display: flex;
  align-items: center;
}
.filters-panel .search-row .search-box input, .filters-panel .search-row .search-box .search-input {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  padding-inline-start: 46px;
  padding-inline-end: 40px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-full, 9999px);
  color: var(--text-primary);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}
.filters-panel .search-row .search-box input::placeholder, .filters-panel .search-row .search-box .search-input::placeholder {
  color: var(--text-muted);
}
.filters-panel .search-row .search-box input:focus, .filters-panel .search-row .search-box .search-input:focus {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.filters-panel .search-row .search-box .search-icon, .filters-panel .search-row .search-box span:first-child:not(.btn-clear-search) {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-start: 16px;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  line-height: 1;
}
.filters-panel .search-row .search-box .search-icon svg, .filters-panel .search-row .search-box .search-icon [data-lucide], .filters-panel .search-row .search-box .search-icon .lucide, .filters-panel .search-row .search-box .search-icon .lucide-search, .filters-panel .search-row .search-box span:first-child:not(.btn-clear-search) svg, .filters-panel .search-row .search-box span:first-child:not(.btn-clear-search) [data-lucide], .filters-panel .search-row .search-box span:first-child:not(.btn-clear-search) .lucide, .filters-panel .search-row .search-box span:first-child:not(.btn-clear-search) .lucide-search {
  position: static !important;
  inset-inline-start: auto !important;
  width: 18px !important;
  height: 18px !important;
  stroke-width: 2 !important;
  color: inherit;
  display: block;
  flex-shrink: 0;
}
.filters-panel .search-row .search-box .btn-clear-search {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-end: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.filters-panel .search-row .search-box .btn-clear-search svg, .filters-panel .search-row .search-box .btn-clear-search [data-lucide], .filters-panel .search-row .search-box .btn-clear-search .lucide {
  position: static !important;
  inset-inline-start: auto !important;
  width: 14px !important;
  height: 14px !important;
  color: inherit;
}
.filters-panel .search-row .search-box .btn-clear-search:hover {
  color: var(--text-primary);
  background: var(--surface3);
}
.filters-panel .search-row .btn-clear-filters, .filters-panel .search-row .btn-filter-reset {
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.filters-panel .search-row .btn-clear-filters svg, .filters-panel .search-row .btn-clear-filters i, .filters-panel .search-row .btn-clear-filters [data-lucide], .filters-panel .search-row .btn-filter-reset svg, .filters-panel .search-row .btn-filter-reset i, .filters-panel .search-row .btn-filter-reset [data-lucide] {
  width: 14px;
  height: 14px;
}
.filters-panel .search-row .btn-clear-filters:hover, .filters-panel .search-row .btn-filter-reset:hover {
  background: var(--surface3);
  color: var(--danger);
  border-color: var(--danger);
}
.filters-panel .search-row .selects-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
  flex-wrap: wrap;
  flex: 0 0 auto;
}
.filters-panel .search-row .selects-group .custom-select-dropdown-container {
  width: 230px;
  min-width: 200px;
  flex: 0 0 auto;
}
.filters-panel .search-row .selects-group .btn-custom-select {
  width: 100%;
  height: 44px;
  border-radius: var(--radius-full, 9999px);
  padding: 0 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-fast);
}
.filters-panel .search-row .selects-group .btn-custom-select:hover {
  background: var(--surface3);
}
.filters-panel .search-row .selects-group .btn-custom-select.is-open {
  background: var(--surface3);
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
}
.filters-panel .search-row .selects-group .btn-clear-filters, .filters-panel .search-row .selects-group .btn-filter-reset {
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.filters-panel .search-row .selects-group .btn-clear-filters svg, .filters-panel .search-row .selects-group .btn-clear-filters i, .filters-panel .search-row .selects-group .btn-clear-filters [data-lucide], .filters-panel .search-row .selects-group .btn-filter-reset svg, .filters-panel .search-row .selects-group .btn-filter-reset i, .filters-panel .search-row .selects-group .btn-filter-reset [data-lucide] {
  width: 14px;
  height: 14px;
}
.filters-panel .search-row .selects-group .btn-clear-filters:hover, .filters-panel .search-row .selects-group .btn-filter-reset:hover {
  background: var(--surface3);
  color: var(--danger);
  border-color: var(--danger);
}
.filters-panel .search-row .selects-group .date-picker-box {
  height: 44px;
  flex: 0 0 auto;
}
@media (max-width: 768px) {
  .filters-panel .search-row .selects-group {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }
  .filters-panel .search-row .selects-group .custom-select-dropdown-container,
  .filters-panel .search-row .selects-group .date-picker-box {
    flex: 1 1 100%;
    width: 100%;
  }
  .filters-panel .search-row .selects-group .view-toggle {
    width: 100%;
    justify-content: stretch;
  }
  .filters-panel .search-row .selects-group .view-toggle .vbtn {
    flex: 1;
    justify-content: center;
  }
}
.filters-panel .status-filter-controls-group {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding-top: 6px;
  border-top: none;
}
.filters-panel .status-filter-controls-group .chips-carousel-wrapper {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.filters-panel .status-filter-controls-group .filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: none;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.filters-panel .status-filter-controls-group .filter-chip .chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.filters-panel .status-filter-controls-group .filter-chip .chip-dot.dot-emerald {
  background: var(--success);
}
.filters-panel .status-filter-controls-group .filter-chip .chip-dot.dot-muted {
  background: var(--text-muted);
}
.filters-panel .status-filter-controls-group .filter-chip .chip-dot.dot-amber {
  background: var(--warning);
}
.filters-panel .status-filter-controls-group .filter-chip .chip-dot.dot-danger {
  background: var(--danger);
}
.filters-panel .status-filter-controls-group .filter-chip .chip-dot.dot-purple {
  background: var(--accent);
}
.filters-panel .status-filter-controls-group .filter-chip .chip-badge {
  padding: 2px 8px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.filters-panel .status-filter-controls-group .filter-chip:hover:not(.active) {
  background: var(--surface3);
  color: var(--text-primary);
}
.filters-panel .status-filter-controls-group .filter-chip.active {
  background: var(--surface3);
  color: var(--text-primary) !important;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
}
.filters-panel .status-filter-controls-group .filter-chip.active span:not(.chip-dot):not(.chip-badge) {
  color: var(--text-primary) !important;
}
.filters-panel .status-filter-controls-group .filter-chip.active svg, .filters-panel .status-filter-controls-group .filter-chip.active i, .filters-panel .status-filter-controls-group .filter-chip.active [data-lucide] {
  color: var(--text-primary) !important;
}
.filters-panel .status-filter-controls-group .filter-chip.active .chip-badge {
  background: var(--surface);
  color: var(--text-primary) !important;
}
.filters-panel .status-filter-controls-group .filter-chip--static {
  cursor: default;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  pointer-events: none;
}
.filters-panel .status-filter-controls-group .filter-chip.chip-reset {
  color: var(--danger);
  background: var(--danger-subtle);
  border: none;
}
.filters-panel .status-filter-controls-group .filter-chip.chip-reset:hover {
  background: var(--danger);
  color: var(--text-white);
}
.filters-panel .search-and-chips {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
}
.filters-panel .search-and-chips .search-box {
  position: relative;
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
}
.filters-panel .search-and-chips .search-box .search-input {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  padding-inline-start: 46px;
  padding-inline-end: 40px;
  background: var(--surface2);
  border: none;
  border-radius: var(--radius-full, 9999px);
  color: var(--text-primary);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition-fast);
}
.filters-panel .search-and-chips .search-box .search-input::placeholder {
  color: var(--text-muted);
}
.filters-panel .search-and-chips .search-box .search-input:focus {
  background: var(--surface3);
  box-shadow: 0 0 0 2px var(--accent-glow);
}
.filters-panel .search-and-chips .search-box .search-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-start: 16px;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}
.filters-panel .search-and-chips .search-box .clear-search-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-end: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.filters-panel .search-and-chips .search-box .clear-search-btn i, .filters-panel .search-and-chips .search-box .clear-search-btn [data-lucide] {
  width: 14px;
  height: 14px;
}
.filters-panel .search-and-chips .search-box .clear-search-btn:hover {
  color: var(--text-primary);
  background: var(--surface3);
}
.filters-panel .search-and-chips .chip-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.filters-panel .search-and-chips .chip-filter-row .chip-filter-btn {
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: none;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.filters-panel .search-and-chips .chip-filter-row .chip-filter-btn:hover:not(.active) {
  background: var(--surface3);
  color: var(--text-primary);
}
.filters-panel .search-and-chips .chip-filter-row .chip-filter-btn.active {
  background: var(--text-primary);
  color: var(--text-inverse) !important;
  border: none;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.filters-panel .view-and-mode-controls .view-mode-toggle, .filters-panel .view-and-mode-controls .view-toggle, .filters-panel .selects-group .view-mode-toggle, .filters-panel .selects-group .view-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--surface2);
  border-radius: var(--radius-full, 9999px);
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--border-subtle, transparent);
}
.filters-panel .view-and-mode-controls .view-mode-toggle .btn-view-mode, .filters-panel .view-and-mode-controls .view-mode-toggle .vbtn, .filters-panel .view-and-mode-controls .view-toggle .btn-view-mode, .filters-panel .view-and-mode-controls .view-toggle .vbtn, .filters-panel .selects-group .view-mode-toggle .btn-view-mode, .filters-panel .selects-group .view-mode-toggle .vbtn, .filters-panel .selects-group .view-toggle .btn-view-mode, .filters-panel .selects-group .view-toggle .vbtn {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-full, 9999px);
  background: transparent;
  border: none;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.filters-panel .view-and-mode-controls .view-mode-toggle .btn-view-mode i, .filters-panel .view-and-mode-controls .view-mode-toggle .btn-view-mode [data-lucide], .filters-panel .view-and-mode-controls .view-mode-toggle .vbtn i, .filters-panel .view-and-mode-controls .view-mode-toggle .vbtn [data-lucide], .filters-panel .view-and-mode-controls .view-toggle .btn-view-mode i, .filters-panel .view-and-mode-controls .view-toggle .btn-view-mode [data-lucide], .filters-panel .view-and-mode-controls .view-toggle .vbtn i, .filters-panel .view-and-mode-controls .view-toggle .vbtn [data-lucide], .filters-panel .selects-group .view-mode-toggle .btn-view-mode i, .filters-panel .selects-group .view-mode-toggle .btn-view-mode [data-lucide], .filters-panel .selects-group .view-mode-toggle .vbtn i, .filters-panel .selects-group .view-mode-toggle .vbtn [data-lucide], .filters-panel .selects-group .view-toggle .btn-view-mode i, .filters-panel .selects-group .view-toggle .btn-view-mode [data-lucide], .filters-panel .selects-group .view-toggle .vbtn i, .filters-panel .selects-group .view-toggle .vbtn [data-lucide] {
  width: 16px;
  height: 16px;
}
.filters-panel .view-and-mode-controls .view-mode-toggle .btn-view-mode:hover, .filters-panel .view-and-mode-controls .view-mode-toggle .vbtn:hover, .filters-panel .view-and-mode-controls .view-toggle .btn-view-mode:hover, .filters-panel .view-and-mode-controls .view-toggle .vbtn:hover, .filters-panel .selects-group .view-mode-toggle .btn-view-mode:hover, .filters-panel .selects-group .view-mode-toggle .vbtn:hover, .filters-panel .selects-group .view-toggle .btn-view-mode:hover, .filters-panel .selects-group .view-toggle .vbtn:hover {
  color: var(--text-primary);
}
.filters-panel .view-and-mode-controls .view-mode-toggle .btn-view-mode.active, .filters-panel .view-and-mode-controls .view-mode-toggle .vbtn.active, .filters-panel .view-and-mode-controls .view-toggle .btn-view-mode.active, .filters-panel .view-and-mode-controls .view-toggle .vbtn.active, .filters-panel .selects-group .view-mode-toggle .btn-view-mode.active, .filters-panel .selects-group .view-mode-toggle .vbtn.active, .filters-panel .selects-group .view-toggle .btn-view-mode.active, .filters-panel .selects-group .view-toggle .vbtn.active {
  background: var(--text-primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-xs);
}
.filters-panel .view-and-mode-controls .view-mode-toggle .btn-view-mode.active svg, .filters-panel .view-and-mode-controls .view-mode-toggle .btn-view-mode.active i, .filters-panel .view-and-mode-controls .view-mode-toggle .btn-view-mode.active [data-lucide], .filters-panel .view-and-mode-controls .view-mode-toggle .vbtn.active svg, .filters-panel .view-and-mode-controls .view-mode-toggle .vbtn.active i, .filters-panel .view-and-mode-controls .view-mode-toggle .vbtn.active [data-lucide], .filters-panel .view-and-mode-controls .view-toggle .btn-view-mode.active svg, .filters-panel .view-and-mode-controls .view-toggle .btn-view-mode.active i, .filters-panel .view-and-mode-controls .view-toggle .btn-view-mode.active [data-lucide], .filters-panel .view-and-mode-controls .view-toggle .vbtn.active svg, .filters-panel .view-and-mode-controls .view-toggle .vbtn.active i, .filters-panel .view-and-mode-controls .view-toggle .vbtn.active [data-lucide], .filters-panel .selects-group .view-mode-toggle .btn-view-mode.active svg, .filters-panel .selects-group .view-mode-toggle .btn-view-mode.active i, .filters-panel .selects-group .view-mode-toggle .btn-view-mode.active [data-lucide], .filters-panel .selects-group .view-mode-toggle .vbtn.active svg, .filters-panel .selects-group .view-mode-toggle .vbtn.active i, .filters-panel .selects-group .view-mode-toggle .vbtn.active [data-lucide], .filters-panel .selects-group .view-toggle .btn-view-mode.active svg, .filters-panel .selects-group .view-toggle .btn-view-mode.active i, .filters-panel .selects-group .view-toggle .btn-view-mode.active [data-lucide], .filters-panel .selects-group .view-toggle .vbtn.active svg, .filters-panel .selects-group .view-toggle .vbtn.active i, .filters-panel .selects-group .view-toggle .vbtn.active [data-lucide] {
  color: var(--text-inverse) !important;
}

.view-mode-toggle, .view-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--surface2);
  border-radius: var(--radius-full, 9999px);
  padding: 3px;
  gap: 3px;
  border: none;
  box-shadow: var(--shadow-xs);
}
.view-mode-toggle .btn-view-mode, .view-mode-toggle .vbtn, .view-toggle .btn-view-mode, .view-toggle .vbtn {
  min-width: 38px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-full, 9999px);
  background: transparent;
  border: none;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
}
.view-mode-toggle .btn-view-mode i, .view-mode-toggle .btn-view-mode [data-lucide], .view-mode-toggle .vbtn i, .view-mode-toggle .vbtn [data-lucide], .view-toggle .btn-view-mode i, .view-toggle .btn-view-mode [data-lucide], .view-toggle .vbtn i, .view-toggle .vbtn [data-lucide] {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  transition: color var(--transition-fast);
}
.view-mode-toggle .btn-view-mode .vbtn-badge, .view-mode-toggle .vbtn .vbtn-badge, .view-toggle .btn-view-mode .vbtn-badge, .view-toggle .vbtn .vbtn-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface3);
  color: var(--text-secondary);
  line-height: 1;
  transition: all var(--transition-fast);
}
.view-mode-toggle .btn-view-mode:hover, .view-mode-toggle .vbtn:hover, .view-toggle .btn-view-mode:hover, .view-toggle .vbtn:hover {
  color: var(--text-primary);
}
.view-mode-toggle .btn-view-mode:hover i, .view-mode-toggle .btn-view-mode:hover [data-lucide], .view-mode-toggle .vbtn:hover i, .view-mode-toggle .vbtn:hover [data-lucide], .view-toggle .btn-view-mode:hover i, .view-toggle .btn-view-mode:hover [data-lucide], .view-toggle .vbtn:hover i, .view-toggle .vbtn:hover [data-lucide] {
  color: var(--text-primary);
}
.view-mode-toggle .btn-view-mode:hover .vbtn-badge, .view-mode-toggle .vbtn:hover .vbtn-badge, .view-toggle .btn-view-mode:hover .vbtn-badge, .view-toggle .vbtn:hover .vbtn-badge {
  color: var(--text-primary);
  background: var(--border-medium);
}
.view-mode-toggle .btn-view-mode.active, .view-mode-toggle .vbtn.active, .view-toggle .btn-view-mode.active, .view-toggle .vbtn.active {
  background: var(--text-primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-xs);
}
.view-mode-toggle .btn-view-mode.active svg, .view-mode-toggle .btn-view-mode.active i, .view-mode-toggle .btn-view-mode.active [data-lucide], .view-mode-toggle .vbtn.active svg, .view-mode-toggle .vbtn.active i, .view-mode-toggle .vbtn.active [data-lucide], .view-toggle .btn-view-mode.active svg, .view-toggle .btn-view-mode.active i, .view-toggle .btn-view-mode.active [data-lucide], .view-toggle .vbtn.active svg, .view-toggle .vbtn.active i, .view-toggle .vbtn.active [data-lucide] {
  color: var(--text-inverse) !important;
}
.view-mode-toggle .btn-view-mode.active .vbtn-badge, .view-mode-toggle .vbtn.active .vbtn-badge, .view-toggle .btn-view-mode.active .vbtn-badge, .view-toggle .vbtn.active .vbtn-badge {
  background: var(--text-inverse);
  color: var(--text-primary);
}

.search-filters {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.search-filters .search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.search-filters .search-wrap .search-icon, .search-filters .search-wrap [data-lucide=search] {
  position: absolute;
  inset-inline-start: 14px;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}
.search-filters .search-wrap .search-input {
  width: 100%;
  height: 44px;
  padding-inline-start: 42px;
  padding-inline-end: 16px;
  background: var(--surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full, 9999px);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.search-filters .search-wrap .search-input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.search-filters .search-wrap .search-input::placeholder {
  color: var(--text-muted);
}

.chip-filter-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 4px 2px;
  margin: 0;
}
.chip-filter-strip .chip {
  padding: 7px 16px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface);
  border: 1px solid var(--border-medium);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
  white-space: nowrap;
}
.chip-filter-strip .chip:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: var(--surface2);
}
.chip-filter-strip .chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-inverse);
  box-shadow: var(--shadow-xs);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4, 16px);
  width: 100%;
}
.stack--xs {
  gap: var(--space-1, 4px);
}
.stack--sm {
  gap: var(--space-2, 8px);
}
.stack--md {
  gap: var(--space-3, 12px);
}
.stack--lg {
  gap: var(--space-5, 20px);
}
.stack--xl {
  gap: var(--space-6, 24px);
}

.inline {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3, 12px);
}
.inline--nowrap {
  flex-wrap: nowrap;
}
.inline--between {
  justify-content: space-between;
}
.inline--center {
  justify-content: center;
}
.inline--end {
  justify-content: flex-end;
  margin-inline-start: auto;
}
.inline--start {
  justify-content: flex-start;
}
.inline--xs {
  gap: var(--space-1, 4px);
}
.inline--sm {
  gap: var(--space-2, 8px);
}
.inline--lg {
  gap: var(--space-4, 16px);
}
.inline--xl {
  gap: var(--space-5, 20px);
}

.grid,
.grid-2, .grid--2,
.grid-3, .grid--3,
.grid-4, .grid--4 {
  display: grid;
  gap: var(--space-6, 24px);
  width: 100%;
  min-width: 0;
}
.grid > *,
.grid-2 > *, .grid--2 > *,
.grid-3 > *, .grid--3 > *,
.grid-4 > *, .grid--4 > * {
  min-width: 0;
  max-width: 100%;
}

.grid-2, .grid--2, .grid.grid-2, .grid.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}
@media (max-width: 768px) {
  .grid-2, .grid--2, .grid.grid-2, .grid.grid--2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

.grid-3, .grid--3, .grid.grid-3, .grid.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
@media (max-width: 1100px) {
  .grid-3, .grid--3, .grid.grid-3, .grid.grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .grid-3, .grid--3, .grid.grid-3, .grid.grid--3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

.grid-4, .grid--4, .grid.grid-4, .grid.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
@media (max-width: 1200px) {
  .grid-4, .grid--4, .grid.grid-4, .grid.grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .grid-4, .grid--4, .grid.grid-4, .grid.grid--4 {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

.grid--auto-fit {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid--sm {
  gap: var(--space-2, 8px);
}

.grid--lg {
  gap: var(--space-6, 24px);
}

.section {
  margin-bottom: var(--space-6, 24px);
  width: 100%;
}
.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3, 12px);
  margin-bottom: var(--space-4, 16px);
}
.section__title {
  font-size: var(--text-lg, 1.15rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
}
.section__description {
  font-size: var(--text-sm, 0.85rem);
  color: var(--text-muted);
  margin-top: var(--space-1, 4px);
  line-height: 1.45;
}
.section__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
  flex-wrap: wrap;
}
.section__body {
  width: 100%;
}

.action-group {
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
  flex-wrap: wrap;
}
.action-group--end {
  justify-content: flex-end;
  margin-inline-start: auto;
}
.action-group--between {
  justify-content: space-between;
  width: 100%;
}
.action-group--sm {
  gap: var(--space-1, 4px);
}

.page-header,
.content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4, 16px);
  margin-bottom: var(--space-6, 24px);
  padding: 0 0 var(--space-5, 20px);
  border-bottom: 1px solid var(--border-subtle);
}
.page-header .header-info,
.content-header .header-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.page-header .store-avatar-wrap,
.page-header .store-logo-wrap,
.content-header .store-avatar-wrap,
.content-header .store-logo-wrap {
  position: relative;
  flex-shrink: 0;
}
.page-header .store-avatar-wrap .store-logo,
.page-header .store-avatar-wrap .store-logo-placeholder,
.page-header .store-logo-wrap .store-logo,
.page-header .store-logo-wrap .store-logo-placeholder,
.content-header .store-avatar-wrap .store-logo,
.content-header .store-avatar-wrap .store-logo-placeholder,
.content-header .store-logo-wrap .store-logo,
.content-header .store-logo-wrap .store-logo-placeholder {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl, 18px);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-medium);
  transition: all var(--transition-fast);
}
.page-header .store-avatar-wrap .store-logo-placeholder,
.page-header .store-logo-wrap .store-logo-placeholder,
.content-header .store-avatar-wrap .store-logo-placeholder,
.content-header .store-logo-wrap .store-logo-placeholder {
  background: linear-gradient(135deg, var(--surface2) 0%, var(--surface3, var(--surface2)) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}
.page-header .store-avatar-wrap .store-logo-placeholder svg, .page-header .store-avatar-wrap .store-logo-placeholder i, .page-header .store-avatar-wrap .store-logo-placeholder [data-lucide],
.page-header .store-logo-wrap .store-logo-placeholder svg,
.page-header .store-logo-wrap .store-logo-placeholder i,
.page-header .store-logo-wrap .store-logo-placeholder [data-lucide],
.content-header .store-avatar-wrap .store-logo-placeholder svg,
.content-header .store-avatar-wrap .store-logo-placeholder i,
.content-header .store-avatar-wrap .store-logo-placeholder [data-lucide],
.content-header .store-logo-wrap .store-logo-placeholder svg,
.content-header .store-logo-wrap .store-logo-placeholder i,
.content-header .store-logo-wrap .store-logo-placeholder [data-lucide] {
  width: 26px;
  height: 26px;
  stroke-width: 2;
  color: var(--text-primary);
}
.page-header > .header-info > .store-logo,
.page-header > .header-info > .store-logo-placeholder,
.content-header > .header-info > .store-logo,
.content-header > .header-info > .store-logo-placeholder {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl, 18px);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-medium);
}
.page-header .header-text-block,
.content-header .header-text-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.page-header .header-title-row,
.content-header .header-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.page-header .page-title,
.content-header .page-title {
  font-size: clamp(1.28rem, 2.4vw, 1.6rem);
  font-weight: 850;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.25;
}
.page-header .page-title .text-accent,
.content-header .page-title .text-accent {
  color: var(--text-primary);
  position: relative;
}
.page-header .header-meta-row,
.content-header .header-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.page-header .badge-status-pill,
.page-header .badge-verified,
.content-header .badge-status-pill,
.content-header .badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  transition: all var(--transition-fast);
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid var(--success-border);
}
.page-header .badge-status-pill .status-pulse-dot,
.page-header .badge-verified .status-pulse-dot,
.content-header .badge-status-pill .status-pulse-dot,
.content-header .badge-verified .status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  display: inline-block;
  animation: pulse-glow 2s infinite ease-in-out;
}
.page-header .badge-status-pill--active,
.page-header .badge-verified--active,
.content-header .badge-status-pill--active,
.content-header .badge-verified--active {
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid var(--success-border);
}
.page-header .badge-status-pill--pending,
.page-header .badge-verified--pending,
.content-header .badge-status-pill--pending,
.content-header .badge-verified--pending {
  background: var(--warning-subtle);
  color: var(--warning);
  border: 1px solid var(--warning-border);
}
.page-header .badge-status-pill--warning,
.page-header .badge-verified--warning,
.content-header .badge-status-pill--warning,
.content-header .badge-verified--warning {
  background: var(--danger-subtle);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}
.page-header .badge-status-pill svg, .page-header .badge-status-pill i, .page-header .badge-status-pill [data-lucide],
.page-header .badge-verified svg,
.page-header .badge-verified i,
.page-header .badge-verified [data-lucide],
.content-header .badge-status-pill svg,
.content-header .badge-status-pill i,
.content-header .badge-status-pill [data-lucide],
.content-header .badge-verified svg,
.content-header .badge-verified i,
.content-header .badge-verified [data-lucide] {
  width: 13px;
  height: 13px;
  color: inherit;
}
.page-header .badge-country-pill,
.page-header .badge--country,
.content-header .badge-country-pill,
.content-header .badge--country {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  white-space: nowrap;
}
.page-header .badge-country-pill .country-flag,
.page-header .badge--country .country-flag,
.content-header .badge-country-pill .country-flag,
.content-header .badge--country .country-flag {
  width: 17px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: var(--shadow-xs);
}
.page-header .header-store-slug,
.content-header .header-store-slug {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  direction: ltr;
}
.page-header .header-store-slug svg, .page-header .header-store-slug i, .page-header .header-store-slug [data-lucide],
.content-header .header-store-slug svg,
.content-header .header-store-slug i,
.content-header .header-store-slug [data-lucide] {
  width: 13px;
  height: 13px;
  color: var(--text-muted);
}
.page-header .header-actions,
.content-header .header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
@media (max-width: 576px) {
  .page-header .header-actions,
  .content-header .header-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
.page-header .header-actions .btn-header-action,
.content-header .header-actions .btn-header-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}
.page-header .header-actions .btn-header-action svg, .page-header .header-actions .btn-header-action i, .page-header .header-actions .btn-header-action [data-lucide],
.content-header .header-actions .btn-header-action svg,
.content-header .header-actions .btn-header-action i,
.content-header .header-actions .btn-header-action [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.page-header .header-actions .btn-header-action:hover,
.content-header .header-actions .btn-header-action:hover {
  background: var(--surface2);
  border-color: var(--border-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.page-header .header-actions .btn-header-action:hover svg, .page-header .header-actions .btn-header-action:hover i, .page-header .header-actions .btn-header-action:hover [data-lucide],
.content-header .header-actions .btn-header-action:hover svg,
.content-header .header-actions .btn-header-action:hover i,
.content-header .header-actions .btn-header-action:hover [data-lucide] {
  color: var(--text-primary);
}
.page-header .header-actions .btn-header-action:active,
.content-header .header-actions .btn-header-action:active {
  transform: translateY(0);
}
.page-header .header-actions .btn-header-action--preview,
.content-header .header-actions .btn-header-action--preview {
  background: var(--text-primary);
  color: var(--text-inverse);
  border-color: var(--text-primary);
}
.page-header .header-actions .btn-header-action--preview svg, .page-header .header-actions .btn-header-action--preview i, .page-header .header-actions .btn-header-action--preview [data-lucide],
.content-header .header-actions .btn-header-action--preview svg,
.content-header .header-actions .btn-header-action--preview i,
.content-header .header-actions .btn-header-action--preview [data-lucide] {
  color: var(--text-inverse);
}
.page-header .header-actions .btn-header-action--preview:hover,
.content-header .header-actions .btn-header-action--preview:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--text-inverse);
}
.page-header--executive, .executive-header, .page-header.executive-header,
.content-header--executive,
.content-header.executive-header {
  background: var(--bg-card) !important;
  border: none !important;
  border-radius: var(--radius-2xl, 24px) !important;
  padding: 24px 28px !important;
  margin-bottom: var(--space-6, 24px) !important;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  transition: box-shadow var(--transition-normal);
}
.page-header--executive .header-main-group, .executive-header .header-main-group, .page-header.executive-header .header-main-group,
.content-header--executive .header-main-group,
.content-header.executive-header .header-main-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  position: relative;
  z-index: 1;
  flex: 1 1 320px;
  min-width: 0;
}
@media (max-width: 576px) {
  .page-header--executive .header-main-group, .executive-header .header-main-group, .page-header.executive-header .header-main-group,
  .content-header--executive .header-main-group,
  .content-header.executive-header .header-main-group {
    flex-wrap: nowrap;
    gap: 12px;
  }
}
.page-header--executive .store-avatar-container, .executive-header .store-avatar-container, .page-header.executive-header .store-avatar-container,
.content-header--executive .store-avatar-container,
.content-header.executive-header .store-avatar-container {
  width: 68px;
  height: 68px;
  min-width: 68px;
  min-height: 68px;
  aspect-ratio: 1/1;
  position: relative;
  flex-shrink: 0;
}
.page-header--executive .store-avatar-container .store-avatar-img, .executive-header .store-avatar-container .store-avatar-img,
.page-header--executive .store-avatar-container .store-avatar-fallback,
.executive-header .store-avatar-container .store-avatar-fallback, .page-header.executive-header .store-avatar-container .store-avatar-img,
.page-header.executive-header .store-avatar-container .store-avatar-fallback,
.content-header--executive .store-avatar-container .store-avatar-img,
.content-header--executive .store-avatar-container .store-avatar-fallback,
.content-header.executive-header .store-avatar-container .store-avatar-img,
.content-header.executive-header .store-avatar-container .store-avatar-fallback {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  background: var(--surface2);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-sizing: border-box;
}
.page-header--executive .store-avatar-container .store-avatar-fallback, .executive-header .store-avatar-container .store-avatar-fallback, .page-header.executive-header .store-avatar-container .store-avatar-fallback,
.content-header--executive .store-avatar-container .store-avatar-fallback,
.content-header.executive-header .store-avatar-container .store-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  background: var(--surface2);
}
.page-header--executive .store-avatar-container .store-avatar-fallback svg, .executive-header .store-avatar-container .store-avatar-fallback svg, .page-header--executive .store-avatar-container .store-avatar-fallback i, .executive-header .store-avatar-container .store-avatar-fallback i, .page-header--executive .store-avatar-container .store-avatar-fallback [data-lucide], .executive-header .store-avatar-container .store-avatar-fallback [data-lucide], .page-header.executive-header .store-avatar-container .store-avatar-fallback svg, .page-header.executive-header .store-avatar-container .store-avatar-fallback i, .page-header.executive-header .store-avatar-container .store-avatar-fallback [data-lucide],
.content-header--executive .store-avatar-container .store-avatar-fallback svg,
.content-header--executive .store-avatar-container .store-avatar-fallback i,
.content-header--executive .store-avatar-container .store-avatar-fallback [data-lucide],
.content-header.executive-header .store-avatar-container .store-avatar-fallback svg,
.content-header.executive-header .store-avatar-container .store-avatar-fallback i,
.content-header.executive-header .store-avatar-container .store-avatar-fallback [data-lucide] {
  width: 30px;
  height: 30px;
  stroke-width: 1.8;
}
.page-header--executive .store-avatar-container .avatar-verified-badge, .executive-header .store-avatar-container .avatar-verified-badge, .page-header.executive-header .store-avatar-container .avatar-verified-badge,
.content-header--executive .store-avatar-container .avatar-verified-badge,
.content-header.executive-header .store-avatar-container .avatar-verified-badge {
  position: absolute;
  bottom: -3px;
  inset-inline-end: -3px;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  aspect-ratio: 1/1;
  border-radius: var(--radius-full, 50%);
  background: linear-gradient(135deg, var(--success) 0%, var(--success-hover) 100%);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid var(--bg-card);
  box-shadow: var(--shadow-xs);
  z-index: 2;
  box-sizing: border-box;
  pointer-events: none;
}
.page-header--executive .store-avatar-container .avatar-verified-badge svg, .executive-header .store-avatar-container .avatar-verified-badge svg, .page-header--executive .store-avatar-container .avatar-verified-badge i, .executive-header .store-avatar-container .avatar-verified-badge i, .page-header--executive .store-avatar-container .avatar-verified-badge [data-lucide], .executive-header .store-avatar-container .avatar-verified-badge [data-lucide], .page-header.executive-header .store-avatar-container .avatar-verified-badge svg, .page-header.executive-header .store-avatar-container .avatar-verified-badge i, .page-header.executive-header .store-avatar-container .avatar-verified-badge [data-lucide],
.content-header--executive .store-avatar-container .avatar-verified-badge svg,
.content-header--executive .store-avatar-container .avatar-verified-badge i,
.content-header--executive .store-avatar-container .avatar-verified-badge [data-lucide],
.content-header.executive-header .store-avatar-container .avatar-verified-badge svg,
.content-header.executive-header .store-avatar-container .avatar-verified-badge i,
.content-header.executive-header .store-avatar-container .avatar-verified-badge [data-lucide] {
  width: 11px;
  height: 11px;
  stroke-width: 3.5;
  display: block;
}
.page-header--executive .header-content-stack, .executive-header .header-content-stack, .page-header.executive-header .header-content-stack,
.content-header--executive .header-content-stack,
.content-header.executive-header .header-content-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.page-header--executive .header-eyebrow, .executive-header .header-eyebrow, .page-header.executive-header .header-eyebrow,
.content-header--executive .header-eyebrow,
.content-header.executive-header .header-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.page-header--executive .header-eyebrow .eyebrow-chip, .executive-header .header-eyebrow .eyebrow-chip, .page-header.executive-header .header-eyebrow .eyebrow-chip,
.content-header--executive .header-eyebrow .eyebrow-chip,
.content-header.executive-header .header-eyebrow .eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.74rem;
}
.page-header--executive .header-eyebrow .eyebrow-chip .status-pulse-dot, .executive-header .header-eyebrow .eyebrow-chip .status-pulse-dot, .page-header.executive-header .header-eyebrow .eyebrow-chip .status-pulse-dot,
.content-header--executive .header-eyebrow .eyebrow-chip .status-pulse-dot,
.content-header.executive-header .header-eyebrow .eyebrow-chip .status-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
  animation: pulse-glow 2s infinite ease-in-out;
}
.page-header--executive .header-eyebrow .eyebrow-country, .executive-header .header-eyebrow .eyebrow-country, .page-header.executive-header .header-eyebrow .eyebrow-country,
.content-header--executive .header-eyebrow .eyebrow-country,
.content-header.executive-header .header-eyebrow .eyebrow-country {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.74rem;
}
.page-header--executive .header-eyebrow .eyebrow-country .eyebrow-flag, .executive-header .header-eyebrow .eyebrow-country .eyebrow-flag, .page-header.executive-header .header-eyebrow .eyebrow-country .eyebrow-flag,
.content-header--executive .header-eyebrow .eyebrow-country .eyebrow-flag,
.content-header.executive-header .header-eyebrow .eyebrow-country .eyebrow-flag {
  width: 16px;
  height: 11px;
  border-radius: 2px;
  object-fit: cover;
}
.page-header--executive .header-eyebrow .eyebrow-tier, .executive-header .header-eyebrow .eyebrow-tier, .page-header.executive-header .header-eyebrow .eyebrow-tier,
.content-header--executive .header-eyebrow .eyebrow-tier,
.content-header.executive-header .header-eyebrow .eyebrow-tier {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.74rem;
}
.page-header--executive .header-eyebrow .eyebrow-tier svg, .executive-header .header-eyebrow .eyebrow-tier svg, .page-header--executive .header-eyebrow .eyebrow-tier i, .executive-header .header-eyebrow .eyebrow-tier i, .page-header--executive .header-eyebrow .eyebrow-tier [data-lucide], .executive-header .header-eyebrow .eyebrow-tier [data-lucide], .page-header.executive-header .header-eyebrow .eyebrow-tier svg, .page-header.executive-header .header-eyebrow .eyebrow-tier i, .page-header.executive-header .header-eyebrow .eyebrow-tier [data-lucide],
.content-header--executive .header-eyebrow .eyebrow-tier svg,
.content-header--executive .header-eyebrow .eyebrow-tier i,
.content-header--executive .header-eyebrow .eyebrow-tier [data-lucide],
.content-header.executive-header .header-eyebrow .eyebrow-tier svg,
.content-header.executive-header .header-eyebrow .eyebrow-tier i,
.content-header.executive-header .header-eyebrow .eyebrow-tier [data-lucide] {
  width: 12px;
  height: 12px;
  color: var(--warning);
}
.page-header--executive .executive-title, .executive-header .executive-title, .page-header.executive-header .executive-title,
.content-header--executive .executive-title,
.content-header.executive-header .executive-title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.page-header--executive .executive-title .store-name-highlight, .executive-header .executive-title .store-name-highlight, .page-header.executive-header .executive-title .store-name-highlight,
.content-header--executive .executive-title .store-name-highlight,
.content-header.executive-header .executive-title .store-name-highlight {
  color: var(--text-primary);
  font-weight: 900;
}
.page-header--executive .executive-title .wave-emoji, .executive-header .executive-title .wave-emoji, .page-header.executive-header .executive-title .wave-emoji,
.content-header--executive .executive-title .wave-emoji,
.content-header.executive-header .executive-title .wave-emoji {
  display: inline-block;
  transform-origin: 70% 70%;
  animation: wave-animation 2.5s infinite ease-in-out;
}
.page-header--executive .header-subtitle, .executive-header .header-subtitle, .page-header.executive-header .header-subtitle,
.content-header--executive .header-subtitle,
.content-header.executive-header .header-subtitle {
  font-size: 0.83rem;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}
.page-header--executive .header-store-url-box, .executive-header .header-store-url-box, .page-header.executive-header .header-store-url-box,
.content-header--executive .header-store-url-box,
.content-header.executive-header .header-store-url-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px 4px 12px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  width: fit-content;
  margin-top: 4px;
  transition: all var(--transition-fast);
}
.page-header--executive .header-store-url-box .url-icon, .executive-header .header-store-url-box .url-icon, .page-header.executive-header .header-store-url-box .url-icon,
.content-header--executive .header-store-url-box .url-icon,
.content-header.executive-header .header-store-url-box .url-icon {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.page-header--executive .header-store-url-box .url-text, .executive-header .header-store-url-box .url-text, .page-header.executive-header .header-store-url-box .url-text,
.content-header--executive .header-store-url-box .url-text,
.content-header.executive-header .header-store-url-box .url-text {
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--text-secondary);
  direction: ltr;
  font-family: var(--font-mono, monospace);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 240px;
}
.page-header--executive .header-store-url-box .url-copy-badge, .executive-header .header-store-url-box .url-copy-badge, .page-header.executive-header .header-store-url-box .url-copy-badge,
.content-header--executive .header-store-url-box .url-copy-badge,
.content-header.executive-header .header-store-url-box .url-copy-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 9999px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.7rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}
.page-header--executive .header-store-url-box .url-copy-badge svg, .executive-header .header-store-url-box .url-copy-badge svg, .page-header--executive .header-store-url-box .url-copy-badge i, .executive-header .header-store-url-box .url-copy-badge i, .page-header--executive .header-store-url-box .url-copy-badge [data-lucide], .executive-header .header-store-url-box .url-copy-badge [data-lucide], .page-header.executive-header .header-store-url-box .url-copy-badge svg, .page-header.executive-header .header-store-url-box .url-copy-badge i, .page-header.executive-header .header-store-url-box .url-copy-badge [data-lucide],
.content-header--executive .header-store-url-box .url-copy-badge svg,
.content-header--executive .header-store-url-box .url-copy-badge i,
.content-header--executive .header-store-url-box .url-copy-badge [data-lucide],
.content-header.executive-header .header-store-url-box .url-copy-badge svg,
.content-header.executive-header .header-store-url-box .url-copy-badge i,
.content-header.executive-header .header-store-url-box .url-copy-badge [data-lucide] {
  width: 11px;
  height: 11px;
}
.page-header--executive .header-store-url-box:hover, .executive-header .header-store-url-box:hover, .page-header.executive-header .header-store-url-box:hover,
.content-header--executive .header-store-url-box:hover,
.content-header.executive-header .header-store-url-box:hover {
  background: var(--surface3, var(--surface2));
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.page-header--executive .header-store-url-box:hover .url-copy-badge, .executive-header .header-store-url-box:hover .url-copy-badge, .page-header.executive-header .header-store-url-box:hover .url-copy-badge,
.content-header--executive .header-store-url-box:hover .url-copy-badge,
.content-header.executive-header .header-store-url-box:hover .url-copy-badge {
  background: var(--text-primary);
  color: var(--text-inverse);
}
.page-header--executive .header-controls-group, .executive-header .header-controls-group, .page-header.executive-header .header-controls-group,
.content-header--executive .header-controls-group,
.content-header.executive-header .header-controls-group {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .page-header--executive .header-controls-group, .executive-header .header-controls-group, .page-header.executive-header .header-controls-group,
  .content-header--executive .header-controls-group,
  .content-header.executive-header .header-controls-group {
    width: 100%;
    justify-content: stretch;
  }
}
@media (max-width: 768px) {
  .page-header--executive .btn-executive-preview, .executive-header .btn-executive-preview,
  .page-header--executive .btn-executive-primary,
  .executive-header .btn-executive-primary,
  .page-header--executive .btn-executive-save,
  .executive-header .btn-executive-save, .page-header.executive-header .btn-executive-preview,
  .page-header.executive-header .btn-executive-primary,
  .page-header.executive-header .btn-executive-save,
  .content-header--executive .btn-executive-preview,
  .content-header--executive .btn-executive-primary,
  .content-header--executive .btn-executive-save,
  .content-header.executive-header .btn-executive-preview,
  .content-header.executive-header .btn-executive-primary,
  .content-header.executive-header .btn-executive-save {
    flex: 1;
  }
}
@media (max-width: 768px) {
  .page-header--executive .btn-executive-secondary, .executive-header .btn-executive-secondary, .page-header.executive-header .btn-executive-secondary,
  .content-header--executive .btn-executive-secondary,
  .content-header.executive-header .btn-executive-secondary {
    flex: 0 0 auto;
  }
}
@media (max-width: 768px) {
  .page-header--executive, .executive-header, .page-header.executive-header,
  .content-header--executive,
  .content-header.executive-header {
    padding: 16px 16px !important;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: var(--space-3, 12px) !important;
  }
  .page-header--executive .header-main-group, .executive-header .header-main-group, .page-header.executive-header .header-main-group,
  .content-header--executive .header-main-group,
  .content-header.executive-header .header-main-group {
    flex: 0 0 auto;
    width: 100%;
    gap: 14px;
    align-items: flex-start;
    flex-wrap: nowrap;
  }
  .page-header--executive .header-content-stack, .executive-header .header-content-stack, .page-header.executive-header .header-content-stack,
  .content-header--executive .header-content-stack,
  .content-header.executive-header .header-content-stack {
    flex: 1;
    min-width: 0;
    gap: 4px;
  }
  .page-header--executive .executive-title, .executive-header .executive-title, .page-header.executive-header .executive-title,
  .content-header--executive .executive-title,
  .content-header.executive-header .executive-title {
    font-size: 1.22rem;
    line-height: 1.25;
  }
  .page-header--executive .header-subtitle, .executive-header .header-subtitle, .page-header.executive-header .header-subtitle,
  .content-header--executive .header-subtitle,
  .content-header.executive-header .header-subtitle {
    font-size: 0.78rem;
    line-height: 1.35;
  }
  .page-header--executive .header-controls-group, .executive-header .header-controls-group, .page-header.executive-header .header-controls-group,
  .content-header--executive .header-controls-group,
  .content-header.executive-header .header-controls-group {
    margin-top: 0;
    gap: 8px;
  }
  .page-header--executive .store-avatar-container, .executive-header .store-avatar-container, .page-header.executive-header .store-avatar-container,
  .content-header--executive .store-avatar-container,
  .content-header.executive-header .store-avatar-container {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    border-radius: 16px;
  }
  .page-header--executive .store-avatar-container .store-avatar-img, .executive-header .store-avatar-container .store-avatar-img,
  .page-header--executive .store-avatar-container .store-avatar-fallback,
  .executive-header .store-avatar-container .store-avatar-fallback, .page-header.executive-header .store-avatar-container .store-avatar-img,
  .page-header.executive-header .store-avatar-container .store-avatar-fallback,
  .content-header--executive .store-avatar-container .store-avatar-img,
  .content-header--executive .store-avatar-container .store-avatar-fallback,
  .content-header.executive-header .store-avatar-container .store-avatar-img,
  .content-header.executive-header .store-avatar-container .store-avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 16px;
  }
  .page-header--executive .store-avatar-container .avatar-verified-badge, .executive-header .store-avatar-container .avatar-verified-badge, .page-header.executive-header .store-avatar-container .avatar-verified-badge,
  .content-header--executive .store-avatar-container .avatar-verified-badge,
  .content-header.executive-header .store-avatar-container .avatar-verified-badge {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    bottom: -2px;
    inset-inline-end: -2px;
    border-width: 2px;
  }
  .page-header--executive .store-avatar-container .avatar-verified-badge svg, .executive-header .store-avatar-container .avatar-verified-badge svg, .page-header--executive .store-avatar-container .avatar-verified-badge i, .executive-header .store-avatar-container .avatar-verified-badge i, .page-header--executive .store-avatar-container .avatar-verified-badge [data-lucide], .executive-header .store-avatar-container .avatar-verified-badge [data-lucide], .page-header.executive-header .store-avatar-container .avatar-verified-badge svg, .page-header.executive-header .store-avatar-container .avatar-verified-badge i, .page-header.executive-header .store-avatar-container .avatar-verified-badge [data-lucide],
  .content-header--executive .store-avatar-container .avatar-verified-badge svg,
  .content-header--executive .store-avatar-container .avatar-verified-badge i,
  .content-header--executive .store-avatar-container .avatar-verified-badge [data-lucide],
  .content-header.executive-header .store-avatar-container .avatar-verified-badge svg,
  .content-header.executive-header .store-avatar-container .avatar-verified-badge i,
  .content-header.executive-header .store-avatar-container .avatar-verified-badge [data-lucide] {
    width: 10px;
    height: 10px;
  }
}
.page-header__main,
.content-header__main {
  flex: 1;
  min-width: 240px;
}
.page-header__title,
.content-header__title {
  font-size: var(--text-xl, 1.35rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
}
.page-header__subtitle,
.content-header__subtitle {
  font-size: var(--text-sm, 0.86rem);
  color: var(--text-muted);
  margin-top: var(--space-1, 4px);
  line-height: 1.4;
}
.page-header__actions,
.content-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
  flex-wrap: wrap;
}
.page-header__meta,
.content-header__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3, 12px);
  font-size: var(--text-xs, 0.78rem);
  color: var(--text-muted);
  margin-top: var(--space-2, 8px);
}

@media (max-width: 768px) {
  .executive-header.mb-4 {
    margin-bottom: var(--space-3, 12px) !important;
  }
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}
@keyframes wave-animation {
  0%, 100% {
    transform: rotate(0deg);
  }
  20%, 60% {
    transform: rotate(14deg);
  }
  40%, 80% {
    transform: rotate(-14deg);
  }
}
.content-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3, 12px);
  margin-top: var(--space-4, 16px);
  padding-top: var(--space-3, 12px);
  font-size: var(--text-xs, 0.78rem);
  color: var(--text-muted);
}

.mobile-bottom-bar, .products-mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-drawer);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 1010;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.mobile-bottom-bar .pmb-row, .products-mobile-bottom-bar .pmb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.mobile-bottom-bar .pmb-normal, .products-mobile-bottom-bar .pmb-normal {
  justify-content: space-between;
}
.mobile-bottom-bar .pmb-count-pill, .products-mobile-bottom-bar .pmb-count-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface2);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--border);
}
.mobile-bottom-bar .pmb-count-pill svg, .mobile-bottom-bar .pmb-count-pill [data-lucide], .products-mobile-bottom-bar .pmb-count-pill svg, .products-mobile-bottom-bar .pmb-count-pill [data-lucide] {
  width: 14px;
  height: 14px;
}
.mobile-bottom-bar .pmb-btn-add, .products-mobile-bottom-bar .pmb-btn-add {
  flex: 1;
  min-height: 48px;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 420px) {
  .mobile-bottom-bar .pmb-btn-add, .products-mobile-bottom-bar .pmb-btn-add {
    font-size: 0.88rem;
  }
}
.mobile-bottom-bar .pmb-bulk, .products-mobile-bottom-bar .pmb-bulk {
  justify-content: space-between;
}
.mobile-bottom-bar .pmb-bulk-info, .products-mobile-bottom-bar .pmb-bulk-info {
  display: flex;
  align-items: center;
  gap: 6px;
}
.mobile-bottom-bar .btn-cancel-select, .products-mobile-bottom-bar .btn-cancel-select {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
}
.mobile-bottom-bar .btn-cancel-select svg, .mobile-bottom-bar .btn-cancel-select [data-lucide], .products-mobile-bottom-bar .btn-cancel-select svg, .products-mobile-bottom-bar .btn-cancel-select [data-lucide] {
  width: 16px;
  height: 16px;
}
.mobile-bottom-bar .pmb-bulk-btns, .products-mobile-bottom-bar .pmb-bulk-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mobile-bottom-bar .btn-bulk-icon, .products-mobile-bottom-bar .btn-bulk-icon {
  min-height: 40px;
  padding: 0 16px;
  background: var(--surface2);
  border: none;
  border-radius: var(--radius-full, 9999px);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.mobile-bottom-bar .btn-bulk-icon:hover, .products-mobile-bottom-bar .btn-bulk-icon:hover {
  background: var(--surface3);
  color: var(--text-primary);
}
.mobile-bottom-bar .btn-bulk-icon svg, .mobile-bottom-bar .btn-bulk-icon [data-lucide], .products-mobile-bottom-bar .btn-bulk-icon svg, .products-mobile-bottom-bar .btn-bulk-icon [data-lucide] {
  width: 14px;
  height: 14px;
}
@media (max-width: 420px) {
  .mobile-bottom-bar .btn-bulk-icon span, .products-mobile-bottom-bar .btn-bulk-icon span {
    display: none;
  }
}

.dashboard-kpis-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
@media (max-width: 1200px) {
  .dashboard-kpis-row {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
  }
}
@media (max-width: 640px) {
  .dashboard-kpis-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.dashboard-analytics-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media (max-width: 1024px) {
  .dashboard-analytics-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

.stats-row, .kpis-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4, 16px);
  margin-bottom: var(--space-4, 20px);
}
.stats-row--3, .kpis-row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stats-row--4, .kpis-row--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stats-row--6, .kpis-row--6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
@media (max-width: 1200px) {
  .stats-row, .kpis-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (max-width: 576px) {
  .stats-row, .kpis-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

.grid-2-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
@media (max-width: 1024px) {
  .grid-2-1 {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

.quick-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.page-content,
.products-page-content,
.catalogs-page-content,
.orders-page-content,
.order-detail-page-content,
.apps-page,
.content-scroll {
  padding: 16px 20px;
  padding-bottom: 50px;
  width: 100%;
  position: relative;
}
@media (max-width: 768px) {
  .page-content,
  .products-page-content,
  .catalogs-page-content,
  .orders-page-content,
  .order-detail-page-content,
  .apps-page,
  .content-scroll {
    padding: 12px 14px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

.products-header,
.catalogs-header,
.orders-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.products-header .header-info,
.catalogs-header .header-info,
.orders-header .header-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.products-header .header-info .stat-icon,
.catalogs-header .header-info .stat-icon,
.orders-header .header-info .stat-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md, 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--surface2);
  border: 1px solid var(--border);
}
.products-header .header-info .stat-icon svg, .products-header .header-info .stat-icon i, .products-header .header-info .stat-icon [data-lucide],
.catalogs-header .header-info .stat-icon svg,
.catalogs-header .header-info .stat-icon i,
.catalogs-header .header-info .stat-icon [data-lucide],
.orders-header .header-info .stat-icon svg,
.orders-header .header-info .stat-icon i,
.orders-header .header-info .stat-icon [data-lucide] {
  width: 22px;
  height: 22px;
}
.products-header .header-info .page-title,
.catalogs-header .header-info .page-title,
.orders-header .header-info .page-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.products-header .header-info .page-title .badge,
.catalogs-header .header-info .page-title .badge,
.orders-header .header-info .page-title .badge {
  font-size: 0.8rem;
  padding: 3px 9px;
}
.products-header .header-info .header-subtitle,
.catalogs-header .header-info .header-subtitle,
.orders-header .header-info .header-subtitle {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 4px 0 0;
}
.products-header .header-actions,
.catalogs-header .header-actions,
.orders-header .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.products-header .header-actions .btn-create-catalog,
.catalogs-header .header-actions .btn-create-catalog,
.orders-header .header-actions .btn-create-catalog {
  height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-full, 9999px);
  background: var(--text-primary);
  color: var(--text-inverse);
  border: none;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.products-header .header-actions .btn-create-catalog i, .products-header .header-actions .btn-create-catalog [data-lucide],
.catalogs-header .header-actions .btn-create-catalog i,
.catalogs-header .header-actions .btn-create-catalog [data-lucide],
.orders-header .header-actions .btn-create-catalog i,
.orders-header .header-actions .btn-create-catalog [data-lucide] {
  width: 17px;
  height: 17px;
}
.products-header .header-actions .btn-create-catalog:hover,
.catalogs-header .header-actions .btn-create-catalog:hover,
.orders-header .header-actions .btn-create-catalog:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--accent);
  color: var(--text-inverse);
}
.products-header .header-actions .btn-create-catalog:active,
.catalogs-header .header-actions .btn-create-catalog:active,
.orders-header .header-actions .btn-create-catalog:active {
  transform: translateY(0);
}
@media (max-width: 767.98px) {
  .products-header,
  .catalogs-header,
  .orders-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
  }
  .products-header .header-actions,
  .catalogs-header .header-actions,
  .orders-header .header-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
@media (max-width: 420px) {
  .products-header .page-title,
  .catalogs-header .page-title,
  .orders-header .page-title {
    font-size: 1.15rem;
  }
}

.order-detail-container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: start;
  width: 100%;
  padding-bottom: 40px;
}
@media (max-width: 1100px) {
  .order-detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 767.98px) {
  .order-detail-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 80px;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.single-plan-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.single-plan-grid .plan-card {
  width: 100%;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
@media (max-width: 768px) {
  .usage-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.topbar, .pf-header {
  height: 68px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-xs);
}
.topbar .topbar-left, .pf-header .topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar .topbar-right, .pf-header .topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar .page-title-box, .pf-header .page-title-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.topbar .page-title, .topbar .topbar-title, .pf-header .page-title, .pf-header .topbar-title {
  font-size: var(--text-lg, 1.15rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}
.topbar .page-badge, .pf-header .page-badge {
  font-size: var(--text-2xs, 0.72rem);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface2);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}
@media (max-width: 768px) {
  .topbar, .pf-header {
    height: 60px;
    padding: 0 16px;
  }
  .topbar .page-title, .topbar .topbar-title, .pf-header .page-title, .pf-header .topbar-title {
    font-size: 1rem;
  }
}

.pf-body {
  display: flex;
  flex: 1;
  min-height: 0;
  height: calc(100vh - 68px);
  position: relative;
  overflow: hidden;
}

.pf-main {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
  min-height: 0;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}

.pf-inner {
  max-width: 740px;
  margin: 0 auto;
}

.pf-preview {
  width: 420px;
  flex-shrink: 0;
  background: var(--surface);
  border-inline-start: 1px solid var(--surface2);
  padding: 24px 20px;
  position: sticky;
  top: 0;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  -webkit-overflow-scrolling: touch;
}

.btn-preview-mobile {
  display: none;
}

@media (min-width: 1201px) and (max-width: 1380px) {
  .pf-preview {
    width: 380px;
    padding: 20px 16px;
  }
  .pf-main {
    padding: 24px 20px;
  }
}
@media (max-width: 1200px) {
  .pf-preview {
    display: none !important;
  }
  .btn-preview-mobile {
    display: inline-flex !important;
  }
  .pf-inner {
    max-width: 840px;
    margin: 0 auto;
  }
  .pf-main {
    padding: 24px 20px;
  }
}
@media (max-width: 768px) {
  .pf-main {
    padding: 16px 14px 125px !important;
  }
}
.settings-wrap {
  width: 100%;
  max-width: 100%;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
@media (min-width: 1101px) {
  .settings-wrap {
    flex-direction: row;
  }
  .settings-wrap > .smart-scroll-wrap {
    display: block;
    width: 210px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
  }
  .settings-wrap .tabs-nav {
    width: 210px;
    display: flex;
    flex-direction: column;
    overflow: visible;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 8px;
    gap: 3px;
  }
}
@media (max-width: 1100px) {
  .settings-wrap {
    flex-direction: column;
    gap: 16px;
  }
  .settings-wrap > .smart-scroll-wrap {
    position: sticky;
    top: 0;
    z-index: 20;
  }
}

.tab-content {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.theme-tab-container .editor-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 991.98px) {
  .theme-tab-container .editor-grid {
    grid-template-columns: 1fr;
  }
}
.theme-tab-container .preview-panel {
  position: sticky;
  top: 20px;
}
@media (max-width: 991.98px) {
  .theme-tab-container .preview-panel {
    position: static;
    max-width: 340px;
    margin: 0 auto;
  }
}

.dynamic-form-renderer {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dynamic-form-renderer .fields-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dynamic-form-renderer .dynamic-field-wrapper {
  margin-bottom: 12px;
}
.dynamic-form-renderer .dynamic-field-wrapper.has-error > .form-control, .dynamic-form-renderer .dynamic-field-wrapper.has-error > .form-select {
  border-color: var(--danger) !important;
}

.repeater-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.repeater-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ob-ambient-glow {
  position: fixed;
  top: -100px;
  inset-inline-end: 15%;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 32px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
@media (max-width: 768px) {
  .top-nav {
    padding: 0 16px;
  }
}
.top-nav .brand-link {
  text-decoration: none;
}
.top-nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-nav .brand-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
}
.top-nav .brand-text {
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-nav .brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}
.top-nav .brand-badge {
  background: var(--text);
  color: var(--surface);
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 6px;
}
.top-nav .nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-nav .nav-step-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}
.top-nav .ctrl-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}
.top-nav .ctrl-btn:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
}
.top-nav .ctrl-btn.ctrl-btn-danger {
  color: var(--danger);
  border-color: var(--danger-border);
}
.top-nav .ctrl-btn.ctrl-btn-danger:hover {
  background: var(--danger-subtle);
}
.top-nav .ctrl-btn-preview {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.ob-body {
  display: flex;
  flex: 1;
  min-height: calc(100vh - 68px);
  position: relative;
  z-index: 1;
}

.ob-main {
  flex: 1;
  padding: 36px 32px;
  overflow-y: auto;
}
@media (max-width: 768px) {
  .ob-main {
    padding: 20px 16px;
  }
}

.ob-inner {
  max-width: 760px;
  margin: 0 auto;
}

.ob-preview {
  width: 440px;
  flex-shrink: 0;
  padding: 36px 24px;
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
}
@media (max-width: 1200px) {
  .ob-preview {
    display: none !important;
  }
}

.preview-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  width: 100%;
}
.preview-title .preview-title-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm, 0.88rem);
  font-weight: 800;
  color: var(--text-primary);
}
.preview-title .preview-title-left svg, .preview-title .preview-title-left i, .preview-title .preview-title-left [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  display: inline-block;
  animation: livePulseGlow 2s infinite ease-in-out;
}

@keyframes livePulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
    box-shadow: 0 0 6px var(--success);
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
    box-shadow: 0 0 12px var(--success);
  }
}
.live-sync-badge {
  font-size: var(--text-2xs, 0.68rem);
  font-weight: 700;
  color: var(--success);
  background: var(--success-subtle);
  border: 1px solid var(--success-border);
  padding: 2px 8px;
  border-radius: var(--radius-full, 9999px);
  white-space: nowrap;
}

.preview-sub-bar {
  display: flex;
  align-items: center;
  background: var(--surface2);
  padding: 3px;
  border-radius: var(--radius-md, 10px);
  gap: 4px;
  border: 1px solid var(--border-subtle);
  width: 100%;
}

.preview-tab-pill {
  flex: 1;
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: var(--radius-sm, 7px);
  font-size: var(--text-xs, 0.78rem);
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.preview-tab-pill svg, .preview-tab-pill i, .preview-tab-pill [data-lucide] {
  width: 14px;
  height: 14px;
}
.preview-tab-pill:hover:not(.active) {
  color: var(--text-primary);
  background: var(--surface2);
}
.preview-tab-pill.active {
  background: var(--surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.preview-phone {
  background: var(--surface2);
  border: 1.5px solid var(--surface3, var(--border-medium));
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  width: 100%;
}
.preview-phone.preview-phone-mobile {
  max-width: 360px;
  margin: 0 auto;
}

.preview-browser-header {
  border-bottom: 1px solid var(--surface3, var(--border-subtle));
  background: var(--surface);
  display: flex;
  flex-direction: column;
}

.browser-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  background: var(--surface2);
  border-bottom: 1px solid var(--surface3, var(--border-subtle));
  gap: 8px;
}

.browser-window-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.b-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.b-dot-close {
  background: var(--danger);
}
.b-dot-min {
  background: var(--warning);
}
.b-dot-zoom {
  background: var(--success);
}

.browser-tab-cutout {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--surface3, var(--border-subtle));
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text);
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-tab-cutout .tab-duo-ic {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.browser-tab-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  flex-shrink: 0;
}
.browser-nav-actions .b-nav-btn {
  width: 12px;
  height: 12px;
  opacity: 0.65;
}

.browser-omnibox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: var(--surface);
}

.browser-ssl-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  background: var(--success-subtle);
  border: 1px solid var(--success-border);
  padding: 3px 6px;
  border-radius: 6px;
  flex-shrink: 0;
}
.browser-ssl-chip .ssl-lock-icon {
  width: 11px;
  height: 11px;
}

.browser-url-stream {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  font-family: "SF Mono", Monaco, Consolas, monospace;
  font-size: 0.75rem;
  overflow: hidden;
  gap: 4px;
}
.browser-url-stream .url-host {
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}
.browser-url-stream .browser-slug-badge {
  color: var(--info);
  font-weight: 800;
}

.browser-actions-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.browser-copy-btn {
  background: transparent;
  border: 1px solid var(--surface3, var(--border-subtle));
  color: var(--muted);
  cursor: pointer;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.browser-copy-btn:hover {
  color: var(--text);
  background: var(--surface2);
  border-color: var(--border-medium);
}
.browser-copy-btn svg, .browser-copy-btn [data-lucide] {
  width: 12px;
  height: 12px;
}

.preview-canvas-content {
  padding: 20px;
}

.preview-cover {
  height: 110px;
  width: 100%;
  position: relative;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.preview-cover .preview-cover-placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}
.preview-cover .preview-cover-placeholder svg, .preview-cover .preview-cover-placeholder i, .preview-cover .preview-cover-placeholder [data-lucide] {
  width: 28px;
  height: 28px;
}

.preview-store-header {
  padding: 0 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  position: relative;
  margin-top: -32px;
}

.preview-logo-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full, 9999px);
  border: 3px solid var(--surface2);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  flex-shrink: 0;
}
.preview-logo-wrap .preview-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview-logo-wrap .preview-logo-placeholder {
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.preview-store-name {
  font-size: 1.05rem;
  font-weight: 850;
  color: var(--text-primary);
  line-height: 1.25;
  margin-top: 4px;
  word-break: break-word;
}

.preview-store-bio {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 280px;
  margin: 0 auto;
  word-break: break-word;
}

.preview-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0;
}
.preview-meta-row .tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.preview-meta-row .tag.tag-info {
  background: var(--info-subtle);
  color: var(--info);
  border-color: var(--info-border);
}
.preview-meta-row .tag.tag-secondary {
  background: var(--surface3);
  color: var(--text-primary);
}
.preview-meta-row .tag .chip-flag {
  width: 14px;
  height: 10px;
  border-radius: 2px;
  object-fit: cover;
  display: inline-block;
}
.preview-meta-row .tag .preview-cat-ic {
  width: 11px;
  height: 11px;
}

.preview-cta-wrap {
  width: 100%;
  margin-top: 4px;
}
.preview-cta-wrap .preview-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 9px 14px;
  background: var(--success);
  color: var(--text-inverse);
  border-radius: var(--radius-md, 10px);
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}
.preview-cta-wrap .preview-wa-btn svg, .preview-cta-wrap .preview-wa-btn i, .preview-cta-wrap .preview-wa-btn [data-lucide] {
  width: 15px;
  height: 15px;
}

.preview-featured-wrap {
  width: 100%;
  margin-top: 14px;
  text-align: start;
}
.preview-featured-wrap .preview-featured-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.preview-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}

.preview-product-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 12px);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-fast, 0.2s ease);
}
.preview-product-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-medium);
}

.preview-product-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-sm, 8px);
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.preview-product-thumb .preview-product-svg {
  width: 32px !important;
  height: 32px !important;
  stroke-width: 1.8;
  opacity: 0.85;
}

.preview-product-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-product-price {
  font-size: 0.82rem;
  font-weight: 850;
  direction: ltr;
  text-align: start;
}

.storefront-card-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.storefront-product-card {
  width: 100%;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-subtle);
}
.storefront-product-card .storefront-card-media {
  position: relative;
  aspect-ratio: 1;
  background: var(--surface2);
  cursor: pointer;
  overflow: hidden;
}
.storefront-product-card .storefront-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.storefront-product-card .storefront-card-media .media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  gap: 6px;
}
.storefront-product-card .storefront-card-media .media-hover-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-white);
  opacity: 0;
  transition: opacity 0.2s ease;
  font-size: 0.8rem;
  font-weight: 700;
}
.storefront-product-card .storefront-card-media:hover .media-hover-overlay {
  opacity: 1;
}
.storefront-product-card .storefront-badges {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.storefront-product-card .badge-tag {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm, 6px);
  color: var(--text-white);
}
.storefront-product-card .badge-tag.tag-discount {
  background: var(--danger);
}
.storefront-product-card .badge-tag.tag-offer {
  background: var(--warning);
}
.storefront-product-card .storefront-card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.storefront-product-card .storefront-cat-pill {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}
.storefront-product-card .storefront-live-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}
.storefront-product-card .storefront-stars {
  color: var(--warning);
  font-size: 0.8rem;
}
.storefront-product-card .storefront-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.storefront-product-card .storefront-live-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}
.storefront-product-card .storefront-live-oldprice {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-inline-start: 6px;
}
.storefront-product-card .storefront-action-cart {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.storefront-product-card .storefront-action-cart:hover {
  transform: scale(1.06);
}

.storefront-page-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.storefront-page-wrap .page-hero-img {
  position: relative;
  aspect-ratio: 1;
  background: var(--surface);
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  cursor: pointer;
}
.storefront-page-wrap .page-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.storefront-page-wrap .page-discount-ribbon {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  background: var(--danger);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-sm, 6px);
  z-index: 2;
}
.storefront-page-wrap .page-thumbs-strip {
  display: flex;
  gap: 8px;
}
.storefront-page-wrap .page-thumb-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm, 6px);
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  border: 1px solid var(--border-subtle);
}
.storefront-page-wrap .page-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.storefront-page-wrap .page-thumb-box.active {
  box-shadow: 0 0 0 2px var(--text);
}
.storefront-page-wrap .storefront-page-live-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}
.storefront-page-wrap .stock-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--success);
}
.storefront-page-wrap .stock-live-badge .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}
.storefront-page-wrap .storefront-page-price-card {
  background: var(--surface);
  padding: 14px 18px;
  border-radius: var(--radius-md, 10px);
  margin: 10px 0;
  border: 1px solid var(--border-subtle);
}
.storefront-page-wrap .page-savings-tag {
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.sticky-mobile-bar, .pf-mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  background: var(--surface);
  box-shadow: var(--shadow-drawer);
  border-top: 1px solid var(--surface2);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  display: none;
  flex-direction: column;
  gap: 8px;
  z-index: 1010;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@media (max-width: 768px) {
  .sticky-mobile-bar, .pf-mobile-bottom-bar {
    display: flex;
  }
}

.pf-mb-info-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 10px;
  background: var(--surface2);
  border-radius: 20px;
  font-size: 0.76rem;
  border: 1px solid var(--surface3);
}
.pf-mb-info-strip .pf-mb-title {
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.pf-mb-info-strip .pf-mb-tag-ic {
  width: 12px;
  height: 12px;
  color: var(--muted);
  flex-shrink: 0;
}
.pf-mb-info-strip .pf-mb-price-pill {
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
  padding: 1px 8px;
  background: var(--surface3);
  border-radius: 12px;
}

.pf-mb-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.pf-mb-actions .btn-preview-square {
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: var(--radius-md, 10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pf-mb-actions .preview-pulse-dot {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.pf-mb-actions .btn-draft-action {
  flex: 1;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  border-radius: var(--radius-md, 10px);
  font-size: 0.88rem;
}
.pf-mb-actions .btn-publish-action {
  flex: 2;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 800;
  border-radius: var(--radius-md, 10px);
  font-size: 0.92rem;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.pf-preview-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: var(--overlay-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: pfFadeIn 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-preview-sheet {
  background: var(--surface);
  border: 1px solid var(--border-medium);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: pfScaleUp 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 576px) {
  .pf-preview-sheet {
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    max-height: 88vh;
    margin: 0;
  }
}

.pf-sheet-drag-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--border-strong);
  margin: 8px auto 0;
  flex-shrink: 0;
}

.pf-preview-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
  gap: 12px;
  flex-shrink: 0;
}
.pf-preview-sheet-header .card__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm, 0.9rem);
  font-weight: 800;
  margin: 0;
}

.btn-close-preview {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.btn-close-preview svg, .btn-close-preview i, .btn-close-preview [data-lucide] {
  width: 16px;
  height: 16px;
}
.btn-close-preview:hover {
  color: var(--text-primary);
  background: var(--surface3);
}

.pf-preview-sheet-body {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

.modal-backdrop--celebration, .celebration-modal-backdrop, .pf-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--overlay-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: pfFadeIn 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal--celebration, .celebration-modal, .pf-save-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 32px 28px 24px;
  box-shadow: var(--shadow-xl);
  animation: pfScaleUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.modal-close-btn, .pf-modal-close-btn {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border-subtle);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.modal-close-btn:hover, .pf-modal-close-btn:hover {
  background: var(--border-medium);
  color: var(--text);
  transform: scale(1.05);
}

.pf-modal-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.pf-success-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--success-subtle);
  border: 2px solid var(--success-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px var(--success-subtle);
  animation: pfPulseRing 2s infinite ease-in-out;
}

.pf-success-core {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
}

.pf-success-check-icon {
  width: 26px;
  height: 26px;
  stroke-width: 2.8;
}

.pf-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.pf-modal-product-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  max-width: 380px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: var(--surface2);
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
}

.pf-store-status-card {
  width: 100%;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 22px;
  text-align: right;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}
.pf-store-status-card.status-draft {
  background: var(--warning-subtle);
  border-color: var(--warning-border);
}
.pf-store-status-card.status-needs-edits {
  background: var(--surface2);
  border-color: var(--border2);
}
.pf-store-status-card.status-pending {
  background: var(--info-subtle);
  border-color: var(--info-border);
}
.pf-store-status-card.status-active {
  background: var(--success-subtle);
  border-color: var(--success-border);
}

.status-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.status-card-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.status-card-icon-wrap.bg-warning-glow {
  background: var(--warning-subtle);
}
.status-card-icon-wrap.bg-purple-glow {
  background: var(--surface3);
}
.status-card-icon-wrap.bg-info-glow {
  background: var(--info-subtle);
}
.status-card-icon-wrap.bg-success-glow {
  background: var(--success-subtle);
}

.status-card-details {
  flex-grow: 1;
  min-width: 0;
}

.status-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.status-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.status-card-p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
}

.pf-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.pf-modal-actions .pf-btn-submit-review {
  width: 100%;
  padding: 13px 20px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: all 0.2s ease;
}
.pf-modal-actions .pf-btn-submit-review:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px var(--accent-glow);
}
.pf-modal-actions .pf-btn-add-another {
  width: 100%;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.pf-modal-actions .pf-btn-preview-store {
  width: 100%;
  padding: 11px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pf-modal-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.pf-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.pf-footer-link:hover {
  color: var(--text);
}

.pf-footer-divider {
  color: var(--border-medium);
  font-size: 0.8rem;
}

@keyframes pfFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes pfScaleUp {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes pfPulseRing {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px var(--success-subtle);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 35px var(--success-border);
  }
}
.confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--overlay-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: pfFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.confirm-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow-xl);
  animation: pfScaleUp 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.confirm-card .confirm-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.confirm-card .confirm-icon.bg-danger-light {
  background: var(--danger-subtle);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}
.confirm-card .confirm-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
}
.confirm-card .confirm-sub {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.confirm-card .confirm-input {
  width: 100%;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text);
  font-weight: 700;
  outline: none;
  text-align: center;
  box-sizing: border-box;
}
.confirm-card .confirm-input:focus {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-subtle);
}
.confirm-card .confirm-btns {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}
.confirm-card .confirm-btns .btn {
  flex: 1;
  justify-content: center;
}

.thm-view-toggle {
  display: flex;
  background: var(--surface2);
  padding: 4px;
  border-radius: var(--radius-md, 10px);
  gap: 4px;
}
.thm-view-toggle .thm-toggle-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm, 6px);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.thm-view-toggle .thm-toggle-btn.active {
  background: var(--surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
}
.thm-view-toggle .thm-toggle-btn i, .thm-view-toggle .thm-toggle-btn svg, .thm-view-toggle .thm-toggle-btn [data-lucide] {
  width: 15px;
  height: 15px;
}

@media (max-width: 991.98px) {
  .thm-tab-hidden {
    display: none !important;
  }
}

.phone-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}
.phone-wrap .phone {
  width: 320px;
  border: 10px solid var(--surface3);
  border-radius: 40px;
  background: var(--bg-main);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.phone-wrap .phone-notch {
  width: 110px;
  height: 18px;
  background: var(--surface3);
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.phone-wrap .mock-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 16px;
  font-size: 0.68rem;
  color: var(--text-white);
  position: relative;
  z-index: 5;
}
.phone-wrap .mock-cover {
  height: 120px;
  position: relative;
  overflow: hidden;
}
.phone-wrap .mock-cover .mock-cover-bg {
  position: absolute;
  inset: 0;
}
.phone-wrap .mock-cover .mock-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-wrap .mock-cover .mock-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--overlay-bg) 0%, transparent 50%, var(--overlay-bg) 100%);
}
.phone-wrap .mock-cover .mock-topbar-icons {
  position: absolute;
  top: 8px;
  inset-inline-start: 10px;
  inset-inline-end: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 4;
}
.phone-wrap .mock-cover .mock-topbar-icons .mock-icon-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-wrap .mock-profile {
  padding: 0 16px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.phone-wrap .mock-logo-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--border);
  margin-top: -29px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-wrap .mock-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-wrap .mock-logo-wrap .mock-emoji-text {
  font-size: 1.8rem;
  line-height: 1;
}
.phone-wrap .mock-logo-wrap .mock-icon-view {
  width: 26px;
  height: 26px;
  color: var(--text-primary);
}
.phone-wrap .mock-logo-wrap .mock-icon-view svg, .phone-wrap .mock-logo-wrap .mock-icon-view [data-lucide] {
  width: 100%;
  height: 100%;
}
.phone-wrap .mock-store-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 8px;
}
.phone-wrap .mock-subtitle-text {
  font-size: 0.72rem;
  margin-top: 2px;
  font-weight: 600;
}
.phone-wrap .mock-bio-text {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.35;
}
.phone-wrap .mock-cta {
  margin-top: 10px;
  padding: 6px 18px;
  border-radius: 20px;
  border: none;
  color: var(--text-inverse);
  font-weight: 700;
  font-size: 0.72rem;
  cursor: pointer;
}
.phone-wrap .mock-divider {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
  margin: 12px 0;
}
.phone-wrap .mock-products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}
.phone-wrap .mock-products-grid .mock-product-card {
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  padding: 6px;
}
.phone-wrap .mock-products-grid .mock-product-img {
  aspect-ratio: 1;
  background: var(--surface2);
  border-radius: 6px;
  margin-bottom: 6px;
}
.phone-wrap .mock-products-grid .mock-product-line {
  height: 6px;
  width: 70%;
  background: var(--border-medium);
  border-radius: 3px;
  margin-bottom: 4px;
}
.phone-wrap .mock-products-grid .mock-product-price {
  height: 8px;
  width: 40%;
  border-radius: 3px;
}

.color-preview-pill {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
}
.color-preview-pill .color-pill-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--border);
}
.color-preview-pill .color-hex-code {
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--text-primary);
}

.mobile-preview-backdrop {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg, rgba(0, 0, 0, 0.72));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1090;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.mobile-preview-sheet {
  background: var(--surface);
  border-radius: 26px 26px 0 0;
  width: min(540px, 100vw);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-drawer);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom, 16px);
  animation: drawerSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-preview-sheet .mobile-sheet-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--surface);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-preview-sheet .sheet-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface2);
  border: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.mobile-preview-sheet .sheet-close-btn:hover {
  color: var(--text-primary);
  background: var(--surface3);
}
.mobile-preview-sheet .mobile-sheet-body {
  padding: 20px 16px;
  display: flex;
  justify-content: center;
}

.ai-prompt-studio-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1090;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.ai-prompt-studio-overlay.active {
  opacity: 1;
  visibility: visible;
}

.ai-prompt-studio-drawer {
  position: fixed;
  left: 0 !important;
  right: 0 !important;
  margin-inline: auto !important;
  bottom: 0 !important;
  width: min(780px, 100vw - 32px) !important;
  max-height: 90vh;
  background: var(--surface);
  border-radius: 26px 26px 0 0;
  box-shadow: var(--shadow-drawer);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  border: none !important;
}
.ai-prompt-studio-drawer.active {
  transform: translateY(0);
}

.aps-handle-bar {
  width: 100%;
  padding-top: 12px;
  padding-bottom: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: grab;
  flex-shrink: 0;
}
.aps-handle-bar .drawer-drag-handle {
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: var(--border-medium);
  transition: background 0.2s ease, width 0.2s ease;
}
.aps-handle-bar:hover .drawer-drag-handle {
  background: var(--text-muted);
  width: 54px;
}

.aps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 24px;
  padding-block: 8px 16px;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}
.aps-header .aps-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.aps-header .aps-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}
.aps-header .aps-icon-badge i {
  width: 22px;
  height: 22px;
}
.aps-header .aps-title-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.aps-header .aps-title-box .aps-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.aps-header .aps-title-box .aps-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}
.aps-header .aps-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface2);
  border: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.aps-header .aps-close-btn:hover {
  background: var(--surface3);
  color: var(--text-primary);
}

.aps-body {
  padding-inline: 24px;
  padding-block: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-grow: 1;
}
.aps-body::-webkit-scrollbar {
  width: 6px;
}
.aps-body::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 4px;
}

.aps-alert-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--danger-subtle) !important;
  border: 1px solid var(--danger-border) !important;
  border-inline-start: 4px solid var(--danger) !important;
  box-shadow: var(--shadow-xs);
  flex-shrink: 0 !important;
}
.aps-alert-banner .aps-alert-icon {
  color: var(--danger) !important;
  margin-top: 2px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aps-alert-banner .aps-alert-icon i, .aps-alert-banner .aps-alert-icon svg, .aps-alert-banner .aps-alert-icon [data-lucide] {
  width: 22px;
  height: 22px;
  color: var(--danger) !important;
}
.aps-alert-banner .aps-alert-content {
  flex: 1;
}
.aps-alert-banner .aps-alert-content .aps-alert-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--danger) !important;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.aps-alert-banner .aps-alert-content .aps-alert-text {
  font-size: 0.82rem;
  color: var(--text-primary) !important;
  margin: 0;
  line-height: 1.55;
}

.aps-visualizer-card {
  background: var(--surface2);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex !important;
  flex-direction: column !important;
  flex-shrink: 0 !important;
  min-height: 295px !important;
  height: auto !important;
  width: 100% !important;
}
.aps-visualizer-card .aps-visualizer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 16px;
  padding-block: 10px;
  background: var(--surface3);
  flex-shrink: 0 !important;
  min-height: 44px;
}
.aps-visualizer-card .aps-visualizer-head .aps-v-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.aps-visualizer-card .aps-visualizer-head .aps-v-label strong {
  color: var(--text-primary);
  font-weight: 800;
}
.aps-visualizer-card .aps-visualizer-head .aps-v-label i, .aps-visualizer-card .aps-visualizer-head .aps-v-label svg, .aps-visualizer-card .aps-visualizer-head .aps-v-label [data-lucide] {
  color: var(--accent);
  width: 16px;
  height: 16px;
}
.aps-visualizer-card .aps-visualizer-head .aps-v-tags {
  display: flex;
  gap: 6px;
}
.aps-visualizer-card .aps-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 250px !important;
  min-height: 250px !important;
  flex-shrink: 0 !important;
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.aps-visualizer-card .aps-canvas-wrapper canvas {
  display: block;
  width: 100% !important;
  height: 250px !important;
  min-height: 250px !important;
  object-fit: contain;
}
.aps-visualizer-card .aps-canvas-wrapper .aps-before-thumb-card {
  position: absolute;
  inset-inline-start: 14px;
  bottom: 14px;
  width: 84px;
  height: 104px;
  background: var(--surface);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.aps-visualizer-card .aps-canvas-wrapper .aps-before-thumb-card .aps-thumb-img {
  flex: 1;
  width: 100%;
  object-fit: cover;
  background: var(--surface3);
}
.aps-visualizer-card .aps-canvas-wrapper .aps-before-thumb-card .aps-thumb-badge {
  font-size: 0.64rem;
  font-weight: 700;
  background: var(--danger-subtle);
  color: var(--danger);
  text-align: center;
  padding-block: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.aps-visualizer-card .aps-canvas-wrapper .aps-after-target-badge {
  position: absolute;
  inset-inline-end: 14px;
  top: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--success-subtle);
  color: var(--success);
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 5;
}

.aps-section-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0 !important;
}

.aps-block-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.aps-block-title .aps-btn-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
}
.aps-block-title .aps-btn-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.aps-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.aps-pills-row .aps-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--surface2);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.aps-pills-row .aps-pill i {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  transition: color 0.18s ease;
}
.aps-pills-row .aps-pill:hover {
  background: var(--surface3);
  color: var(--text-primary);
  transform: translateY(-1px);
}
.aps-pills-row .aps-pill.active {
  background: var(--text-primary) !important;
  color: var(--text-inverse) !important;
  box-shadow: var(--shadow-sm);
}
.aps-pills-row .aps-pill.active i, .aps-pills-row .aps-pill.active svg, .aps-pills-row .aps-pill.active [data-lucide] {
  color: var(--text-inverse) !important;
  stroke: var(--text-inverse) !important;
}

.aps-accordion-wrap {
  background: var(--surface2);
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0 !important;
}
.aps-accordion-wrap .aps-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 700;
  transition: background 0.18s ease;
}
.aps-accordion-wrap .aps-accordion-header:hover {
  background: var(--surface3);
}
.aps-accordion-wrap .aps-accordion-header .aps-acc-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.aps-accordion-wrap .aps-accordion-header .aps-acc-chevron {
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.aps-accordion-wrap .aps-accordion-header.open .aps-acc-chevron {
  transform: rotate(180deg);
}
.aps-accordion-wrap .aps-accordion-content {
  padding: 0 16px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
}

.aps-prompt-deck {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0 !important;
}
.aps-prompt-deck .aps-prompt-box {
  position: relative;
  background: var(--bg-main);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow-xs);
}
.aps-prompt-deck .aps-prompt-box pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--text-secondary);
  max-height: 150px;
  overflow-y: auto;
  direction: ltr;
  text-align: left;
}
.aps-prompt-deck .aps-prompt-box .aps-copy-btn {
  position: absolute;
  inset-inline-end: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-primary);
  font-size: 0.74rem;
  font-weight: 600;
  border: none;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease;
}
.aps-prompt-deck .aps-prompt-box .aps-copy-btn:hover {
  background: var(--surface2);
  transform: translateY(-1px);
}
.aps-prompt-deck .aps-prompt-box .aps-copy-btn.copied {
  background: var(--success);
  color: var(--text-white);
}
.aps-prompt-deck .aps-ai-launchers {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.aps-prompt-deck .aps-ai-launchers .aps-launch-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}
.aps-prompt-deck .aps-ai-launchers .aps-launch-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface2);
  color: var(--text-primary);
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
}
.aps-prompt-deck .aps-ai-launchers .aps-launch-chip:hover {
  background: var(--surface3);
  transform: translateY(-1px);
}

.aps-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-inline: 24px;
  padding-block: 16px;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface);
  flex-shrink: 0;
}
.aps-footer .btn {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.84rem;
}

.aps-cat-picker-drawer {
  position: absolute;
  inset: 0;
  background: var(--surface);
  z-index: 1150;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.aps-cat-picker-drawer.active {
  transform: translateX(0);
}
.aps-cat-picker-drawer .aps-cp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.aps-cat-picker-drawer .aps-cp-head .aps-cp-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.aps-cat-picker-drawer .aps-cp-head .aps-cp-back-btn {
  background: var(--surface2);
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.aps-cat-picker-drawer .aps-cp-grid {
  padding: 16px 20px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.aps-cat-picker-drawer .aps-cp-grid .aps-cp-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: var(--surface2);
  color: var(--text-primary);
  border: none;
  cursor: pointer;
  text-align: start;
  transition: background 0.18s ease, transform 0.18s ease;
}
.aps-cat-picker-drawer .aps-cp-grid .aps-cp-card i {
  color: var(--accent);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.aps-cat-picker-drawer .aps-cp-grid .aps-cp-card .aps-cp-name {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}
.aps-cat-picker-drawer .aps-cp-grid .aps-cp-card:hover {
  background: var(--surface3);
  transform: translateY(-1px);
}
.aps-cat-picker-drawer .aps-cp-grid .aps-cp-card.active {
  background: var(--text-primary) !important;
  color: var(--text-inverse) !important;
}
.aps-cat-picker-drawer .aps-cp-grid .aps-cp-card.active i, .aps-cat-picker-drawer .aps-cp-grid .aps-cp-card.active svg, .aps-cat-picker-drawer .aps-cp-grid .aps-cp-card.active [data-lucide] {
  color: var(--text-inverse) !important;
  stroke: var(--text-inverse) !important;
}

.aps-custom-select-wrap {
  position: relative;
  width: 100%;
}
.aps-custom-select-wrap .aps-btn-cs-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 16px;
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  border-radius: 14px;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.aps-custom-select-wrap .aps-btn-cs-trigger:hover {
  background: var(--surface3);
  border-color: var(--border-strong);
}
.aps-custom-select-wrap .aps-btn-cs-trigger.is-open {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
}
.aps-custom-select-wrap .aps-btn-cs-trigger.is-open .aps-cs-arrow {
  transform: rotate(180deg);
}
.aps-custom-select-wrap .aps-btn-cs-trigger .aps-cs-trigger-lead {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  overflow: hidden;
}
.aps-custom-select-wrap .aps-btn-cs-trigger .aps-cs-trigger-lead .aps-cs-icon {
  color: var(--accent);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.aps-custom-select-wrap .aps-btn-cs-trigger .aps-cs-trigger-lead .aps-cs-title-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  overflow: hidden;
}
.aps-custom-select-wrap .aps-btn-cs-trigger .aps-cs-trigger-lead .aps-cs-title-box .aps-cs-current-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aps-custom-select-wrap .aps-btn-cs-trigger .aps-cs-trigger-lead .aps-cs-title-box .aps-cs-current-group {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}
.aps-custom-select-wrap .aps-btn-cs-trigger .aps-cs-trigger-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.aps-custom-select-wrap .aps-btn-cs-trigger .aps-cs-trigger-trail .aps-cs-arrow {
  color: var(--text-muted);
  width: 18px;
  height: 18px;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.aps-custom-select-wrap .aps-cs-dropdown-card {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-medium);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  padding: 10px;
  z-index: 1300;
  display: none;
  flex-direction: column;
  gap: 8px;
  max-height: 340px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.aps-custom-select-wrap .aps-cs-dropdown-card.is-open {
  display: flex;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.aps-custom-select-wrap .aps-cs-dropdown-card .aps-cs-search-box {
  position: relative;
  flex-shrink: 0;
}
.aps-custom-select-wrap .aps-cs-dropdown-card .aps-cs-search-box i {
  position: absolute;
  inset-inline-start: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}
.aps-custom-select-wrap .aps-cs-dropdown-card .aps-cs-search-box input {
  width: 100%;
  padding: 9px 12px;
  padding-inline-start: 36px;
  background: var(--surface2);
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}
.aps-custom-select-wrap .aps-cs-dropdown-card .aps-cs-search-box input:focus {
  border-color: var(--accent);
}
.aps-custom-select-wrap .aps-cs-dropdown-card .aps-cs-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
  flex: 1;
  padding-inline-end: 4px;
}
.aps-custom-select-wrap .aps-cs-dropdown-card .aps-cs-list::-webkit-scrollbar {
  width: 5px;
}
.aps-custom-select-wrap .aps-cs-dropdown-card .aps-cs-list::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 4px;
}
.aps-custom-select-wrap .aps-cs-dropdown-card .aps-cs-list .aps-cs-group-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-inline: 10px;
  padding-block: 8px 4px;
  border-bottom: 1px solid var(--border-subtle);
  margin-top: 6px;
}
.aps-custom-select-wrap .aps-cs-dropdown-card .aps-cs-list .aps-cs-group-title:first-child {
  margin-top: 0;
}
.aps-custom-select-wrap .aps-cs-dropdown-card .aps-cs-list .aps-cs-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: start;
  color: var(--text-primary);
  transition: background 0.15s ease, color 0.15s ease;
}
.aps-custom-select-wrap .aps-cs-dropdown-card .aps-cs-list .aps-cs-item:hover {
  background: var(--surface2);
}
.aps-custom-select-wrap .aps-cs-dropdown-card .aps-cs-list .aps-cs-item.is-active {
  background: var(--surface3);
  color: var(--accent);
  font-weight: 700;
}
.aps-custom-select-wrap .aps-cs-dropdown-card .aps-cs-list .aps-cs-item .aps-cs-item-lead {
  display: flex;
  align-items: center;
  gap: 10px;
}
.aps-custom-select-wrap .aps-cs-dropdown-card .aps-cs-list .aps-cs-item .aps-cs-item-lead i {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.aps-custom-select-wrap .aps-cs-dropdown-card .aps-cs-list .aps-cs-item .aps-cs-item-lead .aps-cs-item-name {
  font-size: 0.84rem;
}
.aps-custom-select-wrap .aps-cs-dropdown-card .aps-cs-list .aps-cs-item .aps-cs-item-en {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  direction: ltr;
}

.aps-custom-color-deck {
  background: var(--surface2);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border-subtle);
}
.aps-custom-color-deck .aps-color-deck-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.aps-custom-color-deck .aps-color-deck-head .aps-color-deck-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.aps-custom-color-deck .aps-color-deck-head .aps-color-deck-title i {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.aps-custom-color-deck .aps-color-deck-head .aps-native-picker-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: var(--surface);
  border: 1px solid var(--border-medium);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.aps-custom-color-deck .aps-color-deck-head .aps-native-picker-btn:hover {
  border-color: var(--accent);
  background: var(--surface3);
}
.aps-custom-color-deck .aps-color-deck-head .aps-native-picker-btn .aps-swatch-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  display: inline-block;
}
.aps-custom-color-deck .aps-color-deck-head .aps-native-picker-btn .aps-picker-hex-text {
  font-size: 0.78rem;
  font-weight: 700;
  font-family: monospace;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}
.aps-custom-color-deck .aps-color-deck-head .aps-native-picker-btn input[type=color] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.aps-custom-color-deck .aps-color-deck-head .aps-native-picker-btn i {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}
.aps-custom-color-deck .aps-swatches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
}
.aps-custom-color-deck .aps-swatches-grid .aps-swatch-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.aps-custom-color-deck .aps-swatches-grid .aps-swatch-pill:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
}
.aps-custom-color-deck .aps-swatches-grid .aps-swatch-pill.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
  background: var(--surface3);
}
.aps-custom-color-deck .aps-swatches-grid .aps-swatch-pill .aps-swatch-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  flex-shrink: 0;
}
.aps-custom-color-deck .aps-swatches-grid .aps-swatch-pill .aps-swatch-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.aps-custom-color-deck .aps-swatches-grid .aps-swatch-pill .aps-swatch-info .aps-swatch-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aps-custom-color-deck .aps-swatches-grid .aps-swatch-pill .aps-swatch-info .aps-swatch-hex {
  font-size: 0.65rem;
  font-family: monospace;
  color: var(--text-muted);
}
