/* From 721px up the driver header is one row. The title block was allowed
   to shrink until "Bus 12 Demo" sat on top of Simulate movement.
   Wrap that row before the two can share pixels. Below 721px the header
   is already a column, and this file leaves that layout alone. */
@media (min-width: 721px) {
  .work-header {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .work-header > .route-title-group {
    flex: 1 1 17rem;
    min-width: min(100%, 17rem);
    max-width: 100%;
  }
  .work-header > .header-actions {
    flex: 1 1 19rem;
    min-width: min(100%, 18rem);
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .route-heading {
    min-width: 0;
    max-width: 100%;
  }
  .route-heading h1,
  .route-heading p,
  .route-heading .driver-line {
    max-width: 100%;
  }
}
