/* VK 6.3.6 — public browsing map controls only. No Leaflet style/position overrides. */
body .rbm142-map-widget:has(.rbm283-top) .rbm283-views{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:auto!important;min-width:210px!important;max-width:100%!important;flex:0 0 auto!important;padding:4px!important;background:#eff2f1!important;border-radius:12px!important}
body .rbm142-map-widget:has(.rbm283-top) .rbm283-views button.rbm283-view{display:flex!important;justify-content:center!important;align-items:center!important;min-width:0!important;width:100%!important;margin:0!important;min-height:44px!important;padding:10px 12px!important;background:#fff!important;background-image:none!important;border:1px solid #d1dadc!important;border-radius:9px!important;color:#273642!important;-webkit-text-fill-color:#273642!important;box-shadow:none!important;font-weight:700!important;line-height:1.25!important;font-size:14px!important}
body .rbm142-map-widget:has(.rbm283-top) .rbm283-views button.rbm283-view.is-active{background:#273642!important;border-color:#273642!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
body .rbm142-map-widget:has(.rbm283-top) .rbm283-toolbar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;align-items:stretch!important;width:100%!important;min-width:0!important;margin:0 0 12px!important}
body .rbm142-map-widget:has(.rbm283-top) .rbm283-toolbar button{display:flex!important;justify-content:center!important;align-items:center!important;width:100%!important;min-width:0!important;min-height:45px!important;margin:0!important;padding:9px 10px!important;border-radius:10px!important;font-weight:700!important;font-size:14px!important;line-height:1.25!important;white-space:normal!important;box-shadow:none!important}
body .rbm142-map-widget:has(.rbm283-top) .rbm283-toolbar button.rbm283-near{background:#273642!important;border:1px solid #273642!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
body .rbm142-map-widget:has(.rbm283-top) .rbm283-toolbar button.rbm283-filter-toggle{background:#f4f6f5!important;border:1px solid #dbe1e1!important;color:#273642!important;-webkit-text-fill-color:#273642!important}
body .rbm142-map-widget:has(.rbm283-top) .rbm283-toolbar button.rbm283-reset{background:#fff!important;border:1px solid #bec8cd!important;color:#273642!important;-webkit-text-fill-color:#273642!important}
body .rbm142-map-widget:has(.rbm283-top) .rbm283-summary{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;min-width:0!important;margin:0 0 10px!important}
body .rbm142-map-widget:has(.rbm283-top) .rbm283-summary :is(.rbm142-map-status,.rbm283-location-hint){display:block!important;position:static!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important;font-size:12px!important;line-height:1.45!important;white-space:normal!important;overflow-wrap:anywhere!important;color:#4b5c64!important}
body .rbm142-map-widget:has(.rbm283-top) .rbm283-map-shell{position:relative!important;isolation:isolate!important}
body .rbm142-map-widget:has(.rbm283-top) .rbm283-search-area:not([hidden]){position:absolute!important;top:12px!important;left:50%!important;transform:translateX(-50%)!important;z-index:550!important;max-width:90%!important;white-space:normal!important}
@media(max-width:650px){
 body .rbm142-map-widget:has(.rbm283-top) .rbm283-top{display:flex!important;flex-direction:column!important;gap:10px!important;align-items:stretch!important;min-width:0!important}
 body .rbm142-map-widget:has(.rbm283-top) .rbm283-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body .rbm142-map-widget:has(.rbm283-top) .rbm283-toolbar button.rbm283-reset{grid-column:1/-1!important}
 body .rbm142-map-widget:has(.rbm283-top) .rbm283-toolbar button{font-size:13px!important}
}

/* VK 6.4.1: Desktop public map must not rely on later override styles.
   Fixes collapsed one-letter heading when guest CSS optimization drops the final stylesheet. */
@media (min-width:651px){
  body .rbm142-map-widget .rbm283-top{display:flex!important;flex-flow:row wrap!important;align-items:center!important;justify-content:space-between!important;gap:12px 16px!important;min-width:0!important}
  body .rbm142-map-widget .rbm283-top .rbm283-heading{flex:1 1 230px!important;width:auto!important;min-width:220px!important;max-width:100%!important;word-break:normal!important;overflow-wrap:normal!important}
  body .rbm142-map-widget .rbm283-top .rbm283-views{width:auto!important;max-width:100%!important;min-width:210px!important;flex:0 0 auto!important;align-self:center!important}
}
@media (max-width:650px){
  body .rbm142-map-widget .rbm283-top .rbm283-views{width:100%!important;min-width:0!important;max-width:100%!important;flex:auto!important}
}
