.lp27-editorial.lp27-camp-map-page {
    max-width: none;
    padding: clamp(1.2rem, 2.4vw, 2.55rem) clamp(.65rem, 1.8vw, 2rem) 2rem;
}

.lp27-camp-map {
    --lp27-map-orange: var(--oc-orange, #ff8a3d);
    --lp27-map-text: var(--oc-ink, #f4f7fb);
    --lp27-map-muted: var(--oc-muted, #bccada);
    --lp27-map-line: var(--oc-line, #495a69);
    --lp27-map-bg: var(--oc-bg, #202a36);
    --lp27-map-panel: var(--oc-surface, #2b3949);
    min-width: 0;
    color: var(--lp27-map-text);
    color-scheme: dark;
}

.lp27-camp-map__heading :is(h1,h2) {
    max-width: none;
    margin: 0;
    font-size: clamp(1.8rem, 3.2vw, 3.25rem);
    line-height: 1.1;
}

.lp27-camp-map__heading p {
    max-width: 74ch;
    margin: .45rem 0 .95rem;
    color: var(--lp27-map-muted);
}

.lp27-camp-map__fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.6rem), 1fr));
    align-items: end;
    gap: .55rem;
}

.lp27-camp-map__filter-panel,
.lp27-camp-map__legend {
    margin: 0 0 .6rem;
}

.lp27-camp-map :is(.lp27-camp-map__filter-panel, .lp27-camp-map__legend) > summary {
    padding: .38rem 0;
    color: var(--lp27-map-text);
    cursor: pointer;
    font-weight: 650;
}

.lp27-camp-map__filter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .42rem .6rem;
    margin-top: .55rem;
}

.lp27-camp-map__search label {
    display: grid;
    gap: .22rem;
    min-width: 0;
    color: var(--lp27-map-text);
    font-weight: 650;
}

.lp27-camp-map__search :is(input, select),
.lp27-camp-map__search button,
.lp27-camp-map__controls button,
.lp27-camp-map__view-switch button,
.lp27-camp-map__close {
    box-sizing: border-box;
    min-height: 2.8rem;
    margin: 0;
    border: 1px solid var(--lp27-map-line);
    border-radius: .45rem;
    color: var(--lp27-map-text);
    background: var(--lp27-map-bg);
    font: inherit;
}

.lp27-camp-map__search :is(input, select) {
    width: 100%;
    min-width: 0;
    padding: .35rem .55rem;
}

.lp27-camp-map__search input::placeholder { color: var(--lp27-map-muted); }

.lp27-camp-map__search button,
.lp27-camp-map__controls button,
.lp27-camp-map__view-switch button,
.lp27-camp-map__close {
    cursor: pointer;
}

.lp27-camp-map__search button,
.lp27-camp-map__booking {
    padding: .32rem .9rem;
    font-weight: 700;
}

.lp27-camp-map__search button[type="submit"] {
    border-color: var(--lp27-map-orange);
    color: var(--lp27-map-bg);
    background: var(--lp27-map-orange);
}

.lp27-camp-map__booking {
    display: inline-flex;
    align-items: center;
    min-height: 2.8rem;
    padding-inline: .5rem;
    color: var(--lp27-map-orange);
    text-underline-offset: .2em;
}

.lp27-camp-map__search :focus-visible,
.lp27-camp-map summary:focus-visible,
.lp27-camp-map__controls :focus-visible,
.lp27-camp-map__view-switch :focus-visible,
.lp27-camp-map__filter:focus-visible,
.lp27-camp-map__close:focus-visible,
.lp27-camp-map__action:focus-visible {
    outline: 2px solid var(--oc-blue, #aad0fa);
    outline-offset: 3px;
}

.lp27-camp-map__status p,
.lp27-camp-map__dates-status {
    margin: .25rem 0;
    color: var(--lp27-map-muted);
    font-size: .94rem;
}

.lp27-camp-map__status p:empty { display: none; }
.lp27-camp-map__dates-status.is-error { color: #ffbaaa; }

.lp27-camp-map__legend p {
    margin: 0 0 .45rem;
    color: var(--lp27-map-muted);
    font-size: .94rem;
}

.lp27-camp-map__legend .lp27-camp-map__sync-status {
    color: var(--lp27-map-text);
    font-weight: 650;
}

.lp27-camp-map__filters {
    display: flex;
    flex-wrap: wrap;
    gap: .38rem;
}

.lp27-camp-map__filter {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 2.75rem;
    padding: .3rem .66rem;
    border: 1px solid var(--lp27-map-line);
    border-radius: .45rem;
    color: var(--lp27-map-text);
    background: var(--lp27-map-bg);
    font: 650 .93rem/1.15 var(--lp27-sans, system-ui, sans-serif);
    text-align: start;
    cursor: pointer;
}

.lp27-camp-map__filter[hidden] { display: none; }

.lp27-camp-map__filter:hover,
.lp27-camp-map__filter[aria-pressed="true"] {
    border-color: var(--lp27-plot-color, var(--lp27-map-orange));
    background: var(--lp27-map-panel);
}

.lp27-camp-map__filter[aria-pressed="true"] {
    box-shadow: inset 0 0 0 1px var(--lp27-plot-color, var(--lp27-map-orange));
}

.lp27-camp-map__swatch {
    flex: 0 0 auto;
    width: .82rem;
    height: .82rem;
    border: 1px solid rgb(255 255 255 / .35);
    border-radius: .25rem;
    background: var(--lp27-plot-color, #8b949e);
}

.lp27-camp-map__filter[data-map-filter="all"][aria-pressed="true"] {
    color: var(--lp27-map-bg);
    border: 1px solid var(--lp27-map-orange);
    background: var(--lp27-map-orange);
}

.lp27-camp-map__layout {
    position: relative;
}

.lp27-camp-map__canvas,
.lp27-camp-map__view-3d,
.lp27-camp-map__card {
    min-width: 0;
    border: 1px solid var(--lp27-map-line);
    border-radius: .7rem;
    background: var(--lp27-map-bg);
}

.lp27-camp-map__canvas {
    display: flex;
    flex-direction: column;
    border: 0;
}

.lp27-camp-map :is([data-map-view-switch], [data-map-classic-view], [data-map-3d-view])[hidden] {
    display: none;
}

.lp27-camp-map__view-3d {
    position: relative;
    overflow: hidden;
}

.lp27-camp-map__view-3d iframe {
    display: block;
    width: 100%;
    height: clamp(25rem, 67vh, 44rem);
    border: 0;
}

.lp27-camp-map__3d-loading {
    position: absolute;
    z-index: 1;
    inset: 0;
    margin: 0;
    padding: 1rem;
    color: var(--lp27-map-muted);
    pointer-events: none;
}

.lp27-camp-map__canvas > svg {
    display: block;
    width: 100%;
    height: auto;
    touch-action: none;
    user-select: none;
    background: var(--lp27-map-bg);
}

.lp27-camp-map__canvas > svg image {
    pointer-events: none;
}

.lp27-camp-map__canvas.is-zoomed > svg {
    cursor: grab;
}

.lp27-camp-map__canvas.is-dragging > svg,
.lp27-camp-map__canvas.is-dragging .lp27-camp-map__plot {
    cursor: grabbing;
}

.lp27-camp-map__plot {
    --lp27-plot-fill: .65;
    --lp27-plot-stroke: #424a56;
    fill: var(--lp27-plot-color, #929ca5);
    fill-opacity: var(--lp27-plot-fill);
    stroke: var(--lp27-plot-stroke);
    stroke-width: 1.1;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    cursor: pointer;
}

.lp27-camp-map__plot[data-map-rental] {
    --lp27-plot-fill: .55;
    --lp27-plot-stroke: #404650;
    fill: var(--lp27-plot-color, var(--lp27-map-orange));
}

.lp27-camp-map__plot[data-map-model="outside"] {
    --lp27-plot-fill: .55;
}

.lp27-camp-map__plot[data-map-model="unknown"] {
    --lp27-plot-fill: .56;
    stroke-dasharray: 2 2;
}

.lp27-camp-map__plot.is-filtered-out {
    fill: #9da9b2;
    fill-opacity: .48;
    stroke: #5a6065;
    stroke-opacity: .58;
}

.lp27-camp-map__plot.is-hovered,
.lp27-camp-map__plot:focus-visible {
    fill: var(--lp27-plot-color, #a5b0b9);
    fill-opacity: .82;
    stroke: #24292c;
    stroke-opacity: 1;
    stroke-width: 2.5;
    outline: none;
}

.lp27-camp-map__plot.is-selected {
    fill: var(--lp27-plot-color, var(--lp27-map-orange));
    fill-opacity: .86;
    stroke: #22282e;
    stroke-opacity: 1;
    stroke-width: 2.9;
}

.lp27-camp-map__number {
    pointer-events: none;
    text-anchor: middle;
    fill: #202a36;
    stroke: #fff;
    stroke-width: 1.45;
    stroke-linejoin: round;
    paint-order: stroke;
    font: 700 9px/1 var(--lp27-sans, system-ui, sans-serif);
}

.lp27-camp-map__number.is-filtered-out {
    fill: #42474d;
}

.lp27-camp-map__toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: .5rem;
    padding-block: .35rem .5rem;
    border-bottom: 1px solid var(--lp27-map-line);
}

.lp27-camp-map__zoom-help {
    position: fixed;
    z-index: 20;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    display: grid;
    justify-items: start;
    gap: .75rem;
    box-sizing: border-box;
    width: min(28rem, calc(100vw - 2rem));
    max-height: 82dvh;
    overflow: auto;
    padding: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid var(--lp27-map-orange);
    border-radius: .7rem;
    color: var(--lp27-map-text);
    background: var(--lp27-map-panel);
    background-color: color-mix(in srgb, var(--lp27-map-bg) 90%, transparent);
    box-shadow: 0 .75rem 2rem rgb(0 0 0 / .4);
    font: inherit;
    text-align: start;
    cursor: pointer;
}

.lp27-camp-map__zoom-help[hidden] {
    display: none;
}

.lp27-camp-map__zoom-help:focus-visible {
    outline: 2px solid var(--lp27-map-orange);
    outline-offset: 3px;
}

.lp27-camp-map__zoom-help strong,
.lp27-camp-map__zoom-help b {
    color: var(--lp27-map-orange);
}

.lp27-camp-map__zoom-gestures {
    display: grid;
    gap: .4rem;
    font-size: .94rem;
}

.lp27-camp-map__zoom-dismiss {
    display: inline-block;
    padding: .3rem .8rem;
    border-radius: .35rem;
    color: var(--lp27-map-bg);
    background: var(--lp27-map-orange);
    font-weight: 700;
}

.lp27-camp-map__controls {
    display: flex;
    grid-column: 3;
    justify-self: end;
    gap: .38rem;
}

.lp27-camp-map__view-switch {
    display: flex;
    grid-column: 2;
    justify-self: center;
    gap: .38rem;
}

.lp27-camp-map__view-switch button {
    padding: .35rem .8rem;
    font-weight: 700;
}

.lp27-camp-map__view-switch button:hover {
    border-color: var(--lp27-map-orange);
}

.lp27-camp-map__view-switch button[aria-pressed="true"] {
    border-color: var(--lp27-map-orange);
    color: var(--lp27-map-bg);
    background: var(--lp27-map-orange);
}

.lp27-camp-map__controls button,
.lp27-camp-map__close {
    display: grid;
    place-items: center;
    width: 2.8rem;
    padding: 0;
    color: var(--lp27-map-orange);
    font-size: 1.45rem;
    line-height: 1;
}

.lp27-camp-map__controls button:disabled {
    color: var(--lp27-map-muted);
    cursor: default;
    opacity: .48;
}

.lp27-camp-map__controls button:not(:disabled):hover,
.lp27-camp-map__close:hover {
    border-color: var(--lp27-map-orange);
}

.lp27-camp-map__card {
    display: none;
    box-sizing: border-box;
    min-height: 9.5rem;
    padding: clamp(.85rem, 2vw, 1.4rem);
    color: var(--lp27-map-text);
    scroll-margin-block: 4.5rem .65rem;
}

.lp27-camp-map.is-plot-open .lp27-camp-map__card {
    display: block;
}

.lp27-camp-map__card h2 {
    margin: 0;
    color: inherit;
    font-size: clamp(1.48rem, 2vw, 2rem);
    line-height: 1.16;
}

.lp27-camp-map__card p {
    margin: .48rem 0 0;
    color: var(--lp27-map-muted);
}

.lp27-camp-map__detail {
    position: relative;
}

.lp27-camp-map__detail:has(.lp27-camp-map__close) > :is(h2, p) {
    padding-inline-end: 2.9rem;
}

.lp27-camp-map__detail > .lp27-camp-map__pitch-number {
    margin: 0 0 .23rem;
    color: var(--lp27-map-orange);
    font-size: .91rem;
    font-weight: 700;
}

.lp27-camp-map__detail > .lp27-camp-map__rental-status {
    margin: .35rem 0 0;
    color: var(--lp27-map-text);
    font-size: .87rem;
    font-weight: 650;
}

.lp27-camp-map__pitch-title:focus { outline: none; }

.lp27-camp-map__close {
    position: absolute;
    inset-block-start: 0;
    inset-inline-end: 0;
}

.lp27-camp-map__photo {
    margin: .88rem 0 0;
    color: var(--lp27-map-muted);
    font-size: .86rem;
}

.lp27-camp-map__photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: .38rem;
}

.lp27-camp-map__photo figcaption { margin-top: .18rem; }

.lp27-camp-map__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 5rem), 1fr));
    gap: .45rem;
    margin: .88rem 0 0;
}

