/* =====================================================================
   BayStreet admin — THEME ("Linen", chosen 26 Sep 2026)
   The ONE place colours, fonts and shadows are defined. Every page
   (index.html and login.html) loads this file first; app.css and
   login.css only use these variables. Do not write hex colours into
   other CSS or JS — add a token here instead.
   Page is warm greige, cards are white, so cards always stand clear.
   ===================================================================== */

/* ---- Fonts: self-hosted (public/fonts, SIL Open Font License) ----
   Inter for everything; Newsreader serif only for sign-in headings.
   latin-ext files carry the ₹ sign. */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:600 650;font-display:swap;src:url(../fonts/inter-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:651 800;font-display:swap;src:url(../fonts/inter-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2113,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2113,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:600 650;font-display:swap;src:url(../fonts/inter-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2113,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:651 800;font-display:swap;src:url(../fonts/inter-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2113,U+A720-A7FF}
@font-face{font-family:'Newsreader';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/newsreader-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Newsreader';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/newsreader-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Newsreader';font-style:italic;font-weight:400;font-display:swap;src:url(../fonts/newsreader-latin-400-italic.woff2) format('woff2')}

:root {
  /* ---- Brand ---- */
  --navy-950:#081829; --navy-900:#0C2137; --navy-800:#122B42; --navy-700:#1B3A5F; --navy-600:#27527F;
  --gold:#C9A063; --gold-l:#E0C08A; --gold-d:#B08B4F; --brass:#8E6634; --on-gold:#3D2E10;

  /* ---- Surfaces (warm "Linen" neutrals) ---- */
  --bg:#E7E3DB;          /* page background */
  --card:#FFFFFF;        /* cards, panels, inputs, modals */
  --surface-2:#F8F6F2;   /* faint fill: hover, input rest, table stripes, sub-panels */
  --surface-3:#EFEBE4;   /* soft fill: tracks, tags, segmented control, bands, board columns */
  --topbar:#FFFFFF;

  /* ---- Lines ---- */
  --border:#D6D0C4;        /* card and control borders */
  --rule-soft:#ECE8E1;     /* row dividers inside cards */
  --border-strong:#C2BAAC; /* hover borders, emphasis rules */

  /* ---- Text ---- */
  --text:#17293D; --text-2:#4A5D72; --muted:#66798F; --faint:#8A9BAC; --placeholder:#A3AFBC;

  /* ---- Selection & info (stay blue on purpose: blue = "selected / informational") ---- */
  --pick:#DEEAF8; --pick-soft:#F2F7FC;
  --info-bg:#EEF4FA; --info-br:#B9CDE2; --info-tx:#37546F;

  /* ---- Status ---- */
  --pos:#1F7A4D; --neg:#B03636;
  --neg-bg:#FDF2F2; --neg-br:#EFC5C5; --neg-tx:#8E2F2F;
  --amber-bg:#FFF7E6; --amber-br:#F0C77E; --amber-tx:#8A5A00; --amber-tx-2:#7A5310; --amber-line:#E0A93B;
  --money:#8A6212; --money-bg:#FDF8F1;   /* gold at a weight that passes on white */

  /* ---- Badges (soft fill + readable text) ---- */
  --b-blue-bg:#E8F0FA;   --b-blue-tx:#1B4A82;
  --b-gold-bg:#FBF2E0;   --b-gold-tx:#8A6212;
  --b-green-bg:#EAF4EE;  --b-green-tx:#1F6B45;
  --b-indigo-bg:#EDEDF8; --b-indigo-tx:#4A45A0;
  --b-orange-bg:#FFF1E0; --b-orange-tx:#96590A;
  --b-teal-bg:#EDF3F7;   --b-teal-tx:#3A6478;
  --b-violet-bg:#F1EDF8; --b-violet-tx:#5B3F8C;
  --b-rose-bg:#F5F0F0;   --b-rose-tx:#8A4A4A;
  --b-red-bg:#FBEDED;    --b-red-tx:#9B2C2C;

  /* ---- On navy (sidebar, accent tiles, toasts) ---- */
  --on-navy:#FFFFFF; --on-navy-muted:#9FB6CC; --on-amber:#5A3B00;
  --side-text:#C9D6E3; --side-label:#63788D; --side-dim:#7E93A8; --side-foot:#6D8298;

  /* ---- Data palette (charts, legends) ---- */
  --c1:#1B3A5F; --c2:#C9A063; --c3:#3E7C8F; --c4:#8FA5BC; --c5:#5B6B8C; --c-slate:#A9BFD4; --c-none:#D3CCBF;
  --chart-grid:#ECE8E1; --chart-axis:#8A9BAC;

  /* ---- Depth ---- */
  --shadow-card:0 1px 2px rgba(40,35,25,.07), 0 2px 8px rgba(40,35,25,.05);
  --shadow-lift:0 3px 10px rgba(40,35,25,.10);
  --focus-ring:0 0 0 4px rgba(39,82,127,.12);

  /* ---- Type ---- */
  --sans:'Inter',-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  --serif:'Newsreader',Georgia,'Times New Roman',serif;
  --mono:ui-monospace,SFMono-Regular,Consolas,monospace;
}
