/* Plecari din gara de langa tine + cautare de calatorie (ecranul de cautare). */
.jh { font: 700 26px/1 "Barlow Condensed", system-ui, sans-serif; }
.near, .route { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 10px; padding-top: 18px; border-top: 2px solid var(--rule); }

.board { display: grid; grid-template-columns: minmax(0, 1fr); }
.board:empty { display: none; }
.row {
  width: 100%; text-align: left; cursor: pointer; background: none; border: 0; border-bottom: 1px solid var(--rule-soft);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 12px; align-items: baseline; padding: 10px 0 8px;
}
.board li:last-child .row { border-bottom: 0; }
.row-time { font: 700 22px/1.1 "Barlow Condensed", system-ui, sans-serif; white-space: nowrap; }
.row-text { font-size: 16px; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.row-text b { font: 700 22px/1.1 "Barlow Condensed", system-ui, sans-serif; }
.row-text small { display: block; color: var(--ink-2); font-size: 15px; margin-top: 2px; }

.route-field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.route-field label { font-weight: 600; }
.route-field input {
  width: 100%; min-width: 0; min-height: 52px;
  font: 700 24px/1 "Barlow Condensed", system-ui, sans-serif;
  padding: 8px 12px 6px; border-radius: 0; border: 2px solid var(--rule); background: var(--paper); color: var(--ink);
}
.route-field input::placeholder { color: var(--ink-3); font-weight: 500; }
.route-field input:focus { outline: 3px solid var(--here); outline-offset: 0; }
.route .primary { margin-top: 4px; }
