/*
 * Design tokens — the single :root source for the whole app.
 * Loaded before app.css/forms.css/components.css from base.html.
 * Do not declare :root variables in any other stylesheet.
 */
:root{
  /* Palette (values unchanged from the historical app.css/job_pages.css blocks) */
  --bg:#ffffff;
  --panel:#f7f8fa;
  --ink:#1a1f29;
  --muted:#5a6a7a;
  --accent:#c1d72e;
  --accent-alt:#bccf11;
  --accent-ink:#24300f;   /* readable text on accent */
  --accent-soft:#eef6cc;  /* soft background for accents */
  --border:#d9e0e7;
  --shadow-color:16 24 40; /* for rgba shadows */
  --danger:#dc2626;
  --danger-soft:#fdecec;
  --danger-ink:#a61b1b;
  --danger-muted:#c0392b; /* archive: a calmer red than the delete red */

  /* Spacing scale */
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:24px;
  --space-6:32px;

  /* Radius scale */
  --r-1:6px;
  --r-2:8px;
  --r-3:10px;
  --r-4:12px;

  /* Font-size scale */
  --fs-1:12px;
  --fs-2:13px;
  --fs-3:14px;
  --fs-4:16px;
  --fs-5:20px;

  /* Group tones — hue means GROUP IDENTITY on cards/badges, nothing else.
     (Fill means editability, red means error/destructive, status ramp means
     workflow state — see components.css.) */
  --tone-identity:#e8f0ff;  --tone-identity-ink:#0b3d91;
  --tone-contact:#e7f7e9;   --tone-contact-ink:#0b6b2e;
  --tone-languages:#fff6e5; --tone-languages-ink:#7a4e00;
  --tone-system:#f3e8ff;    --tone-system-ink:#6b21a8;
  --tone-finance:#e6fbf3;   --tone-finance-ink:#065f46;
  --tone-compliance:#fef3c7;--tone-compliance-ink:#92400e;
  --tone-danger:#fdecec;    --tone-danger-ink:#a61b1b;

  /* Workflow status ramp — tint/ink pairs per pipeline status.
     Hues match the historical PipelineUtils.statusColor palette. */
  --st-applied:#dbeafe;     --st-applied-ink:#1e40af;     /* was #2563eb */
  --st-prospect:#f3f4f6;    --st-prospect-ink:#374151;    /* was #6b7280 */
  --st-qualified:#f3e8ff;   --st-qualified-ink:#6b21a8;   /* was #7c3aed */
  --st-cv-sent:#e0e7ff;     --st-cv-sent-ink:#3730a3;     /* was #4f46e5 */
  --st-shortlisted:#ccfbf1; --st-shortlisted-ink:#115e59; /* was #0d9488 */
  --st-interview:#ffedd5;   --st-interview-ink:#9a3412;   /* was #ea580c */
  --st-offered:#fef3c7;     --st-offered-ink:#92400e;     /* was #d97706 */
  --st-accepted:#dcfce7;    --st-accepted-ink:#166534;    /* was #16a34a */
  --st-hired:#bbf7d0;       --st-hired-ink:#14532d;       /* was #15803d */
  --st-rejected:#fee2e2;    --st-rejected-ink:#991b1b;    /* was #dc2626 */
  --st-unclarified:#f3f4f6; --st-unclarified-ink:#6b7280; /* was #9ca3af */
}
