.editor-container{background-color:hsl(var(--editor-bg));color:hsl(var(--foreground));transition:background-color .2s ease,color .2s ease}.editor-surface{background-color:hsl(var(--editor-surface));border-color:hsl(var(--border))}.editor-panel{background-color:hsl(var(--panel));border-color:hsl(var(--panel-border))}.chat-container{background-color:hsl(var(--chat-bg))}.chat-surface{background-color:hsl(var(--chat-surface))}.toggle-button{background-color:hsl(var(--toggle-bg));transition:background-color .2s ease}.toggle-button:hover{background-color:hsl(var(--toggle-hover))}.surface-hover:hover{background-color:hsl(var(--surface-hover))}.surface-active{background-color:hsl(var(--surface-active))}.sidebar{background-color:hsl(var(--sidebar))}.sidebar-hover:hover{background-color:hsl(var(--sidebar-hover))}.theme-bg-primary{background-color:hsl(var(--background))!important}.theme-bg-secondary{background-color:hsl(var(--surface))!important}.theme-bg-tertiary{background-color:hsl(var(--muted))!important}.theme-bg-panel{background-color:hsl(var(--panel))!important}.theme-bg-editor{background-color:hsl(var(--editor-bg))!important}.theme-bg-chat{background-color:hsl(var(--chat-bg))!important}.theme-bg-explore{background-color:hsl(var(--explore-bg))!important}.theme-text-primary{color:hsl(var(--foreground))!important}.theme-text-secondary{color:hsl(var(--muted-foreground))!important}.theme-text-muted{color:hsl(var(--gray-500))!important}.theme-border-primary{border-color:hsl(var(--border))!important}.theme-border-secondary{border-color:hsl(var(--panel-border))!important}.theme-button-primary{background-color:hsl(var(--blue-500));color:hsl(var(--primary))}.theme-button-primary:hover{background-color:hsl(var(--gray-700))}.theme-button-secondary{background-color:hsl(var(--secondary));color:hsl(var(--secondary-foreground))}.theme-button-secondary:hover{background-color:hsl(var(--surface-hover))}.theme-input{background-color:hsl(var(--background));border-color:hsl(var(--border));color:hsl(var(--foreground))}.theme-input:focus{border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsl(var(--ring)/.2)}.theme-select{border-color:hsl(var(--border))}.theme-select,.theme-select option{background-color:hsl(var(--background));color:hsl(var(--foreground))}.theme-range{accent-color:hsl(var(--primary))}.theme-switch-thumb{background-color:hsl(var(--background))}.theme-switch-track{background-color:hsl(var(--border))}.theme-switch-track[data-state=checked]{background-color:hsl(var(--primary))}.theme-popover{background-color:hsl(var(--popover));border-color:hsl(var(--border));color:hsl(var(--popover-foreground))}.theme-shadow-sm{box-shadow:0 1px 2px 0 hsl(var(--gray-900)/.05)}.dark .theme-shadow-sm{box-shadow:0 1px 2px 0 rgb(0 0 0/.3)}.theme-shadow-md{box-shadow:0 4px 6px -1px hsl(var(--gray-900)/.1),0 2px 4px -1px hsl(var(--gray-900)/.06)}.dark .theme-shadow-md{box-shadow:0 8px 20px -10px rgb(0 0 0/.65),0 2px 6px -3px rgb(0 0 0/.4)}.theme-shadow-lg{box-shadow:0 10px 15px -3px hsl(var(--gray-900)/.1),0 4px 6px -2px hsl(var(--gray-900)/.05)}.dark .theme-shadow-lg{box-shadow:0 16px 32px -14px rgb(0 0 0/.75),0 5px 12px -7px rgb(0 0 0/.5)}.theme-transition{transition:background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease}.theme-loading-bg{background-color:hsl(var(--surface))}.theme-error-bg{background-color:hsl(var(--destructive)/.1);color:hsl(var(--destructive))}.theme-success-bg{background-color:hsl(var(--success)/.1);color:hsl(var(--success))}.theme-warning-bg{background-color:hsl(var(--warning)/.1);color:hsl(var(--warning))}.theme-card{background-color:hsl(var(--card));color:hsl(var(--card-foreground))}.theme-card,.theme-tooltip{border-color:hsl(var(--border))}.theme-tooltip{background-color:hsl(var(--popover));color:hsl(var(--popover-foreground))}.theme-resize-handle{background-color:hsl(var(--surface));transition:background-color .2s ease}.theme-resize-handle:hover{background-color:hsl(var(--surface-hover))}.theme-shadow-xl{box-shadow:0 20px 25px -5px rgb(0 0 0/.1),0 8px 10px -6px rgb(0 0 0/.1)}.dark .theme-shadow-xl{box-shadow:0 24px 48px -18px rgb(0 0 0/.8),0 8px 18px -10px rgb(0 0 0/.55)}.theme-bg-blue-secondary{background-color:hsl(var(--blue-100))}.dark .theme-bg-blue-secondary{background-color:hsl(var(--blue-900)/.5)}.theme-bg-blue-muted{background-color:hsl(var(--blue-200))}.dark .theme-bg-blue-muted{background-color:hsl(var(--blue-800))}.theme-text-blue-primary{color:hsl(var(--blue-500))}.dark .theme-text-blue-primary{color:hsl(var(--blue-300))}.theme-bg-emerald-secondary{background-color:hsl(142 76% 95%)}.dark .theme-bg-emerald-secondary{background-color:hsl(142 76% 15%/.3)}.theme-text-emerald-primary{color:hsl(142 76% 36%)}.dark .theme-text-emerald-primary{color:hsl(142 76% 70%)}.theme-bg-orange-secondary{background-color:hsl(38 92% 95%)}.dark .theme-bg-orange-secondary{background-color:hsl(38 92% 15%/.3)}.theme-text-orange-primary{color:hsl(38 92% 40%)}.dark .theme-text-orange-primary{color:hsl(38 92% 70%)}.theme-text-green-primary{color:hsl(142 71% 45%)}.dark .theme-text-green-primary{color:hsl(142 71% 70%)}.theme-hover-bg-blue-secondary:hover{background-color:hsl(var(--blue-50))}.dark .theme-hover-bg-blue-secondary:hover{background-color:hsl(var(--blue-900)/.2)}.theme-hover-bg-red-secondary:hover{background-color:hsl(0 100% 97%)}.dark .theme-hover-bg-red-secondary:hover{background-color:hsl(0 100% 15%/.2)}.dark .theme-hover-bg-secondary:hover,.theme-hover-bg-secondary:hover{background-color:hsl(var(--surface-hover))}.theme-bg-muted{background-color:hsl(var(--gray-50))}.dark .theme-bg-muted{background-color:hsl(var(--gray-100))}.theme-text-muted{color:hsl(var(--gray-600))}.dark .theme-text-muted{color:hsl(var(--gray-500))}@media (max-width:768px){.theme-mobile-bg{background-color:hsl(var(--background))}.theme-mobile-surface{background-color:hsl(var(--surface))}}@media (prefers-contrast:high){.theme-border-primary{border-width:2px}.theme-text-primary{font-weight:600}}@media (prefers-reduced-motion:reduce){.theme-transition,.toggle-button{transition:none}}.mention{margin-left:.25rem;margin-right:.25rem;display:inline-flex;align-items:center;gap:.25rem;border-radius:calc(var(--radius) - 2px);padding:.125rem .5rem;font-size:.875rem;line-height:1.25rem;font-weight:500;border-width:1px;border-color:hsl(var(--blue-200));background-color:hsl(var(--blue-100));color:hsl(var(--blue-800))}.mention:is(.dark *){border-color:hsl(var(--blue-700));background-color:hsl(var(--blue-900));color:hsl(var(--blue-200))}.mention{cursor:pointer}.mention:hover{background-color:hsl(var(--blue-200))}.mention:hover:is(.dark *){background-color:hsl(var(--blue-800))}.mention{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ProseMirror{outline:none;line-height:1.5;caret-color:currentColor}.ProseMirror,.ProseMirror p{padding:0;margin:0}.ProseMirror p.is-editor-empty:first-child:before{color:hsl(var(--gray-400))}.ProseMirror p.is-editor-empty:first-child:is(.dark *):before{color:hsl(var(--gray-500))}.ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;height:0;pointer-events:none}