/*
 * 3D project editor and viewer: overrides of project-map-view.css, layers and description panel.
 * Merged from separate files in this order; later sections override earlier ones.
 */

/* ---- project-3d-polish ---- */

.project-3d-poi-marker.multi-altitude .project-3d-poi-marker-ball {
    border-color: transparent !important;
    box-shadow:
        inset -2px -4px 6px rgba(0, 0, 0, 0.16),
        inset 2px 3px 5px rgba(255, 255, 255, 0.2),
        0 3px 8px rgba(0, 0, 0, 0.62) !important;
    background:
        radial-gradient(ellipse at 32% 12%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.13) 19%, transparent 35%),
        linear-gradient(90deg, #168235, #35b94b 28%, #72db80 49%, #2aa744 70%, #126b2b) !important;
}

.project-3d-poi-marker.multi-altitude.icon-blue .project-3d-poi-marker-ball {
    background:
        radial-gradient(ellipse at 32% 12%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.13) 19%, transparent 35%),
        linear-gradient(90deg, #126da8, #2699dc 30%, #70c9f2 49%, #218bc9 70%, #0d6097) !important;
}
.project-3d-poi-marker.multi-altitude.icon-red .project-3d-poi-marker-ball {
    background:
        radial-gradient(ellipse at 32% 12%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.12) 19%, transparent 35%),
        linear-gradient(90deg, #ae3028, #e65348 30%, #ff9187 49%, #d84439 70%, #98271f) !important;
}
.project-3d-poi-marker.multi-altitude.icon-yellow .project-3d-poi-marker-ball {
    background:
        radial-gradient(ellipse at 32% 12%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.16) 19%, transparent 35%),
        linear-gradient(90deg, #c59612, #edcb35 30%, #fff183 49%, #ddb927 70%, #ad800b) !important;
}
.project-3d-poi-marker.multi-altitude.icon-panorama .project-3d-poi-marker-ball {
    background:
        radial-gradient(ellipse at 32% 12%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.13) 19%, transparent 35%),
        linear-gradient(90deg, #126da8, #2699dc 30%, #78cff5 49%, #218bc9 70%, #0d6097) !important;
}
.project-3d-poi-marker.icon-mountain .project-3d-poi-marker-ball {
    background: radial-gradient(circle at 34% 27%, #dbe5eb, #70828e 42%, #34454f 75%, #19252c) !important;
}
.project-3d-poi-marker.icon-mountain .project-3d-poi-marker-ball span {
    color: #fff;
    font-size: 10px;
    text-shadow: 0 1px 2px #111;
}
.project-3d-poi-marker.multi-altitude.icon-mountain .project-3d-poi-marker-ball {
    background:
        radial-gradient(ellipse at 32% 12%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.14) 19%, transparent 35%),
        linear-gradient(90deg, #34434c, #7f919b 48%, #2a3942) !important;
}

.project-3d-list-icon.legend-capsule {
    width: 13px !important;
    min-width: 13px !important;
    max-width: 13px !important;
    height: 19px !important;
    min-height: 19px !important;
    max-height: 19px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #168235, #72db80 52%, #1e943b) !important;
}
.project-3d-list-icon.legend-capsule.icon-blue,
.project-3d-list-icon.legend-capsule.icon-panorama {
    background: linear-gradient(90deg, #126da8, #70c9f2 52%, #187fb9) !important;
}
.project-3d-list-icon.legend-capsule.icon-red {
    background: linear-gradient(90deg, #ae3028, #ff9187 52%, #c63b32) !important;
}
.project-3d-list-icon.legend-capsule.icon-yellow {
    background: linear-gradient(90deg, #c59612, #fff183 52%, #d0aa1b) !important;
}
.project-3d-list-icon.icon-mountain {
    position: relative;
    background: radial-gradient(circle at 34% 27%, #dbe5eb, #70828e 44%, #263740 78%) !important;
}
.project-3d-list-icon.legend-capsule.icon-mountain {
    background: linear-gradient(90deg, #34434c, #91a2ab 52%, #2a3942) !important;
}
.project-3d-list-icon.icon-mountain::after {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #fff;
    content: '▲';
    font-size: 8px;
    line-height: 1;
    text-shadow: 0 1px 1px #111;
    transform: translate(-50%, -52%);
}
.project-3d-list-icon.legend-sphere {
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    border-radius: 50% !important;
}
.project-3d-list-icon {
    border: 0 !important;
}
.project-3d-list-icon.icon-panorama {
    background: radial-gradient(circle at 34% 24%, #aee8ff 0, #43aee5 27%, #1678d3 58%, #07508f 100%) !important;
    box-shadow:
        inset -2px -3px 4px rgba(0, 0, 0, 0.28),
        inset 2px 2px 3px rgba(255, 255, 255, 0.25),
        0 1px 3px rgba(0, 0, 0, 0.5);
}
.project-3d-list-icon.legend-capsule.icon-panorama {
    background:
        radial-gradient(ellipse at 34% 14%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.12) 25%, transparent 42%),
        linear-gradient(90deg, #126da8, #70c9f2 52%, #187fb9) !important;
}
.project-3d-list-icon.legend-capsule.single-panorama {
    width: 11px !important;
    min-width: 11px !important;
    max-width: 11px !important;
    height: 15px !important;
    min-height: 15px !important;
    max-height: 15px !important;
    box-shadow:
        inset -2px -3px 4px rgba(0, 0, 0, 0.25),
        inset 1px 2px 3px rgba(255, 255, 255, 0.34),
        0 1px 3px rgba(0, 0, 0, 0.48);
}
.project-3d-list-icon.legend-capsule.icon-panorama.single-panorama {
    background: radial-gradient(
        ellipse at 34% 18%,
        #d1f3ff 0,
        #73cef3 22%,
        #248fc9 54%,
        #0b5f99 78%,
        #063d68 100%
    ) !important;
}
.project-3d-list-icon.legend-sphere.single-panorama {
    width: 14px !important;
    min-width: 14px !important;
    max-width: 14px !important;
    height: 14px !important;
    min-height: 14px !important;
    max-height: 14px !important;
    border-radius: 50% !important;
    box-shadow:
        inset -3px -4px 5px rgba(0, 0, 0, 0.3),
        inset 2px 2px 4px rgba(255, 255, 255, 0.34),
        0 1px 3px rgba(0, 0, 0, 0.5);
}
.project-3d-poi-marker.single-panorama .project-3d-poi-marker-ball {
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow:
        inset -3px -4px 6px rgba(0, 0, 0, 0.28),
        inset 2px 2px 4px rgba(255, 255, 255, 0.34),
        0 2px 7px rgba(0, 0, 0, 0.7);
}
.project-3d-poi-marker.single-panorama.icon-panorama .project-3d-poi-marker-ball {
    background: radial-gradient(
        circle at 34% 24%,
        #c8f1ff 0,
        #65c4ee 25%,
        #238fc9 55%,
        #0b5f98 79%,
        #063d68 100%
    ) !important;
}
.project-3d-list-icon.icon-cyan {
    background: #32c7e5 !important;
}
.project-3d-group-icon-preview.icon-cyan {
    background: radial-gradient(circle at 34% 24%, #e0fbff 0, #78e2f3 28%, #32c7e5 58%, #138ca8 100%) !important;
    box-shadow:
        inset -2px -2px 3px rgba(0, 0, 0, 0.24),
        inset 1px 1px 2px rgba(255, 255, 255, 0.45),
        0 0 0 1px rgba(73, 224, 247, 0.35);
}
.project-3d-poi-marker.multi-altitude.icon-cyan .project-3d-poi-marker-ball,
.project-3d-list-icon.legend-capsule.icon-cyan {
    background:
        radial-gradient(ellipse at 32% 12%, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.16) 19%, transparent 35%),
        linear-gradient(90deg, #138ca8, #32c7e5 30%, #8beafa 49%, #27bad7 70%, #0d7892) !important;
}
.project-3d-poi-marker.single-panorama.icon-green .project-3d-poi-marker-ball,
.project-3d-list-icon.legend-sphere.single-panorama.icon-green {
    background: radial-gradient(
        circle at 34% 24%,
        #d5ffd0 0,
        #72db80 26%,
        #35b94b 55%,
        #168235 79%,
        #07551e 100%
    ) !important;
}
.project-3d-poi-marker.single-panorama.icon-blue .project-3d-poi-marker-ball,
.project-3d-list-icon.legend-sphere.single-panorama.icon-blue {
    background: radial-gradient(
        circle at 34% 24%,
        #d8edff 0,
        #78baff 26%,
        #2980ff 55%,
        #1556b5 79%,
        #0b3476 100%
    ) !important;
}
.project-3d-poi-marker.single-panorama.icon-cyan .project-3d-poi-marker-ball,
.project-3d-list-icon.legend-sphere.single-panorama.icon-cyan {
    background: radial-gradient(
        circle at 34% 24%,
        #d1f3ff 0,
        #70c9f2 26%,
        #2699dc 55%,
        #126da8 79%,
        #084b78 100%
    ) !important;
}
.project-3d-poi-marker.single-panorama.icon-red .project-3d-poi-marker-ball,
.project-3d-list-icon.legend-sphere.single-panorama.icon-red {
    background: radial-gradient(
        circle at 34% 24%,
        #ffd8d4 0,
        #ff9187 26%,
        #e65348 55%,
        #ae3028 79%,
        #761d18 100%
    ) !important;
}
.project-3d-poi-marker.single-panorama.icon-yellow .project-3d-poi-marker-ball,
.project-3d-list-icon.legend-sphere.single-panorama.icon-yellow {
    background: radial-gradient(
        circle at 34% 24%,
        #fffbd0 0,
        #fff183 26%,
        #edcb35 55%,
        #c59612 79%,
        #806008 100%
    ) !important;
}
.project-3d-panorama-altitudes {
    padding: 3px 5px;
    color: #9ec8d5;
    text-align: center;
    background: rgba(42, 64, 78, 0.45);
    border-radius: 2px;
    font-size: 11px;
}

.project-3d-panorama-controls {
    position: absolute;
    z-index: 30;
    right: 14px;
    bottom: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    pointer-events: auto;
}
.project-3d-panorama-controls > button,
.project-3d-panorama-controls #project-3d-panorama-levels button {
    box-sizing: border-box;
    width: auto;
    min-width: 30px;
    max-width: 120px;
    min-height: 26px;
    padding: 3px 8px;
    margin: 2px 0;
    color: #fff;
    background: rgba(36, 49, 59, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 3px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.22);
    font-size: 11px;
    backdrop-filter: blur(4px);
}
.project-3d-panorama-controls > button {
    align-self: stretch;
}
.project-3d-panorama-controls > button:disabled {
    opacity: 0.35;
}
.project-3d-panorama-controls #project-3d-panorama-levels {
    position: static;
    right: auto;
    bottom: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.project-3d-panorama-controls #project-3d-panorama-levels button.active {
    background: rgba(23, 122, 58, 0.82);
    border-color: rgba(147, 238, 171, 0.9);
}
.pnlm-container > .project-3d-panorama-controls {
    position: absolute;
    right: 14px;
    bottom: 14px;
}

.project-3d-panorama-navigator {
    position: absolute;
    z-index: 29;
    left: 14px;
    bottom: 14px;
    width: 220px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 3px;
    box-shadow: none;
    backdrop-filter: none;
}
.project-3d-panorama-nav-mode {
    position: absolute;
    z-index: 12;
    top: 4px;
    left: 4px;
    display: flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    color: #17232c !important;
    background: rgba(255, 255, 255, 0.82) !important;
    border: 0 !important;
    border-radius: 3px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.38);
    font-size: 13px;
}
.project-3d-panorama-nav-mode:hover {
    background: #fff !important;
}
.project-3d-panorama-navigator.mode-large {
    width: min(440px, calc(100vw - 40px));
}
.project-3d-panorama-navigator.mode-large #project-3d-panorama-mini-map {
    height: min(38vh, 290px);
}
#project-3d-panorama-mini-map {
    width: 100%;
    height: 118px;
    border-radius: 3px;
    overflow: hidden;
}
#project-3d-panorama-mini-map .maplibregl-ctrl-top-right {
    top: 3px;
    right: 3px;
}
#project-3d-panorama-mini-map .maplibregl-ctrl-group {
    margin: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
#project-3d-panorama-mini-map .maplibregl-ctrl-group button {
    width: 24px;
    height: 24px;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.78);
}
#project-3d-panorama-mini-map .maplibregl-ctrl-group button:hover {
    background-color: rgba(255, 255, 255, 0.94);
}
.project-3d-panorama-nav-actions {
    display: grid;
    grid-template-columns: 30px 1fr 30px;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
    padding: 3px;
    background: rgba(10, 16, 22, 0.62);
    border-radius: 3px;
}
.project-3d-panorama-nav-actions button {
    width: 30px;
    height: 27px;
    padding: 0;
    color: #fff;
    background: #24313b;
    border: 1px solid #72808a;
    border-radius: 3px;
}
.project-3d-panorama-nav-actions button:disabled {
    opacity: 0.35;
}
#project-3d-panorama-point-name {
    overflow: hidden;
    color: #fff;
    font-size: 11px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.project-3d-panorama-card .project-3d-panorama-mini-marker {
    box-sizing: border-box;
    width: 8px;
    min-width: 8px;
    height: 8px;
    min-height: 8px;
    padding: 0 !important;
    background: #32c7e5;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 1px 3px #000;
    cursor: pointer;
}
.project-3d-panorama-card .project-3d-panorama-mini-marker.active {
    width: 11px;
    min-width: 11px;
    height: 11px;
    min-height: 11px;
    background: #ff5252;
    border-color: #fff;
}
.project-3d-panorama-map-editor {
    position: absolute;
    z-index: 12;
    top: 236px;
    left: 16px;
    box-sizing: border-box;
    width: 315px;
    padding: 8px 10px;
    color: #eef3f6;
    background: rgba(15, 24, 32, 0.94);
    border: 1px solid #60717f;
    border-radius: 5px;
}
.project-3d-panorama-map-editor > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 12px;
}
.project-3d-panorama-map-editor button {
    padding: 5px 8px;
    color: #eef3f6;
    background: #263541;
    border: 1px solid #60717f;
    border-radius: 3px;
    font-size: 11px;
}
.project-3d-panorama-map-editor > div button {
    width: 24px;
    height: 24px;
    padding: 0;
    color: #ef8a8a;
    background: transparent;
}
#project-3d-panorama-map-status {
    margin-left: 7px;
    color: #aebbc5;
    font-size: 10px;
}
.editing .project-3d-layer-panel {
    top: 326px;
    max-height: calc(100vh - 430px);
}
.editing.map-title-disabled .project-3d-panorama-map-editor {
    top: 160px;
}
.editing.map-title-disabled .project-3d-layer-panel {
    top: 250px;
    max-height: calc(100vh - 354px);
}
@media (max-width: 700px) {
    .project-3d-panorama-navigator {
        left: 8px;
        bottom: 8px;
        width: 180px;
    }
    #project-3d-panorama-mini-map {
        height: 96px;
    }
    .project-3d-panorama-map-editor {
        left: 10px;
        width: min(315px, calc(100% - 20px));
    }
    .editing .project-3d-layer-panel {
        top: 326px;
        max-height: calc(100vh - 440px);
    }
    .editing.map-title-disabled .project-3d-layer-panel {
        top: 250px;
        max-height: calc(100vh - 364px);
    }
}

