@airalogy/aimd-recorder 1.19.1 → 1.19.2

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 (64) hide show
  1. package/dist/{AimdEditor.vue_vue_type_style_index_0_lang-tdh0dJNa.js → AimdEditor.vue_vue_type_style_index_0_lang-gTySIxvX.js} +3446 -3351
  2. package/dist/{AimdMarkdownField-DmNX2g4j.js → AimdMarkdownField-DGV5KFUs.js} +5 -5
  3. package/dist/{AimdMarkdownNoteField-B5ruzmwS.js → AimdMarkdownNoteField-C78KHCBA.js} +4 -4
  4. package/dist/aimd-recorder.css +1 -1
  5. package/dist/{arc-B-vsgEXF.js → arc-BMhAnOm7.js} +1 -1
  6. package/dist/{architectureDiagram-3BPJPVTR-BwPNOtNH.js → architectureDiagram-3BPJPVTR-DXuPTBR3.js} +2 -2
  7. package/dist/{blockDiagram-GPEHLZMM-CMUI4kKc.js → blockDiagram-GPEHLZMM-HKz9kQ49.js} +4 -4
  8. package/dist/{c4Diagram-AAUBKEIU-Cpmfsy_s.js → c4Diagram-AAUBKEIU-B2a8Aupm.js} +2 -2
  9. package/dist/{channel-DlMAXHQK.js → channel-CQnbPm6T.js} +1 -1
  10. package/dist/{chunk-2J33WTMH-DP9BS2ux.js → chunk-2J33WTMH-CPwhDANL.js} +1 -1
  11. package/dist/{chunk-4BX2VUAB-ncsOeLMb.js → chunk-4BX2VUAB-BJV0R8-Z.js} +1 -1
  12. package/dist/{chunk-55IACEB6-C7wHk4B7.js → chunk-55IACEB6-CSqUgTVA.js} +1 -1
  13. package/dist/{chunk-727SXJPM-Caa5aVUO.js → chunk-727SXJPM-C3LCZWaC.js} +5 -5
  14. package/dist/{chunk-AQP2D5EJ-CL8egKqD.js → chunk-AQP2D5EJ-BC5kHyik.js} +3 -3
  15. package/dist/{chunk-FMBD7UC4-heVR6BSA.js → chunk-FMBD7UC4-lv-SQuSa.js} +1 -1
  16. package/dist/{chunk-ND2GUHAM-BYH-wC2J.js → chunk-ND2GUHAM-BnnHbOOp.js} +1 -1
  17. package/dist/{chunk-QZHKN3VN-Bx2K7vkq.js → chunk-QZHKN3VN-DE1_5lrn.js} +1 -1
  18. package/dist/{classDiagram-v2-Q7XG4LA2-BLLfLYy0.js → classDiagram-4FO5ZUOK-32SrXsR3.js} +2 -2
  19. package/dist/{classDiagram-4FO5ZUOK-BLLfLYy0.js → classDiagram-v2-Q7XG4LA2-32SrXsR3.js} +2 -2
  20. package/dist/components.js +6 -6
  21. package/dist/composables.js +1 -1
  22. package/dist/{cose-bilkent-S5V4N54A-E1YmM_xr.js → cose-bilkent-S5V4N54A-BKyR6PrF.js} +1 -1
  23. package/dist/{dagre-BM42HDAG-BsXpQirH.js → dagre-BM42HDAG-D8Nwouf2.js} +3 -3
  24. package/dist/{diagram-2AECGRRQ-CamqbWlY.js → diagram-2AECGRRQ-DfoNEchZ.js} +2 -2
  25. package/dist/{diagram-5GNKFQAL-DZyRFcOC.js → diagram-5GNKFQAL-Dlpl3XO8.js} +3 -3
  26. package/dist/{diagram-KO2AKTUF-CmkGcy7R.js → diagram-KO2AKTUF-CgwROod_.js} +2 -2
  27. package/dist/{diagram-LMA3HP47-IdDwQPZ-.js → diagram-LMA3HP47-UiiviX43.js} +2 -2
  28. package/dist/{diagram-OG6HWLK6-t0LBcUIU.js → diagram-OG6HWLK6-BPuH-4Wa.js} +3 -3
  29. package/dist/{erDiagram-TEJ5UH35-DJBY2iZG.js → erDiagram-TEJ5UH35-B19WKSiS.js} +4 -4
  30. package/dist/{flowDiagram-I6XJVG4X-DE4MzPPk.js → flowDiagram-I6XJVG4X-SsfO1IYz.js} +6 -6
  31. package/dist/{ganttDiagram-6RSMTGT7-CmAc35Yw.js → ganttDiagram-6RSMTGT7-8BCxW9SC.js} +2 -2
  32. package/dist/{gitGraphDiagram-PVQCEYII-DDQZ5flw.js → gitGraphDiagram-PVQCEYII-D-jzaXKg.js} +3 -3
  33. package/dist/{graph-BsJ8-1Pq.js → graph-Dd8Vx0lj.js} +1 -1
  34. package/dist/index.js +2 -2
  35. package/dist/{infoDiagram-5YYISTIA-DSZjFR5g.js → infoDiagram-5YYISTIA-B_XwkyXw.js} +1 -1
  36. package/dist/{ishikawaDiagram-YF4QCWOH-DCO9dx2L.js → ishikawaDiagram-YF4QCWOH-nevqOMkV.js} +1 -1
  37. package/dist/{journeyDiagram-JHISSGLW-b-PpuBqg.js → journeyDiagram-JHISSGLW-DKQOkZNx.js} +4 -4
  38. package/dist/{kanban-definition-UN3LZRKU-BjclDuJZ.js → kanban-definition-UN3LZRKU-BYvizbN0.js} +2 -2
  39. package/dist/{layout-D4wqKu72.js → layout-BiHDh2wu.js} +2 -2
  40. package/dist/{linear-Voc3BJib.js → linear-BcUgIsNC.js} +1 -1
  41. package/dist/{mermaid.core-Dt_VbeGP.js → mermaid.core-DPv1ut6K.js} +34 -34
  42. package/dist/{mindmap-definition-RKZ34NQL-B3vrXRVY.js → mindmap-definition-RKZ34NQL-CiT97EC2.js} +3 -3
  43. package/dist/{pieDiagram-4H26LBE5-DFpWxSxk.js → pieDiagram-4H26LBE5-BHcFVpCC.js} +3 -3
  44. package/dist/{quadrantDiagram-W4KKPZXB-BYHcrGoB.js → quadrantDiagram-W4KKPZXB-BFBAb3Zx.js} +2 -2
  45. package/dist/{requirementDiagram-4Y6WPE33-C-FgWrRz.js → requirementDiagram-4Y6WPE33-CUS2OOyE.js} +3 -3
  46. package/dist/{sankeyDiagram-5OEKKPKP-IwN0Evji.js → sankeyDiagram-5OEKKPKP-IuhX4tCb.js} +1 -1
  47. package/dist/{sequenceDiagram-3UESZ5HK-_OnqhBO2.js → sequenceDiagram-3UESZ5HK-DWHcFiUF.js} +3 -3
  48. package/dist/{stateDiagram-AJRCARHV-BRLv0Zcw.js → stateDiagram-AJRCARHV-J49Kafj_.js} +4 -4
  49. package/dist/{stateDiagram-v2-BHNVJYJU-BofX0AdS.js → stateDiagram-v2-BHNVJYJU-DL2VCR5X.js} +2 -2
  50. package/dist/{timeline-definition-PNZ67QCA-C-DpPLpw.js → timeline-definition-PNZ67QCA-l9xSQ_pX.js} +2 -2
  51. package/dist/{useCodeBlockRendering-DoTZaJTW.js → useCodeBlockRendering-CY70U0Xm.js} +1 -1
  52. package/dist/{vennDiagram-CIIHVFJN-zTHQR9Oq.js → vennDiagram-CIIHVFJN-BQjdmOkd.js} +1 -1
  53. package/dist/{wardleyDiagram-YWT4CUSO-au5koizO.js → wardleyDiagram-YWT4CUSO-CmVdsV9b.js} +2 -2
  54. package/dist/{xychartDiagram-2RQKCTM6-BNf12P8z.js → xychartDiagram-2RQKCTM6-F-cC_Igm.js} +2 -2
  55. package/package.json +6 -6
  56. package/src/__tests__/markdown-field.test.ts +1 -0
  57. package/src/__tests__/markdown-note-field.test.ts +1 -0
  58. package/src/__tests__/var-field-render.test.ts +55 -20
  59. package/src/components/AimdMarkdownField.vue +1 -19
  60. package/src/components/AimdMarkdownNoteField.vue +1 -2
  61. package/src/components/AimdRecorder.vue +55 -16
  62. package/src/composables/__tests__/useVarHelpers.test.ts +41 -0
  63. package/src/index.ts +1 -1
  64. package/src/styles/{aimd.css → recorder.css} +6 -782
