@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap";.device-row.online-row,.device-row.online-row:hover,tr.online-row{background:#eaf8f1}.device-row.online-unmanaged-row,.device-row.online-unmanaged-row:hover,tr.online-unmanaged-row{background:#f3f9e9}tr.online-row:hover,tr.online-unmanaged-row:hover{filter:brightness(.985)}.toolbar-actions{display:flex;align-items:center;gap:12px}.version-refresh{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:8px 11px;border:1px solid #d9e0e5;border-radius:8px;background:#fff;color:#536170;font-size:10px;font-weight:700;cursor:pointer}.version-refresh:hover{background:#f6f8fa}.version-refresh:disabled{opacity:.55;cursor:wait}.version-error{margin:0 0 12px}.build-version{display:grid;gap:5px}.build-version>span{display:flex;align-items:center;gap:5px;color:#394550;font-weight:600}.build-version code{width:max-content}.device-detail{padding-left:24px;padding-right:24px}.detail-grid{grid-template-columns:235px minmax(700px,1fr)}.detail-actions{display:flex;align-items:center;gap:14px}.restart-button,.log-controls button{display:inline-flex;align-items:center;gap:7px;border:0;border-radius:7px;background:#168665;color:#fff;padding:9px 13px;font-size:11px;font-weight:700;cursor:pointer}.restart-button:disabled{opacity:.55;cursor:wait}.gate-control{display:grid;justify-items:start;gap:4px}.gate-open-button{display:inline-flex;align-items:center;gap:7px;min-height:36px;border:1px solid #0f7559;border-radius:7px;background:#168665;color:#fff;padding:8px 11px;font-size:10px;font-weight:700;white-space:nowrap;cursor:pointer}.gate-open-button small{display:inline;margin:0 0 0 2px;color:inherit;font-size:8px;font-weight:600;opacity:.8}.gate-open-button.unverified{border-color:#a9cfc4;background:#edf7f4;color:#4f7f72}.gate-open-button.unavailable{border-color:#d7dde2;background:#f4f6f7;color:#87919c}.gate-open-button:disabled{opacity:.52;cursor:not-allowed}.gate-target,.gate-message{max-width:300px;color:#7c8795;font-size:9px;line-height:1.35}.gate-message.success{color:#13755a}.gate-message.error{color:#a53030}.gate-control.compact .gate-message{max-width:170px}.console{min-height:589px}.log-view,.terminal{height:540px}.console.fullscreen{position:fixed;top:12px;right:12px;bottom:12px;left:12px;z-index:900;min-height:0;border-radius:10px;box-shadow:0 20px 70px #0008}.console.fullscreen .log-view,.console.fullscreen .terminal{height:calc(100vh - 73px)}.log-controls{min-height:68px;border-bottom:1px solid #1e2630;display:flex;align-items:center;gap:12px;padding:8px 16px;font-size:10px}.log-controls label{display:flex;flex-direction:column;gap:4px;color:#8d99a8}.log-controls label span{color:#566373;font-weight:400}.log-controls input{color:#cbd5df;background:#111720;border:1px solid #28323e;border-radius:5px;padding:5px 7px;color-scheme:dark;font:10px JetBrains Mono}.log-controls button{padding:7px 12px}.log-controls small{margin-left:auto;color:#5ce1b9}.log-view pre{height:calc(100% - 68px);min-height:0}.console-error{position:absolute;top:76px;right:18px;z-index:2;max-width:55%;padding:7px 10px;border:1px solid #71383d;border-radius:6px;background:#32171a;color:#ffafb5;font-size:10px}.inline-error{margin:-7px 0 13px auto;width:max-content;max-width:70%;color:#a53030;background:#fff0f1;border:1px solid #efb4b4;border-radius:7px;padding:8px 11px;font-size:11px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#081019a8;display:grid;place-items:center;padding:24px}.confirm-dialog{position:relative;width:min(440px,100%);background:#fff;border-radius:13px;padding:27px;box-shadow:0 24px 80px #0008}.confirm-dialog h3{margin:15px 0 8px;font-size:18px}.confirm-dialog p{margin:0;color:#657181;font-size:12px;line-height:1.6}.confirm-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:11px;background:#e8f7f1;color:#168665}.dialog-close{position:absolute;right:15px;top:15px;border:0;background:none;color:#7d8794;cursor:pointer}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.dialog-actions button{border-radius:7px;padding:9px 14px;font-size:11px;font-weight:700;cursor:pointer}.cancel-button{border:1px solid #dbe1e7;background:#fff;color:#556170}.confirm-button{border:0;background:#168665;color:#fff}@media(max-width:1200px){.detail-grid{grid-template-columns:210px minmax(650px,1fr)}}.status.not_operable{color:#697686}.status.not_operable i{background:#8c96a2;box-shadow:0 0 0 3px #edf0f3}.fleet-overview{overflow:hidden}.overview-row{grid-template-columns:minmax(260px,1.4fr) 130px 70px 95px 16px}.disabled-row{cursor:default;background:#fcfcfd}.disabled-row:hover{background:#fcfcfd}.disabled-row .device-icon{color:#9aa3ae}.count-pill{font-size:10px;color:#687482;background:#eef1f4;padding:4px 8px;border-radius:12px}:root{font-family:DM Sans,sans-serif;color:#202631;background:#f2f4f7;font-synthesis:none;--ink: #171c24;--muted: #748091;--line: #e3e7ed;--panel: #fff;--green: #14a97b;--nav: #0c1118}*{box-sizing:border-box}body{margin:0;min-width:1080px;background:#f3f5f8}button,input{font:inherit}.shell{display:grid;grid-template-columns:236px 1fr;min-height:100vh}.sidebar{background:var(--nav);color:#d7dce5;padding:25px 16px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:236px}.brand{width:100%;display:flex;align-items:center;gap:11px;padding:0 9px 27px;border:0;border-bottom:1px solid #202733;background:none;color:inherit;text-align:left;cursor:pointer}.brand-mark{display:grid;place-items:center;width:37px;height:37px;border-radius:10px;background:linear-gradient(145deg,#1dc997,#0d8d6e);color:#071b15}.brand strong{display:block;color:#fff;font-size:16px;letter-spacing:.08em}.brand span{display:block;color:#747f8e;font-size:11px;margin-top:1px}.sidebar nav,.maintenance-links{display:flex;flex-direction:column;gap:4px}.sidebar nav{padding-top:24px}.maintenance-links{margin-top:12px;padding-top:12px;border-top:1px solid #202733}.sidebar nav a{display:flex;align-items:center;gap:11px;color:#8f99a8;text-decoration:none;padding:11px 12px;border-radius:8px;font-size:14px;font-weight:500}.sidebar nav a:hover,.sidebar nav a.active{background:#19212c;color:#f3f6f9}.sidebar nav a.active{box-shadow:inset 2px 0 #27d3a2}.nav-count{margin-left:auto;color:#687484;font-size:11px;background:#202a36;padding:2px 7px;border-radius:10px}.sidebar-foot{margin-top:auto}.safe-pill{color:#7ccfb6;font-size:11px;border:1px solid #224d42;border-radius:7px;padding:8px 10px;margin:0 4px 16px;display:flex;align-items:center;gap:7px}.safe-pill span,.live-dot{width:7px;height:7px;border-radius:50%;background:#2bd09e;box-shadow:0 0 0 3px #1c3d35}.profile{border-top:1px solid #202733;padding:18px 5px 0;display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center}.profile strong,.profile span{display:block}.profile strong{font-size:12px}.profile span{font-size:10px;color:#737f90;margin-top:2px}.profile>svg:last-child{color:#586474}main{grid-column:2;min-width:0}.topbar{height:91px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px}.crumb{text-transform:uppercase;font-size:10px;font-weight:700;color:#99a2ae;letter-spacing:.12em}.topbar h1{margin:3px 0 0;font-size:21px;letter-spacing:-.02em}.refresh{display:flex;align-items:center;gap:7px;border:1px solid #dce1e7;background:#fff;border-radius:8px;padding:9px 13px;color:#45505e;font-size:12px;font-weight:600}.refresh:hover{background:#f6f8fa}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.demo-banner,.error-banner{display:flex;align-items:center;gap:9px;margin:18px 36px -4px;padding:10px 14px;border:1px solid #d9ca95;background:#fffbee;color:#685a2c;border-radius:8px;font-size:12px}.demo-banner span{color:#86794f}.error-banner{border-color:#efb4b4;background:#fff2f2;color:#a53030}.content{padding:24px 36px 38px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.metric{background:var(--panel);border:1px solid var(--line);border-radius:11px;padding:17px 18px;position:relative;overflow:hidden}.metric-label{display:flex;align-items:center;gap:7px;color:#7d8794;font-size:11px;font-weight:600}.metric strong{display:block;font-size:28px;letter-spacing:-.05em;margin:10px 0 3px;color:#232a34}.metric>span{color:#929ba7;font-size:11px}.metric-line{position:absolute;bottom:0;left:0;width:35%;height:2px;background:#6b7788}.metric.green .metric-line{background:#1fc391;width:72%}.metric.blue .metric-line{background:#3589d8;width:65%}.metric.amber .metric-line{background:#e6a546;width:28%}.grid-main{display:grid;grid-template-columns:minmax(590px,1.7fr) minmax(280px,.8fr);gap:16px;margin-top:16px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:11px}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #edf0f3}.panel-head h2{font-size:14px;margin:0}.panel-head p{font-size:11px;color:#929ba7;margin:4px 0 0}.panel-head a{font-size:11px;color:#258b70;font-weight:600;text-decoration:none;display:flex;align-items:center;gap:3px}.device-row{display:grid;grid-template-columns:minmax(200px,1.4fr) 135px 65px 75px 16px;gap:12px;align-items:center;padding:13px 19px;border-bottom:1px solid #f0f2f5;text-decoration:none;color:inherit;font-size:11px}.device-row:last-child{border:0}.device-row:hover{background:#fafbfc}.device-ident{display:flex;align-items:center;gap:10px}.device-icon{display:grid;place-items:center;background:#eef2f5;color:#697686;width:34px;height:34px;border-radius:8px}.device-ident strong,.device-ident span{display:block}.device-ident strong{font-size:12px}.device-ident span{font-family:JetBrains Mono;color:#9099a4;font-size:9px;margin-top:3px}.status{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:600;white-space:nowrap}.status i{width:7px;height:7px;border-radius:50%;background:#8c96a2}.status.healthy{color:#138261}.status.healthy i{background:#1db88b;box-shadow:0 0 0 3px #e0f6ef}.status.service_inactive{color:#b27019}.status.service_inactive i{background:#e6a23c;box-shadow:0 0 0 3px #fcf0d9}.status.unreachable,.status.auth_failed{color:#bb4a51}.status.unreachable i,.status.auth_failed i{background:#da5962;box-shadow:0 0 0 3px #fbe7e9}.latency,.seen{color:#7c8795}.device-row>svg{color:#a0a9b5}.poles{margin-top:16px}.sync{font-size:10px;color:#929ca8}.pole-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0}.pole-card{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:17px 20px;border-right:1px solid #edf0f3}.pole-card:last-child{border:0}.pole-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#e3f7f1;color:#15946f}.pole-icon.off{background:#f4ece5;color:#a66b38}.pole-card strong,.pole-card span{display:block}.pole-card strong{font-size:11px}.pole-card div>span{font-family:JetBrains Mono;font-size:9px;color:#9aa2ad;margin-top:3px}.pole-card .online{font-size:9px;color:#17916e;background:#e7f7f2;padding:4px 7px;border-radius:9px}.pole-card .online.off{color:#a1612e;background:#faf0e7}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;font-size:11px;color:#85909d}.search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #dfe4ea;border-radius:8px;padding:9px 11px;width:310px}.search input{border:0;outline:0;width:100%;font-size:11px}.table-panel{overflow:hidden}table{border-collapse:collapse;width:100%;font-size:11px}th{text-align:left;background:#f9fafb;color:#8b95a1;text-transform:uppercase;letter-spacing:.06em;font-size:9px;padding:11px 16px;border-bottom:1px solid var(--line)}td{padding:14px 16px;border-bottom:1px solid #edf0f3;color:#606b78}tr:last-child td{border:0}td a{text-decoration:none;color:inherit}td strong,td small{display:block}td strong{color:#242b35;font-size:11px}td small{color:#939ca7;font-size:9px;margin-top:3px}code{font-family:JetBrains Mono;font-size:9px;background:#f3f5f7;padding:4px 6px;border-radius:4px}.back{display:inline-flex;gap:6px;align-items:center;color:#687482;text-decoration:none;font-size:11px;margin-bottom:16px}.detail-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.detail-title h2{font-size:23px;margin:0}.detail-title p{font-family:JetBrains Mono;font-size:10px;color:#87919e;margin:5px 0 0}.detail-grid{display:grid;grid-template-columns:275px 1fr;gap:16px}.facts{padding:18px}.facts h3{font-size:13px;margin:0 0 18px}.facts dl{margin:0}.facts dl div{padding:11px 0;border-bottom:1px solid #edf0f3}.facts dt{display:flex;align-items:center;gap:6px;color:#8b95a1;font-size:9px;text-transform:uppercase;letter-spacing:.05em}.facts dd{font-size:11px;margin:6px 0 0;font-weight:600}.fingerprint{margin-top:18px;background:#f6f8fa;border-radius:7px;padding:11px}.fingerprint span{display:block;font-size:9px;color:#8b95a1;margin-bottom:7px}.fingerprint code{display:block;overflow:hidden;text-overflow:ellipsis}.console{min-height:500px;overflow:hidden}.tabs{height:48px;display:flex;align-items:center;border-bottom:1px solid #e4e8ed;padding:0 14px;gap:4px}.tabs button{display:flex;align-items:center;gap:7px;border:0;background:none;color:#7f8996;font-size:11px;font-weight:600;height:48px;padding:0 12px;border-bottom:2px solid transparent}.tabs button.active{color:#187d64;border-color:#20b88c}.tabs>span{margin-left:auto;color:#4ba88c;background:#e9f7f2;border-radius:10px;padding:4px 8px;font-size:9px}.log-view,.terminal{background:#080b10;color:#b9c5d1;height:451px}.log-head{height:42px;border-bottom:1px solid #1e2630;display:flex;align-items:center;gap:10px;padding:0 17px;font-size:11px}.log-head small{color:#586575;margin-left:auto}.log-view pre{margin:0;padding:15px 18px;display:flex;flex-direction:column;font:10px/2 JetBrains Mono;overflow:auto}.log-view pre span{display:block;white-space:pre-wrap}.log-view pre i{color:#394653;font-style:normal;display:inline-block;width:31px;-webkit-user-select:none;user-select:none}.terminal{padding:10px}.empty{padding:34px;text-align:center;color:#8d97a3;font-size:11px}@media(max-width:1200px){.metrics{grid-template-columns:repeat(2,1fr)}.grid-main,.pole-grid{grid-template-columns:1fr}.pole-card{border-right:0;border-bottom:1px solid #edf0f3}}.admin-intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.admin-intro>div:first-child{display:flex;align-items:center;gap:10px}.admin-intro h2{font-size:17px;margin:0}.admin-intro p{font-size:11px;color:#88939f;margin:3px 0 0}.success-banner{background:#e8f7f1;border:1px solid #bce8d8;color:#18785d;border-radius:8px;padding:10px 13px;margin-bottom:12px;font-size:11px}.admin-error{margin:0 0 12px}.match-builder{overflow:hidden}.match-controls{display:grid;grid-template-columns:1fr auto 1fr auto;gap:14px;align-items:end;padding:20px}.match-controls label{display:flex;flex-direction:column;gap:6px}.match-controls label span{font-size:10px;color:#6f7b88;font-weight:600}.match-controls select{border:1px solid #dce2e8;border-radius:7px;background:#fbfcfd;padding:10px;font-size:11px;min-width:0}.match-controls>svg{margin-bottom:10px;color:#24a984}.match-controls button{border:0;background:#168665;color:#fff;border-radius:8px;padding:10px 16px;font-size:11px;font-weight:700}.match-controls button:disabled{opacity:.45}.matching-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.inventory-list{max-height:310px;overflow:auto}.inventory-item{padding:13px 18px;border-bottom:1px solid #edf0f3}.inventory-item strong,.inventory-item span{display:block}.inventory-item strong{font-size:11px}.inventory-item span{font:9px JetBrains Mono;color:#8d97a3;margin-top:4px}.matched-panel{margin-top:16px;overflow:hidden}.source-pill{display:inline-block;border-radius:10px;padding:4px 7px;font-size:8px;font-weight:700;background:#e5f6f1;color:#168665}.source-pill.manual{background:#eaf0fa;color:#426caa}.icon-button{border:0;background:#f6f7f9;color:#8d5b61;border-radius:6px;padding:6px;display:grid;place-items:center}.icon-button:hover{background:#fbeaec;color:#bd4851}@media(max-width:1200px){.match-controls{grid-template-columns:1fr}.match-controls>svg{display:none}.matching-grid{grid-template-columns:1fr}}body.console-open{overflow:hidden}.device-detail{padding:20px 24px 30px}.device-detail .back{margin-bottom:12px}.device-detail .detail-title{margin-bottom:14px}.detail-grid{display:flex;flex-direction:column;gap:14px}.device-detail .facts{padding:14px 16px}.device-detail .facts h3{margin:0 0 11px}.device-detail .facts dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.device-detail .facts dl div{min-width:0;padding:10px 11px;border:1px solid #e7ebef;border-radius:8px;background:#fafbfc}.device-detail .facts dd{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.console{width:100%;min-height:590px}.log-view,.terminal,.webui-view,.files-view,.camera-view{width:100%;height:clamp(540px,calc(100vh - 300px),760px);min-height:540px}.terminal{padding:8px}.terminal .xterm,.terminal .xterm-screen{height:100%}.log-view{display:flex;flex-direction:column;position:relative}.log-controls{min-height:84px;display:grid;grid-template-columns:minmax(190px,240px) minmax(190px,240px) auto 1fr;align-items:end;gap:12px;padding:9px 16px}.log-range-field{display:grid!important;grid-template-rows:16px 30px 14px;gap:3px!important}.log-range-field>span{color:#8d99a8;font-weight:700}.log-range-field em{color:#566373;font-style:normal;font-weight:400}.log-range-field small{color:#566373;font-weight:400;line-height:14px;margin-left:0}.log-actions{display:flex;gap:8px;padding-bottom:17px}.log-actions button{height:30px;white-space:nowrap}.log-actions button:disabled{opacity:.4;cursor:not-allowed}.log-mode{justify-self:end;align-self:center;margin-left:0!important}.log-view pre{flex:1;height:auto;min-height:0}.log-view pre i{width:48px}.tabs .fullscreen-button{margin-left:auto;color:#536170}.console.fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100;width:100vw;height:100dvh;min-height:0;border:0;border-radius:0;box-shadow:none}.console.fullscreen .tabs{background:#fff}.console.fullscreen .log-view,.console.fullscreen .terminal,.console.fullscreen .webui-view,.console.fullscreen .files-view,.console.fullscreen .camera-view{height:calc(100dvh - 48px);min-height:0}.files-view{position:relative;display:flex;flex-direction:column;overflow:hidden;background:#fff;color:#25303b}.files-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;padding:9px 13px;border-bottom:1px solid #e4e8ed;background:#fff}.file-navigation,.file-actions{display:flex;align-items:center;gap:7px;min-width:0}.file-navigation nav{display:flex;align-items:center;min-width:0;overflow-x:auto;white-space:nowrap}.file-navigation nav button{position:relative;padding:7px 10px 7px 16px;border:0;background:none;color:#536170;font-size:11px;font-weight:600;cursor:pointer}.file-navigation nav button:not(:first-child):before{content:"›";position:absolute;left:3px;color:#a3acb6}.file-navigation nav button:disabled{color:#202a35;cursor:default}.file-navigation>button,.file-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:34px;border:1px solid #d9e0e5;border-radius:7px;background:#fff;color:#536170;padding:0 10px;font-size:10px;font-weight:700;cursor:pointer;white-space:nowrap}.file-navigation>button{width:34px;padding:0}.file-navigation button:disabled,.file-actions button:disabled{opacity:.45;cursor:not-allowed}.file-actions .upload-button{border-color:#168665;background:#168665;color:#fff}.files-error{padding:9px 14px;border-bottom:1px solid #efb4b4;background:#fff0f1;color:#a53030;font-size:11px}.file-table{position:relative;flex:1;min-height:0;overflow:auto;background:#fff}.file-table.loading{pointer-events:none}.file-row{display:grid;grid-template-columns:minmax(280px,1fr) 105px 170px 28px;align-items:center;gap:12px;width:100%;min-height:44px;padding:0 16px;border:0;border-bottom:1px solid #edf0f3;background:#fff;color:#66717e;text-align:left;font-size:10px}button.file-row{cursor:pointer}.file-row:not(.file-head):hover{background:#f7faf9}.file-head{position:sticky;top:0;z-index:1;min-height:35px;background:#f8fafb;color:#89939f;text-transform:uppercase;letter-spacing:.06em;font-size:9px;font-weight:700}.file-name{display:flex;align-items:center;gap:9px;min-width:0;color:#596674}.file-name svg{flex:0 0 auto;color:#168665}.file-name strong{overflow:hidden;color:#25303b;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.file-name small{color:#89939f;background:#edf1f4;border-radius:8px;padding:2px 6px;font-size:8px}.file-row>span:last-child{display:flex;justify-content:flex-end;color:#7b8794}.files-message{display:flex;align-items:center;justify-content:center;gap:9px;min-height:180px;color:#7c8794;font-size:11px}.upload-queue{position:absolute;right:16px;bottom:16px;z-index:4;width:330px;max-height:245px;overflow:auto;border:1px solid #dce3e8;border-radius:10px;background:#fff;box-shadow:0 12px 36px #24303d2b}.upload-queue-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #edf0f3;background:#fff}.upload-queue-head strong{font-size:11px}.upload-queue-head button{border:0;background:none;color:#6f7c89;font-size:9px;cursor:pointer}.upload-item{display:grid;grid-template-columns:auto 1fr;gap:9px;padding:10px 12px;border-bottom:1px solid #f0f2f4}.upload-item:last-child{border:0}.upload-item>svg{margin-top:2px;color:#168665}.upload-item div{display:grid;gap:3px;min-width:0}.upload-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.upload-item span{color:#7e8995;font-size:9px}.upload-item i{height:3px;overflow:hidden;border-radius:3px;background:#edf1f3}.upload-item i b{display:block;height:100%;background:#168665;transition:width .15s}.upload-item i b.failed{background:#c84f58}.upload-item i b.skipped{background:#9aa3ad}.drop-overlay{position:absolute;top:10px;right:10px;bottom:10px;left:10px;z-index:6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:2px dashed #1ca67d;border-radius:10px;background:#eaf8f3f2;color:#16775e;pointer-events:none}.drop-overlay strong{font-size:15px}.drop-overlay span{color:#59746b;font-size:10px}.camera-view{position:relative;display:flex;flex-direction:column;overflow:hidden;background:#eef2f4;color:#25303b}.camera-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;padding:9px 13px;border-bottom:1px solid #dce2e7;background:#fff}.camera-toolbar>div:first-child{display:grid;gap:2px}.camera-toolbar strong{font-size:11px}.camera-toolbar span{color:#7b8692;font:9px JetBrains Mono,monospace}.camera-actions{display:flex;align-items:center;gap:7px}.camera-actions button,.camera-form-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:34px;padding:0 10px;border:1px solid #d9e0e5;border-radius:7px;background:#fff;color:#536170;font-size:10px;font-weight:700;cursor:pointer}.camera-actions button:disabled,.camera-form-actions button:disabled{opacity:.5;cursor:not-allowed}.camera-actions .camera-mode{padding:5px 8px;border-radius:10px;background:#e8f7f1;color:#14785e;font-family:DM Sans,sans-serif;font-weight:700}.camera-error{padding:9px 14px;border-bottom:1px solid #efb4b4;background:#fff0f1;color:#a53030;font-size:11px}.camera-message{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#7a8693;font-size:11px}.camera-message strong{color:#34404c;font-size:13px}.camera-message span{color:#89949f}.camera-setup{align-self:center;width:min(680px,calc(100% - 40px));margin:auto;padding:24px;border:1px solid #dfe5e9;border-radius:12px;background:#fff;box-shadow:0 12px 30px #1c293414}.camera-setup-title{display:flex;align-items:center;gap:11px;margin-bottom:20px;color:#168665}.camera-setup-title div{display:grid;gap:3px}.camera-setup-title strong{color:#27323e;font-size:14px}.camera-setup-title span{color:#7c8793;font-size:10px}.camera-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.camera-form-grid label{display:grid;gap:5px}.camera-form-grid label>span{color:#697582;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.camera-form-grid input{height:36px;padding:0 10px;border:1px solid #dbe1e6;border-radius:7px;outline:0;color:#2d3742;font-size:11px}.camera-form-grid input:focus{border-color:#22a781;box-shadow:0 0 0 3px #daf3eb}.camera-form-grid .stream-path{grid-column:1/-1}.camera-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.camera-form-actions .save-camera{border-color:#168665;background:#168665;color:#fff}.camera-form-actions .remove-camera{margin-right:auto;border-color:#efc9cc;color:#b1434b}.camera-player-layout{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:12px;flex:1;min-height:0;padding:12px}.camera-screen{position:relative;display:grid;place-items:center;min-width:0;min-height:0;overflow:hidden;border-radius:9px;background:#080b10}.camera-screen video{width:100%;height:100%;object-fit:contain;background:#080b10}.camera-video-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:9px;background:#080b10d9;color:#dce5ec;font-size:11px}.ptz-panel{display:flex;flex-direction:column;align-items:stretch;gap:18px;padding:16px;border:1px solid #dce2e7;border-radius:9px;background:#fff}.ptz-panel>div:first-child{display:grid;gap:3px}.ptz-panel>div:first-child strong{font-size:12px}.ptz-panel>div:first-child span,.ptz-panel small{color:#8a949f;font-size:9px}.ptz-pad{display:grid!important;grid-template-columns:repeat(3,42px);justify-content:center;gap:7px}.ptz-pad button,.zoom-controls button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d7dee4;border-radius:8px;background:#f8fafb;color:#3f4d59;cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none}.ptz-pad button{width:42px;height:42px}.ptz-pad button:not(:disabled):active,.zoom-controls button:not(:disabled):active{border-color:#168665;background:#dff4ed;color:#127359}.ptz-pad button:disabled,.zoom-controls button:disabled{opacity:.38;cursor:not-allowed}.ptz-pad .ptz-center{background:#edf4f1;color:#168665}.zoom-controls{display:grid;gap:7px}.zoom-controls button{gap:7px;height:37px;font-size:10px;font-weight:700}.webui-view{display:flex;flex-direction:column;background:#eef2f4}.webui-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:68px;padding:9px 13px;border-bottom:1px solid #dce2e7;background:#fff}.webui-targets{display:flex;align-items:stretch;gap:7px;min-width:0;overflow-x:auto}.webui-targets button{display:grid;gap:2px;min-width:105px;padding:7px 10px;border:1px solid #dfe5e9;border-radius:7px;background:#f8fafb;color:#536170;text-align:left;cursor:pointer}.webui-targets button strong{font-size:11px;color:#25303b}.webui-targets button span{font:9px JetBrains Mono,monospace}.webui-targets button.active{border-color:#168665;background:#e8f7f1}.webui-targets button.active strong{color:#117458}.webui-actions{display:flex;gap:7px;flex:0 0 auto}.webui-actions button{display:inline-flex;align-items:center;gap:6px;border:1px solid #d9e0e5;border-radius:7px;background:#fff;color:#4e5c68;padding:8px 10px;font-size:10px;font-weight:700;cursor:pointer}.webui-actions button:disabled{opacity:.45;cursor:not-allowed}.webui-view iframe{flex:1;width:100%;min-height:0;border:0;background:#fff}.webui-message{flex:1;display:flex;align-items:center;justify-content:center;gap:10px;color:#657181;font-size:12px}.webui-message.error{color:#a53030}.device-row.healthy-row,.device-row.healthy-row:hover{background:#e4f7ef;border-color:#d5eee5}.device-row.healthy-row .device-icon{background:#d4f1e6;color:#118161}.device-row.available-row,.device-row.available-row:hover{background:#eff8ee;border-color:#e1eddf}@media(max-width:1200px){.device-detail .facts dl{grid-template-columns:repeat(2,minmax(0,1fr))}.log-view,.terminal,.webui-view,.files-view,.camera-view{height:560px}.log-controls{grid-template-columns:minmax(175px,1fr) minmax(175px,1fr) auto}.log-mode{display:none}.webui-toolbar{align-items:flex-start;flex-direction:column}.webui-actions{align-self:flex-end}.camera-player-layout{grid-template-columns:minmax(0,1fr) 175px}.ptz-pad{grid-template-columns:repeat(3,38px)}.ptz-pad button{width:38px;height:38px}}@media(max-width:760px){.device-detail .facts dl{grid-template-columns:1fr}.log-controls{grid-template-columns:1fr 1fr}.log-actions{padding-bottom:0}.webui-actions{align-self:stretch}.webui-actions button{flex:1;justify-content:center}}@media(max-width:760px){body{min-width:0;padding:58px 0 calc(68px + env(safe-area-inset-bottom));overflow-x:hidden}.shell{display:block;min-height:calc(100vh - 126px)}.sidebar{inset:0 0 auto;width:100%;height:58px;padding:8px 12px;z-index:1000;flex-direction:row;align-items:center;box-shadow:0 2px 12px #07101a24}.brand{width:auto;min-width:0;padding:0;border:0;gap:9px}.brand-mark{width:34px;height:34px;border-radius:9px}.brand strong{font-size:14px}.brand span{font-size:9px}.sidebar nav{position:fixed;z-index:1000;inset:auto 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:3px;height:calc(64px + env(safe-area-inset-bottom));padding:5px 8px env(safe-area-inset-bottom);border-top:1px solid #252e39;background:#0c1118;box-shadow:0 -4px 18px #07101a2b}.sidebar nav>a{position:relative;min-width:0;height:54px;flex-direction:column;justify-content:center;gap:3px;padding:5px 3px;border-radius:8px;font-size:10px}.sidebar nav a.active{box-shadow:inset 0 2px #27d3a2}.sidebar nav a .nav-count{position:absolute;margin:0 0 24px 32px;min-width:17px;padding:1px 5px;text-align:center;font-size:8px}.maintenance-links{position:fixed;right:10px;bottom:calc(70px + env(safe-area-inset-bottom));z-index:1002;width:min(220px,calc(100vw - 20px));gap:5px;margin:0;padding:8px;border:1px solid #283341;border-radius:11px;background:#111923;box-shadow:0 12px 35px #0008}.maintenance-links .nav-count{position:static!important;margin-left:auto!important}.maintenance-links a{height:44px!important;flex-direction:row!important;justify-content:flex-start!important;padding:9px 11px!important;font-size:12px!important}.sidebar-foot{margin:0 0 0 auto}.profile{display:flex;gap:7px;padding:0;border:0}.profile>svg:first-child{width:25px}.profile>svg:last-child{display:none}.profile strong{max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.profile span{font-size:8px}main{display:block;min-width:0}.topbar{height:65px;padding:0 14px}.topbar h1{font-size:19px}.crumb{font-size:8px}.refresh{width:40px;height:40px;justify-content:center;padding:0}.refresh span{display:none}.demo-banner,.error-banner{align-items:flex-start;margin:12px 12px -2px;padding:9px 11px;font-size:10px}.demo-banner span{line-height:1.4}.content{padding:14px 12px 22px}.panel{border-radius:10px}.panel-head{gap:10px;padding:15px}.panel-head h2{font-size:13px}.panel-head p{line-height:1.35}.sync{flex:0 0 auto;font-size:9px}.toolbar{align-items:stretch;flex-direction:column;gap:9px;margin-bottom:11px}.toolbar>span{text-align:right;font-size:10px}.search{width:100%;height:43px}.toolbar-actions{justify-content:space-between;gap:8px}.toolbar-actions>span{font-size:9px}.version-refresh{min-height:42px}.version-error{margin:0 0 10px}.table-panel .build-version{justify-items:end}.fleet-overview{overflow:visible}.overview-row{position:relative;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:13px 12px}.overview-row .device-ident{min-width:0}.overview-row .device-ident>div:last-child{min-width:0}.overview-row .device-ident strong,.overview-row .device-ident span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overview-row .status{justify-self:end}.overview-row .latency{grid-column:1;padding-left:44px;font-size:9px}.overview-row .seen{grid-column:2;font-size:9px}.overview-row>svg{display:none}.table-panel{overflow:visible;border:0;background:transparent}.table-panel table,.table-panel tbody{display:block}.table-panel thead{display:none}.table-panel tbody{display:grid;gap:9px}.table-panel tr{position:relative;display:block;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 2px 8px #21304008}.table-panel td{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;min-height:38px;padding:9px 13px;border-bottom:1px solid #edf0f3;text-align:right;overflow-wrap:anywhere}.table-panel td:before{content:attr(data-label);flex:0 0 92px;color:#9099a4;font-size:8px;font-weight:700;text-align:left;text-transform:uppercase;letter-spacing:.05em}.table-panel td:first-child{min-height:54px;padding-right:48px}.table-panel td:first-child strong{font-size:13px}.table-panel td:last-child{border:0}.table-panel td.row-action{position:absolute;right:4px;top:8px;width:38px;min-height:38px;padding:0;align-items:center;justify-content:center}.table-panel td.row-action:before{display:none}.table-panel td.row-action a{display:grid;place-items:center;width:38px;height:38px}.table-panel code{max-width:210px;white-space:normal;text-align:right}.metrics{grid-template-columns:1fr 1fr;gap:9px}.metric{padding:14px}.metric strong{font-size:24px}.confirm-dialog{max-height:calc(100dvh - 32px);overflow:auto;padding:22px}.dialog-actions button{min-height:44px;flex:1}.device-detail{padding:13px 10px 20px}.device-detail .back{min-height:36px;margin-bottom:7px}.detail-title{align-items:flex-start;flex-direction:column;gap:11px;margin-bottom:12px}.detail-title>div:first-child{min-width:0;width:100%}.detail-title h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:20px}.detail-title p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-actions{width:100%;align-items:flex-start;flex-wrap:wrap;justify-content:flex-start;gap:9px}.detail-actions>.status{margin-left:auto;padding-top:13px}.detail-actions .gate-control{flex:1 1 100%}.detail-actions .gate-open-button{min-height:42px}.gate-control.compact{justify-items:end}.gate-control.compact .gate-open-button{min-height:38px}.restart-button{min-height:42px;padding:9px 12px}.device-detail .facts{padding:13px}.device-detail .facts h3{margin-bottom:9px}.device-detail .facts dl{grid-template-columns:1fr;gap:7px}.device-detail .facts dl div{padding:9px 10px}.device-detail .facts dd{white-space:normal;overflow-wrap:anywhere}.console{min-height:0;border-radius:10px}.tabs{height:53px;gap:0;padding:0 6px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tabs button{flex:0 0 auto;height:53px;min-width:48px;padding:0 10px;white-space:nowrap}.tabs .fullscreen-button{margin-left:4px}.log-view,.terminal,.webui-view,.files-view,.camera-view{height:max(470px,calc(100dvh - 250px));min-height:470px}.log-controls{grid-template-columns:1fr;gap:8px;min-height:0;padding:11px}.log-range-field{grid-template-rows:15px 38px 13px}.log-controls input{width:100%;min-width:0}.log-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-bottom:0}.log-actions button{justify-content:center;height:40px}.log-view pre{padding:12px 10px;font-size:9px;line-height:1.8}.log-view pre i{width:39px}.console-error{position:static;max-width:none;border-width:0 0 1px;border-radius:0;font-size:9px}.terminal{padding:5px}.files-toolbar{align-items:stretch;flex-direction:column;gap:8px}.file-navigation{width:100%}.file-navigation nav{flex:1}.file-actions{justify-content:flex-end}.file-actions button{min-height:40px}.file-row{grid-template-columns:minmax(0,1fr) 30px;gap:8px;padding:0 11px}.file-row>span:nth-child(2),.file-row>span:nth-child(3){display:none}.file-head{display:none}.file-name strong{font-size:10px}.upload-queue{right:8px;bottom:8px;width:calc(100% - 16px)}.camera-toolbar{align-items:flex-start;flex-direction:column;gap:8px;padding:10px 11px}.camera-toolbar>div:first-child{max-width:100%}.camera-toolbar span{overflow-wrap:anywhere}.camera-actions{width:100%;flex-wrap:wrap}.camera-actions button{min-height:40px;flex:1}.camera-actions .camera-mode{margin-right:auto}.camera-view{overflow:auto}.camera-setup{width:calc(100% - 18px);margin:9px;padding:16px}.camera-form-grid{grid-template-columns:1fr;gap:10px}.camera-form-grid .stream-path{grid-column:auto}.camera-form-grid input{height:42px}.camera-form-actions{flex-wrap:wrap}.camera-form-actions button{min-height:42px;flex:1}.camera-form-actions .remove-camera{flex-basis:100%;margin:0}.camera-player-layout{display:flex;flex-direction:column;flex:none;min-height:0;padding:8px;overflow:visible}.camera-screen{flex:none;width:100%;min-height:210px;aspect-ratio:16/9}.ptz-panel{gap:13px;padding:13px}.ptz-pad{grid-template-columns:repeat(3,46px)}.ptz-pad button{width:46px;height:46px}.zoom-controls{grid-template-columns:1fr 1fr}.zoom-controls button{height:44px}.webui-toolbar{gap:9px;padding:9px}.webui-targets{width:100%}.webui-targets button{min-width:115px;min-height:45px}.webui-actions{width:100%;align-self:stretch}.webui-actions button{min-height:42px;flex:1;justify-content:center}.inline-error{width:100%;max-width:none;margin:0 0 10px}.modal-backdrop{padding:14px}.console.fullscreen{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.console.fullscreen .tabs{height:54px}.console.fullscreen .log-view,.console.fullscreen .terminal,.console.fullscreen .webui-view,.console.fullscreen .files-view,.console.fullscreen .camera-view{height:calc(100dvh - 54px - env(safe-area-inset-top) - env(safe-area-inset-bottom));min-height:0}.admin-intro{align-items:flex-start}.admin-intro h2{font-size:15px}.admin-intro p{line-height:1.45}.match-controls{gap:11px;padding:14px}.match-controls select{min-height:44px;width:100%}.match-controls button{min-height:44px}.matching-grid{gap:10px;margin-top:10px}.inventory-list{max-height:260px}.inventory-item{padding:12px 14px}.inventory-item span{overflow-wrap:anywhere;line-height:1.45}.matched-panel{margin-top:10px;overflow:visible;border:0;background:transparent}.matched-panel .panel-head{border:1px solid var(--line);border-radius:10px;background:#fff;margin-bottom:9px}.matched-panel table,.matched-panel tbody{display:block}.matched-panel thead{display:none}.matched-panel tbody{display:grid;gap:9px}.matched-panel tr{position:relative;display:block;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#fff}.matched-panel td{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;min-height:38px;padding:9px 13px;text-align:right}.matched-panel td:before{content:attr(data-label);flex:0 0 92px;color:#9099a4;font-size:8px;font-weight:700;text-align:left;text-transform:uppercase}.matched-panel td.row-action{position:absolute;right:5px;top:5px;width:42px;padding:0;border:0}.matched-panel td.row-action:before{display:none}.matched-panel .icon-button{width:40px;height:40px}}@media(max-width:420px){.tabs button{padding:0 9px;font-size:0}.tabs button svg{width:19px;height:19px}.tabs .fullscreen-button{font-size:0}}@media(max-width:390px){.brand span,.profile div{display:none}.overview-row .latency{padding-left:0}.metrics{grid-template-columns:1fr}}/**
 * Copyright (c) 2014 The xterm.js authors. All rights reserved.
 * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
 * https://github.com/chjj/term.js
 * @license MIT
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 * Originally forked from (with the author's permission):
 *   Fabrice Bellard's javascript vt100 for jslinux:
 *   http://bellard.org/jslinux/
 *   Copyright (c) 2011 Fabrice Bellard
 *   The original design remains. The terminal itself
 *   has been extended to include xterm CSI codes, among
 *   other features.
 */.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;user-select:text;white-space:pre}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}
