@hfyjq/crannia 1.0.0 → 1.1.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 (221) hide show
  1. package/LICENSE +201 -201
  2. package/NOTICE +45 -45
  3. package/THIRD-PARTY-FRONTEND.md +5266 -5266
  4. package/THIRD-PARTY-PYTHON.md +162 -153
  5. package/THIRD-PARTY.md +316 -316
  6. package/apps/desktop/quotes.txt +56 -56
  7. package/bus/core.py +671 -671
  8. package/bus/loaders/channel_loader.py +64 -64
  9. package/bus/loaders/skill_md.py +676 -676
  10. package/bus/skill_state.py +124 -124
  11. package/channels/cli_channel/manifest.yaml +5 -5
  12. package/channels/dingtalk_channel/manifest.yaml +12 -12
  13. package/channels/feishu_channel/manifest.yaml +12 -12
  14. package/channels/qq_bot_channel/__init__.py +1 -1
  15. package/channels/qq_bot_channel/handler.py +881 -881
  16. package/channels/qq_bot_channel/manifest.yaml +4 -4
  17. package/channels/telegram_channel/__init__.py +1 -1
  18. package/channels/telegram_channel/handler.py +813 -813
  19. package/channels/telegram_channel/manifest.yaml +4 -4
  20. package/channels/telegram_channel/media.py +231 -231
  21. package/channels/textfmt.py +58 -58
  22. package/channels/wechat_channel/__init__.py +1 -1
  23. package/channels/wechat_channel/auth.py +23 -5
  24. package/channels/wechat_channel/manifest.yaml +5 -5
  25. package/channels/wechat_channel/media.py +178 -178
  26. package/config.yaml +2 -2
  27. package/core/activity.py +3 -0
  28. package/core/agent_loop.py +390 -55
  29. package/core/approval.py +17 -6
  30. package/core/artifacts.py +7 -0
  31. package/core/auto_review.py +23 -5
  32. package/core/channel_configs.py +34 -2
  33. package/core/channel_turns.py +759 -759
  34. package/core/child_approval.py +150 -0
  35. package/core/config_requirements.py +205 -0
  36. package/core/cron/runner.py +118 -6
  37. package/core/cron/store.py +14 -5
  38. package/core/cron/tools.py +17 -5
  39. package/core/endpoint.py +141 -0
  40. package/core/events.py +23 -0
  41. package/core/i18n.py +329 -329
  42. package/core/ice/store.py +191 -191
  43. package/core/inbound.py +193 -193
  44. package/core/jobs.py +19 -3
  45. package/core/last_good.py +150 -150
  46. package/core/llm_errors.py +227 -227
  47. package/core/llm_retry.py +230 -230
  48. package/core/memory/compressor.py +1214 -1214
  49. package/core/memory/manager.py +14 -0
  50. package/core/model_configs.py +80 -0
  51. package/core/pipeline/scheduler.py +2 -2
  52. package/core/pipeline/stages/agent_loop.py +24 -4
  53. package/core/pipeline/stages/pre_process.py +58 -7
  54. package/core/prompt_assembler.py +680 -680
  55. package/core/rg.py +255 -255
  56. package/core/security.py +1544 -1544
  57. package/core/settings_baseline.py +70 -1
  58. package/core/shell.py +5 -17
  59. package/core/skill_settings.py +7 -2
  60. package/core/state_registry.py +19 -0
  61. package/core/subagent.py +64 -3
  62. package/core/task_tool.py +1 -1
  63. package/core/tasks_notify.py +69 -4
  64. package/core/tiers.py +9 -3
  65. package/core/tool_outcome.py +108 -0
  66. package/core/update_tui.py +158 -0
  67. package/core/version.py +2 -2
  68. package/core/web_cache.py +152 -0
  69. package/crannia_tray.py +278 -278
  70. package/creators/models.json +4 -4
  71. package/data/settings.example.json +67 -0
  72. package/licenses/GPL-3.0.txt +619 -619
  73. package/licenses/LGPL-2.1.txt +502 -502
  74. package/licenses/LGPL-3.0.txt +165 -165
  75. package/licenses/MIT-chat-on-wechat.txt +18 -18
  76. package/licenses/MIT-deepseek-harness.txt +21 -21
  77. package/licenses/Molio-LICENSE.txt +44 -44
  78. package/locales/en.json +9 -4
  79. package/main.py +154 -154
  80. package/mcpx/manager.py +522 -522
  81. package/mcpx/servers/__init__.py +22 -22
  82. package/mcpx/servers/web_search.py +321 -33
  83. package/package.json +14 -9
  84. package/providers/anthropic/client.py +772 -772
  85. package/providers/cost_table.json +3779 -3779
  86. package/providers/deepseek/client.py +20 -20
  87. package/providers/deepseek/manifest.yaml +2 -2
  88. package/providers/factory.py +136 -136
  89. package/providers/lmstudio/client.py +2 -2
  90. package/providers/metadata.py +80 -80
  91. package/providers/model_capabilities.json +6665 -6665
  92. package/providers/moonshot/client.py +12 -12
  93. package/providers/ollama/client.py +2 -2
  94. package/providers/openai/client.py +13 -13
  95. package/providers/openrouter/client.py +2 -2
  96. package/providers/qwen/__init__.py +1 -1
  97. package/providers/qwen/client.py +2 -2
  98. package/providers/qwen/manifest.yaml +16 -16
  99. package/providers/rate_limiter.py +144 -144
  100. package/providers/siliconflow/client.py +2 -2
  101. package/providers/validation.py +171 -171
  102. package/providers/window_table.json +8909 -8909
  103. package/sbom.json +4413 -4296
  104. package/skills/entertainment/SKILL.md +35 -35
  105. package/skills/entertainment/__init__.py +1 -1
  106. package/skills/entertainment/handler.py +91 -91
  107. package/skills/entertainment/manifest.yaml +26 -26
  108. package/skills/file_parser/GUIDANCE.md +10 -10
  109. package/skills/file_parser/handler.py +177 -4
  110. package/skills/file_parser/manifest.yaml +22 -1
  111. package/skills/github/SKILL.md +32 -32
  112. package/skills/github/__init__.py +1 -1
  113. package/skills/github/manifest.yaml +5 -0
  114. package/skills/mail_parser/SKILL.md +68 -68
  115. package/skills/mail_parser/__init__.py +1 -1
  116. package/skills/mail_parser/handler.py +806 -806
  117. package/skills/mail_parser/manifest.yaml +5 -0
  118. package/skills/media_gen/GUIDANCE.md +19 -19
  119. package/skills/media_gen/SKILL.md +43 -43
  120. package/skills/media_gen/__init__.py +1 -1
  121. package/skills/media_gen/handler.py +430 -430
  122. package/skills/media_gen/manifest.yaml +93 -88
  123. package/skills/office_parser/cell_validation.py +127 -127
  124. package/skills/office_parser/excel_transform.py +936 -936
  125. package/skills/office_parser/layout_spec.py +243 -243
  126. package/skills/office_parser/pptx_export/console_encoding.py +27 -27
  127. package/skills/office_parser/pptx_export/resource_paths.py +88 -88
  128. package/skills/office_parser/pptx_export/svg_finalize/__init__.py +12 -12
  129. package/skills/office_parser/pptx_export/svg_finalize/align_embed_images.py +575 -575
  130. package/skills/office_parser/pptx_export/svg_finalize/crop_images.py +366 -366
  131. package/skills/office_parser/pptx_export/svg_finalize/embed_icons.py +498 -498
  132. package/skills/office_parser/pptx_export/svg_finalize/embed_images.py +288 -288
  133. package/skills/office_parser/pptx_export/svg_finalize/fix_image_aspect.py +388 -388
  134. package/skills/office_parser/pptx_export/svg_finalize/flatten_tspan.py +818 -818
  135. package/skills/office_parser/pptx_export/svg_finalize/svg_rect_to_path.py +345 -345
  136. package/skills/office_parser/pptx_export/svg_to_pptx/__init__.py +14 -14
  137. package/skills/office_parser/pptx_export/svg_to_pptx/drawingml/__init__.py +1 -1
  138. package/skills/office_parser/pptx_export/svg_to_pptx/drawingml/context.py +186 -186
  139. package/skills/office_parser/pptx_export/svg_to_pptx/drawingml/converter.py +781 -781
  140. package/skills/office_parser/pptx_export/svg_to_pptx/drawingml/elements.py +2490 -2490
  141. package/skills/office_parser/pptx_export/svg_to_pptx/drawingml/paths.py +429 -429
  142. package/skills/office_parser/pptx_export/svg_to_pptx/drawingml/styles.py +656 -656
  143. package/skills/office_parser/pptx_export/svg_to_pptx/pptx_package/__init__.py +1 -1
  144. package/skills/office_parser/pptx_export/svg_to_pptx/pptx_package/builder.py +1267 -1267
  145. package/skills/office_parser/pptx_export/svg_to_pptx/pptx_package/dimensions.py +155 -155
  146. package/skills/office_parser/pptx_export/svg_to_pptx/pptx_package/discovery.py +101 -101
  147. package/skills/office_parser/pptx_export/svg_to_pptx/pptx_package/media.py +141 -141
  148. package/skills/office_parser/pptx_export/svg_to_pptx/pptx_package/narration.py +236 -236
  149. package/skills/office_parser/pptx_export/svg_to_pptx/pptx_package/notes.py +257 -257
  150. package/skills/office_parser/pptx_export/svg_to_pptx/pptx_package/slide_xml.py +136 -136
  151. package/skills/office_parser/pptx_export/svg_to_pptx/tspan_flattener.py +44 -44
  152. package/skills/office_parser/pptx_export/svg_to_pptx/use_expander.py +129 -129
  153. package/skills/office_parser/references/LICENSE-Office-Word-MCP-Server.txt +20 -20
  154. package/skills/office_parser/references/LICENSE-excel-mcp-server.txt +21 -21
  155. package/skills/office_parser/references/layout_library.md +816 -816
  156. package/skills/office_parser/references/ppt-master/LICENSE +21 -21
  157. package/skills/office_parser/references/ppt-master/references/executor-base.md +474 -474
  158. package/skills/office_parser/references/ppt-master/references/shared-standards.md +1002 -1002
  159. package/skills/office_parser/references/ppt-master/references/strategist.md +880 -880
  160. package/skills/office_parser/references/ppt-master/references/template-designer.md +402 -402
  161. package/skills/office_parser/references/ppt-master/references/visual-review.md +240 -240
  162. package/skills/office_parser/references/ppt-master/references/visual-styles/_index.md +106 -106
  163. package/skills/office_parser/references/ppt-master/references/visual-styles/blueprint.md +37 -37
  164. package/skills/office_parser/references/ppt-master/references/visual-styles/brutalist.md +38 -38
  165. package/skills/office_parser/references/ppt-master/references/visual-styles/chalkboard.md +36 -36
  166. package/skills/office_parser/references/ppt-master/references/visual-styles/dark-tech.md +37 -37
  167. package/skills/office_parser/references/ppt-master/references/visual-styles/data-journalism.md +36 -36
  168. package/skills/office_parser/references/ppt-master/references/visual-styles/editorial.md +38 -38
  169. package/skills/office_parser/references/ppt-master/references/visual-styles/glassmorphism.md +36 -36
  170. package/skills/office_parser/references/ppt-master/references/visual-styles/ink-notes.md +37 -37
  171. package/skills/office_parser/references/ppt-master/references/visual-styles/ink-wash.md +36 -36
  172. package/skills/office_parser/references/ppt-master/references/visual-styles/memphis.md +37 -37
  173. package/skills/office_parser/references/ppt-master/references/visual-styles/paper-cut.md +36 -36
  174. package/skills/office_parser/references/ppt-master/references/visual-styles/photo-editorial.md +38 -38
  175. package/skills/office_parser/references/ppt-master/references/visual-styles/pixel-art.md +36 -36
  176. package/skills/office_parser/references/ppt-master/references/visual-styles/sketch-notes.md +36 -36
  177. package/skills/office_parser/references/ppt-master/references/visual-styles/soft-rounded.md +37 -37
  178. package/skills/office_parser/references/ppt-master/references/visual-styles/swiss-minimal.md +38 -38
  179. package/skills/office_parser/references/ppt-master/references/visual-styles/vintage-poster.md +36 -36
  180. package/skills/office_parser/references/ppt-master/references/visual-styles/zine.md +37 -37
  181. package/skills/office_parser/references/spec_lock.md +235 -235
  182. package/skills/office_parser/soffice.py +68 -68
  183. package/skills/office_parser/word_tools.py +2909 -2909
  184. package/tui/crannia.cmd +134 -0
  185. package/tui/crannia_tui/__init__.py +1 -0
  186. package/tui/crannia_tui/__main__.py +223 -0
  187. package/tui/crannia_tui/app.py +1318 -0
  188. package/tui/crannia_tui/app.tcss +153 -0
  189. package/tui/crannia_tui/approval.py +85 -0
  190. package/tui/crannia_tui/backend.py +279 -0
  191. package/tui/crannia_tui/channel.py +472 -0
  192. package/tui/crannia_tui/client.py +125 -0
  193. package/tui/crannia_tui/clipboard.py +62 -0
  194. package/tui/crannia_tui/commands.py +65 -0
  195. package/tui/crannia_tui/doctor.py +304 -0
  196. package/tui/crannia_tui/events.py +84 -0
  197. package/tui/crannia_tui/headless.py +152 -0
  198. package/tui/crannia_tui/i18n.py +164 -0
  199. package/tui/crannia_tui/locales/en.json +263 -0
  200. package/tui/crannia_tui/outcome.py +62 -0
  201. package/tui/crannia_tui/paths.py +181 -0
  202. package/tui/crannia_tui/probe.py +53 -0
  203. package/tui/crannia_tui/profile.py +169 -0
  204. package/tui/crannia_tui/render.py +209 -0
  205. package/tui/crannia_tui/settings.py +134 -0
  206. package/tui/crannia_tui/setup.py +380 -0
  207. package/tui/crannia_tui/term.py +116 -0
  208. package/tui/crannia_tui/ui.py +1236 -0
  209. package/tui/crannia_tui/update.py +389 -0
  210. package/vendor/ripgrep/COPYING.txt +3 -3
  211. package/vendor/ripgrep/LICENSE-MIT.txt +21 -21
  212. package/vendor/ripgrep/NOTICE-vscode-ripgrep.txt +13 -13
  213. package/vendor/ripgrep/README.md +51 -51
  214. package/vendor/ripgrep/UNLICENSE.txt +24 -24
  215. package/vendor/ripgrep/package-source.json +19 -19
  216. package/web/__main__.py +15 -0
  217. package/web/server.py +168 -19
  218. package/web/static/img/channel-telegram.svg +1 -1
  219. package/web/static/img/channel-wechat.svg +1 -1
  220. package/web/templates/logs.html +49 -49
  221. 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`