:root { color-scheme: dark; font: 15px system-ui,sans-serif; background:#131a17; color:#f5f6ed }
* { box-sizing:border-box }
body { margin:0; min-height:100dvh; display:grid; grid-template-rows:auto 1fr }
[hidden] { display:none!important }
header { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; padding:.75rem 1.2rem; background:#19261e }
header div { margin-right:auto }
h1,p { margin:0 }
h1 { font-size:1.25rem }
header p { color:#afbfad; font-size:.85rem }
main { position:relative; display:grid; min-height:70vh }
#map { min-height:100%; background:#242f28 }
button,select,input { font:inherit; color:inherit }
button,select,input:not([type=checkbox]) { border:1px solid #516750; border-radius:.35rem; background:#26392c; padding:.45rem .6rem }
button:hover,button:focus-visible { background:#36543b }
button:disabled { opacity:.5 }
a { color:#b8e3ad }
#members,#editor,#notice,#coords { position:absolute; z-index:500; background:#19261ef5; border:1px solid #526b53; border-radius:.5rem; padding:.65rem; box-shadow:0 .15rem .55rem #0005 }
#members { top:1rem; right:1rem; display:grid; gap:.5rem }
#editor { top:6.4rem; right:1rem; width:min(20rem,calc(100% - 4.5rem)); display:grid; gap:.6rem }
#editor label { display:flex; justify-content:space-between; align-items:center; gap:.45rem }
#editor input { min-width:0 }
#instructions,#points { color:#cee2cb; font-size:.85rem }
#notice { bottom:1.3rem; left:1rem; max-width:80vw }
#coords { bottom:1.3rem; right:1rem; font-variant-numeric:tabular-nums; pointer-events:none }
#notice:empty,#coords:empty { display:none }
.buttons { display:flex; flex-wrap:wrap; gap:.35rem }
.leaflet-container { font:14px system-ui,sans-serif }
.leaflet-popup-content button { margin-top:.4rem }
