:root { font-family: system-ui, sans-serif; color: #203433; background: #f3f6f4; }
* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(100% - 2rem, 920px); margin-inline: auto; }
header { background: #143b36; color: #f6fffb; }
header .shell { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: space-between; align-items: center; padding: 1rem 0; }
header strong { font-size: 1.2rem; letter-spacing: -.025em; }
header span { color: #cee5db; font-size: .85rem; }
main { padding: 2.5rem 0; }
.section { color: #34675b; margin: 0; font-weight: 650; }
h1 { margin: .25rem 0 1.4rem; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.045em; }
.card { background: white; border: 1px solid #d9e4de; border-radius: 14px; padding: 1.25rem; margin-bottom: 1rem; }
.filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
label { display: grid; gap: .4rem; font-weight: 600; }
select, button { font: inherit; border-radius: 8px; padding: .65rem .75rem; border: 1px solid #9bb3a9; color: inherit; background: white; }
:focus-visible { outline: 3px solid #368a71; outline-offset: 3px; }
.card-title, li, .actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .65rem; }
h2 { margin: 0; font-size: 1.25rem; }
#summary { margin: 0; color: #42625a; }
ul { list-style: none; padding: 0; margin: .8rem 0 1rem; }
li { border-top: 1px solid #e5ebe8; padding: .75rem 0; }
.actions { justify-content: flex-end; }
button { cursor: pointer; font-weight: 650; }
#save { background: #206052; color: white; border-color: #206052; }
button:disabled { opacity: .55; cursor: default; }
#notice { min-height: 1.5rem; }
@media (max-width: 640px) { .filters { grid-template-columns: 1fr; } main { padding-top: 1.5rem; } }

#participant-management summary { cursor: pointer; font-weight: 700; }
#participant-management input:not([type="checkbox"]) { width: 100%; padding: .65rem; border: 1px solid #bbc9c6; border-radius: .4rem; font: inherit; box-sizing: border-box; }
#participant-management .filters { grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); }
#participant-courses { display: grid; gap: .65rem; }
#participant-courses label { display: flex; align-items: center; gap: .5rem; }
#participant-management fieldset { margin-top: 1rem; border: 1px solid #bbc9c6; border-radius: .4rem; }
#participant-results { list-style: none; padding: 0; }
#participant-results li { margin: .4rem 0; }