.project-3d-poi-map-label {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: calc(100% + 4px);
    transform: translateX(-50%);
    width: max-content;
    max-width: 180px;
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.15;
    text-overflow: ellipsis;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 1px 3px #000;
    white-space: nowrap;
    pointer-events: none;
}

.project-3d-show-label-row input[type='checkbox'] {
    justify-self: start;
    width: 14px !important;
    height: 14px !important;
    accent-color: #248cff;
}

.project-3d-map-mode {
    display: grid;
    min-width: 154px;
    overflow: hidden;
    color: #fff;
    background: rgba(15, 24, 32, 0.92) !important;
}

.project-3d-map-mode select {
    box-sizing: border-box;
    width: 100%;
    height: 31px;
    padding: 0 7px;
    color: #fff;
    background: #17232d;
    border: 0;
    border-bottom: 1px solid #50616e;
    font-size: 12px;
}

.project-3d-map-mode select option {
    color: #fff;
    background: #17232d;
}

.project-3d-map-mode button {
    display: flex !important;
    width: 100% !important;
    height: 31px !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #fff;
    background: #17232d;
}

.project-3d-map-mode button.active {
    color: #7ee69a;
    background: #1e3829;
}

.project-3d-poi-panel {
    display: flex;
    width: 300px;
    max-height: calc(100% - 32px);
    overflow: hidden;
    flex-direction: column;
    background: rgba(24, 34, 44, 0.94);
    border-color: #667583;
    border-radius: 5px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.project-3d-app:not(.editing) .project-3d-poi-panel {
    width: 240px;
}

#project-3d-legend-toggle {
    position: absolute;
    z-index: 4;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    padding: 0;
    color: #dce5ea;
    background: rgba(23, 35, 44, 0.92);
    border: 1px solid #536675;
    border-radius: 3px;
    font-size: 10px;
}

