:root{--accent:#d93844;--accent-soft:#fcebee;--bg:#f3f5f6;--surface:#fff;--ink:#18222c;--muted:#7a8692;--line:#e7ebee;--green:#18866c;--green-soft:#e7f5ef;--amber:#af791f;--sidebar:#131b23;--radius:14px;--shadow:0 6px 24px #18222c05}*{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #6799d4;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid var(--accent);outline-offset:1px}.skip-link{position:absolute;left:20px;top:-100px;z-index:100;background:#fff;padding:12px}.skip-link:focus{top:10px}.icon{width:20px;height:20px;display:inline-block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:var(--sidebar);color:#adb6c0;display:flex;flex-direction:column;z-index:30}.side-brand{display:flex;align-items:center;gap:11px;padding:30px 24px 25px;text-decoration:none;color:#fff}.brand-logo{width:39px;height:39px;object-fit:contain;background:#fff;border-radius:50%;flex:none}.side-brand strong{font-size:24px;letter-spacing:.23em;line-height:1.2}.side-brand small{display:block;font-size:8px;letter-spacing:.14em;margin-top:3px;color:#86929e}.workspace-label{padding:13px 24px 9px;font-size:9px;letter-spacing:.15em;font-weight:700;color:#667582}.navigation{display:grid;gap:5px;padding:0 13px}.nav-item{border:0;background:transparent;display:flex;align-items:center;gap:12px;text-align:left;padding:12px;color:#aab6c2;border-radius:8px;font-size:12px}.nav-item:hover{background:#ffffff08;color:#fff}.nav-item.active{background:#ffffff0d;color:#fff;position:relative}.nav-item.active:before{content:"";position:absolute;left:-13px;top:11px;bottom:11px;width:3px;background:var(--accent)}.nav-item.active .icon{color:#ed5b64}.nav-item .nav-count{margin-left:auto;font-size:10px;color:#8796a3;background:#ffffff0b;border-radius:4px;padding:1px 6px}.side-bottom{margin-top:auto;padding:24px 18px}.domain-card{border:1px solid #33404b;padding:14px;border-radius:10px;font-size:11px}.domain-card .domain-live{color:#dce5ec;display:block;margin:5px 0 10px;overflow-wrap:anywhere}.domain-card .dot{margin-right:5px}.domain-card button{border:0;background:none;color:#93a1ae;padding:0;font-size:10px;text-decoration:underline}.side-version{margin-top:18px;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#697784}.shell{margin-left:236px;min-height:100vh}.topbar{height:78px;display:flex;align-items:center;gap:20px;padding:0 35px;background:#fff;border-bottom:1px solid var(--line)}.mobile-menu{display:none}.breadcrumb{display:flex;align-items:center;gap:12px;font-size:11px;white-space:nowrap;color:#8c98a3}.breadcrumb strong{color:#273744;font-weight:600}.topbar-right{margin-left:auto;display:flex;align-items:center;gap:17px}.demo-badge{font-size:9px;font-weight:700;letter-spacing:.08em;display:inline-flex;align-items:center;gap:6px;border:1px solid #e9c8cb;color:#a94850;background:#fff7f7;padding:5px 8px;border-radius:4px;white-space:nowrap}.top-search{position:relative;display:flex;align-items:center;gap:8px;color:#7b8792}.top-search input{border:0;padding:8px 0;background:transparent;width:170px;font-size:11px;outline:none}.top-search .icon{width:16px}.avatar{background:#f0f3f6;border:1px solid #e2e7ec;border-radius:50%;width:33px;height:33px;display:grid;place-items:center;font-size:10px;font-weight:700;color:#596a77}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:1px solid var(--line);width:34px;height:34px;border-radius:8px;color:#74818c;padding:0}.icon-button:hover{background:#f3f5f6}.top-avatar{display:flex;align-items:center;gap:9px}.top-avatar span{font-size:10px;font-weight:600}.top-avatar small{display:block;font-size:9px;font-weight:400;color:#98a1a9}main{padding:32px 35px 24px;max-width:1760px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin:3px 0 26px}.eyebrow{font-size:9px;letter-spacing:.13em;font-weight:700;text-transform:uppercase;color:#8b97a0;display:flex;align-items:center;gap:8px;margin:0 0 9px}.eyebrow .line{display:inline-block;width:19px;height:2px;background:var(--accent)}h1{font-size:28px;letter-spacing:-1.1px;line-height:1.2;margin:0;font-weight:650}h1 .accent{color:var(--accent)}.subheading{font-size:11px;color:#87939e;margin:9px 0 0}.heading-actions{display:flex;gap:9px;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 14px;border:1px solid #dde4e8;border-radius:7px;background:#fff;color:#3d4d59;font-weight:600;font-size:11px;white-space:nowrap;text-decoration:none;min-height:37px}.btn .icon{width:15px;height:15px}.btn:hover{background:#f7f9fa}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.primary:hover{filter:brightness(.93)}.btn.dark{background:#192630;border-color:#192630;color:white}.btn.green{color:#fff;background:var(--green);border-color:var(--green)}.btn.danger{color:var(--accent)}.btn.ghost{border-color:transparent;background:transparent;padding:7px 0}.btn.small{min-height:30px;padding:7px 10px;font-size:10px}.object-picker{position:relative;display:flex;align-items:center;gap:8px;border:1px solid #dfe5e8;border-radius:7px;background:white;padding:8px 10px;color:#71808d}.object-picker .icon{width:16px}.object-picker select{border:0;background:transparent;font-size:11px;font-weight:600;color:#435460;max-width:165px;outline:none;padding-right:5px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:23px}.metric{border:1px solid var(--line);border-radius:11px;background:#fff;display:flex;padding:18px 19px;gap:12px;align-items:center;box-shadow:var(--shadow)}.metric .metric-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:10px;background:#f2f5f7;color:#617888}.metric .metric-icon.green{background:#edf7f2;color:var(--green)}.metric .metric-icon.red{background:var(--accent-soft);color:var(--accent)}.metric-copy{flex:1}.metric-label{font-size:10px;color:#8c98a1;display:block}.metric strong{font-size:24px;font-weight:650;line-height:1.1;letter-spacing:-.8px;display:inline-block;margin-top:6px}.metric-foot{margin-left:5px;color:#a5adb4;font-size:9px}.metric-trend{font-size:9px;color:var(--green);white-space:nowrap;align-self:flex-end;margin-bottom:2px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(270px,1fr);gap:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:19px 21px;border-bottom:1px solid #f0f3f5}.panel-head h2{font-size:13px;letter-spacing:-.2px;margin:0;font-weight:650}.panel-head p{font-size:10px;margin:4px 0 0;color:#95a1aa}.panel-head .minor{font-size:9px;color:#9ba5ad}.panel-body{padding:20px}.small-tag{font-size:8px;font-weight:700;letter-spacing:.07em;border:1px solid #e7ecef;border-radius:4px;padding:3px 6px;color:#8c99a3;display:inline-flex;align-items:center;gap:4px}.small-tag.green{color:var(--green);background:#edf8f2;border-color:#daefe3}.small-tag.red{color:var(--accent);background:var(--accent-soft);border-color:#f5d7dc}.small-tag.amber{color:#a27829;background:#fff8e9;border-color:#f1e4c1}.small-tag.dark{background:#26343f;color:#d6e1e8;border-color:#3d505f}.dot{width:5px;height:5px;background:var(--green);border-radius:50%;display:inline-block;flex:none}.dot.red{background:var(--accent)}.dot.amber{background:#c59940}.floorplan-wrap{padding:19px 20px 9px;background:radial-gradient(#e7edf0 .8px,transparent .8px);background-size:15px 15px;position:relative;min-height:280px}.floorplan{width:100%;height:auto;display:block;min-height:260px}.floorplan text{font-family:inherit}.floorplan .room{fill:#f8fafb;stroke:#c6d1d9;stroke-width:2}.floorplan .room-warm{fill:#faf7f3;stroke:#d8d2cb;stroke-width:2}.floorplan .wall{fill:none;stroke:#536878;stroke-width:4;stroke-linecap:round}.floorplan .shelf{fill:#e5e9e9;stroke:#d3dbdd;stroke-width:1}.floorplan .node{cursor:pointer}.floorplan .node .node-circle{fill:#fff;stroke:#e2e8ed;stroke-width:1.5;filter:drop-shadow(0 3px 4px #20334416)}.floorplan .node:hover .node-circle{stroke:var(--accent);stroke-width:2}.floorplan .node-label{fill:#637c8b;font-size:9px}.floorplan .zone-label{fill:#9ba9b1;letter-spacing:1.5px;font-size:8px}.floorplan .node.live .node-circle{stroke:#70bba2}.floorplan .node.alarm .node-circle{stroke:var(--accent);fill:#fff0f1}.map-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 20px 16px;font-size:9px;color:#8c99a2}.legend{display:flex;gap:13px}.legend span{display:inline-flex;align-items:center;gap:4px}.legend .dot{width:4px;height:4px}.stack{display:grid;gap:20px;align-content:start}.object-photo{height:95px;position:relative;overflow:hidden;background:#263c47;border-radius:12px 12px 0 0}.object-photo img{width:100%;height:100%;object-fit:cover;object-position:65% 55%;opacity:.75}.object-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#12232dcc,transparent)}.object-photo-text{position:absolute;inset:17px auto auto 18px;z-index:1;color:#fff}.object-photo-text small{font-size:8px;letter-spacing:1px;color:#c9d3da}.object-photo-text strong{display:block;font-size:15px;margin-top:5px;font-weight:550}.object-summary{padding:15px 19px;display:flex;justify-content:space-between;align-items:center}.object-summary p{margin:0;font-size:10px;color:#85939d}.object-summary p span{display:block;font-size:9px;color:#a1abb2;margin-top:3px}.rule-line{display:flex;align-items:center;gap:9px;font-size:10px;color:#5d7180}.rule-line .mini-node{height:29px;width:29px;border:1px solid #e5eaed;border-radius:7px;display:grid;place-items:center;background:#f8fafb;color:#6d8594}.rule-line .mini-node .icon{width:15px}.rule-line .rule-arrow{color:#aab5be}.rule-card p{font-size:10px;color:#8799a6;line-height:1.65;margin:14px 0}.rule-card h3{font-size:12px;margin:0}.switch{border:0;width:30px;height:17px;background:#ccd5db;border-radius:20px;padding:2px;display:inline-flex;align-items:center;flex:none}.switch:before{content:"";width:13px;height:13px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .2s}.switch.on{background:var(--green)}.switch.on:before{transform:translateX(13px)}.switch.large{width:36px;height:20px}.switch.large:before{width:16px;height:16px}.switch.large.on:before{transform:translateX(16px)}.bottom-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(270px,1fr);gap:20px;margin-top:20px}.events-table{width:100%;border-collapse:collapse;font-size:10px}.events-table th{text-align:left;font-size:8px;letter-spacing:.07em;font-weight:600;color:#9ba7b0;background:#fbfcfc;padding:11px 20px;border-bottom:1px solid #edf1f3;white-space:nowrap}.events-table td{padding:12px 20px;border-bottom:1px solid #f0f3f5;vertical-align:middle;color:#647987}.events-table tr:last-child td{border-bottom:0}.events-table td strong{font-weight:550;color:#425765}.events-table td .event-main{display:flex;align-items:center;gap:9px}.event-icon{display:grid;place-items:center;width:26px;height:26px;background:#f1f5f7;border-radius:7px;color:#8297a5;flex:none}.event-icon .icon{width:13px;height:13px}.events-table td:first-child{white-space:nowrap}.camera-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:15px}.camera-frame{position:relative;overflow:hidden;min-height:110px;border-radius:7px;background:#17242d;isolation:isolate}.camera-frame img{position:absolute;width:100%;height:100%;object-fit:cover;filter:saturate(.45) brightness(.7)}.camera-frame:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#0c1926b3,transparent 70%);z-index:0}.camera-frame .camera-top{position:absolute;top:8px;left:8px;right:8px;display:flex;justify-content:space-between;align-items:center;font-size:7px;color:white;z-index:1}.camera-frame .camera-top span{display:flex;align-items:center;gap:4px}.camera-frame .camera-bottom{position:absolute;bottom:8px;left:9px;right:9px;color:#fff;z-index:1;font-size:9px;display:flex;justify-content:space-between;align-items:end}.camera-bottom small{font-size:7px;color:#a8b8c5;display:block;margin-top:3px}.camera-frame button{position:absolute;inset:0;border:0;background:none;z-index:2}.camera-frame button:hover{background:#ffffff08}.camera-frame .crosshair{position:absolute;inset:33% 29%;border:1px solid #98d4be69;z-index:1}.camera-demo-note{font-size:8px;color:#98a5af;padding:0 15px 15px;margin:0}.powered-footer{display:flex;justify-content:space-between;align-items:center;color:#a4afb6;font-size:9px;margin:28px 0 0}.powered-footer strong{color:#7e8e99;font-size:9px;letter-spacing:.1em}.search-results{position:fixed;top:65px;right:140px;width:330px;background:#fff;border:1px solid #dde5eb;border-radius:10px;box-shadow:0 15px 60px #18222c23;padding:8px;z-index:50}.search-results button{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;padding:12px;text-align:left;color:#425461;font-size:11px;border-radius:6px}.search-results button:hover{background:#f3f6f8}.search-results small{display:block;font-size:9px;color:#99a5ae}.search-results p{font-size:11px;padding:10px}.table-wrap{overflow:auto}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:20px 0}.filters{display:flex;gap:6px;flex-wrap:wrap}.filter-chip{background:transparent;border:1px solid #dde5ea;border-radius:6px;font-size:10px;padding:7px 11px;color:#7b8d9a}.filter-chip.active{background:#fff;border-color:#bdcbd4;color:#263b49;box-shadow:0 1px 3px #00000008}.device-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.device-card{padding:20px;background:white;border:1px solid var(--line);border-radius:12px;position:relative}.device-card .device-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.device-glyph{height:45px;width:45px;border-radius:12px;background:#f1f5f7;color:#657d8d;display:grid;place-items:center}.device-glyph .icon{width:24px;height:24px}.device-glyph.red{background:var(--accent-soft);color:var(--accent)}.device-card h3{font-size:13px;margin:0 0 3px}.device-card .device-zone{font-size:10px;color:#92a0ab}.device-card .device-specs{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:20px 0;padding-top:15px;border-top:1px solid #eff2f4}.device-specs span{font-size:9px;color:#9ba7b0;display:block}.device-specs strong{font-size:10px;color:#5e7383;font-weight:500}.device-card .device-actions{display:flex;justify-content:space-between;align-items:center}.battery{display:inline-flex;align-items:center;gap:4px;font-size:9px;color:#799282}.battery .icon{width:14px;height:14px}.wide-table th,.wide-table td{padding:15px 20px}.person{display:flex;align-items:center;gap:10px}.person .avatar{width:28px;height:28px;background:#edf3f7;font-size:9px}.person strong{display:block;font-size:11px}.person small{font-size:9px;color:#98a5af}.section-label{font-size:11px;color:#8c9aa4;margin:27px 0 12px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.automation-card{padding:22px}.automation-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.automation-head h3{font-size:13px;margin:0}.automation-head small{font-size:9px;color:#9ca8b1}.flow{display:flex;align-items:center;gap:9px;margin:24px 0}.flow-block{flex:1;background:#f8fafb;border:1px solid #e5ebef;border-radius:8px;padding:14px 10px;text-align:center;min-width:0}.flow-block .icon{color:#718898;width:20px;height:20px;margin-bottom:7px}.flow-block strong{display:block;font-size:10px;font-weight:600;color:#566e7e}.flow-block small{display:block;font-size:8px;color:#99a8b2;margin-top:3px}.flow-block.trigger{background:var(--accent-soft);border-color:#f1d7db}.flow-block.trigger .icon{color:var(--accent)}.flow-arrow{color:#a4b3be;font-size:13px}.automation-card .rule-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf1f4;padding-top:16px;font-size:9px;color:#99a7b1}.camera-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.camera-grid .camera-frame{min-height:240px;border-radius:12px 12px 0 0}.camera-grid .camera-top{font-size:9px;top:14px;left:15px;right:15px}.camera-grid .camera-bottom{font-size:13px;bottom:15px;left:15px}.camera-grid .camera-bottom small{font-size:9px}.camera-controls{padding:14px 17px;display:flex;align-items:center;justify-content:space-between}.camera-controls p{margin:0;font-size:10px;color:#7e939f}.info-banner{display:flex;align-items:center;gap:12px;background:#eaf1f5;color:#607f92;border:1px solid #dce7ee;padding:14px 17px;border-radius:8px;font-size:10px;line-height:1.7;margin-bottom:20px}.info-banner .icon{width:18px;flex:none}.domain-hero{background:#17232c;color:#fff;position:relative;overflow:hidden;padding:30px 34px;border-radius:14px;margin-bottom:24px}.domain-hero:after{content:"";position:absolute;right:-50px;top:-120px;width:430px;height:430px;border:1px solid #667c8b38;border-radius:50%;box-shadow:0 0 0 55px #667c8b0c,0 0 0 110px #667c8b09;pointer-events:none}.domain-hero h2{font-size:24px;letter-spacing:-.7px;margin:0}.domain-hero p{font-size:11px;line-height:1.8;color:#9cb0be;max-width:500px;margin:12px 0 25px}.domain-transfer{display:flex;align-items:center;gap:20px;position:relative;z-index:1;font-size:13px}.domain-transfer .from{color:#829ba9}.domain-transfer .to{border:1px solid #516779;border-radius:7px;padding:10px 17px;background:#ffffff05;color:#e5eff5}.domain-transfer .icon{color:#e4626b}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .full{grid-column:1/-1}label{display:grid;gap:6px;font-size:10px;color:#7e919e;line-height:1.5}input,select,textarea{width:100%;min-width:0;border:1px solid #dce5ea;border-radius:7px;background:#fff;padding:10px 11px;color:#3c5261;font-size:12px;min-height:39px}textarea{resize:vertical;min-height:75px}input[type=checkbox]{width:14px;height:14px;min-height:0;accent-color:var(--accent);padding:0}input[type=color]{padding:3px;width:42px;height:35px;min-height:0}input[type=file]{font-size:10px;padding:9px}label.check{display:flex;flex-direction:row;align-items:center;gap:7px;font-size:11px}.field-note{font-size:9px;color:#9ba7b0;line-height:1.65;margin:6px 0}.settings-title{font-size:13px;margin:0 0 20px}.color-options{display:flex;align-items:center;gap:8px}.color-swatch{height:25px;width:25px;border:3px solid #fff;box-shadow:0 0 0 1px #dde5eb;border-radius:50%}.color-swatch.active{box-shadow:0 0 0 2px #7e929f}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:25px;padding-top:18px;border-top:1px solid #edf1f3}.preview-domain{border:1px solid #e2e8ed;border-radius:11px;overflow:hidden;margin-top:12px}.preview-browser{background:#f1f4f6;padding:8px;font-size:8px;color:#91a0ac;text-align:center}.preview-inner{padding:24px 20px;background:#18252f;color:#fff;display:flex;align-items:center;gap:12px}.preview-inner img{width:43px;height:43px;object-fit:contain;border-radius:50%;background:white}.preview-inner strong{display:block;font-size:17px}.preview-inner small{font-size:9px;color:#99b0bd}.checklist{list-style:none;padding:0;margin:22px 0}.checklist li{display:flex;gap:10px;align-items:center;font-size:11px;color:#7c909d;padding:9px 0}.checklist .icon{width:16px;color:var(--green)}.empty-state{text-align:center;padding:55px 20px}.empty-state .icon{width:40px;height:40px;color:#b5c2ca;margin-bottom:10px}.empty-state h3{font-size:15px;margin:7px 0}.empty-state p{font-size:11px;color:#93a2ad}.modal-backdrop{position:fixed;inset:0;background:#0d1b2a72;backdrop-filter:blur(3px);z-index:100;display:flex;align-items:center;justify-content:center;padding:25px}.modal{width:min(560px,100%);max-height:calc(100dvh - 50px);overflow:auto;background:#fff;border-radius:16px;box-shadow:0 25px 100px #10203040}.modal.wide{width:min(800px,100%)}.modal-head{position:sticky;top:0;background:#fff;z-index:2;padding:22px 25px 17px;border-bottom:1px solid #edf1f4;display:flex;align-items:center;justify-content:space-between;gap:15px}.modal-head h2{font-size:17px;margin:0;letter-spacing:-.4px}.modal-head p{font-size:10px;color:#95a4ad;margin:5px 0 0}.modal-body{padding:23px 25px 25px}.modal-body .device-details{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:18px 0}.device-details p{margin:0;font-size:10px;color:#91a1ad}.device-details strong{display:block;font-size:12px;color:#4c6475;margin-top:3px}.modal-banner{background:#f5f8fa;padding:14px;border-radius:8px;font-size:10px;color:#7a8f9d;line-height:1.7;margin-bottom:20px}.protocol-badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:13px}.protocol-badges span{font-size:9px;border:1px solid #e0e8ed;color:#8a9daa;padding:4px 7px;border-radius:4px}.days-picker{display:flex;gap:6px;flex-wrap:wrap}.days-picker label{font-size:10px;display:flex;align-items:center;gap:5px;border:1px solid #dfe7ec;border-radius:6px;padding:7px}.time-preview{padding:13px 15px;border-radius:8px;background:#eaf7f0;color:#408168;margin:17px 0;font-size:10px}.modal.mobile-modal{width:385px;max-height:calc(100dvh - 40px);background:#f6f8f9}.mobile-modal .modal-head{padding:16px 19px}.mobile-modal .modal-body{padding:0}.mobile-head{background:#14232d;padding:24px 22px;color:#fff}.mobile-head .mobile-brand{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;font-size:11px;letter-spacing:.08em}.mobile-head img{width:31px;height:31px;object-fit:contain;border-radius:50%;background:#fff;margin-right:8px}.mobile-head .mobile-brand span{display:flex;align-items:center}.mobile-head h3{font-size:23px;letter-spacing:-.7px;margin:0}.mobile-head p{font-size:10px;color:#8fa7b6;margin:7px 0 0}.mobile-demo-settings{padding:13px 20px;background:#eaf0f3;font-size:9px;color:#8297a5;display:flex;gap:10px;align-items:center}.mobile-demo-settings select{font-size:10px;min-height:30px;padding:5px 7px}.mobile-door-card{margin:18px;background:#fff;border:1px solid #e1e8ec;border-radius:12px;padding:21px}.mobile-door-card .door-top{display:flex;justify-content:space-between;align-items:center}.mobile-door-card .door-top .icon{width:28px;height:28px;color:#7c93a2}.mobile-door-card h4{font-size:18px;letter-spacing:-.5px;margin:19px 0 5px}.mobile-door-card .address{font-size:11px;color:#8a9daa;line-height:1.8;margin:0}.mobile-access-time{background:#f1f8f4;border-left:2px solid var(--green);padding:13px 14px;margin:17px 0}.mobile-access-time.inactive{background:#faf6ee;border-color:#bd9244}.mobile-access-time span{font-size:9px;color:#8a9c92;display:block}.mobile-access-time strong{font-size:12px;font-weight:600;color:#58776a;display:block;margin-top:4px}.mobile-commands{display:grid;grid-template-columns:1fr 1fr;gap:9px}.mobile-commands button{font-size:11px;min-height:47px}.mobile-door-card .mobile-status{font-size:10px;color:#8299a7;min-height:20px;margin:12px 0 0}.mobile-modal .mobile-footer{text-align:center;font-size:8px;color:#96a7b2;padding:0 20px 18px}.tour-step{font-size:9px;color:var(--accent);letter-spacing:.1em;font-weight:700;margin-bottom:12px}.tour-progress{display:flex;gap:5px;margin:0 0 22px}.tour-progress i{height:3px;background:#e9eef1;border-radius:5px;flex:1}.tour-progress i.active{background:var(--accent)}.tour-visual{background:#f3f7f9;border-radius:10px;padding:22px;display:flex;align-items:center;justify-content:center;gap:15px;min-height:100px;margin-bottom:20px;color:#6b8597}.tour-visual .icon{width:40px;height:40px}.tour-visual img{width:56px;height:56px;object-fit:contain;border-radius:50%;background:#fff}.tour-copy{font-size:12px;color:#7b909e;line-height:1.9}.tour-controls{display:flex;justify-content:space-between;gap:12px;margin-top:25px}.toast{position:fixed;right:25px;bottom:25px;z-index:300;display:flex;gap:10px;align-items:center;max-width:380px;border:1px solid #d5e7df;box-shadow:0 10px 45px #13293528;border-radius:10px;background:#fff;padding:15px 18px;color:#476b5a;font-size:11px;animation:toast-in .2s ease}.toast .icon{color:var(--green);width:18px}.toast.error{border-color:#f0cfd4;color:#a14b56}.toast.error .icon{color:var(--accent)}.modal-camera .camera-frame{min-height:380px;border-radius:10px}.modal-camera .camera-top{font-size:10px;top:15px;left:17px;right:17px}.modal-camera .camera-bottom{font-size:15px;left:18px;bottom:18px}.shortcut-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:20px}.shortcut-card{border:1px solid #e2e9ed;border-radius:10px;padding:20px;background:#fff;text-align:left;color:#647e90}.shortcut-card .icon{width:24px;height:24px;margin-bottom:14px}.shortcut-card strong{display:block;font-size:12px;color:#455f70}.shortcut-card p{font-size:10px;color:#97a6b1;line-height:1.7;margin:7px 0 0}.settings-stack{display:grid;gap:20px}.event-filter{max-width:220px}.quiet{color:#9ba8b2;font-size:10px}.pulse{animation:pulse 2s infinite}.domain-inline{border:0;background:none;color:#637c8d;padding:0;display:flex;gap:6px;align-items:center;cursor:pointer;font-size:11px}.muted{color:#91a1ad}.nowrap{white-space:nowrap}.full-width{width:100%}[hidden]{display:none!important}@keyframes pulse{50%{box-shadow:0 0 0 5px #18866c10}}@keyframes toast-in{from{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(min-width:1550px){main{padding:38px 46px}.topbar{padding:0 46px}h1{font-size:31px}.metrics{gap:20px}.metric{padding:22px}.floorplan-wrap{min-height:330px}.floorplan{min-height:300px}.object-photo{height:113px}.camera-mini-grid .camera-frame{min-height:135px}.panel-head{padding:21px 24px}}
@media(max-width:1220px){.sidebar{width:210px}.shell{margin-left:210px}main{padding:26px}.topbar{padding:0 26px}.top-search input{width:120px}.device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.bottom-grid{grid-template-columns:minmax(0,1.6fr) minmax(245px,1fr)}.metric{padding:15px 13px;gap:9px}.metric .metric-icon{width:31px;height:31px}.metric-trend{display:none}.top-avatar span{display:none}.side-brand{padding-inline:21px}.events-table th,.events-table td{padding-inline:13px}.floorplan-wrap{padding-inline:8px}.hero-block{max-width:60%}}
@media(max-width:1000px){.dashboard-grid,.bottom-grid{grid-template-columns:1fr}.stack{grid-template-columns:1fr 1fr;gap:17px}.camera-mini-grid .camera-frame{min-height:150px}.top-search{display:none}.metrics{gap:10px}.metric-foot{display:none}.metric-label{font-size:9px}.metric strong{font-size:22px}.page-heading{align-items:start;flex-wrap:wrap}.heading-actions{flex-wrap:wrap}.two-columns{grid-template-columns:1fr}.camera-grid{gap:15px}.camera-grid .camera-frame{min-height:190px}.rule-grid{grid-template-columns:1fr}.shortcut-cards{grid-template-columns:1fr 1fr 1fr}.metrics .metric{display:block}.metric .metric-icon{margin-bottom:10px}.domain-hero{padding:26px}.wide-table td,.wide-table th{padding-inline:13px}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:235px}.sidebar.open{transform:translateX(0);box-shadow:20px 0 80px #12253650}.shell{margin-left:0}.mobile-menu{display:inline-flex}.topbar{height:66px;padding:0 18px;gap:10px}.breadcrumb{font-size:10px;gap:8px}.breadcrumb .crumb-section{display:none}.topbar-right{gap:10px}.topbar-right .clock-button{display:none}.top-avatar{display:none}.demo-badge{font-size:8px;padding:5px 6px}.page-heading{margin-top:0;gap:18px}h1{font-size:25px}.heading-actions{gap:7px}.heading-actions .btn{font-size:10px;padding:9px 10px}.subheading{line-height:1.8;font-size:10px}.eyebrow{font-size:8px}main{padding:24px 18px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.metric{display:flex!important;padding:16px!important;gap:12px!important}.metric .metric-icon{margin:0;width:34px;height:34px}.metric-label{font-size:9px}.metric strong{font-size:23px}.metric-foot{display:inline;font-size:8px}.stack{grid-template-columns:1fr}.object-photo{height:115px}.floorplan-wrap{padding:8px 1px 0;min-height:230px}.floorplan{min-height:225px}.panel-head{padding:17px}.panel-head h2{font-size:12px}.map-footer{padding-inline:14px;flex-wrap:wrap;font-size:8px}.legend{gap:10px}.bottom-grid{gap:18px;margin-top:18px}.dashboard-grid{gap:18px}.camera-mini-grid .camera-frame{min-height:130px}.device-grid,.camera-grid{grid-template-columns:1fr}.device-card{padding:20px}.device-card .device-specs{grid-template-columns:1fr 1fr}.object-picker{padding:7px 9px}.object-picker select{font-size:10px}.toolbar{align-items:start;flex-wrap:wrap;gap:12px}.filters{gap:5px}.filter-chip{font-size:9px;padding:7px 9px}.events-table{font-size:9px}.events-table td,.events-table th{padding:12px 11px}.events-table .hide-mobile{display:none}.wide-table{min-width:650px}.events-table td .event-main{gap:6px}.event-icon{width:23px;height:23px}.camera-grid .camera-frame{min-height:220px}.powered-footer{font-size:8px;align-items:start;gap:15px}.powered-footer>span:last-child{max-width:47%;text-align:right}.modal-backdrop{padding:12px}.modal{max-height:calc(100dvh - 24px);border-radius:13px}.modal-head{padding:18px 20px}.modal-head h2{font-size:16px}.modal-body{padding:20px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.modal.wide{width:100%}.two-columns{gap:16px}.domain-hero{padding:25px 22px}.domain-hero h2{font-size:22px}.domain-transfer{gap:10px;font-size:11px;flex-wrap:wrap}.domain-transfer .to{padding:8px 11px}.domain-hero p{font-size:10px}.shortcut-cards{grid-template-columns:1fr}.shortcut-card{display:grid;grid-template-columns:32px 1fr;column-gap:13px;padding:17px}.shortcut-card .icon{grid-row:span 2;margin:0}.shortcut-card p{margin:3px 0 0}.shortcut-card strong{font-size:11px}.toast{left:15px;right:15px;bottom:15px;max-width:none}.search-results{left:18px;right:18px;top:64px;width:auto}.rule-grid{gap:15px}.automation-card{padding:19px}.flow{gap:7px}.flow-block{padding:12px 7px}.flow-block strong{font-size:9px}.flow-block small{font-size:7px}.flow-arrow{font-size:11px}.modal.mobile-modal{width:min(385px,100%)}.camera-controls .btn{font-size:10px}.modal-camera .camera-frame{min-height:230px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.topbar .mobile-menu{display:none}.inline-row{display:flex;align-items:center;gap:10px}.legend .icon{width:11px;height:11px}@media(max-width:760px){.topbar .mobile-menu{display:inline-flex}}
