
/* Danmi v34 — mobile schedule navigation alignment */
@media (max-width: 760px) {
  #routePage.route-schedule-mode .route-week-head {
    display: grid !important;
    grid-template-columns: 84px minmax(0, 1fr) 84px !important;
    align-items: center !important;
    width: 100% !important;
    gap: 7px !important;
  }

  #routePage.route-schedule-mode #routePrevWeek {
    grid-column: 1 !important;
    justify-self: start !important;
    margin: 0 !important;
  }

  #routePage.route-schedule-mode .route-week-title {
    grid-column: 2 !important;
    justify-self: stretch !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  #routePage.route-schedule-mode #routeNextWeek {
    grid-column: 3 !important;
    justify-self: end !important;
    margin: 0 !important;
  }

  #routePage.route-schedule-mode #routePrevWeek,
  #routePage.route-schedule-mode #routeNextWeek {
    box-sizing: border-box !important;
    width: 84px !important;
    min-width: 84px !important;
    max-width: 84px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 7px !important;
  }
}

@media (max-width: 370px) {
  #routePage.route-schedule-mode .route-week-head {
    grid-template-columns: 76px minmax(0, 1fr) 76px !important;
  }

  #routePage.route-schedule-mode #routePrevWeek,
  #routePage.route-schedule-mode #routeNextWeek {
    width: 76px !important;
    min-width: 76px !important;
    max-width: 76px !important;
    padding-inline: 4px !important;
  }
}
