:root { color-scheme: light dark; }
body {
  font-family: -apple-system, system-ui, sans-serif;
  max-width: 720px;
  margin: 40px auto;
  padding: 0 20px;
  line-height: 1.5;
}
h1 { font-size: 1.4rem; }
p.sub { color: #888; margin-top: -8px; }
nav { margin-bottom: 24px; }
nav a {
  margin-right: 16px;
  text-decoration: none;
  color: inherit;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
nav a.active { border-bottom-color: #6cf; font-weight: 600; }
input[type=text] {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  box-sizing: border-box;
  margin-bottom: 10px;
}
button {
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
}
#result { margin-top: 24px; }
table { width: 100%; border-collapse: collapse; margin-top: 12px; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #4443; }
th { cursor: pointer; user-select: none; white-space: nowrap; }
th:hover { color: #6cf; }
th .arrow { opacity: 0.6; font-size: 0.8em; }
.error { color: #d33; }
.muted { color: #888; }
