/* Copyright 2026 by John A Kline.  See LICENSE.txt for your rights.
   THE PAPER PLATE FOR weewx-skyfield's NIGHT-PALETTE CHARTS.

   GENERATED from weewx-skyfield's own PALETTES['light'] -- every value
   here is skyfield's, so this skin inherits their contrast fixes instead
   of forking their palette, and TestSkyPaper regenerates this file and
   compares.  DO NOT HAND-EDIT the rules below.

   WHY IT EXISTS.  The celestial pages ask for palette='night' at report
   time, because a report renders once and cannot know which theme a
   reader will choose.  Since 2.4 skyfield stopped baking mark colors into
   attributes and emits them as `:where(svg.sky-night) :where(.cls){...}`
   -- specificity (0,0,0) -- precisely so a consumer can repaint them.
   These rules are (0,2,1).  Repainting in CSS is therefore the only route
   to per-viewer light and dark on these panels.

   89 role classes, of which 83 differ between the two plates.
*/
.theme-light svg.sky-night :where(.sky-dome-stop-1){stop-color:#ffffff}
.theme-light svg.sky-night :where(.sky-dome-stop-2){stop-color:#F3F1EA}
.theme-light svg.sky-night :where(.sky-dome-stop-3){stop-color:#efece2}
.theme-light svg.sky-night :where(.sky-fill-bandcase){fill:#ffffff}
.theme-light svg.sky-night :where(.sky-fill-bandedge){fill:#1d2c4e}
.theme-light svg.sky-night :where(.sky-fill-bandgrid){fill:#1d2c4e}
.theme-light svg.sky-night :where(.sky-fill-body-jupiter){fill:#b06f2e}
.theme-light svg.sky-night :where(.sky-fill-body-mars){fill:#b23a24}
.theme-light svg.sky-night :where(.sky-fill-body-mercury){fill:#52525B}
.theme-light svg.sky-night :where(.sky-fill-body-moon){fill:#D6DAE0}
.theme-light svg.sky-night :where(.sky-fill-body-neptune){fill:#3a63c4}
.theme-light svg.sky-night :where(.sky-fill-body-saturn){fill:#8f7524}
.theme-light svg.sky-night :where(.sky-fill-body-sun){fill:#FACC15}
.theme-light svg.sky-night :where(.sky-fill-body-uranus){fill:#20808f}
.theme-light svg.sky-night :where(.sky-fill-body-venus){fill:#F0E4BE}
.theme-light svg.sky-night :where(.sky-fill-brass){fill:#A44A08}
.theme-light svg.sky-night :where(.sky-fill-conline){fill:#93A5C4}
.theme-light svg.sky-night :where(.sky-fill-earth){fill:#2E7DBE}
.theme-light svg.sky-night :where(.sky-fill-grid){fill:#7A899F}
.theme-light svg.sky-night :where(.sky-fill-halo){fill:#ffffff}
.theme-light svg.sky-night :where(.sky-fill-ink){fill:#1d2c4e}
.theme-light svg.sky-night :where(.sky-fill-line){fill:#c9cfd8}
.theme-light svg.sky-night :where(.sky-fill-moon-dark){fill:#26314F}
.theme-light svg.sky-night :where(.sky-fill-moon-lit){fill:#F2ECD8}
.theme-light svg.sky-night :where(.sky-fill-muted){fill:#5c6672}
.theme-light svg.sky-night :where(.sky-fill-orrery-sun){fill:#FACC15}
.theme-light svg.sky-night :where(.sky-fill-trace-jupiter){fill:#b06f2e}
.theme-light svg.sky-night :where(.sky-fill-trace-mars){fill:#b23a24}
.theme-light svg.sky-night :where(.sky-fill-trace-mercury){fill:#52525B}
.theme-light svg.sky-night :where(.sky-fill-trace-moon){fill:#767E8A}
.theme-light svg.sky-night :where(.sky-fill-trace-neptune){fill:#3a63c4}
.theme-light svg.sky-night :where(.sky-fill-trace-saturn){fill:#8f7524}
.theme-light svg.sky-night :where(.sky-fill-trace-sun){fill:#BC7800}
.theme-light svg.sky-night :where(.sky-fill-trace-uranus){fill:#20808f}
.theme-light svg.sky-night :where(.sky-fill-trace-venus){fill:#97864A}
.theme-light svg.sky-night :where(.sky-fill-tw-astro){fill:#4A648C}
.theme-light svg.sky-night :where(.sky-fill-tw-civil){fill:#9FBCDE}
.theme-light svg.sky-night :where(.sky-fill-tw-day){fill:#D7E6F5}
.theme-light svg.sky-night :where(.sky-fill-tw-naut){fill:#6C8FBF}
.theme-light svg.sky-night :where(.sky-fill-tw-night){fill:#3A5175}
.theme-light svg.sky-night :where(.sky-stroke-bandcase){stroke:#ffffff}
.theme-light svg.sky-night :where(.sky-stroke-bandedge){stroke:#1d2c4e}
.theme-light svg.sky-night :where(.sky-stroke-bandgrid){stroke:#1d2c4e}
.theme-light svg.sky-night :where(.sky-stroke-body-jupiter){stroke:#b06f2e}
.theme-light svg.sky-night :where(.sky-stroke-body-mars){stroke:#b23a24}
.theme-light svg.sky-night :where(.sky-stroke-body-mercury){stroke:#52525B}
.theme-light svg.sky-night :where(.sky-stroke-body-moon){stroke:#D6DAE0}
.theme-light svg.sky-night :where(.sky-stroke-body-neptune){stroke:#3a63c4}
.theme-light svg.sky-night :where(.sky-stroke-body-saturn){stroke:#8f7524}
.theme-light svg.sky-night :where(.sky-stroke-body-sun){stroke:#FACC15}
.theme-light svg.sky-night :where(.sky-stroke-body-uranus){stroke:#20808f}
.theme-light svg.sky-night :where(.sky-stroke-body-venus){stroke:#F0E4BE}
.theme-light svg.sky-night :where(.sky-stroke-brass){stroke:#A44A08}
.theme-light svg.sky-night :where(.sky-stroke-conline){stroke:#93A5C4}
.theme-light svg.sky-night :where(.sky-stroke-dome-rim){stroke:#8a94a6}
.theme-light svg.sky-night :where(.sky-stroke-earth){stroke:#1B5C8F}
.theme-light svg.sky-night :where(.sky-stroke-grid){stroke:#7A899F}
.theme-light svg.sky-night :where(.sky-stroke-halo){stroke:#ffffff}
.theme-light svg.sky-night :where(.sky-stroke-ink){stroke:#1d2c4e}
.theme-light svg.sky-night :where(.sky-stroke-line){stroke:#c9cfd8}
.theme-light svg.sky-night :where(.sky-stroke-moon-ring){stroke:#868686}
.theme-light svg.sky-night :where(.sky-stroke-muted){stroke:#5c6672}
.theme-light svg.sky-night :where(.sky-stroke-rim-jupiter){stroke:none}
.theme-light svg.sky-night :where(.sky-stroke-rim-mars){stroke:none}
.theme-light svg.sky-night :where(.sky-stroke-rim-mercury){stroke:none}
.theme-light svg.sky-night :where(.sky-stroke-rim-moon){stroke:#767E8A}
.theme-light svg.sky-night :where(.sky-stroke-rim-neptune){stroke:none}
.theme-light svg.sky-night :where(.sky-stroke-rim-saturn){stroke:none}
.theme-light svg.sky-night :where(.sky-stroke-rim-sun){stroke:#BC7800}
.theme-light svg.sky-night :where(.sky-stroke-rim-uranus){stroke:none}
.theme-light svg.sky-night :where(.sky-stroke-rim-venus){stroke:#97864A}
.theme-light svg.sky-night :where(.sky-stroke-ring-jupiter){stroke:#ffffff}
.theme-light svg.sky-night :where(.sky-stroke-ring-mars){stroke:#ffffff}
.theme-light svg.sky-night :where(.sky-stroke-ring-mercury){stroke:#ffffff}
.theme-light svg.sky-night :where(.sky-stroke-ring-moon){stroke:#767E8A}
.theme-light svg.sky-night :where(.sky-stroke-ring-neptune){stroke:#ffffff}
.theme-light svg.sky-night :where(.sky-stroke-ring-saturn){stroke:#ffffff}
.theme-light svg.sky-night :where(.sky-stroke-ring-sun){stroke:#BC7800}
.theme-light svg.sky-night :where(.sky-stroke-ring-uranus){stroke:#ffffff}
.theme-light svg.sky-night :where(.sky-stroke-ring-venus){stroke:#97864A}
.theme-light svg.sky-night :where(.sky-stroke-trace-jupiter){stroke:#b06f2e}
.theme-light svg.sky-night :where(.sky-stroke-trace-mars){stroke:#b23a24}
.theme-light svg.sky-night :where(.sky-stroke-trace-mercury){stroke:#52525B}
.theme-light svg.sky-night :where(.sky-stroke-trace-moon){stroke:#767E8A}
.theme-light svg.sky-night :where(.sky-stroke-trace-neptune){stroke:#3a63c4}
.theme-light svg.sky-night :where(.sky-stroke-trace-saturn){stroke:#8f7524}
.theme-light svg.sky-night :where(.sky-stroke-trace-sun){stroke:#BC7800}
.theme-light svg.sky-night :where(.sky-stroke-trace-uranus){stroke:#20808f}
.theme-light svg.sky-night :where(.sky-stroke-trace-venus){stroke:#97864A}

/* THE PER-FRAGMENT PALETTE PIN.  celestial-panels.css opens with

     :root, .theme-dark,
     .theme-light .domefrag[data-dome-palette="night"] svg,
     .theme-light .passfrag[data-pass-palette="night"] svg { ...night... }

   -- an island rule, so a fragment the report ASKED FOR as night keeps
   night tokens even on a light page.  That is right for a consumer who
   wants a night chart on paper and wrong here: the palette is baked at
   report time and cannot know the viewer, so it outvotes the reader's
   choice.  Without this the Stars dome's bodylab read 1.08 on paper and
   its cardinal and satlab 1.86.  Their selector is (0,3,1); this is
   (0,4,2).  weewx-skyfield agrees a "follow the page" palette is the
   right long-term shape; until it exists this is the workaround, and the
   values below are weewx-celestial's own light plate. */
:root.theme-light body.night-page .domefrag[data-dome-palette="night"] svg,
:root.theme-light body.night-page .passfrag[data-pass-palette="night"] svg{
  --night:#EFECE2; --vault:#FFFFFF; --ink:#1D2C4E; --muted:#5C6672;
  --brass:#A44A08; --line:#C9CFD8; --grid:#7A899F;
  --skylab:var(--muted); --conlab:#57637B;
  --c-sun:#FACC15; --c-moon:#D6DAE0; --c-mercury:#52525B; --c-venus:#F0E4BE;
  --c-mars:#B23A24; --c-jupiter:#B06F2E; --c-saturn:#8F7524;
  --c-uranus:#20808F; --c-neptune:#3A63C4; --c-earth:#2E7D64;
  --inset:#F3F1EA;
}
