@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap";.chat-widget-container{z-index:9999;font-family:inherit;position:fixed;bottom:30px;right:30px}.chat-widget-fab{background:var(--bs-primary,#0050b3);color:#fff;cursor:pointer;border:none;border-radius:50%;outline:none;justify-content:center;align-items:center;width:60px;height:60px;font-size:28px;transition:transform .2s,background .2s;display:flex;box-shadow:0 4px 15px #0003}.chat-widget-fab:hover{background:var(--bs-primary-dark,#003a8c);transform:scale(1.05)}.chat-widget-window{transform-origin:100% 100%;background:#fff;border-radius:12px;flex-direction:column;width:380px;max-width:calc(100vw - 40px);height:600px;max-height:calc(100vh - 120px);transition:opacity .3s,transform .3s;display:flex;position:absolute;bottom:80px;right:0;overflow:hidden;box-shadow:0 8px 30px #00000026}.chat-widget-window.hidden{opacity:0;pointer-events:none;transform:scale(.8)translateY(20px)}.chat-widget-header{background:var(--bs-primary,#0050b3);color:#fff;justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.chat-widget-header h5{color:#fff;align-items:center;gap:8px;margin:0;font-size:16px;font-weight:600;display:flex}.chat-widget-close{color:#fff;cursor:pointer;opacity:.8;background:0 0;border:none;padding:0;font-size:20px;line-height:1}.chat-widget-close:hover{opacity:1}.chat-widget-body{background:#f8f9fa;flex-direction:column;flex:1;padding:15px;display:flex;overflow-y:auto}.chat-widget-footer{background:#fff;border-top:1px solid #e9ecef;padding:12px 15px}.chat-widget-input-wrapper{background:#f1f3f5;border-radius:20px;align-items:center;padding:4px 12px;display:flex;position:relative}.chat-widget-input-wrapper textarea{resize:none;background:0 0;border:none;outline:none;flex:1;max-height:100px;padding:8px 0;font-size:14px}.chat-widget-input-wrapper button[type=submit]{background:var(--bs-primary,#0050b3);color:#fff;cursor:pointer;border:none;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;margin-left:8px;transition:transform .2s;display:flex}.chat-widget-input-wrapper button[type=submit]:hover:not(:disabled){transform:scale(1.1)}.chat-widget-input-wrapper button[type=submit]:disabled{opacity:.5;cursor:not-allowed}.chat-widget-body::-webkit-scrollbar{width:6px}.chat-widget-body::-webkit-scrollbar-track{background:0 0}.chat-widget-body::-webkit-scrollbar-thumb{background-color:#0003;border-radius:10px}.chat-widget-body .message-row{margin-bottom:15px;display:flex}.chat-widget-body .message-row.user{justify-content:flex-end}.chat-widget-body .message-bubble{border-radius:12px;max-width:85%;padding:10px 14px;font-size:14px;box-shadow:0 1px 2px #0000000d}.chat-widget-body .message-row.user .message-bubble{background:var(--bs-primary,#0050b3);color:#fff;border-bottom-right-radius:4px}.chat-widget-body .message-row.ai .message-bubble{color:#333;background:#fff;border:1px solid #e9ecef;border-bottom-left-radius:4px}.chat-widget-body .message-row.error .message-bubble{color:#e03131;background:#fff5f5;border:1px solid #ffc9c9}.chat-widget-body .markdown-body{font-size:13.5px;line-height:1.5}.chat-widget-body .markdown-body p:last-child{margin-bottom:0}.chat-widget-body .confirm-card{font-size:13px}.chat-widget-body .confirm-card table td{padding:4px}.chat-widget-body .markdown-body{color:#333;font-family:inherit}.chat-widget-body .markdown-body pre{background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:6px;margin-bottom:10px;padding:10px;overflow-x:auto}.chat-widget-body .markdown-body code{color:#e83e8c;background-color:#f8f9fa;border-radius:4px;padding:2px 4px;font-size:.9em}.chat-widget-body .markdown-body pre code{color:inherit;background-color:#0000;padding:0}.chat-widget-body .markdown-body table{color:#212529;border-collapse:collapse;width:100%;margin-bottom:1rem;font-size:13px}.chat-widget-body .markdown-body table th,.chat-widget-body .markdown-body table td{vertical-align:top;border-top:1px solid #dee2e6;padding:.5rem}.chat-widget-body .markdown-body table thead th{vertical-align:bottom;background-color:#f8f9fa;border-bottom:2px solid #dee2e6}.lc-widget-container{color:#fff;background-color:#1a1b1e;border-radius:12px;flex-direction:column;width:100%;height:100vh;font-family:Inter,sans-serif;display:flex;position:fixed;inset:0;overflow:hidden;box-shadow:0 10px 40px #0000004d}.lc-header{z-index:10;background:linear-gradient(135deg,#0070f3 0%,#00d2ff 100%);justify-content:space-between;align-items:center;padding:20px;display:flex;position:relative;box-shadow:0 4px 20px #0070f366}.lc-header-info{align-items:center;gap:15px;display:flex}.lc-avatar{background-color:#fff3;border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;display:flex;position:relative}.lc-status-dot{background-color:#10b981;border:2px solid #0093fb;border-radius:50%;width:12px;height:12px;position:absolute;bottom:0;right:0}.lc-title{color:#fff;letter-spacing:.3px;margin:0;font-size:16px;font-weight:600}.lc-subtitle{color:#ffffffd9;margin:2px 0 0;font-size:12px}.lc-chat-area{scrollbar-width:thin;scrollbar-color:#ffffff1a transparent;background-color:#1a1b1e;flex-direction:column;flex:1;gap:16px;padding:20px;display:flex;overflow-y:auto}.lc-chat-area::-webkit-scrollbar{width:6px}.lc-chat-area::-webkit-scrollbar-thumb{background-color:#ffffff1a;border-radius:10px}.lc-msg-wrapper{width:100%;animation:.3s ease-out slideIn;display:flex}@keyframes slideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.lc-msg-left{justify-content:flex-start}.lc-msg-right{justify-content:flex-end}.lc-bubble{word-wrap:break-word;border-radius:18px;max-width:80%;padding:12px 16px;font-size:14px;line-height:1.5}.lc-msg-left .lc-bubble{color:#e4e5e7;background-color:#2c2e33;border-bottom-left-radius:4px}.lc-msg-right .lc-bubble{color:#fff;background-color:#0070f3;border-bottom-right-radius:4px;box-shadow:0 4px 15px #0070f34d}.lc-msg-system{text-align:center;margin:10px 0}.lc-msg-system span{color:#8c8d91;background-color:#ffffff0d;border-radius:12px;padding:4px 12px;font-size:11px}.lc-input-area{background-color:#25262b;border-top:1px solid #ffffff0d;padding:15px 20px}.lc-form{background-color:#1a1b1e;border:1px solid #ffffff1a;border-radius:24px;align-items:center;gap:12px;padding:6px 6px 6px 16px;transition:border-color .3s;display:flex}.lc-form:focus-within{border-color:#0070f3}.lc-input{color:#fff;background:0 0;border:none;outline:none;flex:1;font-size:14px}.lc-input::placeholder{color:#6c6d71}.lc-send-btn{color:#fff;cursor:pointer;background-color:#0070f3;border:none;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;transition:all .2s;display:flex}.lc-send-btn:hover:not(:disabled){background-color:#005bb5;transform:scale(1.05)}.lc-send-btn:disabled{color:#6c6d71;cursor:not-allowed;background-color:#373a40}.lc-closed-notice{text-align:center;color:#8c8d91;font-size:13px}.lc-new-session-btn{color:#0070f3;cursor:pointer;background:0 0;border:none;margin-left:5px;font-weight:500}.lc-new-session-btn:hover{text-decoration:underline}.lc-typing-dot{background-color:#0070f3;border-radius:50%;width:6px;height:6px;animation:1.4s ease-in-out infinite both lcTyping}@keyframes lcTyping{0%,80%,to{opacity:.5;transform:scale(0)}40%{opacity:1;transform:scale(1)}}
