:root{--bg:#f5f7fb;--ink:#172641;--muted:#7a879b;--line:#e8edf4;--blue:#2563eb;--blue-soft:#eef4ff;--green:#15a77a;--shadow:0 4px 20px #253f6805;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-size:14px}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}[hidden]{display:none!important}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}h1{font-size:29px;letter-spacing:-.8px;font-weight:700}h2{font-size:16px;font-weight:650}small{font-size:12px}.muted,.subtle{color:var(--muted)}.muted{line-height:1.7}.small-label,.eyebrow{display:block;font-size:10px;letter-spacing:1.8px;font-weight:700;color:#8a9bb3;margin-bottom:9px}.brand{display:flex;align-items:center;gap:10px;font-size:18px;letter-spacing:-.4px}.brand b{font-weight:500}.brand-icon{display:grid;place-items:center;background:var(--blue);color:#fff;border-radius:10px;height:35px;width:35px;font-size:22px;font-weight:750;box-shadow:0 4px 10px #2563eb22}.button{border:1px solid transparent;border-radius:8px;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:600;transition:background .15s,transform .15s;white-space:nowrap}.button:hover{transform:translateY(-1px)}.primary{background:var(--blue);color:white;box-shadow:0 3px 7px #2563eb18}.primary:hover{background:#1e54ce}.secondary{background:white;color:#435370;border-color:#dce4ef}.secondary:hover{background:#f7faff}.large{padding:13px 20px;width:100%;justify-content:space-between}.text-button{background:none;border:0;color:#6e7e97;padding:5px;font-size:12px}.text-button:hover{color:var(--blue)}label{display:block;font-weight:600;font-size:12px}input:not([type=checkbox]){display:block;width:100%;border:1px solid #dde4ed;border-radius:8px;padding:12px 13px;background:white;color:var(--ink);font-size:13px;margin-top:8px;transition:border-color .2s,box-shadow .2s}input:focus{outline:none;border-color:#5d8cf5;box-shadow:0 0 0 3px #2563eb12}input::placeholder{color:#acb5c3}form label+label{margin-top:20px}.form-error{min-height:20px;color:#df5049;font-size:12px;margin:10px 0}.login-layout{min-height:100vh;display:grid;grid-template-columns:47% 53%;background:white}.login-intro{background:#172641;color:white;padding:42px 12%;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}.login-intro:after{content:"";position:absolute;border:1px solid #ffffff08;width:600px;height:600px;border-radius:50%;right:-380px;top:120px;pointer-events:none}.brand.light .brand-icon{background:#426eff}.login-intro h1{font-size:42px;line-height:1.45;letter-spacing:1px;margin:10px 0 20px}.login-intro p{color:#a7b8d1;line-height:2;font-size:14px}.login-intro .eyebrow{color:#6e91d3;font-size:10px}.login-foot{color:#647c9e;letter-spacing:.3px}.login-device{position:relative;height:225px;margin-top:30px}.device-orbit{border:1px solid #718cc01a;border-radius:50%;position:absolute;inset:8px 25px;transform:rotate(-18deg)}.phone-illustration{position:absolute;width:117px;height:194px;top:0;left:70px;border:3px solid #8ca0c18c;border-radius:19px;background:linear-gradient(150deg,#304c7c,#20365b);transform:rotate(-9deg);box-shadow:16px 20px 30px #06132c50;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column}.phone-illustration>span{width:36px;height:5px;background:#0c203f;border-radius:0 0 6px 6px;position:absolute;top:0}.phone-illustration i{font-style:normal;font-weight:200;font-size:53px;color:#b1ccff}.phone-illustration small{color:#7093cf;font-size:8px;letter-spacing:3px}.phone-illustration div{width:32px;height:3px;border-radius:3px;background:#7c96bb;position:absolute;bottom:9px}.float-label{position:absolute;left:170px;top:142px;background:#2a4166;border:1px solid #526c9344;border-radius:9px;padding:12px;white-space:nowrap;color:#c2d2eb;font-size:11px;box-shadow:0 8px 20px #0b173a55}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#2dc394;margin-right:6px}.login-panel{display:flex;justify-content:center;align-items:center;padding:50px}.login-form{width:340px}.login-form h2{font-size:26px;letter-spacing:-.5px;margin-bottom:10px}.login-form>.muted{margin-bottom:36px;font-size:13px}.login-form label{color:#4a5b73}.login-note{display:flex;gap:7px;font-size:11px;color:#93a0b3;justify-content:center;margin-top:24px}.login-note span{color:#88a2c4}.app-layout{min-height:100vh;display:flex}.sidebar{width:228px;flex-shrink:0;background:white;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:30px 18px;z-index:20}.sidebar>.brand{padding:0 12px;margin-bottom:43px}.nav-caption{font-size:10px;color:#a4afbf;letter-spacing:1px;padding:0 17px;margin-bottom:14px}.nav-item{display:flex;align-items:center;gap:13px;border:0;background:transparent;width:100%;padding:14px 17px;text-align:left;color:#6c7b92;font-weight:500;margin-bottom:4px;border-radius:8px}.nav-item>span{font-size:20px;display:inline-block;width:21px;line-height:20px;text-align:center}.nav-item:hover{background:#f8fafd;color:#365782}.nav-item.active{color:var(--blue);background:var(--blue-soft);font-weight:650}.sidebar-bottom{margin-top:auto}.mini-device{display:flex;align-items:center;gap:10px;padding:16px 10px;border-top:1px solid var(--line)}.android-mark{width:32px;height:32px;border-radius:8px;background:#e6f7f1;color:var(--green);display:grid;place-items:center;font-size:18px;font-weight:700}.mini-device strong{display:block;font-size:12px}.mini-device small{display:block;font-size:10px;color:#98a5b7;margin-top:5px}.private-label{color:#a3afbf;font-size:10px;padding:10px 9px}.main-shell{margin-left:228px;width:calc(100% - 228px);min-height:100vh;display:flex;flex-direction:column}.topbar{height:76px;display:flex;justify-content:space-between;align-items:center;padding:0 38px;background:white;border-bottom:1px solid var(--line);gap:12px}.breadcrumb{font-size:12px;color:#95a1b2}.breadcrumb span{margin:0 12px;color:#cad1dc}.breadcrumb strong{font-weight:500;color:#4c5d75}.topbar-right{display:flex;align-items:center;gap:12px;font-size:12px;color:#617088}.avatar{height:28px;width:28px;border-radius:50%;display:grid;place-items:center;background:#f0f3fa;color:#63789b;font-size:10px;margin-left:7px}.badge{display:inline-flex;align-items:center;border-radius:20px;font-size:11px;line-height:1.2;padding:6px 10px;font-weight:550;white-space:nowrap}.badge.green{background:#e7f7ef;color:#168b62}.badge.green:before{content:"";height:5px;width:5px;background:#1ba775;border-radius:50%;margin-right:6px}.badge.neutral{background:#f1f4f8;color:#8492a7}.badge.orange{background:#fff3e4;color:#be7b2c}main{padding:33px 38px 20px;max-width:1620px;width:100%;margin:auto;flex:1}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:15px}.page-heading h1{margin-bottom:7px}.page-heading .muted{font-size:12px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.stat-card{padding:20px 21px 17px;background:white;border:1px solid var(--line);border-radius:11px;box-shadow:var(--shadow);min-height:144px;position:relative}.stat-label{font-size:11px;color:#7c8aa0;display:flex;justify-content:space-between;align-items:center}.stat-label span{color:#a6b4ca;font-size:17px}.stat-value{font-size:27px;font-weight:650;letter-spacing:-.8px;margin:14px 0 5px;line-height:1}.stat-card small{font-size:10px;color:#a0aabc}.meter{height:4px;background:#edf2fa;border-radius:10px;margin-top:13px;overflow:hidden}.meter i{display:block;width:0;height:100%;background:#4f86f7;border-radius:10px;transition:width .5s}.meter.purple i{background:#a48af4}.card{background:white;border:1px solid var(--line);border-radius:11px;box-shadow:var(--shadow);overflow:hidden}.card-heading{display:flex;justify-content:space-between;align-items:center;padding:22px 23px;gap:12px}.card-heading .muted{font-size:11px;margin-top:5px}.card-heading .subtle{font-size:10px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr);gap:23px}.overview-right{display:flex;flex-direction:column;gap:22px}.overview-screen{background:#10151f;aspect-ratio:16/9;margin:0 22px;display:flex;align-items:center;justify-content:center;border-radius:7px;overflow:hidden;cursor:pointer}.overview-screen img{max-width:100%;max-height:100%;object-fit:contain}.screen-placeholder{text-align:center;color:#75839b;font-size:11px}.screen-placeholder>span{font-size:33px;color:#61718e;display:block;margin-bottom:10px}.card-footer{padding:21px 23px;display:flex;align-items:center;justify-content:space-between;gap:10px}.card-footer strong{font-size:11px;font-weight:600;letter-spacing:.3px}.card-footer small{font-size:10px;color:#9aa7b9;display:block;margin-top:4px}.control-grid{display:grid;grid-template-columns:repeat(3,1fr);padding:0 18px 23px;gap:10px}.control-button{background:#f8faff;border:1px solid #eef2f8;border-radius:8px;display:flex;flex-direction:column;align-items:center;padding:15px 2px}.control-button:hover{border-color:#bdd2f9}.control-button>span{font-size:24px;height:28px;line-height:25px}.control-button strong{font-size:12px;margin-top:7px;font-weight:550}.control-button small{font-size:9px;color:#a2aec1;margin-top:5px}.green{color:var(--green)}.blue{color:var(--blue)}.orange{color:#d58b43}.audit-list{padding:0 23px 22px;max-height:228px;overflow:auto}.audit-row{display:flex;align-items:flex-start;gap:10px;padding:10px 0;border-bottom:1px solid #f3f5f9}.audit-row:last-child{border:0}.audit-bullet{width:7px;height:7px;background:#8db1f2;border-radius:50%;margin-top:4px;flex-shrink:0}.audit-row strong{font-size:11px;display:block;font-weight:500}.audit-row small{font-size:9px;color:#a1adc0;display:block;margin-top:4px;overflow:hidden;text-overflow:ellipsis;max-width:230px;white-space:nowrap}.audit-row time{font-size:9px;color:#acb6c5;margin-left:auto;white-space:nowrap}.main-footer{display:flex;justify-content:space-between;color:#b0bac9;font-size:10px;padding:22px 38px;max-width:1620px;width:100%;margin:auto}.inline-controls{display:flex;gap:15px;align-items:center}.toggle-label{font-size:11px;font-weight:400;color:#8c9ab0;display:flex;gap:6px;align-items:center}.toggle-label input{accent-color:var(--blue)}.remote-card{background:#171e2b;border-color:#232d3f}.screen-topline{color:#a6b3c9;display:flex;justify-content:space-between;align-items:center;padding:14px 20px;font-size:10px;border-bottom:1px solid #ffffff09}.screen-topline strong{font-size:11px;font-weight:500}.screen-stage{background:#080c13;min-height:360px;height:min(55vh,640px);display:flex;align-items:center;justify-content:center;overflow:hidden;padding:10px}.screen-stage img{max-width:100%;max-height:100%;width:auto;height:auto;touch-action:none;user-select:none;cursor:crosshair;object-fit:contain}.screen-toolbar{display:flex;justify-content:space-between;align-items:center;padding:11px 17px;gap:10px;background:#1c2536}.key-buttons{display:flex;gap:6px;align-items:center}.key-buttons button{color:#abb8ce;background:#273247;border:1px solid #ffffff05;border-radius:6px;padding:8px 12px;font-size:15px}.key-buttons button:hover{background:#34435c}.key-buttons button span{font-size:10px;margin-left:4px}.toolbar-divider{height:20px;width:1px;background:#3c475c;margin:0 5px}.screen-toolbar>.text-button{color:#a0b4d2}.text-input-row{display:flex;gap:12px;margin-top:16px;align-items:center}.text-input-row input{margin:0}.remote-card:fullscreen{display:flex;flex-direction:column}.remote-card:fullscreen .screen-stage{height:auto;flex:1}.app-list{padding:2px 24px}.app-row{display:flex;align-items:center;gap:16px;padding:22px 0;border-bottom:1px solid var(--line)}.app-row:last-child{border:0}.app-icon{width:45px;height:45px;background:#edf3ff;color:#5a81c7;border-radius:11px;display:grid;place-items:center;font-size:22px;flex-shrink:0}.app-meta{flex:1;min-width:0}.app-meta strong,.file-name{font-size:13px;font-weight:600}.app-meta small,.file-meta{display:block;font-size:10px;color:#9aa7ba;margin-top:6px;overflow-wrap:anywhere}.row-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.row-action{background:#f3f6fc;border:0;color:#5d7aaa;border-radius:5px;font-size:11px;padding:7px 10px}.row-action:hover{background:#e8effa}.row-action.danger{color:#d17b77;background:#fff5f3}.dropzone{border:1px dashed #cbd9ef;background:#f0f5ff80;border-radius:10px;padding:29px;text-align:center;cursor:pointer;margin-bottom:22px;color:#6e819f;transition:background .2s}.dropzone:hover,.dropzone.dragging{background:#e8f0ff}.upload-icon{display:block;height:40px;width:40px;margin:0 auto 12px;border-radius:10px;background:#e2ecff;color:#5986d3;font-size:28px}.dropzone strong{font-size:13px;font-weight:500;display:block}.dropzone em{font-style:normal;color:var(--blue)}.dropzone small{display:block;font-size:10px;color:#a0aec3;margin-top:9px}.upload-progress{padding:17px 22px;margin-bottom:20px}.upload-progress>div:first-child{display:flex;justify-content:space-between;align-items:center;font-size:12px}.upload-progress small{display:block;color:#99a5b6;font-size:10px;margin-top:8px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:660px}th{text-align:left;padding:15px 22px;background:#fcfdff;color:#91a0b4;font-size:10px;font-weight:500;border-bottom:1px solid var(--line)}td{padding:19px 22px;border-bottom:1px solid var(--line);font-size:11px;color:#8491a6}tbody tr:last-child td{border:0}td:first-child{max-width:360px;color:var(--ink)}.file-name{font-size:12px;overflow-wrap:anywhere}.file-meta{font-size:9px;max-width:330px}.right{text-align:right}.empty-state{text-align:center;padding:55px 20px;color:#a6b0c1;font-size:12px}.log-card{background:#172133;color:#a8b7d0;border-radius:10px;overflow:hidden}.log-title{padding:16px 22px;background:#1f2b40;display:flex;align-items:center;gap:7px;font-size:11px}.log-title .text-button{margin-left:auto;color:#9eb1cc}pre{font-family:"Cascadia Code",Consolas,monospace;font-size:11px;line-height:1.9;padding:20px 24px;margin:0;min-height:400px;max-height:65vh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px}.settings-card{padding:26px}.settings-card>.muted{font-size:11px;margin-top:10px;margin-bottom:25px}.settings-card form>.button{margin-top:24px}.copy-field{margin-top:9px;background:#f7f9fc;border:1px solid var(--line);border-radius:8px;padding:11px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#627593}.copy-field code{font-size:11px;overflow-wrap:anywhere}.hint{background:#f5f8fe;border-radius:8px;padding:14px 15px;margin-top:21px;font-size:10px;color:#8c9db5;line-height:1.8}.hint strong{font-weight:550;color:#647c9d}.hint p{margin-top:5px}.toasts{position:fixed;right:28px;top:25px;z-index:1000;display:flex;flex-direction:column;gap:9px;max-width:420px}.toast{background:#fff;border:1px solid #d9ece5;border-radius:8px;box-shadow:0 8px 35px #122e4e20;color:#348a69;font-size:12px;padding:14px 19px;animation:toast-in .2s}.toast.error{color:#c5635d;border-color:#f3dad7}@keyframes toast-in{from{transform:translateY(-8px);opacity:0}to{transform:translateY(0);opacity:1}}.icon-button{border:0;background:none;font-size:20px;color:#7084a4}.mobile-only{display:none}@media(min-width:1500px){main{padding-top:40px}.overview-screen{aspect-ratio:16/8.3}.stat-card{min-height:150px}.card-heading{padding:25px}.audit-list{max-height:270px}}@media(max-width:1120px){.sidebar{width:195px;padding-left:10px;padding-right:10px}.sidebar>.brand{font-size:16px;padding:0 8px}.main-shell{margin-left:195px;width:calc(100% - 195px)}main{padding:28px 25px}.topbar{padding:0 25px}.stats-grid{gap:12px}.stat-card{padding:18px 15px}.overview-grid{grid-template-columns:1fr}.overview-right{display:grid;grid-template-columns:1fr 1fr}.settings-grid{grid-template-columns:1fr}.audit-list{max-height:150px}.login-intro{padding:35px 10%}.login-intro h1{font-size:34px}.login-device{transform:scale(.9);transform-origin:left top}.key-buttons button{padding:8px}.key-buttons button span{display:none}}@media(max-width:760px){.login-layout{grid-template-columns:1fr}.login-intro{display:none}.login-panel{min-height:100vh;padding:30px}.login-form{max-width:340px;width:100%}.sidebar{transform:translateX(-100%);transition:transform .2s;width:228px;box-shadow:5px 0 30px #10244520}.sidebar.open{transform:translateX(0)}.main-shell{margin:0;width:100%}.mobile-only{display:block}.topbar{padding:0 18px;height:63px}.breadcrumb{margin-right:auto}.topbar-right{gap:7px}.topbar-right .avatar{display:none}.topbar-right #accountName{display:none}.topbar-right .badge{font-size:9px;padding:5px 7px}main{padding:25px 17px}.page-heading{align-items:flex-start;gap:10px;margin-bottom:20px}h1{font-size:24px}.small-label{font-size:8px;letter-spacing:1.2px}.page-heading .muted{font-size:11px}.page-heading>.button{font-size:10px;padding:9px}.stats-grid{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:15px}.stat-card{min-height:123px;padding:15px}.stat-value{font-size:24px;margin-top:12px}.overview-grid{gap:15px}.overview-right{grid-template-columns:1fr;gap:15px}.overview-screen{margin:0 15px}.card-heading{padding:18px}.card-footer{padding:17px}.card-footer .button{font-size:11px;padding:10px}.main-footer{padding:20px;font-size:9px}.inline-controls{flex-direction:column;align-items:flex-end;gap:9px}.inline-controls>.button{padding:8px 10px;font-size:10px}.toggle-label{font-size:9px}.screen-stage{padding:0;min-height:230px;height:45vh}.screen-toolbar{padding:10px 8px}.key-buttons{gap:4px}.key-buttons button{padding:8px}.screen-toolbar>.text-button{font-size:9px}.toolbar-divider{margin:0 2px}.text-input-row{gap:7px}.text-input-row input{font-size:11px}.text-input-row>.button{font-size:10px;padding:11px}.app-list{padding:0 16px}.app-row{flex-wrap:wrap;padding:18px 0;gap:12px}.app-meta{min-width:180px}.row-actions{margin-left:auto}.app-row>.row-actions{width:100%}.dropzone{padding:24px 15px}.dropzone strong{font-size:11px}.settings-card{padding:21px}.toasts{right:14px;left:14px;top:15px;max-width:none}.toast{font-size:11px}.screen-topline{padding:12px}.log-title{padding:15px}pre{padding:16px;font-size:10px}}

#streamCanvas{max-width:100%;max-height:100%;width:auto;height:auto;touch-action:none;user-select:none;cursor:crosshair;object-fit:contain}

.screen-stage video {max-width:100%;max-height:100%;width:auto;height:auto;display:block;object-fit:contain;touch-action:none;cursor:crosshair;}
.screen-stage video[hidden] {display:none;}
