:root {
  color-scheme: light dark;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
  max-width: 76rem;
  margin: 2rem auto;
  padding: 0 1rem;
}

select {
  font: inherit;
}

h1,
h2 {
  line-height: 1.2;
}

h2 {
  margin-top: 2.5rem;
}

.scroll {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  padding: 0.25rem 0.75rem;
  border-bottom: 1px solid #8884;
  text-align: right;
  white-space: nowrap;
}

th:first-child,
td:first-child {
  text-align: left;
}

tbody th {
  white-space: normal;
}

thead th {
  position: sticky;
  top: 0;
  background: Canvas;
}

tr.today {
  background: #ffd70040;
  font-weight: 600;
}

small,
.muted {
  opacity: 0.7;
}
