/* Percentage rows resolve against the grid itself, including when the window is short. */
.group-control-view .group-control-grid.adjustable-grid { grid-auto-rows: min(648px, 100%); }
.group-control-grid.adjustable-grid > :is(.remote-tile, .group-control-slot) {
  box-sizing: border-box;
  min-height: 0;
  height: 100%;
}
.group-control-grid.adjustable-grid .remote-tile > :is(iframe,.placeholder) {
  flex: 1 1 0;
  min-height: 0;
  height: 0;
}
.group-control-grid.adjustable-grid .group-control-slot__card { height: 100%; min-height: 0; box-sizing:border-box; }
.group-control-grid.adjustable-grid .group-control-slot__chrome { flex: none; }
.group-control-grid.adjustable-grid .group-control-cast__screen {
  flex: 1 1 0;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
}
.group-control-grid.adjustable-grid .group-control-cast__overlay { color: #f2f6fc; background: #202738; }
.group-control-grid.adjustable-grid .group-control-cast__overlay button { color: #162632; background: #f3f6fa; }
