.planer-page .site-footer{display:none}.planer-app{max-width:1960px;margin:auto;padding:22px 22px 10px;color:#263d50;font-family:system-ui,-apple-system,sans-serif}.planer-app *{box-sizing:border-box}.planer-header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:18px}.planer-header h1{font-size:32px;line-height:1.1;margin:5px 0}.planer-header p{font-size:13px;color:#6b7d8b;margin:5px 0}.planer-header>a{font-size:12px;white-space:nowrap}.planer-eyebrow{font-size:10px;letter-spacing:2px;font-weight:800;color:#5082ab}.planer-app button,.planer-app input,.planer-app select{font:inherit;font-size:12px}.planer-app button{border:1px solid #d1dce6;border-radius:7px;padding:8px 10px;background:#fff;color:#35566f;cursor:pointer;line-height:1.3}.planer-app button:hover{border-color:#82a9c7;background:#f0f7fc}.planer-app button:disabled{cursor:default;opacity:.45}.planer-app button[aria-pressed=true]{background:#e3f0fb;border-color:#71a5ce;color:#165b91}.planer-app input:not([type=checkbox]):not([type=range]),.planer-app select{border:1px solid #ccd9e4;border-radius:6px;padding:8px;background:#fff;min-width:0;color:#2d4c65}.planer-app input[type=checkbox]{accent-color:#2683c9}.planer-app input[type=range]{accent-color:#3589ca;width:100%}.planer-app label{display:grid;gap:5px;font-size:11px;color:#63798b;margin:10px 0}.planer-app :focus-visible{outline:3px solid #e7b94c;outline-offset:2px}.planer-projectbar{display:flex;align-items:center;gap:12px;padding:11px 14px;border:1px solid #d4dfe8;border-radius:12px 12px 0 0;background:#fff}.planer-projectbar [data-project-name]{font-weight:700;max-width:350px;width:28%;border:0!important;font-size:14px!important}.planer-save-state{font-size:10px;color:#8397a5;flex:1}.planer-project-actions{display:flex;gap:6px}.planer-shell{display:grid;grid-template-columns:240px minmax(420px,1fr) 280px;height:calc(100vh - 260px);min-height:620px;border:1px solid #d4dfe8;border-top:0;border-radius:0 0 12px 12px;background:#f7f9fb;overflow:hidden}.planer-left,.planer-right{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;background:#fbfcfd}.planer-left{border-right:1px solid #dce5ec}.planer-right{border-left:1px solid #dce5ec}.planer-card{padding:15px 14px;border-bottom:1px solid #e2e9ef}.planer-card h2{font-size:12px;font-weight:750;margin:0 0 12px;line-height:1.5}.planer-card-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.planer-card-title h2{margin:0}.planer-card-title button{padding:3px 9px;font-size:18px}.planer-card summary{font-size:12px;font-weight:650;cursor:pointer}.planer-small,.planer-method p{font-size:10px;line-height:1.7;color:#7b8e9d}.planer-method a{display:block;font-size:10px;margin:9px 0;overflow-wrap:anywhere}.planer-inline-actions{display:flex;gap:5px;margin-top:10px}.planer-inline-actions button{flex:1;font-size:10px;padding:7px}.planer-building{margin:8px 0}.planer-building>button{border:0;background:transparent;width:100%;text-align:left;font-weight:700;padding:7px 4px}.planer-floor{display:flex;width:100%;align-items:center;justify-content:space-between;margin:3px 0;padding-left:18px!important;border:0!important;background:transparent!important;text-align:left}.planer-floor.active{background:#e8f3fc!important;color:#1e70af!important;font-weight:700}.planer-floor span{font-size:10px;color:#91a3b0}.planer-import{width:100%;border-style:dashed!important;background:#eff6fb!important;color:#2b75ad!important;padding:14px 8px!important;font-size:11px!important}.planer-file-name{font-size:10px;color:#8497a6;overflow-wrap:anywhere}.planer-scale-state{display:block;font-size:10px;padding:7px 0;color:#328864}.planer-scale-state.unconfirmed{color:#ac761c}.planer-candidates{padding:12px 8px;background:#fff4dc;border:1px solid #e4c06f;border-radius:7px;font-size:11px}.planer-candidates button{display:block;width:100%;margin-top:8px}.planer-danger{color:#a44747!important;margin-top:12px}.planer-workspace{min-width:0;min-height:0;display:flex;flex-direction:column;background:#f1f5f8}.planer-map-toolbar{background:#fff;border-bottom:1px solid #dce5ed;padding:8px;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.planer-tools,.planer-view-tools{display:flex;gap:4px}.planer-tools button,.planer-view-tools button{padding:7px 9px;font-size:11px}.planer-zone-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:5px 12px;background:#fafcfd;border-bottom:1px solid #e0e7ed}.planer-zone-toolbar label{display:flex;align-items:center;font-size:10px;gap:5px;margin:4px 0}.planer-zone-toolbar select{margin-left:auto;font-size:10px;padding:4px;max-width:200px}.planer-map-stage{position:relative;flex:1 1 0;min-height:0;overflow:hidden;background:#eaf0f4}.planer-map-stage>svg{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;user-select:none}.planer-map-stage>svg[data-tool=wall],.planer-map-stage>svg[data-tool=lamp],.planer-map-stage>svg[data-tool=controller],.planer-map-stage>svg[data-tool=calibrate]{cursor:crosshair}.planer-map-stage>svg[data-tool=erase]{cursor:not-allowed}.planer-map-badge{position:absolute;top:14px;left:14px;display:grid;gap:4px;padding:9px 13px;border:1px solid #dbe5eb;background:#ffffffed;border-radius:8px;font-size:10px;pointer-events:none}.planer-map-badge strong{font-size:12px}.planer-map-badge span{color:#8c9ba7}.planer-map-legend{position:absolute;left:12px;bottom:12px;right:12px;display:flex;justify-content:center;gap:14px;align-items:center;flex-wrap:wrap;padding:9px;border:1px solid #d8e4ed;background:#ffffffeb;border-radius:8px;font-size:9px;pointer-events:none}.planer-map-legend span{display:flex;align-items:center;gap:5px}.planer-map-legend i{width:9px;height:9px;border-radius:3px}.planer-map-legend .green{background:#45bf8a}.planer-map-legend .orange{background:#edb351}.planer-map-legend .red{background:#e7847b}.planer-map-bottom{display:flex;justify-content:space-between;gap:10px;padding:8px 12px;font-size:9px;color:#899ba9;background:#fff}.planer-summary{display:flex;gap:7px;flex-wrap:wrap;padding:9px 12px;background:#f7fafc}.planer-summary span{font-size:10px;padding:6px 10px;border:1px solid #dce6ed;border-radius:6px;background:#fff}.planer-summary b{font-size:14px;margin-right:4px}.planer-summary .green{color:#26865a}.planer-summary .orange{color:#b07924}.planer-summary .red{color:#ba5d54}.planer-busy{position:absolute;top:14px;right:14px;padding:10px 13px;border-radius:9px;background:#ffffffeb;box-shadow:0 2px 16px #154a6d15;font-size:11px;color:#52758f}.planer-tabs{position:sticky;top:0;display:flex;background:#fff;border-bottom:1px solid #dce5ed;z-index:2;padding:9px;gap:5px}.planer-tabs button{flex:1;font-size:11px}.planer-selected-product{font-size:12px;font-weight:700;line-height:1.6;color:#2b5d81;min-height:22px}.planer-search{width:100%;margin-bottom:10px}.planer-products{display:grid;gap:7px;max-height:370px;overflow:auto;scrollbar-width:thin}.planer-product{display:flex!important;align-items:center;gap:9px;text-align:left;width:100%;border-color:#e4ebf1!important;padding:7px!important}.planer-product img{width:43px;height:43px;object-fit:contain;flex:none}.planer-product span{display:grid;gap:3px;font-size:10px}.planer-product small{font-size:9px;font-weight:400;color:#8c9eac}.planer-product.active{border-color:#75a8d0!important;background:#edf6fc!important}.planer-inspector{font-size:11px;background:#f1f7fc}.planer-inspector p{font-size:11px;line-height:1.7;overflow-wrap:anywhere}.planer-inspector .planer-coordinate{display:grid;grid-template-columns:1fr 1fr;gap:8px}.planer-route{padding:10px;border:1px solid #d8e4ee;border-radius:7px;background:white;font-size:10px;line-height:1.7}.planer-network-node{display:flex;align-items:center;gap:8px;text-align:left;width:100%;margin:5px 0;font-size:10px!important}.planer-state-dot{width:9px;height:9px;border-radius:50%;background:#8c9cab;flex:none}.planer-state-dot.green{background:#31ac75}.planer-state-dot.orange{background:#dba43a}.planer-state-dot.red{background:#d86a5c}.planer-wall{cursor:pointer}.planer-node{cursor:grab}.planer-node.dragging{cursor:grabbing}.planer-node text{font-family:system-ui,sans-serif;pointer-events:none}.planer-notice{font-size:10px;color:#8c9ba6;line-height:1.6;margin:9px 4px}.planer-toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:300;background:#254c69;color:#fff;box-shadow:0 6px 28px #193c5330;border-radius:10px;padding:13px 22px;max-width:80vw;font-size:12px;line-height:1.6}.planer-dialog{border:1px solid #b7cbdc;border-radius:13px;padding:25px;max-width:440px}.planer-dialog h2{font-size:20px}.planer-dialog label{font-size:12px}.planer-dialog form>div{display:flex;justify-content:end;gap:10px;margin-top:18px}.planer-dialog::backdrop{background:#233a4b88}.planer-app [hidden]{display:none!important}.planer-app:fullscreen{padding:15px;background:#fff;overflow:auto}.planer-app:fullscreen .planer-shell{height:calc(100vh - 180px);min-height:400px}.planer-app:fullscreen .planer-header{margin-bottom:8px}.planer-app:fullscreen .planer-header p{display:none}.planer-app:fullscreen .planer-header h1{font-size:24px}@media(max-width:1300px){.planer-shell{grid-template-columns:210px minmax(350px,1fr) 250px}.planer-more-action{display:none}.planer-tools span{display:none}.planer-app{padding:16px 12px}.planer-zone-toolbar{gap:6px}.planer-map-legend{gap:8px}}@media(max-width:1050px){.planer-shell{grid-template-columns:210px minmax(350px,1fr);height:auto;min-height:0;overflow:visible}.planer-workspace{min-height:650px}.planer-right{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #dce5ed;max-height:650px}.planer-tabs{grid-column:1/-1}.planer-right>.planer-inspector{grid-column:2;grid-row:2}.planer-left{max-height:650px}.planer-header p{max-width:650px}.planer-projectbar{flex-wrap:wrap}.planer-projectbar [data-project-name]{width:50%}.planer-project-actions{width:100%;flex-wrap:wrap}}@media(max-width:650px){.planer-shell{display:flex;flex-direction:column}.planer-workspace{order:-1;height:65vh;min-height:500px}.planer-left{max-height:none;border-right:0}.planer-right{display:block;max-height:none}.planer-header>a{display:none}.planer-header h1{font-size:28px}.planer-map-toolbar{padding:5px}.planer-tools button{font-size:10px;padding:6px}.planer-map-bottom{font-size:8px}.planer-project-actions button{font-size:10px}.planer-map-legend{font-size:8px}.planer-zone-toolbar select{max-width:150px}.planer-notice{font-size:9px}}

[data-local-projects]{display:grid;gap:8px;max-height:50vh;overflow:auto}[data-local-projects] button{text-align:left;display:grid;gap:4px}[data-local-projects] small{font-size:10px;color:#8196a6}

.planer-app .planer-preserve{display:flex;align-items:start;gap:7px;font-size:10px;line-height:1.5}.planer-preserve input{margin-top:2px}.planer-candidate{cursor:pointer}.planer-candidate:hover{stroke:#d3552b}

.planer-selected-note{margin:0;padding:7px 12px;background:#fff6e3;color:#95713b;font-size:10px;line-height:1.5}

.planer-header-links{display:flex;gap:16px;align-items:center;font-size:12px;white-space:nowrap}.planer-defaults-badge{font-size:9px;border:1px solid #d7e4ed;background:#eef5fa;padding:4px 7px;border-radius:5px;color:#688498;max-width:220px}.planer-product-defaults{margin:8px 0;padding:8px 10px;border:1px solid #d6e3ed;border-radius:6px;font-size:10px;background:#fff;line-height:1.6}.planer-inspector details{margin:10px 0}.planer-inspector summary{font-size:11px}@media(max-width:850px){.planer-header-links{font-size:10px;gap:9px}.planer-defaults-badge{max-width:150px}}@media(max-width:650px){.planer-header-links{display:none}}

.planer-tools{flex-wrap:wrap}
.planer-map-stage>svg[data-tool=walls-select]{cursor:crosshair}
.planer-map-stage>svg[data-hover=object],.planer-map-stage>svg[data-hover=object] .planer-node{cursor:grab}
.planer-map-stage>svg[data-hover=object] .planer-node.dragging{cursor:grabbing}
.planer-selection-box{fill:rgba(38,131,201,.12);stroke:#2683c9;stroke-width:1.5;vector-effect:non-scaling-stroke;pointer-events:none}
.planer-wall-menu{position:absolute;width:240px;max-width:calc(100% - 16px);max-height:calc(100% - 16px);overflow:auto;overscroll-behavior:contain;z-index:10;padding:13px 14px;background:#fff;border:1px solid #c7d9e8;border-radius:11px;box-shadow:0 8px 30px #173e5c2b;color:#29485f;font-size:12px;line-height:1.5}
.planer-wall-menu-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.planer-wall-menu-head strong{font-size:13px;font-weight:700;line-height:1.4}
.planer-wall-menu-head button{flex:none;min-width:30px;min-height:30px;padding:4px 7px;font-size:16px}
.planer-wall-menu label{font-size:12px;margin:11px 0;gap:6px}
.planer-wall-menu select,.planer-wall-menu input[type=number]{width:100%;min-height:35px;font-size:13px}
.planer-wall-menu-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}
.planer-wall-menu-actions button{flex:1;min-height:34px;font-size:12px}

.planer-map-toolbar,.planer-zone-toolbar,.planer-selected-note,.planer-map-bottom,.planer-summary{flex:none}

.planer-project-actions{flex-wrap:wrap;justify-content:flex-end}.planer-app .planer-report-button{background:#315d87;color:#fff;border-color:#315d87}.planer-app .planer-report-button:hover{background:#244d75;color:#fff}.planer-report-progress{position:fixed;right:22px;bottom:22px;z-index:400;display:grid;gap:10px;width:330px;max-width:calc(100vw - 32px);padding:19px;border:1px solid #c8d9e7;background:#fff;border-radius:12px;box-shadow:0 8px 35px #21446130;font-size:12px}.planer-report-progress strong{font-size:14px}.planer-report-progress span{font-size:11px;overflow-wrap:anywhere;color:#607a90}.planer-report-progress progress{width:100%;height:12px;accent-color:#315d87}.planer-report-progress button{justify-self:end}

[data-planer-map][data-tool="pan"],[data-planer-map][data-tool="pan"] *{cursor:grab}
[data-planer-map][data-tool="pan"]:active,[data-planer-map][data-tool="pan"]:active *{cursor:grabbing}
[data-planer-map][data-tool="lamps-select"],[data-planer-map][data-tool="lamps-select"] *{cursor:crosshair}

.planer-building-dialog{width:min(96vw,1450px);max-width:96vw;max-height:94vh;overflow:auto;border:1px solid #bfd0d8;border-radius:12px;padding:18px}.planer-building-dialog::backdrop{background:#163142b8}.planer-building-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;position:sticky;top:0;background:white;z-index:2}.planer-building-actions h2{margin-right:auto}.planer-building-dialog svg{display:block;width:100%;min-width:950px;height:auto;margin:14px 0}.planer-channel-legend{display:flex;gap:7px;flex-wrap:wrap}.planer-channel-legend span{border-bottom:4px solid var(--channel);padding:2px 4px}.planer-zone-toolbar label{display:flex;align-items:center;gap:5px}
.planer-channel-legend [data-channel="1"]{--channel:#2459b8}
.planer-channel-legend [data-channel="2"]{--channel:#c03c75}
.planer-channel-legend [data-channel="3"]{--channel:#008674}
.planer-channel-legend [data-channel="4"]{--channel:#a45708}
.planer-channel-legend [data-channel="5"]{--channel:#7544b3}
.planer-channel-legend [data-channel="6"]{--channel:#0088ab}
.planer-channel-legend [data-channel="7"]{--channel:#ae3734}
.planer-channel-legend [data-channel="8"]{--channel:#567d15}
.planer-channel-legend [data-channel="9"]{--channel:#6654a6}
.planer-channel-legend [data-channel="10"]{--channel:#775249}
.planer-channel-legend [data-channel="11"]{--channel:#324957}
