/* What the calendar, mail, notes and tasks panels share: the colors, in light and dark, and the
   type families. Each panel (a template in index.html, opened in a frame beside the chat) links
   this before its own styles, so the panels can't drift apart from each other. The terminal's
   own colors are in styles.css. */
:root{
  --bg:#ffffff; --ink:#0a0a0a; --muted:#6b6577; --soft:#9a94a6; --faint:#d9d3e5; --line:#e4e0ec;
  --band:#f3f0f9; --btn:#f3f0f9; --red:#5b21b6; --blue:#4c1d95; --pick:#4c1d95; --cur-bg:#ede9fe; --cur-ink:#2e1065;
  --warn:#b45309; --ok:#0f766e; --danger:#dc2626;
  /* one set of accents, under the three names the panels use for them */
  --c1:#6d28d9; --c2:#0f766e; --c3:#be185d; --c4:#4338ca; --c5:#b45309; --c6:#57534e;
  --a1:var(--c1); --a2:var(--c2); --a3:var(--c3); --a4:var(--c4); --a5:var(--c5); --a6:var(--c6);
  --g1:var(--c1); --g2:var(--c2); --g3:var(--c5);
  --font:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --ui:"Figtree",system-ui,-apple-system,"Segoe UI",sans-serif;
  color-scheme:light;
}
:root:not([data-theme="light"]){
  --bg:#000000; --ink:#ffffff; --muted:#8e8a99; --soft:#6b6577; --faint:#2e2838; --line:#26222e;
  --band:#0e0b14; --btn:#1a1622; --red:#8b5cf6; --blue:#4c1d95; --pick:#4c1d95; --cur-bg:#2e1065; --cur-ink:#ffffff;
  --warn:#fcd34d; --ok:#5eead4; --danger:#f87171;
  --c1:#a78bfa; --c2:#5eead4; --c3:#f9a8d4; --c4:#a5b4fc; --c5:#fcd34d; --c6:#d6d3d1;
  color-scheme:dark;
}
:root[data-theme="dark"]{
  --bg:#000000; --ink:#ffffff; --muted:#8e8a99; --soft:#6b6577; --faint:#2e2838; --line:#26222e;
  --band:#0e0b14; --btn:#1a1622; --red:#8b5cf6; --blue:#4c1d95; --pick:#4c1d95; --cur-bg:#2e1065; --cur-ink:#ffffff;
  --warn:#fcd34d; --ok:#5eead4; --danger:#f87171;
  --c1:#a78bfa; --c2:#5eead4; --c3:#f9a8d4; --c4:#a5b4fc; --c5:#fcd34d; --c6:#d6d3d1;
  color-scheme:dark;
}
