body.map-active,
html:has(body.map-active) {
    height: 100%;
}

.map_wrap {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.map_gnb {
    width: 95px;
    height: 100%;
    background: #294d89;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    overflow-y: auto;
    scrollbar-width: none;
    z-index: 300;
    padding-bottom: 16px;
}

.map_gnb::-webkit-scrollbar {
    display: none;
}

.map_gnb h1 {
    width: 100%;
    padding: 14px 8px 12px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    margin-bottom: 4px;
    flex-shrink: 0;
}

.logo-box {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5px;
    font-size: 1.3rem;
    color: #fff;
}

.map_gnb h1 .logo-text {
    font-size: .6rem;
    color: rgba(255, 255, 255, .7);
    line-height: 1.4;
    word-break: keep-all;
}

.map_list {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map_list li {
    width: 45%;
}

.map_list li a {
    display: block;
    padding: 7px 0;
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color .15s;
}

.map_list li a:hover {
    color: #fff;
}

.map_gnb nav {
    width: 100%;
    flex: 1;
}

.map_gnb nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map_gnb nav li {
    width: 100%;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    height: 105px;
}

.map_gnb nav li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    letter-spacing: -0.05rem;
    width: 100%;
    padding: 15px 0px;
    font-size: 0.8rem;
    line-height: 1.18;
    text-align: center;
    word-break: keep-all;
    font-weight: 500;
    color: #fff;
    transition: background .15s, color .15s;
    padding-top: 50px;
}

.map_gnb nav li.menu01 a {
    background: url(../images/map/map_menu01.png) no-repeat top 15px center;
}

.map_gnb nav li.menu02 a {
    background: url(../images/map/map_menu02.png) no-repeat top 25px center;
}

.map_gnb nav li.menu03 a {
    background: url(../images/map/map_menu03.png) no-repeat top 15px center;
}

.map_gnb nav li.menu04 a {
    background: url(../images/map/map_menu04.png) no-repeat top 20px center;
}

.map_gnb nav li.menu05 a {
    background: url(../images/map/map_menu05.png) no-repeat top 30px center;
}

.map_gnb nav li a:hover,
.map_gnb nav li a.on {
    background-color: #3cc3a2;
    color: #fff;
}

.map_gnb nav li a .menu-ico {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.map_gnb nav li a.on .menu-ico {
    color: #5bc8f5;
}

.map_gnb .sns {
    width: 100%;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 4px;
}

.map_gnb .sns li {
    width: 45%;
}

.map_gnb .sns li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .45);
    transition: color .15s;
}

.map_gnb .sns li a:hover {
    color: #fff;
}

.map_gnb .stat {
    display: block;
    width: 100%;
    margin: 4px 0px 0;
    font-weight: 600;
    padding: 7px 2px;
    text-align: center;
    font-size: .65rem;
    transition: background .15s, color .15s;
    background: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.map_gnb .stat:hover {
    background: rgba(255, 255, 255, 1);
    color: #294d89;
}

.map_cont {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 60% 70% at 48% 42%, #c8dce8 0%, #a4c2d6 40%, #8eb2ca 100%);
}

.map_cont::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(45deg, rgba(255, 255, 255, .09) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px, 40px 40px, 40px 40px;
}

.map_cont::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 32% 22% at 28% 34%, rgba(90, 120, 70, .28) 0%, transparent 100%),
        radial-gradient(ellipse 26% 18% at 63% 40%, rgba(80, 112, 68, .22) 0%, transparent 100%),
        radial-gradient(ellipse 22% 16% at 48% 58%, rgba(75, 108, 65, .2) 0%, transparent 100%),
        radial-gradient(ellipse 18% 14% at 18% 52%, rgba(88, 118, 72, .18) 0%, transparent 100%),
        radial-gradient(ellipse 20% 15% at 74% 62%, rgba(82, 114, 68, .2) 0%, transparent 100%);
}

.m-dot {
    position: absolute;
    width: 28px;
    height: 28px;
    background: #fff;
    border: 2px solid #294d89;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 700;
    color: #294d89;
    transform: translate(-50%, -50%);
    box-shadow: 0 1px 5px rgba(0, 0, 0, .22);
}

