:root { color-scheme: light; font: 1rem/1.52 system-ui, sans-serif; color: #203027; background: #f6f5ef; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 56rem; margin: auto; background: white; padding: clamp(1rem, 4vw, 3.25rem); }
h1, h2 { font-family: Georgia, serif; line-height: 1.12; color: #233b30; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 1.25rem 0 .75rem; }
h2 { margin: 2rem 0 .65rem; }
a { color: #9b231f; }
fieldset { border: 1px solid #d7dbd4; border-radius: .55rem; margin: .75rem 0; padding: .85rem 1rem 1rem; min-width: 0; }
legend { font-weight: 700; padding: 0 .3em; }
.fields { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2,minmax(0,1fr)); gap: .75rem; }
label { display: block; font-size: .94rem; }
input, textarea, button { font: inherit; }
input, textarea { display:block; width:100%; border: 1px solid #8d9a91; border-radius: .3rem; padding: .54rem; margin: .25rem 0; background: white; color: #182b20; }
textarea { field-sizing: content; min-height: 4rem; resize: vertical; }
button { padding: .6em 1em; border: 1px solid #346146; background: white; border-radius: .4rem; color: #204e32; cursor: pointer; }
button:hover, button:focus-visible { background: #edf3ed; }
button.primary { color: white; background: #204e32; }
button.remove { padding: .25rem .65rem; margin-top: .55rem; font-size: .85rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1rem 0; }
.result { padding: 1rem 1.25rem; background: #edf3ed; border-left: .26rem solid #346146; margin: 1rem 0; }
.result p { margin: .25rem 0; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr 1fr; } .fields label:first-child { grid-column: 1/-1; } }
@media print { :root,main { background: white; color:black; } main { max-width: none; padding: 0; } .actions,.remove,nav,.screen-only { display:none; } fieldset,.result { break-inside: avoid; } input,textarea { border:0; border-bottom:1px solid #aaa; padding: .15rem 0; } textarea { resize:none; min-height: 3.7rem; } h2 { break-after: avoid; } }
