#moto52-widget-root { --m52-yellow: #f5c518; --m52-dark: #101215; --m52-dark-2: #171a1f; --m52-border: #2a3039; --m52-text: #f8fafc; --m52-muted: #98a2b3; --m52-white: #fff; position: relative; z-index: 2147483000; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
#moto52-widget-root * { box-sizing: border-box; }
.m52-launcher { position: fixed; right: 22px; bottom: 22px; width: 62px; height: 62px; border: 0; border-radius: 21px; background: var(--m52-yellow); color: #111; box-shadow: 0 16px 45px rgba(0,0,0,.33); display: grid; place-items: center; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.m52-launcher:hover { transform: translateY(-2px); box-shadow: 0 20px 55px rgba(0,0,0,.4); }
.m52-launcher-icon { width: 28px; height: 24px; border: 3px solid currentColor; border-radius: 8px; position: relative; }
.m52-launcher-icon::after { content: ""; position: absolute; left: 5px; bottom: -7px; width: 8px; height: 8px; border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: skewY(-30deg); background: var(--m52-yellow); }
.m52-panel { position: fixed; right: 22px; bottom: 96px; width: min(410px, calc(100vw - 28px)); height: min(690px, calc(100vh - 122px)); display: flex; flex-direction: column; overflow: hidden; border: 1px solid #343a43; border-radius: 26px; background: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.38); transform-origin: right bottom; transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.m52-panel[hidden] { display: none; }
.m52-head { display: flex; align-items: center; gap: 12px; padding: 16px; background: linear-gradient(135deg, #111317, #1e2229); color: #fff; }
.m52-avatar { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 14px; display: grid; place-items: center; background: var(--m52-yellow); color: #111; font-weight: 950; }
.m52-head-copy { min-width: 0; flex: 1; }
.m52-head-copy strong, .m52-head-copy span { display: block; }
.m52-head-copy strong { font-size: 15px; }
.m52-head-copy span { margin-top: 2px; color: #aeb7c3; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m52-head-actions { display: flex; gap: 6px; }
.m52-icon-button { width: 36px; height: 36px; border: 1px solid #343a42; border-radius: 11px; background: #242931; color: #fff; display: grid; place-items: center; cursor: pointer; }
.m52-chat { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; background: #f5f7fa; scroll-behavior: smooth; }
.m52-row { display: flex; margin: 0 0 12px; }
.m52-row-user { justify-content: flex-end; }
.m52-bubble { max-width: 86%; border-radius: 17px; padding: 11px 13px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.m52-row-bot .m52-bubble { border: 1px solid #e4e7ec; border-bottom-left-radius: 6px; background: #fff; color: #22272e; }
.m52-row-user .m52-bubble { border-bottom-right-radius: 6px; background: #1c2026; color: #fff; }
.m52-source { display: inline-flex; margin-top: 8px; color: #6b7280; font-size: 11px; text-decoration: underline; text-underline-offset: 2px; }
.m52-products { display: grid; gap: 9px; margin: 0 0 14px; }
.m52-product { display: grid; grid-template-columns: 68px 1fr; gap: 10px; border: 1px solid #e4e7ec; border-radius: 15px; background: #fff; overflow: hidden; text-decoration: none; color: #20242a; }
.m52-product-media { min-height: 78px; display: grid; place-items: center; background: #eef1f4; overflow: hidden; }
.m52-product-media img { width: 100%; height: 100%; object-fit: cover; }
.m52-product-placeholder { font-size: 23px; font-weight: 950; color: #929aa5; }
.m52-product-copy { min-width: 0; padding: 9px 9px 9px 0; }
.m52-product-title-row { display: flex; align-items: flex-start; gap: 6px; min-width: 0; }
.m52-product-number { flex: 0 0 auto; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; display: inline-grid; place-items: center; background: #f3f5f7; color: #5a626c; font-size: 10px; line-height: 1; font-weight: 850; }
.m52-product-title { display: block; font-size: 12px; line-height: 1.3; font-weight: 780; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m52-product-meta { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 7px; align-items: center; }
.m52-price { color: #111; font-size: 13px; font-weight: 900; }
.m52-stock { border-radius: 999px; background: #ecfdf3; color: #18794e; padding: 3px 6px; font-size: 10px; font-weight: 750; }
.m52-stock-unknown { background: #f2f4f7; color: #667085; }
.m52-stock-no { background: #fff1f0; color: #b42318; }
.m52-quick { display: flex; gap: 7px; overflow-x: auto; padding: 0 14px 10px; background: #fff; scrollbar-width: none; }
.m52-quick::-webkit-scrollbar { display: none; }
.m52-chip { flex: 0 0 auto; border: 1px solid #dfe3e8; border-radius: 999px; background: #fff; color: #353b44; padding: 8px 10px; font-size: 11px; font-weight: 730; cursor: pointer; }
.m52-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px 12px 12px; background: #fff; border-top: 1px solid #e4e7ec; }
.m52-input { width: 100%; min-height: 44px; border: 1px solid #d6dbe2; border-radius: 14px; padding: 10px 12px; outline: none; color: #1e2329; background: #fff; }
.m52-input:focus { border-color: #8b929d; box-shadow: 0 0 0 3px rgba(17,24,39,.06); }
.m52-send { width: 46px; height: 44px; border: 0; border-radius: 14px; background: var(--m52-yellow); color: #111; font-weight: 950; cursor: pointer; }
.m52-status { min-height: 18px; padding: 0 14px 9px; background: #fff; color: #7d8795; font-size: 11px; }
.m52-lead-toggle { margin: 0 12px 10px; border: 0; background: transparent; color: #525b67; font-size: 11px; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.m52-lead { margin: 0 12px 12px; padding: 12px; border: 1px solid #e0e4e8; border-radius: 15px; background: #fafbfc; }
.m52-lead[hidden] { display: none; }
.m52-lead-grid { display: grid; gap: 8px; }
.m52-lead input { width: 100%; min-height: 40px; border: 1px solid #d7dce2; border-radius: 11px; padding: 8px 10px; background: #fff; color: #20242a; }
.m52-lead-submit { min-height: 40px; border: 0; border-radius: 11px; background: #1b1f24; color: #fff; font-weight: 800; cursor: pointer; }
.m52-lead-note { margin: 8px 0 0; color: #7b8490; font-size: 10px; line-height: 1.4; }
.m52-error { color: #b42318; }
@media (max-width: 560px) {
  .m52-launcher { right: 14px; bottom: 14px; width: 58px; height: 58px; border-radius: 19px; }
  .m52-panel { inset: 10px 10px 82px; width: auto; height: auto; border-radius: 22px; }
}

.m52-product[hidden] { display: none; }
.m52-products-more { width: 100%; min-height: 38px; border: 1px solid #dfe3e8; border-radius: 12px; background: #fff; color: #303741; font-size: 12px; font-weight: 760; cursor: pointer; }
.m52-typing { display: inline-flex; gap: 4px; align-items: center; min-width: 52px; min-height: 38px; }
.m52-typing i { width: 7px; height: 7px; border-radius: 50%; background: #89919c; animation: m52-typing 1.15s infinite ease-in-out; }
.m52-typing i:nth-child(2) { animation-delay: .14s; }
.m52-typing i:nth-child(3) { animation-delay: .28s; }
@keyframes m52-typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.m52-status:empty { display: none; }

.m52-lead-toggle.m52-lead-ready {
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(12, 125, 255, .18) inset;
}
