@chatterfly/widget 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css ADDED
@@ -0,0 +1,2840 @@
1
+ /* src/styles/widget.module.css */
2
+ :root {
3
+ --cf-primary: var(--cf-color-core-500, #5B4AE4);
4
+ --cf-accent: var(--cf-color-signal-500, #F28B30);
5
+ --cf-info: var(--cf-color-flux-500, #3A8FD6);
6
+ --cf-bg: var(--cf-color-white, #ffffff);
7
+ --cf-fg: var(--cf-color-ink-950, #0C1B3A);
8
+ --cf-muted: var(--cf-color-ink-800, #1E3A5E);
9
+ --cf-border: var(--cf-color-cloud-100, #E8EDF6);
10
+ --cf-surface: var(--cf-color-mist-50, #F4F6FC);
11
+ --cf-error: var(--cf-color-pulse-500, #E04848);
12
+ --cf-radius: 10px;
13
+ --cf-font:
14
+ "IBM Plex Sans",
15
+ "Segoe UI",
16
+ system-ui,
17
+ sans-serif;
18
+ --cf-height: 480px;
19
+ }
20
+ .widget_widget {
21
+ font-family: var(--cf-font);
22
+ font-size: 14px;
23
+ color: var(--cf-fg);
24
+ background: var(--cf-bg);
25
+ border: 1px solid var(--cf-border);
26
+ border-radius: var(--cf-radius);
27
+ overflow: hidden;
28
+ display: flex;
29
+ flex-direction: column;
30
+ height: var(--cf-height, 480px);
31
+ }
32
+ .widget_statusWrapper {
33
+ display: flex;
34
+ flex-direction: column;
35
+ align-items: center;
36
+ justify-content: center;
37
+ gap: 0.75rem;
38
+ padding: 2rem 1.5rem;
39
+ text-align: center;
40
+ }
41
+ .widget_statusLabel {
42
+ font-size: 13px;
43
+ color: var(--cf-muted);
44
+ }
45
+ .widget_statusTitle {
46
+ font-size: 15px;
47
+ font-weight: 600;
48
+ }
49
+ .widget_statusError {
50
+ color: var(--cf-error);
51
+ }
52
+ .widget_progressBar {
53
+ width: 100%;
54
+ height: 3px;
55
+ background: var(--cf-border);
56
+ border-radius: 9999px;
57
+ overflow: hidden;
58
+ }
59
+ .widget_progressBarFill {
60
+ height: 100%;
61
+ background: var(--cf-primary);
62
+ border-radius: 9999px;
63
+ animation: widget_cfProgress 1.6s ease-in-out infinite;
64
+ width: 40%;
65
+ }
66
+ @keyframes widget_cfProgress {
67
+ 0% {
68
+ transform: translateX(-100%);
69
+ }
70
+ 100% {
71
+ transform: translateX(350%);
72
+ }
73
+ }
74
+ .widget_spinner {
75
+ width: 20px;
76
+ height: 20px;
77
+ border: 2px solid var(--cf-border);
78
+ border-top-color: var(--cf-primary);
79
+ border-radius: 50%;
80
+ animation: widget_cfSpin 0.7s linear infinite;
81
+ }
82
+ @keyframes widget_cfSpin {
83
+ to {
84
+ transform: rotate(360deg);
85
+ }
86
+ }
87
+ .widget_prompt {
88
+ font-size: 14px;
89
+ font-weight: 500;
90
+ margin-bottom: 0.5rem;
91
+ color: var(--cf-fg);
92
+ }
93
+ .widget_fieldGroup {
94
+ padding: 1.25rem 1.5rem;
95
+ display: flex;
96
+ flex-direction: column;
97
+ gap: 0.5rem;
98
+ }
99
+ .widget_fieldError {
100
+ font-size: 12px;
101
+ color: var(--cf-error);
102
+ margin-top: 0.25rem;
103
+ }
104
+ .widget_input,
105
+ .widget_textarea,
106
+ .widget_select {
107
+ width: 100%;
108
+ box-sizing: border-box;
109
+ padding: 0.5rem 0.75rem;
110
+ border: 1px solid var(--cf-border);
111
+ border-radius: var(--cf-radius);
112
+ font-family: var(--cf-font);
113
+ font-size: 14px;
114
+ color: var(--cf-fg);
115
+ background: var(--cf-bg);
116
+ outline: none;
117
+ transition: border-color 0.15s;
118
+ }
119
+ .widget_input:focus,
120
+ .widget_textarea:focus,
121
+ .widget_select:focus {
122
+ border-color: var(--cf-primary);
123
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--cf-primary) 15%, transparent);
124
+ }
125
+ .widget_input::placeholder,
126
+ .widget_textarea::placeholder,
127
+ .widget_select::placeholder {
128
+ color: var(--cf-muted);
129
+ opacity: 0.45;
130
+ }
131
+ .widget_input:disabled,
132
+ .widget_textarea:disabled,
133
+ .widget_select:disabled {
134
+ opacity: 0.5;
135
+ cursor: not-allowed;
136
+ }
137
+ .widget_textarea {
138
+ resize: vertical;
139
+ min-height: 80px;
140
+ }
141
+ .widget_checkboxLabel {
142
+ display: flex;
143
+ align-items: center;
144
+ gap: 0.5rem;
145
+ cursor: pointer;
146
+ font-size: 14px;
147
+ }
148
+ .widget_checkbox {
149
+ width: 16px;
150
+ height: 16px;
151
+ accent-color: var(--cf-primary);
152
+ cursor: pointer;
153
+ }
154
+ .widget_buttonGroup {
155
+ display: flex;
156
+ flex-wrap: wrap;
157
+ gap: 0.5rem;
158
+ }
159
+ .widget_optionButton {
160
+ padding: 0.375rem 0.875rem;
161
+ border: 1px solid var(--cf-border);
162
+ border-radius: var(--cf-radius);
163
+ font-family: var(--cf-font);
164
+ font-size: 13px;
165
+ cursor: pointer;
166
+ background: var(--cf-bg);
167
+ color: var(--cf-fg);
168
+ transition:
169
+ background 0.12s,
170
+ border-color 0.12s,
171
+ color 0.12s;
172
+ }
173
+ .widget_optionButton:hover:not(:disabled) {
174
+ border-color: var(--cf-primary);
175
+ background: color-mix(in srgb, var(--cf-primary) 8%, transparent);
176
+ }
177
+ .widget_optionButton.widget_selected {
178
+ background: var(--cf-primary);
179
+ border-color: var(--cf-primary);
180
+ color: #fff;
181
+ }
182
+ .widget_optionButton:disabled {
183
+ opacity: 0.5;
184
+ cursor: not-allowed;
185
+ }
186
+ .widget_optionButtonSingle::before {
187
+ content: "\25cb";
188
+ font-size: 9px;
189
+ line-height: 1;
190
+ margin-right: 5px;
191
+ vertical-align: middle;
192
+ opacity: 0.7;
193
+ }
194
+ .widget_optionButtonSingle.widget_selected::before {
195
+ content: "\25cf";
196
+ opacity: 1;
197
+ }
198
+ .widget_optionButtonMulti::before {
199
+ content: "\25a1";
200
+ font-size: 11px;
201
+ line-height: 1;
202
+ margin-right: 5px;
203
+ vertical-align: middle;
204
+ opacity: 0.7;
205
+ }
206
+ .widget_optionButtonMulti.widget_selected::before {
207
+ content: "\2713";
208
+ opacity: 1;
209
+ font-size: 11px;
210
+ }
211
+ .widget_ratingContainer {
212
+ display: flex;
213
+ flex-direction: column;
214
+ align-items: flex-start;
215
+ }
216
+ .widget_ratingGroup {
217
+ display: flex;
218
+ gap: 0.375rem;
219
+ }
220
+ .widget_ratingButton {
221
+ width: 2.25rem;
222
+ height: 2.25rem;
223
+ border: 1px solid var(--cf-border);
224
+ border-radius: var(--cf-radius);
225
+ font-family: var(--cf-font);
226
+ font-size: 18px;
227
+ font-weight: 600;
228
+ cursor: pointer;
229
+ background: var(--cf-bg);
230
+ color: var(--cf-muted);
231
+ display: flex;
232
+ align-items: center;
233
+ justify-content: center;
234
+ transition:
235
+ background 0.12s,
236
+ border-color 0.12s,
237
+ color 0.12s;
238
+ }
239
+ .widget_ratingButton:hover:not(:disabled) {
240
+ border-color: var(--cf-accent);
241
+ }
242
+ .widget_ratingButton.widget_ratingSelected {
243
+ background: var(--cf-accent);
244
+ border-color: var(--cf-accent);
245
+ color: #fff;
246
+ }
247
+ .widget_ratingButton:disabled {
248
+ opacity: 0.5;
249
+ cursor: not-allowed;
250
+ }
251
+ .widget_ratingLabel {
252
+ margin-top: 0.5rem;
253
+ font-size: 13px;
254
+ color: var(--cf-fg);
255
+ text-align: center;
256
+ }
257
+ .widget_fileInput {
258
+ font-family: var(--cf-font);
259
+ font-size: 13px;
260
+ color: var(--cf-fg);
261
+ }
262
+ .widget_fileUploadDone {
263
+ display: flex;
264
+ align-items: center;
265
+ gap: 0.5rem;
266
+ padding: 0.5rem 0.75rem;
267
+ background: var(--cf-surface, #f5f5f5);
268
+ border-radius: var(--cf-radius);
269
+ font-size: 13px;
270
+ }
271
+ .widget_fileUploadFilename {
272
+ font-weight: 500;
273
+ overflow: hidden;
274
+ text-overflow: ellipsis;
275
+ white-space: nowrap;
276
+ }
277
+ .widget_fileUploadSize {
278
+ color: var(--cf-muted, #888);
279
+ font-size: 12px;
280
+ flex-shrink: 0;
281
+ }
282
+ .widget_fileUploadRemove {
283
+ background: none;
284
+ border: none;
285
+ cursor: pointer;
286
+ color: var(--cf-muted, #888);
287
+ font-size: 14px;
288
+ padding: 0 0.25rem;
289
+ margin-left: auto;
290
+ }
291
+ .widget_fileUploadRemove:hover {
292
+ color: var(--cf-fg);
293
+ }
294
+ .widget_fileUploadProgress {
295
+ font-size: 12px;
296
+ color: var(--cf-primary, #6366f1);
297
+ margin-top: 0.25rem;
298
+ }
299
+ .widget_fileUploadError {
300
+ font-size: 12px;
301
+ color: var(--cf-error, #ef4444);
302
+ margin-top: 0.25rem;
303
+ }
304
+ .widget_recordContainer {
305
+ display: flex;
306
+ flex-direction: column;
307
+ gap: 1rem;
308
+ }
309
+ .widget_recordButton {
310
+ padding: 0.75rem 1.25rem;
311
+ background: var(--cf-primary);
312
+ color: #fff;
313
+ border: none;
314
+ border-radius: var(--cf-radius);
315
+ font-family: var(--cf-font);
316
+ font-size: 14px;
317
+ font-weight: 600;
318
+ cursor: pointer;
319
+ transition: background-color 0.15s, opacity 0.15s;
320
+ }
321
+ .widget_recordButton:hover:not(:disabled) {
322
+ opacity: 0.88;
323
+ }
324
+ .widget_recordButton:disabled {
325
+ opacity: 0.5;
326
+ cursor: not-allowed;
327
+ }
328
+ .widget_recordButtonActive {
329
+ background: var(--cf-error);
330
+ animation: widget_pulse 1s infinite;
331
+ }
332
+ .widget_recordButtonSecondary {
333
+ background: var(--cf-info);
334
+ }
335
+ .widget_recordButtonSecondary:hover:not(:disabled) {
336
+ opacity: 0.88;
337
+ }
338
+ .widget_recordPreview {
339
+ border: 1px solid var(--cf-border);
340
+ border-radius: var(--cf-radius);
341
+ padding: 1rem;
342
+ background: var(--cf-surface);
343
+ max-height: 400px;
344
+ overflow: auto;
345
+ }
346
+ .widget_previewImage {
347
+ max-width: 100%;
348
+ max-height: 350px;
349
+ border-radius: 8px;
350
+ display: block;
351
+ margin: 0 auto;
352
+ }
353
+ .widget_previewMedia {
354
+ display: flex;
355
+ justify-content: center;
356
+ }
357
+ .widget_audioPreview {
358
+ width: 100%;
359
+ }
360
+ .widget_videoPreview {
361
+ max-width: 100%;
362
+ max-height: 350px;
363
+ border-radius: 8px;
364
+ }
365
+ .widget_recordControls {
366
+ display: flex;
367
+ gap: 0.75rem;
368
+ justify-content: space-between;
369
+ }
370
+ .widget_recordControls button {
371
+ flex: 1;
372
+ }
373
+ .widget_uploadProgress {
374
+ display: flex;
375
+ align-items: center;
376
+ gap: 0.75rem;
377
+ }
378
+ .widget_progressBar {
379
+ flex: 1;
380
+ height: 6px;
381
+ background: var(--cf-surface);
382
+ border-radius: 3px;
383
+ overflow: hidden;
384
+ }
385
+ .widget_progressFill {
386
+ height: 100%;
387
+ background:
388
+ linear-gradient(
389
+ 90deg,
390
+ var(--cf-primary),
391
+ var(--cf-info));
392
+ transition: width 0.1s;
393
+ }
394
+ .widget_progressText {
395
+ font-size: 12px;
396
+ font-weight: 600;
397
+ color: var(--cf-muted);
398
+ min-width: 40px;
399
+ }
400
+ .widget_uploadError {
401
+ font-size: 12px;
402
+ color: var(--cf-error);
403
+ padding: 0.5rem 0.75rem;
404
+ background: rgba(224, 72, 72, 0.1);
405
+ border-radius: 6px;
406
+ border-left: 3px solid var(--cf-error);
407
+ }
408
+ .widget_uploadWarning {
409
+ font-size: 12px;
410
+ color: #f97316;
411
+ padding: 0.5rem 0.75rem;
412
+ background: rgba(249, 115, 22, 0.1);
413
+ border-radius: 6px;
414
+ border-left: 3px solid #f97316;
415
+ }
416
+ .widget_recordSuccess {
417
+ font-size: 14px;
418
+ font-weight: 600;
419
+ color: var(--cf-info);
420
+ padding: 0.75rem 1rem;
421
+ background: rgba(58, 143, 214, 0.1);
422
+ border-radius: 6px;
423
+ border-left: 3px solid var(--cf-info);
424
+ }
425
+ @keyframes widget_pulse {
426
+ 0%, 100% {
427
+ opacity: 1;
428
+ }
429
+ 50% {
430
+ opacity: 0.8;
431
+ }
432
+ }
433
+ .widget_formActions {
434
+ display: flex;
435
+ justify-content: flex-end;
436
+ padding-top: 0.5rem;
437
+ }
438
+ .widget_submitButton {
439
+ padding: 0.5rem 1.25rem;
440
+ background: var(--cf-primary);
441
+ color: #fff;
442
+ border: none;
443
+ border-radius: var(--cf-radius);
444
+ font-family: var(--cf-font);
445
+ font-size: 14px;
446
+ font-weight: 600;
447
+ cursor: pointer;
448
+ transition: opacity 0.15s;
449
+ align-self: flex-end;
450
+ }
451
+ .widget_submitButton:hover:not(:disabled) {
452
+ opacity: 0.88;
453
+ }
454
+ .widget_submitButton:disabled {
455
+ opacity: 0.5;
456
+ cursor: not-allowed;
457
+ }
458
+ .widget_form {
459
+ padding: 1.25rem 1.5rem;
460
+ display: flex;
461
+ flex-direction: column;
462
+ gap: 1rem;
463
+ }
464
+ .widget_formField {
465
+ display: flex;
466
+ flex-direction: column;
467
+ gap: 0.375rem;
468
+ }
469
+ .widget_formActions {
470
+ display: flex;
471
+ justify-content: flex-end;
472
+ padding-top: 0.25rem;
473
+ }
474
+ .widget_repeaterRows {
475
+ display: flex;
476
+ flex-direction: column;
477
+ gap: 1rem;
478
+ }
479
+ .widget_repeaterRow {
480
+ border: 1px solid var(--cf-border);
481
+ border-radius: var(--cf-radius);
482
+ padding: 1rem;
483
+ position: relative;
484
+ display: flex;
485
+ flex-direction: column;
486
+ gap: 0.75rem;
487
+ }
488
+ .widget_repeaterRowHeader {
489
+ display: flex;
490
+ justify-content: space-between;
491
+ align-items: center;
492
+ font-size: 12px;
493
+ font-weight: 600;
494
+ color: var(--cf-muted);
495
+ text-transform: uppercase;
496
+ letter-spacing: 0.05em;
497
+ }
498
+ .widget_repeaterRemoveButton {
499
+ padding: 0.25rem 0.5rem;
500
+ border: 1px solid var(--cf-border);
501
+ border-radius: var(--cf-radius);
502
+ font-size: 12px;
503
+ cursor: pointer;
504
+ background: var(--cf-bg);
505
+ color: var(--cf-muted);
506
+ transition: border-color 0.12s, color 0.12s;
507
+ }
508
+ .widget_repeaterRemoveButton:hover:not(:disabled) {
509
+ border-color: var(--cf-error);
510
+ color: var(--cf-error);
511
+ }
512
+ .widget_repeaterAddButton {
513
+ padding: 0.5rem 1rem;
514
+ border: 1px dashed var(--cf-primary);
515
+ border-radius: var(--cf-radius);
516
+ font-family: var(--cf-font);
517
+ font-size: 13px;
518
+ cursor: pointer;
519
+ background: color-mix(in srgb, var(--cf-primary) 6%, transparent);
520
+ color: var(--cf-primary);
521
+ width: 100%;
522
+ font-weight: 500;
523
+ transition: background 0.12s;
524
+ }
525
+ .widget_repeaterAddButton:hover:not(:disabled) {
526
+ background: color-mix(in srgb, var(--cf-primary) 12%, transparent);
527
+ }
528
+ .widget_chat {
529
+ display: flex;
530
+ flex-direction: column;
531
+ height: 100%;
532
+ }
533
+ .widget_chatMessages {
534
+ flex: 1;
535
+ overflow-y: auto;
536
+ padding: 1rem 1.5rem;
537
+ display: flex;
538
+ flex-direction: column;
539
+ gap: 0.75rem;
540
+ max-height: 360px;
541
+ }
542
+ .widget_chatMessageHuman,
543
+ .widget_chatMessageAssistant {
544
+ max-width: 80%;
545
+ border-radius: var(--cf-radius);
546
+ padding: 0.5rem 0.75rem;
547
+ font-size: 14px;
548
+ line-height: 1.5;
549
+ white-space: pre-wrap;
550
+ }
551
+ .widget_chatMessageHuman {
552
+ align-self: flex-end;
553
+ background: var(--cf-primary);
554
+ color: #fff;
555
+ }
556
+ .widget_chatMessageAssistant {
557
+ align-self: flex-start;
558
+ background: var(--cf-surface);
559
+ border: 1px solid var(--cf-border);
560
+ color: var(--cf-fg);
561
+ }
562
+ .widget_chatInputRow {
563
+ display: flex;
564
+ gap: 0.5rem;
565
+ padding: 0.75rem 1.5rem;
566
+ border-top: 1px solid var(--cf-border);
567
+ }
568
+ .widget_chatInput {
569
+ flex: 1;
570
+ padding: 0.5rem 0.75rem;
571
+ border: 1px solid var(--cf-border);
572
+ border-radius: var(--cf-radius);
573
+ font-family: var(--cf-font);
574
+ font-size: 14px;
575
+ outline: none;
576
+ resize: none;
577
+ color: var(--cf-fg);
578
+ background: var(--cf-bg);
579
+ min-height: 40px;
580
+ max-height: 120px;
581
+ overflow-y: auto;
582
+ }
583
+ .widget_chatInput:focus {
584
+ border-color: var(--cf-primary);
585
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--cf-primary) 15%, transparent);
586
+ }
587
+ .widget_chatSendButton {
588
+ padding: 0.5rem 1rem;
589
+ background: var(--cf-primary);
590
+ color: #fff;
591
+ border: none;
592
+ border-radius: var(--cf-radius);
593
+ font-family: var(--cf-font);
594
+ font-size: 13px;
595
+ font-weight: 600;
596
+ cursor: pointer;
597
+ transition: opacity 0.15s;
598
+ white-space: nowrap;
599
+ }
600
+ .widget_chatSendButton:hover:not(:disabled) {
601
+ opacity: 0.88;
602
+ }
603
+ .widget_chatSendButton:disabled {
604
+ opacity: 0.5;
605
+ cursor: not-allowed;
606
+ }
607
+ .widget_handbackSection {
608
+ padding: 0.75rem 1.5rem;
609
+ border-top: 1px solid var(--cf-border);
610
+ background: var(--cf-surface);
611
+ display: flex;
612
+ flex-direction: column;
613
+ gap: 0.75rem;
614
+ align-items: stretch;
615
+ }
616
+ .widget_handbackForm {
617
+ display: flex;
618
+ flex-direction: column;
619
+ gap: 0.5rem;
620
+ }
621
+ .widget_handbackField {
622
+ display: flex;
623
+ flex-direction: column;
624
+ gap: 0.25rem;
625
+ }
626
+ .widget_handbackFieldLabel {
627
+ font-family: var(--cf-font);
628
+ font-size: 12px;
629
+ font-weight: 600;
630
+ color: var(--cf-fg);
631
+ opacity: 0.75;
632
+ }
633
+ .widget_handbackFieldSelect,
634
+ .widget_handbackFieldTextarea {
635
+ padding: 0.4rem 0.6rem;
636
+ border: 1px solid var(--cf-border);
637
+ border-radius: var(--cf-radius);
638
+ font-family: var(--cf-font);
639
+ font-size: 13px;
640
+ color: var(--cf-fg);
641
+ background: var(--cf-bg);
642
+ outline: none;
643
+ width: 100%;
644
+ box-sizing: border-box;
645
+ }
646
+ .widget_handbackFieldSelect:focus,
647
+ .widget_handbackFieldTextarea:focus {
648
+ border-color: var(--cf-primary);
649
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--cf-primary) 15%, transparent);
650
+ }
651
+ .widget_handbackFieldTextarea {
652
+ resize: none;
653
+ }
654
+ .widget_handbackButton {
655
+ padding: 0.5rem 1.25rem;
656
+ background: var(--cf-accent);
657
+ color: #fff;
658
+ border: none;
659
+ border-radius: var(--cf-radius);
660
+ font-family: var(--cf-font);
661
+ font-size: 14px;
662
+ font-weight: 600;
663
+ cursor: pointer;
664
+ transition: opacity 0.15s;
665
+ align-self: flex-end;
666
+ }
667
+ .widget_handbackButton:hover:not(:disabled) {
668
+ opacity: 0.88;
669
+ }
670
+ .widget_handbackButton:disabled {
671
+ opacity: 0.5;
672
+ cursor: not-allowed;
673
+ }
674
+ .widget_messageFeed {
675
+ padding: 1rem 1.5rem;
676
+ display: flex;
677
+ flex-direction: column;
678
+ gap: 0.5rem;
679
+ }
680
+ .widget_feedMessage {
681
+ font-size: 14px;
682
+ line-height: 1.5;
683
+ color: var(--cf-fg);
684
+ padding: 0.5rem 0.75rem;
685
+ background: var(--cf-surface);
686
+ border: 1px solid var(--cf-border);
687
+ border-left: 3px solid var(--cf-primary);
688
+ border-radius: 0 var(--cf-radius) var(--cf-radius) 0;
689
+ }
690
+ .widget_chatTimeline {
691
+ flex: 1;
692
+ overflow-y: auto;
693
+ padding: 1rem 1rem;
694
+ display: flex;
695
+ flex-direction: column;
696
+ gap: 0.5rem;
697
+ position: relative;
698
+ }
699
+ .widget_bubbleRow {
700
+ display: flex;
701
+ flex-direction: column;
702
+ align-items: flex-start;
703
+ gap: 0.125rem;
704
+ }
705
+ .widget_bubbleUserRow {
706
+ display: flex;
707
+ flex-direction: column;
708
+ align-items: flex-end;
709
+ gap: 0.125rem;
710
+ }
711
+ .widget_bubble {
712
+ max-width: 85%;
713
+ padding: 0.625rem 0.875rem;
714
+ font-size: 14px;
715
+ line-height: 1.5;
716
+ white-space: pre-wrap;
717
+ word-wrap: break-word;
718
+ border-radius: var(--cf-radius);
719
+ }
720
+ .widget_bubbleBot {
721
+ align-self: flex-start;
722
+ background: var(--cf-surface);
723
+ border: 1px solid var(--cf-border);
724
+ color: var(--cf-fg);
725
+ border-bottom-left-radius: 2px;
726
+ }
727
+ .widget_bubbleUser {
728
+ align-self: flex-end;
729
+ background: var(--cf-primary);
730
+ color: #fff;
731
+ border-bottom-right-radius: 2px;
732
+ margin-left: 1rem;
733
+ }
734
+ .widget_bubbleSystem {
735
+ align-self: center;
736
+ max-width: 90%;
737
+ background: transparent;
738
+ color: var(--cf-muted);
739
+ font-size: 12px;
740
+ text-align: center;
741
+ padding: 0.25rem 0.5rem;
742
+ margin-right: 1rem;
743
+ }
744
+ .widget_bubbleTime {
745
+ font-size: 10px;
746
+ color: var(--cf-muted);
747
+ margin-top: 0.125rem;
748
+ opacity: 0.7;
749
+ }
750
+ .widget_bubbleUserTime {
751
+ text-align: right;
752
+ }
753
+ .widget_responseTagList {
754
+ display: flex;
755
+ flex-direction: column;
756
+ gap: 0;
757
+ }
758
+ .widget_responseTag {
759
+ display: flex;
760
+ align-items: flex-start;
761
+ gap: 0.45rem;
762
+ padding: 0.3rem 0;
763
+ border-top: 1px solid rgba(255, 255, 255, 0.18);
764
+ font-size: 13px;
765
+ line-height: 1.45;
766
+ }
767
+ .widget_responseTag:first-child {
768
+ border-top: none;
769
+ padding-top: 0;
770
+ }
771
+ .widget_responseTag:last-child {
772
+ padding-bottom: 0;
773
+ }
774
+ .widget_responseTagCheck {
775
+ flex-shrink: 0;
776
+ line-height: 1.45;
777
+ opacity: 0.85;
778
+ font-size: 12px;
779
+ margin-top: 0.05em;
780
+ }
781
+ .widget_responseTagMarkdown {
782
+ flex: 1;
783
+ }
784
+ .widget_responseTagMarkdown a {
785
+ color: inherit;
786
+ opacity: 0.85;
787
+ }
788
+ .widget_responseTagMarkdown code {
789
+ background: rgba(255, 255, 255, 0.18);
790
+ }
791
+ .widget_formSubmittedBubble {
792
+ cursor: pointer;
793
+ user-select: none;
794
+ display: inline-flex;
795
+ align-items: center;
796
+ gap: 0.5rem;
797
+ background: var(--cf-primary);
798
+ color: #fff;
799
+ border: none;
800
+ font-family: var(--cf-font);
801
+ font-size: 14px;
802
+ line-height: 1.5;
803
+ text-align: left;
804
+ }
805
+ .widget_formSubmittedBubble:hover {
806
+ opacity: 0.9;
807
+ }
808
+ .widget_formSubmittedCaret {
809
+ font-size: 11px;
810
+ display: inline-block;
811
+ transition: transform 0.15s;
812
+ opacity: 0.8;
813
+ }
814
+ .widget_formSubmittedCaretOpen {
815
+ transform: rotate(180deg);
816
+ }
817
+ .widget_formAccordion {
818
+ align-self: flex-end;
819
+ max-width: 85%;
820
+ width: 100%;
821
+ background: var(--cf-surface);
822
+ border: 1px solid var(--cf-border);
823
+ border-radius: var(--cf-radius);
824
+ padding: 0.625rem 0.875rem;
825
+ font-size: 13px;
826
+ margin-left: 1rem;
827
+ }
828
+ .widget_formKvRow {
829
+ display: flex;
830
+ align-items: baseline;
831
+ gap: 0.625rem;
832
+ padding: 0.3rem 0;
833
+ border-top: 1px solid var(--cf-border);
834
+ }
835
+ .widget_formKvRow:first-child {
836
+ border-top: none;
837
+ padding-top: 0;
838
+ }
839
+ .widget_formKvRow:last-child {
840
+ padding-bottom: 0;
841
+ }
842
+ .widget_formKvKey {
843
+ flex-shrink: 0;
844
+ min-width: 7rem;
845
+ color: var(--cf-muted);
846
+ font-size: 12px;
847
+ line-height: 1.6;
848
+ }
849
+ .widget_formKvValue {
850
+ flex: 1;
851
+ color: var(--cf-fg);
852
+ word-break: break-word;
853
+ line-height: 1.6;
854
+ }
855
+ .widget_formKvNested {
856
+ flex: 1;
857
+ border-left: 2px solid var(--cf-border);
858
+ padding-left: 0.625rem;
859
+ margin-left: 0.125rem;
860
+ }
861
+ .widget_activeInputArea {
862
+ padding: 0.75rem 1rem;
863
+ border-top: 1px solid var(--cf-border);
864
+ display: flex;
865
+ flex-direction: column;
866
+ gap: 0.5rem;
867
+ }
868
+ .widget_formTimelineWrapper {
869
+ border-bottom: 1px solid var(--cf-border);
870
+ }
871
+ .widget_formScrollArea {
872
+ flex: 1;
873
+ overflow-y: auto;
874
+ min-height: 0;
875
+ }
876
+ .widget_activeInputPrompt {
877
+ font-size: 12px;
878
+ font-weight: 500;
879
+ color: var(--cf-muted);
880
+ padding-bottom: 0.125rem;
881
+ }
882
+ .widget_converseHint {
883
+ display: inline-flex;
884
+ align-items: center;
885
+ gap: 0.375rem;
886
+ align-self: flex-start;
887
+ font-size: 11px;
888
+ font-weight: 600;
889
+ color: var(--cf-accent);
890
+ letter-spacing: 0.02em;
891
+ padding-bottom: 0.25rem;
892
+ }
893
+ .widget_converseHintDot {
894
+ width: 6px;
895
+ height: 6px;
896
+ border-radius: 9999px;
897
+ background: var(--cf-accent);
898
+ animation: widget_cf-converse-pulse 1.4s ease-in-out infinite;
899
+ }
900
+ @keyframes widget_cf-converse-pulse {
901
+ 0%, 100% {
902
+ opacity: 0.35;
903
+ transform: scale(0.85);
904
+ }
905
+ 50% {
906
+ opacity: 1;
907
+ transform: scale(1);
908
+ }
909
+ }
910
+ .widget_newMessageChip {
911
+ position: sticky;
912
+ bottom: 0.5rem;
913
+ align-self: center;
914
+ background: var(--cf-primary);
915
+ color: #fff;
916
+ border: none;
917
+ border-radius: 9999px;
918
+ padding: 0.3rem 0.875rem;
919
+ font-family: var(--cf-font);
920
+ font-size: 12px;
921
+ font-weight: 600;
922
+ cursor: pointer;
923
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
924
+ transition: opacity 0.15s;
925
+ z-index: 1;
926
+ }
927
+ .widget_newMessageChip:hover {
928
+ opacity: 0.88;
929
+ }
930
+ .widget_activeInputRow {
931
+ display: flex;
932
+ gap: 0.5rem;
933
+ align-items: flex-end;
934
+ }
935
+ .widget_activeInputField {
936
+ flex: 1;
937
+ }
938
+ .widget_activeInputSubmit {
939
+ padding: 0.5rem 1rem;
940
+ background: var(--cf-primary);
941
+ color: #fff;
942
+ border: none;
943
+ border-radius: var(--cf-radius);
944
+ font-family: var(--cf-font);
945
+ font-size: 13px;
946
+ font-weight: 600;
947
+ cursor: pointer;
948
+ transition: opacity 0.15s;
949
+ white-space: nowrap;
950
+ flex-shrink: 0;
951
+ }
952
+ .widget_activeInputSubmit:hover:not(:disabled) {
953
+ opacity: 0.88;
954
+ }
955
+ .widget_activeInputSubmit:disabled {
956
+ opacity: 0.5;
957
+ cursor: not-allowed;
958
+ }
959
+ .widget_inlineError {
960
+ font-size: 12px;
961
+ color: var(--cf-error);
962
+ }
963
+ .widget_resumingBanner {
964
+ display: flex;
965
+ align-items: center;
966
+ justify-content: center;
967
+ gap: 0.5rem;
968
+ padding: 0.5rem;
969
+ font-size: 12px;
970
+ color: var(--cf-muted);
971
+ background: var(--cf-surface);
972
+ border-bottom: 1px solid var(--cf-border);
973
+ }
974
+ .widget_terminalBanner {
975
+ padding: 0.75rem 1rem;
976
+ text-align: center;
977
+ font-size: 13px;
978
+ font-weight: 500;
979
+ border-top: 1px solid var(--cf-border);
980
+ }
981
+ .widget_terminalCompleted {
982
+ color: var(--cf-primary);
983
+ background: color-mix(in srgb, var(--cf-primary) 6%, transparent);
984
+ }
985
+ .widget_terminalError {
986
+ color: var(--cf-error);
987
+ background: color-mix(in srgb, var(--cf-error) 6%, transparent);
988
+ }
989
+ .widget_typingIndicator {
990
+ display: flex;
991
+ gap: 4px;
992
+ padding: 0.5rem 0.75rem;
993
+ align-self: flex-start;
994
+ }
995
+ .widget_typingDot {
996
+ width: 6px;
997
+ height: 6px;
998
+ background: var(--cf-muted);
999
+ border-radius: 50%;
1000
+ animation: widget_cfTyping 1.2s ease-in-out infinite;
1001
+ }
1002
+ .widget_typingDot:nth-child(2) {
1003
+ animation-delay: 0.15s;
1004
+ }
1005
+ .widget_typingDot:nth-child(3) {
1006
+ animation-delay: 0.3s;
1007
+ }
1008
+ @keyframes widget_cfTyping {
1009
+ 0%, 60%, 100% {
1010
+ opacity: 0.3;
1011
+ transform: translateY(0);
1012
+ }
1013
+ 30% {
1014
+ opacity: 1;
1015
+ transform: translateY(-3px);
1016
+ }
1017
+ }
1018
+ .widget_streamingText {
1019
+ white-space: pre-wrap;
1020
+ word-wrap: break-word;
1021
+ }
1022
+ .widget_streamingCursor {
1023
+ display: inline-block;
1024
+ width: 2px;
1025
+ height: 1em;
1026
+ background: currentColor;
1027
+ margin-left: 2px;
1028
+ vertical-align: text-bottom;
1029
+ border-radius: 1px;
1030
+ animation: widget_cfCursor 0.9s ease-in-out infinite;
1031
+ }
1032
+ @keyframes widget_cfCursor {
1033
+ 0%, 100% {
1034
+ opacity: 1;
1035
+ }
1036
+ 50% {
1037
+ opacity: 0;
1038
+ }
1039
+ }
1040
+ .widget_voiceRenderer {
1041
+ display: flex;
1042
+ flex-direction: column;
1043
+ align-items: center;
1044
+ gap: 20px;
1045
+ padding: 24px 16px;
1046
+ }
1047
+ .widget_voicePromptCard {
1048
+ width: 100%;
1049
+ text-align: center;
1050
+ animation: widget_cfVoiceFadeIn 0.3s ease-out;
1051
+ }
1052
+ .widget_voicePromptText {
1053
+ font-size: 1.1em;
1054
+ font-weight: 600;
1055
+ color: var(--cf-fg);
1056
+ margin: 0 0 16px;
1057
+ line-height: 1.5;
1058
+ }
1059
+ .widget_voicePromptHint {
1060
+ font-size: 0.85em;
1061
+ color: var(--cf-muted);
1062
+ margin: 0;
1063
+ }
1064
+ .widget_voiceOptionList {
1065
+ display: flex;
1066
+ flex-wrap: wrap;
1067
+ justify-content: center;
1068
+ gap: 8px;
1069
+ margin-bottom: 8px;
1070
+ }
1071
+ .widget_voiceOptionPill {
1072
+ display: inline-block;
1073
+ padding: 8px 16px;
1074
+ border-radius: var(--cf-radius);
1075
+ background: color-mix(in srgb, var(--cf-primary) 10%, transparent);
1076
+ border: 1.5px solid color-mix(in srgb, var(--cf-primary) 25%, transparent);
1077
+ color: var(--cf-fg);
1078
+ font-size: 0.9em;
1079
+ transition:
1080
+ transform 0.15s,
1081
+ background 0.2s,
1082
+ border-color 0.2s,
1083
+ box-shadow 0.2s;
1084
+ }
1085
+ .widget_voiceOptionSpeaking {
1086
+ background: color-mix(in srgb, var(--cf-primary) 20%, transparent);
1087
+ border-color: var(--cf-primary);
1088
+ transform: scale(1.08);
1089
+ box-shadow: 0 0 12px color-mix(in srgb, var(--cf-primary) 30%, transparent);
1090
+ }
1091
+ .widget_voiceOptionMatched {
1092
+ background: color-mix(in srgb, #22c55e 15%, transparent);
1093
+ border-color: #22c55e;
1094
+ transform: scale(1.12);
1095
+ box-shadow: 0 0 16px color-mix(in srgb, #22c55e 30%, transparent);
1096
+ animation: widget_cfVoicePop 0.3s ease-out;
1097
+ }
1098
+ .widget_voiceRatingScale {
1099
+ display: flex;
1100
+ justify-content: center;
1101
+ gap: 6px;
1102
+ margin-bottom: 4px;
1103
+ flex-wrap: wrap;
1104
+ }
1105
+ .widget_voiceRatingBar {
1106
+ display: flex;
1107
+ align-items: center;
1108
+ justify-content: center;
1109
+ width: 40px;
1110
+ height: 40px;
1111
+ border-radius: 8px;
1112
+ background: color-mix(in srgb, var(--cf-primary) 8%, transparent);
1113
+ border: 1.5px solid color-mix(in srgb, var(--cf-primary) 20%, transparent);
1114
+ transition:
1115
+ transform 0.15s,
1116
+ background 0.2s,
1117
+ border-color 0.2s,
1118
+ box-shadow 0.2s;
1119
+ }
1120
+ .widget_voiceRatingNumber {
1121
+ font-weight: 600;
1122
+ font-size: 0.95em;
1123
+ color: var(--cf-fg);
1124
+ }
1125
+ .widget_voiceRatingSpeaking {
1126
+ background: color-mix(in srgb, var(--cf-primary) 20%, transparent);
1127
+ border-color: var(--cf-primary);
1128
+ transform: scale(1.1);
1129
+ box-shadow: 0 0 10px color-mix(in srgb, var(--cf-primary) 25%, transparent);
1130
+ }
1131
+ .widget_voiceRatingMatched {
1132
+ background: color-mix(in srgb, #22c55e 15%, transparent);
1133
+ border-color: #22c55e;
1134
+ transform: scale(1.15);
1135
+ box-shadow: 0 0 14px color-mix(in srgb, #22c55e 30%, transparent);
1136
+ animation: widget_cfVoicePop 0.3s ease-out;
1137
+ }
1138
+ .widget_voiceRatingLabels {
1139
+ display: flex;
1140
+ justify-content: space-between;
1141
+ width: 100%;
1142
+ padding: 4px 4px 0;
1143
+ font-size: 0.75em;
1144
+ color: var(--cf-muted);
1145
+ }
1146
+ .widget_voiceTranscript {
1147
+ margin-top: 12px;
1148
+ padding: 10px 14px;
1149
+ border-radius: var(--cf-radius);
1150
+ background: color-mix(in srgb, var(--cf-info) 8%, transparent);
1151
+ border: 1px solid color-mix(in srgb, var(--cf-info) 20%, transparent);
1152
+ animation: widget_cfVoiceFadeIn 0.2s ease-out;
1153
+ }
1154
+ .widget_voiceTranscriptLabel {
1155
+ font-size: 0.75em;
1156
+ color: var(--cf-muted);
1157
+ display: block;
1158
+ margin-bottom: 2px;
1159
+ }
1160
+ .widget_voiceTranscriptText {
1161
+ font-size: 0.9em;
1162
+ color: var(--cf-fg);
1163
+ font-style: italic;
1164
+ }
1165
+ .widget_voiceError {
1166
+ color: var(--cf-error, #ef4444);
1167
+ font-size: 0.85em;
1168
+ text-align: center;
1169
+ margin: 0;
1170
+ animation: widget_cfVoiceShake 0.4s ease-out;
1171
+ }
1172
+ .widget_voiceOrbContainer {
1173
+ display: flex;
1174
+ flex-direction: column;
1175
+ align-items: center;
1176
+ gap: 8px;
1177
+ }
1178
+ .widget_voiceOrbContainerSticky {
1179
+ position: sticky;
1180
+ bottom: 1rem;
1181
+ z-index: 10;
1182
+ background: var(--cf-bg);
1183
+ padding: 8px 16px 4px;
1184
+ border-radius: 999px;
1185
+ box-shadow: 0 -4px 16px color-mix(in srgb, var(--cf-bg) 70%, transparent);
1186
+ }
1187
+ .widget_voiceOrbHint {
1188
+ font-size: 0.8em;
1189
+ color: var(--cf-muted);
1190
+ transition: opacity 0.2s;
1191
+ }
1192
+ .widget_voiceOrb {
1193
+ position: relative;
1194
+ width: 72px;
1195
+ height: 72px;
1196
+ border-radius: 50%;
1197
+ border: none;
1198
+ cursor: pointer;
1199
+ background: var(--cf-primary);
1200
+ color: #fff;
1201
+ display: flex;
1202
+ align-items: center;
1203
+ justify-content: center;
1204
+ transition: transform 0.15s, box-shadow 0.2s;
1205
+ animation: widget_cfVoiceBreathe 3s ease-in-out infinite;
1206
+ }
1207
+ .widget_voiceOrb:hover {
1208
+ transform: scale(1.05);
1209
+ }
1210
+ .widget_voiceOrb:active {
1211
+ transform: scale(0.95);
1212
+ }
1213
+ .widget_voiceOrbDisabled {
1214
+ opacity: 0.5;
1215
+ cursor: not-allowed;
1216
+ animation: none;
1217
+ }
1218
+ .widget_voiceOrbIcon {
1219
+ position: relative;
1220
+ z-index: 2;
1221
+ display: flex;
1222
+ align-items: center;
1223
+ justify-content: center;
1224
+ }
1225
+ .widget_voiceOrbRing1,
1226
+ .widget_voiceOrbRing2 {
1227
+ position: absolute;
1228
+ width: 100%;
1229
+ height: 100%;
1230
+ border-radius: 50%;
1231
+ top: 0;
1232
+ left: 0;
1233
+ pointer-events: none;
1234
+ }
1235
+ .widget_voiceOrb_idle {
1236
+ animation: widget_cfVoiceBreathe 3s ease-in-out infinite;
1237
+ }
1238
+ .widget_voiceOrb_listening {
1239
+ animation: none;
1240
+ box-shadow: 0 0 0 8px color-mix(in srgb, var(--cf-primary) 25%, transparent);
1241
+ }
1242
+ .widget_voiceOrb_listening .widget_voiceOrbRing1 {
1243
+ animation: widget_cfVoicePulse 1.2s ease-out infinite;
1244
+ border: 2px solid color-mix(in srgb, var(--cf-primary) 40%, transparent);
1245
+ }
1246
+ .widget_voiceOrb_listening .widget_voiceOrbRing2 {
1247
+ animation: widget_cfVoicePulse 1.2s ease-out 0.4s infinite;
1248
+ border: 2px solid color-mix(in srgb, var(--cf-primary) 25%, transparent);
1249
+ }
1250
+ .widget_voiceOrb_speaking {
1251
+ animation: none;
1252
+ background: color-mix(in srgb, var(--cf-info) 80%, var(--cf-primary));
1253
+ }
1254
+ .widget_voiceOrb_speaking .widget_voiceOrbRing1 {
1255
+ animation: widget_cfVoiceWave 1.6s ease-in-out infinite;
1256
+ border: 2px solid color-mix(in srgb, var(--cf-info) 30%, transparent);
1257
+ }
1258
+ .widget_voiceOrb_processing {
1259
+ animation: none;
1260
+ }
1261
+ .widget_voiceOrb_processing .widget_voiceOrbRing1 {
1262
+ border: 3px solid transparent;
1263
+ border-top-color: #fff;
1264
+ animation: widget_cfSpin 0.8s linear infinite;
1265
+ }
1266
+ .widget_voiceOrb_confirming {
1267
+ animation: widget_cfVoicePop 0.3s ease-out forwards;
1268
+ background: #22c55e;
1269
+ box-shadow: 0 0 20px color-mix(in srgb, #22c55e 40%, transparent);
1270
+ }
1271
+ .widget_voiceOrb_error {
1272
+ animation: widget_cfVoiceShake 0.4s ease-out;
1273
+ background: var(--cf-error, #ef4444);
1274
+ }
1275
+ @keyframes widget_cfVoiceBreathe {
1276
+ 0%, 100% {
1277
+ transform: scale(1);
1278
+ box-shadow: 0 0 0 0 color-mix(in srgb, var(--cf-primary) 15%, transparent);
1279
+ }
1280
+ 50% {
1281
+ transform: scale(1.04);
1282
+ box-shadow: 0 0 16px 4px color-mix(in srgb, var(--cf-primary) 20%, transparent);
1283
+ }
1284
+ }
1285
+ @keyframes widget_cfVoicePulse {
1286
+ 0% {
1287
+ transform: scale(1);
1288
+ opacity: 0.6;
1289
+ }
1290
+ 100% {
1291
+ transform: scale(1.8);
1292
+ opacity: 0;
1293
+ }
1294
+ }
1295
+ @keyframes widget_cfVoiceWave {
1296
+ 0%, 100% {
1297
+ transform: scale(1);
1298
+ opacity: 0.4;
1299
+ }
1300
+ 50% {
1301
+ transform: scale(1.3);
1302
+ opacity: 0;
1303
+ }
1304
+ }
1305
+ @keyframes widget_cfVoicePop {
1306
+ 0% {
1307
+ transform: scale(0.8);
1308
+ }
1309
+ 50% {
1310
+ transform: scale(1.15);
1311
+ }
1312
+ 100% {
1313
+ transform: scale(1);
1314
+ }
1315
+ }
1316
+ @keyframes widget_cfVoiceShake {
1317
+ 0%, 100% {
1318
+ transform: translateX(0);
1319
+ }
1320
+ 20% {
1321
+ transform: translateX(-6px);
1322
+ }
1323
+ 40% {
1324
+ transform: translateX(6px);
1325
+ }
1326
+ 60% {
1327
+ transform: translateX(-4px);
1328
+ }
1329
+ 80% {
1330
+ transform: translateX(4px);
1331
+ }
1332
+ }
1333
+ @keyframes widget_cfVoiceFadeIn {
1334
+ from {
1335
+ opacity: 0;
1336
+ transform: translateY(8px);
1337
+ }
1338
+ to {
1339
+ opacity: 1;
1340
+ transform: translateY(0);
1341
+ }
1342
+ }
1343
+ @media (prefers-reduced-motion: reduce) {
1344
+ .widget_voiceOrb,
1345
+ .widget_voiceOrb_idle,
1346
+ .widget_voiceOrb_listening,
1347
+ .widget_voiceOrb_listening .widget_voiceOrbRing1,
1348
+ .widget_voiceOrb_listening .widget_voiceOrbRing2,
1349
+ .widget_voiceOrb_speaking .widget_voiceOrbRing1,
1350
+ .widget_voiceOrb_processing .widget_voiceOrbRing1,
1351
+ .widget_voiceOrb_confirming,
1352
+ .widget_voiceOrb_error,
1353
+ .widget_voiceOptionSpeaking,
1354
+ .widget_voiceOptionMatched,
1355
+ .widget_voiceRatingSpeaking,
1356
+ .widget_voiceRatingMatched,
1357
+ .widget_voicePromptCard,
1358
+ .widget_voiceTranscript,
1359
+ .widget_voiceError,
1360
+ .widget_voiceAudioLevelBar,
1361
+ .widget_voiceMuteButton,
1362
+ .widget_voiceConfirmation {
1363
+ animation: none !important;
1364
+ transition: none !important;
1365
+ }
1366
+ }
1367
+ .widget_voiceAudioLevel {
1368
+ width: 100%;
1369
+ height: 4px;
1370
+ background: rgba(var(--cf-primary-rgb, 59 130 246), 0.1);
1371
+ border-radius: 2px;
1372
+ overflow: hidden;
1373
+ margin: 8px 0;
1374
+ min-width: 100px;
1375
+ }
1376
+ .widget_voiceAudioLevelBar {
1377
+ height: 100%;
1378
+ background:
1379
+ linear-gradient(
1380
+ 90deg,
1381
+ var(--cf-primary, #3b82f6),
1382
+ var(--cf-accent, #8b5cf6));
1383
+ transition: width 50ms linear;
1384
+ border-radius: 1px;
1385
+ }
1386
+ .widget_voiceConfidenceBadge {
1387
+ font-size: 12px;
1388
+ font-weight: 500;
1389
+ color: var(--cf-accent, #8b5cf6);
1390
+ padding: 2px 8px;
1391
+ background: rgba(var(--cf-accent-rgb, 139 92 246), 0.1);
1392
+ border-radius: 12px;
1393
+ display: inline-block;
1394
+ margin-top: 8px;
1395
+ }
1396
+ .widget_voiceMuteButton {
1397
+ position: absolute;
1398
+ top: 8px;
1399
+ right: 8px;
1400
+ background: transparent;
1401
+ border: none;
1402
+ cursor: pointer;
1403
+ font-size: 18px;
1404
+ opacity: 0.6;
1405
+ transition: opacity 200ms ease;
1406
+ padding: 4px 8px;
1407
+ display: flex;
1408
+ align-items: center;
1409
+ justify-content: center;
1410
+ border-radius: 4px;
1411
+ user-select: none;
1412
+ -webkit-user-select: none;
1413
+ }
1414
+ .widget_voiceMuteButton:hover {
1415
+ opacity: 0.9;
1416
+ }
1417
+ .widget_voiceMuteButton:focus-visible {
1418
+ opacity: 1;
1419
+ outline: 2px solid var(--cf-primary, #3b82f6);
1420
+ outline-offset: 2px;
1421
+ }
1422
+ .widget_voiceMuteButtonMuted {
1423
+ opacity: 0.4;
1424
+ background: rgba(var(--cf-primary-rgb, 59 130 246), 0.08);
1425
+ }
1426
+ .widget_voiceMuteButtonMuted:hover {
1427
+ opacity: 0.7;
1428
+ }
1429
+ .widget_voiceSrOnly {
1430
+ position: absolute;
1431
+ width: 1px;
1432
+ height: 1px;
1433
+ padding: 0;
1434
+ margin: -1px;
1435
+ overflow: hidden;
1436
+ clip: rect(0, 0, 0, 0);
1437
+ white-space: nowrap;
1438
+ border: 0;
1439
+ }
1440
+ .widget_voiceMuteButton:active {
1441
+ opacity: 1;
1442
+ transform: scale(0.95);
1443
+ }
1444
+ .widget_voiceOrbStats {
1445
+ display: flex;
1446
+ flex-direction: column;
1447
+ align-items: center;
1448
+ gap: 4px;
1449
+ width: 100%;
1450
+ max-width: 200px;
1451
+ }
1452
+ .widget_voiceConfirmation {
1453
+ background: rgba(var(--cf-primary-rgb, 59 130 246), 0.05);
1454
+ border: 1px solid rgba(var(--cf-primary-rgb, 59 130 246), 0.2);
1455
+ border-radius: 8px;
1456
+ padding: 12px 16px;
1457
+ margin: 12px 0;
1458
+ text-align: center;
1459
+ animation: widget_cfVoiceFadeIn 0.3s ease-out;
1460
+ }
1461
+ .widget_voiceConfirmation p {
1462
+ margin: 0 0 12px;
1463
+ font-size: 0.95em;
1464
+ font-weight: 500;
1465
+ }
1466
+ .widget_voiceConfirmation button {
1467
+ padding: 8px 16px;
1468
+ margin: 0 4px;
1469
+ border: none;
1470
+ border-radius: 6px;
1471
+ cursor: pointer;
1472
+ font-size: 0.9em;
1473
+ font-weight: 500;
1474
+ transition: all 0.2s;
1475
+ }
1476
+ .widget_voiceConfirmation button:first-of-type {
1477
+ background: var(--cf-primary, #3b82f6);
1478
+ color: #fff;
1479
+ }
1480
+ .widget_voiceConfirmation button:first-of-type:hover {
1481
+ background: color-mix(in srgb, var(--cf-primary, #3b82f6) 80%, #000);
1482
+ }
1483
+ .widget_voiceConfirmation button:last-of-type {
1484
+ background: var(--cf-muted, #f3f4f6);
1485
+ color: var(--cf-text, #000);
1486
+ }
1487
+ .widget_voiceConfirmation button:last-of-type:hover {
1488
+ background: color-mix(in srgb, var(--cf-muted, #f3f4f6) 80%, #000);
1489
+ }
1490
+ .widget_voiceTypeFallback {
1491
+ display: inline-block;
1492
+ margin-top: 12px;
1493
+ font-size: 0.85em;
1494
+ color: var(--cf-primary, #3b82f6);
1495
+ text-decoration: underline;
1496
+ cursor: pointer;
1497
+ transition: opacity 0.2s;
1498
+ }
1499
+ .widget_voiceTypeFallback:hover {
1500
+ opacity: 0.7;
1501
+ }
1502
+ .widget_voiceOrbContainer.widget_muted .widget_voiceOrb {
1503
+ opacity: 0.4;
1504
+ }
1505
+ .widget_voiceOrbContainer.widget_muted .widget_voiceOrbHint {
1506
+ opacity: 0.5;
1507
+ }
1508
+ .widget_markdownBubble {
1509
+ line-height: 1.5;
1510
+ }
1511
+ .widget_markdownBubble p {
1512
+ margin: 0 0 0.4em;
1513
+ }
1514
+ .widget_markdownBubble p:last-child {
1515
+ margin-bottom: 0;
1516
+ }
1517
+ .widget_markdownBubble strong {
1518
+ font-weight: 600;
1519
+ }
1520
+ .widget_markdownBubble em {
1521
+ font-style: italic;
1522
+ }
1523
+ .widget_markdownBubble code {
1524
+ background: rgba(0, 0, 0, 0.06);
1525
+ padding: 0.1em 0.3em;
1526
+ border-radius: 3px;
1527
+ font-size: 0.9em;
1528
+ font-family:
1529
+ ui-monospace,
1530
+ SFMono-Regular,
1531
+ "SF Mono",
1532
+ Menlo,
1533
+ monospace;
1534
+ }
1535
+ .widget_markdownBubble a {
1536
+ color: var(--cf-primary);
1537
+ text-decoration: underline;
1538
+ }
1539
+ .widget_markdownBubble a:hover {
1540
+ opacity: 0.8;
1541
+ }
1542
+ .widget_markdownBubble ul {
1543
+ margin: 0.3em 0;
1544
+ padding-left: 1.3em;
1545
+ list-style: disc;
1546
+ }
1547
+ .widget_markdownBubble li {
1548
+ margin-bottom: 0.15em;
1549
+ }
1550
+ .widget_markdownBubble h1,
1551
+ .widget_markdownBubble h2,
1552
+ .widget_markdownBubble h3 {
1553
+ font-weight: 600;
1554
+ margin: 0.5em 0 0.25em;
1555
+ }
1556
+ .widget_markdownBubble h1 {
1557
+ font-size: 1.1em;
1558
+ }
1559
+ .widget_markdownBubble h2 {
1560
+ font-size: 1.05em;
1561
+ }
1562
+ .widget_markdownBubble h3 {
1563
+ font-size: 1em;
1564
+ }
1565
+ .widget_markdownBubble br {
1566
+ content: "";
1567
+ display: block;
1568
+ margin-top: 0.3em;
1569
+ }
1570
+ .widget_radioGroup {
1571
+ display: flex;
1572
+ flex-direction: column;
1573
+ gap: 0.5rem;
1574
+ }
1575
+ .widget_radioLabel {
1576
+ display: flex;
1577
+ align-items: center;
1578
+ gap: 0.5rem;
1579
+ font-size: 14px;
1580
+ cursor: pointer;
1581
+ padding: 0.375rem 0.5rem;
1582
+ border-radius: 6px;
1583
+ }
1584
+ .widget_radioLabel:hover {
1585
+ background: var(--cf-surface);
1586
+ }
1587
+ .widget_radioLabel input[type=radio] {
1588
+ accent-color: var(--cf-primary);
1589
+ cursor: pointer;
1590
+ }
1591
+ .widget_checkboxGroup {
1592
+ display: flex;
1593
+ flex-direction: column;
1594
+ gap: 0.5rem;
1595
+ }
1596
+ .widget_toggleTrack {
1597
+ display: inline-flex;
1598
+ align-items: center;
1599
+ gap: 0.625rem;
1600
+ cursor: pointer;
1601
+ padding: 0.375rem 0;
1602
+ }
1603
+ .widget_toggleInput {
1604
+ position: absolute;
1605
+ opacity: 0;
1606
+ pointer-events: none;
1607
+ }
1608
+ .widget_toggleThumb {
1609
+ position: relative;
1610
+ display: inline-block;
1611
+ width: 36px;
1612
+ height: 20px;
1613
+ background: var(--cf-border);
1614
+ border-radius: 999px;
1615
+ transition: background 0.15s;
1616
+ }
1617
+ .widget_toggleThumb::after {
1618
+ content: "";
1619
+ position: absolute;
1620
+ top: 2px;
1621
+ left: 2px;
1622
+ width: 16px;
1623
+ height: 16px;
1624
+ background: #fff;
1625
+ border-radius: 50%;
1626
+ transition: transform 0.15s;
1627
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
1628
+ }
1629
+ .widget_toggleInput:checked + .widget_toggleThumb {
1630
+ background: var(--cf-primary);
1631
+ }
1632
+ .widget_toggleInput:checked + .widget_toggleThumb::after {
1633
+ transform: translateX(16px);
1634
+ }
1635
+ .widget_toggleLabel {
1636
+ font-size: 14px;
1637
+ color: var(--cf-fg);
1638
+ }
1639
+ .widget_sliderGroup {
1640
+ display: flex;
1641
+ align-items: center;
1642
+ gap: 0.75rem;
1643
+ }
1644
+ .widget_sliderGroup {
1645
+ display: flex;
1646
+ align-items: center;
1647
+ gap: 0.75rem;
1648
+ }
1649
+ .widget_slider {
1650
+ flex: 1;
1651
+ height: 5px;
1652
+ border-radius: 3px;
1653
+ background:
1654
+ linear-gradient(
1655
+ to right,
1656
+ var(--cf-primary) 0%,
1657
+ var(--cf-primary) 100%);
1658
+ outline: none;
1659
+ -webkit-appearance: none;
1660
+ appearance: none;
1661
+ }
1662
+ .widget_slider::-webkit-slider-thumb {
1663
+ -webkit-appearance: none;
1664
+ appearance: none;
1665
+ width: 18px;
1666
+ height: 18px;
1667
+ border-radius: 50%;
1668
+ background: var(--cf-primary);
1669
+ cursor: pointer;
1670
+ border: 2px solid #fff;
1671
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
1672
+ transition: transform 0.15s;
1673
+ }
1674
+ .widget_slider::-webkit-slider-thumb:hover {
1675
+ transform: scale(1.15);
1676
+ }
1677
+ .widget_slider::-moz-range-thumb {
1678
+ width: 18px;
1679
+ height: 18px;
1680
+ border-radius: 50%;
1681
+ background: var(--cf-primary);
1682
+ cursor: pointer;
1683
+ border: 2px solid #fff;
1684
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
1685
+ transition: transform 0.15s;
1686
+ }
1687
+ .widget_slider::-moz-range-thumb:hover {
1688
+ transform: scale(1.15);
1689
+ }
1690
+ .widget_sliderValue {
1691
+ min-width: 3ch;
1692
+ text-align: center;
1693
+ font-variant-numeric: tabular-nums;
1694
+ font-weight: 600;
1695
+ color: var(--cf-fg);
1696
+ }
1697
+ .widget_stepperGroup {
1698
+ display: flex;
1699
+ align-items: center;
1700
+ gap: 0.5rem;
1701
+ width: fit-content;
1702
+ padding: 2px;
1703
+ }
1704
+ .widget_stepperButton {
1705
+ width: 36px;
1706
+ height: 36px;
1707
+ border: 1px solid var(--cf-border);
1708
+ background: var(--cf-bg);
1709
+ border-radius: 6px;
1710
+ cursor: pointer;
1711
+ font-size: 18px;
1712
+ color: var(--cf-fg);
1713
+ display: flex;
1714
+ align-items: center;
1715
+ justify-content: center;
1716
+ transition: background 0.15s, border-color 0.15s;
1717
+ }
1718
+ .widget_stepperButton:hover:not(:disabled) {
1719
+ border-color: var(--cf-primary);
1720
+ background: color-mix(in srgb, var(--cf-primary) 8%, transparent);
1721
+ }
1722
+ .widget_stepperButton:disabled {
1723
+ opacity: 0.4;
1724
+ cursor: not-allowed;
1725
+ }
1726
+ .widget_stepperValue {
1727
+ min-width: 3ch;
1728
+ text-align: center;
1729
+ font-variant-numeric: tabular-nums;
1730
+ font-weight: 600;
1731
+ color: var(--cf-fg);
1732
+ }
1733
+ .widget_currencyGroup {
1734
+ display: flex;
1735
+ align-items: stretch;
1736
+ gap: 0.5rem;
1737
+ }
1738
+ .widget_currencyGroup .widget_input {
1739
+ flex: 1;
1740
+ min-width: 0;
1741
+ }
1742
+ .widget_currencyGroup .widget_select {
1743
+ flex: 0 0 auto;
1744
+ width: auto;
1745
+ min-width: 100px;
1746
+ }
1747
+ .widget_currencyCode {
1748
+ min-width: 72px;
1749
+ padding: 0 0.625rem;
1750
+ border: 1px solid var(--cf-border);
1751
+ border-radius: var(--cf-radius);
1752
+ background: var(--cf-surface);
1753
+ color: var(--cf-fg);
1754
+ font-size: 14px;
1755
+ display: flex;
1756
+ align-items: center;
1757
+ justify-content: center;
1758
+ flex: 0 0 auto;
1759
+ }
1760
+ .widget_richTextArea {
1761
+ display: flex;
1762
+ flex-direction: column;
1763
+ gap: 0;
1764
+ border: 1px solid var(--cf-border);
1765
+ border-radius: var(--cf-radius);
1766
+ overflow: hidden;
1767
+ background: var(--cf-bg);
1768
+ }
1769
+ .widget_richToolbar {
1770
+ display: flex;
1771
+ gap: 0.125rem;
1772
+ padding: 0.25rem;
1773
+ background: var(--cf-surface);
1774
+ border-bottom: 1px solid var(--cf-border);
1775
+ }
1776
+ .widget_richToolbarButton {
1777
+ border: none;
1778
+ background: transparent;
1779
+ padding: 0.25rem 0.5rem;
1780
+ border-radius: 4px;
1781
+ cursor: pointer;
1782
+ font-size: 13px;
1783
+ color: var(--cf-fg);
1784
+ font-family: inherit;
1785
+ }
1786
+ .widget_richToolbarButton:hover:not(:disabled) {
1787
+ background: var(--cf-border);
1788
+ }
1789
+ .widget_richTextArea .widget_textarea {
1790
+ border: none;
1791
+ border-radius: 0;
1792
+ }
1793
+ .widget_richTextArea .widget_textarea:focus {
1794
+ outline: none;
1795
+ box-shadow: none;
1796
+ }
1797
+ .widget_npsGroup {
1798
+ display: flex;
1799
+ flex-wrap: wrap;
1800
+ gap: 0.25rem;
1801
+ }
1802
+ .widget_npsButton {
1803
+ min-width: 36px;
1804
+ height: 36px;
1805
+ padding: 0 0.5rem;
1806
+ border: 1px solid var(--cf-border);
1807
+ border-radius: 6px;
1808
+ background: var(--cf-bg);
1809
+ cursor: pointer;
1810
+ font-variant-numeric: tabular-nums;
1811
+ font-weight: 600;
1812
+ color: var(--cf-fg);
1813
+ transition: background 0.1s, border-color 0.1s;
1814
+ }
1815
+ .widget_npsButton:hover:not(:disabled) {
1816
+ background: var(--cf-surface);
1817
+ }
1818
+ .widget_npsButton.widget_ratingSelected {
1819
+ border-color: var(--cf-primary);
1820
+ background: var(--cf-primary);
1821
+ color: #fff;
1822
+ }
1823
+ .widget_npsButton:disabled {
1824
+ opacity: 0.5;
1825
+ cursor: not-allowed;
1826
+ }
1827
+ .widget_npsDetractor {
1828
+ }
1829
+ .widget_npsPassive {
1830
+ }
1831
+ .widget_npsPromoter {
1832
+ }
1833
+ .widget_npsLegend {
1834
+ display: flex;
1835
+ justify-content: space-between;
1836
+ font-size: 12px;
1837
+ color: var(--cf-muted);
1838
+ margin-top: 0.375rem;
1839
+ }
1840
+ .widget_faceGroup {
1841
+ display: flex;
1842
+ gap: 0.375rem;
1843
+ }
1844
+ .widget_faceButton {
1845
+ font-size: 28px;
1846
+ line-height: 1;
1847
+ border: 2px solid transparent;
1848
+ background: transparent;
1849
+ padding: 0.25rem;
1850
+ border-radius: 8px;
1851
+ cursor: pointer;
1852
+ filter: grayscale(0.6);
1853
+ transition:
1854
+ filter 0.15s,
1855
+ border-color 0.15s,
1856
+ transform 0.1s;
1857
+ }
1858
+ .widget_faceButton:hover:not(:disabled) {
1859
+ filter: grayscale(0);
1860
+ transform: scale(1.1);
1861
+ }
1862
+ .widget_faceButton.widget_ratingSelected {
1863
+ filter: grayscale(0);
1864
+ border-color: var(--cf-primary);
1865
+ background: color-mix(in srgb, var(--cf-primary) 10%, transparent);
1866
+ }
1867
+ .widget_faceButton:disabled {
1868
+ opacity: 0.5;
1869
+ cursor: not-allowed;
1870
+ }
1871
+ .widget_fileUploadThumb {
1872
+ max-width: 120px;
1873
+ max-height: 120px;
1874
+ border-radius: 6px;
1875
+ object-fit: cover;
1876
+ border: 1px solid var(--cf-border);
1877
+ }
1878
+ .widget_fileUploadAudio {
1879
+ width: 100%;
1880
+ max-width: 320px;
1881
+ }
1882
+ .widget_fileUploadVideo {
1883
+ width: 100%;
1884
+ max-width: 320px;
1885
+ max-height: 240px;
1886
+ border-radius: 6px;
1887
+ }
1888
+ .widget_locationGroup {
1889
+ display: flex;
1890
+ flex-direction: column;
1891
+ gap: 0.5rem;
1892
+ }
1893
+ .widget_locationRow {
1894
+ display: grid;
1895
+ grid-template-columns: 1fr 1fr;
1896
+ gap: 0.5rem;
1897
+ }
1898
+ .widget_locationField {
1899
+ display: flex;
1900
+ flex-direction: column;
1901
+ gap: 0.25rem;
1902
+ font-size: 12px;
1903
+ color: var(--cf-muted);
1904
+ }
1905
+ .widget_locationField .widget_input,
1906
+ .widget_locationField .widget_select {
1907
+ font-size: 14px;
1908
+ color: var(--cf-fg);
1909
+ }
1910
+ .widget_locationCurrentButton {
1911
+ align-self: flex-start;
1912
+ padding: 0.375rem 0.75rem;
1913
+ border: 1px solid var(--cf-border);
1914
+ border-radius: var(--cf-radius);
1915
+ background: var(--cf-surface);
1916
+ color: var(--cf-fg);
1917
+ cursor: pointer;
1918
+ font-size: 13px;
1919
+ }
1920
+ .widget_locationCurrentButton:hover:not(:disabled) {
1921
+ background: var(--cf-border);
1922
+ }
1923
+ .widget_locationCurrentButton:disabled {
1924
+ opacity: 0.5;
1925
+ cursor: not-allowed;
1926
+ }
1927
+ .widget_editorSplitLayout {
1928
+ display: flex;
1929
+ flex-direction: row;
1930
+ flex: 1;
1931
+ min-height: 0;
1932
+ overflow: hidden;
1933
+ }
1934
+ .widget_editorLeftPane {
1935
+ flex: 1;
1936
+ min-width: 0;
1937
+ display: flex;
1938
+ flex-direction: column;
1939
+ border-right: 1px solid var(--cf-border);
1940
+ }
1941
+ .widget_editorLeftHeader {
1942
+ display: flex;
1943
+ align-items: center;
1944
+ justify-content: space-between;
1945
+ padding: 8px 12px;
1946
+ border-bottom: 1px solid var(--cf-border);
1947
+ flex-shrink: 0;
1948
+ gap: 8px;
1949
+ }
1950
+ .widget_editorDocTitle {
1951
+ font-size: 13px;
1952
+ font-weight: 500;
1953
+ color: var(--cf-fg);
1954
+ flex: 1;
1955
+ min-width: 0;
1956
+ overflow: hidden;
1957
+ text-overflow: ellipsis;
1958
+ white-space: nowrap;
1959
+ }
1960
+ .widget_editorViewToggle {
1961
+ display: flex;
1962
+ gap: 2px;
1963
+ flex-shrink: 0;
1964
+ }
1965
+ .widget_editorViewBtn {
1966
+ padding: 3px 10px;
1967
+ font-size: 12px;
1968
+ border: 1px solid var(--cf-border);
1969
+ border-radius: var(--cf-radius);
1970
+ background: transparent;
1971
+ color: var(--cf-muted);
1972
+ cursor: pointer;
1973
+ }
1974
+ .widget_editorViewBtn:hover {
1975
+ background: var(--cf-surface);
1976
+ color: var(--cf-fg);
1977
+ }
1978
+ .widget_editorViewBtnActive {
1979
+ background: var(--cf-primary);
1980
+ border-color: var(--cf-primary);
1981
+ color: #fff;
1982
+ }
1983
+ .widget_editorToolbar {
1984
+ display: flex;
1985
+ align-items: center;
1986
+ gap: 2px;
1987
+ padding: 4px 8px;
1988
+ border-bottom: 1px solid var(--cf-border);
1989
+ background: var(--cf-surface);
1990
+ flex-shrink: 0;
1991
+ }
1992
+ .widget_editorToolbarBtn {
1993
+ padding: 3px 8px;
1994
+ font-size: 13px;
1995
+ border: none;
1996
+ border-radius: 4px;
1997
+ background: transparent;
1998
+ color: var(--cf-fg);
1999
+ cursor: pointer;
2000
+ line-height: 1.4;
2001
+ }
2002
+ .widget_editorToolbarBtn:hover:not(:disabled) {
2003
+ background: var(--cf-border);
2004
+ }
2005
+ .widget_editorToolbarBtn:disabled {
2006
+ opacity: 0.4;
2007
+ cursor: default;
2008
+ }
2009
+ .widget_editorToolbarDivider {
2010
+ width: 1px;
2011
+ height: 16px;
2012
+ background: var(--cf-border);
2013
+ margin: 0 4px;
2014
+ }
2015
+ .widget_editorTextArea {
2016
+ flex: 1;
2017
+ min-height: 0;
2018
+ display: flex;
2019
+ overflow: hidden;
2020
+ }
2021
+ .widget_editorDocumentArea {
2022
+ flex: 1;
2023
+ resize: none;
2024
+ border: none;
2025
+ outline: none;
2026
+ padding: 14px 16px;
2027
+ font-family:
2028
+ "SF Mono",
2029
+ "Fira Code",
2030
+ "Consolas",
2031
+ monospace;
2032
+ font-size: 13px;
2033
+ line-height: 1.7;
2034
+ color: var(--cf-fg);
2035
+ background: var(--cf-bg);
2036
+ overflow-y: auto;
2037
+ }
2038
+ .widget_editorDocumentArea::placeholder {
2039
+ color: var(--cf-muted);
2040
+ }
2041
+ .widget_editorDocumentArea:disabled {
2042
+ background: var(--cf-surface);
2043
+ color: var(--cf-muted);
2044
+ cursor: default;
2045
+ }
2046
+ .widget_editorPreview {
2047
+ flex: 1;
2048
+ overflow-y: auto;
2049
+ padding: 14px 18px;
2050
+ font-size: 14px;
2051
+ line-height: 1.7;
2052
+ color: var(--cf-fg);
2053
+ background: var(--cf-bg);
2054
+ }
2055
+ .widget_editorPreview h1,
2056
+ .widget_editorPreview h2,
2057
+ .widget_editorPreview h3,
2058
+ .widget_editorPreview h4,
2059
+ .widget_editorPreview h5,
2060
+ .widget_editorPreview h6 {
2061
+ margin: 1em 0 0.4em;
2062
+ font-weight: 600;
2063
+ }
2064
+ .widget_editorPreview h1 {
2065
+ font-size: 1.5em;
2066
+ }
2067
+ .widget_editorPreview h2 {
2068
+ font-size: 1.25em;
2069
+ }
2070
+ .widget_editorPreview h3 {
2071
+ font-size: 1.1em;
2072
+ }
2073
+ .widget_editorPreview p {
2074
+ margin: 0.5em 0;
2075
+ }
2076
+ .widget_editorPreview ul,
2077
+ .widget_editorPreview ol {
2078
+ padding-left: 1.4em;
2079
+ margin: 0.5em 0;
2080
+ }
2081
+ .widget_editorPreview li {
2082
+ margin: 0.2em 0;
2083
+ }
2084
+ .widget_editorPreview code {
2085
+ background: var(--cf-surface);
2086
+ padding: 1px 5px;
2087
+ border-radius: 3px;
2088
+ font-family: monospace;
2089
+ font-size: 0.9em;
2090
+ }
2091
+ .widget_editorPreview pre,
2092
+ .widget_mdPre {
2093
+ background: var(--cf-surface);
2094
+ border: 1px solid var(--cf-border);
2095
+ border-radius: 6px;
2096
+ padding: 10px 12px;
2097
+ overflow-x: auto;
2098
+ font-size: 0.88em;
2099
+ margin: 0.6em 0;
2100
+ }
2101
+ .widget_editorPreview pre code {
2102
+ background: none;
2103
+ padding: 0;
2104
+ }
2105
+ .widget_editorPreview blockquote {
2106
+ border-left: 3px solid var(--cf-primary);
2107
+ margin: 0.5em 0;
2108
+ padding-left: 12px;
2109
+ color: var(--cf-muted);
2110
+ }
2111
+ .widget_editorPreview hr {
2112
+ border: none;
2113
+ border-top: 1px solid var(--cf-border);
2114
+ margin: 1em 0;
2115
+ }
2116
+ .widget_editorPreview strong {
2117
+ font-weight: 600;
2118
+ }
2119
+ .widget_editorStreamingBadge {
2120
+ padding: 6px 12px;
2121
+ font-size: 12px;
2122
+ color: var(--cf-primary);
2123
+ background: var(--cf-surface);
2124
+ border-top: 1px solid var(--cf-border);
2125
+ flex-shrink: 0;
2126
+ animation: widget_pulseFade 1.2s ease-in-out infinite alternate;
2127
+ }
2128
+ @keyframes widget_pulseFade {
2129
+ from {
2130
+ opacity: 1;
2131
+ }
2132
+ to {
2133
+ opacity: 0.4;
2134
+ }
2135
+ }
2136
+ .widget_editorRightPane {
2137
+ width: 252px;
2138
+ flex-shrink: 0;
2139
+ display: flex;
2140
+ flex-direction: column;
2141
+ background: var(--cf-bg);
2142
+ }
2143
+ .widget_editorRightHeader {
2144
+ padding: 8px 12px;
2145
+ font-size: 12px;
2146
+ font-weight: 600;
2147
+ color: var(--cf-muted);
2148
+ text-transform: uppercase;
2149
+ letter-spacing: 0.05em;
2150
+ border-bottom: 1px solid var(--cf-border);
2151
+ flex-shrink: 0;
2152
+ }
2153
+ .widget_editorInstructionHistory {
2154
+ flex: 1;
2155
+ overflow-y: auto;
2156
+ padding: 10px 10px 4px;
2157
+ display: flex;
2158
+ flex-direction: column;
2159
+ gap: 8px;
2160
+ }
2161
+ .widget_editorHistoryHint {
2162
+ font-size: 12px;
2163
+ color: var(--cf-muted);
2164
+ line-height: 1.5;
2165
+ margin: 0;
2166
+ }
2167
+ .widget_editorHistoryEntry {
2168
+ display: flex;
2169
+ flex-direction: column;
2170
+ gap: 3px;
2171
+ }
2172
+ .widget_editorHistoryInstruction {
2173
+ font-size: 12px;
2174
+ background: var(--cf-primary);
2175
+ color: #fff;
2176
+ border-radius: 10px 10px 2px 10px;
2177
+ padding: 6px 10px;
2178
+ line-height: 1.4;
2179
+ word-break: break-word;
2180
+ }
2181
+ .widget_editorHistoryApplied {
2182
+ font-size: 11px;
2183
+ color: #22c55e;
2184
+ padding-left: 4px;
2185
+ }
2186
+ .widget_editorHistoryPending {
2187
+ font-size: 11px;
2188
+ color: var(--cf-muted);
2189
+ padding-left: 4px;
2190
+ }
2191
+ .widget_editorHistoryError {
2192
+ font-size: 11px;
2193
+ color: var(--cf-error);
2194
+ padding-left: 4px;
2195
+ }
2196
+ .widget_editorRightFooter {
2197
+ display: flex;
2198
+ flex-direction: column;
2199
+ gap: 6px;
2200
+ padding: 8px 10px 10px;
2201
+ border-top: 1px solid var(--cf-border);
2202
+ flex-shrink: 0;
2203
+ }
2204
+ .widget_editorInstructionInput {
2205
+ width: 100%;
2206
+ box-sizing: border-box;
2207
+ resize: none;
2208
+ border: 1px solid var(--cf-border);
2209
+ border-radius: var(--cf-radius);
2210
+ padding: 7px 10px;
2211
+ font-family: var(--cf-font);
2212
+ font-size: 12px;
2213
+ line-height: 1.5;
2214
+ color: var(--cf-fg);
2215
+ background: var(--cf-bg);
2216
+ outline: none;
2217
+ }
2218
+ .widget_editorInstructionInput:focus {
2219
+ border-color: var(--cf-primary);
2220
+ }
2221
+ .widget_editorInstructionInput:disabled {
2222
+ opacity: 0.6;
2223
+ cursor: default;
2224
+ }
2225
+ .widget_editorApplyButton {
2226
+ width: 100%;
2227
+ padding: 7px 0;
2228
+ border: 1px solid var(--cf-primary);
2229
+ border-radius: var(--cf-radius);
2230
+ background: transparent;
2231
+ color: var(--cf-primary);
2232
+ font-size: 13px;
2233
+ font-weight: 500;
2234
+ cursor: pointer;
2235
+ }
2236
+ .widget_editorApplyButton:hover:not(:disabled) {
2237
+ background: var(--cf-primary);
2238
+ color: #fff;
2239
+ }
2240
+ .widget_editorApplyButton:disabled {
2241
+ opacity: 0.5;
2242
+ cursor: not-allowed;
2243
+ }
2244
+ .widget_editorDoneButton {
2245
+ width: 100%;
2246
+ padding: 8px 0;
2247
+ border: none;
2248
+ border-radius: var(--cf-radius);
2249
+ background: var(--cf-primary);
2250
+ color: #fff;
2251
+ font-size: 13px;
2252
+ font-weight: 500;
2253
+ cursor: pointer;
2254
+ }
2255
+ .widget_editorDoneButton:hover:not(:disabled) {
2256
+ filter: brightness(1.08);
2257
+ }
2258
+ .widget_editorDoneButton:disabled {
2259
+ opacity: 0.5;
2260
+ cursor: not-allowed;
2261
+ }
2262
+ .widget_editorNoAssistantFooter {
2263
+ display: flex;
2264
+ flex-direction: column;
2265
+ padding: 10px;
2266
+ border-left: 1px solid var(--cf-border);
2267
+ justify-content: flex-end;
2268
+ width: 160px;
2269
+ flex-shrink: 0;
2270
+ }
2271
+ .widget_editorHeaderActions {
2272
+ display: flex;
2273
+ align-items: center;
2274
+ gap: 6px;
2275
+ flex-shrink: 0;
2276
+ }
2277
+ .widget_editorDownloadWrap {
2278
+ position: relative;
2279
+ flex-shrink: 0;
2280
+ }
2281
+ .widget_editorDownloadBtn {
2282
+ padding: 3px 10px;
2283
+ font-size: 12px;
2284
+ border: 1px solid var(--cf-border);
2285
+ border-radius: var(--cf-radius);
2286
+ background: transparent;
2287
+ color: var(--cf-muted);
2288
+ cursor: pointer;
2289
+ line-height: 1.4;
2290
+ white-space: nowrap;
2291
+ }
2292
+ .widget_editorDownloadBtn:hover {
2293
+ background: var(--cf-surface);
2294
+ color: var(--cf-fg);
2295
+ }
2296
+ .widget_editorDownloadMenu {
2297
+ position: absolute;
2298
+ right: 0;
2299
+ top: calc(100% + 4px);
2300
+ background: var(--cf-bg);
2301
+ border: 1px solid var(--cf-border);
2302
+ border-radius: var(--cf-radius);
2303
+ box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
2304
+ z-index: 100;
2305
+ min-width: 170px;
2306
+ display: flex;
2307
+ flex-direction: column;
2308
+ overflow: hidden;
2309
+ }
2310
+ .widget_editorDownloadItem {
2311
+ padding: 9px 14px;
2312
+ font-size: 13px;
2313
+ text-align: left;
2314
+ background: transparent;
2315
+ border: none;
2316
+ color: var(--cf-fg);
2317
+ cursor: pointer;
2318
+ line-height: 1.4;
2319
+ border-top: 1px solid var(--cf-border);
2320
+ font-family: var(--cf-font);
2321
+ }
2322
+ .widget_editorDownloadItem:first-child {
2323
+ border-top: none;
2324
+ }
2325
+ .widget_editorDownloadItem:hover {
2326
+ background: var(--cf-surface);
2327
+ }
2328
+ .widget_imageEditorWrap {
2329
+ display: flex;
2330
+ flex-direction: column;
2331
+ flex: 1;
2332
+ min-height: 0;
2333
+ overflow: hidden;
2334
+ }
2335
+ .widget_imageEditorReferenceSection {
2336
+ padding: 10px 14px 0;
2337
+ display: flex;
2338
+ flex-direction: column;
2339
+ gap: 4px;
2340
+ flex-shrink: 0;
2341
+ }
2342
+ .widget_imageEditorReferenceLabel {
2343
+ font-size: 11px;
2344
+ font-weight: 600;
2345
+ color: var(--cf-muted);
2346
+ text-transform: uppercase;
2347
+ letter-spacing: 0.05em;
2348
+ }
2349
+ .widget_imageEditorReferenceImg {
2350
+ max-height: 120px;
2351
+ max-width: 100%;
2352
+ object-fit: contain;
2353
+ border-radius: var(--cf-radius);
2354
+ border: 1px solid var(--cf-border);
2355
+ }
2356
+ .widget_imageEditorReferenceSelector {
2357
+ padding: 10px 14px;
2358
+ display: flex;
2359
+ flex-direction: column;
2360
+ gap: 8px;
2361
+ flex-shrink: 0;
2362
+ border-bottom: 1px solid var(--cf-border);
2363
+ }
2364
+ .widget_imageEditorReferenceSelectorLabel {
2365
+ font-size: 11px;
2366
+ font-weight: 600;
2367
+ color: var(--cf-muted);
2368
+ text-transform: uppercase;
2369
+ letter-spacing: 0.05em;
2370
+ }
2371
+ .widget_imageEditorReferenceSelectorOptions {
2372
+ display: flex;
2373
+ flex-direction: column;
2374
+ gap: 6px;
2375
+ font-size: 12px;
2376
+ color: var(--cf-fg);
2377
+ }
2378
+ .widget_imageEditorReferenceSelectorGroup {
2379
+ display: flex;
2380
+ flex-direction: column;
2381
+ gap: 4px;
2382
+ }
2383
+ .widget_imageEditorReferenceSelectorGroupLabel {
2384
+ font-size: 10px;
2385
+ font-weight: 600;
2386
+ color: var(--cf-muted);
2387
+ padding-left: 20px;
2388
+ text-transform: uppercase;
2389
+ letter-spacing: 0.05em;
2390
+ opacity: 0.7;
2391
+ }
2392
+ .widget_imageEditorReferenceSelectorOption {
2393
+ display: flex;
2394
+ align-items: center;
2395
+ gap: 8px;
2396
+ cursor: pointer;
2397
+ padding: 4px 0;
2398
+ user-select: none;
2399
+ }
2400
+ .widget_imageEditorReferenceSelectorOption input[type=radio] {
2401
+ cursor: pointer;
2402
+ accent-color: var(--cf-primary);
2403
+ }
2404
+ .widget_imageEditorReferenceSelectorOption input[type=radio]:disabled {
2405
+ opacity: 0.5;
2406
+ cursor: not-allowed;
2407
+ }
2408
+ .widget_imageEditorReferenceSelectorOption span {
2409
+ flex: 1;
2410
+ }
2411
+ .widget_imageEditorReferenceSelectorOption:has(input:disabled) {
2412
+ opacity: 0.5;
2413
+ cursor: not-allowed;
2414
+ }
2415
+ .widget_imageEditorReferencePreview {
2416
+ padding: 6px 0;
2417
+ display: flex;
2418
+ justify-content: flex-start;
2419
+ }
2420
+ .widget_imageEditorReferencePreview img {
2421
+ max-height: 80px;
2422
+ max-width: 120px;
2423
+ object-fit: contain;
2424
+ border-radius: var(--cf-radius);
2425
+ border: 1px solid var(--cf-border);
2426
+ }
2427
+ .widget_imageEditorNewReferenceInput {
2428
+ width: 100%;
2429
+ box-sizing: border-box;
2430
+ border: 1px solid var(--cf-border);
2431
+ border-radius: var(--cf-radius);
2432
+ padding: 6px 8px;
2433
+ font-family: var(--cf-font);
2434
+ font-size: 12px;
2435
+ color: var(--cf-fg);
2436
+ background: var(--cf-bg);
2437
+ outline: none;
2438
+ }
2439
+ .widget_imageEditorNewReferenceInput:focus {
2440
+ border-color: var(--cf-primary);
2441
+ }
2442
+ .widget_imageEditorNewReferenceInput:disabled {
2443
+ opacity: 0.6;
2444
+ cursor: default;
2445
+ }
2446
+ .widget_imageEditorPromptArea {
2447
+ display: flex;
2448
+ flex-direction: column;
2449
+ gap: 6px;
2450
+ padding: 10px 14px;
2451
+ flex-shrink: 0;
2452
+ }
2453
+ .widget_imageEditorPromptLabel {
2454
+ font-size: 12px;
2455
+ font-weight: 500;
2456
+ color: var(--cf-fg);
2457
+ }
2458
+ .widget_imageEditorPromptInput {
2459
+ width: 100%;
2460
+ box-sizing: border-box;
2461
+ resize: none;
2462
+ border: 1px solid var(--cf-border);
2463
+ border-radius: var(--cf-radius);
2464
+ padding: 8px 10px;
2465
+ font-family: var(--cf-font);
2466
+ font-size: 13px;
2467
+ line-height: 1.5;
2468
+ color: var(--cf-fg);
2469
+ background: var(--cf-bg);
2470
+ outline: none;
2471
+ min-height: 72px;
2472
+ }
2473
+ .widget_imageEditorPromptInput:focus {
2474
+ border-color: var(--cf-primary);
2475
+ }
2476
+ .widget_imageEditorPromptInput:disabled {
2477
+ opacity: 0.6;
2478
+ cursor: default;
2479
+ }
2480
+ .widget_imageEditorGenerateBtn {
2481
+ align-self: flex-end;
2482
+ padding: 7px 18px;
2483
+ border: 1px solid var(--cf-primary);
2484
+ border-radius: var(--cf-radius);
2485
+ background: transparent;
2486
+ color: var(--cf-primary);
2487
+ font-size: 13px;
2488
+ font-weight: 500;
2489
+ cursor: pointer;
2490
+ white-space: nowrap;
2491
+ }
2492
+ .widget_imageEditorGenerateBtn:hover:not(:disabled) {
2493
+ background: var(--cf-primary);
2494
+ color: #fff;
2495
+ }
2496
+ .widget_imageEditorGenerateBtn:disabled {
2497
+ opacity: 0.5;
2498
+ cursor: not-allowed;
2499
+ }
2500
+ .widget_imageEditorCanvas {
2501
+ flex: 1;
2502
+ min-height: 0;
2503
+ display: flex;
2504
+ align-items: center;
2505
+ justify-content: center;
2506
+ position: relative;
2507
+ overflow: hidden;
2508
+ border-top: 1px solid var(--cf-border);
2509
+ border-bottom: 1px solid var(--cf-border);
2510
+ background: var(--cf-surface);
2511
+ }
2512
+ .widget_imageEditorImg {
2513
+ max-width: 100%;
2514
+ max-height: 100%;
2515
+ object-fit: contain;
2516
+ }
2517
+ .widget_imageEditorPlaceholder {
2518
+ font-size: 13px;
2519
+ color: var(--cf-muted);
2520
+ text-align: center;
2521
+ padding: 20px;
2522
+ line-height: 1.6;
2523
+ }
2524
+ .widget_imageEditorGenerating {
2525
+ position: absolute;
2526
+ inset: 0;
2527
+ display: flex;
2528
+ flex-direction: column;
2529
+ align-items: center;
2530
+ justify-content: center;
2531
+ gap: 10px;
2532
+ background: rgba(0, 0, 0, 0.35);
2533
+ }
2534
+ .widget_imageEditorSpinner {
2535
+ width: 32px;
2536
+ height: 32px;
2537
+ border: 3px solid rgba(255, 255, 255, 0.3);
2538
+ border-top-color: #fff;
2539
+ border-radius: 50%;
2540
+ animation: widget_imageSpinRot 0.7s linear infinite;
2541
+ }
2542
+ @keyframes widget_imageSpinRot {
2543
+ to {
2544
+ transform: rotate(360deg);
2545
+ }
2546
+ }
2547
+ .widget_imageEditorGeneratingLabel {
2548
+ font-size: 13px;
2549
+ color: #fff;
2550
+ font-weight: 500;
2551
+ }
2552
+ .widget_imageEditorError {
2553
+ padding: 8px 14px;
2554
+ font-size: 12px;
2555
+ color: var(--cf-error);
2556
+ background: color-mix(in srgb, var(--cf-error) 8%, transparent);
2557
+ border-top: 1px solid color-mix(in srgb, var(--cf-error) 25%, transparent);
2558
+ flex-shrink: 0;
2559
+ }
2560
+ .widget_imageEditorFooter {
2561
+ display: flex;
2562
+ align-items: center;
2563
+ justify-content: flex-end;
2564
+ gap: 10px;
2565
+ padding: 10px 14px;
2566
+ flex-shrink: 0;
2567
+ }
2568
+ .widget_imageEditorDownloadBtn {
2569
+ padding: 7px 14px;
2570
+ font-size: 13px;
2571
+ border: 1px solid var(--cf-border);
2572
+ border-radius: var(--cf-radius);
2573
+ background: transparent;
2574
+ color: var(--cf-muted);
2575
+ cursor: pointer;
2576
+ text-decoration: none;
2577
+ display: inline-block;
2578
+ }
2579
+ .widget_imageEditorDownloadBtn:hover {
2580
+ background: var(--cf-surface);
2581
+ color: var(--cf-fg);
2582
+ }
2583
+ .widget_imageEditorDoneBtn {
2584
+ padding: 8px 22px;
2585
+ border: none;
2586
+ border-radius: var(--cf-radius);
2587
+ background: var(--cf-primary);
2588
+ color: #fff;
2589
+ font-size: 13px;
2590
+ font-weight: 500;
2591
+ cursor: pointer;
2592
+ }
2593
+ .widget_imageEditorDoneBtn:hover:not(:disabled) {
2594
+ filter: brightness(1.08);
2595
+ }
2596
+ .widget_imageEditorDoneBtn:disabled {
2597
+ opacity: 0.5;
2598
+ cursor: not-allowed;
2599
+ }
2600
+ .widget_documentCard {
2601
+ display: flex;
2602
+ flex-direction: column;
2603
+ gap: 10px;
2604
+ max-width: 88%;
2605
+ padding: 12px;
2606
+ border: 1px solid var(--cf-border);
2607
+ border-radius: var(--cf-radius);
2608
+ background: var(--cf-surface);
2609
+ font-family: var(--cf-font);
2610
+ }
2611
+ .widget_documentCardHeader {
2612
+ display: flex;
2613
+ align-items: center;
2614
+ gap: 8px;
2615
+ }
2616
+ .widget_documentCardIcon {
2617
+ font-size: 16px;
2618
+ line-height: 1;
2619
+ }
2620
+ .widget_documentCardName {
2621
+ flex: 1;
2622
+ min-width: 0;
2623
+ font-size: 13px;
2624
+ font-weight: 600;
2625
+ color: var(--cf-fg);
2626
+ overflow: hidden;
2627
+ text-overflow: ellipsis;
2628
+ white-space: nowrap;
2629
+ }
2630
+ .widget_documentCardToggle {
2631
+ flex-shrink: 0;
2632
+ padding: 3px 10px;
2633
+ font-size: 12px;
2634
+ border: 1px solid var(--cf-border);
2635
+ border-radius: var(--cf-radius);
2636
+ background: transparent;
2637
+ color: var(--cf-muted);
2638
+ cursor: pointer;
2639
+ line-height: 1.4;
2640
+ }
2641
+ .widget_documentCardToggle:hover {
2642
+ background: var(--cf-bg);
2643
+ color: var(--cf-fg);
2644
+ }
2645
+ .widget_documentCardPreview {
2646
+ width: 100%;
2647
+ height: 360px;
2648
+ border: 1px solid var(--cf-border);
2649
+ border-radius: var(--cf-radius);
2650
+ background: var(--cf-bg);
2651
+ }
2652
+ .widget_documentCardPreviewText {
2653
+ max-height: 360px;
2654
+ overflow: auto;
2655
+ padding: 12px;
2656
+ border: 1px solid var(--cf-border);
2657
+ border-radius: var(--cf-radius);
2658
+ background: var(--cf-bg);
2659
+ color: var(--cf-fg);
2660
+ font-size: 13px;
2661
+ line-height: 1.5;
2662
+ white-space: pre-wrap;
2663
+ word-break: break-word;
2664
+ }
2665
+ .widget_documentCardActions {
2666
+ display: flex;
2667
+ flex-wrap: wrap;
2668
+ gap: 8px;
2669
+ }
2670
+ .widget_documentCardButton {
2671
+ padding: 6px 14px;
2672
+ font-size: 13px;
2673
+ font-weight: 500;
2674
+ border: none;
2675
+ border-radius: var(--cf-radius);
2676
+ background: var(--cf-primary);
2677
+ color: #fff;
2678
+ cursor: pointer;
2679
+ line-height: 1.4;
2680
+ }
2681
+ .widget_documentCardButton:hover {
2682
+ filter: brightness(1.08);
2683
+ }
2684
+ .widget_connectionOnboarding {
2685
+ display: flex;
2686
+ flex-direction: column;
2687
+ padding: 1.5rem;
2688
+ gap: 1.25rem;
2689
+ height: 100%;
2690
+ overflow-y: auto;
2691
+ }
2692
+ .widget_connectionOnboardingHeader {
2693
+ text-align: center;
2694
+ }
2695
+ .widget_connectionOnboardingTitle {
2696
+ margin: 0 0 0.5rem 0;
2697
+ font-size: 18px;
2698
+ font-weight: 600;
2699
+ color: var(--cf-fg);
2700
+ }
2701
+ .widget_connectionOnboardingSubtitle {
2702
+ margin: 0;
2703
+ font-size: 14px;
2704
+ color: var(--cf-muted);
2705
+ }
2706
+ .widget_connectionList {
2707
+ display: flex;
2708
+ flex-direction: column;
2709
+ gap: 0.75rem;
2710
+ }
2711
+ .widget_connectionItem {
2712
+ display: flex;
2713
+ align-items: center;
2714
+ justify-content: space-between;
2715
+ gap: 1rem;
2716
+ padding: 1rem;
2717
+ background: var(--cf-surface);
2718
+ border: 1px solid var(--cf-border);
2719
+ border-radius: var(--cf-radius);
2720
+ }
2721
+ .widget_connectionInfo {
2722
+ flex: 1;
2723
+ min-width: 0;
2724
+ }
2725
+ .widget_connectionName {
2726
+ font-size: 14px;
2727
+ font-weight: 500;
2728
+ color: var(--cf-fg);
2729
+ }
2730
+ .widget_connectionDescription {
2731
+ margin-top: 0.25rem;
2732
+ font-size: 12px;
2733
+ color: var(--cf-muted);
2734
+ }
2735
+ .widget_connectButton {
2736
+ flex-shrink: 0;
2737
+ padding: 0.5rem 1rem;
2738
+ font-size: 13px;
2739
+ font-weight: 500;
2740
+ border: none;
2741
+ border-radius: var(--cf-radius);
2742
+ background: var(--cf-primary);
2743
+ color: #fff;
2744
+ cursor: pointer;
2745
+ transition: filter 0.15s ease;
2746
+ }
2747
+ .widget_connectButton:hover:not(:disabled) {
2748
+ filter: brightness(1.1);
2749
+ }
2750
+ .widget_connectButton:disabled {
2751
+ opacity: 0.5;
2752
+ cursor: not-allowed;
2753
+ }
2754
+ .widget_skipButton {
2755
+ margin-top: auto;
2756
+ padding: 0.75rem;
2757
+ font-size: 13px;
2758
+ color: var(--cf-muted);
2759
+ background: transparent;
2760
+ border: 1px solid var(--cf-border);
2761
+ border-radius: var(--cf-radius);
2762
+ cursor: pointer;
2763
+ transition: background 0.15s ease;
2764
+ }
2765
+ .widget_skipButton:hover {
2766
+ background: var(--cf-surface);
2767
+ }
2768
+ .widget_connectedAccountsSection {
2769
+ margin-top: 0.5rem;
2770
+ padding-top: 1rem;
2771
+ border-top: 1px solid var(--cf-border);
2772
+ }
2773
+ .widget_connectedAccountsHeader {
2774
+ font-size: 12px;
2775
+ font-weight: 500;
2776
+ color: var(--cf-muted);
2777
+ margin-bottom: 0.75rem;
2778
+ text-transform: uppercase;
2779
+ letter-spacing: 0.05em;
2780
+ }
2781
+ .widget_connectionItemConnected {
2782
+ display: flex;
2783
+ align-items: center;
2784
+ justify-content: space-between;
2785
+ gap: 1rem;
2786
+ padding: 0.75rem 1rem;
2787
+ background: var(--cf-surface);
2788
+ border: 1px solid var(--cf-border);
2789
+ border-radius: var(--cf-radius);
2790
+ }
2791
+ .widget_connectedBadge {
2792
+ display: inline-block;
2793
+ margin-left: 0.5rem;
2794
+ padding: 0.125rem 0.5rem;
2795
+ font-size: 11px;
2796
+ font-weight: 500;
2797
+ color: #059669;
2798
+ background: rgba(5, 150, 105, 0.1);
2799
+ border-radius: 9999px;
2800
+ }
2801
+ .widget_connectionActions {
2802
+ display: flex;
2803
+ gap: 0.5rem;
2804
+ flex-shrink: 0;
2805
+ }
2806
+ .widget_switchButton {
2807
+ padding: 0.375rem 0.75rem;
2808
+ font-size: 12px;
2809
+ font-weight: 500;
2810
+ color: var(--cf-fg);
2811
+ background: var(--cf-surface);
2812
+ border: 1px solid var(--cf-border);
2813
+ border-radius: var(--cf-radius);
2814
+ cursor: pointer;
2815
+ transition: background 0.15s ease, border-color 0.15s ease;
2816
+ }
2817
+ .widget_switchButton:hover {
2818
+ background: var(--cf-bg);
2819
+ border-color: var(--cf-muted);
2820
+ }
2821
+ .widget_disconnectButton {
2822
+ padding: 0.375rem 0.75rem;
2823
+ font-size: 12px;
2824
+ font-weight: 500;
2825
+ color: #dc2626;
2826
+ background: transparent;
2827
+ border: 1px solid #fecaca;
2828
+ border-radius: var(--cf-radius);
2829
+ cursor: pointer;
2830
+ transition: background 0.15s ease, border-color 0.15s ease;
2831
+ }
2832
+ .widget_disconnectButton:hover:not(:disabled) {
2833
+ background: #fef2f2;
2834
+ border-color: #dc2626;
2835
+ }
2836
+ .widget_disconnectButton:disabled {
2837
+ opacity: 0.5;
2838
+ cursor: not-allowed;
2839
+ }
2840
+ /*# sourceMappingURL=index.css.map */