:root {
  --text: #1a1a1a;
  --muted: #5f5f5f;
  --line: #d9d9d9;
  --link: #0b57d0;
  --page: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #ececec;
    --muted: #a6a6a6;
    --line: #3a3a3a;
    --link: #8ab4f8;
    --page: #161616;
  }
}

body {
  max-width: 60rem;
  margin: 0 auto;
  padding: 1rem;
  color: var(--text);
  background: var(--page);
  font-family: system-ui, sans-serif;
  line-height: 1.5;
}

a { color: var(--link); }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
header { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; }
header a { font-weight: 700; text-decoration: none; }
header form { display: flex; gap: 0.5rem; align-items: center; }
header input { font: inherit; color: var(--text); background: var(--page); border: 1px solid var(--line); padding: 0.2rem 0.4rem; }
header input:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.id { color: var(--muted); font-family: ui-monospace, monospace; font-size: 0.875em; }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.4rem 0.75rem 0.4rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-weight: 500; }
th a { color: inherit; }
td.date { white-space: nowrap; }
.scroll { overflow-x: auto; }

dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 1.5rem; }
dt { color: var(--muted); }
dd { margin: 0; }
