| @@ -686,80 +686,8 @@ | ||
| 686 | 686 | padding: 2px 8px; |
| 687 | 687 | border-radius: 10px; |
| 688 | 688 | } |
| 689 | 689 | |
| 690 | -/* Satisfaction rating badge on chat-list rows (plan-a5b006). */ | |
| 691 | -.mxch-chat-rating { | |
| 692 | - display: inline-flex; | |
| 693 | - align-items: center; | |
| 694 | - justify-content: center; | |
| 695 | - font-size: 11px; | |
| 696 | - line-height: 1; | |
| 697 | - min-width: 18px; | |
| 698 | - height: 18px; | |
| 699 | - border-radius: 999px; | |
| 700 | - padding: 0 4px; | |
| 701 | - cursor: default; | |
| 702 | -} | |
| 703 | -.mxch-chat-rating-up { | |
| 704 | - background: #ecfdf5; | |
| 705 | - color: #047857; | |
| 706 | -} | |
| 707 | -.mxch-chat-rating-down { | |
| 708 | - background: #fef2f2; | |
| 709 | - color: #b91c1c; | |
| 710 | -} | |
| 711 | -.mxch-chat-rating-empty { | |
| 712 | - color: #cbd5e1; | |
| 713 | - background: transparent; | |
| 714 | -} | |
| 715 | -.mxch-chat-rating svg { | |
| 716 | - display: block; | |
| 717 | -} | |
| 718 | - | |
| 719 | -/* Sort dropdown menu — appended to <body> from JS. */ | |
| 720 | -.mxch-sort-menu { | |
| 721 | - display: none; | |
| 722 | - background: #ffffff; | |
| 723 | - border: 1px solid #e5e7eb; | |
| 724 | - border-radius: 8px; | |
| 725 | - box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12); | |
| 726 | - padding: 4px; | |
| 727 | - min-width: 200px; | |
| 728 | - z-index: 9999; | |
| 729 | -} | |
| 730 | -.mxch-sort-option { | |
| 731 | - display: flex; | |
| 732 | - align-items: center; | |
| 733 | - gap: 8px; | |
| 734 | - width: 100%; | |
| 735 | - padding: 8px 10px; | |
| 736 | - background: transparent; | |
| 737 | - border: none; | |
| 738 | - border-radius: 6px; | |
| 739 | - text-align: left; | |
| 740 | - font-size: 13px; | |
| 741 | - color: #1a1a2e; | |
| 742 | - cursor: pointer; | |
| 743 | -} | |
| 744 | -.mxch-sort-option:hover { | |
| 745 | - background: #f3f4f6; | |
| 746 | -} | |
| 747 | -.mxch-sort-option.active { | |
| 748 | - background: #eff6ff; | |
| 749 | - color: #1d4ed8; | |
| 750 | - font-weight: 600; | |
| 751 | -} | |
| 752 | -.mxch-sort-option-icon { | |
| 753 | - display: inline-flex; | |
| 754 | - align-items: center; | |
| 755 | - justify-content: center; | |
| 756 | - width: 16px; | |
| 757 | - height: 16px; | |
| 758 | -} | |
| 759 | -.mxch-sort-option-icon.mxch-rating-thumb-up { color: #047857; } | |
| 760 | -.mxch-sort-option-icon.mxch-rating-thumb-down { color: #b91c1c; } | |
| 761 | - | |
| 762 | 690 | .mxch-list-loading, |
| 763 | 691 | .mxch-list-empty { |
| 764 | 692 | display: flex; |
| 765 | 693 | align-items: center; |
| @@ -902,10 +830,8 @@ | ||
| 902 | 830 | } |
| 903 | 831 | |
| 904 | 832 | .mxch-user-info { |
| 905 | 833 | flex: 1; |
| 906 | - min-width: 0; /* Allow flex item to shrink below content size */ | |
| 907 | - overflow: hidden; | |
| 908 | 834 | } |
| 909 | 835 | |
| 910 | 836 | .mxch-user-name { |
| 911 | 837 | font-size: 15px; |
| @@ -910,11 +836,8 @@ | ||
| 910 | 836 | .mxch-user-name { |
| 911 | 837 | font-size: 15px; |
| 912 | 838 | font-weight: 600; |
| 913 | 839 | color: #111827; |
| 914 | - overflow: hidden; | |
| 915 | - text-overflow: ellipsis; | |
| 916 | - white-space: nowrap; | |
| 917 | 840 | } |
| 918 | 841 | |
| 919 | 842 | .mxch-user-meta { |
| 920 | 843 | font-size: 12px; |
| @@ -919,11 +842,8 @@ | ||
| 919 | 842 | .mxch-user-meta { |
| 920 | 843 | font-size: 12px; |
| 921 | 844 | color: #6b7280; |
| 922 | 845 | margin-top: 2px; |
| 923 | - overflow: hidden; | |
| 924 | - text-overflow: ellipsis; | |
| 925 | - white-space: nowrap; | |
| 926 | 846 | } |
| 927 | 847 | |
| 928 | 848 | .mxch-details-toggle { |
| 929 | 849 | width: 36px; |
| @@ -1029,83 +949,8 @@ | ||
| 1029 | 949 | padding: 8px 12px; |
| 1030 | 950 | font-size: 12px; |
| 1031 | 951 | } |
| 1032 | 952 | |
| 1033 | -/* Translate Controls */ | |
| 1034 | -.mxch-translate-section { | |
| 1035 | - margin-top: 12px; | |
| 1036 | - padding-top: 12px; | |
| 1037 | - border-top: 1px solid #f3f4f6; | |
| 1038 | -} | |
| 1039 | - | |
| 1040 | -.mxch-translate-controls { | |
| 1041 | - display: flex; | |
| 1042 | - align-items: center; | |
| 1043 | - gap: 8px; | |
| 1044 | -} | |
| 1045 | - | |
| 1046 | -.mxch-translate-select { | |
| 1047 | - padding: 6px 10px; | |
| 1048 | - font-size: 12px; | |
| 1049 | - border: 1px solid #e5e7eb; | |
| 1050 | - border-radius: 6px; | |
| 1051 | - background: #fff; | |
| 1052 | - color: #374151; | |
| 1053 | - cursor: pointer; | |
| 1054 | - min-width: 100px; | |
| 1055 | -} | |
| 1056 | - | |
| 1057 | -.mxch-translate-select:focus { | |
| 1058 | - outline: none; | |
| 1059 | - border-color: #3b82f6; | |
| 1060 | - box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1); | |
| 1061 | -} | |
| 1062 | - | |
| 1063 | -#mxch-translate-btn, | |
| 1064 | -#mxch-show-original-btn { | |
| 1065 | - display: inline-flex; | |
| 1066 | - align-items: center; | |
| 1067 | - gap: 6px; | |
| 1068 | -} | |
| 1069 | - | |
| 1070 | -#mxch-translate-btn svg, | |
| 1071 | -#mxch-show-original-btn svg { | |
| 1072 | - width: 14px; | |
| 1073 | - height: 14px; | |
| 1074 | - flex-shrink: 0; | |
| 1075 | -} | |
| 1076 | - | |
| 1077 | -#mxch-translate-btn:disabled { | |
| 1078 | - opacity: 0.6; | |
| 1079 | - cursor: not-allowed; | |
| 1080 | -} | |
| 1081 | - | |
| 1082 | -.mxch-translate-spinner { | |
| 1083 | - animation: spin 1s linear infinite; | |
| 1084 | -} | |
| 1085 | - | |
| 1086 | -@keyframes mxch-translate-spin { | |
| 1087 | - from { transform: rotate(0deg); } | |
| 1088 | - to { transform: rotate(360deg); } | |
| 1089 | -} | |
| 1090 | - | |
| 1091 | -/* Translated message indicator */ | |
| 1092 | -.mxch-message-bubble.translated { | |
| 1093 | - position: relative; | |
| 1094 | -} | |
| 1095 | - | |
| 1096 | -.mxch-message-bubble.translated::after { | |
| 1097 | - content: ''; | |
| 1098 | - position: absolute; | |
| 1099 | - top: 6px; | |
| 1100 | - right: 6px; | |
| 1101 | - width: 6px; | |
| 1102 | - height: 6px; | |
| 1103 | - background: #3b82f6; | |
| 1104 | - border-radius: 50%; | |
| 1105 | - opacity: 0.6; | |
| 1106 | -} | |
| 1107 | - | |
| 1108 | 953 | /* Messages Area */ |
| 1109 | 954 | .mxch-messages-area { |
| 1110 | 955 | flex: 1; |
| 1111 | 956 | overflow-y: auto; |
| @@ -1190,20 +1035,8 @@ | ||
| 1190 | 1035 | text-transform: uppercase; |
| 1191 | 1036 | letter-spacing: 0.5px; |
| 1192 | 1037 | } |
| 1193 | 1038 | |
| 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 | - | |
| 1206 | 1039 | .mxch-rag-link { |
| 1207 | 1040 | font-size: 11px; |
| 1208 | 1041 | color: #3b82f6; |
| 1209 | 1042 | text-decoration: none; |
| @@ -1740,32 +1573,8 @@ | ||
| 1740 | 1573 | color: var(--mxch-primary); |
| 1741 | 1574 | border-radius: 10px; |
| 1742 | 1575 | } |
| 1743 | 1576 | |
| 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 | - | |
| 1768 | 1577 | .mxch-rag-match-status { |
| 1769 | 1578 | margin-left: auto; |
| 1770 | 1579 | font-size: 12px; |
| 1771 | 1580 | font-weight: 500; |
| @@ -1793,235 +1602,8 @@ | ||
| 1793 | 1602 | .mxch-rag-match-source a:hover { |
| 1794 | 1603 | text-decoration: underline; |
| 1795 | 1604 | } |
| 1796 | 1605 | |
| 1797 | -/* Context Modal Tabs */ | |
| 1798 | -.mxch-context-tabs { | |
| 1799 | - display: flex; | |
| 1800 | - gap: 4px; | |
| 1801 | - padding: 4px; | |
| 1802 | - background: #f1f5f9; | |
| 1803 | - border-radius: var(--mxch-radius-md); | |
| 1804 | - margin-bottom: var(--mxch-spacing-md); | |
| 1805 | -} | |
| 1806 | - | |
| 1807 | -.mxch-context-tab { | |
| 1808 | - flex: 1; | |
| 1809 | - display: flex; | |
| 1810 | - align-items: center; | |
| 1811 | - justify-content: center; | |
| 1812 | - gap: 8px; | |
| 1813 | - padding: 10px 16px; | |
| 1814 | - border: none; | |
| 1815 | - background: transparent; | |
| 1816 | - border-radius: var(--mxch-radius-sm); | |
| 1817 | - font-size: 13px; | |
| 1818 | - font-weight: 500; | |
| 1819 | - color: var(--mxch-text-secondary); | |
| 1820 | - cursor: pointer; | |
| 1821 | - transition: all var(--mxch-transition-fast); | |
| 1822 | -} | |
| 1823 | - | |
| 1824 | -.mxch-context-tab:hover { | |
| 1825 | - color: var(--mxch-text-primary); | |
| 1826 | - background: rgba(255, 255, 255, 0.5); | |
| 1827 | -} | |
| 1828 | - | |
| 1829 | -.mxch-context-tab.active { | |
| 1830 | - background: white; | |
| 1831 | - color: var(--mxch-primary); | |
| 1832 | - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); | |
| 1833 | -} | |
| 1834 | - | |
| 1835 | -.mxch-context-tab svg { | |
| 1836 | - width: 16px; | |
| 1837 | - height: 16px; | |
| 1838 | - flex-shrink: 0; | |
| 1839 | -} | |
| 1840 | - | |
| 1841 | -.mxch-tab-badge { | |
| 1842 | - display: inline-flex; | |
| 1843 | - align-items: center; | |
| 1844 | - justify-content: center; | |
| 1845 | - min-width: 20px; | |
| 1846 | - height: 20px; | |
| 1847 | - padding: 0 6px; | |
| 1848 | - background: rgba(120, 115, 245, 0.1); | |
| 1849 | - color: var(--mxch-primary); | |
| 1850 | - font-size: 11px; | |
| 1851 | - font-weight: 600; | |
| 1852 | - border-radius: 10px; | |
| 1853 | -} | |
| 1854 | - | |
| 1855 | -.mxch-context-tab.active .mxch-tab-badge { | |
| 1856 | - background: var(--mxch-primary); | |
| 1857 | - color: white; | |
| 1858 | -} | |
| 1859 | - | |
| 1860 | -.mxch-tab-content { | |
| 1861 | - min-height: 200px; | |
| 1862 | -} | |
| 1863 | - | |
| 1864 | -/* Action Specific Styles */ | |
| 1865 | -.mxch-action-triggered { | |
| 1866 | - border-color: rgba(245, 158, 11, 0.4); | |
| 1867 | - background: rgba(245, 158, 11, 0.08); | |
| 1868 | -} | |
| 1869 | - | |
| 1870 | -.mxch-action-threshold-badge { | |
| 1871 | - font-size: 11px; | |
| 1872 | - padding: 2px 8px; | |
| 1873 | - background: rgba(100, 116, 139, 0.1); | |
| 1874 | - color: var(--mxch-text-secondary); | |
| 1875 | - border-radius: 10px; | |
| 1876 | -} | |
| 1877 | - | |
| 1878 | -.mxch-rag-match-status.status-triggered { | |
| 1879 | - color: #f59e0b; | |
| 1880 | - font-weight: 600; | |
| 1881 | -} | |
| 1882 | - | |
| 1883 | -.mxch-action-details { | |
| 1884 | - margin-top: var(--mxch-spacing-sm); | |
| 1885 | -} | |
| 1886 | - | |
| 1887 | -.mxch-action-label { | |
| 1888 | - font-size: 14px; | |
| 1889 | - font-weight: 600; | |
| 1890 | - color: var(--mxch-text-primary); | |
| 1891 | - margin-bottom: 4px; | |
| 1892 | -} | |
| 1893 | - | |
| 1894 | -.mxch-action-callback { | |
| 1895 | - font-size: 12px; | |
| 1896 | - color: var(--mxch-text-muted); | |
| 1897 | - font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace; | |
| 1898 | -} | |
| 1899 | - | |
| 1900 | -.mxch-action-callback-label { | |
| 1901 | - color: var(--mxch-text-secondary); | |
| 1902 | - font-family: inherit; | |
| 1903 | -} | |
| 1904 | - | |
| 1905 | -/* Action Score Bar Visualization */ | |
| 1906 | -.mxch-action-score-bar { | |
| 1907 | - position: relative; | |
| 1908 | - height: 6px; | |
| 1909 | - background: #e2e8f0; | |
| 1910 | - border-radius: 3px; | |
| 1911 | - margin-top: var(--mxch-spacing-sm); | |
| 1912 | - overflow: visible; | |
| 1913 | -} | |
| 1914 | - | |
| 1915 | -.mxch-action-score-fill { | |
| 1916 | - position: absolute; | |
| 1917 | - left: 0; | |
| 1918 | - top: 0; | |
| 1919 | - height: 100%; | |
| 1920 | - background: linear-gradient(90deg, #7873f5, #a5a1fa); | |
| 1921 | - border-radius: 3px; | |
| 1922 | - transition: width 0.3s ease; | |
| 1923 | -} | |
| 1924 | - | |
| 1925 | -.mxch-action-triggered .mxch-action-score-fill { | |
| 1926 | - background: linear-gradient(90deg, #f59e0b, #fbbf24); | |
| 1927 | -} | |
| 1928 | - | |
| 1929 | -.mxch-action-threshold-marker { | |
| 1930 | - position: absolute; | |
| 1931 | - top: -4px; | |
| 1932 | - width: 2px; | |
| 1933 | - height: 14px; | |
| 1934 | - background: #ef4444; | |
| 1935 | - border-radius: 1px; | |
| 1936 | - transform: translateX(-50%); | |
| 1937 | -} | |
| 1938 | - | |
| 1939 | -.mxch-action-threshold-marker::after { | |
| 1940 | - content: ''; | |
| 1941 | - position: absolute; | |
| 1942 | - top: -3px; | |
| 1943 | - left: 50%; | |
| 1944 | - transform: translateX(-50%); | |
| 1945 | - width: 0; | |
| 1946 | - height: 0; | |
| 1947 | - border-left: 4px solid transparent; | |
| 1948 | - border-right: 4px solid transparent; | |
| 1949 | - border-top: 4px solid #ef4444; | |
| 1950 | -} | |
| 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 | - | |
| 2013 | -/* No Results State */ | |
| 2014 | -.mxch-no-results { | |
| 2015 | - text-align: center; | |
| 2016 | - padding: var(--mxch-spacing-xl); | |
| 2017 | - color: var(--mxch-text-secondary); | |
| 2018 | -} | |
| 2019 | - | |
| 2020 | -.mxch-no-results p { | |
| 2021 | - margin: 0; | |
| 2022 | -} | |
| 2023 | - | |
| 2024 | 1606 | /* ========================================================================== |
| 2025 | 1607 | Responsive Adjustments |
| 2026 | 1608 | ========================================================================== */ |
| 2027 | 1609 | @media screen and (max-width: 768px) { |
| @@ -2111,768 +1693,5 @@ | ||
| 2111 | 1693 | |
| 2112 | 1694 | .mxch-controls-actions form { |
| 2113 | 1695 | width: 100%; |
| 2114 | 1696 | } |
| 2115 | -} | |
| 2116 | - | |
| 2117 | -/* Product Card in Transcripts */ | |
| 2118 | -.mxch-message-bubble .mxchat-product-card { | |
| 2119 | - display: flex; | |
| 2120 | - flex-direction: column; | |
| 2121 | - align-items: center; | |
| 2122 | - margin: 8px 0; | |
| 2123 | - padding: 12px; | |
| 2124 | - border-radius: 8px; | |
| 2125 | - background: #f9f9f9; | |
| 2126 | - border: 1px solid #e5e5e5; | |
| 2127 | - max-width: 280px; | |
| 2128 | -} | |
| 2129 | - | |
| 2130 | -.mxch-message-bubble .mxchat-product-card a.mxchat-product-link { | |
| 2131 | - text-decoration: none; | |
| 2132 | - color: inherit; | |
| 2133 | - display: flex; | |
| 2134 | - flex-direction: column; | |
| 2135 | - align-items: center; | |
| 2136 | -} | |
| 2137 | - | |
| 2138 | -.mxch-message-bubble .mxchat-product-card img.mxchat-product-image { | |
| 2139 | - max-width: 100%; | |
| 2140 | - height: auto; | |
| 2141 | - max-height: 180px; | |
| 2142 | - object-fit: contain; | |
| 2143 | - margin-bottom: 8px; | |
| 2144 | - border-radius: 6px; | |
| 2145 | -} | |
| 2146 | - | |
| 2147 | -.mxch-message-bubble .mxchat-product-card h3.mxchat-product-name { | |
| 2148 | - font-size: 14px; | |
| 2149 | - font-weight: 600; | |
| 2150 | - margin: 4px 0; | |
| 2151 | - text-align: center; | |
| 2152 | - color: #1a1a1a; | |
| 2153 | -} | |
| 2154 | - | |
| 2155 | -.mxch-message-bubble .mxchat-product-card .mxchat-product-price { | |
| 2156 | - color: #2e7d32; | |
| 2157 | - font-weight: 600; | |
| 2158 | - font-size: 15px; | |
| 2159 | - margin: 4px 0 8px; | |
| 2160 | -} | |
| 2161 | - | |
| 2162 | -.mxch-message-bubble .mxchat-product-card .mxchat-add-to-cart-button { | |
| 2163 | - background-color: #212121; | |
| 2164 | - color: #fff; | |
| 2165 | - padding: 7px 16px; | |
| 2166 | - border: none; | |
| 2167 | - border-radius: 6px; | |
| 2168 | - font-size: 13px; | |
| 2169 | - cursor: default; | |
| 2170 | - opacity: 0.6; | |
| 2171 | -} | |
| 2172 | - | |
| 2173 | -.mxch-message-bubble .mxchat-product-card select { | |
| 2174 | - width: 100%; | |
| 2175 | - padding: 6px 8px; | |
| 2176 | - margin: 4px 0; | |
| 2177 | - border: 1px solid #ddd; | |
| 2178 | - border-radius: 4px; | |
| 2179 | - font-size: 13px; | |
| 2180 | -} | |
| 2181 | - | |
| 2182 | -/* Featured Products in Transcripts */ | |
| 2183 | -.mxch-message-bubble .mxchat-featured-products { | |
| 2184 | - margin: 8px 0; | |
| 2185 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; | |
| 2186 | - line-height: 1.4; | |
| 2187 | - display: flex; | |
| 2188 | - flex-direction: column; | |
| 2189 | - gap: 0; | |
| 2190 | - padding: 0; | |
| 2191 | -} | |
| 2192 | - | |
| 2193 | -.mxch-message-bubble .mxchat-featured-item { | |
| 2194 | - padding: 10px 0; | |
| 2195 | - border-bottom: 1px solid #e5e5e5; | |
| 2196 | - margin: 0; | |
| 2197 | -} | |
| 2198 | - | |
| 2199 | -.mxch-message-bubble .mxchat-featured-item:last-child { | |
| 2200 | - border-bottom: none; | |
| 2201 | - padding-bottom: 0; | |
| 2202 | -} | |
| 2203 | - | |
| 2204 | -.mxch-message-bubble .mxchat-featured-item:first-child { | |
| 2205 | - padding-top: 0; | |
| 2206 | -} | |
| 2207 | - | |
| 2208 | -.mxch-message-bubble .mxchat-featured-item-top { | |
| 2209 | - display: flex; | |
| 2210 | - flex-direction: row; | |
| 2211 | - align-items: center; | |
| 2212 | - gap: 12px; | |
| 2213 | - margin-bottom: 8px; | |
| 2214 | -} | |
| 2215 | - | |
| 2216 | -.mxch-message-bubble .mxchat-featured-item-image { | |
| 2217 | - flex-shrink: 0; | |
| 2218 | - width: 70px; | |
| 2219 | - height: 70px; | |
| 2220 | - overflow: hidden; | |
| 2221 | - border-radius: 8px; | |
| 2222 | - background: #f1f1f1; | |
| 2223 | -} | |
| 2224 | - | |
| 2225 | -.mxch-message-bubble .mxchat-featured-item-image a { | |
| 2226 | - display: block; | |
| 2227 | - width: 70px; | |
| 2228 | - height: 70px; | |
| 2229 | - text-decoration: none; | |
| 2230 | -} | |
| 2231 | - | |
| 2232 | -.mxch-message-bubble .mxchat-featured-item-image img { | |
| 2233 | - width: 70px; | |
| 2234 | - height: 70px; | |
| 2235 | - object-fit: cover; | |
| 2236 | - border-radius: 8px; | |
| 2237 | - display: block; | |
| 2238 | -} | |
| 2239 | - | |
| 2240 | -.mxch-message-bubble .mxchat-featured-item-info { | |
| 2241 | - flex: 1; | |
| 2242 | - min-width: 0; | |
| 2243 | - display: flex; | |
| 2244 | - flex-direction: column; | |
| 2245 | - gap: 2px; | |
| 2246 | - justify-content: center; | |
| 2247 | -} | |
| 2248 | - | |
| 2249 | -.mxch-message-bubble .mxchat-featured-item-title, | |
| 2250 | -.mxch-message-bubble a.mxchat-featured-item-title { | |
| 2251 | - font-size: 13px; | |
| 2252 | - font-weight: 600; | |
| 2253 | - color: #1a1a1a; | |
| 2254 | - text-decoration: none; | |
| 2255 | - line-height: 1.3; | |
| 2256 | - display: -webkit-box; | |
| 2257 | - -webkit-line-clamp: 2; | |
| 2258 | - -webkit-box-orient: vertical; | |
| 2259 | - overflow: hidden; | |
| 2260 | - margin: 0; | |
| 2261 | - padding: 0; | |
| 2262 | -} | |
| 2263 | - | |
| 2264 | -.mxch-message-bubble a.mxchat-featured-item-title:hover { | |
| 2265 | - opacity: 0.8; | |
| 2266 | -} | |
| 2267 | - | |
| 2268 | -.mxch-message-bubble .mxchat-featured-item-price { | |
| 2269 | - font-weight: 700; | |
| 2270 | - font-size: 13px; | |
| 2271 | - color: #2e7d32; | |
| 2272 | - margin: 0; | |
| 2273 | -} | |
| 2274 | - | |
| 2275 | -.mxch-message-bubble .mxchat-featured-item-price del { | |
| 2276 | - opacity: 0.6; | |
| 2277 | - font-weight: 400; | |
| 2278 | - font-size: 0.85em; | |
| 2279 | - margin-right: 4px; | |
| 2280 | -} | |
| 2281 | - | |
| 2282 | -.mxch-message-bubble .mxchat-featured-item-price ins { | |
| 2283 | - text-decoration: none; | |
| 2284 | - background: none; | |
| 2285 | -} | |
| 2286 | - | |
| 2287 | -.mxch-message-bubble .mxchat-featured-item-actions { | |
| 2288 | - display: flex; | |
| 2289 | - flex-direction: row; | |
| 2290 | - gap: 8px; | |
| 2291 | - margin: 0; | |
| 2292 | - padding: 0; | |
| 2293 | -} | |
| 2294 | - | |
| 2295 | -.mxch-message-bubble .mxchat-featured-btn-details, | |
| 2296 | -.mxch-message-bubble a.mxchat-featured-btn-details { | |
| 2297 | - display: flex; | |
| 2298 | - align-items: center; | |
| 2299 | - justify-content: center; | |
| 2300 | - flex: 1; | |
| 2301 | - padding: 7px 10px; | |
| 2302 | - font-size: 12px; | |
| 2303 | - font-weight: 500; | |
| 2304 | - border-radius: 6px; | |
| 2305 | - text-decoration: none; | |
| 2306 | - border: 1px solid #ddd; | |
| 2307 | - background: transparent; | |
| 2308 | - color: #1a1a1a; | |
| 2309 | - text-align: center; | |
| 2310 | - line-height: 1.2; | |
| 2311 | -} | |
| 2312 | - | |
| 2313 | -.mxch-message-bubble .mxchat-featured-btn-cart, | |
| 2314 | -.mxch-message-bubble button.mxchat-featured-btn-cart { | |
| 2315 | - display: flex; | |
| 2316 | - align-items: center; | |
| 2317 | - justify-content: center; | |
| 2318 | - flex: 1; | |
| 2319 | - padding: 7px 10px; | |
| 2320 | - font-size: 12px; | |
| 2321 | - font-weight: 500; | |
| 2322 | - border-radius: 6px; | |
| 2323 | - border: none; | |
| 2324 | - background: #212121; | |
| 2325 | - color: #fff; | |
| 2326 | - cursor: default; | |
| 2327 | - opacity: 0.6; | |
| 2328 | - line-height: 1.2; | |
| 2329 | -} | |
| 2330 | - | |
| 2331 | -/* ========================================================================== | |
| 2332 | - Leads Tab | |
| 2333 | - ========================================================================== */ | |
| 2334 | - | |
| 2335 | -.mxch-leads-stats { | |
| 2336 | - display: grid; | |
| 2337 | - grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); | |
| 2338 | - gap: var(--mxch-spacing-lg); | |
| 2339 | - margin-bottom: var(--mxch-spacing-xl); | |
| 2340 | -} | |
| 2341 | - | |
| 2342 | -.mxch-leads-toppages { | |
| 2343 | - margin-bottom: var(--mxch-spacing-xl); | |
| 2344 | -} | |
| 2345 | - | |
| 2346 | -.mxch-leads-toppages-hint { | |
| 2347 | - margin-left: auto; | |
| 2348 | - font-size: 12px; | |
| 2349 | - color: var(--mxch-text-muted); | |
| 2350 | - font-weight: 400; | |
| 2351 | -} | |
| 2352 | - | |
| 2353 | -.mxch-leads-toppages-list { | |
| 2354 | - display: grid; | |
| 2355 | - grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); | |
| 2356 | - gap: var(--mxch-spacing-sm); | |
| 2357 | -} | |
| 2358 | - | |
| 2359 | -.mxch-leads-toppage-row { | |
| 2360 | - display: flex; | |
| 2361 | - align-items: center; | |
| 2362 | - justify-content: space-between; | |
| 2363 | - gap: var(--mxch-spacing-sm); | |
| 2364 | - padding: 10px 14px; | |
| 2365 | - background: var(--mxch-card-bg); | |
| 2366 | - border: 1px solid var(--mxch-card-border); | |
| 2367 | - border-radius: var(--mxch-radius-md); | |
| 2368 | - text-align: left; | |
| 2369 | - cursor: pointer; | |
| 2370 | - transition: all var(--mxch-transition); | |
| 2371 | - color: var(--mxch-text-primary); | |
| 2372 | - font-size: 13px; | |
| 2373 | -} | |
| 2374 | - | |
| 2375 | -.mxch-leads-toppage-row:hover { | |
| 2376 | - border-color: var(--mxch-primary); | |
| 2377 | - box-shadow: var(--mxch-card-shadow-hover); | |
| 2378 | -} | |
| 2379 | - | |
| 2380 | -.mxch-leads-toppage-row.is-active { | |
| 2381 | - border-color: var(--mxch-primary); | |
| 2382 | - background: rgba(99, 102, 241, 0.06); | |
| 2383 | -} | |
| 2384 | - | |
| 2385 | -.mxch-leads-toppage-title { | |
| 2386 | - flex: 1 1 auto; | |
| 2387 | - min-width: 0; | |
| 2388 | - overflow: hidden; | |
| 2389 | - text-overflow: ellipsis; | |
| 2390 | - white-space: nowrap; | |
| 2391 | -} | |
| 2392 | - | |
| 2393 | -.mxch-leads-toppage-count { | |
| 2394 | - flex: 0 0 auto; | |
| 2395 | - display: inline-flex; | |
| 2396 | - align-items: center; | |
| 2397 | - justify-content: center; | |
| 2398 | - min-width: 28px; | |
| 2399 | - height: 22px; | |
| 2400 | - padding: 0 8px; | |
| 2401 | - border-radius: 999px; | |
| 2402 | - background: var(--mxch-primary); | |
| 2403 | - color: #fff; | |
| 2404 | - font-size: 11px; | |
| 2405 | - font-weight: 600; | |
| 2406 | -} | |
| 2407 | - | |
| 2408 | -.mxch-leads-empty-mini { | |
| 2409 | - padding: 12px; | |
| 2410 | - text-align: center; | |
| 2411 | - color: var(--mxch-text-muted); | |
| 2412 | - font-size: 13px; | |
| 2413 | -} | |
| 2414 | - | |
| 2415 | -/* Toolbar + card */ | |
| 2416 | -.mxch-leads-card { | |
| 2417 | - padding: 0; | |
| 2418 | - overflow: hidden; | |
| 2419 | -} | |
| 2420 | - | |
| 2421 | -.mxch-leads-toolbar { | |
| 2422 | - display: flex; | |
| 2423 | - align-items: center; | |
| 2424 | - justify-content: space-between; | |
| 2425 | - gap: var(--mxch-spacing-md); | |
| 2426 | - padding: var(--mxch-spacing-md) var(--mxch-spacing-lg); | |
| 2427 | - border-bottom: 1px solid var(--mxch-card-border); | |
| 2428 | - flex-wrap: wrap; | |
| 2429 | -} | |
| 2430 | - | |
| 2431 | -.mxch-leads-toolbar-left, | |
| 2432 | -.mxch-leads-toolbar-right { | |
| 2433 | - display: flex; | |
| 2434 | - align-items: center; | |
| 2435 | - gap: var(--mxch-spacing-sm); | |
| 2436 | -} | |
| 2437 | - | |
| 2438 | -.mxch-leads-export { | |
| 2439 | - position: relative; | |
| 2440 | -} | |
| 2441 | - | |
| 2442 | -.mxch-leads-export-menu { | |
| 2443 | - position: absolute; | |
| 2444 | - right: 0; | |
| 2445 | - top: calc(100% + 6px); | |
| 2446 | - min-width: 240px; | |
| 2447 | - background: var(--mxch-card-bg); | |
| 2448 | - border: 1px solid var(--mxch-card-border); | |
| 2449 | - border-radius: var(--mxch-radius-md); | |
| 2450 | - box-shadow: var(--mxch-card-shadow-hover); | |
| 2451 | - padding: 4px; | |
| 2452 | - z-index: 20; | |
| 2453 | - display: none; | |
| 2454 | -} | |
| 2455 | - | |
| 2456 | -.mxch-leads-export-menu.is-open { display: block; } | |
| 2457 | - | |
| 2458 | -.mxch-leads-export-menu button { | |
| 2459 | - display: block; | |
| 2460 | - width: 100%; | |
| 2461 | - padding: 8px 12px; | |
| 2462 | - background: transparent; | |
| 2463 | - border: none; | |
| 2464 | - border-radius: 6px; | |
| 2465 | - text-align: left; | |
| 2466 | - color: var(--mxch-text-primary); | |
| 2467 | - font-size: 13px; | |
| 2468 | - cursor: pointer; | |
| 2469 | -} | |
| 2470 | - | |
| 2471 | -.mxch-leads-export-menu button:hover:not(:disabled) { | |
| 2472 | - background: rgba(99, 102, 241, 0.08); | |
| 2473 | -} | |
| 2474 | - | |
| 2475 | -.mxch-leads-export-menu button:disabled { | |
| 2476 | - color: var(--mxch-text-muted); | |
| 2477 | - cursor: not-allowed; | |
| 2478 | -} | |
| 2479 | - | |
| 2480 | -/* Filters row */ | |
| 2481 | -.mxch-leads-filters { | |
| 2482 | - display: flex; | |
| 2483 | - align-items: center; | |
| 2484 | - gap: var(--mxch-spacing-sm); | |
| 2485 | - padding: var(--mxch-spacing-md) var(--mxch-spacing-lg); | |
| 2486 | - border-bottom: 1px solid var(--mxch-card-border); | |
| 2487 | - flex-wrap: wrap; | |
| 2488 | -} | |
| 2489 | - | |
| 2490 | -.mxch-leads-filters .mxch-search-wrapper { | |
| 2491 | - flex: 1 1 260px; | |
| 2492 | - min-width: 180px; | |
| 2493 | -} | |
| 2494 | - | |
| 2495 | -.mxch-leads-filters .mxch-select { | |
| 2496 | - height: 36px; | |
| 2497 | - min-width: 160px; | |
| 2498 | -} | |
| 2499 | - | |
| 2500 | -.mxch-leads-active-page-filter { | |
| 2501 | - display: inline-flex; | |
| 2502 | - align-items: center; | |
| 2503 | - gap: 6px; | |
| 2504 | - padding: 4px 6px 4px 10px; | |
| 2505 | - background: rgba(99, 102, 241, 0.08); | |
| 2506 | - border: 1px solid rgba(99, 102, 241, 0.28); | |
| 2507 | - border-radius: 999px; | |
| 2508 | - font-size: 12px; | |
| 2509 | - color: var(--mxch-text-primary); | |
| 2510 | - max-width: 280px; | |
| 2511 | -} | |
| 2512 | - | |
| 2513 | -.mxch-leads-page-chip-label { | |
| 2514 | - overflow: hidden; | |
| 2515 | - text-overflow: ellipsis; | |
| 2516 | - white-space: nowrap; | |
| 2517 | -} | |
| 2518 | - | |
| 2519 | -.mxch-leads-page-chip-remove { | |
| 2520 | - border: none; | |
| 2521 | - background: transparent; | |
| 2522 | - font-size: 16px; | |
| 2523 | - line-height: 1; | |
| 2524 | - cursor: pointer; | |
| 2525 | - padding: 0 4px; | |
| 2526 | - color: var(--mxch-text-muted); | |
| 2527 | -} | |
| 2528 | - | |
| 2529 | -.mxch-leads-page-chip-remove:hover { | |
| 2530 | - color: var(--mxch-text-primary); | |
| 2531 | -} | |
| 2532 | - | |
| 2533 | -/* Table */ | |
| 2534 | -.mxch-leads-table-wrap { | |
| 2535 | - overflow-x: auto; | |
| 2536 | -} | |
| 2537 | - | |
| 2538 | -.mxch-leads-table { | |
| 2539 | - width: 100%; | |
| 2540 | - border-collapse: separate; | |
| 2541 | - border-spacing: 0; | |
| 2542 | - font-size: 13px; | |
| 2543 | -} | |
| 2544 | - | |
| 2545 | -.mxch-leads-table thead th { | |
| 2546 | - padding: 10px 14px; | |
| 2547 | - text-align: left; | |
| 2548 | - background: var(--mxch-card-bg); | |
| 2549 | - border-bottom: 1px solid var(--mxch-card-border); | |
| 2550 | - color: var(--mxch-text-secondary); | |
| 2551 | - font-weight: 600; | |
| 2552 | - font-size: 11px; | |
| 2553 | - text-transform: uppercase; | |
| 2554 | - letter-spacing: 0.04em; | |
| 2555 | - position: sticky; | |
| 2556 | - top: 0; | |
| 2557 | -} | |
| 2558 | - | |
| 2559 | -.mxch-leads-table tbody td { | |
| 2560 | - padding: 12px 14px; | |
| 2561 | - border-bottom: 1px solid var(--mxch-card-border); | |
| 2562 | - vertical-align: middle; | |
| 2563 | - color: var(--mxch-text-primary); | |
| 2564 | -} | |
| 2565 | - | |
| 2566 | -.mxch-leads-table tbody tr:last-child td { | |
| 2567 | - border-bottom: none; | |
| 2568 | -} | |
| 2569 | - | |
| 2570 | -.mxch-leads-table tbody tr:hover { | |
| 2571 | - background: rgba(99, 102, 241, 0.04); | |
| 2572 | -} | |
| 2573 | - | |
| 2574 | -.mxch-leads-row.is-orphan .mxch-leads-lead-email { | |
| 2575 | - font-style: italic; | |
| 2576 | - color: var(--mxch-text-secondary); | |
| 2577 | -} | |
| 2578 | - | |
| 2579 | -.mxch-leads-table { table-layout: fixed; } | |
| 2580 | - | |
| 2581 | -.mxch-leads-col-check { width: 40px; } | |
| 2582 | -.mxch-leads-col-lead { width: auto; min-width: 280px; } | |
| 2583 | -.mxch-leads-col-count { width: 130px; text-align: left; } | |
| 2584 | -.mxch-leads-col-last { width: 110px; white-space: nowrap; } | |
| 2585 | -.mxch-leads-col-page { width: 180px; max-width: 180px; } | |
| 2586 | -.mxch-leads-col-actions { width: 170px; white-space: nowrap; text-align: right; } | |
| 2587 | - | |
| 2588 | -.mxch-leads-lead-cell { | |
| 2589 | - display: flex; | |
| 2590 | - flex-direction: column; | |
| 2591 | - min-width: 0; | |
| 2592 | - gap: 2px; | |
| 2593 | -} | |
| 2594 | - | |
| 2595 | -.mxch-leads-lead-email { | |
| 2596 | - font-weight: 500; | |
| 2597 | - color: var(--mxch-text-primary); | |
| 2598 | - overflow: hidden; | |
| 2599 | - text-overflow: ellipsis; | |
| 2600 | - white-space: nowrap; | |
| 2601 | -} | |
| 2602 | - | |
| 2603 | -.mxch-leads-lead-name { | |
| 2604 | - font-size: 11px; | |
| 2605 | - color: var(--mxch-text-muted); | |
| 2606 | - overflow: hidden; | |
| 2607 | - text-overflow: ellipsis; | |
| 2608 | - white-space: nowrap; | |
| 2609 | -} | |
| 2610 | - | |
| 2611 | -.mxch-leads-muted { color: var(--mxch-text-muted); } | |
| 2612 | - | |
| 2613 | -.mxch-leads-pill { | |
| 2614 | - display: inline-flex; | |
| 2615 | - align-items: center; | |
| 2616 | - justify-content: center; | |
| 2617 | - min-width: 28px; | |
| 2618 | - height: 22px; | |
| 2619 | - padding: 0 8px; | |
| 2620 | - border-radius: 999px; | |
| 2621 | - background: rgba(99, 102, 241, 0.12); | |
| 2622 | - color: var(--mxch-primary); | |
| 2623 | - font-weight: 600; | |
| 2624 | - font-size: 11px; | |
| 2625 | -} | |
| 2626 | - | |
| 2627 | -.mxch-leads-pill-orphan { | |
| 2628 | - background: rgba(245, 158, 11, 0.14); | |
| 2629 | - color: var(--mxch-warning); | |
| 2630 | -} | |
| 2631 | - | |
| 2632 | -.mxch-leads-pill-deleted { | |
| 2633 | - background: rgba(100, 116, 139, 0.12); | |
| 2634 | - color: var(--mxch-text-secondary); | |
| 2635 | - border: 1px solid rgba(100, 116, 139, 0.22); | |
| 2636 | - padding: 0 10px; | |
| 2637 | -} | |
| 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 | - | |
| 2651 | -.mxch-leads-row.is-chat-deleted .mxch-leads-lead-email { | |
| 2652 | - color: var(--mxch-text-secondary); | |
| 2653 | -} | |
| 2654 | - | |
| 2655 | -.mxch-transcript-confirm-check { | |
| 2656 | - display: flex; | |
| 2657 | - gap: 10px; | |
| 2658 | - align-items: flex-start; | |
| 2659 | - padding: 10px 12px; | |
| 2660 | - margin: 12px 0 4px; | |
| 2661 | - background: rgba(99, 102, 241, 0.04); | |
| 2662 | - border: 1px solid var(--mxch-card-border); | |
| 2663 | - border-radius: var(--mxch-radius-md); | |
| 2664 | - cursor: pointer; | |
| 2665 | -} | |
| 2666 | - | |
| 2667 | -.mxch-transcript-confirm-check input[type="checkbox"] { | |
| 2668 | - margin-top: 3px; | |
| 2669 | - flex: 0 0 auto; | |
| 2670 | -} | |
| 2671 | - | |
| 2672 | -.mxch-transcript-confirm-check strong { | |
| 2673 | - display: block; | |
| 2674 | - color: var(--mxch-text-primary); | |
| 2675 | - font-weight: 600; | |
| 2676 | - font-size: 13px; | |
| 2677 | -} | |
| 2678 | - | |
| 2679 | -.mxch-transcript-confirm-sublabel { | |
| 2680 | - display: block; | |
| 2681 | - margin-top: 2px; | |
| 2682 | - font-size: 12px; | |
| 2683 | - color: var(--mxch-text-muted); | |
| 2684 | - font-style: normal; | |
| 2685 | -} | |
| 2686 | - | |
| 2687 | -.mxch-leads-page-link { | |
| 2688 | - display: inline-block; | |
| 2689 | - max-width: 100%; | |
| 2690 | - overflow: hidden; | |
| 2691 | - text-overflow: ellipsis; | |
| 2692 | - white-space: nowrap; | |
| 2693 | - vertical-align: middle; | |
| 2694 | - color: var(--mxch-primary); | |
| 2695 | - text-decoration: none; | |
| 2696 | -} | |
| 2697 | - | |
| 2698 | -.mxch-leads-page-link:hover { text-decoration: underline; } | |
| 2699 | - | |
| 2700 | -.mxch-leads-col-actions .mxch-btn { | |
| 2701 | - margin-left: 6px; | |
| 2702 | -} | |
| 2703 | - | |
| 2704 | -.mxch-btn-danger-ghost { | |
| 2705 | - color: #b91c1c; | |
| 2706 | -} | |
| 2707 | - | |
| 2708 | -.mxch-btn-danger-ghost:hover { | |
| 2709 | - background: rgba(185, 28, 28, 0.08); | |
| 2710 | - color: #991b1b; | |
| 2711 | -} | |
| 2712 | - | |
| 2713 | -.mxch-leads-empty, | |
| 2714 | -.mxch-leads-loading { | |
| 2715 | - padding: 40px 16px; | |
| 2716 | - text-align: center; | |
| 2717 | - color: var(--mxch-text-muted); | |
| 2718 | -} | |
| 2719 | - | |
| 2720 | -.mxch-leads-empty-wrap { | |
| 2721 | - display: flex; | |
| 2722 | - flex-direction: column; | |
| 2723 | - align-items: center; | |
| 2724 | - gap: var(--mxch-spacing-sm); | |
| 2725 | - color: var(--mxch-text-muted); | |
| 2726 | -} | |
| 2727 | - | |
| 2728 | -.mxch-leads-empty-wrap svg { opacity: 0.6; } | |
| 2729 | - | |
| 2730 | -.mxch-leads-count { | |
| 2731 | - font-size: 12px; | |
| 2732 | - color: var(--mxch-text-muted); | |
| 2733 | -} | |
| 2734 | - | |
| 2735 | -/* Confirm modal */ | |
| 2736 | -.mxch-leads-confirm-box { | |
| 2737 | - max-width: 440px; | |
| 2738 | -} | |
| 2739 | - | |
| 2740 | -.mxch-leads-confirm-warning { | |
| 2741 | - color: var(--mxch-text-muted); | |
| 2742 | - font-size: 12px; | |
| 2743 | - margin-top: 8px; | |
| 2744 | -} | |
| 2745 | - | |
| 2746 | -.mxch-leads-confirm-actions { | |
| 2747 | - display: flex; | |
| 2748 | - justify-content: flex-end; | |
| 2749 | - gap: 8px; | |
| 2750 | - padding: var(--mxch-spacing-md) var(--mxch-spacing-lg); | |
| 2751 | - border-top: 1px solid var(--mxch-card-border); | |
| 2752 | -} | |
| 2753 | - | |
| 2754 | -/* Responsive: tablet */ | |
| 2755 | -@media (max-width: 1024px) { | |
| 2756 | - .mxch-leads-col-page { width: 140px; max-width: 140px; } | |
| 2757 | - .mxch-leads-col-actions { width: 140px; } | |
| 2758 | - .mxch-leads-col-actions .mxch-leads-view span { display: none; } | |
| 2759 | -} | |
| 2760 | - | |
| 2761 | -/* Responsive: phone */ | |
| 2762 | -@media (max-width: 768px) { | |
| 2763 | - .mxch-leads-col-page, | |
| 2764 | - .mxch-leads-col-last { | |
| 2765 | - display: none; | |
| 2766 | - } | |
| 2767 | - .mxch-leads-filters { | |
| 2768 | - padding: var(--mxch-spacing-sm); | |
| 2769 | - } | |
| 2770 | - .mxch-leads-filters .mxch-select { | |
| 2771 | - flex: 1 1 48%; | |
| 2772 | - min-width: 0; | |
| 2773 | - } | |
| 2774 | - .mxch-leads-toolbar { | |
| 2775 | - padding: var(--mxch-spacing-sm); | |
| 2776 | - } | |
| 2777 | - .mxch-leads-table thead th { padding: 8px 10px; font-size: 10px; } | |
| 2778 | - .mxch-leads-table tbody td { padding: 10px; font-size: 12px; } | |
| 2779 | -} | |
| 2780 | - | |
| 2781 | -@media (max-width: 480px) { | |
| 2782 | - .mxch-leads-col-count { display: none; } | |
| 2783 | - .mxch-leads-toppages-list { grid-template-columns: 1fr; } | |
| 2784 | -} | |
| 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 | 1697 | } |