:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#0b1219;color:#ecf2f8}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;min-height:44px;border:1px solid #334558;border-radius:9px;background:#1b2c3d;color:#ecf2f8;padding:9px 15px}button:hover{background:#294155}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #72d5c8;outline-offset:3px}button:disabled{cursor:wait;opacity:.6}.topbar{padding:22px 32px;border-bottom:1px solid #233343;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#101c27}h1,h2,p{margin:0}h1{font-size:28px;letter-spacing:-.7px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:750;color:#91b5be;margin-bottom:7px}.account{display:flex;align-items:center;gap:16px;font-size:14px}.quiet{background:transparent}.dashboard{max-width:1800px;padding:24px 32px;margin:auto}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.store-tabs{display:flex;gap:6px;padding:5px;background:#132230;border:1px solid #263949;border-radius:12px}.store-tabs button{border:0;background:transparent;font-size:14px;font-weight:650}.store-tabs button[aria-pressed=true]{background:#176a65;color:#fff}.rate{color:#b8cbd5;font-size:13px;white-space:nowrap}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#69d7ae;margin-right:5px}.store-section{margin-bottom:28px}.store-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px}.store-heading h2{font-size:21px}.store-heading span{font-size:12px;color:#91a7bb}.camera-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.camera-card{border:1px solid #2b4052;border-radius:12px;background:#142230;overflow:hidden;min-width:0}.video-wrap{position:relative;aspect-ratio:16/9;background:#000;display:flex;align-items:center;justify-content:center}.camera-card video{display:block;width:100%;height:100%;object-fit:contain}.camera-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px}.camera-title{font-size:14px;font-weight:700}.camera-state{font-size:11px;color:#8ca4b8;display:block;margin-top:4px}.camera-state.live{color:#8ed9b6}.camera-state.error{color:#ffd39b}.camera-footer button{min-height:38px;font-size:12px;padding:7px 11px}.footnote{font-size:12px;color:#8095a8;line-height:1.6}.dashboard>.footnote{margin:8px 0 20px}#page-message{margin-bottom:16px;color:#f3cc98}#page-message:empty{display:none}dialog{border:1px solid #486075;border-radius:14px;background:#101c27;color:#ecf2f8;padding:16px;width:min(1200px,96vw);max-height:95dvh}dialog::backdrop{background:rgba(0,0,0,.85)}.expanded-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.expanded-header h2{font-size:18px}#expanded-video{background:#000;display:flex;align-items:center;justify-content:center}#expanded-video video{width:100%;max-height:76dvh;display:block}.login-page{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 0,#17333c,#0b1219 65%)}.login-panel{width:min(100%,420px);padding:36px;border:1px solid #314857;border-radius:20px;background:#12212c;box-shadow:0 24px 80px #0006}.brand-mark{width:44px;height:44px;background:#176a65;color:#c8fff1;border-radius:12px;display:grid;place-items:center;font-size:25px;margin-bottom:26px}.login-panel h1{font-size:32px}.subtitle{color:#a2b8c6;margin:8px 0 28px}.login-panel label{display:block;font-size:14px;margin:18px 0 8px}.login-panel input{width:100%;min-height:48px;border:1px solid #3b5364;border-radius:9px;background:#0d1923;padding:12px;color:#fff;font-size:16px}.primary{background:#16736b;border-color:#298f83;font-weight:700;width:100%;margin-top:24px}.primary:hover{background:#21867c}#login-message{min-height:24px;font-size:14px;line-height:1.5;color:#ffc5b4;margin-top:14px}.login-panel .footnote{margin-top:20px}section[hidden]{display:none}@media(max-width:1150px){.camera-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.topbar{padding:18px 16px}.topbar h1{font-size:23px}.account{gap:8px}.account span{display:none}.dashboard{padding:18px 14px}.toolbar{gap:8px;flex-wrap:wrap;margin-bottom:22px}.store-tabs{flex:1}.store-tabs button{flex:1;padding:9px 12px}.rate{font-size:12px}.camera-grid{grid-template-columns:1fr;gap:12px}.camera-footer{padding:11px 12px}.camera-footer button{min-height:44px}.login-panel{padding:28px}.expanded-header h2{font-size:15px}dialog{padding:10px}}@media(max-width:900px) and (orientation:landscape){.camera-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
