| @@ -1,4 +1,4 @@ | ||
| 1 | 1 | /* ========================================================================== |
| 2 | 2 | MxChat Transcripts Page Styles - v2.0 |
| 3 | 3 | Uses admin-sidebar.css for core layout/navigation styles |
| 4 | 4 | ========================================================================== */ |
| @@ -1190,8 +1190,20 @@ | ||
| 1190 | 1190 | text-transform: uppercase; |
| 1191 | 1191 | letter-spacing: 0.5px; |
| 1192 | 1192 | } |
| 1193 | 1193 | |
| 1194 | +.mxch-agent-label { | |
| 1195 | + font-size: 11px; | |
| 1196 | + font-weight: 600; | |
| 1197 | + color: #7c3aed; | |
| 1198 | + text-transform: uppercase; | |
| 1199 | + letter-spacing: 0.5px; | |
| 1200 | +} | |
| 1201 | + | |
| 1202 | +.mxch-message-agent .mxch-message-bubble { | |
| 1203 | + border-color: #ddd6fe; | |
| 1204 | +} | |
| 1205 | + | |
| 1194 | 1206 | .mxch-rag-link { |
| 1195 | 1207 | font-size: 11px; |
| 1196 | 1208 | color: #3b82f6; |
| 1197 | 1209 | text-decoration: none; |
| @@ -1728,8 +1740,32 @@ | ||
| 1728 | 1740 | color: var(--mxch-primary); |
| 1729 | 1741 | border-radius: 10px; |
| 1730 | 1742 | } |
| 1731 | 1743 | |
| 1744 | +/* Hybrid retrieval matched-via chips (38ffa1): Vector / Keyword / Both */ | |
| 1745 | +.mxch-rag-via-chip { | |
| 1746 | + font-size: 11px; | |
| 1747 | + font-weight: 500; | |
| 1748 | + padding: 2px 8px; | |
| 1749 | + border-radius: 10px; | |
| 1750 | + white-space: nowrap; | |
| 1751 | +} | |
| 1752 | + | |
| 1753 | +.mxch-rag-via-vector { | |
| 1754 | + background: rgba(120, 115, 245, 0.1); | |
| 1755 | + color: var(--mxch-primary); | |
| 1756 | +} | |
| 1757 | + | |
| 1758 | +.mxch-rag-via-keyword { | |
| 1759 | + background: rgba(16, 185, 129, 0.12); | |
| 1760 | + color: #059669; | |
| 1761 | +} | |
| 1762 | + | |
| 1763 | +.mxch-rag-via-both { | |
| 1764 | + background: rgba(245, 158, 11, 0.12); | |
| 1765 | + color: #b45309; | |
| 1766 | +} | |
| 1767 | + | |
| 1732 | 1768 | .mxch-rag-match-status { |
| 1733 | 1769 | margin-left: auto; |
| 1734 | 1770 | font-size: 12px; |
| 1735 | 1771 | font-weight: 500; |
| @@ -1912,8 +1948,69 @@ | ||
| 1912 | 1948 | border-right: 4px solid transparent; |
| 1913 | 1949 | border-top: 4px solid #ef4444; |
| 1914 | 1950 | } |
| 1915 | 1951 | |
| 1952 | +/* AI Tools trace (plan-mxchat-20260813-470f68) | |
| 1953 | + One card per tool EXECUTION, rendered above the trigger-phrase scores. The box | |
| 1954 | + itself reuses .mxch-rag-match-card / .mxch-rag-match-used; the rules below are | |
| 1955 | + only the states the trigger-phrase cards have no equivalent of — a failed run, | |
| 1956 | + a duration chip, and the argument excerpt. */ | |
| 1957 | +.mxch-tool-failed { | |
| 1958 | + border-color: rgba(239, 68, 68, 0.35); | |
| 1959 | + background: rgba(239, 68, 68, 0.05); | |
| 1960 | +} | |
| 1961 | + | |
| 1962 | +.mxch-rag-match-status.status-failed { | |
| 1963 | + color: var(--mxch-error); | |
| 1964 | + font-weight: 600; | |
| 1965 | +} | |
| 1966 | + | |
| 1967 | +.mxch-tool-duration { | |
| 1968 | + font-size: 11px; | |
| 1969 | + padding: 2px 8px; | |
| 1970 | + background: rgba(100, 116, 139, 0.1); | |
| 1971 | + color: var(--mxch-text-secondary); | |
| 1972 | + border-radius: 10px; | |
| 1973 | +} | |
| 1974 | + | |
| 1975 | +.mxch-tool-error { | |
| 1976 | + margin-top: var(--mxch-spacing-sm); | |
| 1977 | + font-size: 12px; | |
| 1978 | + color: var(--mxch-error); | |
| 1979 | + word-break: break-word; | |
| 1980 | +} | |
| 1981 | + | |
| 1982 | +.mxch-tool-args { | |
| 1983 | + margin-top: var(--mxch-spacing-sm); | |
| 1984 | +} | |
| 1985 | + | |
| 1986 | +.mxch-tool-args > summary { | |
| 1987 | + font-size: 12px; | |
| 1988 | + color: var(--mxch-text-secondary); | |
| 1989 | + cursor: pointer; | |
| 1990 | + list-style: revert; | |
| 1991 | +} | |
| 1992 | + | |
| 1993 | +.mxch-tool-args-body { | |
| 1994 | + margin-top: 6px; | |
| 1995 | + padding: var(--mxch-spacing-sm); | |
| 1996 | + background: #f8fafc; | |
| 1997 | + border: 1px solid var(--mxch-card-border); | |
| 1998 | + border-radius: var(--mxch-radius-sm); | |
| 1999 | + font-size: 12px; | |
| 2000 | + font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace; | |
| 2001 | + color: var(--mxch-text-secondary); | |
| 2002 | + white-space: pre-wrap; | |
| 2003 | + word-break: break-word; | |
| 2004 | +} | |
| 2005 | + | |
| 2006 | +.mxch-tool-redacted { | |
| 2007 | + margin-top: var(--mxch-spacing-sm); | |
| 2008 | + font-size: 12px; | |
| 2009 | + color: var(--mxch-text-muted); | |
| 2010 | + font-style: italic; | |
| 2011 | +} | |
| 2012 | + | |
| 1916 | 2013 | /* No Results State */ |
| 1917 | 2014 | .mxch-no-results { |
| 1918 | 2015 | text-align: center; |
| 1919 | 2016 | padding: var(--mxch-spacing-xl); |
| @@ -2538,8 +2635,20 @@ | ||
| 2538 | 2635 | border: 1px solid rgba(100, 116, 139, 0.22); |
| 2539 | 2636 | padding: 0 10px; |
| 2540 | 2637 | } |
| 2541 | 2638 | |
| 2639 | +/* Consent column (b062c4). Yes/No are recorded decisions; "not recorded" | |
| 2640 | + renders via .mxch-leads-muted (different fact, different look). */ | |
| 2641 | +.mxch-leads-pill-consent-yes { | |
| 2642 | + background: rgba(16, 185, 129, 0.14); | |
| 2643 | + color: var(--mxch-success, #059669); | |
| 2644 | +} | |
| 2645 | + | |
| 2646 | +.mxch-leads-pill-consent-no { | |
| 2647 | + background: rgba(239, 68, 68, 0.12); | |
| 2648 | + color: var(--mxch-danger, #dc2626); | |
| 2649 | +} | |
| 2650 | + | |
| 2542 | 2651 | .mxch-leads-row.is-chat-deleted .mxch-leads-lead-email { |
| 2543 | 2652 | color: var(--mxch-text-secondary); |
| 2544 | 2653 | } |
| 2545 | 2654 | |
| @@ -2672,98 +2781,98 @@ | ||
| 2672 | 2781 | @media (max-width: 480px) { |
| 2673 | 2782 | .mxch-leads-col-count { display: none; } |
| 2674 | 2783 | .mxch-leads-toppages-list { grid-template-columns: 1fr; } |
| 2675 | 2784 | } |
| 2676 | - | |
| 2677 | -/* Satisfaction card on Transcripts dashboard (plan-a5b006). */ | |
| 2678 | -.mxch-satisfaction-card .mxch-card-body { | |
| 2679 | - padding: var(--mxch-spacing-md); | |
| 2680 | -} | |
| 2681 | -.mxch-satisfaction-empty { | |
| 2682 | - margin: 0; | |
| 2683 | - padding: var(--mxch-spacing-sm) 0; | |
| 2684 | - color: #6b7280; | |
| 2685 | - font-size: 13px; | |
| 2686 | - line-height: 1.5; | |
| 2687 | -} | |
| 2688 | -.mxch-satisfaction-list { | |
| 2689 | - list-style: none; | |
| 2690 | - margin: 0; | |
| 2691 | - padding: 0; | |
| 2692 | - display: flex; | |
| 2693 | - flex-direction: column; | |
| 2694 | - gap: 8px; | |
| 2695 | -} | |
| 2696 | -.mxch-satisfaction-row { | |
| 2697 | - display: flex; | |
| 2698 | - align-items: center; | |
| 2699 | - gap: var(--mxch-spacing-md); | |
| 2700 | - padding: 10px 12px; | |
| 2701 | - background: #f9fafb; | |
| 2702 | - border: 1px solid #f3f4f6; | |
| 2703 | - border-radius: var(--mxch-radius-md, 8px); | |
| 2704 | -} | |
| 2705 | -.mxch-satisfaction-bot { | |
| 2706 | - flex: 0 0 28%; | |
| 2707 | - min-width: 0; | |
| 2708 | - font-weight: 600; | |
| 2709 | - font-size: 13px; | |
| 2710 | - color: #1a1a2e; | |
| 2711 | - overflow: hidden; | |
| 2712 | - text-overflow: ellipsis; | |
| 2713 | - white-space: nowrap; | |
| 2714 | -} | |
| 2715 | -.mxch-satisfaction-meta { | |
| 2716 | - flex: 1; | |
| 2717 | - display: flex; | |
| 2718 | - align-items: center; | |
| 2719 | - gap: 10px; | |
| 2720 | - font-size: 12px; | |
| 2721 | - color: #4b5563; | |
| 2722 | - flex-wrap: wrap; | |
| 2723 | -} | |
| 2724 | -.mxch-satisfaction-total { | |
| 2725 | - color: #6b7280; | |
| 2726 | - white-space: nowrap; | |
| 2727 | -} | |
| 2728 | -.mxch-satisfaction-bar { | |
| 2729 | - flex: 1; | |
| 2730 | - min-width: 80px; | |
| 2731 | - height: 6px; | |
| 2732 | - background: #e5e7eb; | |
| 2733 | - border-radius: 999px; | |
| 2734 | - overflow: hidden; | |
| 2735 | - display: flex; | |
| 2736 | -} | |
| 2737 | -.mxch-satisfaction-bar-up { | |
| 2738 | - background: #10b981; | |
| 2739 | - height: 100%; | |
| 2740 | -} | |
| 2741 | -.mxch-satisfaction-bar-down { | |
| 2742 | - background: #ef4444; | |
| 2743 | - height: 100%; | |
| 2744 | -} | |
| 2745 | -.mxch-satisfaction-pct { | |
| 2746 | - display: inline-flex; | |
| 2747 | - align-items: center; | |
| 2748 | - gap: 4px; | |
| 2749 | - font-weight: 600; | |
| 2750 | - white-space: nowrap; | |
| 2751 | -} | |
| 2752 | -.mxch-satisfaction-pct-up { color: #047857; } | |
| 2753 | -.mxch-satisfaction-pct-down { color: #b91c1c; } | |
| 2754 | -@media (max-width: 600px) { | |
| 2755 | - .mxch-satisfaction-row { flex-direction: column; align-items: flex-start; gap: 8px; } | |
| 2756 | - .mxch-satisfaction-bot { flex: 1 1 100%; } | |
| 2757 | - .mxch-satisfaction-meta { width: 100%; } | |
| 2758 | -} | |
| 2759 | - | |
| 2760 | -/* Details drawer — Feedback row value (user-submitted rating feedback). */ | |
| 2761 | -.mxch-detail-feedback-value { | |
| 2762 | - white-space: pre-wrap; | |
| 2763 | - word-break: break-word; | |
| 2764 | - max-width: 100%; | |
| 2765 | - display: block; | |
| 2766 | - margin-top: 4px; | |
| 2767 | - opacity: 0.9; | |
| 2768 | - font-style: italic; | |
| 2769 | -} | |
| 2785 | + | |
| 2786 | +/* Satisfaction card on Transcripts dashboard (plan-a5b006). */ | |
| 2787 | +.mxch-satisfaction-card .mxch-card-body { | |
| 2788 | + padding: var(--mxch-spacing-md); | |
| 2789 | +} | |
| 2790 | +.mxch-satisfaction-empty { | |
| 2791 | + margin: 0; | |
| 2792 | + padding: var(--mxch-spacing-sm) 0; | |
| 2793 | + color: #6b7280; | |
| 2794 | + font-size: 13px; | |
| 2795 | + line-height: 1.5; | |
| 2796 | +} | |
| 2797 | +.mxch-satisfaction-list { | |
| 2798 | + list-style: none; | |
| 2799 | + margin: 0; | |
| 2800 | + padding: 0; | |
| 2801 | + display: flex; | |
| 2802 | + flex-direction: column; | |
| 2803 | + gap: 8px; | |
| 2804 | +} | |
| 2805 | +.mxch-satisfaction-row { | |
| 2806 | + display: flex; | |
| 2807 | + align-items: center; | |
| 2808 | + gap: var(--mxch-spacing-md); | |
| 2809 | + padding: 10px 12px; | |
| 2810 | + background: #f9fafb; | |
| 2811 | + border: 1px solid #f3f4f6; | |
| 2812 | + border-radius: var(--mxch-radius-md, 8px); | |
| 2813 | +} | |
| 2814 | +.mxch-satisfaction-bot { | |
| 2815 | + flex: 0 0 28%; | |
| 2816 | + min-width: 0; | |
| 2817 | + font-weight: 600; | |
| 2818 | + font-size: 13px; | |
| 2819 | + color: #1a1a2e; | |
| 2820 | + overflow: hidden; | |
| 2821 | + text-overflow: ellipsis; | |
| 2822 | + white-space: nowrap; | |
| 2823 | +} | |
| 2824 | +.mxch-satisfaction-meta { | |
| 2825 | + flex: 1; | |
| 2826 | + display: flex; | |
| 2827 | + align-items: center; | |
| 2828 | + gap: 10px; | |
| 2829 | + font-size: 12px; | |
| 2830 | + color: #4b5563; | |
| 2831 | + flex-wrap: wrap; | |
| 2832 | +} | |
| 2833 | +.mxch-satisfaction-total { | |
| 2834 | + color: #6b7280; | |
| 2835 | + white-space: nowrap; | |
| 2836 | +} | |
| 2837 | +.mxch-satisfaction-bar { | |
| 2838 | + flex: 1; | |
| 2839 | + min-width: 80px; | |
| 2840 | + height: 6px; | |
| 2841 | + background: #e5e7eb; | |
| 2842 | + border-radius: 999px; | |
| 2843 | + overflow: hidden; | |
| 2844 | + display: flex; | |
| 2845 | +} | |
| 2846 | +.mxch-satisfaction-bar-up { | |
| 2847 | + background: #10b981; | |
| 2848 | + height: 100%; | |
| 2849 | +} | |
| 2850 | +.mxch-satisfaction-bar-down { | |
| 2851 | + background: #ef4444; | |
| 2852 | + height: 100%; | |
| 2853 | +} | |
| 2854 | +.mxch-satisfaction-pct { | |
| 2855 | + display: inline-flex; | |
| 2856 | + align-items: center; | |
| 2857 | + gap: 4px; | |
| 2858 | + font-weight: 600; | |
| 2859 | + white-space: nowrap; | |
| 2860 | +} | |
| 2861 | +.mxch-satisfaction-pct-up { color: #047857; } | |
| 2862 | +.mxch-satisfaction-pct-down { color: #b91c1c; } | |
| 2863 | +@media (max-width: 600px) { | |
| 2864 | + .mxch-satisfaction-row { flex-direction: column; align-items: flex-start; gap: 8px; } | |
| 2865 | + .mxch-satisfaction-bot { flex: 1 1 100%; } | |
| 2866 | + .mxch-satisfaction-meta { width: 100%; } | |
| 2867 | +} | |
| 2868 | + | |
| 2869 | +/* Details drawer — Feedback row value (user-submitted rating feedback). */ | |
| 2870 | +.mxch-detail-feedback-value { | |
| 2871 | + white-space: pre-wrap; | |
| 2872 | + word-break: break-word; | |
| 2873 | + max-width: 100%; | |
| 2874 | + display: block; | |
| 2875 | + margin-top: 4px; | |
| 2876 | + opacity: 0.9; | |
| 2877 | + font-style: italic; | |
| 2878 | +} | |