.lm2-map-popover {
    --lm2-single-bg-color: #fff;
    --lm2-single-text-color: #212529;
    --lm2-button-color: #30476a;
    --lm2-button-text-color: #fff;
    position: fixed;
    z-index: 100100;
    inset: auto;
    width: min(292px, calc(100vw - 16px));
    margin: 0;
    box-sizing: border-box;
    isolation: isolate;
    border-radius: 10px;
    background: var(--lm2-map-card-bg-color,var(--lm2-single-bg-color,#fff));
    color: var(--lm2-single-text-color,#212529);
    box-shadow: 0 0 0 1px var(--lm2-single-border-color,#d5d9dd), 0 5px 24px rgb(10 16 26 / 25%);
}
.lm2-map-popover::after {
    content: "";
    position: absolute;
    left: var(--lm2-tip-x, 50%);
    width: 14px;
    height: 14px;
    background: inherit;
    transform: translateX(-50%) rotate(45deg);
    pointer-events: none;
    z-index: -1;
}
.lm2-map-popover[data-side="above"]::after { bottom: -7px; }
.lm2-map-popover[data-side="below"]::after { top: -7px; }
/* Hit area from the polygon to the card across the gap beside the arrow. */
.lm2-map-popover[role="dialog"][data-hover]::before {
    content: "";
    position: absolute;
    left: clamp(0px, calc(var(--lm2-tip-x, 50%) - 24px), calc(100% - 48px));
    width: 48px;
    height: 11px;
}
.lm2-map-popover[data-side="above"]::before { top: 100%; }
.lm2-map-popover[data-side="below"]::before { bottom: 100%; }
.lm2-map-popover[role="tooltip"] { width: max-content; pointer-events: none; }
.lm2-map-popover[role="tooltip"] .lm2-map-popover-body { padding: 6px 12px; font: 650 14px/1.4 Arial, sans-serif; }
.lm2-map-popover .lm2-map-popover-body {
    position: relative;
    overflow: auto;
    overscroll-behavior: contain;
    border-radius: inherit;
}
.lm2-map-popover .lm2-map-card { width: 100%; }
.lm2-map-popover .lm2-map-card h3 { padding-right: 32px !important; overflow-wrap: anywhere; }
.lm2-map-popover .lm2-map-card dl > div { align-items: baseline; }
.lm2-map-popover .lm2-map-card dd { margin-left: auto !important; text-align: right; overflow-wrap: anywhere; }
.lm2-map-popover .lm2-map-popover-close {
    position: absolute;
    inset: 2px 2px auto auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    background: transparent;
    color: var(--lm2-single-text-color,#212529);
    font: 400 24px/1 Arial, sans-serif;
    cursor: pointer;
}
.lm2-map-popover .lm2-map-popover-close:hover { background: var(--lm2-single-surface-color,#ebeef0); }
.lm2-map-popover .lm2-map-popover-close:focus-visible { outline: 2px dashed currentColor; outline-offset: -4px; }
