/* W-13: «Вид из окон» - the apartment on its floor plan with an arrow out of each window */
.b-windows-view { width: 100%; }
.b-windows-view__svg { display: block; width: 100%; height: auto; max-height: 70vh; background: #fbfaf7; border-radius: 8px; }
.b-windows-view__legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; font-size: 15px; line-height: 1.4; color: #4a4a4a; }
.b-windows-view__sides { font-weight: 600; }
.b-windows-line__sun { display: block; margin-top: 2px; font-size: 13px; color: #8a8a8a; }
@media (max-width: 767px) {
    .b-windows-view__svg { max-height: none; }
    .b-windows-view__legend { font-size: 14px; }
}
/* W-14: «На генплане» - the same flat on the developer's master-plan render, behind a switch (no script) */
.b-windows-view__mode { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; margin: 0; }
.b-windows-view__switch { display: inline-flex; gap: 4px; margin-bottom: 12px; padding: 3px; border-radius: 20px; background: #efede6; font-size: 14px; line-height: 1.2; }
.b-windows-view__opt { padding: 6px 14px; border-radius: 17px; color: #4a4a4a; cursor: pointer; user-select: none; }
.b-windows-view__mode--plan:checked ~ .b-windows-view__switch .b-windows-view__opt--plan,
.b-windows-view__mode--genplan:checked ~ .b-windows-view__switch .b-windows-view__opt--genplan { background: #fff; color: #222; font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.b-windows-view__mode:focus-visible ~ .b-windows-view__switch { outline: 2px solid #8e9c74; outline-offset: 2px; }
.b-windows-view__pane--genplan { display: none; }
.b-windows-view__mode--genplan:checked ~ .b-windows-view__pane--plan { display: none; }
.b-windows-view__mode--genplan:checked ~ .b-windows-view__pane--genplan { display: block; }
.b-windows-view__svg--genplan { background: #dfe3d6; }
.b-windows-view__caption { margin-top: 10px; font-size: 15px; font-weight: 600; color: #333; }
.b-windows-view__note { margin-top: 2px; font-size: 13px; color: #8a8a8a; }
.b-windows-view { position: relative; }
/* W-22: the zoom (+/-) back - the same picture on the site's map of the master plan, over the static one; the buttons as
   on the lab's map */
.b-windows-view__pane--genplan { position: relative; }
.b-windows-view__map { position: absolute; inset: 0; z-index: 0; border-radius: 8px; visibility: hidden; }
.b-windows-view__map.is-ready { visibility: visible; }
.b-windows-view .leaflet-container { background: #dfe3d6; font-family: inherit; }
.b-windows-view .leaflet-control-zoom { border: 0; box-shadow: 0 8px 26px rgba(52, 61, 46, .16); }
.b-windows-view .leaflet-control-zoom a { border-color: #e5e9de; color: #526b43; }
/* Cover subpixel tile gaps without changing Leaflet's 256px grid, zoom or SVG coordinates.
   Normal blending prevents the overlapping edges from adding a bright line. */
.b-windows-view__map.leaflet-container img.leaflet-tile {
    width: 257px !important;
    height: 257px !important;
    mix-blend-mode: normal;
}
