:root {
  color-scheme: light;
  font-family: Tahoma, "Segoe UI", sans-serif;
  color: #132b27;
  background: #edf4f0;
}

* { box-sizing: border-box; }
body { margin: 0; padding: clamp(1rem, 8vw, 5rem) 1rem; }
main {
  max-width: 38rem;
  margin-inline: auto;
  padding: clamp(1.3rem, 4vw, 2.5rem);
  border: 1px solid #d0e0d8;
  border-radius: 1.1rem;
  background: #fff;
}
header { margin-bottom: 1.5rem; }
h1 { margin: 0; font-size: clamp(1.35rem, 4vw, 1.9rem); }
.brand { margin: 0 0 .65rem; color: #216753; font: 700 .85rem "Segoe UI", sans-serif; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: .65rem; }
label { display: block; margin: 1.05rem 0 .45rem; font-weight: bold; }
label span, small, .muted { color: #526960; font-weight: normal; }
small { display: block; margin-top: .4rem; line-height: 1.7; }
input, textarea, button { font: inherit; }
input:not([type=hidden]), textarea {
  width: 100%;
  padding: .72rem .85rem;
  border: 1px solid #9cb8ac;
  border-radius: .5rem;
  color: inherit;
  background: #fbfdfc;
}
textarea { resize: vertical; line-height: 1.65; }
button {
  margin-top: 1.15rem;
  padding: .68rem 1.15rem;
  border: 1px solid #17604d;
  border-radius: .5rem;
  background: #17604d;
  color: white;
  cursor: pointer;
}
.secondary { margin-top: 0; color: #17604d; background: white; }
:focus-visible { outline: 3px solid #4b9d82; outline-offset: 3px; }
.error, .success { padding: .65rem .9rem; border-radius: .45rem; line-height: 1.65; }
.error { color: #842d2d; background: #fcebea; }
.success { color: #165540; background: #e4f5ec; }
.sponsor { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.75; }
a { color: #17604d; }
