:root {
  color-scheme: light dark;
  --bg: #fafafa;
  --fg: #181818;
  --muted: #737373;
  --line: #e5e5e5;
  --panel: #fff;
  --ok: #147d3f;
  --active: #9a6500;
  --deferred: #8a3d66;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111;
    --fg: #eee;
    --muted: #999;
    --line: #303030;
    --panel: #171717;
    --ok: #67c98b;
    --active: #e1b351;
    --deferred: #db92ba;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 14px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
main { width: min(1100px, calc(100% - 32px)); margin: 42px auto 80px; }
header { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
h1 { margin: 0; font-size: 22px; font-weight: 650; letter-spacing: -.02em; }
p { margin: 4px 0 0; }
button, input, select {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  color: var(--fg);
  font: inherit;
}
button { padding: 7px 12px; cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
input, select { min-height: 38px; padding: 8px 10px; }
input { width: min(360px, 100%); }
.summary, .meta { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.summary {
  margin-top: 30px;
  padding: 16px 0;
  border-block: 1px solid var(--line);
  font-size: 15px;
}
.summary strong { margin-left: 4px; font-variant-numeric: tabular-nums; }
.meta { padding: 13px 0; color: var(--muted); font-size: 12px; }
.meta strong { color: var(--fg); font-weight: 550; }
.controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.muted { color: var(--muted); font-size: 12px; }
.disconnected { color: #b42318; }
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 11px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 11px; font-weight: 550; text-transform: uppercase; letter-spacing: .04em; }
td:first-child { white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
a { color: inherit; text-underline-offset: 3px; }
.title { font-weight: 560; }
.secondary { color: var(--muted); font-size: 12px; }
.status { white-space: nowrap; }
.status-verified { color: var(--ok); }
.status-building { color: var(--active); }
.status-deferred { color: var(--deferred); }
.links { white-space: nowrap; }
.links a + a::before { content: " · "; color: var(--muted); text-decoration: none; }
.empty { padding: 42px 8px; color: var(--muted); text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  main { width: min(100% - 22px, 1100px); margin-top: 24px; }
  .controls label:first-child { flex: 1 1 100%; }
  input { width: 100%; }
  th:nth-child(3), td:nth-child(3) { display: none; }
}