.m-dot.g {
    border-color: #3a8a4a;
    color: #3a8a4a;
}

.m-dot.o {
    border-color: #d06820;
    color: #d06820;
}

.m-lbl {
    position: absolute;
    font-size: .63rem;
    color: #222;
    background: rgba(255, 255, 255, .88);
    padding: 1px 5px;
    border-radius: 2px;
    white-space: nowrap;
    transform: translate(-50%, 12px);
}

.map_sec01 {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 300px;
    height: calc(100% - 20px);
    display: flex;
    flex-direction: column;
    z-index: 200;
    gap: 10px;
}

.map_search {
    flex-shrink: 0;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid #dde3ef;
    padding: 10px 12px 8px;
        box-shadow: 3px 0 16px rgba(0, 0, 0, .18);
    border-radius: 5px;
}

.map_search strong {
    display: block;
    font-size: .9rem;
    font-weight: 600;
    color: #545454;
    margin-bottom: 6px;
    padding-left: 35px;
    background: url(../images/map/ico_map_search.png) no-repeat left center;
    background-size: contain;
}

.search_inp {
    display: flex;
    align-items: center;
    border: 1.5px solid #3cc3a2;
    border-radius: 4px;
    overflow: hidden;
    height: 36px;
}

.search_inp input {
    flex: 1;
    height: 100%;
    border: none;
    padding: 0 10px;
    font-size: .8125rem;
    color: #333;
    min-width: 0;
}

.map_total_search {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: url(../images/map/search_mini.png) no-repeat center center #3cc3a2;
    color: #fff;
    text-indent: -9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    border: none;
}

.location {
    flex-shrink: 0;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid #e8edf5;
    padding: 12px 12px;
    border-radius: 5px;
        box-shadow: 3px 0 16px rgba(0, 0, 0, .18);
}

.location ul {
    justify-content: center;
    display: flex;
    align-items: center;
}

.location ul li {
    font-size: 16px;
    color: #999;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.location ul li + li::before {
    content: '';
    width: 16px;
    height: 16px;
    background: url(../images/map/right.png) no-repeat center center;
    display: inline-block;
    margin: 0 5px;
}

.location ul li:last-child {
    color: #555;
    font-weight: 500;
}

.left_layer {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow: hidden;
        box-shadow: 3px 0 16px rgba(0, 0, 0, .18);
    border-radius: 5px;
}

.lt_layer_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #3cc3a2;
    flex-shrink: 0;
}

.lt_layer_top h2 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
}

.lt_layer_top_actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lt_layer_download {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    cursor: pointer;
}

.lt_layer_download:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.32);
}

.lt_layer_download:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.lt_layer_download:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.lt_lyer_close {
    width: 28px;
    height: 28px;
    background: url(../images/map/close_white.png) no-repeat center center;
    background-size: 14px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-indent: -99999px;
    border: none;
}

.lt_lyer_close:hover {
    color: #fff;
}

.lt_layer_inner {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c8d2e0 transparent;
}

.lt_layer_inner::-webkit-scrollbar {
    width: 4px;
}

.lt_layer_inner::-webkit-scrollbar-thumb {
    background: #c8d2e0;
    border-radius: 2px;
}

.lt_layer_inner dt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 15px;
    font-size: .875rem;
    font-weight: 600;
    color: #1a3a5c;
    border-bottom: 1px solid #edf0f7;
    cursor: pointer;
    transition: background .15s;
    user-select: none;
}

.lt_layer_inner dt.has-sub::after {
    content: '\f067';
    font-family: 'Font Awesome 7 Free';
    font-weight: 900;
    font-size: .72rem;
    color: #aaa;
    flex-shrink: 0;
}

.lt_layer_inner dt span {
    font-size: .80rem;
    font-weight: 400;
    color: #999;
    margin-left: 5px;
    margin-right: auto;
}

.lt_layer_inner dt.open {
    background: #294d89;
    color: #fff;
}

.lt_layer_inner dt.open span {
    color: rgba(255, 255, 255, .7);
}

