/* V59.40: readable chat answers, wrapping suggestions and a clean composer. */
.espro-chat__messages{overflow-x:hidden;overscroll-behavior:contain;overflow-anchor:none;scroll-behavior:auto}
.chat-message--assistant{max-width:100%;align-items:flex-start}
.chat-message__content{min-width:0;max-width:100%;flex:1}
.chat-message__body{padding:13px 15px;color:#304a5f;background:#fff;border:1px solid #dce6ea;border-radius:4px 15px 15px;box-shadow:0 4px 15px rgba(8,43,67,.04);font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.chat-message .chat-message__body p{margin:0 0 11px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:inherit;font:inherit;white-space:normal}
.chat-message .chat-message__body p:last-child{margin-bottom:0}
.chat-message__body ul,.chat-message__body ol{margin:9px 0 12px;padding-left:21px}
.chat-message__body li{margin:0 0 8px;padding-left:2px}
.chat-message__body li:last-child{margin-bottom:0}
.chat-message__body strong{color:#153a58;font-weight:750}
.chat-message__body code{padding:1px 4px;border-radius:4px;background:#f0f5f9;font-size:.92em}
.chat-message__body [hidden]{display:none!important}
.chat-message.is-revealing p::after{content:none!important}
.chat-message.is-revealing .chat-message__body::after{display:inline-block;width:2px;height:1em;margin-left:3px;vertical-align:-.12em;background:#17569b;content:"";animation:chat-caret .75s steps(1,end) infinite}
.chat-sources{display:none!important}
.espro-chat .espro-chat__messages>.espro-chat__suggestions{display:flex;flex:none;flex-direction:column;align-items:stretch;gap:8px;grid-row:auto;min-width:0;max-width:100%;width:100%;padding:3px 0 6px 36px;box-sizing:border-box;overflow:visible;background:transparent}
.espro-chat .espro-chat__suggestions[hidden],.espro-chat .espro-chat__suggestions:empty{display:none!important}
.espro-chat .espro-chat__suggestions button{flex:none;min-width:0;width:100%;max-width:100%;padding:10px 12px;border-radius:11px;font-size:12px;line-height:1.55;white-space:normal;text-align:left;overflow-wrap:anywhere;cursor:pointer;box-sizing:border-box}
.espro-chat .espro-chat__composer{align-items:end;gap:8px;padding:12px;border-top:1px solid #e5edf3;background:#fff}
.espro-chat .espro-chat__composer textarea{box-sizing:border-box;min-width:0;min-height:44px;max-height:120px;resize:none!important;overflow-x:hidden;overflow-y:hidden;scrollbar-width:none;line-height:1.55;font-size:13px;padding:11px 12px;border-radius:12px;overscroll-behavior:contain}
.espro-chat .espro-chat__composer textarea::-webkit-scrollbar{display:none;width:0;height:0}
.espro-chat .espro-chat__composer textarea::-webkit-scrollbar-button{display:none}
.espro-chat .espro-chat__composer button{width:44px;height:44px;flex:0 0 44px;border-radius:12px}
.espro-chat .chat-card{grid-template-columns:84px minmax(0,1fr);min-width:0;border-radius:13px;text-decoration:none}
.espro-chat .chat-card img,.espro-chat .chat-card__placeholder{width:84px;height:100%;min-height:94px;object-fit:cover}
.espro-chat .chat-card__placeholder{display:grid;place-items:center;margin:0;color:#1b599a;background:#edf4fa;font-size:25px}
.espro-chat .chat-card div{min-width:0;padding:10px 11px}
.espro-chat .chat-card strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.espro-chat .chat-card span:not(.chat-card__placeholder){font-size:11px;line-height:1.5}
.espro-chat .chat-card b{font-size:10px;line-height:1.5;margin-top:7px}
@media(max-width:480px){.chat-message__body{padding:11px 12px;font-size:13px}.espro-chat .espro-chat__messages>.espro-chat__suggestions{padding-left:0}.espro-chat .chat-card{grid-template-columns:72px minmax(0,1fr)}.espro-chat .chat-card img,.espro-chat .chat-card__placeholder{width:72px}}
@media(prefers-reduced-motion:reduce){.chat-message.is-revealing .chat-message__body::after{animation:none}}
