/*
 * Reword Messages — rebuilt workspace.
 * Layout patterns adapted from Preline Communication Blocks and Flowbite Chat Bubbles.
 * The UI is native HTML/CSS/JS so it can keep using Reword's existing Firebase SDK.
 */:root{--rwms-ink:#20211f;--rwms-muted:#8b8b86;--rwms-line:#ecebe7;--rwms-paper:#fff;--rwms-soft:#f7f7f4;--rwms-accent:#b67868;--rwms-out:#f1e9e4}#appScreen .main:has(#rwMessenger){width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:clamp(12px,2vw,28px)!important;overflow:hidden!important;box-sizing:border-box!important}#mainContent:has(#rwMessenger){width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;box-sizing:border-box!important;zoom:1!important}#mainContent:has(#rwMessenger)>.rw-messenger{margin:0!important}.rw-messenger,.rw-messenger *{box-sizing:border-box}.rw-messenger{width:100%;height:min(790px,calc(var(--rw-vh,100dvh) - 142px));min-height:570px;display:grid;grid-template-columns:350px minmax(0,1fr);overflow:hidden;background:var(--rwms-paper);border:1px solid #cfc6b6;border-radius:23px;box-shadow:0 22px 65px rgba(28,28,24,.065);color:var(--rwms-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;isolation:isolate}.rw-ms-sidebar{min-width:0;min-height:0;display:flex;flex-direction:column;background:#fff;border-right:1px solid var(--rwms-line)}.rw-ms-topbar{height:66px;flex:0 0 66px;display:flex;align-items:center;justify-content:space-between;padding:0 23px;border-bottom:1px solid #c0b6a3}.rw-ms-brand{color:#20211f;text-decoration:none;font:750 21px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0}.rw-ms-brand>span:first-child{color:var(--rwms-accent)}.rw-ms-brand-dot{color:var(--rwms-accent)}.rw-ms-icon-btn{position:relative;width:38px;height:38px;border:1px solid var(--rwms-line);border-radius:12px;background:#fff;color:#62635f;display:grid;place-items:center;cursor:pointer;transition:.18s}.rw-ms-icon-btn:hover{background:var(--rwms-soft);color:var(--rwms-ink)}.rw-ms-icon-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.rw-ms-icon-btn i{position:absolute;right:8px;top:8px;width:6px;height:6px;border-radius:50%;background:var(--rwms-accent);box-shadow:0 0 0 2px #fff}.rw-ms-heading{display:flex;align-items:flex-end;justify-content:space-between;padding:24px 23px 17px}.rw-ms-eyebrow{display:block;color:#a09f98;font-size:9px;font-weight:750;letter-spacing:0}.rw-ms-heading h1{margin:7px 0 0;font:500 34px/1 Georgia,"Times New Roman",serif;letter-spacing:-.055em}.rw-ms-heading h1 span{color:var(--rwms-accent)}.rw-ms-count{min-width:31px;height:25px;padding:0 8px;border-radius:999px;background:#f4f2ef;color:#77756f;display:grid;place-items:center;font:650 10px/1 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums}.rw-ms-search{height:43px;display:flex;align-items:center;gap:10px;margin:0 19px 17px;padding:0 12px;border:1px solid #cfc6b6;border-radius:12px;background:#f8f8f6;color:#92918b}.rw-ms-search:focus-within{border-color:#d4b7ac;background:#fff;box-shadow:0 0 0 3px rgba(182,120,104,.09)}.rw-ms-search svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.rw-ms-search input{flex:1;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:var(--rwms-ink)!important;padding:0!important;font:12px Inter,system-ui,sans-serif!important}.rw-ms-search input::placeholder{color:#aaa9a3}.rw-ms-search kbd{padding:3px 5px;border:1px solid #cfc6b6;border-radius:5px;background:#fff;color:#aaa9a3;font:9px Inter,system-ui,sans-serif}.rw-ms-filters{display:flex;gap:4px;margin:0 19px 15px;padding:4px;border-radius:11px;background:#f5f5f2}.rw-ms-filters button{flex:1;min-width:0;padding:9px 5px;border:0;border-radius:8px;background:transparent;color:#888780;font:600 10px Inter,system-ui,sans-serif;white-space:nowrap;cursor:pointer;transition:.18s}.rw-ms-filters button.active{background:#fff;color:#262723;box-shadow:0 1px 4px rgba(0,0,0,.07)}.rw-ms-list-head{display:flex;align-items:center;justify-content:space-between;padding:0 22px 9px;color:#a09f98;font-size:9px;font-weight:750;letter-spacing:0}.rw-ms-text-btn{border:0;background:transparent;color:#a17a6f;font:600 10px Inter,system-ui,sans-serif;cursor:pointer}.rw-ms-text-btn:disabled{opacity:.45}.rw-ms-list{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 10px 12px;scrollbar-width:thin;scrollbar-color:#e6e4df transparent}.rw-ms-conversation{position:relative;width:100%;min-height:75px;display:flex;align-items:center;gap:12px;padding:12px;border:1px solid transparent;border-radius:14px;background:transparent;text-align:left;color:inherit;cursor:pointer;transition:background .17s,border-color .17s}.rw-ms-conversation:hover{background:#f8f8f5}.rw-ms-conversation:focus-visible,.rw-ms-filters button:focus-visible,.rw-ms-icon-btn:focus-visible{outline:2px solid #c99b8d;outline-offset:2px}.rw-ms-avatar{width:44px;height:44px;min-width:44px;flex:0 0 44px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#eeeae5;color:#76675d;font:650 14px Inter,system-ui,sans-serif}.rw-ms-avatar img{display:block;width:100%;height:100%;object-fit:cover}.rw-ms-conversation-copy{flex:1;min-width:0;display:grid;gap:6px}.rw-ms-conversation-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;letter-spacing:0}.rw-ms-conversation-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a09f98;font-size:10px}.rw-ms-online{width:7px;height:7px;border-radius:50%;background:#d6d4ce}.rw-ms-online.online{background:#52a57b;box-shadow:0 0 0 3px #52a57b16}.rw-ms-item-arrow{color:#b8b6af;font:22px/1 Georgia,serif}.rw-ms-sidebar-foot{height:66px;min-height:66px;display:flex;align-items:center;gap:10px;padding:0 21px;border-top:1px solid #c0b6a3}.rw-ms-foot-mark{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#252622;color:#fff;font:500 18px Georgia,serif}.rw-ms-sidebar-foot>span:nth-child(2){display:grid;gap:3px}.rw-ms-sidebar-foot strong{font-size:10px;font-weight:600}.rw-ms-sidebar-foot small{color:#aaa9a3;font-size:9px}.rw-ms-secure-mark{margin-left:auto;color:#aaa9a3}.rw-ms-secure-mark svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.rw-ms-stage{position:relative;display:flex;min-width:0;min-height:0;align-items:stretch;justify-content:center;background:#fbfbf9;overflow:hidden}.rw-ms-welcome{width:min(410px,calc(100% - 44px));align-self:center;display:flex;flex-direction:column;align-items:center;text-align:center;padding:35px 15px}.rw-ms-welcome-art{position:relative;width:114px;height:114px;display:grid;place-items:center;margin-bottom:30px;border:1px solid #cfc6b6;border-radius:34px;background:linear-gradient(145deg,#fff 10%,#f2efea 100%);box-shadow:0 14px 40px rgba(36,34,29,.06);transform:rotate(-5deg)}.rw-ms-welcome-art span{font:500 69px/.9 Georgia,serif;letter-spacing:-.1em;color:#2c2d29;transform:rotate(5deg) translateX(-3px)}.rw-ms-welcome-art i,.rw-ms-welcome-art b{position:absolute;width:9px;height:9px;border-radius:50%;background:#c28b7b}.rw-ms-welcome-art i{right:17px;top:17px}.rw-ms-welcome-art b{left:19px;bottom:16px;width:5px;height:5px;background:#b8b5ac}.rw-ms-welcome h2{margin:12px 0 9px;font:500 clamp(27px,3vw,38px)/1.08 Georgia,"Times New Roman",serif;letter-spacing:-.04em}.rw-ms-welcome p{max-width:315px;margin:0;color:#92918a;font-size:12px;line-height:1.8}.rw-ms-welcome>button{margin-top:23px;padding:11px 15px;border:1px solid #c0b6a3;border-radius:10px;background:#fff;color:#4a4b46;font:650 11px Inter,system-ui,sans-serif;cursor:pointer}.rw-ms-welcome>button span{margin-left:12px;color:var(--rwms-accent)}.rw-ms-chat{width:100%;height:100%;min-width:0;min-height:0;display:flex;flex-direction:column;background:#fbfbf9}.rw-ms-chat-head{height:76px;min-height:76px;display:flex;align-items:center;gap:13px;padding:0 26px;background:rgba(255,255,255,.96);border-bottom:1px solid #cfc6b6}.rw-ms-back{display:none;width:36px;height:36px;flex:0 0 36px;place-items:center;border:1px solid #cfc6b6;border-radius:11px;background:#fff;color:#4d4e49;cursor:pointer}.rw-ms-back svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.rw-ms-chat-head .rw-ms-avatar{width:43px;height:43px;flex-basis:43px}.rw-ms-chat-person{min-width:0;display:grid;gap:5px}.rw-ms-chat-person strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600}.rw-ms-chat-person>span{display:flex;align-items:center;gap:6px;color:#9a9992;font-size:10px}.rw-ms-chat-person>span i{width:6px;height:6px;border-radius:50%;background:#58a77e}.rw-ms-chat-kind{margin-left:auto;padding:7px 9px;border:1px solid #cfc6b6;border-radius:7px;color:#a09f98;font:600 8px Inter,system-ui,sans-serif;letter-spacing:0}.rw-ms-feed{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:18px;padding:30px clamp(20px,5vw,65px);scrollbar-width:thin;scrollbar-color:#e0ded8 transparent;background-color:#fbfbf9;background-image:radial-gradient(#e6e3dc 0.55px,transparent .55px);background-size:18px 18px}.rw-ms-message{max-width:min(72%,610px);display:grid;gap:6px;align-self:flex-start;animation:rwMsIn .18s ease-out}.rw-ms-message.is-mine{align-self:flex-end}.rw-ms-message-meta{display:flex;align-items:center;gap:9px;padding:0 4px;color:#aaa8a1}.rw-ms-message.is-mine .rw-ms-message-meta{justify-content:flex-end}.rw-ms-message-meta strong{font-size:9px;font-weight:600;color:#83827b}.rw-ms-message-meta time{font-size:9px;color:#aaa8a1}.rw-ms-bubble{width:fit-content;max-width:100%;padding:12px 15px;border:1px solid #cfc6b6;border-radius:4px 17px 17px 17px;background:#fff;color:#393a35;box-shadow:0 4px 12px rgba(28,28,24,.025);font-size:13px;line-height:1.7;overflow-wrap:anywhere;white-space:normal}.rw-ms-message.is-mine .rw-ms-bubble{justify-self:end;border-color:#c0b6a3;border-radius:17px 4px 17px 17px;background:var(--rwms-out);color:#463b36}.rw-ms-first-message{margin:auto;display:grid;justify-items:center;gap:8px;text-align:center;color:#99978f}.rw-ms-first-message>span{width:42px;height:42px;display:grid;place-items:center;border:1px solid #c0b6a3;border-radius:14px;background:#fff;color:var(--rwms-accent);font-size:20px}.rw-ms-first-message strong{color:#686861;font:500 18px Georgia,serif}.rw-ms-first-message p{margin:0;font-size:11px}.rw-ms-feed-loading{margin:auto;color:#9a9992;font-size:11px}.rw-ms-error{margin:auto;display:grid;gap:7px;text-align:center;color:#a05b4f;font-size:12px}.rw-ms-error span{max-width:330px;color:#8b8a84;overflow-wrap:anywhere;font-size:10px}.rw-ms-composer{display:flex;align-items:flex-end;gap:12px;padding:16px 24px 17px;background:#fff;border-top:1px solid #cfc6b6}.rw-ms-compose-shell{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;padding:10px 14px;border:1px solid #cfc6b6;border-radius:15px;background:#fbfbf9;transition:border-color .18s,box-shadow .18s}.rw-ms-compose-shell:focus-within{border-color:#d5b5aa;box-shadow:0 0 0 3px rgba(182,120,104,.08)}.rw-ms-compose-shell textarea{display:block;width:100%;min-height:25px;max-height:136px;resize:none;border:0!important;outline:0!important;box-shadow:none!important;padding:2px 0!important;background:transparent!important;color:#32332f!important;font:13px/1.6 Inter,system-ui,sans-serif!important}.rw-ms-compose-shell textarea::placeholder{color:#aaa9a3}.rw-ms-compose-hint{color:#b0aea7;font-size:8px}.rw-ms-composer>button{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border:0;border-radius:14px;background:#262722;color:#fff;cursor:pointer;transition:background .18s,transform .18s}.rw-ms-composer>button:hover{background:#44453e;transform:translateY(-1px)}.rw-ms-composer>button:disabled{opacity:.5;cursor:wait;transform:none}.rw-ms-composer>button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.rw-ms-status{min-height:0;margin:0;padding:0 26px 7px;background:#fff;color:#a05b4f;font-size:10px}.rw-ms-status:empty{display:none}.rw-ms-loading{height:130px;display:flex;align-items:center;justify-content:center;gap:5px}.rw-ms-loading i{width:5px;height:5px;border-radius:50%;background:#c8a194;animation:rwMsDot 1s infinite ease-in-out}.rw-ms-loading i:nth-child(2){animation-delay:.13s}.rw-ms-loading i:nth-child(3){animation-delay:.26s}@keyframes rwMsDot{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}@keyframes rwMsIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}.rw-ms-empty{display:grid;justify-items:center;gap:8px;padding:25px 14px;text-align:center;color:#99978f}.rw-ms-empty-icon{width:37px;height:37px;display:grid;place-items:center;border:1px solid #cfc6b6;border-radius:12px;background:#fbfaf8;color:#a17a6f;font:17px Georgia,serif}.rw-ms-empty strong{color:#5d5e58;font:500 16px Georgia,serif}.rw-ms-empty p{max-width:220px;margin:0;font-size:10px;line-height:1.65}.rw-ms-section-label{display:flex;align-items:center;gap:8px;padding:12px 10px 8px;color:#a4a29b;font-size:9px;font-weight:750;letter-spacing:0}.rw-ms-section-label b{color:#807e77;font-size:9px}.rw-ms-section-spaced{margin-top:14px;border-top:1px solid #c0b6a3}.rw-ms-request{display:flex;align-items:center;gap:9px;padding:11px 9px;border:1px solid #cfc6b6;border-radius:12px;margin:5px 0;background:#fff}.rw-ms-request .rw-ms-avatar{width:36px;height:36px;min-width:36px;flex-basis:36px;font-size:12px}.rw-ms-request>div{flex:1;min-width:0;display:grid;gap:4px}.rw-ms-request>div strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.rw-ms-request>div small{color:#a09f98;font-size:9px}.rw-ms-request button{border:0;border-radius:8px;padding:8px 9px;background:#272823;color:#fff;font:650 9px Inter,system-ui,sans-serif;white-space:nowrap;cursor:pointer}.rw-ms-request button:disabled{opacity:.5}.rw-ms-request .rw-ms-decline{width:28px;padding:7px;background:#f4f2ef;color:#85837c;font-size:15px}.rw-ms-request .rw-ms-cancel{background:#f4f2ef;color:#77756f}.rw-ms-add-friend{margin:7px 2px 14px;padding:13px;border:1px solid #cfc6b6;border-radius:13px;background:#fafaf8}.rw-ms-add-friend>label{display:block;margin-bottom:9px;color:#a09f98;font-size:8px;font-weight:750;letter-spacing:0}.rw-ms-add-friend>div:first-of-type{display:flex;gap:7px}.rw-ms-add-friend input,.rw-ms-group-form input,.rw-ms-group-form select{width:100%;min-width:0;height:39px;padding:0 11px;border:1px solid #cfc6b6;border-radius:9px;background:#fff;color:#333;font:11px Inter,system-ui,sans-serif;outline:none}.rw-ms-add-friend input:focus,.rw-ms-group-form input:focus,.rw-ms-group-form select:focus{border-color:#d4b2a6}.rw-ms-add-friend>div:first-of-type button{width:39px;flex:0 0 39px;display:grid;place-items:center;border:0;border-radius:9px;background:#282924;color:#fff;cursor:pointer}.rw-ms-add-friend>div:first-of-type svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.rw-ms-add-friend>p{margin:7px 0 0;color:#a05b4f;font-size:9px}.rw-ms-searching,.rw-ms-search-note{padding:11px;color:#96948d;font-size:10px}.rw-ms-found{display:flex;align-items:center;gap:9px;margin-top:9px;padding:10px;border:1px solid #c0b6a3;border-radius:10px;background:#fff}.rw-ms-found .rw-ms-avatar{width:34px;height:34px;min-width:34px;flex-basis:34px}.rw-ms-found>span:nth-child(2){flex:1;min-width:0;display:grid;gap:3px}.rw-ms-found strong{font-size:10px}.rw-ms-found small{color:#99978f;font-size:9px}.rw-ms-found button{border:0;border-radius:8px;padding:9px 10px;background:#292a25;color:#fff;font:650 9px Inter,system-ui,sans-serif;cursor:pointer}.rw-ms-create-group{width:100%;display:flex;align-items:center;gap:11px;padding:12px;border:1px dashed #c0b6a3;border-radius:12px;background:#faf9f7;text-align:left;color:#595a54;cursor:pointer}.rw-ms-create-group>span:first-child{width:33px;height:33px;display:grid;place-items:center;border-radius:10px;background:#eee9e3;color:#9c7265;font-size:19px}.rw-ms-create-group>span:nth-child(2){display:grid;gap:4px}.rw-ms-create-group strong{font-size:10px}.rw-ms-create-group small{color:#9b9992;font-size:9px}.rw-ms-group-form{display:grid;gap:7px;margin:9px 0;padding:11px;border:1px solid #cfc6b6;border-radius:12px;background:#fafaf8}.rw-ms-group-form[hidden]{display:none}.rw-ms-group-form button{height:38px;border:0;border-radius:9px;background:#292a25;color:#fff;font:650 10px Inter,system-ui,sans-serif}.rw-ms-group-form p{margin:0;color:#a05b4f;font-size:9px}.rw-ms-group{position:relative;display:flex;align-items:center;gap:9px;margin-top:8px;padding:11px;border:1px solid #cfc6b6;border-radius:12px;background:#fff}.rw-ms-group-avatar{width:39px;height:39px;min-width:39px;flex:0 0 39px;display:grid;place-items:center;border-radius:12px;background:#eeebe5;color:#7e695e;font:500 16px Georgia,serif}.rw-ms-group-copy{flex:1;min-width:0;display:grid;gap:4px}.rw-ms-group-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.rw-ms-group-copy small,.rw-ms-group-copy p{margin:0;color:#99978f;font-size:9px}.rw-ms-group-copy p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rw-ms-mini-action{border:0;border-radius:8px;padding:8px 10px;background:#292a25;color:#fff;font:650 9px Inter,system-ui,sans-serif;cursor:pointer;white-space:nowrap}.rw-ms-private{color:#aaa79f;font-size:9px}.rw-ms-delete-group{position:absolute;right:7px;top:7px;width:20px;height:20px;border:0;border-radius:6px;background:#fff;border:1px solid #c0b6a3;color:#8b8982;font-size:13px;cursor:pointer}body.rw-messenger-page #mainContent{zoom:1!important}@media(max-width:900px){.rw-messenger{grid-template-columns:310px minmax(0,1fr);height:calc(var(--rw-vh,100dvh) - 128px);min-height:520px}.rw-ms-feed{padding:22px 22px}.rw-ms-chat-head{padding:0 18px}.rw-ms-message{max-width:83%}}@media(max-width:700px){#appScreen .main:has(#rwMessenger){padding:0!important;overflow:hidden!important}.rw-messenger{position:relative;width:100%;height:calc(var(--rw-vh,100dvh) - 142px - var(--rw-sab,env(safe-area-inset-bottom,0px)));min-height:450px;max-height:none;grid-template-columns:minmax(0,1fr);border:0;border-radius:0;box-shadow:none;background:#fff}.rw-ms-sidebar{width:100%;height:100%;border:0}.rw-ms-topbar{height:58px;min-height:58px;padding:0 17px}.rw-ms-heading{padding:22px 18px 15px}.rw-ms-heading h1{font-size:32px}.rw-ms-search{margin:0 15px 14px}.rw-ms-filters{margin:0 15px 13px}.rw-ms-filters button{font-size:10px;padding:10px 4px}.rw-ms-list-head{padding:0 18px 8px}.rw-ms-list{padding:0 9px 9px}.rw-ms-sidebar-foot{height:55px;min-height:55px;padding:0 17px}.rw-ms-stage{display:none}.rw-messenger.is-chat-open .rw-ms-sidebar{display:none}.rw-messenger.is-chat-open .rw-ms-stage{position:fixed;z-index:1200;inset:0;display:flex;width:100vw;height:var(--rw-vh,100dvh);min-height:0;background:#fbfbf9}.rw-ms-chat{width:100vw;height:var(--rw-vh,100dvh);min-height:0}.rw-ms-chat-head{height:calc(62px + env(safe-area-inset-top,0px));min-height:calc(62px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 12px 0;gap:10px}.rw-ms-back{display:grid}.rw-ms-chat-head .rw-ms-avatar{width:39px;height:39px;min-width:39px;flex-basis:39px}.rw-ms-chat-person strong{font-size:12px}.rw-ms-chat-person>span{font-size:9px}.rw-ms-chat-kind{font-size:7px;padding:6px 7px}.rw-ms-feed{padding:18px 13px calc(18px + var(--rw-sab,env(safe-area-inset-bottom,0px)));gap:14px;background-size:16px 16px}.rw-ms-message{max-width:88%}.rw-ms-message-meta strong,.rw-ms-message-meta time{font-size:8px}.rw-ms-bubble{padding:10px 13px;font-size:13px;line-height:1.65}.rw-ms-composer{gap:8px;padding:10px 11px calc(10px + var(--rw-sab,env(safe-area-inset-bottom,0px)));}.rw-ms-compose-shell{padding:9px 12px;border-radius:14px}.rw-ms-compose-shell textarea{font-size:16px!important;min-height:25px}.rw-ms-compose-hint{display:none}.rw-ms-composer>button{width:43px;height:43px;min-width:43px;flex-basis:43px;border-radius:13px}.rw-ms-status{padding:0 13px calc(5px + var(--rw-sab,env(safe-area-inset-bottom,0px)))}body.rw-messenger-chat-open #appScreen>.topbar,body.rw-messenger-chat-open #appScreen .mobile-nav{display:none!important}body.rw-messenger-chat-open #appScreen .layout{display:block!important;min-height:var(--rw-vh,100dvh)!important;height:var(--rw-vh,100dvh)!important}body.rw-messenger-chat-open #appScreen .main{position:static!important;width:100%!important;height:var(--rw-vh,100dvh)!important;min-height:0!important;padding:0!important;margin:0!important;overflow:visible!important}body.rw-messenger-chat-open #mainContent{position:static!important;width:100%!important;height:var(--rw-vh,100dvh)!important;min-height:0!important;padding:0!important;margin:0!important;overflow:visible!important}
}@media(max-width:380px){.rw-ms-heading h1{font-size:29px}.rw-ms-filters{gap:2px;margin-inline:11px}.rw-ms-filters button{font-size:9px}.rw-ms-conversation{gap:9px;padding:10px}.rw-ms-avatar{width:40px;height:40px;min-width:40px;flex-basis:40px}}@media(prefers-reduced-motion:reduce){.rw-messenger *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.rw-ms-invite-group{border:1px solid #cfc6b6;border-radius:8px;padding:7px 8px;background:#fff;color:#77736c;font:650 8px Inter,system-ui,sans-serif;cursor:pointer;white-space:nowrap}

/* V6 refinement: balanced composer controls and a quieter conversation list header. */.rw-ms-brand{display:none!important}.rw-ms-topbar{justify-content:flex-end!important}.rw-ms-composer{align-items:stretch!important;gap:10px!important}.rw-ms-compose-shell{justify-content:center;min-height:58px!important;padding:12px 15px!important;border-radius:16px!important}.rw-ms-compose-shell textarea{height:30px;min-height:30px!important;max-height:112px!important;overflow-y:auto!important;resize:none!important;padding:4px 0!important;line-height:1.45!important}.rw-ms-compose-hint{display:none!important}.rw-ms-composer>button{align-self:stretch!important;width:58px!important;min-width:58px!important;flex:0 0 58px!important;height:auto!important;min-height:58px!important;border-radius:16px!important}.rw-ms-composer>button svg{width:22px;height:22px}.rw-ms-status{padding-top:0!important}.rw-ms-feed{scroll-behavior:smooth}.rw-ms-bubble{overflow-wrap:anywhere;box-shadow:0 1px 1px rgba(35,31,27,.025)}.rw-ms-message.is-mine .rw-ms-bubble{border-bottom-right-radius:5px}.rw-ms-message.is-theirs .rw-ms-bubble{border-bottom-left-radius:5px}@media(max-width:700px){.rw-ms-composer{align-items:stretch!important;gap:9px!important;padding:10px 12px calc(10px + var(--rw-sab,env(safe-area-inset-bottom,0px)))!important}.rw-ms-compose-shell{min-height:58px!important;padding:12px 14px!important;border-radius:16px!important}.rw-ms-compose-shell textarea{font-size:16px!important;min-height:30px!important;max-height:112px!important}.rw-ms-composer>button{width:58px!important;min-width:58px!important;flex-basis:58px!important;min-height:58px!important;border-radius:16px!important}
}@media(max-width:380px){.rw-ms-composer{gap:8px!important;padding-inline:10px!important}.rw-ms-composer>button{width:54px!important;min-width:54px!important;flex-basis:54px!important;min-height:58px!important}}

/* V7: cache-busted, equal-height composer controls on every viewport. */#rwMessenger .rw-ms-composer{
  display:flex!important;align-items:center!important;gap:12px!important;
  padding:14px 22px calc(14px + var(--rw-sab,env(safe-area-inset-bottom,0px)))!important;
}#rwMessenger .rw-ms-compose-shell{
  flex:1 1 auto!important;min-width:0!important;height:68px!important;min-height:68px!important;
  display:flex!important;flex-direction:column!important;justify-content:center!important;gap:0!important;
  padding:0 16px!important;border:1px solid #c0b6a3!important;border-radius:17px!important;
  background:#fff!important;box-shadow:0 2px 9px rgba(32,30,25,.025)!important;
}#rwMessenger .rw-ms-compose-shell:focus-within{
  border-color:#cba99c!important;box-shadow:0 0 0 3px rgba(182,120,104,.10)!important;
}#rwMessenger .rw-ms-compose-shell textarea{
  display:block!important;width:100%!important;height:28px!important;min-height:28px!important;max-height:108px!important;
  margin:0!important;padding:4px 0!important;border:0!important;border-radius:0!important;
  outline:0!important;box-shadow:none!important;resize:none!important;overflow-y:auto!important;
  background:transparent!important;font:15px/1.35 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}#rwMessenger .rw-ms-compose-shell textarea::placeholder{color:#999991!important;opacity:1!important}#rwMessenger .rw-ms-compose-hint{display:none!important}#rwMessenger .rw-ms-composer>button{
  display:grid!important;place-items:center!important;align-self:center!important;
  width:68px!important;min-width:68px!important;max-width:68px!important;
  height:68px!important;min-height:68px!important;max-height:68px!important;flex:0 0 68px!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:17px!important;
  background:#252621!important;color:#fff!important;box-shadow:0 4px 12px rgba(32,30,25,.10)!important;
}#rwMessenger .rw-ms-composer>button:hover{background:#393a34!important;transform:translateY(-1px)}#rwMessenger .rw-ms-composer>button svg{width:23px!important;height:23px!important}#rwMessenger .rw-ms-status{padding:0 24px 6px!important}#rwMessenger .rw-ms-topbar .rw-ms-brand{display:none!important}@media(max-width:700px){#rwMessenger .rw-ms-composer{gap:10px!important;padding:11px 13px calc(11px + var(--rw-sab,env(safe-area-inset-bottom,0px)))!important}#rwMessenger .rw-ms-compose-shell{height:64px!important;min-height:64px!important;border-radius:16px!important;padding:0 14px!important}#rwMessenger .rw-ms-compose-shell textarea{height:28px!important;min-height:28px!important;font-size:16px!important;line-height:1.35!important}#rwMessenger .rw-ms-composer>button{width:64px!important;min-width:64px!important;max-width:64px!important;height:64px!important;min-height:64px!important;max-height:64px!important;flex-basis:64px!important;border-radius:16px!important}#rwMessenger .rw-ms-status{padding:0 14px calc(5px + var(--rw-sab,env(safe-area-inset-bottom,0px)))!important}
}@media(max-width:380px){#rwMessenger .rw-ms-composer{gap:8px!important;padding-inline:10px!important}#rwMessenger .rw-ms-compose-shell{height:60px!important;min-height:60px!important;padding-inline:12px!important}#rwMessenger .rw-ms-composer>button{width:60px!important;min-width:60px!important;max-width:60px!important;height:60px!important;min-height:60px!important;max-height:60px!important;flex-basis:60px!important}
}

