.ep-area-map-canvas {
    height: 300px;
    border: 1px solid #e4e9e3;
    border-radius: 10px;
    overflow: hidden;
}
.ep-area-map-missing {
    margin: 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f6f8f5;
    color: #5f6b5b;
    font-size: 13px;
}
.ep-area-map .maplibregl-ctrl-group {
    overflow: hidden;
    border: 1px solid #d5ddd3;
    border-radius: 10px;
    box-shadow: none;
}
.ep-area-map .ep-map-looks {
    display: flex;
    align-items: center;
    padding: 3px;
    border: 1px solid #d5ddd3;
    border-radius: 10px;
    background: #fff;
}
.ep-area-map .ep-map-looks button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: auto;
    height: auto;
    padding: 5px 9px;
    border-radius: 7px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    color: #39463f;
    cursor: pointer;
}
.ep-area-map .ep-map-looks button:not(.is-active):hover {
    background: #ecf7e6 !important;
    color: #237a06;
}
.ep-area-map .ep-map-looks button.is-active,
.ep-area-map .ep-map-looks button.is-active:hover {
    background: #2fa308 !important;
    color: #fff;
}
.ep-area-map .ep-map-tilt {
    position: relative;
    margin-left: 6px;
}
.ep-area-map .ep-map-tilt::before {
    content: "";
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: -4px;
    width: 1px;
    background: #e4e9e3;
}
.ep-area-map .ep-map-tilt svg {
    width: 14px;
    height: 14px;
}
.ep-area-map .ep-map-looks button:focus-visible {
    outline: 2px solid #237a06;
    outline-offset: 1px;
}
.ep-area-map-canvas:fullscreen {
    height: 100%;
    border-radius: 0;
}
@media (max-width: 480px) {
    .ep-area-map .ep-map-looks button {
        padding: 5px 6px;
    }
}
.fi-modal .ep-area-map-canvas {
    height: max(420px, calc(100dvh - 500px));
}
.ep-pasti-map .ep-area-map-canvas {
    height: max(360px, calc(100dvh - 420px));
}
@media print {
    .ep-area-map .maplibregl-ctrl-top-left,
    .ep-area-map .maplibregl-ctrl-top-right,
    .ep-area-map .maplibregl-ctrl-group,
    .ep-area-map .maplibregl-ctrl-attrib-button {
        display: none !important;
    }
    .ep-area-map .maplibregl-ctrl-attrib {
        background: rgb(255 255 255 / .8) !important;
    }
    .ep-area-map .maplibregl-ctrl-attrib-inner {
        display: block !important;
        font-size: 8px;
    }
    /* Scale the screen picture down, so the area stays framed. */
    .ep-area-map-canvas,
    .ep-pasti-map .ep-area-map-canvas,
    .fi-modal .ep-area-map-canvas,
    .ep-area-map .maplibregl-canvas-container {
        height: auto !important;
        border-radius: 6px;
    }
    .ep-area-map .maplibregl-canvas {
        position: static !important;
        display: block;
        width: 100% !important;
        height: auto !important;
    }
    .fi-section:not(:has(table)) {
        break-inside: avoid;
    }
    a[href^="https://www.google.com/maps"] {
        display: none !important;
    }
}
