:root {
    color-scheme: light;
    font-family: system-ui, sans-serif;
    color: #182520;
    background: #f6f8f5;
    line-height: 1.55;
}

* { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(100% - 2rem, 68rem); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid #dce5df; }
.header-row, .section-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.header-row { min-height: 4rem; padding-block: .65rem; }
.brand { color: inherit; font-weight: 750; text-decoration: none; }
nav, .form-row, .actions { display: flex; flex-wrap: wrap; align-items: end; gap: .8rem; }
main { padding-block: 2rem 4rem; }
.site-footer { border-top: 1px solid #dce5df; color: #4a6254; font-size: .82rem; padding-block: .85rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: .25rem 1.2rem; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .65rem; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.07rem; margin-top: 1rem; }
p { margin: .35rem 0 .95rem; }
a { color: #21543a; text-underline-offset: .2em; }
.narrow { max-width: 28rem; }
.welcome { max-width: 38rem; padding-block: 2.5rem; }
.panel { background: #fff; border: 1px solid #dce5df; border-radius: .65rem; margin-block: 1rem; padding: clamp(1rem, 3vw, 1.5rem); }
.stack { display: grid; gap: .9rem; }
label { display: grid; gap: .3rem; font-weight: 600; }
input, select, button { font: inherit; }
input:not([type=checkbox]), select { width: 100%; min-width: 0; border: 1px solid #83978a; border-radius: .4rem; padding: .42rem .6rem; background: #fff; color: inherit; }
.check { display: flex; align-items: center; gap: .5rem; }
.button, button { display: inline-block; padding: .42rem .85rem; border: 1px solid #225639; border-radius: .4rem; background: #225639; color: white; font-weight: 650; text-decoration: none; cursor: pointer; justify-self: start; }
.button:hover, button:hover { background: #19422b; }
.secondary { background: #fff; color: #225639; }
.secondary:hover { background: #e9f2ea; }
.link-button, .link-button:hover { border: 0; background: transparent; color: #21543a; text-decoration: underline; padding: 0; }
:focus-visible { outline: 3px solid #226bc4; outline-offset: 2px; }
.notice { padding: .65rem .85rem; background: #e9f2ea; border-radius: .4rem; }
.error { background: #fae9e4; color: #74231b; }
.facts { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: .75rem 0 0; }
dt, .muted { color: #4a6254; }
dd { margin: 0; font-weight: 720; }
.user-row { border-block-end: 1px solid #dce5df; padding-block: .6rem; }
summary { cursor: pointer; }
details[open] > summary { margin-bottom: .6rem; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 650; }
ul, ol { padding-inline-start: 1.4rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid #dce5df; vertical-align: top; }
.number { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
code, .code-input { overflow-wrap: anywhere; font-family: ui-monospace, monospace; }

@media print {
    .site-header, .no-print { display: none; }
    :root { background: white; }
    main { padding: 0; }
    .panel { break-inside: avoid; }
}
