:root { font-family: system-ui,sans-serif; color: #16241f; background: #f1f5f0; color-scheme: light; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { background: #15362d; color: #fff; padding: 1rem max(1rem,calc((100vw - 1000px)/2)); display: flex; align-items: center; justify-content: space-between; }
header a { color: inherit; text-decoration: none; font-weight: 700; white-space: nowrap; }
main { max-width: 1032px; margin: 2rem auto; padding: 0 1rem; }
nav { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
section, article { background: white; border: 1px solid #dde6df; border-radius: .75rem; padding: clamp(.8rem,3vw,1.6rem); }
article { margin-block: .75rem; }
#login { max-width: 420px; margin: 3rem auto; }
form { display: grid; gap: .8rem; max-width: 740px; margin-block: .8rem; }
label { display: grid; gap: .3rem; font-weight: 600; }
input, select, textarea, button { font: inherit; padding: .55rem .7rem; border-radius: .4rem; border: 1px solid #8caa9b; }
button { cursor: pointer; background: #e6f4eb; font-weight: 600; color: #16372c; }
button[aria-current=true], form button { background: #20614d; color: white; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #91692e; }
textarea { resize: vertical; min-height: 5rem; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: .7rem; background: #f3f5f2; }
.actions { display: flex; flex-wrap: wrap; gap: .45rem; }
#notice { padding: .75rem; background: #fff2d0; border-radius: .4rem; }
.diagram { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.diagram span { padding: .4rem .75rem; border: 1px solid #9eb9aa; border-radius: .4rem; }
