/* BestBridge UI Kit — tokens.css
   Isolated reusable layer under /bestbridge-design-system/. Values extracted verbatim
   from BestBridge Merchant Admin.dc.html (inline styles). The master is NOT modified.
   Source per token noted in DESIGN_TOKENS.md / INLINE_TO_COMPONENT_MAP.md. */
:root{
  /* Brand */
  --bb-primary:#1f56f0;
  --bb-primary-hover:#143fc0;
  --bb-brand-cyan:#38b6f1;
  --bb-brand-blue-2:#2f77f4;
  --bb-primary-tint:#eef3ff;
  --bb-logo-tile:#eaf4fd;
  /* Background / surface */
  --bb-app-bg:#f5f7fb;
  --bb-surface:#ffffff;
  --bb-surface-subtle:#fafbfd;
  --bb-surface-subtle-2:#fbfcfe;
  --bb-surface-dark:#0f1729;
  /* Text */
  --bb-text-heading:#101828;
  --bb-text-body:#26324a;
  --bb-text-label:#556070;
  --bb-text-muted:#667085;
  --bb-text-muted-2:#8a94a6;
  --bb-text-placeholder:#98a2b3;
  --bb-text-faint:#a9b1c2;
  --bb-code-text:#c9d6f7;
  /* Borders */
  --bb-border-card:#eceef4;
  --bb-border-control:#e7eaf1;
  --bb-border-control-2:#e2e6ee;
  --bb-border-row:#f2f4f8;
  --bb-border-form:#d7dce8;
  /* Semantic — success */
  --bb-success-bg:#e7f6ee; --bb-success-text:#12833f; --bb-success-dot:#12a150;
  /* Semantic — warning */
  --bb-warning-bg:#fbf1e0; --bb-warning-text:#a3630f; --bb-warning-dot:#d9822b;
  /* Semantic — error */
  --bb-error-bg:#fdecec; --bb-error-text:#c13438; --bb-error-accent:#e5484d; --bb-error-hover:#c93b40; --bb-error-border:#f5cfd0;
  /* Semantic — neutral */
  --bb-neutral-bg:#eef1f6; --bb-neutral-text:#556070; --bb-neutral-dot:#8a94a6;
  /* Environment */
  --bb-live-bg:#e7f6ee; --bb-live-text:#12833f; --bb-live-dot:#12a150; --bb-live-border:#bfe3cc;
  --bb-sandbox-bg:#fdf6e3; --bb-sandbox-bg-soft:#fbf3d6; --bb-sandbox-text-soft:#8a6d15; --bb-sandbox-text:#9a7b1a; --bb-sandbox-dot:#e0aa1e; --bb-sandbox-border:#ecd99e;
  /* Chart */
  --bb-chart-primary:#0d9488;
  --bb-chart-comparison:#6366f1;
  --bb-chart-grid:#e6e9f0;
  --bb-chart-grid-2:#f0f2f7;
  /* Focus ring */
  --bb-focus-ring:0 0 0 3px rgba(31,86,240,.13);
  --bb-focus-ring-err:0 0 0 3px rgba(229,72,77,.12);
  /* Typography */
  --bb-font:'Arimo','Helvetica Neue',Helvetica,Arial,sans-serif;
  --bb-font-mono:'Roboto Mono',ui-monospace,'SF Mono',Menlo,monospace;
  --bb-fs-auth-h:38px; --bb-fs-kpi:23px; --bb-fs-page-title:17px; --bb-fs-body:14px; --bb-fs-sm:13px; --bb-fs-xs:12.5px;
  --bb-fs-label:12px; --bb-fs-badge:11.5px; --bb-fs-caption:11px; --bb-fs-uppercase:10.5px;
  --bb-fw-medium:500; --bb-fw-semibold:600; --bb-fw-bold:700;
  --bb-ls-tight:-.02em; --bb-ls-tight-1:-.01em; --bb-ls-upper:.03em; --bb-ls-upper-2:.06em;
  /* Spacing */
  --bb-sp-2:2px; --bb-sp-6:6px; --bb-sp-26:26px;
  /* Radii */
  --bb-radius-icon:7px; --bb-radius-control:9px; --bb-radius-card:13px; --bb-radius-modal:16px; --bb-radius-pill:20px;
  /* Shadows */
  --bb-shadow-card-hover:0 3px 14px rgba(31,86,240,.06);
  --bb-shadow-popover:0 14px 34px rgba(16,24,40,.18);
  --bb-shadow-popover-2:0 18px 48px rgba(16,24,40,.2);
  --bb-shadow-modal:0 24px 60px rgba(16,24,40,.24);
  --bb-shadow-logo:0 8px 22px rgba(16,24,40,.12);
  --bb-shadow-chip:0 1px 3px rgba(16,24,40,.1);
  /* Overlays */
  --bb-overlay:rgba(16,24,40,.42);
  /* Z-index */
  --bb-z-overlay:100;
  /* Control heights / sizes */ --bb-h-icon-btn:28px;
  --bb-w-sidebar:248px; --bb-w-badge:108px; --bb-w-badge-key:108px;
  /* Icon sizes */
  /* Breakpoints (reference) */
  /* B-04 — extracted recurring non-token colors */
  --bb-surface-hover:#f4f6fb;
  --bb-surface-alt:#f7f9fc;
  --bb-info-bg:#f2f5fb;
  --bb-selected-bg:#f6f9ff;
  --bb-row-hover:#fafbff;
  --bb-border-strong:#d5dbe6;
  --bb-border-muted:#c5cbd6;
  --bb-border-muted-2:#c2c7d0;
  --bb-icon-muted:#aab2c0;
}
