.fb-chat-references{position:relative;min-width:0}.fb-chat-references__chips{display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px}.fb-chat-references__chip{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;padding:2px 8px;border:1px solid var(--border-primary);border-radius:10px;background:var(--background-secondary);color:var(--text-secondary);font-size:13px}.fb-chat-references__chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fb-chat-references__chip>button{flex-shrink:0;min-width:32px;min-height:32px;padding:4px;background:transparent}.fb-chat-references__popup{position:absolute;z-index:30;left:0;right:0;bottom:calc(100% + 8px);overflow:auto;max-height:min(340px,45dvh);padding:8px;border:1px solid var(--border-primary);border-radius:16px;background:var(--background-primary);box-shadow:var(--shadow-lg);color:var(--text-primary)}.fb-chat-references--below .fb-chat-references__popup{bottom:auto;top:calc(100% + 8px)}.fb-chat-references__heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;padding:8px;font-size:13px}.fb-chat-references__heading span,.fb-chat-references__popup p{color:var(--text-tertiary);font-size:12px}.fb-chat-references__popup p{padding:8px;margin:0}.fb-chat-references__loading{display:flex;align-items:center;gap:10px;min-height:52px;padding:12px 10px;color:var(--text-secondary);font-size:13px}.fb-chat-references__spinner{flex:0 0 auto;width:18px;height:18px;border:2px solid var(--primary-color);border-right-color:transparent;border-radius:50%;animation:fb-chat-reference-spin .8s linear infinite}@keyframes fb-chat-reference-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.fb-chat-references__spinner{animation:none}}.fb-chat-references__list{display:grid;grid-gap:2px;gap:2px}.fb-chat-references__list>button{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-height:52px;padding:8px 10px;border-radius:10px;background:transparent;text-align:left;color:var(--text-primary)}.fb-chat-references__list>button.is-active,.fb-chat-references__list>button:hover{background:var(--background-tertiary)}.fb-chat-references__list>button[aria-disabled=true]{opacity:.6}.fb-chat-references__copy{display:grid;flex:1;min-width:0;grid-gap:3px;gap:3px}.fb-chat-references__copy strong,.fb-chat-references__copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fb-chat-references__copy strong{font-size:14px;font-weight:600}.fb-chat-references__copy small{font-size:12px;color:var(--text-tertiary)}@media(max-width:700px){.fb-chat-references__chip>button{min-width:44px;min-height:44px}}
