/* Local pilot: summary stays visible beside the original network map. */
.wyv-route-pilot .holiday-explorer .body{height:740px;grid-template-columns:340px minmax(0,1fr)}
.wyv-route-pilot .holiday-explorer .panel{display:flex;flex-direction:column;overflow:hidden;padding:16px;gap:12px}
.wyv-route-pilot .chooser{flex:none}.wyv-route-pilot .chooser label{font-size:14px}.wyv-route-pilot .chips{margin:9px 0 0}
.wyv-route-pilot .information{display:contents}.wyv-route-pilot .summary{flex:none;margin:0}.wyv-route-pilot .summary-copy{padding:14px}
.wyv-route-pilot .summary h2{font-size:22px}.wyv-route-pilot .summary .stats{margin:10px 0;padding-top:8px;gap:22px}
.wyv-route-pilot .summary .stats strong{font-size:21px}.wyv-route-pilot .summary .route-cover{height:96px}
.wyv-route-pilot .pilot-guide{display:flex;align-items:center;justify-content:center;background:#3b5998;color:white;min-height:44px;border-radius:6px;font-size:14px;font-weight:bold;text-decoration:none;padding:9px 12px}
#pilot-route-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 3px 0 0}
#pilot-route-content h3{font-size:18px;line-height:1.35;margin:0 0 8px}#pilot-route-content p{font-size:13px;color:#46566d;line-height:1.65}
.pilot-reassurance{font-size:12px!important}.pilot-layers{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}.pilot-layers button{border:1px solid #cbd5e3;border-radius:18px;background:white;color:#304f88;padding:7px 10px;min-height:36px;font-size:12px}.pilot-layers button[aria-pressed=true]{background:#3b5998;color:white;border-color:#3b5998}
.pilot-stop-list{display:grid;gap:4px}.pilot-stop{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px;border:1px solid #d8e2ef;border-radius:6px;background:#fff;text-align:left;width:100%;font-size:13px}.pilot-stop>span:nth-child(2){flex:1}.pilot-stop small{display:block;color:#58697e;font-size:11px}.pilot-stop .canal-key-icon{width:25px;height:25px;flex:none}.pilot-stop:hover{background:#eef3f9}
.pilot-back{display:block;min-height:44px;text-align:left;background:none;border:0;color:#304f88;padding:8px 0;font-size:13px;font-weight:bold}.pilot-place img{width:100%;height:130px;object-fit:cover;border-radius:6px;margin:6px 0 15px}.pilot-place h3{margin-top:6px!important}.pilot-place a{display:inline-flex;align-items:center;min-height:44px;font-size:13px;font-weight:bold}
.pilot-browse{flex:none;font-size:13px;border-top:1px solid #d8e2ef;padding-top:6px}.pilot-browse>summary{min-height:36px;cursor:pointer;padding:8px 0;color:#304f88;font-weight:bold}.pilot-browse[open] #route-list{max-height:170px;overflow:auto}.pilot-focused #map [data-node]{opacity:0!important}.pilot-focused #map .svg-marker:not([data-pilot]){display:none!important}.pilot-focused #map .svg-marker[data-pilot]>circle{fill:transparent;stroke:none}.pilot-focused #map .svg-marker[data-pilot][aria-pressed=true]>circle{fill:#dce7f7;fill-opacity:.8}.pilot-focused #map .svg-marker[data-pilot]:focus-visible>circle{stroke:#a66c00;stroke-width:2}.pilot-focused .canal-key-icon{width:30px;height:30px;x:-15px;y:-15px;color:#292d30;filter:drop-shadow(0 0 2px white)}
.pilot-open{display:none}.pilot-drawer{padding:0;border:1px solid #ccd7e6;border-radius:16px 16px 0 0;color:#243348;background:white}.pilot-drawer::backdrop{background:#172a4366}.pilot-drawer header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #d8e2ef;gap:10px}.pilot-drawer header h2{font-size:18px;margin:0}.pilot-drawer-body{padding:16px}
@media(max-width:700px){
.wyv-route-pilot .holiday-explorer .body{display:flex;height:auto}.wyv-route-pilot .holiday-explorer .panel{display:contents}.wyv-route-pilot .chooser{order:0;padding:14px}.wyv-route-pilot .information{display:contents}.wyv-route-pilot .summary{order:1;margin:0 12px 12px}.wyv-route-pilot .summary .route-cover{display:none}.wyv-route-pilot .summary h2{font-size:20px}.wyv-route-pilot .summary-copy{padding:12px}.wyv-route-pilot .summary .stats{border:0;padding:0;margin:7px 0 10px}.wyv-route-pilot .summary .stats strong{font-size:18px}.wyv-route-pilot .summary .stats small{font-size:11px}.wyv-route-pilot .pilot-summary-actions{display:flex;gap:8px}.wyv-route-pilot .pilot-summary-actions>*{flex:1;min-width:0;font-size:12px}.pilot-open{display:block;min-height:44px;border:1px solid #3b5998;border-radius:6px;background:white;color:#304f88;font-weight:bold;padding:8px}.wyv-route-pilot .holiday-explorer .map{order:2;height:490px}.wyv-route-pilot .pilot-browse{display:none}.wyv-route-pilot .panel #pilot-route-content{display:none}.pilot-drawer{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:100%;max-height:84dvh;height:650px}.pilot-drawer[open]{display:flex;flex-direction:column}.pilot-drawer header{flex:none}#pilot-drawer-body{min-height:0;overflow:auto;padding:0 16px 16px;flex:1}#pilot-drawer-body #pilot-route-content{display:block;overflow:visible;padding-top:12px}.pilot-drawer .quiet{white-space:normal}.pilot-place img{height:170px}
}

.pilot-drawer .quiet{border:1px solid #cbd5e3;border-radius:6px;background:white;color:#304f88;padding:8px 12px;min-height:44px;font-size:13px;font-weight:bold;cursor:pointer}
.pilot-map-key{position:absolute;right:14px;bottom:14px;background:#fffef8f5;border:1px solid #d8e2ef;border-radius:8px;font-size:12px;z-index:3;max-width:165px}.pilot-map-key>summary{padding:10px 12px;cursor:pointer;min-height:40px;font-weight:bold}.pilot-map-key ul{list-style:none;padding:0 12px 8px;margin:0}.pilot-map-key li{display:flex;align-items:center;gap:8px;min-height:28px}.pilot-map-key .canal-key-icon{position:static;width:22px;height:22px}.wyv-route-pilot .pilot-focused #map [data-node]{visibility:hidden}
@media(max-width:700px){.pilot-map-key{bottom:44px;right:10px}}

/* Separate map symbols from the canal stroke without enlarging the icon. */
.pilot-focused #map .pilot-symbol-back{fill:#fffefb;fill-opacity:.98;stroke:#c3cfde;stroke-width:1;filter:drop-shadow(0 1px 2px #24334824)}
.pilot-focused #map [data-pilot][aria-pressed=true] .pilot-symbol-back{fill:#eaf1fb;stroke:#3b5998;stroke-width:2}
.pilot-focused #map [data-pilot]:hover .pilot-symbol-back{stroke:#3b5998;stroke-width:1.8}
.pilot-focused #map [data-pilot]:focus-visible .pilot-symbol-back{stroke:#a66c00;stroke-width:2.5}

/* Stoke Bruerne: quiet context and screen-sized linework, with unboxed labels. */
.pilot-route-detail #map > svg > image{opacity:.13}
.pilot-route-detail #map > svg > text,.pilot-route-detail #map > svg > path:not(.route-trace){opacity:.1}
.pilot-route-detail #map .route-trace{vector-effect:non-scaling-stroke;stroke-width:4px!important;opacity:1}
.pilot-route-detail #map .pilot-location{fill:#3b5998!important;stroke:#fffefb!important;stroke-width:1.5px}
.pilot-route-detail #map .pilot-connector{stroke:#6d8098;stroke-width:1.25px;pointer-events:none}
.pilot-route-detail #map .pilot-place-name{font:600 12px Arial,sans-serif;fill:#243348;stroke:#fffefb;stroke-width:3px;paint-order:stroke fill;stroke-linejoin:round}
.pilot-route-detail #map .pilot-unboxed-label{cursor:pointer}
.pilot-route-detail #map [data-pilot]:hover .pilot-place-name,.pilot-route-detail #map [aria-pressed=true] .pilot-place-name{fill:#254e9c;text-decoration:underline}
.pilot-route-detail #map [data-pilot]:focus-visible .pilot-place-name{stroke:#fff0c7;stroke-width:6px;text-decoration:underline}
.pilot-route-detail #map .pilot-label-hit{stroke:none}

.pilot-route-detail #map .svg-marker[data-pilot]>circle:first-child{pointer-events:none;fill:transparent!important;stroke:none!important}
.pilot-route-detail #map .pilot-location{pointer-events:all}
@media(max-width:700px){.pilot-route-detail #map .pilot-place-name{font-size:11px}.pilot-route-detail #map .pilot-unboxed-label .canal-marker-ink{transform:scale(.85)}}

@media(max-width:700px){.wyv-route-pilot .holiday-explorer.pilot-route-detail .map{height:610px}}

/* The selected guide opens below the main map, without moving the reader. */
.pilot-expanded-route{border:1px solid #ccd8e8;border-radius:10px;background:#fff;margin:18px 0;color:#27374d;overflow:hidden}
.pilot-expanded-route[hidden]{display:none!important}
.pilot-expanded-route>summary{padding:18px 22px;font-size:20px;font-weight:700;cursor:pointer;background:#edf3fa}
.pilot-expanded-content{padding:24px;margin:0!important;font-size:16px;line-height:1.6}
.pilot-expanded-content a{color:#345487;text-decoration:underline}
.pilot-expanded-content .wyv-journey-story{grid-template-columns:minmax(0,1fr) minmax(230px,300px)}
.pilot-expanded-content h2{font-size:23px}.pilot-expanded-content h3{font-size:18px}
.pilot-expanded-content .wyv-route-primary{color:white;text-decoration:none}
@media(max-width:700px){.pilot-expanded-route>summary{font-size:18px;padding:15px}.pilot-expanded-content{padding:16px}.pilot-expanded-content .wyv-journey-story{grid-template-columns:minmax(0,1fr)}}

.wyv-route-pilot .pilot-all-routes{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;border:1px solid #3b5998;border-radius:6px;background:#3b5998;color:#fff;font-weight:700;font-size:15px;padding:10px 14px;margin:0 0 16px;cursor:pointer}
.wyv-route-pilot .pilot-all-routes[hidden]{display:none!important}
.wyv-route-pilot .pilot-all-routes:hover{background:#2d477d}
.wyv-route-pilot .pilot-all-routes:focus-visible{outline:3px solid #b17b22;outline-offset:3px}

.wyv-route-pilot .pilot-read-below{display:block;width:100%;min-height:40px;padding:10px 0 0;border:0;background:none;color:#345487;text-decoration:underline;font:600 13px Arial,sans-serif;cursor:pointer;text-align:center}
.pilot-expanded-route{scroll-margin-top:90px}

.pilot-map-key li[hidden]{display:none}

.pilot-pub-facts{border-top:1px solid #d8e2ef;margin-top:12px;padding-top:8px}.pilot-pub-facts strong{color:#243348}.pilot-pub-actions{display:flex;flex-wrap:wrap;gap:6px 14px}.pilot-pub-actions a{min-height:44px}.pilot-time-note{font-size:11px!important;line-height:1.6!important}

@media(min-width:701px){.wyv-route-pilot .holiday-explorer.pilot-focused .body{height:840px}.wyv-route-pilot .pilot-focused #duration{display:none}.wyv-route-pilot .pilot-focused .pilot-browse[open] #route-list{max-height:110px}}
