.conversation-template-card{display:flex;align-items:center;gap:12px;margin-top:12px;padding:10px;border:1px solid var(--border,#e6e8ee);border-radius:12px;background:var(--surface,#fff)}
.conversation-template-preview{width:112px;aspect-ratio:16/9;flex:none;overflow:hidden;border-radius:7px;background:#eef0f5}
.conversation-template-preview svg{width:100%;height:100%;display:block}
.conversation-activity{margin:0 0 4px 40px;padding:0;border:0;border-radius:0;background:transparent;overflow:visible}
.conversation-activity>summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:6px;padding:1px 0;color:#92919a;font-size:11px;text-decoration:underline;text-decoration-color:#c7c5cc;text-underline-offset:3px}
.conversation-activity>summary::after{content:'展开';margin-left:3px;font-size:10px;color:#aaa8b0;text-decoration:none}
.conversation-activity[open]>summary::after{content:'收起'}
.conversation-activity .chat-activity-list li{display:flex!important}
.conversation-activity .chat-activity-list{margin:3px 0 5px;padding:0 0 0 1px;max-height:220px;overflow:auto}
.conversation-activity .chat-activity-list li{padding:5px 0;font-size:11px}
.workspace-chat-log .generation-message{max-width:100%;padding:0;margin:14px 0;gap:9px}
.workspace-chat-log .chat-bubble{min-width:0;max-width:calc(100% - 36px);font-size:13px}
.workspace-chat-log .chat-message-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}
.workspace-chat-log .chat-avatar{width:27px;height:27px;flex:0 0 27px}
.workspace-chat-log .activity-time{display:none}
.workspace-chat-log .chat-activity-head{flex-wrap:wrap}
.workspace-chat-log .activity-copy{min-width:0}
.workspace-chat-log .activity-copy span{white-space:normal;overflow-wrap:anywhere}
.workspace-chat-log .chat-result-button{width:100%;padding:12px;margin-top:10px}
.generation-message.is-error .chat-bubble{border-color:#f2b6b2;background:#fff4f3}
.workspace-chat-head strong{font-size:14px}
.workspace-chat-log .conversation-activity{margin-left:0}
.chat-failure-line{display:flex;align-items:center;gap:8px}
.chat-failure-line .chat-message-text{min-width:0;flex:1}
.chat-retry-button{display:inline-grid;place-items:center;flex:0 0 30px;width:30px;height:30px;padding:6px;border:1px solid #e1d9eb;border-radius:8px;background:#fff;color:#63507e;cursor:pointer}
.chat-retry-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.chat-retry-button:hover{background:#f3effb;border-color:#b8a5db;color:#5146d8}
.chat-retry-button:focus-visible{outline:2px solid #5146d8;outline-offset:3px}
.chat-retry-button:disabled{opacity:.45;cursor:wait}
