
:root{color-scheme:dark;--bg:#10151c;--card:#191f28;--line:#2a323d;--muted:#919dac;--text:#eef1f4;--mint:#79e3bf;--dark:#0d151c}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px}.rail{width:76px;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);display:flex;align-items:center;flex-direction:column;background:#141b23}.brand{width:43px;height:43px;margin-top:28px;background:#203b36;border:1px solid #345c4f;border-radius:13px;padding:7px}.brand svg{fill:none;stroke:var(--mint);stroke-width:2}.rail-dot{width:7px;height:7px;background:var(--mint);border-radius:50%;margin-top:54px}.rail-label{writing-mode:vertical-rl;transform:rotate(180deg);font-size:10px;letter-spacing:3px;color:#8b99a9;margin-top:18px}.rail-version{margin-top:auto;margin-bottom:28px;color:#788694;font-size:11px}main{max-width:1440px;margin:0 auto;padding:38px 42px 20px 116px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.8px;color:var(--mint)}.eyebrow span{margin:0 10px;color:#52606e}h1{font-size:32px;letter-spacing:-1px;font-weight:550;margin:12px 0 8px}.subtitle{color:var(--muted);margin:0;font-size:14px}.connection{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:24px;padding:10px 14px;font-size:12px;color:#bdc7d1;background:#191f27;white-space:nowrap}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#8994a0}.dot.green,.small-dot{background:var(--mint)}.dot.red{background:#ec8d92}.workspace{display:grid;grid-template-columns:minmax(360px,1fr) 330px;gap:22px}.screen-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;background:#0c1117;min-height:670px}.screen-top,.screen-bottom{padding:17px 21px;background:#181e27;display:flex;align-items:center;justify-content:space-between;gap:12px}.screen-top>div{display:flex;gap:10px;align-items:center}.screen-top strong{font-size:12px;font-weight:550}.small-dot{width:6px;height:6px;border-radius:50%}.badge{font-size:9px;letter-spacing:1px;padding:6px 9px;border:1px solid #3b4855;border-radius:5px;color:#b6c3cf;white-space:nowrap}.badge.active{background:#213f35;border-color:#456c58;color:var(--mint)}.stage{position:relative;display:flex;justify-content:center;align-items:center;flex:1;min-height:550px;overflow:hidden;background:radial-gradient(ellipse at center,#17222b 0%,#0c1117 70%)}video{display:none;max-width:100%;width:100%;height:560px;object-fit:contain;touch-action:none;user-select:none}video.live{display:block}video.interactive{cursor:crosshair}.placeholder{text-align:center;color:var(--muted);padding:20px}.placeholder h2{font-size:19px;font-weight:500;color:#dce4eb;margin:29px 0 12px}.placeholder p{font-size:13px;line-height:1.8;margin:0}.phone-outline{width:91px;height:155px;border:2px solid #486574;border-radius:19px;margin:auto;position:relative;background:linear-gradient(145deg,#20343f88,#151e2600);box-shadow:0 0 80px #5cd7ad0c}.phone-outline span{display:block;width:31px;height:5px;background:#486574;border-radius:0 0 4px 4px;margin:7px auto}.phone-outline i{position:absolute;width:33px;height:33px;border-radius:50%;border:1px solid #456d60;left:27px;top:59px;background:#214536}.phone-outline i:after{content:'↗';font-style:normal;color:var(--mint);line-height:30px;font-size:20px}.placeholder-tag{display:inline-block;margin-top:24px;font-size:9px;letter-spacing:1.4px;color:#7f94a4}.screen-bottom{font-size:11px;color:#90a0af;padding:10px 20px;border-top:1px solid #202a34}.screen-bottom>span:nth-child(2){margin-left:auto;font-size:10px}.screen-bottom .dot{width:5px;height:5px;margin-right:4px}.icon-button{background:transparent;color:#b9c6d1;border:0;font-size:25px;cursor:pointer;margin-left:10px}.view-hint{position:absolute;bottom:15px;background:#101820e8;border:1px solid #3e4e5a;color:#cfdae3;font-size:11px;padding:9px 14px;border-radius:8px;pointer-events:none}.section-label{font-size:10px;letter-spacing:1.6px;color:#9cabb9;margin:1px 0 14px}.control-card{border:1px solid var(--line);border-radius:12px;background:var(--card);padding:18px;margin-bottom:14px}.card-heading{display:flex;gap:10px;align-items:center;margin-bottom:12px}.step{font-size:10px;border:1px solid #39434e;border-radius:5px;padding:4px 5px;color:#9eafbc}h2{font-size:14px;margin:0;font-weight:550}.control-card>p{color:var(--muted);font-size:12px;line-height:1.7;margin:0 0 13px}.button{font:inherit;font-size:12px;font-weight:600;width:100%;border-radius:8px;padding:12px 14px;border:1px solid transparent;cursor:pointer;transition:background .15s,opacity .15s}.button.primary{background:var(--mint);color:#142920;display:flex;justify-content:space-between}.button.primary:hover{background:#a2f0d5}.button.secondary{background:#253e35;color:#b1efd5;border-color:#3c6453;margin-top:14px}.button.subtle{background:transparent;color:#9daeba;padding:8px;margin-top:5px;font-size:11px}.button.danger{background:#2b2027;color:#efb0b8;border-color:#57333e}button:disabled{opacity:.35;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:2px solid var(--mint);outline-offset:4px}.mode-option{display:flex;align-items:center;gap:10px;border:1px solid #343d48;border-radius:8px;padding:12px 11px;margin-top:9px}.mode-option.selected{background:#1c2e29;border-color:#456d58}.mode-option strong{font-size:12px;font-weight:550}.mode-option p{font-size:10px;color:#92a49f;margin:5px 0 0}.radio{width:12px;height:12px;border-radius:50%;border:1px solid #596875;flex-shrink:0}.selected .radio{border:3px solid var(--mint);background:#214235}.mode-icon{margin-left:auto;font-size:18px;color:#8caf9f}.note{font-size:10px;line-height:1.6;color:#80918d;margin-top:11px;border-top:1px solid #303c38;padding-top:11px}.navigation{padding-bottom:12px}.nav-buttons{display:flex;gap:8px}.nav-buttons button{flex:1;background:#202833;border:1px solid #35404d;color:#dbe6ed;border-radius:7px;cursor:pointer;padding:3px 0 8px}.nav-buttons b{display:block;font-size:24px;font-weight:400;line-height:30px}.nav-buttons span{font-size:10px;color:#a7b5c2}.control-card .micro{font-size:10px;text-align:center;margin:12px 0 0;color:#788b9d}.diagnostics{display:grid;grid-template-columns:repeat(4,1fr);margin-top:22px;border:1px solid var(--line);border-radius:12px;background:#171e26;padding:19px 0}.metric{padding:0 24px;border-right:1px solid var(--line)}.metric:last-child{border:0}.metric>span{font-size:9px;letter-spacing:1.4px;color:#7f92a2;display:block}.metric strong{font-size:15px;font-weight:500;display:block;margin-top:9px}.metric small{font-size:11px;color:#8b9aa8}.activity-bar{display:flex;gap:18px;padding:17px 2px;font-size:11px;color:#a2b0bd;line-height:1.5}.activity-label{font-size:9px;letter-spacing:1.4px;color:#6f8496;padding-top:2px}.activity-bar .error{color:#f4a0a6}footer{border-top:1px solid #252f39;padding-top:17px;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#657c8f}footer span:last-child{letter-spacing:1px;font-size:9px}.stage:fullscreen{background:#080c10}.stage:fullscreen video{height:100vh;width:100vw}.stage:fullscreen .view-hint{bottom:20px}@media(min-width:1500px){.stage{min-height:620px}video{height:630px}}@media(max-width:1000px){main{padding:25px 22px 20px 98px}.workspace{grid-template-columns:minmax(260px,1fr) 290px;gap:16px}h1{font-size:27px}.screen-card{min-height:620px}.screen-top{padding:15px 12px}.screen-top strong{font-size:10px}.screen-bottom>span:nth-child(2){display:none}}@media(max-width:760px){.rail{width:54px}.brand{width:35px;height:35px;padding:5px}main{padding:24px 16px 20px 70px}header{display:block}.connection{display:inline-flex;margin-top:18px}.workspace{grid-template-columns:1fr}.screen-card{min-height:480px}.stage{min-height:390px}video{height:470px}.controls{margin-top:8px}.diagnostics{grid-template-columns:1fr 1fr;gap:20px}.metric:nth-child(2){border:0}footer{flex-direction:column;gap:10px}h1{font-size:25px}}

button.mode-option{width:100%;font:inherit;color:var(--text);text-align:left;background:transparent;cursor:pointer}button.mode-option.selected{background:#1c2e29}button.mode-option:disabled{opacity:.65}button.mode-option.selected:disabled{opacity:1}.mode-option small{display:block;font-size:10px;color:#92a49f;margin-top:5px;line-height:1.5}


[hidden]{display:none!important}.login-shell{min-height:100vh;display:grid;place-items:center}.login-card{width:min(100%,440px);padding:36px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(145deg,#1c2b31,#171e27);box-shadow:0 24px 90px #0004}.login-card>.eyebrow{margin-top:22px}.login-card h1{font-size:35px;line-height:1.18;margin:16px 0}.login-card .subtitle{line-height:1.7;font-size:13px}.login-card form{margin-top:28px}.login-card label{display:block;color:#becbd5;font-size:12px;margin:17px 0 9px}.login-card input{width:100%;border:1px solid #3b4b56;background:#101820;color:var(--text);border-radius:10px;padding:13px;font:inherit}.login-card input:focus{outline:2px solid var(--mint);outline-offset:2px}.login-card .primary{margin-top:23px;padding:14px}.login-card #loginError{min-height:34px;color:#dcb5b8;font-size:12px;line-height:1.5}.admin-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.admin-tools>.button{width:auto;margin:0}.admin-tools>span{font-size:12px;color:var(--mint)}.device-section{padding:19px 20px;background:#171f28;border:1px solid var(--line);border-radius:14px;margin-bottom:23px}.device-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.device-heading>span{color:var(--mint);font-size:11px}.device-section>p{color:var(--muted);font-size:13px;line-height:1.6}.device-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px;margin-top:14px}.device-card{display:flex;flex-direction:column;align-items:flex-start;gap:9px;background:#111923;color:var(--text);border:1px solid #34414d;border-radius:10px;padding:15px;text-align:left;cursor:pointer;min-width:0}.device-card.selected{background:#203c32;border-color:var(--mint)}.device-card strong{font-size:12px;font-weight:550;overflow-wrap:anywhere}.device-card span{font-size:11px}.device-card .online{color:var(--mint)}.device-card .offline{color:#8c9aa6}.device-card small{font-size:10px;color:#8096a8}.placeholder p{max-width:330px;margin:0 auto}@media(max-width:760px){.login-card{padding:24px}.login-card h1{font-size:28px}.admin-tools{justify-content:flex-start;margin-top:18px}.admin-tools .connection{margin-top:0}.device-section{padding:16px}.device-list{grid-template-columns:1fr}}


.download-link{color:var(--mint);font-size:11px;text-decoration:none;margin-left:auto}.download-link:hover{text-decoration:underline}.device-heading{flex-wrap:wrap}


.device-section .device-notice{color:#f4bbc0;background:#34242b;border:1px solid #69404a;border-radius:9px;padding:12px;line-height:1.7;margin:14px 0 0}
#messageText{display:block;width:100%;resize:vertical;min-height:88px;max-height:240px;margin:10px 0;border:1px solid #3b4b56;border-radius:10px;padding:12px;background:#101820;color:var(--text);font:inherit;font-size:13px;line-height:1.6}#messageText:focus{outline:2px solid var(--mint);outline-offset:2px}#messageStatus{overflow-wrap:anywhere}
.device-entry{min-width:0;display:flex;flex-direction:column;gap:8px}.device-entry .device-card{width:100%;flex:1}.remove-device{border:1px solid #69404a;border-radius:8px;background:#302129;color:#f4bbc0;padding:9px;font:inherit;font-size:11px;cursor:pointer}.remove-device:disabled{opacity:.5}

.file-section{margin-top:24px}.file-toolbar{display:flex;justify-content:flex-end}.file-toolbar .button{width:auto}.file-upload{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0}.file-upload .button{width:auto;margin:0}.file-upload input{max-width:100%;color:var(--muted,#a6bac7)}.shared-files{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}.shared-file{padding:18px;border:1px solid #29434d;border-radius:14px;background:#12242e;min-width:0}.shared-file strong{display:block;overflow-wrap:anywhere}.shared-file small{display:block;color:#9fb8c5;margin-top:8px}.file-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.file-actions .button{width:auto;font-size:12px;text-decoration:none;margin:0;padding:9px 12px}.file-preview{display:block;max-width:100%;max-height:520px;object-fit:contain;margin:16px auto;background:#0a121a;border-radius:12px}#fileProgress{width:100%;height:12px;accent-color:#7be3bf}#closePreview{width:auto;margin-top:16px}
.library-row{background:#12242e;border:1px solid #29434d;border-radius:12px;padding:14px;min-width:0}.library-row strong{display:block;overflow-wrap:anywhere}.library-row small{display:block;color:#9fb8c5;margin:8px 0}.file-section h3{margin-top:26px;font-size:16px;color:#7be3bf}#libraryClosePreview{width:auto}
.feature-switch{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #29434d;cursor:pointer}.feature-switch strong{display:block;font-size:14px}.feature-switch small{display:block;font-size:11px;color:#9fb8c5;margin-top:5px}.feature-switch input{appearance:none;flex:0 0 44px;width:44px;height:26px;border-radius:16px;background:#40515c;position:relative;cursor:pointer}.feature-switch input:before{content:'';display:block;position:absolute;width:18px;height:18px;border-radius:50%;background:#d4e5e8;left:4px;top:4px;transition:transform .15s}.feature-switch input:checked{background:#2f8a6e}.feature-switch input:checked:before{transform:translateX(18px);background:#9bffcf}.feature-switch input:disabled{opacity:.4;cursor:not-allowed}.traffic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.traffic-grid small{display:block;font-size:10px;color:#9fb8c5;letter-spacing:.08em}.traffic-grid strong{display:block;font-size:23px;margin-top:8px}@media(max-width:700px){.traffic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.library-filters{display:flex;flex-wrap:wrap;gap:16px;margin:16px 0}.library-filters label{display:flex;align-items:center;gap:10px;color:var(--muted)}.library-filters select{background:#162733;color:#e9f5f2;border:1px solid #3c5864;border-radius:10px;padding:10px;max-width:100%}video.file-preview{width:100%;max-height:65vh;background:#080e14}

.device-info-section,.contacts-section{margin-top:24px}.device-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.device-info-cell{padding:14px;border:1px solid var(--line);border-radius:12px;background:#12242e}.device-info-cell small{display:block;color:var(--muted);margin-bottom:9px}.device-info-cell strong{overflow-wrap:anywhere}.contacts-section input{padding:11px;border-radius:10px;background:#12242e;border:1px solid var(--line);color:var(--text)}
.camera-video{display:block;width:min(100%,640px);max-height:480px;object-fit:contain;background:#080e14;border-radius:16px;margin:18px auto}.camera-video[hidden]{display:none}.camera-section .file-actions{align-items:center;flex-wrap:wrap}.camera-section label{display:flex;gap:10px;align-items:center}

/* Device directory, screen wall and focused workspace. No external UI dependencies. */
:root{--bg:#0c121a;--card:#151f2a;--line:#293746;--muted:#9aabba;--mint:#84e4c3}
body{background:radial-gradient(ellipse at 90% 0,#19343166,transparent 45%),var(--bg)}
main{max-width:1680px;padding-top:32px}header h1{font-weight:650;letter-spacing:-1.2px}header .subtitle{line-height:1.8}
.rail{z-index:10;background:#0e1720}.brand{box-shadow:0 0 36px #79e3bf10}
button,input,select,textarea{font:inherit}button{transition:background .15s,border-color .15s,box-shadow .15s}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--mint);outline-offset:4px}
button:disabled{cursor:not-allowed}.button.primary:hover:not(:disabled){box-shadow:0 5px 24px #79e3bf25}
.device-section{background:linear-gradient(135deg,#192732,#121b25);border-radius:18px;padding:22px}
.device-heading h2{font-size:16px;margin:0;letter-spacing:-.2px}.device-heading #deviceCount{font-size:12px}
.directory-toolbar{display:flex;align-items:center;gap:12px;margin:20px 0 15px;flex-wrap:wrap}
.device-search{display:flex;align-items:center;gap:10px;flex:1;min-width:200px;border:1px solid #334858;border-radius:10px;background:#0d1721;padding:0 13px}
.device-search>span{font-size:24px;color:var(--mint)}.device-search input{border:0;outline:0;background:transparent;color:var(--text);padding:12px 0;width:100%;font-size:12px}
.directory-toolbar select,.camera-section select{background:#101d28;border:1px solid #334858;border-radius:10px;color:var(--text);padding:12px;max-width:100%}
.directory-toolbar .button{width:auto;margin:0;padding:13px 17px;font-size:12px;min-height:43px}
.device-list{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));max-height:260px;overflow:auto;padding:2px}
.device-card{border-radius:12px;background:#101a25;gap:7px;min-height:104px}.device-card:hover{border-color:#6bbca5;background:#1a302e}.device-card.selected{background:#1c3732;box-shadow:inset 3px 0 0 var(--mint)}
.device-card strong{font-size:14px}.remove-device{font-size:11px;background:transparent}.download-link{font-size:12px}
.view-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.view-heading h2{font-size:27px;letter-spacing:-.7px;margin:9px 0}.view-heading .button{width:auto;margin:0}
.gallery-section{padding:8px 0 22px}.live-pulse{display:inline-block;width:8px;height:8px;background:var(--mint);border-radius:50%;margin:0 0 5px 13px;box-shadow:0 0 0 5px #84e4c312}
.gallery-note{color:#a2b6c6;font-size:12px;line-height:1.9;max-width:920px;margin:16px 0 24px}
.screen-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px;align-items:start}
.screen-tile{padding:0;overflow:hidden;text-align:left;color:var(--text);background:#121f2b;border:1px solid #304555;border-radius:17px;cursor:pointer;min-width:0;box-shadow:0 10px 30px #0002}
.screen-tile:hover,.screen-tile:focus-visible{border-color:var(--mint);box-shadow:0 12px 35px #0005}
.tile-heading{display:flex;gap:9px;align-items:center;padding:15px 14px;min-height:56px}.tile-number{font-size:10px;color:var(--mint);border:1px solid #345548;padding:4px;border-radius:5px}
.tile-heading strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tile-heading small{margin-left:auto;color:#8398ac;font-size:10px}
.tile-stage{position:relative;background:radial-gradient(ellipse at center,#203742,#0a111a);height:330px;display:grid;place-items:center;border-top:1px solid #233747;border-bottom:1px solid #233747}
.tile-stage video{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:contain;pointer-events:none}
.tile-placeholder{font-size:13px;text-align:center;max-width:200px;color:#a8bece;line-height:1.8;padding:20px}
.tile-overlay{position:absolute;bottom:14px;left:12px;right:12px;text-align:center;padding:11px 8px;background:#102a28ec;border:1px solid #48776b;border-radius:9px;font-size:11px;color:#b6ffe2;opacity:0;transform:translateY(5px);transition:opacity .15s,transform .15s;pointer-events:none}
.screen-tile:hover .tile-overlay,.screen-tile:focus-visible .tile-overlay{opacity:1;transform:none}
.tile-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 14px;min-height:48px}.tile-footer>span{font-size:11px;line-height:1.5;color:#a2b5c4}.tile-footer small{font-size:8px;letter-spacing:1px;white-space:nowrap;color:#7f98aa}
.screen-tile[data-state=live] .tile-footer>span{color:var(--mint)}.screen-tile[data-state=error] .tile-footer>span{color:#f5aba6}.screen-tile[data-state=busy] .tile-footer>span{color:#ebce90}
.welcome-card{padding:50px 25px;margin:12px 0 22px;border:1px dashed #355047;border-radius:20px;background:radial-gradient(ellipse at top,#203b3655,#111c27);text-align:center}
.welcome-icon{display:inline-flex;padding:15px;border:1px solid #37574e;border-radius:17px;background:#18312b;margin-bottom:21px}.welcome-icon svg{width:33px;height:33px;fill:none;stroke:var(--mint);stroke-width:1.5}
.welcome-card h2{font-size:28px;letter-spacing:-.6px;margin:12px 0}.welcome-card p{max-width:540px;margin:15px auto 22px;line-height:1.9;color:var(--muted)}.welcome-card .button{width:auto;display:inline-flex;gap:14px;padding:15px 22px}
.welcome-features{display:flex;justify-content:center;gap:22px;margin-top:27px;flex-wrap:wrap;color:#859ba9;font-size:11px}.welcome-features span:before{content:'✓';margin-right:7px;color:var(--mint)}
.device-context{display:flex;align-items:center;gap:16px;padding:21px 0 24px}.back-button{background:transparent;border:1px solid #364859;border-radius:9px;color:#bcd0db;padding:10px 12px;font-size:12px;cursor:pointer}
.device-avatar{display:grid;place-items:center;width:51px;height:51px;border-radius:14px;background:#1a3531;border:1px solid #335b4f}.device-avatar svg{width:28px;height:28px;stroke:var(--mint);fill:none;stroke-width:1.5}
.context-copy{min-width:0}.context-copy h2{font-size:23px;margin:5px 0;overflow-wrap:anywhere}.context-copy p{color:var(--muted);font-size:11px;margin:0}.context-state{margin-left:auto;border:1px solid #425161;border-radius:20px;font-size:11px;padding:8px 13px;white-space:nowrap}.context-state.connected{border-color:#3b6858;color:var(--mint);background:#18372b}
.workspace-tabs{display:flex;gap:7px;padding:8px;margin:0 0 22px;border:1px solid #2c4050;border-radius:14px;background:#14222eeF;position:sticky;top:8px;z-index:5;backdrop-filter:blur(14px);overflow-x:auto}
.workspace-tabs button{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;flex:1;white-space:nowrap;background:transparent;color:#98acbc;padding:13px;border-radius:9px;cursor:pointer;font-size:12px}
.workspace-tabs svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linejoin:round;stroke-linecap:round}.workspace-tabs [aria-selected=true]{color:#d8fff0;background:#27463d;border-color:#436c5e}.workspace-tabs button:hover{color:#d6f6ea;background:#20352f}
.detail-pane>.control-card:first-child{margin-top:0}.control-card{border-radius:15px;background:#15232e;border-color:#304352}.control-card .micro{line-height:1.8;font-size:11px;color:#9bb0be;text-align:left}.card-heading h2{font-size:15px}.note{font-size:11px;color:#9bb1ba;line-height:1.8}
.workspace{grid-template-columns:minmax(300px,1fr) 340px;align-items:start}.screen-card{position:sticky;top:89px;min-height:600px}.stage{min-height:470px}.stage video{height:570px}.screen-top strong{font-size:14px}.screen-bottom{font-size:11px}
.file-section,.contacts-section,.camera-section,.device-info-section{padding:25px}.library-filters{background:#0f1b26;border:1px solid #2c4253;border-radius:12px;padding:14px}.library-filters select{font-size:12px}.library-filters label{font-size:12px}
.library-row,.shared-file{border-radius:12px;background:#11202b;border-color:#2c4353}.file-preview{border:1px solid #3a564f;border-radius:15px}.file-actions .button{min-height:35px}.file-section .micro{max-width:950px}
.traffic-grid{padding:14px 0}.traffic-grid strong{font-variant-numeric:tabular-nums;color:#c8f9e4}.device-info-cell{background:#101d28}.activity-bar{border:1px solid #263a48;background:#121e28;border-radius:10px;padding:14px;margin:22px 0}.activity-label{color:var(--mint)}
@media(min-width:1550px){.screen-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.tile-stage{height:360px}}
@media(max-width:1100px){.workspace{grid-template-columns:minmax(270px,1fr) 300px}.workspace-tabs button{padding:12px 10px;font-size:11px}.directory-toolbar .button{flex:1}.screen-card{min-height:530px}.stage video{height:480px}}
@media(max-width:800px){.workspace{grid-template-columns:1fr}.screen-card{position:static}.screen-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tile-stage{height:280px}.tile-heading{flex-wrap:wrap}.tile-heading small{display:none}.workspace-tabs button{flex:none}.device-context{flex-wrap:wrap;gap:11px}.context-copy{flex:1}.back-button{order:4}.context-state{margin-left:0}.file-section,.contacts-section,.camera-section,.device-info-section{padding:17px}.directory-toolbar .button{flex-basis:100%}.device-list{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome-card h2{font-size:24px}.view-heading h2{font-size:23px}}
@media(max-width:480px){.screen-grid,.device-list{grid-template-columns:1fr}.tile-stage{height:350px}.view-heading{align-items:flex-start;flex-direction:column}.device-context .device-avatar{display:none}.device-search{min-width:150px}.directory-toolbar select{width:100%}.welcome-card{padding:32px 16px}.welcome-card .button{font-size:11px}.workspace-tabs{top:0;border-radius:8px}.context-copy h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
.screen-column{min-width:0;display:flex;flex-direction:column;gap:22px}
.screen-column .screen-card{position:static}
.screen-insights{display:flex;flex-direction:column;gap:18px}
.screen-insights>.control-card,.screen-insights>.diagnostics,.screen-column>.camera-section{margin:0}
.screen-column .traffic-grid,.screen-column .diagnostics{grid-template-columns:repeat(2,minmax(0,1fr))}
.screen-column .diagnostics{row-gap:20px}.screen-column .metric:nth-child(2){border:0}
.screen-column .camera-video{height:auto;max-height:480px}
.screen-column .camera-section .file-actions{gap:10px}
.brand img{object-fit:contain}.admin-tools>a{text-decoration:none;white-space:nowrap}
#stopShortcutForm{display:grid;gap:10px}#stopShortcutDigits{width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);padding:12px;font:600 20px monospace;letter-spacing:.18em}#stopShortcutForm label{font-size:12px;color:var(--muted)}#stopShortcutDigits:focus-visible{outline:2px solid var(--mint);outline-offset:2px}
.feature-switch input:indeterminate{background:#655c3f;opacity:1}.feature-switch input:indeterminate:before{width:14px;height:3px;border-radius:2px;transform:translate(11px,7px);background:#f0d58d}
.inline-navigation{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}.inline-navigation h3{margin:0 0 10px;font-size:12px;font-weight:550;color:var(--text)}
.consent-dialog{width:min(520px,calc(100vw - 32px));max-height:85vh;overflow:auto;background:#1b1f26;color:#eef1f4;border:1px solid #424a57;border-radius:12px;padding:24px;box-shadow:0 24px 80px #0009}.consent-dialog::backdrop{background:#0009}.consent-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.consent-dialog h2{font-size:20px;margin:0}.consent-dialog-heading button{border:0;background:transparent;color:#d4dbe5;font-size:26px;cursor:pointer}.consent-dialog p{font-size:12px;line-height:1.7;color:#aeb9c7}.consent-dialog label{display:grid;gap:9px;font-size:13px;margin-top:18px}.consent-dialog label span{color:#9ca7b6;font-size:12px}.consent-dialog select,.consent-dialog textarea{width:100%;font:inherit;color:#eff2f7;background:#11161e;border:1px solid #424b5a;border-radius:6px;padding:11px}.consent-dialog .button{width:100%;justify-content:center}.consent-history-row{border-top:1px solid #343c48;padding:12px 0;display:grid;gap:6px;font-size:11px;line-height:1.6}.consent-history-row button{justify-self:start;background:transparent;color:#b9ceef;border:0;padding:0;cursor:pointer;text-decoration:underline}#consentSendStatus{color:#ffbdbe}

.access-requests{border:1px solid var(--line);border-radius:12px;padding:22px;margin:0 0 24px;background:var(--card)}.access-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.access-heading h2{font-size:19px;margin:0 0 8px}.access-heading p{font-size:13px;color:var(--muted);line-height:1.6;margin:0}.access-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:20px 0 14px}.access-item{border:1px solid var(--line);border-radius:8px;padding:15px;display:grid;gap:10px}.access-item strong{font-size:13px}.access-item small{font-size:11px;color:var(--muted)}.access-item .button{font-size:12px;margin:0;padding:10px 8px}.access-history{border-top:1px solid var(--line);padding-top:12px;font-size:12px}.access-history summary{cursor:pointer;color:var(--muted)}@media(max-width:1000px){.access-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.access-grid{grid-template-columns:repeat(2,1fr)}.access-heading{display:block}.access-heading>.button{margin-top:12px}}
