/* System preference is evaluated by CSS before first paint and when it changes.
   Public-space accents and desktop/Studio presentations remain their own identity. */
html{color-scheme:light}
@media(max-width:760px), (max-width:1023px) and (pointer:coarse){
 html{color-scheme:light dark;--mobile-bg:#fffefa;--mobile-panel:#fff;--mobile-raised:#f0edff;--mobile-text:#18243b;--mobile-muted:#546077;--mobile-line:#d9d1e6;--mobile-control-line:#827392;--mobile-link:#4936cf}
 body{padding-inline:max(0px,env(safe-area-inset-left)) max(0px,env(safe-area-inset-right))}
 body.profile-page[class]{--theme-bg:var(--mobile-bg);--theme-panel:var(--mobile-panel);--theme-panel-2:var(--mobile-raised);--theme-text:var(--mobile-text);--theme-muted:var(--mobile-muted);--theme-line:var(--mobile-line);--surface:var(--theme-bg);--surface-text:var(--mobile-text);color:var(--theme-text)}
 body.profile-page:not([data-background]),body.profile-page[data-background="theme"]{background-color:var(--theme-bg)}
 body.profile-page.theme-cobalt{--theme-bg:#eff1fc;--theme-panel:#fafbff;--theme-panel-2:#e1e7fa}
 body.profile-page.theme-forest{--theme-bg:#e9f4f0;--theme-panel:#f9fffc;--theme-panel-2:#d9ece5}
 body.profile-page.theme-rose{--theme-bg:#fff0f2;--theme-panel:#fffafb;--theme-panel-2:#f8dfe6}
 body.profile-page.theme-sand{--theme-bg:#f6efe5;--theme-panel:#fffaf3;--theme-panel-2:#ebe0cf}
 body.profile-page :is(.space-intro-kicker .eyebrow,.space-story-number,.space-next>.eyebrow){color:var(--theme-text)}
 body.profile-page .space-contact-intro .eyebrow{color:var(--theme-text)}
 body.profile-page .space-topbar{width:100%;max-width:none;margin:0;min-height:56px}
 body.profile-page .space-identity-bar{width:calc(100% - 32px);max-width:none;margin:16px auto!important;padding:16px}
 body.profile-page .space-page-main{width:calc(100% - 32px);margin-inline:auto}
 body.profile-page .space-intro{padding:16px}
 :is(.site-header,.member-header,.space-topbar){padding-top:env(safe-area-inset-top)}
 html body :is(input,textarea,select):not([type=checkbox]):not([type=radio]){font-size:16px!important;scroll-margin-block:90px}
 :is(button,a,summary,input,textarea,select){-webkit-tap-highlight-color:transparent}
 :is(button,summary,.button){touch-action:manipulation}
 :focus-visible{outline:3px solid var(--mobile-link);outline-offset:3px}
 :is(.public-mobile-footer,.stream-mobile-footer){padding-inline:env(safe-area-inset-left) env(safe-area-inset-right)}
 :is(.public-mobile-more,.stream-mobile-more)>div{overscroll-behavior:contain}
 .social-home .site-header{position:sticky;top:0}
 .social-home .site-header-inner{min-height:56px;padding-block:6px}
 .social-home .site-header{min-height:56px}
 .social-home .spacey-launcher{bottom:calc(76px + env(safe-area-inset-bottom))}
 .merch-main :is(.merch-nav a,.merch-back){display:inline-flex;align-items:center;min-height:44px}
 .merch-main .merch-eyebrow{font-size:12px!important;letter-spacing:.12em}
 .merch-main .merch-nav a{font-size:14px!important}
 .merch-main :is(.merch-button,button){border-radius:12px}
 .merch-form :is(input,select){border-radius:10px}
 .chat-page .chat-composer textarea{font-size:16px}
 .chat-page :is(.chat-message-actions button,.chat-message>button,.chat-info,.chat-emoji-toggle){min-width:44px;min-height:44px}
 .chat-page .member-footer{display:none}
 html[data-member-workspace] body.chat-page #main{width:100%;margin:0;padding:0!important}
 .chat-page .chat-workspace{border-radius:0;border-inline:0}
 .chat-page [data-private-chat][data-visitor-chat]{grid-template-rows:auto minmax(0,1fr)}
 .chat-page [data-private-chat][data-visitor-chat]>.chat-conversation{grid-row:2}
 .chat-page .chat-history{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 .chat-page [data-private-chat] .chat-room.is-active small{color:inherit}
 .chat-toolbar{flex-wrap:wrap}
 .chat-toolbar>div:first-child{flex-basis:100%}
 .chat-toolbar h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .chat-page .chat-toolbar h1{font-size:17px!important;font-weight:700}
 .chat-toolbar-actions{margin-left:auto}
 .chat-toolbar p{display:none}
 .account-page{color-scheme:inherit}
 body.review-invitation-page{background:var(--mobile-bg);color:var(--mobile-text);padding-bottom:env(safe-area-inset-bottom)}
 .review-invitation-page a{color:var(--mobile-link)}
 .review-invitation-page footer a{display:inline-flex;align-items:center;min-height:44px}
 .review-invitation-page .button:focus-visible{outline-color:var(--mobile-link)}
 html .spacey-panel{padding-top:env(safe-area-inset-top)}
 html .spacey-panel :is(button,summary){min-height:44px}
 body[data-mobile-keyboard] :is(.public-mobile-footer,.stream-mobile-footer){display:none}
 .chat-page[data-mobile-keyboard] :is(.workspace-quick,.workspace-context,.chat-space-link){display:none}
 .chat-page[data-mobile-keyboard] .chat-toolbar>div:first-child{flex:1;min-width:0;flex-basis:0}
}
@media(max-width:760px) and (prefers-color-scheme:dark), (max-width:1023px) and (pointer:coarse) and (prefers-color-scheme:dark){
 html{--mobile-bg:#101521;--mobile-panel:#1a2232;--mobile-raised:#28324b;--mobile-text:#f1f4fb;--mobile-muted:#bbc5d8;--mobile-line:#536078;--mobile-control-line:#7b89a2;--mobile-link:#b9adff;background:var(--mobile-bg)}
 body:not(.profile-page):not(.studio-page):not(.portal-admin-page){background:var(--mobile-bg)!important;color:var(--mobile-text)}
 :is(.site-header,.member-header,.site-navigation,.site-dropdown-links,.member-account nav,.member-account summary,.public-mobile-footer,.stream-mobile-footer,.public-mobile-more>div,.stream-mobile-more>div){background:var(--mobile-panel)!important;color:var(--mobile-text);border-color:var(--mobile-line);--site-ink:var(--mobile-text);--site-border:var(--mobile-line)}
 :is(.site-menu-toggle,.public-mobile-title,.stream-mobile-title,.member-brand,.member-context,.member-account nav a,.member-account nav button,.public-mobile-more>div a,.stream-mobile-more>div a){color:var(--mobile-text)!important}
 :is(.public-mobile-footer nav>a,.public-mobile-more>summary,.stream-mobile-footer nav>a,.stream-mobile-more>summary){color:var(--mobile-muted)}
 :is(.public-mobile-footer,.stream-mobile-footer) a[aria-current]{color:var(--mobile-link)}
 .social-home{color:var(--mobile-text)!important}
 .home-mobile :is(.mobile-eyebrow,.mobile-lead,.mobile-note,.mobile-example-copy>p,.mobile-discover>p,.mobile-discover strong+span,.mobile-questions details p){color:var(--mobile-muted)}
 .home-mobile :is(h1>span,.mobile-eyebrow>span,.mobile-example-link,.mobile-guide-link,.mobile-discover nav>a>svg){color:var(--mobile-link)!important}
 .home-mobile :is(article,.mobile-discover nav>a){background:var(--mobile-panel);border-color:var(--mobile-line)}
 .home-mobile :is(.mobile-example,.mobile-questions,.mobile-questions details){border-color:var(--mobile-line)}
 .home-mobile .mobile-discover-icon{background:var(--mobile-raised);color:var(--mobile-link)}
 .merch-page{--merch-paper:var(--mobile-bg);--merch-ink:var(--mobile-text);--merch-muted:var(--mobile-muted)}
 .merch-main :is(.merch-panel,.merch-form input:not([type=checkbox]),.merch-form select,.merch-bag-item form input[type=number]){background:var(--mobile-panel);color:var(--mobile-text);border-color:var(--mobile-line)}
 .merch-main :is(.merch-button:not(.secondary),button:not(.secondary)){background:#5144ed;border-color:#9488ff}
 .merch-main :is(.merch-nav,.merch-benefits,.merch-details,.merch-details details,.merch-details td,.merch-details th,.merch-bag-item,.merch-orders li){border-color:var(--mobile-line)}
 .merch-main :is(.merch-hero-media span,.merch-thumbs a,.merch-status){background:var(--mobile-raised);color:var(--mobile-text)}
 .merch-main .merch-review-card{background:transparent;color:var(--mobile-text);border-color:var(--mobile-line)}
 .merch-main :is(.merch-stars,.merch-review-card .merch-eyebrow){color:var(--mobile-text)}
 .chat-page :is(.chat-workspace,.chat-toolbar,.chat-history,.chat-composer,.chat-signin,.chat-sidebar,.chat-settings,.chat-moderation,.chat-options summary,.chat-options nav,.chat-inbox-empty,.chat-invite input,.chat-invite>div){background:var(--mobile-panel);color:var(--mobile-text);border-color:var(--mobile-line)}
 .chat-page :is(.chat-conversation-heading,.chat-tabs,.chat-message,.chat-sidebar [data-inbox] .chat-room,.chat-sidebar [data-lounge]){background:var(--mobile-raised);color:var(--mobile-text);border-color:var(--mobile-line)}
 .chat-page .chat-message.is-mine{background:#383363;border-color:#8d80c1}
 .chat-page :is(.chat-message p,.chat-options nav button,.chat-space-link,.chat-card-copy strong){color:var(--mobile-text)}
 .chat-page :is(.chat-toolbar p,.chat-conversation-heading p,.chat-message header,.chat-small,.chat-composer small,.chat-settings>p,.chat-settings small,.chat-card-copy small,.chat-invite small,.chat-empty-tip){color:var(--mobile-muted)}
 .chat-page :is(textarea,input,.chat-info,.chat-emoji-toggle,.chat-emoji-picker){background:var(--mobile-bg);color:var(--mobile-text);border-color:var(--mobile-line)}
 .chat-page :is(.chat-message-actions button,.chat-message>button){color:var(--mobile-link)}
 .public-timeline-page :is(.community-card,.community-composer,.community-compose-form,.community-dialog,.stream-mobile-filter){background:var(--mobile-panel);color:var(--mobile-text);border-color:var(--mobile-line)}
 .public-timeline-page :is(.community-card p,.community-card h2,.community-card h3,.community-card strong,.community-composer h2){color:var(--mobile-text)}
 .public-timeline-page :is(.community-eyebrow,.community-card small,.community-card time,.community-card-meta,.community-upload-help,.community-help,.community-feed-heading,.community-status){color:var(--mobile-muted)}
 .public-timeline-page :is(textarea,input,select){background:var(--mobile-bg);color:var(--mobile-text);border-color:var(--mobile-line)}
 .public-timeline-page :is(.community-back,.community-more,.stream-mobile-filter>summary){color:var(--mobile-link)}
 .public-timeline-page :is(.community-content-types,.community-feed-heading>span,.community-author>div>span,.community-example-label,.community-example figcaption){color:var(--mobile-muted)}
 .public-timeline-page :is(.community-example figcaption a,.community-example-prompt,.stream-mobile-footer .stream-dock-post){color:var(--mobile-link)}
 .public-timeline-page .community-author span:not(.community-avatar):not(.community-example-label),.public-timeline-page .community-inspiration>header>p{color:var(--mobile-muted)}
 /* Visitor content uses the space's existing palette tokens; no preview/editor overrides. */
 body.profile-page.theme-cobalt{--theme-bg:#141b36;--theme-panel:#202d50;--theme-panel-2:#2c3c60}
 body.profile-page.theme-forest{--theme-bg:#102720;--theme-panel:#19392f;--theme-panel-2:#24483d}
 body.profile-page.theme-rose{--theme-bg:#2b1b28;--theme-panel:#3b2737;--theme-panel-2:#4a3445}
 body.profile-page.theme-sand{--theme-bg:#29231e;--theme-panel:#393028;--theme-panel-2:#493d32}
 .contact-page :is(.contact-main,.contact-card){background:var(--mobile-panel);color:var(--mobile-text);border-color:var(--mobile-line)}
 .contact-page .contact-main::before{display:none}
 .contact-page :is(.contact-intro h1,.contact-field label){color:var(--mobile-text)!important}
 .contact-page :is(.contact-lead,.contact-reasons p,.contact-privacy,.contact-eyebrow){color:var(--mobile-muted)}
 .contact-page :is(.contact-email,.contact-privacy a){color:var(--mobile-link)}
 .contact-page .contact-field :is(input,select,textarea){background:var(--mobile-bg);color:var(--mobile-text);border-color:var(--mobile-line)}
 .account-page :is(.account-card,.account-google,.account-switch){background:var(--mobile-panel);color:var(--mobile-text);border-color:var(--mobile-line)}
 .account-page :is(.account-story h1,.account-card h2,.account-brand,[data-account-form]>label,.account-field>label){color:var(--mobile-text)}
 .account-page :is(.account-description,.account-eyebrow,.account-divider,.account-hint,.account-header nav a,.account-support-links a){color:var(--mobile-muted)}
 .account-page :is(.account-links a,.account-switch>span:last-child){color:var(--mobile-link)}
 body.account-page .account-links .account-switch:hover,body.account-page .account-links .account-switch:focus-visible{background:var(--mobile-raised);color:var(--mobile-link)}
 .account-page :is([data-account-form]>label>input,.account-field>select){background:var(--mobile-bg);color:var(--mobile-text);border-color:var(--mobile-line)}
 .guides-page :is(.guide-card,.guides-paths>div,.guides-next,.guide-article,.guide-toc){background:var(--mobile-panel);color:var(--mobile-text);border-color:var(--mobile-line)}
 .guides-page :is(.guides-hero h1,.guide-article-header h1,.guide-card h2 a){color:var(--mobile-text)}
 .guides-page :is(.guides-list-heading>p,.guide-card p,.guides-hero p,.guide-article-header>p,.guides-paths span,.guides-next p){color:var(--mobile-muted)}
 .guides-page :is(.guides-eyebrow,.guide-card-category,.guide-card-footer,.guides-paths strong){color:var(--mobile-link)}
 .platform-reading :is(h1,h2,h3,p,li,dt,dd){color:var(--mobile-text)}
 .platform-reading a:not(.button){color:var(--mobile-link)}
 .platform-reading :is(.reading-nav,.reading-card,.reading-subsection){background:var(--mobile-panel);border-color:var(--mobile-line)}
 .platform-reading :is(.reading-nav .social-eyebrow,.reading-nav a,.reading-support){color:var(--mobile-link)}
 .platform-reading .reading-card a{text-decoration:underline!important}
 .guides-page :is(.guide-prose,.guide-prose h2,.guide-prose .guide-lead){color:var(--mobile-text)}
 .guides-page :is(.guide-prose a,.guide-byline,.guide-rating-hint,.guide-view-count,[data-guide-average]){color:var(--mobile-link)}
 .chat-page .chat-sidebar>.chat-small{background:transparent;color:var(--mobile-muted)}
 .chat-page [data-private-chat]>.chat-sidebar{background:var(--mobile-panel);border-color:var(--mobile-line)}
 .chat-page [data-private-chat] .chat-room{color:var(--mobile-text)}
 .chat-page [data-private-chat] .chat-room small{color:var(--mobile-muted)}
 body.demo-space-page[class]{--demo-bg:var(--mobile-bg);--demo-panel:var(--mobile-panel);--demo-text:var(--mobile-text);--demo-muted:var(--mobile-muted);--demo-line:var(--mobile-line);--demo-highlight:var(--mobile-link)}
 .directory-page :is(.explore-search-heading h2,[data-result-count],.directory-disclosure){color:var(--mobile-muted)}
 .creator-landing :is(.cl-promise-strip span,.cl-jump-nav a){color:var(--mobile-muted)}
 .guides-page :is(.guide-card h3 a,.guide-card-body h3 a){color:var(--mobile-text)}
 :is(.shop-page,.tools-page) :is(.tools-eyebrow,.tools-intro>p){color:var(--mobile-muted)}
 :is(.tool-card,.shop-item-card,.shop-checkout-card,.purchase-empty){background:var(--mobile-panel);color:var(--mobile-text);border-color:var(--mobile-line)}
 :is(.tool-card,.shop-item-card,.shop-checkout-card) :is(p,small){color:var(--mobile-muted)}
 .template-library-page :is(.tpl-section-heading,.tpl-collection>header){color:var(--mobile-text)}
 .template-library-page :is(.tpl-section-heading p,.tpl-section-heading .eyebrow,.tpl-collection-number,.tpl-collection>header>span){color:var(--mobile-muted)}
 .template-library-page .tpl-card-preview{color:#18243b}
 .profile-page :is(.space-intro-details>p,.space-intro-details span){color:var(--theme-muted)}
 .demo-space-page{--theme-bg:var(--mobile-bg);--theme-panel:var(--mobile-panel);--theme-panel-2:var(--mobile-raised);--theme-text:var(--mobile-text);--theme-muted:var(--mobile-muted);--theme-line:var(--mobile-line)}
 .directory-page :is(.directory-tools,.directory-card,.directory-search,.directory-invite,.my-spaces-empty,.space-opportunities){background:var(--mobile-panel);color:var(--mobile-text);border-color:var(--mobile-line)}
 .directory-page :is(.explore-search-heading h2,[data-result-count]){color:var(--mobile-text)}
 .directory-page .directory-disclosure{color:var(--mobile-muted)}
 .guide-prose .guide-action a{color:#fff}
 .guides-page :is(.guide-read-link,.guide-card-engagement){color:var(--mobile-link)}
 body.shop-page :is(.tool-card,.shop-item-card,.shop-checkout-card){background:var(--mobile-panel);color:var(--mobile-text)}
 body.shop-page .tools-intro>p{color:var(--mobile-muted)}
 .template-library-page :is(.tpl-filters,.tpl-result){color:var(--mobile-muted)}
 .shop-page .tools-intro>p:last-child{color:var(--mobile-muted)}
 .shop-page .shop-products .tool-tag{color:var(--mobile-link)}
 .shop-page .shop-price{color:var(--mobile-text)!important}
 .space-public-shop :is(.space-shop-header,.space-shop-header .adaptive-navigation nav){background:var(--mobile-panel);border-color:var(--mobile-line)}
 .space-public-shop :is(.space-shop-brand,.space-shop-header .adaptive-navigation summary){color:var(--mobile-text)}
 .directory-page :is(.directory-saved-filter,.directory-results-bar label,.directory-invite p,.directory-invite h2){color:var(--mobile-muted)}
 .directory-page .directory-results-bar label,.directory-page .directory-disclosure{color:var(--mobile-muted)}
 .directory-page .directory-invite :is(h2,p){color:var(--mobile-text)}
 body.directory-page .directory-invite h2,body.directory-page .directory-invite p:last-child{color:var(--mobile-text)}
 body.directory-page .directory-results-bar label,body.directory-page .directory-disclosure{color:var(--mobile-muted)}
 body.directory-page.explore-page .directory-disclosure{color:var(--mobile-muted)}
 .directory-page .explore-published{background:var(--mobile-bg);color:var(--mobile-text)}
 .directory-page .explore-published .directory-card:nth-child(n) .directory-card-copy{background:var(--mobile-panel);color:var(--mobile-text)}
 .directory-page .explore-published .directory-card:nth-child(n) .directory-card-copy :is(.directory-card-category,.directory-card-category span,.directory-card-headline){color:var(--mobile-muted)}
 .template-library-page .tpl-filters{background:var(--mobile-panel);border-color:var(--mobile-line)}
 .template-preview-page :is(.tpl-preview-toolbar span,.space-intro-details>p,.space-work-heading .eyebrow,.space-work-heading>span,.tpl-preview-next>p){color:var(--theme-muted)}
 body.profile-page :is(.space-identity-copy strong,.space-identity-actions .button-ghost,.space-intro-kicker,.space-intro-kicker .eyebrow,.space-intro-kicker>span,.space-work-heading,.space-work-heading .eyebrow,.space-work-heading>span,.space-story-number,.space-story-detail p,.space-next>.eyebrow,.space-next p,.space-explore-link,.space-intro-details p,.space-intro-details .button-ghost,.smart-back-link){color:var(--theme-text)}
 body.profile-page .timeline-post{background:var(--theme-panel);color:var(--theme-text);border-color:var(--theme-line)}
 body.profile-page :is(.timeline-post header strong,.timeline-post header span,.post-live,.post-body,.post-actions button,.action-share,.post-actions .is-active){color:var(--theme-text)}
 body.profile-page.timeline-page :is(.timeline-brand-panel h1,.timeline-brand-copy,.timeline-brand-actions .button-ghost,.timeline-composer-heading h2,.timeline-composer-heading a,.timeline-post header span,.post-live){color:var(--theme-text)}
 :is(.workspace-primary-nav,.owner-navigation,.owner-header,.owner-account nav,.workspace-menu-panel,.workspace-account nav){background:var(--mobile-panel)!important;color:var(--mobile-text);border-color:var(--mobile-line)}
 :is(.workspace-brand,.workspace-context,.workspace-primary-nav a,.owner-brand,.owner-navigation a,.owner-account a,.workspace-menu-panel a){color:var(--mobile-text)!important}
 :is(.workspace-menu>summary,.workspace-account>summary){background:var(--mobile-raised);color:var(--mobile-text);border-color:var(--mobile-line)}
 :is(.workspace-quick,html[data-owner-workspace] .workspace-quick,.workspace-directory,.workspace-account>div){background:var(--mobile-panel);border-color:var(--mobile-line)}
 :is(.workspace-quick a,html[data-owner-workspace] .workspace-quick a,.workspace-directory a,.workspace-account a){color:var(--mobile-text)}
 html[data-owner-workspace] .directory-page :is(.my-spaces-heading h1,.my-spaces-heading p,.directory-card-copy h2,.directory-card-headline){color:var(--mobile-text)}
 html[data-owner-workspace] .directory-page .directory-card-link{background:var(--mobile-panel);color:var(--mobile-text)}
 :is(.owner-navigation,.workspace-quick) a[aria-current=page]{background:var(--mobile-raised)!important;color:var(--mobile-link)!important}
 html :is(.spacey-panel,.spacey-header,.spacey-log,.spacey-menu-items,.spacey-review,.spacey-review dl,.spacey-help-panel,.spacey-help-header,.spacey-clear-dialog){background:var(--mobile-panel);color:var(--mobile-text);border-color:var(--mobile-line)}
 html .spacey-panel :is(.spacey-event,.spacey-suggestions button,.spacey-older,.spacey-review,.spacey-funding-note){background:var(--mobile-raised);color:var(--mobile-text);border-color:var(--mobile-line)}
 html .spacey-panel :is(h2,h3,label,.spacey-intro,.spacey-status,.spacey-disclosure,.spacey-review dt,.spacey-header p){color:var(--mobile-muted)}
 html .spacey-panel :is(textarea,select,.spacey-stop,.spacey-close,.spacey-menu-toggle,.spacey-help-button){background:var(--mobile-bg);color:var(--mobile-text);border-color:var(--mobile-line)}
 html .spacey-panel a{color:var(--mobile-link)}
 html .spacey-panel :is(.spacey-status,.spacey-composer,.spacey-composer .spacey-controls){background:var(--mobile-panel);border-color:var(--mobile-control-line)}
 html .spacey-panel .spacey-composer textarea{background:var(--mobile-panel);color:var(--mobile-text)}
 html .spacey-panel .spacey-guest-inputs{color:var(--mobile-muted)}
 html .spacey-panel .spacey-guest-inputs a{color:var(--mobile-link)}
 html .spacey-panel .spacey-form{background:var(--mobile-panel)}
 html[data-owner-workspace] .owner-footer,html[data-owner-workspace] .owner-footer a{color:var(--mobile-muted)}
}
@media(max-width:760px), (max-width:1023px) and (pointer:coarse){
 #main :is(input,textarea,select):not([type=checkbox]):not([type=radio]),#spacey-panel :is(input,textarea,select){border-color:var(--mobile-control-line)}
 :is(.directory-search,.directory-saved-filter,.button-ghost){border-color:var(--mobile-control-line)}
}
@media(max-height:500px) and (max-width:1023px){
 .social-home .mobile-intro{padding-block:16px}
 .social-home .home-mobile h1{font-size:28px;line-height:1.1;margin-block:10px}
 .social-home .mobile-lead{font-size:16px;line-height:1.45}
 .social-home .mobile-primary{min-height:48px;margin-top:12px}
 .chat-page[data-mobile-editing] :is(.member-header,.workspace-quick,.chat-space-link){display:none}
 .chat-page[data-mobile-editing] .chat-toolbar{padding-block:4px}
 .chat-page[data-mobile-editing] .chat-toolbar>div:first-child{flex:1;min-width:0;flex-basis:0}
 .chat-page[data-mobile-editing] .chat-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;padding-block:6px}
 .chat-page[data-mobile-editing] .chat-composer textarea{height:44px;min-height:44px;max-height:60px}
 .chat-page[data-mobile-editing] .chat-composer>div{display:contents}
 .chat-page[data-mobile-editing] .chat-composer small{display:none}
}
@media(max-height:500px) and (max-width:760px), (max-height:500px) and (max-width:1023px) and (pointer:coarse){
 /* The labelled Menu still opens Spacey; a floating button would cover the CTA. */
 .social-home .spacey-launcher{display:none}
}
