@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-duration:initial}}}#live-page.page{box-shadow:none;background:0 0;border:0;border-radius:0;flex-direction:column;min-height:calc(100dvh - 3rem);margin-bottom:0;padding:0;display:flex}#live-page>.flex{flex:auto;min-height:0}#live-page .live-toolbar{border:1px solid hsl(var(--border)/.82);background:hsl(var(--card)/.98);box-shadow:0 8px 24px -20px hsl(var(--foreground)/.45);border-radius:.5rem;gap:.75rem;padding:.75rem .875rem;display:none}#live-page .live-toolbar h2{font-size:1.125rem;font-weight:700;line-height:1.35}#live-page .live-toolbar .inline-flex{border:1px solid hsl(var(--border)/.7);background:hsl(var(--muted)/.7);border-radius:.5rem}#live-page .controls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;margin-left:auto;display:flex}#live-page .controls>:not([hidden])~:not([hidden]){margin-left:0;margin-right:0}#live-page .controls label,#live-page .controls>div>span{color:hsl(var(--muted-foreground));font-size:.75rem;font-weight:600}#live-page .controls select,#live-page .controls .relative>button{height:2.375rem;box-shadow:none;border-radius:.5rem}#live-page .controls>button{border:1px solid hsl(var(--border)/.75);width:2.375rem;height:2.375rem;box-shadow:none;border-radius:.5rem;justify-content:center;align-items:center;padding:0;line-height:0;display:inline-flex}#live-page .controls>button svg{flex-shrink:0;display:block}.video-container{grid-template-columns:repeat(var(--grid-cols,2),1fr);grid-template-rows:repeat(var(--grid-rows,2),1fr);flex:auto;gap:.75rem;width:100%;height:calc(100dvh - 3rem);min-height:0;padding:0;transition:grid-template-columns .26s,grid-template-rows .26s,height .26s;display:grid}.live-workspace-empty{min-height:100%}.live-empty-state{border:1px solid hsl(var(--border)/.72);background:linear-gradient(135deg,hsl(var(--card)),hsl(var(--muted)/.38)48%,hsl(var(--background))),hsl(var(--card));width:100%;height:100%;min-height:100%;color:hsl(var(--card-foreground));text-align:center;box-shadow:inset 0 1px hsl(var(--background)/.9),0 18px 50px -42px hsl(var(--foreground)/.5);border-radius:.5rem;flex-direction:column;justify-content:center;align-items:center;gap:1.25rem;padding:clamp(2rem,5vw,4rem);display:flex;position:relative;overflow:hidden}.live-empty-state:before{pointer-events:none;content:"";background-image:linear-gradient(hsl(var(--border)/.32)1px,transparent 1px),linear-gradient(90deg,hsl(var(--border)/.32)1px,transparent 1px);opacity:.34;background-size:56px 56px;position:absolute;top:0;right:0;bottom:0;left:0;-webkit-mask-image:radial-gradient(circle,#000 0%,#0000 72%);mask-image:radial-gradient(circle,#000,rgba(0,0,0,0) 72%)}.live-empty-visual,.live-empty-content,.live-empty-action,.live-empty-secondary{z-index:1;position:relative}.live-empty-visual{aspect-ratio:16/10;place-items:center;width:min(19rem,70vw);display:grid}.live-empty-camera-wall{border:1px solid hsl(var(--border)/.76);background:hsl(var(--background)/.78);box-shadow:0 20px 44px -34px hsl(var(--foreground)/.6);border-radius:.5rem;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;padding:.7rem;display:grid;position:absolute;top:0;right:0;bottom:0;left:0}.live-empty-camera-wall span{border:1px solid hsl(var(--border)/.58);background:linear-gradient(145deg,hsl(var(--foreground)/.08),hsl(var(--foreground)/.015)),hsl(var(--muted)/.7);border-radius:.375rem;position:relative;overflow:hidden}.live-empty-camera-wall span:after{background:hsl(var(--primary)/.58);content:"";border-radius:999px;width:.55rem;height:.55rem;position:absolute;bottom:.55rem;right:.65rem}.live-empty-lens{border:1px solid hsl(var(--primary)/.24);background:hsl(var(--background)/.94);width:4.75rem;height:4.75rem;color:hsl(var(--primary));box-shadow:0 16px 34px -24px hsl(var(--foreground)/.7);border-radius:999px;place-items:center;display:grid}.live-empty-lens svg{width:2.35rem;height:2.35rem}.live-empty-content{max-width:34rem}.live-empty-eyebrow{color:hsl(var(--primary));letter-spacing:0;text-transform:uppercase;margin:0 0 .45rem;font-size:.75rem;font-weight:700}.live-empty-content h3{margin:0;font-size:clamp(1.35rem,2vw,1.85rem);font-weight:750;line-height:1.2}.live-empty-content p{color:hsl(var(--muted-foreground));margin:.75rem 0 0;font-size:.98rem;line-height:1.65}.live-empty-action{justify-content:center;min-width:10rem}.live-empty-secondary{max-width:30rem;color:hsl(var(--muted-foreground));margin:-.35rem 0 0;font-size:.83rem;line-height:1.55}.video-container.is-partial-grid{grid-template-rows:none;grid-auto-rows:auto;align-items:start;height:auto;min-height:0}.video-container.is-partial-grid>div{aspect-ratio:16/9;min-width:0}.video-container.is-workspace-grid{align-items:stretch}.video-container.is-workspace-grid>div{min-width:0}.live-workspace-tile{opacity:1;min-width:0;transition:opacity .18s,transform .18s;transform:scale(1)}@starting-style{.live-workspace-tile,.live-workspace-slot{opacity:0;transform:scale(.975)}}.live-workspace-tile.is-removing{opacity:0;pointer-events:none;transform:scale(.965)}.live-workspace-slot{border:1px dashed hsl(var(--border)/.78);background:linear-gradient(145deg,hsl(var(--muted)/.34),hsl(var(--background)/.72)),hsl(var(--card)/.78);min-height:100%;color:hsl(var(--muted-foreground));opacity:.82;border-radius:.375rem;flex-direction:column;justify-content:center;align-items:center;gap:.55rem;transition:opacity .18s,transform .18s,border-color .18s,background-color .18s;display:flex;overflow:hidden}.live-workspace-slot svg{opacity:.52;width:2rem;height:2rem}.live-workspace-slot span{text-overflow:ellipsis;white-space:nowrap;max-width:90%;font-size:.78rem;font-weight:650;line-height:1.25;overflow:hidden}.video-container.is-workspace-grid:hover .live-workspace-slot{border-color:hsl(var(--primary)/.38);background:hsl(var(--primary)/.055)}.live-workspace-tile-close{z-index:35;border:1px solid hsl(var(--border)/.55);background:hsl(var(--background)/.82);width:1.85rem;height:1.85rem;color:hsl(var(--muted-foreground));box-shadow:0 10px 24px -18px hsl(var(--foreground)/.7);cursor:pointer;border-radius:.45rem;justify-content:center;align-items:center;transition:background-color .16s,border-color .16s,color .16s,transform .16s;display:inline-flex;position:absolute;top:.55rem;right:.55rem}.live-workspace-tile-close:hover{border-color:hsl(var(--danger)/.45);background:hsl(var(--danger)/.14);color:hsl(var(--danger));transform:translateY(-1px)}.live-workspace-tile-close svg{width:.9rem;height:.9rem}@media(min-width:769px)and (max-width:1199px){.video-container{grid-template-columns:repeat(min(var(--grid-cols,2),2),1fr);grid-template-rows:auto;grid-auto-rows:1fr}}@media(max-width:768px){#live-page.page{min-height:calc(100dvh - 1.5rem)}.video-container{grid-template-rows:auto;grid-template-columns:1fr;grid-auto-rows:auto;height:calc(100dvh - 1.5rem);min-height:0}.live-empty-state{min-height:100%;padding:1.5rem}.live-empty-visual{width:min(16rem,82vw)}}.video-cell{border:1px solid hsl(var(--border)/.28);background-color:#000;border-radius:.375rem;width:100%;height:100%;position:relative;overflow:hidden;box-shadow:0 10px 24px -18px rgba(0,0,0,.9)}.video-cell:hover{z-index:2;box-shadow:0 14px 30px -20px rgba(0,0,0,.95)}.video-element{-o-object-fit:cover;object-fit:cover;z-index:1;width:100%;height:100%;position:absolute}.detection-overlay{z-index:2;width:100%;height:100%;position:absolute;top:0;left:0}.fullscreen-mode .video-cell{flex-direction:column;height:100%;max-height:100vh;display:flex;overflow:hidden}.fullscreen-mode .video-cell video{-o-object-fit:contain;object-fit:contain;flex:1;height:auto;min-height:0;max-height:100%;padding:0}.video-cell .stream-info-bar{color:#fff;opacity:0;-webkit-backdrop-filter:blur(4px);z-index:20;background-color:rgba(0,0,0,.7);justify-content:space-between;align-items:center;padding:.75rem;font-size:.9rem;transition:all .3s;display:flex;position:absolute;bottom:0;left:0;right:0;transform:translateY(100%)}.video-cell .stream-details{text-overflow:ellipsis;white-space:nowrap;flex-direction:column;flex-grow:1;flex-shrink:1;justify-content:center;min-width:0;display:flex;overflow:hidden}.video-cell .stream-name{text-overflow:ellipsis;white-space:nowrap;margin-bottom:.25rem;font-weight:700;overflow:hidden}.video-cell .stream-resolution{opacity:.8;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.video-cell:hover .stream-info-bar{opacity:1;transform:translateY(0)}.video-cell .stream-controls{-webkit-backdrop-filter:blur(8px);border:1px solid #ffffff24;flex-shrink:0;justify-content:flex-end;min-width:85px;margin-left:auto;display:flex;box-shadow:0 10px 26px -18px rgba(0,0,0,.95);background-color:rgba(5,8,13,.58)!important;border-radius:.5rem!important;gap:.375rem!important;padding:.25rem!important;bottom:.75rem!important;right:.75rem!important}.video-cell .stream-controls button{color:#fff;cursor:pointer;background-color:rgba(255,255,255,.1);border:none;border-radius:.375rem;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;padding:.375rem;font-size:.9rem;transition:all .2s;display:flex;position:relative}.video-cell .stream-controls button:hover{background-color:rgba(255,255,255,.22)}.video-cell .stream-controls.stream-controls-fullscreen{box-sizing:border-box;-webkit-backdrop-filter:blur(14px);flex-wrap:nowrap;justify-content:flex-end;align-items:center;min-width:0;max-width:calc(100% - 2rem);box-shadow:0 10px 28px rgba(0,0,0,.45);left:auto!important;right:1rem!important;bottom:calc(var(--fullscreen-timeline-dock-height,0px) + .75rem)!important;background:rgba(5,7,13,.82)!important;border:1px solid #ffffff29!important;border-radius:.625rem!important;width:auto!important;padding:.375rem .5rem!important}.video-cell .stream-controls.stream-controls-fullscreen>*{flex-shrink:0}.placeholder{border-radius:var(--radius);background-color:var(--color-gray-100,oklch(96.7% .003 264.542));height:100%;padding:calc(var(--spacing,.25rem)*8);text-align:center;--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);flex-direction:column;grid-area:1/1/-1/-1;justify-content:center;align-items:center;display:flex}.placeholder:is(.dark *){background-color:var(--color-gray-800,oklch(27.8% .033 256.848))}.placeholder p{margin-bottom:calc(var(--spacing,.25rem)*6);font-size:var(--text-lg,1.125rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75/1.125)));color:var(--color-gray-600,oklch(44.6% .03 256.802))}.placeholder p:is(.dark *){color:var(--color-gray-300,oklch(87.2% .01 258.338))}.fullscreen-mode{z-index:1000;background-color:#000;flex-direction:column;width:100%;height:100vh;padding:0;display:flex;position:fixed;top:0;left:0;overflow:hidden}.fullscreen-mode .page-header{margin-bottom:0;padding:.5rem}.fullscreen-mode .video-container{flex:auto;width:100%;height:100vh;min-height:100vh;margin:0;padding:.5rem;display:grid}.loading-indicator{color:#fff;z-index:15;flex-direction:column;align-items:center;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.loading-spinner{border:3px solid #fff3;border-top-color:hsl(var(--primary));border-radius:50%;width:40px;height:40px;margin-bottom:.75rem;animation:1s ease-in-out infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.error-indicator{color:#fff;text-align:center;-webkit-backdrop-filter:blur(4px);z-index:15;background-color:rgba(0,0,0,.5);border-radius:8px;flex-direction:column;align-items:center;padding:1.5rem;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.error-icon{color:hsl(var(--danger));margin-bottom:.75rem;font-size:2rem}@media(max-width:992px){.video-container{gap:.75rem}}@media(max-width:768px){.video-container{height:calc(100dvh - 1.5rem);min-height:0}.video-cell{aspect-ratio:16/9;margin-bottom:.5rem}.video-cell .stream-info-bar{opacity:1;transform:translateY(0)}.video-cell .stream-controls{gap:.75rem}.video-cell .stream-info-bar{padding:.5rem;font-size:.8rem}.video-cell .stream-controls{padding:.5rem}.video-cell .stream-controls button{padding:.35rem .5rem;font-size:.8rem}.play-button{width:5rem;height:5rem}.video-cell .stream-controls button{min-width:44px;min-height:44px}.video-cell .stream-controls.stream-controls-fullscreen{max-width:calc(100% - 1rem);left:auto!important;right:.5rem!important;bottom:calc(var(--fullscreen-timeline-dock-height,0px) + .5rem)!important;gap:.375rem!important;padding:.3125rem .375rem!important}.loading-indicator{background-color:rgba(0,0,0,.5);border-radius:8px;padding:1rem}.error-indicator{width:80%;max-width:300px}.retry-button{min-width:100px;min-height:44px;font-size:1rem}}@supports (-webkit-touch-callout:none){.video-cell video{z-index:1;position:relative}.video-cell .stream-info-bar{background-color:rgba(0,0,0,.8)}}.status-message{top:calc(var(--spacing,.25rem)*5);z-index:50;--tw-translate-x: -50% ;--tw-translate-y:calc(var(--spacing,.25rem)*-5);max-width:80%;translate:var(--tw-translate-x)var(--tw-translate-y);background-color:var(--color-green-500,oklch(72.3% .219 149.579));padding-inline:calc(var(--spacing,.25rem)*4);padding-block:calc(var(--spacing,.25rem)*2.5);text-align:center;font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));color:var(--color-white,#fff);opacity:0;--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.3s;border-radius:.25rem;transition-duration:.3s;position:fixed;left:50%}.status-message.visible{--tw-translate-y:calc(var(--spacing,.25rem)*0);translate:var(--tw-translate-x)var(--tw-translate-y);opacity:1}.modal.block{display:flex!important}.modal.hidden{display:none!important}#snapshot-preview-modal{z-index:1050}#snapshot-preview-modal .modal-content{max-width:90%;margin:0 auto}#snapshot-preview-image{-o-object-fit:contain;object-fit:contain;width:100%;max-height:70vh}.play-overlay{-webkit-backdrop-filter:blur(4px);cursor:pointer;z-index:15;touch-action:manipulation;background-color:rgba(0,0,0,.6);flex-direction:column;justify-content:center;align-items:center;transition:all .2s;display:flex;position:absolute;top:0;right:0;bottom:0;left:0}.play-overlay:hover,.play-overlay:active{background-color:rgba(0,0,0,.5)}.play-button{background-color:rgba(255,255,255,.2);border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:4rem;height:4rem;transition:transform .2s;display:flex}.play-overlay:hover .play-button,.play-overlay:active .play-button{transform:scale(1.1)}.tap-message{color:#fff;text-align:center;margin-top:10px;font-size:14px}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-duration{syntax:"*";inherits:false}
