.chat-launcher{border:2px solid #fff;background:#fa733e;color:#142930;box-shadow:0 5px 20px #1429302b;min-width:60px;min-height:60px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:8px;transition:background .2s,transform .2s}
.chat-launcher svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.chat-launcher span{font-size:10px;font-weight:700;line-height:1.2}.chat-launcher:hover{background:#ff925f;transform:translateY(-2px)}
body.chat-open{overflow:hidden}body.chat-open .floating-contact{visibility:hidden}
.trade-chat{position:fixed;inset:auto 24px 16px auto;margin:0;padding:0;width:420px;height:min(720px,calc(100dvh - 32px));max-width:calc(100vw - 24px);border:1px solid #c6d2c9;border-radius:18px;background:#f7f8f5;color:#142930;box-shadow:0 22px 75px #10282c55;overflow:hidden;font-size:14px}
.trade-chat[open]{display:flex;flex-direction:column;animation:chat-open-in .2s ease-out}.trade-chat::backdrop{background:#10282c33}
.chat-header{display:flex;align-items:center;gap:10px;flex-shrink:0;background:#142930;color:#fff;padding:16px 14px}
.chat-avatar{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#f98b5d;color:#142930;flex-shrink:0}.chat-avatar svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.chat-header>div{flex:1;min-width:0}.chat-header h2{font-size:17px;line-height:1.2;letter-spacing:-.4px;margin:0;font-weight:600}.chat-header h2:focus{outline:none;box-shadow:none}.chat-header p{margin:5px 0 0;font-size:11px;color:#c8d6cf;line-height:1.3}
.chat-icon-button{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;border:0;background:transparent;color:#fff;border-radius:50%;padding:10px}.chat-icon-button:hover{background:#ffffff1c}.chat-icon-button svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;fill:none}
.chat-header button:focus-visible{outline:2px solid #ffb18a;outline-offset:1px;box-shadow:none}
.chat-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 17px 14px;scroll-padding:18px}.chat-log{display:flex;flex-direction:column;gap:14px}.chat-log:focus-visible{outline-offset:4px}
.chat-message{max-width:94%;border:1px solid #dce4dc;border-radius:13px 13px 13px 3px;background:#fff;padding:12px 14px;align-self:flex-start;overflow-wrap:anywhere;flex-shrink:0}.chat-message p{margin:5px 0 0;font-size:14px;line-height:1.65;white-space:pre-wrap}.chat-speaker{font-size:10px;font-weight:700;letter-spacing:.7px;color:#5b6b63}.chat-message-user{align-self:flex-end;border-color:#f0d2bf;border-radius:13px 13px 3px 13px;background:#ffede1}.chat-message-user .chat-speaker{color:#8a401e}
.chat-quick{display:flex;flex-wrap:wrap;gap:7px;margin:15px 0}.chat-quick button{border:1px solid #9dad9f;border-radius:999px;padding:9px 12px;min-height:44px;background:#fff;color:#203a36;font-size:12px;line-height:1.3}.chat-quick button:hover{background:#edf2ea;border-color:#526b5b}
.chat-typing{display:flex;align-items:center;gap:10px;padding:14px 12px;margin:12px 0;border:1px solid #dce4dc;border-radius:13px 13px 13px 3px;background:#fff;color:#53645c;font-size:12px;line-height:1.5}
.chat-typing-dots{display:flex;gap:4px;align-items:center;flex-shrink:0}.chat-typing-dots i{width:5px;height:5px;border-radius:50%;background:#bc5027;animation:chat-thinking 1.15s ease-in-out infinite}.chat-typing-dots i:nth-child(2){animation-delay:.15s}.chat-typing-dots i:nth-child(3){animation-delay:.3s}
.chat-composer button:disabled,.chat-quick button:disabled{opacity:.55;cursor:wait}.chat-composer input[readonly]{background:#f7f8f5}
@keyframes chat-thinking{0%,70%,100%{transform:translateY(0);opacity:.45}35%{transform:translateY(-3px);opacity:1}}
@media(prefers-reduced-motion:reduce){.chat-typing-dots i{animation:none;opacity:1}}
.chat-details,.chat-preview{border-top:1px solid #d2dbd2;margin-top:10px}.trade-chat summary{cursor:pointer;min-height:44px;padding:13px 0;font-size:12px;font-weight:600;line-height:1.5}.trade-chat summary span{font-weight:400;color:#59695d;font-size:11px;margin-left:9px}.chat-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:2px 0 14px}.chat-fields label:first-child{grid-column:1/-1}.chat-fields label{font-size:11px;font-weight:600;line-height:1.5;min-width:0}.chat-fields input{display:block;width:100%;margin-top:5px;padding:11px 10px;min-height:44px;border:1px solid #9dad9f;border-radius:7px;background:#fff;color:#142930;font-size:14px}.trade-chat input::placeholder{color:#65746a;opacity:1}
#chat-draft{padding:12px;background:#fff;border:1px solid #d2dbd2;border-radius:7px;white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:12px;line-height:1.6;margin:0 0 12px}
.chat-composer{display:flex;align-items:center;gap:8px;flex-shrink:0;margin:0;padding:11px 14px;border-top:1px solid #d2dbd2;background:#fff}.chat-composer input{flex:1;min-width:0;border:1px solid #9dad9f;border-radius:9px;padding:12px;font-size:16px;line-height:1.4;min-height:47px;background:#fff;color:#142930}.chat-composer button{width:46px;min-width:46px;min-height:47px;display:grid;place-items:center;border:0;border-radius:9px;background:#142930;color:#fff}.chat-composer button:hover{background:#2e4a43}.chat-composer svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
.chat-footer{flex-shrink:0;padding:12px 15px 13px;background:#f1f4ed;border-top:1px solid #d2dbd2}.chat-contact-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.chat-whatsapp,.chat-email{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:47px;padding:12px 14px;border-radius:9px;background:#087c42;color:#fff;font-size:13px;font-weight:650;line-height:1.4}.chat-email{background:#142930}.chat-email:hover{background:#2e4a43}.chat-whatsapp:hover{background:#066235}.chat-footer p{font-size:11px;line-height:1.55;color:#4e6155;margin:9px 0 0}.chat-privacy{display:inline-flex;align-items:center;min-height:24px;font-size:11px;color:#405a48;text-decoration:underline;text-underline-offset:3px}
@keyframes chat-open-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:600px){.chat-launcher{min-width:50px;min-height:50px;padding:5px}.chat-launcher svg{width:21px;height:21px}.chat-launcher span{font-size:9px}.trade-chat{right:12px;bottom:12px;width:calc(100vw - 24px);height:calc(100dvh - 24px);border-radius:15px}.chat-header{padding:12px 9px;gap:6px}.chat-avatar{width:32px;height:34px;border-radius:9px}.chat-avatar svg{width:23px;height:23px}.chat-header h2{font-size:15px}.chat-header p{font-size:10px}.chat-icon-button{width:40px;height:44px;padding:9px}.chat-scroll{padding:15px 12px}.chat-fields input{font-size:16px}.chat-footer{padding:10px 12px}.chat-footer p{font-size:10px}.chat-message{max-width:96%;padding:10px 12px}.chat-message p{font-size:13px}.chat-composer{padding:9px 11px}.chat-composer input{padding:10px}.chat-quick button{padding:8px 10px}}
@media(prefers-reduced-motion:reduce){.trade-chat[open]{animation:none}.chat-launcher{transition:none}.chat-launcher:hover{transform:none}}
@media(forced-colors:active){.chat-launcher,.chat-icon-button,.chat-quick button,.chat-composer button,.chat-whatsapp,.chat-email{border:1px solid ButtonText}}
