.chat-panel{position:relative;background:#fff;border:1px solid #e0e5d7;border-radius:12px;overflow:hidden}.chat-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;border-bottom:1px solid #e7ebdf}.chat-header h2{font-size:17px}.chat-header p{font-size:12px;color:#818b75;margin-top:7px}.chat-header>span{font-size:10px;color:#7f8c70;max-width:310px;line-height:1.6}.chat-scroll{height:48vh;min-height:280px;max-height:650px;overflow-y:auto;overscroll-behavior:contain;padding:20px 24px;background:#f8faf4;scrollbar-gutter:stable}.chat-scroll>#chat-older{display:block;margin:0 auto 20px;font-size:11px}.chat-message{max-width:82%;width:fit-content;background:#fff;border:1px solid #e2e7d9;border-radius:3px 12px 12px;padding:13px 16px;margin:0 0 14px}.chat-message.own{margin-left:auto;background:#fff8d9;border-color:#efe1a8;border-radius:12px 3px 12px 12px}.chat-message-head{display:flex;gap:20px;justify-content:space-between;align-items:baseline}.chat-message-head strong{font-size:11px}.chat-message-head time{font-size:9px;color:#8f977f;white-space:nowrap}.chat-message p{font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:6px}.chat-compose{padding:18px 24px;border-top:1px solid #e2e7d9}.chat-compose label{display:block;font-size:11px;margin-bottom:9px;font-weight:600}.chat-compose textarea{width:100%;resize:vertical;min-height:75px;max-height:200px}.chat-compose>div{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-top:12px}.chat-compose span{font-size:10px;line-height:1.6;color:#929b84}.chat-compose .error{margin-top:10px;line-height:1.7;font-size:12px}.chat-new{display:block;margin:10px auto}.chat-scroll:focus-visible{outline:2px solid #d5b43c;outline-offset:-3px}@media(max-width:760px){.chat-header{padding:16px;align-items:flex-start;flex-direction:column;gap:9px}.chat-scroll{padding:16px 10px;height:43dvh}.chat-message{max-width:95%;padding:11px 12px}.chat-message-head{gap:12px}.chat-compose{padding:15px}.chat-compose textarea{font-size:16px}.chat-compose>div{align-items:flex-end}.chat-compose span{font-size:9px;max-width:200px}}

.chat-bubble{position:fixed;right:24px;bottom:24px;width:58px;height:58px;border-radius:50%;border:1px solid #e5c333;background:#ffdf51;color:#363e2b;box-shadow:0 5px 22px #1b260526;display:grid;place-items:center;z-index:30}.chat-bubble:hover{background:#f4d03b}.chat-bubble svg{width:26px;height:26px}.chat-bubble>span{position:absolute;right:-3px;top:-4px;min-width:23px;height:23px;padding:2px 5px;border-radius:14px;background:#414d35;color:white;border:2px solid #f6f8f1;font-size:10px;line-height:15px;font-weight:700}.chat-popover{position:fixed;right:24px;bottom:94px;width:420px;height:min(660px,calc(100dvh - 125px));background:#fff;border:1px solid #dce2d2;box-shadow:0 14px 55px #17240930;border-radius:14px;overflow:hidden;z-index:31;display:flex;flex-direction:column}.chat-widget-bar{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#ffdf51;flex-shrink:0}.chat-widget-bar>strong{font-size:13px}.chat-widget-bar>div{display:flex;gap:3px}.chat-widget-bar .icon-button{font-size:21px}.chat-widget-bar .icon-button:hover{background:#ffffff55}#chat-widget-content{min-height:0;flex:1}.chat-popover .chat-panel{display:flex;flex-direction:column;height:100%;border:0;border-radius:0}.chat-popover .chat-header{padding:10px 15px;display:block}.chat-popover .chat-header h2,.chat-popover .chat-header p{display:none}.chat-popover .chat-header>span{font-size:10px}.chat-popover .chat-scroll{height:auto;min-height:0;max-height:none;flex:1;padding:14px}.chat-popover .chat-message{max-width:94%;padding:10px 12px}.chat-popover .chat-message p{font-size:12px}.chat-popover .chat-message-head{gap:10px}.chat-popover .chat-message-head strong{font-size:10px}.chat-popover .chat-message-head time{font-size:8px}.chat-popover .chat-compose{padding:12px 15px;flex-shrink:0}.chat-popover .chat-compose label{font-size:10px}.chat-popover .chat-compose textarea{font:13px/1.5 Inter,Arial,sans-serif;border:1px solid #dce2d2;border-radius:6px;padding:9px 11px;min-height:62px;height:62px;max-height:130px;background:#fff;color:#303927}.chat-popover .chat-compose span{font-size:8px;max-width:230px}.chat-popover .chat-compose .button{font-size:11px;min-height:34px;padding:8px 12px}.chat-popover .chat-new{font-size:10px;min-height:32px;margin:6px auto;padding:5px 10px}@media(max-width:760px){.chat-bubble{right:17px;bottom:calc(17px + env(safe-area-inset-bottom));width:54px;height:54px}.chat-popover{width:calc(100% - 24px);right:12px;bottom:calc(83px + env(safe-area-inset-bottom));height:min(610px,calc(100dvh - 106px - env(safe-area-inset-bottom)))}.chat-popover .chat-compose textarea{font-size:16px}.chat-popover .chat-compose span{font-size:8px;max-width:200px}}
/* 2.14.20 · Foto de quem escreveu */
.chat-message-head{align-items:center}
.chat-message-head strong{margin-right:auto}
.chat-avatar{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#eff1e7;color:#86946c;font-size:8px;font-weight:700}
html[data-theme=dark] .chat-avatar{background:#2b3025;color:#c9cebf}
