.by-chat{font-family:Manrope,"Segoe UI",sans-serif;color:#10213a;font-size:14px}.by-chat-launcher{position:fixed;right:20px;bottom:20px;z-index:80;background:#1457ff;color:white;border:0;border-radius:999px;min-height:48px;padding:13px 20px;font:inherit;font-weight:700;box-shadow:0 8px 28px #07192f40;cursor:pointer}.by-chat-panel{position:fixed;right:20px;bottom:82px;width:min(390px,calc(100vw - 32px));max-height:calc(100dvh - 108px);overflow:auto;z-index:81;background:white;border:1px solid #dce5f2;border-radius:20px;box-shadow:0 18px 70px #07192f55}.by-chat-panel[hidden],.by-chat [hidden]{display:none!important}.by-chat-panel header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;background:linear-gradient(120deg,#07192f,#164ba0);color:#fff;position:sticky;top:0;z-index:1}.by-chat-panel header strong{display:block;font-size:17px}.by-chat-panel header span{font-size:11px;color:#c4d7f4}.by-chat-close{background:transparent;color:white;border:0;font-size:26px;cursor:pointer;width:36px;height:36px}.by-chat-intro,.by-chat-status{margin:12px 18px;font-size:12px;line-height:1.5;color:#5b6b82}.by-chat-contact{display:grid;gap:12px;padding:4px 18px 12px}.by-chat label{display:block;font-size:12px;font-weight:600}.by-chat input,.by-chat textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #c7d6ea;border-radius:10px;padding:11px;font:inherit;color:#10213a;background:white;margin-top:5px}.by-chat input:focus,.by-chat textarea:focus{outline:2px solid #99b8ff;outline-offset:1px}.by-chat-contact p{font-size:11px;color:#66758e;line-height:1.5;margin:0}.by-chat-contact button,.by-chat-compose button{background:#1457ff;color:white;border:0;border-radius:10px;padding:12px;font:inherit;font-weight:700;cursor:pointer;min-height:42px}.by-chat button:disabled{opacity:.6;cursor:wait}.by-chat button:focus-visible{outline:3px solid #8fb8ff;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:12px;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:#647695;margin-top:6px}.by-chat-messages .from-visitor{background:#edf4ff;margin-left:auto}.by-chat-messages .from-team{background:#f1f5f9;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 #e3eaf4}.by-chat-compose textarea{resize:vertical;max-height:140px}.by-chat-previous{margin:0 18px 16px;padding:7px 0;color:#1b4ad6;border:0;background:none;cursor:pointer;font:inherit;font-size:11px}.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:12px 15px}.by-chat-panel{right:16px;bottom:76px;max-height:calc(100dvh - 90px)}}

.by-chat-panel{padding:0}

/* Keep drawer actions unobstructed; the chat session stays mounted. */
body.drawer-open .by-chat{display:none!important}
