/* Mini éditeur riche — pour le builder Palmira */
.re-wrap {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(180,140,210,0.2);
  border-radius: 10px;
  overflow: hidden;
  transition: border 0.15s, box-shadow 0.15s;
}
.re-wrap:focus-within {
  border-color: #a87dd6;
  box-shadow: 0 0 0 3px rgba(168,125,214,0.15);
}

.re-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(168,125,214,0.06);
  border-bottom: 1px solid rgba(180,140,210,0.12);
}

.re-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(180,140,210,0.18);
  color: #ede6ff;
  border-radius: 6px;
  padding: 5px 12px;
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  line-height: 1.2;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s;
}
.re-btn:hover {
  background: rgba(168,125,214,0.18);
  border-color: #a87dd6;
}
.re-btn:active { transform: translateY(1px); }
.re-btn-insert {
  font-size: 0.82rem;
  background: rgba(168,125,214,0.1);
  border-color: rgba(168,125,214,0.3);
}
.re-btn-insert::before { content:'+ '; opacity: 0.7; }

.re-editor {
  min-height: 48px;
  padding: 12px 14px;
  color: #ede6ff;
  font-family: inherit;
  font-size: 0.96rem;
  line-height: 1.7;
  outline: none;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.re-editor.re-oneline {
  min-height: 36px;
  white-space: nowrap;
  overflow-x: auto;
}
.re-editor:empty::before {
  content: attr(data-placeholder);
  color: rgba(180,140,210,0.4);
  font-style: italic;
  pointer-events: none;
}
.re-editor em { color: #c4a3e0; font-style: italic; }
.re-editor strong { color: #ede6ff; font-weight: 600; }

.re-hint {
  font-size: 0.82rem;
  color: #a896c0;
  margin: 8px 0 0;
  line-height: 1.5;
  font-style: italic;
  opacity: 0.85;
}
