/* Awaiting-window (between flights) roadmap — see ROADMAP in ui.js. */

.statusline .dot.idle { background: var(--accent); box-shadow: 0 0 8px var(--accent); }

.tl-head { display: flex; align-items: center; gap: 10px; }
.tl-head h2 { flex: 1; }

.tl-scroll { overflow-x: auto; }
.tl { --tl-gutter: 96px; min-width: 660px; position: relative; font-family: var(--mono); margin-top: 8px; }

.tl-axis { position: relative; height: 38px; }
.tl-axis span {
  position: absolute; bottom: 2px; height: 15px;
  font-size: 9.5px; letter-spacing: 0.08em; color: var(--faint);
  padding-left: 5px; border-left: 1px solid var(--line);
}
.tl-axis .tl-net {
  bottom: auto; top: 0; height: auto; padding-left: 0; border-left: 0;
  transform: translateX(-50%); white-space: nowrap;
  font-size: 9px; font-weight: 600; color: var(--accent);
}

.tl-body { position: relative; }
.tl-grid { position: absolute; inset: 0 0 22px 0; pointer-events: none; }
.tl-grid i { position: absolute; top: 0; bottom: 0; border-left: 1px dashed rgba(255, 255, 255, 0.05); }

.tl-zone {
  position: absolute; top: 0; bottom: 22px;
  background: linear-gradient(90deg, rgba(78, 161, 255, 0.10), rgba(78, 161, 255, 0.03));
  border-left: 1px dashed rgba(78, 161, 255, 0.5);
  border-right: 1px dashed rgba(78, 161, 255, 0.35);
}

.tl-today {
  position: absolute; top: -20px; bottom: 22px; width: 2px; z-index: 1;
  background: var(--warn); box-shadow: 0 0 10px rgba(255, 210, 74, 0.45);
}
.tl-today span {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  font-size: 9px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--warn); white-space: nowrap;
}

.tl-lane { display: grid; grid-template-columns: var(--tl-gutter) 1fr; height: 92px; }
.tl-lane-label { align-self: center; font-size: 14.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--fg); }
.tl-lane-label small { display: block; font-weight: 400; font-size: 9px; letter-spacing: 0.06em; color: var(--faint); margin-top: 3px; }

.tl-track { position: relative; }
.tl-base { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--line); }
.tl-base span { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(86, 211, 100, 0.55); }

.tl-ev { position: absolute; top: 50%; transform: translate(-50%, -50%); z-index: 2; }
.tl-node { display: block; box-sizing: border-box; width: 11px; height: 11px; border-radius: 50%; border: 2px solid; background: var(--bg2); }
.tl-ev.done .tl-node { border-color: var(--ok); background: var(--ok); box-shadow: 0 0 8px rgba(86, 211, 100, 0.5); }
.tl-ev.est .tl-node { border-color: var(--accent); }
.tl-ev.launch .tl-node { width: 13px; height: 13px; border-color: var(--fg); background: var(--fg); box-shadow: 0 0 12px rgba(233, 238, 247, 0.6); }

.tl-tick { position: absolute; left: 50%; width: 1px; background: var(--line); }
.tl-ev.up .tl-tick { bottom: 7px; height: 11px; }
.tl-ev.dn .tl-tick { top: 7px; height: 11px; }

.tl-lbl {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 9px; line-height: 1.3; letter-spacing: 0.02em;
  text-align: center; white-space: nowrap; color: var(--muted);
}
.tl-ev.up .tl-lbl { bottom: 19px; }
.tl-ev.dn .tl-lbl { top: 19px; }
.tl-lbl b { display: block; font-size: 9.5px; font-weight: 600; }
.tl-ev.done .tl-lbl b { color: var(--ok); }
.tl-ev.est .tl-lbl b { color: var(--accent); }
.tl-ev.launch .tl-lbl b { color: var(--fg); }

.tl-caption {
  height: 22px; padding-top: 9px; text-align: right;
  font-size: 9px; letter-spacing: 0.1em; color: var(--accent);
}

.tl-legend {
  display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
.tl-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.tl-legend .done i { background: var(--ok); }
.tl-legend .est i { width: 7px; height: 7px; background: transparent; border: 2px solid var(--accent); box-sizing: content-box; }
.tl-legend .launch i { background: var(--fg); }
.tl-legend .zone i { border-radius: 2px; background: rgba(78, 161, 255, 0.25); border: 1px dashed rgba(78, 161, 255, 0.6); }
.tl-legend .today i { border-radius: 1px; width: 3px; height: 12px; background: var(--warn); }

.tl-note { margin: 12px 0 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.03em; color: var(--faint); }

/* Previous flight's frozen dashboard, embedded below the roadmap as a worked
   example of launch-day mode. */
.embed-intro { border-color: rgba(78, 161, 255, 0.35); background: rgba(78, 161, 255, 0.05); margin-top: 26px; }
.embed-intro h2 { color: #9ec9ff; }
.embed-intro .sub { margin-bottom: 0; }
.flight-embed .masthead { margin-top: 4px; }
