/* V267 — compact sections dialog; preserve V266 colors, transparency, X and card styling. */
html body.studio-app dialog#modal.v266-sections-dialog {
  width: min(90vw, 430px) !important;
  max-width: 90vw !important;
}
html body.studio-app dialog#modal.v266-sections-dialog > .modal-body {
  width: 100% !important;
  box-sizing: border-box !important;
  padding-left: clamp(15px, 3.5vw, 24px) !important;
  padding-right: clamp(15px, 3.5vw, 24px) !important;
}
html body.studio-app dialog#modal.v266-sections-dialog #modalContent,
html body.studio-app dialog#modal.v266-sections-dialog #modalContent .search-results {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
html body.studio-app dialog#modal.v266-sections-dialog #modalContent .search-result {
  width: 100% !important;
  box-sizing: border-box !important;
}
@media (max-width: 480px) {
  html body.studio-app dialog#modal.v266-sections-dialog {
    width: min(88vw, 375px) !important;
    max-width: 88vw !important;
  }
}
