
.tiptap-editor {
  width: 100%;
}
.tiptap-editor--disabled {
  opacity: 0.5;
  pointer-events: none;
}
.tiptap-toolbar {
  display: flex;
  gap: 4px;
  padding: 8px;
  border: 1px solid #d1d5db;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  background-color: #f9fafb;
}
.tiptap-toolbar__btn {
  padding: 4px 8px;
  border: none;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.4;
  color: #374151;
}
.tiptap-toolbar__btn:hover {
  background-color: #e5e7eb;
}
.tiptap-toolbar__btn--active {
  background-color: #d1d5db;
}
.tiptap-toolbar__btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.tiptap-content {
  border: 1px solid #d1d5db;
  border-radius: 0 0 6px 6px;
  padding: 12px;
  min-height: 120px;
}
.tiptap-content .tiptap {
  outline: none;
  min-height: 96px;
}
.tiptap-content .tiptap p {
  margin: 0 0 0.5em 0;
}
.tiptap-content .tiptap p:last-child {
  margin-bottom: 0;
}
.tiptap-content .tiptap ul,
.tiptap-content .tiptap ol {
  padding-left: 1.5em;
  margin: 0.5em 0;
}
.tiptap-content .tiptap p.is-editor-empty:first-child::before {
  content: attr(data-placeholder);
  float: left;
  color: #9ca3af;
  pointer-events: none;
  height: 0;
}
