:root{--ag-scrollbar-size:12px;--ag-scrollbar-inset:3px;--ag-scrollbar-radius:999px;--ag-scrollbar-min-length:32px;--ag-scrollbar-thumb:#ffffff29;--ag-scrollbar-thumb-hover:#ffffff47;--ag-scrollbar-thumb-active:#fff6}[data-canvas-theme=day]{--ag-scrollbar-thumb:#0000002e;--ag-scrollbar-thumb-hover:#0000004d;--ag-scrollbar-thumb-active:#0000006b}::-webkit-scrollbar{width:var(--ag-scrollbar-size);height:var(--ag-scrollbar-size);background:0 0}::-webkit-scrollbar-track{box-shadow:none;background:0 0;border:0}::-webkit-scrollbar-track-piece{box-shadow:none;background:0 0;border:0}::-webkit-scrollbar-corner{box-shadow:none;background:0 0;border:0}::-webkit-scrollbar-button{width:0;height:0;display:none}::-webkit-resizer{display:none}::-webkit-scrollbar-thumb{min-height:var(--ag-scrollbar-min-length);min-width:var(--ag-scrollbar-min-length);border:var(--ag-scrollbar-inset) solid transparent;border-radius:var(--ag-scrollbar-radius);background-color:var(--ag-scrollbar-thumb);background-clip:padding-box;transition:background-color .16s}::-webkit-scrollbar-thumb:hover{background-color:var(--ag-scrollbar-thumb-hover)}::-webkit-scrollbar-thumb:active{background-color:var(--ag-scrollbar-thumb-active)}@supports (scrollbar-width:thin) and (not selector(::-webkit-scrollbar)){*{scrollbar-width:thin}:root{scrollbar-color:var(--ag-scrollbar-thumb) transparent}.scrollbar-hover-hidden{scrollbar-color:transparent transparent}.scrollbar-hover-hidden:hover{scrollbar-color:var(--ag-scrollbar-thumb-hover) transparent}.scrollbar-none{scrollbar-width:none}}.scrollbar-hover-hidden{--ag-scrollbar-hover-thumb:transparent}.scrollbar-hover-hidden:hover{--ag-scrollbar-hover-thumb:var(--ag-scrollbar-thumb-hover)}.scrollbar-hover-hidden::-webkit-scrollbar-thumb{background-color:var(--ag-scrollbar-hover-thumb)}.scrollbar-hover-hidden:hover::-webkit-scrollbar-thumb:hover{background-color:var(--ag-scrollbar-thumb-active)}.scrollbar-none{-ms-overflow-style:none}.scrollbar-none::-webkit-scrollbar{width:0;height:0;display:none}.scrollbar-stable{scrollbar-gutter:stable}html{scrollbar-width:none;-ms-overflow-style:none}html::-webkit-scrollbar{width:0;height:0;display:none}
.tiptap-wrapper{flex-direction:column;flex:1;min-height:0;display:flex}.ProseMirror:not(:where(.ag-prompt-editor)){scrollbar-gutter:stable}.editor-editable,.editor-readonly,.editor-editable>:first-child,.editor-readonly>:first-child{flex-direction:column;flex:1;min-height:0;display:flex}.ProseMirror:not(:where(.ag-prompt-editor)){outline:none;min-height:0;padding:1.25rem;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.7}.ProseMirror:not(:where(.ag-prompt-editor)),.ProseMirror:not(:where(.ag-prompt-editor)) p,.ProseMirror:not(:where(.ag-prompt-editor)) li,.ProseMirror:not(:where(.ag-prompt-editor)) div,.ProseMirror:not(:where(.ag-prompt-editor)) h1,.ProseMirror:not(:where(.ag-prompt-editor)) h2,.ProseMirror:not(:where(.ag-prompt-editor)) h3,.ProseMirror:not(:where(.ag-prompt-editor)) span,.prose :where(p):not(:where([class~=not-prose] *)),.prose :where(li):not(:where([class~=not-prose] *)),.prose :where(h1):not(:where([class~=not-prose] *)),.prose :where(h2):not(:where([class~=not-prose] *)),.prose :where(h3):not(:where([class~=not-prose] *)),.prose-invert :where(p):not(:where([class~=not-prose] *)),.prose-invert :where(li):not(:where([class~=not-prose] *)),.prose-invert :where(h1):not(:where([class~=not-prose] *)),.prose-invert :where(h2):not(:where([class~=not-prose] *)),.prose-invert :where(h3):not(:where([class~=not-prose] *)){color:inherit!important}.ProseMirror:not(:where(.ag-prompt-editor))>.is-empty:first-child:before{content:attr(data-placeholder);float:left;color:#9ca3af;pointer-events:none;height:0;font-style:normal}.dark .ProseMirror:not(:where(.ag-prompt-editor))>.is-empty:first-child:before,.prose-invert>.is-empty:first-child:before{color:#6b7280;opacity:.5}.ProseMirror:not(:where(.ag-prompt-editor)) p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#9ca3af;pointer-events:none;height:0;font-style:normal}.dark .ProseMirror:not(:where(.ag-prompt-editor)) p.is-editor-empty:first-child:before,.prose-invert p.is-editor-empty:first-child:before{color:#6b7280}.ProseMirror:not(:where(.ag-prompt-editor)) .is-empty:not(:first-child):before{content:none!important;display:none!important}.dark .ProseMirror:not(:where(.ag-prompt-editor)) hr,.prose-invert hr{border-top-color:#94a3b84d}.editor-editable .ProseMirror:not(:where(.ag-prompt-editor)),.editor-editable .ProseMirror:not(:where(.ag-prompt-editor)) *{cursor:text}.editor-readonly,.editor-readonly .ProseMirror:not(:where(.ag-prompt-editor)){cursor:grab;-webkit-user-select:none;user-select:none}.editor-readonly .ProseMirror:not(:where(.ag-prompt-editor)) *{cursor:grab;-webkit-user-select:none;user-select:none;pointer-events:auto}.editor-editable,.editor-editable .ProseMirror:not(:where(.ag-prompt-editor)){cursor:text}.editor-editable .ProseMirror:not(:where(.ag-prompt-editor)) *{cursor:text!important}.ProseMirror:not(:where(.ag-prompt-editor)) h1{color:inherit;border-bottom:2px solid #9ca3af4d;margin-top:1.5rem;margin-bottom:.75rem;padding-bottom:.5rem;font-size:2.125rem;font-weight:700;line-height:1.3}.dark .ProseMirror:not(:where(.ag-prompt-editor)) h1,.prose-invert h1{border-bottom-color:#94a3b84d}.ProseMirror:not(:where(.ag-prompt-editor)) h2{border-bottom:1px solid #9ca3af33;margin-top:1.25rem;margin-bottom:.625rem;padding-bottom:.375rem;font-size:1.75rem;font-weight:600;line-height:1.4;color:inherit!important}.dark .ProseMirror:not(:where(.ag-prompt-editor)) h2,.prose-invert h2{border-bottom-color:#94a3b833}.ProseMirror:not(:where(.ag-prompt-editor)) h3{margin-top:1rem;margin-bottom:.5rem;font-size:1.5rem;font-weight:600;line-height:1.5;color:inherit!important}.ProseMirror:not(:where(.ag-prompt-editor)) h1:first-child,.ProseMirror:not(:where(.ag-prompt-editor)) h2:first-child,.ProseMirror:not(:where(.ag-prompt-editor)) h3:first-child{margin-top:0}.ProseMirror:not(:where(.ag-prompt-editor)) p{margin:.5rem 0;font-size:16px;color:inherit!important}.ProseMirror:not(:where(.ag-prompt-editor)) p:first-child{margin-top:0}.ProseMirror:not(:where(.ag-prompt-editor)) p:last-child{margin-bottom:0}.ProseMirror:not(:where(.ag-prompt-editor)) p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#9ca3af;pointer-events:none;height:0}.dark .ProseMirror:not(:where(.ag-prompt-editor)) p.is-editor-empty:first-child:before{color:#64748b;opacity:.5}.ProseMirror:not(:where(.ag-prompt-editor))::-moz-selection{background-color:#339cff4d}.ProseMirror:not(:where(.ag-prompt-editor)) ::-moz-selection{background-color:#339cff4d}.ProseMirror:not(:where(.ag-prompt-editor))::selection,.ProseMirror:not(:where(.ag-prompt-editor)) ::selection{background-color:#339cff4d}.ProseMirror:not(:where(.ag-prompt-editor)) ul,.ProseMirror:not(:where(.ag-prompt-editor)) ol{margin:.5rem 0;padding-left:1.5rem;color:inherit!important}.ProseMirror:not(:where(.ag-prompt-editor)) ul{list-style-type:disc}.ProseMirror:not(:where(.ag-prompt-editor)) ol{list-style-type:decimal}.ProseMirror:not(:where(.ag-prompt-editor)) li{margin:.25rem 0;color:inherit!important}.ProseMirror:not(:where(.ag-prompt-editor)) li>p{margin:0;color:inherit!important}.ProseMirror:not(:where(.ag-prompt-editor)) strong{font-weight:700}.ProseMirror:not(:where(.ag-prompt-editor)) em{font-style:italic}.ProseMirror:not(:where(.ag-prompt-editor)) u{text-decoration:underline}.ProseMirror:not(:where(.ag-prompt-editor)) s{text-decoration:line-through}.ProseMirror:not(:where(.ag-prompt-editor)) mark{background-color:#fef08a;border-radius:.125rem;padding:.125rem .25rem}.dark .ProseMirror:not(:where(.ag-prompt-editor)) mark{color:#fef08a;background-color:#854d0e}.ProseMirror:not(:where(.ag-prompt-editor)) [style*="text-align: left"]{text-align:left}.ProseMirror:not(:where(.ag-prompt-editor)) [style*="text-align: center"]{text-align:center}.ProseMirror:not(:where(.ag-prompt-editor)) [style*="text-align: right"]{text-align:right}.ProseMirror:not(:where(.ag-prompt-editor)) [style*="text-align: justify"]{text-align:justify}.ProseMirror:not(:where(.ag-prompt-editor)) code{background-color:#f3f4f6;border-radius:.25rem;padding:.125rem .25rem;font-family:Courier New,Courier,monospace;font-size:.875em}.dark .ProseMirror:not(:where(.ag-prompt-editor)) code{color:#e5e7eb;background-color:#374151}.ProseMirror:not(:where(.ag-prompt-editor)) pre{color:#e5e7eb;background-color:#1f2937;border-radius:.375rem;margin:.5rem 0;padding:.75rem 1rem;font-family:Courier New,Courier,monospace;overflow-x:auto}.ProseMirror:not(:where(.ag-prompt-editor)) pre code{color:inherit;background-color:#0000;padding:0}.ProseMirror:not(:where(.ag-prompt-editor)) blockquote{opacity:.8;border-left:3px solid #d1d5db;margin:.5rem 0;padding-left:1rem}.dark .ProseMirror:not(:where(.ag-prompt-editor)) blockquote{opacity:.8;border-left-color:#4b5563}.ProseMirror:not(:where(.ag-prompt-editor)) hr{border:none;border-top:2px solid #e5e7eb;margin:1rem 0}.dark .ProseMirror:not(:where(.ag-prompt-editor)) hr{border-top-color:#374151}.ag-prompt-editor{caret-color:currentColor;font-family:inherit;font-size:14px;line-height:26px}.ag-prompt-editor p{font:inherit;margin:0}.ag-prompt-drop-cursor{background-color:#339cff;border-radius:1px}
@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(1.15)}}@keyframes ripple{0%{opacity:1;transform:scale(.8)}to{opacity:0;transform:scale(1.8)}}@keyframes float{0%,to{transform:rotate(var(--rotation,0deg)) translateY(-60px) scale(1);opacity:.6}50%{transform:rotate(var(--rotation,0deg)) translateY(-70px) scale(1.3);opacity:1}}@keyframes flowingEdge{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}@keyframes edgeGlow{0%,to{filter:drop-shadow(0 0 2px #339cff4d)}50%{filter:drop-shadow(0 0 8px #339cffcc)}}@keyframes edgeParticle{0%{offset-distance:0%;opacity:0}10%{opacity:1}90%{opacity:1}to{offset-distance:100%;opacity:0}}.media-skeleton{background:#ffffff12}.media-skeleton-sweep{background:linear-gradient(110deg,#0000 20%,#ffffff29 50%,#0000 80%);animation:1.6s ease-in-out infinite media-skeleton-sweep;transform:translate(-100%)}@keyframes media-skeleton-sweep{to{transform:translate(100%)}}@media (prefers-reduced-motion:reduce){.media-skeleton-sweep{opacity:0;animation:none}}