:root {
    --bg: #090d16;
    --card: #111827;
    --border: #1f2937;
    --text: #f3f4f6;
    --muted: #9ca3af;
    --accent: #3b82f6;
    --green: #10b981;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; line-height: 1.5; padding: 2rem 1rem; }
.container { max-width: 960px; margin: 0 auto; }
header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.logo { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; color: var(--accent); }
.badge { background: var(--card); border: 1px solid var(--border); padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.85rem; color: var(--muted); font-family: monospace; }
.hero { text-align: center; padding: 3rem 0; }
.hero h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: -0.025em; }
.subtitle { color: var(--muted); margin-bottom: 1.5rem; font-size: 1.05rem; }
.status-pill { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); color: var(--green); padding: 0.4rem 1rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 0.75rem; padding: 1.5rem; }
.card-title { color: var(--muted); font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.card-value { font-size: 1.75rem; font-weight: 700; font-family: monospace; margin-bottom: 0.25rem; }
.card-sub { color: #6b7280; font-size: 0.75rem; }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: 0.75rem; padding: 1.5rem; margin-bottom: 3rem; }
.panel-header { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.875rem; margin-bottom: 1rem; }
#telemetryCanvas { width: 100%; height: 160px; background: #0c121e; border-radius: 0.5rem; margin-bottom: 1rem; border: 1px solid #172234; }
.log-stream { background: #0c121e; padding: 1rem; border-radius: 0.5rem; font-size: 0.75rem; color: #6ee7b7; display: flex; flex-direction: column; gap: 0.35rem; max-height: 100px; overflow: hidden; border: 1px solid #172234; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
footer { display: flex; justify-content: space-between; color: #4b5563; font-size: 0.8rem; border-top: 1px solid var(--border); padding-top: 1.5rem; }
