/* iVOLT theme: Sand (light and dark) — https://ivolt.intervolutions.com/themes#sand
   Needs iVOLT 1.1 or later: hover, focus, glows and gradients are mixed from these seeds.
   Load after ivolt.css (or inside @layer iv.overrides). It follows data-iv-theme on <html>:
   "light", "dark" or "system" (the system preference), so your theme switch keeps working.
   Nested scopes work too: any element with data-iv-theme takes the block of its mode. */
:root, [data-iv-theme] {
  --iv-radius-sm: 0.107rem;
  --iv-radius-md: 0.25rem;
  --iv-radius-lg: 0.393rem;
  --iv-font-sans: Georgia, "Times New Roman", serif;
}
:root, [data-iv-theme="light"] {
  --iv-color-primary: #3F3A2E;
  --iv-color-on-primary: #FFFDF7;
  --iv-color-accent: #8A5A00;
  --iv-color-on-accent: #FFFFFF;
  --iv-color-bg: #FBF8F1;
  --iv-color-surface: #F3EEE2;
  --iv-color-surface-raised: #FFFDF7;
  --iv-color-text: #24211A;
  --iv-color-text-muted: #5F5848;
  --iv-color-border: #D6D1C6;
  --iv-color-border-strong: #9C988E;
  --iv-color-hover-surface: rgb(36 33 26 / 0.04);
  --iv-mix-brand-start: transparent 0%;
  --iv-mix-brand-end: var(--iv-color-accent) 35%;
  --iv-mix-gradient-end: var(--iv-color-accent) 35%;
}
[data-iv-theme="dark"] {
  --iv-color-primary: #E8DFC8;
  --iv-color-on-primary: #24211A;
  --iv-color-accent: #E0A43A;
  --iv-color-on-accent: #0B1230;
  --iv-color-bg: #1A1814;
  --iv-color-surface: #22201A;
  --iv-color-surface-raised: #2B2821;
  --iv-color-text: #F3EEE2;
  --iv-color-text-muted: #BDB39E;
  --iv-color-border: #4C4942;
  --iv-color-border-strong: #7A776E;
  --iv-color-hover-surface: rgb(243 238 226 / 0.05);
  --iv-mix-brand-start: transparent 0%;
  --iv-mix-brand-end: var(--iv-color-accent) 35%;
  --iv-mix-gradient-end: var(--iv-color-accent) 35%;
}
@media (prefers-color-scheme: dark) {
  [data-iv-theme="system"] {
    --iv-color-primary: #E8DFC8;
    --iv-color-on-primary: #24211A;
    --iv-color-accent: #E0A43A;
    --iv-color-on-accent: #0B1230;
    --iv-color-bg: #1A1814;
    --iv-color-surface: #22201A;
    --iv-color-surface-raised: #2B2821;
    --iv-color-text: #F3EEE2;
    --iv-color-text-muted: #BDB39E;
    --iv-color-border: #4C4942;
    --iv-color-border-strong: #7A776E;
    --iv-color-hover-surface: rgb(243 238 226 / 0.05);
    --iv-mix-brand-start: transparent 0%;
    --iv-mix-brand-end: var(--iv-color-accent) 35%;
    --iv-mix-gradient-end: var(--iv-color-accent) 35%;
  }
}
