/* Argos 2.0 - colours and the light theme (0.23.0).
   Every colour a page or stylesheet uses for a surface, a line or text is a token here: --h- and the dark value it stands
   for (--h-0d1117 is the page background). The dark theme is the default. The light theme gives each token another value;
   nothing else in the product knows which theme is on. Rules:
   - A new surface, border or text colour in any page or stylesheet is written var(--h-...), never as a number
     (test/38-theme.test.js fails otherwise). A token that does not exist yet is added to BOTH lists below.
   - Left as numbers on purpose: a saturated colour used as a BACKGROUND (a blue button, a yellow tag - the text on it
     is white or ink and reads the same in both themes), white, black, and the series colours of charts.
   - The header keeps the dark colours in both themes (the logo is drawn for a dark bar), and so does a visual
     dashboard's drawing (.vis): the values placed on it are dark tags that read on any drawing a customer uploads.
     Anything inside .hdr, .vis or .th-dark gets the dark values back.
   - Drawing code that cannot use var() (a canvas) asks ARGOS_THEME.color('#0d1117') in theme.js. */
/* Signal colours - these may stay a number where they are a background (read by test/38-theme.test.js):
   accents: 58a6ff 79b8ff 79c0ff 388bfd 1f6feb cfe1ff 9fb4d6 2f5fa8 3fb950 238636 2dd4bf f85149 ff7b72 da3633 d29922 e3b341 f0b429 f2cc60 9e6a03 bc8cff a371f7 f778ba */
