.by-chat{font-family:Manrope,"Segoe UI",sans-serif;color:#202833;font-size:14px}.by-chat-launcher{position:fixed;right:20px;bottom:20px;z-index:80;background:#4338CA;color:#fff;border:1px solid #3730A3;border-radius:6px;min-height:44px;padding:10px 18px;font:inherit;font-weight:700;box-shadow:0 8px 24px rgba(11,16,23,.28);cursor:pointer}.by-chat-launcher:hover{background:#3730A3}.by-chat-panel{position:fixed;right:20px;bottom:76px;width:min(390px,calc(100vw - 32px));max-height:calc(100dvh - 104px);overflow:auto;z-index:81;background:#fff;border:1px solid #D9DEE6;border-radius:8px;box-shadow:0 16px 48px rgba(11,16,23,.28);padding:0}.by-chat-panel[hidden],.by-chat [hidden]{display:none!important}.by-chat-panel header{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;background:linear-gradient(120deg,#0B1017,#1E293B);color:#fff;position:sticky;top:0;z-index:1}.by-chat-panel header strong{display:block;font-size:16px}.by-chat-panel header span{font-size:11px;color:#9FB0C4}.by-chat-close{background:transparent;color:#fff;border:0;font-size:24px;cursor:pointer;width:34px;height:34px}.by-chat-intro,.by-chat-status{margin:12px 18px;font-size:12px;line-height:1.5;color:#526174}.by-chat-contact{display:grid;gap:12px;padding:4px 18px 12px}.by-chat label{display:block;font-size:12px;font-weight:600;color:#202833}.by-chat input,.by-chat textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #B8C2D0;border-radius:6px;padding:10px;font:inherit;color:#202833;background:#fff;margin-top:5px}.by-chat input:focus,.by-chat textarea:focus{outline:2px solid #818CF8;outline-offset:1px;border-color:#4338CA}.by-chat-contact p{font-size:11px;color:#64748B;line-height:1.5;margin:0}.by-chat-contact button,.by-chat-compose button{background:#4338CA;color:#fff;border:0;border-radius:6px;padding:11px;font:inherit;font-weight:700;cursor:pointer;min-height:40px}.by-chat-contact button:hover,.by-chat-compose button:hover{background:#3730A3}.by-chat button:disabled{opacity:.6;cursor:wait}.by-chat button:focus-visible{outline:2px solid #818CF8;outline-offset:2px}.by-chat-messages{list-style:none;padding:14px 18px;margin:0;max-height:300px;overflow:auto;display:grid;gap:12px;overscroll-behavior:contain}.by-chat-messages li{padding:10px 12px;border-radius:6px;max-width:90%;word-break:break-word}.by-chat-messages p{margin:0;white-space:pre-wrap;line-height:1.5;font-size:13px}.by-chat-messages small{display:block;font-size:10px;color:#64748B;margin-top:6px}.by-chat-messages .from-visitor{background:#E0E7FF;color:#202833;margin-left:auto}.by-chat-messages .from-team{background:#F0F2F5;color:#202833;margin-right:auto}.by-chat-compose{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end;padding:10px 18px;border-top:1px solid #D9DEE6}.by-chat-compose textarea{resize:vertical;max-height:140px}.by-chat-previous{margin:0 18px 16px;padding:7px 0;color:#4338CA;border:0;background:none;cursor:pointer;font:inherit;font-size:11px;font-weight:600}.by-chat-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:480px){.by-chat-launcher{right:14px;bottom:14px;font-size:12px;padding:10px 14px}.by-chat-panel{right:16px;bottom:70px;max-height:calc(100dvh - 86px)}}

/* Keep drawer actions unobstructed; the chat session stays mounted. */
body.drawer-open .by-chat{display:none!important}
