.commute-heading h2 {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.commute-heading .commute-glyph { color: var(--red); }
.commute-heading .refresh .commute-glyph { color: inherit; }
.commute-card { margin-bottom: 1.5rem; }
.commute-empty { padding: 1.25rem; }
.commute-empty strong { color: var(--ink); }
.commute-empty p { margin: .45rem 0 0; color: var(--muted); line-height: 1.6; }

.commute-list { list-style: none; margin: 0; padding: 0; }
.commute-row {
  display: flex;
  align-items: center;
  padding-right: .5rem;
}
.commute-row + .commute-row { border-top: 1px solid var(--line); }
.commute-open {
  flex: 1;
  min-width: 0;
  min-height: 4.5rem;
  display: grid;
  grid-template-columns: 4.3rem minmax(0, 1fr) minmax(5rem, auto);
  align-items: center;
  gap: .75rem;
  padding: .8rem .55rem .8rem 1rem;
  background: none;
  border: 0;
  text-align: left;
}
.commute-open:hover, .commute-open:focus-visible { background: #f1f6f2; }
.commute-route, .commute-detail, .commute-eta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .22rem;
}
.commute-route .route-badge { min-width: 0; padding-inline: .46rem; }
.commute-detail { overflow-wrap: anywhere; }
.commute-detail small, .commute-eta small { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.commute-detail .commute-remark { color: var(--teal); }
.commute-eta { align-items: flex-end; text-align: right; }
.commute-eta strong { color: var(--teal); font-size: 1.13rem; white-space: nowrap; }
.commute-eta strong small { color: inherit; font-weight: 600; }
.commute-eta .commute-time { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .1rem .35rem; max-width: 6.5rem; font-variant-numeric: tabular-nums; }
.commute-remove {
  width: 44px;
  min-height: 44px;
  display: grid;
  flex: none;
  place-items: center;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
}
.commute-remove:hover, .commute-remove:focus-visible { color: var(--red); background: #f9eeea; }
.commute-foot { padding: .65rem 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }

@media (max-width: 500px) {
  .commute-open {
    grid-template-columns: 3.05rem minmax(0, 1fr) 4.55rem;
    gap: .5rem;
    padding: .75rem .2rem .75rem .65rem;
  }
  .commute-row { padding-right: 0; }
  .commute-route .operator { font-size: .61rem; }
  .commute-eta .commute-time { font-size: .75rem; }
}
