:root { color-scheme: light dark; --fg: #202020; --bg: #fff; --muted: #666; --line: #ddd; --link: #0759a4; --hover: #f1f5f9; --head: #f6f8fa; }
@media (prefers-color-scheme: dark) {
  :root { --fg: #e6e6e6; --bg: #14171a; --muted: #9aa4ad; --line: #30363d; --link: #6cb6ff; --hover: #1d242b; --head: #1b2026; }
}
body { font: 1rem/1.6 system-ui, sans-serif; max-width: 70rem; margin: auto; padding: 1.5rem; color: var(--fg); background: var(--bg); }
a { color: var(--link); }
nav, time, caption { color: var(--muted); }
h1 { margin-bottom: .25rem; }
.controls { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.controls label { display: block; font-weight: 600; }
input, select { font: inherit; padding: .5rem; width: 100%; box-sizing: border-box; margin: .25rem 0 1rem; color: inherit; background: var(--bg); border: 1px solid var(--line); border-radius: .25rem; }
input:focus-visible, select:focus-visible, a:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
#matches { margin: 0; color: var(--muted); }
.table-wrap { overflow: auto; max-height: 70vh; border: 1px solid var(--line); border-radius: .25rem; }
table { border-collapse: collapse; width: 100%; }
caption { text-align: left; padding: .5rem; }
th, td { padding: .5rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
thead th { position: sticky; top: 0; background: var(--head); }
tbody tr:hover { background: var(--hover); }
[hidden] { display: none !important; }
@media (max-width: 40rem) { .controls { grid-template-columns: 1fr; } body { padding: 1rem; } }
