/* v362 Steel & Stud chatbot: extends the theme's chat design (.chatw / .chat-p / .cmsg in theme.css) */
.ssbot .chat-p{max-height:min(600px,74vh)}
.ssbot .chat-h,.ssbot .chat-chips,.ssbot .chat-f{flex-shrink:0}
.ssbot .chat-b{min-height:120px}
.ssbot .chat-h small{flex-wrap:wrap;line-height:1.3}
.ssbot .cmsg{word-wrap:break-word;overflow-wrap:anywhere}
.ssbot .cmsg a{color:var(--primary,#004280);font-weight:700;text-decoration:underline}
.ssbot .cmsg.me a{color:#fff}
.ssbot .ssbot-link{display:inline-block;margin-top:8px;text-decoration:none!important;background:var(--accent-soft,#FFF1E0);color:var(--accent-dark,#C45F00)!important;border-radius:99px;padding:5px 12px;font-size:.76rem}
.ssbot .ssbot-link:hover{background:var(--accent,#F07300);color:#fff!important}
.ssbot .chat-chips{max-height:132px;overflow-y:auto}
.ssbot .chat-chips button,.ssbot .chat-chips a{display:inline-flex;align-items:center;border:1px solid var(--soft,#DBE4F1);background:#fff;border-radius:99px;padding:7px 12px;font:inherit;font-size:.75rem;font-weight:700;line-height:1.3;color:var(--primary,#004280);cursor:pointer;text-align:left;text-decoration:none}
.ssbot .chat-chips button:hover,.ssbot .chat-chips a:hover{border-color:var(--primary,#004280)}
.ssbot .chat-chips .ssbot-cta{background:var(--accent,#F07300);border-color:var(--accent,#F07300);color:#fff}
.ssbot .chat-chips .ssbot-cta:hover{background:var(--accent-dark,#C45F00);border-color:var(--accent-dark,#C45F00)}
.ssbot .chat-chips .ssbot-call{background:var(--primary-dark,#001D3D);border-color:var(--primary-dark,#001D3D);color:#fff}
.ssbot .ssbot-sum{display:block;background:var(--bg,#F4F7FB);border-radius:10px;padding:8px 10px;margin-bottom:6px}
.ssbot .ssbot-consent{display:block;font-size:.68rem;color:var(--muted,#52606D);line-height:1.4}
.ssbot .ssbot-dots{display:inline-flex;gap:4px;padding:2px 0}
.ssbot .ssbot-dots i{width:6px;height:6px;border-radius:99px;background:var(--muted,#52606D);opacity:.4;animation:ssbotdot 1s infinite}
.ssbot .ssbot-dots i:nth-child(2){animation-delay:.15s}
.ssbot .ssbot-dots i:nth-child(3){animation-delay:.3s}
@keyframes ssbotdot{50%{opacity:1;transform:translateY(-2px)}}
.ssbot .chat-f input{min-width:0}
@media (max-width:480px){.ssbot .chat-p{width:calc(100vw - 28px);max-height:min(560px,calc(100vh - 150px))}}
@media (prefers-reduced-motion:reduce){.ssbot .ssbot-dots i{animation:none;opacity:.7}}
