/* Deliberately plain: a readable base for the real design, which comes later. */
:root {
  --ink: #1c1c1a;
  --muted: #5f5c56;
  --rule: #e2dfd8;
  --paper: #f6f4ef;
  --orange: #ff6c00;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font: 14px/1.45 system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}
.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--rule);
}
.bar h1 {
  font-size: 16px;
  margin: 0;
}
main {
  padding: 12px 16px 32px;
}
.meta {
  color: var(--muted);
  margin: 0 0 12px;
}
#setting {
  margin: 0 0 16px;
  padding: 12px;
  background: var(--paper);
}
#setting label {
  font-weight: 600;
  margin-right: 8px;
}
.scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  white-space: nowrap;
}
th, td {
  padding: 7px 12px;
  border-bottom: 1px solid var(--rule);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
thead th {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 2px solid var(--ink);
  font-weight: 700;
}
th:first-child, td:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  background: #fff;
}
tfoot td {
  font-weight: 700;
  border-top: 2px solid var(--ink);
  border-bottom: 0;
}
.status {
  color: var(--muted);
  text-align: left;
}
button, select {
  min-height: 44px;
  font: inherit;
}
button {
  padding: 0 14px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.good {
  color: #1e7b3c;
}
.warn {
  color: var(--muted);
  margin-right: 8px;
}
.bad {
  color: #a32b35;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
