:root{font-family:Inter,Segoe UI,Arial,sans-serif;background:#0b1220;color:#e5edf8}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;border:1px solid #364862;border-radius:10px;padding:10px 14px;color:#e5edf8;background:#1a293e}button:disabled{opacity:.45;cursor:not-allowed}button:hover:not(:disabled){filter:brightness(1.16)}h1,h2,h3,p{margin:0}h1{font-size:23px}h2{font-size:17px}h3{font-size:14px}.topbar{height:66px;background:#101b2c;border-bottom:1px solid #283951;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:20px}.brand small{font-weight:400;font-size:12px;color:#9eb0c8}.logo,.big-logo{display:grid;place-items:center;background:linear-gradient(145deg,#46a4ff,#3167e5);font-weight:900;color:white}.logo{width:37px;height:37px;border-radius:12px}.big-logo{height:74px;width:74px;border-radius:22px;font-size:48px;margin:0 auto 20px}.top-right{display:flex;align-items:center;gap:15px;color:#a9bad0;font-size:13px}.pill{padding:7px 12px;border:1px solid #3b506b;border-radius:99px;color:#b8c5d6}.pill.online{border-color:#277d5e;color:#79e0ad}main{display:grid;grid-template-columns:310px minmax(0,1fr);height:calc(100vh - 66px)}.sidebar{border-right:1px solid #283951;background:#101b2c;display:flex;flex-direction:column;padding:18px;gap:16px;overflow:auto}.section-head{display:flex;align-items:center;justify-content:space-between}.section-head button{padding:5px 12px}.device-list{display:flex;flex-direction:column;gap:8px}.device{border:1px solid #293d59;border-radius:12px;background:#142236;padding:12px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px}.device b{font-size:14px}.device small{display:block;color:#9cacc1;margin-top:4px}.device button{font-size:12px;padding:7px 10px}.dot{display:inline-block;width:7px;height:7px;background:#a0a9b5;border-radius:50%;margin-right:7px}.dot.online{background:#45d59f}.muted{color:#92a6bd;font-size:13px;line-height:1.55}.share-panel{margin-top:auto;border:1px solid #324763;background:#142236;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:12px}.primary{background:#287beb;border-color:#287beb;color:white}.secondary{background:transparent}.danger{background:#642b38;border-color:#a34a59}.text-btn{background:transparent;border:0;text-align:left;color:#aabed5;padding:6px}.workspace{padding:23px;display:flex;flex-direction:column;min-width:0;gap:16px}.workspace-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.workspace-head p{font-size:13px;color:#9dadc3;margin-top:6px}.viewer{position:relative;flex:1;background:#050a10;border:1px solid #273951;border-radius:15px;overflow:hidden;min-height:180px;display:flex;justify-content:center;align-items:center}.empty{text-align:center;padding:24px;color:#9baec8}.empty h2{color:#e2ecfa;font-size:20px;margin-bottom:12px}.empty p{max-width:430px;line-height:1.6}video{width:100%;height:100%;object-fit:contain;outline:none}.footer{display:flex;justify-content:space-between;gap:12px;color:#9bacc0;font-size:12px}.hidden{display:none!important}dialog{border:1px solid #374d6c;background:#152236;color:#e5edf8;border-radius:16px;padding:26px;width:min(460px,calc(100vw - 28px));box-shadow:0 20px 70px #0009}dialog::backdrop{background:#02070dc9}dialog form{display:flex;flex-direction:column;gap:16px}dialog h2{font-size:22px}label{font-size:13px;color:#bacce3;display:flex;flex-direction:column;gap:6px}input{width:100%;border:1px solid #415674;background:#0c192c;padding:12px;border-radius:9px;color:white}.actions{display:flex;justify-content:space-between;gap:10px}.error{color:#f394a3;font-size:13px;min-height:18px}@media(max-width:750px){main{grid-template-columns:1fr;grid-template-rows:auto minmax(350px,1fr);height:auto;min-height:calc(100vh - 66px)}.sidebar{border-right:0;border-bottom:1px solid #283951;padding:12px}.device-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.share-panel{margin:0}.workspace{height:65vh;padding:14px}.topbar{padding:0 12px}.top-right #selfName{display:none}}