:root{font-family:Inter,ui-sans-serif,system-ui,Segoe UI,sans-serif;color:#e3f3fc;background:#060d18;--line:#27374b;--accent:#38e9da}*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:radial-gradient(circle at 50% 45%,#173047,#060d18 67%)}header{height:86px;display:flex;align-items:center;gap:26px;border-bottom:1px solid var(--line);padding:12px 24px;background:#0b1521e8}.brand{min-width:235px}.brand b{display:block;letter-spacing:2px;font-size:18px}.brand b span{color:var(--accent)}small{display:block;font-size:9px;color:#7398ae;letter-spacing:2px;margin-top:6px}.heading{flex:1;display:flex;align-items:center;gap:18px}.heading h1{font-size:23px;letter-spacing:4px;margin:0}.heading h1 em{font-style:normal;color:#39ebdb}.heading p{font-size:11px;color:#8da4b7;margin:0}.pill{border:1px solid #366e7b;border-radius:4px;color:#5cead7;font-size:9px;letter-spacing:1.5px;padding:7px}button,select,input{font:inherit}button{cursor:pointer;background:#152639;color:#cfe6f4;border:1px solid #335066;border-radius:5px;padding:10px 13px;font-size:12px;transition:.17s}button:hover{border-color:#4cf9e7;background:#223c50}button.active{background:#0e5a60;color:#9ffff2;border-color:#39bfb4}main{display:grid;grid-template-columns:255px minmax(300px,1fr) 278px;flex:1;min-height:530px;max-height:calc(100vh - 181px)}aside{overflow:auto;background:#091522ee}aside.left{border-right:1px solid var(--line)}aside.right{border-left:1px solid var(--line)}.section{padding:18px;border-bottom:1px solid var(--line)}h2{font-size:10px;letter-spacing:2px;color:#83a9ba;margin:0 0 16px}.section-head{display:flex;justify-content:space-between;align-items:center}.section-head span{font-size:10px;color:#43dfcd}input:not([type=range]):not([type=checkbox]){width:100%;background:#09121e;border:1px solid #2c4457;padding:11px;border-radius:4px;color:#ddf8ff;outline:none}.systems button{display:flex;justify-content:space-between;width:100%;margin:6px 0;background:transparent;border:1px solid transparent;text-align:left;padding:9px 7px}.systems button:hover,.systems button.active{background:#13293a;border-color:#264d57}.systems button span{color:#4edacc}.parts{max-height:50vh;overflow-y:auto}.parts button{display:block;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid #1b3040;padding:8px 2px;color:#a9c4d2;font-size:11px}.parts button.selected{color:#66ffed;background:#16323b}.view{position:relative;overflow:hidden;min-width:0}.view canvas{height:100%;width:100%;display:block;touch-action:none;cursor:grab}.view canvas:active{cursor:grabbing}.hud{position:absolute;pointer-events:none;top:18px;left:21px;right:21px;display:flex;justify-content:space-between;color:#8ac2d2;font-size:10px;letter-spacing:1px}.live{display:inline-block;width:7px;height:7px;border-radius:50%;background:#36e9d4;box-shadow:0 0 12px #36e9d4}.view-title{position:absolute;pointer-events:none;left:24px;bottom:76px}.view-title span{display:block;font-size:14px;font-weight:800;letter-spacing:4px;color:#79dacf}.view-title strong{display:block;font-size:10px;letter-spacing:2px;color:#90b1c4;margin-top:8px}.view-guide{position:absolute;pointer-events:none;top:48px;left:20px;font-size:9px;color:#668597;letter-spacing:1px}.cameras{position:absolute;bottom:20px;left:20px;display:flex;gap:5px;flex-wrap:wrap}.cameras button{padding:8px;font-size:9px}.message{position:absolute;top:82px;left:50%;transform:translateX(-50%);background:#0e3741;color:#a7fff5;border-radius:5px;padding:8px 12px;font-size:11px;opacity:0;transition:.3s;pointer-events:none}.message.visible{opacity:1}.modes{display:grid;grid-template-columns:1fr 1fr;gap:7px}.modes button{padding:12px 4px;font-size:11px}.inspector{min-height:210px}.inspector p{font-size:12px;line-height:1.6;color:#9ab3c5}.inspector strong{font-size:15px;color:#e8faff}.inspector .small{font-size:10px;color:#64dac9}.actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.actions button{padding:8px 3px;font-size:10px}.section label{display:flex;justify-content:space-between;color:#b2c8d5;font-size:11px;margin-top:13px}.section output{color:#51e2d3}.section input[type=range]{width:100%}.check{justify-content:flex-start!important;gap:8px}input[type=range]{accent-color:#48dfcf}footer{min-height:95px;border-top:1px solid var(--line);background:#0a1624;display:flex;align-items:center;gap:28px;padding:15px 22px}.bottom-left{flex:1;min-width:150px;max-width:500px}.modecaption,.ticks{display:flex;justify-content:space-between;letter-spacing:1.5px;font-size:10px;color:#8aafc0}.modecaption b{color:#4ff1df}.bottom-left input{width:100%}.ticks{font-size:9px;color:#557b90}.bottom-right{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.bottom-right button{padding:10px}.bottom-right label,.bottom-right span{font-size:10px;color:#8da9bb}.bottom-right select{background:#101e2e;border:1px solid #2d4c60;color:white;padding:7px}@media(max-width:1000px){main{grid-template-columns:190px minmax(250px,1fr) 210px}.heading p,.pill{display:none}.brand{min-width:175px}.section{padding:12px}footer{flex-wrap:wrap}}@media(max-width:700px){header{height:67px;padding:8px 12px;gap:8px}.brand{min-width:140px}.brand b{font-size:13px}.heading h1{font-size:17px}.heading{gap:0}header>button{padding:6px}main{display:flex;flex-direction:column;max-height:none;min-height:0}.view{height:53vh;min-height:340px;order:0}.left{order:1;max-height:190px}.right{order:2;max-height:430px}.parts{max-height:110px}.section{padding:12px}.view-title{bottom:57px}.cameras{bottom:9px}.cameras button{padding:6px}footer{padding:10px 12px}.bottom-right button{padding:7px}.bottom-right{gap:5px}}