:root {
  --h-010409:#010409; --h-0d1117:#0d1117; --h-10161d:#10161d; --h-11161d:#11161d; --h-161b22:#161b22; --h-1c2128:#1c2128;
  --h-21262d:#21262d; --h-2d333b:#2d333b; --h-30363d:#30363d; --h-444c56:#444c56; --h-484f58:#484f58; --h-4b5563:#4b5563;
  --h-6e7681:#6e7681; --h-8b949e:#8b949e; --h-c9d1d9:#c9d1d9; --h-e6edf3:#e6edf3; --h-f0f6fc:#f0f6fc; --h-58a6ff:#58a6ff;
  --h-79b8ff:#79b8ff; --h-79c0ff:#79c0ff; --h-388bfd:#388bfd; --h-1f6feb:#1f6feb; --h-cfe1ff:#cfe1ff; --h-9fb4d6:#9fb4d6;
  --h-2f5fa8:#2f5fa8; --h-3fb950:#3fb950; --h-238636:#238636; --h-2dd4bf:#2dd4bf; --h-f85149:#f85149; --h-ff7b72:#ff7b72;
  --h-da3633:#da3633; --h-d29922:#d29922; --h-e3b341:#e3b341; --h-f0b429:#f0b429; --h-f2cc60:#f2cc60; --h-9e6a03:#9e6a03;
  --h-bc8cff:#bc8cff; --h-a371f7:#a371f7; --h-f778ba:#f778ba; --h-2d2000:#2d2000; --h-2d0d0d:#2d0d0d; --h-3b2a0a:#3b2a0a;
  --h-172b4d:#172b4d; --h-12213d:#12213d; --h-12233d:#12233d; --h-111a2b:#111a2b; --h-1c1a12:#1c1a12; --h-0d419d:#0d419d;
  --h-2b3d52:#2b3d52; --h-6e5418:#6e5418;
}
html[data-theme="light"] { color-scheme:light;
  --h-010409:#e6eaef; --h-0d1117:#f4f6f8; --h-10161d:#f1f3f6; --h-11161d:#edf0f3; --h-161b22:#ffffff; --h-1c2128:#f3f4f6;
  --h-21262d:#e9edf1; --h-2d333b:#dde2e8; --h-30363d:#cdd4dc; --h-444c56:#b3bcc6; --h-484f58:#7b848f; --h-4b5563:#9aa4af;
  --h-6e7681:#6a737d; --h-8b949e:#57606a; --h-c9d1d9:#30363d; --h-e6edf3:#1f2328; --h-f0f6fc:#0d1117; --h-58a6ff:#0969da;
  --h-79b8ff:#0550ae; --h-79c0ff:#0550ae; --h-388bfd:#0969da; --h-1f6feb:#0969da; --h-cfe1ff:#0a3069; --h-9fb4d6:#44546a;
  --h-2f5fa8:#6cb0f5; --h-3fb950:#1a7f37; --h-238636:#1a7f37; --h-2dd4bf:#0f766e; --h-f85149:#cf222e; --h-ff7b72:#a40e26;
  --h-da3633:#cf222e; --h-d29922:#9a6700; --h-e3b341:#7d4e00; --h-f0b429:#b07c00; --h-f2cc60:#7d4e00; --h-9e6a03:#d4a72c;
  --h-bc8cff:#8250df; --h-a371f7:#8250df; --h-f778ba:#bf3989; --h-2d2000:#fff8c5; --h-2d0d0d:#ffebe9; --h-3b2a0a:#fff1c2;
  --h-172b4d:#ddf4ff; --h-12213d:#ddf4ff; --h-12233d:#ddf4ff; --h-111a2b:#eef6ff; --h-1c1a12:#fff8e6; --h-0d419d:#b6e3ff;
  --h-2b3d52:#c8d9ea; --h-6e5418:#f0d9a0;
}
/* dark again inside the header (and anything marked th-dark) */
html[data-theme="light"] .hdr, html[data-theme="light"] .th-dark, html[data-theme="light"] .vis { color-scheme:dark;
  --h-010409:#010409; --h-0d1117:#0d1117; --h-10161d:#10161d; --h-11161d:#11161d; --h-161b22:#161b22; --h-1c2128:#1c2128;
  --h-21262d:#21262d; --h-2d333b:#2d333b; --h-30363d:#30363d; --h-444c56:#444c56; --h-484f58:#484f58; --h-4b5563:#4b5563;
  --h-6e7681:#6e7681; --h-8b949e:#8b949e; --h-c9d1d9:#c9d1d9; --h-e6edf3:#e6edf3; --h-f0f6fc:#f0f6fc; --h-58a6ff:#58a6ff;
  --h-79b8ff:#79b8ff; --h-79c0ff:#79c0ff; --h-388bfd:#388bfd; --h-1f6feb:#1f6feb; --h-cfe1ff:#cfe1ff; --h-9fb4d6:#9fb4d6;
  --h-2f5fa8:#2f5fa8; --h-3fb950:#3fb950; --h-238636:#238636; --h-2dd4bf:#2dd4bf; --h-f85149:#f85149; --h-ff7b72:#ff7b72;
  --h-da3633:#da3633; --h-d29922:#d29922; --h-e3b341:#e3b341; --h-f0b429:#f0b429; --h-f2cc60:#f2cc60; --h-9e6a03:#9e6a03;
  --h-bc8cff:#bc8cff; --h-a371f7:#a371f7; --h-f778ba:#f778ba; --h-2d2000:#2d2000; --h-2d0d0d:#2d0d0d; --h-3b2a0a:#3b2a0a;
  --h-172b4d:#172b4d; --h-12213d:#12213d; --h-12233d:#12233d; --h-111a2b:#111a2b; --h-1c1a12:#1c1a12; --h-0d419d:#0d419d;
  --h-2b3d52:#2b3d52; --h-6e5418:#6e5418;
  --bg:var(--h-0d1117); --surf:var(--h-161b22); --surf2:var(--h-21262d); --surf3:var(--h-2d333b); --border:var(--h-30363d); --text:var(--h-e6edf3); --text2:var(--h-c9d1d9); --muted:var(--h-8b949e); --green:var(--h-3fb950); --red:var(--h-f85149); --yellow:var(--h-d29922); --blue:var(--h-58a6ff);
}
/* drawings made in code carry their colours as attributes, where var() is not allowed: the light theme re-colours them here */
html[data-theme="light"] [fill="#010409" i] { fill:var(--h-010409); }
html[data-theme="light"] [fill="#0d1117" i] { fill:var(--h-0d1117); }
html[data-theme="light"] [fill="#10161d" i] { fill:var(--h-10161d); }
html[data-theme="light"] [fill="#11161d" i] { fill:var(--h-11161d); }
html[data-theme="light"] [fill="#161b22" i] { fill:var(--h-161b22); }
html[data-theme="light"] [fill="#1c2128" i] { fill:var(--h-1c2128); }
html[data-theme="light"] [fill="#21262d" i] { fill:var(--h-21262d); }
html[data-theme="light"] [fill="#2d333b" i] { fill:var(--h-2d333b); }
html[data-theme="light"] [fill="#30363d" i] { fill:var(--h-30363d); }
html[data-theme="light"] [fill="#444c56" i] { fill:var(--h-444c56); }
html[data-theme="light"] [fill="#484f58" i] { fill:var(--h-484f58); }
html[data-theme="light"] [fill="#4b5563" i] { fill:var(--h-4b5563); }
html[data-theme="light"] [fill="#6e7681" i] { fill:var(--h-6e7681); }
html[data-theme="light"] [fill="#8b949e" i] { fill:var(--h-8b949e); }
html[data-theme="light"] [fill="#c9d1d9" i] { fill:var(--h-c9d1d9); }
html[data-theme="light"] [fill="#e6edf3" i] { fill:var(--h-e6edf3); }
html[data-theme="light"] [fill="#f0f6fc" i] { fill:var(--h-f0f6fc); }
html[data-theme="light"] [fill="#58a6ff" i] { fill:var(--h-58a6ff); }
html[data-theme="light"] [fill="#79b8ff" i] { fill:var(--h-79b8ff); }
html[data-theme="light"] [fill="#79c0ff" i] { fill:var(--h-79c0ff); }
html[data-theme="light"] [fill="#388bfd" i] { fill:var(--h-388bfd); }
html[data-theme="light"] [fill="#1f6feb" i] { fill:var(--h-1f6feb); }
html[data-theme="light"] [fill="#cfe1ff" i] { fill:var(--h-cfe1ff); }
html[data-theme="light"] [fill="#9fb4d6" i] { fill:var(--h-9fb4d6); }
html[data-theme="light"] [fill="#2f5fa8" i] { fill:var(--h-2f5fa8); }
html[data-theme="light"] [fill="#3fb950" i] { fill:var(--h-3fb950); }
html[data-theme="light"] [fill="#238636" i] { fill:var(--h-238636); }
html[data-theme="light"] [fill="#2dd4bf" i] { fill:var(--h-2dd4bf); }
html[data-theme="light"] [fill="#f85149" i] { fill:var(--h-f85149); }
html[data-theme="light"] [fill="#ff7b72" i] { fill:var(--h-ff7b72); }
html[data-theme="light"] [fill="#da3633" i] { fill:var(--h-da3633); }
html[data-theme="light"] [fill="#d29922" i] { fill:var(--h-d29922); }
html[data-theme="light"] [fill="#e3b341" i] { fill:var(--h-e3b341); }
html[data-theme="light"] [fill="#f0b429" i] { fill:var(--h-f0b429); }
html[data-theme="light"] [fill="#f2cc60" i] { fill:var(--h-f2cc60); }
html[data-theme="light"] [fill="#9e6a03" i] { fill:var(--h-9e6a03); }
html[data-theme="light"] [fill="#bc8cff" i] { fill:var(--h-bc8cff); }
html[data-theme="light"] [fill="#a371f7" i] { fill:var(--h-a371f7); }
html[data-theme="light"] [fill="#f778ba" i] { fill:var(--h-f778ba); }
html[data-theme="light"] [fill="#2d2000" i] { fill:var(--h-2d2000); }
html[data-theme="light"] [fill="#2d0d0d" i] { fill:var(--h-2d0d0d); }
html[data-theme="light"] [fill="#3b2a0a" i] { fill:var(--h-3b2a0a); }
html[data-theme="light"] [fill="#172b4d" i] { fill:var(--h-172b4d); }
html[data-theme="light"] [fill="#12213d" i] { fill:var(--h-12213d); }
html[data-theme="light"] [fill="#12233d" i] { fill:var(--h-12233d); }
html[data-theme="light"] [fill="#111a2b" i] { fill:var(--h-111a2b); }
html[data-theme="light"] [fill="#1c1a12" i] { fill:var(--h-1c1a12); }
html[data-theme="light"] [fill="#0d419d" i] { fill:var(--h-0d419d); }
html[data-theme="light"] [fill="#2b3d52" i] { fill:var(--h-2b3d52); }
html[data-theme="light"] [fill="#6e5418" i] { fill:var(--h-6e5418); }
html[data-theme="light"] [stroke="#010409" i] { stroke:var(--h-010409); }
html[data-theme="light"] [stroke="#0d1117" i] { stroke:var(--h-0d1117); }
html[data-theme="light"] [stroke="#10161d" i] { stroke:var(--h-10161d); }
html[data-theme="light"] [stroke="#11161d" i] { stroke:var(--h-11161d); }
html[data-theme="light"] [stroke="#161b22" i] { stroke:var(--h-161b22); }
html[data-theme="light"] [stroke="#1c2128" i] { stroke:var(--h-1c2128); }
html[data-theme="light"] [stroke="#21262d" i] { stroke:var(--h-21262d); }
html[data-theme="light"] [stroke="#2d333b" i] { stroke:var(--h-2d333b); }
html[data-theme="light"] [stroke="#30363d" i] { stroke:var(--h-30363d); }
html[data-theme="light"] [stroke="#444c56" i] { stroke:var(--h-444c56); }
html[data-theme="light"] [stroke="#484f58" i] { stroke:var(--h-484f58); }
html[data-theme="light"] [stroke="#4b5563" i] { stroke:var(--h-4b5563); }
html[data-theme="light"] [stroke="#6e7681" i] { stroke:var(--h-6e7681); }
html[data-theme="light"] [stroke="#8b949e" i] { stroke:var(--h-8b949e); }
html[data-theme="light"] [stroke="#c9d1d9" i] { stroke:var(--h-c9d1d9); }
html[data-theme="light"] [stroke="#e6edf3" i] { stroke:var(--h-e6edf3); }
html[data-theme="light"] [stroke="#f0f6fc" i] { stroke:var(--h-f0f6fc); }
html[data-theme="light"] [stroke="#58a6ff" i] { stroke:var(--h-58a6ff); }
html[data-theme="light"] [stroke="#79b8ff" i] { stroke:var(--h-79b8ff); }
html[data-theme="light"] [stroke="#79c0ff" i] { stroke:var(--h-79c0ff); }
html[data-theme="light"] [stroke="#388bfd" i] { stroke:var(--h-388bfd); }
html[data-theme="light"] [stroke="#1f6feb" i] { stroke:var(--h-1f6feb); }
html[data-theme="light"] [stroke="#cfe1ff" i] { stroke:var(--h-cfe1ff); }
html[data-theme="light"] [stroke="#9fb4d6" i] { stroke:var(--h-9fb4d6); }
html[data-theme="light"] [stroke="#2f5fa8" i] { stroke:var(--h-2f5fa8); }
html[data-theme="light"] [stroke="#3fb950" i] { stroke:var(--h-3fb950); }
html[data-theme="light"] [stroke="#238636" i] { stroke:var(--h-238636); }
html[data-theme="light"] [stroke="#2dd4bf" i] { stroke:var(--h-2dd4bf); }
html[data-theme="light"] [stroke="#f85149" i] { stroke:var(--h-f85149); }
html[data-theme="light"] [stroke="#ff7b72" i] { stroke:var(--h-ff7b72); }
html[data-theme="light"] [stroke="#da3633" i] { stroke:var(--h-da3633); }
html[data-theme="light"] [stroke="#d29922" i] { stroke:var(--h-d29922); }
html[data-theme="light"] [stroke="#e3b341" i] { stroke:var(--h-e3b341); }
html[data-theme="light"] [stroke="#f0b429" i] { stroke:var(--h-f0b429); }
html[data-theme="light"] [stroke="#f2cc60" i] { stroke:var(--h-f2cc60); }
html[data-theme="light"] [stroke="#9e6a03" i] { stroke:var(--h-9e6a03); }
html[data-theme="light"] [stroke="#bc8cff" i] { stroke:var(--h-bc8cff); }
html[data-theme="light"] [stroke="#a371f7" i] { stroke:var(--h-a371f7); }
html[data-theme="light"] [stroke="#f778ba" i] { stroke:var(--h-f778ba); }
html[data-theme="light"] [stroke="#2d2000" i] { stroke:var(--h-2d2000); }
html[data-theme="light"] [stroke="#2d0d0d" i] { stroke:var(--h-2d0d0d); }
html[data-theme="light"] [stroke="#3b2a0a" i] { stroke:var(--h-3b2a0a); }
html[data-theme="light"] [stroke="#172b4d" i] { stroke:var(--h-172b4d); }
html[data-theme="light"] [stroke="#12213d" i] { stroke:var(--h-12213d); }
html[data-theme="light"] [stroke="#12233d" i] { stroke:var(--h-12233d); }
html[data-theme="light"] [stroke="#111a2b" i] { stroke:var(--h-111a2b); }
html[data-theme="light"] [stroke="#1c1a12" i] { stroke:var(--h-1c1a12); }
html[data-theme="light"] [stroke="#0d419d" i] { stroke:var(--h-0d419d); }
html[data-theme="light"] [stroke="#2b3d52" i] { stroke:var(--h-2b3d52); }
html[data-theme="light"] [stroke="#6e5418" i] { stroke:var(--h-6e5418); }
html[data-theme="light"] [stop-color="#010409" i] { stop-color:var(--h-010409); }
html[data-theme="light"] [stop-color="#0d1117" i] { stop-color:var(--h-0d1117); }
html[data-theme="light"] [stop-color="#10161d" i] { stop-color:var(--h-10161d); }
html[data-theme="light"] [stop-color="#11161d" i] { stop-color:var(--h-11161d); }
html[data-theme="light"] [stop-color="#161b22" i] { stop-color:var(--h-161b22); }
html[data-theme="light"] [stop-color="#1c2128" i] { stop-color:var(--h-1c2128); }
html[data-theme="light"] [stop-color="#21262d" i] { stop-color:var(--h-21262d); }
html[data-theme="light"] [stop-color="#2d333b" i] { stop-color:var(--h-2d333b); }
html[data-theme="light"] [stop-color="#30363d" i] { stop-color:var(--h-30363d); }
html[data-theme="light"] [stop-color="#444c56" i] { stop-color:var(--h-444c56); }
html[data-theme="light"] [stop-color="#484f58" i] { stop-color:var(--h-484f58); }
html[data-theme="light"] [stop-color="#4b5563" i] { stop-color:var(--h-4b5563); }
html[data-theme="light"] [stop-color="#6e7681" i] { stop-color:var(--h-6e7681); }
html[data-theme="light"] [stop-color="#8b949e" i] { stop-color:var(--h-8b949e); }
html[data-theme="light"] [stop-color="#c9d1d9" i] { stop-color:var(--h-c9d1d9); }
html[data-theme="light"] [stop-color="#e6edf3" i] { stop-color:var(--h-e6edf3); }
html[data-theme="light"] [stop-color="#f0f6fc" i] { stop-color:var(--h-f0f6fc); }
html[data-theme="light"] [stop-color="#58a6ff" i] { stop-color:var(--h-58a6ff); }
html[data-theme="light"] [stop-color="#79b8ff" i] { stop-color:var(--h-79b8ff); }
html[data-theme="light"] [stop-color="#79c0ff" i] { stop-color:var(--h-79c0ff); }
html[data-theme="light"] [stop-color="#388bfd" i] { stop-color:var(--h-388bfd); }
html[data-theme="light"] [stop-color="#1f6feb" i] { stop-color:var(--h-1f6feb); }
html[data-theme="light"] [stop-color="#cfe1ff" i] { stop-color:var(--h-cfe1ff); }
html[data-theme="light"] [stop-color="#9fb4d6" i] { stop-color:var(--h-9fb4d6); }
html[data-theme="light"] [stop-color="#2f5fa8" i] { stop-color:var(--h-2f5fa8); }
html[data-theme="light"] [stop-color="#3fb950" i] { stop-color:var(--h-3fb950); }
html[data-theme="light"] [stop-color="#238636" i] { stop-color:var(--h-238636); }
html[data-theme="light"] [stop-color="#2dd4bf" i] { stop-color:var(--h-2dd4bf); }
html[data-theme="light"] [stop-color="#f85149" i] { stop-color:var(--h-f85149); }
html[data-theme="light"] [stop-color="#ff7b72" i] { stop-color:var(--h-ff7b72); }
html[data-theme="light"] [stop-color="#da3633" i] { stop-color:var(--h-da3633); }
html[data-theme="light"] [stop-color="#d29922" i] { stop-color:var(--h-d29922); }
html[data-theme="light"] [stop-color="#e3b341" i] { stop-color:var(--h-e3b341); }
html[data-theme="light"] [stop-color="#f0b429" i] { stop-color:var(--h-f0b429); }
html[data-theme="light"] [stop-color="#f2cc60" i] { stop-color:var(--h-f2cc60); }
html[data-theme="light"] [stop-color="#9e6a03" i] { stop-color:var(--h-9e6a03); }
html[data-theme="light"] [stop-color="#bc8cff" i] { stop-color:var(--h-bc8cff); }
html[data-theme="light"] [stop-color="#a371f7" i] { stop-color:var(--h-a371f7); }
html[data-theme="light"] [stop-color="#f778ba" i] { stop-color:var(--h-f778ba); }
html[data-theme="light"] [stop-color="#2d2000" i] { stop-color:var(--h-2d2000); }
html[data-theme="light"] [stop-color="#2d0d0d" i] { stop-color:var(--h-2d0d0d); }
html[data-theme="light"] [stop-color="#3b2a0a" i] { stop-color:var(--h-3b2a0a); }
html[data-theme="light"] [stop-color="#172b4d" i] { stop-color:var(--h-172b4d); }
html[data-theme="light"] [stop-color="#12213d" i] { stop-color:var(--h-12213d); }
html[data-theme="light"] [stop-color="#12233d" i] { stop-color:var(--h-12233d); }
html[data-theme="light"] [stop-color="#111a2b" i] { stop-color:var(--h-111a2b); }
html[data-theme="light"] [stop-color="#1c1a12" i] { stop-color:var(--h-1c1a12); }
html[data-theme="light"] [stop-color="#0d419d" i] { stop-color:var(--h-0d419d); }
html[data-theme="light"] [stop-color="#2b3d52" i] { stop-color:var(--h-2b3d52); }
html[data-theme="light"] [stop-color="#6e5418" i] { stop-color:var(--h-6e5418); }
/* information buttons switched off in the gear menu (the one inside the menu stays, so they can be found again) */
html.info-off .info-btn:not(.info-keep) { display:none !important; }
html[data-theme="light"] .in-num { color:#fff; }
