@airalogy/aimd-recorder 1.20.0 → 1.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/README.md +5 -0
  2. package/README.zh-CN.md +5 -0
  3. package/dist/{AimdCodeField-BQUuM-EF.js → AimdCodeField-BN_0UQMx.js} +34 -32
  4. package/dist/{AimdDnaSequenceField-Cp0cgBYl.js → AimdDnaSequenceField-Bhj28fP8.js} +1 -1
  5. package/dist/{AimdEditor.vue_vue_type_style_index_0_lang-DTdcoNs1.js → AimdEditor.vue_vue_type_style_index_0_lang-D7c01UqN.js} +1040 -976
  6. package/dist/{AimdMarkdownField-D4AEz_mB.js → AimdMarkdownField-GS15pv4z.js} +4 -4
  7. package/dist/{AimdMarkdownNoteField-CSGaShKi.js → AimdMarkdownNoteField-H9WP8tR6.js} +15 -15
  8. package/dist/aimd-recorder.css +1 -1
  9. package/dist/{arc-jL17V0L2.js → arc-B50G9-kH.js} +1 -1
  10. package/dist/{architectureDiagram-3BPJPVTR-CijadmFI.js → architectureDiagram-3BPJPVTR-D9mBEbpY.js} +2 -2
  11. package/dist/{blockDiagram-GPEHLZMM-BPqvb85_.js → blockDiagram-GPEHLZMM-Cs4swgto.js} +4 -4
  12. package/dist/{c4Diagram-AAUBKEIU-i4fqlMXu.js → c4Diagram-AAUBKEIU-C12HKS3r.js} +2 -2
  13. package/dist/{channel-DnnUQTdl.js → channel-D69VnjVz.js} +1 -1
  14. package/dist/{chunk-2J33WTMH-DKKEpdr1.js → chunk-2J33WTMH-oc-89G5c.js} +1 -1
  15. package/dist/{chunk-4BX2VUAB-WvuuiYYH.js → chunk-4BX2VUAB-BDJS9G3r.js} +1 -1
  16. package/dist/{chunk-55IACEB6-B_UkHTnd.js → chunk-55IACEB6-BPl3uHcA.js} +1 -1
  17. package/dist/{chunk-727SXJPM-CR6Pb04P.js → chunk-727SXJPM-pWe-vDGf.js} +5 -5
  18. package/dist/{chunk-AQP2D5EJ-B68Ie417.js → chunk-AQP2D5EJ-D-R5sIr1.js} +3 -3
  19. package/dist/{chunk-FMBD7UC4-CeCGT6rb.js → chunk-FMBD7UC4-bo6Qyom1.js} +1 -1
  20. package/dist/{chunk-ND2GUHAM-BYN-eC_q.js → chunk-ND2GUHAM-DQMvtYV7.js} +1 -1
  21. package/dist/{chunk-QZHKN3VN-BNSp120j.js → chunk-QZHKN3VN-DlCn3HON.js} +1 -1
  22. package/dist/{classDiagram-v2-Q7XG4LA2-Cgbn4w3f.js → classDiagram-4FO5ZUOK-DzUwWFwr.js} +2 -2
  23. package/dist/{classDiagram-4FO5ZUOK-Cgbn4w3f.js → classDiagram-v2-Q7XG4LA2-DzUwWFwr.js} +2 -2
  24. package/dist/components.js +3757 -2910
  25. package/dist/composables.js +84 -80
  26. package/dist/{cose-bilkent-S5V4N54A-TfrsQ2c3.js → cose-bilkent-S5V4N54A-BXLMzfpO.js} +1 -1
  27. package/dist/{dagre-BM42HDAG-BAyvB_JI.js → dagre-BM42HDAG-DHnofIh9.js} +3 -3
  28. package/dist/{diagram-2AECGRRQ-Bijq8bHO.js → diagram-2AECGRRQ-BqTTVPsm.js} +2 -2
  29. package/dist/{diagram-5GNKFQAL-B3ZuTuxm.js → diagram-5GNKFQAL-D5p1UVbw.js} +3 -3
  30. package/dist/{diagram-KO2AKTUF-DrqLeGCI.js → diagram-KO2AKTUF-Uuoz9cFn.js} +2 -2
  31. package/dist/{diagram-LMA3HP47-CCSQH8O0.js → diagram-LMA3HP47-W001U31X.js} +2 -2
  32. package/dist/{diagram-OG6HWLK6-DM5cUEjW.js → diagram-OG6HWLK6-DL516LDr.js} +3 -3
  33. package/dist/{erDiagram-TEJ5UH35-DQhmDdAF.js → erDiagram-TEJ5UH35-CCxgMb67.js} +4 -4
  34. package/dist/{flowDiagram-I6XJVG4X-DrqiPSHI.js → flowDiagram-I6XJVG4X-nXGdmC0O.js} +6 -6
  35. package/dist/{ganttDiagram-6RSMTGT7-DpX_Y2vA.js → ganttDiagram-6RSMTGT7-Bi9Ro7_Z.js} +2 -2
  36. package/dist/{gitGraphDiagram-PVQCEYII-3isOhIyZ.js → gitGraphDiagram-PVQCEYII-w1kNAy4E.js} +3 -3
  37. package/dist/{graph-C30SJlSk.js → graph-CpOkL_eZ.js} +1 -1
  38. package/dist/{index-Dtvv88SS.js → index-Dkrf2LJl.js} +51 -51
  39. package/dist/index.js +62 -58
  40. package/dist/{infoDiagram-5YYISTIA-Cr_MlPvz.js → infoDiagram-5YYISTIA-Bde_w9T1.js} +1 -1
  41. package/dist/{ishikawaDiagram-YF4QCWOH-DydyFn3h.js → ishikawaDiagram-YF4QCWOH-x5M1KR0l.js} +1 -1
  42. package/dist/{journeyDiagram-JHISSGLW-V_5MmeOu.js → journeyDiagram-JHISSGLW-CIDQP8Zm.js} +4 -4
  43. package/dist/{kanban-definition-UN3LZRKU-C_XXCuvp.js → kanban-definition-UN3LZRKU-CKgO7sG8.js} +2 -2
  44. package/dist/{layout-85j-z7Lr.js → layout-BZYprqYR.js} +2 -2
  45. package/dist/{linear-DMtodz-6.js → linear-ClSH2F_v.js} +1 -1
  46. package/dist/{mermaid.core-CkanUCyS.js → mermaid.core-CcRV6K2R.js} +34 -34
  47. package/dist/{mindmap-definition-RKZ34NQL-CyikmuF2.js → mindmap-definition-RKZ34NQL-s3h6uszV.js} +3 -3
  48. package/dist/{pieDiagram-4H26LBE5-CesqzEGg.js → pieDiagram-4H26LBE5-CgiazyWv.js} +3 -3
  49. package/dist/{quadrantDiagram-W4KKPZXB-BsPKPfNd.js → quadrantDiagram-W4KKPZXB-DCPVgHoW.js} +2 -2
  50. package/dist/record.js +19 -19
  51. package/dist/{requirementDiagram-4Y6WPE33-BwB1tQvi.js → requirementDiagram-4Y6WPE33-DE6F9oSB.js} +3 -3
  52. package/dist/{sankeyDiagram-5OEKKPKP-CfSNbWMY.js → sankeyDiagram-5OEKKPKP-DZZoFFr-.js} +1 -1
  53. package/dist/{sequenceDiagram-3UESZ5HK-DZZlUNys.js → sequenceDiagram-3UESZ5HK-DaYEOl60.js} +3 -3
  54. package/dist/{stateDiagram-AJRCARHV-DNJmz_op.js → stateDiagram-AJRCARHV-BmgpHJlH.js} +4 -4
  55. package/dist/{stateDiagram-v2-BHNVJYJU-DVfDNM6l.js → stateDiagram-v2-BHNVJYJU-D49CHQD6.js} +2 -2
  56. package/dist/{timeline-definition-PNZ67QCA-DEUCAg_N.js → timeline-definition-PNZ67QCA-DdVLoCkC.js} +2 -2
  57. package/dist/{useCodeBlockRendering-DF6zm7nf.js → useCodeBlockRendering-CCuoP52e.js} +1241 -1074
  58. package/dist/{vennDiagram-CIIHVFJN-DVDP__od.js → vennDiagram-CIIHVFJN-CCcMKcd7.js} +1 -1
  59. package/dist/{wardleyDiagram-YWT4CUSO-sEtxBd33.js → wardleyDiagram-YWT4CUSO-R4UGgGWY.js} +2 -2
  60. package/dist/{xychartDiagram-2RQKCTM6-DM8QeR5M.js → xychartDiagram-2RQKCTM6-DyFhCubk.js} +2 -2
  61. package/package.json +3 -3
  62. package/src/__tests__/record-search-render.test.ts +108 -0
  63. package/src/__tests__/recorder-assigner-control.test.ts +4 -1
  64. package/src/__tests__/var-field-render.test.ts +556 -43
  65. package/src/components/AimdCodeField.vue +11 -3
  66. package/src/components/AimdQuizRecorder.vue +3 -1
  67. package/src/components/AimdRecorder.vue +52 -1882
  68. package/src/components/AimdRecorderSearchToolbar.vue +258 -0
  69. package/src/components/AimdVarField.vue +589 -17
  70. package/src/components/AimdVarTableField.vue +12 -6
  71. package/src/components/index.ts +1 -0
  72. package/src/composables/__tests__/useVarHelpers.test.ts +214 -7
  73. package/src/composables/index.ts +6 -0
  74. package/src/composables/useFieldRendering.ts +28 -0
  75. package/src/composables/useRecordSearch.ts +299 -0
  76. package/src/composables/useVarHelpers.ts +285 -14
  77. package/src/locales.ts +96 -0
  78. package/src/styles/recorder-surface.css +2374 -0
  79. package/src/styles/recorder.css +1 -0
  80. package/src/types.ts +1 -1
