:root {
  --brand-paper: #f4eee3;
  --brand-ink: #342f2a;
  --brand-ink-muted: #6b675a;
  --brand-rule: #bb9f8d;
  --brand-rule-strong: #8a8679;
  --brand-status-good: #43732c;
  --brand-status-warning: #836302;
  --brand-status-critical: #9e0f1e;
}
/* The build puts the brand :root variables before this file and replaces the three font markers
   with the hashed font names. Use only var(--brand-*) colours. Never write a colour value here. */
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/Ubuntu-400-latin.dabae363ac.woff2") format("woff2");
}
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/Ubuntu-700-latin.3658a0717e.woff2") format("woff2");
}
@font-face {
  font-family: "Overpass";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/Overpass-400-latin.29217ef8ad.woff2") format("woff2");
}

body {
  margin: 0;
  background: var(--brand-paper);
  color: var(--brand-ink);
  font-family: "Overpass", system-ui, sans-serif;
  line-height: 1.5;
}
header,
main,
footer {
  max-width: 60rem;
  margin: 0 auto;
  padding: 1rem;
}
h1,
h2,
.banner,
.state,
th {
  font-family: "Ubuntu", system-ui, sans-serif;
  font-weight: 700;
}
h1 {
  margin: 0;
  font-size: 2rem;
}
h2 {
  margin: 0;
  font-size: 1.25rem;
}
.subheading {
  margin: 0;
  color: var(--brand-ink-muted);
}
.banner {
  margin: 1rem 0 2rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--brand-rule);
  border-left-width: 0.5rem;
}
.banner-good {
  border-left-color: var(--brand-status-good);
}
.banner-down {
  border-left-color: var(--brand-status-critical);
}
.banner-unknown {
  border-left-color: var(--brand-rule-strong);
}
.component {
  margin-bottom: 2.5rem;
}
.state {
  margin: 0.25rem 0;
}
.state-available {
  color: var(--brand-status-good);
}
.state-not_available {
  color: var(--brand-status-critical);
}
.state-unknown {
  color: var(--brand-ink-muted);
}
.bars {
  display: grid;
  grid-template-columns: repeat(90, 1fr);
  gap: 1px;
  height: 2.5rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}
.bar-good {
  background: var(--brand-status-good);
}
.bar-warning {
  background: var(--brand-status-warning);
}
.bar-critical {
  background: var(--brand-status-critical);
}
.bar-nodata {
  background: var(--brand-rule-strong);
}
.axis {
  display: flex;
  justify-content: space-between;
  margin: 0.25rem 0 0;
  color: var(--brand-ink-muted);
  font-size: 0.875rem;
}
.figure {
  margin: 0.5rem 0;
}
summary {
  cursor: pointer;
}
summary:focus-visible {
  outline: 2px solid var(--brand-ink);
  outline-offset: 2px;
}
table {
  margin-top: 0.5rem;
  border-collapse: collapse;
  font-size: 0.875rem;
}
th,
td {
  padding: 0.25rem 0.5rem;
  border-bottom: 1px solid var(--brand-rule);
  text-align: right;
}
th:first-child,
td:first-child {
  text-align: left;
}
footer {
  color: var(--brand-ink-muted);
  font-size: 0.875rem;
}
