.tiptap-video-upload{border:2px dashed var(--border);background:var(--muted);cursor:pointer;border-radius:.5rem;padding:1rem;transition:all .2s;position:relative}.tiptap-video-upload:hover{border-color:var(--primary);background:var(--muted)}.tiptap-video-upload-drag-area{width:100%}.tiptap-video-upload-drag-area.drag-active{border-color:var(--primary);background:var(--primary)/10}.tiptap-video-upload-previews{flex-direction:column;gap:.5rem;display:flex}.tiptap-video-upload-header{color:var(--foreground);justify-content:space-between;align-items:center;padding:.5rem;font-size:.875rem;display:flex}.tiptap-video-upload-preview{background:var(--background);border:1px solid var(--border);border-radius:.375rem;padding:.75rem;position:relative;overflow:hidden}.tiptap-video-upload-progress{background:var(--primary);height:2px;transition:width .3s;position:absolute;top:0;left:0}.tiptap-video-upload-preview-content{justify-content:space-between;align-items:center;display:flex}.tiptap-video-upload-file-info{flex:1;align-items:center;gap:.75rem;min-width:0;display:flex}.tiptap-video-upload-file-icon{width:2rem;height:2rem;color:var(--muted-foreground);flex-shrink:0}.tiptap-video-upload-details{flex-direction:column;flex:1;gap:.25rem;min-width:0;display:flex}.tiptap-video-upload-text{color:var(--foreground);text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;font-weight:500;overflow:hidden}.tiptap-video-upload-subtext{color:var(--muted-foreground);font-size:.75rem}.tiptap-video-upload-actions{align-items:center;gap:.5rem;display:flex}.tiptap-video-upload-progress-text{color:var(--muted-foreground);font-size:.75rem;font-weight:500}
.tiptap-embed-node{justify-content:center;align-items:center;width:100%;margin:1rem 0;display:flex;position:relative}.tiptap-embed-node.loading{min-height:400px}.tiptap-embed-node.error{min-height:200px}.tiptap-embed-node .tiptap-embed-container{background:var(--muted);border:1px solid var(--border);border-radius:.5rem;width:100%;height:100%;min-height:400px;position:relative;overflow:hidden}.tiptap-embed-node .tiptap-embed-select-handle{z-index:10;cursor:pointer;background:0 0;height:8px;position:absolute;top:0;left:0;right:0}.tiptap-embed-node .tiptap-embed-select-handle:hover{background:var(--tt-brand-color-500,#6450dc26)}.tiptap-embed-node .tiptap-embed-iframe{scrollbar-width:thin;scrollbar-color:hsl(var(--border))#0000;-webkit-overflow-scrolling:touch;border:none;border-radius:.5rem;width:100%;height:100%;transition:opacity .3s;overflow:auto}.tiptap-embed-node .tiptap-embed-iframe::-webkit-scrollbar{width:10px;height:10px}.tiptap-embed-node .tiptap-embed-iframe::-webkit-scrollbar-track{background:0 0;border-radius:5px}.tiptap-embed-node .tiptap-embed-iframe::-webkit-scrollbar-thumb{background-color:hsl(var(--border));background-clip:padding-box;border:2px solid #0000;border-radius:5px}.tiptap-embed-node .tiptap-embed-iframe::-webkit-scrollbar-thumb:hover{background-color:hsl(var(--muted-foreground)/.6)}.tiptap-embed-node .tiptap-embed-iframe::-webkit-scrollbar-corner{background:0 0}.tiptap-embed-node .tiptap-embed-loading{background:var(--muted);z-index:1;border-radius:.5rem;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.tiptap-embed-node .tiptap-embed-error{background:var(--muted);z-index:1;flex-direction:column;justify-content:center;align-items:center;gap:.5rem;padding:2rem;display:flex;position:absolute;inset:0}.tiptap-embed-node .tiptap-embed-link{background:var(--primary);color:var(--primary-foreground);border-radius:.25rem;align-items:center;gap:.25rem;padding:.5rem 1rem;font-size:.875rem;text-decoration:none;transition:opacity .2s;display:inline-flex}.tiptap-embed-node .tiptap-embed-link:hover{opacity:.9}.tiptap-embed-node .tiptap-embed-external-link{color:#fff;z-index:10;opacity:0;cursor:pointer;background:#000000b3;border:none;border-radius:.25rem;justify-content:center;align-items:center;padding:.5rem;text-decoration:none;transition:opacity .2s;display:flex;position:absolute;top:.5rem;right:.5rem}.tiptap-embed-node .tiptap-embed-external-link:hover{background:#000000e6}.tiptap-embed-node .tiptap-embed-fullscreen-button{color:#fff;z-index:10;opacity:0;cursor:pointer;background:#000000b3;border:none;border-radius:.25rem;justify-content:center;align-items:center;padding:.5rem;transition:background .2s,opacity .2s;display:flex;position:absolute;top:.5rem;right:3rem}.tiptap-embed-node .tiptap-embed-fullscreen-button:hover{background:#000000e6}.tiptap-embed-node .tiptap-embed-fullscreen-button:focus{outline:none;box-shadow:0 0 0 2px #ffffff80}.tiptap-embed-node:hover .tiptap-embed-external-link,.tiptap-embed-node:hover .tiptap-embed-fullscreen-button{opacity:1}:-webkit-any(.tiptap-embed-node .tiptap-embed-container:fullscreen,.tiptap-embed-node .tiptap-embed-container:-webkit-full-screen,.tiptap-embed-node .tiptap-embed-container:fullscreen,.tiptap-embed-node .tiptap-embed-container:fullscreen){background:var(--background);border-radius:0;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex}:-moz-any(.tiptap-embed-node .tiptap-embed-container:fullscreen,.tiptap-embed-node .tiptap-embed-container:fullscreen,.tiptap-embed-node .tiptap-embed-container:-moz-full-screen,.tiptap-embed-node .tiptap-embed-container:fullscreen){background:var(--background);border-radius:0;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex}:is(.tiptap-embed-node .tiptap-embed-container:fullscreen,.tiptap-embed-node .tiptap-embed-container:fullscreen,.tiptap-embed-node .tiptap-embed-container:fullscreen,.tiptap-embed-node .tiptap-embed-container:-ms-fullscreen){background:var(--background);border-radius:0;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex}:is(.tiptap-embed-node .tiptap-embed-container:fullscreen,.tiptap-embed-node .tiptap-embed-container:fullscreen,.tiptap-embed-node .tiptap-embed-container:fullscreen,.tiptap-embed-node .tiptap-embed-container:fullscreen){background:var(--background);border-radius:0;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex}:-webkit-any(.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-iframe,.tiptap-embed-node .tiptap-embed-container:-webkit-full-screen .tiptap-embed-iframe,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-iframe,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-iframe){width:100%;max-width:100%;height:100%;max-height:100%}:-moz-any(.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-iframe,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-iframe,.tiptap-embed-node .tiptap-embed-container:-moz-full-screen .tiptap-embed-iframe,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-iframe){width:100%;max-width:100%;height:100%;max-height:100%}:is(.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-iframe,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-iframe,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-iframe,.tiptap-embed-node .tiptap-embed-container:-ms-fullscreen .tiptap-embed-iframe){width:100%;max-width:100%;height:100%;max-height:100%}:is(.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-iframe,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-iframe,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-iframe,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-iframe){width:100%;max-width:100%;height:100%;max-height:100%}:-webkit-any(.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-fullscreen-button,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-external-link,.tiptap-embed-node .tiptap-embed-container:-webkit-full-screen .tiptap-embed-fullscreen-button,.tiptap-embed-node .tiptap-embed-container:-webkit-full-screen .tiptap-embed-external-link,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-fullscreen-button,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-external-link,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-fullscreen-button,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-external-link){opacity:1}:-moz-any(.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-fullscreen-button,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-external-link,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-fullscreen-button,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-external-link,.tiptap-embed-node .tiptap-embed-container:-moz-full-screen .tiptap-embed-fullscreen-button,.tiptap-embed-node .tiptap-embed-container:-moz-full-screen .tiptap-embed-external-link,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-fullscreen-button,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-external-link){opacity:1}:is(.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-fullscreen-button,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-external-link,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-fullscreen-button,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-external-link,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-fullscreen-button,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-external-link,.tiptap-embed-node .tiptap-embed-container:-ms-fullscreen .tiptap-embed-fullscreen-button,.tiptap-embed-node .tiptap-embed-container:-ms-fullscreen .tiptap-embed-external-link){opacity:1}:is(.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-fullscreen-button,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-external-link,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-fullscreen-button,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-external-link,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-fullscreen-button,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-external-link,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-fullscreen-button,.tiptap-embed-node .tiptap-embed-container:fullscreen .tiptap-embed-external-link){opacity:1}.tiptap-embed-node.tiptap-embed-figma .tiptap-embed-container{min-height:450px;box-shadow:none;background:0 0;border:none;border-radius:.375rem;position:relative;overflow:hidden}.tiptap-embed-node.tiptap-embed-figma .tiptap-embed-iframe{background:0 0;border:none;border-radius:.375rem;width:100%;height:100%;display:block}.tiptap-embed-node.tiptap-embed-figma .tiptap-embed-external-link,.tiptap-embed-node.tiptap-embed-figma .tiptap-embed-fullscreen-button{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;border:none}.tiptap-embed-node.tiptap-embed-figma .tiptap-embed-external-link:hover,.tiptap-embed-node.tiptap-embed-figma .tiptap-embed-fullscreen-button:hover{background:#000000b3;transform:none}.tiptap-embed-node.tiptap-embed-framer .tiptap-embed-container,.tiptap-embed-node.tiptap-embed-notion .tiptap-embed-container{min-height:600px}.tiptap-embed-node.tiptap-embed-canva .tiptap-embed-container{background:0 0;border:none;border-radius:.5rem;min-height:600px;position:relative;overflow:hidden}.tiptap-embed-node.tiptap-embed-canva .tiptap-embed-iframe{background:0 0;border:none;border-radius:.5rem;width:100%;height:100%;display:block}.tiptap-embed-node.tiptap-embed-canva .tiptap-embed-external-link,.tiptap-embed-node.tiptap-embed-canva .tiptap-embed-fullscreen-button{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;border:none}.tiptap-embed-node.tiptap-embed-canva .tiptap-embed-external-link:hover,.tiptap-embed-node.tiptap-embed-canva .tiptap-embed-fullscreen-button:hover{background:#000000b3}.tiptap.ProseMirror.ProseMirror-focused .ProseMirror-selectednode .tiptap-embed-node{outline:2px solid var(--primary);outline-offset:0!important}.tiptap .tiptap-embed-node.has-focus,.tiptap .tiptap-embed-node.has-focus *,.tiptap .tiptap-embed-node.ProseMirror-selectednode.has-focus,.tiptap .tiptap-embed-node.ProseMirror-selectednode.has-focus *,.tiptap [data-type=embed].has-focus,.tiptap div[data-type=embed].has-focus,.tiptap .has-focus .tiptap-embed-node,.tiptap .has-focus .tiptap-embed-node *,.tiptap .has-focus[class*=embed],.tiptap .has-focus[class*=embed] *,.tiptap .has-focus[class*=tiptap-embed],.tiptap .has-focus[class*=tiptap-embed] *{outline-offset:0!important}.tiptap .has-focus:has(.tiptap-embed-node){outline-offset:0!important}.tiptap .has-focus:has(.tiptap-embed-node) *{outline-offset:0!important}.tiptap .ProseMirror-selectednode.has-focus:has(.tiptap-embed-node){outline-offset:0!important}.tiptap .ProseMirror-selectednode:has(.tiptap-embed-node).has-focus{outline-offset:0!important}.tiptap [data-node-view-wrapper].has-focus:has(.tiptap-embed-node){outline-offset:0!important}.tiptap [data-node-view-wrapper].has-focus:has(.tiptap-embed-node) *{outline-offset:0!important}@media (max-width:768px){.tiptap-embed-node .tiptap-embed-container{border-radius:.25rem;min-height:300px}.tiptap-embed-node.tiptap-embed-figma .tiptap-embed-container{min-height:300px}.tiptap-embed-node.tiptap-embed-figma .tiptap-embed-external-link{padding:.375rem;top:.25rem;right:.25rem}}.tiptap[data-editable=false] .tiptap-embed-node:hover .tiptap-embed-external-link,.tiptap[data-editable=false] .tiptap-embed-node:hover .tiptap-embed-fullscreen-button,.tiptap[data-editable=false] .tiptap-embed-node .tiptap-embed-external-link:hover,.tiptap[data-editable=false] .tiptap-embed-node .tiptap-embed-fullscreen-button:hover{pointer-events:none;opacity:0!important}
