:root {
  color-scheme: light dark;
  --ok: #0a7d33;
  --warn: #8a5a00;
  --bad: #b00020;
  --muted: #5f6368;
  --line: #c9ccd1;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ok: #5bd18a;
    --warn: #f0b429;
    --bad: #ff8a80;
    --muted: #a0a4ab;
    --line: #3c4043;
  }
}
body {
  margin: 0;
  font:
    16px/1.5 system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}
main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}
h1 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
}
h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.15rem;
}
.lead {
  font-size: 1.15rem;
  font-weight: 600;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
caption {
  text-align: left;
  color: var(--muted);
  padding-bottom: 0.5rem;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.5rem;
  border-top: 1px solid var(--line);
}
thead th {
  border-top: 0;
  border-bottom: 2px solid var(--line);
}
td p {
  margin: 0 0 0.4rem;
}
.state {
  font-weight: 600;
  white-space: nowrap;
}
.state.operational {
  color: var(--ok);
}
.state.degraded {
  color: var(--warn);
}
.state.down {
  color: var(--bad);
}
.state.unknown {
  color: var(--muted);
}
.detail {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 400;
}
td p .detail {
  display: inline;
}
code {
  font:
    0.85em ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  word-break: break-all;
}
a {
  color: inherit;
}
@media (max-width: 40rem) {
  table,
  tbody,
  tr,
  th,
  td {
    display: block;
  }
  thead {
    position: absolute;
    left: -9999px;
  }
  tr {
    border-top: 2px solid var(--line);
    padding: 0.5rem 0;
  }
  th,
  td {
    border: 0;
    padding: 0.2rem 0;
  }
  td:nth-of-type(1)::before {
    content: "LIVE: ";
    font-weight: 600;
  }
  td:nth-of-type(2)::before {
    content: "TEST: ";
    font-weight: 600;
  }
}