/* V8: remove the legacy community footer; refine the header, profile actions and group settings. */#rwMessenger .rw-ms-sidebar-foot{display:none!important}#rwMessenger .rw-ms-chat-head{gap:12px!important}#rwMessenger .rw-ms-header-profile{display:flex;align-items:center;gap:12px;min-width:0;flex:1;padding:0;border:0;background:transparent;text-align:left;color:inherit;cursor:pointer;border-radius:13px}#rwMessenger .rw-ms-header-profile:hover .rw-ms-chat-person strong{text-decoration:underline;text-decoration-color:#d8c9be;text-underline-offset:4px}#rwMessenger .rw-ms-header-profile:focus-visible,#rwMessenger .rw-ms-settings-btn:focus-visible{outline:2px solid #cba99c;outline-offset:3px}#rwMessenger .rw-ms-header-profile .rw-ms-avatar{flex:0 0 42px}#rwMessenger .rw-ms-header-profile .rw-ms-chat-person{min-width:0;display:grid;gap:5px}#rwMessenger .rw-ms-header-profile .rw-ms-chat-person strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#rwMessenger .rw-ms-settings-btn{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border:1px solid #c0b6a3;border-radius:12px;background:#fff;color:#6f6b63;cursor:pointer;transition:background .18s,border-color .18s,color .18s}#rwMessenger .rw-ms-settings-btn:hover{background:#f6f3ef;border-color:#d9d1c7;color:#252621}#rwMessenger .rw-ms-settings-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}#rwMessenger .rw-ms-composer{gap:9px!important;padding:12px 18px!important}#rwMessenger .rw-ms-compose-shell{height:50px!important;min-height:50px!important;padding:0 14px!important;border-radius:14px!important}#rwMessenger .rw-ms-compose-shell textarea{height:26px!important;min-height:26px!important;font-size:14px!important;line-height:1.4!important;padding:3px 0!important}#rwMessenger .rw-ms-composer>button{width:50px!important;min-width:50px!important;max-width:50px!important;height:50px!important;min-height:50px!important;max-height:50px!important;flex:0 0 50px!important;border-radius:14px!important}#rwMessenger .rw-ms-composer>button svg{width:20px!important;height:20px!important}#rwMessenger .rw-ms-feed{padding:24px clamp(20px,4vw,64px)!important}#rwMessenger .rw-ms-message{max-width:min(74%,680px)!important}#rwMessenger .rw-ms-bubble{padding:11px 15px!important;font-size:14px!important;line-height:1.55!important;border-radius:17px!important}.rw-ms-settings-backdrop{position:fixed;z-index:2200;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(27,27,24,.32);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);animation:rwMsSettingsIn .18s ease-out}.rw-ms-settings-panel{width:min(100%,480px);max-height:min(86dvh,760px);overflow:auto;border:1px solid rgba(255,255,255,.8);border-radius:24px;background:#fff;padding:24px;box-shadow:0 24px 80px rgba(28,27,23,.2);color:#292a25}.rw-ms-settings-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}.rw-ms-settings-kicker{font-size:9px;font-weight:750;letter-spacing:0;color:#a08e7e}.rw-ms-settings-panel h2{margin:7px 0 0;font:600 25px/1.15 Georgia,serif;letter-spacing:0}.rw-ms-settings-close{width:36px;height:36px;flex:0 0 36px;border:1px solid #cfc6b6;border-radius:12px;background:#faf9f7;color:#77736c;font-size:23px;line-height:1;cursor:pointer}.rw-ms-settings-identity{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #cfc6b6;border-radius:16px;background:#faf9f7;margin-bottom:19px}.rw-ms-settings-identity>div{display:grid;gap:5px;min-width:0}.rw-ms-settings-identity strong{font-size:13px;overflow-wrap:anywhere}.rw-ms-settings-identity small{font-size:11px;color:#929087}#rwMsGroupSettingsForm{display:grid;gap:14px}#rwMsGroupSettingsForm>label{display:grid;gap:7px;color:#77736c;font-size:11px;font-weight:650}#rwMsGroupSettingsForm input,#rwMsGroupSettingsForm textarea,#rwMsGroupSettingsForm select{width:100%;min-width:0;box-sizing:border-box;border:1px solid #c0b6a3;border-radius:12px;background:#fff;color:#292a25;padding:12px 13px;font:13px/1.45 Inter,system-ui,sans-serif;outline:none;resize:vertical}#rwMsGroupSettingsForm input:focus,#rwMsGroupSettingsForm textarea:focus,#rwMsGroupSettingsForm select:focus{border-color:#c7a99b;box-shadow:0 0 0 3px rgba(182,120,104,.1)}#rwMsGroupSettingsForm input[readonly],#rwMsGroupSettingsForm textarea[readonly],#rwMsGroupSettingsForm select:disabled{background:#f8f7f4;color:#77736c}.rw-ms-settings-members{padding:15px;border-radius:15px;background:#f8f7f4}.rw-ms-settings-members>div{display:flex;justify-content:space-between;align-items:center;font-size:12px}.rw-ms-settings-members>div span{display:grid;place-items:center;min-width:26px;height:26px;border-radius:9px;background:#ebe7e0;font-size:11px}.rw-ms-settings-members p{margin:12px 0 0;color:#6f6b63;font-size:11px}.rw-ms-settings-members p small{color:#9a968d}.rw-ms-settings-status{min-height:15px;margin:0;color:#827366;font-size:11px}.rw-ms-settings-panel form footer{display:flex;justify-content:flex-end;padding-top:3px}.rw-ms-settings-save{min-height:43px;padding:0 17px;border:0;border-radius:12px;background:#282924;color:#fff;font:650 12px Inter,system-ui,sans-serif;cursor:pointer}.rw-ms-settings-save:disabled{opacity:.55;cursor:wait}.rw-ms-settings-readonly{font-size:11px;color:#8e8a81}@keyframes rwMsSettingsIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(max-width:700px){#rwMessenger .rw-ms-header-profile{gap:9px}#rwMessenger .rw-ms-header-profile .rw-ms-avatar{flex-basis:38px;width:38px;height:38px;min-width:38px}#rwMessenger .rw-ms-chat-head{gap:9px!important}#rwMessenger .rw-ms-chat-kind{margin-left:auto}#rwMessenger .rw-ms-settings-btn{width:34px;height:34px;flex-basis:34px;border-radius:11px}#rwMessenger .rw-ms-composer{gap:8px!important;padding:10px 12px calc(10px + var(--rw-sab,env(safe-area-inset-bottom,0px)))!important}#rwMessenger .rw-ms-compose-shell{height:46px!important;min-height:46px!important;padding:0 12px!important;border-radius:13px!important}#rwMessenger .rw-ms-compose-shell textarea{height:24px!important;min-height:24px!important;font-size:16px!important;line-height:1.35!important}#rwMessenger .rw-ms-composer>button{width:46px!important;min-width:46px!important;max-width:46px!important;height:46px!important;min-height:46px!important;max-height:46px!important;flex-basis:46px!important;border-radius:13px!important}#rwMessenger .rw-ms-feed{padding:18px 13px calc(18px + var(--rw-sab,env(safe-area-inset-bottom,0px)))!important}#rwMessenger .rw-ms-message{max-width:88%!important}.rw-ms-settings-backdrop{align-items:flex-end;padding:0}.rw-ms-settings-panel{width:100%;max-height:91dvh;border-radius:25px 25px 0 0;padding:22px 18px calc(20px + var(--rw-sab,env(safe-area-inset-bottom,0px)));border-bottom:0;animation:rwMsSheetIn .22s ease-out}.rw-ms-settings-panel h2{font-size:23px}
}@keyframes rwMsSheetIn{from{transform:translateY(22px);opacity:.6}to{transform:translateY(0);opacity:1}}