.lt_layer_inner dt:not(.open):hover {
    background: #f4f7fc;
}

.layer-sub-list {
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
    padding: 4px 0;
    margin: 0;
    list-style: none;
}

.layer-sub-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px 7px 28px;
    font-size: .80rem;
    color: #4a5568;
    cursor: pointer;
    transition: background .12s ease, color .12s ease;
    user-select: none;
}

.layer-sub-item:hover {
    background: #edf2f7;
    color: #1a202c;
}

.layer-sub-item.selected {
    background: #e2e8f0;
    color: #294d89;
    font-weight: 600;
}

.layer-sub-item .radio-icon {
    font-size: .70rem;
    color: #a0aec0;
    width: 12px;
    text-align: center;
}

.layer-sub-item.selected .radio-icon {
    color: #294d89;
}

.layer-sub-item .sub-name {
    flex: 1;
}

.map_sec02 {
    position: absolute;
    top: 10px;
    left: 320px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #fff;
    z-index: 150;
}

.map_sec02 > strong {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 30px;
    padding: 0 10px;
    background: url(../images/map/layer_select.png) no-repeat left center;
    padding-left: 30px;
    font-size: .9rem;
    font-weight: 600;
    color: #333;
    transition: background .15s;
}

.sel_layer {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.sel_layer li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #294d89;
    border-radius: 3px;
    font-size: .8rem;
    white-space: nowrap;
    font-weight: 600;
    flex-shrink: 0;
    border: solid 1px #294d89;
    padding: 0px 0px 0px 5px;
}

.sel_layer li button {
    color: #fff;
    font-size: .9rem;
    padding: 0;
    display: flex;
    align-items: center;
    background: url(../images/map/close_white.png) no-repeat center center #294d89;
    background-size: 10px;
    text-indent: -9999px;
    width: 25px;
    height: 25px;
    border: none;
    cursor: pointer;
}

.sel_layer li button:hover {
    color: #fff;
}

.map_top_right {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 160;
}

.map_sec03 ul {
    display: flex;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
}

.map_sec03 ul li a {
    display: inline-flex;
    align-items: center;
    height: 46px;
    padding: 0 10px;
    background: #fff;
    font-size: 0.9rem;
    color: #373737;
    font-weight: 500;
    white-space: nowrap;
    transition: background .15s, color .15s;
}

.map_sec03 ul li a:hover {
    background: #f5f5f5;
}

.map_sec03 ul li a.active {
    background: #294d89;
    color: #fff;
}

.map_sec04 ul {
    display: flex;
    border-radius: 5px;
    overflow: hidden;
}

.map_sec04 ul li a {
    display: inline-flex;
    align-items: center;
    height: 46px;
    padding: 0 11px;
    background: #fff;
    font-size: 0.9rem;
    color: #373737;
    font-weight: 500;
    white-space: nowrap;
    transition: background .15s;
}

.map_sec04 ul li a.active {
    background: #3cc3a2;
    color: #fff;
    font-weight: 700;
}

.map_sec04 ul li a:not(.active):hover {
    background: #f5f5f5;
}

.btn-mob-menu {
    width: 34px;
    height: 46px;
    background: #294d89;
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
    display: none;
    align-items: center;
    justify-content: center;
}

.map_sec05 {
    position: absolute;
    top: 65px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 100;
}

.map_sec05 .tool01,
.map_sec05 .tool02,
.map_sec05 .tool03 {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
}

.map_sec05 .tool01 ul {
    display: flex;
    flex-direction: column;
}

.map_sec05 .tool01 ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 55px;
    height: auto;
    font-size: .65rem;
    color: #555;
    border-bottom: 1px solid #edf0f7;
    transition: background .15s;
    text-align: center;
    line-height: 1.1;
    padding: 10px 0px;
}



.map_sec05 .tool01 ul li:last-child a {
    border-bottom: none;
}

.map_sec05 .tool01 ul li a:hover {
    background: #e8f0fb;
    font-weight:700;
}

.map_sec05 .tool01 ul li a::before {
    display:block;
    width:16px;
    height:16px;
    content:'';
}

