* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Segoe UI", Roboto, monospace, sans-serif; background: #0a192f; color: #ccd6f6; background-image: linear-gradient(rgba(100, 255, 218, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(100, 255, 218, 0.04) 1px, transparent 1px); background-size: 28px 28px; min-height: 100vh; }
.topbar { background: #112240; border-bottom: 1px solid #233554; padding: 16px 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.logo { font-family: monospace; font-size: 1.2rem; font-weight: 700; color: #64ffda; text-decoration: none; }
.nav a { color: #8892b0; text-decoration: none; margin-left: 22px; font-size: 0.92rem; font-weight: 500; }
.nav a:hover, .nav a.active { color: #64ffda; }
.container { max-width: 1060px; margin: 32px auto; padding: 0 20px; }
.banner { background: #112240; border: 1px solid #233554; border-left: 4px solid #64ffda; padding: 28px; border-radius: 6px; margin-bottom: 28px; }
.banner h1 { font-size: 1.75rem; color: #e6f1ff; margin-bottom: 8px; }
.banner p { color: #8892b0; font-size: 0.95rem; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 28px; }
.metric-box { background: #112240; border: 1px solid #233554; padding: 18px; border-radius: 6px; }
.metric-box span { font-family: monospace; font-size: 0.78rem; color: #64ffda; text-transform: uppercase; }
.metric-box strong { display: block; font-size: 1.5rem; color: #e6f1ff; margin-top: 4px; }
.panel { background: #112240; border: 1px solid #233554; border-radius: 6px; padding: 24px; margin-bottom: 24px; overflow-x: auto; }
.panel h2 { font-size: 1.15rem; color: #e6f1ff; margin-bottom: 14px; font-family: monospace; }
.calc-grid { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
input, select { background: #0a192f; border: 1px solid #233554; color: #e6f1ff; padding: 8px 12px; border-radius: 4px; font-family: monospace; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid #233554; }
th { color: #64ffda; font-family: monospace; font-size: 0.8rem; }
.btn-cad { background: transparent; color: #64ffda; border: 1px solid #64ffda; padding: 6px 12px; border-radius: 4px; cursor: pointer; font-family: monospace; font-size: 0.82rem; }
.btn-cad:hover { background: rgba(100, 255, 218, 0.12); }
footer { text-align: center; padding: 28px 20px; color: #8892b0; font-family: monospace; font-size: 0.82rem; border-top: 1px solid #233554; margin-top: 40px; }
.stream-screen { background: #020c1b; border: 1px solid #233554; border-radius: 6px; height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; position: relative; margin-bottom: 18px; }
.pulse { width: 12px; height: 12px; background: #f59e0b; border-radius: 50%; margin-bottom: 14px; box-shadow: 0 0 12px #f59e0b; }
.login-box { max-width: 420px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.login-box input { width: 100%; }
.err-msg { color: #f87171; font-family: monospace; font-size: 0.85rem; display: none; }
