@hfyjq/crannia 1.1.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (306) hide show
  1. package/LICENSE +201 -201
  2. package/NOTICE +48 -45
  3. package/README.md +1 -1
  4. package/THIRD-PARTY-FRONTEND.md +5266 -5266
  5. package/THIRD-PARTY-PYTHON-linux.md +174 -0
  6. package/THIRD-PARTY-PYTHON.md +176 -162
  7. package/THIRD-PARTY.md +323 -316
  8. package/apps/desktop/quotes.txt +56 -56
  9. package/bus/core.py +677 -671
  10. package/bus/loaders/channel_loader.py +64 -64
  11. package/bus/loaders/provider_loader.py +4 -7
  12. package/bus/loaders/skill_loader.py +46 -27
  13. package/bus/loaders/skill_md.py +9 -9
  14. package/bus/mcp_disabled.py +4 -6
  15. package/bus/quarantine.py +10 -13
  16. package/bus/registry.py +2315 -2284
  17. package/bus/skill_state.py +124 -124
  18. package/channels/cli_channel/handler.py +3 -3
  19. package/channels/cli_channel/manifest.yaml +5 -5
  20. package/channels/dingtalk_channel/handler.py +32 -32
  21. package/channels/dingtalk_channel/manifest.yaml +12 -12
  22. package/channels/feishu_channel/handler.py +33 -33
  23. package/channels/feishu_channel/manifest.yaml +12 -12
  24. package/channels/qq_bot_channel/__init__.py +1 -1
  25. package/channels/qq_bot_channel/handler.py +24 -24
  26. package/channels/qq_bot_channel/manifest.yaml +4 -4
  27. package/channels/telegram_channel/__init__.py +1 -1
  28. package/channels/telegram_channel/handler.py +21 -21
  29. package/channels/telegram_channel/manifest.yaml +4 -4
  30. package/channels/telegram_channel/media.py +231 -231
  31. package/channels/textfmt.py +58 -58
  32. package/channels/wechat_channel/__init__.py +1 -1
  33. package/channels/wechat_channel/converter.py +1 -1
  34. package/channels/wechat_channel/handler.py +8 -8
  35. package/channels/wechat_channel/manifest.yaml +5 -5
  36. package/channels/wechat_channel/media.py +178 -178
  37. package/core/activity.py +753 -709
  38. package/core/agent_loop.py +7673 -7523
  39. package/core/allowlist.py +2 -3
  40. package/core/approval.py +36 -26
  41. package/core/approval_timeout.py +256 -228
  42. package/core/artifacts.py +3 -3
  43. package/core/attachment_gc.py +21 -0
  44. package/core/auto_review.py +2 -2
  45. package/core/browser/cdp.py +5 -2
  46. package/core/browser/discover.py +55 -19
  47. package/core/browser/session.py +4 -4
  48. package/core/cache_break_detector.py +97 -0
  49. package/core/cache_breakpoints.py +103 -0
  50. package/core/cache_policies.py +255 -0
  51. package/core/cancellation.py +3 -3
  52. package/core/channel_configs.py +3 -3
  53. package/core/channel_turns.py +13 -13
  54. package/core/child_approval.py +2 -3
  55. package/core/code_intel.py +11 -11
  56. package/core/command_policy.py +13 -7
  57. package/core/computer/annotate.py +231 -11
  58. package/core/computer/capture.py +140 -1
  59. package/core/computer/guard.py +7 -4
  60. package/core/computer/input.py +452 -26
  61. package/core/computer/session.py +563 -381
  62. package/core/computer/tools.py +2170 -928
  63. package/core/computer/uia.py +100 -1
  64. package/core/computer/watch.py +1 -1
  65. package/core/computer/win32.py +302 -7
  66. package/core/config_requirements.py +205 -205
  67. package/core/cron/runner.py +4 -4
  68. package/core/daily_log.py +2 -2
  69. package/core/dedup.py +2 -2
  70. package/core/egress_channels.py +326 -0
  71. package/core/egress_gate.py +96 -8
  72. package/core/egress_preapproved.py +59 -3
  73. package/core/endpoint.py +141 -141
  74. package/core/events.py +17 -8
  75. package/core/extension.py +2 -2
  76. package/core/file_history.py +15 -15
  77. package/core/file_tools.py +3 -3
  78. package/core/github_config.py +1 -1
  79. package/core/group_digest.py +3 -4
  80. package/core/group_minutes.py +5 -5
  81. package/core/group_reply.py +24 -0
  82. package/core/groups.py +5 -9
  83. package/core/hooks.py +15 -15
  84. package/core/i18n.py +2 -2
  85. package/core/ice/canary.py +3 -3
  86. package/core/ice/net_heuristics.py +2 -2
  87. package/core/im_routing.py +3 -3
  88. package/core/image_input.py +183 -43
  89. package/core/inbound.py +3 -3
  90. package/core/jobs.py +6 -6
  91. package/core/last_good.py +150 -150
  92. package/core/leaf_md.py +3 -3
  93. package/core/llm_errors.py +37 -28
  94. package/core/mail_config.py +2 -2
  95. package/core/memory/compressor.py +8 -8
  96. package/core/memory/manager.py +30 -45
  97. package/core/memory/session_memory.py +1 -2
  98. package/core/memory/short_term.py +4 -4
  99. package/core/memory_extract.py +1 -1
  100. package/core/memory_organize.py +8 -8
  101. package/core/memory_store.py +7 -9
  102. package/core/memory_transfer.py +2 -2
  103. package/core/model_capabilities.py +2 -2
  104. package/core/model_configs.py +219 -68
  105. package/core/model_profiles.py +333 -0
  106. package/core/modes.py +12 -11
  107. package/core/net_proxy.py +3 -3
  108. package/core/pipeline/scheduler.py +48 -43
  109. package/core/pipeline/stage.py +3 -0
  110. package/core/pipeline/stages/agent_loop.py +36 -15
  111. package/core/pipeline/stages/group_reply.py +22 -20
  112. package/core/pipeline/stages/post_process.py +7 -7
  113. package/core/pipeline/stages/pre_process.py +369 -77
  114. package/core/prompt_assembler.py +13 -4
  115. package/core/recycle.py +227 -16
  116. package/core/response_language.py +1 -1
  117. package/core/retention.py +2 -2
  118. package/core/rg.py +4 -3
  119. package/core/security.py +26 -8
  120. package/core/services.py +8 -8
  121. package/core/session_model.py +3 -5
  122. package/core/session_pool.py +35 -5
  123. package/core/session_recap.py +40 -3
  124. package/core/session_workspace.py +2 -3
  125. package/core/settings_baseline.py +2 -2
  126. package/core/settings_transfer.py +25 -1
  127. package/core/shell.py +52 -20
  128. package/core/side_call.py +3 -3
  129. package/core/skill_config.py +164 -0
  130. package/core/skill_factory.py +2 -2
  131. package/core/skill_guidance.py +2 -4
  132. package/core/skill_index.py +3 -4
  133. package/core/skill_settings.py +1 -1
  134. package/core/skill_sources.py +7 -7
  135. package/core/ssh_config.py +129 -0
  136. package/core/state_registry.py +67 -5
  137. package/core/subagent.py +28 -5
  138. package/core/subagent_defs.py +3 -3
  139. package/core/summarizer.py +4 -5
  140. package/core/tasks_notify.py +6 -6
  141. package/core/tiers.py +2 -2
  142. package/core/todos.py +1 -1
  143. package/core/token_calibrator.py +1 -4
  144. package/core/tool_outcome.py +108 -108
  145. package/core/touched_files.py +1 -1
  146. package/core/trace.py +12 -3
  147. package/core/unlock.py +4 -4
  148. package/core/update_tui.py +184 -158
  149. package/core/updater.py +5 -3
  150. package/core/version.py +14 -14
  151. package/core/vision_budget.py +235 -0
  152. package/core/web_cache.py +152 -152
  153. package/core/web_request.py +474 -0
  154. package/core/window_estimate.py +1 -1
  155. package/core/workspace.py +56 -26
  156. package/crannia_tray.py +278 -278
  157. package/licenses/GPL-3.0.txt +619 -619
  158. package/licenses/LGPL-2.1.txt +502 -502
  159. package/licenses/LGPL-3.0.txt +165 -165
  160. package/licenses/MIT-chat-on-wechat.txt +18 -18
  161. package/licenses/MIT-deepseek-harness.txt +21 -21
  162. package/licenses/Molio-LICENSE.txt +44 -44
  163. package/locales/en.json +1876 -1762
  164. package/main.py +154 -154
  165. package/mcpx/client.py +12 -1
  166. package/mcpx/manager.py +530 -522
  167. package/mcpx/servers/web_search.py +5 -13
  168. package/package.json +15 -23
  169. package/providers/anthropic/client.py +35 -33
  170. package/providers/base.py +13 -13
  171. package/providers/cache_policies.json +294 -0
  172. package/providers/cost_table.json +3779 -3779
  173. package/providers/lmstudio/client.py +2 -2
  174. package/providers/model_capabilities.json +6665 -6665
  175. package/providers/model_profiles.json +629 -0
  176. package/providers/ollama/client.py +2 -2
  177. package/providers/openai_compat.py +37 -16
  178. package/providers/openrouter/client.py +2 -2
  179. package/providers/qwen/__init__.py +1 -1
  180. package/providers/qwen/client.py +2 -2
  181. package/providers/qwen/manifest.yaml +16 -16
  182. package/providers/rate_limiter.py +2 -2
  183. package/providers/siliconflow/client.py +2 -2
  184. package/providers/validation.py +171 -171
  185. package/providers/vision_profiles.json +89 -0
  186. package/providers/window_table.json +8909 -8909
  187. package/requirements.txt +59 -51
  188. package/sbom-linux-x64.json +4580 -0
  189. package/sbom.json +4600 -4413
  190. package/skills/diagram/SKILL.md +47 -0
  191. package/skills/diagram/__init__.py +1 -0
  192. package/skills/diagram/handler.py +294 -0
  193. package/skills/diagram/layout.py +174 -0
  194. package/skills/diagram/manifest.yaml +106 -0
  195. package/skills/diagram/mermaid.py +170 -0
  196. package/skills/diagram/svg.py +223 -0
  197. package/skills/entertainment/SKILL.md +35 -35
  198. package/skills/entertainment/__init__.py +1 -1
  199. package/skills/entertainment/handler.py +91 -91
  200. package/skills/entertainment/manifest.yaml +26 -26
  201. package/skills/file_parser/GUIDANCE.md +10 -10
  202. package/skills/file_parser/handler.py +33 -11
  203. package/skills/github/SKILL.md +32 -32
  204. package/skills/github/__init__.py +1 -1
  205. package/skills/mail_parser/SKILL.md +68 -68
  206. package/skills/mail_parser/__init__.py +1 -1
  207. package/skills/mail_parser/handler.py +1 -1
  208. package/skills/media_gen/GUIDANCE.md +19 -19
  209. package/skills/media_gen/SKILL.md +43 -43
  210. package/skills/media_gen/__init__.py +1 -1
  211. package/skills/media_gen/handler.py +1 -1
  212. package/skills/media_gen/manifest.yaml +93 -93
  213. package/skills/netops/SKILL.md +45 -0
  214. package/skills/netops/__init__.py +1 -0
  215. package/skills/netops/handler.py +418 -0
  216. package/skills/netops/manifest.yaml +118 -0
  217. package/skills/office_parser/_excel_io.py +3 -3
  218. package/skills/office_parser/handler.py +2 -2
  219. package/skills/office_parser/ppt_tools.py +1 -1
  220. package/skills/office_parser/pptx_export/console_encoding.py +27 -27
  221. package/skills/office_parser/pptx_export/resource_paths.py +88 -88
  222. package/skills/office_parser/pptx_export/svg_finalize/__init__.py +12 -12
  223. package/skills/office_parser/pptx_export/svg_finalize/crop_images.py +366 -366
  224. package/skills/office_parser/pptx_export/svg_finalize/embed_images.py +288 -288
  225. package/skills/office_parser/pptx_export/svg_finalize/fix_image_aspect.py +388 -388
  226. package/skills/office_parser/pptx_export/svg_finalize/flatten_tspan.py +818 -818
  227. package/skills/office_parser/pptx_export/svg_finalize/svg_rect_to_path.py +345 -345
  228. package/skills/office_parser/pptx_export/svg_to_pptx/__init__.py +14 -14
  229. package/skills/office_parser/pptx_export/svg_to_pptx/drawingml/__init__.py +1 -1
  230. package/skills/office_parser/pptx_export/svg_to_pptx/drawingml/context.py +186 -186
  231. package/skills/office_parser/pptx_export/svg_to_pptx/drawingml/converter.py +781 -781
  232. package/skills/office_parser/pptx_export/svg_to_pptx/drawingml/paths.py +429 -429
  233. package/skills/office_parser/pptx_export/svg_to_pptx/drawingml/utils.py +40 -21
  234. package/skills/office_parser/pptx_export/svg_to_pptx/pptx_package/__init__.py +1 -1
  235. package/skills/office_parser/pptx_export/svg_to_pptx/pptx_package/builder.py +1267 -1267
  236. package/skills/office_parser/pptx_export/svg_to_pptx/pptx_package/dimensions.py +155 -155
  237. package/skills/office_parser/pptx_export/svg_to_pptx/pptx_package/discovery.py +101 -101
  238. package/skills/office_parser/pptx_export/svg_to_pptx/pptx_package/narration.py +236 -236
  239. package/skills/office_parser/pptx_export/svg_to_pptx/pptx_package/notes.py +257 -257
  240. package/skills/office_parser/pptx_export/svg_to_pptx/pptx_package/slide_xml.py +136 -136
  241. package/skills/office_parser/pptx_export/svg_to_pptx/tspan_flattener.py +44 -44
  242. package/skills/office_parser/pptx_export/svg_to_pptx/use_expander.py +129 -129
  243. package/skills/office_parser/references/LICENSE-Office-Word-MCP-Server.txt +20 -20
  244. package/skills/office_parser/references/LICENSE-excel-mcp-server.txt +21 -21
  245. package/skills/office_parser/references/layout_library.md +816 -816
  246. package/skills/office_parser/references/ppt-master/LICENSE +21 -21
  247. package/skills/office_parser/references/ppt-master/references/executor-base.md +474 -474
  248. package/skills/office_parser/references/ppt-master/references/shared-standards.md +1002 -1002
  249. package/skills/office_parser/references/ppt-master/references/strategist.md +880 -880
  250. package/skills/office_parser/references/ppt-master/references/template-designer.md +402 -402
  251. package/skills/office_parser/references/ppt-master/references/visual-review.md +240 -240
  252. package/skills/office_parser/references/ppt-master/references/visual-styles/_index.md +106 -106
  253. package/skills/office_parser/references/ppt-master/references/visual-styles/blueprint.md +37 -37
  254. package/skills/office_parser/references/ppt-master/references/visual-styles/brutalist.md +38 -38
  255. package/skills/office_parser/references/ppt-master/references/visual-styles/chalkboard.md +36 -36
  256. package/skills/office_parser/references/ppt-master/references/visual-styles/dark-tech.md +37 -37
  257. package/skills/office_parser/references/ppt-master/references/visual-styles/data-journalism.md +36 -36
  258. package/skills/office_parser/references/ppt-master/references/visual-styles/editorial.md +38 -38
  259. package/skills/office_parser/references/ppt-master/references/visual-styles/glassmorphism.md +36 -36
  260. package/skills/office_parser/references/ppt-master/references/visual-styles/ink-notes.md +37 -37
  261. package/skills/office_parser/references/ppt-master/references/visual-styles/ink-wash.md +36 -36
  262. package/skills/office_parser/references/ppt-master/references/visual-styles/memphis.md +37 -37
  263. package/skills/office_parser/references/ppt-master/references/visual-styles/paper-cut.md +36 -36
  264. package/skills/office_parser/references/ppt-master/references/visual-styles/photo-editorial.md +38 -38
  265. package/skills/office_parser/references/ppt-master/references/visual-styles/pixel-art.md +36 -36
  266. package/skills/office_parser/references/ppt-master/references/visual-styles/sketch-notes.md +36 -36
  267. package/skills/office_parser/references/ppt-master/references/visual-styles/soft-rounded.md +37 -37
  268. package/skills/office_parser/references/ppt-master/references/visual-styles/swiss-minimal.md +38 -38
  269. package/skills/office_parser/references/ppt-master/references/visual-styles/vintage-poster.md +36 -36
  270. package/skills/office_parser/references/ppt-master/references/visual-styles/zine.md +37 -37
  271. package/skills/office_parser/references/spec_lock.md +235 -235
  272. package/skills/office_parser/soffice.py +68 -68
  273. package/skills/office_parser/word_tools.py +3 -3
  274. package/skills/ssh/SKILL.md +81 -0
  275. package/skills/ssh/__init__.py +1 -0
  276. package/skills/ssh/handler.py +609 -0
  277. package/skills/ssh/manifest.yaml +182 -0
  278. package/tui/crannia.cmd +134 -134
  279. package/tui/crannia.sh +82 -0
  280. package/tui/crannia_tui/__init__.py +1 -1
  281. package/tui/crannia_tui/app.py +240 -17
  282. package/tui/crannia_tui/app.tcss +21 -0
  283. package/tui/crannia_tui/clipboard.py +78 -10
  284. package/tui/crannia_tui/commands.py +37 -0
  285. package/tui/crannia_tui/events.py +6 -0
  286. package/tui/crannia_tui/i18n.py +164 -164
  287. package/tui/crannia_tui/locales/en.json +32 -7
  288. package/tui/crannia_tui/paths.py +4 -1
  289. package/tui/crannia_tui/profile.py +178 -169
  290. package/tui/crannia_tui/settings.py +134 -134
  291. package/tui/crannia_tui/setup.py +44 -5
  292. package/tui/crannia_tui/ui.py +156 -16
  293. package/tui/crannia_tui/update.py +393 -389
  294. package/vendor/ripgrep/COPYING.txt +3 -3
  295. package/vendor/ripgrep/LICENSE-MIT.txt +21 -21
  296. package/vendor/ripgrep/NOTICE-vscode-ripgrep.txt +13 -13
  297. package/vendor/ripgrep/README.md +30 -14
  298. package/vendor/ripgrep/UNLICENSE.txt +24 -24
  299. package/vendor/ripgrep/linux-x64/rg +0 -0
  300. package/vendor/ripgrep/package-source.json +15 -16
  301. package/web/__main__.py +12 -15
  302. package/web/server.py +8481 -8594
  303. package/web/static/img/channel-telegram.svg +1 -1
  304. package/web/static/img/channel-wechat.svg +1 -1
  305. package/web/templates/logs.html +49 -49
  306. package/web/templates/models.html +46 -46
