:root{--bg:#f2f5f7;--panel:#fff;--ink:#172a36;--mute:#657985;--line:#dce5e9;--acc:#087e79;--warn:#fff4dc;--warnink:#76520b;--hl:#ffb300;color-scheme:light;font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;line-height:1.5}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button,input,select,textarea{border:1px solid var(--line);border-radius:8px;background:#fff;padding:9px 11px}button:hover{border-color:var(--acc);background:#f1f9f8}button.on{background:var(--acc);border-color:var(--acc);color:#fff}button:disabled,select:disabled{cursor:default;opacity:.75}input[type=search],input[type=text],select,textarea{width:100%}input[type=color]{width:42px;height:40px;padding:3px}input:focus,textarea:focus,select:focus{outline:2px solid #a3d5d2;outline-offset:1px}[hidden]{display:none!important}
.top{height:78px;background:#132b39;color:#fff;padding:0 32px;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:12px}.brand-icon{width:38px;height:38px;display:grid;place-items:center;background:#35c0ac;color:#102b37;font-weight:900;font-size:23px;border-radius:9px}.brand strong{font-size:19px;letter-spacing:.2px}.brand small{display:block;font-size:9px;letter-spacing:2px;color:#b7cad1}.account{display:flex;gap:18px;align-items:center;font-size:12px}.account button{border-color:#48606c;background:transparent;color:#fff;padding:6px 12px}.workspace{max-width:1700px;margin:auto;padding:28px 32px}.page-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.8px;color:var(--mute)}h1{font-size:30px;letter-spacing:-.8px;line-height:1.2;margin:5px 0 8px}h2{font-size:15px;margin:0 0 10px}p{margin:5px 0}.page-title p{color:var(--mute);font-size:12px}.pill{border-radius:30px;padding:7px 12px;font-size:12px;font-weight:600;background:var(--warn);color:var(--warnink)}.pill.ok{background:#e2f2e9;color:#27734a}.pill.ok:before{content:'●';margin-right:7px;font-size:9px}.app{display:grid;grid-template-columns:318px minmax(0,1fr);gap:20px;align-items:start}aside,.map{background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:0 3px 10px #233d4d04}aside{overflow:hidden}aside>section{padding:20px;border-bottom:1px solid var(--line)}aside>section:last-child{border-bottom:0}.hint{font-size:12px;color:var(--mute)}label.hint{display:block;margin-bottom:6px}.section-heading{display:flex;align-items:center;justify-content:space-between}.count{border-radius:5px;background:#edf3f5;padding:1px 7px;font-size:11px;color:var(--mute)}ul{list-style:none;margin:0;padding:0}li.item{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid #eef2f4;font-size:12px}li.item:last-child{border:0}li.item small{display:block;font-size:11px;color:var(--mute);font-weight:400}li.item b{text-align:right;white-space:nowrap;font-size:12px}.link{border:0;background:none;padding:0;color:var(--acc);font:inherit;text-align:left}.link:hover{text-decoration:underline;background:none}.results{max-height:300px;overflow:auto}.zone-section>ul{max-height:430px;overflow:auto;padding-right:4px}.stats{display:flex;gap:20px;margin:12px 0;color:var(--mute);font-size:11px}.stats b{display:block;font-size:22px;color:var(--ink)}.row{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.map{padding:20px;position:sticky;top:16px}.map-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:10px}.map-heading h2{font-size:19px;margin:2px 0 0}.save-state{font-size:11px;color:var(--acc);text-align:right}.save-state[data-state=retrying],.save-state[data-state=conflict],.save-state[data-state=blocked]{color:#a34a13}.bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;border-top:1px solid var(--line);padding-top:14px;margin-bottom:14px}.bar button{font-size:11px;padding:7px 9px}.zoom-tools{display:flex;gap:5px}.upload-link,.import-link{font-size:11px;color:var(--acc);cursor:pointer;padding:7px}.map-canvas{background:#e7edeb;border:1px solid var(--line);border-radius:10px;overflow:hidden}svg{width:100%;height:auto;aspect-ratio:534/248;display:block;touch-action:none;user-select:none}.map-foot{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:11px;color:var(--mute);padding:12px 0}.legend-dot{display:inline-block;width:8px;height:8px;background:#f2c500;border-radius:2px;margin-right:5px}.map-summary{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:10px;margin:20px 0 14px}.map-summary>div{padding:15px;border-right:1px solid var(--line)}.map-summary>div:last-child{border:0}.map-summary span{display:block;font-size:10px;color:var(--mute)}.map-summary strong{font-size:25px;font-weight:650}.save-actions{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.save-actions button{font-size:11px}.warn,.badge{background:var(--warn);color:var(--warnink);padding:12px 15px;border-radius:8px;margin-bottom:15px;font-size:12px}.badge{margin:10px 0}
polygon.z{fill:var(--c);fill-opacity:.13;stroke:var(--c);stroke-width:1.5;vector-effect:non-scaling-stroke;cursor:pointer}polygon.z:hover{fill-opacity:.36}polygon.z.sel{fill-opacity:.28;stroke:white;stroke-width:3;paint-order:stroke}polygon.z.hl{fill:var(--hl);stroke:var(--hl);fill-opacity:.55;stroke-width:3;animation:p 1s ease-in-out 3}.zone-label{fill:white;font-weight:800;paint-order:stroke;stroke:#163141;stroke-width:2px;stroke-linejoin:round;pointer-events:none}circle.v{fill:#fff;stroke:#087e79;stroke-width:2;vector-effect:non-scaling-stroke;cursor:move}polyline.d{fill:none;stroke:#2dd4bf;stroke-width:2;vector-effect:non-scaling-stroke}@keyframes p{50%{fill-opacity:.8}}@media(prefers-reduced-motion:reduce){polygon.z.hl{animation:none}}
.login{width:min(400px,calc(100% - 32px));margin:12vh auto;padding:32px;background:white;border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 45px #233d4d0c;display:flex;flex-direction:column;gap:13px}.login h1{font-size:25px}.login button{background:var(--acc);color:white;font-weight:600}.login label{font-size:12px}.login input{width:100%;margin-top:4px}
@media(min-width:1200px){.map-canvas{min-height:330px;display:flex;align-items:center}}@media(max-width:1050px){.app{grid-template-columns:285px minmax(0,1fr)}.workspace{padding:22px 18px}.map{padding:14px}.map-summary{grid-template-columns:repeat(2,1fr)}.map-summary>div{border-bottom:1px solid var(--line)}.map-summary>div:nth-child(2){border-right:0}}@media(max-width:760px){.top{padding:0 16px;height:68px}.account{gap:8px}.account span{max-width:130px;font-size:10px}.workspace{padding:20px 12px}.app{display:flex;flex-direction:column}.map{position:static;order:-1;width:100%}aside{width:100%}.page-title{gap:10px}h1{font-size:23px}.pill{font-size:10px;padding:6px 9px}.map-heading{align-items:start}.save-state{max-width:140px}.zone-section>ul{max-height:initial}}
