{# Rich tooltip fragment — canonical renderer (cycle 241). Contract: ~/.claude/skills/ux-architect/components/tooltip.md (UX-044) HTML-content tooltip with configurable show/hide delays and positioning. Uses the ``dzTooltip`` Alpine controller (dz-alpine.js:805) and the ``x-anchor`` plugin for Floating-UI-based positioning. Use this fragment when the tooltip content needs HTML structure (rich formatting, icons, multiple lines). For plain-text tooltips on icon buttons or truncated values, prefer the browser-native ``title="..."`` attribute — it's zero-JS, universally accessible, and governed by the same contract as the rich variant. Parameters: trigger : HTML | str — the element that triggers the tooltip. Passed through ``| safe``; the caller is responsible for the markup shape. content : str — tooltip body. Plain text only — any markup is HTML-escaped by Jinja's autoescape. Keep it short (max-w-xs wraps at roughly 20ch). position : str — top | right | bottom | left (default top) show_delay : int — ms before showing (default 200) hide_delay : int — ms before hiding (default 100) #} {% set position = position | default('top') %}