:where(.entity-chat-container),:where(.entity-chat-panel-container){--background:0 0% 100%;--foreground:0 0% 3.9%;--card:0 0% 100%;--card-foreground:0 0% 3.9%;--popover:0 0% 100%;--popover-foreground:0 0% 3.9%;--primary:0 0% 9%;--primary-foreground:0 0% 98%;--secondary:0 0% 96.1%;--secondary-foreground:0 0% 9%;--muted:0 0% 96.1%;--muted-foreground:0 0% 45.1%;--accent:0 0% 96.1%;--accent-foreground:0 0% 9%;--destructive:0 84.2% 60.2%;--destructive-foreground:0 0% 98%;--border:0 0% 89.8%;--input:0 0% 89.8%;--ring:0 0% 3.9%;--chart-1:12 76% 61%;--chart-2:173 58% 39%;--chart-3:197 37% 24%;--chart-4:43 74% 66%;--chart-5:27 87% 67%;--radius:0.5rem}.entity-chat-panel{background:hsl(var(--background));color:hsl(var(--foreground));border:1px solid hsl(var(--border));border-radius:calc(var(--radius));box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;position:relative;overflow:hidden;max-width:100%;max-height:100%}.entity-chat-panel-resize-handle{position:absolute;z-index:1001;background-color:transparent;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.entity-chat-panel-resize-handle:hover{background-color:hsl(var(--primary)/.08)}.entity-chat-panel-resize-handle:before{content:"";background-color:hsl(var(--muted-foreground));border-radius:2px;transition:all .2s ease;opacity:.7}.entity-chat-panel-resize-handle:hover:before{background-color:hsl(var(--primary));opacity:1}.entity-chat-panel-resize-handle-left{left:0;top:0;bottom:0;width:6px;cursor:ew-resize}.entity-chat-panel-resize-handle-left:before{width:2px;height:16px;background-image:linear-gradient(180deg,transparent 0,currentColor 2px,transparent 4px,currentColor 6px,transparent 8px,currentColor 10px,transparent 12px,currentColor 14px,transparent 16px);background-size:2px 16px}.entity-chat-panel-resize-handle-right{right:0;top:0;bottom:0;width:6px;cursor:ew-resize}.entity-chat-panel-resize-handle-right:before{width:2px;height:16px;background-image:linear-gradient(180deg,transparent 0,currentColor 2px,transparent 4px,currentColor 6px,transparent 8px,currentColor 10px,transparent 12px,currentColor 14px,transparent 16px);background-size:2px 16px}.entity-chat-panel-resize-handle-top{top:0;left:0;right:0;height:6px;cursor:ns-resize}.entity-chat-panel-resize-handle-top:before{width:16px;height:2px;background-image:linear-gradient(90deg,transparent 0,currentColor 2px,transparent 4px,currentColor 6px,transparent 8px,currentColor 10px,transparent 12px,currentColor 14px,transparent 16px);background-size:16px 2px}.entity-chat-panel-resize-handle-bottom{bottom:0;left:0;right:0;height:6px;cursor:ns-resize}.entity-chat-panel-resize-handle-bottom:before{width:16px;height:2px;background-image:linear-gradient(90deg,transparent 0,currentColor 2px,transparent 4px,currentColor 6px,transparent 8px,currentColor 10px,transparent 12px,currentColor 14px,transparent 16px);background-size:16px 2px}@media (max-width:768px){.entity-chat-panel-resize-handle{display:none!important}}.entity-chat-panel-container{blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}}.entity-chat-panel-base{position:fixed;background-color:hsl(var(--background));border:1px solid hsl(var(--border));box-shadow:0 25px 50px -12px rgba(0,0,0,.25);display:flex;flex-direction:column;z-index:1000}.entity-chat-panel-position-left{left:0;top:0;height:100vh;border-right:1px solid hsl(var(--border));border-left:none}.entity-chat-panel-position-right{right:0;top:0;height:100vh;border-left:1px solid hsl(var(--border));border-right:none}.entity-chat-panel-position-top{top:0;left:0;right:0;height:50vh;min-height:400px;max-height:600px;border-bottom:1px solid hsl(var(--border));border-top:none}.entity-chat-panel-position-bottom{bottom:0;left:0;right:0;height:50vh;min-height:400px;max-height:600px;border-top:1px solid hsl(var(--border));border-bottom:none}.entity-chat-panel-overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:999;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.entity-chat-panel-header{display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:1px solid hsl(var(--border));flex-shrink:0}.entity-chat-panel-close-button{height:32px;width:32px}.entity-chat-panel-close-icon{height:20px;width:20px}.entity-chat-panel-tabs-container{padding-left:24px;padding-right:24px;padding-top:16px;flex-shrink:0}.entity-chat-panel-tabs-list{width:100%;height:40px;border-radius:calc(var(--radius));background-color:hsl(var(--muted));padding:4px;color:hsl(var(--muted-foreground));border:none}.entity-chat-panel-tab,.entity-chat-panel-tabs-list{display:inline-flex;align-items:center;justify-content:center}.entity-chat-panel-tab{gap:8px;white-space:nowrap;border-radius:calc(var(--radius) - 2px);padding:6px 12px;font-size:14px;line-height:20px;font-weight:500;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;cursor:pointer;border:none;background-color:transparent;color:inherit}.entity-chat-panel-tab:focus-visible{outline:none;box-shadow:0 0 0 2px hsl(var(--ring)),0 0 0 4px hsl(var(--ring)/.2)}.entity-chat-panel-tab:disabled{pointer-events:none;opacity:.5}.entity-chat-panel-tab.active,.entity-chat-panel-tab[aria-selected=true],.entity-chat-panel-tab[data-state=active],.entity-chat-panel-tab[role=tab][aria-selected=true],.entity-chat-panel-tabs-list [aria-selected=true].entity-chat-panel-tab,.entity-chat-panel-tabs-list [data-state=active].entity-chat-panel-tab,[role=tab][aria-selected=true].entity-chat-panel-tab,button[role=tab][aria-selected=true].entity-chat-panel-tab{background-color:hsl(var(--background));color:hsl(var(--foreground));box-shadow:0 1px 2px 0 rgba(0,0,0,.05);border:none;font-weight:500}.entity-chat-panel-tab:hover:not([data-state=active]):not([aria-selected=true]){background-color:hsl(var(--accent)/.5);color:hsl(var(--accent-foreground))}.entity-chat-panel-tab-icon{height:12px;width:12px}.entity-chat-panel-tab-count{margin-left:4px;height:16px;padding-left:4px;padding-right:4px;font-size:12px;line-height:16px}.entity-chat-panel-sub-header{display:flex;align-items:center;justify-content:space-between;padding:24px 24px 16px;flex-shrink:0}.entity-chat-panel-message-counter{display:flex;align-items:center;gap:8px;color:hsl(var(--muted-foreground))}.entity-chat-panel-counter-icon{height:16px;width:16px}.entity-chat-panel-counter-text{font-size:14px;line-height:20px}.entity-chat-panel-filter-section{display:flex;align-items:center;gap:8px}.entity-chat-panel-filter-label{font-size:14px;line-height:20px;color:hsl(var(--muted-foreground))}.entity-chat-panel-filter-trigger{justify-content:space-between;background-color:hsl(var(--background));color:hsl(var(--foreground));border:1px solid hsl(var(--border))}.entity-chat-panel-filter-trigger-icon{height:16px;width:16px;margin-left:8px}.entity-chat-panel-filter-popover{width:320px;padding:0;background:hsl(var(--popover));color:hsl(var(--popover-foreground));border:1px solid hsl(var(--border))}.entity-chat-panel-filter-popover-header{padding:12px;border-bottom:1px solid hsl(var(--border))}.entity-chat-panel-filter-title{font-weight:500;font-size:14px;line-height:20px;color:hsl(var(--foreground))}.entity-chat-panel-filter-description{font-size:12px;line-height:16px;color:hsl(var(--muted-foreground))}.entity-chat-panel-filter-options{max-height:240px;overflow-y:auto}.entity-chat-panel-filter-option{display:flex;align-items:center;gap:8px;padding:12px;cursor:pointer}.entity-chat-panel-filter-option:hover{background-color:hsl(var(--muted)/.5)}.entity-chat-panel-filter-select-all{border-bottom:1px solid hsl(var(--border))}.entity-chat-panel-filter-option-content{flex:1 1 0%;min-width:0}.entity-chat-panel-filter-option-text{font-size:14px;line-height:20px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-transform:capitalize}.entity-chat-panel-filter-count-badge,.entity-chat-panel-filter-current-badge{font-size:12px;line-height:16px}.entity-chat-panel-messages{flex:1 1 0%;overflow-y:auto;padding:24px;min-height:0}.entity-chat-panel-messages>*+*{margin-top:24px}.entity-chat-panel-empty,.entity-chat-panel-loading{display:flex;align-items:center;justify-content:center;height:100%;color:hsl(var(--muted-foreground))}.entity-chat-panel-message{display:flex;gap:12px}.entity-chat-panel-message-avatar{width:40px;height:40px;border-radius:50%;background-color:hsl(var(--muted));color:hsl(var(--muted-foreground));display:flex;align-items:center;justify-content:center;font-size:14px;line-height:20px;font-weight:500;flex-shrink:0}.entity-chat-panel-message-content{flex:1 1 0%;min-width:0}.entity-chat-panel-message-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}.entity-chat-panel-message-author{font-weight:500;font-size:14px;line-height:20px;color:hsl(var(--foreground))}.entity-chat-panel-message-time{font-size:12px;line-height:16px;color:hsl(var(--muted-foreground));cursor:help;padding-left:4px}.entity-chat-panel-message-entity-badge{font-size:12px;line-height:16px;text-transform:capitalize}.entity-chat-panel-message-entity-pill{border-radius:12px;padding:4px 8px;font-size:11px;font-weight:500;border:none;color:white;background-color:hsl(var(--muted-foreground))}.entity-chat-panel-message-entity-consultant-pill{background-color:#3b82f6}.entity-chat-panel-message-entity-project-pill{background-color:#10b981}.entity-chat-panel-message-entity-timesheet-pill{background-color:#f59e0b}.entity-chat-panel-message-entity-task-pill{background-color:#8b5cf6}.entity-chat-panel-message-entity-client-pill{background-color:#ef4444}.entity-chat-panel-message-visibility-badge{font-size:12px;line-height:16px;display:flex;align-items:center;gap:4px}.entity-chat-panel-message-visibility-icon{height:10px;width:10px}.entity-chat-panel-thread-badge{font-size:12px;line-height:16px;display:flex;align-items:center;gap:4px}.entity-chat-panel-thread-icon{height:10px;width:10px}.entity-chat-panel-message-text{font-size:14px;line-height:20px;color:hsl(var(--foreground));overflow-wrap:break-word;word-break:break-word}.entity-chat-panel-reply-message{margin-left:48px;border-left:2px solid hsl(var(--muted));padding-left:16px;margin-top:8px}.entity-chat-panel-thread-reply-section{margin-top:12px}.entity-chat-panel-message-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end}.entity-chat-panel-reply-button{height:24px;padding-left:8px;padding-right:8px;font-size:12px;line-height:16px;color:hsl(var(--muted-foreground));background-color:transparent;border-color:transparent;border-radius:calc(var(--radius) - 2px);display:inline-flex;align-items:center;justify-content:center;gap:4px;cursor:pointer;transition-property:color,background-color,border-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.entity-chat-panel-reply-button:hover{color:hsl(var(--foreground));background-color:hsl(var(--accent))}.entity-chat-panel-reply-icon{height:12px;width:12px;margin-right:4px}.entity-chat-panel-reply-input-area{margin-top:12px;margin-left:48px;padding-left:16px;border-left:2px solid hsl(var(--primary)/.3);position:relative}.entity-chat-panel-reply-input-area>*+*{margin-top:8px}.entity-chat-panel-reply-actions{display:flex;align-items:center;justify-content:flex-start;margin-top:4px}.entity-chat-panel-reply-input-area .tiptap-html-editor-input-row{padding:4px 6px 4px 8px;min-height:36px}.entity-chat-panel-reply-input-area .dx-htmleditor-content .ql-editor{padding:6px 12px 6px 8px}.entity-chat-panel-reply-cancel-link{background:none;border:none;color:hsl(var(--muted-foreground));font-size:12px;line-height:16px;padding:2px 4px;cursor:pointer;text-decoration:underline;transition:color .2s ease-in-out}.entity-chat-panel-reply-cancel-link:hover{color:hsl(var(--foreground));text-decoration:none}.entity-chat-panel-reply-cancel{height:24px;padding-left:8px;padding-right:8px;font-size:12px;line-height:16px}.entity-chat-panel-reply-send{height:24px;padding-left:12px;padding-right:12px;font-size:12px;line-height:16px}.entity-chat-panel-input-area{padding:24px;border-top:1px solid hsl(var(--border));flex-shrink:0}.entity-chat-panel-input-area>*+*{margin-top:16px}.entity-chat-panel-warning{font-size:12px;line-height:16px;color:rgb(217 119 6);background-color:rgb(255 251 235);border:1px solid rgb(254 215 170);padding:8px;border-radius:calc(var(--radius))}.entity-chat-panel-actions{display:flex;align-items:center;justify-content:space-between}.entity-chat-panel-action-buttons{display:flex;align-items:center;gap:8px}.entity-chat-panel-mention-button{height:32px;width:32px;color:hsl(var(--muted-foreground));pointer-events:none;opacity:.5;display:inline-block}.entity-chat-panel-mention-icon{height:16px;width:16px}.entity-chat-panel-emoji-button{height:32px;width:32px;color:hsl(var(--muted-foreground))}.entity-chat-panel-emoji-icon{height:16px;width:16px}.entity-chat-panel-emoji-popover{width:320px;padding:0}.entity-chat-panel-emoji-header{padding:12px;border-bottom:1px solid hsl(var(--border))}.entity-chat-panel-emoji-title{font-weight:500;font-size:14px;line-height:20px}.entity-chat-panel-emoji-categories{display:flex;gap:4px;margin-top:8px}.entity-chat-panel-emoji-category-button{font-size:12px;line-height:16px;padding:4px 8px;height:auto}.entity-chat-panel-emoji-grid-container{padding:12px;max-height:240px;overflow-y:auto}.entity-chat-panel-emoji-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}.entity-chat-panel-emoji-item{height:32px;width:32px;padding:0;font-size:18px;line-height:28px}.entity-chat-panel-emoji-item:hover{background-color:hsl(var(--muted))}.entity-chat-panel-link-popover{width:350px;padding:0;background:hsl(var(--popover));color:hsl(var(--popover-foreground));border:1px solid hsl(var(--border));box-shadow:0 10px 25px -5px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05)}.entity-chat-panel-link-header{padding:16px 16px 12px;border-bottom:1px solid hsl(var(--border));background:hsl(var(--muted)/.3)}.entity-chat-panel-link-title{font-weight:600;font-size:15px;line-height:20px;color:hsl(var(--foreground));margin:0}.entity-chat-panel-link-content{padding:16px}.entity-chat-panel-link-preview{background:hsl(var(--muted)/.3);border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);padding:10px 12px;margin-bottom:14px;font-size:13px;line-height:18px}.entity-chat-panel-link-preview-label{font-weight:500;color:hsl(var(--muted-foreground));margin-right:6px}.entity-chat-panel-link-preview-text{font-weight:600;color:hsl(var(--foreground));font-style:italic}.entity-chat-panel-link-input{width:100%;padding:10px 14px;border:1px solid hsl(var(--border));border-radius:calc(var(--radius));background:hsl(var(--background));color:hsl(var(--foreground));font-size:14px;line-height:20px;margin-bottom:16px;transition:border-color .2s ease-in-out,box-shadow .2s ease-in-out}.entity-chat-panel-link-input:focus{outline:none;border-color:hsl(var(--ring));box-shadow:0 0 0 3px hsl(var(--ring)/.2)}.entity-chat-panel-link-input::placeholder{color:hsl(var(--muted-foreground));font-style:italic}.entity-chat-panel-link-actions{display:flex;justify-content:flex-end;gap:10px}.entity-chat-panel-link-actions .entity-chat-ui-button{min-width:80px;font-weight:500}.entity-chat-panel-attachment-button{height:32px;width:32px;color:hsl(var(--muted-foreground));pointer-events:none;opacity:.5;display:inline-block}.entity-chat-panel-attachment-icon{height:16px;width:16px}.entity-chat-panel-send-button{background-color:rgb(100 116 139);color:white;padding-left:24px;padding-right:24px;min-width:120px}.entity-chat-panel-send-button:hover:not(:disabled){background-color:rgb(71 85 105)}.entity-chat-floating-button-container{position:fixed;z-index:50}button.entity-chat-ui-button.entity-chat-floating-button{position:fixed;bottom:20px;right:20px;z-index:1000;width:48px;height:48px;min-width:48px;min-height:48px;border-radius:50%;background:hsl(var(--primary));color:hsl(var(--primary-foreground));border:none;cursor:pointer;box-shadow:0 4px 12px rgba(0,0,0,.15);display:flex;align-items:center;justify-content:center;transition:transform .2s ease-in-out,box-shadow .2s ease-in-out;padding:0}button.entity-chat-ui-button.entity-chat-floating-button:hover{transform:scale(1.05);box-shadow:0 6px 16px rgba(0,0,0,.2);background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.entity-chat-floating-icon{height:20px;width:20px}button.entity-chat-ui-button.entity-chat-floating-button .entity-chat-floating-badge{position:absolute;top:-4px;right:-4px;border-radius:50%;padding:0;display:flex;align-items:center;justify-content:center;font-size:11px;line-height:1;font-weight:500;width:20px;height:20px;min-width:20px;background-color:hsl(var(--destructive));color:hsl(var(--destructive-foreground));border:none}.entity-chat-trigger-button,.entity-chat-trigger-icon-button{position:relative}.entity-chat-trigger-badge-icon{position:absolute;border-radius:50%;padding:0;display:flex;align-items:center;justify-content:center;font-size:12px;line-height:16px}.entity-chat-trigger-badge-button{margin-left:4px;height:16px;padding-left:4px;padding-right:4px;font-size:12px;line-height:16px}.entity-chat-panel-title{font-size:18px;font-weight:600;margin:0}.entity-chat-panel-close{background:transparent;border:none;cursor:pointer;padding:4px;border-radius:calc(var(--radius) / 2);color:hsl(var(--muted-foreground));transition:color .2s ease-in-out,background-color .2s ease-in-out}.entity-chat-panel-close:hover{color:hsl(var(--foreground));background:hsl(var(--accent))}.entity-chat-panel-body{padding:16px;height:400px;overflow-y:auto;background:hsl(var(--background))}.entity-chat-trigger{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.entity-chat-icon-trigger{background:transparent;border:none;cursor:pointer;color:hsl(var(--muted-foreground));transition:color .2s ease-in-out;padding:4px;border-radius:calc(var(--radius) / 2);display:inline-flex;align-items:center;justify-content:center}.entity-chat-icon-trigger:hover{color:hsl(var(--foreground));background:hsl(var(--accent))}.entity-chat-icon-trigger svg{width:20px;height:20px}.entity-chat-button-trigger{background:hsl(var(--primary));color:hsl(var(--primary-foreground));border:1px solid hsl(var(--primary));border-radius:calc(var(--radius));padding:8px 16px;cursor:pointer;font-size:14px;font-weight:500;transition:background-color .2s ease-in-out,border-color .2s ease-in-out;display:inline-flex;align-items:center;gap:8px}.entity-chat-button-trigger:hover{background:hsl(var(--primary)/.9)}.entity-chat-button-trigger svg{width:16px;height:16px}.entity-chat-messages{display:flex;flex-direction:column;gap:12px;padding:8px 0}.entity-chat-message{display:flex;flex-direction:column;gap:4px}.entity-chat-message-header{display:flex;align-items:center;gap:8px;font-size:12px;color:hsl(var(--muted-foreground))}.entity-chat-message-content{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:calc(var(--radius));padding:12px;font-size:14px;line-height:1.5;color:hsl(var(--card-foreground))}.entity-chat-message-internal .entity-chat-message-content{background:hsl(var(--secondary));border-color:hsl(var(--secondary))}.entity-chat-message-client .entity-chat-message-content{background:hsl(var(--card));border-color:hsl(var(--border))}.entity-chat-input-container{border-top:1px solid hsl(var(--border));padding:16px;background:hsl(var(--card))}.entity-chat-input{width:100%;min-height:80px;border:1px solid hsl(var(--input));border-radius:calc(var(--radius));padding:8px 12px;font-size:14px;color:hsl(var(--foreground));background:hsl(var(--background));resize:vertical;font-family:inherit}.entity-chat-input:focus{outline:none;border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsl(var(--ring)/.2)}.entity-chat-input-toolbar{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.entity-chat-input-actions{display:flex;align-items:center;gap:8px}.entity-chat-send-button{background:hsl(var(--primary));color:hsl(var(--primary-foreground));border:none;border-radius:calc(var(--radius));padding:8px 16px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s ease-in-out}.entity-chat-send-button:hover:not(:disabled){background:hsl(var(--primary)/.9)}.entity-chat-send-button:disabled{opacity:.5;cursor:not-allowed}.entity-chat-tabs{display:flex;border-bottom:1px solid hsl(var(--border));background:hsl(var(--card))}.entity-chat-tab{padding:12px 16px;background:transparent;color:hsl(var(--muted-foreground));font-size:14px;font-weight:500;cursor:pointer;border:none;border-bottom:2px solid transparent;transition:color .2s ease-in-out,border-color .2s ease-in-out}.entity-chat-tab:hover{color:hsl(var(--foreground))}.entity-chat-tab[data-state=active]{color:hsl(var(--primary));border-bottom-color:hsl(var(--primary))}.entity-chat-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:calc(var(--radius) / 2);font-size:12px;font-weight:500;background:hsl(var(--secondary));color:hsl(var(--secondary-foreground))}.entity-chat-badge-internal{background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.entity-chat-badge-client{background:hsl(var(--secondary));color:hsl(var(--secondary-foreground))}.entity-chat-loading{display:flex;align-items:center;justify-content:center;padding:40px;color:hsl(var(--muted-foreground));font-size:14px}.entity-chat-spinner{width:20px;height:20px;border-radius:50%;border:2px solid hsl(var(--muted));border-top-color:hsl(var(--primary));animation:spin 1s linear infinite;margin-right:8px}@keyframes spin{to{transform:rotate(1turn)}}.entity-chat-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;text-align:center;color:hsl(var(--muted-foreground))}.entity-chat-empty svg{width:48px;height:48px;margin-bottom:16px;opacity:.5}.entity-chat-overlay{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.8);display:flex;align-items:center;justify-content:center;padding:16px}.entity-chat-dialog{background:hsl(var(--background));border-radius:calc(var(--radius) * 2);box-shadow:0 25px 50px -12px rgba(0,0,0,.25);width:100%;max-width:600px;max-height:90vh;overflow:hidden;position:relative}@media (max-width:768px){.entity-chat-dialog{margin:0;border-radius:0;height:100vh;max-height:100vh;max-width:100%}.entity-chat-floating-button{bottom:16px;right:16px;width:48px;height:48px}}.entity-chat-panel .dx-htmleditor{border:1px solid hsl(var(--input));border-radius:calc(var(--radius));background:hsl(var(--background))}.entity-chat-panel .dx-htmleditor-content{font-family:inherit}.entity-chat-panel .dx-htmleditor-content,.entity-chat-panel .dx-htmleditor-content .dx-htmleditor-content-container,.entity-chat-panel .dx-htmleditor-content .ql-editor{background:hsl(var(--background));color:hsl(var(--foreground))}.entity-chat-panel .dx-htmleditor-toolbar{background:hsl(var(--card));border-bottom:1px solid hsl(var(--border))}.entity-chat-panel .tiptap-html-editor-wrapper{width:100%;position:relative}.entity-chat-panel .tiptap-html-editor-container{border:1px solid hsl(var(--input));border-radius:calc(var(--radius));background:hsl(var(--background))}.entity-chat-panel .tiptap-html-editor-toolbar{border-bottom:1px solid hsl(var(--border));padding:8px;background:hsl(var(--muted)/.5)}.entity-chat-panel .tiptap-html-editor-toolbar-buttons{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.entity-chat-panel .tiptap-html-editor-toolbar-separator{width:1px;height:24px;background:hsl(var(--border));margin:0 4px}.entity-chat-panel .tiptap-html-editor-input-row{display:flex;align-items:flex-end;gap:8px;padding:8px;min-height:40px;cursor:text}.entity-chat-panel .tiptap-html-editor-input-wrapper{flex:1;min-height:32px;max-height:200px;display:flex;align-items:stretch;overflow:hidden}.entity-chat-panel .tiptap-html-editor-content{outline:none;width:100%}.entity-chat-panel .tiptap-html-editor-content .ProseMirror{outline:none;min-height:32px;max-height:200px;font-size:14px;line-height:1.25;padding:4px 8px;width:100%;border:none;background:transparent;resize:none;overflow-y:auto;word-wrap:break-word}.entity-chat-panel .tiptap-html-editor-content .ProseMirror:focus{outline:none}.entity-chat-panel .tiptap-html-editor-content .ProseMirror p{margin:0;line-height:normal}.entity-chat-panel .tiptap-html-editor-content .ProseMirror p.is-editor-empty:first-child:before{color:hsl(var(--muted-foreground));float:left;height:0;pointer-events:none;content:attr(data-placeholder)}.entity-chat-panel .tiptap-html-editor-content .ProseMirror ol,.entity-chat-panel .tiptap-html-editor-content .ProseMirror ul{margin:8px 0;padding-left:1.5rem!important}.entity-chat-panel .tiptap-html-editor-content .ProseMirror ul{list-style-type:disc!important;list-style-position:outside!important}.entity-chat-panel .tiptap-html-editor-content .ProseMirror ol{list-style-type:decimal!important;list-style-position:outside!important}.entity-chat-panel .tiptap-html-editor-content .ProseMirror li{margin-bottom:4px;display:list-item!important;margin-left:0!important;padding-left:.25rem!important}.entity-chat-panel .tiptap-html-editor-content .ProseMirror ul>li{list-style-type:disc!important}.entity-chat-panel .tiptap-html-editor-content .ProseMirror ol>li{list-style-type:decimal!important}.entity-chat-panel .tiptap-html-editor-content .ProseMirror li>ol,.entity-chat-panel .tiptap-html-editor-content .ProseMirror li>ul{margin-top:.25rem!important;margin-bottom:.25rem!important}.entity-chat-panel .tiptap-html-editor-content .ProseMirror a{color:hsl(var(--primary));text-decoration:underline}.entity-chat-panel .tiptap-html-editor-content .ProseMirror strong{font-weight:600}.entity-chat-panel .tiptap-html-editor-content .ProseMirror em{font-style:italic}.entity-chat-panel .tiptap-html-editor-buttons{display:flex;align-items:center;gap:4px;flex-shrink:0;align-self:flex-end;margin-bottom:4px}.entity-chat-panel .tiptap-html-editor-button{height:32px;width:32px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:calc(var(--radius));transition:color .2s;min-width:32px;min-height:32px;background:transparent;border:none;cursor:pointer}.entity-chat-panel .tiptap-html-editor-importance-button{color:hsl(var(--muted-foreground))}.entity-chat-panel .tiptap-html-editor-importance-button:hover{color:hsl(var(--foreground))}.entity-chat-panel .tiptap-html-editor-importance-active{color:hsl(var(--destructive));background:hsl(var(--destructive)/.1)}.entity-chat-panel .tiptap-html-editor-importance-active:hover{background:hsl(var(--destructive)/.2)}.entity-chat-panel .entity-chat-importance-button-icon{font-weight:700;font-size:16px;line-height:1}.entity-chat-panel .entity-chat-importance-button-icon.active{color:hsl(var(--destructive))}.entity-chat-panel .tiptap-html-editor-format-button{color:hsl(var(--muted-foreground))}.entity-chat-panel .tiptap-html-editor-format-button:hover{color:hsl(var(--foreground))}.entity-chat-panel .tiptap-html-editor-emoji-button{color:hsl(var(--muted-foreground))}.entity-chat-panel .tiptap-html-editor-emoji-button:hover{color:hsl(var(--foreground))}.entity-chat-panel .tiptap-html-editor-send-button{background:hsl(var(--primary));color:hsl(var(--primary-foreground));height:32px;width:32px;min-width:32px;min-height:32px}.entity-chat-panel .tiptap-html-editor-send-button:hover{background:hsl(var(--primary)/.9)}.entity-chat-panel .tiptap-html-editor-container:focus-within{border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsl(var(--ring)/.2)}.entity-chat-panel .tiptap-html-editor-input-row:focus-within{outline:none}.entity-chat-panel .tiptap-html-editor-wrapper[data-disabled=true]{opacity:.5;pointer-events:none}.entity-chat-panel .tiptap-html-editor-wrapper[data-disabled=true] .tiptap-html-editor-content .ProseMirror{background:hsl(var(--muted));color:hsl(var(--muted-foreground))}.entity-chat-panel .tiptap-html-editor-wrapper[data-disabled=true] .tiptap-html-editor-container{background:hsl(var(--muted))}.entity-chat-panel .tiptap-html-editor-toolbar-buttons .bg-muted{background:hsl(var(--accent));color:hsl(var(--accent-foreground))}.entity-chat-panel .tiptap-html-editor-toolbar-buttons button.bg-muted{background:hsl(var(--primary)/.1);color:hsl(var(--primary));border:1px solid hsl(var(--primary)/.2)}.entity-chat-panel .tiptap-html-editor-toolbar-buttons button.bg-muted:hover{background:hsl(var(--primary)/.15);color:hsl(var(--primary))}@media (max-width:640px){.entity-chat-panel .tiptap-html-editor-input-row{flex-direction:column;align-items:stretch;gap:8px}.entity-chat-panel .tiptap-html-editor-buttons{justify-content:flex-end}}.entity-chat-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.entity-chat-text-xs{font-size:12px}.entity-chat-text-sm{font-size:14px}.entity-chat-text-base{font-size:16px}.entity-chat-text-lg{font-size:18px}.entity-chat-p-2{padding:8px}.entity-chat-p-4{padding:16px}.entity-chat-p-6{padding:24px}.entity-chat-m-2{margin:8px}.entity-chat-m-4{margin:16px}.entity-chat-mb-2{margin-bottom:8px}.entity-chat-mb-4{margin-bottom:16px}.entity-chat-mt-2{margin-top:8px}.entity-chat-mt-4{margin-top:16px}.entity-chat-flex{display:flex}.entity-chat-flex-col{flex-direction:column}.entity-chat-items-center{align-items:center}.entity-chat-justify-center{justify-content:center}.entity-chat-justify-between{justify-content:space-between}.entity-chat-gap-2{gap:8px}.entity-chat-gap-4{gap:16px}.entity-chat-w-full{width:100%}.entity-chat-h-full{height:100%}.entity-chat-min-h-0{min-height:0}.entity-chat-relative{position:relative}.entity-chat-absolute{position:absolute}.entity-chat-fixed{position:fixed}.entity-chat-z-10{z-index:10}.entity-chat-z-50{z-index:50}.entity-chat-ui-badge{display:inline-flex;align-items:center;border-radius:9999px;border:1px solid transparent;padding:2px 10px;font-size:12px;line-height:16px;font-weight:600;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.entity-chat-ui-badge:focus{outline:2px solid transparent;outline-offset:2px}.entity-chat-ui-badge:focus-visible{outline:none;box-shadow:0 0 0 2px hsl(var(--ring)),0 0 0 4px hsl(var(--ring)/.2)}.entity-chat-ui-badge-default{border-color:transparent;background-color:hsl(var(--primary));color:hsl(var(--primary-foreground))}.entity-chat-ui-badge-default:hover{background-color:hsl(var(--primary)/.8)}.entity-chat-ui-badge-secondary{border-color:transparent;background-color:hsl(var(--secondary));color:hsl(var(--secondary-foreground))}.entity-chat-ui-badge-secondary:hover{background-color:hsl(var(--secondary)/.8)}.entity-chat-ui-badge-destructive{border-color:transparent;background-color:hsl(var(--destructive));color:hsl(var(--destructive-foreground))}.entity-chat-ui-badge-destructive:hover{background-color:hsl(var(--destructive)/.8)}.entity-chat-ui-badge-outline{color:hsl(var(--foreground))}.entity-chat-ui-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;border-radius:calc(var(--radius) - 2px);font-size:14px;line-height:20px;font-weight:500;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;cursor:pointer;border:1px solid transparent}.entity-chat-ui-button:focus-visible{outline:none;box-shadow:0 0 0 2px hsl(var(--ring)),0 0 0 4px hsl(var(--ring)/.2)}.entity-chat-ui-button:disabled{pointer-events:none;opacity:.5}.entity-chat-ui-button svg{pointer-events:none;width:16px;height:16px;flex-shrink:0}.entity-chat-ui-button-default{background-color:hsl(var(--primary));color:hsl(var(--primary-foreground))}.entity-chat-ui-button-default:hover:not(:disabled){background-color:hsl(var(--primary)/.9)}.entity-chat-ui-button-destructive{background-color:hsl(var(--destructive));color:hsl(var(--destructive-foreground))}.entity-chat-ui-button-destructive:hover:not(:disabled){background-color:hsl(var(--destructive)/.9)}.entity-chat-ui-button-outline{border:1px solid hsl(var(--input));background-color:hsl(var(--background))}.entity-chat-ui-button-outline:hover:not(:disabled){background-color:hsl(var(--accent));color:hsl(var(--accent-foreground))}.entity-chat-ui-button-secondary{background-color:hsl(var(--secondary));color:hsl(var(--secondary-foreground))}.entity-chat-ui-button-secondary:hover:not(:disabled){background-color:hsl(var(--secondary)/.8)}.entity-chat-ui-button-ghost{background-color:transparent;border-color:transparent}.entity-chat-ui-button-ghost:hover:not(:disabled){background-color:hsl(var(--accent));color:hsl(var(--accent-foreground))}.entity-chat-ui-button-link{color:hsl(var(--primary));text-decoration:underline;text-underline-offset:4px}.entity-chat-ui-button-link:hover:not(:disabled){text-decoration:underline}.entity-chat-ui-button-default-size{height:40px;padding:8px 16px}.entity-chat-ui-button-sm{height:36px;border-radius:calc(var(--radius) - 2px);padding-left:12px;padding-right:12px}.entity-chat-ui-button-lg{height:44px;border-radius:calc(var(--radius) - 2px);padding-left:32px;padding-right:32px}.entity-chat-ui-button-icon{height:40px;width:40px}.entity-chat-ui-checkbox{height:16px;width:16px;flex-shrink:0;border-radius:calc(var(--radius) - 4px);border:1px solid hsl(var(--primary));cursor:pointer}.entity-chat-ui-checkbox:focus-visible{outline:none;box-shadow:0 0 0 2px hsl(var(--ring)),0 0 0 4px hsl(var(--ring)/.2)}.entity-chat-ui-checkbox:disabled{cursor:not-allowed;opacity:.5}.entity-chat-ui-checkbox[data-state=checked]{background-color:hsl(var(--primary));color:hsl(var(--primary-foreground))}.entity-chat-ui-checkbox-indicator{display:flex;align-items:center;justify-content:center;color:currentColor}.entity-chat-ui-checkbox-icon{height:16px;width:16px}.entity-chat-ui-popover-content{z-index:50;width:288px;border-radius:calc(var(--radius) - 2px);border:1px solid hsl(var(--border));background-color:hsl(var(--popover));padding:16px;color:hsl(var(--popover-foreground));box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);outline:none}.entity-chat-ui-popover-content[data-state=open]{animation:entity-chat-fade-in .15s ease-out,entity-chat-zoom-in .15s ease-out}.entity-chat-ui-popover-content[data-state=closed]{animation:entity-chat-fade-out .15s ease-in,entity-chat-zoom-out .15s ease-in}.entity-chat-ui-select-trigger{display:flex;height:40px;width:100%;align-items:center;justify-content:space-between;border-radius:calc(var(--radius) - 2px);border:1px solid hsl(var(--input));background-color:hsl(var(--background));padding:8px 12px;font-size:14px;line-height:20px;cursor:pointer}.entity-chat-ui-select-trigger:focus{outline:none;box-shadow:0 0 0 2px hsl(var(--ring)),0 0 0 4px hsl(var(--ring)/.2)}.entity-chat-ui-select-trigger:disabled{cursor:not-allowed;opacity:.5}.entity-chat-ui-select-trigger[data-placeholder]{color:hsl(var(--muted-foreground))}.entity-chat-ui-select-trigger>span{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.entity-chat-ui-select-icon{height:16px;width:16px;opacity:.5}.entity-chat-ui-select-scroll-button{display:flex;cursor:default;align-items:center;justify-content:center;padding-top:4px;padding-bottom:4px}.entity-chat-ui-select-scroll-button svg{height:16px;width:16px}.entity-chat-ui-select-content{position:relative;z-index:50;max-height:var(--radix-select-content-available-height);min-width:128px;overflow-y:auto;overflow-x:hidden;border-radius:calc(var(--radius) - 2px);border:1px solid hsl(var(--border));background-color:hsl(var(--popover));color:hsl(var(--popover-foreground));box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)}.entity-chat-ui-select-content[data-state=open]{animation:entity-chat-fade-in .15s ease-out,entity-chat-zoom-in .15s ease-out}.entity-chat-ui-select-content[data-state=closed]{animation:entity-chat-fade-out .15s ease-in,entity-chat-zoom-out .15s ease-in}.entity-chat-ui-select-content[data-side=bottom]{animation:entity-chat-fade-in .15s ease-out,entity-chat-slide-in-from-top .15s ease-out}.entity-chat-ui-select-content[data-side=left]{animation:entity-chat-fade-in .15s ease-out,entity-chat-slide-in-from-right .15s ease-out}.entity-chat-ui-select-content[data-side=right]{animation:entity-chat-fade-in .15s ease-out,entity-chat-slide-in-from-left .15s ease-out}.entity-chat-ui-select-content[data-side=top]{animation:entity-chat-fade-in .15s ease-out,entity-chat-slide-in-from-bottom .15s ease-out}.entity-chat-ui-select-content-popper[data-side=bottom]{transform:translateY(4px)}.entity-chat-ui-select-content-popper[data-side=left]{transform:translateX(-4px)}.entity-chat-ui-select-content-popper[data-side=right]{transform:translateX(4px)}.entity-chat-ui-select-content-popper[data-side=top]{transform:translateY(-4px)}.entity-chat-ui-select-viewport{padding:4px}.entity-chat-ui-select-viewport-popper{height:var(--radix-select-trigger-height);width:100%;min-width:var(--radix-select-trigger-width)}.entity-chat-ui-select-label{padding:6px 8px 6px 32px;font-size:14px;line-height:20px;font-weight:600}.entity-chat-ui-select-item{position:relative;display:flex;width:100%;cursor:default;user-select:none;align-items:center;border-radius:calc(var(--radius) - 4px);padding:6px 8px 6px 32px;font-size:14px;line-height:20px;outline:none}.entity-chat-ui-select-item:focus{background-color:hsl(var(--accent));color:hsl(var(--accent-foreground))}.entity-chat-ui-select-item[data-disabled]{pointer-events:none;opacity:.5}.entity-chat-ui-select-item-indicator{position:absolute;left:8px;display:flex;height:14px;width:14px;align-items:center;justify-content:center}.entity-chat-ui-select-item-indicator svg{height:16px;width:16px}.entity-chat-ui-select-separator{margin:4px -4px;height:1px;background-color:hsl(var(--muted))}.entity-chat-ui-tabs-list{height:40px;border-radius:calc(var(--radius) - 2px);background-color:hsl(var(--muted));padding:4px;color:hsl(var(--muted-foreground))}.entity-chat-ui-tabs-list,.entity-chat-ui-tabs-trigger{display:inline-flex;align-items:center;justify-content:center}.entity-chat-ui-tabs-trigger{white-space:nowrap;border-radius:calc(var(--radius) - 4px);padding:6px 12px;font-size:14px;line-height:20px;font-weight:500;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;cursor:pointer}.entity-chat-ui-tabs-trigger:focus-visible{outline:none;box-shadow:0 0 0 2px hsl(var(--ring)),0 0 0 4px hsl(var(--ring)/.2)}.entity-chat-ui-tabs-trigger:disabled{pointer-events:none;opacity:.5}.entity-chat-ui-tabs-trigger[data-state=active]{background-color:hsl(var(--background));color:hsl(var(--foreground));box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06)}.entity-chat-ui-tabs-content{margin-top:8px}.entity-chat-ui-tabs-content:focus-visible{outline:none;box-shadow:0 0 0 2px hsl(var(--ring)),0 0 0 4px hsl(var(--ring)/.2)}.entity-chat-ui-textarea{display:flex;min-height:80px;width:100%;border-radius:calc(var(--radius) - 2px);border:1px solid hsl(var(--input));background-color:hsl(var(--background));padding:8px 12px;font-size:16px;line-height:24px;font-family:inherit;resize:vertical}.entity-chat-ui-textarea::placeholder{color:hsl(var(--muted-foreground))}.entity-chat-ui-textarea:focus-visible{outline:none;box-shadow:0 0 0 2px hsl(var(--ring)),0 0 0 4px hsl(var(--ring)/.2)}.entity-chat-ui-textarea:disabled{cursor:not-allowed;opacity:.5}@media (min-width:768px){.entity-chat-ui-textarea{font-size:14px;line-height:20px}}.entity-chat-ui-tooltip-content{z-index:50;overflow:hidden;border-radius:calc(var(--radius) - 2px);border:1px solid hsl(var(--border));background-color:hsl(var(--popover));padding:6px 12px;font-size:14px;line-height:20px;color:hsl(var(--popover-foreground));box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)}.entity-chat-ui-tooltip-content[data-state=delayed-open]{animation:entity-chat-fade-in .15s ease-out,entity-chat-zoom-in .15s ease-out}.entity-chat-ui-tooltip-content[data-state=closed]{animation:entity-chat-fade-out .15s ease-in,entity-chat-zoom-out .15s ease-in}.entity-chat-ui-tooltip-content[data-side=bottom]{animation:entity-chat-fade-in .15s ease-out,entity-chat-slide-in-from-top .15s ease-out}.entity-chat-ui-tooltip-content[data-side=left]{animation:entity-chat-fade-in .15s ease-out,entity-chat-slide-in-from-right .15s ease-out}.entity-chat-ui-tooltip-content[data-side=right]{animation:entity-chat-fade-in .15s ease-out,entity-chat-slide-in-from-left .15s ease-out}.entity-chat-ui-tooltip-content[data-side=top]{animation:entity-chat-fade-in .15s ease-out,entity-chat-slide-in-from-bottom .15s ease-out}@keyframes entity-chat-fade-in{0%{opacity:0}to{opacity:1}}@keyframes entity-chat-fade-out{0%{opacity:1}to{opacity:0}}@keyframes entity-chat-zoom-in{0%{transform:scale(.95)}to{transform:scale(1)}}@keyframes entity-chat-zoom-out{0%{transform:scale(1)}to{transform:scale(.95)}}@keyframes entity-chat-slide-in-from-top{0%{transform:translateY(-8px)}to{transform:translateY(0)}}@keyframes entity-chat-slide-in-from-bottom{0%{transform:translateY(8px)}to{transform:translateY(0)}}@keyframes entity-chat-slide-in-from-left{0%{transform:translateX(-8px)}to{transform:translateX(0)}}@keyframes entity-chat-slide-in-from-right{0%{transform:translateX(8px)}to{transform:translateX(0)}}.entity-chat-panel .entity-chat-panel-message[data-important=true]{background-color:rgba(255,242,242,.5);border-left:2px solid rgb(248,113,113);border-radius:calc(var(--radius) - 2px);padding:8px;margin:2px 0}.entity-chat-panel-importance-filter{display:flex;align-items:center;justify-content:space-between;gap:12px}.entity-chat-panel-importance-label{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:500;color:hsl(var(--foreground));cursor:pointer;user-select:none}.entity-chat-panel-importance-icon{color:rgb(239,68,68);font-weight:700;font-size:14px;flex-shrink:0}.entity-chat-panel-filter-icon{color:hsl(var(--muted-foreground));flex-shrink:0}.entity-chat-panel-importance-switch{position:relative;display:inline-flex;height:20px;width:36px;flex-shrink:0;cursor:pointer;align-items:center;border-radius:10px;border:2px solid transparent;background-color:hsl(var(--input));transition:all .2s ease-in-out;box-shadow:inset 0 1px 3px 0 rgba(0,0,0,.1);padding:0}.entity-chat-panel-importance-switch:focus-visible{outline:none;box-shadow:0 0 0 2px hsl(var(--ring)),0 0 0 4px hsl(var(--ring)/.2)}.entity-chat-panel-importance-switch[aria-checked=true]{background-color:rgba(248,113,113,.8);box-shadow:0 2px 4px 0 rgba(248,113,113,.3)}.entity-chat-panel-importance-switch>div{pointer-events:none;display:block;height:16px;width:16px;border-radius:50%;background-color:white;box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06);transition:transform .2s ease-in-out;transform:translateX(0)}.entity-chat-panel-importance-switch[aria-checked=true]>div{transform:translateX(16px)}.entity-chat-panel-message-importance-icon{color:rgb(239,68,68);font-weight:700;font-size:18px;line-height:28px;padding-right:8px;flex-shrink:0}.entity-chat-importance-button-icon{font-weight:700;font-size:16px;line-height:24px;width:16px;height:16px;display:flex;align-items:center;justify-content:center;color:hsl(var(--muted-foreground))}.entity-chat-importance-button-icon.active{color:rgb(239,68,68)}
/*# sourceMappingURL=e209443407bdf853.css.map*/