.wall-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.wall-toolbar>b{font-size:18px}.wall-toolbar>b span{font-weight:400;color:#617984}
.wall-workspace{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:start}
.wall-picker{border-inline-end:1px solid #cadde3;padding-inline-end:16px;min-width:0}
.wall-picker h3{font-size:16px;margin:0 0 12px;display:flex;justify-content:space-between}.wall-picker h3 span{color:#667f8a;font-weight:400}
.wall-picker input[type=search]{width:100%;min-width:0;font-size:13px;padding:9px;margin-bottom:10px}
#wallChoices{max-height:65vh;overflow:auto}
.wall-choice{display:flex;align-items:center;gap:9px;padding:10px 5px;cursor:pointer;min-width:0;font-size:13px}
.wall-choice[hidden]{display:none}.wall-choice input[type=checkbox]{width:16px;height:16px;flex-shrink:0;margin:0;accent-color:#008a95}
.wall-choice span{min-width:0}.wall-choice b{font-size:13px;font-weight:600;overflow-wrap:anywhere}.wall-choice small{display:block;color:#647b88;margin-top:3px;overflow-wrap:anywhere}
.wall-choice:has(input:checked){background:#e0f3f3}.wall-all{border-bottom:1px solid #cadde3;margin-bottom:4px}
.wall-stage{min-width:0}#liveGrid{gap:12px}.wall-tile{border:1px solid #cadde3;border-radius:4px;overflow:hidden;padding:0;background:white}
.wall-tile .live-video{border-radius:0;aspect-ratio:16/9}.wall-tile .video-placeholder{background:#17252a}
.wall-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 10px;flex-wrap:wrap}
.wall-meta>div:first-child{min-width:0;flex:1}.wall-meta b{display:block;font-size:13px;overflow-wrap:anywhere}.wall-meta small{display:block;font-size:11px;color:#647b88;margin-top:3px;overflow-wrap:anywhere}
.wall-tools{display:flex;gap:3px}.wall-tools .icon-btn{width:30px;height:30px;padding:6px;border:0;border-radius:3px;background:transparent}.wall-tools .icon-btn:hover{background:#e0f3f3}.wall-tools svg{width:18px;height:18px}
.wall-empty{padding:80px 15px;text-align:center;color:#647b88;border-block:1px solid #cadde3}.wall-empty[hidden]{display:none}
@media(max-width:1100px){.wall-workspace{grid-template-columns:180px minmax(0,1fr);gap:12px}}
@media(max-width:760px){.wall-workspace{grid-template-columns:minmax(0,1fr)}.wall-picker{border-inline-end:0;padding-inline-end:0;border-bottom:1px solid #cadde3;padding-bottom:10px}#wallChoices{max-height:160px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.wall-toolbar .live-layout-controls{width:auto}.wall-meta{padding:7px}}
.camera-live-indicator{display:inline-flex;align-items:center;gap:7px;min-width:82px;white-space:nowrap;font-size:12px;font-weight:600;color:#667780}
.camera-live-light{display:inline-block;width:10px;height:10px;border-radius:50%;background:currentColor;flex:none}
.camera-live-indicator.live{color:#13854f}.camera-live-indicator.stopped{color:#cb354d}.camera-live-indicator.starting{color:#9c6c0c}
.camera-live-indicator.live .camera-live-light{box-shadow:0 0 0 3px #13854f18}

/* ---------- Live View redesign (lw) ---------- */
.lw{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px;align-items:start}
.lw-side{background:#fff;border:1px solid #d9e6ec;border-radius:12px;padding:14px;position:sticky;top:12px;max-height:calc(100vh - 120px);display:flex;flex-direction:column;gap:10px;min-width:0}
.lw-side-h{display:flex;align-items:center;justify-content:space-between;gap:8px}
.lw-side-h b{font-size:15px;color:var(--navy,#082945)}.lw-side-h>span{font-size:12px;color:#5d7387;font-weight:600}
.lw-search{width:100%;height:38px;margin:0;font-size:13px;border-radius:9px}
.lw-side-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}
.lw-chk{display:inline-flex;align-items:center;gap:6px;color:#3f5668;cursor:pointer}.lw-chk input{width:15px;height:15px;margin:0;accent-color:#0f6f84}
.lw-sp{flex:1}
.lw-link{border:0;background:transparent;color:#0f6f84;font:inherit;font-size:12px;font-weight:700;cursor:pointer;padding:2px 4px;display:inline-flex;align-items:center;gap:4px}
.lw-link:hover{text-decoration:underline}
.lw-list{overflow:auto;min-height:120px;flex:1;margin:0 -6px;padding:0 6px}
.lw-group{margin-bottom:8px}.lw-group[hidden]{display:none}
.lw-gh{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#6b8194;padding:6px 2px}
.lw-gh span{color:#9aabb8;margin-left:4px}
.lw-cam{display:flex;align-items:center;gap:10px;width:100%;padding:6px;border:1px solid transparent;border-radius:10px;background:transparent;text-align:left;font:inherit;cursor:pointer;color:inherit}
.lw-cam[hidden]{display:none}
.lw-cam:hover{background:#f2f8fa}
.lw-cam.on{background:#e8f5f7;border-color:#9fd3da}
.lw-th{position:relative;width:64px;height:38px;border-radius:6px;background:#17303f;overflow:hidden;flex-shrink:0}
.lw-th img{width:100%;height:100%;object-fit:cover;display:block}
.lw-dot{position:absolute;left:4px;top:4px;width:8px;height:8px;border-radius:50%;border:1.5px solid #fff}.lw-dot.on{background:#20a879}.lw-dot.off{background:#d0405c}
.lw-ct{min-width:0;flex:1;display:flex;flex-direction:column;gap:1px}
.lw-ct b{font-size:13px;color:#082945;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lw-ct small{font-size:11.5px;color:#6b8194;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lw-tick{width:20px;height:20px;border-radius:50%;border:1.5px solid #c3d4dc;display:grid;place-items:center;color:transparent;flex-shrink:0}
.lw-cam.on .lw-tick{background:#0f6f84;border-color:#0f6f84;color:#fff}
.lw-views{border-top:1px solid #e3edf2;padding-top:10px;display:flex;flex-direction:column;gap:6px;max-height:200px;overflow:auto}
.lw-view{display:flex;align-items:center;gap:4px}
.lw-view-b{flex:1;display:flex;flex-direction:column;align-items:flex-start;border:1px solid #d9e6ec;border-radius:9px;background:#fff;padding:7px 10px;cursor:pointer;font:inherit;text-align:left}
.lw-view-b:hover{border-color:#8fcdd4;background:#f7fcfc}.lw-view-b b{font-size:12.5px;color:#082945}.lw-view-b small{font-size:11px;color:#6b8194}
.lw-ico{width:28px;height:28px;border:0;background:transparent;border-radius:7px;color:#6b8194;display:grid;place-items:center;cursor:pointer}.lw-ico:hover{background:#fbe9ed;color:#b4233f}
.lw-none{font-size:12px;color:#6b8194;margin:0}
.lw-main{min-width:0;display:flex;flex-direction:column;gap:12px}
.lw-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.lw-title{display:flex;flex-direction:column;gap:2px}.lw-title b{font-size:17px;color:#082945}.lw-title b span{color:#6b8194;font-weight:600}.lw-title small{font-size:12px;color:#6b8194}
.lw-bar-r{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.lw-sel{height:38px;margin:0;min-width:160px;font-size:13px}.lw-sel.hidden{display:none}
.lw-btn{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 13px;border:1px solid #c9dbe3;border-radius:9px;background:#fff;color:#082945;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.lw-btn:hover{background:#f3f8fa}.lw-btn.pri{background:#0f6f84;border-color:#0f6f84;color:#fff}.lw-btn.pri:hover{background:#0b5c6e}
.lw-qwrap{position:relative}
.lw-qmenu{position:absolute;right:0;top:calc(100% + 6px);width:270px;background:#fff;border:1px solid #d9e6ec;border-radius:10px;box-shadow:0 14px 40px rgba(8,41,69,.18);padding:6px;z-index:40;display:flex;flex-direction:column}
.lw-qmenu[hidden]{display:none}
.lw-qmenu button{display:flex;flex-direction:column;align-items:flex-start;gap:1px;border:0;background:transparent;padding:8px 10px;border-radius:7px;text-align:left;font:inherit;cursor:pointer;color:#082945}
.lw-qmenu button:hover{background:#eef6f8}.lw-qmenu button[aria-checked=true]{background:#e8f5f7}.lw-qmenu button[aria-checked=true] b:after{content:" ✓";color:#0f6f84}
.lw-qmenu b{font-size:13px}.lw-qmenu small{font-size:11.5px;color:#5d7387}
.lw-layouts{display:flex;border:1px solid #c9dbe3;border-radius:9px;overflow:hidden;background:#fff}
.lw-lay{width:40px;height:36px;border:0;border-right:1px solid #e3edf2;background:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
.lw-lay:last-child{border-right:0}.lw-lay:hover{background:#f3f8fa}
.lw-lay[aria-pressed=true]{background:#082945}.lw-lay[aria-pressed=true] .layout-glyph i{background:#fff}
.lw-stage{background:#06121c;border-radius:12px;padding:8px;min-height:420px;position:relative}
.lw-stage:fullscreen{padding:6px;border-radius:0;overflow:auto}
.lw-grid{display:grid;gap:6px}
.lw-empty{position:absolute;inset:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#c9d7e0;text-align:center;padding:20px}
.lw-empty[hidden]{display:none}.lw-empty b{color:#fff;font-size:16px}.lw-empty span{font-size:13px;max-width:360px}
.lw-tile{position:relative;aspect-ratio:16/9;background:#0b1b2b;border-radius:8px;overflow:hidden;padding:0!important;border:0!important;margin:0;box-shadow:none}
.lw-tile video{width:100%;height:100%;object-fit:contain;display:block;background:#0b1b2b}
.lw-tile:fullscreen{border-radius:0}
.lw-tile.live-featured{outline:2px solid #10aeb5;outline-offset:-2px}
.lw-top{position:absolute;left:0;right:0;top:0;display:flex;align-items:center;gap:8px;padding:8px 10px 18px;background:linear-gradient(rgba(6,18,28,.7),transparent);color:#fff;pointer-events:none;min-width:0}
.lw-top b{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.lw-top small{margin-left:auto;font-size:11px;color:#c9d7e0;font-variant-numeric:tabular-nums}
.lw-live{display:inline-flex;align-items:center;gap:5px;padding:2px 7px;border-radius:5px;background:rgba(6,18,28,.65);font-size:10.5px;font-weight:800;letter-spacing:.05em;flex-shrink:0}
.lw-live i{width:7px;height:7px;border-radius:50%;background:#f0b429}
.lw-live[data-kind=playing] i{background:#ff3b4e;animation:mxpulse 1.6s infinite}
.lw-live[data-kind=error] i{background:#9aa9b4}
.lw-ov{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#fff;background:rgba(6,18,28,.55);font-size:13px;font-weight:600;text-align:center;padding:12px}
.lw-ov[data-kind=buffering]{background:transparent}
.lw-ov[data-kind=buffering] #wallMessage-dummy{display:none}
.lw-ov[data-kind=error] .lw-spin{display:none}
.lw-spin{width:28px;height:28px;border-radius:50%;border:3px solid rgba(255,255,255,.25);border-top-color:#fff;animation:mxspin .8s linear infinite}
.lw-ctl{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;gap:4px;padding:18px 8px 8px;background:linear-gradient(transparent,rgba(6,18,28,.78));opacity:0;transition:opacity .18s}
.lw-tile:hover .lw-ctl,.lw-tile:focus-within .lw-ctl{opacity:1}
.lw-tbtn{display:inline-flex;align-items:center;gap:5px;height:30px;min-width:30px;justify-content:center;padding:0 7px;border-radius:7px;border:1px solid rgba(255,255,255,.22);background:rgba(6,18,28,.55);color:#fff;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.lw-tbtn:hover{background:rgba(255,255,255,.18)}
#liveGrid[data-layout=four] .lw-top small,#liveGrid[data-layout=four] .lw-tbtn[title="Open with pictures and recordings"]{display:none}
@keyframes mxpulse{0%{box-shadow:0 0 0 0 #ff3b4e88}70%{box-shadow:0 0 0 6px #ff3b4e00}100%{box-shadow:0 0 0 0 #ff3b4e00}}
@keyframes mxspin{to{transform:rotate(360deg)}}
@media(max-width:1100px){.lw{grid-template-columns:230px minmax(0,1fr)}}
@media(max-width:760px){.lw{grid-template-columns:minmax(0,1fr)}.lw-side{position:static;max-height:none}.lw-list{max-height:260px}}
