/* v95: fixed order badge, aligned titles, optional time at the far right. */
.timeline .time-rule,
.timeline.reordering .time-rule{
  display:grid;
  grid-template-columns:27px 32px minmax(0,1fr) auto 44px;
  grid-template-areas:"index type title time actions";
  align-items:center;
  column-gap:6px;
  min-width:0;
}
.timeline .time-rule .stop-index{
  grid-area:index;
  box-sizing:border-box;
  width:27px;
  min-width:27px;
  max-width:27px;
  height:27px;
  min-height:27px;
  margin:0;
  padding:0;
  border:0;
  border-radius:4px;
  font:700 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  font-variant-numeric:tabular-nums;
}
.timeline .time-rule .stop-type-icon{grid-area:type;width:32px;min-width:32px;margin:0}
.timeline .time-rule .stop-title,
.timeline.reordering .time-rule .stop-title,
.timeline .time-rule .flight-card-label{
  grid-area:title;
  width:100%;
  min-width:0;
  margin:0;
  text-align:left;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.timeline .time-rule .timeline-time{
  grid-area:time;
  min-width:42px;
  width:auto;
  margin:0;
  padding:0 2px;
  color:var(--forest);
  font:500 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  font-variant-numeric:tabular-nums;
  text-align:right;
  text-decoration:none;
  border:0;
}
.timeline .time-rule .timeline-time:hover{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px}
.timeline .time-rule .stop-actions-trigger{grid-area:actions;margin:0}

@media(max-width:700px){
  .timeline .time-rule,
  .timeline.reordering .time-rule{
    grid-template-columns:27px 28px minmax(0,1fr) auto 40px;
    column-gap:4px;
  }
  .timeline .time-rule .stop-type-icon{width:28px;min-width:28px;padding-inline:5px}
  .timeline .time-rule .timeline-time{min-width:36px;font-size:11px}
  .timeline .time-rule .stop-actions-trigger{min-width:40px;width:40px}
}

@media(max-width:380px){
  .timeline .time-rule,
  .timeline.reordering .time-rule{column-gap:3px}
  .timeline .time-rule .timeline-time{min-width:34px;padding-inline:0}
}
