:root, html.light {
  --background-raw: .982 .006 95; --foreground-raw: .191 .003 106;
  --card-raw: .993 .003 95; --card-foreground-raw: .191 .003 106;
  --popover-raw: .993 .003 95; --popover-foreground-raw: .191 .003 106;
  --primary-raw: .614 .074 129; --primary-foreground-raw: .191 .003 106;
  --secondary-raw: .944 .012 95; --secondary-foreground-raw: .191 .003 106;
  --muted-raw: .944 .012 95; --muted-foreground-raw: .475 .013 95;
  --accent-raw: .944 .012 95; --accent-foreground-raw: .191 .003 106;
  --destructive-raw: .5 .14 25; --destructive-foreground-raw: .982 .006 95;
  --border-raw: .919 .014 95; --input-raw: .73 .015 95; --ring-raw: .5 .073 129;
  --sidebar-raw: .974 .008 95; --sidebar-foreground-raw: .191 .003 106;
  --sidebar-primary-raw: .614 .074 129; --sidebar-primary-foreground-raw: .191 .003 106;
  --sidebar-accent-raw: .944 .012 95; --sidebar-accent-foreground-raw: .191 .003 106;
  --sidebar-border-raw: .919 .014 95; --sidebar-ring-raw: .5 .073 129;
  --chart-1-raw: .614 .074 129; --chart-2-raw: .475 .013 95; --chart-3-raw: .73 .015 95; --chart-4-raw: .85 .015 95; --chart-5-raw: .191 .003 106;
  --background: #faf9f5; --foreground: #141413; --card: #fffefa; --card-foreground: #141413;
  --popover: #fffefa; --popover-foreground: #141413; --primary: #788c5d; --primary-foreground: #141413;
  --secondary: #f0eee6; --secondary-foreground: #141413; --muted: #f0eee6; --muted-foreground: #65635b;
  --accent: #f0eee6; --accent-foreground: #141413; --destructive: #a0443d; --destructive-foreground: #faf9f5;
  --border: #e8e6dc; --input: #b0aea5; --ring: #52623e;
  --sidebar: #f6f5ef; --sidebar-foreground: #141413; --sidebar-border: #e8e6dc;
  --sidebar-primary: #788c5d; --sidebar-primary-foreground: #141413; --sidebar-accent: #eeece2; --sidebar-accent-foreground: #141413; --sidebar-ring: #52623e;
  --chart-1: #788c5d; --chart-2: #65635b; --chart-3: #b0aea5; --chart-4: #d6d3c7; --chart-5: #141413;
  --bg-primary: var(--background); --bg-secondary: var(--card); --bg-tertiary: var(--secondary); --bg-sidebar: var(--sidebar); --bg-secondary-rgb: 255,254,250;
  --text-primary: var(--foreground); --text-secondary: #65635b; --text-tertiary: #65635b; --text-muted: #65635b; --text-inverse: #141413; --text-on-accent: #141413;
  --primary-gold: #788c5d; --primary-gold-hover: #6b7d53; --primary-orange: #788c5d; --primary-blue: #788c5d; --primary-blue-hover: #6b7d53;
  --dark-bg: var(--background); --content-bg: var(--card); --content-bg-hover: var(--secondary); --component-bg: var(--card); --component-bg-hover: var(--secondary);
  --border-color: var(--border); --border-color-strong: #b0aea5; --accent-primary: var(--primary); --accent-secondary: var(--primary); --accent-hover: #6b7d53;
  --accent-glow: transparent; --gradient-start: var(--primary); --gradient-end: var(--primary); --accent-gradient: var(--primary); --highlight-gradient: var(--primary);
  --success-color: #3d7051; --warning-color: #956521; --error-color: #a0443d; --error-bg: #f7e9e7;
  --shadow-sm: none; --shadow-md: 0 8px 24px rgba(20,20,19,.09); --shadow-lg: 0 16px 48px rgba(20,20,19,.12); --shadow-xl: var(--shadow-lg);
  --radius: 8px; --radius-sm: 6px; --radius-md: 8px; --radius-lg: 8px; --radius-xl: 12px; --radius-2xl: 12px;
  --transition-base: all 200ms ease; --transition-fast: all 150ms ease; --focus-ring: 0 0 0 3px rgba(82,98,62,.25);
  --sb-link: #52623e; --sb-surface: #fffefa;
}
html.dark {
  --background-raw: .213 .006 95; --foreground-raw: .957 .01 95; --card-raw: .255 .007 95; --card-foreground-raw: .957 .01 95;
  --popover-raw: .28 .007 95; --popover-foreground-raw: .957 .01 95; --primary-raw: .72 .073 129; --primary-foreground-raw: .191 .003 106;
  --secondary-raw: .295 .007 95; --secondary-foreground-raw: .957 .01 95; --muted-raw: .295 .007 95; --muted-foreground-raw: .755 .015 95;
  --accent-raw: .295 .007 95; --accent-foreground-raw: .957 .01 95; --border-raw: .37 .008 95; --input-raw: .5 .015 95;
  --sidebar-raw: .23 .007 95; --sidebar-foreground-raw: .957 .01 95; --sidebar-border-raw: .37 .008 95;
  --background: #22221f; --foreground: #eeede5; --card: #2b2b27; --card-foreground: #eeede5; --popover: #30302b; --popover-foreground: #eeede5;
  --primary: #9aad7c; --primary-foreground: #141413; --secondary: #33332e; --secondary-foreground: #eeede5; --muted: #33332e; --muted-foreground: #bdbbae;
  --accent: #33332e; --accent-foreground: #eeede5; --border: #48483f; --input: #77776b; --sidebar: #262622; --sidebar-foreground: #eeede5;
  --sidebar-border: #48483f; --sidebar-accent: #33332e; --sidebar-accent-foreground: #eeede5; --ring: #9aad7c;
  --text-primary: #eeede5; --text-secondary: #bdbbae; --text-tertiary: #bdbbae; --text-muted: #bdbbae; --primary-gold: #9aad7c; --primary-blue: #9aad7c;
  --border-color-strong: #77776b; --sb-link: #b4c79a; --sb-surface: #2b2b27; --shadow-md: none; --shadow-lg: none; --shadow-xl: none;
  --success-color: #87b399; --warning-color: #d0ad70; --error-color: #e3a29a; --error-bg: #3b2926;
}
