/* Stand web panel only: let nested grids shrink; do not hide overflowed controls. */
#taskForm, #taskForm .stand-grid, #taskForm fieldset, #taskForm label,
#taskForm .chance-game-editor, #taskForm .chance-slot-rows,
#taskList > article, #taskList > article > * { min-width:0; max-width:100%; box-sizing:border-box; }
#taskForm .stand-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
#taskForm .chance-game-editor { width:100%; grid-column:1/-1; }
#taskList > article { flex-wrap:wrap; }
#taskList > article > .wpz-feedback { flex:0 0 100%; width:100%; min-width:0; }
#taskList .wpz-rating-row { grid-template-columns:30px minmax(0,1fr) 66px; }
#taskList .wpz-feedback-head { flex-wrap:wrap; }
@media(max-width:760px) {
  #taskForm.stand-grid, #taskForm .stand-grid { grid-template-columns:minmax(0,1fr); }
  #taskForm .chance-game-editor .wpz-feedback-head { flex-direction:column; align-items:stretch; }
  #taskForm .chance-game-editor .wpz-feedback-head > * { min-width:0; max-width:100%; }
  #taskForm .chance-lives { flex-wrap:wrap; }
  #taskForm .chance-slot-row { grid-template-columns:40px minmax(0,1fr) 64px; }
  #taskForm .chance-slot-row input, #taskForm .chance-slot-row select { width:100%; }
  #taskForm .chance-slot-row .chance-tr, #taskForm .chance-slot-row .chance-en { grid-column:1/-1; }
  #taskForm .chance-on input { width:auto; }
  #taskList > article { align-items:stretch; }
}
