#route-search.pg-search {
  box-sizing: border-box;
  min-width: 0;
  margin: 24px clamp(12px, 3.4vw, 44px);
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid #d6e7ee;
  border-radius: 12px;
  background: #f1f9fc;
  color: #234653;
}
#route-search *, #route-search *::before, #route-search *::after { box-sizing: border-box; }
#route-search h2 { margin: 0 0 18px; color: #234653; font-size: clamp(21px, 2.6vw, 24px); line-height: 1.3; }
#route-search #search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px;
  margin: 0;
}
#route-search label { display: block; min-width: 0; margin: 0; font-size: 14px; font-weight: 600; }
#route-search input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 48px;
  margin: 6px 0 0;
  padding: 10px 12px;
  border: 1px solid #b9d1db;
  border-radius: 6px;
  background: #fff;
  color: #234653;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: none;
}
#route-search .pg-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid #087b8b;
  border-radius: 7px;
  background: #087b8b;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
#route-search .pg-button:hover { background: #076c82; }
#route-search :is(a, button, input):focus-visible { outline: 2px solid #087b8b; outline-offset: 3px; }
#route-search .pg-note { margin: 14px 0 0; color: #526f7d; font-size: 14px; line-height: 1.65; }
#route-search .pg-result {
  margin: 20px 0 0;
  padding: 16px;
  border: 1px solid #9fcbd7;
  border-radius: 8px;
  background: #fff;
  color: #234653;
  overflow-wrap: anywhere;
}
#route-search [hidden] { display: none !important; }
#route-search .pg-result p { margin: 0 0 12px; color: inherit; font-size: 15px; line-height: 1.6; }
#route-search .pg-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
#route-search a:not(.pg-button) { color: #087b8b; text-underline-offset: 3px; }
@media (max-width: 760px) {
  #route-search #search-form { grid-template-columns: minmax(0, 1fr); }
  #route-search #search-form > button { width: 100%; }
}

.lm-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

main#vehicle-live-lowbed > aside[aria-labelledby="oversize-help-title"] > a.lm-phone-lines {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

main.vehicle-lively > #transport-compare .vt-explanation-title {
  color: #fff;
}

#moving-lively .ml-route-fields {
  align-items: start;
}

#moving-lively .ml-route-fields > div {
  min-width: 0;
}

#moving-lively .ml-route-fields > .ml-button {
  padding-block: 0;
}

main.vehicle-lively #vl-route-form > button[type="submit"] {
  min-height: 50px;
  padding-block: 0;
}

/* Align action tops to inputs below the labels, independently of the date hint. */
@media (min-width: 431px) {
  #moving-lively .ml-route-fields > .ml-swap {
    margin-block-start: calc(14px * 1.4 + 9px);
  }

  main.vehicle-lively #vl-route-form > button[type="submit"] {
    margin-block-start: calc(14px * 1.4 + 7px);
  }
}

@media (min-width: 1101px) {
  #moving-lively .ml-route-fields > .ml-button {
    margin-block-start: calc(14px * 1.4 + 9px);
  }
}

#moving-lively .ml-vehicle-scheme {
  padding-top: 0;
}

#moving-lively .ml-vehicle-scheme-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 28px;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #d6e5e8;
  border-radius: 22px;
  background: #f4fafb;
}

#moving-lively .ml-vehicle-scheme-copy p:last-child {
  margin-bottom: 0;
}

#moving-lively .ml-vehicle-scheme-photo {
  margin: 0;
  min-width: 0;
}

#moving-lively .ml-vehicle-scheme-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

#moving-lively .ml-vehicle-scheme-photo figcaption {
  position: static;
  margin-top: 8px;
  padding: 0;
  background: transparent;
  color: #52626a;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  #moving-lively .ml-vehicle-scheme-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
    border-radius: 18px;
  }
}
