.sheet-ai-chat-prose{overflow-wrap:anywhere;word-break:break-word;font-size:.8125rem;line-height:1.45;color:#1f2937}.sheet-ai-chat-prose>:first-child{margin-top:0}.sheet-ai-chat-prose>:last-child{margin-bottom:0}.sheet-ai-chat-prose p{margin:.4rem 0}.sheet-ai-chat-prose h1,.sheet-ai-chat-prose h2,.sheet-ai-chat-prose h3,.sheet-ai-chat-prose h4{margin:.65rem 0 .3rem;font-weight:650;line-height:1.25;color:#111827}.sheet-ai-chat-prose h1{font-size:.95rem}.sheet-ai-chat-prose h2{font-size:.9rem}.sheet-ai-chat-prose h3,.sheet-ai-chat-prose h4{font-size:.85rem}.sheet-ai-chat-prose ol,.sheet-ai-chat-prose ul{margin:.4rem 0;padding-left:1.15rem}.sheet-ai-chat-prose li{margin:.15rem 0}.sheet-ai-chat-prose li>p{margin:.1rem 0}.sheet-ai-chat-prose strong{font-weight:650;color:#111827}.sheet-ai-chat-prose code{font-size:.75rem;background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0;border-radius:.25rem;padding:.05rem .3rem}.sheet-ai-chat-prose pre{margin:.45rem 0;padding:.5rem .65rem;border-radius:.5rem;background:#f3f4f6;border:1px solid #e5e7eb;overflow-x:auto;font-size:.72rem;line-height:1.4}.sheet-ai-chat-prose pre code{background:transparent;border:0;padding:0;color:inherit}.sheet-ai-chat-prose table{width:-moz-max-content;width:max-content;max-width:none;border-collapse:collapse;font-size:.72rem;margin:.45rem 0}.sheet-ai-chat-prose td,.sheet-ai-chat-prose th{border:1px solid #d1d5db;padding:.2rem .4rem;white-space:nowrap;vertical-align:top}.sheet-ai-chat-prose th{background:#ecfdf5;font-weight:600;color:#065f46}.sheet-ai-chat-prose blockquote{margin:.45rem 0;padding:.35rem .65rem;border-left:3px solid #34d399;background:#ecfdf5;color:#374151}.sheet-ai-cell-ref{display:inline;margin:0;padding:0 .15rem;border:0;border-radius:.2rem;background:#ecfdf5;color:#047857;font:inherit;font-weight:650;text-decoration:underline;text-decoration-color:#6ee7b7;text-underline-offset:2px;cursor:pointer}.sheet-ai-cell-ref:hover{background:#d1fae5;color:#065f46}.library-ai-citation{display:inline;margin:0;padding:0 .2rem;border:0;border-radius:.25rem;background:#eef2ff;color:#3730a3;font:inherit;font-weight:650;text-decoration:underline;text-decoration-color:#a5b4fc;text-underline-offset:2px;cursor:pointer}.library-ai-citation:hover{background:#e0e7ff;color:#312e81}.draft-ai-chat-prose .library-ai-citation,.sheet-ai-chat-prose .library-ai-citation{pointer-events:auto}@keyframes grantai-sheet-comment-popover-in{0%{opacity:0;transform:translateY(6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes grantai-sheet-comment-popover-out{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(4px) scale(.98)}}.grantai-sheet-comment-popover{position:absolute;z-index:1020;width:min(380px,calc(100% - 24px));max-width:380px;background:#fff;border:1px solid #dadce0;border-radius:8px;box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15);padding:12px 12px 10px;font:13px/1.45 -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:#202124;animation:grantai-sheet-comment-popover-in .16s cubic-bezier(.2,0,0,1) both;box-sizing:border-box;pointer-events:auto}.grantai-sheet-comment-popover.is-hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.24),0 1px 3px 1px rgba(60,64,67,.12)}.grantai-sheet-comment-popover.is-leaving{animation:grantai-sheet-comment-popover-out .14s cubic-bezier(.4,0,1,1) both;pointer-events:none}.grantai-sheet-comment-popover:after{content:"";position:absolute;top:calc(var(--grantai-comment-caret-top, 19px) - 5px);width:10px;height:10px;background:#fff;border:1px solid #dadce0;transform:rotate(45deg);box-sizing:border-box}.grantai-sheet-comment-popover.placement-right:after{left:-6px;border-right:none;border-top:none;box-shadow:-1px 1px 1px rgba(60,64,67,.08)}.grantai-sheet-comment-popover.placement-left:after{right:-6px;border-left:none;border-bottom:none;box-shadow:1px -1px 1px rgba(60,64,67,.08)}.grantai-sheet-comment-popover.is-editing{box-shadow:0 1px 3px 1px rgba(60,64,67,.28),0 4px 12px 3px rgba(60,64,67,.18)}.grantai-sheet-comment-entry+.grantai-sheet-comment-entry{margin-top:14px;padding-top:12px;border-top:1px solid #f1f3f4}.grantai-sheet-comment-header{display:flex;align-items:flex-start;gap:10px}.grantai-sheet-comment-avatar-img{flex-shrink:0}.grantai-sheet-comment-meta{min-width:0;flex:1;padding-top:1px}.grantai-sheet-comment-name-row{display:flex;align-items:center;gap:6px;min-width:0}.grantai-sheet-comment-name{font-weight:600;font-size:13px;color:#202124;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.grantai-sheet-comment-time{margin-top:1px;font-size:12px;color:#80868b}.grantai-sheet-comment-body{margin:6px 0 0 42px;font-size:13px;color:#3c4043;white-space:pre-wrap;word-break:break-word}.grantai-sheet-comment-actions{display:inline-flex;align-items:center;gap:2px;flex-shrink:0;margin-left:4px}.grantai-sheet-comment-menu-wrap{position:relative;flex-shrink:0}.grantai-sheet-comment-entry:has(.grantai-sheet-comment-menu){position:relative;z-index:60}.grantai-sheet-comment-menu-wrap:has(.grantai-sheet-comment-menu){z-index:60}.grantai-sheet-comment-close-btn,.grantai-sheet-comment-menu-btn,.grantai-sheet-comment-resolve-btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;border-radius:50%;background:transparent;color:#5f6368;cursor:pointer;padding:0}.grantai-sheet-comment-close-btn:hover,.grantai-sheet-comment-menu-btn.is-open,.grantai-sheet-comment-menu-btn:hover,.grantai-sheet-comment-resolve-btn:hover{background:#f1f3f4;color:#202124}.grantai-sheet-comment-resolve-btn:hover{color:#188038;background:#e6f4ea}.grantai-sheet-comment-menu{position:absolute;top:calc(100% + 4px);right:0;min-width:148px;padding:6px 0;background:#fff;border:1px solid #dadce0;border-radius:8px;box-shadow:0 1px 2px rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15);z-index:60}.grantai-sheet-comment-menu button{display:block;width:100%;text-align:left;border:none;background:transparent;padding:10px 16px;font:inherit;font-size:14px;color:#202124;cursor:pointer}.grantai-sheet-comment-menu button:hover:not(:disabled){background:#f1f3f4}.grantai-sheet-comment-menu button:disabled{opacity:.45;cursor:default}.grantai-sheet-comment-menu button.is-danger{color:#d93025}.grantai-sheet-comment-edit{display:block;width:100%;margin:10px 0 0;min-height:72px;resize:vertical;border:1px solid #dadce0;border-radius:8px;padding:8px 10px;font:inherit;color:#202124;box-sizing:border-box;outline:none}.grantai-sheet-comment-edit:focus{border-color:#1a73e8;box-shadow:0 0 0 1px #1a73e8}.grantai-sheet-comment-edit-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}.grantai-sheet-comment-btn-primary,.grantai-sheet-comment-btn-secondary{border:none;border-radius:999px;padding:7px 16px;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.grantai-sheet-comment-btn-primary{background:#1a73e8;color:#fff}.grantai-sheet-comment-btn-primary:hover:not(:disabled){background:#1765cc}.grantai-sheet-comment-btn-primary:disabled{opacity:.45;cursor:default}.grantai-sheet-comment-btn-secondary{background:transparent;color:#1a73e8}.grantai-sheet-comment-btn-secondary:hover{background:#f1f3f4}.grantai-sheet-comment-reply{margin:12px 0 0;width:100%}.grantai-sheet-mention-field{position:relative;width:100%;display:block;z-index:20}.grantai-sheet-comment-reply .grantai-sheet-mention-field input,.grantai-sheet-comment-reply input{display:block;width:100%;min-width:0;box-sizing:border-box;border:1px solid #dadce0;border-radius:999px;padding:8px 14px;font:inherit;font-size:13px;color:#202124;background:#fff;outline:none}.grantai-sheet-comment-reply .grantai-sheet-mention-field input::-moz-placeholder,.grantai-sheet-comment-reply input::-moz-placeholder{color:#80868b}.grantai-sheet-comment-reply .grantai-sheet-mention-field input::placeholder,.grantai-sheet-comment-reply input::placeholder{color:#80868b}.grantai-sheet-comment-reply .grantai-sheet-mention-field input:focus,.grantai-sheet-comment-reply input:focus{border-color:#1a73e8;box-shadow:0 0 0 1px #1a73e8}.grantai-sheet-comment-mention{color:#1a73e8;font-weight:600;background:#e8f0fe;border-radius:4px;padding:0 2px}.grantai-sheet-mention-list{position:absolute;left:0;right:0;bottom:calc(100% + 6px);z-index:50;max-height:220px;min-height:0;overflow-y:auto;overflow-anchor:none;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #dadce0;border-radius:8px;box-shadow:0 1px 2px rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15);padding:4px 0;pointer-events:auto}.grantai-sheet-mention-list--portal{position:fixed;right:auto;bottom:auto;z-index:12050;max-height:none}.grantai-sheet-comment-edit+.grantai-sheet-mention-list,.grantai-sheet-mention-field:has(textarea) .grantai-sheet-mention-list{bottom:auto;top:calc(100% + 4px)}.grantai-sheet-mention-empty{padding:10px 12px;font-size:12px;color:#80868b}.grantai-sheet-mention-item{display:flex;align-items:center;gap:10px;width:100%;border:none;background:transparent;text-align:left;padding:8px 12px;cursor:pointer;font:inherit;color:#202124}.grantai-sheet-mention-item.is-active,.grantai-sheet-mention-item:hover{background:#e8f0fe}.grantai-sheet-mention-meta{min-width:0;display:flex;flex-direction:column;gap:1px}.grantai-sheet-mention-name{font-size:13px;font-weight:600}.grantai-sheet-mention-email,.grantai-sheet-mention-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.grantai-sheet-mention-email{font-size:11px;color:#5f6368}.grantai-sheet-comments-panel{position:absolute;top:0;right:0;bottom:0;width:min(340px,92vw);z-index:1015;display:flex;flex-direction:column;background:#fff;border-left:1px solid #dadce0;box-shadow:-2px 0 12px rgba(60,64,67,.12);font:13px/1.45 -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:#202124;animation:grantai-sheet-comment-popover-in .16s cubic-bezier(.2,0,0,1) both}.grantai-sheet-comments-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 14px 10px;border-bottom:1px solid #f1f3f4}.grantai-sheet-comments-panel-header h3{margin:0;font-size:16px;font-weight:600}.grantai-sheet-comments-panel-header p{margin:4px 0 0;font-size:12px;color:#80868b}.grantai-sheet-comments-panel-close{border:none;background:transparent;width:28px;height:28px;border-radius:50%;font-size:20px;line-height:1;color:#5f6368;cursor:pointer}.grantai-sheet-comments-panel-close:hover{background:#f1f3f4}.grantai-sheet-comments-panel-toolbar{padding:10px 14px 0}.grantai-sheet-comments-add{width:100%;border:1px solid #dadce0;background:#fff;border-radius:999px;padding:8px 12px;font:inherit;font-weight:600;color:#1a73e8;cursor:pointer}.grantai-sheet-comments-add:hover:not(:disabled){background:#e8f0fe}.grantai-sheet-comments-add:disabled{opacity:.45;cursor:default}.grantai-sheet-comments-tabs{display:flex;gap:4px;padding:10px 14px 0}.grantai-sheet-comments-tabs button{flex:1;background:transparent;padding:8px 6px;font:inherit;font-size:12px;font-weight:600;color:#5f6368;border:none;border-bottom:2px solid transparent;cursor:pointer}.grantai-sheet-comments-tabs button.is-active{color:#1a73e8;border-bottom-color:#1a73e8}.grantai-sheet-comments-list{flex:1;min-height:0;overflow-y:auto;padding:8px 10px 16px}.grantai-sheet-comments-empty{padding:24px 12px;text-align:center;color:#80868b;font-size:13px}.grantai-sheet-comments-row{border:1px solid #e8eaed;border-radius:8px;margin-bottom:8px;background:#fff;overflow:hidden}.grantai-sheet-comments-row.is-resolved{background:#f8f9fa}.grantai-sheet-comments-row-main{display:block;width:100%;text-align:left;border:none;background:transparent;padding:10px;cursor:pointer;font:inherit;color:inherit}.grantai-sheet-comments-row-main:hover{background:#f8f9fa}.grantai-sheet-comments-row-top{display:flex;gap:8px;align-items:flex-start}.grantai-sheet-comments-row-meta{min-width:0;flex:1}.grantai-sheet-comments-row-name{font-weight:600;font-size:13px;display:flex;align-items:center;gap:6px;min-width:0}.grantai-sheet-comments-cellref{font-weight:500;font-size:11px;color:#1a73e8;background:#e8f0fe;border-radius:999px;padding:1px 6px}.grantai-sheet-comments-row-time{margin-top:1px;font-size:11px;color:#80868b}.grantai-sheet-comments-row-text{margin-top:6px;font-size:13px;color:#3c4043;white-space:pre-wrap;word-break:break-word;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.grantai-sheet-comments-row-replies{margin-top:4px;font-size:11px;color:#80868b}.grantai-sheet-comments-row-actions{display:flex;gap:8px;padding:0 10px 10px}.grantai-sheet-comments-row-actions button{border:none;background:transparent;color:#1a73e8;font:inherit;font-size:12px;font-weight:600;cursor:pointer;padding:4px 0}.grantai-sheet-comments-row-actions button.is-danger{color:#d93025}[data-sheet-editor] #luckysheet-postil-showBoxs{display:none!important}@keyframes grantai-follow-pulse{0%{box-shadow:0 0 0 0 rgba(16,185,129,.55)}to{box-shadow:0 0 0 10px rgba(16,185,129,0)}}.collaboration-cursor.grantai-follow-pulse{animation:grantai-follow-pulse .7s ease-out 2}.newly-inserted-content{animation:insertFlash 2.5s ease-out forwards;background-color:#dbeafe!important;border-radius:2px;padding:2px 0}@keyframes insertFlash{0%{background-color:#60a5fa!important;box-shadow:0 0 0 3px rgba(96,165,250,.3)}15%{background-color:#93c5fd!important;box-shadow:0 0 0 2px rgba(147,197,253,.2)}40%{background-color:#dbeafe!important;box-shadow:0 0 0 1px rgba(219,234,254,.1)}to{background-color:transparent!important;box-shadow:none}}.highlight-animate[data-color="#fef3c7"]{background-color:#fef3c7!important;transition:background-color .2s ease-in-out}.highlight-animate[data-color="#dbeafe"]{background-color:#dbeafe!important;transition:background-color .2s ease-in-out}.highlight-animate[data-color="#fbbf24"]{background-color:#fbbf24!important;animation:pulse-highlight .5s ease-in-out}.tiptap-collab-write mark[data-color]:not([data-color="#c4b5fd"]):not([data-color="#fbbf24"]){animation:none}.highlight-animate[data-color="#fef08a"],mark[data-color="#fef08a"]{background-color:#fef08a!important;animation:none}.highlight-animate[data-color="#bbf7d0"],mark[data-color="#bbf7d0"]{background-color:#bbf7d0!important;animation:none}.highlight-animate[data-color="#7dd3fc"],mark[data-color="#7dd3fc"]{background-color:#7dd3fc!important;animation:none}.highlight-animate[data-color="#f9a8d4"],mark[data-color="#f9a8d4"]{background-color:#f9a8d4!important;animation:none}.highlight-animate[data-color="#fdba74"],mark[data-color="#fdba74"]{background-color:#fdba74!important;animation:none}.highlight-animate[data-color="#e9d5ff"],mark[data-color="#e9d5ff"]{background-color:#e9d5ff!important;animation:none}.highlight-animate[data-color="#5eead4"],mark[data-color="#5eead4"]{background-color:#5eead4!important;animation:none}.highlight-animate[data-color="#fca5a5"],mark[data-color="#fca5a5"]{background-color:#fca5a5!important;animation:none}.highlight-animate[data-color="#c4b5fd"],mark[data-color="#c4b5fd"]{background-color:#c4b5fd!important;box-shadow:0 0 0 2px rgba(139,92,246,.35);border-radius:2px;animation:ai-edit-target-pulse 1.8s ease-in-out infinite}.draft-ai-chat-prose{overflow-wrap:anywhere;word-break:break-word}.draft-ai-chat-prose table{width:-moz-max-content;width:max-content;max-width:none;border-collapse:collapse;font-size:.75rem;margin:.5rem 0}.draft-ai-chat-prose td,.draft-ai-chat-prose th{border:1px solid #d1d5db;padding:.25rem .5rem;white-space:nowrap;vertical-align:top}@keyframes ai-edit-target-pulse{0%,to{box-shadow:0 0 0 2px rgba(139,92,246,.3)}50%{box-shadow:0 0 0 3px rgba(139,92,246,.5)}}@keyframes pulse-highlight{0%{background-color:#fbbf24!important}50%{background-color:#f59e0b!important}to{background-color:#fbbf24!important}}.comment-indicator{border-bottom:2px dotted #3b82f6!important;cursor:pointer;transition:background-color .15s ease-in-out,border-bottom-color .2s ease-in-out}.comment-indicator-active,.comment-indicator:hover{border-bottom-color:#1d4ed8!important;background-color:rgba(251,191,36,.32)}.comment-pending{background-color:rgba(251,191,36,.4);border-bottom:2px solid #f59e0b;border-radius:2px}.comment-indicator.new-comment{animation:comment-flash 1.5s ease-in-out}@keyframes comment-flash{0%{border-bottom-color:#3b82f6}25%{border-bottom-color:#fbbf24;border-bottom-width:3px}50%{border-bottom-color:#f59e0b;border-bottom-width:4px}75%{border-bottom-color:#fbbf24;border-bottom-width:3px}to{border-bottom-color:#3b82f6;border-bottom-width:2px}}.comment-thread-hovered{background-color:#f8fafc;transition:background-color .2s ease-in-out}.comment-item-flash{animation:sidebar-flash 1.5s ease-in-out}@keyframes sidebar-flash{0%{background-color:#dbeafe}25%{background-color:#fef3c7}50%{background-color:#fbbf24}75%{background-color:#fef3c7}to{background-color:#dbeafe}}.comment-thread-selected{background-color:#fef3c7!important;border-left-color:#f59e0b!important;box-shadow:0 0 0 1px #f59e0b}.tiptap-collab-write .image-animate{max-width:100%;height:auto;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.1);transition:transform .2s ease-in-out;cursor:pointer;margin:.5rem 0}.tiptap-collab-write .image-animate:hover{transform:scale(1.02);box-shadow:0 4px 12px rgba(0,0,0,.15)}.image-view{position:relative;display:inline-block;line-height:0;margin:1rem 0}.image-view.float-left{margin:1rem 1rem 1rem 0}.image-view.float-right{margin:1rem 0 1rem 1rem}.ProseMirror img,.image-view.float-none{margin:1rem 0}.ProseMirror .image-animate.float-left,.ProseMirror p img.float-left{float:left;margin:1rem 1rem 1rem 0}.ProseMirror .image-animate.float-right,.ProseMirror p img.float-right{float:right;margin:1rem 0 1rem 1rem}.ProseMirror .image-animate.float-none,.ProseMirror p img.float-none{float:none;margin:1rem auto;display:block}.ProseMirror .imported-image,.ProseMirror img[src^="data:"]{margin:1rem 0;display:block}.tiptap-collab-write .ProseMirror .image-animate.float-left{margin:.5rem 1rem .5rem 0!important}.tiptap-collab-write .ProseMirror .image-animate.float-right{margin:.5rem 0 .5rem 1rem!important}.tiptap-collab-write .ProseMirror .image-animate.float-none{margin:.5rem auto!important}.image-view .resize-handle{position:absolute;width:8px;height:8px;background:#3b82f6;border:1px solid #fff;border-radius:50%;box-shadow:0 1px 3px rgba(0,0,0,.3);opacity:0;transition:opacity .2s ease-in-out;z-index:10}.image-view.selected .resize-handle,.image-view:hover .resize-handle{opacity:1}.image-view .resize-handle.nw{top:-4px;left:-4px;cursor:nw-resize}.image-view .resize-handle.ne{top:-4px;right:-4px;cursor:ne-resize}.image-view .resize-handle.sw{bottom:-4px;left:-4px;cursor:sw-resize}.image-view .resize-handle.se{bottom:-4px;right:-4px;cursor:se-resize}.image-view.align-left{text-align:left;margin-right:auto}.image-view.align-center{text-align:center;margin:.5rem auto;display:block}.image-view.align-right{text-align:right;margin-left:auto}.image-view.size-small img{max-width:300px}.image-view.size-medium img{max-width:600px}.image-view.size-large img{max-width:900px}.image-view.resizing{-webkit-user-select:none;-moz-user-select:none;user-select:none}.image-view.resizing img{pointer-events:none;box-shadow:0 0 0 2px #3b82f6,0 4px 12px rgba(59,130,246,.3)}.ProseMirror .image-view.float-left,.ProseMirror div:has(img.float-left),.ProseMirror p img.float-left{float:left;margin:0 8px 8px 0;clear:left}.ProseMirror .image-view.float-right,.ProseMirror div:has(img.float-right),.ProseMirror p img.float-right{float:right;margin:0 0 8px 8px;clear:right}.ProseMirror .image-view.float-none,.ProseMirror div:has(img.float-none),.ProseMirror p img.float-none{float:none;margin:8px auto;display:block;clear:both}.ProseMirror p{overflow:visible}.ProseMirror .clear-float{clear:both}.ProseMirror .image-animate.float-left,.ProseMirror .image-animate.float-none,.ProseMirror .image-animate.float-right{margin:1rem!important}.ProseMirror .imported-image{max-width:100%;height:auto;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.1);transition:all .2s ease}.ProseMirror .imported-image:hover{box-shadow:0 4px 16px rgba(0,0,0,.15)}.ProseMirror img[src^="data:"]{image-rendering:auto;image-rendering:crisp-edges;image-rendering:-webkit-optimize-contrast;max-width:100%;height:auto}@media (max-width:768px){.ProseMirror .image-view.float-left,.ProseMirror .image-view.float-right,.ProseMirror div:has(img.float-left),.ProseMirror div:has(img.float-right),.ProseMirror p img.float-left,.ProseMirror p img.float-right{float:none;margin:8px auto;display:block}}.tiptap-collab-write .tiptap,.tiptap-collab-write .tiptap-collab-editor-mount{height:auto!important;min-height:12rem;overflow:visible}.tiptap-collab-write .ProseMirror{outline:none;position:relative;height:auto!important;min-height:12rem;overflow:visible!important;padding:1rem;background:#fff;color:#374151;line-height:1.6;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;word-wrap:break-word;white-space:pre-wrap;transition:border-color .2s}.ProseMirror p{margin:.75rem 0}.ProseMirror p:first-child{margin-top:0}.ProseMirror p:last-child{margin-bottom:0}.ProseMirror h1,.ProseMirror h2,.ProseMirror h3,.ProseMirror h4,.ProseMirror h5,.ProseMirror h6{margin:1.5rem 0 .5rem;font-weight:600;line-height:1.25}.ProseMirror h1{font-size:2rem}.ProseMirror h2{font-size:1.5rem}.ProseMirror h3{font-size:1.25rem}.ProseMirror ol,.ProseMirror ul{padding-left:1.5rem;margin:.75rem 0}.ProseMirror li{margin:.25rem 0}.ProseMirror blockquote{border-left:4px solid #e2e8f0;padding-left:1rem;margin:1rem 0;color:#6b7280}.ProseMirror hr{border:none;height:2px;background:#e2e8f0;margin:2rem 0}.ProseMirror code{background:#f3f4f6;color:#374151;padding:.25rem .5rem;border-radius:.25rem;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.9em}.ProseMirror pre{background:#1f2937;color:#f9fafb;padding:1rem;border-radius:.5rem;overflow-x:auto;margin:1rem 0}.ProseMirror pre code{background:none;color:inherit;padding:0;border-radius:0}.ProseMirror a{color:#3b82f6;text-decoration:underline}.ProseMirror a:hover{text-decoration:none}.ProseMirror img{max-width:100%;height:auto;border-radius:.25rem;margin:.5rem 0}.ProseMirror table{--table-border-color:#e5e7eb;--table-border-style:solid;--table-cell-bg:#fff;--table-cell-bg-alt:#f9fafb;--table-cell-bg-hover:#f3f4f6;border-collapse:collapse;margin:1rem 0;width:100%;table-layout:fixed;border-radius:0;overflow:visible;box-shadow:none;position:relative}.ProseMirror td,.ProseMirror th{border:1px var(--table-border-style) var(--table-border-color);padding:12px 16px;vertical-align:top;min-width:50px;word-wrap:break-word;font-size:14px;line-height:1.5;position:relative;box-sizing:border-box}.ProseMirror th{background:#6b7280;color:#fff;font-weight:600;text-align:left;text-shadow:none;border-bottom:1px var(--table-border-style) var(--table-border-color)}.ProseMirror td{background-color:var(--table-cell-bg);color:#111827;transition:background-color .2s ease}.ProseMirror tr:nth-child(2n) td{background-color:var(--table-cell-bg-alt)}.ProseMirror tr:hover td{background-color:var(--table-cell-bg-hover)}.ProseMirror table .column-resize-handle{position:absolute;right:-2px;top:0;bottom:-2px;width:4px;background-color:#6366f1;pointer-events:all;opacity:0;transition:opacity .2s ease;cursor:col-resize;z-index:20;transform:none;height:auto}.ProseMirror table:hover .column-resize-handle{opacity:1}.ProseMirror.resize-cursor,.ProseMirror.resize-cursor *{cursor:col-resize!important}.ProseMirror table .selectedCell:after{z-index:2;position:absolute;content:"";left:0;right:0;top:0;bottom:0;background:rgba(99,102,241,.2);pointer-events:none;border-radius:4px}.ProseMirror table td.selectedCell,.ProseMirror table th.selectedCell{background:rgba(99,102,241,.15);border:2px solid #6366f1;box-shadow:0 0 0 1px #6366f1}.ProseMirror .tableWrapper{overflow-x:auto;margin:1rem 0;border-radius:0;box-shadow:none;border:none;background:transparent}.ProseMirror table{border:none!important}.ProseMirror table[data-table-border-style=none]{--table-border-style:none;border:none!important;box-shadow:none!important}.ProseMirror table[data-table-border-style=solid]{--table-border-style:solid}.ProseMirror table[data-table-border-style=none] td,.ProseMirror table[data-table-border-style=none] th,.ProseMirror td[data-cell-border-style=none],.ProseMirror th[data-cell-border-style=none],.tiptap-collab-write .ProseMirror tbody,.tiptap-collab-write .ProseMirror tfoot,.tiptap-collab-write .ProseMirror thead,.tiptap-collab-write .ProseMirror tr{border:none!important}.tiptap-collab-write .ProseMirror tbody tr,.tiptap-collab-write .ProseMirror thead{border-bottom-width:0!important}.tiptap-collab-write .ProseMirror table:has(td[data-cell-border-style=none]),.tiptap-collab-write .ProseMirror table:has(th[data-cell-border-style=none]){border:none!important;box-shadow:none!important}.ProseMirror table p{margin:0;color:inherit}@media (max-width:768px){.ProseMirror table{font-size:12px}.ProseMirror td,.ProseMirror th{padding:8px 10px;min-width:40px}.ProseMirror table .column-resize-handle{width:6px}}.ProseMirror p.is-empty:first-child:before{content:attr(data-placeholder);float:left;color:#9ca3af;pointer-events:none;height:0}.ProseMirror:not(.prosemirror-readonly-in-chat) ::selection{background:#dbeafe}.ProseMirror:not(.prosemirror-readonly-in-chat) ::-moz-selection{background:#dbeafe}.collaboration-cursor{position:absolute;pointer-events:none;z-index:10;transition:all .15s ease-out}.collaboration-cursor__label{position:absolute;top:-22px;left:0;transform:translateX(-50%);white-space:nowrap;font-size:11px;font-weight:600;padding:2px 6px;border-radius:3px;color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2)}.collaboration-selection{position:absolute;pointer-events:none;z-index:1;border-radius:2px;opacity:.3}.ProseMirror>:empty:before{content:"\200B";display:inline;color:transparent}.ProseMirror br{display:block;height:1em;content:""}.ProseMirror br:after{content:"\A";white-space:pre}.ProseMirror:after,.ProseMirror:before{content:"";position:absolute;width:1px;height:1px;pointer-events:none}.ProseMirror:before{top:0;left:0}.ProseMirror:after{bottom:0;right:0}.ProseMirror p:empty{min-height:1.5em;position:relative}.ProseMirror p:empty:before{content:"\200B";position:absolute;left:0;top:0;opacity:0}.ProseMirror :not([data-line-height]):not([style*=line-height]){line-height:1.6}.ProseMirror p[data-line-height]{line-height:var(--line-height-value)}.ProseMirror p[data-line-height="1"]{line-height:1}.ProseMirror p[data-line-height="1.15"]{line-height:1.15}.ProseMirror p[data-line-height="1.5"]{line-height:1.5}.ProseMirror p[data-line-height="2"]{line-height:2}.ProseMirror p[data-line-height="2.5"]{line-height:2.5}.ProseMirror p[data-line-height="3"]{line-height:3}.ProseMirror>*+*{margin-top:.75em}.ProseMirror>:first-child{margin-top:0}.ProseMirror>:last-child{margin-bottom:0}.collaboration-overlay{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none;z-index:5}.cursor-debug-info{position:absolute;background:rgba(0,0,0,.8);color:#fff;font-size:9px;padding:2px 4px;border-radius:2px;white-space:nowrap;z-index:12;pointer-events:none}.ProseMirror span:empty:after{content:"\200B";display:inline}.collaboration-cursor:hover{opacity:1!important;transform:scaleX(1.5)!important;animation:none!important}.editor-container{overflow:visible;position:relative}.collaboration-cursor,.collaboration-cursor__label{overflow:visible}.collaboration-cursor{will-change:transform,opacity;transform:translateZ(0)}.ProseMirror[dir=rtl] .collaboration-cursor{transform:translateX(2px) translateZ(0)}.ProseMirror[dir=ltr] .collaboration-cursor{transform:translateX(-1px) translateZ(0)}.comment-thread{position:absolute;z-index:20;background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;box-shadow:0 4px 6px -1px rgba(0,0,0,.1);max-width:300px;padding:.75rem}.comment-marker{background:#fef3c7;padding:.125rem .25rem;border-radius:.25rem;cursor:pointer}.comment-marker:hover{background:#fde68a}.comment-marker.active{background:#f59e0b;color:#fff}.editor-toolbar{display:flex;align-items:center;gap:.5rem;padding:.75rem;border-bottom:1px solid #e2e8f0;flex-wrap:wrap}.toolbar-button{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:1px solid #e2e8f0;border-radius:.25rem;background:#fff;color:#374151;cursor:pointer;transition:all .15s ease}.toolbar-button:hover{background:#f3f4f6;border-color:#d1d5db}.toolbar-button.active{background:#3b82f6;border-color:#3b82f6;color:#fff}.toolbar-button:disabled{opacity:.5;cursor:not-allowed}.toolbar-separator{width:1px;height:1.5rem;background:#e2e8f0;margin:0 .25rem}.format-menu{position:relative}.format-dropdown{position:absolute;top:100%;left:0;z-index:50;background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;box-shadow:0 4px 6px -1px rgba(0,0,0,.1);min-width:8rem;padding:.25rem;margin-top:.25rem}.format-dropdown-item{display:flex;align-items:center;padding:.5rem .75rem;border-radius:.25rem;cursor:pointer;transition:background .15s ease}.format-dropdown-item:hover{background:#f3f4f6}.status-indicator{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:#f9fafb;border-radius:.25rem;font-size:.875rem;color:#6b7280}.status-indicator.saving{color:#f59e0b}.status-indicator.saved{color:#10b981}.status-indicator.error{color:#ef4444}@media (max-width:768px){.ProseMirror{padding:.75rem;font-size:.9rem}.editor-toolbar{padding:.5rem;gap:.25rem}.toolbar-button{width:1.75rem;height:1.75rem}.collaboration-cursor__label{font-size:10px;padding:1px 4px}.comment-thread{max-width:250px;padding:.5rem}}.selection-count-display{animation:slideInCount .3s ease-out}@keyframes slideInCount{0%{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}.selection-count-tooltip{animation:fadeInTooltip .2s ease-out;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}@keyframes fadeInTooltip{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.selection-count-tooltip .bg-gray-800{border:1px solid hsla(0,0%,100%,.1)}.version-history-preview{outline:none;color:#111827;font-size:11pt;line-height:1.6;font-family:Arial,Helvetica,sans-serif}.version-history-preview p{margin:.5em 0}.version-history-preview h1{font-size:1.75em;font-weight:700;margin:1em 0 .5em}.version-history-preview h2{font-size:1.4em;font-weight:700;margin:1em 0 .45em}.version-history-preview h3{font-size:1.2em;font-weight:600;margin:.9em 0 .4em}.version-history-preview ol,.version-history-preview ul{margin:.5em 0;padding-left:1.5em}.version-history-preview li{margin:.25em 0}.version-history-preview table{border-collapse:collapse;width:100%;margin:1em 0}.version-history-preview td,.version-history-preview th{border:1px solid #d1d5db;padding:.4em .6em;vertical-align:top}.version-history-preview th{background:#f3f4f6;font-weight:600}.version-history-preview img{max-width:100%;height:auto}.version-history-preview blockquote{margin:1em 0;padding-left:1em;border-left:3px solid #9ca3af;color:#4b5563}.version-history-preview.version-history-diff .vh-ins,.version-history-preview.version-history-diff ins.vh-ins{display:inline;background:#dcfce7;color:#14532d;text-decoration:underline;text-decoration-color:#16a34a;text-decoration-thickness:2px;text-underline-offset:2px;border-radius:2px;padding:0 1px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.version-history-preview.version-history-diff .vh-del,.version-history-preview.version-history-diff del.vh-del{display:inline;background:#fee2e2;color:#7f1d1d;text-decoration:line-through;text-decoration-color:#dc2626;text-decoration-thickness:1.5px;border-radius:2px;padding:0 1px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.version-history-preview.version-history-diff .vh-block-ins{box-shadow:inset 3px 0 0 #22c55e;padding-left:.6em;margin:.25em 0}.version-history-preview.version-history-diff .vh-block-del{box-shadow:inset 3px 0 0 #ef4444;padding-left:.6em;margin:.25em 0;opacity:.92}.react-resizable{position:relative}.react-resizable-handle{position:absolute;width:20px;height:20px;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+");background-position:100% 100%;padding:0 3px 3px 0}.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-resizable-handle-e,.react-resizable-handle-w{top:50%;margin-top:-10px;cursor:ew-resize}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}@keyframes grantai-sheet-link-popover-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes grantai-sheet-link-popover-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(4px)}}.grantai-sheet-link-popover{position:absolute;z-index:1020;display:flex;align-items:center;gap:8px;max-width:min(360px,calc(100% - 16px));padding:6px 8px 6px 12px;border:1px solid #dadce0;border-radius:8px;background:#fff;box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15);animation:grantai-sheet-link-popover-in .16s cubic-bezier(.2,0,0,1) both;box-sizing:border-box;pointer-events:auto}.grantai-sheet-link-popover.is-hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.24),0 1px 3px 1px rgba(60,64,67,.12)}.grantai-sheet-link-popover.is-leaving{animation:grantai-sheet-link-popover-out .14s cubic-bezier(.4,0,1,1) both;pointer-events:none}.grantai-sheet-link-popover-label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:none;background:transparent;padding:0;margin:0;color:#1a73e8;font-size:13px;font-weight:500;text-align:left;cursor:pointer}.grantai-sheet-link-popover-label:hover{text-decoration:underline}.grantai-sheet-link-popover-actions{display:flex;flex-shrink:0;align-items:center;gap:4px}.grantai-sheet-link-popover-action{border:none;border-radius:4px;background:transparent;padding:4px 8px;font-size:12px;font-weight:500;color:#3c4043;cursor:pointer;white-space:nowrap}.grantai-sheet-link-popover-action:hover{background:#f1f3f4}.grantai-sheet-link-popover-action.is-primary{color:#1a73e8}.grantai-sheet-link-popover-action.is-danger{color:#c5221f}.grantai-sheet-link-popover-action.is-danger:hover{background:#fce8e6}