:root {
  font:
    18px/1.45 system-ui,
    sans-serif;
  color: #302c25;
  background: #faf5e9;
}
* {
  box-sizing: border-box;
}
main {
  max-width: 34rem;
  margin: clamp(1rem, 7vh, 5rem) auto;
  padding: 1.25rem;
}
header {
  color: #825031;
  font-weight: 650;
}
h1 {
  font:
    2.4rem/1.1 Georgia,
    serif;
  margin: 0.4rem 0 2rem;
}
label {
  display: block;
  font-weight: 600;
  margin: 1rem 0;
}
textarea,
input,
button {
  font: inherit;
  border-radius: 0.45rem;
  padding: 0.65rem 0.85rem;
}
textarea,
input {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid #877d70;
  background: white;
}
button {
  cursor: pointer;
  border: 1px solid #845239;
  background: #fffaf0;
  color: #653e28;
  margin: 0.3rem 0.2rem 0.3rem 0;
}
form button:first-of-type {
  background: #754426;
  color: white;
}
button:disabled {
  opacity: 0.5;
}
:focus-visible {
  outline: 3px solid #306898;
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}

textarea {
  resize: vertical;
}
#diff {
  padding-left: 1.3rem;
  overflow-wrap: anywhere;
}
#diff li {
  margin-bottom: 0.6rem;
}
