* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  color: #111;
  background: #f4f4f4;
  line-height: 1.4;
}

#wrap {
  border: 2px solid black;
  margin: 30px auto;
  padding: 20px;
  max-width: 640px;
  background: #fff;
  text-align: left;
}

h1 {
  font-size: 16px;
  text-align: center;
  margin-bottom: 10px;
}

h1 .subtitle {
  font-style: italic;
  font-size: 18px;
}

h3.authors {
  font-size: 12px;
  font-weight: normal;
  text-align: center;
  margin-top: -2px;
  margin-bottom: 14px;
}

h3 {
  font-size: 105%;
  margin: 10px 0;
}

h4 {
  font-size: 100%;
  margin: 12px 0;
}

p {
  margin-bottom: 10px;
}

ul.instructions {
  margin: 0 0 12px 20px;
}

ul.instructions li {
  margin-bottom: 5px;
}

.error {
  color: red;
  list-style: none;
  margin-bottom: 8px;
}

.params {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}

.col {
  flex: 1 1 240px;
}

.col.advanced {
  font-size: 85%;
}

.field {
  margin-bottom: 8px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 2px;
}

input[type="text"] {
  padding: 2px 4px;
  font-size: 14px;
}

.small {
  color: #990000;
  font-size: 80%;
  font-weight: normal;
}

.blue, .blue * { color: blue; }
.green { color: green; }

input.submit {
  background: white;
  border: 2px solid green;
  color: green;
  cursor: pointer;
  font-weight: bold;
  padding: 4px 8px;
}

span#answer {
  background: #FFF333;
  border: 1px solid black;
  font-size: 110%;
  padding: 3px;
}

.disclaimer {
  font-size: 70%;
  margin-top: 14px;
}

/* Appendix page */
.xhead {
  border-top: 2px solid black;
  padding-top: 10px;
  margin-top: 12px;
}

.xtitle {
  font-size: 105%;
  font-style: italic;
  font-weight: bold;
}

#wrap h4 u {
  font-weight: bold;
}
