/* Shared by every page: the yacht club palette, Golos Text, and the base page.
   Pages link this first, then add tokens of their own (charts, maps, widgets).
   Palette: #F2F0EF sail, #BBBDBC fog, #245F73 harbor teal, #733E24 teak. */
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@600&family=Golos+Text:wght@400;500;600;700&display=swap");

:root{
  --sail:#F2F0EF; --fog:#BBBDBC; --harbor:#245F73; --teak:#733E24;

  --page:#F2F0EF; --surface:#FBFAF9; --ink:#1B2629; --ink-2:#4A5659; --muted:#6F7776;
  --line:#D6D6D4; --grid:#E2E1DF; --ring:rgba(27,38,41,.10); --hover:rgba(27,38,41,.04);
  --accent:#245F73; --accent-2:#733E24;
  /* chart series, in this order (validated for colorblind separation) */
  --s1:#1B6C87; --s2:#A0562C; --s3:#3F8F78; --s4:#BC8236; --s5:#5D6F9A; --s6:#AC4656; --s7:#7C8B8F;
  --warn:#B83A3A;

  --font:"Golos Text",system-ui,-apple-system,"Segoe UI",sans-serif;
  --brand:Caveat,cursive;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --page:#151A1B; --surface:#1E2324; --ink:#F2F0EF; --ink-2:#C3C5C4; --muted:#8E9493;
  --line:#2B3133; --grid:#2B3133; --ring:rgba(242,240,239,.10); --hover:rgba(242,240,239,.05);
  --accent:#5B9FB6; --accent-2:#C77A4C;
  --s1:#4F9DB8; --s2:#C97A4A; --s3:#43A387; --s4:#B5843E; --s5:#7187B8; --s6:#CF6C7A; --s7:#8E9C9F;
  --warn:#E66767;
  color-scheme:dark;
}}
:root[data-theme="dark"]{
  --page:#151A1B; --surface:#1E2324; --ink:#F2F0EF; --ink-2:#C3C5C4; --muted:#8E9493;
  --line:#2B3133; --grid:#2B3133; --ring:rgba(242,240,239,.10); --hover:rgba(242,240,239,.05);
  --accent:#5B9FB6; --accent-2:#C77A4C;
  --s1:#4F9DB8; --s2:#C97A4A; --s3:#43A387; --s4:#B5843E; --s5:#7187B8; --s6:#CF6C7A; --s7:#8E9C9F;
  --warn:#E66767;
  color-scheme:dark;
}

html,body{min-height:100%}
body{margin:0;background:var(--page);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased}
