.travel-map-dialog {
    position: fixed;
    width: min(76rem, calc(100% - 2rem));
    max-width: none;
    max-height: calc(100dvh - 2rem);
    margin: auto;
    padding: 0;
    border: 1px solid #b9cec3;
    border-radius: 1.25rem;
    color: var(--places-text);
    background: #fff;
    box-shadow: 0 1.75rem 5rem rgb(13 47 36 / .27);
}
.travel-map-dialog::backdrop { background: rgb(13 39 31 / .64); }
.travel-map-dialog [hidden], [data-travel-map-open][hidden] { display: none !important; }
.travel-map-shell { display: flex; flex-direction: column; max-height: calc(100dvh - 2rem); }
.travel-map-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .85rem;
    padding: 1.15rem 1.4rem;
    color: #e6f4eb;
    background: #163e34;
}
.travel-map-header h2 { margin: 0; color: #fff; font-size: clamp(1.3rem, 3vw, 1.8rem); }
.travel-map-header p { margin: .3rem 0 0; font-size: .9rem; }
.travel-map-close {
    display: grid;
    flex: 0 0 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid #83aa9b;
    border-radius: .65rem;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 1.6rem;
    line-height: 1;
}
.travel-map-close:hover { background: #2d5b4d; }
.travel-map-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
    flex: 1;
    min-height: 0;
    overflow: auto;
}
.travel-map-main { min-width: 0; background: #eef5ef; }
.travel-map-toolbar {
    display: flex;
    gap: .6rem;
    align-items: flex-end;
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--places-line);
}
.travel-map-toolbar .travel-map-field { flex: 1; max-width: 23rem; }
.travel-map-field { display: grid; gap: .25rem; min-width: 0; }
.travel-map-field label { font-size: .8rem; font-weight: 800; }
.travel-map-field select, .travel-map-field input {
    width: 100%;
    min-height: 2.8rem;
    padding: .45rem .65rem;
    border: 1px solid #b6c9be;
    border-radius: .6rem;
    background: #fff;
    color: var(--places-ink);
    font: inherit;
}
.travel-map-viewport {
    z-index: 0;
    width: 100%;
    height: clamp(20rem, 62dvh, 39rem);
    background: #e2eee8;
}
.travel-map-note { margin: 0; padding: .45rem 1rem; font-size: .85rem; }
.travel-map-sidebar {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    border-left: 1px solid var(--places-line);
}
.travel-map-sidebar-heading { padding: 1rem 1rem .55rem; }
.travel-map-sidebar-heading h3 { margin: 0 0 .25rem; font-size: 1.35rem; overflow-wrap: anywhere; }
.travel-map-sidebar-heading a { font-weight: 800; }
.travel-map-filters { display: grid; gap: .65rem; padding: .45rem 1rem; }
.travel-map-status { margin: .35rem 1rem .55rem; color: var(--places-muted); font-size: .88rem; }
.travel-map-results { overflow: auto; min-height: 0; padding: 0 1rem .9rem; }
.travel-map-results ul { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.travel-map-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .55rem;
    padding: .65rem .72rem;
    border: 1px solid var(--places-line);
    border-radius: .65rem;
    background: #f8fbf8;
}
.travel-map-result.is-selected { border-color: var(--places-accent); background: #e9f4ed; }
.travel-map-result > div { min-width: 0; }
.travel-map-result a { font-weight: 800; overflow-wrap: anywhere; }
.travel-map-result p { margin: .2rem 0 0; color: var(--places-muted); font-size: .8rem; overflow-wrap: anywhere; }
.travel-map-result button {
    flex: 0 0 auto;
    min-height: 2.4rem;
    padding: .28rem .6rem;
    border: 1px solid #bdcec5;
    border-radius: .55rem;
    color: var(--places-accent);
    background: #fff;
    font: inherit;
    font-size: .83rem;
    font-weight: 800;
}
.travel-map-more { align-self: flex-start; margin: .55rem 1rem; }
.travel-map-results .travel-map-more { margin-inline: 0; }
.travel-map-popup strong { display: block; margin-bottom: .3rem; font-size: 1rem; overflow-wrap: anywhere; }
.travel-map-popup a { font-weight: 700; }
.travel-map-city-dot {
    display: block;
    width: 100%;
    height: 100%;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #13634f;
    box-shadow: 0 0 0 1px #155441, 0 2px 4px rgb(21 59 47 / .33);
}
@media (max-width: 767px) {
    .travel-map-dialog { width: calc(100% - .8rem); max-height: calc(100dvh - .8rem); border-radius: .9rem; }
    .travel-map-shell { max-height: calc(100dvh - .8rem); }
    .travel-map-header, .travel-map-toolbar { padding: .68rem .8rem; }
    .travel-map-header p { font-size: .8rem; }
    .travel-map-workspace { display: block; }
    .travel-map-viewport { height: clamp(15rem, 42dvh, 24rem); }
    .travel-map-sidebar { border-top: 1px solid var(--places-line); border-left: 0; }
    .travel-map-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .travel-map-results { overflow: visible; }
    .travel-map-toolbar .button-place-secondary { font-size: .83rem; }
}
