/* Shared action sheet, above both place dialogs and the fixed mobile bar. */
.map-chooser{box-sizing:border-box;border:0;padding:0;background:transparent;color:#173e35;width:calc(100% - 24px);max-width:440px;max-height:90vh;max-height:90dvh;overflow:auto;overscroll-behavior:contain;margin:auto;font-family:system-ui,-apple-system,"PingFang SC",sans-serif;line-height:1.5}
.map-chooser::backdrop{background:rgba(17,36,31,.48)}
.map-sheet-panel{background:#faf9f5;border-radius:20px;padding:20px 20px 12px}.map-sheet-panel h2{font-size:17px;font-weight:600;text-align:center;margin:0 0 14px;color:#173e35}
.map-destination{margin-bottom:12px;padding:12px;background:#edf0e5;border-radius:10px;overflow-wrap:anywhere}.map-destination strong{font-size:15px;line-height:1.5}.map-destination p{font-size:13px;line-height:1.7;margin:4px 0;color:#52624e;user-select:text}.map-destination small{font-size:11px;color:#66745d}.map-position-warning{font-size:12px;line-height:1.7;margin:8px 0 12px;color:#755e33}
.map-chooser .map-choice{display:flex;align-items:center;gap:13px;min-height:64px;padding:12px 4px;border-top:1px solid #e0e4d8;text-decoration:none;color:#173e35}.map-choice>span:nth-child(2){flex:1;min-width:0}.map-choice strong{display:block;font-size:17px;font-weight:600}.map-choice small{display:block;font-size:11px;color:#66745d;margin-top:3px}.map-choice-icon{display:grid;place-items:center;border-radius:12px;width:36px;height:36px;flex:none;background:#e5eadb;font-size:22px;font-weight:600}
.map-chooser .map-chooser-fallback{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;border-top:1px solid #e0e4d8}.map-chooser-fallback a,.map-chooser-fallback button{display:inline-flex;align-items:center;min-height:44px;padding:6px 0;border:0;background:none;color:#315c4f;font:inherit;font-size:12px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.map-handoff-note,.map-copy-status{font-size:11px;line-height:1.7;color:#6b7564;margin:4px 0}.map-copy-status:empty{display:none}.map-chooser .map-chooser-cancel{display:block;width:100%;min-height:52px;border:0;border-radius:16px;background:#faf9f5;color:#173e35;font:inherit;font-size:16px;margin:8px 0 0;cursor:pointer}.map-stop-label{display:block;font-size:12px;margin-bottom:12px}.map-stop-label select{display:block;max-width:100%;width:100%;min-height:44px;margin-top:6px;padding:8px;border:1px solid #bdc9b3;border-radius:8px;background:white;color:#173e35;font-size:16px}
.map-chooser a:focus-visible,.map-chooser button:focus-visible,.map-chooser select:focus-visible{outline:3px solid #78974b;outline-offset:2px}
.detail-actions.detail-place-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.detail-place-actions>button{width:100%;min-width:0;min-height:48px;justify-content:center;white-space:normal;word-break:normal;overflow-wrap:normal;line-height:1.5;padding:11px 10px!important;font-size:13px!important}.detail-place-actions>.se-assistant-inline{grid-column:1/-1}.detail-place-actions>.place-save-action{grid-column:1;grid-row:2}.detail-place-actions>.place-nav-action{grid-column:2;grid-row:2;background:#173e35;color:#fff;border-color:#173e35}.detail-place-actions>[data-share-place]:last-child{grid-column:1/-1}
.itinerary-leg-links button,.route-utility-card [data-navigate-facility],.leaflet-popup-content [data-navigate-facility],.leaflet-popup-content [data-navigate-place]{display:inline-flex;align-items:center;min-height:44px;background:none;border:0;font:inherit;font-size:13px;color:#315d3b;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.itinerary-map-selection{flex-wrap:wrap}
@media(max-width:600px){.map-chooser{position:fixed;inset:auto 0 0;margin:0 auto;padding-bottom:max(10px,env(safe-area-inset-bottom));max-width:480px}.map-sheet-panel{padding:16px 16px 10px}.map-chooser .map-choice{min-height:60px}.map-chooser .map-choice strong{font-size:16px}}
@media(max-width:359px){.detail-place-actions>button{font-size:12px!important}}

.nearby-unlocated [data-navigate-place]{display:inline-flex;align-items:center;min-height:44px;color:#173e35;text-decoration:underline;text-underline-offset:4px}
@media(max-width:600px){.itinerary-map-selection>span{flex-basis:100%}}
