:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172820;--panel:#fff;--text:#172820;--muted:#64756b;--line:#e4ebe5;--soft:#f2f5f1;--green:#146c43;--green-soft:#e5f3e9;--accent:#f5cd42;--shadow:0 8px 30px #142c2220;--map-bg:#e8eee6;color-scheme:light}*{box-sizing:border-box}body{margin:0;overflow:hidden;background:var(--map-bg)}body.dark{--panel:#15231d;--text:#f1f6f0;--muted:#a5b7aa;--line:#31443a;--soft:#202f27;--green:#85e0a8;--green-soft:#233c2d;--shadow:0 8px 30px #0005;--map-bg:#202924;color-scheme:dark;color:var(--text)}[hidden]{display:none!important}.symbols{position:absolute;width:0;height:0;overflow:hidden}button,input{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none;-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #e6b900;outline-offset:2px}button:disabled{opacity:.5;cursor:not-allowed}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.app{position:relative;width:100%;height:100dvh;min-height:280px;isolation:isolate}#map{position:absolute;inset:0;background:var(--map-bg)}.topwash{position:absolute;inset:0 0 auto;height:170px;background:linear-gradient(180deg,#17282012,transparent);pointer-events:none}.panel{background:var(--panel);color:var(--text);border:1px solid var(--line);box-shadow:var(--shadow)}.header{position:absolute;left:20px;top:max(18px,env(safe-area-inset-top));width:356px;display:flex;align-items:center;justify-content:space-between;border-radius:18px;padding:12px 14px;gap:10px}.brand{display:flex;gap:10px;align-items:center;color:var(--text);text-decoration:none;white-space:nowrap}.brand-icon{width:38px;height:38px;color:var(--green);stroke:none}.brand strong{display:block;font-size:20px;letter-spacing:-.9px;line-height:1.05;font-weight:850}.brand strong span{color:var(--green)}.brand small{display:block;font-size:9px;letter-spacing:1.65px;font-weight:750;color:var(--muted);margin-top:5px}.header-actions{display:flex;gap:5px}.icon-btn{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--soft);flex-shrink:0;color:var(--text)}.icon-btn:hover{background:var(--green-soft)}.icon-btn.tiny{width:30px;height:30px;background:transparent}.icon-btn.tiny svg{width:17px;height:17px}.search-panel{position:absolute;left:20px;top:calc(max(18px,env(safe-area-inset-top)) + 79px);width:356px;border-radius:18px;padding:11px}.search-wrap{display:flex;align-items:center;gap:9px;padding:0 10px;background:var(--soft);border:1px solid var(--line);border-radius:12px;color:var(--muted);min-height:46px}.search-wrap input{background:none;color:var(--text);outline:none;min-width:0;width:100%;border:0;font-size:13px;min-height:44px}.search-wrap input::-webkit-search-cancel-button{display:none}.quick{display:flex;gap:6px;overflow:auto;scrollbar-width:none;padding-top:9px}.quick button{border:1px solid var(--line);border-radius:100px;padding:7px 10px;font-size:11px;font-weight:650;white-space:nowrap}.quick button:hover{background:var(--green-soft);color:var(--green)}.results{margin-top:6px;max-height:35vh;overflow:auto}.result{width:100%;display:flex;align-items:center;gap:10px;padding:10px 6px;text-align:left;border-bottom:1px solid var(--line)}.result:last-child{border:0}.result svg{color:var(--green);width:18px}.result span{flex:1}.result strong{display:block;font-size:13px}.result small,.empty{color:var(--muted);font-size:11px}.empty{padding:9px;line-height:1.5}.map-status{position:absolute;top:max(18px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);padding:9px 13px;border-radius:100px;font-size:11px;font-weight:650;display:flex;gap:7px;align-items:center;white-space:nowrap;max-width:calc(100% - 30px)}.dot,.bottom-meta i{width:7px;height:7px;border-radius:50%;background:#e2b52d;display:inline-block;flex-shrink:0}.map-status.ready .dot,.bottom-meta i{background:#299961}.map-status.error .dot,.bottom-meta.offline i{background:#cf7540}.map-status button{font-weight:800;color:var(--green);text-decoration:underline;padding:0}.controls{position:absolute;right:20px;top:50%;transform:translateY(-50%);display:grid;gap:11px}.control-group{border-radius:15px;overflow:hidden;display:grid}.control-group button{width:49px;height:47px;display:grid;place-items:center;font-size:14px;font-weight:850;color:var(--text)}.control-group button+button{border-top:1px solid var(--line)}.control-group button:hover{background:var(--soft)}.control-group button[aria-pressed=true]{background:var(--green-soft);color:var(--green)}.control-group .locate{background:var(--accent);color:#193523}.control-group .locate[aria-pressed=true]{background:#176c42;color:white}.bottom{position:absolute;bottom:max(24px,calc(env(safe-area-inset-bottom) + 18px));left:20px;width:356px;border-radius:21px;padding:16px}.handle{display:none}.bottom-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}.location-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:var(--green-soft);color:var(--green);flex-shrink:0}.location-icon svg{width:25px;height:25px}.bottom-title{flex:1;min-width:0}.eyebrow{font-size:9px;letter-spacing:1.2px;font-weight:800;color:var(--green)}h1{margin:3px 0;font-size:20px;line-height:1.15;letter-spacing:-.55px}p{line-height:1.5}.bottom-title p{font-size:11px;margin:4px 0 0;color:var(--muted);overflow-wrap:anywhere}.primary{width:100%;display:flex;align-items:center;justify-content:center;gap:9px;background:#146c43;color:#fff;border-radius:13px;min-height:48px;padding:11px 14px;font-size:14px;font-weight:750}.primary:hover{background:#0e5735}.primary .end{margin-left:auto;width:18px}.primary span{margin-right:auto}.bottom-meta{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:12px;gap:8px}.bottom-meta span:first-child{display:flex;align-items:center;gap:5px}.gps-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px}.gps-stats div{padding:9px 12px;background:var(--soft);border-radius:10px}.gps-stats small{display:block;font-size:9px;letter-spacing:.7px;color:var(--muted);font-weight:750}.gps-stats strong{display:block;font-size:19px;margin-top:3px}.credits{position:absolute;right:8px;bottom:3px;font-size:9px;line-height:1.3;background:var(--panel);color:var(--muted);padding:2px 5px;border-radius:4px;max-width:calc(100% - 16px)}.credits a{color:inherit}.maplibregl-ctrl-bottom-right{bottom:16px!important}.maplibregl-ctrl-attrib{font-size:10px!important}.maplibregl-ctrl-scale{margin-bottom:20px!important}.maplibregl-ctrl-bottom-left{left:390px!important}.maplibregl-popup-content{background:var(--panel)!important;color:var(--text)!important;border-radius:10px!important}.maplibregl-popup-tip{display:none}.point-marker{width:26px;height:26px;border:3px solid white;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#146c43;box-shadow:0 2px 8px #0004}.gps-marker{width:24px;height:24px;border:4px solid white;border-radius:50%;background:#1579e9;box-shadow:0 0 0 6px #1579e933,0 2px 8px #0004}#toast{position:absolute;left:50%;bottom:30px;transform:translateX(-50%);background:#142a20;color:white;border-radius:13px;padding:12px 16px;max-width:90%;width:max-content;font-size:13px;box-shadow:var(--shadow);z-index:10}dialog{width:min(440px,calc(100% - 26px));max-height:85dvh;overflow:auto;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:var(--shadow)}dialog::backdrop{background:#10241ca0;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;gap:10px}.dialog-head div{flex:1}.dialog-head h2{font-size:20px;margin:0}.dialog-head p{margin:2px 0;font-size:12px;color:var(--muted)}dialog p{font-size:13px}dialog h3{font-size:14px;margin-bottom:4px}dialog a{color:var(--green)}dialog hr{border:0;border-top:1px solid var(--line)}.muted{color:var(--muted)}noscript{position:fixed;top:45%;left:10%;width:80%;background:white;color:black;padding:20px;z-index:100}
@media(max-width:760px){.header,.search-panel{left:12px;right:12px;width:auto}.header{top:max(10px,env(safe-area-inset-top));padding:9px 11px;border-radius:16px}.search-panel{top:calc(max(10px,env(safe-area-inset-top)) + 65px);border-radius:16px;padding:9px}.map-status{top:calc(max(10px,env(safe-area-inset-top)) + 170px);left:12px;transform:none;font-size:10px;padding:7px 10px}.controls{right:12px;top:auto;bottom:calc(max(26px,env(safe-area-inset-bottom)) + 184px);transform:none;gap:8px}.control-group button{width:45px;height:42px}.bottom{left:10px;right:10px;width:auto;bottom:calc(max(0px,env(safe-area-inset-bottom)) + 24px);border-radius:20px;padding:10px 13px 12px}.handle{display:block;width:34px;height:4px;margin:0 auto 9px;border-radius:20px;background:var(--line)}.bottom-head{margin-bottom:10px}.bottom-meta{margin-top:8px}.bottom h1{font-size:18px}.location-icon{width:41px;height:41px}.maplibregl-ctrl-bottom-left{left:4px!important;bottom:200px!important}.maplibregl-ctrl-bottom-right{bottom:14px!important}.credits{bottom:calc(env(safe-area-inset-bottom) + 4px);font-size:8px}.app:has(.gps-stats:not([hidden])) .controls{bottom:calc(max(26px,env(safe-area-inset-bottom)) + 250px)}#toast{bottom:calc(env(safe-area-inset-bottom) + 200px)}.results{max-height:27vh}}
@media(max-height:590px) and (max-width:760px){.controls{bottom:calc(max(20px,env(safe-area-inset-bottom)) + 165px);display:flex;align-items:end}.control-group{display:flex}.control-group button+button{border-top:0;border-left:1px solid var(--line)}.control-group button{width:36px;height:35px}.app:has(.gps-stats:not([hidden])) .controls{bottom:calc(max(20px,env(safe-area-inset-bottom)) + 218px)}.gps-stats div{padding:5px 8px}.bottom-head{margin-bottom:6px}.bottom-meta{margin-top:5px}.map-status{top:calc(max(10px,env(safe-area-inset-top)) + 155px)}.quick{padding-top:6px}.bottom .handle{display:none}.bottom .primary{min-height:39px}.bottom{padding:9px}.maplibregl-ctrl-bottom-left{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.point-marker{transform:none;border-radius:50%;width:23px;height:23px;background:#146c43;outline:2px solid #146c43;outline-offset:2px}.primary:active,.control-group button:active{filter:brightness(.93)}
@media(max-width:760px){.map-status{z-index:1}.search-panel{z-index:3}.header{z-index:4}.controls{z-index:2}.bottom{z-index:2}}
@media(max-height:500px) and (min-width:761px){.header{top:8px}.search-panel{top:78px}.bottom{bottom:17px;width:320px;padding:10px}.bottom-head{margin-bottom:8px}.controls{gap:5px}.control-group button{height:39px;width:42px}.map-status{left:auto;right:12px;transform:none;top:8px}}
