.floor-toolbar {display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:16px 0;}
.floor-map {position:relative;width:100%;aspect-ratio:10/7;background-color:#f1eee6;background-image:linear-gradient(#ddd8ca 1px,transparent 1px),linear-gradient(90deg,#ddd8ca 1px,transparent 1px);background-size:5% 7.142%;border:2px solid #bdc7bc;border-radius:14px;overflow:hidden;touch-action:none;}
.floor-map button.floor-table {position:absolute;left:0;top:0;width:10%;height:14.285%;padding:3px;background:transparent;color:#193e30;touch-action:none;cursor:grab;border:2px solid transparent;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.floor-map button.floor-table.selected {border-color:#b90e29;background:#fff8;}
.floor-table.inactive {opacity:.45;}
.floor-table svg {width:72%;height:55%;overflow:visible;flex-shrink:0;}
.floor-table span {font-size:clamp(9px,1.2vw,14px);line-height:1.2;overflow-wrap:anywhere;max-width:100%;}
.floor-editor {display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:22px;align-items:start;}
.floor-editor>div {min-width:0;}
@media(max-width:760px){.floor-editor{grid-template-columns:minmax(0,1fr)}.floor-editor input,.floor-editor select{min-width:0;max-width:100%}.floor-editor .grid{grid-template-columns:minmax(0,1fr)}.floor-table span{font-size:9px}.floor-map{min-height:260px;}}
.floor-table span {white-space:nowrap;overflow-wrap:normal;}

.floor-map-scroll{overflow:auto;max-width:100%;max-height:650px;padding-bottom:8px}.floor-map{min-height:0;flex-shrink:0;background-size:32.5px 32.5px}
