/* Shared chrome only. Page palettes are built from the source styles. */
html{color-scheme:light}
html[data-tribora-theme=dark]{color-scheme:dark;background:#161719;color:#f4f5f7}
html[data-tribora-theme=dark] body{background:#161719;color:#f4f5f7}
.tribora-theme-control{position:relative;display:inline-flex;margin:18px 4%;align-items:center;gap:7px;padding:6px 9px;border:1px solid #dadde2;border-radius:9px;background:#fff;color:#343940;box-shadow:0 2px 10px #0000000a;font:12px/1.4 Arial,Helvetica,sans-serif}
.tribora-theme-control svg{width:16px;height:16px;flex-shrink:0}
.tribora-theme-label{font-size:12px;letter-spacing:0;text-transform:none}
.tribora-theme-control select{width:72px;min-height:27px;border:0;padding:2px;background:transparent;color:inherit;font:inherit;cursor:pointer}
.tribora-theme-control select:focus-visible{outline:2px solid #315f8d;outline-offset:2px;border-radius:3px}
html[data-tribora-theme=dark] .tribora-theme-control{background:#202226;border-color:#484d56;color:#f4f5f7}
html[data-tribora-theme=dark] .tribora-theme-control option{background:#202226;color:#f4f5f7}
html[data-tribora-theme=dark] :is(input,textarea,select){color-scheme:dark}
html[data-tribora-theme=dark] :is(input,textarea)::placeholder{color:#aeb5c0;opacity:1}
html[data-tribora-theme=dark] :is(a,button,input,textarea,select,summary):focus-visible{outline-color:#a8cef4}
html[data-tribora-theme=dark] ::selection{background:#365b7c;color:#fff}
/* Use the original dark brand asset: violet symbol and O, white lettering.
   Never recolor the brand mark with grayscale, inversion or brightness filters. */
html[data-tribora-theme=dark] body img[src$="/logo.png"][alt="Tribora"]{content:url("assets/logo-dark.png");filter:none;mix-blend-mode:lighten}
html[data-tribora-theme=dark] body img[src$="/logo-dark.png"][alt="Tribora"]{filter:none;mix-blend-mode:lighten}
html[data-tribora-theme=dark] body #main{background:#161719}
@media print{.tribora-theme-control{display:none}}
html[data-tribora-theme=dark] body[data-member-appearance=dark]:not(.member-dashboard-mode) #main{background:#161719}
/* Active filters remain unmistakable against dark feed surfaces. */
html[data-tribora-theme=dark] body[data-member-appearance=dark].member-dashboard-mode .filter-chips button.active{background:#f4f5f7;color:#202226;border-color:#f4f5f7}
/* The source logo includes outer whitespace. Fit its complete visible wordmark
   to the wrapper in either theme, rather than clipping a fixed-width image. */
:is(.app-header .logo,.header .brand,.expanded-footer .brand,#auth-logo){flex-shrink:0}
:is(.app-header .logo,.header .brand,.expanded-footer .brand,#auth-logo) img{width:130%;max-width:none;height:auto;left:-17%;top:50%;transform:translateY(-50%)}

/* Keep the mentor Talk filter readable after neutral theme variables resolve. */
html[data-tribora-theme=dark] body .mt-filters button[aria-pressed=true]{background:#f4f5f7;color:#202226;border-color:#f4f5f7}

/* Product artwork retains its light paper palette in Community Shop. */
html[data-tribora-theme=dark] .cw-world .cshop-art{background:#e6ebe4;color:#222924}
html[data-tribora-theme=dark] .cw-world .cshop-paper-art{background:#e6eadf}
html[data-tribora-theme=dark] .cw-world .cshop-art.kind-template{background:#e6e0d3}
html[data-tribora-theme=dark] .cw-world .cshop-art.kind-bundle{background:#d6e1df}
html[data-tribora-theme=dark] .cw-world .cshop-art.kind-upload{background:#dce3eb}
html[data-tribora-theme=dark] .cw-world .cshop-paper{background:#fffdf7;color:#222924}
html[data-tribora-theme=dark] .cw-world .cshop-paper :is(small,strong){color:#222924}
html[data-tribora-theme=dark] .cw-world .cshop-paper span{color:#626658}
html[data-tribora-theme=dark] .cw-world .cshop-paper i{background:#d6d9cd}
html[data-tribora-theme=dark] .cw-world .cshop-art-label{background:#ffffffed;color:#222924}
html[data-tribora-theme=dark] .cw-world .cshop-save{background:#fff;color:#222924;border-color:#d5ddd5}
html[data-tribora-theme=dark] .cw-world .cshop-save.is-saved{background:#fff;color:#c83d3d}
.cw-world .cw-button.cshop-add,
html[data-tribora-theme=dark] .cw-world .cw-button.cshop-add{background:#fff;color:#17191c;border-color:#d5d9df}

/* Community scheduled sessions: distinct palettes with readable date tiles. */
.cw-world .cl-next,.cw-world .cl-upcoming-grid article{--session-bg:#e6eef5;--session-line:#bdcfdd;--session-ink:#203c50;--session-muted:#455d6e;--session-tile:#f6faff;background:var(--session-bg);border-color:var(--session-line);color:var(--session-ink)}
.cw-world .cl-upcoming-grid article:nth-child(3n + 2){--session-bg:#e6efe8;--session-line:#bed1c4;--session-ink:#244636;--session-muted:#496352;--session-tile:#f7fbf6}
.cw-world .cl-upcoming-grid article:nth-child(3n){--session-bg:#f3eadd;--session-line:#dccbb4;--session-ink:#573d25;--session-muted:#705b43;--session-tile:#fffaf2}
html[data-tribora-theme=dark] .cw-world .cl-next,html[data-tribora-theme=dark] .cw-world .cl-upcoming-grid article{--session-bg:#223e53;--session-line:#4c708b;--session-ink:#f4f8ff;--session-muted:#ccdce9;--session-tile:#e7f1fa;background:var(--session-bg);border-color:var(--session-line);color:var(--session-ink)}
html[data-tribora-theme=dark] .cw-world .cl-upcoming-grid article:nth-child(3n + 2){--session-bg:#29483d;--session-line:#537e6a;--session-muted:#d0e4d9;--session-tile:#e8f4ec}
html[data-tribora-theme=dark] .cw-world .cl-upcoming-grid article:nth-child(3n){--session-bg:#503d2b;--session-line:#8c7150;--session-muted:#ecddca;--session-tile:#fbefdc}
html .cw-world :is(.cl-next,.cl-upcoming-grid article) :is(h3,strong,.cl-eyebrow){color:var(--session-ink)}
html .cw-world :is(.cl-next,.cl-upcoming-grid article) :is(p,small,.cl-session-meta,.cl-countdown>span){color:var(--session-muted)}
html .cw-world :is(.cl-next,.cl-upcoming-grid article) :is(.cl-session-meta,.cl-countdown,button){border-color:var(--session-line)}
html .cw-world .cl-upcoming-grid article>button{color:var(--session-ink)}
html .cw-world .cl-upcoming-grid .cl-calendar-tile{background:var(--session-tile);border-color:transparent;color:#22382f}
html .cw-world .cl-upcoming-grid .cl-calendar-tile strong{color:#22382f}
html .cw-world .cl-lobby .cl-upcoming-grid .cl-calendar-tile small{background:#00000008;color:#415447}
html .cw-world :is(.cl-next,.cl-upcoming-grid article) .cl-scheduled{background:var(--session-tile);color:#304a3d;border-color:transparent}
html .cw-world .cl-next>.cw-button{background:#fff;color:#20252b;border-color:#fff}

/* Selected space highlights carry color; reading and editing surfaces stay neutral. */
html[data-tribora-theme=dark] body :is(.ch-next,.clv-next,.ck-note,.mh-next,.mlv-session-compact,.shi-banner){background:#29483d;border-color:#537e6a}
html[data-tribora-theme=dark] body :is(.ev-host-note,.smh-pass,.ehc-host-note,.mlv-session-compact:nth-child(even)){background:#223e53;border-color:#4c708b}
html[data-tribora-theme=dark] body :is(.ev-preparation,.smh-reflection,.smp-program-note){background:#503d2b;border-color:#8c7150}
html[data-tribora-theme=dark] body .ev-world .ev-wait:not(.ev-ended):not(.ev-cancelled):not(.ev-live){background:#223e53;border-color:#4c708b}
html[data-tribora-theme=dark] body .sms-session:not(.is-live){background:#223e53;border-color:#4c708b}
html[data-tribora-theme=dark] body .sms-session:not(.is-live):nth-of-type(3n + 2){background:#29483d;border-color:#537e6a}
html[data-tribora-theme=dark] body .sms-session:not(.is-live):nth-of-type(3n){background:#503d2b;border-color:#8c7150}
html[data-tribora-theme=dark] body .ssp-session:not(.ssp-hidden) .ssp-session-body{background:#29483d;border-color:#537e6a}
html[data-tribora-theme=dark] body .ssp-session:not(.ssp-hidden):nth-of-type(3n + 2) .ssp-session-body{background:#223e53;border-color:#4c708b}
html[data-tribora-theme=dark] body .ssp-session:not(.ssp-hidden):nth-of-type(3n) .ssp-session-body{background:#503d2b;border-color:#8c7150}

html[data-tribora-theme=dark] body .clv-agenda article{background:#223e53;border-color:#4c708b}
html[data-tribora-theme=dark] body .clv-agenda article:nth-child(even){background:#29483d;border-color:#537e6a}

/* Learn uses color for progress and module orientation, with neutral lesson bodies. */
html[data-tribora-theme=dark] body :is(.cln-resume,.cln-row.is-current,.ml-banner){background:#29483d;border-color:#537e6a}
html[data-tribora-theme=dark] body :is(.cln-module>header,.cln-sidebar-heading,.ml-module>header){background:#223e53;border-color:#4c708b}
html[data-tribora-theme=dark] body :is(.cln-module:nth-child(even)>header,.ml-module:nth-child(even)>header){background:#29483d;border-color:#537e6a}
html[data-tribora-theme=dark] body :is(.cln-bottom>section,.cla-project-guide,.ml-guide){background:#503d2b;border-color:#8c7150}

/* TRIBORA APPROVED SHARED PRESENTATION 20261015 */
@font-face{font-family:Arimo;font-style:normal;font-weight:400 700;font-display:swap;src:url("assets/premium-fonts/Arimo.ttf") format("truetype")}
@font-face{font-family:Lora;font-style:normal;font-weight:400 700;font-display:swap;src:url("assets/premium-fonts/Lora.ttf") format("truetype")}

/* Approved Home foundation applied to existing Member interiors only.
 * Existing markup, grids, photos, card tints, workflows and source states stay in charge.
 * Home/dashboard tabs, content players and live-room special presentation are excluded.
 * Load after original Member/phone layers and premium-neutral-controls/nested.
 */
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.my-spaces,.explore-design-B,.member-store,.member-library,.member-me,.cw-world,.ch-world,.ev-world,.sm-world) { font-family:Arimo,Arial,Helvetica,sans-serif; font-size:14px; line-height:1.5; color:var(--wp-ink,#111111); }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.my-spaces,.explore-design-B,.member-store,.member-library,.member-me,.cw-world,.ch-world,.ev-world,.sm-world) :is(button,input,textarea,select) { font-family:inherit; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.my-spaces,.explore-design-B,.member-store,.member-library,.member-me,.cw-world,.ch-world,.ev-world,.sm-world) :is(button,summary) { min-height:44px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.my-spaces,.explore-design-B,.member-store,.member-library,.member-me,.cw-world,.ch-world,.ev-world,.sm-world) :is(button,a,input,textarea,select,summary):focus-visible { outline:2px solid var(--wp-ink,#111111); outline-offset:3px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.my-spaces,.explore-design-B,.member-store,.member-library,.member-me,.cw-world,.ch-world,.ev-world,.sm-world) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]):not([type="file"]),textarea,select) { min-height:44px; border-radius:10px; }

/* Route headings and supporting body copy; authored content and cover colors remain source-owned. */
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.my-spaces-heading,.explore-heading,.store-heading,.library-heading,.me-heading) h1 { font-family:Arimo,Arial,Helvetica,sans-serif; font-size:32px; line-height:38px; letter-spacing:-.75px; font-weight:700; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.my-spaces-heading,.explore-heading,.store-heading,.library-heading) > div > p:last-child { font-size:14px; line-height:22px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.my-spaces-section h2,.explore-section > .section-heading h2,.store-results-heading h2,.store-category-shelf > header h2,.library-section-heading h2,.me-section-title h2,.cw-section-title h2,.ch-section-title h2,.sm-section-title h2,.ev-program > header h2,.ev-preparation h2) { font-family:Arimo,Arial,Helvetica,sans-serif; font-size:22px; line-height:28px; font-weight:700; letter-spacing:-.35px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.space-member-description,.library-help,.library-empty p,.me-setting-row p,.me-muted,.cw-card > p,.ch-home-note p,.ev-preparation p,.sm-empty p) { font-size:14px; line-height:22px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.space-member-card h2,.explore-card h3,.store-card .store-title,.library-ticket h2,.library-resource-list h3) { font-family:Arimo,Arial,Helvetica,sans-serif; font-size:16px; line-height:22px; font-weight:700; letter-spacing:-.15px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.space-member-meta,.space-member-description + small,.explore-creator-line,.store-meta,.library-help small,.me-muted small) { font-size:12px; line-height:18px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.space-member-kind,.profile-eyebrow,.me-heading .eyebrow) { font-size:11px; line-height:16px; }

/* Preserve current card backgrounds/border colors and all image geometry. */
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.space-member-card,.explore-card,.store-card,.library-collection,.library-ticket,.library-resource-list,.library-empty,.me-identity,.me-tiles.me-account-links,.me-studio,.cw-card,.cw-replay-card,.cw-product,.ch-home-focus,.ch-home-path,.ch-home-progress,.ch-module,.ch-session,.ch-resource-grid article,.sm-session-card,.sm-empty,.smh-pass,.smh-quick,.smh-reflection,.ev-wait,.ev-preparation,.ev-pass,.ev-host-note) { border-radius:12px; box-shadow:0 3px 12px #00000004; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.explore-discovery-feature,.library-resume,.ch-home-focus,.cw-home-live,.smh-feature) { border-radius:16px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.explore-search-form,.spaces-search,.store-search,.chat-search-label) { border-radius:10px; }

/* Existing tab destinations, ordering and scroll layouts are retained. */
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.my-spaces-filters,.explore-types,.store-sources,.library-tabs,.library-subtabs,.cw-tabs,.ch-nav,.sm-nav,.sm-filter) > button { min-height:44px; font-family:Arimo,Arial,Helvetica,sans-serif; font-size:14px; line-height:20px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.my-spaces-filters,.explore-types,.store-sources,.library-tabs,.cw-tabs,.ch-nav,.sm-nav,.sm-filter) > button:is([aria-current="page"],[aria-selected="true"],[aria-pressed="true"]):not(:disabled):not([aria-disabled="true"]) { background:transparent; color:var(--tribora-neutral-control-ink,#202020); border-color:var(--tribora-neutral-control-ink,#202020); font-weight:700; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.cw-button:not(.quiet):not(.danger):not(.cw-danger),.ch-button.ch-dark,.sm-button.sm-dark,.ev-primary,.me-primary):not(:disabled):not([aria-disabled="true"]) { background:#111111; color:#FFFFFF; border-color:#111111; border-radius:10px; min-height:44px; font-family:Arimo,Arial,Helvetica,sans-serif; font-weight:700; }

/* Four existing world interiors; photo covers retain source layout and colors. */
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.cw-cover,.ch-cover,.ev-cover,.sm-cover) h1 { font-family:Arimo,Arial,Helvetica,sans-serif; font-size:40px; line-height:44px; font-weight:700; letter-spacing:-.8px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.cw-home-intro h2,.ch-home-heading h2,.sm-page-heading h2,.ev-wait h2,.cln-heading h2) { font-family:Arimo,Arial,Helvetica,sans-serif; font-size:28px; line-height:34px; font-weight:700; letter-spacing:-.55px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.cw-topbar,.ch-topbar,.ev-top,.sm-top) :is(button,summary,a) { min-height:44px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.cw-topbar,.ch-topbar,.ev-top,.sm-top) > button { font-size:14px; line-height:20px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))):has(#home-content :is(.my-spaces,.explore-design-B,.member-store,.member-library,.member-me,.cw-world,.ch-world,.ev-world,.sm-world)) #detail-dialog { font-family:Arimo,Arial,Helvetica,sans-serif; border-radius:16px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))):has(#home-content :is(.my-spaces,.explore-design-B,.member-store,.member-library,.member-me,.cw-world,.ch-world,.ev-world,.sm-world)) #detail-dialog :is(button,input,textarea,select) { font-family:inherit; min-height:44px; }

@media (max-width:767px) {
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))):has(#home-content :is(.my-spaces,.explore-design-B,.member-store,.member-library,.member-me,.cw-world,.ch-world,.ev-world,.sm-world)):not(.community-interior-mode) #main { padding:20px 20px 24px!important; }
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.my-spaces,.explore-design-B,.member-store,.member-library,.member-me) { padding-inline:0; }
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.cw-content,.ch-content,.sm-content,.ev-content) { padding-inline:20px; }
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.my-spaces-heading,.explore-heading,.store-heading,.library-heading,.me-heading) h1 { font-size:26px; line-height:32px; letter-spacing:-.55px; }
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.my-spaces-section h2,.explore-section > .section-heading h2,.store-results-heading h2,.store-category-shelf > header h2,.library-section-heading h2,.me-section-title h2,.cw-section-title h2,.ch-section-title h2,.sm-section-title h2,.ev-program > header h2,.ev-preparation h2) { font-size:18px; line-height:24px; letter-spacing:-.25px; }
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.cw-cover,.ch-cover,.ev-cover,.sm-cover) h1 { font-size:30px; line-height:34px; letter-spacing:-.6px; }
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.cw-home-intro h2,.ch-home-heading h2,.sm-page-heading h2,.ev-wait h2,.cln-heading h2) { font-size:24px; line-height:30px; letter-spacing:-.4px; }
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.my-spaces,.explore-design-B,.member-store,.member-library,.member-me,.cw-world,.ch-world,.ev-world,.sm-world) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]):not([type="file"]),textarea,select) { font-size:16px; line-height:22px; }
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.my-spaces-filters,.explore-types,.store-sources,.library-tabs,.library-subtabs,.cw-tabs,.ch-nav,.sm-nav,.sm-filter) { scrollbar-width:thin; }
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))):has(#home-content :is(.my-spaces,.explore-design-B,.member-store,.member-library,.member-me,.cw-world,.ch-world,.ev-world,.sm-world)) #detail-dialog :is(input,textarea,select) { font-size:16px; line-height:22px; }
}

/* Focused enabled CTA fills: existing source actions, without changing semantic/status colors.
 * Sources: member-web.css:161,166,170,172-175,178,236; member-shop-collections.css:19-20,55-56;
 * member-spaces-desktop-B.css:363-368; member-me-phone-B.css:173-175;
 * member-community-members.css:5; member-event.css:23; member-summit-participation.css:2;
 * member-summit.css:46; member-billing-preview.css:1.
 * Disabled/destructive controls keep their original styling and behavior.
 */
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.library-resume-copy > button,.library-empty button,.library-resource-detail button,.my-spaces-heading > button,.my-spaces-empty button,.space-member-card section > button[data-space-joined="true"],.space-member-card section > a.sm-button,.store-featured > div > button,.store-product-actions > button:first-child,.store-order-summary > button,.store-page-empty button,.me-person > button,.me-studio button,.sw-primary,.bp-workspace .bp-button,.cm-directory .cm-profile-button,.ev-live-review > button,.spr-access > .sm-button,.spr-review > .sm-button,.spr-session footer > .sm-button:first-child,.spr-welcome .sm-button,.smx-pass .sm-dark,.profile-actions [data-profile-follow],.information-access-card > [data-info-entry]):not(:disabled):not([aria-disabled="true"]):not(.danger):not(.cw-danger):not(.sw-danger):not(.is-danger):not([data-variant="danger"]) { background:#111111; color:#FFFFFF; border-color:#111111; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.cm-filters,.cs-filter-bar,.cr-toolbar,.sms-days,.cw-support-amounts,.store-pages,.profile-filters) > button:is([aria-current="page"],[aria-selected="true"],[aria-pressed="true"]):not(:disabled):not([aria-disabled="true"]):not(.danger):not(.cw-danger):not(.sw-danger):not(.is-danger):not([data-variant="danger"]) { background:var(--tribora-neutral-control-soft,#F5F5F5); color:var(--tribora-neutral-control-ink,#202020); border-color:var(--tribora-neutral-control-line,#D1D5DB); }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #detail-dialog :is(.cw-button:not(.quiet),.sw-primary,.bp-workspace .bp-button):not(:disabled):not([aria-disabled="true"]):not(.danger):not(.cw-danger):not(.sw-danger):not(.is-danger):not([data-variant="danger"]) { background:#111111; color:#FFFFFF; border-color:#111111; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #detail-dialog .cw-support-amounts > button[aria-pressed="true"]:not(:disabled):not([aria-disabled="true"]):not(.danger):not(.cw-danger):not(.sw-danger):not(.is-danger):not([data-variant="danger"]) { background:#111111; color:#FFFFFF; border-color:#111111; }

/* Extended normal Member foundation: source member-web.js:224-230 (four catalogs),
 * member-notifications.js:11, member-settings-web.js:21-42, member-information.js:54-62.
 * Rendered catalog signatures prevent stale data-member-surface from styling other routes.
 * Journal cover art, authored text, all image/video geometry and chat bubble themes are untouched.
 */
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content:is([data-member-surface="feed"],[data-member-surface="video"],[data-member-surface="replay"],[data-member-surface="journal"]):has(> :is(.md-section-intro,.md-kicker.md-journal-intro,.md-kicker.md-replay-intro)) { font-family:Arimo,Arial,Helvetica,sans-serif; font-size:14px; line-height:1.5; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content:is([data-member-surface="feed"],[data-member-surface="video"],[data-member-surface="replay"],[data-member-surface="journal"]):has(> :is(.md-section-intro,.md-kicker.md-journal-intro,.md-kicker.md-replay-intro)) :is(button,input,textarea,select) { font-family:inherit; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content:is([data-member-surface="feed"],[data-member-surface="video"],[data-member-surface="replay"],[data-member-surface="journal"]):has(> :is(.md-section-intro,.md-kicker.md-journal-intro,.md-kicker.md-replay-intro)) :is(button,summary) { min-height:44px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content:is([data-member-surface="feed"],[data-member-surface="video"],[data-member-surface="replay"],[data-member-surface="journal"]):has(> :is(.md-section-intro,.md-kicker.md-journal-intro,.md-kicker.md-replay-intro)) :is(.md-section-intro .page-title,.page-title) { font-family:Arimo,Arial,Helvetica,sans-serif; font-size:28px; line-height:34px; letter-spacing:-.55px; font-weight:700; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content:is([data-member-surface="feed"],[data-member-surface="video"],[data-member-surface="replay"],[data-member-surface="journal"]):has(> :is(.md-section-intro,.md-kicker.md-journal-intro,.md-kicker.md-replay-intro)) :is(.md-section-intro .view-intro,.view-intro) { font-size:14px; line-height:22px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content:is([data-member-surface="feed"],[data-member-surface="video"],[data-member-surface="replay"],[data-member-surface="journal"]):has(> :is(.md-section-intro,.md-kicker.md-journal-intro,.md-kicker.md-replay-intro)) :is(.md-kicker,.md-post-kind) { font-size:11px; line-height:16px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content:is([data-member-surface="feed"],[data-member-surface="video"],[data-member-surface="replay"],[data-member-surface="journal"]):has(> :is(.md-section-intro,.md-kicker.md-journal-intro,.md-kicker.md-replay-intro)) :is(.md-post,.content-card,.replay-resume-card) { border-radius:12px; box-shadow:0 3px 12px #00000004; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content:is([data-member-surface="feed"],[data-member-surface="video"],[data-member-surface="replay"],[data-member-surface="journal"]):has(> :is(.md-section-intro,.md-kicker.md-journal-intro,.md-kicker.md-replay-intro)) .md-post-copy .native-post-title { font-family:Arimo,Arial,Helvetica,sans-serif; font-size:18px; line-height:24px; letter-spacing:-.25px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content:is([data-member-surface="feed"],[data-member-surface="video"],[data-member-surface="replay"],[data-member-surface="journal"]):has(> :is(.md-section-intro,.md-kicker.md-journal-intro,.md-kicker.md-replay-intro)) .md-post-copy > p { font-size:14px; line-height:22px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content:is([data-member-surface="feed"],[data-member-surface="video"],[data-member-surface="replay"],[data-member-surface="journal"]):has(> :is(.md-section-intro,.md-kicker.md-journal-intro,.md-kicker.md-replay-intro)) .post-author strong { font-size:14px; line-height:20px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content:is([data-member-surface="feed"],[data-member-surface="video"],[data-member-surface="replay"],[data-member-surface="journal"]):has(> :is(.md-section-intro,.md-kicker.md-journal-intro,.md-kicker.md-replay-intro)) :is(.post-author small,.card-copy > small,.md-card-byline small,.replay-metadata-line) { font-size:12px; line-height:18px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content:is([data-member-surface="feed"],[data-member-surface="video"],[data-member-surface="replay"],[data-member-surface="journal"]):has(> :is(.md-section-intro,.md-kicker.md-journal-intro,.md-kicker.md-replay-intro)) .post-more { min-width:44px; min-height:44px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content:is([data-member-surface="feed"],[data-member-surface="video"],[data-member-surface="replay"],[data-member-surface="journal"]):has(> :is(.md-section-intro,.md-kicker.md-journal-intro,.md-kicker.md-replay-intro)) .card-copy h3 { font-family:Arimo,Arial,Helvetica,sans-serif; font-size:16px; line-height:22px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content:is([data-member-surface="feed"],[data-member-surface="video"],[data-member-surface="replay"],[data-member-surface="journal"]):has(> :is(.md-section-intro,.md-kicker.md-journal-intro,.md-kicker.md-replay-intro)) :is(.section-heading h2,.spotlight-copy h3) { font-family:Arimo,Arial,Helvetica,sans-serif; font-size:22px; line-height:28px; letter-spacing:-.3px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content:is([data-member-surface="feed"],[data-member-surface="video"],[data-member-surface="replay"],[data-member-surface="journal"]):has(> :is(.md-section-intro,.md-kicker.md-journal-intro,.md-kicker.md-replay-intro)) .filter-chips > button { min-height:44px; font-size:14px; line-height:20px; border-radius:8px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content:is([data-member-surface="feed"],[data-member-surface="video"],[data-member-surface="replay"],[data-member-surface="journal"]):has(> :is(.md-section-intro,.md-kicker.md-journal-intro,.md-kicker.md-replay-intro)) .filter-chips > button:is(.active,[aria-pressed="true"]):not(:disabled):not([aria-disabled="true"]):not(.danger):not(.danger-action):not(.sw-danger):not([data-variant="danger"]) { background:var(--tribora-neutral-control-soft,#F5F5F5); color:var(--tribora-neutral-control-ink,#202020); border-color:var(--tribora-neutral-control-line,#D1D5DB); }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content:is([data-member-surface="feed"],[data-member-surface="video"],[data-member-surface="replay"],[data-member-surface="journal"]):has(> :is(.md-section-intro,.md-kicker.md-journal-intro,.md-kicker.md-replay-intro)) .spotlight-bottom > button:not(:disabled):not([aria-disabled="true"]):not(.danger):not(.danger-action):not(.sw-danger):not([data-variant="danger"]) { background:#111111; color:#FFFFFF; border-color:#111111; border-radius:10px; }

/* Notifications, Settings and experience-entry information retain their own layouts/tints. */
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.web-notifications,.sw-layout,.information-wrap,.information-cover) { font-family:Arimo,Arial,Helvetica,sans-serif; font-size:14px; line-height:1.5; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.web-notifications,.sw-layout,.information-wrap,.information-cover) :is(button,input,textarea,select) { font-family:inherit; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.web-notifications,.sw-layout,.information-wrap,.information-cover) :is(button,summary) { min-height:44px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.web-notifications,.sw-layout,.information-wrap,.information-cover) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]):not([type="file"]),textarea,select) { min-height:44px; border-radius:10px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.notifications-heading h1,.sw-title h1,.information-identity h1) { font-family:Arimo,Arial,Helvetica,sans-serif; font-size:32px; line-height:38px; font-weight:700; letter-spacing:-.7px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.notice-group > h2,.notifications-empty h2,.information-section > h2,.information-access-card h2) { font-family:Arimo,Arial,Helvetica,sans-serif; font-size:22px; line-height:28px; font-weight:700; letter-spacing:-.3px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.sw-card h2,.notification-row .notice-message) { font-family:Arimo,Arial,Helvetica,sans-serif; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content .sw-card h2 { font-size:18px; line-height:24px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.sw-card h3,.sw-row strong) { font-size:16px; line-height:22px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.notice-message,.sw-card > p,.sw-subtitle,.information-section > p,.information-access-card > p) { font-size:14px; line-height:22px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content .notice-excerpt { font-size:13px; line-height:20px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.notice-time,.notice-world,.sw-note,.access-preview,.information-preview-note) { font-size:12px; line-height:18px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.notification-row,.notifications-note,.notifications-empty,.sw-card,.information-access-card) { border-radius:12px; box-shadow:0 3px 12px #00000004; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.information-fold,.community-guidelines) { border-radius:10px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content .information-cover h1 { font-family:Arimo,Arial,Helvetica,sans-serif; font-size:40px; line-height:44px; font-weight:700; letter-spacing:-.8px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content .sw-hero h2 { font-family:Arimo,Arial,Helvetica,sans-serif; font-size:28px; line-height:34px; letter-spacing:-.5px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.notifications-back,.information-back) { font-family:Arimo,Arial,Helvetica,sans-serif; min-height:44px; font-size:14px; line-height:20px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.notifications-controls,.sw-nav,.information-tabs) button:is([aria-current="page"],[aria-pressed="true"],[aria-selected="true"]):not(:disabled):not([aria-disabled="true"]):not(.danger):not(.danger-action):not(.sw-danger):not([data-variant="danger"]) { background:var(--tribora-neutral-control-soft,#F5F5F5); color:var(--tribora-neutral-control-ink,#202020); border-color:var(--tribora-neutral-control-line,#D1D5DB); border-radius:8px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))):not(.chat-mode) :is(.information-sheet,#native-options) { font-family:Arimo,Arial,Helvetica,sans-serif; border-radius:16px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))):not(.chat-mode) :is(.information-sheet,#native-options) :is(button,input,textarea,select) { font-family:inherit; min-height:44px; }
body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))):not(.chat-mode) :is(.information-sheet [data-info-confirm],.information-sheet #information-request > button[type="submit"],#native-options .option-actions > button[type="submit"]):not(:disabled):not([aria-disabled="true"]):not(.danger):not(.danger-action):not(.sw-danger):not([data-variant="danger"]) { background:#111111; color:#FFFFFF; border-color:#111111; }

@media (max-width:767px) {
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))):has(#home-content:is([data-member-surface="feed"],[data-member-surface="video"]) > .md-section-intro,#home-content:is([data-member-surface="replay"],[data-member-surface="journal"]) > .md-kicker:is(.md-journal-intro,.md-replay-intro)) #main { padding:20px 20px 24px!important; }
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))):has(#home-content > .web-notifications) #main { padding:20px 20px 24px!important; }
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content .web-notifications { padding-inline:0; }
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content:is([data-member-surface="feed"],[data-member-surface="video"],[data-member-surface="replay"],[data-member-surface="journal"]):has(> :is(.md-section-intro,.md-kicker.md-journal-intro,.md-kicker.md-replay-intro)) :is(.md-section-intro .page-title,.page-title) { font-size:24px; line-height:30px; }
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content:is([data-member-surface="feed"],[data-member-surface="video"],[data-member-surface="replay"],[data-member-surface="journal"]):has(> :is(.md-section-intro,.md-kicker.md-journal-intro,.md-kicker.md-replay-intro)) :is(.section-heading h2,.spotlight-copy h3) { font-size:18px; line-height:24px; }
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.notifications-heading h1,.sw-title h1,.information-identity h1) { font-size:26px; line-height:32px; letter-spacing:-.5px; }
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.notice-group > h2,.notifications-empty h2,.information-section > h2,.information-access-card h2) { font-size:18px; line-height:24px; }
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content .information-cover h1 { font-size:30px; line-height:34px; letter-spacing:-.6px; }
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content .sw-hero h2 { font-size:24px; line-height:30px; }
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content :is(.web-notifications,.sw-layout,.information-wrap,.information-cover) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]):not([type="file"]),textarea,select) { font-size:16px; line-height:22px; }
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))) #home-content:is([data-member-surface="feed"],[data-member-surface="video"],[data-member-surface="replay"],[data-member-surface="journal"]):has(> :is(.md-section-intro,.md-kicker.md-journal-intro,.md-kicker.md-replay-intro)) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]):not([type="file"]),textarea,select) { font-size:16px; line-height:22px; }
  body[data-phone-web-role="member"]:not(:has(#home-content > .md-home-hero)):not(.watch-mode):not(:has(#home-content :is(.cw-live-world,.cohort-live-world,.event-live-world,.summit-live-world,.sm-watch,.pwlr-room,.pwsl-room,.cl-room,.clr-room,.elr-room,.slr-room))):not(.chat-mode) :is(.information-sheet,#native-options) :is(input,textarea,select) { font-size:16px; line-height:22px; }
}

/* TRIBORA approved Home language extended to existing Studio interiors.
   Additive candidate only. Append after premium-studio-home.css and before
   premium-neutral-controls.css. No markup, layout grids or action owners change.
   Every rule excludes Member Home/Studio Home; named stage surfaces are omitted. */
body:has(#studio-app):not(:has(#studio-main .sw-hub)) {
  --psi-canvas: #FAFAF8;
  --psi-card: #FFFFFF;
  --psi-quiet: #F7F7F5;
  --psi-ink: #111111;
  --psi-muted: #6B7280;
  --psi-line: #E5E7EB;
  --psi-line-strong: #D1D5DB;
  --psi-shadow: 0 3px 10px #11111105;
  --psi-font: Arimo, Arial, Helvetica, sans-serif;
  background: var(--psi-canvas);
  font-family: var(--psi-font);
}
/* Preserve the existing appearance setting with a neutral dark palette. */
html[data-tribora-theme="dark"] body:has(#studio-app):not(:has(#studio-main .sw-hub)) {
  --psi-canvas: #161719;
  --psi-card: #202226;
  --psi-quiet: #292D33;
  --psi-ink: #F4F5F7;
  --psi-muted: #BBC1CA;
  --psi-line: #3E434B;
  --psi-line-strong: #626A76;
}

/* Shared chrome: visual treatment only; native shell owns its geometry. */
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app > .sidebar,
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app > .workspace-main > .topbar {
  background: var(--psi-card);
  border-color: var(--psi-line);
  font-family: var(--psi-font);
}
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app > .workspace-main { background: var(--psi-canvas); }
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app > .sidebar .studio-sidebar-title {
  font-family: var(--psi-font);
  font-size: 30px;
  line-height: 38px;
  font-weight: 700;
  letter-spacing: -1px;
}
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app > .sidebar .nav-link {
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
  font-family: var(--psi-font);
}
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app > .sidebar .nav-link.active {
  background: #111111;
  color: #FFFFFF;
  font-weight: 700;
}
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app > .sidebar .nav-link:not(.active):hover { background: var(--psi-quiet); }
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app > .sidebar .sidebar-bottom small,
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app > .workspace-main > .topbar > span,
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app > .workspace-main > .topbar .sample { color: var(--psi-muted); }
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app > .workspace-main > .topbar > span b { color: var(--psi-ink); }
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app > .workspace-main > .topbar button {
  border-radius: 8px;
  border-color: var(--psi-line);
  font-family: var(--psi-font);
}
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app:not(.studio-community-inside) > .workspace-main > #studio-main {
  padding: 32px;
}

/* Page-level headings keep their existing positions, actions and hierarchy. */
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.page-heading, .ch-heading, .ce-heading, .md-heading, .aud-heading,
 .audx-heading, .biz-heading, .ss-heading, .sc-page-heading, .sw-heading, .notifications-heading,
 .sg-page-heading) {
  margin-bottom: 28px;
  font-family: var(--psi-font);
}
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.page-heading, .ch-heading, .ce-heading, .md-heading, .aud-heading,
 .audx-heading, .biz-heading, .ss-heading, .sc-page-heading, .sw-heading, .notifications-heading,
 .sg-page-heading) h1 {
  color: var(--psi-ink);
  font-family: var(--psi-font);
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -1.1px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.page-heading, .ch-heading, .ce-heading, .md-heading, .aud-heading,
 .audx-heading, .biz-heading, .ss-heading, .sc-page-heading, .sw-heading, .notifications-heading,
 .sg-page-heading) > p,
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.page-heading, .ch-heading, .ce-heading, .md-heading, .aud-heading,
 .audx-heading, .biz-heading, .ss-heading, .sc-page-heading, .sw-heading, .notifications-heading,
 .sg-page-heading) > div > p {
  color: var(--psi-muted);
  font-family: var(--psi-font);
  font-size: 16px;
  line-height: 24px;
}
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.page-heading, .ch-heading, .ce-heading, .md-heading, .aud-heading,
 .audx-heading, .biz-heading, .ss-heading, .sc-page-heading, .sw-heading, .notifications-heading,
 .sg-page-heading) :is(.eyebrow, .aud-eyebrow, .ss-eyebrow, .biz-kicker) {
  color: var(--psi-muted);
  font-family: var(--psi-font);
  font-size: 10px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

/* Existing world page titles use h2 beneath their photographed world identity. */
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.mc-heading, .sh-heading, .ev-home-heading) > h2 {
  color: var(--psi-ink);
  font-family: var(--psi-font);
  font-size: 30px;
  line-height: 38px;
  letter-spacing: -.7px;
  font-weight: 700;
}
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main .sw-editor-layout h2 {
  color: var(--psi-ink);
  font-family: var(--psi-font);
  font-size: 22px;
  line-height: 28px;
  letter-spacing: -.4px;
  font-weight: 700;
}

/* Audited plain card surfaces. No image/hero/stage backgrounds are selected. */
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.ch-card, .ce-compose, .ce-world-picker, .cj-setting-card, .md-card,
 .aud-action-card, .aud-space-card, .aud-owned-card, .audx-panel,
 .biz-panel, .biz-info-card, .bp-card, .bp-wallet, .bd-panel,
 .ss-panel, .sx-panel, .sx-plan-card, .sc-calendar-panel, .sc-day-panel,
 .sc-panel, .oc-checklist, .oc-connection, .mc-card, .mc-welcome,
 .mc-module, .mc-editor, .ev-essentials, .ev-host-actions, .ev-agenda,
 .sh-desk, .sh-card, .os-card, .sr-card, .sg-card, .sg-panel,
 .gj-panel, .gfb-panel, .gc-panel, .gw-tool-card, .sg-stat) {
  border-color: var(--psi-line);
  border-radius: 12px;
  background-color: var(--psi-card);
  box-shadow: var(--psi-shadow);
  font-family: var(--psi-font);
}
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main .sw-editor-layout form section {
  border-color: var(--psi-line);
  border-radius: 12px;
  background-color: var(--psi-card);
  box-shadow: var(--psi-shadow);
  font-family: var(--psi-font);
}
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.ch-card, .md-card, .aud-space-card, .aud-owned-card, .gw-tool-card):hover {
  border-color: var(--psi-line-strong);
  box-shadow: 0 6px 18px #11111108;
}
/* Containers with source-owned padding; media covers retain full-bleed edges. */
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.ce-compose, .aud-action-card, .aud-space-card, .aud-owned-card,
 .biz-panel, .bp-card, .bp-wallet, .sx-panel, .sx-plan-card, .sc-panel,
 .oc-checklist, .oc-connection, .mc-card, .mc-welcome, .mc-module,
 .mc-editor, .ev-host-actions, .sh-desk, .sh-card) {
  padding: 24px;
}
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.ch-card-body, .md-card-body, .os-card-body, .sr-card-copy) { padding: 20px; }

/* Section/copy type is limited to known card and section slots. */
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.section-heading, .ch-section-heading, .md-results-heading, .aud-section-head,
 .biz-panel-title, .audx-panel-head, .sx-panel-title, .sw-editor-layout,
 .oc-section-heading, .os-heading,
 .sr-section-heading, .sg-card-heading, .gw-section-heading) > h2,
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.biz-panel-title, .audx-panel-head, .sx-panel-title, .sg-card-heading,
 .gw-section-heading) > div > h2 {
  color: var(--psi-ink);
  font-family: var(--psi-font);
  font-size: 22px;
  line-height: 28px;
  letter-spacing: -.4px;
  font-weight: 700;
}
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.ch-card, .md-card, .aud-action-card, .aud-space-card, .aud-owned-card,
 .biz-panel, .ss-panel, .sx-panel, .mc-card, .mc-module, .sh-card,
 .os-card, .sr-card, .sg-card) h3 {
  color: var(--psi-ink);
  font-family: var(--psi-font);
  font-size: 20px;
  line-height: 26px;
  letter-spacing: -.3px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.ch-card, .md-card-body, .aud-action-card, .aud-space-card, .aud-owned-card,
 .biz-panel, .ss-panel, .sx-panel, .mc-card, .mc-welcome, .mc-module,
 .mc-editor, .sh-card, .os-card, .sr-card-copy, .sg-card) > p,
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.ch-card-body, .audx-panel-description, .sw-editor-note) > p {
  color: var(--psi-muted);
  font-family: var(--psi-font);
  font-size: 14px;
  line-height: 22px;
}

/* Named action families: retain quiet, icon, danger and status distinctions. */
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.button, .ch-action, .ce-primary, .md-upload, .md-edit,
 .aud-button, .biz-btn, .ss-button, .sx-button, .sg-primary,
 .gj-primary, .gc-primary, .gfb-primary):not(:where(.cl-stage *, .cl-room-preview *, .sh-stage *, .ev-entrance *, .ehc-primary *, .creator-replay-player *, .me-monitor *)) {
  min-height: 44px;
  border-radius: 8px;
  font-family: var(--psi-font);
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
}
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.button.dark, .ch-card .ch-action, .ce-submit .ce-primary,
 .aud-button.dark, .biz-btn.dark, .ss-primary, .sx-button.sx-primary,
 .sg-primary, .gj-primary, .gc-primary, .gfb-primary):not(:where(.cl-stage *, .cl-room-preview *, .sh-stage *, .ev-entrance *, .ehc-primary *, .creator-replay-player *, .me-monitor *)):not(:is(.danger,.mc-danger)) {
  background: #111111;
  border-color: #111111;
  color: #FFFFFF;
  font-weight: 700;
}
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.button.dark, .ch-card .ch-action, .ce-submit .ce-primary,
 .aud-button.dark, .biz-btn.dark, .ss-primary, .sx-button.sx-primary,
 .sg-primary, .gj-primary, .gc-primary, .gfb-primary):not(:where(.cl-stage *, .cl-room-preview *, .sh-stage *, .ev-entrance *, .ehc-primary *, .creator-replay-player *, .me-monitor *)):not(:is(.danger,.mc-danger)):hover:not(:disabled) {
  background: #292929;
  border-color: #292929;
  color: #FFFFFF;
}
/* Existing filled selections stay filled; underline navigation stays underline. */
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.ce-formats button[aria-pressed="true"],
 .ce-post-filters button[aria-pressed="true"], .ce-picker-kinds button[aria-pressed="true"],
 .oc-compose-tabs a[aria-current="page"], .sc-steps button[aria-current="step"],
 .sc-kind-filters button[aria-pressed="true"], .biz-status-tabs button[aria-pressed="true"],
 .biz-status-tabs button.active, .ba-tabs button[aria-pressed="true"], .aud-kind.active) {
  background: var(--tribora-neutral-control-soft,#F5F5F5);
  border-color: var(--tribora-neutral-control-line,#D1D5DB);
  color: var(--tribora-neutral-control-ink,#202020);
  font-weight: 700;
}
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.md-tabs a[aria-current="page"], .aud-nav a.active, .biz-nav a.active,
 .sw-workspace-tabs a[aria-current="page"], .oc-tabs a[aria-current="page"],
 .ss-rail nav a[aria-current="page"]) {
  color: var(--psi-ink);
  border-color: var(--psi-ink);
  font-weight: 700;
}

/* Field styling avoids native pickers, sliders, toggles and media timelines. */
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.ce-compose, .sw-editor-layout, .sc-panel, .os-editor,
 .aud-workspace, .aud-organizer-dialog, .biz, .ss-workspace, .sg-workspace)
 :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]):not([type="hidden"]):not([type="button"]):not([type="submit"]), textarea, select):not(:where(.cl-stage *, .cl-room-preview *, .sh-stage *, .ev-entrance *, .ehc-primary *, .creator-replay-player *, .me-monitor *)) {
  border-color: var(--psi-line);
  border-radius: 8px;
  font-family: var(--psi-font);
  line-height: 22px;
}
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.ce-compose, .sw-editor-layout, .sc-panel, .os-editor,
 .aud-workspace, .biz, .ss-workspace, .sg-workspace) :is(input,textarea)::placeholder {
  color: var(--psi-muted);
  opacity: 1;
}
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main > .preview-note {
  border-color: var(--psi-line);
  color: var(--psi-muted);
  font-family: var(--psi-font);
  font-size: 11px;
  line-height: 18px;
  margin-top: 28px;
  padding-top: 20px;
}
/* Existing communications keep unread markers, bubbles and theme ownership. */
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.web-notifications, .chat-inbox, .chat-conversation-heading) { font-family: var(--psi-font); }
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main .notification-row { border-radius: 12px; box-shadow: var(--psi-shadow); }
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main .notification-row:not(.is-unread) { border-color: var(--psi-line); }
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main .notifications-controls button { border-radius: 8px; font-family: var(--psi-font); min-height: 44px; }
body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main .notifications-controls button[aria-pressed="true"] { background: var(--tribora-neutral-control-soft,#F5F5F5); color: var(--tribora-neutral-control-ink,#202020); border-color: var(--tribora-neutral-control-line,#D1D5DB); }

/* Temporary source-owned panels keep their scroll/focus/close behavior. */
body:has(#studio-app):not(:has(#studio-main .sw-hub)) :is(#studio-dialog, .biz-dialog, .ss-dialog, .aud-organizer-dialog) {
  border-color: var(--psi-line);
  border-radius: 12px;
  font-family: var(--psi-font);
  box-shadow: 0 24px 80px #11111124;
}

@media (min-width: 768px) and (max-width: 1199px) {
  body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app:not(.studio-community-inside) > .workspace-main > #studio-main { padding: 24px; }
  body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.page-heading, .ch-heading, .ce-heading, .md-heading, .aud-heading,
   .audx-heading, .biz-heading, .ss-heading, .sc-page-heading, .sw-heading, .notifications-heading,
   .sg-page-heading) h1 {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -.8px;
  }
}
@media (max-width: 767px) {
  body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app > .sidebar .studio-sidebar-title { font-size: 24px; line-height: 32px; }
  body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app .pw-brand { font-family: var(--psi-font); }
  body:has(#studio-app):not(:has(#studio-main .sw-hub)) > .pw-bottom > a > strong { font-family: var(--psi-font); font-size: 12px; line-height: 16px; }
  body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app:not(.studio-community-inside) > .workspace-main > #studio-main { padding: 24px 20px; }
  body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.page-heading, .ch-heading, .ce-heading, .md-heading, .aud-heading,
   .audx-heading, .biz-heading, .ss-heading, .sc-page-heading, .sw-heading, .notifications-heading,
   .sg-page-heading) { margin-bottom: 24px; }
  body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.page-heading, .ch-heading, .ce-heading, .md-heading, .aud-heading,
   .audx-heading, .biz-heading, .ss-heading, .sc-page-heading, .sw-heading, .notifications-heading,
   .sg-page-heading) h1 {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -.7px;
  }
  body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.section-heading, .ch-section-heading, .md-results-heading, .aud-section-head,
   .biz-panel-title, .audx-panel-head, .sx-panel-title, .sw-editor-layout,
   .oc-section-heading, .os-heading,
   .sr-section-heading, .sg-card-heading, .gw-section-heading) > h2,
  body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.biz-panel-title, .audx-panel-head, .sx-panel-title, .sg-card-heading,
   .gw-section-heading) > div > h2 { font-size: 20px; line-height: 26px; }
  body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.ce-compose, .aud-action-card, .aud-space-card, .aud-owned-card,
   .biz-panel, .bp-card, .bp-wallet, .sx-panel, .sx-plan-card, .sc-panel,
   .oc-checklist, .oc-connection, .mc-card, .mc-welcome, .mc-module,
   .mc-editor, .ev-host-actions, .sh-desk, .sh-card) { padding: 16px; }
  body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.ch-card-body, .md-card-body, .os-card-body, .sr-card-copy) { padding: 16px; }
  body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.ch-card, .md-card, .aud-action-card, .aud-space-card, .aud-owned-card,
   .biz-panel, .ss-panel, .sx-panel, .mc-card, .mc-module, .sh-card,
   .os-card, .sr-card, .sg-card) h3 { font-size: 18px; line-height: 24px; }
  body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.ce-compose, .sw-editor-layout, .sc-panel, .os-editor,
   .aud-workspace, .aud-organizer-dialog, .biz, .ss-workspace, .sg-workspace)
   :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]):not([type="hidden"]):not([type="button"]):not([type="submit"]), textarea, select):not(:where(.cl-stage *, .cl-room-preview *, .sh-stage *, .ev-entrance *, .ehc-primary *, .creator-replay-player *, .me-monitor *)) { font-size: 16px; }
  body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main :is(.mc-heading, .sh-heading, .ev-home-heading) > h2 { font-size: 24px; line-height: 30px; }
  body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main .sw-editor-layout h2 { font-size: 20px; line-height: 26px; }
  body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app #studio-main > .preview-note { margin-top: 24px; }
}
@media (max-width: 359px) {
  body:has(#studio-app):not(:has(#studio-main .sw-hub)) #studio-app:not(.studio-community-inside) > .workspace-main > #studio-main { padding-inline: 16px; }
}

/* Same approved Member header across ordinary Member sections.
   World, watch and full-screen chat headers retain their existing owners. */
body[data-phone-web-role="member"]:not(.watch-mode):not(.chat-mode) :is(.app-header,.left-rail){font-family:Arimo,Arial,Helvetica,sans-serif}
@media(min-width:768px){
 body[data-phone-web-role="member"]:not([data-phone-web-world="true"]):not(.watch-mode):not(.chat-mode) .app-header{
  height:80px;grid-template-columns:208px minmax(200px,540px) 1fr;gap:32px;padding:0 64px;
  background:var(--wp-surface,#FFFFFF);border-bottom-color:var(--wp-border,#E5E7EB);box-shadow:none;
 }
 body[data-phone-web-role="member"]:not([data-phone-web-world="true"]) .app-header .search{
  min-height:44px;height:44px;max-width:540px;border-radius:12px;padding:0 16px;
 }
 body[data-phone-web-role="member"]:not([data-phone-web-world="true"]) .app-header .search input{font-size:14px;line-height:20px}
 body[data-phone-web-role="member"]:not([data-phone-web-world="true"]) .app-header .header-tools{gap:8px}
 body[data-phone-web-role="member"]:not([data-phone-web-world="true"]) .app-header .icon-button{
  width:44px;height:44px;min-width:44px;padding:0;border-radius:12px;
 }
 body[data-phone-web-role="member"]:not([data-phone-web-world="true"]) .left-rail{top:80px;height:calc(100vh - 80px)}
}
@media(min-width:768px) and (max-width:1199px){
 body[data-phone-web-role="member"]:not([data-phone-web-world="true"]):not(.watch-mode):not(.chat-mode) .app-header{grid-template-columns:168px minmax(160px,1fr) auto;padding-inline:24px;gap:24px}
 body[data-phone-web-role="member"]:not([data-phone-web-world="true"]) .app-header .preview-label{display:none}
}
@media(max-width:767px){
 body.premium-member-chrome[data-phone-web-role="member"]{padding-top:calc(68px + env(safe-area-inset-top,0px))}
 body.premium-member-chrome[data-phone-web-role="member"] .app-header{
  height:calc(68px + env(safe-area-inset-top,0px));min-height:calc(68px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 20px 0;display:flex;align-items:center;gap:8px;
  background:var(--wp-surface,#FFFFFF);border-bottom:1px solid var(--wp-border,#E5E7EB);box-shadow:none;
 }
 body.premium-member-chrome .app-header>.pw-menu-button{
  display:flex;flex:0 0 44px;width:44px;height:44px;min-width:44px;padding:0;
  align-items:center;justify-content:center;border:1px solid var(--wp-border,#E5E7EB);border-radius:12px;
 }
 html body.premium-member-chrome[data-phone-web-role="member"] .app-header>.premium-member-brand{
  display:block!important;position:relative;overflow:hidden;flex:0 0 122px;width:122px;height:32px;
 }
 body.premium-member-chrome .app-header>.premium-member-brand>img{
  position:absolute;max-width:none;width:152px;height:auto;left:-17px;top:-15px;
  object-fit:contain;filter:none;mix-blend-mode:normal;
 }
 body.premium-member-chrome .app-header>.header-tools{
  margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:0;min-width:0;
 }
 body.premium-member-chrome .app-header .header-tools>.icon-button{
  display:flex;align-items:center;justify-content:center;flex:0 0 44px;
  width:44px;height:44px;min-width:44px;min-height:44px;padding:0;
  border:1px solid var(--wp-border,#E5E7EB);border-radius:12px;
 }
 body.premium-member-chrome .app-header .header-tools>.premium-member-search{order:0}
 body.premium-member-chrome .app-header .header-tools>.icon-button>svg{width:22px;height:22px}
 body.premium-member-chrome .app-header .header-tools>:is(.profile-button,.preview-label){display:none}
}
@media(max-width:359px){
 body.premium-member-chrome[data-phone-web-role="member"] .app-header{padding-inline:12px;gap:2px}
 html body.premium-member-chrome[data-phone-web-role="member"] .app-header>.premium-member-brand{flex-basis:102px;width:102px}
 body.premium-member-chrome .app-header>.premium-member-brand>img{width:128px;left:-14px;top:-10px}
}

/* TRIBORA local-preview controls: neutral interactions, source-owned behavior.
   Append to shared web-theme.css. No dimensions, routes, handlers, assets,
   content, original non-violet box colors, semantic error/success colors or
   TRIBORA logo/wordmark paint are changed by this presentation layer. */
:root {
  --tribora-neutral-control-ink:#202020;
  --tribora-neutral-control-on:#FFFFFF;
  --tribora-neutral-control-soft:#F5F5F5;
  --tribora-neutral-control-line:#D1D5DB;
  --tribora-neutral-control-action:#202020;
}
html[data-tribora-theme="dark"] {
  --tribora-neutral-control-ink:#F4F5F7;
  --tribora-neutral-control-soft:#272A2F;
  --tribora-neutral-control-line:#484D56;
}

/* Local accent owners are declared here with greater specificity than their
   later phone/desktop sheets. Only the accent token changes, not soft surfaces. */
html body[data-phone-web-role="member"]:not([data-phone-web-world="true"]).explore-mode #home-content .explore-design-B {
  --explore-B-accent:var(--tribora-neutral-control-ink);
}
html body[data-phone-web-role="member"]:not([data-phone-web-world="true"]).explore-mode #home-content .explore-design-B .explore-feature-link {
  color:var(--tribora-neutral-control-ink);
}
html body.store-mode #home-content .member-store.store-shop-design-B:is(.store-phone-browse-home,.store-phone-browse-all),
html body[data-phone-web-role="member"]:not([data-phone-web-world="true"]).store-mode #home-content .member-store.store-shop-design-B:is(.store-phone-browse-home,.store-phone-browse-all) {
  --store-B-accent:var(--tribora-neutral-control-ink);
}
html body.spaces-mode #home-content .my-spaces,
html[data-tribora-theme="dark"] body[data-phone-web-role="member"].spaces-mode #home-content .my-spaces {
  --spaces-phone-accent:var(--tribora-neutral-control-ink);
}

/* Filled sidebar/drawer selection; section tabs retain their authored underline. */
html body :is(.left-rail,.sidebar) :is(.side-link,.nav-link):is(.active,[aria-current="page"]),
html body[data-phone-web-role] .pw-drawer :is(a,button)[aria-current="page"],
html body:where(:not([data-phone-web-role="member"]):not([data-phone-web-role="studio"])) :is(nav:not(.pw-bottom),[role="tablist"]) :is(a,button):is([aria-current="page"],[role="tab"][aria-selected="true"]),
html body:where(:not([data-phone-web-role="member"])) .content-tabs > button[aria-selected="true"] {
  background-color:var(--tribora-neutral-control-action);
  border-color:var(--tribora-neutral-control-action);
  color:var(--tribora-neutral-control-on);
}
html body :is(.left-rail,.sidebar) :is(.side-link,.nav-link):is(.active,[aria-current="page"]) > :is(span,svg),
html body[data-phone-web-role] .pw-drawer :is(a,button)[aria-current="page"] > :is(span,strong,svg),
html body :is(nav:not(.pw-bottom),[role="tablist"]) :is(a,button):is([aria-current="page"],[role="tab"][aria-selected="true"]) > :is(span,strong,svg),
html body:where(:not([data-phone-web-role="member"])) .content-tabs > button[aria-selected="true"] > :is(span,svg) {
  color:inherit;
}
/* Keep the bottom navigation's original geometry and icon/label hierarchy.
   The same neutral selected slot works for native Studio links and Member buttons. */
html body[data-phone-web-role] > .pw-bottom > :is(a,button)[aria-current="page"] > span {
  background-color:var(--tribora-neutral-control-action);
  color:var(--tribora-neutral-control-on);
}
html body[data-phone-web-role] > .pw-bottom > :is(a,button)[aria-current="page"] > span > svg {
  color:inherit;
}
/* Filled navigation and public-page tabs retain their original white-label contrast. */
html body:where(:not([data-phone-web-role="member"]):not([data-phone-web-role="studio"])) :is(nav:not(.pw-bottom),[role="tablist"]) :is(a,button):is([aria-current="page"],[role="tab"][aria-selected="true"]),
html body:where(:not([data-phone-web-role="member"]):not([data-phone-web-role="studio"])) :is(nav:not(.pw-bottom),[role="tablist"]) :is(a,button):is([aria-current="page"],[role="tab"][aria-selected="true"]) > :is(span,strong,svg):not([class*="badge"]):not([class*="count"]),
html body :is(.left-rail,.sidebar) :is(.side-link,.nav-link):is(.active,[aria-current="page"]),
html body[data-phone-web-role] .pw-drawer :is(a,button)[aria-current="page"],
html body:where(:not([data-phone-web-role="member"])) .content-tabs > button[aria-selected="true"],
html body :is(.left-rail,.sidebar) :is(.side-link,.nav-link):is(.active,[aria-current="page"]) > :is(span,strong,svg),
html body[data-phone-web-role] .pw-drawer :is(a,button)[aria-current="page"] > :is(span,strong,svg),
html body:where(:not([data-phone-web-role="member"])) .content-tabs > button[aria-selected="true"] > :is(span,svg) {
  color:var(--tribora-neutral-control-on)!important;
}

/* Header controls use their actual source state/route. Notifications and Inbox
   do not expose aria-expanded, so their existing route classes/attributes own it. */
html body.notifications-mode .app-header [data-notifications],
html body.chat-mode .app-header [data-chat-open],
html body[data-phone-web-role="studio"][data-phone-web-page="notifications"] #studio-app .topbar [data-tool="Notifications"],
html body[data-phone-web-role="studio"][data-phone-web-page="messages"] #studio-app .topbar [data-tool="Inbox"],
html body .app-header :is(.icon-button,.profile-button,.pw-menu-button):is([aria-expanded="true"],[aria-pressed="true"],:active),
html body #studio-app .topbar :is(button[data-tool],.pw-menu-button):is([aria-expanded="true"],[aria-pressed="true"],:active),
html body .header :is(.explore-trigger,.menu-toggle):is([aria-expanded="true"],[aria-pressed="true"],:active) {
  background-color:var(--tribora-neutral-control-action);
  color:var(--tribora-neutral-control-on);
  border-color:var(--tribora-neutral-control-action);
}
html body.notifications-mode .app-header [data-notifications] > svg,
html body.chat-mode .app-header [data-chat-open] > svg,
html body[data-phone-web-role="studio"][data-phone-web-page="notifications"] #studio-app .topbar [data-tool="Notifications"] > svg,
html body[data-phone-web-role="studio"][data-phone-web-page="messages"] #studio-app .topbar [data-tool="Inbox"] > svg,
html body .app-header :is(.icon-button,.profile-button,.pw-menu-button):is([aria-expanded="true"],[aria-pressed="true"],:active) > svg,
html body #studio-app .topbar :is(button[data-tool],.pw-menu-button):is([aria-expanded="true"],[aria-pressed="true"],:active) > svg {
  color:inherit;
}
html body .header .menu-toggle[aria-expanded="true"] > span {
  background-color:var(--tribora-neutral-control-on);
}
/* Approved Home sheets load later and deliberately have rendered-content guards.
   Match those owners plus actual control state, without broad important paint. */
html body.member-dashboard-mode:not(.watch-mode):not([data-phone-web-world="true"]):has(#home-content[data-member-surface="home"] > .md-home-hero) .app-header .header-tools > :is(.icon-button,.profile-button):is([aria-expanded="true"],[aria-pressed="true"],:active),
html body.member-dashboard-mode:not(.watch-mode):not([data-phone-web-world="true"]):has(#home-content[data-member-surface="home"] > .md-home-hero) .app-header > .pw-menu-button:is([aria-expanded="true"],[aria-pressed="true"],:active),
html body:has(#studio-main .sw-hub) #studio-app .topbar :is(button[data-tool],.pw-menu-button):is([aria-expanded="true"],[aria-pressed="true"],:active) {
  background-color:var(--tribora-neutral-control-action);
  color:var(--tribora-neutral-control-on);
  border-color:var(--tribora-neutral-control-action);
}
html body.member-dashboard-mode:not(.watch-mode):not([data-phone-web-world="true"]):has(#home-content[data-member-surface="home"] > .md-home-hero) .app-header .header-tools > :is(.icon-button,.profile-button):is([aria-expanded="true"],[aria-pressed="true"],:active) > svg,
html body.member-dashboard-mode:not(.watch-mode):not([data-phone-web-world="true"]):has(#home-content[data-member-surface="home"] > .md-home-hero) .app-header > .pw-menu-button:is([aria-expanded="true"],[aria-pressed="true"],:active) > svg,
html body:has(#studio-main .sw-hub) #studio-app .topbar :is(button[data-tool],.pw-menu-button):is([aria-expanded="true"],[aria-pressed="true"],:active) > svg {
  color:inherit;
}

/* Focus keeps each source outline's width/offset. Native selection is neutral;
   invalid controls retain their authored error treatment. */
html body :where(a,button,summary,[role="button"],
  input:not([aria-invalid="true"]):not(:invalid),
  textarea:not([aria-invalid="true"]):not(:invalid),
  select:not([aria-invalid="true"]):not(:invalid)):focus-visible {
  outline-color:var(--tribora-neutral-control-ink)!important;
}
html body :is(input[type="checkbox"],input[type="radio"]):not([aria-invalid="true"]) {
  accent-color:var(--tribora-neutral-control-action);
}

/* Exact remaining Studio Growth violet accents. The two important declarations
   below match the existing important goal-glyph layer; other colored goals stay. */
html body:has(#studio-app) #studio-growth .sg-quick-actions button:nth-child(3n),
html body:has(#studio-app) #studio-growth .sg-feature-art.art-2 {
  background-color:var(--tribora-neutral-control-soft);
  color:var(--tribora-neutral-control-ink);
}
html body:has(#studio-app) #studio-growth .gw-goals > button:nth-child(4) .sg-glyph,
html[data-tribora-theme="dark"] body:has(#studio-app) #studio-growth .gw-goals > button:nth-child(4) .sg-glyph {
  background-color:var(--tribora-neutral-control-soft)!important;
  color:var(--tribora-neutral-control-ink)!important;
  border-color:var(--tribora-neutral-control-line)!important;
}
html body:has(#studio-app) .studio-growth-route .sg-reference .sg-stat:nth-child(2) {
  border-top-color:var(--tribora-neutral-control-line);
}

/* Milestone is labeled in the source. Neutralize only that violet calendar tone;
   all other calendar activity colors and every label remain unchanged. */
html body .tone-milestone,
html[data-tribora-theme="dark"] body .tone-milestone {
  background-color:var(--tribora-neutral-control-soft)!important;
  color:var(--tribora-neutral-control-ink)!important;
  border-color:var(--tribora-neutral-control-line)!important;
}
html body .tone-border-milestone,
html[data-tribora-theme="dark"] body .tone-border-milestone {
  border-left-color:#6B7280;
}

/*
 * Logo-only violet: exact existing nested presentation exceptions.
 * Load after premium-neutral-controls.css and existing source styles.
 * No layout, assets/photos, navigation, stored themes or functional status colors change.
 * Each selector names the original purple presentation; nonviolet variants remain source-owned.
 */

/* member-cohort-calendar.css:3; theme/member-home.css:3485.
 * Activity markers/stripes use --ck-color. Other calendar types keep their colors.
 */
body .ck-activity { --ck-color:#6B7280; }
html[data-tribora-theme="dark"] body .ck-activity { --ck-color:#D1D5DB; }

/* member-cohort-resources.css:48; corresponding dark theme/member-home.css:2404. */
body :where(.ch-world) .cr-replays .cr-glyph {
  background:#F7F7F5; color:#6B7280; border-color:#E5E7EB;
}
html[data-tribora-theme="dark"] body :where(.ch-world) .cr-replays .cr-glyph {
  background:#272A2F; color:#BBC1CA; border-color:#3E434B;
}

/* member-web.css:208 and studio-comms.css:24, theme variants at
 * theme/member-home.css:949 / theme/studio.css:268.
 * Preserve the theme ID, selectable tile and exact original SVG pattern geometry.
 * The encoded SVG differs only in its stroke color; all image/photo content is untouched.
 */
body .chat-palette-Direct-lavender-mist {
  --chat-bg:#F7F7F5; --chat-out:#111111; --chat-out-ink:#FFFFFF;
  --chat-muted:#6B7280; --chat-line:#E5E7EB;
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20390%20800%22%3E%3Cg%20transform%3D%22translate(17%20-17)%20rotate(0%20195%20400)%22%20fill%3D%22none%22%20stroke%3D%22%23D1D5DB%22%20stroke-width%3D%221.25%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.42%22%3E%3Cpath%20d%3D%22M-70%20115%20C80%200%20260%2065%20262%20195%20S140%20340%2045%20310%20S-20%20425%20105%20482%20S380%20518%20450%20700%22%2F%3E%3Cpath%20d%3D%22M-20%20139%20C118%2044%20217%20100%20228%20201%20S92%20312%2062%20395%20S320%20506%20410%20661%22%2F%3E%3Cellipse%20cx%3D%22302%22%20cy%3D%22604%22%20rx%3D%22160%22%20ry%3D%2296%22%20transform%3D%22rotate(-34%20302%20604)%22%2F%3E%3Ccircle%20cx%3D%2259%22%20cy%3D%22307%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%22261%22%20cy%3D%22195%22%20r%3D%225%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
html[data-tribora-theme="dark"] body .chat-palette-Direct-lavender-mist {
  --chat-bg:#272A2F; --chat-out:#E5E7EB; --chat-out-ink:#111111;
  --chat-muted:#BBC1CA; --chat-line:#3E434B;
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20390%20800%22%3E%3Cg%20transform%3D%22translate(17%20-17)%20rotate(0%20195%20400)%22%20fill%3D%22none%22%20stroke%3D%22%236B7280%22%20stroke-width%3D%221.25%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.42%22%3E%3Cpath%20d%3D%22M-70%20115%20C80%200%20260%2065%20262%20195%20S140%20340%2045%20310%20S-20%20425%20105%20482%20S380%20518%20450%20700%22%2F%3E%3Cpath%20d%3D%22M-20%20139%20C118%2044%20217%20100%20228%20201%20S92%20312%2062%20395%20S320%20506%20410%20661%22%2F%3E%3Cellipse%20cx%3D%22302%22%20cy%3D%22604%22%20rx%3D%22160%22%20ry%3D%2296%22%20transform%3D%22rotate(-34%20302%20604)%22%2F%3E%3Ccircle%20cx%3D%2259%22%20cy%3D%22307%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%22261%22%20cy%3D%22195%22%20r%3D%225%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

/* Default template artwork is CSS decoration, not product photography.
 * Source: member-shop-desktop-B.css:572 / phone-shop-B-finish.css:404.
 * Explicitly exclude the original warm data-store-art=1 variant.
 */
.store-mode #home-content .member-store.store-shop-design-B:is(.store-phone-browse-home,.store-phone-browse-all) .store-card .art-template:not([data-store-art="1"]),
body[data-phone-web-role="member"]:not([data-phone-web-world="true"]).store-mode #home-content .member-store.store-shop-design-B:is(.store-phone-browse-home,.store-phone-browse-all) .store-card .art-template:not([data-store-art="1"]) {
  background:color-mix(in srgb,var(--wp-surface,#FFFFFF) 35%,#E5E7EB 65%);
}
html[data-tribora-theme="dark"] .store-mode #home-content .member-store.store-shop-design-B:is(.store-phone-browse-home,.store-phone-browse-all) .store-card .art-template:not([data-store-art="1"]),
html[data-tribora-theme="dark"] body[data-phone-web-role="member"]:not([data-phone-web-world="true"]).store-mode #home-content .member-store.store-shop-design-B:is(.store-phone-browse-home,.store-phone-browse-all) .store-card .art-template:not([data-store-art="1"]) {
  background:color-mix(in srgb,var(--wp-surface,#202226) 35%,#3E434B 65%);
}

/* landing-additions.css:49: original journal format icon tile only. */
body .lh-format-journal > span {
  background:#F7F7F5; color:#111111;
}
html[data-tribora-theme="dark"] body .lh-format-journal > span {
  background:#272A2F; color:#F4F5F7;
}

/* Secondary filter chips stay distinct without a solid action-button fill. */
body[data-phone-web-role="member"] #home-content .member-library .library-subtabs > button[aria-pressed="true"] {
  background:var(--tribora-neutral-control-soft,#F5F5F5); color:var(--tribora-neutral-control-ink,#202020);
  border-color:var(--tribora-neutral-control-line,#D1D5DB);
}
