<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="True">
    <Style src="../Common.uss" />
    <ui:VisualElement name="assetgen-section" class="section">
        <ui:Label text="AI Asset Generation" class="section-title" />
        <ui:VisualElement class="section-content">
            <ui:Label name="assetgen-help" class="validation-description" text="Enter your own provider API keys. Generation is triggered via MCP tools / CLI, not here. Keys are stored in your OS secure store (Keychain / Credential Manager / libsecret), never in the project." />
            <ui:VisualElement name="gltfast-notice" class="warning-banner">
                <ui:Label class="warning-banner-text" text="GLB import needs the glTFast package — install it from the Dependencies tab." />
            </ui:VisualElement>
            <ui:VisualElement name="assetgen-providers-container" style="margin-top: 8px;" />
            <ui:Label text="Preferences" class="config-label" />
            <ui:VisualElement class="setting-row">
                <ui:Label text="Default 3D Format:" class="setting-label" />
                <ui:DropdownField name="assetgen-format-dropdown" class="setting-dropdown-inline" />
            </ui:VisualElement>
            <ui:VisualElement class="override-row" style="margin-top: 8px;">
                <ui:Label text="Output Root:" class="override-label" />
            </ui:VisualElement>
            <ui:VisualElement class="path-override-controls">
                <ui:TextField name="assetgen-output-root" placeholder-text="Assets/Generated" class="override-field" />
            </ui:VisualElement>
            <ui:VisualElement class="setting-row">
                <ui:Label text="Auto-Normalize Imported Models:" class="setting-label" />
                <ui:Toggle name="assetgen-auto-normalize" class="setting-toggle" />
            </ui:VisualElement>
        </ui:VisualElement>
    </ui:VisualElement>
</ui:UXML>
