:root { color-scheme: light; --ink: #172421; --green: #0a5f03; --pale: #eef5ec; --line: #d2ddcf; --danger: #8b2424; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #FAF5D4; font: 16px/1.5 system-ui, -apple-system, sans-serif; }
.site-header { display: flex; align-items: baseline; gap: 1rem; padding: 1rem max(1rem, calc((100vw - 960px) / 2)); color: white; background: var(--green); }
.brand { color: white; font: 700 1.45rem Georgia, serif; text-decoration: none; }
.container { width: min(960px, calc(100% - 2rem)); margin: 2rem auto 4rem; }
footer { padding: 1.5rem; color: #50615c; text-align: center; border-top: 1px solid var(--line); }
h1, h2, h3 { line-height: 1.2; }
.lede { font-size: 1.15rem; }
.muted { color: #5d6d68; font-weight: normal; }
.required { color: var(--danger); }
.alert { margin: 1rem 0; padding: .85rem 1rem; color: var(--danger); background: #fff0f0; border-left: 4px solid var(--danger); }
fieldset, .summary, .edit-link { margin: 2rem 0; padding: 0; background: transparent; border: 0; border-radius: 0; }
legend, .summary > h2, .summary > h3, .edit-link > h2 { padding: 0 0 .35rem; border-bottom: 3px solid var(--green); font-weight: 700; }
legend { margin-bottom: 1rem; font-size: 1.15rem; }
.grid { display: grid; gap: 1rem; }
label { display: grid; gap: .35rem; font-weight: 600; }
input, select, textarea, button { min-height: 2.8rem; padding: .65rem .75rem; color: inherit; background: white; border: 1px solid #8ba099; border-radius: .3rem; font: inherit; }
input:focus, select:focus, textarea:focus, button:focus, a:focus { outline: 3px solid #a36a00; outline-offset: 2px; box-shadow: 0 0 0 2px white; }
textarea { resize: vertical; }
.textarea-label { margin: 1.5rem 0; }
button, .button { cursor: pointer; font-weight: 700; }
.primary, .button.primary { display: inline-block; padding: .75rem 1.15rem; color: white; background: var(--green); border-color: var(--green); border-radius: .3rem; text-decoration: none; }
.secondary { color: var(--green); background: white; border-color: var(--green); }
.link-button { float: right; min-height: auto; padding: .2rem; color: var(--danger); border: 0; text-decoration: underline; }
.check { display: flex; align-items: center; }
.check input { min-height: 1.3rem; width: 1.3rem; }
.conditional { margin-top: 1.5rem; }
.conditional h3 { padding-bottom: .35rem; border-bottom: 3px solid var(--green); font-size: 1.05rem; }
.is-hidden { display: none !important; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.copy-row { display: flex; gap: .5rem; }
.copy-row input { flex: 1; min-width: 0; }
dl { display: grid; grid-template-columns: minmax(9rem, 1fr) 2fr; gap: .35rem 1rem; }
dt { font-weight: 700; }
dd { margin: 0; overflow-wrap: anywhere; }
.preserve { white-space: pre-wrap; }
.narrow-form { max-width: 28rem; }
.narrow-form button { margin-top: 1rem; }
.page-heading, .admin-actions, .actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.session-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
.session-actions form { margin: 0; }
.table-wrap { overflow-x: auto; background: transparent; border: 1px solid var(--line); border-radius: 0; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .8rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.actions { justify-content: flex-start; }
.actions form, .admin-actions form { margin: 0; }
.small-button { display: inline-block; padding: .45rem .65rem; border: 1px solid var(--green); border-radius: .3rem; text-decoration: none; }
.danger { color: white; background: var(--danger); border-color: var(--danger); }
.status { display: inline-block; padding: .15rem .45rem; border-radius: 2rem; font-size: .9rem; }
.status.new { color: #0a5f03; background: #e2f2de; }
.status.processed { color: #4f5e59; background: #e4e9e7; }
.changes { padding: 1rem; background: #fff7df; border-left: 4px solid #d29b18; }
@media (min-width: 680px) { .grid { grid-template-columns: 1fr 1fr; } .wide { grid-column: 1 / -1; } }
@media print { .site-header, footer, button, .button, .edit-link, .admin-actions, body > header { display: none !important; } body { background: white; font-size: 11pt; } .container { width: 100%; margin: 0; } fieldset, .summary { border: 0; padding: 0; } }
