/* round-the-world-ticket: this tool's own look, loaded only on its page (tools.css is shared and kept under 5 KB gz) */
.chqt-combo { position: relative; }
.chqt-combo-list { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none; background: #fff; border: 1px solid var(--chqt-line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.12); max-height: 320px; overflow-y: auto; }
.chqt-combo-list li { padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 15px; line-height: 1.3; }
.chqt-combo-list li b { display: inline-block; min-width: 3.2em; }
.chqt-combo-list li small { display: block; color: var(--chqt-muted); font-size: 13px; padding-left: 3.2em; }
.chqt-combo-list li[aria-selected="true"], .chqt-combo-list li:hover { background: var(--chqt-cream); }
/* the classic routes: one scrolling row, so a phone keeps the answer near the top */
.rw-try { min-width: 0; }
.rw-chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 6px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.rw-chips button { flex: 0 0 auto; min-height: 44px; padding: 6px 14px; font-size: 16px; white-space: nowrap; background: #fff; border: 1px solid var(--chqt-line); border-radius: 999px; color: var(--chqt-ink); cursor: pointer; }
.rw-chips button:focus-visible, .rw-del:focus-visible, .rw-add:focus-visible { outline: 3px solid #d79d32; outline-offset: 2px; }
/* a phone: the answer first (seven airport fields would push it far below the first screen), a link down to the form */
.rw-edit { display: none; margin: 4px 0 8px; font-size: 16px; }
.rw-edit a { display: inline-block; min-height: 44px; line-height: 44px; }
@media (max-width: 859px) { .chqt[data-tool="round-the-world-ticket"] .chqt-result { order: -1; } .rw-edit { display: block; } }
/* the stops, numbered, each removable */
.rw-stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rw-stop { position: relative; margin: 0; }
.rw-stop .chqt-input input { padding-right: 52px; }
.rw-del { position: absolute; right: 4px; bottom: 4px; width: 44px; height: 44px; font-size: 18px; background: none; border: 0; border-radius: 999px; color: var(--chqt-muted); cursor: pointer; }
.rw-add { align-self: flex-start; margin: 10px 0; padding: 6px 14px; min-height: 44px; font-size: 16px; background: none; border: 1px dashed var(--chqt-line); border-radius: 999px; color: var(--chqt-ink); cursor: pointer; }
.rw-add[hidden] { display: none; }
/* the map and the three fares */
.rw-map { aspect-ratio: 360 / 135; margin: 12px 0 4px; border-radius: 10px; overflow: hidden; }
.rw-map:empty { display: none; }
.rw-map svg { width: 100%; height: 100%; display: block; }
.rw-fares { display: grid; gap: 10px; margin: 10px 0; }
.rw-fare { border: 1px solid var(--chqt-line); border-left-width: 5px; border-radius: 10px; padding: 10px 12px; background: #fff; }
.rw-fare.is-ok { border-left-color: #1e7a46; }
.rw-fare.is-no { border-left-color: #b3261e; }
.rw-fh { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; }
.rw-badge { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #fff; }
.is-ok > .rw-fh .rw-badge { background: #1e7a46; }
.is-no > .rw-fh .rw-badge { background: #b3261e; }
.rw-fit { margin: 4px 0 6px; font-size: 15px; line-height: 1.4; }
.rw-rules summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-size: 15px; font-weight: 600; }
.rw-checks { list-style: none; margin: 0; padding: 0 0 4px; font-size: 14px; line-height: 1.4; }
.rw-checks li { display: grid; grid-template-columns: 1.4em 1fr; gap: 4px; padding: 2px 0; }
.rw-checks li.is-ok .rw-tick { color: #1e7a46; font-weight: 700; }
.rw-checks li.is-no { color: #8c1d18; font-weight: 600; }
.rw-checks li.is-no .rw-tick { color: #b3261e; font-weight: 700; }