.map_sec05 .tool01 li:nth-child(1) a::before {
    background:url(../images/map/map_icon01.svg) no-repeat center center;
    background-size:16px;
}

.map_sec05 .tool01 li:nth-child(2) a::before {
    background:url(../images/map/map_icon02.svg) no-repeat center center;
    background-size: 16px;
}

.map_sec05 .tool01 li:nth-child(3) a::before {
    background:url(../images/map/map_icon03.svg) no-repeat center center;
    background-size:16px;
}

.map_sec05 .tool01 li:nth-child(4) a::before {
    background:url(../images/map/map_icon04.svg) no-repeat center center;
    background-size:16px;
}

.map_sec05 .tool02 ul {
    display: flex;
    flex-direction: column;
}

.map_sec05 .tool02 ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 55px;
    height: auto;
    font-size: .60rem;
    color: #555;
    border-bottom: 1px solid #edf0f7;
    transition: background .15s;
    text-align: center;
    line-height: 1.1;
    padding: 10px 0px;
}

.map_sec05 .tool02 ul li a i {
    font-size:16px;
    color:#999;
}


.map_sec05 .tool02 ul li a:hover {
    font-weight:700;
}
.map_sec05 .tool02 ul li a:hover i {
    color:#3cc3a2;
}
.map_sec05 .tool02 ul li a.active i {
    color:#294d89;
}

.map_sec05 .tool02 ul li a.active  {
    background:#3cc3a2;
    color:#fff;
}
.map_sec05 .tool02 ul li a.active i {
    color:#fff;
}
.map_sec05 .tool03 ul {
    display: flex;
    flex-direction: column;
}

.map_sec05 .tool03 ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 55px;
    height: auto;
    font-size: .60rem;
    color: #555;
    border-bottom: 1px solid #edf0f7;
    transition: background .15s;
    text-align: center;
    line-height: 1.1;
    padding: 10px 0px;
}

.map_sec05 .tool03 ul li a i {
    font-size:16px;
    color:#999;
}

.map_sec05 .tool03 ul li a:hover {
    font-weight:700;
}
.map_sec05 .tool03 ul li a:hover i {
    color:#294d89;
}

.map_sec05 .tool03 ul li a.active {
    background:#294d89;
    color:#fff;
}

