.xb-editor{display:flex;flex-direction:column;border:1px solid rgb(var(--c-line));border-radius:.5rem;background:rgb(var(--c-surface));overflow:hidden}.xb-editor:focus-within{outline:2px solid rgb(var(--brand-accent-rgb)/.35);outline-offset:1px}.xb-editor__toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:1px;padding:.375rem .5rem;border-bottom:1px solid rgb(var(--c-line));background:rgb(var(--c-bg))}.xb-editor__toolbar-btn{display:inline-flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;padding:0 .375rem;border:none;border-radius:.25rem;background:transparent;color:rgb(var(--c-ink-soft));font-size:.875rem;font-weight:500;cursor:pointer;transition:background .12s,color .12s;font-family:inherit;line-height:1}.xb-editor__toolbar-btn:hover{background:rgb(var(--c-sunk));color:rgb(var(--c-ink))}.xb-editor__toolbar-btn--active{background:rgb(var(--brand-accent-rgb)/.12);color:rgb(var(--brand-accent-rgb))}.xb-editor__toolbar-btn:disabled{opacity:.35;cursor:not-allowed}.xb-editor__toolbar-divider{display:inline-block;width:1px;height:1.25rem;background:rgb(var(--c-line));margin:0 .25rem;flex-shrink:0}.xb-editor__u{text-decoration:underline;text-underline-offset:2px}.xb-editor__content{flex:1;padding:.75rem 1rem;min-height:8rem;overflow-y:auto}.xb-editor__content .ProseMirror{outline:none;color:rgb(var(--c-ink));font-size:.9375rem;line-height:1.65}.xb-editor__content .ProseMirror ::-moz-selection{background:rgb(var(--brand-accent-rgb)/.18)}.xb-editor__content .ProseMirror ::selection{background:rgb(var(--brand-accent-rgb)/.18)}.xb-editor__content .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:rgb(var(--c-ink-faint));pointer-events:none;float:left;height:0}.xb-editor__content .ProseMirror h1{font-size:1.5rem;font-weight:700;line-height:1.25;margin:1.25rem 0 .5rem;color:rgb(var(--c-ink));letter-spacing:-.02em}.xb-editor__content .ProseMirror h2{font-size:1.25rem;font-weight:600;line-height:1.3;margin:1rem 0 .375rem;color:rgb(var(--c-ink))}.xb-editor__content .ProseMirror h3{font-size:1.0625rem;font-weight:600;line-height:1.35;margin:.875rem 0 .25rem;color:rgb(var(--c-ink))}.xb-editor__content .ProseMirror p{margin:.25rem 0}.xb-editor__content .ProseMirror p+p{margin-top:.5rem}.xb-editor__content .ProseMirror ol,.xb-editor__content .ProseMirror ul{padding-left:1.5rem;margin:.375rem 0}.xb-editor__content .ProseMirror li+li{margin-top:.125rem}.xb-editor__content .ProseMirror a{color:rgb(var(--brand-accent-rgb));text-decoration:underline;text-underline-offset:2px;cursor:pointer}.xb-editor__content .ProseMirror s{opacity:.6}.xb-editor__content .ProseMirror table{border-collapse:collapse;width:100%;margin:.75rem 0;font-size:.875rem;table-layout:fixed}.xb-editor__content .ProseMirror td,.xb-editor__content .ProseMirror th{border:1px solid rgb(var(--c-line));padding:.375rem .625rem;vertical-align:top;position:relative}.xb-editor__content .ProseMirror th{background:rgb(var(--c-sunk));font-weight:600;text-align:left;color:rgb(var(--c-ink))}.xb-editor__content .ProseMirror .selectedCell:after{content:"";position:absolute;inset:0;background:rgb(var(--brand-accent-rgb)/.08);pointer-events:none;z-index:2}.xb-editor__content .ProseMirror .column-resize-handle{position:absolute;right:-2px;top:0;bottom:-2px;width:4px;background:rgb(var(--brand-accent-rgb));pointer-events:none}.xb-editor__content .ProseMirror .mention{background:rgb(var(--brand-accent-rgb)/.1);color:rgb(var(--brand-accent-rgb));border-radius:.25rem;padding:.0625rem .375rem;font-size:.875rem;font-weight:500;white-space:nowrap}.xb-editor--readonly .xb-editor__content .ProseMirror{cursor:default}.xb-editor--readonly:focus-within{outline:none}.xb-editor__suggestions{background:rgb(var(--c-surface));border:1px solid rgb(var(--c-line));border-radius:.375rem;box-shadow:0 4px 16px rgb(0 0 0/.12);overflow:hidden;min-width:10rem;max-height:16rem;overflow-y:auto}.xb-editor__suggestion-item{display:block;width:100%;padding:.375rem .75rem;font-size:.875rem;color:rgb(var(--c-ink));background:transparent;border:none;text-align:left;cursor:pointer;font-family:inherit;transition:background 80ms}.xb-editor__suggestion-item--selected,.xb-editor__suggestion-item:hover{background:rgb(var(--c-sunk))}