/* Release 219: generation mode, model, ratio and duration share one desktop row. */
.shell .controlRow:has(.primaryModelChoice213) {
  grid-template-columns:
    minmax(150px, 1fr)
    minmax(210px, 1.35fr)
    minmax(90px, .75fr)
    minmax(120px, 1.05fr);
}

.shell .controlRow:has(.primaryModelChoice213) > .durationControl {
  grid-column: 4;
}

.shell .primaryGenerationMode219 select {
  min-height: 24px;
  cursor: pointer;
}

.shell .primaryModelChoice213 {
  position: relative;
}

.shell .primaryModelChoice213 > .modelChoiceLabel186 {
  box-sizing: border-box;
  padding-right: 100px;
}

.shell .primaryModelChoice213 > .modelSwitchButton207 {
  left: 96px;
  right: auto;
  width: 94px;
  padding-inline: 8px;
  font-size: 10px;
}

.shell .primaryModelChoice213 .modelSelectWithInfo {
  display: block;
  min-width: 0;
}

.shell .primaryModelChoice213 .modelNameSelect186 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.shell .primaryModelChoice213 .specialChannelModelDescription {
  display: none !important;
  overflow: hidden;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .shell .controlRow:has(.primaryModelChoice213) {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
  }

  .shell .controlRow:has(.primaryModelChoice213) > .durationControl {
    grid-column: 2;
  }
}

@media (max-width: 480px) {
  .shell .controlRow:has(.primaryModelChoice213) {
    grid-template-columns: 1fr;
  }

  .shell .controlRow:has(.primaryModelChoice213) > .durationControl {
    grid-column: 1;
  }
}
