:root{font-family:Segoe UI,Arial,sans-serif;color:#1c352b;background:#e9eee7}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;background:#183d32;color:#fff}h1{font-size:24px;margin:0 0 5px}h1 span{font-weight:400;color:#d8c694}header p{margin:0;color:#e5ede5;font-size:14px}header strong{white-space:nowrap;color:#e9d8a2}main{display:grid;grid-template-columns:minmax(0,1fr) 300px;height:calc(100vh - 88px);min-height:520px}#view{position:relative;overflow:hidden;background:#dfece9}#view canvas{display:block;width:100%;height:100%}#hint{position:absolute;left:16px;bottom:16px;padding:8px 12px;border-radius:10px;background:#173e34cc;color:#fff;font-size:13px;pointer-events:none}aside{overflow:auto;padding:18px;background:#f8faf6;border-left:1px solid #cdd9ce}section{padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #dbe3da}h2{font-size:16px;margin:0 0 12px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}button{border:1px solid #9db6a8;background:#fff;color:#183c30;border-radius:8px;padding:9px 11px;font:inherit;cursor:pointer}button:hover,button.active{background:#24644e;color:#fff}section>button{width:100%;margin:0 0 8px}section p{line-height:1.5;margin:0 0 14px;font-size:14px}label{display:block;margin:9px 0;font-size:14px}input{accent-color:#24644e}a{color:#126148;font-size:14px}.note{font-size:12px;color:#61716a;line-height:1.5}@media(max-width:760px){header{display:block;padding:14px}header strong{display:block;margin-top:8px;font-size:13px}main{display:flex;flex-direction:column;height:auto}#view{height:65vh;min-height:400px}aside{border-left:0}}
.field{display:grid;gap:5px;margin:12px 0}.field select{width:100%;padding:8px;border:1px solid #aabdaf;border-radius:7px;background:white;color:#1c352b;font:inherit}.status{background:#e6f0e9;border-left:3px solid #31815c;border-radius:5px;padding:9px;font-size:13px!important}.tool-section .grid{margin-bottom:8px}.measure-list{padding-left:22px;max-height:300px;overflow:auto;margin:10px 0}.measure-list li{margin:0 0 8px;padding:6px 4px;border-bottom:1px solid #d9e4d9;font-size:13px}.measure-line{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.measure-line button{padding:3px 6px;font-size:12px}.measure-line .measure-value{font-weight:700;color:#1364a5}.measure-line .measure-endpoint{border-radius:50%;background:#dff0ff;color:#1364a5}.measure-line .measure-delete{margin-left:auto;color:#8b2f2f}.measure-editor{display:flex;gap:5px;margin-top:6px}.measure-editor input{width:85px;padding:5px;border:1px solid #aabdaf;border-radius:5px}.measure-list small{display:block;color:#5b7168;margin-top:4px}h3{font-size:13px;letter-spacing:.05em;text-transform:uppercase;margin:18px 0 8px;color:#4e6a59}label small{color:#68786d}#view.measure-active canvas{cursor:crosshair}
.metrics{margin:0}.metrics div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #dce6dd;padding:6px 0;font-size:13px}.metrics dt{color:#4e6758}.metrics dd{margin:0;font-weight:700;text-align:right}
.room-report{border:1px solid #c9d9cc;border-radius:8px;margin:8px 0;background:#fff;overflow:hidden}.room-report>summary{cursor:pointer;padding:10px 12px;font-weight:600;color:#183c30}.room-report[open]>summary{background:#e6f0e9}.room-report .report-body{padding:3px 12px 12px}.room-report .report-item{border-bottom:1px solid #dce6dd}.room-report .report-item>summary{cursor:pointer;padding:9px 2px;font-size:13px;font-weight:700;color:#285747}.room-report .report-item[open]>summary{color:#183c30}.room-report .report-item>.metrics{padding:0 2px 8px 14px}.room-report .metrics div{display:block}.room-report .metrics dt{font-size:12px}.room-report .metrics dd{text-align:left;margin-top:2px}.room-report .pending{color:#8a5d20}.room-report .report-note{margin:10px 0 0;font-size:12px;color:#61716a}
.room-report .room-enter{width:100%;margin:7px 0 9px}#exitRoom{margin-top:10px}button[hidden]{display:none}
#view.inside-room canvas{touch-action:none;cursor:grab}#view.inside-room canvas:active{cursor:grabbing}
.measure-live{padding:10px 12px;border-radius:8px;background:#dff1ff;color:#114c7a;font-weight:700;font-size:14px!important;line-height:1.35!important}.measure-tooltip{position:absolute;z-index:12;max-width:min(260px,70%);padding:7px 10px;border:1px solid #77b8df;border-radius:8px;background:#e5f5ff;box-shadow:0 3px 12px #1b3f4a55;color:#114c7a;font:700 13px/1.3 Segoe UI,Arial,sans-serif;pointer-events:none;white-space:normal}.measure-tooltip[hidden],.measure-live[hidden]{display:none}
.climate-section input[type=range]{width:100%;margin:5px 0}.climate-section .field{font-size:14px}.climate-section .status{margin-top:12px}.climate-section .note{margin-top:8px}
.finish-options{border:1px solid #d3ded4;border-radius:8px;margin:4px 0 15px;padding:6px 10px}.finish-options legend{font-size:13px;font-weight:700;color:#315944;padding:0 4px}.finish-options label{margin:7px 0}
.roof-check{background:#fff4e7;border:1px solid #e4bd8a;border-left:4px solid #b96618;border-radius:8px;padding:12px;margin-top:10px}.roof-check h2{color:#793d08}.roof-check .note{margin:10px 0 0;color:#694d32}
