:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#22302e;background:#edf0eb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;height:100vh;overflow:hidden}button,input{font:inherit}button{cursor:pointer}.app{height:100vh;min-height:540px;display:grid;grid-template-columns:282px minmax(0,1fr) 278px;overflow:hidden}.sidebar{background:#fbfcf8;border-right:1px solid #dce2da;display:flex;flex-direction:column;min-width:0;z-index:3;overflow:auto}.right{border-right:0;border-left:1px solid #dce2da}.brand{padding:28px 24px 22px;border-bottom:1px solid #e8ece6;display:flex;align-items:center;gap:13px}.brandmark{width:39px;height:39px;background:#203e39;color:#c4e9d7;border-radius:12px;display:grid;place-items:center;font-size:24px;font-weight:400}.brandname{font-size:16px;line-height:1.25;font-weight:780;letter-spacing:-.6px}.eyebrow{color:#85938b;letter-spacing:1.7px;text-transform:uppercase;font-weight:750;font-size:10px}.brand .eyebrow{margin-top:3px}.section{padding:25px 21px;border-bottom:1px solid #ebeee8}.section-title{font-size:11px;letter-spacing:1.3px;text-transform:uppercase;color:#677c72;font-weight:800;margin-bottom:15px;display:flex;align-items:center;justify-content:space-between}.section-title span{color:#a5b3aa}.seg{display:flex;gap:4px;padding:4px;border:1px solid #dfe5df;border-radius:12px;background:#eff3ee}.seg button{background:transparent;color:#708177;border:0;flex:1;padding:10px 4px;border-radius:9px;font-size:12px;font-weight:700;transition:background .2s}.seg button.active{background:#fff;box-shadow:0 1px 5px #263a3320;color:#20483e}.desc{font-size:12px;line-height:1.6;color:#76877d;margin:0 0 16px}.libgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tile{border:1px solid #e0e7de;background:#fff;border-radius:13px;padding:12px 7px 10px;text-align:center;color:#395046;min-height:88px;transition:.15s;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px}.tile:hover,.tile:focus-visible{border-color:#70b29a;background:#effaf3;transform:translateY(-1px)}.tile svg{height:31px;width:39px;stroke:#37675b;stroke-width:1.5;fill:none;stroke-linejoin:round;stroke-linecap:round}.tile span{font-weight:700;font-size:12px}.tile small{font-size:10px;color:#90a197}.section-bottom{margin-top:auto;padding:17px 21px;border-top:1px solid #e4eae4}.outline,.primary,.iconbtn{border:1px solid #dce4db;border-radius:10px;padding:11px 12px;background:#fff;color:#344a40;font-size:12px;font-weight:750}.outline:hover,.iconbtn:hover{background:#f1f8f3;border-color:#b3c9ba}.primary{background:#234a3e;border-color:#234a3e;color:#fff}.primary:hover{background:#173e31}.buttonrow{display:flex;gap:8px}.buttonrow>*{flex:1}.main{min-width:0;position:relative;overflow:hidden;background:linear-gradient(180deg,#e7ebe6,#dfe6df)}#canvas{position:absolute;inset:0}#canvas canvas{display:block;width:100%;height:100%;touch-action:none}.main-header{position:absolute;top:23px;left:24px;right:24px;pointer-events:none;display:flex;justify-content:space-between;align-items:flex-start;gap:10px;z-index:2}.headerbox{padding:14px 17px;border:1px solid #ffffffc9;background:#fffffff0;box-shadow:0 10px 34px #23382b14;border-radius:14px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.headerbox h1{margin:3px 0 0;font-size:18px;letter-spacing:-.6px}.headerbox small{color:#728478;font-size:11px}.header-actions{display:flex;gap:6px;pointer-events:auto}.floating{background:#fffe;box-shadow:0 7px 25px #26372919;border:1px solid #ffffffc4;border-radius:12px;padding:7px 12px;font-size:11px;color:#5a7367;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.viewbar{position:absolute;left:50%;bottom:24px;transform:translate(-50%);z-index:2;display:flex;align-items:center;gap:4px;background:#fff;border:1px solid #ecf1e9;padding:5px;border-radius:15px;box-shadow:0 8px 28px #102d202b;max-width:calc(100% - 24px)}.viewbar button{white-space:nowrap;background:transparent;border:none;padding:11px 12px;border-radius:10px;font-size:12px;color:#69796f;font-weight:700}.viewbar button:hover,.viewbar button.active{background:#eaf3eb;color:#254f42}.viewbar .sep{width:1px;height:22px;background:#e1e9e0;margin:0 3px}.helper{position:absolute;bottom:88px;left:24px;font-size:11px;color:#547166;background:#ffffffa8;padding:9px 12px;border-radius:9px;pointer-events:none}.badge{display:inline-flex;align-items:center;gap:6px;background:#e8f4e9;color:#40765e;border-radius:6px;padding:5px 7px;font-size:10px;font-weight:800}.badge:before{content:"";width:6px;height:6px;border-radius:50%;background:#4aa672}.right .section{padding:24px 22px}.rtitle{font-size:19px;font-weight:780;letter-spacing:-.5px;margin:6px 0 7px}.hint{font-size:12px;color:#778a80;line-height:1.6}.room-icon{width:100%;height:124px;border-radius:12px;background:linear-gradient(150deg,#e6eee7,#f6f7f2);display:grid;place-items:center;margin-top:16px;overflow:hidden}.room-icon svg{width:160px;height:105px;fill:none;stroke:#7c9b89;stroke-width:1.7;stroke-linejoin:round}.metagrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:17px 0 0}.metric{border:1px solid #e5ece3;border-radius:9px;padding:11px;background:#fff}.metric strong{display:block;font-size:16px;letter-spacing:-.35px}.metric small{font-size:10px;color:#89978d}.setting{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #edf0eb;font-size:12px;font-weight:650}.switch{appearance:none;width:34px;height:20px;background:#cbd5cd;position:relative;border-radius:30px;cursor:pointer;transition:.2s;flex-shrink:0}.switch:after{content:"";position:absolute;width:14px;height:14px;border-radius:50%;background:#fff;top:3px;left:3px;box-shadow:0 1px 2px #0002;transition:.2s}.switch:checked{background:#3c8b69}.switch:checked:after{left:17px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field label{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:1px;color:#8b9b90}.field input{width:100%;border:1px solid #dfe7df;border-radius:8px;padding:10px 8px;color:#385449;font-size:12px;background:#fff;outline:none}.field input:focus{border-color:#5ba685;box-shadow:0 0 0 2px #5ba68522}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.objname{width:100%;font-weight:760;font-size:18px;border:1px solid transparent;background:transparent;border-radius:6px;padding:5px;margin-left:-5px}.objname:focus{border-color:#b9d7c2;background:#fff;outline:none}.items{padding:5px 0}.scene-row{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:9px;font-size:12px;cursor:pointer}.scene-row:hover,.scene-row.active{background:#eaf5eb}.scene-row .dot{width:11px;height:11px;border-radius:4px;border:1px solid #0001}.scene-row span{flex:1;font-weight:650}.scene-row small{color:#92a195}.empty{border:1px dashed #ccdbcf;background:#f6f9f5;border-radius:11px;padding:13px;color:#8b9a8e;font-size:12px;line-height:1.5;text-align:center}.modal{position:absolute;inset:0;background:#12241bbc;z-index:20;display:none;align-items:center;justify-content:center;padding:20px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal.show{display:flex}.dialog{background:#fbfdf9;border-radius:17px;padding:23px;width:min(390px,100%);box-shadow:0 20px 80px #0004}.dialog h2{font-size:19px;margin:0 0 8px;letter-spacing:-.5px}.dialog p{font-size:12px;line-height:1.6;color:#7a8b7f;margin-bottom:21px}.status{position:absolute;top:95px;right:24px;color:#35614a;background:#fff;padding:10px 13px;border-radius:11px;box-shadow:0 8px 25px #1629191e;font-size:12px;opacity:0;pointer-events:none;transform:translateY(-6px);transition:.2s;z-index:10}.status.show{opacity:1;transform:translateY(0)}.mobileToggle{display:none}@media(max-width:1080px){.app{grid-template-columns:228px minmax(0,1fr) 232px}.brand{padding:20px 15px}.section,.right .section{padding:18px 14px}.section-bottom{padding:14px}.main-header{left:15px;top:15px;right:15px}.headerbox{padding:11px 12px}.headerbox h1{font-size:14px}.helper{display:none}}@media(max-width:750px){.app{grid-template-columns:minmax(0,1fr)}.sidebar{position:absolute;left:0;top:0;bottom:0;width:260px;z-index:9;box-shadow:6px 0 25px #2031241f;transform:translate(-110%);transition:.2s}.sidebar.mobile-open{transform:translate(0)}.right{left:auto;right:0;transform:translate(110%)}.right.mobile-open{transform:translate(0)}.mobileToggle{display:block;border:0;background:#fff;padding:10px 13px;border-radius:10px;box-shadow:0 4px 16px #0002;font-weight:800}.main-header{top:10px;left:10px;right:10px;align-items:center}.main-header .headerbox{display:none}.viewbar{bottom:13px}.viewbar button{padding:11px 9px;font-size:11px}}
