:root { color: #18322c; background: #f3f6f4; font: 16px/1.65 system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; }
header, footer { padding: 1rem max(5vw, calc((100vw - 1100px)/2)); background: #123e34; color: white; }
header { display: flex; justify-content: space-between; gap: 1rem; }
header a { color: white; }
main { width: min(1100px, 90%); margin: auto; }
section { padding: 2rem 0; }
.hero { padding: clamp(2rem, 8vw, 6rem) 0; }
h1 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.16; max-width: 16em; margin: .5em 0; }
.cards, .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); gap: 1rem; }
article, fieldset, details { background: white; border: 1px solid #d1ded7; padding: 1rem; border-radius: .7rem; margin-bottom: .8rem; }
legend { font-weight: bold; }
label { display: grid; gap: .25rem; }
input, select { min-width: 0; width: 100%; padding: .5rem; border: 1px solid #82998c; border-radius: .3rem; font: inherit; }
td input[type="checkbox"] { width: 1.15rem; height: 1.15rem; }
.fields { align-items: start; }
button, .button { display: inline-block; background: #15634e; color: white; border: 0; border-radius: .4rem; padding: .65rem 1rem; font: inherit; text-decoration: none; cursor: pointer; }
form button { margin-top: .8rem; }
.table { overflow: auto; margin-bottom: 1.25rem; }
table { border-collapse: collapse; min-width: 800px; width: 100%; background: white; }
th, td { padding: .6rem; text-align: left; border-bottom: 1px solid #d1ded7; }
output { display: block; margin-top: .6rem; font-weight: bold; }
header { flex-wrap: wrap; }
header nav { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.info table { min-width: 0; }
.info td:first-child { min-width: 6em; }
.report { width: min(800px, 90%); margin: 0 auto 2rem; padding: 1.25rem; background: white; border: 1px solid #d1ded7; overflow-wrap: anywhere; }
.report dt { font-weight: bold; }
.report dd { margin: 0 0 .6rem; }
button:disabled { opacity: .5; cursor: default; }
@media print {
  body:has(.report:not([hidden])) > :not(.report) { display: none; }
  .report { width: 100%; margin: 0; border: 0; color: black; }
  .report dd { break-before: avoid; }
}
