/* longest-flights: 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); }
.lf-h { margin: 14px 0 6px; font-size: 14px; font-weight: 700; }
.lf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lf-r { position: relative; display: grid; grid-template-columns: 1.8em 1fr auto; gap: 2px 8px; align-items: baseline; padding: 6px 8px 9px; border-radius: 8px; font-size: 14px; line-height: 1.3; }
.lf-n { font-weight: 700; color: #1d5fa8; }
.lf-p b { display: block; font-weight: 600; }
.lf-p small { display: block; color: var(--chqt-muted); font-size: 13px; }
.lf-d { white-space: nowrap; font-variant-numeric: tabular-nums; }
.lf-b { position: absolute; left: 8px; bottom: 3px; height: 3px; max-width: calc(100% - 16px); border-radius: 2px; background: #9cc3e6; }
.lf-r.is-one .lf-b { background: repeating-linear-gradient(90deg, #9cc3e6 0 6px, transparent 6px 10px); }
.lf-r.is-you { background: var(--chqt-cream); outline: 2px solid #d79d32; }
.lf-r.is-you .lf-b { background: #d79d32; }
.lf-other { margin: 0; padding-left: 1.1em; font-size: 14px; line-height: 1.4; }
.lf-other li { margin: 3px 0; }
.lf-seg { margin-top: 14px; }
/* the two airports side by side: each list spans both fields, so a phone gets a full-width list */
.chqt[data-tool="longest-flights"] .chqt-pair { position: relative; }
.chqt[data-tool="longest-flights"] .chqt-pair .chqt-combo { position: static; }
/* TM110b: the shortest flights — the world's shortest as a line of its own, then the island hops */
.lf-h2 { margin: 10px 0 4px; font-size: 13px; font-weight: 700; color: var(--chqt-muted); }
.lf-tiny { margin: 0 0 4px; padding: 8px 10px; border-radius: 8px; background: var(--chqt-cream); font-size: 15px; line-height: 1.35; }
.lf-why { margin: 0 0 6px; font-size: 14px; line-height: 1.4; }
