#tripInfo { 
  position: relative;
  flex: 1 0 10rem;
  width: 100%;
  height: 100%;
  flex-direction: column; 
}

#tripInfoHeader {
  flex: 0 0 auto;
}

#tripButtons {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6em;
  margin: 0.5em 0;
  padding: 0 0em;
}
  .tripButton {
    box-sizing: border-box;
    border: 0.2em outset;
    border-radius: 3px;
    border-radius: var(--borderradius);
    border-color: transparent;
    padding: 0.1em 0;
    text-align: center;
    background-color: var(--surface-primary);
    color: var(--text-on-dark);
  }

#tripDiagram {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0.5em 0.5em 0.1em 0.5em;
  background-color: var(--surface-panel);
}
  .tdhead {
    height: 2em;
    font-size: 90%;
    display: flex; 
    font-weight: bold;
  }
  .tdrow {
    height: 3em;
    font-size: 90%;
    display: flex; 
    align-items: stretch;
  }
    #tripDiagram .sch {
      flex: 0 0 11ch;
      position: relative;
    }
    #tripDiagram .name {
      flex: 1 0 10ch;
      padding-left: 3ch;
      overflow: hidden;
    }  
    .tdrow .sch {
      border-right: 0.85em solid var(--surface-primary);
    }
    .tdrow.faded .sch {
      border-right-color: color-mix(in srgb, var(--surface-primary) 60%, transparent);
    }
    .tdrow.pretrip .sch {
      border-right-color: color-mix(in srgb, var(--surface-primary) 30%, transparent);
    }
    .tdrow.filteredStop .sch {
      border-right-color: color-mix(in srgb, var(--surface-primary) 60%, transparent);
    }
    .tdrow.faded .schText,
    .tdrow.faded .name {
      opacity: 0.6;
    }
    .tdrow.pretrip .schText,
    .tdrow.pretrip .name {
      opacity: 0.3;
    }
    .tdrow:last-child .sch {
        border-color: transparent;
      }
      .vehicleicon {
        position: absolute;
        width: 1.65em;
        height: 1.65em;
        padding-top: 0.17em;
        right: -1.25em;
        background-color: var(--trip-vehicle-background);
        border-color: var(--trip-vehicle-border);
        box-shadow: 0 0 0 0.08em var(--trip-vehicle-halo);
        border-style: solid;
        border-width: 0.2em;
        text-align: center;
        border-radius: 50%;
        z-index: 1;
      }
        .vehicleicon img {
          width: 1.12em;
          height: 1.12em;
        }
      .vehicleiconquestion {
        position: absolute;
        padding-top: 0.2em;
        right: 1.2em;
        color: var(--text-on-light);
        opacity: 0.75;
        z-index: 1;
      }

      .tdrow .circle {
        position: absolute;
        top: 0px;
        right: -1.0em;
        width: 1.15em;
        height: 1.15em;
        border-radius: 50%;
        border-style: solid;
        border-width: 0.12em;
        border-color: var(--surface-primary);
        background-color: var(--surface-panel);
      }
      .tdrow .est {
        font-style: italic;
        font-size: 80%;
      }
      .tdrow .selectedStopStatus {
        font-style: italic;
        font-size: 70%;
        line-height: 1.1;
        margin-top: 0.1em;
      }

