/* "Where can we both fly nonstop?" (features.twoAirports) — loaded only on /nonstop-from-both/, so
   style.css and every other page stay byte-identical. Everything is drawn from style.css's tokens,
   so light and dark need no rules of their own. */

/* The two pickers: side by side, one above the other on a phone. */
.both-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; max-width: 760px; }
.both-field { display: block; }
.both-field .eyebrow { display: block; margin-bottom: 8px; }
.both-field select { width: 100%; font-family: var(--font-body); font-size: 17px; color: var(--ink);
  background: var(--surface); border: 2px solid var(--line); border-radius: 14px; padding: 13px 14px;
  cursor: pointer; }
.both-field select:focus { outline: none; border-color: var(--carrot); }
.both-form noscript { grid-column: 1 / -1; }

.both-note { color: var(--ink-soft); max-width: 70ch; }
.both-hint { margin-top: 26px; }
.both-direct { margin-top: 10px; }
/* The sort buttons and the send button share a row; the send button drops under on a phone. */
.both-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 12px; margin: 18px 0 6px; }
.both-table td { white-space: nowrap; }
.both-table td:first-child { white-space: normal; }
.both-table td:first-child a { text-decoration: none; color: inherit; }
.both-table td:first-child b { font-family: var(--font-mono); color: var(--clover); }
.both-cell a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--line); }
.both-cell a:hover { border-color: var(--carrot); }
.both-cell .mono { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-soft); }
.both-key { font-size: 13px; color: var(--ink-soft); margin: -18px 0 18px; }
.both-more { margin-bottom: 8px; }
.both-foot { margin-top: 18px; }

@media (max-width: 620px) {
  .both-form { grid-template-columns: 1fr; gap: 14px; }
  .both-table th, .both-table td { padding-left: 8px; padding-right: 8px; }
  .both-tools .both-send { margin-left: 0; }
}
