.room-layout-editor{position:fixed;z-index:120;right:82px;top:88px;width:min(430px,calc(100vw - 110px));max-height:calc(100dvh - 108px);overflow:auto;padding:18px;border:1px solid #ffffff29;border-radius:18px;background:#241e2dec;color:#eee6f4;box-shadow:0 16px 60px #0006;backdrop-filter:blur(18px);font:14px/1.4 Inter,system-ui,sans-serif}
.room-layout-editor[hidden]{display:none}.room-layout-editor header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.room-layout-editor h2{font-size:22px;margin:0}.room-layout-editor small{color:#beadcc;font-size:10px;letter-spacing:.12em}.room-layout-editor p{margin:10px 0}.layout-help,.layout-instruction{color:#cbbdd5;font-size:12px}.room-layout-editor button,.room-layout-editor select,.room-layout-editor input{background:#ffffff08;border:1px solid #c5a5dd33;color:#eee6f4;border-radius:8px;font:inherit;min-height:34px;padding:6px 10px}.room-layout-editor select{background:#302639}.room-layout-editor button:disabled{opacity:.36}.room-layout-editor button:not(:disabled){cursor:pointer}.room-layout-editor button:hover:not(:disabled),.room-layout-editor [aria-pressed=true]{background:#765a8d7a;border-color:#bf97d9}.room-layout-editor :focus-visible{outline:2px solid #d3afe8;outline-offset:2px}.layout-toolbar{display:flex;gap:6px;flex-wrap:wrap}.layout-toolbar button{flex:1;white-space:nowrap;font-size:12px}.layout-plan{display:block;background:#19151f;width:100%;max-height:40dvh;aspect-ratio:1;margin:12px 0 8px;border:1px solid #e6d6f322;border-radius:12px;touch-action:none;cursor:crosshair}.layout-plan [data-kind]{cursor:grab}.layout-plan [data-kind]:active{cursor:grabbing}.layout-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#d6c4e0}.layout-meta select{min-height:28px;padding:3px}.layout-coordinates{display:flex;gap:12px;margin-top:10px}.layout-coordinates[hidden]{display:none}.layout-coordinates label{display:flex;align-items:center;gap:8px}.layout-coordinates input{width:80px}.layout-status{font-size:12px;color:#b4d7c8;min-height:1.4em}.layout-status.is-error{color:#ffd4ac}.room-layout-editor footer{display:flex;gap:6px;align-items:center;border-top:1px solid #ffffff15;padding-top:12px}.room-layout-editor footer span{flex:1}.room-layout-editor footer button{font-size:12px}.room-layout-editor .layout-apply{background:#d1addf;color:#281b32;font-weight:700}.room-layout-editor .layout-apply:hover:not(:disabled){background:#e0c3eb}@media(max-width:700px){.room-layout-editor{right:12px;top:78px;width:calc(100vw - 100px);padding:12px;max-height:calc(100dvh - 94px)}.layout-plan{max-height:32dvh}.room-layout-editor footer{flex-wrap:wrap}}