@@ -1,588 +1,12 @@
1
1
  /**
2
- * AIMD Field Styles
2
+ * AIMD Recorder Styles
3
+ *
4
+ * Recorder imports the renderer stylesheet for canonical static AIMD rendering.
5
+ * This file keeps recorder-only wrappers, editing states, and interactive controls.
3
6
  */
7
+ @import "@airalogy/aimd-renderer/styles";
4
8
 
5
- /* CSS Variables */
6
- :root {
7
- --aimd-border-color: #90caf9;
8
- --aimd-border-color-focus: #4181fd;
9
- --aimd-var-bg: #e3f2fd;
10
- --aimd-var-scope-bg: #bbdefb;
11
- --aimd-var-text: #1565c0;
12
- --aimd-var-scope-text: #1976d2;
13
- }
14
-
15
- /* Base field styles */
16
- .aimd-field {
17
- display: inline-flex;
18
- align-items: center;
19
- gap: 4px;
20
- padding: 2px 4px;
21
- border-radius: 4px;
22
- font-size: 14px;
23
- line-height: 1.5;
24
- vertical-align: middle;
25
- margin: 4px 0;
26
- }
27
-
28
- /* Variable field */
29
- .aimd-field--var {
30
- background-color: var(--aimd-var-bg);
31
- border: 1px solid var(--aimd-border-color);
32
- color: var(--aimd-var-text);
33
- }
34
-
35
- .aimd-field--var .aimd-field__scope {
36
- font-size: 12px;
37
- font-weight: 600;
38
- color: #1976d2;
39
- background-color: #bbdefb;
40
- padding: 0 4px;
41
- border-radius: 2px;
42
- text-transform: lowercase;
43
- }
44
-
45
- .aimd-field--var .aimd-field__name {
46
- font-weight: 500;
47
- }
48
-
49
- .aimd-field__name--with-metadata {
50
- display: inline-flex;
51
- flex-direction: column;
52
- align-items: flex-start;
53
- gap: 1px;
54
- line-height: 1.25;
55
- }
56
-
57
- .aimd-field__metadata-host {
58
- position: relative;
59
- cursor: help;
60
- outline: none;
61
- }
62
-
63
- .aimd-field__metadata-host:hover,
64
- .aimd-field__metadata-host:focus,
65
- .aimd-field__metadata-host:focus-within {
66
- z-index: 90;
67
- }
68
-
69
- .aimd-field__metadata-host:focus-visible {
70
- border-radius: 4px;
71
- box-shadow: 0 0 0 2px rgba(65, 129, 253, 0.24);
72
- }
73
-
74
- .aimd-field__metadata-host .aimd-field__title {
75
- text-decoration-line: underline;
76
- text-decoration-style: dotted;
77
- text-decoration-color: rgba(15, 23, 42, 0.36);
78
- text-underline-offset: 3px;
79
- }
80
-
81
- .aimd-field__title {
82
- font-weight: inherit;
83
- }
84
-
85
- .aimd-field__key {
86
- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
87
- font-size: 11px;
88
- font-weight: 500;
89
- line-height: 1.2;
90
- color: rgba(15, 23, 42, 0.55);
91
- }
92
-
93
- .aimd-field__metadata-popover {
94
- position: absolute;
95
- z-index: 80;
96
- inset-inline-start: 0;
97
- top: calc(100% + 7px);
98
- display: inline-flex;
99
- flex-direction: column;
100
- gap: 4px;
101
- width: max-content;
102
- min-width: 220px;
103
- max-width: min(360px, 82vw);
104
- padding: 8px 10px;
105
- border-radius: 8px;
106
- background: rgba(15, 23, 42, 0.96);
107
- color: #f8fafc;
108
- box-shadow: 0 12px 30px rgba(15, 23, 42, 0.28);
109
- font-size: 12px;
110
- font-weight: 500;
111
- line-height: 1.45;
112
- letter-spacing: 0;
113
- text-align: left;
114
- text-transform: none;
115
- white-space: normal;
116
- pointer-events: none;
117
- opacity: 0;
118
- visibility: hidden;
119
- transform: translateY(-2px);
120
- transition:
121
- opacity 120ms ease,
122
- transform 120ms ease,
123
- visibility 120ms ease;
124
- }
125
-
126
- .aimd-field__metadata-popover::before {
127
- content: "";
128
- position: absolute;
129
- inset-inline-start: 14px;
130
- top: -5px;
131
- width: 10px;
132
- height: 10px;
133
- background: rgba(15, 23, 42, 0.96);
134
- transform: rotate(45deg);
135
- }
136
-
137
- .aimd-field__metadata-popover-line {
138
- display: block;
139
- color: inherit;
140
- }
141
-
142
- .aimd-field__metadata-examples {
143
- display: flex;
144
- flex-wrap: wrap;
145
- align-items: center;
146
- gap: 4px;
147
- padding-top: 1px;
148
- }
149
-
150
- .aimd-field__metadata-examples-label {
151
- color: rgba(226, 232, 240, 0.78);
152
- }
153
-
154
- .aimd-field__metadata-example {
155
- display: inline-flex;
156
- align-items: center;
157
- max-width: 100%;
158
- padding: 1px 6px;
159
- border: 1px solid rgba(248, 250, 252, 0.18);
160
- border-radius: 5px;
161
- background: rgba(248, 250, 252, 0.1);
162
- color: #f8fafc;
163
- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
164
- font-size: 11px;
165
- font-weight: 600;
166
- line-height: 1.45;
167
- overflow-wrap: anywhere;
168
- }
169
-
170
- .aimd-field__metadata-host:hover > .aimd-field__metadata-popover,
171
- .aimd-field__metadata-host:focus > .aimd-field__metadata-popover,
172
- .aimd-field__metadata-host:focus-within > .aimd-field__metadata-popover {
173
- opacity: 1;
174
- visibility: visible;
175
- transform: translateY(0);
176
- }
177
-
178
- .aimd-critic {
179
- border-radius: 4px;
180
- padding: 0 0.14em;
181
- box-decoration-break: clone;
182
- -webkit-box-decoration-break: clone;
183
- }
184
-
185
- .aimd-critic--addition {
186
- background: rgba(22, 163, 74, 0.13);
187
- color: #166534;
188
- text-decoration: none;
189
- }
190
-
191
- .aimd-critic--deletion {
192
- background: rgba(220, 38, 38, 0.1);
193
- color: #991b1b;
194
- text-decoration-line: line-through;
195
- text-decoration-thickness: 0.08em;
196
- }
197
-
198
- .aimd-critic--highlight {
199
- background: rgba(250, 204, 21, 0.36);
200
- color: inherit;
201
- }
202
-
203
- .aimd-critic--substitution {
204
- background: rgba(99, 102, 241, 0.08);
205
- }
206
-
207
- .aimd-critic--substitution .aimd-critic {
208
- margin-inline: 0.04em;
209
- }
210
-
211
- .aimd-critic__replacement-arrow {
212
- color: #64748b;
213
- font-size: 0.86em;
214
- font-weight: 600;
215
- }
216
-
217
- .aimd-critic--comment {
218
- display: inline-flex;
219
- align-items: baseline;
220
- gap: 0.34em;
221
- padding: 0.03em 0.44em;
222
- border: 1px solid rgba(37, 99, 235, 0.22);
223
- border-radius: 999px;
224
- background: rgba(37, 99, 235, 0.09);
225
- color: #1e3a8a;
226
- font-size: 0.92em;
227
- line-height: 1.5;
228
- vertical-align: baseline;
229
- }
230
-
231
- .aimd-critic__comment-label {
232
- color: #2563eb;
233
- font-size: 0.78em;
234
- font-weight: 700;
235
- letter-spacing: 0.02em;
236
- text-transform: uppercase;
237
- }
238
-
239
- .aimd-critic__comment-body {
240
- color: inherit;
241
- }
242
-
243
- .aimd-field--var .aimd-field__type {
244
- font-size: 12px;
245
- color: #7b1fa2;
246
- font-style: italic;
247
- }
248
-
249
- /* Table variable field */
250
- .aimd-field--var-table {
251
- display: block;
252
- width: fit-content;
253
- background-color: #e8f5e9;
254
- border: 1px solid #a5d6a7;
255
- color: #2e7d32;
256
- padding: 6px 8px;
257
- border-radius: 4px;
258
- font-size: 14px;
259
- margin: 8px 0;
260
- }
261
-
262
- .aimd-field--var-table .aimd-field__scope {
263
- font-size: 12px;
264
- font-weight: 600;
265
- color: #388e3c;
266
- background-color: #c8e6c9;
267
- padding: 0 4px;
268
- border-radius: 2px;
269
- text-transform: lowercase;
270
- }
271
-
272
- .aimd-field--var-table .aimd-field__name {
273
- font-weight: 500;
274
- }
275
-
276
- .aimd-field--var-table .aimd-field__header {
277
- display: inline-flex;
278
- align-items: center;
279
- gap: 4px;
280
- }
281
-
282
- .aimd-field--var-table .aimd-field__table-preview {
283
- margin-top: 8px;
284
- margin-bottom: 4px;
285
- width: 100%;
286
- border-collapse: collapse;
287
- font-size: 12px;
288
- border-radius: 4px;
289
- overflow: visible;
290
- }
291
-
292
- .aimd-field--var-table .aimd-field__table-preview th,
293
- .aimd-field--var-table .aimd-field__table-preview td {
294
- padding: 4px 8px;
295
- border: 1px solid #c8e6c9;
296
- text-align: left;
297
- }
298
-
299
- .aimd-field--var-table .aimd-field__table-preview th {
300
- position: relative;
301
- overflow: visible;
302
- background: #cfeed0;
303
- font-weight: 600;
304
- color: #2e7d32;
305
- }
306
-
307
- .aimd-field--var-table .aimd-field__table-preview th:has(.aimd-field__metadata-host:hover),
308
- .aimd-field--var-table .aimd-field__table-preview th:has(.aimd-field__metadata-host:focus),
309
- .aimd-field--var-table .aimd-field__table-preview th:has(.aimd-field__metadata-host:focus-within) {
310
- z-index: 95;
311
- }
312
-
313
- .aimd-field--var-table .aimd-field__table-preview td {
314
- color: #666;
315
- font-style: italic;
316
- }
317
-
318
- /* Quiz field */
319
- .aimd-field--quiz {
320
- display: block;
321
- width: 100%;
322
- max-width: 860px;
323
- background-color: #fff8e1;
324
- border: 1px solid #ffe082;
325
- color: #4e342e;
326
- padding: 8px 10px;
327
- border-radius: 6px;
328
- margin: 10px 0;
329
- }
330
-
331
- .aimd-field--quiz .aimd-quiz__meta {
332
- display: flex;
333
- flex-wrap: wrap;
334
- align-items: center;
335
- gap: 6px;
336
- }
337
-
338
- .aimd-field--quiz .aimd-field__scope {
339
- font-size: 12px;
340
- font-weight: 700;
341
- color: #8d6e63;
342
- background-color: #ffecb3;
343
- border-radius: 2px;
344
- padding: 0 4px;
345
- }
346
-
347
- .aimd-field--quiz .aimd-field__name {
348
- font-weight: 600;
349
- }
350
-
351
- .aimd-field--quiz .aimd-field__type,
352
- .aimd-field--quiz .aimd-quiz__score {
353
- font-size: 12px;
354
- color: #6d4c41;
355
- }
356
-
357
- .aimd-field--quiz .aimd-quiz__title {
358
- margin-top: 6px;
359
- font-size: 16px;
360
- font-weight: 700;
361
- color: #3b2f2f;
362
- }
363
-
364
- .aimd-field--quiz .aimd-quiz__stem {
365
- margin-top: 6px;
366
- line-height: 1.55;
367
- white-space: pre-wrap;
368
- }
369
-
370
- .aimd-field--quiz .aimd-quiz__description {
371
- margin-top: 6px;
372
- font-size: 13px;
373
- line-height: 1.45;
374
- color: #6d4c41;
375
- white-space: pre-wrap;
376
- }
377
-
378
- .aimd-field--quiz .aimd-quiz__blank-placeholder {
379
- display: inline-flex;
380
- align-items: center;
381
- justify-content: center;
382
- min-width: 44px;
383
- margin: 0 2px;
384
- padding: 0 6px;
385
- border-bottom: 2px solid #f9a825;
386
- border-radius: 4px 4px 2px 2px;
387
- background: #fffde7;
388
- color: #8d6e63;
389
- font-size: 12px;
390
- font-weight: 600;
391
- line-height: 1.4;
392
- vertical-align: baseline;
393
- }
394
-
395
- .aimd-field--quiz .aimd-quiz__options {
396
- margin: 8px 0 0;
397
- padding-left: 20px;
398
- }
399
-
400
- .aimd-field--quiz .aimd-quiz__options li {
401
- margin: 3px 0;
402
- }
403
-
404
- .aimd-field--quiz .aimd-quiz__rubric {
405
- margin-top: 8px;
406
- padding: 6px 8px;
407
- border-left: 3px solid #ffcc80;
408
- background: #fff3cd;
409
- font-size: 13px;
410
- color: #6d4c41;
411
- }
412
-
413
- .aimd-field--quiz .aimd-scale__table {
414
- width: 100%;
415
- margin-top: 10px;
416
- border-collapse: collapse;
417
- table-layout: fixed;
418
- }
419
-
420
- .aimd-field--quiz .aimd-scale__table th,
421
- .aimd-field--quiz .aimd-scale__table td {
422
- border: 1px solid #f1d8a7;
423
- padding: 8px 10px;
424
- text-align: center;
425
- vertical-align: middle;
426
- }
427
-
428
- .aimd-field--quiz .aimd-scale__table thead th {
429
- background: #fff4d6;
430
- font-size: 12px;
431
- font-weight: 600;
432
- }
433
-
434
- .aimd-field--quiz .aimd-scale__item-header,
435
- .aimd-field--quiz .aimd-scale__item-stem {
436
- text-align: left;
437
- }
438
-
439
- .aimd-field--quiz .aimd-scale__item-stem {
440
- width: 34%;
441
- font-weight: 500;
442
- line-height: 1.4;
443
- }
444
-
445
- .aimd-field--quiz .aimd-scale__list {
446
- display: flex;
447
- flex-direction: column;
448
- gap: 10px;
449
- margin-top: 10px;
450
- }
451
-
452
- .aimd-field--quiz .aimd-scale__list-item {
453
- padding: 10px 12px;
454
- border: 1px solid #f1d8a7;
455
- border-radius: 8px;
456
- background: #fffdf7;
457
- }
458
-
459
- .aimd-field--quiz .aimd-scale__item-options {
460
- margin: 8px 0 0;
461
- padding-left: 18px;
462
- }
463
-
464
- .aimd-field--quiz .aimd-scale__bands {
465
- margin: 10px 0 0;
466
- padding-left: 20px;
467
- }
468
-
469
- /* Step field */
470
- .aimd-field--step {
471
- background-color: #fff3e0;
472
- border: 1px solid #ffcc80;
473
- color: #e65100;
474
- }
475
-
476
- .aimd-field--step .aimd-field__icon {
477
- font-size: 14px;
478
- }
479
-
480
- .aimd-field--step .aimd-field__name {
481
- font-weight: 500;
482
- }
483
-
484
- /* Checkpoint field */
485
- .aimd-field--check {
486
- display: inline-flex;
487
- align-items: center;
488
- gap: 8px;
489
- padding: 4px 8px;
490
- background-color: #fffafa;
491
- border: 1px solid rgba(185, 28, 28, 0.2);
492
- border-radius: 4px;
493
- color: #333;
494
- cursor: pointer;
495
- transition: all 0.2s ease;
496
- }
497
-
498
- .aimd-field--check:hover {
499
- background-color: #fff5f5;
500
- border-color: rgba(185, 28, 28, 0.32);
501
- }
502
-
503
- .aimd-field--check.aimd-rec-inline--check-passed {
504
- background-color: #f6fdf9;
505
- border-color: rgba(22, 101, 52, 0.22);
506
- color: #1f3d2a;
507
- }
508
-
509
- .aimd-field--check.aimd-rec-inline--check-passed:hover {
510
- background-color: #effcf4;
511
- border-color: rgba(22, 101, 52, 0.34);
512
- }
513
-
514
- .aimd-field--check .aimd-checkbox {
515
- margin: 0;
516
- cursor: pointer;
517
- width: 16px;
518
- height: 16px;
519
- accent-color: #dc2626;
520
- }
521
-
522
- .aimd-field--check.aimd-rec-inline--check-passed .aimd-checkbox {
523
- accent-color: #16a34a;
524
- }
525
-
526
- .aimd-field--check .aimd-field__label,
527
- .aimd-field--check .aimd-field__name {
528
- font-weight: 500;
529
- user-select: none;
530
- }
531
-
532
- /* Reference styles - blockquote style like markdown */
533
- .aimd-ref {
534
- display: inline-block;
535
- padding: 8px 12px;
536
- margin: 4px 0;
537
- border-left: 4px solid #dfe2e5;
538
- background-color: #f6f8fa;
539
- color: inherit;
540
- text-decoration: none;
541
- cursor: default;
542
- transition: all 0.2s ease;
543
- vertical-align: middle;
544
- }
545
-
546
- .aimd-ref:hover {
547
- border-left-color: #b0b0b0;
548
- background-color: #f0f0f0;
549
- }
550
-
551
- .aimd-ref[data-aimd-ref-target] {
552
- cursor: pointer;
553
- }
554
-
555
- .aimd-ref[data-aimd-ref-target]:focus-visible {
556
- outline: 2px solid rgba(25, 118, 210, 0.36);
557
- outline-offset: 3px;
558
- }
559
-
560
- .aimd-ref--step {
561
- padding: 0;
562
- border: none;
563
- background: transparent;
564
- }
565
-
566
- .aimd-ref--step:hover {
567
- border: none;
568
- background: transparent;
569
- }
570
-
571
- /* Reference content wrapper */
572
- .aimd-ref__content {
573
- display: inline-flex;
574
- align-items: center;
575
- gap: 4px;
576
- }
577
-
578
- .aimd-ref--step .aimd-ref__content {
579
- gap: 0;
580
- }
581
-
582
- .aimd-ref--step .aimd-field--step {
583
- margin: 0;
584
- }
585
-
9
+ /* Recorder-specific reference wrappers */
586
10
  .aimd-ref--step .research-step__sequence {
587
11
  font-size: inherit;
588
12
  font-weight: 600;
@@ -591,37 +15,12 @@
591
15
  background-size: 0 0;
592
16
  }
