/* GENERATED from bloc-frontend/packages/tokens/tokens.css - DO NOT EDIT.
   Regenerate: pnpm --filter @bloc/tokens sync:websitecore */

/* ---------------------------------------------------------------------------
 * Bloc design tokens - single source of truth (OKLCH).
 *
 * Consumed by: apps/bloc, apps/admin, packages/bloc-ui-tw4 (Vue side)
 * and exported to WebsiteCore (.NET) via:
 *     pnpm --filter @bloc/tokens sync:websitecore
 *
 * Edit token VALUES here only. The Tailwind `@theme` colour mappings
 * (--color-*) live in each app's CSS and reference these variables.
 * ------------------------------------------------------------------------- */
:root {
  /* Border radius for card, input and buttons */
  --radius: 0.5rem;

  /* Default background / text colour of <body /> */
  --background: oklch(1 0 0);
  --foreground: oklch(0.137 0.036 258.526);

  /* <Card /> */
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.137 0.036 258.526);

  /* Popovers: <DropdownMenu />, <HoverCard />, <Popover /> */
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.137 0.036 258.526);

  /* Primary - brand sky-blue (#0e9cf1) */
  --primary: oklch(0.668 0.164 244.653);
  --primary-foreground: oklch(0.984 0.003 247.858);

  /* Secondary */
  --secondary: oklch(0.968 0.007 247.895);
  --secondary-foreground: oklch(0.208 0.04 265.727);

  /* Muted: <TabsList />, <Skeleton />, <Switch /> */
  --muted: oklch(0.968 0.007 247.895);
  --muted-foreground: oklch(0.555 0.041 257.44);

  /* Accent: hover on <DropdownMenuItem />, <SelectItem />, etc. */
  --accent: oklch(0.968 0.007 247.895);
  --accent-foreground: oklch(0.208 0.04 265.727);

  /* Destructive: <Button variant="destructive" /> */
  --destructive: oklch(0.637 0.208 25.326);
  --destructive-foreground: oklch(0.984 0.003 247.858);

  /* Borders + form inputs - shadcn-vue slate default (#e2e8f0) */
  --border: oklch(0.929 0.013 255.508);
  --input: oklch(0.929 0.013 255.508);

  /* Focus ring + links */
  --ring: var(--primary);
  --link-color: var(--primary);

  /* Immutable brand anchor. Holds the brand hue as a literal so it survives
     scoped themes that locally reassign --primary (e.g. the AccountingModule
     restyle). Use when a section overrides --primary but you still need the
     real brand colour. */
  --primary-base: oklch(0.668 0.164 244.653);
  --primary-subtle: oklch(0.97 0.019 240.876); /* sky tint, soft brand background */

  /* Status: success - positive amounts, income, completed steps */
  --success: oklch(0.627 0.194 149.214);            /* green-600  ~#16a34a */
  --success-foreground: oklch(0.984 0.003 247.858); /* text/icon on solid success */
  --success-subtle: oklch(0.962 0.044 156.743);     /* green-100, soft background */
  --success-border: oklch(0.925 0.084 155.995);     /* green-200, soft border */
  --success-strong: oklch(0.527 0.154 150.069);     /* green-700, text on subtle bg */

  /* Status: warning - deadlines, attention, beta */
  --warning: oklch(0.666 0.179 58.318);             /* amber-600 ~#d97706 */
  --warning-foreground: oklch(0.279 0.077 45.635);  /* dark text on solid amber */
  --warning-subtle: oklch(0.987 0.022 95.277);      /* amber-50, soft background */
  --warning-border: oklch(0.924 0.12 95.746);       /* amber-200, soft border */
  --warning-strong: oklch(0.473 0.137 46.201);      /* amber-800, text on subtle bg */

  /* Soft destructive surfaces (negative-amount pills, error banners) */
  --destructive-subtle: oklch(0.936 0.032 17.717);  /* red-100, soft background */
  --destructive-border: oklch(0.885 0.062 18.334);  /* red-200, soft border */
}