.map_sec05 .tool03 ul li a.active i {
    color:#fff;
}
.map_notice {
    position: absolute;
    bottom: 8px;
    left: 300px;
    right: 56px;
    text-align: center;
    font-size: .62rem;
    color: rgba(255, 255, 255, .9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
    z-index: 50;
    pointer-events: none;
}


.map_scale {
    position: absolute;
    bottom: 26px;
    right: 62px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    z-index: 50;
}

.map_scale_label {
    font-size: .62rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
}

.map_scale_bar {
    width: 80px;
    height: 6px;
    border: 1.5px solid rgba(255, 255, 255, .9);
    border-top: none;
    background: linear-gradient(to right, rgba(255, 255, 255, .9) 50%, transparent 50%);
}
.mob_toggle_bar {
    display:none;
}
.map_sec05 .tool2 ul li a i {
    font-family:'font awesome 7 free';
    font-size:16px;
    color:#999;
}

@media (max-width: 1024px) {
    .map_sec01 {
        position: fixed;
        top: 0;
        left: 0;
        height: calc(100% - 70px);
        transform: translateX(0px);
        transition: transform .3s ease;
        z-index: 400;
    }

    .map_sec01.open {
        transform: translateX(0);
    }

    .map_sec02 {
        left: 0;
    }

    .map_top_right .map_sec04 {
        display: none;
    }

    .btn-mob-menu {
        display: flex;
    }

    .map_notice {
        left: 10px;
    }

    .map_gnb {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        width: 100%;
        height: 60px;
        flex-direction: row;
        justify-content: space-around;
        padding: 0;
        z-index: 500;
        overflow: visible;
    }

    .map_gnb h1,
    .map_list,
    .map_gnb .sns,
    .map_gnb .stat {
        display: none;
    }

    .map_gnb nav {
        flex: none;
        width: 100%;
    }

    .map_gnb nav ul {
        flex-direction: row;
        justify-content: space-around;
        gap: 0;
        padding: 0;
        height: 60px;
        align-items: stretch;
    }

    .map_gnb nav li {
        flex: 1;
        height: 100%;
        border-right: solid 1px rgba(255, 255, 255, 0.3);
    }

    .map_gnb nav li a {
        width: 100%;
        height: 100%;
        border-radius: 0;
        font-size: 0.8rem;
        padding: 4px 2px;
        background: none !important;
    }

    .map_gnb nav li a.on {
        width: 100%;
        height: 100%;
        border-radius: 0;
        font-size: 0.8rem;
        padding: 4px 2px;
        background: #3cc3a2 !important;
    }

    .map_gnb nav li a .menu-ico {
        width: 22px;
        height: 22px;
        font-size: .9rem;
    }
}

@media (max-width: 768px) {
    .map_wrap {
        flex-direction: column;
    }

    .map_cont {
        margin-bottom: 60px;
    }

    .map_sec01 {
        width: 90%;
        left: 50%;
        top: 50%;
        height: calc(100% - 150px);
        transform: translate(-50%, -50%);
        z-index: 450;
    }

    .map_sec01.open {
        transform: translateX(0);
    }

    .map_sec02 {
        left: 0;
    }

    .map_top_right .map_sec03,
    .map_top_right .map_sec04 {
        display: none;
    }

    .map_sec05 {
        top: 55px;
        right: 6px;
    }

    .map_sec05 ul li a {
        width: 50px;
        height: 50px;
        font-size: .6rem;
    }

    .map_sec05 ul li a::before {
        font-size: .85rem;
    }

    .map_notice {
        left: 6px;
        right: 46px;
    }

    .only_pc {
        display: none;
    }
}

@media (max-width: 480px) {
    .map_sec02 {
        padding: 6px 8px;
        gap: 5px;
    }

    .map_gnb nav li a {
        font-size: 12px;
    }
}

@media (max-width: 960px) {

    .mob_toggle_bar {
        display: flex;
        position: absolute;
        top: 10px;
        left: 10px;
        right: 10px;
        z-index: 600;
        gap: 6px;
        flex-wrap: wrap;
        pointer-events: auto;
    }

    .mob_btn {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        height: 36px;
        padding: 0 11px;
        background: #294d89;
        color: #fff;
        border: none;
        border-radius: 4px;
        font-size: 0.75rem;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
        transition: background 0.15s;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
    }

    .mob_btn:hover,
    .mob_btn.active {
        background: #3cc3a2;
    }

    .mob_btn i {
        font-size: 0.82rem;
    }

    .map_sec01 {
        position: absolute !important;
        top: 56px !important;
        left: 10px !important;
        width: auto;
        height: calc(100% - 130px);
        gap: 8px;
        transform: none !important;
        display: flex !important;
        z-index: 400;
        flex-direction: column;
        pointer-events: none;
    }

    .map_search {
        display: none;
        pointer-events: auto;
        padding: 8px 12px 8px;
    }

    .map_search.mob_open {
        display: block !important;
    }

    .location {
        display: none;
        pointer-events: auto;
    }
    .location.mob_open {
        width:auto;
    }

    .location.mob_open {
        display: block !important;
        padding: 10px 20px;
        width: auto;
    }
    .location ul li {
        font-size:14px;
    }

    .left_layer {
        display: none;
        pointer-events: auto;
        flex: none;
        height: calc(100vh - 180px);
    }

    .left_layer.mob_open {
        display: flex !important;
    }

    .map_sec02 {
        display: none !important;
    }

    .map_top_right {
        position: absolute !important;
        top: 56px !important;
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
        display: flex !important;
        pointer-events: none;
        width: calc(100% - 20px);
    }

    .map_sec03 {
        display: none;
        pointer-events: auto;
    }
    .map_sec03 li {
        border-right:solid 1px #eaeaea;
    }
    .map_sec04 li {
        border-right:solid 1px #eaeaea;
    }

    .map_sec03.mob_open {
        display: block !important;
        margin-right: auto;
        box-shadow: 3px 0 16px rgba(0, 0, 0, .18);
    }

    .map_sec04 {
        display: none;
        pointer-events: auto;
    }

    .map_sec04.mob_open {
        display: block !important;
        margin-right: auto;
    }

    .map_sec05 {
        position: absolute !important;
        top: 56px !important;
        right: 0px !important;
        display: flex !important;
        flex-direction: column;
        gap: 8px;
        z-index: 200;
        pointer-events: auto;
    }
    .map_sec03 ul li a {
        font-size: 14px;
        height: 42px;
    }
.map_sec04 {
        box-shadow: 3px 0 16px rgba(0, 0, 0, .18);
    }
.map_sec04 ul li a {
    height:42px;
    font-size: 14px;
}
    .lt_layer_top h2 {
        font-size:1rem;
    }
    .lt_layer_top {
        padding:7px 10px 7px 20px;
    }
}

/* 지도 통합검색 마커 핀 스타일 추가 */
.map-search-marker {
    position: relative;
    width: 32px;
    height: 42px;
    background: url('../images/map/marker_blue.png') no-repeat center bottom;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.3));
}

