:root { --accent: #8ce99a; --glow: rgba(140, 233, 154, 0.45); --accent-ink: #0b2e12; }
.msg { border-radius: 18px; padding: 14px 18px; font-size: 19px; line-height: 1.35; background: var(--surface); border: 2px solid transparent; max-width: 92%; white-space: pre-wrap; word-wrap: break-word; flex-shrink: 0; }
.msg.me { align-self: flex-end; background: #1f3b2a; }
.msg.ai { align-self: flex-start; }
.msg.err { background: #3a1a1a; color: #ffb3b3; }
.msg.thinking { color: var(--muted); font-style: italic; }
.msg.focusable:focus { border-color: var(--accent); box-shadow: 0 0 20px var(--glow); }
