
.egw-editor { border: 1px solid #cbd5e1; border-radius: .5rem; overflow: hidden; background: #fff; }
.egw-editor:focus-within { border-color: var(--gcep-color-primary, #2563eb); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.egw-editor__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 6px; border-bottom: 1px solid #e2e8f0; background: #f8fafc; }
.egw-editor__toolbar button { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; border: 0; background: transparent; color: #475569; cursor: pointer; font-size: .9rem; }
.egw-editor__toolbar button:hover { background: #e2e8f0; color: #0f172a; }
.egw-editor__area { min-height: 9rem; max-height: 22rem; overflow-y: auto; padding: .85rem; font-size: .9rem; color: #0f172a; line-height: 1.6; outline: none; }
.egw-editor__area:empty:before { content: attr(data-placeholder); color: #94a3b8; pointer-events: none; }
.egw-editor__area p { margin: 0 0 .6rem; }
.egw-editor__area h3 { font-size: 1rem; font-weight: 700; margin: .4rem 0; }
.egw-editor__area ul { list-style: disc; padding-left: 1.25rem; margin: 0 0 .6rem; }

.egw-term{display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .4rem .3rem .75rem;border-radius:9999px;background:#eef2f7;color:#334155;font-size:.75rem;font-weight:600;line-height:1.2;}
.egw-term-del{display:inline-flex;align-items:center;justify-content:center;width:1.2rem;height:1.2rem;border-radius:9999px;color:#94a3b8;background:transparent;border:0;cursor:pointer;flex:0 0 auto;}
.egw-term-del:hover{background:#fee2e2;color:#dc2626;}
.egw-term-del .material-symbols-outlined{font-size:15px;}
