body.app-shell .lx-hide-block-form{display:none!important}
body.app-shell .message-thread-row,body.app-shell .creator-thread-list>a{position:relative}
body.app-shell .message-thread-row .lx-thread-unread,body.app-shell .creator-thread-list>a .lx-thread-unread{position:absolute;right:10px;top:50%;transform:translateY(-50%);min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--accent);color:#fff;display:grid;place-items:center;font-size:10px;font-style:normal;line-height:1}
body.app-shell .message-thread-row.is-muted,body.app-shell .creator-thread-list>a.is-muted{opacity:.76}
body.app-shell .message-thread-row.is-pinned,body.app-shell .creator-thread-list>a.is-pinned{background:color-mix(in srgb,var(--accent) 7%,transparent)}
body.app-shell .lx-blocklist-link{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 9px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--muted);font:inherit;font-size:11px;white-space:nowrap}
body.app-shell .lx-thread-search{width:100%;min-height:34px;margin-top:8px;padding:0 11px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);font:inherit;font-size:12px}
body.app-shell .lx-thread-search::placeholder{color:var(--muted)}
body.app-shell .lx-conv-tools{display:flex;align-items:center;gap:5px;margin-left:auto}
body.app-shell .lx-conv-tool{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--text);font:inherit;font-size:17px;letter-spacing:1px}
body.app-shell .message-bubble,body.app-shell .creator-message{position:relative}
body.app-shell .lx-msg-more{position:absolute;top:4px;right:4px;z-index:2;width:28px;height:23px;display:grid;place-items:center;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--muted);font:inherit;font-size:14px;line-height:1;opacity:.9;box-shadow:0 2px 6px rgba(0,0,0,.06)}
body.app-shell .message-bubble.own .lx-msg-more{color:rgba(255,255,255,.72);background:rgba(0,0,0,.1)}
body.app-shell .lx-msg-more:active{opacity:1}
body.app-shell .message-bubble.is-recalled,body.app-shell .creator-message.is-recalled{opacity:.7;font-style:italic}
body.app-shell .message-bubble.is-recalled p,body.app-shell .creator-message.is-recalled p{color:var(--muted)}
body.app-shell .lx-composer-tools{display:flex;align-items:center;gap:8px;margin-top:5px}
body.app-shell .lx-emoji-toggle{width:30px;height:28px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--muted);font:inherit;font-size:16px}
body.app-shell .lx-composer-count{margin-left:auto;color:var(--muted);font-size:10px}
body.app-shell .lx-emoji-panel{display:grid;grid-template-columns:repeat(9,1fr);gap:3px;margin-top:6px;padding:7px;border:1px solid var(--line);border-radius:11px;background:var(--surface)}
body.app-shell .lx-emoji-panel[hidden]{display:none!important}
body.app-shell .lx-emoji-panel button{border:0;background:transparent;font-size:19px;line-height:1.4;padding:1px}
body.app-shell .lx-action-sheet,body.app-shell .lx-blocklist-dialog{width:min(92vw,420px);padding:0;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--text);box-shadow:0 24px 80px -24px rgba(0,0,0,.55)}
body.app-shell .lx-action-sheet::backdrop,body.app-shell .lx-blocklist-dialog::backdrop{background:rgba(5,12,20,.48);backdrop-filter:blur(5px)}
body.app-shell .lx-sheet-panel{padding:15px;background:var(--surface)}
body.app-shell .lx-sheet-panel>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}
body.app-shell .lx-sheet-panel>header strong{font-size:15px}
body.app-shell .lx-sheet-panel>header button{width:30px;height:30px;border:0;border-radius:50%;background:var(--soft);color:var(--muted);font-size:18px}
body.app-shell .lx-sheet-list{display:grid;gap:4px}
body.app-shell .lx-sheet-item{width:100%;min-height:43px;padding:0 12px;border:0;border-radius:10px;background:var(--soft);color:var(--text);text-align:left;font:inherit;font-size:13px}
body.app-shell .lx-sheet-item.is-danger{color:#d9484f}
body.app-shell .lx-sheet-cancel{width:100%;min-height:39px;margin-top:7px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--muted);font:inherit;font-size:12px}
body.app-shell .lx-blocklist{display:grid;gap:3px;max-height:52vh;overflow:auto}
body.app-shell .lx-block-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 4px;border-top:1px solid color-mix(in srgb,var(--line) 70%,transparent)}
body.app-shell .lx-block-row:first-child{border-top:0}
body.app-shell .lx-block-row strong{display:block;font-size:13px}
body.app-shell .lx-block-row small{display:block;margin-top:2px;color:var(--muted);font-size:11px}
body.app-shell .lx-block-empty{margin:0;padding:18px 0;text-align:center;color:var(--muted);font-size:12px}
body.app-shell .lx-conversation-gone{display:grid;gap:7px;place-content:center;min-height:260px;padding:24px;text-align:center}
body.app-shell .lx-conversation-gone strong{font-size:16px}
body.app-shell .lx-conversation-gone p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}
body.app-shell .lx-conversation-gone .button{justify-self:center;margin-top:4px}
body.app-shell .lx-msg-toast{position:fixed;left:50%;bottom:96px;z-index:130;transform:translate(-50%,12px);padding:9px 13px;border-radius:999px;background:rgba(17,24,32,.92);color:#fff;font-size:12px;box-shadow:0 8px 24px rgba(0,0,0,.22);opacity:0;pointer-events:none;transition:.2s}
body.app-shell .lx-msg-toast.is-visible{opacity:1;transform:translate(-50%,0)}
body.app-shell .lx-msg-toast.is-error{background:#9f2f38}
@media(max-width:520px){
 body.app-shell .message-pane-head{flex-wrap:wrap}
 body.app-shell .message-pane-head .lx-blocklist-link{order:3}
 body.app-shell .lx-thread-search{order:4;flex-basis:100%}
}
body.app-shell .message-compose{flex-wrap:wrap}
body.app-shell .message-compose>textarea{flex:1 1 180px;min-width:0}
body.app-shell .message-compose>.button{flex:0 0 auto}
body.app-shell .message-compose .lx-composer-tools{order:3;flex:1 0 100%;margin-top:0}
body.app-shell .message-compose .lx-emoji-panel{order:4;flex:1 0 100%}

body.app-shell .message-pane-head{flex-wrap:wrap}
body.app-shell .message-pane-head .lx-blocklist-link{order:3}
body.app-shell .message-pane-head .lx-thread-search{order:4;flex:1 0 100%}
body.app-shell.lx-chat-open{overflow:hidden;background:var(--bg)}
body.app-shell.lx-chat-open .messages-hub{padding:0!important;max-width:none!important}
body.app-shell.lx-chat-open .messages-hub-head,body.app-shell.lx-chat-open .messages-hub-tabs{display:none!important}
body.app-shell.lx-chat-open .messages-direct-layout{display:block!important;min-height:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important}
body.app-shell.lx-chat-open .message-thread-pane{display:none!important}
body.app-shell.lx-chat-open .message-conversation-pane{position:fixed!important;inset:0!important;z-index:90!important;display:flex!important;flex-direction:column!important;min-height:0!important;border:0!important;border-radius:0!important;background:var(--bg)!important;padding-top:env(safe-area-inset-top)!important}
body.app-shell.lx-chat-open .message-conversation-head{position:relative;flex:0 0 auto;display:flex;align-items:center;gap:9px;min-height:57px;padding:8px 12px 8px 8px!important;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--surface) 92%,transparent);backdrop-filter:blur(18px)}
body.app-shell.lx-chat-open .message-conversation-head .message-mobile-back{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--soft);color:var(--text);font-size:19px;flex:0 0 auto}
body.app-shell.lx-chat-open .message-conversation-head .avatar,body.app-shell.lx-chat-open .message-conversation-head img{width:34px;height:34px;border-radius:50%;object-fit:cover}
body.app-shell.lx-chat-open .message-conversation-head>div{min-width:0;flex:1}
body.app-shell.lx-chat-open .message-conversation-head strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
body.app-shell.lx-chat-open .message-conversation-head a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:10px}
body.app-shell.lx-chat-open .message-conversation-head .lx-conv-tools{margin-left:0;flex:0 0 auto}
body.app-shell.lx-chat-open .message-bubbles{flex:1 1 auto;min-height:0;max-height:none!important;overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding:14px 14px 20px!important;background:var(--bg);overscroll-behavior:contain}
body.app-shell.lx-chat-open .message-bubble{max-width:80%;padding:9px 11px!important;border-radius:16px!important;box-shadow:none!important;font-size:calc(var(--app-font-size,15px) * .9);line-height:1.5}
body.app-shell.lx-chat-open .message-bubble.own{align-self:flex-end;background:var(--accent)!important;color:#fff!important;border-bottom-right-radius:5px!important}
body.app-shell.lx-chat-open .message-bubble:not(.own){align-self:flex-start;background:var(--surface)!important;border:1px solid var(--line);border-bottom-left-radius:5px!important}
body.app-shell.lx-chat-open .message-bubble p{margin:0;font-size:inherit!important;line-height:inherit!important}
body.app-shell.lx-chat-open .message-bubble time{display:block;margin-top:3px;color:var(--muted);font-size:9px;text-align:right}
body.app-shell.lx-chat-open .message-bubble.own time{color:rgba(255,255,255,.7)}
body.app-shell.lx-chat-open .message-bubble details{margin-top:4px;font-size:10px}
body.app-shell.lx-chat-open .message-request-note{margin:10px 14px 0!important;padding:12px!important;border-radius:12px!important;background:color-mix(in srgb,var(--accent) 7%,var(--surface))!important}
body.app-shell.lx-chat-open .message-request-note p{font-size:12px;line-height:1.5;margin:0 0 8px}
body.app-shell.lx-chat-open .message-request-note .button{min-height:34px;padding:0 14px;font-size:12px}
body.app-shell.lx-chat-open .message-compose,body.app-shell.lx-chat-open .creator-compose{flex:0 0 auto;display:flex!important;flex-wrap:wrap;gap:7px!important;padding:8px 10px calc(8px + env(safe-area-inset-bottom))!important;border-top:1px solid var(--line)!important;background:var(--surface)!important}
body.app-shell.lx-chat-open .message-compose textarea{flex:1 1 180px;min-height:40px!important;max-height:96px!important;margin:0!important;padding:9px 11px!important;border:1px solid var(--line);border-radius:18px!important;background:var(--soft)!important;font-size:13px!important;resize:none}
body.app-shell.lx-chat-open .message-compose>.button{min-height:40px!important;padding:0 16px!important;border-radius:18px!important;font-size:12px}
body.app-shell.lx-chat-open .message-compose .lx-composer-tools{order:3;flex:1 0 100%;margin:0!important}
body.app-shell.lx-chat-open .message-compose .lx-emoji-panel{order:4;flex:1 0 100%}
body.app-shell.lx-chat-open .suite-bottom-nav{display:none!important}
body.app-shell .messages-hub{padding:10px 0 96px!important;max-width:760px!important}
body.app-shell .messages-hub-head{padding:0 16px 3px!important;align-items:center!important}
body.app-shell .messages-hub-head .eyebrow,body.app-shell .messages-hub-head p{display:none!important}
body.app-shell .messages-hub-head h1{font-size:26px!important;margin:0!important}
body.app-shell .messages-hub-tabs{margin:10px 12px 12px!important;padding:4px!important;border-radius:13px!important}
body.app-shell .messages-hub-tabs a{padding:9px 12px!important;font-size:12px!important}
body.app-shell .messages-direct-layout{border:0!important;border-radius:0!important;background:transparent!important}
body.app-shell .message-thread-pane{border:0!important;background:var(--surface);border-radius:16px;overflow:hidden;box-shadow:0 8px 26px -24px rgba(18,32,48,.35)}
body.app-shell .message-conversation-pane{border:0!important;border-radius:16px!important;overflow:hidden}

body.app-shell.lx-messages-page .management-menu{display:none!important}
body.app-shell .message-thread-list{padding-bottom:8px}
