body {
  font-family: sans-serif;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  line-height: 1.6;
}

h1 {
  margin-bottom: 0.3em;
}

h2 {
  margin-top: 0;
}

.card {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.row {
  margin-bottom: 12px;
}

label {
  display: inline-block;
  width: 180px;
  vertical-align: middle;
}

input,
select,
button {
  font-size: 1rem;
}

input,
select {
  padding: 6px 8px;
  width: 220px;
  max-width: 100%;
  box-sizing: border-box;
}

button {
  padding: 8px 16px;
  cursor: pointer;
}

.button-row {
  margin-top: 16px;
}

.note {
  font-size: 0.95rem;
  color: #444;
}

.result-table {
  border-collapse: collapse;
}

.result-table td {
  padding: 4px 10px 4px 0;
  vertical-align: top;
}

.result-table td:nth-child(1) {
  width: 140px;
  text-align: right;
}

.result-table td:nth-child(2) {
  width: 20px;
  text-align: center;
}

.result-table td:nth-child(3) {
  min-width: 140px;
  text-align: right;
  font-family: monospace;
}

.result-table td:nth-child(4) {
  padding-left: 8px;
}

.error-message {
  margin-top: 12px;
  color: #b00020;
  font-weight: 600;
}

code {
  font-family: monospace;
}
