.map-explorer-page {
  margin: 0;
  background: #f7f6f1;
  color: #1b3229;
  font-family: Inter, "Noto Sans SC", system-ui, sans-serif;
}
#map-explorer {
  --mx-ink: #172f25;
  --mx-forest: #214d3b;
  --mx-muted: #53655a;
  --mx-line: #d9dfd5;
  --mx-paper: #fffefa;
  --mx-quiet: #edf1e9;
  --mx-brass: #906027;
  --mx-header-clearance: 78px;
  max-width: 1720px;
  margin-inline: auto;
  padding: 0 clamp(16px,2.3vw,40px) 36px;
  font-size: 15px;
  line-height: 1.5;
}
#map-explorer *, #map-explorer *::before, #map-explorer *::after { box-sizing: border-box; }
#map-explorer [hidden] { display: none !important; }
#map-explorer :is(input, select, button, summary) { font: inherit; }
#map-explorer :is(input, select, button) {
  min-height: 44px;
  max-width: 100%;
  color: var(--mx-ink);
  border: 1px solid #c3cec3;
  border-radius: 6px;
  background: var(--mx-paper);
  padding: 7px 12px;
}
#map-explorer :is(button, select, summary) { cursor: pointer; }
#map-explorer :focus-visible { outline: 3px solid #9a671e; outline-offset: 2px; }
#map-explorer button:disabled { opacity: .55; cursor: default; }
#map-explorer a { color: var(--mx-forest); }
.mx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mx-heading, .mx-title, .mx-heading-actions, .mx-segment, .mx-tool { display: flex; align-items: center; }
.mx-heading { justify-content: space-between; gap: 18px; padding-block: 19px; }
.mx-title { align-items: baseline; gap: 16px; min-width: 0; }
#map-explorer .mx-heading h1 { margin: 0; color: var(--mx-ink); font-size: clamp(1.7rem,2.6vw,2.65rem); font-weight: 630; line-height: 1.08; letter-spacing: -.045em; }
#map-explorer .mx-total { display: inline-flex; gap: .3em; align-items: baseline; margin: 0; padding-inline-start: 15px; border-inline-start: 1px solid #c8cfc3; color: var(--mx-muted); font-size: .9rem; white-space: nowrap; }
.mx-total strong { color: var(--mx-forest); font-variant-numeric: tabular-nums; }
.mx-heading-actions { gap: 12px; }
.mx-segment { display: inline-flex; width: fit-content; border: 1px solid var(--mx-line); border-radius: 7px; padding: 2px; background: #f0f2eb; }
#map-explorer .mx-segment button { min-height: 40px; padding: 6px 15px; font-size: .82rem; font-weight: 650; border: 0; border-radius: 5px; color: var(--mx-muted); background: transparent; }
#map-explorer .mx-segment button[aria-pressed=true] { color: white; background: var(--mx-forest); }
#map-explorer .mx-tool { justify-content: center; gap: 8px; line-height: 1.1; font-size: .84rem; font-weight: 650; white-space: nowrap; }
.mx-tool::before { content: ""; flex: none; width: 16px; height: 16px; }
#mx-share::before {
  background: radial-gradient(circle at 11px 3px,currentColor 2.5px,transparent 3px),radial-gradient(circle at 3px 8px,currentColor 2.5px,transparent 3px),radial-gradient(circle at 11px 13px,currentColor 2.5px,transparent 3px),linear-gradient(149deg,transparent 40%,currentColor 42% 53%,transparent 56%) 3px 3px/9px 6px no-repeat,linear-gradient(31deg,transparent 40%,currentColor 42% 53%,transparent 56%) 3px 8px/9px 6px no-repeat;
}
.mx-workspace {
  isolation: isolate;
  display: grid;
  grid-template: "controls controls" auto "map notice" auto "map results" minmax(0,1fr) / minmax(0,1fr) clamp(325px,30vw,442px);
  height: clamp(510px,calc(100svh - 173px),976px);
  overflow: clip;
  border: 1px solid #cdd4c9;
  border-radius: 12px;
  background: var(--mx-paper);
  box-shadow: 0 8px 25px #20362908;
}
.mx-controls { grid-area: controls; position: relative; z-index: 5; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 12px 17px; border-bottom: 1px solid var(--mx-line); background: var(--mx-paper); }
.mx-search { flex: 0 1 404px; position: relative; min-width: 0; }
.mx-search::before, .mx-search::after { content: ""; position: absolute; z-index: 1; pointer-events: none; }
.mx-search::before { left: 15px; top: 13px; width: 15px; height: 15px; border: 1.8px solid var(--mx-forest); border-radius: 50%; }
.mx-search::after { left: 27px; top: 26px; width: 7px; height: 2px; background: var(--mx-forest); transform: rotate(45deg); }
#map-explorer .mx-search input { width: 100%; min-height: 46px; padding-inline: 42px 12px; border-color: #c6d1c5; border-radius: 7px; background: #f4f6f0; font-size: 16px; }
#mx-suggestions { position: absolute; z-index: 10; inset: calc(100% + 6px) 0 auto; max-height: min(47dvh,380px); overflow: auto; background: var(--mx-paper); border: 1px solid var(--mx-line); border-radius: 8px; padding: 8px; box-shadow: 0 8px 24px #19392a25; }
#mx-suggestions h3 { margin: 6px 9px 3px; font-size: .77rem; color: var(--mx-muted); }
#map-explorer #mx-suggestions button { display: block; width: 100%; text-align: left; border: 0; }
#mx-filter-open::before { background: radial-gradient(circle at 5px 4px,currentColor 2.5px,transparent 3px),radial-gradient(circle at 11px 12px,currentColor 2.5px,transparent 3px),linear-gradient(currentColor,currentColor) 0 3px/16px 1.5px no-repeat,linear-gradient(currentColor,currentColor) 0 11px/16px 1.5px no-repeat; }
#mx-filter-count { min-width: 18px; line-height: 18px; border-radius: 50%; background: var(--mx-forest); color: white; font-size: .72rem; }
.mx-shortcuts { display: flex; align-items: center; gap: 4px; padding-inline-start: 13px; border-inline-start: 1px solid var(--mx-line); }
#map-explorer .mx-shortcuts button { border: 0; padding: 0 3px; background: transparent; color: #405e50; font-size: .8rem; font-weight: 600; }
.mx-shortcuts span { display: block; padding: 5px 11px; border: 1px solid #dce3d8; border-radius: 18px; background: #f5f7f1; }
.mx-shortcuts button[aria-pressed=true] span { border-color: var(--mx-forest); color: #fff; background: var(--mx-forest); }
.mx-chips { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 5px; }
.mx-chips:empty, .mx-status:empty { display: none; }
#map-explorer .mx-chips button { padding: 3px 10px; font-size: .8rem; background: var(--mx-quiet); }
.mx-status { margin: 0; color: var(--mx-muted); font-size: .84rem; }
.mx-status:not(.mx-feedback) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.mx-map-wrap { grid-area: map; position: relative; isolation: isolate; min-width: 0; min-height: 0; background: #e7ece2; scroll-margin-top: var(--mx-header-clearance); }
#mx-map { height: 100%; width: 100%; background: #e8ece3; scroll-margin-top: var(--mx-header-clearance); }
.mx-open-map:not(.mx-vector-map) .leaflet-tile-pane { filter: saturate(.33) contrast(.87) brightness(1.08); }
.mx-map-actions { position: absolute; z-index: 401; top: 15px; right: 15px; display: flex; gap: 6px; }
#map-explorer .mx-map-actions .mx-tool { min-width: 44px; padding-inline: 10px; border-color: #b8c6b9; background-color: var(--mx-paper); box-shadow: 0 2px 7px #1d3a2c20; }
#map-explorer .mx-map-actions .mx-tool[aria-pressed=true] { color: white; background-color: var(--mx-forest); }
#mx-gesture { display: none; }
#mx-gesture::before { background: currentColor; clip-path: polygon(50% 0,69% 23%,56% 23%,56% 44%,77% 44%,77% 31%,100% 50%,77% 69%,77% 56%,56% 56%,56% 77%,69% 77%,50% 100%,31% 77%,44% 77%,44% 56%,23% 56%,23% 69%,0 50%,23% 31%,23% 44%,44% 44%,44% 23%,31% 23%); }
#mx-present::before { width: 18px; height: 16px; background: linear-gradient(currentColor,currentColor) center 1px/16px 1.6px no-repeat,linear-gradient(currentColor,currentColor) center 11px/16px 1.6px no-repeat,linear-gradient(currentColor,currentColor) 1px 1px/1.6px 12px no-repeat,linear-gradient(currentColor,currentColor) 15px 1px/1.6px 12px no-repeat,linear-gradient(currentColor,currentColor) center 12px/1.6px 3px no-repeat,linear-gradient(currentColor,currentColor) center bottom/8px 1.6px no-repeat; }
#mx-fit::before { background: linear-gradient(90deg,currentColor 35%,transparent 35% 65%,currentColor 65%) top/100% 2px no-repeat,linear-gradient(90deg,currentColor 35%,transparent 35% 65%,currentColor 65%) bottom/100% 2px no-repeat,linear-gradient(currentColor 35%,transparent 35% 65%,currentColor 65%) left/2px 100% no-repeat,linear-gradient(currentColor 35%,transparent 35% 65%,currentColor 65%) right/2px 100% no-repeat; }
#mx-fit > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.mx-map-key { position: absolute; z-index: 400; bottom: 31px; left: 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 11px; padding: 5px 9px; border-radius: 5px; border: 1px solid #cdd5c7; background: #fffef9f5; color: #294335; font-size: .72rem; pointer-events: none; }
.mx-map-key span { display: flex; align-items: center; gap: 5px; }
.mx-map-key span::before { content: ""; width: 9px; height: 9px; border: 2px solid var(--mx-forest); border-radius: 50%; background: var(--mx-forest); }
.mx-map-key .mx-key-area::before { border-color: var(--mx-brass); border-style: dashed; border-radius: 2px; background: #fff7e5; }
.mx-map-key .mx-key-station::before { border: 0; border-radius: 1px; background: #326a83; transform: rotate(45deg); }
.mx-marker-anchor { background: transparent; border: 0; }
.mx-place-marker { position: relative; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; color: #234434; font: 650 12px/1.2 Inter,system-ui,sans-serif; }
.mx-place-dot { width: 13px; height: 13px; border: 2px solid white; border-radius: 50%; background: #39664d; box-shadow: 0 1px 4px #153d2b65; }
.mx-place-marker.area-only .mx-place-dot { width: 17px; height: 17px; border: 2px dashed var(--mx-brass); border-radius: 4px; background: #fff6df; }
.mx-place-marker.station .mx-place-dot { width: 12px; height: 12px; border-radius: 2px; transform: rotate(45deg); background: #326a83; }
.mx-place-marker.neighbour .mx-place-dot { background: #204733; border-width: 2px; width: 17px; height: 17px; }
.mx-place-marker.selected .mx-place-dot { width: 20px; height: 20px; background: var(--mx-forest); outline: 3px solid #b87834; outline-offset: 2px; }
.mx-place-marker.area-only.selected .mx-place-dot { background: #ffedc5; }
.mx-place-label { position: absolute; left: 34px; top: 50%; transform: translateY(-50%); width: max-content; max-width: min(35vw,200px); padding: 4px 7px; border-radius: 4px; border: 1px solid #c7d3c6; background: #fffef9f7; box-shadow: 0 2px 5px #1c322a19; pointer-events: none; }
.mx-place-marker.label-left .mx-place-label { left: auto; right: 34px; }
.mx-place-marker.selected .mx-place-label { background: #183d2e; border-color: #183d2e; color: white; }
.mx-count-value { display: grid; place-items: center; min-width: 33px; height: 33px; border: 2px solid white; border-radius: 50%; padding-inline: 3px; background: #214c38; color: white; font: 700 13px/1 Inter,system-ui,sans-serif; box-shadow: 0 0 0 4px #456d4e32,0 2px 5px #19332245; }
.mx-count-marker .mx-place-label { left: 40px; }
.mx-count-marker.label-left .mx-place-label { left: auto; right: 40px; }
.mx-place-marker:is(.label-above,.label-below) .mx-place-label { left: 50%; right: auto; transform: translateX(-50%); }
.mx-place-marker.label-above .mx-place-label { top: auto; bottom: 43px; }
.mx-place-marker.label-below .mx-place-label { top: 43px; }
#mx-map .leaflet-control-zoom { margin: 0 14px 12px 0; border: 1px solid #bdc7b9; border-radius: 7px; overflow: hidden; box-shadow: 0 2px 8px #1d3a2c22; }
#mx-map .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 44px; color: var(--mx-ink); background: var(--mx-paper); }
#mx-map .leaflet-control-scale { margin: 0 0 8px 14px; }
#mx-map .leaflet-control-scale-line { padding: 1px 4px; border-color: #45604c; color: #294335; background: #fffef9e6; font: 600 10px/1.2 system-ui,sans-serif; }
#mx-map .leaflet-control-attribution { font: 10px/1.35 system-ui,sans-serif; background: #fffef9ed; }
.mx-map-notice { grid-area: notice; display: flex; align-items: center; flex-wrap: wrap; gap: 5px; padding: 10px 14px; background: #fff1d8; color: #563a19; font-size: .86rem; }
.mx-map-notice span { flex-basis: 100%; }
#map-explorer .mx-map-notice button { font-size: .82rem; }
.mx-panel { grid-area: results; min-width: 0; min-height: 0; overflow: auto; scrollbar-width: thin; border-inline-start: 1px solid var(--mx-line); background: var(--mx-paper); scroll-margin-top: var(--mx-header-clearance); }
.mx-panel-head { padding: 18px 19px 12px; border-bottom: 1px solid var(--mx-line); display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 8px; align-items: center; }
#map-explorer :is(.mx-panel-head h2,.mx-panel-head h3,.mx-neighbours h3,.mx-empty h3) { margin: 0; color: var(--mx-ink); font-size: 1.15rem; font-weight: 660; letter-spacing: -.025em; line-height: 1.25; }
#map-explorer :is(.mx-panel-head p,.mx-neighbours p,.mx-empty p) { margin: 0; font-size: .82rem; color: var(--mx-muted); }
.mx-panel-head > p { grid-column: 1/-1; }
#map-explorer .mx-panel-head > select { grid-column: 2; grid-row: 1; width: 134px; padding: 4px 6px; font-size: .77rem; font-weight: 600; color: var(--mx-forest); border-color: transparent; background-color: var(--mx-quiet); }
.mx-panel-actions:empty { display: none; }
.mx-panel-head:has(.mx-panel-actions:not(:empty):only-child) { padding-block: 4px; }
#map-explorer .mx-panel-actions button { padding-inline: 0; border: 0; background: transparent; color: var(--mx-forest); font-size: .85rem; font-weight: 650; }
.mx-card { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr); column-gap: 14px; align-items: start; padding: 16px 19px 8px; border-bottom: 1px solid var(--mx-line); }
.mx-card-body { grid-column: 2; min-width: 0; align-self: center; }
.mx-card:not(:has(> img)) .mx-card-body { grid-column: 1/-1; }
.mx-card-image { display: block; width: clamp(92px,7.8vw,114px); height: clamp(90px,7.6vw,110px); border-radius: 7px; object-fit: cover; background: var(--mx-quiet); }
#map-explorer .mx-card :is(h2,h3) { margin: 0; color: var(--mx-ink); line-height: 1.15; }
#map-explorer .mx-card h3 button { display: block; min-height: 0; padding: 2px 0; border: 0; background: transparent; font-size: 1.06rem; line-height: 1.24; font-weight: 660; letter-spacing: -.02em; text-align: left; color: var(--mx-ink); }
.mx-card h3 button::after { content: ""; position: absolute; inset: 0; }
.mx-card:has(h3 button:focus-visible) { outline: 3px solid #9a671e; outline-offset: -3px; }
#map-explorer .mx-card .mx-area { margin: 0 0 2px; font-size: .78rem; font-weight: 540; color: var(--mx-muted); }
#map-explorer .mx-card .mx-price { margin: 4px 0 2px; color: var(--mx-forest); font-size: .99rem; line-height: 1.32; font-weight: 670; font-variant-numeric: tabular-nums; }
#map-explorer .mx-card :is(.mx-facts,.mx-distance,.mx-offer,.mx-precision) { margin: 1px 0; line-height: 1.4; font-size: .81rem; color: var(--mx-muted); }
#map-explorer .mx-card .mx-precision { color: #795023; }
.mx-card-links { position: relative; grid-column: 1/-1; width: fit-content; max-width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 3px 12px; margin-top: 3px; }
#map-explorer .mx-card-links :is(a,button) { display: inline-flex; align-items: center; min-height: 44px; font-size: .8rem; font-weight: 650; text-underline-offset: 3px; }
.mx-card-links .mx-primary { text-decoration: none; }
.mx-card-links .mx-primary::before { content: ""; width: 12px; height: 11px; margin-inline-end: 5px; border: 1.5px solid currentColor; border-radius: 5px 5px 5px 1px; }
.mx-expanded { display: block; padding: 0 0 15px; }
.mx-expanded > .mx-card-image { width: 100%; height: auto; aspect-ratio: 2 / 1; max-height: 280px; border-radius: 0; }
.mx-expanded .mx-card-body { padding: 16px 19px 5px; }
#map-explorer .mx-expanded h2 { font-size: clamp(1.5rem,2.2vw,2rem); font-weight: 630; letter-spacing: -.035em; }
#map-explorer .mx-expanded .mx-price { margin-block: 7px 4px; font-size: 1.18rem; }
.mx-expanded .mx-card-links { margin-inline: 19px; gap: 4px 10px; }
#map-explorer .mx-expanded .mx-primary, #map-explorer #mx-filters .mx-primary { border-color: var(--mx-forest); border-radius: 6px; padding: 8px 13px; background: var(--mx-forest); color: white; }
#map-explorer .mx-expanded [data-jl-action] { padding-inline: 9px; border-color: var(--mx-line); background: transparent; }
.mx-neighbours, .mx-empty { padding: 18px 19px; border-bottom: 1px solid var(--mx-line); }
#map-explorer .mx-neighbours > p, #map-explorer .mx-empty p { margin-block: 5px 12px; }
#map-explorer .mx-neighbour { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 0; border: 0; border-bottom: 1px solid #e6e9e2; border-radius: 0; text-align: left; background: transparent; font-size: .88rem; font-weight: 570; }
.mx-neighbour .mx-card-image { width: 43px; height: 40px; border-radius: 4px; }
.mx-neighbour > span:last-child { margin-inline-start: auto; color: var(--mx-muted); font-size: .78rem; white-space: nowrap; }
.mx-neighbour small, .mx-station small { display: block; color: var(--mx-muted); font-size: .8rem; }
#map-explorer .mx-station { display: block; text-align: left; width: 100%; padding: 13px 19px; border: 0; border-bottom: 1px solid var(--mx-line); border-radius: 0; }
.mx-station strong { display: block; }
.mx-line-badge { border-left: 3px solid var(--line); padding-inline-start: 6px; margin-inline-end: 6px; font-size: .76rem; }
.mx-nearby-heading label { font-size: .8rem; }
.mx-subheading { padding: 12px 19px; margin: 0; font-size: 1rem; background: var(--mx-quiet); }
#map-explorer .mx-more { margin: 14px 19px; justify-self: start; }
.mx-workspace[data-view=list] { grid-template: "controls" auto "notice" auto "results" minmax(0,1fr) / minmax(0,1fr); }
.mx-workspace[data-view=list] .mx-map-wrap { display: none; }
.mx-workspace[data-view=list] .mx-panel { border: 0; }
.mx-workspace[data-view=list] .mx-results-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,315px),1fr)); }
.mx-workspace[data-view=list] .mx-results-grid .mx-card { border-inline-end: 1px solid var(--mx-line); }
.mx-results-grid > :is(.mx-panel-head,.mx-empty,.mx-subheading,.mx-more) { grid-column: 1/-1; }
.mx-note { margin: 8px 0; color: var(--mx-muted); font-size: .82rem; }
.mx-directory, .mx-fallback { max-width: 1020px; margin: 34px auto; }
.mx-directory h2,.mx-fallback h2 { color: var(--mx-ink); font-size: 1.28rem; margin: 20px 0 7px; }
.mx-directory p { margin: 6px 0; color: var(--mx-muted); }
.mx-directory details { border-bottom: 1px solid var(--mx-line); }
.mx-directory summary { min-height: 44px; padding: 10px 0; font-weight: 650 !important; }
.mx-directory-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,200px),1fr)); gap: 4px 18px; }
#mx-filters { width: min(478px,calc(100vw - 24px)); max-height: 88dvh; overflow: auto; padding: 0; border: 1px solid var(--mx-line); border-radius: 12px; background: var(--mx-paper); color: var(--mx-ink); box-shadow: 0 15px 60px #142e2845; }
#mx-filters::backdrop { background: #142b2280; }
.mx-dialog-head, .mx-dialog-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px; background: var(--mx-paper); }
.mx-dialog-head { border-bottom: 1px solid var(--mx-line); }
#map-explorer .mx-dialog-head h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.03em; }
#map-explorer .mx-dialog-head button { width: 44px; border: 0; background: var(--mx-quiet); font-size: 1.3rem; }
.mx-dialog-body { padding: 15px 18px; }
.mx-filter-grid,.mx-location,#mx-rail-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 12px; margin: 13px 0; }
#map-explorer #mx-filters label { display: grid; align-content: start; gap: 4px; margin: 0; min-width: 0; font-size: .8rem; font-weight: 600; color: var(--mx-muted); }
#map-explorer #mx-filters select { width: 100%; font-size: .9rem; }
#mx-rail-filters { padding: 10px; border: 1px solid var(--mx-line); border-radius: 6px; }
#mx-rail-filters legend { padding-inline: 5px; font-weight: 650; }
.mx-dialog-foot { position: sticky; bottom: 0; border-top: 1px solid var(--mx-line); }
#mx-reset { text-decoration: underline; text-underline-offset: 3px; }
.map-explorer-page :is(.jl-whatsapp-widget,.jl-floating-wa,.wa-widget,.lead-magnet-float) { display: none !important; }
.map-explorer-page .jl-compare-tray { position: static !important; transform: none !important; max-width: 100% !important; margin-inline: auto !important; }
.mx-presenting-page { overflow: hidden; }
.mx-workspace.mx-presenting { position: fixed; z-index: 2147482000; inset: 0; width: 100%; height: 100dvh; border: 0; border-radius: 0; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
@media (hover:hover) {
  #map-explorer button:hover, #map-explorer .mx-tool:hover { border-color: #75927d; }
  #map-explorer :is(.mx-neighbour,.mx-station,#mx-suggestions button):hover, .mx-card:not(.mx-expanded):hover { background: #f1f5ec; }
  .mx-shortcuts button:hover span { border-color: #7c977d; }
  .mx-card-links a:hover { text-decoration: underline; }
  .mx-count-marker:hover .mx-count-value { background: #153629; }
}
@media (pointer:coarse), (max-width:760px) {
  #mx-gesture { display: flex; }
  #map-explorer .mx-segment button { min-height: 44px; }
  #mx-map.mx-open-map:not(.mx-gestures-on) { touch-action: pan-y; }
  #mx-map.mx-open-map.mx-gestures-on { touch-action: none; }
}
@media (min-width:761px) and (max-width:1040px) {
  .mx-controls { column-gap: 8px; }
  .mx-search { flex: 1 1 200px; }
  .mx-shortcuts { padding-inline-start: 4px; }
  .mx-workspace { grid-template-columns: minmax(0,1fr) 310px; }
}
@media (max-width:760px) {
  #map-explorer { padding-inline: 0; --mx-header-clearance: 68px; }
  .mx-heading { gap: 6px; padding: 10px 12px; }
  .mx-title { display: block; }
  #map-explorer .mx-heading h1 { font-size: clamp(1.45rem,5.6vw,1.85rem); }
  #map-explorer .mx-total { padding: 0; border: 0; font-size: .74rem; }
  .mx-heading-actions { gap: 5px; }
  #map-explorer .mx-heading-actions .mx-segment button { padding-inline: 10px; }
  #map-explorer #mx-share { min-width: 44px; width: 44px; padding: 0; background: transparent; border-color: transparent; }
  #mx-share > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .mx-workspace, .mx-workspace[data-view=list] { display: flex; flex-direction: column; height: auto; border-inline: 0; border-radius: 0; box-shadow: none; }
  .mx-controls { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0 8px; padding: 7px 12px 1px; }
  .mx-search { min-width: 0; }
  #map-explorer .mx-search input { min-height: 44px; padding-inline-end: 6px; }
  #map-explorer #mx-filter-open { padding-inline: 10px; }
  .mx-shortcuts { grid-column: 1/-1; gap: 3px; border: 0; padding: 0; }
  #map-explorer .mx-shortcuts button { padding: 0; }
  .mx-shortcuts span { padding: 3px 9px; }
  .mx-chips, .mx-status { grid-column: 1/-1; }
  .mx-map-wrap { flex: none; height: clamp(260px,38svh,370px); }
  .mx-map-actions { top: 9px; right: 9px; gap: 5px; }
  #map-explorer .mx-map-actions .mx-tool { padding-inline: 9px; }
  .mx-map-key { left: 9px; bottom: 27px; gap: 8px; font-size: .68rem; padding: 3px 7px; }
  #mx-map .leaflet-control-scale { margin-left: 9px; }
  #mx-map .leaflet-control-zoom { margin: 0 9px 6px 0; }
  .mx-panel { overflow: visible; border: 0; border-block-start: 1px solid var(--mx-line); }
  .mx-panel-head { padding: 10px 15px 9px; }
  #map-explorer .mx-panel-head > select { width: 125px; }
  .mx-card { padding: 13px 15px 5px; }
  .mx-card:not(.mx-expanded) > .mx-card-image { width: 100px; height: 91px; }
  .mx-expanded { padding: 0 0 12px; }
  .mx-expanded .mx-card-body,.mx-neighbours,.mx-empty { padding-inline: 15px; }
  .mx-expanded .mx-card-links { margin-inline: 15px; }
  .mx-workspace[data-view=list] .mx-results-grid { display: block; }
  .mx-note, .mx-directory, .mx-fallback { margin-inline: 14px; }
  .mx-workspace.mx-presenting { height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
  .mx-presenting .mx-map-wrap { height: clamp(285px,53svh,560px); }
}
@media (max-height:520px) and (min-width:761px) {
  .mx-workspace { min-height: 400px; }
}
@media (prefers-reduced-motion:reduce) {
  #map-explorer * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