@@ -1,816 +1,816 @@
1
- # SVG Slide Layout Library
2
-
3
- > Paste-ready SVG skeletons for AI-driven PPT generation.
4
- > Each layout is self-contained within a `<svg viewBox="0 0 960 540">` container.
5
- > Slots marked `<!-- SLOT:name -->` are insertion points — replace the placeholder
6
- > elements between the markers with real content.
7
-
8
- ## Usage
9
-
10
- 1. Read this file to pick a layout matching the slide's purpose
11
- 2. Copy the skeleton into your SVG output
12
- 3. Replace each `<!-- SLOT:name -->` block with real content
13
- 4. Reference `spec_lock.md` for colors, fonts, and spacing tokens
14
- 5. Keep the original `<svg>` attributes and viewBox intact
15
-
16
- ## Design Tokens
17
-
18
- All layouts use these CSS custom properties (defined at `<svg>` root):
19
-
20
- ```
21
- --color-primary, --color-secondary, --color-accent,
22
- --color-bg, --color-text, --color-text-light,
23
- --font-title, --font-body, --font-mono,
24
- --space-xs(4), --space-sm(8), --space-md(16),
25
- --space-lg(24), --space-xl(32), --space-2xl(48)
26
- ```
27
-
28
- If spec_lock values are not injected, layouts use the fallback values shown.
29
-
30
- ---
31
-
32
- ## L01 — Cover Dark
33
-
34
- **Use**: Opening slide. Bold statement with subtitle and date.
35
- **Mood**: Dramatic, confident.
36
-
37
- ```svg
38
- <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
39
- <defs>
40
- <linearGradient id="bg-cover" x1="0" y1="0" x2="1" y2="1">
41
- <stop offset="0%" stop-color="var(--color-primary, #1a1a2e)"/>
42
- <stop offset="100%" stop-color="var(--color-secondary, #0f0f1a)"/>
43
- </linearGradient>
44
- </defs>
45
- <!-- SLOT:background -->
46
- <rect width="960" height="540" fill="url(#bg-cover)"/>
47
- <!-- /SLOT -->
48
-
49
- <!-- SLOT:title -->
50
- <text x="80" y="200" font-family="var(--font-title, sans-serif)" font-size="56"
51
- font-weight="700" fill="var(--color-text, #ffffff)" letter-spacing="-1">
52
- Presentation Title Here
53
- </text>
54
- <!-- /SLOT -->
55
-
56
- <!-- SLOT:subtitle -->
57
- <text x="80" y="270" font-family="var(--font-body, sans-serif)" font-size="24"
58
- font-weight="300" fill="var(--color-text-light, #a0a0b0)">
59
- Subtitle or tagline goes here
60
- </text>
61
- <!-- /SLOT -->
62
-
63
- <!-- SLOT:meta -->
64
- <text x="80" y="460" font-family="var(--font-body, sans-serif)" font-size="14"
65
- fill="var(--color-text-light, #606070)">
66
- Presenter Name · Date · Event
67
- </text>
68
- <!-- /SLOT -->
69
- </svg>
70
- ```
71
-
72
- ---
73
-
74
- ## L02 — Cover Light
75
-
76
- **Use**: Clean, minimal opening. White/light background.
77
- **Mood**: Professional, modern.
78
-
79
- ```svg
80
- <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
81
- <!-- SLOT:background -->
82
- <rect width="960" height="540" fill="var(--color-bg, #fafafa)"/>
83
- <!-- /SLOT -->
84
- <!-- SLOT:accent-bar -->
85
- <rect x="80" y="180" width="80" height="4" fill="var(--color-accent, #4c9aff)"/>
86
- <!-- /SLOT -->
87
-
88
- <!-- SLOT:title -->
89
- <text x="80" y="230" font-family="var(--font-title, sans-serif)" font-size="52"
90
- font-weight="700" fill="var(--color-text, #1a1a2e)">
91
- Presentation Title
92
- </text>
93
- <!-- /SLOT -->
94
-
95
- <!-- SLOT:subtitle -->
96
- <text x="80" y="290" font-family="var(--font-body, sans-serif)" font-size="22"
97
- font-weight="300" fill="var(--color-text-light, #606070)">
98
- Subtitle or description goes here
99
- </text>
100
- <!-- /SLOT -->
101
-
102
- <!-- SLOT:meta -->
103
- <text x="80" y="460" font-family="var(--font-body, sans-serif)" font-size="14"
104
- fill="var(--color-text-light, #909090)">
105
- Author &amp; Date
106
- </text>
107
- <!-- /SLOT -->
108
- </svg>
109
- ```
110
-
111
- ---
112
-
113
- ## L03 — Section Divider
114
-
115
- **Use**: Transition between major sections. Large number + heading.
116
- **Mood**: Rhythmic, structural.
117
-
118
- ```svg
119
- <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
120
- <!-- SLOT:background -->
121
- <rect width="960" height="540" fill="var(--color-bg, #1a1a2e)"/>
122
- <!-- /SLOT -->
123
-
124
- <!-- SLOT:section-number -->
125
- <text x="80" y="320" font-family="var(--font-title, sans-serif)" font-size="120"
126
- font-weight="900" fill="var(--color-accent, #4c9aff)" opacity="0.3">
127
- 01
128
- </text>
129
- <!-- /SLOT -->
130
-
131
- <!-- SLOT:section-title -->
132
- <text x="80" y="200" font-family="var(--font-title, sans-serif)" font-size="42"
133
- font-weight="700" fill="var(--color-text, #ffffff)">
134
- Section Title
135
- </text>
136
- <!-- /SLOT -->
137
-
138
- <!-- SLOT:section-subtitle -->
139
- <text x="80" y="250" font-family="var(--font-body, sans-serif)" font-size="18"
140
- font-weight="300" fill="var(--color-text-light, #a0a0b0)">
141
- Brief section description
142
- </text>
143
- <!-- /SLOT -->
144
- </svg>
145
- ```
146
-
147
- ---
148
-
149
- ## L04 — Title + Body
150
-
151
- **Use**: Standard content slide. Heading with bullet points or paragraphs.
152
- **Mood**: Clear, informational.
153
-
154
- ```svg
155
- <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
156
- <!-- SLOT:background -->
157
- <rect width="960" height="540" fill="var(--color-bg, #fafafa)"/>
158
- <!-- /SLOT -->
159
-
160
- <!-- SLOT:slide-title -->
161
- <text x="80" y="80" font-family="var(--font-title, sans-serif)" font-size="36"
162
- font-weight="700" fill="var(--color-text, #1a1a2e)">
163
- Slide Title
164
- </text>
165
- <!-- /SLOT -->
166
-
167
- <!-- SLOT:body-text -->
168
- <text x="80" y="140" font-family="var(--font-body, sans-serif)" font-size="18"
169
- fill="var(--color-text, #333344)" line-height="1.6">
170
- <tspan x="80" dy="0">• First bullet point or paragraph text</tspan>
171
- <tspan x="80" dy="32">• Second bullet point with key information</tspan>
172
- <tspan x="80" dy="32">• Third bullet point highlighting a detail</tspan>
173
- <tspan x="80" dy="32">• Fourth bullet point if needed</tspan>
174
- </text>
175
- <!-- /SLOT -->
176
- </svg>
177
- ```
178
-
179
- ---
180
-
181
- ## L05 — Big Number (KPI Hero)
182
-
183
- **Use**: Single critical metric. One number that tells the story.
184
- **Mood**: Impactful, data-driven.
185
-
186
- ```svg
187
- <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
188
- <!-- SLOT:background -->
189
- <rect width="960" height="540" fill="var(--color-bg, #1a1a2e)"/>
190
- <!-- /SLOT -->
191
- <!-- SLOT:accent-circle -->
192
- <circle cx="480" cy="250" r="140" fill="var(--color-accent, #4c9aff)" opacity="0.08"/>
193
- <!-- /SLOT -->
194
-
195
- <!-- SLOT:kpi-value -->
196
- <text x="480" y="240" font-family="var(--font-title, sans-serif)" font-size="96"
197
- font-weight="900" fill="var(--color-text, #ffffff)" text-anchor="middle">
198
- 87%
199
- </text>
200
- <!-- /SLOT -->
201
-
202
- <!-- SLOT:kpi-label -->
203
- <text x="480" y="300" font-family="var(--font-body, sans-serif)" font-size="20"
204
- font-weight="400" fill="var(--color-text-light, #a0a0b0)" text-anchor="middle">
205
- Metric Label / What This Number Means
206
- </text>
207
- <!-- /SLOT -->
208
-
209
- <!-- SLOT:kpi-note -->
210
- <text x="480" y="350" font-family="var(--font-body, sans-serif)" font-size="14"
211
- fill="var(--color-text-light, #606070)" text-anchor="middle">
212
- Source / Time Period / Comparison
213
- </text>
214
- <!-- /SLOT -->
215
- </svg>
216
- ```
217
-
218
- ---
219
-
220
- ## L06 — KPI Grid 3×1
221
-
222
- **Use**: Three key metrics side-by-side.
223
- **Mood**: Dashboard, overview.
224
-
225
- ```svg
226
- <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
227
- <!-- SLOT:background -->
228
- <rect width="960" height="540" fill="var(--color-bg, #fafafa)"/>
229
- <!-- /SLOT -->
230
-
231
- <!-- SLOT:slide-title -->
232
- <text x="80" y="70" font-family="var(--font-title, sans-serif)" font-size="32"
233
- font-weight="700" fill="var(--color-text, #1a1a2e)">
234
- Key Metrics
235
- </text>
236
- <!-- /SLOT -->
237
-
238
- <!-- Metric 1 -->
239
- <!-- SLOT:kpi1 -->
240
- <rect x="80" y="130" width="240" height="320" rx="12" fill="var(--color-bg, #ffffff)" stroke="var(--color-text-light, #e0e0e0)" stroke-width="1"/>
241
- <text x="200" y="250" font-family="var(--font-title, sans-serif)" font-size="56"
242
- font-weight="900" fill="var(--color-accent, #4c9aff)" text-anchor="middle">3.2M</text>
243
- <text x="200" y="300" font-family="var(--font-body, sans-serif)" font-size="16"
244
- fill="var(--color-text, #333)" text-anchor="middle">Active Users</text>
245
- <text x="200" y="340" font-family="var(--font-body, sans-serif)" font-size="13"
246
- fill="var(--color-text-light, #909090)" text-anchor="middle">+12% vs last quarter</text>
247
- <!-- /SLOT -->
248
-
249
- <!-- Metric 2 -->
250
- <!-- SLOT:kpi2 -->
251
- <rect x="360" y="130" width="240" height="320" rx="12" fill="var(--color-bg, #ffffff)" stroke="var(--color-text-light, #e0e0e0)" stroke-width="1"/>
252
- <text x="480" y="250" font-family="var(--font-title, sans-serif)" font-size="56"
253
- font-weight="900" fill="var(--color-accent, #4c9aff)" text-anchor="middle">98.7%</text>
254
- <text x="480" y="300" font-family="var(--font-body, sans-serif)" font-size="16"
255
- fill="var(--color-text, #333)" text-anchor="middle">Uptime SLA</text>
256
- <text x="480" y="340" font-family="var(--font-body, sans-serif)" font-size="13"
257
- fill="var(--color-text-light, #909090)" text-anchor="middle">Target: 99.9%</text>
258
- <!-- /SLOT -->
259
-
260
- <!-- Metric 3 -->
261
- <!-- SLOT:kpi3 -->
262
- <rect x="640" y="130" width="240" height="320" rx="12" fill="var(--color-bg, #ffffff)" stroke="var(--color-text-light, #e0e0e0)" stroke-width="1"/>
263
- <text x="760" y="250" font-family="var(--font-title, sans-serif)" font-size="56"
264
- font-weight="900" fill="var(--color-accent, #4c9aff)" text-anchor="middle">¥4.8M</text>
265
- <text x="760" y="300" font-family="var(--font-body, sans-serif)" font-size="16"
266
- fill="var(--color-text, #333)" text-anchor="middle">Revenue</text>
267
- <text x="760" y="340" font-family="var(--font-body, sans-serif)" font-size="13"
268
- fill="var(--color-text-light, #909090)" text-anchor="middle">Q2 2026</text>
269
- <!-- /SLOT -->
270
- </svg>
271
- ```
272
-
273
- ---
274
-
275
- ## L07 — KPI Grid 2×2
276
-
277
- **Use**: Four metrics in a 2-by-2 grid.
278
- **Mood**: Compact dashboard.
279
-
280
- ```svg
281
- <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
282
- <!-- SLOT:background -->
283
- <rect width="960" height="540" fill="var(--color-bg, #1a1a2e)"/>
284
- <!-- /SLOT -->
285
-
286
- <!-- Grid: 2 cols × 2 rows, each cell 400×210, gap 20 -->
287
- <!-- Cell (0,0) -->
288
- <!-- SLOT:kpi-tl -->
289
- <rect x="60" y="60" width="410" height="220" rx="10" fill="var(--color-bg, #222240)" opacity="0.6"/>
290
- <text x="265" y="150" font-family="var(--font-title, sans-serif)" font-size="64"
291
- font-weight="900" fill="var(--color-accent, #4c9aff)" text-anchor="middle">+240%</text>
292
- <text x="265" y="210" font-family="var(--font-body, sans-serif)" font-size="16"
293
- fill="var(--color-text, #ffffff)" text-anchor="middle">Growth Rate</text>
294
- <!-- /SLOT -->
295
-
296
- <!-- Cell (1,0) -->
297
- <!-- SLOT:kpi-tr -->
298
- <rect x="490" y="60" width="410" height="220" rx="10" fill="var(--color-bg, #222240)" opacity="0.6"/>
299
- <text x="695" y="150" font-family="var(--font-title, sans-serif)" font-size="64"
300
- font-weight="900" fill="var(--color-accent, #4c9aff)" text-anchor="middle">50K</text>
301
- <text x="695" y="210" font-family="var(--font-body, sans-serif)" font-size="16"
302
- fill="var(--color-text, #ffffff)" text-anchor="middle">Daily Active Users</text>
303
- <!-- /SLOT -->
304
-
305
- <!-- Cell (0,1) -->
306
- <!-- SLOT:kpi-bl -->
307
- <rect x="60" y="300" width="410" height="220" rx="10" fill="var(--color-bg, #222240)" opacity="0.6"/>
308
- <text x="265" y="390" font-family="var(--font-title, sans-serif)" font-size="64"
309
- font-weight="900" fill="var(--color-accent, #4c9aff)" text-anchor="middle">4.2min</text>
310
- <text x="265" y="450" font-family="var(--font-body, sans-serif)" font-size="16"
311
- fill="var(--color-text, #ffffff)" text-anchor="middle">Avg. Session Duration</text>
312
- <!-- /SLOT -->
313
-
314
- <!-- Cell (1,1) -->
315
- <!-- SLOT:kpi-br -->
316
- <rect x="490" y="300" width="410" height="220" rx="10" fill="var(--color-bg, #222240)" opacity="0.6"/>
317
- <text x="695" y="390" font-family="var(--font-title, sans-serif)" font-size="64"
318
- font-weight="900" fill="var(--color-accent, #4c9aff)" text-anchor="middle">NPS 72</text>
319
- <text x="695" y="450" font-family="var(--font-body, sans-serif)" font-size="16"
320
- fill="var(--color-text, #ffffff)" text-anchor="middle">Net Promoter Score</text>
321
- <!-- /SLOT -->
322
- </svg>
323
- ```
324
-
325
- ---
326
-
327
- ## L08 — Title + Full Image (21:9 Hero)
328
-
329
- **Use**: Title overlay on a full-width cinematic image.
330
- **Mood**: Visual, immersive.
331
-
332
- ```svg
333
- <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
334
- <!-- SLOT:background -->
335
- <rect width="960" height="540" fill="var(--color-bg, #1a1a2e)"/>
336
- <!-- /SLOT -->
337
-
338
- <!-- SLOT:image -->
339
- <image x="0" y="0" width="960" height="410" preserveAspectRatio="xMidYMid slice"
340
- href="placeholder_21x9.jpg"/>
341
- <!-- Overlay gradient for text readability -->
342
- <rect x="0" y="280" width="960" height="130" fill="url(#img-overlay)"/>
343
- <!-- /SLOT -->
344
-
345
- <defs>
346
- <linearGradient id="img-overlay" x1="0" y1="0" x2="0" y2="1">
347
- <stop offset="0%" stop-color="#000000" stop-opacity="0"/>
348
- <stop offset="100%" stop-color="#000000" stop-opacity="0.6"/>
349
- </linearGradient>
350
- </defs>
351
-
352
- <!-- SLOT:slide-title -->
353
- <text x="80" y="480" font-family="var(--font-title, sans-serif)" font-size="32"
354
- font-weight="700" fill="var(--color-text, #ffffff)">
355
- Slide Title Over Image
356
- </text>
357
- <!-- /SLOT -->
358
-
359
- <!-- SLOT:caption -->
360
- <text x="80" y="510" font-family="var(--font-body, sans-serif)" font-size="14"
361
- fill="var(--color-text-light, #a0a0b0)">
362
- Image source or caption
363
- </text>
364
- <!-- /SLOT -->
365
- </svg>
366
- ```
367
-
368
- ---
369
-
370
- ## L09 — Title + Image (Left Text, Right Image)
371
-
372
- **Use**: Explanatory text on the left, supporting image on the right.
373
- **Mood**: Balanced, explanatory.
374
-
375
- ```svg
376
- <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
377
- <!-- SLOT:background -->
378
- <rect width="960" height="540" fill="var(--color-bg, #fafafa)"/>
379
- <!-- /SLOT -->
380
-
381
- <!-- SLOT:slide-title -->
382
- <text x="80" y="70" font-family="var(--font-title, sans-serif)" font-size="32"
383
- font-weight="700" fill="var(--color-text, #1a1a2e)">
384
- Topic Title
385
- </text>
386
- <!-- /SLOT -->
387
-
388
- <!-- SLOT:body-text -->
389
- <text x="80" y="130" font-family="var(--font-body, sans-serif)" font-size="17"
390
- fill="var(--color-text, #333344)">
391
- <tspan x="80" dy="0">Key insight or explanation text.</tspan>
392
- <tspan x="80" dy="28">Supporting detail that reinforces the message.</tspan>
393
- <tspan x="80" dy="28">Additional context or data point.</tspan>
394
- <tspan x="80" dy="28">Takeaway or call to action.</tspan>
395
- </text>
396
- <!-- /SLOT -->
397
-
398
- <!-- SLOT:image -->
399
- <rect x="540" y="100" width="360" height="360" rx="8" fill="var(--color-text-light, #e0e0e0)"/>
400
- <image x="540" y="100" width="360" height="360" rx="8"
401
- preserveAspectRatio="xMidYMid slice" href="placeholder_16x9.jpg"/>
402
- <text x="720" y="290" font-family="var(--font-body, sans-serif)" font-size="13"
403
- fill="var(--color-text-light, #909090)" text-anchor="middle">[Image]</text>
404
- <!-- /SLOT -->
405
- </svg>
406
- ```
407
-
408
- ---
409
-
410
- ## L10 — Image Grid (3-up)
411
-
412
- **Use**: Three images side-by-side with captions.
413
- **Mood**: Visual gallery, showcase.
414
-
415
- ```svg
416
- <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
417
- <!-- SLOT:background -->
418
- <rect width="960" height="540" fill="var(--color-bg, #fafafa)"/>
419
- <!-- /SLOT -->
420
-
421
- <!-- SLOT:slide-title -->
422
- <text x="80" y="60" font-family="var(--font-title, sans-serif)" font-size="28"
423
- font-weight="700" fill="var(--color-text, #1a1a2e)">
424
- Gallery Title
425
- </text>
426
- <!-- /SLOT -->
427
-
428
- <!-- Image 1 -->
429
- <!-- SLOT:img1 -->
430
- <rect x="60" y="100" width="260" height="260" rx="6" fill="var(--color-text-light, #e0e0e0)"/>
431
- <image x="60" y="100" width="260" height="200" rx="6"
432
- preserveAspectRatio="xMidYMid slice" href="img1.jpg"/>
433
- <text x="190" y="340" font-family="var(--font-body, sans-serif)" font-size="14"
434
- font-weight="600" fill="var(--color-text, #333)" text-anchor="middle">Image One</text>
435
- <text x="190" y="362" font-family="var(--font-body, sans-serif)" font-size="12"
436
- fill="var(--color-text-light, #909090)" text-anchor="middle">Brief caption</text>
437
- <!-- /SLOT -->
438
-
439
- <!-- Image 2 -->
440
- <!-- SLOT:img2 -->
441
- <rect x="350" y="100" width="260" height="260" rx="6" fill="var(--color-text-light, #e0e0e0)"/>
442
- <image x="350" y="100" width="260" height="200" rx="6"
443
- preserveAspectRatio="xMidYMid slice" href="img2.jpg"/>
444
- <text x="480" y="340" font-family="var(--font-body, sans-serif)" font-size="14"
445
- font-weight="600" fill="var(--color-text, #333)" text-anchor="middle">Image Two</text>
446
- <text x="480" y="362" font-family="var(--font-body, sans-serif)" font-size="12"
447
- fill="var(--color-text-light, #909090)" text-anchor="middle">Brief caption</text>
448
- <!-- /SLOT -->
449
-
450
- <!-- Image 3 -->
451
- <!-- SLOT:img3 -->
452
- <rect x="640" y="100" width="260" height="260" rx="6" fill="var(--color-text-light, #e0e0e0)"/>
453
- <image x="640" y="100" width="260" height="200" rx="6"
454
- preserveAspectRatio="xMidYMid slice" href="img3.jpg"/>
455
- <text x="770" y="340" font-family="var(--font-body, sans-serif)" font-size="14"
456
- font-weight="600" fill="var(--color-text, #333)" text-anchor="middle">Image Three</text>
457
- <text x="770" y="362" font-family="var(--font-body, sans-serif)" font-size="12"
458
- fill="var(--color-text-light, #909090)" text-anchor="middle">Brief caption</text>
459
- <!-- /SLOT -->
460
- </svg>
461
- ```
462
-
463
- ---
464
-
465
- ## L11 — Timeline (Horizontal)
466
-
467
- **Use**: Chronological events, roadmap, process flow.
468
- **Mood**: Narrative, progressive.
469
-
470
- ```svg
471
- <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
472
- <!-- SLOT:background -->
473
- <rect width="960" height="540" fill="var(--color-bg, #fafafa)"/>
474
- <!-- /SLOT -->
475
-
476
- <!-- SLOT:slide-title -->
477
- <text x="80" y="60" font-family="var(--font-title, sans-serif)" font-size="28"
478
- font-weight="700" fill="var(--color-text, #1a1a2e)">
479
- Timeline / Roadmap
480
- </text>
481
- <!-- /SLOT -->
482
-
483
- <!-- Timeline spine -->
484
- <line x1="80" y1="280" x2="880" y2="280" stroke="var(--color-accent, #4c9aff)" stroke-width="2"/>
485
-
486
- <!-- Node 1 -->
487
- <!-- SLOT:node1 -->
488
- <circle cx="160" cy="280" r="10" fill="var(--color-accent, #4c9aff)"/>
489
- <text x="160" y="240" font-family="var(--font-title, sans-serif)" font-size="16"
490
- font-weight="700" fill="var(--color-text, #1a1a2e)" text-anchor="middle">2024 Q1</text>
491
- <text x="160" y="320" font-family="var(--font-body, sans-serif)" font-size="14"
492
- fill="var(--color-text, #333)" text-anchor="middle">Milestone description one</text>
493
- <!-- /SLOT -->
494
-
495
- <!-- Node 2 -->
496
- <!-- SLOT:node2 -->
497
- <circle cx="400" cy="280" r="10" fill="var(--color-accent, #4c9aff)"/>
498
- <text x="400" y="240" font-family="var(--font-title, sans-serif)" font-size="16"
499
- font-weight="700" fill="var(--color-text, #1a1a2e)" text-anchor="middle">2024 Q3</text>
500
- <text x="400" y="320" font-family="var(--font-body, sans-serif)" font-size="14"
501
- fill="var(--color-text, #333)" text-anchor="middle">Milestone description two</text>
502
- <!-- /SLOT -->
503
-
504
- <!-- Node 3 -->
505
- <!-- SLOT:node3 -->
506
- <circle cx="640" cy="280" r="10" fill="var(--color-accent, #4c9aff)"/>
507
- <text x="640" y="240" font-family="var(--font-title, sans-serif)" font-size="16"
508
- font-weight="700" fill="var(--color-text, #1a1a2e)" text-anchor="middle">2025 Q1</text>
509
- <text x="640" y="320" font-family="var(--font-body, sans-serif)" font-size="14"
510
- fill="var(--color-text, #333)" text-anchor="middle">Milestone description three</text>
511
- <!-- /SLOT -->
512
-
513
- <!-- Node 4 -->
514
- <!-- SLOT:node4 -->
515
- <circle cx="880" cy="280" r="10" fill="var(--color-accent, #4c9aff)" opacity="0.3"/>
516
- <text x="880" y="240" font-family="var(--font-title, sans-serif)" font-size="16"
517
- font-weight="700" fill="var(--color-text-light, #909090)" text-anchor="middle">2025 Q3</text>
518
- <text x="880" y="320" font-family="var(--font-body, sans-serif)" font-size="14"
519
- fill="var(--color-text-light, #909090)" text-anchor="middle">Upcoming milestone</text>
520
- <!-- /SLOT -->
521
- </svg>
522
- ```
523
-
524
- ---
525
-
526
- ## L12 — Two Column Comparison
527
-
528
- **Use**: Side-by-side comparison (before/after, pro/con, old/new).
529
- **Mood**: Analytical, comparative.
530
-
531
- ```svg
532
- <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
533
- <!-- SLOT:background -->
534
- <rect width="960" height="540" fill="var(--color-bg, #fafafa)"/>
535
- <!-- /SLOT -->
536
-
537
- <!-- SLOT:slide-title -->
538
- <text x="80" y="60" font-family="var(--font-title, sans-serif)" font-size="28"
539
- font-weight="700" fill="var(--color-text, #1a1a2e)">
540
- Comparison Title
541
- </text>
542
- <!-- /SLOT -->
543
-
544
- <!-- Left column -->
545
- <!-- SLOT:col-left -->
546
- <rect x="60" y="100" width="400" height="400" rx="10" fill="var(--color-bg, #ffffff)" stroke="var(--color-text-light, #e0e0e0)" stroke-width="1"/>
547
- <rect x="60" y="100" width="400" height="48" rx="10" fill="var(--color-primary, #1a1a2e)"/>
548
- <rect x="60" y="138" width="400" height="10" fill="var(--color-primary, #1a1a2e)"/>
549
- <text x="260" y="130" font-family="var(--font-title, sans-serif)" font-size="20"
550
- font-weight="700" fill="var(--color-text, #ffffff)" text-anchor="middle">Option A</text>
551
- <text x="90" y="190" font-family="var(--font-body, sans-serif)" font-size="16"
552
- fill="var(--color-text, #333)">
553
- <tspan x="90" dy="0">• Key point one about Option A</tspan>
554
- <tspan x="90" dy="28">• Key point two about Option A</tspan>
555
- <tspan x="90" dy="28">• Key point three about Option A</tspan>
556
- </text>
557
- <!-- /SLOT -->
558
-
559
- <!-- Right column -->
560
- <!-- SLOT:col-right -->
561
- <rect x="500" y="100" width="400" height="400" rx="10" fill="var(--color-bg, #ffffff)" stroke="var(--color-text-light, #e0e0e0)" stroke-width="1"/>
562
- <rect x="500" y="100" width="400" height="48" rx="10" fill="var(--color-secondary, #0f0f1a)"/>
563
- <rect x="500" y="138" width="400" height="10" fill="var(--color-secondary, #0f0f1a)"/>
564
- <text x="700" y="130" font-family="var(--font-title, sans-serif)" font-size="20"
565
- font-weight="700" fill="var(--color-text, #ffffff)" text-anchor="middle">Option B</text>
566
- <text x="530" y="190" font-family="var(--font-body, sans-serif)" font-size="16"
567
- fill="var(--color-text, #333)">
568
- <tspan x="530" dy="0">• Key point one about Option B</tspan>
569
- <tspan x="530" dy="28">• Key point two about Option B</tspan>
570
- <tspan x="530" dy="28">• Key point three about Option B</tspan>
571
- </text>
572
- <!-- /SLOT -->
573
- </svg>
574
- ```
575
-
576
- ---
577
-
578
- ## L13 — Quote
579
-
580
- **Use**: Prominent quote with attribution.
581
- **Mood**: Emotional, authoritative.
582
-
583
- ```svg
584
- <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
585
- <!-- SLOT:background -->
586
- <rect width="960" height="540" fill="var(--color-bg, #1a1a2e)"/>
587
- <!-- /SLOT -->
588
-
589
- <!-- SLOT:quote-mark -->
590
- <text x="480" y="160" font-family="var(--font-title, sans-serif)" font-size="120"
591
- font-weight="900" fill="var(--color-accent, #4c9aff)" opacity="0.15" text-anchor="middle">
592
- "
593
- </text>
594
- <!-- /SLOT -->
595
-
596
- <!-- SLOT:quote-text -->
597
- <text x="480" y="250" font-family="var(--font-title, sans-serif)" font-size="28"
598
- font-weight="300" fill="var(--color-text, #ffffff)" text-anchor="middle"
599
- font-style="italic">
600
- <tspan x="480" dy="0">"The best way to predict the future</tspan>
601
- <tspan x="480" dy="40">is to create it."</tspan>
602
- </text>
603
- <!-- /SLOT -->
604
-
605
- <!-- SLOT:quote-attribution -->
606
- <text x="480" y="360" font-family="var(--font-body, sans-serif)" font-size="18"
607
- font-weight="400" fill="var(--color-text-light, #a0a0b0)" text-anchor="middle">
608
- — Author Name, Title / Organization
609
- </text>
610
- <!-- /SLOT -->
611
- </svg>
612
- ```
613
-
614
- ---
615
-
616
- ## L14 — Chart + Explanation
617
-
618
- **Use**: Chart/visualization on the left, explanation text on the right.
619
- **Mood**: Data storytelling.
620
-
621
- ```svg
622
- <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
623
- <!-- SLOT:background -->
624
- <rect width="960" height="540" fill="var(--color-bg, #fafafa)"/>
625
- <!-- /SLOT -->
626
-
627
- <!-- SLOT:slide-title -->
628
- <text x="80" y="60" font-family="var(--font-title, sans-serif)" font-size="28"
629
- font-weight="700" fill="var(--color-text, #1a1a2e)">
630
- Data Insight Title
631
- </text>
632
- <!-- /SLOT -->
633
-
634
- <!-- Chart area (left) -->
635
- <!-- SLOT:chart -->
636
- <rect x="60" y="100" width="440" height="380" rx="8" fill="var(--color-bg, #ffffff)"
637
- stroke="var(--color-text-light, #e8e8e8)" stroke-width="1"/>
638
- <!-- Bar chart example — replace with real chart SVG -->
639
- <rect x="100" y="300" width="60" height="140" rx="3" fill="var(--color-accent, #4c9aff)"/>
640
- <rect x="190" y="240" width="60" height="200" rx="3" fill="var(--color-accent, #4c9aff)"/>
641
- <rect x="280" y="180" width="60" height="260" rx="3" fill="var(--color-accent, #4c9aff)"/>
642
- <rect x="370" y="280" width="60" height="160" rx="3" fill="var(--color-accent, #4c9aff)"/>
643
- <text x="130" y="470" font-family="var(--font-body, sans-serif)" font-size="12"
644
- fill="var(--color-text-light, #909090)" text-anchor="middle">Q1</text>
645
- <text x="220" y="470" font-family="var(--font-body, sans-serif)" font-size="12"
646
- fill="var(--color-text-light, #909090)" text-anchor="middle">Q2</text>
647
- <text x="310" y="470" font-family="var(--font-body, sans-serif)" font-size="12"
648
- fill="var(--color-text-light, #909090)" text-anchor="middle">Q3</text>
649
- <text x="400" y="470" font-family="var(--font-body, sans-serif)" font-size="12"
650
- fill="var(--color-text-light, #909090)" text-anchor="middle">Q4</text>
651
- <!-- /SLOT -->
652
-
653
- <!-- Explanation (right) -->
654
- <!-- SLOT:explanation -->
655
- <text x="540" y="130" font-family="var(--font-body, sans-serif)" font-size="17"
656
- fill="var(--color-text, #333)">
657
- <tspan x="540" dy="0" font-weight="700">Key Takeaway</tspan>
658
- <tspan x="540" dy="32">What this data shows and why</tspan>
659
- <tspan x="540" dy="24">it matters to the audience.</tspan>
660
- <tspan x="540" dy="48" font-weight="700">Insight 2</tspan>
661
- <tspan x="540" dy="32">Secondary observation or trend</tspan>
662
- <tspan x="540" dy="24">worth highlighting.</tspan>
663
- <tspan x="540" dy="48" font-weight="700">Action</tspan>
664
- <tspan x="540" dy="32">Recommended next step based</tspan>
665
- <tspan x="540" dy="24">on this analysis.</tspan>
666
- </text>
667
- <!-- /SLOT -->
668
- </svg>
669
- ```
670
-
671
- ---
672
-
673
- ## L15 — Profile Cards (4-up)
674
-
675
- **Use**: Team introduction, speaker bios, persona profiles.
676
- **Mood**: Personal, human.
677
-
678
- ```svg
679
- <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
680
- <!-- SLOT:background -->
681
- <rect width="960" height="540" fill="var(--color-bg, #fafafa)"/>
682
- <!-- /SLOT -->
683
-
684
- <!-- SLOT:slide-title -->
685
- <text x="80" y="55" font-family="var(--font-title, sans-serif)" font-size="26"
686
- font-weight="700" fill="var(--color-text, #1a1a2e)">
687
- Team / People
688
- </text>
689
- <!-- /SLOT -->
690
-
691
- <!-- Card 1 -->
692
- <!-- SLOT:card1 -->
693
- <rect x="40" y="90" width="200" height="280" rx="10" fill="var(--color-bg, #ffffff)" stroke="var(--color-text-light, #e8e8e8)" stroke-width="1"/>
694
- <circle cx="140" cy="150" r="40" fill="var(--color-text-light, #e0e0e0)"/>
695
- <text x="140" y="210" font-family="var(--font-title, sans-serif)" font-size="16"
696
- font-weight="700" fill="var(--color-text, #333)" text-anchor="middle">Name One</text>
697
- <text x="140" y="235" font-family="var(--font-body, sans-serif)" font-size="13"
698
- fill="var(--color-accent, #4c9aff)" text-anchor="middle">Role / Title</text>
699
- <text x="140" y="270" font-family="var(--font-body, sans-serif)" font-size="12"
700
- fill="var(--color-text-light, #909090)" text-anchor="middle">
701
- <tspan x="140" dy="0">Brief description or</tspan>
702
- <tspan x="140" dy="18">key contribution.</tspan>
703
- </text>
704
- <!-- /SLOT -->
705
-
706
- <!-- Card 2 -->
707
- <!-- SLOT:card2 -->
708
- <rect x="260" y="90" width="200" height="280" rx="10" fill="var(--color-bg, #ffffff)" stroke="var(--color-text-light, #e8e8e8)" stroke-width="1"/>
709
- <circle cx="360" cy="150" r="40" fill="var(--color-text-light, #e0e0e0)"/>
710
- <text x="360" y="210" font-family="var(--font-title, sans-serif)" font-size="16"
711
- font-weight="700" fill="var(--color-text, #333)" text-anchor="middle">Name Two</text>
712
- <text x="360" y="235" font-family="var(--font-body, sans-serif)" font-size="13"
713
- fill="var(--color-accent, #4c9aff)" text-anchor="middle">Role / Title</text>
714
- <text x="360" y="270" font-family="var(--font-body, sans-serif)" font-size="12"
715
- fill="var(--color-text-light, #909090)" text-anchor="middle">
716
- <tspan x="360" dy="0">Brief description or</tspan>
717
- <tspan x="360" dy="18">key contribution.</tspan>
718
- </text>
719
- <!-- /SLOT -->
720
-
721
- <!-- Card 3 -->
722
- <!-- SLOT:card3 -->
723
- <rect x="480" y="90" width="200" height="280" rx="10" fill="var(--color-bg, #ffffff)" stroke="var(--color-text-light, #e8e8e8)" stroke-width="1"/>
724
- <circle cx="580" cy="150" r="40" fill="var(--color-text-light, #e0e0e0)"/>
725
- <text x="580" y="210" font-family="var(--font-title, sans-serif)" font-size="16"
726
- font-weight="700" fill="var(--color-text, #333)" text-anchor="middle">Name Three</text>
727
- <text x="580" y="235" font-family="var(--font-body, sans-serif)" font-size="13"
728
- fill="var(--color-accent, #4c9aff)" text-anchor="middle">Role / Title</text>
729
- <text x="580" y="270" font-family="var(--font-body, sans-serif)" font-size="12"
730
- fill="var(--color-text-light, #909090)" text-anchor="middle">
731
- <tspan x="580" dy="0">Brief description or</tspan>
732
- <tspan x="580" dy="18">key contribution.</tspan>
733
- </text>
734
- <!-- /SLOT -->
735
-
736
- <!-- Card 4 -->
737
- <!-- SLOT:card4 -->
738
- <rect x="700" y="90" width="200" height="280" rx="10" fill="var(--color-bg, #ffffff)" stroke="var(--color-text-light, #e8e8e8)" stroke-width="1"/>
739
- <circle cx="800" cy="150" r="40" fill="var(--color-text-light, #e0e0e0)"/>
740
- <text x="800" y="210" font-family="var(--font-title, sans-serif)" font-size="16"
741
- font-weight="700" fill="var(--color-text, #333)" text-anchor="middle">Name Four</text>
742
- <text x="800" y="235" font-family="var(--font-body, sans-serif)" font-size="13"
743
- fill="var(--color-accent, #4c9aff)" text-anchor="middle">Role / Title</text>
744
- <text x="800" y="270" font-family="var(--font-body, sans-serif)" font-size="12"
745
- fill="var(--color-text-light, #909090)" text-anchor="middle">
746
- <tspan x="800" dy="0">Brief description or</tspan>
747
- <tspan x="800" dy="18">key contribution.</tspan>
748
- </text>
749
- <!-- /SLOT -->
750
- </svg>
751
- ```
752
-
753
- ---
754
-
755
- ## L16 — Closing / Thank You
756
-
757
- **Use**: Final slide with CTA and contact information.
758
- **Mood**: Conclusive, actionable.
759
-
760
- ```svg
761
- <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
762
- <!-- SLOT:background -->
763
- <rect width="960" height="540" fill="var(--color-bg, #1a1a2e)"/>
764
- <!-- /SLOT -->
765
-
766
- <!-- SLOT:closing-text -->
767
- <text x="480" y="200" font-family="var(--font-title, sans-serif)" font-size="56"
768
- font-weight="700" fill="var(--color-text, #ffffff)" text-anchor="middle">
769
- Thank You
770
- </text>
771
- <!-- /SLOT -->
772
-
773
- <!-- SLOT:cta -->
774
- <text x="480" y="270" font-family="var(--font-body, sans-serif)" font-size="20"
775
- fill="var(--color-text-light, #a0a0b0)" text-anchor="middle">
776
- Questions? Let's connect.
777
- </text>
778
- <!-- /SLOT -->
779
-
780
- <!-- SLOT:contact -->
781
- <text x="480" y="380" font-family="var(--font-body, sans-serif)" font-size="16"
782
- fill="var(--color-text-light, #707080)" text-anchor="middle">
783
- <tspan x="480" dy="0">email@example.com</tspan>
784
- <tspan x="480" dy="28">@handle · website.com</tspan>
785
- </text>
786
- <!-- /SLOT -->
787
- </svg>
788
- ```
789
-
790
- ---
791
-
792
- ## How to Use This Library
793
-
794
- 1. **Pick a layout** matching the slide's purpose
795
- 2. **Read `spec_lock.md`** for the current design tokens
796
- 3. **Copy the SVG skeleton**, keeping `viewBox="0 0 960 540"` intact
797
- 4. **Replace each `<!-- SLOT:* -->` block** with real content
798
- 5. **Apply spec colors** by replacing `var(--color-*, fallback)` with actual hex values from spec_lock
799
- 6. **Validate**: keep text between 80-880 X range, 40-520 Y range
800
-
801
- ## Image Ratios
802
-
803
- | Slot Type | Ratio | SVG Width | SVG Height |
804
- |-----------|-------|-----------|-------------|
805
- | Hero / full-width | 21:9 | 960 | 410 |
806
- | Side image | 16:10 | 360 | 225 |
807
- | Grid image | 16:9 | varies | varies |
808
- | Portrait accent | 3:4 | 160 | 213 |
809
-
810
- ## Anti-Drift Rules
811
-
812
- - **Never** change the viewBox
813
- - **Never** use custom hex colors — only spec_lock values
814
- - **Never** place text outside 80-880 X × 40-520 Y safe area
815
- - **Never** use fonts outside the spec_lock font family
816
- - KPI numbers use `font-weight="900"`, titles use `700`, body uses `400`
1
+ # SVG Slide Layout Library
2
+
3
+ > Paste-ready SVG skeletons for AI-driven PPT generation.
4
+ > Each layout is self-contained within a `<svg viewBox="0 0 960 540">` container.
5
+ > Slots marked `<!-- SLOT:name -->` are insertion points — replace the placeholder
6
+ > elements between the markers with real content.
7
+
8
+ ## Usage
9
+
10
+ 1. Read this file to pick a layout matching the slide's purpose
11
+ 2. Copy the skeleton into your SVG output
12
+ 3. Replace each `<!-- SLOT:name -->` block with real content
13
+ 4. Reference `spec_lock.md` for colors, fonts, and spacing tokens
14
+ 5. Keep the original `<svg>` attributes and viewBox intact
15
+
16
+ ## Design Tokens
17
+
18
+ All layouts use these CSS custom properties (defined at `<svg>` root):
19
+
20
+ ```
21
+ --color-primary, --color-secondary, --color-accent,
22
+ --color-bg, --color-text, --color-text-light,
23
+ --font-title, --font-body, --font-mono,
24
+ --space-xs(4), --space-sm(8), --space-md(16),
25
+ --space-lg(24), --space-xl(32), --space-2xl(48)
26
+ ```
27
+
28
+ If spec_lock values are not injected, layouts use the fallback values shown.
29
+
30
+ ---
31
+
32
+ ## L01 — Cover Dark
33
+
34
+ **Use**: Opening slide. Bold statement with subtitle and date.
35
+ **Mood**: Dramatic, confident.
36
+
37
+ ```svg
38
+ <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
39
+ <defs>
40
+ <linearGradient id="bg-cover" x1="0" y1="0" x2="1" y2="1">
41
+ <stop offset="0%" stop-color="var(--color-primary, #1a1a2e)"/>
42
+ <stop offset="100%" stop-color="var(--color-secondary, #0f0f1a)"/>
43
+ </linearGradient>
44
+ </defs>
45
+ <!-- SLOT:background -->
46
+ <rect width="960" height="540" fill="url(#bg-cover)"/>
47
+ <!-- /SLOT -->
48
+
49
+ <!-- SLOT:title -->
50
+ <text x="80" y="200" font-family="var(--font-title, sans-serif)" font-size="56"
51
+ font-weight="700" fill="var(--color-text, #ffffff)" letter-spacing="-1">
52
+ Presentation Title Here
53
+ </text>
54
+ <!-- /SLOT -->
55
+
56
+ <!-- SLOT:subtitle -->
57
+ <text x="80" y="270" font-family="var(--font-body, sans-serif)" font-size="24"
58
+ font-weight="300" fill="var(--color-text-light, #a0a0b0)">
59
+ Subtitle or tagline goes here
60
+ </text>
61
+ <!-- /SLOT -->
62
+
63
+ <!-- SLOT:meta -->
64
+ <text x="80" y="460" font-family="var(--font-body, sans-serif)" font-size="14"
65
+ fill="var(--color-text-light, #606070)">
66
+ Presenter Name · Date · Event
67
+ </text>
68
+ <!-- /SLOT -->
69
+ </svg>
70
+ ```
71
+
72
+ ---
73
+
74
+ ## L02 — Cover Light
75
+
76
+ **Use**: Clean, minimal opening. White/light background.
77
+ **Mood**: Professional, modern.
78
+
79
+ ```svg
80
+ <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
81
+ <!-- SLOT:background -->
82
+ <rect width="960" height="540" fill="var(--color-bg, #fafafa)"/>
83
+ <!-- /SLOT -->
84
+ <!-- SLOT:accent-bar -->
85
+ <rect x="80" y="180" width="80" height="4" fill="var(--color-accent, #4c9aff)"/>
86
+ <!-- /SLOT -->
87
+
88
+ <!-- SLOT:title -->
89
+ <text x="80" y="230" font-family="var(--font-title, sans-serif)" font-size="52"
90
+ font-weight="700" fill="var(--color-text, #1a1a2e)">
91
+ Presentation Title
92
+ </text>
93
+ <!-- /SLOT -->
94
+
95
+ <!-- SLOT:subtitle -->
96
+ <text x="80" y="290" font-family="var(--font-body, sans-serif)" font-size="22"
97
+ font-weight="300" fill="var(--color-text-light, #606070)">
98
+ Subtitle or description goes here
99
+ </text>
100
+ <!-- /SLOT -->
101
+
102
+ <!-- SLOT:meta -->
103
+ <text x="80" y="460" font-family="var(--font-body, sans-serif)" font-size="14"
104
+ fill="var(--color-text-light, #909090)">
105
+ Author &amp; Date
106
+ </text>
107
+ <!-- /SLOT -->
108
+ </svg>
109
+ ```
110
+
111
+ ---
112
+
113
+ ## L03 — Section Divider
114
+
115
+ **Use**: Transition between major sections. Large number + heading.
116
+ **Mood**: Rhythmic, structural.
117
+
118
+ ```svg
119
+ <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
120
+ <!-- SLOT:background -->
121
+ <rect width="960" height="540" fill="var(--color-bg, #1a1a2e)"/>
122
+ <!-- /SLOT -->
123
+
124
+ <!-- SLOT:section-number -->
125
+ <text x="80" y="320" font-family="var(--font-title, sans-serif)" font-size="120"
126
+ font-weight="900" fill="var(--color-accent, #4c9aff)" opacity="0.3">
127
+ 01
128
+ </text>
129
+ <!-- /SLOT -->
130
+
131
+ <!-- SLOT:section-title -->
132
+ <text x="80" y="200" font-family="var(--font-title, sans-serif)" font-size="42"
133
+ font-weight="700" fill="var(--color-text, #ffffff)">
134
+ Section Title
135
+ </text>
136
+ <!-- /SLOT -->
137
+
138
+ <!-- SLOT:section-subtitle -->
139
+ <text x="80" y="250" font-family="var(--font-body, sans-serif)" font-size="18"
140
+ font-weight="300" fill="var(--color-text-light, #a0a0b0)">
141
+ Brief section description
142
+ </text>
143
+ <!-- /SLOT -->
144
+ </svg>
145
+ ```
146
+
147
+ ---
148
+
149
+ ## L04 — Title + Body
150
+
151
+ **Use**: Standard content slide. Heading with bullet points or paragraphs.
152
+ **Mood**: Clear, informational.
153
+
154
+ ```svg
155
+ <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
156
+ <!-- SLOT:background -->
157
+ <rect width="960" height="540" fill="var(--color-bg, #fafafa)"/>
158
+ <!-- /SLOT -->
159
+
160
+ <!-- SLOT:slide-title -->
161
+ <text x="80" y="80" font-family="var(--font-title, sans-serif)" font-size="36"
162
+ font-weight="700" fill="var(--color-text, #1a1a2e)">
163
+ Slide Title
164
+ </text>
165
+ <!-- /SLOT -->
166
+
167
+ <!-- SLOT:body-text -->
168
+ <text x="80" y="140" font-family="var(--font-body, sans-serif)" font-size="18"
169
+ fill="var(--color-text, #333344)" line-height="1.6">
170
+ <tspan x="80" dy="0">• First bullet point or paragraph text</tspan>
171
+ <tspan x="80" dy="32">• Second bullet point with key information</tspan>
172
+ <tspan x="80" dy="32">• Third bullet point highlighting a detail</tspan>
173
+ <tspan x="80" dy="32">• Fourth bullet point if needed</tspan>
174
+ </text>
175
+ <!-- /SLOT -->
176
+ </svg>
177
+ ```
178
+
179
+ ---
180
+
181
+ ## L05 — Big Number (KPI Hero)
182
+
183
+ **Use**: Single critical metric. One number that tells the story.
184
+ **Mood**: Impactful, data-driven.
185
+
186
+ ```svg
187
+ <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
188
+ <!-- SLOT:background -->
189
+ <rect width="960" height="540" fill="var(--color-bg, #1a1a2e)"/>
190
+ <!-- /SLOT -->
191
+ <!-- SLOT:accent-circle -->
192
+ <circle cx="480" cy="250" r="140" fill="var(--color-accent, #4c9aff)" opacity="0.08"/>
193
+ <!-- /SLOT -->
194
+
195
+ <!-- SLOT:kpi-value -->
196
+ <text x="480" y="240" font-family="var(--font-title, sans-serif)" font-size="96"
197
+ font-weight="900" fill="var(--color-text, #ffffff)" text-anchor="middle">
198
+ 87%
199
+ </text>
200
+ <!-- /SLOT -->
201
+
202
+ <!-- SLOT:kpi-label -->
203
+ <text x="480" y="300" font-family="var(--font-body, sans-serif)" font-size="20"
204
+ font-weight="400" fill="var(--color-text-light, #a0a0b0)" text-anchor="middle">
205
+ Metric Label / What This Number Means
206
+ </text>
207
+ <!-- /SLOT -->
208
+
209
+ <!-- SLOT:kpi-note -->
210
+ <text x="480" y="350" font-family="var(--font-body, sans-serif)" font-size="14"
211
+ fill="var(--color-text-light, #606070)" text-anchor="middle">
212
+ Source / Time Period / Comparison
213
+ </text>
214
+ <!-- /SLOT -->
215
+ </svg>
216
+ ```
217
+
218
+ ---
219
+
220
+ ## L06 — KPI Grid 3×1
221
+
222
+ **Use**: Three key metrics side-by-side.
223
+ **Mood**: Dashboard, overview.
224
+
225
+ ```svg
226
+ <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
227
+ <!-- SLOT:background -->
228
+ <rect width="960" height="540" fill="var(--color-bg, #fafafa)"/>
229
+ <!-- /SLOT -->
230
+
231
+ <!-- SLOT:slide-title -->
232
+ <text x="80" y="70" font-family="var(--font-title, sans-serif)" font-size="32"
233
+ font-weight="700" fill="var(--color-text, #1a1a2e)">
234
+ Key Metrics
235
+ </text>
236
+ <!-- /SLOT -->
237
+
238
+ <!-- Metric 1 -->
239
+ <!-- SLOT:kpi1 -->
240
+ <rect x="80" y="130" width="240" height="320" rx="12" fill="var(--color-bg, #ffffff)" stroke="var(--color-text-light, #e0e0e0)" stroke-width="1"/>
241
+ <text x="200" y="250" font-family="var(--font-title, sans-serif)" font-size="56"
242
+ font-weight="900" fill="var(--color-accent, #4c9aff)" text-anchor="middle">3.2M</text>
243
+ <text x="200" y="300" font-family="var(--font-body, sans-serif)" font-size="16"
244
+ fill="var(--color-text, #333)" text-anchor="middle">Active Users</text>
245
+ <text x="200" y="340" font-family="var(--font-body, sans-serif)" font-size="13"
246
+ fill="var(--color-text-light, #909090)" text-anchor="middle">+12% vs last quarter</text>
247
+ <!-- /SLOT -->
248
+
249
+ <!-- Metric 2 -->
250
+ <!-- SLOT:kpi2 -->
251
+ <rect x="360" y="130" width="240" height="320" rx="12" fill="var(--color-bg, #ffffff)" stroke="var(--color-text-light, #e0e0e0)" stroke-width="1"/>
252
+ <text x="480" y="250" font-family="var(--font-title, sans-serif)" font-size="56"
253
+ font-weight="900" fill="var(--color-accent, #4c9aff)" text-anchor="middle">98.7%</text>
254
+ <text x="480" y="300" font-family="var(--font-body, sans-serif)" font-size="16"
255
+ fill="var(--color-text, #333)" text-anchor="middle">Uptime SLA</text>
256
+ <text x="480" y="340" font-family="var(--font-body, sans-serif)" font-size="13"
257
+ fill="var(--color-text-light, #909090)" text-anchor="middle">Target: 99.9%</text>
258
+ <!-- /SLOT -->
259
+
260
+ <!-- Metric 3 -->
261
+ <!-- SLOT:kpi3 -->
262
+ <rect x="640" y="130" width="240" height="320" rx="12" fill="var(--color-bg, #ffffff)" stroke="var(--color-text-light, #e0e0e0)" stroke-width="1"/>
263
+ <text x="760" y="250" font-family="var(--font-title, sans-serif)" font-size="56"
264
+ font-weight="900" fill="var(--color-accent, #4c9aff)" text-anchor="middle">¥4.8M</text>
265
+ <text x="760" y="300" font-family="var(--font-body, sans-serif)" font-size="16"
266
+ fill="var(--color-text, #333)" text-anchor="middle">Revenue</text>
267
+ <text x="760" y="340" font-family="var(--font-body, sans-serif)" font-size="13"
268
+ fill="var(--color-text-light, #909090)" text-anchor="middle">Q2 2026</text>
269
+ <!-- /SLOT -->
270
+ </svg>
271
+ ```
272
+
273
+ ---
274
+
275
+ ## L07 — KPI Grid 2×2
276
+
277
+ **Use**: Four metrics in a 2-by-2 grid.
278
+ **Mood**: Compact dashboard.
279
+
280
+ ```svg
281
+ <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
282
+ <!-- SLOT:background -->
283
+ <rect width="960" height="540" fill="var(--color-bg, #1a1a2e)"/>
284
+ <!-- /SLOT -->
285
+
286
+ <!-- Grid: 2 cols × 2 rows, each cell 400×210, gap 20 -->
287
+ <!-- Cell (0,0) -->
288
+ <!-- SLOT:kpi-tl -->
289
+ <rect x="60" y="60" width="410" height="220" rx="10" fill="var(--color-bg, #222240)" opacity="0.6"/>
290
+ <text x="265" y="150" font-family="var(--font-title, sans-serif)" font-size="64"
291
+ font-weight="900" fill="var(--color-accent, #4c9aff)" text-anchor="middle">+240%</text>
292
+ <text x="265" y="210" font-family="var(--font-body, sans-serif)" font-size="16"
293
+ fill="var(--color-text, #ffffff)" text-anchor="middle">Growth Rate</text>
294
+ <!-- /SLOT -->
295
+
296
+ <!-- Cell (1,0) -->
297
+ <!-- SLOT:kpi-tr -->
298
+ <rect x="490" y="60" width="410" height="220" rx="10" fill="var(--color-bg, #222240)" opacity="0.6"/>
299
+ <text x="695" y="150" font-family="var(--font-title, sans-serif)" font-size="64"
300
+ font-weight="900" fill="var(--color-accent, #4c9aff)" text-anchor="middle">50K</text>
301
+ <text x="695" y="210" font-family="var(--font-body, sans-serif)" font-size="16"
302
+ fill="var(--color-text, #ffffff)" text-anchor="middle">Daily Active Users</text>
303
+ <!-- /SLOT -->
304
+
305
+ <!-- Cell (0,1) -->
306
+ <!-- SLOT:kpi-bl -->
307
+ <rect x="60" y="300" width="410" height="220" rx="10" fill="var(--color-bg, #222240)" opacity="0.6"/>
308
+ <text x="265" y="390" font-family="var(--font-title, sans-serif)" font-size="64"
309
+ font-weight="900" fill="var(--color-accent, #4c9aff)" text-anchor="middle">4.2min</text>
310
+ <text x="265" y="450" font-family="var(--font-body, sans-serif)" font-size="16"
311
+ fill="var(--color-text, #ffffff)" text-anchor="middle">Avg. Session Duration</text>
312
+ <!-- /SLOT -->
313
+
314
+ <!-- Cell (1,1) -->
315
+ <!-- SLOT:kpi-br -->
316
+ <rect x="490" y="300" width="410" height="220" rx="10" fill="var(--color-bg, #222240)" opacity="0.6"/>
317
+ <text x="695" y="390" font-family="var(--font-title, sans-serif)" font-size="64"
318
+ font-weight="900" fill="var(--color-accent, #4c9aff)" text-anchor="middle">NPS 72</text>
319
+ <text x="695" y="450" font-family="var(--font-body, sans-serif)" font-size="16"
320
+ fill="var(--color-text, #ffffff)" text-anchor="middle">Net Promoter Score</text>
321
+ <!-- /SLOT -->
322
+ </svg>
323
+ ```
324
+
325
+ ---
326
+
327
+ ## L08 — Title + Full Image (21:9 Hero)
328
+
329
+ **Use**: Title overlay on a full-width cinematic image.
330
+ **Mood**: Visual, immersive.
331
+
332
+ ```svg
333
+ <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
334
+ <!-- SLOT:background -->
335
+ <rect width="960" height="540" fill="var(--color-bg, #1a1a2e)"/>
336
+ <!-- /SLOT -->
337
+
338
+ <!-- SLOT:image -->
339
+ <image x="0" y="0" width="960" height="410" preserveAspectRatio="xMidYMid slice"
340
+ href="placeholder_21x9.jpg"/>
341
+ <!-- Overlay gradient for text readability -->
342
+ <rect x="0" y="280" width="960" height="130" fill="url(#img-overlay)"/>
343
+ <!-- /SLOT -->
344
+
345
+ <defs>
346
+ <linearGradient id="img-overlay" x1="0" y1="0" x2="0" y2="1">
347
+ <stop offset="0%" stop-color="#000000" stop-opacity="0"/>
348
+ <stop offset="100%" stop-color="#000000" stop-opacity="0.6"/>
349
+ </linearGradient>
350
+ </defs>
351
+
352
+ <!-- SLOT:slide-title -->
353
+ <text x="80" y="480" font-family="var(--font-title, sans-serif)" font-size="32"
354
+ font-weight="700" fill="var(--color-text, #ffffff)">
355
+ Slide Title Over Image
356
+ </text>
357
+ <!-- /SLOT -->
358
+
359
+ <!-- SLOT:caption -->
360
+ <text x="80" y="510" font-family="var(--font-body, sans-serif)" font-size="14"
361
+ fill="var(--color-text-light, #a0a0b0)">
362
+ Image source or caption
363
+ </text>
364
+ <!-- /SLOT -->
365
+ </svg>
366
+ ```
367
+
368
+ ---
369
+
370
+ ## L09 — Title + Image (Left Text, Right Image)
371
+
372
+ **Use**: Explanatory text on the left, supporting image on the right.
373
+ **Mood**: Balanced, explanatory.
374
+
375
+ ```svg
376
+ <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
377
+ <!-- SLOT:background -->
378
+ <rect width="960" height="540" fill="var(--color-bg, #fafafa)"/>
379
+ <!-- /SLOT -->
380
+
381
+ <!-- SLOT:slide-title -->
382
+ <text x="80" y="70" font-family="var(--font-title, sans-serif)" font-size="32"
383
+ font-weight="700" fill="var(--color-text, #1a1a2e)">
384
+ Topic Title
385
+ </text>
386
+ <!-- /SLOT -->
387
+
388
+ <!-- SLOT:body-text -->
389
+ <text x="80" y="130" font-family="var(--font-body, sans-serif)" font-size="17"
390
+ fill="var(--color-text, #333344)">
391
+ <tspan x="80" dy="0">Key insight or explanation text.</tspan>
392
+ <tspan x="80" dy="28">Supporting detail that reinforces the message.</tspan>
393
+ <tspan x="80" dy="28">Additional context or data point.</tspan>
394
+ <tspan x="80" dy="28">Takeaway or call to action.</tspan>
395
+ </text>
396
+ <!-- /SLOT -->
397
+
398
+ <!-- SLOT:image -->
399
+ <rect x="540" y="100" width="360" height="360" rx="8" fill="var(--color-text-light, #e0e0e0)"/>
400
+ <image x="540" y="100" width="360" height="360" rx="8"
401
+ preserveAspectRatio="xMidYMid slice" href="placeholder_16x9.jpg"/>
402
+ <text x="720" y="290" font-family="var(--font-body, sans-serif)" font-size="13"
403
+ fill="var(--color-text-light, #909090)" text-anchor="middle">[Image]</text>
404
+ <!-- /SLOT -->
405
+ </svg>
406
+ ```
407
+
408
+ ---
409
+
410
+ ## L10 — Image Grid (3-up)
411
+
412
+ **Use**: Three images side-by-side with captions.
413
+ **Mood**: Visual gallery, showcase.
414
+
415
+ ```svg
416
+ <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
417
+ <!-- SLOT:background -->
418
+ <rect width="960" height="540" fill="var(--color-bg, #fafafa)"/>
419
+ <!-- /SLOT -->
420
+
421
+ <!-- SLOT:slide-title -->
422
+ <text x="80" y="60" font-family="var(--font-title, sans-serif)" font-size="28"
423
+ font-weight="700" fill="var(--color-text, #1a1a2e)">
424
+ Gallery Title
425
+ </text>
426
+ <!-- /SLOT -->
427
+
428
+ <!-- Image 1 -->
429
+ <!-- SLOT:img1 -->
430
+ <rect x="60" y="100" width="260" height="260" rx="6" fill="var(--color-text-light, #e0e0e0)"/>
431
+ <image x="60" y="100" width="260" height="200" rx="6"
432
+ preserveAspectRatio="xMidYMid slice" href="img1.jpg"/>
433
+ <text x="190" y="340" font-family="var(--font-body, sans-serif)" font-size="14"
434
+ font-weight="600" fill="var(--color-text, #333)" text-anchor="middle">Image One</text>
435
+ <text x="190" y="362" font-family="var(--font-body, sans-serif)" font-size="12"
436
+ fill="var(--color-text-light, #909090)" text-anchor="middle">Brief caption</text>
437
+ <!-- /SLOT -->
438
+
439
+ <!-- Image 2 -->
440
+ <!-- SLOT:img2 -->
441
+ <rect x="350" y="100" width="260" height="260" rx="6" fill="var(--color-text-light, #e0e0e0)"/>
442
+ <image x="350" y="100" width="260" height="200" rx="6"
443
+ preserveAspectRatio="xMidYMid slice" href="img2.jpg"/>
444
+ <text x="480" y="340" font-family="var(--font-body, sans-serif)" font-size="14"
445
+ font-weight="600" fill="var(--color-text, #333)" text-anchor="middle">Image Two</text>
446
+ <text x="480" y="362" font-family="var(--font-body, sans-serif)" font-size="12"
447
+ fill="var(--color-text-light, #909090)" text-anchor="middle">Brief caption</text>
448
+ <!-- /SLOT -->
449
+
450
+ <!-- Image 3 -->
451
+ <!-- SLOT:img3 -->
452
+ <rect x="640" y="100" width="260" height="260" rx="6" fill="var(--color-text-light, #e0e0e0)"/>
453
+ <image x="640" y="100" width="260" height="200" rx="6"
454
+ preserveAspectRatio="xMidYMid slice" href="img3.jpg"/>
455
+ <text x="770" y="340" font-family="var(--font-body, sans-serif)" font-size="14"
456
+ font-weight="600" fill="var(--color-text, #333)" text-anchor="middle">Image Three</text>
457
+ <text x="770" y="362" font-family="var(--font-body, sans-serif)" font-size="12"
458
+ fill="var(--color-text-light, #909090)" text-anchor="middle">Brief caption</text>
459
+ <!-- /SLOT -->
460
+ </svg>
461
+ ```
462
+
463
+ ---
464
+
465
+ ## L11 — Timeline (Horizontal)
466
+
467
+ **Use**: Chronological events, roadmap, process flow.
468
+ **Mood**: Narrative, progressive.
469
+
470
+ ```svg
471
+ <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
472
+ <!-- SLOT:background -->
473
+ <rect width="960" height="540" fill="var(--color-bg, #fafafa)"/>
474
+ <!-- /SLOT -->
475
+
476
+ <!-- SLOT:slide-title -->
477
+ <text x="80" y="60" font-family="var(--font-title, sans-serif)" font-size="28"
478
+ font-weight="700" fill="var(--color-text, #1a1a2e)">
479
+ Timeline / Roadmap
480
+ </text>
481
+ <!-- /SLOT -->
482
+
483
+ <!-- Timeline spine -->
484
+ <line x1="80" y1="280" x2="880" y2="280" stroke="var(--color-accent, #4c9aff)" stroke-width="2"/>
485
+
486
+ <!-- Node 1 -->
487
+ <!-- SLOT:node1 -->
488
+ <circle cx="160" cy="280" r="10" fill="var(--color-accent, #4c9aff)"/>
489
+ <text x="160" y="240" font-family="var(--font-title, sans-serif)" font-size="16"
490
+ font-weight="700" fill="var(--color-text, #1a1a2e)" text-anchor="middle">2024 Q1</text>
491
+ <text x="160" y="320" font-family="var(--font-body, sans-serif)" font-size="14"
492
+ fill="var(--color-text, #333)" text-anchor="middle">Milestone description one</text>
493
+ <!-- /SLOT -->
494
+
495
+ <!-- Node 2 -->
496
+ <!-- SLOT:node2 -->
497
+ <circle cx="400" cy="280" r="10" fill="var(--color-accent, #4c9aff)"/>
498
+ <text x="400" y="240" font-family="var(--font-title, sans-serif)" font-size="16"
499
+ font-weight="700" fill="var(--color-text, #1a1a2e)" text-anchor="middle">2024 Q3</text>
500
+ <text x="400" y="320" font-family="var(--font-body, sans-serif)" font-size="14"
501
+ fill="var(--color-text, #333)" text-anchor="middle">Milestone description two</text>
502
+ <!-- /SLOT -->
503
+
504
+ <!-- Node 3 -->
505
+ <!-- SLOT:node3 -->
506
+ <circle cx="640" cy="280" r="10" fill="var(--color-accent, #4c9aff)"/>
507
+ <text x="640" y="240" font-family="var(--font-title, sans-serif)" font-size="16"
508
+ font-weight="700" fill="var(--color-text, #1a1a2e)" text-anchor="middle">2025 Q1</text>
509
+ <text x="640" y="320" font-family="var(--font-body, sans-serif)" font-size="14"
510
+ fill="var(--color-text, #333)" text-anchor="middle">Milestone description three</text>
511
+ <!-- /SLOT -->
512
+
513
+ <!-- Node 4 -->
514
+ <!-- SLOT:node4 -->
515
+ <circle cx="880" cy="280" r="10" fill="var(--color-accent, #4c9aff)" opacity="0.3"/>
516
+ <text x="880" y="240" font-family="var(--font-title, sans-serif)" font-size="16"
517
+ font-weight="700" fill="var(--color-text-light, #909090)" text-anchor="middle">2025 Q3</text>
518
+ <text x="880" y="320" font-family="var(--font-body, sans-serif)" font-size="14"
519
+ fill="var(--color-text-light, #909090)" text-anchor="middle">Upcoming milestone</text>
520
+ <!-- /SLOT -->
521
+ </svg>
522
+ ```
523
+
524
+ ---
525
+
526
+ ## L12 — Two Column Comparison
527
+
528
+ **Use**: Side-by-side comparison (before/after, pro/con, old/new).
529
+ **Mood**: Analytical, comparative.
530
+
531
+ ```svg
532
+ <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
533
+ <!-- SLOT:background -->
534
+ <rect width="960" height="540" fill="var(--color-bg, #fafafa)"/>
535
+ <!-- /SLOT -->
536
+
537
+ <!-- SLOT:slide-title -->
538
+ <text x="80" y="60" font-family="var(--font-title, sans-serif)" font-size="28"
539
+ font-weight="700" fill="var(--color-text, #1a1a2e)">
540
+ Comparison Title
541
+ </text>
542
+ <!-- /SLOT -->
543
+
544
+ <!-- Left column -->
545
+ <!-- SLOT:col-left -->
546
+ <rect x="60" y="100" width="400" height="400" rx="10" fill="var(--color-bg, #ffffff)" stroke="var(--color-text-light, #e0e0e0)" stroke-width="1"/>
547
+ <rect x="60" y="100" width="400" height="48" rx="10" fill="var(--color-primary, #1a1a2e)"/>
548
+ <rect x="60" y="138" width="400" height="10" fill="var(--color-primary, #1a1a2e)"/>
549
+ <text x="260" y="130" font-family="var(--font-title, sans-serif)" font-size="20"
550
+ font-weight="700" fill="var(--color-text, #ffffff)" text-anchor="middle">Option A</text>
551
+ <text x="90" y="190" font-family="var(--font-body, sans-serif)" font-size="16"
552
+ fill="var(--color-text, #333)">
553
+ <tspan x="90" dy="0">• Key point one about Option A</tspan>
554
+ <tspan x="90" dy="28">• Key point two about Option A</tspan>
555
+ <tspan x="90" dy="28">• Key point three about Option A</tspan>
556
+ </text>
557
+ <!-- /SLOT -->
558
+
559
+ <!-- Right column -->
560
+ <!-- SLOT:col-right -->
561
+ <rect x="500" y="100" width="400" height="400" rx="10" fill="var(--color-bg, #ffffff)" stroke="var(--color-text-light, #e0e0e0)" stroke-width="1"/>
562
+ <rect x="500" y="100" width="400" height="48" rx="10" fill="var(--color-secondary, #0f0f1a)"/>
563
+ <rect x="500" y="138" width="400" height="10" fill="var(--color-secondary, #0f0f1a)"/>
564
+ <text x="700" y="130" font-family="var(--font-title, sans-serif)" font-size="20"
565
+ font-weight="700" fill="var(--color-text, #ffffff)" text-anchor="middle">Option B</text>
566
+ <text x="530" y="190" font-family="var(--font-body, sans-serif)" font-size="16"
567
+ fill="var(--color-text, #333)">
568
+ <tspan x="530" dy="0">• Key point one about Option B</tspan>
569
+ <tspan x="530" dy="28">• Key point two about Option B</tspan>
570
+ <tspan x="530" dy="28">• Key point three about Option B</tspan>
571
+ </text>
572
+ <!-- /SLOT -->
573
+ </svg>
574
+ ```
575
+
576
+ ---
577
+
578
+ ## L13 — Quote
579
+
580
+ **Use**: Prominent quote with attribution.
581
+ **Mood**: Emotional, authoritative.
582
+
583
+ ```svg
584
+ <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
585
+ <!-- SLOT:background -->
586
+ <rect width="960" height="540" fill="var(--color-bg, #1a1a2e)"/>
587
+ <!-- /SLOT -->
588
+
589
+ <!-- SLOT:quote-mark -->
590
+ <text x="480" y="160" font-family="var(--font-title, sans-serif)" font-size="120"
591
+ font-weight="900" fill="var(--color-accent, #4c9aff)" opacity="0.15" text-anchor="middle">
592
+ "
593
+ </text>
594
+ <!-- /SLOT -->
595
+
596
+ <!-- SLOT:quote-text -->
597
+ <text x="480" y="250" font-family="var(--font-title, sans-serif)" font-size="28"
598
+ font-weight="300" fill="var(--color-text, #ffffff)" text-anchor="middle"
599
+ font-style="italic">
600
+ <tspan x="480" dy="0">"The best way to predict the future</tspan>
601
+ <tspan x="480" dy="40">is to create it."</tspan>
602
+ </text>
603
+ <!-- /SLOT -->
604
+
605
+ <!-- SLOT:quote-attribution -->
606
+ <text x="480" y="360" font-family="var(--font-body, sans-serif)" font-size="18"
607
+ font-weight="400" fill="var(--color-text-light, #a0a0b0)" text-anchor="middle">
608
+ — Author Name, Title / Organization
609
+ </text>
610
+ <!-- /SLOT -->
611
+ </svg>
612
+ ```
613
+
614
+ ---
615
+
616
+ ## L14 — Chart + Explanation
617
+
618
+ **Use**: Chart/visualization on the left, explanation text on the right.
619
+ **Mood**: Data storytelling.
620
+
621
+ ```svg
622
+ <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
623
+ <!-- SLOT:background -->
624
+ <rect width="960" height="540" fill="var(--color-bg, #fafafa)"/>
625
+ <!-- /SLOT -->
626
+
627
+ <!-- SLOT:slide-title -->
628
+ <text x="80" y="60" font-family="var(--font-title, sans-serif)" font-size="28"
629
+ font-weight="700" fill="var(--color-text, #1a1a2e)">
630
+ Data Insight Title
631
+ </text>
632
+ <!-- /SLOT -->
633
+
634
+ <!-- Chart area (left) -->
635
+ <!-- SLOT:chart -->
636
+ <rect x="60" y="100" width="440" height="380" rx="8" fill="var(--color-bg, #ffffff)"
637
+ stroke="var(--color-text-light, #e8e8e8)" stroke-width="1"/>
638
+ <!-- Bar chart example — replace with real chart SVG -->
639
+ <rect x="100" y="300" width="60" height="140" rx="3" fill="var(--color-accent, #4c9aff)"/>
640
+ <rect x="190" y="240" width="60" height="200" rx="3" fill="var(--color-accent, #4c9aff)"/>
641
+ <rect x="280" y="180" width="60" height="260" rx="3" fill="var(--color-accent, #4c9aff)"/>
642
+ <rect x="370" y="280" width="60" height="160" rx="3" fill="var(--color-accent, #4c9aff)"/>
643
+ <text x="130" y="470" font-family="var(--font-body, sans-serif)" font-size="12"
644
+ fill="var(--color-text-light, #909090)" text-anchor="middle">Q1</text>
645
+ <text x="220" y="470" font-family="var(--font-body, sans-serif)" font-size="12"
646
+ fill="var(--color-text-light, #909090)" text-anchor="middle">Q2</text>
647
+ <text x="310" y="470" font-family="var(--font-body, sans-serif)" font-size="12"
648
+ fill="var(--color-text-light, #909090)" text-anchor="middle">Q3</text>
649
+ <text x="400" y="470" font-family="var(--font-body, sans-serif)" font-size="12"
650
+ fill="var(--color-text-light, #909090)" text-anchor="middle">Q4</text>
651
+ <!-- /SLOT -->
652
+
653
+ <!-- Explanation (right) -->
654
+ <!-- SLOT:explanation -->
655
+ <text x="540" y="130" font-family="var(--font-body, sans-serif)" font-size="17"
656
+ fill="var(--color-text, #333)">
657
+ <tspan x="540" dy="0" font-weight="700">Key Takeaway</tspan>
658
+ <tspan x="540" dy="32">What this data shows and why</tspan>
659
+ <tspan x="540" dy="24">it matters to the audience.</tspan>
660
+ <tspan x="540" dy="48" font-weight="700">Insight 2</tspan>
661
+ <tspan x="540" dy="32">Secondary observation or trend</tspan>
662
+ <tspan x="540" dy="24">worth highlighting.</tspan>
663
+ <tspan x="540" dy="48" font-weight="700">Action</tspan>
664
+ <tspan x="540" dy="32">Recommended next step based</tspan>
665
+ <tspan x="540" dy="24">on this analysis.</tspan>
666
+ </text>
667
+ <!-- /SLOT -->
668
+ </svg>
669
+ ```
670
+
671
+ ---
672
+
673
+ ## L15 — Profile Cards (4-up)
674
+
675
+ **Use**: Team introduction, speaker bios, persona profiles.
676
+ **Mood**: Personal, human.
677
+
678
+ ```svg
679
+ <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
680
+ <!-- SLOT:background -->
681
+ <rect width="960" height="540" fill="var(--color-bg, #fafafa)"/>
682
+ <!-- /SLOT -->
683
+
684
+ <!-- SLOT:slide-title -->
685
+ <text x="80" y="55" font-family="var(--font-title, sans-serif)" font-size="26"
686
+ font-weight="700" fill="var(--color-text, #1a1a2e)">
687
+ Team / People
688
+ </text>
689
+ <!-- /SLOT -->
690
+
691
+ <!-- Card 1 -->
692
+ <!-- SLOT:card1 -->
693
+ <rect x="40" y="90" width="200" height="280" rx="10" fill="var(--color-bg, #ffffff)" stroke="var(--color-text-light, #e8e8e8)" stroke-width="1"/>
694
+ <circle cx="140" cy="150" r="40" fill="var(--color-text-light, #e0e0e0)"/>
695
+ <text x="140" y="210" font-family="var(--font-title, sans-serif)" font-size="16"
696
+ font-weight="700" fill="var(--color-text, #333)" text-anchor="middle">Name One</text>
697
+ <text x="140" y="235" font-family="var(--font-body, sans-serif)" font-size="13"
698
+ fill="var(--color-accent, #4c9aff)" text-anchor="middle">Role / Title</text>
699
+ <text x="140" y="270" font-family="var(--font-body, sans-serif)" font-size="12"
700
+ fill="var(--color-text-light, #909090)" text-anchor="middle">
701
+ <tspan x="140" dy="0">Brief description or</tspan>
702
+ <tspan x="140" dy="18">key contribution.</tspan>
703
+ </text>
704
+ <!-- /SLOT -->
705
+
706
+ <!-- Card 2 -->
707
+ <!-- SLOT:card2 -->
708
+ <rect x="260" y="90" width="200" height="280" rx="10" fill="var(--color-bg, #ffffff)" stroke="var(--color-text-light, #e8e8e8)" stroke-width="1"/>
709
+ <circle cx="360" cy="150" r="40" fill="var(--color-text-light, #e0e0e0)"/>
710
+ <text x="360" y="210" font-family="var(--font-title, sans-serif)" font-size="16"
711
+ font-weight="700" fill="var(--color-text, #333)" text-anchor="middle">Name Two</text>
712
+ <text x="360" y="235" font-family="var(--font-body, sans-serif)" font-size="13"
713
+ fill="var(--color-accent, #4c9aff)" text-anchor="middle">Role / Title</text>
714
+ <text x="360" y="270" font-family="var(--font-body, sans-serif)" font-size="12"
715
+ fill="var(--color-text-light, #909090)" text-anchor="middle">
716
+ <tspan x="360" dy="0">Brief description or</tspan>
717
+ <tspan x="360" dy="18">key contribution.</tspan>
718
+ </text>
719
+ <!-- /SLOT -->
720
+
721
+ <!-- Card 3 -->
722
+ <!-- SLOT:card3 -->
723
+ <rect x="480" y="90" width="200" height="280" rx="10" fill="var(--color-bg, #ffffff)" stroke="var(--color-text-light, #e8e8e8)" stroke-width="1"/>
724
+ <circle cx="580" cy="150" r="40" fill="var(--color-text-light, #e0e0e0)"/>
725
+ <text x="580" y="210" font-family="var(--font-title, sans-serif)" font-size="16"
726
+ font-weight="700" fill="var(--color-text, #333)" text-anchor="middle">Name Three</text>
727
+ <text x="580" y="235" font-family="var(--font-body, sans-serif)" font-size="13"
728
+ fill="var(--color-accent, #4c9aff)" text-anchor="middle">Role / Title</text>
729
+ <text x="580" y="270" font-family="var(--font-body, sans-serif)" font-size="12"
730
+ fill="var(--color-text-light, #909090)" text-anchor="middle">
731
+ <tspan x="580" dy="0">Brief description or</tspan>
732
+ <tspan x="580" dy="18">key contribution.</tspan>
733
+ </text>
734
+ <!-- /SLOT -->
735
+
736
+ <!-- Card 4 -->
737
+ <!-- SLOT:card4 -->
738
+ <rect x="700" y="90" width="200" height="280" rx="10" fill="var(--color-bg, #ffffff)" stroke="var(--color-text-light, #e8e8e8)" stroke-width="1"/>
739
+ <circle cx="800" cy="150" r="40" fill="var(--color-text-light, #e0e0e0)"/>
740
+ <text x="800" y="210" font-family="var(--font-title, sans-serif)" font-size="16"
741
+ font-weight="700" fill="var(--color-text, #333)" text-anchor="middle">Name Four</text>
742
+ <text x="800" y="235" font-family="var(--font-body, sans-serif)" font-size="13"
743
+ fill="var(--color-accent, #4c9aff)" text-anchor="middle">Role / Title</text>
744
+ <text x="800" y="270" font-family="var(--font-body, sans-serif)" font-size="12"
745
+ fill="var(--color-text-light, #909090)" text-anchor="middle">
746
+ <tspan x="800" dy="0">Brief description or</tspan>
747
+ <tspan x="800" dy="18">key contribution.</tspan>
748
+ </text>
749
+ <!-- /SLOT -->
750
+ </svg>
751
+ ```
752
+
753
+ ---
754
+
755
+ ## L16 — Closing / Thank You
756
+
757
+ **Use**: Final slide with CTA and contact information.
758
+ **Mood**: Conclusive, actionable.
759
+
760
+ ```svg
761
+ <svg viewBox="0 0 960 540" xmlns="http://www.w3.org/2000/svg">
762
+ <!-- SLOT:background -->
763
+ <rect width="960" height="540" fill="var(--color-bg, #1a1a2e)"/>
764
+ <!-- /SLOT -->
765
+
766
+ <!-- SLOT:closing-text -->
767
+ <text x="480" y="200" font-family="var(--font-title, sans-serif)" font-size="56"
768
+ font-weight="700" fill="var(--color-text, #ffffff)" text-anchor="middle">
769
+ Thank You
770
+ </text>
771
+ <!-- /SLOT -->
772
+
773
+ <!-- SLOT:cta -->
774
+ <text x="480" y="270" font-family="var(--font-body, sans-serif)" font-size="20"
775
+ fill="var(--color-text-light, #a0a0b0)" text-anchor="middle">
776
+ Questions? Let's connect.
777
+ </text>
778
+ <!-- /SLOT -->
779
+
780
+ <!-- SLOT:contact -->
781
+ <text x="480" y="380" font-family="var(--font-body, sans-serif)" font-size="16"
782
+ fill="var(--color-text-light, #707080)" text-anchor="middle">
783
+ <tspan x="480" dy="0">email@example.com</tspan>
784
+ <tspan x="480" dy="28">@handle · website.com</tspan>
785
+ </text>
786
+ <!-- /SLOT -->
787
+ </svg>
788
+ ```
789
+
790
+ ---
791
+
792
+ ## How to Use This Library
793
+
794
+ 1. **Pick a layout** matching the slide's purpose
795
+ 2. **Read `spec_lock.md`** for the current design tokens
796
+ 3. **Copy the SVG skeleton**, keeping `viewBox="0 0 960 540"` intact
797
+ 4. **Replace each `<!-- SLOT:* -->` block** with real content
798
+ 5. **Apply spec colors** by replacing `var(--color-*, fallback)` with actual hex values from spec_lock
799
+ 6. **Validate**: keep text between 80-880 X range, 40-520 Y range
800
+
801
+ ## Image Ratios
802
+
803
+ | Slot Type | Ratio | SVG Width | SVG Height |
804
+ |-----------|-------|-----------|-------------|
805
+ | Hero / full-width | 21:9 | 960 | 410 |
806
+ | Side image | 16:10 | 360 | 225 |
807
+ | Grid image | 16:9 | varies | varies |
808
+ | Portrait accent | 3:4 | 160 | 213 |
809
+
810
+ ## Anti-Drift Rules
811
+
812
+ - **Never** change the viewBox
813
+ - **Never** use custom hex colors — only spec_lock values
814
+ - **Never** place text outside 80-880 X × 40-520 Y safe area
815
+ - **Never** use fonts outside the spec_lock font family
816
+ - KPI numbers use `font-weight="900"`, titles use `700`, body uses `400`