/* PC-063. Scoped styles: the shell owns layout, viewport offsets and design tokens. */
.pc-conversation-composer {
  --pc-composer-surface: rgba(39, 27, 58, 0.94);
  --pc-composer-outline: rgba(239, 193, 230, 0.24);
  --pc-composer-text: #faf5fd;
  --pc-composer-muted: #cbbfd4;
  --pc-composer-accent: #e69aca;
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  min-width: 0;
}
.pc-conversation-composer__textarea {
  flex: 1 1 auto;
  min-width: 0;
  box-sizing: border-box;
  display: block;
  resize: none;
  font: inherit;
  font-size: 16px; /* Prevent iOS Safari focus zoom. */
  line-height: 1.45;
  color: var(--pc-composer-text);
  background: var(--pc-composer-surface);
  border: 1px solid var(--pc-composer-outline);
  border-radius: 1.25rem;
  padding: 0.75rem 0.95rem;
  min-height: calc(1.45em + 1.5rem + 2px);
  max-height: calc(1.45em * 6 + 1.5rem + 2px);
  overflow-y: hidden;
  overflow-wrap: anywhere;
  overscroll-behavior: contain;
  outline-offset: 2px;
}
.pc-conversation-composer__textarea::placeholder {
  color: var(--pc-composer-muted);
  opacity: 1;
}
.pc-conversation-composer__textarea:focus-visible,
.pc-conversation-composer__send:focus-visible {
  outline: 2px solid var(--pc-composer-accent);
}
.pc-conversation-composer__send {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  color: #26152f;
  background: var(--pc-composer-accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.pc-conversation-composer__send:disabled {
  opacity: 0.4;
  cursor: default;
}