593
17
 
594
- .aimd-ref--var {
595
- padding: 0;
596
- border: none;
597
- background: transparent;
598
- }
599
-
600
- .aimd-ref--var:hover {
601
- border: none;
602
- background: transparent;
603
- }
604
-
605
- /* Readonly field in reference (variable reference) */
606
- .aimd-ref .aimd-field--readonly {
607
- cursor: default;
608
- pointer-events: none;
609
- opacity: 0.95;
610
- }
611
-
612
- .aimd-ref .aimd-field--readonly .aimd-field__value {
613
- font-weight: 500;
614
- color: inherit;
615
- }
616
-
617
- /* Variable reference wrapper inside reference block */
618
18
  .aimd-ref .aimd-field-wrapper--ref {
619
19
  display: inline-block;
620
20
  position: relative;
621
21
  opacity: 0.9;
622
22
  }
623
23
 
624
- /* Reference block containing input field */
625
24
  .aimd-ref--var .aimd-ref__content {
626
25
  display: block;
627
26
  width: 100%;
@@ -632,15 +31,10 @@
632
31
  width: 100%;
633
32
  }
634
33
 
635
- .aimd-ref--var .aimd-field--var {
636
- margin: 0;
637
- }
638
-
639
34
  .aimd-ref--var .aimd-field--readonly {
640
35
  opacity: 1;
641
36
  }
