/* Social layout. Shared brand colors are owned by appearance.css. */
html[data-cpa-public] {background:#f5f6fc}
html[data-cpa-public][data-pb-theme=dark] {background:#0c0d1a}
html[data-cpa-public] body.mm-app[data-mm-theme] {
 --connect-gradient:linear-gradient(115deg,#3464e9,#7139df);
 --glass-sheen:linear-gradient(150deg,#aab3ff0b,transparent 65%);
 --glass-edge:var(--mm-line);--glass-shadow:0 8px 28px #29235d15;
 --c-surface:var(--mm-bg);--c-panel:var(--mm-surface);--c-ink:var(--mm-text);
 --c-muted:var(--mm-muted);--c-line:var(--mm-line);--c-soft:var(--mm-soft);
 --c-accent:var(--mm-green);--c-accent-ink:var(--wcpa-action-ink);
 background:var(--mm-bg);color:var(--mm-text);accent-color:var(--wcpa-action);
}
html[data-cpa-public] body.mm-app[data-mm-theme]::before {background:var(--connect-gradient);opacity:.08}
html[data-cpa-public] body.mm-app[data-mm-theme] :is(.mm-shell,.mm-list-pane,.mm-thread-list,.mm-existing-list,.mm-conversation-pane) {background:var(--mm-surface)!important;border-color:var(--mm-line)}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-shell {box-shadow:0 18px 80px #08082120}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-list-header {padding:18px 18px 12px;background:var(--glass-sheen),var(--mm-chrome)!important;border-bottom:1px solid var(--mm-line)}
html[data-cpa-public] body.mm-app[data-mm-theme] .pb-product-brand {display:none!important}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-list-title {margin-bottom:10px;align-items:center;gap:6px}
html[data-cpa-public] body.mm-app[data-mm-theme] #pb-connection-slot:empty,
html[data-cpa-public] body.mm-app[data-mm-theme] #pb-connection-slot:has(#pb-offline-status[data-state=live]) {display:none}
html[data-cpa-public] body.mm-app[data-mm-theme] .wcpa-inbox-title {min-width:0;flex:1}
html[data-cpa-public] body.mm-app[data-mm-theme] .wcpa-inbox-title h1 {display:flex;align-items:center;gap:9px;font-size:21px;line-height:1.1;letter-spacing:-.65px;font-weight:780}
html[data-cpa-public] body.mm-app[data-mm-theme] .wcpa-inbox-title h1 img {display:block;width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:white;border:1px solid #dbd9f2;box-shadow:0 3px 12px #6143dd16}
html[data-cpa-public] body.mm-app[data-mm-theme] .wcpa-inbox-title h1 small {display:block;margin-top:5px;font-size:10px;font-weight:500;letter-spacing:0;color:var(--mm-muted)}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-list-title>.wcpa-header-actions :is(#wcpa-tools-toggle,#mm-overflow-toggle) {border-radius:14px!important;background:var(--mm-soft)!important;color:var(--mm-text);box-shadow:none!important}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-list-title>.wcpa-header-actions #mm-new-chat {border-radius:14px!important;background:var(--connect-gradient)!important;color:#fff;box-shadow:0 4px 13px #5b40d428!important}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-search {min-height:46px;padding-inline:13px;border-radius:15px;background:var(--mm-soft);border-color:var(--mm-line);box-shadow:none}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-list-pane .mm-filters {gap:6px;margin-top:12px}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-list-pane .mm-filters>button {min-height:42px;border-radius:12px;padding:9px 12px;font-size:12px;background:transparent;border-color:transparent;color:var(--mm-muted)}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-list-pane .mm-filters>button[aria-pressed=true] {background:var(--mm-soft);color:var(--mm-green);border-color:var(--mm-line);box-shadow:none}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-thread-list {padding-top:10px}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-conversation-row {min-height:82px;padding:14px 18px;border:0;background:transparent;box-shadow:none}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-conversation-row::after {left:84px;right:18px;background:var(--mm-line);opacity:.65}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-conversation-row>.mm-avatar {background:var(--mm-soft);color:var(--mm-green);border:1px solid var(--mm-line)}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-thread-list>.mm-community-row {width:calc(100% - 28px);margin:2px 14px 8px!important;padding:15px 12px;min-height:82px;border:1px solid var(--mm-line)!important;border-radius:20px!important;background:var(--glass-sheen),var(--mm-soft)!important;box-shadow:none}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-community-row::after {display:none}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-community-row .mm-community-avatar {border:1px solid #ddd8ff;background:white;border-radius:17px}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-community-row .mm-community-avatar img {border-radius:16px;box-shadow:none;object-fit:contain}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-community-dot {background:var(--mm-green);box-shadow:0 0 0 4px var(--mm-surface)}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-row-copy>strong {font-size:15px;font-weight:650;color:var(--mm-text)}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-row-copy>small {font-size:12px;color:var(--mm-muted)}
html[data-cpa-public] body.mm-app[data-mm-theme] .wcpa-inbox-utilities {padding:4px 14px 2px 20px;color:var(--mm-muted);background:transparent;font-size:11px}
html[data-cpa-public] body.mm-app[data-mm-theme] .wcpa-inbox-actions :is(button,a,#edit-pin) {background:transparent!important;color:var(--mm-muted)!important;border:0!important;box-shadow:none!important}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-shell>.mm-bottom-nav {background:var(--glass-fill)!important;border:1px solid var(--mm-line);border-radius:24px;box-shadow:0 4px 24px #1d195015}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-shell>.mm-bottom-nav>:is(button,a) {border-radius:18px!important;min-height:52px;color:var(--mm-muted);background:transparent!important}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-shell>.mm-bottom-nav>:is(#mm-show-list,[aria-current=page]) {background:var(--mm-soft)!important;color:var(--mm-green);box-shadow:none}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-bottom-nav>:is(button,a)>span {font-size:10px;font-weight:650}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-chat-header {background:var(--glass-fill)!important;color:var(--mm-text);border-color:var(--mm-line)}
html[data-cpa-public] body.mm-app[data-mm-theme] :is(.messages,.direct-messages) {background-color:var(--mm-wall)!important}
html[data-cpa-public] body.mm-app[data-mm-theme]:not([data-wcpa-wallpaper=custom])[data-mm-wallpaper=default] :is(.messages,.direct-messages) {background-image:none!important}
html[data-cpa-public] body.mm-app[data-mm-theme] :is(.bubble,.direct-bubble) {background:var(--mm-bubble);color:var(--mm-text);border-color:var(--mm-line);box-shadow:0 2px 5px #00000008!important}
html[data-cpa-public] body.mm-app[data-mm-theme] :is(.bubble.mine,.direct-bubble.mine) {background:var(--mm-mine);color:var(--mm-text)}
html[data-cpa-public] body.mm-app[data-mm-theme] :is(.composer,.direct-compose,.mm-context-note,.mm-profile-footer) {background:var(--mm-chrome)!important;border-color:var(--mm-line);color:var(--mm-muted)}
html[data-cpa-public] body.mm-app[data-mm-theme] :is(#free-text,.direct-compose textarea) {background:var(--mm-soft)!important;color:var(--mm-text)!important;border-color:var(--mm-line)!important;border-radius:18px!important}
html[data-cpa-public] body.mm-app[data-mm-theme] :is(#free-send,#media-record,.mm-primary,.wcpa-organizer-primary) {background:var(--connect-gradient)!important;color:#fff!important;border:0;box-shadow:none}
/* Sheets, profile and status share the conversation surfaces. */
html[data-cpa-public] body.mm-app[data-mm-theme] .wcpa-tools-group:has(>#wcpa-tools-lists) {display:none}
html[data-cpa-public] body.mm-app[data-mm-theme] .wcpa-tools-scroll {scrollbar-color:var(--mm-line) transparent}
html[data-cpa-public] body.mm-app[data-mm-theme] dialog::backdrop {background:#09091c99}
html[data-cpa-public] body.mm-app[data-mm-theme] :is(.wcpa-welcome-visual) {background:var(--connect-gradient);color:#fff;border-color:#a99afc55;box-shadow:0 12px 30px #5844db20}
html[data-cpa-public] body.mm-app[data-mm-theme] :is(.wcpa-welcome-number,.wcpa-organizer-head small,.wcpa-thread-heading>small,.wcpa-pin-badge) {color:var(--mm-green)}
html[data-cpa-public] body.mm-app[data-mm-theme] .wcpa-welcome-dots span {background:var(--mm-line)}
html[data-cpa-public] body.mm-app[data-mm-theme] .wcpa-welcome-dots span[data-active=true] {background:var(--mm-green)}
html[data-cpa-public] body.mm-app[data-mm-theme] :is(.mm-self-avatar,.mm-profile-card>.mm-avatar,.mm-profile-footer>.mm-avatar,.wcpa-thread-icon,.wcpa-tool-icon) {background:var(--mm-soft);color:var(--mm-green)}
html[data-cpa-public] body.mm-app[data-mm-theme] .mm-light-control input:checked+.mm-ios-track {background:var(--wcpa-action)}
html[data-cpa-public] body.mm-app[data-mm-theme] :is(.mm-dialog:not(.mm-call-dialog):not(.mm-fullscreen),.mm-settings-home,.mm-settings-panel,#mm-overflow-menu,.wcpa-organizer-dialog,.wcpa-thread-actions,.ptp-dialog,#pin-dialog) {background:var(--mm-surface);color:var(--mm-text);border-color:var(--mm-line);box-shadow:0 24px 80px #08082244}
html[data-cpa-public] body.mm-app[data-mm-theme] :is(.mm-dialog-head,.mm-settings-section,.wcpa-organizer-head,.wcpa-thread-head) {background:var(--mm-chrome);color:var(--mm-text);border-color:var(--mm-line)}
html[data-cpa-public] body.mm-app[data-mm-theme] :is(.mm-profile-card,.mm-settings-list>button,.mm-settings-list>a,#mm-overflow-menu>button,#mm-overflow-menu>a) {background:var(--mm-surface);color:var(--mm-text);border-color:var(--mm-line)}
html[data-cpa-public] body.mm-app[data-mm-theme] :is(.mm-profile-field input,.mm-profile-field textarea,.mm-profile-field select,#pin-message) {background:var(--mm-soft);color:var(--mm-text);border-color:var(--mm-line)}
html[data-cpa-public] body.mm-app[data-mm-theme] :is(#pinned,#pin-preview) {background:var(--mm-soft)!important;border-color:var(--mm-line)!important;color:var(--mm-text)!important}
html[data-cpa-public] body.mm-app[data-mm-theme] :is(#pinned,#pin-preview) :is(strong,.pin-message,.pin-compact-excerpt) {color:var(--mm-text)!important}
html[data-cpa-public] body.mm-app[data-mm-theme] #pb-updates #up-my-new {background:var(--connect-gradient)!important}
html[data-cpa-public] body.mm-app[data-mm-theme] #pb-updates #up-my-new .up-ring {background:#fff;color:#5844db;border-color:#dbd6ff;box-shadow:none}
html[data-cpa-public] body.mm-app[data-mm-theme] .wcpa-theme-mini-light {background:#f5f6fc}
html[data-cpa-public] body.mm-app[data-mm-theme] .wcpa-theme-mini-dark {background:#141628}
html[data-cpa-public] body.mm-app[data-mm-theme] .wcpa-theme-mini-auto {background:linear-gradient(90deg,#f5f6fc 50%,#141628 50%)}
html[data-cpa-public] body.mm-app[data-mm-theme] .wcpa-theme-mini i+i {background:#dcd5ff;border-color:#bcb0f4}
html[data-cpa-public] body.mm-app[data-mm-theme] .wcpa-theme-mini-dark i {background:#21253d;border-color:#454466}
html[data-cpa-public] body.mm-app[data-mm-theme] .wcpa-theme-mini-dark i+i {background:#393060}
/* Keep all existing business tools accessible in a compact disclosure. */
html[data-cpa-public] body.mm-app[data-mm-theme] #pb-tools-preview {margin:16px 14px;padding:0;background:var(--mm-soft);color:var(--mm-text);border:1px solid var(--mm-line);border-radius:17px;box-shadow:none}
html[data-cpa-public] body.mm-app[data-mm-theme] .connect-community-details>summary {display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;min-height:64px;padding:14px;font-size:12px;font-weight:650}
html[data-cpa-public] body.mm-app[data-mm-theme] .connect-community-details>summary::-webkit-details-marker {display:none}
html[data-cpa-public] body.mm-app[data-mm-theme] .connect-community-details>summary::after {content:'＋';margin-left:auto;font-size:20px;color:var(--mm-green)}
html[data-cpa-public] body.mm-app[data-mm-theme] .connect-community-details[open]>summary::after {content:'−'}
html[data-cpa-public] body.mm-app[data-mm-theme] .connect-community-details>summary small {display:block;margin-top:4px;font-size:11px;font-weight:400;color:var(--mm-muted)}
html[data-cpa-public] body.mm-app[data-mm-theme] .connect-community-details>:not(summary) {margin:0 12px 12px}
html[data-cpa-public] body.mm-app[data-mm-theme] .connect-community-details .ptp-heading {display:none}
html[data-cpa-public] body.mm-app[data-mm-theme] :is(.ptp-options button,.ptp-refresh) {background:var(--mm-surface);border-color:var(--mm-line);color:var(--mm-text)}
html[data-cpa-public] body.mm-app[data-mm-theme] :is(.ptp-options button>span,.ptp-dialog p,.ptp-dialog li,.ptp-entry span) {color:var(--mm-muted)}
html[data-cpa-public] body.mm-app[data-mm-theme] .ptp-join {background:var(--connect-gradient);color:white!important}
html[data-cpa-public] body.mm-app[data-mm-theme] :is(.ptp-entry strong,.ptp-dialog header>span,.cpa-notice-kicker) {color:var(--mm-green)}
@media(max-width:760px) {
 html[data-cpa-public] body.mm-app[data-mm-theme] .mm-list-header {padding:calc(14px + env(safe-area-inset-top,0px)) 14px 10px}
 html[data-cpa-public] body.mm-app[data-mm-theme] .mm-shell {box-shadow:none}
 html[data-cpa-public] body.mm-app[data-mm-theme] .mm-shell>.mm-bottom-nav {margin:7px 10px max(8px,env(safe-area-inset-bottom,0px));padding:5px;width:calc(100% - 20px)}
}
@media(max-width:359px) {
 html[data-cpa-public] body.mm-app[data-mm-theme] .mm-list-header {padding-inline:10px}
 html[data-cpa-public] body.mm-app[data-mm-theme] .wcpa-inbox-title h1 {font-size:18px;gap:6px}
 html[data-cpa-public] body.mm-app[data-mm-theme] .wcpa-inbox-title h1 img {width:30px;height:30px;flex-basis:30px;border-radius:10px}
 html[data-cpa-public] body.mm-app[data-mm-theme] .wcpa-inbox-title h1 small {font-size:9px}
}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more) {
 html[data-cpa-public] body.mm-app[data-mm-theme] {--glass-fill:var(--mm-chrome);--glass-sheen:none}
}
