
/* V41.22 — restore normal desktop scrolling on all ordinary pages */
@media screen and (min-width:769px){
  html{
    height:auto!important;
    min-height:100%!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }
  body{
    height:auto!important;
    min-height:100vh!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }
  body:not(.aqar-home-map) main,
  body:not(.aqar-home-map) .page-content,
  body:not(.aqar-home-map) .site-content{
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }

  /* Search results map is a normal page: allow scrolling above/below the map. */
  body.aqar-properties-map{
    height:auto!important;
    overflow-y:auto!important;
  }
  body.aqar-properties-map #properties-map-shell{
    height:min(68vh,680px)!important;
    min-height:480px!important;
    max-height:680px!important;
  }
  body.aqar-properties-map #map{
    height:100%!important;
    min-height:480px!important;
  }

  /* Keep only the homepage map visually full-screen. */
  body.aqar-home-map{
    height:100vh!important;
    min-height:100vh!important;
    overflow:hidden!important;
  }
}

/* Assistant: show the full answer and allow comfortable scrolling. */
#aqar-assistant-panel{
  width:min(430px,calc(100vw - 24px))!important;
  height:min(680px,82vh)!important;
  max-height:82vh!important;
}
#aqar-assistant-msgs{
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  scroll-behavior:smooth;
}
.aqar-bot-msg,.aqar-user-msg{
  max-width:96%!important;
  overflow:visible!important;
  white-space:pre-wrap!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
.aqar-bot-guide{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  overflow:visible!important;
}
@media(max-width:768px){
  #aqar-assistant-panel{
    height:min(620px,76vh)!important;
    max-height:76vh!important;
  }
  .aqar-bot-msg,.aqar-user-msg{max-width:98%!important}
}
