:root{color-scheme:dark;--bg:#0c111a;--panel:#131b27;--line:#253043;--muted:#9ba9bb;--text:#edf3fa;--accent:#7ce8c2;--aside:#101721;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px;line-height:1.5}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;border:0}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}[hidden]{display:none!important}a{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1px;font-weight:600;line-height:1.2}h2{font-size:16px;letter-spacing:-.3px;font-weight:600}h3{font-size:17px;font-weight:500}.muted{color:var(--muted)}.eyebrow,.nav-label{font-size:10px;font-weight:600;letter-spacing:1.7px;color:var(--accent)}.fine{font-size:12px;color:var(--muted)}.primary,.secondary,.danger{padding:11px 16px;border-radius:8px;font-size:12px;font-weight:600;white-space:nowrap}.primary{background:var(--accent);color:#12382d}.secondary{background:#1d2c37;color:#b8e9d9;border:1px solid #345348}.quiet{background:none;color:var(--muted);padding:8px;font-size:12px}.quiet:hover{color:var(--text)}.danger{background:#863d43;color:#fff}input,select{border:1px solid #344155;border-radius:7px;background:#0e1621;color:var(--text);padding:11px 12px;min-height:42px}label{display:block;color:#c4cfdd;font-size:12px;margin:12px 0 7px}input{width:100%}.app-shell{display:flex;min-height:100vh}.sidebar{width:216px;flex-shrink:0;background:var(--aside);border-right:1px solid var(--line);padding:31px 20px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;font-size:17px;line-height:1.15;letter-spacing:-.4px}.brand b{font-weight:400;color:var(--muted)}.brand-mark{height:50px;width:50px;background:var(--accent);color:#102a23;display:flex;align-items:center;justify-content:center;font-size:35px;position:relative;font-weight:700;border-radius:13px}.brand-mark span{font-size:20px;position:absolute;top:2px;right:4px}.brand-mark.small{width:38px;height:40px;font-size:27px;border-radius:10px}.brand-mark.small span{font-size:15px}.nav-label{color:#63768e;margin:49px 12px 16px;font-size:9px}.nav-item{display:flex;align-items:center;gap:13px;width:100%;padding:12px;border-radius:7px;background:transparent;color:#98a8bb;text-align:left;font-size:13px;margin-bottom:5px}.nav-item span{font-size:20px;width:21px;line-height:1}.nav-item:hover{background:#172332;color:#fff}.nav-item.active{background:#203b36;color:var(--accent)}.sidebar-bottom{margin-top:auto;display:flex;gap:12px;align-items:center;border-top:1px solid var(--line);padding:22px 6px 5px}.sidebar-bottom strong{font-size:12px;font-weight:500}.sidebar-bottom small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.gateway-dot,.tiny-dot{width:7px;height:7px;background:var(--accent);border-radius:50%;display:inline-block}.logout{text-align:left;padding:16px 5px 0}.workspace{margin-left:216px;min-width:0;flex:1}.topbar{height:78px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 34px}.crumb{font-size:9px;letter-spacing:1.4px;color:#64788f;padding-right:17px}.site{font-size:12px;color:#c8d4e2}.header-right{display:flex;gap:18px;align-items:center}.chip{font-size:9px;letter-spacing:1px;border:1px solid #344858;padding:5px 9px;border-radius:5px;color:#9eafc4;white-space:nowrap}.connection{font-size:11px;color:var(--accent)}main{max-width:1650px;margin:auto;padding:34px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px;gap:15px}.page-heading .eyebrow{margin-bottom:10px}.page-heading .muted{font-size:12px;margin-top:9px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px}.stats article{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:17px 19px;position:relative}.stats p{font-size:11px;color:#b2c0d1;margin-bottom:12px}.stats strong{font-size:29px;line-height:1.1;font-weight:500;letter-spacing:-1px;display:block}.stats small{display:block;font-size:10px;color:#778ba4;margin-top:10px}.stat-icon{position:absolute;right:17px;top:15px;color:#72978f;font-size:20px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:22px}.panel{border:1px solid var(--line);border-radius:10px;background:var(--panel);overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:21px 22px 16px}.panel-heading p{color:var(--muted);font-size:10px;margin-top:5px}.camera-toolbar{padding:0 20px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px}.camera-toolbar select{font-size:12px;min-width:140px;max-width:60%;padding:7px 10px;min-height:34px}.camera-stage{margin:0 19px;aspect-ratio:16/9;border:1px solid #263746;border-radius:7px;background:radial-gradient(ellipse at 50% 40%,#1b303b 0,#101923 65%);position:relative;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden}.camera-stage img{width:100%;height:100%;object-fit:contain}.lens{font-size:54px;color:#587c80}.camera-stage h3{color:#b9cdd3;font-size:15px;margin:4px 0 8px}.camera-stage p{font-size:11px;color:#8297a9}.frame-label{position:absolute;bottom:0;left:0;right:0;background:#0b1522d9;display:flex;justify-content:space-between;font-size:9px;padding:9px 13px;color:#a7bbc7;letter-spacing:.6px}.camera-actions{display:flex;justify-content:space-between;align-items:center;padding:16px 20px 9px;gap:8px;font-size:11px}.camera-actions>div{display:flex;gap:6px}.camera-actions .secondary{font-size:10px;padding:8px 10px}.panel-note{font-size:10px;color:#768aa3;padding:0 20px 17px}.activity-panel{display:flex;flex-direction:column}.activity-list{padding:0 20px;max-height:440px;overflow-y:auto}.activity{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid var(--line);align-items:flex-start}.activity-icon{background:#223932;color:var(--accent);border:1px solid #35594c;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;flex-shrink:0}.activity h3{font-size:11px;font-weight:500}.activity p{font-size:10px;color:#899bb0;margin-top:4px}.activity small{font-size:9px;color:#667d98;display:block;margin-top:6px}.activity-foot{margin-top:auto;padding:18px 20px;color:#7d91a8;font-size:9px;display:flex;align-items:center;gap:8px}.tiny-dot{width:5px;height:5px}.empty{padding:42px 18px;color:var(--muted);font-size:12px;text-align:center}.empty strong{display:block;font-size:14px;color:#c9d5e3;margin-bottom:8px;font-weight:500}.next-step{display:flex;align-items:center;gap:19px;padding:24px;margin-top:23px;border:1px solid #2c4942;background:linear-gradient(110deg,#152822,#131d27);border-radius:9px}.next-icon{width:40px;height:40px;background:#264b3b;color:var(--accent);border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:23px;flex-shrink:0}.next-step h2{margin:5px 0 6px}.next-step p:not(.eyebrow){font-size:11px;color:#92a8ab;max-width:600px}.next-step button{margin-left:auto}.section-heading{margin-bottom:22px}.section-heading h2{font-size:19px}.section-heading p{margin-top:6px;font-size:12px}.row{display:flex;justify-content:space-between;align-items:center;gap:16px}.camera-list,.people-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.camera-card,.person-card{border:1px solid var(--line);background:var(--panel);padding:23px;border-radius:9px}.camera-card h3,.person-card h3{margin:10px 0;font-size:17px}.camera-card p,.person-card p{font-size:12px;color:var(--muted);margin-bottom:16px}.camera-card .chip{display:inline-block}.setup-note{padding:24px;margin-top:25px}.setup-note p{font-size:12px;margin:10px 0 18px;max-width:850px}.setup-note ol{padding-left:20px;color:var(--muted);font-size:12px;line-height:2}.table-wrap{border:1px solid var(--line);border-radius:9px;overflow-x:auto;margin:18px 0;background:var(--panel)}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;color:#8ea1b9;font-weight:500;background:#172332}td,th{padding:16px 20px;border-bottom:1px solid var(--line)}td{font-size:12px}td a{color:var(--accent);text-decoration:none}.health-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.health-card{border:1px solid var(--line);background:var(--panel);padding:22px;border-radius:9px}.health-card p{color:var(--muted);font-size:11px;margin-bottom:10px}.health-card strong{font-size:15px;font-weight:500}.health-card small{display:block;color:var(--muted);font-size:10px;margin-top:10px}.test-banner,.notice{padding:12px 16px;border:1px solid #6c5935;background:#31291b;border-radius:7px;color:#e3c387;font-size:11px;margin-bottom:20px}.notice{border-color:#355c52;background:#172e26;color:#b2e4d3}.notice.error{border-color:#7d444b;background:#321d24;color:#f2b7bb}footer{margin-top:35px;padding-top:19px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#5f748e;font-size:9px;letter-spacing:.6px}.login-shell{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(ellipse at 40% 30%,#1d3735,#0c111a 65%)}.login-card{width:100%;max-width:430px;padding:40px;background:#121d28;border:1px solid #304551;border-radius:15px;box-shadow:0 40px 80px #0004}.login-card .eyebrow{margin:27px 0 13px}.login-card h1{font-size:39px}.login-card .muted{font-size:12px;line-height:1.8;margin:18px 0 28px}.login-card .primary{width:100%;display:flex;justify-content:space-between;margin-top:16px}.login-card .fine{margin-top:26px;font-size:10px}.login-card [role=alert],#camera-error{color:#f1aab0;font-size:12px;margin-top:10px}dialog{border:1px solid #35505c;background:#15212e;color:var(--text);border-radius:13px;max-width:490px;width:calc(100% - 30px);padding:27px}dialog::backdrop{background:#030b13bb;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center}.dialog-heading h2,dialog h2{font-size:21px}dialog .muted{font-size:12px;margin:13px 0 20px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#event-search{max-width:520px;margin-bottom:20px}#all-events{max-height:650px}.person-card .danger{font-size:10px;padding:8px 12px}
@media(min-width:1600px){.camera-stage{max-height:460px}}@media(max-width:1180px){.sidebar{width:185px;padding:25px 15px}.workspace{margin-left:185px}main{padding:25px}.topbar{padding:0 25px}.overview-grid{grid-template-columns:minmax(0,1fr)}.activity-list{max-height:250px}.stats{gap:10px}.stats article{padding:16px 14px}.stats small{font-size:9px}.stat-icon{display:none}.next-step p:not(.eyebrow){max-width:450px}.camera-list,.people-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.app-shell{display:block}.sidebar{position:static;width:auto;padding:15px 16px;border-right:0;border-bottom:1px solid var(--line);display:block}.brand{font-size:14px}.brand-mark.small{width:32px;height:34px}.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow-x:auto;gap:4px;margin-top:18px}.nav-item{width:auto;white-space:nowrap;padding:8px 10px;font-size:11px;gap:7px;margin:0}.nav-item span{font-size:15px;width:auto}.logout{position:absolute;right:18px;top:18px;padding:6px}.workspace{margin:0}.topbar{height:56px;padding:0 17px}.crumb{display:none}.header-right{gap:10px}.chip{font-size:8px}.connection{font-size:9px}main{padding:23px 16px}.page-heading{align-items:flex-start;margin-bottom:21px}.page-heading h1{font-size:27px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.2px}.page-heading .muted{font-size:11px}.page-heading>.primary{font-size:10px;padding:9px 10px;margin-top:8px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stats strong{font-size:27px}.panel-heading{padding:17px}.camera-toolbar{padding:0 15px 12px}.camera-toolbar .quiet{font-size:10px;padding:6px}.camera-stage{margin:0 12px;aspect-ratio:4/3}.camera-actions{padding:13px;font-size:10px;flex-wrap:wrap}.panel-note{padding:0 13px 15px}.next-step{padding:18px;align-items:flex-start;gap:12px;flex-wrap:wrap}.next-step>div:nth-child(2){flex:1}.next-step button{margin-left:52px;font-size:10px}.next-icon{width:33px;height:33px}.next-step h2{font-size:15px}.camera-list,.people-list,.health-grid{grid-template-columns:1fr}.row{align-items:flex-start;flex-direction:column}.row .secondary{font-size:11px}footer{gap:15px;font-size:8px}.login-card{padding:28px}.activity-panel .panel-heading .quiet{font-size:10px}dialog{padding:22px}.camera-toolbar select{min-width:0;width:47%}.camera-stage h3{font-size:14px}.camera-stage p{font-size:10px}}

.camera-toolbar{flex-wrap:wrap;gap:10px}.camera-toolbar select{flex:1;min-width:150px}.camera-toolbar button{min-height:42px}.camera-stage img{width:100%;height:100%;object-fit:contain}

.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.settings-form{max-width:820px}.settings-form p{margin:16px 0}.photo-previews{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.photo-previews img{width:80px;height:90px;object-fit:contain;border:1px solid var(--line);border-radius:8px}#playback-dialog{width:min(900px,94vw)}#playback-video{width:100%;max-height:65vh;background:#000}.playback-tools{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:12px 0}.playback-tools button{min-width:76px}.ptz-panel{margin:12px 20px;color:var(--muted);font-size:12px}.ptz-panel p{margin:8px 0}.ptz-buttons{display:flex;gap:8px}.ptz-buttons button{padding:10px;background:var(--line);color:var(--text)}#face-overlay{position:absolute;inset:0;pointer-events:none}.face-box{position:absolute;border:2px solid var(--accent);color:#061b13;font-size:11px}.face-box span{position:absolute;left:-2px;top:-23px;white-space:nowrap;background:var(--accent);padding:2px 6px;border-radius:4px}.camera-card button{margin:6px 6px 0 0}.readiness-note{padding:12px 0;color:var(--muted)}@media(max-width:700px){.form-grid{grid-template-columns:1fr}.camera-toolbar{align-items:stretch}.camera-toolbar select{width:100%;flex-basis:100%}.camera-toolbar button{flex:1}}

.sidebar{overflow-y:auto}.alert-row{display:flex;align-items:center;gap:18px;padding:18px;border-bottom:1px solid var(--line)}.alert-row>div{flex:1}.alert-row p{color:var(--muted);font-size:12px}.alert-row small{color:var(--muted)}#alert-rule-form{margin-top:20px}#alert-count{margin-left:auto;font-size:11px}#alert-inbox{max-height:480px;overflow:auto}@media(max-width:700px){.alert-row{flex-wrap:wrap}.alert-row>div{min-width:180px}}

body{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.sidebar{padding-bottom:max(20px,env(safe-area-inset-bottom))}@media(display-mode:standalone){.topbar{user-select:none}}

/* BoEye light identity — preserve existing app functionality. */
:root{color-scheme:light;--bg:#f5f8ff;--panel:#ffffff;--line:#dce6f2;--muted:#617187;--text:#101c30;--accent:#0066ff;--aside:#ffffff}
body{background:var(--bg);color:var(--text)}
.sidebar,.topbar{background:#fff}.panel,.camera-card,.person-card,.health-card,.stats article,.table-wrap{background:#fff;border-color:#dce6f2}
.brand{font-weight:800;letter-spacing:-.6px;color:#111827}.brand b{color:#0066ff;font-weight:800}.brand-by{display:block;font-size:10px;font-weight:500;letter-spacing:.3px;color:#66758a}
.brand-mark{background:linear-gradient(135deg,#f4f9ff,#dceeff);color:#0066ff;border:1px solid #d4e4ff}
.nav-item{color:#4a5e76}.nav-item.active{background:#e8f2ff;color:#005ae4}.nav-item:hover{background:#f0f5fe;color:#11345e}
.primary{background:#0066ff;color:white}.secondary{background:#edf5ff;color:#0652ba;border-color:#cde0ff}
.login-shell{background:linear-gradient(145deg,#fff,#eaf5ff)}.login-card{background:#fff;border-color:#dce6f2;box-shadow:0 20px 70px #17345d1a}.login-card h1{color:#101c30}
.camera-stage{background:#0b1e34}.camera-stage h3{color:#dce9f9}.camera-stage p{color:#a8bdd1}
input,select{background:#fff;color:#13253b;border-color:#cbd8e8}dialog{background:#fff;color:#13253b;border-color:#dce6f2}

/* BoEye secure gateway entry — desktop and small-screen layouts. */
.login-shell{padding:32px;min-height:100dvh;display:grid;place-items:center;background:radial-gradient(circle at 10% 10%,#e6f3ff 0,transparent 42%),linear-gradient(130deg,#f7faff,#eaf2fd)}
.login-layout{width:min(1120px,100%);min-height:610px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);overflow:hidden;border:1px solid #dce6f2;border-radius:24px;background:#fff;box-shadow:0 30px 100px #17345d1b}
.login-showcase{background:linear-gradient(147deg,#f7fbff 10%,#eaf3ff 73%,#dbeaff);padding:50px 52px;display:flex;flex-direction:column;justify-content:space-between;gap:35px}
.login-identity{display:flex;align-items:center;gap:14px}.login-identity img{border-radius:18px;box-shadow:0 8px 22px #2755ae20}
.login-identity strong{display:block;font-size:27px;letter-spacing:-1.5px;color:#111827}.login-identity strong span,.login-mobile-brand span,.login-story h1 span{color:#0066ff}
.login-identity small,.login-mobile-brand small{display:block;color:#546983;font-size:12px;letter-spacing:.2px}
.login-story h1{font-size:clamp(40px,4.1vw,62px);line-height:1.09;letter-spacing:-2.4px;margin:16px 0 20px;color:#101c30}
.login-story>p:not(.eyebrow){color:#536a83;line-height:1.75;max-width:420px;font-size:14px}
.login-features{display:grid;gap:23px;margin-top:37px}.login-features>div{display:flex;align-items:center;gap:15px}
.login-features>div>span{flex:none;display:grid;place-items:center;width:43px;height:43px;border:1px solid #cfe2ff;border-radius:13px;background:#fff;color:#0066ff;font-size:22px}
.login-features strong,.login-features small{display:block}.login-features strong{font-size:14px;color:#102443}.login-features small{font-size:12px;color:#64788f;margin-top:3px}
.login-showcase-foot{color:#7c90a7;font-size:10px;letter-spacing:1px;font-weight:700}.login-showcase-foot span{padding:0 8px;color:#0066ff}
.login-layout .login-card{border:0;border-radius:0;box-shadow:none;width:100%;max-width:none;display:flex;flex-direction:column;justify-content:center;padding:54px 49px;background:#fff}
.login-access-mark{font-size:10px;font-weight:800;letter-spacing:1.7px;color:#0066ff}.login-layout .login-card h2{font-size:33px;line-height:1.2;letter-spacing:-1.2px;margin:14px 0 9px;color:#101c30}
.login-description{font-size:13px;color:#5b6c84;margin-bottom:25px}.login-layout .login-card label{font-size:12px;font-weight:650;color:#314258;margin:14px 0 8px}
.login-layout .login-card input{background:#f9fbff;border:1px solid #cbd8e8;color:#152b48;font-size:15px;min-height:50px;border-radius:10px}
.login-layout .login-card input:focus{outline:2px solid #98c4ff;outline-offset:1px}
.login-layout #login-form .primary{min-height:52px;margin:22px 0 0;display:flex;align-items:center;justify-content:space-between;font-size:14px;border-radius:10px;width:100%}
.login-download{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:49px;padding:12px 15px;text-decoration:none;font-weight:650;font-size:12px;border-radius:10px;border:1px solid #d4e2f3;color:#1857bc;background:#f6faff;margin-top:15px}
.login-download:hover{background:#e8f2ff}.login-trust{display:flex;gap:12px;align-items:flex-start;border-top:1px solid #e6edf7;padding-top:24px;margin-top:31px;color:#64748b}
.login-trust>span{color:#0066ff;font-size:23px;line-height:1}.login-trust p{font-size:11px;line-height:1.6}
.login-layout #login-error{min-height:0;color:#ae2336}.login-mobile-brand{display:none}
@media(max-width:850px){.login-shell{padding:18px}.login-layout{max-width:510px;grid-template-columns:1fr;min-height:auto}.login-showcase{padding:25px 29px;gap:12px}.login-identity img{width:45px;height:45px;border-radius:12px}.login-identity strong{font-size:24px}.login-story h1{font-size:32px;letter-spacing:-1.1px;margin:9px 0}.login-story>p:not(.eyebrow){font-size:12px;line-height:1.5}.login-features,.login-showcase-foot{display:none}.login-layout .login-card{padding:30px 29px 34px}.login-layout .login-card h2{font-size:27px}}
@media(max-width:390px){.login-shell{padding:9px}.login-showcase{padding:22px 19px}.login-layout .login-card{padding:25px 19px}.login-story h1{font-size:29px}}

/* BoEye dashboard light-mode contrast and connected-camera onboarding. */
.next-step{background:linear-gradient(110deg,#e8f3ff,#f8fbff);border:1px solid #bed9fa;color:#102946}
.next-step h2{color:#102946;font-size:17px;font-weight:700}
.next-step p:not(.eyebrow){color:#405b78;font-size:12px}
.next-step .eyebrow{color:#0057d2}
.next-icon{background:#d4e9ff;color:#005acf}
.next-step .secondary{background:#fff;color:#0755bf;border:1px solid #abcafb}
.stats article p,.stats article small,.health-card p,.health-card small,.panel-heading p,.camera-card p,.activity p,.activity small,.fine,.panel-note,.frame-label,.activity-foot,.camera-actions,.camera-card .chip{color:#50647e}
.frame-label{color:#dbe8f8}.activity-foot{color:#50647e}
.chip{color:#37536e;border-color:#cbd8e8}.connection{color:#087946}
footer{color:#526981}.quiet{color:#455d7b}.quiet:hover{color:#0b57c5}

/* BoEye interaction states */
button,.primary,.secondary,.quiet,.nav-item,.login-download{transition:background-color .17s ease,color .17s ease,border-color .17s ease,box-shadow .17s ease,transform .17s ease}
.primary:hover:not(:disabled){background:#1d4ed8;box-shadow:0 5px 16px #2563ff30;transform:translateY(-1px)}
.secondary:hover:not(:disabled){background:#dceaff;border-color:#8cb9ff;color:#0b4fb5}
.quiet:hover:not(:disabled){background:#eaf2ff;color:#123d82;border-radius:9px}
button:active:not(:disabled),.login-download:active{transform:translateY(1px);box-shadow:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #2563ff;outline-offset:3px;box-shadow:0 0 0 5px #2563ff24}
button:disabled{opacity:.50;cursor:not-allowed;box-shadow:none}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;line-height:1.55}
.panel-heading h2,.section-heading h2{font-weight:700;letter-spacing:-.35px}
.login-layout .login-card h2{font-weight:750}.page-heading h1{font-weight:700}
@media(prefers-reduced-motion:reduce){button,.primary,.secondary,.quiet,.nav-item,.login-download{transition:none!important;transform:none!important}}

#ptz-controls{padding:12px 18px;margin:8px 20px 12px;border:1px solid var(--line);border-radius:8px}#ptz-controls strong{font-size:12px;font-weight:500}#ptz-controls .ptz-buttons{display:flex;gap:8px;margin-top:9px}#ptz-controls button{border:1px solid #344155;border-radius:7px;background:#1d2c37;color:var(--text);min-width:42px;min-height:42px}#ptz-controls button:disabled{opacity:.45}
