/* ═══════════════════════════════════════════════════════════════
   StaffParty's own brand — THE token file.

   The guidelines — the rules, where every copy lives, and how to change
   the brand step by step — are docs/brand-guidelines.html
   (docs/src/brand-guidelines.md). Update that page with this file.

   Every StaffParty surface reads its brand colours from here: the public
   site and auth pages (style.css), the owner portal (portal.css), the
   operator's admin (admin.css), the game (game_heritage.css), the quad
   control and the loaders. It is linked FIRST, before any of those, by
   base.html, admin_base.html, portal_base.html, game_base.html and every
   standalone page that loads one of them — tests/test_brand_tokens.py
   fails a template that loads a token-consuming stylesheet without it.

   Surfaces that cannot link a stylesheet carry literal copies, and the
   same test fails them the moment they drift from the values below:
     · owner/StaffParty email — helpers_email_brand.GREEN* (clients strip
       custom properties, so email is inline hex by necessity);
     · the docs site — docs/build.py's CSS constant (-> docs/assets/docs.css);
     · the browser extension — extension/sidepanel.css (a separate origin).

   THE BRAND IS STAFFPARTY GREEN, the owner portal's scale. 400 (#00d98e,
   the light "money" green) is the brand colour and it is a FILL: it always
   carries ink text (9.4:1). White on it is 1.9:1 and never appears. 700 is
   the step for green TEXT, links and rules on white or cream (5.3:1 on
   white, 4.7:1 on the admin's #f3f2f2 ground); on the darker #eae9e9
   surface use 800. 500 is the fill's hover, 300 the border beside a fill
   (and, with 700, the edge a fill needs against white — #00d98e alone is
   1.9:1 against the page, under the 3:1 a control's edge needs), 100 a
   pale wash that carries 800 text.

   A business's own identity is NOT here: its storefront, its brand kit
   (helpers_brand_kits, metadata.brand) and its mark colour are its own.
   This file is StaffParty's chrome only.

   STATUS COLOURS ARE NOT THE BRAND. Red means "waiting on you" / broken
   / danger and never decorates; success and warning stay their own
   colours, so a green that means "StaffParty" never has to be read as
   "this went well".
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* The green scale. */
    --sp-green-100: #e9fbf3;   /* pale wash; carries 800 text (7.7:1) */
    --sp-green-200: #c7f5e2;
    --sp-green-300: #8eebc7;   /* borders beside a green fill */
    --sp-green-400: #00d98e;   /* THE brand green — a fill, with ink text */
    --sp-green-500: #08bd7d;   /* the fill's hover (ink text 6.8:1) */
    --sp-green-600: #0f9e69;   /* in the scale; no longer a working role */
    --sp-green-700: #0f7b53;   /* text, links, rules, focus on white/cream */
    --sp-green-800: #0d5a3e;   /* deeper text; links on grey surfaces */
    --sp-green-900: #0a3b2a;

    /* Roles — what a component should reach for. */
    --sp-brand: var(--sp-green-400);
    --sp-brand-hover: var(--sp-green-500);
    --sp-brand-rule: var(--sp-green-300);
    --sp-brand-edge: var(--sp-green-700);
    --sp-brand-text: var(--sp-green-700);
    --sp-brand-deep: var(--sp-green-800);
    --sp-brand-wash: var(--sp-green-100);
    --sp-on-brand: #1c1a16;    /* the ink a green fill carries */

    --sp-ink: #1c1a16;
    --sp-paper: #ffffff;

    /* Status — semantic, never the brand. */
    --sp-danger: #b42318;      /* waiting on you / broken (6.6:1 on white) */
    --sp-danger-wash: #fef3f2;
    --sp-warning: #b54708;     /* 5.4:1 on white */
    --sp-warning-wash: #fffaeb;
    --sp-success: #3e5b3a;     /* 7.6:1 on white */
    --sp-success-wash: #eef3ec;
}
