Answer
This reference documents every interactive control in Template Library, including AI settings/customisation and Document Studio export tooling.

Library list controls
- AI Settings button
- Filter/search controls: Search, Family, Tag, and Search action button
- Per-template actions: Preview, Adopt
- Company-adopted template actions: Edit Draft, Clone, Customise with AI, Document Studio / Export

Template Preview modal controls
- Read-only preview sections: Template Structure, Example Draft Document, and Related Templates
- Modal close controls: top-right X and standard modal close behaviour

Adopt/Edit draft controls
- Adopt Template modal fields: Destination, Company Template Title
- Destination options: Company HR Content, Policy Library (Draft Policy), Checklist Library (Template), Training Library (Catalogue Item), Document Template Library (Document Type)
- Edit draft modal fields: Title, Guidance Notes, Draft Content
- Common modal actions: Cancel, Adopt, Save Draft

AI Settings controls
- OpenAI API Key
- Model
- Enable AI customisation checkbox
- Actions: Cancel, Save Settings

Customise with AI controls
- Customisation Request
- Business Context
- Industry
- Tone
- Risk Focus
- Quick Actions checkboxes: Make this suitable for retail hospitality; Adapt for a small NZ employer; Make language more formal; Simplify wording for employees; Add a manager procedure section; Tailor for hybrid work
- AI Draft Output editor
- Actions: Close, Generate Draft, Save to Company Draft

Document Studio controls
- Style profile controls: Saved Style Profiles, Profile Name, Apply, Save New, Update Selected, Set Default, Archive
- Export setup controls: Export Format, Document Title, Subtitle, Header Note, Accent Color, Font Family, Brand Name Override, Support Email Override, Support Phone Override, Max Content Lines (0 = all)
- Export format options: DOCX, PDF, RTF, HTML, TXT, MD
- Checkbox options: Include Logo, Include Disclaimer, Include Structure Summary, Include Support Footer
- Preview and export controls: Refresh Preview, Document Preview pane, Close, Export Document