:root {
  color-scheme: light;
  --ink: #193329;
  --green: #214f3c;
  --border: #cdd8d0;
  --bg: #f5f6ef;
  font: 16px/1.5 system-ui, sans-serif;
}
* { box-sizing: border-box }
body { margin: 0; color: var(--ink); background: var(--bg) }
header { background: #102e26; color: #fff; padding: 1rem max(1rem, calc((100% - 68rem)/2)); display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap }
header a { color: inherit; font-weight: 700 }
main { width: min(100% - 2rem, 68rem); margin: 1.5rem auto 3rem }
a { color: #235d43; font-weight: 650; text-underline-offset: .15em }
h1 { margin: 0 0 1.25rem; font: 700 clamp(2.2rem,6vw,4rem)/1.08 Georgia,serif; overflow-wrap: anywhere }
h2,h3,h4 { margin: 0 0 .6rem }
h2 { font-size: 1.3rem }
p { margin: .45rem 0 .75rem; overflow-wrap: anywhere }
section { padding: clamp(1rem, 3vw, 1.5rem); background: #fff; border: 1px solid var(--border); border-radius: .9rem; margin-bottom: 1rem; min-width: 0 }
.grid,.stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,14rem),1fr)); gap: .75rem }
.stats { margin: 0 }
.stats div { background: #edf2e8; border-radius: .6rem; padding: .6rem .8rem }
.stats dd { margin: 0; font-size: 1.6rem; font-weight: 700 }
.toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; justify-content: space-between }
.toolbar form { margin: 0 }
label { display: grid; gap: .25rem; margin: .55rem 0; font-weight: 550; min-width: 0 }
button,input,textarea,select { font: inherit }
input,textarea,select { display: block; width: 100%; min-width: 0; min-height: 2.65rem; background: #fff; color: var(--ink); border: 1px solid #7d978a; border-radius: .4rem; padding: .4rem .55rem }
textarea { min-height: 6rem; resize: vertical }
button { min-height: 2.75rem; padding: .45rem .8rem; color: #fff; background: var(--green); border: 0; border-radius: .45rem; cursor: pointer; font-weight: 650 }
button.secondary { background: #e8eee6; color: var(--ink) }
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible { outline: 3px solid #a35416; outline-offset: 3px }
form+form,.entry { border-top: 1px solid var(--border); padding-top: .8rem; margin-top: .8rem }
.plain { padding: 0; list-style: none }
.plain li { border-top: 1px solid var(--border); padding: .55rem 0 }
.notice { padding: .75rem; border-radius: .4rem; background: #e3eedb }
.notice.error { background: #fbe2d7; color: #572417 }
.note { white-space: pre-wrap }
summary { cursor: pointer }
.account-settings { border: 1px solid var(--border); border-radius: .75rem; background: #fff; padding: 1rem; margin-bottom: 1rem }
.account-settings summary { font-weight: 700 }
.account-settings form { margin-top: .8rem }
.shortcuts { margin-top: 1rem; justify-content: flex-start }
.badges { display: flex; gap: .45rem; flex-wrap: wrap }
.badge { padding: .2rem .55rem; border-radius: .4rem; background: #e6ecdc; font-weight: 650 }
.badge.deadline { background: #fde4ce; color: #693617 }
.list-count { font-weight: 650; margin-top: 1rem }
.photo-gallery { margin-top: 1rem }
.photo-gallery figure { margin: 0; background: var(--bg); border: 1px solid var(--border); border-radius: .65rem; overflow: hidden }
.photo-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; display: block; background: #e8eee6 }
.photo-gallery figcaption,.photo-gallery figure form { padding: .6rem .75rem }
.team-nav { position: sticky; top: 0; z-index: 1; background: var(--bg); padding: .5rem 0; margin-bottom: .75rem; justify-content: flex-start }
.team-nav a { padding: .35rem .55rem; background: #e7efe4; border-radius: .4rem; text-decoration: none }
section[id] { scroll-margin-top: 6rem }
.print-tools { margin-bottom: 1rem }
@media print {
  @page { size: A4; margin: 15mm }
  body { background: white; color: black }
  header,.print-tools { display: none !important }
  main { width: auto; margin: 0 }
  section { border: 0; padding: 0 }
  h2,h3 { break-after: avoid }
}
