:root {
  color-scheme: light;
  /* One Aerithm custom palette for product UI and every Lieflat chart adapter. */
  --aerithm-bg: #ffffff;
  --aerithm-bg-soft: #f2f5f6;
  --aerithm-txt: #17212b;
  --aerithm-txt-secondary: #35414c;
  --aerithm-mut: #5e6872;
  --aerithm-grid: #d9dee2;
  --aerithm-grid-strong: #96a0aa;
  --aerithm-data: #162a4f;
  --aerithm-hero: #315f94;
  --aerithm-positive: #dbe8df;
  --aerithm-recovery: #c4c9da;
  --aerithm-caution: #9a5e4f;
  --aerithm-danger: #9a433f;
  --aerithm-ramp-1: #e7ebef;
  --aerithm-ramp-2: #c4cdda;
  --aerithm-ramp-3: #96a9b8;
  --aerithm-ramp-4: #7287a3;
  --aerithm-ramp-5: #315f94;
  --aerithm-ramp-6: #162a4f;
  --aerithm-cat-1: #162a4f;
  --aerithm-cat-2: #315f94;
  --aerithm-cat-3: #7287a3;
  --aerithm-cat-4: #755d8c;
  --aerithm-cat-5: #9a5e4f;
  --chart-bg: var(--aerithm-bg);
  --chart-txt: var(--aerithm-txt);
  --chart-mut: var(--aerithm-mut);
  --chart-grid: var(--aerithm-grid);
  --chart-data: var(--aerithm-data);
  --chart-hero: var(--aerithm-hero);
  --font-editorial: "Yu Gothic UI", "Yu Gothic", Bahnschrift, Arial, sans-serif;
  --font-technical: "Cascadia Mono", Consolas, monospace;
  --color-paper: #ffffff;
  --color-panel: #f3f6f7;
  --color-panel-raised: #ffffff;
  --color-rule: #d9dee2;
  --color-rule-strong: #96a0aa;
  --color-ink: #17212b;
  --color-muted: #5e6872;
  --color-accent: #315f94;
  --color-accent-ink: #ffffff;
  --color-accent-deep: #162a4f;
  --color-warning: #966126;
  --color-info: #315f94;
  --color-purple: #675f88;
  --color-danger: #9a3f49;
  --font-sans: var(--font-editorial);
  --font-mono: var(--font-technical);
  --banner-height: 56px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --text-xs: 0.6875rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-lg: 1.125rem;
  --text-xl: clamp(1.75rem, 3vw, 2.75rem);
  --radius-sm: 2px;
  --radius-md: 4px;
  --rule-hairline: 1px;
  --dur-fast: 120ms;
  --dur-base: 180ms;
  --ease-standard: cubic-bezier(.2, 0, 0, 1);
  --editorial-columns-desktop: 12;
  --editorial-columns-mobile: 4;
}

/* Author-level layout rules must never override the HTML hidden contract. */
[hidden] { display: none !important; }
