#joy-cover-chat{--green:#173d34;--border:#dce5de;--muted:#687b70;font:14px/1.5 Inter,"Noto Sans SC",Arial,sans-serif;color:#173d34}#joy-cover-chat *{box-sizing:border-box}#joy-cover-chat button{font:inherit;cursor:pointer;border:0;background:transparent;color:inherit}#joy-cover-chat button:disabled{opacity:.55;cursor:wait}#joy-cover-chat svg{width:20px;height:20px;flex-shrink:0}#joy-cover-chat [hidden]{display:none!important}#joy-cover-chat button:focus-visible,#joy-cover-chat textarea:focus-visible,#joy-cover-chat input:focus-visible{outline:3px solid #b7904e;outline-offset:2px}#joy-cover-chat .avatar{width:30px;height:30px;border-radius:10px;background:#edece5;color:#587263;display:grid;place-items:center;flex-shrink:0;font-size:11px;font-weight:700}#joy-cover-chat .count{display:inline-grid;place-items:center;min-width:19px;height:19px;border-radius:12px;background:#b56828;color:white;font-size:10px;padding:0 4px}#joy-cover-chat .pill{display:inline-block;background:#f1eee4;color:#785f37;border-radius:5px}#joy-cover-chat .chat-launcher{position:fixed;z-index:25;bottom:24px;right:24px;border-radius:30px;background:#173d34;color:#fff;display:flex;gap:10px;align-items:center;padding:16px 22px;font-weight:650;box-shadow:0 7px 26px #173d3440}#joy-cover-chat .chat-launcher svg{width:22px;height:22px}#joy-cover-chat .chat-window{position:fixed;z-index:25;bottom:20px;right:24px;width:410px;height:min(650px,calc(100dvh - 96px));min-height:350px;background:white;border:1px solid #cbd6ce;border-radius:17px;box-shadow:0 18px 60px #132e3330,0 3px 12px #132e3310;display:flex;flex-direction:column;overflow:hidden}#joy-cover-chat .chat-window.expanded{width:min(730px,calc(100vw - 48px));height:calc(100dvh - 96px)}#joy-cover-chat .chat-header{display:flex;align-items:center;gap:11px;padding:16px;background:#173d34;color:#fff;flex-shrink:0}#joy-cover-chat .chat-title-icon{width:35px;height:35px;background:#ffffff12;display:grid;place-items:center;border-radius:9px;color:#e1c88f}#joy-cover-chat .chat-header h2{font-size:15px;letter-spacing:.02em}#joy-cover-chat .chat-header small{font-size:10px;color:#bccfc6}#joy-cover-chat .chat-header>div{flex:1}#joy-cover-chat .chat-header .icon-button{color:#d2dfd8;width:29px;height:32px}#joy-cover-chat .chat-header .icon-button:hover{background:#ffffff18}#joy-cover-chat .chat-header .icon-button svg{width:16px;height:16px}#joy-cover-chat .chat-tabs{display:flex;padding:0 12px;border-bottom:1px solid var(--border);flex-shrink:0}#joy-cover-chat .chat-tabs button{flex:1;display:flex;justify-content:center;align-items:center;gap:7px;padding:14px 3px;border-bottom:2px solid transparent;font-size:12px;color:#67776f;font-weight:650}#joy-cover-chat .chat-tabs button svg{width:16px;height:16px}#joy-cover-chat .chat-tabs button.active{border-bottom-color:#a37d3e;color:#173d34}#joy-cover-chat .chat-tabs .count{min-width:16px;height:16px;font-size:10px}#joy-cover-chat .chat-content{display:flex;flex-direction:column;flex:1;min-height:0}#joy-cover-chat .context-bar{display:flex;gap:10px;align-items:center;padding:13px 16px;border-bottom:1px solid #eef0ec;flex-shrink:0}#joy-cover-chat .group-avatar{display:grid;place-items:center;border-radius:9px;width:34px;height:34px;background:#f2f1ed;color:#917341}#joy-cover-chat .context-bar>div{min-width:0;flex:1}#joy-cover-chat .context-bar b{display:block;font-size:12px}#joy-cover-chat .context-bar small{display:block;font-size:10px;margin-top:2px}#joy-cover-chat .people-button{display:flex;gap:4px;align-items:center;border:1px solid #e3e8e2;border-radius:6px;padding:5px 7px;font-size:10px}#joy-cover-chat .people-button svg{width:12px;height:12px}#joy-cover-chat .people-list{padding:10px 16px;display:flex;gap:10px;flex-wrap:wrap;border-bottom:1px solid var(--border)}#joy-cover-chat .people-list>span{display:flex;align-items:center;gap:5px;font-size:11px}#joy-cover-chat .people-list .avatar{width:23px;height:23px;font-size:9px;border-radius:7px}#joy-cover-chat .chat-pinned{display:flex;gap:7px;align-items:flex-start;background:#faf8f3;color:#856d43;font-size:10px;padding:9px 16px;flex-shrink:0}#joy-cover-chat .chat-pinned svg{width:13px;height:13px;margin-top:1px}#joy-cover-chat .message-feed{overflow:auto;flex:1;min-height:70px;padding:14px 16px 10px;scrollbar-width:thin;scrollbar-color:#c9d2cb transparent;overscroll-behavior-y:contain;touch-action:pan-y;background:#fdfdfb}#joy-cover-chat .day-divider{display:flex;align-items:center;gap:10px;font-size:9px;color:#89938b;margin:1px 0 17px}#joy-cover-chat .day-divider:before,#joy-cover-chat .day-divider:after{content:"";height:1px;background:#eef0eb;flex:1}#joy-cover-chat .message{display:flex;gap:8px;margin-bottom:12px;align-items:flex-start}#joy-cover-chat .message>.avatar{width:29px;height:29px;border-radius:9px;font-size:10px;margin-top:3px}#joy-cover-chat .message-content{min-width:0;max-width:calc(100% - 37px)}#joy-cover-chat .message-meta{display:flex;gap:9px;align-items:center;margin-bottom:4px;font-size:10px}#joy-cover-chat .message-meta b{font-weight:600}#joy-cover-chat .message-meta time{color:#8a948c;font-size:9px}#joy-cover-chat .bubble{background:#f1f3f0;border:1px solid #e7ece5;padding:10px 12px;border-radius:0 11px 11px;font-size:12px;color:#334e43}#joy-cover-chat .bubble p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}#joy-cover-chat .mention{font-weight:650;color:#456f91}#joy-cover-chat .message.mine{justify-content:flex-end}#joy-cover-chat .message.mine .message-meta{justify-content:flex-end}#joy-cover-chat .message.mine .bubble{background:#e7eeea;border-color:#dce6de;border-radius:11px 0 11px 11px}#joy-cover-chat .message.mine .message-content{max-width:88%}#joy-cover-chat .message-bottom{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:2px}#joy-cover-chat .message-bottom button{font-size:9px;color:#77877c;padding:4px}#joy-cover-chat .message-bottom button svg{width:12px;height:12px;margin-right:3px}#joy-cover-chat .message-bottom small{font-size:9px;color:#819083}#joy-cover-chat .linked-card{display:flex;gap:9px;align-items:center;padding:9px 10px;margin-top:9px;width:100%;text-align:left;border:1px solid #dae1d8;border-radius:7px;background:#fff}#joy-cover-chat .linked-card>span{flex:1}#joy-cover-chat .linked-card b,#joy-cover-chat .linked-card small{display:block;font-size:10px}#joy-cover-chat .linked-card small{font-size:9px;margin-top:2px}#joy-cover-chat .linked-card svg{width:14px;height:14px;color:#8c744b}#joy-cover-chat .reply-quote{border-left:2px solid #9cae9e;padding:4px 8px;margin-bottom:7px;background:#ffffff80;font-size:10px;border-radius:0 5px 5px 0}#joy-cover-chat .reply-quote b,#joy-cover-chat .reply-quote span{display:block}#joy-cover-chat .reply-quote span{color:#6e7b72;max-width:240px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#joy-cover-chat .highlight .bubble{outline:2px solid #b9934e;outline-offset:2px}#joy-cover-chat .composer-form{border-top:1px solid var(--border);padding:10px 12px 12px;flex-shrink:0;background:white}#joy-cover-chat .compose-box{position:relative;border:1px solid #d5dfd6;border-radius:10px;background:#fff}#joy-cover-chat .compose-box:focus-within{border-color:#708d7b;box-shadow:0 0 0 2px #708d7b13}#joy-cover-chat #composer{border:0;background:transparent;resize:none;width:100%;padding:11px 12px 5px;min-height:59px;max-height:100px;font-size:12px;color:#173d34;display:block;line-height:1.6}#joy-cover-chat #composer:focus{outline:none}#joy-cover-chat #composer::placeholder{color:#929c94}#joy-cover-chat .composer-toolbar{display:flex;align-items:center;justify-content:space-between;padding:3px 7px 7px;gap:8px}#joy-cover-chat .composer-toolbar>div{display:flex;align-items:center;gap:0}#joy-cover-chat .composer-toolbar small{font-size:9px;padding-left:5px;color:#8c968e}#joy-cover-chat .composer-toolbar .icon-button{color:#748679;width:29px;height:29px}#joy-cover-chat .composer-toolbar svg{width:16px;height:16px}#joy-cover-chat .send-button{border-radius:7px;padding:7px 10px;background:#173d34;color:white;display:flex;gap:8px;align-items:center;font-size:11px}#joy-cover-chat .send-button svg{width:13px;height:13px}#joy-cover-chat .reply-bar,#joy-cover-chat .attachment-chip{display:flex;align-items:center;gap:8px;background:#f6f5ef;padding:8px 10px;margin:0 0 8px;border-radius:7px;font-size:10px}#joy-cover-chat .reply-bar>span,#joy-cover-chat .attachment-chip>span{flex:1;min-width:0}#joy-cover-chat .reply-bar b,#joy-cover-chat .reply-bar small{display:block;font-size:10px}#joy-cover-chat .reply-bar small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#joy-cover-chat .reply-bar>svg,#joy-cover-chat .attachment-chip>svg{width:15px;height:15px;color:#9b7840}#joy-cover-chat .reply-bar .icon-button,#joy-cover-chat .attachment-chip .icon-button{width:24px;height:24px}#joy-cover-chat .attach-picker{display:block;font-size:11px;padding:0 2px 9px}#joy-cover-chat .attach-picker select{display:block;margin-top:5px;border:1px solid var(--border);padding:8px;border-radius:6px;width:100%;color:#173d34;background:white}#joy-cover-chat .send-error{font-size:11px;color:#a54731;margin:7px 3px 0}#joy-cover-chat #mention-targets{font-size:10px;color:#7c6339;padding:0 12px}#joy-cover-chat #mention-targets:not(:empty){padding-bottom:5px}#joy-cover-chat #mention-targets svg{width:12px;height:12px}#joy-cover-chat #mention-menu{position:absolute;z-index:5;bottom:calc(100% + 7px);left:0;right:0;background:#fff;border:1px solid #d1dcd3;border-radius:10px;box-shadow:0 10px 35px #173d3428;padding:6px;max-height:230px;overflow:auto}#joy-cover-chat #mention-menu>small{display:block;font-size:10px;padding:5px 8px;color:#7a887e}#joy-cover-chat #mention-menu button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border-radius:6px;padding:8px;font-size:12px}#joy-cover-chat #mention-menu button[aria-selected=true],#joy-cover-chat #mention-menu button:hover{background:#f0f3ed}#joy-cover-chat #mention-menu button>span:nth-child(2){flex:1}#joy-cover-chat #mention-menu button small{display:block;font-size:9px}#joy-cover-chat #mention-menu p{font-size:11px;padding:10px}#joy-cover-chat #mention-menu button>svg{width:14px;height:14px;color:#a38c60}#joy-cover-chat #mention-menu .avatar{width:29px;height:29px;font-size:10px}#joy-cover-chat .chat-search{display:flex;align-items:center;gap:7px;margin:13px 14px;border:1px solid var(--border);border-radius:8px;padding:8px 10px;color:#8a9a8d}#joy-cover-chat .chat-search input{border:0;outline:0;min-width:0;width:100%;color:var(--green);font-size:12px}#joy-cover-chat .chat-search svg{width:15px;height:15px}#joy-cover-chat .thread-list{overflow:auto;min-height:0;flex:1;padding:0 12px 12px}#joy-cover-chat .thread-row{display:flex;gap:11px;width:100%;padding:16px 7px;text-align:left;border-bottom:1px solid #e8ece6;align-items:flex-start}#joy-cover-chat .thread-row:hover{background:#fafbf8}#joy-cover-chat .thread-icon{background:#f2eee4;color:#987341;width:34px;height:34px;display:grid;place-items:center;border-radius:9px}#joy-cover-chat .thread-row>div{flex:1;min-width:0}#joy-cover-chat .thread-row b{font-size:12px}#joy-cover-chat .thread-row p{font-size:11px;margin:4px 0 1px;color:#687c70}#joy-cover-chat .thread-row small{display:block;font-size:10px}#joy-cover-chat .thread-row .pill{margin-top:8px;font-size:9px;padding:3px 6px}#joy-cover-chat .thread-row>svg{margin-top:12px;width:14px;height:14px;color:#8a9b8d}#joy-cover-chat .panel-foot{display:flex;justify-content:center;gap:6px;padding:13px 12px;border-top:1px solid var(--border);font-size:9px;color:#829084;flex-shrink:0}#joy-cover-chat .panel-foot svg{width:13px;height:13px}#joy-cover-chat .mentions-heading{padding:17px 20px}#joy-cover-chat .mentions-heading b,#joy-cover-chat .mentions-heading small{display:block;font-size:12px}#joy-cover-chat .mentions-heading small{font-size:10px;margin-top:5px}#joy-cover-chat .mention-row{display:flex;width:100%;gap:9px;padding:14px 10px;text-align:left;margin-bottom:8px;border:1px solid var(--border);border-radius:9px}#joy-cover-chat .mention-row.unread{background:#faf7ef;border-color:#dfd0ae}#joy-cover-chat .mention-row>div{flex:1;min-width:0}#joy-cover-chat .mention-row b{font-size:11px}#joy-cover-chat .mention-row b small{font-size:10px;font-weight:400;margin-left:5px}#joy-cover-chat .mention-row p{font-size:11px;color:#5b7164;line-height:1.6;margin:6px 0;overflow-wrap:anywhere}#joy-cover-chat .mention-row div>span{font-size:9px;color:#947644}#joy-cover-chat .empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 25px;text-align:center;gap:10px;color:#87978b}#joy-cover-chat .empty>svg{width:30px;height:30px;color:#b6c3b8}#joy-cover-chat .empty b{font-size:13px;color:#516b5c}#joy-cover-chat .empty p{font-size:11px;line-height:1.7}#joy-cover-chat .chat-window.expanded .message-feed{padding-inline:24px}#joy-cover-chat .chat-window.expanded .message-content{max-width:75%}#joy-cover-chat #toast{position:fixed;z-index:50;bottom:24px;left:24px;max-width:min(420px,calc(100vw - 48px));background:#173d34;color:#fff;padding:12px 18px;border-radius:10px;font-size:12px;box-shadow:0 6px 30px #173d3430;opacity:0;pointer-events:none;transform:translateY(10px);transition:.2s}#joy-cover-chat #toast.show{opacity:1;transform:none}