.project-3d-app:not(.editing) .project-3d-poi-panel.legend-collapsed {
    width: 30px;
    height: 30px;
    min-height: 30px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.project-3d-app:not(.editing) .project-3d-poi-panel.legend-collapsed > * {
    display: none !important;
}

.project-3d-app:not(.editing) .project-3d-poi-panel.legend-collapsed > #project-3d-legend-toggle {
    display: block !important;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    font-size: 0;
}

.project-3d-app:not(.editing) .project-3d-poi-panel.legend-collapsed > #project-3d-legend-toggle i {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 18px;
    vertical-align: middle;
    border: 2px solid #f2f6f8;
    border-radius: 2px;
    box-sizing: border-box;
}

.project-3d-app:not(.editing) .project-3d-poi-panel.legend-collapsed > #project-3d-legend-toggle i::before {
    content: '';
}

.project-3d-app:not(.editing) .project-3d-poi-panel.legend-collapsed > #project-3d-legend-toggle i::after {
    content: '';
    position: absolute;
    left: 3px;
    right: 3px;
    top: 4px;
    height: 2px;
    background: #f2f6f8;
    box-shadow: 0 5px 0 #f2f6f8;
}

#project-3d-poi-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}
.project-3d-poi-section-title {
    flex: 0 0 auto;
    padding: 7px 10px;
    color: #dce5ea;
    background: #17232c;
    border-top: 1px solid #43515d;
    border-bottom: 1px solid #43515d;
    font-size: 12px;
    font-weight: 600;
}

