:root {
  --bg: #f5f1e8;
  --fg: #15110c;
  --muted: #756c5c;
  --line: #c7bfad;
  --accent: #a12d2d;
  --mono: "JetBrains Mono", "IBM Plex Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111110;
    --fg: #e5e1d6;
    --muted: #8a8274;
    --line: #2b2823;
    --accent: #d98080;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.55;
  font-feature-settings: "tnum" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

main {
  max-width: 78ch;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

header {
  margin-bottom: 40px;
}

header h1 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

header p {
  margin: 0;
  color: var(--muted);
  max-width: 64ch;
}

section {
  margin: 36px 0;
}

h2 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

h2 .count {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  padding: 6px 16px 6px 0;
  vertical-align: top;
  font-weight: 400;
}

thead th {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.5px;
  padding-bottom: 10px;
}

tbody tr + tr td {
  border-top: 1px dashed var(--line);
}

td.url    { word-break: break-all; }
td.ping   {
  text-align: right;
  padding-right: 0;
  white-space: nowrap;
  color: var(--muted);
}
td.ping.ready { color: var(--fg); }
td.ping.err   { color: var(--muted); font-style: italic; }

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dotted var(--accent);
}

a:hover {
  border-bottom-style: solid;
}

.operator {
  margin: 22px 0;
}

.operator + .operator {
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}

.operator h3 {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 700;
}

.operator .loc {
  color: var(--muted);
  margin-bottom: 6px;
}

.operator .desc {
  margin: 6px 0 10px;
  max-width: 64ch;
}

.operator dl {
  margin: 0;
  display: grid;
  grid-template-columns: 12ch 1fr;
  column-gap: 14px;
  row-gap: 2px;
}

.operator dt {
  color: var(--muted);
}

.operator dd {
  margin: 0;
}

footer {
  margin-top: 60px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

footer a {
  color: var(--muted);
  border-bottom-color: var(--line);
}

footer .sep {
  margin: 0 8px;
}
