/* Map workspace: photos, compact filters and comfortable touch targets. */
body.routes-body .routes-wrap{max-width:1420px;padding-top:28px}
body.routes-body .routes-hero{margin-bottom:20px;padding-bottom:24px}
body.routes-body .routes-hero h1{font-size:clamp(30px,3.3vw,44px);margin:8px 0 10px}
body.routes-body .routes-explorer{border-radius:20px;overflow:clip;border-color:#ceded8;box-shadow:0 8px 28px #083c3e08}
body.routes-body .routes-toolbar{gap:14px;padding:18px 22px;border:0;align-items:end}
body.routes-body .routes-tabs{background:#e2eeeb;padding:5px;border-radius:12px}
body.routes-body .routes-tabs button{min-height:46px;border-radius:8px;font-weight:800}
body.routes-body .routes-tabs button[aria-pressed=true]{background:#083c3e;color:#fff;box-shadow:0 2px 5px #083c3e20}
body.routes-body .routes-toolbar .routes-search{min-width:0!important;flex:1}
body.routes-body .routes-toolbar input{margin-top:5px;min-height:50px;background:#f8fbfa;border-color:#b2c9c2;border-radius:10px}
body.routes-body .map-filter-toggle{display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px;min-width:118px;padding:10px 15px;border:1px solid #a9c1b9;border-radius:10px;background:#fff;color:#123c3e;font-size:14px;font-weight:800;cursor:pointer}
body.routes-body .map-filter-toggle[aria-expanded=true]{background:#083c3e;color:#fff;border-color:#083c3e}
body.routes-body #map-filter-count{display:grid;place-items:center;min-width:23px;height:23px;border-radius:50%;background:#f7d75a;color:#123c3e;font-size:12px}
body.routes-body .map-filter-panel{padding:22px;background:#f1f7f4;border-block:1px solid #d5e1df}
body.routes-body .map-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
body.routes-body .map-filter-heading h2{margin:0;font-size:21px;line-height:1.3}
body.routes-body .map-filter-heading button{min-width:44px;min-height:44px;background:#fff;border:1px solid #afc7be;border-radius:50%;color:#123c3e;font-size:26px;cursor:pointer}
body.routes-body .map-filter-grid{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,3fr);gap:26px;align-items:start}
body.routes-body .map-filter-grid>label{font-size:14px;font-weight:750}
body.routes-body .map-filter-grid select{display:block;width:100%;margin-top:9px;min-height:48px;padding:10px 12px;border:1px solid #a8c0b9;background:#fff;color:#123c3e}
body.routes-body .place-amenities{border:0;margin:0;padding:0;min-width:0}
body.routes-body .place-amenities h3{margin:0 0 8px;font-size:14px;font-weight:750;letter-spacing:0}
body.routes-body .place-amenities-options{padding:0;gap:8px}
body.routes-body .place-amenities-options label{border-color:#b4ccc3;min-height:52px;gap:10px;padding:10px 12px}
body.routes-body .place-amenities-options label:has(input:checked){background:#d9eee4;border:2px solid #14645c;padding:9px 11px}
body.routes-body .place-amenities p{font-size:12px;line-height:1.6;color:#4d6b64;margin:12px 0}
body.routes-body .map-filter-help summary{padding:4px 0;min-height:40px;font-weight:500;text-decoration:underline}
body.routes-body .map-filter-done{margin-top:16px;min-width:190px}
body.routes-body .place-nearby-tools{padding:12px 22px 14px;border:0;border-radius:0;background:#e2f0ec}
body.routes-body .place-nearby-controls{align-items:center;gap:10px}
body.routes-body .place-nearby-controls label{display:flex;gap:10px;align-items:center;font-size:12px;color:#365e56}
body.routes-body .place-nearby-controls select{margin:0;min-width:104px;min-height:46px;font-size:14px;border-color:#b6cec5}
body.routes-body #place-nearby{min-height:46px;padding:10px 16px;font-size:14px;background:#083c3e;color:#fff;border:0}
body.routes-body #place-nearby[aria-pressed=true]{background:#f7d75a!important;color:#123c3e!important;box-shadow:0 0 0 2px #0f6157}
body.routes-body #place-nearby-help{font-size:11px;margin-top:8px}
body.routes-body .rules-map-context{padding:10px 22px;background:#fff;font-size:12px}
body.routes-body .routes-results-bar{background:#fff;gap:8px 16px;padding:12px 22px;border-block:1px solid #d5e1df}
body.routes-body .routes-status{font-size:13px;color:#315950;font-weight:650;flex:1;min-width:0}
body.routes-body .map-filter-chips{display:flex;flex-wrap:wrap;gap:8px;padding:12px 22px;background:#f5faf8;border-bottom:1px solid #d5e1df}
body.routes-body .map-filter-chips button{display:flex;align-items:center;gap:14px;padding:7px 12px;min-height:44px;border:1px solid #a6c3b7;border-radius:24px;background:#e2f0ec;color:#123c3e;font-size:13px;font-weight:650;cursor:pointer}
body.routes-body .map-filter-chips button span{font-size:20px;line-height:1}
body.routes-body .routes-workspace{grid-template-columns:minmax(310px,390px) minmax(0,1fr)}
body.routes-body .routes-results{max-height:850px;padding:16px;gap:18px;background:#f2f7f4;scroll-padding:16px}
body.routes-body .routes-place-card{padding:0;border:1px solid #cdded6;border-radius:16px;overflow:clip;background:#fff;box-shadow:0 3px 12px #083c3e07;flex-shrink:0}
body.routes-body .routes-place-card.is-selected{border:2px solid #0a6158;background:#fff;box-shadow:0 0 0 3px #f7d75a70}
body.routes-body .place-card-photo{position:relative;margin:0;background:#dfece7}
body.routes-body .place-card-photo>button{display:block;width:100%;padding:0;border:0;background:#e2f0ec;cursor:zoom-in;position:relative}
body.routes-body .place-card-photo .routes-result-thumb{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;display:block;margin:0;border-radius:0}
body.routes-body .place-photo-badge{position:absolute;left:12px;bottom:12px;border-radius:7px;background:#073b3ded;color:#fff;font-size:11px;font-weight:700;line-height:1.4;padding:7px 10px}
body.routes-body .place-photo-expand{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fff;color:#123c3e;font-size:24px}
body.routes-body .place-card-no-photo{display:flex;align-items:center;gap:8px;padding:13px 18px;background:#edf5f1;color:#526f65;font-size:12px;border-bottom:1px solid #dbe7e1}
body.routes-body .place-card-no-photo span{font-size:21px}
body.routes-body .place-card-body{padding:18px}
body.routes-body .place-card-labels{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:8px}
body.routes-body .place-kind{display:inline-block;padding:4px 8px;border-radius:6px;background:#f9e897;color:#173f38;font-size:11px;font-weight:800;line-height:1.4}
body.routes-body .place-card-distance{font-size:11px;font-weight:750;color:#16584a}
body.routes-body .routes-place-card h2{font-size:22px;line-height:1.25;letter-spacing:-.6px;margin:8px 0}
body.routes-body .routes-place-card h2 button{display:block;width:100%;border:0;background:none;text-align:left;font:inherit;color:#123c3e;padding:0;cursor:pointer}
body.routes-body .routes-place-card h2 button:hover{text-decoration:underline;text-underline-offset:4px}
body.routes-body .place-card-location{margin:0 0 14px;font-size:13px;line-height:1.5;color:#547168}
body.routes-body .place-facilities{padding:0;margin:12px 0;display:flex;flex-wrap:wrap;gap:6px;list-style:none}
body.routes-body .place-facilities li{display:flex;align-items:center;gap:6px;min-height:30px;padding:5px 8px;border-radius:6px;background:#edf5f1;color:#245348;font-size:11px;line-height:1.4;margin:0}
body.routes-body .place-facilities svg{width:17px;height:17px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.routes-body .place-facilities-unknown{font-size:12px;line-height:1.5;margin:12px 0;color:#637a71}
body.routes-body .place-card-facts{font-size:12px;font-weight:700;margin:10px 0;color:#275c4d}
body.routes-body .place-card-details,body.routes-body .place-popup-details{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:46px;margin-top:14px;padding:10px 13px;border:1px solid #a8c5b9;border-radius:9px;background:#fff;color:#123c3e;font-size:13px;font-weight:800;cursor:pointer}
body.routes-body .place-card-details:hover{background:#e2f0ec}
body.routes-body .routes-place-card .travel-controls{display:flex;gap:8px;margin:12px 0 0}
body.routes-body .routes-place-card .travel-controls button{flex:1;min-height:46px;padding:9px 8px;border-radius:9px;font-size:12px;font-family:inherit;background:#fff;border:1px solid #c5d9cf;color:#123c3e}
body.routes-body .routes-place-card .travel-controls .travel-add{background:#083c3e;border-color:#083c3e;color:#fff}
body.routes-body .routes-place-card .travel-controls .travel-favorite[aria-pressed=true]{background:#f7d75a;border-color:#e3c54b}
body.routes-body .routes-cluster-help{background:#eaf3ee;font-size:11px;padding:10px 18px;color:#426b5f}
body.routes-body #routes-map{height:550px;background:#e2eee8}
body.routes-body .routes-dot{width:25px;height:25px;background:#0d5c51;border:4px solid #fff;box-shadow:0 2px 8px #083c3e60}
body.routes-body .routes-marker.is-selected .routes-dot{background:#f7d75a;border-color:#083c3e;width:30px;height:30px}
body.routes-body .map-cluster{background:#0b514a;border-color:#c4ded2}
body.routes-body .map-cluster span{font-family:Manrope,system-ui,sans-serif;font-weight:800}
body.routes-body .leaflet-control-zoom a{width:44px;height:44px;line-height:44px;color:#123c3e}
body.routes-body .place-popup-shell .leaflet-popup-content{margin:16px;max-width:calc(100vw - 78px);font:13px/1.5 Manrope,system-ui,sans-serif}
body.routes-body .place-popup-shell .leaflet-popup-content-wrapper{border-radius:16px;box-shadow:0 9px 32px #062e3140}
body.routes-body .place-popup-shell a.leaflet-popup-close-button{width:44px;height:44px;line-height:42px;right:4px;top:4px;background:#fff;border-radius:50%;z-index:2;font-size:23px;color:#123c3e}
body.routes-body .place-map-popup h3{font-size:19px;line-height:1.3;margin:9px 0}
body.routes-body .place-map-popup p{font-size:12px;line-height:1.5;margin:8px 0;color:#526e65}
body.routes-body .place-map-popup .map-place-photo{max-width:none;width:100%}
body.routes-body .place-map-popup .map-place-photo img{height:135px;object-fit:cover}
body.routes-body .place-map-popup .map-photo-count{display:none}
body.routes-body .place-map-popup .place-facilities{margin:10px 0}
body.routes-body .place-map-popup .place-facilities li{font-size:10px;padding:4px 6px}
body.routes-body .place-popup-details{background:#083c3e;color:#fff;border-color:#083c3e;margin-top:12px}
body.routes-body .place-map-popup .travel-controls{display:flex;gap:8px;margin-bottom:0}
body.routes-body .place-map-popup .travel-controls button{min-height:44px;font-size:12px;border-radius:9px;padding:8px}
body.routes-body .routes-detail-toolbar{padding:12px 22px;background:#e2f0ec;font-weight:750}
body.routes-body .routes-detail{padding:22px;scroll-margin-top:100px}
body.routes-body .routes-detail .detail-heading{padding-top:0;padding-bottom:10px}
body.routes-body .routes-detail .detail-heading h2{font-size:28px}
body.routes-body .place-detail-overview{margin-bottom:18px}
body.routes-body .place-detail-overview .travel-controls{display:flex;margin-top:14px;gap:10px}
body.routes-body .place-detail-overview .travel-controls button{min-height:46px;border-radius:9px}
body.routes-body .place-detail-overview .travel-add{background:#083c3e;color:#fff;border:1px solid #083c3e}
body.routes-body .routes-detail .detail-shortcuts{display:grid;grid-template-columns:1.4fr .8fr .8fr}
body.routes-body .routes-detail .detail-jump{font-size:12px!important;min-height:46px;padding:9px 8px!important}
body.routes-body .routes-detail .detail-card{border-radius:12px;padding:22px}
body.routes-body .routes-detail .detail-contact{background:#e2f0ec!important}
body.routes-body .routes-detail .detail-gallery{border-radius:12px}
@media(max-width:1050px){body.routes-body .routes-workspace{grid-template-columns:320px minmax(0,1fr)}body.routes-body .map-filter-grid{grid-template-columns:1fr 2fr}body.routes-body .place-amenities-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 body.routes-body .routes-wrap{padding:22px 12px 35px}
 body.routes-body .routes-hero{padding:0 6px 18px;margin-bottom:18px}
 body.routes-body .routes-hero .eyebrow{font-size:10px;letter-spacing:.1em}
 body.routes-body .routes-hero h1{font-size:30px;line-height:1.15;letter-spacing:-1px}
 body.routes-body .routes-hero p{font-size:14px;line-height:1.6}
 body.routes-body .routes-hero>.btn{min-height:44px;margin-top:14px;padding:9px 14px;font-size:12px;background:#fff!important;border:1px solid #aec8bb;color:#123c3e!important}
 body.routes-body .routes-explorer{border-radius:16px}
 body.routes-body .routes-toolbar{padding:12px;gap:12px 8px}
 body.routes-body .routes-toolbar .routes-search{flex:1;flex-basis:0;width:auto;font-size:12px}
 body.routes-body .routes-toolbar input{padding:11px;font-size:16px}
 body.routes-body .routes-tabs button{font-size:13px;min-height:44px}
 body.routes-body .map-filter-toggle{min-width:83px;padding:10px;gap:5px;font-size:12px}
 body.routes-body .map-filter-toggle>span:first-child{display:none}
 body.routes-body .map-filter-panel{padding:16px 13px}
 body.routes-body .map-filter-grid{grid-template-columns:1fr;gap:20px}
 body.routes-body .map-filter-heading h2{font-size:20px}
 body.routes-body .map-filter-done{width:100%;margin-top:10px}
 body.routes-body .place-nearby-tools{padding:12px}
 body.routes-body .place-nearby-controls{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px}
 body.routes-body .place-nearby-controls>label{display:flex;gap:6px;justify-content:flex-end;font-size:0}
 body.routes-body .place-nearby-controls select{font-size:14px!important;min-width:105px;width:100%}
 body.routes-body #place-nearby{font-size:12px;padding:10px 12px;min-height:46px}
 body.routes-body #place-nearby-clear{grid-column:1/-1;min-height:44px;text-align:left}
 body.routes-body #place-nearby-help{line-height:1.5;font-size:10px}
 body.routes-body .rules-map-context{padding:10px 13px;font-size:11px;line-height:1.5}
 body.routes-body .routes-results-bar{position:sticky;top:0;z-index:10;padding:10px 12px;box-shadow:0 3px 8px #083c3e09}
 body.routes-body .routes-status{font-size:12px}
 body.routes-body .routes-clear{padding:4px 0;font-size:11px}
 body.routes-body .routes-view-switch{padding-top:5px;gap:6px;background:#fff}
 body.routes-body .routes-view-switch button{min-height:46px;font-size:13px;font-family:inherit}
 body.routes-body .routes-view-switch button[aria-pressed=true]{background:#083c3e;border-color:#083c3e;color:#fff}
 body.routes-body .map-filter-chips{padding:10px 12px;gap:6px}
 body.routes-body .routes-workspace{display:block}
 body.routes-body .routes-results{padding:12px;max-height:none;gap:16px}
 body.routes-body .place-card-body{padding:16px}
 body.routes-body .routes-place-card h2{font-size:22px;line-height:1.28}
 body.routes-body .place-card-photo .routes-result-thumb{aspect-ratio:16/10;height:auto}
 body.routes-body .place-card-labels{gap:8px}
 body.routes-body .place-kind{font-size:10px}
 body.routes-body .place-facilities li{font-size:11px;padding:5px 7px}
 body.routes-body #routes-map{height:55dvh;min-height:330px;max-height:520px}
 body.routes-body .routes-detail-toolbar{padding:12px;gap:12px;scroll-margin-top:110px}
 body.routes-body .routes-detail-toolbar>span{font-size:11px;max-width:100px}
 body.routes-body .routes-detail-back{font-size:12px;min-height:46px;font-family:inherit}
 body.routes-body .routes-detail{padding:20px 14px}
 body.routes-body .routes-detail .detail-heading h2{font-size:26px}
 body.routes-body .routes-detail .detail-heading p{font-size:14px}
 body.routes-body .routes-detail .detail-card{padding:20px 16px}
 body.routes-body .routes-detail .detail-main-photo img{height:230px}
 body.routes-body .place-popup-shell .leaflet-popup-content{margin:12px;max-width:calc(100vw - 76px)}
 body.routes-body .place-detail-overview .travel-controls button{flex:1;font-size:13px;padding:9px}
}
@media(max-width:360px){body.routes-body .routes-wrap{padding-inline:8px}body.routes-body .place-amenities-options{grid-template-columns:repeat(2,minmax(0,1fr))}body.routes-body .place-amenities-options label>span{font-size:12px}body.routes-body .place-amenities-options label{gap:6px;padding:9px 6px}body.routes-body .place-card-body{padding:13px}body.routes-body .place-facilities li{font-size:10px}}

@media(max-width:700px){body.routes-body .routes-detail-panel,body.routes-body .routes-detail .detail-card{scroll-margin-top:140px}}
