/* ============================================================
   Ramu Algo Plus — design tokens.
   Every colour, radius and spacing value in the app resolves
   here. Nothing else should hardcode a hex value.
   ============================================================ */
:root{
  /* surfaces */
  --bg:#080e1b;
  --surface:#101d30;
  --surface-2:#0d192b;
  --sunken:#090f1e;

  /* lines */
  --line:#26384d;
  --line-soft:#1b2a3c;
  --line-strong:#39516a;

  /* text */
  --ink:#e9f0f7;
  --ink-2:#9db0c2;
  --ink-3:#6c7f91;
  --ink-4:#4d5d6c;

  /* roles */
  --accent:#00d4aa;
  --accent-dim:#00a888;
  --accent-wash:rgba(0,212,170,.10);
  --long:#00e676;
  --long-wash:rgba(0,230,118,.12);
  --short:#ff5252;
  --short-wash:rgba(255,82,82,.12);
  --warn:#ffb347;
  --warn-wash:rgba(255,179,71,.12);
  --info:#7dade8;
  --info-wash:rgba(125,173,232,.12);

  /* broker identity */
  --zerodha:#e85718;
  --fyers:#2962ff;
  --iifl:#f59e0b;
  --aliceblue:#3b82f6;
  --bnrathi:#a855f7;
  --delta:#6366f1;
  --livefxhub:#14b8a6;

  /* geometry */
  --r-sm:6px;
  --r:10px;
  --r-lg:14px;
  --r-pill:999px;

  /* type */
  --mono:'SF Mono','Consolas','Courier New',Menlo,monospace;
  --serif:'Playfair Display',Georgia,'Times New Roman',serif;

  --shadow:0 12px 34px rgba(0,0,0,.5);

  /* device safe areas — real values on notched phones, 0 elsewhere.
     Inside the Android WebView these are 0 because the native layout
     already insets below the status bar (android:fitsSystemWindows). */
  --sa-t:env(safe-area-inset-top,0px);
  --sa-b:env(safe-area-inset-bottom,0px);

  --bar-h:58px;   /* bottom tab bar, phone only */
  --tap:44px;     /* minimum touch target */
}
