@biunow/agent-biutalk 1.1.7 → 1.1.8

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 (108) hide show
  1. package/_shared/.tmp-panel-smoke/art/smoke.mp4 +0 -0
  2. package/_shared/.tmp-panel-smoke/art-pipe/out/biuart-01_cave-mwq5kfpm.mp4 +0 -0
  3. package/_shared/.tmp-panel-smoke/art-pipe/panel-delivery.json +7 -0
  4. package/_shared/.tmp-panel-smoke/reel-pipe/film/index.html +7 -0
  5. package/_shared/.tmp-panel-smoke/reel-pipe/film/main.js +68 -0
  6. package/_shared/.tmp-panel-smoke/reel-pipe/film/panel-beats.json +20 -0
  7. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/CREDITS +20 -0
  8. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/build.sh +17 -0
  9. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/ease.js +43 -0
  10. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/events.json +1 -0
  11. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/film.js +533 -0
  12. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/fonts/OFL-Archivo.txt +93 -0
  13. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/fonts/OFL-DMSerifDisplay.txt +93 -0
  14. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/fonts/OFL-UnifrakturMaguntia.txt +94 -0
  15. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/fonts/fonts.css +3 -0
  16. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/index.html +6 -0
  17. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/lines.json +10 -0
  18. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/main.js +15 -0
  19. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/mix.py +116 -0
  20. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/music/score.py +168 -0
  21. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/music/score_meta.json +59 -0
  22. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/score.json +235 -0
  23. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/stills/styleframe.jpg +0 -0
  24. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/tools/fonts.sh +17 -0
  25. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/tools/subs.py +11 -0
  26. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/tools/words.py +20 -0
  27. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/voices/dur.json +10 -0
  28. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/voices/words.json +213 -0
  29. package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/voices/words_rel.json +56 -0
  30. package/_shared/.tmp-panel-smoke/reel-pipe/style-ref.json +5 -0
  31. package/_shared/.tmp-panel-smoke/reel-pipe2/film/index.html +7 -0
  32. package/_shared/.tmp-panel-smoke/reel-pipe2/film/main.js +68 -0
  33. package/_shared/.tmp-panel-smoke/reel-pipe2/film/panel-beats.json +20 -0
  34. package/_shared/.tmp-panel-smoke/reel-pipe2/out/video.mp4 +0 -0
  35. package/_shared/.tmp-panel-smoke/reel-pipe2/panel-delivery.json +8 -0
  36. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/CREDITS +20 -0
  37. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/build.sh +17 -0
  38. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/ease.js +43 -0
  39. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/events.json +1 -0
  40. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/film.js +533 -0
  41. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/fonts/OFL-Archivo.txt +93 -0
  42. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/fonts/OFL-DMSerifDisplay.txt +93 -0
  43. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/fonts/OFL-UnifrakturMaguntia.txt +94 -0
  44. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/fonts/fonts.css +3 -0
  45. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/index.html +6 -0
  46. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/lines.json +10 -0
  47. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/main.js +15 -0
  48. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/mix.py +116 -0
  49. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/music/score.py +168 -0
  50. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/music/score_meta.json +59 -0
  51. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/score.json +235 -0
  52. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/stills/styleframe.jpg +0 -0
  53. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/tools/fonts.sh +17 -0
  54. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/tools/subs.py +11 -0
  55. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/tools/words.py +20 -0
  56. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/voices/dur.json +10 -0
  57. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/voices/words.json +213 -0
  58. package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/voices/words_rel.json +56 -0
  59. package/_shared/.tmp-panel-smoke/reel-pipe2/style-ref.json +5 -0
  60. package/_shared/.tmp-panel-smoke/remo-pipe/brief.md +2 -0
  61. package/_shared/.tmp-panel-smoke/remo-pipe/remo-job.json +4 -0
  62. package/_shared/.tmp-panel-smoke/remo-pipe2/brief.md +1 -0
  63. package/_shared/.tmp-panel-smoke/remo-pipe2/out/final.mp4 +0 -0
  64. package/_shared/.tmp-panel-smoke/remo-pipe2/panel-delivery.json +8 -0
  65. package/_shared/.tmp-panel-smoke/remo-pipe2/remo-job.json +4 -0
  66. package/_shared/.tmp-panel-smoke/vibe-pipe-ok/ep00-demo.mp4 +0 -0
  67. package/_shared/.tmp-panel-smoke/vibe-pipe-ok/out/ep00-demo.mp4 +0 -0
  68. package/_shared/.tmp-panel-smoke/vibe-pipe-ok/panel-delivery.json +7 -0
  69. package/_shared/.tmp-panel-smoke/vibe-pipe-ok/publish.json +10 -0
  70. package/_shared/.tmp-panel-smoke/vibe-still.jpg +0 -0
  71. package/_shared/.tmp-panel-smoke/vibe-still.log +6 -0
  72. package/_shared/.tmp-panel-smoke/vibe-still.log.err +0 -0
  73. package/_shared/.tmp-panel-smoke/vibe-still2.log +26 -0
  74. package/_shared/.tmp-panel-smoke/vibe-still2.log.err +0 -0
  75. package/_shared/lib/film-locate.mjs +203 -0
  76. package/_shared/lib/voice-catalog.mjs +127 -0
  77. package/_shared/scripts/apply-upload-limits.mjs +62 -0
  78. package/_shared/scripts/patch-film-hosts.mjs +233 -0
  79. package/_shared/scripts/patch-voice-options.mjs +41 -0
  80. package/_shared/scripts/sync-local-agents.mjs +67 -0
  81. package/_shared/scripts/wire-film-bridge.mjs +24 -0
  82. package/_shared/scripts/wire-voice-plus.mjs +68 -0
  83. package/_shared/studio/assert-panel-permit.mjs +67 -0
  84. package/_shared/studio/composer.css +559 -0
  85. package/_shared/studio/composer.js +728 -0
  86. package/_shared/studio/optimize-prompt.mjs +84 -0
  87. package/_shared/studio/optimize-prompt.test.mjs +47 -0
  88. package/_shared/studio/recipes.mjs +87 -0
  89. package/_shared/studio/select-menu.js +450 -0
  90. package/_shared/studio/to-english-prompt.mjs +165 -0
  91. package/_shared/studio/to-english-prompt.test.mjs +72 -0
  92. package/bin/server.js +22 -22
  93. package/data/looks.json +8 -0
  94. package/lib/film-bridge.mjs +1 -0
  95. package/lib/host.mjs +131 -264
  96. package/lib/voice-bridge.mjs +2 -0
  97. package/manifest.json +4 -3
  98. package/package.json +1 -1
  99. package/skills/biutalk/EXEC.md +69 -0
  100. package/skills/biutalk/SKILL.md +12 -10
  101. package/skills/biutalk/scripts/doctor.mjs +124 -0
  102. package/skills/biutalk/scripts/qc.mjs +129 -0
  103. package/skills/biutalk/scripts/scaffold.mjs +205 -0
  104. package/studio/app.js +16 -1
  105. package/studio/composer.css +94 -0
  106. package/studio/composer.js +257 -9
  107. package/studio/index.html +5 -1
  108. package/studio/to-english-prompt.mjs +16 -0
