* { box-sizing:border-box; }
:root { --orange:#16758a; }
html,body { margin:0; background:#fff; color:#202927; font-family:Arial,sans-serif; font-size:16px; }
button,a { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; font-family:inherit; }
button:focus-visible,a:focus-visible { outline:3px solid #16758a; outline-offset:3px; }
.route-card { border:0; border-radius:0; box-shadow:none; }
.route-toolbar { padding:12px 14px; gap:10px; min-height:68px; }
.route-toolbar > strong { font-size:16px; }
.route-fit { font-size:14px; border-radius:4px; padding:8px 10px; }
.route-map { height:420px; }
.route-mode { top:10px; left:10px; border-radius:5px; gap:0; padding:3px; }
.route-mode button { font-size:14px; padding:9px; border-radius:3px; }
.route-footer { padding:12px 14px; gap:8px; font-size:13px; }
.route-download { color:inherit; font-size:14px; }
.route-camera-state,button.route-camera-state { font-size:13px; }
.route-map .maplibregl-ctrl-attrib { max-width:75%; }
@media(max-width:420px) {
 .route-toolbar { flex-wrap:wrap; }
 .route-mode { top:9px; left:4px; }
 .route-mode button { padding:8px 7px; font-size:13px; }
 .route-map { height:380px; }
}

.route-map .route-buoy {
  width:20px; height:20px; padding:0; border:2px solid #fff8e9;
  border-radius:50%; box-shadow:0 1px 4px #0006; pointer-events:none;
}
.route-map .buoy-orange { background:#f35a19; }
.route-map .buoy-black { background:#111; }
.route-map .route-buoy:focus-visible { outline:3px solid #16758a; outline-offset:3px; }

.route-map .route-endpoint {
  width:38px!important; height:38px!important; padding:3px;
  border:1px solid #20292755; border-radius:50%;
  background:#fff8e9; box-shadow:0 2px 5px #0003;
}
.route-map .route-endpoint > span { display:block; width:30px; height:30px; }
.route-map .route-endpoint svg { display:block; width:100%; height:100%; }
.route-map .route-endpoint:focus-visible { outline:3px solid #16758a; outline-offset:3px; }

[hidden] { display:none!important; }
.route-map .maplibregl-marker.route-endpoint { z-index:20; }
.route-map .maplibregl-marker.route-buoy { z-index:1; }
@media(max-width:600px) {
  .route-map { height:350px; }
}

html, body, .route-card, .route-map-wrap { height:100%; }
.route-map { height:100%; }
