*{margin:0;padding:0;box-sizing:border-box}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background:linear-gradient(135deg,#0a1628,#001f3f);color:#fff;height:100vh;overflow:hidden}.app{height:100vh;display:flex;flex-direction:column;padding:1rem;overflow:hidden}.dashboard-header{text-align:center;padding:.75rem 1rem;background:#001f3f99;border-radius:8px;border:2px solid #e4002b;box-shadow:0 4px 16px #e4002b33;display:flex;align-items:center;justify-content:center;gap:1.5rem;flex-shrink:0}.dashboard-header img{max-width:80px;height:auto;filter:drop-shadow(0 2px 4px rgba(228,0,43,.3))}.dashboard-header h1{font-size:1.5rem;font-weight:700;color:#fff;text-transform:uppercase;letter-spacing:1.5px;margin:0;text-shadow:0 2px 4px rgba(0,0,0,.5)}.dashboard-header .live-indicator{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem .8rem;background:#e4002b33;border-radius:20px;border:1px solid #e4002b;margin-left:1rem}.dashboard-header .live-indicator:before{content:"";width:8px;height:8px;background:#e4002b;border-radius:50%;animation:pulse 2s ease-in-out infinite}.dashboard-header .live-indicator span{color:#fff;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:1px}.loading,.error{display:flex;align-items:center;justify-content:center;height:100vh;font-size:1.5rem;color:silver}.error{color:#e4002b;font-weight:600}.sensor-grid{flex:1;display:grid;grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(2,1fr);grid-column-gap:1rem;grid-row-gap:3rem;margin-top:6rem;overflow:hidden;min-height:0}.sensor-card{background:linear-gradient(145deg,#001f3fcc,#0074d91a);border:2px solid #0074d9;border-radius:12px;padding:.75rem;transition:all .3s ease;box-shadow:0 4px 20px #0074d926;position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:0}.sensor-card:before{content:"";position:absolute;top:0;left:0;width:100%;height:3px;background:linear-gradient(90deg,#e4002b,#0074d9)}.sensor-card:hover{transform:scale(1.01);border-color:#e4002b;box-shadow:0 6px 24px #e4002b4d}.sensor-card h2{color:#e4002b;font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:.5rem;padding-bottom:.25rem;border-bottom:1px solid rgba(228,0,43,.3);flex-shrink:0}.speed-display{text-align:center;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:.5rem;background:#e4002b1a;border-radius:8px;border:2px solid rgba(228,0,43,.3);margin-bottom:.5rem}.speed-display .speed-value{font-size:2.5rem;font-weight:900;color:#e4002b;line-height:1;text-shadow:0 0 15px rgba(228,0,43,.5);display:block}.speed-display .speed-unit{font-size:.7rem;color:silver;font-weight:600;text-transform:uppercase;letter-spacing:1.5px;margin-top:.25rem}.telemetry-data{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;flex-shrink:0}.data-item{background:#0074d91a;border:1px solid rgba(0,116,217,.3);border-radius:6px;padding:.5rem;transition:all .2s ease}.data-item:hover{background:#0074d933;border-color:#0074d9}.data-item .data-label{font-size:.6rem;color:silver;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.25rem;font-weight:600}.data-item .data-value{font-size:1rem;font-weight:700;color:#fff;display:flex;align-items:baseline;gap:.2rem}.data-item .data-value .unit{font-size:.7rem;color:silver;font-weight:500}@keyframes pulse{0%,to{opacity:1;box-shadow:0 0 #e4002bb3}50%{opacity:.5;box-shadow:0 0 0 8px #e4002b00}}@media (max-width: 1400px){.sensor-grid{grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(3,1fr)}}@media (max-width: 1024px){.sensor-grid{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(4,1fr)}.speed-display .speed-value{font-size:2rem}}@media (max-width: 1600px){.sensor-grid{grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(auto-fit,minmax(150px,1fr))}}@media (max-width: 1200px){.dashboard-header{flex-direction:column;gap:.5rem;padding:.5rem}.dashboard-header h1{font-size:1.2rem}.sensor-grid{grid-template-columns:repeat(3,1fr);margin-top:1rem}}@media (max-width: 992px){.sensor-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){body{overflow:auto}.app{height:auto;overflow:auto}.dashboard-header{padding:.5rem}.dashboard-header h1{font-size:1rem}.sensor-grid{grid-template-columns:1fr;grid-template-rows:auto;grid-row-gap:1rem;margin-top:1rem}.sensor-card{padding:.5rem}.speed-display .speed-value{font-size:2rem}}@media (max-width: 576px){.dashboard-header{flex-direction:column;gap:.5rem}.dashboard-header img{max-width:60px}.dashboard-header h1{font-size:.9rem}.live-indicator{margin-left:0}.speed-display .speed-value{font-size:1.8rem}.telemetry-data{grid-template-columns:1fr;gap:.25rem}.data-item{padding:.25rem}}@media (max-width: 375px){.dashboard-header h1{font-size:.8rem}.speed-display .speed-value{font-size:1.5rem}}
