/* Coach navigation needs room for a brand icon and a wrapped destination.
   Keep the bar in the workspace's flex flow, so extra height reduces the
   scrolling page rather than covering its contents. */
@media (max-width: 540px) {
  .staff-workspace > nav.staff-timetable-nav.staff-timetable-nav-coach {
    height: auto !important;
    min-height: calc(156px + env(safe-area-inset-bottom, 0px));
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(72px, auto)) !important;
    align-items: stretch;
  }
  .staff-workspace > nav.staff-timetable-nav.staff-timetable-nav-coach > button {
    height: auto !important;
    min-height: 72px !important;
    min-width: 0;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
  }
  html body .staff-workspace > nav.staff-timetable-nav.staff-timetable-nav-coach > button[data-sah-nav]::before {
    margin: 0 !important;
  }
  .staff-workspace > nav.staff-timetable-nav.staff-timetable-nav-coach .staff-social-label {
    max-width: 100%;
  }
}
