@media (max-width: 980px) {
  .shell {
    overflow-x: auto;
    overflow-y: hidden;
  }

  .main {
    grid-template-columns: 420px 1fr;
    min-width: 980px;
  }

  .left-stack,
  .right-stack {
    height: 100%;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  #modelsPanel {
    max-height: calc(100vh - 255px);
  }
}
