/*
 * The site's documents: the deployment guide, the imprint, the privacy
 * notice. A file of its own, the diagram's colours included, because the
 * page's content security policy forbids inline styles.
 */
:root {
  color-scheme: light dark;
  --ink: #1f2328;
  --quiet: #59636e;
  --rule: #d1d9e0;
  --code: #f6f8fa;
  --bg: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e6edf3;
    --quiet: #9198a1;
    --rule: #3d444d;
    --code: #151b23;
    --bg: #0d1117;
  }
}
body {
  margin: 0 auto;
  max-width: 52rem;
  padding: 2rem 16px 4rem;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.55 system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
}
h1 {
  font-size: 1.9rem;
  margin-bottom: 0.25rem;
}
h2 {
  margin-top: 2.25rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.3rem;
}
.asof,
figcaption {
  color: var(--quiet);
  font-size: 0.9rem;
}
code {
  background: var(--code);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-size: 0.88em;
}
pre {
  background: var(--code);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  overflow-x: auto;
}
pre code {
  background: none;
  padding: 0;
}
li p {
  margin: 0.2rem 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  display: block;
  overflow-x: auto;
  margin: 1rem 0;
}
th,
td {
  border: 1px solid var(--rule);
  padding: 0.4rem 0.6rem;
  text-align: left;
  vertical-align: top;
}
figure {
  margin: 1.5rem 0;
}
figure svg {
  width: 100%;
  height: auto;
}

/* The deployment diagram. */
figure svg .ink {
  fill: #1f2328;
}
figure svg .quiet {
  fill: #59636e;
}
figure svg .edge {
  stroke: #9a9a8c;
}
figure svg .bg {
  fill: #ffffff;
}
figure svg .accent {
  stroke: #1f6feb;
  fill: #1f6feb;
  fill-opacity: 0.12;
}
figure svg .arrowhead {
  fill: #9a9a8c;
}
@media (prefers-color-scheme: dark) {
  figure svg .ink {
    fill: #e6edf3;
  }
  figure svg .quiet {
    fill: #9198a1;
  }
  figure svg .bg {
    fill: #0d1117;
  }
  figure svg .edge {
    stroke: #7d8590;
  }
  figure svg .arrowhead {
    fill: #7d8590;
  }
  figure svg .accent {
    stroke: #4493f8;
    fill: #4493f8;
  }
}
