.hardware-panel{background:linear-gradient(135deg,#2a2a2a,#1a1a1a);border:3px solid #444;border-radius:12px;padding:2rem;box-shadow:0 10px 40px #00000080,inset 0 1px #ffffff1a;font-family:Arial,sans-serif;transition:all .3s ease}.hardware-panel.fullscreen{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999;border-radius:0;overflow-y:auto;padding:3rem}@media (max-width: 1024px){.hardware-panel{padding:1.5rem}.hardware-panel.fullscreen{padding:2rem}}@media (max-width: 768px){.hardware-panel{padding:1rem;border-radius:8px}.hardware-panel.fullscreen{padding:1rem}}.panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid #444;flex-wrap:wrap;gap:1rem}.header-buttons{display:flex;align-items:center;gap:.5rem}.theme-selector{display:flex;gap:.25rem;background:#0000004d;padding:.25rem;border-radius:6px;border:1px solid #333}.theme-btn{width:32px;height:32px;border:2px solid #444;background:#00000080;border-radius:4px;cursor:pointer;font-size:1rem;transition:all .2s;display:flex;align-items:center;justify-content:center}.theme-btn:hover{border-color:#666;transform:scale(1.1)}.theme-btn.active{border-color:#d4af37;background:#d4af3733;box-shadow:0 0 10px #d4af374d}.icon-btn{width:40px;height:40px;border:2px solid #444;background:#00000080;color:#d4af37;border-radius:6px;cursor:pointer;font-size:1.2rem;transition:all .2s;display:flex;align-items:center;justify-content:center}.icon-btn:hover{border-color:#d4af37;background:#d4af371a;transform:translateY(-2px)}.icon-btn:active{transform:translateY(0)}@media (max-width: 768px){.panel-header{flex-direction:column;align-items:flex-start}.header-buttons{width:100%;justify-content:space-between}}.olivetti-badge{display:flex;flex-direction:column;gap:.25rem}.olivetti-badge .brand{font-size:1.8rem;font-weight:700;color:#d4af37;text-shadow:0 2px 4px rgba(0,0,0,.5);letter-spacing:.1em}.olivetti-badge .model{font-size:1rem;color:#999;letter-spacing:.2em}.serial-plate{background:linear-gradient(135deg,#4a4a4a,#2a2a2a);border:1px solid #666;padding:.5rem 1rem;font-size:.75rem;color:#fff;font-family:Courier New,monospace;box-shadow:inset 0 2px 4px #00000080}.indicator-section{margin-bottom:2rem}.indicator-section h3{color:#999;font-size:.9rem;margin-bottom:1rem;text-transform:uppercase;letter-spacing:.1em}.indicators{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}@media (max-width: 768px){.indicators{grid-template-columns:1fr}}.indicator{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:#0000004d;border-radius:6px;border:1px solid #333}.led{width:16px;height:16px;border-radius:50%;background:#222;box-shadow:inset 0 2px 4px #000c,0 0 0 2px #111;transition:all .3s}.led.red{background:radial-gradient(circle at 30% 30%,#600,#200)}.led.yellow{background:radial-gradient(circle at 30% 30%,#660,#220)}.led.green{background:radial-gradient(circle at 30% 30%,#060,#020)}.indicator.on .led.red{background:radial-gradient(circle at 30% 30%,red,#800);box-shadow:inset 0 2px 4px #0000004d,0 0 0 2px #111,0 0 20px #f00c,0 0 40px #f006}.indicator.on .led.yellow{background:radial-gradient(circle at 30% 30%,#ff0,#880);box-shadow:inset 0 2px 4px #0000004d,0 0 0 2px #111,0 0 20px #ff0c,0 0 40px #ff06}.indicator.on .led.green{background:radial-gradient(circle at 30% 30%,#0f0,#080);box-shadow:inset 0 2px 4px #0000004d,0 0 0 2px #111,0 0 20px #0f0c,0 0 40px #0f06}.led.blink{animation:blink-led .5s infinite}@keyframes blink-led{0%,to{opacity:1}50%{opacity:.3}}.indicator label{color:#aaa;font-size:.85rem;text-transform:uppercase;letter-spacing:.05em}.register-section{margin-bottom:2rem}.register-section h3{color:#999;font-size:.9rem;margin-bottom:1rem;text-transform:uppercase;letter-spacing:.1em}.nixie-display{background:#000;padding:1rem;border-radius:8px;border:2px solid #333;box-shadow:inset 0 4px 8px #000c}.nixie-row{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.nixie-row:last-child{margin-bottom:0}.nixie-label{color:#d4af37;font-size:1rem;font-weight:700;min-width:50px}.nixie-tubes{display:flex;gap:.08rem;flex-wrap:nowrap}.nixie-tube{width:27px;height:44px;background:radial-gradient(ellipse at center,#1a0a00,#000);border:2px solid #2a1a0a;border-radius:6px;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:inset 0 2px 4px #000000e6,0 0 10px #ff64004d;position:relative;overflow:hidden}.nixie-tube:before{content:"";position:absolute;top:10%;left:20%;width:40%;height:30%;background:radial-gradient(ellipse,rgba(255,255,255,.3),transparent);border-radius:50%;filter:blur(4px)}.nixie-digit{color:#f60;font-size:1.5rem;font-weight:700;font-family:Courier New,monospace;text-shadow:0 0 10px #ff6600,0 0 20px #ff3300,0 0 30px #ff0000;position:relative;z-index:1}.flags-display{display:flex;gap:.5rem;margin-top:1rem;justify-content:center}.flag-light{width:50px;height:30px;background:linear-gradient(135deg,#2a2a2a,#1a1a1a);border:2px solid #444;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#444;font-size:.85rem;font-weight:700;transition:all .3s;box-shadow:inset 0 2px 4px #00000080}.flag-light.lit{background:linear-gradient(135deg,#f60,#f30);color:#fff;border-color:#f60;box-shadow:inset 0 2px 4px #ffffff4d,0 0 20px #ff640099}.control-section{margin-bottom:2rem}.control-section h3{color:#999;font-size:.9rem;margin-bottom:1rem;text-transform:uppercase;letter-spacing:.1em}.switches{display:flex;gap:1rem;justify-content:center}.toggle-switch{width:80px;height:100px;background:linear-gradient(135deg,#3a3a3a,#2a2a2a);border:3px solid #555;border-radius:8px;cursor:pointer;position:relative;box-shadow:0 4px 8px #00000080,inset 0 1px #ffffff1a;transition:all .2s;display:flex;flex-direction:column;align-items:center;padding:.5rem}.toggle-switch:hover:not(:disabled){border-color:#777;transform:translateY(-2px)}.toggle-switch:active:not(:disabled){transform:translateY(0);box-shadow:0 2px 4px #00000080,inset 0 1px #ffffff1a}.toggle-switch:disabled{opacity:.5;cursor:not-allowed}.switch-lever{width:20px;height:40px;background:linear-gradient(90deg,#c00,#800);border:2px solid #600;border-radius:10px;margin-top:auto;margin-bottom:.5rem;box-shadow:0 2px 4px #00000080,inset 0 1px #fff3;transition:all .2s}.toggle-switch.active .switch-lever{background:linear-gradient(90deg,#0c0,#080);border-color:#060;box-shadow:0 2px 4px #00000080,inset 0 1px #fff3,0 0 10px #00ff0080}.toggle-switch.reset .switch-lever{background:linear-gradient(90deg,#cc0,#880);border-color:#660}.toggle-switch label{color:#aaa;font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;text-align:center}.meter-section{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:2rem}.analog-meter{display:flex;flex-direction:column;align-items:center;gap:.5rem}.meter-face{width:120px;height:80px;background:radial-gradient(ellipse at center,beige,#e8e8d0);border:3px solid #333;border-radius:8px 8px 0 0;position:relative;box-shadow:inset 0 2px 4px #0003,0 2px 8px #0000004d;overflow:hidden}.meter-needle{position:absolute;bottom:10px;left:50%;width:2px;height:50px;background:#c00;transform-origin:bottom center;transform:translate(-50%) rotate(-60deg);transition:transform .5s ease-out;box-shadow:0 0 4px #00000080}.meter-needle:after{content:"";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:8px;height:8px;background:#333;border-radius:50%;box-shadow:0 0 0 2px beige}.meter-scale{position:absolute;bottom:15px;left:0;right:0;display:flex;justify-content:space-between;padding:0 10px;font-size:.7rem;color:#333;font-weight:700}.analog-meter label{color:#aaa;font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;text-align:center}.info-section{background:#0000004d;border:1px solid #333;border-radius:6px;padding:1rem}.info-row{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px dotted #444;color:#999;font-size:.85rem}.info-row:last-child{border-bottom:none}.hardware-panel.theme-amber .nixie-digit{color:#ffb000;text-shadow:0 0 10px #ffb000,0 0 20px #ff8800,0 0 30px #ff6600}.hardware-panel.theme-amber .nixie-tube{background:radial-gradient(ellipse at center,#2a1800,#000);border-color:#3a2810;box-shadow:inset 0 2px 4px #000000e6,0 0 10px #ffb0004d}.hardware-panel.theme-amber .flag-light.lit{background:linear-gradient(135deg,#ffb000,#f80);border-color:#ffb000;box-shadow:inset 0 2px 4px #ffffff4d,0 0 20px #ffb00099}.hardware-panel.theme-amber .info-value,.hardware-panel.theme-amber .nixie-label{color:#ffb000}.hardware-panel.theme-green .nixie-digit{color:#0f0;text-shadow:0 0 10px #00ff00,0 0 20px #00cc00,0 0 30px #009900}.hardware-panel.theme-green .nixie-tube{background:radial-gradient(ellipse at center,#001a00,#000);border-color:#0a2a0a;box-shadow:inset 0 2px 4px #000000e6,0 0 10px #00ff004d}.hardware-panel.theme-green .flag-light.lit{background:linear-gradient(135deg,#0f0,#0c0);border-color:#0f0;box-shadow:inset 0 2px 4px #ffffff4d,0 0 20px #0f09}.hardware-panel.theme-green .info-value,.hardware-panel.theme-green .nixie-label{color:#0f0}.hardware-panel.theme-white .nixie-digit{color:#e0e0e0;text-shadow:0 0 5px rgba(255,255,255,.8),0 0 10px rgba(200,200,200,.5)}.hardware-panel.theme-white .nixie-tube{background:radial-gradient(ellipse at center,#1a1a1a,#000);border-color:#2a2a2a;box-shadow:inset 0 2px 4px #000000e6,0 0 10px #fff3}.hardware-panel.theme-white .flag-light.lit{background:linear-gradient(135deg,#f0f0f0,#d0d0d0);color:#000;border-color:#f0f0f0;box-shadow:inset 0 2px 4px #ffffff80,0 0 20px #fff9}.hardware-panel.theme-white .info-value,.hardware-panel.theme-white .nixie-label{color:#e0e0e0}@media (max-width: 1024px){.nixie-tubes{gap:.05rem}.nixie-tube{width:24px;height:40px}.nixie-digit{font-size:1.3rem}.meter-section{grid-template-columns:1fr}.switches{flex-wrap:wrap}}@media (max-width: 768px){.nixie-tubes{gap:.03rem}.nixie-tube{width:20px;height:36px}.nixie-digit{font-size:1.1rem}.flags-display{flex-wrap:wrap}.flag-light{width:45px;height:28px;font-size:.75rem}.toggle-switch{width:70px;height:90px}.meter-face{width:100px;height:70px}.meter-needle{height:40px}}@media (max-width: 480px){.olivetti-badge .brand{font-size:1.4rem}.olivetti-badge .model{font-size:.85rem}.nixie-row{flex-direction:column;align-items:flex-start;gap:.5rem}.indicator-section h3,.register-section h3,.control-section h3{font-size:.8rem}}.info-value{color:#d4af37;font-weight:700;font-family:Courier New,monospace}.help-panel{background:#f8f9fa;border-radius:8px;padding:20px;height:100%;display:flex;flex-direction:column;overflow:hidden}.help-header{margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #dee2e6}.help-header h2{margin:0 0 8px;color:#2c3e50;font-size:24px}.help-header p{margin:0;color:#6c757d;font-size:14px}.help-search{margin-bottom:15px}.search-input{width:100%;padding:10px 15px;border:2px solid #dee2e6;border-radius:6px;font-size:14px;transition:border-color .2s}.search-input:focus{outline:none;border-color:#4a90e2}.category-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.category-btn{padding:8px 16px;border:2px solid #dee2e6;border-radius:20px;background:#fff;cursor:pointer;font-size:13px;transition:all .2s;white-space:nowrap}.category-btn:hover{background:#f8f9fa;transform:translateY(-1px)}.category-btn.active{background:#4a90e2;color:#fff;border-color:#4a90e2}.help-content{flex:1;display:grid;grid-template-columns:1fr 1fr;gap:20px;overflow:hidden}.instruction-list{overflow-y:auto;padding-right:10px}.instruction-card{background:#fff;border-radius:6px;border-left:4px solid #dee2e6;padding:12px;margin-bottom:10px;cursor:pointer;transition:all .2s}.instruction-card:hover{box-shadow:0 2px 8px #0000001a;transform:translate(4px)}.instruction-card.selected{box-shadow:0 4px 12px #00000026;background:#f0f7ff}.inst-header{display:flex;align-items:center;gap:8px;margin-bottom:8px}.inst-icon{font-size:18px}.inst-name{font-weight:700;font-size:16px;color:#2c3e50;font-family:Courier New,monospace}.inst-category{margin-left:auto;font-size:11px;font-weight:600;text-transform:uppercase}.inst-syntax{font-family:Courier New,monospace;font-size:13px;color:#495057;background:#f8f9fa;padding:4px 8px;border-radius:3px;margin-bottom:8px}.inst-brief{font-size:13px;color:#6c757d;line-height:1.4}.instruction-detail{background:#fff;border-radius:8px;padding:20px;overflow-y:auto;box-shadow:0 2px 8px #0000001a}.detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #dee2e6}.detail-header h3{margin:0;color:#2c3e50;font-size:22px;font-family:Courier New,monospace}.close-btn{background:none;border:none;font-size:24px;color:#6c757d;cursor:pointer;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s}.close-btn:hover{background:#f8f9fa;color:#dc3545}.detail-section{margin-bottom:20px}.detail-section h4{margin:0 0 10px;color:#495057;font-size:14px;text-transform:uppercase;letter-spacing:.5px}.detail-description{color:#495057;line-height:1.6;margin:0}.syntax-code{display:block;background:#282c34;color:#61dafb;padding:12px 16px;border-radius:6px;font-family:Courier New,monospace;font-size:16px;font-weight:700}.example-code{background:#f8f9fa;border-left:4px solid #4a90e2;padding:12px 16px;border-radius:4px;font-family:Courier New,monospace;font-size:14px;color:#2c3e50;overflow-x:auto;margin:0}.flags-info{background:#fff3cd;border-left:4px solid #ffc107;padding:10px 12px;border-radius:4px;color:#856404;font-family:Courier New,monospace;margin:0}.category-badge{display:inline-block;padding:6px 12px;border-radius:4px;color:#fff;font-size:12px;font-weight:600;text-transform:uppercase}.help-footer{margin-top:20px;padding-top:15px;border-top:2px solid #dee2e6;font-size:13px;color:#6c757d}.help-footer p{margin:8px 0}.help-footer a{color:#4a90e2;text-decoration:none}.help-footer a:hover{text-decoration:underline}.instruction-list::-webkit-scrollbar,.instruction-detail::-webkit-scrollbar{width:8px}.instruction-list::-webkit-scrollbar-track,.instruction-detail::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.instruction-list::-webkit-scrollbar-thumb,.instruction-detail::-webkit-scrollbar-thumb{background:#adb5bd;border-radius:4px}.instruction-list::-webkit-scrollbar-thumb:hover,.instruction-detail::-webkit-scrollbar-thumb:hover{background:#6c757d}@media (max-width: 768px){.help-content{grid-template-columns:1fr}.instruction-detail{position:fixed;top:50px;left:10px;right:10px;bottom:10px;z-index:1000;max-height:calc(100vh - 60px);background:#0a0a0a;border:2px solid #00ff00}}.tutorial-panel{display:grid;grid-template-columns:280px 1fr;height:100%;background:#f8f9fa;overflow:hidden}.tutorial-sidebar{background:#fff;border-right:2px solid #dee2e6;padding:20px;overflow-y:auto}.tutorial-sidebar h3{margin:0 0 20px;color:#2c3e50;font-size:18px}.lesson-item{display:flex;gap:12px;padding:12px;margin-bottom:10px;border-radius:8px;cursor:pointer;transition:all .2s;border:2px solid transparent}.lesson-item:hover{background:#f8f9fa;transform:translate(4px)}.lesson-item.active{background:#e3f2fd;border-color:#4a90e2}.lesson-item.completed .lesson-icon{background:#28a745;color:#fff}.lesson-icon{width:40px;height:40px;border-radius:8px;background:#e9ecef;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0}.lesson-info{flex:1;min-width:0}.lesson-title{font-weight:600;color:#2c3e50;font-size:13px;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lesson-desc{font-size:11px;color:#6c757d;line-height:1.3}.tutorial-content{display:flex;flex-direction:column;padding:30px;overflow-y:auto}.tutorial-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.lesson-badge{background:#4a90e2;color:#fff;padding:8px 16px;border-radius:20px;font-weight:600;font-size:14px}.step-counter{background:#e9ecef;padding:6px 12px;border-radius:12px;font-size:13px;color:#495057;font-weight:500}.progress-bar{height:6px;background:#e9ecef;border-radius:3px;overflow:hidden;margin-bottom:30px}.progress-fill{height:100%;background:linear-gradient(90deg,#4a90e2,#2ecc71);transition:width .3s ease}.tutorial-step{background:#fff;border-radius:12px;padding:30px;box-shadow:0 2px 8px #0000000d;flex:1;margin-bottom:20px}.tutorial-step h2{margin:0 0 20px;color:#2c3e50;font-size:28px}.step-content{color:#495057;font-size:16px;line-height:1.6;margin-bottom:20px}.step-content p{margin:12px 0;white-space:pre-wrap}.step-content strong{color:#2c3e50;font-weight:600}.code-section{margin:24px 0;border-radius:8px;overflow:hidden;border:2px solid #e9ecef}.code-header{background:#f8f9fa;padding:12px 16px;display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #e9ecef}.code-header span{font-weight:600;color:#495057;font-size:14px}.load-code-btn{background:#4a90e2;color:#fff;border:none;padding:6px 12px;border-radius:6px;cursor:pointer;font-size:12px;font-weight:600;transition:all .2s}.load-code-btn:hover{background:#357abd;transform:translateY(-1px)}.tutorial-code{background:#282c34;color:#abb2bf;padding:20px;font-family:Courier New,monospace;font-size:14px;line-height:1.6;margin:0;overflow-x:auto}.action-box{background:#fff3cd;border-left:4px solid #ffc107;padding:16px;border-radius:6px;margin:20px 0;color:#856404}.action-box strong{display:block;margin-bottom:8px;font-size:15px}.tip-box{background:#d1ecf1;border-left:4px solid #17a2b8;padding:16px;border-radius:6px;margin:20px 0;color:#0c5460}.tip-box strong{display:block;margin-bottom:8px;font-size:15px}.tutorial-navigation{display:flex;justify-content:space-between;gap:12px}.nav-btn{flex:1;padding:14px 24px;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s}.nav-btn.prev{background:#e9ecef;color:#495057}.nav-btn.prev:hover:not(:disabled){background:#dee2e6;transform:translate(-2px)}.nav-btn.next{background:#4a90e2;color:#fff}.nav-btn.next:hover:not(:disabled){background:#357abd;transform:translate(2px)}.nav-btn:disabled{opacity:.5;cursor:not-allowed}.tutorial-sidebar::-webkit-scrollbar,.tutorial-content::-webkit-scrollbar{width:8px}.tutorial-sidebar::-webkit-scrollbar-track,.tutorial-content::-webkit-scrollbar-track{background:#f1f1f1}.tutorial-sidebar::-webkit-scrollbar-thumb,.tutorial-content::-webkit-scrollbar-thumb{background:#adb5bd;border-radius:4px}@media (max-width: 768px){.tutorial-panel{grid-template-columns:1fr}.tutorial-sidebar{display:none}.tutorial-content{padding:15px}.tutorial-step{padding:20px}.tutorial-step h2{font-size:22px}}.docs-panel{display:grid;grid-template-columns:250px 1fr;height:100%;background:#f8f9fa;overflow:hidden}.docs-sidebar{background:#fff;border-right:2px solid #dee2e6;padding:20px;overflow-y:auto}.docs-sidebar h3{margin:0 0 20px;color:#2c3e50;font-size:18px}.doc-item{display:flex;align-items:center;gap:12px;padding:12px;margin-bottom:8px;border-radius:8px;cursor:pointer;transition:all .2s;border:2px solid transparent}.doc-item:hover{background:#f8f9fa;transform:translate(4px)}.doc-item.active{background:#e3f2fd;border-color:#4a90e2}.doc-icon{font-size:24px}.doc-title{font-weight:500;color:#2c3e50;font-size:14px}.docs-content{display:flex;flex-direction:column;overflow:hidden}.docs-header{background:#fff;padding:20px 30px;border-bottom:2px solid #dee2e6}.docs-header h2{margin:0;color:#2c3e50;font-size:28px}.docs-body{flex:1;padding:30px;overflow-y:auto;background:#fff}.markdown-content{max-width:800px;color:#2c3e50;line-height:1.6}.markdown-content h1{font-size:32px;margin:30px 0 20px;color:#2c3e50;border-bottom:3px solid #4a90e2;padding-bottom:10px}.markdown-content h2{font-size:24px;margin:25px 0 15px;color:#34495e;border-bottom:2px solid #dee2e6;padding-bottom:8px}.markdown-content h3{font-size:20px;margin:20px 0 12px;color:#495057}.markdown-content p{margin:12px 0;font-size:15px;color:#495057}.markdown-content li{margin:8px 0 8px 30px;font-size:15px;color:#495057}.markdown-content a{color:#4a90e2;text-decoration:none;border-bottom:1px solid transparent;transition:border-color .2s}.markdown-content a:hover{border-bottom-color:#4a90e2}.markdown-content hr{border:none;border-top:2px solid #dee2e6;margin:30px 0}.markdown-content code{background:#f8f9fa;padding:2px 6px;border-radius:3px;font-family:Courier New,monospace;font-size:14px;color:#e74c3c}.link-content{max-width:600px}.link-content p{font-size:16px;color:#495057;margin-bottom:20px}.doc-link-btn{display:inline-block;background:#4a90e2;color:#fff;padding:12px 24px;border-radius:8px;text-decoration:none;font-weight:600;transition:all .2s}.doc-link-btn:hover{background:#357abd;transform:translateY(-2px);box-shadow:0 4px 8px #0003}.docs-sidebar::-webkit-scrollbar,.docs-body::-webkit-scrollbar{width:8px}.docs-sidebar::-webkit-scrollbar-track,.docs-body::-webkit-scrollbar-track{background:#f1f1f1}.docs-sidebar::-webkit-scrollbar-thumb,.docs-body::-webkit-scrollbar-thumb{background:#adb5bd;border-radius:4px}@media (max-width: 768px){.docs-panel{grid-template-columns:1fr}.docs-sidebar{display:none}.docs-body{padding:20px}}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Courier New,monospace;background:#1a1a1a;color:#0f0}.elea-container{min-height:100vh;display:flex;flex-direction:column}.elea-header{background:#000;border-bottom:3px solid #00ff00;padding:1rem 2rem;box-shadow:0 0 20px #00ff004d;display:flex;align-items:center;justify-content:space-between}.elea-header h1{font-size:2rem;color:#0f0;text-shadow:0 0 10px rgba(0,255,0,.5);margin-bottom:.5rem}.header-info{font-size:.9rem;color:#0a0}.header-controls{display:flex;align-items:center;gap:1rem}.mode-toggle{padding:.5rem 1rem;background:#010;border:2px solid #00aa00;color:#0a0;font-family:Courier New,monospace;cursor:pointer;transition:all .3s;border-radius:4px}.mode-toggle.active{background:#030;color:#0f0;box-shadow:0 0 10px #00ff004d}.sound-control{display:flex;align-items:center;gap:.5rem;color:#0a0;cursor:pointer}.sound-control input[type=checkbox]{cursor:pointer}.volume-slider{width:100px;accent-color:#00ff00}.volume-slider:disabled{opacity:.3}.elea-main{flex:1;display:grid;grid-template-columns:1fr 400px;gap:1rem;padding:1rem}.left-panel{background:#0a0a0a;border:2px solid #00ff00;border-radius:8px;overflow:hidden;display:flex;flex-direction:column}.tabs{display:flex;background:#000;border-bottom:2px solid #00ff00}.tabs button{flex:1;padding:1rem;background:transparent;border:none;color:#0a0;font-family:Courier New,monospace;font-size:1rem;cursor:pointer;transition:all .3s}.tabs button:hover{background:#010}.tabs button.active{background:#030;color:#0f0;font-weight:700}.tab-content{flex:1;overflow:auto;padding:1rem}.console-container{height:100%;display:flex;flex-direction:column}.console-output{flex:1;background:#000;border:1px solid #00aa00;border-radius:4px;padding:1rem;overflow-y:auto;font-family:Courier New,monospace;font-size:1rem;line-height:1.4}.console-output pre{color:#0f0;margin:0;white-space:pre-wrap}.memory-view,.memory-controls{display:flex;flex-direction:column;gap:1rem}.control-row{display:flex;gap:1rem}.control-row label{display:flex;flex-direction:column;gap:.5rem;flex:1}.control-row input{padding:.5rem;background:#000;border:1px solid #00aa00;color:#0f0;font-family:Courier New,monospace}.view-mode-toggle{display:flex;gap:.5rem}.view-mode-toggle button{flex:1;padding:.5rem;background:#010;border:1px solid #00aa00;color:#0a0;font-family:Courier New,monospace;cursor:pointer}.view-mode-toggle button.active{background:#030;color:#0f0;font-weight:700}.memory-dump{background:#000;border:1px solid #00aa00;border-radius:4px;padding:1rem;overflow-x:auto}.memory-dump pre{color:#0f0;font-size:.9rem;line-height:1.6}.memory-stats{font-size:.9rem;color:#0a0}.assembler-tab{display:flex;flex-direction:column;gap:1rem;height:100%}.assembler-toolbar{display:flex;gap:1rem;align-items:center}.assembler-toolbar select{flex:1;padding:.5rem;background:#000;border:1px solid #00aa00;color:#0f0;font-family:Courier New,monospace}.assemble-btn{padding:.5rem 1rem;background:#030;border:2px solid #00ff00;color:#0f0;font-family:Courier New,monospace;font-weight:700;cursor:pointer;transition:all .3s}.assemble-btn:hover{background:#050;box-shadow:0 0 10px #00ff0080}.editor-container{flex:1;border:1px solid #00aa00;border-radius:4px;overflow:hidden}.code-editor{width:100%;height:100%;padding:1rem;background:#000;border:none;color:#0f0;font-family:Courier New,monospace;font-size:1rem;line-height:1.6;resize:none;outline:none}.symbol-table{max-height:200px;overflow-y:auto}.symbol-table table{width:100%;border-collapse:collapse}.symbol-table th,.symbol-table td{padding:.5rem;text-align:left;border-bottom:1px solid #00aa00}.symbol-table th{background:#010;color:#0f0;font-weight:700}.right-panel{display:flex;flex-direction:column;gap:1rem}.register-display,.control-panel,.snapshots-panel{background:#0a0a0a;border:2px solid #00ff00;border-radius:8px;padding:1rem}.register-display h3,.control-panel h3,.snapshots-panel h3{color:#0f0;margin-bottom:1rem;font-size:1.2rem;text-transform:uppercase}.register-grid{display:flex;flex-direction:column;gap:.5rem}.register-row{display:flex;justify-content:space-between;padding:.5rem;background:#000;border:1px solid #00aa00;border-radius:4px}.reg-label{color:#0a0;font-weight:700}.reg-value{color:#0f0}.monospace{font-family:Courier New,monospace}.register-flags{margin-top:1rem}.register-flags h4{color:#0a0;margin-bottom:.5rem}.flag-row{display:flex;gap:.5rem}.flag-row span{flex:1;padding:.5rem;text-align:center;border:1px solid #00aa00;border-radius:4px;font-weight:700}.flag-on{background:#030;color:#0f0;box-shadow:0 0 5px #00ff0080}.flag-off{background:#000;color:#040}.button-group{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.button-group button{padding:.75rem;background:#010;border:2px solid #00aa00;color:#0f0;font-family:Courier New,monospace;font-size:1rem;font-weight:700;cursor:pointer;transition:all .3s}.button-group button:hover:not(:disabled){background:#030;box-shadow:0 0 10px #00ff004d}.button-group button:disabled{opacity:.5;cursor:not-allowed}.button-group button.run{background:#020;border-color:#0f0}.button-group button.pause{background:#320;border-color:#fa0;color:#fa0}.button-group button.reset{background:#200;border-color:#f44;color:#f44}.stats{margin-top:1rem}.stats h4{color:#0a0;margin-bottom:.5rem}.stat-line{display:flex;justify-content:space-between;padding:.25rem 0;border-bottom:1px dotted #004400}.stat-line span:first-child{color:#0a0}.stat-line span:last-child{color:#0f0;font-weight:700}.state-running{color:#0f0!important;animation:blink 1s infinite}.state-paused{color:#fa0!important}.state-stopped{color:#f44!important}.state-error{color:red!important;font-weight:700}@keyframes blink{0%,49%{opacity:1}50%,to{opacity:.3}}.snapshot-list{display:flex;flex-direction:column;gap:.5rem;max-height:300px;overflow-y:auto}.snapshot-btn{padding:.5rem;background:#000;border:1px solid #00aa00;color:#0a0;font-family:Courier New,monospace;cursor:pointer;transition:all .3s}.snapshot-btn:hover{background:#010;color:#0f0}.elea-container.hardware .right-panel{background:linear-gradient(135deg,#2a2a2a,#1a1a1a)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#000}::-webkit-scrollbar-thumb{background:#0a0;border-radius:5px}::-webkit-scrollbar-thumb:hover{background:#0f0}@media (max-width: 1024px){.elea-main{grid-template-columns:1fr 350px}.elea-header h1{font-size:1.5rem}.header-info{font-size:.8rem}}@media (max-width: 768px){.elea-main{grid-template-columns:1fr;grid-template-rows:1fr auto}.right-panel{max-height:60vh;overflow-y:auto}.elea-header{flex-direction:column;gap:1rem;padding:1rem}.header-controls{width:100%;justify-content:space-between}.tabs{flex-wrap:wrap}.tabs button{flex:1 1 auto;padding:.75rem;font-size:.9rem}}@media (max-width: 480px){.elea-header h1{font-size:1.2rem}.header-info{font-size:.7rem}.elea-main{padding:.5rem;gap:.5rem}.tab-content{padding:.5rem}.volume-slider{width:60px}.mode-toggle{padding:.4rem .8rem;font-size:.85rem}}