.lp27-camp-map__stats > div {
    padding: .48rem .6rem;
    border: 1px solid var(--lp27-map-line);
    border-radius: .38rem;
    background: var(--lp27-map-bg);
    overflow-wrap: anywhere;
}

.lp27-camp-map__stats dt {
    font-size: .83rem;
    color: var(--lp27-map-muted);
}

.lp27-camp-map__stats dd {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 650;
}

.lp27-camp-map__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    margin-top: 1rem;
}

.lp27-camp-map__detail .lp27-camp-map__actions { align-items: stretch; }

.lp27-camp-map__actions p {
    width: 100%;
    margin: 0;
    color: var(--lp27-map-muted);
}

.lp27-camp-map__action {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: .45rem .7rem;
    border: 1px solid var(--lp27-map-line);
    border-radius: .45rem;
    color: var(--lp27-map-text);
    background: var(--lp27-map-bg);
    font-size: .94rem;
    font-weight: 650;
    line-height: 1.22;
    text-align: center;
    text-decoration: none;
}

.lp27-camp-map__action.is-primary {
    border-color: var(--lp27-map-orange);
    color: var(--lp27-map-bg);
    background: var(--lp27-map-orange);
}

.lp27-camp-map__action:hover { border-color: var(--lp27-map-orange); }
.lp27-camp-map__action.is-primary:hover { background: var(--oc-hover, #ffa15e); }

@media (min-width: 761px) {
    .lp27-camp-map__filter-panel > summary { display: none; }
    .lp27-camp-map__card {
        position: absolute;
        z-index: 1;
        inset-block-start: 4rem;
        inset-inline-end: 0;
        width: min(28%, 19rem);
        max-height: calc(100% - 4.2rem);
        overflow: auto;
        box-shadow: 0 .6rem 1.5rem rgb(0 0 0 / .28);
    }
}

@media (max-width: 760px) {
    .lp27-camp-map__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp27-camp-map__view-3d iframe { height: clamp(23rem, 60vh, 32rem); }
    .lp27-camp-map__card { min-height: auto; margin-top: .65rem; }
    .lp27-camp-map__filter {
        min-height: 2.35rem;
        padding-inline: .5rem;
        font-size: .88rem;
    }
}

@media (max-width: 580px) {
    .lp27-camp-map__toolbar {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: .28rem;
    }

    .lp27-camp-map__view-switch {
        grid-column: 1;
        min-width: 0;
        gap: .25rem;
    }

    .lp27-camp-map__view-switch button {
        padding-inline: .42rem;
        font-size: .79rem;
    }

    .lp27-camp-map__controls {
        grid-column: 2;
        gap: .24rem;
    }

    .lp27-camp-map__controls button {
        width: 2.15rem;
    }
}

@media (max-width: 600px) {
    .lp27-camp-map__filters {
        max-height: 9.5rem;
        overflow-y: auto;
        scrollbar-gutter: stable;
        padding: .25rem;
    }
}
