.llm-result-container { margin-bottom: 14px; max-height: 300px; min-height: 60px; overflow: auto; border: 1px solid #e0e9f4; border-radius: 10px; padding: 16px 20px; background: #f8fbff; display: flex; flex-direction: column; resize: vertical; box-shadow: 0 2px 8px #cdd2fa2c; } .llm-title { position: sticky; top: 0; background: #f8fbff; font-weight: bold; color: #2453b5; margin: 0 -12px 8px -12px; padding: 8px 12px 6px 12px; font-size: 14px; border-bottom: 1px solid #e0e9f4; z-index: 2; } .llm-result-content { flex: 1; overflow-y: auto; min-height: 44px; font-size: 14px; color: #233; line-height: 1.7; word-break: break-all; white-space: pre-wrap; padding-left: 4px; padding-right: 4px; } .llm-input-bar { display: flex; gap: 8px; margin-top: 8px; padding-bottom: 2px; align-items: center; } #llmInput { flex: 1; padding: 6px 10px; border: 1px solid #c9dafc; border-radius: 5px; font-size: 14px; outline: none; } #llmSendBtn { padding: 6px 14px; background: #4179f6; color: #fff; border: none; border-radius: 5px; cursor: pointer; font-size: 14px; transition: background 0.2s; } #llmSendBtn:hover { background: #2350b8; } .llm-msg-item.llm-assistant { color: #233; background: #e7eefb; border-radius: 5px; margin: 3px 0 9px 0; padding: 7px 8px; word-break: break-all; font-weight: 500; border: 1px solid #b3cdfb; } .assistant-label { color: #2560de; font-weight: bold; margin-right: 3px; } .llm-think { background: #fffbe6; color: #8d7a24; font-size: 13px; font-style: italic; border-left: 3px solid #ffe16a; border-radius: 5px; margin-bottom: 6px; padding: 7px 10px 7px 12px; white-space: pre-wrap; } .tab-bar { display: flex; margin-bottom: 12px; border-bottom: 1.5px solid #e2e7f4; background: #f8fbff; } .tab-btn { flex: 1; padding: 9px 0; border: none; background: #f7faff; color: #2764bb; font-weight: bold; cursor: pointer; border-bottom: 2.5px solid transparent; font-size: 15px; transition: background 0.2s, border-color 0.2s; border-radius: 12px 12px 0 0; margin: 0 3px; } .tab-btn.active { background: #e7eefb; color: #2050b0; border-bottom: 2.5px solid #3070ed; } .tab-content { display: none; } .tab-content.active { display: block; } body.fullscreen #tabContentAi .llm-result-container { resize: vertical; overflow: auto; min-height: 160px; max-height: 80vh; } #tabContentAi .llm-result-container, #tabContentEs { margin-top: 8px; margin-bottom: 8px; } body.fullscreen #tabContentAi.tab-content.active { flex: 1 1 0; min-height: 0; display: flex !important; flex-direction: column; height: 100%; } .llm-md { font-size: 14.2px; line-height: 1.72; color: #222d3b; background: #fcfcfe; border-radius: 7px; box-shadow: 0 1.5px 6px #e6ebfa33; border: 1px solid #e7eaf5; padding: 18px 18px 13px 18px; margin: 9px 0 7px 0; overflow-x: auto; } /* 段落、标题、块状元素间距 */ .llm-md p, .llm-md ul, .llm-md ol, .llm-md pre, .llm-md blockquote, .llm-md table { margin-top: 0; margin-bottom: 0; } .llm-md h1, .llm-md h2, .llm-md h3, .llm-md h4, .llm-md h5, .llm-md h6 { margin-top: 1.2em; margin-bottom: 0.6em; font-weight: bold; color: #2560de; line-height: 1.22; } .llm-md h1 { font-size: 1.22em; border-bottom: 2px solid #e7eaf5; padding-bottom: 3px; } .llm-md h2 { font-size: 1.13em; border-bottom: 1px solid #eceff5; padding-bottom: 2px;} .llm-md h3 { font-size: 1.07em; } .llm-md h4, .llm-md h5, .llm-md h6 { font-size: 1em; } .llm-md > * + * { margin-top: 0.74em; /* 块元素之间舒适的间隔 */ } .llm-md ul, .llm-md ol { padding-left: 1.45em; margin-left: 0; } .llm-md li { margin-bottom: 0.16em; padding: 0; line-height: 1.62; } .llm-md blockquote { background: #f6f9fd; border-left: 4px solid #a4c0f0; padding: 8px 17px; margin: 9px 0 11px 0; color: #395fa9; font-size: 13.6px; border-radius: 6px; } .llm-md pre { background: #f5f7fa; color: #26324b; border-radius: 8px; padding: 15px 19px 15px 17px; font-size: 13.5px; margin: 8px 0 11px 0; overflow-x: auto; box-shadow: 0 2px 8px #e0eaf422; position: relative; border: 1px solid #e3e8f2; font-family: 'JetBrains Mono', 'Fira Mono', 'Consolas', 'monospace'; } .llm-md pre code { background: none; color: inherit; padding: 0; font-size: inherit; font-family: inherit; white-space: pre; } .llm-md code { background: #f7f6f4; color: #a72543; border-radius: 3.5px; padding: 2.5px 6px; font-size: 92%; font-family: 'JetBrains Mono', 'Fira Mono', 'Consolas', 'monospace'; } /* 复制按钮右上角美观悬浮 */ .llm-md .copy-btn { position: absolute; top: 10px; right: 14px; background: #eef1f9; color: #3661b2; border: 1px solid #dde4ef; border-radius: 5px; font-size: 12px; padding: 2px 13px 2px 13px; cursor: pointer; opacity: 0.76; z-index: 10; transition: background 0.16s, opacity 0.16s; box-shadow: 0 1px 3px #ccd4f522; font-weight: 500; height: 22px; line-height: 1.5; user-select: none; } .llm-md .copy-btn:hover { background: #e1eaff; opacity: 1; color: #184d99; } .llm-md pre:hover .copy-btn { opacity: 1; } .llm-md table { border-collapse: collapse; margin: 12px 0; width: 100%; background: #fff; box-shadow: 0 1px 5px #e3eaf5; font-size: 13px; } .llm-md th, .llm-md td { border: 1px solid #e5e9f2; padding: 8px 13px; text-align: left; } .llm-md th { background: #f5f7fc; color: #2c4e9c; font-weight: 600; } .llm-md hr { border: none; border-top: 1.5px dashed #d1d7e6; margin: 18px 0 15px 0; } .llm-md a { color: #2560de; text-decoration: underline dotted; word-break: break-all; transition: color 0.16s; } .llm-md a:hover { color: #183b8e; background: #e8f1ff; }