@@ -0,0 +1,2374 @@
1
+ /**
2
+ * AIMD Recorder surface and generated field styles.
3
+ *
4
+ * These selectors are intentionally global because they style VNodes rendered
5
+ * from parsed AIMD content inside the recorder surface.
6
+ */
7
+ .aimd-protocol-recorder {
8
+ --aimd-recorder-gutter-x: 0px;
9
+ --aimd-recorder-gutter-bottom: 0px;
10
+ --rec-text: #253041;
11
+ --rec-muted: #667085;
12
+ --rec-border: #e3e8ef;
13
+ --rec-focus: #2f6fed;
14
+ --rec-error: #e03050;
15
+ --rec-body-font-size: 14px;
16
+ --rec-var-control-height: 30px;
17
+ --rec-var-value-font-size: var(--rec-body-font-size);
18
+ --rec-var-single-line-height: 1.4;
19
+ --rec-var-text-wrap-line-height: 1.4;
20
+ box-sizing: border-box;
21
+ padding: 0 var(--aimd-recorder-gutter-x) var(--aimd-recorder-gutter-bottom);
22
+ }
23
+
24
+ .aimd-protocol-recorder__error {
25
+ margin-bottom: 12px;
26
+ padding: 10px 12px;
27
+ border-radius: 8px;
28
+ border: 1px solid #f4b3c1;
29
+ background: #fff3f6;
30
+ color: #b4234d;
31
+ font-size: 13px;
32
+ }
33
+
34
+ .aimd-protocol-recorder__timing {
35
+ display: flex;
36
+ flex-wrap: wrap;
37
+ gap: 8px;
38
+ margin-bottom: 12px;
39
+ }
40
+
41
+ .aimd-protocol-recorder__timing-pill {
42
+ display: inline-flex;
43
+ align-items: center;
44
+ min-height: 30px;
45
+ padding: 0 12px;
46
+ border: 1px solid #d5dde8;
47
+ border-radius: 999px;
48
+ background: #f8fafc;
49
+ color: #334155;
50
+ font-size: 12px;
51
+ font-weight: 600;
52
+ }
53
+
54
+ .aimd-protocol-recorder__timing-pill--estimate {
55
+ border-color: #f1d39a;
56
+ background: #fff8ea;
57
+ color: #9a5800;
58
+ }
59
+
60
+ .aimd-protocol-recorder__content {
61
+ padding: 18px 20px;
62
+ border: 1px solid var(--rec-border);
63
+ border-radius: 14px;
64
+ background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
65
+ box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
66
+ color: var(--rec-text);
67
+ font-size: var(--rec-body-font-size);
68
+ }
69
+
70
+ .aimd-protocol-recorder__empty {
71
+ padding: 24px;
72
+ border: 1px dashed #d7dbe3;
73
+ border-radius: 8px;
74
+ color: #7b8595;
75
+ text-align: center;
76
+ }
77
+
78
+ .aimd-protocol-recorder__content table:not(.aimd-rec-inline-table__table):not(.aimd-scale__table) {
79
+ display: block;
80
+ width: max-content;
81
+ max-width: 100%;
82
+ margin: 12px 0;
83
+ border-collapse: separate;
84
+ border-spacing: 0;
85
+ overflow-x: auto;
86
+ overflow-y: visible;
87
+ scrollbar-gutter: stable;
88
+ -webkit-overflow-scrolling: touch;
89
+ font-size: 14px;
90
+ }
91
+ .aimd-protocol-recorder__content table:not(.aimd-rec-inline-table__table):not(.aimd-scale__table) th,
92
+ .aimd-protocol-recorder__content table:not(.aimd-rec-inline-table__table):not(.aimd-scale__table) td {
93
+ min-width: 120px;
94
+ max-width: 420px;
95
+ border: 0;
96
+ border-right: 1px solid #e2e8f0;
97
+ border-bottom: 1px solid #e2e8f0;
98
+ padding: 8px 10px;
99
+ text-align: left;
100
+ vertical-align: top;
101
+ background: #fff;
102
+ overflow-wrap: anywhere;
103
+ }
104
+ .aimd-protocol-recorder__content table:not(.aimd-rec-inline-table__table):not(.aimd-scale__table) th {
105
+ position: sticky;
106
+ top: 0;
107
+ z-index: 2;
108
+ background: #f8fafc;
109
+ font-weight: 700;
110
+ }
111
+ .aimd-protocol-recorder__content table:not(.aimd-rec-inline-table__table):not(.aimd-scale__table) th:first-child,
112
+ .aimd-protocol-recorder__content table:not(.aimd-rec-inline-table__table):not(.aimd-scale__table) td:first-child {
113
+ position: sticky;
114
+ left: 0;
115
+ z-index: 1;
116
+ min-width: 92px;
117
+ max-width: 180px;
118
+ box-shadow: 1px 0 0 #e2e8f0;
119
+ }
120
+ .aimd-protocol-recorder__content table:not(.aimd-rec-inline-table__table):not(.aimd-scale__table) th:first-child {
121
+ z-index: 3;
122
+ background: #f8fafc;
123
+ }
124
+ .aimd-protocol-recorder__content table:not(.aimd-rec-inline-table__table):not(.aimd-scale__table) tr:first-child > th,
125
+ .aimd-protocol-recorder__content table:not(.aimd-rec-inline-table__table):not(.aimd-scale__table) tr:first-child > td {
126
+ border-top: 1px solid #e2e8f0;
127
+ }
128
+ .aimd-protocol-recorder__content table:not(.aimd-rec-inline-table__table):not(.aimd-scale__table) tr > :first-child {
129
+ border-left: 1px solid #e2e8f0;
130
+ }
131
+ .aimd-protocol-recorder__content table:not(.aimd-rec-inline-table__table):not(.aimd-scale__table) td:has(.aimd-rec-inline--var-stacked) {
132
+ min-width: min(360px, 80vw);
133
+ max-width: min(680px, 80vw);
134
+ }
135
+ .aimd-protocol-recorder__content blockquote { margin: 8px 0; padding: 8px 12px; border-left: 3px solid #d8dee8; color: #666; background: #fafbfc; }
136
+ .aimd-protocol-recorder__content :not(pre) > code { background: #f0f2f5; border-radius: 4px; padding: 2px 5px; }
137
+ .aimd-protocol-recorder__content .aimd-code-block {
138
+ max-width: 100%;
139
+ overflow: hidden;
140
+ margin: 12px 0;
141
+ padding: 0;
142
+ border: 1px solid #d8e1ee;
143
+ border-radius: 8px;
144
+ background: #f8fafc;
145
+ color: #0f172a;
146
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
147
+ font-size: 13px;
148
+ line-height: 1.58;
149
+ white-space: normal;
150
+ }
151
+ .aimd-protocol-recorder__content .aimd-code-block__code {
152
+ display: block;
153
+ padding: 10px 0;
154
+ border-radius: 0;
155
+ background: transparent;
156
+ }
157
+ .aimd-protocol-recorder__content .aimd-code-block__line {
158
+ display: grid;
159
+ grid-template-columns: max-content minmax(0, 1fr);
160
+ column-gap: 12px;
161
+ padding-right: 12px;
162
+ }
163
+ .aimd-protocol-recorder__content .aimd-code-block__line-number {
164
+ min-width: 3ch;
165
+ padding-left: 12px;
166
+ color: #94a3b8;
167
+ text-align: right;
168
+ user-select: none;
169
+ }
170
+ .aimd-protocol-recorder__content .aimd-code-block__line-code {
171
+ min-width: 0;
172
+ white-space: pre-wrap;
173
+ overflow-wrap: anywhere;
174
+ }
175
+ .aimd-protocol-recorder__content .aimd-code-block--wrap .aimd-code-block__line-code {
176
+ padding-left: var(--aimd-code-wrap-indent, 0ch);
177
+ text-indent: calc(-1 * var(--aimd-code-wrap-indent, 0ch));
178
+ }
179
+
180
+ /* ── Field base ─────────────────────────────────────────────────────────── */
181
+ .aimd-protocol-recorder__content .aimd-field {
182
+ border-radius: 10px;
183
+ margin: 6px 0;
184
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
185
+ }
186
+
187
+ .aimd-protocol-recorder__content .aimd-field--record-search-match {
188
+ outline: 2px solid rgba(47, 111, 237, 0.28);
189
+ outline-offset: 2px;
190
+ }
191
+
192
+ .aimd-protocol-recorder__content .aimd-field--record-search-active {
193
+ outline-color: rgba(47, 111, 237, 0.72);
194
+ box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.85);
195
+ }
196
+
197
+ .aimd-protocol-recorder__content .aimd-field--record-search-pulse {
198
+ animation: aimd-rec-record-search-pulse 0.62s ease-out;
199
+ }
200
+
201
+ @keyframes aimd-rec-record-search-pulse {
202
+ 0% {
203
+ box-shadow: 0 0 0 0 rgba(47, 111, 237, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.85);
204
+ }
205
+ 55% {
206
+ box-shadow: 0 0 0 8px rgba(47, 111, 237, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.85);
207
+ }
208
+ 100% {
209
+ box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.85);
210
+ }
211
+ }
212
+
213
+ .aimd-protocol-recorder__content .aimd-field__scope {
214
+ border-radius: 6px;
215
+ padding: 1px 7px;
216
+ font-size: 11px;
217
+ font-weight: 700;
218
+ letter-spacing: 0.01em;
219
+ text-transform: lowercase;
220
+ }
221
+
222
+ .aimd-protocol-recorder__content .aimd-rec-assigner-field {
223
+ display: inline-flex;
224
+ max-width: 100%;
225
+ align-items: center;
226
+ gap: 0;
227
+ vertical-align: middle;
228
+ }
229
+
230
+ .aimd-protocol-recorder__content .aimd-rec-assigner-field--var {
231
+ align-items: flex-end;
232
+ }
233
+
234
+ .aimd-protocol-recorder__content .aimd-rec-assigner-field--var_table,
235
+ .aimd-protocol-recorder__content .aimd-rec-assigner-field--step,
236
+ .aimd-protocol-recorder__content .aimd-rec-assigner-field--check {
237
+ display: flex;
238
+ align-items: flex-start;
239
+ }
240
+
241
+ .aimd-protocol-recorder__content .aimd-rec-assigner-field__control {
242
+ min-width: 0;
243
+ flex: 1 1 auto;
244
+ }
245
+
246
+ .aimd-protocol-recorder__content .aimd-rec-assigner-field--var .aimd-rec-assigner-field__control {
247
+ flex: 0 1 auto;
248
+ }
249
+
250
+ .aimd-protocol-recorder__content .aimd-rec-assigner-field__button {
251
+ display: inline-flex;
252
+ flex: 0 0 auto;
253
+ width: 30px;
254
+ min-width: 30px;
255
+ height: 34px;
256
+ min-height: 34px;
257
+ align-items: center;
258
+ justify-content: center;
259
+ padding: 0;
260
+ border: 1px solid #2563eb;
261
+ border-radius: 7px 0 0 7px;
262
+ margin-right: -1px;
263
+ background: #2563eb;
264
+ color: #ffffff;
265
+ cursor: pointer;
266
+ font-size: 17px;
267
+ line-height: 1;
268
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
269
+ transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
270
+ }
271
+
272
+ .aimd-protocol-recorder__content .aimd-rec-assigner-field__button:hover:not(:disabled) {
273
+ border-color: #1d4ed8;
274
+ background: #1d4ed8;
275
+ }
276
+
277
+ .aimd-protocol-recorder__content .aimd-rec-assigner-field__button:focus-visible {
278
+ outline: 2px solid rgba(37, 99, 235, 0.35);
279
+ outline-offset: 2px;
280
+ }
281
+
282
+ .aimd-protocol-recorder__content .aimd-rec-assigner-field__button:disabled {
283
+ cursor: not-allowed;
284
+ opacity: 0.7;
285
+ }
286
+
287
+ .aimd-protocol-recorder__content .aimd-rec-assigner-field__icon {
288
+ display: block;
289
+ width: 1em;
290
+ height: 1em;
291
+ }
292
+
293
+ .aimd-protocol-recorder__content .aimd-rec-assigner-field__label {
294
+ position: absolute;
295
+ width: 1px;
296
+ height: 1px;
297
+ margin: -1px;
298
+ padding: 0;
299
+ overflow: hidden;
300
+ clip: rect(0, 0, 0, 0);
301
+ white-space: nowrap;
302
+ border: 0;
303
+ }
304
+
305
+ .aimd-protocol-recorder__content .aimd-rec-assigner-field__spinner {
306
+ width: 15px;
307
+ height: 15px;
308
+ border: 2px solid rgba(255, 255, 255, 0.38);
309
+ border-top-color: #ffffff;
310
+ border-radius: 999px;
311
+ animation: aimd-rec-assigner-spin 0.75s linear infinite;
312
+ }
313
+
314
+ .aimd-protocol-recorder__content .aimd-rec-assigner-field__error {
315
+ min-width: 0;
316
+ margin-left: 8px;
317
+ color: #b42318;
318
+ font-size: 12px;
319
+ line-height: 1.35;
320
+ }
321
+
322
+ @keyframes aimd-rec-assigner-spin {
323
+ to {
324
+ transform: rotate(360deg);
325
+ }
326
+ }
327
+
328
+ /* ── Field colours ──────────────────────────────────────────────────────── */
329
+ .aimd-protocol-recorder__content .aimd-field--var { background: #f3f8ff; border-color: #c9dcff; color: #1c4e90; }
330
+ .aimd-protocol-recorder__content .aimd-field--var .aimd-field__scope { background: #dceaff; color: #255eab; }
331
+ .aimd-protocol-recorder__content .aimd-field--step { background: #fff9ef; border-color: #f4d9a8; color: #9a5800; }
332
+ .aimd-protocol-recorder__content .aimd-rec-inline--step > .aimd-step-field__main .aimd-rec-inline__check-wrap > .aimd-field__scope { background: #ffe8bf; color: #9a5800; }
333
+ .aimd-protocol-recorder__content .aimd-field--check { background: #fffafa; border-color: rgba(185, 28, 28, 0.2); color: #2b3443; padding: 3px 8px; }
334
+ .aimd-protocol-recorder__content .aimd-field--check .aimd-field__scope { background: #fee2e2; color: #991b1b; }
335
+ .aimd-protocol-recorder__content .aimd-field--check.aimd-rec-inline--check-passed { background: #f6fdf9; border-color: rgba(22, 101, 52, 0.22); color: #1f3d2a; }
336
+ .aimd-protocol-recorder__content .aimd-field--check.aimd-rec-inline--check-passed .aimd-field__scope { background: #dcfce7; color: #166534; }
337
+ .aimd-protocol-recorder__content .aimd-field--var-table {
338
+ display: block;
339
+ width: 100%;
340
+ max-width: 100%;
341
+ box-sizing: border-box;
342
+ background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 252, 251, 0.98) 100%);
343
+ border: 1px solid #dee7df;
344
+ color: #334155;
345
+ border-radius: 16px;
346
+ padding: 12px 14px;
347
+ box-shadow:
348
+ inset 0 1px 0 rgba(255, 255, 255, 0.92),
349
+ 0 8px 24px rgba(15, 23, 42, 0.025);
350
+ }
351
+ .aimd-protocol-recorder__content .aimd-field--var-table .aimd-field__scope {
352
+ background: #edf6ee;
353
+ color: #446a4f;
354
+ }
355
+ .aimd-protocol-recorder__content .aimd-field--var-table .aimd-field__name {
356
+ color: #1f2937;
357
+ }
358
+ .aimd-protocol-recorder__content .aimd-field--var-table .aimd-field__header {
359
+ display: flex;
360
+ align-items: center;
361
+ gap: 8px;
362
+ flex-wrap: wrap;
363
+ width: 100%;
364
+ max-width: 100%;
365
+ }
366
+ .aimd-protocol-recorder__content .aimd-field--var-table .aimd-field__table-preview,
367
+ .aimd-protocol-recorder__content .aimd-field--var-table .aimd-rec-card-list {
368
+ width: 100%;
369
+ max-width: 100%;
370
+ }
371
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__header-actions {
372
+ display: inline-flex;
373
+ flex: 0 0 auto;
374
+ align-items: center;
375
+ gap: 4px;
376
+ margin-left: auto;
377
+ }
378
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__header-action,
379
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__header-state {
380
+ display: inline-flex;
381
+ align-items: center;
382
+ justify-content: center;
383
+ }
384
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__header-action .aimd-rec-assigner-field__button {
385
+ width: 30px;
386
+ min-width: 30px;
387
+ height: 26px;
388
+ min-height: 26px;
389
+ border: 0 none;
390
+ border-radius: 6px;
391
+ margin: 0;
392
+ background: #edf6ff;
393
+ color: #1976d2;
394
+ box-shadow: none;
395
+ font-size: 16px;
396
+ }
397
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__header-action .aimd-rec-assigner-field__button:hover:not(:disabled) {
398
+ background: #dbeafe;
399
+ color: #1565c0;
400
+ }
401
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__header-action .aimd-rec-assigner-field__spinner {
402
+ border-color: rgba(25, 118, 210, 0.25);
403
+ border-top-color: #1976d2;
404
+ }
405
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__header-state .aimd-rec-assigner-field__status {
406
+ font-size: 16px;
407
+ }
408
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__assigner-error {
409
+ margin: 6px 0 8px;
410
+ }
411
+ /* ── Error & loading ────────────────────────────────────────────────────── */
412
+ .aimd-protocol-recorder__content .aimd-rec-inline--error { border-color: var(--rec-error) !important; }
413
+ .aimd-protocol-recorder__content .aimd-rec-inline--error:focus-within { box-shadow: 0 0 0 2px rgba(224, 48, 80, 0.12); }
414
+ .aimd-protocol-recorder__content .aimd-rec-inline--loading { opacity: 0.6; pointer-events: none; }
415
+ .aimd-protocol-recorder__content .aimd-rec-table-cell-input--error { border-color: var(--rec-error) !important; }
416
+
417
+ /* ── Inline layout ──────────────────────────────────────────────────────── */
418
+ .aimd-protocol-recorder__content .aimd-rec-inline {
419
+ display: inline-flex;
420
+ align-items: center;
421
+ gap: 8px;
422
+ margin: 5px 3px;
423
+ vertical-align: middle;
424
+ }
425
+ .aimd-protocol-recorder__content .aimd-rec-inline--var-multiline { align-items: flex-start; }
426
+ .aimd-protocol-recorder__content .aimd-rec-inline--var-stacked {
427
+ flex-direction: column;
428
+ align-items: stretch;
429
+ gap: 0;
430
+ margin: 5px 3px;
431
+ width: max-content;
432
+ min-width: 0;
433
+ max-width: 100%;
434
+ border: 1px solid var(--aimd-border-color, #90caf9);
435
+ border-radius: 8px;
436
+ overflow: hidden;
437
+ box-shadow: none;
438
+ background: #f7fbff;
439
+ }
440
+ /* Metadata popovers need to escape the compact field; plain fields clip child backgrounds so corners stay clean. */
441
+ .aimd-protocol-recorder__content .aimd-rec-inline--var-stacked:has(.aimd-field__metadata-host) {
442
+ overflow: visible;
443
+ }
444
+ .aimd-protocol-recorder__content .aimd-rec-inline--var-stacked--textarea { min-width: 0; }
445
+ .aimd-protocol-recorder__content .aimd-rec-inline--var-stacked--checkbox { width: fit-content; min-width: 0; }
446
+ .aimd-protocol-recorder__content .aimd-rec-inline--var-stacked--scalar-list {
447
+ display: flex;
448
+ width: 100%;
449
+ min-width: 0;
450
+ max-width: 100%;
451
+ margin: 12px 0;
452
+ vertical-align: top;
453
+ box-sizing: border-box;
454
+ }
455
+ .aimd-protocol-recorder__content .aimd-rec-inline--var-stacked:focus-within {
456
+ border-color: var(--aimd-border-color-focus, #4181fd);
457
+ box-shadow: 0 0 0 2px rgba(65, 129, 253, 0.14);
458
+ }
459
+ .aimd-protocol-recorder__content .aimd-rec-inline--var-stacked .aimd-field { margin: 0; box-shadow: none; }
460
+ .aimd-protocol-recorder__content .aimd-rec-inline--var-stacked .aimd-field--no-style.aimd-field__label {
461
+ flex-wrap: nowrap;
462
+ min-height: 30px;
463
+ border-radius: 6px 6px 0 0;
464
+ }
465
+ .aimd-protocol-recorder__content .aimd-rec-inline--var-stacked .aimd-field__scope {
466
+ flex: 0 0 auto;
467
+ align-self: center;
468
+ min-width: max-content;
469
+ height: 22px;
470
+ margin-left: 3px;
471
+ padding: 0 7px;
472
+ border-radius: 6px;
473
+ overflow-wrap: normal;
474
+ white-space: nowrap;
475
+ word-break: normal;
476
+ }
477
+ .aimd-protocol-recorder__content .aimd-rec-inline--var-stacked .aimd-field__name {
478
+ display: flex;
479
+ flex: 0 0 auto;
480
+ align-items: center;
481
+ min-width: max-content;
482
+ padding: 4px 10px 4px 6px;
483
+ font-size: 13px;
484
+ font-weight: 600;
485
+ color: #1565c0;
486
+ white-space: nowrap;
487
+ }
488
+ .aimd-protocol-recorder__content .aimd-rec-inline--var-stacked .aimd-field__name--with-metadata {
489
+ align-items: flex-start;
490
+ justify-content: center;
491
+ gap: 2px;
492
+ min-height: 34px;
493
+ white-space: nowrap;
494
+ }
495
+ .aimd-protocol-recorder__content .aimd-rec-inline--var-stacked .aimd-field__title,
496
+ .aimd-protocol-recorder__content .aimd-rec-inline--var-stacked .aimd-field__key {
497
+ overflow: visible;
498
+ overflow-wrap: normal;
499
+ white-space: nowrap;
500
+ word-break: normal;
501
+ }
502
+ .aimd-protocol-recorder__content .aimd-field__key {
503
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
504
+ font-size: 11px;
505
+ font-weight: 500;
506
+ line-height: 1.2;
507
+ color: #64748b;
508
+ }
509
+ .aimd-protocol-recorder__content .aimd-rec-inline--var-stacked .aimd-field__id { display: flex; flex: 1; align-items: center; padding: 0 10px 0 6px; font-size: 13px; font-weight: 500; color: #1565c0; white-space: nowrap; }
510
+ .aimd-protocol-recorder__content table:not(.aimd-rec-inline-table__table):not(.aimd-scale__table) .aimd-rec-inline--var-stacked {
511
+ width: max-content;
512
+ min-width: min(240px, 100%);
513
+ max-width: min(680px, 100%);
514
+ margin: 4px 0;
515
+ }
516
+ .aimd-protocol-recorder__content table:not(.aimd-rec-inline-table__table):not(.aimd-scale__table) .aimd-rec-inline--var-stacked .aimd-field--no-style.aimd-field__label {
517
+ width: 100%;
518
+ min-width: 0;
519
+ max-width: 100%;
520
+ }
521
+ .aimd-protocol-recorder__content table:not(.aimd-rec-inline-table__table):not(.aimd-scale__table) .aimd-rec-inline--var-stacked .aimd-field__name {
522
+ flex: 1 1 auto;
523
+ min-width: 0;
524
+ max-width: 100%;
525
+ overflow: visible;
526
+ white-space: normal;
527
+ }
528
+ .aimd-protocol-recorder__content table:not(.aimd-rec-inline-table__table):not(.aimd-scale__table) .aimd-rec-inline--var-stacked .aimd-field__title,
529
+ .aimd-protocol-recorder__content table:not(.aimd-rec-inline-table__table):not(.aimd-scale__table) .aimd-rec-inline--var-stacked .aimd-field__key {
530
+ display: block;
531
+ min-width: 0;
532
+ max-width: 100%;
533
+ overflow: visible;
534
+ overflow-wrap: break-word;
535
+ white-space: normal;
536
+ word-break: normal;
537
+ }
538
+ .aimd-protocol-recorder__content .aimd-rec-inline__header-assigner-actions {
539
+ display: inline-flex;
540
+ flex: 0 0 auto;
541
+ align-items: center;
542
+ gap: 4px;
543
+ margin-left: auto;
544
+ padding-right: 6px;
545
+ }
546
+
547
+ .aimd-protocol-recorder__content .aimd-rec-inline__header-assigner-action,
548
+ .aimd-protocol-recorder__content .aimd-rec-inline__header-assigner-state,
549
+ .aimd-protocol-recorder__content .aimd-rec-inline__header-extra-action {
550
+ display: inline-flex;
551
+ align-items: center;
552
+ justify-content: center;
553
+ }
554
+
555
+ .aimd-protocol-recorder__content .aimd-rec-inline__header-assigner-action .aimd-rec-assigner-field__button {
556
+ width: 30px;
557
+ min-width: 30px;
558
+ height: 26px;
559
+ min-height: 26px;
560
+ border: 0 none;
561
+ border-radius: 6px;
562
+ margin: 0;
563
+ background: #eaf4ff;
564
+ color: #1976d2;
565
+ box-shadow: none;
566
+ font-size: 16px;
567
+ }
568
+
569
+ .aimd-protocol-recorder__content .aimd-rec-inline__header-assigner-action .aimd-rec-assigner-field__button:hover:not(:disabled) {
570
+ background: #dbeafe;
571
+ color: #1565c0;
572
+ }
573
+
574
+ .aimd-protocol-recorder__content .aimd-rec-inline__header-assigner-action .aimd-rec-assigner-field__spinner {
575
+ border-color: rgba(25, 118, 210, 0.25);
576
+ border-top-color: #1976d2;
577
+ }
578
+
579
+ .aimd-protocol-recorder__content .aimd-rec-inline__header-assigner-state .aimd-rec-assigner-field__status {
580
+ font-size: 16px;
581
+ }
582
+ .aimd-protocol-recorder__content .aimd-rec-inline--var-markdown {
583
+ display: flex;
584
+ flex-direction: column;
585
+ align-items: stretch;
586
+ gap: 0;
587
+ width: 100%;
588
+ max-width: 100%;
589
+ margin: 12px 0;
590
+ vertical-align: top;
591
+ box-sizing: border-box;
592
+ }
593
+ .aimd-protocol-recorder__content .aimd-rec-inline--var-stacked--code {
594
+ width: 100%;
595
+ min-width: min(420px, 100%);
596
+ max-width: 100%;
597
+ margin: 12px 0;
598
+ vertical-align: top;
599
+ box-sizing: border-box;
600
+ }
601
+
602
+ /* ── Stacked input controls ─────────────────────────────────────────────── */
603
+ .aimd-protocol-recorder__content .aimd-rec-inline__input--stacked {
604
+ width: 100%;
605
+ min-width: 0;
606
+ height: var(--rec-var-control-height);
607
+ font: inherit;
608
+ font-size: var(--rec-var-value-font-size);
609
+ font-weight: 400;
610
+ line-height: var(--rec-var-single-line-height);
611
+ color: var(--rec-text);
612
+ border: 0 none;
613
+ border-top: 1px solid var(--aimd-border-color, #90caf9);
614
+ border-radius: 0 0 6px 6px;
615
+ margin: 0;
616
+ box-shadow: none;
617
+ padding: 0 10px;
618
+ background: #fff;
619
+ }
620
+ .aimd-protocol-recorder__content .aimd-rec-inline__input--stacked:focus { border-color: var(--aimd-border-color, #90caf9); box-shadow: none; }
621
+ .aimd-protocol-recorder__content .aimd-rec-inline__textarea--stacked:not(.aimd-rec-inline__textarea--stacked-text) {
622
+ width: 100%;
623
+ min-width: 0;
624
+ min-height: 82px;
625
+ font: inherit;
626
+ font-size: var(--rec-var-value-font-size);
627
+ font-weight: 400;
628
+ line-height: var(--rec-var-text-wrap-line-height);
629
+ color: var(--rec-text);
630
+ border: 0 none;
631
+ border-top: 1px solid var(--aimd-border-color, #90caf9);
632
+ border-radius: 0 0 6px 6px;
633
+ margin: 0;
634
+ box-shadow: none;
635
+ padding: 8px 10px;
636
+ background: #fff;
637
+ }
638
+ .aimd-protocol-recorder__content .aimd-rec-inline__textarea--stacked-text {
639
+ display: block;
640
+ width: 100%;
641
+ min-width: 0;
642
+ min-height: var(--rec-var-control-height);
643
+ font: inherit;
644
+ font-size: var(--rec-var-value-font-size);
645
+ font-weight: 400;
646
+ line-height: var(--rec-var-text-wrap-line-height);
647
+ color: var(--rec-text);
648
+ border: 0 none;
649
+ border-top: 1px solid var(--aimd-border-color, #90caf9);
650
+ border-radius: 0 0 6px 6px;
651
+ margin: 0;
652
+ box-shadow: none;
653
+ padding: 5px 10px;
654
+ background: #fff;
655
+ box-sizing: border-box;
656
+ resize: none;
657
+ overflow: hidden;
658
+ }
659
+ .aimd-protocol-recorder__content .aimd-rec-inline__textarea--stacked:focus { border-color: var(--aimd-border-color, #90caf9); box-shadow: none; }
660
+ .aimd-protocol-recorder__content .aimd-rec-inline__checkbox-row {
661
+ display: flex;
662
+ align-items: center;
663
+ min-height: 38px;
664
+ padding: 0 10px;
665
+ border-top: 1px solid var(--aimd-border-color, #90caf9);
666
+ background: #fff;
667
+ }
668
+
669
+ .aimd-protocol-recorder__content .aimd-rec-inline__scalar-list {
670
+ display: flex;
671
+ flex-direction: column;
672
+ align-items: stretch;
673
+ gap: 6px;
674
+ width: 100%;
675
+ min-width: 0;
676
+ padding: 6px;
677
+ border-top: 1px solid var(--aimd-border-color, #90caf9);
678
+ border-radius: 0 0 6px 6px;
679
+ box-sizing: border-box;
680
+ background: #fff;
681
+ }
682
+
683
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__items {
684
+ display: flex;
685
+ flex-flow: row wrap;
686
+ align-items: center;
687
+ align-content: flex-start;
688
+ gap: 5px;
689
+ min-width: 0;
690
+ max-width: 100%;
691
+ }
692
+
693
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__rows {
694
+ display: contents;
695
+ }
696
+
697
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__toolbar {
698
+ display: flex;
699
+ flex: 0 0 auto;
700
+ align-items: center;
701
+ justify-content: flex-start;
702
+ min-width: 0;
703
+ }
704
+
705
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__mode {
706
+ display: inline-flex;
707
+ align-items: center;
708
+ min-width: 0;
709
+ }
710
+
711
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__mode-button {
712
+ min-width: 44px;
713
+ min-height: 24px;
714
+ padding: 0 8px;
715
+ border: 1px solid #cbd5e1;
716
+ background: #fff;
717
+ color: #475569;
718
+ cursor: pointer;
719
+ font: inherit;
720
+ font-size: 12px;
721
+ font-weight: 600;
722
+ line-height: 1;
723
+ transition: background-color 0.18s, border-color 0.18s, color 0.18s;
724
+ }
725
+
726
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__mode-button:first-child {
727
+ border-radius: 5px 0 0 5px;
728
+ }
729
+
730
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__mode-button:last-child {
731
+ margin-left: -1px;
732
+ border-radius: 0 5px 5px 0;
733
+ }
734
+
735
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__mode-button--active {
736
+ position: relative;
737
+ border-color: #2563eb;
738
+ background: #eff6ff;
739
+ color: #1d4ed8;
740
+ }
741
+
742
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__mode-button:hover:not(:disabled) {
743
+ border-color: #9db1cc;
744
+ color: #1f4f8f;
745
+ }
746
+
747
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__mode-button:disabled {
748
+ cursor: not-allowed;
749
+ opacity: 0.62;
750
+ }
751
+
752
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__row {
753
+ --aimd-rec-scalar-list-control-offset: 22px;
754
+ display: inline-flex;
755
+ flex: 0 0 auto;
756
+ align-items: stretch;
757
+ gap: 0;
758
+ width: fit-content;
759
+ min-width: 0;
760
+ max-width: 100%;
761
+ border-radius: 6px;
762
+ isolation: isolate;
763
+ position: relative;
764
+ }
765
+
766
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__row--has-drag {
767
+ --aimd-rec-scalar-list-control-offset: 42px;
768
+ }
769
+
770
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__row--has-remove {
771
+ --aimd-rec-scalar-list-control-offset: 48px;
772
+ }
773
+
774
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__row--has-drag.aimd-rec-scalar-list__row--has-remove {
775
+ --aimd-rec-scalar-list-control-offset: 68px;
776
+ }
777
+
778
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__row--multiline {
779
+ flex: 1 1 100%;
780
+ width: 100%;
781
+ max-width: 100%;
782
+ }
783
+
784
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__row--dragging {
785
+ opacity: 0.58;
786
+ }
787
+
788
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__row--drop-target {
789
+ background: rgba(37, 99, 235, 0.04);
790
+ box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.18);
791
+ }
792
+
793
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__row--drop-target-before::before,
794
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__row--drop-target-after::after {
795
+ content: "";
796
+ position: absolute;
797
+ z-index: 3;
798
+ top: -4px;
799
+ bottom: -4px;
800
+ width: 3px;
801
+ border-radius: 999px;
802
+ background: #2563eb;
803
+ box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
804
+ transform-origin: center;
805
+ animation: aimd-rec-scalar-list-insert-pulse 0.85s ease-in-out infinite;
806
+ pointer-events: none;
807
+ }
808
+
809
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__row--drop-target-before::before {
810
+ left: -5px;
811
+ }
812
+
813
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__row--drop-target-after::after {
814
+ right: -5px;
815
+ }
816
+
817
+ @keyframes aimd-rec-scalar-list-insert-pulse {
818
+ 0%,
819
+ 100% {
820
+ opacity: 0.62;
821
+ transform: scaleY(0.84);
822
+ }
823
+ 50% {
824
+ opacity: 1;
825
+ transform: scaleY(1);
826
+ }
827
+ }
828
+
829
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__input {
830
+ flex: 0 1 auto;
831
+ width: var(--aimd-rec-scalar-list-input-width, calc(8em + 16px));
832
+ min-width: 0;
833
+ max-width: min(calc(42em + 16px), calc(100% - var(--aimd-rec-scalar-list-control-offset, 0px)));
834
+ min-height: 26px;
835
+ padding: 0 6px;
836
+ border: 1px solid #cbd5e1;
837
+ border-radius: 6px;
838
+ box-sizing: border-box;
839
+ background: #fff;
840
+ color: var(--rec-text);
841
+ font: inherit;
842
+ font-size: var(--rec-var-value-font-size);
843
+ line-height: 1.3;
844
+ }
845
+
846
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__row .aimd-rec-scalar-list__input {
847
+ border-top-left-radius: 0;
848
+ border-bottom-left-radius: 0;
849
+ }
850
+
851
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__row--has-remove .aimd-rec-scalar-list__input {
852
+ border-top-right-radius: 0;
853
+ border-bottom-right-radius: 0;
854
+ }
855
+
856
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__input--number {
857
+ height: 26px;
858
+ }
859
+
860
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__input--text {
861
+ height: auto;
862
+ min-height: 26px;
863
+ max-height: none;
864
+ padding-top: 3px;
865
+ padding-bottom: 3px;
866
+ resize: none;
867
+ overflow: hidden;
868
+ white-space: pre-wrap;
869
+ overflow-wrap: anywhere;
870
+ }
871
+
872
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__row--multiline .aimd-rec-scalar-list__input--text {
873
+ flex: 1 1 auto;
874
+ width: auto;
875
+ max-width: calc(100% - var(--aimd-rec-scalar-list-control-offset, 0px));
876
+ }
877
+
878
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__input:focus {
879
+ position: relative;
880
+ z-index: 1;
881
+ outline: none;
882
+ border-color: #4181fd;
883
+ box-shadow: 0 0 0 2px rgba(65, 129, 253, 0.12);
884
+ }
885
+
886
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__json-wrap {
887
+ display: flex;
888
+ flex-direction: column;
889
+ gap: 4px;
890
+ min-width: 0;
891
+ }
892
+
893
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__json-editor {
894
+ width: 100%;
895
+ min-width: 0;
896
+ border: 1px solid #cbd5e1;
897
+ border-radius: 6px;
898
+ overflow: hidden;
899
+ background: #fff;
900
+ }
901
+
902
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__json-editor:focus-within {
903
+ border-color: #4181fd;
904
+ box-shadow: 0 0 0 2px rgba(65, 129, 253, 0.12);
905
+ }
906
+
907
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__json-editor--invalid {
908
+ border-color: #f87171;
909
+ }
910
+
911
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__json-error {
912
+ color: #b91c1c;
913
+ font-size: calc(var(--rec-var-value-font-size) * 0.9);
914
+ line-height: 1.25;
915
+ }
916
+
917
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__drag,
918
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__remove,
919
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__add {
920
+ display: inline-flex;
921
+ align-items: center;
922
+ justify-content: center;
923
+ border: 1px solid #cbd5e1;
924
+ border-radius: 6px;
925
+ box-sizing: border-box;
926
+ background: #f8fafc;
927
+ color: #475569;
928
+ cursor: pointer;
929
+ font: inherit;
930
+ }
931
+
932
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__drag {
933
+ flex: 0 0 auto;
934
+ width: 20px;
935
+ min-height: 26px;
936
+ padding: 0;
937
+ border-radius: 6px 0 0 6px;
938
+ border-right: 0;
939
+ font-size: 12px;
940
+ cursor: grab;
941
+ }
942
+
943
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__drag:active {
944
+ cursor: grabbing;
945
+ }
946
+
947
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__index {
948
+ display: inline-flex;
949
+ flex: 0 0 auto;
950
+ align-items: center;
951
+ justify-content: center;
952
+ min-width: 22px;
953
+ min-height: 26px;
954
+ padding: 0 4px;
955
+ border: 1px solid #cbd5e1;
956
+ border-right: 0;
957
+ border-radius: 6px 0 0 6px;
958
+ box-sizing: border-box;
959
+ background: #f1f5f9;
960
+ color: #64748b;
961
+ font: inherit;
962
+ font-size: 10px;
963
+ font-weight: 700;
964
+ font-variant-numeric: tabular-nums;
965
+ line-height: 1;
966
+ user-select: none;
967
+ }
968
+
969
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__row--has-drag .aimd-rec-scalar-list__index {
970
+ border-left: 0;
971
+ border-radius: 0;
972
+ }
973
+
974
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__remove {
975
+ position: relative;
976
+ flex: 0 0 auto;
977
+ width: 26px;
978
+ min-height: 26px;
979
+ padding: 0;
980
+ border-radius: 0 6px 6px 0;
981
+ border-left: 0;
982
+ font-size: 13px;
983
+ }
984
+
985
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__row:not(.aimd-rec-scalar-list__row--has-drag) .aimd-rec-scalar-list__remove {
986
+ border-left: 0;
987
+ }
988
+
989
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__add {
990
+ align-self: flex-start;
991
+ min-height: 30px;
992
+ gap: 6px;
993
+ padding: 0 9px;
994
+ background: #eaf4ff;
995
+ border-color: #bfdbfe;
996
+ color: #1565c0;
997
+ }
998
+
999
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__drag:hover:not(:disabled) {
1000
+ background: #eef2ff;
1001
+ border-color: #c7d2fe;
1002
+ color: #4338ca;
1003
+ }
1004
+
1005
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__remove:hover:not(:disabled) {
1006
+ background: #fef2f2;
1007
+ border-color: #fecaca;
1008
+ color: #b91c1c;
1009
+ }
1010
+
1011
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__add:hover:not(:disabled) {
1012
+ background: #dbeafe;
1013
+ border-color: #93c5fd;
1014
+ color: #0f5cb6;
1015
+ }
1016
+
1017
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__drag:disabled,
1018
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__remove:disabled,
1019
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__add:disabled {
1020
+ cursor: not-allowed;
1021
+ opacity: 0.66;
1022
+ }
1023
+
1024
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__add-label {
1025
+ font-size: 12px;
1026
+ font-weight: 600;
1027
+ line-height: 1;
1028
+ white-space: nowrap;
1029
+ }
1030
+
1031
+ .aimd-protocol-recorder__content .aimd-rec-scalar-list__icon-label {
1032
+ position: absolute;
1033
+ width: 1px;
1034
+ height: 1px;
1035
+ overflow: hidden;
1036
+ clip: rect(0 0 0 0);
1037
+ white-space: nowrap;
1038
+ }
1039
+
1040
+ .aimd-protocol-recorder__content .aimd-rec-inline__file-control {
1041
+ display: flex;
1042
+ flex-direction: column;
1043
+ align-items: stretch;
1044
+ gap: 8px;
1045
+ width: 100%;
1046
+ min-width: 0;
1047
+ min-height: var(--rec-var-control-height);
1048
+ padding: 8px;
1049
+ border-top: 1px solid var(--aimd-border-color, #90caf9);
1050
+ border-radius: 0 0 6px 6px;
1051
+ box-sizing: border-box;
1052
+ background: #fff;
1053
+ }
1054
+
1055
+ .aimd-protocol-recorder__content .aimd-rec-file-field__trigger {
1056
+ position: relative;
1057
+ display: flex;
1058
+ flex: 1 1 auto;
1059
+ min-width: 0;
1060
+ min-height: var(--rec-var-control-height);
1061
+ align-items: center;
1062
+ gap: 8px;
1063
+ padding: 0 8px;
1064
+ border: 1px dashed #cbd5e1;
1065
+ border-radius: 6px;
1066
+ background: #f8fafc;
1067
+ cursor: pointer;
1068
+ }
1069
+
1070
+ .aimd-protocol-recorder__content .aimd-rec-file-field__trigger--disabled {
1071
+ cursor: not-allowed;
1072
+ opacity: 0.72;
1073
+ }
1074
+
1075
+ .aimd-protocol-recorder__content .aimd-rec-file-field__input {
1076
+ position: absolute;
1077
+ width: 1px;
1078
+ height: 1px;
1079
+ opacity: 0;
1080
+ pointer-events: none;
1081
+ }
1082
+
1083
+ .aimd-protocol-recorder__content .aimd-rec-file-field__badge {
1084
+ display: inline-flex;
1085
+ flex: 0 0 auto;
1086
+ min-width: 38px;
1087
+ height: 22px;
1088
+ align-items: center;
1089
+ justify-content: center;
1090
+ padding: 0 7px;
1091
+ border-radius: 6px;
1092
+ background: #e3f2fd;
1093
+ color: #1565c0;
1094
+ font-size: 10px;
1095
+ font-weight: 700;
1096
+ line-height: 1;
1097
+ }
1098
+
1099
+ .aimd-protocol-recorder__content .aimd-rec-file-field__badge--csv,
1100
+ .aimd-protocol-recorder__content .aimd-rec-file-field__badge--text {
1101
+ background: #e0f2fe;
1102
+ color: #0369a1;
1103
+ }
1104
+
1105
+ .aimd-protocol-recorder__content .aimd-rec-file-field__badge--image {
1106
+ background: #dcfce7;
1107
+ color: #15803d;
1108
+ }
1109
+
1110
+ .aimd-protocol-recorder__content .aimd-rec-file-field__badge--audio,
1111
+ .aimd-protocol-recorder__content .aimd-rec-file-field__badge--video {
1112
+ background: #fef3c7;
1113
+ color: #a16207;
1114
+ }
1115
+
1116
+ .aimd-protocol-recorder__content .aimd-rec-file-field__badge--document {
1117
+ background: #ede9fe;
1118
+ color: #6d28d9;
1119
+ }
1120
+
1121
+ .aimd-protocol-recorder__content .aimd-rec-file-field__name {
1122
+ min-width: 0;
1123
+ overflow: hidden;
1124
+ color: var(--rec-text);
1125
+ font-size: 14px;
1126
+ font-weight: 600;
1127
+ line-height: 1.35;
1128
+ text-overflow: ellipsis;
1129
+ white-space: nowrap;
1130
+ }
1131
+
1132
+ .aimd-protocol-recorder__content .aimd-rec-file-field__name--placeholder {
1133
+ color: #94a3b8;
1134
+ font-weight: 500;
1135
+ }
1136
+
1137
+ .aimd-protocol-recorder__content .aimd-rec-file-card {
1138
+ display: flex;
1139
+ flex-direction: column;
1140
+ gap: 8px;
1141
+ width: 100%;
1142
+ min-width: 0;
1143
+ padding: 10px;
1144
+ border: 1px solid #e2e8f0;
1145
+ border-radius: 6px;
1146
+ background: #f8fafc;
1147
+ box-sizing: border-box;
1148
+ transition: border-color 0.16s ease, background-color 0.16s ease;
1149
+ }
1150
+
1151
+ .aimd-protocol-recorder__content .aimd-rec-file-card:hover {
1152
+ border-color: #cbd5e1;
1153
+ background: #f1f5f9;
1154
+ }
1155
+
1156
+ .aimd-protocol-recorder__content .aimd-rec-file-card__header {
1157
+ display: flex;
1158
+ min-width: 0;
1159
+ align-items: center;
1160
+ gap: 10px;
1161
+ }
1162
+
1163
+ .aimd-protocol-recorder__content .aimd-rec-file-card__identity {
1164
+ display: flex;
1165
+ min-width: 0;
1166
+ flex: 1 1 auto;
1167
+ align-items: center;
1168
+ gap: 8px;
1169
+ }
1170
+
1171
+ .aimd-protocol-recorder__content .aimd-rec-file-card__text {
1172
+ display: flex;
1173
+ min-width: 0;
1174
+ flex: 1 1 auto;
1175
+ flex-direction: column;
1176
+ gap: 2px;
1177
+ }
1178
+
1179
+ .aimd-protocol-recorder__content .aimd-rec-file-card__meta {
1180
+ overflow: hidden;
1181
+ color: #64748b;
1182
+ font-size: 11px;
1183
+ line-height: 1.25;
1184
+ text-overflow: ellipsis;
1185
+ white-space: nowrap;
1186
+ }
1187
+
1188
+ .aimd-protocol-recorder__content .aimd-rec-file-card__actions {
1189
+ display: flex;
1190
+ flex: 0 0 auto;
1191
+ align-items: center;
1192
+ gap: 4px;
1193
+ }
1194
+
1195
+ .aimd-protocol-recorder__content .aimd-rec-file-card__action {
1196
+ position: relative;
1197
+ display: inline-flex;
1198
+ width: 26px;
1199
+ height: 26px;
1200
+ align-items: center;
1201
+ justify-content: center;
1202
+ padding: 0;
1203
+ border: 0;
1204
+ border-radius: 6px;
1205
+ background: transparent;
1206
+ color: #64748b;
1207
+ cursor: pointer;
1208
+ font-size: 15px;
1209
+ line-height: 1;
1210
+ text-decoration: none;
1211
+ }
1212
+
1213
+ .aimd-protocol-recorder__content .aimd-rec-file-card__replace input {
1214
+ position: absolute;
1215
+ width: 1px;
1216
+ height: 1px;
1217
+ opacity: 0;
1218
+ pointer-events: none;
1219
+ }
1220
+
1221
+ .aimd-protocol-recorder__content .aimd-rec-file-card__action:hover {
1222
+ background: #e2e8f0;
1223
+ color: #1f2937;
1224
+ }
1225
+
1226
+ .aimd-protocol-recorder__content .aimd-rec-file-card__action--danger:hover {
1227
+ background: #fee2e2;
1228
+ color: #b91c1c;
1229
+ }
1230
+
1231
+ .aimd-protocol-recorder__content .aimd-rec-file-card__action-label {
1232
+ position: absolute;
1233
+ width: 1px;
1234
+ height: 1px;
1235
+ overflow: hidden;
1236
+ clip: rect(0 0 0 0);
1237
+ white-space: nowrap;
1238
+ }
1239
+
1240
+ .aimd-protocol-recorder__content .aimd-rec-file-field__preview {
1241
+ display: flex;
1242
+ width: 100%;
1243
+ min-height: 120px;
1244
+ max-height: 280px;
1245
+ align-items: center;
1246
+ justify-content: center;
1247
+ overflow: hidden;
1248
+ border: 1px solid #e2e8f0;
1249
+ border-radius: 6px;
1250
+ background: #fff;
1251
+ }
1252
+
1253
+ .aimd-protocol-recorder__content .aimd-rec-inline__file-control[data-file-kind="image"] .aimd-rec-file-field__preview {
1254
+ min-height: 190px;
1255
+ max-height: 420px;
1256
+ }
1257
+
1258
+ .aimd-protocol-recorder__content .aimd-rec-file-field__preview img {
1259
+ display: block;
1260
+ width: auto;
1261
+ height: auto;
1262
+ max-width: 100%;
1263
+ max-height: 260px;
1264
+ object-fit: contain;
1265
+ }
1266
+
1267
+ .aimd-protocol-recorder__content .aimd-rec-inline__file-control[data-file-kind="image"] .aimd-rec-file-field__preview img {
1268
+ max-height: 390px;
1269
+ }
1270
+
1271
+ .aimd-protocol-recorder__content .aimd-rec-file-field__csv-preview {
1272
+ display: block;
1273
+ min-width: 0;
1274
+ overflow: hidden;
1275
+ border: 1px solid #e2e8f0;
1276
+ border-radius: 6px;
1277
+ background: #fff;
1278
+ }
1279
+
1280
+ .aimd-protocol-recorder__content .aimd-rec-file-field__csv-grid {
1281
+ display: table;
1282
+ width: 100%;
1283
+ border-collapse: collapse;
1284
+ table-layout: fixed;
1285
+ }
1286
+
1287
+ .aimd-protocol-recorder__content .aimd-rec-file-field__csv-row {
1288
+ display: table-row;
1289
+ }
1290
+
1291
+ .aimd-protocol-recorder__content .aimd-rec-file-field__csv-row--head {
1292
+ color: #0369a1;
1293
+ font-weight: 700;
1294
+ }
1295
+
1296
+ .aimd-protocol-recorder__content .aimd-rec-file-field__csv-cell {
1297
+ display: table-cell;
1298
+ max-width: 12ch;
1299
+ overflow: hidden;
1300
+ padding: 2px 6px;
1301
+ border-top: 1px solid #e0f2fe;
1302
+ color: #334155;
1303
+ font-size: 11px;
1304
+ line-height: 1.4;
1305
+ text-overflow: ellipsis;
1306
+ white-space: nowrap;
1307
+ }
1308
+
1309
+ .aimd-protocol-recorder__content .aimd-rec-file-field__csv-row:first-child .aimd-rec-file-field__csv-cell {
1310
+ border-top: 0;
1311
+ }
1312
+
1313
+ .aimd-protocol-recorder__content .aimd-rec-file-field__error {
1314
+ flex: 0 0 auto;
1315
+ color: #dc2626;
1316
+ font-size: 12px;
1317
+ }
1318
+
1319
+ .aimd-protocol-recorder__content .aimd-rec-inline--has-assigner-control {
1320
+ overflow: hidden;
1321
+ }
1322
+
1323
+ .aimd-protocol-recorder__content .aimd-rec-inline--var-stacked--file.aimd-rec-inline--has-assigner-control:has(.aimd-field__metadata-host) {
1324
+ overflow: visible;
1325
+ }
1326
+
1327
+ .aimd-protocol-recorder__content .aimd-rec-inline__control-row {
1328
+ display: flex;
1329
+ width: 100%;
1330
+ min-width: 0;
1331
+ min-height: var(--rec-var-control-height);
1332
+ align-items: stretch;
1333
+ border-top: 1px solid var(--aimd-border-color, #90caf9);
1334
+ border-radius: 0 0 6px 6px;
1335
+ overflow: hidden;
1336
+ background: #fff;
1337
+ }
1338
+
1339
+ .aimd-protocol-recorder__content .aimd-rec-inline__assigner-prefix {
1340
+ display: flex;
1341
+ flex: 0 0 36px;
1342
+ align-items: stretch;
1343
+ justify-content: stretch;
1344
+ border-right: 1px solid #e2e8f0;
1345
+ background: #f8fafc;
1346
+ }
1347
+
1348
+ .aimd-protocol-recorder__content .aimd-rec-inline__control-main {
1349
+ display: flex;
1350
+ min-width: 0;
1351
+ flex: 1 1 auto;
1352
+ align-items: stretch;
1353
+ }
1354
+
1355
+ .aimd-protocol-recorder__content .aimd-rec-inline__assigner-status {
1356
+ display: flex;
1357
+ flex: 0 0 30px;
1358
+ align-items: center;
1359
+ justify-content: center;
1360
+ border-left: 1px solid #e2e8f0;
1361
+ background: #fff;
1362
+ }
1363
+
1364
+ .aimd-protocol-recorder__content .aimd-rec-inline__control-row .aimd-rec-inline__input--stacked,
1365
+ .aimd-protocol-recorder__content .aimd-rec-inline__control-row .aimd-rec-inline__textarea--stacked,
1366
+ .aimd-protocol-recorder__content .aimd-rec-inline__control-row .aimd-rec-inline__checkbox-row,
1367
+ .aimd-protocol-recorder__content .aimd-rec-inline__control-row .aimd-rec-inline__file-control {
1368
+ width: 100%;
1369
+ height: auto;
1370
+ min-height: var(--rec-var-control-height);
1371
+ flex: 1 1 auto;
1372
+ border-top: 0;
1373
+ border-radius: 0;
1374
+ background: transparent;
1375
+ }
1376
+
1377
+ .aimd-protocol-recorder__content .aimd-rec-inline__control-row .aimd-rec-inline__checkbox-row {
1378
+ padding: 0 10px;
1379
+ }
1380
+
1381
+ .aimd-protocol-recorder__content .aimd-rec-inline__assigner-prefix .aimd-rec-assigner-field__button {
1382
+ width: 100%;
1383
+ min-width: 0;
1384
+ height: auto;
1385
+ min-height: var(--rec-var-control-height);
1386
+ border: 0;
1387
+ border-radius: 0;
1388
+ margin: 0;
1389
+ background: transparent;
1390
+ color: #1976d2;
1391
+ font-size: 17px;
1392
+ box-shadow: none;
1393
+ }
1394
+
1395
+ .aimd-protocol-recorder__content .aimd-rec-inline__assigner-prefix .aimd-rec-assigner-field__button:hover:not(:disabled) {
1396
+ background: #eff6ff;
1397
+ color: #1565c0;
1398
+ }
1399
+
1400
+ .aimd-protocol-recorder__content .aimd-rec-inline__assigner-prefix .aimd-rec-assigner-field__button:disabled {
1401
+ opacity: 0.68;
1402
+ }
1403
+
1404
+ .aimd-protocol-recorder__content .aimd-rec-inline__assigner-prefix .aimd-rec-assigner-field__spinner {
1405
+ border-color: rgba(25, 118, 210, 0.25);
1406
+ border-top-color: #1976d2;
1407
+ }
1408
+
1409
+ .aimd-protocol-recorder__content .aimd-rec-assigner-field__status {
1410
+ display: inline-flex;
1411
+ align-items: center;
1412
+ justify-content: center;
1413
+ color: #94a3b8;
1414
+ font-size: 17px;
1415
+ }
1416
+
1417
+ .aimd-protocol-recorder__content .aimd-rec-assigner-field__status--done {
1418
+ color: #16a34a;
1419
+ }
1420
+
1421
+ .aimd-protocol-recorder__content .aimd-rec-assigner-field__status--error {
1422
+ color: #dc2626;
1423
+ }
1424
+
1425
+ .aimd-protocol-recorder__content .aimd-rec-assigner-field__status-spinner {
1426
+ width: 15px;
1427
+ height: 15px;
1428
+ border: 2px solid rgba(25, 118, 210, 0.2);
1429
+ border-top-color: #1976d2;
1430
+ border-radius: 999px;
1431
+ animation: aimd-rec-assigner-spin 0.75s linear infinite;
1432
+ }
1433
+
1434
+ .aimd-protocol-recorder__content .aimd-rec-inline__assigner-error {
1435
+ display: block;
1436
+ width: 100%;
1437
+ box-sizing: border-box;
1438
+ padding: 4px 8px;
1439
+ border-top: 1px solid #fecaca;
1440
+ background: #fff7f7;
1441
+ color: #b42318;
1442
+ font-size: 12px;
1443
+ line-height: 1.35;
1444
+ }
1445
+
1446
+ /* ── Select ─────────────────────────────────────────────────────────────── */
1447
+ .aimd-protocol-recorder__content .aimd-rec-inline__select { appearance: auto; cursor: pointer; height: var(--rec-var-control-height); padding: 0 8px; background: #fff; }
1448
+ .aimd-protocol-recorder__content .aimd-rec-enum-select { appearance: auto; cursor: pointer; }
1449
+
1450
+ /* ── Step / check ───────────────────────────────────────────────────────── */
1451
+ .aimd-protocol-recorder__content .aimd-rec-inline--step,
1452
+ .aimd-protocol-recorder__content .aimd-rec-inline--check { gap: 8px; }
1453
+ .aimd-protocol-recorder__content .aimd-rec-inline--check {
1454
+ display: flex;
1455
+ flex-direction: column;
1456
+ align-items: stretch;
1457
+ gap: 10px;
1458
+ width: 100%;
1459
+ max-width: 100%;
1460
+ margin: 10px 0;
1461
+ padding: 10px 12px;
1462
+ border: 1px solid rgba(185, 28, 28, 0.2);
1463
+ border-left-width: 3px;
1464
+ border-radius: 14px;
1465
+ background: #fffafa;
1466
+ box-shadow:
1467
+ inset 0 1px 0 rgba(255, 255, 255, 0.9),
1468
+ 0 8px 24px rgba(185, 28, 28, 0.025);
1469
+ box-sizing: border-box;
1470
+ transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
1471
+ }
1472
+ .aimd-protocol-recorder__content .aimd-rec-inline--check-passed {
1473
+ border-color: rgba(22, 101, 52, 0.22);
1474
+ background: #f6fdf9;
1475
+ box-shadow:
1476
+ inset 0 1px 0 rgba(255, 255, 255, 0.9),
1477
+ 0 8px 24px rgba(22, 101, 52, 0.035);
1478
+ }
1479
+ .aimd-protocol-recorder__content .aimd-check-field__main {
1480
+ display: flex;
1481
+ flex-direction: column;
1482
+ gap: 8px;
1483
+ min-width: 0;
1484
+ }
1485
+ .aimd-protocol-recorder__content .aimd-rec-inline--check > .aimd-rec-inline__check-wrap {
1486
+ display: inline-flex;
1487
+ align-items: center;
1488
+ flex-wrap: wrap;
1489
+ min-width: 0;
1490
+ }
1491
+ .aimd-protocol-recorder__content .aimd-check-field__header {
1492
+ display: flex;
1493
+ align-items: flex-start;
1494
+ justify-content: space-between;
1495
+ gap: 8px 12px;
1496
+ min-width: 0;
1497
+ }
1498
+ .aimd-protocol-recorder__content .aimd-rec-inline--check-bodyless .aimd-check-field__header {
1499
+ align-items: center;
1500
+ }
1501
+ .aimd-protocol-recorder__content .aimd-check-field__actions {
1502
+ display: flex;
1503
+ flex: 0 0 auto;
1504
+ flex-wrap: wrap;
1505
+ justify-content: flex-end;
1506
+ gap: 8px;
1507
+ }
1508
+ .aimd-protocol-recorder__content .aimd-check-field__toggle {
1509
+ gap: 8px;
1510
+ }
1511
+ .aimd-protocol-recorder__content .aimd-check-field__toggle-btn {
1512
+ color: #475569;
1513
+ border-color: rgba(100, 116, 139, 0.2);
1514
+ background: rgba(255, 255, 255, 0.82);
1515
+ }
1516
+ .aimd-protocol-recorder__content .aimd-check-field__toggle-btn:hover:not(:disabled) {
1517
+ border-color: rgba(100, 116, 139, 0.34);
1518
+ background: rgba(255, 255, 255, 0.96);
1519
+ color: #334155;
1520
+ }
1521
+ .aimd-protocol-recorder__content .aimd-check-field__key {
1522
+ font-size: 12px;
1523
+ font-weight: 600;
1524
+ color: #4f5f77;
1525
+ }
1526
+ .aimd-protocol-recorder__content .aimd-check-field__body {
1527
+ min-width: 0;
1528
+ color: var(--rec-text);
1529
+ font-size: 14px;
1530
+ line-height: 1.65;
1531
+ transition: color 0.2s ease, opacity 0.2s ease, text-decoration-color 0.2s ease;
1532
+ }
1533
+ .aimd-protocol-recorder__content .aimd-check-field__body p {
1534
+ margin: 0;
1535
+ }
1536
+ .aimd-protocol-recorder__content .aimd-check-field__body--checked {
1537
+ color: #24563e;
1538
+ }
1539
+ .aimd-protocol-recorder__content .aimd-rec-inline--check > .aimd-rec-inline__check-wrap > .aimd-field__name,
1540
+ .aimd-protocol-recorder__content .aimd-check-field__body {
1541
+ min-width: 0;
1542
+ overflow-wrap: anywhere;
1543
+ }
1544
+ .aimd-protocol-recorder__content .aimd-check-field__banner {
1545
+ padding: 8px 10px;
1546
+ border: 1px solid rgba(22, 101, 52, 0.16);
1547
+ border-radius: 10px;
1548
+ background: rgba(236, 253, 245, 0.92);
1549
+ color: #166534;
1550
+ font-size: 13px;
1551
+ font-weight: 600;
1552
+ line-height: 1.5;
1553
+ }
1554
+ .aimd-protocol-recorder__content .aimd-check-field__details {
1555
+ display: flex;
1556
+ flex-direction: column;
1557
+ gap: 10px;
1558
+ min-width: 0;
1559
+ padding-top: 10px;
1560
+ border-top: 1px solid rgba(185, 28, 28, 0.1);
1561
+ }
1562
+ .aimd-protocol-recorder__content .aimd-rec-inline--check-passed .aimd-check-field__details {
1563
+ border-top-color: rgba(22, 101, 52, 0.12);
1564
+ }
1565
+ .aimd-protocol-recorder__content .aimd-check-field__detail--annotation {
1566
+ display: flex;
1567
+ width: 100%;
1568
+ min-width: 0;
1569
+ }
1570
+ .aimd-protocol-recorder__content .aimd-check-field__annotation-editor {
1571
+ width: 100%;
1572
+ }
1573
+ .aimd-protocol-recorder__content .aimd-rec-inline--step {
1574
+ display: flex;
1575
+ flex-direction: column;
1576
+ align-items: stretch;
1577
+ gap: 12px;
1578
+ width: 100%;
1579
+ max-width: 100%;
1580
+ margin: 16px 0;
1581
+ padding: 14px 16px 16px;
1582
+ border: 1px solid #f1d6a1;
1583
+ border-radius: 18px;
1584
+ background: #fff;
1585
+ box-shadow: none;
1586
+ color: var(--rec-text);
1587
+ box-sizing: border-box;
1588
+ }
1589
+ .aimd-protocol-recorder__content .aimd-step-field__main {
1590
+ display: flex;
1591
+ align-items: flex-start;
1592
+ justify-content: space-between;
1593
+ gap: 10px 14px;
1594
+ min-width: 0;
1595
+ }
1596
+ .aimd-protocol-recorder__content .aimd-step-field__main-meta {
1597
+ display: flex;
1598
+ flex: 1 1 auto;
1599
+ flex-wrap: wrap;
1600
+ align-items: center;
1601
+ gap: 8px;
1602
+ min-width: 0;
1603
+ }
1604
+ .aimd-protocol-recorder__content .aimd-step-field__main-actions {
1605
+ display: flex;
1606
+ flex: 0 0 auto;
1607
+ flex-wrap: wrap;
1608
+ justify-content: flex-end;
1609
+ gap: 6px;
1610
+ }
1611
+ .aimd-protocol-recorder__content .aimd-step-field__body {
1612
+ width: 100%;
1613
+ min-width: 0;
1614
+ max-width: 100%;
1615
+ color: var(--rec-text);
1616
+ font-size: 15px;
1617
+ box-sizing: border-box;
1618
+ overflow-wrap: anywhere;
1619
+ }
1620
+ .aimd-protocol-recorder__content .aimd-step-field__body .aimd-step-body {
1621
+ display: flex;
1622
+ flex-direction: column;
1623
+ gap: 8px;
1624
+ width: 100%;
1625
+ min-width: 0;
1626
+ max-width: 100%;
1627
+ box-sizing: border-box;
1628
+ }
1629
+ .aimd-protocol-recorder__content .aimd-step-field__body .aimd-step-body > * {
1630
+ min-width: 0;
1631
+ max-width: 100%;
1632
+ box-sizing: border-box;
1633
+ overflow-wrap: anywhere;
1634
+ }
1635
+ .aimd-protocol-recorder__content .aimd-step-field__body p {
1636
+ margin: 0;
1637
+ min-width: 0;
1638
+ max-width: 100%;
1639
+ overflow-wrap: anywhere;
1640
+ }
1641
+ .aimd-protocol-recorder__content .aimd-step-field__body .aimd-rec-inline--var-markdown,
1642
+ .aimd-protocol-recorder__content .aimd-step-field__body .aimd-field--var-table {
1643
+ width: 100%;
1644
+ min-width: 0;
1645
+ max-width: 100%;
1646
+ }
1647
+ .aimd-protocol-recorder__content .aimd-step-field__body .aimd-field--var-table {
1648
+ overflow-x: auto;
1649
+ }
1650
+ .aimd-protocol-recorder__content .aimd-step-field__body-actions {
1651
+ display: flex;
1652
+ justify-content: flex-end;
1653
+ min-width: 0;
1654
+ margin-top: -8px;
1655
+ }
1656
+ .aimd-protocol-recorder__content .aimd-step-field__body-action {
1657
+ opacity: 0.86;
1658
+ }
1659
+ .aimd-protocol-recorder__content .aimd-step-field__body-action:hover:not(:disabled),
1660
+ .aimd-protocol-recorder__content .aimd-step-field__body-action:focus-visible {
1661
+ opacity: 1;
1662
+ }
1663
+ .aimd-protocol-recorder__content .aimd-step-field__details {
1664
+ display: flex;
1665
+ flex-direction: column;
1666
+ gap: 10px;
1667
+ min-width: 0;
1668
+ padding-top: 12px;
1669
+ border-top: 1px solid rgba(154, 88, 0, 0.12);
1670
+ }
1671
+ .aimd-protocol-recorder__content .aimd-step-field__detail--timer {
1672
+ display: flex;
1673
+ flex-wrap: wrap;
1674
+ align-items: center;
1675
+ gap: 8px;
1676
+ min-width: 0;
1677
+ }
1678
+ .aimd-protocol-recorder__content .aimd-step-field__detail--annotation {
1679
+ display: flex;
1680
+ width: 100%;
1681
+ min-width: 0;
1682
+ }
1683
+ .aimd-protocol-recorder__content .aimd-rec-inline--quiz { display: block; margin: 12px 0; padding: 0; border: none; background: transparent; }
1684
+ .aimd-protocol-recorder__content .aimd-rec-inline--quiz.aimd-field--quiz { border-radius: 12px; border-color: #f6ddb0; background: #fffdf6; padding: 10px 12px; }
1685
+ .aimd-protocol-recorder__content .aimd-rec-inline__check-wrap {
1686
+ display: inline-flex;
1687
+ align-items: center;
1688
+ flex-wrap: wrap;
1689
+ gap: 8px;
1690
+ min-width: 0;
1691
+ }
1692
+ .aimd-protocol-recorder__content .aimd-rec-inline__step-num { font-weight: 600; color: #9a5800; }
1693
+ .aimd-protocol-recorder__content .aimd-rec-inline--step > .aimd-step-field__main .aimd-rec-inline__check-wrap > .aimd-field__name {
1694
+ font-size: 1.02rem;
1695
+ font-weight: 700;
1696
+ line-height: 1.3;
1697
+ color: #7b4300;
1698
+ overflow-wrap: anywhere;
1699
+ }
1700
+ .aimd-protocol-recorder__content .aimd-step-timer__pill {
1701
+ display: inline-flex;
1702
+ align-items: center;
1703
+ min-height: 28px;
1704
+ padding: 0 10px;
1705
+ border: 1px solid rgba(154, 88, 0, 0.18);
1706
+ border-radius: 999px;
1707
+ background: rgba(255, 255, 255, 0.82);
1708
+ color: #8a5a12;
1709
+ font-size: 12px;
1710
+ font-weight: 600;
1711
+ white-space: nowrap;
1712
+ }
1713
+ .aimd-protocol-recorder__content .aimd-step-timer__pill--estimate {
1714
+ background: rgba(255, 244, 222, 0.95);
1715
+ }
1716
+ .aimd-protocol-recorder__content .aimd-step-timer__pill--actual {
1717
+ color: #6b7280;
1718
+ border-color: rgba(107, 114, 128, 0.16);
1719
+ }
1720
+ .aimd-protocol-recorder__content .aimd-step-timer__pill--running {
1721
+ color: #14532d;
1722
+ border-color: rgba(22, 101, 52, 0.2);
1723
+ background: rgba(236, 253, 245, 0.96);
1724
+ }
1725
+ .aimd-protocol-recorder__content .aimd-step-timer__hero {
1726
+ display: inline-flex;
1727
+ align-items: center;
1728
+ min-height: 36px;
1729
+ padding: 0 14px;
1730
+ border: 1px solid rgba(154, 88, 0, 0.18);
1731
+ border-radius: 999px;
1732
+ background: rgba(255, 247, 237, 0.96);
1733
+ color: #9a5800;
1734
+ font-size: 16px;
1735
+ font-weight: 700;
1736
+ line-height: 1;
1737
+ white-space: nowrap;
1738
+ }
1739
+ .aimd-protocol-recorder__content .aimd-step-timer__hero--countdown {
1740
+ border-color: rgba(154, 88, 0, 0.18);
1741
+ background: rgba(255, 247, 237, 0.96);
1742
+ color: #9a5800;
1743
+ }
1744
+ .aimd-protocol-recorder__content .aimd-step-timer__hero--warning {
1745
+ border-color: rgba(180, 83, 9, 0.26);
1746
+ background: rgba(255, 251, 235, 0.98);
1747
+ color: #b45309;
1748
+ }
1749
+ .aimd-protocol-recorder__content .aimd-step-timer__hero--overtime {
1750
+ border-color: rgba(185, 28, 28, 0.24);
1751
+ background: rgba(254, 242, 242, 0.98);
1752
+ color: #b91c1c;
1753
+ }
1754
+ .aimd-protocol-recorder__content .aimd-step-timer__controls {
1755
+ display: inline-flex;
1756
+ flex-wrap: wrap;
1757
+ gap: 6px;
1758
+ }
1759
+ .aimd-protocol-recorder__content .aimd-step-timer__btn {
1760
+ border: 1px solid #d1d9e6;
1761
+ border-radius: 999px;
1762
+ min-height: 28px;
1763
+ padding: 0 10px;
1764
+ background: #fff;
1765
+ color: #334155;
1766
+ font-size: 12px;
1767
+ font-weight: 600;
1768
+ cursor: pointer;
1769
+ transition: border-color 0.2s, background-color 0.2s, color 0.2s;
1770
+ }
1771
+ .aimd-protocol-recorder__content .aimd-step-timer__btn:hover:not(:disabled) {
1772
+ border-color: #9db1cc;
1773
+ background: #f7faff;
1774
+ color: #1f4f8f;
1775
+ }
1776
+ .aimd-protocol-recorder__content .aimd-step-timer__btn:disabled {
1777
+ opacity: 0.45;
1778
+ cursor: not-allowed;
1779
+ }
1780
+ .aimd-protocol-recorder__content .aimd-step-timer__btn--ghost {
1781
+ background: transparent;
1782
+ }
1783
+ .aimd-protocol-recorder__content .aimd-step-field__toggle {
1784
+ min-height: 22px;
1785
+ padding: 0 8px;
1786
+ color: #8a5a12;
1787
+ border-color: rgba(154, 88, 0, 0.18);
1788
+ background: rgba(255, 255, 255, 0.82);
1789
+ font-size: 11px;
1790
+ line-height: 1;
1791
+ }
1792
+ .aimd-protocol-recorder__content .aimd-step-field__toggle:hover:not(:disabled) {
1793
+ border-color: rgba(154, 88, 0, 0.34);
1794
+ background: rgba(255, 248, 235, 0.98);
1795
+ color: #7b4300;
1796
+ }
1797
+ .aimd-protocol-recorder__content .aimd-rec-inline input[type="checkbox"],
1798
+ .aimd-protocol-recorder__content .aimd-checkbox { width: 16px; height: 16px; accent-color: var(--rec-focus); }
1799
+ .aimd-protocol-recorder__content .aimd-rec-inline--check-open .aimd-checkbox { accent-color: #dc2626; }
1800
+ .aimd-protocol-recorder__content .aimd-rec-inline--check-passed .aimd-checkbox { accent-color: #16a34a; }
1801
+ .aimd-protocol-recorder__content .aimd-rec-inline__input {
1802
+ height: 30px;
1803
+ min-width: 94px;
1804
+ padding: 0 10px;
1805
+ border: 1px solid #c8d3e1;
1806
+ border-radius: 8px;
1807
+ font-size: 13px;
1808
+ outline: none;
1809
+ background: #fff;
1810
+ color: var(--rec-text);
1811
+ transition: border-color 0.2s, box-shadow 0.2s;
1812
+ }
1813
+ .aimd-protocol-recorder__content .aimd-rec-inline__input::placeholder { color: #98a2b3; }
1814
+ .aimd-protocol-recorder__content .aimd-rec-inline__input:focus { border-color: var(--rec-focus); box-shadow: 0 0 0 2px rgba(47, 111, 237, 0.12); }
1815
+ .aimd-protocol-recorder__content .aimd-rec-inline--var .aimd-rec-inline__input { width: clamp(120px, 28vw, 280px); }
1816
+ .aimd-protocol-recorder__content .aimd-step-field__annotation-editor {
1817
+ width: 100%;
1818
+ min-width: 0;
1819
+ }
1820
+
1821
+ @media (max-width: 640px) {
1822
+ .aimd-protocol-recorder__content .aimd-step-field__details {
1823
+ padding-top: 10px;
1824
+ }
1825
+ .aimd-protocol-recorder__content .aimd-step-field__main {
1826
+ flex-direction: column;
1827
+ }
1828
+ .aimd-protocol-recorder__content .aimd-step-field__main-actions {
1829
+ justify-content: flex-start;
1830
+ }
1831
+ .aimd-protocol-recorder__content .aimd-rec-inline--check {
1832
+ gap: 10px;
1833
+ }
1834
+ }
1835
+ .aimd-protocol-recorder__content .aimd-rec-inline__input.aimd-rec-inline__input--stacked,
1836
+ .aimd-protocol-recorder__content .aimd-rec-inline__textarea.aimd-rec-inline__textarea--stacked {
1837
+ border: 0 none;
1838
+ border-top: 1px solid var(--aimd-border-color, #90caf9);
1839
+ border-radius: 0 0 6px 6px;
1840
+ box-shadow: none;
1841
+ font-family: inherit;
1842
+ outline: none;
1843
+ }
1844
+ .aimd-protocol-recorder__content .aimd-rec-inline--var-stacked .aimd-rec-inline__value-control {
1845
+ font: inherit;
1846
+ font-size: var(--rec-var-value-font-size);
1847
+ font-weight: 400;
1848
+ color: var(--rec-text);
1849
+ letter-spacing: 0;
1850
+ }
1851
+ .aimd-protocol-recorder__content .aimd-rec-inline__value-control::-webkit-datetime-edit,
1852
+ .aimd-protocol-recorder__content .aimd-rec-inline__value-control::-webkit-datetime-edit-fields-wrapper,
1853
+ .aimd-protocol-recorder__content .aimd-rec-inline__value-control::-webkit-datetime-edit-text,
1854
+ .aimd-protocol-recorder__content .aimd-rec-inline__value-control::-webkit-datetime-edit-year-field,
1855
+ .aimd-protocol-recorder__content .aimd-rec-inline__value-control::-webkit-datetime-edit-month-field,
1856
+ .aimd-protocol-recorder__content .aimd-rec-inline__value-control::-webkit-datetime-edit-day-field,
1857
+ .aimd-protocol-recorder__content .aimd-rec-inline__value-control::-webkit-datetime-edit-hour-field,
1858
+ .aimd-protocol-recorder__content .aimd-rec-inline__value-control::-webkit-datetime-edit-minute-field,
1859
+ .aimd-protocol-recorder__content .aimd-rec-inline__value-control::-webkit-datetime-edit-second-field,
1860
+ .aimd-protocol-recorder__content .aimd-rec-inline__value-control::-webkit-datetime-edit-ampm-field {
1861
+ font: inherit;
1862
+ line-height: inherit;
1863
+ }
1864
+ .aimd-protocol-recorder__content .aimd-rec-inline__control-row .aimd-rec-inline__input.aimd-rec-inline__input--stacked,
1865
+ .aimd-protocol-recorder__content .aimd-rec-inline__control-row .aimd-rec-inline__textarea.aimd-rec-inline__textarea--stacked {
1866
+ border: 0 none;
1867
+ border-radius: 0;
1868
+ box-shadow: none;
1869
+ }
1870
+ .aimd-protocol-recorder__content .aimd-rec-inline__control-row .aimd-rec-inline__input.aimd-rec-inline__input--stacked:focus,
1871
+ .aimd-protocol-recorder__content .aimd-rec-inline__control-row .aimd-rec-inline__textarea.aimd-rec-inline__textarea--stacked:focus {
1872
+ border: 0 none;
1873
+ box-shadow: none;
1874
+ outline: none;
1875
+ }
1876
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__table td {
1877
+ vertical-align: middle;
1878
+ transition:
1879
+ background-color 0.2s ease,
1880
+ box-shadow 0.24s cubic-bezier(0.22, 1, 0.36, 1),
1881
+ transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
1882
+ opacity 0.2s ease;
1883
+ }
1884
+
1885
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__table th {
1886
+ vertical-align: middle;
1887
+ padding-top: 8px;
1888
+ padding-bottom: 8px;
1889
+ }
1890
+
1891
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__table {
1892
+ width: max-content;
1893
+ min-width: 100%;
1894
+ table-layout: auto;
1895
+ }
1896
+
1897
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__table col {
1898
+ transition: width 0.18s ease;
1899
+ }
1900
+
1901
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__column-head {
1902
+ color: #64748b;
1903
+ font-size: 11px;
1904
+ font-weight: 700;
1905
+ letter-spacing: 0;
1906
+ text-transform: none;
1907
+ white-space: nowrap;
1908
+ padding-left: 6px;
1909
+ padding-right: 6px;
1910
+ }
1911
+
1912
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__column-label {
1913
+ display: inline-flex;
1914
+ flex-direction: column;
1915
+ align-items: flex-start;
1916
+ gap: 2px;
1917
+ max-width: 100%;
1918
+ line-height: 1.25;
1919
+ white-space: normal;
1920
+ }
1921
+
1922
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__column-label .aimd-field__title {
1923
+ font-weight: 700;
1924
+ color: #475569;
1925
+ }
1926
+
1927
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__column-head--compact {
1928
+ text-align: center;
1929
+ }
1930
+
1931
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__column-head--wide {
1932
+ letter-spacing: 0.06em;
1933
+ }
1934
+
1935
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__drag-col {
1936
+ width: 58px;
1937
+ }
1938
+
1939
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__action-col {
1940
+ width: 56px;
1941
+ }
1942
+
1943
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__drag-head,
1944
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__drag-cell {
1945
+ width: 50px;
1946
+ text-align: center;
1947
+ vertical-align: middle;
1948
+ padding-left: 0;
1949
+ padding-right: 0;
1950
+ }
1951
+
1952
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__row-head-label {
1953
+ color: #94a3b8;
1954
+ font-size: 11px;
1955
+ font-weight: 700;
1956
+ }
1957
+
1958
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__action-head,
1959
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__action-cell {
1960
+ width: 40px;
1961
+ text-align: center;
1962
+ padding-left: 0;
1963
+ padding-right: 0;
1964
+ }
1965
+
1966
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__row--alt .aimd-rec-inline-table__value-cell {
1967
+ background: rgba(248, 250, 252, 0.2);
1968
+ }
1969
+
1970
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__value-cell {
1971
+ position: relative;
1972
+ min-width: 0;
1973
+ padding-top: 6px;
1974
+ padding-bottom: 6px;
1975
+ padding-left: 6px;
1976
+ padding-right: 6px;
1977
+ transition: background-color 0.18s ease, box-shadow 0.18s ease;
1978
+ }
1979
+
1980
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__value-cell--compact {
1981
+ text-align: center;
1982
+ }
1983
+
1984
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__value-cell:hover {
1985
+ background: rgba(248, 250, 252, 0.58);
1986
+ box-shadow: inset 0 0 0 1px rgba(203, 213, 225, 0.26);
1987
+ }
1988
+
1989
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__value-cell:focus-within {
1990
+ background: rgba(239, 246, 255, 0.96);
1991
+ box-shadow: inset 0 0 0 1px rgba(47, 111, 237, 0.14);
1992
+ }
1993
+
1994
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__table--dragging {
1995
+ cursor: grabbing;
1996
+ }
1997
+
1998
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__row--dragging-source td {
1999
+ opacity: 0.5;
2000
+ transform: scale(0.985);
2001
+ }
2002
+
2003
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__row--drag-over td {
2004
+ background: linear-gradient(180deg, #f5f9ff 0%, #edf4ff 100%);
2005
+ box-shadow:
2006
+ inset 0 0 0 1px rgba(47, 111, 237, 0.18),
2007
+ 0 10px 24px rgba(47, 111, 237, 0.08);
2008
+ transform: translateY(-2px);
2009
+ }
2010
+
2011
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__row--settling td {
2012
+ animation: aimd-rec-inline-table-row-settle 0.48s cubic-bezier(0.22, 1, 0.36, 1);
2013
+ }
2014
+
2015
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__actions {
2016
+ display: flex;
2017
+ justify-content: flex-start;
2018
+ margin-top: 12px;
2019
+ }
2020
+
2021
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__add-btn {
2022
+ border: 1px solid #c8d3e1;
2023
+ border-radius: 999px;
2024
+ padding: 6px 12px;
2025
+ background: #fff;
2026
+ color: #334155;
2027
+ font-size: 12px;
2028
+ cursor: pointer;
2029
+ transition: border-color 0.2s, background-color 0.2s, color 0.2s;
2030
+ }
2031
+
2032
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__add-btn:hover {
2033
+ border-color: #9db1cc;
2034
+ background: #f7faff;
2035
+ color: #1f4f8f;
2036
+ }
2037
+
2038
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__add-btn:disabled {
2039
+ opacity: 0.5;
2040
+ cursor: not-allowed;
2041
+ }
2042
+
2043
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__icon-btn {
2044
+ display: inline-flex;
2045
+ align-items: center;
2046
+ justify-content: center;
2047
+ width: 24px;
2048
+ height: 24px;
2049
+ border: 0;
2050
+ border-radius: 999px;
2051
+ background: transparent;
2052
+ color: #b0bccb;
2053
+ cursor: pointer;
2054
+ opacity: 0.08;
2055
+ transition:
2056
+ opacity 0.18s ease,
2057
+ color 0.18s ease,
2058
+ background-color 0.18s ease,
2059
+ transform 0.18s ease;
2060
+ }
2061
+
2062
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__row:hover .aimd-rec-inline-table__icon-btn,
2063
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__icon-btn:focus-visible {
2064
+ opacity: 1;
2065
+ }
2066
+
2067
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__icon-btn:hover:not(:disabled) {
2068
+ background: rgba(239, 68, 68, 0.08);
2069
+ color: #dc2626;
2070
+ transform: translateY(-1px);
2071
+ }
2072
+
2073
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__icon-btn svg {
2074
+ width: 14px;
2075
+ height: 14px;
2076
+ }
2077
+
2078
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__icon-btn:disabled {
2079
+ opacity: 0.36;
2080
+ cursor: not-allowed;
2081
+ }
2082
+
2083
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__icon-btn--visible {
2084
+ opacity: 1;
2085
+ }
2086
+
2087
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__drag-handle {
2088
+ display: inline-grid;
2089
+ grid-template-columns: repeat(2, 3px);
2090
+ grid-auto-rows: 3px;
2091
+ gap: 3px 3px;
2092
+ padding: 4px 6px;
2093
+ align-items: center;
2094
+ justify-content: center;
2095
+ vertical-align: middle;
2096
+ border-radius: 999px;
2097
+ color: #bcc6d3;
2098
+ cursor: grab;
2099
+ user-select: none;
2100
+ opacity: 0.35;
2101
+ transition: background-color 0.2s, color 0.2s, opacity 0.2s, transform 0.2s ease;
2102
+ }
2103
+
2104
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__drag-dot {
2105
+ width: 3px;
2106
+ height: 3px;
2107
+ border-radius: 999px;
2108
+ background: currentColor;
2109
+ opacity: 0.82;
2110
+ transition: transform 0.2s ease, opacity 0.2s ease;
2111
+ }
2112
+
2113
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__drag-handle:hover {
2114
+ background: rgba(148, 163, 184, 0.12);
2115
+ color: #7c8ea5;
2116
+ opacity: 1;
2117
+ transform: translateY(-1px);
2118
+ }
2119
+
2120
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__row:hover .aimd-rec-inline-table__drag-handle,
2121
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__drag-handle:focus-visible {
2122
+ opacity: 0.92;
2123
+ }
2124
+
2125
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__drag-handle:hover .aimd-rec-inline-table__drag-dot {
2126
+ opacity: 1;
2127
+ transform: scale(1.08);
2128
+ }
2129
+
2130
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__drag-handle--disabled {
2131
+ opacity: 0.45;
2132
+ cursor: not-allowed;
2133
+ }
2134
+
2135
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__drag-handle--disabled:hover {
2136
+ background: transparent;
2137
+ color: #b6c2d1;
2138
+ transform: none;
2139
+ }
2140
+
2141
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__drag-handle--dragging,
2142
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__drag-handle:active {
2143
+ cursor: grabbing;
2144
+ color: #5d7699;
2145
+ transform: scale(0.96);
2146
+ }
2147
+
2148
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__drag-handle--dragging .aimd-rec-inline-table__drag-dot,
2149
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__drag-handle:active .aimd-rec-inline-table__drag-dot {
2150
+ transform: scale(0.92);
2151
+ }
2152
+
2153
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__row-control,
2154
+ .aimd-protocol-recorder__content .aimd-rec-card__row-meta {
2155
+ display: inline-flex;
2156
+ align-items: center;
2157
+ gap: 5px;
2158
+ min-width: 0;
2159
+ }
2160
+
2161
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__row-number {
2162
+ display: inline-flex;
2163
+ align-items: center;
2164
+ justify-content: center;
2165
+ min-width: 16px;
2166
+ height: 16px;
2167
+ padding: 0 2px;
2168
+ border-radius: 0;
2169
+ background: transparent;
2170
+ color: #94a3b8;
2171
+ font-size: 11px;
2172
+ font-style: normal;
2173
+ font-weight: 600;
2174
+ line-height: 1;
2175
+ font-variant-numeric: tabular-nums;
2176
+ box-sizing: border-box;
2177
+ }
2178
+
2179
+ .aimd-protocol-recorder__content .aimd-rec-table-cell-input {
2180
+ width: 100%;
2181
+ height: 34px;
2182
+ padding: 0 6px;
2183
+ border: 0;
2184
+ border-radius: 0;
2185
+ font-size: 13px;
2186
+ font-style: normal;
2187
+ line-height: 1.35;
2188
+ outline: none;
2189
+ box-sizing: border-box;
2190
+ color: var(--rec-text);
2191
+ background: transparent;
2192
+ box-shadow: none;
2193
+ min-width: 8ch;
2194
+ }
2195
+
2196
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__value-cell--compact .aimd-rec-table-cell-input {
2197
+ min-width: 6ch;
2198
+ text-align: center;
2199
+ font-variant-numeric: tabular-nums;
2200
+ letter-spacing: 0.01em;
2201
+ }
2202
+
2203
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__value-cell--wide .aimd-rec-table-cell-input {
2204
+ min-width: 14ch;
2205
+ padding-left: 6px;
2206
+ padding-right: 6px;
2207
+ }
2208
+
2209
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__drag-head,
2210
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__action-head {
2211
+ color: transparent;
2212
+ }
2213
+
2214
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__row:hover .aimd-rec-inline-table__drag-cell,
2215
+ .aimd-protocol-recorder__content .aimd-rec-inline-table__row:hover .aimd-rec-inline-table__action-cell {
2216
+ background: transparent;
2217
+ box-shadow: none;
2218
+ }
2219
+
2220
+ .aimd-protocol-recorder__content .aimd-rec-table-cell-input--compact {
2221
+ font-variant-numeric: tabular-nums;
2222
+ }
2223
+
2224
+ .aimd-protocol-recorder__content .aimd-rec-table-cell-input--wide {
2225
+ line-height: 1.42;
2226
+ }
2227
+
2228
+ .aimd-protocol-recorder__content .aimd-rec-table-cell-input:focus {
2229
+ box-shadow: none;
2230
+ }
2231
+
2232
+ .aimd-protocol-recorder__content .aimd-rec-table-cell-input::placeholder {
2233
+ color: #94a3b8;
2234
+ }
2235
+
2236
+ .aimd-protocol-recorder__content .aimd-rec-card-list {
2237
+ display: grid;
2238
+ gap: 8px;
2239
+ }
2240
+
2241
+ .aimd-protocol-recorder__content .aimd-rec-card {
2242
+ position: relative;
2243
+ padding: 7px 10px 9px;
2244
+ border: 1px solid #dbe4ec;
2245
+ border-radius: 10px;
2246
+ background: rgba(255, 255, 255, 0.94);
2247
+ box-shadow: 0 4px 14px rgba(15, 23, 42, 0.035);
2248
+ }
2249
+
2250
+ .aimd-protocol-recorder__content .aimd-rec-card__toolbar {
2251
+ display: flex;
2252
+ align-items: center;
2253
+ justify-content: space-between;
2254
+ gap: 6px;
2255
+ min-height: 20px;
2256
+ margin-bottom: -2px;
2257
+ }
2258
+
2259
+ .aimd-protocol-recorder__content .aimd-rec-card__field {
2260
+ display: grid;
2261
+ gap: 3px;
2262
+ min-width: 0;
2263
+ padding-top: 6px;
2264
+ margin-top: 6px;
2265
+ border-top: 1px solid #eef2f7;
2266
+ }
2267
+
2268
+ .aimd-protocol-recorder__content .aimd-rec-card__field--title {
2269
+ margin-top: 0;
2270
+ padding-top: 4px;
2271
+ border-top: 0;
2272
+ }
2273
+
2274
+ .aimd-protocol-recorder__content .aimd-rec-card__body {
2275
+ display: grid;
2276
+ gap: 0;
2277
+ }
2278
+
2279
+ .aimd-protocol-recorder__content .aimd-rec-card__label {
2280
+ display: inline-flex;
2281
+ flex-direction: column;
2282
+ align-items: flex-start;
2283
+ gap: 1px;
2284
+ color: #64748b;
2285
+ font-size: 11px;
2286
+ font-weight: 700;
2287
+ letter-spacing: 0;
2288
+ line-height: 1.15;
2289
+ text-transform: none;
2290
+ }
2291
+
2292
+ .aimd-protocol-recorder__content .aimd-rec-card__input {
2293
+ width: 100%;
2294
+ height: 30px;
2295
+ padding: 0 8px;
2296
+ border: 1px solid #d7e0ea;
2297
+ border-radius: 8px;
2298
+ background: #f8fafc;
2299
+ color: var(--rec-text);
2300
+ font-size: 13px;
2301
+ outline: none;
2302
+ box-sizing: border-box;
2303
+ transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
2304
+ }
2305
+
2306
+ .aimd-protocol-recorder__content .aimd-rec-card__input:hover {
2307
+ background: #ffffff;
2308
+ }
2309
+
2310
+ .aimd-protocol-recorder__content .aimd-rec-card__input:focus {
2311
+ border-color: var(--rec-focus);
2312
+ box-shadow: 0 0 0 2px rgba(47, 111, 237, 0.1);
2313
+ background: #ffffff;
2314
+ }
2315
+
2316
+ .aimd-protocol-recorder__content .aimd-rec-card__input::placeholder {
2317
+ color: #94a3b8;
2318
+ }
2319
+
2320
+ .aimd-protocol-recorder__content .aimd-rec-card__input--error {
2321
+ border-color: var(--rec-error);
2322
+ }
2323
+
2324
+ .aimd-protocol-recorder__content .aimd-rec-card .aimd-rec-inline-table__drag-handle {
2325
+ grid-template-columns: repeat(2, 2.5px);
2326
+ grid-auto-rows: 2.5px;
2327
+ gap: 2px;
2328
+ padding: 3px 5px;
2329
+ }
2330
+
2331
+ .aimd-protocol-recorder__content .aimd-rec-card .aimd-rec-inline-table__row-number {
2332
+ min-width: 18px;
2333
+ height: 18px;
2334
+ color: #8aa193;
2335
+ }
2336
+
2337
+ .aimd-protocol-recorder__content .aimd-rec-card .aimd-rec-inline-table__drag-dot {
2338
+ width: 2.5px;
2339
+ height: 2.5px;
2340
+ }
2341
+
2342
+ .aimd-protocol-recorder__content .aimd-rec-card .aimd-rec-inline-table__icon-btn {
2343
+ width: 20px;
2344
+ height: 20px;
2345
+ }
2346
+
2347
+ .aimd-protocol-recorder__content .aimd-rec-card .aimd-rec-inline-table__icon-btn svg {
2348
+ width: 12px;
2349
+ height: 12px;
2350
+ }
2351
+
2352
+ @keyframes aimd-rec-inline-table-row-settle {
2353
+ 0% {
2354
+ background-color: #deebff;
2355
+ box-shadow:
2356
+ inset 0 0 0 1px rgba(47, 111, 237, 0.22),
2357
+ 0 14px 28px rgba(47, 111, 237, 0.14);
2358
+ transform: translateY(8px) scale(0.985);
2359
+ }
2360
+
2361
+ 60% {
2362
+ background-color: #edf4ff;
2363
+ box-shadow:
2364
+ inset 0 0 0 1px rgba(47, 111, 237, 0.12),
2365
+ 0 8px 18px rgba(47, 111, 237, 0.08);
2366
+ transform: translateY(-1px) scale(1);
2367
+ }
2368
+
2369
+ 100% {
2370
+ background-color: transparent;
2371
+ box-shadow: none;
2372
+ transform: none;
2373
+ }
2374
+ }