#joy-cover-chat .chat-window{z-index:900;width:400px;max-width:calc(100vw - 32px)}#joy-cover-chat .chat-launcher{z-index:899;background:#173d34;color:white}#joy-cover-chat .send-button{background:#173d34;color:white}#joy-cover-chat .chat-window.expanded{width:600px;max-width:calc(100vw - 32px)}#joy-cover-chat .chat-error{background:#fff5e8;color:#824016;padding:10px 14px;font-size:12px}#joy-cover-chat .chat-error button{text-decoration:underline}#joy-cover-chat .load-older{display:block;margin:0 auto 12px;font-size:12px;text-decoration:underline}#joy-cover-chat .reply-quote{overflow-wrap:anywhere}#joy-cover-chat .message-feed{overscroll-behavior:contain}#joy-cover-chat .chat-launcher i{background:#ad692f;color:white;border-radius:50%;font-size:12px;padding:0 4px}#joy-cover-chat .chat-header h2{margin:0;color:#fff}#joy-cover-chat .chat-window :is(button,input,textarea){font-family:inherit}#joy-cover-chat .composer-form{margin:0}#joy-cover-chat .message-content{min-width:0}#joy-cover-chat .bubble p{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:600px){#joy-cover-chat .chat-window,#joy-cover-chat .chat-window.expanded{inset:auto 8px max(8px,env(safe-area-inset-bottom));width:auto;max-width:none;height:calc(100dvh - 64px);min-height:0;max-height:780px;border-radius:15px}#joy-cover-chat .chat-header{padding:14px 13px}#joy-cover-chat .chat-tabs button{padding:12px 3px}#joy-cover-chat #composer{font-size:16px;min-height:66px;line-height:1.4}#joy-cover-chat #expand{display:none}#joy-cover-chat .chat-launcher{right:16px;bottom:20px;padding:14px 19px}#joy-cover-chat .chat-window.expanded .message-content{max-width:calc(100% - 37px)}}
@media(max-height:600px){#joy-cover-chat .chat-window{height:calc(100dvh - 32px);min-height:0;bottom:16px}#joy-cover-chat .chat-pinned{display:none}#joy-cover-chat .chat-header{padding-block:10px}}
@media print{#joy-cover-chat{display:none!important}}

#joy-cover-chat .bubble p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}

/* Unread stays visible outside the launcher; bottom actions keep their own space. */
#joy-cover-chat .chat-launcher{bottom:max(24px,env(safe-area-inset-bottom));isolation:isolate;transform:translate(var(--chat-launcher-x,0px),var(--chat-launcher-y,0px));touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}
#joy-cover-chat.is-dragging .chat-launcher{cursor:grabbing;box-shadow:0 12px 32px #173d3440}
#joy-cover-chat .chat-launcher .count{position:absolute;top:-7px;right:-5px;min-width:25px;height:25px;padding:0 6px;border:2px solid #fff;border-radius:16px;background:#bf303b;color:#fff;font-size:11px;font-weight:750;line-height:1;box-shadow:0 2px 5px #0002}
@media(max-width:600px){#joy-cover-chat .chat-launcher{bottom:max(20px,env(safe-area-inset-bottom))}}
