.map-embed {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #e0e7ff;
    color: #312e81;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.map-embed.map-ready {
    color: inherit;
    letter-spacing: normal;
}

.public-map-stage {
    position: relative;
    width: 100%;
    background: #dbeafe;
}

.public-map-frame {
    position: relative;
    width: 100%;
    padding-top: 66.6667%;
    min-height: 320px;
}

.public-map-canvas,
.public-map-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}



.map-loading,
.map-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(49, 46, 129, 0.08);
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 14px;
    color: #312e81;
    text-align: center;
    z-index: 4;
}

.public-map-stage[data-map-ready="true"] .map-loading {
    display: none;
}

.map-legend {
    margin-top: 18px;
    font-size: 13px;
    color: #4b5569;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(31, 41, 55, 0.1);
    border-radius: 999px;
    color: var(--primary, #1f2937);
}

.map-marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--marker-color, var(--primary, #1f2937));
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px rgba(31, 41, 55, 0.18);
}
