@charset "UTF-8";
:root{color-scheme:light;--ink:#263347;--muted:#8d918f;--cream:#f5f3ee;--line:#e7e5de;--wood:#ad8060;--mint:#96afa1;--navy:#28374b;font-family:"Segoe UI","Malgun Gothic",Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);height:100dvh;overflow:hidden}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.35;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--wood);outline-offset:3px}button{transition:background .18s,transform .18s}button:hover:not(:disabled){filter:brightness(.97)}.header{height:91px;background:#fffefa;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 33px;gap:20px}.brand{display:flex;gap:11px;text-decoration:none;color:var(--ink);font-size:21px;letter-spacing:-1px}.brand b{font-weight:650}.brand small{display:block;font-size:11px;letter-spacing:3px;color:#9a9086;margin-top:5px}.brand-mark{font-size:29px;color:#fff;background:var(--navy);border-radius:12px;display:grid;place-items:center;width:42px;height:46px}.project{display:flex;align-items:center;gap:9px;font-size:11px;color:#8b8b87}.status-dot,.mini-dot{display:inline-block;width:6px;height:6px;background:#86a395;border-radius:50%}.divider{height:12px;width:1px;background:#ddd;margin:0 12px}.header-actions{display:flex;gap:9px}.btn{border:1px solid var(--line);background:#fffefa;border-radius:7px;padding:10px 15px;font-size:12px;color:var(--ink)}.btn.primary{background:var(--navy);color:white;border-color:var(--navy);padding:11px 18px}.btn.primary span{margin-left:17px}.danger{color:#a26b64}main{height:calc(100dvh - 91px);display:grid;grid-template-columns:292px minmax(300px,1fr) 245px}.panel{background:#fffefa}.library{padding:32px 23px 0;border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.eyebrow{font-size:11px;font-weight:650;letter-spacing:2.2px;color:#ac8b73}h1{font-size:25px;line-height:1.5;letter-spacing:-1.3px;font-weight:650;margin:12px 0 8px}.muted{font-size:11px;color:var(--muted);line-height:1.8;margin:0}.search{margin:25px 0 18px;display:flex;align-items:center;gap:8px;background:#f5f4f0;border:1px solid var(--line);border-radius:7px;padding:10px}.search>span{font-size:21px;line-height:16px;color:#999}.search input{border:0;outline:0;background:transparent;width:100%;min-width:0;font-size:11px;color:var(--ink)}kbd{font-size:11px;background:#fffefa;border:1px solid #e2e0da;border-radius:3px;padding:2px 5px;color:#9c9c96;box-shadow:0 1px #e1dfd9}.categories{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:23px}.category{font-size:11px;padding:7px 10px;border:1px solid var(--line);color:#858780;border-radius:20px;background:#fffefa}.category.active{background:var(--navy);border-color:var(--navy);color:white}.section-label{display:flex;justify-content:space-between;gap:10px;font-size:11px;font-weight:600;margin-bottom:14px}.section-label span:last-child{font-weight:400;color:#a19b92;font-size:11px}.catalog{display:grid;grid-template-columns:1fr 1fr;gap:11px;overflow:auto;align-content:start;flex:1;min-height:150px;padding-bottom:15px;scrollbar-width:thin}.asset-card{border:0;background:none;text-align:left;padding:0;color:var(--ink);min-width:0}.asset-preview{background:#f2f0e9;border:1px solid #ebe8df;border-radius:8px;aspect-ratio:1;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.asset-preview img{width:100%;height:100%;object-fit:contain}.asset-card:hover .asset-preview{border-color:var(--wood);background:#e9e4da}.asset-symbol{font-size:34px;color:#b3a08b;font-weight:200}.asset-add{position:absolute;right:6px;bottom:6px;border-radius:50%;background:#fffefa;color:var(--wood);width:22px;height:22px;text-align:center;font-size:17px;line-height:21px}.asset-name{font-size:11px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:8px}.asset-kind{font-size:11px;color:#a29c92;display:block;margin-top:4px}.empty{grid-column:1/-1;padding:30px 9px;text-align:center;color:#99958c;font-size:11px;line-height:1.8}.library-footer{display:flex;gap:10px;padding:17px 0;border-top:1px solid var(--line);align-items:center}.lock{font-size:17px;color:#a59c8e}.library-footer b{font-size:11px;font-weight:500;display:block}.library-footer small{font-size:11px;color:#9d9a93;display:block;margin-top:5px}.workspace{display:flex;flex-direction:column;min-width:0;padding:29px 23px 0;min-height:0}.workspace-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px}.workspace-heading .eyebrow{color:#a5a29b;font-size:11px;letter-spacing:2px}h2{font-size:18px;font-weight:600;letter-spacing:-.6px;margin:9px 0 0}.workspace-heading h2 span{font-size:11px;font-weight:400;color:#a19b92;background:#e9e7e0;padding:4px 8px;border-radius:20px;letter-spacing:0;margin-left:10px}.history{display:flex;gap:6px}.history button{border:1px solid #e1ded5;border-radius:6px;background:#fffefa;font-size:20px;color:#8b897f;width:32px;height:32px}#viewport{flex:1;position:relative;min-height:320px;border:1px solid #e5e1d7;border-radius:12px;overflow:hidden;background:#e9e5dc}canvas{width:100%;height:100%;display:block;touch-action:none}.scene-tag{position:absolute;left:18px;top:19px;display:flex;gap:6px;align-items:center;font-size:11px;color:#7b8279;pointer-events:none}.scene-tag-secondary{color:#a29c90;margin-left:5px;font-size:11px}.view-controls{display:flex;position:absolute;right:15px;top:14px;background:#fffef9ee;padding:4px;border:1px solid #e6e2d7;border-radius:8px;gap:3px}.view-controls button{border:0;background:none;border-radius:5px;color:#97968a;padding:8px;font-size:11px}.view-controls button.active{background:#eae6dc;color:#5e665e}.welcome{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);text-align:center;color:#7c7e74;background:#fffef7d9;padding:22px 28px;border:1px solid #e7e1d4;border-radius:11px;box-shadow:0 8px 28px #7a77640c;width:230px}.welcome>div{font-size:22px;color:#a99985;margin-bottom:10px}.welcome b{font-size:12px;font-weight:500;display:block}.welcome span{font-size:11px;display:block;line-height:1.9;color:#a09b90;margin-top:9px}.scene-bottom{position:absolute;bottom:17px;left:0;right:0;display:flex;gap:18px;justify-content:center;font-size:11px;color:#9b978b;pointer-events:none}.mouse-icon{display:inline-block;border:1px solid #aba798;width:8px;height:11px;border-radius:4px;margin-right:5px;vertical-align:-2px}.workspace-footer{display:flex;justify-content:space-between;gap:12px;padding:17px 2px 20px;font-size:11px;color:#aaa69d}.mini-dot{width:4px;height:4px;margin-right:5px;background:#aab39e}.inspector{border-left:1px solid var(--line);padding:32px 23px;overflow:auto}.inspector h2{font-size:16px;margin:10px 0 25px}.field{font-size:11px;color:#8e8f85;display:block;margin-bottom:17px}.field>div{display:flex;align-items:center;border:1px solid var(--line);border-radius:6px;margin-top:7px;overflow:hidden}.field input{width:100%;padding:9px 11px;min-width:0;border:0;background:transparent;color:var(--ink);font-size:11px}.field>div>span{padding-right:11px;color:#a49d92;font-size:11px}.field select{display:block;margin-top:7px;border:1px solid var(--line);border-radius:6px;background:transparent;color:var(--ink);width:100%;padding:9px;font-size:11px}.switch-row{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#858a80;margin-bottom:17px}.switch-row input{appearance:none;width:26px;height:15px;border-radius:20px;background:#d9d8ce;position:relative;margin:0;cursor:pointer}.switch-row input:checked{background:#93ab9b}.switch-row input:after{content:"";position:absolute;width:11px;height:11px;border-radius:50%;background:white;top:2px;left:2px;transition:left .2s}.switch-row input:checked:after{left:13px}.rule{border-top:1px solid var(--line);margin:27px 0 24px}.selection-empty{text-align:center;font-size:11px;line-height:1.9;color:#aaa59a;padding:18px 5px 12px}.selection-empty span{display:block;color:#bbb2a3;font-size:30px;margin-bottom:10px}.coordinate-row{display:flex;gap:9px;margin:19px 0}.coordinate-row label{font-size:11px;color:#9b958c;width:50%}.coordinate-row input{width:100%;margin-top:6px;border:1px solid var(--line);padding:9px;border-radius:6px;background:transparent;font-size:11px;color:var(--ink)}#selection-name{font-size:13px;font-weight:500;margin:17px 0 6px;word-break:break-all}.source{font-size:11px;color:#aaa;line-height:1.6;word-break:break-all;max-height:50px;overflow:auto}.rotate-actions,.object-actions{display:flex;gap:7px;margin-bottom:10px}.rotate-actions .btn,.object-actions .btn{flex:1;font-size:11px;padding:9px 0}.small{font-size:11px}.tips{margin-top:30px;padding:17px 15px;background:#f4f2ec;border:1px solid #eae5da;border-radius:8px}.tips>span{color:#a1846d;font-size:11px}.tips p{font-size:11px;color:#969183;line-height:1.9;margin:8px 0 12px}.tips>div{color:#a9a194;font-size:11px}.tips kbd{margin-right:5px}.tips kbd:last-of-type{margin-left:8px}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,15px);background:var(--navy);color:#fffefa;padding:12px 20px;font-size:12px;border-radius:8px;box-shadow:0 4px 20px #26334722;opacity:0;pointer-events:none;transition:all .2s;z-index:20}#toast.visible{opacity:1;transform:translate(-50%,0)}.loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fffefae8;padding:18px 24px;border-radius:9px;display:flex;align-items:center;gap:12px;font-size:11px;color:#8d857b;z-index:5}.spinner{width:16px;height:16px;border:2px solid #ddd6ca;border-top-color:var(--wood);border-radius:50%;animation:spin 1s linear infinite}[hidden]{display:none!important}@keyframes spin{to{transform:rotate(360deg)}}.error-panel{position:fixed;z-index:50;max-width:480px;top:50%;left:50%;transform:translate(-50%,-50%);padding:30px;background:#fffefa;border:1px solid #d7c8ae;border-radius:10px;box-shadow:0 10px 70px #26334733;font-size:13px;line-height:1.8}@media(min-width:1650px){main{grid-template-columns:322px minmax(400px,1fr) 270px}.library,.inspector{padding-left:28px;padding-right:28px}.workspace{padding:35px 33px 0}}@media(max-width:1100px){main{grid-template-columns:235px minmax(300px,1fr) 210px}.header{padding:0 20px}.project>span:last-child,.project .divider{display:none}.library,.inspector{padding:26px 17px}.workspace{padding:26px 16px 0}h1{font-size:22px}.view-controls button{padding:7px 5px}.scene-tag-secondary{display:none}}@media(max-width:850px){body{height:auto;overflow:auto}.header{height:75px}.brand{font-size:17px}.project{display:none}.header-actions .btn{padding:9px 11px;font-size:11px}main{height:auto;grid-template-columns:200px 1fr}.workspace{min-height:650px}.inspector{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:23px;border-left:0;border-top:1px solid var(--line)}.inspector .eyebrow,.inspector h2,.rule,.selection-empty,.tips,.inspector>.section-label{display:none}#selection-controls{grid-column:1/-1}.coordinate-row{max-width:300px}.library{padding:24px 15px}.catalog{max-height:480px}h1{font-size:19px}.workspace-heading h2 span{display:none}}@media(max-width:600px){main{display:flex;flex-direction:column}.header{padding:0 14px}.brand small{font-size:11px;letter-spacing:2px}.brand-mark{width:32px;height:36px;font-size:25px}.library{order:2;padding:20px;border-top:1px solid var(--line);border-right:0}.library h1{font-size:19px;margin:8px 0}.library h1 br{display:none}.library>.eyebrow,.library>.muted{display:none}.search{margin:15px 0}.categories{margin-bottom:17px}.catalog{grid-template-columns:repeat(3,1fr);max-height:360px}.library-footer{margin-top:10px}.workspace{order:1;min-height:570px;padding:20px 12px 0}.inspector{order:3;grid-template-columns:1fr 1fr}#viewport{min-height:420px}.scene-tag{left:12px;top:21px}.view-controls{right:10px}.scene-bottom{gap:9px;font-size:11px}.workspace-footer{padding:13px 1px}.workspace-footer>span:first-child{font-size:11px}.header-actions .btn{font-size:11px;padding:9px}.btn.primary span{margin-left:5px}}

.room-map{height:70px;margin:8px 0;background:#f5f4ef;border-radius:6px}.room-map:empty{display:none}.room-map svg{width:100%;height:100%;padding:6px}select:disabled{opacity:.7;color:#647568}

body.initializing main,body.initializing .header-actions{pointer-events:none}

.categories{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:20px}.category-field{min-width:0;font-size:11px;color:#929187}.category-field>span{display:block;margin-bottom:7px}.category-field select{width:100%;min-width:0;padding:9px 6px;border:1px solid var(--line);border-radius:7px;background:#fffefa;color:var(--ink);font-size:11px}.asset-kind{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.selection-toolbar{position:absolute;bottom:46px;left:50%;transform:translateX(-50%);z-index:6;padding:9px;background:#fffefaf2;border:1px solid #dfd9cc;border-radius:12px;box-shadow:0 8px 28px #2633471a;max-width:calc(100% - 24px)}.toolbar-selection-name{display:block;font-size:11px;text-align:center;margin:0 8px 8px;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#786b5a}.selection-toolbar-actions{display:flex;gap:5px}.selection-toolbar-actions button{display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;min-width:72px;padding:10px 12px;border:1px solid var(--line);background:#f7f5ef;border-radius:7px;color:var(--ink);font-size:13px}.selection-toolbar-actions button span{font-size:11px}.selection-toolbar-actions .danger{color:#a26b64;background:#fff5f1}#deselect{color:#9b695d;margin-left:6px;background:#fff9f3;border:1px solid #d8b8a0}.has-selection .asset-card:disabled{opacity:.65;cursor:default}.has-selection .asset-card:disabled .asset-add{visibility:hidden}.has-selection .scene-bottom{opacity:.6}@media(max-width:600px){.selection-toolbar-actions button{min-width:58px;padding:10px 8px}.toolbar-selection-name{max-width:260px}.view-controls{max-width:calc(100% - 18px);flex-wrap:wrap;justify-content:flex-end}.scene-tag{top:65px}}

#mount-controls{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 3px 10px}#mount-controls[hidden]{display:none}#mount-controls .field{font-size:11px;margin:0;min-width:0}#mount-controls input,#mount-controls select{font-size:11px;padding:7px;width:100%;min-width:0}#mount-controls .field>div{display:flex;align-items:center;gap:4px}

.selection-toolbar{background:transparent;border:0;box-shadow:none;padding:0;max-width:260px;min-width:148px;transform:translateX(-50%);pointer-events:none}.toolbar-selection-name{display:none}.selection-toolbar-actions{position:relative;width:148px;height:148px;margin:auto;display:block;border-radius:50%;background:#fffefa70;border:1px solid #e3ded480;backdrop-filter:blur(2px)}.selection-toolbar-actions button{position:absolute;width:40px;height:40px;min-width:40px;padding:0;border-radius:50%;font-size:22px;pointer-events:auto;box-shadow:0 2px 8px #26334718;background:#fffefa}.selection-toolbar-actions button span{font-size:22px}.selection-toolbar-actions #rotate-left{left:4px;top:53px}.selection-toolbar-actions #duplicate{left:53px;top:4px}.selection-toolbar-actions #delete{left:53px;bottom:4px}.selection-toolbar-actions #rotate-right{right:4px;top:53px}#mount-controls{pointer-events:auto;background:#fffefaf0;border-radius:9px;padding:8px;margin-bottom:6px}#draw-wall{width:auto!important;padding:0 10px;font-size:11px}#draw-wall.active{background:#96afa1;color:white}

.selection-toolbar-actions #deselect-center{left:50%;top:50%;transform:translate(-50%,-50%);width:38px;height:38px;min-width:38px;background:#eef3ef;color:#52715e;border-color:#cbd7cd}

.preview-select-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none}.preview-select-trigger{display:block;width:100%;padding:9px;border:1px solid var(--line);border-radius:7px;text-align:left;background:#fffefa;color:var(--ink);font-size:11px}.preview-select-trigger:after{content:'⌄';float:right}.preview-select-menu{position:fixed;z-index:120;max-height:240px;overflow:auto;padding:4px;background:#fffefa;border:1px solid #d6d8d1;border-radius:9px;box-shadow:0 7px 24px #26334726}.preview-select-menu[hidden]{display:none}.preview-select-menu button{display:block;width:100%;padding:8px;text-align:left;border:0;border-radius:5px;background:transparent;color:var(--ink);font-size:11px}.preview-select-menu button:hover,.preview-select-menu button:focus{background:#fce4df;outline:none}.preview-select-menu button[aria-selected=true]{font-weight:650}#mount-controls output{display:block;flex:1;padding:7px;border-radius:6px;background:#f1f2ec;font-size:11px;color:#617060}

/* More catalogue columns when the viewport leaves enough room for the scene. */
@media (min-width: 1400px) {
  main { grid-template-columns: 410px minmax(400px, 1fr) 245px; }
  .catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1650px) {
  main { grid-template-columns: 420px minmax(400px, 1fr) 270px; }
}
@media (min-width: 1800px) {
  main { grid-template-columns: 540px minmax(400px, 1fr) 270px; }
  .catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

#search-clear{flex:0 0 24px;width:24px;height:24px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:#e8e5dd;color:#777a75;font-size:20px;line-height:1}
#search-clear:hover{background:#ded8cc;color:var(--ink)}

/* Compact search controls share the same box and text baseline. */
#search-shortcut,#search-clear{box-sizing:border-box;flex:0 0 18px;width:18px;height:18px;display:grid;place-items:center;padding:0;border:1px solid #e2e0da;border-radius:3px;background:#fffefa;color:#9c9c96;box-shadow:0 1px #e1dfd9;line-height:1}
#search-shortcut{font-size:11px}#search-clear{font-size:14px}#search-clear:hover{background:#eee9de;color:var(--ink)}
.asset-add{display:grid;place-items:center;line-height:1;font-family:Arial,sans-serif}
.wall-draw-guide{position:absolute;left:50%;bottom:50px;transform:translateX(-50%);z-index:7;display:flex;align-items:center;gap:12px;max-width:calc(100% - 24px);padding:10px 12px;border:1px solid #accdb9;border-radius:8px;background:#f7fff9f5;box-shadow:0 4px 18px #26334715;color:#276545;font-size:11px}
.wall-draw-guide button{flex-shrink:0;white-space:nowrap;border:1px solid #bdd2c4;border-radius:5px;background:white;padding:6px 8px;color:#476651;font-size:11px}.wall-draw-guide kbd{margin-left:4px}.history button.active{background:#e3f0e8;color:#276545;border-color:#8eb79e}
@media(max-width:600px){.wall-draw-guide{gap:6px;padding:8px;font-size:11px}.wall-draw-guide button{font-size:11px}}

.asset-add svg{display:block;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}

/* Shortcut rows reserve their own line height, including keycap borders. */
.tips .tips-shortcuts{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;font-size:11px;line-height:1.6}
.tips .tip-shortcut-row{display:flex;align-items:center;flex-wrap:wrap;gap:5px 7px;min-height:22px}
.tips .tip-shortcut-row kbd{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:20px;margin:0;padding:2px 5px;font-size:11px;line-height:1.4}
.tips .tip-shortcut-row span{line-height:1.6}
.drag-mode-controls{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);z-index:8;display:flex;gap:3px;padding:4px;max-width:calc(100% - 24px);border:1px solid #dfd9cc;border-radius:9px;background:#fffefaf5;box-shadow:0 3px 12px #26334712}
.drag-mode-controls button{white-space:nowrap;border:0;border-radius:6px;padding:9px 14px;background:transparent;color:#929087;font-size:11px}
.drag-mode-controls button[aria-pressed=true]{background:var(--navy);color:white}.space-panning .drag-mode-controls{border-color:#96afa1;box-shadow:0 0 0 2px #96afa130}
.scene-bottom{bottom:67px;flex-wrap:wrap;gap:4px 14px;padding:0 12px;line-height:1.6;text-align:center}.wall-draw-guide{bottom:98px}
@media(max-width:600px){.drag-mode-controls button{padding:8px 10px;font-size:11px}.scene-bottom{font-size:11px}}

.search .search-icon{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;font-size:0;line-height:0}
.search-icon svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
#search-clear{line-height:0}#search-clear svg{display:block;width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
#scene,#scene:focus,#scene:focus-visible{outline:none;box-shadow:none}

.room-map{height:140px;display:flex;flex-direction:column;overflow:hidden}.room-map svg{flex:1;display:block;min-height:0;height:116px;padding:6px}.room-map-caption{flex-shrink:0;margin:0;padding:0 6px 6px;font-size:11px;line-height:1.5;text-align:center;color:#84907f}.room-map g[role=button]{cursor:pointer}.room-map g[aria-disabled=true]{cursor:default}.room-map g[role=button]:hover .room-map-region,.room-map g[role=button]:focus-visible .room-map-region{filter:brightness(.94)}

.room-map[data-mode="wall"]{height:242px}.room-map[data-mode="wall"] svg{height:210px;padding:2px}.room-map[data-mode="wall"] .room-map-caption{font-size:11px;line-height:1.5;padding:0 8px 8px}

.wall-draw-guide{flex-wrap:wrap}.wall-edit-tools{display:flex;gap:4px}.wall-edit-tools button{white-space:nowrap}.wall-edit-tools button[aria-pressed="true"]{background:#344738;color:#fff}.wall-edit-tools button:focus-visible{outline:2px solid #78987e;outline-offset:2px}

.wall-editing .scene-bottom{display:none}.wall-editing .wall-draw-guide{bottom:12px}

.loading-progress{display:none}body:is(.initializing,.scene-loading) #viewport>:not(#loading){visibility:hidden}body:is(.initializing,.scene-loading) .loading{inset:0;transform:none;border-radius:inherit;background:#e9e5dc;z-index:150;flex-direction:column;justify-content:center;gap:16px;color:#58685e}body:is(.initializing,.scene-loading) .loading .spinner{display:none}body:is(.initializing,.scene-loading) .loading-progress{display:block;width:min(260px,70%);height:8px;accent-color:#789984;border:none;border-radius:8px;overflow:hidden}body:is(.initializing,.scene-loading) .loading-progress::-webkit-progress-bar{background:#d3d7cd;border-radius:8px}body:is(.initializing,.scene-loading) .loading-progress::-webkit-progress-value{background:#789984;border-radius:8px}body.scene-loading main,body.scene-loading .header-actions{pointer-events:none}
.wall-editing #welcome{display:none}

.wall-removal-box{position:absolute;z-index:105;pointer-events:none;border:1px dashed #c14d43;background:#d8584814;box-shadow:0 0 0 1px #fff8}.placement-loading{position:absolute;z-index:120;pointer-events:none;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;gap:7px;color:#42594c;font-size:11px;white-space:nowrap}.placement-loading>span:last-child{background:#fffefaed;padding:5px 9px;border-radius:6px;box-shadow:0 2px 8px #26334720}.placement-spinner{display:block;width:32px;height:32px;border:3px solid #fffefae8;border-top-color:#6a9379;border-radius:50%;background:#f9fcf580;box-shadow:0 1px 7px #26334725;animation:spin .8s linear infinite}.placing-furniture #loading{display:none}

.placement-spinner{will-change:transform}

.plan-rotation-controls{display:inline-flex;align-items:center;gap:3px}.plan-rotation-controls output{font-size:11px;min-width:28px;text-align:center;color:#768375}.view-controls{flex-wrap:wrap;justify-content:flex-end;max-width:calc(100% - 24px)}

/* Remix Icon paths use a small outline expansion for stronger handler symbols. */
.selection-toolbar-actions .handler-icon{width:22px;height:22px;fill:currentColor;stroke:currentColor;stroke-width:.55;stroke-linejoin:round;pointer-events:none}
.selection-toolbar-actions #delete{background:#c44740;border-color:#c44740;color:#fff}
.selection-toolbar-actions #delete:hover{background:#aa3731;border-color:#aa3731}
.selection-toolbar-actions #deselect-center{background:#39835a;border-color:#39835a;color:#fff}
.selection-toolbar-actions #deselect-center:hover{background:#2d6d49;border-color:#2d6d49}

.home-heading{min-width:0;flex:1}.home-picker{display:flex;align-items:center;gap:8px;margin-bottom:10px}.home-picker select{min-width:0;max-width:320px;width:100%;border:1px solid var(--line);border-radius:7px;padding:6px 8px;background:#fffefa;color:var(--ink);font-size:11px}.home-picker button{flex-shrink:0;border:1px solid #cdd8cf;border-radius:7px;background:#edf3ee;color:#456a54;padding:7px 9px;font-size:11px}.workspace-heading{gap:12px;align-items:flex-end}.workspace-heading h2{display:flex;align-items:center;gap:9px;min-width:0}.workspace-heading h2 #home-name{font:inherit;color:inherit;background:none;border:0;padding:0;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%}.workspace-heading h2 #home-name:hover{text-decoration:underline;text-decoration-color:#ad8060;text-underline-offset:4px}.workspace-heading h2 #placed-count{flex-shrink:0}.workspace-heading .history{flex-shrink:0}.home-dialog{width:min(440px,calc(100vw - 32px));padding:28px;border:1px solid var(--line);border-radius:14px;background:#fffefa;color:var(--ink);box-shadow:0 20px 90px #26334744}.home-dialog::backdrop{background:#26334766}.home-dialog h2{font-size:20px;margin:0 0 24px}.home-dialog .field input,.home-dialog .field select{width:100%;padding:10px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);font-size:13px}.home-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}
.workspace-heading h2 #home-name::after{content:" ✎";font-size:13px;color:#9a8069;font-weight:400}

/* Five outer actions around the existing central confirm button. */
.selection-toolbar-actions #duplicate{left:53px;top:1px}
.selection-toolbar-actions #rotate-left{left:3px;top:38px}
.selection-toolbar-actions #rotate-right{right:3px;top:38px}
.selection-toolbar-actions #delete{left:85px;top:97px;bottom:auto}
.selection-toolbar-actions #move-furniture{left:21px;top:97px;cursor:grab;touch-action:none;user-select:none}
.selection-toolbar-actions #move-furniture:active,.selection-toolbar-actions #move-furniture.active{cursor:grabbing;background:#e2eee7;border-color:#39835a;color:#246342}
