.cw-chat-copy strong { font-weight: 750; color: var(--ink); }
.cw-chat-copy.cw-typing::after {
  content: '▍';
  display: inline-block;
  color: var(--accent-text);
  animation: cw-caret 0.8s steps(1, end) infinite;
}
@keyframes cw-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .cw-chat-copy.cw-typing::after { animation: none; }
}

/* One aligned composer: equal control heights, a compact textarea and a centered plus. */
.cw-conversation .cw-compose {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 18px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.cw-conversation .cw-compose:focus-within {
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px rgba(166, 245, 66, .22);
}
.cw-conversation .cw-compose > .icon-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  line-height: 1;
  font-size: 1.55rem;
  font-weight: 400;
  align-self: center;
}
.cw-conversation .cw-compose textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 54px;
  min-height: 54px;
  max-height: 144px;
  padding: 14px 6px;
  margin: 0;
  overflow-y: auto;
  resize: none;
  line-height: 1.4;
  border: 0;
  outline: none;
  box-shadow: none;
}
.cw-conversation .cw-compose textarea:focus-visible { outline: none; box-shadow: none; }
.cw-conversation .cw-compose > .btn {
  min-height: 48px;
  margin: 0;
  padding: 10px 22px;
  white-space: nowrap;
  align-self: center;
}
@media (max-width: 580px) {
  .cw-conversation .cw-compose { grid-template-columns: 44px minmax(0, 1fr); gap: 8px; padding: 8px; }
  .cw-conversation .cw-compose > .icon-button { width: 44px; height: 44px; }
  .cw-conversation .cw-compose textarea { min-height: 52px; height: 52px; }
  .cw-conversation .cw-compose > .btn { grid-column: 2; justify-self: end; }
}
