.jeng-author-chat { margin: 1.5rem 0; font-family: Georgia, "Times New Roman", serif; }
.jeng-author-ribbon {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem 1.1rem;
  background: linear-gradient(120deg, #1a2332 0%, #2c3e50 55%, #1f6f5b 100%);
  color: #f4f7fb; border-radius: 2px;
}
.jeng-author-ribbon__title { margin: 0; font-size: 1.05rem; letter-spacing: .02em; }
.jeng-author-ribbon__sub { margin: .2rem 0 0; font-size: .78rem; opacity: .85; font-family: system-ui, sans-serif; }
.jeng-author-ribbon__btn {
  border: 1px solid rgba(255,255,255,.35); background: transparent; color: inherit;
  padding: .4rem .9rem; cursor: pointer; font-size: .85rem;
}
.jeng-author-ribbon__btn:hover { background: rgba(255,255,255,.08); }
.jeng-author-panel {
  margin-top: .75rem; border: 1px solid #d7dde5; background: #fbfcfd; padding: 1rem;
}
.jeng-author-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.jeng-author-close { border: 0; background: transparent; cursor: pointer; font-size: 1.2rem; }
.jeng-author-body { max-height: 260px; overflow: auto; margin-bottom: .75rem; }
.jeng-author-bubble { padding: .55rem .75rem; margin: .35rem 0; border-radius: 2px; font-size: .92rem; line-height: 1.4; }
.jeng-author-bubble--user { background: #e8eef5; margin-left: 12%; }
.jeng-author-bubble--assistant { background: #edf7f2; margin-right: 12%; }
.jeng-author-form { display: flex; gap: .5rem; }
.jeng-author-input { flex: 1; padding: .45rem .6rem; border: 1px solid #c9d2dc; }
.jeng-author-form button { padding: .45rem .8rem; background: #1f6f5b; color: #fff; border: 0; cursor: pointer; }
.jeng-author-propose { margin-top: .9rem; padding: .75rem; background: #fff8e8; border: 1px solid #efd9a8; }
.jeng-author-draft { width: 100%; min-height: 90px; margin: .5rem 0; }
.jeng-author-consent { display: flex; gap: .4rem; align-items: flex-start; font-size: .85rem; margin: .5rem 0; }
.jeng-author-publish { background: #2c3e50; color: #fff; border: 0; padding: .45rem .8rem; cursor: pointer; }
.jeng-author-comments { margin-top: 1rem; }
.jeng-author-comment { border-top: 1px solid #e4e9ef; padding: .6rem 0; }
.jeng-author-comment p { white-space: pre-wrap; margin: .35rem 0 0; font-size: .9rem; }
.jeng-author-muted { color: #6b7785; font-size: .85rem; }
.jeng-author-login { color: #8a4b08; font-size: .85rem; margin-top: .5rem; }
@media (max-width: 640px) {
  .jeng-author-ribbon { flex-direction: column; align-items: flex-start; }
  .jeng-author-bubble--user, .jeng-author-bubble--assistant { margin-left: 0; margin-right: 0; }
}