:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#192520;background:#f3f5f2;font-family:Microsoft YaHei UI,PingFang SC,system-ui,sans-serif;font-size:15px}*{box-sizing:border-box}body{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);margin:0}.wrap{width:min(960px,100% - 40px);margin-inline:auto}.shell{background:#fff;border-bottom:1px solid #e2e8e3}.brand{align-items:center;gap:9px;min-height:58px;font-weight:700;display:flex}main{padding-block:34px 26px}.heading{justify-content:space-between;align-items:end;gap:14px;margin-bottom:17px;display:flex}h1{margin:0 0 7px;font-size:28px;line-height:1.25}p{margin:0}.heading p,.status-line{color:#4b6055}.actions{gap:8px;display:flex}button{color:#192520;cursor:pointer;min-width:85px;min-height:44px;font:inherit;background:#fff;border:1px solid #9cac9f;border-radius:5px;justify-content:center;align-items:center;gap:7px;padding:0 13px;font-weight:600;display:inline-flex}button svg{width:16px;height:16px}#play{color:#fff;background:#183a2f;border-color:#183a2f}button:focus-visible{outline-offset:3px;outline:3px solid #26836c}button:hover:not(:disabled){border-color:#116954}button:disabled,#play:disabled{color:#52655b;cursor:default;background:#e6ebe6;border-color:#d2ddd5}.screen{aspect-ratio:16/9;color:#e0e9e1;background:#151a17;border-radius:5px;place-items:center;display:grid;position:relative;overflow:hidden}.screen p{text-align:center;padding:14px}video{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.status-line{border-bottom:1px solid #dbe3dc;justify-content:space-between;gap:12px;padding:13px 0;font-size:14px;display:flex}#status{align-items:center;gap:8px;display:flex}#status:before{content:"";background:#708077;border-radius:50%;flex:none;width:8px;height:8px}#status[data-state=playing]:before{background:#16835e}#status[data-state=error]:before{background:#b64535}@media (width<=520px){main{padding-top:24px}.heading{flex-wrap:wrap;align-items:center}h1{font-size:23px}}.brand button{margin-left:auto}.choices{flex-wrap:wrap;gap:12px;margin-bottom:14px;display:flex}.details{background:#fff;border:1px solid #dbe3dc;border-radius:5px;margin-top:20px;margin-bottom:24px;padding:18px}.details h2{margin:0 0 10px;font-size:18px}.details p{margin:6px 0}form{flex-wrap:wrap;align-items:end;gap:12px;margin-top:16px;display:flex}label{gap:5px;display:inline-grid}input,select{font:inherit;color:inherit;background:#fff;border:1px solid #9cac9f;border-radius:5px;max-width:100%;min-height:44px;padding:8px}.record{justify-content:space-between;align-items:center;gap:10px;margin-top:8px;display:flex}.record>span{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;min-width:0}.record>button{flex-shrink:0}.record-query{flex-wrap:wrap;align-items:end;gap:8px 12px;margin-bottom:8px;display:flex}.workspace-bar{flex-wrap:wrap;gap:10px;padding-block:8px}.product-name{align-items:center;gap:8px;display:flex}.space-name{color:#4b6055;overflow-wrap:anywhere;font-size:14px;font-weight:400}.workspace-bar nav{gap:6px;margin-left:auto;display:flex}.workspace-bar button{min-width:auto;margin-left:0}.auth-shell{width:min(400px,100% - 40px);margin:clamp(36px,12vh,110px) auto}.auth-brand{min-height:38px}.auth-card form{display:grid}.auth-card label,.auth-card input{width:100%}.auth-back{margin-top:14px}.primary{color:#fff;background:#183a2f;border-color:#183a2f}.error-text{color:#a23b2d;margin-top:12px}.account-list{margin:16px 0 0;padding:0;list-style:none}.account-list li{overflow-wrap:anywhere;border-top:1px solid #dbe3dc;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px;padding:12px 0;display:grid}@media (width<=520px){.workspace-bar nav{margin-left:0}}.setup-top{justify-content:space-between;align-items:start;gap:12px;margin-bottom:12px;display:flex}.setup-top h2{margin-bottom:4px}.setup-top p,.setup-time,.setup-fields dt,.setup-channels li span:last-child{color:#4b6055;font-size:14px}.setup-fields{background:#f3f5f2;border-radius:5px;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px;padding:12px;display:grid}.setup-fields dd{overflow-wrap:anywhere;margin:4px 0 0}.setup-progress{border-top:1px solid #dbe3dc;margin-top:16px;padding-top:14px}.setup-progress h3{margin:0 0 7px;font-size:15px}.setup-state{color:#654a17;background:#f4eedf;border-radius:5px;margin-left:6px;padding:3px 8px;font-size:13px;display:inline-block}.setup-state[data-online=true]{color:#235c42;background:#e3f3e9}.setup-channels{margin:8px 0 0;padding:0;list-style:none}.setup-channels li{overflow-wrap:anywhere;border-bottom:1px solid #dbe3dc;flex-wrap:wrap;gap:6px 18px;padding:8px 0;display:flex}.manual-copy label{margin:12px 0;display:grid}.manual-copy textarea{font:inherit;border:1px solid #9cac9f;border-radius:5px;width:100%;padding:8px}.actions{flex-wrap:wrap}@media (width<=600px){.setup-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=360px){.setup-fields{grid-template-columns:1fr}}@media (width<=520px){.wrap{width:calc(100% - 28px)}.workspace-bar nav{flex-wrap:wrap;width:100%}.workspace-bar nav button{min-width:44px}.heading{flex-direction:column;align-items:stretch}.heading h1,.heading p{overflow-wrap:anywhere}.actions{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;display:grid}.actions button{min-width:0;padding-inline:6px}.choices{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.choices label,.details form>label,.record-query label{min-width:0}.choices select,.details input,.details select,.auth-card input{font-size:16px}.details{padding:14px}.details form>label{width:100%}.record-query label{flex:132px}.record-query input{width:100%;min-width:0}.record{border-top:1px solid #e2e8e3;padding-top:8px}.record>span{font-size:14px}}body{color:#182024;background:#f1f5f6;margin:0;font:14px/1.5 system-ui,Microsoft YaHei,sans-serif}.vh-shell{grid-template-columns:176px minmax(0,1fr);min-height:100dvh;display:grid}.vh-nav{flex-direction:column;gap:5px;padding:15px 11px;display:flex}.vh-brand{align-items:center;gap:8px;padding:0 7px 15px;font-size:20px;font-weight:650;display:flex}.vh-brand svg{color:#1b6c80}.vh-nav button{text-align:left;background:0 0;border-color:#0000;min-height:40px}.vh-nav button[aria-current=page]{background:#dfe8ea}.vh-body{min-width:0}.vh-top,.vh-heading,.vh-actions,.vh-device{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.vh-top,.vh-heading,.vh-device{justify-content:space-between}.vh-top{min-height:53px;padding:7px 16px 7px 9px}.vh-sheet{background:#fff;border:1px solid #dce4e6;border-radius:13px;min-height:calc(100dvh - 65px);margin:0 9px 9px 0;padding:18px}.vh-heading{margin-bottom:12px}.vh-heading h1{font-size:24px}.vh-heading h2,.vh-panel h2{font-size:16px}.vh-heading p,.vh-device p,.vh-panel p{color:#5e686c;margin:3px 0}.vh-shell button[aria-pressed=true]{background:#dfe8ea;border-color:#9cb0b5}.vh-shell button.primary{color:#fff;background:#20292d}.vh-error{color:#a51c2a;margin:8px 0}.vh-empty{color:#5e686c;padding:20px}.vh-panel,.watch-panel{border:1px solid #e1e7e8;border-radius:8px;min-width:0;margin-bottom:11px;padding:13px}.vh-device{border-top:1px solid #eef1f2;padding:10px 0}.monitor{grid-template-columns:minmax(0,1fr) 190px;align-items:start;gap:12px;display:grid}.vh-screen,.vh-tile{color:#ecf0f1;background:#222b30;place-items:center;display:grid;position:relative;overflow:hidden}.vh-screen{aspect-ratio:16/9;border-radius:5px;width:100%;max-height:50vh}.vh-screen video,.vh-tile video{object-fit:contain;width:100%;height:100%;min-height:0}.vh-screen video[hidden],.vh-tile video[hidden]{display:none}.vh-screen video,.vh-tile video{position:absolute;inset:0}.feed-status{z-index:1;color:#e0e8ea;pointer-events:none;text-align:center;padding:8px;font-size:12px}.vh-tile .feed-status{position:absolute;bottom:4px;left:0;right:0}.wall-sheet{background:#20292d;border-color:#263236;padding:4px}.wall-sheet>p{color:#fff}.vh-grid{grid-template-columns:repeat(var(--columns),minmax(0,1fr));gap:4px;display:grid}.vh-tile{aspect-ratio:16/9;min-width:0;max-height:calc((100dvh - 77px)/var(--columns));font-size:12px}.vh-slot{z-index:2;opacity:0;color:#fff;text-align:left;background:#14202544;border:0;border-radius:0;align-content:end;width:100%;height:100%;padding:6px;display:grid;position:absolute;inset:0}.vh-slot:hover,.vh-slot:focus-visible{opacity:1}.vh-grid:fullscreen{grid-template-rows:repeat(var(--columns),minmax(0,1fr));background:#121718;gap:2px;width:100vw;height:100dvh}.vh-grid:fullscreen .vh-tile{aspect-ratio:auto;height:100%;max-height:none}.vh-grid:fullscreen .vh-slot{display:none}.vh-grid:fullscreen .vh-tile>span{display:none}dialog{color:#182024;border:1px solid #dce4e6;border-radius:9px;width:min(440px,100vw - 22px);padding:17px}dialog::backdrop{background:#14202575}dialog select{width:100%}dialog form{gap:12px;display:grid}.ptz-toggle{margin:9px 0}.ptz-toggle input{width:auto}.vh-panel form{margin-top:10px}.vh-panel input[aria-label=预置位]{width:90px}.history{border-top:1px solid #e1e7e8;margin-top:12px;padding-top:12px}.section-head,.timeline-toolbar,.timeline-legend,.timeline-scale,.history-transport,.history-play,.jump{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.section-head,.timeline-toolbar,.history-transport{justify-content:space-between}.timeline-toolbar{margin-top:8px}.timeline-legend{color:#5e686c;font-size:12px}.timeline-legend i{background:#dfe6e7;border-radius:2px;width:12px;height:7px;margin-right:4px;display:inline-block}.timeline-legend .legend-recorded,.scrubber-recorded{background:#1b6c80}.timeline-scale button{min-height:32px;padding:4px 7px}.scrubber{cursor:ew-resize;touch-action:pan-y;-webkit-user-select:none;user-select:none;height:40px;position:relative}.scrubber-track{background:#e3e9eb;border-radius:3px;height:14px;position:absolute;inset:12px 0 auto;overflow:hidden}.scrubber-recorded{position:absolute;inset:0 auto}.scrubber-head,.scrubber-preview{pointer-events:none;background:#20292d;width:2px;position:absolute;top:5px;bottom:8px}.scrubber-head:before{content:"";background:#20292d;border-radius:50%;width:8px;height:8px;position:absolute;top:0;left:-3px}.scrubber-tooltip{z-index:3;color:#fff;white-space:nowrap;pointer-events:none;background:#20292d;border-radius:4px;padding:2px 6px;font-size:11px;position:absolute;top:-18px;transform:translate(-50%)}.scrubber-ruler{pointer-events:none;position:absolute;inset:31px 0 0}.scrubber-ruler i{background:#b8c1c3;width:1px;height:4px;position:absolute}.scrubber-ruler .major{height:8px}.axis{color:#5e686c;justify-content:space-between;font-size:11px;display:flex}.scrubber-empty{background:#edf1f2;height:14px;margin:12px 0}.history-transport{margin-top:10px}.history-clock{display:grid}.history-clock small,.muted{color:#5e686c}.timeline-message{color:#a51c2a;margin-top:5px}@media (width<=760px){.vh-shell{display:block}.vh-nav{flex-flow:wrap;gap:3px;padding:9px}.vh-brand{width:100%;padding-bottom:5px}.vh-nav button{padding-inline:8px}.vh-sheet{min-height:0;margin:0 5px 5px;padding:10px}.wall-sheet{padding:3px}.monitor{grid-template-columns:minmax(0,1fr)}.vh-tile{max-height:none;font-size:11px}.vh-top{padding:4px 8px}.vh-top button{padding-inline:7px}.vh-actions{gap:4px}}
