/* AI 追问组件：四个模块配色不同，这里只用半透明灰与继承的文字颜色，深浅底色上都能看清 */
.bg-chat { margin: 16px 0 8px; padding: 14px; border-radius: 12px; border: 1px solid rgba(128,128,128,.3); background: rgba(128,128,128,.07);
  color: inherit; font-size: 15px; line-height: 1.7; text-align: left; }
.bg-chat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.bg-chat-head b { font-size: 15px; letter-spacing: .05em; }
.bg-chat-left { font-size: 12px; opacity: .7; }
.bg-chat-log { display: flex; flex-direction: column; gap: 10px; }
.bg-chat-log:empty { display: none; }
.bg-chat-q, .bg-chat-a { padding: 9px 12px; border-radius: 12px; white-space: pre-wrap; word-break: break-word; max-width: 92%; }
.bg-chat-q { align-self: flex-end; background: rgba(201,164,92,.22); border-bottom-right-radius: 4px; }
.bg-chat-a { align-self: flex-start; background: rgba(128,128,128,.14); border-bottom-left-radius: 4px; }
.bg-chat-a.thinking { opacity: .7; animation: bg-chat-pulse 1.4s ease-in-out infinite; }
.bg-chat-a.muted { opacity: .75; font-size: 14px; }
@keyframes bg-chat-pulse { 50% { opacity: .35; } }
.bg-chat-form { display: flex; gap: 8px; align-items: flex-end; margin-top: 10px; }
.bg-chat-form textarea { flex: 1; min-width: 0; resize: vertical; min-height: 44px; max-height: 160px; padding: 9px 11px; border-radius: 10px;
  border: 1px solid rgba(128,128,128,.4); background: rgba(128,128,128,.08); color: inherit; font: inherit; font-size: 15px; }
.bg-chat-form textarea:focus { outline: 2px solid rgba(201,164,92,.55); border-color: rgba(201,164,92,.8); }
.bg-chat-send { flex: none; height: 44px; padding: 0 18px; border-radius: 10px; border: 0; background: #c9a45c; color: #1b1406; font: inherit;
  font-weight: 600; cursor: pointer; }
.bg-chat-send:disabled, .bg-chat-form textarea:disabled { opacity: .5; cursor: not-allowed; }
.bg-chat-note { margin: 8px 0 0; font-size: 12px; opacity: .6; }
@media (prefers-reduced-motion: reduce) { .bg-chat-a.thinking { animation: none; } }
