.bn-block-outer{line-height:1.5;transition:margin .2s}
.bn-block{display:flex;flex-direction:column}
.bn-block-content{display:flex;padding:3px 0;transition:font-size .2s;width:100%}
.bn-block-content:before{transition:all .2s}
.bn-block-content.ProseMirror-selectednode>*,.ProseMirror-selectednode>.bn-block-content>*{border-radius:4px;outline:4px solid rgb(100,160,255)}
.bn-inline-content{width:100%}
.bn-block-group .bn-block-group{margin-left:1.5em}
.bn-block-group .bn-block-group>.bn-block-outer{position:relative}
.bn-block-group .bn-block-group>.bn-block-outer:not([data-prev-depth-changed]):before{content:" ";display:inline;position:absolute;left:-20px;height:100%;transition:all .2s .1s}
.bn-block-group .bn-block-group>.bn-block-outer[data-prev-depth-change="-2"]:before{height:0}
.bn-inline-content code{font-family:monospace}
[data-prev-depth-change="1"]{--x: 1}
[data-prev-depth-change="2"]{--x: 2}
[data-prev-depth-change="3"]{--x: 3}
[data-prev-depth-change="4"]{--x: 4}
[data-prev-depth-change="5"]{--x: 5}
[data-prev-depth-change="-1"]{--x: -1}
[data-prev-depth-change="-2"]{--x: -2}
[data-prev-depth-change="-3"]{--x: -3}
[data-prev-depth-change="-4"]{--x: -4}
[data-prev-depth-change="-5"]{--x: -5}
.bn-block-outer[data-prev-depth-change]{margin-left:calc(10px * var(--x))}
.bn-block-outer[data-prev-depth-change] .bn-block-outer[data-prev-depth-change]{margin-left:0}
[data-content-type=heading]{--level: 3em}
[data-content-type=heading][data-level="2"]{--level: 2em}
[data-content-type=heading][data-level="3"]{--level: 1.3em}
[data-prev-level="1"]{--prev-level: 3em}
[data-prev-level="2"]{--prev-level: 2em}
[data-prev-level="3"]{--prev-level: 1.3em}
.bn-block-outer[data-prev-type=heading]>.bn-block>.bn-block-content{font-size:var(--prev-level);font-weight:700}
.bn-block-outer:not([data-prev-type])>.bn-block>.bn-block-content[data-content-type=heading]{font-size:var(--level);font-weight:700}
[data-content-type=quote] blockquote{border-left:2px solid rgb(125,121,122);color:#7d797a;margin:0;padding-left:1em}
.bn-block-content:before{margin-right:0;content:""}
.bn-block-content[data-content-type=numberedListItem]{display:flex;gap:.5em}
[data-content-type=numberedListItem]{--index: attr(data-index)}
[data-prev-type=numberedListItem]{--prev-index: attr(data-prev-index)}
.bn-block-outer[data-prev-type=numberedListItem]:not([data-prev-index=none])>.bn-block>.bn-block-content:before{content:var(--prev-index) "."}
.bn-block-outer:not([data-prev-type])>.bn-block>.bn-block-content[data-content-type=numberedListItem]:before{content:var(--index) "."}
.bn-block-content[data-content-type=bulletListItem]{display:flex;gap:.5em}
.bn-block-content[data-content-type=checkListItem]>div{display:flex;width:100%}
.bn-block-content[data-content-type=checkListItem]>div>div>input{margin:0;margin-inline-end:.5em;cursor:pointer}
.bn-block-content[data-content-type=checkListItem][data-checked=true] .bn-inline-content{text-decoration:line-through}
.bn-block-content[data-text-alignment=center]{justify-content:center}
.bn-block-content[data-text-alignment=right]{justify-content:flex-end}
.bn-block-outer[data-prev-type=bulletListItem]>.bn-block>.bn-block-content:before{content:"•"}
.bn-block-outer:not([data-prev-type])>.bn-block>.bn-block-content[data-content-type=bulletListItem]:before{content:"•"}
[data-content-type=bulletListItem]~.bn-block-group>.bn-block-outer[data-prev-type=bulletListItem]>.bn-block>.bn-block-content:before{content:"◦"}
[data-content-type=bulletListItem]~.bn-block-group>.bn-block-outer:not([data-prev-type])>.bn-block>.bn-block-content[data-content-type=bulletListItem]:before{content:"◦"}
[data-content-type=bulletListItem]~.bn-block-group [data-content-type=bulletListItem]~.bn-block-group>.bn-block-outer[data-prev-type=bulletListItem]>.bn-block>.bn-block-content:before{content:"▪"}
[data-content-type=bulletListItem]~.bn-block-group [data-content-type=bulletListItem]~.bn-block-group>.bn-block-outer:not([data-prev-type])>.bn-block>.bn-block-content[data-content-type=bulletListItem]:before{content:"▪"}
.bn-block-content[data-content-type=codeBlock]{position:relative;background-color:#161616;color:#fff;border-radius:8px}
.bn-block-content[data-content-type=codeBlock]>pre{white-space:pre;overflow-x:auto;margin:0;width:100%;-moz-tab-size:2;tab-size:2;padding:24px}
.bn-block-content[data-content-type=codeBlock]>div{outline:none!important}
.bn-block-content[data-content-type=codeBlock]>div>select{outline:none!important;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-user-select:none;user-select:none;border:none;cursor:pointer;background-color:transparent;position:absolute;top:8px;left:18px;font-size:.8em;color:#fff;opacity:0;transition:opacity .3s;transition-delay:1s}
.bn-block-content[data-content-type=codeBlock]>div>select>option{color:#000}
.bn-block-content[data-content-type=codeBlock]:hover>div>select,.bn-block-content[data-content-type=codeBlock]>div>select:focus{opacity:.5;transition-delay:.1s}
.bn-block-content[data-content-type=pageBreak]>div{width:100%;height:0;border-top:dotted rgb(125,121,122) 2px;margin-block:11px}
@media print{.bn-block-content[data-content-type=pageBreak]>div{page-break-after:always}}
[data-file-block] .bn-file-block-content-wrapper{cursor:pointer;display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}
[data-file-block] .bn-file-block-content-wrapper:has(.bn-add-file-button),[data-file-block] .bn-file-block-content-wrapper:has(.bn-file-name-with-icon){width:100%}
[data-file-block] .bn-add-file-button{align-items:center;background-color:#f2f1ee;border-radius:4px;color:#7d797a;display:flex;gap:10px;padding:12px}
.bn-editor[contenteditable=true] [data-file-block] .bn-add-file-button:hover,[data-file-block] .bn-file-name-with-icon:hover,.ProseMirror-selectednode .bn-file-name-with-icon{background-color:#e1e1e1}
[data-file-block] .bn-add-file-button-icon,[data-file-block] .bn-file-icon{width:24px;height:24px}
[data-file-block] .bn-add-file-button-text{font-size:.9rem}
[data-file-block] .bn-file-name-with-icon{border-radius:4px;display:flex;gap:4px;padding:4px}
[data-file-block] .bn-file-caption{font-size:.8em;padding-block:4px;word-break:break-word}
[data-file-block] .bn-file-caption:empty{padding-block:0}
[data-file-block] .bn-resize-handle{position:absolute;width:8px;height:30px;background-color:#000;border:1px solid white;border-radius:4px;cursor:ew-resize}
[data-file-block] .bn-visual-media-wrapper{display:flex;align-items:center;position:relative}
[data-file-block] .bn-visual-media{border-radius:4px;width:100%}
[data-content-type=audio]>.bn-file-block-content-wrapper,.bn-audio{width:100%}
.bn-inline-content:has(>.ProseMirror-trailingBreak:only-child):before{pointer-events:none;height:0;position:absolute;font-style:italic}
[data-text-color=gray]{color:#9b9a97}
[data-text-color=brown]{color:#64473a}
[data-text-color=red]{color:#e03e3e}
[data-text-color=orange]{color:#d9730d}
[data-text-color=yellow]{color:#dfab01}
[data-text-color=green]{color:#4d6461}
[data-text-color=blue]{color:#0b6e99}
[data-text-color=purple]{color:#6940a5}
[data-text-color=pink]{color:#ad1a72}
[data-background-color=gray]{background-color:#ebeced}
[data-background-color=brown]{background-color:#e9e5e3}
[data-background-color=red]{background-color:#fbe4e4}
[data-background-color=orange]{background-color:#f6e9d9}
[data-background-color=yellow]{background-color:#fbf3db}
[data-background-color=green]{background-color:#ddedea}
[data-background-color=blue]{background-color:#ddebf1}
[data-background-color=purple]{background-color:#eae4f2}
[data-background-color=pink]{background-color:#f4dfeb}
[data-text-alignment=left]{justify-content:flex-start!important;text-align:left!important}
[data-text-alignment=center]{justify-content:center!important;text-align:center!important}
[data-text-alignment=right]{justify-content:flex-end!important;text-align:right!important}
[data-text-alignment=justify]{justify-content:flex-start!important;text-align:justify!important}
.bn-block-column-list{display:flex;flex-direction:row}
.bn-block-column{flex:1;padding:12px 20px;overflow-x:auto}
.bn-block-column:first-child{padding-left:0}
.bn-block-column:last-child{padding-right:0}
.bn-thread-mark:not([data-orphan=true]){background:#ffc80026}
.bn-thread-mark .bn-thread-mark-selected{background:#ffc80040}
.ProseMirror .tableWrapper{overflow-x:auto}
.ProseMirror table{border-collapse:collapse;table-layout:fixed;width:100%;overflow:hidden}
.ProseMirror td,.ProseMirror th{vertical-align:top;box-sizing:border-box;position:relative}
.ProseMirror td:not([data-colwidth]):not(.column-resize-dragging),.ProseMirror th:not([data-colwidth]):not(.column-resize-dragging){min-width:var(--default-cell-min-width)}
.ProseMirror .column-resize-handle{position:absolute;right:-2px;top:0;bottom:0;width:4px;z-index:20;background-color:#adf;pointer-events:none}
.ProseMirror.resize-cursor{cursor:ew-resize;cursor:col-resize}
.ProseMirror .selectedCell:after{z-index:2;position:absolute;content:"";left:0;right:0;top:0;bottom:0;background:#c8c8ff66;pointer-events:none}
.bn-editor{outline:none;padding-inline:54px;--N800: #172b4d;--N40: #dfe1e6}
.bn-comment-editor{width:100%;padding:0}
.bn-comment-editor .bn-editor{padding:0}
.bn-root{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
.bn-root *,.bn-root *:before,.bn-root *:after{-webkit-box-sizing:inherit;-moz-box-sizing:inherit;box-sizing:inherit}
.bn-default-styles p,.bn-default-styles h1,.bn-default-styles h2,.bn-default-styles h3,.bn-default-styles li{margin:0;padding:0;font-size:inherit;min-width:2px!important}
.bn-default-styles{font-size:16px;font-weight:400;font-family:Inter,SF Pro Display,-apple-system,BlinkMacSystemFont,Open Sans,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.bn-table-drop-cursor{position:absolute;z-index:20;background-color:#adf;pointer-events:none}
.bn-drag-preview{position:absolute;top:0;left:0;padding:10px;opacity:.001}
.bn-editor .bn-collaboration-cursor__base{position:relative}
.bn-editor .bn-collaboration-cursor__base .bn-collaboration-cursor__caret{position:absolute;width:2px;top:1px;bottom:-2px;left:-1px}
.bn-editor .bn-collaboration-cursor__base .bn-collaboration-cursor__label{pointer-events:none;border-radius:0 1.5px 1.5px 0;font-size:12px;font-style:normal;font-weight:600;line-height:normal;left:0;overflow:hidden;position:absolute;white-space:nowrap;-webkit-user-select:none;user-select:none;color:transparent;max-height:5px;max-width:4px;padding:0;top:-1px;transition:all .2s}
.bn-editor .bn-collaboration-cursor__base[data-active] .bn-collaboration-cursor__label{color:#0d0d0d;max-height:1.1rem;max-width:20rem;padding:.1rem .3rem;top:-17px;left:0;border-radius:3px 3px 3px 0;transition:all .2s}
.bn-editor [data-content-type=table] .tableWrapper{position:relative;top:-16px;left:-16px;min-width:calc(100% + 16px);padding-bottom:16px;overflow-y:hidden}
.bn-editor [data-content-type=table] .tableWrapper-inner{padding:16px}
.bn-editor [data-content-type=table] table{width:auto!important;word-break:break-word}
.bn-editor [data-content-type=table] th,.bn-editor [data-content-type=table] td{border:1px solid #ddd;padding:5px 10px}
.bn-editor [data-content-type=table] th{font-weight:700;text-align:left}
.ProseMirror td,.ProseMirror th{min-width:auto!important}
.ProseMirror td:not([colwidth]):not(.column-resize-dragging),.ProseMirror th:not([colwidth]):not(.column-resize-dragging){min-width:var(--default-cell-min-width)!important}
.prosemirror-dropcursor-block{transition-property:top,bottom;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}
.prosemirror-dropcursor-vertical{transition-property:left,right}
[data-show-selection]{background-color:highlight;padding:2px 0}
.bn-container{--bn-colors-editor-text: #3f3f3f;--bn-colors-editor-background: #ffffff;--bn-colors-menu-text: #3f3f3f;--bn-colors-menu-background: #ffffff;--bn-colors-tooltip-text: #3f3f3f;--bn-colors-tooltip-background: #efefef;--bn-colors-hovered-text: #3f3f3f;--bn-colors-hovered-background: #efefef;--bn-colors-selected-text: #ffffff;--bn-colors-selected-background: #3f3f3f;--bn-colors-disabled-text: #afafaf;--bn-colors-disabled-background: #efefef;--bn-colors-shadow: #cfcfcf;--bn-colors-border: #efefef;--bn-colors-side-menu: #cfcfcf;--bn-colors-highlights-gray-text: #9b9a97;--bn-colors-highlights-gray-background: #ebeced;--bn-colors-highlights-brown-text: #64473a;--bn-colors-highlights-brown-background: #e9e5e3;--bn-colors-highlights-red-text: #e03e3e;--bn-colors-highlights-red-background: #fbe4e4;--bn-colors-highlights-orange-text: #d9730d;--bn-colors-highlights-orange-background: #f6e9d9;--bn-colors-highlights-yellow-text: #dfab01;--bn-colors-highlights-yellow-background: #fbf3db;--bn-colors-highlights-green-text: #4d6461;--bn-colors-highlights-green-background: #ddedea;--bn-colors-highlights-blue-text: #0b6e99;--bn-colors-highlights-blue-background: #ddebf1;--bn-colors-highlights-purple-text: #6940a5;--bn-colors-highlights-purple-background: #eae4f2;--bn-colors-highlights-pink-text: #ad1a72;--bn-colors-highlights-pink-background: #f4dfeb;--bn-font-family: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Open Sans", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;--bn-border-radius: 6px;--bn-shadow-medium: 0 4px 12px var(--bn-colors-shadow);--bn-shadow-light: 0 2px 6px var(--bn-colors-border);--bn-border: 1px solid var(--bn-colors-border);--bn-border-radius-small: max(var(--bn-border-radius) - 2px, 1px);--bn-border-radius-medium: var(--bn-border-radius);--bn-border-radius-large: max(var(--bn-border-radius) + 2px, 1px)}
.bn-container[data-color-scheme=dark]{--bn-colors-editor-text: #cfcfcf;--bn-colors-editor-background: #1f1f1f;--bn-colors-menu-text: #cfcfcf;--bn-colors-menu-background: #1f1f1f;--bn-colors-tooltip-text: #cfcfcf;--bn-colors-tooltip-background: #161616;--bn-colors-hovered-text: #cfcfcf;--bn-colors-hovered-background: #161616;--bn-colors-selected-text: #cfcfcf;--bn-colors-selected-background: #0f0f0f;--bn-colors-disabled-text: #3f3f3f;--bn-colors-disabled-background: #161616;--bn-colors-shadow: #0f0f0f;--bn-colors-border: #161616;--bn-colors-side-menu: #7f7f7f;--bn-colors-highlights-gray-text: #bebdb8;--bn-colors-highlights-gray-background: #9b9a97;--bn-colors-highlights-brown-text: #8e6552;--bn-colors-highlights-brown-background: #64473a;--bn-colors-highlights-red-text: #ec4040;--bn-colors-highlights-red-background: #be3434;--bn-colors-highlights-orange-text: #e3790d;--bn-colors-highlights-orange-background: #b7600a;--bn-colors-highlights-yellow-text: #dfab01;--bn-colors-highlights-yellow-background: #b58b00;--bn-colors-highlights-green-text: #6b8b87;--bn-colors-highlights-green-background: #4d6461;--bn-colors-highlights-blue-text: #0e87bc;--bn-colors-highlights-blue-background: #0b6e99;--bn-colors-highlights-purple-text: #8552d7;--bn-colors-highlights-purple-background: #6940a5;--bn-colors-highlights-pink-text: #da208f;--bn-colors-highlights-pink-background: #ad1a72}
.bn-container{font-family:var(--bn-font-family)}
.bn-editor{background-color:var(--bn-colors-editor-background);border-radius:var(--bn-border-radius-large);color:var(--bn-colors-editor-text)}
.bn-react-node-view-renderer{display:flex;flex-direction:column;width:100%}
.bn-block-group .bn-block-group .bn-block-outer:not([data-prev-depth-changed]):before{border-left:1px solid var(--bn-colors-side-menu)}
.bn-inline-content:has(>.ProseMirror-trailingBreak):before{color:var(--bn-colors-side-menu)}
.bn-container .bn-color-icon{align-items:center;border:var(--bn-border);border-radius:var(--bn-border-radius-small);display:flex;justify-content:center}
.bn-error-text{color:red;font-size:12px}
[data-text-color=gray]{color:var(--bn-colors-highlights-gray-text)}
[data-text-color=brown]{color:var(--bn-colors-highlights-brown-text)}
[data-text-color=red]{color:var(--bn-colors-highlights-red-text)}
[data-text-color=orange]{color:var(--bn-colors-highlights-orange-text)}
[data-text-color=yellow]{color:var(--bn-colors-highlights-yellow-text)}
[data-text-color=green]{color:var(--bn-colors-highlights-green-text)}
[data-text-color=blue]{color:var(--bn-colors-highlights-blue-text)}
[data-text-color=purple]{color:var(--bn-colors-highlights-purple-text)}
[data-text-color=pink]{color:var(--bn-colors-highlights-pink-text)}
[data-background-color=gray]{background-color:var(--bn-colors-highlights-gray-background)}
[data-background-color=brown]{background-color:var(--bn-colors-highlights-brown-background)}
[data-background-color=red]{background-color:var(--bn-colors-highlights-red-background)}
[data-background-color=orange]{background-color:var(--bn-colors-highlights-orange-background)}
[data-background-color=yellow]{background-color:var(--bn-colors-highlights-yellow-background)}
[data-background-color=green]{background-color:var(--bn-colors-highlights-green-background)}
[data-background-color=blue]{background-color:var(--bn-colors-highlights-blue-background)}
[data-background-color=purple]{background-color:var(--bn-colors-highlights-purple-background)}
[data-background-color=pink]{background-color:var(--bn-colors-highlights-pink-background)}
.bn-side-menu{height:30px}
.bn-side-menu[data-block-type=heading][data-level="1"]{height:78px}
.bn-side-menu[data-block-type=heading][data-level="2"]{height:54px}
.bn-side-menu[data-block-type=heading][data-level="3"]{height:37px}
.bn-side-menu[data-block-type=file]{height:38px}
.bn-side-menu[data-block-type=audio]{height:60px}
.bn-side-menu[data-url=false]{height:54px}
.bn-threads-sidebar{border-radius:var(--bn-border-radius-medium);display:flex;flex-direction:column;gap:10px;overflow:auto}
.bn-thread-expand-prompt .mantine-Text-root,.bn-thread .bn-header-text{color:var(--bn-colors-menu-text)}
.bn-threads-sidebar .bn-thread .bn-editor{background-color:transparent}
.bn-threads-sidebar .bn-thread.selected{background-color:#f5f9fd;border:2px solid #C2DCF8}
.dark .bn-threads-sidebar .bn-thread.selected{background-color:#20242a;border:2px solid #23405B}
@keyframes m_5d2b3b9d{0%{transform:scale(.6);opacity:0}50%,to{transform:scale(1)}}
@keyframes m_aac34a1{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.6);opacity:.5}}
@keyframes m_f8e89c4b{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
@keyframes m_885901b1{0%{opacity:.6;transform:scale(0)}to{opacity:0;transform:scale(2.8)}}
@keyframes m_81a374bd{0%{background-position:0 0}to{background-position:40px 0}}
@keyframes m_299c329c{0%,to{opacity:.4}50%{opacity:1}}
.bn-mantine *,.bn-mantine :after,.bn-mantine :before{box-sizing:border-box}
.bn-mantine button,.bn-mantine select{text-transform:none}
@media screen and (max-device-width: 500px){.bn-mantine{-webkit-text-size-adjust:100%}}
@media (prefers-reduced-motion: reduce){.bn-mantine [data-respect-reduced-motion] [data-reduce-motion]{animation:none;transition:none}}
.bn-mantine [data-mantine-color-scheme=dark] .mantine-dark-hidden,.bn-mantine [data-mantine-color-scheme=light] .mantine-light-hidden{display:none}
.bn-mantine .mantine-focus-auto:focus-visible{outline:calc(.125rem * var(--mantine-scale)) solid var(--mantine-primary-color-filled);outline-offset:calc(.125rem * var(--mantine-scale))}
.bn-mantine .mantine-focus-always:focus{outline:calc(.125rem * var(--mantine-scale)) solid var(--mantine-primary-color-filled);outline-offset:calc(.125rem * var(--mantine-scale))}
.bn-mantine .mantine-focus-never:focus{outline:none}
.bn-mantine .mantine-active:active{transform:translateY(calc(.0625rem * var(--mantine-scale)))}
.bn-mantine[dir=rtl] .mantine-rotate-rtl{transform:rotate(180deg)}
.bn-mantine .mantine-Badge-root{background-color:var(--bn-colors-tooltip-background);color:var(--bn-colors-tooltip-text)}
.bn-mantine .mantine-FileInput-input{align-items:center;background-color:var(--bn-colors-menu-background);border:none;border-radius:4px;color:var(--bn-colors-menu-text);display:flex;flex-direction:row;font-family:var(--bn-font-family);justify-content:center}
.bn-mantine .mantine-FileInput-input:hover{background-color:var(--bn-colors-hovered-background)}
.bn-mantine .mantine-FileInput-wrapper{border:solid var(--bn-colors-border) 1px;border-radius:4px}
.bn-mantine .mantine-InputPlaceholder-placeholder{color:var(--bn-colors-menu-text);font-family:var(--bn-font-family);font-weight:600}
.bn-mantine .mantine-Menu-dropdown{background-color:var(--bn-colors-menu-background);border:var(--bn-border);border-radius:var(--bn-border-radius-medium);box-shadow:var(--bn-shadow-medium);box-sizing:border-box;color:var(--bn-colors-menu-text);padding:2px;overflow:auto}
.bn-mantine .mantine-Menu-label{background-color:var(--bn-colors-menu-background);color:var(--bn-colors-menu-text)}
.bn-mantine .mantine-Menu-item{background-color:var(--bn-colors-menu-background);border:none;border-radius:var(--bn-border-radius-small);color:var(--bn-colors-menu-text)}
.bn-mantine .mantine-Menu-item[aria-selected=true],.bn-mantine .mantine-Menu-item:hover{background-color:var(--bn-colors-hovered-background);border:none;color:var(--bn-colors-hovered-text)}
.bn-mantine .mantine-Popover-dropdown{background-color:transparent;border:none;border-radius:0;box-shadow:none;padding:0}
.bn-mantine .mantine-Tabs-root{width:100%;background-color:var(--bn-colors-menu-background)}
.bn-mantine .mantine-Tabs-list:before{border-color:var(--bn-colors-hovered-background)}
.bn-mantine .mantine-Tabs-tab{color:var(--bn-colors-menu-text);border-color:var(--bn-colors-hovered-background)}
.bn-mantine .mantine-Tabs-tab:hover{background-color:var(--bn-colors-hovered-background);border-color:var(--bn-colors-hovered-background);color:var(--bn-colors-hovered-text)}
.bn-mantine .mantine-Tabs-tab[data-active],.bn-mantine .mantine-Tabs-tab[data-active]:hover{border-color:var(--bn-colors-menu-text);color:var(--bn-colors-menu-text)}
.bn-mantine .mantine-Tabs-panel{padding:8px}
.bn-mantine .mantine-TextInput-input{background-color:var(--bn-colors-menu-background);border:solid var(--bn-colors-border) 1px;border-radius:4px;color:var(--bn-colors-menu-text);font-family:var(--bn-font-family);height:32px}
.bn-mantine .mantine-Tooltip-tooltip{background-color:transparent;border:none;border-radius:0;box-shadow:none;padding:0}
.bn-mantine .mantine-Tooltip-tooltip p:last-child{white-space:pre-wrap}
.bn-mantine .mantine-Tooltip-tooltip p:first-child{white-space:unset}
.bn-mantine .bn-select{overflow:auto}
.bn-mantine .mantine-Button-root[aria-controls*=dropdown]{min-width:fit-content}
.bn-mantine .bn-toolbar{background-color:var(--bn-colors-menu-background);border:var(--bn-border);border-radius:var(--bn-border-radius-medium);box-shadow:var(--bn-shadow-medium);flex-wrap:nowrap;gap:2px;padding:2px;width:fit-content;overflow-x:auto;max-width:100vw}
.bn-mantine .bn-toolbar:empty{display:none}
.bn-toolbar .mantine-Button-root,.bn-toolbar .mantine-ActionIcon-root{background-color:var(--bn-colors-menu-background);border:none;border-radius:var(--bn-border-radius-small);color:var(--bn-colors-menu-text)}
.bn-toolbar .mantine-Button-root:hover,.bn-toolbar .mantine-ActionIcon-root:hover{background-color:var(--bn-colors-hovered-background);border:none;color:var(--bn-colors-hovered-text)}
.bn-toolbar .mantine-Button-root[data-selected],.bn-toolbar .mantine-ActionIcon-root[data-selected]{background-color:var(--bn-colors-selected-background);border:none;color:var(--bn-colors-selected-text)}
.bn-toolbar .mantine-Button-root[data-disabled],.bn-toolbar .mantine-ActionIcon-root[data-disabled]{background-color:var(--bn-colors-disabled-background);border:none;color:var(--bn-colors-disabled-text)}
.bn-toolbar .mantine-Menu-item{font-size:12px;height:30px}
.bn-toolbar .mantine-Menu-item:hover{background-color:var(--bn-colors-hovered-background)}
.bn-mantine .bn-form-popover{background-color:var(--bn-colors-menu-background);border:var(--bn-border);border-radius:var(--bn-border-radius-medium);box-shadow:var(--bn-shadow-medium);color:var(--bn-colors-menu-text);gap:4px;min-width:145px;padding:2px}
.bn-form-popover .mantine-TextInput-root,.bn-form-popover .mantine-FileInput-root{width:300px}
.bn-form-popover .mantine-TextInput-wrapper,.bn-form-popover .mantine-FileInput-wrapper{padding:0;border-radius:4px}
.bn-form-popover .mantine-TextInput-wrapper:hover{background-color:var(--bn-colors-hovered-background)}
.bn-form-popover .mantine-TextInput-input,.bn-form-popover .mantine-FileInput-input{border:none;font-size:12px}
.bn-form-popover .mantine-FileInput-input:hover{background-color:var(--bn-colors-hovered-background)}
.bn-form-popover .mantine-FileInput-section[data-position=left],.bn-form-popover .mantine-FileInput-placeholder{color:var(--bn-colors-menu-text)}
.bn-mantine .bn-suggestion-menu{max-height:100%;position:relative;box-shadow:var(--mantine-shadow-md);border:calc(.0625rem * var(--mantine-scale)) solid var(--mantine-color-gray-2);border-radius:var(--mantine-radius-default);padding:4px}
.bn-mantine .bn-suggestion-menu-label{color:var(--mantine-color-dimmed);font-weight:500;font-size:var(--mantine-font-size-xs);padding:calc(var(--mantine-spacing-xs) / 2) var(--mantine-spacing-sm);cursor:default}
.bn-mantine .bn-suggestion-menu-item{font-size:var(--mantine-font-size-sm);width:100%;padding:calc(var(--mantine-spacing-xs) / 1.5) var(--mantine-spacing-sm);border-radius:var(--popover-radius, var(--mantine-radius-default));color:var(--menu-item-color, var(--mantine-color-text));display:flex;align-items:center;-webkit-user-select:none;user-select:none}
.bn-mantine .bn-suggestion-menu-item:where([data-disabled],:disabled){color:var(--mantine-color-dimmed);opacity:.6;pointer-events:none}
.bn-mt-suggestion-menu-item-body{flex:1}
.bn-mt-suggestion-menu-item-section{display:flex;justify-content:center;align-items:center}
.bn-mt-suggestion-menu-item-section:where([data-position=left]){margin-inline-end:var(--mantine-spacing-xs)}
.bn-mt-suggestion-menu-item-section:where([data-position=right]){margin-inline-start:var(--mantine-spacing-xs)}
.bn-mantine .bn-suggestion-menu{background-color:var(--bn-colors-menu-background);border:var(--bn-border);border-radius:var(--bn-border-radius-medium);box-shadow:var(--bn-shadow-medium);box-sizing:border-box;color:var(--bn-colors-menu-text);height:fit-content;max-height:inherit;overflow-y:auto;padding:2px}
.bn-mantine .bn-suggestion-menu-item{cursor:pointer;height:52px}
.bn-mantine .bn-suggestion-menu-item[aria-selected=true],.bn-mantine .bn-suggestion-menu-item:hover{background-color:var(--bn-colors-hovered-background)}
.bn-mt-suggestion-menu-item-section{color:var(--bn-colors-tooltip-text)}
.bn-mt-suggestion-menu-item-section[data-position=left]{background-color:var(--bn-colors-tooltip-background);border-radius:var(--bn-border-radius-small);padding:8px}
.bn-mt-suggestion-menu-item-body{align-items:stretch;display:flex;flex:1;flex-direction:column;justify-content:flex-start;padding-right:16px}
.bn-mt-suggestion-menu-item-title{color:var(--bn-colors-menu-text);line-height:20px;font-weight:500;font-size:14px;margin:0;padding:0}
.bn-mt-suggestion-menu-item-subtitle{color:var(--bn-colors-menu-text);line-height:16px;font-size:10px;margin:0;padding:0}
.bn-mantine .bn-suggestion-menu-label{color:var(--bn-colors-hovered-text)}
.bn-mantine .bn-suggestion-menu-loader{height:20px;width:100%}
.bn-mantine .bn-suggestion-menu-loader span{background-color:var(--bn-colors-side-menu)}
.bn-mantine .bn-grid-suggestion-menu{background:var(--bn-colors-menu-background);border-radius:var(--bn-border-radius-large);box-shadow:var(--bn-shadow-medium);display:grid;gap:7px;height:fit-content;justify-items:center;max-height:inherit;overflow-y:auto;padding:20px}
.bn-mantine .bn-grid-suggestion-menu-item{align-items:center;border-radius:var(--bn-border-radius-large);cursor:pointer;display:flex;font-size:24px;height:32px;justify-content:center;margin:2px;padding:4px;width:32px}
.bn-mantine .bn-grid-suggestion-menu-item[aria-selected=true],.bn-mantine .bn-grid-suggestion-menu-item:hover{background-color:var(--bn-colors-hovered-background)}
.bn-mantine .bn-grid-suggestion-menu-empty-item,.bn-mantine .bn-grid-suggestion-menu-loader{align-items:center;color:var(--bn-colors-menu-text);display:flex;font-size:14px;font-weight:500;height:32px;justify-content:center}
.bn-mantine .bn-grid-suggestion-menu-loader span{background-color:var(--bn-colors-side-menu)}
.bn-mantine .bn-side-menu{background-color:transparent;overflow:visible}
.bn-side-menu .mantine-Menu-item,.bn-table-handle-menu .mantine-Menu-item{font-size:12px;height:30px}
.bn-side-menu .mantine-UnstyledButton-root:not(.mantine-Menu-item){background-color:transparent}
.bn-side-menu .mantine-UnstyledButton-root:hover{background-color:var(--bn-colors-hovered-background)}
.bn-side-menu .mantine-UnstyledButton-root:not(.mantine-Menu-item) svg{background-color:transparent;color:var(--bn-colors-side-menu);height:22px;width:22px}
.bn-mantine .bn-side-menu>[draggable=true]{display:flex}
.bn-side-menu .mantine-Menu-dropdown{min-width:100px;padding:2px;position:absolute}
.bn-mantine .bn-panel{background-color:var(--bn-colors-menu-background);border:var(--bn-border);border-radius:var(--bn-border-radius-medium);box-shadow:var(--bn-shadow-medium);padding:2px;width:500px}
.bn-mantine .bn-panel .bn-tab-panel{align-items:center;display:flex;flex-direction:column;gap:8px;width:100%}
.bn-panel .mantine-TextInput-root,.bn-panel .mantine-FileInput-root{width:100%}
.bn-panel .mantine-Button-root{background-color:var(--bn-colors-menu-background);border:solid var(--bn-colors-border) 1px;border-radius:var(--bn-border-radius-small);color:var(--bn-colors-menu-text);height:32px;width:60%}
.bn-panel .mantine-Button-root:hover{background-color:var(--bn-colors-hovered-background)}
.bn-panel .mantine-Text-root{text-align:center}
.bn-mantine .bn-table-handle,.bn-mantine .bn-extend-button,.bn-mantine .bn-table-cell-handle{align-items:center;background-color:var(--bn-colors-menu-background);border:var(--bn-border);border-radius:var(--bn-border-radius-small);box-shadow:var(--bn-shadow-light);color:var(--bn-colors-side-menu);cursor:grab;display:flex;height:fit-content;justify-content:center;overflow:visible;padding:0}
.bn-mantine .bn-table-cell-handle{padding:0 4px}
.bn-mantine .bn-table-handle svg{margin-inline:-4px}
.bn-mantine .bn-table-handle-not-draggable{cursor:pointer}
.bn-mantine .bn-table-handle:hover,.bn-mantine .bn-table-handle-dragging,.bn-mantine .bn-extend-button:hover,.bn-mantine .bn-extend-button-editing,.bn-mantine .bn-table-cell-handle:hover{background-color:var(--bn-colors-hovered-background)}
.bn-mantine .bn-extend-button-add-remove-columns{height:100%;width:18px;margin-left:4px;cursor:col-resize}
.bn-mantine .bn-extend-button-add-remove-rows{height:18px;width:100%;margin-top:4px;cursor:row-resize}
.bn-mantine .bn-drag-handle-menu,.bn-mantine .bn-table-handle-menu{overflow:visible}
.bn-mantine .bn-tooltip{background-color:var(--bn-colors-tooltip-background);border:var(--bn-border);border-radius:var(--bn-border-radius-medium);box-shadow:var(--bn-shadow-medium);color:var(--bn-colors-tooltip-text);padding:4px 10px;text-align:center}
.bn-mantine .bn-tick-space{padding:0;width:20px}
.bn-mt-sub-menu-item>.mantine-Menu-itemLabel>div:not(.mantine-Menu-dropdown){align-items:center;display:flex;justify-content:space-between}
.bn-mantine .bn-thread{background-color:var(--bn-colors-menu-background);border:var(--bn-border);border-radius:var(--bn-border-radius-medium);box-shadow:var(--bn-shadow-medium);color:var(--bn-colors-menu-text);display:flex;flex-direction:column;gap:16px;min-width:350px;overflow:visible}
.bn-mantine .bn-threads-sidebar .bn-thread{box-shadow:none}
.bn-mantine .bn-thread:not(.selected){cursor:pointer}
.bn-mantine .bn-thread-comments,.bn-mantine .bn-thread-composer{display:flex;flex-direction:column;margin:0;padding:0}
.bn-mantine .bn-thread-comments{gap:1rem}
.bn-mantine .bn-thread-comment{align-items:flex-start;flex-direction:column;gap:.25rem}
.bn-mantine .bn-thread-comment>.mantine-Group-root{gap:12px}
.bn-mantine .bn-thread-comment p{color:var(--bn-colors-menu-text)}
.bn-mantine .bn-thread .bn-header-text,.bn-mantine .bn-thread-comment .bn-resolved-text{font-size:.8rem;font-style:italic}
.bn-mantine .bn-comment-actions-wrapper{width:100%;display:flex;justify-content:flex-end}
.bn-mantine .bn-action-toolbar{align-self:flex-end;background-color:var(--bn-colors-menu-background);border:var(--bn-border);border-radius:var(--bn-border-radius-medium);gap:0;padding:2px}
.bn-action-toolbar .mantine-Button-root,.bn-action-toolbar .mantine-ActionIcon-root{background-color:var(--bn-colors-menu-background);border:none;border-radius:var(--bn-border-radius-small);color:var(--bn-colors-menu-text)}
.bn-action-toolbar .mantine-Button-root:hover,.bn-action-toolbar .mantine-ActionIcon-root:hover{background-color:var(--bn-colors-hovered-background);border:none;color:var(--bn-colors-hovered-text)}
.bn-action-toolbar .mantine-Button-root[data-selected],.bn-action-toolbar .mantine-ActionIcon-root[data-selected]{background-color:var(--bn-colors-selected-background);border:none;color:var(--bn-colors-selected-text)}
.bn-action-toolbar .mantine-Button-root[data-disabled],.bn-action-toolbar .mantine-ActionIcon-root[data-disabled]{background-color:var(--bn-colors-disabled-background);border:none;color:var(--bn-colors-disabled-text)}
.bn-mantine .bn-action-toolbar .mantine-Menu-itemLabel{font-size:12px}
.bn-mantine .bn-badge-group{display:flex;gap:4px;justify-content:flex-start;width:100%}
.bn-mantine .bn-badge{flex-grow:0}
.bn-mantine .bn-badge .mantine-Chip-label{padding:0 8px}
.bn-mantine .bn-badge .mantine-Chip-label:not([data-checked=true]){background-color:var(--bn-colors-menu-background);border:var(--bn-border);color:var(--bn-colors-menu-text)}
.bn-mantine .bn-badge .mantine-Chip-label:hover{border:1px solid var(--mantine-primary-color-filled-hover);color:var(--mantine-primary-color-filled-hover)}
.bn-mantine .bn-badge .mantine-Chip-label>span:not(.mantine-Chip-iconWrapper){display:inline-flex;gap:4px}
.bn-mantine .bn-badge .mantine-Chip-label>span:not(.mantine-Chip-iconWrapper)>span{align-items:center;display:inline-flex;justify-content:center}
.bn-mantine .bn-badge .mantine-Chip-iconWrapper{display:none}

/* IXO Editor Custom Styles */

.ixo-editor {
  /* Container styles */
  position: relative;
  width: 100%;
  min-height: 200px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ixo-editor .bn-editor {
  /* Centered content with max-width constraint */
  max-width: 900px;
  margin: 0 auto; /* Center the content */
  border-radius: 0px !important;
}

/* Read-only / published page: hide local collaboration cursor decorations */
.ixo-editor--readonly .bn-collaboration-cursor__base,
.ixo-editor--readonly .bn-collaboration-cursor__caret,
.ixo-editor--readonly .bn-collaboration-cursor__label,
.ixo-editor--readonly .ProseMirror-yjs-cursor {
  display: none !important;
}

/* Light theme customizations */
.ixo-editor--theme-light {
  --bn-colors-editor-background: #ffffff;
  --bn-colors-editor-text: #1a1a1a;
  --bn-colors-menu-background: #ffffff;
  --bn-colors-menu-text: #1a1a1a;
  --bn-colors-tooltip-background: #1a1a1a;
  --bn-colors-tooltip-text: #ffffff;
  --bn-colors-hovered-background: #f5f5f5;
  --bn-colors-selected-background: #e6f2ff;
  --bn-colors-border: #e0e0e0;
  --bn-colors-side-menu: #666666;
  --bn-colors-highlight-colors-blue: #3b82f6;
  --bn-colors-highlight-colors-green: #10b981;
  --bn-colors-highlight-colors-red: #ef4444;
  --bn-colors-highlight-colors-yellow: #f59e0b;
  --bn-colors-highlight-colors-purple: #8b5cf6;
}

/* Dark theme customizations */
.ixo-editor--theme-dark {
  --bn-colors-editor-background: #1a1a1a;
  --bn-colors-editor-text: #f0f0f0;
  --bn-colors-menu-background: #2a2a2a;
  --bn-colors-menu-text: #f0f0f0;
  --bn-colors-tooltip-background: #f0f0f0;
  --bn-colors-tooltip-text: #1a1a1a;
  --bn-colors-hovered-background: #2a2a2a;
  --bn-colors-selected-background: color-mix(in srgb, var(--mantine-color-neutralColor-7) 30%, transparent);
  --bn-colors-border: #3a3a3a;
  --bn-colors-side-menu: #999999;
  --bn-colors-highlight-colors-blue: #60a5fa;
  --bn-colors-highlight-colors-green: #34d399;
  --bn-colors-highlight-colors-red: #f87171;
  --bn-colors-highlight-colors-yellow: #fbbf24;
  --bn-colors-highlight-colors-purple: #a78bfa;
}

/* Editor content styles */
.ixo-editor .bn-container {
  border: 1px solid var(--bn-colors-border);
  transition: border-color 0.2s ease;
  border-radius: 0px !important;
}

/* Block styles */
.ixo-editor .bn-block {
  margin-bottom: 0.5em;
}

.ixo-editor .bn-block-content {
  min-height: 1.5em;
}

/* Disable text selection on custom (non-editable) blocks.
   Standard text blocks re-enable it via .bn-inline-content below. */
.ixo-editor div.bn-block-content {
  user-select: none;
}

/* Re-enable text selection inside standard editable block content */
.ixo-editor .bn-inline-content {
  user-select: text;
}

/* Heading styles */
.ixo-editor h1.bn-inline-content {
  font-size: 2em;
  font-weight: 700;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.ixo-editor h2.bn-inline-content {
  font-size: 1.5em;
  font-weight: 600;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.ixo-editor h3.bn-inline-content {
  font-size: 1.25em;
  font-weight: 600;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

/* List styles */
.ixo-editor ul.bn-block-content {
  padding-left: 1.5em;
  list-style-type: disc;
}

.ixo-editor ol.bn-block-content {
  padding-left: 1.5em;
  list-style-type: decimal;
}

/* Code block styles */
.ixo-editor pre.bn-block-content {
  background-color: var(--bn-colors-hovered-background);
  border-radius: 4px;
  padding: 12px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9em;
  overflow-x: auto;
}

.ixo-editor code.bn-inline-content {
  background-color: var(--bn-colors-hovered-background);
  border-radius: 3px;
  padding: 2px 6px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9em;
}

/* Blockquote styles */
.ixo-editor blockquote.bn-block-content {
  border-left: 3px solid var(--bn-colors-border);
  padding-left: 1em;
  margin-left: 0;
  font-style: italic;
  color: var(--bn-colors-side-menu);
}

/* Link styles */
.ixo-editor a.bn-inline-content {
  color: var(--bn-colors-highlight-colors-blue);
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}

.ixo-editor a.bn-inline-content:hover {
  text-decoration: underline;
}

/* Table styles */
.ixo-editor table.bn-block-content {
  border-collapse: collapse;
  width: 100%;
  margin: 1em 0;
}

.ixo-editor table.bn-block-content th,
.ixo-editor table.bn-block-content td {
  border: 1px solid var(--bn-colors-border);
  padding: 8px 12px;
  text-align: left;
}

.ixo-editor table.bn-block-content th {
  background-color: var(--bn-colors-hovered-background);
  font-weight: 600;
}

/* Image styles */
.ixo-editor .bn-image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Placeholder styles */
.ixo-editor .bn-block-content[data-is-empty='true']:before {
  color: var(--bn-colors-side-menu);
  opacity: 0.5;
}

/* Notion-like list title input placeholder */
.notion-list-title-input::placeholder {
  color: #cfcfcf;
  opacity: 1;
}

/* Menu and toolbar customizations */
.ixo-editor .bn-menu {
  border-radius: 8px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.ixo-editor .bn-toolbar {
  border-radius: 6px;
  padding: 4px;
}

/* Animation improvements */
.ixo-editor .bn-block,
.ixo-editor .bn-menu,
.ixo-editor .bn-toolbar {
  animation-duration: 0.2s;
}

/* Selection styles */
.ixo-editor ::selection {
  background-color: var(--bn-colors-selected-background);
  color: var(--bn-colors-editor-text);
}

.ixo-editor--theme-dark ::selection {
  background-color: color-mix(in srgb, var(--mantine-color-neutralColor-7) 30%, transparent) !important;
}

/* Scrollbar styles */
.ixo-editor .bn-container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.ixo-editor .bn-container::-webkit-scrollbar-track {
  background: transparent;
}

.ixo-editor .bn-container::-webkit-scrollbar-thumb {
  background-color: var(--bn-colors-border);
}

.ixo-editor .bn-container::-webkit-scrollbar-thumb:hover {
  background-color: var(--bn-colors-side-menu);
}

/* Utility: hide scrollbar across browsers. Use instead of inline
   `style={{ '&::-webkit-scrollbar': {...} }}`, which React rejects
   because nested selectors aren't valid in a raw DOM `style` prop. */
.ixo-hide-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ixo-hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
  .ixo-editor .bn-editor {
    /* On tablets, keep centered with slightly reduced max-width */
    max-width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .ixo-editor .bn-editor {
    /* On mobile, use full width with standard padding */
    max-width: calc(100% - 32px);
    margin: 0 auto;
  }

  .ixo-editor .bn-container {
    padding: 15px;
  }

  .ixo-editor h1.bn-inline-content {
    font-size: 1.75em;
  }

  .ixo-editor h2.bn-inline-content {
    font-size: 1.35em;
  }

  .ixo-editor h3.bn-inline-content {
    font-size: 1.15em;
  }
}

/* Block presence awareness */
.ixo-block-presence-border {
  transition: border-left-color 200ms ease;
}

.ixo-block-presence-badges {
  position: absolute;
  top: -8px;
  right: 12px;
  display: flex;
  gap: 4px;
  z-index: 10;
  pointer-events: none;
}

.ixo-block-presence-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  overflow: hidden;
}

/* Hide ProseMirror drop cursor ONLY when dragging external artifacts */
body.external-artifact-drag-active .prosemirror-dropcursor-block,
body.external-artifact-drag-active .prosemirror-dropcursor-inline {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
