:root{color-scheme:dark;font-family:system-ui;background:#11171c;color:#e1dfd4}body{margin:0}main{max-width:1500px;margin:auto;padding:1.5rem}header{display:flex;justify-content:space-between;gap:1rem;color:#e9bb70;border-bottom:1px solid #46505a;padding-bottom:1rem}h1{font-family:Georgia,serif;font-size:2.2rem;margin-bottom:.5rem}h2{font-size:1rem}.controls{display:flex;flex-wrap:wrap;gap:.65rem;align-items:end}label{display:grid;gap:.3rem}button,select{padding:.6rem;background:#222e38;color:inherit;border:1px solid #687b87;border-radius:.3rem}button:disabled{opacity:.5}.view{display:grid;grid-template-columns:minmax(0,3fr) minmax(260px,1fr);gap:1rem}canvas{width:100%;height:570px;display:block;background:#14202a;border:1px solid #53616a;touch-action:none}#town-map{width:100%;min-height:230px;background:#172129;border:1px solid #53616a}.town-outline{fill:none;stroke:#e1dfd4;stroke-width:2}.partition{fill:none;stroke:#65717b;stroke-width:1;stroke-dasharray:5 4}.selected-partition{stroke:#bdab65}.landmark{fill:#edbd73;stroke:#11171c;stroke-width:1}.loaded-footprint{fill:#36acb0;stroke:#0f4f55;stroke-width:.5}.map-label{fill:#e1dfd4;font-size:13px}.scale-bar{stroke:#e1dfd4;stroke-width:3}p{line-height:1.5}#status{color:#edbd73}#error{color:#ffb2a8}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.8rem}aside p{font-size:.88rem}details{border-top:1px solid #46505a;padding-top:.7rem}@media(max-width:850px){.view{grid-template-columns:1fr}canvas{height:430px}header{display:block}}

.z-controls{display:grid;grid-template-columns:minmax(12rem,1fr) auto;gap:.5rem 1rem;margin:1rem 0;padding:.8rem;border:1px solid #687b87}.z-controls input{grid-column:1/-1;width:100%;min-height:2rem;accent-color:#edbd73}.z-controls output{color:#edbd73}.z-controls p{grid-column:1/-1;margin:.2rem 0}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #edbd73;outline-offset:3px}@media(max-width:600px){.z-controls{grid-template-columns:1fr}.z-controls>*{grid-column:1}}