/* V9 group info/details and owner controls */.rw-ms-group-details-panel{width:min(100%,520px)}.rw-ms-group-hero{display:flex;align-items:center;gap:16px;padding:16px;border:1px solid #cfc6b6;border-radius:18px;background:#faf9f7;margin:0 0 16px}.rw-ms-group-detail-photo{width:76px;height:76px;flex:0 0 76px;display:grid;place-items:center;object-fit:cover;border-radius:22px;background:#ece8e0;color:#77665b;font:500 28px Georgia,serif}.rw-ms-group-hero h3{margin:0 0 6px;font-size:18px;letter-spacing:0;overflow-wrap:anywhere}.rw-ms-group-hero p{margin:0;color:#858178;font-size:12px}.rw-ms-group-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.rw-ms-group-detail-grid article{min-width:0;padding:13px;border:1px solid #cfc6b6;border-radius:13px;background:#fff}.rw-ms-group-detail-grid article span{font-size:9px;font-weight:750;letter-spacing:0;color:#a08e7e}.rw-ms-group-detail-grid article p{margin:7px 0 0;color:#4e4d47;font-size:12px;line-height:1.55;overflow-wrap:anywhere}.rw-ms-group-detail-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:17px}.rw-ms-group-done{min-height:43px;padding:0 16px;border:1px solid #c0b6a3;border-radius:12px;background:#fff;color:#5b5952;font:600 12px Inter,system-ui,sans-serif;cursor:pointer}.rw-ms-group-edit-form>label input[type=file]{height:auto;padding:10px}.rw-ms-upload-help{display:block;margin:-3px 0 5px;color:#918c82;font-size:10px}.rw-ms-group-edit-form footer{gap:8px;justify-content:space-between!important}.rw-ms-header-profile{cursor:pointer}@media(max-width:520px){.rw-ms-group-detail-grid{grid-template-columns:1fr}.rw-ms-group-hero{padding:13px}.rw-ms-group-detail-photo{width:64px;height:64px;flex-basis:64px;border-radius:18px}.rw-ms-group-details-panel{padding:21px 16px calc(20px + var(--rw-sab,env(safe-area-inset-bottom,0px)))}.rw-ms-group-detail-actions{display:grid;grid-template-columns:1fr}.rw-ms-group-done,.rw-ms-group-detail-actions .rw-ms-settings-save{width:100%}}

/* V10: no empty desktop welcome pane; full-width inbox until a conversation is selected. */@media(min-width:701px){.rw-messenger:not(.is-chat-open){grid-template-columns:minmax(0,1fr)!important}.rw-messenger:not(.is-chat-open) .rw-ms-stage{display:none!important}.rw-messenger:not(.is-chat-open) .rw-ms-sidebar{border-right:0!important}.rw-messenger.is-chat-open{grid-template-columns:350px minmax(0,1fr)!important}
}.rw-ms-search{height:46px!important;margin:0 19px 17px!important;padding:0 14px!important;border:1px solid #cfc6b6!important;border-radius:14px!important;background:#f8f8f6!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important;transition:border-color .18s,background .18s,box-shadow .18s!important}.rw-ms-search:focus-within{background:#fff!important;border-color:#cba89b!important;box-shadow:0 0 0 4px rgba(182,120,104,.09)!important}.rw-ms-search svg{width:17px!important;height:17px!important;flex:0 0 17px!important}.rw-ms-search input{font-size:13px!important;letter-spacing:0!important}.rw-ms-search kbd{border-radius:6px!important;background:#fff!important;padding:4px 6px!important;font-size:9px!important}.rw-ms-photo-field{display:grid;gap:8px}.rw-ms-field-label{color:#77736c;font-size:11px;font-weight:650}.rw-ms-photo-picker{display:flex;align-items:center;gap:14px;padding:13px;border:1px solid #c0b6a3;border-radius:15px;background:#faf9f7}.rw-ms-photo-preview{width:76px;height:76px;flex:0 0 76px;display:grid;place-items:center;overflow:hidden;border-radius:20px;background:#ece8e0;color:#77665b}.rw-ms-photo-preview img{width:100%;height:100%;display:block;object-fit:cover}.rw-ms-photo-preview .rw-ms-group-detail-photo{width:100%;height:100%;border-radius:0}.rw-ms-photo-copy{min-width:0;display:grid;justify-items:start;gap:5px}.rw-ms-photo-copy strong{font-size:12px;color:#292a25}.rw-ms-photo-copy small{color:#918c82;font-size:10px;line-height:1.45}.rw-ms-photo-copy input[type=file]{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;padding:0!important;border:0!important}.rw-ms-photo-pick-btn{display:inline-flex!important;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border:1px solid #c0b6a3;border-radius:10px;background:#fff;color:#373832!important;font-size:11px!important;font-weight:650!important;cursor:pointer}.rw-ms-photo-pick-btn:hover{background:#f3f0eb;border-color:#d5c6b9}@media(max-width:700px){.rw-ms-search{height:44px!important;margin-inline:15px!important}.rw-ms-photo-picker{align-items:flex-start}.rw-ms-photo-preview{width:68px;height:68px;flex-basis:68px;border-radius:17px}}

/* V11 micro-update: calm chat-opening transition and compact group actions. */.rw-ms-opening{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:30px;text-align:center;background:linear-gradient(145deg,#fff 0%,#faf9f7 100%);animation:rwMsOpenIn .22s ease-out both}.rw-ms-opening-spinner{width:28px;height:28px;border:2px solid #c0b6a3;border-top-color:var(--rwms-accent,#b67868);border-radius:50%;animation:rwMsSpin .72s linear infinite}.rw-ms-opening strong{font:500 20px/1.3 Georgia,"Times New Roman",serif;color:#272723}.rw-ms-opening small{font:12px/1.5 Inter,system-ui,sans-serif;color:#918d85}@keyframes rwMsSpin{to{transform:rotate(360deg)}}@keyframes rwMsOpenIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.rw-ms-group{gap:12px}.rw-ms-group .rw-ms-mini-action,.rw-ms-group .rw-ms-invite-group{min-height:34px;padding:0 12px;border-radius:10px;white-space:nowrap;transition:background .16s ease,border-color .16s ease,transform .16s ease}.rw-ms-group .rw-ms-mini-action{border:1px solid #252621;background:#252621;color:#fff}.rw-ms-group .rw-ms-invite-group{border:1px solid #c0b6a3;background:#fff;color:#4d4b45}.rw-ms-group .rw-ms-mini-action:hover,.rw-ms-group .rw-ms-invite-group:hover{transform:translateY(-1px)}.rw-ms-group-delete-setting{min-height:43px;padding:0 15px;border:1px solid #c0b6a3;border-radius:12px;background:#fff8f7;color:#a43d31;font:650 12px Inter,system-ui,sans-serif;cursor:pointer}.rw-ms-group-delete-setting:hover{background:#fff0ee;border-color:#e9bcb5}.rw-ms-group-delete-setting:disabled{opacity:.55;cursor:wait}@media(max-width:520px){.rw-ms-group{flex-wrap:wrap}.rw-ms-group .rw-ms-group-copy{flex:1 1 calc(100% - 58px)}.rw-ms-group .rw-ms-mini-action,.rw-ms-group .rw-ms-invite-group{flex:1 1 0}.rw-ms-group-detail-actions .rw-ms-group-delete-setting{width:100%}}

/* Micro-update V12: keep loading feedback inside the conversation row arrow. */.rw-ms-item-arrow{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;color:var(--rw-ms-muted,#8b8b8b);font-size:25px;line-height:1;}.rw-ms-arrow-spinner{display:block;width:15px;height:15px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:rw-ms-arrow-spin .65s linear infinite;}.rw-ms-conversation[aria-busy="true"]{pointer-events:none;}.rw-ms-conversation[aria-busy="true"] .rw-ms-item-arrow{color:var(--rw-ms-accent,#252525);}@keyframes rw-ms-arrow-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.rw-ms-arrow-spinner{animation-duration:1.8s}}

/* V14 — compact public profiles and unified notification inbox. */.rw-ms-topbar{gap:8px}.rw-ms-notice-trigger i[hidden]{display:none!important}.rw-ms-notice-panel{position:absolute;z-index:30;top:58px;right:14px;width:min(360px,calc(100vw - 28px));max-height:min(520px,70dvh);overflow:hidden;display:flex;flex-direction:column;border:1px solid #c0b6a3;border-radius:16px;background:#fff;box-shadow:0 18px 50px rgba(24,24,20,.16)}.rw-ms-notice-panel[hidden]{display:none!important}.rw-ms-notice-panel>header{display:flex;align-items:center;justify-content:space-between;padding:15px 16px;border-bottom:1px solid #cfc6b6}.rw-ms-notice-panel>header strong{font:500 18px Georgia,serif;color:#292a25}.rw-ms-notice-panel>header button{width:28px;height:28px;border:0;border-radius:8px;background:#f5f4f1;color:#777;font-size:19px;cursor:pointer}#rwMsNoticeList{overflow:auto;padding:7px;min-height:60px}.rw-ms-notice-item{width:100%;display:flex;align-items:flex-start;gap:10px;padding:12px 9px;border:0;border-radius:10px;background:#fff;text-align:left;color:#333;cursor:pointer}.rw-ms-notice-item:hover{background:#f8f7f4}.rw-ms-notice-item.is-unread{background:#fbf6f3}.rw-ms-notice-icon{width:31px;height:31px;flex:0 0 31px;display:grid;place-items:center;border-radius:10px;background:#eee7e1;color:#966d5f;font-size:17px}.rw-ms-notice-item>span:nth-child(2){flex:1;min-width:0;display:grid;gap:4px}.rw-ms-notice-item strong{font-size:11px;font-weight:600}.rw-ms-notice-item small{font-size:10px;line-height:1.5;color:#77766f;overflow-wrap:anywhere}.rw-ms-notice-item time{font-size:9px;color:#a09e96}.rw-ms-notice-item>i{width:6px;height:6px;flex:0 0 6px;margin-top:5px;border-radius:50%;background:#b67868}.rw-ms-notice-item:not(.is-unread)>i{display:none}.rw-ms-notice-empty,.rw-ms-notice-loading{padding:18px 12px;text-align:center;font-size:11px;color:#96938b}
/* Public profiles: reduce oversized avatar, typography, spacing and modal footprint. */#rwPublicProfileBackdrop .pp-in{width:min(610px,calc(100vw - 32px))!important;max-width:610px!important;padding:20px 24px!important}#rwPublicProfileBackdrop .pp-top{min-height:38px!important}#rwPublicProfileBackdrop .pp-hero{margin-top:14px!important}#rwPublicProfileBackdrop .pp-hero-cover{height:94px!important;min-height:94px!important;padding:12px!important;border-radius:14px!important}#rwPublicProfileBackdrop .pp-identity{gap:12px!important;margin:-32px 8px 0!important}#rwPublicProfileBackdrop .pp .rwuf-avatar.pp-ava{--avatar-size:64px!important;width:64px!important;height:64px!important;min-width:64px!important;max-width:64px!important;min-height:64px!important;max-height:64px!important;flex-basis:64px!important;border-width:3px!important;font-size:23px!important}#rwPublicProfileBackdrop .pp-name-line h1{font-size:clamp(21px,4vw,27px)!important}#rwPublicProfileBackdrop .pp-who{gap:3px!important;padding-bottom:2px!important}#rwPublicProfileBackdrop .pp-who>p{font-size:10px!important;margin:2px 0!important}#rwPublicProfileBackdrop .pp-status{font-size:8px!important}#rwPublicProfileBackdrop .pp-overview{margin-top:17px!important;padding:15px!important}#rwPublicProfileBackdrop .pp-stats{gap:8px!important}#rwPublicProfileBackdrop .pp-stats>div{gap:4px!important;padding-right:6px!important}#rwPublicProfileBackdrop .pp-stats>div+div{padding-left:8px!important}#rwPublicProfileBackdrop .pp-stats b{font-size:clamp(17px,3.8vw,23px)!important}#rwPublicProfileBackdrop .pp-stats span{font-size:7px!important;letter-spacing:0!important}#rwPublicProfileBackdrop .pp-sec{margin-top:17px!important}#rwPublicProfileBackdrop .pp-id-card{padding:12px!important;gap:8px!important}#rwPublicProfileBackdrop .pp-id{font-size:27px!important}#rwPublicProfileBackdrop .pp-actions .pp-friend-request{min-height:44px!important;padding:10px 14px!important;border-radius:12px!important;font-size:12px!important}#rwPublicProfileBackdrop .pp-foot{margin-top:15px!important;font-size:7px!important}@media(max-width:520px){#rwPublicProfileBackdrop.pp{padding:10px!important}#rwPublicProfileBackdrop .pp-in{width:calc(100vw - 20px)!important;padding:14px 15px!important}#rwPublicProfileBackdrop .pp-hero-cover{height:78px!important;min-height:78px!important}#rwPublicProfileBackdrop .pp-identity{margin-top:-26px!important}#rwPublicProfileBackdrop .pp .rwuf-avatar.pp-ava{--avatar-size:54px!important;width:54px!important;height:54px!important;min-width:54px!important;max-width:54px!important;min-height:54px!important;max-height:54px!important;flex-basis:54px!important;font-size:19px!important}#rwPublicProfileBackdrop .pp-name-line h1{font-size:21px!important}#rwPublicProfileBackdrop .pp-overview{padding:12px!important}#rwPublicProfileBackdrop .pp-stats b{font-size:17px!important}}

/* V15: clearly compact public profile sizing across desktop and mobile. */#rwPublicProfileBackdrop.pp{padding:12px!important;}#rwPublicProfileBackdrop .pp-in{width:min(460px,calc(100vw - 28px))!important;max-width:460px!important;max-height:88dvh!important;overflow:auto!important;padding:14px 16px!important;border-radius:18px!important;}#rwPublicProfileBackdrop .pp-top{min-height:30px!important;gap:7px!important;}#rwPublicProfileBackdrop .pp-back{gap:5px!important;font-size:10px!important;padding:5px 7px!important;}#rwPublicProfileBackdrop .pp-back svg{width:15px!important;height:15px!important;}#rwPublicProfileBackdrop .pp-kicker{font-size:8px!important;letter-spacing:0!important;}#rwPublicProfileBackdrop .pp-close{width:26px!important;height:26px!important;font-size:18px!important;}#rwPublicProfileBackdrop .pp-hero{margin-top:8px!important;}#rwPublicProfileBackdrop .pp-hero-cover{height:66px!important;min-height:66px!important;padding:8px!important;border-radius:11px!important;}#rwPublicProfileBackdrop .pp-identity{gap:9px!important;margin:-23px 6px 0!important;}#rwPublicProfileBackdrop .pp .rwuf-avatar.pp-ava{--avatar-size:44px!important;width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;min-height:44px!important;max-height:44px!important;flex-basis:44px!important;border-width:2px!important;font-size:16px!important;}#rwPublicProfileBackdrop .pp-name-line{gap:5px!important;}#rwPublicProfileBackdrop .pp-name-line h1{font-size:clamp(16px,3vw,20px)!important;line-height:1.15!important;}#rwPublicProfileBackdrop .pp-who{gap:2px!important;}#rwPublicProfileBackdrop .pp-who>p{font-size:9px!important;margin:1px 0!important;}#rwPublicProfileBackdrop .pp-status{font-size:7px!important;line-height:1.3!important;}#rwPublicProfileBackdrop .pp-overview{margin-top:11px!important;padding:10px!important;border-radius:11px!important;}#rwPublicProfileBackdrop .pp-overview-head{font-size:7px!important;}#rwPublicProfileBackdrop .pp-stats{gap:5px!important;margin-top:8px!important;}#rwPublicProfileBackdrop .pp-stats>div{gap:3px!important;padding-right:4px!important;}#rwPublicProfileBackdrop .pp-stats>div+div{padding-left:5px!important;}#rwPublicProfileBackdrop .pp-stats b{font-size:clamp(13px,2.5vw,17px)!important;line-height:1.15!important;}#rwPublicProfileBackdrop .pp-stats span{font-size:6px!important;letter-spacing:.025em!important;}#rwPublicProfileBackdrop .pp-sec{margin-top:11px!important;}#rwPublicProfileBackdrop .pp-sec-head h2{font-size:14px!important;}#rwPublicProfileBackdrop .pp-id-card{padding:9px!important;gap:6px!important;border-radius:10px!important;}#rwPublicProfileBackdrop .pp-label{font-size:7px!important;}#rwPublicProfileBackdrop .pp-id{font-size:20px!important;letter-spacing:.03em!important;}#rwPublicProfileBackdrop .pp-copy{padding:6px 8px!important;font-size:9px!important;}#rwPublicProfileBackdrop .pp-joined{margin-top:7px!important;padding:7px 9px!important;font-size:8px!important;}#rwPublicProfileBackdrop .pp-actions{margin-top:10px!important;}#rwPublicProfileBackdrop .pp-actions .pp-friend-request{min-height:36px!important;padding:8px 10px!important;border-radius:9px!important;font-size:10px!important;}#rwPublicProfileBackdrop .pp-actions .pp-friend-request svg{width:14px!important;height:14px!important;}#rwPublicProfileBackdrop .pp-friend-status{font-size:9px!important;margin:4px 0!important;}#rwPublicProfileBackdrop .pp-foot{margin-top:10px!important;font-size:6px!important;}@media(max-width:520px){#rwPublicProfileBackdrop.pp{padding:8px!important}#rwPublicProfileBackdrop .pp-in{width:min(420px,calc(100vw - 16px))!important;max-height:86dvh!important;padding:11px 12px!important}#rwPublicProfileBackdrop .pp-hero-cover{height:58px!important;min-height:58px!important}#rwPublicProfileBackdrop .pp-identity{margin-top:-20px!important}#rwPublicProfileBackdrop .pp .rwuf-avatar.pp-ava{--avatar-size:40px!important;width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;min-height:40px!important;max-height:40px!important;flex-basis:40px!important;font-size:14px!important}#rwPublicProfileBackdrop .pp-name-line h1{font-size:17px!important}#rwPublicProfileBackdrop .pp-overview{padding:9px!important}#rwPublicProfileBackdrop .pp-stats b{font-size:14px!important}}

/* V16 bug fixes: align public profile identity beside avatar and keep ID copy action inline. */#rwPublicProfileBackdrop .pp-identity{display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;gap:10px!important;margin:-20px 6px 0!important;position:relative!important;}#rwPublicProfileBackdrop .pp-identity>.pp-ava{display:block!important;flex:0 0 44px!important;align-self:center!important;}#rwPublicProfileBackdrop .pp-identity>.pp-who{display:flex!important;flex:1 1 auto!important;min-width:0!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;text-align:left!important;padding:0!important;}#rwPublicProfileBackdrop .pp-name-line{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;min-width:0!important;}#rwPublicProfileBackdrop .pp-name-line h1{margin:0!important;overflow-wrap:anywhere!important;}#rwPublicProfileBackdrop .pp-id-card{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;}#rwPublicProfileBackdrop .pp-id-card>div{flex:1 1 auto!important;min-width:0!important;display:flex!important;flex-direction:column!important;gap:4px!important;}#rwPublicProfileBackdrop .pp-id{display:block!important;overflow-wrap:anywhere!important;line-height:1.2!important;}#rwPublicProfileBackdrop .pp-copy{display:inline-flex!important;flex:0 0 auto!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:6px!important;white-space:nowrap!important;min-height:30px!important;}#rwMessenger .rw-ms-topbar{display:flex!important;justify-content:flex-end!important;align-items:center!important;}#rwMessenger .rw-ms-notice-trigger{position:relative!important;}#rwMessenger #rwMsNoticeDot{position:absolute!important;top:5px!important;right:5px!important;width:7px!important;height:7px!important;border:1.5px solid #fff!important;border-radius:50%!important;background:#b67868!important;}@media(max-width:520px){#rwPublicProfileBackdrop .pp-identity{margin-top:-17px!important;gap:8px!important;}#rwPublicProfileBackdrop .pp .rwuf-avatar.pp-ava{flex-basis:40px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;}#rwPublicProfileBackdrop .pp-id{font-size:17px!important;}#rwPublicProfileBackdrop .pp-copy{padding:6px 8px!important;font-size:9px!important;}}

/* v24: Messenger composer matches the AI chat input and send control */#rwMessenger .rw-ms-composer{display:flex!important;align-items:center!important;gap:8px!important;padding:12px 18px!important;background:#fff!important}#rwMessenger .rw-ms-compose-shell{display:flex!important;flex:1 1 auto!important;align-items:center!important;min-width:0!important;min-height:44px!important;height:auto!important;padding:4px 4px 4px 15px!important;border:0!important;border-radius:999px!important;background:#f1f1f2!important;box-shadow:none!important;transition:background .15s!important}#rwMessenger .rw-ms-compose-shell:focus-within{border:0!important;background:#ededee!important;box-shadow:none!important;transform:none!important}#rwMessenger .rw-ms-compose-shell textarea{display:block!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;min-height:36px!important;height:36px!important;max-height:96px!important;margin:0!important;padding:8px 0!important;resize:none!important;overflow-y:auto!important;border:0!important;border-radius:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#22232a!important;font:400 14px/20px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:0!important}#rwMessenger .rw-ms-compose-shell textarea::placeholder{color:#8d8d95!important;opacity:1!important}#rwMessenger .rw-ms-compose-hint{display:none!important}#rwMessenger .rw-ms-composer>button{display:grid!important;place-items:center!important;flex:0 0 36px!important;width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;min-height:36px!important;max-height:36px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#25262c!important;background-color:#25262c!important;color:#fff!important;opacity:1!important;box-shadow:none!important;transition:background .15s,transform .15s!important}#rwMessenger .rw-ms-composer>button:hover:not(:disabled){background:#111216!important;}#rwMessenger .rw-ms-composer>button:disabled{opacity:.38!important;cursor:wait!important;transform:none!important}#rwMessenger .rw-ms-composer>button svg{width:17px!important;height:17px!important;fill:none!important;stroke:#fff!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}@media(max-width:620px){#rwMessenger .rw-ms-composer{gap:8px!important;padding:10px 12px calc(10px + var(--rw-sab,env(safe-area-inset-bottom,0px)))!important}#rwMessenger .rw-ms-compose-shell{min-height:44px!important;padding:4px 4px 4px 14px!important}#rwMessenger .rw-ms-compose-shell textarea{min-height:36px!important;height:36px!important;font-size:16px!important}#rwMessenger .rw-ms-composer>button{flex-basis:36px!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important}}

/* v25: minimal group creation tile and tappable member avatars in group chat */#rwMessenger .rw-ms-create-group{display:flex!important;align-items:center!important;gap:13px!important;padding:15px!important;border:1px solid #cfc6b6!important;border-radius:15px!important;background:linear-gradient(135deg,#fff 0%,#faf9f7 100%)!important;box-shadow:0 5px 18px rgba(25,25,20,.035)!important;transition:border-color .18s,transform .18s,box-shadow .18s!important}#rwMessenger .rw-ms-create-group:hover{border-color:#d9d1c9!important;transform:translateY(-1px);box-shadow:0 9px 22px rgba(25,25,20,.06)!important}#rwMessenger .rw-ms-create-group .rw-ms-create-group-icon{width:42px!important;height:42px!important;min-width:42px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#292a25!important;color:#fff!important}#rwMessenger .rw-ms-create-group-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}#rwMessenger .rw-ms-create-group-copy{display:grid!important;gap:4px!important}#rwMessenger .rw-ms-create-group-copy strong{font-size:12px!important;font-weight:600!important;color:#282923!important}#rwMessenger .rw-ms-create-group-copy small{font-size:10px!important;color:#92918b!important}#rwMessenger .rw-ms-create-group-copy em{margin-top:3px;color:#9a7568;font-size:9px;font-style:normal;font-weight:600}#rwMessenger .rw-ms-create-group-copy em b{font-size:12px}#rwMessenger .rw-ms-message.is-theirs{display:flex!important;align-items:flex-end!important;gap:8px!important;max-width:min(82%,680px)!important}#rwMessenger .rw-ms-message-content{display:grid;gap:6px;min-width:0;max-width:100%}#rwMessenger .rw-ms-sender-avatar{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;margin-bottom:2px;padding:0;overflow:hidden;border:1px solid #cfc6b6;border-radius:50%;background:#fff;color:#777;cursor:pointer;transition:transform .15s,border-color .15s}#rwMessenger .rw-ms-sender-avatar:hover{border-color:#c9aaa0}#rwMessenger .rw-ms-sender-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}#rwMessenger .rw-ms-sender-avatar>span{font-size:12px;font-weight:650}#rwMessenger .rw-ms-message.is-theirs .rw-ms-bubble{max-width:100%}@media(max-width:620px){#rwMessenger .rw-ms-message.is-theirs{max-width:92%!important}#rwMessenger .rw-ms-sender-avatar{flex-basis:29px;width:29px;height:29px}}

/* V26 minimal group creation */.rw-ms-create-group-icononly{width:48px!important;height:48px!important;min-height:48px!important;padding:0!important;display:grid!important;place-items:center!important;border:0!important;border-radius:50%!important;background:#171916!important;margin:4px 0 14px!important;box-shadow:0 5px 18px #17191620}.rw-ms-create-group-icononly .rw-ms-create-group-icon{width:100%!important;height:100%!important;border-radius:50%!important;background:transparent!important;color:#fff!important;display:grid!important;place-items:center!important}.rw-ms-create-group-icononly svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.8;fill:none}.rw-ms-create-sheet{width:min(100%,470px);max-height:min(88vh,760px);overflow:auto;background:var(--surface,#fff);color:var(--text,#20221f);border:1px solid #8882;border-radius:22px;padding:24px;box-shadow:0 24px 80px #0003;animation:rwGroupSheetIn .2s ease-out}.rw-ms-create-sheet header{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:22px}.rw-ms-create-sheet header small{font-size:10px;letter-spacing:2px;color:#85877f;font-weight:600}.rw-ms-create-sheet h2{font-size:23px;margin:7px 0 5px;letter-spacing:0}.rw-ms-create-sheet header p,.rw-ms-create-hint{font-size:12px;color:#85877f;margin:0;line-height:1.5}.rw-ms-create-close{width:34px;height:34px;border:0;border-radius:50%;background:#8882;font-size:23px;cursor:pointer;color:inherit}.rw-ms-create-form{display:grid;gap:14px}.rw-ms-create-form label{display:grid;gap:7px;font-size:12px;font-weight:650;color:inherit}.rw-ms-create-form input,.rw-ms-create-form select{width:100%;height:44px;border:1px solid #8883;border-radius:11px;padding:0 12px;background:transparent;color:inherit;font:13px inherit;outline:none}.rw-ms-create-form input:focus,.rw-ms-create-form select:focus{border-color:#888}.rw-ms-create-form [hidden]{display:none!important}.rw-ms-create-hint{padding:10px 12px;border-radius:10px;background:#8881}.rw-ms-create-submit{height:46px;border:0;border-radius:12px;background:#171916;color:#fff;font-weight:650;cursor:pointer}.rw-ms-create-submit span{margin-left:8px}@keyframes rwGroupSheetIn{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}@media(max-width:560px){.rw-ms-create-sheet{padding:20px;border-radius:19px}}

/* V27: clean floating plus control and a true full-screen group composer */#rwMessenger .rw-ms-create-group.rw-ms-create-group-icononly{
  width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;
  padding:0!important;margin:4px 0 14px!important;display:grid!important;place-items:center!important;
  border:0!important;border-radius:50%!important;background:transparent!important;
  box-shadow:none!important;outline:0!important;transform:none!important;
}#rwMessenger .rw-ms-create-group.rw-ms-create-group-icononly:hover,#rwMessenger .rw-ms-create-group.rw-ms-create-group-icononly:focus-visible{
  background:transparent!important;box-shadow:none!important;transform:none!important;
}#rwMessenger .rw-ms-create-group-icononly .rw-ms-create-group-icon{
  width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;
  border-radius:50%!important;background:#171916!important;color:#fff!important;
  box-shadow:0 4px 12px rgba(20,22,18,.12)!important;transition:background .15s ease,transform .15s ease!important;
}#rwMessenger .rw-ms-create-group-icononly:active .rw-ms-create-group-icon{transform:scale(.96)!important}@keyframes rwV27FadeIn{from{opacity:0}to{opacity:1}}@keyframes rwV27SheetIn{from{opacity:.75;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){}

/* V28 — purpose-built{
  position:fixed!important;inset:0!important;width:100%!important;height:100%!important;height:var(--rw-vh,100dvh)!important;
  min-height:100%!important;z-index:100500!important;margin:0!important;padding:0!important;
  display:block!important;overflow-x:hidden!important;overflow-y:auto!important;
  background:#f5f5f1!important;color:#20221f!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  overscroll-behavior:contain!important;animation:rwV28PageIn .14s ease-out!important;
}.rw-ms-first-message>span{display:none!important}.rw-ms-first-message{gap:5px!important}@keyframes rwV28PageIn{from{opacity:.7}to{opacity:1}}@media(max-width:600px){
}@media(prefers-reduced-motion:reduce){}

/* V29 — Telegram-inspired{position:fixed!important;inset:0!important;width:100%!important;height:var(--rw-vh,100dvh)!important;min-height:100%!important;z-index:100500!important;margin:0!important;padding:0!important;overflow-y:auto!important;overflow-x:hidden!important;background:#f4f5f7!important;color:#20242b!important;backdrop-filter:none!important}@media(max-width:600px){}@media(prefers-reduced-motion:reduce){}

/* V30 — compact no-scroll wizard{overflow:hidden!important;height:var(--rw-vh,100dvh)!important;min-height:var(--rw-vh,100dvh)!important;background:#f5f5f3!important}@media(max-width:600px){}

/* V33 — compact wizard card (no stretching), controls inside card{--rw-orange:#f0782e;--rw-orange-hover:#e06a20;--rw-orange-soft:#fff5ee}@media(max-width:600px){}@keyframes rwGcEnter{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:640px){}@media(prefers-reduced-motion:reduce){}@media(max-width:700px){}

/* v35 — real photographic speaking prompts */.ml-visual>img,.ml-compare-grid figure>img{display:block;width:100%;height:clamp(210px,34vw,390px);max-height:none;object-fit:cover;background:#e9e8e4}.ml-compare-grid figure>img{height:clamp(150px,22vw,260px)}.ml-compare-grid figure{overflow:hidden}.ml-visual{background:#ecebe7}.ml-bottom-note{display:none!important}

/* v36 — minimal full-screen group creator{--rw-gc-accent:var(--accent,#b96f63)!important}#sidebar .nav-item[data-page="ai-speaking"] .nav-icon{color:var(--accent)!important;stroke-width:1.65!important}#sidebar .nav-item[data-page="ai-speaking"] .rw-ai-nav-icon{width:22px;height:22px}@media(max-width:700px){}

/* ---- AI chat history panel ---- */#rwAiHistoryBtn{display:none!important}body.ai-speaking-open #rwAiHistoryBtn{display:inline-grid!important;place-items:center}body.rw-ai-history-open{overflow:hidden}@media(max-width:620px){}

/* AI answer actions: icon-only copy / share */.rw-ai-msg-actions{display:flex;gap:2px;margin:6px 0 -4px -6px;white-space:normal}.rw-ai-act{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:10px;background:transparent;color:inherit;opacity:.55;cursor:pointer;transition:opacity .18s ease,background-color .18s ease,transform .18s ease;-webkit-tap-highlight-color:transparent}.rw-ai-act:hover,.rw-ai-act:focus-visible{opacity:1;background:color-mix(in srgb,currentColor 9%,transparent);outline:none}.rw-ai-act:active{transform:scale(.92)}.rw-ai-act.is-done{opacity:1}

/* Hold card: Telegram-style press-and-hold (touch) / right-click (mouse) action card for chat rows and message bubbles. */
.rw-ms-conversation,.rw-ms-bubble{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
.rw-ms-conversation{-webkit-user-select:none;user-select:none}
@media (pointer:coarse){.rw-ms-bubble,.rwsc-bubble{-webkit-user-select:none;user-select:none}}
.rwh{position:fixed;inset:0;z-index:2147483600;-webkit-tap-highlight-color:transparent}
.rwh-catch{position:absolute;inset:0;background:rgba(0,0,0,.28);-webkit-backdrop-filter:none;backdrop-filter:none}
.rwh-card{position:fixed;min-width:210px;max-width:min(290px,calc(100vw - 24px));padding:6px;border:1px solid var(--line,#d9d2c5);border-radius:16px;background:color-mix(in srgb,var(--card,#fff) 94%,transparent);color:var(--ink,#211e19);backdrop-filter:blur(18px) saturate(1.4);-webkit-backdrop-filter:blur(18px) saturate(1.4);box-shadow:0 18px 48px rgba(20,16,10,.24),0 2px 8px rgba(20,16,10,.08);animation:rwhPop .17s cubic-bezier(.32,.72,0,1)}
.rwh-item{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;padding:12px 14px;border:0;border-radius:11px;background:transparent;color:inherit;font-family:inherit;font-size:15px;font-weight:500;line-height:1.2;text-align:left;cursor:pointer}
.rwh-item+.rwh-item{margin-top:1px}
.rwh-item svg{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;opacity:.72}
.rwh-item:hover,.rwh-item:focus-visible{background:color-mix(in srgb,var(--ink,#211e19) 7%,transparent);outline:0}
.rwh-item.is-danger{color:#d0392b}.rwh-item.is-danger svg{opacity:1}
:root[data-theme="dark"] .rwh-item.is-danger{color:#ec8173}
@keyframes rwhFade{from{opacity:0}to{opacity:1}}
@keyframes rwhPop{from{opacity:0;transform:scale(.88)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.rwh-card{animation:none}}

/* Rebuilt conversation action sheet: correctly anchored, compact, crisp and theme-aware. */
.rwh-catch{background:rgba(18,20,24,.20)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.rwh.is-sheet .rwh-card{position:fixed!important;left:50%!important;right:auto!important;top:auto!important;bottom:calc(12px + var(--rw-sab,env(safe-area-inset-bottom,0px)))!important;transform:translateX(-50%)!important;width:min(420px,calc(100vw - 24px))!important;max-width:420px!important;min-width:0!important;max-height:min(70dvh,520px)!important;overflow:auto!important;margin:0!important;padding:10px!important;border:1px solid var(--line,#e7e3dc)!important;border-radius:20px!important;background:var(--card,#fff)!important;color:var(--ink,#242321)!important;box-shadow:0 16px 44px rgba(15,18,24,.18),0 2px 8px rgba(15,18,24,.06)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transform-origin:bottom center!important;animation:rwhSheet .20s cubic-bezier(.2,.8,.2,1) both}
.rwh-handle{display:block;width:34px;height:4px;margin:1px auto 10px;border-radius:4px;background:var(--line,#d9d2c5)}
.rwh-title{padding:2px 12px 11px;margin:0 0 6px;border-bottom:1px solid var(--line,#e7e3dc);text-align:center;font:600 13px/1.35 Inter,system-ui,sans-serif!important;letter-spacing:0;color:var(--muted,#77736c);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rwh.is-sheet .rwh-item{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;flex-direction:row!important;min-height:48px!important;padding:12px 13px!important;border-radius:12px!important;font:600 14px/1.3 Inter,system-ui,sans-serif!important;text-align:left!important}
.rwh.is-sheet .rwh-item svg{order:-1!important;width:18px!important;height:18px!important;opacity:.78!important}
.rwh.is-sheet .rwh-item.is-danger{color:#c64c45!important}
.rwh-cancel{display:block;width:100%;min-height:46px;margin-top:7px;padding:11px 14px;border:1px solid var(--line,#e7e3dc)!important;border-radius:12px!important;background:color-mix(in srgb,var(--ink,#211e19) 5%,var(--card,#fff))!important;color:var(--ink,#242321)!important;font:600 14px/1.3 Inter,system-ui,sans-serif!important;cursor:pointer}
.rwh-cancel:active,.rwh.is-sheet .rwh-item:active{background:color-mix(in srgb,var(--ink,#211e19) 9%,var(--card,#fff))!important}
:root[data-theme="dark"] .rwh-catch{background:rgba(0,0,0,.34)!important}
:root[data-theme="dark"] .rwh.is-sheet .rwh-card{background:#242321!important;border-color:#3b3935!important;color:#f3f0e9!important;box-shadow:0 18px 50px rgba(0,0,0,.42)!important}
:root[data-theme="dark"] .rwh-title{border-color:#3b3935!important;color:#aaa59b!important}
:root[data-theme="dark"] .rwh-handle{background:#514d46!important}
:root[data-theme="dark"] .rwh-cancel{background:#302e2a!important;border-color:#45413b!important;color:#f3f0e9!important}
:root[data-theme="dark"] .rwh.is-sheet .rwh-item.is-danger{color:#ff8b80!important}
@keyframes rwhSheet{from{opacity:0;transform:translate(-50%,14px)}to{opacity:1;transform:translate(-50%,0)}}


/* V28: restore native touch scrolling in chat feeds and the conversation list. */
#rwMessenger,.rw-messenger,.rw-ms-sidebar,.rw-ms-stage,.rw-ms-chat{min-height:0!important;}
#rwMessenger .rw-ms-chat{height:100%!important;overflow:hidden!important;}
#rwMessenger .rw-ms-feed{flex:1 1 0!important;min-height:0!important;height:0!important;overflow-y:auto!important;overflow-x:hidden!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-y:contain!important;}
#rwMessenger .rw-ms-list{flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-y:contain!important;}
#rwMessenger .rw-ms-composer{flex:0 0 auto!important;}
#rwMessenger .rw-ms-feed *{touch-action:pan-y pinch-zoom;}
@media(max-width:700px){
 #appScreen .main:has(#rwMessenger){overflow:hidden!important;}
 #rwMessenger{height:calc(var(--rw-vh,100dvh) - 150px)!important;min-height:420px!important;}
 #rwMessenger .rw-ms-feed{padding-bottom:calc(24px + var(--rw-sab,env(safe-area-inset-bottom,0px)))!important;}
}

/* Chat: no notification dot on the bell, no initials avatar in friend requests. */
.rw-ms-icon-btn i{display:none!important}
.rw-ms-request .rw-ms-avatar{display:none!important}
