/* Light palette extras, the nine graha colours, and the landing page's
   dark theme. Loaded straight after tokens.css.
   Dark is scoped to the landing page (:root:has(body.landing), so the
   html canvas and the body both carry it) by the owner's ruling of
   17 Nov 2026, "dark landing only for now". Site-wide dark is deferred
   (FUTURE-SCOPE §4): inner components and several tokens have no dark
   value yet. */
:root{
  --g-moon:#AAB3C6;--g-mars:#C8452F;--g-rahu:#5B5F6B;--g-jupiter:#C98A1E;
  --g-saturn:#1F2344;--g-mercury:#5E8C6A;--g-ketu:#8C6A5E;--g-venus:#E3B3AE;
  --g-sun:#B8733D;
  --gold:#E2B868;--gold-2:#C98A1E;
  --sky:radial-gradient(ellipse at 50% 0%,#FFFDF7,#F1EEE6);
  --glass:rgba(255,255,255,.72);--glass-edge:rgba(27,31,58,.10);
  --grain-op:.5;
  /* Task 2 (17 Nov): every colour the inner sheets used to write is a token,
     at today's value. Moved or added here, not in tokens.css. */
  --btn-hover:#2A2F55;--tag-bg:#EEEEEE;--tag-off:#5A5A5A;--tag-off-bg:#E9E9E9;
  --att-practice:#8A3A3A;--att-practice-bg:#F3E6E6;--att-practice-edge:#A04545;--att-practice-tint:#FDF6F6;
  --att-recovered:#7A5F18;--att-recovered-bg:#F7F0DC;
  --att-transmitted:#4A6B3A;--att-transmitted-edge:#5A7A4A;--att-transmitted-bg:#E8F0E4;
  --att-commented:#3F6B8A;--att-commented-bg:#E4EEF5;
  --technical:#444444;--link:#1A5C8A;--link-hover:#134A70;
  --reason-bg:#F4F5F9;--callout-bg:#FBF6EA;--daylight:#E8B65A;--print-rule:#999999;
  --mark-sky:#0F1222;--mark-bead:#8E93A8;
  /* printing is ink on white whatever the phone's theme: never redefined at night */
  --print-page:#FFFFFF;--print-ink:#1B1F3A;
  /* landing.css, moved unchanged */
  --gold-glow:rgba(226,184,104,.35);--gold-edge:rgba(226,184,104,.6);--gold-fade:rgba(226,184,104,.15);
  --gold-hi:#EED4A4;--gold-lo:#C09C58;
  /* the pill is gold in both themes, so its words keep the light ink */
  --gold-ink:#1B1F3A;
  --lp-moon-lit:#F4EFDF;--lp-moon-dark:#2B2F4C;--lp-sun:#F1C26A;
  --lp-halo:rgba(150,160,220,.16);
  /* preview.css, moved unchanged: the graha colours, decoration only */
  --surya:#C8862A;--chandra:#8E9BB5;--mangal:#C8452F;--budha:#5E8C6A;
  --guru:#B8733D;--shukra:#E3B3AE;--shani:#3A3E5C;
  --pv-sky-hi:#2A3060;--pv-sky-lo:#12152B;
  --pv-moon-core:#FFFFFF;--pv-moon-mid:#E8EDF5;--pv-moon-rim:#5E6B85;
  --pv-moon-glow:rgba(142,155,181,.45);
}
@media (prefers-color-scheme: dark){
  :root:has(body.landing){
    color-scheme:light dark;
    --ink:#EDEFF5;--paper:#0F1222;--card:#171B30;--muted:#C9CCDA;--soft:#D5D8E4;
    --line:#23273D;--hair:#1C2140;--bg:var(--paper);
    --accent:#D39545;--ochre:#C8862A;--outline:#6A7090;
    --warn:#F0C987;--warnbg:#2B2412;
    --btn-hover:#D5D8E4;
    --g-saturn:#3A3F63;
    --sky:radial-gradient(ellipse at 50% 0%,#262B57,#0F1222);
    --glass:rgba(255,255,255,.05);--glass-edge:rgba(255,255,255,.10);
    --grain-op:.16;
  }
}
