<?xml version="1.0" encoding="utf-8"?>
<odoo>

    <menuitem id="menu_seo_content_root"
              name="SEO Content"
              groups="otoolkit_seo_content.group_seo_content_user"
              web_icon="otoolkit_seo_content,static/description/icon.png"
              sequence="90"/>

    <!-- Content Management Submenu -->
    <menuitem id="menu_seo_content_generator"
              name="Content"
              parent="menu_seo_content_root"
              sequence="5"/>

    <!-- Quick Action: Generate Content (prominent at top) -->
    <menuitem id="menu_generate_content"
              name="Generate Content"
              parent="menu_seo_content_root"
              action="action_generate_content_wizard"
              sequence="10"/>

    <menuitem id="menu_my_content"
              name="All Content"
              parent="menu_seo_content_generator"
              action="action_otk_seo_content"
              sequence="10"/>

    <menuitem id="menu_bulk_generation"
              name="Bulk Jobs"
              parent="menu_seo_content_generator"
              action="action_otk_seo_content_batch"
              sequence="20"/>

    <menuitem id="menu_ideas_queue"
              name="Ideas Queue"
              parent="menu_seo_content_generator"
              action="action_otk_seo_content_idea"
              sequence="25"/>

    <menuitem id="menu_generated_images"
              name="Images"
              parent="menu_seo_content_generator"
              action="action_otk_seo_content_image"
              sequence="30"/>

    <!-- Reporting Submenu -->
    <menuitem id="menu_seo_content_reporting"
              name="Reporting"
              parent="menu_seo_content_root"
              sequence="80"/>

    <menuitem id="menu_seo_dashboard"
              name="Dashboard"
              parent="menu_seo_content_reporting"
              action="action_seo_content_dashboard_owl"
              sequence="5"/>

    <menuitem id="menu_token_usage"
              name="Token Usage"
              parent="menu_seo_content_reporting"
              action="action_seo_content_token_usage"
              sequence="10"/>

    <menuitem id="menu_content_by_type"
              name="Content by Type"
              parent="menu_seo_content_reporting"
              action="action_seo_content_by_type"
              sequence="20"/>

    <menuitem id="menu_content_by_state"
              name="Content by Status"
              parent="menu_seo_content_reporting"
              action="action_seo_content_by_state"
              sequence="30"/>

    <!-- Configuration Submenu -->
    <menuitem id="menu_seo_content_config"
              name="Configuration"
              parent="menu_seo_content_root"
              sequence="90"
              groups="base.group_system"/>

    <menuitem id="menu_content_templates"
              name="Content Templates"
              parent="menu_seo_content_config"
              action="action_otk_seo_template"
              sequence="10"/>

    <menuitem id="menu_brand_voices"
              name="Brand Voices"
              parent="menu_seo_content_config"
              action="action_otk_seo_brand_voice"
              sequence="20"/>

    <menuitem id="menu_reference_library"
              name="Reference Library"
              parent="menu_seo_content_config"
              action="action_otk_seo_reference"
              sequence="30"/>

    <menuitem id="menu_reference_tags"
              name="Reference Tags"
              parent="menu_seo_content_config"
              action="action_otk_seo_reference_tag"
              sequence="35"/>

</odoo>
