#webRemote {
  height: 100vh !important;
  height: 100dvh !important;
  overflow: hidden !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
}

#webRemote .remote-toolbar {
  min-height: 54px;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 15px;
  padding: 8px 18px;
}

#webRemote .remote-toolbar b,
#webRemote .remote-toolbar button,
#webRemote .remote-toolbar label {
  white-space: nowrap;
}

#webRemote .remote-toolbar span {
  flex: 1 1 170px;
}

#webRemote .canvas-wrap {
  overflow: hidden !important;
  min-width: 0;
  min-height: 0;
}

@media (max-width: 900px) {
  #webRemote .remote-toolbar {
    gap: 7px;
    padding: 7px 10px;
  }

  #webRemote .remote-toolbar span {
    flex-basis: 100px;
  }
}
