import { useState } from "react"; const MONO = "'SF Mono', 'Cascadia Code', 'Fira Code', monospace"; const SANS = "'Segoe UI', system-ui, sans-serif"; const colors = { bg: "#0a0e17", surface: "#111827", surface2: "#1a2332", border: "#1e3a5f", borderHi: "#2563eb", text: "#e2e8f0", textDim: "#64748b", textMuted: "#475569", accent: "#3b82f6", accentDim: "#1e40af", green: "#10b981", greenDim: "#064e3b", amber: "#f59e0b", amberDim: "#78350f", red: "#ef4444", redDim: "#7f1d1d", purple: "#a78bfa", purpleDim: "#4c1d95", cyan: "#22d3ee", cyanDim: "#164e63", orange: "#fb923c", }; const levelMeta = [ { name: "Semi-Major Axis (a)", unit: "km", example: "6,798 km (ISS)", color: colors.accent }, { name: "Inclination (i)", unit: "deg", example: "51.6° (ISS)", color: colors.green }, { name: "RAAN (Ω)", unit: "deg", example: "Right Ascension", color: colors.amber }, { name: "Eccentricity (e)", unit: "", example: "0.0001 (ISS)", color: colors.purple }, { name: "Arg. Perigee (ω)", unit: "deg", example: "Argument of Perigee", color: colors.orange }, ]; const ByteBlock = ({ label, bytes, color, detail, dimColor }) => (