/* GYANAGI "Modern Gurukul" theme — shared layer for every page, including the Shiksha engine (/shiksha/, which maps it in css/shiksha.css).
   Same palette and type as the main page (index.html, #gyanagi-modern-gurukul): indigo + marigold + parchment.
   Night is the default; html.day (synced from localStorage "gyanagi-mode") or a page's own light mode switches to parchment.
   Pages map their own CSS variables onto these --gy-* tokens in a <style id="gyanagi-modern-gurukul"> block. */
:root{
 --gy-bg:#0D1024;--gy-surface:#151935;--gy-soft:#1B2042;--gy-raise:#20264D;
 --gy-fg:#F3EDE0;--gy-muted:#A9AEC8;--gy-faint:#7C82A3;
 --gy-line:rgba(169,174,200,.18);--gy-line-2:rgba(169,174,200,.30);--gy-strong:rgba(242,163,58,.55);
 --gy-accent:#F2A33A;--gy-accent-2:#F6BC6B;--gy-accent-deep:#D9861C;--gy-accent-ink:#1A1714;--gy-accent-dim:rgba(242,163,58,.14);
 --gy-head:#F3EDE0;--gy-om:#F2A33A;--gy-indigo:#1F2A5C;--gy-header:rgba(13,16,36,.92);
 --gy-shadow:0 12px 36px rgba(0,0,0,.28);
 --gy-ok:#7FD19B;--gy-ok-dim:rgba(127,209,155,.14);--gy-bad:#F08A7E;--gy-bad-dim:rgba(240,138,126,.14);--gy-warn:#F6BC6B;
 --gy-sans:"Mukta",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans Devanagari",sans-serif;
 --gy-serif:"Fraunces",Georgia,"Times New Roman","Noto Serif Devanagari",serif;
 --gy-deva:"Tiro Devanagari Sanskrit",Georgia,serif;
 color-scheme:dark;
}
:root.day,:root.gy-day,:root[data-theme="light"],:root.gy-study:not(.dark){
 --gy-bg:#FAF6EE;--gy-surface:#FFFFFF;--gy-soft:#F3EDE0;--gy-raise:#FFFFFF;
 --gy-fg:#1A1714;--gy-muted:#4A4E66;--gy-faint:#767A92;
 --gy-line:#E6DDCB;--gy-line-2:#D8CCB4;--gy-strong:rgba(31,42,92,.38);
 --gy-accent:#A8620C;--gy-accent-2:#A8620C;--gy-accent-deep:#8A4F08;--gy-accent-ink:#FFFFFF;--gy-accent-dim:rgba(217,134,28,.14);
 --gy-head:#1F2A5C;--gy-om:#D9861C;--gy-header:rgba(250,246,238,.92);
 --gy-shadow:0 8px 26px rgba(31,42,92,.07);
 --gy-ok:#267746;--gy-ok-dim:#E0F0E4;--gy-bad:#B84234;--gy-bad-dim:#F8E4E0;--gy-warn:#9A5B0D;
 color-scheme:light;
}
html body{font-family:var(--gy-sans)}
html h1,html h2,html h3{font-family:var(--gy-serif)}
::selection{background:rgba(242,163,58,.32);color:inherit}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #F2A33A;outline-offset:2px}
input::placeholder,textarea::placeholder{color:var(--gy-faint)}
.gy-om,.om,.brandMark{font-family:var(--gy-deva)}
/* Shared study-tools widget (study-kit.js) */
:root{--gsk-bg:var(--gy-surface);--gsk-fg:var(--gy-fg);--gsk-line:var(--gy-line-2);--gsk-accent:var(--gy-accent)}
