/* Builders Workbench — theme file
   Every color, font, size and corner in the app comes from these variables.
   Change a value here and the whole app updates.
   Current theme: Jobsite Blueprint (from the Builders Workbench design system). */

:root {
  color-scheme: dark;         /* dark scrollbars, date pickers and form controls */

  /* Colors */
  --ground: #1C1D1F;          /* page background, under the drafting grid */
  --grid-line: #2A2C30;       /* drafting grid lines (texture only) */
  --nav: #141517;             /* top navigation bar */
  --surface: #232528;         /* cards, tables, panels */
  --surface-raised: #2A2D31;  /* secondary panels inside a page */
  --line: #3A3D42;            /* borders and row dividers */
  --chip: #33363B;            /* status and category chips */
  --ink: #F2F2F0;             /* primary text and icons */
  --ink-muted: #B5B8BD;       /* secondary text, low/high prices, meta */
  --accent: #FF6B1A;          /* safety orange: primary buttons, active tab, logo */
  --on-accent: #1C1D1F;       /* text on orange (never white) */
  --accent-amber: #FFC21A;    /* caution only: warnings, expiring listings */
  --danger: #FF8A80;          /* error text on dark surfaces */
  --over-budget: #FF8A80;     /* Pallet over budget: border, total and bar (lighter than orange so it reads apart) */
  --near-budget: var(--accent-amber); /* Pallet at 90%+ of budget */

  /* Type */
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --text-display: 700 40px/44px var(--font-sans);
  --text-title: 700 22px/28px var(--font-sans);
  --text-section: 700 18px/24px var(--font-sans);
  --text-body: 400 16px/24px var(--font-sans);
  --text-small: 400 14px/20px var(--font-sans);
  --text-label: 600 12px/16px var(--font-sans);
  --text-figure: 500 15px/22px var(--font-mono);
  --text-figure-large: 700 34px/40px var(--font-mono);

  /* Spacing (the drafting grid is space-8) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;

  /* Shape and sizing */
  --radius-sm: 2px;
  --radius-pill: 999px;
  --control-height: 44px;
  --page-max-width: 1240px;

  /* Drafting grid: set --grid-pitch to 0px to turn it off */
  --grid-pitch: 32px;
}
