.conceptnote-blocknote .bn-container,.conceptnote-blocknote .bn-editor{--bn-colors-editor-background: var(--gb-background-normal, #fff);--bn-colors-editor-text: var(--fgColor-default, var(--gb-fg-normal, #111827));--bn-colors-side-menu: var(--gb-fg-alternative, #667085);background:var(--gb-background-normal, #fff)!important;color:inherit;font-family:inherit}.conceptnote-blocknote .bn-editor{padding:0}.conceptnote-blocknote .bn-block,.conceptnote-blocknote .bn-block-content{background:transparent!important}.conceptnote-blocknote--reading .bn-block{padding:0;border-radius:0}.conceptnote-blocknote--reading .bn-block-content{padding:0}.conceptnote-source-block{width:100%;-webkit-user-select:text;-moz-user-select:text;user-select:text}.conceptnote-blocknote--editing .bn-editor{display:flow-root;padding:0}.conceptnote-blocknote--editing .bn-block{padding:0;border-radius:0}.conceptnote-blocknote--editing .bn-block-content{padding:0}.conceptnote-blocknote--editing .bn-block-content[data-content-type]{font-family:inherit;font-size:inherit!important;line-height:inherit;font-weight:inherit!important}.conceptnote-blocknote--editing .bn-inline-content p{display:inline;margin:0}.conceptMarkdown--note .conceptnote-blocknote--editing .bn-block-outer{line-height:1.9}.conceptnote-blocknote--editing .bn-block-content>:is(p,h1,h2,h3).bn-inline-content{white-space:normal;overflow-wrap:anywhere}.conceptnote-blocknote--editing .bn-block-content>:is(p,h1,h2,h3,blockquote).bn-inline-content,.conceptnote-blocknote--editing .bn-block-content>:is(.conceptnote-direct-source,blockquote,h4,h5,h6){margin-block:0}.conceptnote-blocknote--editing .bn-block-outer:has(>.bn-block>.bn-block-content:is([data-content-type=paragraph],[data-content-type=conceptSource],[data-content-type=quote],[data-content-type=conceptQuote])){margin-block:0 var(--base-size-16)}.conceptnote-blocknote--editing .bn-block-outer:has(>.bn-block>.bn-block-content>h1){margin-block:1.34em}.conceptnote-blocknote--editing .bn-block-outer:has(>.bn-block>.bn-block-content>h2){margin-block:var(--base-size-16)}.conceptnote-blocknote--editing .bn-block-outer:has(>.bn-block>.bn-block-content>:is(h3,h4,h5,h6)){margin-block:var(--base-size-16) 0}.conceptnote-blocknote--editing .bn-block-content:is([data-content-type=bulletListItem],[data-content-type=numberedListItem],[data-content-type=checkListItem])>.bn-inline-content{margin:0}.conceptnote-blocknote--editing .bn-block-outer:has(>.bn-block>.bn-block-content:is([data-content-type=bulletListItem],[data-content-type=numberedListItem],[data-content-type=checkListItem])){margin-block:0 var(--base-size-16)}.conceptnote-blocknote--editing .bn-block-outer:has(>.bn-block>[data-content-type=bulletListItem]):has(+.bn-block-outer>.bn-block>[data-content-type=bulletListItem]),.conceptnote-blocknote--editing .bn-block-outer:has(>.bn-block>[data-content-type=numberedListItem]):has(+.bn-block-outer>.bn-block>[data-content-type=numberedListItem]),.conceptnote-blocknote--editing .bn-block-outer:has(>.bn-block>[data-content-type=checkListItem]):has(+.bn-block-outer>.bn-block>[data-content-type=checkListItem]){margin-bottom:.25em}.conceptnote-blocknote--editing [data-content-type=bulletListItem]:before{flex:0 0 1.5em;text-align:right}.conceptnote-blocknote--editing [data-content-type=numberedListItem]:before{flex:0 0 calc(1.75rem - .5em);text-align:right}.conceptnote-blocknote--editing .bn-block-group .bn-block-group{margin-left:2em}.conceptnote-blocknote--editing .bn-block:has(>.bn-block-content:is([data-content-type=bulletListItem],[data-content-type=numberedListItem],[data-content-type=checkListItem]))>.bn-block-group>.bn-block-outer:last-child{margin-bottom:0}.conceptnote-editor-actions{display:flex;justify-content:flex-end;gap:8px;margin-bottom:16px}.conceptnote-editor-actions--toolbar{align-items:center;gap:6px;margin-bottom:0}.conceptnote-editor-actions button{min-height:40px;padding:8px 14px;border-radius:6px;border:1px solid var(--gb-border-alternative, #d1d5db);background:var(--gb-fill-normal, #fff);color:var(--gb-fg-normal, #111827);font:inherit;font-size:14px;cursor:pointer}.conceptnote-editor-actions .conceptnote-editor-save{background:var(--gb-fill-primary-normal, #3575ea);color:#fff}.conceptnote-editor-actions--toolbar button{min-height:32px;height:32px;padding:4px 8px}.conceptnote-editor-actions .conceptnote-editor-edit{display:inline-flex;align-items:center;justify-content:center;width:32px;min-height:32px;height:32px;padding:0}.conceptnote-editor-actions button:disabled{cursor:wait;opacity:.6}.conceptnote-editor-actions button:focus-visible{outline:2px solid #3575ea;outline-offset:2px}.conceptnote-editor-error{color:var(--gb-fg-danger, #dc2626);font-size:14px}.conceptnote-editor-overlay{--bn-colors-menu-text: var(--gb-fg-normal, #111827);--bn-colors-menu-background: var(--gb-fill-normal, #fff);--bn-colors-hovered-text: var(--gb-fg-normal, #111827);--bn-colors-hovered-background: var(--gb-fill-normal-hover, #f3f4f6);--bn-colors-border: var(--gb-border-alternative, #d1d5db)}.conceptnote-direct-source{width:100%;white-space:pre-wrap}.conceptnote-direct-token{white-space:pre-wrap}.conceptnote-page-reference{display:inline;white-space:normal}.conceptnote-blocknote--editing .bn-block:has(>.node-conceptTutor){margin:0}.conceptnote-blocknote--editing .bn-block-outer:has(>.bn-block>.node-conceptTutor){margin:18px 0}.conceptnote-blocknote--editing .conceptnote-tutor-header{line-height:1.5}.conceptnote-blocknote--editing .bn-block:has(>.node-conceptTutor)>.bn-block-group{margin:8px 0 0;border-left:2px solid #D0D5DD;padding:10px 0 12px 22px}.conceptnote-blocknote--editing .bn-block:has(>.node-conceptTutor)>.bn-block-group>.bn-block-outer:before{display:none}.conceptnote-blocknote--editing .bn-block:has(>.node-conceptTutor)>.bn-block-group>.bn-block-outer:first-child{margin-top:0}.conceptnote-blocknote--editing .bn-block:has(>.node-conceptTutor)>.bn-block-group>.bn-block-outer:last-child{margin-bottom:0}.dark .conceptnote-blocknote--editing .bn-block:has(>.node-conceptTutor)>.bn-block-group{border-left-color:#4b5563}.conceptnote-blocknote--editing .bn-block:has(>.node-conceptTutor [data-collapsed=true])>.bn-block-group{display:none}