@@ -0,0 +1,559 @@
1
+ :root {
2
+ --ink: #000;
3
+ --ink-soft: #1a1a1a;
4
+ --accent: #d4f07a;
5
+ --accent-soft: #eef8c4;
6
+ --accent-deep: #b8d94a;
7
+ --paper: #f3f3f1;
8
+ --paper-2: #e9e9e6;
9
+ --surface: #fff;
10
+ --muted: #6b6b6b;
11
+ --muted-2: #9a9a9a;
12
+ --line: #e2e2df;
13
+ --line-strong: #d0d0cc;
14
+ --danger: #c23b2e;
15
+ --success: #2f6b4f;
16
+ --warn: #9a6b00;
17
+ --radius: 18px;
18
+ --radius-sm: 12px;
19
+ --shadow: 0 1px 2px rgb(0 0 0 / 4%), 0 12px 36px rgb(0 0 0 / 6%);
20
+ --font: "Plus Jakarta Sans", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
21
+ --display: "Fraunces", "Songti SC", "SimSun", serif;
22
+ }
23
+ * { box-sizing: border-box; }
24
+ body {
25
+ margin: 0;
26
+ font: 13.5px/1.5 var(--font);
27
+ color: var(--ink);
28
+ background:
29
+ radial-gradient(1200px 600px at 10% -10%, rgb(212 240 122 / 24%), transparent 55%),
30
+ radial-gradient(900px 500px at 100% 0%, rgb(0 0 0 / 4%), transparent 50%),
31
+ linear-gradient(180deg, #f5f5f2 0%, #fafaf8 48%, #fff 100%);
32
+ min-height: 100vh;
33
+ }
34
+ button, input, textarea, select { font-family: inherit; }
35
+ button { cursor: pointer; }
36
+ button:disabled { cursor: not-allowed; opacity: .5; }
37
+
38
+ .desk {
39
+ max-width: 1180px; margin: 0 auto;
40
+ padding: 28px 28px 48px;
41
+ }
42
+ .hero {
43
+ display: flex; align-items: flex-end; justify-content: space-between; gap: 28px;
44
+ margin-bottom: 20px; padding: 22px 24px 20px;
45
+ background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
46
+ box-shadow: var(--shadow);
47
+ }
48
+ .hero-copy { min-width: 0; flex: 1; }
49
+ .eyebrow {
50
+ display: block; font-size: 10px; letter-spacing: .18em; font-weight: 700;
51
+ color: var(--muted); margin-bottom: 10px;
52
+ }
53
+ .hero h1 {
54
+ font-family: var(--display); font-size: clamp(28px, 3.6vw, 44px);
55
+ line-height: 1.05; letter-spacing: -.03em; margin: 0 0 10px; font-weight: 700;
56
+ }
57
+ .hero-desc { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; max-width: 52ch; }
58
+ .sub { color: var(--muted-2); font-size: 11px; margin-top: 10px; word-break: break-all; }
59
+ .hero-aside { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex: none; }
60
+ .hero-badge {
61
+ background: #111; color: #fff; border-radius: 14px; padding: 12px 16px 11px;
62
+ min-width: 132px; text-align: left; box-shadow: 0 10px 28px rgb(0 0 0 / 12%);
63
+ }
64
+ .hero-badge span { font-size: 10px; letter-spacing: .14em; color: #8a8a8a; }
65
+ .hero-badge strong { display: block; font-family: var(--display); font-size: 22px; margin: 3px 0 2px; color: var(--accent); }
66
+ .hero-badge em { font-size: 10px; color: #9a9a9a; font-style: normal; }
67
+ .chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
68
+ .chip {
69
+ border-radius: 999px; padding: 3px 9px; font-size: 11px;
70
+ background: var(--accent-soft); color: var(--ink);
71
+ }
72
+ .chip.warn { background: #f5e6c8; color: var(--warn); }
73
+ .chip.bad { background: #f7dcd7; color: var(--danger); }
74
+ @media (max-width: 720px) {
75
+ .hero { flex-direction: column; align-items: stretch; }
76
+ .hero-aside { align-items: flex-start; }
77
+ .chips { justify-content: flex-start; }
78
+ }
79
+
80
+ .layout {
81
+ display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .7fr);
82
+ gap: 16px; align-items: start;
83
+ }
84
+ @media (max-width: 920px) { .layout { grid-template-columns: 1fr; } }
85
+
86
+ .composer {
87
+ background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
88
+ box-shadow: var(--shadow); overflow: visible; position: relative;
89
+ }
90
+ .link-bar {
91
+ display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
92
+ padding: 12px 16px 8px;
93
+ }
94
+ .need-flags { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
95
+ .need-flag {
96
+ font-size: 11px; font-weight: 650; border-radius: 99px; padding: 2px 8px;
97
+ background: #f4f4ef; color: var(--ink);
98
+ }
99
+ .need-flag.required { background: var(--ink); color: var(--accent); }
100
+ .need-flag.off { color: var(--muted); }
101
+ .link-input {
102
+ flex: 1; min-width: 200px; border: 1px solid var(--line); border-radius: 10px;
103
+ padding: 8px 12px; font-size: 12px; background: #fafaf7; color: var(--ink); outline: 0;
104
+ }
105
+ .link-input:focus { border-color: var(--accent-deep); background: #fff; }
106
+ .link-add {
107
+ border: 0; background: var(--ink); color: var(--accent); border-radius: 99px;
108
+ padding: 8px 14px; font-size: 12px; font-weight: 600;
109
+ }
110
+ .link-add:disabled { opacity: 0.4; }
111
+ .composer textarea {
112
+ width: 100%; min-height: 190px; border: 0; resize: vertical; outline: 0;
113
+ padding: 18px 22px 8px; font-size: 15px; line-height: 1.7; background: transparent; color: var(--ink);
114
+ }
115
+ .composer textarea::placeholder { color: #a3a39f; }
116
+
117
+ .prompt-stage { position: relative; }
118
+ .prompt-stage textarea { padding-bottom: 48px; }
119
+ .optimize {
120
+ position: absolute; right: 14px; bottom: 12px; z-index: 2;
121
+ border: 1px solid var(--line-strong); background: #fff; color: var(--ink);
122
+ border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 650;
123
+ box-shadow: 0 1px 2px rgb(0 0 0 / 6%);
124
+ }
125
+ .optimize:hover { background: var(--accent-soft); border-color: var(--accent-deep); }
126
+ .optimize.is-locked { opacity: .55; }
127
+ .optimize.is-locked:hover { background: #fff; border-color: var(--line-strong); }
128
+ .optimize-tip {
129
+ position: absolute; right: 14px; bottom: 48px; z-index: 3;
130
+ background: #111; color: #fff; border-radius: 10px; padding: 8px 10px;
131
+ font-size: 12px; line-height: 1.4; white-space: nowrap;
132
+ box-shadow: 0 8px 24px rgb(0 0 0 / 18%);
133
+ }
134
+ .optimize-tip[hidden] { display: none !important; }
135
+
136
+ .composer-foot {
137
+ display: flex; align-items: center; justify-content: space-between; gap: 12px;
138
+ padding: 10px 12px 12px 14px; border-top: 1px solid #f0f0ed; flex-wrap: wrap;
139
+ }
140
+ .left-tools, .right-tools { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
141
+ .count { color: var(--muted-2); font-size: 11px; }
142
+ .plus-wrap { position: relative; }
143
+ .plus {
144
+ width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
145
+ background: var(--paper); display: inline-grid; place-items: center;
146
+ color: var(--ink); padding: 0; line-height: 0; font-size: 0;
147
+ }
148
+ .plus svg { width: 16px; height: 16px; display: block; }
149
+ .plus:hover, .plus.on { background: var(--accent-soft); border-color: var(--accent-deep); }
150
+ .plus-menu {
151
+ position: absolute; left: 0; bottom: 52px; width: 320px; z-index: 30;
152
+ background: var(--surface); border: 1px solid var(--line); border-radius: 15px;
153
+ box-shadow: 0 2px 6px rgb(0 0 0 / 5%), 0 24px 60px rgb(0 0 0 / 16%);
154
+ padding: 8px; animation: sm-in .14s ease-out;
155
+ }
156
+ .plus-menu > button, .menu-row {
157
+ width: 100%; display: flex; gap: 11px; align-items: flex-start; text-align: left;
158
+ border: 0; background: transparent; padding: 10px; border-radius: 11px; color: var(--ink);
159
+ font: inherit; cursor: pointer;
160
+ }
161
+ .plus-menu > button:hover, .menu-row:hover { background: #f6f6f2; }
162
+ .plus-menu > button > span, .menu-row > span {
163
+ display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0;
164
+ }
165
+ .plus-menu strong { font-size: 12px; }
166
+ .plus-menu small { color: var(--muted); font-size: 10px; }
167
+ .plus-ico {
168
+ width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft);
169
+ display: inline-flex; align-items: center; justify-content: center; flex: none;
170
+ font-size: 14px;
171
+ }
172
+ .size-label { font-size: 11px; color: var(--muted-2); margin-left: 4px; }
173
+ .size-pick { width: 200px; flex: none; }
174
+ /* .sm{display:block} 会盖掉原生 [hidden];档位/尺寸按栏目显隐时必须压住 */
175
+ .size-pick[hidden],
176
+ .sm[hidden] { display: none !important; }
177
+ .theme-pick { width: 186px; flex: none; }
178
+ .primary {
179
+ border: 0; background: var(--ink); color: var(--accent); border-radius: 99px;
180
+ padding: 11px 20px; font-weight: 700; font-size: 13px;
181
+ display: inline-flex; align-items: center; gap: 8px;
182
+ }
183
+ .primary:hover { background: #1b1b1b; }
184
+ .assets {
185
+ display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 14px;
186
+ align-items: center;
187
+ }
188
+ .assets:has(+ .file-hidden + .err:not([hidden])) { padding-bottom: 8px; }
189
+ .assets-label { font-size: 10px; color: var(--muted-2); margin-right: 2px; }
190
+ .asset {
191
+ display: inline-flex; align-items: center; gap: 6px;
192
+ background: var(--accent-soft); border-radius: 99px; padding: 5px 9px; font-size: 11px;
193
+ }
194
+ .asset.bad { background: #f7dcd7; color: var(--danger); }
195
+ .asset button {
196
+ border: 0; background: transparent; color: var(--muted); font-size: 15px; line-height: 1; padding: 0;
197
+ }
198
+ .color-row {
199
+ display: none; flex-wrap: wrap; gap: 10px; align-items: center;
200
+ padding: 0 16px 10px;
201
+ }
202
+ .color-row.on { display: flex; }
203
+ .color-row label {
204
+ display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted);
205
+ }
206
+ .color-row input[type="color"] {
207
+ width: 32px; height: 24px; padding: 0; border: 1px solid var(--line);
208
+ border-radius: 6px; background: #fff; cursor: pointer;
209
+ }
210
+ .look-swatch {
211
+ width: 54px; height: 24px; border-radius: 6px; border: 1px solid var(--line);
212
+ display: inline-grid; grid-template-columns: 1.4fr 1fr 1fr; overflow: hidden; flex: none;
213
+ }
214
+ .look-swatch i { display: block; min-width: 0; }
215
+ .style-lock-thumb {
216
+ width: 28px; height: 28px; border-radius: 7px; object-fit: cover;
217
+ border: 1px solid var(--line); flex: none; background: #111;
218
+ }
219
+ .lock-tag {
220
+ font-size: 10px; font-weight: 600; color: var(--ink);
221
+ background: var(--accent-soft); border-radius: 999px; padding: 3px 8px;
222
+ }
223
+ .err {
224
+ display: flex; align-items: flex-start; gap: 8px;
225
+ margin: 0 14px 14px; padding: 8px 12px;
226
+ color: #8a3a32; background: #fdf4f2; border: 1px solid #f0d5d0;
227
+ border-radius: 12px; font-size: 12px; line-height: 1.45;
228
+ }
229
+ .err[hidden] { display: none; }
230
+ .err::before {
231
+ content: ""; width: 6px; height: 6px; margin-top: 6px; border-radius: 50%;
232
+ background: var(--danger); flex: none;
233
+ }
234
+ .warn-box {
235
+ margin: 12px 2px 0; color: #8a5a12; background: #fff7e6; border: 1px solid #f1ddb3;
236
+ padding: 10px 13px; border-radius: 11px; font-size: 12px;
237
+ }
238
+
239
+ .side {
240
+ background: rgb(255 255 255 / 72%); border: 1px solid var(--line);
241
+ border-radius: 16px; padding: 14px; box-shadow: var(--shadow);
242
+ }
243
+ .side h2 { margin: 0 0 12px; font-size: 13px; }
244
+ .jobs { display: flex; flex-direction: column; gap: 8px; max-height: 70vh; overflow: auto; }
245
+ .job {
246
+ border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff;
247
+ cursor: pointer;
248
+ }
249
+ .job:hover { border-color: #c8c8c2; }
250
+ .job.run { border-left: 3px solid var(--accent-deep); }
251
+ .job.ok { border-left: 3px solid var(--success); }
252
+ .job.bad { border-left: 3px solid var(--danger); }
253
+ .job.warn { border-left: 3px solid var(--warn); }
254
+ .job-top { display: flex; align-items: center; gap: 6px; min-width: 0; }
255
+ .job-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; flex: none; }
256
+ .job-chip {
257
+ min-width: 0; font-size: 10px; color: var(--muted);
258
+ overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
259
+ }
260
+ .job .t {
261
+ margin-top: 6px; font-weight: 600; font-size: 12px; line-height: 1.45;
262
+ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
263
+ }
264
+ .job-del {
265
+ flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1px solid transparent;
266
+ background: transparent; color: var(--muted-2); font-size: 16px; line-height: 1;
267
+ display: inline-grid; place-items: center; padding: 0;
268
+ }
269
+ .job-del:hover { background: #f7dcd7; color: var(--danger); border-color: #f0c4bc; }
270
+ .job-open {
271
+ flex: none; border: 1px solid var(--line); background: #fff; color: var(--ink);
272
+ border-radius: 999px; font-size: 11px; padding: 2px 8px; cursor: pointer; white-space: nowrap;
273
+ }
274
+ .job-open:hover:not(:disabled) { background: var(--accent-soft); }
275
+ .job-open:disabled { opacity: .4; cursor: not-allowed; }
276
+ .job .badge {
277
+ flex: 0 0 auto; font-size: 10px; padding: 2px 7px; border-radius: 999px;
278
+ background: #ececea; color: var(--muted);
279
+ }
280
+ .job .badge.run { background: var(--accent-soft); color: var(--ink); }
281
+ .job .badge.ok { background: rgba(47,107,79,.12); color: var(--success); }
282
+ .job .badge.bad { background: #f7dcd7; color: var(--danger); }
283
+ .job .m {
284
+ color: var(--muted); font-size: 11px; margin-top: 4px;
285
+ overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
286
+ }
287
+ .job .result {
288
+ margin-top: 6px; display: flex; gap: 6px; align-items: flex-start; min-width: 0;
289
+ }
290
+ .job .result.dim { opacity: .75; }
291
+ .job .result .lab { flex: 0 0 auto; font-size: 10px; color: var(--muted-2); margin-top: 2px; }
292
+ .job .result code {
293
+ flex: 1; min-width: 0; font-size: 10px; line-height: 1.35; word-break: break-all;
294
+ background: #f6f6f4; border-radius: 6px; padding: 3px 5px;
295
+ }
296
+ .bar { height: 4px; background: #ececea; border-radius: 99px; overflow: hidden; margin-top: 8px; }
297
+ .bar i { display: block; height: 100%; background: var(--accent-deep); width: 0; }
298
+ .muted { color: var(--muted); font-size: 12px; }
299
+ .film-stage {
300
+ margin: 0 0 12px; border: 1px solid var(--line); border-radius: 12px;
301
+ overflow: hidden; background: #111;
302
+ }
303
+ .film-stage[hidden] { display: none; }
304
+ .film-video { display: block; width: 100%; max-height: 220px; background: #000; }
305
+ .film-bar {
306
+ display: flex; align-items: center; gap: 8px;
307
+ padding: 8px 10px; background: #fff;
308
+ }
309
+ .film-title {
310
+ flex: 1; min-width: 0; font-size: 12px; font-weight: 600;
311
+ overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
312
+ }
313
+ .film-pop {
314
+ flex: none; border: 1px solid var(--line); background: #fff; color: var(--ink);
315
+ border-radius: 999px; font: inherit; font-size: 11px; padding: 3px 10px; cursor: pointer;
316
+ }
317
+ .film-pop:hover { background: var(--accent-soft); }
318
+ .job.playable { cursor: pointer; }
319
+ .job.on { outline: 2px solid var(--accent-deep); outline-offset: 1px; }
320
+ .film-modal {
321
+ position: fixed; inset: 0; z-index: 80; background: rgba(10,10,10,.72);
322
+ display: grid; place-items: center; padding: 24px;
323
+ }
324
+ .film-modal[hidden] { display: none; }
325
+ .film-modal-card { width: min(960px, 100%); background: #111; border-radius: 16px; overflow: hidden; }
326
+ .film-modal-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; color: #f4f1ea; }
327
+ .film-modal-bar strong {
328
+ flex: 1; min-width: 0; font-size: 13px; font-weight: 600;
329
+ overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
330
+ }
331
+ .film-modal-x {
332
+ width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent;
333
+ color: #f4f1ea; font-size: 20px; line-height: 1; cursor: pointer;
334
+ }
335
+ .film-modal video { display: block; width: 100%; max-height: min(72vh, 640px); background: #000; }
336
+ /* 拆解结果弹层:跟随应用浅色主题,滚动条与卡片自绘 */
337
+ .film-modal.breakdown { padding: 28px; }
338
+ .film-modal.breakdown .film-modal-card {
339
+ width: min(1080px, 100%); max-height: min(88vh, 920px);
340
+ overflow: auto; overscroll-behavior: contain;
341
+ background: var(--paper); color: var(--ink);
342
+ border: 1px solid var(--line-strong); border-radius: 16px;
343
+ box-shadow: 0 24px 64px rgba(0, 0, 0, .28);
344
+ scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, .22) transparent;
345
+ }
346
+ .film-modal.breakdown .film-modal-card::-webkit-scrollbar { width: 10px; height: 10px; }
347
+ .film-modal.breakdown .film-modal-card::-webkit-scrollbar-track { background: transparent; }
348
+ .film-modal.breakdown .film-modal-card::-webkit-scrollbar-thumb {
349
+ background: rgba(0, 0, 0, .18); border-radius: 999px;
350
+ border: 3px solid transparent; background-clip: content-box;
351
+ }
352
+ .film-modal.breakdown .film-modal-card::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, .34); background-clip: content-box; }
353
+ .film-modal.breakdown .film-modal-bar {
354
+ position: sticky; top: 0; z-index: 3;
355
+ padding: 12px 16px; color: var(--ink);
356
+ background: rgba(246, 246, 243, .94); backdrop-filter: blur(8px);
357
+ border-bottom: 1px solid var(--line);
358
+ }
359
+ .film-modal.breakdown .film-modal-x { color: var(--ink-soft); }
360
+ .film-modal.breakdown .film-modal-x:hover { background: var(--paper-2); }
361
+ .breakdown-body { padding: 2px 16px 22px; }
362
+ .bd-group { margin-top: 20px; }
363
+ .bd-group h3 {
364
+ display: flex; align-items: center; gap: 8px; margin: 0 0 10px;
365
+ font-size: 12px; font-weight: 650; letter-spacing: .02em; color: var(--ink);
366
+ }
367
+ .bd-group h3::before { content: ''; width: 3px; height: 12px; border-radius: 2px; background: var(--accent-deep); }
368
+ .bd-img {
369
+ display: block; width: 100%; max-height: 460px; object-fit: contain;
370
+ margin-bottom: 12px; border-radius: 12px; cursor: zoom-in;
371
+ background: #fff; border: 1px solid var(--line);
372
+ transition: border-color .15s ease;
373
+ }
374
+ .bd-img:hover { border-color: var(--accent-deep); }
375
+ .bd-json {
376
+ margin: 0 0 12px; padding: 12px 14px; border-radius: 12px;
377
+ background: #fff; border: 1px solid var(--line); color: var(--ink-soft);
378
+ font-size: 12px; line-height: 1.75; white-space: pre-wrap; word-break: break-all;
379
+ }
380
+ .bd-empty { color: var(--ink-soft); font-size: 12px; }
381
+ .bd-actions { margin: 12px 0 2px; }
382
+ .bd-go {
383
+ border: 1px solid var(--accent-deep); border-radius: 999px; padding: 9px 20px; cursor: pointer;
384
+ background: var(--accent-soft); color: var(--ink); font-size: 12px; font-weight: 650;
385
+ transition: filter .15s ease;
386
+ }
387
+ .bd-go:hover { filter: brightness(.97); }
388
+ .bd-viewer {
389
+ position: fixed; inset: 0; z-index: 95; padding: 32px; cursor: zoom-out;
390
+ display: grid; place-items: center; background: rgba(12, 12, 12, .93);
391
+ }
392
+ .bd-viewer[hidden] { display: none; }
393
+ .bd-viewer img { max-width: 100%; max-height: 100%; border-radius: 8px; }
394
+ .asset.ref { background: var(--accent-soft); border-color: var(--accent-deep); }
395
+ button.job-play {
396
+ appearance: none; border: 0; background: none; font: inherit; color: inherit;
397
+ cursor: pointer; padding: 0; text-align: left; width: 100%;
398
+ }
399
+ .job-fill { color: #8a877e; font-size: 11px; }
400
+
401
+ /* SelectMenu */
402
+ .sm { position: relative; display: block; min-width: 0; }
403
+ .sm[hidden] { display: none !important; }
404
+ .sm-trigger {
405
+ width: 100%; display: flex; align-items: center; gap: 8px; text-align: left;
406
+ background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
407
+ padding: 0 11px; color: var(--ink); font-size: 12px; font-weight: 500;
408
+ transition: border-color .15s, box-shadow .15s;
409
+ }
410
+ .sm-md { height: 40px; }
411
+ .sm-sm { height: 30px; padding: 0 8px; font-size: 11px; border-radius: 9px; }
412
+ .sm-trigger:hover { border-color: #b9b9b4; }
413
+ .sm-trigger.on { border-color: var(--ink); box-shadow: 0 0 0 3px rgb(212 240 122 / 45%); }
414
+ .sm-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
415
+ .sm-value.placeholder { color: var(--muted-2); }
416
+ .sm-hint {
417
+ flex: none; font-size: 10px; color: var(--muted); background: #f4f4ef;
418
+ padding: 2px 7px; border-radius: 99px; max-width: 46%; overflow: hidden;
419
+ text-overflow: ellipsis; white-space: nowrap;
420
+ }
421
+ .sm-sm .sm-hint { font-size: 9px; padding: 1px 5px; max-width: 58%; }
422
+ .sm-chevron {
423
+ color: var(--muted); transition: transform .18s; flex: none;
424
+ width: 14px; height: 14px;
425
+ }
426
+ .sm-chevron.on { transform: rotate(180deg); color: var(--ink); }
427
+ .sm-panel {
428
+ position: fixed; z-index: 300; outline: none;
429
+ background: var(--surface); border: 1px solid var(--line); border-radius: 15px;
430
+ box-shadow: 0 2px 6px rgb(0 0 0 / 5%), 0 24px 60px rgb(0 0 0 / 16%);
431
+ padding: 5px; animation: sm-in .14s ease-out;
432
+ }
433
+ @keyframes sm-in {
434
+ from { opacity: 0; transform: translateY(-4px) scale(.985); }
435
+ to { opacity: 1; transform: none; }
436
+ }
437
+ .sm-scroll { max-height: 292px; overflow-y: auto; overscroll-behavior: contain; }
438
+ .sm-option {
439
+ width: 100%; display: flex; align-items: center; gap: 8px; text-align: left;
440
+ border: 0; background: transparent; color: var(--ink); cursor: pointer;
441
+ padding: 8px 10px; border-radius: 9px; font-size: 12px; font-weight: 500;
442
+ }
443
+ .sm-option + .sm-option { margin-top: 1px; }
444
+ .sm-option.on { background: #f2f2ed; }
445
+ .sm-option.picked { background: var(--accent-soft); }
446
+ .sm-option.picked.on { background: #e4f4a8; }
447
+ .sm-opt-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
448
+ .sm-opt-hint { flex: none; font-size: 10px; color: var(--muted); }
449
+ .sm-check { flex: none; color: #5e7a17; font-weight: 700; }
450
+ .sm-scroll.grid {
451
+ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px;
452
+ padding: 5px; max-height: 430px;
453
+ }
454
+ .sm-scroll.grid .sm-option {
455
+ flex-direction: column; align-items: stretch; gap: 5px; padding: 5px; border-radius: 11px;
456
+ }
457
+ .sm-scroll.grid .sm-option + .sm-option { margin-top: 0; }
458
+ .sm-scroll.grid .sm-option.tile { position: relative; }
459
+ .sm-scroll.grid .sm-opt-label {
460
+ flex: none; white-space: normal; font-size: 11px; line-height: 1.25;
461
+ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
462
+ }
463
+ .sm-scroll.grid .sm-check {
464
+ position: absolute; top: 8px; right: 8px; background: #fff; border-radius: 99px;
465
+ padding: 1px 4px; box-shadow: 0 1px 4px rgb(0 0 0 / 22%); font-size: 11px;
466
+ }
467
+ .sm-thumb {
468
+ display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 7px;
469
+ overflow: hidden; background: #ecece6;
470
+ }
471
+ .sm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
472
+ .sm-thumb-ph {
473
+ display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
474
+ font-size: 17px; font-weight: 600; color: var(--muted);
475
+ }
476
+ .sm-thumb-trigger { flex: none; width: 26px; border-radius: 4px; aspect-ratio: 16/9; }
477
+ .sm-preview {
478
+ position: fixed; z-index: 310; pointer-events: none;
479
+ background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
480
+ box-shadow: 0 4px 14px rgb(0 0 0 / 8%), 0 28px 70px rgb(0 0 0 / 20%);
481
+ overflow: hidden; animation: sm-in .16s ease-out;
482
+ }
483
+ .sm-preview-img { width: 100%; aspect-ratio: 16 / 9; background: #ecece6; }
484
+ .sm-preview-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
485
+ .sm-preview-body { padding: 11px 14px 13px; }
486
+ .sm-preview-title { display: flex; align-items: baseline; gap: 8px; }
487
+ .sm-preview-title strong {
488
+ font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
489
+ }
490
+ .sm-preview-hint {
491
+ flex: none; font-size: 10px; color: var(--muted); background: #f4f4ef;
492
+ padding: 2px 7px; border-radius: 99px;
493
+ }
494
+ .sm-preview-desc {
495
+ margin: 6px 0 0; font-size: 11px; line-height: 1.55; color: var(--muted);
496
+ display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
497
+ }
498
+
499
+ .sm-panel.has-cats { padding: 0; overflow: hidden; }
500
+ .sm-cats {
501
+ display: flex; flex-wrap: wrap; gap: 6px 5px;
502
+ padding: 10px 10px 9px;
503
+ background: #f7f7f4;
504
+ border-bottom: 1px solid var(--line);
505
+ }
506
+ .sm-cat {
507
+ appearance: none; border: 1px solid var(--line-strong); background: #fff; color: var(--ink);
508
+ border-radius: 99px; padding: 4px 10px; font-size: 11px; font-weight: 600; line-height: 16px;
509
+ white-space: nowrap; cursor: pointer;
510
+ }
511
+ .sm-cat:hover { border-color: #b9b9b4; }
512
+ .sm-cat.on { background: var(--ink); color: var(--accent); border-color: var(--ink); }
513
+ .sm-cat.on:hover { background: #1b1b1b; }
514
+ .sm-panel.has-cats .sm-scroll.grid { margin: 0; padding: 8px; }
515
+ .sm-entry {
516
+ display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
517
+ padding: 8px; border-top: 1px solid var(--line);
518
+ }
519
+ .sm-entry input {
520
+ flex: 1; min-width: 0; height: 30px; border: 1px solid var(--line-strong);
521
+ border-radius: 8px; padding: 0 10px; font-size: 12px; color: var(--ink); background: #fff; outline: none;
522
+ }
523
+ .sm-entry input:focus { border-color: var(--ink); }
524
+ .sm-entry input.bad { border-color: var(--danger); }
525
+ .sm-entry .unit { flex: none; font-size: 12px; color: var(--muted); }
526
+ .sm-entry button {
527
+ flex: none; height: 30px; border: 0; background: var(--ink); color: var(--accent);
528
+ border-radius: 99px; padding: 0 12px; font-size: 12px; font-weight: 700;
529
+ }
530
+ .sm-entry button:hover { background: #1b1b1b; }
531
+ .sm-entry-err { flex: 1 0 100%; margin: 0; font-size: 11px; line-height: 1.3; color: var(--danger); }
532
+
533
+ .file-hidden { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; }
534
+
535
+ .job-detail-card { width: min(520px, 100%); background: #fff; color: var(--ink); }
536
+ .job-detail-card .film-modal-bar { color: var(--ink); border-bottom: 1px solid var(--line); }
537
+ .job-detail-card .film-modal-x { color: var(--ink-soft); }
538
+ .job-detail-body { padding: 14px 16px 18px; display: grid; gap: 10px; }
539
+ .job-detail-body .jd-msg { font-size: 13px; line-height: 1.5; white-space: pre-wrap; }
540
+ .job-detail-body .jd-meta { font-size: 11px; white-space: pre-wrap; word-break: break-all; }
541
+ .job-detail-body .jd-follow { display: grid; gap: 8px; padding-top: 4px; border-top: 1px dashed var(--line); }
542
+ .job-detail-body .jd-follow-hint { margin: 0; font-size: 11.5px; }
543
+ .job-detail-body .jd-follow-actions { display: flex; flex-wrap: wrap; gap: 6px; }
544
+ .job-detail-body .jd-follow-btn {
545
+ border: 1px solid var(--line); background: #fff; border-radius: 8px;
546
+ padding: 6px 10px; font: inherit; font-size: 12px; cursor: pointer;
547
+ }
548
+ .job-detail-body .jd-follow-btn:hover { border-color: var(--ink); }
549
+ .job-detail-body .jd-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
550
+ .job-detail-body .jd-actions button {
551
+ border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 12px; font-size: 12px;
552
+ }
553
+ .job-detail-body .jd-actions .primary, .voice-picker-modal .primary {
554
+ background: var(--ink); color: #fff; border-color: var(--ink);
555
+ }
556
+ .vp-field { display: grid; gap: 6px; font-size: 12px; }
557
+ .vp-field select {
558
+ width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; background: #fff;
559
+ }