.movac-route-overlay{position:absolute;z-index:1100;top:12px;left:12px;width:min(380px,calc(100% - 24px));height:min(680px,calc(100% - 24px));min-height:240px;display:flex;flex-direction:column;border:1px solid #839b9c;border-radius:18px;overflow:hidden;background:#202c30;color:#f7faf7;box-shadow:0 8px 30px #15272b55}
.movac-route-overlay[hidden]{display:none!important}
.movac-route-overlay>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 8px 4px 16px;flex:0 0 48px;font:600 17px/1.3 "Source Sans 3",Arial}
.movac-route-overlay>header button{background:transparent;color:#76c6c9;border:0;border-radius:10px;min-width:44px;min-height:44px;font-size:26px;cursor:pointer}
.movac-route-overlay iframe{border:0;flex:1;width:100%;min-height:0;background:#202c30}
.movac-route-overlay-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:16px 0 0;padding-top:12px;border-top:1px solid #b7c7c9}
.movac-route-overlay-actions button{box-sizing:border-box;min-width:0;min-height:44px;padding:5px 6px;background:#edf4f3;color:#266b78;border:1px solid #7c9399;border-radius:8px;font:600 13px/1.2 "Source Sans 3",Arial,sans-serif;overflow-wrap:break-word;cursor:pointer}
.movac-route-overlay-actions button:hover{background:#dceced}
.movac-route-overlay button:focus-visible,.movac-route-overlay-actions button:focus-visible{outline:3px solid #76c6c9;outline-offset:2px}
.movac-route-overlay-point>span{display:grid;place-items:center;width:32px;height:32px;border:3px solid #f7faf7;border-radius:50%;background:#266b78;color:#fff;font:700 15px Arial;box-shadow:0 1px 5px #14202488}
@media(max-width:679px){.movac-route-overlay{top:auto;bottom:8px;left:8px;width:calc(100% - 16px);height:min(65dvh,600px);max-height:calc(100% - 16px)}}

/* Compact entry; shared map controls remain untouched. */
.movac-route-overlay.is-collapsed{height:60px!important;min-height:60px!important}
.movac-route-overlay>header{gap:8px;padding:4px 8px;flex:0 0 50px;font-weight:400}
.movac-route-overlay>header>span{flex:1;text-align:center;font-size:18px}
.movac-route-overlay iframe[hidden]{display:none!important}
.movac-route-overlay .movac-route-toggle{border:2px solid #76c6c9;display:grid;place-items:center}
.movac-route-overlay .movac-route-toggle svg{width:24px;height:24px;transition:transform .15s}
.movac-route-overlay:not(.is-collapsed) .movac-route-toggle svg{transform:rotate(180deg)}
.movac-route-overlay .movac-route-drag{display:grid;place-items:center;cursor:grab;touch-action:none;user-select:none;color:#bacacc}
.movac-route-overlay .movac-route-drag:active{cursor:grabbing}
.movac-route-overlay .movac-route-drag svg,body.mv-discover-ready.mv-a1-map #mv-country-filter .mv-discover-drag-handle.movac-four-arrows svg{width:24px!important;height:24px!important;fill:none!important}
@media(max-width:679px){.movac-route-overlay{top:8px;bottom:auto}}
@media(prefers-reduced-motion:reduce){.movac-route-overlay .movac-route-toggle svg{transition:none}}

/* Same compact bar and chevron as the existing Discover control. */
.movac-route-overlay{width:min(390px,calc(100% - 24px));border-color:#7c9399;border-radius:16px;background:#202c31;color:#f4f7f7}
.movac-route-overlay.is-collapsed{height:54px!important;min-height:54px!important}
.movac-route-overlay>header{box-sizing:border-box;gap:4px;padding:4px 8px 4px 12px;flex:0 0 52px;min-height:52px}
.movac-route-overlay>header>span{font:400 18px/1.2 "Source Sans 3",Arial,sans-serif;min-width:0}
.movac-route-overlay>header button{box-sizing:border-box;border-radius:8px;flex-shrink:0}
.movac-route-overlay .movac-route-toggle{position:relative;width:44px;height:44px;min-width:44px;padding:0;border:0;color:#f4f7f7;background:transparent}
.movac-route-overlay .movac-route-toggle svg{display:none}
.movac-route-overlay .movac-route-toggle::after{content:"";position:absolute;width:12px;height:12px;left:16px;top:17px;border-top:2px solid currentColor;border-left:2px solid currentColor;transform:rotate(45deg)}
.movac-route-overlay.is-collapsed .movac-route-toggle::after{top:13px;transform:rotate(225deg)}
.movac-route-overlay .movac-route-drag{width:44px;height:44px;padding:0;color:#b7c5c9}
.movac-route-overlay .movac-route-dismiss{width:auto;min-width:64px;min-height:44px;padding:0 4px;border:0;color:#f4f7f7;font:400 14px/1.2 "Source Sans 3",Arial,sans-serif;white-space:nowrap}
@media(max-width:679px){.movac-route-overlay{width:calc(100% - 16px)}}
@media(max-width:359px){.movac-route-overlay>header{padding-left:6px;padding-right:6px}.movac-route-overlay>header>span{font-size:16px}.movac-route-overlay .movac-route-drag{width:36px;min-width:36px}}

/* Search-result thumbnails remain available; route-point photos are removed. */
.movac-point-thumb:focus-visible{outline:3px solid #79c7c9;outline-offset:2px}
.place-search>.movac-point-thumb{grid-column:1/-1;grid-row:2;align-self:center;justify-self:start;z-index:2;box-sizing:border-box;width:48px;height:44px;min-height:44px;margin:2px 0 2px 4px;padding:4px;border:0;border-radius:7px;background:#202c30;cursor:pointer}
.place-search>.movac-point-thumb img{width:40px;height:36px;object-fit:cover;border-radius:5px;display:block}
.place-search.has-point-photo>input{padding-left:58px}
.movac-route-photo-popup .leaflet-popup-content-wrapper{background:#202c30;color:#f4f7f6;padding:0;border-radius:10px}
.movac-route-photo-popup .leaflet-popup-content{margin:0;max-width:240px}
.movac-route-photo-popup .leaflet-popup-tip{background:#202c30}
.movac-route-photo-popup a.leaflet-popup-close-button{color:#f4f7f6;width:32px;height:32px;font-size:22px}

/* Acceptance mobile map space, 20261026. */
@media(max-width:679px){
 .movac-route-overlay:not(.is-collapsed){height:min(40dvh,340px);min-height:180px!important}
 .movac-route-overlay>header{flex-basis:46px;min-height:46px;padding:0 4px;gap:2px}
 .movac-route-overlay>header>span{font-size:16px}
 .movac-route-overlay .movac-route-drag{width:44px;min-width:44px}
 .movac-route-overlay.is-collapsed{height:48px!important;min-height:48px!important}
}

/* Acceptance compact country and location filters, 20261026. */
body.movac-compact-filters .mv-a1-combined-panel{position:absolute!important;left:auto!important;right:8px!important;bottom:28px!important;top:auto!important;width:min(370px,calc(100% - 16px))!important;max-height:65dvh!important;z-index:1150!important}
body.movac-compact-filters .mv-a1-combined-panel #mv-country-filter{position:static!important;width:100%!important;max-height:65dvh!important;margin:0!important;transform:none!important}
body.movac-compact-filters .mv-a1-combined-panel.is-collapsed{width:auto!important}
body.movac-compact-filters .mv-a1-panel-head{min-height:44px!important;padding:0 8px!important;gap:8px!important}
body.movac-compact-filters .mv-discover-drag-handle,body.movac-compact-filters .mv-a1-panel-head .mv-map-help,body.movac-compact-filters .mv-a1-panel-help{display:none!important}
body.movac-compact-filters .mv-a1-combined-panel.is-collapsed .mv-a1-panel-head>div:first-of-type{display:none!important}
body.movac-compact-filters .mv-a1-panel-eyebrow{font-size:15px!important}
body.movac-compact-filters .mv-a1-panel-toggle{width:auto!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0 8px!important;border:0!important;border-radius:8px!important;display:flex!important;gap:8px!important}
body.movac-compact-filters .mv-a1-panel-toggle>span{display:inline!important;font-size:14px!important;position:static!important;width:auto!important;height:auto!important;clip:auto!important}
body.movac-compact-filters .mv-a1-panel-toggle>b{display:none!important}
body.movac-compact-filters #mv-a1-panel-body{max-height:calc(65dvh - 48px)!important;overflow-y:auto!important;overscroll-behavior:contain}
body.movac-compact-filters .movac-filter-done{display:block;width:100%;min-height:44px;margin-top:8px;padding:8px;border:1px solid #79c7c9;border-radius:8px;background:#243b40;color:#fff;font:inherit}
body.movac-compact-filters .mv-a1-panel-body:has(.mv-discover-country-view:not([hidden]))>.movac-filter-done{display:none}

/* Acceptance map: reserve the screen for the map, not the site footer. */
body.movac-compact-filters.mv-map-page .mv-a1-footer{display:none!important}
body.movac-compact-filters.mv-map-page{--mv-information-bar-height:0px;--mv-map-available-height:calc(100dvh - var(--mv-primary-menu-top,64px) - 20px)}

/* Override the existing movable discover-card layout only for this compact variant. */
body.mv-discover-ready.mv-a1-map.movac-compact-filters .mv-a1-combined-panel{left:auto!important;right:8px!important;bottom:28px!important;top:auto!important;width:min(370px,calc(100% - 16px))!important;max-height:65dvh!important;pointer-events:auto}
body.mv-discover-ready.mv-a1-map.movac-compact-filters .mv-a1-combined-panel.is-collapsed{width:190px!important}
body.mv-discover-ready.mv-a1-map.movac-compact-filters #mv-country-filter .mv-discover-drag-handle,body.mv-discover-ready.mv-a1-map.movac-compact-filters #mv-country-filter .mv-map-help,body.mv-discover-ready.mv-a1-map.movac-compact-filters #mv-country-filter .mv-a1-panel-help{display:none!important}
body.mv-discover-ready.mv-a1-map.movac-compact-filters #mv-country-filter .mv-a1-panel-head{display:flex!important;min-height:44px!important;padding:0 8px!important;gap:4px!important}
body.mv-discover-ready.mv-a1-map.movac-compact-filters #mv-country-filter .mv-a1-panel-actions{margin-left:auto!important}
body.mv-discover-ready.mv-a1-map.movac-compact-filters #mv-country-filter .mv-a1-panel-toggle{width:auto!important;min-height:44px!important;height:44px!important;padding:0 8px!important;border:0!important;display:flex!important}
body.mv-discover-ready.mv-a1-map.movac-compact-filters #mv-country-filter .mv-a1-panel-toggle:before,body.mv-discover-ready.mv-a1-map.movac-compact-filters #mv-country-filter .mv-a1-panel-toggle:after{display:none!important}
body.mv-discover-ready.mv-a1-map.movac-compact-filters #mv-country-filter .mv-a1-panel-toggle>span{display:inline!important;position:static!important;clip:auto!important;width:auto!important;height:auto!important;font-size:14px!important;color:#f4f7f7!important}
body.mv-discover-ready.mv-a1-map.movac-compact-filters #mv-country-filter .mv-a1-panel-toggle>b{display:none!important}

/* Review: replace the collapsed black bar with one small filter control. */
body.movac-compact-filters .mv-a1-combined-panel.is-collapsed:has(#mv-country-filter){inset:80px 8px auto auto!important;width:44px!important;height:44px!important;max-height:44px!important;border-radius:6px!important}
body.movac-compact-filters .mv-a1-combined-panel.is-collapsed #mv-country-filter{width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border-radius:6px!important;background:#fff!important;border:1px solid #769398!important;box-shadow:none!important}
body.movac-compact-filters .mv-a1-combined-panel.is-collapsed #mv-country-filter .mv-a1-panel-head{width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border:0!important;border-radius:6px!important;background:#fff!important}
body.movac-compact-filters .mv-a1-combined-panel.is-collapsed #mv-country-filter .mv-a1-panel-actions{width:42px!important;margin:0!important;gap:0!important}
body.movac-compact-filters .mv-a1-combined-panel.is-collapsed #mv-country-filter .mv-a1-panel-toggle{width:42px!important;min-width:42px!important;height:42px!important;padding:0!important;justify-content:center!important;background:#fff!important}
body.movac-compact-filters .mv-a1-combined-panel.is-collapsed #mv-country-filter .mv-a1-panel-toggle>span{display:none!important}
body.movac-compact-filters .mv-a1-combined-panel.is-collapsed #mv-country-filter .mv-a1-panel-toggle:after{content:"☷"!important;display:block!important;position:static!important;transform:none!important;border:0!important;width:auto!important;height:auto!important;color:#235d66!important;font:28px/1 Arial!important}

/* Integrated planner filter entry replaces the separate collapsed map control. */
body.movac-compact-filters .mv-a1-combined-panel.is-collapsed:has(#mv-country-filter){display:none!important}
.movac-route-overlay>header>.movac-route-filters{flex:0 0 auto;width:auto;min-width:46px;min-height:40px;padding:4px 6px;border:0;border-radius:6px;background:transparent;color:#79c7c9;font:600 13px/1.2 Arial,sans-serif}
.movac-route-overlay>header>.movac-route-filters:focus-visible{outline:2px solid #79c7c9;outline-offset:-2px}
@media(max-width:679px){.movac-route-overlay>header>span{font-size:14px}.movac-route-overlay .movac-route-drag{width:36px;min-width:36px}.movac-route-overlay .movac-route-dismiss{min-width:56px;font-size:12px}.movac-route-overlay .movac-route-toggle{width:40px;min-width:40px}}

/* Mobile map uses pinch zoom; desktop retains its zoom controls. */
@media(max-width:679px){body.mv-a1-map:has(.movac-route-overlay:not([hidden])) .leaflet-control-zoom{display:none!important}}

/* Acceptance: independent compact map-filter dialog. */
body.movac-new-filters .mv-a1-combined-panel{display:none!important}
dialog.movac-map-filters{box-sizing:border-box;width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #698087;border-radius:18px;background:#202c31;color:#f4f7f7;box-shadow:0 12px 44px #0005;font:14px/1.4 Arial,sans-serif;overflow:hidden}
dialog.movac-map-filters::backdrop{background:#10202966}
.movac-map-filters *{box-sizing:border-box}
.movac-map-filters .mf-head{display:flex;align-items:center;justify-content:space-between;padding:16px 16px 10px;gap:8px}
.movac-map-filters h2{margin:0;font:600 18px/1.3 Arial,sans-serif;color:inherit}
.movac-map-filters button{font:inherit;cursor:pointer;box-shadow:none;text-transform:none;letter-spacing:normal}
.movac-map-filters .mf-close{width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:8px;background:transparent;color:#d3dfe0;font-size:25px}
.movac-map-filters .mf-body{max-height:calc(100dvh - 190px);overflow:auto;padding:0 16px 16px;overscroll-behavior:contain}
.movac-map-filters details{margin:4px 0 18px;border:1px solid #587076;border-radius:10px;background:#18252b;padding:0}
.movac-map-filters summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;min-height:46px;padding:10px 12px;color:#c4d0d1}
.movac-map-filters summary::-webkit-details-marker{display:none}
.movac-map-filters summary strong{margin-left:auto;color:#f4f7f7;font-weight:500;max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.movac-map-filters summary:after{content:'⌄';color:#7bced0}
.movac-map-filters details[open] summary:after{content:'⌃'}
.movac-map-filters input[type=search]{display:block;width:calc(100% - 20px);height:38px;min-height:38px;margin:0 10px 8px;padding:6px 10px;font:16px Arial,sans-serif;border:1px solid #637c82;border-radius:7px;background:#26383e;color:#fff}
.movac-map-filters .mf-countries{max-height:168px;overflow:auto;padding:0 10px 10px}
.movac-map-filters .mf-country{display:flex;align-items:center;gap:9px;min-height:36px;padding:5px 2px;font-size:14px;color:#ecf2f2}
.movac-map-filters .mf-country[hidden]{display:none}
.movac-map-filters input[type=checkbox]{appearance:auto;accent-color:#78c7ca;width:17px;height:17px;margin:0;flex:none}
.movac-map-filters .mf-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-weight:600}
.movac-map-filters .mf-all{border:0;background:none;color:#80cccf;padding:5px;font-size:12px}
.movac-map-filters .mf-types{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.movac-map-filters .mf-type{display:flex;align-items:center;gap:7px;min-height:44px;padding:7px 9px;text-align:left;border:1px solid #526970;border-radius:9px;background:#1b282d;color:#c1cdcf;font-size:13px}
.movac-map-filters .mf-type[aria-pressed=true]{border-color:#79c7ca;background:#2b444a;color:#fff}
.movac-map-filters .mf-type svg{width:18px;height:24px;flex:none;opacity:.6}
.movac-map-filters .mf-type[aria-pressed=true] svg{opacity:1}
.movac-map-filters .mf-type:after{content:'+';margin-left:auto;color:#91a7ac}
.movac-map-filters .mf-type[aria-pressed=true]:after{content:'✓';color:#90dcda}
.movac-map-filters .mf-foot{padding:12px 16px;border-top:1px solid #41575d}
.movac-map-filters .mf-apply{width:100%;min-height:44px;border:0;border-radius:9px;background:#7bc8cb;color:#15343c;font-weight:600;padding:10px 12px}
.movac-map-filters :focus-visible{outline:2px solid #9bdfdf;outline-offset:2px}
.movac-map-filters .mf-empty{margin:8px 0;color:#b8c8cb;font-size:13px}
@media(max-width:679px){dialog.movac-map-filters{width:calc(100vw - 16px);max-width:none;margin:auto 8px 8px;max-height:calc(100dvh - 24px);border-radius:16px}.movac-map-filters .mf-body{max-height:calc(100dvh - 180px)}}

dialog.movac-map-filters h2{font:600 17px/1.3 Arial,sans-serif!important;letter-spacing:normal!important}

/* Compact category choices, with a clear touch target. */
.movac-map-filters .mf-label>span{display:none}
.movac-map-filters .mf-label{justify-content:flex-end;margin:-10px 0 4px}
.movac-map-filters .mf-types{gap:5px}
.movac-map-filters .mf-type{min-height:36px;padding:5px 7px;gap:5px;font-size:12px;border-radius:7px}
.movac-map-filters .mf-type svg{width:15px;height:20px}
.movac-map-filters details{margin-bottom:12px}

/* Match the Live map show-all control in the final category slot. */
.movac-map-filters .mf-label{display:none}
.movac-map-filters .mf-types>.mf-all{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:36px;padding:2px 0;border:0;border-radius:8px;background:transparent;color:#79c9cb;font-size:11px;font-weight:400;line-height:13px}
.movac-map-filters .mf-all-icon{display:block;position:relative;width:20px;height:18px;overflow:hidden}
.movac-map-filters .mf-all-icon:before{content:"";display:block;position:absolute;left:1px;top:0;width:18px;height:18px;border:1px solid #79c9cb;border-radius:50%;box-sizing:border-box}
.movac-map-filters .mf-all-icon:after{content:"";display:block;position:absolute;left:7px;top:1px;width:6px;height:6px;border:1px solid #79c9cb;border-radius:50%;box-sizing:border-box}

/* Fine, compact country selection; retain readable mobile input text. */
.movac-map-filters details{border-color:#496067;border-radius:7px;margin:2px 0 10px}
.movac-map-filters summary{min-height:36px;padding:7px 9px;gap:8px;font-size:12px;line-height:20px}
.movac-map-filters summary strong{font-size:12px;font-weight:400}
.movac-map-filters input[type=search]{height:34px;min-height:34px;width:calc(100% - 16px);margin:0 8px 5px;padding:4px 8px;border-radius:5px;border-color:#496067;font-size:16px}
.movac-map-filters .mf-countries{max-height:144px;padding:0 8px 6px}
.movac-map-filters .mf-country{min-height:30px;padding:4px 2px;gap:7px;font-size:12px;line-height:20px}
.movac-map-filters .mf-country input[type=checkbox]{width:14px;height:14px}

/* Remove repeated visible title; keep the accessible dialog name. */
.movac-map-filters .mf-head{position:absolute;right:10px;top:10px;padding:0;width:36px;height:36px;z-index:1}
.movac-map-filters .mf-head h2{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.movac-map-filters .mf-body{padding-top:10px}
.movac-map-filters details{margin-right:40px}

/* Compact apply action. */
.movac-map-filters .mf-foot{display:flex;justify-content:flex-end;padding:8px 16px}
.movac-map-filters .mf-apply{width:auto;min-height:34px;padding:6px 14px;border-radius:7px;font-size:12px;line-height:20px}

/* Room for both mobile address fields, with map still visible. */
@media(max-width:679px){.movac-route-overlay:not(.is-collapsed){height:min(48dvh,360px)}}

/* Compact route actions before the duplicated route facts in location popups. */
body.mv-a1-map .mv-route-location-popup .mv-route-popup-content{display:flex;flex-direction:column;min-width:0}
body.mv-a1-map .mv-route-location-popup .mv-route-popup-content>.mv-route-popup-kicker{order:0}
body.mv-a1-map .mv-route-location-popup .mv-route-popup-content>h3{order:1}
body.mv-a1-map .mv-route-location-popup .mv-route-popup-content>.mv-route-popup-address{order:2}
body.mv-a1-map .mv-route-location-popup .mv-route-popup-content>.mv-route-popup-description{order:3}
body.mv-a1-map .mv-route-location-popup .mv-route-popup-actions{display:contents}
body.mv-a1-map .mv-route-location-popup .mv-route-popup-actions .mv-pilot-action-wrap{order:4;width:100%;grid-column:auto;grid-template-columns:minmax(0,1fr) 36px;gap:4px;margin:0}
body.mv-a1-map .mv-route-location-popup .mv-route-popup-actions .mv-pilot-action-help{width:36px;min-width:36px;height:44px;min-height:44px;background-size:20px 20px}
body.mv-a1-map .mv-route-location-popup .mv-route-popup-content>.movac-route-overlay-actions{order:5;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:7px 0 10px;padding:0;border:0}
body.mv-a1-map .mv-route-location-popup .movac-route-overlay-actions button{box-sizing:border-box;min-width:0;min-height:44px;padding:5px 4px;border:1px solid #9bbfc0;border-radius:9px;background:#edf7f6;color:#246874;box-shadow:none;font:600 12px/1.15 "Source Sans 3",Arial,sans-serif;overflow-wrap:anywhere;cursor:pointer}
body.mv-a1-map .mv-route-location-popup .movac-route-overlay-actions button:hover{background:#dcefee;border-color:#76c6c9}
body.mv-a1-map .mv-route-location-popup .movac-route-overlay-actions button:active{background:#d0e8e7}
body.mv-a1-map .mv-route-location-popup .movac-route-overlay-actions button:focus-visible{outline:3px solid #0b6570;outline-offset:2px}
body.mv-a1-map .mv-route-location-popup .mv-route-popup-content>.mv-route-popup-facts,
body.mv-a1-map .mv-route-location-popup .mv-route-popup-content>.mv-route-popup-nature-notice{order:6}
body.mv-a1-map .mv-route-location-popup .mv-route-popup-content>.mv-pilot-status{order:7}
body.mv-a1-map .mv-route-location-popup .mv-route-popup-content>.mv-route-popup-features{order:8}
body.mv-a1-map .mv-route-location-popup .mv-route-popup-content>.mv-experiences{order:9}
body.mv-a1-map .mv-route-location-popup .mv-route-popup-actions>a{order:10;max-width:100%;overflow-wrap:anywhere}
body.mv-a1-map .mv-route-location-popup .mv-pilot-profile,
body.mv-a1-map .mv-route-location-popup .mv-route-popup-proposal{display:none!important}
@media(prefers-reduced-motion:reduce){body.mv-a1-map .mv-route-location-popup .movac-route-overlay-actions button{transition:none}}

/* Compact mobile route markers, centered on the existing route coordinate. */
@media(max-width:679px){
 body.mv-a1-map .movac-route-overlay-point{width:44px!important;height:44px!important;margin-left:-22px!important;margin-top:-22px!important;display:grid;place-items:center}
 body.mv-a1-map .movac-route-overlay-point>span{width:28px!important;height:28px!important;border-width:2px!important;border-radius:7px!important;font:700 12px/1 Arial,sans-serif!important}
}

/* Country transition: compact badge, generous transparent tap area. */
.movac-border-marker{display:grid!important;place-items:center;background:transparent!important;border:0!important}
.movac-border-badge{display:inline-flex;align-items:center;white-space:nowrap;padding:3px 6px;border:1px solid #769295;border-radius:7px;background:#f6faf9;color:#203237;font:600 14px/1.15 Arial,sans-serif;box-shadow:0 1px 4px #14202444}
.movac-border-marker:focus-visible{outline:2px solid #267e89;outline-offset:0;border-radius:7px}
body.mv-a1-map .leaflet-container .leaflet-popup.movac-border-popup .leaflet-popup-content-wrapper{border-radius:9px!important;padding:1px!important}
body.mv-a1-map .leaflet-container .leaflet-popup.movac-border-popup .leaflet-popup-content{margin:10px 30px 10px 12px!important;font:500 14px/1.3 Arial,sans-serif!important;min-width:0!important;width:max-content!important;max-width:calc(100vw - 100px)!important}
body.mv-a1-map .leaflet-container .leaflet-popup.movac-border-popup .leaflet-popup-close-button{width:24px!important;height:24px!important;top:3px!important;right:3px!important;border:0!important;box-shadow:none!important;border-radius:4px!important;font:20px/24px Arial,sans-serif!important;background:transparent!important}

/* Compact members-only planner entry, isolated from map and planner controls. */
dialog.movac-planner-entry{box-sizing:border-box;width:min(360px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:16px;margin:auto;border:1px solid #789396;border-radius:16px;background:#202c30;color:#f7faf7;box-shadow:0 8px 32px #15272b55;font:400 16px/1.45 "Source Sans 3",Arial,sans-serif}
dialog.movac-planner-entry::backdrop{background:#14232780}
.movac-planner-entry .movac-planner-entry-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.movac-planner-entry .movac-planner-entry-head h2{margin:0;font:600 20px/1.25 "Source Sans 3",Arial,sans-serif!important;color:inherit}
.movac-planner-entry .movac-planner-entry-head button{flex:0 0 44px;min-height:44px;margin:-8px -8px -8px 0;padding:0;border:0;background:transparent;color:#c2d5d6;font:400 28px/1 Arial;cursor:pointer;border-radius:8px}
.movac-planner-entry p{margin:12px 0 16px;color:inherit;font:inherit}
.movac-planner-entry .movac-planner-entry-actions{display:flex;flex-wrap:wrap;gap:8px}
.movac-planner-entry .movac-planner-entry-actions a{flex:1 1 120px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid #76c6c9;border-radius:8px;background:transparent;color:#b7e7e8;text-decoration:none;font:600 15px/1.25 "Source Sans 3",Arial,sans-serif;text-align:center;overflow-wrap:anywhere}
.movac-planner-entry .movac-planner-entry-actions a:first-child{background:#76c6c9;color:#14282d}
.movac-planner-entry :is(a,button):focus-visible{outline:2px solid #76c6c9;outline-offset:1px}

/* Compact map header on phones: preserve all existing controls. */
@media(max-width:679px){
 body.mv-a1-franklin.mv-a1-map .mv-site-header .mv-start-brand{display:grid!important;grid-template-columns:32px minmax(0,1fr) 66px minmax(44px,max-content) 72px!important;grid-template-rows:minmax(44px,auto)!important;gap:4px!important;padding:4px 8px!important;min-height:0!important;align-items:center!important;box-sizing:border-box!important}
 body.mv-a1-franklin.mv-a1-map .mv-site-header .mv-start-brand>a:first-child{grid-column:1!important;grid-row:1!important}
 body.mv-a1-franklin.mv-a1-map .mv-site-header .mv-start-brand>a:first-child>img{width:32px!important;height:32px!important;max-width:32px!important}
 body.mv-a1-franklin.mv-a1-map .mv-site-header .mv-start-title{grid-column:2!important;grid-row:1!important;min-width:0!important}
 body.mv-a1-franklin.mv-a1-map .mv-site-header .mv-start-title .mv-site-name{font-size:15px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 body.mv-a1-franklin.mv-a1-map .mv-site-header .mv-mobile-menu-toggle{grid-column:3!important;grid-row:1!important;width:66px!important;min-width:66px!important;min-height:44px!important;padding:4px!important;font-size:12px!important}
 body.mv-a1-franklin.mv-a1-map .mv-site-header .mv-header-members{grid-column:4!important;grid-row:1!important;min-width:44px!important;max-width:72px!important;min-height:44px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.mv-a1-franklin.mv-a1-map .mv-site-header .mv-language{grid-column:5!important;grid-row:1!important;width:72px!important;min-width:72px!important;max-width:72px!important}
}

/* Smaller visible controls with a 44px touch target on the mobile map. */
@media(max-width:679px){
 body.mv-a1-franklin.mv-a1-map .mv-site-header.mv-mobile-menu-ready .mv-start-brand{grid-template-columns:32px minmax(0,1fr) 66px minmax(44px,64px) 72px!important;gap:6px!important}
 body.mv-a1-franklin.mv-a1-map .mv-site-header.mv-mobile-menu-ready .mv-start-brand>.mv-language,body.mv-a1-franklin.mv-a1-map .mv-site-header.mv-mobile-menu-ready .mv-start-brand>.mv-language .mv-a-language,body.mv-a1-franklin.mv-a1-map .mv-site-header.mv-mobile-menu-ready .mv-start-brand>.mv-language .mv-a-language-menu,body.mv-a1-franklin.mv-a1-map .mv-site-header.mv-mobile-menu-ready .mv-start-brand>.mv-language .mv-a-language-menu>summary{box-sizing:border-box!important;width:72px!important;min-width:72px!important;max-width:72px!important}
 body.mv-a1-franklin.mv-a1-map .mv-site-header.mv-mobile-menu-ready .mv-start-brand>.mv-header-members{box-sizing:border-box!important;width:100%!important;max-width:64px!important}
 body.mv-a1-franklin.mv-a1-map .mv-site-header.mv-mobile-menu-ready .mv-start-brand>.mv-mobile-menu-toggle,body.mv-a1-franklin.mv-a1-map .mv-site-header.mv-mobile-menu-ready .mv-start-brand>.mv-header-members,body.mv-a1-franklin.mv-a1-map .mv-site-header.mv-mobile-menu-ready .mv-start-brand>.mv-language .mv-a-language-menu>summary{box-sizing:border-box!important;min-height:44px!important;height:44px!important;border:4px solid transparent!important;background-clip:padding-box!important;box-shadow:inset 0 0 0 1px #8ca4a4!important;border-radius:12px!important}
}

/* The mobile map uses the existing main menu for information. */
@media(max-width:679px){
 body.mv-a1-franklin.mv-a1-map .mv-a1-footer{display:none!important}
 body.mv-a1-franklin.mv-a1-map .mv-site-header .mv-start-title>p,body.mv-a1-franklin.mv-a1-map .mv-site-header .mv-start-title[data-mv-tagline]::after{display:none!important;content:none!important}
}

/* Mobile map ends with the page; planner and filter panels retain their own scrolling. */
@media(max-width:679px){
 body.mv-a1-franklin.mv-a1-map{--mv-map-available-height:max(160px,calc(100dvh - var(--mv-shell-header-bottom,58px) - 22px))}
 body.mv-a1-franklin.mv-a1-map .wp-site-blocks>main{padding-bottom:0!important}
}

/* Give route-point search the visible area above the mobile keyboard. */
@media(max-width:679px){
 html.mv-search-keyboard .mv-site-header,html.mv-search-keyboard #wpadminbar,html.mv-search-keyboard #movac-lola-root{visibility:hidden!important}
 html.mv-search-keyboard .movac-route-overlay:not([hidden]){position:fixed!important;top:var(--mv-keyboard-top,8px)!important;bottom:auto!important;left:8px!important;width:calc(100vw - 16px)!important;height:var(--mv-keyboard-height,240px)!important;min-height:0!important;max-height:var(--mv-keyboard-height,240px)!important;z-index:2147483000!important}
 html.mv-search-keyboard .movac-route-overlay>header{display:none!important}
}
