@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--bg:#f7f8fa;--surface:#fff;--ink:#202723;--muted:#7c827f;--line:#e7eae7;--green:#235c46;--green-light:#e9f2ec;--lime:#dbefb0;--radius:8px;font-family:'DM Sans',sans-serif;font-size:14px;color:var(--ink);background:var(--bg);letter-spacing:0}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{opacity:.5;cursor:wait}button svg,a svg{flex-shrink:0}svg{width:18px;height:18px;stroke-width:1.65;vertical-align:middle}h1,h2,h3,p{margin:0}h1,h2,h3,.brand{font-family:'Manrope',sans-serif}h1{font-size:32px;line-height:1.3;font-weight:650}h2{font-size:18px;font-weight:650}h3{font-size:15px;font-weight:650}.muted{color:var(--muted);line-height:1.6}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.8px;color:var(--muted);display:block;margin-bottom:10px}[hidden]{display:none!important}.brand{display:flex;align-items:baseline;font-size:38px;font-weight:800;line-height:1}.brand-dot{display:inline-block;width:7px;height:7px;background:#83a784;border-radius:50%;margin-left:3px}.brand-label{font:10px 'DM Sans',sans-serif;letter-spacing:2px;margin-left:20px;color:var(--muted)}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:var(--surface);border-right:1px solid var(--line);padding:37px 20px 0;display:flex;flex-direction:column;z-index:10}.sidebar>.brand{padding-left:15px;margin-bottom:49px}.workspace-label{font-size:9px;letter-spacing:1.5px;color:#999f9b;padding-left:15px}.workspace{display:flex;align-items:center;gap:11px;padding:18px 10px 27px;font-size:12px;font-weight:600}.workspace small,.profile small,.retention-note small{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:5px}.workspace>svg{width:14px;margin-left:auto;color:var(--muted)}.workspace-icon{background:#f0f3ee;border:1px solid #e5e9e1;width:34px;height:34px;border-radius:7px;display:grid;place-items:center;color:#607454}nav{display:grid;gap:7px}.nav-item{display:flex;align-items:center;gap:13px;border:0;background:transparent;text-align:left;padding:13px 15px;border-radius:6px;color:#7a807b;font-size:12px}.nav-item.active{background:var(--green-light);color:var(--green);font-weight:600}.nav-item>span{margin-left:auto;background:#d5e5d9;border-radius:4px;font-size:10px;padding:2px 6px}.sidebar-bottom{margin-top:auto}.retention-note{display:flex;align-items:center;gap:10px;padding:20px 5px 26px;font-size:11px;color:#56645b}.retention-note svg{color:#77917e;width:20px}.retention-note small{font-size:9px}.profile{border-top:1px solid var(--line);padding:23px 0;display:flex;gap:9px;align-items:center;font-size:11px}.profile>div{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis}.profile small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.avatar{display:grid;place-items:center;background:#edeee7;border:1px solid #dfe2d8;border-radius:50%;width:32px;height:32px;font-size:12px}.app-shell{margin-left:238px}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 42px;background:#fff9}.breadcrumb{display:flex;align-items:center;gap:14px;font-size:11px;color:#969b97}.breadcrumb svg{width:12px}.breadcrumb span{color:#4a534c}.topbar-right{display:flex;gap:25px;align-items:center;font-size:10px;color:var(--muted)}.connection{display:flex;align-items:center;gap:7px}.status-dot,.live-dot{height:6px;width:6px;border-radius:50%;display:inline-block;background:#9ba49c}.status-dot.connected,.live-dot{background:#508360;box-shadow:0 0 0 3px #50836010}.main-content{max-width:1500px;margin:auto;padding:38px 42px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.page-heading .muted{font-size:12px;margin-top:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:39px;padding:10px 15px;border:1px solid transparent;border-radius:5px;font-size:11px;font-weight:550;white-space:normal;line-height:1.4}.button.primary{background:var(--green);color:#fff;box-shadow:0 2px 3px #16382410}.button.primary:hover{background:#194735}.button.secondary{background:#fff;border-color:#dfe4df;color:#45534a}.button.secondary:hover{background:#f0f4f0}.button.danger{color:#a24b43;background:#f9efec}.button svg{width:15px;height:15px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:23px 0;margin-bottom:36px}.stat{padding:0 23px;border-right:1px solid var(--line);min-width:0}.stat:last-child{border:0}.stat-label{display:flex;align-items:center;gap:8px;color:#7f8781;font-size:10px}.stat-label svg{width:15px;height:15px}.stat-value{display:flex;align-items:center;gap:12px;font-family:'Manrope',sans-serif;font-size:25px;font-weight:600;margin:14px 0 9px;min-height:35px;flex-wrap:wrap}.stat-badge{font-family:'DM Sans',sans-serif;font-size:9px;font-weight:500;color:#547d5e;background:#edf5ee;border:1px solid #e1ece3;border-radius:4px;padding:3px 7px;white-space:nowrap}.stat-unit{font-size:13px;font-weight:450;color:#8a918b}.stat-description{font-size:9px;color:#939992}.recording-indicator{width:7px;height:7px;background:#c3c9c3;border-radius:50%}.recording-indicator.on{background:#6a9668;box-shadow:0 0 0 4px #6a966812}.section-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:0 0 20px;min-height:34px}.section-title{display:flex;align-items:center;gap:10px}.section-title h2{font-size:16px}.count-pill{font-size:10px;color:#7c847e;border:1px solid var(--line);padding:2px 7px;border-radius:4px;background:#fff}.camera-controls{display:flex;align-items:center;gap:8px}.segmented{display:flex;background:#eef0ed;border:1px solid #e6e9e5;border-radius:5px;padding:3px;gap:3px}.segmented button{border:0;background:transparent;padding:5px 13px;font-size:10px;border-radius:3px;color:#8a918a}.segmented .selected{color:#3f5445;background:#fff;box-shadow:0 1px 3px #0000000b}.toolbar-divider{height:18px;width:1px;background:var(--line);margin:0 5px}.icon-button{border:0;background:transparent;color:#90988f;width:29px;height:29px;display:inline-grid;place-items:center;border-radius:4px;flex-shrink:0;padding:4px}.icon-button:hover,.icon-button.selected{background:#e9ede7;color:#4a624f}.icon-button svg{width:16px;height:16px}.empty-state{position:relative;min-height:328px;border:1px dashed #d9dfd6;border-radius:7px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:radial-gradient(ellipse at 50% 30%,#fff 0,#fafcf8 38%,#f7f9f5 100%);padding:30px 20px;overflow:hidden}.empty-illustration{width:70px;height:65px;display:grid;place-items:center;margin-bottom:14px;position:relative}.empty-illustration>svg{width:34px;height:34px;stroke:#6d836b;stroke-width:1.2;z-index:1}.empty-ring{position:absolute;width:70px;height:70px;border:1px solid #e4eadd;border-radius:50%;box-shadow:0 0 0 13px #eef2e94d,0 0 0 27px #eef2e929}.empty-state h2{font-size:19px;font-weight:600;margin:8px 0}.empty-state p{font-size:11px;color:#929a8f;margin:0 0 22px}.empty-state .button{font-size:10px;min-height:36px}.empty-footnote{display:flex;align-items:center;gap:6px;font-size:9px;color:#969e92;margin-top:16px}.empty-footnote svg{width:11px;height:11px}.section-footer{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#9ba297;margin-top:16px}.section-footer>span:first-child{font-size:8px;letter-spacing:1.5px;display:flex;align-items:center;gap:7px}.section-footer svg{width:12px;height:12px;margin-left:5px}.onboarding-band{display:flex;align-items:center;gap:20px;margin-top:36px;padding:26px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.band-icon{width:50px;height:50px;background:#edf0e8;border:1px solid #e1e6da;border-radius:7px;display:grid;place-items:center;color:#718568}.band-icon svg{width:24px;height:24px}.onboarding-band .eyebrow{font-size:8px;letter-spacing:1.3px;margin-bottom:7px}.onboarding-band h3{font-size:15px}.onboarding-band p{color:#959d91;font-size:10px;margin-top:6px}.onboarding-band>a{margin-left:auto;font-size:10px}.page-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:24px 0;color:#a7ada5;font-size:9px}.page-footer>span:first-child{font-family:'Manrope',sans-serif;font-size:20px;font-weight:750;color:#8a9486}.page-footer .brand-dot{width:4px;height:4px}.camera-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.camera-grid.list{grid-template-columns:1fr}.camera-card{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:7px}.camera-preview{position:relative;aspect-ratio:16/9;background:#1f2522;overflow:hidden;cursor:pointer}.camera-preview video{width:100%;height:100%;object-fit:contain}.camera-overlay{position:absolute;top:12px;left:12px;background:#15241cbd;color:#fff;display:flex;align-items:center;gap:7px;padding:5px 8px;font-size:9px;border-radius:3px;pointer-events:none}.camera-offline{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#9caaa0;gap:12px;font-size:12px}.camera-offline svg{width:30px;height:30px}.camera-meta{display:flex;justify-content:space-between;align-items:center;padding:14px 16px}.camera-meta h3{font-size:12px}.camera-meta small{display:block;color:var(--muted);font-size:9px;margin-top:5px}.camera-actions{display:flex;gap:8px}.select-label{font-size:11px;color:var(--muted);display:flex;gap:10px;align-items:center}select{padding:8px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink);max-width:210px}.clip-row{display:flex;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.clip-row>svg{color:#759078}.clip-row small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.clip-row .clip-actions{margin-left:auto;display:flex;gap:8px}.compact{min-height:250px}.compact>svg{width:32px;height:32px;color:#7f907b;margin-bottom:16px}#more-recordings{margin-top:18px}.device-row,.settings-row{display:flex;gap:18px;align-items:center;padding:28px 0;border-bottom:1px solid var(--line)}.device-row .button,.settings-row>button:first-of-type{margin-left:auto}.device-row .muted,.settings-row .muted{font-size:11px;margin-top:7px}.device-icon{background:#e9eee4;border-radius:7px;padding:16px;color:#66805e}.device-icon svg{width:28px;height:28px}.retention-value{margin-left:auto;font-size:12px;color:var(--muted);white-space:nowrap}.retention-value svg{width:13px;margin-left:10px}dialog{border:1px solid #e0e5dc;border-radius:8px;padding:28px;width:min(500px,calc(100% - 24px));box-shadow:0 24px 100px #102b2033;color:var(--ink)}dialog::backdrop{background:#1b2c2277;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:15px}.dialog-heading h2{font-size:23px}.setup-steps{list-style:none;padding:0;margin:0;display:grid;gap:26px}.setup-steps li{display:flex;gap:16px}.setup-steps li>span{color:#8b9c80;font-size:11px;padding-top:4px}.setup-steps li>div{flex:1;min-width:0}.setup-steps h3{font-size:13px;margin-bottom:11px}.setup-steps small{display:block;font-size:10px;margin-top:9px}.copy-field{display:flex;align-items:center;background:#f4f6f1;border:1px solid var(--line);border-radius:4px;padding:3px 6px;min-width:0}.copy-field input{width:100%;min-width:0;background:none;border:0;padding:8px 4px;font-size:11px;color:#55634e}.dialog-bottom{display:flex;align-items:center;gap:8px;font-size:10px;color:#8a9682;border-top:1px solid var(--line);margin-top:26px;padding-top:18px}.dialog-bottom svg{width:14px}#player-dialog{width:min(1000px,calc(100% - 24px))}#main-player{width:100%;aspect-ratio:16/9;background:#151c17;border-radius:4px}#player-status{font-size:11px;margin-top:12px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 30px);padding:13px 20px;background:#233c2d;color:#fff;border-radius:6px;z-index:100;font-size:12px;box-shadow:0 4px 30px #0002}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-brand{padding:40px;display:flex;flex-direction:column;background:#f0f3ee}.auth-visual{position:relative;flex:1;min-height:400px;margin-top:35px;overflow:hidden;border-radius:5px}.auth-visual img{height:100%;width:100%;object-fit:cover;position:absolute;inset:0}.visual-caption{position:absolute;bottom:0;left:0;right:0;background:#13271baa;padding:20px;display:flex;align-items:center;gap:10px;color:#fff;font-size:9px;letter-spacing:1.2px}.visual-caption>span:last-child{margin-left:auto}.auth-footer{font-family:'Manrope',sans-serif;font-size:22px;padding-top:25px;color:#576b51}.auth-form-wrap{display:grid;place-items:center;padding:50px 35px}.auth-form{width:100%;max-width:350px}.auth-form h1{font-size:28px}.auth-form>.muted{font-size:12px;margin:12px 0 30px}.auth-form label{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:550;margin:18px 0 8px}.auth-form label small{color:var(--muted);font-size:10px;font-weight:400}.auth-form input:not([type=hidden]){width:100%;padding:12px;border:1px solid #dfe5dc;border-radius:4px;background:#fcfdfa;font-size:14px}.auth-form input:focus{border-color:#5d815c;outline:2px solid #dfe9dc;outline-offset:1px}.auth-submit{width:100%;margin-top:25px;justify-content:space-between}.auth-switch{text-align:center;font-size:12px;color:var(--muted);margin:24px 0}.auth-switch a{color:var(--green);font-weight:600;margin-left:4px}.auth-privacy{border-top:1px solid var(--line);padding-top:24px;display:flex;align-items:center;justify-content:center;gap:8px;color:#8c9986;font-size:10px}.form-error{background:#fcf0ec;border:1px solid #efdbd3;padding:12px;color:#9f4b35;font-size:12px;border-radius:4px;margin-bottom:15px}
@media(min-width:1600px){.main-content{padding-top:50px}.empty-state{min-height:390px}}
@media(max-width:1100px){.sidebar{width:205px;padding-left:14px;padding-right:14px}.app-shell{margin-left:205px}.topbar{padding:0 25px}.main-content{padding:30px 25px 0}.stat{padding:0 15px}.stat-value{font-size:21px;gap:7px}.stats{padding:20px 0}.stat-label{font-size:9px}.stat-description{font-size:8px}.topbar-right{gap:15px}.page-heading h1{font-size:28px}.stat-badge{font-size:8px}}
@media(max-width:800px){.sidebar{width:74px;padding:25px 10px 0}.sidebar>.brand{font-size:20px;padding:0;margin-bottom:30px}.sidebar .brand-dot{width:4px;height:4px}.workspace-label,.workspace,.retention-note,.profile,.nav-item>span{display:none}.nav-item{font-size:0;justify-content:center;padding:14px 8px;gap:0}.nav-item svg{width:20px;height:20px}.app-shell{margin-left:74px}.topbar{height:60px;padding:0 20px}.main-content{padding:25px 20px 0}.topbar-right>#clock{display:none}.stats{grid-template-columns:repeat(2,minmax(0,1fr));padding:0;margin-bottom:25px}.stat{padding:18px;border-bottom:1px solid var(--line)}.stat:nth-child(2){border-right:0}.stat:nth-child(n+3){border-bottom:0}.stat-label{font-size:10px}.stat-description{font-size:9px}.stat-value{font-size:23px;margin:10px 0 7px}.page-heading{align-items:flex-start}.page-heading h1{font-size:26px}.page-heading .button{font-size:0;padding:10px;width:38px;height:38px}.page-heading .button svg{width:18px;height:18px}.page-heading .muted{max-width:230px}.camera-grid{grid-template-columns:1fr}.onboarding-band{gap:13px}.onboarding-band .eyebrow{max-width:200px;line-height:1.8}.onboarding-band h3{font-size:13px}.onboarding-band .band-icon{display:none}.onboarding-band>a{font-size:9px;padding:8px}.page-footer>span:last-child{display:none}.settings-row{flex-wrap:wrap}.settings-row>div{width:100%}.settings-row>button:first-of-type{margin-left:0}.device-row{flex-wrap:wrap}.device-row>.button{margin-left:0}.auth-brand{padding:25px}.auth-brand .brand-label{display:none}.auth-form-wrap{padding:40px 25px}.auth-form h1{font-size:25px}}
@media(max-width:500px){.app-shell{margin-left:0}.sidebar{width:auto;inset:auto 0 0;height:63px;border-right:0;border-top:1px solid var(--line);padding:0 12px;background:#fff}.sidebar>.brand{display:none}.sidebar nav{display:flex;justify-content:space-around}.nav-item{font-size:9px;flex-direction:column;gap:4px;padding:8px 14px;min-width:80px;border-radius:0}.sidebar-bottom{display:none}.main-content{padding:25px 16px 70px}.topbar{padding:0 16px}.page-heading h1{font-size:25px}.eyebrow{font-size:8px}.stat{padding:17px 14px}.stat-label{font-size:9px;gap:5px}.stat-value{font-size:22px;gap:8px}.stat-description{font-size:8px}.stat-badge{font-size:8px;padding:3px 5px}.camera-controls{gap:4px}.toolbar-divider{margin:0 2px}.section-footer>span:last-child{font-size:0}.section-footer>span:last-child svg{width:13px;height:13px}.empty-state{min-height:315px}.empty-state h2{font-size:17px}.onboarding-band{margin-top:25px}.onboarding-band .eyebrow{font-size:7px;max-width:160px}.onboarding-band h3{font-size:12px}.onboarding-band .button{max-width:130px}.page-footer{font-size:8px}.section-toolbar h2{font-size:16px}.select-label{font-size:10px;gap:5px}select{max-width:170px;font-size:11px}.clip-row{gap:9px;font-size:11px}.auth-layout{grid-template-columns:1fr}.auth-brand{padding:25px 25px 0;background:#fff}.auth-visual,.auth-footer{display:none}.auth-form-wrap{padding:35px 25px 50px;align-items:start}.auth-form{max-width:380px}.auth-form h1{font-size:27px}.toast{bottom:80px}dialog{padding:22px}.dialog-heading h2{font-size:21px}}
@media(prefers-reduced-motion:no-preference){.page-heading,.stats,#live-view{animation:appear .45s ease both}.stats{animation-delay:.07s}#live-view{animation-delay:.13s}@keyframes appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}}