:root {
  color-scheme: light;
  font: 16px system-ui, sans-serif;
  color: #25291f;
  background: #f3f1e9;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header, .toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
header { justify-content: space-between; padding: 1rem max(1rem, 5vw); border-bottom: 1px solid #d6d4c9; }
header a { font: 1.65rem Georgia, serif; text-decoration: none; }
a { color: #315941; }
main { max-width: 62rem; margin: auto; padding: 1rem clamp(1rem, 4vw, 3rem) 3rem; }
h1 { font: 2rem Georgia, serif; overflow-wrap: anywhere; }
form { display: grid; gap: .85rem; max-width: 26rem; margin-bottom: 1rem; }
label { display: grid; gap: .35rem; }
input, button, textarea { font: inherit; }
input, button { min-height: 2.75rem; padding: .5rem .75rem; border: 1px solid #787f71; border-radius: .35rem; }
button { background: #e0eadc; color: #243f2c; cursor: pointer; }
button:disabled { opacity: .6; cursor: default; }
:focus-visible { outline: 2px solid #315941; outline-offset: 3px; }
#notice { min-height: 1.4em; }
li { margin-block: .75rem; overflow-wrap: anywhere; }
.paper { width: min(100%, 46rem); aspect-ratio: 210 / 297; background: #fffefa; border: 1px solid #d6d4c9; margin: 1rem auto 0; }
.paper textarea { display: block; width: 100%; height: 100%; resize: none; border: 0; background: transparent; padding: 8.57%; color: inherit; line-height: 1.6; }