642
37
 
643
- /* Disabled input in reference */
644
38
  .aimd-ref .aimd-field-wrapper--ref input,
645
39
  .aimd-ref .aimd-field-wrapper--ref textarea,
646
40
  .aimd-ref .aimd-field-wrapper--ref select {
@@ -649,176 +43,6 @@
649
43
  opacity: 0.85 !important;
650
44
  }
651
45
 
652
- /* Figure styles */
653
- .aimd-figure {
654
- display: block;
655
- box-sizing: border-box;
656
- width: fit-content;
657
- max-width: min(100%, 920px);
658
- margin: 1.2em auto 1.45em;
659
- overflow: hidden;
660
- border: 1px solid #d8e2ef;
661
- border-radius: 10px;
662
- background: #ffffff;
663
- }
664
-
665
- .aimd-figure > .aimd-figure__image {
666
- display: block;
667
- max-width: 100%;
668
- height: auto;
669
- margin: 0 auto;
670
- border-radius: 0;
671
- background: #f3f7fc;
672
- object-fit: contain;
673
- }
674
-
675
- .aimd-figure__caption {
676
- display: block;
677
- margin: 0;
678
- padding: 10px 14px 12px 16px;
679
- border-top: 1px solid #d8e2ef;
680
- background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
681
- color: #253247;
682
- line-height: 1.45;
683
- }
684
-
685
- .aimd-figure__title {
686
- margin: 0;
687
- color: #172033;
688
- font-size: 0.94em;
689
- font-weight: 700;
690
- line-height: 1.38;
691
- }
692
-
693
- .aimd-figure__legend {
694
- margin: 4px 0 0;
695
- color: #526176;
696
- font-size: 0.9em;
697
- line-height: 1.5;
698
- }
699
-
700
- @media (max-width: 640px) {
701
- .aimd-figure {
702
- width: 100%;
703
- margin-right: 0;
704
- margin-left: 0;
705
- }
706
-
707
- .aimd-figure > .aimd-figure__image {
708
- width: 100%;
709
- }
710
- }
711
-
712
- /* Citation styles */
713
- .aimd-cite {
714
- display: inline;
715
- color: #1976d2;
716
- font-size: 13px;
717
- text-decoration: none;
718
- }
719
-
720
- .aimd-cite__refs {
721
- font-weight: 500;
722
- }
723
-
724
- .aimd-cite__ref {
725
- position: relative;
726
- display: inline-flex;
727
- align-items: center;
728
- border-radius: 999px;
729
- outline: none;
730
- color: inherit;
731
- cursor: help;
732
- font-weight: 600;
733
- line-height: 1;
734
- text-decoration: none;
735
- }
736
-
737
- .aimd-cite__ref:hover,
738
- .aimd-cite__ref:focus-visible {
739
- text-decoration: underline;
740
- }
741
-
742
- .aimd-cite__label {
743
- display: inline-flex;
744
- align-items: center;
745
- }
746
-
747
- .aimd-cite__popover {
748
- position: absolute;
749
- left: 50%;
750
- top: calc(100% + 8px);
751
- z-index: 30;
752
- width: max-content;
753
- max-width: min(420px, 80vw);
754
- padding: 8px 10px;
755
- border: 1px solid #d6e1f0;
756
- border-radius: 8px;
757
- background: #ffffff;
758
- box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
759
- color: #1f2937;
760
- font-size: 12px;
761
- font-weight: 500;
762
- line-height: 1.45;
763
- opacity: 0;
764
- overflow-wrap: anywhere;
765
- pointer-events: none;
766
- user-select: text;
767
- text-align: left;
768
- text-decoration: none;
769
- transform: translate(-50%, -4px);
770
- transition: opacity 120ms ease, transform 120ms ease, visibility 120ms ease;
771
- visibility: hidden;
772
- white-space: normal;
773
- }
774
-
775
- .aimd-cite__popover::before {
776
- content: "";
777
- position: absolute;
778
- left: 0;
779
- right: 0;
780
- top: -10px;
781
- height: 10px;
782
- }
783
-
784
- .aimd-cite__ref:hover .aimd-cite__popover,
785
- .aimd-cite__ref:focus .aimd-cite__popover,
786
- .aimd-cite__ref:focus-within .aimd-cite__popover {
787
- opacity: 1;
788
- pointer-events: auto;
789
- transform: translate(-50%, 0);
790
- visibility: visible;
791
- }
792
-
793
- .aimd-refs {
794
- margin: 24px 0;
795
- padding-top: 16px;
796
- border-top: 1px solid #d8dee8;
797
- color: #1f2937;
798
- }
799
-
800
- .aimd-refs__title {
801
- margin-bottom: 10px;
802
- font-size: 16px;
803
- font-weight: 700;
804
- }
805
-
806
- .aimd-refs__list {
807
- margin: 0;
808
- padding-left: 22px;
809
- }
810
-
811
- .aimd-refs__item {
812
- margin: 8px 0;
813
- line-height: 1.55;
814
- }
815
-
816
- .aimd-refs__doi,
817
- .aimd-refs__url {
818
- color: #1976d2;
819
- overflow-wrap: anywhere;
820
- }
821
-
822
46
  /* Editable state */
823
47
  .aimd-field--editable {
824
48
  cursor: text;