.boulevard-chat-link { width: fit-content; margin-top: 14px; }
.chat-unread { border-radius: 999px; padding: 4px 8px; background: var(--blue-soft); color: var(--blue); font-size: 11px; }
.chat-main { max-width: 820px; }
.chat-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.chat-heading h1 { margin: 0; font-size: clamp(24px, 5vw, 34px); letter-spacing: -.025em; }
.chat-status { color: var(--muted); font-size: 14px; margin: 12px 0; }
.chat-status:empty, .chat-form .form-error:empty { display: none; }
.chat-messages { display: grid; gap: 10px; max-height: min(52dvh, 520px); overflow-y: auto; padding: 10px 4px; }
.chat-message { width: fit-content; max-width: 90%; padding: 10px 14px; border-radius: 12px; background: var(--paper); overflow-wrap: anywhere; }
.chat-message.own { justify-self: end; background: var(--blue-soft); }
.chat-message header { display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; font-size: 13px; }
.chat-message time { color: var(--muted); font-size: 12px; }
.chat-message p { margin: 6px 0 0; white-space: pre-wrap; }
.chat-form { display: grid; gap: 8px; margin-top: 14px; }
.chat-form label { font-weight: 750; }
.chat-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px; resize: vertical; }
.chat-form .save-button { justify-self: end; }
