/* Chatroom workspace v1 — a page-scoped presentation over existing local hooks. */
body.page-chatroom { min-width:320px !important; background:var(--mkt-legacy-canvas-3e4b54da7cd3,#f7f7fb); color:var(--mkt-legacy-text-3201a1b9906f,#302a39); }
body.page-chatroom .c76-page[data-chatroom-layout] {
  --c76-panel:#fff;
  --mkt-themed-fill-c76-panel:var(--mkt-legacy-fill-cd4f35c69835,#fff);
  --mkt-themed-shadow-c76-panel:var(--mkt-legacy-shadow-cd4f35c69835,#fff);
  --mkt-themed-border-c76-panel:var(--mkt-legacy-border-cd4f35c69835,#fff);
  --mkt-themed-canvas-c76-panel:var(--mkt-legacy-canvas-cd4f35c69835,#fff);
  --mkt-themed-background-c76-panel:var(--mkt-legacy-background-cd4f35c69835,#fff);
  --mkt-themed-text-c76-panel:var(--mkt-legacy-text-cd4f35c69835,#fff); --c76-lilac:#eee7fc; --mkt-themed-fill-c76-lilac:var(--mkt-legacy-fill-651459f7a774,#eee7fc); --mkt-themed-shadow-c76-lilac:var(--mkt-legacy-shadow-651459f7a774,#eee7fc); --mkt-themed-border-c76-lilac:var(--mkt-legacy-border-651459f7a774,#eee7fc); --mkt-themed-canvas-c76-lilac:var(--mkt-legacy-canvas-651459f7a774,#eee7fc); --mkt-themed-background-c76-lilac:var(--mkt-legacy-background-651459f7a774,#eee7fc); --mkt-themed-text-c76-lilac:var(--mkt-legacy-text-651459f7a774,#eee7fc); --c76-muted:#8d8698; --mkt-themed-fill-c76-muted:var(--mkt-legacy-fill-004917c184d8,#8d8698); --mkt-themed-shadow-c76-muted:var(--mkt-legacy-shadow-004917c184d8,#8d8698); --mkt-themed-border-c76-muted:var(--mkt-legacy-border-004917c184d8,#8d8698); --mkt-themed-canvas-c76-muted:var(--mkt-legacy-canvas-004917c184d8,#8d8698); --mkt-themed-background-c76-muted:var(--mkt-legacy-background-004917c184d8,#8d8698); --mkt-themed-text-c76-muted:var(--mkt-legacy-text-004917c184d8,#8d8698); --c76-composer:#fff; --mkt-themed-fill-c76-composer:var(--mkt-legacy-fill-cd4f35c69835,#fff); --mkt-themed-shadow-c76-composer:var(--mkt-legacy-shadow-cd4f35c69835,#fff); --mkt-themed-border-c76-composer:var(--mkt-legacy-border-cd4f35c69835,#fff); --mkt-themed-canvas-c76-composer:var(--mkt-legacy-canvas-cd4f35c69835,#fff); --mkt-themed-background-c76-composer:var(--mkt-legacy-background-cd4f35c69835,#fff); --mkt-themed-text-c76-composer:var(--mkt-legacy-text-cd4f35c69835,#fff);
  box-sizing:border-box; width:min(1158px,100%) !important; height:var(--c76-viewport-height,100dvh) !important;
  min-height:0 !important; margin:0 auto; padding:0 24px 16px; background:transparent;
}
body.page-chatroom [data-chatroom-layout] .c76-frame {
  position:relative; display:flex; flex-direction:column; width:100% !important; height:100% !important;
  min-height:0; overflow:visible !important; background:transparent; transform:none !important;
}
body.page-chatroom [data-chatroom-layout] .c76-bg { display:none; }
body.page-chatroom [data-chatroom-layout] .c76-header {
  position:relative !important; inset:auto !important; flex:0 0 var(--header-service-height); width:100% !important; height:var(--header-service-height) !important; min-height:0;
}
body.page-chatroom [data-chatroom-layout] .c76-logo { margin-top:0; }
body.page-chatroom [data-chatroom-layout] .c76-workspace {
  position:relative !important; inset:auto !important; display:grid !important;
  grid-template-columns:320px minmax(0,1fr) !important; grid-template-areas:"menu thread" !important;
  grid-template-rows:minmax(0,1fr) !important; gap:16px; flex:1 1 auto;
  width:100% !important; height:auto !important; min-height:0 !important;
}
body.page-chatroom [data-chatroom-layout] :is(.c76-menu,.c76-thread-panel) {
  box-sizing:border-box; position:relative !important; width:100% !important; height:100% !important;
  min-height:0 !important; min-width:0; border:1px solid var(--mkt-legacy-border-3343615ca0df,#e8e5ef); border-radius:22px;
  background:var(--mkt-legacy-background-cd4f35c69835,#fff) !important; box-shadow:0 4px 18px var(--mkt-legacy-shadow-9924dd02b9be,rgba(43,28,68,.025)); overflow:hidden;
}
body.page-chatroom [data-chatroom-layout] .c76-menu { display:flex !important; flex-direction:column; }
body.page-chatroom [data-chatroom-layout] .c76-menu-list { flex:1 1 auto; width:100% !important; height:auto !important; min-height:0; overflow-y:auto; scrollbar-width:thin; scrollbar-color:#ded8e9 transparent; padding:0 8px 12px; align-items:stretch; }
body.page-chatroom [data-chatroom-layout] .c76-menu-list::-webkit-scrollbar { display:block; width:4px; }
body.page-chatroom [data-chatroom-layout] .c76-menu-list::-webkit-scrollbar-thumb { background:var(--mkt-legacy-background-116ee8508a14,#ded8e9); border-radius:4px; }
body.page-chatroom [data-chatroom-layout] .c76-scrollbar { display:none !important; }
body.page-chatroom [data-chatroom-layout] .c76-search {
  position:relative; width:100% !important; height:auto !important; min-height:0; flex:none;
  display:flex; gap:0 !important; padding:16px 14px 14px !important; filter:none; background:transparent !important;
}
body.page-chatroom [data-chatroom-layout] .c76-search .c76-search__field {
  position:relative; display:flex; flex:1 1 auto !important; min-width:0; width:auto !important;
  height:44px !important; padding:0 48px 0 38px !important; border:1px solid var(--mkt-legacy-border-68c970958ac4,#ece8f2);
  border-radius:12px !important; background:var(--mkt-legacy-background-ad44714f278c,#f8f7fb) !important; box-shadow:none !important; cursor:text;
}
body.page-chatroom [data-chatroom-layout] .c76-search .c76-search__field:focus-within { border-color:var(--mkt-legacy-border-c0c3f7a3f5e3,#c4b2e8); background:var(--mkt-legacy-background-cd4f35c69835,#fff) !important; box-shadow:0 0 0 3px var(--mkt-legacy-shadow-28f676fcd0f2,#f4effb) !important; }
body.page-chatroom [data-chatroom-layout] .c76-search .c76-search__field input { position:static !important; opacity:1 !important; pointer-events:auto !important; width:100% !important; height:auto !important; min-width:0; font:400 12px/20px Manrope,Arial,sans-serif; color:var(--mkt-legacy-text-e9d189288a1b,#4b4258); }
body.page-chatroom [data-chatroom-layout] [data-conversation-search]::-webkit-search-cancel-button { -webkit-appearance:none; appearance:none; display:none; }
body.page-chatroom [data-chatroom-layout] .mkt-chat-icon { display:block; width:20px; height:20px; fill:none; stroke:currentColor; flex:none; }
body.page-chatroom [data-chatroom-layout] .mkt-chat-search-icon { position:absolute; left:12px; top:12px; width:18px; height:18px; color:var(--mkt-legacy-text-611c61b72d6d,#9c92a8); }
body.page-chatroom [data-chatroom-layout] button.c76-search__filter { position:absolute; right:15px !important; top:16px !important; width:44px !important; height:44px !important; min-width:44px; margin:0; border:0; border-radius:11px; background:transparent; color:var(--mkt-legacy-text-b68c492dccc4,#85778f); }
body.page-chatroom [data-chatroom-layout] button.c76-search__filter:is(:hover,[aria-expanded="true"]) { background:var(--mkt-legacy-background-98c12026c4c8,#eee8f8); color:var(--mkt-legacy-text-76a1f846b2be,#7653b4); }
body.page-chatroom [data-chatroom-layout] .c76-search .c76-search__clear { right:59px !important; top:16px !important; width:44px !important; height:44px !important; transform:none !important; }
body.page-chatroom [data-chatroom-layout] .c76-search:has(.c76-search__clear:not([hidden])) .c76-search__field { padding-right:92px !important; }
body.page-chatroom [data-chatroom-layout] .c76-filter-menu { top:50px; right:14px; border-color:var(--mkt-legacy-border-dd5bd2d0fe1b,#e9e3f1); min-width:180px; border-radius:14px; box-shadow:0 12px 32px var(--mkt-legacy-shadow-91ceaf969a03,#2d1c4919); }
body.page-chatroom [data-chatroom-layout] .c76-filter-menu button { min-height:40px; padding:10px 12px; font-size:12px; }
body.page-chatroom [data-chatroom-layout] .c76-conversation-group { margin:0 !important; padding:0 !important; border:0 !important; }
body.page-chatroom [data-chatroom-layout] .c76-conversation-group__title { height:auto; padding:12px 12px 8px; color:var(--mkt-legacy-text-784e130b0ecf,#aaa1b4); font:700 9px/14px Manrope,Arial,sans-serif; letter-spacing:1.2px; }
body.page-chatroom [data-chatroom-layout] .c76-thread {
  box-sizing:border-box; display:flex; width:100% !important; height:auto !important; min-height:76px;
  flex:none; gap:12px; padding:10px 12px; margin:2px 0; border:0; border-radius:12px;
  background:transparent !important; transition:background-color .16s,box-shadow .16s;
}
body.page-chatroom [data-chatroom-layout] .c76-thread:hover { background:var(--mkt-legacy-background-201fd57fe9c4,#f7f5fb) !important; }
body.page-chatroom [data-chatroom-layout] .c76-thread.is-active { background:var(--mkt-legacy-background-2ebb2c6b62c3,#f0eafb) !important; box-shadow:inset 3px 0 var(--mkt-legacy-shadow-ad7994f00808,#8e6acb); }
body.page-chatroom [data-chatroom-layout] .c76-thread[aria-disabled="true"] { opacity:.55; }
body.page-chatroom [data-chatroom-layout] :is(.c76-thread__avatar,.c76-thread__avatar-wrap) { width:44px !important; height:44px !important; flex:0 0 44px !important; }
body.page-chatroom [data-chatroom-layout] .c76-thread__body { gap:4px; }
body.page-chatroom [data-chatroom-layout] .c76-thread__body > span { line-height:20px; }
body.page-chatroom [data-chatroom-layout] .c76-thread__body b { color:var(--mkt-legacy-text-11ecf5e5b273,#4a4056); font:500 13px/20px Manrope,Arial,sans-serif; }
body.page-chatroom [data-chatroom-layout] .c76-thread.is-active .c76-thread__body b { color:var(--mkt-legacy-text-02a3bccf78ee,#6f43af); font-weight:700; }
body.page-chatroom [data-chatroom-layout] .c76-thread__body em { color:var(--mkt-legacy-text-784e130b0ecf,#aaa1b4); font:400 9px/16px Manrope,Arial,sans-serif; }
body.page-chatroom [data-chatroom-layout] .c76-thread__body small { max-height:32px; color:var(--mkt-legacy-text-b4446d4887f2,#9a90a5); font:400 11px/16px Manrope,Arial,sans-serif; }
body.page-chatroom [data-chatroom-layout] .c76-thread:not([data-conversation-unread="0"]) .c76-thread__body b { font-weight:700; }
body.page-chatroom [data-chatroom-layout] .c76-thread:not([data-conversation-unread="0"]) .c76-thread__body small { color:var(--mkt-legacy-text-94c186c35a92,#70647e); font-weight:500; }
body.page-chatroom [data-chatroom-layout] .c76-unread { min-width:20px; height:20px; padding:0 5px; border-radius:7px; background:var(--mkt-legacy-background-b15308be5a7c,#9473c9); font:600 10px/20px Manrope,Arial,sans-serif; }
body.page-chatroom [data-chatroom-layout] .c76-thread__tail-icons { opacity:.6; filter:grayscale(1); }
body.page-chatroom [data-chatroom-layout] .c76-thread-panel { display:flex !important; flex-direction:column; }
/* One compact strip across the full chat surface; preserve44px controls. */
body.page-chatroom [data-chatroom-layout] .c76-pinned-banner { box-sizing:border-box; width:100%; flex:0 0 48px; height:48px; min-height:48px; margin:0; padding:0 10px 0 14px; gap:4px; border:0; border-bottom:1px solid var(--mkt-legacy-border-97fe814dacd0,#eeebf1); border-radius:0; background:var(--mkt-legacy-background-f002f4fd0d01,#f7f6f9); }
body.page-chatroom [data-chatroom-layout] .c76-pinned-banner::before { content:none; display:none; }
body.page-chatroom [data-chatroom-layout] .c76-pinned-banner__open { box-sizing:border-box; min-height:44px; height:44px; padding:2px 0; }
body.page-chatroom [data-chatroom-layout] .c76-pinned-banner__open:hover { background:transparent; }
body.page-chatroom [data-chatroom-layout] .c76-pinned-banner__meta b { color:var(--mkt-legacy-text-9fe65ce6a972,#746e7c); font-weight:600; }
body.page-chatroom [data-chatroom-layout] .c76-pinned-banner__meta em { padding:0; border-radius:0; background:transparent; color:var(--mkt-legacy-text-8b67bd3167e2,#797181); }
body.page-chatroom [data-chatroom-layout] .c76-pinned-banner small { color:var(--mkt-legacy-text-8b67bd3167e2,#797181); }
body.page-chatroom [data-chatroom-layout] .c76-pinned-banner__actions { gap:0; }
body.page-chatroom [data-chatroom-layout] .c76-pinned-banner__actions button { position:relative; isolation:isolate; width:44px; height:44px; color:var(--mkt-legacy-text-54d7283a1ab0,#938b9c); font-size:16px; }
body.page-chatroom [data-chatroom-layout] .c76-pinned-banner__actions button:hover { background:transparent; }
body.page-chatroom [data-chatroom-layout] .c76-pinned-banner__actions button::before { content:""; position:absolute; inset:8px; z-index:-1; border-radius:8px; background:var(--mkt-legacy-background-c392cf98149e,#e8e2ef); opacity:0; pointer-events:none; }
body.page-chatroom [data-chatroom-layout] .c76-pinned-banner__actions button:hover::before { opacity:1; }
body.page-chatroom [data-chatroom-layout] .c76-chat-head { position:relative; flex:none; display:flex; flex-wrap:wrap; width:100%; height:auto !important; min-height:84px; padding:18px 22px; gap:12px; border-bottom:1px solid var(--mkt-legacy-border-d6ce051ba0c7,#f0ecf5); background:var(--mkt-legacy-background-cd4f35c69835,#fff); }
body.page-chatroom [data-chatroom-layout] .c76-chat-identity { min-width:0; gap:12px; flex:1 1 auto; cursor:pointer; }
body.page-chatroom [data-chatroom-layout] .c76-chat-avatar { width:44px !important; height:44px !important; min-width:44px; border-radius:50%; object-fit:cover; }
body.page-chatroom [data-chatroom-layout] .c76-chat-identity h1 { margin:0 0 6px; color:var(--mkt-legacy-text-902414d5e6c0,#342b40); font:700 16px/21px Manrope,Arial,sans-serif; }
body.page-chatroom [data-chatroom-layout] .c76-chat-identity p { position:static !important; inset:auto !important; gap:8px; flex-wrap:wrap; line-height:17px; }
body.page-chatroom [data-chatroom-layout] .c76-chat-identity p span { height:auto; min-height:19px; padding:2px 7px; font:500 10px/15px Manrope,Arial,sans-serif; }
body.page-chatroom [data-chatroom-layout] .c76-chat-identity p b { color:var(--mkt-legacy-text-d0689464d4eb,#a095ad); font:400 10px/17px Manrope,Arial,sans-serif; }
body.page-chatroom [data-chatroom-layout] .c76-chat-actions { display:flex; flex:none; gap:2px !important; height:44px !important; padding:0 !important; }
body.page-chatroom [data-chatroom-layout] :is(.c76-chat-action,.c76-back-button,.c76-consultation-action) { box-sizing:border-box; display:grid; place-items:center; width:40px !important; height:44px !important; min-width:40px; flex:0 0 40px; margin:0; padding:0; border:0; border-radius:10px; background:transparent; color:var(--mkt-legacy-text-c4a9c8064b45,#8d7f9d); }
body.page-chatroom [data-chatroom-layout] .c76-chat-action:hover { background:var(--mkt-legacy-background-dd3bfa787d0b,#f6f2fb); }
body.page-chatroom [data-chatroom-layout] .c76-chat-action > img { width:19px !important; height:19px !important; filter:grayscale(1); opacity:.7; }
body.page-chatroom [data-chatroom-layout] .c76-chat-action[aria-pressed="true"] > img { filter:none; opacity:1; }
body.page-chatroom [data-chatroom-layout] .c76-consultation-cluster { position:relative; inset:auto !important; width:auto !important; min-width:0; flex:none; height:44px; display:flex; align-items:center; gap:4px; }
body.page-chatroom [data-chatroom-layout] .c76-consultation-status { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
body.page-chatroom [data-chatroom-layout] .c76-consultation-action__track { width:34px !important; height:34px !important; padding:0; border:0 !important; background:var(--mkt-legacy-background-76e499abb0cb,#f4f0f9) !important; border-radius:10px !important; }
body.page-chatroom [data-chatroom-layout] .c76-consultation-action__track::before,body.page-chatroom [data-chatroom-layout] .c76-consultation-action__track::after { content:none !important; }
body.page-chatroom [data-chatroom-layout] .c76-consultation-action__signal { position:static !important; width:100% !important; height:100% !important; border:0 !important; background:transparent !important; box-shadow:none !important; transform:none !important; }
body.page-chatroom [data-chatroom-layout] .c76-consultation-action__signal img { width:18px !important; height:18px !important; filter:grayscale(1); }
body.page-chatroom [data-chatroom-layout] .c76-chat-search { top:76px; left:16px; right:16px; width:auto; max-width:none; border-radius:12px; }
body.page-chatroom [data-chatroom-layout] .c76-messages { position:relative; display:flex; flex-direction:column; flex:1 1 auto !important; width:100% !important; height:auto !important; min-height:0 !important; max-height:none !important; gap:14px; padding:24px 28px; overflow:auto !important; scrollbar-width:thin; border:0 !important; background:radial-gradient(ellipse at 50% 38%,var(--mkt-legacy-background-31699568bf4a,#f8f4fd) 0,transparent 65%); }
body.page-chatroom [data-chatroom-layout] .c76-ready-card { box-sizing:border-box; position:relative !important; inset:auto !important; flex:none; width:min(440px,100%) !important; height:auto !important; min-height:0 !important; margin:auto !important; padding:20px 8px !important; border:0; border-radius:0; background:transparent !important; text-align:center; }
body.page-chatroom [data-chatroom-layout] .mkt-chat-welcome-art { position:relative; display:grid; place-items:center; width:88px; height:88px; margin:0 auto 22px; border:1px solid var(--mkt-legacy-border-b38370a61edf,#e1d7f2); border-radius:28px; color:var(--mkt-legacy-text-49002a2b09fd,#9774ce); background:linear-gradient(145deg,var(--mkt-legacy-background-cd4f35c69835,#fff),var(--mkt-legacy-background-233bca4cf0c2,#f1eafb)); box-shadow:0 10px 28px var(--mkt-legacy-shadow-ecb952ef13ad,#a88cce14),inset 0 0 0 8px var(--mkt-legacy-shadow-7f92111be2e2,#ffffff80); transform:rotate(-7deg); }
body.page-chatroom [data-chatroom-layout] .mkt-chat-welcome-art::before,body.page-chatroom [data-chatroom-layout] .mkt-chat-welcome-art::after { content:""; position:absolute; width:5px; height:5px; border-radius:50%; background:var(--mkt-legacy-background-b8004affe936,#c3abe7); right:-16px; top:16px; }
body.page-chatroom [data-chatroom-layout] .mkt-chat-welcome-art::after { width:3px; height:3px; right:auto; left:-15px; top:64px; }
body.page-chatroom [data-chatroom-layout] .mkt-chat-welcome-art svg { width:38px; height:38px; transform:rotate(7deg); }
body.page-chatroom [data-chatroom-layout] .c76-ready-card h2 { margin:0; color:var(--mkt-legacy-text-9b0cb06602de,#3a2c49); font:700 28px/36px Manrope,Arial,sans-serif; letter-spacing:-.8px; }
body.page-chatroom [data-chatroom-layout] .mkt-chat-welcome-copy { margin:12px 0 22px; color:var(--mkt-legacy-text-462ef11e3a4f,#a092ae); font:400 12px/21px Manrope,Arial,sans-serif; }
body.page-chatroom [data-chatroom-layout] .c76-intentions { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin:0; }
body.page-chatroom [data-chatroom-layout] .c76-intentions button { box-sizing:border-box; min-height:40px; margin:0; padding:9px 14px; border:1px solid var(--mkt-legacy-border-ff450e164b7d,#e3daee); border-radius:12px; background:var(--mkt-legacy-background-cd4f35c69835,#fff); color:var(--mkt-legacy-text-312e08c54c1c,#8d71af); font:500 11px/18px Manrope,Arial,sans-serif; }
body.page-chatroom [data-chatroom-layout] .c76-intentions button:is(:hover,.is-selected) { border-color:var(--mkt-legacy-border-c53114a8a6d4,#bea7dd); background:var(--mkt-legacy-background-e03d473db08f,#f4edfC); color:var(--mkt-legacy-text-c76c22979cdd,#6c439f); }
body.page-chatroom .c76-page[data-chatroom-layout] .c76-message { --message-line-height:22px; --message-first-line-center:24px; box-sizing:border-box; position:relative; display:block; flex:none; width:fit-content; max-width:min(88%,520px); margin:0; padding:0; border:0 !important; box-shadow:none !important; background:transparent; border-radius:0; }
body.page-chatroom [data-chatroom-layout] .c76-message--incoming { align-self:flex-start; }
body.page-chatroom [data-chatroom-layout] .c76-message--outgoing { align-self:flex-end; }
body.page-chatroom [data-chatroom-layout] .c76-message__body { box-sizing:border-box; width:auto; max-width:100%; min-width:100px; padding:12px 14px 6px; border:1px solid var(--mkt-legacy-border-542b7195210d,#ece6f4); border-radius:17px 17px 17px 5px; background:var(--mkt-legacy-background-cd4f35c69835,#fff); color:var(--mkt-legacy-text-85404bd8f10c,#5a4b68); box-shadow:0 2px 4px var(--mkt-legacy-shadow-7a9f9d27af4b,#37204104); }
body.page-chatroom [data-chatroom-layout] .c76-message--outgoing .c76-message__body { border-color:var(--mkt-legacy-border-5fe7e6e71aaf,#ede3fa); border-radius:17px 17px 5px 17px; background:var(--mkt-legacy-background-2f07e54758f0,#f0e8fc); color:var(--mkt-legacy-text-f46383fea0a0,#604779); }
body.page-chatroom [data-chatroom-layout] .c76-message .c76-message__body > p { margin:0; padding-right:38px; font:400 13px/var(--message-line-height) Manrope,Arial,sans-serif; white-space:pre-wrap; overflow-wrap:anywhere; }
/* One metadata rhythm for text, replies, media and every delivery state. */
body.page-chatroom [data-chatroom-layout] .c76-message__body footer { display:flex; align-items:center; justify-content:flex-end; gap:var(--mkt-message-meta-gap); margin:var(--mkt-message-meta-space) 0 0; color:var(--mkt-message-meta-color); font:var(--mkt-message-meta-font); }
body.page-chatroom [data-chatroom-layout] .c76-message__meta :is(time,.c76-message__status,.c76-message__edited,.c76-message__status > span) { margin:0; font:inherit; }
body.page-chatroom [data-chatroom-layout] .c76-message__meta .c76-message__status { color:inherit; }
body.page-chatroom [data-chatroom-layout] .c76-message__meta .c76-message__status[data-status="read"] { color:var(--mkt-legacy-text-e8ddf2cc3308,#7449ee); }
body.page-chatroom [data-chatroom-layout] .c76-message__meta-dot { background:currentColor; }
body.page-chatroom [data-chatroom-layout] .c76-message__edited { color:inherit; }
/* Media and actions share the actual bubble's border box. */
body.page-chatroom [data-chatroom-layout] .c76-message__tools { position:absolute; inset:0 4px auto auto; width:44px; height:44px; gap:0; opacity:.65; }
/* Keep the hit area inside the bubble; align its glyph with the first text line. */
body.page-chatroom [data-chatroom-layout] .c76-message__more .c76-more-dots { transform:translateY(calc(var(--message-first-line-center) - 22px)); }
body.page-chatroom [data-chatroom-layout] .c76-message:hover .c76-message__tools,body.page-chatroom [data-chatroom-layout] .c76-message:focus-within .c76-message__tools { opacity:1; }
body.page-chatroom [data-chatroom-layout] .c76-message__tools:has(.mkt-chat-floating:not([hidden])) { z-index:1300; }
body.page-chatroom [data-chatroom-layout] .c76-message__more { width:44px; height:44px; min-width:44px; flex:0 0 44px; border-radius:11px; color:var(--mkt-legacy-text-c7136aea4085,#8c6bb6); background:transparent; }
body.page-chatroom [data-chatroom-layout] .c76-message__more:hover { background:transparent; color:var(--mkt-legacy-text-0b1cd46858be,#7654a4); }
body.page-chatroom .c76-page[data-chatroom-layout] .c76-message.c76-message--media { --message-first-line-center:24px; width:min(88%,420px); max-width:min(88%,420px); }
body.page-chatroom .c76-page[data-chatroom-layout] .c76-message.c76-message--media:has(.c76-message__body > blockquote) { --message-first-line-center:22px; }
body.page-chatroom .c76-page[data-chatroom-layout] .c76-message.c76-message--voice { width:min(88%,360px); max-width:min(88%,360px); min-height:0; }
body.page-chatroom [data-chatroom-layout] .c76-message--media .c76-message__body { padding:10px 10px 6px; }
body.page-chatroom [data-chatroom-layout] .c76-message--media .c76-message__body > p { padding:2px 40px 0 2px; }
body.page-chatroom [data-chatroom-layout] :is(.c76-media-card,.c76-media-bundle) { box-sizing:border-box; width:100%; max-width:100%; min-width:0; margin:10px 0 0; border-radius:11px; }
body.page-chatroom [data-chatroom-layout] .c76-media-card { position:relative; inset:auto; display:block; padding:0; border:0; overflow:hidden; }
body.page-chatroom [data-chatroom-layout] .c76-media-card > :is(img,video):not(.c76-media-card__play) { display:block; width:100%; height:auto; max-height:320px; aspect-ratio:16/10; object-fit:cover; }
body.page-chatroom [data-chatroom-layout] .c76-media-bundle { grid-template-columns:repeat(2,minmax(0,1fr)); gap:3px; }
body.page-chatroom [data-chatroom-layout] .c76-media-bundle__item { position:relative; inset:auto; width:100%; height:auto; aspect-ratio:4/3; }
body.page-chatroom [data-chatroom-layout] .c76-media-bundle__item--hero { height:auto; aspect-ratio:16/10; }
body.page-chatroom [data-chatroom-layout] .c76-media-bundle:has(> :nth-child(2):last-child) .c76-media-bundle__item--hero { grid-column:auto; aspect-ratio:4/3; }
body.page-chatroom [data-chatroom-layout] :is(.c76-media-card__play,.c76-media-bundle__play) { width:44px !important; height:44px !important; }
body.page-chatroom [data-chatroom-layout] .c76-message--media:not(:has(.c76-message__body > p)) .c76-message__more { background:var(--mkt-legacy-background-537321c8e53c,#ffffffed); box-shadow:0 2px 8px var(--mkt-legacy-shadow-7455531d669e,#26183c22); }
body.page-chatroom [data-chatroom-layout] .c76-file-card { box-sizing:border-box; width:100%; min-width:0; margin-top:10px; padding:12px; gap:10px; }
body.page-chatroom [data-chatroom-layout] .c76-file-card > div { min-width:0; }
body.page-chatroom [data-chatroom-layout] .c76-file-card b { font-size:12px; line-height:19px; overflow-wrap:anywhere; }
body.page-chatroom [data-chatroom-layout] .c76-message--voice .c76-voice-card { box-sizing:border-box; width:100%; max-width:100%; height:44px; min-height:44px; margin-top:10px; grid-template-columns:44px minmax(0,1fr) 18px; grid-template-rows:22px 22px; gap:0 8px; }
body.page-chatroom [data-chatroom-layout] .c76-message--voice .c76-voice-card button { position:relative; inset:auto; width:44px; height:44px; grid-template-columns:44px; grid-template-rows:44px; }
body.page-chatroom [data-chatroom-layout] .c76-message--voice .c76-voice-card__play { width:44px; height:44px; }
body.page-chatroom [data-chatroom-layout] .c76-message--voice:not(:has(.c76-message__body > p)) .c76-voice-card { margin-top:30px; }
body.page-chatroom [data-chatroom-layout] .c76-message__body > blockquote { margin:0 38px 10px 0; padding:0 10px; border:0; border-radius:7px; background:var(--mkt-legacy-background-ea30cc904f1e,#ffffff66); color:var(--mkt-legacy-text-4704ce56e2fe,#8a719f); font-size:11px; line-height:var(--message-line-height); overflow-wrap:anywhere; }
body.page-chatroom [data-chatroom-layout] .c76-message__body footer { display:grid; grid-template-columns:minmax(min-content,1fr) minmax(0,max-content); align-items:end; min-width:0; min-height:16px; padding-left:0; gap:8px; }
body.page-chatroom [data-chatroom-layout] .c76-message__body footer > .c76-reactions { display:flex; flex-wrap:wrap; align-items:flex-end; gap:5px; min-width:0; margin:0; }
/* A short entrance on the selected chip; transform/opacity leave layout intact. */
body.page-chatroom [data-chatroom-layout] .c76-reactions button.is-new-reaction { transform-origin:center; animation:mkt-chat-reaction-in 180ms cubic-bezier(.16,1,.3,1); }
@keyframes mkt-chat-reaction-in { from { opacity:.5; transform:scale(.84); } to { opacity:1; transform:scale(1); } }
body.page-chatroom [data-chatroom-layout] .c76-message__body footer > .c76-message__meta { grid-column:2; align-self:end; }
body.page-chatroom [data-chatroom-layout] .c76-message__meta { display:inline-flex; flex:0 1 auto; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:var(--mkt-message-meta-gap); min-width:0; max-width:100%; margin-left:auto; white-space:nowrap; }
body.page-chatroom [data-chatroom-layout] .c76-message__meta > :is(time,[data-message-edited],[data-message-status]) { flex:none; }
body.page-chatroom .c76-page[data-chatroom-layout] .c76-message > .c76-message__saved-indicator { position:absolute; inset:auto auto 8px 10px; width:14px; height:18px; transform:none; }
body.page-chatroom .c76-page[data-chatroom-layout] .c76-message > .c76-message__saved-indicator img { width:13.5px; height:18px; }
body.page-chatroom .c76-page[data-chatroom-layout] .c76-message > .c76-message__saved-indicator--action { width:44px; height:44px; inset:auto auto 0 0; }
body.page-chatroom [data-chatroom-layout] .c76-message:has(> .c76-message__saved-indicator) .c76-message__body footer { padding-left:20px; }
body.page-chatroom [data-chatroom-layout] .c76-message--saved-context .c76-message__body > p { padding-right:0; }
body.page-chatroom [data-chatroom-layout] .c76-message.c76-message--saved-context .c76-message__body footer { padding-left:40px; }
body.page-chatroom [data-chatroom-layout] .c76-message__meta [data-message-status][data-status="failed"] { color:var(--mkt-legacy-text-1b95e07e6420,#b66477); }
body.page-chatroom [data-chatroom-layout] .c76-date-separator { color:var(--mkt-legacy-text-55c5c5fab5fd,#b2a5c0); font:500 9px/16px Manrope,Arial,sans-serif; letter-spacing:.4px; margin:8px auto; }
body.page-chatroom [data-chatroom-layout] .c76-composer { box-sizing:border-box; position:relative !important; inset:auto !important; flex:none; width:100%; height:auto !important; min-height:0; margin:0; padding:12px 18px 18px !important; border-top:1px solid var(--mkt-legacy-border-90ec56c14f9e,#f2edf7); border-radius:0; background:var(--mkt-legacy-background-cd4f35c69835,#fff) !important; gap:8px; }
/* Composer context is one baseline: fixed label and a readable, shrinking excerpt. */
body.page-chatroom [data-chatroom-layout] :is(.c76-reply-preview,.c76-edit-preview) > span { display:flex; flex:1 1 auto; align-items:baseline; min-width:0; gap:8px; font:400 12px/18px Manrope,Arial,sans-serif; }
body.page-chatroom [data-chatroom-layout] :is(.c76-reply-preview,.c76-edit-preview) b { flex:0 0 auto; white-space:nowrap; font:600 11px/18px Manrope,Arial,sans-serif; }
body.page-chatroom [data-chatroom-layout] :is(.c76-reply-preview,.c76-edit-preview) small { display:block; flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font:inherit; }
body.page-chatroom [data-chatroom-layout] .c76-suggestions { height:40px; min-height:40px; gap:6px; }
body.page-chatroom [data-chatroom-layout] .c76-suggestions > button { display:grid; place-items:center; width:32px; height:40px; min-width:32px; flex:0 0 32px; color:var(--mkt-legacy-text-e209662f9dda,#a89ab7); background:transparent; }
body.page-chatroom [data-chatroom-layout] .c76-suggestions > button:disabled { opacity:.25; }
body.page-chatroom [data-chatroom-layout] .c76-suggestions [role="listbox"] { gap:8px; min-width:0; height:40px; overflow:auto; scrollbar-width:none; align-items:center; }
body.page-chatroom [data-chatroom-layout] .c76-suggestion-chip { flex:0 0 auto !important; width:auto !important; max-width:340px; min-height:44px; padding:7px 12px; border:1px solid var(--mkt-legacy-border-5c7b4ceb8c7a,#eee8f5); border-radius:10px; color:var(--mkt-legacy-text-c567f21467e5,#7d6f89); background:var(--mkt-legacy-background-bb85df039c01,#fbf9fe); box-shadow:none !important; font:400 11px/16px Manrope,Arial,sans-serif; }
body.page-chatroom [data-chatroom-layout] .c76-inputbar { position:relative; display:flex; align-items:flex-end; flex:none; width:100%; height:auto !important; min-height:62px; gap:6px; padding:8px !important; border:1px solid var(--mkt-legacy-border-9a0a24dcf0cb,#e6dfee); border-radius:16px; background:var(--mkt-legacy-background-cd4f35c69835,#fff) !important; box-shadow:0 4px 14px var(--mkt-legacy-shadow-081ff3482e79,#4b2d7910); }
body.page-chatroom [data-chatroom-layout] .c76-inputbar:focus-within { border-color:var(--mkt-legacy-border-7cccb16da424,#c6b1e4); box-shadow:0 0 0 3px var(--mkt-legacy-shadow-744bbb2d0840,#f6f0fc); }
body.page-chatroom [data-chatroom-layout] .c76-inputbar textarea { box-sizing:border-box; min-width:0; min-height:44px; max-height:var(--chat-composer-text-max-height,44px) !important; padding:11px 4px; font:400 13px/22px Manrope,Arial,sans-serif; color:var(--mkt-legacy-text-a6a0d420e401,#584569); scrollbar-width:thin; scrollbar-color:#cfc6d980 transparent; overscroll-behavior:contain; }
body.page-chatroom [data-chatroom-layout] .c76-inputbar textarea::-webkit-scrollbar { width:3px; background:transparent; }
body.page-chatroom [data-chatroom-layout] .c76-inputbar textarea::-webkit-scrollbar-thumb { border-radius:3px; background:var(--mkt-legacy-background-34f4b5eb9bf0,#cfc6d980); }
body.page-chatroom [data-chatroom-layout] .c76-inputbar textarea::-webkit-scrollbar-track { background:transparent; }
body.page-chatroom [data-chatroom-layout] .c76-inputbar textarea::-webkit-scrollbar-button { display:none; width:0; height:0; }
/* Chromium ignores WebKit sizing when the standard scrollbar color is set. */
@supports selector(::-webkit-scrollbar) { body.page-chatroom [data-chatroom-layout] .c76-inputbar textarea { scrollbar-width:auto; scrollbar-color:auto; } }
body.page-chatroom [data-chatroom-layout] .c76-inputbar textarea::placeholder { color:var(--mkt-legacy-text-201f517de388,#b4a7bf); }
body.page-chatroom [data-chatroom-layout] .c76-inputbar__icons { gap:0; height:44px; width:auto; flex:0 0 auto; padding:0; margin-left:0; align-self:flex-end; align-items:flex-end; }
body.page-chatroom [data-chatroom-layout] .c76-composer-tool { flex:0 0 36px !important; width:36px !important; height:44px !important; min-width:36px; padding:0; color:var(--mkt-legacy-text-d94afbac6d04,#ad9cbb); }
body.page-chatroom [data-chatroom-layout] .c76-composer-tool :is(img,picture,.c76-paperclip) { display:none !important; }
body.page-chatroom [data-chatroom-layout] .c76-composer-tool::before,body.page-chatroom [data-chatroom-layout] .c76-composer-tool::after { content:none !important; }
body.page-chatroom [data-chatroom-layout] .c76-send-button { display:grid; place-items:center; width:40px !important; height:44px !important; flex:0 0 40px !important; min-width:40px; margin-left:4px; padding:0; border:0; border-radius:11px; background:var(--mkt-legacy-background-87b45a8ed18b,#916cc9); color:var(--mkt-legacy-text-cd4f35c69835,#fff); }
body.page-chatroom [data-chatroom-layout] .c76-send-button:disabled { background:var(--mkt-legacy-background-b17ee4672d4d,#f1edf6); color:var(--mkt-legacy-text-a87f49abd0ad,#beafca); }
body.page-chatroom [data-chatroom-layout] .c76-send-state { display:none !important; }
body.page-chatroom [data-chatroom-layout] .c76-send-button .mkt-chat-icon { width:19px; height:19px; }
body.page-chatroom [data-chatroom-layout] .c76-inputbar__icons > [data-composer-action="voice"] { display:grid; place-items:center; width:44px !important; flex-basis:44px !important; margin-left:4px; border-radius:11px; background:var(--mkt-legacy-background-2a4b35737654,#f4f1f8); color:var(--mkt-legacy-text-f5495d9c6602,#9b88af); }
body.page-chatroom [data-chatroom-layout] .c76-inputbar__icons > [data-composer-action="voice"]:hover { color:var(--mkt-legacy-text-4c2b13726f5d,#7653d9); background:var(--mkt-legacy-background-2a4b35737654,#f4f1f8); }
body.page-chatroom [data-chatroom-layout] .c76-back-button { color:var(--mkt-legacy-text-3eeeecb18041,#8d77a7); }
body.page-chatroom [data-chatroom-layout] .c76-saved-view { grid-area:thread; position:absolute; inset:0; width:100% !important; height:100% !important; min-height:0; border:1px solid var(--mkt-legacy-border-3343615ca0df,#e8e5ef); border-radius:22px; background:var(--mkt-legacy-background-cd4f35c69835,#fff); }
body.page-chatroom [data-chatroom-layout] .c76-saved-view > header { height:84px; padding:18px 22px; background:var(--mkt-legacy-background-cd4f35c69835,#fff); border-color:var(--mkt-legacy-border-d6ce051ba0c7,#f0ecf5); }
body.page-chatroom [data-chatroom-layout] .c76-saved-list { height:calc(100% - 84px); padding:24px; background:var(--mkt-legacy-background-eb03cdc50258,#fcfbfe); }
body.page-chatroom [data-chatroom-layout] .c76-scroll-bottom { bottom:140px; border-color:var(--mkt-legacy-border-0c97b98d83b6,#e2d6ef); background:var(--mkt-legacy-background-cd4f35c69835,#fff); }
body.page-chatroom [data-chatroom-layout] :is(button,a,[role="button"]):focus-visible { outline:2px solid var(--mkt-legacy-border-5aa0ac80244d,#ab8fd0); outline-offset:3px; }
@media(max-width:991.98px) {
  body.page-chatroom .c76-page[data-chatroom-layout] { padding:0 16px 12px; }
  body.page-chatroom [data-chatroom-layout] .c76-workspace { grid-template-columns:minmax(0,1fr) !important; grid-template-areas:"thread" !important; gap:0; }
  body.page-chatroom [data-chatroom-layout] .c76-menu { grid-area:thread; display:none !important; inset:auto !important; }
  body.page-chatroom [data-chatroom-layout] .c76-workspace.is-list-view .c76-menu { display:flex !important; }
  body.page-chatroom [data-chatroom-layout] .c76-workspace.is-list-view .c76-thread-panel { display:none !important; }
  body.page-chatroom [data-chatroom-layout] .c76-menu-list { padding-inline:12px; }
  body.page-chatroom [data-chatroom-layout] .c76-thread { min-height:80px; }
  body.page-chatroom [data-chatroom-layout] .c76-thread__body b { font-size:14px; }
  body.page-chatroom [data-chatroom-layout] .c76-thread__body small { font-size:12px; line-height:17px; max-height:34px; }
}
@media(max-width:575.98px) {
  body.page-chatroom .c76-page[data-chatroom-layout] { padding:0 8px 8px; }
  body.page-chatroom [data-chatroom-layout] :is(.c76-menu,.c76-thread-panel,.c76-saved-view) { border-radius:18px; }
  body.page-chatroom [data-chatroom-layout] .c76-chat-head { min-height:112px; padding:10px 12px; gap:2px 6px; }
  body.page-chatroom [data-chatroom-layout] .c76-back-button { flex-basis:44px; width:44px !important; min-width:44px; }
  body.page-chatroom [data-chatroom-layout] .c76-chat-identity { flex:1 1 calc(100% - 56px); gap:10px; }
  body.page-chatroom [data-chatroom-layout] .c76-chat-avatar { width:36px !important; height:36px !important; min-width:36px; }
  body.page-chatroom [data-chatroom-layout] .c76-chat-identity h1 { font-size:14px; line-height:19px; margin-bottom:4px; }
  body.page-chatroom [data-chatroom-layout] .c76-chat-actions { width:100%; justify-content:flex-end; }
  body.page-chatroom [data-chatroom-layout] :is(.c76-chat-action,.c76-consultation-action) { min-width:44px; width:44px !important; flex-basis:44px; }
  body.page-chatroom [data-chatroom-layout] .c76-chat-search { top:106px; }
  body.page-chatroom [data-chatroom-layout] .c76-messages { padding:16px; gap:12px; }
  body.page-chatroom [data-chatroom-layout] .c76-ready-card { padding:16px 0 !important; }
  body.page-chatroom [data-chatroom-layout] .mkt-chat-welcome-art { width:68px; height:68px; border-radius:22px; margin-bottom:18px; }
  body.page-chatroom [data-chatroom-layout] .mkt-chat-welcome-art svg { width:30px; height:30px; }
  body.page-chatroom [data-chatroom-layout] .c76-ready-card h2 { font-size:24px; line-height:31px; letter-spacing:-.6px; }
  body.page-chatroom [data-chatroom-layout] .mkt-chat-welcome-copy { margin:10px 0 18px; font-size:11px; line-height:19px; }
  body.page-chatroom [data-chatroom-layout] .c76-intentions { gap:6px; }
  body.page-chatroom [data-chatroom-layout] .c76-intentions button { min-height:40px; padding:9px 11px; font-size:10px; }
  body.page-chatroom [data-chatroom-layout] .c76-composer { padding:8px 10px 12px !important; }
  body.page-chatroom [data-chatroom-layout] .c76-suggestions { gap:0; }
  body.page-chatroom [data-chatroom-layout] .c76-suggestion-chip { min-height:44px; font-size:11px; padding-inline:10px; }
  body.page-chatroom [data-chatroom-layout] .c76-inputbar { min-height:60px; padding:5px !important; gap:2px; border-radius:14px; }
  body.page-chatroom [data-chatroom-layout] .c76-composer-tool { width:44px !important; min-width:44px; flex-basis:44px !important; }
  body.page-chatroom [data-chatroom-layout] .c76-send-button { width:44px !important; min-width:44px; flex-basis:44px !important; margin-left:2px; }
  body.page-chatroom [data-chatroom-layout] .mkt-chat-tool-icon { width:17px; height:17px; }
  body.page-chatroom [data-chatroom-layout] .c76-inputbar textarea { font-size:12px; }
  body.page-chatroom [data-chatroom-layout] .c76-message { max-width:94%; }
  body.page-chatroom [data-chatroom-layout] .c76-message__body { padding:10px 12px 6px; }
  body.page-chatroom .c76-page[data-chatroom-layout] .c76-message { --message-line-height:20px; --message-first-line-center:21px; }
  body.page-chatroom .c76-page[data-chatroom-layout] .c76-message.c76-message--media { --message-first-line-center:23px; }
  body.page-chatroom .c76-page[data-chatroom-layout] .c76-message.c76-message--media:has(.c76-message__body > blockquote) { --message-first-line-center:21px; }
  body.page-chatroom [data-chatroom-layout] .c76-message .c76-message__body > p { font-size:12px; }
  body.page-chatroom [data-chatroom-layout] .c76-saved-view > header { padding:12px; height:72px; }
  body.page-chatroom [data-chatroom-layout] .c76-saved-list { height:calc(100% - 72px); padding:16px; }
}
@media(max-height:550px) {
  body.page-chatroom [data-chatroom-layout] .c76-chat-head { padding-block:8px; min-height:64px; }
  body.page-chatroom [data-chatroom-layout] .c76-suggestions { display:none; }
  body.page-chatroom [data-chatroom-layout] .c76-chat-actions { width:auto; margin-left:auto; }
  body.page-chatroom [data-chatroom-layout] .c76-chat-identity { flex:1 1 auto; }
}
/* Full touch targets and readable secondary text survive all legacy states. */
body.page-chatroom [data-chatroom-layout] .c76-chat-identity > div { flex:1 1 auto; min-width:0; width:auto !important; }
body.page-chatroom [data-chatroom-layout] .c76-chat-identity p { width:100% !important; max-width:none !important; height:auto !important; min-height:0; max-height:none; overflow:visible !important; }
body.page-chatroom [data-chatroom-layout] .c76-chat-identity p b { position:static !important; inset:auto !important; display:inline !important; width:auto !important; height:auto !important; white-space:nowrap; overflow:visible !important; }
body.page-chatroom [data-chatroom-layout] .c76-chat-action { display:grid !important; }
body.page-chatroom [data-chatroom-layout] .c76-messages::after { content:none !important; display:none !important; }
body.page-chatroom [data-chatroom-layout] .c76-intentions { width:100% !important; max-width:none !important; }
body.page-chatroom [data-chatroom-layout] :is(.c76-chat-action,.c76-back-button,.c76-consultation-action,.c76-composer-tool,.c76-send-button) { width:44px !important; min-width:44px; height:44px !important; flex:0 0 44px !important; inset:auto !important; }
body.page-chatroom [data-chatroom-layout] .c76-intentions button { min-height:44px; }
body.page-chatroom [data-chatroom-layout] .c76-suggestions,body.page-chatroom [data-chatroom-layout] .c76-suggestions [role="listbox"] { height:44px; min-height:44px; }
body.page-chatroom [data-chatroom-layout] .c76-suggestions > button { width:44px; height:44px; min-width:44px; flex-basis:44px; }
body.page-chatroom [data-chatroom-layout] :is(.c76-thread__body small,.c76-thread__body em,.mkt-conversation-count,.mkt-chat-welcome-copy) { color:var(--mkt-legacy-text-c567f21467e5,#7d6f89); }
body.page-chatroom [data-chatroom-layout] .c76-thread__body b { font-size:14px; }
body.page-chatroom [data-chatroom-layout] .c76-thread__body small { font-size:12px; }
body.page-chatroom [data-chatroom-layout] .c76-chat-identity p b { color:var(--mkt-legacy-text-c567f21467e5,#7d6f89); }
body.page-chatroom [data-chatroom-layout] .c76-send-button:not(:disabled) { background:var(--mkt-legacy-background-4c2b13726f5d,#7653d9); }
body.page-chatroom [data-chatroom-layout] :is(.c76-menu,.c76-thread-panel) { transform:none !important; filter:none !important; perspective:none !important; contain:none !important; will-change:auto; }
body.page-chatroom [data-chatroom-layout] :is(.c76-message-menu,.c76-emoji-picker,.c76-attachment-menu,.c76-chat-more-menu,.c76-filter-menu) {
  position:fixed !important; z-index:1300 !important; inset:auto !important;
  left:var(--chat-popover-x,12px) !important; top:var(--chat-popover-y,12px) !important;
  box-sizing:border-box; max-width:var(--chat-popover-max-width,calc(100vw - 24px)) !important; max-height:var(--chat-popover-max-height,calc(100dvh - 24px)) !important;
  margin:0 !important; overflow:auto; overscroll-behavior:contain; transform:none !important;
  border:1px solid var(--mkt-legacy-border-77c7e222e4cf,#e7e0f0); border-radius:14px; background:var(--mkt-legacy-background-cd4f35c69835,#fff); box-shadow:0 12px 36px var(--mkt-legacy-shadow-d47e5d90523b,#3c245422);
}
/* One reaction surface, attached to the article and clipped with the chat. */
body.page-chatroom [data-chatroom-layout] .c76-message:has(> .c76-reaction-picker) { z-index:1300; }
body.page-chatroom [data-chatroom-layout] .c76-reaction-picker {
  position:absolute; z-index:1300; inset:auto;
  left:var(--chat-reaction-x,0px); top:var(--chat-reaction-y,calc(100% + 8px)); bottom:var(--chat-reaction-bottom,auto);
  box-sizing:border-box; width:max-content; max-width:var(--chat-reaction-max-width,calc(100vw - 16px));
  max-height:var(--chat-reaction-max-height,calc(100dvh - 32px)); margin:0; overflow:auto; overscroll-behavior:contain;
  border:1px solid var(--mkt-border); border-radius:22px; background:var(--mkt-raised); color:var(--mkt-text);
  box-shadow:0 8px 24px rgba(var(--mkt-shadow-rgb),.13); scrollbar-width:thin;
}
body.page-chatroom [data-chatroom-layout] .c76-reaction-picker:has(> .c76-reaction-picker__full:not([hidden])) { border-radius:14px; }
body.page-chatroom [data-chatroom-layout] .c76-reaction-picker__quick {
  box-sizing:border-box; width:100%; min-height:42px; border:0; border-radius:0; background:transparent; box-shadow:none;
}
body.page-chatroom [data-chatroom-layout] .c76-reaction-picker__full {
  position:static; box-sizing:border-box; width:284px; max-width:100%; max-height:none;
  border:0; border-top:1px solid var(--mkt-border); border-radius:0; background:transparent; box-shadow:none;
}
body.page-chatroom [data-chatroom-layout] :is(.c76-message-menu,.c76-chat-more-menu,.c76-filter-menu,.c76-attachment-menu) > button { min-height:44px; font-size:12px; padding:10px 12px; }
body.page-chatroom [data-chatroom-layout] [hidden] { display:none !important; }
@media(prefers-reduced-motion:reduce) { body.page-chatroom [data-chatroom-layout] *,body.page-chatroom [data-chatroom-layout] *::before,body.page-chatroom [data-chatroom-layout] *::after { transition:none !important; animation:none !important; scroll-behavior:auto !important; } }

/* One compact action-menu surface for conversation and message actions. */
body.page-chatroom [data-chatroom-layout] :is(.c76-chat-more-menu,.c76-message-menu) {
  --chat-menu-row:36px;
  display:flex;
  flex-direction:column;
  gap:2px;
  width:236px;
  min-width:0;
  padding:6px;
  border:1px solid var(--mkt-legacy-border-77c7e222e4cf,#e7e0f0);
  border-radius:14px;
  background:var(--mkt-legacy-background-cd4f35c69835,#fff);
  color:var(--mkt-legacy-text-d4fde4068f02,#675774);
  box-shadow:0 12px 36px var(--mkt-legacy-shadow-d47e5d90523b,#3c245422);
  scrollbar-width:none;
  -ms-overflow-style:none;
}
body.page-chatroom [data-chatroom-layout] :is(.c76-chat-more-menu,.c76-message-menu)::-webkit-scrollbar { display:none; width:0; height:0; }
body.page-chatroom [data-chatroom-layout] :is(.c76-chat-more-menu,.c76-message-menu) > button {
  box-sizing:border-box;
  display:flex;
  flex:none;
  align-items:center;
  gap:10px;
  width:100%;
  min-width:0;
  min-height:var(--chat-menu-row);
  margin:0;
  padding:6px 10px;
  border:0;
  border-radius:8px;
  background:transparent !important;
  color:var(--mkt-legacy-text-d4fde4068f02,#675774) !important;
  box-shadow:none !important;
  font:500 13px/20px Manrope,Arial,sans-serif;
  text-align:left;
  white-space:normal;
  overflow-wrap:anywhere;
}
body.page-chatroom [data-chatroom-layout] :is(.c76-chat-more-menu,.c76-message-menu) > button:is(:hover,:focus-visible) { background:var(--mkt-legacy-background-fbb6a36ffe94,#f6f2fa) !important; color:var(--mkt-legacy-text-28009f3cb78c,#654294) !important; }
body.page-chatroom [data-chatroom-layout] :is(.c76-chat-more-menu,.c76-message-menu) > button:focus-visible { outline:2px solid var(--mkt-legacy-border-8043422d1572,#bda5d7) !important; outline-offset:-2px !important; }
body.page-chatroom [data-chatroom-layout] :is(.c76-chat-more-menu,.c76-message-menu) > button.is-danger { color:var(--mkt-legacy-text-1b95e07e6420,#b66477) !important; }
body.page-chatroom .c76-page[data-chatroom-layout] :is(.c76-chat-more-menu,.c76-message-menu) :is(.c76-chat-menu__icon,.mkt-chat-menu-icon) { flex:0 0 18px; width:18px; height:18px; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
body.page-chatroom [data-chatroom-layout] .c76-chat-more-menu .mkt-chat-p2-font-controls { display:flex; flex:none; align-items:center; min-height:var(--chat-menu-row); margin:0; padding:0 10px; gap:2px; }
body.page-chatroom [data-chatroom-layout] .c76-chat-more-menu .mkt-chat-p2-font-controls :is(button,output,span) { min-width:28px; height:32px; min-height:32px; font:500 12px/20px Manrope,Arial,sans-serif; }
body.page-chatroom [data-chatroom-layout] .c76-chat-more-menu .mkt-chat-p2-font-controls > span:first-child { display:block; flex:1; height:auto; color:var(--mkt-legacy-text-d4fde4068f02,#675774); font-size:13px; white-space:nowrap; }
body.page-chatroom [data-chatroom-layout] .c76-chat-more-menu .mkt-chat-p2-font-controls button { border-radius:8px; }
/* Fixed, non-interactive edge cues do not consume rows or move focus/content. */
body.page-chatroom [data-chatroom-layout] :is(.c76-chat-more-menu,.c76-message-menu)::before,
body.page-chatroom [data-chatroom-layout] :is(.c76-chat-more-menu,.c76-message-menu)::after { content:none; position:fixed; left:calc(var(--chat-popover-x) + 1px); width:calc(var(--chat-menu-width) - 2px); height:18px; z-index:2; pointer-events:none; }
body.page-chatroom [data-chatroom-layout] :is(.c76-chat-more-menu,.c76-message-menu)[data-menu-scroll-up="true"]::before {
  content:""; top:calc(var(--chat-popover-y) + 1px); border-radius:13px 13px 0 0;
  background:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%208'%3E%3Cpath%20d='M2%206l4-4%204%204'%20fill='none'%20stroke='%239b87b1'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center 3px/12px 8px no-repeat,linear-gradient(var(--mkt-legacy-background-cd4f35c69835,#fff) 55%,#ffffff00);
}
body.page-chatroom [data-chatroom-layout] :is(.c76-chat-more-menu,.c76-message-menu)[data-menu-scroll-down="true"]::after {
  content:""; top:calc(var(--chat-popover-y) + var(--chat-menu-height) - 19px); border-radius:0 0 13px 13px;
  background:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%208'%3E%3Cpath%20d='M2%202l4%204%204-4'%20fill='none'%20stroke='%239b87b1'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center 7px/12px 8px no-repeat,linear-gradient(#ffffff00,var(--mkt-legacy-background-cd4f35c69835,#fff) 45%);
}
@media(pointer:coarse) {
  body.page-chatroom [data-chatroom-layout] :is(.c76-chat-more-menu,.c76-message-menu) { --chat-menu-row:44px; }
  body.page-chatroom [data-chatroom-layout] .c76-chat-more-menu .mkt-chat-p2-font-controls :is(button,output,span) { min-width:44px; height:44px; min-height:44px; }
}
