-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
763 lines (737 loc) · 59.1 KB
/
Copy pathindex.html
File metadata and controls
763 lines (737 loc) · 59.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Poster Resume · 海报简历编辑器</title>
<meta name="description" content="一款支持自由排版、三种视觉风格与稳定导出的海报简历编辑器。">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@400;500;700&family=Noto+Serif+SC:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/liquid-glass-ui.css">
<link rel="stylesheet" href="css/app-refinement.css">
</head>
<body class="theme-graphite">
<!-- Top Action Bar -->
<header class="action-bar" id="actionBar" data-liquid-glass data-glass-strength="0.04" data-glass-chromatic-aberration="0.10" data-glass-curvature="0.52" data-glass-glow="0.12" data-glass-edge-highlight="0.22" data-glass-interactive="false">
<div class="action-bar-left">
<div class="app-logo" aria-label="简历海报编辑器">
<span class="app-logo-mark" aria-hidden="true">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/>
<polyline points="14 2 14 8 20 8"/>
<line x1="16" y1="13" x2="8" y2="13"/>
<line x1="16" y1="17" x2="8" y2="17"/>
<polyline points="10 9 9 9 8 9"/>
</svg>
</span>
<span class="app-logo-copy">
<strong>简历海报</strong>
<small>Editorial v2 · 自由排版 · 求职检查</small>
</span>
</div>
<button class="action-btn icon-only sidebar-toggle-mobile" id="sidebarToggleMobile" type="button" aria-label="切换侧边栏" aria-expanded="false" title="展开/收起侧边栏">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<line x1="3" y1="6" x2="21" y2="6"/>
<line x1="3" y1="12" x2="21" y2="12"/>
<line x1="3" y1="18" x2="21" y2="18"/>
</svg>
</button>
<div id="teamIntroButtonContainer">
<button class="action-btn about-trigger" id="teamIntroNavBtn" type="button" aria-controls="teamIntroCard" aria-expanded="false" title="查看 Poster Resume 产品介绍">
<span class="about-trigger-mark" aria-hidden="true">C</span>
<span>关于</span>
</button>
</div>
</div>
<div class="action-bar-center" aria-label="主要工具">
<div class="action-cluster action-cluster-compact liquid-control-group">
<button class="action-btn icon-only" id="btnUndo" title="撤销 (Ctrl+Z)" aria-label="撤销">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M3 7v6h6"/><path d="M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6.69 3L3 13"/></svg>
</button>
<button class="action-btn icon-only" id="btnRedo" title="重做 (Ctrl+Y)" aria-label="重做">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 7v6h-6"/><path d="M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6.69 3L21 13"/></svg>
</button>
</div>
<details class="command-menu" data-command-menu>
<summary class="action-btn command-trigger" aria-label="打开布局工具">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="3" width="18" height="18" rx="3"/><line x1="3" y1="9" x2="21" y2="9"/><line x1="9" y1="21" x2="9" y2="9"/></svg>
<span>布局</span><span class="command-caret" aria-hidden="true">⌄</span>
</summary>
<div class="command-popover" role="menu" aria-label="布局工具">
<div class="command-popover-heading"><strong>布局</strong><small>整理页面结构与空间</small></div>
<button class="command-item" id="btnAutoLayout" type="button"><span class="command-icon">↹</span><span class="command-copy"><strong>自动排版</strong><small>按当前栏结构重新整理模块</small></span></button>
<button class="command-item" id="btnToggleGrid" type="button"><span class="command-icon">#</span><span class="command-copy"><strong>辅助网格</strong><small>显示或隐藏吸附网格</small></span></button>
<button class="command-item" id="btnAddPage" type="button"><span class="command-icon">+</span><span class="command-copy"><strong>增加页面</strong><small>扩展一页 A4 高度</small></span></button>
<button class="command-item" id="magicFitBtn" type="button"><span class="command-icon">1</span><span class="command-copy"><strong>适配单页</strong><small>微调字号与间距以控制篇幅</small></span></button>
</div>
</details>
<details class="command-menu" data-command-menu>
<summary class="action-btn command-trigger" aria-label="打开设计工具">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 3a9 9 0 1 0 0 18h1.5a2.5 2.5 0 0 0 0-5H12a1.5 1.5 0 0 1 0-3h3a6 6 0 0 0-3-10Z"/><circle cx="7.5" cy="10" r="1"/><circle cx="9" cy="6.5" r="1"/><circle cx="15" cy="7" r="1"/></svg>
<span>设计</span><span class="command-caret" aria-hidden="true">⌄</span>
</summary>
<div class="command-popover" role="menu" aria-label="设计工具">
<div class="command-popover-heading"><strong>设计</strong><small>调整字体与信息层级</small></div>
<button class="command-item" id="fontToggleBtn" type="button"><span class="command-icon">Aa</span><span class="command-copy"><strong>字体风格</strong><small>切换衬线与无衬线组合</small></span></button>
<button class="command-item" id="btnSmartGrayscale" type="button"><span class="command-icon">◐</span><span class="command-copy"><strong>智能文字颜色</strong><small>按语义角色设置固定黑灰颜色</small></span></button>
<div class="command-chip-row" aria-label="快速灰度">
<button class="command-chip" id="btnQuickGray100" type="button">重点黑</button>
<button class="command-chip" id="btnQuickGray85" type="button">正文灰</button>
<button class="command-chip" id="btnQuickGray60" type="button">辅助灰</button>
</div>
<button class="command-item command-item-muted" id="btnResetGrayscale" type="button"><span class="command-icon">↺</span><span class="command-copy"><strong>重置文字颜色</strong><small>恢复模块原有颜色</small></span></button>
</div>
</details>
<details class="command-menu command-menu-check" data-command-menu>
<summary class="action-btn command-trigger command-trigger-check" aria-label="打开简历检查">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M9 11l3 3L22 4"/><path d="M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"/></svg>
<span>检查</span><span class="command-caret" aria-hidden="true">⌄</span>
</summary>
<div class="command-popover" role="menu" aria-label="简历检查">
<div class="command-popover-heading"><strong>版面检查</strong><small>只使用本地视觉工具,不调用外部 API</small></div>
<div class="command-grid-two">
<button class="command-item" id="heatmapBtn" type="button"><span class="command-icon">◎</span><span class="command-copy"><strong>视线预测</strong><small>发现容易被忽略的区域</small></span></button>
</div>
</div>
</details>
<button class="action-btn review-dock-reveal" id="reviewDockRevealBtn" type="button" aria-controls="reviewDock" aria-expanded="true" title="显示快速审视工具">
<span class="review-dock-reveal-orb" aria-hidden="true">◎</span>
<span>快速审视</span>
<span class="review-dock-reveal-status" aria-hidden="true"></span>
</button>
</div>
<div class="action-bar-right">
<div class="action-cluster action-cluster-compact liquid-control-group" aria-label="画布缩放">
<button class="action-btn icon-only" id="btnZoomOut" title="缩小" aria-label="缩小">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/><line x1="8" y1="11" x2="14" y2="11"/></svg>
</button>
<span class="zoom-level" id="zoomLevel">100%</span>
<button class="action-btn icon-only" id="btnZoomIn" title="放大" aria-label="放大">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/><line x1="11" y1="8" x2="11" y2="14"/><line x1="8" y1="11" x2="14" y2="11"/></svg>
</button>
</div>
<details class="command-menu command-menu-align-right" data-command-menu>
<summary class="action-btn command-trigger" aria-label="打开文件工具">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>
<span>文件</span><span class="command-caret" aria-hidden="true">⌄</span>
</summary>
<div class="command-popover command-popover-right" role="menu" aria-label="文件工具">
<div class="command-popover-heading"><strong>文件</strong><small>保存、加载与追加数据</small></div>
<button class="command-item" id="btnSave" type="button"><span class="command-icon">JSON</span><span class="command-copy"><strong>保存工程</strong><small>保留模块内容、坐标与样式</small></span></button>
<button class="command-item" id="btnLoadMD" type="button"><span class="command-icon">↥</span><span class="command-copy"><strong>加载文件</strong><small>导入 JSON 或 Markdown</small></span></button>
<button class="command-item" id="btnAppendJSON" type="button"><span class="command-icon">+</span><span class="command-copy"><strong>追加 JSON</strong><small>在当前画布后追加模块</small></span></button>
<button class="command-item" id="btnExportMD" type="button"><span class="command-icon">MD</span><span class="command-copy"><strong>导出 Markdown</strong><small>获得可编辑的纯文本版本</small></span></button>
</div>
</details>
<details class="command-menu command-menu-align-right edit-mode-menu" data-command-menu>
<summary class="action-btn command-trigger" aria-label="打开编辑模式">
<span class="edit-mode-mark" aria-hidden="true"></></span>
<span>编辑模式</span><span class="command-caret" aria-hidden="true">⌄</span>
</summary>
<div class="command-popover command-popover-right" role="menu" aria-label="编辑模式">
<div class="command-popover-heading"><strong>编辑模式</strong><small>可选视图,不改变默认的视觉排版</small></div>
<button class="command-item" id="btnOpenMarkdownView" type="button"><span class="command-icon">MD</span><span class="command-copy"><strong>Markdown 视图</strong><small>用结构化纯文本快速改内容</small></span></button>
<button class="command-item" id="btnOpenJsonView" type="button"><span class="command-icon">JSON</span><span class="command-copy"><strong>JSON 视图</strong><small>精确调整模块、坐标与样式数据</small></span></button>
</div>
</details>
<details class="command-menu command-menu-align-right" data-command-menu>
<summary class="action-btn command-trigger command-trigger-primary" aria-label="打开导出工具">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="17 8 12 3 7 8"/><line x1="12" y1="3" x2="12" y2="15"/></svg>
<span>导出</span><span class="command-caret" aria-hidden="true">⌄</span>
</summary>
<div class="command-popover command-popover-right" role="menu" aria-label="导出工具">
<div class="command-popover-heading"><strong>导出</strong><small>为投递、分享或继续编辑生成文件</small></div>
<button class="command-item command-item-primary" id="btnExport" type="button"><span class="command-icon">PDF</span><span class="command-copy"><strong>导出 PDF</strong><small>保留当前海报视觉排版</small></span></button>
<button class="command-item" id="exportDocxBtn" type="button"><span class="command-icon">W</span><span class="command-copy"><strong>导出 DOCX</strong><small>生成可继续编辑的 Word 版本</small></span></button>
<button class="command-item" id="exportWebBtn" type="button"><span class="command-icon">⌁</span><span class="command-copy"><strong>导出网页</strong><small>生成可分享的交互式页面</small></span></button>
</div>
</details>
<input type="file" id="fileInput" accept=".json,.md" style="display:none">
<input type="file" id="appendJsonInput" accept=".json,application/json" style="display:none">
<input type="file" id="mediaFileInput" accept="image/*" style="display:none">
</div>
</header>
<!-- Main Layout -->
<div class="main-layout">
<!-- Sidebar -->
<aside class="sidebar" id="sidebar">
<div class="sidebar-section sidebar-section-profile">
<div class="sidebar-section-heading">
<h3 class="sidebar-title">排版风格</h3>
<span class="sidebar-section-hint">三档风格 · 实时切调</span>
</div>
<div class="layout-profile-list" id="layoutProfileList" role="radiogroup" aria-label="简历排版风格">
<button class="layout-profile-btn" type="button" data-profile="formal" role="radio" aria-checked="true" tabindex="0">
<span class="layout-profile-mark">01</span>
<span class="layout-profile-copy"><strong>正式</strong><small>白底黑字 · 传统岗位与正式面试</small></span>
</button>
<button class="layout-profile-btn" type="button" data-profile="business" role="radio" aria-checked="false" tabindex="-1">
<span class="layout-profile-mark">02</span>
<span class="layout-profile-copy"><strong>商务</strong><small>正式底盘 · 更清晰的设计层级</small></span>
</button>
<button class="layout-profile-btn" type="button" data-profile="free" role="radio" aria-checked="false" tabindex="-1">
<span class="layout-profile-mark">03</span>
<span class="layout-profile-copy"><strong>自由</strong><small>更多模块 · 适合设计与创意表达</small></span>
</button>
<div class="typography-quick-group" style="margin-top: 10px; display: flex; flex-direction: column; gap: 6px;">
<label class="setting-item" style="justify-content: space-between;">
<span style="font-size: 11px; color: var(--text-secondary);">正文行距</span>
<select id="quickLineHeightSelect" class="toolbar-select" style="max-width: 120px; font-size: 11px; padding: 2px 6px;">
<option value="1.30">1.30 极紧</option>
<option value="1.35">1.35 紧凑</option>
<option value="1.5" selected>1.50 标准</option>
<option value="1.65">1.65 舒展</option>
<option value="1.8">1.80 宽松</option>
<option value="1.90">1.90 极宽</option>
</select>
</label>
<div id="cloudFontAppliedBadge" class="cloud-font-applied-badge" style="font-size: 10px; color: var(--accent); font-weight: 500; display: none;">
✓ 简历字体已应用: <span id="cloudFontAppliedName"></span>
</div>
<p class="font-scope-note">只影响白纸简历,不改变编辑器界面字体</p>
</div>
</div>
<div class="sidebar-section sidebar-section-modules">
<h3 class="sidebar-title">添加模块</h3>
<div class="section-list" id="sectionList">
<h4 class="section-subtitle section-subtitle-core">核心模块</h4>
<div class="section-grid section-grid-core">
<button class="section-add-btn" data-type="header"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><circle cx="8" cy="5" r="2.2"/><path d="M4.6 12.5c.7-2 2-3 3.4-3s2.7 1 3.4 3"/></svg></div><span>个人信息</span></button>
<button class="section-add-btn" data-type="photoCard"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><rect x="2.8" y="3.2" width="10.4" height="9.6" rx="1.2"/><circle cx="6.2" cy="6.4" r="1.2"/><path d="M4.4 10.6 7 8.2l1.9 1.7 2.7-2.6"/></svg></div><span>头像照片</span></button>
<button class="section-add-btn" data-type="experience"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><rect x="2.5" y="4.5" width="11" height="8" rx="1.6"/><path d="M6 4.5V3.4c0-.5.4-.9.9-.9h2.2c.5 0 .9.4.9.9v1.1"/></svg></div><span>工作经历</span></button>
<button class="section-add-btn" data-type="projects"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><rect x="2.5" y="3" width="11" height="10" rx="1.5"/><path d="M2.5 6.1h11"/><path d="M6 13V6.1"/></svg></div><span>项目经历</span></button>
<button class="section-add-btn" data-type="skills"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="m8 2.8 1.5 2.9 3.2.5-2.3 2.2.5 3.2L8 10.2 5.1 11.6l.5-3.2L3.3 6.2l3.2-.5L8 2.8Z"/></svg></div><span>专业技能</span></button>
<button class="section-add-btn" data-type="education"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M2.4 6.1 8 3.5l5.6 2.6L8 8.7 2.4 6.1Z"/><path d="M4.5 7.3v2.2c0 .9 1.6 2 3.5 2s3.5-1.1 3.5-2V7.3"/></svg></div><span>教育背景</span></button>
<button class="section-add-btn" data-type="summary"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M4 4.5h8"/><path d="M4 7.5h8"/><path d="M4 10.5h5.5"/></svg></div><span>个人简介</span></button>
<button class="section-add-btn" data-type="contact"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><rect x="4.5" y="2.6" width="7" height="10.8" rx="1.4"/><path d="M6.5 11.2h3"/></svg></div><span>联系方式</span></button>
<button class="section-add-btn" data-type="languages"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><circle cx="8" cy="8" r="5.4"/><path d="M2.8 8h10.4"/><path d="M8 2.6c1.4 1.5 2.2 3.4 2.2 5.4S9.4 11.9 8 13.4C6.6 11.9 5.8 10 5.8 8S6.6 4.1 8 2.6Z"/></svg></div><span>语言能力</span></button>
</div>
<h4 class="section-subtitle">图表与叙事</h4>
<div class="section-grid section-grid-secondary">
<button class="section-add-btn" data-type="skillsViz"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M3 12.5V8.8"/><path d="M8 12.5V5.5"/><path d="M13 12.5V3.2"/></svg></div><span>智能图表</span></button>
<button class="section-add-btn" data-type="radarViz"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M8 2.8 12.4 5v6L8 13.2 3.6 11V5Z"/><path d="M8 2.8V13.2"/><path d="M3.6 5 12.4 11"/><path d="M12.4 5 3.6 11"/></svg></div><span>能力雷达</span></button>
<button class="section-add-btn" data-type="statsBox"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M3 11.8 6.1 8.6l2.2 1.8 4-4"/><path d="M9.8 6.4h2.5v2.5"/></svg></div><span>关键战绩</span></button>
<button class="section-add-btn" data-type="quote"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M5.4 6.3H4.2c0 2 .6 3.1 1.8 3.9"/><path d="M10.8 6.3H9.6c0 2 .6 3.1 1.8 3.9"/></svg></div><span>核心引言</span></button>
<button class="section-add-btn" data-type="timeline"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M8 3v10"/><circle cx="8" cy="4.2" r="1"/><circle cx="8" cy="8" r="1"/><circle cx="8" cy="11.8" r="1"/></svg></div><span>垂直时间轴</span></button>
<button class="section-add-btn" data-type="timelineH"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M3 8h10"/><circle cx="4.2" cy="8" r="1"/><circle cx="8" cy="8" r="1"/><circle cx="11.8" cy="8" r="1"/></svg></div><span>水平时间轴</span></button>
<button class="section-add-btn" data-type="skillProgress"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M3 4.5h10"/><path d="M3 8h7.5"/><path d="M3 11.5h5"/></svg></div><span>进度条</span></button>
<button class="section-add-btn" data-type="portfolioGallery"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><rect x="2.8" y="3.2" width="10.4" height="9.6" rx="1.2"/><path d="M4.4 10.6 7 8.2l1.9 1.7 2.7-2.6"/></svg></div><span>作品墙</span></button>
</div>
<h4 class="section-subtitle">扩展组件</h4>
<div class="section-grid section-grid-tertiary">
<button class="section-add-btn" data-type="awards"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><circle cx="8" cy="6" r="2.7"/><path d="M6.3 8.3 5 12.8l3-1.4 3 1.4-1.3-4.5"/></svg></div><span>荣誉奖项</span></button>
<button class="section-add-btn" data-type="volunteer"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M8 12.4 3.9 8.7c-1-1-1-2.6 0-3.5s2.6-.8 3.5.2L8 6l.6-.6c1-1 2.6-1 3.5-.2s1 2.5 0 3.5L8 12.4Z"/></svg></div><span>志愿者</span></button>
<button class="section-add-btn" data-type="certifications"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><rect x="3.6" y="2.8" width="8.8" height="10.4" rx="1"/><path d="M6 6h4"/><path d="M6 8.6h4"/><path d="M6 11.1h2.6"/></svg></div><span>证书</span></button>
<button class="section-add-btn" data-type="okr"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><circle cx="8" cy="8" r="4.8"/><circle cx="8" cy="8" r="2.4"/><circle cx="8" cy="8" r="0.8"/></svg></div><span>OKR</span></button>
<button class="section-add-btn" data-type="bentoGrid"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><rect x="3" y="3" width="4" height="4" rx="0.8"/><rect x="9" y="3" width="4" height="4" rx="0.8"/><rect x="3" y="9" width="4" height="4" rx="0.8"/><rect x="9" y="9" width="4" height="4" rx="0.8"/></svg></div><span>Bento</span></button>
<button class="section-add-btn" data-type="qrPortal"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M3 6V3h3"/><path d="M10 3h3v3"/><path d="M13 10v3h-3"/><path d="M6 13H3v-3"/><path d="M6.2 6.2h3.6v3.6H6.2Z"/></svg></div><span>扫码入口</span></button>
<button class="section-add-btn" data-type="divider"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M3 8h10"/></svg></div><span>分割线</span></button>
<button class="section-add-btn" data-type="dividerVertical"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M8 3v10"/></svg></div><span>垂直线</span></button>
<button class="section-add-btn" data-type="custom"><div class="section-icon" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M4 12 11.8 4.2"/><path d="m10.5 3 2.5 2.5"/><path d="M4 12h2.8"/></svg></div><span>自定义</span></button>
</div>
</div>
</div>
<details class="sidebar-section sidebar-section-collapsible sidebar-section-layout" id="secLayoutTemplates">
<summary class="sidebar-summary">
<h3 class="sidebar-title">布局模板</h3>
<span class="summary-caret" aria-hidden="true">⌄</span>
</summary>
<div class="sidebar-collapsible-body">
<div class="layout-templates">
<button class="layout-btn" data-layout="single" title="单栏布局">
<div class="layout-preview single-col">
<div class="lp-block full"></div>
<div class="lp-block full"></div>
<div class="lp-block full"></div>
</div>
<span>单栏</span>
</button>
<button class="layout-btn" data-layout="sidebar" title="侧栏布局">
<div class="layout-preview two-col">
<div class="lp-col left">
<div class="lp-block"></div>
<div class="lp-block"></div>
</div>
<div class="lp-col right">
<div class="lp-block"></div>
<div class="lp-block"></div>
<div class="lp-block"></div>
</div>
</div>
<span>侧栏</span>
</button>
<button class="layout-btn" data-layout="two-equal" title="双栏等宽">
<div class="layout-preview two-eq">
<div class="lp-col">
<div class="lp-block"></div>
<div class="lp-block"></div>
</div>
<div class="lp-col">
<div class="lp-block"></div>
<div class="lp-block"></div>
</div>
</div>
<span>双栏</span>
</button>
</div>
</div>
</details>
<details class="sidebar-section sidebar-section-collapsible sidebar-section-grid" id="secGridSettings">
<summary class="sidebar-summary">
<h3 class="sidebar-title">网格与吸附</h3>
<span class="summary-caret" aria-hidden="true">⌄</span>
</summary>
<div class="sidebar-collapsible-body">
<div class="grid-settings">
<label class="grid-label">
网格大小
<input type="range" id="gridSizeSlider" min="5" max="40" value="20" class="grid-slider">
<span id="gridSizeValue" class="grid-value">20px</span>
</label>
<label class="grid-label">
<input type="checkbox" id="snapToGrid" checked>
启用网格吸附
</label>
</div>
</div>
</details>
<details class="sidebar-section sidebar-section-collapsible sidebar-section-global" id="secGlobalSettings">
<summary class="sidebar-summary">
<h3 class="sidebar-title">全局设置与字体</h3>
<span class="summary-caret" aria-hidden="true">⌄</span>
</summary>
<div class="sidebar-collapsible-body">
<div class="grid-settings">
<label class="grid-label" style="justify-content: space-between; width: 100%;">
<span>字体风格</span>
<select id="fontStyleSelect" class="fmt-select" style="width: 100px;">
<option value="sans" selected>现代无衬线</option>
<option value="serif">古典衬线体</option>
</select>
</label>
<label class="grid-label">
页边距
<input type="range" id="pagePaddingSlider" min="24" max="72" value="40" class="grid-slider">
<span id="pagePaddingValue" class="grid-value">40px</span>
</label>
</div>
<div class="setting-row">
<label class="setting-item">
<span>云端字体库</span>
<select id="cloudFontSelect" class="toolbar-select">
<option value="default">默认系统字体</option>
<option value="Inter">Inter (现代无衬线)</option>
<option value="Open Sans">Open Sans (通用清晰)</option>
<option value="Lato">Lato (稳重现代)</option>
<option value="Nunito Sans">Nunito Sans (圆润简洁)</option>
<option value="Roboto">Roboto (现代无衬线)</option>
<option value="Source Sans 3">Source Sans 3 (专业简历)</option>
<option value="PT Sans">PT Sans (高可读)</option>
<option value="IBM Plex Sans">IBM Plex Sans (理性科技)</option>
<option value="Space Grotesk">Space Grotesk (科技展示)</option>
<option value="Plus Jakarta Sans">Plus Jakarta Sans (精致现代)</option>
<option value="Work Sans">Work Sans (干净现代)</option>
<option value="Manrope">Manrope (清晰展示)</option>
<option value="Outfit">Outfit (几何现代)</option>
<option value="Montserrat">Montserrat (经典几何)</option>
<option value="Raleway">Raleway (轻盈标题)</option>
<option value="Playfair Display">Playfair Display (优雅衬线)</option>
<option value="Merriweather">Merriweather (易读衬线)</option>
<option value="Lora">Lora (平衡衬线)</option>
<option value="Cormorant Garamond">Cormorant Garamond (高级衬线)</option>
<option value="Libre Baskerville">Libre Baskerville (正式衬线)</option>
<option value="IBM Plex Serif">IBM Plex Serif (专业衬线)</option>
<option value="Source Serif 4">Source Serif 4 (西文衬线)</option>
<option value="DM Serif Text">DM Serif Text (标题衬线)</option>
<option value="Noto Sans">Noto Sans (国际通用)</option>
<option value="Noto Sans SC">思源黑体 (现代中文)</option>
<option value="ZCOOL XiaoWei">站酷小薇体 (中文标题)</option>
<option value="ZCOOL KuaiLe">站酷快乐体 (活力展示)</option>
<option value="Noto Serif SC">思源宋体 (古典中文)</option>
<option value="Ma Shan Zheng">麻山正草体 (书法艺术)</option>
</select>
</label>
</div>
<div class="setting-row">
<label class="setting-item">
<span>整体字号比例</span>
<select id="globalFontScaleSelect" class="toolbar-select">
<option value="0.7">70% (极小)</option>
<option value="0.8">80% (很小)</option>
<option value="0.85">85% (更紧凑)</option>
<option value="0.95">95% (略小)</option>
<option value="1" selected>100% (标准)</option>
<option value="1.1">110% (略大)</option>
<option value="1.2">120% (更醒目)</option>
<option value="1.3">130% (很大)</option>
<option value="1.4">140% (超大)</option>
<option value="1.5">150% (演示级)</option>
</select>
</label>
</div>
<div class="setting-row">
<label class="setting-item">
<span>正文行距</span>
<select id="resumeLineHeightSelect" class="toolbar-select">
<option value="1.30">极紧 · 1.30</option>
<option value="1.35">紧凑 · 1.35</option>
<option value="1.5" selected>平衡 · 1.50</option>
<option value="1.65">舒展 · 1.65</option>
<option value="1.8">宽松 · 1.80</option>
<option value="1.90">极宽 · 1.90</option>
</select>
</label>
</div>
<div class="setting-row">
<label class="setting-item">
<span>数学排版比例</span>
<select id="typeScaleSelect" class="toolbar-select">
<option value="standard">经典平衡 (1.250)</option>
<option value="compact">极度紧凑 (1.125)</option>
<option value="bold">视觉张力 (1.414)</option>
</select>
</label>
</div>
<div class="setting-row" style="margin-top: 12px; margin-bottom: 6px;">
<label class="setting-item">
<span>行业心理调色板</span>
<select id="toneScaleSelect" class="toolbar-select" style="max-width: 140px;">
<option value="default">默认 (极简白皮书)</option>
<option value="finance">金融/法律 (深海蓝调)</option>
<option value="creative">设计/新媒体 (渐变活力)</option>
<option value="hacker">硬核科技 (黑客帝国)</option>
</select>
</label>
</div>
<div class="setting-row" style="margin-top: 12px;">
<label class="grid-label" style="justify-content: space-between; width: 100%;">
<span>隐私保护模式</span>
<input type="checkbox" id="privacyModeToggle" class="apple-switch">
</label>
<p style="font-size: 10px; color: var(--text-tertiary); margin-top: 4px;">开启后模糊手机、邮箱等敏感信息</p>
</div>
</div>
</details>
<details class="sidebar-section sidebar-section-collapsible sidebar-section-persona" id="secPersonaSettings">
<summary class="sidebar-summary">
<h3 class="sidebar-title">简历分身管理</h3>
<span class="summary-caret" aria-hidden="true">⌄</span>
</summary>
<div class="sidebar-collapsible-body">
<div class="persona-controls">
<div class="persona-select-wrapper">
<select id="personaSelect" class="persona-select">
<option value="default">默认版本</option>
</select>
<button id="btnNewPersona" class="persona-action-btn" title="创建新分身">+</button>
<button id="btnRenamePersona" class="persona-action-btn" title="重命名">✎</button>
</div>
<p style="font-size: 10px; color: var(--text-tertiary); margin-top: 4px;">根据不同求职岗位自如切换版本</p>
</div>
</div>
</details>
<details class="sidebar-section sidebar-section-collapsible sidebar-section-agent" id="secAgentSettings">
<summary class="sidebar-summary">
<h3 class="sidebar-title">Agent 协作</h3>
<span class="summary-caret" aria-hidden="true">⌄</span>
</summary>
<div class="sidebar-collapsible-body">
<p class="agent-handoff-note">本版编辑器不内置 API 调用。外部 Agent 可通过稳定的模块、字段、拖动与布局接口直接操作当前简历。</p>
<p class="agent-handoff-note agent-handoff-note-muted">所有修改仍可在这里手动检查、撤销和导出。</p>
<div class="agent-cli-panel" id="agentCliPanel">
<div class="agent-cli-panel-heading">
<div>
<strong>CLI 命令面板</strong>
<small>浏览器桥接 · 可由终端调用</small>
</div>
<span class="agent-cli-status" id="agentCliStatus" data-status="connecting">连接中</span>
</div>
<label class="agent-cli-label" for="agentCliCommand">命令 JSON</label>
<textarea id="agentCliCommand" class="agent-cli-command" rows="4" spellcheck="false">{
"operation": "diagnose-layout"
}</textarea>
<div class="agent-cli-actions">
<button class="agent-cli-btn agent-cli-btn-primary" id="agentCliRunBtn" type="button">运行命令</button>
<button class="agent-cli-btn" id="agentCliCopyBtn" type="button">复制 CLI 示例</button>
</div>
<pre class="agent-cli-result" id="agentCliResult" aria-live="polite">等待命令…</pre>
<p class="agent-cli-hint">终端也可执行:<code>npm run cli -- diagnose-layout</code></p>
</div>
</div>
</details>
<details class="sidebar-section sidebar-section-collapsible sidebar-section-theme" id="secThemeSettings">
<summary class="sidebar-summary">
<h3 class="sidebar-title">主题与纸张背景</h3>
<span class="summary-caret" aria-hidden="true">⌄</span>
</summary>
<div class="sidebar-collapsible-body">
<div class="theme-picker-grid" id="themePicker">
<button class="theme-btn" data-theme="apple-blue" title="经典蓝"></button>
<button class="theme-btn active" data-theme="graphite" title="深邃灰"></button>
<button class="theme-btn" data-theme="emerald" title="翡翠绿"></button>
<button class="theme-btn" data-theme="indigo" title="藏蓝紫"></button>
<button class="theme-btn" data-theme="rose" title="玫瑰红"></button>
</div>
<div class="paper-color-panel" aria-labelledby="paperColorLabel">
<div class="paper-color-heading">
<span id="paperColorLabel">简历纸张背景</span>
<button class="paper-color-reset" id="resumePaperColorReset" type="button">恢复默认</button>
</div>
<div class="paper-color-controls">
<label class="paper-color-picker-wrap" title="选择简历背景色">
<input type="color" id="resumePaperColorPicker" value="#fffefb" aria-label="选择简历背景色">
<span aria-hidden="true"></span>
</label>
<input class="paper-color-hex" id="resumePaperColorHex" type="text" value="#FFFEFB" maxlength="7" spellcheck="false" autocomplete="off" aria-label="简历背景色号" inputmode="text">
</div>
<div class="paper-color-presets" aria-label="常用纸张背景色">
<button type="button" data-paper-color="#FFFFFF" title="纯白" aria-label="纯白 #FFFFFF"></button>
<button type="button" data-paper-color="#FFFEFB" title="暖白" aria-label="暖白 #FFFEFB"></button>
<button type="button" data-paper-color="#F7F3EA" title="米白" aria-label="米白 #F7F3EA"></button>
<button type="button" data-paper-color="#F2F5F7" title="冷灰" aria-label="冷灰 #F2F5F7"></button>
<button type="button" data-paper-color="#EEF4F0" title="浅绿灰" aria-label="浅绿灰 #EEF4F0"></button>
</div>
<p class="paper-color-hint" id="resumePaperColorHint">支持输入 #RRGGBB;导出 PDF 与桌面版会保留该颜色。</p>
</div>
</div>
</details>
</aside>
<!-- Canvas Area -->
<main class="canvas-area" id="canvasArea">
<aside class="review-dock" id="reviewDock" aria-label="快速审视工具" data-liquid-glass data-glass-strength="0.08" data-glass-chromatic-aberration="0.18" data-glass-curvature="0.68" data-glass-glow="0.18" data-glass-edge-highlight="0.32">
<div class="review-dock-head">
<div class="review-dock-title-row">
<span class="review-dock-eyebrow">Quick Review</span>
<button class="review-dock-collapse" id="reviewDockCollapseBtn" type="button" aria-label="收起快速审视" title="收起快速审视">−</button>
</div>
<strong>让招聘者先看见重点</strong>
<span>视觉聚焦与一页边界检查</span>
</div>
<div class="review-dock-actions">
<button class="review-action review-action-primary" type="button" data-review-action="heatmapBtn">
<span class="review-action-icon">◎</span>
<span><strong>视觉聚焦</strong><small>查看视线热点与盲区</small></span>
</button>
</div>
</aside>
<div class="canvas-wrapper" id="canvasWrapper">
<!-- HR Eye Tracking Heatmap Overlay -->
<canvas id="heatmapCanvas" style="position: absolute; top: 0; left: 0; pointer-events: none; z-index: 100; mix-blend-mode: multiply; filter: blur(25px); opacity: 0; transition: opacity 0.5s;"></canvas>
<section class="team-intro-card" id="teamIntroCard" aria-label="产品与团队介绍" data-liquid-glass data-glass-strength="0.07" data-glass-chromatic-aberration="0.16" data-glass-curvature="0.72" data-glass-glow="0.20" data-glass-edge-highlight="0.34">
<span class="team-intro-orb team-intro-orb-a" aria-hidden="true"></span>
<span class="team-intro-orb team-intro-orb-b" aria-hidden="true"></span>
<div class="team-intro-rail">
<span>FIELD NOTE · POSTER RESUME · 2026</span>
<button class="team-intro-toggle" id="teamIntroToggle" type="button" aria-label="关闭团队介绍">关闭</button>
</div>
<div class="team-intro-layout">
<div class="team-intro-copy">
<span class="team-intro-kicker-main">MADE FOR BETTER RESUMES</span>
<h2 class="team-intro-title">POSTER RESUME</h2>
<p class="team-intro-text">Poster Resume 把简历当作一张可以编辑的海报:你可以根据要呈现的内容改变结构,而不是把经历硬塞进固定框架。</p>
<p class="team-intro-text">传统简历工具往往先规定版式,再要求内容适应版式。这里支持模块拖动、时间轴、双栏、Markdown、JSON 和外部 Agent 协作,让信息层级决定最终排版。</p>
<div class="team-intro-philosophy">
<span>编辑思路</span>
<strong>先把内容讲清楚,再让版面为内容服务。</strong>
<small>适合人工编辑,也适合 Agent 通过结构化数据查看、修改和回滚。</small>
</div>
<div class="team-intro-actions">
<button class="team-intro-action team-intro-action-primary" id="teamIntroStartBtn" type="button">开始编辑</button>
</div>
</div>
<div class="team-intro-features" aria-label="Poster Resume 产品特点">
<div class="team-intro-feature team-intro-feature-wide"><span>WHY</span><strong>为 Agent 时代准备的自由排版简历</strong><small>视觉编辑器负责看得见的版面,JSON / Markdown 和 CLI 负责可读、可改、可验证的结构。</small></div>
</div>
<div class="team-intro-team-note">
<span class="team-intro-contact-label">CORRESPONDENCE</span>
<strong>来信交流</strong>
<p><a class="team-intro-email" href="mailto:dalesededierge@gmail.com">dalesededierge@gmail.com</a></p>
<p><a class="team-intro-email" href="https://github.com/daleselaji-dev/PosterResume" target="_blank" rel="noreferrer">访问 GitHub 仓库</a></p>
</div>
</div>
</section>
<div class="resume-canvas" id="resumeCanvas">
<svg id="neuralBridgeLayer"></svg>
<div class="grid-overlay" id="gridOverlay"></div>
<!-- A4纸张边界指示器 -->
<div class="page-boundary-indicator"></div>
<div class="page-boundary-label">← A4纸张边界(超出此线将分页)</div>
<!-- Resume sections will be dynamically added here -->
</div>
</div>
<!-- 时光机版本轴 (Time-Machine Versioning) -->
<div class="version-timeline" id="versionTimeline">
<button class="btn-save-snapshot" id="btnSaveSnapshot">+ 存快照</button>
<div class="timeline-snapshots" id="timelineNodes">
<!-- dynamically populated nodes going here -->
</div>
</div>
</main>
</div>
<!-- Formatting Toolbar (shown on text selection) - Enhanced -->
<div class="format-toolbar" id="formatToolbar" style="display:none;">
<!-- Text Style -->
<button class="fmt-btn" data-cmd="bold" title="粗体 (Ctrl+B)"><b>B</b></button>
<button class="fmt-btn" data-cmd="italic" title="斜体 (Ctrl+I)"><i>I</i></button>
<div class="fmt-divider"></div>
<!-- Typography -->
<button class="fmt-btn" id="fmtFontSizeDown" title="文字变小">A-</button>
<select class="fmt-select" id="fontSizeSelect" title="字号" style="width: 72px;">
<option value="8">8px</option>
<option value="9">9px</option>
<option value="10">10px</option>
<option value="11">11px</option>
<option value="12">12px</option>
<option value="13">13px</option>
<option value="14" selected>14px</option>
<option value="15">15px</option>
<option value="16">16px</option>
<option value="17">17px</option>
<option value="18">18px</option>
<option value="19">19px</option>
<option value="20">20px</option>
<option value="22">22px</option>
<option value="24">24px</option>
<option value="28">28px</option>
<option value="32">32px</option>
<option value="36">36px</option>
<option value="40">40px</option>
<option value="48">48px</option>
<option value="56">56px</option>
<option value="64">64px</option>
</select>
<button class="fmt-btn" id="fmtFontSizeUp" title="文字变大">A+</button>
<div class="fmt-divider"></div>
<!-- Color -->
<input type="color" class="fmt-color" id="fontColorPicker" value="#1d1d1f" title="文字颜色">
<div class="fmt-divider"></div>
<!-- Text grayscale: actual color depth, never opacity -->
<div class="fmt-group gray-tone-control" title="直接设置选中文字的颜色深浅,不改变透明度">
<span class="gray-tone-label">文字深浅</span>
<div class="gray-tone-swatches" role="group" aria-label="文字颜色深浅">
<button class="gray-tone-swatch gray-tone-reset" data-gray-tone="reset" title="恢复默认颜色" aria-label="恢复默认颜色">
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>
</button>
<button class="gray-tone-swatch" data-gray-tone="100" title="重点黑 #000000" aria-label="重点黑"></button>
<button class="gray-tone-swatch" data-gray-tone="95" title="标题深灰 #1a1a1a" aria-label="标题深灰"></button>
<button class="gray-tone-swatch" data-gray-tone="85" title="正文深灰 #404040" aria-label="正文深灰"></button>
<button class="gray-tone-swatch" data-gray-tone="60" title="辅助中灰 #737373" aria-label="辅助中灰"></button>
<button class="gray-tone-swatch" data-gray-tone="40" title="弱化浅灰 #a6a6a6" aria-label="弱化浅灰"></button>
</div>
</div>
<div class="fmt-divider"></div>
<!-- Link -->
<button class="fmt-btn" id="formatLinkBtn" title="链接">🔗</button>
</div>
<!-- Context Menu -->
<div class="context-menu" id="contextMenu" style="display:none;">
<button class="ctx-item" data-action="duplicate">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg>
复制模块
</button>
<button class="ctx-item" data-action="delete">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="3 6 5 6 21 6"/><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/></svg>
删除模块
</button>
<div class="ctx-divider"></div>
<button class="ctx-item" data-action="bringFront">置于顶层</button>
<button class="ctx-item" data-action="sendBack">置于底层</button>
<div class="ctx-divider"></div>
<button class="ctx-item" data-action="resetSize">重置大小</button>
<div class="ctx-divider"></div>
<button class="ctx-item" data-action="attachProof">添加实战证据 (URL)</button>
</div>
<!-- Alignment Guides -->
<div class="alignment-guide horizontal" id="guideH" style="display:none;"></div>
<div class="alignment-guide vertical" id="guideV" style="display:none;"></div>
<section class="source-view-panel" id="sourceViewPanel" hidden aria-label="结构化编辑视图">
<div class="source-view-header">
<div>
<span class="source-view-kicker">OPTIONAL EDITOR</span>
<h2 id="sourceViewTitle">Markdown 视图</h2>
<p id="sourceViewDescription">用结构化纯文本快速改内容,应用后回到视觉排版。</p>
</div>
<button class="source-view-close" id="sourceViewClose" type="button" aria-label="关闭编辑模式">×</button>
</div>
<div class="source-view-toolbar" role="tablist" aria-label="编辑视图类型">
<button class="source-view-tab is-active" id="sourceViewMarkdownTab" type="button" role="tab" aria-selected="true">Markdown</button>
<button class="source-view-tab" id="sourceViewJsonTab" type="button" role="tab" aria-selected="false">JSON</button>
<span class="source-view-status" id="sourceViewStatus">未修改</span>
</div>
<textarea class="source-view-editor" id="sourceViewEditor" spellcheck="false" aria-label="结构化简历内容"></textarea>
<div class="source-view-footer">
<span>默认视觉编辑器仍是主视图;此处适合 Agent、批量改写与精确数据调整。</span>
<div>
<button class="source-view-secondary" id="sourceViewReset" type="button">重新读取</button>
<button class="source-view-primary" id="sourceViewApply" type="button">应用到简历</button>
</div>
</div>
</section>
<!-- Toast Notification -->
<div class="toast-container" id="toastContainer"></div>
<!-- Smart Completion Hub -->
<div class="completion-hub" id="completionHub">
<div class="completion-ring">
<svg width="36" height="36" viewBox="0 0 36 36">
<circle cx="18" cy="18" r="16" fill="none" stroke="rgba(0,0,0,0.05)" stroke-width="3"/>
<circle cx="18" cy="18" r="16" fill="none" stroke="var(--accent)" stroke-width="3"
stroke-dasharray="100.5" stroke-dashoffset="100.5" stroke-linecap="round"
id="completionCircle" style="transition: stroke-dashoffset 0.5s ease;"/>
</svg>
</div>
<div class="completion-text">
<span class="completion-label">简历完善度</span>
<span class="completion-percent" id="completionPercent">0%</span>
</div>
<div class="completion-tooltip">
<div class="tooltip-title">快速提升建议</div>
<div id="completionItems">
<!-- Items dynamically added here -->
</div>
</div>
</div>
<!-- Context Booster Tooltip -->
<div id="contextBooster" class="context-booster">
<div class="context-booster-title">业务语境强化</div>
<div id="contextBoosterSuggestion" class="context-booster-suggestion"></div>
<div id="contextBoosterActions" class="context-booster-actions">
<!-- Dynamic tags -->
</div>
</div>
<script type="module" src="js/runtime_self_test_bootstrap.js"></script>
<script type="module" src="js/grid.js"></script>
<script type="module" src="js/drag.js"></script>
<script type="module" src="js/text_tone.js"></script>
<script type="module" src="js/editor.js"></script>
<script type="module" src="js/layout.js"></script>
<script type="module" src="js/page_indicator.js"></script>
<script type="module" src="js/document_model.js"></script>
<script type="module" src="js/resume.js"></script>
<script type="module" src="js/source_view.js"></script>
<script type="module" src="js/liquid_glass_surface.js"></script>
<script type="module" src="js/motion_system.js"></script>
<script type="module" src="js/agent_bridge.js"></script>
<script type="module" src="js/agent_cli_ui.js"></script>
<script type="module" src="js/ui_shell.js"></script>
<script type="module" src="js/semantic_model.js"></script>
<script type="module" src="js/auto_format_plan.js"></script>
<script type="module" src="js/auto_format_apply.js"></script>
<script type="module" src="js/export_docx.js"></script>
<script type="module" src="js/gamification.js"></script>
<script type="module" src="js/persona.js"></script>
<script type="module" src="js/roi_analyzer.js"></script>
<script type="module" src="js/paper_color.js"></script>
<script id="neuralBridgeScript" type="module" src="js/neural_bridge.js"></script>
<script type="module" src="js/visual_focus.js"></script>
<script type="module" src="js/app.js"></script>
<script type="module" src="js/about_ui.js"></script>
<script type="module" src="js/ui_lifecycle.js"></script>
<script type="module" src="js/runtime_self_test.js"></script>
<!-- Brand Watermark (Web UI only) -->
<div class="brand-seal">
<div class="seal-icon">Ἡφαιστος</div>
</div>
</body>
</html>