:root{color-scheme:dark;--bg:#101211;--surface:#191c1a;--surface-2:#202420;--line:#ffffff0d;--border:#ffffff12;--text:#f1f1ec;--muted:#939a92;--green:#b6cba5;--accent:#dba46a;--red:#ec8174;--font:"Helvetica Neue",Helvetica,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px var(--font);font-weight:400;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{color:inherit;cursor:pointer}button:disabled{opacity:.35;cursor:not-allowed}button,a,input,select,textarea{outline-offset:5px}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent)}button{transition:background .18s,color .18s,border-color .18s}a{color:inherit;text-decoration:none}button{border:0;background:none}h1,h2,h3,p{margin:0}h2{font-size:14px;font-weight:400;letter-spacing:-.2px}h3{font-weight:400}small{font-size:10px}img{max-width:100%}[hidden]{display:none!important}.icon{display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center;flex-shrink:0}.icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:37px;height:37px;border-radius:50%;color:#d3d9d1;flex-shrink:0}.icon-button:hover{background:#ffffff0b}.button{display:inline-flex;align-items:center;justify-content:center;gap:13px;border-radius:10px;padding:13px 17px;font-size:12px;line-height:1.2;border:1px solid var(--border);white-space:nowrap}.button.light{background:#e5e8df;color:#252923;border-color:#e5e8df}.button.light:hover{background:#fff}.button.ghost,.secondary{background:#ffffff04}.button.ghost:hover,.secondary:hover{background:#ffffff0d}.button.primary{background:#c6d7b8;color:#17221b}.button.small{padding:9px 12px;font-size:11px}.subtle,.text-button,.link-button{color:var(--muted);font-size:10px;padding:4px 0}.subtle:hover,.text-button:hover,.link-button:hover{color:var(--text)}.micro,.eyebrow{font-size:9px;letter-spacing:1.5px;font-weight:400;color:#adb5aa}.eyebrow{display:flex;align-items:center;gap:9px}.status-dot,.green-dot,.amber-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#a6d28d;flex-shrink:0}.status-dot.orange,.amber-dot{background:var(--accent)}.status-dot.red{background:var(--red)}.pill{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:5px;font-size:9px;white-space:nowrap}.pill.amber{color:#e2b489;background:#b37e4015}.pill.green{color:#bcd3a9;background:#a4cb8212}.pill.gray{background:#ffffff07;color:#a6b0a3}.muted{font-size:12px;line-height:1.85;color:var(--muted)}.spaced{margin-top:28px}.project-logo{width:152px;filter:url(#logo-on-dark)}.powered{display:flex;align-items:center;gap:12px}.powered>span{font-size:7px;letter-spacing:1.3px;color:#8f978c}.powered img{width:94px;opacity:.72;transition:opacity .2s}.powered:hover img{opacity:1}
/* Entrance and locked workstation */
.auth-screen,.lock-screen{min-height:100svh;position:relative;overflow:hidden;background:#131a17}.auth-photo{position:absolute;inset:0;background:url('/assets/residence.webp') center center/cover no-repeat;filter:saturate(.55);transform:scale(1.025)}.auth-shade{position:absolute;inset:0;background:linear-gradient(90deg,#07100cd9 0%,#08120b70 42%,#111611e8 72%,#111611 100%),linear-gradient(0deg,#080f0ce8,transparent 50%,#08110a80)}.auth-grain{position:absolute;inset:0;background-image:repeating-linear-gradient(0deg,transparent,transparent 3px,#fff 4px);opacity:.012;pointer-events:none}.auth-header{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;padding:32px 4.5vw}.auth-header .project-logo{width:184px}.auth-header>.micro{display:flex;align-items:center;gap:14px;font-size:8px}.auth-story{position:absolute;left:7vw;top:24%;z-index:1}.auth-story>.eyebrow{font-size:9px;color:#d4ded0;letter-spacing:2px}.auth-story h1{font-size:clamp(42px,4.3vw,74px);font-weight:300;line-height:1.12;letter-spacing:-2.8px;margin:23px 0}.auth-story h1 span{color:#c4cfbd}.auth-story>p{font-size:13px;line-height:1.8;color:#c4cebf}.auth-glass{width:295px;margin-top:45px;border:1px solid #cadbc126;border-radius:23px;background:linear-gradient(135deg,#b7ccaa24,#a9b5a312 60%,#c4995420);backdrop-filter:blur(18px);padding:20px 22px;box-shadow:inset 0 1px #ffffff17,0 20px 50px #0001}.auth-glass-heading{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:300}.auth-glass-heading>.status-dot{margin-left:auto}.building-lines{height:76px;display:flex;align-items:flex-end;justify-content:center;margin:13px 0 12px;gap:8px}.building-lines span{width:35px;border:1px solid #d7e1d155;background:repeating-linear-gradient(0deg,transparent,transparent 10px,#d7e1d133 10px,#d7e1d133 11px),repeating-linear-gradient(90deg,transparent,transparent 10px,#d7e1d133 10px,#d7e1d133 11px);height:55px;transform:skewY(-10deg)}.building-lines span:nth-child(2){height:72px}.building-lines span:nth-child(3){height:44px}.building-lines span:nth-child(4){height:64px}.building-lines span:nth-child(5){height:35px}.auth-glass-footer{border-top:1px solid #ffffff16;padding-top:13px;display:flex;justify-content:space-between;color:#c3cfbc;font-size:9px}.photo-credit{font-size:8px;color:#a7b4a170;display:block;margin-top:24px}.auth-form-wrap{position:relative;z-index:1;width:365px;margin:7vh 9vw 110px auto}.auth-form-card{padding:0 0 25px}.auth-symbol{width:38px;height:38px;color:#bcc8b2;margin-bottom:30px}.auth-form-card>.eyebrow{font-size:8px;color:#8c9c86;letter-spacing:2px}.auth-form-card>h2{font-weight:300;font-size:31px;letter-spacing:-1px;margin:13px 0}.auth-form-card>p{font-size:12px;color:#929f8d;margin-bottom:32px}.auth-form-card form>label,.password-label label{display:block;font-size:11px;color:#c0c9b9;margin-bottom:10px}.input-shell{display:flex;align-items:center;gap:12px;background:#f3f5ed04;border:1px solid #d7dfca22;padding:0 15px;height:49px;border-radius:9px;color:#8b9984;transition:border-color .2s}.input-shell:focus-within{border-color:#d0d9be88}.input-shell input{width:100%;border:0;background:none;outline:none;padding:12px 0;color:#e2e9da;font-size:12px;min-width:0}.input-shell input::placeholder{color:#75816e}.input-shell>.icon{width:16px;height:16px}.input-shell .icon-button{width:25px;height:30px}.password-label{display:flex;align-items:center;justify-content:space-between;margin-top:22px}.password-label>.subtle{font-size:10px;margin-bottom:8px}.auth-submit{margin-top:25px;width:100%;justify-content:space-between;height:48px}.form-error{font-size:11px;color:#eda092;line-height:1.6;margin:10px 0}.or-line{display:flex;align-items:center;gap:14px;margin:25px 0 18px;font-size:8px;letter-spacing:1.2px;color:#6f7b68}.or-line:before,.or-line:after{content:'';height:1px;background:#ffffff0a;flex:1}#demo-login{width:100%;height:45px;color:#afbda6;font-size:11px}.auth-form-card>.login-footnote{text-align:center;font-size:10px;line-height:1.8;color:#728069;margin:22px 0 0}.auth-form-wrap>.powered{justify-content:center;margin-top:15px}.auth-footer{position:absolute;left:4.5vw;right:4.5vw;bottom:27px;z-index:1;display:flex;justify-content:space-between;color:#9eae947d;font-size:9px;align-items:center}.lock-shade{position:absolute;inset:0;backdrop-filter:blur(13px);background:linear-gradient(0deg,#09110dda,#102016b8,#111c1380)}.lock-content{position:relative;z-index:1;text-align:center;margin:5vh auto 120px}.lock-content>time{font-size:clamp(85px,9vw,140px);font-weight:200;line-height:1;letter-spacing:-7px;font-variant-numeric:tabular-nums}.lock-content>p{margin:15px 0 0;font-size:15px;font-weight:300;color:#c6d1bc}.lock-card{width:325px;margin:55px auto 0}.operator-avatar{position:relative;display:grid;place-items:center;margin:0 auto 19px;width:68px;height:68px;border:1px solid #d3ddc343;background:linear-gradient(135deg,#a9b6a042,#a9b6a015);border-radius:50%;color:#e0e6d8;font-size:20px;font-weight:300;backdrop-filter:blur(15px)}.tiny-lock{position:absolute;right:-2px;bottom:-2px;background:#394431;border:1px solid #d3ddc343;border-radius:50%;padding:5px;width:25px;height:25px}.lock-card h2{font-size:21px;font-weight:300}.lock-card>p{font-size:11px;color:#aab7a0;margin:10px 0 25px}.lock-card>.subtle{margin-top:20px;color:#becab4;font-size:10px}.lock-card .input-shell{background:#c1cdb80e;backdrop-filter:blur(18px)}
/* Workspace navigation */
#workspace{background:radial-gradient(ellipse at 70% -20%,#57604610,transparent 55%),#101211;min-height:100vh}.app-header{height:83px;padding:0 34px;display:flex;align-items:center;gap:40px;border-bottom:1px solid var(--line);position:relative;z-index:3}.logo-link{width:206px;display:flex;flex-direction:column;flex-shrink:0}.logo-link .project-logo{width:143px;margin-left:-5px;height:47px;object-fit:contain}.logo-link>span{font-size:6px;letter-spacing:2.3px;color:#7e887b;margin-top:-3px;margin-left:39px}.main-nav{display:flex;gap:6px;align-items:center}.nav{padding:11px 17px;border-radius:30px;color:#8e978a;font-size:11px;font-weight:400;white-space:nowrap}.nav.active{background:#272d25;color:#e0e7db}.nav:hover{color:#eee}.nav i{font-style:normal;font-size:8px;margin-left:4px;color:#d8ad7a}.header-actions{margin-left:auto;display:flex;align-items:center;gap:8px;position:relative}.header-actions>.icon-button{background:#ffffff03;width:34px;height:34px;position:relative}.header-actions>.icon-button:hover{background:#ffffff0d}.header-divider{height:17px;width:1px;background:var(--border);margin:0 6px}.avatar-button{border-radius:50%;background:linear-gradient(135deg,#718067,#333b31);border:1px solid #9ba38e33;width:33px;height:33px;font-size:10px;margin-left:3px}#notification-dot{position:absolute;top:5px;right:5px;width:5px;height:5px;background:#d2935b;border-radius:50%}.profile-menu{position:absolute;right:34px;top:70px;width:230px;background:#20251feF;backdrop-filter:blur(20px);border:1px solid var(--border);box-shadow:0 20px 60px #0007;border-radius:14px;padding:18px}.profile-menu>strong{display:block;font-size:12px;font-weight:400}.profile-menu>small{display:block;color:var(--muted);margin:7px 0 16px}.profile-menu>button{display:flex;gap:10px;align-items:center;width:100%;font-size:11px;padding:10px 0;color:#c1ccba}.profile-menu>button:last-child{border-top:1px solid var(--line)}.content{padding:33px 34px 0;max-width:1920px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:33px}.page-heading .eyebrow{color:#8b9586;font-size:8px;letter-spacing:1.8px}.page-heading h1{font-size:43px;font-weight:300;letter-spacing:-1.7px;line-height:1.1;margin:15px 0 10px}.page-heading h1 span{color:#858f7e}.page-heading p{font-size:11px;color:#929a8d}.heading-meta{text-align:right;padding-top:20px;font-size:9px;color:#9aa491}.heading-meta>span{display:inline-flex;align-items:center;gap:7px;margin-bottom:13px}.heading-meta>div{display:flex;gap:14px;color:#858e7e}.heading-meta time{color:#ced8c4;font-variant-numeric:tabular-nums}.timezone{font-size:8px;color:#5a6555}.page{min-height:60vh}.surface{background:linear-gradient(145deg,#1c211c,#191c19);border:1px solid #ffffff06;border-radius:16px}.segmented{display:flex;gap:4px;border-radius:28px;padding:4px;background:#171b17}.segmented>button{display:flex;align-items:center;justify-content:center;gap:6px;flex:1;border-radius:24px;padding:8px 12px;white-space:nowrap;font-size:10px;color:#8f9b87}.segmented>button.active{background:#2a3127;color:#e5eadf}.segmented .icon{width:13px;height:13px}.command-grid{display:grid;grid-template-columns:286px minmax(0,1fr);gap:27px}.operations-rail{min-width:0}.camera-filters{margin-bottom:13px;padding:4px 2px}.status-cards{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:12px}.status-cards article{padding:17px 16px;display:grid;grid-template-columns:1fr 1fr;gap:14px 0}.status-cards article>span{display:flex;align-items:center;gap:5px;grid-column:1/-1;color:#b4bfaa;font-size:10px}.status-cards strong{font-size:33px;font-weight:300;letter-spacing:-1px;line-height:1}.status-cards small{font-size:8px;color:#798772;align-self:end;line-height:1.5;text-align:right}.activity-card{padding:19px 17px 15px;margin-bottom:21px}.card-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.card-top h2{font-size:11px;color:#cad2c2}.card-top>.icon{width:14px;height:14px;color:#7f8b77}.activity-number{display:flex;align-items:baseline;gap:9px;margin:20px 0 2px}.activity-number>strong{font-weight:300;font-size:42px;letter-spacing:-1.5px}.activity-number>span{font-size:9px;color:#7c8a74}#activity-chart{width:100%;height:82px;display:block}.chart-caption{display:flex;justify-content:space-between;gap:5px;font-size:7px;color:#63715b;margin-top:5px}.chart-caption span:nth-child(2){font-size:6.5px;color:#84917b}.rail-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.rail-heading h2{font-size:11px}.rail-heading h2>span{font-size:8px;color:#737e6b;margin-left:7px}.rail-heading .subtle{font-size:9px}.camera-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.camera-card{background:#1b201a;border:1px solid #ffffff08;border-radius:13px;overflow:hidden;position:relative;min-width:0;text-align:left;padding:0}.camera-card.active{border-color:#bac4a945;background:linear-gradient(140deg,#4d594544,#1c251c);box-shadow:inset 0 1px #cbd3c519}.camera-card:hover{border-color:#c2cead44}.camera-card .thumb-wrap{height:82px;position:relative;overflow:hidden}.camera-card img{width:100%;height:100%;object-fit:cover;filter:saturate(.55) brightness(.77);transition:filter .2s,transform .3s}.camera-card:hover img{filter:saturate(.7) brightness(.95);transform:scale(1.03)}.camera-card.active img{filter:saturate(.6) brightness(.95)}.camera-card .thumb-wrap:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#1b201a66,transparent)}.camera-card .thumb-code{position:absolute;top:7px;left:7px;font-size:7px;letter-spacing:.5px;z-index:1;background:#10171088;border-radius:4px;padding:4px 5px;color:#e2e9dc}.camera-card .thumb-arrow{position:absolute;right:8px;bottom:7px;font-size:13px;color:#e2ebd8;z-index:1}.camera-card .camera-copy{padding:11px 10px 10px}.camera-copy>strong{display:block;font-size:10px;font-weight:400;margin-bottom:5px}.camera-copy>small{font-size:7px;color:#88977d}.camera-copy>span{display:flex;justify-content:space-between;align-items:center;margin-top:12px;font-size:7px;color:#a1b592}.camera-copy .status-dot{width:4px;height:4px;margin-right:4px}.rail-foot{display:flex;align-items:center;gap:7px;margin:18px 0 0;color:#6c7c61;font-size:8px}.rail-foot>.icon{width:12px;height:12px}.command-main{min-width:0}.stage-heading{display:flex;justify-content:space-between;align-items:center;margin:1px 0 16px;gap:14px}.stage-heading .eyebrow{font-size:7px;letter-spacing:1.4px;color:#7f8e74}.stage-heading h2{font-size:23px;font-weight:300;letter-spacing:-.7px;margin-top:8px}.stage-actions{display:flex;align-items:center;gap:9px}.stage-actions .segmented{background:#1b211a}.stage-actions .icon-button{background:#1a201a}.stage{width:100%;min-width:0;position:relative;background:#151b16;border-radius:21px;overflow:hidden;border:1px solid #c5d2bd11;isolation:isolate;aspect-ratio:2.02/1;min-height:350px}#video-view,#map-view{position:absolute;inset:0}#main-video,#live-frame{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.63) contrast(.98) brightness(.86)}#detection-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}.stage-vignette{position:absolute;inset:0;background:linear-gradient(0deg,#0a110bd9,transparent 35%,transparent 75%,#0b140c77);pointer-events:none;z-index:2}.video-topline,.video-bottomline{position:absolute;left:25px;right:25px;display:flex;align-items:center;justify-content:space-between;z-index:3;pointer-events:none}.video-topline{top:23px}.video-bottomline{bottom:24px;align-items:flex-end}.glass-pill{display:inline-flex;align-items:center;gap:8px;background:#28312466;backdrop-filter:blur(18px);border:1px solid #d7e3cc28;padding:8px 10px;border-radius:22px;color:#e2ebdc;font-size:8px;letter-spacing:.7px;box-shadow:inset 0 1px #ffffff10}.video-code{font:9px var(--font);letter-spacing:2px;color:#dce6d4;text-shadow:0 1px 5px #000a}.video-bottomline .micro{display:block;color:#e3eadc;font-size:10px;letter-spacing:1.2px}.video-bottomline #video-source-name{display:block;font-size:9px;color:#a5b19c;margin-top:8px}.glass-icon{pointer-events:auto;width:37px;height:37px;background:#d4e0c614;backdrop-filter:blur(15px);border:1px solid #d4e0c628;border-radius:50%;display:grid;place-items:center;color:#d9e5d0}.glass-icon[aria-pressed=false]{opacity:.4}.video-error{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#172017;text-align:center;gap:14px;padding:30px}.video-error>.icon{width:35px;height:35px;color:#96a48c}.video-error h3{font-size:21px;font-weight:300}.video-error p{color:#8c9b81;font-size:12px;line-height:1.8}.playback{margin-top:12px;border-radius:13px;padding:8px 19px 12px}.playback-controls{display:flex;align-items:center;gap:11px}.playback-controls>.icon-button{width:27px;height:27px}.playback-controls .icon{width:13px;height:13px}#playback-time{font-size:10px;font-variant-numeric:tabular-nums;color:#d8e0d0}#playback-time small{color:#6e7d64;font-size:9px;margin-left:5px}.playback-label{margin-left:auto;font-size:8px;color:#7c8973;margin-right:13px}#speed-toggle{font-size:10px;width:25px}.timeline-wrap{position:relative;height:34px;margin:6px 0 0}#timeline-bars{width:100%;height:34px;display:block}.timeline-wrap input{position:absolute;inset:0;width:100%;height:100%;margin:0;cursor:ew-resize;appearance:none;background:transparent}.timeline-wrap input::-webkit-slider-runnable-track{background:transparent;height:34px}.timeline-wrap input::-webkit-slider-thumb{appearance:none;width:2px;height:34px;background:#d4a971;border-radius:2px;box-shadow:0 0 12px #dcaa7280}.timeline-wrap input::-moz-range-track{background:transparent}.timeline-wrap input::-moz-range-thumb{width:2px;height:34px;background:#d4a971;border:0;border-radius:0}.timeline-labels{display:flex;justify-content:space-between;font-size:7px;color:#6f7d65;margin-top:5px}.bottom-insights{display:grid;grid-template-columns:1.2fr 1fr;gap:12px;margin-top:15px}.bottom-insights>article{padding:20px 21px;border-radius:15px;min-height:158px}.event-summary .card-top{margin-bottom:12px}.event-summary .subtle{font-size:9px}.empty-inline{display:flex;gap:13px;align-items:center;padding:15px 0 5px}.empty-inline>.icon{width:28px;height:28px;color:#7b8c6e}.empty-inline strong{display:block;font-weight:400;font-size:11px;color:#c1cdb7;margin-bottom:8px}.empty-inline p{font-size:9px;color:#76866a;line-height:1.7}.event-item{display:flex;gap:10px;align-items:flex-start;width:100%;text-align:left;padding:10px 0;border-bottom:1px solid #ffffff06}.event-item:last-child{border:0}.event-symbol{background:#c08a4815;color:#d1a875;border-radius:6px;display:grid;place-items:center;width:26px;height:26px;flex-shrink:0;font-size:13px}.event-item strong{font-size:10px;font-weight:400;line-height:1.5}.event-item p{font-size:8px;color:#7b8c70;margin-top:5px}.event-item>.event-time{margin-left:auto;font-size:8px;color:#76856b;white-space:nowrap;padding-top:2px}.event-item .pill{font-size:7px;padding:3px 6px;margin-top:6px}.rule-count{display:flex;gap:7px;align-items:baseline;margin:17px 0 13px}.rule-count>strong{font-size:30px;font-weight:300}.rule-count>span{font-size:9px;color:#94a286}.rule-count>span:last-child{margin-left:auto;font-size:8px;color:#6b7b5f}#mini-rules{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:12px}#mini-rules>span{font-size:8px;border:1px solid #b5c6a513;padding:5px 7px;border-radius:20px;color:#8b9d7d}#mini-rules>span.off{opacity:.35}.rules-summary>.subtle{font-size:9px}.demo-workbench{display:flex;align-items:center;gap:22px;margin-top:25px;padding:22px 24px;border:1px solid #c8d5b40b;background:linear-gradient(100deg,#b58a5010,#ffffff02);border-radius:15px}.demo-workbench h3{font-size:15px;font-weight:300;margin:9px 0 7px}.demo-workbench p{font-size:9px;color:#87927d}.demo-workbench .pill{font-size:7px;letter-spacing:.8px;padding:0;background:none}.scenario-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-left:auto}.scenario-buttons .button{padding:13px 14px;background:#23271f66;font-size:10px;color:#c4ceba;border-color:#c7d8b510;gap:7px}.scenario-buttons .icon{width:14px;height:14px;color:#8f9e82}.scenario-buttons .button small{display:block;font-size:8px;color:#819174;margin-top:5px;text-align:left}.demo-workbench>#pause{width:31px;height:31px;color:#79886f}.app-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:29px 0 24px;font-size:8px;color:#66745b}.app-footer>div{display:flex;align-items:center;gap:8px}.app-footer .status-dot{width:4px;height:4px;background:#869d75}.app-footer .subtle{font-size:8px;margin-left:16px;color:#839475}
/* Site plan, walls and dialogs */
#map-view{background:radial-gradient(ellipse at 55% 55%,#34422b,#141d16 75%)}.site-plan{height:100%;width:100%;object-fit:cover;opacity:.9}.map-heading{position:absolute;top:25px;left:30px}.map-heading h3{font-size:24px;letter-spacing:-1px;margin:10px 0}.map-heading h3 span{color:#899a7e;font-weight:300}.map-heading p{font-size:8px;color:#74886a}.map-marker{position:absolute;display:flex;align-items:center;gap:7px;font-size:9px;color:#c0d1b4}.map-marker button{display:grid;place-items:center;width:33px;height:33px;border:1px solid #e1ebd556;border-radius:50%;background:#819a6970;backdrop-filter:blur(10px);box-shadow:0 0 0 7px #9dc4800a;font-size:10px;color:#f4f8ef}.map-marker button:hover{background:#b8cea590;color:#fff;box-shadow:0 0 0 13px #9dc48018}.map-marker span{padding:5px 7px;background:#172511b0;border-radius:5px;font-size:8px}.marker-entrance{left:23%;top:71%}.marker-garden{left:48%;top:47%}.marker-exit{left:34%;top:28%}.marker-pool{left:73%;top:62%}.map-key{position:absolute;bottom:22px;left:27px;font-size:8px}.map-key>span{margin-left:10px;color:#90a481}.stage:fullscreen{aspect-ratio:auto;height:100vh;width:100vw;border-radius:0;min-height:0}.camera-wall{display:grid;grid-template-columns:1fr 1fr;gap:22px}.wall-card{background:var(--surface);border-radius:19px;overflow:hidden;border:1px solid var(--border)}.wall-visual{position:relative;aspect-ratio:16/9;cursor:pointer}.wall-visual video,.wall-visual img{width:100%;height:100%;object-fit:cover;filter:saturate(.6) brightness(.85)}.wall-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;padding:20px;background:linear-gradient(0deg,#0e170bc0,transparent 40%);pointer-events:none}.wall-overlay>span{align-self:flex-start}.wall-overlay>div{display:flex;justify-content:space-between;align-items:flex-end;font-size:17px;font-weight:300}.wall-overlay small{font-size:10px;color:#c5d1b9}.wall-details{padding:16px 20px;display:flex;justify-content:space-between;gap:12px;align-items:center;color:#8d9b81;font-size:10px}.wall-details>.button{padding:9px 12px;font-size:10px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.section-heading h2{font-size:22px;font-weight:300;letter-spacing:-.6px}.section-heading .muted{margin-top:8px;font-size:11px}.inline-actions{display:flex;align-items:center;gap:10px}select,input[type=number],textarea{background:#1d251c;color:#cfddc5;border:1px solid #c3d4b422;border-radius:8px;padding:10px 12px;font-size:12px}select{font-size:11px}input[type=number]{display:block;width:100%;margin-top:10px}.table-wrap{overflow:auto;border:1px solid #b4c4a313;border-radius:15px;background:#171e16}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;color:#8a9c7d;font-weight:400;background:#21291e55}td,th{padding:18px 20px;border-bottom:1px solid #b4c4a30b}td{font-size:11px;color:#bccbb0}td small{display:block;color:#75896b;margin-top:6px;font-size:9px}tr:last-child td{border:0}.empty{padding:70px 20px;text-align:center;border:1px solid #becfad12;border-radius:15px;background:#1a2017;font-size:13px;color:#8fa07d;line-height:1.8}.empty .icon{width:32px;height:32px;display:flex;margin:0 auto 20px}.info-box{padding:18px 21px;background:#252b1e55;border:1px solid #cbdab318;border-radius:13px;color:#a5b497;line-height:1.85;font-size:11px}.rule-row{display:grid;grid-template-columns:1fr 85px 150px;align-items:center;gap:25px;background:var(--surface);padding:24px;border-radius:15px;margin-top:14px;border:1px solid #ffffff07}.rule-row h3{font-size:16px;font-weight:300;margin-bottom:8px}.rule-row p{font-size:11px;color:#89987c;line-height:1.85}.rule-row label{font-size:10px;color:#92a085}.rule-row .rule-ref{font-size:9px;color:#bc956e;margin-bottom:7px}.rule-row .rule-zone-button{font-size:10px;color:#b6c8a4;margin-top:10px;display:flex;align-items:center;gap:5px}.toggle{border:1px solid #b7d2a328;background:#a9ca8312;color:#b4cba3;padding:11px;border-radius:8px;font-size:11px}.toggle.off{background:#ffffff03;color:#6e7d63;border-color:#a0ae9112}.rule-hours{display:flex;gap:15px;margin-top:15px;max-width:250px}.feasibility{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px}.feasibility article,.panel{background:var(--surface);border:1px solid #ffffff07;border-radius:15px;padding:25px}.feasibility h3{margin:15px 0 10px;font-size:16px;font-weight:300}.feasibility p{font-size:11px;line-height:1.9;color:#8d9b81}.capacity-layout{display:grid;grid-template-columns:330px 1fr;gap:22px}.panel>h2{font-size:18px;font-weight:300;margin-bottom:13px}.panel>label{display:block;color:#a3b296;font-size:11px;margin-top:25px}.panel output{float:right;color:#d7c096}.panel input[type=range]{display:block;width:100%;margin:16px 0;accent-color:#c5b38d}.panel .muted{font-size:11px;margin-top:13px}.capacity-results{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.capacity-results article{padding:25px 20px;border:1px solid var(--border);border-radius:15px;background:var(--surface)}.capacity-results span{font-size:8px;color:#8b9b7d;letter-spacing:.6px}.capacity-results strong{font-size:35px;font-weight:300;display:block;margin:22px 0 13px;letter-spacing:-1px;color:#d4dec8}.capacity-results p{font-size:10px;color:#7c8e6e;line-height:1.8}.pipeline{display:flex;align-items:center;justify-content:space-around;gap:15px;margin:40px 0}.pipeline span{text-align:center;font-size:13px;color:#c0cfb3}.pipeline small{display:block;margin-top:9px;color:#7b8d6d;font-size:10px}.pipeline>b{transform:rotate(-90deg);color:#ba9d74;font-weight:300}dialog{background:linear-gradient(140deg,#262e24f5,#192018fa);backdrop-filter:blur(35px);border:1px solid #d9e7c828;color:var(--text);border-radius:23px;box-shadow:0 35px 100px #0009;padding:27px;width:min(750px,94vw);max-height:91vh;overflow:auto}dialog::backdrop{background:#081009b0;backdrop-filter:blur(9px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}.dialog-heading h2{font-size:25px;font-weight:300;letter-spacing:-.6px;margin-top:9px}.dialog-heading .eyebrow{font-size:8px;color:#899d79}.dialog-heading .icon-button{background:#ffffff05}.evidence,#zone-canvas,#scenario-canvas{display:block;width:100%;border-radius:12px;touch-action:none}.detail-facts{display:grid;grid-template-columns:1fr 1fr;gap:21px;margin:22px 0;font-size:12px}.detail-facts small{display:block;color:#829675;font-size:9px;margin-bottom:8px}.detail-note{font-size:11px;line-height:1.8;color:#98a88b;margin:14px 0}textarea{display:block;width:100%;resize:vertical;min-height:80px;margin-top:9px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}#zone-note,#scenario-status{margin:12px 0 20px}#search-dialog{width:min(650px,94vw);padding:17px}.search-field{display:flex;align-items:center;gap:13px;padding:5px 10px 17px;border-bottom:1px solid var(--border)}.search-field input{flex:1;min-width:0;border:0;background:none;color:#e7eee0;font-size:16px;padding:10px 0;outline:none}.search-field kbd{font-size:8px;color:#829777;border:1px solid #b7c5aa22;border-radius:4px;padding:5px}.search-result{width:100%;display:flex;align-items:center;gap:14px;text-align:left;padding:17px 13px;border-radius:10px}.search-result:hover{background:#c8deaf0a}.search-result>span:last-child{margin-left:auto;color:#94a683}.search-result strong{font-size:12px;font-weight:400}.search-result small{display:block;font-size:9px;color:#839774;margin-top:5px}.credit-luum{display:flex;align-items:center;justify-content:space-between;margin:0 0 20px;padding:24px;border:1px solid var(--border);border-radius:13px;background:#ffffff03}.credit-luum img{width:155px}.credit-luum span{font-size:10px;color:#a4b398}#media-credits{margin:18px 0}#media-credits a{display:block;padding:12px 0;font-size:12px;color:#bacaad;border-bottom:1px solid var(--line)}#media-credits small{font-size:9px;color:#7d916e;display:block;margin-top:5px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:90vw;border:1px solid #c6d9ae33;background:#293922ee;backdrop-filter:blur(18px);color:#e2edd8;padding:15px 22px;border-radius:13px;box-shadow:0 12px 40px #0005;font-size:12px;line-height:1.6;z-index:20}
@media(min-width:1650px){.command-grid{grid-template-columns:326px minmax(0,1fr);gap:31px}.camera-card .thumb-wrap{height:105px}.stage{aspect-ratio:2.05/1}.activity-card{padding:23px}.activity-card #activity-chart{height:95px}.camera-copy>strong{font-size:12px}.camera-copy>small{font-size:8px}.camera-copy>span{font-size:8px}.camera-card .camera-copy{padding:13px}.bottom-insights>article{min-height:177px}}
@media(max-width:1200px){.app-header{padding:0 24px;gap:20px}.logo-link{width:168px}.nav{padding:10px 12px;font-size:10px}.content{padding:27px 24px 0}.command-grid{grid-template-columns:250px minmax(0,1fr);gap:20px}.stage{min-height:320px}.stage-heading h2{font-size:20px}.stage-heading .segmented>button{font-size:9px;padding:8px}.camera-card .thumb-wrap{height:74px}.camera-copy>strong{font-size:9px}.status-cards article{padding:15px 12px}.status-cards strong{font-size:30px}.status-cards small{font-size:7px}.activity-card{padding:17px 14px}.demo-workbench{padding:18px;gap:15px}.scenario-buttons .button{padding:11px 9px;font-size:9px}.demo-workbench p{font-size:8px}.demo-workbench h3{font-size:13px}.bottom-insights>article{padding:17px}.auth-form-wrap{margin-right:6vw;width:330px}.auth-story{left:6vw}.capacity-layout{grid-template-columns:280px 1fr}.capacity-results strong{font-size:28px}.capacity-results article{padding:20px 16px}}
@media(max-width:960px){.app-header{gap:14px;flex-wrap:wrap;height:auto;padding-top:13px;padding-bottom:12px}.logo-link{width:160px}.main-nav{order:3;flex:1 0 100%;justify-content:center;padding-top:10px}.main-nav .nav{font-size:11px;padding:10px 20px}.header-actions{gap:6px}.content{padding-top:26px}.page-heading h1{font-size:36px}.command-grid{grid-template-columns:220px minmax(0,1fr);gap:16px}.stage-actions .segmented>button{font-size:0;gap:0;padding:8px 11px}.stage-actions .segmented .icon{width:14px;height:14px}.stage-heading h2{font-size:18px}.stage-actions{gap:5px}.stage{min-height:340px}.bottom-insights{grid-template-columns:1fr}.bottom-insights>article{min-height:0}.rules-summary{display:none}.camera-grid{gap:7px}.camera-card .thumb-wrap{height:68px}.camera-card .camera-copy{padding:10px 8px}.camera-copy>small{font-size:6.5px}.status-cards{gap:7px}.status-cards article{padding:13px 10px}.activity-number{margin:15px 0 0}.rail-heading h2{font-size:10px}.rail-foot{font-size:7px}.rail-foot .icon{display:none}.camera-filters>button{padding:8px;font-size:8px}.video-topline,.video-bottomline{left:18px;right:18px}.demo-workbench{flex-wrap:wrap}.demo-workbench>div:first-child{flex:1 0 75%}.scenario-buttons{order:3;flex:1 0 100%;margin:0}.demo-workbench>#pause{margin-left:auto}.scenario-buttons .button{justify-content:flex-start;padding:13px 15px;font-size:10px}.heading-meta{font-size:8px}.heading-meta>div{gap:8px}.heading-meta #header-date{display:none}.auth-form-wrap{width:300px;margin-right:5vw;margin-top:8vh}.auth-story{left:5vw;top:28%}.auth-story h1{font-size:43px;letter-spacing:-1.7px}.auth-story>p{font-size:11px}.auth-glass{width:260px;padding:18px;margin-top:40px}.auth-form-card>h2{font-size:26px}.auth-form-card>p{font-size:11px}.auth-story>.eyebrow{font-size:8px;letter-spacing:1px}.capacity-layout{grid-template-columns:1fr}.feasibility{grid-template-columns:1fr}.capacity-results{margin-top:0}.app-footer .powered>span{display:none}.app-footer .subtle{font-size:7px;margin-left:8px}.camera-wall{gap:14px}.wall-details{font-size:9px;flex-wrap:wrap}}
@media(max-width:680px){.auth-screen{min-height:100svh;display:flex;flex-direction:column}.auth-shade{background:linear-gradient(0deg,#0a140efc,#0d180fec 50%,#07110bb0)}.auth-photo{background-position:40% center}.auth-header{padding:20px 24px}.auth-header .project-logo{width:155px}.auth-header>.micro{font-size:6px;letter-spacing:1px;gap:7px}.auth-story{position:relative;left:auto;top:auto;padding:29px 30px 0}.auth-story h1{font-size:38px;line-height:1.08;margin:16px 0 0;letter-spacing:-1.5px}.auth-story>.eyebrow{font-size:7px;letter-spacing:1px}.auth-story>p,.auth-glass,.photo-credit{display:none}.auth-form-wrap{width:auto;margin:35px 30px 90px}.auth-symbol{display:none}.auth-form-card>.eyebrow{display:none}.auth-form-card>h2{font-size:22px;margin:0 0 10px}.auth-form-card>p{font-size:11px;margin-bottom:22px}.auth-form-card{padding-bottom:8px}.input-shell{height:47px}.password-label{margin-top:19px}.auth-submit{margin-top:22px}.or-line{margin:20px 0 15px}.auth-form-card>.login-footnote{font-size:9px;margin-top:18px}.auth-form-wrap>.powered{margin-top:18px}.auth-footer{left:24px;right:24px;bottom:22px;font-size:8px}.auth-footer .powered>span{display:none}.auth-footer .powered img{width:80px}.lock-content{margin:12vh auto 120px}.lock-content>time{font-size:95px;letter-spacing:-4px}.lock-content>p{font-size:13px}.lock-card{width:min(310px,84vw);margin-top:45px}.lock-screen .auth-header>.micro{font-size:6px}.lock-screen .auth-header>.micro>.icon{width:13px;height:13px}.app-header{padding:11px 17px 13px;gap:9px}.logo-link{width:135px}.logo-link .project-logo{width:126px;height:41px}.logo-link>span{font-size:5px;margin-left:32px;letter-spacing:2px}.header-actions{gap:3px}.header-actions>.icon-button{width:30px;height:30px}.header-actions .icon{width:15px;height:15px}.header-divider{margin:0 3px}.avatar-button{width:29px;height:29px;font-size:8px}.main-nav{justify-content:flex-start;overflow:auto;padding:9px 0 0;gap:3px;scrollbar-width:none}.main-nav .nav{font-size:10px;padding:9px 13px}.profile-menu{right:17px;top:56px}.content{padding:25px 17px 0}.page-heading{margin-bottom:25px;align-items:flex-start}.page-heading .eyebrow{font-size:6px;letter-spacing:1.1px;gap:6px}.page-heading .eyebrow .status-dot{width:4px;height:4px}.page-heading h1{font-size:31px;letter-spacing:-1.2px;margin:13px 0 9px}.page-heading p{font-size:9px}.heading-meta{padding-top:7px;font-size:7px}.heading-meta #connection{font-size:0;gap:0}.heading-meta>span{margin-bottom:13px}.heading-meta .timezone{font-size:6px}.heading-meta>div{gap:5px}.command-grid{display:flex;flex-direction:column;gap:23px}.operations-rail{display:contents}.camera-filters{order:0;margin:0;max-width:270px}.camera-filters>button{font-size:10px;padding:9px 12px}.status-cards{order:1;margin:0;gap:10px}.status-cards article{padding:17px 19px;gap:10px}.status-cards article>span{font-size:11px}.status-cards small{font-size:8px}.status-cards strong{font-size:34px}.command-main{order:2}.activity-card{order:4;margin:0;padding:20px}.activity-number>strong{font-size:40px}#activity-chart{height:90px}.chart-caption{font-size:8px}.chart-caption span:nth-child(2){font-size:7px}.rail-heading{order:3;margin-bottom:-10px;display:none}.camera-grid{order:3;grid-template-columns:repeat(4,1fr);gap:7px}.camera-card .thumb-wrap{height:58px}.camera-card .camera-copy{padding:9px 7px}.camera-copy>strong{font-size:8px;min-height:20px;line-height:1.3;margin:0}.camera-copy>small{display:none}.camera-copy>span{font-size:6px;margin-top:7px}.camera-card .thumb-code{font-size:6px;padding:3px;top:5px;left:5px}.camera-card .thumb-arrow{display:none}.rail-foot{display:none}.stage-heading{margin-bottom:13px}.stage-heading h2{font-size:21px}.stage-heading .eyebrow{font-size:7px}.stage-actions .icon-button{width:31px;height:31px}.stage{min-height:0;aspect-ratio:1.22/1;border-radius:17px}.stage-vignette{background:linear-gradient(0deg,#0d150ddd,transparent 40%,transparent 70%,#0d160d77)}.video-topline{top:16px;left:16px;right:16px}.video-bottomline{left:16px;right:16px;bottom:18px}.video-code{font-size:7px}.glass-pill{font-size:6px;padding:7px 9px;gap:6px}.glass-pill .status-dot{width:4px;height:4px}.video-bottomline .micro{font-size:8px}.video-bottomline #video-source-name{font-size:8px;max-width:230px}.glass-icon{width:31px;height:31px}.playback{padding:8px 12px 11px}.playback-label{font-size:7px;margin-right:0}.playback-controls{gap:7px}.playback-controls #playback-time{font-size:9px}.playback-controls #playback-time small{font-size:8px}.bottom-insights{margin-top:14px}.bottom-insights>article{padding:19px}.event-summary{min-height:135px!important}.rules-summary{display:none}.demo-workbench{margin-top:25px;padding:20px;gap:20px}.demo-workbench h3{font-size:16px}.demo-workbench p{font-size:9px;line-height:1.8}.scenario-buttons{grid-template-columns:1fr 1fr;gap:9px}.scenario-buttons .button{font-size:10px;padding:13px}.app-footer{padding:26px 0 22px;align-items:flex-start;gap:20px}.app-footer>div{flex-wrap:wrap;font-size:7px;max-width:200px;gap:6px}.app-footer .subtle{margin-left:10px;font-size:7px}.app-footer .powered img{width:77px}.camera-wall{grid-template-columns:1fr;gap:20px}.section-heading{align-items:flex-start;gap:12px;flex-wrap:wrap}.section-heading h2{font-size:20px}.section-heading .muted{font-size:10px}.inline-actions{width:100%;justify-content:space-between}.inline-actions .button,select{font-size:10px}.rule-row{grid-template-columns:1fr 1fr;padding:20px;gap:17px}.rule-row>div:first-child{grid-column:1/-1}.rule-row h3{font-size:18px}.rule-row p{font-size:10px}.rule-row .rule-zone-button{font-size:10px}.capacity-results{grid-template-columns:1fr;gap:10px}.capacity-results article{padding:20px}.capacity-results strong{margin:14px 0 8px}.pipeline{flex-direction:column;margin:30px 0;gap:20px}.pipeline>b{transform:none}.feasibility article,.panel{padding:21px}.info-box{font-size:10px}.table-wrap th,.table-wrap td{padding:15px;font-size:10px}dialog{border-radius:18px;padding:21px}.dialog-heading h2{font-size:22px}.detail-facts{font-size:11px;gap:18px}.detail-note{font-size:10px}.dialog-actions .button{font-size:10px;padding:12px}.map-heading{top:20px;left:20px}.map-heading h3{font-size:22px}.map-heading .eyebrow{font-size:7px}.map-heading p{font-size:6px}.map-marker button{width:26px;height:26px;font-size:8px}.map-marker span{font-size:6px;padding:4px}.map-key{left:15px;bottom:17px;font-size:6px}.map-key>span{font-size:5px;margin-left:0}.credit-luum{padding:18px;gap:15px}.credit-luum img{width:115px}.credit-luum>span{font-size:8px}.search-field input{font-size:14px}#toast{font-size:11px;width:max-content;max-width:90vw;padding:13px 17px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.filter-defs{position:absolute;pointer-events:none}

/* Compact operator workspace */
.powered img{width:70px}.app-footer .powered img,.auth-footer .powered img{width:65px}.powered>span{font-size:6px;letter-spacing:1px}.app-footer{justify-content:flex-end;padding:10px 0;min-height:30px}.page-heading{margin-bottom:16px}.page-heading h1{font-size:30px;margin:8px 0 0;letter-spacing:-1px}.page-heading .eyebrow{font-size:7px}.page-tools{display:flex;align-items:center;gap:22px}.page-tools>.button{font-size:10px;padding:10px 13px}.heading-meta{padding-top:0}.heading-meta>span{margin-bottom:7px}.page{min-height:0}.section-heading{margin-bottom:14px}.section-heading h2{font-size:17px}.profile-menu button{font-size:11px}#scenarios-dialog .demo-workbench{margin:0;display:block;padding:0;border:0;background:none}#scenarios-dialog .demo-workbench>div:first-child{display:none}#scenarios-dialog .scenario-buttons{margin:0;grid-template-columns:1fr 1fr;gap:12px}#scenarios-dialog .scenario-buttons .button{padding:18px;text-align:left}#scenarios-dialog #pause{margin-top:16px}.scenario-illustration{margin:0;position:relative}.scenario-illustration img{display:block;width:100%;max-height:44vh;object-fit:contain;background:#111714;border-radius:12px}.scenario-illustration figcaption{position:absolute;bottom:12px;left:12px;padding:6px 9px;border-radius:5px;background:#172218dd;color:#b3c0aa;font-size:9px}.scenario-test{margin:16px 0}.scenario-test summary{cursor:pointer;color:var(--muted);font-size:11px;padding:8px 0}.scenario-test canvas{margin-top:10px}#rule-list{display:grid;grid-template-columns:1fr 1fr;gap:16px}.rules-heading{margin:0 0 12px}.rules-heading>.muted{margin:0;font-size:10px}.rule-row{margin:0;padding:0;display:grid;grid-template-columns:38% minmax(0,1fr);grid-template-rows:1fr auto;gap:0;overflow:hidden;align-items:stretch;border-radius:16px;min-width:0}.rule-visual{position:relative;grid-row:1/-1;min-height:220px;overflow:hidden}.rule-visual img{height:100%;width:100%;object-fit:cover;filter:saturate(.7) brightness(.8);position:absolute;inset:0}.rule-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#15201777,transparent 50%);pointer-events:none}.rule-camera-code{position:absolute;top:14px;left:14px;z-index:1;background:#142015aa;border:1px solid #d3e1c222;border-radius:5px;padding:5px 7px;font-size:8px;letter-spacing:1px}.rule-body{padding:20px 20px 8px;min-width:0}.rule-row .rule-ref{font-size:8px;margin-bottom:8px}.rule-row h3{font-size:19px;line-height:1.25;margin:0 0 7px}.rule-row p{font-size:10px;line-height:1.5;margin:0}.rule-row .rule-note{margin-top:10px;font-size:10px;color:#83917b;line-height:1.6}.rule-controls{padding:10px 20px 16px;display:flex;gap:15px;align-items:flex-end;justify-content:space-between}.rule-controls>label{display:flex;align-items:center;gap:8px;white-space:nowrap}.rule-controls input{width:62px;padding:8px;margin:0;font-size:11px}.rule-controls .toggle{padding:9px 10px;font-size:10px;white-space:nowrap}.rule-row .rule-hours{margin-top:10px;display:flex;gap:10px}.rule-hours label{display:flex;align-items:center;gap:7px;font-size:9px}.rule-hours input{width:45px;padding:5px;margin:0;font-size:10px}#rule-help-dialog .feasibility{grid-template-columns:1fr;gap:10px}#rule-help-dialog .spaced{margin-top:18px}#rule-help-dialog h2.spaced{display:none}.table-wrap thead{position:sticky;top:0;background:#1b231b;z-index:1}.auth-form-wrap>.powered{margin-top:24px}.auth-form-card{padding-bottom:0}
@media(min-width:681px) and (min-height:620px){
 #workspace{height:100svh;min-height:0;display:flex;flex-direction:column;overflow:hidden}.app-header{height:64px;min-height:64px;flex-shrink:0;padding:0 24px;gap:20px}.logo-link{width:170px}.logo-link .project-logo{width:126px;height:39px}.logo-link>span{font-size:5px;margin-left:32px}.content{width:100%;max-width:1920px;padding:18px 24px 0;flex:1;min-height:0;display:flex;flex-direction:column}.page-heading{height:58px;min-height:58px;flex-shrink:0;margin-bottom:12px}.page{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#465140 transparent}.app-footer{flex-shrink:0;height:30px}.command-grid{height:100%;grid-template-columns:236px minmax(0,1fr);gap:20px}.command-main{height:100%;display:grid;grid-template-rows:34px minmax(160px,1fr) 65px 106px;gap:10px;min-height:0}.stage-heading{margin:0}.stage-heading h2{font-size:20px;margin-top:4px}.stage-heading .eyebrow{font-size:7px}.stage{min-height:0;aspect-ratio:auto;height:100%;border-radius:16px}.playback{margin:0;padding:5px 14px 7px;overflow:hidden}.timeline-wrap,.timeline-wrap input::-webkit-slider-runnable-track{height:20px}.timeline-wrap{margin:0}.timeline-wrap input::-webkit-slider-thumb{height:20px}#timeline-bars{height:20px}.timeline-labels{margin-top:2px;font-size:6px}.playback-controls{height:24px}.bottom-insights{margin:0;gap:10px;grid-template-columns:1.1fr 1fr;min-height:0}.bottom-insights>article{min-height:0!important;padding:13px 16px;overflow:auto;scrollbar-width:thin}.event-summary .card-top{margin-bottom:4px}.event-item{padding:5px 0;gap:8px;align-items:center}.event-item strong{font-size:9px}.event-item p{font-size:7px;margin-top:3px}.event-item .pill{display:none}.event-symbol{width:20px;height:20px;font-size:10px}.rules-summary{display:block}.rule-count{margin:8px 0;gap:5px}.rule-count>strong{font-size:23px}.rule-count>span{font-size:8px}#mini-rules{margin:0;gap:4px}#mini-rules>span{font-size:7px;padding:4px}.rules-summary>.subtle{display:none}.empty-inline{padding:8px 0;gap:9px}.empty-inline strong{font-size:10px;margin-bottom:4px}.empty-inline p{font-size:8px}.camera-filters{margin:0 0 10px;padding:2px}.camera-filters>button{font-size:9px;padding:8px}.status-cards{margin-bottom:10px}.status-cards article{padding:13px 12px;gap:9px}.status-cards strong{font-size:27px}.status-cards small{font-size:7px}.activity-card{padding:15px;margin-bottom:14px}.activity-number{margin:10px 0 0}.activity-number>strong{font-size:32px}#activity-chart{height:58px}.activity-card #activity-chart{height:58px}.rail-heading{margin-bottom:9px}.camera-grid{gap:8px}.camera-card .thumb-wrap{height:clamp(50px,8vh,82px)}.camera-card .camera-copy{padding:9px}.camera-copy>strong{font-size:9px;margin-bottom:4px}.camera-copy>small{font-size:7px}.camera-copy>span{margin-top:7px;font-size:7px}.camera-wall{height:100%;grid-template-rows:1fr 1fr;gap:14px}.wall-card{min-height:0;display:flex;flex-direction:column}.wall-visual{aspect-ratio:auto;flex:1;min-height:0;overflow:hidden}.wall-visual video,.wall-visual img{position:absolute;inset:0;object-fit:contain;background:#101510}.wall-details{height:45px;min-height:45px;padding:8px 15px;font-size:9px}.wall-details>.button{font-size:9px;padding:6px 9px}.wall-overlay{padding:15px}.wall-overlay>div{font-size:14px}.wall-overlay small{font-size:8px}.rules-heading{height:22px;min-height:22px}#page-rules{display:flex;flex-direction:column}#rule-list{flex:1;min-height:0;grid-template-rows:1fr 1fr;gap:14px}.rule-row{min-height:0}.rule-visual{min-height:0}#page-events{display:flex;flex-direction:column}#event-table{overflow:auto;min-height:0}.rule-body{padding:16px 17px 4px}.rule-controls{padding:8px 17px 15px}.rule-row h3{font-size:18px}.rule-row .rule-zone-button{margin-top:10px}.table-wrap th,.table-wrap td{padding:13px 17px}.operations-rail{overflow:auto;scrollbar-width:thin}
}
@media(min-width:681px) and (max-width:1000px) and (min-height:620px){
 .app-header{height:105px;min-height:105px;padding:8px 22px;gap:5px}.main-nav{padding-top:0}.main-nav .nav{padding:8px 18px}.content{padding:14px 20px 0}.command-grid{grid-template-columns:200px minmax(0,1fr);gap:15px}.command-main{grid-template-rows:36px minmax(140px,1fr) 65px 96px}.stage-actions .icon-button{width:29px;height:29px}.stage-actions .segmented>button{padding:7px}.bottom-insights{grid-template-columns:1fr}.rules-summary{display:none}.rule-row{grid-template-columns:32% minmax(0,1fr)}.rule-body{padding:13px 12px 4px}.rule-row h3{font-size:16px}.rule-row .rule-note{font-size:9px;line-height:1.5;margin-top:7px}.rule-controls{padding:8px 12px 12px;gap:7px}.rule-controls>label{font-size:9px;gap:5px}.rule-controls input{width:50px;padding:7px}.rule-controls .toggle{font-size:9px;padding:8px}.rule-camera-code{top:10px;left:7px;font-size:6px;padding:4px}.rule-row .rule-ref{font-size:7px}.page-tools{gap:12px}.page-heading h1{font-size:27px}
}
@media(min-width:1001px) and (max-height:760px){.rule-row .rule-note{font-size:9px;line-height:1.4;margin-top:6px}.rule-body{padding:13px 15px 3px}.rule-row h3{font-size:16px}.rule-controls{padding:7px 15px 12px}.rule-row .rule-zone-button{margin-top:7px}.rule-row .rule-hours{margin-top:7px}.rule-row .rule-ref{margin-bottom:5px}}
@media(max-width:680px){
 .content{padding:17px 15px 0}.app-header{padding:8px 15px 10px}.main-nav .nav{padding:8px 16px}.page-heading{margin-bottom:16px;align-items:center}.page-heading .eyebrow{display:none}.page-heading h1{font-size:27px;margin:0}.page-tools{gap:9px}.page-tools>.button{font-size:9px;padding:8px 9px;gap:5px}.page-tools>.button .icon{width:12px;height:12px}.heading-meta>span{display:none}.heading-meta .timezone{display:none}.heading-meta{padding:0}.heading-meta time{font-size:9px}.command-grid{gap:12px}.camera-filters{display:none}.status-cards{gap:9px}.status-cards article{padding:11px 14px;display:flex;align-items:center;gap:10px}.status-cards article>span{font-size:9px}.status-cards strong{font-size:25px;margin-left:auto}.status-cards small{display:none}.stage-heading{margin:0 0 9px}.stage-heading h2{font-size:18px}.stage-heading .eyebrow{font-size:6px}.stage{aspect-ratio:1.65/1}.stage-actions .segmented>button{padding:7px}.playback{margin-top:8px;padding:5px 10px 7px}.timeline-wrap,#timeline-bars{height:20px}.timeline-wrap{margin:0}.timeline-wrap input::-webkit-slider-runnable-track,.timeline-wrap input::-webkit-slider-thumb{height:20px}.timeline-labels{font-size:6px}.playback-controls{height:24px}.playback-controls>.icon-button{height:22px}.bottom-insights{margin-top:9px}.bottom-insights>article{padding:12px 14px;min-height:0!important}.event-summary .card-top{margin-bottom:6px}.event-item{padding:5px 0}.event-item strong{font-size:9px}.event-item p{font-size:7px;margin-top:3px}.event-item .pill{display:none}.empty-inline{padding:4px 0}.empty-inline p{font-size:8px}.empty-inline strong{font-size:10px}.activity-card{display:none}.camera-grid{gap:6px;order:1}.camera-card .thumb-wrap{height:44px}.camera-card .camera-copy{padding:7px 5px}.camera-copy>strong{font-size:8px;min-height:0;white-space:nowrap}.camera-copy>span{display:none}.command-main{order:2}.camera-wall{grid-template-columns:1fr 1fr;gap:9px}.wall-card{border-radius:12px}.wall-visual{aspect-ratio:1/1.35}.wall-visual video,.wall-visual img{object-fit:cover}.wall-overlay{padding:10px}.wall-overlay .glass-pill{font-size:5px;padding:5px 6px;gap:5px}.wall-overlay>div{font-size:12px}.wall-overlay small{display:none}.wall-details{padding:9px 8px;display:block}.wall-details>span{display:none}.wall-details>.button{padding:5px;font-size:8px;gap:4px;width:100%}.wall-details .icon{width:11px;height:11px}#rule-list{grid-template-columns:1fr;gap:10px}.rule-row{grid-template-columns:30% minmax(0,1fr);padding:0;gap:0}.rule-row>div:first-child{grid-column:auto;grid-row:1/-1}.rule-visual{min-height:0}.rule-body{padding:13px 13px 3px}.rule-row h3{font-size:16px;margin-bottom:5px}.rule-row p{font-size:9px}.rule-row .rule-note{display:none}.rule-row .rule-ref{font-size:7px;margin-bottom:6px}.rule-row .rule-zone-button{font-size:9px;margin-top:8px}.rule-controls{padding:8px 13px 12px}.rule-controls label{font-size:9px}.rule-controls input{padding:6px;width:54px;font-size:10px}.rule-controls .toggle{padding:7px;font-size:9px}.rule-camera-code{top:10px;left:8px;font-size:6px;padding:4px}.rule-hours input{width:41px}.app-footer{padding:12px 0;gap:0}.app-footer .powered img{width:60px}.auth-form-wrap{margin-top:27px;margin-bottom:65px}.auth-form-wrap>.powered{margin-top:22px}.auth-form-wrap .powered img{width:65px}.auth-form-card>p{margin-bottom:20px}.auth-footer .powered img{width:60px}.auth-story{padding-top:18px}.auth-story h1{font-size:35px}.lock-content>time{font-size:85px}.lock-card{margin-top:30px}.inline-actions{width:auto;gap:7px}.section-heading{gap:10px}.inline-actions .button,select{font-size:9px;padding:9px}.inline-actions .button .icon{width:12px;height:12px}#page-events .section-heading h2{font-size:14px}.scenario-illustration img{max-height:35vh}
}
/* Preserve each camera's complete field of view. */
#main-video,#live-frame{object-fit:contain;background:#0c110e}
@media(min-width:681px) and (max-height:800px){.camera-card .thumb-wrap{height:48px}.activity-card{margin-bottom:10px;padding:12px 14px}.activity-card #activity-chart{height:50px}.activity-number{margin-top:7px}.camera-copy>small{display:none}.camera-card .camera-copy{padding:8px 9px}.camera-copy>span{margin-top:5px}}
@media(max-width:680px){.rules-heading{flex-wrap:nowrap;margin-bottom:10px}.rule-row .rule-ref{margin-bottom:4px}.rule-body{padding-top:10px}.rule-controls{padding-top:6px;padding-bottom:9px}.rule-row .rule-zone-button{margin-top:6px}}

/* Motion and interaction feedback */
@keyframes dialog-enter{from{opacity:0;transform:translateY(14px) scale(.975)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes toast-enter{from{opacity:0;translate:0 12px;scale:.98}to{opacity:1;translate:0 0;scale:1}}
@keyframes rotate-spinner{to{rotate:360deg}}
@keyframes save-glow{50%{box-shadow:0 0 0 3px #c7dbab25}}
dialog[open]{animation:dialog-enter .22s cubic-bezier(.2,.8,.2,1)}#toast:not([hidden]){animation:toast-enter .28s cubic-bezier(.2,.8,.2,1)}button:active:not(:disabled){scale:.98}.is-loading{pointer-events:none;position:relative}.is-loading:after{content:'';width:13px;height:13px;display:inline-block;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:rotate-spinner .65s linear infinite;margin-left:10px}.is-saving{animation:save-glow .8s ease-in-out infinite}.is-fetching{opacity:.45;transition:opacity .15s}.camera-card,.user-card,.camera-option,.wall-card{transition:border-color .2s,background .2s,box-shadow .2s}.user-card:hover{border-color:#c4d6ac30}
/* Identity */
.avatar-button{overflow:hidden;padding:0}.avatar-button>img{width:100%;height:100%;object-fit:cover}.operator-avatar{border:0;background:none}#lock-avatar,#lock-avatar>img{display:block;width:68px;height:68px;object-fit:cover;border-radius:50%}.lock-card h2{margin-bottom:24px}.lock-screen .auth-footer{justify-content:flex-end}#profile-name{font-size:13px}.profile-menu{z-index:20}.profile-menu [data-page]{margin:2px 0}.event-cell{display:flex;align-items:center;gap:13px}.event-cell img{width:84px;height:51px;object-fit:cover;border-radius:7px;flex-shrink:0}.event-illustration{margin:0;position:relative}.event-illustration figcaption{position:absolute;left:14px;bottom:12px;font-size:9px;border:1px solid #c5d6b522;background:#172017db;color:#c1d1b5;padding:6px 9px;border-radius:6px}.evidence{max-height:42vh;object-fit:contain;background:#101713}.detail-facts{margin:17px 0;gap:16px}.detail-note{margin:11px 0;font-size:10px}.media-layer{position:absolute;inset:0;transform-origin:center;transition:transform .16s ease-out;touch-action:none}.media-layer.zoomed{cursor:grab}.media-layer.zoomed:active{cursor:grabbing}#video-view{overflow:hidden}#media-layer #detection-overlay{z-index:1}.video-topline{pointer-events:none}.stage-actions .icon-button{background:#20281f}.fullscreen-heading,.fullscreen-toolbar{display:none}
#stage:fullscreen{width:100vw;height:100vh;max-width:none;max-height:none;border-radius:0;border:0;background:#070b08}#stage:fullscreen .fullscreen-heading{display:flex;position:absolute;z-index:15;top:0;left:0;right:0;align-items:center;justify-content:space-between;padding:22px 28px;background:linear-gradient(#000b,transparent);font-size:14px}#stage:fullscreen .fullscreen-heading .button{background:#182119d9;backdrop-filter:blur(20px);padding:12px 16px;font-size:12px}#stage:fullscreen .fullscreen-toolbar{display:flex;position:absolute;z-index:15;bottom:24px;left:50%;transform:translateX(-50%);align-items:center;gap:10px;padding:9px 12px;border:1px solid #c7dcb332;border-radius:18px;background:#172217e8;backdrop-filter:blur(24px);box-shadow:0 10px 40px #0006}#stage:fullscreen .fullscreen-toolbar .button{padding:10px 12px;font-size:11px;border:0}#stage:fullscreen .video-topline{top:90px}#stage:fullscreen .video-bottomline{bottom:100px}#stage:fullscreen #overlay-toggle{display:none}.fs-divider{width:1px;height:22px;background:#ffffff18}#zoom-reset{width:38px;font-variant-numeric:tabular-nums}#stage:fullscreen #video-view,#stage:fullscreen #multi-view{inset:70px 20px 95px}#stage:fullscreen .video-topline{top:15px}#stage:fullscreen .video-bottomline{bottom:20px}.multi-grid{position:absolute;inset:0;display:grid;grid-template-columns:repeat(var(--multi-columns,2),minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:5px;padding:5px;background:#0d130e}.multi-tile{min-height:0;min-width:0;overflow:hidden;border-radius:10px;background:#0c100d}.multi-focus{position:relative;width:100%;height:100%;display:block;padding:0;overflow:hidden;text-align:left}.multi-focus video,.multi-focus img{width:100%;height:100%;object-fit:contain;display:block}.multi-code,.multi-name{position:absolute;left:12px;right:12px;display:flex;align-items:center;gap:7px;font-size:8px;text-shadow:0 1px 8px #000}.multi-code{top:10px}.multi-code .status-dot{width:4px;height:4px}.multi-name{bottom:10px;justify-content:space-between;font-size:10px}.multi-name .icon{width:12px;height:12px}.multi-name:before{content:'';position:absolute;inset:-16px -12px -10px;background:linear-gradient(transparent,#09130bc9);z-index:0}.multi-name>*{position:relative}.multi-focus:hover{box-shadow:inset 0 0 0 1px #b8cea280}.camera-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.camera-option{display:flex;align-items:center;gap:12px;background:#162014;border:1px solid #ffffff0c;border-radius:12px;padding:10px;position:relative;cursor:pointer}.camera-option:has(input:checked){border-color:#b7d09a66;background:#283222}.camera-option input{position:absolute;opacity:0}.camera-option:has(input:focus-visible){outline:2px solid var(--accent)}.camera-option img{width:67px;height:45px;object-fit:cover;border-radius:6px}.camera-option strong{display:block;font-size:11px;font-weight:400}.camera-option small{display:block;font-size:8px;margin-top:6px;color:#819674}.camera-option i{margin-left:auto;color:#bdd4a6;opacity:0}.camera-option:has(input:checked) i{opacity:1}.camera-option i .icon{width:14px;height:14px}#camera-picker .dialog-actions{align-items:center;justify-content:space-between}#camera-selection-count{font-size:10px}.camera-wall-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.camera-wall-heading .muted{font-size:10px}.camera-wall-heading .segmented>button{font-size:9px;padding:8px 11px}.camera-wall-heading .button{font-size:10px;padding:10px 12px}#page-cameras{display:flex;flex-direction:column}.camera-wall{grid-template-columns:repeat(var(--wall-columns,4),minmax(0,1fr));height:auto;flex:1;min-height:0;grid-template-rows:none;grid-auto-rows:minmax(0,1fr)}.wall-details{justify-content:space-between}.wall-details>span{font-size:8px}.wall-details .icon{width:12px;height:12px}.camera-status{gap:5px;justify-content:flex-start!important}.camera-status>.status-dot{width:4px;height:4px}
/* Developer information */
.developer-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:18px;height:100%}.developer-hero{padding:clamp(24px,4vw,60px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:relative;overflow:hidden;background:radial-gradient(ellipse at 0 100%,#61704922,transparent 65%),#191e19}.developer-hero>.eyebrow,.developer-side .eyebrow{font-size:8px;color:#8e9e80;letter-spacing:1.8px}.developer-logo{width:200px;margin:25px 0 35px}.developer-hero h2{font-size:clamp(25px,3.2vw,46px);font-weight:300;letter-spacing:-1.6px;line-height:1.16}.developer-hero p{font-size:12px;line-height:1.9;color:#9aa991;max-width:470px;margin:22px 0 25px}.developer-hero .button{font-size:11px}.developer-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:35px}.developer-tags>span{font-size:9px;border:1px solid #b7c8a41c;padding:7px 10px;border-radius:20px;color:#90a17f}.developer-side{display:grid;grid-template-rows:1.4fr 1fr;gap:18px;min-height:0}.developer-person{padding:26px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.developer-person>img{width:90px;height:90px;object-fit:cover;border-radius:50%;margin-bottom:22px;border:1px solid #bbccaa33}.developer-person h2{font-weight:300;font-size:25px;margin-top:13px}.developer-person p{font-size:11px;color:#8d9f7f;margin:7px 0 17px}.developer-person a{font-size:11px;color:#bdcfae}.developer-product{padding:27px;display:flex;flex-direction:column;justify-content:center}.developer-product h3{font-size:28px;margin:16px 0 12px}.developer-product p{font-size:12px;line-height:1.8;color:#91a082}.product-version{font-size:9px;color:#64775b;margin-top:20px}
/* User management and audit */
#page-management{display:flex;flex-direction:column}.management-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.management-toolbar .button{font-size:11px;padding:11px 15px}#management-users,#management-audit{min-height:0;overflow:auto;scrollbar-width:thin}.role-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px}.role-summary article{padding:17px 18px;border:1px solid #c3d7b112;border-radius:12px;background:#1c241b}.role-summary strong{display:block;font-size:12px;font-weight:400;margin-bottom:7px}.role-summary span{font-size:10px;color:#8b9d7c;line-height:1.6}.user-card{display:flex;align-items:center;gap:17px;padding:19px 22px;margin-bottom:10px;border-radius:14px}.user-avatar{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;background:#34432c;color:#c9d8bf;border-radius:50%;font-size:12px}.user-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.user-copy{min-width:0;flex:1}.user-copy h3{font-size:16px;font-weight:400}.user-copy h3 small{color:#788d6c;font-size:9px;margin-left:6px}.user-copy p{font-size:11px;color:#899b7d;margin-top:6px}.role-pill{font-size:10px;border:1px solid #b5c9a326;border-radius:16px;padding:7px 11px;color:#b2c3a4}.user-status{display:flex;align-items:center;gap:6px;font-size:10px;color:#8a9e7b;width:75px}.user-status.off{color:#b0927d}.user-status.off .status-dot{background:#ba8e62}.user-card>.button{font-size:10px;padding:9px 12px}.audit-filter{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.audit-filter input{background:#1c261b;border:1px solid #c7d7b722;border-radius:10px;padding:12px 14px;color:#d6e2cc;width:300px;font-size:12px}.audit-filter .muted{font-size:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid label{display:block;font-size:11px;color:#aebea1}.form-grid label.wide{grid-column:1/-1}.form-grid input,.form-grid select{width:100%;display:block;margin-top:9px;background:#182216;color:#d8e4cf;border:1px solid #c1d4ac2a;border-radius:8px;padding:12px;font-size:12px}.form-grid input:disabled{opacity:.5}.form-grid small{display:block;font-size:9px;line-height:1.6;color:#7e936f;margin-top:9px}.management-toolbar .segmented>button{font-size:11px;padding:10px 18px}
@media(min-width:681px){.operations-rail{display:flex;flex-direction:column}.camera-grid{flex:1;min-height:0;grid-template-rows:repeat(4,minmax(0,1fr));gap:6px}.camera-card{display:flex;flex-direction:column}.camera-card .thumb-wrap{height:auto!important;min-height:26px;flex:1}.camera-card .camera-copy{padding:6px 8px}.camera-copy>small,.camera-copy>span{display:none}.camera-copy>strong{font-size:8px;margin:0}.camera-wall .wall-card{border-radius:12px}.camera-wall .wall-overlay{padding:10px}.camera-wall .wall-overlay>div{font-size:11px}.camera-wall .wall-overlay small{display:none}.camera-wall .glass-pill{font-size:7px;padding:5px 7px}.wall-details{height:37px;min-height:37px;padding:7px 9px}.wall-details>.button{padding:5px 7px;font-size:8px}.page-heading{height:46px;min-height:46px}.page-heading h1{margin:0}.stage-actions{gap:5px}.stage-actions .segmented>button{padding:7px 10px;font-size:9px}.stage-actions .icon-button{width:31px;height:31px}}
@media(min-width:681px) and (max-width:1000px){.camera-wall{grid-template-columns:repeat(2,minmax(0,1fr))}.wall-details{height:30px;min-height:30px;padding:4px 8px}.developer-layout{grid-template-columns:1.2fr 1fr}.developer-hero{padding:24px}.developer-logo{width:150px;margin:20px 0}.developer-hero h2{font-size:31px}.developer-hero p{font-size:11px}.developer-person{padding:18px}.developer-person>img{width:75px;height:75px}.developer-person h2{font-size:23px}.user-card{padding:15px;gap:10px}.user-copy h3{font-size:13px}.user-copy p{font-size:10px}.stage-actions .segmented>button{font-size:0;gap:0;padding:7px}.stage-actions .segmented .icon{width:12px;height:12px}.stage-heading h2{font-size:17px}.developer-tags{margin-top:22px}.user-status{width:66px}.role-summary article{padding:13px}}
@media(max-width:680px){.camera-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:1fr 1fr;gap:5px}.camera-card .thumb-wrap{height:33px}.camera-card .camera-copy{padding:4px}.camera-copy>strong{font-size:7px}.stage-heading h2{font-size:15px}.stage-actions{gap:3px}.stage-actions .icon-button{width:25px;height:25px}.stage-actions .segmented>button{font-size:0;gap:0;padding:6px}.stage-actions .segmented .icon{width:12px;height:12px}.stage-actions .icon{width:13px;height:13px}.stage{aspect-ratio:1.85/1}.bottom-insights>article{padding:10px 12px}.camera-wall-heading{margin-bottom:10px;gap:8px}.camera-wall-heading .segmented{display:none}.camera-wall-heading .button{font-size:9px;padding:8px 10px}.camera-wall{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:7px}.wall-visual{aspect-ratio:1.65/1}.wall-details{padding:4px 8px}.wall-details>.button{font-size:7px;padding:4px}.wall-overlay>div{font-size:9px}.wall-overlay .glass-pill{font-size:5px;padding:4px}.developer-layout{grid-template-columns:1fr;height:auto;gap:12px}.developer-hero{padding:25px}.developer-logo{width:125px;margin:17px 0 22px}.developer-hero h2{font-size:29px;letter-spacing:-1px}.developer-hero p{font-size:11px;margin:16px 0}.developer-tags{margin-top:20px}.developer-tags>span{font-size:8px;padding:6px 8px}.developer-side{grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:12px}.developer-person{padding:19px 10px}.developer-person>img{width:50px;height:50px;margin-bottom:12px}.developer-person h2{font-size:18px}.developer-person a{font-size:8px}.developer-person p{font-size:9px;margin-bottom:12px}.developer-product{padding:19px}.developer-product h3{font-size:23px}.developer-product p{font-size:10px}.developer-side .eyebrow{font-size:6px}.product-version{font-size:8px}.management-toolbar{gap:8px;margin-bottom:12px}.management-toolbar .button{font-size:9px;padding:9px}.management-toolbar .button .icon{width:12px;height:12px}.management-toolbar .segmented>button{font-size:9px;padding:8px 10px}.role-summary{gap:6px;margin-bottom:12px}.role-summary article{padding:10px}.role-summary strong{font-size:10px}.role-summary span{font-size:8px}.user-card{padding:13px;display:grid;grid-template-columns:34px 1fr auto;gap:10px}.user-avatar{width:34px;height:34px;grid-row:1/3}.user-copy h3{font-size:13px}.user-copy p{font-size:9px}.role-pill{font-size:8px;padding:5px 7px}.user-status{font-size:8px;grid-column:2}.user-card>.button{font-size:8px;padding:6px 9px;grid-column:3}.user-card>.button .icon{width:12px;height:12px}.form-grid{gap:14px;grid-template-columns:1fr}.form-grid input,.form-grid select{font-size:12px;padding:11px}.event-cell img{width:58px;height:42px}.event-cell{gap:8px}.camera-options{gap:8px}.camera-option{display:block;padding:8px}.camera-option img{width:100%;height:65px}.camera-option>span{display:block;margin-top:8px}.camera-option strong{font-size:10px}.camera-option small{font-size:7px;margin-top:4px}.camera-option i{position:absolute;top:13px;right:13px;background:#152315dd;border-radius:20px;padding:3px}.multi-name{font-size:7px;left:7px;right:7px;bottom:7px}.multi-code{font-size:6px;left:7px;top:7px}.multi-name .icon{width:9px;height:9px}#stage:fullscreen .fullscreen-heading{padding:12px;font-size:10px}#stage:fullscreen .fullscreen-heading .button{font-size:9px;padding:9px}#stage:fullscreen #multi-view,#stage:fullscreen #video-view{inset:60px 8px 80px}#stage:fullscreen .fullscreen-toolbar{bottom:15px;gap:3px;padding:6px;border-radius:12px;width:max-content;max-width:98vw}#stage:fullscreen .fullscreen-toolbar .button{padding:7px;font-size:0;gap:0}#stage:fullscreen .fullscreen-toolbar .icon{width:15px;height:15px}#stage:fullscreen .fullscreen-toolbar #fs-play{font-size:9px;gap:5px}#stage:fullscreen .fullscreen-toolbar .icon-button{width:28px;height:28px}.fs-divider{margin:0 3px}#zoom-reset{font-size:10px;width:30px}.audit-filter input{width:210px;font-size:11px}.audit-filter .muted{font-size:8px}.developer-hero .button{font-size:10px;padding:10px 13px}}
@media(min-width:681px){#detail-dialog{width:min(960px,94vw)}#detail-body{display:grid;grid-template-columns:1.15fr 1fr;gap:16px 22px}#detail-body>.event-illustration,#detail-body>.evidence{grid-column:1;grid-row:1/3;align-self:start}#detail-body .evidence{max-height:37vh;min-height:180px}#detail-body>.detail-facts{grid-column:2;grid-row:1;margin:0;gap:18px 12px;align-self:start;padding-top:4px}#detail-body>.detail-note{grid-column:2;margin:0;line-height:1.8;font-size:11px;align-self:start}#detail-body>label,#detail-body>textarea,#detail-body>.dialog-actions,#detail-body>.info-box{grid-column:1/-1}#detail-body>textarea{margin:0;min-height:64px;height:64px}#detail-body>.dialog-actions{margin-top:0}#detail-body>label{margin-bottom:-9px}#detail-dialog .dialog-heading{margin-bottom:20px}}
@media(max-width:680px){#detail-body .evidence{max-height:27vh}.detail-facts{gap:12px;margin:13px 0;font-size:10px}.detail-note{font-size:9px;line-height:1.65}#detail-body textarea{height:62px;min-height:62px}.dialog-actions{margin-top:14px}}

#overlay-toggle{width:auto;height:32px;padding:0 10px;display:flex;gap:6px;border-radius:20px;font-size:9px}#overlay-toggle .icon{width:13px;height:13px}@media(max-width:680px){#overlay-toggle{font-size:8px;height:28px;padding:0 8px}}

/* Translucent surfaces: keep text solid and let the background carry the blur. */
#workspace{background:radial-gradient(ellipse at 15% 70%,#47644820,transparent 50%),radial-gradient(ellipse at 90% 15%,#81725317,transparent 48%),#101411}
.surface{background:linear-gradient(135deg,#33413155,#1b241b75);backdrop-filter:blur(20px) saturate(115%);-webkit-backdrop-filter:blur(20px) saturate(115%);border-color:#d9e8c711;box-shadow:inset 0 1px 0 #ffffff05}
.profile-menu{background:linear-gradient(140deg,#384732bd,#182219dd);backdrop-filter:blur(32px) saturate(125%);-webkit-backdrop-filter:blur(32px) saturate(125%);box-shadow:0 16px 48px #0005,inset 0 1px #ffffff14}
.auth-form-card,.lock-card{backdrop-filter:blur(32px) saturate(115%);-webkit-backdrop-filter:blur(32px) saturate(115%)}
dialog{padding:0!important;max-height:calc(100dvh - 40px);max-width:calc(100vw - 32px);overflow:hidden;background:linear-gradient(135deg,#3a4932c9,#18221bd9);backdrop-filter:blur(40px) saturate(120%);-webkit-backdrop-filter:blur(40px) saturate(120%);border:1px solid #d9e7c82b;box-shadow:0 36px 110px #0008,inset 0 1px #ffffff14;color:#e4ebdf}
dialog[open]{display:flex;flex-direction:column}
dialog::backdrop{background:#07100a70;backdrop-filter:blur(14px) saturate(.75);-webkit-backdrop-filter:blur(14px) saturate(.75)}
dialog .dialog-heading{flex:none;margin:0!important;padding:24px 26px 20px;border-bottom:1px solid #d9e7c80d}
dialog .dialog-heading>div{min-width:0}dialog .dialog-heading h2{line-height:1.2;overflow-wrap:anywhere}dialog .dialog-heading>.icon-button{flex:none;width:36px;height:36px;background:#d5e5c509;border:1px solid #d5e5c510}
.dialog-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 26px;scrollbar-width:thin;scrollbar-color:#b8cba638 transparent;scroll-padding:18px;outline-offset:-3px}
.dialog-scroll::-webkit-scrollbar,dialog textarea::-webkit-scrollbar{width:5px;height:5px}.dialog-scroll::-webkit-scrollbar-track,dialog textarea::-webkit-scrollbar-track{background:transparent}.dialog-scroll::-webkit-scrollbar-thumb,dialog textarea::-webkit-scrollbar-thumb{background:#b8cba638;border-radius:20px}.dialog-scroll:hover{scrollbar-color:#b8cba666 transparent}.dialog-scroll:focus-visible{outline:1px solid #b9cba955}
.dialog-footer{flex:none;padding:18px 26px 22px;border-top:1px solid #e2eed112;background:linear-gradient(135deg,#b7c99e08,#09150d22);margin:0!important}
#detail-footer>label{display:block;font-size:11px;color:#b6c4ac;margin-bottom:8px}#detail-footer>textarea{display:block;width:100%;resize:vertical;min-height:52px;height:58px;max-height:100px;margin:0;font-size:12px;scrollbar-width:thin;scrollbar-color:#b8cba638 transparent}#detail-footer>.dialog-actions{margin-top:14px}
#detail-body{padding:22px 26px;align-content:start}#detail-body .evidence{min-height:0;object-fit:cover;border:1px solid #e6eddb14}#detail-body .detail-note{color:#b2c0a7}#detail-body .detail-facts small{color:#a3b497}#detail-body .event-illustration{margin:0}
#user-form{display:flex;flex-direction:column;min-height:0}#user-form .form-error{margin-bottom:0}#user-dialog .dialog-scroll{padding-top:22px}#search-dialog .dialog-scroll{padding:17px}#search-dialog .search-field{position:sticky;top:-17px;background:#243225f5;z-index:1}
#camera-picker .dialog-scroll{padding-bottom:20px}#zone-dialog canvas{max-height:47dvh;object-fit:contain}#scenario-dialog .scenario-illustration img{max-height:40dvh;object-fit:cover}
@media(min-width:681px){#detail-body{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)}#detail-body .evidence{max-height:34dvh}#detail-body>.detail-note{font-size:11px}#detail-body>.info-box{grid-column:1/-1}}
@media(max-width:680px){dialog{max-height:calc(100dvh - 24px);max-width:calc(100vw - 24px);border-radius:20px}dialog .dialog-heading{padding:18px 18px 16px}dialog .dialog-heading h2{font-size:21px}.dialog-scroll,#detail-body{padding:16px 18px}.dialog-footer{padding:14px 18px 18px}#detail-body .evidence{max-height:24dvh;width:100%}#detail-body .detail-facts{margin:14px 0;gap:12px}#detail-body .detail-note{margin:0;font-size:10px}#detail-footer>textarea{height:52px;min-height:52px}#detail-footer .dialog-actions{gap:8px;margin-top:12px}#detail-footer .dialog-actions>.button{flex:1;padding:11px 7px;font-size:10px}}
@media(max-height:600px) and (min-width:681px){dialog .dialog-heading{padding:15px 22px}.dialog-heading h2{font-size:21px}.dialog-scroll,#detail-body{padding:14px 22px}.dialog-footer{padding:12px 22px}#detail-footer>textarea{height:42px;min-height:42px}#detail-footer>.dialog-actions{margin-top:10px}#detail-body .evidence{max-height:31dvh}}

/* First paint and session restoration. No private content is shown before authentication. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.is-booting{overflow:hidden}body.is-booting>#auth-screen,body.is-booting>#lock-screen,body.is-booting>#workspace{visibility:hidden}
#boot-skeleton{position:fixed;inset:0;z-index:100;background:radial-gradient(ellipse at 65% 30%,#34452c20,transparent 60%),#111611;display:flex;flex-direction:column;overflow:hidden;pointer-events:all}
.skeleton-header{height:82px;padding:0 4%;display:flex;align-items:center;gap:8%;border-bottom:1px solid #e1eed50c;flex:none}.skeleton-header .project-logo{width:120px}.skeleton-nav{width:340px;height:24px;margin:auto}.skeleton-avatar{width:34px;height:34px;border-radius:50%!important}.skeleton-page{padding:30px 4% 12px;flex:1;min-height:0}.skeleton-title{height:30px;width:200px;margin-bottom:30px}.skeleton-layout{display:grid;grid-template-columns:28% 1fr;gap:26px;height:calc(100% - 60px)}.skeleton-layout aside,.skeleton-main{min-height:0;display:flex;flex-direction:column;gap:16px}.skeleton{position:relative;overflow:hidden;border:1px solid #bdcfab08;border-radius:14px;background:#ccdfbb07}.skeleton:after{content:'';position:absolute;inset:0;background:linear-gradient(100deg,transparent 20%,#d9e8ce0a 48%,transparent 75%);transform:translateX(-100%);animation:skeleton-shimmer 1.7s ease-in-out infinite}.skeleton-tabs{height:28px;width:75%;flex:none}.skeleton-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.skeleton-stat{height:88px}.skeleton-chart{flex:1;min-height:70px}.skeleton-camera{height:100px}.skeleton-stage{flex:1;min-height:80px;border-radius:22px}.skeleton-timeline{height:54px;flex:none}.skeleton-card{height:135px}.skeleton-caption{display:flex;align-items:center;justify-content:center;gap:8px;height:44px;font-size:10px;letter-spacing:.3px;color:#9ead93;flex:none}.skeleton-caption .status-dot{width:5px;height:5px}
@keyframes skeleton-shimmer{to{transform:translateX(100%)}}
@media(max-width:680px){.skeleton-header{height:67px;padding:0 20px}.skeleton-header .project-logo{width:100px}.skeleton-nav{width:90px;height:15px}.skeleton-page{padding:24px 18px 0}.skeleton-title{height:24px;width:155px;margin-bottom:22px}.skeleton-layout{display:flex;flex-direction:column;gap:18px}.skeleton-layout aside{display:none}.skeleton-main{flex:1;gap:14px}.skeleton-card{height:145px}.skeleton-stage{min-height:230px}.skeleton-caption{height:40px}}

/* About and persistent license settings */
#page-developer{display:flex;flex-direction:column;min-height:0}.about-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex:none}.about-toolbar>.micro{font-size:9px;color:#8e9e82;letter-spacing:.6px}.developer-layout{height:auto;flex:1;min-height:0}.developer-hero{background:radial-gradient(ellipse at 0 100%,#9da87b20,transparent 70%),linear-gradient(130deg,#40523a55,#18231960)}.developer-logo{margin:18px 0 25px}.developer-tags{margin-top:24px}.developer-hero p{margin:18px 0 22px}.license-layout{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(0,1.35fr);gap:18px;flex:1;min-height:0}.license-overview,.license-settings{padding:clamp(22px,2.5vw,36px);overflow:auto;scrollbar-width:thin;scrollbar-color:#b8cba638 transparent}.license-overview{display:flex;flex-direction:column;align-items:flex-start;background:radial-gradient(ellipse at 0 0,#9ba47620,transparent 75%),#24302155}.license-symbol{width:40px;height:40px;padding:10px;box-sizing:content-box;border-radius:18px;background:#bbd49c09;border:1px solid #b4cc961c;margin-bottom:24px;color:#c6d7b5}.license-overview>.eyebrow{font-size:8px}.license-overview h2{font-size:28px;font-weight:300;letter-spacing:-.8px;margin:12px 0}.license-overview>p{font-size:11px;color:#a2b295;line-height:1.7;margin:0 0 18px}.license-overview>.pill{font-size:9px}.license-facts{width:100%;margin:22px 0;display:grid;gap:16px}.license-facts>div{display:flex;justify-content:space-between;gap:18px;align-items:start;border-bottom:1px solid #c9dab40f;padding-bottom:12px}.license-facts dt{font-size:10px;color:#95a789;flex:none}.license-facts dd{margin:0;text-align:right;font-size:11px;overflow-wrap:anywhere;line-height:1.5}.license-support{display:flex;gap:12px;align-items:center;margin-top:auto;padding-top:8px;color:#b3c5a4}.license-support>.icon{width:17px}.license-support strong{display:block;font-size:10px;font-weight:400;margin-bottom:6px}.license-support a{font-size:11px}.license-settings{display:flex;flex-direction:column}.license-settings h2{font-size:20px;font-weight:300}.license-description{font-size:11px;line-height:1.8;margin:16px 0 24px;max-width:450px}.license-settings fieldset{border:0;padding:0;margin:0;min-width:0}.license-settings .form-grid{gap:22px 18px}.license-settings .form-grid label{font-size:11px;color:#b3c2a8}.license-settings .form-grid input,.license-settings .form-grid select{background:#10201344;border:1px solid #ccdfb820;font-size:12px;padding:12px}.license-settings .form-grid small{font-size:9px;line-height:1.6;color:#869b79}.license-form-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #c8d9b415;padding-top:22px;margin-top:28px}.license-form-footer>.muted{font-size:9px;line-height:1.6;max-width:145px}.license-form-footer .button{font-size:11px;white-space:nowrap}.license-settings #license-retry{align-self:flex-start;margin-top:14px}
@media(min-width:681px) and (max-height:800px){.license-symbol{width:25px;height:25px;padding:8px;margin-bottom:16px}.license-facts{gap:12px;margin:18px 0}.license-overview,.license-settings{padding:24px}.license-overview h2{font-size:25px}.license-form-footer{margin-top:22px;padding-top:18px}}
@media(min-width:681px) and (max-width:1050px){.license-layout{grid-template-columns:.85fr 1fr;gap:12px}.license-overview,.license-settings{padding:20px}.license-facts>div{display:block}.license-facts dd{text-align:left;margin-top:7px}.license-settings .form-grid{grid-template-columns:1fr;gap:14px}.license-form-footer{flex-direction:column;align-items:stretch;gap:12px}.license-form-footer>.muted{max-width:none}}
@media(max-width:680px){.about-toolbar{margin-bottom:12px}.about-toolbar .segmented>button{font-size:10px;padding:9px 14px}.about-toolbar>.micro{font-size:8px}.developer-layout{flex:none}.developer-hero{padding:22px}.developer-hero h2{font-size:27px}.developer-hero p{margin:14px 0;font-size:10px}.developer-logo{width:125px;margin:16px 0 20px}.developer-tags{margin-top:18px}.developer-tags>span{font-size:7px;padding:5px 7px}.license-layout{grid-template-columns:1fr;flex:none;gap:12px}.license-overview,.license-settings{padding:22px;overflow:visible}.license-symbol{display:none}.license-overview h2{font-size:26px}.license-facts{margin:18px 0 14px;gap:12px}.license-settings .form-grid{grid-template-columns:1fr 1fr;gap:18px 10px}.license-settings .form-grid label{font-size:10px}.license-settings .form-grid input,.license-settings .form-grid select{font-size:11px;padding:11px 8px;min-width:0;width:100%}.license-form-footer{flex-direction:column-reverse;align-items:stretch;gap:12px;margin-top:22px;padding-top:18px}.license-form-footer>.muted{max-width:none;text-align:center}.license-description{margin:14px 0 20px}.license-support{margin-top:8px}}
@media(prefers-reduced-motion:reduce){.skeleton:after{animation:none;background:none}dialog[open]{animation:none}}
dialog :is(input,textarea,select):focus-visible{outline:2px solid #bfd4a877;outline-offset:3px}#detail-footer>textarea{resize:none}
@media(max-width:680px){
 #workspace:has(#page-developer:not([hidden])){height:100svh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
 #workspace:has(#page-developer:not([hidden]))>.app-header{flex:none}
 .content:has(#page-developer:not([hidden])){display:flex;flex-direction:column;flex:1;min-height:0}
 .content:has(#page-developer:not([hidden]))>.page-heading,.content:has(#page-developer:not([hidden]))>.app-footer{flex:none}
 #page-developer{flex:1;overflow:auto;scrollbar-width:thin;scrollbar-color:#b8cba638 transparent}
 .about-toolbar{position:sticky;top:0;background:#142015dc;backdrop-filter:blur(18px);z-index:2;padding:4px 0;border-radius:20px}
 .license-overview{position:relative;padding:20px}.license-overview>p,.license-overview .license-support{display:none}.license-overview>.eyebrow{font-size:7px}.license-overview h2{font-size:23px;margin:9px 0 12px}.license-overview>.pill{font-size:8px}
 .license-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;margin:16px 0 0}.license-facts>div{display:block;padding-bottom:9px}.license-facts dt{font-size:9px}.license-facts dd{text-align:left;margin-top:5px;font-size:10px}
 .license-settings{padding:20px}.license-description{font-size:10px;margin:12px 0 18px}.license-settings .form-grid{gap:14px 10px}.license-form-footer{margin-top:18px;padding-top:16px}
}

/* Liquid surfaces: photographic depth, translucent fill and a curved light edge. */
:root{--glass-fill:linear-gradient(135deg,#d7e6cf16,#52705a0b 42%,#0c171526);--glass-edge:#e4f1d828;--glass-shadow:inset 0 1px 0 #f2ffe329,inset 1px 0 0 #f3ffe512,inset 0 -1px 0 #0002,0 16px 40px #06100b25;--glass-blur:blur(26px) saturate(145%);--liquid-text:#ecf1e7;--liquid-muted:#a7b6a3}
#workspace{position:relative;isolation:isolate;background:#111b17}
#workspace:before{content:'';position:fixed;inset:-60px;z-index:-2;background:linear-gradient(100deg,#09140fee,#101813bb 48%,#122121b0),url('/assets/residence.webp') center/cover;filter:blur(32px) saturate(.9);pointer-events:none}
#workspace:after{content:'';position:fixed;inset:0;z-index:-1;background:radial-gradient(ellipse at 9% 85%,#8a985936,transparent 43%),radial-gradient(ellipse at 87% 15%,#55857c35,transparent 47%);pointer-events:none}
.surface,.camera-card,.rule-row,.user-card,.role-summary article,.profile-menu,.segmented{background:var(--glass-fill);border:1px solid var(--glass-edge);box-shadow:var(--glass-shadow);backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur)}
.surface,.rule-row,.user-card{border-radius:22px}.app-header{background:#0c191527;border-bottom-color:#dbecd713;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
.camera-card{border-radius:17px}.camera-card.active{border-color:#cbdfb85e;box-shadow:inset 0 1px #f1ffdd40,0 5px 22px #020b072e}.camera-card .thumb-wrap{margin:4px 4px 0;border-radius:12px;overflow:hidden}.camera-copy>strong{color:var(--liquid-text)}.camera-copy>small{color:var(--liquid-muted)}
.segmented{border-radius:24px;padding:4px;box-shadow:inset 0 1px #e6f1d812}.segmented>button{border-radius:20px}.segmented>button.active{background:linear-gradient(135deg,#dceac32a,#a6bf9214);box-shadow:inset 0 1px #e9f4da25,0 3px 10px #0001;color:#eff5e7}.stage-actions .segmented,.stage-actions .icon-button{background:#d4e3c80b}.icon-button{transition:background .18s,border-color .18s;flex:none}.icon-button:hover{background:#e4f1d818}.button.ghost{background:#bdd2b408;border-color:#dfedd21f}.button.ghost:hover{background:#d8edca16;border-color:#e2f1d638}
.stage{border-radius:25px;border:1px solid #e6f2d92e;box-shadow:inset 0 1px #efffe821,0 14px 40px #05130c38}.playback{border-radius:20px}.status-cards .surface{border-radius:20px}
.glass-pill,.glass-icon,.dome-controller{background:linear-gradient(135deg,#e9efdf26,#12201b66);border:1px solid #e7f2d844;box-shadow:inset 0 1px #f4ffe944,0 4px 18px #0002;backdrop-filter:blur(22px) saturate(150%);-webkit-backdrop-filter:blur(22px) saturate(150%)}
dialog{background:linear-gradient(128deg,#d6e2c925,#253b2d63 45%,#18302b70);border:1px solid #f0f8e43d;box-shadow:inset 0 1px #fcffe961,inset 1px 0 #efffe322,inset -1px 0 #ffffff0e,0 35px 110px #0007;backdrop-filter:blur(44px) saturate(155%);-webkit-backdrop-filter:blur(44px) saturate(155%);border-radius:28px}
dialog::backdrop{background:#07140f59;backdrop-filter:blur(10px) saturate(.9);-webkit-backdrop-filter:blur(10px) saturate(.9)}
.dialog-heading,.dialog-footer{background:transparent!important}.dialog-footer{border-top-color:#e3edd71c}.dialog-heading .icon-button{border-radius:50%}.dialog-heading .eyebrow{color:#bfccaf}.detail-note,.muted{color:var(--liquid-muted)}.dialog-scroll{scrollbar-color:#d7e5c633 transparent}
#search-dialog{border-radius:28px;width:min(680px,94vw)}#search-dialog .dialog-scroll{padding:10px;scroll-padding:12px}#search-dialog .search-field{position:sticky;top:-10px;background:linear-gradient(120deg,#d4e4c916,#35574425);backdrop-filter:blur(30px);border:1px solid #d6eaca18;border-radius:19px;z-index:1;padding:17px 15px;margin-bottom:7px;box-shadow:inset 0 1px #f6ffe910}#search-results{padding:1px 0;display:grid;gap:5px}.search-result{border-radius:17px;padding:15px;border:1px solid transparent;background:transparent}.search-result:hover,.search-result:focus-visible{background:linear-gradient(130deg,#e1edcf18,#9bb59408);border-color:#e5f0d41c;box-shadow:inset 0 1px #f4ffe712}.search-result>.icon:last-child{width:14px;color:#a4bba0}.search-result small{color:#9caf99}
.lock-card{width:min(370px,88vw);padding:28px 24px 23px;border-radius:34px;overflow:hidden;border:1px solid #ecf5db36;background:linear-gradient(130deg,#e1ead220,#7798860b 48%,#29423938);box-shadow:inset 0 1px #f5ffe953,inset 1px 0 #ffffff16,0 20px 70px #05120c40;backdrop-filter:blur(30px) saturate(155%);-webkit-backdrop-filter:blur(30px) saturate(155%)}
.lock-card .input-shell{border-radius:18px;background:#c3d7c014;border-color:#dcebc532;box-shadow:inset 0 1px #fff1}.lock-card #switch-user{margin-top:21px}.lock-card .operator-avatar{margin-bottom:18px}.lock-card h2{margin-bottom:23px}.lock-content{padding-top:clamp(25px,7vh,70px)}.auth-form-card{border-radius:30px;padding:26px!important;background:linear-gradient(135deg,#e3edce12,#142b2233);border:1px solid #f0f7df25;box-shadow:inset 0 1px #ffffff25,0 20px 60px #00150830;overflow:hidden}.auth-header{display:flex;align-items:center;justify-content:space-between}
.profile-menu{border-radius:23px;padding:15px}.profile-menu>button{border-radius:13px}.profile-menu>button:hover{background:#dcebc316}.header-actions{gap:8px}
/* Single camera has one identifier; multi-camera cells keep their own top-left IDs. */
#video-view .video-topline{justify-content:flex-end}.video-topline>.glass-pill,#video-source-name,#video-caption{display:none!important}.video-code{font-size:10px;letter-spacing:1px;padding:7px 10px;border-radius:20px;background:#10201b66;backdrop-filter:blur(16px);border:1px solid #e5eddb25;color:#f2f6ea}.video-bottomline{justify-content:flex-end}#analysis-toggle[aria-pressed=true],#fs-analysis[aria-pressed=true]{background:#bbd69820;color:#deefcc}#analysis-toggle[aria-pressed=false],#fs-analysis[aria-pressed=false]{opacity:.55}.multi-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.multi-code{z-index:2;left:12px;top:12px;width:max-content;right:auto;padding:6px 9px;background:#13221b88;border:1px solid #dcebc62a;border-radius:16px;backdrop-filter:blur(16px)}.multi-name{z-index:2}.multi-tile{border-radius:18px}.multi-grid{gap:8px;padding:8px;background:#0a151380}.multi-focus{border-radius:18px}
#stage:fullscreen #fullscreen-exit{width:42px;height:42px;background:#b9c9af16;border:1px solid #e1eed331;backdrop-filter:blur(24px);border-radius:50%;padding:10px;font-size:14px}#stage:fullscreen .fullscreen-toolbar{border-radius:26px;background:linear-gradient(125deg,#cdddba20,#14271b88);border-color:#ecf6df39;box-shadow:inset 0 1px #efffe93b,0 10px 40px #0005;backdrop-filter:blur(32px) saturate(150%)}
#camera-wall{grid-template-rows:none;grid-auto-rows:minmax(135px,1fr);height:100%;overflow:auto;padding:0 2px 3px;scrollbar-width:thin;scrollbar-color:#adbf9944 transparent}.wall-card{position:relative;border-radius:23px;border:1px solid #d3e5c531;box-shadow:inset 0 1px #f7ffe529,0 7px 25px #02120936;background:#11201a;overflow:hidden;min-height:150px}.wall-visual{height:100%;flex:1;min-height:150px;aspect-ratio:auto}.wall-visual>video,.wall-visual>img{object-fit:cover}.wall-overlay{padding:16px;background:linear-gradient(#0002,transparent 45%,#00100ce6)}.wall-overlay>div{padding-right:38px;font-size:12px}.wall-add{position:absolute;right:12px;bottom:12px;z-index:4;width:31px;height:31px;background:#d8edc51b;backdrop-filter:blur(20px);border:1px solid #e6f2d736;border-radius:50%;color:#eaf5de}.wall-add:hover{background:#e9f7dc38}.wall-add .icon{width:15px;height:15px}.camera-wall-heading{margin-bottom:12px}
.dome-controller{position:absolute;right:16px;bottom:16px;z-index:6;width:170px;border-radius:23px;color:#eef5e5;overflow:hidden}.ptz-heading{display:flex;align-items:center;gap:6px;font-size:9px;width:100%;padding:12px}.ptz-heading .icon{width:14px;height:14px}.ptz-heading .icon:last-child{margin-left:auto;width:11px}.ptz-pad{display:grid;grid-template-columns:repeat(3,32px);grid-template-rows:repeat(3,30px);justify-content:center;gap:1px}.ptz-pad .icon-button{width:30px;height:30px;background:#dff0cd0b}.ptz-pad [data-ptz=up]{grid-area:1/2}.ptz-pad [data-ptz=left]{grid-area:2/1}.ptz-pad [data-ptz=home]{grid-area:2/2}.ptz-pad [data-ptz=right]{grid-area:2/3}.ptz-pad [data-ptz=down]{grid-area:3/2}.ptz-zoom{display:flex;align-items:center;justify-content:center;gap:14px;font-size:10px;margin:3px 0}.ptz-zoom .icon-button{width:26px;height:26px}.ptz-presets{display:flex;gap:4px;padding:6px 9px 10px}.ptz-presets button{font-size:8px;flex:1;padding:6px;border-radius:10px;background:#e3f2cf0a}.ptz-presets button.active{background:#e3f2cf24}#stage:has(#dome-controller:not([hidden])) #overlay-toggle{display:none}#stage:fullscreen .dome-controller{bottom:105px;right:30px}
.review-history{grid-column:1/-1;padding:17px 18px;border:1px solid #d8e7c920;border-radius:17px;background:#c9ddaf07}.review-history>div{display:flex;align-items:center;gap:9px;font-size:11px}.review-history strong{font-weight:400}.review-history time{margin-left:auto;font-size:9px;color:var(--liquid-muted)}.review-history .icon{width:14px;height:14px}.review-history p{font-size:12px;white-space:pre-wrap;line-height:1.7;margin:12px 0 0;overflow-wrap:anywhere}.note-author{float:right;color:#c1d3b1;font-size:10px}.event-video-wrap video{width:100%;aspect-ratio:16/9;object-fit:contain!important;background:#091510;border-radius:16px}.event-video-wrap figcaption{position:static!important;background:none!important;padding:7px 0 0!important;font-size:9px;color:var(--liquid-muted)}
#page-license{display:flex;flex-direction:column;min-height:0}.license-layout{align-items:stretch}.license-overview,.license-settings{border-radius:27px;background:var(--glass-fill);padding:clamp(26px,4vw,56px)}.license-brand{width:150px;margin-bottom:45px;filter:brightness(0) invert(1);opacity:.9}.license-overview h2{font-size:44px;font-weight:300;margin:17px 0 23px}.license-facts{margin:34px 0}.license-facts dt{color:var(--liquid-muted)}.license-facts dd{font-size:12px}.license-contact{font-size:11px;color:var(--liquid-muted);margin-top:auto;overflow-wrap:anywhere}.license-settings{justify-content:center}.license-settings>.license-symbol{width:35px;height:35px;padding:13px;margin-bottom:27px;border-radius:20px;background:#deedc410}.license-settings h2{font-size:29px;font-weight:300}.license-description{margin:16px 0 29px}.license-key-label{display:block;font-size:11px;color:var(--liquid-muted);margin-bottom:10px}.license-settings .input-shell{margin:0;border-radius:16px;background:#d9e7cf08;border:1px solid #dfeccc27}.license-settings .input-shell input{background:none;border:0;min-width:0;font-size:13px;letter-spacing:1px;color:var(--text)}.license-form-footer{margin-top:24px;flex-wrap:wrap}.license-form-footer>.muted{max-width:200px}.license-settings #license-verification{font-size:10px}
#calibration-dialog{width:min(900px,94vw)}.calibration-toolbar{display:flex;align-items:center;gap:15px;justify-content:space-between}.calibration-toolbar label{display:flex;gap:12px;align-items:center;font-size:11px}.calibration-toolbar select{max-width:300px}.calibration-help{font-size:11px;line-height:1.65;margin:14px 0}.calibration-preview{position:relative;max-width:600px;margin:0 auto;border-radius:17px;overflow:hidden;cursor:crosshair;line-height:0}.calibration-preview img{display:block;width:100%;max-height:28dvh;object-fit:fill}.calibration-preview svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.calibration-preview polygon,.calibration-preview polyline{fill:#c5e4a533;stroke:#d3edb9;stroke-width:3;vector-effect:non-scaling-stroke}.calibration-preview circle{fill:#d8edc4;stroke:#30452a;stroke-width:2}.calibration-preview text{font:22px Helvetica,sans-serif;fill:#132710}.calibration-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.calibration-fields label{font-size:10px;color:var(--liquid-muted)}.calibration-fields input{width:100%;margin-top:8px;font-size:12px;padding:10px;border-radius:12px}.calibration-point-controls{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0}.calibration-point-controls>div{display:flex;gap:6px;align-items:center;background:#d7e8c509;border:1px solid #d7e8c515;border-radius:12px;padding:6px}.calibration-point-controls>div>span{font-size:9px;padding:3px;color:#b5c7a5}.calibration-point-controls label{display:flex;align-items:center;gap:3px;font-size:8px}.calibration-point-controls input{width:49px;padding:5px;margin:0;font-size:9px}.calibration-point-controls input::-webkit-inner-spin-button{appearance:none}#calibration-dialog .dialog-actions{justify-content:space-between;align-items:center}#calibration-status{font-size:10px}
/* Light palette includes navigation, dialogs, forms, tables, auth and loading. Camera pixels stay unchanged. */
html[data-theme=light]{--bg:#edf1e9;--surface:#f5f7ee;--surface-2:#e5ecdf;--line:#243d2414;--border:#35543822;--text:#20362a;--muted:#586e5d;--green:#51703e;--accent:#976233;--red:#aa423b;--liquid-text:#20362a;--liquid-muted:#587060;--glass-fill:linear-gradient(135deg,#ffffffe6,#f2f7eaa6 48%,#deebdf85);--glass-edge:#ffffffd9;--glass-shadow:inset 0 1px #fff,inset 1px 0 #fffd,0 12px 35px #243e2911}
html[data-theme=light] #workspace{background:#dce7de}html[data-theme=light] #workspace:before{background:linear-gradient(100deg,#e5eddeec,#dce9dfb5 50%,#d9e9e6bb),url('/assets/residence.webp') center/cover;filter:blur(30px) saturate(.7)}html[data-theme=light] #workspace:after{background:radial-gradient(ellipse at 6% 88%,#dacfa04d,transparent 50%),radial-gradient(ellipse at 86% 15%,#9dc4c64d,transparent 50%)}
html[data-theme=light] .app-header{background:#f4f8ef55;border-color:#58745316}html[data-theme=light] .project-logo{filter:brightness(0) saturate(100%)!important;opacity:.8;mix-blend-mode:multiply}html[data-theme=light] .powered img,html[data-theme=light] .license-brand{filter:brightness(0) saturate(100%);opacity:.7}html[data-theme=light] .nav,html[data-theme=light] .header-actions,html[data-theme=light] .logo-link>span{color:#4c6454}html[data-theme=light] .nav.active{background:#526e4813;color:#193a23}html[data-theme=light] .main-nav{border-color:#25462018}html[data-theme=light] .icon-button:hover{background:#49684313}html[data-theme=light] .button.light{background:#2e4b38;color:#f2f7eb;border-color:#2e4b38}html[data-theme=light] .button.ghost{background:#ffffff40;color:#2f4a36;border-color:#38573b25}html[data-theme=light] .button.ghost:hover{background:#ffffff99}html[data-theme=light] .segmented>button{color:#61745d}html[data-theme=light] .segmented>button.active{background:#fff9;color:#26432c;box-shadow:inset 0 1px #fff,0 2px 8px #30492810}
html[data-theme=light] :is(.card-top h2,.rail-heading h2,.status-cards article>span,.chart-caption,.activity-number>span,.rule-count>span,.stage-heading .eyebrow,.page-tools,.heading-meta,.heading-meta time,.playback-controls,.playback-label,.timeline-labels,.subtle,.rule-ref,.rule-row p,.rule-row .rule-note,.rule-controls label,.role-summary span,.user-copy p,.user-status,.audit-filter,.micro,.powered){color:#56705a}html[data-theme=light] :is(.status-cards strong,.activity-number>strong,.rule-count>strong,.stage-heading h2,.rail-heading h2,.card-top h2,.user-copy h3,.role-summary strong){color:#213e2a}html[data-theme=light] .camera-card.active{border-color:#68856088}html[data-theme=light] .camera-copy>strong{color:#29442e}html[data-theme=light] .event-item{border-color:#35523817}html[data-theme=light] .event-item strong{color:#28452e}html[data-theme=light] .event-item p,html[data-theme=light] .event-time{color:#61725a}html[data-theme=light] .event-symbol{background:#ad81391c;color:#90602d}html[data-theme=light] #mini-rules>span{background:#597d4820;color:#3f643a}html[data-theme=light] #mini-rules>.off{background:#8882;color:#72796b}html[data-theme=light] .toggle{color:#365e32;background:#a2c38a33}html[data-theme=light] .toggle.off{color:#737b6c;background:#8b987217}html[data-theme=light] .role-pill{background:#77995b25;color:#3b5e35}html[data-theme=light] .pill{background:#5c784a1a;color:#476240}html[data-theme=light] .pill.amber{background:#c7973820;color:#8e5d26}html[data-theme=light] .pill.green{background:#6c9e6424;color:#3c713c}html[data-theme=light] .pill.gray{background:#6e806c1a;color:#566451}
html[data-theme=light] :is(input,select,textarea){color:#243e2c;background:#f7fbf08c;border-color:#4c704133}html[data-theme=light] :is(input,textarea)::placeholder{color:#819079}html[data-theme=light] :is(.input-shell,.license-settings .input-shell){background:#ffffff58;border-color:#46673b33}html[data-theme=light] .input-shell input{background:none;color:#203d29}html[data-theme=light] .table-wrap{border-color:#304c251d;background:#f3f8ec30}html[data-theme=light] .table-wrap thead{background:#e2ebdc}html[data-theme=light] .table-wrap th{color:#607455}html[data-theme=light] .table-wrap td{color:#294530;border-color:#35542915}html[data-theme=light] .table-wrap small{color:#6f8165}html[data-theme=light] .table-wrap tbody tr:hover{background:#fff5}html[data-theme=light] .profile-menu{color:#2b422d}html[data-theme=light] .profile-menu small{color:#698060}html[data-theme=light] .profile-menu>button:hover{background:#fff7}
html[data-theme=light] dialog{color:#263f2d;background:linear-gradient(135deg,#ffffffc9,#eaf1dcaa 45%,#d5e8debb);border-color:#ffffffe6;box-shadow:inset 0 1px #fff,inset 1px 0 #fffe,0 25px 90px #15372130}html[data-theme=light] dialog::backdrop{background:#5b76663d;backdrop-filter:blur(11px)}html[data-theme=light] dialog .dialog-heading{border-color:#30592914}html[data-theme=light] dialog .dialog-heading .eyebrow{color:#67805e}html[data-theme=light] dialog .dialog-heading .icon-button{background:#fff5;border-color:#3a5c3222}html[data-theme=light] .dialog-footer{border-color:#355c301c}html[data-theme=light] :is(.detail-facts small,.detail-note,#detail-body .detail-note,#detail-body .detail-facts small,#detail-footer>label,.note-author,.review-history time){color:#5e7654}html[data-theme=light] .dialog-scroll{scrollbar-color:#64815844 transparent}html[data-theme=light] #search-dialog .search-field{background:linear-gradient(140deg,#ffffff8c,#e7f0db6b);border-color:#fff9}html[data-theme=light] .search-result:hover{background:#ffffff70;border-color:#fff9}html[data-theme=light] .search-result small{color:#6d8262}html[data-theme=light] .search-result>.icon:last-child{color:#5e7a51}html[data-theme=light] .camera-option{background:#eff6e551;border-color:#637e4627;color:#30462b}html[data-theme=light] .camera-option:has(input:checked){background:#c5d8ac44;border-color:#5f813f77}html[data-theme=light] .camera-option small{color:#627d4e}html[data-theme=light] .info-box{background:#bccfa633;border-color:#75905833;color:#546c40}html[data-theme=light] #toast{background:#edf6e4d9;backdrop-filter:blur(22px);color:#2f502d;border-color:#708e4d55;box-shadow:0 10px 30px #22331520}
html[data-theme=light] .auth-shade{background:linear-gradient(90deg,#c8d5c42e,#d5e3d273 45%,#d6e3d1e0 72%)}html[data-theme=light] .lock-shade{background:linear-gradient(#d6e7df88,#c2d9c6a1);backdrop-filter:blur(22px)}html[data-theme=light] .lock-card,html[data-theme=light] .auth-form-card{background:linear-gradient(130deg,#ffffff8c,#e4f0d350,#cbded77a);border-color:#ffffffae;box-shadow:inset 0 1px #fff,inset 1px 0 #fffa,0 20px 60px #173c2320}html[data-theme=light] :is(.lock-card h2,.lock-content>time,.auth-form-card h2,.auth-form-card label,.auth-form-card .eyebrow,.auth-form-card .auth-symbol,.auth-header .micro){color:#264630}html[data-theme=light] :is(#lock-date,#switch-user,.auth-form-card>p,.auth-form-card .input-shell>.icon,.auth-footer){color:#526e56}html[data-theme=light] .auth-story,html[data-theme=light] .auth-story p{color:#fff}html[data-theme=light] .auth-form-card>.eyebrow{color:#587647}html[data-theme=light] .form-error{color:#963c34;background:#c35b4012}html[data-theme=light] #boot-skeleton{background:radial-gradient(ellipse at 75% 20%,#b6d4c44d,transparent 60%),#e8eee3}html[data-theme=light] .skeleton{background:#7b9a7110;border-color:#fff9}html[data-theme=light] .skeleton:after{background:linear-gradient(100deg,transparent,#ffffff70,transparent)}html[data-theme=light] .skeleton-caption{color:#597351}html[data-theme=light] .license-facts>div{border-color:#48633a20}html[data-theme=light] .license-form-footer{border-color:#48633a20}html[data-theme=light] .license-settings>.license-symbol{color:#58793d;background:#85a76a17;border-color:#62834c27}html[data-theme=light] .license-overview>.eyebrow{color:#617d4d}html[data-theme=light] .calibration-point-controls>div{background:#fff4;border-color:#5e7b4325}
@media(max-width:680px){.header-actions{gap:3px}.header-actions>.icon-button{width:27px;height:29px}.header-actions>.icon-button .icon{width:14px;height:14px}.header-actions .header-divider{margin:0 2px}.auth-form-card{padding:22px!important}.lock-card{padding:25px 20px 21px;border-radius:30px;margin-top:28px}.stage{border-radius:21px}.multi-code{font-size:7px;padding:4px 6px;left:8px;top:8px}.stage-actions{gap:3px}.stage-actions>.icon-button{width:25px;height:28px}.stage-actions>.icon-button .icon{width:14px;height:14px}.stage-actions .segmented{padding:2px}.stage-actions .segmented>button{padding:6px;font-size:8px}.stage-heading h2{font-size:16px}.multi-tile,.multi-focus{border-radius:13px}.multi-grid{padding:5px;gap:5px}.camera-card .thumb-wrap{margin:2px 2px 0;border-radius:9px}.camera-card{border-radius:12px}.surface{border-radius:19px}.camera-wall{grid-template-columns:1fr 1fr!important}.wall-card{border-radius:18px;min-height:125px}.wall-visual{min-height:125px}.wall-overlay{padding:11px}.wall-overlay>div{font-size:9px;padding-right:27px}.wall-add{width:25px;height:25px;right:8px;bottom:8px}.wall-add .icon{width:12px;height:12px}.wall-overlay .glass-pill{font-size:7px;padding:5px 7px}.dome-controller{right:9px;bottom:9px;width:134px;border-radius:18px}.ptz-heading{padding:9px;font-size:8px;gap:4px}.ptz-pad{grid-template-columns:repeat(3,26px);grid-template-rows:repeat(3,23px)}.ptz-pad .icon-button{width:25px;height:23px}.ptz-pad .icon{width:14px;height:14px}.ptz-zoom{margin:1px 0;font-size:9px}.ptz-presets{padding:3px 6px 7px}.ptz-presets button{font-size:7px;padding:5px}#stage:fullscreen .dome-controller{bottom:83px;right:12px}#stage:fullscreen #fullscreen-exit{width:32px;height:32px;padding:7px}#page-license{overflow:auto;flex:1;scrollbar-width:thin}#workspace:has(#page-license:not([hidden])){height:100svh;min-height:0;display:flex;flex-direction:column;overflow:hidden}#workspace:has(#page-license:not([hidden]))>.app-header{flex:none}.content:has(#page-license:not([hidden])){display:flex;flex-direction:column;flex:1;min-height:0}.content:has(#page-license:not([hidden]))>.page-heading,.content:has(#page-license:not([hidden]))>.app-footer{flex:none}.license-layout{grid-template-columns:1fr;flex:none}.license-brand{width:105px;margin-bottom:20px}.license-overview,.license-settings{padding:24px;border-radius:23px}.license-overview h2{font-size:33px;margin:12px 0 16px}.license-facts{margin:23px 0 18px;grid-template-columns:1fr}.license-facts>div{display:flex}.license-facts dd{margin:0;text-align:right;font-size:10px}.license-contact{font-size:9px}.license-settings>.license-symbol{display:none}.license-settings h2{font-size:25px}.license-description{font-size:11px;margin:14px 0 21px}.license-form-footer{flex-direction:column-reverse;align-items:stretch}.license-form-footer>.muted{max-width:none}.license-key-label{font-size:10px}.calibration-toolbar{gap:8px;flex-wrap:wrap}.calibration-toolbar label{font-size:10px;gap:7px}.calibration-toolbar select{max-width:205px}.calibration-toolbar .button{font-size:9px;padding:8px}.calibration-help{font-size:10px}.calibration-fields{gap:8px}.calibration-fields label{font-size:9px}.calibration-fields input{padding:8px;font-size:10px}.calibration-point-controls{gap:5px}.calibration-point-controls>div{padding:4px;gap:3px}.calibration-point-controls input{width:39px}.calibration-point-controls label{font-size:7px}.review-history>div{flex-wrap:wrap}.review-history time{width:100%;margin-left:22px}.note-author{font-size:9px}#search-dialog{border-radius:23px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
html[data-theme=light] .project-logo{filter:url(#logo-on-dark) brightness(0)!important;mix-blend-mode:normal;opacity:.78}
html[data-theme=light] :is(.header-actions .icon-button,.stage-actions .icon-button,.playback-controls .icon-button,.auth-header .icon-button,dialog .icon-button){color:#3c5c42}
html[data-theme=light] #playback-time{color:#3c583f}html[data-theme=light] #playback-time small{color:#76916c}html[data-theme=light] #speed-toggle{color:#4c6b45}
#search-dialog .search-field:focus-within{border-color:#dfedc548;box-shadow:inset 0 1px #fff2,0 0 0 2px #d4e5bd0e}#search-dialog .search-field input:focus-visible{outline:none!important}#search-dialog .search-field input{border-radius:12px}
html[data-theme=light] #search-dialog .search-field:focus-within{border-color:#6a885766;box-shadow:0 0 0 2px #6a885715}
html[data-theme=light] #stage .fullscreen-toolbar .icon-button,html[data-theme=light] #stage .dome-controller .icon-button,html[data-theme=light] #stage .fullscreen-heading .icon-button{color:#edf5e6}
.calibration-preview{width:min(100%,400px)}.calibration-preview img{height:auto;max-height:none;object-fit:contain}.calibration-point-controls{display:grid;grid-template-columns:repeat(4,1fr);min-height:42px;align-content:start}.calibration-point-controls>div{justify-content:center}.calibration-preview svg circle{r:17px}.calibration-preview svg text{font-size:23px}
html[data-theme=light] .lock-card .icon-button{color:#4d6d45}
@media(max-width:680px){.calibration-point-controls{grid-template-columns:repeat(2,1fr);min-height:76px}}
@media(max-width:680px){
 #workspace{height:100svh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
 #workspace>.app-header{flex:none}.content{display:flex;flex-direction:column;flex:1;min-height:0}.content>.page-heading,.content>.app-footer{flex:none}.page{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#a8b99544 transparent}
 #page-cameras{display:flex;flex-direction:column;overflow:hidden}.camera-wall-heading{flex:none;gap:6px}.camera-wall-heading .inline-actions{gap:4px}.camera-wall-heading .inline-actions>.button{font-size:8px;padding:8px}.camera-wall-heading .segmented>button{padding:6px;font-size:8px}.camera-wall-heading>.muted{font-size:9px}
 #camera-wall{height:auto;flex:1;grid-auto-rows:minmax(90px,1fr);gap:8px}.wall-card{min-height:90px}.wall-visual{min-height:90px}.wall-overlay{padding:8px}.wall-overlay>div{font-size:8px}.wall-overlay .glass-pill{font-size:6px;padding:4px 6px}.wall-add{width:22px;height:22px;right:7px;bottom:7px}
}
.wall-overlay,.multi-focus{color:#edf3e7}html[data-theme=light] #stage:fullscreen .fullscreen-toolbar .button{color:#edf3e7;background:#d9edc810;border-color:#dce8d028}html[data-theme=light] #stage:fullscreen #zoom-reset{color:#edf3e7}html[data-theme=light] .license-settings .input-shell .icon-button{color:#4d6d45}

/* Video-derived ambient glass and compact status header. */
.video-backdrop{position:absolute;inset:-8%;width:116%;height:116%;filter:blur(28px) saturate(.72);opacity:.62;pointer-events:none;z-index:0;object-fit:cover}
#video-view{isolation:isolate;overflow:hidden;background:linear-gradient(135deg,#536454,#293e37)}
#main-video,#live-frame{background:transparent!important}.media-layer{z-index:1}
.multi-focus{isolation:isolate;background:linear-gradient(135deg,#536454,#293e37)}
.multi-focus>video,.multi-focus>img{z-index:1;position:relative;background:transparent}.multi-focus>.video-backdrop{z-index:0}.multi-overlay{z-index:2}.multi-code,.multi-name{z-index:3}
.profile-menu{background:linear-gradient(145deg,rgba(43,53,44,.97),rgba(24,34,29,.96));backdrop-filter:blur(18px) saturate(1.25);-webkit-backdrop-filter:blur(18px) saturate(1.25);box-shadow:inset 0 1px #ffffff20,0 20px 60px #0006;border:1px solid #cddfc52e}
html[data-theme=light] .profile-menu{background:linear-gradient(145deg,#f3f7effa,#dfe9ddfa);box-shadow:inset 0 1px #fff,0 20px 60px #173c2324;border-color:#fff9}
.page-tools{display:flex;align-items:center;gap:20px}.heading-meta{display:flex;align-items:center;gap:18px;text-align:left}.heading-meta #connection{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:10px;margin:0;padding:8px 11px;border:1px solid var(--border);border-radius:20px;background:#b7cf9e09}.heading-meta .header-datetime{display:grid;grid-template-columns:auto auto;gap:4px 7px;align-items:baseline;line-height:1.2}.header-datetime #header-date{grid-column:1/-1;font-size:9px;color:var(--muted)}.header-datetime #clock{font-size:13px;font-variant-numeric:tabular-nums;letter-spacing:.6px}.header-datetime .timezone{font-size:8px;letter-spacing:.7px;color:var(--muted)}
.license-project-logo{display:block;width:190px;height:auto;object-fit:contain;margin:22px 0 26px}
#lock-clock{font-variant-numeric:tabular-nums;display:flex;justify-content:center;align-items:baseline}.clock-colon{animation:clock-tick 2s steps(1,end) infinite}@keyframes clock-tick{0%,100%{opacity:1}50%{opacity:.28}}
#unlock-form .input-shell>button{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;min-width:36px;max-width:36px;height:36px;min-height:36px;padding:0;border-radius:50%;aspect-ratio:1;transition:background .18s,box-shadow .18s}
#unlock-form .input-shell>button:hover{background:#dceacb1c;box-shadow:inset 0 0 0 1px #e1edda20}
#unlock-form .input-shell>button.is-loading>.icon{opacity:0}#unlock-form .input-shell>button.is-loading:after{position:absolute;inset:10px;margin:0;width:16px;height:16px}
select{appearance:none!important;padding:10px 34px 10px 13px!important;min-height:37px;border-radius:13px!important;border:1px solid var(--glass-edge)!important;color:var(--text);background-color:#29352ae6!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%239aa894' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;cursor:pointer;box-shadow:inset 0 1px #ffffff0c;transition:border-color .18s,box-shadow .18s}
select:hover,select:focus-visible{border-color:#bccfad70!important;box-shadow:0 0 0 3px #a1b98c12}select option{background:#263227;color:#eef3e8;padding:10px}html[data-theme=light] select{background-color:#edf4e9ed!important}html[data-theme=light] select option{background:#edf4e9;color:#243e2c}
@supports (appearance:base-select){select,select::picker(select){appearance:base-select!important}select::picker-icon{display:none}select::picker(select){border:1px solid var(--glass-edge);border-radius:16px;padding:6px;margin-top:6px;background:#253027fa;box-shadow:0 16px 36px #0005;backdrop-filter:blur(18px)}select option{border-radius:10px;padding:10px 12px;font-size:12px}select option:hover,select option:checked{background:#bdd4a91c}select option::checkmark{color:#aec998}html[data-theme=light] select::picker(select){background:#eff5ebfa;box-shadow:0 16px 36px #263a2724}html[data-theme=light] select option:hover,html[data-theme=light] select option:checked{background:#b7cdaa42}}
@media(max-width:900px){.page-tools{gap:10px}.heading-meta{gap:10px}.heading-meta #connection{font-size:9px;padding:7px 9px}}
@media(max-width:680px){.page-tools{gap:8px}.heading-meta{display:flex}.heading-meta #connection{font-size:8px;padding:6px 8px}.heading-meta .header-datetime{display:none}.page-tools #scenarios-open{padding:9px 11px;font-size:10px}.license-project-logo{width:165px;margin:18px 0 22px}}
@media(prefers-reduced-motion:reduce){.clock-colon{animation:none}}
.panorama-control{display:block;padding:9px 15px 3px;font-size:10px;color:var(--muted)}.panorama-control>span{display:flex;justify-content:space-between}.panorama-control input{width:100%;accent-color:#b6cba5;margin:10px 0 0}
/* Keep camera thumbnails readable as the camera count grows. */
.camera-grid{grid-template-rows:none;grid-auto-rows:82px;align-content:start;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#bdd3aa30 transparent;padding-right:3px}
.event-player{position:relative;isolation:isolate;overflow:hidden;border-radius:16px;background:#34473a}.event-player video{display:block;position:relative;z-index:1;background:transparent!important}.event-player .video-backdrop{z-index:0}
@media(max-width:680px){.camera-grid{grid-template-rows:repeat(2,57px);grid-auto-rows:57px;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 15px)/4);overflow-x:auto;overflow-y:hidden;padding:0 0 3px;min-height:120px;flex:none}}
.fisheye-view .media-layer{container-type:size}.fisheye-view #main-video{clip-path:circle(min(47cqw,47cqh) at 50% 50%)}
#panorama-view{position:absolute;inset:0;width:100%;height:100%;z-index:3;cursor:grab;touch-action:none;outline-offset:-4px}#panorama-view.dragging{cursor:grabbing}.interactive-panorama #main-video{opacity:0;pointer-events:none}.interactive-panorama #detection-overlay{visibility:hidden}.interactive-panorama .media-layer{rotate:none!important;transform:none!important}.interactive-panorama .stage-vignette{pointer-events:none}
