:root{--nph-z:9999}.nph-editor,.ProseMirror.nph-editor{min-height:240px;color:inherit;caret-color:currentColor;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;word-break:break-word;line-height:1.65}.nph-editor>:first-child,.ProseMirror.nph-editor>:first-child{margin-top:0}.nph-editor>:last-child,.ProseMirror.nph-editor>:last-child{margin-bottom:0}.nph-editor p,.ProseMirror.nph-editor p{margin:.75em 0}.nph-editor h1,.nph-editor h2,.nph-editor h3,.nph-editor h4,.nph-editor h5,.nph-editor h6,.ProseMirror.nph-editor h1,.ProseMirror.nph-editor h2,.ProseMirror.nph-editor h3,.ProseMirror.nph-editor h4,.ProseMirror.nph-editor h5,.ProseMirror.nph-editor h6{text-wrap:pretty;margin-top:2.5rem;margin-bottom:.75rem;font-weight:700;line-height:1.2}.nph-editor h1,.nph-editor h2,.ProseMirror.nph-editor h1,.ProseMirror.nph-editor h2{margin-top:3rem;margin-bottom:1rem}.nph-editor h1,.ProseMirror.nph-editor h1{font-size:1.5rem}.nph-editor h2,.ProseMirror.nph-editor h2{font-size:1.25rem}.nph-editor h3,.ProseMirror.nph-editor h3{font-size:1.125rem}.nph-editor h4,.nph-editor h5,.nph-editor h6,.ProseMirror.nph-editor h4,.ProseMirror.nph-editor h5,.ProseMirror.nph-editor h6{font-size:1rem}.nph-editor ul,.nph-editor ol,.ProseMirror.nph-editor ul,.ProseMirror.nph-editor ol{margin:1.25rem 1rem 1.25rem .4rem;padding-left:1.25rem}.nph-editor ul,.ProseMirror.nph-editor ul{list-style:outside}.nph-editor ul ul,.ProseMirror.nph-editor ul ul{list-style:circle}.nph-editor ul ul ul,.ProseMirror.nph-editor ul ul ul{list-style:square}.nph-editor ol,.ProseMirror.nph-editor ol{list-style:decimal}.nph-editor li p,.ProseMirror.nph-editor li p{margin-top:.25em;margin-bottom:.25em}.nph-editor blockquote,.ProseMirror.nph-editor blockquote{border-left:3px solid var(--border,#0000001f);color:var(--muted-foreground,#6b7280);margin:1.5rem 0;padding-left:1rem}.nph-editor code,.ProseMirror.nph-editor code{background-color:var(--muted,#7f7f7f1f);color:inherit;border-radius:.375rem;padding:.15em .35em;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.875em}.nph-editor pre,.ProseMirror.nph-editor pre{background:var(--muted,#f4f4f5);color:var(--foreground,#111827);border-radius:.5rem;margin:1.5rem 0;padding:.75rem 1rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow-x:auto}.nph-editor pre code,.ProseMirror.nph-editor pre code{color:inherit;background:0 0;padding:0;font-size:.85em}.nph-editor pre code.hljs,.ProseMirror.nph-editor pre code.hljs{background:0 0;padding:0;display:block}.nph-editor hr,.ProseMirror.nph-editor hr{border:none;border-top:1px solid var(--border,#0000001f);margin:2rem 0}.nph-editor a,.ProseMirror.nph-editor a{color:var(--primary,#2563eb);text-underline-offset:2px;text-decoration:underline}.nph-editor table,.ProseMirror.nph-editor table{table-layout:fixed;border-collapse:separate;border-spacing:0;border:1px solid var(--border,#0000001f);border-radius:.5rem;width:100%;margin:0;overflow:hidden}.nph-editor th,.nph-editor td,.ProseMirror.nph-editor th,.ProseMirror.nph-editor td{border-right:1px solid var(--border,#0000001f);border-bottom:1px solid var(--border,#0000001f);vertical-align:top;min-width:100px;padding:.5rem .75rem}.nph-editor th:last-child,.nph-editor td:last-child,.ProseMirror.nph-editor th:last-child,.ProseMirror.nph-editor td:last-child{border-right:none}.nph-editor tr:last-child th,.nph-editor tr:last-child td,.ProseMirror.nph-editor tr:last-child th,.ProseMirror.nph-editor tr:last-child td{border-bottom:none}.nph-editor th,.ProseMirror.nph-editor th{background:var(--muted,#f4f4f5);font-weight:600}.nph-editor .tableWrapper,.ProseMirror.nph-editor .tableWrapper{margin:1.25rem 0;overflow-x:auto}.nph-editor .selectedCell:after,.ProseMirror.nph-editor .selectedCell:after{content:"";pointer-events:none;z-index:1;background:#3b82f61a;position:absolute;inset:0}.nph-editor td.selectedCell,.nph-editor th.selectedCell,.ProseMirror.nph-editor td.selectedCell,.ProseMirror.nph-editor th.selectedCell{position:relative}.nph-editor .column-resize-handle,.ProseMirror.nph-editor .column-resize-handle{background-color:var(--primary,#3b82f6);pointer-events:none;z-index:2;width:4px;position:absolute;top:0;bottom:0;right:-2px}.nph-editor.resize-cursor,.ProseMirror.nph-editor.resize-cursor{cursor:col-resize}.nph-table-grip{background:var(--muted,#7f7f7f1f);color:var(--muted-foreground,#6b7280);cursor:pointer;opacity:0;z-index:50;pointer-events:none;border:none;border-radius:.375rem;justify-content:center;align-items:center;padding:0;transition:opacity .15s,background-color .15s;display:flex}.nph-table-grip.nph-table-grip--visible{opacity:.6;pointer-events:auto}.nph-table-grip.nph-table-grip--visible:hover{opacity:1;background:var(--accent,#7f7f7f33);color:var(--foreground,#111827)}.nph-table-grip--delete{color:var(--destructive,#ef4444);background:0 0;gap:4px;font-size:12px}.nph-table-grip--delete.nph-table-grip--visible{opacity:.4}.nph-table-grip--delete.nph-table-grip--visible:hover{opacity:1;color:var(--destructive,#ef4444);background:#ef444414}.nph-table-dropdown{background-color:var(--background,#fff);color:var(--foreground,#111827);border:1px solid var(--border,#00000014);box-shadow:var(--shadow,0 4px 16px #0000001f);z-index:100;border-radius:.7rem;min-width:180px;padding:.25rem;overflow:hidden}.nph-table-dropdown__item{width:100%;color:inherit;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:.375rem;align-items:center;gap:.5rem;padding:.375rem .625rem;font-size:.8125rem;display:flex}.nph-table-dropdown__item:hover{background-color:var(--muted,#7f7f7f1f)}.nph-table-dropdown__item--destructive{color:var(--destructive,#ef4444)}.nph-table-dropdown__item--destructive:hover{background-color:#ef444414}.nph-table-dropdown__separator{background:var(--border,#00000014);height:1px;margin:.25rem .375rem}.nph-table-grip--dragging{opacity:1!important;background:var(--primary,#2563eb)!important;color:#fff!important}.nph-table-drop-indicator{background:var(--primary,#2563eb);z-index:9999;pointer-events:none;border-radius:1px}@media (prefers-color-scheme:dark){.nph-table-dropdown{background-color:var(--background,#1f2937);border-color:var(--border,#ffffff1a);box-shadow:0 4px 16px #0000004d}.nph-table-grip{background:var(--muted,#ffffff1a);color:var(--muted-foreground,#9ca3af)}.nph-table-grip:hover{background:var(--accent,#ffffff2e);color:var(--foreground,#f3f4f6)}}.nph-editor ul[data-type=taskList],.ProseMirror.nph-editor ul[data-type=taskList]{padding-left:0;list-style:none}.nph-editor ul[data-type=taskList] li,.ProseMirror.nph-editor ul[data-type=taskList] li{align-items:flex-start;gap:.5rem;display:flex}.nph-editor ul[data-type=taskList] li>label,.ProseMirror.nph-editor ul[data-type=taskList] li>label{-webkit-user-select:none;user-select:none;flex:none;align-items:center;height:1.65em;margin:0;display:inline-flex}.nph-editor ul[data-type=taskList] li>div,.ProseMirror.nph-editor ul[data-type=taskList] li>div{flex:auto;min-width:0}.nph-editor ul[data-type=taskList] li>div>p,.ProseMirror.nph-editor ul[data-type=taskList] li>div>p{margin:0}.nph-editor ul[data-type=taskList] li input[type=checkbox],.ProseMirror.nph-editor ul[data-type=taskList] li input[type=checkbox]{cursor:pointer;margin:0}.nph-editor ul[data-type=taskList] li[data-checked=true]>div,.ProseMirror.nph-editor ul[data-type=taskList] li[data-checked=true]>div{color:var(--muted-foreground,#6b7280);text-decoration:line-through}.nph-editor li.nph-task-item,.ProseMirror.nph-editor li.nph-task-item{align-items:flex-start;gap:.5rem;display:flex}.nph-editor .nph-task-item__checkbox,.ProseMirror.nph-editor .nph-task-item__checkbox{-webkit-user-select:none;user-select:none;flex:none;align-items:center;height:1.65em;margin:0;display:inline-flex}.nph-editor .nph-task-item__content,.ProseMirror.nph-editor .nph-task-item__content{flex:auto;min-width:0}.nph-editor .nph-task-item__content>p,.ProseMirror.nph-editor .nph-task-item__content>p{margin:0}.nph-editor .nph-task-item__content--checked,.ProseMirror.nph-editor .nph-task-item__content--checked{color:var(--muted-foreground,#6b7280);text-decoration:line-through}.nph-editor .ProseMirror-gapcursor,.ProseMirror.nph-editor .ProseMirror-gapcursor{display:none}.nph-editor .ProseMirror-selectednode,.ProseMirror.nph-editor .ProseMirror-selectednode{outline:2px solid var(--ring,#3b82f680);outline-offset:2px;border-radius:12px}.nph-editor p.is-editor-empty:first-child:before,.ProseMirror.nph-editor p.is-editor-empty:first-child:before{color:var(--muted-foreground,#6b7280);content:attr(data-placeholder);float:left;pointer-events:none;height:0}.bubble-menu{background-color:var(--background,#fff);color:var(--foreground,#111827);border:1px solid var(--border,#00000014);box-shadow:var(--shadow,0 4px 16px #00000014);border-radius:.7rem;align-items:center;gap:.25rem;max-width:calc(100vw - 16px);padding:.25rem;font-size:.875rem;display:flex;position:relative;overflow:visible;z-index:var(--nph-z)!important}.nph-bubble-separator{background:var(--border,#0000001f);flex-shrink:0;width:1px;height:18px;margin:0 2px}[data-tippy-root],.tippy-box{z-index:var(--nph-z)!important}.nph-dropdown{position:relative}.nph-dropdown__panel{min-width:11rem;margin-top:.25rem;position:absolute;top:100%;left:0;z-index:calc(var(--nph-z) + 1)!important}.nph-command{background-color:var(--background,#fff);color:var(--foreground,#111827);border:1px solid var(--border,#00000014);box-shadow:var(--shadow,0 4px 16px #00000014);border-radius:.7rem;padding:.25rem;overflow:hidden}.nph-command__list{scrollbar-width:thin;scrollbar-color:#e5e7eb transparent;flex-direction:column;gap:.125rem;max-height:320px;margin:0;padding:.125rem;list-style:none;display:flex;overflow:auto}.nph-command__list::-webkit-scrollbar{background:0 0;width:6px;height:6px}.nph-command__list::-webkit-scrollbar-track{background:0 0}.nph-command__list::-webkit-scrollbar-thumb{background-color:#e5e7eb;border-radius:9999px}.nph-command__list:hover::-webkit-scrollbar-thumb{background-color:#d1d5db}@media (prefers-color-scheme:dark){.nph-command__list{scrollbar-color:#4b5563 transparent}.nph-command__list::-webkit-scrollbar-thumb{background-color:#4b5563}.nph-command__list:hover::-webkit-scrollbar-thumb{background-color:#6b7280}}.nph-command__group-header{text-transform:uppercase;letter-spacing:.05em;color:var(--muted-foreground,#6b7280);margin-top:.25rem;padding:.5rem .5rem .25rem;font-size:.6875rem;font-weight:600}.nph-command__group-header:first-child{margin-top:0}.nph-command__item{cursor:pointer;border-radius:.375rem;align-items:center;gap:.5rem;padding:.375rem .5rem;display:flex}.nph-command__item-icon{background-color:var(--muted,#7f7f7f1a);width:28px;min-width:28px;height:28px;color:var(--foreground,#111827);border-radius:.375rem;flex-shrink:0;justify-content:center;align-items:center;display:flex}.nph-command__item-content{flex-direction:column;gap:0;min-width:0;display:flex}.nph-command__item-title{font-size:.8125rem;font-weight:500;line-height:1.3}.nph-command__item-description{color:var(--muted-foreground,#6b7280);white-space:nowrap;text-overflow:ellipsis;font-size:.6875rem;line-height:1.3;overflow:hidden}.nph-command__item:hover{background-color:var(--muted,#7f7f7f1f)}.nph-command__item.is-active,.nph-command__item[aria-selected=true]{background-color:var(--accent,#00000014)}@media (prefers-color-scheme:dark){.nph-command__item.is-active,.nph-command__item[aria-selected=true]{background-color:var(--accent,#ffffff24)}}.nph-btn{white-space:nowrap;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;color:inherit;background:0 0;border:none;border-radius:.375rem;outline:none;justify-content:center;align-items:center;font-size:.875rem;font-weight:500;transition:background-color .2s,color .2s,box-shadow .2s;display:inline-flex}.nph-btn:focus-visible{outline:2px solid var(--ring,#3b82f680);outline-offset:2px}.nph-btn:disabled{pointer-events:none;opacity:.5}.nph-btn-ghost{background:0 0}.nph-btn-ghost:hover{background-color:var(--muted,#7f7f7f1f)}.nph-btn-sm{height:2.25rem;padding:0 .75rem}.nph-btn-xs{height:1.75rem;padding:0 .5rem;font-size:.8125rem}.nph-btn-icon{width:1.75rem;min-width:1.75rem;padding-left:0;padding-right:0}.bubble-menu button{color:inherit;cursor:pointer;background:0 0;border:none;border-radius:.5rem;padding:.25rem .4rem}.bubble-menu button:hover{background-color:var(--muted,#7f7f7f1f)}.bubble-menu button.is-active,.bubble-menu button[aria-pressed=true],.nph-btn.is-active,.nph-btn[aria-pressed=true]{background-color:var(--accent,#00000014);color:inherit}.bubble-menu button.is-active:hover,.bubble-menu button[aria-pressed=true]:hover,.nph-btn.is-active:hover,.nph-btn[aria-pressed=true]:hover{background-color:var(--accent-hover,#0000001f)}.nph-input{border:1px solid var(--border,#7f7f7f4d);background:var(--background,transparent);width:100%;color:inherit;border-radius:.375rem}.nph-link-popover{background:var(--background,#fff);color:inherit;border:1px solid var(--border,#7f7f7f4d);box-shadow:var(--shadow,0 4px 16px #00000014);border-radius:.7rem;align-items:center;gap:6px;padding:6px 8px;display:flex}.nph-link-popover__input{appearance:none;color:inherit;background:0 0;border:none;outline:none;min-width:200px;font-size:14px}.nph-link-popover__divider{background:var(--border,#7f7f7f4d);width:1px;height:18px;margin:0 2px}@media (prefers-color-scheme:dark){.nph-link-popover{background:var(--background,#111);border-color:var(--border,#ffffff29);box-shadow:var(--shadow,0 8px 24px #0006)}.nph-link-popover__divider{background:var(--border,#ffffff29)}.bubble-menu button.is-active,.bubble-menu button[aria-pressed=true]{background-color:var(--accent,#ffffff24)}.bubble-menu button.is-active:hover,.bubble-menu button[aria-pressed=true]:hover{background-color:var(--accent-hover,#ffffff2e)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.nph-editor .node-imageBlock.ProseMirror-selectednode,.nph-editor .node-videoBlock.ProseMirror-selectednode{outline:none}.nph-editor .node-imageBlock>[data-node-view-wrapper],.nph-editor .node-videoBlock>[data-node-view-wrapper]{font-size:0;line-height:0}.nph-editor .node-imageBlock.ProseMirror-selectednode>[data-node-view-wrapper],.nph-editor .node-videoBlock.ProseMirror-selectednode>[data-node-view-wrapper]{outline:2px solid var(--border,#e5e7eb);outline-offset:2px;border-radius:12px}.nph-image-block{vertical-align:bottom;border:1px solid var(--border,#e5e7eb);cursor:pointer;border-radius:12px;width:100%;height:auto;transition:box-shadow .2s;display:block;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.nph-image-block:hover{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a}.nph-image-block-loading{border:1px solid var(--border,#e5e7eb);background-color:var(--muted,#f9fafb);border-radius:12px;position:relative;overflow:hidden}.nph-image-block-loading__overlay{z-index:20;background-color:#ffffffe6;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.nph-image-block-loading__content{flex-direction:column;align-items:center;gap:8px;display:flex}.nph-image-block-loading__spinner{color:var(--muted-foreground,#6b7280);animation:1s linear infinite spin}.nph-image-block-loading__text{color:var(--muted-foreground,#6b7280);margin:0;font-size:12px;font-weight:500}.nph-image-block-loading__placeholder{background-color:var(--muted,#f3f4f6);border-radius:8px;width:100%;height:192px}.nph-image-uploader{border:2px dashed var(--border,#e5e7eb);cursor:pointer;box-sizing:border-box;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;width:100%;padding:48px 32px;transition:background-color .2s,border-color .2s;display:flex;background-color:#0000!important}.nph-image-uploader--dragging{background-color:var(--muted,#0000000d);border-color:var(--muted-foreground,#6b7280)}.nph-image-uploader__icon{color:var(--muted-foreground,#6b7280);margin-bottom:16px}.nph-image-uploader__content{flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.nph-image-uploader__text{text-align:center;color:var(--muted-foreground,#6b7280);font-size:14px;font-weight:500}.nph-image-uploader__button{align-items:center;gap:8px;display:flex}.nph-image-uploader__input{opacity:0;width:0;height:0;position:absolute;overflow:hidden}.nph-image-block-error{border:1.5px dashed var(--border,#e5e7eb);background:var(--muted,#00000005);color:var(--muted-foreground,#6b7280);cursor:pointer;aspect-ratio:16/9;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:32px;font-size:13px;display:flex}.dark .nph-image-block-error{border-color:var(--border,#374151);background:var(--muted,#ffffff08);color:var(--muted-foreground,#9ca3af)}.nph-image-uploader--browse-only{border:1.5px dashed var(--border,#e5e7eb);background:var(--muted,#00000005);aspect-ratio:16/9;border-radius:12px;padding:0;transition:all .2s}.nph-image-uploader--browse-only:hover{border-color:var(--muted-foreground,#9ca3af);background:var(--muted,#0000000a)}.nph-image-uploader__browse-cta{flex-direction:column;align-items:center;gap:12px;display:flex}.nph-image-uploader__browse-icon-wrapper{background:var(--muted,#0000000f);width:48px;height:48px;color:var(--muted-foreground,#6b7280);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;transition:all .2s;display:flex}.nph-image-uploader--browse-only:hover .nph-image-uploader__browse-icon-wrapper{background:var(--muted,#0000001a);color:var(--foreground,#374151)}.nph-image-uploader__browse-text{flex-direction:column;align-items:center;gap:4px;display:flex}.nph-image-uploader__browse-title{color:var(--foreground,#111827);font-size:14px;font-weight:600;line-height:1.4;display:block}.nph-image-uploader__browse-subtitle{color:var(--muted-foreground,#6b7280);font-size:12px;line-height:1.4;display:block}@media (prefers-color-scheme:dark){.nph-image-block{border-color:var(--border,#374151);box-shadow:0 1px 3px #0000004d,0 1px 2px -1px #0000004d}.nph-image-block:hover{box-shadow:0 4px 6px -1px #0006,0 2px 4px -2px #0006}.nph-image-block-loading{border-color:var(--border,#374151);background-color:var(--muted,#1f2937)}.nph-image-block-loading__overlay{background-color:#000c}.nph-image-block-loading__spinner,.nph-image-block-loading__text{color:var(--muted-foreground,#9ca3af)}.nph-image-block-loading__placeholder{background-color:var(--muted,#374151)}.nph-image-uploader{border-color:var(--border,#374151)}.nph-image-uploader--dragging{background-color:var(--muted,#ffffff0d);border-color:var(--border,#6b7280)}.nph-image-uploader__icon,.nph-image-uploader__text{color:var(--muted-foreground,#9ca3af)}.nph-image-uploader--browse-only{border-color:var(--border,#374151);background:var(--muted,#ffffff08)}.nph-image-uploader--browse-only:hover{border-color:var(--muted-foreground,#6b7280);background:var(--muted,#ffffff0d)}.nph-image-uploader__browse-icon-wrapper{background:var(--muted,#ffffff14);color:var(--muted-foreground,#9ca3af)}.nph-image-uploader--browse-only:hover .nph-image-uploader__browse-icon-wrapper{background:var(--muted,#ffffff1f);color:var(--foreground,#e5e7eb)}.nph-image-uploader__browse-title{color:var(--foreground,#f3f4f6)}}.dark .nph-image-block{border-color:var(--border,#374151);box-shadow:0 1px 3px #0000004d,0 1px 2px -1px #0000004d}.dark .nph-image-block:hover{box-shadow:0 4px 6px -1px #0006,0 2px 4px -2px #0006}.dark .nph-image-block-loading{border-color:var(--border,#374151);background-color:var(--muted,#1f2937)}.dark .nph-image-block-loading__overlay{background-color:#000c}.dark .nph-image-block-loading__spinner,.dark .nph-image-block-loading__text{color:var(--muted-foreground,#9ca3af)}.dark .nph-image-block-loading__placeholder{background-color:var(--muted,#374151)}.dark .nph-image-uploader{border-color:var(--border,#374151)}.dark .nph-image-uploader--dragging{background-color:var(--muted,#ffffff0d);border-color:var(--border,#6b7280)}.dark .nph-image-uploader__icon,.dark .nph-image-uploader__text{color:var(--muted-foreground,#9ca3af)}.dark .nph-image-uploader--browse-only{border-color:var(--border,#374151);background:var(--muted,#ffffff08)}.dark .nph-image-uploader--browse-only:hover{border-color:var(--muted-foreground,#6b7280);background:var(--muted,#ffffff0d)}.dark .nph-image-uploader__browse-icon-wrapper{background:var(--muted,#ffffff14);color:var(--muted-foreground,#9ca3af)}.dark .nph-image-uploader--browse-only:hover .nph-image-uploader__browse-icon-wrapper{background:var(--muted,#ffffff1f);color:var(--foreground,#e5e7eb)}.dark .nph-image-uploader__browse-title{color:var(--foreground,#f3f4f6)}.nph-video-block{border:1px solid var(--border,#e5e7eb);cursor:pointer;background-color:#000;border-radius:12px;width:100%;padding-bottom:56.25%;transition:box-shadow .2s;position:relative;overflow:hidden;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.nph-video-block:hover{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a}.nph-video-block__iframe{border:none;width:100%;height:100%;position:absolute;inset:0}.nph-video-block__overlay{cursor:pointer;position:absolute;inset:0}.nph-video-block-error{border:1.5px dashed var(--border,#e5e7eb);background:var(--muted,#00000005);color:var(--muted-foreground,#6b7280);cursor:pointer;aspect-ratio:16/9;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:32px;font-size:13px;display:flex}.nph-video-block-error__url{opacity:.6;text-overflow:ellipsis;white-space:nowrap;max-width:300px;font-size:11px;overflow:hidden}.dark .nph-video-block-error{border-color:var(--border,#374151);background:var(--muted,#ffffff08);color:var(--muted-foreground,#9ca3af)}.nph-video-input{border:2px dashed var(--border,#e5e7eb);background-color:#0000;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:32px;display:flex}.nph-video-input__icon{color:var(--muted-foreground,#6b7280)}.nph-video-input__content{align-items:center;gap:8px;width:100%;max-width:480px;display:flex}.nph-video-input__field{border:1px solid var(--border,#e5e7eb);color:inherit;background:0 0;border-radius:8px;outline:none;flex:1;padding:10px 14px;font-size:14px;line-height:1.4}.nph-video-input__field:focus{border-color:var(--ring,#3b82f6);box-shadow:0 0 0 2px #3b82f626}.nph-video-input__button{border:1px solid var(--border,#e5e7eb);background:var(--primary,#111827);color:var(--primary-foreground,#fff);cursor:pointer;white-space:nowrap;border-radius:8px;padding:10px 20px;font-size:14px;font-weight:500;line-height:1.4}.nph-video-input__button:disabled{opacity:.5;cursor:not-allowed}.nph-video-placeholder{aspect-ratio:16/9;border:2px dashed var(--border,#e5e7eb);background:var(--muted,#00000005);cursor:pointer;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:12px;transition:border-color .2s,background .2s;display:flex}.nph-video-placeholder:hover{border-color:var(--muted-foreground,#9ca3af);background:var(--muted,#0000000a)}.nph-video-placeholder__icon{background:var(--muted,#0000000f);width:56px;height:56px;color:var(--muted-foreground,#6b7280);border-radius:12px;justify-content:center;align-items:center;display:flex}.nph-video-placeholder__text{flex-direction:column;align-items:center;gap:2px;display:flex}.nph-video-placeholder__title{color:var(--foreground,#111827);font-size:14px;font-weight:600;display:block}.nph-video-placeholder__subtitle{color:var(--muted-foreground,#6b7280);font-size:13px;display:block}.nph-video-placeholder__input{align-items:center;gap:8px;width:100%;max-width:420px;margin-top:4px;display:flex}@media (prefers-color-scheme:dark){.nph-video-block{border-color:var(--border,#374151);box-shadow:0 1px 3px #0000004d,0 1px 2px -1px #0000004d}.nph-video-block:hover{box-shadow:0 4px 6px -1px #0006,0 2px 4px -2px #0006}.nph-video-input{border-color:var(--border,#374151)}.nph-video-input__icon{color:var(--muted-foreground,#9ca3af)}.nph-video-input__field{border-color:var(--border,#374151)}}.dark .nph-video-block{border-color:var(--border,#374151);box-shadow:0 1px 3px #0000004d,0 1px 2px -1px #0000004d}.dark .nph-video-block:hover{box-shadow:0 4px 6px -1px #0006,0 2px 4px -2px #0006}.dark .nph-video-input{border-color:var(--border,#374151)}.dark .nph-video-input__icon{color:var(--muted-foreground,#9ca3af)}.dark .nph-video-input__field{border-color:var(--border,#374151)}.dark .nph-video-placeholder{border-color:var(--border,#374151);background:var(--muted,#ffffff08)}.dark .nph-video-placeholder:hover{border-color:var(--muted-foreground,#6b7280);background:var(--muted,#ffffff0d)}.dark .nph-video-placeholder__icon{background:var(--muted,#ffffff0f);color:var(--muted-foreground,#9ca3af)}.dark .nph-video-placeholder__title{color:var(--foreground,#f9fafb)}.dark .nph-video-placeholder__subtitle{color:var(--muted-foreground,#9ca3af)}.nph-drag-handle{opacity:0;cursor:grab;align-items:center;gap:1px;margin-right:12px;transition:opacity .15s;display:flex}.nph-drag-handle:hover,.nph-drag-handle.visible{opacity:1}.nph-drag-handle__btn{width:18px;height:18px;color:var(--muted-foreground,#9ca3af);cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:0;transition:background-color .15s,color .15s;display:flex}.nph-drag-handle__btn:hover{background-color:var(--muted,#7f7f7f1f);color:var(--foreground,#111827)}.nph-drag-handle__grip{cursor:grab}.nph-drag-handle__grip:active{cursor:grabbing}.nph-block-action-menu{min-width:180px}.nph-resize-wrapper{width:100%;display:block;position:relative}.nph-resize-handle{background:var(--primary,#3b82f6);opacity:0;cursor:col-resize;z-index:5;border-radius:3px;width:6px;height:48px;max-height:50%;transition:opacity .15s;position:absolute;top:50%;transform:translateY(-50%)}.nph-resize-wrapper:hover .nph-resize-handle,.nph-resize-wrapper--active .nph-resize-handle{opacity:1}.nph-resize-handle--left{left:4px}.nph-resize-handle--right{right:4px}.nph-toc{flex-direction:column;gap:1px;font-size:.8125rem;display:flex}.nph-toc__item{text-align:left;width:100%;color:var(--muted-foreground,#6b7280);cursor:pointer;font-size:inherit;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:none;border-radius:4px;padding:4px 8px;line-height:1.4;transition:background-color .15s,color .15s;display:block;overflow:hidden}.nph-toc__item:hover{background-color:var(--muted,#7f7f7f1f);color:var(--foreground,#111827)}.nph-toc__item--active{color:var(--foreground,#111827);background-color:var(--accent,#0000000d);font-weight:500}.nph-collab-caret{pointer-events:none;word-break:normal;border-left:2px solid;margin-left:-1px;margin-right:-1px;position:relative}.nph-collab-caret__label{color:#fff;white-space:nowrap;pointer-events:none;-webkit-user-select:none;user-select:none;border-radius:3px 3px 3px 0;padding:1px 4px 2px;font-size:.6875rem;font-weight:600;line-height:1;position:absolute;top:-1.4em;left:-1px}.nph-collab-selection{pointer-events:none}.nph-editor .mention,.ProseMirror.nph-editor .mention{color:#3b82f6;vertical-align:middle;cursor:pointer;background-color:#3b82f61a;border-radius:9999px;align-items:center;gap:.25rem;padding:.125rem .375rem;font-size:.875rem;font-weight:500;text-decoration:none;transition:background-color .15s;display:inline-flex}.nph-editor .mention:hover,.ProseMirror.nph-editor .mention:hover{background-color:#3b82f626}.dark .nph-editor .mention,.dark .ProseMirror.nph-editor .mention{color:#60a5fa;background-color:#3b82f633}.dark .nph-editor .mention:hover,.dark .ProseMirror.nph-editor .mention:hover{background-color:#3b82f64d}
