.wlm {
    width: 100%;
    margin: 0 auto;
}

.wlm-toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    align-items: stretch;
}

.wlm-search-wrap {
    flex: 1 1 auto;
    margin: 0;
}

.wlm-search,
.wlm-filter {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
    font: inherit;
}

.wlm-filter-wrap {
    width: 190px;
    margin: 0;
}

.wlm-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    min-height: 560px;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.wlm-map {
    min-height: 560px;
    width: 100%;
}

.wlm-list-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-left: 1px solid #e1e1e1;
}

.wlm-list-header {
    padding: 14px 16px;
    border-bottom: 1px solid #e1e1e1;
    font-size: 14px;
}

.wlm-list {
    overflow-y: auto;
    max-height: 560px;
}

.wlm-item {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    border-bottom: 1px solid #ededed;
    background: transparent;
    padding: 15px 16px;
    cursor: pointer;
    font: inherit;
}

.wlm-item:hover,
.wlm-item:focus-visible {
    background: #f7f7f7;
}

.wlm-item.is-active {
    background: #f0f0f0;
    box-shadow: inset 3px 0 0 currentColor;
}

.wlm-item-name {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.wlm-item-address,
.wlm-item-description {
    display: block;
    font-size: 14px;
    line-height: 1.45;
}

.wlm-item-address {
    margin-bottom: 5px;
}

.wlm-item-description {
    opacity: .72;
}

.wlm-empty {
    padding: 24px 16px;
    font-size: 14px;
}

.wlm-popup strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.wlm-popup-address {
    font-size: 13px;
    opacity: .72;
    margin-bottom: 8px;
}

.wlm-popup p {
    margin: 0;
    line-height: 1.45;
}

.wlm-attribution {
    margin: 6px 0 0;
    font-size: 11px;
    opacity: .65;
}

@media (max-width: 800px) {
    .wlm-toolbar {
        flex-direction: column;
    }

    .wlm-filter-wrap {
        width: 100%;
    }

    .wlm-layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .wlm-map {
        min-height: 420px;
        height: 420px;
    }

    .wlm-list-panel {
        border-left: 0;
        border-top: 1px solid #e1e1e1;
    }

    .wlm-list {
        max-height: 420px;
    }
}

.wlm-item-status,
.wlm-popup-status {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
}
.wlm-status-open { color: #187b34; }
.wlm-status-closed { color: #b32d2e; }


.wlm-popup-description p { margin: 0 0 8px; }
.wlm-popup-description p:last-child { margin-bottom: 0; }
.wlm-popup-description ul,
.wlm-popup-description ol { margin: 6px 0 8px 20px; padding: 0; }
.wlm-popup-description a,
.wlm-item-description a { text-decoration: underline; }
.wlm-item-description p { margin: 0 0 5px; }
.wlm-item-description p:last-child { margin-bottom: 0; }
.wlm-item-description ul,
.wlm-item-description ol { margin: 4px 0 4px 18px; padding: 0; }
