/* The site already supplies the airport identity. Keep the map chrome functional. */
body header,body .intro,body .source,body .map-heading,body .results-head,body #map-note{display:none!important}
body{--sidebar:288px;--top:0px;color:#102d4b;background:#f1f4f7}
body aside{inset:0 auto 0 0;width:var(--sidebar);border-radius:0;background:#fff;border-right:1px solid #dce5ee}
body #viewport,body #labels{inset:0 0 0 var(--sidebar)}
body .searchbox{margin:20px 18px 0;padding:11px 12px;border-radius:6px;gap:8px}
body .searchbox input{min-width:0;font-size:12px}
body .searchbox #clear{flex:0 0 22px;width:22px;height:22px;padding:2px;background:none;color:#6b8197}
body .searchbox #clear svg{width:18px;height:18px}
body .chips{padding:14px 18px 16px;gap:6px}
body .chips button{font-size:10px;padding:7px 9px;border-radius:5px}
body #list{padding:0 10px 14px;border-top:1px solid #edf1f5}
body .place{gap:10px;min-height:65px;padding:11px 8px;border-bottom-color:#edf1f5;margin:0;border-radius:0}
body .place b{font-size:12px;font-weight:600;line-height:1.35}
body .place .place-copy small{display:none}
body .place>.brand-logo,body .place>.service-icon{width:39px;height:34px;border:0;background:#fff;padding:2px;flex-shrink:0}
body .place em{min-width:20px;padding:3px;font-size:10px;color:#7890a5;background:none}
body .place.selected{border-color:#edf1f5;background:#f1f6fc;box-shadow:inset 2px 0 #176fd7}
body .view-controls{top:18px;right:18px;left:auto;bottom:auto;gap:2px;padding:4px;background:#fffffff5;border:1px solid #d3dfe9;border-radius:6px;box-shadow:0 3px 12px #102d4b09;z-index:7}
body .view-controls button{display:grid;place-items:center;width:34px;height:34px;padding:7px;border-radius:4px}
body .view-controls button svg{display:block;width:19px;height:19px}
body .view-controls #info{margin:0;color:#71869a}
body .floor-controls{right:18px;top:50%;transform:translateY(-50%);gap:2px;border-radius:6px;padding:4px;background:#fffffff5;border:1px solid #d3dfe9;z-index:6}
body .floor-controls>span{display:none}
body .floor-controls button{width:33px;height:33px;font-size:12px;border:0;box-shadow:none;background:transparent;color:#4d6780}
body .floor-controls .active{background:#176fd7;color:white}
body .map-tools{bottom:18px;right:18px;gap:2px;background:#fffffff5;border:1px solid #d3dfe9;padding:4px;border-radius:6px;z-index:7}
body .map-tools button{width:31px;height:31px;border:0;background:transparent;box-shadow:none;color:#47627c}
body .floor-place{opacity:0;pointer-events:none;transition:opacity .12s;box-shadow:0 2px 8px #102d4b16}
body .floor-place:is(.selected,.is-hovered){opacity:1;pointer-events:auto}
body .floor-place .map-place-name{display:block}
body .map-pin-stem{opacity:0}
body .map-pin-stem:is(.selected,.is-hovered){opacity:1}
body .floor-tag{padding:7px 10px;font-size:11px;min-width:30px;text-align:center;color:#46617a}
body .floor-tag,body .floor-controls [data-floor="0"]{display:none!important}
body:not([data-level="0"]) .place em{display:none}
body #detail{left:calc(var(--sidebar) + 18px);bottom:18px;top:auto;width:290px;border-radius:7px;box-shadow:0 8px 30px #102d4b12;padding:19px}
body #detail .detail-sources{margin-top:12px;color:#788c9e;font-size:10px}
body #detail .detail-sources summary{cursor:pointer}
body #detail .detail-sources p{font-size:10px;line-height:1.6}
body #detail h2{font-size:20px}
body #detail .detail-heading{gap:10px}
body #detail .detail-heading .brand-logo{width:66px;height:43px}
body .photo-tour-ui{position:absolute;inset:0;pointer-events:none;z-index:4}
body .photo-tour-locations{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);display:flex;gap:3px;background:#fffffff5;border:1px solid #d3dfe9;padding:4px;border-radius:6px;pointer-events:auto;box-shadow:0 4px 18px #102d4b10}
body .photo-tour-locations button{background:transparent;color:#3b5872;padding:9px 15px;border-radius:4px;font-size:12px;white-space:nowrap}
body .photo-tour-locations button[aria-pressed=true]{background:#176fd7;color:#fff}
body .photo-tour-status{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fffffff0;padding:12px 18px;border-radius:5px;color:#24455e;font-size:12px}
body.is-panorama aside,body.is-panorama #labels,body.is-panorama .floor-controls,body.is-panorama #detail{display:none!important}
body.is-panorama #viewport{inset:0}
body.is-panorama #viewport canvas{cursor:grab}
body.is-panorama #viewport canvas:active{cursor:grabbing}
body .embed-preview{overflow:hidden}
@media(max-width:850px){
 body{--sidebar:0px}
 body aside{inset:auto 0 0;height:35vh;width:100%;border-top:1px solid #dce5ee;border-right:0}
 body #viewport,body #labels{inset:0 0 35vh}
 body .searchbox{margin:12px 14px 0;padding:9px 11px}
 body .chips{padding:8px 14px 11px;gap:5px}
 body .chips button{font-size:10px;padding:6px 8px}
 body #list{display:flex;gap:8px;padding:8px 10px 12px}
 body .place{height:65px;min-height:65px;min-width:218px;width:218px;padding:9px;border:1px solid #e1e8ef;border-radius:5px}
 body .view-controls{top:12px;right:12px;padding:3px;gap:1px}
 body .view-controls button{height:31px;width:31px;padding:6px}
 body .floor-controls{right:12px;top:27vh;padding:3px;gap:1px}
 body .floor-controls button{height:30px;width:30px;font-size:11px}
 body .map-tools{bottom:calc(35vh + 12px);right:12px;padding:3px}
 body #detail{left:12px;bottom:calc(35vh + 12px);width:min(280px,calc(100vw - 65px));max-height:calc(65vh - 70px)}
 body.is-panorama .map-tools{bottom:16px;right:12px}
 body .photo-tour-locations{bottom:72px;width:max-content;max-width:calc(100vw - 24px)}
 body .photo-tour-locations button{font-size:11px;padding:8px 11px}
}
body.embed-preview #viewport,body.embed-preview #labels{inset:0}
body.embed-preview .view-controls,body.embed-preview .map-tools,body.embed-preview aside{display:none!important}
body.embed-preview .floor-controls{right:12px;top:50%;transform:translateY(-50%)}
@media(prefers-reduced-motion:reduce){body .floor-place{transition:none}}

body .floor-walk,body .tour-back{position:fixed;z-index:30;bottom:24px;left:calc(288px + (100vw - 288px)/2);transform:translateX(-50%);display:flex;align-items:center;gap:10px;border:1px solid #d7e3ee;border-radius:6px;background:#fff;color:#176fd7;box-shadow:0 4px 20px #102d4b12;padding:13px 20px;font:500 13px Inter,sans-serif;cursor:pointer;white-space:nowrap}
body .floor-walk svg{width:20px;height:20px}body .floor-walk:hover,body .tour-back:hover{background:#f0f6fd}body .floor-walk[hidden],body.is-panorama .floor-walk,body .tour-back,body #panorama[hidden]{display:none}body.is-panorama .tour-back{display:flex;left:20px;top:20px;bottom:auto;transform:none}body .photo-tour-locations button[hidden]{display:none}body.embed-preview .floor-walk{display:none!important}
@media(max-width:850px){body .floor-walk{left:calc(50% - 20px);bottom:calc(35vh + 16px);padding:11px 14px;font-size:12px}body.is-panorama .tour-back{top:12px;left:12px;padding:10px 12px}}

body.embed-preview .map-tools{display:flex!important}

/* Embedded controls occupy separate corners, leaving the model unobstructed. */
body.embed-preview .floor-controls{top:14px;right:14px;transform:none;flex-direction:row-reverse;gap:3px;padding:4px;border-radius:9px;box-shadow:0 3px 12px #18395408}
body.embed-preview .floor-controls button{width:30px;height:30px;font-size:11px;border-radius:5px}
body.embed-preview .map-tools{right:14px;bottom:14px;border-radius:9px;padding:4px;box-shadow:0 3px 12px #18395408}
body.embed-preview .map-tools button{width:32px;height:32px}
body.embed-preview .fallback p{left:16px;right:140px;bottom:21px;padding:0;background:none;text-align:left;font-size:11px;line-height:1.5;color:#657c91}
@media(max-width:600px){body.embed-preview .fallback p{font-size:0;bottom:24px}body.embed-preview .fallback p::before{content:'Потяните для вращения';font-size:10px}body.embed-preview .floor-controls{top:12px;right:12px}body.embed-preview .map-tools{right:12px;bottom:12px}}

/* Floor tabs match the reference navigation across the top of the map. */
body.embed-preview .floor-controls{left:14px;right:auto;top:14px;display:flex;flex-direction:row-reverse;padding:0;gap:5px;border:0;box-shadow:none;background:none;border-radius:0}
body.embed-preview .floor-controls button{width:auto;min-width:53px;height:34px;padding:0 11px;border-radius:6px;font-size:10px;background:#fff;color:#486684;white-space:nowrap}
body.embed-preview .floor-controls button::after{content:' этаж'}
body.embed-preview .floor-controls [data-floor='0']{display:block!important;min-width:100px;font-size:0;order:1}
body.embed-preview .floor-controls [data-floor='0'] svg{display:none}
body.embed-preview .floor-controls [data-floor='0']::after{content:'Общий вид';font-size:10px}
body.embed-preview .floor-controls button.active{background:#07376d;color:#fff}
body.embed-preview .fallback p{bottom:18px;left:14px;right:auto;max-width:calc(100% - 155px);padding:9px 12px;border-radius:6px;background:#ffffffd9;font-size:10px;color:#678199}
@media(max-width:850px){body.embed-preview .floor-controls{left:10px;right:10px;top:10px;overflow-x:auto;max-width:calc(100% - 20px);padding-bottom:4px}body.embed-preview .floor-controls button{min-width:47px;padding:0 9px;height:31px;font-size:9px}body.embed-preview .floor-controls [data-floor='0']{min-width:78px}body.embed-preview .floor-controls [data-floor='0']::after{font-size:9px}body.embed-preview .fallback p{display:none}}
body.embed-preview .floor-controls{flex-direction:row}
body.embed-preview .floor-controls button{flex-shrink:0}
body.embed-preview .floor-controls [data-floor='0']{order:0}
body.embed-preview .floor-controls [data-floor='1']{order:1}
body.embed-preview .floor-controls [data-floor='2']{order:2}
body.embed-preview .floor-controls [data-floor='3']{order:3}
body.embed-preview .floor-controls [data-floor='4']{order:4}
body.embed-preview .floor-controls [data-floor='5']{order:5}
@media(max-width:600px){body.embed-preview .map-tools{top:53px;bottom:auto;right:12px}}



body.is-floor-focus .floor-focus-tag{display:block!important;background:#ffffffde;color:#668199;border-color:#cedbe7;opacity:.65}
body.is-floor-focus .floor-focus-tag.is-active{background:#07376d;border-color:#07376d;color:#fff;opacity:1}

/* Logos are visible as soon as a floor is selected; names expand on hover/focus. */
body .floor-place.always-visible{opacity:1;pointer-events:auto;width:44px;min-width:44px;height:32px;min-height:32px;padding:4px;backdrop-filter:none;transition:box-shadow .12s;background:#fff}
body .always-visible .map-place-name{display:none;position:absolute;top:calc(100% + 5px);bottom:auto;left:50%;transform:translateX(-50%);max-width:180px;width:max-content;white-space:normal;background:#fff;border:1px solid #d7e3e9;border-radius:4px;padding:5px 7px;font-size:10px;line-height:1.3;text-align:center;box-shadow:0 2px 8px #102d4b12;pointer-events:none}
body .always-visible:is(:hover,:focus-visible,.selected){z-index:15}
body .always-visible:is(:hover,:focus-visible,.selected) .map-place-name{display:block}
body .map-pin-stem.always-visible{opacity:.5}
.fallback-logo-layer{position:absolute;inset:0;pointer-events:none;z-index:3}
@media(max-width:850px){body .floor-place.always-visible{width:32px;min-width:32px;height:26px;min-height:26px;padding:3px}}
body.embed-preview:not(.is-panorama)>#labels{display:block!important}
body .always-visible.is-hovered{z-index:15}
body .always-visible.is-hovered .map-place-name{display:block}
