html,body,#root{width:100%;min-width:320px;height:100%;margin:0}body{-webkit-font-smoothing:antialiased;background:#0b0e13;min-height:100vh;font-family:Segoe UI,Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;overflow:hidden}button,iframe{-webkit-tap-highlight-color:transparent}@media (width<=760px){html,body,#root{height:auto;min-height:100%}body{overflow:auto}}:root{--bg:#0b0e13;--panel:#11151c;--panel-2:#151a22;--line:#242b36;--text:#f2f5f8;--muted:#7f8997;--accent:#67e0b0;--accent-soft:#67e0b01f;--danger:#f36d75}*{box-sizing:border-box}button{font:inherit}.app-shell{background:var(--bg);height:100vh;min-height:0;color:var(--text);grid-template:"top top"54px"side work"minmax(0,1fr)/176px minmax(0,1fr);display:grid;overflow:hidden}.topbar{z-index:30;border-bottom:1px solid var(--line);background:#0f1319f5;grid-area:top;justify-content:space-between;align-items:center;padding:0 22px;display:flex;position:relative}.brand{align-items:center;gap:12px;display:flex}.brand-mark{background:var(--accent);color:#07110d;border-radius:10px;place-items:center;width:36px;height:36px;font-size:12px;font-weight:900;display:grid}.brand div:last-child{flex-direction:column;display:flex}.brand strong{letter-spacing:.02em;font-size:15px}.brand span{color:var(--muted);margin-top:2px;font-size:11px}.top-status{color:#9ba5b3;letter-spacing:.05em;align-items:center;gap:10px;font-size:11px;display:flex}.live-dot{background:var(--accent);width:7px;height:7px;box-shadow:0 0 12px var(--accent);border-radius:50%}.live-dot.offline{background:var(--danger);box-shadow:none}.divider{background:var(--line);width:1px;height:20px;margin:0 6px}.icon-button{border:1px solid var(--line);background:var(--panel-2);width:32px;height:32px;color:var(--text);cursor:pointer;border-radius:8px;margin-left:8px}.sidebar{border-right:1px solid var(--line);background:#0f1319;flex-direction:column;grid-area:side;min-height:0;padding:14px 10px;display:flex;overflow:hidden}.side-title,.inspector label{color:#66707d;letter-spacing:.14em;margin:0 10px 10px;font-size:10px;font-weight:800}.sidebar nav{gap:4px;display:grid}.nav-item{color:#8e98a6;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;grid-template-columns:24px 1fr auto;align-items:center;gap:8px;width:100%;padding:10px 11px;display:grid}.nav-item:hover{color:var(--text);background:#151a22}.nav-item.active{background:var(--accent-soft);color:#dff9ee}.nav-item b{color:#aab3bf;text-align:center;background:#222a34;border-radius:10px;min-width:20px;padding:2px 6px;font-size:10px}.sidebar-note{border:1px solid var(--line);background:#11161d;border-radius:10px;gap:4px;margin-top:auto;padding:11px;display:grid}.sidebar-note strong{color:#b7c0ca;font-size:10px}.sidebar-note small{color:var(--muted);font-size:9px;line-height:1.45}.workspace{grid-area:work;min-width:0;min-height:0;padding:18px;overflow:auto}.live-mode .workspace{padding:8px 10px 10px;overflow:hidden}.workspace-toolbar{flex:none;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:14px;display:flex}.live-mode .workspace-toolbar{align-items:center;min-height:36px;margin-bottom:7px}.workspace-toolbar h1{letter-spacing:-.02em;margin:0;font-size:20px;font-weight:680}.workspace-toolbar p{color:var(--muted);margin:4px 0 0;font-size:11px}.live-mode .workspace-toolbar p{display:none}.toolbar-actions{align-items:center;gap:6px;display:flex}.toolbar-actions>span{color:var(--muted);margin-right:5px;font-size:10px}.layout-button{border:1px solid var(--line);background:var(--panel);color:#7d8794;cursor:pointer;border-radius:7px;width:32px;height:29px;font-size:11px}.layout-button.active{background:var(--accent-soft);color:var(--accent);border-color:#476f62}.add-camera-toolbar{background:var(--accent-soft);height:30px;color:var(--accent);cursor:pointer;border:1px solid #356b56;border-radius:8px;padding:0 11px;font-size:10px;font-weight:700}.add-camera-toolbar:hover{background:#67e0b02e}.camera-grid{align-items:start;gap:10px;display:grid}.live-mode .camera-grid{min-height:0}.grid-1{grid-template-columns:minmax(0,min(100%,1440px));justify-content:center}.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-9{grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:8px;height:calc(100dvh - 113px)}.camera-card{border:1px solid var(--line);background:var(--panel);border-radius:11px;flex-direction:column;align-self:start;min-width:0;min-height:0;transition:border-color .16s,box-shadow .16s,opacity .16s;display:flex;position:relative;overflow:hidden}.camera-card.dragging{opacity:.42}.camera-heading{cursor:grab;-webkit-user-select:none;user-select:none}.camera-heading:active{cursor:grabbing}.camera-heading,.camera-footer{flex:none;justify-content:space-between;align-items:center;padding:7px 9px;display:flex}.camera-heading>div{flex-direction:column;gap:3px;min-width:0;display:flex}.camera-heading strong{font-size:12px;font-weight:650}.camera-heading span:not(.status-pill){color:var(--muted);font-size:9px}.status-pill{color:#d77b82;letter-spacing:.05em;background:#f36d7514;border-radius:10px;padding:4px 7px;font-size:8px;font-weight:800}.status-pill.online{background:var(--accent-soft);color:var(--accent)}.video-frame{aspect-ratio:16/9;cursor:default;-webkit-user-select:none;user-select:none;background:#030506;flex:none;width:100%;position:relative;overflow:hidden}.video-frame iframe{pointer-events:none;background:#000;border:0;width:100%;height:100%;display:block}.video-placeholder{color:#9ca5af;text-align:center;background:radial-gradient(circle at 50% 40%,#67e0b014,#0000 35%),#050708;place-content:center;gap:5px;width:100%;height:100%;display:grid}.video-placeholder span{font-size:12px}.video-placeholder small{color:#555f6b;font-size:9px}.retry-camera{min-height:26px;color:var(--accent);cursor:pointer;background:#151d20;border:1px solid #34423f;border-radius:7px;justify-self:center;margin-top:4px;padding:0 10px;font-size:9px}.retry-camera:disabled{opacity:.5;cursor:wait}.camera-footer{color:#6f7986;letter-spacing:.08em;font-size:9px}.camera-tool-row{justify-content:center;align-items:center;gap:5px;display:flex}.camera-footer .camera-tool{color:#aeb8c3;cursor:pointer;background:#171c23;border:1px solid #252c35;border-radius:7px;align-content:center;place-items:center;gap:1px;width:44px;height:39px;padding:3px 2px 2px;display:grid}.camera-footer .camera-tool:hover{color:var(--accent);border-color:#395c50}.camera-footer .tool-icon{font-size:15px;line-height:16px}.camera-footer .tool-label{color:#78838e;letter-spacing:.04em;font-size:7px;font-weight:750;line-height:9px}.camera-footer .camera-tool:hover .tool-label{color:var(--accent)}.camera-stream-label{color:#76818e;min-width:35px;font-weight:750}.camera-footer button.active-tool{color:var(--accent);background:var(--accent-soft);border-color:#416c5d}.card-ptz-overlay{z-index:8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#070c10c7;border:1px solid #67e0b047;border-radius:12px;grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(3,1fr);gap:3px;width:104px;height:104px;padding:6px;display:grid;position:absolute;bottom:8px;right:8px;box-shadow:0 12px 30px #00000059}.card-ptz-overlay button{color:#c9d7d2;cursor:pointer;background:#182227eb;border:1px solid #33423f;border-radius:7px}.card-ptz-overlay button:hover{border-color:var(--accent);color:var(--accent)}.card-ptz-overlay button:first-child{grid-area:1/2}.card-ptz-overlay button:nth-child(2){grid-area:2/1}.card-ptz-overlay button:nth-child(3){grid-area:2/2}.card-ptz-overlay button:nth-child(4){grid-area:2/3}.card-ptz-overlay button:nth-child(5){grid-area:3/2}.add-camera{aspect-ratio:16/9;color:#7c8794;cursor:pointer;background:0 0;border:1px dashed #2d3540;border-radius:13px;place-content:center;gap:5px;min-height:160px;display:grid}.add-camera:hover{color:#b9d9cd;background:#67e0b006;border-color:#43695c}.add-camera:disabled{opacity:.5;cursor:not-allowed;color:#7c8794;background:0 0;border-color:#2d3540}.add-camera>span{color:var(--accent);margin:0 auto 4px;font-size:22px}.add-camera strong{font-size:11px}.add-camera small{color:#596370;font-size:9px}.empty-state{border:1px dashed var(--line);min-height:260px;color:var(--muted);border-radius:13px;place-items:center;font-size:12px;display:grid}.inspector{border-left:1px solid var(--line);overscroll-behavior:contain;background:#0f1319;grid-area:inspect;min-height:0;overflow:auto}.inspector-head{border-bottom:1px solid var(--line);flex-direction:column;padding:23px 20px 19px;display:flex}.inspector-head>span{color:#66707d;letter-spacing:.13em;font-size:9px;font-weight:800}.inspector-head strong{margin-top:10px;font-size:15px}.inspector-head small{color:var(--muted);margin-top:4px;font-size:10px}.inspector-section{border-bottom:1px solid var(--line);padding:18px 20px}.inspector-section label{margin:0 0 11px;display:block}.metric-row{color:#737e8b;justify-content:space-between;padding:6px 0;font-size:10px;display:flex}.metric-row b{color:#b7c0ca;font-weight:550}.metric-row b.good{color:var(--accent)}.quality-buttons,.control-grid{grid-template-columns:repeat(3,1fr);gap:5px;display:grid}.quality-buttons button,.control-grid button{color:#7d8793;cursor:pointer;background:#151a21;border:1px solid #28303a;border-radius:7px;min-height:29px;font-size:9px}.quality-buttons button.active{color:var(--accent);background:var(--accent-soft);border-color:#416c5d}.quality-buttons button:disabled{opacity:.32;cursor:not-allowed}.control-grid{grid-template-columns:repeat(2,1fr)}.control-grid button{color:#a6b0bc;min-height:35px}.control-grid button:disabled{opacity:.32;cursor:not-allowed}.footnote{align-items:flex-start;gap:10px;display:flex}.footnote .shield{background:var(--accent-soft);width:25px;height:25px;color:var(--accent);border-radius:50%;flex:0 0 25px;place-items:center;font-size:11px;display:grid}.footnote div{flex-direction:column;gap:4px;display:flex}.footnote strong{font-size:10px}.footnote small{color:var(--muted);font-size:9px;line-height:1.45}@media (width<=1120px){.app-shell{grid-template-columns:190px minmax(0,1fr);grid-template-areas:"top top""side work"}}@media (width<=760px){.app-shell{display:block}.topbar{z-index:20;height:62px;position:sticky;top:0}.sidebar,.top-status>span:not(.live-dot){display:none}.workspace{padding:16px}.workspace-toolbar{flex-direction:column;align-items:flex-start}.grid-4,.grid-9{grid-template-columns:1fr}}.action-toast{z-index:100;color:#dff9ee;background:#11181df5;border:1px solid #38584f;border-radius:9px;padding:9px 13px;font-size:10px;position:fixed;top:82px;left:50%;transform:translate(-50%);box-shadow:0 12px 30px #00000052}.ptz-pad{grid-template-rows:repeat(3,36px);grid-template-columns:repeat(3,40px);justify-content:center;gap:5px;width:132px;margin:2px auto 10px;display:grid}.ptz-pad button,.ptz-zoom button{color:#aeb8c3;cursor:pointer;background:#161c23;border:1px solid #2b343f;border-radius:8px}.ptz-pad button:hover,.ptz-zoom button:hover{color:var(--accent);background:var(--accent-soft);border-color:#416c5d}.ptz-pad button:disabled,.ptz-zoom button:disabled{opacity:.45;cursor:wait}.ptz-zoom{grid-template-columns:1fr 1fr;gap:6px;display:grid}.ptz-zoom button{min-height:31px;font-size:9px}.status-pill.recording{color:#ff8e96;background:#f36d7524;box-shadow:0 0 14px #f36d7514}.control-grid button.record-active{color:#ff9aa1;background:#f36d751a;border-color:#f36d758c}.camera-footer button:disabled{opacity:.4;cursor:wait}.content-mode{grid-template-columns:176px minmax(0,1fr);grid-template-areas:"top top""side work"}.secondary-button{border:1px solid var(--line);background:var(--panel);color:#aeb8c3;cursor:pointer;border-radius:8px;min-height:32px;padding:0 12px}.secondary-button:hover{color:var(--accent);border-color:#416c5d}.recordings-grid{grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:14px;display:grid}.recording-card{border:1px solid var(--line);background:var(--panel);border-radius:13px;overflow:hidden}.recording-card video{aspect-ratio:16/9;background:#030506;width:100%;display:block}.recording-info{grid-template-columns:1fr auto;gap:5px 14px;padding:12px;display:grid}.recording-info strong{text-overflow:ellipsis;color:#c9d1da;white-space:nowrap;min-width:0;font-size:10px;overflow:hidden}.recording-info span{color:var(--muted);grid-column:1;font-size:9px}.recording-actions{grid-area:1/2/span 2;align-self:center;gap:6px;display:flex}.recording-actions a,.recording-actions button{min-height:28px;color:var(--accent);cursor:pointer;background:#151a21;border:1px solid #2b343f;border-radius:7px;align-items:center;padding:0 8px;font-size:9px;text-decoration:none;display:inline-flex}.recording-actions button{color:#ff929a;border-color:#f36d7559}.status-pill.reconnecting{color:#ffc96c;background:#ffbe5c1f;border-color:#ffbe5c3d}.camera-card:has(.status-pill.reconnecting) .video-frame{opacity:.96}.modal-backdrop{z-index:200;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#020508b8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.setup-modal{background:#10151b;border:1px solid #27303a;border-radius:16px;width:min(720px,100%);max-height:min(780px,100vh - 48px);overflow:auto;box-shadow:0 28px 80px #00000080}.setup-modal-head{border-bottom:1px solid #202833;justify-content:space-between;gap:24px;padding:20px;display:flex}.setup-modal-head span{color:var(--accent);letter-spacing:.12em;font-size:9px}.setup-modal-head h2{color:#eef4f8;margin:5px 0 4px;font-size:20px}.setup-modal-head p{color:var(--muted);margin:0;font-size:10px}.setup-modal-head>button{color:#8e99a5;cursor:pointer;background:#151b22;border:1px solid #2a323d;border-radius:9px;width:34px;height:34px}.setup-form,.xiaomi-device-setup{gap:14px;padding:20px;display:grid}.setup-form label,.setup-row label{color:#8894a0;letter-spacing:.04em;gap:6px;font-size:9px;display:grid}.setup-form input,.setup-row select{box-sizing:border-box;color:#d7dfe7;background:#0b1015;border:1px solid #2a333e;border-radius:9px;outline:none;width:100%;min-height:38px;padding:0 11px}.setup-form input:focus,.setup-row select:focus{border-color:#3e725f;box-shadow:0 0 0 3px #67e0b014}.setup-form>button,.setup-row>button,.xiaomi-device-list article>button{min-height:38px;color:var(--accent);cursor:pointer;background:#67e0b01a;border:1px solid #356b56;border-radius:9px}.setup-form>button:disabled,.setup-row>button:disabled,.xiaomi-device-list article>button:disabled{opacity:.45;cursor:not-allowed}.setup-form>small{color:#66727e;font-size:9px;line-height:1.5}.xiaomi-captcha{border-radius:8px;max-width:260px}.challenge-note{color:#ffc96c;background:#ffbe5c14;border:1px solid #4b4030;border-radius:9px;padding:11px 12px;font-size:10px}.setup-row{grid-template-columns:1fr 1fr auto;align-items:end;gap:10px;display:grid}.xiaomi-device-list{gap:8px;display:grid}.xiaomi-device-list article{background:#0d1217;border:1px solid #222b35;border-radius:10px;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:12px;display:grid}.xiaomi-device-list article>div{gap:3px;min-width:0;display:grid}.xiaomi-device-list strong{color:#d5dde5;font-size:10px}.xiaomi-device-list span,.xiaomi-device-list small,.setup-empty{color:#6f7b87;font-size:9px}.xiaomi-device-list article>button{min-width:82px;padding:0 12px}@media (width<=720px){.setup-row{grid-template-columns:1fr}}.camera-card:fullscreen{background:#000;border:0;border-radius:0;width:100vw;height:100vh}.camera-card:fullscreen .video-frame{flex:auto}:is(.camera-card:fullscreen .camera-heading,.camera-card:fullscreen .camera-footer){background:#0a0e12f5}.playback-layout{grid-template-columns:minmax(0,1fr) 320px;gap:14px;min-height:0;display:grid}.playback-stage{border:1px solid var(--line);background:#07090c;border-radius:13px;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.playback-stage video{object-fit:contain;background:#000;flex:auto;width:100%;max-height:calc(100vh - 210px)}.playback-meta{border-top:1px solid var(--line);background:var(--panel);gap:4px;padding:12px 14px;display:grid}.playback-meta strong{color:#d7dfe7;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.playback-meta span{color:var(--muted);font-size:9px}.playback-list{align-content:start;gap:8px;min-height:0;max-height:calc(100vh - 150px);padding-right:2px;display:grid;overflow:auto}.playback-item{border:1px solid var(--line);background:var(--panel);border-radius:10px;overflow:hidden}.playback-item.active{border-color:#4d8b75;box-shadow:0 0 0 1px #67e0b014}.playback-select{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;gap:4px;padding:10px;display:grid}.playback-select strong{color:#cbd4dd;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.playback-select span{color:var(--muted);font-size:9px}.playback-item .recording-actions{gap:6px;padding:0 10px 10px;display:flex}.ptz-center-dot{color:#697780;-webkit-user-select:none;user-select:none;place-items:center;font-size:18px;display:grid}.view-pane{width:100%;min-width:0}.view-pane.view-hidden{display:none}.hidden-camera-bar{border:1px solid var(--line);background:#0f141a;border-radius:9px;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 8px;padding:7px 9px;display:flex}.hidden-camera-bar>span{color:var(--muted);font-size:9px}.hidden-camera-bar button{min-height:25px;color:var(--accent);cursor:pointer;background:#151b21;border:1px solid #2f3b42;border-radius:7px;padding:0 8px;font-size:9px}.video-frame:fullscreen{aspect-ratio:auto;background:#000;width:100vw;height:100vh}.video-frame:fullscreen iframe{width:100%;height:100%}.camera-controls{z-index:20;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c1116f5;border:1px solid #33423f;border-radius:10px;width:min(250px,100% - 16px);padding:8px;position:absolute;top:8px;bottom:48px;right:8px;overflow:hidden;box-shadow:0 14px 36px #0000006b}.camera-control-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:9px;display:grid}.camera-control-summary span{color:#9ca7b2;text-overflow:ellipsis;white-space:nowrap;border:1px solid #202832;border-radius:7px;min-width:0;padding:7px 8px;font-size:9px;overflow:hidden}.camera-control-summary b{color:#66727f;letter-spacing:.08em;margin-bottom:3px;font-size:8px;display:block}.camera-control-section{border-top:1px solid #1d242c;padding-top:9px}.camera-control-section+.camera-control-section{margin-top:9px}.camera-control-section>label{color:#66727f;letter-spacing:.12em;margin:0 0 7px;font-size:8px;font-weight:800;display:block}.card-quality-buttons{grid-template-columns:repeat(2,minmax(0,110px))}.hide-camera-button{color:#e48e95!important}.hide-camera-button:hover{color:#ffabb0!important;border-color:#f36d7573!important}.playback-item{grid-template-rows:auto auto;grid-template-columns:112px minmax(0,1fr);display:grid}.playback-thumb{object-fit:cover;cursor:pointer;background:#020304;border:1px solid #242d36;border-radius:7px;grid-row:1/span 2;align-self:center;width:112px;height:63px;margin:8px}.playback-item .playback-select{grid-column:2}.playback-item .recording-actions{grid-area:2/2}.sd-toolbar{align-items:center;gap:8px;display:flex}.sd-toolbar select,.sd-toolbar input{border:1px solid var(--line);background:var(--panel);color:#c2cbd4;border-radius:8px;min-height:32px;padding:0 9px}.sd-recording-list{gap:8px;display:grid}.sd-recording-item{border:1px solid var(--line);background:var(--panel);border-radius:10px;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;display:grid}.sd-recording-icon{background:var(--accent-soft);width:38px;height:38px;color:var(--accent);border-radius:8px;place-items:center;font-size:9px;font-weight:800;display:grid}.sd-recording-item>div:nth-child(2){gap:4px;display:grid}.sd-recording-item strong{color:#d6dee6;font-size:11px}.sd-recording-item span{color:var(--muted);font-size:9px}.sd-recording-item>button{color:#78838f;background:#151a21;border:1px solid #2a333d;border-radius:7px;min-height:30px;padding:0 10px;font-size:9px}.sd-recording-item>button:disabled{opacity:.55}@media (width<=900px){.camera-control-summary{grid-template-columns:1fr}.playback-item{grid-template-columns:96px minmax(0,1fr)}.playback-thumb{width:96px;height:54px}.sd-toolbar{flex-wrap:wrap;width:100%}}.sd-playback-stage{border:1px solid var(--line);background:#050708;border-radius:12px;margin-bottom:12px;overflow:hidden}.sd-playback-stage video{aspect-ratio:16/9;object-fit:contain;background:#000;width:100%;max-height:min(62vh,760px);display:block}.sd-playback-stage>div{border-top:1px solid var(--line);background:var(--panel);gap:3px;padding:10px 12px;display:grid}.sd-playback-stage strong{font-size:11px}.sd-playback-stage span{color:var(--muted);font-size:9px}.live-view.view-hidden{pointer-events:none;width:calc(100vw - 176px);height:100vh;display:block;position:fixed;top:0;left:-220vw;overflow:hidden}.status-pill.paused{color:#a9b6c4;background:#8597aa1f}.view-paused{border-color:#29313a}.paused-view{cursor:pointer;border:0}.paused-view:hover{background:radial-gradient(circle at 50% 40%,#67e0b01f,#0000 36%),#050708}.paused-view-icon{width:42px;height:42px;color:var(--accent);background:#67e0b014;border:1px solid #345448;border-radius:50%;place-items:center;margin:0 auto 4px;display:grid;font-size:17px!important}.paused-view strong{color:#c3ccd5;font-size:11px}.camera-footer .view-toggle{border-color:#365347}.camera-footer .view-toggle.paused{color:var(--accent);background:var(--accent-soft)}.camera-footer .record-active{color:#ff9aa1;border-color:#f36d7573}.camera-card,.camera-card button,.video-frame{-webkit-user-select:none;user-select:none}.grid-9 .camera-card{align-self:stretch;height:100%;position:relative}.grid-9 .camera-heading{min-height:30px;padding:4px 7px}.grid-9 .camera-heading>div{gap:0}.grid-9 .camera-heading strong{font-size:10px}.grid-9 .camera-heading span:not(.status-pill){display:none}.grid-9 .status-pill{padding:3px 6px;font-size:7px}.grid-9 .video-frame{aspect-ratio:16/9;flex:auto;align-self:center;width:auto;max-width:100%;height:0;max-height:100%}.grid-9 .camera-footer{justify-content:center;min-height:39px;padding:3px 5px}.grid-9 .camera-stream-label{display:none}.grid-9 .camera-tool-row{gap:4px}.grid-9 .camera-footer .camera-tool{width:40px;height:34px}.grid-9 .camera-footer .tool-icon{font-size:14px}.grid-9 .camera-footer .tool-label{font-size:7px}.sd-timeline-panel{border:1px solid var(--line);background:var(--panel);border-radius:11px;margin-bottom:12px;padding:11px 12px 14px}.sd-timeline-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.sd-timeline-head strong{font-size:11px}.sd-timeline-head span{color:var(--muted);font-size:9px}.sd-timeline-ruler{border-bottom:1px solid #28313a;height:18px;margin:0 5px;position:relative}.sd-timeline-ruler span{color:#65717d;font-size:8px;position:absolute;bottom:3px;transform:translate(-50%)}.sd-timeline-ruler span:first-child{transform:none}.sd-timeline-ruler span:last-child{transform:translate(-100%)}.sd-timeline-track{background:linear-gradient(90deg,#0000 24.9%,#1f2730 25%,#0000 25.1% 49.9%,#1f2730 50%,#0000 50.1% 74.9%,#1f2730 75%,#0000 75.1%),#0b0f14;border-radius:6px;height:28px;margin:6px 5px 0;position:relative}.sd-timeline-event{cursor:pointer;background:#567569;border:0;border-radius:3px;min-width:4px;height:18px;padding:0;position:absolute;top:5px}.sd-timeline-event:hover,.sd-timeline-event.active{background:var(--accent);box-shadow:0 0 0 2px #67e0b02e}.sd-timeline-event:disabled{cursor:wait;opacity:.65}.sd-motion-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px;display:grid}.sd-motion-card{border:1px solid var(--line);background:var(--panel);min-width:0;color:inherit;text-align:left;cursor:pointer;border-radius:10px;padding:0;overflow:hidden}.sd-motion-card:hover,.sd-motion-card.active{border-color:#456d5f;box-shadow:0 0 0 1px #67e0b01f}.sd-motion-card:disabled{cursor:wait;opacity:.72}.sd-motion-thumb{aspect-ratio:16/9;background:radial-gradient(circle at 50% 45%,#67e0b00f,#0000 38%),#050708;width:100%;position:relative;overflow:hidden}.sd-motion-thumb img{object-fit:cover;width:100%;height:100%;display:block}.sd-motion-badge{color:#ffd36f;letter-spacing:.08em;background:#080c10c7;border-radius:5px;padding:3px 5px;font-size:7px;font-weight:800;position:absolute;top:7px;left:7px}.sd-motion-preparing{color:var(--accent);background:#030608b8;place-items:center;font-size:10px;font-weight:750;display:grid;position:absolute;inset:0}.sd-motion-info{justify-content:space-between;align-items:center;gap:8px;padding:8px 9px 9px;display:flex}.sd-motion-info strong{font-size:11px}.sd-motion-info span{color:var(--muted);font-size:8px}.sd-motion-no-thumb{color:#83909c;text-align:center;background:radial-gradient(circle at 50% 45%,#67e0b014,#0000 34%),#070a0e;place-content:center;gap:5px;display:grid;position:absolute;inset:0}.sd-motion-no-thumb>span{color:var(--accent);font-size:22px}.sd-motion-no-thumb small{color:#66727d;font-size:8px}.sd-motion-thumb img{z-index:1;position:relative}.sd-motion-badge{z-index:2}.sd-motion-preparing{z-index:3}.camera-controls-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:9px;display:flex}.camera-controls-head strong{color:#d8e0e7;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:10px;overflow:hidden}.camera-controls-head button{color:#9ca7b2;cursor:pointer;background:#171d23;border:1px solid #2f3943;border-radius:7px;flex:0 0 28px;width:28px;height:26px}.camera-controls-head button:hover{color:var(--accent);border-color:#456d5f}.volume-control{grid-template-columns:minmax(0,1fr) 42px;align-items:center;gap:9px;display:grid}.volume-control input[type=range]{width:100%;accent-color:var(--accent);cursor:pointer}.volume-control output{color:#c7d1db;text-align:center;background:#131920;border:1px solid #29343e;border-radius:6px;min-width:42px;padding:4px 6px;font-size:9px}.sd-motion-badge.ready{color:#9ff6d1;background:#1e5743e0}.sd-timeline-event.ready{background:#35a878}.sd-timeline-event.ready:hover,.sd-timeline-event.ready.active{background:#68e1b2}.camera-controls .camera-controls-head{margin-bottom:6px}.camera-controls .camera-control-summary span{border-radius:6px;padding:4px 5px;font-size:8px}.camera-controls .camera-control-summary b{margin-bottom:1px;font-size:7px}.camera-controls .ptz-pad{grid-template-rows:repeat(3,28px);grid-template-columns:repeat(3,30px);gap:4px;width:102px;margin:0 auto}.camera-controls .ptz-pad button{border-radius:7px;font-size:11px}.camera-volume-strip{background:#0c1116;border-top:1px solid #1d252e;border-bottom:1px solid #1d252e;flex:none;grid-template-columns:28px minmax(0,1fr) 38px;align-items:center;gap:7px;min-height:30px;padding:3px 8px;display:grid}.camera-volume-strip button{color:#aeb8c3;cursor:pointer;background:#151b22;border:1px solid #28333d;border-radius:6px;width:28px;height:24px;font-size:12px}.camera-volume-strip button:disabled,.camera-volume-strip input:disabled{opacity:.45;cursor:default}.camera-volume-strip input[type=range]{width:100%;min-width:0;accent-color:var(--accent);cursor:pointer}.camera-volume-strip output{color:#9eabb7;text-align:right;font-size:8px}.grid-9 .camera-volume-strip{grid-template-columns:24px minmax(0,1fr) 32px;gap:5px;min-height:26px;padding:2px 6px}.grid-9 .camera-volume-strip button{width:24px;height:21px;font-size:10px}.grid-9 .camera-volume-strip output{font-size:7px}.sd-motion-card.playing{border-color:var(--accent);box-shadow:0 0 0 2px #67e0b042,0 0 24px #67e0b01c}.sd-motion-playing,.sd-motion-selected{z-index:4;letter-spacing:.06em;border-radius:6px;padding:4px 6px;font-size:7px;font-weight:850;position:absolute;top:7px;right:7px}.sd-motion-playing{color:#effff8;background:#35a878f0;box-shadow:0 0 0 2px #67e0b02e}.sd-motion-selected{color:var(--accent);background:#0f161ce6;border:1px solid #67e0b06b}.sd-timeline-event.playing{background:#9ff6d1!important;box-shadow:0 0 0 2px #67e0b052,0 0 12px #67e0b08c!important}.camera-controls .camera-controls-head{min-height:24px;margin-bottom:4px}.camera-controls .camera-controls-head strong{font-size:9px}.camera-controls .camera-controls-head button{flex-basis:24px;width:24px;height:22px}.camera-controls .camera-control-summary{gap:3px;margin-bottom:4px}.camera-controls .camera-control-summary span{padding:3px 4px;font-size:7px}.camera-controls .camera-control-summary b{margin:0 3px 0 0;font-size:6px;display:inline}.camera-controls .camera-control-section{padding-top:4px}.camera-controls .camera-control-section+.camera-control-section{margin-top:4px}.camera-controls .camera-control-section>label{margin-bottom:3px;font-size:6.5px}.camera-controls .ptz-pad{grid-template-rows:repeat(3,22px);grid-template-columns:repeat(3,27px);gap:3px;width:90px}.camera-controls .ptz-pad button{font-size:10px}.nav-item{border-radius:7px;padding:8px 9px}.toolbar-actions{gap:5px}.add-camera-toolbar,.layout-button{height:28px}.live-mode .camera-grid{align-items:stretch;gap:6px;height:calc(100dvh - 98px)}.live-mode .grid-1{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.live-mode .grid-4{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr))}.live-mode .grid-9{grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;height:calc(100dvh - 98px)}.live-mode .camera-card{height:100%;box-shadow:none;background:#0d1217;border-color:#26313a;border-radius:8px;align-self:stretch}.camera-card:hover{border-color:#3b4b55}.camera-card.selected{border-color:#5c8879;box-shadow:inset 0 0 0 1px #67e0b029}.camera-heading{z-index:12;background:linear-gradient(#05080be6 0%,#05080b94 55%,#0000 100%);border:0;min-height:34px;padding:7px 9px 13px;position:absolute;inset:0 0 auto}.camera-heading>div{gap:1px}.camera-heading strong{text-shadow:0 1px 3px #000c;font-size:11px;font-weight:680}.camera-heading span:not(.status-pill){color:#a1acb7;text-shadow:0 1px 3px #000c;font-size:8px}.status-pill{letter-spacing:.04em;text-shadow:0 1px 3px #000000d9;border-radius:0;padding:0;font-size:8px;background:0 0!important}.status-pill.online{color:#74dcb3}.status-pill.recording{color:#ff878f;box-shadow:none}.status-pill.reconnecting{color:#ffc96c}.live-mode .video-frame,.grid-9 .video-frame{aspect-ratio:16/9;border-radius:0;flex:auto;align-self:center;width:auto;max-width:100%;height:0;max-height:100%}.camera-footer,.grid-9 .camera-footer{background:#0d1217;border-top:1px solid #202932;justify-content:center;min-height:36px;padding:2px 5px}.camera-stream-label,.grid-9 .camera-stream-label{display:none}.camera-tool-row,.grid-9 .camera-tool-row{justify-content:center;align-items:center;gap:4px;width:100%;min-width:0;display:flex}.camera-footer .camera-tool,.grid-9 .camera-footer .camera-tool{color:#aeb9c4;background:0 0;border:0;border-radius:6px;flex:0 0 38px;gap:0;width:38px;height:32px;padding:2px}.camera-footer .camera-tool:hover{color:#d8eee6;background:#172029;border:0}.camera-footer .camera-tool.active-tool{color:#78ddb6;background:#183028;border:0}.camera-footer .tool-icon,.grid-9 .camera-footer .tool-icon{font-size:14px;line-height:15px}.camera-footer .tool-label,.grid-9 .camera-footer .tool-label{color:#87929e;letter-spacing:0;font-size:8px;font-weight:650;line-height:10px}.camera-volume-inline{flex:0 108px;align-items:center;gap:4px;width:clamp(72px,19%,108px);min-width:72px;height:32px;padding:0 3px;display:flex}.camera-volume-inline input[type=range]{accent-color:#64cfa6;cursor:pointer;width:100%;min-width:0;height:18px;margin:0}.camera-volume-inline output{color:#8e99a5;font-variant-numeric:tabular-nums;text-align:right;flex:0 0 30px;width:30px;font-size:8px}.camera-volume-inline input:disabled{opacity:.35;cursor:default}.camera-controls{z-index:24;-webkit-backdrop-filter:none;backdrop-filter:none;background:#10161c;border:1px solid #34424c;border-radius:8px;width:min(318px,100% - 12px);max-height:none;padding:10px;position:absolute;top:auto;bottom:42px;right:6px;overflow:visible;box-shadow:0 12px 30px #0000006b}.camera-controls-head,.camera-controls .camera-controls-head{justify-content:space-between;align-items:center;min-height:0;margin:0 0 7px;display:flex}.camera-controls-head>div{align-items:baseline;gap:7px;min-width:0;display:flex}.camera-controls-head strong,.camera-controls .camera-controls-head strong{color:#edf2f5;font-size:12px;font-weight:680}.camera-controls-head span{color:#87939f;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:9px;overflow:hidden}.camera-controls-head button,.camera-controls .camera-controls-head button{color:#a9b5bf;background:#1a222a;border:0;border-radius:5px;flex:0 0 26px;width:26px;height:26px;font-size:12px}.camera-tool-meta{color:#8f9ba6;border-bottom:1px solid #253039;align-items:center;gap:7px;min-width:0;padding:0 0 8px;font-size:9px;display:flex}.camera-tool-meta b{color:#75d9b2;font-weight:650}.camera-tool-meta span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.camera-tool-meta span+span:before{content:"·";color:#4f5d68;margin-right:7px}.camera-control-line{grid-template-columns:48px minmax(0,1fr);align-items:center;gap:8px;min-height:38px;padding:7px 0 0;display:grid}.camera-control-line+.camera-control-line{border-top:1px solid #202a32;margin-top:5px}.camera-control-label{color:#8e9aa5;font-size:10px;font-weight:600}.camera-controls .card-quality-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.camera-controls .quality-buttons button{border-radius:6px;min-height:30px;font-size:10px}.ptz-inline{grid-template-columns:repeat(5,31px);justify-content:start;gap:4px;display:grid}.ptz-inline button,.ptz-inline .ptz-center-dot{color:#c0c9d1;background:#171e25;border:1px solid #2e3a44;border-radius:6px;place-items:center;width:31px;height:30px;font-size:11px;display:grid}.ptz-inline button:hover{color:#82e0bb;background:#17251f;border-color:#4d7466}.ptz-inline button:disabled{opacity:.45}@media (width<=1120px){.app-shell{grid-template-columns:150px minmax(0,1fr)}}.setup-modal-wide{border-radius:10px;width:min(780px,100vw - 32px);overflow:hidden}.setup-modal-wide .setup-modal-head h2{letter-spacing:-.015em;font-size:19px}.setup-modal-wide .setup-modal-head p{font-size:11px;line-height:1.45}.setup-provider-tabs{background:#0e1318;border-bottom:1px solid #273039;align-items:center;gap:0;padding:0 18px;display:flex}.setup-provider-tabs button{color:#8995a0;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;min-height:40px;padding:0 14px;font-size:11px;font-weight:600}.setup-provider-tabs button:hover{color:#d1d8de}.setup-provider-tabs button.active{color:#e4f4ed;border-bottom-color:#6bcba7}.provider-panel{min-height:250px;padding:0}.provider-intro{grid-column:1/-1;gap:3px;padding-bottom:3px;display:grid}.provider-intro strong{color:#e0e6eb;font-size:13px}.provider-intro span{color:#7f8b96;font-size:10px}.tapo-login-form{grid-template-columns:1fr 1fr;align-items:end}.tapo-login-form>button,.tapo-login-form>small{grid-column:1/-1}.tapo-login-form label{font-size:10px}.tapo-login-form input{min-height:40px;font-size:12px}.setup-account-bar{border-bottom:1px solid #252e36;justify-content:space-between;align-items:center;gap:12px;min-height:54px;padding:11px 18px;display:flex}.setup-account-bar>div:first-child{gap:2px;min-width:0;display:grid}.setup-account-bar strong{color:#dce3e8;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.setup-account-bar span{color:#7f8a95;font-size:9px}.setup-account-bar>div:last-child{gap:6px;display:flex}.setup-account-bar button{color:#c0c9d1;cursor:pointer;background:#151b21;border:1px solid #303a44;border-radius:6px;min-height:30px;padding:0 10px;font-size:9px}.setup-account-bar button.text-button{color:#85919c;background:0 0;border-color:#0000}.setup-device-list{padding:0 18px 14px}.setup-device-row{border-bottom:1px solid #222b33;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-height:72px;padding:11px 0;display:grid}.setup-device-row:last-child{border-bottom:0}.setup-device-main{gap:2px;min-width:0;display:grid}.setup-device-main strong{color:#dde4e9;font-size:12px;font-weight:650}.setup-device-main span{color:#9aa5ae;font-size:10px}.setup-device-main small{color:#6f7b86;text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.setup-linked{color:#77d7b2;font-size:10px;font-weight:650}.setup-link-actions{align-items:center;gap:6px;display:flex}.setup-link-actions select{color:#b9c2ca;background:#0c1116;border:1px solid #303a43;border-radius:6px;max-width:190px;min-height:32px;padding:0 8px;font-size:9px}.setup-link-actions button{color:#7ad6b3;cursor:pointer;background:#15251f;border:1px solid #3a6556;border-radius:6px;min-height:32px;padding:0 10px;font-size:9px}.setup-link-actions button:disabled{opacity:.45;cursor:not-allowed}.provider-status-line{color:#77838e;border-bottom:1px solid #252e36;align-items:center;gap:9px;min-height:42px;padding:10px 20px;font-size:9px;display:flex}.provider-status-line b{color:#d27d83;font-weight:650}.provider-status-line b.good{color:#73d5b0}@media (width<=720px){.tapo-login-form{grid-template-columns:1fr}.tapo-login-form>button,.tapo-login-form>small{grid-column:1}.setup-device-row{grid-template-columns:1fr}.setup-link-actions{flex-direction:column;align-items:stretch}.setup-link-actions select{max-width:none}}.app-shell{grid-template-rows:50px minmax(0,1fr);grid-template-columns:156px minmax(0,1fr)}.topbar{padding:0 16px}.brand{gap:9px}.brand-mark{border-radius:7px;width:30px;height:30px;font-size:10px}.brand strong{font-size:14px}.brand span{font-size:10px}.nav-item{border-radius:7px;grid-template-columns:20px 1fr auto;gap:7px;min-height:37px;padding:8px 9px;font-size:12px}.sidebar-note{border-radius:8px;padding:9px}.live-mode .workspace-toolbar{min-height:31px;margin-bottom:5px}.live-mode .workspace-toolbar h1{font-size:15px}.add-camera-toolbar{border-radius:6px;align-items:center;gap:6px;height:29px;font-size:11px;display:inline-flex}.layout-button{border-radius:6px;width:30px;height:29px}.grid-9{gap:6px;height:calc(100dvh - 99px)}.camera-card{box-shadow:none;border-radius:8px}.camera-card.selected{box-shadow:inset 0 0 0 1px #67e0b06b}.camera-heading,.grid-9 .camera-heading{min-height:28px;padding:4px 7px}.camera-heading strong,.grid-9 .camera-heading strong{letter-spacing:-.01em;font-size:12px;font-weight:680}.camera-heading span:not(.status-pill){font-size:9px}.status-pill,.grid-9 .status-pill{letter-spacing:.03em;border-radius:5px;padding:3px 6px;font-size:8px}.camera-footer,.grid-9 .camera-footer{border-top:1px solid #202932;min-height:36px;padding:2px 4px}.camera-tool-row,.grid-9 .camera-tool-row{justify-content:center;gap:4px}.camera-footer .camera-tool,.grid-9 .camera-footer .camera-tool{border-radius:6px;flex:0 0 38px;align-content:center;place-items:center;gap:1px;width:38px;height:32px;display:grid}.camera-footer .tool-label,.grid-9 .camera-footer .tool-label{font-size:8.5px;font-weight:650;line-height:9px}.camera-volume-inline{flex:0 70px;width:70px;min-width:62px;max-width:74px;height:32px;padding:0 2px}.camera-volume-inline input[type=range]{height:18px}.camera-controls{background:#10161c;border-radius:8px;width:min(292px,100% - 12px);height:auto;max-height:none;padding:10px;top:auto;bottom:40px;right:6px;overflow:visible}.camera-controls-head,.camera-controls .camera-controls-head{margin-bottom:8px}.camera-controls-head strong,.camera-controls .camera-controls-head strong{font-size:13px}.camera-controls-head span{font-size:10px}.camera-tool-meta{padding-bottom:8px;font-size:10px}.camera-control-line{grid-template-columns:50px minmax(0,1fr);min-height:40px;padding-top:8px}.camera-control-label{font-size:11px;font-weight:650}.camera-controls .quality-buttons button{min-height:31px;font-size:11px}.ptz-inline{grid-template-columns:repeat(5,33px);gap:4px}.ptz-inline button,.ptz-inline .ptz-center-dot{border-radius:6px;width:33px;height:32px}.setup-modal-wide{width:min(760px,100vw - 32px)}.setup-modal-wide .setup-modal-head{padding:18px 20px 15px}.setup-modal-wide .setup-modal-head h2{margin:0 0 4px;font-size:20px}.setup-modal-wide .setup-modal-head p{max-width:66ch;font-size:12px}.setup-provider-tabs{padding:0 20px}.setup-provider-tabs button{min-height:42px;font-size:12px}.provider-intro strong{font-size:14px}.provider-intro span,.tapo-login-form label{font-size:11px}.setup-form input,.setup-row select,.setup-device-main strong{font-size:13px}.setup-device-main span{font-size:11px}.setup-device-main small,.setup-link-actions select,.setup-link-actions button{font-size:10px}.live-mode .camera-grid{height:calc(100dvh - 99px)}.grid-1{grid-template-rows:minmax(0,1fr)}.grid-4{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;height:calc(100dvh - 99px)}.grid-9{grid-template-rows:repeat(3,minmax(0,1fr));height:calc(100dvh - 99px)}.live-mode .camera-card{aspect-ratio:16/9;background:#020405;place-self:center;width:auto;max-width:100%;height:100%;max-height:100%;display:block}.live-mode .video-frame,.grid-9 .video-frame{aspect-ratio:16/9;border-radius:inherit;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}.live-mode .camera-heading,.grid-9 .camera-heading{z-index:12;background:#080c10e6;border-bottom:1px solid #2b353fc7;min-height:30px;position:absolute;top:0;left:0;right:0}.live-mode .camera-footer,.grid-9 .camera-footer{z-index:12;background:#080c10eb;min-height:38px;position:absolute;bottom:0;left:0;right:0}.live-mode .camera-controls{bottom:43px}.camera-footer .tool-label,.grid-9 .camera-footer .tool-label{font-size:9.5px}.live-mode .camera-card{border:0;box-shadow:inset 0 0 0 1px #263039}.live-mode .camera-card:hover{box-shadow:inset 0 0 0 1px #3a4651}.live-mode .camera-card.selected{box-shadow:inset 0 0 0 1px #67e0b0b8}.live-mode .camera-grid,.live-mode .grid-4,.live-mode .grid-9{gap:2px}.live-mode .camera-card{border-radius:5px;box-shadow:inset 0 0 0 1px #222b33}.live-mode .camera-heading,.grid-9 .camera-heading{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#05090c94;border:1px solid #46525c61;border-radius:6px;gap:7px;width:auto;max-width:min(68%,260px);min-height:0;padding:4px 5px 4px 7px;top:5px;left:auto;right:5px}.live-mode .camera-heading>div{min-width:0}.live-mode .camera-heading strong,.grid-9 .camera-heading strong{text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;display:block;overflow:hidden}.live-mode .camera-heading span:not(.status-pill){display:none}.live-mode .status-pill,.grid-9 .status-pill{background:#080c0f8c;flex:none;padding:2px 5px;font-size:7px}.status-pill.remote{color:#9cb8d8;border-color:#6897cc59}.live-mode .camera-footer,.grid-9 .camera-footer{background:linear-gradient(#0000 0%,#0000002e 18%,#0000009e 56%,#000000e0 100%);border:0;min-height:43px;padding:10px 4px 3px}.live-mode .camera-footer .camera-tool,.grid-9 .camera-footer .camera-tool{background:#0f151b9e;border-color:#68768238}.live-mode .camera-footer .camera-tool:hover,.grid-9 .camera-footer .camera-tool:hover{background:#182429c7}.live-mode .camera-footer .tool-label,.grid-9 .camera-footer .tool-label{color:#a4afb8}.remote-camera{background:radial-gradient(circle at 50% 45%,#5080aa1f,#0000 38%),#06090c}.remote-camera span{color:#b8c9da}.wall-page-picker{background:#11171d;border:1px solid #2a343d;border-radius:6px;align-items:center;gap:5px;height:29px;padding:0 6px 0 8px;display:flex}.wall-page-picker>span,.toolbar-label{color:#697681;letter-spacing:.05em;text-transform:uppercase;font-size:8px;font-weight:700}.wall-page-picker select{color:#c7d0d7;background:0 0;border:0;outline:0;max-width:128px;height:25px;padding:0 18px 0 3px;font-size:10px}.toolbar-icon-button,.edit-grid-button{color:#aab5be;cursor:pointer;background:#13191f;border:1px solid #2b353e;border-radius:6px;height:29px}.toolbar-icon-button{place-items:center;width:29px;display:grid}.edit-grid-button{align-items:center;gap:5px;padding:0 9px;font-size:10px;display:inline-flex}.toolbar-icon-button:hover,.edit-grid-button:hover{color:#79d6b2;border-color:#3f6155}.empty-grid-button{color:#8d9aa5;cursor:pointer;background:#0e1419;border:1px dashed #35414b;border-radius:8px;place-self:center;min-width:260px;min-height:80px}.wall-layout-modal{background:#0f151a;border:1px solid #303a43;border-radius:10px;width:min(520px,100vw - 32px);max-height:min(760px,100vh - 32px);overflow:auto;box-shadow:0 24px 60px #0000008c}.wall-layout-head{border-bottom:1px solid #253039;justify-content:space-between;align-items:center;padding:15px 16px 12px;display:flex}.wall-layout-head span{color:#6d7984;letter-spacing:.08em;font-size:8px;font-weight:750}.wall-layout-head h2{color:#e2e8ed;margin:2px 0 0;font-size:18px}.wall-layout-head button{color:#9ca8b2;background:#161d23;border:1px solid #2f3942;border-radius:7px;place-items:center;width:30px;height:30px;display:grid}.wall-page-name{color:#7f8b96;gap:5px;padding:12px 16px 8px;font-size:9px;display:grid}.wall-page-name input,.wall-slot-row select{color:#cbd3da;background:#0b1015;border:1px solid #2d3740;border-radius:6px;min-height:34px}.wall-page-name input{padding:0 9px}.wall-slot-list{gap:5px;padding:6px 16px 12px;display:grid}.wall-slot-row{grid-template-columns:54px minmax(0,1fr);align-items:center;gap:8px;display:grid}.wall-slot-row>span{color:#798691;font-size:9px}.wall-slot-row select{padding:0 8px;font-size:10px}.wall-layout-actions{border-top:1px solid #253039;align-items:center;gap:8px;padding:10px 16px 14px;display:flex}.wall-layout-actions .primary-button{margin-left:auto}.danger-text-button{color:#c67b82;cursor:pointer;background:0 0;border:0;min-height:32px;padding:0 8px}.setup-linked.remote{color:#8fb2d6}.live-mode .grid-9{grid-template-columns:repeat(3,minmax(0,min(59.2593dvh - 61.0371px,33.3333% - 1.33333px)));justify-content:center}.live-mode .grid-4{grid-template-columns:repeat(2,minmax(0,min(88.8889dvh - 89.7778px,50% - 1px)));justify-content:center}.live-mode .grid-1{grid-template-columns:minmax(0,min(177.778dvh - 176px,100%));justify-content:center}.setup-account-bar button.add-all-tapo{color:#79d7b2;background:#14221d;border-color:#3c6557;align-items:center;gap:5px;display:inline-flex}.setup-account-bar button.add-all-tapo:hover{background:#172b24;border-color:#548877}.app-shell{grid-template-columns:208px minmax(0,1fr)}.sidebar{padding:12px 10px}.side-divider{background:#202a32;height:1px;margin:12px 4px}.house-switcher{gap:3px;display:grid}.house-button{color:#84919b;cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:7px;grid-template-columns:24px minmax(0,1fr) 8px;align-items:center;gap:8px;width:100%;min-height:58px;padding:8px 9px;display:grid;position:relative}.house-button:hover{color:#c8d1d7;background:#11181d}.house-button.active{color:#dce7e2;background:#14221d;border-color:#315548}.house-button.active>svg{color:#72d5ad}.house-button-copy{gap:2px;min-width:0;display:grid}.house-button-copy strong{letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:680;overflow:hidden}.house-button-copy small{color:#66757f;text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.house-button.active .house-button-copy small{color:#83a898}.house-state{background:#4d5962;border-radius:50%;width:6px;height:6px}.house-state.live{background:#67dfb0;box-shadow:0 0 0 3px #67dfb014}.side-layout-switcher{background:#0b1014;border:1px solid #28323a;border-radius:7px;grid-template-columns:repeat(3,1fr);gap:3px;padding:3px;display:grid}.side-layout-switcher button{color:#71808a;cursor:pointer;background:0 0;border:0;border-radius:5px;min-height:34px;font-size:11px;font-weight:700}.side-layout-switcher button:hover{color:#b8c2c9;background:#151c22}.side-layout-switcher button.active{color:#75deb4;background:#1a3028}.side-wall-actions{gap:4px;margin-top:7px;display:grid}.side-wall-actions button{color:#a7b2ba;cursor:pointer;background:#11171c;border:1px solid #2a353d;border-radius:6px;align-items:center;gap:8px;min-height:36px;padding:0 10px;font-size:10px;font-weight:650;display:flex}.side-wall-actions button:hover{color:#d0d8dd;border-color:#405049}.side-wall-actions button.accent{color:#74dcb2;background:#14251e;border-color:#35624f}.live-mode .workspace{padding:4px}.live-mode .camera-grid{align-content:center;align-items:start;gap:2px;height:calc(100dvh - 58px)}.live-mode .grid-9{grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:repeat(3,calc(59.2593dvh - 36.7408px));justify-content:center}.live-mode .grid-4{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,calc(88.8889dvh - 53.3333px));justify-content:center}.live-mode .grid-1{grid-template-rows:auto;grid-template-columns:minmax(0,min(100%,177.778dvh - 103.111px));justify-content:center}.live-mode .camera-card:not(.house-hidden){aspect-ratio:16/9;align-self:start;width:100%;max-width:none;height:auto;max-height:none}.live-mode .grid-4 .camera-card:not(.house-hidden),.live-mode .grid-9 .camera-card:not(.house-hidden){place-self:stretch stretch;width:100%;max-width:none;height:100%;max-height:none}.live-mode .camera-card.house-hidden{opacity:0!important;pointer-events:none!important;z-index:-10!important;width:480px!important;max-width:none!important;height:270px!important;max-height:none!important;position:fixed!important;top:0!important;left:-240vw!important}.live-mode .camera-heading,.grid-9 .camera-heading{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#060a0d7a;border-color:#54626c47;max-width:min(56%,230px);top:5px;right:5px}.live-mode .camera-footer,.grid-9 .camera-footer{background:linear-gradient(#0000 0%,#0103041a 18%,#01030480 52%,#010304d1 100%);min-height:41px;padding:9px 4px 3px}.mobile-dock{display:none}.top-logout{color:#8f9aa4;cursor:pointer;background:#11171d;border:1px solid #2a343d;border-radius:6px;min-height:28px;padding:0 9px;font-size:9px}.top-logout:hover{color:#cbd5d0;border-color:#3d5149}.auth-shell{min-height:100dvh;padding:calc(24px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));color:#edf2f5;background:radial-gradient(circle at 50% 20%,#67e0b014,#0000 34%),#0b0e13;place-items:center;display:grid}.auth-loading{text-align:center;align-content:center;gap:8px}.auth-loading>strong{margin-top:4px;font-size:18px}.auth-loading>span{color:#7c8994;font-size:11px}.auth-brand-mark{color:#07110d;letter-spacing:.04em;background:#67e0b0;border-radius:12px;place-items:center;width:48px;height:48px;font-size:14px;font-weight:900;display:grid}.auth-card{background:#10151b;border:1px solid #28323a;border-radius:14px;gap:14px;width:min(360px,100%);padding:24px;display:grid;box-shadow:0 24px 60px #0000006b}.auth-card .auth-brand-mark{margin-bottom:2px}.auth-copy h1{letter-spacing:-.02em;margin:0;font-size:22px}.auth-copy p{color:#77838e;margin:5px 0 0;font-size:11px;line-height:1.5}.auth-card label{gap:6px;display:grid}.auth-card label>span{color:#84909b;font-size:10px;font-weight:650}.auth-card input{color:#edf2f5;background:#090e12;border:1px solid #2d3841;border-radius:8px;outline:0;width:100%;min-height:44px;padding:0 12px;font-size:16px}.auth-card input:focus{border-color:#4f7769;box-shadow:0 0 0 3px #67e0b014}.auth-card>button{color:#8ee5c3;cursor:pointer;background:#183228;border:1px solid #3e6c5b;border-radius:8px;min-height:44px;font-weight:750}.auth-card>button:disabled{opacity:.55;cursor:wait}.auth-card>small{color:#64717b;font-size:9px;line-height:1.45}.auth-error{color:#e6969c;background:#f36d7512;border:1px solid #f36d754d;border-radius:7px;padding:9px 10px;font-size:10px}@media (width<=760px){html,body,#root{background:#0b0e13;width:100%;min-height:100%;margin:0}body{overscroll-behavior:none;-webkit-tap-highlight-color:transparent;overflow:hidden}.app-shell{background:#080c10;height:100dvh;min-height:100dvh;overflow:hidden;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:calc(50px + env(safe-area-inset-top)) minmax(0, 1fr)!important;grid-template-areas:"top""work"!important;display:grid!important}.topbar{z-index:50;height:auto;min-height:50px;padding:env(safe-area-inset-top) 10px 0;background:#0a0e12f7;border-bottom:1px solid #202a32;grid-area:top;position:relative;top:auto}.brand{gap:8px}.brand-mark{border-radius:7px;width:28px;height:28px;font-size:9px}.brand strong{font-size:13px}.brand span{display:none}.top-status{letter-spacing:0;gap:7px;font-size:9px}.top-status>span{display:none!important}.top-status>.live-dot,.top-status>span:last-of-type{display:block!important}.top-status>span:last-of-type{color:#8c98a2}.top-logout{min-height:28px;padding:0 7px;font-size:8px}.sidebar{display:none!important}.workspace,.live-mode .workspace,.content-mode .workspace{width:100%;min-width:0;min-height:0;padding:4px 4px calc(68px + env(safe-area-inset-bottom));overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;grid-area:work;overflow:hidden auto!important}.live-mode .camera-grid,.live-mode .grid-1,.live-mode .grid-4,.live-mode .grid-9{grid-auto-rows:auto;place-content:start stretch;align-items:start;gap:4px;width:100%;display:grid;grid-template-rows:none!important;grid-template-columns:minmax(0,1fr)!important;height:auto!important;min-height:0!important}.live-mode .camera-card:not(.house-hidden),.live-mode .grid-4 .camera-card:not(.house-hidden),.live-mode .grid-9 .camera-card:not(.house-hidden){aspect-ratio:16/9;border-radius:8px;min-height:0;place-self:start stretch!important;width:100%!important;height:auto!important}.live-mode .video-frame,.grid-9 .video-frame{aspect-ratio:auto;max-width:none;max-height:none;position:absolute;inset:0;width:100%!important;height:100%!important}.live-mode .camera-heading,.grid-9 .camera-heading{border-radius:6px;max-width:64%;min-height:28px;padding:5px 7px;top:5px;left:auto;right:5px}.live-mode .camera-heading strong,.grid-9 .camera-heading strong{font-size:10px}.live-mode .camera-footer,.grid-9 .camera-footer{min-height:38px;padding:7px 3px 2px;bottom:0;left:0;right:0}.live-mode .camera-footer .camera-tool,.grid-9 .camera-footer .camera-tool{flex-basis:36px;width:36px;height:31px}.camera-volume-inline{display:none}.camera-controls{left:8px;right:8px;bottom:calc(66px + env(safe-area-inset-bottom));z-index:80;width:auto;max-height:min(70dvh,520px);position:fixed;overflow:auto}.house-hidden{pointer-events:none!important}.mobile-dock{left:6px;right:6px;bottom:calc(6px + env(safe-area-inset-bottom));z-index:70;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0b1015f0;border:1px solid #36444ed9;border-radius:12px;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;min-height:54px;padding:4px;display:grid;position:fixed;box-shadow:0 12px 36px #0000006b}.mobile-dock button{color:#77848e;cursor:pointer;background:0 0;border:0;border-radius:8px;align-content:center;place-items:center;gap:2px;min-width:0;min-height:46px;padding:4px 2px;display:grid}.mobile-dock button.active{color:#78ddb7;background:#173027}.mobile-dock button span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:8px;font-weight:650;overflow:hidden}.content-mode .view-pane{min-width:0}.recordings-grid,.sd-motion-grid{grid-template-columns:1fr}.sd-timeline-panel,.recordings-panel,.playback-panel{border-radius:8px}.action-toast{top:calc(58px + env(safe-area-inset-top));white-space:normal;text-align:center;max-width:calc(100vw - 24px)}.auth-shell{padding:calc(18px + env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom))}.auth-card{border-radius:12px;padding:20px}}@media (width<=760px) and (orientation:landscape){.live-mode .camera-grid,.live-mode .grid-4,.live-mode .grid-9{grid-template-columns:repeat(2,minmax(0,1fr))!important}.live-mode .camera-card:not(.house-hidden),.live-mode .grid-4 .camera-card:not(.house-hidden),.live-mode .grid-9 .camera-card:not(.house-hidden){aspect-ratio:16/9}}@media (width<=760px){.app-shell{grid-template-rows:calc(50px + env(safe-area-inset-top)) minmax(0, 1fr) calc(58px + env(safe-area-inset-bottom))!important;grid-template-areas:"top""work""dock"!important}.topbar{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important;background:#0b1015!important}.topbar .brand-mark{filter:none!important;box-shadow:none!important}.topbar .brand strong,.topbar .brand span,.top-status,.top-status *{text-shadow:none!important;filter:none!important}.top-status .live-dot{box-shadow:none!important}.workspace,.live-mode .workspace,.content-mode .workspace{padding:4px!important}.mobile-dock{width:100%;height:100%;min-height:0;padding:4px 6px calc(4px + env(safe-area-inset-bottom));box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:#0b1015;border:0;border-top:1px solid #253039;border-radius:0;grid-area:dock;position:relative!important;bottom:auto!important;left:auto!important;right:auto!important}.mobile-dock button{border-radius:7px;min-height:46px}.camera-controls{bottom:calc(58px + env(safe-area-inset-bottom))}}.remote-ptz-note{align-items:start}.remote-ptz-note>span:last-child{color:#7f8c96;font-size:8px;line-height:1.45}.playback-thumb-mobile{color:var(--accent);place-items:center;display:grid}.app-shell.has-app-fullscreen{overflow:hidden!important}.camera-card.app-fullscreen{z-index:10000!important;aspect-ratio:auto!important;background:#000!important;border:0!important;border-radius:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;margin:0!important;position:fixed!important;inset:0!important}.camera-card.app-fullscreen .video-frame{aspect-ratio:auto!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;position:absolute!important;inset:0!important}.camera-card.app-fullscreen .video-frame iframe{width:100%!important;height:100%!important}.camera-card.app-fullscreen .camera-heading{z-index:10002!important}.camera-card.app-fullscreen .camera-footer{left:0!important;right:0!important;bottom:env(safe-area-inset-bottom)!important;z-index:10002!important;position:absolute!important}.camera-card.app-fullscreen .camera-controls{z-index:10003!important}.has-app-fullscreen>.topbar,.has-app-fullscreen>.mobile-dock{visibility:hidden!important}@media (width<=760px){.recordings-view .workspace-toolbar{gap:10px}.playback-layout{gap:10px;width:100%;grid-template-columns:minmax(0,1fr)!important}.playback-stage{border-radius:9px;width:100%;min-height:0}.playback-stage video{aspect-ratio:16/9;object-fit:contain;background:#000;flex:none;width:100%;height:auto;max-height:none}.playback-meta{padding:9px 10px}.playback-meta strong{font-size:9px}.playback-list{gap:6px;width:100%;max-height:none;padding-right:0;overflow:visible}.playback-item{grid-template-rows:auto auto;align-items:center;min-width:0;grid-template-columns:56px minmax(0,1fr)!important}.playback-thumb,.playback-thumb-mobile{background:#070b0f;border:1px solid #2b3740;border-radius:7px;grid-row:1/span 2;width:48px!important;height:48px!important;margin:7px!important}.playback-select{min-width:0;padding:8px 8px 3px!important}.playback-select strong,.playback-select span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.playback-item .recording-actions{grid-column:2;padding:3px 8px 8px}.playback-item .recording-actions a,.playback-item .recording-actions button{min-height:34px}.camera-card.app-fullscreen .camera-heading{top:env(safe-area-inset-top)!important;right:6px!important}.camera-card.app-fullscreen .camera-footer{min-height:50px;padding-bottom:max(4px, env(safe-area-inset-bottom))}}.mobile-camera-tap-layer{display:none}.app-shell.mobile-shell{min-height:100dvh;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:calc(50px + env(safe-area-inset-top)) minmax(0, 1fr) calc(58px + env(safe-area-inset-bottom))!important;grid-template-areas:"top""work""dock"!important}.mobile-shell .sidebar{display:none!important}.mobile-shell .topbar{grid-area:top;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important;background:#0b1015!important}.mobile-shell .workspace{grid-area:work;min-width:0;min-height:0;overflow:hidden auto;padding:4px!important}.mobile-shell .mobile-dock{z-index:200;width:100%;height:100%;min-height:0;padding:4px 6px calc(4px + env(safe-area-inset-bottom));box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:#0b1015;border:0;border-top:1px solid #253039;border-radius:0;grid-area:dock;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;display:grid!important;position:relative!important;bottom:auto!important;left:auto!important;right:auto!important}.mobile-shell .mobile-dock button{border-radius:7px;min-width:0;min-height:46px;padding:4px 2px}.mobile-shell.live-mode .camera-grid,.mobile-shell.live-mode .grid-1,.mobile-shell.live-mode .grid-4,.mobile-shell.live-mode .grid-9{grid-auto-rows:auto;align-content:start;align-items:start;width:100%;min-height:0;display:grid;grid-template-rows:none!important;grid-template-columns:minmax(0,1fr)!important;gap:4px!important;height:auto!important}.mobile-shell.live-mode .camera-card:not(.house-hidden),.mobile-shell.live-mode .grid-4 .camera-card:not(.house-hidden),.mobile-shell.live-mode .grid-9 .camera-card:not(.house-hidden){position:relative;overflow:visible;aspect-ratio:auto!important;align-self:start!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important}.mobile-shell .video-frame,.mobile-shell .grid-9 .video-frame{position:relative;overflow:hidden;aspect-ratio:16/9!important;flex:none!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important}.mobile-shell .video-frame iframe{width:100%!important;height:100%!important}.mobile-shell .mobile-camera-tap-layer{z-index:11;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:0;padding:0;display:block;position:absolute;inset:0}.mobile-shell .camera-footer,.mobile-shell .grid-9 .camera-footer{z-index:14;background:#0d1217;border-top:1px solid #202932;width:100%;min-height:0!important;padding:0!important;display:none!important;position:relative!important;bottom:auto!important;left:auto!important;right:auto!important}.mobile-shell .camera-card.mobile-controls-open .camera-footer,.mobile-shell .camera-card.app-fullscreen.mobile-controls-open .camera-footer{min-height:48px!important;padding:5px 4px!important;display:flex!important}.mobile-shell .camera-footer .camera-tool-row{justify-content:space-evenly;gap:2px;width:100%}.mobile-shell .camera-footer .camera-tool{flex:0 0 44px!important;width:44px!important;height:38px!important}.mobile-shell .camera-controls{-webkit-overflow-scrolling:touch;top:calc(58px + env(safe-area-inset-top))!important;right:8px!important;bottom:calc(64px + env(safe-area-inset-bottom))!important;z-index:10030!important;width:auto!important;max-height:none!important;position:fixed!important;left:8px!important;overflow:hidden auto!important}.mobile-shell .camera-controls .ptz-inline{flex-wrap:wrap}.mobile-shell.has-app-fullscreen .camera-controls{top:calc(8px + env(safe-area-inset-top))!important;bottom:calc(8px + env(safe-area-inset-bottom))!important}.mobile-shell .camera-card.app-fullscreen{z-index:10000!important;background:#000!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;position:fixed!important;inset:0!important;overflow:hidden!important}.mobile-shell .camera-card.app-fullscreen .video-frame{aspect-ratio:auto!important;width:100%!important;height:100%!important;position:absolute!important;inset:0!important}.mobile-shell .camera-card.app-fullscreen .camera-footer{left:0!important;right:0!important;bottom:env(safe-area-inset-bottom)!important;z-index:10020!important;position:absolute!important}.mobile-shell.has-app-fullscreen>.topbar,.mobile-shell.has-app-fullscreen>.mobile-dock{visibility:hidden!important}@media (orientation:landscape){.app-shell.mobile-shell.live-mode .camera-grid,.app-shell.mobile-shell.live-mode .grid-4,.app-shell.mobile-shell.live-mode .grid-9{grid-template-columns:repeat(2,minmax(0,1fr))!important}.app-shell.mobile-shell .topbar{padding-left:max(10px, env(safe-area-inset-left));padding-right:max(10px, env(safe-area-inset-right))}.app-shell.mobile-shell .mobile-dock{padding-left:max(6px, env(safe-area-inset-left));padding-right:max(6px, env(safe-area-inset-right))}.app-shell.mobile-shell .camera-card.app-fullscreen{width:100vw!important;height:100dvh!important;inset:0!important;transform:none!important}}@media (orientation:portrait){.app-shell.mobile-shell .camera-card.app-fullscreen{transform-origin:50%;width:100dvh!important;height:100vw!important;inset:50% auto auto 50%!important;transform:translate(-50%,-50%)rotate(90deg)!important}}.mobile-shell.live-mode .camera-card:not(.house-hidden),.mobile-shell.live-mode .grid-4 .camera-card:not(.house-hidden),.mobile-shell.live-mode .grid-9 .camera-card:not(.house-hidden){contain:layout paint;background:#05080b;border-radius:8px;aspect-ratio:16/9!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;position:relative!important;overflow:hidden!important}.mobile-shell .video-frame,.mobile-shell .grid-9 .video-frame{aspect-ratio:auto!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;position:absolute!important;inset:0!important;overflow:hidden!important}.mobile-shell .video-frame iframe{width:100%!important;height:100%!important;position:absolute!important;inset:0!important}.mobile-shell .camera-heading{pointer-events:none;z-index:30!important}.mobile-shell .mobile-camera-tap-layer{z-index:20;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;background:0 0;border:0;padding:0;display:block;position:absolute;inset:0}.mobile-shell .camera-footer,.mobile-shell .grid-9 .camera-footer{z-index:40!important;background:#080d12f0!important;border:1px solid #26323b!important;border-radius:9px!important;width:max-content!important;max-width:calc(100% - 12px)!important;min-height:0!important;padding:4px!important;display:none!important;position:absolute!important;bottom:6px!important;left:50%!important;right:auto!important;transform:translate(-50%)!important;box-shadow:0 8px 24px #00000057!important}.mobile-shell .camera-card.mobile-controls-open .camera-footer{display:flex!important}.mobile-shell .camera-footer .camera-tool-row{scrollbar-width:none;max-width:100%;overflow:auto hidden;justify-content:center!important;gap:2px!important;width:auto!important;display:flex!important}.mobile-shell .camera-footer .camera-tool-row::-webkit-scrollbar{display:none}.mobile-shell .camera-footer .camera-tool{border-radius:7px!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;height:42px!important;padding:3px 2px!important}.mobile-shell .camera-footer .tool-label{font-size:7px!important}.mobile-shell .camera-volume-inline{display:none!important}.mobile-shell .camera-controls{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;z-index:50!important;background:#090e13f7!important;border:1px solid #2a3740!important;border-radius:9px!important;width:min(292px,100% - 16px)!important;max-height:calc(100% - 68px)!important;padding:10px!important;position:absolute!important;inset:auto 8px 56px auto!important;overflow:hidden auto!important;box-shadow:0 10px 28px #0000006b!important}.mobile-shell .camera-controls-head{z-index:2;background:#090e13fa;padding-bottom:7px;position:sticky;top:0}.mobile-shell .camera-tool-meta{gap:3px!important}.mobile-shell .camera-control-line{gap:7px!important}.mobile-shell .ptz-inline{grid-template-rows:repeat(3,44px);grid-template-columns:repeat(3,44px);justify-content:center;width:140px;gap:4px!important;display:grid!important}.mobile-shell .ptz-inline>:first-child{grid-area:2/1}.mobile-shell .ptz-inline>:nth-child(2){grid-area:1/2}.mobile-shell .ptz-inline>:nth-child(3){grid-area:2/2}.mobile-shell .ptz-inline>:nth-child(4){grid-area:3/2}.mobile-shell .ptz-inline>:nth-child(5){grid-area:2/3}.mobile-shell .ptz-inline button,.mobile-shell .ptz-center-dot{border-radius:8px!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}.mobile-shell .remote-ptz-note>span:last-child{color:#8e9ba5;max-width:180px;font-size:8px;line-height:1.45}.mobile-shell .topbar,.mobile-shell .mobile-dock,.mobile-shell .workspace{min-width:0}@media (orientation:landscape){.app-shell.mobile-shell.live-mode .camera-grid,.app-shell.mobile-shell.live-mode .grid-4,.app-shell.mobile-shell.live-mode .grid-9{grid-template-columns:repeat(2,minmax(0,1fr))!important}.app-shell.mobile-shell .camera-controls{width:min(280px,100% - 16px)!important;max-height:calc(100% - 64px)!important}}@media (orientation:portrait){.app-shell.mobile-shell.live-mode .camera-grid,.app-shell.mobile-shell.live-mode .grid-1,.app-shell.mobile-shell.live-mode .grid-4,.app-shell.mobile-shell.live-mode .grid-9{grid-template-columns:minmax(0,1fr)!important}}.zoom-fullscreen-viewer{z-index:30000;touch-action:none;overscroll-behavior:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:#000;place-items:stretch stretch;width:100vw;height:100dvh;display:grid;position:fixed;inset:0;overflow:hidden}.zoom-fullscreen-canvas{touch-action:none;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.zoom-fullscreen-bar{top:max(8px, env(safe-area-inset-top));left:max(8px, env(safe-area-inset-left));right:max(8px, env(safe-area-inset-right));z-index:2;pointer-events:none;justify-content:space-between;align-items:center;gap:10px;display:flex;position:absolute}.zoom-fullscreen-bar>strong{color:#eef5f7;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 8px #000000e6;max-width:min(60vw,320px);font-size:12px;font-weight:650;line-height:1;overflow:hidden}.zoom-fullscreen-actions{pointer-events:auto;gap:6px;display:flex}.zoom-fullscreen-actions button{color:#edf6f7;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#080d12c7;border:1px solid #b7cdd647;border-radius:9px;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;display:grid;box-shadow:0 6px 18px #00000052}.zoom-fullscreen-actions button:active{transform:scale(.96)}.zoom-fullscreen-hint{left:50%;bottom:max(10px, env(safe-area-inset-bottom));z-index:2;color:#e6eff1c7;letter-spacing:.01em;white-space:nowrap;pointer-events:none;background:#05090c94;border-radius:999px;max-width:calc(100% - 32px);padding:6px 10px;font-size:10px;line-height:1;position:absolute;transform:translate(-50%)}.zoom-fullscreen-viewer:fullscreen{width:100vw;height:100vh}@media (orientation:landscape){.zoom-fullscreen-bar{top:max(6px, env(safe-area-inset-top));left:max(10px, env(safe-area-inset-left));right:max(10px, env(safe-area-inset-right))}.zoom-fullscreen-hint{bottom:max(6px, env(safe-area-inset-bottom))}}.mobile-shell .camera-heading{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;pointer-events:auto!important}.mobile-shell .camera-heading:active{cursor:grabbing}.mobile-shell .camera-drag-grip{color:#97a4ad;opacity:.78;flex:none;margin-right:4px}.mobile-shell .camera-card.dragging{opacity:.72;transform:scale(.985);z-index:55!important}.mobile-shell .camera-card.drag-target{outline-offset:-2px;outline:2px solid #67e0b0d1}.mobile-shell .mobile-dock,.mobile-shell .mobile-dock *{box-sizing:border-box}.mobile-shell .mobile-dock{isolation:isolate;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:#0b1015!important;border-top:1px solid #26313a!important;box-shadow:0 -8px 24px #0000002e!important}.mobile-shell .mobile-dock button{appearance:none;font:inherit;-webkit-tap-highlight-color:transparent;outline:0;color:#7f8b94!important;min-width:0!important;min-height:44px!important;box-shadow:none!important;text-shadow:none!important;background:0 0!important;border:0!important;border-radius:8px!important;align-content:center!important;place-items:center!important;gap:2px!important;margin:0!important;padding:4px 2px!important;display:grid!important}.mobile-shell .mobile-dock button svg{stroke:currentColor;display:block}.mobile-shell .mobile-dock button span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden;color:inherit!important;font-size:8px!important;font-weight:650!important;line-height:1!important}.mobile-shell .mobile-dock button.active{color:#79e0b9!important;background:#173229!important}.mobile-shell .mobile-dock button:active{transform:scale(.98);background:#121c21!important}.mobile-manage-sheet{right:max(8px, env(safe-area-inset-right));bottom:calc(62px + env(safe-area-inset-bottom));left:max(8px, env(safe-area-inset-left));z-index:12000;color:#e9f0f2;background:#0d1318;border:1px solid #2b3740;border-radius:12px;max-width:420px;margin:0 auto;padding:12px;position:fixed;box-shadow:0 18px 44px #00000075}.mobile-manage-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.mobile-manage-head>div{gap:2px;min-width:0;display:grid}.mobile-manage-head strong{letter-spacing:-.01em;font-size:13px;font-weight:720}.mobile-manage-head span{color:#7f8c96;text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.mobile-manage-head>button{appearance:none;color:#aeb9c1;background:#11181e;border:1px solid #2b3740;border-radius:8px;place-items:center;width:38px;min-width:38px;height:38px;display:grid}.mobile-layout-segment{background:#080d11;border:1px solid #253139;border-radius:9px;grid-template-columns:repeat(3,1fr);gap:4px;padding:3px;display:grid}.mobile-layout-segment button{appearance:none;color:#84919a;background:0 0;border:0;border-radius:7px;min-height:40px;font-size:11px;font-weight:760}.mobile-layout-segment button.active{color:#7ce2bd;background:#173229}.mobile-manage-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px;display:grid}.mobile-manage-actions>button{appearance:none;color:#b4c0c8;text-align:left;background:#10171d;border:1px solid #29353e;border-radius:9px;align-items:center;gap:8px;min-width:0;min-height:56px;padding:8px 9px;display:flex}.mobile-manage-actions>button.accent{color:#7cdeb9;background:#11251e;border-color:#285345}.mobile-manage-actions>button:disabled{opacity:.48}.mobile-manage-actions>button>span{gap:2px;min-width:0;display:grid}.mobile-manage-actions strong{font-size:10px;font-weight:720}.mobile-manage-actions small{color:#71808a;text-overflow:ellipsis;white-space:nowrap;font-size:7px;line-height:1.25;overflow:hidden}.mobile-manage-tip{color:#74818a;border-top:1px solid #202a31;align-items:center;gap:6px;margin-top:8px;padding-top:8px;font-size:8px;line-height:1.35;display:flex}@media (orientation:landscape){.app-shell.mobile-shell{grid-template-rows:calc(46px + env(safe-area-inset-top)) minmax(0, 1fr) calc(50px + env(safe-area-inset-bottom))!important}.app-shell.mobile-shell .topbar{min-height:46px!important;padding:env(safe-area-inset-top) max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left))!important}.app-shell.mobile-shell .mobile-dock{height:100%!important;min-height:50px!important;padding:3px max(10px, env(safe-area-inset-right)) calc(3px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left))!important;gap:4px!important}.app-shell.mobile-shell .mobile-dock button{grid-template-rows:1fr!important;grid-template-columns:18px auto!important;place-content:center!important;column-gap:5px!important;min-height:40px!important;padding:3px 7px!important}.app-shell.mobile-shell .mobile-dock button span{font-size:8px!important;display:block!important}.app-shell.mobile-shell .mobile-manage-sheet{right:max(10px, env(safe-area-inset-right));bottom:calc(54px + env(safe-area-inset-bottom));width:min(360px,100vw - 24px);margin:0;padding:10px;left:auto}.app-shell.mobile-shell .mobile-manage-actions>button{min-height:52px}}.mobile-page-strip{scrollbar-width:none;gap:6px;width:100%;padding:4px 2px 8px;display:flex;overflow:auto hidden}.mobile-page-strip::-webkit-scrollbar{display:none}.mobile-page-strip button{appearance:none;color:#83909a;max-width:180px;min-height:38px;font:inherit;background:#0d1419;border:1px solid #28343d;border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 11px;display:inline-flex}.mobile-page-strip button.active{color:#7bdcba;background:#14271f;border-color:#315648}.mobile-page-strip button span{text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:680;line-height:1;overflow:hidden}.wall-editor-backdrop{z-index:24000;background:#020507c2;place-items:center;padding:12px;display:grid;position:fixed;inset:0}.wall-editor-shell{color:#dfe7eb;background:#0b1116;border:1px solid #2b3740;border-radius:12px;grid-template-rows:62px minmax(0,1fr) 58px;width:min(1180px,100vw - 24px);min-width:0;height:min(820px,100dvh - 24px);min-height:0;display:grid;overflow:hidden;box-shadow:0 24px 64px #00000085}.wall-editor-head{background:#0d1419;border-bottom:1px solid #222d35;justify-content:space-between;align-items:center;gap:16px;min-width:0;padding:0 16px;display:flex}.wall-editor-head>div{min-width:0}.wall-editor-head h2{color:#eef4f6;letter-spacing:-.01em;margin:0;font-size:16px;font-weight:720}.wall-editor-head p{color:#7b8993;margin:4px 0 0;font-size:9px;line-height:1.35}.wall-editor-close{appearance:none;color:#a8b3bb;background:#11191f;border:1px solid #2a353e;border-radius:8px;place-items:center;width:40px;min-width:40px;height:40px;display:grid}.wall-editor-close:hover,.wall-editor-close:focus-visible{color:#eef4f6;border-color:#3d4b56}.wall-editor-body{grid-template-columns:196px minmax(0,1fr);min-width:0;min-height:0;display:grid}.wall-editor-pages{background:#0a1014;border-right:1px solid #222d35;flex-direction:column;min-width:0;min-height:0;padding:12px 9px;display:flex}.wall-editor-section-title{color:#6f7d87;letter-spacing:.06em;text-transform:uppercase;justify-content:space-between;align-items:center;padding:0 5px 8px;font-size:8px;font-weight:760;display:flex}.wall-editor-section-title b{color:#84919a;background:#141c22;border-radius:6px;place-items:center;min-width:20px;height:20px;padding:0 6px;font-size:8px;display:grid}.wall-editor-page-list{gap:4px;min-height:0;display:grid;overflow-y:auto}.wall-editor-page-list button,.wall-editor-new-page{appearance:none;color:#82909a;text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:8px;width:100%;min-width:0;min-height:50px;padding:7px 8px;display:flex}.wall-editor-page-list button:hover,.wall-editor-page-list button:focus-visible,.wall-editor-new-page:hover,.wall-editor-new-page:focus-visible{background:#10171c;border-color:#29363e}.wall-editor-page-list button.active{color:#78d9b6;background:#14231d;border-color:#2f5145}.wall-editor-page-list button>span{gap:2px;min-width:0;display:grid}.wall-editor-page-list strong{color:currentColor;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:700;overflow:hidden}.wall-editor-page-list small{color:#66747d;text-overflow:ellipsis;white-space:nowrap;font-size:7px;overflow:hidden}.wall-editor-new-page{color:#9aa7b0;border-color:#26323a;min-height:42px;margin-top:8px}.wall-editor-new-page span{font-size:9px;font-weight:680}.wall-editor-main{min-width:0;min-height:0;padding:14px;overflow:hidden auto}.wall-editor-toolbar{grid-template-columns:minmax(180px,1fr) auto;align-items:end;gap:12px;min-width:0;padding-bottom:14px;display:grid}.wall-editor-name{gap:5px;min-width:0;display:grid}.wall-editor-name>span{color:#71808a;font-size:8px;font-weight:680}.wall-editor-name input{color:#e2e9ed;min-width:0;min-height:40px;font:inherit;background:#0a1014;border:1px solid #2a363e;border-radius:8px;outline:0;padding:0 11px;font-size:11px}.wall-editor-name input:focus{border-color:#47725f;box-shadow:0 0 0 2px #519f7d26}.wall-editor-layout-switch{background:#080d11;border:1px solid #27333b;border-radius:9px;grid-template-columns:repeat(3,44px);gap:3px;padding:3px;display:grid}.wall-editor-layout-switch button{appearance:none;color:#77858f;min-height:34px;font:inherit;background:0 0;border:0;border-radius:6px;font-size:9px;font-weight:760}.wall-editor-layout-switch button.active{color:#7ae0bb;background:#173127}.wall-editor-arrangement,.wall-camera-library{background:#0d1419;border:1px solid #222e36;border-radius:10px;min-width:0;padding:12px}.wall-camera-library{margin-top:12px}.wall-editor-section-head{justify-content:space-between;align-items:center;gap:12px;min-width:0;margin-bottom:10px;display:flex}.wall-editor-section-head>div{gap:2px;min-width:0;display:grid}.wall-editor-section-head strong{color:#dce5e9;font-size:10px;font-weight:720}.wall-editor-section-head span{color:#6f7d87;font-size:8px;line-height:1.35}.wall-editor-section-head>b{color:#77858f;font-size:9px}.wall-preview-refresh{appearance:none;color:#8f9da6;min-height:34px;font:inherit;background:#11191f;border:1px solid #29363f;border-radius:7px;align-items:center;gap:6px;padding:0 9px;font-size:8px;font-weight:650;display:inline-flex}.wall-editor-grid{gap:7px;min-width:0;display:grid}.wall-editor-grid-1{grid-template-columns:minmax(0,1fr);max-width:720px}.wall-editor-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.wall-editor-grid-9{grid-template-columns:repeat(3,minmax(0,1fr))}.wall-editor-slot{aspect-ratio:16/9;background:#080d11;border:1px solid #28343c;border-radius:8px;min-width:0;transition:border-color .14s ease-out,transform .14s ease-out;position:relative;overflow:hidden}.wall-editor-slot.drag-target{border-color:#62c69f;box-shadow:0 0 0 2px #62c69f26}.wall-slot-camera{touch-action:none;cursor:grab;grid-template-rows:minmax(0,1fr) 44px;display:grid;position:absolute;inset:0}.wall-slot-camera:active{cursor:grabbing}.wall-camera-preview{background:#05080a;min-width:0;min-height:0;position:relative;overflow:hidden}.wall-camera-preview-fallback{color:#43515b;background:#090f13;place-items:center;display:grid;position:absolute;inset:0}.wall-camera-preview img{z-index:1;object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.wall-camera-state{z-index:2;color:#c88990;letter-spacing:.04em;background:#180c0ee0;border:1px solid #4a3033;border-radius:5px;align-items:center;min-height:18px;padding:0 5px;font-size:6px;font-weight:780;display:inline-flex;position:absolute;top:6px;right:6px}.wall-camera-state.online{color:#72d2ae;background:#0d1e18e6;border-color:#25483b}.wall-slot-camera-meta{background:#0b1217;border-top:1px solid #202b32;grid-template-columns:26px minmax(0,1fr) 18px 30px;align-items:center;gap:4px;min-width:0;padding:5px 6px;display:grid}.wall-slot-number{color:#72d1ae;background:#15221c;border-radius:6px;place-items:center;width:24px;height:24px;font-size:8px;font-weight:760;display:grid}.wall-slot-camera-name{gap:1px;min-width:0;display:grid}.wall-slot-camera-name strong,.wall-slot-camera-name small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.wall-slot-camera-name strong{color:#d9e1e5;font-size:8px;font-weight:690}.wall-slot-camera-name small{color:#65727c;font-size:6px}.wall-slot-camera-meta>svg{color:#687680}.wall-slot-camera-meta button{appearance:none;color:#7a8790;background:0 0;border:0;border-radius:6px;place-items:center;width:30px;height:30px;display:grid}.wall-slot-camera-meta button:hover,.wall-slot-camera-meta button:focus-visible{color:#c78389;background:#1a2228}.wall-empty-slot{color:#6b7882;border:1px dashed #0000;place-content:center;justify-items:center;gap:3px;display:grid;position:absolute;inset:0}.wall-empty-slot>span{color:#7b8992;background:#121a20;border-radius:6px;place-items:center;width:24px;height:24px;font-size:8px;font-weight:760;display:grid}.wall-empty-slot strong{font-size:8px;font-weight:680}.wall-empty-slot small{color:#56636c;font-size:6px}.wall-camera-library-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-width:0;display:grid}.wall-camera-choice{background:#0a1014;border:1px solid #27343c;border-radius:8px;min-width:0;overflow:hidden}.wall-camera-choice.selected{border-color:#315244}.wall-camera-choice-drag{aspect-ratio:16/9;touch-action:none;cursor:grab}.wall-camera-choice-drag:active{cursor:grabbing}.wall-camera-choice-meta{border-top:1px solid #202b32;align-items:center;gap:7px;min-width:0;min-height:46px;padding:6px;display:flex}.wall-camera-choice-meta>span{flex:1;gap:1px;min-width:0;display:grid}.wall-camera-choice-meta strong,.wall-camera-choice-meta small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.wall-camera-choice-meta strong{color:#d5dfe3;font-size:8px;font-weight:690}.wall-camera-choice-meta small{color:#637079;font-size:6px}.wall-camera-choice-meta button{appearance:none;color:#73d2af;min-width:42px;min-height:32px;font:inherit;background:#14251e;border:1px solid #304039;border-radius:6px;padding:0 7px;font-size:7px;font-weight:700}.wall-camera-choice-meta button.selected{color:#809087;background:#111a16;border-color:#324039}.wall-editor-footer{background:#0d1419;border-top:1px solid #222d35;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:0 14px;display:flex}.wall-editor-footer>span{color:#65727b;font-size:8px}.wall-editor-footer>div{align-items:center;gap:8px;display:flex}.wall-editor-footer .primary-button{min-width:78px}.house-switcher{overscroll-behavior:contain;overflow-y:auto}@media (width<=900px){.wall-editor-shell{width:calc(100vw - 16px);height:calc(100dvh - 16px)}.wall-editor-body{grid-template-columns:160px minmax(0,1fr)}.wall-camera-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=680px){.wall-editor-backdrop{padding:0}.wall-editor-shell{grid-template-rows:calc(58px + env(safe-area-inset-top)) minmax(0, 1fr) calc(58px + env(safe-area-inset-bottom));border:0;border-radius:0;width:100vw;height:100dvh}.wall-editor-head{padding:env(safe-area-inset-top) max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left))}.wall-editor-body{display:block;overflow-y:auto}.wall-editor-pages{min-height:0;padding:8px max(10px, env(safe-area-inset-right)) 8px max(10px, env(safe-area-inset-left));border-bottom:1px solid #222d35;border-right:0;display:block}.wall-editor-section-title{display:none}.wall-editor-page-list{scrollbar-width:none;gap:5px;display:flex;overflow:auto hidden}.wall-editor-page-list::-webkit-scrollbar{display:none}.wall-editor-page-list button{flex:none;width:auto;min-width:112px;max-width:160px;min-height:42px;padding:6px 8px}.wall-editor-new-page{justify-content:center;min-height:38px;margin:6px 0 0}.wall-editor-main{padding:10px max(10px, env(safe-area-inset-right)) 12px max(10px, env(safe-area-inset-left));overflow:visible}.wall-editor-toolbar{grid-template-columns:minmax(0,1fr);gap:8px}.wall-editor-name input{min-height:44px;font-size:16px}.wall-editor-layout-switch{grid-template-columns:repeat(3,1fr)}.wall-editor-layout-switch button{min-height:40px}.wall-editor-arrangement,.wall-camera-library{padding:9px}.wall-editor-grid-9{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.wall-editor-grid-4{gap:5px}.wall-slot-camera{grid-template-rows:minmax(0,1fr) 38px}.wall-slot-camera-meta{grid-template-columns:22px minmax(0,1fr) 26px;padding:4px}.wall-slot-camera-meta>svg{display:none}.wall-slot-camera-meta button{width:26px;height:26px}.wall-slot-number{width:20px;height:20px}.wall-slot-camera-name small{display:none}.wall-camera-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.wall-camera-choice-meta{min-height:44px;padding:5px}.wall-camera-choice-meta button{min-height:34px}.wall-editor-footer{padding:0 max(10px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(10px, env(safe-area-inset-left))}.wall-editor-footer>span{display:none}.wall-editor-footer>div{margin-left:auto}}@media (width<=680px) and (orientation:landscape){.wall-editor-shell{grid-template-rows:calc(50px + env(safe-area-inset-top)) minmax(0, 1fr) calc(50px + env(safe-area-inset-bottom))}.wall-editor-body{grid-template-columns:150px minmax(0,1fr);display:grid;overflow:hidden}.wall-editor-pages{border-bottom:0;border-right:1px solid #222d35;padding:8px 7px;display:flex}.wall-editor-section-title{display:flex}.wall-editor-page-list{display:grid;overflow:hidden auto}.wall-editor-page-list button{width:100%;min-width:0;max-width:none}.wall-editor-main{padding:8px;overflow-y:auto}.wall-editor-toolbar{grid-template-columns:minmax(150px,1fr) auto}.wall-camera-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.xiaomi-session-notice{color:#ffe2a4;background:#382b16;border-bottom:1px solid #80602a;flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;padding:12px 18px;display:flex}.xiaomi-session-notice button{color:inherit;cursor:pointer;background:#4b381a;border:1px solid #b58c43;border-radius:6px;padding:8px 12px}