.map-search-marker span {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px; /* 핀 바늘 위 말풍선 높이 보정 */
}

/* 통합검색 컴포넌트 전용 스타일 추가 */
.search-result.layer-pop--blue {
    margin-top: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14), 0 2px 4px rgba(15, 23, 42, 0.06);
    background: #fff;
    display: flex;
    flex-direction: column;
}

.search-result.layer-pop--blue.search-result--floating {
    position: fixed;
    top: 65px;
    right: 75px;
    z-index: 200;
    margin-top: 0;
    width: 280px;
    max-width: calc(100vw - 90px);
    max-height: calc(100vh - 90px);
    color: #1e293b;
    outline: none;
}

.search-result .layer-pop__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 16px;
    background: #294d89;
    color: #fff;
    flex-shrink: 0;
}

.search-result .layer-pop__title {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.search-result .layer-pop__title em {
    font-style: normal;
    color: #3cc3a2;
    font-weight: 700;
}

.search-result .layer-pop__close {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
    flex-shrink: 0;
}

.search-result .layer-pop__close:hover,
.search-result .layer-pop__close:focus-visible {
    background: rgba(255, 255, 255, 0.16);
}

.search-result__list,
.layer-search-group__body {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c8d2e0 transparent;
}

.search-result__list::-webkit-scrollbar,
.layer-search-group__body::-webkit-scrollbar {
    width: 5px;
}

.search-result__list::-webkit-scrollbar-thumb,
.layer-search-group__body::-webkit-scrollbar-thumb {
    background: #c8d2e0;
    border-radius: 3px;
}

.search-result__list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 380px;
    border-bottom: 1px solid #f1f5f9;
}

.search-result__empty {
    margin: 0;
    padding: 30px 16px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.search-result__empty--compact {
    padding: 16px;
}

.search-result__error {
    margin: 0;
    padding: 12px 16px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 12px;
    line-height: 1.45;
}

.search-result__item {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background-color: #fff;
    transition: background-color 0.15s ease;
    border-left: 4px solid transparent;
}

.search-result__item:hover {
    background-color: #f8fafc;
}

.search-result__item.is-active {
    background-color: #f4f7fc;
    border-left: 4px solid #294d89;
}

.search-result__main {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
}

.search-result__marker-label {
    color: #294d89;
    font-weight: 800;
    margin-right: 8px;
    font-size: 14px;
}

.search-result__sub {
    margin: 4px 0 0 22px;
    font-size: 12px;
    color: #64748b;
}

.search-result__sub .badge {
    display: inline-flex;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    margin-right: 6px;
}

.search-result__sub .badge--road {
    background: #e2e8f0;
    color: #475569;
}

.search-result__sub .badge--jibun {
    background: #f1f5f9;
    color: #94a3b8;
}

.search-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}

