:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#1d3148;background:#f3f6fa;font-size:14px}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.top{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;background:#14253d;color:white;padding:16px clamp(14px,2.8vw,40px)}.logo{display:flex;align-items:center;gap:11px;font-size:20px;font-weight:800}.logo small{display:block;color:#b1c0d0;font-size:11px;font-weight:500}.mark{background:#58d1b6;color:#15354c;padding:9px;border-radius:11px;font-size:16px}.topactions,.toolbar-buttons{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.outline{border:1px solid #5c6c81;border-radius:8px;background:transparent;color:white;padding:9px 12px}.status{padding:8px 11px;background:#294c5c;border-radius:30px;font-size:12px;font-weight:700}.status.offline{background:#77532c}.toolbar{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:13px;padding:16px clamp(14px,2.8vw,40px)}.floorpicker{display:grid;gap:5px}.floorpicker label,.eyebrow,.field-label{font-size:11px;letter-spacing:.055em;color:#78889a;font-weight:800}.floorpicker select{min-width:220px;max-width:65vw}.floorpicker select,select,textarea,input:not([type=file]){background:white;border:1px solid #d6e0eb;border-radius:9px;padding:10px;color:#24364c}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #71d4c0;outline-offset:2px}.btn{border:1px solid #d1dce6;background:white;color:#30465d;border-radius:9px;padding:10px 12px;font-weight:650}.btn:hover{background:#f5faf8}.btn.subtle{padding:9px 13px;font-size:16px}.primary{background:#0a917c;color:white;border:0;padding:11px 15px;font-weight:750;border-radius:9px}.primary:hover{background:#0b786a}.zoomlabel{font-size:12px;color:#677b90;font-weight:750;min-width:44px;text-align:center}.content{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(335px,.82fr);gap:18px;padding:0 clamp(14px,2.8vw,40px) 18px;max-width:1900px;margin:auto;align-items:start}.panel{background:white;border:1px solid #e1e7ef;border-radius:17px;box-shadow:0 4px 20px #142c4508;overflow:hidden}.panel-title{padding:19px 21px;border-bottom:1px solid #e8edf2;display:flex;gap:12px;justify-content:space-between;align-items:start}.panel-title h1,.panel-title h2{margin:5px 0 4px;font-size:20px;line-height:1.3}.subtitle{font-size:12px;color:#7b8998;margin:3px 0}.count,.total{font-size:12px;font-weight:800;background:#e9f8f3;color:#128b75;border-radius:9px;padding:9px 11px;white-space:nowrap}.total{font-size:16px}.planViewport{background:#e9eef3;overflow:auto;min-height:430px;max-height:68vh;padding:20px;touch-action:pan-x pan-y}.sheet{position:relative;width:100%;min-width:240px;aspect-ratio:1.37;margin:auto;background:white;box-shadow:0 5px 20px #24324821;transform-origin:top left;overflow:hidden}#sheetContent,#overlay{position:absolute;inset:0;width:100%;height:100%}#sheetContent{display:flex;align-items:stretch}#pdfCanvas,#imagePlan{width:100%;height:100%;object-fit:fill;display:block}#pdfCanvas[hidden],#imagePlan[hidden]{display:none}.empty-plan{display:flex;width:100%;height:100%;align-items:center;justify-content:center;text-align:center;color:#8597a9;line-height:2;background:repeating-linear-gradient(0deg,#fff,#fff 39px,#eff3f8 40px),repeating-linear-gradient(90deg,transparent,transparent 39px,#eff3f8 40px)}#overlay{overflow:visible}#overlay .zpoly{stroke:#4d6d83;stroke-width:2.5;vector-effect:non-scaling-stroke;cursor:pointer;fill:#9bb3c4;fill-opacity:.3;transition:fill .12s}#overlay .zpoly:hover{fill:#67d7c0;fill-opacity:.48}#overlay .zpoly.selected{stroke:#078e79;stroke-width:4;fill:#41c3a8;fill-opacity:.42}#overlay .zpoly.done{fill:#58bb84;fill-opacity:.4}#overlay .zpoly.progress{fill:#f1bd62;fill-opacity:.35}#overlay text{pointer-events:none;fill:#17364c;paint-order:stroke;stroke:#fff;stroke-width:5;stroke-linejoin:round;font-size:20px;font-weight:800;text-anchor:middle}#overlay.drawing{cursor:crosshair}#overlay.drawing .zpoly{pointer-events:none}.drawing-actions{background:#e5faf3;display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:10px 17px;font-size:12px;color:#176b5b}.drawing-actions[hidden]{display:none}.legend{padding:14px 20px;display:flex;align-items:center;gap:15px;flex-wrap:wrap;font-size:11px;color:#697d90}.bullet{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:5px}.b0{background:#acc1d0}.b1{background:#f1bd62}.b2{background:#58bb84}.b3{background:#1eaa90}.legend #saveStatus{margin-left:auto;color:#16826d}.zoneactions{padding:12px 20px 0;display:flex;justify-content:space-between}.linkbtn{background:none;border:0;color:#0c8775;font-weight:700;padding:6px}.linkbtn.danger{color:#ae5662}.subhead{padding:18px 20px 8px;display:flex;justify-content:space-between;align-items:center;gap:9px}.subhead strong{font-size:14px}.subhead span{font-size:11px;color:#8b99a8}.systems{padding:0 20px 16px}.sys{border:1px solid #e2e9ee;border-radius:12px;padding:13px;margin-top:10px}.sys.active{border-color:#63c9b5;background:#f7fdfa}.sysrow{display:flex;justify-content:space-between;align-items:center;gap:12px}.sysrow strong{font-size:13px}.sysrow b{color:#0b8c75}.bar{height:8px;background:#e6ecf1;border-radius:20px;margin:11px 0;overflow:hidden}.bar>div{height:100%;background:#17a58a;border-radius:20px;transition:width .12s}.syscontrols{display:flex;align-items:center;gap:10px}.syscontrols input{flex:1;min-width:0;accent-color:#0e947c}.syscontrols button{border:1px solid #dce7eb;border-radius:8px;background:white;color:#567082;padding:7px 9px;font-size:12px}.notesSection{border-top:1px solid #e6edf3;padding:0 20px 20px}.notesSection .subhead{padding:20px 0 12px}.field-label{display:block;margin:12px 0 6px}.notesSection select,.notesSection textarea{width:100%}.notes{display:grid;gap:8px;max-height:260px;overflow:auto;margin:12px 0}.note{background:#f4f7fa;border:1px solid #e6ebf1;border-radius:10px;padding:12px}.note p{margin:0 0 9px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.note time{color:#8b99a8;font-size:11px}.no-notes,.placeholder{padding:22px;color:#8797a7;background:#f8fafc;border-radius:9px;text-align:center;font-size:13px}.placeholder{margin:20px}.notefooter{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px}.notefooter small{font-size:11px;color:#8898a8}footer{padding:0 3vw 22px;color:#748496;font-size:12px;line-height:1.6;max-width:1900px;margin:auto}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#182c45;color:white;padding:13px 18px;border-radius:10px;display:none;box-shadow:0 9px 30px #0003;z-index:10}.toast.show{display:block}dialog{border:0;border-radius:17px;box-shadow:0 25px 90px #0b1f4266;padding:0;width:min(92vw,480px);color:#21334b}dialog::backdrop{background:#0c213b75}.dialogbody{padding:22px;display:grid;gap:15px}.dialogheader{display:flex;justify-content:space-between;align-items:center}.dialogheader h2{margin:0;font-size:20px}.xbtn{border:0;background:none;font-size:29px;color:#78899e}.dialogbody label{display:grid;gap:7px;font-size:13px;font-weight:700}.dialogbody input{width:100%}.dialogbody input[type=file]{border:1px dashed #cad5e1;border-radius:9px;padding:12px}.hint{font-size:12px;color:#7c8d9e;line-height:1.6;margin:0}.dialogactions{display:flex;gap:10px;justify-content:end}.systemAdd{display:flex;gap:8px}.systemAdd input{min-width:0;flex:1}.systemsEditor{display:grid;gap:7px}.editorrow{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #e6ebf0;border-radius:9px;padding:10px}.editorrow button{border:0;color:#b04c55;background:transparent;font-weight:700}.planpanel{min-width:0}@media(max-width:950px){.content{grid-template-columns:1fr}.planViewport{min-height:330px;max-height:58vh}}@media(max-width:540px){.top{padding:12px}.logo{font-size:17px}.topactions{gap:5px}.outline{font-size:11px;padding:7px 9px}.toolbar{padding:12px}.toolbar-buttons{width:100%}.toolbar-buttons .btn{font-size:12px;padding:9px}.content{padding:0 10px 12px;gap:12px}.panel-title{padding:15px}.planViewport{padding:10px;min-height:260px}.legend{padding:12px}.systems{padding:0 13px 14px}.notesSection{padding:0 13px 15px}.notefooter{align-items:end}.notefooter small{max-width:170px}}

[hidden]{display:none!important}
