/* Saned Design System v1.0.0 — source of truth. */
:root{
  --paper:#f7f6f3;
  --rail:#f2f1ed;
  --panel:#ffffff;
  --sunk:#fbfaf8;

  --ink:#17171a;
  --ink-2:#56565e;
  --ink-3:#85858e;
  --ink-4:#aeaeb6;

  --line:#e7e5e0;
  --line-2:#f0eee9;
  --line-3:#faf9f6;

  --brand:#1e3a5f;
  --brand-2:#142942;
  --brand-3:#3d76aa;
  --brand-ink:#173355;
  --brand-soft:#dce8f7;
  --brand-line:#b6cde9;

  /* each semantic has: base (icons, rules, beacons)
                        ink  (text on the tint — keeps 10px bold legible)
                        soft (the tint itself)
                        line (its border)                              */
  --pos:#0f7a4f;  --pos-ink:#0a5b3a;  --pos-soft:#d8f1e3;  --pos-line:#a3dcbe;
  --warn:#c07d15; --warn-ink:#8d5b06; --warn-soft:#fbecd0; --warn-line:#eecb8d;
  --neg:#c2321f;  --neg-ink:#9a2417;  --neg-soft:#fce1dc;  --neg-line:#f2b3a8;
  --teal:#2f7d8f; --teal-ink:#1d5c6b; --teal-soft:#d9eef2; --teal-line:#a5d5de;

  /* chart series — one controlled arc, even in value, five apart in hue */
  --c1:#2d5c8a; --c2:#2f7d8f; --c3:#158055; --c4:#c07d15; --c5:#b8452e;

  --sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --ar:'IBM Plex Sans Arabic','Inter',sans-serif;
  --serif:'Instrument Serif',Georgia,serif;
  --mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;

  --r-s:8px; --r-m:11px; --r-l:15px;
  --sh-1:0 1px 2px rgba(23,23,26,.05);
  --sh-2:0 1px 3px rgba(23,23,26,.06),0 6px 18px -8px rgba(23,23,26,.10);

  /* Shared rhythm and sizing for new screens. */
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px;
  --space-5:20px; --space-6:24px; --space-8:32px; --space-10:40px; --space-12:48px;
  --text-xs:11px; --text-sm:12px; --text-md:14px; --text-lg:18px; --text-xl:24px; --text-2xl:32px;
  --control-h:38px; --touch-h:44px; --topbar-h:56px;
  --rail-start:264px; --rail-end:306px; --thread-max:772px;
  --motion-fast:150ms; --motion-normal:240ms;
  --focus-ring:0 0 0 3px rgba(61,118,170,.22);
  --ink-muted:#696972;
  --user-bg:linear-gradient(158deg,#28496f 0%,#1b3557 58%,#172e4c 100%);
}
