:root{--bg-color:#f8fafc;--text-color:#0f172a;--panel-bg:#fff;--border-color:#e2e8f0;--font-fallback:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji","Segoe UI Symbol","Android Emoji",emoji}.dark,:root.dark,[data-theme=dark],body.dark,html.dark{--bg-color:#0f172a;--text-color:#f1f5f9;--panel-bg:#1e293b;--border-color:#334155}body{background-color:var(--bg-color);color:var(--text-color);font-family:var(--font-fallback);transition:background-color .3s ease,color .3s ease}@media(max-width:768px){.bn-color-picker-dropdown,.bn-drag-handle-menu,.bn-select,.bn-slash-menu,.bn-suggestion-menu,.mantine-Menu-dropdown,.mantine-Popover-dropdown{max-width:calc(100vw - 20px)!important;box-sizing:border-box!important}.bn-editor{padding-top:24px!important;padding-left:48px!important;padding-right:14px!important;padding-inline-start:48px!important;padding-inline-end:14px!important;box-sizing:border-box!important}.bn-side-menu{display:inline-flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;width:auto!important;max-width:none!important;overflow:visible!important;z-index:50!important}.bn-side-menu .mantine-ActionIcon-root,.bn-side-menu button{flex-shrink:0!important}}.mantine-Menu-dropdown.bn-select{min-width:175px!important;max-width:calc(100vw - 24px)!important;max-height:min(340px,50vh)!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;background-color:#fff!important;border:1px solid #cbd5e1!important;border-radius:8px!important;box-shadow:0 10px 25px -5px #00000026,0 8px 10px -6px #0000001a!important;padding:4px!important;z-index:10002!important;box-sizing:border-box!important}.mantine-Menu-dropdown.bn-select[data-direction=upward]{top:auto!important;bottom:calc(100% + 6px)!important;transform-origin:bottom left!important}.mantine-Menu-dropdown.bn-select[data-direction=downward]{top:calc(100% + 6px)!important;bottom:auto!important;transform-origin:top left!important}.mantine-Menu-dropdown.bn-select .mantine-Menu-item{font-size:13px!important;font-weight:500!important;border-radius:6px!important;padding:6px 10px!important;min-height:32px!important;color:#1e293b!important;display:flex!important;align-items:center!important;gap:8px!important;transition:background-color .12s ease!important}.mantine-Menu-dropdown.bn-select .mantine-Menu-item:hover,.mantine-Menu-dropdown.bn-select .mantine-Menu-item[data-hovered]{background-color:#f1f5f9!important;color:#0f172a!important}.dark .mantine-Menu-dropdown.bn-select,[data-mantine-color-scheme=dark] .mantine-Menu-dropdown.bn-select{background-color:#1e293b!important;border:1px solid #475569!important;box-shadow:0 12px 28px -4px #0009,0 8px 10px -6px #0006!important;color:#f1f5f9!important}.dark .mantine-Menu-dropdown.bn-select .mantine-Menu-item,[data-mantine-color-scheme=dark] .mantine-Menu-dropdown.bn-select .mantine-Menu-item{color:#e2e8f0!important}.dark .mantine-Menu-dropdown.bn-select .mantine-Menu-item:hover,.dark .mantine-Menu-dropdown.bn-select .mantine-Menu-item[data-hovered],[data-mantine-color-scheme=dark] .mantine-Menu-dropdown.bn-select .mantine-Menu-item:hover,[data-mantine-color-scheme=dark] .mantine-Menu-dropdown.bn-select .mantine-Menu-item[data-hovered]{background-color:#334155!important;color:#fff!important}.bn-mantine .bn-suggestion-menu,.bn-suggestion-menu{max-width:min(360px,calc(100vw - 24px))!important;max-height:min(340px,48vh)!important;border-radius:10px!important;box-shadow:0 12px 30px -4px #0003,0 4px 6px -2px #0000000d!important}.bn-grid-suggestion-menu,.bn-mantine .bn-grid-suggestion-menu,.bn-mantine .bn-suggestion-menu,.bn-suggestion-menu{overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;box-sizing:border-box!important;z-index:100050!important}.bn-grid-suggestion-menu,.bn-mantine .bn-grid-suggestion-menu{overflow-x:hidden!important;border-radius:12px!important;box-shadow:0 16px 36px -4px #0003,0 4px 8px -2px #0000000f!important}.bn-grid-suggestion-menu-item,.bn-mantine .bn-grid-suggestion-menu-item{font-family:Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,Segoe UI Symbol,Android Emoji,emoji,sans-serif!important;line-height:1!important}.dark .bn-grid-suggestion-menu,.dark .bn-mantine .bn-grid-suggestion-menu,[data-mantine-color-scheme=dark] .bn-grid-suggestion-menu{background-color:#1e293b!important;border:1px solid #475569!important;color:#f8fafc!important}.blocknote-theme-dark .bn-container,.blocknote-theme-dark .bn-editor,.blocknote-theme-dark .bn-mantine,.bn-container[data-color-scheme=dark],.bn-container[data-color-scheme=dark] .bn-editor,.dark .bn-container,.dark .bn-editor,.dark .bn-mantine{background-color:#0f172a!important;color:#f8fafc!important;--bn-colors-editor-background:#0f172a!important;--bn-colors-editor-text:#f8fafc!important;--bn-colors-menu-background:#1e293b!important;--bn-colors-menu-text:#f1f5f9!important;--bn-colors-hovered-background:#334155!important;--bn-colors-hovered-text:#fff!important;--bn-colors-selected-background:#2563eb!important;--bn-colors-selected-text:#fff!important;--bn-colors-side-menu:#94a3b8!important;--bn-colors-border:#334155!important}.dark .bn-block-content,.dark .bn-editor h1,.dark .bn-editor h2,.dark .bn-editor h3,.dark .bn-editor li,.dark .bn-editor p,.dark .bn-inline-content,.dark .bn-table-cell{color:#f8fafc!important}.dark .bn-color-picker-dropdown,.dark .bn-drag-handle-menu,.dark .bn-mantine .bn-suggestion-menu,.dark .bn-slash-menu,.dark .bn-suggestion-menu,.dark .bn-toolbar.bn-formatting-toolbar{background-color:#1e293b!important;border:1px solid #475569!important;color:#f1f5f9!important}.dark .bn-color-picker-dropdown .mantine-Menu-item,.dark .bn-drag-handle-menu .mantine-Menu-item,.dark .bn-mantine .bn-suggestion-menu-item,.dark .bn-suggestion-menu-item,.dark .bn-suggestion-menu-item-subtitle,.dark .bn-suggestion-menu-item-title{color:#f1f5f9!important}.dark .bn-SuggestionMenu-item[data-hovered=true],.dark .bn-color-picker-dropdown .mantine-Menu-item:hover,.dark .bn-drag-handle-menu .mantine-Menu-item:hover,.dark .bn-suggestion-menu-item:hover,.dark .bn-suggestion-menu-item[aria-selected=true]{background-color:#334155!important;color:#fff!important}@media(min-width:769px){.bn-grid-suggestion-menu,.bn-mantine .bn-grid-suggestion-menu{max-width:500px!important;max-height:520px!important;padding:16px!important;gap:6px!important}.bn-grid-suggestion-menu-item,.bn-mantine .bn-grid-suggestion-menu-item{width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;font-size:22px!important;padding:0!important;margin:2px!important;border-radius:8px!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;box-sizing:border-box!important}}@media(max-width:768px){.bn-grid-suggestion-menu,.bn-mantine .bn-grid-suggestion-menu{max-width:min(340px,calc(100vw - 20px))!important;width:-moz-max-content!important;width:max-content!important;max-height:min(290px,44vh)!important;padding:8px!important;gap:4px!important}.bn-grid-suggestion-menu-item,.bn-mantine .bn-grid-suggestion-menu-item{width:28px!important;min-width:28px!important;max-width:28px!important;height:28px!important;font-size:18px!important;padding:0!important;margin:1px!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important}}@media(max-width:480px){.bn-grid-suggestion-menu,.bn-mantine .bn-grid-suggestion-menu{max-width:calc(100vw - 20px)!important;padding:6px!important;gap:3px!important}.bn-grid-suggestion-menu-item,.bn-mantine .bn-grid-suggestion-menu-item{width:27px!important;min-width:27px!important;max-width:27px!important;height:27px!important;font-size:17px!important;margin:1px!important}}html.dark .auth-container,html.dark .canvas-container,html.dark .confirm-container,html.dark .dashboard-layout,html.dark .login-container{background-color:#0b1120!important;color:#f8fafc!important}html.dark .auth-card,html.dark .confirm-card,html.dark .login-card{background-color:#0f172a!important;border-color:#1e293b!important;color:#f8fafc!important}html.dark .auth-card h1,html.dark .confirm-card h2,html.dark .login-card h1{color:#f8fafc!important}html.dark .auth-card .input-group label,html.dark .login-card .input-group label{color:#cbd5e1!important}html.dark .auth-card .input-group input,html.dark .login-card .input-group input{background-color:#1e293b!important;border-color:#334155!important;color:#f8fafc!important}html.dark .sync-loading-overlay{background:radial-gradient(circle at 50% 45%,#0f172afa,#0b1120fc)!important}html.dark .sync-loading-title{color:#f8fafc!important}html.dark .sync-loading-subtitle{color:#94a3b8!important}html.dark .bubble-node.bubble{background:linear-gradient(135deg,#1e3a8ac7,#0f172af2)!important;border-color:#3b82f6!important;color:#dbeafe!important;box-shadow:0 10px 28px #00000073!important}html.dark .bubble-node.bubble .node-name{color:#dbeafe!important}html.dark .bubble-node.article{background:linear-gradient(135deg,#14532dc7,#0f172af2)!important;border-color:#22c55e!important;color:#dcfce7!important;box-shadow:0 10px 28px #00000073!important}html.dark .bubble-node.article .node-name{color:#dcfce7!important}html.dark .settings-modal{background:#0f172a!important;border-color:#334155!important;color:#f8fafc!important;box-shadow:0 25px 50px -12px #000000a6!important}.modal-overlay{background:#0f172a59!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important}.modal-overlay.dark,html.dark .modal-overlay{background:#02061794!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important}.context-menu.dark,html.dark .context-menu{background:#0f172af5!important;border-color:#334155!important;color:#f8fafc!important;box-shadow:0 20px 38px -6px #000000a6,0 0 0 1px #ffffff0f!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important}.context-menu.dark .menu-item,html.dark .context-menu .menu-item{background:transparent!important;color:#e2e8f0!important}.context-menu.dark .menu-item:active,.context-menu.dark .menu-item:hover,html.dark .context-menu .menu-item:active,html.dark .context-menu .menu-item:hover{background:#1e293b!important;color:#fff!important}.context-menu.dark .menu-divider,html.dark .context-menu .menu-divider{background:#334155!important}.context-menu.dark .delete-action,html.dark .context-menu .delete-action{color:#f87171!important}.context-menu.dark .delete-action:active,.context-menu.dark .delete-action:hover,html.dark .context-menu .delete-action:active,html.dark .context-menu .delete-action:hover{background:#ef444433!important;color:#fca5a5!important}.bubble-node.dark .node-menu-btn,html.dark .bubble-node .node-menu-btn{background:#0f172aeb!important;border-color:#94a3b859!important;color:#f1f5f9!important;box-shadow:0 2px 8px #0006!important}.bubble-node.dark .node-menu-btn:active,.bubble-node.dark .node-menu-btn:focus,.bubble-node.dark .node-menu-btn:hover,html.dark .bubble-node .node-menu-btn:active,html.dark .bubble-node .node-menu-btn:focus,html.dark .bubble-node .node-menu-btn:hover{background:#1e293b!important;border-color:#60a5fa!important;color:#fff!important}.workspace-tree-container.dark .tree-options-btn,html.dark .tree-options-btn{background:#1e293bd9!important;border-color:#475569!important;color:#e2e8f0!important}.workspace-tree-container.dark .tree-options-btn:active,.workspace-tree-container.dark .tree-options-btn:focus,.workspace-tree-container.dark .tree-options-btn:hover,html.dark .tree-options-btn:active,html.dark .tree-options-btn:focus,html.dark .tree-options-btn:hover{background:#334155!important;border-color:#60a5fa!important;color:#fff!important}html.dark .max-tree-box,html.dark .modal-box,html.dark .modern-creator-card,html.dark .modern-insert-card{background:#0f172a!important;border-color:#334155!important;color:#f8fafc!important;box-shadow:0 25px 50px -12px #000000a6!important}html.dark .creator-header-text h3,html.dark .max-tree-box h3,html.dark .modern-insert-card h3{color:#f8fafc!important}html.dark .creator-subtitle,html.dark .insert-description,html.dark .max-tree-box .sub-label{color:#94a3b8!important}html.dark .creator-input{color:#f8fafc!important}html.dark .creator-input,html.dark .directory-tree-view{background:#1e293b!important;border-color:#334155!important}html.dark .directory-tree-view .tree-row{color:#cbd5e1!important}html.dark .directory-tree-view .tree-row:hover:not(.disabled-row){background:#334155!important;color:#fff!important}html.dark .directory-tree-view .tree-row.selected{background:#3b82f640!important;color:#93c5fd!important;border-left-color:#60a5fa!important}html.dark .settings-modal .modal-header h3{color:#f8fafc!important}html.dark .settings-modal .setting-label{color:#f1f5f9!important}html.dark .settings-modal .setting-desc{color:#94a3b8!important}html.dark .settings-modal .setting-row{border-bottom-color:#334155!important}html.dark .settings-modal .toggle-btn{background:#1e293b!important;border-color:#475569!important;color:#e2e8f0!important}html.dark .settings-modal .toggle-btn.active{background:#3b82f6!important;border-color:#3b82f6!important;color:#fff!important}html.dark .settings-modal .action-btn{background:#1e293b!important;border-color:#475569!important;color:#f1f5f9!important}html.dark .mobile-action-bar{background:transparent!important;border:none!important;box-shadow:none!important}html.dark .mobile-fab-btn{background:linear-gradient(135deg,#1e293b,#0f172a)!important;color:#60a5fa!important;border:1.5px solid #3b82f6!important;box-shadow:0 10px 25px -4px #000000a6,0 0 14px #3b82f640!important}html.dark .mobile-fab-btn.active{background:#334155!important;color:#f8fafc!important;border-color:#64748b!important}html.dark .mobile-fab-menu{background:#0f172a!important;border-color:#334155!important}.bn-emoji-picker-popover,.mantine-Popover-dropdown:has(.bn-emoji-picker),.mantine-Popover-dropdown:has(em-emoji-picker){max-width:min(352px,calc(100vw - 16px))!important;box-sizing:border-box!important;z-index:100050!important;overflow:hidden!important;border-radius:12px!important}.bn-root em-emoji-picker,em-emoji-picker{max-width:min(352px,calc(100vw - 16px))!important;box-sizing:border-box!important}:root{--bg-color:#f8fafc;--panel-bg:#fff;--text-color:#0f172a;--border-color:#e2e8f0}.dark,:root.dark,[data-theme=dark],body.dark,html.dark{--bg-color:#0b1120;--panel-bg:#0f172a;--text-color:#f8fafc;--border-color:#1e293b}body,html{margin:0;padding:0;width:100%;height:100%;background-color:var(--bg-color);color:var(--text-color);font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;transition:background-color .3s ease,color .3s ease}.app-root-wrapper{width:100%;height:100%;position:relative}*,:after,:before{box-sizing:border-box}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid #2563eb;outline-offset:2px}:root.dark a:focus-visible,:root.dark button:focus-visible,:root.dark input:focus-visible{outline-color:#60a5fa}
