.tg-editor{box-sizing:border-box;cursor:text;width:100%;min-height:100px;color:var(--foreground);--tg-accent:var(--primary);--tg-placeholder:color-mix(in srgb, var(--foreground) 32%, transparent);--tg-link:var(--primary);--tg-highlight-bg:color-mix(in srgb, var(--primary) 28%, transparent);--tg-highlight-fg:var(--foreground);--tg-inline-code-bg:color-mix(in srgb, var(--foreground) 8%, transparent);--tg-inline-code-fg:color-mix(in srgb, var(--foreground) 85%, transparent);--tg-code-block-bg:color-mix(in srgb, var(--foreground) 5%, transparent);--tg-code-block-border:var(--border);--tg-block-ctrl:var(--icon-subtle);--tg-block-ctrl-hover:var(--primary);--tg-table-border:color-mix(in srgb, var(--foreground) 22%, transparent);--tg-table-header-bg:color-mix(in srgb, var(--foreground) 4%, transparent);--tg-task-checkbox:var(--primary);--tg-task-checkbox-icon:var(--primary-foreground,#fff);--tg-hr:var(--border);line-height:1.6;position:relative}.tg-editor-content{cursor:text;flex:1;min-height:200px;position:relative;container:tg-editor/inline-size}.tg-editor-content .tg-prosemirror{white-space:pre-wrap;word-wrap:break-word;max-width:100%;min-height:200px;caret-color:var(--tg-accent);cursor:text;outline:none;padding:0 0 30vh 48px}.tg-editor-content.no-controls .tg-prosemirror{padding-left:0}.tg-editor-content .tg-prosemirror>*+*{margin-top:2px}.tg-editor-content .tg-prosemirror h1,.tg-editor-content .tg-prosemirror.tg-title-start p.is-editor-empty:first-child{font:var(--fw-semibold) 2.25em / 1.25 var(--font-sans);letter-spacing:var(--tracking-tight);margin:1.5em 0 .3em}.tg-editor-content .tg-prosemirror h1:first-child,.tg-editor-content .tg-prosemirror.tg-title-start p.is-editor-empty:first-child{margin-top:0}.tg-editor-content .tg-prosemirror h2{font:var(--fw-semibold) 1.75em / 1.3 var(--font-sans);letter-spacing:var(--tracking-tight);margin:1.3em 0 .25em}.tg-editor-content .tg-prosemirror h3{font:var(--fw-medium) 1.375em / 1.4 var(--font-sans);margin:1.1em 0 .2em}.tg-editor-content .tg-prosemirror p{min-height:1.5em;margin:0}.tg-editor-content .tg-prosemirror .is-editor-empty:first-child:before,.tg-editor-content .tg-prosemirror p.is-empty:before,.tg-editor-content .tg-prosemirror h1.is-empty:before,.tg-editor-content .tg-prosemirror h2.is-empty:before,.tg-editor-content .tg-prosemirror h3.is-empty:before{color:var(--tg-placeholder);content:attr(data-placeholder);float:left;pointer-events:none;height:0}.tg-editor-content .tg-prosemirror .tableWrapper .is-empty:before,.tg-editor-content .tg-prosemirror .tg-task-list .is-empty:before,.tg-editor-content .tg-prosemirror .tg-blockquote .is-empty:before{content:none!important}.tg-outline-anchor{z-index:10;height:0;position:sticky;top:1.5rem}.tg-outline{pointer-events:auto;background:0 0;border:1px solid #0000;border-radius:8px;padding:.6rem .7rem;transition:background .2s,border-color .2s,box-shadow .2s;position:absolute;top:0;right:-3.5rem;box-shadow:0 0 #0000}.tg-outline-list{scrollbar-width:none;flex-direction:column;gap:.4rem;max-height:65vh;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.tg-outline-list::-webkit-scrollbar{display:none}.tg-outline-item{width:100%;color:var(--muted-foreground);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:0;padding:0;display:flex}.tg-outline-dash{background:var(--border-strong);border-radius:1px;flex-shrink:0;height:2px;transition:background .15s,width .15s,height .15s;display:block}.tg-outline-item[data-level="1"] .tg-outline-dash{width:17px}.tg-outline-item[data-level="2"] .tg-outline-dash{width:13px}.tg-outline-item[data-level="3"] .tg-outline-dash{width:9px}.tg-outline-item[data-level="4"] .tg-outline-dash{width:7px}.tg-outline-item.is-active .tg-outline-dash{background:var(--primary);height:3px}.tg-outline-item:hover .tg-outline-dash{background:var(--primary)}.tg-outline-label{opacity:0;text-overflow:ellipsis;white-space:nowrap;max-width:0;padding-left:0;font-size:.85rem;line-height:1.4;transition:max-width .24s cubic-bezier(.2,0,0,1),padding-left .24s cubic-bezier(.2,0,0,1),opacity .18s,transform .24s cubic-bezier(.2,0,0,1);overflow:hidden;transform:translate(10px)}.tg-outline:hover .tg-outline-label{opacity:1;max-width:16rem;padding-left:.65rem;transform:translate(0)}.tg-outline-item.is-active .tg-outline-label{color:var(--foreground);font-weight:var(--fw-medium)}.tg-outline:hover{background:var(--popover);border-color:var(--border);box-shadow:0 8px 24px #0000001f}.tg-outline-item:hover .tg-outline-label{color:var(--foreground)}@container tg-editor (min-width:1180px){.tg-outline{right:-5rem}}@container tg-editor (min-width:1600px){.tg-outline{right:-7rem}}@container tg-editor (min-width:1850px){.tg-outline{right:-9rem}}@media (prefers-reduced-motion:reduce){.tg-outline,.tg-outline-label{transition:none}.tg-outline-label{transform:none}}@media (max-width:1100px){.tg-outline-anchor{display:none}}@media print{.tg-outline-anchor{display:none}}.tg-toc{border:1px solid var(--border);background:var(--tg-code-block-bg);border-radius:6px;margin:.8em 0;padding:.9em 1.1em}.tg-toc-title{font-weight:var(--fw-semibold);letter-spacing:.06em;text-transform:uppercase;color:var(--muted-foreground);margin-bottom:.5em;font-size:.85em}.tg-toc-list{counter-reset:none;flex-direction:column;gap:.15em;margin:0;padding:0;list-style:none;display:flex}.tg-toc-item[data-level="2"]{padding-left:1.1em}.tg-toc-item[data-level="3"]{padding-left:2.2em}.tg-toc-item[data-level="4"]{padding-left:3.3em}.tg-toc-link{color:var(--foreground);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:none}.tg-toc-link:hover{color:var(--primary);text-decoration:underline}.tg-toc-empty{color:var(--muted-foreground);font-size:.9em}.tg-columns{align-items:start;gap:1.25em;margin:.6em 0;display:grid}.tg-columns[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}.tg-columns[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}.tg-columns[data-count="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}.tg-column{min-width:0}.tg-column>*+*{margin-top:2px}@media (max-width:640px){.tg-columns{grid-template-columns:minmax(0,1fr)!important}}.tg-linkcard{max-width:640px;margin:.6em 0}.tg-linkcard-inner{border:1px solid var(--border);background:var(--tg-code-block-bg);color:inherit;border-radius:8px;align-items:stretch;gap:0;text-decoration:none;transition:border-color .15s;display:flex;overflow:hidden}.tg-linkcard-inner:hover{border-color:var(--border-strong)}.tg-linkcard-thumb{object-fit:cover;background:var(--muted);aspect-ratio:16/9;flex-shrink:0;align-self:stretch;width:180px}.tg-linkcard-body{flex-direction:column;justify-content:center;gap:.25em;min-width:0;padding:.8em 1em;display:flex}.tg-linkcard-title{font-weight:var(--fw-medium);-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:1.35;display:-webkit-box;overflow:hidden}.tg-linkcard-desc{color:var(--muted-foreground);-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-size:.85em;line-height:1.4;display:-webkit-box;overflow:hidden}.tg-linkcard-site{color:var(--muted-foreground);font-size:.78em}@media (max-width:560px){.tg-linkcard-inner{flex-direction:column}.tg-linkcard-thumb{width:100%}}.tg-embed{flex-direction:column;gap:.35em;margin:.6em 0;display:flex}.tg-embed-frame{aspect-ratio:16/9;border:1px solid var(--border);background:var(--tg-code-block-bg);border-radius:6px;width:100%;max-width:720px;display:block}.tg-embed[data-provider=figma] .tg-embed-frame{aspect-ratio:4/3}.tg-embed-source{color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;max-width:720px;font-size:.8em;text-decoration:none;overflow:hidden}.tg-embed-source:hover{text-decoration:underline}.tg-embed-form{border:1px dashed var(--border-strong);background:var(--tg-code-block-bg);border-radius:6px;flex-direction:column;gap:.35em;max-width:720px;padding:.85em 1em;display:flex}.tg-embed-input{width:100%;color:var(--foreground);font:inherit;background:0 0;border:0;outline:none}.tg-embed-input::placeholder{color:var(--tg-placeholder)}.tg-embed-submit{background:var(--primary);color:var(--primary-foreground);font:inherit;font-size:.85em;font-weight:var(--fw-medium);cursor:pointer;border:0;border-radius:4px;align-self:flex-start;padding:.3em .75em}.tg-embed-submit:hover{opacity:.9}.tg-embed-hint:not(:empty){color:var(--destructive);font-size:.8em}.tg-media{margin:.6em 0}.tg-media-video{aspect-ratio:16/9;object-fit:contain;border:1px solid var(--border);background:#000;border-radius:6px;width:100%;max-width:640px;height:auto;display:block}.tg-media-audio{width:100%;max-width:480px;display:block}.tg-media-card{border:1px solid var(--border);background:var(--tg-code-block-bg);max-width:100%;color:var(--foreground);border-radius:6px;align-items:center;gap:.6em;padding:.6em .85em;text-decoration:none;transition:border-color .15s;display:inline-flex}.tg-media-card:hover{border-color:var(--border-strong)}.tg-media-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.tg-media-size{color:var(--muted-foreground);flex-shrink:0;font-size:.85em}.tg-media[data-loading=true]{position:relative}.tg-media[data-loading=true]:after{content:attr(data-loading-label);background:color-mix(in srgb, var(--background) 82%, transparent);color:var(--muted-foreground);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);pointer-events:none;border-radius:999px;padding:.2em .6em;font-size:.75rem;position:absolute;top:8px;left:8px}.tg-editor-content .tg-prosemirror .image-resizer[data-align=center]{margin-left:auto;margin-right:auto}.tg-editor-content .tg-prosemirror .image-resizer[data-align=right]{margin-left:auto;margin-right:0}:root,:root[data-theme=dark],.dark{--tg-c-gray:#a1a1a1;--tg-c-red:#ff6b6b;--tg-c-orange:#ffa24d;--tg-c-yellow:#f5d565;--tg-c-green:#4ade80;--tg-c-blue:#60a5fa;--tg-c-purple:#b794f6;--tg-c-pink:#f472b6;--tg-c-bg-alpha:26%}:root[data-theme=light],.light{--tg-c-gray:#6b6b6b;--tg-c-red:#d13b3b;--tg-c-orange:#c2660d;--tg-c-yellow:#9a7b0a;--tg-c-green:#197f4d;--tg-c-blue:#1f6feb;--tg-c-purple:#7c4dcc;--tg-c-pink:#c2367f;--tg-c-bg-alpha:20%}.tg-text-color[data-text-color=gray]{color:var(--tg-c-gray)}.tg-text-color[data-text-color=red]{color:var(--tg-c-red)}.tg-text-color[data-text-color=orange]{color:var(--tg-c-orange)}.tg-text-color[data-text-color=yellow]{color:var(--tg-c-yellow)}.tg-text-color[data-text-color=green]{color:var(--tg-c-green)}.tg-text-color[data-text-color=blue]{color:var(--tg-c-blue)}.tg-text-color[data-text-color=purple]{color:var(--tg-c-purple)}.tg-text-color[data-text-color=pink]{color:var(--tg-c-pink)}.tg-bg-color{border-radius:3px;padding:.05em .15em}.tg-bg-color[data-bg-color=gray]{background:color-mix(in srgb, var(--tg-c-gray) var(--tg-c-bg-alpha), transparent)}.tg-bg-color[data-bg-color=red]{background:color-mix(in srgb, var(--tg-c-red) var(--tg-c-bg-alpha), transparent)}.tg-bg-color[data-bg-color=orange]{background:color-mix(in srgb, var(--tg-c-orange) var(--tg-c-bg-alpha), transparent)}.tg-bg-color[data-bg-color=yellow]{background:color-mix(in srgb, var(--tg-c-yellow) var(--tg-c-bg-alpha), transparent)}.tg-bg-color[data-bg-color=green]{background:color-mix(in srgb, var(--tg-c-green) var(--tg-c-bg-alpha), transparent)}.tg-bg-color[data-bg-color=blue]{background:color-mix(in srgb, var(--tg-c-blue) var(--tg-c-bg-alpha), transparent)}.tg-bg-color[data-bg-color=purple]{background:color-mix(in srgb, var(--tg-c-purple) var(--tg-c-bg-alpha), transparent)}.tg-bg-color[data-bg-color=pink]{background:color-mix(in srgb, var(--tg-c-pink) var(--tg-c-bg-alpha), transparent)}.tg-swatch[data-color=gray]{--tg-swatch:var(--tg-c-gray)}.tg-swatch[data-color=red]{--tg-swatch:var(--tg-c-red)}.tg-swatch[data-color=orange]{--tg-swatch:var(--tg-c-orange)}.tg-swatch[data-color=yellow]{--tg-swatch:var(--tg-c-yellow)}.tg-swatch[data-color=green]{--tg-swatch:var(--tg-c-green)}.tg-swatch[data-color=blue]{--tg-swatch:var(--tg-c-blue)}.tg-swatch[data-color=purple]{--tg-swatch:var(--tg-c-purple)}.tg-swatch[data-color=pink]{--tg-swatch:var(--tg-c-pink)}.tg-editor-content .tg-prosemirror .tg-callout,.tg-callout{border:1px solid var(--tg-callout-border);background:var(--tg-callout-bg);border-radius:6px;flex-direction:column;gap:.35em;margin:.6em 0;padding:.85em 1em .85em 2.9em;display:flex;position:relative}.tg-editor-content .tg-prosemirror .tg-callout:before,.tg-callout:before{content:"";background-color:var(--tg-callout-fg);width:1.15em;height:1.15em;-webkit-mask:var(--tg-callout-icon) center / contain no-repeat;-webkit-mask:var(--tg-callout-icon) center / contain no-repeat;mask:var(--tg-callout-icon) center / contain no-repeat;position:absolute;top:1.05em;left:1em}.tg-callout>*{margin:0}.tg-callout,.tg-callout[data-tone=info]{--tg-callout-fg:var(--info);--tg-callout-bg:var(--info-soft);--tg-callout-border:color-mix(in srgb, var(--info) 30%, transparent);--tg-callout-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E")}.tg-callout[data-tone=warn]{--tg-callout-fg:var(--warning);--tg-callout-bg:var(--warning-soft);--tg-callout-border:color-mix(in srgb, var(--warning) 32%, transparent);--tg-callout-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E")}.tg-callout[data-tone=success]{--tg-callout-fg:var(--success);--tg-callout-bg:var(--success-soft);--tg-callout-border:color-mix(in srgb, var(--success) 30%, transparent);--tg-callout-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E")}.tg-callout[data-tone=note]{--tg-callout-fg:var(--muted-foreground);--tg-callout-bg:color-mix(in srgb, var(--foreground) 5%, transparent);--tg-callout-border:var(--border);--tg-callout-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E")}.tg-tone-dot[data-tone=info]{background:var(--info)}.tg-tone-dot[data-tone=warn]{background:var(--warning)}.tg-tone-dot[data-tone=success]{background:var(--success)}.tg-tone-dot[data-tone=note]{background:var(--muted-foreground)}.tg-editor-content .tg-prosemirror .tg-toggle{grid-template-columns:1.4em 1fr;align-items:start;gap:0 .15em;margin:.35em 0;display:grid}.tg-toggle-arrow{width:1.4em;height:1.6em;color:var(--icon-subtle);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;transition:transform .15s,color .15s;display:flex}.tg-toggle-arrow:before{content:"";width:.85em;height:.85em;-webkit-mask:var(--tg-toggle-icon) center / contain no-repeat;-webkit-mask:var(--tg-toggle-icon) center / contain no-repeat;mask:var(--tg-toggle-icon) center / contain no-repeat;--tg-toggle-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");background-color:currentColor}.tg-toggle-arrow:hover{color:var(--foreground)}.tg-toggle[data-open=true]>.tg-toggle-arrow{transform:rotate(90deg)}.tg-toggle-body{min-width:0}.tg-toggle-summary{font-weight:var(--fw-medium);min-height:1.6em}.tg-toggle-content{padding-left:.1em}.tg-toggle[data-open=false] .tg-toggle-content{display:none}@media print{.tg-toggle[data-open=false] .tg-toggle-content{display:block}}.tg-mention{background:color-mix(in srgb, var(--primary) 12%, transparent);color:var(--primary);font-weight:var(--fw-medium);white-space:nowrap;cursor:pointer;border-radius:3px;padding:.05em .3em;display:inline}.tg-mention[data-mention-kind=person]{background:color-mix(in srgb, var(--info) 14%, transparent);color:var(--info)}.tg-mention[data-mention-kind=task]{background:color-mix(in srgb, var(--warning) 16%, transparent);color:var(--warning)}.tg-mention[data-mention-kind=schedule]{background:color-mix(in srgb, var(--success) 14%, transparent);color:var(--success)}@media print{.tg-mention{font-weight:var(--fw-medium);background:0 0;padding:0}}.tg-comment{background:color-mix(in srgb, var(--warning) 22%, transparent);border-bottom:2px solid color-mix(in srgb, var(--warning) 60%, transparent);cursor:pointer;border-radius:2px 2px 0 0}.tg-comment[data-comment-resolved=true]{border-bottom:1px dashed color-mix(in srgb, var(--foreground) 25%, transparent);background:0 0}.tg-comment-flash{animation:1.2s ease-out tg-comment-flash}@keyframes tg-comment-flash{0%,50%{background:color-mix(in srgb, var(--warning) 45%, transparent)}to{background:color-mix(in srgb, var(--warning) 22%, transparent)}}.tg-comment-quote{border-left:2px solid var(--border-strong);padding-left:.5em}@media print{.tg-comment,.tg-comment[data-comment-resolved=true]{background:0 0;border-bottom:0}.tg-comment-panel{display:none}}.tg-editor-content .tg-prosemirror .tg-block-selected{background:color-mix(in srgb, var(--primary) 14%, transparent);box-shadow:0 0 0 2px color-mix(in srgb, var(--primary) 14%, transparent);border-radius:3px}.tg-editor-content .tg-prosemirror .tg-block-selected ::selection,.tg-editor-content .tg-prosemirror .tg-block-selected::selection{background:0 0}.tg-block-flash{border-radius:4px;animation:1.6s ease-out tg-block-flash}@keyframes tg-block-flash{0%,40%{background:color-mix(in srgb, var(--primary) 18%, transparent);box-shadow:0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent)}to{background:0 0;box-shadow:0 0 0 4px #0000}}@media (prefers-reduced-motion:reduce){.tg-block-flash{background:color-mix(in srgb, var(--primary) 18%, transparent);animation:none}}.tg-editor-content .tg-prosemirror .tg-link{color:var(--tg-link);text-underline-offset:2px;cursor:pointer;text-decoration:underline;transition:opacity .15s}.tg-editor-content .tg-prosemirror .tg-link:hover{opacity:.8}.tg-editor-content .tg-prosemirror code{background:var(--tg-inline-code-bg);color:var(--tg-inline-code-fg);font-size:.875em;font-family:var(--font-mono);border-radius:4px;padding:1.5px 4px}.tg-editor-content .tg-prosemirror .tg-code-block{background:var(--tg-code-block-bg);border:1px solid var(--tg-code-block-border);font-family:var(--font-mono);border-radius:6px;margin:8px 0;padding:16px;font-size:.875em;line-height:1.6;overflow-x:auto}.tg-editor-content .tg-prosemirror .tg-code-block code{color:inherit;background:0 0;border-radius:0;padding:0;font-size:1em}.tg-editor-content .tg-prosemirror .tg-blockquote{border:none;min-height:1.5em;margin:8px 0;padding:6px 0 6px 16px;position:relative}.tg-editor-content .tg-prosemirror .tg-blockquote:before{content:"";background:var(--foreground);opacity:.5;border-radius:4px;width:4px;position:absolute;top:0;bottom:0;left:0}.tg-editor-content .tg-prosemirror .tg-blockquote:not(:empty):before{opacity:1}.tg-editor-content .tg-prosemirror .tg-bullet-list{padding-left:24px;list-style-type:disc}.tg-editor-content .tg-prosemirror .tg-bullet-list li{margin:2px 0}.tg-editor-content .tg-prosemirror .tg-bullet-list li::marker{color:var(--foreground);opacity:.5}.tg-editor-content .tg-prosemirror .tg-ordered-list{padding-left:24px;list-style-type:decimal}.tg-editor-content .tg-prosemirror .tg-ordered-list li{margin:2px 0}.tg-editor-content .tg-prosemirror .tg-ordered-list li::marker{color:var(--foreground);opacity:.5;font-variant-numeric:tabular-nums}.tg-editor-content .tg-prosemirror .tg-task-list{padding-left:0;list-style:none}.tg-editor-content .tg-prosemirror .tg-task-list li{align-items:flex-start;gap:10px;margin:4px 0;display:flex}.tg-editor-content .tg-prosemirror .tg-task-list li label{align-items:center;margin-top:1px;display:flex}.tg-editor-content .tg-prosemirror .tg-task-list li input[type=checkbox]{appearance:none;border:2px solid var(--border-strong);cursor:pointer;background:0 0;border-radius:5px;flex-shrink:0;width:21px;height:21px;transition:all .15s;position:relative}.tg-editor-content .tg-prosemirror .tg-task-list li input[type=checkbox]:hover{border-color:var(--tg-task-checkbox)}.tg-editor-content .tg-prosemirror .tg-task-list li input[type=checkbox]:checked{background:var(--tg-task-checkbox);border-color:var(--tg-task-checkbox)}.tg-editor-content .tg-prosemirror .tg-task-list li input[type=checkbox]:checked:after{content:"";border:solid var(--tg-task-checkbox-icon);border-width:0 2.5px 2.5px 0;width:5px;height:10px;position:absolute;top:2px;left:6px;transform:rotate(45deg)}.tg-editor-content .tg-prosemirror .tg-task-list li[data-checked=true]>div{opacity:.5;text-decoration:line-through}.tg-editor-content .tg-prosemirror .tg-task-list li>div{flex:1;min-height:1.6em;padding-top:1px;position:relative}.tg-editor-content .tg-prosemirror .tg-task-list li>div>p{min-height:1.5em}.tg-editor-content .tg-prosemirror hr,.tg-editor-content .tg-prosemirror .tg-hr{background:var(--tg-hr);border:none;height:1px;margin:24px 0}.tg-editor-content .tg-prosemirror mark{background-color:var(--tg-highlight-bg);color:var(--tg-highlight-fg);-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:2px;padding:0 2px}.tg-editor-content .tg-prosemirror ::selection{background:color-mix(in srgb, var(--primary) 25%, transparent)}.tg-editor-content .tg-prosemirror .tableWrapper{margin:12px 0 20px;position:relative;overflow-x:visible}.tg-editor-content .tg-prosemirror table{border-collapse:collapse;table-layout:fixed;width:100%}.tg-editor-content .tg-prosemirror table th,.tg-editor-content .tg-prosemirror table td{border:1px solid var(--tg-table-border);vertical-align:top;min-width:60px;padding:6px 10px;position:relative}.tg-editor-content .tg-prosemirror table th{background:var(--tg-table-header-bg);font-weight:var(--fw-semibold);text-align:left}.tg-editor-content .tg-prosemirror table .selectedCell{background:color-mix(in srgb, var(--primary) 12%, transparent)}.tg-editor-content .tg-prosemirror table .column-resize-handle{background:var(--primary);pointer-events:none;opacity:0;width:4px;transition:opacity .1s;position:absolute;top:0;bottom:0;right:-2px}.tg-editor-content .tg-prosemirror table:hover .column-resize-handle{opacity:.5}.tg-editor-content .tg-prosemirror .tableWrapper .tg-table-add-row{border:1px dashed var(--tg-table-border);width:100%;height:20px;color:var(--foreground);opacity:0;cursor:pointer;background:0 0;border-top:none;border-radius:0 0 4px 4px;justify-content:center;align-items:center;padding:0;transition:opacity .15s,background .15s;display:flex}.tg-editor-content .tg-prosemirror .tableWrapper:hover .tg-table-add-row{opacity:.5}.tg-editor-content .tg-prosemirror .tableWrapper .tg-table-add-row:hover{background:color-mix(in srgb, var(--primary) 10%, transparent);opacity:1!important}.tg-editor-content .tg-prosemirror .tableWrapper .tg-table-add-col{border:1px dashed var(--tg-table-border);width:20px;color:var(--foreground);opacity:0;cursor:pointer;background:0 0;border-left:none;border-radius:0 4px 4px 0;justify-content:center;align-items:center;padding:0;transition:opacity .15s,background .15s;display:flex;position:absolute;top:0;bottom:20px;right:-24px}.tg-editor-content .tg-prosemirror .tableWrapper:hover .tg-table-add-col{opacity:.5}.tg-editor-content .tg-prosemirror .tableWrapper .tg-table-add-col:hover{background:color-mix(in srgb, var(--primary) 10%, transparent);opacity:1!important}.tg-editor-content .tg-prosemirror .ProseMirror-selectednode{outline:none}.tg-editor-content .tg-prosemirror .image-resizer{cursor:default;flex-direction:column;width:fit-content;max-width:100%;margin:4px 0;line-height:0;display:flex;position:relative}.tg-editor-content .tg-prosemirror .image-resizer-inner{border-radius:10px;flex-grow:1;position:relative;overflow:hidden}.tg-editor-content .tg-prosemirror .tg-image{object-fit:cover;pointer-events:auto;border-radius:2px;width:100%;height:auto;display:block}.tg-editor-content .tg-prosemirror .image-resizer.resizing .tg-image{will-change:width;transition:none!important}.tg-editor-content .tg-prosemirror .image-resizer.ProseMirror-selectednode .image-resizer-inner{box-shadow:0 0 0 2px var(--primary)}.tg-editor-content .tg-prosemirror .image-hover-overlay{pointer-events:none;opacity:0;background:#00000040;transition:opacity .12s ease-in-out;position:absolute;inset:0}.tg-editor-content .tg-prosemirror .image-resizer:hover .image-hover-overlay{opacity:1}.tg-editor-content .tg-prosemirror .image-resizer.resizing .image-hover-overlay{opacity:0}.tg-editor-content .tg-prosemirror .resize-handle{z-index:1;cursor:col-resize;pointer-events:auto;justify-content:center;align-items:center;width:15px;height:100%;display:flex;position:absolute;top:0}.tg-editor-content .tg-prosemirror[contenteditable=false] .resize-handle{display:none}.tg-editor-content .tg-prosemirror[contenteditable=false] .tg-embed-form{pointer-events:none;opacity:.6}.tg-editor-content .tg-prosemirror .resize-handle-left{left:0}.tg-editor-content .tg-prosemirror .resize-handle-right{right:0}.tg-editor-content .tg-prosemirror .resize-pill{opacity:0;pointer-events:none;background:#0f0f0f99;border:1px solid #ffffffe6;border-radius:20px;width:6px;height:48px;max-height:50%;transition:opacity .2s ease-in-out}.tg-editor-content .tg-prosemirror .image-resizer:hover .resize-pill,.tg-editor-content .tg-prosemirror .image-resizer.resizing .resize-pill{opacity:1}.tg-editor-content .tg-prosemirror .image-resizer.resizing{-webkit-user-select:none;user-select:none;cursor:col-resize}.tg-editor-content .tg-prosemirror .image-resizer.resizing *{cursor:col-resize!important}.tg-editor-content .tg-prosemirror .image-skeleton{background:linear-gradient(90deg, color-mix(in srgb, var(--foreground) 6%, transparent) 25%, color-mix(in srgb, var(--foreground) 12%, transparent) 50%, color-mix(in srgb, var(--foreground) 6%, transparent) 75%);background-size:200% 100%;border-radius:10px;animation:1.5s ease-in-out infinite tg-skeleton-shimmer}@keyframes tg-skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.tg-editor-content .tg-prosemirror .pdf-attachment{border:1px solid var(--border);background:color-mix(in srgb, var(--foreground) 4%, transparent);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:8px;align-items:center;gap:10px;margin:6px 0;padding:10px 14px;transition:background .15s,border-color .15s;display:inline-flex}.tg-editor-content .tg-prosemirror .pdf-attachment:hover{background:color-mix(in srgb, var(--primary) 8%, transparent);border-color:var(--primary)}.tg-editor-content .tg-prosemirror .pdf-attachment.ProseMirror-selectednode{border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb, var(--primary) 30%, transparent)}.tg-editor-content .tg-prosemirror .pdf-attachment-thumb{flex-shrink:0;justify-content:center;align-items:center;display:flex}.tg-editor-content .tg-prosemirror .pdf-attachment-thumb.has-preview{border:1px solid color-mix(in srgb, var(--foreground) 15%, transparent);border-radius:6px;width:48px;overflow:hidden}.tg-editor-content .tg-prosemirror .pdf-attachment-thumb canvas{width:100%;height:auto;display:block}.tg-editor-content .tg-prosemirror .pdf-attachment-icon{background:color-mix(in srgb, var(--primary) 18%, transparent);width:32px;height:32px;color:var(--primary);border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.tg-editor-content .tg-prosemirror .pdf-attachment-info{flex-direction:column;min-width:0;display:flex}.tg-editor-content .tg-prosemirror .pdf-attachment-name{font:var(--fw-medium) var(--text-sm) / 1.3 var(--font-sans);color:var(--foreground);white-space:nowrap;text-overflow:ellipsis;max-width:320px;overflow:hidden}.tg-editor-content .tg-prosemirror .pdf-attachment-size{font:var(--fw-regular) var(--text-xs) / 1.3 var(--font-sans);color:var(--muted-foreground)}.tg-editor-content .tg-prosemirror .ProseMirror-dropcursor{background-color:var(--primary)!important}.tg-editor-content .collaboration-carets__caret{word-break:normal;pointer-events:none;border-left:1px solid #0000;border-right:1px solid #0000;margin-left:-1px;margin-right:-1px;position:relative}.tg-editor-content .collaboration-carets__label{font:600 var(--text-xs) / 1 var(--font-sans);color:#fff;white-space:nowrap;-webkit-user-select:none;user-select:none;pointer-events:none;border-radius:4px 4px 4px 0;padding:.1rem .35rem;position:absolute;top:-1.5em;left:-1px}.tg-editor-content .collaboration-carets__selection{mix-blend-mode:multiply;pointer-events:none;border-radius:2px}
