/* Sidebar menu polish — keep labels on one line and clear of the
   submenu expand arrow. */

.custom-menu .ant-menu-title-content {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Reserve room on the right of the submenu row for the caret */
.custom-menu > .ant-menu-submenu > .ant-menu-submenu-title {
  padding-right: 36px !important;
}

/* Vertically-centered caret with a comfortable inset from the edge */
.custom-menu .ant-menu-submenu-arrow {
  inset-inline-end: 16px;
}

/* Submenu children sit a touch inset, full width for their labels */
.custom-menu .ant-menu-sub .ant-menu-item {
  padding-right: 12px !important;
}
.rte-wrap { border: 1px solid #d9d9d9; border-radius: 6px; overflow: hidden; }
.rte-wrap:focus-within { border-color: #e27e56; box-shadow: 0 0 0 2px rgba(226,126,86,0.12); }
.rte-toolbar { padding: 4px 6px; border-bottom: 1px solid #f0f0f0; background: #fafafa; }
.rte-content { min-height: 120px; padding: 8px 12px; outline: none; font-size: 14px; line-height: 1.6; }
.rte-content:empty:before { content: attr(data-placeholder); color: #bfbfbf; }
.rte-content ul, .rte-content ol { padding-left: 22px; margin: 4px 0; }
/* Rendered notes (read-only) */
.rte-render ul, .rte-render ol { padding-left: 22px; margin: 4px 0; }
.rte-render p { margin: 0 0 6px; }
