/* ==========================================================================
   Saras · Design tokens
   Palette is grounded in vehicle-registration material: registration-plate
   yellow for an active lien, endorsement-stamp green for cleared/verified
   states, document paper grey for the working surface.

   The three working colours below — yellow, green and red/black, each paired
   with red accents elsewhere in the app — echo the canopies of the three
   chariots of the Puri Rath Yatra: Nandighosa (Lord Jagannath, red and
   yellow), Taladhwaja (Balabhadra, red and green) and Darpadalana (Subhadra,
   red and black). Three vehicles, three registers, one procession.
   ========================================================================== */

:root {
  /* ---- Ink (text + dark surfaces) ---- */
  --ink-900: #141c1a;
  --ink-800: #1d2926;
  --ink-700: #2a3a36;
  --ink-600: #3f524d;
  --ink-500: #5a6b66;
  --ink-400: #7b8a85;
  --ink-300: #9aa8a3;

  /* ---- Paper + lines ---- */
  --paper: #eef1ef;
  --surface: #ffffff;
  --surface-sunken: #f7f9f8;
  --surface-inset: #f2f5f3;
  --line: #dbe2de;
  --line-strong: #c3cec9;

  /* ---- Seal green: primary actions, approved/verified ---- */
  --seal-800: #083b30;
  --seal-700: #0b4e3f;
  --seal-600: #0e5c4a;
  --seal-500: #16785f;
  --seal-200: #bfdcd3;
  --seal-100: #e3f0ec;

  /* ---- Plate yellow: lien active, pending with authority ---- */
  --plate-700: #8a6600;
  --plate-600: #b98900;
  --plate-400: #e8b300;
  --plate-100: #fff5d6;

  /* ---- Brick: destructive, rejected, validation errors ---- */
  --brick-700: #85251f;
  --brick-600: #a8322b;
  --brick-100: #fbe9e7;

  /* ---- Sky: in-flight / informational ---- */
  --sky-700: #16456b;
  --sky-600: #1d5e8c;
  --sky-100: #e4eff7;

  /* ---- Stamp ink: used once, on the sign-in endorsement ---- */
  --stamp: #4a3a8c;

  /* ---- Semantic aliases ---- */
  --text: var(--ink-900);
  --text-muted: var(--ink-500);
  --text-faint: var(--ink-400);
  --text-invert: #f3f7f5;
  --accent: var(--seal-600);
  --accent-hover: var(--seal-700);
  --focus: #1f7a9c;

  /* ---- Type ---- */
  --font-sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  /* Mono is reserved for identifiers where 0/O and 1/I must be told apart:
     chassis, engine, registration, PAN, request and account numbers. */
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-11: 0.6875rem;
  --fs-12: 0.75rem;
  --fs-13: 0.8125rem;
  --fs-14: 0.875rem;
  --fs-15: 0.9375rem;
  --fs-17: 1.0625rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-30: 1.875rem;
  --fs-40: 2.5rem;

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

  /* ---- Radii ---- */
  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 10px;
  --r-pill: 999px;

  /* ---- Elevation (two only, used sparingly) ---- */
  --shadow-card: 0 1px 2px rgba(20, 28, 26, 0.06);
  --shadow-float: 0 8px 24px -6px rgba(20, 28, 26, 0.22);

  /* ---- Layout metrics ---- */
  --rail-w: 244px;
  --rail-w-collapsed: 68px;
  --topbar-h: 60px;
  --content-max: 1360px;

  --dur: 140ms;
  --ease: cubic-bezier(0.2, 0.6, 0.3, 1);
}
