:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  background: #edf1e9;
  color: #21382d;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { max-width: 64rem; margin: 0 auto; padding: 2.5rem 1.25rem; }
header, nav { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
header { justify-content: space-between; }
h1, h2, h3 { margin: 0 0 1rem; }
h1 { font-size: clamp(2.75rem, 9vw, 5.6rem); font-weight: 800; letter-spacing: -.08em; line-height: 1; }
h1 span { color: #497c4a; }
h2 { font-size: 1.65rem; letter-spacing: -.035em; }
h3 { font-size: 1.35rem; }
nav { margin-bottom: 1.25rem; }
.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.panel { background: #fcfdf9; border: 1px solid #d7dfd3; border-radius: 1.15rem; padding: clamp(1.1rem, 4vw, 2rem); }
.gate { max-width: 28rem; }
form, label { display: grid; gap: .45rem; }
form { gap: .9rem; }
label, dt { font-weight: 650; }
input, textarea, button { font: inherit; border-radius: .55rem; }
input, textarea { min-width: 0; width: 100%; border: 1px solid #bfcbbc; padding: .65rem; background: #fff; color: inherit; }
textarea { resize: vertical; }
.date-label { display: flex; align-items: center; }
button { width: fit-content; min-height: 2.65rem; padding: .55rem .85rem; border: 1px solid transparent; background: #23583e; color: white; font-weight: 650; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
.quiet { background: #eef5ed; border-color: #cad9c8; color: #23583e; }
.quiet[aria-pressed="true"] { background: #d5ead3; }
:focus-visible { outline: 3px solid #497c4a; outline-offset: 2px; }
dl { margin: 0 0 1rem; }
dd { white-space: pre-wrap; overflow-wrap: anywhere; margin: .25rem 0 .8rem; }
.muted, #status { color: #4d6356; }
#status { min-height: 1.4rem; margin: .4rem 0 1.25rem; }
#status[data-error="true"] { color: #8b3b28; }
#received { margin: 0; }
@media (max-width: 640px) {
  main { padding-top: 1.75rem; }
  .columns { grid-template-columns: 1fr; }
}
