/* Overheard style kit. One file holds every colour, font and shadow for the site and the app.
   Two themes: light (the default) and dark. A page picks one with <html data-theme="light|dark">; theme.js sets it
   and remembers the choice. To restyle everything, change the values here. To add a theme, copy the dark block
   under a new data-theme name. site/theme.css is a copy made by site/build/teams.mjs: edit this file, not that one. */
:root{
  /* surfaces */
  --bg:#FDFDFB; --surface:#FFFFFF; --tile:#EFF0F3; --tile-2:#E4E6EC;
  /* text */
  --ink:#0E1014; --navy:#15254E; --ink-2:#505C7A; --ink-3:#737C95; --ink-4:#969DAF;
  /* lines */
  --line:#E6E8ED; --line-2:#DCDEE4;
  /* buttons and marks */
  --accent:#15254E; --accent-ink:#FFFFFF; --accent-soft:#EFF0F3; --mark:#15254E; --ring:rgba(21,37,78,.16);
  /* meaning */
  --good:#2F8F5B; --warn:#C2603F; --good-soft:#E3F3EA; --warn-soft:#FBEBE4;
  /* charts: tokens in, tokens out, then the series palette */
  --in:#2F56A6; --out:#D9703F;
  --c1:#2F56A6; --c2:#D9703F; --c3:#2E9E78; --c4:#D9A030; --c5:#D98AA8; --c6:#7064C4; --c7:#B9BECA;
  --heat-0:#E4E6EC; --heat-1:#15254E; --dot:21,37,78;
  /* depth */
  --shadow:0 1px 2px rgba(21,37,78,.05),0 10px 30px rgba(21,37,78,.07);
  --shadow-2:0 24px 64px rgba(21,37,78,.16);
  /* type */
  --display:'Geist','Helvetica Neue',Helvetica,Arial,sans-serif;
  --body:'Geist','Helvetica Neue',Helvetica,Arial,sans-serif;
  --mono:'Fragment Mono',ui-monospace,Menlo,Consolas,monospace;
  color-scheme:light;
}
:root[data-theme="dark"]{
  --bg:#0E1014; --surface:#15181F; --tile:#171B23; --tile-2:#1F2430;
  --ink:#EFF0F3; --navy:#E3E8F5; --ink-2:#B9BECA; --ink-3:#969DAF; --ink-4:#737C95;
  --line:#222733; --line-2:#2B3140;
  --accent:#E3E8F5; --accent-ink:#0E1014; --accent-soft:#1F2430; --mark:#B9C7EE; --ring:rgba(227,232,245,.22);
  --good:#3DBE80; --warn:#E07A58; --good-soft:#12301F; --warn-soft:#3A1E15;
  --in:#7C9BE0; --out:#E58E62;
  --c1:#6C8EE6; --c2:#D95926; --c3:#199E70; --c4:#C98500; --c5:#D55181; --c6:#9085E9; --c7:#4A5160;
  --heat-0:#1F2430; --heat-1:#B9C7EE; --dot:200,210,235;
  --shadow:0 1px 2px rgba(0,0,0,.3),0 10px 30px rgba(0,0,0,.35);
  --shadow-2:0 24px 64px rgba(0,0,0,.6);
  color-scheme:dark;
}

/* the light / dark switch. Put <button data-theme-toggle></button> anywhere; theme.js fills it in. */
[data-theme-toggle]{display:inline-grid;place-items:center;width:36px;height:36px;flex:none;border:0;border-radius:10px;background:var(--tile);color:var(--navy);cursor:pointer;padding:0;transition:background .15s}
[data-theme-toggle]:hover{background:var(--tile-2)}
[data-theme-toggle]:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
[data-theme-toggle] svg{width:17px;height:17px}
