*{box-sizing:border-box}html,body,main,#map{height:100%;width:100%;margin:0}body{font:15px system-ui,sans-serif;color:#172e35;background:#dcecef}#map{position:absolute;inset:0;background:#dae9e8}button{cursor:pointer;font:inherit;color:inherit;border:0;background:#f0f6f4}button:focus-visible{outline:3px solid #137b85;outline-offset:2px}button:hover{background:#e4f3ef}.brand,.locate,.panel{position:absolute;z-index:600;background:#fff;box-shadow:0 5px 24px #12303d24;border:1px solid #e4eeec}.brand{top:16px;left:16px;border-radius:15px;padding:11px 15px;display:flex;align-items:center;gap:11px}.brand-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#0e666c;color:#fff;font:bold 29px/1 system-ui}.brand h1{font-size:19px;line-height:1.1;margin:0 0 3px}.brand div span{color:#4a686c;font-size:12px}.locate{top:96px;right:10px;width:42px;height:42px;border-radius:10px;font-size:29px;line-height:1;color:#0e666c}.leaflet-control-zoom a{width:40px!important;height:39px!important;line-height:39px!important}.panel{bottom:28px;left:16px;width:min(370px,calc(100% - 32px));padding:14px;border-radius:17px}.tabs{display:flex;gap:6px;align-items:center}.tabs button{display:flex;align-items:center;justify-content:center;gap:6px;border-radius:9px;padding:7px 9px;min-height:44px}.tabs button[aria-pressed=true]{background:#d5efeb;box-shadow:inset 0 0 0 1px #80c5bd}.tabs #clear{margin-left:auto;font-size:13px;background:transparent}.tabs #clear:hover{background:#edf3f2}.letter,.map-point{display:grid;place-items:center;color:#fff;background:#04626c;font-weight:700;border-radius:50%;width:22px;height:22px}.letter.b,.map-point.b{background:#9f471c}.map-point{width:32px;height:32px;font-size:16px;border:2px solid white;box-shadow:0 2px 8px #0005}.div-point{background:transparent;border:0}#result{font-size:17px;margin-top:10px}#distance{font-size:30px;color:#075d66}#status,#notice{margin:9px 0 0;line-height:1.4}#notice{color:#8a3f14}.fine{font-size:12px;color:#526d70;margin:9px 0 0}.leaflet-control-attribution{font-size:10px!important}@media(max-width:600px){.brand{top:max(10px,env(safe-area-inset-top));left:10px;padding:8px 11px}.panel{left:8px;width:calc(100% - 16px);bottom:max(22px,calc(env(safe-area-inset-bottom) + 16px));padding:11px}.tabs button{flex:1}.tabs #clear{flex:0}.brand-icon{width:30px;height:30px}.brand h1{font-size:17px}.tab button{touch-action:manipulation}}
/* Overlap raster edges by one device-independent pixel so fractional transforms cannot expose the map behind them. */
.route-basemap img.leaflet-tile{width:257px!important;height:257px!important;image-rendering:auto;mix-blend-mode:normal}

