.route-research-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.route-research-entry .button,
.route-research-actions .button {
  text-align: center;
}

.transit-research-link {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem .7rem;
  margin-top: .65rem;
}

.transit-research-link .button {
  padding: .45rem .7rem;
}

.transit-research-link small {
  color: #526172;
}

.route-research-picker form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8rem auto;
  align-items: end;
  gap: .8rem;
}

.route-research-picker label {
  display: grid;
  gap: .35rem;
  font-weight: 700;
}

.route-research-picker select,
.route-research-picker input {
  width: 100%;
}

.route-research-picker > small {
  display: block;
  margin-top: .8rem;
  line-height: 1.6;
  color: #526172;
}

.route-research-current {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.route-research-current dl {
  display: grid;
  gap: .35rem;
  margin: 0;
  min-width: min(100%, 24rem);
}

.route-research-current dl div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: .5rem;
}

.route-research-current dt {
  color: #526172;
}

.route-research-current dd {
  margin: 0;
  font-weight: 700;
}

.route-research-prompt textarea {
  width: 100%;
  box-sizing: border-box;
}

.route-research-actions {
  display: flex;
  gap: .6rem;
  margin-top: .8rem;
}

@media (max-width: 720px) {
  .route-research-entry,
  .route-research-current {
    display: grid;
  }

  .route-research-picker form {
    grid-template-columns: 1fr;
  }

  .route-research-current dl div {
    grid-template-columns: 6rem minmax(0, 1fr);
  }

  .route-research-actions .button {
    width: 100%;
  }
}