#project-3d-reference-list {
    flex: 0 0 auto;
}

.project-3d-reference-row {
    cursor: default;
}

.project-3d-reference-row .project-view-legend-swatch {
    position: relative;
    height: 14px;
    border: 0;
    background: transparent;
}

.project-3d-reference-row .reference-roads::after,
.project-3d-reference-row .reference-trails::after,
.project-3d-reference-row .reference-rivers::after {
    position: absolute;
    top: 6px;
    right: 0;
    left: 0;
    height: 3px;
    content: '';
    border-radius: 3px;
    box-shadow: 0 1px 1px #000;
}

.project-3d-reference-row .reference-roads::after {
    background: #ffd078;
}
.project-3d-reference-row .reference-trails::after {
    height: 2px;
    background: repeating-linear-gradient(90deg, #ff874d 0 4px, transparent 4px 6px);
}
.project-3d-reference-row .reference-rivers::after {
    background: #3db9ff;
}
.project-3d-reference-row .reference-peaks {
    border: 0;
    background: transparent;
}
.project-3d-reference-row .reference-peaks::after {
    color: #050505;
    content: '▲';
    font-size: 15px;
    line-height: 14px;
    text-shadow:
        -1px -1px 0 rgba(255, 255, 255, 0.75),
        1px -1px 0 rgba(255, 255, 255, 0.75),
        -1px 1px 0 rgba(255, 255, 255, 0.75),
        1px 1px 0 rgba(255, 255, 255, 0.75);
}
.project-3d-reference-row .project-3d-peak-mode {
    min-width: 82px;
    max-width: 92px;
    margin-left: auto;
    padding: 2px 3px;
    color: #e8edf2;
    background: #18232c;
    border: 1px solid #536675;
    border-radius: 3px;
    font-size: 12px;
}
.project-3d-peak-filter {
    display: grid;
    grid-column: 1/-1;
    grid-template-columns: minmax(0, 1fr) 52px;
    align-items: center;
    gap: 7px;
    padding: 3px 0 1px;
}
.project-3d-peak-filter[hidden] {
    display: none;
}
.project-3d-peak-filter input[type='range'] {
    width: 100%;
    height: 18px;
    margin: 0;
    background: transparent;
    accent-color: #65cf82;
    -webkit-appearance: none;
    appearance: none;
}
.project-3d-peak-filter input[type='range']::-webkit-slider-runnable-track {
    height: 2px;
    background: #71808a;
    border-radius: 1px;
}
.project-3d-peak-filter input[type='range']::-webkit-slider-thumb {
    width: 6px;
    height: 18px;
    margin-top: -8px;
    background: #e8f0f4;
    border: 1px solid #26343d;
    border-radius: 4px;
    box-shadow: 0 0 2px #000;
    -webkit-appearance: none;
    appearance: none;
}
.project-3d-peak-filter input[type='range']::-moz-range-track {
    height: 2px;
    background: #71808a;
    border: 0;
    border-radius: 1px;
}
.project-3d-peak-filter input[type='range']::-moz-range-progress {
    height: 2px;
    background: #65cf82;
    border-radius: 1px;
}
.project-3d-peak-filter input[type='range']::-moz-range-thumb {
    width: 6px;
    height: 18px;
    background: #e8f0f4;
    border: 1px solid #26343d;
    border-radius: 4px;
    box-shadow: 0 0 2px #000;
}
.project-3d-peak-filter output {
    color: #dce5ea;
    font-size: 12px;
    text-align: right;
    white-space: nowrap;
}

.project-3d-peak-label {
    max-width: 170px;
    overflow: hidden;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.15;
    text-overflow: ellipsis;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 1px 3px #000;
    white-space: nowrap;
    pointer-events: none;
}

.project-3d-peak-marker {
    display: flex;
    align-items: center;
    gap: 4px;
    width: max-content;
    pointer-events: none;
}

.project-3d-peak-triangle {
    color: #050505;
    font-size: 17px;
    line-height: 1;
    text-shadow:
        -1px -1px 0 rgba(255, 255, 255, 0.8),
        1px -1px 0 rgba(255, 255, 255, 0.8),
        -1px 1px 0 rgba(255, 255, 255, 0.8),
        1px 1px 0 rgba(255, 255, 255, 0.8),
        0 2px 2px rgba(0, 0, 0, 0.5);
}

.project-3d-panorama-actions .pano-upload,
.project-3d-panorama-actions .pano-upload-tiles {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.project-3d-panorama-actions button small {
    color: #aebdc7;
    font-size: 9px;
    font-weight: 400;
}

.project-3d-map-tools {
    flex: 0 0 auto;
    border-top: 1px solid #43515d;
    background: rgba(10, 17, 23, 0.96);
}

.project-3d-basemap-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border-bottom: 1px solid #34414b;
    font-size: 12px;
}

.project-3d-basemap-row select {
    min-width: 0;
    height: 28px;
    padding: 0 5px;
    color: #eef3f6;
    background: #17232d;
    border: 1px solid #50616e;
    border-radius: 3px;
    font-size: 11px;
}

.project-3d-basemap-row option {
    color: #eef3f6;
    background: #17232d;
}

.project-3d-view-buttons {
    display: flex;
    align-items: stretch;
    gap: 5px;
    padding: 8px 10px;
}

.project-3d-view-buttons button {
    min-width: 31px;
    height: 30px;
    padding: 0 8px;
    color: #eef3f6;
    background: #263541;
    border: 1px solid #536675;
    border-radius: 3px;
    font-size: 13px;
    white-space: nowrap;
}

.project-3d-mode-switch {
    display: contents;
}

.project-3d-mode-switch button {
    border-radius: 0;
}

.project-3d-mode-switch button:first-child {
    border-radius: 3px 0 0 3px;
}
.project-3d-mode-switch button:last-child {
    margin-left: -1px;
    border-radius: 0 3px 3px 0;
}
.project-3d-mode-switch button.active {
    position: relative;
    color: #8af0a4;
    background: #205337;
    border-color: #72d98c;
}
.project-3d-view-buttons button {
    width: 0;
    min-width: 0;
    flex: 1 1 0;
    padding: 0;
}
.project-3d-view-buttons button i {
    font-size: 14px;
}
.project-3d-view-buttons [data-action='prime'] i {
    font-size: 18px;
}
.project-3d-view-buttons [data-action='prime'] {
    flex: 1 1 0;
}
.project-3d-view-buttons [data-action='north'] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.project-3d-view-buttons [data-action='north'] strong {
    font-size: 13px;
}

.project-3d-legend-poi-item {
    cursor: pointer;
}
.project-view-poi-group-collapse.no-group-icon {
    grid-template-columns: 13px minmax(0, 1fr);
}

.editing .project-3d-legend-poi-item {
    grid-template-columns: 16px minmax(0, 1fr) 28px;
}

.project-3d-legend-edit {
    display: flex;
    width: 26px;
    height: 25px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    background: #263541;
    border: 1px solid #536675;
    border-radius: 3px;
}

@media (max-width: 767px) {
    .project-3d-poi-panel {
        width: min(250px, 75vw);
        max-height: 52%;
    }
    .project-3d-app:not(.editing) .project-3d-poi-panel {
        top: 16px;
        right: 10px;
        bottom: auto;
        width: min(200px, 68vw);
    }
    .project-3d-app:not(.editing) .project-3d-poi-panel.legend-collapsed {
        width: 30px;
    }
}

/* ---- project-3d-layers ---- */

.project-3d-layer-toolbar {
    position: absolute;
    z-index: 12;
    top: 104px;
    left: 16px;
    display: flex;
    gap: 6px;
}
.project-3d-layer-toolbar input[type='file'][hidden] {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}
.project-3d-layer-toolbar button {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(15, 24, 32, 0.94);
    border: 1px solid #60717f;
    border-radius: 4px;
    font-size: 15px;
}
.project-3d-layer-toolbar button.active,
.project-3d-layer-toolbar button:hover {
    color: #74df91;
    border-color: #74df91;
}
.project-3d-draw-menu {
    display: none;
    position: absolute;
    z-index: 13;
    top: 148px;
    left: 58px;
    width: 145px;
    padding: 5px;
    background: #101820;
    border: 1px solid #60717f;
    border-radius: 4px;
    box-shadow: 0 5px 18px #0008;
}
.project-3d-draw-menu.open {
    display: grid;
    gap: 3px;
}
.project-3d-draw-menu button {
    padding: 6px 8px;
    text-align: left;
    color: #eef3f6;
    background: #25333e;
    border: 0;
    border-radius: 3px;
}
.project-3d-layer-panel {
    position: absolute;
    z-index: 11;
    top: 192px;
    left: 16px;
    width: 315px;
    max-height: calc(100vh - 283px);
    overflow: auto;
    color: #eef3f6;
    background: rgba(15, 24, 32, 0.94);
    border: 1px solid #60717f;
    border-radius: 5px;
    box-shadow: 0 5px 18px #0006;
}
.project-3d-layer-panel > strong {
    display: block;
    padding: 8px 10px;
    border-bottom: 1px solid #43515d;
}
.project-3d-layer-list:empty::after {
    display: block;
    padding: 10px;
    color: #91a0ab;
    content: 'No layers';
}
.project-3d-layer-legend {
    flex: 0 0 auto;
    min-width: 0;
    border-bottom: 1px solid #43515d;
}
.project-3d-layer-legend > strong {
    display: block;
    padding: 7px 10px;
    background: #17232c;
}
.project-3d-layer-legend .project-3d-layer-row {
    padding-right: 10px;
}
.project-3d-layer-legend .project-3d-layer-actions {
    margin-left: auto;
}
.project-3d-layer-group-title {
    padding: 6px 9px;
    color: #b8c8d2;
    background: #17232c;
    font-size: 12px;
}
.project-3d-layer-group-child {
    padding-left: 23px !important;
}
.project-3d-layer-row {
    display: grid;
    grid-template-columns: 18px 18px minmax(0, 1fr) auto;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    border-bottom: 1px solid #2e3a43;
    font-size: 12px;
}
.project-3d-layer-row .swatch {
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    border-style: solid;
}
.project-3d-layer-row .name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.project-3d-layer-actions {
    display: flex;
    gap: 2px;
}
.project-3d-layer-actions button {
    width: 23px;
    height: 23px;
    padding: 0;
    color: #dce5ea;
    background: #25333e;
    border: 1px solid #465765;
    border-radius: 3px;
    font-size: 10px;
}
.project-3d-layer-actions button.editing {
    color: #f05e5e;
}
.project-3d-layer-dialog {
    display: none;
    position: absolute;
    z-index: 40;
    inset: 0;
    align-items: center;
    justify-content: center;
    background: #0008;
}
.project-3d-layer-dialog.open {
    display: flex;
}
.project-3d-layer-dialog-card {
    width: min(600px, 94vw);
    max-height: calc(100vh - 110px);
    overflow: auto;
    padding: 16px;
    color: #eef3f6;
    background: #101820;
    border: 1px solid #60717f;
    border-radius: 6px;
}
.project-3d-layer-dialog-card h2 {
    margin: 0 0 12px;
    font-size: 18px;
}
.project-3d-layer-dialog-card label {
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: center;
    gap: 9px;
    margin: 8px 0;
    font-size: 12px;
}
.project-3d-layer-dialog-card input,
.project-3d-layer-dialog-card select {
    min-width: 0;
    padding: 6px;
    color: #fff;
    background: #080d12;
    border: 1px solid #536675;
}
.project-3d-layer-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
    margin-top: 14px;
}
.project-3d-layer-dialog-actions button {
    padding: 7px 12px;
    color: #fff;
    background: #293946;
    border: 1px solid #60717f;
    border-radius: 4px;
}
.project-3d-layer-dialog-actions .primary {
    background: #28754a;
}
.project-3d-vertex {
    width: 11px;
    height: 11px;
    background: #fff;
    border: 2px solid #e53935;
    border-radius: 50%;
    box-shadow: 0 1px 4px #000;
    cursor: move;
}
.project-3d-draw-help {
    position: absolute;
    z-index: 14;
    top: 116px;
    left: 16px;
    padding: 6px 9px;
    color: #fff;
    background: #151d24;
    border: 1px solid #74df91;
    border-radius: 4px;
    font-size: 12px;
}
.project-3d-layer-popup-title {
    margin-bottom: 5px;
    color: #aab5bc;
    font-size: 11px;
}
.project-3d-layer-popup table {
    border-collapse: collapse;
    font-size: 11px;
}
.project-3d-layer-popup th,
.project-3d-layer-popup td {
    padding: 2px 5px;
    border-bottom: 1px solid #333;
    text-align: left;
}
@media (max-width: 700px) {
    .project-3d-layer-panel {
        top: 192px;
        width: min(300px, 82vw);
        max-height: 38vh;
    }
    .project-3d-layer-dialog-card label {
        grid-template-columns: 1fr;
    }
}

