@media (max-width: 760px) {
  :root body #search-form #fields:not(.cab-fields, .bus-home-fields):has(> .origin-wrap > #swap-route:not([hidden])) {
    row-gap: 12px !important;
  }

  :root body #search-form #fields:not(.cab-fields, .bus-home-fields) > .origin-wrap:has(> #swap-route:not([hidden])) {
    margin-block-end: 0 !important;
  }

  :root body #search-form #fields:not(.cab-fields, .bus-home-fields) > .origin-wrap:has(> #swap-route:not([hidden])) > .field {
    height: auto !important;
  }

  :root body #search-form #fields:not(.cab-fields, .bus-home-fields) > .origin-wrap > #swap-route:not([hidden]) {
    position: static !important;
    inset: auto !important;
    display: grid !important;
    place-items: center !important;
    box-sizing: border-box;
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 10px !important;
    margin: 12px auto 0 !important;
    flex: none;
    transform: rotate(90deg) !important;
  }

  :root body #search-form #fields:not(.cab-fields, .bus-home-fields) > .origin-wrap:has(> #swap-route:not([hidden])) {
    display: block !important;
  }
}
