# Orbital Launch Mission Control Dashboard — Reproducible Prompt

## Role
You are a specialist frontend developer building a dense operations dashboard in a single HTML file (embedded CSS + JS).

## Theme
Orbital launch mission control with anomaly feeds. Dark, high-density control room aesthetic inspired by NASA/JSA-style telemetry consoles. CRT scanline subtleties, amber/white/green/red terminal colors on deep black backgrounds.

## Technical Constraints
- **Single file**: `index.html` only (embedded CSS + JS).
- **No external images or fonts**: use system monospace fonts (`ui-monospace`, `SFMono-Regular`, `Menlo`, `monospace`) and CSS.
- **No external dependencies**: no CDN libraries.
- **No build step**: open directly in a modern browser.

## Layout (Multi-Panel)

### 1. Top Alert Strip
- Collapsible severe-alert banner (red background, blinking severity text).
- Three alert severity levels: CRITICAL (red), WARNING (amber), ADVISORY (blue).
- Click to expand summary; click alert pill to open detail overlay.

### 2. Mission Clock Bar
- T–minus / T+ mission elapsed time toggle.
- Launch window countdown (HH:MM:SS.ms).
- UTC clock, local range clock.
- Mission name and current phase label (e.g., “Pre-launch”, “Terminal Count”, “Ascent”, “MECO”, “Stage Sep”).

### 3. Panel Grid (drill-down capable)

#### A. Vehicle Telemetry (primary panel, wider)
- Real-time-looking numeric readouts for:
  - Altitude, Velocity, Acceleration
  - Propulsion chamber pressure, turbopump RPM
  - Fuel levels (LOX, RP-1 / LH2) with bar gauges
  - Axial / lateral g-forces
- Sparkline mini-charts (CSS/SVG) for last 60 seconds of altitude, velocity.
- Severity indicator per metric (green normal, yellow caution, red critical).
- Click any telemetry row → drill-down overlay with expanded graph and limits table.

#### B. Flight Events Timeline
- Vertical or horizontal timeline with mission phases.
- Completed (green check), active (amber pulse), upcoming (gray).
- Phases: LC Systems Verify, Prop Tanks Chill, Terminal Count, Ignition, Liftoff, Max Q, MECO, Stage Separation, Orbit Insertion.
- Click completed or active phase → overlay with checklist and anomalies encountered.

#### C. Range & Weather
- Range safety status (green: open, red: closed).
- Weather: wind, gust, temperature, cloud ceiling, precipitation.
- Go/No-go indicators per criterion.

#### D. Communications & Tracking
- Ground station link status table (uplink/downlink strength, lock status).
- Active tracking assets: radar, telemetry, optics.
- Latency readout.

#### E. Anomaly Feed (dense scrollable list)
- Timestamped anomaly list with severity dot, system source, brief text.
- Auto-scroll newest top.
- Categories: Propulsion, Avionics, GNC, Power, Thermal, Range Safety.
- Click anomaly → drill-down overlay with:
  - Full description
  - Affected system
  - Related telemetry snapshot
  - Recommended action
  - Acknowledge / Escalate buttons (interactive state only)

#### F. System Health Grid
- Compact card grid of subsystems (Propulsion, Avionics, GNC, Power, Thermal, Recovery).
- Each card: subsystem name, overall status dot, key metric, last-updated timestamp.
- Click card → drill-down overlay with subsystem detail view.

### 4. Command Input Area
- A small terminal-style input strip at bottom.
- Placeholder: “> COMMAND_”.
- Accept typed text (echo locally), not connected to real backend.
- Keyboard shortcut hint strip next to it.

### 5. Keyboard Shortcuts Modal
- Press `?` to open overlay with shortcut reference.
- Shortcuts:
  - `A` — Acknowledge top alert
  - `D` — Open Anomaly feed (focus)
  - `T` — Toggle T-minus / T+plus
  - `1–6` — Focus subsystem 1–6 in health grid
  - `Esc` — Close any overlay
  - `Enter` — Focus command input
  - `R` — Toggle refresh rate (normal / fast)

## Live-State Illusions
- `setInterval` updates numeric telemetry with small random deltas around base values to simulate live data.
- Countdown to a fixed fake launch time (T–00:05:00 on load, counts continuously).
- Timeline phases advance automatically over time.
- Alert banner may strobe during simulated anomaly scenarios.
- Fuel bar gauges deplete slightly over time during simulated ascent phase.
- Anomaly feed injects periodic fake anomalies with random severity and system.
- Sparkline data buffers: maintain circular arrays, re-render SVG polylines.

## Color Palette
- Background: `#0b0c10`
- Panel backgrounds: `#111318` with `#1a1d24` hover
- Border: `#2a2e37`
- Text primary: `#e8e9ec`
- Text secondary: `#8b8f98`
- CRT green: `#33ff99`
- Caution amber: `#ffb84d`
- Critical red: `#ff4d4d`
- Advisory blue: `#4dafff`
- Phase active ring: animated amber pulse via CSS.

## Output
Write a single `index.html` that satisfies all of the above. Ensure it runs by opening the file directly in a modern browser.
