| @@ -266,14 +266,8 @@ | ||
| 266 | 266 | border: 1px solid #e5e5e5; |
| 267 | 267 | text-align: center; |
| 268 | 268 | } |
| 269 | 269 | |
| 270 | -/* YouTube import: multi-line radio/description stack reads left-aligned, | |
| 271 | - unlike the single-row URL forms the centered default was made for. */ | |
| 272 | -#mxchat-youtube-input-area { | |
| 273 | - text-align: left; | |
| 274 | -} | |
| 275 | - | |
| 276 | 270 | /* PDF Upload Area */ |
| 277 | 271 | #mxchat-pdf-upload-area input[type="file"] { |
| 278 | 272 | margin-bottom: 12px; |
| 279 | 273 | } |
| @@ -3829,43 +3823,8 @@ | ||
| 3829 | 3823 | gap: 8px; |
| 3830 | 3824 | flex-shrink: 0; |
| 3831 | 3825 | } |
| 3832 | 3826 | |
| 3833 | -/* ── Knowledge Inspector modal (plan-d8cb4b) ────────────────────────── | |
| 3834 | - Read-only "View indexed content" viewer. Reuses the Testing tab's | |
| 3835 | - match-card / chunk-detail components (admin-testing-tab.css, scoped under | |
| 3836 | - .mxch-testing-results) so it looks native; this block only adds the modal | |
| 3837 | - body scroll + the chunk-text container the Testing tab doesn't have. */ | |
| 3838 | -.mxchat-kb-inspect-body { | |
| 3839 | - flex: 1; | |
| 3840 | - display: flex; | |
| 3841 | - flex-direction: column; | |
| 3842 | - padding: 20px; | |
| 3843 | - overflow-y: auto; | |
| 3844 | - gap: 12px; | |
| 3845 | -} | |
| 3846 | -/* The modal body is the scroll container — let the inner results grow naturally | |
| 3847 | - instead of the Testing tab's own 400px inner scroll (avoids a double scrollbar). */ | |
| 3848 | -.mxchat-kb-inspect-body .mxch-testing-results { | |
| 3849 | - max-height: none; | |
| 3850 | - overflow: visible; | |
| 3851 | -} | |
| 3852 | -.mxch-kb-inspect-chunk-text { | |
| 3853 | - margin: 8px 0 0; | |
| 3854 | - padding: 12px 14px; | |
| 3855 | - background: #f8fafc; | |
| 3856 | - border: 1px solid #e2e8f0; | |
| 3857 | - border-radius: 6px; | |
| 3858 | - max-height: 260px; | |
| 3859 | - overflow-y: auto; | |
| 3860 | - white-space: pre-wrap; | |
| 3861 | - word-break: break-word; | |
| 3862 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; | |
| 3863 | - font-size: 13px; | |
| 3864 | - line-height: 1.6; | |
| 3865 | - color: var(--mxch-text-primary, #334155); | |
| 3866 | -} | |
| 3867 | - | |
| 3868 | 3827 | .mxchat-kb-edit-save-spinner { |
| 3869 | 3828 | display: inline-flex; |
| 3870 | 3829 | align-items: center; |
| 3871 | 3830 | gap: 6px; |
| @@ -3895,105 +3854,5 @@ | ||
| 3895 | 3854 | .mxchat-kb-edit-actions .mxch-btn { |
| 3896 | 3855 | flex: 1; |
| 3897 | 3856 | text-align: center; |
| 3898 | 3857 | } |
| 3899 | -} | |
| 3900 | -/* ========================================================================== | |
| 3901 | - Custom Meta-key discovery picker (plan-mxchat-20260709-fe8e4e) | |
| 3902 | - Canon-token chip picker mirroring the ACF discovery UX for non-ACF meta. | |
| 3903 | - ========================================================================== */ | |
| 3904 | -.mxchat-meta-scan-controls { | |
| 3905 | - display: flex; | |
| 3906 | - align-items: center; | |
| 3907 | - flex-wrap: wrap; | |
| 3908 | - gap: 12px; | |
| 3909 | - margin-bottom: 12px; | |
| 3910 | -} | |
| 3911 | -#mxchat-scan-meta-btn { | |
| 3912 | - display: inline-flex; | |
| 3913 | - align-items: center; | |
| 3914 | - gap: 8px; | |
| 3915 | -} | |
| 3916 | -.mxchat-meta-scan-internal { | |
| 3917 | - display: inline-flex; | |
| 3918 | - align-items: center; | |
| 3919 | - gap: 6px; | |
| 3920 | - font-size: 13px; | |
| 3921 | - color: var(--mxch-text-secondary, #64748b); | |
| 3922 | - cursor: pointer; | |
| 3923 | -} | |
| 3924 | -.mxchat-meta-scan-loading, | |
| 3925 | -.mxchat-meta-scan-empty { | |
| 3926 | - font-size: 13px; | |
| 3927 | - color: var(--mxch-text-secondary, #64748b); | |
| 3928 | - margin: 8px 0 0; | |
| 3929 | -} | |
| 3930 | -.mxchat-meta-chip-grid { | |
| 3931 | - display: grid; | |
| 3932 | - grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); | |
| 3933 | - gap: 10px; | |
| 3934 | - margin-top: 12px; | |
| 3935 | -} | |
| 3936 | -.mxchat-meta-chip { | |
| 3937 | - display: flex; | |
| 3938 | - flex-direction: column; | |
| 3939 | - align-items: flex-start; | |
| 3940 | - gap: 4px; | |
| 3941 | - text-align: left; | |
| 3942 | - width: 100%; | |
| 3943 | - padding: 10px 12px; | |
| 3944 | - background: var(--mxch-card-bg, #fff); | |
| 3945 | - border: 1px solid var(--mxch-card-border, #e2e8f0); | |
| 3946 | - border-radius: var(--mxch-radius-md, 8px); | |
| 3947 | - cursor: pointer; | |
| 3948 | - transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; | |
| 3949 | -} | |
| 3950 | -.mxchat-meta-chip:hover { | |
| 3951 | - border-color: var(--mxch-primary, #7873f5); | |
| 3952 | - box-shadow: 0 1px 4px rgba(120, 115, 245, 0.15); | |
| 3953 | -} | |
| 3954 | -.mxchat-meta-chip-main { | |
| 3955 | - display: flex; | |
| 3956 | - align-items: baseline; | |
| 3957 | - flex-wrap: wrap; | |
| 3958 | - gap: 8px; | |
| 3959 | -} | |
| 3960 | -.mxchat-meta-chip-name { | |
| 3961 | - font-weight: 600; | |
| 3962 | - color: var(--mxch-text-primary, #1a1a2e); | |
| 3963 | - font-size: 13px; | |
| 3964 | -} | |
| 3965 | -.mxchat-meta-chip-key { | |
| 3966 | - font-family: monospace; | |
| 3967 | - font-size: 11px; | |
| 3968 | - color: var(--mxch-text-muted, #94a3b8); | |
| 3969 | - background: #f1f5f9; | |
| 3970 | - padding: 1px 6px; | |
| 3971 | - border-radius: 4px; | |
| 3972 | -} | |
| 3973 | -.mxchat-meta-chip-meta { | |
| 3974 | - font-size: 11px; | |
| 3975 | - color: var(--mxch-text-muted, #94a3b8); | |
| 3976 | - white-space: nowrap; | |
| 3977 | - overflow: hidden; | |
| 3978 | - text-overflow: ellipsis; | |
| 3979 | - max-width: 100%; | |
| 3980 | -} | |
| 3981 | -.mxchat-meta-chip-tick { | |
| 3982 | - font-size: 11px; | |
| 3983 | - font-weight: 600; | |
| 3984 | - color: var(--mxch-primary, #7873f5); | |
| 3985 | - margin-top: 2px; | |
| 3986 | -} | |
| 3987 | -.mxchat-meta-chip.is-added { | |
| 3988 | - border-color: var(--mxch-success, #10b981); | |
| 3989 | - background: rgba(16, 185, 129, 0.06); | |
| 3990 | - cursor: default; | |
| 3991 | -} | |
| 3992 | -.mxchat-meta-chip.is-added .mxchat-meta-chip-tick { | |
| 3993 | - color: var(--mxch-success, #10b981); | |
| 3994 | -} | |
| 3995 | -@media (max-width: 782px) { | |
| 3996 | - .mxchat-meta-chip-grid { | |
| 3997 | - grid-template-columns: 1fr; | |
| 3998 | - } | |
| 3999 | -} | |
| 3858 | +} | |