.detail-map-card .detail-distance-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px 8px;
}
.detail-map-card .detail-distance-text {
    flex: 0 0 auto;
    margin-bottom: 0;
    white-space: nowrap;
}
.detail-map-canvas {
    border: 1px solid #ccc;
    border-radius: 10px;
    height: 250px;
    width: 100%;
    margin: 10px 0 3px;
    overflow: hidden;
}
.detail-map-card .mapbox-location-search {
    display: block;
    position: relative;
    flex: 0 1 auto;
    width: var(--location-rest-width, 220px);
    min-width: 0;
    max-width: 100%;
}
.detail-map-card .mapbox-location-search.is-editing {
    flex: 1 1 auto;
}
.detail-map-card .mapbox-location-search mapbox-geocoder {
    display: block;
    width: 100%;
}
[data-location-provider="mapbox"] .mapbox-location-search {
    position: relative;
    display: block;
    flex: 1;
    min-width: 0;
    width: 100%;
}
[data-location-provider="mapbox"] .mapbox-location-search mapbox-geocoder {
    display: block;
    width: 100%;
}
.mapbox-location-search:not(.is-editing) mapbox-search-listbox,
.mapbox-location-search:not(.has-native-results) mapbox-search-listbox {
    display: none !important;
}
.detail-map-card .mapbox-location-search:not(.is-editing) input {
    text-overflow: ellipsis;
}
.detail-map-card .mapbox-location-search.is-saving [class$="--ActionIcon"] {
    display: none;
}
.detail-map-card .mapbox-location-search.is-resolving mapbox-search-listbox,
.detail-map-card .mapbox-location-search.has-address-candidates mapbox-search-listbox {
    display: none !important;
}
.detail-address-candidates {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 1001;
    width: 100%;
    max-width: calc(100vw - 32px);
    max-height: 280px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 2px 8px #0002;
    font: 14px/1.4 Arial, sans-serif;
}
.detail-address-option {
    padding: 8px 10px;
    cursor: pointer;
    overflow-wrap: anywhere;
}
.detail-address-option:hover,
.detail-address-option[aria-selected="true"] {
    background: #f0f5f8;
}
.detail-address-attribution {
    display: block;
    padding: 7px 10px;
    color: #667f91;
    font-size: 12px;
}
.detail-map-status {
    font-size: 13px;
    color: #555;
    margin: 8px 0;
}
.detail-map-change {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-top: 6px;
    padding: 7px 10px;
    color: #222;
    cursor: pointer;
    font: inherit;
}
.detail-map-change:focus-visible {
    outline: 2px solid #11608c;
    outline-offset: -2px;
}
.detail-map-user-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid white;
    background: #ea4335;
    box-shadow: 0 1px 4px #0005;
    cursor: pointer;
    padding: 0;
}
.detail-map-user-popup {
    font: 12px/1.5 Arial, sans-serif;
}
