/**
 * FlowOps UI tokens — v37.4.01
 *
 * Canonical values for the approved interface. Page and component styles must
 * consume these variables rather than introduce new hard-coded equivalents.
 */
:root {
  /* Colour system */
  --fo-app-bg: #090a0c;
  --fo-app-bg-soft: #0b0d10;
  --fo-surface-1: #111318;
  --fo-surface-2: #0f1217;
  --fo-surface-3: #151b23;
  --fo-surface-raised: #111827;
  --fo-surface-blue: #0f172a;
  --fo-surface-navy: #071226;

  --fo-primary: #11b86b;
  --fo-primary-bright: #22c55e;
  --fo-primary-dark: #047857;
  --fo-success: #22c55e;
  --fo-warning: #f59e0b;
  --fo-danger: #ef4444;
  --fo-info: #3b82f6;

  --fo-text-primary: #f4f4f5;
  --fo-text-inverse: #090a0c;
  --fo-text-muted: #9aa4b2;
  --fo-text-subtle: #667085;
  --fo-text-disabled: #64748b;
  --fo-white: #ffffff;

  --fo-border: #27303a;
  --fo-border-subtle: rgba(255, 255, 255, 0.08);
  --fo-border-strong: rgba(255, 255, 255, 0.14);
  --fo-focus-ring: rgba(17, 184, 107, 0.28);

  /* Typography */
  --fo-font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fo-font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --fo-font-size-xs: 0.75rem;
  --fo-font-size-sm: 0.875rem;
  --fo-font-size-md: 1rem;
  --fo-font-size-lg: 1.125rem;
  --fo-font-size-xl: 1.5rem;
  --fo-line-height-tight: 1.2;
  --fo-line-height-normal: 1.5;

  /* Spacing */
  --fo-space-0: 0;
  --fo-space-1: 0.25rem;
  --fo-space-2: 0.5rem;
  --fo-space-3: 0.75rem;
  --fo-space-4: 1rem;
  --fo-space-5: 1.25rem;
  --fo-space-6: 1.5rem;
  --fo-space-8: 2rem;
  --fo-space-10: 2.5rem;
  --fo-space-12: 3rem;
  --fo-page-gutter-mobile: 1rem;
  --fo-page-gutter-tablet: 1.5rem;
  --fo-page-gutter-desktop: 2rem;

  /* Shape and elevation */
  --fo-radius-sm: 6px;
  --fo-radius-md: 10px;
  --fo-radius-lg: 14px;
  --fo-radius-xl: 18px;
  --fo-radius-pill: 999px;
  --fo-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.24);
  --fo-shadow-md: 0 12px 32px rgba(0, 0, 0, 0.28);
  --fo-shadow-modal: 0 24px 80px rgba(0, 0, 0, 0.48);

  /* Shared layout measurements */
  --fo-sidebar-width: 184px;
  --fo-sidebar-width-admin: 184px;
  --fo-topbar-height: 60px;
  --fo-control-height: 40px;
  --fo-control-height-sm: 34px;
  --fo-button-height: 40px;
  --fo-icon-button-size: 40px;
  --fo-content-max: 1280px;

  /* Motion and layers */
  --fo-duration-fast: 120ms;
  --fo-duration-normal: 180ms;
  --fo-ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --fo-z-sidebar: 40;
  --fo-z-topbar: 50;
  --fo-z-overlay: 900;
  --fo-z-modal: 1000;
  --fo-z-toast: 1100;
}
