.zm-map-app {
    display: grid;
    grid-template-columns: 276px minmax(0, 1fr);
    gap: 18px;
    min-height: 620px;
    color: #303646;
}

.zm-map-panel,
.zm-map-stage {
    overflow: hidden;
    border: 1px solid #e6e9f1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(42, 52, 90, .07);
}

.zm-map-panel {
    display: flex;
    min-width: 0;
    max-height: 680px;
    flex-direction: column;
}

.zm-map-search {
    padding: 20px 18px 17px;
    border-bottom: 1px solid #edf0f5;
    background: linear-gradient(145deg, #f8f9ff, #fff);
}

.zm-map-search label {
    display: block;
    margin-bottom: 9px;
    color: #252b3a;
    font-size: 15px;
    font-weight: 750;
}

.zm-map-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 8px;
}

.zm-map-search-row input {
    width: 100%;
    min-width: 0;
}

.zm-map-search-row button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    color: #fff;
    background: linear-gradient(125deg, #5368f8, #7358ed);
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(83, 104, 248, .2);
}

.zm-map-status {
    min-height: 21px;
    margin: 9px 1px 0;
    color: #858c9d;
    font-size: 12px;
    line-height: 1.7;
}

.zm-map-status.is-error { color: #c55364; }

.zm-map-regions {
    min-height: 0;
    padding: 17px 12px 18px;
    overflow-y: auto;
}

.zm-map-panel-title {
    padding: 0 6px 10px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.zm-map-panel-title strong { color: #323848; font-size: 14px; }
.zm-map-panel-title span { color: #9aa0ae; font-size: 11px; }

.zm-map-region-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
}

.zm-map-region-list a {
    min-width: 0;
    padding: 7px 8px;
    overflow: hidden;
    border-radius: 9px;
    color: #596174 !important;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: color .16s ease, background .16s ease;
}

.zm-map-region-list a:hover,
.zm-map-region-list a.is-active {
    color: #485de9 !important;
    background: #eef1ff;
}

.zm-map-stage {
    position: relative;
    min-width: 0;
    height: clamp(620px, 68vh, 680px);
    background: #eef2f7;
}

#containergaode {
    width: 100%;
    height: 100%;
    min-height: 620px;
}

.zm-map-stage-label {
    position: absolute;
    z-index: 5;
    top: 16px;
    left: 16px;
    max-width: calc(100% - 32px);
    padding: 9px 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(226, 230, 240, .92);
    border-radius: 11px;
    color: #3d4557;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 22px rgba(39, 48, 79, .12);
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(12px);
}

.zm-map-stage-label i { color: #5368f8; }

.zm-map-fallback {
    position: absolute;
    inset: 0;
    z-index: 4;
    padding: 30px;
    display: grid;
    place-content: center;
    justify-items: center;
    color: #737b8d;
    background: linear-gradient(145deg, #f4f6fb, #fafbfe);
    text-align: center;
}

.zm-map-fallback[hidden] { display: none; }
.zm-map-fallback i { margin-bottom: 12px; color: #6578ee; font-size: 42px; }
.zm-map-fallback strong { color: #343b4c; font-size: 18px; }
.zm-map-fallback p { margin: 5px 0 0; font-size: 13px; }

@media (max-width: 980px) {
    .zm-map-app { grid-template-columns: 232px minmax(0, 1fr); }
    .zm-map-search-row { grid-template-columns: 1fr; }
    .zm-map-search-row button { width: 100%; }
    .zm-map-region-list { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .zm-map-app { display: flex; min-height: 0; flex-direction: column; gap: 14px; }
    .zm-map-panel { max-height: none; }
    .zm-map-search-row { grid-template-columns: minmax(0, 1fr) 76px; }
    .zm-map-regions { max-height: 210px; }
    .zm-map-region-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .zm-map-stage { height: 480px; }
    #containergaode { min-height: 480px; }
}

@media (max-width: 430px) {
    .zm-map-region-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zm-map-stage { height: 420px; }
    #containergaode { min-height: 420px; }
}
