.tiptap-editor-container{position:relative;width:100%}.tiptap-top-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:3px;padding:4px 8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;margin-bottom:6px;-webkit-user-select:none;user-select:none}.tiptap-top-toolbar .toolbar-btn{background:transparent;border:1px solid transparent;color:#475569;border-radius:4px;padding:3px 6px;font-size:13px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;transition:all .15s ease}.tiptap-top-toolbar .toolbar-btn:hover{background:#e2e8f0;color:#0f172a}.tiptap-top-toolbar .toolbar-btn.is-active{background:#e0f2fe;color:#0284c7;border-color:#bae6fd;font-weight:600}.tiptap-top-toolbar .toolbar-divider{width:1px;height:18px;background:#cbd5e1;margin:0 4px}.tiptap-bubble-menu{position:absolute;top:0;left:0;visibility:hidden;opacity:0;pointer-events:none;display:flex;align-items:center;gap:2px;padding:3px 6px;background:#0f172a;color:#f8fafc;border-radius:7px;box-shadow:0 10px 25px -5px #0006,0 8px 10px -6px #0000004d;border:1px solid rgba(255,255,255,.15);z-index:1000;-webkit-user-select:none;user-select:none;transition:opacity .12s ease-out}.tiptap-bubble-menu .bubble-btn{background:transparent;border:none;color:#94a3b8;border-radius:4px;padding:3px 6px;font-size:13px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:26px;transition:all .15s ease}.tiptap-bubble-menu .bubble-btn:hover{color:#fff;background:#ffffff1f}.tiptap-bubble-menu .bubble-btn.is-active{color:#38bdf8;background:#38bdf833;font-weight:600}.tiptap-bubble-menu .bubble-divider{width:1px;height:16px;background:#ffffff2e;margin:0 3px}.color-picker-dropdown{position:relative;display:inline-flex}.color-popover-menu{position:absolute;top:calc(100% + 5px);left:0;background:#fff;color:#0f172a;border:1px solid #cbd5e1;border-radius:6px;padding:8px;box-shadow:0 10px 25px #0000002e;z-index:1100;min-width:150px}.color-popover-menu.dark-theme{background:#1e293b;color:#f8fafc;border-color:#334155}.color-palette-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin-bottom:8px}.color-swatch-item{width:22px;height:22px;border-radius:3px;border:1px solid rgba(0,0,0,.2);cursor:pointer;transition:transform .1s ease;padding:0}.color-swatch-item:hover{transform:scale(1.18)}.color-popover-footer{display:flex;align-items:center;justify-content:space-between;gap:6px;padding-top:6px;border-top:1px solid #e2e8f0;font-size:11px}.color-popover-menu.dark-theme .color-popover-footer{border-top-color:#334155}.color-input-native{width:22px;height:22px;padding:0;border:none;border-radius:3px;cursor:pointer;background:transparent}.reset-color-btn{background:transparent;border:1px solid #cbd5e1;border-radius:3px;padding:2px 6px;font-size:11px;cursor:pointer;color:inherit}.reset-color-btn:hover{background:#0000000d}.color-popover-menu.dark-theme .reset-color-btn{border-color:#475569}.color-indicator-line{display:block;width:12px;height:2.5px;border-radius:1px;margin-top:1px}.tiptap-prosemirror-target .ProseMirror{outline:none;min-height:24px;padding:4px 0;line-height:1.6;word-break:break-word}.tiptap-prosemirror-target .ProseMirror p{margin:0}.tiptap-prosemirror-target .ProseMirror a{color:#2563eb;text-decoration:underline;cursor:pointer}.tiptap-prosemirror-target .ProseMirror code{background-color:#6366f11a;color:#4f46e5;padding:2px 6px;border-radius:4px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.9em}.tiptap-prosemirror-target .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#94a3b8;pointer-events:none;height:0;font-style:italic}
