/* MM Core design tokens. GENERATED from design-tokens/tokens.json by scripts/build-tokens.mjs:
   do not edit here. Change the JSON, then run: node scripts/build-tokens.mjs */
:root{
  --color-bg-chrome: #0b0b0b; /* Left menu and top bar: the darkest surface, like the CMS's black top bar. */
  --color-bg-canvas: #141414; /* Page background behind the content. */
  --color-bg-surface: #1c1c1c; /* Cards, panels, board columns, tables. */
  --color-bg-surface-raised: #262626; /* Dialogs, menus, the active menu item, hovered rows. */
  --color-bg-surface-sunken: #101010; /* Inside of inputs, text areas and selects. */
  --color-bg-hover: rgba(255,255,255,.06); /* Hover wash on menu items and ghost buttons. */
  --color-bg-backdrop: rgba(0,0,0,.66); /* Behind a dialog or the phone menu. */
  --color-border-subtle: #2b2b2b; /* Dividers and card edges (decorative). */
  --color-border-strong: #727272; /* Edges that identify a control: inputs, secondary buttons. Keep 3:1 against surface. */
  --color-text-default: #ececec; /* Body text and headings. */
  --color-text-subtle: #b3b3b3; /* Secondary text, labels. */
  --color-text-faint: #959595; /* Captions, counts, hints. Keep 4.5:1 against surface-raised. */
  --color-text-on-accent: #0b0b0b; /* Text on an accent-filled button or chip. */
  --color-text-on-danger: #ffffff; /* Text on a danger-filled button. */
  --color-accent-base: #2fbf8a; /* THE accent: primary buttons, active tab, focus ring, progress. */
  --color-accent-text: #5ad2a4; /* Accent as text: links, the active menu item. */
  --color-accent-soft: #142b20; /* Accent wash behind accent text: active menu item, success message. */
  --color-danger-base: #c23a26; /* Filled danger button (white text on it). */
  --color-danger-text: #f2715b; /* Error text, destructive links. */
  --color-danger-soft: #3a1a15; /* Behind error messages. */
  --color-warning-text: #e8b931; /* Warnings. */
  --color-warning-soft: #332a10; /* Behind warnings. */
  --color-warning-border: #8a6d0f; /* Edge of a warning box. */
  --color-success-text: #5ad2a4; /* Done, paid, connected. */
  --color-success-soft: #173325; /* Behind success chips and done columns. */
  --color-success-border: #2c5a3c; /* Edge of a done column. */
  --color-info-text: #7fc4e8; /* Information, invoice notes. */
  --color-info-soft: #1c2c3d; /* Behind information boxes. */
  --color-info-border: #35597e; /* Edge of an information box. */
  --color-highlight-text: #e8d44d; /* History and run notes (yellow). */
  --color-status-todo: #7fc4e8; /* Cards to start. */
  --color-status-working: #f0b878; /* Cards in progress. */
  --color-status-done: #5ad2a4; /* Cards done. */
  --color-status-client: #c9a8ea; /* Requests from the client. */
  --color-blocker-base: #7b2233; /* A blocked card's badge and edge. */
  --color-blocker-text: #ffd9df; /* Text on the blocker badge. */
  --color-blocker-soft: #2a1119; /* Behind the blocker note. */
  --color-blocker-soft-text: #f0b6c1; /* Text of the blocker note. */
  --color-priority-high: #b0341f; /* High-priority feedback badge. */
  --color-priority-high-text: #ffe3de; /* Text on the high-priority badge. */
  --color-priority-normal: #8f521a; /* Normal-priority feedback badge. */
  --color-priority-normal-text: #ffe9d2; /* Text on the normal-priority badge. */
  --color-feedback-text: #e8a06a; /* Feedback counts and the feedback button. */
  --color-feedback-hover: #f0b878; /* Feedback button on hover. */
  --color-feedback-soft: #3a2418; /* Behind feedback badges. */
  --color-feedback-border: #8a5a2a; /* Edge of the feedback button. */
  --color-money-text: #7ee2b4; /* Amounts and money chips. */
  --color-money-soft: #173325; /* Behind money chips. */
  --color-preview-bg: #3b2f07; /* The 'Previewing as' bar. */
  --color-preview-text: #f4e9c8; /* Text on the 'Previewing as' bar. */
  --color-timeline-dev: #8b74d4; /* Planned development lane. */
  --color-timeline-client: #c9a227; /* What the client was told. */
  --color-timeline-buffer: #d08a1e; /* Done inside the buffer. */
  --color-timeline-design: #4caf7d; /* One-plan grid: the designer's rows (the client document's green). */
  --color-timeline-ai: #e8e8e8; /* One-plan grid: the AI's rows (the document's black bars, on a dark theme). */
  --color-role-admin: #2fbf8a; /* Role chip: admin. */
  --color-role-employee: #4a91e2; /* Role chip: employee. */
  --color-role-developer: #9d7ae0; /* Role chip: developer. */
  --color-role-collaborator: #d1904f; /* Role chip: collaborator. */
  --color-role-client: #dd6ba4; /* Role chip: client. */
  --color-role-dev_admin: #9d7ae0; /* Role chip: developer admin. */
  --color-role-dev_team: #d1904f; /* Role chip: developer team. */
  --color-role-text: #0b0b0b; /* Text on every role chip. */
  --color-logo-plate-light: #f6f5f2; /* The plate behind a client's dark logo (assets/logo-plate.js): an off-white, so a dark mark reads. */
  --color-logo-plate-light-ink: #3a3a3a; /* A client's initials on the light plate, when they have no logo. */
  --color-logo-plate-dark: #1b1b1b; /* The plate behind a client's light logo: near black, so a white mark reads. */
  --color-logo-plate-dark-edge: #2e2e2e; /* The dark plate's edge, against the dark surfaces around it. */
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; /* Everything: the CMS's font. */
  --font-family-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; /* Ids, code. */
  --font-size-base: 14px; /* Body text. */
  --font-size-sm: 13px; /* Menu items, buttons, table text. */
  --font-size-xs: 12px; /* Labels, chips, captions. */
  --font-size-xxs: 11px; /* Badges, column counts. */
  --font-size-h1: 20px; /* Page title. */
  --font-size-h2: 15px; /* Section title. */
  --font-size-display: 22px; /* Big numbers (scores, totals). */
  --font-size-input-mobile: 16px; /* Inputs on a phone: below 16px iOS zooms the page in on focus. */
  --font-weight-regular: 400; /* Body. */
  --font-weight-medium: 500; /* Menu items. */
  --font-weight-semibold: 600; /* Buttons, labels, table heads. */
  --font-weight-bold: 700; /* Titles, the brand. */
  --radius-card: 12px; /* Cards, panels, dialogs (the CMS's --r). */
  --radius-control: 8px; /* Buttons, inputs, menu items (the CMS's --rs). */
  --radius-sm: 6px; /* Small badges and flags. */
  --radius-pill: 999px; /* Chips and pills. */
  --shadow-card: 0 1px 0 rgba(0,0,0,.55); /* Under a card. */
  --shadow-popover: 0 10px 30px rgba(0,0,0,.55); /* Menus and dialogs. */
  --shadow-drag: 0 18px 40px rgba(0,0,0,.6); /* A card being dragged. */
  --layout-drawer-width: 214px; /* Width of the left menu on a desktop. */
  --layout-content-max: 1080px; /* Widest a content page grows. */
  --layout-content-wide: 1440px; /* Widest a working page grows: Estimations, whose options sit side by side (the owner, 2026-11-13: the page is supposed to be 1440 px). */
}
