.wp-block-wlc-algolia-agent-chat{--wlc-accent:#db002f;--wlc-chat-height:600px}.wp-block-wlc-algolia-agent-chat__container{background:#fff;border:1px solid #ddd;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.1);display:flex;flex-direction:column;height:var(--wlc-chat-height);max-height:90vh;overflow:hidden}.wp-block-wlc-algolia-agent-chat__header{background:var(--wlc-accent);border-bottom:1px solid rgba(0,0,0,.1);color:#fff;font-size:16px;font-weight:600;padding:16px 20px}.wp-block-wlc-algolia-agent-chat__chat{flex:1;overflow:hidden}.wp-block-wlc-algolia-agent-chat__error{background:#fff3cd;border:1px solid #ffc107;border-radius:8px;color:#856404;padding:20px}.wp-block-wlc-algolia-agent-chat__error p{margin:0}.wp-block-wlc-algolia-agent-chat__chat{display:flex;flex-direction:column;height:100%}.wp-block-wlc-algolia-agent-chat__messages{display:flex;flex:1;flex-direction:column;gap:12px;overflow-y:auto;padding:16px}.wp-block-wlc-algolia-agent-chat__message{word-wrap:break-word;border-radius:12px;font-size:14px;line-height:1.6;max-width:80%;padding:12px 16px}.wp-block-wlc-algolia-agent-chat__message--user{align-self:flex-end;background:var(--wlc-accent);color:#fff}.wp-block-wlc-algolia-agent-chat__message--assistant{align-self:flex-start;background:#f5f5f5;color:#333}.wp-block-wlc-algolia-agent-chat__message--assistant .wp-block-wlc-algolia-agent-chat__message-content a{color:var(--wlc-accent);font-weight:500;text-decoration:underline;text-decoration-color:rgba(219,0,47,.4);text-underline-offset:2px;transition:all .2s ease}.wp-block-wlc-algolia-agent-chat__message--assistant .wp-block-wlc-algolia-agent-chat__message-content a:hover{color:#b80026;text-decoration-color:var(--wlc-accent)}.wp-block-wlc-algolia-agent-chat__message--assistant .wp-block-wlc-algolia-agent-chat__message-content a:visited{color:#a00020}.wp-block-wlc-algolia-agent-chat__message--loading{font-style:italic;opacity:.7}.wp-block-wlc-algolia-agent-chat__message-content{font-size:14px;line-height:1.6;white-space:pre-wrap}.wp-block-wlc-algolia-agent-chat__message-content a{color:var(--wlc-accent);font-weight:500;text-decoration:underline;text-decoration-color:rgba(219,0,47,.4);text-underline-offset:2px;transition:all .2s ease}.wp-block-wlc-algolia-agent-chat__message-content a:hover{color:#b80026;text-decoration-color:var(--wlc-accent)}.wp-block-wlc-algolia-agent-chat__message-content a:visited{color:#a00020}.wp-block-wlc-algolia-agent-chat__message-content strong{color:#1a1a1a;font-weight:600}.wp-block-wlc-algolia-agent-chat__message-content em{font-style:italic}.wp-block-wlc-algolia-agent-chat__message-content ol,.wp-block-wlc-algolia-agent-chat__message-content ul{margin:8px 0;padding-left:24px}.wp-block-wlc-algolia-agent-chat__message-content ol li,.wp-block-wlc-algolia-agent-chat__message-content ul li{margin:4px 0}.wp-block-wlc-algolia-agent-chat__message-content img{border-radius:8px;display:block;height:auto;margin:8px 0;max-width:100%}.wp-block-wlc-algolia-agent-chat__message-content p{margin:8px 0}.wp-block-wlc-algolia-agent-chat__message-content p:first-child{margin-top:0}.wp-block-wlc-algolia-agent-chat__message-content p:last-child{margin-bottom:0}.wp-block-wlc-algolia-agent-chat__input-wrapper{background:#fafafa;border-top:1px solid #eee;display:flex;gap:8px;padding:16px}.wp-block-wlc-algolia-agent-chat__input{border:1px solid #ddd;border-radius:24px;flex:1;font-size:14px;outline:none;padding:12px 16px;transition:border-color .2s ease}.wp-block-wlc-algolia-agent-chat__input:focus{border-color:var(--wlc-accent)}.wp-block-wlc-algolia-agent-chat__input:disabled{cursor:not-allowed;opacity:.6}.wp-block-wlc-algolia-agent-chat__send{align-items:center;background:var(--wlc-accent);border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;height:44px;justify-content:center;transition:background .2s ease,transform .1s ease;width:44px}.wp-block-wlc-algolia-agent-chat__send:hover:not(:disabled){background:#b80026;transform:scale(1.05)}.wp-block-wlc-algolia-agent-chat__send:active:not(:disabled){transform:scale(.95)}.wp-block-wlc-algolia-agent-chat__send:disabled{cursor:not-allowed;opacity:.6}.wp-block-wlc-algolia-agent-chat__send svg{height:20px;width:20px}
