| @@ -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; |
| @@ -1190,20 +1118,8 @@ | ||
| 1190 | 1118 | text-transform: uppercase; |
| 1191 | 1119 | letter-spacing: 0.5px; |
| 1192 | 1120 | } |
| 1193 | 1121 | |
| 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 | 1122 | .mxch-rag-link { |
| 1207 | 1123 | font-size: 11px; |
| 1208 | 1124 | color: #3b82f6; |
| 1209 | 1125 | text-decoration: none; |
| @@ -1740,32 +1656,8 @@ | ||
| 1740 | 1656 | color: var(--mxch-primary); |
| 1741 | 1657 | border-radius: 10px; |
| 1742 | 1658 | } |
| 1743 | 1659 | |
| 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 | 1660 | .mxch-rag-match-status { |
| 1769 | 1661 | margin-left: auto; |
| 1770 | 1662 | font-size: 12px; |
| 1771 | 1663 | font-weight: 500; |
| @@ -1948,69 +1840,8 @@ | ||
| 1948 | 1840 | border-right: 4px solid transparent; |
| 1949 | 1841 | border-top: 4px solid #ef4444; |
| 1950 | 1842 | } |
| 1951 | 1843 | |
| 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 | 1844 | /* No Results State */ |
| 2014 | 1845 | .mxch-no-results { |
| 2015 | 1846 | text-align: center; |
| 2016 | 1847 | padding: var(--mxch-spacing-xl); |
| @@ -2111,756 +1942,5 @@ | ||
| 2111 | 1942 | |
| 2112 | 1943 | .mxch-controls-actions form { |
| 2113 | 1944 | width: 100%; |
| 2114 | 1945 | } |
| 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 | -.mxch-leads-row.is-chat-deleted .mxch-leads-lead-email { | |
| 2640 | - color: var(--mxch-text-secondary); | |
| 2641 | -} | |
| 2642 | - | |
| 2643 | -.mxch-transcript-confirm-check { | |
| 2644 | - display: flex; | |
| 2645 | - gap: 10px; | |
| 2646 | - align-items: flex-start; | |
| 2647 | - padding: 10px 12px; | |
| 2648 | - margin: 12px 0 4px; | |
| 2649 | - background: rgba(99, 102, 241, 0.04); | |
| 2650 | - border: 1px solid var(--mxch-card-border); | |
| 2651 | - border-radius: var(--mxch-radius-md); | |
| 2652 | - cursor: pointer; | |
| 2653 | -} | |
| 2654 | - | |
| 2655 | -.mxch-transcript-confirm-check input[type="checkbox"] { | |
| 2656 | - margin-top: 3px; | |
| 2657 | - flex: 0 0 auto; | |
| 2658 | -} | |
| 2659 | - | |
| 2660 | -.mxch-transcript-confirm-check strong { | |
| 2661 | - display: block; | |
| 2662 | - color: var(--mxch-text-primary); | |
| 2663 | - font-weight: 600; | |
| 2664 | - font-size: 13px; | |
| 2665 | -} | |
| 2666 | - | |
| 2667 | -.mxch-transcript-confirm-sublabel { | |
| 2668 | - display: block; | |
| 2669 | - margin-top: 2px; | |
| 2670 | - font-size: 12px; | |
| 2671 | - color: var(--mxch-text-muted); | |
| 2672 | - font-style: normal; | |
| 2673 | -} | |
| 2674 | - | |
| 2675 | -.mxch-leads-page-link { | |
| 2676 | - display: inline-block; | |
| 2677 | - max-width: 100%; | |
| 2678 | - overflow: hidden; | |
| 2679 | - text-overflow: ellipsis; | |
| 2680 | - white-space: nowrap; | |
| 2681 | - vertical-align: middle; | |
| 2682 | - color: var(--mxch-primary); | |
| 2683 | - text-decoration: none; | |
| 2684 | -} | |
| 2685 | - | |
| 2686 | -.mxch-leads-page-link:hover { text-decoration: underline; } | |
| 2687 | - | |
| 2688 | -.mxch-leads-col-actions .mxch-btn { | |
| 2689 | - margin-left: 6px; | |
| 2690 | -} | |
| 2691 | - | |
| 2692 | -.mxch-btn-danger-ghost { | |
| 2693 | - color: #b91c1c; | |
| 2694 | -} | |
| 2695 | - | |
| 2696 | -.mxch-btn-danger-ghost:hover { | |
| 2697 | - background: rgba(185, 28, 28, 0.08); | |
| 2698 | - color: #991b1b; | |
| 2699 | -} | |
| 2700 | - | |
| 2701 | -.mxch-leads-empty, | |
| 2702 | -.mxch-leads-loading { | |
| 2703 | - padding: 40px 16px; | |
| 2704 | - text-align: center; | |
| 2705 | - color: var(--mxch-text-muted); | |
| 2706 | -} | |
| 2707 | - | |
| 2708 | -.mxch-leads-empty-wrap { | |
| 2709 | - display: flex; | |
| 2710 | - flex-direction: column; | |
| 2711 | - align-items: center; | |
| 2712 | - gap: var(--mxch-spacing-sm); | |
| 2713 | - color: var(--mxch-text-muted); | |
| 2714 | -} | |
| 2715 | - | |
| 2716 | -.mxch-leads-empty-wrap svg { opacity: 0.6; } | |
| 2717 | - | |
| 2718 | -.mxch-leads-count { | |
| 2719 | - font-size: 12px; | |
| 2720 | - color: var(--mxch-text-muted); | |
| 2721 | -} | |
| 2722 | - | |
| 2723 | -/* Confirm modal */ | |
| 2724 | -.mxch-leads-confirm-box { | |
| 2725 | - max-width: 440px; | |
| 2726 | -} | |
| 2727 | - | |
| 2728 | -.mxch-leads-confirm-warning { | |
| 2729 | - color: var(--mxch-text-muted); | |
| 2730 | - font-size: 12px; | |
| 2731 | - margin-top: 8px; | |
| 2732 | -} | |
| 2733 | - | |
| 2734 | -.mxch-leads-confirm-actions { | |
| 2735 | - display: flex; | |
| 2736 | - justify-content: flex-end; | |
| 2737 | - gap: 8px; | |
| 2738 | - padding: var(--mxch-spacing-md) var(--mxch-spacing-lg); | |
| 2739 | - border-top: 1px solid var(--mxch-card-border); | |
| 2740 | -} | |
| 2741 | - | |
| 2742 | -/* Responsive: tablet */ | |
| 2743 | -@media (max-width: 1024px) { | |
| 2744 | - .mxch-leads-col-page { width: 140px; max-width: 140px; } | |
| 2745 | - .mxch-leads-col-actions { width: 140px; } | |
| 2746 | - .mxch-leads-col-actions .mxch-leads-view span { display: none; } | |
| 2747 | -} | |
| 2748 | - | |
| 2749 | -/* Responsive: phone */ | |
| 2750 | -@media (max-width: 768px) { | |
| 2751 | - .mxch-leads-col-page, | |
| 2752 | - .mxch-leads-col-last { | |
| 2753 | - display: none; | |
| 2754 | - } | |
| 2755 | - .mxch-leads-filters { | |
| 2756 | - padding: var(--mxch-spacing-sm); | |
| 2757 | - } | |
| 2758 | - .mxch-leads-filters .mxch-select { | |
| 2759 | - flex: 1 1 48%; | |
| 2760 | - min-width: 0; | |
| 2761 | - } | |
| 2762 | - .mxch-leads-toolbar { | |
| 2763 | - padding: var(--mxch-spacing-sm); | |
| 2764 | - } | |
| 2765 | - .mxch-leads-table thead th { padding: 8px 10px; font-size: 10px; } | |
| 2766 | - .mxch-leads-table tbody td { padding: 10px; font-size: 12px; } | |
| 2767 | -} | |
| 2768 | - | |
| 2769 | -@media (max-width: 480px) { | |
| 2770 | - .mxch-leads-col-count { display: none; } | |
| 2771 | - .mxch-leads-toppages-list { grid-template-columns: 1fr; } | |
| 2772 | -} | |
| 2773 | - | |
| 2774 | -/* Satisfaction card on Transcripts dashboard (plan-a5b006). */ | |
| 2775 | -.mxch-satisfaction-card .mxch-card-body { | |
| 2776 | - padding: var(--mxch-spacing-md); | |
| 2777 | -} | |
| 2778 | -.mxch-satisfaction-empty { | |
| 2779 | - margin: 0; | |
| 2780 | - padding: var(--mxch-spacing-sm) 0; | |
| 2781 | - color: #6b7280; | |
| 2782 | - font-size: 13px; | |
| 2783 | - line-height: 1.5; | |
| 2784 | -} | |
| 2785 | -.mxch-satisfaction-list { | |
| 2786 | - list-style: none; | |
| 2787 | - margin: 0; | |
| 2788 | - padding: 0; | |
| 2789 | - display: flex; | |
| 2790 | - flex-direction: column; | |
| 2791 | - gap: 8px; | |
| 2792 | -} | |
| 2793 | -.mxch-satisfaction-row { | |
| 2794 | - display: flex; | |
| 2795 | - align-items: center; | |
| 2796 | - gap: var(--mxch-spacing-md); | |
| 2797 | - padding: 10px 12px; | |
| 2798 | - background: #f9fafb; | |
| 2799 | - border: 1px solid #f3f4f6; | |
| 2800 | - border-radius: var(--mxch-radius-md, 8px); | |
| 2801 | -} | |
| 2802 | -.mxch-satisfaction-bot { | |
| 2803 | - flex: 0 0 28%; | |
| 2804 | - min-width: 0; | |
| 2805 | - font-weight: 600; | |
| 2806 | - font-size: 13px; | |
| 2807 | - color: #1a1a2e; | |
| 2808 | - overflow: hidden; | |
| 2809 | - text-overflow: ellipsis; | |
| 2810 | - white-space: nowrap; | |
| 2811 | -} | |
| 2812 | -.mxch-satisfaction-meta { | |
| 2813 | - flex: 1; | |
| 2814 | - display: flex; | |
| 2815 | - align-items: center; | |
| 2816 | - gap: 10px; | |
| 2817 | - font-size: 12px; | |
| 2818 | - color: #4b5563; | |
| 2819 | - flex-wrap: wrap; | |
| 2820 | -} | |
| 2821 | -.mxch-satisfaction-total { | |
| 2822 | - color: #6b7280; | |
| 2823 | - white-space: nowrap; | |
| 2824 | -} | |
| 2825 | -.mxch-satisfaction-bar { | |
| 2826 | - flex: 1; | |
| 2827 | - min-width: 80px; | |
| 2828 | - height: 6px; | |
| 2829 | - background: #e5e7eb; | |
| 2830 | - border-radius: 999px; | |
| 2831 | - overflow: hidden; | |
| 2832 | - display: flex; | |
| 2833 | -} | |
| 2834 | -.mxch-satisfaction-bar-up { | |
| 2835 | - background: #10b981; | |
| 2836 | - height: 100%; | |
| 2837 | -} | |
| 2838 | -.mxch-satisfaction-bar-down { | |
| 2839 | - background: #ef4444; | |
| 2840 | - height: 100%; | |
| 2841 | -} | |
| 2842 | -.mxch-satisfaction-pct { | |
| 2843 | - display: inline-flex; | |
| 2844 | - align-items: center; | |
| 2845 | - gap: 4px; | |
| 2846 | - font-weight: 600; | |
| 2847 | - white-space: nowrap; | |
| 2848 | -} | |
| 2849 | -.mxch-satisfaction-pct-up { color: #047857; } | |
| 2850 | -.mxch-satisfaction-pct-down { color: #b91c1c; } | |
| 2851 | -@media (max-width: 600px) { | |
| 2852 | - .mxch-satisfaction-row { flex-direction: column; align-items: flex-start; gap: 8px; } | |
| 2853 | - .mxch-satisfaction-bot { flex: 1 1 100%; } | |
| 2854 | - .mxch-satisfaction-meta { width: 100%; } | |
| 2855 | -} | |
| 2856 | - | |
| 2857 | -/* Details drawer — Feedback row value (user-submitted rating feedback). */ | |
| 2858 | -.mxch-detail-feedback-value { | |
| 2859 | - white-space: pre-wrap; | |
| 2860 | - word-break: break-word; | |
| 2861 | - max-width: 100%; | |
| 2862 | - display: block; | |
| 2863 | - margin-top: 4px; | |
| 2864 | - opacity: 0.9; | |
| 2865 | - font-style: italic; | |
| 2866 | 1946 | } |