.rich-editor {
  min-height: 1.2em; /* approx one line height */
  overflow-y: hidden; /* hide scrollbar */
  resize: none; /* optional: prevent manual resize */
}
.editor-counter {
  font-size: 0.85rem;
  color: #666;
}
#snippet-suggestions {
  font-size: 14px;
  min-width: 200px;
  max-width: 500px;
  max-height: 200px;
  overflow-y: auto;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  z-index: 9999;
}
#snippet-suggestions li {
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}
#snippet-suggestions li:hover,
#snippet-suggestions li.active {
  background: #f0f0f0;
}
#snippet-suggestions .code {
  font-weight: bold;
  color: #333;
}
#snippet-suggestions .phrase {
  color: #666;
  margin-left: 1rem;
  flex: 1;
}
/* === Toolbar Compression Mode === */
[data-toolbar="true"] .btn-toolbar {
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
}

[data-toolbar="true"] .btn-group,
[data-toolbar="true"] .form-select {
  margin-right: 0.25rem !important;
  margin-bottom: 0.25rem !important;
}

[data-toolbar="true"] .btn-sm {
  padding: 0.15rem 0.35rem !important;
  font-size: 0.75rem !important;
  line-height: 1.2;
}

[data-toolbar="true"] select.form-select-sm {
  padding: 0.15rem 0.35rem;
  font-size: 0.75rem;
  height: auto;
}

/* 🔧 Hide select dropdown arrows ONLY in toolbar */
.editor-block .editor-toolbar select.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none !important;
  padding-right: 0.5rem;
}

