:root {
  color-scheme: dark;
  --background: #161616;
  --surface: #1c1c1c;
  --ink: #ededed;
  --muted: #a1a1a1;
  --border: #2e2e2e;
  --green: #06c652;
  --red: #ff2b3c;
  --amber: #fbbf24;
  --empty: #3a3a3a;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--background);
}
* {
  box-sizing: border-box;
}
body {
  max-width: 832px;
  margin: 0 auto;
  padding: 0 16px 48px;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
p,
ul {
  margin: 0;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.brand {
  font-weight: 600;
  font-size: 20px;
  text-decoration: none;
}
nav {
  display: flex;
  gap: 8px;
}
button,
.button {
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 12px;
  text-decoration: none;
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 40px 0 24px;
}
.summary h1 {
  font-size: 16px;
  font-weight: 550;
}
.summary p,
.notice {
  color: var(--muted);
  font-size: 14px;
}
.summary p:empty {
  display: none;
}
.notice {
  margin: -12px 0 24px;
  color: var(--amber);
}
.component {
  margin-bottom: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.component-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}
.component h2 {
  font-size: 16px;
  font-weight: 550;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--empty);
}
.badge[data-state="pass"]::before {
  background: var(--green);
}
.badge[data-state="fail"]::before {
  background: var(--red);
}
.badge[data-state="stale"]::before {
  background: var(--amber);
}
.history-range {
  display: flex;
  justify-content: space-between;
  padding: 20px 24px 12px;
  color: var(--muted);
}
.bars {
  display: grid;
  grid-template-columns: repeat(90, minmax(0, 1fr));
  gap: 1px;
  height: 6px;
  margin: 0 24px 24px;
  border-radius: 3px;
  overflow: hidden;
}
.bar {
  background: var(--empty);
}
.bar[data-state="pass"] {
  background: var(--green);
}
.bar[data-state="fail"] {
  background: var(--red);
}
.bar[data-state="missing"] {
  background: var(--amber);
}
.bar.has-gap {
  background: linear-gradient(var(--red) 50%, var(--amber) 50%);
}
details {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}
details > * + * {
  margin-top: 12px;
}
summary {
  width: fit-content;
  cursor: pointer;
}
ul {
  padding-left: 20px;
}
.table-scroll {
  max-height: 440px;
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th,
td {
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--border);
}
th {
  color: var(--ink);
  font-weight: 550;
}
@media (max-width: 600px) {
  .history-range {
    padding: 16px 16px 10px;
    font-size: 14px;
  }
  .bars {
    margin: 0 16px 16px;
  }
}
