:root{--wmt-orange:#ff9900;--wmt-orange-2:#ffb12b;--wmt-ink:#111827;--wmt-muted:#6b7280;--wmt-line:#eceff3;--wmt-soft:#f7f8fa;--wmt-white:#fff;--wmt-shadow:0 20px 60px rgba(17,24,39,.10)}
.wmt-app{position:relative;display:grid;grid-template-columns:350px minmax(0,1fr);height:min(820px,calc(100vh - 90px));min-height:650px;border:1px solid #e8ebef;border-radius:22px;overflow:hidden;background:var(--wmt-white);box-shadow:var(--wmt-shadow);font-family:inherit;color:var(--wmt-ink)}
.wmt-sidebar{border-right:1px solid var(--wmt-line);background:#fff;display:flex;flex-direction:column;min-width:0}.wmt-sidebar-head{padding:22px 20px 14px;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(180deg,#fff 0%,#fffaf4 100%)}.wmt-eyebrow{font-size:10px;font-weight:900;letter-spacing:.18em;color:var(--wmt-orange)}.wmt-sidebar h2{margin:3px 0 0;font-size:27px;line-height:1.1;letter-spacing:-.03em}.wmt-refresh,.wmt-back,.wmt-chat-search{border:1px solid #e7e9ed;background:#fff;border-radius:12px;width:40px;height:40px;cursor:pointer;color:#374151;transition:.18s ease;box-shadow:0 3px 12px rgba(0,0,0,.04)}.wmt-refresh:hover,.wmt-back:hover,.wmt-chat-search:hover{border-color:#ffd08a;color:#e57f00;transform:translateY(-1px)}
.wmt-search{padding:4px 16px 12px}.wmt-search input{width:100%;box-sizing:border-box;border:1px solid #e5e7eb;background:#f8f9fb;border-radius:13px;padding:12px 14px;outline:0;color:#111827}.wmt-search input:focus{border-color:#ffbf55;background:#fff;box-shadow:0 0 0 4px rgba(255,153,0,.10)}.wmt-tabs{display:flex;gap:7px;padding:4px 14px 13px;border-bottom:1px solid var(--wmt-line)}.wmt-tabs button{border:0;background:#f4f5f7;color:#667085;border-radius:999px;padding:8px 14px;cursor:pointer;font-size:12px;font-weight:700;transition:.18s ease}.wmt-tabs button:hover{background:#fff1dd;color:#e17e00}.wmt-tabs button.is-active{background:#ff9900;color:#fff;box-shadow:0 5px 15px rgba(255,153,0,.20)}
.wmt-conversations{overflow:auto;flex:1;scrollbar-width:thin}.wmt-conversation{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:0;border-bottom:1px solid #f3f4f6;background:#fff;padding:13px 15px;cursor:pointer;position:relative;transition:.16s ease}.wmt-conversation:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 4px 4px 0;background:transparent}.wmt-conversation:hover{background:#fffaf4}.wmt-conversation.is-selected{background:#fff7eb}.wmt-conversation.is-selected:before{background:var(--wmt-orange)}.wmt-conv-thumb,.wmt-conv-avatar{width:46px;height:46px;flex:0 0 46px;border-radius:50%;object-fit:cover;background:#f3f4f6;display:inline-flex;align-items:center;justify-content:center;font-size:18px}.wmt-conv-main{min-width:0;flex:1}.wmt-conv-top{display:flex;justify-content:space-between;gap:8px}.wmt-conv-name{font-weight:800;font-size:14px;display:flex;align-items:center;gap:4px}.wmt-conv-time{font-size:10px;color:#98a0ad;white-space:nowrap}.wmt-conv-subject{display:block;font-size:11px;color:#e17e00;font-weight:700;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wmt-conv-last{display:block;font-size:12px;color:#7b8491;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wmt-unread{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 6px;border-radius:99px;background:#e53935;color:#fff;font-size:10px;font-weight:900}
.wmt-chat{min-width:0;display:flex;flex-direction:column;background:#f8f9fb;position:relative}.wmt-chat-empty{margin:auto;text-align:center;color:#7b8491;padding:40px}.wmt-empty-icon{width:72px;height:72px;margin:0 auto 16px;border-radius:22px;background:#fff1dd;display:flex;align-items:center;justify-content:center;font-size:34px;box-shadow:0 10px 30px rgba(255,153,0,.12)}.wmt-chat-empty h3{margin:0 0 6px;color:#1f2937;font-size:21px}.wmt-chat-empty p{margin:0;font-size:13px}.wmt-chat-panel{height:100%;min-height:0;display:flex;flex-direction:column}.wmt-chat-head{height:72px;flex:0 0 72px;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--wmt-line);display:flex;align-items:center;gap:12px;padding:0 20px;z-index:2}.wmt-chat-head .wmt-back{display:none}.wmt-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;background:#f4f4f4;border:2px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.08)}.wmt-chat-title{display:flex;flex-direction:column;min-width:0}.wmt-chat-title strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wmt-chat-title span{font-size:11px;color:#8a93a0;margin-top:3px}.wmt-chat-search{margin-left:auto;font-size:20px}
.wmt-product-card{margin:12px 18px 0;background:#fff;border:1px solid #ece7df;border-radius:16px;padding:10px;display:flex;align-items:center;gap:12px;font-size:12px;box-shadow:0 6px 20px rgba(17,24,39,.04)}.wmt-product-image{width:68px;height:68px;flex:0 0 68px;border-radius:12px;background:#f7f7f7;overflow:hidden;display:flex;align-items:center;justify-content:center}.wmt-product-image img{width:100%;height:100%;object-fit:cover}.wmt-product-info{min-width:0;display:flex;flex-direction:column;gap:3px}.wmt-product-kicker{font-size:9px;font-weight:900;letter-spacing:.14em;color:#f08a00}.wmt-product-info strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wmt-product-price{font-weight:900;color:#111827}.wmt-product-store{font-size:10px;color:#8a93a0}.wmt-product-actions{display:flex;gap:10px;margin-top:3px}.wmt-product-actions a{color:#e27e00;text-decoration:none;font-weight:800;font-size:10px}.wmt-product-actions a:hover{text-decoration:underline}
.wmt-messages{flex:1;min-height:0;overflow:auto;padding:22px 22px 14px;display:flex;flex-direction:column;gap:9px;background:radial-gradient(circle at top right,rgba(255,153,0,.07),transparent 34%),#f8f9fb;scroll-behavior:smooth}.wmt-message{max-width:min(72%,620px);padding:11px 13px;border-radius:17px;font-size:13px;line-height:1.5;word-break:break-word;box-shadow:0 2px 8px rgba(17,24,39,.035)}.wmt-message.mine{align-self:flex-end;background:linear-gradient(135deg,#ff9900,#ffad1f);color:#fff;border-bottom-right-radius:6px}.wmt-message.theirs{align-self:flex-start;background:#fff;border:1px solid #edf0f3;color:#222;border-bottom-left-radius:6px}.wmt-message.is-search-hit{outline:3px solid rgba(255,153,0,.45)}.wmt-message-body{white-space:normal}.wmt-message-time{display:block;font-size:9px;opacity:.65;margin-top:6px;text-align:right}.wmt-attachments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:8px}.wmt-media-image,.wmt-media-video-wrap{display:block;border:0;padding:0;position:relative;border-radius:11px;overflow:hidden;background:#eee;cursor:pointer;min-width:0}.wmt-media-image img{display:block;width:100%;height:170px;object-fit:cover}.wmt-media-video-wrap{height:170px;background:linear-gradient(135deg,#111827,#374151);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;grid-column:1/-1}.wmt-video-poster{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,153,0,.95);font-size:20px;padding-left:2px}.wmt-file{display:flex;align-items:center;gap:8px;padding:10px;border-radius:10px;background:rgba(255,255,255,.35);color:inherit!important;text-decoration:none!important;grid-column:1/-1}.wmt-file span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wmt-file small{opacity:.7;margin-left:auto;white-space:nowrap}.wmt-upload-preview{padding:8px 14px;background:#fff;border-top:1px solid var(--wmt-line);display:flex;flex-wrap:wrap;gap:7px;max-height:105px;overflow:auto}.wmt-pending{display:flex;align-items:center;gap:7px;border:1px solid #e7e9ed;border-radius:11px;padding:5px 8px;font-size:11px;background:#fafbfc;max-width:240px}.wmt-pending-preview{width:34px;height:34px;border-radius:7px;background:#f0f1f3;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 34px}.wmt-pending-preview img{width:100%;height:100%;object-fit:cover}.wmt-pending-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wmt-pending small{opacity:.65;white-space:nowrap}.wmt-pending button{border:0;background:#eceef1;border-radius:50%;width:22px;height:22px;cursor:pointer;color:#444}.wmt-compose{display:flex;gap:8px;padding:11px 14px calc(11px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--wmt-line);align-items:flex-end;position:relative}.wmt-compose.is-dragging{outline:2px dashed #ff9900;outline-offset:-5px;background:#fffaf4}.wmt-compose-tools{display:flex;gap:4px}.wmt-compose-tools button{border:1px solid #e9ebef;background:#f8f9fb;color:#596273;border-radius:10px;width:38px;height:38px;cursor:pointer;font-size:17px;transition:.18s}.wmt-compose-tools button:hover{border-color:#ffca76;background:#fff6e9;color:#e17e00;transform:translateY(-1px)}.wmt-compose textarea{resize:none;flex:1;border:1px solid #e1e5ea;background:#f8f9fb;border-radius:13px;padding:10px 13px;min-height:42px;max-height:140px;font:inherit;outline:none;box-sizing:border-box;color:#111827}.wmt-compose textarea:focus{border-color:#ffb84d;background:#fff;box-shadow:0 0 0 4px rgba(255,153,0,.08)}.wmt-compose .wmt-send{width:46px;height:42px;border:0;border-radius:13px;background:linear-gradient(135deg,#ff9900,#ffae24);color:#fff;font-size:19px;cursor:pointer;box-shadow:0 7px 18px rgba(255,153,0,.23);transition:.18s}.wmt-compose .wmt-send:hover{transform:translateY(-1px)}.wmt-compose button:disabled{opacity:.55;cursor:not-allowed;transform:none}.wmt-loading,.wmt-no-conversations{padding:30px 20px;text-align:center;color:#8a93a0;font-size:13px}.wmt-no-conversations{display:flex;flex-direction:column;gap:4px}.wmt-no-conversations strong{color:#374151}.wmt-no-icon{font-size:30px;margin-bottom:5px}
.wmt-login-required{text-align:center;padding:46px 24px;border:1px solid #ececec;border-radius:18px;background:linear-gradient(180deg,#fff,#fffaf4);box-shadow:0 12px 35px rgba(0,0,0,.05)}.wmt-login-required strong{display:block;font-size:20px;color:#161616}.wmt-login-required p{color:#697386}.wmt-login-required a,.wmt-chat-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#ff9900,#ffad1f);color:#fff!important;border:0;border-radius:11px;padding:11px 18px;text-decoration:none;cursor:pointer;font-weight:800;box-shadow:0 7px 18px rgba(255,153,0,.20);transition:.18s}.wmt-login-required a:hover,.wmt-chat-button:hover{transform:translateY(-1px);filter:brightness(.98)}.wmt-chat-button{font-size:14px}.wmt-unread-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:#e53935;color:#fff;font-size:10px;font-weight:900;line-height:1;vertical-align:middle}.wmt-toast{position:absolute;right:18px;bottom:78px;z-index:20;max-width:320px;padding:11px 14px;border-radius:12px;background:#111827;color:#fff;font-size:12px;box-shadow:0 14px 35px rgba(0,0,0,.18)}.wmt-toast.is-error{background:#b42318}.wmt-lightbox{position:absolute;inset:0;z-index:50;background:rgba(8,12,18,.86);display:flex;align-items:center;justify-content:center;padding:30px;backdrop-filter:blur(5px)}.wmt-lightbox[hidden]{display:none}.wmt-lightbox-content{max-width:min(92vw,1100px);max-height:90vh;display:flex;align-items:center;justify-content:center}.wmt-lightbox-content img,.wmt-lightbox-content video{display:block;max-width:100%;max-height:86vh;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.35)}.wmt-lightbox-close{position:absolute;right:18px;top:16px;width:42px;height:42px;border:0;border-radius:50%;background:#fff;color:#111;font-size:28px;line-height:1;cursor:pointer}
@media(max-width:900px){.wmt-app{grid-template-columns:310px minmax(0,1fr)}.wmt-message{max-width:82%}.wmt-compose-tools button{width:36px}}
@media(max-width:767px){.wmt-app{display:block;border-radius:0;min-height:calc(100vh - 80px);height:calc(100vh - 80px);box-shadow:none;border-left:0;border-right:0}.wmt-sidebar{height:100%;border-right:0}.wmt-chat{position:fixed;inset:0;z-index:999998;background:#f8f9fb}.wmt-chat-panel{min-height:100vh;height:100%}.wmt-chat-head{height:62px;flex:0 0 62px;padding:0 10px}.wmt-chat-head .wmt-back{display:block}.wmt-chat-empty{display:none}.wmt-chat-panel[hidden]{display:none!important}.wmt-message{max-width:90%;font-size:13px}.wmt-product-card{margin:9px 10px 0}.wmt-messages{padding:12px 10px 10px}.wmt-compose{padding:8px 8px calc(8px + env(safe-area-inset-bottom));gap:5px}.wmt-compose-tools{gap:2px}.wmt-compose-tools button{width:32px;height:34px;font-size:15px}.wmt-compose textarea{min-width:0}.wmt-compose .wmt-send{width:40px;height:40px}.wmt-attachments{grid-template-columns:repeat(2,minmax(0,1fr))}.wmt-media-image img{height:145px}.wmt-media-video-wrap{height:145px}.wmt-conversation{padding:11px 12px}.wmt-sidebar-head{padding:17px 14px 10px}.wmt-sidebar h2{font-size:24px}.wmt-search{padding-left:12px;padding-right:12px}.wmt-tabs{padding-left:10px}.wmt-toast{right:10px;bottom:70px;max-width:calc(100% - 20px)}.wmt-lightbox{padding:15px}.wmt-lightbox-close{right:10px;top:10px}}
@media(prefers-reduced-motion:reduce){.wmt-refresh,.wmt-back,.wmt-chat-search,.wmt-conversation,.wmt-tabs button,.wmt-compose-tools button,.wmt-send,.wmt-login-required a,.wmt-chat-button{transition:none}}

/* 1.2.2 UI corrections: clean product conversations and persistent composer */
.wmt-chat-panel{min-height:0;overflow:hidden}
.wmt-messages{min-height:0;flex:1 1 auto;overflow-y:auto}
.wmt-compose{display:flex!important;flex:0 0 auto!important;min-height:64px;z-index:5}
.wmt-conv-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wmt-conv-subject{color:#8a93a0;font-weight:600}
.wmt-product-details{font-size:10px;color:#667085;line-height:1.35;display:block;margin-top:1px}
@media(max-width:767px){.wmt-compose{position:sticky;bottom:0;box-shadow:0 -6px 18px rgba(17,24,39,.06)}}

/* 1.2.3 supplier conversation list + mobile full-screen polish */
.wmt-conversation{gap:11px;padding:11px 12px;min-height:70px}
.wmt-conv-avatar{width:44px;height:44px;flex:0 0 44px;border-radius:50%;object-fit:cover;background:#f1f3f5;box-shadow:0 1px 5px rgba(17,24,39,.08)}
.wmt-conv-avatar-fallback{display:inline-flex;align-items:center;justify-content:center;font-size:19px}
.wmt-conv-main{min-width:0;flex:1}
.wmt-conv-top{align-items:center}
.wmt-conv-name{font-size:14px;font-weight:800;color:#20242b;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wmt-conv-time{font-size:10px;color:#8f96a3;flex:0 0 auto}
.wmt-conv-store{display:block;margin-top:2px;font-size:11px;color:#777f8b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wmt-conv-last{display:block;margin-top:5px;font-size:12px;color:#555d69;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wmt-conv-last.is-unread{color:#444b56}
.wmt-conv-last.is-unread b{color:#e53935;font-weight:700}
.wmt-conv-product{width:38px;height:38px;flex:0 0 38px;border-radius:5px;object-fit:cover;background:#f2f3f5;border:1px solid #e7e9ed}
.wmt-conversation.is-selected{background:#f4f5f7}
.wmt-conversation.is-selected:before{background:var(--wmt-orange)}
@media(max-width:767px){
  .wmt-app{width:100%;max-width:100%;height:calc(100dvh - 80px);min-height:calc(100dvh - 80px);border-radius:0;overflow:hidden}
  .wmt-sidebar{width:100%;min-width:0;height:100dvh;min-height:calc(100dvh - 80px)}
  .wmt-conversations{min-height:0}
  .wmt-conversation{width:100%;box-sizing:border-box;padding:12px 13px;min-height:72px}
  .wmt-conv-avatar{width:45px;height:45px;flex-basis:45px}
  .wmt-conv-product{width:42px;height:42px;flex-basis:42px}
  .wmt-conv-name{font-size:14px}
  .wmt-conv-store{font-size:11px}
  .wmt-conv-last{font-size:12px}
  .wmt-chat{width:100%;height:100dvh}
  .wmt-chat-panel{width:100%;height:100dvh}
}

/* 1.2.4 conversation management: pin, individual delete, bulk delete, mobile safe */
.wmt-head-actions{display:flex;align-items:center;gap:6px}.wmt-select-toggle,.wmt-refresh{width:34px;height:34px;border:1px solid #e6e9ee;background:#fff;border-radius:10px;color:#596273;cursor:pointer}.wmt-select-toggle.is-active{background:#fff4e2;border-color:#ffb84d;color:#e17e00}.wmt-bulkbar{display:flex;align-items:center;gap:7px;padding:8px 12px;border-top:1px solid var(--wmt-line);border-bottom:1px solid var(--wmt-line);background:#fff}.wmt-bulkbar[hidden]{display:none}.wmt-bulkbar label{display:flex;align-items:center;gap:5px;font-size:11px;color:#667085;margin-right:auto}.wmt-bulkbar button{border:1px solid #e1e5ea;background:#f8f9fb;border-radius:8px;padding:7px 9px;font-size:11px;font-weight:700;color:#344054;cursor:pointer}.wmt-bulkbar button:hover{background:#fff4e2;border-color:#ffbf67}.wmt-bulkbar button:disabled{opacity:.45;cursor:not-allowed}.wmt-bulkbar button[data-wmt-delete-all],.wmt-conv-action.is-delete{color:#b42318}.wmt-conversation-row{position:relative;display:flex;align-items:stretch;border-bottom:1px solid #f0f2f5;background:#fff}.wmt-conversation-row.is-pinned{background:#fffaf2}.wmt-conversation-row .wmt-conversation{flex:1;min-width:0;border:0;border-radius:0;border-bottom:0}.wmt-conv-check{width:34px;display:flex;align-items:center;justify-content:center;flex:0 0 34px}.wmt-conv-check input{width:17px;height:17px;accent-color:#ff9900}.wmt-conv-actions{display:flex;flex-direction:column;justify-content:center;gap:2px;padding:3px 5px 3px 0}.wmt-conv-action{width:28px;height:28px;border:0;background:transparent;border-radius:8px;cursor:pointer;font-size:13px;opacity:.7}.wmt-conv-action:hover{background:#f3f4f6;opacity:1}.wmt-conv-action.is-delete:hover{background:#fff0ef}.wmt-conversation-row .wmt-conversation.is-selected{background:#f4f5f7}.wmt-conversation-row.is-pinned .wmt-conv-name{color:#20242b}.wmt-conversation-row.is-checked{background:#fff8ec}.wmt-conversation-row.is-checked .wmt-conversation{background:#fff8ec}.wmt-conv-actions{opacity:.72}.wmt-conversation-row:hover .wmt-conv-actions{opacity:1}
@media(max-width:767px){.wmt-bulkbar{padding:8px 9px;gap:5px}.wmt-bulkbar button{padding:7px 7px;font-size:10px}.wmt-conv-actions{padding-right:3px}.wmt-conv-action{width:30px;height:30px}.wmt-conv-check{width:32px;flex-basis:32px}.wmt-head-actions .wmt-select-toggle,.wmt-head-actions .wmt-refresh{width:32px;height:32px}}

.wmt-chat-actions{display:flex;align-items:center;gap:4px;margin-left:auto}.wmt-chat-actions button{width:34px;height:34px;border:1px solid #e7e9ed;background:#fff;border-radius:9px;color:#596273;cursor:pointer}.wmt-chat-actions button:hover{background:#fff4e2;border-color:#ffbd64;color:#df7d00}.wmt-chat-delete:hover{background:#fff0ef!important;border-color:#f5b6b0!important;color:#b42318!important}@media(max-width:767px){.wmt-chat-actions{gap:2px}.wmt-chat-actions button{width:32px;height:32px}}


/* 1.2.5 polished professional composer */
.wmt-compose{gap:10px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.98);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid #e8ebef;align-items:flex-end;box-shadow:0 -6px 20px rgba(16,24,40,.035)}
.wmt-compose-shell{min-width:0;flex:1;display:flex;align-items:flex-end;gap:8px;min-height:44px;padding:4px 8px 4px 6px;border:1px solid #dfe4ea;border-radius:16px;background:#f8fafc;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.wmt-compose-shell:focus-within{background:#fff;border-color:#ffb84d;box-shadow:0 0 0 4px rgba(255,153,0,.08)}
.wmt-compose-tools{display:flex;align-items:center;gap:3px;flex:0 0 auto;padding-bottom:1px}
.wmt-compose-tools button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:0;background:transparent;color:#667085;border-radius:10px;cursor:pointer;transition:background .18s ease,color .18s ease,transform .18s ease}
.wmt-compose-tools button:hover{background:#fff1dc;color:#e17e00;transform:translateY(-1px)}
.wmt-compose-tools button:focus-visible{outline:2px solid #ff9900;outline-offset:1px}
.wmt-compose-tools svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.wmt-compose textarea{flex:1;width:100%;min-width:0;min-height:34px;height:34px;max-height:120px;margin:0;padding:7px 4px;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;outline:none!important;resize:none;overflow-y:auto;font-size:13px;line-height:20px;color:#101828}
.wmt-compose textarea::placeholder{color:#98a2b3;opacity:1}
.wmt-compose-meta{display:none;align-items:center;flex:0 0 auto;padding:0 3px 2px;color:#98a2b3;font-size:10px;white-space:nowrap}
.wmt-send{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 46px;width:46px!important;height:46px!important;padding:0;border:0!important;border-radius:14px!important;background:linear-gradient(135deg,#ff9900,#ffab1f)!important;color:#fff!important;box-shadow:0 7px 18px rgba(255,153,0,.24)!important;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important}
.wmt-send:hover{transform:translateY(-1px) scale(1.01)!important;box-shadow:0 10px 22px rgba(255,153,0,.30)!important;filter:saturate(1.05)}
.wmt-send:active{transform:translateY(0) scale(.98)!important}
.wmt-send:focus-visible{outline:3px solid rgba(255,153,0,.25);outline-offset:2px}
.wmt-send svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;transform:translateX(1px)}
.wmt-upload-preview{box-shadow:0 -2px 8px rgba(16,24,40,.025)}
@media(min-width:768px){.wmt-compose-meta{display:flex}}
@media(max-width:767px){.wmt-compose{gap:7px;padding:8px 8px calc(8px + env(safe-area-inset-bottom))}.wmt-compose-shell{gap:4px;min-height:42px;padding:3px 6px 3px 4px;border-radius:15px}.wmt-compose-tools{gap:1px}.wmt-compose-tools button{width:31px;height:32px;border-radius:9px}.wmt-compose-tools svg{width:16px;height:16px}.wmt-compose textarea{min-height:32px;height:32px;font-size:13px;line-height:19px;padding:6px 3px}.wmt-compose .wmt-send{flex-basis:42px;width:42px!important;height:42px!important;border-radius:13px!important}.wmt-send svg{width:19px;height:19px}}


/* 1.2.6 professional aligned sidebar / bulk controls */
.wmt-sidebar{background:#fff}
.wmt-sidebar-head{min-height:86px;box-sizing:border-box;padding:20px 18px 14px}
.wmt-sidebar-head>div:first-child{min-width:0}
.wmt-sidebar h2{font-size:29px;line-height:1.05;margin-top:4px}
.wmt-head-actions{flex:0 0 auto;gap:7px}
.wmt-select-toggle,.wmt-refresh{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e4e7ec;background:#f8fafc;border-radius:12px;font-size:17px;box-shadow:none}
.wmt-select-toggle:hover,.wmt-refresh:hover{background:#fff7eb;border-color:#ffc66f;color:#d97706}
.wmt-select-toggle.is-active{background:#fff4df;border-color:#ffb44d;color:#d97706;box-shadow:0 0 0 3px rgba(255,153,0,.08)}
.wmt-bulkbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;background:#fbfcfd;border-top:1px solid #edf0f3;border-bottom:1px solid #e7ebef;box-sizing:border-box;min-height:54px}
.wmt-bulkbar[hidden]{display:none!important}
.wmt-bulk-select{display:flex;align-items:center;gap:8px;min-width:82px;margin:0;color:#667085;font-size:11px;font-weight:700;line-height:1;white-space:nowrap}
.wmt-bulk-select input{appearance:none;width:17px;height:17px;margin:0;border:1.5px solid #cbd2dc;border-radius:5px;background:#fff;display:inline-grid;place-content:center;cursor:pointer;flex:0 0 17px}
.wmt-bulk-select input:checked{background:#ff9900;border-color:#ff9900}
.wmt-bulk-select input:checked:after{content:'✓';font-size:11px;font-weight:900;color:#fff;line-height:1}
.wmt-bulk-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}
.wmt-bulk-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 11px!important;border:1px solid #e1e5ea!important;background:#f3f5f7!important;border-radius:10px!important;color:#344054!important;font-size:11px!important;font-weight:800!important;line-height:1!important;white-space:nowrap!important;word-break:keep-all!important;overflow:hidden;box-sizing:border-box}
.wmt-bulk-btn:hover{background:#fff4e2!important;border-color:#ffbd64!important;color:#c86f00!important}
.wmt-bulk-btn:disabled{opacity:.45!important}
.wmt-bulk-btn.is-danger{color:#b42318!important}
.wmt-bulk-btn.is-danger:hover{background:#fff0ef!important;border-color:#f3b5ae!important;color:#a61b13!important}
.wmt-bulk-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:6px;background:#e7eaee;color:#596273;font-size:11px;font-weight:900;flex:0 0 18px}
.wmt-bulk-btn.is-danger .wmt-bulk-icon{background:#fde7e5;color:#b42318}
.wmt-search{padding:10px 14px 9px;background:#fff}
.wmt-search input{height:42px;background:#fff;border-color:#dfe4ea;border-radius:12px;padding:0 13px;font-size:12px;box-shadow:0 2px 8px rgba(16,24,40,.025)}
.wmt-tabs{gap:7px;padding:5px 14px 12px;background:#fff;border-bottom:1px solid #e9edf1}
.wmt-tabs button{min-width:52px;height:38px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;background:#f0f2f5;color:#475467;border-radius:10px;font-size:12px;font-weight:800}
.wmt-tabs button.is-active{background:#ff9900;color:#fff;box-shadow:0 5px 14px rgba(255,153,0,.18)}
.wmt-conversation-row{min-height:78px;align-items:stretch}
.wmt-conversation{min-height:78px;box-sizing:border-box;padding:11px 10px 11px 12px;gap:10px}
.wmt-conv-main{align-self:center}
.wmt-conv-top{min-width:0;align-items:center}
.wmt-conv-name{font-size:13px;line-height:18px}
.wmt-conv-time{font-size:10px;line-height:18px}
.wmt-conv-store{font-size:10.5px;line-height:16px;color:#7a8390}
.wmt-conv-last{font-size:11.5px;line-height:17px;margin-top:2px}
.wmt-conv-product{width:42px;height:42px;flex:0 0 42px;border-radius:8px;align-self:center;box-shadow:0 2px 7px rgba(16,24,40,.08)}
.wmt-conv-actions{width:34px;flex:0 0 34px;box-sizing:border-box;align-items:center;gap:3px;padding:4px 5px 4px 0;opacity:.65}
.wmt-conv-action{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;font-size:12px}
.wmt-conversation-row:hover .wmt-conv-actions{opacity:1}
.wmt-conv-check{width:32px;flex:0 0 32px}
.wmt-conversation-row.is-checked .wmt-conversation{background:#fff8ec}

/* Keep the composer perfectly aligned with the content column. */
.wmt-compose{min-height:66px;box-sizing:border-box}
.wmt-compose-shell{min-width:0}
.wmt-compose-tools{flex:0 0 auto}
.wmt-compose textarea{display:block;overflow-x:hidden;overflow-y:auto}

@media(max-width:900px){
  .wmt-app{grid-template-columns:330px minmax(0,1fr)}
  .wmt-bulkbar{gap:8px;padding-left:10px;padding-right:10px}
  .wmt-bulk-actions{gap:5px}
  .wmt-bulk-btn{padding-left:9px!important;padding-right:9px!important}
}
@media(max-width:767px){
  .wmt-sidebar-head{min-height:82px;padding:16px 13px 11px}
  .wmt-sidebar h2{font-size:27px}
  .wmt-select-toggle,.wmt-refresh{width:38px;height:38px;border-radius:11px}
  .wmt-bulkbar{display:grid;grid-template-columns:minmax(78px,1fr) minmax(0,auto);align-items:center;gap:7px;padding:8px 9px;min-height:52px}
  .wmt-bulk-select{min-width:0}
  .wmt-bulk-actions{gap:5px}
  .wmt-bulk-btn{min-height:34px;padding:0 8px!important;font-size:10px!important;gap:4px}
  .wmt-bulk-btn .wmt-bulk-icon{width:16px;height:16px;flex-basis:16px;font-size:10px}
  .wmt-search{padding:9px 12px 8px}
  .wmt-tabs{padding:4px 11px 10px}
  .wmt-tabs button{height:37px}
  .wmt-conversation-row,.wmt-conversation{min-height:76px}
  .wmt-conversation{padding-left:10px;padding-right:7px}
  .wmt-conv-product{width:40px;height:40px;flex-basis:40px}
  .wmt-conv-actions{width:32px;flex-basis:32px;padding-right:3px}
  .wmt-conv-action{width:27px;height:27px}
}

/* 1.2.7 clean conversation text + professional composer */
.wmt-chat-panel{color:#111827}
.wmt-messages{color:#111827}
.wmt-message,
.wmt-message.mine,
.wmt-message.theirs{color:#111827!important;background:#fff!important;border:1px solid #e8ebef!important;box-shadow:0 3px 12px rgba(16,24,40,.045)}
.wmt-message.mine{border-color:#ffd18a!important;border-bottom-right-radius:6px}
.wmt-message.theirs{border-bottom-left-radius:6px}
.wmt-message-body,
.wmt-message-body *{color:#111827!important}
.wmt-message-time{color:#667085!important;opacity:1!important}
.wmt-file{color:#111827!important;background:#f8fafc!important;border:1px solid #e8ebef!important}
.wmt-media-video-wrap{color:#111827!important;background:#f7f8fa!important;border:1px solid #e8ebef!important}
.wmt-product-card{color:#111827!important;background:#fff;border:1px solid #e9edf2;border-radius:16px;box-shadow:0 4px 16px rgba(16,24,40,.05)}
.wmt-product-info,.wmt-product-info *{color:#111827}
.wmt-product-kicker{color:#c96f00!important}
.wmt-product-price{color:#111827!important}
.wmt-product-actions a{color:#111827!important;border-color:#e3e7ec!important;background:#fff!important}
.wmt-product-actions a:hover{color:#c96f00!important;border-color:#ffbd64!important;background:#fff8ec!important}
.wmt-compose{position:sticky;bottom:0;z-index:8;display:flex;align-items:center;gap:9px;min-height:74px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.98);border-top:1px solid #e5e9ee;box-shadow:0 -6px 18px rgba(16,24,40,.045);backdrop-filter:blur(8px)}
.wmt-compose-shell{display:flex;align-items:center;gap:8px;min-width:0;flex:1;background:#f8fafc;border:1px solid #dfe4ea;border-radius:16px;padding:5px 7px;transition:.18s ease}
.wmt-compose-shell:focus-within{background:#fff;border-color:#ffb84d;box-shadow:0 0 0 4px rgba(255,153,0,.08)}
.wmt-compose-tools{display:flex;align-items:center;gap:4px;flex:0 0 auto}
.wmt-compose-tools button{width:38px;height:38px;border:1px solid #e3e7ec;background:#fff;color:#3f4855;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 1px 3px rgba(16,24,40,.03)}
.wmt-compose-tools button:hover{color:#c96f00;background:#fff8ec;border-color:#ffc66f}
.wmt-compose-tools svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.wmt-compose textarea{flex:1;width:100%;min-width:0;min-height:40px;height:40px;max-height:130px;margin:0;padding:9px 4px;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#111827!important;font-size:14px;line-height:21px}
.wmt-compose textarea::placeholder{color:#98a2b3}
.wmt-compose-meta{display:none!important}
.wmt-compose .wmt-send{flex:0 0 48px;width:48px;height:48px;border:1px solid #ff9900;border-radius:14px;background:#ff9900;color:#111827;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 6px 16px rgba(255,153,0,.22)}
.wmt-compose .wmt-send:hover{background:#ffab1f;border-color:#ffab1f;color:#111827;transform:translateY(-1px)}
.wmt-compose .wmt-send svg{stroke:#111827!important}
.wmt-chat-head,.wmt-chat-head *{color:#111827}
.wmt-chat-head .wmt-chat-title span{color:#667085}
@media(max-width:767px){
 .wmt-compose{position:sticky;min-height:64px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));gap:6px}
 .wmt-compose-shell{gap:4px;padding:4px 6px 4px 4px;border-radius:15px}
 .wmt-compose-tools{gap:2px}
 .wmt-compose-tools button{width:32px;height:34px;border-radius:9px}
 .wmt-compose-tools svg{width:16px;height:16px}
 .wmt-compose textarea{min-height:34px;height:34px;font-size:13px;line-height:19px;padding:7px 2px}
 .wmt-compose .wmt-send{flex-basis:42px;width:42px;height:42px;border-radius:12px}
 .wmt-compose .wmt-send svg{width:19px;height:19px}
}

/* 1.2.8 mobile full-screen layout and touch-safe composer */
@media(max-width:767px){
  html.wmt-mobile-chat-open, body.wmt-mobile-chat-open{overflow:hidden!important;height:100%;overscroll-behavior:none}
  .wmt-app{display:block;position:relative;width:100%;height:calc(100dvh - 80px);min-height:calc(100dvh - 80px);margin:0;border:0;border-radius:0;box-shadow:none;overflow:hidden;background:#fff}
  .wmt-sidebar{display:flex;width:100%;height:calc(100dvh - 80px);min-height:calc(100dvh - 80px);border:0;overflow:hidden}
  .wmt-app.is-mobile-chat-open .wmt-sidebar{display:none}
  .wmt-chat{display:none;position:fixed;inset:0;width:100%;height:100dvh;min-height:100dvh;z-index:2147483000;background:#f8f9fb}
  .wmt-app.is-mobile-chat-open .wmt-chat{display:flex}
  .wmt-chat-panel{width:100%;height:100dvh;min-height:100dvh;max-height:100dvh;display:flex;overflow:hidden;padding-bottom:env(safe-area-inset-bottom)}
  .wmt-chat-head{height:58px;min-height:58px;flex:0 0 58px;padding:0 9px;gap:8px;padding-top:env(safe-area-inset-top)}
  .wmt-chat-head .wmt-back{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:0 0 36px;font-size:20px}
  .wmt-avatar{width:36px;height:36px;flex:0 0 36px}
  .wmt-chat-title{min-width:0;flex:1}
  .wmt-chat-title strong{font-size:14px;line-height:18px}
  .wmt-chat-title span{font-size:10px;line-height:14px;margin-top:1px}
  .wmt-chat-actions{margin-left:auto;flex:0 0 auto}
  .wmt-chat-actions button{width:32px;height:32px;flex:0 0 32px}
  .wmt-product-card{margin:8px 9px 0;padding:8px;gap:9px;border-radius:13px}
  .wmt-product-image{width:54px;height:54px;flex-basis:54px;border-radius:10px}
  .wmt-product-info strong{font-size:12px}
  .wmt-messages{min-height:0;flex:1;overflow-x:hidden;overflow-y:auto;padding:10px 9px 8px;gap:7px;-webkit-overflow-scrolling:touch}
  .wmt-message{max-width:88%;font-size:13px;line-height:1.45;padding:9px 11px;border-radius:15px}
  .wmt-attachments{grid-template-columns:1fr;gap:6px}
  .wmt-media-image img{height:auto;max-height:260px;object-fit:cover}
  .wmt-media-video-wrap{height:190px}
  .wmt-upload-preview{flex:0 0 auto;max-height:92px;padding:6px 8px}
  .wmt-compose{position:relative;bottom:auto;flex:0 0 auto;width:100%;box-sizing:border-box;min-height:62px;padding:6px 7px calc(6px + env(safe-area-inset-bottom));gap:5px;z-index:10}
  .wmt-compose-shell{min-width:0;flex:1;gap:3px;padding:3px 5px 3px 3px;border-radius:14px}
  .wmt-compose-tools{gap:1px;flex:0 0 auto}
  .wmt-compose-tools button{width:31px;height:34px;flex:0 0 31px}
  .wmt-compose textarea{min-width:0;width:100%;min-height:34px;height:34px;max-height:100px;padding:7px 3px;font-size:13px;line-height:19px}
  .wmt-compose .wmt-send{width:40px!important;flex:0 0 40px;height:40px!important;border-radius:12px!important}
  .wmt-send svg{width:18px;height:18px}
}
@media(max-width:380px){
  .wmt-chat-actions button{width:29px;height:29px;flex-basis:29px}
  .wmt-compose-tools button{width:29px;flex-basis:29px}
  .wmt-compose .wmt-send{width:38px!important;flex-basis:38px}
  .wmt-compose textarea{font-size:12px}
}

/* 1.2.9 message composer: tools above the writing area */
.wmt-compose{display:flex!important;align-items:flex-end!important;gap:10px!important;padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important}
.wmt-compose-main{min-width:0;flex:1;display:flex;flex-direction:column;gap:6px}
.wmt-compose-tools{order:0!important;width:100%;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:4px!important;padding:0 2px!important}
.wmt-compose-tools button{width:32px!important;height:32px!important;flex:0 0 32px!important;border:0!important;background:transparent!important;border-radius:8px!important;color:#667085!important;box-shadow:none!important;padding:0!important}
.wmt-compose-tools button:hover{background:#f1f3f5!important;color:#111827!important;transform:none!important}
.wmt-compose-tools button:focus-visible{outline:2px solid #ff9900!important;outline-offset:1px}
.wmt-compose-tools svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.wmt-compose-shell{order:1!important;width:100%!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;min-height:44px!important;padding:4px 9px!important;border:1px solid #dfe4ea!important;border-radius:15px!important;background:#f8fafc!important;gap:4px!important}
.wmt-compose-shell:focus-within{background:#fff!important;border-color:#ffb84d!important;box-shadow:0 0 0 3px rgba(255,153,0,.08)!important}
.wmt-compose textarea{width:100%!important;flex:1!important;min-height:36px!important;height:36px!important;padding:7px 3px!important;color:#111827!important}
.wmt-compose .wmt-send{align-self:flex-end!important;flex:0 0 46px!important;width:46px!important;height:46px!important}
@media(max-width:767px){
 .wmt-compose{align-items:flex-end!important;gap:6px!important;padding:6px 8px calc(6px + env(safe-area-inset-bottom))!important}
 .wmt-compose-main{gap:4px!important}
 .wmt-compose-tools{gap:2px!important;padding:0 1px!important}
 .wmt-compose-tools button{width:30px!important;height:30px!important;flex-basis:30px!important;border-radius:8px!important}
 .wmt-compose-tools svg{width:17px!important;height:17px!important}
 .wmt-compose-shell{min-height:40px!important;height:auto!important;padding:3px 6px!important;border-radius:13px!important}
 .wmt-compose textarea{min-height:34px!important;height:34px!important;font-size:13px!important;line-height:19px!important;padding:7px 2px!important}
 .wmt-compose .wmt-send{flex-basis:40px!important;width:40px!important;height:40px!important;border-radius:12px!important}
}
@media(max-width:380px){
 .wmt-compose-tools button{width:28px!important;height:29px!important;flex-basis:28px!important}
 .wmt-compose-tools svg{width:16px!important;height:16px!important}
 .wmt-compose .wmt-send{width:38px!important;flex-basis:38px!important}
}

/* 1.3.0 instant-send feedback */
.wmt-message.is-optimistic{opacity:.88}.wmt-message.is-send-failed{border-color:#ef4444!important;background:#fff7f7!important}.wmt-message-status{font-size:9px;margin-left:4px;font-weight:600}.wmt-status-sending{color:#98a2b3}.wmt-status-sent{color:#64748b}.wmt-status-failed{color:#dc2626}.wmt-message.is-send-failed .wmt-message-time{color:#dc2626!important}

/* 1.3.1: keep only the outer composer border; remove any inner textarea/theme border */
.wmt-compose-shell textarea,
.wmt-compose-shell textarea:focus,
.wmt-compose-shell textarea:active,
.wmt-compose-main textarea,
.wmt-compose-main textarea:focus,
.wmt-compose-main textarea:active{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  -webkit-appearance:none!important;
  appearance:none!important;
  background:transparent!important;
}
.wmt-compose-shell:focus-within{
  border-color:#ff9900!important;
  box-shadow:none!important;
}
