:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #202b25;
  background: #f5f7f1;
  --green: #245943;
  --muted: #4d5e53;
  --line: #d8e1d6;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: var(--green); text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; }
button, .button {
  background: var(--green); color: #fff; border: 1px solid transparent;
  border-radius: .7rem; padding: .65rem 1rem; font-weight: 700;
  cursor: pointer; text-decoration: none; display: inline-block;
}
button:hover, .button:hover { background: #194432; }
.secondary, .plain { background: transparent; color: var(--green); }
.secondary { border-color: #9fb5a6; }
.secondary:hover, .plain:hover { background: #e8f0e9; }
.plain { padding: .35rem .55rem; }
:focus-visible { outline: 3px solid #8d4c19; outline-offset: 3px; }
.top { background: #fff; border-bottom: 1px solid var(--line); }
.bar, main, footer { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: .8rem 2rem; flex-wrap: wrap; padding: .8rem 0; }
.brand { font-weight: 850; font-size: 1.2rem; text-decoration: none; white-space: nowrap; }
.brand span { color: #a84032; font-size: 1.45rem; margin-right: .25rem; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1rem; font-size: .9rem; }
nav a { font-weight: 650; }
nav form { margin: 0; }
main { padding-block: clamp(1rem, 4vw, 3rem); min-height: 70vh; }
footer { padding-block: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); }
main > section + section { margin-top: 2.5rem; }
.hero { background: #dcebe0; border-radius: 1.4rem; padding: clamp(1.4rem, 5vw, 3.5rem); }
.hero h1 { font-size: clamp(2.4rem, 7vw, 5rem); line-height: 1.02; letter-spacing: -.065em; color: #173e2f; }
.hero p { font-size: 1.12rem; max-width: 37rem; }
.hero-links { margin-top: 1.15rem; display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; }
h1, h2, h3, p { margin: 0 0 .55rem; overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.18; }
h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); letter-spacing: -.035em; margin-bottom: .95rem; }
h3 { font-size: 1.21rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1rem; }
.admin { margin-top: 1.25rem; align-items: start; }
.card, .empty { padding: 1.2rem; border: 1px solid var(--line); border-radius: 1rem; background: white; }
.card p:last-child, .empty { margin-bottom: 0; }
.event { border-top: 4px solid #789d7d; }
.task { border-top: 4px solid #c88752; }
.post { border-top: 4px solid #8e87b1; }
.copy { white-space: pre-wrap; }
.tag, .muted { color: var(--muted); font-size: .9rem; }
.tag { font-weight: 750; }
.login { max-width: 37rem; }
.login form { margin-bottom: 1rem; }
.card form { display: grid; gap: .8rem; justify-items: start; }
.card label { display: grid; gap: .3rem; width: 100%; font-size: .95rem; font-weight: 650; }
input, textarea, select { width: 100%; min-width: 0; padding: .55rem .6rem; color: inherit; border: 1px solid #96a89a; border-radius: .45rem; background-color: #fff; }
select { appearance: none; padding-right: 2rem; background: linear-gradient(45deg, transparent 50%, #245943 50%) calc(100% - 16px) center / 5px 5px no-repeat, linear-gradient(135deg, #245943 50%, transparent 50%) calc(100% - 11px) center / 5px 5px no-repeat, white; }
textarea { resize: vertical; }
details { border-top: 1px solid var(--line); margin-top: .85rem; padding-top: .75rem; }
details[open] summary { margin-bottom: .65rem; }
summary { cursor: pointer; font-weight: 650; overflow-wrap: anywhere; }
.notice { padding: .65rem; background: #fce9e3; color: #742e25; border-radius: .5rem; }
