.ldesign-query {
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  margin: -8px;
  position: relative;
}
.ldesign-query.expand .ldesign-query__content {
  opacity: 0;
  transition: 0.3s;
}
.ldesign-query.expand.is-show .ldesign-query__content {
  opacity: 1;
}
.ldesign-query.popup .ldesign-query__content {
  opacity: 0;
  transition: 0.3s;
  position: absolute;
  bottom: 0;
  left: -16px;
  width: calc(100% + 8px * 4);
  transform: translateY(100%);
  box-shadow: var(--td-shadow-2);
  z-index: 1000;
  background-color: var(--td-bg-color-container);
  box-sizing: border-box;
}
.ldesign-query.popup.is-show .ldesign-query__content {
  opacity: 1;
  padding: 16px;
  transform: translateY(calc(100% + 8px));
}
.ldesign-query__preview,
.ldesign-query__content {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
}
.ldesign-query__item {
  box-sizing: border-box;
  padding: 8px;
}
.ldesign-query__item_buttons .l-form__controls-content {
  justify-content: flex-end;
}
.ldesign-query__item_buttons .l-button {
  margin-left: 8px;
}
.ldesign-query__item .l-form__controls-content > *:not(.l-button) {
  width: 100%;
}
.ldesign-query__core {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
}
.ldesign-query__core .l-form__item {
  width: 100%;
}
.ldesign-query__title {
  font-size: var(--td-font-size-body-medium);
  font-weight: normal;
  white-space: nowrap;
  margin-right: 8px;
}
.ldesign-query__value {
  flex: 1;
  width: 0;
}
.ldesign-query__value > * {
  width: 100%;
}
