@font-face{font-family:Interface;src:local('Segoe UI')}*{box-sizing:border-box}body{margin:0;background:#f5f6f3;color:#24362f;font:14px Interface,'Segoe UI',Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,input,summary{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.45;cursor:wait}button{transition:background .15s,border-color .15s,box-shadow .15s}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #dba178}h1,h2,h3,p{margin:0}h1{font-size:34px;font-weight:650;letter-spacing:-1.2px;line-height:1.3}h2{font-size:16px;font-weight:650;letter-spacing:-.2px}h3{font-size:18px}.sidebar{width:218px;background:#243c36;color:#fff;height:100vh;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:29px 18px;z-index:5}.brand{display:flex;align-items:center;gap:10px;font-size:18px;letter-spacing:-.6px;font-weight:650;white-space:nowrap}.brand-icon{color:#e4b28e;font-size:38px;line-height:40px}.brand small{display:block;color:#b2c2b9;font-size:8px;letter-spacing:1.3px;margin-top:5px;font-weight:500}.sidebar-label{font-size:10px;color:#93a79e;letter-spacing:1.7px;margin:48px 12px 15px}.nav{display:flex;align-items:center;gap:13px;border:0;background:none;color:#c7d1cc;width:100%;padding:13px 14px;text-align:left;border-radius:7px;margin-bottom:7px;font-size:13px}.nav span{font-size:19px;line-height:20px}.nav:hover{background:#ffffff0a}.nav.active{background:#40554c;color:#fff;box-shadow:inset 3px 0 #dcad89}.sidebar-note{font-size:11px;line-height:1.6;margin: auto 10px 24px;color:#dae2dd}.sidebar-note p{margin:9px 0;color:#a6b7ae;line-height:1.7}.sidebar-note #save-state{color:#93a79e;font-size:10px}.tiny-dot{width:6px;height:6px;background:#aad4b5;display:inline-block;border-radius:50%;margin-right:5px}.sidebar-bottom{font-size:8px;color:#92a79c;letter-spacing:1.3px;display:flex;justify-content:space-between;border-top:1px solid #ffffff15;padding:19px 10px 0}main{margin-left:218px}.topbar{height:72px;border-bottom:1px solid #e4e7df;display:flex;justify-content:space-between;align-items:center;padding:0 36px;background:#fdfefb}.breadcrumb{font-size:12px;color:#6b776f}.breadcrumb span{color:#b1b8b0;margin:0 12px}.top-actions{display:flex;gap:18px;align-items:center}.avatar{border:1px solid #dce2d9;border-radius:50%;height:33px;width:33px;display:grid;place-items:center;font-size:10px;color:#51665b;font-weight:650}.content{max-width:1740px;margin:auto;padding:30px 36px}.eyebrow{color:#9a6c4e;font-size:10px;font-weight:700;letter-spacing:1.7px;margin-bottom:8px}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.page-heading p{font-size:13px;color:#758078;margin-top:6px}.heading-actions{display:flex;gap:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;border-radius:6px;min-height:41px;padding:10px 16px;font-size:12px;font-weight:600;text-decoration:none}.primary{background:#be7951;color:white}.primary:hover{background:#a96641}.secondary{background:white;border-color:#d9dfd5;color:#364b3e}.secondary:hover{background:#f3f6ef;border-color:#a3b29e}.text-button{border:0;background:none;color:#526a5c;padding:5px 0;font-size:11px;text-decoration:none}.text-button:hover{color:#a8643f}.icon-button{border:1px solid #dce2d7;background:#fff;color:#3b5346;width:28px;height:28px;border-radius:5px;font-size:18px}.project-line{display:flex;gap:10px;align-items:center;margin:26px 0 19px;min-height:26px}.project-dot{background:#5d8d68;width:7px;height:7px;border-radius:50%;flex-shrink:0}.project-line input{background:none;border:0;border-bottom:1px solid transparent;font-size:12px;font-weight:600;width:270px;color:#334c3d;padding:4px 0}.project-line input:focus{border-bottom-color:#b6c3b3}.project-line .text-button:first-of-type{margin-left:auto}.muted{color:#839084}.small{font-size:11px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}.metric{background:#fff;border:1px solid #e0e5db;border-radius:9px;padding:18px 20px;position:relative;overflow:hidden}.metric-label{color:#6e7c70;font-size:11px;margin-bottom:10px}.metric-number{font-size:29px;font-weight:600;letter-spacing:-1px;line-height:1.2}.metric-number small{font-size:13px;color:#8b968b;letter-spacing:0;font-weight:500;margin-left:5px}.metric-note{font-size:10px;color:#8a9588;margin-top:8px}.metric-icon{position:absolute;right:18px;top:17px;color:#a8b7a2;font-size:18px}.metric:first-child{background:#edf1e8;border-color:#d6dfcd}.metric:first-child .metric-icon{color:#687e56}.card{border:1px solid #dfe5d9;background:white;border-radius:10px;overflow:hidden}.card-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:19px 21px;border-bottom:1px solid #edf0e8;min-height:73px}.card-header .muted{display:block;margin-top:5px}.workbench{display:grid;grid-template-columns:minmax(0,1fr) 288px;gap:20px}.plan-tools{display:flex;align-items:center;gap:5px}.plan-tools select{font-size:11px;padding:5px;border:1px solid #dfe5d9;border-radius:4px;max-width:100px;color:#61765f}.plan-tools .text-button{margin-left:6px}.plan-viewport{height:475px;overflow:auto;position:relative;background:#fcfcfa;background-image:radial-gradient(#c9d0c330 .8px,transparent .8px);background-size:14px 14px;display:block}.plan-viewport svg{width:100%;min-height:100%;height:auto;display:block;touch-action:none}.plan-viewport #empty-plan{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;text-align:center;background:#fcfcfa}.empty-icon{font-size:42px;color:#99ab91}#empty-plan p{color:#8b9688;font-size:12px}.plan-footer{display:flex;justify-content:space-between;gap:12px;padding:13px 20px;border-top:1px solid #edf0e8;color:#8a9686;font-size:10px}.legend-dot{display:inline-block;width:7px;height:7px;background:#bc7950;border-radius:50%;margin-right:7px}.ocr-toolbar{display:flex;align-items:center;gap:13px;border-top:1px solid #edf0e8;padding:11px 20px;flex-wrap:wrap}.small-button{min-height:32px;padding:6px 11px;font-size:10px}.ocr-toolbar #ocr-status{font-size:10px;color:#8a7a60;line-height:1.5}.rooms-card .card-header{padding:19px 17px}.count{font-size:10px;padding:2px 6px;border-radius:4px;background:#eef2e9;color:#75816e;margin-left:5px}.room-list{padding:8px}.room-item{width:100%;border:1px solid transparent;border-radius:6px;padding:10px 8px;display:flex;gap:10px;background:none;align-items:center;text-align:left;position:relative}.room-item:hover{background:#f8f9f5}.room-item.selected{background:#f7efe6;border-color:#ead4bf}.room-id{display:grid;place-items:center;width:29px;height:29px;border-radius:5px;background:#eef2e8;font-size:10px;color:#6c815a;flex-shrink:0}.selected .room-id{background:#bc7951;color:white}.room-name{font-size:11px;display:block;font-weight:600;color:#455641}.room-area{font-size:10px;color:#929c8c;margin-top:4px;display:block}.room-power{margin-left:auto;font-size:11px;font-weight:600;white-space:nowrap;color:#576a4e}.room-item.excluded{opacity:.5}#inspector{border-top:1px solid #edf0e8;padding:16px}.field{display:block;margin-bottom:12px;font-size:10px;color:#77826e}.field input{display:block;width:100%;height:33px;border:1px solid #dce2d3;border-radius:5px;padding:7px 9px;color:#384b30;background:#fff;margin-top:5px;font-size:12px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.inspector-bottom{display:flex;justify-content:space-between;align-items:center}.inspector-bottom button{font-size:10px}.check-label{display:flex;align-items:center;gap:6px;font-size:10px;color:#79866f}.check-label input{accent-color:#627b52}.position-state{font-size:10px;color:#8d755f;margin:10px 0 7px}.rules{margin:20px 0}.rules summary{display:flex;align-items:center;gap:11px;cursor:pointer;list-style:none;padding:17px 21px;font-size:12px}.rules summary>span:first-child{color:#7d8e71;font-size:17px}.rules summary #rules-summary{font-size:11px;color:#88917e;margin-left:12px}.chevron{margin-left:auto}.rules-body{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:7px 21px 20px}.rules-body label{font-size:11px;color:#7c896e}.rules-body label span{display:block;margin-top:8px}.rules-body input{width:85px;padding:7px 9px;border:1px solid #dce3d1;border-radius:5px;color:#37492d;margin-right:4px}.rules-body p{grid-column:1/-1;font-size:11px;line-height:1.7;color:#8b947e;max-width:900px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;font-weight:500;color:#88937d;background:#f8faf4;padding:13px 18px;border-bottom:1px solid #e9eee0}td{font-size:11px;padding:15px 18px;border-bottom:1px solid #eef1e8;color:#53654a}td strong{font-weight:600;color:#3a5030}tr:last-child td{border-bottom:0}tfoot td{background:#f4f7ef;font-weight:600;border-top:1px solid #dfe6d5}.sub{display:block;margin-top:4px;font-size:9px;color:#929e86}.badge{display:inline-block;background:#edf3e7;color:#667f53;font-size:9px;padding:4px 6px;border-radius:4px;white-space:nowrap}.badge.warm{background:#fbefdf;color:#a17844}.footer{display:flex;justify-content:space-between;gap:20px;font-size:9px;color:#a1aa96;margin-top:28px;line-height:1.5}.footer b{margin:0 8px;color:#bac2ad}.catalog-note{font-size:12px;padding:20px;line-height:1.7;color:#7f8c70}.notice{background:#fff3dc;border:1px solid #f0d9b0;border-radius:6px;padding:12px 16px;font-size:12px;color:#8b6933;margin-bottom:18px}.materials-summary{display:flex;gap:20px;padding:20px;flex-wrap:wrap}.materials-summary strong{font-size:22px;display:block;margin-top:6px}.materials-summary>div{background:#f3f6ed;padding:17px 25px;border-radius:7px;font-size:11px;color:#81906f}dialog{border:1px solid #e0e6d5;border-radius:12px;box-shadow:0 25px 90px #19342330;width:min(760px,94vw);max-height:90vh;padding:27px;color:#374c2e}dialog::backdrop{background:#203b3459;backdrop-filter:blur(3px)}.dialog-header p{font-size:12px;line-height:1.6;color:#829174;margin:9px 0 20px}.review-row{display:grid;grid-template-columns:25px 1fr 100px;gap:10px;align-items:center;margin:9px 0}.review-row input:not([type=checkbox]){padding:8px;border:1px solid #dce3d1;border-radius:4px;width:100%}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}dialog details{font-size:12px;color:#829174;margin-top:20px}dialog textarea{width:100%;margin-top:10px;resize:vertical;padding:9px;border:1px solid #dce3d1;border-radius:5px}#toast{position:fixed;bottom:24px;left:calc(50% + 90px);transform:translateX(-50%);background:#2f4935;color:#fff;max-width:600px;padding:14px 21px;border-radius:8px;box-shadow:0 8px 30px #17302925;font-size:12px;z-index:50}.plan-label{cursor:grab}.plan-label:active{cursor:grabbing}[hidden]{display:none!important}.pin-mode{cursor:crosshair!important}.empty-rooms{padding:22px 15px;font-size:12px;color:#92a27e;line-height:1.7}.progress{cursor:progress}
@media(min-width:1600px){.plan-viewport{height:560px}.workbench{grid-template-columns:minmax(0,1fr) 315px}}@media(max-width:1250px){.sidebar{width:185px;padding:25px 12px}.brand{font-size:15px}.brand small{font-size:7px}.brand-icon{font-size:30px}main{margin-left:185px}.content{padding:25px 23px}.topbar{padding:0 23px}.workbench{grid-template-columns:minmax(0,1fr) 245px;gap:14px}.card-header{padding:16px}.plan-tools{gap:3px}.plan-tools .text-button{display:none}.metric{padding:15px}.metric-number{font-size:25px}.plan-viewport{height:450px}.plan-footer span:last-child{display:none}}
@media(max-width:950px){.sidebar{position:static;width:auto;height:auto;padding:15px 22px;display:flex;flex-direction:row;align-items:center;gap:30px}.sidebar-label,.sidebar-note,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:6px;margin-left:auto}.nav{width:auto;margin:0;padding:9px 12px;font-size:11px}.nav span{display:none}main{margin-left:0}.topbar{height:53px}.top-actions .avatar{display:none}.workbench{grid-template-columns:minmax(0,1fr) 250px}.page-heading h1{font-size:30px}.heading-actions .button{font-size:11px;padding:9px 12px}.project-line{flex-wrap:wrap}.project-line input{width:230px}.plan-viewport{height:450px}.footer{flex-direction:column;gap:5px}.metric-note{font-size:9px}}
@media(max-width:700px){.sidebar{padding:15px;gap:10px;flex-wrap:wrap}.brand{font-size:16px}.sidebar nav{width:100%;margin-top:10px;justify-content:space-between}.nav{flex:1;justify-content:center}.content{padding:22px 15px}.topbar{padding:0 15px}.breadcrumb{font-size:10px}.top-actions{gap:12px}.top-actions .text-button{font-size:10px}.page-heading{align-items:flex-start;flex-direction:column;gap:15px}.heading-actions{width:100%}.heading-actions button{flex:1}.page-heading h1{font-size:30px}.metrics{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:15px}.metric{padding:14px}.workbench{display:flex;flex-direction:column;gap:15px}.plan-viewport{height:360px}.card-header{padding:15px}.card-header h2{font-size:14px}.card-header .muted{font-size:10px}.plan-tools .icon-button{width:25px;height:25px}.plan-tools select{max-width:70px}.plan-footer{padding:11px 15px}.ocr-toolbar{padding:10px 14px;gap:10px}.rooms-card .room-list{display:grid;grid-template-columns:1fr 1fr}.room-item{padding:9px 6px;gap:6px}.room-id{width:25px}.room-power{font-size:10px}.room-name{font-size:10px}.rules summary{gap:7px;padding:15px}.rules summary #rules-summary{font-size:9px;margin-left:5px}.rules-body{grid-template-columns:repeat(3,1fr);gap:10px;padding:10px 15px 17px}.rules-body input{width:57px}.rules-body label{font-size:10px}.rules-body label span{font-size:9px}.project-line{gap:8px}.project-line #project-meta{font-size:10px}.project-line .text-button:first-of-type{margin-left:0}.project-line .text-button{font-size:10px}.table-card .card-header .muted{max-width:240px}#toast{left:50%;width:90vw}.review-row{grid-template-columns:25px 1fr 75px}dialog{padding:20px}.dialog-actions{flex-wrap:wrap}}
