:root{--bg:#DCE0E4;--panel:rgba(247,249,250,.94);--panel-solid:#F7F9FA;--ink:#18212C;--muted:#566271;--line:#C4CBD3;--chip:#E7EBEF;--field:#FFFFFF;--yellow:#D9A900;--blue:#1F5FD6;--green:#1E9A5E;--red:#D63A2F;--orange:#DD7012;--violet:#6C4FE0;--shadow:0 10px 28px rgba(22,34,48,.12);--f-ui:"Barlow","Helvetica Neue",Arial,sans-serif;--f-num:"Barlow Semi Condensed","Arial Narrow","Helvetica Neue",Arial,sans-serif;color-scheme:light;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){--bg:#10161D;--panel:rgba(21,29,38,.93);--panel-solid:#18212B;--ink:#E5EAF0;--muted:#94A1AF;--line:#2D3A47;--chip:#223040;--field:#121A22;--yellow:#F5C518;--blue:#6390F0;--green:#3CC283;--red:#F25C50;--orange:#F2913A;--violet:#9A84F5;--shadow:0 10px 28px rgba(0,0,0,.35);color-scheme:dark}}:root[data-theme=dark]{--bg:#10161D;--panel:rgba(21,29,38,.93);--panel-solid:#18212B;--ink:#E5EAF0;--muted:#94A1AF;--line:#2D3A47;--chip:#223040;--field:#121A22;--yellow:#F5C518;--blue:#6390F0;--green:#3CC283;--red:#F25C50;--orange:#F2913A;--violet:#9A84F5;--shadow:0 10px 28px rgba(0,0,0,.35);color-scheme:dark}*,*:before,*:after{box-sizing:border-box}html{height:100%;scroll-padding-top:env(safe-area-inset-top,0px)}body{height:100%;margin:0;overflow:hidden;background:var(--bg);color:var(--ink);font-family:var(--f-ui);font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--blue);outline-offset:2px}[hidden]{display:none!important}#app{position:relative;height:100%;overflow:hidden}#stage{position:absolute;top:0;right:0;bottom:0;left:0}#stage canvas{display:block;width:100%;height:100%;touch-action:none}#labels{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden}.fail{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;text-align:center;color:var(--muted);font-size:16px}.panel{background:var(--panel);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}.btn{border:1px solid var(--line);background:var(--panel-solid);border-radius:7px;padding:7px 11px;cursor:pointer;font-weight:600;white-space:nowrap;line-height:1.1}.btn:hover{border-color:var(--ink)}.btn.primary{background:var(--ink);color:var(--bg);border-color:var(--ink)}.btn.accent{background:var(--yellow);color:#18212c;border-color:var(--yellow)}.btn.danger{color:var(--red)}.btn:disabled{opacity:.45;cursor:default}.ib{border:0;background:transparent;width:34px;height:34px;border-radius:7px;cursor:pointer;display:inline-grid;place-items:center;color:var(--ink);flex:none}.ib:hover{background:var(--chip)}.ib:disabled{opacity:.35;cursor:default;background:transparent}.ib svg,.tile svg,.dev svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.mark{flex:none;width:32px;height:32px;border-radius:7px;overflow:hidden;display:block}.topbar{position:absolute;top:10px;left:10px;right:10px;display:flex;gap:8px;align-items:center;z-index:8;pointer-events:none}.topbar>*{pointer-events:auto}.brand{display:flex;align-items:center;gap:10px;padding:6px 12px 6px 7px;min-width:0}.brand .nm{display:flex;flex-direction:column;min-width:0}.brand small{font-size:11.5px;color:var(--muted);line-height:1.1}.brand b{font:700 18px/1.15 var(--f-num);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seg{display:flex;padding:3px;gap:2px}.seg button{border:0;background:transparent;border-radius:7px;padding:7px 13px;cursor:pointer;font:600 15px/1 var(--f-num)}.seg button[aria-pressed=true]{background:var(--ink);color:var(--bg)}.ph{margin:0 0 8px;font:600 14px/1.2 var(--f-num);color:var(--muted);display:flex;justify-content:space-between;align-items:baseline;gap:8px}.ph span{font:500 12px var(--f-ui)}.sub{margin:0 0 10px;color:var(--muted);font-size:12.5px;line-height:1.35}.fg{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-bottom:8px}.fg.two{grid-template-columns:1fr 1fr}.fg.one{grid-template-columns:1fr}.f{display:flex;flex-direction:column;gap:3px;min-width:0}.f label,.f .lab{font-size:11.5px;color:var(--muted)}.f input,.f select,.f textarea{width:100%;border:1px solid var(--line);border-radius:6px;background:var(--field);padding:6px 7px;font:500 14px var(--f-num);min-width:0}.f input:disabled{opacity:.6}.chk{display:flex;align-items:center;gap:8px;font-size:13.5px;margin:4px 0 8px;cursor:pointer}.chk input{width:16px;height:16px;accent-color:var(--blue)}.row{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.row .btn{flex:1}.row.end{justify-content:flex-end}.row.end .btn{flex:none}.sec{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}.kind{font:600 12px/1 var(--f-ui);padding:4px 8px;border-radius:4px;background:color-mix(in srgb,var(--k) 16%,transparent);color:var(--k)}.ptitle{display:flex;align-items:center;justify-content:space-between;gap:8px}.ptitle h3,.h3{margin:8px 0 2px;font:700 20px/1.15 var(--f-num)}.kv{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;margin:0}.kv div{min-width:0}.kv dt{font-size:12px;color:var(--muted)}.kv dd{margin:1px 0 0;font:600 16px/1.2 var(--f-num);font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis}.kv .wide{grid-column:1/-1}.st{font-weight:600}.st.alarm{color:var(--red)}.st.warn{color:var(--orange)}.st.ok{color:var(--green)}.st.off,.st.offline{color:var(--muted)}.spark{margin-top:12px}.spark .t{font-size:12px;color:var(--muted)}.spark svg{display:block;width:100%;height:52px;margin-top:4px;background:var(--chip);border-radius:6px}.spark .rng{display:flex;justify-content:space-between;font:500 11.5px var(--f-num);color:var(--muted);margin-top:2px}.tip{font-size:13px;line-height:1.4;padding:8px 10px;border-radius:7px;background:color-mix(in srgb,var(--yellow) 16%,transparent);margin-top:10px}.tg{display:flex;align-items:center;gap:10px;padding:7px 6px;border-radius:6px;cursor:pointer;font-size:14px;-webkit-user-select:none;user-select:none}.tg:hover{background:var(--chip)}.tg input{-moz-appearance:none;appearance:none;-webkit-appearance:none;margin:0;width:30px;height:18px;border-radius:9px;background:var(--line);position:relative;flex:none;cursor:pointer}.tg input:after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #00000040;transition:transform .15s}.tg input:checked{background:var(--sw,var(--blue))}.tg input:checked:after{transform:translate(12px)}.tg input:disabled{opacity:.4}.tg span small{display:block;color:var(--muted);font-size:12px;margin-top:1px}.events{display:flex;flex-direction:column;overflow:hidden}.events ul{list-style:none;margin:0;padding:0 8px 8px;overflow-y:auto;flex:1}.ev{display:grid;grid-template-columns:auto 1fr;column-gap:8px;padding:7px 9px;border-radius:6px;border-left:3px solid var(--lvc);margin-bottom:2px}.ev[tabindex]{cursor:pointer}.ev[tabindex]:hover{background:var(--chip)}.ev .lv{font:600 12px var(--f-ui);color:var(--lvc)}.ev time{font:500 12px var(--f-num);color:var(--muted);text-align:right}.ev p{grid-column:1/-1;margin:2px 0 0;line-height:1.35;font-size:13.5px}.lv-alarm{--lvc:var(--red)}.lv-warn{--lvc:var(--orange)}.lv-info{--lvc:var(--blue)}.lv-ok{--lvc:var(--green)}.badge{display:inline-block;min-width:18px;padding:2px 6px;border-radius:9px;background:var(--chip);color:var(--muted);font:600 11px var(--f-ui);text-align:center}.badge.on{background:var(--green);color:#fff}.badge.red{background:var(--red);color:#fff}.lbl{position:absolute;left:0;top:0;display:none;white-space:nowrap;will-change:transform}.zl{font:700 13px/1 var(--f-num);color:var(--ink);background:var(--panel-solid);padding:5px 8px;border-left:3px solid var(--zc);border-radius:2px;box-shadow:0 2px 8px #0000001a}.zl small{display:block;font:600 11px/1.2 var(--f-ui);color:var(--red);margin-top:3px}.sl{font:600 12.5px/1 var(--f-num);color:var(--ink);background:var(--panel-solid);border:1px solid var(--line);border-radius:999px;padding:4px 9px 4px 7px;display:flex;gap:6px;align-items:center;margin-top:-8px}.sl i{width:7px;height:7px;border-radius:50%;background:var(--green);flex:none}.sl.warn i{background:var(--orange)}.sl.alarm{border-color:var(--red);color:var(--red)}.sl.alarm i{background:var(--red)}.sl.offline{opacity:.65}.sl.offline i{background:var(--muted)}.el{font:600 12px/1 var(--f-num);color:var(--muted);background:var(--panel);padding:3px 6px;border-radius:3px;margin-top:-6px}.el b{color:var(--ink);margin-right:5px}.el.alarm{color:var(--red)}.hl{font:600 13px/1 var(--f-ui);background:var(--ink);color:var(--bg);padding:6px 9px;border-radius:5px;margin-top:-10px}.hl small{font-weight:500;opacity:.75;margin-left:6px}.nl{display:flex;align-items:center;gap:5px;font:600 12px/1 var(--f-ui);color:var(--ink);background:var(--panel-solid);border:1.5px solid var(--nc,#2F6FED);border-radius:10px;padding:3px 9px 3px 3px;margin-top:-12px;box-shadow:0 2px 8px #1018282e}.nl:after{content:"";position:absolute;left:50%;bottom:-5px;width:8px;height:8px;background:var(--panel-solid);border-right:1.5px solid var(--nc,#2F6FED);border-bottom:1.5px solid var(--nc,#2F6FED);transform:translate(-50%) rotate(45deg)}.nl .nk{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--nc,#2F6FED);color:#fff;flex:none}.nl .nk svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.nl .nn{max-width:140px;overflow:hidden;text-overflow:ellipsis}.nl.stale{opacity:.55}.nl.alarm{border-color:var(--red);color:var(--red)}.nl.alarm:after{border-color:var(--red)}.nl.alarm .nk{background:var(--red)}.dim{font:600 12px/1 var(--f-num);background:var(--yellow);color:#18212c;padding:3px 6px;border-radius:3px}#toast{position:fixed;left:50%;bottom:66px;transform:translate(-50%) translateY(10px);z-index:40;padding:9px 14px;border-radius:8px;background:var(--ink);color:var(--bg);font-size:13.5px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:min(560px,calc(100% - 24px));text-align:center}#toast.on{opacity:1;transform:translate(-50%)}#toast.bad{background:var(--red);color:#fff}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:#0a101673;display:none;align-items:center;justify-content:center;padding:16px}.modal.open{display:flex}.dlg{width:min(560px,100%);max-height:calc(100% - 32px);overflow-y:auto;padding:18px 20px}.dlg.wide{width:min(860px,100%)}.dlg h2{margin:0 0 4px;font:700 22px/1.15 var(--f-num)}.dlg p.d{margin:0 0 14px;color:var(--muted);line-height:1.45}.flist{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:6px}.flist li{display:flex;align-items:center;gap:10px;padding:9px 10px;border:1px solid var(--line);border-radius:8px}.flist li div{flex:1;min-width:0}.flist li b{display:block;font:600 15px var(--f-num)}.flist li span{font-size:12px;color:var(--muted)}.flist li.cur{border-color:var(--ink)}.empty{color:var(--muted);line-height:1.45;margin:2px 0}.empty b{display:block;color:var(--ink);font:600 16px/1.2 var(--f-num);margin-bottom:4px}.bottombar{position:absolute;left:50%;bottom:10px;transform:translate(-50%);display:flex;gap:2px;padding:4px;z-index:7;max-width:calc(100% - 20px);overflow-x:auto;scrollbar-width:none;align-items:center}.bottombar::-webkit-scrollbar{display:none}.bottombar button{border:0;background:transparent;padding:8px 12px;border-radius:7px;cursor:pointer;white-space:nowrap;font:600 14.5px/1 var(--f-num)}.bottombar button:hover{background:var(--chip)}.bottombar button[aria-pressed=true]{background:var(--ink);color:var(--bg)}.bottombar .sep{width:1px;height:22px;background:var(--line);margin:0 4px;flex:none}.bottombar .lab{font:500 12px var(--f-ui);color:var(--muted);padding:0 4px 0 8px;white-space:nowrap}.mob{display:none}.viewctl{position:absolute;right:calc(var(--rightw,330px) + 20px);bottom:66px;z-index:5;display:flex;flex-direction:column;gap:2px;padding:4px}.viewctl .sep{height:1px;background:var(--line);margin:2px 4px}.ptog{position:absolute;z-index:7;display:none;align-items:center;gap:6px;border:1px solid var(--line);background:var(--panel);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:var(--ink);cursor:pointer;box-shadow:var(--shadow);padding:0;font:600 13px var(--f-num)}.ptog svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}.ptog:hover{background:var(--panel-solid);border-color:var(--ink)}.ptog:not(.off){width:20px;height:44px;justify-content:center}.ptog.pt-l:not(.off){border-radius:0 8px 8px 0;border-left:0}.ptog.pt-r:not(.off){border-radius:8px 0 0 8px;border-right:0}.ptog:not(.off) .pti,.ptog:not(.off) .ptl,.ptog:not(.off) .ptb,.ptog:not(.off) .chv:last-of-type{display:none}.ptog.off{top:50%;transform:translateY(-50%);flex-direction:column;width:38px;padding:10px 0;border-radius:10px}.ptog.off.pt-l{left:10px}.ptog.off.pt-r{right:10px}.ptog.off .chv:first-of-type{display:none}.ptog.off .pti{display:flex;color:var(--muted)}.ptog.off .pti svg{width:20px;height:20px;stroke-width:1.7}.ptog.off .ptl{writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap;letter-spacing:.02em}.ptog.off.pt-r .ptl{transform:none}.ptog .ptb{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--red);color:#fff;font:700 11px/18px var(--f-num);text-align:center}@media (min-width:861px){.ptog{display:flex}.left,.right{transition:transform .22s ease,opacity .22s ease,visibility 0s linear 0s}#app.hide-left .left{transform:translate(calc(-100% - 16px));opacity:0;visibility:hidden;pointer-events:none;transition:transform .22s ease,opacity .22s ease,visibility 0s linear .22s}#app.hide-right .right{transform:translate(calc(100% + 16px));opacity:0;visibility:hidden;pointer-events:none;transition:transform .22s ease,opacity .22s ease,visibility 0s linear .22s}#app.hide-right .viewctl{right:58px}}@media (prefers-reduced-motion:reduce){.left,.right,#app.hide-left .left,#app.hide-right .right{transition:none}}@media (max-width:860px){.viewctl{right:6px;bottom:60px}.topbar{top:6px;left:6px;right:6px;flex-wrap:wrap;gap:6px}.brand small{display:none}.bottombar{left:6px;right:6px;transform:none;max-width:none;bottom:6px}.mob{display:inline-block}#toast{bottom:60px}}@media (prefers-reduced-motion: reduce){#toast{transition:none}.tg input:after{transition:none}}.authgate{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#0a10169e;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:16px}.authgate .dlg{max-width:440px;width:100%;padding:20px 22px}.authgate a.btn{text-decoration:none;display:inline-block}.fovsvg{display:block;max-width:100%;height:auto}.fovsvg .rim{fill:var(--chip);stroke:var(--line);stroke-width:1}.fovsvg line{stroke:var(--muted);stroke-width:1.2}.fovsvg .w{fill:#0f9d8a52;stroke:#0f9d8a;stroke-width:1.4;stroke-linejoin:round}.fovsvg .ax{stroke:#0f9d8a;stroke-width:1.6;stroke-dasharray:3 2}.fovsvg .dot{fill:#0f9d8a;stroke:var(--panel-solid);stroke-width:1.5}.fovsvg text{font:700 8px var(--f-ui);fill:var(--muted);text-anchor:middle}.dlg.camdlg{width:min(980px,100%);padding:14px 16px 16px}.camhd{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:10px}.camhd .d{margin:2px 0 0}.camview{position:relative;aspect-ratio:16/9;background:#05080b;border-radius:10px;overflow:hidden;display:flex;align-items:center;justify-content:center}.camview:fullscreen{border-radius:0}.cammedia{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center}.cammedia video,.cammedia img,.cammedia canvas{width:100%;height:100%;object-fit:contain;display:block}.cammedia iframe{width:100%;height:100%;border:0;background:#fff}.camst{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:10px;max-width:80%;text-align:center;color:#c9d3dd;font:500 14px/1.45 var(--f-ui)}.camview[data-state=playing] .camst{display:none}.camview[data-state=error] .camst{color:#fca5a5}.camview[data-state=error] .spin{display:none}.camview[data-state=error] .camst:before{content:"";width:34px;height:34px;border-radius:50%;border:2px solid #F87171;background:linear-gradient(45deg,transparent 46%,#F87171 46% 54%,transparent 54%)}.spin{width:30px;height:30px;border-radius:50%;border:3px solid rgba(255,255,255,.18);border-top-color:#2dd4bf;animation:camspin .9s linear infinite}@keyframes camspin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spin{animation-duration:2.5s}}.camview .live{position:absolute;z-index:2;top:10px;left:10px;display:none;align-items:center;gap:6px;padding:3px 8px 3px 7px;border-radius:6px;background:#0000008c;color:#fff;font:700 11px var(--f-ui);letter-spacing:.08em}.camview .live:before{content:"";width:8px;height:8px;border-radius:50%;background:#ef4444}.camview[data-state=playing] .live{display:inline-flex}.camfoot{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}.camfoot .row{margin:0}.camkind{color:var(--muted);font:500 13px var(--f-ui)}.camwarn{margin:10px 0 0;padding:8px 10px 8px 26px;border-radius:8px;background:#f59e0b1f;color:var(--ink);font:13px/1.45 var(--f-ui)}.camdiag{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 0}.camdiag div{background:var(--chip);border-radius:8px;padding:7px 9px;min-width:0}.camdiag dt{color:var(--muted);font:600 11px var(--f-ui);text-transform:uppercase;letter-spacing:.04em}.camdiag dd{margin:2px 0 0;font:600 13px var(--f-ui);overflow-wrap:anywhere}@media (max-width:640px){.camdiag{grid-template-columns:1fr 1fr}}.tour-block{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:transparent}.tour-block.dim{background:#0a10188c}.tour-spot{position:fixed;z-index:61;border-radius:10px;box-shadow:0 0 0 9999px #0a10188c,0 0 0 2px var(--yellow);pointer-events:none;transition:left .25s ease,top .25s ease,width .25s ease,height .25s ease}.tour-tip{position:fixed;z-index:62;width:340px;max-width:calc(100vw - 24px);padding:16px 16px 14px;box-shadow:0 18px 48px #00000059;background:var(--panel-solid);transition:left .25s ease,top .25s ease}.tour-tip h3{margin:2px 28px 8px 0;font:700 17px/1.25 var(--f-num);color:var(--ink)}.tour-text{font-size:13.5px;line-height:1.55;color:var(--muted)}.tour-text b{color:var(--ink)}.tour-text p{margin:0 0 6px}.tour-text ul{margin:4px 0 0;padding-left:18px}.tour-text li{margin:2px 0}.tour-text kbd{font:600 11px var(--f-num);background:var(--chip);border:1px solid var(--line);border-radius:4px;padding:1px 5px;color:var(--ink)}.tour-step{font:600 11px var(--f-num);letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}.tour-x{position:absolute;right:8px;top:8px;width:28px;height:28px;font-size:20px;line-height:1}.tour-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}.tour-dots{display:flex;gap:4px;flex-wrap:wrap}.tour-dots i{width:6px;height:6px;border-radius:50%;background:var(--line)}.tour-dots i.done{background:var(--muted)}.tour-dots i.on{background:var(--blue);width:16px;border-radius:3px}.tour-btns{display:flex;gap:6px;flex:none}.tour-tip:before{content:"";position:absolute;width:12px;height:12px;background:var(--panel-solid);border:1px solid var(--line);transform:rotate(45deg)}.tour-tip[data-side=bottom]:before{top:-7px;left:calc(var(--ax,50%) - 6px);border-right:0;border-bottom:0}.tour-tip[data-side=top]:before{bottom:-7px;left:calc(var(--ax,50%) - 6px);border-left:0;border-top:0}.tour-tip[data-side=right]:before{left:-7px;top:calc(var(--ay,50%) - 6px);border-right:0;border-top:0}.tour-tip[data-side=left]:before{right:-7px;top:calc(var(--ay,50%) - 6px);border-left:0;border-bottom:0}.tour-tip[data-side=center]:before,.tour-tip[data-side=inside]:before{display:none}.bottombar .tourbtn{display:grid;place-items:center;padding:6px 8px}.bottombar .tourbtn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}@media (prefers-reduced-motion:reduce){.tour-spot,.tour-tip{transition:none}}.facbox{display:flex;align-items:center;flex:none}.facbox[hidden]{display:none}.facbtn{display:flex;align-items:center;gap:8px;max-width:220px;background:var(--chip)!important}.facbtn span{overflow:hidden;text-overflow:ellipsis}.facbtn svg{width:10px;height:7px;flex:none;fill:none;stroke:var(--muted);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}.facbtn[aria-expanded=false] svg{transform:rotate(180deg)}.facbtn:hover{background:var(--line)!important}.facmenu{position:fixed;z-index:20;min-width:220px;max-width:min(340px,calc(100% - 16px));max-height:min(60vh,520px);overflow-y:auto;padding:4px;display:flex;flex-direction:column;gap:2px}.facmenu[hidden]{display:none}.facmenu button{border:0;background:transparent;border-radius:7px;padding:8px 10px;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:2px;color:var(--ink)}.facmenu button b{font:600 14.5px/1.2 var(--f-num)}.facmenu button small{font:500 11.5px var(--f-ui);color:var(--muted)}.facmenu button:hover,.facmenu button:focus-visible{background:var(--chip);outline:none}.facmenu button[aria-selected=true]{background:var(--ink);color:var(--bg)}.facmenu button[aria-selected=true] small{color:inherit;opacity:.7}@media (prefers-reduced-motion:reduce){.facbtn svg{transition:none}}.hud{display:flex;align-items:center;margin-left:auto;min-width:0}.hud .brand{padding:6px 14px 6px 8px;border-right:1px solid var(--line);flex:none;max-width:260px}.kpis{display:flex;padding:5px 4px;overflow-x:auto;scrollbar-width:none;min-width:0}.kpis::-webkit-scrollbar{display:none}.kpi{padding:2px 14px;border-left:1px solid var(--line);white-space:nowrap}.kpi:first-child{border-left:0}.kpi b{display:block;font:600 21px/1.05 var(--f-num);font-variant-numeric:tabular-nums}.kpi b small{font-size:13px;color:var(--muted);margin-left:2px}.kpi span{font-size:12px;color:var(--muted)}.kpi.hot b{color:var(--red)}.search{padding:5px}.search input{border:1px solid var(--line);border-radius:7px;background:var(--field);padding:7px 10px;width:220px}.left{position:absolute;left:10px;top:10px;width:250px;max-height:calc(100% - 90px);z-index:6;overflow-y:auto;padding:10px 8px}#app{--rightw:340px}.right{position:absolute;right:10px;top:70px;bottom:66px;width:var(--rightw);z-index:6;display:flex;flex-direction:column;gap:8px}.insp{padding:12px 14px 14px;flex:none;max-height:64%;overflow-y:auto}.events{flex:1;min-height:160px}.legend{margin:10px 6px 2px;padding-top:10px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:6px 12px;font-size:12.5px;color:var(--muted)}.legend i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px}.offmap{margin:8px 6px 0;font-size:12.5px;color:var(--muted);line-height:1.45}.ph3{display:grid;grid-template-columns:auto repeat(3,1fr);gap:4px 10px;font-size:13px;margin-top:6px}.ph3 b{font:600 12px var(--f-ui);color:var(--muted)}.ph3 span{font:600 14px var(--f-num);font-variant-numeric:tabular-nums}.bars{display:flex;align-items:flex-end;gap:4px;height:64px;margin-top:6px}.bars div{flex:1;background:var(--yellow);border-radius:3px 3px 0 0;min-height:2px;position:relative}.bars div span{position:absolute;bottom:-16px;left:50%;transform:translate(-50%);font:500 10.5px var(--f-num);color:var(--muted)}.bound{display:flex;flex-direction:column;gap:6px;margin-top:6px}.bdev{border:1px solid var(--line);border-radius:8px;padding:8px 10px;cursor:pointer;background:var(--panel-solid)}.bdev:hover{border-color:var(--ink)}.bdev .t{display:flex;justify-content:space-between;gap:8px;font:600 14px var(--f-num)}.bdev .v{font-size:13px;color:var(--muted);margin-top:2px}@media (max-width:1180px){#app{--rightw:300px}.search input{width:160px}}@media (max-width:860px){.hud{margin-left:0;order:3;width:100%}.hud .brand{max-width:45%}.search{order:2}.search input{width:140px}.left,.right{display:none}.left.open{display:block;top:auto;left:6px;right:6px;bottom:60px;width:auto;max-height:55%}.right.open{display:flex;top:auto;left:6px;right:6px;bottom:60px;width:auto;height:60%}}.ph3 b small{display:block;font:500 11px var(--f-ui);color:var(--muted)}.lbl.el small{display:block;font-weight:500;white-space:nowrap}.lbl.el small b{font-weight:700}.ltabs{display:flex;gap:2px;margin:-2px 2px 10px;padding:3px;border-radius:9px;background:var(--chip)}.ltabs button{flex:1;border:0;background:transparent;padding:7px 6px;cursor:pointer;font:600 13.5px var(--f-num);color:var(--muted);border-radius:7px}.ltabs button[aria-selected=true]{background:var(--panel-solid);color:var(--ink);box-shadow:0 1px 3px #0000001f}.left.people{width:300px;height:calc(100% - 150px);display:flex;flex-direction:column;overflow:hidden;padding:10px}.pstats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:8px}.pstat{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:4px;row-gap:1px;text-align:left;border:1px solid var(--line);background:var(--panel-solid);border-radius:9px;padding:7px 6px 6px;cursor:pointer;position:relative;overflow:hidden;min-width:0;transition:border-color .15s,box-shadow .15s}.pstat:before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:var(--c)}.pstat:hover{border-color:var(--c)}.pstat[aria-pressed=true]{border-color:var(--c);box-shadow:0 0 0 1px var(--c) inset;background:color-mix(in srgb,var(--c) 8%,var(--panel-solid))}.pstat .pi{color:var(--c);display:flex}.pstat .pi svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.pstat b{font:700 16px/1 var(--f-num);font-variant-numeric:tabular-nums}.pstat small{grid-column:1/3;font-size:10.5px;color:var(--ink);line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pstat em{grid-column:1/3;font-style:normal;font-size:9.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pstat em.bad{color:#b42318;font-weight:600}.pill.lv-ok{background:#22c55e24;color:#15803d}.pill.lv-warn{background:#f59e0b29;color:#b45309}.pill.lv-alarm{background:#d63a2f24;color:#b42318}.pill.lv-offline{background:var(--chip);color:var(--muted)}.pcard .pill{max-width:110px;overflow:hidden;text-overflow:ellipsis}.psearch{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:9px;background:var(--field);padding:0 9px;margin-bottom:6px}.psearch:focus-within{border-color:var(--ink)}.psearch svg{width:16px;height:16px;flex:none;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round}.psearch input{border:0;background:transparent;padding:8px 0;width:100%;outline:none;font-size:13.5px}.plist{flex:1;min-height:0;overflow-y:auto;margin:0 -4px;padding:0 4px 4px}.pgh{display:flex;justify-content:space-between;align-items:center;margin:10px 4px 4px;font:600 11px var(--f-ui);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.pgh span{font-variant-numeric:tabular-nums;background:var(--chip);border-radius:999px;padding:1px 7px;letter-spacing:0}.pgh.bad{color:#d63a2f}.pcard{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center;width:100%;text-align:left;border:1px solid transparent;background:transparent;border-radius:10px;padding:7px 8px;cursor:pointer;transition:background .12s}.pcard:hover{background:var(--chip)}.pcard.on{background:color-mix(in srgb,var(--c) 10%,var(--panel-solid));border-color:color-mix(in srgb,var(--c) 45%,transparent)}.pcard.dim .av{filter:grayscale(.7);opacity:.65}.pcard.dim .pc b{color:var(--muted)}.av{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font:700 12.5px var(--f-num);color:var(--c);background:color-mix(in srgb,var(--c) 15%,transparent);box-shadow:0 0 0 2px color-mix(in srgb,var(--c) 30%,transparent) inset}.av.box{border-radius:9px}.av svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}.pc{min-width:0}.pc b{display:block;font:600 13.5px/1.25 var(--f-num);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pc small{display:flex;align-items:center;gap:3px;font-size:11.5px;color:var(--muted);line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pc small.loc{color:var(--ink)}.pc small svg{width:12px;height:12px;flex:none;fill:none;stroke:var(--c);stroke-width:2}.pill{font:600 11px var(--f-num);white-space:nowrap;border-radius:999px;padding:3px 8px;background:var(--chip);color:var(--muted);font-variant-numeric:tabular-nums}.pill.live{background:#22c55e24;color:#15803d}.pill.live:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#22c55e;margin-right:5px;vertical-align:1px;animation:plive 1.6s ease-in-out infinite}.pill.bad{background:#d63a2f24;color:#b42318}@keyframes plive{50%{opacity:.35}}@media (prefers-reduced-motion:reduce){.pill.live:before{animation:none}}.pempty{margin:16px 6px;color:var(--muted);font-size:13px;text-align:center}.left.people .offmap{flex:none}.insp .ph select{font:500 12px var(--f-ui);border:1px solid var(--line);border-radius:6px;background:var(--field);padding:2px 4px}.tl{list-style:none;margin:4px 0 0;padding:0 0 0 14px;border-left:2px solid var(--line)}.tl li{position:relative;padding:3px 0 7px}.tl li:before{content:"";position:absolute;left:-19px;top:7px;width:8px;height:8px;border-radius:50%;background:var(--muted)}.tl li.now:before{background:#22c55e;box-shadow:0 0 0 3px #22c55e40}.tl b{display:block;font:600 13px/1.25 var(--f-num)}.tl small{font-size:11.5px;color:var(--muted)}@media (max-width:860px){.left.people{display:none}.left.people.open{display:flex;top:auto;left:6px;right:6px;bottom:60px;width:auto;height:60%}}.sgh{display:flex;align-items:center;gap:6px;width:100%;margin:8px 0 3px;padding:6px;border:0;border-radius:8px;background:var(--chip);cursor:pointer;text-align:left}.sgh:hover{background:color-mix(in srgb,var(--c) 12%,var(--chip))}.sgh .ic{color:var(--c);display:flex}.sgh .ic svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.sgh b{font:600 12.5px var(--f-num);flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sgh .cnt{font:600 11px var(--f-num);color:var(--muted);font-variant-numeric:tabular-nums}.sgh .pill{padding:1px 6px;font-size:10px}.sgh .chev{color:var(--muted);transition:transform .15s;font-size:11px}.sgh[aria-expanded=false] .chev{transform:rotate(-90deg)}.events{display:flex;flex-direction:column;overflow:hidden;padding:10px 10px 6px}.evh{display:flex;align-items:center;gap:8px;margin:0 2px 8px}.evh h2{margin:0;flex:1;font:600 14px var(--f-num);color:var(--ink)}.evn{font:600 11px var(--f-num);color:#b42318;background:#d63a2f1f;border-radius:999px;padding:2px 8px}.evok{font-size:11.5px;color:var(--muted)}.evh .btn.sm{padding:4px 8px;font-size:11.5px}.evf{display:flex;flex-wrap:wrap;gap:4px;margin:0 2px 6px}.evf button{--lc:#64748B;position:relative;height:30px;min-width:34px;border:1px solid var(--line);background:var(--panel-solid);border-radius:8px;padding:0 8px;font:600 12px var(--f-num);cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--ink);transition:background .12s,border-color .12s}.evf button.lv-alarm{--lc:#D63A2F}.evf button.lv-warn{--lc:#F59E0B}.evf button.lv-info{--lc:#2F6FED}.evf button.ic{color:var(--lc);padding:0 7px}.evf button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.evf button:hover{border-color:var(--lc)}.evf button[aria-pressed=true]{background:var(--lc);border-color:var(--lc);color:#fff}.evf button.all[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--bg)}.evf button span{position:absolute;top:-6px;right:-6px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#d63a2f;color:#fff;font:700 10px/16px var(--f-num);box-shadow:0 0 0 2px var(--panel-solid)}.evf button.all span{position:static;margin-left:5px;box-shadow:none}.evfn{display:flex;align-items:center;gap:6px;margin:0 2px 4px;font:600 11.5px var(--f-ui);color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.evfn button{border:0;background:var(--chip);border-radius:999px;width:18px;height:18px;line-height:16px;cursor:pointer;color:var(--muted);padding:0}.evlist{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;margin:0 -4px;padding:0 4px}.evlist ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px}.evg{display:flex;justify-content:space-between;align-items:center;width:calc(100% - 4px);box-sizing:border-box;margin:8px 2px 5px;font:600 11px var(--f-ui);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.evg span{background:var(--chip);border-radius:999px;padding:1px 7px;letter-spacing:0;font-variant-numeric:tabular-nums;margin-left:auto}.evg.tog{border:0;background:transparent;cursor:pointer;padding:0;gap:6px}.evg.tog i{font-style:normal;transition:transform .15s}.evg.tog[aria-expanded=false] i{transform:rotate(-90deg)}.evc{--lc:#64748B;display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:9px;align-items:start;padding:8px 8px 8px 10px;border-radius:9px;background:var(--chip);border-left:3px solid var(--lc);position:relative}.evc.lv-alarm{--lc:#D63A2F}.evc.lv-warn{--lc:#F59E0B}.evc.lv-info{--lc:#2F6FED}.evc.lv-ok{--lc:#22C55E}.evc.unread{background:var(--panel-solid);box-shadow:0 1px 3px #00000014}.evc:not(.unread){opacity:.72}.evc[role=button]{cursor:pointer}.evc[role=button]:hover{box-shadow:0 0 0 1px var(--lc) inset}.evi{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:var(--lc);background:color-mix(in srgb,var(--lc) 13%,transparent)}.evi svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.evb{min-width:0}.evt{display:flex;justify-content:space-between;gap:6px;align-items:baseline}.evs{font:700 10.5px var(--f-ui);letter-spacing:.04em;text-transform:uppercase;color:var(--lc)}.evt time{font-size:10.5px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}.evb p{margin:2px 0 0;font:600 13px/1.3 var(--f-num);color:var(--ink);overflow-wrap:anywhere}.evb small{display:block;margin-top:1px;font-size:11.5px;color:var(--muted);line-height:1.3}.evc.unread .evb p:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--lc);margin-right:6px;vertical-align:1px}.evr{width:28px;height:28px;border-radius:7px;border:1px solid var(--line);background:var(--panel-solid);display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--muted)}.evr:hover{color:#15803d;border-color:#22c55e;background:#22c55e1a}.evr svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.evempty{margin:14px 6px;color:var(--muted);font-size:12.5px;text-align:center;line-height:1.45}.camins{display:grid;grid-template-columns:116px 1fr;gap:10px;align-items:center;margin:6px 0 4px}.camins .kv{margin:0}.show-ctl{position:fixed;left:50%;bottom:72px;transform:translate(-50%);z-index:12;width:min(440px,calc(100% - 24px));padding:14px 16px;display:flex;flex-direction:column;gap:10px;transition:opacity .3s,transform .3s}.show-ctl.off{opacity:0;pointer-events:none;transform:translate(-50%,12px)}.show-ctl .sc-h{display:flex;align-items:center;gap:10px}.show-ctl .sc-h svg{width:30px;height:30px;border-radius:7px;flex:none}.show-ctl .sc-h b{display:block;font:700 17px/1.1 var(--f-num)}.show-ctl .sc-h small{color:var(--muted);font-size:12px}.show-ctl .sc-row{display:flex;gap:4px;background:var(--chip);border-radius:9px;padding:3px}.show-ctl .sc-row button{flex:1;border:0;background:transparent;border-radius:7px;padding:8px 6px;font:600 14px var(--f-num);color:var(--ink);cursor:pointer}.show-ctl .sc-row button[aria-pressed=true]{background:var(--ink);color:var(--bg)}.show-ctl .sc-chk{display:flex;align-items:center;gap:8px;font-size:13.5px}.show-ctl .sc-go{padding:11px;font-size:15px}.show-ctl kbd,.show-ctl .sc-tip kbd{font:600 11px var(--f-ui);border:1px solid currentColor;border-radius:4px;padding:0 4px;opacity:.75;margin-left:4px}.show-ctl .sc-tip{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.show-ctl .sc-h>div{flex:1;min-width:0}.show-ctl .sc-min{flex:none;width:30px;height:30px;border:0;border-radius:8px;background:var(--chip);color:var(--ink);font:700 18px/1 var(--f-ui);cursor:pointer}.show-ctl.mini{width:auto;padding:6px}.show-ctl .sc-open{display:flex;align-items:center;gap:10px;border:0;background:transparent;color:var(--ink);cursor:pointer;padding:4px 10px 4px 4px;font:700 15px var(--f-num)}.show-ctl .sc-open svg{width:28px;height:28px;border-radius:7px}.show-ctl .sc-open small{font:600 12px var(--f-ui);color:var(--muted);padding-left:10px;border-left:1px solid var(--line)}.show-cap{position:fixed;left:50%;bottom:44px;transform:translate(-50%,16px);z-index:11;max-width:min(980px,calc(100% - 48px));padding:16px 26px 17px 22px;border-radius:14px;background:#0e141bd1;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;border-left:4px solid #F5C518;box-shadow:0 12px 40px #00000047;opacity:0;pointer-events:none;transition:opacity .45s ease,transform .45s ease}.show-cap.on{opacity:1;transform:translate(-50%)}.show-cap b{display:block;font:700 26px/1.15 var(--f-num);letter-spacing:.01em}.show-cap span{display:block;margin-top:5px;font:500 17px/1.4 var(--f-ui);color:#d5dde5}.show-cap em{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;font-style:normal}.show-cap em i{font:600 13px/1 var(--f-ui);font-style:normal;color:#fff;padding:6px 10px;border-radius:999px;background:#6c4fe08c;border:1px solid rgba(255,255,255,.18)}.show-card{position:fixed;top:0;right:0;bottom:0;left:0;z-index:13;display:flex;align-items:center;justify-content:center;pointer-events:none;opacity:0;transition:opacity .8s ease;background:radial-gradient(ellipse at center,#0a0f159e,#0a0f1559 55%,#0a0f1500)}.show-card.on{opacity:1}.show-card .sc-in{text-align:center;color:#fff;transform:translateY(10px);transition:transform 1.2s ease}.show-card.on .sc-in{transform:none}.show-card svg{width:78px;height:78px;border-radius:16px;box-shadow:0 10px 30px #0000004d}.show-card h1{margin:18px 0 8px;font:700 58px/1.05 var(--f-num);letter-spacing:.01em;text-shadow:0 4px 24px rgba(0,0,0,.35)}.show-card p{margin:0;font:500 22px/1.4 var(--f-ui);color:#e2e8ee;text-shadow:0 2px 12px rgba(0,0,0,.35)}.showmode #facBox,.showmode:not(.demo) .tourbtn{display:none!important}.rec,.rec *{cursor:none!important}.rec .bottombar,.rec .viewctl,.rec .ptog{opacity:0;pointer-events:none;transition:opacity .4s}.show-press{outline:3px solid #F5C518!important;outline-offset:2px;transform:scale(1.12);transition:transform .2s}@media (prefers-reduced-motion:reduce){.show-cap,.show-card,.show-card .sc-in,.show-ctl{transition:none}}
