:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font:14px/1.4 system-ui,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;min-height:100svh;margin:0}body{color:#e5e7eb;background:#0b0c0f}.app{color:#e5e7eb;background:#0b0c0f;width:100vw;height:100vh;font-size:14px;display:flex}.sidebar{background:#131418;border-right:1px solid #23252b;flex-direction:column;flex-shrink:0;align-items:center;width:84px;padding:12px 0;display:flex}.sidebar-brand{color:#fff;background:#2563eb;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;margin-bottom:24px;font-weight:700;display:flex}.sidebar-item{color:#9ca3af;cursor:pointer;background:0 0;border:none;border-left:2px solid #0000;flex-direction:column;align-items:center;gap:4px;width:100%;padding:10px 4px;display:flex}.sidebar-item:hover{color:#e5e7eb;background:#1a1c22}.sidebar-item.active{color:#60a5fa;background:#161822;border-left-color:#2563eb}.sidebar-icon{font-size:18px}.sidebar-label{text-align:center;font-size:10px;line-height:1.2}.main{flex-direction:column;flex:1;min-width:0;display:flex}.topbar{border-bottom:1px solid #23252b;flex-shrink:0;justify-content:space-between;align-items:center;height:48px;padding:0 20px;display:flex}.topbar-title{letter-spacing:.2px;font-weight:600}.topbar-error{color:#f87171;font-size:12px}.logout-btn{color:#9ca3af;cursor:pointer;background:0 0;border:1px solid #23252b;border-radius:6px;margin-left:auto;padding:4px 12px;font-size:12px}.logout-btn:hover{color:#e5e7eb;background:#1a1c22}.login-screen{background:#0b0c0f;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex}.login-card{text-align:center;flex-direction:column;gap:10px;width:280px;display:flex}.login-card h2{color:#e5e7eb;margin:0 0 8px;font-size:16px}.login-card input{color:#e5e7eb;background:#131418;border:1px solid #23252b;border-radius:6px;padding:10px 12px;font-size:14px}.login-card button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:6px;margin-top:4px;padding:10px 12px;font-size:14px}.login-card button:disabled{opacity:.6;cursor:default}.login-error{color:#f87171;margin:0;font-size:12px}.content{flex:1;min-height:0;padding:16px;overflow:auto}.live-view{flex-direction:column;height:100%;min-height:0;display:flex}.live-toolbar{color:#9ca3af;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:12px;display:flex}.layout-switch{background:#131418;border:1px solid #23252b;border-radius:6px;gap:4px;padding:2px;display:flex}.layout-btn{color:#9ca3af;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px 10px;font-size:12px}.layout-btn:hover{color:#e5e7eb}.layout-btn.active{color:#fff;background:#2563eb}.grid{flex:1;gap:8px;min-height:0;display:grid}.camera-tile{background:#000;border:1px solid #23252b;border-radius:6px;justify-content:center;align-items:center;min-height:0;display:flex;position:relative;overflow:hidden}.camera-frame{max-width:100%;max-height:100%;line-height:0;position:relative}.camera-frame video{width:auto;max-width:100%;height:auto;max-height:100%;display:block}.camera-label{background:linear-gradient(#0000,#000000bf);padding:4px 10px;font-size:12px;position:absolute;bottom:0;left:0;right:0}.focus-view{flex:1;align-items:stretch;gap:8px;min-height:0;display:flex}.focus-main{flex:1;min-width:0}.focus-main .camera-tile{height:100%}.focus-nav{color:#9ca3af;cursor:pointer;background:#131418;border:1px solid #23252b;border-radius:6px;flex-shrink:0;width:36px;font-size:20px}.focus-nav:hover{color:#e5e7eb;background:#1a1c22}.focus-strip{flex-shrink:0;gap:8px;height:90px;margin-top:8px;display:flex;overflow-x:auto}.focus-thumb{cursor:pointer;opacity:.6;border-radius:6px;flex-shrink:0;width:160px;height:100%}.focus-thumb .camera-tile{border-color:#0000;height:100%}.focus-thumb:hover{opacity:.85}.focus-thumb.active{opacity:1}.focus-thumb.active .camera-tile{border-color:#2563eb}.empty-state{color:#6b7280;text-align:center;padding:40px}.panel-view{max-width:800px}.panel-view h2{margin:0 0 16px;font-size:16px;font-weight:600}.hint{color:#9ca3af;margin-top:16px;font-size:12px}.hint code{background:#1a1c22;border-radius:4px;padding:2px 5px}.table{border-collapse:collapse;width:100%;font-size:13px}.table th,.table td{text-align:left;border-bottom:1px solid #23252b;padding:8px 12px}.table th{color:#9ca3af;text-transform:uppercase;letter-spacing:.4px;font-size:12px;font-weight:500}.dot{border-radius:50%;width:8px;height:8px;margin-right:6px;display:inline-block}.dot-ok{background:#22c55e}.dot-error{background:#ef4444}@media (width<=700px){.app{flex-direction:column}.sidebar{border-top:1px solid #23252b;border-right:none;flex-direction:row;order:2;justify-content:space-around;align-items:center;width:100%;height:60px;padding:0}.sidebar-brand{display:none}.sidebar-item{border-top:2px solid #0000;border-left:none;flex:1;width:auto;padding:6px 0}.sidebar-item.active{border-top-color:#2563eb;border-left-color:#0000}.main{order:1;min-height:0}.content{padding:10px}.live-toolbar{flex-wrap:wrap;gap:8px}.grid{flex-wrap:wrap;align-content:flex-start;overflow-y:auto;display:flex!important}.camera-tile{aspect-ratio:16/9;flex:0 0 calc(50% - 4px);height:auto}.camera-frame{width:100%;height:100%}.camera-frame video{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none}.focus-view{flex-direction:column}.focus-main .camera-tile{aspect-ratio:16/9;height:auto}.focus-nav{width:100%;height:32px}.focus-thumb{width:120px}}.tile-actions{z-index:2;gap:4px;display:flex;position:absolute;top:6px;right:6px}.tile-btn{color:#e5e7eb;cursor:pointer;-webkit-tap-highlight-color:transparent;background:#111827b3;border:1px solid #ffffff26;border-radius:6px;justify-content:center;align-items:center;min-width:28px;height:28px;padding:0 6px;font-size:14px;line-height:1;display:inline-flex}.tile-btn:hover:not(:disabled){color:#fff;background:#2563eb}.tile-btn:disabled{opacity:.4;cursor:wait}.tile-btn-label{font-size:12px}.focus-thumb .tile-actions{display:none}.camera-tile:fullscreen{border:none;border-radius:0}.camera-tile:fullscreen .camera-frame{object-fit:contain;width:100%;max-width:none;height:100%;max-height:none}.camera-tile:fullscreen .camera-frame video{object-fit:contain;width:100%;max-width:none;height:100%;max-height:none}.focus-main{position:relative}@media (width<=700px){.grid.grid-auto .camera-tile{flex-basis:100%}.tile-btn{min-width:32px;height:32px;font-size:15px}.grid-fixed .tile-btn-label{display:none}.focus-main{flex-direction:column;gap:8px;display:flex}}.storage-view .muted{color:#9ca3af}.storage-view .small{font-size:11px}.storage-status{background:#131418;border:1px solid #23252b;border-radius:8px;margin-bottom:16px;padding:12px;font-size:13px}.storage-status-text{flex-wrap:wrap;justify-content:space-between;gap:4px 12px;margin-bottom:8px;display:flex}.storage-bar{background:#23252b;border-radius:3px;height:6px;margin-bottom:6px;overflow:hidden}.storage-bar>div{background:#2563eb;height:100%}.events-toolbar{flex-direction:column;gap:10px;margin-bottom:12px;display:flex}.day-nav{align-items:center;gap:6px;display:flex}.day-nav button,.day-nav input{color:#e5e7eb;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#131418;border:1px solid #23252b;border-radius:6px;height:34px;padding:0 10px;font-size:14px}.day-nav button{cursor:pointer;min-width:34px}.day-nav button:disabled{opacity:.35;cursor:default}.day-nav .today-btn{color:#93c5fd}.camera-chips{gap:6px;padding-bottom:2px;display:flex;overflow-x:auto}.camera-chips button{color:#9ca3af;cursor:pointer;background:#131418;border:1px solid #23252b;border-radius:999px;flex-shrink:0;padding:6px 12px;font-size:12px}.camera-chips button.active{color:#fff;background:#2563eb;border-color:#2563eb}.events-list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.events-list li{background:#131418;border:1px solid #23252b;border-radius:8px;overflow:hidden}.events-list li.open{border-color:#2563eb}.event-row{color:#e5e7eb;text-align:left;cursor:pointer;background:0 0;border:none;grid-template-columns:64px 64px minmax(0,1fr) auto 24px;align-items:center;gap:10px;width:100%;padding:10px 12px;font-size:14px;display:grid}.event-row:hover{background:#1a1c22}.event-time{font-variant-numeric:tabular-nums;color:#93c5fd}.event-main{flex-direction:column;gap:2px;min-width:0;display:flex}.event-camera{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.event-duration{color:#9ca3af;font-size:12px}.event-play{text-align:center;color:#9ca3af}.event-player{padding:0 12px 12px}.kind-chips{margin-top:8px}.kind-chips button i{border-radius:50%;width:8px;height:8px;margin-right:6px;display:inline-block}@media (width<=520px){.event-row{grid-template-columns:64px minmax(0,1fr) auto 20px;gap:8px;padding:8px 10px}.event-row .event-time{display:none}.event-main .event-when{display:block}}.event-when{color:#93c5fd;font-variant-numeric:tabular-nums;font-size:12px;display:none}.event-player video{background:#000;border-radius:6px;width:100%;max-height:60vh;display:block}.timeline{background:#131418;border:1px solid #23252b;border-radius:10px;margin-bottom:20px;padding:12px}.tl-muted{color:#9ca3af;font-size:12px}.tl-legend{color:#d1d5db;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-bottom:10px;font-size:12px;display:flex}.tl-legend span{align-items:center;gap:6px;display:inline-flex}.tl-hint{margin-left:auto}.tl-swatch{border-radius:3px;width:12px;height:12px;display:inline-block}.tl-swatch.tl-rec{background:#374151}.tl-swatch.tl-gap{background:#0b0c0f;border:1px dashed #374151}.timeline{min-width:0;overflow:hidden}.tl-axis,.tl-row{grid-template-columns:120px minmax(0,1fr);align-items:center;gap:10px;display:grid}.tl-ticks{color:#6b7280;height:16px;font-size:10px;position:relative}.tl-ticks span{position:absolute;transform:translate(-50%)}.tl-ticks span:first-child{transform:none}.tl-ticks span:last-child{transform:translate(-100%)}.tl-row{margin-top:6px}.tl-name{color:#d1d5db;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.tl-bar{cursor:pointer;touch-action:pan-y;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:#0b0c0f;border:1px solid #23252b;border-radius:6px;height:30px;position:relative;overflow:hidden}.tl-bar.tl-dragging{cursor:grabbing;border-color:#60a5fa}.tl-bar:hover,.tl-bar.tl-active{border-color:#2563eb}.tl-bar i{display:block;position:absolute;top:0;bottom:0}.tl-grid{background:#1d1f25;width:1px}.tl-recorded{background:#374151;border-radius:2px;top:9px!important;bottom:9px!important}.tl-event{opacity:.9;border-radius:1px;min-width:2px;top:3px!important;bottom:3px!important}.tl-now{opacity:.6;background:#e5e7eb;width:2px}.tl-cursor{z-index:2;background:#60a5fa;width:2px;box-shadow:0 0 6px #60a5fa}.tl-hover{color:#e5e7eb;pointer-events:none;background:#111827e6;border-radius:3px;padding:1px 4px;font-size:10px;position:absolute;top:1px;transform:translate(-50%)}.tl-player{margin-bottom:12px}.tl-player-head{flex-wrap:wrap;align-items:center;gap:6px 10px;margin-bottom:8px;font-size:14px;display:flex}.tl-close{color:#e5e7eb;cursor:pointer;background:#1f2937;border:1px solid #374151;border-radius:6px;margin-left:auto;padding:5px 10px;font-size:12px}.tl-video{aspect-ratio:16/9;background:#000;border-radius:6px;max-height:60vh;margin:0 auto;position:relative;overflow:hidden}.tl-video video{object-fit:contain;cursor:pointer;width:100%;height:100%;display:block}.tl-spinner{color:#e5e7eb;pointer-events:none;background:#00000059;justify-content:center;align-items:center;font-size:13px;display:flex;position:absolute;inset:0}.tl-transport{justify-content:center;align-items:center;gap:8px;margin-top:8px;display:flex}.tl-transport button{color:#e5e7eb;cursor:pointer;background:#1f2937;border:1px solid #374151;border-radius:8px;min-width:44px;height:36px;padding:0 12px;font-size:13px}.tl-transport button:hover{background:#2563eb}.tl-transport .tl-play{background:#2563eb;border-color:#2563eb;min-width:56px}.tl-transport .tl-fs{margin-left:8px}.tl-cursor:after{content:"";background:#60a5fa;border:2px solid #0b0c0f;border-radius:50%;width:12px;height:12px;position:absolute;bottom:-1px;left:50%;transform:translate(-50%)}.tl-cursor span.tl-cursor-left{left:auto;right:4px}.tl-cursor span{pointer-events:none;color:#bfdbfe;white-space:nowrap;background:#111827d9;border-radius:3px;padding:0 3px;font-size:10px;font-style:normal;position:absolute;top:1px;left:4px}.event-thumb{object-fit:cover;background:#0b0c0f;border-radius:4px;flex:none;width:64px;height:36px}.event-kind{color:#d1d5db;white-space:nowrap;align-items:center;gap:5px;font-size:12px;display:inline-flex}.event-kind i{border-radius:50%;width:8px;height:8px}.tl-loading{color:#9ca3af;background:#000;border-radius:6px;justify-content:center;align-items:center;height:200px;display:flex}.events-title{color:#9ca3af;text-transform:uppercase;letter-spacing:.04em;margin:0 0 8px;font-size:13px;font-weight:600}@media (width<=700px){.tl-axis,.tl-row{grid-template-columns:minmax(0,1fr);gap:2px}.tl-axis .tl-name{display:none}.tl-row{margin-top:10px}.tl-bar{height:44px}.tl-hint{flex-basis:100%;margin-left:0}}.tl-controls{flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:10px;display:flex}.tl-zoom,.tl-pan{background:#0b0c0f;border:1px solid #23252b;border-radius:6px;align-items:center;gap:4px;padding:2px;display:flex}.tl-zoom button,.tl-pan button{color:#9ca3af;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:5px 10px;font-size:12px}.tl-zoom button.active{color:#fff;background:#2563eb}.tl-pan button:disabled{opacity:.3;cursor:default}.tl-pan span{color:#d1d5db;font-variant-numeric:tabular-nums;padding:0 4px;font-size:12px}.timeline.tl-full{z-index:1000;padding:max(8px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));background:#000;border:0;border-radius:0;flex-direction:column;margin:0;display:flex;position:fixed;inset:0}.tl-full .tl-box{flex-direction:column;flex:1;min-height:0;display:flex}.tl-full .tl-player{flex-direction:column;flex:1;min-height:0;margin-bottom:6px;display:flex}.tl-full .tl-player-head{margin-bottom:6px}.tl-full .tl-video{aspect-ratio:auto;border-radius:0;flex:1;width:100%;min-height:0;max-height:none}.tl-full .tl-transport{margin-top:6px}.tl-full .tl-legend,.tl-full .tl-row .tl-name{display:none}.tl-full .tl-controls{margin-bottom:4px}.tl-full .tl-axis,.tl-full .tl-row{grid-template-columns:minmax(0,1fr)}.tl-full .tl-axis .tl-name{display:none}.tl-full .tl-row{margin-top:2px}.tl-full .tl-bar{height:44px}@media (orientation:landscape) and (height<=500px){.tl-full .tl-player-head{top:max(8px, env(safe-area-inset-top));left:max(14px, env(safe-area-inset-left));right:max(14px, env(safe-area-inset-right));z-index:3;text-shadow:0 1px 3px #000;position:absolute}.tl-full .tl-transport button{height:32px}.tl-full .tl-bar{height:38px}}.tile-btn.tile-btn-on{background:#2563eb;border-color:#2563eb}.panel-view.storage-view{max-width:none}.storage-main,.storage-side{min-width:0}@media (width>=1100px){.storage-grid{grid-template-columns:minmax(0,1fr) clamp(340px,26vw,440px);align-items:start;gap:20px;display:grid}.storage-side{max-height:calc(100vh - 24px);padding-right:4px;position:sticky;top:12px;overflow-y:auto}.storage-main .timeline:not(.tl-full) .tl-video{width:min(100%,max(640px,177.778vh - 835.556px));max-height:none}}.focus-thumb{overflow:hidden}.focus-thumb .camera-tile{aspect-ratio:auto;width:100%;height:100%}.focus-thumb .camera-label{white-space:nowrap;text-overflow:ellipsis;padding:3px 6px;font-size:11px;line-height:1.3;overflow:hidden}@media (width<=700px){.focus-nav{display:none}.focus-view,.focus-main,.focus-main .camera-tile,.focus-thumb .camera-tile{flex:none}.focus-strip{height:76px}.focus-thumb{width:124px}}.ptz-panel{z-index:3;color:#e5e7eb;-webkit-backdrop-filter:blur(14px);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:#0d0f14b8;border:1px solid #ffffff1a;border-radius:20px;align-items:center;gap:14px;padding:12px 14px;line-height:1;display:flex;position:absolute;bottom:40px;right:14px}.ptz-ring{background:radial-gradient(circle,#1f2430 0 34%,#171a22 35% 100%);border:1px solid #ffffff14;border-radius:50%;flex:none;width:150px;height:150px;position:relative;box-shadow:inset 0 2px 10px #00000080}.ptz-dir{color:#cbd5e1;cursor:pointer;touch-action:none;background:0 0;border:none;border-radius:50%;place-items:center;width:40px;height:40px;transition:background .12s,color .12s;display:grid;position:absolute;transform:translate(-50%,-50%)}.ptz-dir svg{fill:none;stroke:currentColor;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.ptz-diag{color:#7c8aa0;width:32px;height:32px}.ptz-diag svg{width:16px;height:16px}@media (hover:hover){.ptz-dir:hover{color:#fff;background:#ffffff14}}.ptz-dir.ptz-held{color:#fff;background:#2563eb;box-shadow:0 0 14px #2563ebb3}.ptz-dir:focus-visible,.ptz-zoom button:focus-visible,.ptz-sizes button:focus-visible{outline-offset:2px;outline:2px solid #60a5fa}.ptz-hub{color:#475569;pointer-events:none;background:#0d0f14;border:1px solid #ffffff1a;border-radius:50%;place-items:center;width:46px;height:46px;font-size:18px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ptz-hub i{border:2px solid #60a5fa40;border-top-color:#60a5fa;border-radius:50%;width:20px;height:20px;animation:.8s linear infinite ptz-spin}@keyframes ptz-spin{to{transform:rotate(360deg)}}.ptz-side{flex-direction:column;gap:10px;min-width:0;display:flex}.ptz-sizes{background:#0d0f14;border:1px solid #ffffff14;border-radius:999px;padding:3px;display:flex}.ptz-sizes button{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:999px;flex:1;padding:7px 10px;font-size:12px}.ptz-sizes button.on{color:#fff;background:#2563eb}.ptz-zoom{color:#94a3b8;justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.ptz-zoom button{color:#e5e7eb;cursor:pointer;touch-action:none;background:#1f2430;border:1px solid #ffffff1a;border-radius:10px;width:40px;height:36px;font-size:18px}.ptz-zoom button:active{background:#2563eb}.ptz-hint{color:#64748b;max-width:170px;font-size:11px;line-height:1.3}.ptz-error{color:#fee2e2;text-align:center;background:#7f1d1de6;border-radius:8px;padding:6px 10px;font-size:12px;line-height:1.3;position:absolute;bottom:calc(100% + 6px);left:12px;right:12px}.ptz-swipe{z-index:1;cursor:grab;touch-action:none;position:absolute;inset:0}.ptz-swipe:active{cursor:grabbing}.ptz-swipe-line{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.ptz-swipe-line line{stroke:#60a5fae6;stroke-width:4px;stroke-linecap:round}.ptz-swipe-line circle{fill:#60a5fa}.ptz-swipe-msg{color:#fff;pointer-events:none;background:#2563ebe6;border-radius:999px;padding:5px 12px;font-size:12px;position:absolute;top:14px;left:50%;transform:translate(-50%)}@media (width<=700px){.focus-main{flex-direction:column;gap:10px;display:flex}.ptz-panel{-webkit-backdrop-filter:none;background:#131418;border-color:#23252b;justify-content:center;gap:18px;padding:14px;position:relative;bottom:auto;right:auto}.ptz-ring{width:168px;height:168px}.ptz-dir{width:48px;height:48px}.ptz-diag{width:38px;height:38px}.ptz-swipe{aspect-ratio:16/9;bottom:auto}.ptz-sizes button{padding:9px 10px;font-size:13px}.ptz-zoom button{width:46px;height:42px}}@media (width<=360px){.ptz-panel{flex-direction:column}}@media (prefers-reduced-motion:reduce){.ptz-hub i{animation-duration:2s}}.ptz-error.ptz-error-soft{color:#cbd5e1;background:#1e293beb}.alerts{background:#131418;border:1px solid #23252b;border-radius:12px;margin-bottom:24px;padding:16px}.alerts h3{margin:0 0 4px;font-size:15px}.alerts .muted{color:#9ca3af}.alerts .small{margin:0;font-size:12px}.alerts-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.alerts-warn{color:#fcd34d;background:#f59e0b1f;border:1px solid #f59e0b59;border-radius:8px;margin-bottom:12px;padding:10px 12px;font-size:13px;line-height:1.4}.alerts-cams{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px;display:grid}.alerts-off{opacity:.45}.alert-cam{background:#0d0f14;border:1px solid #23252b;border-radius:10px;flex-direction:column;gap:10px;padding:12px;display:flex}.alert-cam-off .alert-row{opacity:.4}.alert-cam-top{justify-content:space-between;align-items:center;display:flex}.alert-row{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.switch{color:#9ca3af;cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;padding:4px 0;font-size:13px;display:inline-flex}.switch i{background:#374151;border-radius:999px;flex:none;width:44px;height:26px;transition:background .15s;position:relative}.switch i:after{content:"";background:#fff;border-radius:50%;width:20px;height:20px;transition:transform .15s;position:absolute;top:3px;left:3px}.switch.on i{background:#2563eb}.switch.on i:after{transform:translate(18px)}.switch.on{color:#e5e7eb}.switch-big span{font-weight:600}.chip{color:#9ca3af;cursor:pointer;background:#131418;border:1px solid #2b2f38;border-radius:999px;align-items:center;gap:6px;min-height:36px;padding:0 12px;font-size:13px;display:inline-flex}.chip i{opacity:.5;border-radius:50%;width:8px;height:8px}.chip.on{color:#f3f4f6}.chip.on i{opacity:1}.seg{background:#131418;border:1px solid #2b2f38;border-radius:999px;padding:3px;display:inline-flex}.seg button{color:#9ca3af;cursor:pointer;background:0 0;border:none;border-radius:999px;padding:8px 12px;font-size:13px}.seg button.on{color:#fff;background:#2563eb}.alert-hours{color:#9ca3af;align-items:center;gap:6px;font-size:13px;display:inline-flex}.alert-hours input,.alerts-foot select{color:#e5e7eb;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#131418;border:1px solid #2b2f38;border-radius:8px;padding:6px 8px;font-size:14px}.alerts-foot{color:#9ca3af;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:14px;font-size:13px;display:flex}.alerts-foot label{align-items:center;gap:8px;display:inline-flex}.btn-secondary{color:#e5e7eb;cursor:pointer;background:#1f2937;border:1px solid #374151;border-radius:8px;min-height:36px;padding:0 14px;font-size:13px}.btn-secondary:disabled{opacity:.45;cursor:default}.save-state{margin-left:auto;font-size:12px}.save-saved{color:#4ade80}.save-error{color:#f87171}.alerts-msg{color:#cbd5e1;margin:10px 0 0;font-size:13px}@media (width<=700px){.alerts{padding:12px}.alerts-cams{grid-template-columns:1fr}.save-state{margin-left:0}}video.rot-180{transform:rotate(180deg)}video.rot-90{transform:rotate(90deg)scale(.5625)}video.rot-270{transform:rotate(270deg)scale(.5625)}.rotate-cell{align-items:center;gap:8px;display:inline-flex}.rotate-err{color:#f87171;font-size:12px}.panel-view .table{display:block;overflow-x:auto}@media (width<=480px){.tl-transport{flex-wrap:wrap;gap:6px}.tl-transport button{white-space:nowrap;min-width:40px;padding:0 8px}.tl-transport .tl-play{min-width:48px}.tl-transport .tl-fs{margin-left:0}}@media (width<=700px){.sidebar{height:calc(60px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}}.brand-icon{object-fit:cover;background:#020c1c;padding:0}.login-icon{border-radius:16px;width:64px;height:64px;margin:0 auto 16px;display:block}.team-list{flex-direction:column;gap:6px;margin:12px 0;padding:0;list-style:none;display:flex}.team-list li{background:#0d0f14;border:1px solid #23252b;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;display:flex}.team-list li>span:first-child{flex-direction:column;min-width:0;display:flex}.team-tag{color:#93c5fd;font-size:12px}.team-actions{flex-wrap:wrap;gap:6px;display:flex}.btn-danger{color:#fca5a5}.btn-primary{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;min-height:40px;padding:0 16px;font-size:14px;font-weight:600}.btn-primary:disabled{opacity:.6}.team-add{flex-wrap:wrap;gap:8px;display:flex}.team-add input{color:#e5e7eb;background:#0d0f14;border:1px solid #2b2f38;border-radius:8px;flex:180px;min-height:40px;padding:0 12px;font-size:16px}.team-creds{background:#4ade8014;border:1px solid #4ade8066;border-radius:10px;flex-direction:column;gap:8px;margin:12px 0;padding:14px;font-size:14px;display:flex}.team-cred-row{align-items:center;gap:10px;display:flex}.team-cred-row .muted{width:80px}.team-cred-row code{letter-spacing:.04em;-webkit-user-select:all;user-select:all;font-size:16px}.team-hint{margin-top:12px!important}.team-hint a{color:#93c5fd}
