/* Sistema de suporte Uhuw — extraído e adaptado do módulo enviado. */
:root{--uhuw-support-bg:#0b111b;--uhuw-support-card:#121a27;--uhuw-support-card-2:#172131;--uhuw-support-line:rgba(255,255,255,.09);--uhuw-support-muted:#8fa0b6;--uhuw-support-text:#f5f7fb;--uhuw-support-primary:#f58220;--uhuw-support-green:#25d366;--uhuw-support-red:#ff7474;--uhuw-support-blue:#5c9dff}
.uhuw-support-hidden{display:none!important}
.uhuw-support-float{position:fixed;right:24px;bottom:24px;z-index:9000;width:60px;height:60px;border:0;border-radius:50%;display:grid;place-items:center;cursor:pointer;color:#fff;background:linear-gradient(135deg,var(--uhuw-support-primary),#ff9e44);box-shadow:0 14px 34px rgba(245,130,32,.35);transition:.2s ease}
.uhuw-support-float:hover{transform:translateY(-2px) scale(1.04);box-shadow:0 18px 42px rgba(245,130,32,.45)}
.uhuw-support-float.is-whatsapp{background:var(--uhuw-support-green);box-shadow:0 14px 34px rgba(37,211,102,.35)}
.uhuw-support-float svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.uhuw-support-float.is-whatsapp svg{fill:#fff;stroke:none}
.uhuw-support-float .uhuw-support-pulse{position:absolute;inset:-6px;border:2px solid currentColor;border-radius:50%;opacity:.35;animation:uhuwSupportPulse 2s infinite}
.uhuw-support-unread{position:absolute;top:-5px;right:-5px;min-width:23px;height:23px;padding:0 6px;border-radius:999px;display:grid;place-items:center;background:#ff3b30;color:#fff;font-size:.7rem;font-weight:900;border:2px solid #0d1117}
@keyframes uhuwSupportPulse{0%{transform:scale(1);opacity:.45}100%{transform:scale(1.38);opacity:0}}
.uhuw-support-overlay{position:fixed;inset:0;z-index:12000;display:none;align-items:center;justify-content:center;padding:12px;background:rgba(2,6,12,.82);backdrop-filter:blur(14px)}
.uhuw-support-overlay.is-open{display:flex}
.uhuw-support-dialog{width:min(96vw,1280px);height:min(94vh,980px);max-height:94vh;overflow:hidden;display:grid;grid-template-rows:auto 1fr auto;background:linear-gradient(180deg,rgba(18,29,45,.985),rgba(8,14,24,.99));border:1px solid rgba(255,255,255,.08);border-radius:30px;box-shadow:0 32px 90px rgba(0,0,0,.58),inset 0 1px 0 rgba(255,255,255,.04);color:var(--uhuw-support-text)}
.uhuw-support-dialog.is-small{width:min(480px,100%);height:auto;max-height:92vh;display:flex;flex-direction:column}
.uhuw-support-head{display:flex;align-items:center;gap:14px;padding:22px 28px;border-bottom:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.012));position:sticky;top:0;z-index:2}
.uhuw-support-avatar{width:50px;height:50px;border-radius:18px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--uhuw-support-primary),#ffb25f);box-shadow:0 14px 26px rgba(245,130,32,.24);flex:0 0 auto}
.uhuw-support-avatar svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.uhuw-support-title{min-width:0;flex:1}.uhuw-support-title h2,.uhuw-support-title h3{margin:0;color:#fff;font-size:1.32rem;letter-spacing:-.02em}.uhuw-support-title p{margin:4px 0 0;color:var(--uhuw-support-muted);font-size:.9rem;line-height:1.5}
.uhuw-support-close{width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.04);color:#dfe8f3;cursor:pointer;display:grid;place-items:center;transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}.uhuw-support-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.uhuw-support-close:hover{transform:translateY(-1px);background:rgba(255,255,255,.08);border-color:rgba(245,130,32,.26);box-shadow:0 10px 24px rgba(0,0,0,.22)}
.uhuw-support-body{padding:18px 28px 12px;overflow:auto;min-height:0}
.uhuw-support-channel-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.uhuw-support-channel{border:1px solid var(--uhuw-support-line);border-radius:20px;padding:20px;background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));color:#fff;text-align:left;cursor:pointer;transition:.18s}.uhuw-support-channel:hover{border-color:rgba(245,130,32,.45);transform:translateY(-2px)}.uhuw-support-channel strong{display:block;font-size:1rem;margin-bottom:6px}.uhuw-support-channel span{color:var(--uhuw-support-muted);font-size:.83rem;line-height:1.5}.uhuw-support-channel-icon{width:42px;height:42px;margin-bottom:14px;border-radius:14px;display:grid;place-items:center;background:rgba(245,130,32,.13);color:var(--uhuw-support-primary)}.uhuw-support-channel.is-whatsapp .uhuw-support-channel-icon{background:rgba(37,211,102,.13);color:var(--uhuw-support-green)}.uhuw-support-channel-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2}
.uhuw-support-history{display:grid;gap:14px;min-height:min(52vh,520px);max-height:none;overflow:auto;padding-right:6px;margin-bottom:0;align-content:start}.uhuw-support-history.is-empty{overflow:hidden;padding-right:0;min-height:min(40vh,360px);max-height:none;align-content:stretch}.uhuw-support-empty{display:grid;place-items:center;gap:12px;min-height:100%;padding:28px 34px;text-align:center;border:1px dashed rgba(255,255,255,.1);border-radius:24px;color:var(--uhuw-support-muted);background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015))}.uhuw-support-empty-icon{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;background:rgba(245,130,32,.12);color:var(--uhuw-support-primary);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}.uhuw-support-empty-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.uhuw-support-empty strong{display:block;color:#eef4fb;font-size:1.02rem}.uhuw-support-empty span{display:block;line-height:1.6;font-size:.92rem}
.uhuw-support-ticket{border:1px solid rgba(255,255,255,.08);border-radius:24px;overflow:hidden;background:linear-gradient(180deg,rgba(8,14,24,.88),rgba(8,14,24,.74));box-shadow:0 10px 28px rgba(0,0,0,.16);min-width:0}.uhuw-support-ticket-head{padding:14px 18px;display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.008))}.uhuw-support-ticket-head h4{margin:8px 0 4px;font-size:1.08rem;line-height:1.35}.uhuw-support-ticket-head small{color:var(--uhuw-support-muted);display:block;line-height:1.5}.uhuw-support-ticket-head-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:2px}
.uhuw-support-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:.68rem;font-weight:900;border:1px solid var(--uhuw-support-line);color:var(--uhuw-support-muted)}.uhuw-support-status.open{color:#ffbd73;border-color:rgba(245,130,32,.3);background:rgba(245,130,32,.1)}.uhuw-support-status.progress{color:#8dbdff;border-color:rgba(92,157,255,.3);background:rgba(92,157,255,.1)}.uhuw-support-status.closed{color:#58dc8c;border-color:rgba(46,213,115,.3);background:rgba(46,213,115,.1)}
.uhuw-support-thread{display:flex;flex-direction:column;gap:14px;padding:18px;max-height:min(56vh,620px);min-height:260px;overflow:auto;background:linear-gradient(180deg,rgba(5,11,19,.82),rgba(7,12,21,.88))}
.uhuw-support-message{width:min(94%,860px);padding:14px 16px;border-radius:20px 20px 20px 8px;background:linear-gradient(180deg,rgba(28,40,59,.98),rgba(19,30,45,.98));align-self:flex-start;box-shadow:0 8px 18px rgba(0,0,0,.14)}.uhuw-support-message.admin{align-self:flex-end;border-radius:20px 20px 8px 20px;background:linear-gradient(180deg,rgba(118,69,24,.98),rgba(91,53,19,.98))}.uhuw-support-message-head{display:flex;justify-content:space-between;gap:12px;color:#aab7c8;font-size:.76rem;margin-bottom:8px;align-items:center}.uhuw-support-message-head strong{color:#fff}.uhuw-support-message p{margin:0;white-space:pre-wrap;word-break:break-word;line-height:1.65;font-size:.98rem}
.uhuw-support-files{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.uhuw-support-file{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:7px 10px;border-radius:12px;border:1px solid rgba(255,255,255,.1);background:rgba(0,0,0,.18);color:#dce6f2;font-size:.75rem}.uhuw-support-file img{width:48px;height:48px;border-radius:8px;object-fit:cover}
.uhuw-support-form{display:grid;gap:14px;padding:16px 28px 20px;border-top:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(4,10,18,.76),rgba(5,10,18,.95));position:sticky;bottom:0;z-index:2}.uhuw-support-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.uhuw-support-form-grid .uhuw-support-field:nth-child(1),.uhuw-support-form-grid .uhuw-support-field:nth-child(2),.uhuw-support-form-grid .uhuw-support-field:nth-child(3),.uhuw-support-form-grid .uhuw-support-field:nth-child(4){grid-column:span 2}.uhuw-support-field{display:grid;gap:7px}.uhuw-support-field.full{grid-column:1/-1}.uhuw-support-field label{font-size:.76rem;color:#a4b3c5;font-weight:800;letter-spacing:.02em}.uhuw-support-input{width:100%;min-height:48px;padding:13px 15px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:linear-gradient(180deg,rgba(18,28,42,.96),rgba(15,24,36,.96));color:#fff;outline:none;font:inherit;box-shadow:inset 0 1px 0 rgba(255,255,255,.03);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.uhuw-support-input::placeholder{color:#7f8ea2}.uhuw-support-input:hover{border-color:rgba(255,255,255,.13)}.uhuw-support-input:focus{border-color:rgba(245,130,32,.55);box-shadow:0 0 0 4px rgba(245,130,32,.1);transform:translateY(-1px)}textarea.uhuw-support-input{resize:vertical;min-height:92px;max-height:180px}.uhuw-support-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;justify-content:flex-start}.uhuw-support-actions .uhuw-support-button.primary{min-width:220px}.uhuw-support-button{min-height:46px;padding:11px 18px;border-radius:999px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.045);color:#eef4fb;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}.uhuw-support-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.uhuw-support-button:hover:not(:disabled){transform:translateY(-1px);border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.07);box-shadow:0 10px 18px rgba(0,0,0,.14)}.uhuw-support-button.primary{background:linear-gradient(135deg,var(--uhuw-support-primary),#ffab55);color:#1f1307;border-color:rgba(255,190,120,.18);box-shadow:0 10px 20px rgba(245,130,32,.18)}.uhuw-support-button.primary svg{color:inherit}.uhuw-support-button.primary:hover:not(:disabled){transform:translateY(-2px);background:linear-gradient(135deg,#ff9c34,#ffc06d);border-color:rgba(255,214,167,.28);box-shadow:0 12px 20px rgba(245,130,32,.20),0 0 0 1px rgba(255,210,150,.12) inset}.uhuw-support-button.primary:focus-visible{outline:none;box-shadow:0 0 0 4px rgba(245,130,32,.14),0 10px 20px rgba(245,130,32,.18)}.uhuw-support-button.danger{color:#ffbcbc;border-color:rgba(255,116,116,.25);background:rgba(255,116,116,.08)}.uhuw-support-button:disabled{opacity:.55;cursor:wait}.uhuw-support-file-label{position:relative;overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.03))}.uhuw-support-file-label input{position:absolute;inset:0;opacity:0;cursor:pointer}.uhuw-support-note{min-height:18px;color:var(--uhuw-support-muted);font-size:.8rem;line-height:1.5;flex:1 1 220px}.uhuw-support-note.error{color:#ffaaaa}.uhuw-support-note.success{color:#58dc8c}.uhuw-support-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
.uhuw-support-rating{padding:12px 14px;border-top:1px solid var(--uhuw-support-line);display:flex;gap:8px;align-items:center;flex-wrap:wrap}.uhuw-support-rating select{max-width:130px}
/* Admin */
.uhuw-support-admin-shell{display:grid;gap:20px}.uhuw-support-settings{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.65fr);gap:20px}.uhuw-support-card{background:linear-gradient(180deg,rgba(20,26,35,.96),rgba(12,18,28,.96));border:1px solid var(--border,rgba(255,255,255,.09));border-radius:20px;padding:22px}.uhuw-support-card h3{margin:0 0 7px}.uhuw-support-card p{color:var(--muted,#8fa0b6);margin:0;line-height:1.55}.uhuw-support-options{display:grid;gap:12px;margin-top:18px}.uhuw-support-option{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start;padding:16px;border:1px solid rgba(255,255,255,.08);border-radius:17px;background:rgba(255,255,255,.025);cursor:pointer}.uhuw-support-option input{width:20px;height:20px;margin-top:2px;accent-color:var(--primary,#e67e22)}.uhuw-support-option strong{display:block;margin-bottom:4px}.uhuw-support-option span{display:block;color:var(--muted,#8fa0b6);font-size:.82rem;line-height:1.45}.uhuw-support-admin-number{margin-top:16px}.uhuw-support-settings-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.uhuw-support-admin-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.uhuw-support-stat{padding:19px;border-radius:18px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(20,28,41,.92),rgba(10,15,23,.92))}.uhuw-support-stat span{display:block;color:var(--muted,#8fa0b6);font-size:.76rem;text-transform:uppercase;letter-spacing:.06em}.uhuw-support-stat strong{display:block;margin-top:7px;font-size:2rem;color:var(--primary,#e67e22)}
.uhuw-support-admin-toolbar{display:grid;grid-template-columns:1fr 220px auto;gap:12px;align-items:end}.uhuw-support-admin-list{display:grid;gap:18px}.uhuw-support-admin-ticket{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(380px,1.28fr);border:1px solid rgba(255,255,255,.09);border-radius:22px;overflow:hidden;background:#0b1320}.uhuw-support-admin-info{padding:18px;border-right:1px solid rgba(255,255,255,.08);background:#101a29}.uhuw-support-admin-info h3{margin:8px 0 4px}.uhuw-support-admin-info p,.uhuw-support-admin-info small{display:block;color:var(--muted,#8fa0b6);word-break:break-word}.uhuw-support-admin-meta{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.uhuw-support-admin-meta span{padding:10px;border-radius:12px;background:rgba(255,255,255,.035);color:var(--muted,#8fa0b6);font-size:.74rem}.uhuw-support-admin-meta b{display:block;color:#fff;margin-bottom:3px}.uhuw-support-admin-conversation{min-width:0}.uhuw-support-admin-conversation .uhuw-support-thread{max-height:430px;min-height:230px}.uhuw-support-admin-reply{display:grid;grid-template-columns:170px 1fr auto;gap:10px;padding:13px;border-top:1px solid rgba(255,255,255,.08);background:#0a111c}.uhuw-support-admin-reply textarea{min-height:48px;max-height:130px}.uhuw-support-admin-tools{display:flex;gap:8px;align-items:center}.uhuw-support-filter-empty{padding:26px;border:1px dashed rgba(255,255,255,.1);border-radius:18px;text-align:center;color:var(--muted,#8fa0b6)}
@media(max-width:900px){.uhuw-support-settings{grid-template-columns:1fr}.uhuw-support-admin-ticket{grid-template-columns:1fr}.uhuw-support-admin-info{border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}.uhuw-support-admin-toolbar{grid-template-columns:1fr 1fr}.uhuw-support-admin-toolbar .uhuw-support-button{grid-column:1/-1}.uhuw-support-admin-reply{grid-template-columns:1fr}.uhuw-support-admin-stats{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:900px){.uhuw-support-channel-grid,.uhuw-support-admin-toolbar,.uhuw-support-admin-stats{grid-template-columns:1fr}.uhuw-support-form-grid{grid-template-columns:1fr 1fr}.uhuw-support-form-grid .uhuw-support-field:nth-child(1),.uhuw-support-form-grid .uhuw-support-field:nth-child(2),.uhuw-support-form-grid .uhuw-support-field:nth-child(3),.uhuw-support-form-grid .uhuw-support-field:nth-child(4){grid-column:auto}.uhuw-support-dialog{width:min(98vw,1280px);height:min(96vh,980px)}.uhuw-support-history{min-height:46vh}.uhuw-support-thread{max-height:46vh;min-height:220px}.uhuw-support-message{width:96%}}
@media(max-width:640px){.uhuw-support-float{right:16px;bottom:16px;width:54px;height:54px}.uhuw-support-overlay{padding:0;align-items:stretch}.uhuw-support-dialog{width:100%;height:100%;max-height:none;border-radius:0}.uhuw-support-head{padding:18px 16px}.uhuw-support-avatar{width:44px;height:44px;border-radius:16px}.uhuw-support-channel-grid,.uhuw-support-form-grid,.uhuw-support-admin-toolbar,.uhuw-support-admin-stats{grid-template-columns:1fr}.uhuw-support-body{padding:14px 16px 8px}.uhuw-support-history{min-height:270px}.uhuw-support-thread{max-height:none;min-height:220px;padding:14px}.uhuw-support-ticket-head{padding:12px 14px;align-items:flex-start}.uhuw-support-form{padding:14px 16px calc(16px + env(safe-area-inset-bottom))}.uhuw-support-actions{align-items:stretch}.uhuw-support-actions .uhuw-support-button{flex:1 1 calc(50% - 6px)}.uhuw-support-actions .uhuw-support-button.primary{min-width:0}.uhuw-support-note{flex-basis:100%}.uhuw-support-message{width:96%;padding:12px 14px}.uhuw-support-admin-reply{grid-template-columns:1fr}}
/* Sobrescreve o botão legado do WhatsApp, cujo CSS é carregado no fim do index. */
button.whatsapp-float.uhuw-support-float{position:fixed!important;right:24px!important;bottom:24px!important;width:60px!important;height:60px!important;background:linear-gradient(135deg,var(--uhuw-support-primary),#ff9e44)!important;color:#fff!important;display:grid!important;place-items:center!important;overflow:visible!important;box-shadow:0 14px 34px rgba(245,130,32,.35)!important}
button.whatsapp-float.uhuw-support-float.is-whatsapp{background:var(--uhuw-support-green)!important;box-shadow:0 14px 34px rgba(37,211,102,.35)!important}
button.whatsapp-float.uhuw-support-float:not(.is-whatsapp) svg{fill:none!important;stroke:currentColor!important}
button.whatsapp-float.uhuw-support-float.is-whatsapp svg{fill:#fff!important;stroke:none!important}
@media(max-width:640px){button.whatsapp-float.uhuw-support-float{right:16px!important;bottom:16px!important;width:54px!important;height:54px!important}}


.uhuw-support-body-chat{padding:0;overflow:hidden}
.uhuw-support-workspace{display:grid;grid-template-columns:minmax(280px,330px) minmax(0,1fr);height:100%;min-height:0}
.uhuw-support-sidebar{display:grid;grid-template-rows:auto 1fr;min-height:0;border-right:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(10,16,25,.98),rgba(8,14,22,.98))}
.uhuw-support-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 18px 14px;border-bottom:1px solid rgba(255,255,255,.08)}
.uhuw-support-sidebar-head h3{margin:0;font-size:1.05rem}.uhuw-support-sidebar-head p{margin:4px 0 0;color:var(--uhuw-support-muted);font-size:.8rem}
.uhuw-support-sidebar-head .uhuw-support-button{min-height:40px;padding:9px 14px;font-size:.84rem}
.uhuw-support-sidebar-head .uhuw-support-button.is-active{background:linear-gradient(135deg,var(--uhuw-support-primary),#ffab55);color:#1f1307;border-color:rgba(255,190,120,.18)}
.uhuw-support-ticket-list{overflow:auto;padding:10px}
.uhuw-support-sidebar-empty{padding:18px;border:1px dashed rgba(255,255,255,.1);border-radius:18px;color:var(--uhuw-support-muted);display:grid;gap:6px;text-align:left}
.uhuw-support-sidebar-empty strong{color:#fff}
.uhuw-support-conversation-item{width:100%;padding:14px 14px 12px;border:1px solid transparent;border-radius:18px;background:transparent;color:#eef4fb;text-align:left;display:grid;gap:8px;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.uhuw-support-conversation-item:hover{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.08);transform:translateY(-1px)}
.uhuw-support-conversation-item.active{background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035));border-color:rgba(245,130,32,.18);box-shadow:inset 0 0 0 1px rgba(245,130,32,.08)}
.uhuw-support-conversation-top,.uhuw-support-conversation-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.uhuw-support-conversation-top strong{font-size:.93rem}.uhuw-support-conversation-top time,.uhuw-support-conversation-bottom small{color:var(--uhuw-support-muted);font-size:.75rem}
.uhuw-support-conversation-preview{color:#c3cfdd;font-size:.82rem;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.uhuw-support-chat-panel{display:grid;grid-template-rows:auto 1fr auto;min-width:0;min-height:0;background:linear-gradient(180deg,rgba(7,12,21,.9),rgba(5,9,16,.96))}
.uhuw-support-chat-header{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.008))}
.uhuw-support-chat-summary{display:flex;align-items:center;gap:12px;min-width:0}.uhuw-support-chat-summary strong{display:block;color:#fff;font-size:1rem}.uhuw-support-chat-summary span{display:block;margin-top:4px;color:var(--uhuw-support-muted);font-size:.82rem;line-height:1.4}
.uhuw-support-chat-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(245,130,32,.12);color:var(--uhuw-support-primary);flex:0 0 auto}.uhuw-support-chat-avatar svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9}
.uhuw-support-chat-panel .uhuw-support-history{display:flex;flex-direction:column;gap:14px;min-height:0;height:100%;padding:18px 20px;overflow:auto;background:radial-gradient(circle at top left,rgba(245,130,32,.05),transparent 24%),linear-gradient(180deg,rgba(6,12,20,.96),rgba(7,12,21,.9))}
.uhuw-support-chat-panel .uhuw-support-history.is-empty{display:grid;place-items:center;padding:24px}
.uhuw-support-chat-panel .uhuw-support-form{position:static;padding:14px 20px 18px;border-top:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(8,14,23,.96),rgba(5,10,17,.99))}
.uhuw-support-chat-panel .uhuw-support-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.uhuw-support-chat-panel .uhuw-support-form-grid .uhuw-support-field:nth-child(1),.uhuw-support-chat-panel .uhuw-support-form-grid .uhuw-support-field:nth-child(2),.uhuw-support-chat-panel .uhuw-support-form-grid .uhuw-support-field:nth-child(3),.uhuw-support-chat-panel .uhuw-support-form-grid .uhuw-support-field:nth-child(4){grid-column:auto}
.uhuw-support-chat-panel textarea.uhuw-support-input{min-height:72px;max-height:150px;border-radius:20px}
.uhuw-support-chat-panel .uhuw-support-actions{flex-wrap:nowrap}.uhuw-support-chat-panel .uhuw-support-note{flex:1 1 auto;text-align:right}
@media(max-width:980px){.uhuw-support-workspace{grid-template-columns:1fr}.uhuw-support-sidebar{max-height:260px;border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}.uhuw-support-chat-panel .uhuw-support-form-grid{grid-template-columns:1fr 1fr}.uhuw-support-chat-panel .uhuw-support-actions{flex-wrap:wrap}.uhuw-support-chat-panel .uhuw-support-note{text-align:left}}
@media(max-width:640px){.uhuw-support-sidebar-head{padding:14px 14px 12px}.uhuw-support-ticket-list{padding:8px}.uhuw-support-chat-header{padding:14px}.uhuw-support-chat-panel .uhuw-support-history{padding:14px}.uhuw-support-chat-panel .uhuw-support-form{padding:12px 14px calc(14px + env(safe-area-inset-bottom))}.uhuw-support-chat-panel .uhuw-support-form-grid{grid-template-columns:1fr}.uhuw-support-chat-panel .uhuw-support-actions{gap:10px}.uhuw-support-chat-panel .uhuw-support-actions .uhuw-support-button{flex:1 1 calc(50% - 5px)}}



/* Ajuste: priorizar área da conversa e compactar composer */
.uhuw-support-chat-panel{grid-template-rows:auto 1fr auto}
.uhuw-support-chat-panel .uhuw-support-history{padding:18px 20px 14px;min-height:0;height:100%;max-height:none}
.uhuw-support-history-chat{justify-content:flex-start}
.uhuw-support-chat-panel .uhuw-support-form.uhuw-support-chat-form{display:grid;grid-template-columns:1fr auto;grid-template-areas:'message message' 'actions actions';gap:10px;padding:10px 16px 12px;border-top:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(8,14,23,.96),rgba(5,10,17,.99))}
.uhuw-support-chat-panel .uhuw-support-form.uhuw-support-chat-form #uhuwSupportIdentityFields{grid-column:1/-1;margin-bottom:2px}
.uhuw-support-chat-panel .uhuw-support-form.uhuw-support-chat-form .uhuw-support-field.full{grid-area:message}
.uhuw-support-chat-panel .uhuw-support-form.uhuw-support-chat-form .uhuw-support-actions{grid-area:actions;justify-content:flex-start;gap:10px;flex-wrap:nowrap}
.uhuw-support-chat-panel .uhuw-support-form.uhuw-support-chat-form .uhuw-support-note{display:none!important}
.uhuw-support-chat-panel .uhuw-support-form.uhuw-support-chat-form .uhuw-support-field label{margin-bottom:4px}
.uhuw-support-chat-panel .uhuw-support-form.uhuw-support-chat-form textarea.uhuw-support-input{min-height:56px;max-height:84px;padding:14px 16px 14px 16px;border-radius:20px;resize:none;font-size:1rem;line-height:1.45}
.uhuw-support-chat-panel .uhuw-support-form.uhuw-support-chat-form .uhuw-support-button,.uhuw-support-chat-panel .uhuw-support-form.uhuw-support-chat-form .uhuw-support-file-label{width:52px;min-width:52px;height:52px;min-height:52px;padding:0;border-radius:50%;display:grid;place-items:center;flex:0 0 52px}
.uhuw-support-chat-panel .uhuw-support-form.uhuw-support-chat-form .uhuw-support-button span,.uhuw-support-chat-panel .uhuw-support-form.uhuw-support-chat-form .uhuw-support-file-label span{display:none}
.uhuw-support-chat-panel .uhuw-support-form.uhuw-support-chat-form .uhuw-support-button svg,.uhuw-support-chat-panel .uhuw-support-form.uhuw-support-chat-form .uhuw-support-file-label svg{width:20px;height:20px}
.uhuw-support-chat-panel .uhuw-support-form.uhuw-support-chat-form .uhuw-support-button.primary{box-shadow:0 10px 18px rgba(245,130,32,.18)}
.uhuw-support-chat-panel .uhuw-support-form.uhuw-support-chat-form .uhuw-support-file-label{background:rgba(255,255,255,.05)}
@media(max-width:980px){
  .uhuw-support-chat-panel .uhuw-support-form.uhuw-support-chat-form{padding:10px 14px 14px}
}
@media(max-width:640px){
  .uhuw-support-chat-panel .uhuw-support-form.uhuw-support-chat-form{padding:10px 12px calc(12px + env(safe-area-inset-bottom));gap:8px}
  .uhuw-support-chat-panel .uhuw-support-form.uhuw-support-chat-form textarea.uhuw-support-input{min-height:52px;max-height:78px}
  .uhuw-support-chat-panel .uhuw-support-form.uhuw-support-chat-form .uhuw-support-button,.uhuw-support-chat-panel .uhuw-support-form.uhuw-support-chat-form .uhuw-support-file-label{width:48px;min-width:48px;height:48px;min-height:48px;flex-basis:48px}
}