/* ---- project-3d-description ---- */

.project-3d-app.has-description #project-3d-map {
    right: var(--description-width);
}
.project-3d-app.has-description .project-3d-poi-panel {
    right: calc(var(--description-width) + 16px);
}
.project-3d-description {
    position: absolute;
    z-index: 11;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--description-width);
    overflow: auto;
    color: #eef3f6;
    background: #111920;
    border-left: 1px solid #52616d;
}
.project-3d-description-heading {
    display: flex;
    min-height: 43px;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    border-bottom: 1px solid #43515d;
}
.project-3d-description-heading > strong {
    font-size: 12px;
    font-weight: 600;
}
.project-3d-description-heading button {
    margin-left: auto;
    color: #d9e1e6;
    background: transparent;
    border: 0;
    font-size: 16px;
}
.project-3d-description-sections details {
    border-bottom: 1px solid #3d4a54;
}
.project-3d-description-sections summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}
.project-3d-description-sections summary span {
    color: #9cabb5;
    font-size: 11px;
    font-weight: 400;
}
.project-3d-title-fields {
    display: grid;
    gap: 8px;
    padding: 11px 12px;
    border-bottom: 1px solid #3d4a54;
    background: #0c1319;
}
.project-3d-title-fields label {
    display: grid;
    gap: 4px;
    color: #c7d1d8;
    font-size: 11px;
}
.project-3d-title-fields input {
    box-sizing: border-box;
    width: 100%;
    height: 32px;
    padding: 5px 8px;
    color: #fff;
    background: #070c10;
    border: 1px solid #536675;
    border-radius: 3px;
    font-size: 13px;
}
.project-3d-title-fields input:focus {
    border-color: #72c98a;
    outline: 0;
    box-shadow: 0 0 0 1px #72c98a55;
}
.project-3d-description-summary {
    min-width: 0;
    overflow: hidden;
    color: #d8e0e5;
    font-size: 13px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.project-3d-map-title {
    position: absolute;
    z-index: 9;
    top: 16px;
    left: 16px;
    max-width: min(560px, calc(100% - 32px));
    padding: 9px 13px;
    overflow: hidden;
    color: #fff;
    background: rgba(0, 0, 0, 0.68);
    border-radius: 4px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
}
.project-3d-map-title-editor {
    position: absolute;
    z-index: 12;
    top: 116px;
    left: 16px;
    display: grid;
    width: 315px;
    gap: 7px;
    box-sizing: border-box;
    padding: 9px 11px;
    color: #eef3f6;
    background: rgba(15, 24, 32, 0.94);
    border: 1px solid #60717f;
    border-radius: 5px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.32);
}
.project-3d-map-title-editor-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.project-3d-map-title-editor-heading > strong {
    font-size: 12px;
    font-weight: 600;
}
.project-3d-map-title-editor .project-3d-map-title-editor-heading label {
    display: flex;
    grid-template-columns: none;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    white-space: nowrap;
}
.project-3d-map-title-editor-heading input {
    width: 13px;
    height: 13px;
    margin: 0;
    accent-color: #4ebd72;
}
.project-3d-map-title-editor > label {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #aebbc4;
    font-size: 10px;
}
.project-3d-map-title-editor > label input {
    box-sizing: border-box;
    width: 100%;
    height: 28px;
    padding: 4px 7px;
    color: #fff;
    background: #070c10;
    border: 1px solid #536675;
    border-radius: 3px;
    font-size: 12px;
}
.project-3d-map-title-editor > label input:focus {
    border-color: #72c98a;
    outline: 0;
    box-shadow: 0 0 0 1px #72c98a55;
}
.editing.map-title-disabled .project-3d-map-title-editor {
    width: auto;
    min-width: 142px;
    padding: 7px 9px;
}
.editing.map-title-disabled .project-3d-map-title-editor > label {
    display: none;
}
.editing.map-title-disabled .project-3d-map-title-editor-heading {
    gap: 12px;
}
.editing.map-title-disabled .project-3d-layer-panel {
    top: 160px;
    max-height: calc(100vh - 264px);
}
@media (max-width: 700px) {
    .project-3d-map-title {
        top: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
        padding: 7px 10px;
        font-size: 16px;
    }
}
@media (max-width: 700px) {
    .project-3d-map-title-editor {
        top: 116px;
        left: 10px;
        width: min(315px, calc(100% - 20px));
    }
}
.project-3d-description-section {
    padding: 10px 12px;
    background: #0c1319;
}
.project-3d-description-section textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 7px;
    color: #fff;
    background: #070c10;
    border: 1px solid #536675;
    resize: vertical;
}
.project-3d-description-section > p {
    color: #9cabb5;
    font-size: 11px;
}
.project-3d-description-language {
    margin-bottom: 12px;
}
.project-3d-description-language > strong {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
}
.project-3d-description-language button,
.project-3d-asset-upload button {
    padding: 6px 9px;
    color: #e8edf2;
    background: #263541;
    border: 1px solid #60717f;
    border-radius: 4px;
    font-size: 11px;
}
.project-3d-description-language textarea {
    margin-top: 6px;
}
.project-3d-split-label {
    display: block;
    margin: 8px 0;
    font-size: 11px;
}
.project-3d-description-section input[type='range'] {
    width: 100%;
}
.project-3d-asset-upload {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 9px;
}
.project-3d-asset-upload input {
    min-width: 0;
    max-width: 100%;
    color: #ccd6dc;
    font-size: 11px;
}
.project-3d-asset-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #26323a;
    font-size: 11px;
}
.project-3d-asset-row a {
    color: #ff8585;
}
.project-3d-description-view-body {
    padding: 15px;
    overflow-wrap: anywhere;
    font-size: 14px;
    line-height: 1.55;
}
.project-3d-description-view-body img {
    max-width: 100%;
    height: auto;
}
.project-3d-description-view-body a {
    color: #77d995;
}
.project-3d-description-view-body h4 {
    margin: 17px 0 7px;
}
.project-3d-description-view-body p {
    margin: 7px 0;
}
.project-3d-view-album > button {
    display: flex;
    width: 100%;
    height: 64px;
    align-items: center;
    justify-content: center;
    margin: 12px 0;
    color: #fff;
    background: #1c2932;
    border: 1px solid #536675;
    border-radius: 4px;
    font-size: 25px;
}
.project-3d-app.description-hidden #project-3d-map {
    right: 0;
}
.project-3d-app.description-hidden .project-3d-description {
    display: none;
}
.project-3d-app.description-hidden .project-3d-poi-panel {
    right: 16px;
}
.project-3d-description-restore {
    position: absolute;
    z-index: 13;
    top: 16px;
    right: 332px;
    width: 34px;
    height: 34px;
    padding: 0;
    color: #fff;
    background: #17232c;
    border: 1px solid #91a0ab;
    border-radius: 50%;
    font:
        italic 600 17px/32px Georgia,
        serif;
    text-align: center;
}
.project-3d-description-enabled-control {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 0 auto;
    color: #cbd6dc;
    font-size: 10px;
    font-weight: 400;
    white-space: nowrap;
}
.project-3d-description-enabled-control input {
    width: 13px;
    height: 13px;
    margin: 0;
    accent-color: #4ebd72;
}
.editing .project-3d-poi-panel > strong #project-3d-groups-open {
    margin-left: 7px;
}
.editing.has-description #project-3d-map {
    right: 0;
}
.editing.has-description .project-3d-poi-panel,
.editing.description-hidden .project-3d-poi-panel {
    right: 16px;
}
.editing .project-3d-poi-panel {
    width: 300px;
    max-height: 35%;
}
.editing .project-3d-description {
    top: calc(35% + 32px);
    right: 16px;
    bottom: 16px;
    width: 300px;
    border: 1px solid #52616d;
    border-radius: 5px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.4);
}
.editing .project-3d-description-heading .project-3d-description-enabled-control {
    margin-left: auto;
}
.editing .project-3d-description-heading #project-3d-description-toggle {
    margin-left: 7px;
}
.editing.description-hidden .project-3d-description {
    display: block;
    height: 43px;
    bottom: auto;
    overflow: hidden;
}
.editing.description-hidden .project-3d-description-sections,
.editing.description-hidden #project-3d-description-toggle {
    display: none;
}
.editing .project-3d-toolbar {
    top: 16px;
    left: 16px;
}
.editing .project-3d-layer-toolbar {
    top: 16px;
    left: 163px;
    gap: 7px;
}
.editing .project-3d-layer-toolbar button {
    width: 42px;
    height: 42px;
    font-size: 17px;
}
.editing .project-3d-draw-menu {
    top: 64px;
    left: 163px;
}
.editing .project-3d-terrain {
    top: 66px;
    left: 16px;
    box-sizing: border-box;
    width: 315px;
}
.editing .project-3d-terrain label {
    justify-content: space-between;
    font-size: 12px;
}
.editing .project-3d-terrain #project-3d-exaggeration-value {
    font-size: 11px;
}
.editing .project-3d-layer-panel {
    top: 236px;
    bottom: auto;
    max-height: calc(100vh - 340px);
    overflow-y: auto;
    overflow-x: hidden;
}
.editing #project-3d-status {
    padding: 6px 9px;
    font-size: 11px;
}
.editing .project-3d-layer-panel > strong,
.editing .project-3d-poi-panel > strong {
    font-size: 12px;
    font-weight: 600;
}
.editing.has-description #project-3d-map {
    right: var(--description-width);
}
.editing.has-description .project-3d-poi-panel {
    right: calc(var(--description-width) + 16px);
}
.editing.description-hidden #project-3d-map {
    right: 0;
}
.editing.description-hidden .project-3d-poi-panel {
    right: 16px;
}
.editing .project-3d-description {
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--description-width);
    border-width: 0 0 0 1px;
    border-radius: 0;
}
.editing.description-hidden .project-3d-description {
    display: none;
}
.project-3d-description-launch {
    position: absolute;
    z-index: 13;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px;
    background: rgba(15, 24, 32, 0.94);
    border: 1px solid #60717f;
    border-radius: 5px;
}
.project-3d-description-launch button {
    width: 28px;
    height: 28px;
    padding: 0;
    color: #fff;
    background: #17232c;
    border: 1px solid #91a0ab;
    border-radius: 50%;
    font:
        italic 600 15px/26px Georgia,
        serif;
}
.project-3d-description-launch input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #4ebd72;
}
.project-3d-description-launch:has(input:not(:checked)) button {
    opacity: 0.42;
}
.project-3d-description-default-control {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    color: #cbd6dc;
    font-size: 10px;
    font-weight: 400;
    white-space: nowrap;
}
.project-3d-description-default-control input {
    width: 13px;
    height: 13px;
    margin: 0;
    accent-color: #4ebd72;
}
.editing .project-3d-description-heading #project-3d-description-toggle {
    margin-left: 7px;
}
.project-3d-gallery-modal {
    display: none;
    position: absolute;
    z-index: 80;
    inset: 0;
    align-items: center;
    justify-content: center;
    background: #000d;
}
.project-3d-gallery-modal.open {
    display: flex;
}
.project-3d-gallery-window {
    position: relative;
    display: grid;
    width: min(1000px, 94vw);
    height: min(760px, 88vh);
    grid-template-rows: 1fr auto;
    padding: 10px;
    background: #101820;
    border: 1px solid #60717f;
}
.project-3d-gallery-main {
    display: flex;
    min-height: 0;
    align-items: center;
    justify-content: center;
}
.project-3d-gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.project-3d-gallery-thumbs {
    display: flex;
    gap: 5px;
    padding-top: 8px;
    overflow-x: auto;
}
.project-3d-gallery-thumbs img {
    width: 74px;
    height: 52px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.65;
}
.project-3d-gallery-thumbs img.active {
    outline: 2px solid #6dde8a;
    opacity: 1;
}
.project-3d-gallery-close,
.project-3d-gallery-prev,
.project-3d-gallery-next {
    position: absolute;
    z-index: 2;
    color: #fff;
    background: #111b;
    border: 1px solid #71808b;
}
.project-3d-gallery-close {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
}
.project-3d-gallery-prev,
.project-3d-gallery-next {
    top: 45%;
    width: 38px;
    height: 48px;
}
.project-3d-gallery-prev {
    left: 14px;
}
.project-3d-gallery-next {
    right: 14px;
}
@media (max-width: 767px) {
    .project-3d-app.has-description #project-3d-map {
        right: 0;
    }
    .project-3d-description {
        top: 45%;
        width: 100%;
        border-top: 1px solid #52616d;
        border-left: 0;
    }
    .project-3d-app.has-description .project-3d-poi-panel {
        right: 10px;
    }
    .project-3d-app.description-hidden .project-3d-description {
        display: none;
    }
    .project-3d-description-restore {
        top: auto !important;
        right: auto !important;
        bottom: 12px !important;
        left: 10px !important;
    }
}
.editing #project-3d-status.is-dirty {
    color: #ff6868;
    border-color: #b64848;
}
.editing #project-3d-status.is-saved {
    color: #60dc7e;
    border-color: #3c8f54;
}
.editing #project-3d-save i {
    color: #fff;
}
.editing #project-3d-save.is-dirty i {
    color: #ff4f4f;
}
.editing #project-3d-save.is-saved i {
    color: #51dc73;
}
@media (max-width: 700px) {
    .editing .project-3d-terrain,
    .editing .project-3d-layer-panel,
    .project-3d-map-title-editor {
        left: 10px;
        width: min(315px, calc(100% - 20px));
    }
    .editing .project-3d-layer-panel {
        top: 236px;
        bottom: auto;
        max-height: calc(100vh - 350px);
    }
}
@media (max-width: 700px) {
    .editing.map-title-disabled .project-3d-map-title-editor {
        width: auto;
        min-width: 142px;
    }
    .editing.map-title-disabled .project-3d-layer-panel {
        top: 160px;
        max-height: calc(100vh - 274px);
    }
}
