/* ===== Jela HRD — theme tokens (single source of truth) =====
   DARK PREMIUM cinematic theme (scroll-film system: near-black bg, one sky
   accent, huge display type, generous space). Token NAMES unchanged so
   style.css + admin shell keep working — only values remapped for dark.
   Palette:
     page #05070b / surfaces #0a1018/#0c1420, lines #1c2c44/#132032,
     brand navy #0a2c48 (bands/nav active) / blue #4f8fc7 (links on dark),
     accent sky #00a9e0 (glows/CTAs only), text ink #eef4fa / muted #9db4c9.
   Font: Noto Sans Bengali (Google Fonts) + system Bengali fallbacks.
   FILM-READY: future AI film frames target this bg (#05070b) contain-fit +
   vignette — see style.css .film-stage / .caption / .img-blend.
*/
:root {
  --font-stack: 'Noto Sans Bengali', SolaimanLipi, 'Hind Siliguri', Roboto, NotoKufiArabic, Arial, Helvetica, sans-serif;
  --fs-base: 16px;
  --navy: #0a2c48;
  --blue: #4f8fc7;
  --blue-dark: #9cc8ee;
  --sky: #00a9e0;
  --sky-dark: #4fc3f0;
  --paper: #05070b;
  --soft: #0a1018;
  --card: #0c1420;
  --ink: #eef4fa;
  --ink-inv: #c9dcee;
  --muted: #9db4c9;
  --muted-inv: #9fc3dd;
  --faint: #8ba3b8;
  --line: #1c2c44;
  --line-soft: #132032;
  --red: #e93e3f;
  --red-dark: #ff8a8b;
  --red-soft: #2a1214;
  --amber: #e0aa3e;
  --amber-soft: #241a08;
  --blue-soft: #0e1c2e;
  --green: #34c98a;
  --green-soft: #0a2018;
  --green-dark: #5fe0a8;
  --green-border: #1d4d38;
  --amber-vivid: #d99a00;
  --amber-border: #5a4415;
  --red-border: #5c2225;
  --red-inv: #ffc9ca;
  --blue-border: #23405f;
  --blue-vivid: #2f6ea3;
  --navy-deep: #030509;
  --sky-light: #9be2ff;
  --sky-pale: #12394d;
  --violet: #a78bfa;
  --violet-dark: #c4b5fd;
  --focus-ring: rgb(0, 179, 241) 0 0 0 2px;
  --r: 16px;
  --r-sm: 12px;
  --r-xs: 10px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 8px 28px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 2px 6px rgba(0, 0, 0, 0.55), 0 16px 44px rgba(0, 0, 0, 0.55);
}

/* ===== Light theme — same token NAMES, light values.
   Toggle: <html data-theme="light"> (button in header, saved in
   localStorage). Default (with attr) is light premium; removing the
   attr (dark choice) falls back to dark premium. */
html[data-theme="light"] {
  --navy: #0a2c48;
  --blue: #1d5c96;
  --blue-dark: #0a2c48;
  --sky: #0284c7;
  --sky-dark: #0369a1;
  --paper: #f4f7fb;
  --soft: #ffffff;
  --card: #ffffff;
  --ink: #0d1b2a;
  --ink-inv: #c9dcee;
  --muted: #4a6076;
  --muted-inv: #9fc3dd;
  --faint: #64748b;
  --line: #d3dfee;
  --line-soft: #e4ecf5;
  --red: #d92d20;
  --red-dark: #b42318;
  --red-soft: #fdecec;
  --amber: #b54708;
  --amber-soft: #fef3e2;
  --blue-soft: #e8f1f9;
  --green: #12805c;
  --green-soft: #e2f5ec;
  --green-dark: #0e6b4d;
  --green-border: #b7e2cd;
  --amber-vivid: #dc6803;
  --amber-border: #f0d9b5;
  --red-border: #f3b8b8;
  --red-inv: #7a271a;
  --blue-border: #b8d2e8;
  --blue-vivid: #1d5c96;
  --navy-deep: #e8eef5;
  --sky-light: #0284c7;
  --sky-pale: #e0f2fe;
  --violet: #7c3aed;
  --violet-dark: #6d28d9;
  --focus-ring: rgb(2, 132, 199) 0 0 0 2px;
  --shadow: 0 1px 2px rgba(13, 27, 42, 0.08), 0 8px 28px rgba(13, 27, 42, 0.1);
  --shadow-hover: 0 2px 6px rgba(13, 27, 42, 0.1), 0 16px 44px rgba(13, 27, 42, 0.12);
}
