.samr-chat{max-width:760px;margin:24px auto;background:#fff;border:1px solid #dce7de;border-radius:20px;overflow:hidden;text-align:start;color:#173b2a}
.samr-chat header,.samr-chat form,.samr-chat footer{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#fff}
.samr-chat header{border-bottom:1px solid #dce7de}
.samr-chat header h2,.samr-chat header p{margin:0}
.samr-chat header p,.samr-chat footer span{font-size:.84rem;color:#425b4d}
.samr-chat-avatar{display:grid;place-items:center;inline-size:42px;block-size:42px;border-radius:50%;background:#184d37;color:white;font-weight:700}
.samr-chat-log{height:clamp(270px,51vh,570px);overflow:auto;padding:16px;background:#f0f5ef;display:flex;flex-direction:column;gap:12px}
.samr-chat-log p{margin:0;padding:10px 14px;max-width:85%;width:max-content;border-radius:16px;background:#fff;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}
.samr-chat-log .samr-chat-user{align-self:end;background:#d7ebdf}
.samr-chat-links{display:flex;overflow:auto;gap:7px;padding:10px 12px;background:#f0f5ef}
.samr-chat-links button,.samr-chat-links .samr-chat-phone{flex:none;white-space:nowrap;background:#fff;color:#184d37;border:1px solid #c7dbcd;border-radius:30px;padding:7px 11px;text-decoration:none}
.samr-chat-links button:first-child,.samr-chat form button{background:#184d37;color:white}
.samr-chat-input{flex:1;min-width:0}
.samr-chat-input input{width:100%;border-radius:22px;padding:10px 14px}
.samr-chat footer{justify-content:space-between;flex-wrap:wrap;border-top:1px solid #eef2ee;text-align:start}
.samr-chat-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

.samr-chat-questions{display:flex;overflow:auto;gap:7px;padding:6px 12px;background:#f0f5ef}
.samr-chat-questions[hidden]{display:none}
.samr-chat-questions button{flex:none;white-space:nowrap;background:#fff;color:#184d37;border:1px solid #c7dbcd;border-radius:20px;padding:7px 11px}
.samr-chat-answer-link{display:block;margin-top:8px;background:#184d37;color:#fff;border-radius:20px;padding:6px 12px}
