/* FBC 2027 design tokens – derived from DESIGN-source-spec.md, adapted for the FBC product.
   Import once at app root. All screens in /screens use exactly these values. */
:root {
  /* Color – single action color */
  --color-primary: #0066cc;          /* every link, pill CTA, selected text action */
  --color-primary-focus: #0071e3;    /* focus ring + selected outline (2px) on chips/cards/slots */
  --color-primary-on-dark: #2997ff;  /* links on dark surfaces only */
  --color-on-primary: #ffffff;

  /* Text */
  --color-ink: #1d1d1f;              /* all primary text, dark utility buttons, "done" chips */
  --color-ink-secondary: #424245;    /* secondary text on white/parchment (AA) */
  --color-ink-tertiary: #6e6e73;     /* captions, disabled, meta (AA at 12px+ on white) */
  --color-on-dark: #ffffff;
  --color-on-dark-muted: #cccccc;

  /* Surfaces */
  --color-canvas: #ffffff;
  --color-parchment: #f5f5f7;        /* app background, alternate sections, inactive segments */
  --color-pearl: #fafafc;            /* table header rows */
  --color-segment-track: #e8e8ed;    /* segmented control track on parchment */
  --color-tile-dark: #272729;        /* dark cards / dark sections */
  --color-black: #000000;            /* global nav, scan webapp background */
  --color-frosted: rgba(245, 245, 247, 0.86); /* sticky sub-nav / sticky bars + backdrop blur */

  /* Lines */
  --color-hairline: #e0e0e0;         /* card borders, table header borders */
  --color-divider: #f0f0f0;          /* table row dividers */
  --color-field-border: #d2d2d7;     /* inputs, outline chips, steppers */

  /* Status (the only non-neutral besides primary) */
  --color-danger: #b3261e;           /* overdue, errors, "AI flagged" – text only */
  --color-danger-bg: #fdf3f2;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif; /* SF on Apple, Inter elsewhere (Vietnamese OK) */
  --fs-hero: 80px;   --fw-hero: 600;  --ls-hero: -1.5px;  --lh-hero: 1.05;
  --fs-display: 56px; --ls-display: -0.28px; --lh-display: 1.07;
  --fs-h1: 48px;     --ls-h1: -0.5px;  --lh-h1: 1.08;     /* page title (app pages) */
  --fs-h1-admin: 40px;                 --lh-h1-admin: 1.1;
  --fs-h2: 28px;     --ls-h2: -0.2px;                      /* section title */
  --fs-h3: 24px;                                          /* card/table title */
  --fs-tagline: 21px; --ls-tagline: 0.231px;              /* card heading, sub-nav name */
  --fs-body: 17px;   --ls-body: -0.374px; --lh-body: 1.47;
  --fs-caption: 14px; --ls-caption: -0.224px; --lh-caption: 1.43;
  --fs-small: 12px;  --ls-small: -0.12px;
  --fw-regular: 400; --fw-semibold: 600; --fw-light: 300;  /* never 500 */

  /* Radius */
  --radius-sm: 8px;      /* dark utility buttons, booth badges */
  --radius-field: 12px;  /* inputs, inner panels */
  --radius-card: 18px;   /* cards, sections, tables */
  --radius-pill: 980px;  /* CTAs, chips, segmented controls, search */
  --radius-phone: 40px;  /* mobile artboard frame only */

  /* Spacing (8px base) */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px;
  --space-6: 24px; --space-7: 32px; --space-8: 48px; --space-9: 56px; --space-section: 80px;

  /* Layout */
  --container-text: 980px;   /* forms, landing text sections */
  --container-app: 1200px;   /* exhibitor app pages */
  --container-admin: 1360px; /* admin */
  --nav-height: 44px; --subnav-height: 52px;
  --touch-min: 44px;

  /* Motion */
  --press-scale: 0.95;       /* :active on every button */
}
