.container {
  flex-grow: 1;
  display: grid;
  height: 100%;
  padding: 8px;
  margin: 0 -2px -2px -2px;
  gap: 8px;
  grid-template-columns: 100%;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    'parameters'
    'users';
  overflow-y: auto;
  /* Make scroller composited for faster scrolling,
    * the downside of that is that on lower
    * end devices Browser will scroll first and
    * then render DOM, making some content flash white.
    */
  will-change: transform;
}

.parameters {
  grid-area: parameters;
  display: flex;
  flex-flow: column nowrap;
  align-content: flex-start;
  gap: 12px;
  padding: 12px;
  flex-shrink: 0;
}

.fieldset {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  border: none;
  width: 100%;
}

.users {
  grid-area: users;
  display: flex;
  flex-flow: column nowrap;
  gap: 8px;
  /* Make scroller composited for faster scrolling,
    * the downside of that is that on lower
    * end devices Browser will scroll first and
    * then render DOM, making some content flash white.
    */
  will-change: transform;
}

.label {
  color: var(--color-text-light);
  margin: 0;
  text-align: center;
}

.presets {
  display: flex;
  flex-flow: row wrap;
  gap: 8px;
  gap: 4px;
  padding: 0;
  margin: 0;
  border: none;
}

.labelWithFixedWidth {
  flex: 0 0 120px;
}

@media only screen and (min-width: 812px) {
  .container {
    grid-template-columns: minmax(var(--size-panel-min-width), 1fr) minmax(var(--size-panel-min-width), 3fr);
    grid-template-rows: 100%;
    grid-template-areas: 'parameters users';
    padding: 0 8px 8px 8px;
    overflow: hidden;
    flex-grow: 1;
    margin: 0;
    border: none;
  }

  .users,
  .parameters {
    overflow: hidden auto;
  }
}
