/* flight-on-time-record: 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); }
.ot-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.ot-swap { margin: 0 0 2px; padding: 6px 14px; min-height: 44px; font-size: 16px; background: var(--chqt-cream); border: 1px solid var(--chqt-line); border-radius: 999px; color: var(--chqt-ink); cursor: pointer; font-weight: 600; }
.ot-swap:focus-visible { outline: 3px solid #d79d32; outline-offset: 2px; }
/* the bars: on time green, late amber, cancelled or diverted red — each row adds up to 100% */
.ot-list { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 10px; }
.ot-list li { display: grid; grid-template-columns: 1fr 3.2em; gap: 2px 8px; align-items: center; font-size: 15px; }
.ot-list li.ot-cap { display: block; font-size: 14px; font-weight: 600; color: var(--chqt-muted); }
.ot-name { grid-column: 1 / -1; font-weight: 600; }
.ot-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: #eef1f4; }
.ot-on { background: #1e7a46; }
.ot-late { background: #c98a00; }
.ot-cx { background: #b3261e; }
.ot-list b { text-align: right; }
.ot-note { grid-column: 1 / -1; color: var(--chqt-muted); font-size: 13px; }
.ot-key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--chqt-muted); }
.ot-key li::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.ot-key .k-on::before { background: #1e7a46; }
.ot-key .k-late::before { background: #c98a00; }
.ot-key .k-cx::before { background: #b3261e; }
.ot-side { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--chqt-line); }
.ot-when { margin: 12px 0; padding: 10px 12px; border-radius: 10px; background: #f3f8f4; border: 1px solid #cfe5d6; }
.ot-when p { margin: 0 0 6px; }
.ot-wl { font-size: 15px; line-height: 1.45; }
.ot-hours { margin: 6px 0 8px; gap: 6px; }