.search-pagination__btn {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.search-pagination__btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.search-pagination__num {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-pagination__num.is-active {
    background: #294d89;
    border: 1px solid #294d89;
    color: #fff;
    font-weight: 700;
}

.search-result__hint {
    margin: 0;
    padding: 12px 16px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    font-size: 12px;
    color: #0f766e;
    text-align: center;
    font-weight: 500;
    flex-shrink: 0;
}

/* 우측 레이어별 검색결과 아코디언 */
.layer-search-group__body {
    flex: 1;
    min-height: 0;
    background: #fff;
}

.layer-search-group {
    border-bottom: 1px solid #e2e8f0;
}

.layer-search-group:last-child {
    border-bottom: none;
}

.layer-search-group__trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 16px;
    border: none;
    border-left: 4px solid transparent;
    background: #f8fafc;
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.layer-search-group__trigger:hover {
    background: #f1f5f9;
}

.layer-search-group__trigger.is-open {
    background: #eef3fb;
    border-left-color: #3cc3a2;
    color: #294d89;
}

.layer-search-group__title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.layer-search-group__count {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    border-radius: 10px;
    background: rgba(60, 195, 162, 0.16);
    color: #0f766e;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.layer-search-group__chevron {
    font-size: 10px;
    color: #64748b;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.layer-search-group__trigger.is-open .layer-search-group__chevron {
    color: #294d89;
}

.layer-search-group__panel {
    border-top: 1px solid #e2e8f0;
    background: #fff;
}

.layer-search-group__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.layer-search-group__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
    border-left: 4px solid transparent;
    background: #fff;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.layer-search-group__item:last-child {
    border-bottom: none;
}

.layer-search-group__item:hover {
    background: #f8fafc;
}

.layer-search-group__item.is-checked {
    background: #f0fdf9;
}

.layer-search-group__item.is-active {
    background: #f4f7fc;
    border-left-color: #294d89;
}

.layer-search-group__checkbox {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #294d89;
    cursor: pointer;
    flex-shrink: 0;
}

.layer-search-group__label {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0;
    text-align: left;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: #1e293b;
    overflow-wrap: anywhere;
}

.layer-search-group__item.is-checked .layer-search-group__label,
.layer-search-group__item.is-active .layer-search-group__label {
    font-weight: 600;
    color: #294d89;
}

@media (max-width: 768px) {
    .search-result.layer-pop--blue.search-result--floating {
        top: auto;
        right: 10px;
        bottom: 16px;
        width: calc(100vw - 20px);
        max-width: none;
        max-height: 45vh;
    }
}

/* 활성 레이어 피처 정보조회 */
.map_sec05 .tool01 ul li a.is-active {
    background: #294d89;
    color: #fff;
    font-weight: 700;
    box-shadow: inset 3px 0 0 #7fb0ec;
}

.feature-info-popup {
    position: fixed;
    width: min(360px, calc(100vw - 32px));
    max-height: min(460px, calc(100vh - 32px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #294d89;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(24, 49, 84, .25);
    z-index: 900;
}

.feature-info-popup__header {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 10px 9px 14px;
    background: #294d89;
    color: #fff;
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.feature-info-popup__header.is-dragging {
    cursor: grabbing;
}

.feature-info-popup__header strong,
.feature-info-popup__eyebrow {
    display: block;
}

.feature-info-popup__header strong {
    max-width: 270px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
}

.feature-info-popup__eyebrow {
    margin-bottom: 2px;
    color: #cfe0f7;
    font-size: 11px;
    font-weight: 500;
}

.feature-info-popup__close {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font-size: 22px;
    line-height: 22px;
    cursor: pointer;
}

.feature-info-popup__close:hover,
.feature-info-popup__close:focus-visible {
    background: rgba(255, 255, 255, .18);
}

.feature-info-popup__body {
    overflow-y: auto;
    padding: 12px 14px 14px;
    color: #333;
}

.feature-info-popup__guide,
.feature-info-popup__status {
    margin: 0;
    padding: 20px 10px;
    color: #5b6472;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.feature-info-popup__status.is-error {
    color: #b42318;
}

.feature-info-popup__item {
    border-top: 1px solid #dce5f0;
}

.feature-info-popup__item:first-of-type {
    border-top: 0;
}

.feature-info-popup__item summary {
    padding: 10px 2px;
    color: #294d89;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.feature-info-popup__item dl {
    margin: 0 0 8px;
    border-top: 1px solid #e8edf3;
}

.feature-info-popup__item dl > div {
    display: grid;
    grid-template-columns: minmax(96px, 40%) 1fr;
    border-bottom: 1px solid #e8edf3;
}

.feature-info-popup__item dt,
.feature-info-popup__item dd {
    min-width: 0;
    margin: 0;
    padding: 8px 9px;
    overflow-wrap: anywhere;
    font-size: 12px;
    line-height: 1.4;
}

.feature-info-popup__item dt {
    background: #f3f6fa;
    color: #42526a;
    font-weight: 600;
}

.feature-info-popup__item dd {
    color: #222;
}

@media (max-width: 480px) {
    .feature-info-popup {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }
}



/* 산림지도 다운로드: 우측 영역 선택 + 선택 영역 검색결과 팝업 */
.download-popups {
    position: absolute;
    top: 60px;
    right: 10px;
    z-index: 220;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-height: calc(100% - 76px);
}

.download-popups .search-result.layer-pop--blue {
    margin-top: 0;
    max-height: min(560px, calc(100vh - 150px));
    color: #1e293b;
}

.download-select-pop {
    width: 340px;
    height: min(560px, calc(100vh - 150px));
}

.download-select-pop__body {
    flex: 1;
    min-height: 0;
    padding: 10px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c8d2e0 transparent;
}

.selection-result {
    width: 270px;
}

.selection-result__body {
    min-height: 120px;
}

.selection-result .layer-search-group__trigger.is-open {
    background: #1f6b52;
    color: #fff;
    border-left-color: #3cc3a2;
}

.selection-result .layer-search-group__trigger.is-open .layer-search-group__count {
    color: #d7f5ea;
}

.selection-result__label {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: #1e293b;
    word-break: break-all;
}

.selection-result__actions {
    display: flex;
    gap: 6px;
    padding: 10px;
    border-top: 1px solid #e2e8f0;
    background: #fff;
    flex-shrink: 0;
}

.selection-result__btn {
    flex: 1;
    min-height: 40px;
    padding: 4px 2px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}

.selection-result__btn--offline {
    color: #334155;
    background: #fff;
    border-color: #94a3b8;
}

.selection-result__btn--download {
    background: #e5173f;
}

.selection-result__btn--all {
    background: #1f6b52;
}

.selection-result__btn:hover:not(:disabled) {
    filter: brightness(1.08);
}

.selection-result__btn:focus-visible {
    outline: 2px solid #294d89;
    outline-offset: 2px;
}

.selection-result__btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .download-popups {
        top: auto;
        bottom: 16px;
        left: 10px;
        right: 10px;
        flex-direction: column-reverse;
        max-height: calc(100% - 90px);
        overflow-y: auto;
    }

    .download-select-pop,
    .selection-result {
        width: 100%;
    }

    .download-select-pop {
        height: 320px;
    }

    .download-popups .search-result.layer-pop--blue {
        max-height: 320px;
    }
}

.selection-download-request {
  width: min(36rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 1.5rem;
  border: 1px solid #aab8c2;
  border-radius: 8px;
  background: #fff;
}
.selection-download-request::backdrop { background: rgb(0 0 0 / 45%); }
.selection-download-request h2 { margin-bottom: 1rem; font-size: 1.25rem; }
.selection-download-request .frm__row { display: grid; gap: 0.35rem; margin-bottom: 0.75rem; }
.selection-download-request [role="alert"] { margin-top: 0.5rem; color: #a12020; }
.selection-download-request__choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 0 0.75rem;
}
.selection-download-request__choices > :first-child {
  grid-column: 1 / -1;
}
.selection-result__download-notice {
  padding: 0.5rem 1rem;
}
.selection-result__download-notice button {
  margin-top: 0.25rem;
}
.selection-download-request__actions { display: flex; justify-content: flex-end; gap: 0.5rem; }
