/* Itinerary geometry and native dialog behaviour have no Bootstrap equivalent. */
.trip-form__columns > *, .trip-stop__body { min-width: 0; }
.trip-stop { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: .75rem; padding-top: 1rem; border-bottom: 1px solid var(--bs-border-color); }
.trip-stop:last-child { border-bottom: 0; }
.trip-stop__number { display: flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; }
.trip-stop__heading { min-width: 0; }
/* Native disabled arrows stay inert while receiving hover for cursor feedback. */
.trip-actions .btn[data-up]:disabled,
.trip-actions .btn[data-down]:disabled { pointer-events: auto; cursor: not-allowed; }
.trip-place-choice > div { min-width: 0; overflow-wrap: anywhere; }
.trip-place-choice .btn { flex-shrink: 0; }
.trip-place-search { position: relative; }
.trip-place-search input[type="search"] { padding-right: 2.75rem; }
.trip-place-search__icon { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); width: 1.125rem; height: 1.125rem; color: var(--bs-secondary-color); pointer-events: none; }
@media (min-width: 992px) { .trip-places { position: sticky; top: 1rem; } }
.trip-dialog { width: min(28rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); overflow: auto; overflow-wrap: anywhere; }
.trip-dialog::backdrop { background: rgb(0 0 0 / .5); }
.trip-toast { z-index: 1200; max-width: min(32rem, calc(100% - 2rem)); overflow-wrap: anywhere; }
.trip-conflict-draft { min-width: 0; }
.trip-options { max-height: 14rem; }
.trip-options [role="option"] { cursor: pointer; overflow-wrap: anywhere; }
.trip-options [aria-selected="true"] { background: var(--bs-primary-bg-subtle); color: var(--bs-primary-text-emphasis); }
