@orangecatai/adgen-canvas 0.0.2 → 0.0.3

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.
@@ -9393,5 +9393,736 @@ body.excalidraw-cursor-resize * {
9393
9393
  }
9394
9394
  }
9395
9395
  }
9396
+
9397
+ /* components/AIChatPanel.scss */
9398
+ .excalidraw .acp {
9399
+ position: fixed;
9400
+ right: 0;
9401
+ top: 0;
9402
+ height: 100vh;
9403
+ width: 380px;
9404
+ z-index: var(--zIndex-modal);
9405
+ pointer-events: all;
9406
+ overflow: hidden;
9407
+ font-family:
9408
+ "Assistant",
9409
+ system-ui,
9410
+ -apple-system,
9411
+ sans-serif;
9412
+ font-size: 14px;
9413
+ color: #111;
9414
+ }
9415
+ .excalidraw .acp input[type=file] {
9416
+ display: none !important;
9417
+ }
9418
+ .excalidraw .acp textarea,
9419
+ .excalidraw .acp input[type=text],
9420
+ .excalidraw .acp input[type=search] {
9421
+ all: unset !important;
9422
+ box-sizing: border-box !important;
9423
+ }
9424
+ .excalidraw .acp button {
9425
+ all: unset !important;
9426
+ box-sizing: border-box !important;
9427
+ cursor: pointer !important;
9428
+ }
9429
+ .excalidraw .acp .acp-panel {
9430
+ display: flex;
9431
+ flex-direction: column;
9432
+ height: 100%;
9433
+ width: 100%;
9434
+ overflow: hidden;
9435
+ background: #fff;
9436
+ border-left: 1px solid rgba(0, 0, 0, 0.07);
9437
+ box-shadow: -2px 0 20px rgba(0, 0, 0, 0.06);
9438
+ animation: acp-slide-in 0.18s ease;
9439
+ }
9440
+ @keyframes acp-slide-in {
9441
+ from {
9442
+ transform: translateX(100%);
9443
+ opacity: 0;
9444
+ }
9445
+ to {
9446
+ transform: translateX(0);
9447
+ opacity: 1;
9448
+ }
9449
+ }
9450
+ .excalidraw .acp .acp-header {
9451
+ position: relative;
9452
+ display: flex;
9453
+ align-items: center;
9454
+ justify-content: space-between;
9455
+ padding: 0 8px;
9456
+ height: 48px;
9457
+ border-bottom: 1px solid rgba(0, 0, 0, 0.07);
9458
+ flex-shrink: 0;
9459
+ }
9460
+ .excalidraw .acp .acp-title-btn {
9461
+ display: flex !important;
9462
+ align-items: center !important;
9463
+ gap: 5px !important;
9464
+ padding: 4px 8px !important;
9465
+ border-radius: 7px !important;
9466
+ font-size: 14px !important;
9467
+ font-weight: 500 !important;
9468
+ color: #111 !important;
9469
+ transition: background 0.1s !important;
9470
+ min-width: 0 !important;
9471
+ max-width: 200px !important;
9472
+ }
9473
+ .excalidraw .acp .acp-title-btn span {
9474
+ overflow: hidden;
9475
+ text-overflow: ellipsis;
9476
+ white-space: nowrap;
9477
+ }
9478
+ .excalidraw .acp .acp-title-btn svg {
9479
+ flex-shrink: 0;
9480
+ color: #888;
9481
+ }
9482
+ .excalidraw .acp .acp-title-btn:hover {
9483
+ background: rgba(0, 0, 0, 0.05) !important;
9484
+ }
9485
+ .excalidraw .acp .acp-header-right {
9486
+ display: flex;
9487
+ align-items: center;
9488
+ gap: 2px;
9489
+ }
9490
+ .excalidraw .acp .acp-icon-btn {
9491
+ display: flex !important;
9492
+ align-items: center !important;
9493
+ justify-content: center !important;
9494
+ width: 30px !important;
9495
+ height: 30px !important;
9496
+ border-radius: 7px !important;
9497
+ color: #888 !important;
9498
+ transition: background 0.1s, color 0.1s !important;
9499
+ }
9500
+ .excalidraw .acp .acp-icon-btn:hover {
9501
+ background: rgba(0, 0, 0, 0.06) !important;
9502
+ color: #333 !important;
9503
+ }
9504
+ .excalidraw .acp .acp-history-dropdown {
9505
+ position: absolute;
9506
+ top: calc(100% + 4px);
9507
+ left: 8px;
9508
+ width: 280px;
9509
+ background: #fff;
9510
+ border-radius: 12px;
9511
+ box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.06);
9512
+ z-index: 10;
9513
+ overflow: hidden;
9514
+ }
9515
+ .excalidraw .acp .acp-history-search {
9516
+ display: flex !important;
9517
+ align-items: center !important;
9518
+ gap: 7px !important;
9519
+ padding: 10px 12px !important;
9520
+ border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
9521
+ }
9522
+ .excalidraw .acp .acp-history-search svg {
9523
+ color: #bbb;
9524
+ flex-shrink: 0;
9525
+ }
9526
+ .excalidraw .acp .acp-history-search input {
9527
+ flex: 1 !important;
9528
+ font-family: inherit !important;
9529
+ font-size: 13px !important;
9530
+ color: #111 !important;
9531
+ background: transparent !important;
9532
+ }
9533
+ .excalidraw .acp .acp-history-search input::placeholder {
9534
+ color: #bbb !important;
9535
+ }
9536
+ .excalidraw .acp .acp-history-list {
9537
+ max-height: 280px;
9538
+ overflow-y: auto;
9539
+ padding: 4px;
9540
+ }
9541
+ .excalidraw .acp .acp-history-item {
9542
+ display: flex !important;
9543
+ align-items: center !important;
9544
+ gap: 8px !important;
9545
+ width: 100% !important;
9546
+ padding: 7px 10px !important;
9547
+ border-radius: 7px !important;
9548
+ font-family: inherit !important;
9549
+ font-size: 13px !important;
9550
+ color: #222 !important;
9551
+ background: transparent !important;
9552
+ text-align: left !important;
9553
+ transition: background 0.1s !important;
9554
+ }
9555
+ .excalidraw .acp .acp-history-item svg {
9556
+ color: #bbb;
9557
+ flex-shrink: 0;
9558
+ }
9559
+ .excalidraw .acp .acp-history-item span {
9560
+ overflow: hidden;
9561
+ text-overflow: ellipsis;
9562
+ white-space: nowrap;
9563
+ flex: 1;
9564
+ }
9565
+ .excalidraw .acp .acp-history-item:hover {
9566
+ background: rgba(0, 0, 0, 0.04) !important;
9567
+ }
9568
+ .excalidraw .acp .acp-history-item--new {
9569
+ color: #6350dc !important;
9570
+ }
9571
+ .excalidraw .acp .acp-history-item--new svg {
9572
+ color: #6350dc;
9573
+ }
9574
+ .excalidraw .acp .acp-history-empty {
9575
+ padding: 12px;
9576
+ text-align: center;
9577
+ font-size: 12px;
9578
+ color: #bbb;
9579
+ }
9580
+ .excalidraw .acp .acp-messages-wrap {
9581
+ flex: 1;
9582
+ min-height: 0;
9583
+ min-width: 0;
9584
+ position: relative;
9585
+ overflow: hidden;
9586
+ }
9587
+ .excalidraw .acp .acp-empty {
9588
+ display: flex;
9589
+ flex-direction: column;
9590
+ align-items: center;
9591
+ justify-content: center;
9592
+ height: 100%;
9593
+ gap: 20px;
9594
+ padding: 32px 24px;
9595
+ text-align: center;
9596
+ }
9597
+ .excalidraw .acp .acp-empty-icon {
9598
+ width: 52px;
9599
+ height: 52px;
9600
+ border-radius: 50%;
9601
+ background: rgba(99, 80, 220, 0.08);
9602
+ display: flex;
9603
+ align-items: center;
9604
+ justify-content: center;
9605
+ color: #6350dc;
9606
+ }
9607
+ .excalidraw .acp .acp-empty-title {
9608
+ font-size: 15px;
9609
+ font-weight: 600;
9610
+ color: #111;
9611
+ margin-bottom: 4px;
9612
+ }
9613
+ .excalidraw .acp .acp-empty-sub {
9614
+ font-size: 13px;
9615
+ color: #999;
9616
+ line-height: 1.5;
9617
+ }
9618
+ .excalidraw .acp .acp-chips {
9619
+ display: flex;
9620
+ flex-wrap: wrap;
9621
+ gap: 8px;
9622
+ justify-content: center;
9623
+ max-width: 300px;
9624
+ }
9625
+ .excalidraw .acp .acp-chip {
9626
+ display: flex !important;
9627
+ align-items: center !important;
9628
+ padding: 6px 14px !important;
9629
+ border-radius: 20px !important;
9630
+ border: 1px solid rgba(0, 0, 0, 0.1) !important;
9631
+ font-family: inherit !important;
9632
+ font-size: 12.5px !important;
9633
+ font-weight: 500 !important;
9634
+ color: #555 !important;
9635
+ background: #fafafa !important;
9636
+ transition: background 0.1s, border-color 0.1s !important;
9637
+ white-space: nowrap !important;
9638
+ }
9639
+ .excalidraw .acp .acp-chip:hover {
9640
+ background: rgba(99, 80, 220, 0.06) !important;
9641
+ border-color: rgba(99, 80, 220, 0.25) !important;
9642
+ color: #6350dc !important;
9643
+ }
9644
+ .excalidraw .acp .acp-chat-root {
9645
+ height: 100% !important;
9646
+ width: 100% !important;
9647
+ max-width: 100% !important;
9648
+ display: flex !important;
9649
+ flex-direction: column !important;
9650
+ overflow-y: auto !important;
9651
+ overflow-x: hidden !important;
9652
+ }
9653
+ .excalidraw .acp .acp-chat-content {
9654
+ display: flex !important;
9655
+ flex-direction: column !important;
9656
+ width: 100% !important;
9657
+ max-width: 100% !important;
9658
+ box-sizing: border-box !important;
9659
+ padding: 24px 20px 12px !important;
9660
+ gap: 2px !important;
9661
+ }
9662
+ .excalidraw .acp .acp-msg {
9663
+ display: flex !important;
9664
+ flex-direction: row !important;
9665
+ width: 100% !important;
9666
+ max-width: 100% !important;
9667
+ min-width: 0 !important;
9668
+ box-sizing: border-box !important;
9669
+ gap: 0 !important;
9670
+ margin-bottom: 2px !important;
9671
+ }
9672
+ .excalidraw .acp .acp-msg--assistant {
9673
+ justify-content: flex-start !important;
9674
+ }
9675
+ .excalidraw .acp .acp-msg--user {
9676
+ justify-content: flex-end !important;
9677
+ }
9678
+ .excalidraw .acp .acp-msg-inner {
9679
+ display: flex;
9680
+ flex-direction: column;
9681
+ gap: 2px;
9682
+ min-width: 0;
9683
+ max-width: 100%;
9684
+ }
9685
+ .acp-msg--user .excalidraw .acp .acp-msg-inner {
9686
+ align-items: flex-end;
9687
+ max-width: 80%;
9688
+ }
9689
+ .acp-msg--assistant .excalidraw .acp .acp-msg-inner {
9690
+ align-items: flex-start;
9691
+ width: 100%;
9692
+ max-width: 100%;
9693
+ }
9694
+ .excalidraw .acp .acp-msg-inner .acp-msg-actions {
9695
+ opacity: 0;
9696
+ transition: opacity 0.15s ease;
9697
+ }
9698
+ .excalidraw .acp .acp-msg-inner:hover .acp-msg-actions {
9699
+ opacity: 1;
9700
+ }
9701
+ .excalidraw .acp .acp-msg-actions--visible {
9702
+ opacity: 1 !important;
9703
+ }
9704
+ .excalidraw .acp .acp-content-assistant {
9705
+ background: transparent !important;
9706
+ border-radius: 0 !important;
9707
+ padding: 6px 0 !important;
9708
+ font-size: 14px !important;
9709
+ line-height: 1.6 !important;
9710
+ color: #111 !important;
9711
+ width: 100% !important;
9712
+ max-width: 100% !important;
9713
+ }
9714
+ .excalidraw .acp .acp-content-assistant p {
9715
+ margin: 0 0 8px;
9716
+ }
9717
+ .excalidraw .acp .acp-content-assistant p:last-child {
9718
+ margin-bottom: 0;
9719
+ }
9720
+ .excalidraw .acp .acp-content-assistant code {
9721
+ font-size: 12.5px;
9722
+ background: #f4f4f4;
9723
+ padding: 1px 5px;
9724
+ border-radius: 4px;
9725
+ }
9726
+ .excalidraw .acp .acp-content-assistant pre {
9727
+ background: #f4f4f4;
9728
+ padding: 10px 12px;
9729
+ border-radius: 8px;
9730
+ overflow-x: auto;
9731
+ margin: 8px 0;
9732
+ }
9733
+ .excalidraw .acp .acp-content-assistant ul,
9734
+ .excalidraw .acp .acp-content-assistant ol {
9735
+ padding-left: 18px;
9736
+ margin: 4px 0;
9737
+ }
9738
+ .excalidraw .acp .acp-content-assistant li {
9739
+ margin-bottom: 2px;
9740
+ }
9741
+ .excalidraw .acp .acp-content-assistant strong {
9742
+ font-weight: 600;
9743
+ }
9744
+ .excalidraw .acp .acp-content-user {
9745
+ background: #1c1c1c !important;
9746
+ color: #fff !important;
9747
+ border-radius: 20px 20px 4px 20px !important;
9748
+ padding: 10px 16px !important;
9749
+ font-size: 14px !important;
9750
+ line-height: 1.5 !important;
9751
+ max-width: 85% !important;
9752
+ word-break: break-word !important;
9753
+ white-space: pre-wrap !important;
9754
+ }
9755
+ .excalidraw .acp .acp-msg-actions {
9756
+ display: flex !important;
9757
+ align-items: center !important;
9758
+ gap: 0 !important;
9759
+ margin-left: -4px !important;
9760
+ }
9761
+ .acp-msg--user .excalidraw .acp .acp-msg-actions {
9762
+ margin-left: 0 !important;
9763
+ margin-right: -4px !important;
9764
+ }
9765
+ .excalidraw .acp .acp-action-btn {
9766
+ display: flex !important;
9767
+ align-items: center !important;
9768
+ justify-content: center !important;
9769
+ width: 28px !important;
9770
+ height: 28px !important;
9771
+ border-radius: 50% !important;
9772
+ color: #aaa !important;
9773
+ transition: background 0.1s, color 0.1s !important;
9774
+ }
9775
+ .excalidraw .acp .acp-action-btn:hover {
9776
+ background: rgba(0, 0, 0, 0.07) !important;
9777
+ color: #444 !important;
9778
+ }
9779
+ .excalidraw .acp .acp-loading-dots {
9780
+ display: flex;
9781
+ align-items: center;
9782
+ gap: 4px;
9783
+ padding: 12px 4px;
9784
+ }
9785
+ .excalidraw .acp .acp-loading-dots span {
9786
+ width: 6px;
9787
+ height: 6px;
9788
+ border-radius: 50%;
9789
+ background: #ccc;
9790
+ animation: acp-dot 1.2s ease-in-out infinite;
9791
+ }
9792
+ .excalidraw .acp .acp-loading-dots span:nth-child(2) {
9793
+ animation-delay: 0.2s;
9794
+ }
9795
+ .excalidraw .acp .acp-loading-dots span:nth-child(3) {
9796
+ animation-delay: 0.4s;
9797
+ }
9798
+ @keyframes acp-dot {
9799
+ 0%, 60%, 100% {
9800
+ transform: translateY(0);
9801
+ opacity: 0.5;
9802
+ }
9803
+ 30% {
9804
+ transform: translateY(-5px);
9805
+ opacity: 1;
9806
+ }
9807
+ }
9808
+ .excalidraw .acp .acp-scroll-anchor {
9809
+ position: absolute;
9810
+ bottom: 16px;
9811
+ right: 16px;
9812
+ }
9813
+ .excalidraw .acp .acp-scroll-btn {
9814
+ width: 34px !important;
9815
+ height: 34px !important;
9816
+ border-radius: 50% !important;
9817
+ background: #fff !important;
9818
+ border: 1px solid rgba(0, 0, 0, 0.1) !important;
9819
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
9820
+ color: #555 !important;
9821
+ display: flex !important;
9822
+ align-items: center !important;
9823
+ justify-content: center !important;
9824
+ transition:
9825
+ background 0.1s,
9826
+ transform 0.15s,
9827
+ opacity 0.15s !important;
9828
+ }
9829
+ .excalidraw .acp .acp-scroll-btn:hover {
9830
+ background: #f5f5f5 !important;
9831
+ }
9832
+ .excalidraw .acp .acp-scroll-btn svg {
9833
+ width: 16px !important;
9834
+ height: 16px !important;
9835
+ }
9836
+ .excalidraw .acp .acp-error {
9837
+ margin: 0 12px 8px;
9838
+ padding: 8px 12px;
9839
+ background: #fff0f0;
9840
+ border: 1px solid #ffd0d0;
9841
+ border-radius: 8px;
9842
+ font-size: 12.5px;
9843
+ color: #c0392b;
9844
+ flex-shrink: 0;
9845
+ }
9846
+ .excalidraw .acp .acp-input-area {
9847
+ padding: 8px 12px 14px;
9848
+ flex-shrink: 0;
9849
+ }
9850
+ .excalidraw .acp .acp-prompt-input {
9851
+ border-radius: 24px !important;
9852
+ border: 1px solid rgba(0, 0, 0, 0.1) !important;
9853
+ background: #fff !important;
9854
+ box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
9855
+ padding: 0 !important;
9856
+ cursor: text !important;
9857
+ }
9858
+ .excalidraw .acp .acp-textarea {
9859
+ display: block !important;
9860
+ width: 100% !important;
9861
+ min-height: 44px !important;
9862
+ max-height: 160px !important;
9863
+ overflow-y: auto !important;
9864
+ resize: none !important;
9865
+ padding: 14px 16px 6px !important;
9866
+ font-family: inherit !important;
9867
+ font-size: 14px !important;
9868
+ line-height: 1.5 !important;
9869
+ color: #111 !important;
9870
+ background: transparent !important;
9871
+ border: none !important;
9872
+ outline: none !important;
9873
+ -webkit-appearance: none !important;
9874
+ }
9875
+ .excalidraw .acp .acp-textarea::placeholder {
9876
+ color: #bbb !important;
9877
+ }
9878
+ .excalidraw .acp .acp-actions-bar {
9879
+ display: flex !important;
9880
+ align-items: center !important;
9881
+ justify-content: space-between !important;
9882
+ padding: 4px 8px 8px !important;
9883
+ gap: 4px !important;
9884
+ }
9885
+ .excalidraw .acp .acp-actions-left,
9886
+ .excalidraw .acp .acp-actions-right {
9887
+ display: flex;
9888
+ align-items: center;
9889
+ gap: 4px;
9890
+ }
9891
+ .excalidraw .acp .acp-pill-btn {
9892
+ display: flex !important;
9893
+ align-items: center !important;
9894
+ gap: 5px !important;
9895
+ height: 32px !important;
9896
+ padding: 0 12px !important;
9897
+ border-radius: 20px !important;
9898
+ border: 1px solid rgba(0, 0, 0, 0.1) !important;
9899
+ font-family: inherit !important;
9900
+ font-size: 13px !important;
9901
+ font-weight: 500 !important;
9902
+ color: #444 !important;
9903
+ background: #fff !important;
9904
+ white-space: nowrap !important;
9905
+ transition: background 0.1s !important;
9906
+ }
9907
+ .excalidraw .acp .acp-pill-btn--icon {
9908
+ padding: 0 !important;
9909
+ width: 32px !important;
9910
+ justify-content: center !important;
9911
+ }
9912
+ .excalidraw .acp .acp-pill-btn svg {
9913
+ flex-shrink: 0;
9914
+ color: #666;
9915
+ }
9916
+ .excalidraw .acp .acp-pill-btn:hover {
9917
+ background: #f5f5f5 !important;
9918
+ }
9919
+ .excalidraw .acp .acp-send-btn {
9920
+ display: flex !important;
9921
+ align-items: center !important;
9922
+ justify-content: center !important;
9923
+ width: 32px !important;
9924
+ height: 32px !important;
9925
+ border-radius: 50% !important;
9926
+ background: #1c1c1c !important;
9927
+ color: #fff !important;
9928
+ flex-shrink: 0 !important;
9929
+ transition: background 0.12s, transform 0.1s !important;
9930
+ }
9931
+ .excalidraw .acp .acp-send-btn:hover {
9932
+ background: #333 !important;
9933
+ }
9934
+ .excalidraw .acp .acp-send-btn:active {
9935
+ transform: scale(0.94) !important;
9936
+ }
9937
+ .excalidraw .acp .acp-send-btn:disabled {
9938
+ background: #d8d8d8 !important;
9939
+ cursor: not-allowed !important;
9940
+ }
9941
+ .excalidraw .acp .acp-stop-square {
9942
+ display: block;
9943
+ width: 10px;
9944
+ height: 10px;
9945
+ background: #fff;
9946
+ border-radius: 2px;
9947
+ }
9948
+ .excalidraw .acp .acp-status-indicator {
9949
+ display: flex;
9950
+ align-items: center;
9951
+ gap: 8px;
9952
+ padding: 8px 4px;
9953
+ }
9954
+ .excalidraw .acp .acp-status-text {
9955
+ font-size: 12.5px;
9956
+ color: #888;
9957
+ font-style: italic;
9958
+ white-space: nowrap;
9959
+ overflow: hidden;
9960
+ text-overflow: ellipsis;
9961
+ }
9962
+ .excalidraw .acp .acp-tool-actions {
9963
+ margin-bottom: 4px;
9964
+ }
9965
+ .excalidraw .acp .acp-tool-actions-toggle {
9966
+ display: flex !important;
9967
+ align-items: center !important;
9968
+ gap: 6px !important;
9969
+ padding: 5px 10px !important;
9970
+ border-radius: 8px !important;
9971
+ font-family: inherit !important;
9972
+ font-size: 12px !important;
9973
+ font-weight: 500 !important;
9974
+ color: #888 !important;
9975
+ background: rgba(0, 0, 0, 0.03) !important;
9976
+ transition: background 0.1s !important;
9977
+ }
9978
+ .excalidraw .acp .acp-tool-actions-toggle:hover {
9979
+ background: rgba(0, 0, 0, 0.06) !important;
9980
+ color: #555 !important;
9981
+ }
9982
+ .excalidraw .acp .acp-tool-actions-toggle svg {
9983
+ flex-shrink: 0;
9984
+ }
9985
+ .excalidraw .acp .acp-tool-chevron {
9986
+ transition: transform 0.15s ease;
9987
+ }
9988
+ .excalidraw .acp .acp-tool-chevron--open {
9989
+ transform: rotate(90deg);
9990
+ }
9991
+ .excalidraw .acp .acp-tool-actions-list {
9992
+ margin: 4px 0 4px 8px;
9993
+ padding-left: 10px;
9994
+ border-left: 2px solid rgba(0, 0, 0, 0.06);
9995
+ }
9996
+ .excalidraw .acp .acp-tool-action-item {
9997
+ display: flex;
9998
+ align-items: flex-start;
9999
+ gap: 8px;
10000
+ padding: 3px 0;
10001
+ font-size: 12px;
10002
+ color: #666;
10003
+ line-height: 1.4;
10004
+ }
10005
+ .excalidraw .acp .acp-tool-action-item--ok .acp-tool-action-dot {
10006
+ background: #27ae60;
10007
+ }
10008
+ .excalidraw .acp .acp-tool-action-item--err .acp-tool-action-dot {
10009
+ background: #e74c3c;
10010
+ }
10011
+ .excalidraw .acp .acp-tool-action-dot {
10012
+ width: 5px;
10013
+ height: 5px;
10014
+ border-radius: 50%;
10015
+ flex-shrink: 0;
10016
+ margin-top: 5px;
10017
+ }
10018
+ .excalidraw .acp .acp-ref-area {
10019
+ padding: 0 12px 4px;
10020
+ flex-shrink: 0;
10021
+ }
10022
+ .excalidraw .acp .acp-ref-pill {
10023
+ display: inline-flex;
10024
+ align-items: center;
10025
+ gap: 5px;
10026
+ padding: 4px 10px;
10027
+ border-radius: 14px;
10028
+ background: rgba(99, 80, 220, 0.08);
10029
+ border: 1px solid rgba(99, 80, 220, 0.2);
10030
+ font-size: 12px;
10031
+ font-weight: 500;
10032
+ color: #6350dc;
10033
+ }
10034
+ .excalidraw .acp .acp-ref-pill svg {
10035
+ flex-shrink: 0;
10036
+ }
10037
+ .excalidraw .acp .acp-ref-pill span {
10038
+ max-width: 200px;
10039
+ overflow: hidden;
10040
+ text-overflow: ellipsis;
10041
+ white-space: nowrap;
10042
+ }
10043
+ .excalidraw .acp .acp-ref-remove {
10044
+ display: flex !important;
10045
+ align-items: center !important;
10046
+ justify-content: center !important;
10047
+ width: 16px !important;
10048
+ height: 16px !important;
10049
+ border-radius: 50% !important;
10050
+ background: transparent !important;
10051
+ color: #6350dc !important;
10052
+ transition: background 0.1s !important;
10053
+ }
10054
+ .excalidraw .acp .acp-ref-remove:hover {
10055
+ background: rgba(99, 80, 220, 0.15) !important;
10056
+ }
10057
+ .excalidraw .acp .acp-input-wrapper {
10058
+ position: relative;
10059
+ }
10060
+ .excalidraw .acp .acp-mention-menu {
10061
+ position: absolute;
10062
+ bottom: calc(100% + 6px);
10063
+ left: 8px;
10064
+ right: 8px;
10065
+ background: #fff;
10066
+ border-radius: 12px;
10067
+ box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.06);
10068
+ z-index: 10;
10069
+ overflow: hidden;
10070
+ padding: 4px;
10071
+ }
10072
+ .excalidraw .acp .acp-mention-item {
10073
+ display: flex !important;
10074
+ align-items: center !important;
10075
+ gap: 8px !important;
10076
+ width: 100% !important;
10077
+ padding: 8px 12px !important;
10078
+ border-radius: 8px !important;
10079
+ font-family: inherit !important;
10080
+ font-size: 13px !important;
10081
+ color: #333 !important;
10082
+ background: transparent !important;
10083
+ text-align: left !important;
10084
+ transition: background 0.1s !important;
10085
+ }
10086
+ .excalidraw .acp .acp-mention-item svg {
10087
+ color: #6350dc;
10088
+ flex-shrink: 0;
10089
+ }
10090
+ .excalidraw .acp .acp-mention-item:hover {
10091
+ background: rgba(99, 80, 220, 0.06) !important;
10092
+ }
10093
+ .excalidraw .acp .acp-mention-dim {
10094
+ color: #999;
10095
+ font-size: 11.5px;
10096
+ font-weight: 400;
10097
+ }
10098
+ .excalidraw .acp .acp-mention-empty {
10099
+ padding: 12px;
10100
+ font-size: 12.5px;
10101
+ color: #999;
10102
+ text-align: center;
10103
+ line-height: 1.4;
10104
+ }
10105
+ .excalidraw .acp-open-btn {
10106
+ display: flex !important;
10107
+ align-items: center !important;
10108
+ justify-content: center !important;
10109
+ width: 36px !important;
10110
+ height: 36px !important;
10111
+ border-radius: 50% !important;
10112
+ background: #fff !important;
10113
+ border: 1px solid rgba(0, 0, 0, 0.1) !important;
10114
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
10115
+ color: #333 !important;
10116
+ cursor: pointer !important;
10117
+ transition: background 0.12s, box-shadow 0.12s !important;
10118
+ box-sizing: border-box !important;
10119
+ }
10120
+ .excalidraw .acp-open-btn:hover {
10121
+ background: #f5f5f5 !important;
10122
+ box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14) !important;
10123
+ }
10124
+ .excalidraw .acp-open-btn:active {
10125
+ transform: scale(0.95) !important;
10126
+ }
9396
10127
  /*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
9397
10128
  /*# sourceMappingURL=index.css.map */