/* The two-field form (lm/components/twofield.html): Leaving from + Going to + Find trips, on the home page and the results pages, in the
   white finder card (beta.css .finder-panel). Moved from home.css unchanged (Fable cp3 task 7). Tokens from beta/tokens.css. */
.hm-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: var(--s3) var(--s4); align-items: end; margin: 0; }
.hm-field { display: grid; gap: 6px; min-width: 0; }
.hm-label { font-weight: var(--fw-bold); font-size: 16px; }
.hm-opt { font-weight: var(--fw-body); color: var(--muted); }
.hm-form .pc-box { flex: none; }
.hm-go.btn { min-height: 50px; font-size: 16px; padding: 0 var(--s5); }
.hm-msg { grid-column: 1 / -1; margin: 0; color: var(--warn); font-weight: var(--fw-semi); min-height: 0; }
.hm-msg:empty { display: none; }
.hm-choices { grid-column: 1 / -1; }
.hm-choices[hidden] { display: none; }
@media (max-width: 760px) {
  .hm-form { grid-template-columns: minmax(0, 1fr); }
  .hm-go.btn { width: 100%; }
}

/* fix5 task 5: the suggestion list opens above the box when below it would cover the form's button (static/lm/suggest.js placeList) */
.suggest-list.suggest-up { top: auto; bottom: calc(100% + 6px); }
