/* Experimental MYWSS luxury dark theme. Does not affect legacy light/dark. */
body.theme-lux-dark {
  color-scheme: dark;

  --theme-page-bg: #1b2028;
  --theme-left-nav-bg: #101114;
  --theme-surface: #151617;
  --theme-surface-high: #202020;
  --theme-surface-highest: #2b2924;
  --theme-surface-raised: #1b1b1b;
  --theme-input-bg: #111214;
  --theme-button-bg: #171819;
  --theme-button-hover-bg: #24221d;
  --theme-border: #3b352b;
  --theme-border-soft: #2e2b25;
  --theme-border-strong: #7b6848;
  --theme-text: #f5efe3;
  --theme-muted: #b7ac99;
  --theme-disabled: #897e6d;
  --theme-primary: #d8b56c;
  --theme-primary-strong: #f1d894;
  --theme-primary-border: #d8b56c;
  --theme-primary-soft: #342b18;
  --theme-on-primary: #1c1710;
  --theme-success: #79cbbd;
  --theme-success-soft: #1c3733;
  --theme-success-border: rgba(121, 203, 189, 0.26);
  --theme-warning: #d8b56c;
  --theme-warning-soft: #352b18;
  --theme-warning-border: rgba(216, 181, 108, 0.30);
  --theme-danger: #f1948b;
  --theme-danger-soft: #3a211f;
  --theme-danger-border: rgba(241, 148, 139, 0.28);
  --theme-on-danger: #1c0f0d;
  --theme-table-row-bg: #171717;
  --theme-table-row-alt-bg: #1d1c1a;
  --theme-table-row-hover-bg: #28241d;
  --theme-table-row-border: #332f28;
  --theme-ai-bg: #151617;
  --theme-ai-border: #3b352b;
  --theme-ai-panel-bg: #202020;
  --theme-ai-chip-bg: #2b2924;
  --theme-ai-chip-text: #f5efe3;
  --theme-return-bg: rgba(216, 181, 108, .12);
  --theme-return-border: rgba(216, 181, 108, .32);
  --theme-shadow-card: 0 1px 2px rgba(0, 0, 0, .32), 0 20px 52px rgba(0, 0, 0, .38);
  --theme-shadow-xs: 0 1px 2px rgba(0, 0, 0, .32);
  --theme-shadow-input: inset 0 1px 2px rgba(0, 0, 0, .28);
  --theme-shadow-focus: 0 0 0 3px rgba(216, 181, 108, .18);

  --bg: var(--theme-page-bg);
  --surface: var(--theme-surface);
  --surface-soft: var(--theme-surface-high);
  --surface-muted: var(--theme-surface-highest);
  --left-panel-bg: var(--theme-left-nav-bg);
  --left-panel-bg-soft: var(--theme-surface);
  --line: var(--theme-border);
  --line-strong: var(--theme-border-strong);
  --input: var(--theme-input-bg);
  --hover: var(--theme-button-hover-bg);
  --ink: var(--theme-text);
  --text: var(--theme-text);
  --muted: var(--theme-muted);
  --dim: var(--theme-disabled);
  --copy-strong: var(--theme-text);
  --copy-muted: var(--theme-muted);
  --copy-soft: var(--theme-disabled);
  --brand: var(--theme-primary);
  --brand-dark: var(--theme-primary-strong);
  --brand-soft: var(--theme-primary-soft);
  --accent-soft: var(--theme-primary);
  --ok: var(--theme-success);
  --warn: var(--theme-warning);
  --warn-soft: var(--theme-warning-soft);
  --danger: var(--theme-danger);
  --danger-soft: var(--theme-danger-soft);
  --btn-bg: var(--theme-button-bg);
  --btn-border: var(--theme-border);
  --btn-text: var(--theme-text);
  --btn-hover-bg: var(--theme-button-hover-bg);
  --btn-hover-text: var(--theme-primary);
  --btn-primary-bg: var(--theme-primary);
  --btn-primary-hover-bg: var(--theme-primary-strong);

  --shell-sidebar-bg: #101116;
  --shell-topbar-bg: #151617;
  --shell-hero-bg: #151617;
  --shell-hero-side-bg: #202020;
  --shell-aside-bg: #151617;
}

body.theme-lux-dark .btn.primary,
body.theme-lux-dark button.primary {
  border-color: #d8b56c !important;
  background: #d8b56c !important;
  color: #1c1710 !important;
}

body.theme-lux-dark .btn.primary:hover,
body.theme-lux-dark button.primary:hover {
  background: #f1d894 !important;
}
