/* Keep staff controls and long names within the viewport; preserve print rules. */
@media screen {
  .shell { grid-template-columns: 16.5rem minmax(0, 1fr); }
  .shell__main { min-width: 0; max-width: 100%; }
  .shell .page, .shell .page__head > div, .shell .panel-card,
  .shell .card, .shell .invite, .shell .invite__body,
  .shell .editor__item, .shell .editor__step { min-width: 0; }
  .shell .page__head h1, .shell .crumb, .shell .profile__name,
  .shell .org-card__name { overflow-wrap: anywhere; }
  .shell .page__actions { flex-wrap: wrap; min-width: 0; }
  .shell .field__input { min-width: 0; max-width: 100%; width: 100%; }
  .shell .form__row { grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr)); }
  .shell .profile__meta { grid-template-columns: repeat(auto-fit, minmax(min(9rem, 100%), 1fr)); }
}
@media screen and (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
}
@media screen and (max-width: 420px) {
  .shell .invite__row { flex-wrap: wrap; }
  .shell .invite__row .field__input { flex: 1 1 100%; }
  .shell .editor__item-meta select { width: 100%; max-width: 100%; }
}
