.chat-user-input-container{position:absolute;bottom:20px;left:48px;right:48px;width:auto;padding:0;z-index:9999;transition:all .3s ease-in-out;box-sizing:border-box;display:flex;justify-content:center}.chat-user-input-wrapper{width:100%;overflow:visible;position:relative;z-index:10;margin:0 auto}.home-page-input{width:100%;max-width:100%;box-sizing:border-box}.home-page-input .chat-user-input-wrapper{max-width:100%}.home-page-input .elegant-input-container{width:100%;max-width:100%;box-sizing:border-box}.selected-tables-container{margin-bottom:12px;display:flex;flex-wrap:wrap;gap:6px}.elegant-input-container{position:relative;width:100%;background:#fff;border:1.5px solid #e8e8e8;border-radius:16px;padding:52px 60px 50px 18px;display:flex;align-items:flex-start;gap:12px;min-height:180px;transition:all .3s ease;box-shadow:0 1px 3px #00000008;overflow:visible;z-index:1}.elegant-input-container.reduced-height{min-height:90px;padding:40px 60px 38px 18px}.elegant-input-container.chat-view{min-height:52px;padding:14px 52px;align-items:flex-end}.elegant-input-container.chat-view .elegant-text-input{min-height:22px;max-height:min(320px,40vh);line-height:1.55}.elegant-input-container.chat-view .top-actions-container{top:auto;bottom:12px;left:12px}.elegant-input-container.chat-view .elegant-send-button{bottom:12px;right:12px}.elegant-input-container:hover{border-color:var(--primary-outline)}.elegant-input-container:focus-within{border-color:var(--primary-outline);box-shadow:0 0 0 3px #beaee20f}.top-actions-container{position:absolute;top:14px;left:18px;display:flex;align-items:center;gap:8px;z-index:10;overflow:visible}.composer-plus-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;background:transparent;border:none;border-radius:8px;color:#9ca3af;cursor:pointer;transition:background .15s ease,color .15s ease}.composer-plus-btn:hover{background:#0f172a0d;color:rgb(var(--brand-indigo-500))}.composer-plus-btn.active{background:rgb(var(--brand-indigo-500) / .08);color:rgb(var(--brand-indigo-500))}.browse-button{position:relative;display:flex;align-items:center;padding:4px 9px;background:transparent;border:none;border-radius:7px;cursor:pointer;transition:all .15s ease;font-size:11.5px;color:#9ca3af;font-weight:500;letter-spacing:.01em;z-index:1}.browse-button:hover{background-color:#0f172a0a;color:rgb(var(--brand-indigo-500))}.browse-button.active{background-color:rgb(var(--brand-indigo-500) / .08);color:rgb(var(--brand-indigo-500))}.model-preset-select{height:26px;padding:0 20px 0 9px;border:none;border-radius:7px;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 6px center;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;font-size:11.5px;font-weight:500;color:#9ca3af;letter-spacing:.01em;outline:none;transition:all .15s ease}.model-preset-select:hover{background-color:#0f172a0a;color:rgb(var(--brand-indigo-500))}.model-preset-select:focus{background-color:rgb(var(--brand-indigo-500) / .08);color:rgb(var(--brand-indigo-500))}.browse-dropdown{position:fixed;bottom:auto;left:auto;background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 4px 24px #00000026,0 0 0 1px #0000000d;width:494px;max-height:min(546px,calc(100vh - 100px));overflow-y:auto;z-index:99999;padding:4px;direction:ltr}.browse-dropdown-header{padding:8px 12px;font-size:11px;font-weight:600;color:#888;background:#f8f9fa;border-radius:4px;margin-bottom:4px;text-transform:uppercase;letter-spacing:.5px;text-align:left}.browse-dropdown-item{display:flex;align-items:center;gap:10px;padding:8px 10px;cursor:pointer;border-radius:5px;transition:all .12s ease;font-size:12.5px;color:#333;margin-bottom:2px}.browse-dropdown-item:hover{background-color:#f5f5f7}.browse-dropdown-item.selected{background-color:var(--secondary);border-left:3px solid rgb(var(--brand-violet-600));padding-left:7px}.browse-dropdown-item.selected .browse-dropdown-name{color:rgb(var(--brand-violet-600));font-weight:600}.browse-dropdown-icon{width:22px;height:22px;border-radius:4px;background:#f8f8f8;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:3px;overflow:hidden;border:1px solid #f0f0f0}.browse-dropdown-logo{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.browse-dropdown-content{flex:1;min-width:0;text-align:left}.browse-dropdown-name{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#1a202c;line-height:1.4;text-align:left}.browse-dropdown-description{font-size:10.5px;color:#9ca3af;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px;line-height:1.3;text-align:left}.browse-dropdown-empty{padding:24px 16px;text-align:center;color:#9ca3af;font-size:12px}.browse-dropdown::-webkit-scrollbar{width:6px}.browse-dropdown::-webkit-scrollbar-track{background:transparent;margin:4px 0}.browse-dropdown::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.browse-dropdown::-webkit-scrollbar-thumb:hover{background:#9ca3af}.elegant-text-input{position:relative;border:none;outline:none;font-size:13.5px;line-height:1.6;resize:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;color:#333;background:transparent;overflow-y:auto;padding:0 6px;margin:0;width:100%;min-height:100px;max-height:min(420px,50vh);display:block;text-align:start;box-sizing:border-box}.elegant-text-input::-moz-placeholder{color:#aaa;font-weight:400;font-size:13.5px;text-indent:0}.elegant-text-input::placeholder{color:#aaa;font-weight:400;font-size:13.5px;text-indent:0}.elegant-text-input::-webkit-scrollbar{width:6px}.elegant-text-input::-webkit-scrollbar-track{background:transparent}.elegant-text-input::-webkit-scrollbar-thumb{background:#e0e0e0;border-radius:3px}.elegant-text-input::-webkit-scrollbar-thumb:hover{background:var(--primary-outline)}.elegant-send-button{position:absolute;right:18px;bottom:18px;flex-shrink:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:rgb(var(--brand-violet-100));border:none;border-radius:8px;cursor:pointer;transition:background-color .15s ease,transform .15s ease,box-shadow .15s ease;padding:0;box-shadow:0 4px 12px rgb(var(--brand-primary) / .12)}.elegant-send-button:hover:not(:disabled){background:#e6dcfb;transform:translateY(-1px);box-shadow:0 8px 18px rgb(var(--brand-primary) / .18)}.elegant-send-button:active:not(:disabled){background:rgb(var(--brand-violet-200));transform:translateY(0)}.elegant-send-button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.elegant-send-button.stop-mode{color:rgb(var(--brand-primary))}.elegant-send-button.stop-mode svg{width:12px;height:12px;animation:stopPulse 2s ease-in-out infinite}@keyframes stopPulse{0%,to{opacity:1}50%{opacity:.55}}.elegant-send-button svg,.elegant-send-button img{width:16px;height:16px}.elegant-send-button img{display:block;-o-object-fit:contain;object-fit:contain}.elegant-send-button.queue-mode{background:linear-gradient(135deg,rgb(var(--brand-violet-500)),rgb(var(--brand-violet-400)))}.elegant-send-button.queue-mode:after{content:"";position:absolute;top:-2px;right:-2px;width:8px;height:8px;background:#f59e0b;border-radius:50%;border:2px solid white}.elegant-send-button.queue-mode:hover:not(:disabled){background:linear-gradient(135deg,rgb(var(--brand-violet-600)),rgb(var(--brand-violet-500)))}div.chat-user-input{width:100%}.chat-user-input fieldset{display:none!important}.chat-user-input .MuiOutlinedInput-root,.chat-user-input .MuiInputBase-input{padding:0!important}button.send-btn:hover{background-color:unset}@media (max-width: 768px){.chat-user-input-container{position:fixed;left:0;right:0;transform:none;width:100%;max-width:100%;bottom:0;padding:8px 12px;padding-bottom:max(8px,env(safe-area-inset-bottom));background:linear-gradient(to top,#fffffffa,#fffffff2 80%,#fff0);box-sizing:border-box;transform:translateZ(0);backface-visibility:hidden;-webkit-backface-visibility:hidden}.chat-user-input-wrapper{max-width:100%;margin:0}.elegant-input-container{padding:34px 48px 12px 14px;min-height:72px;border-radius:16px;box-shadow:0 -2px 20px #0000000f;border:1px solid #e0e0e0}.elegant-input-container.chat-view{min-height:48px;padding:12px 48px}.elegant-text-input{font-size:16px;min-height:28px;max-height:min(280px,40vh)}.elegant-input-container.chat-view .elegant-text-input{min-height:20px;max-height:min(220px,35vh)}.elegant-text-input::-moz-placeholder{font-size:15px}.elegant-text-input::placeholder{font-size:15px}.top-actions-container{top:8px;left:14px;gap:6px}.browse-button{padding:2px 6px;font-size:10px}.elegant-send-button{right:14px;bottom:10px;width:32px;height:32px}.elegant-send-button svg,.elegant-send-button img{width:18px;height:18px}input.user-input{padding-inline:4%;padding-block:1%;font-size:16px}.chat-user-input fieldset{border-radius:12px}.browse-dropdown{width:calc(100vw - 24px);max-width:400px;left:12px!important;right:12px!important}.home-page-input .elegant-input-container{min-height:150px;padding:38px 54px 14px 14px}.home-page-input .text-input-wrapper .elegant-text-input{min-height:92px}}@media (max-width: 480px){.chat-user-input-container{padding:6px 8px;padding-bottom:max(6px,env(safe-area-inset-bottom));transform:translateZ(0);backface-visibility:hidden;-webkit-backface-visibility:hidden}.elegant-input-container{padding:30px 44px 10px 12px;min-height:62px;border-radius:14px}.elegant-input-container.chat-view{min-height:44px;padding:10px 44px}.elegant-text-input{font-size:16px;min-height:24px;max-height:min(240px,35vh)}.elegant-input-container.chat-view .elegant-text-input{min-height:18px;max-height:min(180px,30vh)}.top-actions-container{top:6px;left:12px;gap:4px}.browse-button{padding:2px 5px;font-size:9px}.elegant-send-button{right:12px;bottom:8px;width:30px;height:30px}input.user-input{padding-inline:3%;font-size:16px}.browse-dropdown{width:calc(100vw - 16px);left:8px!important;right:8px!important}.home-page-input .elegant-input-container{min-height:136px;padding:34px 48px 12px 12px}.home-page-input .text-input-wrapper .elegant-text-input{min-height:84px}}.filling-template-mode,.filling-template-wrapper{position:fixed!important;bottom:16px!important;left:50%!important;transform:translate(-50%)!important;width:calc(100vw - 32px)!important;max-width:850px!important;z-index:9998!important}.filling-template-mode .chat-user-input-wrapper,.filling-template-wrapper .chat-user-input-wrapper{width:100%;max-width:100%}.elegant-input-container.filling-template{min-height:80px;max-height:200px;padding:14px 60px 14px 18px;border-radius:12px;transition:all .2s ease;background:#fff;box-shadow:0 -4px 20px #0000001a}.elegant-input-container.filling-template .top-actions-container{display:none}.elegant-input-container.filling-template .input-content-area{flex:1;min-height:0}.elegant-input-container.filling-template .text-input-wrapper{min-height:120px;max-height:350px}.elegant-input-container.filling-template .elegant-text-input{min-height:120px;max-height:350px;font-size:15px;line-height:1.5;color:transparent!important;caret-color:#333;-webkit-text-fill-color:transparent!important}.elegant-input-container.filling-template .text-input-highlight-backdrop{color:#333}.scroll-to-bottom-btn{position:absolute;top:-50px;left:50%;transform:translate(-50%);z-index:10000;width:40px;height:40px;border-radius:50%;background:#fff;border:1px solid #e8e8e8;box-shadow:0 2px 8px #0000001a;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease}.scroll-to-bottom-btn:hover{background:#f8f9fa;border-color:var(--primary-outline);box-shadow:0 4px 12px rgb(var(--brand-indigo-500) / .15);transform:translate(-50%) translateY(-2px)}.scroll-to-bottom-btn:active{transform:translate(-50%) translateY(0)}.scroll-to-bottom-btn .scroll-arrow{color:rgb(var(--brand-indigo-500));font-size:20px;font-weight:700;line-height:1}@keyframes slideUpBtn{0%{opacity:0;transform:translate(-50%) translateY(10px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.scroll-to-bottom-btn{animation:slideUpBtn .2s ease-out}.input-content-area{display:flex;flex-direction:column;flex:1;width:100%;min-width:0;overflow:visible}.text-input-wrapper{position:relative;flex:1;width:100%;display:flex}.text-input-highlight-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;padding:0 6px;margin:0;border:none;font-size:13.5px;line-height:1.6;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;color:transparent;white-space:pre-wrap;word-wrap:break-word;word-break:break-word;overflow-wrap:break-word;overflow-y:auto;overflow-x:hidden;pointer-events:none;z-index:0;box-sizing:border-box;text-align:start}.text-input-wrapper .elegant-text-input{z-index:1}.text-input-highlight-backdrop .browse-highlight{background-color:#beaee273;color:transparent;border-radius:3px}.text-input-highlight-backdrop .template-placeholder{background-color:rgb(var(--brand-primary) / .1);color:rgb(var(--brand-primary) / .5);border-radius:2px;display:inline}.browse-dropdown-section-header{padding:8px 12px 6px;font-size:10px;font-weight:600;color:#999;text-transform:uppercase;letter-spacing:.5px;text-align:left}.browse-dropdown-divider{height:1px;background:#e5e7eb;margin:6px 8px}.browse-dropdown-categories{display:flex;flex-direction:column;gap:2px}.browse-dropdown-category{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;cursor:pointer;border-radius:6px;transition:background .1s ease;margin:0 4px}.browse-dropdown-category:hover{background:rgb(var(--brand-violet-50))}.browse-category-name{font-size:13px;font-weight:500;color:rgb(var(--brand-primary))}.browse-category-hint{font-size:11px;color:#999}.browse-dropdown-manage-btn{display:flex;align-items:center;justify-content:center;gap:6px;width:calc(100% - 8px);margin:4px;padding:10px 12px;font-size:12px;font-weight:500;color:#666;background:#f9fafb;border:none;border-radius:6px;cursor:pointer;transition:all .15s ease}.browse-dropdown-manage-btn:hover{background:#f3f4f6;color:rgb(var(--brand-primary))}.browse-dropdown-manage-btn svg{color:inherit}.elegant-input-container.drag-over{border-color:rgb(var(--brand-indigo-500));background:rgb(var(--brand-violet-50))}.drag-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:rgb(var(--brand-violet-50) / .95);border-radius:inherit;pointer-events:none;font-size:14px;font-weight:500;color:rgb(var(--brand-indigo-500))}.attached-file-chip-container{padding:6px 12px 0}.attached-file-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 8px 5px 10px;background:rgb(var(--brand-violet-50));border:1px solid rgb(var(--brand-violet-200));border-radius:6px;font-size:12px;line-height:1;max-width:100%}.attached-file-name{font-weight:500;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}.attached-file-size{color:#999;white-space:nowrap}.attached-file-uploading{color:rgb(var(--brand-indigo-500));font-weight:500;white-space:nowrap}.attached-file-remove{display:flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;padding:2px;border-radius:4px;color:#999;transition:all .15s ease}.attached-file-remove:hover{background:#e5e5e5;color:#666}.elegant-input-container.chat-view.has-voice{padding-left:84px;transition:padding-left .18s ease-out}.elegant-input-container.chat-view.has-voice.voice-active{padding-left:212px}@media (prefers-reduced-motion: reduce){.elegant-input-container.chat-view.has-voice{transition:none}}
