/* ============================================================================
   BRAND LAYER: loaded AFTER css/os.css.

   css/os.css IS the live OS stylesheet. Never hand-edit it; re-capture it
   instead (CAPTURE.md). Everything per-prospect lives in this file and this
   file is the only thing the brand-injector rewrites.

   HOW THE LIVE TOKENS ACTUALLY WORK (get this wrong and the override no-ops):
     • --sidebar-bg           the brand's sidebar colour, ONE flat colour
                              (2026-11-10): the sidebar, the phone's Menu
                              sheet, the main button (.k2a-btn-primary), the
                              Agent's button in the top corner and the
                              phone's round Menu and Agent buttons. os.css's
                              look reads it with nothing else: no fade into
                              the accent, no shine. It follows --ink-900 (the
                              live box sets both from one sidebar colour), so
                              leave it on var(--ink-900) and make --ink-900
                              the brand's dark colour.
     • --ink-50 … --ink-950   the neutral/dark ramp. Borders, display type,
                              every grey; --ink-900 is the sidebar's colour.
     • --accent-50 … --accent-900   the brand ramp. Active marks, links, chart
                              colours (the ordinal ramp is accent-200 to 600),
                              goal bars. Not the sidebar or the main button
                              any more (they were the accent before
                              2026-11-10).
     • --wash-1 … --wash-3    tints an older ground used. The ground is a flat
                              light grey (#f2f2f2) since 2026-11-09 and the
                              washes no longer show; keep them in the brand
                              anyway (--accent-600 at 0.10 / 0.07 / 0.05) so
                              an older rule never falls back to K2A's navy.
     • --brand-hue            the accent as a bare "r, g, b" triplet, for the
                              chat composer's focus ring and soft shadows.
     • Everything else is DERIVED and must be left alone:
         --primary   → var(--accent-600)
         --gold      → var(--accent-600)
         --gold-bg   → var(--accent-100)
         --gold-soft → var(--accent-500)
         --k2a-navy-*→ var(--ink-*)
         --k2a-bg    → var(--paper)
       Overriding a derived alias instead of the ramp is the classic mistake:
       it recolours one surface and leaves forty others on K2A navy.
     • Fonts are NOT here. Every OS uses one face, Inter, for every word and
       number (2026-11-10), whatever the prospect's brand uses; ui.js binds
       it. A prospect's brand shows through its colour and logo.
     • Nothing else is here either: no surfaces, gradients, blurs or radii.
       Solid white panels on the grey ground are the OS's, from os.css.

   The live defaults are a navy ink ramp and a blue accent ramp. Replace BOTH
   ramps per prospect. Keep the same lightness progression: the ramp steps
   carry hierarchy, so a flat set of near-identical greens destroys contrast.
   --ink-900 must be dark enough for white nav words and a white logo on it.
   ========================================================================= */
:root {
  /* ── PAS teal ink: the sidebar and main button are #005050 (their escrow site's dark teal), flat ── */
  --ink-50:  #f2f6f6;
  --ink-100: #e6eeee;
  --ink-200: #ccdcdc;
  --ink-300: #99b9b9;
  --ink-400: #739f9f;
  --ink-500: #598d8d;
  --ink-600: #407c7c;
  --ink-700: #266a6a;
  --ink-800: #145e5e;
  --ink-900: #005050;
  --ink-950: #003434;

  /* ── accent: PAS teal (#007775 the logo's teal, #005050 the escrow site's dark teal) ── */
  --accent-50:  #f2f8f8;
  --accent-100: #e6f1f1;
  --accent-200: #c7e1e1;
  --accent-300: #99c9c8;
  --accent-400: #59a7a5;
  --accent-500: #007775;
  --accent-600: #005050;
  --accent-700: #004545;
  --accent-800: #003a3a;
  --accent-900: #002e2e;

  --paper: #f6f8f8;

  /* ── the sidebar's colour: the brand's dark colour, flat ──────────────── */
  --sidebar-bg: var(--ink-900);

  /* ── older tints and the soft shadows, in this brand ─────────────────── */
  --wash-1: rgba(0, 80, 80, 0.10);   /* --accent-600 at 0.10 */
  --wash-2: rgba(0, 80, 80, 0.07);
  --wash-3: rgba(0, 80, 80, 0.05);
  --brand-hue: 0, 80, 80;            /* --accent-600 as r, g, b */

  /* Reserved. Spent ONLY on a blocked compliance check, never decoration. */
  --block: #b4232a;
  --block-bg: #fbe9ea;
  --block-border: #e9bfc2;
}
