/* AI quote chat (home page hero) */
.rrm-chat{background:#fff;color:#14213d;border-radius:22px;box-shadow:0 30px 70px rgba(5,12,32,.45);overflow:hidden;text-align:left;width:100%;font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif}
.rrm-chat-head{display:flex;align-items:center;gap:12px;padding:16px 20px;background:linear-gradient(135deg,#13295c,#1f46a8);color:#fff}
.rrm-avatar{width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;flex:none;position:relative}
.rrm-avatar svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rrm-avatar:after{content:"";position:absolute;right:0;bottom:0;width:11px;height:11px;border-radius:50%;background:#35d58a;border:2px solid #1b3a8a}
.rrm-chat-head strong{display:block;font-size:16px;line-height:1.2;color:#fff;font-weight:800}
.rrm-chat-head small{display:block;color:#bcd0ff;font-size:12.5px;margin-top:2px}
.rrm-msgs{height:300px;overflow-y:auto;padding:18px 18px 8px;background:#f4f7fd;scroll-behavior:smooth}
.rrm-msg{display:flex;margin:0 0 12px}
.rrm-msg .rrm-bubble{max-width:84%;padding:11px 15px;border-radius:18px;font-size:15.5px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}
.rrm-msg.bot .rrm-bubble{background:#fff;border:1px solid #e4e9f2;border-top-left-radius:6px;box-shadow:0 2px 6px rgba(11,27,63,.05)}
.rrm-msg.user{justify-content:flex-end}
.rrm-msg.user .rrm-bubble{background:linear-gradient(135deg,#1f46a8,#2f6bff);color:#fff;border-top-right-radius:6px}
.rrm-msg.note .rrm-bubble{background:#fff8e6;border:1px solid #f3e0a2;font-size:14.5px}
.rrm-msg .rrm-bubble a{color:#2f6bff;text-decoration:underline}
.rrm-msg .rrm-bubble button{margin-top:10px;border:0;background:#0b1b3f;color:#fff;padding:9px 16px;border-radius:999px;font-size:14px;font-weight:700;cursor:pointer;font-family:inherit}
.rrm-typing span{display:inline-block;width:7px;height:7px;margin:0 2px;border-radius:50%;background:#94a3b8;animation:rrmBlink 1.2s infinite}
.rrm-typing span:nth-child(2){animation-delay:.2s}
.rrm-typing span:nth-child(3){animation-delay:.4s}
@keyframes rrmBlink{0%,80%,100%{opacity:.25}40%{opacity:1}}
.rrm-chips{display:flex;flex-wrap:wrap;gap:8px;padding:4px 18px 16px;background:#f4f7fd}
.rrm-chips button{border:1px solid #c9d7f5;background:#fff;color:#1f46a8;border-radius:999px;padding:8px 15px;font-size:14px;font-weight:700;cursor:pointer;font-family:inherit;transition:all .15s}
.rrm-chips button:hover{background:#1f46a8;border-color:#1f46a8;color:#fff}
.rrm-input{display:flex;gap:10px;padding:14px 18px;border-top:1px solid #e4e9f2;background:#fff;margin:0}
.rrm-input input{flex:1;min-width:0;border:1px solid #d5ddec;border-radius:999px;padding:12px 18px;font-size:16px;color:#14213d;background:#f8faff;font-family:inherit;height:auto}
.rrm-input input:focus{outline:none;border-color:#2f6bff;background:#fff;box-shadow:0 0 0 3px rgba(47,107,255,.15)}
.rrm-input button{border:0;border-radius:999px;background:#f26b1d;color:#fff;font-weight:800;padding:0 24px;font-size:15px;cursor:pointer;font-family:inherit;transition:background .15s}
.rrm-input button:hover{background:#d85a10}
.rrm-input button:disabled{background:#f5b48c;cursor:default}
.rrm-foot{margin:0;padding:2px 20px 16px;background:#fff;font-size:12px;color:#6b7690;line-height:1.5}
.rrm-foot a{color:#2f6bff;text-decoration:underline}
@media (max-width:767px){
  .rrm-chat{border-radius:18px}
  .rrm-msgs{height:250px}
  .rrm-msg .rrm-bubble{max-width:90%}
  .rrm-chat-head{padding:14px 16px}
}
