/* SCGC PUBLIC PALETTE — edit this file for the next season.
   Change the RGB triplets below; solid colors and translucent treatments
   are derived automatically. Keep success/danger/warning meaningful.
   This stylesheet is not loaded by the members portal or account forms.
   Colors come from the SCGC logo: green #05D89C, sky #2298E0, royal #2F50AD,
   on a deep navy base. */
:root {
    color-scheme: light;
    --theme-grounded-rgb: 47, 80, 173;          /* logo royal: ticker and card headers */
    --theme-on-primary-rgb: 255, 255, 255;
    --theme-grounded: rgb(var(--theme-grounded-rgb));
    --theme-on-primary: rgb(var(--theme-on-primary-rgb));
    --theme-primary-rgb: 47, 80, 173;           /* logo green: buttons, links, highlights */
    --theme-lilac-rgb: 34, 152, 224;            /* logo sky: secondary accent */
    --theme-lilac: rgb(var(--theme-lilac-rgb));
    --theme-primary-hover-rgb: 35, 61, 137;
    --theme-primary-light-rgb: 224, 234, 255;
    --theme-midnight-rgb: 19, 39, 68;
    --theme-ink-rgb: 26, 45, 65;
    --theme-muted-rgb: 76, 96, 114;
    --theme-border-rgb: 185, 204, 214;
    --theme-canvas-rgb: 247, 250, 253;             /* deep navy page */
    --theme-surface-rgb: 255, 255, 255;
    --theme-soft-rgb: 232, 243, 249;
    --theme-accent-rgb: 15, 113, 91;          /* light sky: dates and small highlights */
    --theme-accent-ink-rgb: 15, 113, 91;
    --theme-accent-soft-rgb: 226, 247, 239;
    --theme-success-rgb: 22, 112, 76;
    --theme-success-soft-rgb: 231, 247, 239;
    --theme-danger-rgb: 163, 45, 63;
    --theme-danger-soft-rgb: 255, 237, 239;
    --theme-warning-rgb: 128, 89, 21;
    --theme-warning-soft-rgb: 255, 246, 220;
    --theme-black-rgb: 0, 0, 0;

    /* Derived colors — no need to edit these. */
    --theme-primary: rgb(var(--theme-primary-rgb));
    --theme-primary-hover: rgb(var(--theme-primary-hover-rgb));
    --theme-primary-light: rgb(var(--theme-primary-light-rgb));
    --theme-midnight: rgb(var(--theme-midnight-rgb));
    --theme-ink: rgb(var(--theme-ink-rgb));
    --theme-muted: rgb(var(--theme-muted-rgb));
    --theme-border: rgb(var(--theme-border-rgb));
    --theme-canvas: rgb(var(--theme-canvas-rgb));
    --theme-surface: rgb(var(--theme-surface-rgb));
    --theme-soft: rgb(var(--theme-soft-rgb));
    --theme-accent: rgb(var(--theme-accent-rgb));
    --theme-accent-ink: rgb(var(--theme-accent-ink-rgb));
    --theme-accent-soft: rgb(var(--theme-accent-soft-rgb));
    --theme-success: rgb(var(--theme-success-rgb));
    --theme-success-soft: rgb(var(--theme-success-soft-rgb));
    --theme-danger: rgb(var(--theme-danger-rgb));
    --theme-danger-soft: rgb(var(--theme-danger-soft-rgb));
    --theme-warning: rgb(var(--theme-warning-rgb));
    --theme-warning-soft: rgb(var(--theme-warning-soft-rgb));
    --theme-black: rgb(var(--theme-black-rgb));
}

/* Semantic bindings are kept here so switching palettes remains a one-file edit. */
html:root {
    --text-primary: var(--theme-ink);
    --text-bright: var(--theme-ink);
    --text-secondary: var(--theme-muted);
    --text-muted: var(--theme-muted);
    --border-subtle: rgba(var(--theme-border-rgb), .42);
    --navy-deep: var(--theme-ink);
    --navy-rich: var(--theme-primary);
    --slate-dark: var(--theme-ink);
    --shadow-soft: 0 10px 30px rgba(var(--theme-black-rgb), .18);
    --shadow-medium: 0 18px 60px rgba(var(--theme-black-rgb), .24);
}
