.chat-fab{z-index:1000;color:#fff;cursor:pointer;background:#1a1a1a;border:none;border-radius:9999px;align-items:center;gap:8px;padding:12px 20px 12px 16px;font-family:inherit;font-size:14px;font-weight:600;transition:background .15s,box-shadow .15s,transform .1s;display:flex;position:fixed;bottom:28px;right:28px;box-shadow:0 4px 16px #0000002e,0 1px 4px #0000001f}.chat-fab:hover{background:#333;transform:translateY(-1px);box-shadow:0 6px 20px #00000038}.chat-fab:active{transform:translateY(0)}.chat-fab-label{line-height:1}.chat-panel{z-index:1000;background:#fff;border:1px solid #e0e0e0;border-radius:16px;flex-direction:column;width:400px;max-width:calc(100vw - 40px);height:560px;max-height:calc(100vh - 56px);animation:.2s chat-panel-in;display:flex;position:fixed;bottom:28px;right:28px;overflow:hidden;box-shadow:0 8px 32px #00000024,0 2px 8px #00000014}@keyframes chat-panel-in{0%{opacity:0;transform:translateY(12px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.chat-header{color:#fff;background:#1a1a1a;flex-shrink:0;justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.chat-header-info{align-items:center;gap:10px;display:flex}.chat-header-icon{background:#ffffff26;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.chat-header-title{font-size:14px;font-weight:600;line-height:1.2;display:block}.chat-header-subtitle{opacity:.65;font-size:11px;line-height:1.2;display:block}.chat-header-actions{align-items:center;gap:4px;display:flex}.chat-icon-btn{color:#fffc;cursor:pointer;background:#ffffff1a;border:none;border-radius:6px;justify-content:center;align-items:center;width:30px;height:30px;transition:background .15s,color .15s;display:flex}.chat-icon-btn:hover{color:#fff;background:#fff3}.chat-filters{background:#f5f5f5;border-bottom:1px solid #e0e0e0;flex-direction:column;flex-shrink:0;gap:8px;padding:10px 14px;display:flex}.chat-filters-row{align-items:center;gap:6px;display:flex}.chat-filter-input{color:#333;background:#fff;border:1px solid #ddd;border-radius:6px;outline:none;flex:1;min-width:0;padding:6px 8px;font-family:inherit;font-size:12px;transition:border-color .15s}.chat-filter-input:focus{border-color:#999}.chat-filter-input--wide{flex:2}.chat-filter-btn{cursor:pointer;color:#fff;white-space:nowrap;background:#1a1a1a;border:none;border-radius:6px;padding:6px 12px;font-family:inherit;font-size:12px;font-weight:600;transition:background .15s,opacity .15s}.chat-filter-btn:hover:not(:disabled){background:#333}.chat-filter-btn:disabled{opacity:.5;cursor:not-allowed}.chat-filter-btn--clear{color:#666;background:0 0;border:1px solid #ddd}.chat-filter-btn--clear:hover:not(:disabled){background:#eee}.chat-filters-loading{color:#888;text-align:center;font-size:11px}.chat-icon-btn--active{color:#fff;background:#ffffff40}.chat-messages{background:#fafafa;flex-direction:column;flex:1;gap:12px;padding:16px;display:flex;overflow-y:auto}.chat-messages::-webkit-scrollbar{width:4px}.chat-messages::-webkit-scrollbar-track{background:0 0}.chat-messages::-webkit-scrollbar-thumb{background:#ddd;border-radius:2px}.chat-empty{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:24px 8px;display:flex}.chat-empty-title{color:#1a1a1a;margin:0 0 6px;font-size:16px;font-weight:600}.chat-empty-subtitle{color:#666;margin:0 0 20px;font-size:13px;line-height:1.5}.chat-suggestions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.chat-suggestion{color:#444;cursor:pointer;text-align:left;background:#fff;border:1px solid #e0e0e0;border-radius:9999px;padding:7px 13px;font-family:inherit;font-size:12px;transition:background .15s,border-color .15s}.chat-suggestion:hover{background:#f0f0f0;border-color:#ccc}.chat-message{display:flex}.chat-message--user{justify-content:flex-end}.chat-message--assistant{justify-content:flex-start}.chat-bubble{word-break:break-word;border-radius:14px;max-width:85%;padding:10px 14px;font-size:13.5px;line-height:1.55;position:relative}.chat-message--user .chat-bubble{color:#fff;background:#1a1a1a;border-bottom-right-radius:4px}.chat-message--assistant .chat-bubble{color:#1a1a1a;background:#fff;border:1px solid #e8e8e8;border-bottom-left-radius:4px}.chat-bubble-content pre{background:#f4f4f4;border:1px solid #e0e0e0;border-radius:6px;margin:6px 0;padding:8px 10px;font-size:12px;overflow-x:auto}.chat-message--user .chat-bubble .chat-bubble-content pre{background:#ffffff1f;border-color:#fff3}.chat-bubble-content code{background:#f0f0f0;border-radius:3px;padding:1px 4px;font-family:monospace;font-size:12px}.chat-message--user .chat-bubble .chat-bubble-content code{background:#fff3}.chat-typing{align-items:center;gap:4px;height:18px;display:inline-flex}.chat-typing span{background:#aaa;border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite chat-bounce}.chat-typing span:nth-child(2){animation-delay:.2s}.chat-typing span:nth-child(3){animation-delay:.4s}@keyframes chat-bounce{0%,80%,to{opacity:.5;transform:translateY(0)}40%{opacity:1;transform:translateY(-5px)}}.chat-cursor{vertical-align:text-bottom;background:currentColor;width:2px;height:13px;margin-left:2px;animation:.8s step-end infinite chat-blink;display:inline-block}@keyframes chat-blink{50%{opacity:0}}.chat-input-area{background:#fff;border-top:1px solid #e8e8e8;flex-shrink:0;align-items:flex-end;gap:8px;padding:12px 14px;display:flex}.chat-input{resize:none;color:#1a1a1a;background:#fafafa;border:1px solid #e0e0e0;border-radius:10px;outline:none;flex:1;max-height:120px;padding:9px 12px;font-family:inherit;font-size:13.5px;line-height:1.5;transition:border-color .15s;overflow-y:auto}.chat-input:focus{background:#fff;border-color:#aaa}.chat-input::placeholder{color:#aaa}.chat-input:disabled{opacity:.6;cursor:not-allowed}.chat-send-btn{color:#fff;cursor:pointer;background:#1a1a1a;border:none;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;transition:background .15s,opacity .15s;display:flex}.chat-send-btn:hover:not(:disabled){background:#333}.chat-send-btn:disabled{opacity:.4;cursor:not-allowed}
