:root{--chat-cyan:#38bdf8;--chat-cyan-soft:#d9f4ff;--chat-gold:#bb9804;--chat-ink:#07101a;--chat-panel:#0d1724;--chat-line:#243447;--chat-bg:#071019;--chat-muted:#93a4b8;--chat-external:#f97316}
.chatted-logo{background:var(--chat-cyan)!important;color:#071019!important;box-shadow:0 0 0 1px rgba(56,189,248,.25),0 0 18px rgba(56,189,248,.18)}
.chatted-nav-link{font-weight:900!important}.chatted-nav-link>span{color:var(--chat-cyan)}
.chatted-shell-page{width:100%;max-width:none!important;padding:0!important;overflow:hidden}
.chatted-app{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);height:calc(100vh - 112px);min-height:650px;background:var(--chat-bg);border-top:1px solid var(--chat-line);color:#edf5fb}
.chatted-sidebar{display:flex;flex-direction:column;min-width:0;background:linear-gradient(180deg,#0a1420,#071019);border-right:1px solid var(--chat-line);overflow:hidden}
.chatted-product-head{padding:20px 20px 15px;border-bottom:1px solid var(--chat-line)}.chatted-product-head p{margin:8px 0 0;color:var(--chat-muted);font-size:12px;line-height:1.5}
.chatted-product-logo,.chatted-welcome-logo{display:flex;align-items:center;gap:5px;font-size:24px;letter-spacing:-.8px;font-weight:950}.chatted-product-logo span,.chatted-welcome-logo span{display:inline-grid;place-items:center;background:var(--chat-cyan);color:#06101a;border-radius:8px;padding:4px 7px;box-shadow:0 0 24px rgba(56,189,248,.25)}.chatted-product-logo strong{color:#fff}
.chatted-self-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center;padding:14px 16px;border-bottom:1px solid var(--chat-line);background:rgba(255,255,255,.025)}.chatted-self-card strong,.chatted-self-card a,.chatted-self-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatted-self-card a{font-size:12px;color:var(--chat-cyan)}.chatted-self-card small{color:var(--chat-muted);font-size:10px;margin-top:2px}
.chatted-avatar{width:39px;height:39px;flex:0 0 auto;border-radius:12px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,var(--chat-gold),#6e5900);color:#fff;font-weight:950;border:1px solid rgba(255,255,255,.12)}.chatted-avatar img{width:100%;height:100%;object-fit:cover;display:block}.chatted-avatar-lg{width:50px;height:50px;border-radius:15px}.chatted-avatar-xl{width:112px;height:112px;border-radius:28px;font-size:36px}.chatted-avatar-xs{width:29px;height:29px;border-radius:9px;font-size:11px}
.chatted-icon-button{display:grid!important;place-items:center;width:34px;height:34px;border:1px solid var(--chat-line);border-radius:9px;color:#dce9f3!important;background:#111d2b;text-decoration:none}
.chatted-search{padding:13px 15px;position:relative}.chatted-search label{font-size:10px;letter-spacing:1.3px;text-transform:uppercase;color:var(--chat-muted);font-weight:800}.chatted-search input{margin-top:6px;width:100%;background:#111d2b;border:1px solid var(--chat-line);color:#fff;border-radius:11px;padding:11px 12px}.chatted-search-results{position:absolute;left:15px;right:15px;top:77px;z-index:30;background:#101c2a;border:1px solid #34506a;border-radius:12px;box-shadow:0 18px 45px rgba(0,0,0,.45);max-height:320px;overflow:auto}.chatted-search-result{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;padding:10px;border-bottom:1px solid var(--chat-line);text-decoration:none;color:#fff}.chatted-search-result:last-child{border-bottom:0}.chatted-search-result:hover{background:#16273a}.chatted-search-result strong,.chatted-search-result small{display:block}.chatted-search-result small{color:var(--chat-muted)}.chatted-search-result em{font-style:normal;font-size:10px;color:var(--chat-cyan)}
.chatted-create-group{margin:0 15px 12px;border:1px solid var(--chat-line);border-radius:11px;background:#0e1a28}.chatted-create-group summary{cursor:pointer;padding:10px 12px;color:var(--chat-cyan);font-weight:850}.chatted-create-group form{padding:0 12px 12px;display:grid;gap:9px}.chatted-create-group label{font-size:11px;color:#d8e6ef}.chatted-create-group input,.chatted-create-group textarea{width:100%;margin-top:4px;padding:9px;border-radius:8px;border:1px solid var(--chat-line);background:#07111c;color:#fff}.chatted-create-group small{font-size:9px;color:var(--chat-muted)}
.chatted-conversation-list{overflow:auto;flex:1;padding:0 8px 12px}.chatted-conversation-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border-radius:12px;color:#fff;text-decoration:none;margin:2px 0;border:1px solid transparent}.chatted-conversation-item:hover{background:#101e2e}.chatted-conversation-item.active{background:linear-gradient(90deg,rgba(56,189,248,.16),rgba(187,152,4,.08));border-color:rgba(56,189,248,.3)}.chatted-conversation-copy strong,.chatted-conversation-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatted-conversation-copy strong{font-size:13px}.chatted-conversation-copy small{font-size:10px;color:var(--chat-muted);margin-top:3px}.chatted-conversation-state{display:grid;justify-items:end;gap:5px}.chatted-conversation-state i{display:grid;place-items:center;min-width:20px;height:20px;border-radius:99px;background:var(--chat-cyan);color:#06101a;font-style:normal;font-size:10px;font-weight:950}.chatted-empty-sidebar{padding:20px;color:var(--chat-muted);font-size:12px}.chatted-empty-sidebar strong,.chatted-empty-sidebar span{display:block}.chatted-senior-tools{border-top:1px solid var(--chat-line);padding:12px 16px;display:grid;gap:5px;background:#0b1623}.chatted-senior-tools span{font-size:9px;letter-spacing:1.2px;color:var(--chat-gold);font-weight:900;text-transform:uppercase}.chatted-senior-tools a{color:#dce8f1;font-size:11px;text-decoration:none}
.external-badge{display:inline-flex;align-items:center;border-radius:99px;padding:3px 7px;font-size:8px;letter-spacing:.8px;background:rgba(249,115,22,.15);border:1px solid rgba(249,115,22,.5);color:#fdba74;white-space:nowrap}
.chatted-main{display:flex;flex-direction:column;min-width:0;background:radial-gradient(circle at 85% 0,rgba(56,189,248,.05),transparent 30%),#0b111a;overflow:hidden}.chatted-room-head{padding:14px 20px 11px;border-bottom:1px solid var(--chat-line);background:rgba(11,20,31,.96);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;position:relative;z-index:5}.chatted-room-identity{display:flex;align-items:center;gap:12px;min-width:0}.chatted-room-identity h1{margin:0;font-size:18px;color:#fff}.chatted-room-identity p{margin:3px 0 0;color:var(--chat-muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chatted-room-title{display:flex;align-items:center;gap:8px;min-width:0}.chatted-room-title h1,.chatted-room-title h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatted-room-actions{display:flex;align-items:center;gap:7px}.chatted-room-actions form{margin:0}.chatted-participant-strip{grid-column:1/-1;display:flex;gap:4px;align-items:center;padding-left:62px}.chatted-participant-strip a{position:relative}.chatted-participant-strip b{position:absolute;right:-5px;bottom:-3px;background:var(--chat-external);color:#fff;font-size:6px;padding:2px 3px;border-radius:4px}
.chatted-message-feed{flex:1;overflow:auto;padding:22px clamp(12px,3vw,38px);scroll-behavior:smooth}.chatted-message{display:flex;align-items:flex-start;gap:10px;margin:0 0 17px;max-width:920px}.chatted-message.mine{margin-left:auto;flex-direction:row-reverse}.chatted-message-body{min-width:0;max-width:min(760px,82vw);background:#121e2b;border:1px solid #26384b;border-radius:5px 16px 16px 16px;padding:10px 12px;box-shadow:0 8px 24px rgba(0,0,0,.13)}.chatted-message.mine .chatted-message-body{background:linear-gradient(135deg,#102b3d,#102332);border-color:#24516b;border-radius:16px 5px 16px 16px}.chatted-message-body>header{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:6px}.chatted-message-body>header strong{font-size:12px;color:#fff}.chatted-message-body>header>a{font-size:10px;color:var(--chat-cyan);text-decoration:none}.chatted-message-body time{margin-left:auto;color:#78899b;font-size:9px}.chatted-message-text{font-size:13px;line-height:1.55;color:#eef5f9;overflow-wrap:anywhere}.chatted-message-text a{color:#62cdf8}.chatted-message-text .chatted-link-external:after{content:' ↗';font-size:9px}.chatted-message-body>footer{display:flex;gap:10px;align-items:center;margin-top:7px;min-height:18px}.chatted-message-body>footer button{border:0;background:none;padding:0;color:#8195aa;font-size:9px;cursor:pointer}.chatted-message-body>footer form{margin:0}.chatted-message-body>footer .danger-link{color:#fda4af}.chatted-system-message{margin:5px auto;padding:7px 12px;border:1px solid #273a4d;border-radius:99px;background:#0d1925;color:#91a6b9;font-size:10px}.chatted-system-message span{color:var(--chat-cyan);margin-right:6px}.chatted-message.system{max-width:none;margin:12px 0}
.chatted-reply-preview{display:grid;width:100%;text-align:left;border:0;border-left:3px solid var(--chat-cyan);background:#0a1520;color:#b8c8d6;border-radius:6px;padding:7px 9px;margin:0 0 7px;cursor:pointer}.chatted-reply-preview strong{font-size:9px;color:var(--chat-cyan)}.chatted-reply-preview span{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chatted-attachments{display:grid;gap:8px;margin-top:8px}.chatted-media-image{display:block;max-width:560px;border-radius:11px;overflow:hidden;border:1px solid #2c4256}.chatted-media-image img{display:block;width:100%;max-height:520px;object-fit:contain;background:#050a0f}.chatted-attachments video{width:min(620px,100%);max-height:520px;border-radius:11px;background:#000}.chatted-attachments audio{width:min(520px,100%)}.chatted-file-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px;border:1px solid #30475d;border-radius:10px;background:#0b1621;color:#e8f1f6;text-decoration:none}.chatted-file-card>span{background:var(--chat-gold);color:#080b11;border-radius:6px;padding:5px;font-size:8px;font-weight:950}.chatted-file-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.chatted-file-card small{color:var(--chat-muted);font-size:9px}
.chatted-link-cards{display:grid;gap:6px;margin-top:8px}.chatted-link-cards a{display:grid;padding:8px 10px;border:1px solid #2a4055;border-radius:9px;background:#0a1520;color:#dceaf3;text-decoration:none}.chatted-link-cards b{font-size:8px;color:var(--chat-cyan);text-transform:uppercase;letter-spacing:.8px}.chatted-link-cards strong,.chatted-link-cards small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatted-link-cards strong{font-size:11px}.chatted-link-cards small{font-size:9px;color:var(--chat-muted)}
.chatted-composer{border-top:1px solid var(--chat-line);background:#0d1722;padding:10px clamp(12px,3vw,32px) 12px}.chatted-composer textarea{width:100%;resize:none;background:#07111a;color:#fff;border:1px solid #2a4054;border-radius:13px;padding:11px 13px;min-height:50px;max-height:180px}.chatted-composer-actions{display:flex;align-items:center;gap:10px;margin-top:7px}.chatted-composer-actions>span{flex:1;color:var(--chat-muted);font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatted-attach-button{cursor:pointer;border:1px solid #31475a;border-radius:8px;padding:7px 9px;font-size:10px;color:#d8e6ef}.chatted-attach-button input{display:none}.chatted-composer>small{display:block;margin-top:6px;color:#687b8e;font-size:8px}.chatted-reply-target{display:flex;align-items:center;justify-content:space-between;border-left:3px solid var(--chat-cyan);padding:6px 8px;background:#101f2d;border-radius:7px;margin-bottom:7px}.chatted-reply-target strong,.chatted-reply-target span{display:block;font-size:9px}.chatted-reply-target strong{color:var(--chat-cyan)}.chatted-reply-target span{color:#b9c8d4;max-width:70vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chatted-reply-target button{border:0;background:none;color:#fff;font-size:18px}.chatted-report-list{position:absolute;right:18px;bottom:104px;z-index:8;width:280px;background:#101c29;border:1px solid #30465a;border-radius:10px;padding:7px}.chatted-report-list summary{cursor:pointer;font-size:10px;color:#dce8f0}.chatted-report-list a{display:grid;padding:7px;border-top:1px solid #26394b;color:#fff;text-decoration:none}.chatted-report-list span,.chatted-report-list code{font-size:8px;color:var(--chat-muted)}
.chatted-welcome{margin:auto;max-width:760px;text-align:center;padding:45px 25px}.chatted-welcome .chatted-welcome-logo{justify-content:center;font-size:34px}.chatted-welcome h1{font-size:clamp(28px,5vw,52px);line-height:1.05;margin:24px 0 12px;color:#fff}.chatted-welcome p{color:var(--chat-muted);font-size:15px;line-height:1.7}.chatted-feature-pills{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:24px}.chatted-feature-pills span{border:1px solid #2c4256;border-radius:99px;padding:7px 11px;color:#c4d4df;font-size:10px}
.chatted-auth-shell,.chatted-invitation-page{max-width:1120px;margin:35px auto;display:grid;grid-template-columns:1fr minmax(340px,480px);gap:34px;align-items:center}.chatted-auth-brand{padding:30px}.chatted-auth-brand h1,.chatted-invitation-brand h1{font-size:clamp(30px,5vw,54px);line-height:1.04}.chatted-auth-brand p,.chatted-auth-brand li,.chatted-invitation-brand p{color:#6e7b8d;line-height:1.65}.chatted-auth-card{display:grid;gap:14px;background:#0d1724;color:#fff;border:1px solid #293c50;border-radius:18px;padding:28px;box-shadow:0 24px 70px rgba(0,0,0,.28)}.chatted-auth-card h2{margin:0}.chatted-auth-card label{font-size:11px;color:#cad8e2}.chatted-auth-card input{width:100%;margin-top:5px;background:#07111b;color:#fff;border:1px solid #32475b;border-radius:9px;padding:11px}.chatted-username-input{display:flex;align-items:center;background:#07111b;border:1px solid #32475b;border-radius:9px;margin-top:5px}.chatted-username-input span{padding-left:10px;color:var(--chat-cyan);font-weight:900}.chatted-username-input input{border:0!important;margin:0!important}.external-warning{display:flex;gap:10px;align-items:center;border:1px solid rgba(249,115,22,.4);background:rgba(249,115,22,.08);padding:13px;border-radius:11px}.external-warning b{color:#fb923c}.external-warning span{font-size:11px;color:#9a5b34}
.chatted-settings-page,.chatted-management-page{max-width:1280px;margin:25px auto;padding:0 18px}.chatted-settings-page>header,.chatted-management-page>header{margin-bottom:20px}.chatted-settings-page>header h1,.chatted-management-page>header h1{font-size:34px;margin:7px 0}.chatted-settings-page>header p,.chatted-management-page>header p{max-width:850px;color:#68768a}.chatted-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.chatted-settings-grid .card{display:grid;gap:12px}.chatted-settings-grid input,.chatted-settings-grid textarea,.chatted-settings-grid select,.chatted-management-page input,.chatted-management-page textarea,.chatted-management-page select{width:100%;margin-top:5px}.chatted-settings-grid fieldset{border:1px solid #d7dee8;border-radius:10px;display:grid;gap:8px}.chatted-settings-grid .check{display:flex;align-items:center;gap:8px}.chatted-settings-grid .check input{width:auto;margin:0}.privacy-default-note{border-left:4px solid var(--chat-cyan);padding:10px;background:#eaf8fe;border-radius:6px}.privacy-default-note p{margin:4px 0;color:#516170}.chatted-settings-actions{grid-column:1/-1}.chatted-management-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.chatted-management-page .card form{display:grid;gap:12px}.chatted-copy-url{margin-top:16px;padding:12px;border-radius:10px;background:#e9f8fe;border:1px solid #a9e4fb}.chatted-copy-url input{font-family:monospace}.chatted-copy-url button{margin-top:8px}.chatted-participant-list{display:grid;gap:7px}.chatted-participant-list article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px;border:1px solid #dce3ea;border-radius:10px}.chatted-participant-list strong,.chatted-participant-list a,.chatted-participant-list small{display:block}.chatted-participant-list a{font-size:11px}.chatted-participant-list small{font-size:9px;color:#66778a}.chatted-invitation-ledger{margin-top:18px}
.chatted-public-profile{max-width:760px;margin:40px auto}.chatted-profile-banner{height:160px;border-radius:22px 22px 0 0;background:linear-gradient(135deg,#07101a,#102b3e);display:flex;align-items:flex-start;justify-content:space-between;padding:25px;color:#fff}.chatted-profile-banner b{font-size:9px;color:var(--chat-cyan);letter-spacing:1px}.chatted-profile-card{text-align:center;background:#fff;border:1px solid #dce3ea;border-radius:0 0 22px 22px;padding:0 34px 34px}.chatted-profile-card>.chatted-avatar{margin:-55px auto 15px}.chatted-profile-card h1{margin:0}.chatted-profile-card>strong{color:#169ed4}.chatted-profile-card dl{display:grid;gap:6px;text-align:left;max-width:500px;margin:20px auto}.chatted-profile-card dl>div{display:grid;grid-template-columns:100px 1fr;padding:8px;border-bottom:1px solid #e6ebf0}.chatted-profile-card dt{font-size:10px;color:#6a7788;text-transform:uppercase}.chatted-profile-bio{max-width:560px;margin:18px auto;color:#4e5e70;line-height:1.65}.chatted-profile-card .actions{justify-content:center}.chatted-share-hint{display:block;color:#778697;margin-top:15px}
.chatted-admin-chat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px}.chatted-admin-chat-grid article{padding:18px;border:1px solid #d8e0e8;border-radius:14px;background:#fff}.chatted-admin-chat-grid h2{margin:0;font-size:18px}.chatted-admin-chat-grid p{font-size:11px;color:#657487}.chatted-admin-participants{display:flex;flex-wrap:wrap;gap:5px}.chatted-admin-participants span{font-size:9px;background:#edf2f6;border-radius:99px;padding:5px 7px}.chatted-diagnostic-filter{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;margin-bottom:15px}.chatted-diagnostic-list{display:grid;gap:9px}.chatted-diagnostic-list article{border:1px solid #d9e1e8;border-radius:10px;background:#fff;padding:12px}.chatted-diagnostic-list header{display:flex;justify-content:space-between}.chatted-diagnostic-list p{font-size:10px;color:#66778a}.chatted-diagnostic-list pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#101820;color:#dff4ff;border-radius:8px;padding:10px;max-height:280px;overflow:auto;font-size:9px}
@media(max-width:900px){.chatted-app{grid-template-columns:110px minmax(0,1fr)}.chatted-product-head p,.chatted-self-card>div,.chatted-search label,.chatted-create-group,.chatted-conversation-copy,.chatted-senior-tools span{display:none}.chatted-product-logo{font-size:0}.chatted-product-logo span{font-size:18px}.chatted-self-card{grid-template-columns:1fr;justify-items:center}.chatted-icon-button{display:none!important}.chatted-search{padding:8px}.chatted-search input{font-size:0;padding:10px}.chatted-search input::placeholder{font-size:0}.chatted-search-results{position:fixed;left:10px;right:10px;top:80px}.chatted-conversation-item{grid-template-columns:1fr;justify-items:center;padding:7px}.chatted-conversation-state{position:absolute;margin-left:38px}.chatted-sidebar{position:relative}.chatted-senior-tools{padding:8px}.chatted-senior-tools a{font-size:0}.chatted-senior-tools a:before{content:'⚿';font-size:16px}.chatted-room-actions{flex-wrap:wrap;justify-content:flex-end}.chatted-auth-shell,.chatted-invitation-page{grid-template-columns:1fr}.chatted-settings-grid,.chatted-management-grid{grid-template-columns:1fr}.chatted-settings-actions{grid-column:auto}}
@media(max-width:620px){.chatted-app{height:calc(100vh - 84px);min-height:540px;grid-template-columns:72px minmax(0,1fr)}.chatted-product-head{padding:10px}.chatted-room-head{padding:9px;grid-template-columns:1fr}.chatted-room-actions{display:none}.chatted-participant-strip{padding-left:0;overflow:auto}.chatted-room-identity .chatted-avatar{width:40px;height:40px}.chatted-room-identity h1{font-size:15px}.chatted-message-feed{padding:12px 8px}.chatted-message>.chatted-avatar{width:29px;height:29px;border-radius:9px}.chatted-message-body{max-width:calc(100vw - 125px);padding:8px}.chatted-message-body time{width:100%;margin:0}.chatted-composer{padding:8px}.chatted-composer-actions{gap:5px}.chatted-composer-actions>span{display:none}.chatted-report-list{display:none}.chatted-public-profile,.chatted-management-page,.chatted-settings-page{margin:15px auto}.chatted-profile-card{padding-left:15px;padding-right:15px}.chatted-auth-brand{padding:12px}.chatted-auth-card{padding:20px}.chatted-diagnostic-filter{grid-template-columns:1fr}.site-header .brand-word .brand-label{display:none}}

.chatted-request-panel{display:flex;align-items:center;gap:12px;padding:16px 18px;border-top:1px solid var(--line);background:linear-gradient(90deg,rgba(56,189,248,.12),rgba(187,152,4,.10))}.chatted-request-panel>div{flex:1}.chatted-request-panel p{margin:4px 0 0;color:var(--muted)}.chatted-request-panel form{margin:0}@media(max-width:720px){.chatted-request-panel{align-items:stretch;flex-direction:column}.chatted-request-panel form button{width:100%}}

/* BRANDED 9.10.1 · C!HATTED! public experience, verification, flair, and administration */
.chatted-public-body{margin:0;min-height:100vh;background:radial-gradient(circle at 15% 0%,rgba(56,189,248,.13),transparent 32rem),radial-gradient(circle at 85% 15%,rgba(187,152,4,.12),transparent 34rem),#05070b;color:#f7f8fa;font-family:Inter,Segoe UI,Arial,sans-serif}.chatted-public-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px clamp(20px,5vw,72px);border-bottom:1px solid rgba(255,255,255,.09);background:rgba(5,7,11,.9);backdrop-filter:blur(18px)}.chatted-public-brand{display:grid;grid-template-columns:auto auto;align-items:center;gap:0 5px;color:#fff;text-decoration:none}.chatted-public-brand>span,.chatted-onboarding-logo>span{color:#f4c84a}.chatted-public-brand>span,.chatted-public-brand>strong{font-size:22px;letter-spacing:.08em}.chatted-public-brand small{grid-column:1/-1;color:#8da0b8;font-size:10px;letter-spacing:.14em;text-transform:uppercase}.chatted-public-header nav,.chatted-public-footer nav{display:flex;flex-wrap:wrap;gap:18px}.chatted-public-header nav a,.chatted-public-footer a{color:#c8d4e3;text-decoration:none;font-size:13px}.chatted-public-header nav a:hover,.chatted-public-footer a:hover{color:#f4c84a}.chatted-public-main{width:min(1440px,calc(100% - 32px));margin:0 auto;padding:clamp(34px,6vw,86px) 0}.chatted-public-footer{display:flex;justify-content:space-between;gap:20px;padding:28px clamp(20px,5vw,72px);border-top:1px solid rgba(255,255,255,.08);color:#8795a9;background:#030509}.chatted-onboarding-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.78fr);gap:clamp(32px,6vw,92px);align-items:center;min-height:calc(100vh - 230px)}.chatted-onboarding-intro{padding:clamp(8px,3vw,34px)}.chatted-onboarding-logo{font-size:clamp(38px,6vw,74px);font-weight:900;letter-spacing:.09em;line-height:.95}.chatted-onboarding-intro h1,.chatted-setup-heading h1,.chatted-rules-page>header h1{max-width:850px;margin:22px 0 18px;font-size:clamp(34px,4.8vw,68px);line-height:1.02;color:#fff}.chatted-onboarding-intro>p,.chatted-setup-heading>p,.chatted-rules-page>header>p{max-width:760px;font-size:clamp(16px,1.7vw,21px);line-height:1.7;color:#aebdd0}.chatted-access-compare{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:28px 0}.chatted-access-compare>div,.chatted-privacy-callout{padding:18px;border:1px solid rgba(56,189,248,.22);border-radius:16px;background:rgba(13,21,34,.74)}.chatted-access-compare strong,.chatted-privacy-callout strong{display:block;color:#f4c84a;margin-bottom:6px}.chatted-access-compare span,.chatted-privacy-callout p{display:block;margin:0;color:#aebdd0;line-height:1.55}.chatted-trust-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:26px 0 0;padding:0;list-style:none}.chatted-trust-list li{position:relative;padding:12px 14px 12px 36px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.025);color:#dce6f2}.chatted-trust-list li:before{content:'✓';position:absolute;left:13px;color:#38bdf8;font-weight:900}.chatted-onboarding-card{display:grid;gap:18px;padding:clamp(25px,4vw,46px);border:1px solid rgba(244,200,74,.24);border-radius:26px;background:linear-gradient(155deg,rgba(17,24,39,.98),rgba(7,11,18,.98));box-shadow:0 30px 90px rgba(0,0,0,.42)}.chatted-onboarding-card header h2,.chatted-onboarding-card>h2{margin:6px 0;font-size:30px;color:#fff}.chatted-onboarding-card header p{margin:0;color:#99a9bd}.chatted-onboarding-card label{display:grid;gap:8px;color:#f0f4fa;font-weight:700}.chatted-onboarding-card label>span{font-size:13px;letter-spacing:.03em}.chatted-onboarding-card input,.chatted-onboarding-card select,.chatted-onboarding-card textarea,.chatted-setup-grid input,.chatted-setup-grid select,.chatted-setup-grid textarea{width:100%;box-sizing:border-box;padding:14px 15px;border:1px solid #334157;border-radius:12px;background:#090e17;color:#fff;font:inherit;outline:none}.chatted-onboarding-card input:focus,.chatted-onboarding-card select:focus,.chatted-onboarding-card textarea:focus,.chatted-setup-grid input:focus,.chatted-setup-grid select:focus,.chatted-setup-grid textarea:focus{border-color:#38bdf8;box-shadow:0 0 0 3px rgba(56,189,248,.13)}.chatted-onboarding-card label small,.chatted-setup-grid label small{color:#8191a7;font-weight:400;line-height:1.45}.chatted-onboarding-card button,.chatted-setup-actions button{min-height:48px;border-radius:12px;background:linear-gradient(135deg,#f4c84a,#bb9804);color:#080b11;font-weight:900}.chatted-auth-switch,.chatted-form-legal{margin:0;text-align:center;color:#98a9bd;font-size:13px}.chatted-auth-switch a,.chatted-form-legal a{color:#7dd3fc}.chatted-login-layout{grid-template-columns:minmax(0,1fr) minmax(350px,.68fr)}.chatted-invitation-layout .external-warning{margin-top:24px}.chatted-username-input{display:flex!important;align-items:stretch;padding:0!important;overflow:hidden}.chatted-username-input>b,.chatted-username-input>span{display:grid;place-items:center;min-width:48px;background:#111a28;color:#38bdf8;font-size:18px}.chatted-username-input input{border:0!important;border-left:1px solid #334157!important;border-radius:0!important}.chatted-setup-public{max-width:1320px;margin:0 auto}.chatted-setup-heading{margin-bottom:34px}.chatted-setup-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.chatted-setup-grid .chatted-onboarding-card{align-content:start}.chatted-setup-grid fieldset{display:grid;gap:10px;padding:18px;border:1px solid #2d3b50;border-radius:14px}.chatted-setup-grid fieldset legend{padding:0 8px;color:#f4c84a;font-weight:800}.chatted-setup-grid label.check{display:flex;align-items:center;gap:10px}.chatted-setup-grid label.check input{width:auto}.chatted-setup-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:20px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:#0b111c}.chatted-setup-actions>a:not(.button){margin-left:auto;color:#7dd3fc}.chatted-rules-page{max-width:1320px;margin:0 auto}.chatted-rules-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:38px}.chatted-rules-grid article{min-height:210px;padding:25px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:linear-gradient(145deg,#111827,#090e17)}.chatted-rules-grid article>b{display:inline-grid;place-items:center;width:38px;height:38px;border:1px solid rgba(56,189,248,.4);border-radius:12px;color:#38bdf8}.chatted-rules-grid h2{font-size:20px;color:#fff}.chatted-rules-grid p{color:#aab8ca;line-height:1.65}.chatted-rules-notice{margin-top:24px;padding:28px;border:1px solid rgba(244,200,74,.28);border-radius:20px;background:#0d1420}.chatted-rules-notice h2{margin-top:0;color:#f4c84a}.chatted-rules-notice p{color:#b7c4d4;line-height:1.65}

.chatted-identity-badges{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;vertical-align:middle}.chatted-identity-badges.compact{gap:4px}.chatted-verification,.chatted-flair{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border:1px solid var(--badge-border,#38bdf8);border-radius:999px;background:var(--badge-bg,#1f2937);color:var(--badge-text,#fff);font-size:10px;font-weight:900;letter-spacing:.04em;line-height:1.1;white-space:nowrap;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}.chatted-flair{border-color:var(--flair-border,#bb9804);background:var(--flair-bg,#172033);color:var(--flair-text,#fff)}.chatted-identity-badges.compact .chatted-verification,.chatted-identity-badges.compact .chatted-flair,.chatted-identity-badges.compact .external-badge{padding:3px 6px;font-size:8px}.chatted-message-body>header .chatted-identity-badges{max-width:100%}.chatted-participant-strip>a{display:flex!important;align-items:center;gap:4px;max-width:230px}.chatted-participant-strip .chatted-identity-badges{position:static!important}.chatted-search-result>span:nth-child(2){min-width:0}.chatted-search-result .chatted-identity-badges{display:flex;margin:4px 0}

.chatted-profile-page{max-width:1120px;margin:0 auto}.chatted-profile-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:25px;padding:28px;border:1px solid rgba(56,189,248,.15);border-radius:20px;background:linear-gradient(135deg,#0c1421,#080c13)}.chatted-profile-page-head h1{margin:8px 0 4px;color:#fff}.chatted-profile-page-head p{margin:0;color:#95a6ba}.chatted-profile-card-v2{overflow:hidden;border:1px solid #2a3850;border-radius:24px;background:#0a101a;color:#eef4fb;box-shadow:0 25px 65px rgba(0,0,0,.3)}.chatted-profile-hero{display:flex;align-items:center;gap:28px;padding:clamp(28px,5vw,54px);background:radial-gradient(circle at 90% 0%,rgba(56,189,248,.16),transparent 30rem),linear-gradient(135deg,#121b2a,#090e17)}.chatted-avatar-xxl{width:140px!important;height:140px!important;min-width:140px!important;border:4px solid #f4c84a!important;box-shadow:0 0 0 8px rgba(244,200,74,.1)}.chatted-profile-primary{min-width:0}.chatted-profile-name-line{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.chatted-profile-name-line h2{margin:0;color:#fff;font-size:clamp(30px,5vw,52px);line-height:1.05}.chatted-profile-username{display:block;margin-top:8px;color:#7dd3fc;font-size:20px}.chatted-account-designation{margin:12px 0 0;color:#b7c3d2}.chatted-profile-company{margin:6px 0 0;color:#f4c84a;font-weight:800}.chatted-profile-section{padding:26px clamp(28px,5vw,54px);border-top:1px solid #1d2a3d}.chatted-profile-section>span{display:block;margin-bottom:8px;color:#8294aa;font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.chatted-profile-section p{margin:0;color:#e6edf6;line-height:1.75;white-space:pre-wrap}.chatted-profile-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:0;border-top:1px solid #1d2a3d;background:#1d2a3d}.chatted-profile-details>div{padding:22px clamp(20px,3vw,34px);background:#0c131f}.chatted-profile-details dt{color:#8294aa;font-size:11px;font-weight:900;text-transform:uppercase}.chatted-profile-details dd{margin:7px 0 0;color:#f6f8fb;overflow-wrap:anywhere}.chatted-profile-details a{color:#7dd3fc}.chatted-profile-actions{display:flex;flex-wrap:wrap;gap:12px;padding:26px clamp(28px,5vw,54px);border-top:1px solid #1d2a3d}.chatted-profile-foot{display:flex;justify-content:space-between;gap:16px;padding:16px clamp(28px,5vw,54px);border-top:1px solid #1d2a3d;background:#070b12;color:#8190a3;font-size:12px}

.chatted-admin-page{display:grid;gap:24px}.chatted-admin-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:26px;padding:32px;border:1px solid rgba(244,200,74,.25);border-radius:22px;background:radial-gradient(circle at 90% 5%,rgba(56,189,248,.16),transparent 28rem),linear-gradient(135deg,#111827,#080c13)}.chatted-admin-hero h1{margin:12px 0 6px;color:#fff;font-size:clamp(30px,4vw,50px)}.chatted-admin-hero p{max-width:850px;margin:0;color:#aab8ca;line-height:1.6}.chatted-admin-scope{padding:10px 14px;border:1px solid #f4c84a;border-radius:999px;background:#19160a;color:#f4c84a;font-size:11px;font-weight:900;white-space:nowrap}.chatted-admin-scorecards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.chatted-admin-scorecards article{padding:19px;border:1px solid #28364b;border-radius:15px;background:#0d1420}.chatted-admin-scorecards span,.chatted-admin-scorecards small{display:block;color:#8293a8}.chatted-admin-scorecards strong{display:block;margin:5px 0;color:#fff;font-size:28px}.chatted-admin-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:8px;border:1px solid #28364b;border-radius:14px;background:#0b111b}.chatted-admin-tabs a{padding:10px 13px;border-radius:9px;color:#aab8c9;text-decoration:none;font-size:12px;font-weight:800}.chatted-admin-tabs a.active{background:#1c2b3e;color:#7dd3fc}.chatted-admin-search{display:flex;gap:10px}.chatted-admin-search input{flex:1;min-width:0;padding:13px 15px;border:1px solid #324158;border-radius:11px;background:#080d15;color:#fff}.chatted-admin-table-card,.chatted-admin-panel{overflow:hidden;border:1px solid #29384d;border-radius:18px;background:#0b111b}.chatted-admin-table-card>header,.chatted-admin-panel>header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:21px 24px;border-bottom:1px solid #233145;background:#101825}.chatted-admin-table-card>header h2,.chatted-admin-panel>header h2{margin:5px 0 0;color:#fff}.chatted-admin-panel>header p{margin:6px 0 0;color:#8fa0b5}.chatted-admin-table{width:100%;border-collapse:collapse;min-width:900px}.chatted-admin-table th,.chatted-admin-table td{padding:13px 15px;border-bottom:1px solid #1d2939;text-align:left;vertical-align:top}.chatted-admin-table th{position:sticky;top:0;background:#111a28;color:#8fa1b7;font-size:10px;letter-spacing:.1em;text-transform:uppercase}.chatted-admin-table td{color:#dce5ef;font-size:13px}.chatted-admin-table td small{display:block;margin-top:4px;color:#8191a5}.chatted-admin-table form{display:flex;align-items:center;gap:6px}.chatted-admin-table input,.chatted-admin-table select{max-width:170px;padding:7px;border:1px solid #33445b;border-radius:7px;background:#070c13;color:#fff}.chatted-admin-table pre{max-width:520px;max-height:240px;overflow:auto;white-space:pre-wrap;color:#c7d2e0}.chatted-admin-two-col{display:grid;grid-template-columns:1fr 1fr;gap:24px}.chatted-admin-form{display:grid;gap:14px;padding:22px}.chatted-admin-form label{display:grid;gap:6px;color:#cdd7e4;font-size:12px;font-weight:800}.chatted-admin-form input,.chatted-admin-form select,.chatted-admin-record-list input,.chatted-admin-record-list select{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #33445b;border-radius:9px;background:#070c13;color:#fff}.chatted-color-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.chatted-color-row input[type=color]{height:42px;padding:4px}.chatted-admin-record-list{display:grid;gap:1px;border-top:1px solid #233145;background:#233145}.chatted-admin-record-list article{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 20px;background:#0b111b}.chatted-admin-record-list article>div{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.chatted-admin-record-list strong,.chatted-admin-record-list small{display:block;width:100%}.chatted-admin-record-list small{color:#8293a8}.chatted-admin-record-list details{min-width:170px}.chatted-admin-record-list details form{display:grid;gap:8px;margin-top:9px}.chatted-admin-record-list summary{cursor:pointer;color:#7dd3fc}.chatted-admin-page .danger{background:#6d1d27;color:#fff;border-color:#a83a48}.chatted-admin-page .pagination{display:flex;justify-content:center;gap:18px;padding:16px}.chatted-admin-page .pagination a{color:#7dd3fc}

.chatted-landing-section{margin-top:clamp(46px,8vw,110px);padding:clamp(28px,5vw,64px);border:1px solid rgba(56,189,248,.17);border-radius:28px;background:radial-gradient(circle at 95% 0%,rgba(56,189,248,.15),transparent 32rem),linear-gradient(145deg,#0d1420,#070b11)}.chatted-landing-grid{display:grid;grid-template-columns:minmax(0,.86fr) minmax(460px,1.14fr);gap:clamp(30px,5vw,70px);align-items:center}.chatted-landing-copy h2{margin:15px 0;font-size:clamp(34px,4.4vw,60px);line-height:1.03;color:#fff}.chatted-landing-copy>p{font-size:18px;line-height:1.7;color:#aab8ca}.chatted-landing-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}.chatted-demo-window{overflow:hidden;border:1px solid #34445c;border-radius:20px;background:#09101a;box-shadow:0 30px 65px rgba(0,0,0,.32)}.chatted-demo-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 19px;border-bottom:1px solid #27364a;background:#111a28}.chatted-demo-head>div{display:flex;align-items:center;gap:12px}.chatted-demo-head strong{display:block;color:#fff}.chatted-demo-head small{display:block;color:#8ea0b5}.chatted-demo-members{display:flex}.chatted-demo-members span{display:grid;place-items:center;width:30px;height:30px;margin-left:-6px;border:2px solid #111a28;border-radius:50%;background:#24344a;color:#fff;font-size:10px;font-weight:900}.chatted-demo-feed{display:grid;gap:14px;padding:20px}.chatted-demo-message{display:grid;grid-template-columns:38px 1fr;gap:11px}.chatted-demo-avatar{display:grid;place-items:center;width:38px;height:38px;border:1px solid #3a4b63;border-radius:50%;background:#182438;color:#fff;font-weight:900}.chatted-demo-bubble{padding:13px 15px;border:1px solid #26364b;border-radius:5px 15px 15px 15px;background:#101824}.chatted-demo-bubble header{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.chatted-demo-bubble header strong{color:#fff}.chatted-demo-bubble time{margin-left:auto;color:#718197;font-size:10px}.chatted-demo-bubble p{margin:9px 0 0;color:#ccd7e4;line-height:1.55}.chatted-demo-reply,.chatted-demo-link{margin-top:10px;padding:9px 11px;border-left:3px solid #38bdf8;border-radius:8px;background:#0a111c;color:#9eb0c4;font-size:11px}.chatted-demo-link{display:block;border:1px solid #2d4059;border-left:3px solid #f4c84a;text-decoration:none}.chatted-demo-link strong{display:block;color:#f4c84a}.chatted-demo-link small{color:#8293a8}

@media(max-width:1100px){.chatted-onboarding-layout,.chatted-landing-grid{grid-template-columns:1fr}.chatted-onboarding-layout{min-height:auto}.chatted-onboarding-intro{padding:0}.chatted-admin-scorecards{grid-template-columns:repeat(3,1fr)}.chatted-admin-two-col{grid-template-columns:1fr}.chatted-rules-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.chatted-public-header,.chatted-public-footer{align-items:flex-start;flex-direction:column}.chatted-public-header nav{width:100%;justify-content:space-between}.chatted-public-main{width:min(100% - 22px,1440px);padding:30px 0}.chatted-onboarding-layout{gap:25px}.chatted-onboarding-intro h1,.chatted-setup-heading h1,.chatted-rules-page>header h1{font-size:36px}.chatted-access-compare,.chatted-trust-list,.chatted-setup-grid,.chatted-rules-grid,.chatted-profile-details{grid-template-columns:1fr}.chatted-onboarding-card{padding:22px;border-radius:18px}.chatted-setup-actions{grid-column:auto}.chatted-setup-actions>a:not(.button){margin-left:0}.chatted-profile-page-head,.chatted-profile-hero,.chatted-profile-foot,.chatted-admin-hero{align-items:flex-start;flex-direction:column}.chatted-profile-hero{gap:18px}.chatted-avatar-xxl{width:104px!important;height:104px!important;min-width:104px!important}.chatted-profile-details{background:#0c131f}.chatted-profile-details>div{border-top:1px solid #1d2a3d}.chatted-admin-scorecards{grid-template-columns:repeat(2,1fr)}.chatted-admin-tabs{overflow:auto;flex-wrap:nowrap}.chatted-admin-tabs a{white-space:nowrap}.chatted-admin-search{flex-wrap:wrap}.chatted-color-row{grid-template-columns:1fr 1fr 1fr}.chatted-admin-record-list article{align-items:flex-start;flex-direction:column}.chatted-demo-window{border-radius:14px}.chatted-demo-feed{padding:13px}.chatted-demo-message{grid-template-columns:32px 1fr}.chatted-demo-avatar{width:32px;height:32px}.chatted-demo-bubble header time{width:100%;margin-left:0}}
@media(max-width:440px){.chatted-admin-scorecards{grid-template-columns:1fr}.chatted-color-row{grid-template-columns:1fr}.chatted-onboarding-logo{font-size:36px}.chatted-public-header nav{gap:10px}.chatted-profile-name-line h2{font-size:30px}.chatted-landing-section{padding:20px}.chatted-demo-bubble{padding:11px}}

/* BRANDED 9.11.1 — identity boundaries, permission-scoped presence, and typing indicators */
.chatted-user-id,
.chatted-profile-admin-id code,
.chatted-profile-identity-admin > header > code {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: .2rem .55rem;
  border: 1px solid rgba(187,152,4,.55);
  border-radius: 999px;
  background: rgba(187,152,4,.1);
  color: #ffe598;
  font-weight: 800;
  white-space: nowrap;
}
.chatted-inline-link { display:block; margin-top:.35rem; font-size:.78rem; font-weight:800; color:#7dd3fc; }
.chatted-internal-badge {
  display:inline-flex; align-items:center; padding:.15rem .45rem; border:1px solid rgba(56,189,248,.55);
  border-radius:999px; background:rgba(14,116,144,.2); color:#bae6fd; font-size:.68rem; font-weight:900; letter-spacing:.04em;
}
.chatted-boundary-notice {
  display:flex; gap:.75rem; align-items:flex-start; margin:0 0 1rem; padding:.85rem 1rem;
  border:1px solid rgba(56,189,248,.35); border-radius:14px; background:rgba(8,47,73,.26); color:#d9f4ff;
}
.chatted-boundary-notice strong { color:#7dd3fc; white-space:nowrap; }
.chatted-boundary-notice span { color:#c7d5e3; line-height:1.45; }
.chatted-admin-form-separated { margin-top:1rem; padding-top:1rem; border-top:1px solid rgba(148,163,184,.2); }

.chatted-company-directory {
  margin:.75rem 0; border:1px solid rgba(56,189,248,.24); border-radius:14px; overflow:hidden;
  background:rgba(7,16,24,.52);
}
.chatted-company-directory > summary {
  display:flex; justify-content:space-between; gap:.75rem; align-items:center; cursor:pointer; list-style:none;
  padding:.75rem .85rem; color:#e8f7ff; font-size:.82rem; font-weight:900;
}
.chatted-company-directory > summary::-webkit-details-marker { display:none; }
.chatted-company-directory > summary small { color:#7dd3fc; font-size:.68rem; font-weight:800; }
.chatted-directory-list { max-height:18rem; overflow:auto; padding:0 .5rem .5rem; scrollbar-width:thin; }
.chatted-directory-person {
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.5rem; align-items:center; padding:.55rem;
  border-top:1px solid rgba(148,163,184,.12);
}
.chatted-directory-profile { min-width:0; display:flex; gap:.55rem; align-items:center; color:inherit; text-decoration:none; }
.chatted-directory-profile > span:last-child { min-width:0; }
.chatted-directory-profile strong { display:inline; color:#f8fafc; font-size:.78rem; }
.chatted-directory-profile small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#94a3b8; font-size:.67rem; }
.chatted-directory-person form { margin:0; }
.chatted-directory-person button { min-width:auto; padding:.38rem .6rem; }
.chatted-directory-empty { margin:.35rem; padding:.65rem; color:#94a3b8; font-size:.75rem; }

.chatted-profile-identity-admin {
  width:min(1180px,100%); margin:1.25rem auto 0; padding:1rem;
  border:1px solid rgba(187,152,4,.35); border-radius:20px; background:linear-gradient(145deg,rgba(12,18,30,.98),rgba(7,12,20,.98));
  box-shadow:0 20px 60px rgba(0,0,0,.25);
}
.chatted-profile-identity-admin > header { display:flex; justify-content:space-between; gap:1rem; align-items:flex-start; margin-bottom:1rem; }
.chatted-profile-identity-admin h2 { margin:.15rem 0; color:#fff; }
.chatted-profile-identity-admin h3 { margin:0; color:#fff; }
.chatted-profile-identity-admin p { margin:.25rem 0 0; color:#aebed0; }
.chatted-profile-admin-id { margin-top:.75rem !important; color:#9fb1c4 !important; font-size:.78rem; }

.chatted-admin-form select[data-admin-user-select] { max-width:100%; }
.chatted-admin-table td > small { display:block; margin-top:.25rem; }

@media (max-width: 820px) {
  .chatted-boundary-notice { flex-direction:column; gap:.25rem; }
  .chatted-profile-identity-admin > header { flex-direction:column; }
  .chatted-company-directory { margin-inline:.25rem; }
  .chatted-directory-list { max-height:15rem; }
}

/* BRANDED 9.11.1 — permission-scoped online presence and typing animation */
.chatted-avatar { position:relative; overflow:visible; }
.chatted-avatar > img { border-radius:inherit; }
.chatted-presence-dot {
  position:absolute;
  right:-3px;
  bottom:-3px;
  z-index:3;
  display:block;
  width:11px;
  height:11px;
  border:2px solid #0b1420;
  border-radius:999px;
  background:#ef4444;
  box-shadow:0 0 0 1px rgba(0,0,0,.35),0 0 8px rgba(239,68,68,.35);
}
.chatted-presence-dot.online { background:#22c55e; box-shadow:0 0 0 1px rgba(0,0,0,.35),0 0 10px rgba(34,197,94,.5); }
.chatted-presence-dot.offline { background:#ef4444; box-shadow:0 0 0 1px rgba(0,0,0,.35),0 0 8px rgba(239,68,68,.35); }
.chatted-presence-dot.inline {
  position:relative;
  inset:auto;
  display:inline-block;
  width:9px;
  height:9px;
  margin:0 4px 0 2px;
  border-width:1px;
  vertical-align:middle;
}
.chatted-presence-label { display:inline-flex; align-items:center; white-space:nowrap; }
.chatted-typing-indicator {
  min-height:35px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px clamp(16px,3vw,38px);
  border-top:1px solid rgba(56,189,248,.14);
  background:linear-gradient(90deg,rgba(56,189,248,.08),rgba(11,17,26,.96));
  color:#b9c9d8;
  font-size:11px;
  font-weight:800;
}
.chatted-typing-indicator[hidden] { display:none!important; }
.chatted-typing-copy { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.chatted-typing-dots { display:inline-flex; align-items:flex-end; gap:3px; height:13px; }
.chatted-typing-dots i {
  display:block;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--chat-cyan);
  animation:chattedTypingBounce 1.05s infinite ease-in-out;
}
.chatted-typing-dots i:nth-child(2) { animation-delay:.14s; }
.chatted-typing-dots i:nth-child(3) { animation-delay:.28s; }
@keyframes chattedTypingBounce {
  0%,60%,100% { transform:translateY(0); opacity:.4; }
  30% { transform:translateY(-5px); opacity:1; }
}
@media (prefers-reduced-motion:reduce) {
  .chatted-typing-dots i { animation:none; opacity:1; }
}


/* BRANDED 9.12.1 — rich link previews and privacy-scoped read receipts */
.chatted-link-cards { grid-template-columns:minmax(0,1fr); }
.chatted-link-preview {
  display:grid!important;
  grid-template-columns:minmax(0,1fr);
  gap:0;
  padding:0!important;
  overflow:hidden;
  border:1px solid #2a4055!important;
  border-radius:12px!important;
  background:linear-gradient(145deg,#0a1520,#0d1a27)!important;
  color:#e8f3fa!important;
  text-decoration:none!important;
  box-shadow:0 10px 26px rgba(0,0,0,.16);
  transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.chatted-link-preview:hover,.chatted-link-preview:focus-visible {
  border-color:#38bdf8!important;
  transform:translateY(-1px);
  box-shadow:0 13px 30px rgba(0,0,0,.22);
  outline:none;
}
.chatted-link-preview.internal { border-left:3px solid #bb9804!important; }
.chatted-link-preview-image { display:block; width:100%; max-height:240px; overflow:hidden; background:#071019; }
.chatted-link-preview-image img { display:block; width:100%; height:100%; max-height:240px; object-fit:cover; }
.chatted-link-preview-copy { display:grid; min-width:0; gap:4px; padding:10px 12px; }
.chatted-link-preview-copy b { color:#38bdf8; font-size:8px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
.chatted-link-preview.internal .chatted-link-preview-copy b { color:#f4c84a; }
.chatted-link-preview-copy strong { color:#f8fbfd; font-size:12px; line-height:1.35; white-space:normal; overflow-wrap:anywhere; }
.chatted-link-preview-copy p { margin:0; color:#b5c5d4; font-size:10px; line-height:1.45; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.chatted-link-preview-copy small { color:#7f93a6; font-size:9px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.chatted-read-receipt {
  display:inline-flex;
  align-items:center;
  gap:4px;
  margin-left:auto;
  color:#7dd3fc;
  font-size:9px;
  font-weight:800;
  white-space:nowrap;
}
.chatted-read-receipt > span:first-child { letter-spacing:-3px; padding-right:3px; }
.chatted-read-toggle,.chatted-group-receipts {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:8px 0 0;
  padding:7px 9px;
  border:1px solid rgba(56,189,248,.2);
  border-radius:10px;
  background:rgba(7,16,24,.48);
  color:#9fb3c5;
  font-size:10px;
}
.chatted-read-toggle form { margin:0; }
.chatted-read-toggle button { padding:4px 8px; min-width:auto; font-size:9px; }
.chatted-group-receipts strong { color:#7dd3fc; }
@media (min-width:620px) {
  .chatted-link-preview:has(.chatted-link-preview-image) { grid-template-columns:150px minmax(0,1fr); }
  .chatted-link-preview-image { height:100%; max-height:150px; }
  .chatted-link-preview-image img { min-height:100%; max-height:150px; }
}
@media (max-width:620px) {
  .chatted-read-toggle,.chatted-group-receipts { align-items:flex-start; flex-direction:column; }
}

/* C!HATTED! 9.12.1 illustrated rules documentation */
.chatted-rules-document-v9121{color:var(--text)}
.chatted-rules-hero-v9121{background:radial-gradient(circle at 88% 14%,rgba(56,189,248,.16),transparent 23rem),radial-gradient(circle at 8% 100%,rgba(187,152,4,.13),transparent 22rem),linear-gradient(145deg,#151d29,#090e16)}
.chatted-rules-summary-v9121{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid var(--line);border-radius:17px;background:var(--line)}
.chatted-rules-summary-v9121>div{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:5px 9px;padding:14px;background:#101722}
.chatted-rules-summary-v9121>div>small{grid-column:1/-1;color:#8fa0b4}.chatted-rules-summary-v9121 strong{color:#f2f5f9}
.chatted-rule-demo-v9121,.chatted-boundary-map-v9121,.chatted-message-timeline-v9121,.chatted-receipt-demo-v9121{display:grid;gap:10px;margin-top:16px;padding:14px;border:1px solid #29364a;border-radius:14px;background:#080e17}
.chatted-profile-mini-v9121,.chatted-directory-row-v9121,.chatted-identity-example-v9121,.chatted-presence-example-v9121{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid #263349;border-radius:11px;background:#111827}
.chatted-profile-mini-v9121>div{display:grid;gap:2px}.chatted-profile-mini-v9121 small,.chatted-directory-row-v9121 small{color:#8fa0b4}
.chatted-privacy-switches-v9121{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.chatted-privacy-switches-v9121 span{display:grid;gap:4px;padding:10px;border:1px solid #263349;border-radius:9px;color:#9dacbf}.chatted-privacy-switches-v9121 b{color:#f4c84a}
.chatted-directory-row-v9121{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto}.chatted-directory-row-v9121 .demo-button-v788{margin:0}.chatted-demo-boundary-v9121{margin:0;padding:10px;border-left:3px solid #f87171;color:#fda4af;background:rgba(248,113,113,.07)}
.chatted-boundary-map-v9121{grid-template-columns:repeat(3,minmax(0,1fr))}.chatted-boundary-map-v9121>div{display:grid;gap:6px;padding:14px;border-radius:11px}.chatted-boundary-map-v9121 .allowed{border:1px solid rgba(52,211,153,.35);background:rgba(52,211,153,.06)}.chatted-boundary-map-v9121 .blocked{border:1px solid rgba(248,113,113,.35);background:rgba(248,113,113,.06)}.chatted-boundary-map-v9121 span{color:#9dacbf;line-height:1.5}
.chatted-identity-example-v9121{flex-wrap:wrap}.chatted-identity-example-v9121 .chatted-verification{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#38bdf8;color:#071019;font-weight:950}.chatted-identity-example-v9121 .chatted-flair{display:inline-flex;padding:4px 8px;border:1px solid var(--flair-border);border-radius:999px;background:var(--flair-bg);color:var(--flair-text);font-size:10px;font-weight:900}.external-pill{display:inline-flex;padding:4px 7px;border:1px solid rgba(251,146,60,.48);border-radius:999px;background:rgba(251,146,60,.08);color:#fdba74;font-size:9px;font-weight:900}
.chatted-message-timeline-v9121{grid-template-columns:1fr 1fr}.chatted-message-timeline-v9121>div{display:grid;gap:5px;padding:16px;border-radius:11px}.chatted-message-timeline-v9121 .open{border:1px solid rgba(56,189,248,.4);background:rgba(56,189,248,.07)}.chatted-message-timeline-v9121 .locked{border:1px solid rgba(187,152,4,.45);background:rgba(187,152,4,.08)}.chatted-message-timeline-v9121 span{color:#aebdd0}
.chatted-file-demo-v9121{display:grid;grid-template-columns:210px minmax(0,1fr);gap:16px;align-items:center;margin-top:16px;padding:15px;border:1px solid #29364a;border-radius:14px;background:#080e17}.chatted-file-preview-v9121{display:grid;place-items:center;align-content:center;gap:6px;min-height:135px;border:1px solid rgba(56,189,248,.38);border-radius:12px;background:radial-gradient(circle,rgba(56,189,248,.19),transparent 65%),#0b1422}.chatted-file-preview-v9121>span{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#38bdf8;color:#071019;font-weight:950}.chatted-file-preview-v9121 small{color:#8fa0b4}.chatted-file-demo-v9121 p{color:#aab8ca}
.chatted-rule-link-card-v9121{max-width:680px;margin-top:16px}.chatted-rule-link-card-v9121 .chatted-link-card-body{display:grid;gap:7px;padding:17px}.chatted-rule-link-card-v9121 strong{font-size:17px}.chatted-rule-link-card-v9121 p{margin:0;color:#aab8ca}.chatted-rule-link-card-v9121 span{color:#7dd3fc;font-size:11px}
.chatted-receipt-demo-v9121{grid-template-columns:1fr 1fr}.chatted-receipt-demo-v9121>div{display:grid;gap:9px;padding:14px;border:1px solid #29364a;border-radius:11px;background:#101722}.chatted-receipt-demo-v9121 label{color:#9dacbf;font-size:12px}.chatted-receipt-label{color:#7dd3fc;font-size:11px;font-weight:850}
.chatted-rules-document-v9121 .demo-table-v788 table{width:100%}
@media(max-width:760px){.chatted-rules-summary-v9121,.chatted-privacy-switches-v9121,.chatted-boundary-map-v9121,.chatted-message-timeline-v9121,.chatted-receipt-demo-v9121,.chatted-file-demo-v9121{grid-template-columns:1fr}.chatted-directory-row-v9121{grid-template-columns:auto minmax(0,1fr) auto}.chatted-directory-row-v9121 small{grid-column:2}.chatted-file-preview-v9121{min-height:120px}}

/* C!HATTED! 9.15.2 — standalone workspace, bounded avatars, reactions, PWA and mobile drawer */
:root{--chatted-safe-top:env(safe-area-inset-top,0px);--chatted-safe-right:env(safe-area-inset-right,0px);--chatted-safe-bottom:env(safe-area-inset-bottom,0px);--chatted-safe-left:env(safe-area-inset-left,0px)}
html:has(.chatted-standalone-body),body.chatted-standalone-body{width:100%;height:100%;min-height:100%;margin:0;overflow:hidden;background:#071019}
.chatted-standalone-body{color:#edf5fb;font-family:Inter,"Segoe UI",Arial,sans-serif;overscroll-behavior:none}
.chatted-standalone-shell{position:relative;width:100%;height:100dvh;min-height:0;margin:0;padding:0;overflow:hidden;background:#071019}
.chatted-standalone-flashes{position:fixed;z-index:1000;top:calc(12px + var(--chatted-safe-top));left:50%;width:min(620px,calc(100% - 28px));transform:translateX(-50%);pointer-events:none}
.chatted-standalone-flashes .flash{pointer-events:auto;box-shadow:0 14px 48px rgba(0,0,0,.42)}
.chatted-skip-link{position:fixed;z-index:2000;left:12px;top:-80px;padding:10px 14px;border-radius:8px;background:#38bdf8;color:#071019;font-weight:900}.chatted-skip-link:focus{top:calc(10px + var(--chatted-safe-top))}
.chatted-app{position:relative;width:100%;height:100dvh;min-height:0;grid-template-columns:minmax(300px,370px) minmax(0,1fr);border:0;overflow:hidden}
.chatted-sidebar,.chatted-main{min-height:0}
.chatted-sidebar{padding-top:var(--chatted-safe-top);padding-left:var(--chatted-safe-left);padding-bottom:var(--chatted-safe-bottom)}
.chatted-main{padding-top:var(--chatted-safe-top);padding-right:var(--chatted-safe-right);padding-bottom:var(--chatted-safe-bottom)}
.chatted-product-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.chatted-product-head>div{min-width:0}
.chatted-mobile-close,.chatted-mobile-chats{display:none}
.chatted-sidebar-tools{display:grid;gap:5px;padding:10px 14px;border-top:1px solid var(--chat-line);background:#091420}.chatted-sidebar-tools a,.chatted-sidebar-tools button{display:flex;align-items:center;gap:8px;min-height:34px;padding:7px 9px;border:1px solid transparent;border-radius:9px;background:transparent;color:#c8d7e4;text-decoration:none;font-size:11px;text-align:left}.chatted-sidebar-tools a:hover,.chatted-sidebar-tools button:hover{border-color:#29445d;background:#102033;color:#fff}
.chatted-install-button{cursor:pointer}.chatted-install-button span{color:#38bdf8;font-weight:900}
.chatted-standalone-logout{margin:0;padding:10px 14px calc(10px + var(--chatted-safe-bottom));border-top:1px solid var(--chat-line);background:#071019}.chatted-standalone-logout button{width:100%;min-height:34px;padding:7px 10px;border:1px solid #2b4055;border-radius:9px;background:#0d1b29;color:#d8e5ee;font-size:11px;font-weight:800;cursor:pointer}

/* Avatar media is clipped independently so presence indicators may remain outside the frame. */
.chatted-avatar{--avatar-radius:12px;position:relative!important;overflow:visible!important;border-radius:var(--avatar-radius)!important;isolation:isolate}
.chatted-avatar-lg{--avatar-radius:15px}.chatted-avatar-xl{--avatar-radius:28px}.chatted-avatar-xs{--avatar-radius:9px}.chatted-avatar-xxl{--avatar-radius:32px}
.chatted-avatar>img{position:absolute!important;z-index:0;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;max-width:100%!important;max-height:100%!important;margin:0!important;padding:0!important;object-fit:cover!important;object-position:center!important;border-radius:var(--avatar-radius)!important;clip-path:inset(0 round var(--avatar-radius));transform:none!important}
.chatted-avatar>span:not(.chatted-presence-dot){position:relative;z-index:1}
.chatted-presence-dot{z-index:4}

.chatted-main[data-loading="true"]:after{content:'Loading conversation…';position:absolute;z-index:20;inset:0;display:grid;place-items:center;background:rgba(7,16,25,.72);backdrop-filter:blur(4px);color:#d9f4ff;font-size:13px;font-weight:900;letter-spacing:.04em}
.chatted-room-head{padding-top:calc(14px + var(--chatted-safe-top))}
.chatted-message-body>footer{flex-wrap:wrap}
.chatted-reactions{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-height:25px}
.chatted-reaction-pill,.chatted-reaction-add,.chatted-reaction-picker button{display:inline-flex!important;align-items:center;justify-content:center;gap:4px;min-width:29px;min-height:25px;margin:0!important;padding:3px 7px!important;border:1px solid #2a4055!important;border-radius:999px!important;background:#0a1622!important;color:#dceaf4!important;font-size:12px!important;line-height:1!important;cursor:pointer}
.chatted-reaction-pill b{font-size:9px;color:#9fb5c7}.chatted-reaction-pill.mine{border-color:#38bdf8!important;background:rgba(56,189,248,.13)!important;color:#fff!important}.chatted-reaction-add{color:#7dd3fc!important;font-weight:900}
.chatted-reaction-picker{position:absolute;z-index:30;left:0;bottom:calc(100% + 8px);display:flex;gap:4px;padding:7px;border:1px solid #34506a;border-radius:13px;background:#101c2a;box-shadow:0 16px 42px rgba(0,0,0,.5)}.chatted-reaction-picker[hidden]{display:none!important}.chatted-reaction-picker button{padding:5px!important;font-size:16px!important}.chatted-reaction-picker button:hover{border-color:#38bdf8!important;transform:translateY(-1px)}
.chatted-read-receipt{margin-left:0}

/* Rebuilt standalone signup and login pages. */
html:has(.chatted-entry-body),body.chatted-entry-body{min-height:100%;margin:0;background:#05080d}
.chatted-entry-body{display:flex;min-height:100dvh;flex-direction:column;overflow-x:hidden;background:radial-gradient(circle at 8% 0,rgba(56,189,248,.15),transparent 34rem),radial-gradient(circle at 95% 10%,rgba(187,152,4,.11),transparent 34rem),#05080d;color:#f3f7fb;font-family:Inter,"Segoe UI",Arial,sans-serif}
.chatted-entry-header{position:sticky;z-index:40;top:0;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:74px;padding:calc(11px + var(--chatted-safe-top)) max(18px,calc(4vw + var(--chatted-safe-right))) 11px max(18px,calc(4vw + var(--chatted-safe-left)));border-bottom:1px solid rgba(255,255,255,.09);background:rgba(5,8,13,.92);backdrop-filter:blur(18px)}
.chatted-entry-brand{display:grid;grid-template-columns:auto auto;align-items:center;gap:0 6px;color:#fff;text-decoration:none}.chatted-entry-brand>span{display:grid;place-items:center;padding:5px 7px;border-radius:8px;background:#38bdf8;color:#071019;font-size:18px;font-weight:950}.chatted-entry-brand>strong{font-size:21px;letter-spacing:.04em}.chatted-entry-brand>small{grid-column:1/-1;margin-top:3px;color:#8fa4b8;font-size:9px;letter-spacing:.12em;text-transform:uppercase}
.chatted-entry-header nav,.chatted-entry-footer nav{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.chatted-entry-header nav a,.chatted-entry-footer a{padding:7px 9px;border-radius:8px;color:#c9d7e4;text-decoration:none;font-size:12px}.chatted-entry-header nav a:hover,.chatted-entry-footer a:hover{background:#101c28;color:#fff}.chatted-entry-header .chatted-entry-action{border:1px solid #38bdf8;color:#dff7ff}
.chatted-entry-main{flex:1;width:min(1420px,calc(100% - 32px));margin:0 auto;padding:clamp(28px,5vw,72px) 0}
.chatted-entry-flashes{width:min(760px,100%);margin:0 auto 18px}
.chatted-entry-layout{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(390px,.78fr);gap:clamp(30px,6vw,92px);align-items:center;width:min(1280px,100%);min-height:calc(100dvh - 210px);margin:0 auto}
.chatted-entry-story{min-width:0;padding:clamp(4px,2vw,26px)}.chatted-entry-kicker{display:block;margin-bottom:16px;color:#7dd3fc;font-size:10px;font-weight:900;letter-spacing:.17em}.chatted-entry-wordmark{display:flex;align-items:center;gap:8px;font-size:clamp(38px,6vw,72px);font-weight:950;letter-spacing:-.05em}.chatted-entry-wordmark span{display:grid;place-items:center;padding:.12em .18em;border-radius:.18em;background:#38bdf8;color:#071019}.chatted-entry-story h1{max-width:820px;margin:22px 0 16px;color:#fff;font-size:clamp(34px,4.5vw,64px);line-height:1.02;letter-spacing:-.04em}.chatted-entry-story>p{max-width:760px;margin:0;color:#aebfd0;font-size:clamp(15px,1.45vw,19px);line-height:1.7}
.chatted-entry-benefits{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:26px}.chatted-entry-benefits.compact{grid-template-columns:1fr}.chatted-entry-benefits>div{display:grid;gap:4px;padding:14px 15px;border:1px solid rgba(56,189,248,.15);border-radius:13px;background:rgba(11,19,30,.72)}.chatted-entry-benefits b{color:#f4c84a;font-size:12px}.chatted-entry-benefits span{color:#a7b8c9;font-size:11px;line-height:1.5}.chatted-inline-brand{white-space:nowrap;color:#fff}.chatted-inline-brand i{display:inline-grid;place-items:center;margin-right:2px;padding:2px 4px;border-radius:4px;background:#bb9804;color:#080b11;font-style:normal;font-weight:950}
.chatted-entry-card{display:grid;gap:18px;min-width:0;width:100%;box-sizing:border-box;padding:clamp(24px,4vw,44px);border:1px solid rgba(56,189,248,.22);border-radius:24px;background:linear-gradient(150deg,rgba(17,27,41,.98),rgba(7,12,20,.99));box-shadow:0 30px 90px rgba(0,0,0,.44)}.chatted-entry-card header>span{color:#7dd3fc;font-size:9px;font-weight:900;letter-spacing:.15em}.chatted-entry-card h2{margin:6px 0;color:#fff;font-size:30px}.chatted-entry-card header p{margin:0;color:#94a7ba;line-height:1.5}.chatted-entry-fields{display:grid;gap:15px}.chatted-entry-fields.two-column{grid-template-columns:1fr 1fr}.chatted-entry-fields .wide{grid-column:1/-1}.chatted-entry-card label{display:grid;min-width:0;gap:7px;color:#edf5fb;font-size:12px;font-weight:800}.chatted-entry-card label small{color:#8396aa;font-size:10px;font-weight:400;line-height:1.4}.chatted-entry-card input{width:100%;min-width:0;box-sizing:border-box;padding:13px 14px;border:1px solid #33475d;border-radius:11px;background:#07111b;color:#fff;font:inherit;outline:0}.chatted-entry-card input:focus{border-color:#38bdf8;box-shadow:0 0 0 3px rgba(56,189,248,.13)}.chatted-entry-username{display:flex;min-width:0;overflow:hidden;border:1px solid #33475d;border-radius:11px;background:#07111b}.chatted-entry-username:focus-within{border-color:#38bdf8;box-shadow:0 0 0 3px rgba(56,189,248,.13)}.chatted-entry-username b{display:grid;place-items:center;flex:0 0 44px;background:#102033;color:#7dd3fc}.chatted-entry-username input{border:0;border-radius:0;box-shadow:none!important}.chatted-entry-privacy{padding:14px 15px;border:1px solid rgba(187,152,4,.32);border-radius:12px;background:rgba(187,152,4,.07)}.chatted-entry-privacy strong{color:#f4c84a}.chatted-entry-privacy p{margin:4px 0 0;color:#aab9c8;font-size:11px;line-height:1.5}.chatted-entry-submit{min-height:48px;border:0;border-radius:11px;background:linear-gradient(135deg,#38bdf8,#199bd0);color:#06101a;font-weight:950;cursor:pointer}.chatted-entry-submit:hover{filter:brightness(1.08)}.chatted-entry-switch,.chatted-entry-legal{margin:0;text-align:center;color:#92a4b7;font-size:11px;line-height:1.55}.chatted-entry-switch a,.chatted-entry-legal a{color:#7dd3fc}.chatted-login-card{max-width:520px;justify-self:end}
.chatted-entry-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px max(18px,4vw) calc(18px + var(--chatted-safe-bottom));border-top:1px solid rgba(255,255,255,.08);background:#03060a;color:#7f91a5;font-size:11px}

@media(max-width:980px){
  .chatted-entry-layout{grid-template-columns:1fr;gap:24px;min-height:auto}.chatted-entry-story{padding:0}.chatted-entry-story h1{font-size:clamp(34px,8vw,52px)}.chatted-login-card{max-width:none;justify-self:stretch}.chatted-entry-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:840px){
  .chatted-app{display:block;height:100dvh;min-height:0}
  .chatted-sidebar,.chatted-main{position:absolute;inset:0;width:100%;height:100%;transition:transform .22s ease,opacity .22s ease}
  .chatted-sidebar{z-index:20;transform:translateX(0);border-right:0}.chatted-main{z-index:10;transform:translateX(100%);opacity:.75}
  .chatted-app.is-room-open .chatted-sidebar{transform:translateX(-100%);opacity:.8}.chatted-app.is-room-open .chatted-main{transform:translateX(0);opacity:1}
  .chatted-product-head p,.chatted-self-card>div,.chatted-search label,.chatted-create-group,.chatted-conversation-copy,.chatted-senior-tools span{display:initial}
  .chatted-product-logo{font-size:24px}.chatted-product-logo span{font-size:inherit}.chatted-self-card{grid-template-columns:auto minmax(0,1fr) auto;justify-items:stretch}.chatted-icon-button{display:grid!important}.chatted-search{padding:13px 15px}.chatted-search input{font-size:inherit;padding:11px 12px}.chatted-search input::placeholder{font-size:inherit}.chatted-search-results{position:absolute;left:15px;right:15px;top:77px}.chatted-conversation-item{position:relative;grid-template-columns:auto minmax(0,1fr) auto;justify-items:stretch;padding:10px}.chatted-conversation-state{position:static;margin:0}.chatted-senior-tools{padding:12px 16px}.chatted-senior-tools a{font-size:11px}.chatted-senior-tools a:before{content:none}
  .chatted-mobile-close{display:none}.chatted-mobile-chats{display:inline-flex;align-items:center;gap:4px;min-width:auto;padding:6px 8px;border:1px solid #2b465e;border-radius:9px;background:#0c1a28;color:#dff6ff;font-size:11px;font-weight:900;cursor:pointer}.chatted-mobile-chats span:first-child{font-size:20px;line-height:.7}.chatted-mobile-chats.welcome{margin-bottom:20px}
  .chatted-room-head{grid-template-columns:auto minmax(0,1fr);align-items:center;padding:calc(8px + var(--chatted-safe-top)) 10px 8px}.chatted-room-identity{min-width:0}.chatted-room-actions{display:none}.chatted-participant-strip{grid-column:1/-1;padding-left:0;overflow-x:auto}.chatted-room-identity h1{font-size:15px}.chatted-room-identity p{max-width:calc(100vw - 120px)}
  .chatted-message-feed{padding:12px 8px}.chatted-message-body{max-width:calc(100vw - 72px)}.chatted-composer{padding:8px max(8px,var(--chatted-safe-right)) calc(8px + var(--chatted-safe-bottom)) max(8px,var(--chatted-safe-left))}.chatted-report-list{display:none}
}
@media(max-width:620px){
  .chatted-entry-header{align-items:flex-start;flex-direction:column;gap:10px}.chatted-entry-header nav{width:100%;justify-content:space-between}.chatted-entry-main{width:calc(100% - 20px);padding:22px 0}.chatted-entry-layout{gap:20px}.chatted-entry-wordmark{font-size:38px}.chatted-entry-story h1{margin-top:17px;font-size:34px}.chatted-entry-story>p{font-size:14px}.chatted-entry-benefits,.chatted-entry-fields.two-column{grid-template-columns:1fr}.chatted-entry-fields .wide{grid-column:auto}.chatted-entry-benefits>div:nth-child(n+4){display:none}.chatted-entry-card{padding:20px;border-radius:17px}.chatted-entry-card h2{font-size:26px}.chatted-entry-footer{align-items:flex-start;flex-direction:column}.chatted-message>.chatted-avatar{width:29px;height:29px;--avatar-radius:9px}.chatted-message-body{max-width:calc(100vw - 64px);padding:8px}.chatted-reactions{width:100%}.chatted-reaction-picker{position:fixed;left:50%;bottom:calc(76px + var(--chatted-safe-bottom));transform:translateX(-50%);max-width:calc(100vw - 24px)}
}
@media(prefers-reduced-motion:reduce){.chatted-sidebar,.chatted-main{transition:none}.chatted-reaction-picker button:hover{transform:none}}


/* C!HATTED! 9.15.2 mobile drawer and internal navigation corrections. */
.chatted-internal-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:calc(8px + var(--chatted-safe-top)) max(12px,var(--chatted-safe-right)) 8px max(12px,var(--chatted-safe-left));border-bottom:1px solid var(--chat-line);background:#071019;color:#fff}
.chatted-internal-topbar a{color:#dff6ff;text-decoration:none;font-weight:850}.chatted-internal-topbar .chatted-back-link{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #2b465e;border-radius:9px;background:#0c1a28}.chatted-internal-topbar form{margin:0}.chatted-internal-topbar button{padding:7px 10px;border:1px solid #2b4055;border-radius:9px;background:#0d1b29;color:#d8e5ee;font-weight:800}
.chatted-internal-page{box-sizing:border-box;width:min(1500px,calc(100% - 24px));margin:14px auto calc(28px + var(--chatted-safe-bottom));min-width:0}
.chatted-standalone-shell.chatted-internal-page{height:calc(100dvh - 58px - var(--chatted-safe-top));max-height:calc(100dvh - 58px - var(--chatted-safe-top));overflow:auto!important}
@media(max-width:840px){
  html:has(.chatted-standalone-body),body.chatted-standalone-body,.chatted-standalone-shell,.chatted-app{height:100dvh!important;min-height:100svh!important;max-height:100dvh!important}
  .chatted-sidebar,.chatted-main{inset:0!important;top:0!important;bottom:0!important;height:100dvh!important;max-height:100dvh!important}
  .chatted-sidebar{overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding-top:max(var(--chatted-safe-top),0px)!important;padding-bottom:max(var(--chatted-safe-bottom),0px)!important}
  .chatted-conversation-list{flex:0 0 auto!important;overflow:visible!important;min-height:0!important}
  .chatted-sidebar-tools,.chatted-senior-tools,.chatted-standalone-logout{flex:0 0 auto}
  .chatted-product-head{padding-top:14px!important}
  .chatted-internal-topbar{position:sticky;top:0;z-index:100}.chatted-internal-page{width:calc(100% - 16px);margin-top:8px}
}


/* C!HATTED! 9.15.2 — private per-user themes and collapsed account controls. */
.chatted-app{background:var(--chat-theme-bg,#071019);--chat-line:var(--chat-theme-line,#243447);--chat-muted:var(--chat-theme-muted,#93a4b8)}
.chatted-sidebar{background:linear-gradient(180deg,var(--chat-theme-sidebar,#0a1420),var(--chat-theme-bg,#071019));border-color:var(--chat-theme-line,#243447)}
.chatted-main{background:radial-gradient(circle at 85% 0,color-mix(in srgb,var(--chat-cyan) 8%,transparent),transparent 32%),var(--chat-theme-main,#0b111a)}
.chatted-product-logo span,.chatted-welcome-logo span,.chatted-conversation-state i{background:var(--chat-cyan)!important;color:var(--chat-accent-text,#071019)!important}
.chatted-message-body{background:var(--chat-theme-incoming,#121e2b);border-color:var(--chat-theme-line,#26384b)}
.chatted-message.mine .chatted-message-body{background:linear-gradient(135deg,color-mix(in srgb,var(--chat-theme-outgoing,#12364a) 88%,white 12%),var(--chat-theme-outgoing,#12364a));border-color:color-mix(in srgb,var(--chat-theme-outgoing,#12364a) 70%,white 30%);color:var(--chat-theme-outgoing-text,#fff)}
.chatted-message.mine .chatted-message-text,.chatted-message.mine .chatted-message-body>header strong{color:var(--chat-theme-outgoing-text,#fff)}
.chatted-conversation-item.active{background:linear-gradient(90deg,color-mix(in srgb,var(--chat-cyan) 18%,transparent),color-mix(in srgb,var(--chat-theme-outgoing,#12364a) 14%,transparent));border-color:color-mix(in srgb,var(--chat-cyan) 42%,transparent)}
.chatted-composer textarea,.chatted-search input,.chatted-create-group input,.chatted-create-group textarea{border-color:var(--chat-theme-line,#243447);background:color-mix(in srgb,var(--chat-theme-main,#0b111a) 84%,black 16%)}

.chatted-control-drawer{flex:0 0 auto;border-top:1px solid var(--chat-theme-line,var(--chat-line));background:color-mix(in srgb,var(--chat-theme-sidebar,#0a1420) 94%,black 6%)}
.chatted-control-drawer>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 15px;cursor:pointer;list-style:none;color:#e7f0f7;font-size:11px;font-weight:900}
.chatted-control-drawer>summary::-webkit-details-marker{display:none}.chatted-control-drawer>summary:after{content:'＋';color:var(--chat-cyan);font-size:16px}.chatted-control-drawer[open]>summary:after{content:'−'}
.chatted-control-drawer>summary small{color:var(--chat-muted);font-size:9px;font-weight:700}.chatted-control-drawer-body{display:grid;max-height:min(55dvh,560px);overflow:auto;overscroll-behavior:contain;border-top:1px solid var(--chat-theme-line,var(--chat-line))}
.chatted-control-drawer .chatted-sidebar-tools,.chatted-control-drawer .chatted-senior-tools{border-top:1px solid color-mix(in srgb,var(--chat-theme-line,#243447) 78%,transparent);background:transparent}
.chatted-theme-form{display:grid;gap:9px;padding:13px 14px;background:color-mix(in srgb,var(--chat-theme-main,#0b111a) 86%,black 14%)}
.chatted-theme-form header{display:grid;gap:2px}.chatted-theme-form header strong{font-size:11px;color:#fff}.chatted-theme-form header small,.chatted-theme-form>small{font-size:9px;line-height:1.4;color:var(--chat-muted)}
.chatted-theme-form label{display:grid;gap:4px;color:#c9d8e3;font-size:10px;font-weight:800}.chatted-theme-form select{width:100%;min-height:34px;padding:6px 8px;border:1px solid var(--chat-theme-line,#243447);border-radius:8px;background:var(--chat-theme-main,#0b111a);color:#fff}
.chatted-theme-colors{display:grid;grid-template-columns:1fr 1fr;gap:9px}.chatted-theme-colors input[type=color]{width:100%;height:36px;margin-top:4px;padding:2px;border:1px solid var(--chat-theme-line,#243447);border-radius:8px;background:transparent;cursor:pointer}
.chatted-theme-preview{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:9px;border:1px solid var(--chat-theme-line,#243447);border-radius:10px;background:var(--chat-theme-main,#0b111a)}
.chatted-theme-preview span,.chatted-theme-preview strong{display:block;padding:8px 9px;border-radius:9px;font-size:10px;line-height:1.3}.chatted-theme-preview span{background:var(--chat-theme-incoming,#121e2b);color:#edf5fb}.chatted-theme-preview strong{background:var(--chat-theme-outgoing,#12364a);color:var(--chat-theme-outgoing-text,#fff);text-align:right}
.chatted-theme-form button{min-height:34px;border:1px solid color-mix(in srgb,var(--chat-cyan) 60%,white 10%);border-radius:8px;background:var(--chat-cyan);color:var(--chat-accent-text,#071019);font-size:10px;font-weight:950;cursor:pointer}
.chatted-theme-settings{align-content:start}.chatted-theme-private-note{margin:0;color:#65758a;font-size:12px;line-height:1.5}.chatted-settings-page .chatted-theme-preview,.chatted-setup-public .chatted-theme-preview{background:#0b111a}.chatted-settings-page .chatted-theme-colors label,.chatted-setup-public .chatted-theme-colors label{min-width:0}
@media(min-width:901px){.chatted-settings-grid .chatted-theme-settings{grid-column:1/-1}.chatted-settings-grid .chatted-theme-settings .chatted-theme-colors{max-width:520px}}
@media(max-width:900px){.chatted-control-drawer-body{max-height:none;overflow:visible}.chatted-control-drawer>summary{position:sticky;top:0;z-index:2;background:var(--chat-theme-sidebar,#0a1420)}.chatted-theme-colors{grid-template-columns:1fr 1fr}}
@media(max-width:420px){.chatted-theme-colors{grid-template-columns:1fr}.chatted-control-drawer>summary{align-items:flex-start;flex-direction:column}.chatted-control-drawer>summary:after{position:absolute;right:15px}}

/* C!HATTED! 9.15.5 — true-top viewport shell, separate chat scrolling, install controls, independent colors, and bottom-sheet controls. */
html:has(.chatted-standalone-body),body.chatted-standalone-body,
html:has(.chatted-entry-body),body.chatted-entry-body{margin:0!important;padding:0!important;inset:0!important;max-width:none!important}
body.chatted-standalone-body{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;min-height:100dvh!important;overflow:hidden!important}
.chatted-standalone-shell{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;margin:0!important;padding:0!important}
.chatted-app{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;border:0!important;margin:0!important}
.chatted-sidebar{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;min-height:0!important;height:100%!important;padding:0!important;overflow:hidden!important}
.chatted-main{height:100%!important;min-height:0!important;padding:0!important;overflow:hidden!important}
.chatted-sidebar-fixed{position:relative;z-index:4;min-width:0;background:var(--chat-theme-sidebar,#0a1420);border-bottom:1px solid var(--chat-theme-line,#243447)}
.chatted-product-head{min-height:58px;padding:calc(10px + var(--chatted-safe-top)) max(14px,var(--chatted-safe-right)) 10px max(14px,var(--chatted-safe-left));align-items:center!important;border-bottom:1px solid var(--chat-theme-line,#243447)}
.chatted-product-head .chatted-product-logo{min-width:0}
.chatted-product-head .chatted-product-logo span{font-size:.8em}
.chatted-sidebar-install{display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:6px 9px;border:1px solid color-mix(in srgb,var(--chat-cyan) 55%,transparent);border-radius:9px;background:color-mix(in srgb,var(--chat-cyan) 13%,transparent);color:#e8f8ff;font-size:10px;font-weight:900;cursor:pointer}
.chatted-sidebar-install[hidden]{display:none!important}.chatted-sidebar-install span{color:var(--chat-cyan);font-size:15px}
.chatted-self-card{padding:11px 14px}.chatted-search{padding:10px 14px 12px}.chatted-search-results{top:70px}
.chatted-sidebar-scroll{display:flex;flex-direction:column;min-height:0;overflow:hidden;background:var(--chat-theme-bg,#071019)}
.chatted-company-directory,.chatted-create-group{flex:0 0 auto}.chatted-company-directory{max-height:min(34dvh,320px);overflow:auto}.chatted-company-directory[open] .chatted-directory-list{max-height:min(27dvh,250px);overflow:auto}
.chatted-create-group[open] form{max-height:min(34dvh,340px);overflow:auto}
.chatted-conversation-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:0 0 auto;padding:9px 15px 6px;color:#dce9f3;font-size:10px;letter-spacing:.12em;text-transform:uppercase}.chatted-conversation-heading small{display:grid;place-items:center;min-width:22px;height:20px;border-radius:999px;background:#101e2e;color:var(--chat-muted);font-size:9px}
.chatted-conversation-list{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:0 8px 12px!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}
.chatted-sidebar-footer{position:relative;z-index:60;flex:0 0 auto;padding-bottom:46px;background:var(--chat-theme-sidebar,#0a1420);border-top:1px solid var(--chat-theme-line,#243447)}
.chatted-standalone-logout{margin:0!important;padding:8px 12px!important;border:0!important;background:transparent!important}.chatted-standalone-logout button{min-height:36px}

/* Bottom sheet: closed as one compact +/− bar, open to one-half viewport and independently scrollable. */
.chatted-control-drawer{position:fixed!important;z-index:500;left:0;bottom:0;width:min(370px,100vw);height:auto;max-height:none!important;margin:0!important;border:1px solid var(--chat-theme-line,#243447);border-width:1px 1px 0 0;border-radius:0 16px 0 0;background:var(--chat-theme-sidebar,#0a1420);box-shadow:0 -12px 42px rgba(0,0,0,.38);overflow:hidden}
.chatted-control-drawer[open]{height:min(50dvh,560px);display:flex;flex-direction:column;box-shadow:0 -24px 70px rgba(0,0,0,.72)}
.chatted-control-drawer>summary{position:relative!important;top:auto!important;flex:0 0 auto;min-height:46px;padding:11px 46px 11px 15px!important;background:var(--chat-theme-sidebar,#0a1420)!important;border:0!important}
.chatted-control-drawer>summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatted-control-drawer>summary:after{position:absolute;right:16px;top:50%;transform:translateY(-50%)}
.chatted-control-drawer-body{display:grid!important;flex:1 1 auto;min-height:0;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border-top:1px solid var(--chat-theme-line,#243447)}
.chatted-control-drawer:not([open]) .chatted-control-drawer-body{display:none!important}
.chatted-theme-colors.three{grid-template-columns:repeat(3,minmax(0,1fr))}.chatted-theme-colors.three label{min-width:0}
.chatted-theme-preview span{background:var(--chat-theme-incoming,#121e2b);color:var(--chat-theme-incoming-text,#fff)}
.chatted-message:not(.mine) .chatted-message-text,.chatted-message:not(.mine) .chatted-message-body>header strong{color:var(--chat-theme-incoming-text,#fff)}

/* C!HATTED! public account menu stays at the true top and works like the fixed suite navigation. */
:root{--chatted-entry-header-height:76px}
body.chatted-entry-body{min-height:100dvh!important;padding:0!important;overflow-x:hidden!important}
.chatted-entry-header{position:fixed!important;inset:0 0 auto 0!important;top:0!important;z-index:900!important;box-sizing:border-box;width:100%;height:var(--chatted-entry-header-height);min-height:var(--chatted-entry-header-height)!important;margin:0!important;padding:calc(8px + var(--chatted-safe-top)) max(18px,calc(4vw + var(--chatted-safe-right))) 8px max(18px,calc(4vw + var(--chatted-safe-left)))!important}
.chatted-entry-main{box-sizing:border-box;flex:1;width:min(1420px,calc(100% - 32px));margin:0 auto!important;padding:calc(var(--chatted-entry-header-height) + 28px) 0 34px!important}
.chatted-entry-menu-toggle{display:none;align-items:center;gap:7px;min-height:38px;padding:7px 10px;border:1px solid #2b465e;border-radius:9px;background:#0c1a28;color:#dff6ff;font-weight:900;cursor:pointer}
.chatted-entry-install,.chatted-entry-install-card{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #38bdf8;border-radius:9px;background:rgba(56,189,248,.11);color:#e0f7ff;font:inherit;font-weight:900;cursor:pointer}.chatted-entry-install{min-height:34px;padding:7px 10px;font-size:11px}.chatted-entry-install-card{width:100%;min-height:44px;padding:10px 14px}.chatted-entry-install[hidden],.chatted-entry-install-card[hidden]{display:none!important}
.chatted-entry-install:hover,.chatted-entry-install-card:hover{background:rgba(56,189,248,.2)}

/* Internal C!HATTED! pages also begin at viewport coordinate zero. */
.chatted-internal-topbar{position:fixed!important;inset:0 0 auto 0!important;top:0!important;z-index:900!important;box-sizing:border-box;width:100%;height:calc(58px + var(--chatted-safe-top));margin:0!important}
.chatted-standalone-shell.chatted-internal-page{position:fixed!important;inset:calc(58px + var(--chatted-safe-top)) 0 0!important;width:100%!important;height:auto!important;max-height:none!important;margin:0!important;padding:12px!important;overflow:auto!important}

@media(max-width:840px){
  .chatted-app,.chatted-sidebar,.chatted-main{height:100dvh!important;min-height:0!important;max-height:100dvh!important;top:0!important;bottom:0!important}
  .chatted-sidebar{overflow:hidden!important;padding:0!important}
  .chatted-main{padding:0!important}
  .chatted-conversation-list{flex:1 1 auto!important;overflow-y:auto!important;min-height:0!important}
  .chatted-control-drawer{width:100vw;border-width:1px 0 0;border-radius:16px 16px 0 0}
  .chatted-control-drawer[open]{height:50dvh;max-height:50dvh!important}
  .chatted-room-head{padding-top:calc(8px + var(--chatted-safe-top))!important}
}
@media(max-width:720px){
  :root{--chatted-entry-header-height:66px}
  .chatted-entry-header{display:flex!important;align-items:center!important;flex-direction:row!important;gap:10px!important}
  .chatted-entry-brand small{display:none}.chatted-entry-brand>strong{font-size:18px}.chatted-entry-brand>span{font-size:16px}
  .chatted-entry-menu-toggle{display:inline-flex;margin-left:auto}
  .chatted-entry-header nav{position:fixed;z-index:920;top:calc(var(--chatted-entry-header-height) + var(--chatted-safe-top));right:10px;left:10px;display:none!important;align-items:stretch!important;flex-direction:column!important;gap:5px!important;padding:10px;border:1px solid #2a4055;border-radius:13px;background:#09131f;box-shadow:0 20px 55px rgba(0,0,0,.62)}
  .chatted-entry-header nav.is-open{display:flex!important}.chatted-entry-header nav a,.chatted-entry-header nav button{width:100%;box-sizing:border-box;justify-content:flex-start;text-align:left}
  .chatted-entry-main{width:calc(100% - 20px)!important;padding-top:calc(var(--chatted-entry-header-height) + 20px)!important}
  .chatted-entry-layout{min-height:0!important;margin:0!important}.chatted-entry-story{padding-top:0!important}
  .chatted-theme-colors.three{grid-template-columns:1fr}
}



/* C!HATTED! 9.15.5 — drawer-contained sign out and browser-safe administrative scrolling. */
.chatted-control-drawer[open]{display:grid!important;grid-template-rows:auto minmax(0,1fr)!important}
.chatted-control-drawer-body{display:block!important;min-height:0!important;max-height:100%!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;touch-action:pan-y;align-content:start}
.chatted-control-drawer:not([open]) .chatted-control-drawer-body{display:none!important}
.chatted-control-drawer-logout{box-sizing:border-box;margin:8px 12px max(12px,var(--chatted-safe-bottom))!important;padding:10px 0 0!important;border-top:1px solid color-mix(in srgb,var(--chat-theme-line,#243447) 78%,transparent)!important;background:transparent!important}
.chatted-control-drawer-logout button{width:100%;min-height:40px}
@media(max-width:840px){.chatted-control-drawer[open]{display:grid!important;grid-template-rows:auto minmax(0,1fr)!important}.chatted-control-drawer-body{min-height:0!important;max-height:100%!important;overflow-y:auto!important}}

/* C!HATTED! 9.15.5 — compact media, device notifications, and clipboard media surfaces. */
body.chatted-overlay-open{overflow:hidden!important}
.chatted-media-thumb{position:relative;display:grid;place-items:center;width:min(100%,260px);max-width:260px;min-height:112px;aspect-ratio:4/3;padding:0;overflow:hidden;border:1px solid color-mix(in srgb,var(--chat-theme-line,#243447) 82%,transparent);border-radius:13px;background:#050b12;color:#fff;cursor:zoom-in;box-shadow:0 8px 24px rgba(0,0,0,.2)}
.chatted-media-thumb img,.chatted-media-thumb video{display:block;width:100%;height:100%;max-height:190px;object-fit:cover;background:#02060a}
.chatted-media-thumb span{position:absolute;right:7px;bottom:7px;left:7px;padding:6px 8px;border-radius:8px;background:rgba(2,8,15,.78);color:#fff;font-size:10px;font-weight:900;letter-spacing:.02em;text-align:center;backdrop-filter:blur(6px)}
.chatted-media-thumb:hover,.chatted-media-thumb:focus-visible{border-color:var(--chat-theme-accent,var(--chat-cyan));transform:translateY(-1px)}
.chatted-audio-attachment{display:grid;gap:7px;width:min(100%,390px);padding:10px;border:1px solid var(--chat-theme-line,#243447);border-radius:12px;background:color-mix(in srgb,var(--chat-theme-incoming,#121e2b) 78%,#050b12)}
.chatted-audio-attachment audio{width:100%;height:38px}.chatted-audio-attachment a{justify-self:end;font-size:10px;font-weight:900}
.chatted-media-viewer{position:fixed;inset:0;z-index:1500;box-sizing:border-box}
.chatted-media-viewer[hidden]{display:none!important}
.chatted-overlay-backdrop{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:0;background:rgba(0,0,0,.82);cursor:default}
.chatted-media-viewer{display:grid;place-items:center;padding:max(14px,var(--chatted-safe-top)) max(14px,var(--chatted-safe-right)) max(14px,var(--chatted-safe-bottom)) max(14px,var(--chatted-safe-left))}
.chatted-media-viewer-card{position:relative;z-index:1;display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(1080px,96vw);height:min(880px,94dvh);overflow:hidden;border:1px solid #30445a;border-radius:17px;background:#071019;box-shadow:0 30px 100px rgba(0,0,0,.72)}
.chatted-media-viewer-card>header,.chatted-media-viewer-card>footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 14px;background:#0a1623}
.chatted-media-viewer-card>header{border-bottom:1px solid #26394d}.chatted-media-viewer-card>footer{justify-content:flex-end;border-top:1px solid #26394d}
.chatted-media-viewer-card>header strong{min-width:0;overflow:hidden;color:#f1f7fb;text-overflow:ellipsis;white-space:nowrap}.chatted-media-viewer-card>header button{display:grid;place-items:center;width:36px;height:36px;padding:0;border-radius:999px;background:#172638;color:#fff;font-size:24px}
.chatted-media-viewer-content{display:grid;place-items:center;min-height:0;padding:14px;overflow:auto;background:#02070c}
.chatted-media-viewer-content img,.chatted-media-viewer-content video{display:block;max-width:100%;max-height:calc(94dvh - 136px);object-fit:contain;border-radius:8px;background:#000}
.chatted-notification-settings{display:grid;gap:8px;margin:0 12px;padding:13px 0;border-top:1px solid var(--chat-theme-line,#243447)}
.chatted-notification-settings header{display:grid;gap:2px}.chatted-notification-settings header strong{color:#f0f7fb}.chatted-notification-settings header small,.chatted-notification-settings>small{color:var(--chat-theme-muted,var(--chat-muted));line-height:1.4}
.chatted-notification-settings button{width:100%;min-height:38px}
@media(max-width:840px){
  .chatted-room-actions{display:flex!important;margin-left:auto}
  .chatted-media-thumb{width:min(100%,220px);max-width:220px;min-height:96px}.chatted-media-thumb img,.chatted-media-thumb video{max-height:165px}
  .chatted-media-viewer-card{width:100%;height:min(92dvh,820px)}.chatted-media-viewer-card>footer{display:grid;grid-template-columns:1fr 1fr}.chatted-media-viewer-card>footer>*{width:100%;box-sizing:border-box}
}
@media(max-width:520px){
  .chatted-room-head{grid-template-columns:auto minmax(0,1fr) auto!important}.chatted-room-actions{gap:4px!important}
  .chatted-media-viewer{padding:max(5px,var(--chatted-safe-top)) max(5px,var(--chatted-safe-right)) max(5px,var(--chatted-safe-bottom)) max(5px,var(--chatted-safe-left))}.chatted-media-viewer-card{height:calc(100dvh - 10px);border-radius:12px}.chatted-media-viewer-content{padding:6px}.chatted-media-viewer-content img,.chatted-media-viewer-content video{max-height:calc(100dvh - 132px)}
}


/* B!RANDED! 9.15.7 consent-based monitored support notifications */
.chatted-monitoring-panel{margin:0 18px 10px;padding:14px 16px;border:1px solid color-mix(in srgb,var(--chat-accent,#38bdf8) 48%,#f59e0b);border-radius:16px;background:color-mix(in srgb,var(--chat-panel,#101926) 88%,#f59e0b 12%);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;box-shadow:0 12px 34px rgba(0,0,0,.2)}
.chatted-monitoring-panel.active{border-color:#f59e0b;background:linear-gradient(135deg,rgba(245,158,11,.15),rgba(239,68,68,.08)),var(--chat-panel,#101926)}
.chatted-monitoring-copy>strong{display:block;font-size:.82rem;letter-spacing:.09em;text-transform:uppercase;color:#fbbf24}.chatted-monitoring-copy p{margin:5px 0 0;max-width:850px;font-size:.84rem;line-height:1.45}.chatted-monitoring-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.chatted-monitoring-consents{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.chatted-monitoring-consents span{padding:4px 8px;border-radius:999px;background:rgba(148,163,184,.14);font-size:.72rem}.chatted-monitoring-consents span.accepted{color:#86efac}.chatted-monitoring-consents span.pending{color:#fde68a}.chatted-live-drafts{grid-column:1/-1;display:grid;gap:8px;padding-top:10px;border-top:1px solid rgba(148,163,184,.18)}.chatted-live-draft{padding:10px 12px;border-radius:12px;background:rgba(0,0,0,.22)}.chatted-live-draft header{display:flex;justify-content:space-between;gap:10px;font-size:.76rem;color:#94a3b8}.chatted-live-draft pre{margin:7px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.45}.chatted-private-indicator{margin-right:8px;padding:3px 7px;border-radius:999px;background:rgba(245,158,11,.18);color:#fbbf24;font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.chatted-typing-indicator.god-admin-only{border-top:1px solid rgba(245,158,11,.15)}
.linked-comment-moderation{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.linked-comment-moderation form{margin:0}.linked-comment-moderation button{padding:7px 10px;font-size:.75rem}.linked-manager-note{margin:.45rem 0;color:var(--linked-muted,#64748b)}.linked-inline-admin{display:inline-flex;margin-top:.25rem;font-weight:800}
@media(max-width:720px){.chatted-monitoring-panel{margin:0 10px 8px;grid-template-columns:1fr}.chatted-monitoring-actions{justify-content:flex-start}.chatted-live-drafts{grid-column:1}}


/* BRANDED 9.16.0 — fast receiver activity, visible notifications, and shared typing status */
.chatted-conversation-section{display:flex;flex:1 1 auto;min-width:0;min-height:0;overflow:hidden;flex-direction:column}
.chatted-conversation-item.request-pending{border-color:color-mix(in srgb,var(--chat-accent) 70%,#f59e0b);box-shadow:inset 3px 0 0 #f59e0b}
.chatted-request-badge{display:inline-flex;align-items:center;border-radius:999px;padding:.2rem .42rem;background:#f59e0b;color:#111827;font-size:.6rem;font-weight:900;letter-spacing:.08em}
.chatted-notification-actions{display:flex;gap:.5rem;flex-wrap:wrap}
.chatted-notification-settings.is-enabled{border-color:color-mix(in srgb,#22c55e 70%,var(--chat-line));box-shadow:0 0 0 1px color-mix(in srgb,#22c55e 25%,transparent)}
.chatted-notification-settings.is-enabled [data-notification-status]{color:#86efac;font-weight:800}
.chatted-alert-stack{position:fixed;z-index:1400;top:max(1rem,env(safe-area-inset-top));right:max(1rem,env(safe-area-inset-right));display:grid;gap:.65rem;width:min(360px,calc(100vw - 2rem));pointer-events:none}
.chatted-alert-toast{pointer-events:auto;display:grid;grid-template-columns:auto 1fr auto;gap:.75rem;align-items:center;width:100%;padding:.85rem .9rem;border:1px solid color-mix(in srgb,var(--chat-accent) 62%,var(--chat-line));border-radius:16px;background:color-mix(in srgb,var(--chat-sidebar) 94%,#000);color:var(--chat-text);box-shadow:0 20px 60px rgba(0,0,0,.48);text-align:left;animation:chattedAlertIn .18s ease-out}
.chatted-alert-toast .chatted-alert-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--chat-accent);color:var(--chat-accent-text,#fff);font-weight:1000}
.chatted-alert-toast strong,.chatted-alert-toast span{display:block}.chatted-alert-toast small{display:block;color:var(--chat-muted);margin-top:.15rem;line-height:1.35}
.chatted-alert-toast .chatted-alert-close{border:0;background:transparent;color:var(--chat-muted);font-size:1.25rem;padding:.2rem}
@keyframes chattedAlertIn{from{opacity:0;transform:translateY(-10px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:840px){.chatted-alert-stack{top:max(.65rem,env(safe-area-inset-top));right:.65rem;left:.65rem;width:auto}.chatted-alert-toast{border-radius:14px}}


/* B!RANDED! 9.16.0 — mobile gestures, admin monitoring, private labels, search, and restored scrolling */
.chatted-sidebar-scroll{flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;touch-action:pan-y}
.chatted-conversation-section{flex:1 1 auto!important;min-height:140px!important;overflow:hidden!important}
.chatted-conversation-list{flex:1 1 auto!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}
.chatted-list-typing{display:block;margin-top:3px;color:var(--chat-cyan);font-size:10px;font-style:normal;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chatted-refresh-indicator{position:absolute;z-index:40;left:50%;display:flex;align-items:center;gap:7px;transform:translateX(-50%) translateY(-130%);padding:7px 11px;border:1px solid var(--chat-line);border-radius:999px;background:var(--chat-theme-sidebar,#0a1420);box-shadow:0 8px 25px rgba(0,0,0,.35);color:var(--chat-cyan);font-size:10px;font-weight:900;opacity:0;pointer-events:none;transition:transform .16s ease,opacity .16s ease}
.chatted-refresh-indicator.visible{opacity:1;transform:translateX(-50%) translateY(8px)}.chatted-refresh-indicator.refreshing span{animation:chattedSpin .7s linear infinite}@keyframes chattedSpin{to{transform:rotate(360deg)}}
.chatted-alert-toast{touch-action:pan-x;transition:transform .16s ease,opacity .16s ease}.chatted-alert-toast.swiping{transition:none}.chatted-alert-toast.dismiss-right{transform:translateX(115%);opacity:0}.chatted-alert-toast.dismiss-left{transform:translateX(-115%);opacity:0}
.chatted-alert-actions{grid-column:2/-1;display:flex;gap:7px;flex-wrap:wrap}.chatted-alert-actions button{min-height:38px;padding:7px 11px}
.chatted-monitoring-chip{position:absolute;z-index:20;top:calc(var(--chatted-room-head-height,86px) + 8px);right:12px;display:grid;max-width:min(300px,calc(100% - 24px));padding:7px 10px;border:1px solid #f59e0b;border-radius:12px;background:rgba(20,13,4,.94);box-shadow:0 10px 30px rgba(0,0,0,.35);pointer-events:none}.chatted-monitoring-chip[hidden]{display:none!important}.chatted-monitoring-chip span{color:#fbbf24;font-size:10px;font-weight:900;text-transform:uppercase}.chatted-monitoring-chip small{color:#d8c9aa;font-size:9px;line-height:1.3}
.chatted-admin-monitoring-picker select{min-width:min(520px,100%)}
button,a.button,input,textarea,select,summary{touch-action:manipulation}
@media(max-width:840px){
  .chatted-sidebar{display:flex!important;flex-direction:column!important;overflow:hidden!important}
  .chatted-sidebar-fixed,.chatted-sidebar-footer{flex:0 0 auto}.chatted-sidebar-scroll{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
  .chatted-conversation-section{flex:1 1 auto!important;min-height:120px!important}.chatted-conversation-list{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important}
  .chatted-main,.chatted-room,.chatted-message-feed{touch-action:pan-y}.chatted-message-feed{overscroll-behavior-y:contain}
  .chatted-room button,.chatted-sidebar button,.chatted-sidebar a.button,.chatted-control-drawer button,.chatted-control-drawer summary{min-height:44px}
  .chatted-conversation-item{min-height:62px}.chatted-alert-toast{min-height:64px}.chatted-alert-close{min-width:44px;min-height:44px}
  .chatted-monitoring-chip{top:auto;bottom:calc(76px + env(safe-area-inset-bottom));right:8px;max-width:230px}
}

/* C!HATTED! 9.16.0 — restore the independent mobile conversation-list viewport. */
@media(max-width:840px){
  .chatted-sidebar{display:flex!important;flex-direction:column!important;overflow:hidden!important;padding-top:max(var(--chatted-safe-top),0px)!important;padding-bottom:max(var(--chatted-safe-bottom),0px)!important}
  .chatted-sidebar-fixed,.chatted-sidebar-footer{flex:0 0 auto!important}
  .chatted-sidebar-scroll{display:flex!important;flex-direction:column!important;flex:1 1 0!important;min-height:0!important;overflow:hidden!important}
  .chatted-conversation-section{display:flex!important;flex-direction:column!important;flex:1 1 0!important;min-height:112px!important;overflow:hidden!important}
  .chatted-conversation-list{display:block!important;flex:1 1 0!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-y:contain!important;touch-action:pan-y!important}
}


/* B!RANDED! 9.16.0 — media gallery, compact actions, transient notices, and branding. */
.chatted-product-brandline{display:flex;align-items:center;min-width:0;gap:9px}.chatted-company-logo{display:block;flex:0 0 38px;width:38px;height:38px;object-fit:contain;border:1px solid color-mix(in srgb,var(--chat-theme-line,#243447) 82%,transparent);border-radius:10px;background:#fff;padding:3px;box-sizing:border-box}.chatted-product-brandline .chatted-product-logo{min-width:0}
.chatted-reply-target[hidden]{display:none!important}.chatted-reply-target button[data-clear-reply]{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;padding:0;border-radius:999px;background:rgba(255,255,255,.07);touch-action:manipulation}
.chatted-message-body>footer{flex-wrap:nowrap;gap:7px;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}.chatted-message-body>footer::-webkit-scrollbar{display:none}.chatted-message-body>footer>button,.chatted-message-body>footer>form,.chatted-message-body>footer>.chatted-read-receipt{flex:0 0 auto}.chatted-message-body>footer>.chatted-reactions{flex:0 0 auto;width:auto!important;flex-wrap:nowrap}.chatted-read-receipt{margin-left:0!important}
.chatted-media-viewer-content{display:block!important;padding:0!important;overflow-y:auto!important;overflow-x:hidden!important;scroll-snap-type:y proximity;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;touch-action:pan-y}.chatted-media-viewer-item{display:grid;grid-template-rows:minmax(0,1fr) auto;place-items:center;box-sizing:border-box;min-height:100%;margin:0;padding:14px;scroll-snap-align:start;scroll-snap-stop:normal}.chatted-media-viewer-item>img,.chatted-media-viewer-item>video{display:block;max-width:100%;max-height:calc(94dvh - 178px);object-fit:contain;border-radius:8px;background:#000}.chatted-media-viewer-item figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(100%,900px);padding:9px 2px 0;color:#a9bac8;font-size:10px}.chatted-media-viewer-item figcaption a{white-space:nowrap;font-weight:900}.chatted-media-position{margin-right:auto;color:#9db1c2;font-size:10px;font-weight:900;white-space:nowrap}
.chatted-standalone-flashes .flash,.chatted-entry-flashes .flash{position:relative;padding-right:46px;touch-action:pan-y}.chatted-flash-close{position:absolute;top:50%;right:8px;display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:999px;background:rgba(0,0,0,.18);color:inherit;font-size:19px;transform:translateY(-50%);cursor:pointer}.chatted-flash-dismissing{opacity:0;transform:translateX(35px);transition:opacity .16s ease,transform .16s ease}
@media(max-width:900px){.chatted-product-brandline{gap:6px}.chatted-company-logo{flex-basis:34px;width:34px;height:34px}.chatted-message-body>footer{gap:6px}.chatted-message-body>footer button{white-space:nowrap}.chatted-reaction-pill,.chatted-reaction-add{min-width:25px!important;min-height:24px!important;padding:3px 6px!important}.chatted-media-viewer-item{padding:7px}.chatted-media-viewer-item>img,.chatted-media-viewer-item>video{max-height:calc(100dvh - 174px)}.chatted-media-viewer-card>footer{grid-template-columns:auto 1fr 1fr!important}.chatted-media-position{grid-column:1/-1;width:100%;text-align:center}}


/* B!RANDED! 9.16.0A — stable reaction tray and mobile-landscape navigation. */
.chatted-global-reaction-picker{position:fixed!important;z-index:1750!important;top:0;left:0;right:auto!important;bottom:auto!important;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;width:max-content;max-width:min(390px,calc(100vw - 16px));padding:9px!important;border:1px solid #3b5872;border-radius:15px;background:#101c2a;box-shadow:0 18px 55px rgba(0,0,0,.62);transform:none!important;overflow:visible!important;touch-action:manipulation}
.chatted-global-reaction-picker[hidden]{display:none!important}.chatted-global-reaction-picker button{flex:0 0 38px!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:0!important;font-size:21px!important;line-height:1!important}.chatted-reaction-add[aria-expanded="true"]{border-color:#38bdf8!important;background:rgba(56,189,248,.18)!important}
@media(orientation:landscape) and (max-height:620px) and (pointer:coarse){
  html:has(.chatted-standalone-body),body.chatted-standalone-body,.chatted-standalone-shell,.chatted-app{height:100dvh!important;min-height:100svh!important;max-height:100dvh!important;overflow:hidden!important}
  .chatted-app{display:block!important}.chatted-sidebar,.chatted-main{position:absolute!important;inset:0!important;width:100%!important;height:100dvh!important;max-height:100dvh!important;transition:transform .2s ease,opacity .2s ease}
  .chatted-sidebar{z-index:20!important;display:flex!important;flex-direction:column!important;transform:translateX(0);overflow:hidden!important;padding-top:max(var(--chatted-safe-top),0px)!important;padding-bottom:max(var(--chatted-safe-bottom),0px)!important}.chatted-main{z-index:10!important;transform:translateX(100%);opacity:.75}.chatted-app.is-room-open .chatted-sidebar{transform:translateX(-100%);opacity:.8}.chatted-app.is-room-open .chatted-main{transform:translateX(0);opacity:1}
  .chatted-sidebar-fixed{flex:0 1 auto!important;max-height:43dvh!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important}.chatted-product-head{padding:7px 10px!important}.chatted-self-card{padding:7px 10px!important}.chatted-search{padding:6px 10px!important}
  .chatted-sidebar-scroll{display:flex!important;flex-direction:column!important;flex:1 1 0!important;min-height:0!important;overflow:hidden!important}.chatted-company-directory,.chatted-create-group{flex:0 0 auto!important}
  .chatted-conversation-section{display:flex!important;flex-direction:column!important;flex:1 1 0!important;min-height:88px!important;overflow:hidden!important}.chatted-conversation-heading{flex:0 0 auto!important;padding:5px 10px!important}.chatted-conversation-list{display:block!important;flex:1 1 0!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-y:contain!important;touch-action:pan-y!important}.chatted-conversation-item{min-height:50px!important;padding:6px 9px!important}
  .chatted-sidebar-footer{flex:0 0 auto!important}.chatted-control-drawer>summary{min-height:38px!important;padding:7px 10px!important}.chatted-mobile-chats{display:inline-flex!important}.chatted-mobile-close{display:none!important}.chatted-room-actions{display:flex!important;margin-left:auto}.chatted-message-body{max-width:calc(100vw - 72px)!important}
  .chatted-global-reaction-picker{max-width:calc(100vw - 16px)!important}.chatted-global-reaction-picker button{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important}
}

/* 9.19.0 C!HATTED! login visual */
.chatted-login-visual{position:relative;width:min(680px,100%);margin:24px 0 12px}.chatted-login-window{overflow:hidden;border:1px solid rgba(56,189,248,.25);border-radius:22px;background:#071019;box-shadow:0 28px 70px rgba(0,0,0,.38);transform:perspective(1000px) rotateY(-2deg)}.chatted-login-window>header{display:flex;align-items:center;gap:6px;padding:10px 13px;border-bottom:1px solid #203346;background:#091521}.chatted-login-window>header span{width:7px;height:7px;border-radius:50%;background:#fb7185}.chatted-login-window>header span:nth-child(2){background:#facc15}.chatted-login-window>header span:nth-child(3){background:#4ade80}.chatted-login-window>header b{margin-left:7px;color:#7390a8;font:8px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.08em}.chatted-login-thread{display:grid;gap:12px;padding:18px;background:radial-gradient(circle at 92% 5%,rgba(56,189,248,.12),transparent 35%),#08111b}.chatted-login-person{display:flex;align-items:center;gap:10px;padding-bottom:11px;border-bottom:1px solid #1a2b3a}.chatted-login-person i{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#38bdf8,#0ea5e9);color:#061019;font-style:normal;font-weight:950}.chatted-login-person p{margin:0}.chatted-login-person strong,.chatted-login-person span{display:block}.chatted-login-person strong{color:#fff;font-size:12px}.chatted-login-person span{margin-top:2px;color:#728aa0;font-size:8px}.chatted-login-bubble{display:flex;align-items:flex-end;gap:8px;max-width:78%}.chatted-login-bubble small{display:grid;place-items:center;flex:0 0 26px;height:26px;border-radius:9px;background:#182b3c;color:#9cdcf4;font-size:7px;font-weight:900}.chatted-login-bubble span{padding:10px 12px;border-radius:14px 14px 14px 4px;background:#132536;color:#d9e9f5;font-size:10px;line-height:1.5}.chatted-login-bubble.outgoing{justify-self:end}.chatted-login-bubble.outgoing span{order:0;border-radius:14px 14px 4px 14px;background:linear-gradient(135deg,#199bd0,#38bdf8);color:#061019;font-weight:800}.chatted-login-bubble.outgoing small{order:1;background:#2b2208;color:#f4c84a}.chatted-login-presence{display:flex;align-items:center;gap:5px;padding-top:6px}.chatted-login-presence i{width:7px;height:7px;border-radius:50%;background:#4ade80}.chatted-login-presence i:nth-child(2){background:#38bdf8}.chatted-login-presence i:nth-child(3){background:#f4c84a}.chatted-login-presence span{margin-left:5px;color:#71869b;font-size:7px;letter-spacing:.06em}
@media(max-width:760px){.chatted-login-window{transform:none}.chatted-login-visual{margin-top:18px}.chatted-login-thread{padding:14px}}


/* B!RANDED! 9.21.6 — reliable C!HATTED! media playback and compact start tools. */
.chatted-start-tools{flex:0 0 auto;margin:8px 10px 6px;border:1px solid var(--chat-theme-line,var(--chat-line));border-radius:12px;background:color-mix(in srgb,var(--chat-theme-sidebar,#0a1420) 92%,#000);overflow:visible}
.chatted-start-tools>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px;padding:8px 11px;cursor:pointer;list-style:none;color:#e7f3fb;font-size:11px;font-weight:900}
.chatted-start-tools>summary::-webkit-details-marker{display:none}.chatted-start-tools>summary:after{content:'＋';margin-left:auto;color:var(--chat-cyan);font-size:15px}.chatted-start-tools[open]>summary:after{content:'−'}
.chatted-start-tools>summary small{margin-left:auto;color:var(--chat-muted);font-size:8px;font-weight:750;white-space:nowrap}
.chatted-start-tools-body{display:grid;gap:7px;max-height:min(48dvh,520px);padding:0 8px 8px;overflow-y:auto;overflow-x:visible;border-top:1px solid var(--chat-theme-line,var(--chat-line));overscroll-behavior:contain}
.chatted-start-tools:not([open]) .chatted-start-tools-body{display:none!important}
.chatted-start-tools .chatted-search-inline{position:relative;padding:8px 0 0}.chatted-start-tools .chatted-search-inline input{margin:0;min-height:36px;padding:8px 10px}
.chatted-start-tools .chatted-search-results{left:0;right:0;top:50px;z-index:80}
.chatted-start-tools .chatted-company-directory,.chatted-start-tools .chatted-create-group{margin:0;max-height:none;overflow:visible;border-radius:10px}
.chatted-start-tools .chatted-company-directory[open] .chatted-directory-list{max-height:min(24dvh,240px)}
.chatted-start-tools .chatted-create-group[open] form{max-height:none;overflow:visible}


.chatted-internal-topbar{min-height:48px!important;height:calc(48px + var(--chatted-safe-top))!important;padding:calc(6px + var(--chatted-safe-top)) max(10px,var(--chatted-safe-right)) 6px max(10px,var(--chatted-safe-left))!important;gap:8px!important}
.chatted-internal-topbar .chatted-back-link,.chatted-internal-topbar button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;min-height:30px!important;height:30px!important;padding:5px 8px!important;border-radius:8px!important;font-size:10px!important;line-height:1!important;white-space:nowrap!important}
.chatted-internal-topbar strong{font-size:12px;letter-spacing:.04em}.chatted-internal-topbar form{display:flex;align-items:center}
.chatted-standalone-shell.chatted-internal-page{inset:calc(48px + var(--chatted-safe-top)) 0 0!important;height:auto!important;max-height:none!important}
.privacy-default-note{display:none!important}

@media(max-width:840px){
  .chatted-start-tools{margin:6px 8px 4px}.chatted-start-tools>summary small{display:none}.chatted-start-tools-body{max-height:52dvh}
  .chatted-internal-topbar .chatted-back-link,.chatted-internal-topbar button{min-height:28px!important;height:28px!important;padding:4px 7px!important;font-size:9px!important}
}


/* 9.21.15 C!HATTED! preferred language, translated messages, personal/company trigger composer, and camera switching */
.chatted-language-prompt{position:fixed;inset:0;z-index:2147481200;display:grid;place-items:center;padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));background:rgba(2,8,16,.9);backdrop-filter:blur(12px)}
.chatted-language-prompt form{width:min(620px,100%);max-height:calc(100dvh - 36px);overflow:auto;display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;padding:24px;border:1px solid rgba(56,189,248,.42);border-radius:24px;background:#091521;box-shadow:0 24px 80px rgba(0,0,0,.55)}
.chatted-language-prompt-mark{display:grid;place-items:center;width:64px;height:64px;border-radius:18px;background:#38bdf8;color:#071019;font-size:28px;font-weight:1000}
.chatted-language-prompt h2{margin:.2rem 0 .55rem}.chatted-language-prompt p{color:#a9bacb}.chatted-language-prompt label{display:grid;gap:7px;margin:18px 0 14px;font-weight:800}.chatted-language-prompt select{width:100%}.chatted-language-prompt button{width:100%}.chatted-language-prompt [data-chatted-language-prompt-status]{display:block;min-height:1.4em;margin-top:8px;color:#fbbf24}
.chatted-message-translation{display:grid;gap:8px}.chatted-message-original{padding:10px 12px;border-left:3px solid rgba(148,163,184,.6);border-radius:8px;background:rgba(2,8,16,.36)}
.chatted-message-translation-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:5px}.chatted-show-original{border:0;background:transparent;color:var(--chat-cyan,#38bdf8);font-size:.78rem;font-weight:850;padding:2px 0;text-decoration:underline;text-underline-offset:3px}.chatted-message-language-note{font-size:.72rem;color:var(--chat-theme-muted,#94a3b8)}
.chatted-composer-input-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:stretch;gap:8px}.chatted-trigger-plus{width:44px;min-height:46px;padding:0;border-radius:14px;font-size:1.45rem;line-height:1;background:color-mix(in srgb,var(--chat-theme-accent,#38bdf8) 18%,var(--chat-theme-main,#0b111a));border:1px solid color-mix(in srgb,var(--chat-theme-accent,#38bdf8) 52%,transparent);color:var(--chat-theme-accent,#38bdf8)}
.chatted-trigger-plus[aria-expanded="true"]{background:var(--chat-theme-accent,#38bdf8);color:#071019}.chatted-trigger-picker{position:relative;z-index:12;max-height:min(420px,52dvh);overflow:hidden;border:1px solid color-mix(in srgb,var(--chat-theme-accent,#38bdf8) 38%,var(--chat-theme-line,#243447));border-radius:16px;background:color-mix(in srgb,var(--chat-theme-main,#0b111a) 96%,#000);box-shadow:0 18px 50px rgba(0,0,0,.42)}
.chatted-trigger-picker[hidden]{display:none!important}.chatted-trigger-picker>header{display:grid;grid-template-columns:minmax(130px,1fr) minmax(120px,220px) auto auto;align-items:center;gap:8px;padding:10px;border-bottom:1px solid var(--chat-theme-line,#243447);position:sticky;top:0;background:inherit}.chatted-trigger-picker>header div{display:grid}.chatted-trigger-picker>header small{color:var(--chat-theme-muted,#94a3b8)}.chatted-trigger-picker input{min-width:0}.chatted-trigger-picker-list{overflow:auto;max-height:min(330px,42dvh);padding:10px;display:grid;gap:8px}
.chatted-trigger-option{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border:1px solid var(--chat-theme-line,#243447);border-radius:13px;background:rgba(255,255,255,.025)}.chatted-trigger-option-copy{display:grid;gap:5px;min-width:0}.chatted-trigger-option-copy header{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.chatted-trigger-option-copy code{color:var(--chat-theme-accent,#38bdf8);overflow-wrap:anywhere}.chatted-trigger-option-copy small{color:var(--chat-theme-muted,#94a3b8)}.chatted-trigger-option-preview{min-height:26px;display:flex;align-items:center;overflow:hidden}.chatted-trigger-option button{white-space:nowrap}.chatted-triggered-output{max-width:100%;display:inline-block;vertical-align:middle}.chatted-triggered-output img,.chatted-triggered-output video,.chatted-triggered-output audio{max-width:min(100%,520px);height:auto}
@media(max-width:700px){.chatted-language-prompt form{grid-template-columns:1fr;padding:20px}.chatted-language-prompt-mark{width:54px;height:54px}.chatted-trigger-picker>header{grid-template-columns:1fr auto}.chatted-trigger-picker>header input{grid-column:1/-1;grid-row:2}.chatted-trigger-option{grid-template-columns:1fr}.chatted-trigger-option button{width:100%}}


/* BRANDED 9.21.18 — C!HATTED! private composer triggers + first-run device permissions */
.chatted-standalone-body .triggered-reference-shell,.chatted-standalone-body .triggered-reference-panel,.chatted-standalone-body .triggered-reference-button{display:none!important}
.chatted-device-permission-prompt{position:fixed;inset:0;z-index:2147481250;display:grid;place-items:center;padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));background:rgba(2,8,16,.92);backdrop-filter:blur(12px)}
.chatted-device-permission-prompt[hidden]{display:none!important}.chatted-device-permission-card{width:min(680px,100%);max-height:calc(100dvh - 36px);overflow:auto;display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;padding:24px;border:1px solid rgba(56,189,248,.42);border-radius:24px;background:#091521;color:#eef6ff;box-shadow:0 24px 80px rgba(0,0,0,.58)}
.chatted-device-permission-mark{display:grid;place-items:center;width:64px;height:64px;border-radius:18px;background:#38bdf8;color:#071019;font-size:28px;font-weight:1000}.chatted-device-permission-card h2{margin:.2rem 0 .55rem}.chatted-device-permission-card p{color:#a9bacb;line-height:1.55}.chatted-device-permission-statuses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}.chatted-device-permission-statuses span{padding:10px;border:1px solid #29435a;border-radius:11px;background:#07111c;color:#cfe6f7;font-size:11px;font-weight:800;text-align:center}.chatted-device-permission-actions{display:flex;gap:9px;flex-wrap:wrap}.chatted-device-permission-actions button{flex:1 1 220px}.chatted-device-permission-card [data-chatted-device-permission-message]{display:block;min-height:1.4em;margin-top:10px;color:#fbbf24}
@media(max-width:700px){.chatted-device-permission-card{grid-template-columns:1fr;padding:20px}.chatted-device-permission-mark{width:54px;height:54px}.chatted-device-permission-statuses{grid-template-columns:1fr}.chatted-device-permission-actions button{flex-basis:100%}}


/* B!RANDED! 9.21.18 — mobile-safe navigation, requests, permissions, reactions, and controls */
.chatted-global-reaction-picker{position:fixed!important;z-index:100050!important;max-width:calc(100vw - 16px);max-width:calc(100dvw - 16px);display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior:contain;padding:7px;border-radius:999px;box-shadow:0 16px 48px rgba(0,0,0,.55)}
.chatted-global-reaction-picker[hidden]{display:none!important}.chatted-global-reaction-picker button{flex:0 0 40px;min-width:40px;width:40px;height:40px;padding:0;font-size:20px}
.chatted-conversation-subheading{display:flex;justify-content:space-between;align-items:center;padding:.5rem .72rem;color:#f4c84a;font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.chatted-conversation-subheading.normal{color:#7dd3fc;margin-top:.35rem}
.chatted-language-inline-form,.chatted-delete-all-history{display:grid;gap:.55rem;padding:.8rem;border:1px solid rgba(56,189,248,.2);border-radius:12px;background:rgba(7,16,24,.55)}.chatted-delete-all-history{border-color:rgba(248,113,113,.28)}.chatted-language-inline-form header,.chatted-delete-all-history header{display:grid;gap:.15rem}.chatted-language-inline-form small,.chatted-delete-all-history small{color:#91a4b7;font-size:.68rem;line-height:1.4}.chatted-delete-all-history button{width:100%}
.chatted-device-permission-card{position:relative}.chatted-device-permission-close{position:absolute;right:.65rem;top:.55rem;z-index:2;width:34px;height:34px;min-width:34px;padding:0;border-radius:999px}.chatted-device-permission-actions button.secondary{pointer-events:auto!important}
.chatted-back-link{appearance:none;border:0;background:transparent;color:#7dd3fc;padding:.35rem .45rem;font:inherit;font-weight:850;cursor:pointer}
@media(max-width:840px){.chatted-device-permission-card{max-height:calc(100dvh - 24px);overflow:auto;margin:12px}.chatted-reaction-picker{touch-action:pan-x}.chatted-conversation-state i{min-width:1.55rem;height:1.55rem;display:inline-grid;place-items:center;border-radius:999px;font-style:normal;font-weight:900}.chatted-internal-topbar{position:sticky;top:0;z-index:100}}

/* 9.21.18 mobile controls, requests, and permission recovery */
.chatted-device-permission-actions.device-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.chatted-device-permission-actions.device-grid button{min-height:44px}.chatted-reaction-picker{max-width:calc(100vw - 16px);max-height:min(180px,calc(100dvh - 24px));overflow-x:auto;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.chatted-reaction-picker button{flex:0 0 42px;min-width:42px;min-height:42px}.chatted-conversation-state i{display:inline-grid;place-items:center;min-width:1.45rem;height:1.45rem;padding:0 .35rem;border-radius:999px;background:var(--chat-accent,#38bdf8);color:#021018;font-style:normal;font-weight:900;font-size:.72rem}.chatted-request-badge{font-size:.58rem;letter-spacing:.08em;padding:.22rem .38rem;border-radius:999px;background:#f59e0b;color:#111827}.chatted-conversation-item.request-pending{border-color:rgba(245,158,11,.5)}
@media(max-width:720px){.chatted-device-permission-card{max-height:calc(100dvh - 16px);overflow:auto;margin:8px}.chatted-device-permission-actions.device-grid{grid-template-columns:1fr}.chatted-internal-topbar{position:sticky;top:0;z-index:40}.chatted-reaction-picker{position:fixed!important;left:8px;right:auto}}

.chatted-reaction-picker{position:fixed!important;bottom:auto!important;right:auto!important;transform:none!important;z-index:10000!important}

.chatted-retention-control{display:flex;align-items:center}.chatted-retention-control label{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--chat-theme-muted)}.chatted-retention-control select{max-width:190px;padding:7px 9px;border-radius:9px;border:1px solid var(--chat-theme-line);background:var(--chat-theme-main);color:inherit;font:inherit}@media(max-width:720px){.chatted-retention-control{width:100%}.chatted-retention-control label{width:100%;justify-content:space-between}.chatted-retention-control select{max-width:68vw}}


/* 9.21.20 username-only identity warning and account choice */
.chatted-anonymous-choice{display:flex!important;align-items:flex-start!important;gap:11px!important;padding:13px 14px;border:1px solid rgba(245,158,11,.34);border-radius:14px;background:rgba(245,158,11,.08)}
.chatted-anonymous-choice input{width:auto!important;margin-top:3px}.chatted-anonymous-choice>span{display:grid;gap:3px}.chatted-anonymous-choice small{color:var(--muted)}
.chatted-anonymous-warning{display:inline-grid;place-items:center;width:24px;height:24px;padding:0;border:1px solid rgba(245,158,11,.58);border-radius:999px;background:rgba(245,158,11,.14);font-size:13px;line-height:1;cursor:pointer}
.chatted-identity-badges.compact .chatted-anonymous-warning{width:20px;height:20px;font-size:11px}
.chatted-anonymous-popover{position:fixed;z-index:100000;width:min(340px,calc(100vw - 20px));max-height:min(430px,calc(100dvh - 20px));overflow:auto;border:1px solid rgba(245,158,11,.46);border-radius:16px;background:#111722;color:#f8fafc;box-shadow:0 24px 70px rgba(0,0,0,.55);padding:0}
.chatted-anonymous-popover>header{display:flex;align-items:flex-start;gap:10px;padding:14px;border-bottom:1px solid rgba(255,255,255,.1);background:rgba(245,158,11,.08)}
.chatted-anonymous-popover>header>span{font-size:22px}.chatted-anonymous-popover>header>div{display:grid;gap:3px;min-width:0}.chatted-anonymous-popover>header small{color:#cbd5e1;line-height:1.35}.chatted-anonymous-popover>header button{margin-left:auto;border:0;background:transparent;color:#fff;font-size:24px;cursor:pointer}
.chatted-anonymous-popover>div{display:grid;gap:10px;padding:15px}.chatted-anonymous-popover a{color:#7dd3fc}.chatted-anonymous-popover p{margin:0;line-height:1.5;color:#dbe4ef}.chatted-anonymous-popover dl{display:grid;grid-template-columns:auto 1fr;gap:5px 10px;margin:0}.chatted-anonymous-popover dt{color:#94a3b8}.chatted-anonymous-popover dd{margin:0;overflow-wrap:anywhere}


/* 9.21.26 visual picker and themed upload progress */
.chatted-themed-spinner{width:24px;height:24px;border:3px solid color-mix(in srgb,var(--chatted-accent,#4f46e5) 22%,transparent);border-top-color:var(--chatted-accent,#4f46e5);border-radius:50%;animation:chatted-spin .8s linear infinite;margin:auto}@keyframes chatted-spin{to{transform:rotate(360deg)}}
.chatted-upload-progress{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:10px;padding:10px 12px;margin-top:8px;border-radius:14px;background:color-mix(in srgb,var(--chatted-accent,#4f46e5) 10%,var(--chatted-panel,#fff));border:1px solid color-mix(in srgb,var(--chatted-accent,#4f46e5) 28%,transparent)}.chatted-upload-progress .chatted-themed-spinner{width:20px;height:20px}.chatted-upload-track{height:8px;border-radius:999px;overflow:hidden;background:color-mix(in srgb,var(--chatted-accent,#4f46e5) 18%,transparent)}.chatted-upload-track span{display:block;width:0;height:100%;background:var(--chatted-accent,#4f46e5);transition:width .15s ease}.chatted-upload-progress strong{font-size:.78rem;white-space:nowrap}

.chatted-themed-spinner{width:25px;height:25px;margin:auto;border:3px solid color-mix(in srgb,var(--chat-cyan) 22%,transparent);border-top-color:var(--chat-cyan);border-radius:50%;animation:chatted-spin .78s linear infinite;filter:drop-shadow(0 0 8px color-mix(in srgb,var(--chat-cyan) 38%,transparent))}
.chatted-upload-progress{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:11px;margin-top:9px;padding:11px 13px;border:1px solid color-mix(in srgb,var(--chat-cyan) 45%,var(--chat-theme-line));border-radius:15px;background:color-mix(in srgb,var(--chat-theme-main) 86%,var(--chat-cyan) 10%);color:#fff;box-shadow:0 12px 30px rgba(0,0,0,.25)}
.chatted-upload-progress .chatted-themed-spinner{width:21px;height:21px}.chatted-upload-copy{display:grid;gap:6px;min-width:0}.chatted-upload-copy strong{display:flex;justify-content:space-between;gap:12px;color:#f8fafc;font-size:.75rem}.chatted-upload-copy strong b{color:var(--chat-cyan)}.chatted-upload-copy small{color:var(--chat-theme-muted);font-size:.64rem}
.chatted-upload-track{height:8px;overflow:hidden;border:1px solid color-mix(in srgb,var(--chat-theme-line) 90%,transparent);border-radius:999px;background:color-mix(in srgb,var(--chat-theme-bg) 84%,#000)}.chatted-upload-track span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--chat-cyan),color-mix(in srgb,var(--chat-cyan) 68%,#fff));box-shadow:0 0 14px color-mix(in srgb,var(--chat-cyan) 48%,transparent);transition:width .14s ease}



/* C!HATTED! Android release distribution — B!RANDED! 9.22.6 */
[data-chatted-android-install][hidden]{display:none!important}
a.chatted-entry-install,a.chatted-entry-install-card,a.chatted-sidebar-install{text-decoration:none}
.chatted-android-apk-admin{scroll-margin-top:24px}
.chatted-android-apk-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:18px;align-items:start}
.chatted-android-current-release,.chatted-android-upload-form{border:1px solid var(--chatted-line,#263546);border-radius:18px;background:color-mix(in srgb,var(--chatted-panel,#101923) 88%,transparent);padding:20px}
.chatted-android-current-release h3,.chatted-android-release-history h3{margin:.4rem 0 1rem}
.chatted-android-current-release dl{display:grid;gap:9px;margin:0 0 16px}
.chatted-android-current-release dl div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;padding-bottom:8px;border-bottom:1px solid color-mix(in srgb,var(--chatted-line,#263546) 68%,transparent)}
.chatted-android-current-release dt{color:var(--chatted-muted,#93a4b8);font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}
.chatted-android-current-release dd{margin:0;min-width:0;overflow-wrap:anywhere}
.chatted-android-current-release code,.chatted-android-release-history code{font-size:.72rem;overflow-wrap:anywhere}
.chatted-android-release-history{margin-top:20px}
.chatted-android-current-badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:#2dd4bf;color:#05201c;font-weight:900;font-size:.68rem;letter-spacing:.08em}
@media(max-width:900px){.chatted-android-apk-grid{grid-template-columns:1fr}.chatted-android-current-release dl div{grid-template-columns:1fr;gap:3px}}

/* B!RANDED! 9.22.9: diagnostics are rendered only from God Admin payloads. */
.chatted-private-diagnostics{margin:.65rem 0 0;border:1px solid rgba(251,191,36,.45);border-radius:12px;background:rgba(120,53,15,.16);overflow:hidden}
.chatted-private-diagnostics summary{cursor:pointer;padding:.65rem .8rem;color:#fde68a;font-size:.72rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}
.chatted-private-diagnostics dl{display:grid;grid-template-columns:minmax(110px,.38fr) minmax(0,1fr);gap:1px;margin:0;background:rgba(251,191,36,.18)}
.chatted-private-diagnostics dt,.chatted-private-diagnostics dd{margin:0;padding:.5rem .65rem;background:#0b111b;overflow-wrap:anywhere;font-size:.7rem;line-height:1.35}
.chatted-private-diagnostics dt{color:#fcd34d;text-transform:capitalize}.chatted-private-diagnostics dd{color:#dbeafe;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}


.chatted-god-oversight-chip{display:flex;align-items:center;gap:.75rem;padding:.55rem .9rem;border-bottom:1px solid rgba(251,191,36,.32);background:rgba(120,53,15,.18);color:#fde68a}.chatted-god-oversight-chip span{font-size:.72rem;font-weight:950;text-transform:uppercase;letter-spacing:.07em}.chatted-god-oversight-chip small{color:#d8c89a}

/* 9.22.10 conversation-type tabs and notification preferences */
.chatted-conversation-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0 10px}.chatted-conversation-tabs button{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;padding:8px 5px;border:1px solid var(--chat-line);border-radius:9px;background:var(--chat-sidebar);color:var(--chat-muted);font-size:10px;font-weight:850}.chatted-conversation-tabs button small{font-size:8px;opacity:.8}.chatted-conversation-tabs button.active{border-color:var(--chat-accent);color:var(--chat-text);box-shadow:0 0 0 1px color-mix(in srgb,var(--chat-accent) 35%,transparent)}.chatted-conversation-item[data-tab-hidden="1"]{display:none!important}.chatted-notification-preferences{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.chatted-notification-preferences label{display:grid;gap:5px;font-size:9px;color:var(--chat-muted)}.chatted-notification-preferences select{min-width:0}@media(max-width:420px){.chatted-notification-preferences{grid-template-columns:1fr}}

/* B!RANDED! 9.22.11: protected God Admin oversight. */
.chatted-conversation-tabs [data-conversation-tab-button="oversight"]{--tab-accent:#f59e0b}
.chatted-god-oversight-chip.read-only{border-color:rgba(245,158,11,.5);background:rgba(120,53,15,.22)}
.chatted-conversation-item[data-conversation-tab-value="oversight"]{border-left:3px solid rgba(245,158,11,.62)}


/* B!RANDED! 9.22.15: compact emoji tabs, lazy archive and account-local actions. */
.chatted-conversation-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:6px 8px 8px}
.chatted-conversation-tabs.god-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}
.chatted-conversation-tabs.user-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
.chatted-conversation-tabs button{min-height:36px;padding:4px 2px;gap:2px;font-size:18px;line-height:1}
.chatted-conversation-tabs button>span{display:block;min-width:0;white-space:nowrap}
.chatted-conversation-tabs button small{display:grid;place-items:center;min-width:15px;height:15px;padding:0 3px;border-radius:999px;background:rgba(255,255,255,.08);font-size:7px;line-height:1}
.chatted-conversation-tabs [data-conversation-tab-button="archive"]{--tab-accent:#c084fc}
.chatted-conversation-item[data-conversation-tab-value="archive"]{border-left:3px solid rgba(192,132,252,.62)}
[data-archive-items][data-tab-hidden="1"]{display:none!important}
.chatted-conversation-account-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:6px 10px;border-bottom:1px solid var(--chat-line);background:color-mix(in srgb,var(--chat-theme-main,#0b111a) 92%,black 8%)}
.chatted-conversation-account-actions form{margin:0}.chatted-conversation-account-actions button{min-height:30px;padding:5px 8px;font-size:9px}
.chatted-account-android-download{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;align-items:center;margin:10px 12px;padding:11px;border:1px solid rgba(56,189,248,.45);border-radius:12px;background:rgba(56,189,248,.1);color:#e8f8ff;text-decoration:none}
.chatted-account-android-download>span{grid-row:1/3;font-size:24px;color:var(--chat-cyan)}.chatted-account-android-download strong,.chatted-account-android-download small{display:block}.chatted-account-android-download small{color:var(--chat-muted);font-size:9px}
.chatted-account-android-download[hidden]{display:none!important}
@media(max-width:420px){.chatted-conversation-tabs{gap:3px;margin-inline:5px}.chatted-conversation-tabs button{min-height:34px;font-size:16px}.chatted-conversation-account-actions{gap:4px;padding:5px 7px}.chatted-conversation-account-actions button{padding:4px 6px;font-size:8px}}

/* B!RANDED! 9.22.15 — permanent root protection and mobile God Administration. */
.chatted-admin-page,
.chatted-admin-page > *,
.chatted-admin-two-col,
.chatted-admin-two-col > *,
.chatted-admin-table-card,
.chatted-admin-panel { min-width:0; max-width:100%; box-sizing:border-box; }
.chatted-admin-table-card .table-wrap,
.chatted-admin-panel .table-wrap { max-width:100%; overflow:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
.chatted-admin-scroll-list {
  max-height:min(54vh,680px);
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  -webkit-overflow-scrolling:touch;
}
.chatted-admin-scroll-list:focus { outline:2px solid rgba(125,211,252,.72); outline-offset:-2px; }
.chatted-admin-protected-note {
  display:block;
  width:100%;
  padding:9px 11px;
  border:1px solid rgba(244,200,74,.4);
  border-radius:9px;
  background:rgba(244,200,74,.08);
  color:#f4d870;
  font-size:11px;
  font-weight:800;
  line-height:1.35;
}
.chatted-admin-control-stack { display:grid; gap:8px; min-width:min(100%,250px); }
.chatted-admin-control-stack form { display:flex; flex-wrap:wrap; gap:6px; max-width:100%; }
.chatted-admin-control-stack form input { flex:1 1 150px; min-width:0; max-width:100%; }
.chatted-admin-control-stack form button { flex:0 1 auto; }

@media (max-width:760px) {
  .chatted-admin-page { gap:16px; }
  .chatted-admin-hero,
  .chatted-admin-table-card>header,
  .chatted-admin-panel>header { padding:16px; }
  .chatted-admin-hero h1 { font-size:clamp(26px,9vw,38px); overflow-wrap:anywhere; }
  .chatted-admin-scope { white-space:normal; text-align:center; }
  .chatted-admin-scorecards { gap:8px; }
  .chatted-admin-scorecards article { padding:13px; }
  .chatted-admin-scorecards strong { font-size:22px; }
  .chatted-admin-search input,
  .chatted-admin-search button,
  .chatted-admin-search .button { width:100%; }
  .chatted-admin-form { padding:16px; }
  .chatted-admin-form input,
  .chatted-admin-form select,
  .chatted-admin-form textarea { min-width:0; max-width:100%; }
  .chatted-admin-scroll-list { max-height:46vh; }
  .chatted-admin-record-list article { padding:13px; }
  .chatted-admin-record-list details { width:100%; min-width:0; }
  .chatted-admin-record-list details form { width:100%; }
  .chatted-admin-table { min-width:760px; }
  .chatted-admin-control-stack { min-width:210px; }
}

@media (max-width:440px) {
  .chatted-admin-page { gap:12px; }
  .chatted-admin-two-col { gap:12px; }
  .chatted-admin-hero,
  .chatted-admin-table-card>header,
  .chatted-admin-panel>header { padding:13px; }
  .chatted-admin-form { padding:13px; }
  .chatted-admin-scroll-list { max-height:42vh; }
  .chatted-admin-control-stack form { display:grid; grid-template-columns:1fr; }
  .chatted-admin-control-stack form input,
  .chatted-admin-control-stack form button { width:100%; }
}

/* B!RANDED! 9.22.15 — flair deletion, suspended-account invisibility and C!HATTED! routing. */
.chatted-admin-record-list details form label{display:grid;gap:5px;color:#cdd7e4;font-size:12px;font-weight:800}.chatted-admin-record-list details form label small{color:#8293a8;font-size:10px;font-weight:600}.chatted-suspended-workspace{display:grid;grid-template-columns:minmax(220px,320px) minmax(0,1fr);min-height:min(760px,calc(100vh - 150px));overflow:hidden;border:1px solid #223149;border-radius:22px;background:#070b12;box-shadow:0 25px 80px rgba(0,0,0,.35)}.chatted-suspended-sidebar{display:flex;flex-direction:column;gap:20px;padding:28px;border-right:1px solid #223149;background:#0b111b}.chatted-suspended-account{display:grid;gap:4px;padding:16px;border:1px solid #25364d;border-radius:14px;background:#0f1724}.chatted-suspended-account small{color:#8ea0b7}.chatted-suspended-pill{align-self:flex-start;padding:7px 10px;border:1px solid rgba(248,113,113,.45);border-radius:999px;background:rgba(127,29,29,.28);color:#fecaca;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.chatted-suspended-main{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:16px;padding:clamp(28px,6vw,80px)}.chatted-suspended-main h1{margin:0;max-width:760px;font-size:clamp(34px,6vw,68px);line-height:1}.chatted-suspended-main>p{max-width:760px;color:#a8b5c6;font-size:17px;line-height:1.65}.chatted-suspended-reason{max-width:760px;padding:16px 18px;border:1px solid rgba(251,191,36,.32);border-radius:14px;background:rgba(120,53,15,.18)}.chatted-suspended-reason p{margin:6px 0 0;color:#fef3c7}.chatted-suspended-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.chatted-suspended-actions form{margin:0}@media(max-width:760px){.chatted-suspended-workspace{grid-template-columns:1fr;min-height:auto}.chatted-suspended-sidebar{border-right:0;border-bottom:1px solid #223149;padding:20px}.chatted-suspended-main{padding:30px 20px 44px}.chatted-suspended-main h1{font-size:clamp(32px,11vw,48px)}}


/* 9.22.28 synchronized conversation controls */
.chatted-pin-indicator,.chatted-lock-indicator{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:8px;background:#0d1823;border:1px solid #2a4157;font-style:normal;font-size:12px}.chatted-pin-indicator{color:#f7d867}.chatted-lock-indicator{color:#7dd3fc}.chatted-conversation-item.is-pinned{border-color:rgba(247,216,103,.55);box-shadow:inset 3px 0 #f7d867,0 10px 28px rgba(0,0,0,.22)}
.chatted-room-head{position:relative}.chatted-room-control-button{display:grid;place-items:center;width:46px;height:46px;padding:0;border-radius:15px;font-size:19px;letter-spacing:2px}.chatted-room-control-sheet{position:absolute;z-index:80;right:12px;top:calc(100% + 8px);width:min(410px,calc(100vw - 24px));max-height:min(72vh,620px);overflow:auto;padding:14px;border:1px solid rgba(56,189,248,.34);border-radius:20px;background:linear-gradient(155deg,rgba(8,17,27,.99),rgba(10,28,42,.99));box-shadow:0 28px 80px rgba(0,0,0,.58),0 0 0 1px rgba(187,152,4,.12);backdrop-filter:blur(20px)}.chatted-room-control-sheet[hidden]{display:none!important}.chatted-room-control-sheet>header{display:flex;align-items:center;justify-content:space-between;padding:2px 2px 12px}.chatted-room-control-sheet>header strong{font-size:14px;letter-spacing:.06em}.chatted-room-control-sheet>header button{width:34px;height:34px;padding:0;border-radius:12px}.chatted-room-control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.chatted-room-control-grid>a,.chatted-room-control-grid>button,.chatted-room-control-grid>form button,.chatted-room-control-grid>form label{min-height:62px;display:grid;grid-template-columns:28px 1fr;align-items:center;gap:8px;width:100%;padding:10px 12px;border-radius:15px;text-align:left}.chatted-room-control-grid span{font-size:20px}.chatted-room-control-grid b{font-size:11px}.chatted-room-control-grid form{margin:0}.chatted-room-control-grid label select{grid-column:1/-1;width:100%;margin-top:3px}.chatted-room-control-sheet .chatted-participant-strip{position:static;display:flex;margin-top:12px;padding-top:11px;border-top:1px solid rgba(255,255,255,.08);overflow:auto}
.chatted-dialog-layer,.chatted-thread-sheet-layer{position:fixed;z-index:5000;inset:0;display:grid;align-items:end;justify-items:center;padding:18px;background:rgba(1,5,9,.72);backdrop-filter:blur(12px);animation:chatted-layer-in .16s ease-out}.chatted-dialog-layer{align-items:center}.chatted-dialog,.chatted-thread-sheet{width:min(520px,100%);border:1px solid rgba(56,189,248,.36);border-radius:24px;background:linear-gradient(150deg,#08121d,#0b2232);box-shadow:0 35px 110px rgba(0,0,0,.68),0 0 45px rgba(56,189,248,.08);overflow:hidden}.chatted-dialog{display:grid;grid-template-columns:64px 1fr;gap:15px;padding:22px}.chatted-dialog.danger{border-color:rgba(248,113,113,.6);box-shadow:0 35px 110px rgba(0,0,0,.68),0 0 55px rgba(239,68,68,.16)}.chatted-dialog-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:19px;background:linear-gradient(145deg,#0d2e43,#0d1824);border:1px solid #24506a;color:#7dd3fc;font-size:22px;font-weight:950}.chatted-dialog.danger .chatted-dialog-icon{color:#fecaca;border-color:#7f1d1d;background:#2a0d12}.chatted-dialog-copy h2,.chatted-thread-sheet h2{margin:3px 0 7px;font-size:21px}.chatted-dialog-copy p{margin:0;color:#a9b9c9;line-height:1.5}.chatted-dialog-copy label{display:grid;gap:7px;margin-top:14px;font-size:10px;color:#93a4b8}.chatted-dialog-copy input{width:100%}.chatted-dialog-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:9px;margin-top:4px}.chatted-thread-sheet>header{display:flex;align-items:center;justify-content:space-between;padding:18px;border-bottom:1px solid rgba(255,255,255,.08)}.chatted-thread-sheet>header button{width:38px;height:38px;padding:0;border-radius:13px}.chatted-thread-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px}.chatted-thread-action-grid button{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;min-height:78px;padding:12px;text-align:left;border-radius:17px}.chatted-thread-action-grid button>span{grid-row:1/3;font-size:27px}.chatted-thread-action-grid button>b{font-size:13px}.chatted-thread-action-grid button>small{font-size:8px;color:#91a4b8}.chatted-lock-gate{display:grid;justify-items:center;align-content:center;min-height:calc(100dvh - 190px);padding:28px;text-align:center}.chatted-lock-mark{display:grid;place-items:center;width:86px;height:86px;border-radius:28px;background:linear-gradient(145deg,#102d42,#08131e);border:1px solid #2b526c;font-size:38px;box-shadow:0 22px 60px rgba(0,0,0,.4)}.chatted-lock-gate h2{margin:12px 0 5px;font-size:28px}.chatted-lock-gate p{max-width:440px;color:#9fb0c0}.chatted-lock-gate form{display:grid;gap:11px;width:min(390px,100%);margin-top:18px}.chatted-lock-gate label{display:grid;gap:7px;text-align:left;font-size:10px;color:#91a4b8}@keyframes chatted-layer-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(max-width:700px){.chatted-room-control-sheet{position:fixed;left:10px;right:10px;top:auto;bottom:calc(var(--chatted-mobile-bottom-height,58px) + 10px);width:auto;max-height:72dvh}.chatted-room-control-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chatted-dialog-layer,.chatted-thread-sheet-layer{padding:10px}.chatted-dialog{grid-template-columns:48px 1fr;padding:17px}.chatted-dialog-icon{width:46px;height:46px;border-radius:15px}.chatted-thread-sheet{border-radius:24px 24px 17px 17px}.chatted-thread-action-grid{gap:8px;padding:10px}.chatted-thread-action-grid button{min-height:72px;padding:10px}}

/* 9.22.28-R25 icon-only receipt control inside the single conversation controls sheet. */
.chatted-room-control-sheet .chatted-receipts-icon-only{display:grid;place-items:center;min-width:46px;font-size:0!important}
.chatted-room-control-sheet .chatted-receipts-icon-only>span{font-size:20px;letter-spacing:-5px;padding-right:5px;color:#67e8f9}


/* B!RANDED! 9.22.28-R28 — aliases, explicit retention options, three-minute edits and locked-chat safety surface. */
.chatted-profile-alias{display:inline-flex;align-items:center;margin-left:6px;max-width:min(36ch,42vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--chat-cyan,#7dd3fc);font-size:.78em;font-weight:850;letter-spacing:.01em;vertical-align:baseline}
.chatted-room-title .chatted-profile-alias{font-size:12px}.chatted-conversation-copy strong .chatted-profile-alias{display:block;margin:2px 0 0;font-size:9px}.chatted-message-body>header strong .chatted-profile-alias,.chatted-reply-preview strong .chatted-profile-alias{font-size:9px}
.chatted-profile-alias-editor{display:grid;gap:8px;margin:18px 0;padding:16px;border:1px solid color-mix(in srgb,var(--chat-cyan,#38bdf8) 32%,transparent);border-radius:16px;background:rgba(56,189,248,.055)}.chatted-profile-alias-editor>span{font-size:11px;font-weight:950;letter-spacing:.1em;text-transform:uppercase;color:var(--chat-cyan,#7dd3fc)}.chatted-profile-alias-editor p{margin:0;color:#9fb0c2;font-size:12px;line-height:1.5}.chatted-profile-alias-editor form{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}.chatted-profile-alias-editor input{min-width:0}
.chatted-retention-control{position:relative;display:block!important;min-width:0}.chatted-retention-control>button{min-height:62px;display:grid;grid-template-columns:28px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:2px 8px;width:100%;padding:10px 12px;border-radius:15px;text-align:left}.chatted-retention-control>button>span{grid-row:1/3}.chatted-retention-control>button>b{align-self:end}.chatted-retention-control>button>small{grid-column:2;align-self:start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--chat-theme-muted,#93a4b8);font-size:8px}
.chatted-retention-options{position:fixed;z-index:6200;left:50%;top:50%;transform:translate(-50%,-50%);width:min(460px,calc(100vw - 24px));max-height:min(78dvh,660px);overflow:auto;overscroll-behavior:contain;padding:14px;border:1px solid rgba(56,189,248,.48);border-radius:22px;background:linear-gradient(155deg,#07111c,#0a2232);box-shadow:0 40px 130px rgba(0,0,0,.78),0 0 0 9999px rgba(1,5,9,.72);backdrop-filter:blur(18px)}.chatted-retention-options[hidden]{display:none!important}.chatted-retention-options>header{position:sticky;z-index:1;top:-14px;display:flex;align-items:center;justify-content:space-between;margin:-14px -14px 10px;padding:14px;border-bottom:1px solid rgba(255,255,255,.08);background:#091723}.chatted-retention-options>header button{width:36px;height:36px;padding:0;border-radius:12px}.chatted-retention-options>div{display:grid;gap:7px}.chatted-retention-options form{margin:0}.chatted-retention-options form button{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;gap:8px;width:100%;min-height:48px;padding:10px 12px;border:1px solid rgba(255,255,255,.09);border-radius:13px;background:#0e1c29;color:#eaf4fb;text-align:left}.chatted-retention-options form button:hover,.chatted-retention-options form button:focus-visible{border-color:#38bdf8}.chatted-retention-options form button.active{border-color:#67e8f9;background:linear-gradient(135deg,#12384d,#10283a);box-shadow:inset 3px 0 #67e8f9}.chatted-retention-options form button span{font-size:16px;color:#67e8f9}.chatted-retention-options form button b{font-size:11px}
.chatted-message-body>footer{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:8px!important;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}.chatted-message-body>footer::-webkit-scrollbar{display:none}.chatted-message-body>footer>*{flex:0 0 auto}.chatted-message-body>footer .chatted-reactions{display:flex;flex-wrap:nowrap;width:auto!important}.chatted-edit-button{color:#7dd3fc!important;font-weight:850}.chatted-edited-status{display:inline-flex;align-items:center;color:#8fa2b6;font-size:9px;font-weight:800;letter-spacing:.02em;white-space:nowrap}.chatted-edited-status:before{content:'✎';margin-right:3px;color:#67e8f9}
.chatted-edit-dialog .chatted-dialog-copy textarea{width:100%;min-height:128px;resize:vertical;padding:11px 12px;border:1px solid #294257;border-radius:12px;background:#07111b;color:#f4f8fb;font:inherit;line-height:1.5}.chatted-edit-dialog .chatted-dialog-copy textarea:focus{outline:2px solid rgba(56,189,248,.54);outline-offset:1px}
.chatted-decoy-room .chatted-message-feed{scroll-behavior:auto}.chatted-decoy-room .chatted-composer{position:relative}.chatted-decoy-room [data-decoy-message]{animation:none}.chatted-decoy-room .chatted-room-actions{visibility:hidden}
@media(max-width:700px){.chatted-retention-options{left:10px;right:10px;top:auto;bottom:calc(var(--chatted-mobile-bottom-height,58px) + 10px);transform:none;width:auto;max-height:72dvh}.chatted-profile-alias-editor form{grid-template-columns:1fr}.chatted-profile-alias-editor button{width:100%}.chatted-dialog.chatted-edit-dialog{grid-template-columns:44px minmax(0,1fr);max-height:92dvh;overflow:auto}.chatted-room-title .chatted-profile-alias{display:block;margin:2px 0 0;max-width:55vw}}

/* 9.22.30-R30 participant profiles and message long-press controls */
.chatted-participant-list{display:grid;gap:7px;margin-top:12px;padding-top:11px;border-top:1px solid rgba(255,255,255,.08)}.chatted-participant-item{border:1px solid rgba(148,163,184,.2);border-radius:14px;background:rgba(255,255,255,.035);overflow:hidden}.chatted-participant-summary{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:8px;width:100%;padding:9px 10px!important;border:0!important;border-radius:0!important;background:transparent!important;text-align:left;color:inherit}.chatted-participant-summary>span:nth-child(2){display:grid;min-width:0}.chatted-participant-summary strong,.chatted-participant-summary small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatted-participant-summary i{font-style:normal;transition:transform .16s ease}.chatted-participant-summary[aria-expanded="true"] i{transform:rotate(180deg)}.chatted-participant-details{padding:12px;border-top:1px solid rgba(148,163,184,.18);background:rgba(3,10,18,.52)}.chatted-participant-details[hidden]{display:none!important}.chatted-participant-profile-head{display:flex;align-items:center;gap:10px}.chatted-participant-profile-head>div{display:grid}.chatted-participant-details p{margin:9px 0;font-size:12px;line-height:1.55}.chatted-participant-details dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 9px;margin:9px 0 0}.chatted-participant-details dt{font-size:10px;font-weight:900;text-transform:uppercase;color:var(--chatted-muted,#93a4b8)}.chatted-participant-details dd{margin:0;min-width:0;overflow-wrap:anywhere;font-size:11px}.chatted-participant-private{color:var(--chatted-muted,#93a4b8)}
.chatted-message-sheet-layer{position:fixed;inset:0;z-index:10080;display:grid;align-items:end;justify-items:center;padding:18px;background:rgba(0,0,0,.58);backdrop-filter:blur(8px)}.chatted-message-sheet{width:min(520px,100%);max-height:min(78vh,680px);overflow:auto;border:1px solid rgba(56,189,248,.38);border-radius:24px;background:linear-gradient(155deg,#07111c,#0b2031);box-shadow:0 30px 90px rgba(0,0,0,.68);padding:16px}.chatted-message-sheet>header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.chatted-message-sheet>header h2{margin:3px 0 0;font-size:18px}.chatted-message-sheet>header button{width:36px;height:36px;padding:0}.chatted-message-sheet-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.chatted-message-sheet-actions button{min-height:55px;display:grid;place-items:center;gap:3px;padding:8px}.chatted-message-sheet-actions button span{font-size:20px}.chatted-message-sheet-reactions{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;margin-top:12px}.chatted-message-sheet-reactions button{min-width:0;padding:8px 3px;font-size:20px}.chatted-message-sheet-preview{margin:10px 0 0;padding:9px 11px;border-radius:12px;background:rgba(255,255,255,.06);font-size:11px;line-height:1.45;color:var(--chatted-muted,#cbd5e1);overflow-wrap:anywhere}@media(max-width:620px){.chatted-message-sheet-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.chatted-message-sheet-reactions{grid-template-columns:repeat(4,minmax(0,1fr))}.chatted-participant-summary{grid-template-columns:auto minmax(0,1fr) auto}.chatted-participant-summary>.chatted-identity-badges{grid-column:2/-1}}

/* 9.22.30-R30 touch and participant controls */
.chatted-message[data-message-id]{touch-action:pan-y;-webkit-touch-callout:none}
[data-participant-list][hidden]{display:none!important}
[data-participant-list-toggle][aria-expanded="true"]{border-color:rgba(56,189,248,.78);box-shadow:0 0 0 2px rgba(56,189,248,.14)}

/* C!HATTED! R30 / Android 1.1.27 — group lock decoys and nonparticipant God Admin read-only group oversight. */
.chatted-thread-readonly-note{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;align-items:center;padding:14px;border:1px solid rgba(56,189,248,.22);border-radius:16px;background:rgba(15,23,42,.72)}
.chatted-thread-readonly-note>span{grid-row:1/3;font-size:22px}.chatted-thread-readonly-note>b{color:#e0f2fe}.chatted-thread-readonly-note>small{color:#94a3b8}
.chatted-decoy-room[data-decoy-group="1"] .chatted-room-identity>div>p{white-space:normal}

/* C!HATTED! 9.22.32-R32 — account-owned shareable invite URLs. */
.chatted-account-invite-links{display:grid;gap:11px;margin:10px 12px;padding:13px;border:1px solid color-mix(in srgb,var(--chat-cyan,#38bdf8) 28%,var(--chat-theme-line,#243447));border-radius:14px;background:color-mix(in srgb,var(--chat-theme-sidebar,#0a1420) 82%,var(--chat-cyan,#38bdf8) 5%)}
.chatted-account-invite-links>header{display:grid;gap:3px}.chatted-account-invite-links>header strong{color:#f5fbff;font-size:12px}.chatted-account-invite-links>header small{color:var(--chat-muted,#9eb0c3);font-size:9px;line-height:1.4}
.chatted-account-invite-link{display:grid;gap:7px;margin:0!important;padding:10px;border:1px solid color-mix(in srgb,var(--chat-theme-line,#243447) 82%,transparent);border-radius:11px;background:rgba(255,255,255,.025)}
.chatted-account-invite-link>label{display:grid;gap:2px;min-width:0}.chatted-account-invite-link>label span{color:#eaf8ff;font-size:11px;font-weight:900}.chatted-account-invite-link>label small{color:var(--chat-muted,#9eb0c3);font-size:9px;line-height:1.4}
.chatted-account-invite-copy-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:stretch;min-width:0}.chatted-account-invite-copy-row input{width:100%;min-width:0;height:38px;padding:8px 9px;border:1px solid color-mix(in srgb,var(--chat-cyan,#38bdf8) 24%,var(--chat-theme-line,#243447));border-radius:9px;background:rgba(0,0,0,.24);color:#dff8ff;font:700 10px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;text-overflow:ellipsis}.chatted-account-invite-copy-row button{min-width:112px;min-height:38px;margin:0!important;padding:7px 10px!important}
.chatted-account-invite-disabled{display:grid;gap:4px;padding:10px;border:1px dashed color-mix(in srgb,#f59e0b 45%,var(--chat-theme-line,#243447));border-radius:11px;background:rgba(245,158,11,.06)}.chatted-account-invite-disabled strong{font-size:10px;color:#fde68a}.chatted-account-invite-disabled small{font-size:9px;color:var(--chat-muted,#9eb0c3);line-height:1.4}.chatted-account-invite-disabled a{font-size:10px;font-weight:900;color:var(--chat-cyan,#38bdf8)}
@media(max-width:420px){.chatted-account-invite-copy-row{grid-template-columns:1fr}.chatted-account-invite-copy-row button{width:100%;min-width:0}}

/* C!HATTED! 9.22.32-R32 — web participant cards, unclipped auto-delete sheet, compact editor. */
.chatted-room-control-sheet{width:min(590px,calc(100vw - 24px))}
.chatted-room-control-sheet>.chatted-participant-list{display:grid!important;grid-template-columns:1fr!important;width:100%!important;min-width:0!important;max-width:none!important;align-items:stretch!important;overflow:visible!important}
.chatted-room-control-sheet>.chatted-participant-list>.chatted-participant-item{display:block!important;grid-template-columns:none!important;width:100%!important;min-width:0!important;max-width:none!important;padding:0!important;align-items:initial!important;gap:0!important}
.chatted-participant-summary{grid-template-columns:44px minmax(0,1fr) auto 22px!important;min-width:0!important}
.chatted-participant-summary>span:nth-child(2),.chatted-participant-summary>span:nth-child(2)>strong,.chatted-participant-summary>span:nth-child(2)>small{min-width:0!important;max-width:100%!important}
.chatted-participant-details{display:block;width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box}
.chatted-participant-details[hidden]{display:none!important}
.chatted-participant-profile-head{display:grid!important;grid-template-columns:56px minmax(0,1fr)!important;width:100%!important;min-width:0!important}
.chatted-participant-profile-head>div{min-width:0!important}.chatted-participant-profile-head strong,.chatted-participant-profile-head a{overflow-wrap:anywhere;word-break:normal}
.chatted-participant-details p{max-width:none!important;overflow-wrap:anywhere;word-break:normal}
.chatted-participant-details dl{grid-template-columns:minmax(74px,auto) minmax(0,1fr)!important;width:100%!important;min-width:0!important}
.chatted-participant-details dt,.chatted-participant-details dd{min-width:0!important;max-width:100%!important}.chatted-participant-details dd,.chatted-participant-details dd a{overflow-wrap:anywhere!important;word-break:normal!important;white-space:normal!important}
body>.chatted-retention-options{position:fixed!important;z-index:2147483000!important;inset:50% auto auto 50%!important;transform:translate(-50%,-50%)!important;width:min(520px,calc(100vw - 28px))!important;max-height:min(82dvh,700px)!important;overflow:auto!important;isolation:isolate!important}
.chatted-edit-dialog .chatted-dialog-copy{display:grid;gap:10px}.chatted-edit-dialog .chatted-dialog-copy h2{margin:0}.chatted-edit-dialog .chatted-dialog-copy textarea{width:100%;min-width:0;box-sizing:border-box}
@media(max-width:700px){.chatted-room-control-sheet{left:8px!important;right:8px!important;width:auto!important}.chatted-participant-summary{grid-template-columns:40px minmax(0,1fr) 20px!important}.chatted-participant-summary>.chatted-badge-stack{display:none!important}.chatted-participant-details dl{grid-template-columns:1fr!important;gap:2px!important}.chatted-participant-details dd{margin-bottom:8px!important}body>.chatted-retention-options{inset:auto 10px calc(var(--chatted-mobile-bottom-height,58px) + 10px) 10px!important;transform:none!important;width:auto!important;max-height:72dvh!important}}


/* C!HATTED! 9.22.32-R32 — bounded history, in-chat search, reliable copy controls. */
.chatted-room-actions{display:flex;align-items:center;gap:7px}.chatted-room-search-button{width:42px;height:42px;border-radius:13px;padding:0;display:grid;place-items:center;font-size:23px;background:color-mix(in srgb,var(--chatted-accent) 12%,var(--chatted-panel));border:1px solid color-mix(in srgb,var(--chatted-accent) 38%,var(--chatted-line));color:var(--chatted-text)}
.chatted-history-search-panel{margin:10px 14px 0;padding:12px;border:1px solid color-mix(in srgb,var(--chatted-accent) 28%,var(--chatted-line));border-radius:16px;background:color-mix(in srgb,var(--chatted-panel) 94%,var(--chatted-accent) 6%);display:grid;gap:10px;min-width:0;box-shadow:0 14px 34px rgba(0,0,0,.18)}
.chatted-history-search-panel[hidden]{display:none!important}.chatted-history-search-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.chatted-history-search-panel>header>div{display:grid;gap:2px;min-width:0}.chatted-history-search-panel>header strong{font-size:14px}.chatted-history-search-panel>header small{color:var(--chatted-muted);font-size:11px}.chatted-history-search-panel>header>button{width:34px;height:34px;padding:0;border-radius:10px;background:transparent;color:var(--chatted-text)}
.chatted-history-search-panel form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.chatted-history-search-panel input{width:100%;min-width:0;height:42px;border-radius:12px;padding:0 12px}.chatted-history-search-panel form button{height:42px;padding:0 16px;border-radius:12px}
.chatted-history-search-nav{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px}.chatted-history-search-nav[hidden]{display:none!important}.chatted-history-search-nav span{text-align:center;font-size:12px;color:var(--chatted-muted);overflow-wrap:anywhere}.chatted-history-search-nav button{white-space:nowrap}
.chatted-history-search-results{display:grid;gap:7px;max-height:min(38dvh,360px);overflow:auto;overscroll-behavior:contain;padding-right:2px}.chatted-history-search-results[hidden]{display:none!important}.chatted-history-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;width:100%;text-align:left;padding:10px 11px;border-radius:12px;background:color-mix(in srgb,var(--chatted-bubble-incoming) 88%,transparent);border:1px solid var(--chatted-line);color:var(--chatted-text)}.chatted-history-result:hover,.chatted-history-result:focus-visible{border-color:var(--chatted-accent);transform:none}.chatted-history-result>span{display:grid;gap:3px;min-width:0}.chatted-history-result strong{font-size:12px}.chatted-history-result small{display:block;white-space:normal;overflow-wrap:anywhere;color:var(--chatted-muted);line-height:1.35}.chatted-history-result time{font-size:10px;color:var(--chatted-muted);white-space:nowrap}.chatted-history-load-more{width:100%}
.chatted-return-latest{justify-self:center;border-radius:999px;padding:9px 16px}.chatted-return-latest[hidden]{display:none!important}.chatted-return-latest b:empty{display:none}.chatted-return-latest b:not(:empty)::before{content:'· '}
.chatted-history-loader{display:grid;justify-items:center;gap:4px;padding:10px 8px 14px}.chatted-history-loader[hidden]{display:none!important}.chatted-history-loader small{font-size:10px;color:var(--chatted-muted)}.chatted-history-loader.loading button{pointer-events:none;opacity:.55}.chatted-history-loader.loading button::after{content:' …'}
.chatted-message.history-match{outline:2px solid var(--chatted-accent);outline-offset:3px;animation:chattedHistoryPulse 1.4s ease-out}@keyframes chattedHistoryPulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--chatted-accent) 55%,transparent)}100%{box-shadow:0 0 0 18px transparent}}
.chatted-main.history-browsing .chatted-message-feed{scroll-behavior:auto}.chatted-copy-url button.copied{border-color:#22c55e!important;color:#22c55e!important}
@media(max-width:700px){.chatted-room-actions{gap:4px}.chatted-room-search-button,.chatted-room-control-button{width:38px!important;height:38px!important}.chatted-history-search-panel{margin:7px 8px 0;padding:10px;border-radius:13px}.chatted-history-search-panel form{grid-template-columns:minmax(0,1fr) auto}.chatted-history-search-panel form button{padding:0 12px}.chatted-history-search-nav{grid-template-columns:1fr 1fr}.chatted-history-search-nav span{grid-column:1/-1;grid-row:1}.chatted-history-search-nav button{grid-row:2}.chatted-history-search-results{max-height:32dvh}.chatted-history-result{grid-template-columns:1fr}.chatted-history-result time{white-space:normal}}


/* 9.22.37 — native app PIN account controls */
.chatted-app-pin-controls{position:relative;display:grid;gap:12px;padding:16px;border:1px solid color-mix(in srgb,var(--chat-accent,#38bdf8) 48%,transparent);border-radius:18px;background:linear-gradient(145deg,rgba(9,18,32,.96),rgba(8,31,43,.84));box-shadow:0 18px 45px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.05);overflow:hidden}
.chatted-app-pin-controls:before{content:"";position:absolute;inset:-80% 35% auto -25%;height:190px;background:radial-gradient(circle,rgba(56,189,248,.28),transparent 67%);pointer-events:none}
.chatted-app-pin-controls>header,.chatted-app-pin-controls>form,.chatted-app-pin-controls>details,.chatted-app-pin-controls>.chatted-app-pin-state,.chatted-app-pin-controls>.chatted-app-pin-security-note{position:relative;z-index:1}
.chatted-app-pin-controls header{display:grid;gap:4px}.chatted-app-pin-controls header strong{font-size:15px;letter-spacing:.02em}.chatted-app-pin-controls header small,.chatted-app-pin-security-note{color:var(--muted,#94a3b8);line-height:1.45}
.chatted-app-pin-controls form{display:grid;gap:10px}.chatted-app-pin-controls label{display:grid;gap:6px;font-weight:700;font-size:12px}.chatted-app-pin-controls input{width:100%;box-sizing:border-box;min-height:46px;border-radius:12px;border:1px solid rgba(148,163,184,.32);background:rgba(2,8,18,.78);color:#fff;padding:0 13px;font-size:18px;letter-spacing:.24em}
.chatted-app-pin-controls button{width:100%}.chatted-app-pin-state{display:flex;align-items:center;gap:9px;padding:10px 12px;border-radius:12px;background:rgba(15,23,42,.76)}.chatted-app-pin-state.enabled span{color:#34d399;text-shadow:0 0 14px #34d399}.chatted-app-pin-state.disabled span{color:#94a3b8}
.chatted-app-pin-change{border-top:1px solid rgba(148,163,184,.18);padding-top:10px}.chatted-app-pin-change summary{cursor:pointer;font-weight:800;color:#bae6fd}.chatted-app-pin-change form{padding-top:12px}
@media(max-width:840px){.chatted-app-pin-controls{border-radius:15px;padding:14px}.chatted-app-pin-controls input{font-size:20px;min-height:50px}}

/* R45 God Admin navigation visibility */
.chatted-admin-tabs-primary{position:sticky;top:0;z-index:35;background:rgba(7,16,25,.96);backdrop-filter:blur(14px);padding-block:8px}
.chatted-admin-scorecard-link{color:inherit;text-decoration:none;display:block}.chatted-admin-scorecard-link article{height:100%;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.chatted-admin-scorecard-link:hover article{transform:translateY(-2px);border-color:var(--chat-accent,#38bdf8);box-shadow:0 16px 42px rgba(56,189,248,.12)}
#admin-section-workspace{scroll-margin-top:76px}
@media(max-width:700px){.chatted-admin-tabs-primary{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;position:sticky;top:0}.chatted-admin-tabs-primary a{flex:0 0 auto;white-space:nowrap}.chatted-admin-scorecard-link article{min-height:100%}}
/* 9.23.3 R46 performance: submission rail is lazy and isolated from normal chat rendering. */
[data-submission-items][data-tab-hidden="1"]{display:none!important}
.chatted-message-pending{opacity:.74;filter:saturate(.82)}
.chatted-message-pending .chatted-message-body{outline:1px dashed color-mix(in srgb,var(--chat-accent) 48%,transparent)}
.chatted-send-pending{font-size:8px;font-weight:900;letter-spacing:.12em;color:var(--chat-accent);animation:chattedPendingPulse 1s ease-in-out infinite alternate}
@keyframes chattedPendingPulse{from{opacity:.45}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.chatted-send-pending{animation:none}}

/* 9.23.7 R50 — chat-first people search and one reusable in-app profile surface. */
.chatted-start-tools{z-index:auto!important;isolation:auto!important;overflow:hidden}.chatted-start-tools-body{overflow-x:hidden!important}
.chatted-start-tools .chatted-search-results{position:relative!important;inset:auto!important;top:auto!important;left:auto!important;right:auto!important;margin:7px 0 0;max-height:min(38dvh,340px);overflow:auto;z-index:1!important;box-shadow:0 12px 28px rgba(0,0,0,.3)}
.chatted-search-result{grid-template-columns:auto minmax(0,1fr) auto;min-width:0;touch-action:manipulation}.chatted-search-result em{white-space:nowrap;font-weight:900}.chatted-directory-profile em{margin-left:auto;font-style:normal;font-size:10px;color:var(--chat-cyan);font-weight:900}.chatted-company-directory .chatted-directory-person{display:block}.chatted-company-directory .chatted-directory-profile{width:100%;box-sizing:border-box}
.chatted-profile-avatar-button{appearance:none;-webkit-appearance:none;padding:0!important;border:0!important;background:transparent!important;color:inherit!important;box-shadow:none!important;cursor:pointer;flex:0 0 auto;overflow:visible}.chatted-message-profile-button,.chatted-inline-profile-button{appearance:none;-webkit-appearance:none;border:0;background:transparent;color:var(--chat-cyan);padding:0;margin:0;font:inherit;cursor:pointer;text-decoration:none}.chatted-message-profile-button:hover,.chatted-inline-profile-button:hover{text-decoration:underline}
html.chatted-profile-popup-open{overflow:hidden}.chatted-profile-popup[hidden]{display:none!important}.chatted-profile-popup{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));isolation:isolate}.chatted-profile-popup-backdrop{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:0;background:rgba(1,7,14,.76);backdrop-filter:blur(7px);box-shadow:none}.chatted-profile-popup-card{position:relative;z-index:1;width:min(620px,100%);max-height:min(82dvh,760px);overflow:auto;border:1px solid color-mix(in srgb,var(--chat-cyan,#38bdf8) 38%,var(--chat-line));border-radius:24px;background:linear-gradient(145deg,color-mix(in srgb,var(--chat-theme-main,#07111c) 94%,#082f49 6%),color-mix(in srgb,var(--chat-theme-sidebar,#0a1420) 90%,#172554 10%));box-shadow:0 35px 100px rgba(0,0,0,.56),0 0 80px rgba(56,189,248,.12);color:#fff;outline:none;overscroll-behavior:contain}.chatted-profile-popup-card>header{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--chat-line);background:color-mix(in srgb,var(--chat-theme-main,#07111c) 92%,transparent);backdrop-filter:blur(15px)}.chatted-profile-popup-card>header>div{display:grid;gap:2px}.chatted-profile-popup-card>header .eyebrow{font-size:8px;letter-spacing:.18em;color:var(--chat-cyan);font-weight:950}.chatted-profile-popup-card>header strong{font-size:15px}.chatted-profile-popup-card>header>button{width:38px;height:38px;padding:0;border-radius:999px;background:rgba(255,255,255,.06);color:#fff;font-size:20px}
.chatted-profile-popup-content{padding:18px;display:grid;gap:16px}.chatted-profile-popup-loading,.chatted-profile-popup-error{min-height:190px;display:grid;place-items:center;align-content:center;gap:10px;text-align:center;color:var(--chat-muted)}.chatted-profile-popup-loading span{width:34px;height:34px;border:3px solid rgba(148,163,184,.24);border-top-color:var(--chat-cyan);border-radius:999px;animation:chattedProfileSpin .75s linear infinite}@keyframes chattedProfileSpin{to{transform:rotate(360deg)}}.chatted-profile-popup-hero{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:16px;padding:18px;border:1px solid var(--chat-line);border-radius:20px;background:radial-gradient(circle at 10% 10%,rgba(56,189,248,.14),transparent 44%),rgba(255,255,255,.025)}.chatted-profile-popup-hero>div{display:grid;gap:5px;min-width:0}.chatted-profile-popup-hero h2{margin:0;font-size:clamp(20px,4vw,30px);overflow-wrap:anywhere}.chatted-profile-popup-hero>div>strong{color:var(--chat-cyan);font-size:13px}.chatted-profile-popup-hero>div>small{font-size:9px;letter-spacing:.13em;color:var(--chat-muted);font-weight:900}.chatted-profile-popup-hero .chatted-identity-badges{margin-top:4px}.chatted-profile-popup-bio{margin:0;padding:15px 17px;border-left:3px solid var(--chat-cyan);background:rgba(56,189,248,.05);border-radius:0 14px 14px 0;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.chatted-profile-popup-details{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.chatted-profile-popup-details>div{padding:12px;border:1px solid var(--chat-line);border-radius:14px;background:rgba(255,255,255,.025);min-width:0}.chatted-profile-popup-details dt{font-size:8px;text-transform:uppercase;letter-spacing:.12em;color:var(--chat-muted);font-weight:900}.chatted-profile-popup-details dd{margin:4px 0 0;overflow-wrap:anywhere}.chatted-profile-popup-details a{color:var(--chat-cyan)}.chatted-profile-popup-actions{display:flex;justify-content:flex-end;gap:8px}.chatted-profile-popup-actions .button{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:700px){.chatted-start-tools .chatted-search-results{max-height:min(36dvh,300px)}.chatted-profile-popup{padding:0;place-items:end stretch}.chatted-profile-popup-backdrop{backdrop-filter:none;background:rgba(1,7,14,.62)}.chatted-profile-popup-card{width:100%;max-height:min(84dvh,760px);border-radius:24px 24px 0 0;border-bottom:0}.chatted-profile-popup-content{padding:14px}.chatted-profile-popup-hero{padding:14px;grid-template-columns:auto minmax(0,1fr)}.chatted-profile-popup-details{grid-template-columns:1fr}.chatted-profile-popup-actions{position:sticky;bottom:0;padding-top:6px}.chatted-profile-popup-actions .button{width:100%}}@media(prefers-reduced-motion:reduce){.chatted-profile-popup-loading span{animation:none}}


/* B!RANDED! 9.23.8-R51 — in-app profile settings + pre-content locked-chat gate. */
html.chatted-profile-settings-open,html.chatted-lock-popup-open{overflow:hidden}
.chatted-profile-settings-popup[hidden],.chatted-lock-popup[hidden]{display:none!important}
.chatted-profile-settings-popup,.chatted-lock-popup{position:fixed;inset:0;z-index:10070;display:grid;place-items:center;padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));isolation:isolate}
.chatted-profile-settings-popup>.chatted-overlay-backdrop,.chatted-lock-popup-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;background:rgba(1,7,14,.78);backdrop-filter:blur(8px)}
.chatted-profile-settings-card,.chatted-lock-popup-card{position:relative;z-index:1;width:min(980px,100%);max-height:min(90dvh,900px);overflow:auto;border:1px solid color-mix(in srgb,var(--chat-cyan,#38bdf8) 42%,var(--chat-line));border-radius:26px;background:linear-gradient(145deg,color-mix(in srgb,var(--chat-theme-main,#07111c) 96%,#082f49 4%),color-mix(in srgb,var(--chat-theme-sidebar,#0a1420) 91%,#172554 9%));box-shadow:0 38px 120px rgba(0,0,0,.64),0 0 90px rgba(56,189,248,.12);color:#fff;outline:none;overscroll-behavior:contain}
.chatted-profile-settings-card>header,.chatted-lock-popup-card>header{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 17px;border-bottom:1px solid var(--chat-line);background:color-mix(in srgb,var(--chat-theme-main,#07111c) 94%,transparent);backdrop-filter:blur(16px)}
.chatted-profile-settings-card>header>div,.chatted-lock-popup-card>header>div{display:grid;gap:2px}.chatted-profile-settings-card>header .eyebrow,.chatted-lock-popup-card>header .eyebrow{font-size:8px;letter-spacing:.18em;color:var(--chat-cyan);font-weight:950}.chatted-profile-settings-card>header>button,.chatted-lock-popup-card>header>button{width:40px;height:40px;padding:0;border-radius:999px;background:rgba(255,255,255,.07);color:#fff;font-size:21px}
.chatted-profile-settings-content{padding:16px}.chatted-profile-settings-form{display:grid;gap:14px}.chatted-profile-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.chatted-profile-settings-panel{display:grid;align-content:start;gap:12px;padding:16px;border:1px solid var(--chat-line);border-radius:20px;background:rgba(255,255,255,.025);min-width:0}.chatted-profile-settings-panel>header{display:flex;gap:10px;align-items:flex-start}.chatted-profile-settings-panel>header>span{display:grid;place-items:center;min-width:31px;height:31px;border-radius:10px;background:rgba(56,189,248,.1);color:var(--chat-cyan);font-weight:950;font-size:10px}.chatted-profile-settings-panel h2{margin:0;font-size:16px}.chatted-profile-settings-panel header p{margin:3px 0 0;color:var(--chat-muted);font-size:11px}.chatted-profile-settings-panel label,.chatted-profile-settings-panel fieldset{display:grid;gap:6px;min-width:0}.chatted-profile-settings-panel input,.chatted-profile-settings-panel select,.chatted-profile-settings-panel textarea{width:100%;min-width:0}.chatted-profile-settings-panel label.check{display:flex;align-items:center;gap:8px}.chatted-profile-settings-panel label.check input{width:auto}.chatted-profile-settings-panel fieldset{padding:12px;border:1px solid var(--chat-line);border-radius:14px}.chatted-profile-settings-panel fieldset label{display:flex;align-items:center;gap:8px}.chatted-settings-privacy-note{display:flex;gap:10px;padding:12px;border-left:3px solid var(--chat-cyan);background:rgba(56,189,248,.055);border-radius:0 14px 14px 0}.chatted-settings-privacy-note>span{color:var(--chat-cyan);font-size:20px}.chatted-settings-privacy-note p{margin:3px 0 0;color:var(--chat-muted);font-size:11px}.chatted-profile-settings-status{min-height:18px;color:var(--chat-cyan);font-size:11px;font-weight:800}.chatted-profile-settings-actions{position:sticky;bottom:-16px;z-index:4;display:flex;justify-content:flex-end;gap:8px;padding:13px 0 0;background:linear-gradient(transparent,color-mix(in srgb,var(--chat-theme-main,#07111c) 96%,transparent) 28%)}
.chatted-inline-link{padding:0!important;background:none!important;border:0!important;color:var(--chat-cyan)!important;box-shadow:none!important;text-align:left!important;font:inherit!important;text-decoration:underline!important}.chatted-sidebar-tools button{width:100%;padding:0;border:0;background:none;box-shadow:none;color:inherit;text-align:left;font:inherit}
.chatted-locked-placeholder{height:100%;min-height:280px;display:grid;place-items:center;align-content:center;gap:8px;text-align:center;color:var(--chat-muted);background:radial-gradient(circle at 50% 45%,rgba(56,189,248,.06),transparent 34%)}.chatted-locked-placeholder .chatted-lock-mark{font-size:34px}.chatted-locked-placeholder strong{color:#fff}.chatted-lock-popup{z-index:10120}.chatted-lock-popup-card{width:min(470px,100%);overflow:hidden}.chatted-lock-popup-body{display:grid;gap:13px;padding:24px;text-align:center}.chatted-lock-popup-mark{font-size:52px;filter:drop-shadow(0 0 20px rgba(56,189,248,.3))}.chatted-lock-popup-body h2{margin:0;font-size:25px}.chatted-lock-popup-body>p{margin:0 auto;max-width:390px;color:var(--chat-muted);line-height:1.55}.chatted-lock-popup-body form{display:grid;gap:10px;text-align:left}.chatted-lock-popup-body form label{display:grid;gap:6px}.chatted-lock-popup-body form button{margin-top:4px}.chatted-lock-popup-body form small{min-height:17px;color:#fda4af;text-align:center}.chatted-lock-popup-backdrop{background:rgba(1,7,14,.91);backdrop-filter:blur(12px)}
@media(max-width:700px){.chatted-profile-settings-popup,.chatted-lock-popup{padding:0;place-items:end stretch}.chatted-profile-settings-popup>.chatted-overlay-backdrop,.chatted-lock-popup-backdrop{backdrop-filter:none}.chatted-profile-settings-card{width:100%;max-height:92dvh;border-radius:25px 25px 0 0;border-bottom:0}.chatted-profile-settings-content{padding:12px}.chatted-profile-settings-grid{grid-template-columns:1fr}.chatted-profile-settings-panel{padding:14px}.chatted-profile-settings-actions{bottom:-12px}.chatted-profile-settings-actions button{flex:1}.chatted-lock-popup{place-items:center stretch;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom))}.chatted-lock-popup-card{width:100%;max-height:none;border-radius:24px}.chatted-lock-popup-body{padding:22px 18px 24px}.chatted-lock-popup-body input{min-height:52px;font-size:18px}.chatted-lock-popup-body button{min-height:50px}}
@media(prefers-reduced-motion:reduce){.chatted-profile-settings-card,.chatted-lock-popup-card{scroll-behavior:auto}}


/* R52 — unified in-app control workspaces */
.chatted-unified-control-popup[hidden]{display:none!important}
.chatted-unified-control-popup{position:fixed;inset:0;z-index:2147482400;display:grid;place-items:center;padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))}
.chatted-unified-control-popup>.chatted-overlay-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;background:rgba(1,6,12,.82);backdrop-filter:blur(14px);cursor:default}
.chatted-unified-control-card{position:relative;z-index:1;width:min(1120px,96vw);max-height:min(92dvh,980px);display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid color-mix(in srgb,var(--chat-accent,#38bdf8) 42%,rgba(255,255,255,.14));border-radius:26px;background:linear-gradient(155deg,rgba(12,24,36,.985),rgba(4,10,18,.99));box-shadow:0 32px 110px rgba(0,0,0,.7),0 0 65px color-mix(in srgb,var(--chat-accent,#38bdf8) 16%,transparent);outline:none}
.chatted-unified-control-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid rgba(255,255,255,.1);background:linear-gradient(90deg,color-mix(in srgb,var(--chat-accent,#38bdf8) 12%,transparent),transparent)}
.chatted-unified-control-head>div{display:grid;gap:3px;min-width:0}.chatted-unified-control-head strong{font-size:clamp(1.05rem,2vw,1.5rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chatted-unified-control-head small{color:var(--chat-muted,#9bb0c2)}
.chatted-unified-control-head>button{width:42px;height:42px;border-radius:14px;font-size:1.45rem;flex:none}
.chatted-unified-control-content{min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px;scrollbar-gutter:stable}
.chatted-unified-control-content>.chatted-room-control-sheet{position:static!important;inset:auto!important;display:block!important;width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;transform:none!important;box-shadow:none!important;border:0!important;background:transparent!important;padding:0!important}
.chatted-unified-control-content>.chatted-room-control-sheet>header{display:none!important}
.chatted-unified-control-content>.chatted-control-drawer-body{display:grid!important;position:static!important;inset:auto!important;width:100%!important;max-height:none!important;overflow:visible!important;box-shadow:none!important;border:0!important;background:transparent!important;padding:0!important}
.chatted-unified-control-content .chatted-admin-page,.chatted-unified-control-content .chatted-management-page,.chatted-unified-control-content .chatted-group-profile-page,.chatted-unified-control-content .chatted-group-public-page{width:100%;max-width:none;margin:0;padding:0 0 24px}
.chatted-unified-control-content .chatted-admin-hero,.chatted-unified-control-content .chatted-management-page>header{margin-top:0}
.chatted-unified-control-content .chatted-back-link,.chatted-unified-control-content a[href^="/chatted/"][class*="back"]{display:none!important}
html.chatted-unified-control-open,html.chatted-unified-control-open body{overflow:hidden!important}
.chatted-message-compact-footer{display:flex!important;align-items:center;gap:9px;min-height:34px}
.chatted-message-controls-button{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:5px 10px;border-radius:999px;font-size:.78rem}.chatted-message-controls-button span{letter-spacing:.08em}.chatted-message-controls-button b{font-size:.72rem}
.chatted-message-control-source[hidden]{display:none!important}
.chatted-message-sheet-layer,.chatted-thread-sheet-layer{z-index:2147482450!important}
@media(max-width:840px){
 .chatted-unified-control-popup{align-items:end;padding:0}
 .chatted-unified-control-popup>.chatted-overlay-backdrop{backdrop-filter:blur(8px)}
 .chatted-unified-control-card{width:100%;max-height:94dvh;border-radius:24px 24px 0 0;border-left:0;border-right:0;border-bottom:0}
 .chatted-unified-control-head{padding:14px max(14px,env(safe-area-inset-right)) 13px max(14px,env(safe-area-inset-left))}
 .chatted-unified-control-content{padding:14px max(14px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}
 .chatted-unified-control-content .table-wrap{overflow:auto;max-width:100%}
 .chatted-message-controls-button b{display:none}
}
@media(prefers-reduced-motion:no-preference){.chatted-unified-control-card{animation:chattedR52ControlIn .18s ease-out both}@keyframes chattedR52ControlIn{from{opacity:.4;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}}


/* R53 — BRANDED/H!IRED! workspaces remain inside the C!HATTED! shell. */
.chatted-unified-control-content.is-branded-workspace{padding:0!important;overflow:hidden!important;background:#071019}
.chatted-branded-workspace-shell{position:relative;width:100%;height:min(80dvh,880px);min-height:520px;background:#071019;overflow:hidden}
.chatted-branded-workspace-frame{display:block;width:100%;height:100%;border:0;background:#071019;color-scheme:dark}
.chatted-branded-workspace-loading{position:absolute;inset:0;z-index:2;display:grid;place-items:center;align-content:center;gap:12px;background:#071019;color:#dff7ff}.chatted-branded-workspace-loading span{width:34px;height:34px;border:3px solid rgba(255,255,255,.12);border-top-color:var(--chat-accent,#38bdf8);border-radius:50%;animation:chattedR53WorkspaceSpin .75s linear infinite}.chatted-branded-workspace-loading b{font-size:.82rem;letter-spacing:.03em}@keyframes chattedR53WorkspaceSpin{to{transform:rotate(360deg)}}
@media(max-width:840px){.chatted-branded-workspace-shell{height:calc(94dvh - 74px);min-height:420px}.chatted-unified-control-content.is-branded-workspace{padding-bottom:env(safe-area-inset-bottom)!important}}
@media(prefers-reduced-motion:reduce){.chatted-branded-workspace-loading span{animation-duration:1.4s}}

/* R54 · live message engagements + high-intensity control notification popups */
.chatted-message-engagements{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-width:0;margin-left:auto}
.chatted-engagement-pill{display:inline-flex;align-items:center;gap:4px;min-height:25px;padding:3px 7px;border:1px solid color-mix(in srgb,var(--chat-line,#2a4055) 85%,transparent);border-radius:999px;background:color-mix(in srgb,var(--chat-sidebar,#0a1622) 92%,transparent);color:var(--chat-text,#dceaf4);font-size:12px;line-height:1;cursor:pointer;transition:transform .14s ease,border-color .14s ease,background .14s ease}
.chatted-engagement-pill:hover,.chatted-engagement-pill:focus-visible{transform:translateY(-1px);border-color:var(--chat-accent,#38bdf8);outline:none}.chatted-engagement-pill.mine{border-color:color-mix(in srgb,var(--chat-accent,#38bdf8) 72%,transparent);background:color-mix(in srgb,var(--chat-accent,#38bdf8) 15%,transparent)}.chatted-engagement-pill b{font-size:9px;color:var(--chat-muted,#9fb5c7)}
.chatted-message-engagements .chatted-read-receipt,.chatted-message-engagements .chatted-edited-status{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}.chatted-message-engagements .chatted-read-receipt[hidden]{display:none!important}
.chatted-control-notification-layer{position:fixed;z-index:2147483550;inset:0;display:grid;place-items:center;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:radial-gradient(circle at 50% 18%,color-mix(in srgb,var(--chat-accent,#38bdf8) 16%,transparent),transparent 38%),rgba(0,4,9,.84);backdrop-filter:blur(16px);animation:chatted-layer-in .16s ease-out}
.chatted-control-notification-layer.closing{opacity:0;transition:opacity .13s ease}.chatted-control-notification-card{width:min(620px,96vw);overflow:hidden;border:1px solid color-mix(in srgb,var(--chat-accent,#38bdf8) 55%,rgba(255,255,255,.15));border-radius:26px;background:linear-gradient(155deg,rgba(10,27,41,.99),rgba(4,10,18,.995));box-shadow:0 36px 120px rgba(0,0,0,.74),0 0 72px color-mix(in srgb,var(--chat-accent,#38bdf8) 16%,transparent);color:var(--chat-text,#eef7ff)}
.chatted-control-notification-card>header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;padding:19px 20px;border-bottom:1px solid rgba(255,255,255,.1);background:linear-gradient(90deg,color-mix(in srgb,var(--chat-accent,#38bdf8) 12%,transparent),transparent)}.chatted-control-notification-card h2{margin:2px 0 0;font-size:clamp(1.1rem,3vw,1.55rem)}.chatted-control-notification-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:17px;background:linear-gradient(145deg,color-mix(in srgb,var(--chat-accent,#38bdf8) 30%,#071019),#071019);border:1px solid color-mix(in srgb,var(--chat-accent,#38bdf8) 50%,transparent);font-size:22px;font-weight:1000}.chatted-control-notification-close{width:40px;height:40px;padding:0;border-radius:13px;font-size:1.35rem}.chatted-control-notification-card>p{margin:0;padding:20px;color:var(--chat-muted,#afc0cf);font-size:1rem;line-height:1.55}.chatted-control-notification-card>footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px;padding:0 20px 18px}.chatted-control-notification-card>small{display:block;min-height:18px;padding:0 20px 17px;color:var(--chat-muted,#9fb0c0);text-align:right}
@media(max-width:700px){.chatted-message-compact-footer{align-items:flex-start!important}.chatted-message-engagements{margin-left:0;flex:1}.chatted-control-notification-layer{align-items:end;padding:0}.chatted-control-notification-card{width:100%;border-radius:25px 25px 0 0;border-left:0;border-right:0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom)}.chatted-control-notification-card>header{padding:15px 16px}.chatted-control-notification-card>p{padding:18px 16px}.chatted-control-notification-card>footer{padding:0 16px 16px}.chatted-control-notification-card>small{padding:0 16px 14px}}

/* B!RANDED! 9.23.12-R55: attachment privacy diagnostics, anonymous forwarding, and swipe-to-reply. */
.chatted-forwarded-message-label{display:inline-flex;align-items:center;gap:.38rem;margin:.15rem 0 .42rem;padding:.28rem .55rem;border:1px solid color-mix(in srgb,var(--chat-cyan) 38%,transparent);border-radius:999px;background:color-mix(in srgb,var(--chat-cyan) 9%,transparent);color:var(--chat-theme-muted,#93a4b8);font-size:.68rem;font-weight:900;letter-spacing:.035em;text-transform:uppercase}
.chatted-forwarded-message-label span{color:var(--chat-cyan);font-size:.85rem}
.chatted-forward-targets{display:grid;gap:.45rem;max-height:min(55vh,520px);overflow:auto;padding:.15rem}
.chatted-forward-target{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.7rem;width:100%;padding:.68rem .72rem;text-align:left;border:1px solid var(--chat-theme-line,#243447);border-radius:14px;background:color-mix(in srgb,var(--chat-theme-incoming,#121e2b) 88%,black);color:inherit;cursor:pointer}
.chatted-forward-target:hover,.chatted-forward-target:focus-visible{border-color:var(--chat-cyan);box-shadow:0 0 0 2px color-mix(in srgb,var(--chat-cyan) 16%,transparent)}
.chatted-forward-target>span:nth-child(2){min-width:0;display:grid;gap:.14rem}.chatted-forward-target strong,.chatted-forward-target small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatted-forward-target small{color:var(--chat-theme-muted,#93a4b8)}.chatted-forward-target em{font-style:normal;color:var(--chat-cyan);font-size:.72rem;font-weight:900}
.chatted-diagnostic-wide-label,.chatted-diagnostic-wide-value{grid-column:1/-1!important}.chatted-diagnostic-wide-label{background:#251506!important;color:#fcd34d!important}.chatted-diagnostic-wide-value{padding:0!important;background:#080d14!important}
.chatted-attachment-forensic-table-wrap{max-width:100%;overflow:auto}.chatted-attachment-forensic-table{width:100%;min-width:940px;border-collapse:collapse;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.67rem}.chatted-attachment-forensic-table th,.chatted-attachment-forensic-table td{vertical-align:top;padding:.58rem;border:1px solid rgba(251,191,36,.16);text-align:left}.chatted-attachment-forensic-table th{position:sticky;top:0;background:#171107;color:#fcd34d;z-index:1}.chatted-attachment-forensic-table td{background:#0b111b;color:#dbeafe}.chatted-attachment-forensic-table strong,.chatted-attachment-forensic-table small,.chatted-attachment-forensic-table code{display:block}.chatted-attachment-forensic-table small{margin-top:.2rem;color:#94a3b8}.chatted-attachment-forensic-table code{max-width:220px;margin-top:.3rem;overflow-wrap:anywhere;color:#bae6fd}.chatted-attachment-forensic-table pre{max-width:420px;max-height:220px;margin:0;overflow:auto;white-space:pre-wrap;color:#e2e8f0}
@media (max-width:780px),(pointer:coarse){
  .chatted-message[data-swipe-reply="1"]{position:relative;touch-action:pan-y}
  .chatted-message[data-swipe-reply="1"]::before{content:'↩ Reply';position:absolute;left:.2rem;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:58px;height:34px;border-radius:999px;background:color-mix(in srgb,var(--chat-cyan) 20%,#071019);border:1px solid color-mix(in srgb,var(--chat-cyan) 45%,transparent);color:var(--chat-cyan);font-size:.68rem;font-weight:950;letter-spacing:.04em;opacity:0;transition:opacity .12s ease}
  .chatted-message.chatted-swipe-reply-active::before{opacity:1}
  .chatted-message.chatted-swipe-reply-active>.chatted-avatar,.chatted-message.chatted-swipe-reply-active>.chatted-message-body{transform:translateX(var(--chatted-swipe-reply-x,0px));transition:none}
  .chatted-message>.chatted-avatar,.chatted-message>.chatted-message-body{transition:transform .16s ease}
  .chatted-forward-targets{max-height:60vh}
}

/* B!RANDED! 9.23.12-R55B: swipe-to-reply commit hotfix + real forward-target avatars. */
@media(max-width:900px){.chatted-message.chatted-swipe-reply-committed>.chatted-message-body{box-shadow:0 0 0 2px color-mix(in srgb,var(--chat-cyan) 45%,transparent),0 0 28px color-mix(in srgb,var(--chat-cyan) 20%,transparent)}}

/* R56 — password recovery + username-only account safety */
.chatted-account-security-controls,.chatted-username-only-reset-zone{display:grid;gap:12px;margin:10px 12px;padding:14px;border:1px solid color-mix(in srgb,var(--chat-theme-line,#243447) 80%,transparent);border-radius:16px;background:color-mix(in srgb,var(--chat-theme-panel,#0b1621) 94%,transparent)}
.chatted-account-security-controls>header,.chatted-username-only-reset-zone>header{display:grid;gap:3px}.chatted-account-security-controls>header strong,.chatted-username-only-reset-zone>header strong{font-size:13px;letter-spacing:.02em}.chatted-account-security-controls>header small,.chatted-username-only-reset-zone>header small{color:var(--chat-muted,#91a4b7);line-height:1.45}
.chatted-account-security-controls form,.chatted-username-only-reset-zone form,.chatted-username-only-signout{display:grid;gap:9px}.chatted-account-security-controls label,.chatted-username-only-reset-zone label,.chatted-username-only-signout label{display:grid;gap:5px;font-size:11px;font-weight:800}.chatted-account-security-controls input,.chatted-username-only-reset-zone input,.chatted-username-only-signout input{width:100%;min-height:40px;box-sizing:border-box;border:1px solid var(--chat-line,#2b4055);border-radius:10px;background:#06111b;color:#fff;padding:9px 10px}
.chatted-username-only-recovery-warning,.chatted-account-recovery-unverified,.chatted-signout-warning{display:grid;gap:4px;padding:10px 11px;border:1px solid rgba(251,191,36,.32);border-radius:12px;background:rgba(120,53,15,.16)}
.chatted-username-only-recovery-warning strong,.chatted-signout-warning strong{color:#fde68a}.chatted-username-only-recovery-warning small,.chatted-account-recovery-unverified small,.chatted-signout-warning small{color:#cbd5e1;line-height:1.45}
.chatted-username-only-reset-zone{border-color:rgba(248,113,113,.45);background:linear-gradient(145deg,rgba(127,29,29,.2),rgba(9,17,27,.96))}.chatted-username-only-reset-warning{display:grid;gap:7px;padding:11px;border:1px solid rgba(248,113,113,.35);border-radius:12px;background:rgba(69,10,10,.32)}.chatted-username-only-reset-warning strong{color:#fecaca}.chatted-username-only-reset-warning p{margin:0;color:#d9e2ec;font-size:11px;line-height:1.48}.chatted-destructive-confirm{grid-template-columns:auto 1fr!important;align-items:flex-start!important;font-weight:700!important}.chatted-destructive-confirm input{width:18px!important;min-height:18px!important;margin-top:1px}.chatted-username-only-reset-zone .danger{background:#7f1d1d!important;border-color:#ef4444!important;color:#fff!important}
.chatted-control-drawer-logout.chatted-username-only-signout{padding:12px!important;border:1px solid rgba(251,191,36,.25)!important;border-radius:14px!important;margin:10px 12px max(12px,var(--chatted-safe-bottom))!important}.chatted-suspended-username-signout{display:grid!important;gap:8px;max-width:420px}.chatted-suspended-username-signout label{display:grid;gap:5px}.chatted-suspended-username-signout input{min-height:42px;border-radius:10px;padding:8px 10px}
@media(max-width:700px){.chatted-account-security-controls,.chatted-username-only-reset-zone{margin:8px 8px;padding:12px}.chatted-account-security-controls input,.chatted-username-only-reset-zone input,.chatted-username-only-signout input{font-size:16px}}

/* R57 platform-aware installers + C!HATTED! service email */
.chatted-account-platform-download{width:calc(100% - 24px);text-align:left;font:inherit;cursor:pointer}
.chatted-account-platform-download[hidden],[data-chatted-desktop-install][hidden]{display:none!important}
.chatted-service-mail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:14px;align-items:start}
.chatted-service-mail-current{padding:16px;border:1px solid rgba(73,217,255,.28);border-radius:16px;background:linear-gradient(145deg,rgba(8,18,30,.96),rgba(14,25,40,.9))}
.chatted-service-mail-current h3{margin:6px 0;color:#fff;word-break:break-word}.chatted-service-mail-current p{margin:6px 0;color:var(--chat-muted)}
@media(max-width:760px){.chatted-service-mail-grid{grid-template-columns:1fr}}


/* R65 — participant disclosure chevron + external website embed admin polish. */
.chatted-participant-summary>.chatted-participant-chevron{display:block!important;width:9px!important;height:9px!important;border-right:2px solid currentColor!important;border-bottom:2px solid currentColor!important;transform:rotate(45deg)!important;transform-origin:50% 50%!important;opacity:.72!important;font-size:0!important;line-height:0!important;justify-self:center!important;transition:transform .16s ease,opacity .16s ease!important}
.chatted-participant-summary[aria-expanded="true"]>.chatted-participant-chevron{transform:rotate(225deg)!important;opacity:1!important}
.chatted-external-embed-admin{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:18px;margin:18px 0}
.chatted-external-embed-admin .chatted-embed-code{display:grid;gap:10px}.chatted-external-embed-admin textarea{width:100%;min-height:126px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;line-height:1.5}.chatted-embed-preview{min-height:250px;border:1px solid rgba(56,189,248,.25);border-radius:18px;overflow:hidden;background:#071019}.chatted-embed-preview iframe{display:block;width:100%;height:100%;min-height:250px;border:0}
@media(max-width:800px){.chatted-external-embed-admin{grid-template-columns:1fr}.chatted-participant-summary>.chatted-participant-chevron{align-self:center}}
.chatted-embed-admin-launchpad{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.chatted-embed-admin-launchpad article{display:grid;gap:5px;padding:14px;border:1px solid rgba(56,189,248,.15);border-radius:14px;background:rgba(56,189,248,.035)}.chatted-embed-admin-launchpad article>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#0e2a3b;color:#7dd3fc;font-size:9px;font-weight:950}.chatted-embed-admin-launchpad strong{font-size:12px}.chatted-embed-admin-launchpad small{color:#7893a5;line-height:1.45}.chatted-embed-advanced-quick-code{margin-top:14px;padding:10px 12px;border:1px solid rgba(255,255,255,.07);border-radius:13px;background:rgba(255,255,255,.018)}.chatted-embed-advanced-quick-code>summary{cursor:pointer;color:#8fa9b8;font-size:11px;font-weight:850}.chatted-embed-advanced-quick-code[open]>summary{margin-bottom:12px;color:#cceaf5}@media(max-width:900px){.chatted-embed-admin-launchpad{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.chatted-embed-admin-launchpad{grid-template-columns:1fr}}
/* R72 Website Support conversation designation + settings relocation */
.chatted-website-support-badge{display:inline-flex;align-items:center;padding:4px 7px;border:1px solid rgba(56,189,248,.35);border-radius:999px;background:rgba(56,189,248,.08);color:#89e7ff;font-size:8px;font-weight:1000;letter-spacing:.12em}.chatted-website-support-strip{display:grid;gap:3px;margin:8px 12px 0;padding:10px 12px;border:1px solid rgba(56,189,248,.22);border-radius:13px;background:linear-gradient(90deg,rgba(56,189,248,.08),rgba(139,92,246,.04));color:#dff9ff}.chatted-website-support-strip span{font-size:10px;font-weight:950;letter-spacing:.06em}.chatted-website-support-strip small{color:#8dacbd;font-size:9px;line-height:1.5}.external-badge.website-support{border-color:rgba(56,189,248,.38);background:rgba(56,189,248,.11);color:#8be9ff}.chatted-settings-shortcut{display:grid;gap:9px;padding:12px;border:1px solid rgba(56,189,248,.16);border-radius:14px;background:rgba(56,189,248,.035)}.chatted-settings-shortcut header{display:grid;gap:2px}.chatted-settings-shortcut header small{color:var(--chatted-muted,#8ca4b5);font-size:9px;line-height:1.4}.chatted-settings-shortcut button{width:100%}

/* R82 — website workstream navigation + God Admin read-only oversight + jump-to-latest chevron. */
.chatted-conversation-tabs,.chatted-conversation-tabs.god-tabs,.chatted-conversation-tabs.user-tabs{display:flex!important;grid-template-columns:none!important;gap:6px!important;margin:7px 8px 9px!important;padding:0 0 5px!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;scrollbar-width:thin;scroll-snap-type:x proximity}
.chatted-conversation-tabs button{position:relative!important;display:grid!important;grid-template-columns:auto auto!important;grid-template-rows:auto auto!important;align-items:center!important;justify-content:center!important;column-gap:5px!important;row-gap:1px!important;flex:0 0 auto!important;min-width:94px!important;min-height:48px!important;padding:6px 8px!important;scroll-snap-align:start;font-size:16px!important}
.chatted-conversation-tabs button>span{grid-row:1/3;font-size:17px}.chatted-conversation-tabs button>b{font-size:9px;line-height:1.05;white-space:nowrap;color:inherit}.chatted-conversation-tabs button>small{justify-self:start;min-width:16px!important;height:15px!important;font-size:7px!important}.chatted-conversation-tabs button>i[data-submission-unread-badge]{position:absolute;right:3px;top:3px;display:grid;place-items:center;min-width:15px;height:15px;padding:0 3px;border-radius:999px;background:#ef4444;color:white;font-size:7px;font-style:normal;font-weight:950;box-shadow:0 0 0 2px var(--chat-sidebar,#0b1621)}
.chatted-conversation-tabs [data-conversation-tab-button="website_chat"]{--tab-accent:#38bdf8}.chatted-conversation-tabs [data-conversation-tab-button="admin_support"]{--tab-accent:#22d3ee}.chatted-conversation-tabs [data-conversation-tab-button="moderation"]{--tab-accent:#f59e0b}.chatted-conversation-tabs [data-conversation-tab-button="applications"]{--tab-accent:#34d399}.chatted-conversation-tabs [data-conversation-tab-button="website_other"]{--tab-accent:#a78bfa}
.chatted-oversight-key{display:flex;align-items:flex-start;gap:6px;margin:-1px 9px 8px;padding:7px 8px;border:1px solid rgba(245,158,11,.2);border-radius:10px;background:rgba(245,158,11,.055);color:#aab8c6;font-size:8px;line-height:1.35}.chatted-oversight-key strong{color:#fde68a;white-space:nowrap}
.chatted-readonly-badge{display:inline-flex!important;align-items:center;gap:2px;padding:3px 5px!important;border:1px solid rgba(245,158,11,.35)!important;border-radius:999px!important;background:rgba(245,158,11,.1)!important;color:#fde68a!important;font-size:6px!important;line-height:1!important;font-weight:1000!important;white-space:nowrap!important}
.chatted-main{position:relative}.chatted-message-feed-shell{position:relative;display:flex;flex:1;min-height:0;min-width:0;overflow:hidden}.chatted-message-feed-shell>.chatted-message-feed{flex:1;min-height:0;min-width:0}.chatted-return-latest{position:absolute!important;z-index:14!important;right:10px!important;bottom:10px!important;display:grid!important;place-items:center!important;width:28px!important;height:30px!important;min-width:28px!important;max-width:28px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#e8fbff!important;box-shadow:none!important;backdrop-filter:none!important;filter:drop-shadow(0 2px 3px rgba(0,0,0,.78));overflow:visible!important;transition:opacity .14s ease,transform .14s ease!important;touch-action:manipulation}.chatted-return-latest::before{content:"";position:absolute;inset:0;pointer-events:none}.chatted-return-latest>.chatted-return-latest-chevron{display:block;width:12px;height:12px;border-right:3px solid currentColor;border-bottom:3px solid currentColor;transform:translateY(-3px) rotate(45deg);box-sizing:border-box;pointer-events:none}.chatted-return-latest>b{position:absolute;right:17px;top:-2px;display:block;min-width:0;height:auto;padding:0;border:0;border-radius:0;background:transparent!important;color:#fff;font-size:8px;line-height:1;font-weight:1000;text-shadow:0 1px 3px #000;pointer-events:none}.chatted-return-latest>b:empty{display:none}.chatted-return-latest>b:not(:empty)::before{content:none!important}.chatted-return-latest[hidden]{display:none!important}.chatted-return-latest:hover,.chatted-return-latest:focus-visible{transform:translateY(-2px);outline:1px solid color-mix(in srgb,var(--chat-cyan,#38bdf8) 70%,transparent);outline-offset:1px}
@media(max-width:700px){.chatted-conversation-tabs button{min-width:88px!important;min-height:45px!important;padding:5px 7px!important}.chatted-conversation-tabs button>b{font-size:8px}.chatted-oversight-key{margin-inline:6px}.chatted-return-latest{right:max(8px,var(--chatted-safe-right,0px))!important;bottom:max(8px,var(--chatted-safe-bottom,0px))!important;width:28px!important;height:30px!important;min-width:28px!important;max-width:28px!important}}
/* R84I sticky control headers + clearer message actions */
.chatted-room-control-sheet>header{position:sticky;top:-14px;z-index:20;margin:-14px -14px 10px;padding:14px 16px 12px;background:linear-gradient(180deg,rgba(7,17,28,.995),rgba(8,22,34,.97));border-bottom:1px solid rgba(56,189,248,.18);backdrop-filter:blur(14px)}
.chatted-message-sheet{overflow:hidden;padding:0}
.chatted-message-sheet>header{position:sticky;top:0;z-index:20;padding:14px 16px 12px;background:linear-gradient(180deg,#07111c,#091a28);border-bottom:1px solid rgba(56,189,248,.18)}
.chatted-message-sheet-scroll{max-height:min(68vh,590px);overflow:auto;padding:0 16px 16px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.chatted-message-action-group{display:grid;gap:7px;margin-top:12px}
.chatted-message-action-group>small{font-size:9px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;color:var(--chat-muted,#91a9bb)}
.chatted-message-action-group .chatted-message-sheet-actions{margin-top:0}
.chatted-message-action-group.danger{padding-top:8px;border-top:1px solid rgba(248,113,113,.14)}
.chatted-thread-sheet>header,.chatted-dialog>header{position:sticky;top:0;z-index:10}
@media(max-width:700px){
  .chatted-room-control-sheet>header{top:-14px}
  .chatted-message-sheet-layer{padding:0;align-items:end}
  .chatted-message-sheet{width:100%;max-height:88dvh;border-radius:24px 24px 0 0;border-bottom:0}
  .chatted-message-sheet-scroll{max-height:calc(88dvh - 64px);padding-bottom:max(18px,env(safe-area-inset-bottom))}
  .chatted-message-sheet>header{padding-top:max(14px,env(safe-area-inset-top))}
}
.chatted-feature-status,.chatted-feature-folders{display:inline-grid;place-items:center;min-height:18px;padding:2px 5px;border-radius:7px;border:1px solid rgba(56,189,248,.24);font-size:7px;line-height:1;font-weight:900;letter-spacing:.05em;color:var(--chat-cyan,#67e8f9);background:rgba(56,189,248,.07)}
/* R84K mobile popup bottom clearance */
@media(max-width:700px){
  .chatted-room-control-sheet{
    padding-bottom:calc(88px + env(safe-area-inset-bottom))!important;
    scroll-padding-bottom:calc(104px + env(safe-area-inset-bottom));
  }
  .chatted-message-sheet-scroll{
    padding-bottom:calc(96px + env(safe-area-inset-bottom))!important;
    scroll-padding-bottom:calc(112px + env(safe-area-inset-bottom));
  }
  .chatted-dialog,
  .chatted-thread-sheet{
    padding-bottom:calc(88px + env(safe-area-inset-bottom));
    scroll-padding-bottom:calc(104px + env(safe-area-inset-bottom));
  }
}
/* R84L remove gold leakage from C!HATTED! control sheets */
.chatted-message-sheet-actions button,
.chatted-message-sheet-reactions button,
.chatted-message-reminder-choices button,
.chatted-room-control-sheet button:not(.danger),
.chatted-composer-tool-grid button,
.chatted-search-quick-tools button{
  color:var(--chat-theme-text,#eef7ff)!important;
  border-color:color-mix(in srgb,var(--chat-cyan,#38bdf8) 30%,rgba(148,163,184,.22))!important;
  background:
    linear-gradient(145deg,
      color-mix(in srgb,var(--chat-room-b,#0b2440) 86%,transparent),
      color-mix(in srgb,var(--chat-room-a,#071019) 96%,transparent))!important;
}
.chatted-message-sheet-actions button:hover,
.chatted-message-sheet-reactions button:hover,
.chatted-message-reminder-choices button:hover,
.chatted-room-control-sheet button:not(.danger):hover{
  border-color:color-mix(in srgb,var(--chat-cyan,#38bdf8) 68%,rgba(148,163,184,.3))!important;
  background:
    linear-gradient(145deg,
      color-mix(in srgb,var(--chat-cyan,#38bdf8) 16%,var(--chat-room-b,#0b2440)),
      color-mix(in srgb,var(--chat-room-a,#071019) 94%,transparent))!important;
}
/* R84M dynamic theme controls */
.chatted-message-sheet,
.chatted-room-control-sheet{
  --chatted-control-accent:var(--chat-theme-accent,var(--chat-accent,var(--chat-cyan,#38bdf8)));
  --chatted-control-text:var(--chat-theme-text,var(--chat-text,#eef7ff));
  --chatted-control-a:var(--chat-theme-room-a,var(--chat-room-a,#071019));
  --chatted-control-b:var(--chat-theme-room-b,var(--chat-room-b,#0b2440));
}
.chatted-message-sheet-actions button,
.chatted-message-sheet-reactions button,
.chatted-message-reminder-choices button,
.chatted-room-control-sheet button:not(.danger),
.chatted-composer-tool-grid button,
.chatted-search-quick-tools button{
  color:var(--chatted-control-text)!important;
  border-color:color-mix(in srgb,var(--chatted-control-accent) 30%,rgba(148,163,184,.22))!important;
  background:
    linear-gradient(145deg,
      color-mix(in srgb,var(--chatted-control-b) 86%,transparent),
      color-mix(in srgb,var(--chatted-control-a) 96%,transparent))!important;
}
.chatted-message-sheet-actions button:hover,
.chatted-message-sheet-reactions button:hover,
.chatted-message-reminder-choices button:hover,
.chatted-room-control-sheet button:not(.danger):hover{
  border-color:color-mix(in srgb,var(--chatted-control-accent) 68%,rgba(148,163,184,.3))!important;
  background:
    linear-gradient(145deg,
      color-mix(in srgb,var(--chatted-control-accent) 16%,var(--chatted-control-b)),
      color-mix(in srgb,var(--chatted-control-a) 94%,transparent))!important;
}
/* R84Q slightly translucent conversation bubbles */
.chatted-message-body{
  background:color-mix(in srgb,var(--chat-theme-incoming,#121e2b) 80%,transparent);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}
.chatted-message.mine .chatted-message-body{
  background:
    linear-gradient(135deg,
      color-mix(in srgb,var(--chat-theme-outgoing,#12364a) 82%,transparent),
      color-mix(in srgb,var(--chat-theme-outgoing,#12364a) 76%,transparent));
}
/* R84R pinned-message indicator */
.chatted-message-body{position:relative}
.chatted-message-pin{
  position:absolute;top:7px;right:8px;z-index:3;
  display:grid;place-items:center;width:26px;height:26px;
  padding:0;border-radius:999px;
  border:1px solid color-mix(in srgb,var(--chat-theme-accent,var(--chat-cyan,#38bdf8)) 52%,transparent);
  background:color-mix(in srgb,var(--chat-theme-room-a,var(--chat-room-a,#071019)) 72%,transparent);
  color:var(--chat-theme-accent,var(--chat-cyan,#38bdf8));
  box-shadow:0 5px 14px rgba(0,0,0,.18);
  cursor:pointer;touch-action:manipulation;
}
.chatted-message-pin:hover{transform:translateY(-1px)}
.chatted-message-pin:active{transform:scale(.94)}
.chatted-message-body.has-pin{padding-right:44px}
/* R84S pinned-message top strip + in-chat polls */
.chatted-message-feed-shell{flex-direction:column}
.chatted-pinned-message-strip{
  flex:0 0 auto;display:flex;gap:7px;overflow-x:auto;
  padding:7px clamp(12px,3vw,38px);
  border-bottom:1px solid color-mix(in srgb,var(--chat-theme-accent,var(--chat-cyan,#38bdf8)) 18%,transparent);
  background:color-mix(in srgb,var(--chat-theme-room-a,var(--chat-room-a,#071019)) 78%,transparent);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  scrollbar-width:none;
}
.chatted-pinned-message-strip::-webkit-scrollbar{display:none}
.chatted-pinned-message-quote{
  flex:0 0 min(310px,78vw);min-width:0;display:grid;grid-template-columns:24px minmax(0,1fr);
  align-items:center;gap:8px;text-align:left;padding:8px 10px;border-radius:11px;
  color:var(--chat-theme-text,#eef7ff);
  border:1px solid color-mix(in srgb,var(--chat-theme-accent,var(--chat-cyan,#38bdf8)) 28%,transparent);
  background:color-mix(in srgb,var(--chat-theme-incoming,#121e2b) 68%,transparent);
  cursor:pointer;touch-action:manipulation;
}
.chatted-pinned-message-quote>span{color:var(--chat-theme-accent,var(--chat-cyan,#38bdf8))}
.chatted-pinned-message-quote>div{min-width:0}
.chatted-pinned-message-quote strong,.chatted-pinned-message-quote small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chatted-pinned-message-quote strong{font-size:10px}.chatted-pinned-message-quote small{margin-top:2px;font-size:9px;color:var(--chat-theme-muted,#9bb9cf)}
.chatted-inline-poll{display:grid;gap:8px;margin-top:10px;padding:10px;border-radius:13px;border:1px solid color-mix(in srgb,var(--chat-theme-accent,var(--chat-cyan,#38bdf8)) 24%,transparent);background:color-mix(in srgb,var(--chat-theme-room-a,var(--chat-room-a,#071019)) 48%,transparent)}
.chatted-inline-poll>strong{font-size:12px}
.chatted-inline-poll-options{display:grid;gap:6px}
.chatted-inline-poll-options label{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 9px;border-radius:10px;border:1px solid color-mix(in srgb,var(--chat-theme-line,#26384b) 70%,transparent);background:color-mix(in srgb,var(--chat-theme-incoming,#121e2b) 52%,transparent);cursor:pointer}
.chatted-inline-poll-options label.selected{border-color:color-mix(in srgb,var(--chat-theme-accent,var(--chat-cyan,#38bdf8)) 66%,transparent);background:color-mix(in srgb,var(--chat-theme-accent,var(--chat-cyan,#38bdf8)) 12%,transparent)}
.chatted-inline-poll-options input{width:auto!important;margin:0}
.chatted-inline-poll-options b{color:var(--chat-theme-accent,var(--chat-cyan,#38bdf8));font-size:10px}
.chatted-inline-poll button[type="submit"]{justify-self:start;min-height:38px;padding:7px 14px;border-radius:10px;color:var(--chat-theme-text,#eef7ff);border:1px solid color-mix(in srgb,var(--chat-theme-accent,var(--chat-cyan,#38bdf8)) 45%,transparent);background:color-mix(in srgb,var(--chat-theme-accent,var(--chat-cyan,#38bdf8)) 16%,var(--chat-theme-room-b,var(--chat-room-b,#0b2440)))}
.chatted-inline-poll>small{font-size:9px;color:var(--chat-theme-muted,#9bb9cf)}
@media(max-width:700px){
  .chatted-pinned-message-strip{padding:7px 10px}
  .chatted-pinned-message-quote{flex-basis:min(290px,82vw)}
}
/* R84T compact jump-to-newest chevron */
.chatted-message-feed-shell{position:relative}
.chatted-return-latest{
  position:absolute!important;
  z-index:18!important;
  right:12px!important;
  bottom:12px!important;
  left:auto!important;
  top:auto!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  max-width:34px!important;
  min-height:34px!important;
  padding:0!important;
  margin:0!important;
  display:grid!important;
  place-items:center!important;
  border-radius:999px!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
}
.chatted-return-latest[hidden]{display:none!important}
.chatted-return-latest b{
  position:absolute;
  top:-5px;
  right:-5px;
  min-width:16px;
  height:16px;
  padding:0 4px;
  display:grid;
  place-items:center;
  border-radius:999px;
  font-size:8px;
  line-height:1;
  pointer-events:none;
}
.chatted-return-latest-chevron{pointer-events:none}
@media(max-width:700px){
  .chatted-return-latest{
    right:10px!important;
    bottom:calc(10px + env(safe-area-inset-bottom))!important;
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    max-width:32px!important;
    min-height:32px!important;
  }
}
/* R84U final mobile newest-chevron lock */
@media screen and (max-width:700px){
  .chatted-message-feed-shell > .chatted-return-latest[data-return-to-latest]{
    position:absolute!important;
    inset:auto 10px calc(10px + env(safe-area-inset-bottom)) auto!important;
    flex:0 0 32px!important;
    justify-self:auto!important;
    align-self:auto!important;
    width:32px!important;
    min-width:32px!important;
    max-width:32px!important;
    height:32px!important;
    min-height:32px!important;
    max-height:32px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
    display:grid!important;
    place-items:center!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
  }
  .chatted-message-feed-shell > .chatted-return-latest[data-return-to-latest][hidden]{
    display:none!important;
  }
  .chatted-message-feed-shell > .chatted-return-latest[data-return-to-latest]::before{
    content:none!important;
  }
}
/* R84W mobile pinned-message strip stability */
.chatted-message-feed-shell{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:0;
  overflow:hidden;
}
.chatted-pinned-message-strip{
  position:relative;
  z-index:6;
  flex:0 0 auto;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}
.chatted-message-feed{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
}
@media(max-width:700px){
  .chatted-pinned-message-strip{
    position:sticky;
    top:0;
    z-index:7;
    padding:6px 10px;
    margin:0;
    transform:none!important;
    max-height:58px;
    overflow-x:auto;
    overflow-y:hidden;
    background:color-mix(in srgb,var(--chat-theme-room-a,var(--chat-room-a,#071019)) 92%,transparent);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
  }
  .chatted-pinned-message-quote{
    flex:0 0 min(260px,76vw);
    min-height:42px;
    max-height:46px;
    padding:6px 8px;
    margin:0;
  }
  .chatted-message-feed{
    min-height:0!important;
    padding-bottom:calc(18px + env(safe-area-inset-bottom))!important;
    scroll-padding-bottom:calc(28px + env(safe-area-inset-bottom));
  }
  .chatted-message-feed-shell::after{
    content:none!important;
    display:none!important;
  }
}
/* R84X eliminate second-pin mobile feed void */
@media(max-width:700px){
  .chatted-message-feed-shell{
    position:relative!important;
    display:block!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  .chatted-message-feed-shell > .chatted-pinned-message-strip{
    position:absolute!important;
    top:0!important;
    left:0!important;
    right:0!important;
    bottom:auto!important;
    z-index:9!important;
    width:auto!important;
    max-width:none!important;
    height:58px!important;
    min-height:58px!important;
    max-height:58px!important;
    box-sizing:border-box!important;
    margin:0!important;
    transform:none!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    contain:layout paint!important;
  }
  .chatted-message-feed-shell > .chatted-message-feed{
    position:absolute!important;
    inset:0!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    box-sizing:border-box!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding-top:66px!important;
    padding-bottom:calc(18px + env(safe-area-inset-bottom))!important;
    scroll-padding-top:66px!important;
    scroll-padding-bottom:calc(28px + env(safe-area-inset-bottom))!important;
  }
  .chatted-message-feed-shell:not(:has(.chatted-pinned-message-strip)) > .chatted-message-feed{
    padding-top:0!important;
    scroll-padding-top:0!important;
  }
  .chatted-pinned-message-quote{
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    margin:0!important;
  }
}
@media(max-width:700px){
  .chatted-message-feed-shell.has-pinned-strip > .chatted-message-feed{
    padding-top:66px!important;
    scroll-padding-top:66px!important;
  }
  .chatted-message-feed-shell:not(.has-pinned-strip) > .chatted-message-feed{
    padding-top:0!important;
    scroll-padding-top:0!important;
  }
}
/* R84Y mobile pin rail: never grow vertically */
@media(max-width:700px){
  .chatted-message-feed-shell > .chatted-pinned-message-strip{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:7px!important;
    white-space:nowrap!important;
    height:56px!important;
    min-height:56px!important;
    max-height:56px!important;
    padding:6px 10px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-x:contain!important;
    scrollbar-width:none!important;
  }
  .chatted-message-feed-shell > .chatted-pinned-message-strip::-webkit-scrollbar{
    display:none!important;
    width:0!important;
    height:0!important;
  }
  .chatted-message-feed-shell > .chatted-pinned-message-strip > .chatted-pinned-message-quote{
    flex:0 0 min(252px,74vw)!important;
    width:min(252px,74vw)!important;
    min-width:min(252px,74vw)!important;
    max-width:min(252px,74vw)!important;
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    box-sizing:border-box!important;
    margin:0!important;
    overflow:hidden!important;
  }
  .chatted-message-feed-shell.has-pinned-strip > .chatted-message-feed,
  .chatted-message-feed-shell:has(.chatted-pinned-message-strip) > .chatted-message-feed{
    padding-top:64px!important;
    scroll-padding-top:64px!important;
  }
}
/* R84Z pin jumps stay inside the message scroller */
.chatted-message-feed-shell,
.chatted-pinned-message-strip{
  overflow-anchor:none;
}
.chatted-message-feed{
  overscroll-behavior:contain;
}
/* R85D locked-room recovery form */
.chatted-inline-unlock-form{
  width:min(360px,88vw);
  display:grid;
  gap:10px;
  margin-top:10px;
}
.chatted-inline-unlock-form label{display:grid;gap:5px;text-align:left}
.chatted-inline-unlock-form label span{font-size:10px;color:var(--chat-theme-muted,#9bb9cf)}
.chatted-inline-unlock-form input{
  width:100%;
  min-height:44px;
  box-sizing:border-box;
  border-radius:11px;
}
.chatted-inline-unlock-form button{min-height:42px}
.chatted-inline-unlock-form [data-inline-unlock-status]{min-height:14px}
@media(min-width:701px){
  .chatted-message-engagements .chatted-inline-delete-form{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    position:static!important;
    width:auto!important;
    height:auto!important;
    overflow:visible!important;
    pointer-events:auto!important;
  }
  .chatted-message-engagements .chatted-inline-delete-button{
    display:inline-flex!important;
    align-items:center!important;
    visibility:visible!important;
    opacity:1!important;
    width:auto!important;
    height:auto!important;
    pointer-events:auto!important;
  }
}

/* R85P visible per-message delete */
.chatted-message-compact-footer > .chatted-inline-delete-form,
.chatted-message-engagements .chatted-inline-delete-form{
  display:inline-flex!important;
  position:static!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  visibility:visible!important;
  opacity:1!important;
  overflow:visible!important;
  pointer-events:auto!important;
}
.chatted-message-compact-footer .chatted-inline-delete-button,
.chatted-message-engagements .chatted-inline-delete-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  min-height:28px!important;
  padding:2px 7px!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
}

html.suite-idle-locked,html.suite-idle-locked body{overflow:hidden!important}
.suite-idle-gate{position:fixed;inset:0;z-index:2147483646;background:rgba(4,7,12,.97);display:grid;place-items:center;padding:20px}
.suite-idle-card{width:min(360px,92vw);display:grid;gap:12px;padding:22px;border:1px solid rgba(255,255,255,.18);border-radius:18px;background:#0b111b;box-shadow:0 24px 80px rgba(0,0,0,.5)}
.suite-idle-card strong{font-size:18px}
.suite-idle-card input{width:100%;box-sizing:border-box}
.suite-idle-card small{min-height:18px}
/* R85Y People + new chat isolated above conversation list */
.chatted-sidebar{
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
  height:100%!important;
  overflow:hidden!important;
}
.chatted-sidebar-fixed{
  flex:0 0 auto!important;
  min-width:0!important;
}
.chatted-people-zone{
  flex:0 0 auto!important;
  min-width:0!important;
  border-bottom:1px solid var(--chat-theme-line,var(--chat-line));
  background:var(--chat-theme-sidebar,#0a1420);
  overflow:hidden;
}
.chatted-people-zone .chatted-start-tools{
  margin:8px 10px!important;
  overflow:hidden!important;
}
.chatted-people-zone .chatted-start-tools-body{
  max-height:min(42dvh,480px)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
}
.chatted-people-zone .chatted-search-results{
  position:relative!important;
  inset:auto!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  margin:7px 0 0!important;
  max-height:min(30dvh,300px)!important;
  overflow:auto!important;
  z-index:1!important;
}
.chatted-sidebar-scroll{
  flex:1 1 0!important;
  min-height:0!important;
  overflow:hidden!important;
}
@media(max-width:700px){
  .chatted-people-zone .chatted-start-tools{margin:6px 8px!important}
  .chatted-people-zone .chatted-start-tools-body{max-height:46dvh!important}
  .chatted-people-zone .chatted-search-results{max-height:28dvh!important}
}

/* R85AK activity-aware presence + device sessions */
.chatted-presence-dot.idle{background:#facc15;box-shadow:0 0 0 1px rgba(0,0,0,.35),0 0 10px rgba(250,204,21,.48)}
.chatted-last-active{font-size:.72em;opacity:.72;margin-left:.28rem;white-space:nowrap}
.chatted-device-session-list{display:grid;gap:.55rem;padding:1rem}
.chatted-device-session-list article{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem;border:1px solid var(--chat-theme-line,#243447);border-radius:12px;background:rgba(255,255,255,.025)}
.chatted-device-session-list article>div{display:grid;gap:.18rem;min-width:0}.chatted-device-session-list small{overflow-wrap:anywhere}
@media(max-width:720px){.chatted-device-session-list article{align-items:flex-start;flex-direction:column}.chatted-last-active{display:block;margin-left:0;margin-top:.15rem}}

/* R85AM — inline full-conversation Explode confirmation; God Admin never receives this control. */
.chatted-inline-explode-confirm{grid-column:1/-1;display:grid;gap:12px;padding:14px;border:1px solid rgba(248,113,113,.4);border-radius:16px;background:linear-gradient(135deg,rgba(69,10,10,.92),rgba(17,24,39,.97));box-shadow:0 18px 42px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.05);animation:chattedInlineExplodeReveal .18s ease-out both}
.chatted-inline-explode-copy{display:flex;align-items:flex-start;gap:11px}.chatted-inline-explode-copy>span{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:12px;background:rgba(239,68,68,.15);font-size:1.1rem}.chatted-inline-explode-copy strong{display:block;color:#fff;font-size:.9rem}.chatted-inline-explode-copy small{display:block;margin-top:4px;color:#fecaca;line-height:1.45;font-size:.76rem}.chatted-inline-explode-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.chatted-inline-explode-actions button{min-width:96px}.chatted-inline-explode-confirm .danger{background:linear-gradient(135deg,#ef4444,#991b1b);color:#fff;border-color:rgba(254,202,202,.5)}
@keyframes chattedInlineExplodeReveal{from{opacity:0;transform:translateY(-6px) scale(.99)}to{opacity:1;transform:none}}

.chatted-forgot-password{display:block;margin:.55rem auto .1rem;text-align:center;font-weight:800;letter-spacing:.02em}
.chatted-recovery-switch{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin:1rem 0}.chatted-recovery-switch a{padding:.75rem;border:1px solid rgba(148,163,184,.25);border-radius:14px;text-align:center}.chatted-recovery-switch a.active{border-color:currentColor;background:rgba(255,255,255,.06)}.chatted-recovery-note,.chatted-username-recovery p{font-size:.9rem;opacity:.82}.chatted-recovery-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1rem}.chatted-recovery-actions a{font-weight:800}

/* R85AU live location + visible managed recovery */
.chatted-live-location-card{margin-top:10px;border:1px solid color-mix(in srgb,var(--chat-accent,#38bdf8) 45%,transparent);border-radius:18px;overflow:hidden;background:rgba(5,10,18,.78);box-shadow:0 18px 50px rgba(0,0,0,.24)}
.chatted-live-location-map{position:relative;height:220px;background:radial-gradient(circle at 40% 40%,rgba(56,189,248,.18),transparent 34%),linear-gradient(135deg,#0b1220,#111827);overflow:hidden}.chatted-live-location-map iframe{width:100%;height:100%;border:0;filter:saturate(.86) contrast(1.08)}
.chatted-live-location-pulse{position:absolute;left:50%;top:50%;width:18px;height:18px;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 0 rgba(56,189,248,.7);animation:chattedLocationPulse 1.7s infinite;pointer-events:none}.chatted-live-location-card.ended .chatted-live-location-pulse{display:none}@keyframes chattedLocationPulse{70%{box-shadow:0 0 0 24px rgba(56,189,248,0)}100%{box-shadow:0 0 0 0 rgba(56,189,248,0)}}
.chatted-live-location-copy{display:grid;gap:5px;padding:13px 15px}.chatted-live-location-copy strong{font-size:14px}.chatted-live-location-copy small{opacity:.74}.chatted-live-location-copy a{font-weight:800}
.chatted-device-lost-mode-banner{position:sticky;top:0;z-index:90;padding:10px 16px;background:linear-gradient(90deg,#3b0505,#870d16,#3b0505);border-bottom:1px solid rgba(255,255,255,.2);color:#fff;box-shadow:0 10px 30px rgba(0,0,0,.35)}.chatted-device-lost-mode-banner strong{display:block;font-size:13px;letter-spacing:.04em}.chatted-device-lost-mode-banner span{font-size:11px;opacity:.9}.chatted-recovery-active{display:block;color:#ff9b9b;margin-top:6px}

/* R85AV device session inventory */
.chatted-device-table-container{max-height:320px;overflow:auto;border:1px solid var(--chat-line);border-radius:18px;background:rgba(4,8,16,.55)}
.chatted-device-history-container{max-height:220px;overflow:auto;margin-top:10px;border:1px solid var(--chat-line);border-radius:16px}
.chatted-device-table{width:100%;border-collapse:collapse;min-width:680px}.chatted-device-table th,.chatted-device-table td{padding:10px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--chat-line)}.chatted-device-table th{position:sticky;top:0;z-index:2;background:var(--chat-panel,#101826)}.chatted-device-table small{display:block;opacity:.72;margin-top:3px}.chatted-device-history{margin-top:12px}

/* R85AX live location capability feedback */
.chatted-live-location-notice{position:fixed;z-index:10050;right:18px;bottom:24px;max-width:min(420px,calc(100vw - 36px));display:grid;gap:4px;padding:14px 16px;border:1px solid rgba(56,189,248,.38);border-radius:16px;background:rgba(3,7,15,.97);color:#f8fafc;box-shadow:0 20px 60px rgba(0,0,0,.48);opacity:0;transform:translateY(18px);pointer-events:none;transition:.2s ease}.chatted-live-location-notice.show{opacity:1;transform:none}.chatted-live-location-notice strong{font-size:13px}.chatted-live-location-notice span{font-size:12px;line-height:1.45;opacity:.82}.chatted-live-location-notice[data-kind=error]{border-color:rgba(248,113,113,.62)}.chatted-live-location-notice[data-kind=success]{border-color:rgba(74,222,128,.55)}

/* R85BC live-location cross-device synchronization + combined two-party map */
.chatted-live-location-start-tool{display:grid;gap:6px}.chatted-live-location-start-tool>label{display:grid;gap:3px;font-size:11px;opacity:.86}.chatted-live-location-start-tool select{max-width:100%;padding:6px 8px;border-radius:9px;background:rgba(3,7,15,.92);color:inherit;border:1px solid rgba(148,163,184,.28)}
.chatted-live-location-hub{margin:10px 12px 4px;border:1px solid color-mix(in srgb,var(--chat-accent,#38bdf8) 48%,transparent);border-radius:20px;overflow:hidden;background:rgba(3,8,16,.94);box-shadow:0 18px 55px rgba(0,0,0,.3)}.chatted-live-location-hub>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px}.chatted-live-location-hub>header>div{display:grid;gap:2px}.chatted-live-location-hub>header strong{font-size:14px}.chatted-live-location-hub>header small{opacity:.75}.chatted-live-sync-dot{width:9px;height:9px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 0 rgba(74,222,128,.55);animation:chattedLocationPulse 1.7s infinite}
.chatted-live-combined-map{height:260px;position:relative;overflow:hidden;background:#09111d}.chatted-live-combined-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.chatted-live-combined-pin{position:absolute;z-index:3;transform:translate(-50%,-50%);width:18px;height:18px;border:3px solid white;border-radius:50%;background:#38bdf8;box-shadow:0 2px 12px rgba(0,0,0,.55)}.chatted-live-combined-pin.pin-2{background:#f59e0b}.chatted-live-combined-pin b{position:absolute;left:50%;top:22px;transform:translateX(-50%);white-space:nowrap;max-width:150px;overflow:hidden;text-overflow:ellipsis;padding:3px 7px;border-radius:999px;background:rgba(3,7,15,.9);font-size:10px;color:#fff}.chatted-live-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;padding:10px}.chatted-live-person{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;border:1px solid rgba(148,163,184,.18);border-radius:12px;background:rgba(15,23,42,.58)}.chatted-live-person>div{display:grid;gap:2px}.chatted-live-person small{font-size:10px;opacity:.72}@media(max-width:640px){.chatted-live-combined-map{height:220px}.chatted-live-location-hub{margin:8px 7px 3px}}

/* R85BG live-location hub layout + cross-device visibility repair */
.chatted-live-location-hub{position:relative!important;z-index:8!important;flex:0 0 auto!important;min-height:0!important;max-height:min(62vh,560px)!important;margin:10px 12px 8px!important;overflow:auto!important;isolation:isolate!important;contain:layout paint!important}
.chatted-live-location-hub[hidden]{display:none!important}
.chatted-live-location-hub .chatted-live-combined-map{height:clamp(300px,38vh,430px)!important;min-height:300px!important;max-height:430px!important;flex:0 0 auto!important}
.chatted-live-location-hub .chatted-live-people{position:relative!important;z-index:4!important;background:rgba(3,8,16,.96)!important}
.chatted-message-feed-shell{min-height:0!important;flex:1 1 auto!important}
@media(max-width:700px){
 .chatted-live-location-hub{z-index:12!important;flex:0 0 auto!important;width:auto!important;max-height:min(48dvh,420px)!important;margin:7px 7px 6px!important;overflow:auto!important;transform:none!important}
 .chatted-live-location-hub .chatted-live-combined-map{height:240px!important;min-height:240px!important;max-height:240px!important}
 .chatted-live-location-hub .chatted-live-people{max-height:130px!important;overflow:auto!important}
 .chatted-message-feed-shell{position:relative!important;flex:1 1 auto!important;min-height:0!important}
}

/* R85BH Live Location polish: stable map canvas + collapsible hub controls */
.chatted-live-location-hub>header{position:sticky;top:0;z-index:20;background:rgba(3,8,16,.98)}
.chatted-live-hub-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.chatted-live-hub-body[hidden]{display:none!important}
.chatted-live-location-hub[data-collapsed="1"]{max-height:none!important;overflow:hidden!important}
.chatted-live-location-hub[data-collapsed="1"]>header{position:relative}
@media(max-width:640px){.chatted-live-location-hub>header{align-items:flex-start}.chatted-live-hub-actions{max-width:55%}.chatted-live-hub-actions .small{font-size:10px;padding:6px 8px}}
/* R85BO staged media uploads: visible selection, concurrent chat, cancellable transfer. */
.chatted-attachment-stage{display:grid;gap:8px;margin:8px 0 0;padding:9px;border:1px solid color-mix(in srgb,var(--chat-accent,#38bdf8) 24%,transparent);border-radius:14px;background:color-mix(in srgb,var(--chat-main,#0b111a) 90%,transparent);max-height:210px;overflow:auto}
.chatted-attachment-stage[hidden]{display:none!important}.chatted-upload-stage-head{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:var(--chat-muted,#93a4b8)}
.chatted-staged-file{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px;border-radius:11px;background:color-mix(in srgb,var(--chat-accent,#38bdf8) 7%,transparent);border:1px solid color-mix(in srgb,var(--chat-accent,#38bdf8) 16%,transparent)}
.chatted-staged-file>span{font-size:20px;text-align:center}.chatted-staged-file-copy{min-width:0;display:grid;gap:3px}.chatted-staged-file-copy strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.chatted-staged-file-copy small{font-size:10px;color:var(--chat-muted,#93a4b8)}
.chatted-staged-file button{padding:6px 9px;font-size:10px;white-space:nowrap}.chatted-stage-track{height:3px;border-radius:999px;background:color-mix(in srgb,var(--chat-muted,#93a4b8) 22%,transparent);overflow:hidden}.chatted-stage-track span{display:block;height:100%;background:var(--chat-accent,#38bdf8);transition:width .18s linear}.chatted-staged-file.ready{border-color:color-mix(in srgb,#22c55e 45%,transparent)}.chatted-staged-file.failed{border-color:color-mix(in srgb,#ef4444 50%,transparent)}
@media(max-width:700px){.chatted-attachment-stage{max-height:180px}.chatted-staged-file{grid-template-columns:30px minmax(0,1fr)}.chatted-staged-file button{grid-column:2;justify-self:start}}


/* C!HATTED! R85BP — video posters + embedded PDF message viewer. */
.chatted-pdf-attachment{display:grid;grid-template-rows:auto minmax(220px,420px) auto;width:min(100%,720px);max-width:720px;overflow:hidden;border:1px solid color-mix(in srgb,var(--chat-theme-line,#30475d) 88%,transparent);border-radius:13px;background:#07111a;box-shadow:0 8px 28px rgba(0,0,0,.18)}
.chatted-pdf-attachment>header,.chatted-pdf-attachment>footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;background:#0b1723}
.chatted-pdf-attachment>header{border-bottom:1px solid #26394d}.chatted-pdf-attachment>footer{justify-content:flex-end;border-top:1px solid #26394d}
.chatted-pdf-attachment>header strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#eef6fb}
.chatted-pdf-attachment>header div{display:flex;gap:7px;flex:0 0 auto}.chatted-pdf-attachment button,.chatted-pdf-attachment a{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 9px;border:1px solid #36516a;border-radius:8px;background:#122334;color:#eef7fc;font-size:9px;font-weight:900;text-decoration:none;cursor:pointer}
.chatted-pdf-frame-wrap{min-height:0;overflow:auto;background:#d6d8dc}.chatted-pdf-frame-wrap iframe{display:block;width:100%;height:420px;min-height:100%;border:0;background:#fff}
.chatted-pdf-attachment:fullscreen{width:100vw;max-width:none;height:100vh;border-radius:0;grid-template-rows:auto minmax(0,1fr) auto;background:#07111a}.chatted-pdf-attachment:fullscreen .chatted-pdf-frame-wrap iframe{height:100%;min-height:100%}
.chatted-media-thumb.video video[poster]{object-fit:cover;background:#02060a}
@media(max-width:840px){.chatted-pdf-attachment{grid-template-rows:auto minmax(190px,320px) auto}.chatted-pdf-frame-wrap iframe{height:320px}}
@media(max-width:520px){.chatted-pdf-attachment{width:100%;grid-template-rows:auto minmax(180px,280px) auto}.chatted-pdf-attachment>header{align-items:flex-start}.chatted-pdf-attachment>header div{gap:5px}.chatted-pdf-frame-wrap iframe{height:280px}}

/* R85BP PDF page-stream viewer overrides. */
.chatted-pdf-pages{min-height:220px;max-height:420px;overflow:auto;overscroll-behavior:contain;background:#34383d;padding:10px;scrollbar-gutter:stable}
.chatted-pdf-page{display:grid;gap:4px;margin:0 auto 10px;max-width:100%;place-items:center}.chatted-pdf-page:last-child{margin-bottom:0}
.chatted-pdf-page img{display:block;max-width:100%;width:auto;height:auto;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.35)}
.chatted-pdf-page figcaption{color:#c8d2da;font-size:8px;font-weight:800}
.chatted-pdf-loading{display:grid;place-items:center;min-height:220px;color:#dfe9ef;font-size:10px;font-weight:900}
.chatted-pdf-native-fallback{display:block;width:100%;height:400px;border:0;background:#fff}
.chatted-pdf-attachment:fullscreen .chatted-pdf-pages{max-height:none;height:100%;min-height:0}.chatted-pdf-attachment:fullscreen .chatted-pdf-native-fallback{height:100%}
@media(max-width:840px){.chatted-pdf-pages{max-height:320px;min-height:190px}.chatted-pdf-native-fallback{height:310px}}
@media(max-width:520px){.chatted-pdf-pages{max-height:280px;min-height:180px;padding:7px}.chatted-pdf-native-fallback{height:270px}}

/* R85BQ media viewer reliability */
.chatted-pdf-attachment{max-width:100%;overflow:hidden;display:grid;gap:.5rem}.chatted-pdf-attachment>header,.chatted-pdf-attachment>footer{display:flex;gap:.5rem;align-items:center;justify-content:space-between;flex-wrap:wrap;max-width:100%;overflow:hidden}.chatted-pdf-attachment>footer>*{max-width:100%;min-width:0}.chatted-pdf-inline-frame{display:block;width:100%;height:380px;border:0;border-radius:12px;background:#111}.chatted-media-pdf-frame{width:min(94vw,1100px);height:82vh;border:0;background:#111;border-radius:14px}.chatted-media-thumb.video img{display:block;width:100%;height:auto;max-height:360px;object-fit:cover;background:#050505}.chatted-media-viewer-item video{max-width:100%;max-height:82vh;background:#000}@media(max-width:720px){.chatted-pdf-inline-frame{height:300px}.chatted-pdf-attachment>footer{display:grid;grid-template-columns:1fr 1fr}.chatted-pdf-attachment>footer button,.chatted-pdf-attachment>footer a{width:100%;box-sizing:border-box;text-align:center}.chatted-media-pdf-frame{width:94vw;height:78vh}}

/* R85BT progressive media + unmistakable mobile attachment staging */
.chatted-attachment-stage:not([hidden]){display:grid;box-shadow:0 0 0 1px color-mix(in srgb,var(--chat-accent,#38bdf8) 38%,transparent),0 8px 24px rgba(0,0,0,.18)}
@media(max-width:700px){.chatted-attachment-stage{margin:0 0 8px;max-height:168px;border-width:2px}.chatted-upload-stage-head strong{font-size:12px}.chatted-staged-file{background:color-mix(in srgb,var(--chat-main,#0b111a) 82%,#fff 3%)}}

/* R85CK: serialize outbound messaging while an already-sent media message finishes. */
.chatted-media-outbound-wait{margin:.45rem 0 0;padding:.5rem .7rem;border-radius:.8rem;font-size:.82rem;line-height:1.25;opacity:.82}
[data-message-form][data-media-outbound-wait="1"] button[type="submit"]{cursor:wait}

/* R85CT desktop still-camera capture. */
.chatted-desktop-camera{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:20px;background:rgba(2,6,12,.88);backdrop-filter:blur(10px)}
.chatted-desktop-camera-card{width:min(760px,94vw);display:grid;gap:12px;padding:14px;border:1px solid color-mix(in srgb,var(--chat-accent,#38bdf8) 45%,transparent);border-radius:18px;background:var(--chat-main,#0b111a);box-shadow:0 26px 80px rgba(0,0,0,.55)}
.chatted-desktop-camera-head,.chatted-desktop-camera-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.chatted-desktop-camera-head button{font-size:22px;line-height:1;background:transparent;border:0;color:inherit;cursor:pointer}.chatted-desktop-camera video{display:block;width:100%;max-height:62vh;object-fit:contain;border-radius:14px;background:#000}.chatted-desktop-camera-actions{justify-content:flex-end}

/* R85CX: keep attachment upload progress clearly visible on mobile. */
@media(max-width:700px){.chatted-stage-track{display:block!important;height:7px!important;min-height:7px;margin-top:5px}.chatted-stage-track span{display:block!important;min-width:2px}.chatted-staged-file-copy small{display:block!important}.chatted-attachment-stage{overflow-y:auto!important}}

/* R85CZ: persistent video transfer progress + faster chat-switch feedback. */
.chatted-active-upload-progress{display:grid;gap:6px;margin:0 0 8px;padding:9px 11px;border:1px solid color-mix(in srgb,var(--chat-accent,#38bdf8) 38%,transparent);border-radius:12px;background:color-mix(in srgb,var(--chat-main,#0b111a) 92%,var(--chat-accent,#38bdf8) 8%);position:relative;z-index:8}
.chatted-active-upload-progress[hidden]{display:none!important}.chatted-active-upload-progress>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.chatted-active-upload-progress strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chatted-active-upload-progress b{font-size:12px;color:var(--chat-accent,#38bdf8)}
.chatted-active-upload-track{height:8px;border-radius:999px;overflow:hidden;background:color-mix(in srgb,var(--chat-muted,#93a4b8) 24%,transparent)}.chatted-active-upload-track span{display:block;height:100%;width:0;background:var(--chat-accent,#38bdf8);transition:width .1s linear}
@media(max-width:700px){.chatted-active-upload-progress{position:sticky;bottom:0;margin-bottom:6px;padding:9px 10px}.chatted-active-upload-track{height:9px}}
[data-chatted-room][data-loading="true"]{cursor:progress}

/* R85CZ: lightweight direct composer tools; generated SVG/sticker picker removed. */
.chatted-composer-input-row{display:flex;align-items:flex-end;gap:8px}
.chatted-composer-input-row textarea{flex:1;min-width:0}
.chatted-composer-direct-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.chatted-composer-direct-tools .chatted-attach-button,.chatted-composer-tool-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:38px;padding:7px 10px;border:1px solid var(--chat-line,var(--chatted-line,#263546));border-radius:10px;background:color-mix(in srgb,var(--chat-sidebar,var(--chatted-panel,#101923)) 92%,transparent);color:var(--chat-text,#e8eef5);font:inherit;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}
.chatted-composer-direct-tools .chatted-attach-button:hover,.chatted-composer-tool-button:hover{border-color:var(--chat-accent,#38bdf8)}
.chatted-composer-direct-tools .chatted-attach-button span,.chatted-composer-tool-button span{font-size:16px;line-height:1}
.chatted-composer-direct-tools .chatted-attach-button input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.chatted-live-location-composer{position:relative;display:inline-flex;align-items:center}
.chatted-live-location-share-selector{position:absolute;left:0;bottom:calc(100% + 8px);z-index:30;display:flex;align-items:end;gap:8px;min-width:260px;padding:10px;border:1px solid var(--chat-line,#263546);border-radius:12px;background:var(--chat-main,#0b111a);box-shadow:0 12px 30px rgba(0,0,0,.34)}
.chatted-live-location-share-selector[hidden]{display:none!important}.chatted-live-location-share-selector label{display:grid;gap:4px;flex:1;font-size:10px;color:var(--chat-muted,#93a4b8)}.chatted-live-location-share-selector select{width:100%;min-height:36px}
.chatted-file-selection-summary{flex:1 1 150px;min-width:0;color:var(--chat-muted,#93a4b8);font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chatted-composer-send-button{margin-left:auto}
@media(max-width:700px){.chatted-composer-direct-tools{gap:5px}.chatted-composer-direct-tools .chatted-attach-button,.chatted-composer-tool-button{min-height:36px;padding:6px 8px;font-size:10px}.chatted-composer-direct-tools .chatted-attach-button b,.chatted-composer-tool-button b{display:none}.chatted-file-selection-summary{display:none}.chatted-live-location-share-selector{position:fixed;left:10px;right:10px;bottom:calc(env(safe-area-inset-bottom,0px) + 76px);min-width:0}.chatted-composer-send-button{margin-left:0}}

/* R85CZ: global video upload progress stays visible even after the media row detaches. */
.chatted-global-video-progress{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:2147482000;display:grid;gap:7px;width:min(520px,calc(100vw - 24px));padding:10px 12px;border:1px solid color-mix(in srgb,var(--chat-accent,#38bdf8) 50%,transparent);border-radius:13px;background:color-mix(in srgb,var(--chat-main,#0b111a) 96%,#000 4%);box-shadow:0 14px 36px rgba(0,0,0,.42);color:var(--chat-text,#f8fafc);pointer-events:none}
.chatted-global-video-progress[hidden]{display:none!important}.chatted-global-video-progress>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.chatted-global-video-progress strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatted-global-video-progress b{color:var(--chat-accent,#38bdf8);font-size:12px}.chatted-global-video-track{height:9px;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.12)}.chatted-global-video-track span{display:block;height:100%;width:0;border-radius:inherit;background:var(--chat-accent,#38bdf8);transition:width .08s linear}
@media(max-width:700px){.chatted-global-video-progress{left:10px;right:10px;bottom:calc(env(safe-area-inset-bottom,0px) + 72px);width:auto;transform:none}}


/* R85DB: compact mobile composer controls; camera/files must be visually distinct. */
@media(max-width:700px){
  .chatted-composer-direct-tools{display:flex;flex-wrap:nowrap;align-items:center;gap:4px;overflow:visible}
  .chatted-composer-direct-tools .chatted-attach-button,
  .chatted-composer-direct-tools .chatted-composer-tool-button,
  .chatted-live-location-composer>.chatted-composer-tool-button{flex:0 0 38px!important;width:38px!important;max-width:38px!important;min-width:38px!important;min-height:38px!important;height:38px!important;padding:0!important;border-radius:10px!important}
  .chatted-live-location-composer{flex:0 0 38px!important;width:38px!important;max-width:38px!important}
  .chatted-composer-direct-tools .chatted-attach-button span,
  .chatted-composer-direct-tools .chatted-composer-tool-button span{display:block!important;font-size:18px!important;line-height:1!important}
  .chatted-camera-button span{font-size:19px!important}
  .chatted-files-button span{font-size:18px!important}
  .chatted-composer-send-button{flex:0 0 auto;min-width:48px;padding-inline:10px;margin-left:auto!important}
}

/* R85DD: mobile composer glyphs are CSS-drawn, not font emoji, so Camera and Files
   cannot collapse to the same fallback glyph in Android/WebView. */
.chatted-live-location-selector-close{position:absolute;right:5px;top:4px;width:28px;height:28px;display:grid;place-items:center;border:0;background:transparent;color:var(--chat-text,#e8eef5);font-size:24px;line-height:1;border-radius:8px;cursor:pointer}
.chatted-live-location-selector-close:hover{background:rgba(255,255,255,.08)}
@media(max-width:700px){
  .chatted-camera-button .chatted-tool-glyph-camera,.chatted-files-button .chatted-tool-glyph-files{font-size:0!important;width:20px;height:20px;position:relative;display:block!important}
  .chatted-camera-button .chatted-tool-glyph-camera::before{content:"";position:absolute;left:1px;right:1px;top:5px;bottom:2px;border:2px solid currentColor;border-radius:4px}
  .chatted-camera-button .chatted-tool-glyph-camera::after{content:"";position:absolute;width:6px;height:6px;border:2px solid currentColor;border-radius:50%;left:6px;top:8px;box-shadow:-4px -7px 0 -2px currentColor}
  .chatted-files-button .chatted-tool-glyph-files::before{content:"";position:absolute;left:4px;top:1px;width:12px;height:17px;border:2px solid currentColor;border-radius:2px;background:transparent}
  .chatted-files-button .chatted-tool-glyph-files::after{content:"";position:absolute;right:3px;top:1px;width:6px;height:6px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;background:var(--chat-main,#0b111a)}
}


/* R85DL: live-location recenter + one-line mobile composer. */
.chatted-live-location-recenter{display:inline-flex;align-items:center;justify-content:center;gap:5px}
.chatted-live-location-recenter[disabled]{opacity:.55;cursor:wait}
.chatted-emoji-composer{position:relative;display:inline-flex;align-items:center}
.chatted-emoji-selector{position:absolute;left:0;bottom:calc(100% + 8px);z-index:35;display:grid;grid-template-columns:repeat(4,38px);gap:5px;padding:8px;border:1px solid var(--chat-line,#263546);border-radius:12px;background:var(--chat-main,#0b111a);box-shadow:0 12px 30px rgba(0,0,0,.36)}
.chatted-emoji-selector[hidden]{display:none!important}
.chatted-emoji-selector button{width:38px;height:38px;padding:0;border:1px solid rgba(148,163,184,.2);border-radius:9px;background:rgba(255,255,255,.04);font-size:20px;cursor:pointer}
.chatted-emoji-selector button:hover{border-color:var(--chat-accent,#38bdf8);background:rgba(255,255,255,.08)}
@media(max-width:700px){
  .chatted-composer-direct-tools{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:4px!important;width:100%;min-width:0;overflow:visible!important}
  .chatted-composer-direct-tools>.chatted-attach-button,
  .chatted-composer-direct-tools>.chatted-live-location-composer,
  .chatted-composer-direct-tools>.chatted-poll-button,
  .chatted-composer-direct-tools>.chatted-emoji-composer{flex:0 0 36px!important;width:36px!important;min-width:36px!important;max-width:36px!important}
  .chatted-composer-direct-tools>.chatted-attach-button,
  .chatted-live-location-composer>.chatted-composer-tool-button,
  .chatted-composer-direct-tools>.chatted-poll-button,
  .chatted-emoji-composer>.chatted-emoji-button{height:36px!important;min-height:36px!important;width:36px!important;min-width:36px!important;max-width:36px!important;padding:0!important;border-radius:9px!important}
  .chatted-file-selection-summary{display:none!important}
  .chatted-composer-send-button{flex:0 0 auto!important;margin-left:auto!important;min-width:50px!important;height:36px!important;padding:0 10px!important;white-space:nowrap}
  .chatted-emoji-selector{position:fixed;left:auto;right:62px;bottom:calc(env(safe-area-inset-bottom,0px) + 72px);grid-template-columns:repeat(4,38px)}
  .chatted-camera-button .chatted-tool-glyph-camera,
  .chatted-files-button .chatted-tool-glyph-files{display:none!important}
  .chatted-camera-button::before,.chatted-files-button::before,.chatted-files-button::after{content:"";display:block;position:absolute;box-sizing:border-box;pointer-events:none}
  .chatted-camera-button,.chatted-files-button{position:relative!important;color:var(--chat-text,#e8eef5)!important}
  .chatted-camera-button::before{width:20px;height:14px;left:8px;top:12px;border:2px solid currentColor;border-radius:4px;background:radial-gradient(circle at 50% 50%,transparent 0 3px,currentColor 3.5px 5px,transparent 5.5px)}
  .chatted-camera-button::after{content:"";display:block;position:absolute;width:8px;height:4px;left:14px;top:9px;border:2px solid currentColor;border-bottom:0;border-radius:3px 3px 0 0;box-sizing:border-box}
  .chatted-files-button::before{width:16px;height:20px;left:10px;top:8px;border:2px solid currentColor;border-radius:2px;background:transparent}
  .chatted-files-button::after{width:7px;height:7px;right:9px;top:8px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;background:var(--chat-sidebar,var(--chatted-panel,#101923))}
}


/* R85DO: existing Emoji control joins Camera · Files · Location · Poll on one mobile row. */
@media(max-width:700px){
  .chatted-composer-direct-tools{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:4px!important;
    width:100%!important;
    min-width:0!important;
    overflow:visible!important;
  }
  .chatted-composer-direct-tools>.chatted-existing-emoji-control{
    flex:0 0 36px!important;
    width:36px!important;
    min-width:36px!important;
    max-width:36px!important;
    height:36px!important;
    min-height:36px!important;
    padding:0!important;
    margin:0!important;
    border-radius:9px!important;
  }
  .chatted-composer-direct-tools>.chatted-existing-emoji-control b,
  .chatted-composer-direct-tools>.chatted-existing-emoji-control .label{
    display:none!important;
  }
  .chatted-composer-direct-tools>.chatted-composer-send-button{
    flex:0 0 auto!important;
    margin-left:auto!important;
    min-width:50px!important;
    height:36px!important;
    padding:0 10px!important;
    white-space:nowrap!important;
  }
}


/* R85DP: scoped company/application broadcasts. */
.chatted-broadcast-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.chatted-broadcast-checks{display:flex;flex-wrap:wrap;gap:10px 18px}.chatted-broadcast-checks label{display:flex;gap:7px;align-items:center}.chatted-broadcast-action-ledger{margin-top:18px;border-top:1px solid #ffffff1c;padding-top:14px}.chatted-broadcast-overlay{position:fixed;inset:0;z-index:2147482500;display:grid;place-items:center;padding:18px}.chatted-broadcast-backdrop{position:absolute;inset:0;border:0;background:#02060bd9}.chatted-broadcast-card{position:relative;width:min(620px,100%);max-height:min(82vh,760px);overflow:auto;border:1px solid #ffffff2b;border-radius:24px;background:linear-gradient(145deg,#0b1521,#071019);box-shadow:0 30px 100px #000c;color:#f7fbff}.chatted-broadcast-card header,.chatted-broadcast-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 18px;border-bottom:1px solid #ffffff16}.chatted-broadcast-card footer{border-bottom:0;border-top:1px solid #ffffff16;justify-content:flex-end;flex-wrap:wrap}.chatted-broadcast-card header span{font-size:11px;font-weight:900;letter-spacing:.18em;color:#72ddff}.chatted-broadcast-card header button{border:0;background:transparent;color:#fff;font-size:24px}.chatted-broadcast-body{padding:24px 20px}.chatted-broadcast-body h2{margin:0 0 12px;font-size:clamp(22px,5vw,34px)}.chatted-broadcast-body p{white-space:pre-wrap;line-height:1.65;margin:0 0 18px}.chatted-broadcast-body small{opacity:.68}@media(max-width:640px){.chatted-broadcast-overlay{padding:10px;align-items:end}.chatted-broadcast-card{border-radius:22px 22px 14px 14px;max-height:88vh}.chatted-broadcast-card footer>*{flex:1 1 auto}}
