html[data-front]{--fw-serif:"Iowan Old Style","Palatino Linotype","Book Antiqua",Palatino,Georgia,serif;
  --fw-sans:"Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  --fw-radius:22px;}
html[data-front="night"]{--fw-bg0:#040914; --fw-bg1:#0a1a33; --fw-bar:#070f1d; --fw-bar-line:#1b2b44;
  --fw-ink:#f3f7fc; --fw-ink2:#c2d0e2; --fw-ink3:#8ea3bd;
  --fw-accent:#3fd6c9; --fw-accent-ink:#04201e; --fw-hot:#ff9348; --fw-violet:#9b8cff;
  --fw-glass:rgba(12,24,44,.70); --fw-glass-strong:rgba(10,20,38,.86); --fw-glass-line:rgba(150,205,255,.20); --fw-glass-hi:rgba(255,255,255,.10);
  --fw-shadow:0 34px 70px -28px rgba(0,0,0,.75),0 10px 24px -12px rgba(0,0,0,.5);
  --fw-paper:#101a28; --fw-paper-ink:#e9eef6; --fw-paper-ink2:#b9c6d6; --fw-paper-rule:#24344b; --fw-paper-link:#6fe3d8;
  --fw-scene-top:#040914; --fw-scene-bottom:#0b2036;
  }
html[data-front="day"]{--fw-bg0:#eaf1f8; --fw-bg1:#d3e3f2; --fw-bar:#ffffff; --fw-bar-line:#d6e1ec;
  --fw-ink:#0d1928; --fw-ink2:#34485f; --fw-ink3:#5b6f86;
  --fw-accent:#00796f; --fw-accent-ink:#ffffff; --fw-hot:#d4561c; --fw-violet:#5b4ccf;
  --fw-glass:rgba(255,255,255,.74); --fw-glass-strong:rgba(255,255,255,.90); --fw-glass-line:rgba(30,70,120,.16); --fw-glass-hi:rgba(255,255,255,.9);
  --fw-shadow:0 30px 60px -30px rgba(20,40,70,.45),0 8px 20px -12px rgba(20,40,70,.25);
  --fw-paper:#fbfaf6; --fw-paper-ink:#121b26; --fw-paper-ink2:#3c4d60; --fw-paper-rule:#e1e5ea; --fw-paper-link:#00695f;
  --fw-scene-top:#f2f6fb; --fw-scene-bottom:#c9dcee;
  }
/* SVGN wiki pages in the front-page design: the front page's bar, Night and Day scene and footer around each page's
   own content, which keeps its own colors on its own sheet (as the Comparison Encyclopedia pages do). Every rule is
   scoped to html[data-front], which front-sheet.js sets; without the script each page is exactly as before.
   The bar and footer rules themselves live inside their shadow roots (front-sheet.js). */
@media screen{
html[data-front]{background:var(--fw-bg0)}
html[data-front] body.front-sheet{background:radial-gradient(1100px 620px at 12% -8%,color-mix(in srgb,var(--fw-accent) 16%,transparent),transparent 70%),
    radial-gradient(900px 560px at 96% 18%,color-mix(in srgb,var(--fw-violet) 14%,transparent),transparent 70%),
    linear-gradient(180deg,var(--fw-scene-top),var(--fw-scene-bottom)) fixed!important;min-height:100vh}
html[data-front] #front-bar-host{display:block!important;position:sticky!important;top:0;z-index:60;margin:0 0 22px;
  width:auto;max-width:none;padding:0;border:0;background:none;box-shadow:none;transform:none}
html[data-front] #front-foot-host{display:block!important;margin-top:40px}
html[data-front] [data-front-marker]{display:none!important}
/* the pages' own top bars repeat the front bar's links; their in-page links stay */
html[data-front] body.svgn-letter-reader > .site-header,html[data-front] body.svgn-linked-page > .site-header{display:none!important}
html[data-front] body.priority-reader .provenance-topbar .svgn-mark{display:none!important}
/* a long archive title no longer pushes the page sideways on a narrow phone (also on the live page before this layer) */
html[data-front] body[data-svgn-surface="archive"] .t{overflow-wrap:anywhere;min-width:0}
/* the article archive list (/published/articles/, served by the Review Worker, which marks its body): its own light sheet
   and its own small nav, centred on the scene; the bar and footer run edge to edge */
html[data-front] body[data-svgn-surface="published-articles"]{max-width:none!important;margin:0!important;padding:0 16px!important;box-sizing:border-box}
html[data-front] body[data-svgn-surface="published-articles"]>:is(.articles-nav,main){box-sizing:border-box;max-width:968px;margin-left:auto;margin-right:auto;
  background:#f7f8fb;color:#182433;border:1px solid rgba(255,255,255,.55);box-shadow:0 18px 48px rgba(3,10,24,.28)}
html[data-front] body[data-svgn-surface="published-articles"]>.articles-nav{padding:12px 26px;border-radius:16px;margin-bottom:14px;row-gap:4px}
html[data-front] body[data-svgn-surface="published-articles"]>main{padding:30px 36px 34px;border-radius:22px}
@media (max-width:560px){
html[data-front] body[data-svgn-surface="published-articles"]{padding:0 10px!important}
html[data-front] body[data-svgn-surface="published-articles"]>.articles-nav{padding:10px 16px}
html[data-front] body[data-svgn-surface="published-articles"]>main{padding:20px 18px 24px}
}
}
@media print{
html[data-front] :is(#front-bar-host,#front-foot-host){display:none!important}
}
/* the footer tagline in Day sits on the lightest part of the scene: its muted ink is darkened there (3.76 to 5.05:1) */
@media screen{html[data-front="day"] #front-foot-host{--fw-ink3:#4a5b70}}
