:root{--surface:#ffffff;--surface-2:#f4f5f7;--text:#1f2328;--muted:#5f6670;--border:rgba(31,35,40,.12);--accent:#1a73e8;--accent-soft:#e8f0fe;--danger:#b3261e;--shadow:0 1px 3px rgba(0,0,0,.14),0 6px 20px rgba(0,0,0,.1);--radius:12px;--gutter:16px;--top-width:384px;--font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;color-scheme:light}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:#f5f4ef;color:var(--text);font:15px/1.45 var(--font);-webkit-font-smoothing:antialiased;overflow:hidden}button,input{font:inherit;color:inherit}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.app{position:fixed;inset:0;overflow:hidden}.map{position:absolute;inset:0}.top{position:absolute;z-index:3;top:calc(var(--gutter) + env(safe-area-inset-top));left:var(--gutter);width:var(--top-width);display:flex;flex-direction:column;gap:8px;pointer-events:none}.top>*{pointer-events:auto}.search{position:relative}.search-field{display:flex;align-items:center;gap:8px;height:48px;padding:0 6px 0 14px;background:var(--surface);border-radius:24px;box-shadow:var(--shadow)}.search-icon{color:var(--muted);flex:none}.search-field input{flex:1;min-width:0;height:100%;border:0;background:transparent;font-size:16px;outline:none}.search-field input::-webkit-search-cancel-button{display:none}.search-field:focus-within{box-shadow:var(--shadow),0 0 0 2px var(--accent)}.icon-button{display:inline-grid;place-items:center;width:36px;height:36px;flex:none;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer}.icon-button:hover{background:var(--surface-2);color:var(--text)}.search-results{list-style:none;margin:6px 0 0;padding:6px;background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);max-height:min(60dvh,420px);overflow-y:auto}.search-results li{display:flex;align-items:center;gap:10px;padding:8px;border-radius:8px;cursor:pointer}.search-results li.active{background:var(--accent-soft)}.search-results .search-empty{color:var(--muted);cursor:default}.result-icon{display:inline-grid;place-items:center;width:28px;height:28px;flex:none;border-radius:50%;color:#fff}.result-icon.street{background:#fff4d1;color:#8a6100;border:1px solid #e8cf86}.result-text{display:flex;flex-direction:column;min-width:0}.result-name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.result-detail{font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toolbar{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px}.toolbar::-webkit-scrollbar{display:none}.chip{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;flex:none;border:0;border-radius:18px;background:var(--surface);box-shadow:var(--shadow);font-size:14px;font-weight:500;cursor:pointer;white-space:nowrap}.chip:hover{background:var(--surface-2)}.chip[aria-pressed=true]{background:var(--accent);color:#fff}.panel{position:absolute;z-index:2;top:calc(var(--gutter) + env(safe-area-inset-top) + 100px);left:var(--gutter);width:var(--top-width);max-height:calc(100dvh - 160px);display:flex;flex-direction:column;background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow)}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 8px 6px 18px;border-bottom:1px solid var(--border)}.panel-header h2{margin:0;font-size:17px;font-weight:650}.panel-body{padding:12px 18px 18px;overflow-y:auto;overscroll-behavior:contain}.panel-body h3{margin:18px 0 8px;font-size:13px;font-weight:650;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.panel-body p{margin:0 0 10px}.lead{color:var(--text)}.hint{color:var(--muted);font-size:13px}.switches{list-style:none;margin:0;padding:0}.switches li+li{border-top:1px solid var(--border)}.switch{position:relative;display:flex;align-items:center;gap:12px;padding:10px 0;cursor:pointer}.switch-text{flex:1;display:flex;flex-direction:column}.switch-label{font-weight:550}.switch-hint{font-size:13px;color:var(--muted)}.switch input{position:absolute;opacity:0;width:1px;height:1px}.switch-track{position:relative;width:40px;height:24px;flex:none;border-radius:12px;background:#c4c8cf;transition:background .15s}.switch-track:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0000004d;transition:transform .15s}.switch input:checked+.switch-track{background:var(--accent)}.switch input:checked+.switch-track:after{transform:translate(16px)}.switch input:focus-visible+.switch-track{outline:2px solid var(--accent);outline-offset:2px}.legend{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;font-size:14px}.legend li{display:flex;align-items:center;gap:8px}.legend-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}.legend-grid li{min-width:0}.legend-line{width:22px;height:5px;border-radius:3px;flex:none}.legend-icon{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;flex:none}.stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 4px}.stats div{padding:10px 12px;background:var(--surface-2);border-radius:10px;min-width:0}.stats dt{font-size:12px;color:var(--muted)}.stats dd{margin:2px 0 0;font-size:20px;font-weight:650}.stats dd small{font-size:12px;font-weight:400;color:var(--muted)}.filter{width:100%;height:40px;padding:0 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);font-size:16px;margin-bottom:8px}.reviews{list-style:none;margin:0;padding:0}.reviews button{display:flex;flex-direction:column;align-items:flex-start;width:100%;padding:10px;border:0;border-radius:10px;background:transparent;text-align:left;cursor:pointer}.reviews button:hover{background:var(--surface-2)}.review-new{font-weight:600}.review-old{font-size:13px;color:var(--muted);text-decoration:line-through;text-decoration-color:#5f667080}.review-votes{font-size:12px;color:var(--muted)}.sources{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.sources li{display:flex;flex-direction:column;font-size:14px}.sources span{color:var(--muted)}.sources .license{font-size:12px;color:#2e6b3a}.zoom-level{position:absolute;z-index:1;left:10px;bottom:40px;padding:2px 8px;border-radius:10px;background:#ffffffd9;font-size:12px;color:var(--muted);pointer-events:none}.toast{position:absolute;z-index:4;left:50%;bottom:calc(32px + env(safe-area-inset-bottom));transform:translate(-50%);width:max-content;max-width:min(440px,calc(100vw - 32px));padding:12px 16px;border-radius:var(--radius);background:#2b2f36;color:#fff;box-shadow:var(--shadow);font-size:14px}.loading,.failure{position:absolute;z-index:4;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:10px;max-width:calc(100vw - 32px);padding:12px 18px;border-radius:24px;background:var(--surface);box-shadow:var(--shadow)}.failure{border-radius:var(--radius);color:var(--danger);width:420px}.spinner{width:18px;height:18px;border-radius:50%;border:2px solid var(--accent-soft);border-top-color:var(--accent);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.maplibregl-popup-content{padding:12px 30px 12px 14px;border-radius:10px;box-shadow:var(--shadow);font:14px/1.4 var(--font)}.maplibregl-popup-close-button{width:28px;height:28px;font-size:20px;border-radius:0 10px 0 8px}.map-popup{display:flex;flex-direction:column;gap:2px}.map-popup strong{font-size:15px}.map-popup .muted{color:var(--muted);font-size:13px}.maplibregl-ctrl-top-right{top:calc(env(safe-area-inset-top) + 6px);right:6px}.maplibregl-ctrl-group{border-radius:10px;box-shadow:var(--shadow)!important}.maplibregl-ctrl-group button{width:36px;height:36px}.maplibregl-ctrl-scale{border-color:#7b8188;color:#3b4047;background:#fffc}@media(max-width:719px){:root{--gutter:12px}.top{right:var(--gutter);width:auto}.toolbar{gap:6px}.chip{padding:0 12px;gap:5px}.maplibregl-ctrl-top-right{top:calc(env(safe-area-inset-top) + 114px)}.maplibregl-ctrl-top-right .maplibregl-ctrl{margin:0 6px 8px 0}.panel{inset:auto 0 0;width:auto;max-height:min(62dvh,560px);border-radius:16px 16px 0 0;padding-bottom:env(safe-area-inset-bottom)}.app[data-panel]:not([data-panel=none]) .zoom-level{display:none}}@media(prefers-reduced-motion:reduce){.spinner{animation-duration:2s}.switch-track,.switch-track:after{transition:none}}
