/* 平面图编辑器样式 */
        .floor-plan-editor {

            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: min(90vw, 1000px);
            height: min(85vh, 700px);
            max-width: 1000px;
            max-height: 700px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        
}
.editor-header {

            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            border-bottom: 2px solid rgba(102, 126, 234, 0.2);
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
        
}
.editor-header h3 {

            margin: 0;
            color: #333;
            font-size: 20px;
        
}
.editor-floor-selector {

            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            background: rgba(0,0,0,0.05);
            padding: 5px;
            border-radius: 8px;
        
}
.editor-floor-selector .floor-btn {

            padding: 5px 15px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            background: transparent;
            transition: background 0.3s ease;
            font-size: 14px;
            color: #333;
        
}
.editor-floor-selector .floor-btn.active,
        .editor-floor-selector .floor-btn:hover {

            background: white;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            font-weight: bold;
        
}
.editor-content {

            flex: 1;
            display: flex;
            padding: 20px;
            gap: 20px;
            min-height: 0;
        
}
.editor-canvas-container {

            flex: 2;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 10px;
            border: 2px solid rgba(102, 126, 234, 0.2);
            overflow: hidden;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 0;
        
}
#floor-plan-canvas {

            display: block;
            cursor: crosshair;
            max-width: 100%;
            max-height: 100%;
            border-radius: 8px;
        
}
.editor-controls {

            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 20px;
            overflow-y: auto;
            min-height: 0;
        
}
