/* The two side panels grow with their contents; only the page may scroll. */
@media (min-width: 760px) {
  .studio-layout,
  .head-collapsed .studio-layout {
    height: auto;
    min-height: max(470px, calc(100dvh - 150px));
    grid-template-rows: auto;
  }

  .tools-column {
    height: auto;
    overflow: visible;
  }
}

@media (min-width: 760px) and (max-height: 780px) {
  .studio-layout,
  .head-collapsed .studio-layout {
    min-height: max(420px, calc(100dvh - 130px));
  }
}
