body {
  font-family: 'Lucida Console', Monaco, monospace;
  font-size: 16px;
  color: #111;
  background-color: white;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 30px 60px;
  box-sizing: border-box;
  line-height: 1.5;
}

a {
  color: inherit;
}

hr {
  border: none;
  height: 2px;
  background-color: lightgrey;
  margin: 30px 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

td, th {
  padding: 5px 12px;
  border: 1px solid #dddddd;
  text-align: left;
}

input, button {
  font-family: inherit;
  font-size: inherit;
}

input[type="text"], input[type="date"], input[type="number"] {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 4px 8px;
}

button {
  border: 1px solid #111;
  border-radius: 999px;
  background: white;
  color: #111;
  padding: 4px 16px;
  cursor: pointer;
}

button:hover {
  background: #111;
  color: white;
}

button:disabled {
  cursor: default;
  opacity: 0.5;
  background: white;
  color: #111;
}

th button {
  border: none;
  background: none;
  border-radius: 0;
  padding: 0;
  font-weight: bold;
}

th button:hover {
  background: none;
  color: inherit;
  text-decoration: underline;
}

#error:not([hidden]) {
  color: #b00020;
}

#people {
  list-style: none;
  padding: 0;
}

#people li {
  margin: 10px 0;
}

.weight-row {
  display: grid;
  grid-template-columns: 10ch 6ch 1fr;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}
