/* Compiled from this brand's design-system file. Not a source file:
   change the brand file (or its `_local` block) and reload. */
:root {
    /* brand */
    --primary: #93c738;
    --primary-ink: #ffffff;
    --ink: #ffffff;
    --muted: #a1bcd4;
    --radius: 8px;
    --radius-sm: 8px;
    --theme-btn-radius: var(--radius-sm);
    --theme-btn-bg: var(--accent-500);
    --theme-btn-text: var(--accent-ink);
    --theme-btn-hbg: #a0d643;
    --theme-btn-htext: var(--theme-btn-text);
    --theme-btn-outline-ring: #276aa5;
    --theme-btn-outline-text: #276aa5;
    --theme-btn-outline-hbg: var(--theme-btn-bg);
    --theme-btn-outline-htext: var(--theme-btn-text);
    --container: 1200px;
    --base-size: 16px;
    --font-body: "Anuphan", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-heading: var(--font-body);
    --font-mono: "Menlo", Consolas, "Courier New", ui-monospace, monospace;

    /* surfaces — the depth scale, stepped between the brand's own background and surface */
    --navy-950: #183858;
    --navy-850: #1d4268;
    --navy-900: #1a3b5e;
    --navy-800: #204d78;

    /* primary scale */
    --blue-700: #395011;
    --blue-600: #5b7d20;
    --blue-500: var(--primary);
    --blue-400: #b3e95f;
    --blue-200: #c8e4a5;
    --blue-100: #deefca;

    /* accent — the CTA colour, read from wherever the brand states it */
    --accent-500: #93c738;
    --accent-700: #3e5713;
    --accent-600: #77a22c;
    --accent-400: #a2d74c;
    --accent-300: #cde7af;
    --accent-200: #deefca;
    --accent-100: #f4faed;
    --accent-ink: #071728;
    --accent-glow: rgba(147, 199, 56, 0.42);
    --gold-500: var(--accent-500);
    --gold-400: var(--accent-400);

    /* state — green is money-positive only, and is not a brand colour */
    --green-500: #25d366;
    --green-600: #12b357;
    --green-400: #4ce085;
    --green-900: #02240c;
    --red-500: #ff5263;

    /* layers */
    --bg: #183858;
    --surface: #1d4268;
    --bg-elev: var(--surface);
    --card: var(--surface);
    --wash: rgba(255, 255, 255, 0.035);
    --wash-2: rgba(255, 255, 255, 0.06);
    --card-2: #1a3d60;
    --card-hover: #204f7b;
    --border: #246094;
    --border-strong: #3b76ab;

    /* figures — the big numbers */
    --figure-ink: #ffffff;

    /* text */
    --text: var(--ink);
    --text-soft: #e8eef4;
    --text-dim: var(--muted);

    /* light surfaces — the panels that stay light on a dark page */
    --surface-lit: #fdfefb;
    --surface-lit-2: #f6fbf1;
    --border-lit: #e2f1d1;
    --ink-on-lit-strong: #1b2113;
    --ink-on-lit: #52574c;
    --ink-on-lit-soft: #777b72;

    /* scrims and the far ends of the red ramp */
    --ink-deep: #133352;
    --scrim: rgba(19, 51, 82, 0.94);
    --red-800: #5d181f;
    --red-700: #8f2a34;
    --red-600: #e2344c;
    --red-400: #ff6e7b;
    --red-100: #ffd3d2;
    --blue-300: #ccff79;

    /* brand colours at the opacities the sheets use */
    --primary-a12: rgba(147, 199, 56, 0.12);
    --primary-a16: rgba(147, 199, 56, 0.16);
    --primary-a22: rgba(147, 199, 56, 0.22);
    --primary-a25: rgba(147, 199, 56, 0.25);
    --primary-a40: rgba(147, 199, 56, 0.4);
    --accent-500-a8: rgba(147, 199, 56, 0.08);
    --accent-500-a12: rgba(147, 199, 56, 0.12);
    --accent-500-a30: rgba(147, 199, 56, 0.3);
    --accent-500-a40: rgba(147, 199, 56, 0.4);
    --accent-400-a10: rgba(162, 215, 76, 0.1);
    --accent-400-a28: rgba(162, 215, 76, 0.28);
    --green-500-a12: rgba(37, 211, 102, 0.12);
    --green-500-a35: rgba(37, 211, 102, 0.35);
    --green-500-a40: rgba(37, 211, 102, 0.4);
    --red-400-a30: rgba(255, 110, 123, 0.3);
    --red-500-a10: rgba(255, 82, 99, 0.1);
    --red-500-a28: rgba(255, 82, 99, 0.28);
    --red-500-a30: rgba(255, 82, 99, 0.3);
    --red-500-a40: rgba(255, 82, 99, 0.4);
    --red-600-a24: rgba(226, 52, 76, 0.24);
    --red-700-a54: rgba(143, 42, 52, 0.54);
    --blue-300-a16: rgba(204, 255, 121, 0.16);
    --blue-300-a30: rgba(204, 255, 121, 0.3);
    --card-2-a98: rgba(26, 61, 96, 0.98);

    /* gradients — the brand's own, from its gradients block */
    --grad-page: radial-gradient(1200px 600px at 50% -15%, #205583 0%, #183858 55%);
    --grad-button: linear-gradient(180deg,#93c738,#70982a);
    --grad-card: linear-gradient(180deg,#1d4268,#183858);
    --grad-rank-bar: linear-gradient(90deg, color-mix(in srgb, #93c738 85%, transparent), color-mix(in srgb, #93c738 8%, transparent));

    /* elevation */
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.18), 0 10px 28px -16px rgba(0, 0, 0, 0.55);
    --shadow-raised: 0 2px 4px rgba(0, 0, 0, 0.2), 0 14px 32px -14px rgba(0, 0, 0, 0.6);
    --focus-ring: 0 0 0 3px rgba(147, 199, 56, 0.35);
}
