.block-library-query-toolbar__popover .components-popover__content{
  min-width:230px;
}

.wp-block-query__create-new-link{
  padding:0 16px 16px 52px;
}

.block-library-query__pattern-selection-content .block-editor-block-patterns-list{
  grid-gap:8px;
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
}
.block-library-query__pattern-selection-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item{
  margin-bottom:0;
}
.block-library-query__pattern-selection-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-preview__container{
  max-height:250px;
}

@media (min-width:600px){
  .block-library-query-pattern__selection-modal .components-modal__frame{
    height:calc(100% - 120px);
    width:calc(100% - 32px);
  }
}
@media (min-width:782px){
  .block-library-query-pattern__selection-modal .components-modal__frame{
    width:750px;
  }
}
@media (min-width:960px){
  .block-library-query-pattern__selection-modal .components-modal__frame{
    height:70%;
  }
}
.block-library-query-pattern__selection-modal .block-library-query-pattern__selection-search{
  background:#fff;
  margin-bottom:2px;
  padding:16px 0;
  position:sticky;
  top:0;
  z-index:2;
}

.block-library-query-toolspanel__filters .components-form-token-field__help{
  margin-bottom:0;
}
.block-library-query-toolspanel__filters .block-library-query-inspector__taxonomy-control:not(:last-child){
  margin-bottom:24px;
}