.live-chat-panel{width:min(380px,calc(100vw - 32px));max-height:calc(100dvh - 120px)}
.live-chat-panel .whatsapp-panel-header{padding:16px}.live-chat-panel .whatsapp-panel-header small{letter-spacing:0;font-size:10px;text-transform:none}
.chat-greeting{padding:16px 20px 8px;font-size:12px;line-height:1.6;color:#647161}.chat-messages{max-height:260px;min-height:70px;overflow:auto;padding:10px 18px;display:flex;flex-direction:column;gap:12px;scroll-behavior:smooth}
.chat-message{align-self:flex-start;max-width:90%;border:1px solid #e1e8da;background:#fff;border-radius:4px 14px 14px;padding:10px 12px;overflow-wrap:anywhere}
.chat-message small{display:block;font-size:9px;font-weight:700;color:#5e6d57}.chat-message p{font-size:13px;line-height:1.5;margin:5px 0;white-space:pre-wrap}.chat-message time{display:block;font-size:9px;color:#7b8677}.chat-visitor{align-self:flex-end;background:#eaf4cf;border-color:#deebbf;border-radius:14px 4px 14px 14px}
.chat-form{padding:12px 18px 18px;border-top:1px solid #e5eadf}.chat-name-row[hidden]{display:none}.chat-name-row{margin-bottom:10px}.chat-form input{width:100%;border:1px solid #cbd7cb;border-radius:10px;padding:10px;font:inherit;font-size:12px;background:white;color:inherit}.chat-form textarea{min-height:65px;max-height:130px;font-size:12px}.chat-form .button{margin-top:8px;font-size:12px;padding:12px}.chat-form label{font-size:10px}
#chat-status{font-size:11px;line-height:1.5;color:#5a6554;min-height:16px;margin:8px 0}.chat-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.chat-footer .text-link{font-size:10px}.chat-footer small{font-size:9px;color:#687261}.chat-form button:disabled{opacity:.6;cursor:wait}
.chat-inbox{max-width:1200px;margin:0 auto;padding:40px 24px}.inbox-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.inbox-heading h1{font-size:40px;letter-spacing:-1.5px;margin:10px 0}.inbox-heading p{font-size:14px}.inbox-layout{display:grid;grid-template-columns:310px 1fr;border:1px solid #dce5d4;border-radius:20px;overflow:hidden;background:#fafbf7;min-height:560px}.inbox-layout aside{border-right:1px solid #dce5d4;max-height:650px;overflow:auto}.inbox-conversation{display:block;width:100%;padding:20px;background:transparent;text-align:left;color:inherit;border:0;border-bottom:1px solid #e3e8dd;cursor:pointer}.inbox-conversation strong,.inbox-conversation span,.inbox-conversation small{display:block}.inbox-conversation span{font-size:12px;margin:8px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inbox-conversation small{font-size:10px;color:#6a7861}.inbox-conversation.selected{background:#eaf4cf}.inbox-thread{padding:24px}.inbox-thread h2{font-size:23px;margin:0 0 18px}.inbox-thread .chat-messages{height:360px;max-height:360px;background:#f1f4ea;border-radius:12px}.inbox-thread form{margin-top:20px}.inbox-thread form[hidden]{display:none}.inbox-thread textarea{display:block;width:100%;margin:8px 0 12px;border:1px solid #cbd7cb;border-radius:12px;padding:14px;font:inherit;font-size:14px}.inbox-thread label{font-size:12px}.inbox-empty{padding:24px;font-size:14px;color:#697461}#inbox-status{font-size:12px;min-height:20px;margin:20px 0;color:#65705f}.chat-inbox :focus-visible{outline:3px solid #8067b0;outline-offset:2px}
@media(max-width:700px){.chat-inbox{padding:24px 14px}.inbox-layout{grid-template-columns:1fr}.inbox-layout aside{max-height:200px;border-right:0;border-bottom:1px solid #dce5d4}.inbox-heading h1{font-size:30px}.inbox-thread{padding:16px}.live-chat-panel .chat-messages{max-height:180px}.chat-greeting{font-size:11px}}
@media(prefers-reduced-motion:reduce){.chat-messages{scroll-behavior:auto}}body.motion-paused .chat-messages{scroll-behavior:auto}
