/* One source of colour and type, for the page, its canvases (kit/tokens.ts reads these) and the landing
   site. These are the dark theme; the page's light one, which the landing does not take, is light.css. */
@font-face{font-family:"Crimson Pro";font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/crimson-pro-latin-400-normal-B4SlG4wx.woff2) format("woff2")}
@font-face{font-family:"Crimson Pro";font-weight:500;font-style:normal;font-display:swap;src:url(/fonts/crimson-pro-latin-500-normal-D6GH0edE.woff2) format("woff2")}
@font-face{font-family:"JetBrains Mono";font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/jetbrains-mono-latin-400-normal-V6pRDFza.woff2) format("woff2")}
@font-face{font-family:"JetBrains Mono";font-weight:500;font-style:normal;font-display:swap;src:url(/fonts/jetbrains-mono-latin-500-normal-BWZEU5yA.woff2) format("woff2")}
@font-face{font-family:"Libre Baskerville";font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/libre-baskerville-latin-400-normal-C42RasBZ.woff2) format("woff2")}

:root {
  color-scheme: dark;
  /* Grounds and inks. A word is --dim at the faintest, 4.7:1 on the ground; --faint draws rules, borders
     and marks, never a word, and a focus ring is --soft. */
  --ground: #0d0d0d;
  --panel: #111110;
  --ink: #efede5;
  --soft: rgba(239, 237, 229, 0.62);
  --dim: rgba(239, 237, 229, 0.5);
  --faint: rgba(239, 237, 229, 0.26);
  --hair: rgba(239, 237, 229, 0.13);
  --hair2: rgba(239, 237, 229, 0.07);
  /* Surfaces over the ground: a popover, a tab, a tab under the pointer, a well, a glyph's disc, a sunk field,
     the live band; and the shade a popover casts. */
  --pop: #171716;
  --raise: #1e1e1c;
  --lift: #262624;
  --well: #191917;
  --disc: #1d1c1a;
  --sunk: #0b0f0e;
  --band: #161917;
  --shade: #000;
  /* The summit's rock (views/graph/summit.ts), in shadow and in full light. */
  --rock: #090908;
  --rock-lit: #262523;
  /* A rose's ground (kit/rose.ts's ROSE_GROUND), dark in either theme: a rose is drawn for the dark. */
  --rose-ground: #1d1c1a;
  /* What a mark means: verdigris for work, copper for a best, the error's own. */
  --verd: #63b8a6;
  --verdb: #5fe3cc;
  /* A dark verdigris, for work that runs on its own (a lab's job running). */
  --deep: #2f544d;
  --copper: #dda166;
  /* The brightest mark: a new best on the time bar. */
  --core: #fff8ea;
  --body: #f4ca98;
  --err: #d08a7c;
  /* The inks of groups of shared code, nine that cycle, and the grey for code no group holds. The
     Thread and the graph read them. */
  --group-1: #63b8a6;
  --group-2: #dda166;
  --group-3: #67c0d5;
  --group-4: #dfcb74;
  --group-5: #86acea;
  --group-6: #93c179;
  --group-7: #e095c7;
  --group-8: #f4ca98;
  --group-9: #b99ee9;
  --field-other: #5a5650;
  /* Type: figures and labels, reading, display. */
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --read: "Crimson Pro", Georgia, serif;
  --disp: "Libre Baskerville", Georgia, serif;
  /* The grid: the page's margin and the gap between panes beside each other; the step, between a bar's
     controls, under them to its rule, and from the rule to what is under it; a bar's control, one high. */
  --gutter: 24px;
  /* Widths. A page's content (the Overview, Settings, a run that is starting) fills the centre up to --content, so it
     is full width on any screen short of a wide monitor's, where a form or a sentence would stretch past use; a page
     of reading for visitors (a public run) is one column of --measure. A run's own views fill the centre. */
  --content: 1600px;
  --measure: 680px;
  --step: 8px;
  --control: 24px;
}

/* A standing's dot, the status colours in one place: verdigris with a halo while live, verdigris at work,
   copper cut short, the error's own for what went, hollow before it starts, dim when done. */
.k-dot::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; background: var(--faint); }
.k-dot.live::before, .k-dot.running::before { background: var(--verdb); box-shadow: 0 0 0 2px color-mix(in srgb, var(--verdb) 18%, transparent); }
.k-dot.paused::before, .k-dot.draining::before, .k-dot.finishing::before { background: var(--verd); }
.k-dot.created::before { background: none; box-shadow: inset 0 0 0 1px var(--dim); }
.k-dot.clean::before, .k-dot.drained::before { background: color-mix(in srgb, var(--ink) 42%, transparent); }
.k-dot.partial::before, .k-dot.stopped::before { background: var(--copper); }
.k-dot.interrupted::before { background: var(--err); }
