/*
 * Westbase IO — Design Tokens
 * Generated: 2026-03-14
 *
 * Usage: embed these CSS custom properties in any HTML tool or dashboard.
 * Dark mode is the primary; light mode is available via data-theme="light".
 *
 * Logos (PNG) in brand-assets/:
 *   Westbase-Logo.png           -- full logo, transparent background
 *   Westbase-Logo-white-bg.png  -- full logo, white background
 *
 * PRIORITY: Use logos on every page/tool/dashboard you build.
 *   - Headers: full logo (Westbase-Logo.png or white-bg variant)
 *   - Favicons / small spaces: icon-only version (just the blue W mark)
 *   - Light theme default: use Westbase-Logo-white-bg.png
 *   - Dark theme: use Westbase-Logo.png with filter: brightness(0) invert(1); opacity: .85;
 *
 * Light theme is the preferred default for new tools.
 */

/* ── DARK (default / primary) ── */
[data-theme="dark"],
:root {
  --bg-base:          #111827;
  --bg-surface:       #1f2937;
  --bg-raised:        #273548;
  --border:           #374151;
  --border-subtle:    #2a3647;

  --text-primary:     #e5eaf0;
  --text-secondary:   #8fa3b8;
  --text-muted:       #52677a;

  --accent:           #3b9ede;
  --accent-hover:     #2d8ac8;
  --accent-subtle:    rgba(59, 158, 222, 0.12);

  --success:          #3ec97a;
  --success-bg:       rgba(62, 201, 122, 0.10);
  --success-border:   rgba(62, 201, 122, 0.25);

  --warning:          #e8885a;
  --warning-bg:       rgba(232, 136, 90, 0.10);
  --warning-border:   rgba(232, 136, 90, 0.25);

  --error:            #e0605a;
  --error-bg:         rgba(224, 96, 90, 0.10);
  --error-border:     rgba(224, 96, 90, 0.25);
}

/* ── LIGHT ── */
[data-theme="light"] {
  --bg-base:          #e8ecf1;
  --bg-surface:       #ffffff;
  --bg-raised:        #f2f4f7;
  --border:           #bcc5d0;
  --border-subtle:    #d0d7e0;

  --text-primary:     #111827;
  --text-secondary:   #4b6070;
  --text-muted:       #8fa3b3;

  --accent:           #2d8ac8;
  --accent-hover:     #2478b0;
  --accent-subtle:    rgba(45, 138, 200, 0.08);

  --success:          #1f9954;
  --success-bg:       rgba(31, 153, 84, 0.08);
  --success-border:   rgba(31, 153, 84, 0.22);

  --warning:          #c4612a;
  --warning-bg:       rgba(196, 97, 42, 0.08);
  --warning-border:   rgba(196, 97, 42, 0.22);

  --error:            #c0393a;
  --error-bg:         rgba(192, 57, 58, 0.08);
  --error-border:     rgba(192, 57, 58, 0.22);
}

/* ── TYPOGRAPHY ── */
/*
 * Font: Inter (Google Fonts)
 * <link rel="preconnect" href="https://fonts.googleapis.com">
 * <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
 *
 * Scale:
 *   10px / 600 / uppercase / .1em tracking  -- labels, eyebrows
 *   11px / 400                               -- timestamps, muted metadata
 *   12px / 400-500                           -- secondary body, badge text
 *   13px / 500-600                           -- primary body, nav items, run names
 *   14px / 600                               -- section titles, card headings
 *   15-16px / 600                            -- page titles
 *   24-26px / 700                            -- stat numbers
 */

/* ── SPACING ── */
/*
 * Base unit: 4px
 *   xs:  4px
 *   sm:  8px
 *   md:  12px
 *   lg:  16px
 *   xl:  20-24px
 *   2xl: 32px+
 */

/* ── BORDER RADIUS ── */
/*
 *   pill:       9999px  -- status badges
 *   sm:         4px     -- badges (non-pill), small buttons
 *   md:         6px     -- buttons, inputs, nav items
 *   lg:         7-8px   -- cards, panels
 */

/* ── SHADOWS ── */
/*
 * Dark mode: avoid box shadows -- use border + bg layering instead
 * Light mode: box-shadow: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
 */
