/* layover-time-checker: 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); }
.lo-hm { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
/* a phone: the answer first (three airports and three choices would push it below the first screen) */
@media (max-width: 859px) { .chqt[data-tool="layover-time-checker"] .chqt-result { order: -1; } }
/* the verdict's colour on the answer's left edge */
.chqt-result[data-lo] .chqt-answer { border-left: 6px solid #6b7280; padding-left: 12px; }
.chqt-result[data-lo="ok"] .chqt-answer { border-left-color: #1e7a46; }
.chqt-result[data-lo="mostly"] .chqt-answer { border-left-color: #9a6a00; }
.chqt-result[data-lo="tight"] .chqt-answer, .chqt-result[data-lo="short"] .chqt-answer { border-left-color: #b3261e; }
/* the delay record: four bars */
.lo-record { margin: 12px 0; padding: 10px 12px; border: 1px solid var(--chqt-line); border-radius: 10px; background: #fff; }
.lo-record[hidden] { display: none; }
.lo-rh { margin: 0 0 8px; font-size: 14px; color: var(--chqt-muted); line-height: 1.4; }
.lo-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lo-bars li { display: grid; grid-template-columns: 7.5em 1fr 3em; align-items: center; gap: 8px; font-size: 15px; }
.lo-bar { height: 12px; border-radius: 6px; background: #eef1f4; overflow: hidden; }
.lo-bar span { display: block; height: 100%; background: #b3261e; border-radius: 6px; }
.lo-bars b { text-align: right; }
.lo-taxi { margin: 8px 0 0; font-size: 14px; color: var(--chqt-muted); }
.lo-steps { margin: 8px 0; padding-left: 1.2em; font-size: 15px; line-height: 1.45; }
.lo-steps li { margin: 4px 0; }
