g, '-$1').toLowerCase();
                code += `    ${cssProp}: ${value};\n`;
            }
            code += `}\n`;
            
            // Add item styles
            const items = document.querySelectorAll('.flex-item');
            items.forEach((item, index) => {
                const style = itemStyles[index];
                if (style && Object.keys(style).some(key => style[key] && style[key] !== 'none')) {
                    code += `\n.item-${index + 1} {\n`;
                    if (style.