.profitx-chat{--chat-accent:#ff344b;color:var(--text);font-family:inherit;min-width:0}.profitx-chat [hidden],.chat-launcher[hidden]{display:none!important}.chat-launcher{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:100;display:flex;align-items:center;gap:10px;padding:14px 18px;border:1px solid #713039;border-radius:99px;background:#16131b;color:#fff;font:600 13px inherit;cursor:pointer;box-shadow:0 8px 30px #0007}.auth-pending .chat-launcher{display:none}.chat-launcher:hover{border-color:#ff344b}.chat-unread{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;border-radius:99px;padding:0 5px;background:#d71932;color:white;font-size:11px}.chat-dialog{position:fixed;inset:auto 20px 20px auto;margin:0;padding:22px;width:min(460px,calc(100vw - 32px));height:min(740px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);max-width:calc(100vw - 32px);background:#101219;border:1px solid #44303a;border-radius:22px;box-shadow:0 20px 70px #000a}.chat-dialog[open]{display:flex;flex-direction:column}.chat-dialog::backdrop{background:#0006}.team-chat{max-width:1100px;margin:24px auto;padding:24px;background:var(--surface-solid);border:1px solid var(--line);border-radius:20px}.chat-heading{display:flex;align-items:center;gap:12px;flex-shrink:0}.chat-heading>div{flex:1}.chat-heading h2{margin:5px 0;font-size:25px}.chat-eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:800;color:#ff6577}.chat-description{font-size:13px;color:var(--muted);line-height:1.6;margin:8px 0 16px;flex-shrink:0}.profitx-chat button{font:inherit;cursor:pointer;color:var(--text);background:var(--surface-2);border:1px solid var(--line);border-radius:9px;padding:9px 13px}.profitx-chat button:disabled{opacity:.55;cursor:wait}.profitx-chat .chat-close{font-size:25px;width:42px;height:42px;line-height:1;padding:5px}.chat-messages{overflow-y:auto;overscroll-behavior:contain;min-height:130px;flex:1;padding:8px 5px 12px;scrollbar-width:thin;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.team-chat .chat-messages{height:clamp(240px,48dvh,520px)}.chat-message{max-width:90%;width:fit-content;padding:12px 14px;margin:10px 0;background:var(--surface-2);border:1px solid var(--line);border-radius:14px 14px 14px 3px;overflow-wrap:anywhere}.chat-message.is-own{margin-left:auto;background:#29161e;border-color:#63303b;border-radius:14px 14px 3px 14px}.chat-message-head{display:flex;gap:6px 10px;align-items:baseline;flex-wrap:wrap}.chat-message-head strong{font-size:12px}.chat-message-head small{font-size:10px;color:#ff8c9c}.chat-message-head time{font-size:10px;color:var(--muted)}.chat-message p{font-size:14px;line-height:1.6;white-space:pre-wrap;margin:6px 0 0;color:var(--text)}.profitx-chat .chat-remove{font-size:10px;padding:3px 6px;background:transparent;border:0;color:var(--muted);margin-top:6px}.chat-empty{text-align:center;padding:35px 15px;color:var(--muted);font-size:14px}.chat-compose{margin-top:14px;flex-shrink:0}.chat-compose label{font-size:12px;color:var(--muted);display:block}.chat-compose textarea{display:block;box-sizing:border-box;width:100%;min-height:65px;max-height:140px;resize:vertical;margin-top:6px;padding:12px;background:#090d16;border:1px solid var(--line);border-radius:12px;color:var(--text);font:14px/1.5 inherit}.chat-compose-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:8px}.chat-compose-footer small,.chat-key-hint,.chat-status{color:var(--muted);font-size:11px}.profitx-chat .chat-compose-footer button{background:#ce1d36;color:white;border-color:#ce1d36;padding:10px 22px}.chat-key-hint{display:block;margin-top:7px}.chat-status{margin:7px 0 0;line-height:1.5;min-height:17px;flex-shrink:0}.profitx-chat :focus-visible,.chat-launcher:focus-visible{outline:2px solid #ff6c7d;outline-offset:3px}.profitx-chat .chat-jump{align-self:center;font-size:12px;margin:6px auto 0}.profitx-chat .chat-older{font-size:12px;align-self:center;margin-bottom:6px}@media(max-width:600px){.chat-dialog{inset:auto 8px 8px 8px;width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:min(720px,calc(100dvh - 16px));max-height:calc(100dvh - 16px);padding:16px;border-radius:17px}.chat-launcher{right:14px;bottom:max(14px,env(safe-area-inset-bottom));padding:13px}.chat-launcher>span{display:none}.team-chat{padding:14px;margin-top:16px}.chat-heading h2{font-size:22px}.chat-message{max-width:95%;padding:10px}.chat-description{font-size:12px}}

.chat-unread[hidden]{display:none!important}.chat-launcher{font-family:inherit;font-size:13px;font-weight:600}.chat-compose textarea{font-family:inherit;font-size:14px;line-height:1.5}.team-chat{padding-bottom:84px}
#profitx-chat-launcher{width:44px;height:44px;padding:0;justify-content:center;gap:0;box-sizing:border-box;touch-action:none;user-select:none;cursor:grab}
#profitx-chat-launcher>span{display:none}#profitx-chat-launcher svg{width:22px;height:22px;pointer-events:none}#profitx-chat-launcher .chat-unread{position:absolute;top:-7px;right:-7px;min-width:18px;height:18px;font-size:10px;padding:0 4px;pointer-events:none}
#profitx-chat-launcher.is-dragging{cursor:grabbing;opacity:.8;transition:none}
