/* Intrinsic — editorial dark theme: design tokens */

/* ---------- Tokens ---------- */

:root {
    --bg: #111110;
    --surface: #181816;
    --surface-hover: #1f1e1b;
    --surface-raised: #1c1b18;
    --border: #2a2926;
    --border-strong: #3b3a35;

    --text: #ebe7df;
    --text-secondary: #b8b3a8;
    --text-muted: #9a958a;
    --text-faint: #646056;

    --gold: #c8a45c;
    --gold-hover: #d8b872;
    --gold-ink: #17130a;
    --gold-soft: rgb(200 164 92 / 8%);
    --gold-line: rgb(200 164 92 / 30%);

    --positive: #7fb58a;
    --negative: #d27b72;
    --info: #5b9bd5;   /* second series colour, as used in the charts */

    --radius: 4px;
    --radius-lg: 8px;

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2.5rem;
    --space-7: 4rem;
    --space-8: 5.5rem;

    --header-height: 60px;
    --content-width: 1080px;
    --sidebar-width: 260px;

    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-serif: var(--font-sans);
    --font-mono: var(--font-sans);

    --transition-fast: 0.15s ease;
    --overlay: rgb(8 8 7 / 78%);
    --shadow-pop: 0 24px 60px rgb(0 0 0 / 50%);

    /* Aliases: these names were already referenced across the stylesheets
       but never defined, which left several buttons and borders unstyled. */
    --accent: var(--gold);
    --danger: var(--negative);
    --background: var(--bg);
    --border-color: var(--border);
    --text-primary: var(--text);
    --surface-secondary: var(--surface-hover);
}
